Built motion from commit 27af9f03b.|1.0.28
[motion.git] / server / api / xchatty / xchatty.controller.js
index e42e8f2..605604b 100644 (file)
@@ -1 +1 @@
-var _0x3ed8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x75\x73\x74\x61\x63\x68\x65","\x70\x61\x74\x68","\x6D\x64\x35","\x75\x61\x2D\x70\x61\x72\x73\x65\x72\x2D\x6A\x73","\x61\x63\x63\x65\x70\x74\x2D\x6C\x61\x6E\x67\x75\x61\x67\x65\x2D\x70\x61\x72\x73\x65\x72","\x74\x6F\x2D\x63\x73\x76","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x61\x70\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x2F\x78\x63\x68\x61\x74\x74\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x44\x45\x4D\x4F\x20\x4C\x49\x43\x45\x4E\x53\x45","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x4C\x69\x63\x65\x6E\x73\x65","\x58\x63\x68\x61\x74\x74\x79","\x53\x65\x74\x74\x69\x6E\x67","\x43\x6F\x6E\x74\x61\x63\x74","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x67\x65\x74\x4A\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x45\x72\x72\x6F\x72\x20\x72\x65\x74\x72\x69\x76\x69\x6E\x67\x20\x78\x43\x68\x61\x74\x74\x79\x20\x4A\x53\x3A","\x6D\x65\x73\x73\x61\x67\x65","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x63\x61\x74\x63\x68","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74","\x6E\x6F\x77","\x73\x65\x74","\x6A\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x72\x65\x6D\x6F\x74\x65","\x73\x74\x72\x69\x70\x54\x72\x61\x69\x6C\x69\x6E\x67\x53\x6C\x61\x73\x68","\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79\x2F","\x66\x61\x6C\x73\x65","\x74\x72\x75\x65","\x22\x22","\x6E\x75\x6C\x6C","\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79\x2F\x61\x73\x73\x65\x74\x73","\x61\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x68\x65\x61\x64\x65\x72\x5F\x73\x68\x61\x70\x65","\x68\x65\x61\x64\x65\x72\x5F\x6F\x6E\x6C\x69\x6E\x65","\x6F\x6E\x6C\x69\x6E\x65\x5F\x6D\x65\x73\x73\x61\x67\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x65\x6D\x61\x69\x6C\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x73\x74\x61\x72\x74\x5F\x63\x68\x61\x74\x5F\x62\x75\x74\x74\x6F\x6E","\x6F\x66\x66\x6C\x69\x6E\x65\x5F\x6D\x65\x73\x73\x61\x67\x65","\x68\x65\x61\x64\x65\x72\x5F\x6F\x66\x66\x6C\x69\x6E\x65","\x65\x6E\x71\x75\x69\x72\x79\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x65\x6E\x71\x75\x69\x72\x79\x5F\x62\x75\x74\x74\x6F\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64\x5F\x74\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x72\x61\x74\x69\x6E\x67\x5F\x6D\x65\x73\x73\x61\x67\x65","\x72\x61\x74\x69\x6E\x67\x5F\x73\x65\x6E\x64","\x72\x61\x74\x69\x6E\x67\x5F\x73\x6B\x69\x70","\x61\x67\x65\x6E\x74\x73\x5F\x62\x75\x73\x79","\x6E\x61\x6D\x65\x5F\x74\x69\x74\x6C\x65","\x65\x6D\x61\x69\x6C\x5F\x74\x69\x74\x6C\x65","\x6D\x65\x73\x73\x61\x67\x65\x5F\x74\x69\x74\x6C\x65","\x72\x65\x6E\x64\x65\x72","\x57\x65\x62\x73\x69\x74\x65\x20\x25\x64\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x66\x6F\x72\x6D\x61\x74","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x4F\x6E\x65","\x67\x65\x74\x53\x74\x79\x6C\x65\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x45\x72\x72\x6F\x72\x20\x72\x65\x74\x72\x69\x76\x69\x6E\x67\x20\x78\x43\x68\x61\x74\x74\x79\x20\x43\x53\x53\x3A","\x74\x65\x78\x74\x2F\x63\x73\x73","\x63\x73\x73","\x63\x6F\x6C\x6F\x72","\x63\x6F\x6C\x6F\x72\x5F\x66\x6F\x63\x75\x73","\x63\x6F\x6C\x6F\x72\x5F\x62\x75\x74\x74\x6F\x6E","\x67\x65\x74\x41\x73\x73\x65\x74\x73","\x75\x70\x6C\x6F\x61\x64\x65\x64","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x71\x75\x65\x72\x79","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x72\x65\x73\x6F\x75\x72\x63\x65","\x6A\x6F\x69\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73","\x78\x63\x68\x61\x74\x74\x79","\x61\x73\x73\x65\x74\x73","\x67\x65\x74\x4A\x71\x75\x65\x72\x79\x4C\x69\x62\x72\x61\x72\x79","\x6A\x71\x75\x65\x72\x79","\x67\x65\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x72\x6F\x6F\x6D\x5F\x69\x64","\x73\x65\x73\x73\x69\x6F\x6E","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x69\x73\x5F\x6E\x65\x77\x5F\x70\x61\x67\x65","\x64\x61\x74\x61","\x77\x68\x65\x72\x65","\x6C\x61\x73\x74\x5F\x69\x64","\x45\x72\x72\x6F\x72\x20\x67\x65\x74\x20\x63\x68\x61\x74\x20\x6D\x65\x73\x73\x61\x67\x65\x73\x3A","\x6A\x73\x6F\x6E\x70","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74","\x4D\x65\x73\x73\x61\x67\x65","\x76\x69\x73\x69\x74\x6F\x72\x5F\x69\x64","\x63\x72\x65\x61\x74\x65","\x73\x69\x67\x6E\x6F\x75\x74\x43\x75\x73\x74\x6F\x6D\x65\x72","\x45\x72\x72\x6F\x72\x20\x76\x69\x73\x69\x74\x6F\x72\x20\x73\x69\x67\x6E\x6F\x75\x74\x3A","\x43\x68\x61\x74\x20\x52\x6F\x6F\x6D\x20\x25\x64\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x43\x4C\x4F\x53\x45\x44","\x72\x65\x71\x75\x65\x73\x74\x65\x72","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64","\x73\x69\x67\x6E\x75\x70\x43\x75\x73\x74\x6F\x6D\x65\x72","\x67\x65\x74\x52\x65\x73\x75\x6C\x74","\x75\x73\x65\x72\x2D\x61\x67\x65\x6E\x74","\x68\x65\x61\x64\x65\x72\x73","\x73\x65\x74\x55\x41","\x61\x63\x63\x65\x70\x74\x2D\x6C\x61\x6E\x67\x75\x61\x67\x65","\x70\x61\x72\x73\x65","\x78\x2D\x66\x6F\x72\x77\x61\x72\x64\x65\x64\x2D\x66\x6F\x72","\x72\x65\x6D\x6F\x74\x65\x41\x64\x64\x72\x65\x73\x73","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x69\x70","\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E","\x72\x65\x66\x65\x72\x65\x72","\x77\x65\x62\x63\x68\x61\x74","\x62\x72\x6F\x77\x73\x65\x72","\x20","\x76\x65\x72\x73\x69\x6F\x6E","\x65\x6E\x67\x69\x6E\x65","\x6F\x73","\x6D\x6F\x64\x65\x6C","\x64\x65\x76\x69\x63\x65","\x76\x65\x6E\x64\x6F\x72","\x74\x79\x70\x65","\x63\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x64\x61\x74\x61\x31","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x31","\x69\x73\x41\x72\x72\x61\x79","\x2C","\x64\x61\x74\x61\x32","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x33","\x45\x72\x72\x6F\x72\x20\x73\x75\x62\x6D\x69\x74\x69\x6E\x67\x20\x65\x6E\x71\x75\x69\x72\x79\x3A","\x61\x76\x61\x74\x61\x72","\x62\x61\x73\x65\x36\x34","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x43\x68\x61\x74\x20\x57\x65\x62\x73\x69\x74\x65\x20\x25\x64\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x4C\x69\x73\x74\x49\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x73\x75\x62\x6D\x69\x74\x45\x6E\x71\x75\x69\x72\x79","\x45\x6E\x71\x75\x69\x72\x79","\x65\x6E\x71\x75\x69\x72\x79","\x75\x6E\x73\x65\x72\x76\x65\x64","\x77\x65\x62\x73\x69\x74\x65\x49\x64","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x31","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x31","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x32","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x32","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x33","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x33","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x63\x6F\x6D\x6D\x69\x74","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x67\x65\x74\x54\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x45\x72\x72\x6F\x72\x20\x64\x6F\x77\x6E\x6C\x6F\x61\x64\x69\x6E\x67\x20\x63\x68\x61\x74\x20\x74\x72\x61\x6E\x73\x63\x72\x69\x70\x74\x3A","\x72\x65\x70\x6C\x61\x63\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","","\x74\x65\x78\x74\x2F\x63\x73\x76","\x67\x65\x74\x48\x74\x6D\x6C\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x74\x65\x6D\x70\x6C\x61\x74\x65","\x45\x72\x72\x6F\x72\x20\x72\x65\x74\x72\x69\x76\x69\x6E\x67\x20\x48\x54\x4D\x4C\x20\x74\x65\x6D\x70\x6C\x61\x74\x65\x3A","\x6C\x69\x63\x65\x6E\x73\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x64\x65\x63\x72\x79\x70\x74","\x65\x6E\x71\x75\x69\x72\x79\x5F\x65\x6E\x61\x62\x6C\x65","\x4F\x6E\x6C\x69\x6E\x65","\x63\x75\x73\x74\x6F\x6D","\x64\x65\x66\x61\x75\x6C\x74\x4C\x6F\x67\x6F","\x6C\x6F\x67\x6F","\x69\x6D\x61\x67\x65\x73\x2F","\x26\x75\x70\x6C\x6F\x61\x64\x65\x64","\x69\x6D\x61\x67\x65\x73\x2F\x6D\x6F\x74\x69\x6F\x6E\x4C\x6F\x67\x6F\x2E\x70\x6E\x67","\x64\x65\x66\x61\x75\x6C\x74\x57\x68\x69\x74\x65\x4C\x61\x62\x65\x6C","\x77\x68\x69\x74\x65\x4C\x61\x62\x65\x6C","\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x78\x63\x61\x6C\x6C\x79\x6D\x6F\x74\x69\x6F\x6E\x2E\x63\x6F\x6D\x2F\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x5F\x62\x6C\x61\x6E\x6B\x22\x3E\x50\x6F\x77\x65\x72\x65\x64\x20\x62\x79\x20\x78\x43\x41\x4C\x4C\x59\x3C\x2F\x61\x3E","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x64\x69\x76\x5F\x67\x72\x6F\x75\x70\x22\x3E","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x25\x64\x22\x3E\x25\x73\x20\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x69\x6E\x64\x65\x78","\x6C\x61\x62\x65\x6C","\x72\x65\x71\x75\x69\x72\x65\x64","\x2A","\x3C\x69\x6E\x70\x75\x74\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x22\x20\x69\x64\x3D\x22\x25\x64\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x2F\x3E","\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x3C\x2F\x64\x69\x76\x3E","\x74\x65\x78\x74\x49\x6E\x70\x75\x74","\x3C\x74\x65\x78\x74\x61\x72\x65\x61\x20\x69\x64\x3D\x22\x25\x64\x22\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x3E\x3C\x2F\x74\x65\x78\x74\x61\x72\x65\x61\x3E","\x74\x65\x78\x74\x41\x72\x65\x61","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x3E\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x6F\x70\x74\x69\x6F\x6E\x73","\x3C\x6C\x61\x62\x65\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x64\x69\x73\x70\x6C\x61\x79\x3A\x62\x6C\x6F\x63\x6B\x3B\x22\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x63\x68\x65\x63\x6B\x62\x6F\x78\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x72\x61\x64\x69\x6F\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x72\x61\x64\x69\x6F","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x25\x64\x22\x3E\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x3C\x73\x65\x6C\x65\x63\x74\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x3E","\x3C\x6F\x70\x74\x69\x6F\x6E\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x25\x73\x3C\x2F\x6F\x70\x74\x69\x6F\x6E\x3E","\x3C\x2F\x73\x65\x6C\x65\x63\x74\x3E\x3C\x2F\x64\x69\x76\x3E","\x73\x65\x6C\x65\x63\x74","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74","\x3C\x62\x72\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x68\x69\x64\x64\x65\x6E\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E","\x4F\x66\x66\x6C\x69\x6E\x65","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x3E\x25\x73\x20\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x22\x20\x69\x64\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x2F\x3E","\x3C\x74\x65\x78\x74\x61\x72\x65\x61\x20\x69\x64\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x3E\x3C\x2F\x74\x65\x78\x74\x61\x72\x65\x61\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x63\x68\x65\x63\x6B\x62\x6F\x78\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x72\x61\x64\x69\x6F\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x73\x65\x6C\x65\x63\x74\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x68\x69\x64\x64\x65\x6E\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x45\x72\x72\x6F\x72\x20\x72\x65\x74\x72\x69\x76\x69\x6E\x67\x20\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x20\x61\x63\x74\x69\x6F\x6E\x73\x3A","\x43\x68\x61\x74\x20\x57\x65\x62\x73\x69\x74\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x73\x65\x6C\x65\x63\x74\x6F\x72","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x65\x74\x52\x61\x74\x69\x6E\x67","\x45\x72\x72\x6F\x72\x20\x73\x65\x74\x20\x72\x61\x74\x69\x6E\x67\x3A","\x43\x68\x61\x74\x52\x6F\x6F\x6D\x20\x25\x64\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x52\x61\x74\x69\x6E\x67","\x72\x61\x74\x69\x6E\x67","\x61\x62\x61\x6E\x64\x6F\x6E\x43\x75\x73\x74\x6F\x6D\x65\x72","\x45\x72\x72\x6F\x72\x20\x76\x69\x73\x69\x74\x6F\x72\x20\x61\x62\x61\x6E\x64\x6F\x6E\x3A","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x20\x66\x6F\x72\x20\x76\x69\x73\x69\x74\x6F\x72\x20\x25\x64","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x72\x6F\x6F\x6D\x69\x64","\x67\x65\x74\x53\x74\x61\x74\x75\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x57\x65\x62\x73\x69\x74\x65\x20\x73\x74\x61\x74\x75\x73\x20\x65\x72\x72\x6F\x72","\x69\x73\x5F\x75\x6E\x73\x65\x72\x76\x65\x64","\x73\x69\x67\x6E\x65\x64\x5F\x75\x70","\x6F\x70\x65\x6E\x5F\x73\x74\x61\x74\x65","\x63\x6F\x75\x6E\x74","\x4F\x50\x45\x4E","\x61\x70\x70","\x71\x75\x65\x75\x65","\x55\x73\x65\x72\x73","\x6D\x61\x70","\x6D\x65\x72\x67\x65","\x75\x6E\x69\x71","\x61\x67\x65\x6E\x74","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x67\x65\x74\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x69\x73\x56\x61\x6C\x69\x64\x49\x6E\x74\x65\x72\x76\x61\x6C","\x73\x70\x6C\x69\x74","\x2D","\x74\x5F\x66\x72\x6F\x6D","\x48\x48\x3A\x6D\x6D","\x74\x5F\x74\x6F","\x77\x64\x5F\x66\x72\x6F\x6D","\x77\x64\x5F\x74\x6F","\x6D\x64\x5F\x66\x72\x6F\x6D","\x6D\x64\x5F\x74\x6F","\x6D\x5F\x66\x72\x6F\x6D","\x6D\x5F\x74\x6F"];_0x3ed8[0];var _=require(_0x3ed8[1]);var Mustache=require(_0x3ed8[2]);var path=require(_0x3ed8[3]);var md5=require(_0x3ed8[4]);var UAParser=require(_0x3ed8[5]);var uaParser= new UAParser();var languageParser=require(_0x3ed8[6]);var csv=require(_0x3ed8[7]);var util=require(_0x3ed8[8]);var moment=require(_0x3ed8[9]);var logger=require(_0x3ed8[11])(_0x3ed8[10]);var config=require(_0x3ed8[12]);var xchatty_components=require(_0x3ed8[13]);var Util=require(_0x3ed8[14]);var license=require(_0x3ed8[15]);var demoLicense={users:1,agents:1,telephones:0,chat:false,mail:false,fax:false,messaging:false,cm:false,dialer:false,jscripty:false,update:false,custom:false,description:_0x3ed8[16]};var sequelize=require(_0x3ed8[18])[_0x3ed8[17]];var User=require(_0x3ed8[18])[_0x3ed8[19]];var Agent=require(_0x3ed8[18])[_0x3ed8[19]];var ChatRoom=require(_0x3ed8[18])[_0x3ed8[20]];var ChatEnquiry=require(_0x3ed8[18])[_0x3ed8[21]];var ChatVisitor=require(_0x3ed8[18])[_0x3ed8[22]];var ChatMessage=require(_0x3ed8[18])[_0x3ed8[23]];var ChatWebsite=require(_0x3ed8[18])[_0x3ed8[24]];var ChatWebsitesField=require(_0x3ed8[18])[_0x3ed8[25]];var ChatProactiveAction=require(_0x3ed8[18])[_0x3ed8[26]];var ReportChatSession=require(_0x3ed8[18])[_0x3ed8[27]];var ChatQueue=require(_0x3ed8[18])[_0x3ed8[28]];var License=require(_0x3ed8[18])[_0x3ed8[29]];var Xchatty=require(_0x3ed8[18])[_0x3ed8[30]];var Setting=require(_0x3ed8[18])[_0x3ed8[31]];var Contact=require(_0x3ed8[18])[_0x3ed8[32]];var Interval=require(_0x3ed8[18])[_0x3ed8[33]];const weekDaysCollection={mon:1,tue:2,wed:3,thu:4,fri:5,sat:6,sun:7};const monthsCollection={jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12};var id=1;exports[_0x3ed8[34]]= function(_0xf3c1x25,_0xf3c1x26){return ChatWebsite[_0x3ed8[78]]({where:{id:_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]]},attributes:[_0x3ed8[45],_0x3ed8[47],_0x3ed8[55],_0x3ed8[56],_0x3ed8[57],_0x3ed8[58],_0x3ed8[59],_0x3ed8[60],_0x3ed8[61],_0x3ed8[62],_0x3ed8[63],_0x3ed8[64],_0x3ed8[65],_0x3ed8[66],_0x3ed8[67],_0x3ed8[68],_0x3ed8[69],_0x3ed8[70],_0x3ed8[71],_0x3ed8[72],_0x3ed8[73]]})[_0x3ed8[77]](function(_0xf3c1x28){if(_0xf3c1x28){_0xf3c1x26[_0x3ed8[43]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x3ed8[41],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0x3ed8[42]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0xf3c1x29=xchatty_components[_0x3ed8[44]];var _0xf3c1x2a={websiteId:_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]],rootPath:Util[_0x3ed8[48]](_0xf3c1x28[_0x3ed8[47]])+ _0x3ed8[49],signedUp:_0x3ed8[50],windowFocused:_0x3ed8[50],isNewPage:_0x3ed8[51],processingSignUp:_0x3ed8[50],processingEnquiry:_0x3ed8[50],processingSend:_0x3ed8[50],processingRating:_0x3ed8[50],visitorFullname:_0x3ed8[52],visitorAvatar:_0x3ed8[52],timerReadMessages:_0x3ed8[53],timerCheckStatus:_0x3ed8[53],isOnline:_0x3ed8[50],decayHistory:0,defaultTimeout:5000,isInitialStatusCheck:_0x3ed8[51],muteNotificationSoundOnce:_0x3ed8[50],assetBase:Util[_0x3ed8[48]](_0xf3c1x28[_0x3ed8[47]])+ _0x3ed8[54],hasSessionSaf:_0x3ed8[50],restoreOpenState:_0x3ed8[50],animateHover:_0xf3c1x28[_0x3ed8[55]],hideEmail:_0x3ed8[50],hideOffline:_0x3ed8[50],headerShape:_0xf3c1x28[_0x3ed8[56]],HeaderOnline:_0xf3c1x28[_0x3ed8[57]],OnlineMessage:_0xf3c1x28[_0x3ed8[58]],UsernamePlaceholder:_0xf3c1x28[_0x3ed8[59]],EmailPlaceholder:_0xf3c1x28[_0x3ed8[60]],StartChatButtonText:_0xf3c1x28[_0x3ed8[61]],OfflineMessage:_0xf3c1x28[_0x3ed8[62]],HeaderOffline:_0xf3c1x28[_0x3ed8[63]],EnquiryMessagePlaceholder:_0xf3c1x28[_0x3ed8[64]],EnquiryButtonText:_0xf3c1x28[_0x3ed8[65]],downloadTranscript:_0xf3c1x28[_0x3ed8[66]],RatingMessage:_0xf3c1x28[_0x3ed8[67]],RatingSend:_0xf3c1x28[_0x3ed8[68]],RatingSkip:_0xf3c1x28[_0x3ed8[69]],MessageAgentsBusy:_0xf3c1x28[_0x3ed8[70]],NameTitle:_0xf3c1x28[_0x3ed8[71]],EmailTitle:_0xf3c1x28[_0x3ed8[72]],MessageTitle:_0xf3c1x28[_0x3ed8[73]]};_0xf3c1x29= Mustache[_0x3ed8[74]](_0xf3c1x29,_0xf3c1x2a);return _0xf3c1x26[_0x3ed8[38]](_0xf3c1x29)}else {throw  new Error(util[_0x3ed8[76]](_0x3ed8[75],_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]]))}})[_0x3ed8[40]](function(_0xf3c1x27){logger[_0x3ed8[37]](_0x3ed8[35],_0xf3c1x27[_0x3ed8[36]]);return _0xf3c1x26[_0x3ed8[39]](500)[_0x3ed8[38]](_0xf3c1x27)})};exports[_0x3ed8[79]]= function(_0xf3c1x25,_0xf3c1x26){ChatWebsite[_0x3ed8[78]]({where:{id:_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]]},attributes:[_0x3ed8[45],_0x3ed8[47],_0x3ed8[83],_0x3ed8[84],_0x3ed8[85]]})[_0x3ed8[77]](function(_0xf3c1x28){if(_0xf3c1x28){_0xf3c1x26[_0x3ed8[43]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x3ed8[81],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0x3ed8[42]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0xf3c1x2b=xchatty_components[_0x3ed8[82]];var _0xf3c1x2c={assetBase:Util[_0x3ed8[48]](_0xf3c1x28[_0x3ed8[47]])+ _0x3ed8[54],color:_0xf3c1x28[_0x3ed8[83]],colorFocus:_0xf3c1x28[_0x3ed8[84]],colorButton:_0xf3c1x28[_0x3ed8[85]]};_0xf3c1x2b= Mustache[_0x3ed8[74]](_0xf3c1x2b,_0xf3c1x2c);return _0xf3c1x26[_0x3ed8[38]](_0xf3c1x2b)}else {throw  new Error(util[_0x3ed8[76]](_0x3ed8[75],_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]]))}})[_0x3ed8[40]](function(_0xf3c1x27){logger[_0x3ed8[37]](_0x3ed8[80],_0xf3c1x27[_0x3ed8[36]]);return _0xf3c1x26[_0x3ed8[39]](500)[_0x3ed8[38]](_0xf3c1x27)})};exports[_0x3ed8[86]]= function(_0xf3c1x25,_0xf3c1x26){if(_0xf3c1x25[_0x3ed8[89]][_0x3ed8[88]](_0x3ed8[87])){_0xf3c1x26[_0x3ed8[95]](path[_0x3ed8[94]](config[_0x3ed8[90]],_0x3ed8[91],_0x3ed8[92],_0xf3c1x25[_0x3ed8[89]][_0x3ed8[93]]))}else {_0xf3c1x26[_0x3ed8[95]](path[_0x3ed8[94]](config[_0x3ed8[90]],_0x3ed8[91],_0x3ed8[96],_0x3ed8[97],_0x3ed8[98],_0xf3c1x25[_0x3ed8[89]][_0x3ed8[93]]))}};exports[_0x3ed8[99]]= function(_0xf3c1x25,_0xf3c1x26){_0xf3c1x26[_0x3ed8[43]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x3ed8[41],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0x3ed8[42]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0xf3c1x2d=xchatty_components[_0x3ed8[100]];_0xf3c1x26[_0x3ed8[38]](_0xf3c1x2d)};exports[_0x3ed8[101]]= function(_0xf3c1x25,_0xf3c1x26){var _0xf3c1x2e=_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]];var _0xf3c1x2f={where:{ChatRoomId:_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[102]]},attributes:[_0x3ed8[45],_0x3ed8[104],_0x3ed8[105]],include:[{model:User,attributes:[_0x3ed8[45],_0x3ed8[106],_0x3ed8[107],_0x3ed8[108]]},{model:ChatVisitor,attributes:[_0x3ed8[45],_0x3ed8[107],_0x3ed8[108]]}]};if(_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[109]]=== _0x3ed8[50]){_0xf3c1x2f[_0x3ed8[111]][_0x3ed8[45]]= {$gt:_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[112]]}};ChatMessage[_0x3ed8[115]](_0xf3c1x2f)[_0x3ed8[77]](function(_0xf3c1x30){var _0xf3c1x31={success:true,messages:_0xf3c1x30,composing:false,composing_fullname:null};return _0xf3c1x26[_0x3ed8[39]](200)[_0x3ed8[114]](_0xf3c1x31)})[_0x3ed8[40]](function(_0xf3c1x27){logger[_0x3ed8[37]](_0x3ed8[113],_0xf3c1x27[_0x3ed8[36]]);return _0xf3c1x26[_0x3ed8[39]](500)[_0x3ed8[38]](_0xf3c1x27)})};exports[_0x3ed8[116]]= function(_0xf3c1x25,_0xf3c1x26){var _0xf3c1x2e=_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]];var _0xf3c1x32;var _0xf3c1x2f={where:{ChatRoomId:_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[102]]},include:[{model:User,attributes:[_0x3ed8[45],_0x3ed8[106],_0x3ed8[107],_0x3ed8[108]]},{model:ChatVisitor,attributes:[_0x3ed8[45],_0x3ed8[107],_0x3ed8[108]]}]};if(_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[109]]=== _0x3ed8[50]){_0xf3c1x2f[_0x3ed8[111]][_0x3ed8[45]]= {$gt:_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[112]]}};return ChatMessage[_0x3ed8[121]]({body:_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[119]][_0x3ed8[36]],ChatRoomId:_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[102]],ChatVisitorId:_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[120]]})[_0x3ed8[77]](function(_0xf3c1x34){return ChatMessage[_0x3ed8[115]](_0xf3c1x2f)})[_0x3ed8[77]](function(_0xf3c1x30){for(var _0xf3c1x33=0;_0xf3c1x33< _0xf3c1x30[_0x3ed8[117]];_0xf3c1x33++){_0xf3c1x30[_0xf3c1x33]= _0xf3c1x30[_0xf3c1x33][_0x3ed8[118]]({plain:true})};var _0xf3c1x31={errors:[],success:true,messages:_0xf3c1x30?_0xf3c1x30:[]};return _0xf3c1x26[_0x3ed8[39]](200)[_0x3ed8[114]](_0xf3c1x31)})[_0x3ed8[40]](function(_0xf3c1x27){logger[_0x3ed8[37]](_0x3ed8[113],_0xf3c1x27[_0x3ed8[36]]);return _0xf3c1x26[_0x3ed8[39]](500)[_0x3ed8[38]](_0xf3c1x27)})};exports[_0x3ed8[122]]= function(_0xf3c1x25,_0xf3c1x26){var _0xf3c1x2e=_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]];return ChatRoom[_0x3ed8[128]]({where:{id:_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[102]]},attributes:[_0x3ed8[45]]})[_0x3ed8[77]](function(_0xf3c1x35){if(!_0xf3c1x35){throw  new Error(util[_0x3ed8[76]](_0x3ed8[124],_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[102]]))};return _0xf3c1x35[_0x3ed8[127]]({status:_0x3ed8[125],completeReason:_0x3ed8[126]})})[_0x3ed8[77]](function(){var _0xf3c1x31={success:true,errors:[]};_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e]= {};return _0xf3c1x26[_0x3ed8[39]](200)[_0x3ed8[114]](_0xf3c1x31)})[_0x3ed8[40]](function(_0xf3c1x27){logger[_0x3ed8[37]](_0x3ed8[123],_0xf3c1x27[_0x3ed8[36]]);return _0xf3c1x26[_0x3ed8[39]](500)[_0x3ed8[38]](_0xf3c1x27)})};exports[_0x3ed8[129]]= function(_0xf3c1x25,_0xf3c1x26){var _0xf3c1x2e=_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]];var _0xf3c1x36=uaParser[_0x3ed8[133]](_0xf3c1x25[_0x3ed8[132]][_0x3ed8[131]])[_0x3ed8[130]]();var _0xf3c1x37=languageParser[_0x3ed8[135]](_0xf3c1x25[_0x3ed8[132]][_0x3ed8[134]]);var _0xf3c1x38=_0xf3c1x25[_0x3ed8[132]][_0x3ed8[136]]?_0xf3c1x25[_0x3ed8[132]][_0x3ed8[136]]:_0xf3c1x25[_0x3ed8[138]][_0x3ed8[137]]|| _0xf3c1x25[_0x3ed8[139]];var _0xf3c1x39={fullname:_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[140]][_0x3ed8[107]],email:_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[140]][_0x3ed8[108]],remote_address:_0xf3c1x38,user_agent:_0xf3c1x25[_0x3ed8[132]][_0x3ed8[131]],visitor_language:_0xf3c1x25[_0x3ed8[132]][_0x3ed8[134]],referer:_0xf3c1x25[_0x3ed8[132]][_0x3ed8[141]],origin:_0x3ed8[142],browser:_0xf3c1x36[_0x3ed8[143]][_0x3ed8[106]]+ _0x3ed8[144]+ _0xf3c1x36[_0x3ed8[143]][_0x3ed8[145]],engine:_0xf3c1x36[_0x3ed8[146]][_0x3ed8[106]]+ _0x3ed8[144]+ _0xf3c1x36[_0x3ed8[146]][_0x3ed8[145]],os:_0xf3c1x36[_0x3ed8[147]][_0x3ed8[106]]+ _0x3ed8[144]+ _0xf3c1x36[_0x3ed8[147]][_0x3ed8[145]],device:_0xf3c1x36[_0x3ed8[149]][_0x3ed8[148]]?_0xf3c1x36[_0x3ed8[149]][_0x3ed8[148]]+ _0x3ed8[144]+ _0xf3c1x36[_0x3ed8[149]][_0x3ed8[150]]+ _0x3ed8[144]+ _0xf3c1x36[_0x3ed8[149]][_0x3ed8[151]]:null,ChatWebsiteId:_0xf3c1x25[_0x3ed8[89]][_0x3ed8[152]]};if(_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[140]][_0x3ed8[153]]&& _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[140]][_0x3ed8[154]]){_0xf3c1x39[_0x3ed8[153]]= _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[140]][_0x3ed8[153]];if(_[_0x3ed8[155]](_0xf3c1x39[_0x3ed8[153]])){_0xf3c1x39[_0x3ed8[153]]= _[_0x3ed8[94]](_0xf3c1x39[_0x3ed8[153]],_0x3ed8[156])};_0xf3c1x39[_0x3ed8[154]]= _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[140]][_0x3ed8[154]]};if(_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[140]][_0x3ed8[157]]&& _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[140]][_0x3ed8[158]]){_0xf3c1x39[_0x3ed8[157]]= _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[140]][_0x3ed8[157]];if(_[_0x3ed8[155]](_0xf3c1x39[_0x3ed8[157]])){_0xf3c1x39[_0x3ed8[157]]= _[_0x3ed8[94]](_0xf3c1x39[_0x3ed8[157]],_0x3ed8[156])};_0xf3c1x39[_0x3ed8[158]]= _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[140]][_0x3ed8[158]]};if(_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[140]][_0x3ed8[159]]&& _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[140]][_0x3ed8[160]]){_0xf3c1x39[_0x3ed8[159]]= _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[140]][_0x3ed8[159]];if(_[_0x3ed8[155]](_0xf3c1x39[_0x3ed8[159]])){_0xf3c1x39[_0x3ed8[159]]= _[_0x3ed8[94]](_0xf3c1x39[_0x3ed8[159]],_0x3ed8[156])};_0xf3c1x39[_0x3ed8[160]]= _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[140]][_0x3ed8[160]]};var _0xf3c1x3a,_0xf3c1x3b;return ChatVisitor[_0x3ed8[121]](_0xf3c1x39)[_0x3ed8[77]](function(_0xf3c1x3d){_0xf3c1x3a= _0xf3c1x3d;return ChatWebsite[_0x3ed8[128]]({where:{id:_0xf3c1x3a[_0x3ed8[168]]},attributes:[_0x3ed8[45],_0x3ed8[106],_0x3ed8[166]]})})[_0x3ed8[77]](function(_0xf3c1x3c){if(!_0xf3c1x3c){throw  new Error(util[_0x3ed8[76]](_0x3ed8[165],_0xf3c1x3a.ChatWebsiteId))};_0xf3c1x3b= _0xf3c1x3c;if(_0xf3c1x3b[_0x3ed8[166]]){return Contact[_0x3ed8[167]]({where:{email:_0xf3c1x3a[_0x3ed8[108]]},defaults:{email:_0xf3c1x3a[_0x3ed8[108]],firstName:_0xf3c1x3a[_0x3ed8[107]],ListId:_0xf3c1x3b[_0x3ed8[166]]}})}})[_0x3ed8[77]](function(){return ChatRoom[_0x3ed8[121]]({type:_0x3ed8[164],ChatVisitorId:_0xf3c1x3a[_0x3ed8[45]],ChatWebsiteId:_0xf3c1x3b[_0x3ed8[45]],contact:_0xf3c1x3a[_0x3ed8[108]],website:_0xf3c1x3b[_0x3ed8[106]]})})[_0x3ed8[77]](function(_0xf3c1x35){_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[107]]= _0xf3c1x3a[_0x3ed8[107]];_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[108]]= _0xf3c1x3a[_0x3ed8[108]];_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[162]]= md5(_0xf3c1x3a[_0x3ed8[108]]).toString(_0x3ed8[163]);_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[120]]= _0xf3c1x3a[_0x3ed8[45]];var _0xf3c1x31={success:true,errors:[],chatVisitor:{id:_0xf3c1x3a[_0x3ed8[45]]}};return _0xf3c1x26[_0x3ed8[39]](200)[_0x3ed8[114]](_0xf3c1x31)})[_0x3ed8[40]](function(_0xf3c1x27){logger[_0x3ed8[37]](_0x3ed8[161],_0xf3c1x27[_0x3ed8[36]]);return _0xf3c1x26[_0x3ed8[39]](500)[_0x3ed8[38]](_0xf3c1x27)})};exports[_0x3ed8[169]]= function(_0xf3c1x25,_0xf3c1x26){return sequelize[_0x3ed8[182]]()[_0x3ed8[77]](function(_0xf3c1x3e){var _0xf3c1x38=_0xf3c1x25[_0x3ed8[132]][_0x3ed8[136]]?_0xf3c1x25[_0x3ed8[132]][_0x3ed8[136]]:_0xf3c1x25[_0x3ed8[138]][_0x3ed8[137]]|| _0xf3c1x25[_0x3ed8[139]];var _0xf3c1x36=uaParser[_0x3ed8[133]](_0xf3c1x25[_0x3ed8[132]][_0x3ed8[131]])[_0x3ed8[130]]();var _0xf3c1x37=languageParser[_0x3ed8[135]](_0xf3c1x25[_0x3ed8[132]][_0x3ed8[134]]);var _0xf3c1x39={fullname:_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[107]],email:_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[108]],remote_address:_0xf3c1x38,user_agent:_0xf3c1x25[_0x3ed8[132]][_0x3ed8[131]],visitor_language:_0xf3c1x25[_0x3ed8[132]][_0x3ed8[134]],browser:_0xf3c1x36[_0x3ed8[143]][_0x3ed8[106]]+ _0x3ed8[144]+ _0xf3c1x36[_0x3ed8[143]][_0x3ed8[145]],engine:_0xf3c1x36[_0x3ed8[146]][_0x3ed8[106]]+ _0x3ed8[144]+ _0xf3c1x36[_0x3ed8[146]][_0x3ed8[145]],os:_0xf3c1x36[_0x3ed8[147]][_0x3ed8[106]]+ _0x3ed8[144]+ _0xf3c1x36[_0x3ed8[147]][_0x3ed8[145]],device:_0xf3c1x36[_0x3ed8[149]][_0x3ed8[148]]?_0xf3c1x36[_0x3ed8[149]][_0x3ed8[148]]+ _0x3ed8[144]+ _0xf3c1x36[_0x3ed8[149]][_0x3ed8[150]]+ _0x3ed8[144]+ _0xf3c1x36[_0x3ed8[149]][_0x3ed8[151]]:null,referer:_0xf3c1x25[_0x3ed8[132]][_0x3ed8[141]],origin:_0x3ed8[171],status:_0x3ed8[172],ChatWebsiteId:parseInt(_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[173]],10),ChatEnquiry:{username:_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[107]],email:_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[108]],text:_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[36]],ChatWebsiteId:parseInt(_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[173]],10)}};if(_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[174]]&& _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[175]]){_0xf3c1x39[_0x3ed8[174]]= _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[174]];if(_[_0x3ed8[155]](_0xf3c1x39[_0x3ed8[174]])){_0xf3c1x39[_0x3ed8[174]]= _[_0x3ed8[94]](_0xf3c1x39[_0x3ed8[174]],_0x3ed8[156])};_0xf3c1x39[_0x3ed8[175]]= _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[175]]};if(_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[176]]&& _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[177]]){_0xf3c1x39[_0x3ed8[176]]= _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[176]];if(_[_0x3ed8[155]](_0xf3c1x39[_0x3ed8[176]])){_0xf3c1x39[_0x3ed8[176]]= _[_0x3ed8[94]](_0xf3c1x39[_0x3ed8[176]],_0x3ed8[156])};_0xf3c1x39[_0x3ed8[177]]= _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[177]]};if(_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[178]]&& _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[179]]){_0xf3c1x39[_0x3ed8[178]]= _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[178]];if(_[_0x3ed8[155]](_0xf3c1x39[_0x3ed8[178]])){_0xf3c1x39[_0x3ed8[178]]= _[_0x3ed8[94]](_0xf3c1x39[_0x3ed8[178]],_0x3ed8[156])};_0xf3c1x39[_0x3ed8[179]]= _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[170]][_0x3ed8[179]]};var _0xf3c1x3a;return ChatVisitor[_0x3ed8[121]](_0xf3c1x39,{transaction:_0xf3c1x3e,include:[{model:ChatEnquiry}]})[_0x3ed8[77]](function(_0xf3c1x3d){_0xf3c1x3a= _0xf3c1x3d;return ChatWebsite[_0x3ed8[78]]({where:{id:_0xf3c1x3a[_0x3ed8[168]]},attributes:[_0x3ed8[45],_0x3ed8[166]]})})[_0x3ed8[77]](function(_0xf3c1x3c){if(!_0xf3c1x3c){throw  new Error(util[_0x3ed8[76]](_0x3ed8[165],_0xf3c1x3a.ChatWebsiteId))};if(_0xf3c1x3c[_0x3ed8[166]]){return Contact[_0x3ed8[167]]({where:{email:_0xf3c1x3a[_0x3ed8[108]]},defaults:{email:_0xf3c1x3a[_0x3ed8[108]],firstName:_0xf3c1x3a[_0x3ed8[107]],ListId:_0xf3c1x3c[_0x3ed8[166]]}})};return})[_0x3ed8[77]](function(){_0xf3c1x3e[_0x3ed8[181]]();return _0xf3c1x26[_0x3ed8[39]](200)[_0x3ed8[114]]({success:true,errors:[]})})[_0x3ed8[40]](function(_0xf3c1x27){_0xf3c1x3e[_0x3ed8[180]]();logger[_0x3ed8[37]](_0x3ed8[161],_0xf3c1x27[_0x3ed8[36]]);return _0xf3c1x26[_0x3ed8[39]](500)[_0x3ed8[38]](_0xf3c1x27)})})};exports[_0x3ed8[183]]= function(_0xf3c1x25,_0xf3c1x26){var _0xf3c1x2e=_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]];if(_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e]&& _0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[120]]&& _0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[102]]){ChatMessage[_0x3ed8[115]]({where:{ChatRoomId:_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[102]]},attributes:[_0x3ed8[45],_0x3ed8[104],_0x3ed8[105]],include:[{model:Agent,attributes:[_0x3ed8[45],_0x3ed8[107]]},{model:ChatVisitor,attributes:[_0x3ed8[45],_0x3ed8[107]]}]})[_0x3ed8[77]](function(_0xf3c1x30){var _0xf3c1x3f=[];if(_0xf3c1x30&& _0xf3c1x30[_0x3ed8[117]]> 0){_0xf3c1x30[_0x3ed8[187]](function(_0xf3c1x34){_0xf3c1x34= _0xf3c1x34[_0x3ed8[118]]({plain:true});var _0xf3c1x40={name:_0xf3c1x34[_0x3ed8[19]]?_0xf3c1x34[_0x3ed8[19]][_0x3ed8[107]]:_0xf3c1x34[_0x3ed8[22]][_0x3ed8[107]],text:_0xf3c1x34[_0x3ed8[104]][_0x3ed8[185]](/(\r\n|\n|\r)/gm,_0x3ed8[144]),date:_0xf3c1x34[_0x3ed8[105]]};_0xf3c1x3f[_0x3ed8[186]](_0xf3c1x40)})}else {_0xf3c1x3f[_0x3ed8[186]]({name:_0x3ed8[188],text:_0x3ed8[188],date:_0x3ed8[188]})};var _0xf3c1x41=csv(_0xf3c1x3f);_0xf3c1x26[_0x3ed8[151]](_0x3ed8[189])[_0x3ed8[39]](200)[_0x3ed8[38]](_0xf3c1x41)})[_0x3ed8[40]](function(_0xf3c1x27){logger[_0x3ed8[37]](_0x3ed8[184],_0xf3c1x27[_0x3ed8[36]]);return _0xf3c1x26[_0x3ed8[39]](500)[_0x3ed8[38]](_0xf3c1x27)})}};exports[_0x3ed8[190]]= function(_0xf3c1x25,_0xf3c1x26){var _0xf3c1x28,_0xf3c1x42,_0xf3c1x43;var _0xf3c1x44=xchatty_components[_0x3ed8[191]];return ChatWebsite[_0x3ed8[243]](_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]],{include:[{model:ChatWebsitesField,as:_0x3ed8[197]},{model:ChatWebsitesField,as:_0x3ed8[235]}],attributes:[_0x3ed8[45],_0x3ed8[47],_0x3ed8[56],_0x3ed8[196],_0x3ed8[199],_0x3ed8[200],_0x3ed8[204]]})[_0x3ed8[77]](function(_0xf3c1x3b){if(!_0xf3c1x3b){throw  new Error(util[_0x3ed8[76]](_0x3ed8[165],_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]]))};_0xf3c1x28= _0xf3c1x3b;return License[_0x3ed8[243]](1)})[_0x3ed8[77]](function(_0xf3c1x45){if(_0xf3c1x45){_0xf3c1x42= JSON[_0x3ed8[135]](license[_0x3ed8[195]](_0xf3c1x45[_0x3ed8[194]][_0x3ed8[193]],_0xf3c1x45[_0x3ed8[153]]))}else {_0xf3c1x42= demoLicense};var _0xf3c1x46={rootPath:Util[_0x3ed8[48]](_0xf3c1x28[_0x3ed8[47]])+ _0x3ed8[49],assetBase:Util[_0x3ed8[48]](_0xf3c1x28[_0x3ed8[47]])+ _0x3ed8[54],websiteId:_0xf3c1x28[_0x3ed8[45]],headerShape:_0xf3c1x28[_0x3ed8[56]],enquiryEnable:_0xf3c1x28[_0x3ed8[196]],onlineFields:_0xf3c1x28[_0x3ed8[197]],logo:function(){if(_0xf3c1x42[_0x3ed8[198]]&&  !_0xf3c1x28[_0x3ed8[199]]&& _0xf3c1x28[_0x3ed8[200]]){return _0x3ed8[201]+ _0xf3c1x28[_0x3ed8[200]]+ _0x3ed8[202]}else {return _0x3ed8[203]}},whiteLabel:function(){if(_0xf3c1x42[_0x3ed8[198]]&&  !_0xf3c1x28[_0x3ed8[204]]){return _0xf3c1x28[_0x3ed8[205]]}else {return _0x3ed8[206]}},renderedOnlineField:function(){var _0xf3c1x47=_0x3ed8[188];var _0xf3c1x48=this;switch(this[_0x3ed8[232]]){case _0x3ed8[216]:_0xf3c1x47= _0x3ed8[207];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[208],_0xf3c1x48[_0x3ed8[209]],_0xf3c1x48[_0x3ed8[210]],_0xf3c1x48[_0x3ed8[211]]?_0x3ed8[212]:_0x3ed8[188]);_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[213],_0xf3c1x48[_0x3ed8[210]],_0xf3c1x48[_0x3ed8[209]],_0xf3c1x48[_0x3ed8[209]]+ 1,_0xf3c1x48[_0x3ed8[214]],_0xf3c1x48[_0x3ed8[211]]?_0x3ed8[211]:_0x3ed8[188]);_0xf3c1x47+= _0x3ed8[215];break;case _0x3ed8[218]:_0xf3c1x47= _0x3ed8[207];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[208],_0xf3c1x48[_0x3ed8[209]],_0xf3c1x48[_0x3ed8[210]],_0xf3c1x48[_0x3ed8[211]]?_0x3ed8[212]:_0x3ed8[188]);_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[217],_0xf3c1x48[_0x3ed8[209]],_0xf3c1x48[_0x3ed8[210]],_0xf3c1x48[_0x3ed8[209]]+ 1,_0xf3c1x48[_0x3ed8[214]],_0xf3c1x48[_0x3ed8[211]]?_0x3ed8[211]:_0x3ed8[188]);_0xf3c1x47+= _0x3ed8[215];break;case _0x3ed8[224]:_0xf3c1x47= _0x3ed8[207];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[219],_0xf3c1x48[_0x3ed8[210]]);_[_0x3ed8[187]](_0xf3c1x48[_0x3ed8[220]],function(_0xf3c1x49){_0xf3c1x47+= _0x3ed8[221];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[222],_0xf3c1x48[_0x3ed8[209]]+ 1,_0xf3c1x49,_0xf3c1x49);_0xf3c1x47+= _0x3ed8[223]});_0xf3c1x47+= _0x3ed8[215];break;case _0x3ed8[226]:_0xf3c1x47= _0x3ed8[207];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[219],_0xf3c1x48[_0x3ed8[210]]);_[_0x3ed8[187]](_0xf3c1x48[_0x3ed8[220]],function(_0xf3c1x49){_0xf3c1x47+= _0x3ed8[221];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[225],_0xf3c1x48[_0x3ed8[209]]+ 1,_0xf3c1x49,_0xf3c1x49);_0xf3c1x47+= _0x3ed8[223]});_0xf3c1x47+= _0x3ed8[215];break;case _0x3ed8[231]:_0xf3c1x47= _0x3ed8[207];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[227],_0xf3c1x48[_0x3ed8[209]],_0xf3c1x48[_0x3ed8[210]]);_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[228],_0xf3c1x48[_0x3ed8[209]]+ 1);_[_0x3ed8[187]](_0xf3c1x48[_0x3ed8[220]],function(_0xf3c1x49){_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[229],_0xf3c1x49,_0xf3c1x49)});_0xf3c1x47+= _0x3ed8[230];break};_0xf3c1x47+= _0x3ed8[233];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[234],_0xf3c1x48[_0x3ed8[209]]+ 1,_0xf3c1x48[_0x3ed8[210]]);return _0xf3c1x47},offlineFields:_0xf3c1x28[_0x3ed8[235]],renderedOfflineField:function(){var _0xf3c1x47=_0x3ed8[188];var _0xf3c1x48=this;switch(this[_0x3ed8[232]]){case _0x3ed8[216]:_0xf3c1x47= _0x3ed8[207];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[236],_0xf3c1x48[_0x3ed8[209]],_0xf3c1x48[_0x3ed8[210]],_0xf3c1x48[_0x3ed8[211]]?_0x3ed8[212]:_0x3ed8[188]);_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[237],_0xf3c1x48[_0x3ed8[210]],_0xf3c1x48[_0x3ed8[209]],_0xf3c1x48[_0x3ed8[209]]+ 1,_0xf3c1x48[_0x3ed8[214]],_0xf3c1x48[_0x3ed8[211]]?_0x3ed8[211]:_0x3ed8[188]);_0xf3c1x47+= _0x3ed8[215];break;case _0x3ed8[218]:_0xf3c1x47= _0x3ed8[207];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[236],_0xf3c1x48[_0x3ed8[209]],_0xf3c1x48[_0x3ed8[210]],_0xf3c1x48[_0x3ed8[211]]?_0x3ed8[212]:_0x3ed8[188]);_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[238],_0xf3c1x48[_0x3ed8[209]],_0xf3c1x48[_0x3ed8[210]],_0xf3c1x48[_0x3ed8[209]]+ 1,_0xf3c1x48[_0x3ed8[214]],_0xf3c1x48[_0x3ed8[211]]?_0x3ed8[211]:_0x3ed8[188]);_0xf3c1x47+= _0x3ed8[215];break;case _0x3ed8[224]:_0xf3c1x47= _0x3ed8[207];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[219],_0xf3c1x48[_0x3ed8[210]]);_[_0x3ed8[187]](_0xf3c1x48[_0x3ed8[220]],function(_0xf3c1x49){_0xf3c1x47+= _0x3ed8[221];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[239],_0xf3c1x48[_0x3ed8[209]]+ 1,_0xf3c1x49,_0xf3c1x49);_0xf3c1x47+= _0x3ed8[223]});_0xf3c1x47+= _0x3ed8[215];break;case _0x3ed8[226]:_0xf3c1x47= _0x3ed8[207];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[219],_0xf3c1x48[_0x3ed8[210]]);_[_0x3ed8[187]](_0xf3c1x48[_0x3ed8[220]],function(_0xf3c1x49){_0xf3c1x47+= _0x3ed8[221];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[240],_0xf3c1x48[_0x3ed8[209]]+ 1,_0xf3c1x49,_0xf3c1x49);_0xf3c1x47+= _0x3ed8[223]});_0xf3c1x47+= _0x3ed8[215];break;case _0x3ed8[231]:_0xf3c1x47= _0x3ed8[207];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[219],_0xf3c1x48[_0x3ed8[210]]);_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[241],_0xf3c1x48[_0x3ed8[209]]+ 1);_[_0x3ed8[187]](_0xf3c1x48[_0x3ed8[220]],function(_0xf3c1x49){_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[229],_0xf3c1x49,_0xf3c1x49)});_0xf3c1x47+= _0x3ed8[230];break};_0xf3c1x47+= _0x3ed8[233];_0xf3c1x47+= util[_0x3ed8[76]](_0x3ed8[242],_0xf3c1x48[_0x3ed8[209]]+ 1,_0xf3c1x48[_0x3ed8[210]]);return _0xf3c1x47}};_0xf3c1x44= Mustache[_0x3ed8[74]](_0xf3c1x44,_0xf3c1x46);return _0xf3c1x26[_0x3ed8[39]](200)[_0x3ed8[114]](_0xf3c1x44)})[_0x3ed8[40]](function(_0xf3c1x27){logger[_0x3ed8[37]](_0x3ed8[192],_0xf3c1x27[_0x3ed8[36]]);return _0xf3c1x26[_0x3ed8[39]](500)[_0x3ed8[114]]({message:_0xf3c1x27[_0x3ed8[36]]})})};exports[_0x3ed8[244]]= function(_0xf3c1x25,_0xf3c1x26){return ChatWebsite[_0x3ed8[243]](_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]],{include:[{model:ChatProactiveAction,attributes:[_0x3ed8[151],_0x3ed8[247],_0x3ed8[248]]}],attributes:[_0x3ed8[45]]})[_0x3ed8[77]](function(_0xf3c1x28){if(!_0xf3c1x28){logger[_0x3ed8[37]](_0x3ed8[246],_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]]);return _0xf3c1x26[_0x3ed8[39]](400)[_0x3ed8[114]]({})};return _0xf3c1x26[_0x3ed8[39]](200)[_0x3ed8[114]](_0xf3c1x28.ChatProactiveActions)})[_0x3ed8[40]](function(_0xf3c1x27){logger[_0x3ed8[37]](_0x3ed8[245],_0xf3c1x27[_0x3ed8[36]]);return _0xf3c1x26[_0x3ed8[39]](500)[_0x3ed8[114]]({message:_0xf3c1x27[_0x3ed8[36]]})})};exports[_0x3ed8[249]]= function(_0xf3c1x25,_0xf3c1x26){return ChatRoom[_0x3ed8[128]]({where:{id:_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[252]][_0x3ed8[102]]},attributes:[_0x3ed8[45]]})[_0x3ed8[77]](function(_0xf3c1x35){if(!_0xf3c1x35){throw  new Error(util[_0x3ed8[76]](_0x3ed8[251],_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[252]][_0x3ed8[102]]))};if(_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[252]][_0x3ed8[88]](_0x3ed8[253])&& _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[252]][_0x3ed8[88]](_0x3ed8[36])){return _0xf3c1x35[_0x3ed8[127]]({rating:_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[252]][_0x3ed8[253]],ratingMessage:_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[252]][_0x3ed8[36]]})};return})[_0x3ed8[77]](function(){return _0xf3c1x26[_0x3ed8[39]](200)[_0x3ed8[114]]({})})[_0x3ed8[40]](function(_0xf3c1x27){logger[_0x3ed8[37]](_0x3ed8[250],_0xf3c1x27[_0x3ed8[36]]);return _0xf3c1x26[_0x3ed8[39]](500)[_0x3ed8[114]]({message:_0xf3c1x27[_0x3ed8[36]]})})};exports[_0x3ed8[254]]= function(_0xf3c1x25,_0xf3c1x26){var _0xf3c1x2e=_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]];if(_0xf3c1x25[_0x3ed8[103]]&& _0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]]){if(_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0x3ed8[88]](_0xf3c1x2e)&& _0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[88]](_0x3ed8[120])&& _0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[120]]> 0){return ReportChatSession[_0x3ed8[128]]({where:{visitorid:_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[120]],leaveAt:null},attributes:[_0x3ed8[45],_0x3ed8[258]]})[_0x3ed8[77]](function(_0xf3c1x4a){if(!_0xf3c1x4a){throw  new Error(util[_0x3ed8[76]](_0x3ed8[256],_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[120]]))};return _0xf3c1x4a[_0x3ed8[127]]({abandon:true,leaveAt:moment()[_0x3ed8[76]](_0x3ed8[257])})})[_0x3ed8[77]](function(){return _0xf3c1x26[_0x3ed8[39]](200)[_0x3ed8[114]]({})})[_0x3ed8[40]](function(_0xf3c1x27){logger[_0x3ed8[37]](_0x3ed8[255],_0xf3c1x27[_0x3ed8[36]]);return _0xf3c1x26[_0x3ed8[39]](500)[_0x3ed8[114]]({message:_0xf3c1x27[_0x3ed8[36]]})})}};return _0xf3c1x26[_0x3ed8[39]](200)[_0x3ed8[114]]({})};exports[_0x3ed8[259]]= function(_0xf3c1x25,_0xf3c1x26){if(!_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]]){_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]]= {}};if(!_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]]]){_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]]]= {}};var _0xf3c1x2e=_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]];var _0xf3c1x4b={};var _0xf3c1x4c=[];return ChatWebsite[_0x3ed8[78]]({where:{id:_0xf3c1x2e},attributes:[_0x3ed8[45]]})[_0x3ed8[77]](function(_0xf3c1x3c){if(!_0xf3c1x3c){logger[_0x3ed8[37]](_0x3ed8[246],_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]]);throw  new Error(_0x3ed8[246],_0xf3c1x25[_0x3ed8[46]][_0x3ed8[45]])};return _0xf3c1x3c[_0x3ed8[276]]({attributes:[_0x3ed8[45],_0x3ed8[266],_0x3ed8[274]],include:[{model:ChatQueue,attributes:[_0x3ed8[45],_0x3ed8[106]],include:[{model:Agent,attributes:[_0x3ed8[45],_0x3ed8[106]]}]},{model:Agent,attributes:[_0x3ed8[45],_0x3ed8[106]]},{model:Interval,attributes:[_0x3ed8[274]],include:[{model:Interval,as:_0x3ed8[275],attributes:[_0x3ed8[274]]}]}]})})[_0x3ed8[77]](function(_0xf3c1x4f){_[_0x3ed8[187]](_0xf3c1x4f,function(_0xf3c1x50){if(checkAppInterval(_0xf3c1x50)){if(_0xf3c1x50[_0x3ed8[266]]=== _0x3ed8[267]){if(_0xf3c1x50[_0x3ed8[28]][_0x3ed8[88]](_0x3ed8[268])&& _0xf3c1x50[_0x3ed8[28]][_0x3ed8[268]][_0x3ed8[117]]> 0){_0xf3c1x4c= _[_0x3ed8[271]](_[_0x3ed8[270]](_0xf3c1x4c,_[_0x3ed8[269]](_0xf3c1x50[_0x3ed8[28]].Users,_0x3ed8[45])))}}else {if(_0xf3c1x50[_0x3ed8[266]]=== _0x3ed8[272]){_0xf3c1x4c[_0x3ed8[186]](_0xf3c1x50[_0x3ed8[19]][_0x3ed8[45]]);_0xf3c1x4c= _[_0x3ed8[271]](_0xf3c1x4c)}}}});return Agent[_0x3ed8[273]]({where:{online:true,id:{$in:_0xf3c1x4c}},attributes:[_0x3ed8[45]]})})[_0x3ed8[77]](function(_0xf3c1x4e){if(_0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[263]]){_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[263]]= _0xf3c1x25[_0x3ed8[89]][_0x3ed8[110]][_0x3ed8[263]]=== _0x3ed8[51]?true:false};_0xf3c1x4b= {success:true,has_session_saf:null,signed_up:_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[102]]?true:false,fullname:_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[107]]|| _0x3ed8[188],email:_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[108]]|| _0x3ed8[188],avatar:_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[162]]|| _0x3ed8[188],open_state:_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[263]]|| _0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[102]]?true:false,online:_0xf3c1x4e[_0x3ed8[264]]?true:false,is_unserved:false,room_id:0};if(_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[120]]){return ChatRoom[_0x3ed8[78]]({where:{ChatVisitorId:_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[120]],status:_0x3ed8[265],token:{$ne:_0x3ed8[188]}},attributes:[_0x3ed8[45]]})};return})[_0x3ed8[77]](function(_0xf3c1x35){if(_0xf3c1x35){_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[102]]= _0xf3c1x35[_0x3ed8[45]];_0xf3c1x4b[_0x3ed8[102]]= _0xf3c1x35[_0x3ed8[45]];_0xf3c1x4b[_0x3ed8[262]]= true}else {_0xf3c1x4b[_0x3ed8[262]]= false};if(_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[120]]){return ChatVisitor[_0x3ed8[78]]({where:{id:_0xf3c1x25[_0x3ed8[103]][_0x3ed8[97]][_0xf3c1x2e][_0x3ed8[120]],status:_0x3ed8[172]},attributes:[_0x3ed8[45]]})};return})[_0x3ed8[77]](function(_0xf3c1x4d){if(_0xf3c1x4d){_0xf3c1x4b[_0x3ed8[261]]= true};return _0xf3c1x26[_0x3ed8[39]](200)[_0x3ed8[114]](_0xf3c1x4b)})[_0x3ed8[40]](function(_0xf3c1x27){logger[_0x3ed8[37]](_0x3ed8[260],_0xf3c1x27);return _0xf3c1x26[_0x3ed8[39]](500)[_0x3ed8[114]]({})})};function checkAppInterval(_0xf3c1x50){var _0xf3c1x52=true;if(_0xf3c1x50[_0x3ed8[33]]){for(var _0xf3c1x53=0;_0xf3c1x53< _0xf3c1x50[_0x3ed8[33]][_0x3ed8[275]][_0x3ed8[117]];_0xf3c1x53++){if(Util[_0x3ed8[277]](splitInterval(_0xf3c1x50[_0x3ed8[33]][_0x3ed8[275]][_0xf3c1x53][_0x3ed8[274]]))){break}else {_0xf3c1x52= false}}}else {if(!Util[_0x3ed8[277]](splitInterval(_0xf3c1x50[_0x3ed8[274]]))){_0xf3c1x52= false}};return _0xf3c1x52}function splitInterval(_0xf3c1x55){var _0xf3c1x56={};var _0xf3c1x57=_0xf3c1x55[_0x3ed8[278]](_0x3ed8[156]);var _0xf3c1x58;_0xf3c1x57[_0x3ed8[187]](function(_0xf3c1x48,_0xf3c1x59){switch(_0xf3c1x59){case 0:if(_0xf3c1x48!== _0x3ed8[212]){_0xf3c1x58= _0xf3c1x48[_0x3ed8[278]](_0x3ed8[279]);_0xf3c1x56[_0x3ed8[280]]= moment(_0xf3c1x58[0],_0x3ed8[281]);_0xf3c1x56[_0x3ed8[282]]= moment(_0xf3c1x58[1],_0x3ed8[281])}else {_0xf3c1x56[_0x3ed8[280]]= null;_0xf3c1x56[_0x3ed8[282]]= null};break;case 1:if(_0xf3c1x48!== _0x3ed8[212]){_0xf3c1x58= _0xf3c1x48[_0x3ed8[278]](_0x3ed8[279]);_0xf3c1x56[_0x3ed8[283]]= weekDaysCollection[_0xf3c1x58[0]];_0xf3c1x56[_0x3ed8[284]]= _0xf3c1x58[1]?weekDaysCollection[_0xf3c1x58[1]]:null}else {_0xf3c1x56[_0x3ed8[283]]= null;_0xf3c1x56[_0x3ed8[284]]= null};break;case 2:if(_0xf3c1x48!== _0x3ed8[212]){_0xf3c1x58= _0xf3c1x48[_0x3ed8[278]](_0x3ed8[279]);_0xf3c1x56[_0x3ed8[285]]= _0xf3c1x58[0];_0xf3c1x56[_0x3ed8[286]]= _0xf3c1x58[1]?_0xf3c1x58[1]:null}else {_0xf3c1x56[_0x3ed8[285]]= null;_0xf3c1x56[_0x3ed8[286]]= null};break;case 3:if(_0xf3c1x48!== _0x3ed8[212]){_0xf3c1x58= _0xf3c1x48[_0x3ed8[278]](_0x3ed8[279]);_0xf3c1x56[_0x3ed8[287]]= monthsCollection[_0xf3c1x58[0]];_0xf3c1x56[_0x3ed8[288]]= _0xf3c1x58[1]?monthsCollection[_0xf3c1x58[1]]:null}else {_0xf3c1x56[_0x3ed8[287]]= null;_0xf3c1x56[_0x3ed8[288]]= null};break;default:}});return _0xf3c1x56}
\ No newline at end of file
+var _0x6a27=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x75\x73\x74\x61\x63\x68\x65","\x70\x61\x74\x68","\x6D\x64\x35","\x75\x61\x2D\x70\x61\x72\x73\x65\x72\x2D\x6A\x73","\x61\x63\x63\x65\x70\x74\x2D\x6C\x61\x6E\x67\x75\x61\x67\x65\x2D\x70\x61\x72\x73\x65\x72","\x74\x6F\x2D\x63\x73\x76","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x61\x70\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x2F\x78\x63\x68\x61\x74\x74\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x44\x45\x4D\x4F\x20\x4C\x49\x43\x45\x4E\x53\x45","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x4C\x69\x63\x65\x6E\x73\x65","\x58\x63\x68\x61\x74\x74\x79","\x53\x65\x74\x74\x69\x6E\x67","\x43\x6F\x6E\x74\x61\x63\x74","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x67\x65\x74\x4A\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x45\x72\x72\x6F\x72\x20\x72\x65\x74\x72\x69\x76\x69\x6E\x67\x20\x78\x43\x68\x61\x74\x74\x79\x20\x4A\x53\x3A","\x6D\x65\x73\x73\x61\x67\x65","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x63\x61\x74\x63\x68","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74","\x6E\x6F\x77","\x73\x65\x74","\x6A\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x72\x65\x6D\x6F\x74\x65","\x73\x74\x72\x69\x70\x54\x72\x61\x69\x6C\x69\x6E\x67\x53\x6C\x61\x73\x68","\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79\x2F","\x66\x61\x6C\x73\x65","\x74\x72\x75\x65","\x22\x22","\x6E\x75\x6C\x6C","\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79\x2F\x61\x73\x73\x65\x74\x73","\x61\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x68\x65\x61\x64\x65\x72\x5F\x73\x68\x61\x70\x65","\x68\x65\x61\x64\x65\x72\x5F\x6F\x6E\x6C\x69\x6E\x65","\x6F\x6E\x6C\x69\x6E\x65\x5F\x6D\x65\x73\x73\x61\x67\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x65\x6D\x61\x69\x6C\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x73\x74\x61\x72\x74\x5F\x63\x68\x61\x74\x5F\x62\x75\x74\x74\x6F\x6E","\x6F\x66\x66\x6C\x69\x6E\x65\x5F\x6D\x65\x73\x73\x61\x67\x65","\x68\x65\x61\x64\x65\x72\x5F\x6F\x66\x66\x6C\x69\x6E\x65","\x65\x6E\x71\x75\x69\x72\x79\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x65\x6E\x71\x75\x69\x72\x79\x5F\x62\x75\x74\x74\x6F\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64\x5F\x74\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x72\x61\x74\x69\x6E\x67\x5F\x6D\x65\x73\x73\x61\x67\x65","\x72\x61\x74\x69\x6E\x67\x5F\x73\x65\x6E\x64","\x72\x61\x74\x69\x6E\x67\x5F\x73\x6B\x69\x70","\x61\x67\x65\x6E\x74\x73\x5F\x62\x75\x73\x79","\x6E\x61\x6D\x65\x5F\x74\x69\x74\x6C\x65","\x65\x6D\x61\x69\x6C\x5F\x74\x69\x74\x6C\x65","\x6D\x65\x73\x73\x61\x67\x65\x5F\x74\x69\x74\x6C\x65","\x72\x65\x6E\x64\x65\x72","\x57\x65\x62\x73\x69\x74\x65\x20\x25\x64\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x66\x6F\x72\x6D\x61\x74","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x4F\x6E\x65","\x67\x65\x74\x53\x74\x79\x6C\x65\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x45\x72\x72\x6F\x72\x20\x72\x65\x74\x72\x69\x76\x69\x6E\x67\x20\x78\x43\x68\x61\x74\x74\x79\x20\x43\x53\x53\x3A","\x74\x65\x78\x74\x2F\x63\x73\x73","\x63\x73\x73","\x63\x6F\x6C\x6F\x72","\x63\x6F\x6C\x6F\x72\x5F\x66\x6F\x63\x75\x73","\x63\x6F\x6C\x6F\x72\x5F\x62\x75\x74\x74\x6F\x6E","\x67\x65\x74\x41\x73\x73\x65\x74\x73","\x75\x70\x6C\x6F\x61\x64\x65\x64","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x71\x75\x65\x72\x79","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x72\x65\x73\x6F\x75\x72\x63\x65","\x6A\x6F\x69\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73","\x78\x63\x68\x61\x74\x74\x79","\x61\x73\x73\x65\x74\x73","\x67\x65\x74\x4A\x71\x75\x65\x72\x79\x4C\x69\x62\x72\x61\x72\x79","\x6A\x71\x75\x65\x72\x79","\x67\x65\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x72\x6F\x6F\x6D\x5F\x69\x64","\x73\x65\x73\x73\x69\x6F\x6E","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x69\x73\x5F\x6E\x65\x77\x5F\x70\x61\x67\x65","\x64\x61\x74\x61","\x77\x68\x65\x72\x65","\x6C\x61\x73\x74\x5F\x69\x64","\x45\x72\x72\x6F\x72\x20\x67\x65\x74\x20\x63\x68\x61\x74\x20\x6D\x65\x73\x73\x61\x67\x65\x73\x3A","\x6A\x73\x6F\x6E\x70","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74","\x4D\x65\x73\x73\x61\x67\x65","\x76\x69\x73\x69\x74\x6F\x72\x5F\x69\x64","\x63\x72\x65\x61\x74\x65","\x73\x69\x67\x6E\x6F\x75\x74\x43\x75\x73\x74\x6F\x6D\x65\x72","\x45\x72\x72\x6F\x72\x20\x76\x69\x73\x69\x74\x6F\x72\x20\x73\x69\x67\x6E\x6F\x75\x74\x3A","\x43\x68\x61\x74\x20\x52\x6F\x6F\x6D\x20\x25\x64\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x43\x4C\x4F\x53\x45\x44","\x72\x65\x71\x75\x65\x73\x74\x65\x72","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64","\x73\x69\x67\x6E\x75\x70\x43\x75\x73\x74\x6F\x6D\x65\x72","\x67\x65\x74\x52\x65\x73\x75\x6C\x74","\x75\x73\x65\x72\x2D\x61\x67\x65\x6E\x74","\x68\x65\x61\x64\x65\x72\x73","\x73\x65\x74\x55\x41","\x61\x63\x63\x65\x70\x74\x2D\x6C\x61\x6E\x67\x75\x61\x67\x65","\x70\x61\x72\x73\x65","\x78\x2D\x66\x6F\x72\x77\x61\x72\x64\x65\x64\x2D\x66\x6F\x72","\x72\x65\x6D\x6F\x74\x65\x41\x64\x64\x72\x65\x73\x73","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x69\x70","\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E","\x72\x65\x66\x65\x72\x65\x72","\x77\x65\x62\x63\x68\x61\x74","\x62\x72\x6F\x77\x73\x65\x72","\x20","\x76\x65\x72\x73\x69\x6F\x6E","\x65\x6E\x67\x69\x6E\x65","\x6F\x73","\x6D\x6F\x64\x65\x6C","\x64\x65\x76\x69\x63\x65","\x76\x65\x6E\x64\x6F\x72","\x74\x79\x70\x65","\x63\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x64\x61\x74\x61\x31","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x31","\x69\x73\x41\x72\x72\x61\x79","\x2C","\x64\x61\x74\x61\x32","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x33","\x45\x72\x72\x6F\x72\x20\x73\x75\x62\x6D\x69\x74\x69\x6E\x67\x20\x65\x6E\x71\x75\x69\x72\x79\x3A","\x61\x76\x61\x74\x61\x72","\x62\x61\x73\x65\x36\x34","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x43\x68\x61\x74\x20\x57\x65\x62\x73\x69\x74\x65\x20\x25\x64\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x4C\x69\x73\x74\x49\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x73\x75\x62\x6D\x69\x74\x45\x6E\x71\x75\x69\x72\x79","\x45\x6E\x71\x75\x69\x72\x79","\x65\x6E\x71\x75\x69\x72\x79","\x75\x6E\x73\x65\x72\x76\x65\x64","\x77\x65\x62\x73\x69\x74\x65\x49\x64","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x31","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x31","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x32","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x32","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x33","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x33","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x63\x6F\x6D\x6D\x69\x74","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x67\x65\x74\x54\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x45\x72\x72\x6F\x72\x20\x64\x6F\x77\x6E\x6C\x6F\x61\x64\x69\x6E\x67\x20\x63\x68\x61\x74\x20\x74\x72\x61\x6E\x73\x63\x72\x69\x70\x74\x3A","\x72\x65\x70\x6C\x61\x63\x65","\x4C\x20\x4C\x54\x53","\x70\x75\x73\x68","","\x74\x65\x78\x74\x2F\x63\x73\x76","\x41\x53\x43","\x67\x65\x74\x48\x74\x6D\x6C\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x74\x65\x6D\x70\x6C\x61\x74\x65","\x45\x72\x72\x6F\x72\x20\x72\x65\x74\x72\x69\x76\x69\x6E\x67\x20\x48\x54\x4D\x4C\x20\x74\x65\x6D\x70\x6C\x61\x74\x65\x3A","\x6C\x69\x63\x65\x6E\x73\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x64\x65\x63\x72\x79\x70\x74","\x65\x6E\x71\x75\x69\x72\x79\x5F\x65\x6E\x61\x62\x6C\x65","\x4F\x6E\x6C\x69\x6E\x65","\x63\x75\x73\x74\x6F\x6D","\x64\x65\x66\x61\x75\x6C\x74\x4C\x6F\x67\x6F","\x6C\x6F\x67\x6F","\x69\x6D\x61\x67\x65\x73\x2F","\x26\x75\x70\x6C\x6F\x61\x64\x65\x64","\x69\x6D\x61\x67\x65\x73\x2F\x6D\x6F\x74\x69\x6F\x6E\x4C\x6F\x67\x6F\x2E\x70\x6E\x67","\x64\x65\x66\x61\x75\x6C\x74\x57\x68\x69\x74\x65\x4C\x61\x62\x65\x6C","\x77\x68\x69\x74\x65\x4C\x61\x62\x65\x6C","\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x78\x63\x61\x6C\x6C\x79\x6D\x6F\x74\x69\x6F\x6E\x2E\x63\x6F\x6D\x2F\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x5F\x62\x6C\x61\x6E\x6B\x22\x3E\x50\x6F\x77\x65\x72\x65\x64\x20\x62\x79\x20\x78\x43\x41\x4C\x4C\x59\x3C\x2F\x61\x3E","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x64\x69\x76\x5F\x67\x72\x6F\x75\x70\x22\x3E","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x25\x64\x22\x3E\x25\x73\x20\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x69\x6E\x64\x65\x78","\x6C\x61\x62\x65\x6C","\x72\x65\x71\x75\x69\x72\x65\x64","\x2A","\x3C\x69\x6E\x70\x75\x74\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x22\x20\x69\x64\x3D\x22\x25\x64\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x2F\x3E","\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x3C\x2F\x64\x69\x76\x3E","\x74\x65\x78\x74\x49\x6E\x70\x75\x74","\x3C\x74\x65\x78\x74\x61\x72\x65\x61\x20\x69\x64\x3D\x22\x25\x64\x22\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x3E\x3C\x2F\x74\x65\x78\x74\x61\x72\x65\x61\x3E","\x74\x65\x78\x74\x41\x72\x65\x61","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x3E\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x6F\x70\x74\x69\x6F\x6E\x73","\x3C\x6C\x61\x62\x65\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x64\x69\x73\x70\x6C\x61\x79\x3A\x62\x6C\x6F\x63\x6B\x3B\x22\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x63\x68\x65\x63\x6B\x62\x6F\x78\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x66\x6F\x72\x45\x61\x63\x68","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x72\x61\x64\x69\x6F\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x72\x61\x64\x69\x6F","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x25\x64\x22\x3E\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x3C\x73\x65\x6C\x65\x63\x74\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x3E","\x3C\x6F\x70\x74\x69\x6F\x6E\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x25\x73\x3C\x2F\x6F\x70\x74\x69\x6F\x6E\x3E","\x3C\x2F\x73\x65\x6C\x65\x63\x74\x3E\x3C\x2F\x64\x69\x76\x3E","\x73\x65\x6C\x65\x63\x74","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74","\x3C\x62\x72\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x68\x69\x64\x64\x65\x6E\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E","\x4F\x66\x66\x6C\x69\x6E\x65","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x3E\x25\x73\x20\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x22\x20\x69\x64\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x2F\x3E","\x3C\x74\x65\x78\x74\x61\x72\x65\x61\x20\x69\x64\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x3E\x3C\x2F\x74\x65\x78\x74\x61\x72\x65\x61\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x63\x68\x65\x63\x6B\x62\x6F\x78\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x72\x61\x64\x69\x6F\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x73\x65\x6C\x65\x63\x74\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x68\x69\x64\x64\x65\x6E\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x45\x72\x72\x6F\x72\x20\x72\x65\x74\x72\x69\x76\x69\x6E\x67\x20\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x20\x61\x63\x74\x69\x6F\x6E\x73\x3A","\x43\x68\x61\x74\x20\x57\x65\x62\x73\x69\x74\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x73\x65\x6C\x65\x63\x74\x6F\x72","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x65\x74\x52\x61\x74\x69\x6E\x67","\x45\x72\x72\x6F\x72\x20\x73\x65\x74\x20\x72\x61\x74\x69\x6E\x67\x3A","\x43\x68\x61\x74\x52\x6F\x6F\x6D\x20\x25\x64\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x52\x61\x74\x69\x6E\x67","\x72\x61\x74\x69\x6E\x67","\x61\x62\x61\x6E\x64\x6F\x6E\x43\x75\x73\x74\x6F\x6D\x65\x72","\x45\x72\x72\x6F\x72\x20\x76\x69\x73\x69\x74\x6F\x72\x20\x61\x62\x61\x6E\x64\x6F\x6E\x3A","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x20\x66\x6F\x72\x20\x76\x69\x73\x69\x74\x6F\x72\x20\x25\x64","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x72\x6F\x6F\x6D\x69\x64","\x67\x65\x74\x53\x74\x61\x74\x75\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x57\x65\x62\x73\x69\x74\x65\x20\x73\x74\x61\x74\x75\x73\x20\x65\x72\x72\x6F\x72","\x69\x73\x5F\x75\x6E\x73\x65\x72\x76\x65\x64","\x73\x69\x67\x6E\x65\x64\x5F\x75\x70","\x6F\x70\x65\x6E\x5F\x73\x74\x61\x74\x65","\x63\x6F\x75\x6E\x74","\x4F\x50\x45\x4E","\x61\x70\x70","\x71\x75\x65\x75\x65","\x55\x73\x65\x72\x73","\x6D\x61\x70","\x6D\x65\x72\x67\x65","\x75\x6E\x69\x71","\x61\x67\x65\x6E\x74","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x67\x65\x74\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x69\x73\x56\x61\x6C\x69\x64\x49\x6E\x74\x65\x72\x76\x61\x6C","\x73\x70\x6C\x69\x74","\x2D","\x74\x5F\x66\x72\x6F\x6D","\x48\x48\x3A\x6D\x6D","\x74\x5F\x74\x6F","\x77\x64\x5F\x66\x72\x6F\x6D","\x77\x64\x5F\x74\x6F","\x6D\x64\x5F\x66\x72\x6F\x6D","\x6D\x64\x5F\x74\x6F","\x6D\x5F\x66\x72\x6F\x6D","\x6D\x5F\x74\x6F"];_0x6a27[0];var _=require(_0x6a27[1]);var Mustache=require(_0x6a27[2]);var path=require(_0x6a27[3]);var md5=require(_0x6a27[4]);var UAParser=require(_0x6a27[5]);var uaParser= new UAParser();var languageParser=require(_0x6a27[6]);var csv=require(_0x6a27[7]);var util=require(_0x6a27[8]);var moment=require(_0x6a27[9]);var logger=require(_0x6a27[11])(_0x6a27[10]);var config=require(_0x6a27[12]);var xchatty_components=require(_0x6a27[13]);var Util=require(_0x6a27[14]);var license=require(_0x6a27[15]);var demoLicense={users:1,agents:1,telephones:0,chat:false,mail:false,fax:false,messaging:false,cm:false,dialer:false,jscripty:false,update:false,custom:false,description:_0x6a27[16]};var sequelize=require(_0x6a27[18])[_0x6a27[17]];var User=require(_0x6a27[18])[_0x6a27[19]];var Agent=require(_0x6a27[18])[_0x6a27[19]];var ChatRoom=require(_0x6a27[18])[_0x6a27[20]];var ChatEnquiry=require(_0x6a27[18])[_0x6a27[21]];var ChatVisitor=require(_0x6a27[18])[_0x6a27[22]];var ChatMessage=require(_0x6a27[18])[_0x6a27[23]];var ChatWebsite=require(_0x6a27[18])[_0x6a27[24]];var ChatWebsitesField=require(_0x6a27[18])[_0x6a27[25]];var ChatProactiveAction=require(_0x6a27[18])[_0x6a27[26]];var ReportChatSession=require(_0x6a27[18])[_0x6a27[27]];var ChatQueue=require(_0x6a27[18])[_0x6a27[28]];var License=require(_0x6a27[18])[_0x6a27[29]];var Xchatty=require(_0x6a27[18])[_0x6a27[30]];var Setting=require(_0x6a27[18])[_0x6a27[31]];var Contact=require(_0x6a27[18])[_0x6a27[32]];var Interval=require(_0x6a27[18])[_0x6a27[33]];const weekDaysCollection={mon:1,tue:2,wed:3,thu:4,fri:5,sat:6,sun:7};const monthsCollection={jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12};var id=1;exports[_0x6a27[34]]= function(_0xaf4fx25,_0xaf4fx26){return ChatWebsite[_0x6a27[78]]({where:{id:_0xaf4fx25[_0x6a27[46]][_0x6a27[45]]},attributes:[_0x6a27[45],_0x6a27[47],_0x6a27[55],_0x6a27[56],_0x6a27[57],_0x6a27[58],_0x6a27[59],_0x6a27[60],_0x6a27[61],_0x6a27[62],_0x6a27[63],_0x6a27[64],_0x6a27[65],_0x6a27[66],_0x6a27[67],_0x6a27[68],_0x6a27[69],_0x6a27[70],_0x6a27[71],_0x6a27[72],_0x6a27[73]]})[_0x6a27[77]](function(_0xaf4fx28){if(_0xaf4fx28){_0xaf4fx26[_0x6a27[43]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x6a27[41],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0x6a27[42]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0xaf4fx29=xchatty_components[_0x6a27[44]];var _0xaf4fx2a={websiteId:_0xaf4fx25[_0x6a27[46]][_0x6a27[45]],rootPath:Util[_0x6a27[48]](_0xaf4fx28[_0x6a27[47]])+ _0x6a27[49],signedUp:_0x6a27[50],windowFocused:_0x6a27[50],isNewPage:_0x6a27[51],processingSignUp:_0x6a27[50],processingEnquiry:_0x6a27[50],processingSend:_0x6a27[50],processingRating:_0x6a27[50],visitorFullname:_0x6a27[52],visitorAvatar:_0x6a27[52],timerReadMessages:_0x6a27[53],timerCheckStatus:_0x6a27[53],isOnline:_0x6a27[50],decayHistory:0,defaultTimeout:5000,isInitialStatusCheck:_0x6a27[51],muteNotificationSoundOnce:_0x6a27[50],assetBase:Util[_0x6a27[48]](_0xaf4fx28[_0x6a27[47]])+ _0x6a27[54],hasSessionSaf:_0x6a27[50],restoreOpenState:_0x6a27[50],animateHover:_0xaf4fx28[_0x6a27[55]],hideEmail:_0x6a27[50],hideOffline:_0x6a27[50],headerShape:_0xaf4fx28[_0x6a27[56]],HeaderOnline:_0xaf4fx28[_0x6a27[57]],OnlineMessage:_0xaf4fx28[_0x6a27[58]],UsernamePlaceholder:_0xaf4fx28[_0x6a27[59]],EmailPlaceholder:_0xaf4fx28[_0x6a27[60]],StartChatButtonText:_0xaf4fx28[_0x6a27[61]],OfflineMessage:_0xaf4fx28[_0x6a27[62]],HeaderOffline:_0xaf4fx28[_0x6a27[63]],EnquiryMessagePlaceholder:_0xaf4fx28[_0x6a27[64]],EnquiryButtonText:_0xaf4fx28[_0x6a27[65]],downloadTranscript:_0xaf4fx28[_0x6a27[66]],RatingMessage:_0xaf4fx28[_0x6a27[67]],RatingSend:_0xaf4fx28[_0x6a27[68]],RatingSkip:_0xaf4fx28[_0x6a27[69]],MessageAgentsBusy:_0xaf4fx28[_0x6a27[70]],NameTitle:_0xaf4fx28[_0x6a27[71]],EmailTitle:_0xaf4fx28[_0x6a27[72]],MessageTitle:_0xaf4fx28[_0x6a27[73]]};_0xaf4fx29= Mustache[_0x6a27[74]](_0xaf4fx29,_0xaf4fx2a);return _0xaf4fx26[_0x6a27[38]](_0xaf4fx29)}else {throw  new Error(util[_0x6a27[76]](_0x6a27[75],_0xaf4fx25[_0x6a27[46]][_0x6a27[45]]))}})[_0x6a27[40]](function(_0xaf4fx27){logger[_0x6a27[37]](_0x6a27[35],_0xaf4fx27[_0x6a27[36]]);return _0xaf4fx26[_0x6a27[39]](500)[_0x6a27[38]](_0xaf4fx27)})};exports[_0x6a27[79]]= function(_0xaf4fx25,_0xaf4fx26){ChatWebsite[_0x6a27[78]]({where:{id:_0xaf4fx25[_0x6a27[46]][_0x6a27[45]]},attributes:[_0x6a27[45],_0x6a27[47],_0x6a27[83],_0x6a27[84],_0x6a27[85]]})[_0x6a27[77]](function(_0xaf4fx28){if(_0xaf4fx28){_0xaf4fx26[_0x6a27[43]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x6a27[81],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0x6a27[42]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0xaf4fx2b=xchatty_components[_0x6a27[82]];var _0xaf4fx2c={assetBase:Util[_0x6a27[48]](_0xaf4fx28[_0x6a27[47]])+ _0x6a27[54],color:_0xaf4fx28[_0x6a27[83]],colorFocus:_0xaf4fx28[_0x6a27[84]],colorButton:_0xaf4fx28[_0x6a27[85]]};_0xaf4fx2b= Mustache[_0x6a27[74]](_0xaf4fx2b,_0xaf4fx2c);return _0xaf4fx26[_0x6a27[38]](_0xaf4fx2b)}else {throw  new Error(util[_0x6a27[76]](_0x6a27[75],_0xaf4fx25[_0x6a27[46]][_0x6a27[45]]))}})[_0x6a27[40]](function(_0xaf4fx27){logger[_0x6a27[37]](_0x6a27[80],_0xaf4fx27[_0x6a27[36]]);return _0xaf4fx26[_0x6a27[39]](500)[_0x6a27[38]](_0xaf4fx27)})};exports[_0x6a27[86]]= function(_0xaf4fx25,_0xaf4fx26){if(_0xaf4fx25[_0x6a27[89]][_0x6a27[88]](_0x6a27[87])){_0xaf4fx26[_0x6a27[95]](path[_0x6a27[94]](config[_0x6a27[90]],_0x6a27[91],_0x6a27[92],_0xaf4fx25[_0x6a27[89]][_0x6a27[93]]))}else {_0xaf4fx26[_0x6a27[95]](path[_0x6a27[94]](config[_0x6a27[90]],_0x6a27[91],_0x6a27[96],_0x6a27[97],_0x6a27[98],_0xaf4fx25[_0x6a27[89]][_0x6a27[93]]))}};exports[_0x6a27[99]]= function(_0xaf4fx25,_0xaf4fx26){_0xaf4fx26[_0x6a27[43]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x6a27[41],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0x6a27[42]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0xaf4fx2d=xchatty_components[_0x6a27[100]];_0xaf4fx26[_0x6a27[38]](_0xaf4fx2d)};exports[_0x6a27[101]]= function(_0xaf4fx25,_0xaf4fx26){var _0xaf4fx2e=_0xaf4fx25[_0x6a27[46]][_0x6a27[45]];var _0xaf4fx2f={where:{ChatRoomId:_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[102]]},attributes:[_0x6a27[45],_0x6a27[104],_0x6a27[105]],include:[{model:User,attributes:[_0x6a27[45],_0x6a27[106],_0x6a27[107],_0x6a27[108]]},{model:ChatVisitor,attributes:[_0x6a27[45],_0x6a27[107],_0x6a27[108]]}]};if(_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[109]]=== _0x6a27[50]){_0xaf4fx2f[_0x6a27[111]][_0x6a27[45]]= {$gt:_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[112]]}};ChatMessage[_0x6a27[115]](_0xaf4fx2f)[_0x6a27[77]](function(_0xaf4fx30){var _0xaf4fx31={success:true,messages:_0xaf4fx30,composing:false,composing_fullname:null};return _0xaf4fx26[_0x6a27[39]](200)[_0x6a27[114]](_0xaf4fx31)})[_0x6a27[40]](function(_0xaf4fx27){logger[_0x6a27[37]](_0x6a27[113],_0xaf4fx27[_0x6a27[36]]);return _0xaf4fx26[_0x6a27[39]](500)[_0x6a27[38]](_0xaf4fx27)})};exports[_0x6a27[116]]= function(_0xaf4fx25,_0xaf4fx26){var _0xaf4fx2e=_0xaf4fx25[_0x6a27[46]][_0x6a27[45]];var _0xaf4fx32;var _0xaf4fx2f={where:{ChatRoomId:_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[102]]},include:[{model:User,attributes:[_0x6a27[45],_0x6a27[106],_0x6a27[107],_0x6a27[108]]},{model:ChatVisitor,attributes:[_0x6a27[45],_0x6a27[107],_0x6a27[108]]}]};if(_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[109]]=== _0x6a27[50]){_0xaf4fx2f[_0x6a27[111]][_0x6a27[45]]= {$gt:_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[112]]}};return ChatMessage[_0x6a27[121]]({body:_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[119]][_0x6a27[36]],ChatRoomId:_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[102]],ChatVisitorId:_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[120]]})[_0x6a27[77]](function(_0xaf4fx34){return ChatMessage[_0x6a27[115]](_0xaf4fx2f)})[_0x6a27[77]](function(_0xaf4fx30){for(var _0xaf4fx33=0;_0xaf4fx33< _0xaf4fx30[_0x6a27[117]];_0xaf4fx33++){_0xaf4fx30[_0xaf4fx33]= _0xaf4fx30[_0xaf4fx33][_0x6a27[118]]({plain:true})};var _0xaf4fx31={errors:[],success:true,messages:_0xaf4fx30?_0xaf4fx30:[]};return _0xaf4fx26[_0x6a27[39]](200)[_0x6a27[114]](_0xaf4fx31)})[_0x6a27[40]](function(_0xaf4fx27){logger[_0x6a27[37]](_0x6a27[113],_0xaf4fx27[_0x6a27[36]]);return _0xaf4fx26[_0x6a27[39]](500)[_0x6a27[38]](_0xaf4fx27)})};exports[_0x6a27[122]]= function(_0xaf4fx25,_0xaf4fx26){var _0xaf4fx2e=_0xaf4fx25[_0x6a27[46]][_0x6a27[45]];return ChatRoom[_0x6a27[128]]({where:{id:_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[102]]},attributes:[_0x6a27[45]]})[_0x6a27[77]](function(_0xaf4fx35){if(!_0xaf4fx35){throw  new Error(util[_0x6a27[76]](_0x6a27[124],_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[102]]))};return _0xaf4fx35[_0x6a27[127]]({status:_0x6a27[125],completeReason:_0x6a27[126]})})[_0x6a27[77]](function(){var _0xaf4fx31={success:true,errors:[]};_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e]= {};return _0xaf4fx26[_0x6a27[39]](200)[_0x6a27[114]](_0xaf4fx31)})[_0x6a27[40]](function(_0xaf4fx27){logger[_0x6a27[37]](_0x6a27[123],_0xaf4fx27[_0x6a27[36]]);return _0xaf4fx26[_0x6a27[39]](500)[_0x6a27[38]](_0xaf4fx27)})};exports[_0x6a27[129]]= function(_0xaf4fx25,_0xaf4fx26){var _0xaf4fx2e=_0xaf4fx25[_0x6a27[46]][_0x6a27[45]];var _0xaf4fx36=uaParser[_0x6a27[133]](_0xaf4fx25[_0x6a27[132]][_0x6a27[131]])[_0x6a27[130]]();var _0xaf4fx37=languageParser[_0x6a27[135]](_0xaf4fx25[_0x6a27[132]][_0x6a27[134]]);var _0xaf4fx38=_0xaf4fx25[_0x6a27[132]][_0x6a27[136]]?_0xaf4fx25[_0x6a27[132]][_0x6a27[136]]:_0xaf4fx25[_0x6a27[138]][_0x6a27[137]]|| _0xaf4fx25[_0x6a27[139]];var _0xaf4fx39={fullname:_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[140]][_0x6a27[107]],email:_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[140]][_0x6a27[108]],remote_address:_0xaf4fx38,user_agent:_0xaf4fx25[_0x6a27[132]][_0x6a27[131]],visitor_language:_0xaf4fx25[_0x6a27[132]][_0x6a27[134]],referer:_0xaf4fx25[_0x6a27[132]][_0x6a27[141]],origin:_0x6a27[142],browser:_0xaf4fx36[_0x6a27[143]][_0x6a27[106]]+ _0x6a27[144]+ _0xaf4fx36[_0x6a27[143]][_0x6a27[145]],engine:_0xaf4fx36[_0x6a27[146]][_0x6a27[106]]+ _0x6a27[144]+ _0xaf4fx36[_0x6a27[146]][_0x6a27[145]],os:_0xaf4fx36[_0x6a27[147]][_0x6a27[106]]+ _0x6a27[144]+ _0xaf4fx36[_0x6a27[147]][_0x6a27[145]],device:_0xaf4fx36[_0x6a27[149]][_0x6a27[148]]?_0xaf4fx36[_0x6a27[149]][_0x6a27[148]]+ _0x6a27[144]+ _0xaf4fx36[_0x6a27[149]][_0x6a27[150]]+ _0x6a27[144]+ _0xaf4fx36[_0x6a27[149]][_0x6a27[151]]:null,ChatWebsiteId:_0xaf4fx25[_0x6a27[89]][_0x6a27[152]]};if(_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[140]][_0x6a27[153]]&& _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[140]][_0x6a27[154]]){_0xaf4fx39[_0x6a27[153]]= _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[140]][_0x6a27[153]];if(_[_0x6a27[155]](_0xaf4fx39[_0x6a27[153]])){_0xaf4fx39[_0x6a27[153]]= _[_0x6a27[94]](_0xaf4fx39[_0x6a27[153]],_0x6a27[156])};_0xaf4fx39[_0x6a27[154]]= _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[140]][_0x6a27[154]]};if(_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[140]][_0x6a27[157]]&& _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[140]][_0x6a27[158]]){_0xaf4fx39[_0x6a27[157]]= _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[140]][_0x6a27[157]];if(_[_0x6a27[155]](_0xaf4fx39[_0x6a27[157]])){_0xaf4fx39[_0x6a27[157]]= _[_0x6a27[94]](_0xaf4fx39[_0x6a27[157]],_0x6a27[156])};_0xaf4fx39[_0x6a27[158]]= _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[140]][_0x6a27[158]]};if(_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[140]][_0x6a27[159]]&& _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[140]][_0x6a27[160]]){_0xaf4fx39[_0x6a27[159]]= _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[140]][_0x6a27[159]];if(_[_0x6a27[155]](_0xaf4fx39[_0x6a27[159]])){_0xaf4fx39[_0x6a27[159]]= _[_0x6a27[94]](_0xaf4fx39[_0x6a27[159]],_0x6a27[156])};_0xaf4fx39[_0x6a27[160]]= _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[140]][_0x6a27[160]]};var _0xaf4fx3a,_0xaf4fx3b;return ChatVisitor[_0x6a27[121]](_0xaf4fx39)[_0x6a27[77]](function(_0xaf4fx3d){_0xaf4fx3a= _0xaf4fx3d;return ChatWebsite[_0x6a27[128]]({where:{id:_0xaf4fx3a[_0x6a27[168]]},attributes:[_0x6a27[45],_0x6a27[106],_0x6a27[166]]})})[_0x6a27[77]](function(_0xaf4fx3c){if(!_0xaf4fx3c){throw  new Error(util[_0x6a27[76]](_0x6a27[165],_0xaf4fx3a.ChatWebsiteId))};_0xaf4fx3b= _0xaf4fx3c;if(_0xaf4fx3b[_0x6a27[166]]){return Contact[_0x6a27[167]]({where:{email:_0xaf4fx3a[_0x6a27[108]]},defaults:{email:_0xaf4fx3a[_0x6a27[108]],firstName:_0xaf4fx3a[_0x6a27[107]],ListId:_0xaf4fx3b[_0x6a27[166]]}})}})[_0x6a27[77]](function(){return ChatRoom[_0x6a27[121]]({type:_0x6a27[164],ChatVisitorId:_0xaf4fx3a[_0x6a27[45]],ChatWebsiteId:_0xaf4fx3b[_0x6a27[45]],contact:_0xaf4fx3a[_0x6a27[108]],website:_0xaf4fx3b[_0x6a27[106]]})})[_0x6a27[77]](function(_0xaf4fx35){_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[107]]= _0xaf4fx3a[_0x6a27[107]];_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[108]]= _0xaf4fx3a[_0x6a27[108]];_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[162]]= md5(_0xaf4fx3a[_0x6a27[108]]).toString(_0x6a27[163]);_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[120]]= _0xaf4fx3a[_0x6a27[45]];var _0xaf4fx31={success:true,errors:[],chatVisitor:{id:_0xaf4fx3a[_0x6a27[45]]}};return _0xaf4fx26[_0x6a27[39]](200)[_0x6a27[114]](_0xaf4fx31)})[_0x6a27[40]](function(_0xaf4fx27){logger[_0x6a27[37]](_0x6a27[161],_0xaf4fx27[_0x6a27[36]]);return _0xaf4fx26[_0x6a27[39]](500)[_0x6a27[38]](_0xaf4fx27)})};exports[_0x6a27[169]]= function(_0xaf4fx25,_0xaf4fx26){return sequelize[_0x6a27[182]]()[_0x6a27[77]](function(_0xaf4fx3e){var _0xaf4fx38=_0xaf4fx25[_0x6a27[132]][_0x6a27[136]]?_0xaf4fx25[_0x6a27[132]][_0x6a27[136]]:_0xaf4fx25[_0x6a27[138]][_0x6a27[137]]|| _0xaf4fx25[_0x6a27[139]];var _0xaf4fx36=uaParser[_0x6a27[133]](_0xaf4fx25[_0x6a27[132]][_0x6a27[131]])[_0x6a27[130]]();var _0xaf4fx37=languageParser[_0x6a27[135]](_0xaf4fx25[_0x6a27[132]][_0x6a27[134]]);var _0xaf4fx39={fullname:_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[107]],email:_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[108]],remote_address:_0xaf4fx38,user_agent:_0xaf4fx25[_0x6a27[132]][_0x6a27[131]],visitor_language:_0xaf4fx25[_0x6a27[132]][_0x6a27[134]],browser:_0xaf4fx36[_0x6a27[143]][_0x6a27[106]]+ _0x6a27[144]+ _0xaf4fx36[_0x6a27[143]][_0x6a27[145]],engine:_0xaf4fx36[_0x6a27[146]][_0x6a27[106]]+ _0x6a27[144]+ _0xaf4fx36[_0x6a27[146]][_0x6a27[145]],os:_0xaf4fx36[_0x6a27[147]][_0x6a27[106]]+ _0x6a27[144]+ _0xaf4fx36[_0x6a27[147]][_0x6a27[145]],device:_0xaf4fx36[_0x6a27[149]][_0x6a27[148]]?_0xaf4fx36[_0x6a27[149]][_0x6a27[148]]+ _0x6a27[144]+ _0xaf4fx36[_0x6a27[149]][_0x6a27[150]]+ _0x6a27[144]+ _0xaf4fx36[_0x6a27[149]][_0x6a27[151]]:null,referer:_0xaf4fx25[_0x6a27[132]][_0x6a27[141]],origin:_0x6a27[171],status:_0x6a27[172],ChatWebsiteId:parseInt(_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[173]],10),ChatEnquiry:{username:_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[107]],email:_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[108]],text:_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[36]],ChatWebsiteId:parseInt(_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[173]],10)}};if(_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[174]]&& _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[175]]){_0xaf4fx39[_0x6a27[174]]= _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[174]];if(_[_0x6a27[155]](_0xaf4fx39[_0x6a27[174]])){_0xaf4fx39[_0x6a27[174]]= _[_0x6a27[94]](_0xaf4fx39[_0x6a27[174]],_0x6a27[156])};_0xaf4fx39[_0x6a27[175]]= _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[175]]};if(_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[176]]&& _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[177]]){_0xaf4fx39[_0x6a27[176]]= _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[176]];if(_[_0x6a27[155]](_0xaf4fx39[_0x6a27[176]])){_0xaf4fx39[_0x6a27[176]]= _[_0x6a27[94]](_0xaf4fx39[_0x6a27[176]],_0x6a27[156])};_0xaf4fx39[_0x6a27[177]]= _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[177]]};if(_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[178]]&& _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[179]]){_0xaf4fx39[_0x6a27[178]]= _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[178]];if(_[_0x6a27[155]](_0xaf4fx39[_0x6a27[178]])){_0xaf4fx39[_0x6a27[178]]= _[_0x6a27[94]](_0xaf4fx39[_0x6a27[178]],_0x6a27[156])};_0xaf4fx39[_0x6a27[179]]= _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[170]][_0x6a27[179]]};var _0xaf4fx3a;return ChatVisitor[_0x6a27[121]](_0xaf4fx39,{transaction:_0xaf4fx3e,include:[{model:ChatEnquiry}]})[_0x6a27[77]](function(_0xaf4fx3d){_0xaf4fx3a= _0xaf4fx3d;return ChatWebsite[_0x6a27[78]]({where:{id:_0xaf4fx3a[_0x6a27[168]]},attributes:[_0x6a27[45],_0x6a27[166]]})})[_0x6a27[77]](function(_0xaf4fx3c){if(!_0xaf4fx3c){throw  new Error(util[_0x6a27[76]](_0x6a27[165],_0xaf4fx3a.ChatWebsiteId))};if(_0xaf4fx3c[_0x6a27[166]]){return Contact[_0x6a27[167]]({where:{email:_0xaf4fx3a[_0x6a27[108]]},defaults:{email:_0xaf4fx3a[_0x6a27[108]],firstName:_0xaf4fx3a[_0x6a27[107]],ListId:_0xaf4fx3c[_0x6a27[166]]}})};return})[_0x6a27[77]](function(){_0xaf4fx3e[_0x6a27[181]]();return _0xaf4fx26[_0x6a27[39]](200)[_0x6a27[114]]({success:true,errors:[]})})[_0x6a27[40]](function(_0xaf4fx27){_0xaf4fx3e[_0x6a27[180]]();logger[_0x6a27[37]](_0x6a27[161],_0xaf4fx27[_0x6a27[36]]);return _0xaf4fx26[_0x6a27[39]](500)[_0x6a27[38]](_0xaf4fx27)})})};exports[_0x6a27[183]]= function(_0xaf4fx25,_0xaf4fx26){var _0xaf4fx2e=_0xaf4fx25[_0x6a27[46]][_0x6a27[45]];if(_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e]&& _0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[120]]&& _0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[102]]){ChatMessage[_0x6a27[115]]({where:{ChatRoomId:_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[102]]},attributes:[_0x6a27[45],_0x6a27[104],_0x6a27[105]],order:[[_0x6a27[105],_0x6a27[190]]],include:[{model:Agent,attributes:[_0x6a27[45],_0x6a27[107]]},{model:ChatVisitor,attributes:[_0x6a27[45],_0x6a27[107]]}]})[_0x6a27[77]](function(_0xaf4fx30){var _0xaf4fx3f=[];if(_0xaf4fx30&& _0xaf4fx30[_0x6a27[117]]> 0){for(var _0xaf4fx33=0;_0xaf4fx33< _0xaf4fx30[_0x6a27[117]];_0xaf4fx33++){var _0xaf4fx34=_0xaf4fx30[_0xaf4fx33][_0x6a27[118]]({plain:true});var _0xaf4fx40={name:_0xaf4fx34[_0x6a27[19]]?_0xaf4fx34[_0x6a27[19]][_0x6a27[107]]:_0xaf4fx34[_0x6a27[22]][_0x6a27[107]],text:_0xaf4fx34[_0x6a27[104]][_0x6a27[185]](/(\r\n|\n|\r)/gm,_0x6a27[144]),date:moment(_0xaf4fx34[_0x6a27[105]])[_0x6a27[76]](_0x6a27[186])};_0xaf4fx3f[_0x6a27[187]](_0xaf4fx40)}}else {_0xaf4fx3f[_0x6a27[187]]({name:_0x6a27[188],text:_0x6a27[188],date:_0x6a27[188]})};var _0xaf4fx41=csv(_0xaf4fx3f);_0xaf4fx26[_0x6a27[151]](_0x6a27[189])[_0x6a27[39]](200)[_0x6a27[38]](_0xaf4fx41)})[_0x6a27[40]](function(_0xaf4fx27){logger[_0x6a27[37]](_0x6a27[184],_0xaf4fx27[_0x6a27[36]]);return _0xaf4fx26[_0x6a27[39]](500)[_0x6a27[38]](_0xaf4fx27)})}};exports[_0x6a27[191]]= function(_0xaf4fx25,_0xaf4fx26){var _0xaf4fx28,_0xaf4fx42,_0xaf4fx43;var _0xaf4fx44=xchatty_components[_0x6a27[192]];return ChatWebsite[_0x6a27[245]](_0xaf4fx25[_0x6a27[46]][_0x6a27[45]],{include:[{model:ChatWebsitesField,as:_0x6a27[198]},{model:ChatWebsitesField,as:_0x6a27[237]}],attributes:[_0x6a27[45],_0x6a27[47],_0x6a27[56],_0x6a27[197],_0x6a27[200],_0x6a27[201],_0x6a27[205]]})[_0x6a27[77]](function(_0xaf4fx3b){if(!_0xaf4fx3b){throw  new Error(util[_0x6a27[76]](_0x6a27[165],_0xaf4fx25[_0x6a27[46]][_0x6a27[45]]))};_0xaf4fx28= _0xaf4fx3b;return License[_0x6a27[245]](1)})[_0x6a27[77]](function(_0xaf4fx45){if(_0xaf4fx45){_0xaf4fx42= JSON[_0x6a27[135]](license[_0x6a27[196]](_0xaf4fx45[_0x6a27[195]][_0x6a27[194]],_0xaf4fx45[_0x6a27[153]]))}else {_0xaf4fx42= demoLicense};var _0xaf4fx46={rootPath:Util[_0x6a27[48]](_0xaf4fx28[_0x6a27[47]])+ _0x6a27[49],assetBase:Util[_0x6a27[48]](_0xaf4fx28[_0x6a27[47]])+ _0x6a27[54],websiteId:_0xaf4fx28[_0x6a27[45]],headerShape:_0xaf4fx28[_0x6a27[56]],enquiryEnable:_0xaf4fx28[_0x6a27[197]],onlineFields:_0xaf4fx28[_0x6a27[198]],logo:function(){if(_0xaf4fx42[_0x6a27[199]]&&  !_0xaf4fx28[_0x6a27[200]]&& _0xaf4fx28[_0x6a27[201]]){return _0x6a27[202]+ _0xaf4fx28[_0x6a27[201]]+ _0x6a27[203]}else {return _0x6a27[204]}},whiteLabel:function(){if(_0xaf4fx42[_0x6a27[199]]&&  !_0xaf4fx28[_0x6a27[205]]){return _0xaf4fx28[_0x6a27[206]]}else {return _0x6a27[207]}},renderedOnlineField:function(){var _0xaf4fx47=_0x6a27[188];var _0xaf4fx48=this;switch(this[_0x6a27[234]]){case _0x6a27[217]:_0xaf4fx47= _0x6a27[208];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[209],_0xaf4fx48[_0x6a27[210]],_0xaf4fx48[_0x6a27[211]],_0xaf4fx48[_0x6a27[212]]?_0x6a27[213]:_0x6a27[188]);_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[214],_0xaf4fx48[_0x6a27[211]],_0xaf4fx48[_0x6a27[210]],_0xaf4fx48[_0x6a27[210]]+ 1,_0xaf4fx48[_0x6a27[215]],_0xaf4fx48[_0x6a27[212]]?_0x6a27[212]:_0x6a27[188]);_0xaf4fx47+= _0x6a27[216];break;case _0x6a27[219]:_0xaf4fx47= _0x6a27[208];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[209],_0xaf4fx48[_0x6a27[210]],_0xaf4fx48[_0x6a27[211]],_0xaf4fx48[_0x6a27[212]]?_0x6a27[213]:_0x6a27[188]);_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[218],_0xaf4fx48[_0x6a27[210]],_0xaf4fx48[_0x6a27[211]],_0xaf4fx48[_0x6a27[210]]+ 1,_0xaf4fx48[_0x6a27[215]],_0xaf4fx48[_0x6a27[212]]?_0x6a27[212]:_0x6a27[188]);_0xaf4fx47+= _0x6a27[216];break;case _0x6a27[226]:_0xaf4fx47= _0x6a27[208];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[220],_0xaf4fx48[_0x6a27[211]]);_[_0x6a27[225]](_0xaf4fx48[_0x6a27[221]],function(_0xaf4fx49){_0xaf4fx47+= _0x6a27[222];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[223],_0xaf4fx48[_0x6a27[210]]+ 1,_0xaf4fx49,_0xaf4fx49);_0xaf4fx47+= _0x6a27[224]});_0xaf4fx47+= _0x6a27[216];break;case _0x6a27[228]:_0xaf4fx47= _0x6a27[208];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[220],_0xaf4fx48[_0x6a27[211]]);_[_0x6a27[225]](_0xaf4fx48[_0x6a27[221]],function(_0xaf4fx49){_0xaf4fx47+= _0x6a27[222];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[227],_0xaf4fx48[_0x6a27[210]]+ 1,_0xaf4fx49,_0xaf4fx49);_0xaf4fx47+= _0x6a27[224]});_0xaf4fx47+= _0x6a27[216];break;case _0x6a27[233]:_0xaf4fx47= _0x6a27[208];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[229],_0xaf4fx48[_0x6a27[210]],_0xaf4fx48[_0x6a27[211]]);_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[230],_0xaf4fx48[_0x6a27[210]]+ 1);_[_0x6a27[225]](_0xaf4fx48[_0x6a27[221]],function(_0xaf4fx49){_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[231],_0xaf4fx49,_0xaf4fx49)});_0xaf4fx47+= _0x6a27[232];break};_0xaf4fx47+= _0x6a27[235];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[236],_0xaf4fx48[_0x6a27[210]]+ 1,_0xaf4fx48[_0x6a27[211]]);return _0xaf4fx47},offlineFields:_0xaf4fx28[_0x6a27[237]],renderedOfflineField:function(){var _0xaf4fx47=_0x6a27[188];var _0xaf4fx48=this;switch(this[_0x6a27[234]]){case _0x6a27[217]:_0xaf4fx47= _0x6a27[208];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[238],_0xaf4fx48[_0x6a27[210]],_0xaf4fx48[_0x6a27[211]],_0xaf4fx48[_0x6a27[212]]?_0x6a27[213]:_0x6a27[188]);_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[239],_0xaf4fx48[_0x6a27[211]],_0xaf4fx48[_0x6a27[210]],_0xaf4fx48[_0x6a27[210]]+ 1,_0xaf4fx48[_0x6a27[215]],_0xaf4fx48[_0x6a27[212]]?_0x6a27[212]:_0x6a27[188]);_0xaf4fx47+= _0x6a27[216];break;case _0x6a27[219]:_0xaf4fx47= _0x6a27[208];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[238],_0xaf4fx48[_0x6a27[210]],_0xaf4fx48[_0x6a27[211]],_0xaf4fx48[_0x6a27[212]]?_0x6a27[213]:_0x6a27[188]);_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[240],_0xaf4fx48[_0x6a27[210]],_0xaf4fx48[_0x6a27[211]],_0xaf4fx48[_0x6a27[210]]+ 1,_0xaf4fx48[_0x6a27[215]],_0xaf4fx48[_0x6a27[212]]?_0x6a27[212]:_0x6a27[188]);_0xaf4fx47+= _0x6a27[216];break;case _0x6a27[226]:_0xaf4fx47= _0x6a27[208];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[220],_0xaf4fx48[_0x6a27[211]]);_[_0x6a27[225]](_0xaf4fx48[_0x6a27[221]],function(_0xaf4fx49){_0xaf4fx47+= _0x6a27[222];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[241],_0xaf4fx48[_0x6a27[210]]+ 1,_0xaf4fx49,_0xaf4fx49);_0xaf4fx47+= _0x6a27[224]});_0xaf4fx47+= _0x6a27[216];break;case _0x6a27[228]:_0xaf4fx47= _0x6a27[208];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[220],_0xaf4fx48[_0x6a27[211]]);_[_0x6a27[225]](_0xaf4fx48[_0x6a27[221]],function(_0xaf4fx49){_0xaf4fx47+= _0x6a27[222];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[242],_0xaf4fx48[_0x6a27[210]]+ 1,_0xaf4fx49,_0xaf4fx49);_0xaf4fx47+= _0x6a27[224]});_0xaf4fx47+= _0x6a27[216];break;case _0x6a27[233]:_0xaf4fx47= _0x6a27[208];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[220],_0xaf4fx48[_0x6a27[211]]);_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[243],_0xaf4fx48[_0x6a27[210]]+ 1);_[_0x6a27[225]](_0xaf4fx48[_0x6a27[221]],function(_0xaf4fx49){_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[231],_0xaf4fx49,_0xaf4fx49)});_0xaf4fx47+= _0x6a27[232];break};_0xaf4fx47+= _0x6a27[235];_0xaf4fx47+= util[_0x6a27[76]](_0x6a27[244],_0xaf4fx48[_0x6a27[210]]+ 1,_0xaf4fx48[_0x6a27[211]]);return _0xaf4fx47}};_0xaf4fx44= Mustache[_0x6a27[74]](_0xaf4fx44,_0xaf4fx46);return _0xaf4fx26[_0x6a27[39]](200)[_0x6a27[114]](_0xaf4fx44)})[_0x6a27[40]](function(_0xaf4fx27){logger[_0x6a27[37]](_0x6a27[193],_0xaf4fx27[_0x6a27[36]]);return _0xaf4fx26[_0x6a27[39]](500)[_0x6a27[114]]({message:_0xaf4fx27[_0x6a27[36]]})})};exports[_0x6a27[246]]= function(_0xaf4fx25,_0xaf4fx26){return ChatWebsite[_0x6a27[245]](_0xaf4fx25[_0x6a27[46]][_0x6a27[45]],{include:[{model:ChatProactiveAction,attributes:[_0x6a27[151],_0x6a27[249],_0x6a27[250]]}],attributes:[_0x6a27[45]]})[_0x6a27[77]](function(_0xaf4fx28){if(!_0xaf4fx28){logger[_0x6a27[37]](_0x6a27[248],_0xaf4fx25[_0x6a27[46]][_0x6a27[45]]);return _0xaf4fx26[_0x6a27[39]](400)[_0x6a27[114]]({})};return _0xaf4fx26[_0x6a27[39]](200)[_0x6a27[114]](_0xaf4fx28.ChatProactiveActions)})[_0x6a27[40]](function(_0xaf4fx27){logger[_0x6a27[37]](_0x6a27[247],_0xaf4fx27[_0x6a27[36]]);return _0xaf4fx26[_0x6a27[39]](500)[_0x6a27[114]]({message:_0xaf4fx27[_0x6a27[36]]})})};exports[_0x6a27[251]]= function(_0xaf4fx25,_0xaf4fx26){return ChatRoom[_0x6a27[128]]({where:{id:_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[254]][_0x6a27[102]]},attributes:[_0x6a27[45]]})[_0x6a27[77]](function(_0xaf4fx35){if(!_0xaf4fx35){throw  new Error(util[_0x6a27[76]](_0x6a27[253],_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[254]][_0x6a27[102]]))};if(_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[254]][_0x6a27[88]](_0x6a27[255])&& _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[254]][_0x6a27[88]](_0x6a27[36])){return _0xaf4fx35[_0x6a27[127]]({rating:_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[254]][_0x6a27[255]],ratingMessage:_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[254]][_0x6a27[36]]})};return})[_0x6a27[77]](function(){return _0xaf4fx26[_0x6a27[39]](200)[_0x6a27[114]]({})})[_0x6a27[40]](function(_0xaf4fx27){logger[_0x6a27[37]](_0x6a27[252],_0xaf4fx27[_0x6a27[36]]);return _0xaf4fx26[_0x6a27[39]](500)[_0x6a27[114]]({message:_0xaf4fx27[_0x6a27[36]]})})};exports[_0x6a27[256]]= function(_0xaf4fx25,_0xaf4fx26){var _0xaf4fx2e=_0xaf4fx25[_0x6a27[46]][_0x6a27[45]];if(_0xaf4fx25[_0x6a27[103]]&& _0xaf4fx25[_0x6a27[103]][_0x6a27[97]]){if(_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0x6a27[88]](_0xaf4fx2e)&& _0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[88]](_0x6a27[120])&& _0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[120]]> 0){return ReportChatSession[_0x6a27[128]]({where:{visitorid:_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[120]],leaveAt:null},attributes:[_0x6a27[45],_0x6a27[260]]})[_0x6a27[77]](function(_0xaf4fx4a){if(!_0xaf4fx4a){throw  new Error(util[_0x6a27[76]](_0x6a27[258],_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[120]]))};return _0xaf4fx4a[_0x6a27[127]]({abandon:true,leaveAt:moment()[_0x6a27[76]](_0x6a27[259])})})[_0x6a27[77]](function(){return _0xaf4fx26[_0x6a27[39]](200)[_0x6a27[114]]({})})[_0x6a27[40]](function(_0xaf4fx27){logger[_0x6a27[37]](_0x6a27[257],_0xaf4fx27[_0x6a27[36]]);return _0xaf4fx26[_0x6a27[39]](500)[_0x6a27[114]]({message:_0xaf4fx27[_0x6a27[36]]})})}};return _0xaf4fx26[_0x6a27[39]](200)[_0x6a27[114]]({})};exports[_0x6a27[261]]= function(_0xaf4fx25,_0xaf4fx26){if(!_0xaf4fx25[_0x6a27[103]][_0x6a27[97]]){_0xaf4fx25[_0x6a27[103]][_0x6a27[97]]= {}};if(!_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx25[_0x6a27[46]][_0x6a27[45]]]){_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx25[_0x6a27[46]][_0x6a27[45]]]= {}};var _0xaf4fx2e=_0xaf4fx25[_0x6a27[46]][_0x6a27[45]];var _0xaf4fx4b={};var _0xaf4fx4c=[];return ChatWebsite[_0x6a27[78]]({where:{id:_0xaf4fx2e},attributes:[_0x6a27[45]]})[_0x6a27[77]](function(_0xaf4fx3c){if(!_0xaf4fx3c){logger[_0x6a27[37]](_0x6a27[248],_0xaf4fx25[_0x6a27[46]][_0x6a27[45]]);throw  new Error(_0x6a27[248],_0xaf4fx25[_0x6a27[46]][_0x6a27[45]])};return _0xaf4fx3c[_0x6a27[278]]({attributes:[_0x6a27[45],_0x6a27[268],_0x6a27[276]],include:[{model:ChatQueue,attributes:[_0x6a27[45],_0x6a27[106]],include:[{model:Agent,attributes:[_0x6a27[45],_0x6a27[106]]}]},{model:Agent,attributes:[_0x6a27[45],_0x6a27[106]]},{model:Interval,attributes:[_0x6a27[276]],include:[{model:Interval,as:_0x6a27[277],attributes:[_0x6a27[276]]}]}]})})[_0x6a27[77]](function(_0xaf4fx4f){_[_0x6a27[225]](_0xaf4fx4f,function(_0xaf4fx50){if(checkAppInterval(_0xaf4fx50)){if(_0xaf4fx50[_0x6a27[268]]=== _0x6a27[269]){if(_0xaf4fx50[_0x6a27[28]][_0x6a27[88]](_0x6a27[270])&& _0xaf4fx50[_0x6a27[28]][_0x6a27[270]][_0x6a27[117]]> 0){_0xaf4fx4c= _[_0x6a27[273]](_[_0x6a27[272]](_0xaf4fx4c,_[_0x6a27[271]](_0xaf4fx50[_0x6a27[28]].Users,_0x6a27[45])))}}else {if(_0xaf4fx50[_0x6a27[268]]=== _0x6a27[274]){_0xaf4fx4c[_0x6a27[187]](_0xaf4fx50[_0x6a27[19]][_0x6a27[45]]);_0xaf4fx4c= _[_0x6a27[273]](_0xaf4fx4c)}}}});return Agent[_0x6a27[275]]({where:{online:true,id:{$in:_0xaf4fx4c}},attributes:[_0x6a27[45]]})})[_0x6a27[77]](function(_0xaf4fx4e){if(_0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[265]]){_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[265]]= _0xaf4fx25[_0x6a27[89]][_0x6a27[110]][_0x6a27[265]]=== _0x6a27[51]?true:false};_0xaf4fx4b= {success:true,has_session_saf:null,signed_up:_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[102]]?true:false,fullname:_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[107]]|| _0x6a27[188],email:_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[108]]|| _0x6a27[188],avatar:_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[162]]|| _0x6a27[188],open_state:_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[265]]|| _0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[102]]?true:false,online:_0xaf4fx4e[_0x6a27[266]]?true:false,is_unserved:false,room_id:0};if(_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[120]]){return ChatRoom[_0x6a27[78]]({where:{ChatVisitorId:_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[120]],status:_0x6a27[267],token:{$ne:_0x6a27[188]}},attributes:[_0x6a27[45]]})};return})[_0x6a27[77]](function(_0xaf4fx35){if(_0xaf4fx35){_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[102]]= _0xaf4fx35[_0x6a27[45]];_0xaf4fx4b[_0x6a27[102]]= _0xaf4fx35[_0x6a27[45]];_0xaf4fx4b[_0x6a27[264]]= true}else {_0xaf4fx4b[_0x6a27[264]]= false};if(_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[120]]){return ChatVisitor[_0x6a27[78]]({where:{id:_0xaf4fx25[_0x6a27[103]][_0x6a27[97]][_0xaf4fx2e][_0x6a27[120]],status:_0x6a27[172]},attributes:[_0x6a27[45]]})};return})[_0x6a27[77]](function(_0xaf4fx4d){if(_0xaf4fx4d){_0xaf4fx4b[_0x6a27[263]]= true};return _0xaf4fx26[_0x6a27[39]](200)[_0x6a27[114]](_0xaf4fx4b)})[_0x6a27[40]](function(_0xaf4fx27){logger[_0x6a27[37]](_0x6a27[262],_0xaf4fx27);return _0xaf4fx26[_0x6a27[39]](500)[_0x6a27[114]]({})})};function checkAppInterval(_0xaf4fx50){var _0xaf4fx52=true;if(_0xaf4fx50[_0x6a27[33]]){for(var _0xaf4fx53=0;_0xaf4fx53< _0xaf4fx50[_0x6a27[33]][_0x6a27[277]][_0x6a27[117]];_0xaf4fx53++){if(Util[_0x6a27[279]](splitInterval(_0xaf4fx50[_0x6a27[33]][_0x6a27[277]][_0xaf4fx53][_0x6a27[276]]))){break}else {_0xaf4fx52= false}}}else {if(!Util[_0x6a27[279]](splitInterval(_0xaf4fx50[_0x6a27[276]]))){_0xaf4fx52= false}};return _0xaf4fx52}function splitInterval(_0xaf4fx55){var _0xaf4fx56={};var _0xaf4fx57=_0xaf4fx55[_0x6a27[280]](_0x6a27[156]);var _0xaf4fx58;_0xaf4fx57[_0x6a27[225]](function(_0xaf4fx48,_0xaf4fx59){switch(_0xaf4fx59){case 0:if(_0xaf4fx48!== _0x6a27[213]){_0xaf4fx58= _0xaf4fx48[_0x6a27[280]](_0x6a27[281]);_0xaf4fx56[_0x6a27[282]]= moment(_0xaf4fx58[0],_0x6a27[283]);_0xaf4fx56[_0x6a27[284]]= moment(_0xaf4fx58[1],_0x6a27[283])}else {_0xaf4fx56[_0x6a27[282]]= null;_0xaf4fx56[_0x6a27[284]]= null};break;case 1:if(_0xaf4fx48!== _0x6a27[213]){_0xaf4fx58= _0xaf4fx48[_0x6a27[280]](_0x6a27[281]);_0xaf4fx56[_0x6a27[285]]= weekDaysCollection[_0xaf4fx58[0]];_0xaf4fx56[_0x6a27[286]]= _0xaf4fx58[1]?weekDaysCollection[_0xaf4fx58[1]]:null}else {_0xaf4fx56[_0x6a27[285]]= null;_0xaf4fx56[_0x6a27[286]]= null};break;case 2:if(_0xaf4fx48!== _0x6a27[213]){_0xaf4fx58= _0xaf4fx48[_0x6a27[280]](_0x6a27[281]);_0xaf4fx56[_0x6a27[287]]= _0xaf4fx58[0];_0xaf4fx56[_0x6a27[288]]= _0xaf4fx58[1]?_0xaf4fx58[1]:null}else {_0xaf4fx56[_0x6a27[287]]= null;_0xaf4fx56[_0x6a27[288]]= null};break;case 3:if(_0xaf4fx48!== _0x6a27[213]){_0xaf4fx58= _0xaf4fx48[_0x6a27[280]](_0x6a27[281]);_0xaf4fx56[_0x6a27[289]]= monthsCollection[_0xaf4fx58[0]];_0xaf4fx56[_0x6a27[290]]= _0xaf4fx58[1]?monthsCollection[_0xaf4fx58[1]]:null}else {_0xaf4fx56[_0x6a27[289]]= null;_0xaf4fx56[_0x6a27[290]]= null};break;default:}});return _0xaf4fx56}
\ No newline at end of file