da2667ef7a406fc7f5e6211d318e1faacfdef6e7
[motion.git] / server / api / zendesk_account / zendesk_account.socket.js
1 var _0x3e59=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x5A\x65\x6E\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3e59[0];var ZendeskAccount=require(_0x3e59[2])[_0x3e59[1]];exports[_0x3e59[3]]=function(_0xa28ex2){ZendeskAccount[_0x3e59[4]](function(_0xa28ex3){onSave(_0xa28ex2,_0xa28ex3)});ZendeskAccount[_0x3e59[5]](function(_0xa28ex3){onRemove(_0xa28ex2,_0xa28ex3)})};function onSave(_0xa28ex2,_0xa28ex3,_0xa28ex5){_0xa28ex2[_0x3e59[7]](_0x3e59[6],_0xa28ex3)}function onRemove(_0xa28ex2,_0xa28ex3,_0xa28ex5){_0xa28ex2[_0x3e59[7]](_0x3e59[8],_0xa28ex3)}