Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / analyticTreeReport / analyticTreeReport.controller.js
index 2fc5f30..9738b30 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa9e7=['query','length','nolimit','order','where','filters','pick','filter','includeAll','include','findAll','rows','catch','params','keys','find','create','body','update','eml-format','rimraf','zip-dir','fast-json-patch','moment','mustache','util','path','fs-extra','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','end','status','json','offset','undefined','limit','count','set','Content-Range','apply','reject','save','then','destroy','error','stack','name','send','index','AnalyticTreeReport','rawAttributes','fieldName','type','key','model','map','intersection','attributes','fields'];(function(_0x53aa46,_0x597524){var _0x5f37f5=function(_0x59b095){while(--_0x59b095){_0x53aa46['push'](_0x53aa46['shift']());}};_0x5f37f5(++_0x597524);}(_0xa9e7,0x185));var _0x7a9e=function(_0x3ff95a,_0x2aeb82){_0x3ff95a=_0x3ff95a-0x0;var _0x172fd5=_0xa9e7[_0x3ff95a];return _0x172fd5;};'use strict';var emlformat=require(_0x7a9e('0x0'));var rimraf=require(_0x7a9e('0x1'));var zipdir=require(_0x7a9e('0x2'));var jsonpatch=require(_0x7a9e('0x3'));var rp=require('request-promise');var moment=require(_0x7a9e('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x7a9e('0x5'));var util=require(_0x7a9e('0x6'));var path=require(_0x7a9e('0x7'));var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x7a9e('0x8'));var _=require(_0x7a9e('0x9'));var squel=require(_0x7a9e('0xa'));var crypto=require(_0x7a9e('0xb'));var jsforce=require(_0x7a9e('0xc'));var deskjs=require(_0x7a9e('0xd'));var toCsv=require('to-csv');var querystring=require(_0x7a9e('0xe'));var Papa=require(_0x7a9e('0xf'));var Redis=require('ioredis');var authService=require(_0x7a9e('0x10'));var qs=require(_0x7a9e('0x11'));var as=require(_0x7a9e('0x12'));var hardwareService=require(_0x7a9e('0x13'));var logger=require(_0x7a9e('0x14'))(_0x7a9e('0x15'));var utils=require('../../config/utils');var config=require(_0x7a9e('0x16'));var licenseUtil=require(_0x7a9e('0x17'));var db=require(_0x7a9e('0x18'))['db'];function respondWithStatusCode(_0xd88a5a,_0x35a1fb){_0x35a1fb=_0x35a1fb||0xcc;return function(_0x575248){if(_0x575248){return _0xd88a5a[_0x7a9e('0x19')](_0x35a1fb);}return _0xd88a5a['status'](_0x35a1fb)[_0x7a9e('0x1a')]();};}function respondWithResult(_0x19d33e,_0x5039e2){_0x5039e2=_0x5039e2||0xc8;return function(_0x5b7f91){if(_0x5b7f91){return _0x19d33e[_0x7a9e('0x1b')](_0x5039e2)[_0x7a9e('0x1c')](_0x5b7f91);}};}function respondWithFilteredResult(_0xcfc2c3,_0x122ba8){return function(_0x496078){if(_0x496078){var _0x35ca55=typeof _0x122ba8[_0x7a9e('0x1d')]===_0x7a9e('0x1e')&&typeof _0x122ba8[_0x7a9e('0x1f')]===_0x7a9e('0x1e');var _0x262b8f=_0x496078[_0x7a9e('0x20')];var _0xba9b1=_0x35ca55?0x0:_0x122ba8['offset'];var _0x483be8=_0x35ca55?_0x496078[_0x7a9e('0x20')]:_0x122ba8[_0x7a9e('0x1d')]+_0x122ba8[_0x7a9e('0x1f')];var _0x285383;if(_0x483be8>=_0x262b8f){_0x483be8=_0x262b8f;_0x285383=0xc8;}else{_0x285383=0xce;}_0xcfc2c3[_0x7a9e('0x1b')](_0x285383);return _0xcfc2c3[_0x7a9e('0x21')](_0x7a9e('0x22'),_0xba9b1+'-'+_0x483be8+'/'+_0x262b8f)['json'](_0x496078);}return null;};}function patchUpdates(_0x51aa59){return function(_0x2dad2f){try{jsonpatch[_0x7a9e('0x23')](_0x2dad2f,_0x51aa59,!![]);}catch(_0x252450){return BPromise[_0x7a9e('0x24')](_0x252450);}return _0x2dad2f[_0x7a9e('0x25')]();};}function saveUpdates(_0x58ebf7,_0x422506){return function(_0x5cd019){if(_0x5cd019){return _0x5cd019['update'](_0x58ebf7)[_0x7a9e('0x26')](function(_0x1c289c){return _0x1c289c;});}return null;};}function removeEntity(_0x34a89a,_0x2bbc51){return function(_0x23d40a){if(_0x23d40a){return _0x23d40a[_0x7a9e('0x27')]()[_0x7a9e('0x26')](function(){_0x34a89a['status'](0xcc)[_0x7a9e('0x1a')]();});}};}function handleEntityNotFound(_0x2aca80,_0x1744b3){return function(_0x274a04){if(!_0x274a04){_0x2aca80[_0x7a9e('0x19')](0x194);}return _0x274a04;};}function handleError(_0x102e66,_0x3bf0bd){_0x3bf0bd=_0x3bf0bd||0x1f4;return function(_0x53e2a6){logger[_0x7a9e('0x28')](_0x53e2a6[_0x7a9e('0x29')]);if(_0x53e2a6[_0x7a9e('0x2a')]){delete _0x53e2a6[_0x7a9e('0x2a')];}_0x102e66[_0x7a9e('0x1b')](_0x3bf0bd)[_0x7a9e('0x2b')](_0x53e2a6);};}exports[_0x7a9e('0x2c')]=function(_0x472094,_0x530d4d){var _0x281068={},_0x415d4c={},_0x258270={'count':0x0,'rows':[]};var _0x16a1ca=_['map'](db[_0x7a9e('0x2d')][_0x7a9e('0x2e')],function(_0x17ef91){return{'name':_0x17ef91[_0x7a9e('0x2f')],'type':_0x17ef91[_0x7a9e('0x30')][_0x7a9e('0x31')]};});_0x415d4c[_0x7a9e('0x32')]=_[_0x7a9e('0x33')](_0x16a1ca,_0x7a9e('0x2a'));_0x415d4c['query']=_['keys'](_0x472094['query']);_0x415d4c['filters']=_[_0x7a9e('0x34')](_0x415d4c[_0x7a9e('0x32')],_0x415d4c['query']);_0x281068[_0x7a9e('0x35')]=_[_0x7a9e('0x34')](_0x415d4c[_0x7a9e('0x32')],qs[_0x7a9e('0x36')](_0x472094[_0x7a9e('0x37')]['fields']));_0x281068['attributes']=_0x281068[_0x7a9e('0x35')][_0x7a9e('0x38')]?_0x281068[_0x7a9e('0x35')]:_0x415d4c['model'];if(!_0x472094[_0x7a9e('0x37')]['hasOwnProperty'](_0x7a9e('0x39'))){_0x281068['limit']=qs[_0x7a9e('0x1f')](_0x472094[_0x7a9e('0x37')][_0x7a9e('0x1f')]);_0x281068['offset']=qs[_0x7a9e('0x1d')](_0x472094['query'][_0x7a9e('0x1d')]);}_0x281068[_0x7a9e('0x3a')]=qs['sort'](_0x472094['query']['sort']);_0x281068[_0x7a9e('0x3b')]=qs[_0x7a9e('0x3c')](_[_0x7a9e('0x3d')](_0x472094[_0x7a9e('0x37')],_0x415d4c[_0x7a9e('0x3c')]),_0x16a1ca);if(_0x472094['query']['filter']){_0x281068[_0x7a9e('0x3b')]=_['merge'](_0x281068['where'],{'$or':_[_0x7a9e('0x33')](_0x16a1ca,function(_0x23df03){if(_0x23df03['type']!=='VIRTUAL'){var _0x17b49a={};_0x17b49a[_0x23df03[_0x7a9e('0x2a')]]={'$like':'%'+_0x472094['query'][_0x7a9e('0x3e')]+'%'};return _0x17b49a;}})});}_0x281068=_['merge']({},_0x281068,_0x472094['options']);var _0x564ab8={'where':_0x281068[_0x7a9e('0x3b')]};return db['AnalyticTreeReport']['count'](_0x564ab8)['then'](function(_0x179e0b){_0x258270[_0x7a9e('0x20')]=_0x179e0b;if(_0x472094[_0x7a9e('0x37')][_0x7a9e('0x3f')]){_0x281068[_0x7a9e('0x40')]=[{'all':!![]}];}return db[_0x7a9e('0x2d')][_0x7a9e('0x41')](_0x281068);})[_0x7a9e('0x26')](function(_0x488561){_0x258270[_0x7a9e('0x42')]=_0x488561;return _0x258270;})[_0x7a9e('0x26')](respondWithFilteredResult(_0x530d4d,_0x281068))[_0x7a9e('0x43')](handleError(_0x530d4d,null));};exports['show']=function(_0x12f378,_0x27cccd){var _0x529e35={'raw':!![],'where':{'id':_0x12f378[_0x7a9e('0x44')]['id']}},_0x34b3e8={};_0x34b3e8[_0x7a9e('0x32')]=_[_0x7a9e('0x45')](db['AnalyticTreeReport'][_0x7a9e('0x2e')]);_0x34b3e8[_0x7a9e('0x37')]=_[_0x7a9e('0x45')](_0x12f378[_0x7a9e('0x37')]);_0x34b3e8[_0x7a9e('0x3c')]=_[_0x7a9e('0x34')](_0x34b3e8[_0x7a9e('0x32')],_0x34b3e8[_0x7a9e('0x37')]);_0x529e35[_0x7a9e('0x35')]=_[_0x7a9e('0x34')](_0x34b3e8[_0x7a9e('0x32')],qs[_0x7a9e('0x36')](_0x12f378[_0x7a9e('0x37')]['fields']));_0x529e35[_0x7a9e('0x35')]=_0x529e35[_0x7a9e('0x35')][_0x7a9e('0x38')]?_0x529e35[_0x7a9e('0x35')]:_0x34b3e8['model'];if(_0x12f378[_0x7a9e('0x37')][_0x7a9e('0x3f')]){_0x529e35[_0x7a9e('0x40')]=[{'all':!![]}];}_0x529e35=_['merge']({},_0x529e35,_0x12f378['options']);return db['AnalyticTreeReport'][_0x7a9e('0x46')](_0x529e35)[_0x7a9e('0x26')](handleEntityNotFound(_0x27cccd,null))[_0x7a9e('0x26')](respondWithResult(_0x27cccd,null))[_0x7a9e('0x43')](handleError(_0x27cccd,null));};exports[_0x7a9e('0x47')]=function(_0x235e3,_0x2b5c32){return db['AnalyticTreeReport'][_0x7a9e('0x47')](_0x235e3[_0x7a9e('0x48')],{})[_0x7a9e('0x26')](respondWithResult(_0x2b5c32,0xc9))['catch'](handleError(_0x2b5c32,null));};exports[_0x7a9e('0x49')]=function(_0x2966a2,_0x3498e1){if(_0x2966a2[_0x7a9e('0x48')]['id']){delete _0x2966a2['body']['id'];}return db[_0x7a9e('0x2d')][_0x7a9e('0x46')]({'where':{'id':_0x2966a2[_0x7a9e('0x44')]['id']}})[_0x7a9e('0x26')](handleEntityNotFound(_0x3498e1,null))['then'](saveUpdates(_0x2966a2['body'],null))['then'](respondWithResult(_0x3498e1,null))['catch'](handleError(_0x3498e1,null));};exports[_0x7a9e('0x27')]=function(_0x1d6c20,_0x2ea9e0){return db[_0x7a9e('0x2d')]['find']({'where':{'id':_0x1d6c20[_0x7a9e('0x44')]['id']}})[_0x7a9e('0x26')](handleEntityNotFound(_0x2ea9e0,null))[_0x7a9e('0x26')](removeEntity(_0x2ea9e0,null))[_0x7a9e('0x43')](handleError(_0x2ea9e0,null));};
\ No newline at end of file
+var _0x17f7=['rawAttributes','fieldName','type','key','query','keys','intersection','attributes','model','fields','length','hasOwnProperty','nolimit','order','sort','where','filters','pick','filter','VIRTUAL','merge','options','include','findAll','rows','show','params','find','create','body','catch','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','util','path','ejs','fs-extra','squel','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/utils','../../config/license/util','../../mysqldb','sendStatus','status','end','limit','undefined','count','offset','Content-Range','json','apply','reject','update','then','destroy','error','stack','name','send','map','AnalyticTreeReport'];(function(_0x4b6cc8,_0x355e5b){var _0x5c4743=function(_0x68d0f6){while(--_0x68d0f6){_0x4b6cc8['push'](_0x4b6cc8['shift']());}};_0x5c4743(++_0x355e5b);}(_0x17f7,0xb3));var _0x717f=function(_0x10ffa7,_0x16f24a){_0x10ffa7=_0x10ffa7-0x0;var _0x2bd7a1=_0x17f7[_0x10ffa7];return _0x2bd7a1;};'use strict';var emlformat=require(_0x717f('0x0'));var rimraf=require(_0x717f('0x1'));var zipdir=require(_0x717f('0x2'));var jsonpatch=require(_0x717f('0x3'));var rp=require('request-promise');var moment=require(_0x717f('0x4'));var BPromise=require(_0x717f('0x5'));var Mustache=require('mustache');var util=require(_0x717f('0x6'));var path=require(_0x717f('0x7'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x717f('0x8'));var fs=require('fs');var fs_extra=require(_0x717f('0x9'));var _=require('lodash');var squel=require(_0x717f('0xa'));var crypto=require('crypto');var jsforce=require(_0x717f('0xb'));var deskjs=require(_0x717f('0xc'));var toCsv=require(_0x717f('0xd'));var querystring=require(_0x717f('0xe'));var Papa=require(_0x717f('0xf'));var Redis=require(_0x717f('0x10'));var authService=require(_0x717f('0x11'));var qs=require(_0x717f('0x12'));var as=require(_0x717f('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')('api');var utils=require(_0x717f('0x14'));var config=require('../../config/environment');var licenseUtil=require(_0x717f('0x15'));var db=require(_0x717f('0x16'))['db'];function respondWithStatusCode(_0x24a034,_0x1bd659){_0x1bd659=_0x1bd659||0xcc;return function(_0x395225){if(_0x395225){return _0x24a034[_0x717f('0x17')](_0x1bd659);}return _0x24a034[_0x717f('0x18')](_0x1bd659)[_0x717f('0x19')]();};}function respondWithResult(_0x3963ea,_0x1fd2d1){_0x1fd2d1=_0x1fd2d1||0xc8;return function(_0x244c8a){if(_0x244c8a){return _0x3963ea[_0x717f('0x18')](_0x1fd2d1)['json'](_0x244c8a);}};}function respondWithFilteredResult(_0x2925b8,_0xa9f875){return function(_0x4f79e1){if(_0x4f79e1){var _0x2509b4=typeof _0xa9f875['offset']==='undefined'&&typeof _0xa9f875[_0x717f('0x1a')]===_0x717f('0x1b');var _0x65dab1=_0x4f79e1[_0x717f('0x1c')];var _0x2dbdc5=_0x2509b4?0x0:_0xa9f875[_0x717f('0x1d')];var _0x3f0731=_0x2509b4?_0x4f79e1['count']:_0xa9f875[_0x717f('0x1d')]+_0xa9f875['limit'];var _0x4971dc;if(_0x3f0731>=_0x65dab1){_0x3f0731=_0x65dab1;_0x4971dc=0xc8;}else{_0x4971dc=0xce;}_0x2925b8[_0x717f('0x18')](_0x4971dc);return _0x2925b8['set'](_0x717f('0x1e'),_0x2dbdc5+'-'+_0x3f0731+'/'+_0x65dab1)[_0x717f('0x1f')](_0x4f79e1);}return null;};}function patchUpdates(_0x51e3ba){return function(_0x4f89f1){try{jsonpatch[_0x717f('0x20')](_0x4f89f1,_0x51e3ba,!![]);}catch(_0x2980ff){return BPromise[_0x717f('0x21')](_0x2980ff);}return _0x4f89f1['save']();};}function saveUpdates(_0x54dadd,_0x2c5e93){return function(_0x319fe1){if(_0x319fe1){return _0x319fe1[_0x717f('0x22')](_0x54dadd)[_0x717f('0x23')](function(_0xbecce){return _0xbecce;});}return null;};}function removeEntity(_0x492f55,_0x4727d5){return function(_0x36157f){if(_0x36157f){return _0x36157f[_0x717f('0x24')]()[_0x717f('0x23')](function(){_0x492f55[_0x717f('0x18')](0xcc)[_0x717f('0x19')]();});}};}function handleEntityNotFound(_0x504efc,_0x44676d){return function(_0x30a7f3){if(!_0x30a7f3){_0x504efc[_0x717f('0x17')](0x194);}return _0x30a7f3;};}function handleError(_0x305598,_0xe99596){_0xe99596=_0xe99596||0x1f4;return function(_0xba09d1){logger[_0x717f('0x25')](_0xba09d1[_0x717f('0x26')]);if(_0xba09d1[_0x717f('0x27')]){delete _0xba09d1[_0x717f('0x27')];}_0x305598[_0x717f('0x18')](_0xe99596)[_0x717f('0x28')](_0xba09d1);};}exports['index']=function(_0x56b91e,_0xbbc317){var _0x3ee693={},_0x96da61={},_0xfb12b5={'count':0x0,'rows':[]};var _0x2f455c=_[_0x717f('0x29')](db[_0x717f('0x2a')][_0x717f('0x2b')],function(_0x474e10){return{'name':_0x474e10[_0x717f('0x2c')],'type':_0x474e10[_0x717f('0x2d')][_0x717f('0x2e')]};});_0x96da61['model']=_[_0x717f('0x29')](_0x2f455c,_0x717f('0x27'));_0x96da61[_0x717f('0x2f')]=_[_0x717f('0x30')](_0x56b91e[_0x717f('0x2f')]);_0x96da61['filters']=_[_0x717f('0x31')](_0x96da61['model'],_0x96da61[_0x717f('0x2f')]);_0x3ee693[_0x717f('0x32')]=_['intersection'](_0x96da61[_0x717f('0x33')],qs['fields'](_0x56b91e[_0x717f('0x2f')][_0x717f('0x34')]));_0x3ee693[_0x717f('0x32')]=_0x3ee693[_0x717f('0x32')][_0x717f('0x35')]?_0x3ee693['attributes']:_0x96da61['model'];if(!_0x56b91e[_0x717f('0x2f')][_0x717f('0x36')](_0x717f('0x37'))){_0x3ee693[_0x717f('0x1a')]=qs[_0x717f('0x1a')](_0x56b91e['query']['limit']);_0x3ee693[_0x717f('0x1d')]=qs[_0x717f('0x1d')](_0x56b91e[_0x717f('0x2f')][_0x717f('0x1d')]);}_0x3ee693[_0x717f('0x38')]=qs['sort'](_0x56b91e['query'][_0x717f('0x39')]);_0x3ee693[_0x717f('0x3a')]=qs[_0x717f('0x3b')](_[_0x717f('0x3c')](_0x56b91e[_0x717f('0x2f')],_0x96da61[_0x717f('0x3b')]),_0x2f455c);if(_0x56b91e[_0x717f('0x2f')][_0x717f('0x3d')]){_0x3ee693[_0x717f('0x3a')]=_['merge'](_0x3ee693[_0x717f('0x3a')],{'$or':_[_0x717f('0x29')](_0x2f455c,function(_0x410533){if(_0x410533[_0x717f('0x2d')]!==_0x717f('0x3e')){var _0x11dab3={};_0x11dab3[_0x410533[_0x717f('0x27')]]={'$like':'%'+_0x56b91e[_0x717f('0x2f')][_0x717f('0x3d')]+'%'};return _0x11dab3;}})});}_0x3ee693=_[_0x717f('0x3f')]({},_0x3ee693,_0x56b91e[_0x717f('0x40')]);var _0x26e2f9={'where':_0x3ee693['where']};return db[_0x717f('0x2a')]['count'](_0x26e2f9)[_0x717f('0x23')](function(_0x4e79e8){_0xfb12b5[_0x717f('0x1c')]=_0x4e79e8;if(_0x56b91e['query']['includeAll']){_0x3ee693[_0x717f('0x41')]=[{'all':!![]}];}return db[_0x717f('0x2a')][_0x717f('0x42')](_0x3ee693);})['then'](function(_0x4743c4){_0xfb12b5[_0x717f('0x43')]=_0x4743c4;return _0xfb12b5;})[_0x717f('0x23')](respondWithFilteredResult(_0xbbc317,_0x3ee693))['catch'](handleError(_0xbbc317,null));};exports[_0x717f('0x44')]=function(_0x44bd0,_0x598628){var _0x1c7860={'raw':!![],'where':{'id':_0x44bd0[_0x717f('0x45')]['id']}},_0x1a0601={};_0x1a0601[_0x717f('0x33')]=_[_0x717f('0x30')](db['AnalyticTreeReport'][_0x717f('0x2b')]);_0x1a0601[_0x717f('0x2f')]=_[_0x717f('0x30')](_0x44bd0[_0x717f('0x2f')]);_0x1a0601[_0x717f('0x3b')]=_['intersection'](_0x1a0601['model'],_0x1a0601[_0x717f('0x2f')]);_0x1c7860['attributes']=_['intersection'](_0x1a0601[_0x717f('0x33')],qs['fields'](_0x44bd0[_0x717f('0x2f')][_0x717f('0x34')]));_0x1c7860[_0x717f('0x32')]=_0x1c7860[_0x717f('0x32')][_0x717f('0x35')]?_0x1c7860['attributes']:_0x1a0601['model'];if(_0x44bd0['query']['includeAll']){_0x1c7860[_0x717f('0x41')]=[{'all':!![]}];}_0x1c7860=_[_0x717f('0x3f')]({},_0x1c7860,_0x44bd0[_0x717f('0x40')]);return db[_0x717f('0x2a')][_0x717f('0x46')](_0x1c7860)[_0x717f('0x23')](handleEntityNotFound(_0x598628,null))[_0x717f('0x23')](respondWithResult(_0x598628,null))['catch'](handleError(_0x598628,null));};exports[_0x717f('0x47')]=function(_0x52ddc7,_0x389595){return db[_0x717f('0x2a')]['create'](_0x52ddc7[_0x717f('0x48')],{})[_0x717f('0x23')](respondWithResult(_0x389595,0xc9))[_0x717f('0x49')](handleError(_0x389595,null));};exports[_0x717f('0x22')]=function(_0x21e565,_0x4dbc3a){if(_0x21e565[_0x717f('0x48')]['id']){delete _0x21e565[_0x717f('0x48')]['id'];}return db[_0x717f('0x2a')][_0x717f('0x46')]({'where':{'id':_0x21e565[_0x717f('0x45')]['id']}})[_0x717f('0x23')](handleEntityNotFound(_0x4dbc3a,null))['then'](saveUpdates(_0x21e565[_0x717f('0x48')],null))[_0x717f('0x23')](respondWithResult(_0x4dbc3a,null))[_0x717f('0x49')](handleError(_0x4dbc3a,null));};exports[_0x717f('0x24')]=function(_0x3652fa,_0x38eb1f){return db[_0x717f('0x2a')]['find']({'where':{'id':_0x3652fa[_0x717f('0x45')]['id']}})[_0x717f('0x23')](handleEntityNotFound(_0x38eb1f,null))[_0x717f('0x23')](removeEntity(_0x38eb1f,null))[_0x717f('0x49')](handleError(_0x38eb1f,null));};
\ No newline at end of file