Built motion from commit b322525.|0.0.112
[motion.git] / server / api / interval / interval.controller.js
index 5d97739..568390c 100644 (file)
@@ -1 +1 @@
-var _0xc2a5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x6F\x72\x64\x65\x72","\x25\x73\x20\x25\x73","\x73\x6F\x72\x74\x5F\x62\x79","\x73\x6F\x72\x74\x5F\x6F\x72\x64\x65\x72","\x41\x53\x43","\x66\x6F\x72\x6D\x61\x74","\x24\x6F\x72","\x77\x68\x65\x72\x65","\x25","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x24","\x24\x6C\x69\x6B\x65","\x66\x6F\x72\x49\x6E","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x41\x6C\x6C","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x69\x6E\x74\x65\x72\x76\x61\x6C\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65","\x46\x69\x6E\x64\x69\x6E\x67\x20\x61\x70\x70\x20\x72\x6F\x77\x2E\x2E\x2E\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x53\x55\x42\x49\x4E\x54\x45\x52\x56\x41\x4C","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x49\x4E\x54\x45\x52\x56\x41\x4C","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x4D\x45\x53\x53\x41\x47\x45\x5F\x49\x4E\x54\x45\x52\x56\x41\x4C\x5F\x52\x4F\x55\x54\x45\x5F\x41\x53\x53\x4F\x43\x49\x41\x54\x45\x44","\x67\x65\x74\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73"];_0xc2a5[0];var _=require(_0xc2a5[1]);var Interval=require(_0xc2a5[3])[_0xc2a5[2]];var VoiceExtension=require(_0xc2a5[3])[_0xc2a5[4]];var sequelize=require(_0xc2a5[3])[_0xc2a5[5]];var util=require(_0xc2a5[6]);exports[_0xc2a5[7]]=function(_0xfd3bx6,_0xfd3bx7){var _0xfd3bx8=[_0xc2a5[8]];var _0xfd3bx9=_0xfd3bx6[_0xc2a5[10]][_0xc2a5[9]]?parseInt(_0xfd3bx6[_0xc2a5[10]][_0xc2a5[9]],10):100;var _0xfd3bxa=_0xfd3bx6[_0xc2a5[10]][_0xc2a5[11]]?parseInt(_0xfd3bx6[_0xc2a5[10]][_0xc2a5[11]],10):0;var _0xfd3bxb={where:{IntervalId:null},limit:_0xfd3bx9,offset:_0xfd3bxa*_0xfd3bx9};_[_0xc2a5[25]](_0xfd3bx6[_0xc2a5[10]],function(_0xfd3bxc,_0xfd3bxd){switch(_0xfd3bxd){case _0xc2a5[9]:;case _0xc2a5[11]:break ;;case _0xc2a5[14]:_0xfd3bxb[_0xc2a5[12]]=util[_0xc2a5[17]](_0xc2a5[13],_0xfd3bx6[_0xc2a5[10]][_0xc2a5[14]],_0xfd3bx6[_0xc2a5[10]][_0xc2a5[15]]||_0xc2a5[16])||null;break ;;case _0xc2a5[15]:break ;;case _0xc2a5[23]:_0xfd3bxb[_0xc2a5[19]][_0xc2a5[18]]=[];_0xfd3bx8[_0xc2a5[22]](function(_0xfd3bxe){var _0xfd3bxf={};_0xfd3bxf[_0xfd3bxe]={$like:_0xc2a5[20]+_0xfd3bxc+_0xc2a5[20]};_0xfd3bxb[_0xc2a5[19]][_0xc2a5[18]][_0xc2a5[21]](_0xfd3bxf);});break ;;default:_0xfd3bxb[_0xc2a5[19]][_0xfd3bxd]={$like:{}};_0xfd3bxb[_0xc2a5[19]][_0xfd3bxd][_0xc2a5[24]]=_0xc2a5[20]+_0xfd3bxc+_0xc2a5[20];;}});Interval[_0xc2a5[30]](_0xfd3bxb)[_0xc2a5[29]](function(_0xfd3bx11){return _0xfd3bx7[_0xc2a5[28]](200)[_0xc2a5[27]](_0xfd3bx11)})[_0xc2a5[26]](function(_0xfd3bx10){return handleError(_0xfd3bx7,_0xfd3bx10)});};exports[_0xc2a5[31]]=function(_0xfd3bx6,_0xfd3bx7){Interval[_0xc2a5[32]]()[_0xc2a5[29]](function(_0xfd3bx11){return _0xfd3bx7[_0xc2a5[28]](200)[_0xc2a5[27]](_0xfd3bx11)})[_0xc2a5[26]](function(_0xfd3bx10){return handleError(_0xfd3bx7,_0xfd3bx10)})};exports[_0xc2a5[33]]=function(_0xfd3bx6,_0xfd3bx7){Interval[_0xc2a5[37]](_0xfd3bx6[_0xc2a5[36]][_0xc2a5[35]],{include:[{all:true}]})[_0xc2a5[29]](function(_0xfd3bx12){if(!_0xfd3bx12){return _0xfd3bx7[_0xc2a5[34]](404)};return _0xfd3bx7[_0xc2a5[27]](_0xfd3bx12);})[_0xc2a5[26]](function(_0xfd3bx10){return handleError(_0xfd3bx7,_0xfd3bx10)})};exports[_0xc2a5[38]]=function(_0xfd3bx6,_0xfd3bx7){var _0xfd3bx13={name:_0xfd3bx6[_0xc2a5[39]][_0xc2a5[8]],IntervalId:_0xfd3bx6[_0xc2a5[39]][_0xc2a5[40]]?_0xfd3bx6[_0xc2a5[39]][_0xc2a5[40]]:null};if(_0xfd3bx6[_0xc2a5[39]][_0xc2a5[35]]){_0xfd3bx13[_0xc2a5[35]]={$ne:_0xfd3bx6[_0xc2a5[39]][_0xc2a5[35]]}};console[_0xc2a5[41]](_0xfd3bx6[_0xc2a5[39]]);Interval[_0xc2a5[32]]({where:_0xfd3bx13})[_0xc2a5[29]](function(_0xfd3bx11){if(!_0xfd3bx11){return _0xfd3bx7[_0xc2a5[34]](404)};return _0xfd3bx7[_0xc2a5[27]](_0xfd3bx11);})[_0xc2a5[26]](function(_0xfd3bx10){return handleError(_0xfd3bx7,_0xfd3bx10)});};exports[_0xc2a5[42]]=function(_0xfd3bx6,_0xfd3bx7){Interval[_0xc2a5[32]]({where:{name:_0xfd3bx6[_0xc2a5[39]][_0xc2a5[8]],IntervalId:_0xfd3bx6[_0xc2a5[39]][_0xc2a5[40]]?_0xfd3bx6[_0xc2a5[39]][_0xc2a5[40]]:null}})[_0xc2a5[29]](function(_0xfd3bx14){console[_0xc2a5[41]](_0xfd3bx14);console[_0xc2a5[41]](_0xc2a5[43]);if(!_0xfd3bx14){return _0xfd3bx7[_0xc2a5[34]](404)};if(_0xfd3bx14[_0xc2a5[44]]>0){return _0xfd3bx7[_0xc2a5[28]](500)[_0xc2a5[27]]({message:_0xfd3bx6[_0xc2a5[39]][_0xc2a5[40]]?_0xc2a5[45]:_0xc2a5[46]})};Interval[_0xc2a5[42]](_0xfd3bx6[_0xc2a5[39]])[_0xc2a5[29]](function(_0xfd3bx12){return _0xfd3bx7[_0xc2a5[28]](201)[_0xc2a5[27]](_0xfd3bx12)})[_0xc2a5[26]](function(_0xfd3bx10){return handleError(_0xfd3bx7,_0xfd3bx10)});})[_0xc2a5[26]](function(_0xfd3bx10){return handleError(_0xfd3bx7,_0xfd3bx10)})};exports[_0xc2a5[47]]=function(_0xfd3bx6,_0xfd3bx7){Interval[_0xc2a5[32]]({where:{name:_0xfd3bx6[_0xc2a5[39]][_0xc2a5[8]],IntervalId:_0xfd3bx6[_0xc2a5[39]][_0xc2a5[40]]?_0xfd3bx6[_0xc2a5[39]][_0xc2a5[40]]:null,id:{$ne:_0xfd3bx6[_0xc2a5[39]][_0xc2a5[35]]}}})[_0xc2a5[29]](function(_0xfd3bx14){console[_0xc2a5[41]](_0xfd3bx14);console[_0xc2a5[41]](_0xc2a5[43]);if(!_0xfd3bx14){return _0xfd3bx7[_0xc2a5[34]](404)};if(_0xfd3bx14[_0xc2a5[44]]>0){return _0xfd3bx7[_0xc2a5[28]](500)[_0xc2a5[27]]({message:_0xfd3bx6[_0xc2a5[39]][_0xc2a5[40]]?_0xc2a5[45]:_0xc2a5[46]})};if(_0xfd3bx6[_0xc2a5[39]][_0xc2a5[35]]){delete _0xfd3bx6[_0xc2a5[39]][_0xc2a5[35]]};Interval[_0xc2a5[51]]({where:{id:_0xfd3bx6[_0xc2a5[36]][_0xc2a5[35]]}})[_0xc2a5[29]](function(_0xfd3bx12){if(!_0xfd3bx12){return _0xfd3bx7[_0xc2a5[34]](404)};var _0xfd3bx15=_[_0xc2a5[48]](_0xfd3bx12,_0xfd3bx6[_0xc2a5[39]]);return sequelize[_0xc2a5[50]](function(_0xfd3bx16){return _0xfd3bx15[_0xc2a5[49]]({transaction:_0xfd3bx16})[_0xc2a5[29]](function(_0xfd3bx12){VoiceExtension[_0xc2a5[47]]({interval:_0xfd3bx12[_0xc2a5[8]]},{where:{IntervalId:_0xfd3bx12[_0xc2a5[35]]}},{transaction:_0xfd3bx16})})})[_0xc2a5[29]](function(){return _0xfd3bx7[_0xc2a5[28]](200)[_0xc2a5[27]](_0xfd3bx12)})[_0xc2a5[26]](function(_0xfd3bx10){return handleError(_0xfd3bx7,_0xfd3bx10)});})[_0xc2a5[26]](function(_0xfd3bx10){return handleError(_0xfd3bx7,_0xfd3bx10)});})[_0xc2a5[26]](function(_0xfd3bx10){return handleError(_0xfd3bx7,_0xfd3bx10)})};exports[_0xc2a5[52]]=function(_0xfd3bx6,_0xfd3bx7){Interval[_0xc2a5[37]](_0xfd3bx6[_0xc2a5[36]][_0xc2a5[35]])[_0xc2a5[29]](function(_0xfd3bx12){if(!_0xfd3bx12){return _0xfd3bx7[_0xc2a5[34]](404)};_0xfd3bx12[_0xc2a5[54]]({where:{isApp:true}})[_0xc2a5[29]](function(_0xfd3bx17){console[_0xc2a5[41]](_0xfd3bx17[_0xc2a5[44]]);if(_0xfd3bx17[_0xc2a5[44]]>0){return _0xfd3bx7[_0xc2a5[28]](500)[_0xc2a5[27]]({message:_0xc2a5[53]})};_0xfd3bx12[_0xc2a5[52]]()[_0xc2a5[29]](function(){return _0xfd3bx7[_0xc2a5[34]](204)})[_0xc2a5[26]](function(_0xfd3bx10){return handleError(_0xfd3bx7,_0xfd3bx10)});})[_0xc2a5[26]](function(_0xfd3bx10){return handleError(_0xfd3bx7,_0xfd3bx10)});})[_0xc2a5[26]](function(_0xfd3bx10){return handleError(_0xfd3bx7,_0xfd3bx10)})};exports[_0xc2a5[55]]=function(_0xfd3bx6,_0xfd3bx7){var _0xfd3bx18=false;Interval[_0xc2a5[32]]({where:{id:_0xfd3bx6[_0xc2a5[10]][_0xc2a5[35]]},include:[{all:true}]})[_0xc2a5[29]](function(_0xfd3bx11){if(!_0xfd3bx11){return _0xfd3bx7[_0xc2a5[34]](404)};_0xfd3bx11[_0xc2a5[22]](function(_0xfd3bx19){if(_0xfd3bx19[_0xc2a5[56]][_0xc2a5[44]]>0){_0xfd3bx18=true}});if(_0xfd3bx18){return _0xfd3bx7[_0xc2a5[28]](500)[_0xc2a5[27]]({message:_0xc2a5[53]})};Interval[_0xc2a5[52]]({where:{id:_0xfd3bx6[_0xc2a5[10]][_0xc2a5[35]]},individualHooks:true})[_0xc2a5[29]](function(){return _0xfd3bx7[_0xc2a5[34]](204)})[_0xc2a5[26]](function(_0xfd3bx10){return handleError(_0xfd3bx7,_0xfd3bx10)});})[_0xc2a5[26]](function(_0xfd3bx10){return handleError(_0xfd3bx7,_0xfd3bx10)});};function handleError(_0xfd3bx7,_0xfd3bx10){return _0xfd3bx7[_0xc2a5[28]](500)[_0xc2a5[27]](_0xfd3bx10)}
\ No newline at end of file
+var _0x8cbf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x73\x75\x62\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x6C\x6F\x67","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x61\x6C\x6C","\x61\x72\x65\x20\x74\x68\x65\x72\x65\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x6C\x65\x6E\x67\x74\x68","\x64\x65\x73\x74\x72\x6F\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x79\x65\x73\x20\x74\x68\x65\x72\x65\x20\x61\x72\x65","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x65\x73\x73\x61\x67\x65","\x54\x68\x65\x20\x49\x6E\x74\x65\x72\x76\x61\x6C\x20\x69\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x77\x69\x74\x68\x20\x6F\x6E\x65\x20\x6F\x72\x20\x6D\x6F\x72\x65\x20\x72\x6F\x75\x74\x65\x73\x2C\x20\x64\x65\x6C\x65\x74\x65\x20\x74\x68\x65\x6D\x20\x66\x69\x72\x73\x74","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x49\x4E\x54\x45\x52\x56\x41\x4C\x5F\x52\x4F\x55\x54\x45\x5F\x41\x53\x53\x4F\x43\x49\x41\x54\x45\x44","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x8cbf[0];var _=require(_0x8cbf[1]);var Interval=require(_0x8cbf[3])[_0x8cbf[2]];var VoiceExtension=require(_0x8cbf[3])[_0x8cbf[4]];var sequelize=require(_0x8cbf[3])[_0x8cbf[5]];var Util=require(_0x8cbf[6]);exports[_0x8cbf[7]]=function(_0x2b4fx6,_0x2b4fx7,_0x2b4fx8){return Interval[_0x8cbf[17]](_0x8cbf[15],_0x8cbf[16])[_0x8cbf[14]](Util[_0x8cbf[13]](_0x2b4fx6[_0x8cbf[12]]))[_0x8cbf[11]](function(_0x2b4fxa){_0x2b4fx7[_0x8cbf[10]](200)[_0x8cbf[9]](_0x2b4fxa)})[_0x8cbf[8]](function(_0x2b4fx9){return handleError(_0x2b4fx7,_0x2b4fx9)})};exports[_0x8cbf[18]]=function(_0x2b4fx6,_0x2b4fx7){return Interval[_0x8cbf[17]](_0x8cbf[16])[_0x8cbf[22]](_0x2b4fx6[_0x8cbf[21]][_0x8cbf[20]])[_0x8cbf[11]](function(_0x2b4fxb){if(!_0x2b4fxb){return _0x2b4fx7[_0x8cbf[19]](404)};return _0x2b4fx7[_0x8cbf[9]](_0x2b4fxb)})[_0x8cbf[8]](function(_0x2b4fx9){return handleError(_0x2b4fx7,_0x2b4fx9)})};exports[_0x8cbf[23]]=function(_0x2b4fx6,_0x2b4fx7){return Interval[_0x8cbf[17]](_0x8cbf[16])[_0x8cbf[23]](_0x2b4fx6[_0x8cbf[25]])[_0x8cbf[11]](function(_0x2b4fxb){return _0x2b4fx7[_0x8cbf[10]](201)[_0x8cbf[9]](_0x2b4fxb)})[_0x8cbf[8]](function(_0x2b4fx9){console[_0x8cbf[24]](_0x2b4fx9);return handleError(_0x2b4fx7,_0x2b4fx9)})};exports[_0x8cbf[26]]=function(_0x2b4fx6,_0x2b4fx7){return sequelize[_0x8cbf[32]](function(_0x2b4fxc){if(_0x2b4fx6[_0x8cbf[25]][_0x8cbf[20]]){delete _0x2b4fx6[_0x8cbf[25]][_0x8cbf[20]]};return Interval[_0x8cbf[26]](_0x2b4fx6[_0x8cbf[25]],{where:{id:_0x2b4fx6[_0x8cbf[21]][_0x8cbf[20]]},individualHooks:true,transaction:_0x2b4fxc})[_0x8cbf[11]](function(){if(_0x2b4fx6[_0x8cbf[25]][_0x8cbf[29]]){return Interval[_0x8cbf[31]]({where:{IntervalId:_0x2b4fx6[_0x8cbf[21]][_0x8cbf[20]]},transaction:_0x2b4fxc})}})[_0x8cbf[11]](function(){console[_0x8cbf[24]](_0x8cbf[28]);if(_0x2b4fx6[_0x8cbf[25]][_0x8cbf[29]]&&_0x2b4fx6[_0x8cbf[25]][_0x8cbf[29]][_0x8cbf[30]]){return _0x2b4fx6[_0x8cbf[21]][_0x8cbf[20]]}})[_0x8cbf[11]](bulkCreateSubIntervals(_0x2b4fx6[_0x8cbf[25]].SubIntervals,_0x2b4fxc))[_0x8cbf[27]]()})[_0x8cbf[11]](function(){return _0x2b4fx7[_0x8cbf[19]](200)})[_0x8cbf[8]](function(_0x2b4fx9){console[_0x8cbf[24]](_0x2b4fx9);return handleError(_0x2b4fx7,_0x2b4fx9)})};function bulkCreateSubIntervals(_0x2b4fxe,_0x2b4fxc){return function(_0x2b4fxf){if(_0x2b4fxf){console[_0x8cbf[24]](_0x8cbf[33]);var _0x2b4fx10=[];_0x2b4fxe[_0x8cbf[36]](function(_0x2b4fx11){delete _0x2b4fx11[_0x8cbf[20]];_0x2b4fx11[_0x8cbf[34]]=_0x2b4fxf;_0x2b4fx10[_0x8cbf[35]](Interval[_0x8cbf[23]](_0x2b4fx11,{transaction:_0x2b4fxc}))});return _0x2b4fx10}else {return []}}}exports[_0x8cbf[31]]=function(_0x2b4fx6,_0x2b4fx7){return sequelize[_0x8cbf[32]](function(_0x2b4fxc){return Interval[_0x8cbf[31]]({where:{id:_0x2b4fx6[_0x8cbf[21]][_0x8cbf[20]]},individualHooks:true,transaction:_0x2b4fxc})})[_0x8cbf[11]](function(){return _0x2b4fx7[_0x8cbf[19]](204)})[_0x8cbf[8]](sequelize.ForeignKeyConstraintError,function(_0x2b4fx9){_0x2b4fx9[_0x8cbf[37]]=_0x8cbf[38];_0x2b4fx9[_0x8cbf[39]]=_0x8cbf[40];return handleError(_0x2b4fx7,_0x2b4fx9)})[_0x8cbf[8]](function(_0x2b4fx9){return handleError(_0x2b4fx7,_0x2b4fx9)})};exports[_0x8cbf[41]]=function(_0x2b4fx6,_0x2b4fx7){return sequelize[_0x8cbf[32]](function(_0x2b4fxc){return Interval[_0x8cbf[31]]({where:{id:_0x2b4fx6[_0x8cbf[12]][_0x8cbf[42]]},individualHooks:true,transaction:_0x2b4fxc})})[_0x8cbf[11]](function(){return _0x2b4fx7[_0x8cbf[19]](204)})[_0x8cbf[8]](sequelize.ForeignKeyConstraintError,function(_0x2b4fx9){_0x2b4fx9[_0x8cbf[37]]=_0x8cbf[38];_0x2b4fx9[_0x8cbf[39]]=_0x8cbf[40];return handleError(_0x2b4fx7,_0x2b4fx9)})[_0x8cbf[8]](function(_0x2b4fx9){return handleError(_0x2b4fx7,_0x2b4fx9)})};function handleError(_0x2b4fx7,_0x2b4fx9){return _0x2b4fx7[_0x8cbf[10]](500)[_0x8cbf[9]](_0x2b4fx9)}
\ No newline at end of file