1 var _0x9d17=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x6D\x65\x74\x72\x69\x63\x2E\x65\x76\x65\x6E\x74\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x6D\x65\x74\x72\x69\x63\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x6D\x65\x74\x72\x69\x63\x3A\x73\x61\x76\x65","\x6D\x65\x74\x72\x69\x63\x3A\x75\x70\x64\x61\x74\x65","\x6D\x65\x74\x72\x69\x63\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x6D\x65\x74\x72\x69\x63","\x69\x64","\x75\x70\x64\x61\x74\x65"];_0x9d17[0];const MetricEvents=require(_0x9d17[1]);const ReportField=require(_0x9d17[3])[_0x9d17[2]];var events=[_0x9d17[4],_0x9d17[5]];exports[_0x9d17[6]]= function(_0x460cx4){for(var _0x460cx5=0,_0x460cx6=events[_0x9d17[7]];_0x460cx5< _0x460cx6;_0x460cx5++){var _0x460cx7=events[_0x460cx5];var _0x460cx8=createListener(_0x9d17[8]+ _0x460cx7,_0x460cx4);MetricEvents[_0x9d17[9]](_0x460cx7,_0x460cx8);_0x460cx4[_0x9d17[9]](_0x9d17[10],removeListener(_0x460cx7,_0x460cx8))}};function createListener(_0x460cx7,_0x460cx4){return function(_0x460cxa){switch(_0x460cx7){case _0x9d17[12]:_0x460cx4[_0x9d17[11]](_0x460cx7,_0x460cxa);break;case _0x9d17[13]:updateFields(_0x460cxa);break;case _0x9d17[14]:_0x460cx4[_0x9d17[11]](_0x460cx7,_0x460cxa);break;default:}}}function removeListener(_0x460cx7,_0x460cx8){return function(){MetricEvents[_0x9d17[15]](_0x460cx7,_0x460cx8)}}function updateFields(_0x460cxa){return ReportField[_0x9d17[20]]({field:_0x460cxa[_0x9d17[18]]},{where:{MetricId:_0x460cxa[_0x9d17[19]]}})[_0x9d17[17]](function(_0x460cxd){console[_0x9d17[16]](_0x460cxd)})}