flexbiz-server 12.4.21 → 12.4.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1068) hide show
  1. package/package.json +2 -1
  2. package/server/app.js +1 -22
  3. package/server/auths/bearer.js +1 -3
  4. package/server/auths/facebook.js +1 -12
  5. package/server/auths/google.js +1 -13
  6. package/server/auths/local.js +1 -64
  7. package/server/cluster.js +1 -27
  8. package/server/controllers/controller.js +1 -107
  9. package/server/controllers/controllerRPT.js +1 -27
  10. package/server/controllers/controllerUtils.js +1 -76
  11. package/server/controllers/createHandler.js +1 -35
  12. package/server/controllers/createRouteHandler.js +1 -4
  13. package/server/controllers/deleteHandler.js +1 -11
  14. package/server/controllers/deleteManyHandler.js +1 -2
  15. package/server/controllers/exportHandler.js +1 -17
  16. package/server/controllers/findHandler.js +1 -53
  17. package/server/controllers/handlers.js +1 -3
  18. package/server/controllers/historyHandler.js +1 -5
  19. package/server/controllers/importFromExcelHandler.js +1 -14
  20. package/server/controllers/importFromGsHandler.js +1 -10
  21. package/server/controllers/importFromJsonHandler.js +1 -7
  22. package/server/controllers/importHandler.js +1 -21
  23. package/server/controllers/logHandler.js +1 -5
  24. package/server/controllers/rptCreateRouteHandler.js +1 -4
  25. package/server/controllers/rptExcelHandler.js +1 -32
  26. package/server/controllers/rptHandler.js +1 -13
  27. package/server/controllers/updateBookHandler.js +1 -10
  28. package/server/controllers/updateFieldHandler.js +1 -12
  29. package/server/controllers/updateHandler.js +1 -39
  30. package/server/controllers/updateKeyHandler.js +1 -14
  31. package/server/controllers/viewHandler.js +1 -13
  32. package/server/flow/FlowEngine.js +1 -64
  33. package/server/flow/WebhookManager.js +1 -26
  34. package/server/flow/handlers.js +1 -3
  35. package/server/flow/nodes/aiAnalysis.js +1 -9
  36. package/server/flow/nodes/customer.js +1 -15
  37. package/server/flow/nodes/data.js +1 -14
  38. package/server/flow/nodes/debug.js +1 -2
  39. package/server/flow/nodes/delay.js +1 -3
  40. package/server/flow/nodes/email.js +1 -9
  41. package/server/flow/nodes/event.js +1 -11
  42. package/server/flow/nodes/facebook.js +1 -3
  43. package/server/flow/nodes/facebookConversations.js +1 -5
  44. package/server/flow/nodes/facebookCreatePost.js +1 -10
  45. package/server/flow/nodes/facebookSendMessage.js +1 -12
  46. package/server/flow/nodes/forEachItem.js +1 -8
  47. package/server/flow/nodes/function.js +1 -4
  48. package/server/flow/nodes/httprequest.js +1 -7
  49. package/server/flow/nodes/inject.js +1 -12
  50. package/server/flow/nodes/pushNotification.js +1 -5
  51. package/server/flow/nodes/report.js +1 -6
  52. package/server/flow/nodes/saveData.js +1 -2
  53. package/server/flow/nodes/switch.js +1 -20
  54. package/server/flow/nodes/webhook.js +1 -1
  55. package/server/flow/nodes/zaloSendMessage.js +1 -4
  56. package/server/flow/utils.js +1 -2
  57. package/server/global.js +1 -23
  58. package/server/libs/BlockchainTransactionPool.js +1 -3
  59. package/server/libs/WorkerPool.js +1 -4
  60. package/server/libs/WorkerStaticPool.js +1 -16
  61. package/server/libs/WorkerStaticPool_v1.js +1 -5
  62. package/server/libs/assbonus.js +1 -7
  63. package/server/libs/backup.js +1 -2
  64. package/server/libs/blockchainconnect.js +1 -12
  65. package/server/libs/cdpsdiem.js +1 -5
  66. package/server/libs/cdpsdt.js +1 -7
  67. package/server/libs/cdpskh.js +1 -9
  68. package/server/libs/cdpsnphep.js +1 -6
  69. package/server/libs/cdpstk.js +1 -11
  70. package/server/libs/ckcn.js +1 -12
  71. package/server/libs/ckdiem.js +1 -5
  72. package/server/libs/ckdt.js +1 -6
  73. package/server/libs/cknphep.js +1 -6
  74. package/server/libs/cktk.js +1 -4
  75. package/server/libs/cktt.js +1 -9
  76. package/server/libs/ckvt.js +1 -12
  77. package/server/libs/ckvtcapphat.js +1 -6
  78. package/server/libs/ckvtnpp.js +1 -8
  79. package/server/libs/ckvttt.js +1 -11
  80. package/server/libs/createSocaitheongay.js +1 -9
  81. package/server/libs/ctdiem.js +1 -5
  82. package/server/libs/ctvt.js +1 -7
  83. package/server/libs/ctvtnpp.js +1 -7
  84. package/server/libs/ctvttt.js +1 -7
  85. package/server/libs/databanle.js +1 -17
  86. package/server/libs/databanlenpp.js +1 -8
  87. package/server/libs/databanletheongay.js +1 -27
  88. package/server/libs/dkcn.js +1 -10
  89. package/server/libs/dkdiem.js +1 -5
  90. package/server/libs/dkdt.js +1 -6
  91. package/server/libs/dknphep.js +1 -7
  92. package/server/libs/dktk.js +1 -4
  93. package/server/libs/dktt.js +1 -8
  94. package/server/libs/dkvt.js +1 -9
  95. package/server/libs/dkvtnpp.js +1 -7
  96. package/server/libs/dkvttt.js +1 -7
  97. package/server/libs/dncn.js +1 -6
  98. package/server/libs/dntk.js +1 -4
  99. package/server/libs/dntt.js +1 -6
  100. package/server/libs/docs.js +1 -452
  101. package/server/libs/dstkcn.js +1 -1
  102. package/server/libs/dstktt.js +1 -1
  103. package/server/libs/dtbanletheonpp.js +1 -17
  104. package/server/libs/dtbanletheosp.js +1 -15
  105. package/server/libs/dtbanletheospnpp.js +1 -15
  106. package/server/libs/email.js +1 -3
  107. package/server/libs/excel.js +1 -2
  108. package/server/libs/getGiaban.js +1 -67
  109. package/server/libs/getGiabanAsync.js +1 -1
  110. package/server/libs/getNotifies.js +1 -1
  111. package/server/libs/htmlReport.js +1 -9
  112. package/server/libs/initDatabase.js +1 -9
  113. package/server/libs/invoiceEasy.js +1 -109
  114. package/server/libs/invoiceViettel.js +1 -29
  115. package/server/libs/invoiceVnpt.js +1 -22
  116. package/server/libs/kpistatus.js +1 -32
  117. package/server/libs/load-template.js +1 -3
  118. package/server/libs/mailmanagement.js +1 -13
  119. package/server/libs/mongooseDeletePost.js +1 -6
  120. package/server/libs/mongooseLeanId.js +1 -1
  121. package/server/libs/mongoosePatch.js +1 -8
  122. package/server/libs/onepay-payment.js +1 -4
  123. package/server/libs/optimizeBookkeeping.js +1 -14
  124. package/server/libs/parse-template.js +1 -5
  125. package/server/libs/permission.js +1 -51
  126. package/server/libs/phanbokh.js +1 -3
  127. package/server/libs/post-book.js +1 -23
  128. package/server/libs/post-socai.js +1 -25
  129. package/server/libs/post-sokho.js +1 -27
  130. package/server/libs/prototypes.js +1 -29
  131. package/server/libs/psdt.js +1 -1
  132. package/server/libs/pskh.js +1 -1
  133. package/server/libs/pstk.js +1 -1
  134. package/server/libs/redis-cache.js +1 -17
  135. package/server/libs/restore.js +1 -1
  136. package/server/libs/schedule.js +1 -18
  137. package/server/libs/sessionContext.js +2 -14
  138. package/server/libs/textReport.js +1 -3
  139. package/server/libs/thnxt.js +1 -9
  140. package/server/libs/thnxtnpp.js +1 -9
  141. package/server/libs/thnxttt.js +1 -8
  142. package/server/libs/tinhGt.js +1 -7
  143. package/server/libs/tinhGtCapnhatPNK.js +1 -7
  144. package/server/libs/tinhGtPhanboHeSo.js +1 -12
  145. package/server/libs/tinhGtPhanboSltp.js +1 -10
  146. package/server/libs/tinhGtPhanboYtcp.js +1 -11
  147. package/server/libs/tinhGtSltk.js +1 -9
  148. package/server/libs/tinhGtThcppstk.js +1 -10
  149. package/server/libs/tinhGtTrucTiep.js +1 -7
  150. package/server/libs/tinhGtXoa.js +1 -3
  151. package/server/libs/tinhgiatb.js +1 -38
  152. package/server/libs/tinhgiatb1vt.js +1 -5
  153. package/server/libs/tinhhoahong.js +1 -64
  154. package/server/libs/tinhhoahongnpp.js +1 -46
  155. package/server/libs/tinhkhauhao1ts.js +1 -12
  156. package/server/libs/tinhkhauhaots.js +1 -8
  157. package/server/libs/tuoinophaithu.js +1 -10
  158. package/server/libs/tuoinophaitra.js +1 -11
  159. package/server/libs/utils.js +1 -78
  160. package/server/libs/validate.js +1 -4
  161. package/server/libs/validator-acc-cust.js +1 -1
  162. package/server/libs/validator-account.js +1 -4
  163. package/server/libs/validator-vt.js +1 -2
  164. package/server/libs/validator.js +1 -11
  165. package/server/libs/vsocai.js +1 -8
  166. package/server/models/account.js +1 -7
  167. package/server/models/afflink.js +1 -2
  168. package/server/models/app.js +1 -15
  169. package/server/models/approve.js +1 -93
  170. package/server/models/assabcihandler.js +1 -35
  171. package/server/models/assbank.js +1 -19
  172. package/server/models/assbooking.js +1 -4
  173. package/server/models/assbuy.js +1 -3
  174. package/server/models/asscashwithdraw.js +1 -4
  175. package/server/models/assfindhash.js +1 -2
  176. package/server/models/assinvestment.js +1 -13
  177. package/server/models/assissue.js +1 -2
  178. package/server/models/asskey.js +1 -15
  179. package/server/models/assneedtobuy.js +1 -6
  180. package/server/models/assperiod.js +1 -7
  181. package/server/models/assproduct.js +1 -13
  182. package/server/models/assprofitsharing.js +1 -4
  183. package/server/models/assreceiver.js +1 -2
  184. package/server/models/assrequest.js +1 -11
  185. package/server/models/asssell.js +1 -7
  186. package/server/models/asstransaction.js +1 -3
  187. package/server/models/asstransfer.js +1 -4
  188. package/server/models/assuser_identity.js +1 -4
  189. package/server/models/asswithdraw.js +1 -4
  190. package/server/models/attend.js +1 -2
  191. package/server/models/banggiaban.js +1 -8
  192. package/server/models/bangtinhluong.js +1 -6
  193. package/server/models/base.js +1 -1
  194. package/server/models/bds_area.js +1 -4
  195. package/server/models/bds_block.js +1 -3
  196. package/server/models/bds_building.js +1 -4
  197. package/server/models/bds_floor.js +1 -3
  198. package/server/models/bds_floordetail.js +1 -9
  199. package/server/models/bds_nhadat.js +1 -11
  200. package/server/models/bds_nhomnhadat.js +1 -4
  201. package/server/models/bds_phanloainhadat.js +1 -3
  202. package/server/models/bg1.js +1 -9
  203. package/server/models/bg2.js +1 -10
  204. package/server/models/cache.js +1 -3
  205. package/server/models/calllog.js +1 -4
  206. package/server/models/campaign.js +1 -6
  207. package/server/models/cart.js +1 -5
  208. package/server/models/cddiem.js +1 -2
  209. package/server/models/cddt.js +1 -3
  210. package/server/models/cdkh.js +1 -5
  211. package/server/models/cdkhtheongay.js +1 -5
  212. package/server/models/cdnphep.js +1 -2
  213. package/server/models/cdtk.js +1 -3
  214. package/server/models/cdtktheongay.js +1 -3
  215. package/server/models/cdvt.js +1 -5
  216. package/server/models/cdvtnpp.js +1 -6
  217. package/server/models/cdvttheongay.js +1 -5
  218. package/server/models/chamcong.js +1 -7
  219. package/server/models/checkin.js +1 -4
  220. package/server/models/checkinactivity.js +1 -3
  221. package/server/models/checkinkpi.js +1 -4
  222. package/server/models/checkinlocation.js +1 -2
  223. package/server/models/chitieukpi.js +1 -3
  224. package/server/models/chudethaoluan.js +1 -3
  225. package/server/models/ckgtluong.js +1 -2
  226. package/server/models/colleague.js +1 -2
  227. package/server/models/comment.js +1 -4
  228. package/server/models/congdoansx.js +1 -4
  229. package/server/models/congtacvien.js +1 -4
  230. package/server/models/congthuctinhgiaban.js +1 -8
  231. package/server/models/consultant.js +1 -4
  232. package/server/models/contract.js +1 -6
  233. package/server/models/counter.js +1 -2
  234. package/server/models/ctds.js +1 -5
  235. package/server/models/ctds2.js +1 -6
  236. package/server/models/currency.js +1 -3
  237. package/server/models/customer.js +1 -31
  238. package/server/models/databanle.js +1 -8
  239. package/server/models/datlich.js +1 -4
  240. package/server/models/department.js +1 -4
  241. package/server/models/dh2.js +1 -20
  242. package/server/models/diagram.js +1 -2
  243. package/server/models/dinhmucsx.js +1 -8
  244. package/server/models/dkhoc.js +1 -6
  245. package/server/models/dknphep.js +1 -2
  246. package/server/models/dmban.js +1 -4
  247. package/server/models/dmbp.js +1 -12
  248. package/server/models/dmca.js +1 -2
  249. package/server/models/dmchietkhau.js +1 -9
  250. package/server/models/dmchietkhauhd.js +1 -20
  251. package/server/models/dmcpmh.js +1 -2
  252. package/server/models/dmdiemthuong.js +1 -5
  253. package/server/models/dmdoi.js +1 -4
  254. package/server/models/dmdoituongdanhgia.js +1 -2
  255. package/server/models/dmdt.js +1 -8
  256. package/server/models/dmdvt.js +1 -3
  257. package/server/models/dmgiaban.js +1 -9
  258. package/server/models/dmgiamua.js +1 -5
  259. package/server/models/dmgiathitruong.js +1 -5
  260. package/server/models/dmgiathitruong_ngay.js +1 -2
  261. package/server/models/dmgiathitruong_theodoi.js +1 -2
  262. package/server/models/dmhoahonghd.js +1 -9
  263. package/server/models/dmhoahongnpp.js +1 -9
  264. package/server/models/dmkc.js +1 -3
  265. package/server/models/dmkho.js +1 -6
  266. package/server/models/dmkhuyenmai.js +1 -9
  267. package/server/models/dmkhuyenmaihd.js +1 -11
  268. package/server/models/dmletet.js +1 -2
  269. package/server/models/dmlo.js +1 -4
  270. package/server/models/dmloaicong.js +1 -4
  271. package/server/models/dmloaitask.js +1 -2
  272. package/server/models/dmloaits.js +1 -2
  273. package/server/models/dmnckkm.js +1 -4
  274. package/server/models/dmnghiepvu.js +1 -4
  275. package/server/models/dmnguonvon.js +1 -2
  276. package/server/models/dmnhnv.js +1 -4
  277. package/server/models/dmnv.js +1 -17
  278. package/server/models/dmnvt.js +1 -9
  279. package/server/models/dmphatdichvu.js +1 -5
  280. package/server/models/dmphi.js +1 -3
  281. package/server/models/dmqct.js +1 -3
  282. package/server/models/dmqddvt.js +1 -3
  283. package/server/models/dmtanggiamts.js +1 -3
  284. package/server/models/dmto.js +1 -4
  285. package/server/models/dmtt.js +1 -6
  286. package/server/models/dmvt.js +1 -17
  287. package/server/models/dmyt.js +1 -4
  288. package/server/models/dn0.js +1 -13
  289. package/server/models/dnm.js +1 -11
  290. package/server/models/dokho.js +1 -2
  291. package/server/models/domain.js +1 -2
  292. package/server/models/dvcs.js +1 -3
  293. package/server/models/ecomcategories.js +1 -3
  294. package/server/models/ecomcategories_cty.js +1 -3
  295. package/server/models/ecomproductlines.js +1 -2
  296. package/server/models/ecompromotion_flashsales.js +1 -2
  297. package/server/models/ecompromotion_freeships.js +1 -2
  298. package/server/models/email.js +1 -2
  299. package/server/models/endpoint.js +1 -1
  300. package/server/models/events.js +1 -3
  301. package/server/models/evoucher.js +1 -5
  302. package/server/models/experiencejourney.js +1 -2
  303. package/server/models/experiencejourneydata.js +1 -4
  304. package/server/models/experiencejourneypersona.js +1 -3
  305. package/server/models/experiencejourneystage.js +1 -2
  306. package/server/models/exportexceltemplate.js +1 -2
  307. package/server/models/fbconversation.js +1 -15
  308. package/server/models/fbmessage.js +1 -2
  309. package/server/models/fbpage.js +1 -2
  310. package/server/models/fbpost.js +1 -2
  311. package/server/models/fieldright.js +1 -2
  312. package/server/models/file.js +1 -4
  313. package/server/models/financialroadmap.js +1 -3
  314. package/server/models/flow.js +1 -2
  315. package/server/models/flowdata.js +1 -3
  316. package/server/models/folder.js +1 -4
  317. package/server/models/follow.js +1 -2
  318. package/server/models/form.js +1 -3
  319. package/server/models/forminfo.js +1 -5
  320. package/server/models/formvalue.js +1 -3
  321. package/server/models/giaoca.js +1 -4
  322. package/server/models/giatb.js +1 -3
  323. package/server/models/group.js +1 -11
  324. package/server/models/gt_ctgt.js +1 -4
  325. package/server/models/gt_hspb.js +1 -3
  326. package/server/models/gt_sltk.js +1 -3
  327. package/server/models/gt_thcppstk.js +1 -3
  328. package/server/models/hanmucton.js +1 -4
  329. package/server/models/hd1.js +1 -11
  330. package/server/models/hd2.js +1 -27
  331. package/server/models/hd3.js +1 -18
  332. package/server/models/hd4.js +1 -13
  333. package/server/models/hd7.js +1 -17
  334. package/server/models/hd8.js +1 -12
  335. package/server/models/hde.js +1 -11
  336. package/server/models/hlink.js +1 -2
  337. package/server/models/hlinkvalue.js +1 -2
  338. package/server/models/hmcn.js +1 -3
  339. package/server/models/hmcnct.js +1 -2
  340. package/server/models/hspbts.js +1 -4
  341. package/server/models/htl.js +1 -13
  342. package/server/models/importexceltemplate.js +1 -2
  343. package/server/models/introducebonus.js +1 -4
  344. package/server/models/introducecode.js +1 -3
  345. package/server/models/introducer.js +1 -4
  346. package/server/models/kbbtpb.js +1 -7
  347. package/server/models/kbmPttct.js +1 -4
  348. package/server/models/kbmTkgtgt.js +1 -5
  349. package/server/models/kbm_bcdkt.js +1 -4
  350. package/server/models/kbm_kqhdkd.js +1 -3
  351. package/server/models/kbm_lcttgt.js +1 -5
  352. package/server/models/kbm_lctttt.js +1 -4
  353. package/server/models/kbm_pttct.js +1 -4
  354. package/server/models/kbm_tkgtgt.js +1 -5
  355. package/server/models/kbmbcdkt.js +1 -4
  356. package/server/models/kbmbcqt.js +1 -4
  357. package/server/models/kbmkqhdkd.js +1 -3
  358. package/server/models/kbmlcttgt.js +1 -6
  359. package/server/models/kbmlctttt.js +1 -4
  360. package/server/models/kbmtmbctc.js +1 -4
  361. package/server/models/kehoachdtcp.js +1 -3
  362. package/server/models/kehoachmh.js +1 -8
  363. package/server/models/keyresult.js +1 -7
  364. package/server/models/khunghangthanhvien.js +1 -3
  365. package/server/models/label.js +1 -2
  366. package/server/models/labelinfo.js +1 -2
  367. package/server/models/lenhcapphat.js +1 -8
  368. package/server/models/lenhsx.js +1 -8
  369. package/server/models/lienhe.js +1 -4
  370. package/server/models/like_module.js +1 -2
  371. package/server/models/link.js +1 -2
  372. package/server/models/loaidiem.js +1 -2
  373. package/server/models/lock.js +1 -2
  374. package/server/models/log.js +1 -5
  375. package/server/models/mailaccount.js +1 -3
  376. package/server/models/mailgroup.js +1 -3
  377. package/server/models/mailreceived.js +1 -2
  378. package/server/models/mailschedule.js +1 -2
  379. package/server/models/mailsent.js +1 -2
  380. package/server/models/mailtemplate.js +1 -2
  381. package/server/models/maudanhgia.js +1 -2
  382. package/server/models/menuinfo.js +1 -2
  383. package/server/models/message.js +1 -8
  384. package/server/models/message2.js +1 -4
  385. package/server/models/message2setting.js +1 -3
  386. package/server/models/moduleinfo.js +1 -4
  387. package/server/models/momo.js +1 -17
  388. package/server/models/news.js +1 -3
  389. package/server/models/newsfeed.js +1 -4
  390. package/server/models/note.js +1 -2
  391. package/server/models/notification.js +1 -7
  392. package/server/models/okr.js +1 -4
  393. package/server/models/okrdiagram.js +1 -3
  394. package/server/models/onepay.js +1 -24
  395. package/server/models/opportunity.js +1 -4
  396. package/server/models/options.js +1 -2
  397. package/server/models/originimportid.js +1 -1
  398. package/server/models/otp.js +1 -1
  399. package/server/models/parameter.js +1 -2
  400. package/server/models/participant.js +1 -20
  401. package/server/models/partner.js +1 -1
  402. package/server/models/payload.js +1 -1
  403. package/server/models/pbl.js +1 -16
  404. package/server/models/pc0.js +1 -13
  405. package/server/models/pc1.js +1 -14
  406. package/server/models/pc2.js +1 -13
  407. package/server/models/pc3.js +1 -13
  408. package/server/models/pc5.js +1 -8
  409. package/server/models/pc6.js +1 -14
  410. package/server/models/pcl.js +1 -6
  411. package/server/models/pdn.js +1 -9
  412. package/server/models/pdx.js +1 -9
  413. package/server/models/pgh.js +1 -5
  414. package/server/models/phieudanhgia.js +1 -3
  415. package/server/models/pht.js +1 -8
  416. package/server/models/phucap.js +1 -4
  417. package/server/models/pkc.js +1 -6
  418. package/server/models/pkh.js +1 -6
  419. package/server/models/pkk.js +1 -10
  420. package/server/models/pkt.js +1 -12
  421. package/server/models/pn1.js +1 -17
  422. package/server/models/pn2.js +1 -11
  423. package/server/models/pn3.js +1 -13
  424. package/server/models/pn5.js +1 -14
  425. package/server/models/pn6.js +1 -14
  426. package/server/models/pn9.js +1 -17
  427. package/server/models/pnc.js +1 -10
  428. package/server/models/pnh.js +1 -12
  429. package/server/models/pnk.js +1 -10
  430. package/server/models/po1.js +1 -19
  431. package/server/models/ppb.js +1 -6
  432. package/server/models/profile.js +1 -4
  433. package/server/models/pt1.js +1 -12
  434. package/server/models/pt5.js +1 -8
  435. package/server/models/ptl.js +1 -6
  436. package/server/models/ptthanhtoan.js +1 -6
  437. package/server/models/purchase_contract.js +1 -17
  438. package/server/models/pxc.js +1 -9
  439. package/server/models/pxh.js +1 -12
  440. package/server/models/pxk.js +1 -10
  441. package/server/models/qts.js +1 -14
  442. package/server/models/qts_dieuchinh.js +1 -3
  443. package/server/models/qts_dieuchuyen.js +1 -4
  444. package/server/models/quanhuyen.js +1 -2
  445. package/server/models/reason.js +1 -2
  446. package/server/models/receivedinvoice.js +1 -2
  447. package/server/models/reportinfo.js +1 -5
  448. package/server/models/right.js +1 -4
  449. package/server/models/rpt.js +1 -2
  450. package/server/models/rptform.js +1 -5
  451. package/server/models/rptobject.js +1 -2
  452. package/server/models/sale_contract.js +1 -9
  453. package/server/models/schedule.js +1 -16
  454. package/server/models/schedule_log.js +1 -2
  455. package/server/models/service.js +1 -4
  456. package/server/models/shipbook.js +1 -12
  457. package/server/models/shortcut.js +1 -2
  458. package/server/models/smsaccount.js +1 -10
  459. package/server/models/smssend.js +1 -2
  460. package/server/models/so1.js +1 -22
  461. package/server/models/so2.js +1 -10
  462. package/server/models/so3.js +1 -9
  463. package/server/models/so5.js +1 -15
  464. package/server/models/so9.js +1 -19
  465. package/server/models/socai.js +1 -26
  466. package/server/models/socainpp.js +1 -18
  467. package/server/models/socaitc.js +1 -6
  468. package/server/models/socaitmp.js +1 -16
  469. package/server/models/socaitt.js +1 -4
  470. package/server/models/sodiemthuong.js +1 -4
  471. package/server/models/sokho.js +1 -28
  472. package/server/models/sokhocapphat.js +1 -18
  473. package/server/models/sokhokhongton.js +1 -19
  474. package/server/models/sokhonpp.js +1 -19
  475. package/server/models/sokhotc.js +1 -8
  476. package/server/models/sokhott.js +1 -18
  477. package/server/models/sophanbokh.js +1 -3
  478. package/server/models/sosanxuat.js +1 -5
  479. package/server/models/sotinhkh.js +1 -2
  480. package/server/models/spdd_ck.js +1 -3
  481. package/server/models/spdd_dk.js +1 -3
  482. package/server/models/step.js +1 -2
  483. package/server/models/strategicdiagram.js +1 -3
  484. package/server/models/strategicgoal.js +1 -4
  485. package/server/models/strategickpi.js +1 -6
  486. package/server/models/strategicobjective.js +1 -5
  487. package/server/models/strategicplan.js +1 -5
  488. package/server/models/subscribe.js +1 -2
  489. package/server/models/support.js +1 -2
  490. package/server/models/synctime.js +1 -2
  491. package/server/models/sysconfig.js +1 -2
  492. package/server/models/sysgroup.js +1 -2
  493. package/server/models/tableinfo.js +1 -3
  494. package/server/models/task.js +1 -9
  495. package/server/models/taskreg.js +1 -4
  496. package/server/models/tc.js +1 -2
  497. package/server/models/tdttco.js +1 -8
  498. package/server/models/tdttco_tt.js +1 -5
  499. package/server/models/tdttno.js +1 -8
  500. package/server/models/tdttno_tt.js +1 -5
  501. package/server/models/templaterpt.js +1 -2
  502. package/server/models/templatestore.js +1 -3
  503. package/server/models/templatevoucher.js +1 -3
  504. package/server/models/tinhthanh.js +1 -2
  505. package/server/models/tokens.js +1 -2
  506. package/server/models/tontucthoi.js +1 -9
  507. package/server/models/trangthai.js +1 -4
  508. package/server/models/trangthaiapp.js +1 -4
  509. package/server/models/transaction.js +1 -16
  510. package/server/models/trialinfo.js +1 -2
  511. package/server/models/user.js +1 -38
  512. package/server/models/usergroup.js +1 -7
  513. package/server/models/vanchuyen.js +1 -12
  514. package/server/models/vat.js +1 -3
  515. package/server/models/vatra.js +1 -6
  516. package/server/models/vatvao.js +1 -6
  517. package/server/models/versioninfo.js +1 -2
  518. package/server/models/vietqrbanks.js +1 -2
  519. package/server/models/vsocai.js +1 -6
  520. package/server/models/waitevent.js +1 -2
  521. package/server/models/wallet.js +1 -8
  522. package/server/models/warranty.js +1 -3
  523. package/server/models/warrantyclaim.js +1 -2
  524. package/server/models/warrantypolicy.js +1 -1
  525. package/server/models/xaphuong.js +1 -2
  526. package/server/models/xhd.js +1 -10
  527. package/server/models/ytdd_ck.js +1 -4
  528. package/server/models/ytdd_dk.js +1 -4
  529. package/server/models/zalo.js +1 -17
  530. package/server/modules/lists/bg-cddiem.js +1 -6
  531. package/server/modules/lists/bg-cddt.js +1 -7
  532. package/server/modules/lists/bg-cdkh.js +1 -11
  533. package/server/modules/lists/bg-cdnphep.js +1 -6
  534. package/server/modules/lists/bg-cdtk.js +1 -9
  535. package/server/modules/lists/bg-cdvt.js +1 -8
  536. package/server/modules/lists/bg-cdvtnpp.js +1 -8
  537. package/server/modules/lists/ls-account.js +1 -4
  538. package/server/modules/lists/ls-afflink.js +1 -3
  539. package/server/modules/lists/ls-approve.js +1 -4
  540. package/server/modules/lists/ls-assabcihandler.js +1 -3
  541. package/server/modules/lists/ls-assbank.js +1 -3
  542. package/server/modules/lists/ls-assbooking.js +1 -20
  543. package/server/modules/lists/ls-assbuy.js +1 -8
  544. package/server/modules/lists/ls-asscashwithdraw.js +1 -8
  545. package/server/modules/lists/ls-assinvestment.js +1 -31
  546. package/server/modules/lists/ls-assissue.js +1 -3
  547. package/server/modules/lists/ls-asskey.js +1 -41
  548. package/server/modules/lists/ls-assneedtobuy.js +1 -10
  549. package/server/modules/lists/ls-assperiod.js +1 -19
  550. package/server/modules/lists/ls-assproduct.js +1 -9
  551. package/server/modules/lists/ls-assprofitsharing.js +1 -8
  552. package/server/modules/lists/ls-assreceiver.js +1 -3
  553. package/server/modules/lists/ls-assrequest.js +1 -4
  554. package/server/modules/lists/ls-asssell.js +1 -13
  555. package/server/modules/lists/ls-asstransaction.js +1 -3
  556. package/server/modules/lists/ls-asstransfer.js +1 -3
  557. package/server/modules/lists/ls-assuser_identity.js +1 -1
  558. package/server/modules/lists/ls-asswithdraw.js +1 -12
  559. package/server/modules/lists/ls-bangtinhluong.js +1 -2
  560. package/server/modules/lists/ls-bds_area.js +1 -3
  561. package/server/modules/lists/ls-bds_block.js +1 -1
  562. package/server/modules/lists/ls-bds_building.js +1 -3
  563. package/server/modules/lists/ls-bds_dmnhbds.js +1 -6
  564. package/server/modules/lists/ls-bds_floor.js +1 -2
  565. package/server/modules/lists/ls-bds_floordetail.js +1 -19
  566. package/server/modules/lists/ls-bds_nhadat.js +1 -16
  567. package/server/modules/lists/ls-bds_nhomnhadat.js +1 -1
  568. package/server/modules/lists/ls-bds_phanloainhadat.js +1 -1
  569. package/server/modules/lists/ls-calllog.js +1 -4
  570. package/server/modules/lists/ls-campaign.js +1 -1
  571. package/server/modules/lists/ls-cart.js +1 -14
  572. package/server/modules/lists/ls-chamcong.js +1 -3
  573. package/server/modules/lists/ls-checkin.js +1 -12
  574. package/server/modules/lists/ls-checkinactivity.js +1 -8
  575. package/server/modules/lists/ls-checkinkpi.js +1 -3
  576. package/server/modules/lists/ls-checkinlocation.js +1 -1
  577. package/server/modules/lists/ls-chitieukpi.js +1 -1
  578. package/server/modules/lists/ls-chudethaoluan.js +1 -1
  579. package/server/modules/lists/ls-ckgtluong.js +1 -1
  580. package/server/modules/lists/ls-comment.js +1 -9
  581. package/server/modules/lists/ls-congdoansx.js +1 -3
  582. package/server/modules/lists/ls-congtacvien.js +1 -5
  583. package/server/modules/lists/ls-consultant.js +1 -2
  584. package/server/modules/lists/ls-contract.js +1 -7
  585. package/server/modules/lists/ls-ctds.js +1 -4
  586. package/server/modules/lists/ls-ctds2.js +1 -4
  587. package/server/modules/lists/ls-currency.js +1 -1
  588. package/server/modules/lists/ls-customer.js +1 -21
  589. package/server/modules/lists/ls-datlich.js +1 -9
  590. package/server/modules/lists/ls-dckhauhaots.js +1 -3
  591. package/server/modules/lists/ls-department.js +1 -3
  592. package/server/modules/lists/ls-diagram.js +1 -1
  593. package/server/modules/lists/ls-dkhoc.js +1 -6
  594. package/server/modules/lists/ls-dknphep.js +1 -1
  595. package/server/modules/lists/ls-dmban.js +1 -4
  596. package/server/modules/lists/ls-dmbp.js +1 -7
  597. package/server/modules/lists/ls-dmca.js +1 -1
  598. package/server/modules/lists/ls-dmchietkhau.js +1 -19
  599. package/server/modules/lists/ls-dmchietkhauhd.js +1 -4
  600. package/server/modules/lists/ls-dmchucvu.js +1 -2
  601. package/server/modules/lists/ls-dmcpmh.js +1 -1
  602. package/server/modules/lists/ls-dmdiemthuong.js +1 -4
  603. package/server/modules/lists/ls-dmdoi.js +1 -4
  604. package/server/modules/lists/ls-dmdoituongdanhgia.js +1 -1
  605. package/server/modules/lists/ls-dmdt.js +1 -11
  606. package/server/modules/lists/ls-dmdvt.js +1 -2
  607. package/server/modules/lists/ls-dmgiaban.js +1 -4
  608. package/server/modules/lists/ls-dmgiamua.js +1 -4
  609. package/server/modules/lists/ls-dmgiathitruong.js +1 -15
  610. package/server/modules/lists/ls-dmgiathitruong_ngay.js +1 -2
  611. package/server/modules/lists/ls-dmgiathitruong_theodoi.js +1 -1
  612. package/server/modules/lists/ls-dmhoahonghd.js +1 -1
  613. package/server/modules/lists/ls-dmhoahongnpp.js +1 -1
  614. package/server/modules/lists/ls-dmkc.js +1 -3
  615. package/server/modules/lists/ls-dmkho.js +1 -1
  616. package/server/modules/lists/ls-dmkhuyenmai.js +1 -5
  617. package/server/modules/lists/ls-dmkhuyenmaihd.js +1 -3
  618. package/server/modules/lists/ls-dmletet.js +1 -1
  619. package/server/modules/lists/ls-dmlo.js +1 -1
  620. package/server/modules/lists/ls-dmloaicong.js +1 -1
  621. package/server/modules/lists/ls-dmloaits.js +1 -1
  622. package/server/modules/lists/ls-dmnckkm.js +1 -7
  623. package/server/modules/lists/ls-dmnghiepvu.js +1 -1
  624. package/server/modules/lists/ls-dmnguonvon.js +1 -1
  625. package/server/modules/lists/ls-dmnhnv.js +1 -6
  626. package/server/modules/lists/ls-dmnhtask.js +1 -5
  627. package/server/modules/lists/ls-dmnkh.js +1 -6
  628. package/server/modules/lists/ls-dmntt.js +1 -6
  629. package/server/modules/lists/ls-dmnv.js +1 -17
  630. package/server/modules/lists/ls-dmnvt.js +1 -8
  631. package/server/modules/lists/ls-dmphatdichvu.js +1 -3
  632. package/server/modules/lists/ls-dmphi.js +1 -6
  633. package/server/modules/lists/ls-dmqct.js +1 -2
  634. package/server/modules/lists/ls-dmqddvt.js +1 -3
  635. package/server/modules/lists/ls-dmtanggiamts.js +1 -1
  636. package/server/modules/lists/ls-dmto.js +1 -5
  637. package/server/modules/lists/ls-dmtt.js +1 -7
  638. package/server/modules/lists/ls-dmvt.js +1 -68
  639. package/server/modules/lists/ls-dmyt.js +1 -1
  640. package/server/modules/lists/ls-dokho.js +1 -1
  641. package/server/modules/lists/ls-dvcs.js +1 -1
  642. package/server/modules/lists/ls-ecomcategories.js +1 -5
  643. package/server/modules/lists/ls-ecomcategories_cty.js +1 -5
  644. package/server/modules/lists/ls-email.js +1 -4
  645. package/server/modules/lists/ls-events.js +1 -3
  646. package/server/modules/lists/ls-evoucher.js +1 -3
  647. package/server/modules/lists/ls-experiencejourney.js +1 -1
  648. package/server/modules/lists/ls-experiencejourneydata.js +1 -3
  649. package/server/modules/lists/ls-experiencejourneypersona.js +1 -4
  650. package/server/modules/lists/ls-experiencejourneystage.js +1 -1
  651. package/server/modules/lists/ls-fbconversation.js +1 -2
  652. package/server/modules/lists/ls-fbmessage.js +1 -2
  653. package/server/modules/lists/ls-fbpage.js +1 -11
  654. package/server/modules/lists/ls-fbpost.js +1 -2
  655. package/server/modules/lists/ls-file.js +1 -31
  656. package/server/modules/lists/ls-financialroadmap.js +1 -3
  657. package/server/modules/lists/ls-flow.js +1 -6
  658. package/server/modules/lists/ls-flowdata.js +1 -1
  659. package/server/modules/lists/ls-folder.js +1 -1
  660. package/server/modules/lists/ls-form.js +1 -1
  661. package/server/modules/lists/ls-forminfo.js +1 -1
  662. package/server/modules/lists/ls-formvalue.js +1 -1
  663. package/server/modules/lists/ls-giaoca.js +1 -4
  664. package/server/modules/lists/ls-group.js +1 -5
  665. package/server/modules/lists/ls-hlink.js +1 -1
  666. package/server/modules/lists/ls-hlinkvalue.js +1 -1
  667. package/server/modules/lists/ls-hmcn.js +1 -2
  668. package/server/modules/lists/ls-hspbts.js +1 -3
  669. package/server/modules/lists/ls-introducebonus.js +1 -4
  670. package/server/modules/lists/ls-introducecode.js +1 -10
  671. package/server/modules/lists/ls-introducer.js +1 -20
  672. package/server/modules/lists/ls-kbm-bcdkt.js +1 -1
  673. package/server/modules/lists/ls-kbm-bcqt.js +1 -5
  674. package/server/modules/lists/ls-kbm-kqhdkd.js +1 -1
  675. package/server/modules/lists/ls-kbm-lcttgt.js +1 -1
  676. package/server/modules/lists/ls-kbm-lctttt.js +1 -1
  677. package/server/modules/lists/ls-kbm-pttct.js +1 -3
  678. package/server/modules/lists/ls-kbm-tkgtgt.js +1 -3
  679. package/server/modules/lists/ls-kbm-tmbctc.js +1 -3
  680. package/server/modules/lists/ls-kehoachdtcp.js +1 -4
  681. package/server/modules/lists/ls-keyresult.js +1 -7
  682. package/server/modules/lists/ls-khunghangthanhvien.js +1 -1
  683. package/server/modules/lists/ls-kygui.js +1 -19
  684. package/server/modules/lists/ls-label.js +1 -1
  685. package/server/modules/lists/ls-lienhe.js +1 -4
  686. package/server/modules/lists/ls-like-module.js +1 -1
  687. package/server/modules/lists/ls-link.js +1 -1
  688. package/server/modules/lists/ls-loaidiem.js +1 -1
  689. package/server/modules/lists/ls-lock.js +1 -1
  690. package/server/modules/lists/ls-log.js +1 -3
  691. package/server/modules/lists/ls-mailaccount.js +1 -5
  692. package/server/modules/lists/ls-mailreceived.js +1 -5
  693. package/server/modules/lists/ls-mailschedule.js +1 -7
  694. package/server/modules/lists/ls-mailsent.js +1 -4
  695. package/server/modules/lists/ls-mailtemplate.js +1 -4
  696. package/server/modules/lists/ls-maudanhgia.js +1 -3
  697. package/server/modules/lists/ls-message2.js +1 -8
  698. package/server/modules/lists/ls-message2setting.js +1 -5
  699. package/server/modules/lists/ls-news.js +1 -7
  700. package/server/modules/lists/ls-newsfeed.js +1 -4
  701. package/server/modules/lists/ls-note.js +1 -6
  702. package/server/modules/lists/ls-okr.js +1 -5
  703. package/server/modules/lists/ls-okrdiagram.js +1 -1
  704. package/server/modules/lists/ls-opportunity.js +1 -5
  705. package/server/modules/lists/ls-options.js +1 -4
  706. package/server/modules/lists/ls-parameter.js +1 -3
  707. package/server/modules/lists/ls-participant.js +1 -10
  708. package/server/modules/lists/ls-phieudanhgia.js +1 -7
  709. package/server/modules/lists/ls-phucap.js +1 -2
  710. package/server/modules/lists/ls-profile.js +1 -1
  711. package/server/modules/lists/ls-ptthanhtoan.js +1 -3
  712. package/server/modules/lists/ls-qts-dieuchinh.js +1 -2
  713. package/server/modules/lists/ls-qts-dieuchuyen.js +1 -8
  714. package/server/modules/lists/ls-reason.js +1 -1
  715. package/server/modules/lists/ls-rpt.js +1 -5
  716. package/server/modules/lists/ls-rptform.js +1 -4
  717. package/server/modules/lists/ls-service.js +1 -3
  718. package/server/modules/lists/ls-shortcut.js +1 -1
  719. package/server/modules/lists/ls-smsaccount.js +1 -1
  720. package/server/modules/lists/ls-smssend.js +1 -3
  721. package/server/modules/lists/ls-sosanxuat.js +1 -4
  722. package/server/modules/lists/ls-step.js +1 -1
  723. package/server/modules/lists/ls-strategicdiagram.js +1 -1
  724. package/server/modules/lists/ls-strategicgoal.js +1 -3
  725. package/server/modules/lists/ls-strategickpi.js +1 -7
  726. package/server/modules/lists/ls-strategicobjective.js +1 -3
  727. package/server/modules/lists/ls-strategicplan.js +1 -6
  728. package/server/modules/lists/ls-support.js +1 -3
  729. package/server/modules/lists/ls-task.js +1 -34
  730. package/server/modules/lists/ls-taskreg.js +1 -2
  731. package/server/modules/lists/ls-tc.js +1 -1
  732. package/server/modules/lists/ls-templaterpt.js +1 -5
  733. package/server/modules/lists/ls-templatevoucher.js +1 -1
  734. package/server/modules/lists/ls-tontucthoi.js +1 -3
  735. package/server/modules/lists/ls-trangthaiapp.js +1 -3
  736. package/server/modules/lists/ls-transaction.js +1 -4
  737. package/server/modules/lists/ls-usergroup.js +1 -7
  738. package/server/modules/lists/ls-vat.js +1 -1
  739. package/server/modules/lists/ls-vatra.js +1 -5
  740. package/server/modules/lists/ls-vatvao.js +1 -6
  741. package/server/modules/lists/ls-waitevent.js +1 -1
  742. package/server/modules/lists/ls-warranty.js +1 -4
  743. package/server/modules/lists/ls_hanmucton.js +1 -3
  744. package/server/modules/lists/ls_hspb.js +1 -4
  745. package/server/modules/lists/ls_spdd_ck.js +1 -3
  746. package/server/modules/lists/ls_spdd_dk.js +1 -3
  747. package/server/modules/lists/ls_ytdd_ck.js +1 -4
  748. package/server/modules/lists/ls_ytdd_dk.js +1 -4
  749. package/server/modules/lists/sys-attend.js +1 -4
  750. package/server/modules/lists/sys-follow.js +1 -4
  751. package/server/modules/lists/sys-right.js +1 -2
  752. package/server/modules/public/app.js +1 -4
  753. package/server/modules/public/approve.js +1 -37
  754. package/server/modules/public/callin.js +1 -7
  755. package/server/modules/public/comment.js +1 -5
  756. package/server/modules/public/dmnvt.js +1 -4
  757. package/server/modules/public/dmvt.js +1 -9
  758. package/server/modules/public/file.js +1 -11
  759. package/server/modules/public/form.js +1 -7
  760. package/server/modules/public/forminfo.js +1 -1
  761. package/server/modules/public/group.js +1 -4
  762. package/server/modules/public/hlink.js +1 -3
  763. package/server/modules/public/introducecode.js +1 -1
  764. package/server/modules/public/listinfo.js +1 -1
  765. package/server/modules/public/media-webhook.js +1 -1
  766. package/server/modules/public/partner.js +1 -1
  767. package/server/modules/public/paymentCallback.js +1 -32
  768. package/server/modules/public/province.js +1 -1
  769. package/server/modules/public/ptthanhtoan.js +1 -4
  770. package/server/modules/public/subscribe.js +1 -30
  771. package/server/modules/public/support.js +1 -3
  772. package/server/modules/public/tableinfo.js +1 -1
  773. package/server/modules/public/trialinfo.js +1 -4
  774. package/server/modules/public/versioninfo.js +1 -1
  775. package/server/modules/reports/calc-tinhgiatb.js +1 -6
  776. package/server/modules/reports/calc-tinhgiathanh.js +1 -6
  777. package/server/modules/reports/calc-tinhkhauhaots.js +1 -3
  778. package/server/modules/reports/calc-tinhluong.js +1 -37
  779. package/server/modules/reports/rp-analyzedata.js +1 -6
  780. package/server/modules/reports/rp-assbonus.js +1 -4
  781. package/server/modules/reports/rp-assinterest.js +1 -8
  782. package/server/modules/reports/rp-assproductowners.js +1 -3
  783. package/server/modules/reports/rp-asssupply.js +1 -1
  784. package/server/modules/reports/rp-asstransferlog.js +1 -10
  785. package/server/modules/reports/rp-banggiatb.js +1 -3
  786. package/server/modules/reports/rp-bangtinhkhauhao.js +1 -6
  787. package/server/modules/reports/rp-baocaokhachhang.js +1 -6
  788. package/server/modules/reports/rp-bcdkt.js +1 -11
  789. package/server/modules/reports/rp-bcintroducebonus.js +1 -4
  790. package/server/modules/reports/rp-bckhtiemnang.js +1 -3
  791. package/server/modules/reports/rp-bcqt.js +1 -85
  792. package/server/modules/reports/rp-bkct.js +1 -13
  793. package/server/modules/reports/rp-bkshipbook.js +1 -8
  794. package/server/modules/reports/rp-bkvanchuyen.js +1 -8
  795. package/server/modules/reports/rp-bkvatra.js +1 -7
  796. package/server/modules/reports/rp-bkvatvao.js +1 -7
  797. package/server/modules/reports/rp-capnhatsocaitc.js +1 -4
  798. package/server/modules/reports/rp-cdpsdiem.js +1 -4
  799. package/server/modules/reports/rp-cdpsdt.js +1 -5
  800. package/server/modules/reports/rp-cdpskh.js +1 -7
  801. package/server/modules/reports/rp-cdpsnphep.js +1 -3
  802. package/server/modules/reports/rp-cdpstk.js +1 -4
  803. package/server/modules/reports/rp-chitietchitientheohoadon.js +1 -12
  804. package/server/modules/reports/rp-chitiettaisan.js +1 -13
  805. package/server/modules/reports/rp-chitietthutientheohoadon.js +1 -13
  806. package/server/modules/reports/rp-ckcn.js +1 -3
  807. package/server/modules/reports/rp-ckdiem.js +1 -2
  808. package/server/modules/reports/rp-cktk.js +1 -3
  809. package/server/modules/reports/rp-ckvt.js +1 -10
  810. package/server/modules/reports/rp-ckvttheokho.js +1 -4
  811. package/server/modules/reports/rp-ckvttheotg.js +1 -4
  812. package/server/modules/reports/rp-ckvttt.js +1 -3
  813. package/server/modules/reports/rp-congnophaithutheotuoino.js +1 -3
  814. package/server/modules/reports/rp-congnophaitratheotuoino.js +1 -3
  815. package/server/modules/reports/rp-congnosapthu.js +1 -4
  816. package/server/modules/reports/rp-congnosaptra.js +1 -4
  817. package/server/modules/reports/rp-congviectheobp.js +1 -9
  818. package/server/modules/reports/rp-congviectheodt.js +1 -8
  819. package/server/modules/reports/rp-congviectheokh.js +1 -8
  820. package/server/modules/reports/rp-congviectheonv.js +1 -9
  821. package/server/modules/reports/rp-congviectheotimeline.js +1 -6
  822. package/server/modules/reports/rp-ctbanle.js +1 -15
  823. package/server/modules/reports/rp-ctbanle2.js +1 -20
  824. package/server/modules/reports/rp-ctbanlectv.js +1 -20
  825. package/server/modules/reports/rp-ctbanlenpp.js +1 -24
  826. package/server/modules/reports/rp-ctdanhgianhanvien.js +1 -8
  827. package/server/modules/reports/rp-cthangbanbitralai.js +1 -4
  828. package/server/modules/reports/rp-ctmuahang.js +1 -7
  829. package/server/modules/reports/rp-cttralaihang.js +1 -4
  830. package/server/modules/reports/rp-databanle.js +1 -10
  831. package/server/modules/reports/rp-diemthuong.js +1 -2
  832. package/server/modules/reports/rp-dkcn.js +1 -3
  833. package/server/modules/reports/rp-dktk.js +1 -2
  834. package/server/modules/reports/rp-dsnhanviencm.js +1 -9
  835. package/server/modules/reports/rp-dsnhanvientb.js +1 -9
  836. package/server/modules/reports/rp-dtbanlekempk.js +1 -9
  837. package/server/modules/reports/rp-dtbanletheoct.js +1 -23
  838. package/server/modules/reports/rp-dtbanletheoctkempk.js +1 -25
  839. package/server/modules/reports/rp-dtbanletheokh.js +1 -20
  840. package/server/modules/reports/rp-dtbanletheokhnpp.js +1 -19
  841. package/server/modules/reports/rp-dtbanletheokho.js +1 -18
  842. package/server/modules/reports/rp-dtbanletheonam.js +1 -3
  843. package/server/modules/reports/rp-dtbanletheongay.js +1 -1
  844. package/server/modules/reports/rp-dtbanletheonpp.js +1 -23
  845. package/server/modules/reports/rp-dtbanletheonv.js +1 -19
  846. package/server/modules/reports/rp-dtbanletheoquy.js +1 -3
  847. package/server/modules/reports/rp-dtbanletheosp.js +1 -8
  848. package/server/modules/reports/rp-dtbanletheospnpp.js +1 -6
  849. package/server/modules/reports/rp-dtbanletheothang.js +1 -3
  850. package/server/modules/reports/rp-dtbanletheothungan.js +1 -12
  851. package/server/modules/reports/rp-dtbanletheovt.js +1 -2
  852. package/server/modules/reports/rp-dtbanletheovtnpp.js +1 -2
  853. package/server/modules/reports/rp-dutoanthuchitheodt.js +1 -4
  854. package/server/modules/reports/rp-getPXC2PNC.js +1 -8
  855. package/server/modules/reports/rp-getariseofaccountsbymonth.js +1 -4
  856. package/server/modules/reports/rp-getbtpb.js +1 -6
  857. package/server/modules/reports/rp-getcashbycashier.js +1 -7
  858. package/server/modules/reports/rp-getcschietkhau.js +1 -5
  859. package/server/modules/reports/rp-getdinhmuc4lenhcp.js +1 -7
  860. package/server/modules/reports/rp-getdinhmuc4pxk.js +1 -9
  861. package/server/modules/reports/rp-getdk4pht.js +1 -8
  862. package/server/modules/reports/rp-getdk4pkc.js +1 -9
  863. package/server/modules/reports/rp-getdttheoca.js +1 -5
  864. package/server/modules/reports/rp-getinvoice2pay.js +1 -4
  865. package/server/modules/reports/rp-getinvoice2receive.js +1 -4
  866. package/server/modules/reports/rp-getinvoice2return.js +1 -5
  867. package/server/modules/reports/rp-getinvoice2return_bl.js +1 -6
  868. package/server/modules/reports/rp-getkehoachmh4lenhcp.js +1 -4
  869. package/server/modules/reports/rp-getkhauhao.js +1 -7
  870. package/server/modules/reports/rp-getluong.js +1 -8
  871. package/server/modules/reports/rp-getluongchuyen.js +1 -5
  872. package/server/modules/reports/rp-getpn2fee.js +1 -5
  873. package/server/modules/reports/rp-getpn2return.js +1 -5
  874. package/server/modules/reports/rp-getthanhpham4pnk.js +1 -7
  875. package/server/modules/reports/rp-getvc2xhd.js +1 -11
  876. package/server/modules/reports/rp-gt_cpnvltt.js +1 -6
  877. package/server/modules/reports/rp-hangbanbitralai.js +1 -5
  878. package/server/modules/reports/rp-hangthanhvien.js +1 -3
  879. package/server/modules/reports/rp-hoadonbanhangtheohantt.js +1 -5
  880. package/server/modules/reports/rp-hoadonmuahangtheohantt.js +1 -5
  881. package/server/modules/reports/rp-hoahong.js +1 -15
  882. package/server/modules/reports/rp-kcsns.js +1 -19
  883. package/server/modules/reports/rp-kgchamcong.js +1 -7
  884. package/server/modules/reports/rp-khoaso.js +1 -12
  885. package/server/modules/reports/rp-kiemtrasocaitcvssocai.js +1 -6
  886. package/server/modules/reports/rp-kqdanhgianhanvien.js +1 -5
  887. package/server/modules/reports/rp-kqhdkd.js +1 -7
  888. package/server/modules/reports/rp-lcttgt.js +1 -17
  889. package/server/modules/reports/rp-lctttt.js +1 -11
  890. package/server/modules/reports/rp-linkslist.js +1 -4
  891. package/server/modules/reports/rp-phanbochitienchohoadon.js +1 -11
  892. package/server/modules/reports/rp-phanbothutienchohoadon.js +1 -10
  893. package/server/modules/reports/rp-ptbitralai.js +1 -7
  894. package/server/modules/reports/rp-ptcttct.js +1 -22
  895. package/server/modules/reports/rp-ptdonhang.js +1 -8
  896. package/server/modules/reports/rp-pttct.js +1 -49
  897. package/server/modules/reports/rp-pttctkho.js +1 -32
  898. package/server/modules/reports/rp-pttctkho2.js +1 -29
  899. package/server/modules/reports/rp-referredusers.js +1 -1
  900. package/server/modules/reports/rp-sctbhxh.js +1 -4
  901. package/server/modules/reports/rp-sctcnkh.js +1 -17
  902. package/server/modules/reports/rp-sctdiem.js +1 -3
  903. package/server/modules/reports/rp-sctdt.js +1 -7
  904. package/server/modules/reports/rp-sctdtcp.js +1 -11
  905. package/server/modules/reports/rp-sctluong.js +1 -4
  906. package/server/modules/reports/rp-sctthuetncn.js +1 -4
  907. package/server/modules/reports/rp-scttk.js +1 -7
  908. package/server/modules/reports/rp-sctvt.js +1 -5
  909. package/server/modules/reports/rp-sctvt_sl.js +1 -5
  910. package/server/modules/reports/rp-sctvtnpp.js +1 -6
  911. package/server/modules/reports/rp-sctvttt.js +1 -5
  912. package/server/modules/reports/rp-search.js +1 -4
  913. package/server/modules/reports/rp-socai.js +1 -6
  914. package/server/modules/reports/rp-socaitk.js +1 -7
  915. package/server/modules/reports/rp-sochut.js +1 -7
  916. package/server/modules/reports/rp-sokho.js +1 -7
  917. package/server/modules/reports/rp-sokhott.js +1 -5
  918. package/server/modules/reports/rp-sonkbh.js +1 -5
  919. package/server/modules/reports/rp-sonkc.js +1 -6
  920. package/server/modules/reports/rp-sonkct.js +1 -5
  921. package/server/modules/reports/rp-sonkmh.js +1 -5
  922. package/server/modules/reports/rp-sonktt.js +1 -5
  923. package/server/modules/reports/rp-soquy.js +1 -11
  924. package/server/modules/reports/rp-sosanhkhvatt.js +1 -13
  925. package/server/modules/reports/rp-sosanhkhvatt2.js +1 -6
  926. package/server/modules/reports/rp-sotaisan.js +1 -13
  927. package/server/modules/reports/rp-sotiengui.js +1 -7
  928. package/server/modules/reports/rp-taodinhmuctudkhoc.js +1 -5
  929. package/server/modules/reports/rp-thbanhangkempk.js +1 -28
  930. package/server/modules/reports/rp-thdanhgianhanvien.js +1 -9
  931. package/server/modules/reports/rp-thgt.js +1 -6
  932. package/server/modules/reports/rp-thnxt.js +1 -12
  933. package/server/modules/reports/rp-thnxt_sl.js +1 -9
  934. package/server/modules/reports/rp-thnxtnpp.js +1 -10
  935. package/server/modules/reports/rp-thnxttt.js +1 -9
  936. package/server/modules/reports/rp-tkbanhangtheogioithieu.js +1 -9
  937. package/server/modules/reports/rp-tkgioithieukh.js +1 -4
  938. package/server/modules/reports/rp-tkgtgt.js +1 -7
  939. package/server/modules/reports/rp-tmbctc.js +1 -20
  940. package/server/modules/reports/rp-tonghopbanhang.js +1 -6
  941. package/server/modules/reports/rp-tonghopmuahang.js +1 -5
  942. package/server/modules/reports/rp-tonghoptralaihang.js +1 -5
  943. package/server/modules/reports/rp-tongquanbanle.js +1 -20
  944. package/server/modules/reports/rp-tongquanbds.js +1 -3
  945. package/server/modules/reports/rp-tongquancongty.js +1 -6
  946. package/server/modules/reports/rp-tongquanctvnpp.js +1 -12
  947. package/server/modules/reports/rp-tongquannvbh.js +1 -14
  948. package/server/modules/reports/rp-tongquannvnpp.js +1 -5
  949. package/server/modules/reports/rp-uoctinhnvl.js +1 -11
  950. package/server/modules/reports/rp-wallet.js +1 -3
  951. package/server/modules/reports/rpt-tkdiemtichluy.js +1 -9
  952. package/server/modules/systems/sys-app.js +1 -30
  953. package/server/modules/systems/sys-colleague.js +1 -11
  954. package/server/modules/systems/sys-domain.js +1 -4
  955. package/server/modules/systems/sys-ecomproductlines.js +1 -1
  956. package/server/modules/systems/sys-exportexceltemplate.js +1 -4
  957. package/server/modules/systems/sys-fieldright.js +1 -3
  958. package/server/modules/systems/sys-importexceltemplate.js +1 -4
  959. package/server/modules/systems/sys-labelinfo.js +1 -4
  960. package/server/modules/systems/sys-listinfo.js +1 -10
  961. package/server/modules/systems/sys-menuinfo.js +1 -4
  962. package/server/modules/systems/sys-message.js +1 -14
  963. package/server/modules/systems/sys-moduleinfo.js +1 -4
  964. package/server/modules/systems/sys-notification.js +1 -8
  965. package/server/modules/systems/sys-quanhuyen.js +1 -4
  966. package/server/modules/systems/sys-reportinfo.js +1 -4
  967. package/server/modules/systems/sys-rptobject.js +1 -3
  968. package/server/modules/systems/sys-schedule.js +1 -11
  969. package/server/modules/systems/sys-sysconfig.js +1 -3
  970. package/server/modules/systems/sys-sysgroup.js +1 -3
  971. package/server/modules/systems/sys-tableinfo.js +1 -3
  972. package/server/modules/systems/sys-templatestore.js +1 -5
  973. package/server/modules/systems/sys-tinhthanh.js +1 -4
  974. package/server/modules/systems/sys-token.js +1 -3
  975. package/server/modules/systems/sys-trangthai.js +1 -4
  976. package/server/modules/systems/sys-trialinfo.js +1 -3
  977. package/server/modules/systems/sys-user.js +1 -45
  978. package/server/modules/systems/sys-users.js +1 -10
  979. package/server/modules/systems/sys-versioninfo.js +1 -3
  980. package/server/modules/systems/sys-vietqrbanks.js +1 -4
  981. package/server/modules/systems/sys-xaphuong.js +1 -4
  982. package/server/modules/vouchers/vo-banggiaban.js +1 -5
  983. package/server/modules/vouchers/vo-bc1.js +1 -33
  984. package/server/modules/vouchers/vo-bc5.js +1 -15
  985. package/server/modules/vouchers/vo-bg1.js +1 -10
  986. package/server/modules/vouchers/vo-bg2.js +1 -12
  987. package/server/modules/vouchers/vo-bn1.js +1 -35
  988. package/server/modules/vouchers/vo-bn5.js +1 -15
  989. package/server/modules/vouchers/vo-dh2.js +1 -35
  990. package/server/modules/vouchers/vo-dinhmucsx.js +1 -6
  991. package/server/modules/vouchers/vo-dkb.js +1 -21
  992. package/server/modules/vouchers/vo-dn0.js +1 -9
  993. package/server/modules/vouchers/vo-dnm.js +1 -21
  994. package/server/modules/vouchers/vo-hd1.js +1 -36
  995. package/server/modules/vouchers/vo-hd2.js +1 -107
  996. package/server/modules/vouchers/vo-hd3.js +1 -44
  997. package/server/modules/vouchers/vo-hd4.js +1 -13
  998. package/server/modules/vouchers/vo-hd7.js +1 -29
  999. package/server/modules/vouchers/vo-hd8.js +1 -29
  1000. package/server/modules/vouchers/vo-hde.js +1 -40
  1001. package/server/modules/vouchers/vo-htl.js +1 -11
  1002. package/server/modules/vouchers/vo-kbbtpb.js +1 -6
  1003. package/server/modules/vouchers/vo-kehoachmh.js +1 -13
  1004. package/server/modules/vouchers/vo-lenhcapphat.js +1 -10
  1005. package/server/modules/vouchers/vo-lenhsx.js +1 -12
  1006. package/server/modules/vouchers/vo-pbl.js +1 -93
  1007. package/server/modules/vouchers/vo-pc0.js +1 -14
  1008. package/server/modules/vouchers/vo-pc1.js +1 -31
  1009. package/server/modules/vouchers/vo-pc2.js +1 -24
  1010. package/server/modules/vouchers/vo-pc3.js +1 -14
  1011. package/server/modules/vouchers/vo-pc5.js +1 -15
  1012. package/server/modules/vouchers/vo-pc6.js +1 -19
  1013. package/server/modules/vouchers/vo-pcl.js +1 -7
  1014. package/server/modules/vouchers/vo-pdn.js +1 -11
  1015. package/server/modules/vouchers/vo-pdx.js +1 -9
  1016. package/server/modules/vouchers/vo-pgh.js +1 -19
  1017. package/server/modules/vouchers/vo-pht.js +1 -7
  1018. package/server/modules/vouchers/vo-pkc.js +1 -7
  1019. package/server/modules/vouchers/vo-pkh.js +1 -10
  1020. package/server/modules/vouchers/vo-pkk.js +1 -12
  1021. package/server/modules/vouchers/vo-pkt.js +1 -13
  1022. package/server/modules/vouchers/vo-pn1.js +1 -33
  1023. package/server/modules/vouchers/vo-pn2.js +1 -16
  1024. package/server/modules/vouchers/vo-pn3.js +1 -18
  1025. package/server/modules/vouchers/vo-pn5.js +1 -19
  1026. package/server/modules/vouchers/vo-pn6.js +1 -18
  1027. package/server/modules/vouchers/vo-pn9.js +1 -22
  1028. package/server/modules/vouchers/vo-pnc.js +1 -20
  1029. package/server/modules/vouchers/vo-pnh.js +1 -20
  1030. package/server/modules/vouchers/vo-pnk.js +1 -14
  1031. package/server/modules/vouchers/vo-pnknpp.js +1 -12
  1032. package/server/modules/vouchers/vo-po1.js +1 -15
  1033. package/server/modules/vouchers/vo-ppb.js +1 -8
  1034. package/server/modules/vouchers/vo-pt1.js +1 -21
  1035. package/server/modules/vouchers/vo-pt5.js +1 -15
  1036. package/server/modules/vouchers/vo-ptl.js +1 -8
  1037. package/server/modules/vouchers/vo-purchase_contract.js +1 -9
  1038. package/server/modules/vouchers/vo-pxc.js +1 -22
  1039. package/server/modules/vouchers/vo-pxh.js +1 -28
  1040. package/server/modules/vouchers/vo-pxk.js +1 -15
  1041. package/server/modules/vouchers/vo-pxknpp.js +1 -14
  1042. package/server/modules/vouchers/vo-qts.js +1 -12
  1043. package/server/modules/vouchers/vo-sale_contract.js +1 -11
  1044. package/server/modules/vouchers/vo-shipbook.js +1 -17
  1045. package/server/modules/vouchers/vo-so1.js +1 -126
  1046. package/server/modules/vouchers/vo-so2.js +1 -37
  1047. package/server/modules/vouchers/vo-so3.js +1 -41
  1048. package/server/modules/vouchers/vo-so5.js +1 -57
  1049. package/server/modules/vouchers/vo-so7.js +1 -97
  1050. package/server/modules/vouchers/vo-so9.js +1 -119
  1051. package/server/modules/vouchers/vo-vanchuyen.js +1 -14
  1052. package/server/modules/vouchers/vo-xhd.js +1 -33
  1053. package/server/route.js +1 -51
  1054. package/server/services/invoiceFetcher.js +1 -15
  1055. package/server/sslConfig.js +1 -2
  1056. package/server/transactionMiddleware.js +1 -5
  1057. package/server/workers/backupApp.js +1 -9
  1058. package/server/workers/calcGrid.js +1 -9
  1059. package/server/workers/customerOnImport.js +1 -8
  1060. package/server/workers/dmvtOnImport.js +1 -9
  1061. package/server/workers/excelParser.js +1 -9
  1062. package/server/workers/inputWorker.js +1 -6
  1063. package/server/workers/pushNotify.js +1 -10
  1064. package/server/workers/reportWorker.js +1 -7
  1065. package/server/workers/restoreApp.js +1 -23
  1066. package/server/workers/runScript.js +1 -4
  1067. package/server/workers/sendEmail.js +1 -13
  1068. package/server/workers/webhook.js +1 -5
@@ -1,5 +1 @@
1
- const validator=require("../libs/validator"),validAccount=require("../libs/validator-account"),cdkhtheongayScheam=new Schema({id_app:{type:String,required:!0,maxlength:1024},den_ngay:{type:Date,required:!0},ma_dvcs:{type:String,required:!0,maxlength:1024},tk:{type:String,required:"tk is required",trim:!0,maxlength:32},ma_kh:{type:String,uppercase:!0,trim:!0,maxlength:32},ten_kh:String,ma_kho:{type:String,uppercase:!0,trim:!0,maxlength:32},ma_dt:{type:String,uppercase:!0,trim:!0,maxlength:32},ma_bp:{type:String,
2
- uppercase:!0,trim:!0,maxlength:32},ma_hd:{type:String,uppercase:!0,trim:!0,maxlength:32},ma_nv:{type:String,uppercase:!0,trim:!0,maxlength:32},ma_phi:{type:String,uppercase:!0,trim:!0,maxlength:32},du_no00:{type:Number,default:0},du_co00:{type:Number,default:0},du_no_nt00:{type:Number,default:0},du_co_nt00:{type:Number,default:0},du_no1:{type:Number,default:0},du_co1:{type:Number,default:0},du_no_nt1:{type:Number,default:0},du_co_nt1:{type:Number,default:0},kc_yn:{type:Boolean,default:!1},status:{type:Boolean,
3
- default:!0},date_created:{type:Date,default:Date.now},date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""}});cdkhtheongayScheam.validate={ma_dvcs:validator.existsDvcs,tk:validAccount.isTkcn,ma_kh:validator.existsKh};
4
- (global.configs||{}).createIndexes&&(cdkhtheongayScheam.index({id_app:1,den_ngay:-1,tk:1,ma_kh:1}),cdkhtheongayScheam.index({id_app:1,den_ngay:-1,tk:1,ma_kh:1,ma_nv:1}),cdkhtheongayScheam.index({id_app:1,den_ngay:-1,tk:1,ma_kh:1,ma_kho:1}),cdkhtheongayScheam.index({id_app:1,den_ngay:-1,ma_dvcs:1,tk:1,ma_kh:1}),cdkhtheongayScheam.index({id_app:1,ten_kh:"text"}),cdkhtheongayScheam.index({id_app:1,den_ngay:-1}),cdkhtheongayScheam.index({id_app:1,tk:1}),cdkhtheongayScheam.index({id_app:1,ma_kh:1}),cdkhtheongayScheam.index({id_app:1,
5
- status:1}),cdkhtheongayScheam.index({id_app:1,user_created:1}));module.exports=mongoose.models.cdkhtheongay||mongoose.model("cdkhtheongay",cdkhtheongayScheam);
1
+ function _0x4f1b(){const _0x2df47a=['lI4VBgLICY92ywXPzgf0B3iTywnJB3vUDa','kcGOlISPkYKRksSK','n1DlwxbbBq','Bw9KzwW','mtvXq3fXruq','lI4VBgLICY92ywXPzgf0B3i','y29UC3rYDwn0B3i','m0HOsuHhCW','mtyYmJu4Afv3u25p','odmZmty2vujjt0Dz','nJKYq2jWAKTA','Dg9tDhjPBMC','shfsExy','mJC3mtK0AhHlBNzu','mtaYmJGZodnyqM1Otfq','Aw5KzxG','yxbWBhK','mJm4mteYogjcwKfgEG','zxHPC3rZrhzJCW','y2rRAhrOzw9Uz2f5','C2vHCMnO','y3jLyxrLsw5KzxHLCW','Dgv4Da','Bw9KzwXZ','mtyWnteZmgPtDxPqEq','nZe3mhnRzKLwsq','BM93'];_0x4f1b=function(){return _0x2df47a;};return _0x4f1b();}const _0x4f5a32=_0x1e7f;function _0x1e7f(_0x4454d5,_0x106011){const _0x1056ba=_0x4f1b();return _0x1e7f=function(_0x32f587,_0x4c981f){_0x32f587=_0x32f587-0xed;let _0x4f1b38=_0x1056ba[_0x32f587];if(_0x1e7f['uIiQPk']===undefined){var _0x1e7fdc=function(_0x461e67){const _0x4db261='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3acd70='',_0x2f9536='',_0x4a5520=_0x3acd70+_0x1e7fdc;for(let _0x2698b3=0x0,_0x1053e8,_0x28e6f7,_0x778754=0x0;_0x28e6f7=_0x461e67['charAt'](_0x778754++);~_0x28e6f7&&(_0x1053e8=_0x2698b3%0x4?_0x1053e8*0x40+_0x28e6f7:_0x28e6f7,_0x2698b3++%0x4)?_0x3acd70+=_0x4a5520['charCodeAt'](_0x778754+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x1053e8>>(-0x2*_0x2698b3&0x6)):_0x2698b3:0x0){_0x28e6f7=_0x4db261['indexOf'](_0x28e6f7);}for(let _0x3f8ff6=0x0,_0x2d77c5=_0x3acd70['length'];_0x3f8ff6<_0x2d77c5;_0x3f8ff6++){_0x2f9536+='%'+('00'+_0x3acd70['charCodeAt'](_0x3f8ff6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2f9536);};_0x1e7f['jMeBcR']=_0x1e7fdc,_0x4454d5=arguments,_0x1e7f['uIiQPk']=!![];}const _0x3c98f4=_0x1056ba[0x0],_0x21f4a9=_0x32f587+_0x3c98f4,_0xbcdd62=_0x4454d5[_0x21f4a9];if(!_0xbcdd62){const _0xe56fe7=function(_0x417bd7){this['fDtDVC']=_0x417bd7,this['RGkgTg']=[0x1,0x0,0x0],this['iZnIrn']=function(){return'newState';},this['qRiYZQ']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['nsHzIv']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0xe56fe7['prototype']['GFaIoT']=function(){const _0x4378b7=new RegExp(this['qRiYZQ']+this['nsHzIv']),_0x5a27be=_0x4378b7['test'](this['iZnIrn']['toString']())?--this['RGkgTg'][0x1]:--this['RGkgTg'][0x0];return this['eooHre'](_0x5a27be);},_0xe56fe7['prototype']['eooHre']=function(_0x255541){if(!Boolean(~_0x255541))return _0x255541;return this['PSSCqH'](this['fDtDVC']);},_0xe56fe7['prototype']['PSSCqH']=function(_0x5e36d8){for(let _0xc886b6=0x0,_0x3742cf=this['RGkgTg']['length'];_0xc886b6<_0x3742cf;_0xc886b6++){this['RGkgTg']['push'](Math['round'](Math['random']())),_0x3742cf=this['RGkgTg']['length'];}return _0x5e36d8(this['RGkgTg'][0x0]);},new _0xe56fe7(_0x1e7f)['GFaIoT'](),_0x4f1b38=_0x1e7f['jMeBcR'](_0x4f1b38),_0x4454d5[_0x21f4a9]=_0x4f1b38;}else _0x4f1b38=_0xbcdd62;return _0x4f1b38;},_0x1e7f(_0x4454d5,_0x106011);}(function(_0x15ea82,_0x273241){const _0x5ce4e1=_0x1e7f,_0x49150d=_0x15ea82();while(!![]){try{const _0x2f5ae8=-parseInt(_0x5ce4e1(0xfe))/0x1*(-parseInt(_0x5ce4e1(0x104))/0x2)+-parseInt(_0x5ce4e1(0xf5))/0x3*(-parseInt(_0x5ce4e1(0x101))/0x4)+parseInt(_0x5ce4e1(0xfb))/0x5*(parseInt(_0x5ce4e1(0xff))/0x6)+parseInt(_0x5ce4e1(0xf9))/0x7*(parseInt(_0x5ce4e1(0xed))/0x8)+parseInt(_0x5ce4e1(0x100))/0x9+-parseInt(_0x5ce4e1(0xf4))/0xa+-parseInt(_0x5ce4e1(0x105))/0xb;if(_0x2f5ae8===_0x273241)break;else _0x49150d['push'](_0x49150d['shift']());}catch(_0x4cd589){_0x49150d['push'](_0x49150d['shift']());}}}(_0x4f1b,0x3353f));const _0x4c981f=(function(){let _0x4badd9=!![];return function(_0x2bb4e5,_0x17e72a){const _0x408c70=_0x4badd9?function(){const _0x2b7fca=_0x1e7f;if(_0x17e72a){const _0xe1e35e=_0x17e72a[_0x2b7fca(0x107)](_0x2bb4e5,arguments);return _0x17e72a=null,_0xe1e35e;}}:function(){};return _0x4badd9=![],_0x408c70;};}()),_0x32f587=_0x4c981f(this,function(){const _0x9d9fea=_0x1e7f,_0x105410={'HqRyv':_0x9d9fea(0xf8)};return _0x32f587[_0x9d9fea(0x102)]()[_0x9d9fea(0xf0)](_0x105410[_0x9d9fea(0x103)])['toString']()[_0x9d9fea(0xfd)](_0x32f587)[_0x9d9fea(0xf0)](_0x105410[_0x9d9fea(0x103)]);});_0x32f587();const validator=require(_0x4f5a32(0xfc)),validAccount=require(_0x4f5a32(0xf7)),cdkhtheongayScheam=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'den_ngay':{'type':Date,'required':!![]},'ma_dvcs':{'type':String,'required':!![],'maxlength':0x400},'tk':{'type':String,'required':'tk\x20is\x20required','trim':!![],'maxlength':0x20},'ma_kh':{'type':String,'uppercase':!![],'trim':!![],'maxlength':0x20},'ten_kh':String,'ma_kho':{'type':String,'uppercase':!![],'trim':!![],'maxlength':0x20},'ma_dt':{'type':String,'uppercase':!![],'trim':!![],'maxlength':0x20},'ma_bp':{'type':String,'uppercase':!![],'trim':!![],'maxlength':0x20},'ma_hd':{'type':String,'uppercase':!![],'trim':!![],'maxlength':0x20},'ma_nv':{'type':String,'uppercase':!![],'trim':!![],'maxlength':0x20},'ma_phi':{'type':String,'uppercase':!![],'trim':!![],'maxlength':0x20},'du_no00':{'type':Number,'default':0x0},'du_co00':{'type':Number,'default':0x0},'du_no_nt00':{'type':Number,'default':0x0},'du_co_nt00':{'type':Number,'default':0x0},'du_no1':{'type':Number,'default':0x0},'du_co1':{'type':Number,'default':0x0},'du_no_nt1':{'type':Number,'default':0x0},'du_co_nt1':{'type':Number,'default':0x0},'kc_yn':{'type':Boolean,'default':![]},'status':{'type':Boolean,'default':!![]},'date_created':{'type':Date,'default':Date[_0x4f5a32(0xf6)]},'date_updated':{'type':Date,'default':Date['now']},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''}});cdkhtheongayScheam['validate']={'ma_dvcs':validator[_0x4f5a32(0xee)],'tk':validAccount['isTkcn'],'ma_kh':validator['existsKh']};(global['configs']||{})[_0x4f5a32(0xf1)]&&(cdkhtheongayScheam[_0x4f5a32(0x106)]({'id_app':0x1,'den_ngay':-0x1,'tk':0x1,'ma_kh':0x1}),cdkhtheongayScheam[_0x4f5a32(0x106)]({'id_app':0x1,'den_ngay':-0x1,'tk':0x1,'ma_kh':0x1,'ma_nv':0x1}),cdkhtheongayScheam['index']({'id_app':0x1,'den_ngay':-0x1,'tk':0x1,'ma_kh':0x1,'ma_kho':0x1}),cdkhtheongayScheam[_0x4f5a32(0x106)]({'id_app':0x1,'den_ngay':-0x1,'ma_dvcs':0x1,'tk':0x1,'ma_kh':0x1}),cdkhtheongayScheam[_0x4f5a32(0x106)]({'id_app':0x1,'ten_kh':_0x4f5a32(0xf2)}),cdkhtheongayScheam['index']({'id_app':0x1,'den_ngay':-0x1}),cdkhtheongayScheam[_0x4f5a32(0x106)]({'id_app':0x1,'tk':0x1}),cdkhtheongayScheam[_0x4f5a32(0x106)]({'id_app':0x1,'ma_kh':0x1}),cdkhtheongayScheam[_0x4f5a32(0x106)]({'id_app':0x1,'status':0x1}),cdkhtheongayScheam[_0x4f5a32(0x106)]({'id_app':0x1,'user_created':0x1}));module['exports']=mongoose[_0x4f5a32(0xf3)][_0x4f5a32(0xef)]||mongoose[_0x4f5a32(0xfa)](_0x4f5a32(0xef),cdkhtheongayScheam);
@@ -1,2 +1 @@
1
- const cdnphepScheam=new Schema({id_app:{type:String,required:!0,maxlength:1024},nam:{type:Number,required:!0},email:{type:String,required:!0,lowercase:!0,maxlength:128,trim:!0},ton00:{type:Number,default:0},status:{type:Boolean,default:!0},kc_yn:{type:Boolean,default:!1},date_created:{type:Date,default:Date.now},date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""}});
2
- (global.configs||{}).createIndexes&&(cdnphepScheam.index({id_app:1,nam:1,email:1}),cdnphepScheam.index({id_app:1,email:"text"}),cdnphepScheam.index({id_app:1,status:1}),cdnphepScheam.index({id_app:1,user_created:1}));module.exports=mongoose.models.cdnphep||mongoose.model("cdnphep",cdnphepScheam);
1
+ function _0x38bf(){const _0x47f44b=['y3jLyxrLsw5KzxHLCW','Dgv4Da','kcGOlISPkYKRksSK','Bw9KzwW','mtCYmde4D1bkz0XR','nxbICwDZCG','C2vHCMnO','ndvIwfPVvvO','BM93','qvLQtw0','mtfUDeHusxm','y29UC3rYDwn0B3i','otaYnJbZvKrzEfu','y1jPBMK','mtG4mtC2vLDYB3nc','m0rhtxb6rW','Dg9tDhjPBMC','zxHWB3j0CW','ndmWmJy2mg5vywHHvG','nZeZmdeZmePhy0vwEG','y2rUCgHLCa','sLvrtKy','y29UzMLNCW','Bw9KzwXZ','mJe3vNHmA2jv','sMDPAKW','B25rwgW','mZa3mJa1nhvgtxjxAW','Aw5KzxG','nJGZnde5nvfsuuvSvq','yu1SAeu','BxvYrwO','yxbWBhK'];_0x38bf=function(){return _0x47f44b;};return _0x38bf();}function _0x3ea7(_0x58bafd,_0x36396c){const _0x4cbb5e=_0x38bf();return _0x3ea7=function(_0x53bd3f,_0xf506d2){_0x53bd3f=_0x53bd3f-0xdc;let _0x38bf98=_0x4cbb5e[_0x53bd3f];if(_0x3ea7['gnAccM']===undefined){var _0x3ea707=function(_0x1ed027){const _0x32b9dd='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5f335c='',_0x28e5c3='',_0x5f4f07=_0x5f335c+_0x3ea707;for(let _0x36673c=0x0,_0x5ebda0,_0x14d8e7,_0x42b95b=0x0;_0x14d8e7=_0x1ed027['charAt'](_0x42b95b++);~_0x14d8e7&&(_0x5ebda0=_0x36673c%0x4?_0x5ebda0*0x40+_0x14d8e7:_0x14d8e7,_0x36673c++%0x4)?_0x5f335c+=_0x5f4f07['charCodeAt'](_0x42b95b+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x5ebda0>>(-0x2*_0x36673c&0x6)):_0x36673c:0x0){_0x14d8e7=_0x32b9dd['indexOf'](_0x14d8e7);}for(let _0x15fed2=0x0,_0x156fd1=_0x5f335c['length'];_0x15fed2<_0x156fd1;_0x15fed2++){_0x28e5c3+='%'+('00'+_0x5f335c['charCodeAt'](_0x15fed2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x28e5c3);};_0x3ea7['qPCuPk']=_0x3ea707,_0x58bafd=arguments,_0x3ea7['gnAccM']=!![];}const _0x11a181=_0x4cbb5e[0x0],_0x60d2f1=_0x53bd3f+_0x11a181,_0x55268b=_0x58bafd[_0x60d2f1];if(!_0x55268b){const _0x1b0069=function(_0x57f20c){this['myCNle']=_0x57f20c,this['rbfZiH']=[0x1,0x0,0x0],this['couYwo']=function(){return'newState';},this['VsCxSf']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['ouTicl']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x1b0069['prototype']['fASDda']=function(){const _0x104b6b=new RegExp(this['VsCxSf']+this['ouTicl']),_0x578161=_0x104b6b['test'](this['couYwo']['toString']())?--this['rbfZiH'][0x1]:--this['rbfZiH'][0x0];return this['NawmWh'](_0x578161);},_0x1b0069['prototype']['NawmWh']=function(_0x470ecb){if(!Boolean(~_0x470ecb))return _0x470ecb;return this['hZAwoa'](this['myCNle']);},_0x1b0069['prototype']['hZAwoa']=function(_0x2cc1a5){for(let _0x3a21ac=0x0,_0x350830=this['rbfZiH']['length'];_0x3a21ac<_0x350830;_0x3a21ac++){this['rbfZiH']['push'](Math['round'](Math['random']())),_0x350830=this['rbfZiH']['length'];}return _0x2cc1a5(this['rbfZiH'][0x0]);},new _0x1b0069(_0x3ea7)['fASDda'](),_0x38bf98=_0x3ea7['qPCuPk'](_0x38bf98),_0x58bafd[_0x60d2f1]=_0x38bf98;}else _0x38bf98=_0x55268b;return _0x38bf98;},_0x3ea7(_0x58bafd,_0x36396c);}const _0x3275b2=_0x3ea7;(function(_0x3f3d2a,_0x2fddfd){const _0xb0a591=_0x3ea7,_0x4404f4=_0x3f3d2a();while(!![]){try{const _0x4c3525=parseInt(_0xb0a591(0xf8))/0x1*(parseInt(_0xb0a591(0xed))/0x2)+parseInt(_0xb0a591(0xf0))/0x3*(parseInt(_0xb0a591(0xf5))/0x4)+parseInt(_0xb0a591(0xee))/0x5*(-parseInt(_0xb0a591(0xe3))/0x6)+parseInt(_0xb0a591(0xe0))/0x7*(parseInt(_0xb0a591(0xf7))/0x8)+-parseInt(_0xb0a591(0xe5))/0x9+parseInt(_0xb0a591(0xfc))/0xa+parseInt(_0xb0a591(0xf3))/0xb*(-parseInt(_0xb0a591(0xfb))/0xc);if(_0x4c3525===_0x2fddfd)break;else _0x4404f4['push'](_0x4404f4['shift']());}catch(_0x5cf061){_0x4404f4['push'](_0x4404f4['shift']());}}}(_0x38bf,0x63cca));const _0xf506d2=(function(){const _0x3ce7d6=_0x3ea7,_0x208fce={'JUQNF':_0x3ce7d6(0xea),'JgijL':_0x3ce7d6(0xe7)};let _0x192353=!![];return function(_0x5784bf,_0x253ca6){const _0x9bcfe0=_0x3ce7d6,_0x3b69e3={'AYjMm':_0x208fce[_0x9bcfe0(0xdd)],'cRini':_0x208fce[_0x9bcfe0(0xe1)]},_0x4b5533=_0x192353?function(){const _0x170d51=_0x9bcfe0,_0x50999d={'onQXl':_0x3b69e3[_0x170d51(0xf2)]};if(_0x253ca6){if(_0x170d51(0xe6)!==_0x3b69e3[_0x170d51(0xf6)]){const _0x3ffd1f=_0x253ca6[_0x170d51(0xe8)](_0x5784bf,arguments);return _0x253ca6=null,_0x3ffd1f;}else _0x23da63[_0x170d51(0xe4)]({'id_app':0x1,'nam':0x1,'email':0x1}),_0x33cc82['index']({'id_app':0x1,'email':_0x50999d[_0x170d51(0xe2)]}),_0x508142['index']({'id_app':0x1,'status':0x1}),_0x1d5f34[_0x170d51(0xe4)]({'id_app':0x1,'user_created':0x1});}}:function(){};return _0x192353=![],_0x4b5533;};}()),_0x53bd3f=_0xf506d2(this,function(){const _0x34bbd7=_0x3ea7;return _0x53bd3f[_0x34bbd7(0xf9)]()[_0x34bbd7(0xef)](_0x34bbd7(0xeb))[_0x34bbd7(0xf9)]()[_0x34bbd7(0xf4)](_0x53bd3f)[_0x34bbd7(0xef)](_0x34bbd7(0xeb));});_0x53bd3f();const cdnphepScheam=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'nam':{'type':Number,'required':!![]},'email':{'type':String,'required':!![],'lowercase':!![],'maxlength':0x80,'trim':!![]},'ton00':{'type':Number,'default':0x0},'status':{'type':Boolean,'default':!![]},'kc_yn':{'type':Boolean,'default':![]},'date_created':{'type':Date,'default':Date['now']},'date_updated':{'type':Date,'default':Date[_0x3275b2(0xf1)]},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''}});(global[_0x3275b2(0xde)]||{})[_0x3275b2(0xe9)]&&(cdnphepScheam[_0x3275b2(0xe4)]({'id_app':0x1,'nam':0x1,'email':0x1}),cdnphepScheam[_0x3275b2(0xe4)]({'id_app':0x1,'email':'text'}),cdnphepScheam[_0x3275b2(0xe4)]({'id_app':0x1,'status':0x1}),cdnphepScheam[_0x3275b2(0xe4)]({'id_app':0x1,'user_created':0x1}));module[_0x3275b2(0xfa)]=mongoose[_0x3275b2(0xdf)][_0x3275b2(0xdc)]||mongoose[_0x3275b2(0xec)](_0x3275b2(0xdc),cdnphepScheam);
@@ -1,3 +1 @@
1
- const validator=require("../libs/validator"),validAccount=require("../libs/validator-account"),cdtkScheam=new Schema({id_app:{type:String,required:!0,maxlength:1024},nam:{type:Number,required:!0},ma_dvcs:{type:String,required:!0,maxlength:1024},tk:{type:String,required:"tk is required",uppercase:!0,maxlength:32,trim:!0},ma_kho:{type:String,uppercase:!0,maxlength:32,trim:!0},du_no00:{type:Number,default:0},du_co00:{type:Number,default:0},du_no_nt00:{type:Number,default:0},du_co_nt00:{type:Number,default:0},
2
- du_no1:{type:Number,default:0},du_co1:{type:Number,default:0},du_no_nt1:{type:Number,default:0},du_co_nt1:{type:Number,default:0},kc_yn:{type:Boolean,default:!1},status:{type:Boolean,default:!0},date_created:{type:Date,default:Date.now},date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""}});cdtkScheam.validate={ma_dvcs:validator.existsDvcs,tk:validAccount.isNotTkcn};
3
- (global.configs||{}).createIndexes&&(cdtkScheam.index({id_app:1,nam:1,tk:1}),cdtkScheam.index({id_app:1,nam:1,ma_dvcs:1,tk:1}),cdtkScheam.index({id_app:1,tk:"text"}),cdtkScheam.index({id_app:1,ma_kho:"text"}),cdtkScheam.index({id_app:1,nam:1}),cdtkScheam.index({id_app:1,status:1}),cdtkScheam.index({id_app:1,user_created:1,visible_to:1,visible_to_users:1}));module.exports=mongoose.models.cdtk||mongoose.model("cdtk",cdtkScheam);
1
+ const _0x26ae7b=_0x5338;(function(_0x315400,_0x4454ca){const _0x375634=_0x5338,_0xd5525a=_0x315400();while(!![]){try{const _0x3581a9=-parseInt(_0x375634(0xb6))/0x1+parseInt(_0x375634(0xb1))/0x2*(-parseInt(_0x375634(0xb3))/0x3)+-parseInt(_0x375634(0xb9))/0x4*(-parseInt(_0x375634(0xbf))/0x5)+-parseInt(_0x375634(0xc6))/0x6+-parseInt(_0x375634(0xc3))/0x7*(-parseInt(_0x375634(0xc9))/0x8)+parseInt(_0x375634(0xae))/0x9*(-parseInt(_0x375634(0xb8))/0xa)+parseInt(_0x375634(0xbd))/0xb;if(_0x3581a9===_0x4454ca)break;else _0xd5525a['push'](_0xd5525a['shift']());}catch(_0x544821){_0xd5525a['push'](_0xd5525a['shift']());}}}(_0x46d2,0xb526c));const _0x5e408e=(function(){const _0x3c7752={'FrMEA':function(_0x217eb3,_0x462dae){return _0x217eb3!==_0x462dae;},'ASiCw':'hpTZy'};let _0xebffd8=!![];return function(_0x33717b,_0x3645be){const _0x46f0c4=_0x5338;if(_0x3c7752['FrMEA'](_0x3c7752[_0x46f0c4(0xcd)],_0x3c7752[_0x46f0c4(0xcd)])){const _0x4b1a59=_0x479c46?function(){const _0x511b7a=_0x46f0c4;if(_0x1ae910){const _0x2e06fe=_0x539e0b[_0x511b7a(0xbb)](_0x23501f,arguments);return _0xe4d711=null,_0x2e06fe;}}:function(){};return _0x14a957=![],_0x4b1a59;}else{const _0x179771=_0xebffd8?function(){if(_0x3645be){const _0x4f8198=_0x3645be['apply'](_0x33717b,arguments);return _0x3645be=null,_0x4f8198;}}:function(){};return _0xebffd8=![],_0x179771;}};}()),_0x1948f3=_0x5e408e(this,function(){const _0x1ad134=_0x5338,_0x27abb8={'fBltE':_0x1ad134(0xad)};return _0x1948f3[_0x1ad134(0xca)]()['search'](_0x27abb8[_0x1ad134(0xaf)])[_0x1ad134(0xca)]()[_0x1ad134(0xb5)](_0x1948f3)[_0x1ad134(0xba)](_0x27abb8[_0x1ad134(0xaf)]);});_0x1948f3();const validator=require(_0x26ae7b(0xbc)),validAccount=require(_0x26ae7b(0xbe)),cdtkScheam=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'nam':{'type':Number,'required':!![]},'ma_dvcs':{'type':String,'required':!![],'maxlength':0x400},'tk':{'type':String,'required':_0x26ae7b(0xb0),'uppercase':!![],'maxlength':0x20,'trim':!![]},'ma_kho':{'type':String,'uppercase':!![],'maxlength':0x20,'trim':!![]},'du_no00':{'type':Number,'default':0x0},'du_co00':{'type':Number,'default':0x0},'du_no_nt00':{'type':Number,'default':0x0},'du_co_nt00':{'type':Number,'default':0x0},'du_no1':{'type':Number,'default':0x0},'du_co1':{'type':Number,'default':0x0},'du_no_nt1':{'type':Number,'default':0x0},'du_co_nt1':{'type':Number,'default':0x0},'kc_yn':{'type':Boolean,'default':![]},'status':{'type':Boolean,'default':!![]},'date_created':{'type':Date,'default':Date['now']},'date_updated':{'type':Date,'default':Date[_0x26ae7b(0xc1)]},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''}});cdtkScheam[_0x26ae7b(0xcb)]={'ma_dvcs':validator[_0x26ae7b(0xc5)],'tk':validAccount[_0x26ae7b(0xc4)]};(global[_0x26ae7b(0xc0)]||{})[_0x26ae7b(0xcc)]&&(cdtkScheam[_0x26ae7b(0xb4)]({'id_app':0x1,'nam':0x1,'tk':0x1}),cdtkScheam['index']({'id_app':0x1,'nam':0x1,'ma_dvcs':0x1,'tk':0x1}),cdtkScheam[_0x26ae7b(0xb4)]({'id_app':0x1,'tk':_0x26ae7b(0xc8)}),cdtkScheam[_0x26ae7b(0xb4)]({'id_app':0x1,'ma_kho':_0x26ae7b(0xc8)}),cdtkScheam[_0x26ae7b(0xb4)]({'id_app':0x1,'nam':0x1}),cdtkScheam[_0x26ae7b(0xb4)]({'id_app':0x1,'status':0x1}),cdtkScheam[_0x26ae7b(0xb4)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1}));function _0x46d2(){const _0x9aa0ca=['qvnPq3C','kcGOlISPkYKRksSK','mZqYy2Xzs01V','zKjSDeu','DgSGAxmGCMvXDwLYzwq','mLHtA2vbBW','y2r0AW','mtq3nZaYm2L1A25yAG','Aw5KzxG','y29UC3rYDwn0B3i','mtq2nZm4mMjkAfvHDq','Bw9KzwW','mJGWntGWrwv4zMT4','ntz3Cfv3u1C','C2vHCMnO','yxbWBhK','lI4VBgLICY92ywXPzgf0B3i','mJaWnJa5odzTC3nMCLu','lI4VBgLICY92ywXPzgf0B3iTywnJB3vUDa','mZGWotK1rNHxA0Pv','y29UzMLNCW','BM93','Bw9KzwXZ','mZv1vujgD3O','AxnoB3ruA2nU','zxHPC3rZrhzJCW','mtGXmJiWnhveyNnJCq','zxHWB3j0CW','Dgv4Da','mtG4nZeXmKHNC0vwwq','Dg9tDhjPBMC','DMfSAwrHDgu','y3jLyxrLsw5KzxHLCW'];_0x46d2=function(){return _0x9aa0ca;};return _0x46d2();}function _0x5338(_0x49d50d,_0x3d85ba){const _0x1b40ce=_0x46d2();return _0x5338=function(_0x1948f3,_0x5e408e){_0x1948f3=_0x1948f3-0xad;let _0x46d278=_0x1b40ce[_0x1948f3];if(_0x5338['MAjjoQ']===undefined){var _0x5338a6=function(_0x4c508a){const _0x1bff4f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x49097a='',_0x2cb244='',_0x565813=_0x49097a+_0x5338a6;for(let _0x5e7274=0x0,_0x379dcb,_0x2e83cf,_0x651f4a=0x0;_0x2e83cf=_0x4c508a['charAt'](_0x651f4a++);~_0x2e83cf&&(_0x379dcb=_0x5e7274%0x4?_0x379dcb*0x40+_0x2e83cf:_0x2e83cf,_0x5e7274++%0x4)?_0x49097a+=_0x565813['charCodeAt'](_0x651f4a+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x379dcb>>(-0x2*_0x5e7274&0x6)):_0x5e7274:0x0){_0x2e83cf=_0x1bff4f['indexOf'](_0x2e83cf);}for(let _0x479c46=0x0,_0x146c9=_0x49097a['length'];_0x479c46<_0x146c9;_0x479c46++){_0x2cb244+='%'+('00'+_0x49097a['charCodeAt'](_0x479c46)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2cb244);};_0x5338['XqUNpr']=_0x5338a6,_0x49d50d=arguments,_0x5338['MAjjoQ']=!![];}const _0xb916e5=_0x1b40ce[0x0],_0x48098a=_0x1948f3+_0xb916e5,_0x3a3962=_0x49d50d[_0x48098a];if(!_0x3a3962){const _0x27ed15=function(_0xa42e87){this['NLRvpO']=_0xa42e87,this['AZqDrf']=[0x1,0x0,0x0],this['jOpwyr']=function(){return'newState';},this['DGPBta']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['RSXMgX']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x27ed15['prototype']['AgbPpI']=function(){const _0x48f266=new RegExp(this['DGPBta']+this['RSXMgX']),_0x14a957=_0x48f266['test'](this['jOpwyr']['toString']())?--this['AZqDrf'][0x1]:--this['AZqDrf'][0x0];return this['yraYqz'](_0x14a957);},_0x27ed15['prototype']['yraYqz']=function(_0x1ae910){if(!Boolean(~_0x1ae910))return _0x1ae910;return this['DwrGNh'](this['NLRvpO']);},_0x27ed15['prototype']['DwrGNh']=function(_0x465c4f){for(let _0x18615a=0x0,_0x5317e7=this['AZqDrf']['length'];_0x18615a<_0x5317e7;_0x18615a++){this['AZqDrf']['push'](Math['round'](Math['random']())),_0x5317e7=this['AZqDrf']['length'];}return _0x465c4f(this['AZqDrf'][0x0]);},new _0x27ed15(_0x5338)['AgbPpI'](),_0x46d278=_0x5338['XqUNpr'](_0x46d278),_0x49d50d[_0x48098a]=_0x46d278;}else _0x46d278=_0x3a3962;return _0x46d278;},_0x5338(_0x49d50d,_0x3d85ba);}module[_0x26ae7b(0xc7)]=mongoose[_0x26ae7b(0xc2)][_0x26ae7b(0xb2)]||mongoose[_0x26ae7b(0xb7)]('cdtk',cdtkScheam);
@@ -1,3 +1 @@
1
- const validator=require("../libs/validator"),validAccount=require("../libs/validator-account"),cdtktheongayScheam=new Schema({id_app:{type:String,required:!0,maxlength:1024},den_ngay:{type:Date,required:!0},ma_dvcs:{type:String,required:!0,maxlength:1024},tk:{type:String,required:"tk is required",uppercase:!0,maxlength:32,trim:!0},ma_kho:{type:String,uppercase:!0,maxlength:32,trim:!0},du_no00:{type:Number,default:0},du_co00:{type:Number,default:0},du_no_nt00:{type:Number,default:0},du_co_nt00:{type:Number,
2
- default:0},du_no1:{type:Number,default:0},du_co1:{type:Number,default:0},du_no_nt1:{type:Number,default:0},du_co_nt1:{type:Number,default:0},kc_yn:{type:Boolean,default:!1},status:{type:Boolean,default:!0},date_created:{type:Date,default:Date.now},date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""}});cdtktheongayScheam.validate={ma_dvcs:validator.existsDvcs,tk:validAccount.isNotTkcn};
3
- (global.configs||{}).createIndexes&&(cdtktheongayScheam.index({id_app:1,den_ngay:-1,tk:1}),cdtktheongayScheam.index({id_app:1,den_ngay:-1,ma_dvcs:1,tk:1}),cdtktheongayScheam.index({id_app:1,tk:1}),cdtktheongayScheam.index({id_app:1,den_ngay:-1}),cdtktheongayScheam.index({id_app:1,ma_kho:1}),cdtktheongayScheam.index({id_app:1,status:1}),cdtktheongayScheam.index({id_app:1,user_created:1,visible_to:1,visible_to_users:1}));module.exports=mongoose.models.cdtktheongay||mongoose.model("cdtktheongay",cdtktheongayScheam);
1
+ const _0x11a5b2=_0x1c21;(function(_0x1d6f0b,_0x4d0c00){const _0x29324e=_0x1c21,_0x3d5952=_0x1d6f0b();while(!![]){try{const _0x4e2668=parseInt(_0x29324e(0xbe))/0x1*(parseInt(_0x29324e(0xac))/0x2)+-parseInt(_0x29324e(0xc6))/0x3*(parseInt(_0x29324e(0xc1))/0x4)+parseInt(_0x29324e(0xc7))/0x5+-parseInt(_0x29324e(0xc4))/0x6+-parseInt(_0x29324e(0xc2))/0x7+parseInt(_0x29324e(0xbc))/0x8*(parseInt(_0x29324e(0xc3))/0x9)+parseInt(_0x29324e(0xbf))/0xa;if(_0x4e2668===_0x4d0c00)break;else _0x3d5952['push'](_0x3d5952['shift']());}catch(_0x1ba8cd){_0x3d5952['push'](_0x3d5952['shift']());}}}(_0x1839,0x3bd6f));function _0x1c21(_0x27a82b,_0x3b538a){const _0x16423f=_0x1839();return _0x1c21=function(_0x22e6ec,_0x1b1f67){_0x22e6ec=_0x22e6ec-0xac;let _0x18390e=_0x16423f[_0x22e6ec];if(_0x1c21['KndyTv']===undefined){var _0x1c219a=function(_0x28ab86){const _0xddf041='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x41155e='',_0xb587cf='',_0x2f5cf6=_0x41155e+_0x1c219a;for(let _0x32ad3a=0x0,_0x1c9bd4,_0x1c8bcc,_0x11ab3b=0x0;_0x1c8bcc=_0x28ab86['charAt'](_0x11ab3b++);~_0x1c8bcc&&(_0x1c9bd4=_0x32ad3a%0x4?_0x1c9bd4*0x40+_0x1c8bcc:_0x1c8bcc,_0x32ad3a++%0x4)?_0x41155e+=_0x2f5cf6['charCodeAt'](_0x11ab3b+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x1c9bd4>>(-0x2*_0x32ad3a&0x6)):_0x32ad3a:0x0){_0x1c8bcc=_0xddf041['indexOf'](_0x1c8bcc);}for(let _0x5d64a4=0x0,_0x259d87=_0x41155e['length'];_0x5d64a4<_0x259d87;_0x5d64a4++){_0xb587cf+='%'+('00'+_0x41155e['charCodeAt'](_0x5d64a4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xb587cf);};_0x1c21['CZobQG']=_0x1c219a,_0x27a82b=arguments,_0x1c21['KndyTv']=!![];}const _0x79ca5e=_0x16423f[0x0],_0x3bc867=_0x22e6ec+_0x79ca5e,_0x40db4e=_0x27a82b[_0x3bc867];if(!_0x40db4e){const _0x2f0611=function(_0x3c3d44){this['WMgvtw']=_0x3c3d44,this['cPiKCz']=[0x1,0x0,0x0],this['pMuteN']=function(){return'newState';},this['NHrjom']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['qbJQIC']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2f0611['prototype']['tvkBiV']=function(){const _0x404513=new RegExp(this['NHrjom']+this['qbJQIC']),_0x172dd0=_0x404513['test'](this['pMuteN']['toString']())?--this['cPiKCz'][0x1]:--this['cPiKCz'][0x0];return this['NvRPUG'](_0x172dd0);},_0x2f0611['prototype']['NvRPUG']=function(_0x36a06b){if(!Boolean(~_0x36a06b))return _0x36a06b;return this['BUUAPN'](this['WMgvtw']);},_0x2f0611['prototype']['BUUAPN']=function(_0x4e44b5){for(let _0xd961ab=0x0,_0x3e55ce=this['cPiKCz']['length'];_0xd961ab<_0x3e55ce;_0xd961ab++){this['cPiKCz']['push'](Math['round'](Math['random']())),_0x3e55ce=this['cPiKCz']['length'];}return _0x4e44b5(this['cPiKCz'][0x0]);},new _0x2f0611(_0x1c21)['tvkBiV'](),_0x18390e=_0x1c21['CZobQG'](_0x18390e),_0x27a82b[_0x3bc867]=_0x18390e;}else _0x18390e=_0x40db4e;return _0x18390e;},_0x1c21(_0x27a82b,_0x3b538a);}function _0x1839(){const _0x402c95=['kcGOlISPkYKRksSK','Bw9KzwXZ','mJzUugPlDKe','y3jLyxrLsw5KzxHLCW','BfbkyNG','y2r0A3rOzw9Uz2f5','v0vtA20','C3bSAxq','zxHWB3j0CW','Bw9KzwW','y29UzMLNCW','CwvwweK','sfj0DKy','wwXNB3G','vhjkwxi','DgSGAxmGCMvXDwLYzwq','yxbWBhK','lI4VBgLICY92ywXPzgf0B3iTywnJB3vUDa','mtzmywjwD3K','BM93','mJu3ntnttffyAe0','mJy0mJyYmgjQBxbjsa','rKPqCvC','nfrxtw5Xqq','nte1ntuWA2rsqNjS','mtaXotG4qLPiwuXW','mJa3mtiWmhHTzM5rsG','nNW0Fdb8mNWXFdn8nq','nZaXndnzB01AwMK','mZi4mdK1AMfbqK9x','Dg9tDhjPBMC','ELvvz0G','lI4VBgLICY92ywXPzgf0B3i','Aw5KzxG'];_0x1839=function(){return _0x402c95;};return _0x1839();}const _0x1b1f67=(function(){const _0x404423={'OMGXK':'5|2|1|6|4|0|3','ndqry':function(_0x5e9f10,_0x179e71){return _0x5e9f10!==_0x179e71;}};let _0x142bda=!![];return function(_0x232ea8,_0x208935){const _0x220906=_0x1c21,_0x5d6fa4={'qeVXI':_0x404423['OMGXK'],'lPJbx':function(_0x4b628d,_0x429b57){return _0x4b628d===_0x429b57;},'zUUgH':_0x220906(0xb6),'gkVst':function(_0x2e886d,_0x2fa40c){return _0x404423['ndqry'](_0x2e886d,_0x2fa40c);},'TrJYr':_0x220906(0xb0)},_0x27a0a1=_0x142bda?function(){const _0x1c20a8=_0x220906,_0x2a4b97={'Ylgox':_0x5d6fa4[_0x1c20a8(0xb5)]};if(_0x5d6fa4[_0x1c20a8(0xae)](_0x5d6fa4[_0x1c20a8(0xc9)],'HRtvF')){if(_0x208935){if(_0x5d6fa4['gkVst'](_0x5d6fa4[_0x1c20a8(0xb8)],_0x1c20a8(0xc0))){const _0x44418d=_0x208935['apply'](_0x232ea8,arguments);return _0x208935=null,_0x44418d;}else{const _0x26586e=_0x2d9db5[_0x1c20a8(0xba)](_0x334409,arguments);return _0x4519f5=null,_0x26586e;}}}else{const _0x3546aa=_0x2a4b97[_0x1c20a8(0xb7)][_0x1c20a8(0xb1)]('|');let _0xc3f98f=0x0;while(!![]){switch(_0x3546aa[_0xc3f98f++]){case'0':_0x19a458[_0x1c20a8(0xcb)]({'id_app':0x1,'status':0x1});continue;case'1':_0x548df5[_0x1c20a8(0xcb)]({'id_app':0x1,'tk':0x1});continue;case'2':_0x1ae61b[_0x1c20a8(0xcb)]({'id_app':0x1,'den_ngay':-0x1,'ma_dvcs':0x1,'tk':0x1});continue;case'3':_0x4d6188[_0x1c20a8(0xcb)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});continue;case'4':_0x2d8254[_0x1c20a8(0xcb)]({'id_app':0x1,'ma_kho':0x1});continue;case'5':_0x323625[_0x1c20a8(0xcb)]({'id_app':0x1,'den_ngay':-0x1,'tk':0x1});continue;case'6':_0x4211ad[_0x1c20a8(0xcb)]({'id_app':0x1,'den_ngay':-0x1});continue;}break;}}}:function(){};return _0x142bda=![],_0x27a0a1;};}()),_0x22e6ec=_0x1b1f67(this,function(){const _0x152226=_0x1c21;return _0x22e6ec['toString']()['search'](_0x152226(0xcc))[_0x152226(0xc8)]()['constructor'](_0x22e6ec)['search'](_0x152226(0xcc));});_0x22e6ec();const validator=require(_0x11a5b2(0xca)),validAccount=require(_0x11a5b2(0xbb)),cdtktheongayScheam=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'den_ngay':{'type':Date,'required':!![]},'ma_dvcs':{'type':String,'required':!![],'maxlength':0x400},'tk':{'type':String,'required':_0x11a5b2(0xb9),'uppercase':!![],'maxlength':0x20,'trim':!![]},'ma_kho':{'type':String,'uppercase':!![],'maxlength':0x20,'trim':!![]},'du_no00':{'type':Number,'default':0x0},'du_co00':{'type':Number,'default':0x0},'du_no_nt00':{'type':Number,'default':0x0},'du_co_nt00':{'type':Number,'default':0x0},'du_no1':{'type':Number,'default':0x0},'du_co1':{'type':Number,'default':0x0},'du_no_nt1':{'type':Number,'default':0x0},'du_co_nt1':{'type':Number,'default':0x0},'kc_yn':{'type':Boolean,'default':![]},'status':{'type':Boolean,'default':!![]},'date_created':{'type':Date,'default':Date[_0x11a5b2(0xbd)]},'date_updated':{'type':Date,'default':Date[_0x11a5b2(0xbd)]},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''}});cdtktheongayScheam['validate']={'ma_dvcs':validator['existsDvcs'],'tk':validAccount['isNotTkcn']};if((global[_0x11a5b2(0xb4)]||{})[_0x11a5b2(0xad)]){const OOJTff=_0x11a5b2(0xc5)[_0x11a5b2(0xb1)]('|');let aAXPVl=0x0;while(!![]){switch(OOJTff[aAXPVl++]){case'0':cdtktheongayScheam[_0x11a5b2(0xcb)]({'id_app':0x1,'tk':0x1});continue;case'1':cdtktheongayScheam[_0x11a5b2(0xcb)]({'id_app':0x1,'ma_kho':0x1});continue;case'2':cdtktheongayScheam[_0x11a5b2(0xcb)]({'id_app':0x1,'den_ngay':-0x1});continue;case'3':cdtktheongayScheam[_0x11a5b2(0xcb)]({'id_app':0x1,'status':0x1});continue;case'4':cdtktheongayScheam[_0x11a5b2(0xcb)]({'id_app':0x1,'den_ngay':-0x1,'ma_dvcs':0x1,'tk':0x1});continue;case'5':cdtktheongayScheam[_0x11a5b2(0xcb)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});continue;case'6':cdtktheongayScheam[_0x11a5b2(0xcb)]({'id_app':0x1,'den_ngay':-0x1,'tk':0x1});continue;}break;}}module[_0x11a5b2(0xb2)]=mongoose[_0x11a5b2(0xcd)][_0x11a5b2(0xaf)]||mongoose[_0x11a5b2(0xb3)](_0x11a5b2(0xaf),cdtktheongayScheam);
@@ -1,5 +1 @@
1
- const validator=require("../libs/validator"),validVt=require("../libs/validator-vt"),cdvtScheam=new Schema({id_app:{type:String,required:!0,maxlength:1024},nam:{type:Number,required:!0},ma_dvcs:{type:String,required:!0,maxlength:1024},ma_vt:{type:String,required:"L\u1ed7i: M\u00e3 v\u1eadt t\u01b0 kh\u00f4ng \u0111\u01b0\u1ee3c tr\u1ed1ng",uppercase:!0,maxlength:1024,trim:!0},ten_vt:String,ma_kho:{type:String,required:"L\u1ed7i: M\u00e3 kho kh\u00f4ng \u0111\u01b0\u1ee3c tr\u1ed1ng",uppercase:!0,
2
- maxlength:32,trim:!0},ten_kho:String,ma_lo:{type:String,default:"",uppercase:!0,maxlength:32,trim:!0},han_sd:{type:Date},ma_tt1:{type:String,default:"",uppercase:!0,maxlength:32,trim:!0},ma_tt2:{type:String,default:"",uppercase:!0,maxlength:32,trim:!0},ma_tt3:{type:String,default:"",uppercase:!0,maxlength:32,trim:!0},ton00:{type:Number,default:0},du00:{type:Number,default:0},du_nt00:{type:Number,default:0},kc_yn:{type:Boolean,default:!1},status:{type:Boolean,default:!0},date_created:{type:Date,default:Date.now},
3
- date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""}});cdvtScheam.validate={ma_dvcs:validator.existsDvcs,ma_vt:validVt.existsVt,ma_kho:validVt.existsKho};
4
- (global.configs||{}).createIndexes&&(cdvtScheam.index({id_app:1,nam:1,ma_dvcs:1,ma_vt:1,ma_kho:1,ma_lo:1,ma_tt1:1,ma_tt2:1,ma_tt3:1},{name:"cdvt_index_1"}),cdvtScheam.index({id_app:1,ma_vt:"text",ten_vt:"text",ma_kho:"text",ten_kho:"text"},{name:"cdvt_index_text"}),cdvtScheam.index({id_app:1,nam:1,ma_lo:1,han_sd:-1}),cdvtScheam.index({id_app:1,nam:1}),cdvtScheam.index({id_app:1,nam:1,ma_kho:1}),cdvtScheam.index({id_app:1,nam:1,ma_kho:1,ma_vt:1}),cdvtScheam.index({id_app:1,status:1}),cdvtScheam.index({id_app:1,
5
- user_created:1,visible_to:1,visible_to_users:1}),cdvtScheam.index({id_app:1,user_created:1,visible_to:1,visible_to_users:1,nam:1}),cdvtScheam.index({id_app:1,user_created:1,visible_to:1,visible_to_users:1,nam:1,ma_kho:1}));module.exports=mongoose.models.cdvt||mongoose.model("cdvt",cdvtScheam);
1
+ function _0x135d(){const _0x3dbaeb=['mtqYmdq4DgfYEhLb','kcGOlISPkYKRksSK','nJyWoda1EgTuuxDY','EvfRyvm','DgLytxy','zxHPC3rZvNq','y3jLyxrLsw5KzxHLCW','DMfSAwrHDgu','DgLdz0K','y2r2Df9PBMrLEf90zxH0','lI4VBgLICY92ywXPzgf0B3i','tog7L2K6ie3dOYbRAg8GA2JdTg5NimsrXRdHU6nJihrY4BUrBMC','y2r2Da','zxHWB3j0CW','EvjcAhK','n3vOB2reuq','rNDWrKm','C3bSAxq','BM93','Dgv4Da','ALHhvw0','mJGWmZfsq0f0Bhi','s3rhv2i','mtC2ote2D3Puu0HP','mJi2mtiZmLPYAuDyBa','Bw9KzwXZ','zvDjEw0','yxbWBhK','Bw9KzwW','Dg9tDhjPBMC','Aw5KzxG','mJe3nu1Uyu14EG','tLz5u08','y29UzMLNCW','y2r2Df9PBMrLEf8X','y29UC3rYDwn0B3i','C2vHCMnO','B3fYq20','we5JEfO','oxW1Fdb8m3WYFdz8ohWXFdr8nW','odKYy0XgwLHj','zxHPC3rZs2HV','mZq1otKYDfn0AurL'];_0x135d=function(){return _0x3dbaeb;};return _0x135d();}const _0xf860d2=_0x13f8;(function(_0x4cfbf2,_0x20de84){const _0x45c630=_0x13f8,_0x206305=_0x4cfbf2();while(!![]){try{const _0x282292=-parseInt(_0x45c630(0x11e))/0x1+-parseInt(_0x45c630(0x109))/0x2+-parseInt(_0x45c630(0x128))/0x3*(parseInt(_0x45c630(0x106))/0x4)+parseInt(_0x45c630(0x10b))/0x5+parseInt(_0x45c630(0x120))/0x6*(parseInt(_0x45c630(0x118))/0x7)+-parseInt(_0x45c630(0x108))/0x8+parseInt(_0x45c630(0x121))/0x9;if(_0x282292===_0x20de84)break;else _0x206305['push'](_0x206305['shift']());}catch(_0x1766f4){_0x206305['push'](_0x206305['shift']());}}}(_0x135d,0x1a974));const _0x50113d=(function(){const _0x1403a4=_0x13f8,_0x46bf76={'XNcxZ':_0x1403a4(0x10a),'Rzvhc':function(_0x444f0e,_0x58ae55){return _0x444f0e===_0x58ae55;},'NVySO':_0x1403a4(0x119),'yRBhy':function(_0x4013b5,_0xd5a065){return _0x4013b5!==_0xd5a065;},'tiXMv':'PbQKQ','hSvHF':'koNih','jXGUm':'8|3|0|1|2|6|4|9|5|7','KtGWb':_0x1403a4(0x11c)};let _0x5cfc72=!![];return function(_0x36d5fa,_0x240baa){const _0x5ace71=_0x1403a4,_0x195d23={'oqrCm':_0x46bf76[_0x5ace71(0x11d)],'tiCgI':_0x46bf76[_0x5ace71(0x11f)],'GnPjd':'cdvt_index_text'},_0xf71938=_0x5cfc72?function(){const _0x3c1210=_0x5ace71,_0x54e628={'eWIym':_0x46bf76[_0x3c1210(0x12f)]};if(_0x46bf76['Rzvhc'](_0x46bf76[_0x3c1210(0x129)],_0x46bf76[_0x3c1210(0x129)])){if(_0x240baa){if(_0x46bf76[_0x3c1210(0x117)](_0x46bf76[_0x3c1210(0x10d)],_0x46bf76['hSvHF'])){const _0x53dd44=_0x240baa[_0x3c1210(0x124)](_0x36d5fa,arguments);return _0x240baa=null,_0x53dd44;}else return _0x10b532[_0x3c1210(0x126)]()['search'](_0x54e628[_0x3c1210(0x123)])[_0x3c1210(0x126)]()[_0x3c1210(0x12c)](_0xd60bee)[_0x3c1210(0x12d)](_0x54e628[_0x3c1210(0x123)]);}}else{const _0x3bc620=_0x195d23[_0x3c1210(0x12e)][_0x3c1210(0x11a)]('|');let _0x508784=0x0;while(!![]){switch(_0x3bc620[_0x508784++]){case'0':_0x3339dd[_0x3c1210(0x127)]({'id_app':0x1,'nam':0x1,'ma_lo':0x1,'han_sd':-0x1});continue;case'1':_0x3dd5d3[_0x3c1210(0x127)]({'id_app':0x1,'nam':0x1});continue;case'2':_0x3efe4a[_0x3c1210(0x127)]({'id_app':0x1,'nam':0x1,'ma_kho':0x1});continue;case'3':_0x16cbdd[_0x3c1210(0x127)]({'id_app':0x1,'ma_vt':'text','ten_vt':_0x195d23['tiCgI'],'ma_kho':_0x195d23[_0x3c1210(0x111)],'ten_kho':_0x3c1210(0x11c)},{'name':_0x195d23['GnPjd']});continue;case'4':_0x12fe9f[_0x3c1210(0x127)]({'id_app':0x1,'status':0x1});continue;case'5':_0x1b51e4[_0x3c1210(0x127)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1,'nam':0x1});continue;case'6':_0x5eed35['index']({'id_app':0x1,'nam':0x1,'ma_kho':0x1,'ma_vt':0x1});continue;case'7':_0x4a6fe1[_0x3c1210(0x127)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1,'nam':0x1,'ma_kho':0x1});continue;case'8':_0x707432[_0x3c1210(0x127)]({'id_app':0x1,'nam':0x1,'ma_dvcs':0x1,'ma_vt':0x1,'ma_kho':0x1,'ma_lo':0x1,'ma_tt1':0x1,'ma_tt2':0x1,'ma_tt3':0x1},{'name':_0x3c1210(0x12b)});continue;case'9':_0x49a43c[_0x3c1210(0x127)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});continue;}break;}}}:function(){};return _0x5cfc72=![],_0xf71938;};}()),_0x384500=_0x50113d(this,function(){const _0x3a9833=_0x13f8,_0x4a09cb={'yQkaS':_0x3a9833(0x10a)};return _0x384500['toString']()[_0x3a9833(0x12d)](_0x4a09cb[_0x3a9833(0x10c)])[_0x3a9833(0x126)]()[_0x3a9833(0x12c)](_0x384500)['search'](_0x4a09cb[_0x3a9833(0x10c)]);});function _0x13f8(_0xff41e2,_0x559c56){const _0x297034=_0x135d();return _0x13f8=function(_0x384500,_0x50113d){_0x384500=_0x384500-0x106;let _0x135de3=_0x297034[_0x384500];if(_0x13f8['aGDNrU']===undefined){var _0x13f831=function(_0x26ea89){const _0xa34dba='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3e602b='',_0x6b93d2='',_0x2dbe0b=_0x3e602b+_0x13f831;for(let _0x2ee364=0x0,_0x2e634c,_0x429ba4,_0x91906a=0x0;_0x429ba4=_0x26ea89['charAt'](_0x91906a++);~_0x429ba4&&(_0x2e634c=_0x2ee364%0x4?_0x2e634c*0x40+_0x429ba4:_0x429ba4,_0x2ee364++%0x4)?_0x3e602b+=_0x2dbe0b['charCodeAt'](_0x91906a+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x2e634c>>(-0x2*_0x2ee364&0x6)):_0x2ee364:0x0){_0x429ba4=_0xa34dba['indexOf'](_0x429ba4);}for(let _0x7ee80a=0x0,_0x299ae2=_0x3e602b['length'];_0x7ee80a<_0x299ae2;_0x7ee80a++){_0x6b93d2+='%'+('00'+_0x3e602b['charCodeAt'](_0x7ee80a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x6b93d2);};_0x13f8['sWuouF']=_0x13f831,_0xff41e2=arguments,_0x13f8['aGDNrU']=!![];}const _0x40b809=_0x297034[0x0],_0x2c7802=_0x384500+_0x40b809,_0x1196f8=_0xff41e2[_0x2c7802];if(!_0x1196f8){const _0x3b05db=function(_0x18d1ec){this['bhvegy']=_0x18d1ec,this['lAQivA']=[0x1,0x0,0x0],this['XXwyjM']=function(){return'newState';},this['JNRUds']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['PsiWXu']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x3b05db['prototype']['lborSm']=function(){const _0x208098=new RegExp(this['JNRUds']+this['PsiWXu']),_0x4db291=_0x208098['test'](this['XXwyjM']['toString']())?--this['lAQivA'][0x1]:--this['lAQivA'][0x0];return this['IBOKDe'](_0x4db291);},_0x3b05db['prototype']['IBOKDe']=function(_0x15f0f4){if(!Boolean(~_0x15f0f4))return _0x15f0f4;return this['HHUimF'](this['bhvegy']);},_0x3b05db['prototype']['HHUimF']=function(_0xa1ef76){for(let _0x35c1d6=0x0,_0x507321=this['lAQivA']['length'];_0x35c1d6<_0x507321;_0x35c1d6++){this['lAQivA']['push'](Math['round'](Math['random']())),_0x507321=this['lAQivA']['length'];}return _0xa1ef76(this['lAQivA'][0x0]);},new _0x3b05db(_0x13f8)['lborSm'](),_0x135de3=_0x13f8['sWuouF'](_0x135de3),_0xff41e2[_0x2c7802]=_0x135de3;}else _0x135de3=_0x1196f8;return _0x135de3;},_0x13f8(_0xff41e2,_0x559c56);}_0x384500();const validator=require(_0xf860d2(0x113)),validVt=require('../libs/validator-vt'),cdvtScheam=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'nam':{'type':Number,'required':!![]},'ma_dvcs':{'type':String,'required':!![],'maxlength':0x400},'ma_vt':{'type':String,'required':'Lỗi:\x20Mã\x20vật\x20tư\x20không\x20được\x20trống','uppercase':!![],'maxlength':0x400,'trim':!![]},'ten_vt':String,'ma_kho':{'type':String,'required':_0xf860d2(0x114),'uppercase':!![],'maxlength':0x20,'trim':!![]},'ten_kho':String,'ma_lo':{'type':String,'default':'','uppercase':!![],'maxlength':0x20,'trim':!![]},'han_sd':{'type':Date},'ma_tt1':{'type':String,'default':'','uppercase':!![],'maxlength':0x20,'trim':!![]},'ma_tt2':{'type':String,'default':'','uppercase':!![],'maxlength':0x20,'trim':!![]},'ma_tt3':{'type':String,'default':'','uppercase':!![],'maxlength':0x20,'trim':!![]},'ton00':{'type':Number,'default':0x0},'du00':{'type':Number,'default':0x0},'du_nt00':{'type':Number,'default':0x0},'kc_yn':{'type':Boolean,'default':![]},'status':{'type':Boolean,'default':!![]},'date_created':{'type':Date,'default':Date[_0xf860d2(0x11b)]},'date_updated':{'type':Date,'default':Date['now']},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''}});cdvtScheam[_0xf860d2(0x110)]={'ma_dvcs':validator['existsDvcs'],'ma_vt':validVt[_0xf860d2(0x10e)],'ma_kho':validVt[_0xf860d2(0x107)]};if((global[_0xf860d2(0x12a)]||{})[_0xf860d2(0x10f)]){const PPxbIA=_0xf860d2(0x130)[_0xf860d2(0x11a)]('|');let piPyMs=0x0;while(!![]){switch(PPxbIA[piPyMs++]){case'0':cdvtScheam['index']({'id_app':0x1,'nam':0x1,'ma_lo':0x1,'han_sd':-0x1});continue;case'1':cdvtScheam[_0xf860d2(0x127)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});continue;case'2':cdvtScheam['index']({'id_app':0x1,'nam':0x1,'ma_kho':0x1});continue;case'3':cdvtScheam[_0xf860d2(0x127)]({'id_app':0x1,'nam':0x1});continue;case'4':cdvtScheam['index']({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1,'nam':0x1});continue;case'5':cdvtScheam[_0xf860d2(0x127)]({'id_app':0x1,'ma_vt':_0xf860d2(0x11c),'ten_vt':_0xf860d2(0x11c),'ma_kho':_0xf860d2(0x11c),'ten_kho':'text'},{'name':_0xf860d2(0x112)});continue;case'6':cdvtScheam['index']({'id_app':0x1,'nam':0x1,'ma_kho':0x1,'ma_vt':0x1});continue;case'7':cdvtScheam[_0xf860d2(0x127)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1,'nam':0x1,'ma_kho':0x1});continue;case'8':cdvtScheam[_0xf860d2(0x127)]({'id_app':0x1,'status':0x1});continue;case'9':cdvtScheam['index']({'id_app':0x1,'nam':0x1,'ma_dvcs':0x1,'ma_vt':0x1,'ma_kho':0x1,'ma_lo':0x1,'ma_tt1':0x1,'ma_tt2':0x1,'ma_tt3':0x1},{'name':_0xf860d2(0x12b)});continue;}break;}}module[_0xf860d2(0x116)]=mongoose[_0xf860d2(0x122)][_0xf860d2(0x115)]||mongoose[_0xf860d2(0x125)](_0xf860d2(0x115),cdvtScheam);
@@ -1,6 +1 @@
1
- const validator=require("../libs/validator"),validVt=require("../libs/validator-vt"),cdvtnppScheam=new Schema({id_app:{type:String,required:!0,maxlength:1024},nam:{type:Number,required:!0},ma_dvcs:{type:String,required:!0,maxlength:1024},ma_vt:{type:String,required:"L\u1ed7i: M\u00e3 v\u1eadt t\u01b0 kh\u00f4ng \u0111\u01b0\u1ee3c tr\u1ed1ng",uppercase:!0,maxlength:1024,trim:!0},ten_vt:String,ma_kho:{type:String,required:"L\u1ed7i: M\u00e3 kho kh\u00f4ng \u0111\u01b0\u1ee3c tr\u1ed1ng",uppercase:!0,
2
- maxlength:32,trim:!0},ten_kho:String,ma_kh:String,ma_lo:{type:String,default:"",uppercase:!0,maxlength:32,trim:!0},han_sd:{type:Date},ma_tt1:{type:String,default:"",uppercase:!0,maxlength:32,trim:!0},ma_tt2:{type:String,default:"",uppercase:!0,maxlength:32,trim:!0},ma_tt3:{type:String,default:"",uppercase:!0,maxlength:32,trim:!0},ton00:{type:Number,default:0},du00:{type:Number,default:0},du_nt00:{type:Number,default:0},kc_yn:{type:Boolean,default:!1},status:{type:Boolean,default:!0},date_created:{type:Date,
3
- default:Date.now},date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""}});cdvtnppScheam.validate={ma_dvcs:validator.existsDvcs,ma_vt:validVt.existsVt,ma_kho:validVt.existsKho};
4
- (global.configs||{}).createIndexes&&(cdvtnppScheam.index({id_app:1,nam:1,ma_dvcs:1,ma_vt:1,ma_kho:1,ma_lo:1,ma_tt1:1,ma_tt2:1,ma_tt3:1},{name:"cdvt_index_1"}),cdvtnppScheam.index({id_app:1,ma_vt:"text",ten_vt:"text",ma_kho:"text",ten_kho:"text"},{name:"cdvt_index_text"}),cdvtnppScheam.index({id_app:1,nam:1,ma_lo:1,han_sd:-1}),cdvtnppScheam.index({id_app:1,nam:1}),cdvtnppScheam.index({id_app:1,nam:1,ma_kho:1}),cdvtnppScheam.index({id_app:1,nam:1,ma_kho:1,ma_vt:1}),cdvtnppScheam.index({id_app:1,nam:1,
5
- ma_kh:1}),cdvtnppScheam.index({id_app:1,nam:1,ma_kh:1,ma_kho:1,ma_vt:1}),cdvtnppScheam.index({id_app:1,status:1}),cdvtnppScheam.index({id_app:1,user_created:1,visible_to:1,visible_to_users:1}),cdvtnppScheam.index({id_app:1,user_created:1,visible_to:1,visible_to_users:1,nam:1}),cdvtnppScheam.index({id_app:1,user_created:1,visible_to:1,visible_to_users:1,nam:1,ma_kho:1}),cdvtnppScheam.index({id_app:1,user_created:1,visible_to:1,visible_to_users:1,nam:1,ma_kho:1,ma_kh:1}));
6
- module.exports=mongoose.models.cdvtnpp||mongoose.model("cdvtnpp",cdvtnppScheam);
1
+ const _0x581ee8=_0x2167;function _0x2167(_0x1a12f8,_0x985cf6){const _0xa181f0=_0x290c();return _0x2167=function(_0x4b2b50,_0x4463c7){_0x4b2b50=_0x4b2b50-0xef;let _0x290cce=_0xa181f0[_0x4b2b50];if(_0x2167['MCLKBy']===undefined){var _0x2167f8=function(_0xe4276b){const _0xde47a9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1ce72e='',_0x265c6f='',_0x317941=_0x1ce72e+_0x2167f8;for(let _0x27b159=0x0,_0x5093d3,_0x4beba2,_0x332676=0x0;_0x4beba2=_0xe4276b['charAt'](_0x332676++);~_0x4beba2&&(_0x5093d3=_0x27b159%0x4?_0x5093d3*0x40+_0x4beba2:_0x4beba2,_0x27b159++%0x4)?_0x1ce72e+=_0x317941['charCodeAt'](_0x332676+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x5093d3>>(-0x2*_0x27b159&0x6)):_0x27b159:0x0){_0x4beba2=_0xde47a9['indexOf'](_0x4beba2);}for(let _0xd91374=0x0,_0x4f98b0=_0x1ce72e['length'];_0xd91374<_0x4f98b0;_0xd91374++){_0x265c6f+='%'+('00'+_0x1ce72e['charCodeAt'](_0xd91374)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x265c6f);};_0x2167['pVXbCo']=_0x2167f8,_0x1a12f8=arguments,_0x2167['MCLKBy']=!![];}const _0x5e84c7=_0xa181f0[0x0],_0x13cfe8=_0x4b2b50+_0x5e84c7,_0x272c0d=_0x1a12f8[_0x13cfe8];if(!_0x272c0d){const _0x58fcd4=function(_0x2f0b81){this['zsmlgf']=_0x2f0b81,this['xEEGEY']=[0x1,0x0,0x0],this['OAtPIE']=function(){return'newState';},this['PcCnzZ']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['UCJnct']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x58fcd4['prototype']['LNyTrb']=function(){const _0x3b20fb=new RegExp(this['PcCnzZ']+this['UCJnct']),_0x3ea5a3=_0x3b20fb['test'](this['OAtPIE']['toString']())?--this['xEEGEY'][0x1]:--this['xEEGEY'][0x0];return this['aQNcoH'](_0x3ea5a3);},_0x58fcd4['prototype']['aQNcoH']=function(_0x36b6a6){if(!Boolean(~_0x36b6a6))return _0x36b6a6;return this['woxAlI'](this['zsmlgf']);},_0x58fcd4['prototype']['woxAlI']=function(_0x212cd9){for(let _0x2654ae=0x0,_0x19914c=this['xEEGEY']['length'];_0x2654ae<_0x19914c;_0x2654ae++){this['xEEGEY']['push'](Math['round'](Math['random']())),_0x19914c=this['xEEGEY']['length'];}return _0x212cd9(this['xEEGEY'][0x0]);},new _0x58fcd4(_0x2167)['LNyTrb'](),_0x290cce=_0x2167['pVXbCo'](_0x290cce),_0x1a12f8[_0x13cfe8]=_0x290cce;}else _0x290cce=_0x272c0d;return _0x290cce;},_0x2167(_0x1a12f8,_0x985cf6);}(function(_0x3f6a1c,_0x3346fd){const _0x1e272e=_0x2167,_0x2d8463=_0x3f6a1c();while(!![]){try{const _0xdf4229=-parseInt(_0x1e272e(0xf7))/0x1+-parseInt(_0x1e272e(0xf9))/0x2+parseInt(_0x1e272e(0xf5))/0x3+parseInt(_0x1e272e(0xef))/0x4+-parseInt(_0x1e272e(0xf4))/0x5*(parseInt(_0x1e272e(0xfc))/0x6)+parseInt(_0x1e272e(0x107))/0x7*(-parseInt(_0x1e272e(0xf2))/0x8)+parseInt(_0x1e272e(0x103))/0x9;if(_0xdf4229===_0x3346fd)break;else _0x2d8463['push'](_0x2d8463['shift']());}catch(_0x4dea95){_0x2d8463['push'](_0x2d8463['shift']());}}}(_0x290c,0x5ac89));const _0x4463c7=(function(){let _0x101c1d=!![];return function(_0x50d1d6,_0x3f8ef8){const _0x4be4d5=_0x101c1d?function(){const _0x4dc72f=_0x2167;if(_0x3f8ef8){const _0x4c70b9=_0x3f8ef8[_0x4dc72f(0x100)](_0x50d1d6,arguments);return _0x3f8ef8=null,_0x4c70b9;}}:function(){};return _0x101c1d=![],_0x4be4d5;};}()),_0x4b2b50=_0x4463c7(this,function(){const _0x4c48d8=_0x2167,_0x425e1a={'YXXsm':_0x4c48d8(0xf6)};return _0x4b2b50['toString']()[_0x4c48d8(0xfd)](_0x4c48d8(0xf6))['toString']()['constructor'](_0x4b2b50)[_0x4c48d8(0xfd)](_0x425e1a[_0x4c48d8(0xff)]);});function _0x290c(){const _0x1dc271=['ofPzAvjKAa','zxHPC3rZvNq','mJGZmtCZnujjv0Xnuq','mJe2mty4m0DiAxjUEa','kcGOlISPkYKRksSK','mZq4ntvHANjiAM8','Dgv4Da','mteXode2mM9stwXVrq','y3jLyxrLsw5KzxHLCW','zxHPC3rZrhzJCW','nNHArwHXqq','C2vHCMnO','BM93','wvHyC20','yxbWBhK','y2r2Dg5WCa','y2r2Df9PBMrLEf8X','nJy2mZuXmfDIsxrUva','tog7L2K6ie3dOYbRAg8GA2JdTg5NimsrXRdHU6nJihrY4BUrBMC','zxHPC3rZs2HV','ohW1FdL8n3WXmhWZFdz8mNWXmxWXmNWXFdb8na','mtC3ote1nu53s2fHzW','tog7L2K6ie3dOYb24BQTDcb0XRaGA2JdTg5NimsrXRdHU6nJihrY4BUrBMC','C3bSAxq','mtmWmtm4nhvgs2PZyW','zxHWB3j0CW','Aw5KzxG'];_0x290c=function(){return _0x1dc271;};return _0x290c();}_0x4b2b50();const validator=require('../libs/validator'),validVt=require('../libs/validator-vt'),cdvtnppScheam=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'nam':{'type':Number,'required':!![]},'ma_dvcs':{'type':String,'required':!![],'maxlength':0x400},'ma_vt':{'type':String,'required':_0x581ee8(0x108),'uppercase':!![],'maxlength':0x400,'trim':!![]},'ten_vt':String,'ma_kho':{'type':String,'required':_0x581ee8(0x104),'uppercase':!![],'maxlength':0x20,'trim':!![]},'ten_kho':String,'ma_kh':String,'ma_lo':{'type':String,'default':'','uppercase':!![],'maxlength':0x20,'trim':!![]},'han_sd':{'type':Date},'ma_tt1':{'type':String,'default':'','uppercase':!![],'maxlength':0x20,'trim':!![]},'ma_tt2':{'type':String,'default':'','uppercase':!![],'maxlength':0x20,'trim':!![]},'ma_tt3':{'type':String,'default':'','uppercase':!![],'maxlength':0x20,'trim':!![]},'ton00':{'type':Number,'default':0x0},'du00':{'type':Number,'default':0x0},'du_nt00':{'type':Number,'default':0x0},'kc_yn':{'type':Boolean,'default':![]},'status':{'type':Boolean,'default':!![]},'date_created':{'type':Date,'default':Date[_0x581ee8(0xfe)]},'date_updated':{'type':Date,'default':Date[_0x581ee8(0xfe)]},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''}});cdvtnppScheam['validate']={'ma_dvcs':validator[_0x581ee8(0xfb)],'ma_vt':validVt[_0x581ee8(0xf3)],'ma_kho':validVt[_0x581ee8(0x105)]};if((global['configs']||{})[_0x581ee8(0xfa)]){const PiBtMm=_0x581ee8(0x106)[_0x581ee8(0x109)]('|');let ElIEck=0x0;while(!![]){switch(PiBtMm[ElIEck++]){case'0':cdvtnppScheam[_0x581ee8(0xf1)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1,'nam':0x1,'ma_kho':0x1});continue;case'1':cdvtnppScheam[_0x581ee8(0xf1)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1,'nam':0x1});continue;case'2':cdvtnppScheam[_0x581ee8(0xf1)]({'id_app':0x1,'nam':0x1,'ma_kh':0x1,'ma_kho':0x1,'ma_vt':0x1});continue;case'3':cdvtnppScheam[_0x581ee8(0xf1)]({'id_app':0x1,'nam':0x1,'ma_kho':0x1,'ma_vt':0x1});continue;case'4':cdvtnppScheam['index']({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1,'nam':0x1,'ma_kho':0x1,'ma_kh':0x1});continue;case'5':cdvtnppScheam['index']({'id_app':0x1,'ma_vt':_0x581ee8(0xf8),'ten_vt':_0x581ee8(0xf8),'ma_kho':_0x581ee8(0xf8),'ten_kho':'text'},{'name':'cdvt_index_text'});continue;case'6':cdvtnppScheam[_0x581ee8(0xf1)]({'id_app':0x1,'nam':0x1,'ma_kh':0x1});continue;case'7':cdvtnppScheam['index']({'id_app':0x1,'nam':0x1});continue;case'8':cdvtnppScheam[_0x581ee8(0xf1)]({'id_app':0x1,'nam':0x1,'ma_dvcs':0x1,'ma_vt':0x1,'ma_kho':0x1,'ma_lo':0x1,'ma_tt1':0x1,'ma_tt2':0x1,'ma_tt3':0x1},{'name':_0x581ee8(0x102)});continue;case'9':cdvtnppScheam[_0x581ee8(0xf1)]({'id_app':0x1,'nam':0x1,'ma_lo':0x1,'han_sd':-0x1});continue;case'10':cdvtnppScheam[_0x581ee8(0xf1)]({'id_app':0x1,'nam':0x1,'ma_kho':0x1});continue;case'11':cdvtnppScheam[_0x581ee8(0xf1)]({'id_app':0x1,'status':0x1});continue;case'12':cdvtnppScheam['index']({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});continue;}break;}}module[_0x581ee8(0xf0)]=mongoose['models']['cdvtnpp']||mongoose['model'](_0x581ee8(0x101),cdvtnppScheam);
@@ -1,5 +1 @@
1
- const validator=require("../libs/validator"),validVt=require("../libs/validator-vt"),cdvttheongayScheam=new Schema({id_app:{type:String,required:!0,maxlength:1024},den_ngay:{type:Date,required:!0},ma_dvcs:{type:String,required:!0,maxlength:1024},ma_vt:{type:String,required:"L\u1ed7i: M\u00e3 v\u1eadt t\u01b0 kh\u00f4ng \u0111\u01b0\u1ee3c tr\u1ed1ng",uppercase:!0,maxlength:1024,trim:!0},ten_vt:String,ma_kho:{type:String,required:"L\u1ed7i: M\u00e3 kho kh\u00f4ng \u0111\u01b0\u1ee3c tr\u1ed1ng",uppercase:!0,
2
- maxlength:32,trim:!0},ten_kho:String,ma_lo:{type:String,default:"",uppercase:!0,maxlength:32,trim:!0},han_sd:{type:Date},ma_tt1:{type:String,default:"",uppercase:!0,maxlength:32,trim:!0},ma_tt2:{type:String,default:"",uppercase:!0,maxlength:32,trim:!0},ma_tt3:{type:String,default:"",uppercase:!0,maxlength:32,trim:!0},ton00:{type:Number,default:0},du00:{type:Number,default:0},du_nt00:{type:Number,default:0},kc_yn:{type:Boolean,default:!1},status:{type:Boolean,default:!0},date_created:{type:Date,default:Date.now},
3
- date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""}});cdvttheongayScheam.validate={ma_dvcs:validator.existsDvcs,ma_vt:validVt.existsVt,ma_kho:validVt.existsKho};
4
- (global.configs||{}).createIndexes&&(cdvttheongayScheam.index({id_app:1,den_ngay:-1,ma_dvcs:1,ma_vt:1,ma_kho:1,ma_lo:1,ma_tt1:1,ma_tt2:1,ma_tt3:1},{name:"cdvt_index_1"}),cdvttheongayScheam.index({id_app:1,ma_vt:"text",ten_vt:"text",ma_kho:"text",ten_kho:"text"},{name:"cdvt_index_text"}),cdvttheongayScheam.index({id_app:1,den_ngay:-1,ma_lo:1,han_sd:-1}),cdvttheongayScheam.index({id_app:1,den_ngay:-1}),cdvttheongayScheam.index({id_app:1,den_ngay:-1,ma_kho:1}),cdvttheongayScheam.index({id_app:1,den_ngay:-1,
5
- ma_kho:1,ma_vt:1}),cdvttheongayScheam.index({id_app:1,status:1}),cdvttheongayScheam.index({id_app:1,user_created:1,visible_to:1,visible_to_users:1}),cdvttheongayScheam.index({id_app:1,user_created:1,visible_to:1,visible_to_users:1,den_ngay:-1}),cdvttheongayScheam.index({id_app:1,user_created:1,visible_to:1,visible_to_users:1,den_ngay:-1,ma_kho:1}));module.exports=mongoose.models.cdvttheongay||mongoose.model("cdvttheongay",cdvttheongayScheam);
1
+ const _0x1549e2=_0x1a0a;(function(_0x135b7f,_0x43adb6){const _0x26c624=_0x1a0a,_0x4a9168=_0x135b7f();while(!![]){try{const _0x5dea4e=parseInt(_0x26c624(0x92))/0x1+parseInt(_0x26c624(0x9b))/0x2*(-parseInt(_0x26c624(0x9e))/0x3)+parseInt(_0x26c624(0x84))/0x4*(-parseInt(_0x26c624(0x95))/0x5)+parseInt(_0x26c624(0x96))/0x6*(parseInt(_0x26c624(0xa0))/0x7)+-parseInt(_0x26c624(0x99))/0x8+-parseInt(_0x26c624(0x9d))/0x9*(parseInt(_0x26c624(0x8a))/0xa)+parseInt(_0x26c624(0x97))/0xb*(parseInt(_0x26c624(0x82))/0xc);if(_0x5dea4e===_0x43adb6)break;else _0x4a9168['push'](_0x4a9168['shift']());}catch(_0x470cc1){_0x4a9168['push'](_0x4a9168['shift']());}}}(_0x446c,0x58b0f));const _0x5d0cc9=(function(){const _0x487392=_0x1a0a,_0x10ec31={'fOOBm':_0x487392(0x8e),'jRTaN':function(_0x149873,_0x30498e){return _0x149873===_0x30498e;},'JqEGr':_0x487392(0x94)};let _0x24d876=!![];return function(_0x40391e,_0x1da61b){const _0x577eb3=_0x24d876?function(){const _0x3f5744=_0x1a0a,_0x351f07={'nbLFr':_0x10ec31[_0x3f5744(0x7d)]};if(_0x1da61b){if(_0x10ec31['jRTaN'](_0x10ec31[_0x3f5744(0x87)],_0x3f5744(0x9f)))return _0x2a1b4b[_0x3f5744(0x90)]()[_0x3f5744(0x8c)](_0x351f07[_0x3f5744(0x7b)])[_0x3f5744(0x90)]()[_0x3f5744(0x8f)](_0x1fc4ec)[_0x3f5744(0x8c)](_0x351f07[_0x3f5744(0x7b)]);else{const _0x4aead0=_0x1da61b[_0x3f5744(0x86)](_0x40391e,arguments);return _0x1da61b=null,_0x4aead0;}}}:function(){};return _0x24d876=![],_0x577eb3;};}()),_0x119fc0=_0x5d0cc9(this,function(){const _0x379a0e=_0x1a0a,_0x31ae6b={'QbEQk':_0x379a0e(0x8e)};return _0x119fc0[_0x379a0e(0x90)]()[_0x379a0e(0x8c)](_0x31ae6b[_0x379a0e(0x7e)])[_0x379a0e(0x90)]()[_0x379a0e(0x8f)](_0x119fc0)[_0x379a0e(0x8c)]('(((.+)+)+)+$');});_0x119fc0();function _0x446c(){const _0x3c9301=['y3jLyxrLsw5KzxHLCW','Bw9KzwXZ','mJm1mLLpuhznEa','lI4VBgLICY92ywXPzgf0B3i','mtm0nte2ze5HDM1X','Dgv4Da','yxbWBhK','sNffr3i','tog7L2K6ie3dOYbRAg8GA2JdTg5NimsrXRdHU6nJihrY4BUrBMC','DMfSAwrHDgu','mJi4mZb4tujPsfC','BM93','C2vHCMnO','ohWZFdr8mhWXFdz8oxWYFdD8nq','kcGOlISPkYKRksSK','y29UC3rYDwn0B3i','Dg9tDhjPBMC','zxHPC3rZs2HV','nJK0nZGZvgfqrfvu','y2r2DhrOzw9Uz2f5','wxrgzfq','nuzuCLzmCq','nJG0EwniwK1r','mJeYndfzzxPoAgO','y2r2Df9PBMrLEf8X','mJqZotuYmfDOB0P4sW','tog7L2K6ie3dOYb24BQTDcb0XRaGA2JdTg5NimsrXRdHU6nJihrY4BUrBMC','ntaYD2nIs05u','lI4VBgLICY92ywXPzgf0B3iTDNq','mZy5s0H0whfy','ndyZoe9nzxvsDW','BM1Ntvu','nJC2ow1xte1NDq','Aw5KzxG','zxHPC3rZrhzJCW','BMjmrNi','zxHWB3j0CW','zK9pqM0','uwjfuwS','Bw9KzwW'];_0x446c=function(){return _0x3c9301;};return _0x446c();}const validator=require(_0x1549e2(0x83)),validVt=require(_0x1549e2(0x9c)),cdvttheongayScheam=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'den_ngay':{'type':Date,'required':!![]},'ma_dvcs':{'type':String,'required':!![],'maxlength':0x400},'ma_vt':{'type':String,'required':_0x1549e2(0x9a),'uppercase':!![],'maxlength':0x400,'trim':!![]},'ten_vt':String,'ma_kho':{'type':String,'required':_0x1549e2(0x88),'uppercase':!![],'maxlength':0x20,'trim':!![]},'ten_kho':String,'ma_lo':{'type':String,'default':'','uppercase':!![],'maxlength':0x20,'trim':!![]},'han_sd':{'type':Date},'ma_tt1':{'type':String,'default':'','uppercase':!![],'maxlength':0x20,'trim':!![]},'ma_tt2':{'type':String,'default':'','uppercase':!![],'maxlength':0x20,'trim':!![]},'ma_tt3':{'type':String,'default':'','uppercase':!![],'maxlength':0x20,'trim':!![]},'ton00':{'type':Number,'default':0x0},'du00':{'type':Number,'default':0x0},'du_nt00':{'type':Number,'default':0x0},'kc_yn':{'type':Boolean,'default':![]},'status':{'type':Boolean,'default':!![]},'date_created':{'type':Date,'default':Date[_0x1549e2(0x8b)]},'date_updated':{'type':Date,'default':Date[_0x1549e2(0x8b)]},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''}});cdvttheongayScheam[_0x1549e2(0x89)]={'ma_dvcs':validator[_0x1549e2(0xa2)],'ma_vt':validVt['existsVt'],'ma_kho':validVt[_0x1549e2(0x91)]};if((global['configs']||{})[_0x1549e2(0x80)]){const fkicge=_0x1549e2(0x8d)['split']('|');let IfrbKO=0x0;while(!![]){switch(fkicge[IfrbKO++]){case'0':cdvttheongayScheam[_0x1549e2(0xa1)]({'id_app':0x1,'den_ngay':-0x1});continue;case'1':cdvttheongayScheam[_0x1549e2(0xa1)]({'id_app':0x1,'den_ngay':-0x1,'ma_kho':0x1});continue;case'2':cdvttheongayScheam[_0x1549e2(0xa1)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});continue;case'3':cdvttheongayScheam[_0x1549e2(0xa1)]({'id_app':0x1,'ma_vt':_0x1549e2(0x85),'ten_vt':_0x1549e2(0x85),'ma_kho':_0x1549e2(0x85),'ten_kho':'text'},{'name':'cdvt_index_text'});continue;case'4':cdvttheongayScheam['index']({'id_app':0x1,'den_ngay':-0x1,'ma_lo':0x1,'han_sd':-0x1});continue;case'5':cdvttheongayScheam[_0x1549e2(0xa1)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1,'den_ngay':-0x1,'ma_kho':0x1});continue;case'6':cdvttheongayScheam[_0x1549e2(0xa1)]({'id_app':0x1,'den_ngay':-0x1,'ma_kho':0x1,'ma_vt':0x1});continue;case'7':cdvttheongayScheam[_0x1549e2(0xa1)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1,'den_ngay':-0x1});continue;case'8':cdvttheongayScheam[_0x1549e2(0xa1)]({'id_app':0x1,'den_ngay':-0x1,'ma_dvcs':0x1,'ma_vt':0x1,'ma_kho':0x1,'ma_lo':0x1,'ma_tt1':0x1,'ma_tt2':0x1,'ma_tt3':0x1},{'name':_0x1549e2(0x98)});continue;case'9':cdvttheongayScheam['index']({'id_app':0x1,'status':0x1});continue;}break;}}function _0x1a0a(_0x575a8c,_0x2fb912){const _0x32ae2c=_0x446c();return _0x1a0a=function(_0x119fc0,_0x5d0cc9){_0x119fc0=_0x119fc0-0x7b;let _0x446c52=_0x32ae2c[_0x119fc0];if(_0x1a0a['gQOgII']===undefined){var _0x1a0a1b=function(_0x17ae28){const _0x329388='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x515fff='',_0xfab864='',_0xf72acd=_0x515fff+_0x1a0a1b;for(let _0x38f361=0x0,_0x4f811a,_0x2a7543,_0x4797ec=0x0;_0x2a7543=_0x17ae28['charAt'](_0x4797ec++);~_0x2a7543&&(_0x4f811a=_0x38f361%0x4?_0x4f811a*0x40+_0x2a7543:_0x2a7543,_0x38f361++%0x4)?_0x515fff+=_0xf72acd['charCodeAt'](_0x4797ec+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x4f811a>>(-0x2*_0x38f361&0x6)):_0x38f361:0x0){_0x2a7543=_0x329388['indexOf'](_0x2a7543);}for(let _0x1a6d3d=0x0,_0x2423a0=_0x515fff['length'];_0x1a6d3d<_0x2423a0;_0x1a6d3d++){_0xfab864+='%'+('00'+_0x515fff['charCodeAt'](_0x1a6d3d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xfab864);};_0x1a0a['ZHFaKd']=_0x1a0a1b,_0x575a8c=arguments,_0x1a0a['gQOgII']=!![];}const _0x2f29fe=_0x32ae2c[0x0],_0x3a415b=_0x119fc0+_0x2f29fe,_0x1cce56=_0x575a8c[_0x3a415b];if(!_0x1cce56){const _0x3f1dbc=function(_0x578700){this['tYmFPO']=_0x578700,this['ipDGPY']=[0x1,0x0,0x0],this['pVCxpq']=function(){return'newState';},this['ovVWxN']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['gMiMxM']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x3f1dbc['prototype']['nYcIwV']=function(){const _0x23fc55=new RegExp(this['ovVWxN']+this['gMiMxM']),_0xa64c08=_0x23fc55['test'](this['pVCxpq']['toString']())?--this['ipDGPY'][0x1]:--this['ipDGPY'][0x0];return this['tiVksj'](_0xa64c08);},_0x3f1dbc['prototype']['tiVksj']=function(_0x28a739){if(!Boolean(~_0x28a739))return _0x28a739;return this['qnDIEk'](this['tYmFPO']);},_0x3f1dbc['prototype']['qnDIEk']=function(_0x50ed7e){for(let _0xccd2d9=0x0,_0x47f1f8=this['ipDGPY']['length'];_0xccd2d9<_0x47f1f8;_0xccd2d9++){this['ipDGPY']['push'](Math['round'](Math['random']())),_0x47f1f8=this['ipDGPY']['length'];}return _0x50ed7e(this['ipDGPY'][0x0]);},new _0x3f1dbc(_0x1a0a)['nYcIwV'](),_0x446c52=_0x1a0a['ZHFaKd'](_0x446c52),_0x575a8c[_0x3a415b]=_0x446c52;}else _0x446c52=_0x1cce56;return _0x446c52;},_0x1a0a(_0x575a8c,_0x2fb912);}module[_0x1549e2(0x7c)]=mongoose[_0x1549e2(0x81)][_0x1549e2(0x93)]||mongoose[_0x1549e2(0x7f)](_0x1549e2(0x93),cdvttheongayScheam);
@@ -1,7 +1 @@
1
- const moment=require("moment"),chamcongSchema=new Schema({id_app:{type:String,required:!0,maxlength:1024},ma_bp:{type:String,uppercase:!0,maxlength:32,trim:!0},ma_nv:{type:String,required:!0,uppercase:!0,maxlength:32,trim:!0},ten_nv:String,ma_loai_cong:{type:String,required:!0,uppercase:!0,maxlength:32,trim:!0},ngay:Date,gio_vao:Date,gio_ra:Date,gio_vao_f:String,gio_ra_f:String,tong_gio_lam:{type:Number,default:0},ghi_chu:String,exfields:Schema.Types.Mixed,status:{type:Boolean,default:!0},device_user_id:String,
2
- id_checkin:String,date_created:{type:Date,default:Date.now},date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""}});
3
- chamcongSchema.pre("save",function($next$$){console.log("handle du lieu cham cong",this);try{if(this.gio_vao_f){let $gio_vao$$=moment(this.ngay),[$gio$$,$phut$$]=this.gio_vao_f.split(":");if($gio$$){$gio$$=Number($gio$$);if(isNaN($gio$$))return $next$$("Gi\u1edd v\u00e0o kh\u00f4ng h\u1ee3p l\u1ec7");$gio_vao$$=$gio_vao$$.hours($gio$$)}else return $next$$("Gi\u1edd v\u00e0o kh\u00f4ng h\u1ee3p l\u1ec7");$phut$$?($phut$$=Number($phut$$),isNaN($phut$$)&&($phut$$=0)):$phut$$=0;$gio_vao$$=$gio_vao$$.minutes($phut$$);
4
- this.gio_vao=$gio_vao$$.toDate()}if(this.gio_ra_f){let $gio_ra$$=moment(this.ngay),[$gio$$,$phut$$]=this.gio_ra_f.split(":");if($gio$$){$gio$$=Number($gio$$);if(isNaN($gio$$))return $next$$("Gi\u1edd ra kh\u00f4ng h\u1ee3p l\u1ec7");$gio_ra$$=$gio_ra$$.hours($gio$$)}else return $next$$("Gi\u1edd ra kh\u00f4ng h\u1ee3p l\u1ec7");$phut$$?($phut$$=Number($phut$$),isNaN($phut$$)||($phut$$=0)):$phut$$=0;$gio_ra$$=$gio_ra$$.minutes($phut$$);this.gio_ra=$gio_ra$$.toDate()}}catch($e$$){return console.error("chamcong kh\u00f4ng h\u1ee3p l\u1ec7",
5
- this),$next$$({error:"C\u00f4ng kh\u00f4ng h\u1ee3p l\u1ec7"})}$next$$()});
6
- (global.configs||{}).createIndexes&&(chamcongSchema.index({id_app:1,ma_nv:1,ma_loai_cong:1,ngay:1}),chamcongSchema.index({id_app:1,id_checkin:1}),chamcongSchema.index({id_app:1,id_checkin:1,ngay:1}),chamcongSchema.index({id_app:1,ngay:1}),chamcongSchema.index({id_app:1,ma_bp:1}),chamcongSchema.index({id_app:1,gio_vao:1,gio_ra:1}),chamcongSchema.index({id_app:1,ma_nv:"text",ten_nv:"text",ghi_chu:"text"},{name:"chamcong_index_text"}),chamcongSchema.index({id_app:1,device_user_id:1}),chamcongSchema.index({id_app:1,
7
- status:1}),chamcongSchema.index({id_app:1,user_created:1,visible_to:1,visible_to_users:1}));const model=mongoose.models.chamcong||mongoose.model("chamcong",chamcongSchema);module.exports=model;
1
+ const _0x36d5a0=_0x276c;(function(_0x4837b5,_0x1caa95){const _0x34e04e=_0x276c,_0x3e9b2d=_0x4837b5();while(!![]){try{const _0x2c6797=parseInt(_0x34e04e(0x1af))/0x1*(-parseInt(_0x34e04e(0x1a0))/0x2)+parseInt(_0x34e04e(0x1a6))/0x3*(-parseInt(_0x34e04e(0x183))/0x4)+parseInt(_0x34e04e(0x1c2))/0x5*(parseInt(_0x34e04e(0x1ae))/0x6)+-parseInt(_0x34e04e(0x1a5))/0x7*(-parseInt(_0x34e04e(0x191))/0x8)+parseInt(_0x34e04e(0x1b4))/0x9*(-parseInt(_0x34e04e(0x1c6))/0xa)+-parseInt(_0x34e04e(0x187))/0xb+parseInt(_0x34e04e(0x1d4))/0xc*(parseInt(_0x34e04e(0x19d))/0xd);if(_0x2c6797===_0x1caa95)break;else _0x3e9b2d['push'](_0x3e9b2d['shift']());}catch(_0x32ad7a){_0x3e9b2d['push'](_0x3e9b2d['shift']());}}}(_0x1456,0x8de29));function _0x1456(){const _0x30cc84=['EefAq3O','mZm2ndHQyvbrt1K','z2LVx3zHB19M','BM93','zxjYB3i','odK3odGZoe1AshP2Aq','rwzRtuK','y2HHBwnVBMC','A1HOAuC','y2HHBwnVBMCGA2JdTg5NigJHU6nWigZHU4C','y2HHBwnVBMDFAw5KzxHFDgv4Da','AMDby2u','DfLKzuO','z2LVx3jHx2y','Aw5KzxG','nZy4nJr2EKDUsvm','r2NHU50GDSoGBYbRAmo0BMCGAog7O3aGBog7HW','qNzXrwu','Dgv4Da','yNLeuee','ChjL','vhLWzxm','C2f2zq','vhv5zg8','DfDytM8','BMLmAhO','C3bSAxq','nJK3mtm0mujICM1lBW','BwLUDxrLCW','z2LVx3jH','nfbXqMPprq','qw93BgO','sKHiEw8','Ag91CNm','Bg9N','nZa3DNbKuMzZ','mta1wuvrwuLl','rLDru3e','C1nWBK8','vxLny1G','r2NHU50GCMeGA2JdTg5NigJHU6nWigZHU4C','yMjNrNO','C01xCMG','qM1JBhC','nJyYmtK0mMv0D2HHwG','mtaWmdy5BKTKtevl','wNvQvwy','DxHtr2q','quXZCeG','y29UzMLNCW','mti5mZaYmvfdwgX6wq','y29UC3rYDwn0B3i','twL4zwq','z09UDuG','BMDHEq','z1DtC1G','yxbWBhK','v2vIsum','rvbNyw8','v0L5rK8','Dg9eyxrL','ChPcyNu','CLv2y04','q8o0BMCGA2JdTg5NigJHU6nWigZHU4C','nvr3q0vnzG','uKvuzu0','EwvVzuW','t2jAz0y','ntbcBM50Dxe','AgfUzgXLigr1igXPzxuGy2HHBsbJB25N','BLvoz3e','DfLVCgC','t0nhufK','B3DcwKq','CMf1vLq','Bhr0svi','kcGOlISPkYKRksSK','C2vHCMnO','BNrwzwm','v3Dbz00','yuzVuw0','z3PjzKy','mtj5r0L4D2C','sKXOAuS','uNbxsKO','Dg9tDhjPBMC','Bwzcr2K','uKTOv2i','BhLOseC','B3rVDvG'];_0x1456=function(){return _0x30cc84;};return _0x1456();}const _0x5462a2=(function(){const _0xb15c9f=_0x276c,_0x546b62={'qxasa':_0xb15c9f(0x1ce),'otouX':function(_0x43c0d7,_0x31214e){return _0x43c0d7!==_0x31214e;},'UyMcX':_0xb15c9f(0x1bf)};let _0x12b3e1=!![];return function(_0x58a748,_0x1ff9ce){const _0x5a21c8=_0xb15c9f,_0x2bf44f={'WebIC':_0x546b62['qxasa']};if(_0x546b62[_0x5a21c8(0x181)](_0x5a21c8(0x1ac),_0x546b62[_0x5a21c8(0x1a9)])){const _0x1006d5=_0x12b3e1?function(){const _0x69eb39=_0x5a21c8;if(_0x1ff9ce){const _0x14ab61=_0x1ff9ce[_0x69eb39(0x1ba)](_0x58a748,arguments);return _0x1ff9ce=null,_0x14ab61;}}:function(){};return _0x12b3e1=![],_0x1006d5;}else return _0x105d02[_0x5a21c8(0x1d7)]()[_0x5a21c8(0x1cf)](_0x2bf44f['WebIC'])['toString']()[_0x5a21c8(0x1b5)](_0x535520)[_0x5a21c8(0x1cf)](_0x2bf44f[_0x5a21c8(0x1bb)]);};}()),_0x5213fc=_0x5462a2(this,function(){const _0x20ac01=_0x276c,_0x5da217={'BvqEe':'(((.+)+)+)+$'};return _0x5213fc[_0x20ac01(0x1d7)]()[_0x20ac01(0x1cf)](_0x5da217[_0x20ac01(0x193)])[_0x20ac01(0x1d7)]()[_0x20ac01(0x1b5)](_0x5213fc)['search'](_0x5da217['BvqEe']);});_0x5213fc();const moment=require('moment'),chamcongSchema=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'ma_bp':{'type':String,'uppercase':!![],'maxlength':0x20,'trim':!![]},'ma_nv':{'type':String,'required':!![],'uppercase':!![],'maxlength':0x20,'trim':!![]},'ten_nv':String,'ma_loai_cong':{'type':String,'required':!![],'uppercase':!![],'maxlength':0x20,'trim':!![]},'ngay':Date,'gio_vao':Date,'gio_ra':Date,'gio_vao_f':String,'gio_ra_f':String,'tong_gio_lam':{'type':Number,'default':0x0},'ghi_chu':String,'exfields':Schema[_0x36d5a0(0x197)][_0x36d5a0(0x1b6)],'status':{'type':Boolean,'default':!![]},'device_user_id':String,'id_checkin':String,'date_created':{'type':Date,'default':Date[_0x36d5a0(0x185)]},'date_updated':{'type':Date,'default':Date[_0x36d5a0(0x185)]},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''}});chamcongSchema[_0x36d5a0(0x196)](_0x36d5a0(0x198),function(_0x591668){const _0x7b1aff=_0x36d5a0,_0x5e73a7={'Aowlj':function(_0x2bca23,_0x59bbf2){return _0x2bca23(_0x59bbf2);},'nUNgq':_0x7b1aff(0x192),'Tuydo':function(_0x594945,_0x34f0f7){return _0x594945(_0x34f0f7);},'aFoQm':function(_0x5bcbe7,_0x462d9d){return _0x5bcbe7(_0x462d9d);},'gWSsX':_0x7b1aff(0x1aa),'ALspH':_0x7b1aff(0x194),'jgAce':'chamcong_index_text','hCXfl':_0x7b1aff(0x1c7),'tWXNo':function(_0x23f6ec,_0x48aeab){return _0x23f6ec===_0x48aeab;},'tYdeJ':_0x7b1aff(0x1d6),'OCGPY':function(_0xc5193d,_0x34ea97){return _0xc5193d!==_0x34ea97;},'zbsDB':function(_0x13f9d3,_0xc902b8){return _0x13f9d3!==_0xc902b8;},'uxSGd':_0x7b1aff(0x1d5),'yeoeL':function(_0x3d25db,_0x492aa5){return _0x3d25db(_0x492aa5);},'byDPA':function(_0x1926b2,_0x3f9356){return _0x1926b2(_0x3f9356);},'lyhHG':_0x7b1aff(0x1c5),'aCMbS':'IcbxP','gOnuH':function(_0x46ef47,_0xdbdba0){return _0x46ef47===_0xdbdba0;},'ntVec':_0x7b1aff(0x1cd),'kXhiG':_0x7b1aff(0x1cb),'RKhWb':function(_0x561115,_0x40c5d4){return _0x561115(_0x40c5d4);},'pPwew':function(_0x248608,_0x4304d2){return _0x248608!==_0x4304d2;},'rauVT':_0x7b1aff(0x1d3),'tPoFW':_0x7b1aff(0x1c0),'sDpLw':function(_0x5038af,_0x25da78){return _0x5038af(_0x25da78);},'IFmCs':function(_0x3c38a3,_0xc10657){return _0x3c38a3(_0xc10657);},'niLhz':function(_0x5b66b9,_0x10951f){return _0x5b66b9(_0x10951f);},'EfkMI':function(_0x192328,_0x3d9df4){return _0x192328!==_0x3d9df4;},'xAZCz':_0x7b1aff(0x1a7),'RETeM':_0x7b1aff(0x1d1),'zVGqi':function(_0xbd05e1,_0x5277a7){return _0xbd05e1(_0x5277a7);},'Bmclw':_0x7b1aff(0x1bc),'sSpnO':_0x7b1aff(0x18b),'bbgFz':_0x7b1aff(0x1c1),'tYopg':function(_0x3bb095){return _0x3bb095();}},_0x477e3e=this;console[_0x7b1aff(0x1a4)](_0x5e73a7['hCXfl'],_0x477e3e);try{if(_0x5e73a7[_0x7b1aff(0x19a)](_0x5e73a7[_0x7b1aff(0x18e)],_0x5e73a7[_0x7b1aff(0x18e)])){if(_0x477e3e[_0x7b1aff(0x184)]){if(_0x5e73a7[_0x7b1aff(0x1ca)](_0x7b1aff(0x1b0),_0x7b1aff(0x1d8))){let _0x3c7ea3=_0x5e73a7[_0x7b1aff(0x199)](moment,_0x477e3e[_0x7b1aff(0x1b8)]),[_0x5739d1,_0x5bfa4f]=_0x477e3e[_0x7b1aff(0x184)][_0x7b1aff(0x19c)](':');if(_0x5739d1){if(_0x5e73a7['zbsDB'](_0x5e73a7[_0x7b1aff(0x1b1)],_0x5e73a7['uxSGd']))_0x406c8e=_0x296aed[_0x7b1aff(0x1a3)](_0x1bac5b);else{_0x5739d1=_0x5e73a7[_0x7b1aff(0x1c4)](Number,_0x5739d1);if(!_0x5e73a7[_0x7b1aff(0x195)](isNaN,_0x5739d1))_0x3c7ea3=_0x3c7ea3['hours'](_0x5739d1);else{if(_0x5e73a7[_0x7b1aff(0x180)]===_0x5e73a7['aCMbS'])_0x57bcbb=0x0;else return _0x5e73a7['Tuydo'](_0x591668,_0x5e73a7[_0x7b1aff(0x1c8)]);}}}else{if(_0x5e73a7[_0x7b1aff(0x1b7)](_0x5e73a7[_0x7b1aff(0x1d0)],_0x5e73a7[_0x7b1aff(0x18a)]))_0x4263f4=0x0;else return _0x591668(_0x5e73a7[_0x7b1aff(0x1c8)]);}if(_0x5bfa4f){_0x5bfa4f=_0x5e73a7[_0x7b1aff(0x1d2)](Number,_0x5bfa4f);if(_0x5e73a7[_0x7b1aff(0x17f)](isNaN,_0x5bfa4f)){if(_0x5e73a7['pPwew'](_0x5e73a7[_0x7b1aff(0x1cc)],_0x5e73a7['tPoFW']))_0x5bfa4f=0x0;else return _0x5e73a7[_0x7b1aff(0x1a1)](_0x1d5719,_0x5e73a7[_0x7b1aff(0x1c8)]);}}else _0x5bfa4f=0x0;_0x3c7ea3=_0x3c7ea3[_0x7b1aff(0x19e)](_0x5bfa4f),_0x477e3e['gio_vao']=_0x3c7ea3[_0x7b1aff(0x1be)]();}else{_0x19886b=_0x5e73a7[_0x7b1aff(0x199)](_0x42826c,_0x335059);if(!_0x5e73a7[_0x7b1aff(0x1a1)](_0x357e1f,_0x530eab))_0x31bf14=_0x373bc1[_0x7b1aff(0x1a3)](_0x12c489);else return _0x3242a3(_0x7b1aff(0x192));}}if(_0x477e3e['gio_ra_f']){let _0x102609=_0x5e73a7['sDpLw'](moment,_0x477e3e[_0x7b1aff(0x1b8)]),[_0x42eab1,_0x311993]=_0x477e3e[_0x7b1aff(0x18f)][_0x7b1aff(0x19c)](':');if(_0x42eab1){if(_0x7b1aff(0x1a2)!==_0x7b1aff(0x1a2))return _0x5e73a7['aFoQm'](_0x22265e,_0x5e73a7[_0x7b1aff(0x1b9)]);else{_0x42eab1=_0x5e73a7['IFmCs'](Number,_0x42eab1);if(!_0x5e73a7[_0x7b1aff(0x19b)](isNaN,_0x42eab1))_0x102609=_0x102609['hours'](_0x42eab1);else{if(_0x5e73a7[_0x7b1aff(0x188)](_0x5e73a7[_0x7b1aff(0x182)],_0x5e73a7[_0x7b1aff(0x1c3)]))return _0x591668(_0x5e73a7[_0x7b1aff(0x1b9)]);else _0x4c952f=_0x223c9d['hours'](_0x2ba14f);}}}else return _0x591668(_0x7b1aff(0x1aa));if(_0x311993)_0x311993=_0x5e73a7[_0x7b1aff(0x199)](Number,_0x311993),!_0x5e73a7['zVGqi'](isNaN,_0x311993)&&(_0x311993=0x0);else{if(_0x5e73a7[_0x7b1aff(0x1b7)](_0x5e73a7[_0x7b1aff(0x1ad)],_0x7b1aff(0x1bd))){if(_0x75ec2a){const _0x43ddc0=_0xe745be[_0x7b1aff(0x1ba)](_0x43eb39,arguments);return _0x526d28=null,_0x43ddc0;}}else _0x311993=0x0;}_0x102609=_0x102609[_0x7b1aff(0x19e)](_0x311993),_0x477e3e[_0x7b1aff(0x19f)]=_0x102609[_0x7b1aff(0x1be)]();}}else _0x5e660e[_0x7b1aff(0x190)]({'id_app':0x1,'ma_nv':0x1,'ma_loai_cong':0x1,'ngay':0x1}),_0x34d69d['index']({'id_app':0x1,'id_checkin':0x1}),_0x1788ff[_0x7b1aff(0x190)]({'id_app':0x1,'id_checkin':0x1,'ngay':0x1}),_0x2a6e43[_0x7b1aff(0x190)]({'id_app':0x1,'ngay':0x1}),_0x13a8e6['index']({'id_app':0x1,'ma_bp':0x1}),_0x4d36b2['index']({'id_app':0x1,'gio_vao':0x1,'gio_ra':0x1}),_0x192405[_0x7b1aff(0x190)]({'id_app':0x1,'ma_nv':_0x7b1aff(0x194),'ten_nv':_0x5e73a7[_0x7b1aff(0x1b2)],'ghi_chu':_0x5e73a7[_0x7b1aff(0x1b2)]},{'name':_0x5e73a7[_0x7b1aff(0x18d)]}),_0x7020c[_0x7b1aff(0x190)]({'id_app':0x1,'device_user_id':0x1}),_0x35959d[_0x7b1aff(0x190)]({'id_app':0x1,'status':0x1}),_0x2609a3[_0x7b1aff(0x190)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});}catch(_0x18aace){return console[_0x7b1aff(0x186)](_0x5e73a7[_0x7b1aff(0x1a8)],_0x477e3e),_0x591668({'error':_0x5e73a7[_0x7b1aff(0x1ab)]});}_0x5e73a7[_0x7b1aff(0x1c9)](_0x591668);});(global[_0x36d5a0(0x1b3)]||{})['createIndexes']&&(chamcongSchema[_0x36d5a0(0x190)]({'id_app':0x1,'ma_nv':0x1,'ma_loai_cong':0x1,'ngay':0x1}),chamcongSchema[_0x36d5a0(0x190)]({'id_app':0x1,'id_checkin':0x1}),chamcongSchema['index']({'id_app':0x1,'id_checkin':0x1,'ngay':0x1}),chamcongSchema[_0x36d5a0(0x190)]({'id_app':0x1,'ngay':0x1}),chamcongSchema[_0x36d5a0(0x190)]({'id_app':0x1,'ma_bp':0x1}),chamcongSchema[_0x36d5a0(0x190)]({'id_app':0x1,'gio_vao':0x1,'gio_ra':0x1}),chamcongSchema[_0x36d5a0(0x190)]({'id_app':0x1,'ma_nv':_0x36d5a0(0x194),'ten_nv':_0x36d5a0(0x194),'ghi_chu':_0x36d5a0(0x194)},{'name':_0x36d5a0(0x18c)}),chamcongSchema[_0x36d5a0(0x190)]({'id_app':0x1,'device_user_id':0x1}),chamcongSchema[_0x36d5a0(0x190)]({'id_app':0x1,'status':0x1}),chamcongSchema['index']({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1}));function _0x276c(_0x2f5114,_0x29282d){const _0x118604=_0x1456();return _0x276c=function(_0x5213fc,_0x5462a2){_0x5213fc=_0x5213fc-0x17f;let _0x14564a=_0x118604[_0x5213fc];if(_0x276c['aqPQQO']===undefined){var _0x276ca7=function(_0x1a6428){const _0x101448='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5eff06='',_0x564d24='',_0x270a15=_0x5eff06+_0x276ca7;for(let _0x5ae5ac=0x0,_0x4cfb32,_0x4a2b92,_0x37664f=0x0;_0x4a2b92=_0x1a6428['charAt'](_0x37664f++);~_0x4a2b92&&(_0x4cfb32=_0x5ae5ac%0x4?_0x4cfb32*0x40+_0x4a2b92:_0x4a2b92,_0x5ae5ac++%0x4)?_0x5eff06+=_0x270a15['charCodeAt'](_0x37664f+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x4cfb32>>(-0x2*_0x5ae5ac&0x6)):_0x5ae5ac:0x0){_0x4a2b92=_0x101448['indexOf'](_0x4a2b92);}for(let _0x118a5a=0x0,_0x1be826=_0x5eff06['length'];_0x118a5a<_0x1be826;_0x118a5a++){_0x564d24+='%'+('00'+_0x5eff06['charCodeAt'](_0x118a5a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x564d24);};_0x276c['WHSyRx']=_0x276ca7,_0x2f5114=arguments,_0x276c['aqPQQO']=!![];}const _0x3dfc7b=_0x118604[0x0],_0x77ef75=_0x5213fc+_0x3dfc7b,_0xbfef57=_0x2f5114[_0x77ef75];if(!_0xbfef57){const _0x2ad61b=function(_0x3cff4a){this['TDVniA']=_0x3cff4a,this['hokvpb']=[0x1,0x0,0x0],this['btDddi']=function(){return'newState';},this['MKzEeG']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['pEIZgu']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2ad61b['prototype']['ROAxaN']=function(){const _0x2117ea=new RegExp(this['MKzEeG']+this['pEIZgu']),_0x5e7117=_0x2117ea['test'](this['btDddi']['toString']())?--this['hokvpb'][0x1]:--this['hokvpb'][0x0];return this['vNuUcJ'](_0x5e7117);},_0x2ad61b['prototype']['vNuUcJ']=function(_0x12fa77){if(!Boolean(~_0x12fa77))return _0x12fa77;return this['vETlbo'](this['TDVniA']);},_0x2ad61b['prototype']['vETlbo']=function(_0x143005){for(let _0x534bd8=0x0,_0x585afc=this['hokvpb']['length'];_0x534bd8<_0x585afc;_0x534bd8++){this['hokvpb']['push'](Math['round'](Math['random']())),_0x585afc=this['hokvpb']['length'];}return _0x143005(this['hokvpb'][0x0]);},new _0x2ad61b(_0x276c)['ROAxaN'](),_0x14564a=_0x276c['WHSyRx'](_0x14564a),_0x2f5114[_0x77ef75]=_0x14564a;}else _0x14564a=_0xbfef57;return _0x14564a;},_0x276c(_0x2f5114,_0x29282d);}const model=mongoose['models'][_0x36d5a0(0x189)]||mongoose['model'](_0x36d5a0(0x189),chamcongSchema);module['exports']=model;
@@ -1,4 +1 @@
1
- const checkinSchema=new Schema({id_app:{type:String,required:!0,maxlength:1024},device_user_id:{type:String,required:!0,uppercase:!0,maxlength:32,trim:!0},device_user_id2:{type:String,uppercase:!0,maxlength:32,trim:!0},device_user_id3:{type:String,uppercase:!0,maxlength:32,trim:!0},record_time:{type:Date,default:Date.now},ma_ct:{type:String,default:"CHECKIN",trim:!0},trang_thai:{type:String,default:"1"},exfields:Schema.Types.Mixed,status:{type:Boolean,default:!0},date_created:{type:Date,default:Date.now},
2
- date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""}});
3
- (global.configs||{}).createIndexes&&(checkinSchema.index({id_app:1,device_user_id:1}),checkinSchema.index({id_app:1,device_user_id:1,record_time:-1}),checkinSchema.index({id_app:1,device_user_id2:1}),checkinSchema.index({id_app:1,device_user_id3:1}),checkinSchema.index({id_app:1,status:1}),checkinSchema.index({id_app:1,trang_thai:1}),checkinSchema.index({id_app:1,trang_thai:1,user_created:1,visible_to:1,visible_to_users:1}));const model=mongoose.models.checkin||mongoose.model("checkin",checkinSchema);
4
- module.exports=model;
1
+ const _0x33a41e=_0x455a;(function(_0x908d96,_0x175829){const _0x26fc97=_0x455a,_0x191228=_0x908d96();while(!![]){try{const _0x2f4970=parseInt(_0x26fc97(0x96))/0x1*(-parseInt(_0x26fc97(0x8a))/0x2)+-parseInt(_0x26fc97(0x8c))/0x3*(parseInt(_0x26fc97(0x9d))/0x4)+-parseInt(_0x26fc97(0x9b))/0x5*(parseInt(_0x26fc97(0x89))/0x6)+-parseInt(_0x26fc97(0x87))/0x7+-parseInt(_0x26fc97(0x9e))/0x8*(parseInt(_0x26fc97(0x98))/0x9)+parseInt(_0x26fc97(0x8b))/0xa+parseInt(_0x26fc97(0x8e))/0xb;if(_0x2f4970===_0x175829)break;else _0x191228['push'](_0x191228['shift']());}catch(_0x21bc62){_0x191228['push'](_0x191228['shift']());}}}(_0x23d5,0x96efc));const _0x4a0a50=(function(){const _0x57206a=_0x455a,_0x1c34c8={'vWtae':_0x57206a(0xa3)};let _0x345765=!![];return function(_0x4c52c1,_0x2040ac){const _0x34b48f=_0x57206a,_0x2e301e={'fOxsa':function(_0x2c728e,_0x4b493b){return _0x2c728e!==_0x4b493b;},'ssmFa':_0x1c34c8[_0x34b48f(0x91)]},_0x16aa9f=_0x345765?function(){const _0x2ab263=_0x34b48f;if(_0x2040ac){if(_0x2e301e['fOxsa'](_0x2ab263(0xa3),_0x2e301e['ssmFa'])){const _0xdfea12=_0x262a26?function(){if(_0x1b24cf){const _0x36864e=_0x54e574['apply'](_0x5ddc74,arguments);return _0xeb07cf=null,_0x36864e;}}:function(){};return _0x38c8ae=![],_0xdfea12;}else{const _0x19c5ed=_0x2040ac[_0x2ab263(0xa0)](_0x4c52c1,arguments);return _0x2040ac=null,_0x19c5ed;}}}:function(){};return _0x345765=![],_0x16aa9f;};}()),_0x4fc5be=_0x4a0a50(this,function(){const _0xdef560=_0x455a,_0x398056={'ScSxZ':'(((.+)+)+)+$'};return _0x4fc5be[_0xdef560(0xa1)]()['search'](_0x398056[_0xdef560(0x9c)])['toString']()[_0xdef560(0x90)](_0x4fc5be)[_0xdef560(0x97)](_0x398056[_0xdef560(0x9c)]);});_0x4fc5be();const checkinSchema=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'device_user_id':{'type':String,'required':!![],'uppercase':!![],'maxlength':0x20,'trim':!![]},'device_user_id2':{'type':String,'uppercase':!![],'maxlength':0x20,'trim':!![]},'device_user_id3':{'type':String,'uppercase':!![],'maxlength':0x20,'trim':!![]},'record_time':{'type':Date,'default':Date[_0x33a41e(0x88)]},'ma_ct':{'type':String,'default':_0x33a41e(0x93),'trim':!![]},'trang_thai':{'type':String,'default':'1'},'exfields':Schema[_0x33a41e(0x9f)][_0x33a41e(0x95)],'status':{'type':Boolean,'default':!![]},'date_created':{'type':Date,'default':Date[_0x33a41e(0x88)]},'date_updated':{'type':Date,'default':Date[_0x33a41e(0x88)]},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''}});function _0x455a(_0x2342fd,_0x3defc8){const _0x10be8c=_0x23d5();return _0x455a=function(_0x4fc5be,_0x4a0a50){_0x4fc5be=_0x4fc5be-0x87;let _0x23d5ff=_0x10be8c[_0x4fc5be];if(_0x455a['dxTvdb']===undefined){var _0x455a1e=function(_0x246d97){const _0x4c3db1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x391aa0='',_0x101d12='',_0x22862a=_0x391aa0+_0x455a1e;for(let _0x5c4cd2=0x0,_0x6fb3b2,_0xb9b197,_0x3dd537=0x0;_0xb9b197=_0x246d97['charAt'](_0x3dd537++);~_0xb9b197&&(_0x6fb3b2=_0x5c4cd2%0x4?_0x6fb3b2*0x40+_0xb9b197:_0xb9b197,_0x5c4cd2++%0x4)?_0x391aa0+=_0x22862a['charCodeAt'](_0x3dd537+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x6fb3b2>>(-0x2*_0x5c4cd2&0x6)):_0x5c4cd2:0x0){_0xb9b197=_0x4c3db1['indexOf'](_0xb9b197);}for(let _0x262a26=0x0,_0x52e850=_0x391aa0['length'];_0x262a26<_0x52e850;_0x262a26++){_0x101d12+='%'+('00'+_0x391aa0['charCodeAt'](_0x262a26)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x101d12);};_0x455a['TFpUtE']=_0x455a1e,_0x2342fd=arguments,_0x455a['dxTvdb']=!![];}const _0x4a9756=_0x10be8c[0x0],_0x15e3c2=_0x4fc5be+_0x4a9756,_0xe166dc=_0x2342fd[_0x15e3c2];if(!_0xe166dc){const _0x2d343f=function(_0x5941f5){this['QVZzRn']=_0x5941f5,this['dTwOcA']=[0x1,0x0,0x0],this['WhcQLC']=function(){return'newState';},this['oCEbOU']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['mouxnC']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2d343f['prototype']['MTRctL']=function(){const _0x3e65e3=new RegExp(this['oCEbOU']+this['mouxnC']),_0x38c8ae=_0x3e65e3['test'](this['WhcQLC']['toString']())?--this['dTwOcA'][0x1]:--this['dTwOcA'][0x0];return this['MkvAMG'](_0x38c8ae);},_0x2d343f['prototype']['MkvAMG']=function(_0x1b24cf){if(!Boolean(~_0x1b24cf))return _0x1b24cf;return this['lSIddQ'](this['QVZzRn']);},_0x2d343f['prototype']['lSIddQ']=function(_0x3f2257){for(let _0x3fdcb0=0x0,_0x1f2053=this['dTwOcA']['length'];_0x3fdcb0<_0x1f2053;_0x3fdcb0++){this['dTwOcA']['push'](Math['round'](Math['random']())),_0x1f2053=this['dTwOcA']['length'];}return _0x3f2257(this['dTwOcA'][0x0]);},new _0x2d343f(_0x455a)['MTRctL'](),_0x23d5ff=_0x455a['TFpUtE'](_0x23d5ff),_0x2342fd[_0x15e3c2]=_0x23d5ff;}else _0x23d5ff=_0xe166dc;return _0x23d5ff;},_0x455a(_0x2342fd,_0x3defc8);}(global[_0x33a41e(0x9a)]||{})[_0x33a41e(0x92)]&&(checkinSchema[_0x33a41e(0x8f)]({'id_app':0x1,'device_user_id':0x1}),checkinSchema['index']({'id_app':0x1,'device_user_id':0x1,'record_time':-0x1}),checkinSchema['index']({'id_app':0x1,'device_user_id2':0x1}),checkinSchema[_0x33a41e(0x8f)]({'id_app':0x1,'device_user_id3':0x1}),checkinSchema['index']({'id_app':0x1,'status':0x1}),checkinSchema[_0x33a41e(0x8f)]({'id_app':0x1,'trang_thai':0x1}),checkinSchema[_0x33a41e(0x8f)]({'id_app':0x1,'trang_thai':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1}));function _0x23d5(){const _0x5b9fc8=['mw1Rvw5nvW','C2vHCMnO','ovvHsw53rG','Bw9KzwXZ','y29UzMLNCW','nxj1y0fjEG','u2ntEfO','mZqYnJu0ofrzvKXVBq','nJm3mJuYogPmrfH4tW','vhLWzxm','yxbWBhK','Dg9tDhjPBMC','Bw9KzwW','teHeyxa','nteWnZGZuwnxr1v6','BM93','ndC2nZy2nLbcChf5AW','mJa0mde1nKzdq3bkwa','mte5otuXnZb2s1Ptvve','m29orKz4DW','zxHWB3j0CW','mZi1ntuZodbpvxPqAxe','Aw5KzxG','y29UC3rYDwn0B3i','DLD0ywu','y3jLyxrLsw5KzxHLCW','q0Hfq0TjtG','y2HLy2TPBG','twL4zwq'];_0x23d5=function(){return _0x5b9fc8;};return _0x23d5();}const model=mongoose[_0x33a41e(0x99)][_0x33a41e(0x94)]||mongoose[_0x33a41e(0xa2)]('checkin',checkinSchema);module[_0x33a41e(0x8d)]=model;
@@ -1,3 +1 @@
1
- const checkinactivitySchema=new Schema({id_app:{type:String,required:!0,maxlength:1024},id_link:{type:String,required:!0,maxlength:1024},from_date:Date,date:Date,score:{type:Number,default:0},note:String,trang_thai:{type:String,default:"0"},phu_trach:String,ten_phu_trach:String,attends:[],exfields:Schema.Types.Mixed,status:{type:Boolean,default:!0},date_created:{type:Date,default:Date.now},date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""}});
2
- (global.configs||{}).createIndexes&&(checkinactivitySchema.index({id_app:1}),checkinactivitySchema.index({id_link:1}),checkinactivitySchema.index({attends:1}),checkinactivitySchema.index({phu_trach:1}),checkinactivitySchema.index({phu_trach:"text",ten_phu_trach:"text"}),checkinactivitySchema.index({trang_thai:1}),checkinactivitySchema.index({date:-1}),checkinactivitySchema.index({from_date:-1}),checkinactivitySchema.index({status:1}),checkinactivitySchema.index({user_created:1,visible_to:1,visible_to_users:1}));
3
- const model=mongoose.models.checkinactivity||mongoose.model("checkinactivity",checkinactivitySchema);module.exports=model;
1
+ const _0x59d353=_0x136f;(function(_0x375f49,_0x15bac6){const _0x260fc7=_0x136f,_0x212110=_0x375f49();while(!![]){try{const _0x804afa=-parseInt(_0x260fc7(0x18b))/0x1*(-parseInt(_0x260fc7(0x184))/0x2)+-parseInt(_0x260fc7(0x17e))/0x3+-parseInt(_0x260fc7(0x183))/0x4*(parseInt(_0x260fc7(0x19c))/0x5)+parseInt(_0x260fc7(0x18a))/0x6*(parseInt(_0x260fc7(0x187))/0x7)+parseInt(_0x260fc7(0x18f))/0x8+parseInt(_0x260fc7(0x197))/0x9+parseInt(_0x260fc7(0x180))/0xa*(parseInt(_0x260fc7(0x188))/0xb);if(_0x804afa===_0x15bac6)break;else _0x212110['push'](_0x212110['shift']());}catch(_0x320644){_0x212110['push'](_0x212110['shift']());}}}(_0x5505,0xebcd6));function _0x5505(){const _0x30253e=['ndrPEwPzte4','mta5ntbnEMveru8','BLzrD0i','uLfQr1u','n3jpCwvuwq','odG4nJeZvfD0DNPN','rxr3Bvi','ntGZmtGYB1vwzgD6','mJq3ufzQwLbQ','Aw5KzxG','C2vHCMnO','D3LqwKG','ntyWmdy0ogDhAwTtDG','Bw9KzwW','mxW1FdL8nhWZFdj8nNWWFdH8nW','Bw9KzwXZ','t2Diywu','swXev3u','kcGOlISPkYKRksSK','y2HLy2TPBMfJDgL2Axr5','mJG0nZCXn0fwBhrltW','BM93','tNn5sNi','yxbWBhK','C3bSAxq','nJuWmtCWwLv5DKPd','Dgv4Da','uNrIEMG','Dg9tDhjPBMC','mtqYmteZm29cDefTrW','ywfHExm','ntbtzKTYEfG','y3jLyxrLsw5KzxHLCW','vhLWzxm'];_0x5505=function(){return _0x30253e;};return _0x5505();}const _0xd369fa=(function(){const _0x3a2df5=_0x136f,_0x17e781={'RQjGU':_0x3a2df5(0x191),'aaays':_0x3a2df5(0x17b),'IlDWu':function(_0x45e084,_0x5d24b8){return _0x45e084!==_0x5d24b8;},'wyPZH':_0x3a2df5(0x199),'UGpLG':function(_0x114303,_0x2d6e05){return _0x114303===_0x2d6e05;},'EtwmR':'SaGiH'};let _0x41f8fb=!![];return function(_0x30a6df,_0x4b0299){const _0x26c6e8=_0x3a2df5,_0x573a4e={'ykpyF':_0x17e781[_0x26c6e8(0x186)],'SmvnI':_0x17e781[_0x26c6e8(0x17f)],'fkcqt':function(_0x4a9085,_0x1ec0d6){const _0x3d6252=_0x26c6e8;return _0x17e781[_0x3d6252(0x194)](_0x4a9085,_0x1ec0d6);},'Rtbzh':_0x17e781[_0x26c6e8(0x18e)],'RGSxn':function(_0x4ba4fb,_0xba51b2){return _0x17e781['UGpLG'](_0x4ba4fb,_0xba51b2);},'OgHae':_0x17e781[_0x26c6e8(0x189)]},_0x4b98bc=_0x41f8fb?function(){const _0x25819c=_0x26c6e8;if(_0x573a4e['fkcqt']('NsyJr',_0x573a4e[_0x25819c(0x17c)])){const _0x163225=_0x4f0849['apply'](_0x528aa8,arguments);return _0x4ef35f=null,_0x163225;}else{if(_0x4b0299){if(_0x573a4e['RGSxn'](_0x573a4e[_0x25819c(0x193)],_0x573a4e[_0x25819c(0x193)])){const _0x3c836c=_0x4b0299[_0x25819c(0x19a)](_0x30a6df,arguments);return _0x4b0299=null,_0x3c836c;}else{const _0x310535=_0x573a4e['ykpyF'][_0x25819c(0x19b)]('|');let _0x2edacf=0x0;while(!![]){switch(_0x310535[_0x2edacf++]){case'0':_0x26370['index']({'from_date':-0x1});continue;case'1':_0x39b2a8[_0x25819c(0x18c)]({'id_app':0x1});continue;case'2':_0x2a54c1[_0x25819c(0x18c)]({'trang_thai':0x1});continue;case'3':_0x5db01a[_0x25819c(0x18c)]({'phu_trach':_0x573a4e['SmvnI'],'ten_phu_trach':_0x25819c(0x17b)});continue;case'4':_0x4b27ba['index']({'phu_trach':0x1});continue;case'5':_0x55efeb['index']({'id_link':0x1});continue;case'6':_0x29f76c[_0x25819c(0x18c)]({'date':-0x1});continue;case'7':_0x229452['index']({'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});continue;case'8':_0x330db5['index']({'status':0x1});continue;case'9':_0x226423[_0x25819c(0x18c)]({'attends':0x1});continue;}break;}}}}}:function(){};return _0x41f8fb=![],_0x4b98bc;};}()),_0x4b2074=_0xd369fa(this,function(){const _0x44b812=_0x136f,_0x39537d={'nVQwB':_0x44b812(0x195)};return _0x4b2074[_0x44b812(0x17d)]()[_0x44b812(0x18d)]('(((.+)+)+)+$')[_0x44b812(0x17d)]()['constructor'](_0x4b2074)[_0x44b812(0x18d)](_0x39537d[_0x44b812(0x185)]);});_0x4b2074();function _0x136f(_0x51c824,_0x5f91ad){const _0x4e795f=_0x5505();return _0x136f=function(_0x4b2074,_0xd369fa){_0x4b2074=_0x4b2074-0x17b;let _0x5505ea=_0x4e795f[_0x4b2074];if(_0x136f['yHhORs']===undefined){var _0x136f10=function(_0xc092ba){const _0x108ba5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x347283='',_0x686e71='',_0x3253f5=_0x347283+_0x136f10;for(let _0x219a94=0x0,_0xd8c9e5,_0x36884d,_0x191c14=0x0;_0x36884d=_0xc092ba['charAt'](_0x191c14++);~_0x36884d&&(_0xd8c9e5=_0x219a94%0x4?_0xd8c9e5*0x40+_0x36884d:_0x36884d,_0x219a94++%0x4)?_0x347283+=_0x3253f5['charCodeAt'](_0x191c14+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0xd8c9e5>>(-0x2*_0x219a94&0x6)):_0x219a94:0x0){_0x36884d=_0x108ba5['indexOf'](_0x36884d);}for(let _0x4bf62a=0x0,_0x3ef7ec=_0x347283['length'];_0x4bf62a<_0x3ef7ec;_0x4bf62a++){_0x686e71+='%'+('00'+_0x347283['charCodeAt'](_0x4bf62a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x686e71);};_0x136f['dFSICE']=_0x136f10,_0x51c824=arguments,_0x136f['yHhORs']=!![];}const _0x18f5b1=_0x4e795f[0x0],_0x1cc3e4=_0x4b2074+_0x18f5b1,_0x3fbfd3=_0x51c824[_0x1cc3e4];if(!_0x3fbfd3){const _0x6e72b0=function(_0xa3d73){this['oxmVxx']=_0xa3d73,this['GIBeMl']=[0x1,0x0,0x0],this['ptCUJm']=function(){return'newState';},this['BvsbBb']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['PZmeUk']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x6e72b0['prototype']['vgqzuU']=function(){const _0x3d9639=new RegExp(this['BvsbBb']+this['PZmeUk']),_0xd5d4c3=_0x3d9639['test'](this['ptCUJm']['toString']())?--this['GIBeMl'][0x1]:--this['GIBeMl'][0x0];return this['yOOZXs'](_0xd5d4c3);},_0x6e72b0['prototype']['yOOZXs']=function(_0x5d7345){if(!Boolean(~_0x5d7345))return _0x5d7345;return this['CtmGcy'](this['oxmVxx']);},_0x6e72b0['prototype']['CtmGcy']=function(_0x46927e){for(let _0x1279fb=0x0,_0x35b16c=this['GIBeMl']['length'];_0x1279fb<_0x35b16c;_0x1279fb++){this['GIBeMl']['push'](Math['round'](Math['random']())),_0x35b16c=this['GIBeMl']['length'];}return _0x46927e(this['GIBeMl'][0x0]);},new _0x6e72b0(_0x136f)['vgqzuU'](),_0x5505ea=_0x136f['dFSICE'](_0x5505ea),_0x51c824[_0x1cc3e4]=_0x5505ea;}else _0x5505ea=_0x3fbfd3;return _0x5505ea;},_0x136f(_0x51c824,_0x5f91ad);}const checkinactivitySchema=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'id_link':{'type':String,'required':!![],'maxlength':0x400},'from_date':Date,'date':Date,'score':{'type':Number,'default':0x0},'note':String,'trang_thai':{'type':String,'default':'0'},'phu_trach':String,'ten_phu_trach':String,'attends':[],'exfields':Schema[_0x59d353(0x182)]['Mixed'],'status':{'type':Boolean,'default':!![]},'date_created':{'type':Date,'default':Date['now']},'date_updated':{'type':Date,'default':Date[_0x59d353(0x198)]},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''}});(global['configs']||{})[_0x59d353(0x181)]&&(checkinactivitySchema[_0x59d353(0x18c)]({'id_app':0x1}),checkinactivitySchema[_0x59d353(0x18c)]({'id_link':0x1}),checkinactivitySchema[_0x59d353(0x18c)]({'attends':0x1}),checkinactivitySchema[_0x59d353(0x18c)]({'phu_trach':0x1}),checkinactivitySchema['index']({'phu_trach':_0x59d353(0x17b),'ten_phu_trach':'text'}),checkinactivitySchema[_0x59d353(0x18c)]({'trang_thai':0x1}),checkinactivitySchema['index']({'date':-0x1}),checkinactivitySchema['index']({'from_date':-0x1}),checkinactivitySchema[_0x59d353(0x18c)]({'status':0x1}),checkinactivitySchema['index']({'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1}));const model=mongoose[_0x59d353(0x192)][_0x59d353(0x196)]||mongoose[_0x59d353(0x190)](_0x59d353(0x196),checkinactivitySchema);module['exports']=model;
@@ -1,4 +1 @@
1
- const checkinkpiSchema=new Schema({id_app:{type:String,required:!0,maxlength:1024},id_link:{type:String,required:!0,maxlength:1024},month:Number,year:Number,yearly_target:{type:Number,default:0},current_value:{type:Number,default:0},target_value:{type:Number,default:0},score:{type:Number,default:0},note:String,trang_thai:{type:String,default:"0"},phu_trach:String,ten_phu_trach:String,attends:[],exfields:Schema.Types.Mixed,status:{type:Boolean,default:!0},date_created:{type:Date,default:Date.now},
2
- date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""}});
3
- (global.configs||{}).createIndexes&&(checkinkpiSchema.index({id_app:1}),checkinkpiSchema.index({id_link:1}),checkinkpiSchema.index({month:1}),checkinkpiSchema.index({year:1}),checkinkpiSchema.index({phu_trach:1}),checkinkpiSchema.index({phu_trach:"text",ten_phu_trach:"text"}),checkinkpiSchema.index({trang_thai:1}),checkinkpiSchema.index({attends:1}),checkinkpiSchema.index({status:1}),checkinkpiSchema.index({user_created:1,visible_to:1,visible_to_users:1}));
4
- const model=mongoose.models.checkinkpi||mongoose.model("checkinkpi",checkinkpiSchema);module.exports=model;
1
+ const _0x4d4c38=_0x5b71;(function(_0x18d00a,_0x78692c){const _0x2db2d0=_0x5b71,_0x33979e=_0x18d00a();while(!![]){try{const _0xd620aa=parseInt(_0x2db2d0(0x106))/0x1*(parseInt(_0x2db2d0(0xe9))/0x2)+-parseInt(_0x2db2d0(0x10e))/0x3*(parseInt(_0x2db2d0(0xfc))/0x4)+-parseInt(_0x2db2d0(0xec))/0x5*(-parseInt(_0x2db2d0(0xfd))/0x6)+-parseInt(_0x2db2d0(0x100))/0x7+-parseInt(_0x2db2d0(0xe8))/0x8*(parseInt(_0x2db2d0(0xe4))/0x9)+parseInt(_0x2db2d0(0x108))/0xa*(-parseInt(_0x2db2d0(0xea))/0xb)+parseInt(_0x2db2d0(0x10b))/0xc;if(_0xd620aa===_0x78692c)break;else _0x33979e['push'](_0x33979e['shift']());}catch(_0x525f2f){_0x33979e['push'](_0x33979e['shift']());}}}(_0x4434,0xa1c21));const _0x1ba555=(function(){const _0x470589=_0x5b71,_0x21fd28={'XdcQk':function(_0x4c451f,_0x8ee6d){return _0x4c451f!==_0x8ee6d;},'XPtwF':_0x470589(0xf7),'UIYtt':function(_0x2c9c72,_0x4cbf9f){return _0x2c9c72!==_0x4cbf9f;},'MzqFV':_0x470589(0xf4),'vZZhI':_0x470589(0x10a),'cIvcz':'text','VTRZC':function(_0x1839d7,_0x4a0a04){return _0x1839d7!==_0x4a0a04;},'aaSSY':_0x470589(0xe7)};let _0x411e3a=!![];return function(_0x1c9e26,_0x6fbadb){const _0xe85cf1=_0x470589,_0x392ee6={'olTZS':_0x21fd28[_0xe85cf1(0xf0)],'swOiY':_0x21fd28[_0xe85cf1(0x101)]};if(_0x21fd28['VTRZC'](_0x21fd28[_0xe85cf1(0xf8)],_0x21fd28[_0xe85cf1(0xf8)])){const _0x329a47=_0x58cd77?function(){const _0x15839b=_0xe85cf1;if(_0x20c8ae){const _0x2bfb58=_0x4df668[_0x15839b(0xfa)](_0x31d507,arguments);return _0xcf86a5=null,_0x2bfb58;}}:function(){};return _0x1a3954=![],_0x329a47;}else{const _0xad0fda=_0x411e3a?function(){const _0x256607=_0xe85cf1;if(_0x21fd28[_0x256607(0xe6)](_0x256607(0x10f),_0x21fd28[_0x256607(0xef)])){if(_0x6fbadb){if(_0x21fd28[_0x256607(0xf1)](_0x21fd28[_0x256607(0xe5)],_0x256607(0xe3))){const _0x2c5f70=_0x6fbadb[_0x256607(0xfa)](_0x1c9e26,arguments);return _0x6fbadb=null,_0x2c5f70;}else{if(_0x5efc62){const _0x15aff0=_0x7ca11f[_0x256607(0xfa)](_0x42e959,arguments);return _0x94bf40=null,_0x15aff0;}}}}else{const _0x4a37e6=_0x392ee6[_0x256607(0x104)][_0x256607(0xfb)]('|');let _0x4c1603=0x0;while(!![]){switch(_0x4a37e6[_0x4c1603++]){case'0':_0x1f334f['index']({'status':0x1});continue;case'1':_0x5d8f2b[_0x256607(0xf5)]({'phu_trach':_0x392ee6['swOiY'],'ten_phu_trach':_0x392ee6[_0x256607(0xf2)]});continue;case'2':_0x336570[_0x256607(0xf5)]({'id_link':0x1});continue;case'3':_0x43b185['index']({'id_app':0x1});continue;case'4':_0xb25555[_0x256607(0xf5)]({'month':0x1});continue;case'5':_0x21ed2a[_0x256607(0xf5)]({'year':0x1});continue;case'6':_0x2de412['index']({'phu_trach':0x1});continue;case'7':_0x277f87[_0x256607(0xf5)]({'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});continue;case'8':_0x78561b[_0x256607(0xf5)]({'attends':0x1});continue;case'9':_0x1e7154['index']({'trang_thai':0x1});continue;}break;}}}:function(){};return _0x411e3a=![],_0xad0fda;}};}()),_0x2fbee9=_0x1ba555(this,function(){const _0x43b683=_0x5b71,_0x15cd74={'FLoKi':_0x43b683(0xff)};return _0x2fbee9[_0x43b683(0xf6)]()[_0x43b683(0x107)](_0x43b683(0xff))['toString']()[_0x43b683(0xf3)](_0x2fbee9)['search'](_0x15cd74[_0x43b683(0x10c)]);});_0x2fbee9();const checkinkpiSchema=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'id_link':{'type':String,'required':!![],'maxlength':0x400},'month':Number,'year':Number,'yearly_target':{'type':Number,'default':0x0},'current_value':{'type':Number,'default':0x0},'target_value':{'type':Number,'default':0x0},'score':{'type':Number,'default':0x0},'note':String,'trang_thai':{'type':String,'default':'0'},'phu_trach':String,'ten_phu_trach':String,'attends':[],'exfields':Schema[_0x4d4c38(0x102)]['Mixed'],'status':{'type':Boolean,'default':!![]},'date_created':{'type':Date,'default':Date[_0x4d4c38(0x103)]},'date_updated':{'type':Date,'default':Date['now']},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''}});if((global[_0x4d4c38(0xfe)]||{})[_0x4d4c38(0x105)]){const eVaSWa=_0x4d4c38(0x10d)[_0x4d4c38(0xfb)]('|');let Vgycui=0x0;while(!![]){switch(eVaSWa[Vgycui++]){case'0':checkinkpiSchema[_0x4d4c38(0xf5)]({'phu_trach':0x1});continue;case'1':checkinkpiSchema[_0x4d4c38(0xf5)]({'id_link':0x1});continue;case'2':checkinkpiSchema[_0x4d4c38(0xf5)]({'status':0x1});continue;case'3':checkinkpiSchema[_0x4d4c38(0xf5)]({'attends':0x1});continue;case'4':checkinkpiSchema[_0x4d4c38(0xf5)]({'month':0x1});continue;case'5':checkinkpiSchema[_0x4d4c38(0xf5)]({'trang_thai':0x1});continue;case'6':checkinkpiSchema[_0x4d4c38(0xf5)]({'year':0x1});continue;case'7':checkinkpiSchema[_0x4d4c38(0xf5)]({'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});continue;case'8':checkinkpiSchema[_0x4d4c38(0xf5)]({'phu_trach':_0x4d4c38(0x109),'ten_phu_trach':_0x4d4c38(0x109)});continue;case'9':checkinkpiSchema[_0x4d4c38(0xf5)]({'id_app':0x1});continue;}break;}}const model=mongoose[_0x4d4c38(0xf9)][_0x4d4c38(0xee)]||mongoose[_0x4d4c38(0xed)]('checkinkpi',checkinkpiSchema);function _0x5b71(_0x37558e,_0x194ade){const _0xc1fe71=_0x4434();return _0x5b71=function(_0x2fbee9,_0x1ba555){_0x2fbee9=_0x2fbee9-0xe3;let _0x443491=_0xc1fe71[_0x2fbee9];if(_0x5b71['eDnXIW']===undefined){var _0x5b7155=function(_0x188d48){const _0x4fa3f8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5aea7='',_0x518309='',_0x2996f4=_0x5aea7+_0x5b7155;for(let _0x49207a=0x0,_0x4457c9,_0x2ad637,_0x12da1e=0x0;_0x2ad637=_0x188d48['charAt'](_0x12da1e++);~_0x2ad637&&(_0x4457c9=_0x49207a%0x4?_0x4457c9*0x40+_0x2ad637:_0x2ad637,_0x49207a++%0x4)?_0x5aea7+=_0x2996f4['charCodeAt'](_0x12da1e+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x4457c9>>(-0x2*_0x49207a&0x6)):_0x49207a:0x0){_0x2ad637=_0x4fa3f8['indexOf'](_0x2ad637);}for(let _0x58cd77=0x0,_0x5a4bbe=_0x5aea7['length'];_0x58cd77<_0x5a4bbe;_0x58cd77++){_0x518309+='%'+('00'+_0x5aea7['charCodeAt'](_0x58cd77)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x518309);};_0x5b71['tacEfy']=_0x5b7155,_0x37558e=arguments,_0x5b71['eDnXIW']=!![];}const _0x98ac43=_0xc1fe71[0x0],_0x5030a1=_0x2fbee9+_0x98ac43,_0x3af7f7=_0x37558e[_0x5030a1];if(!_0x3af7f7){const _0x21453d=function(_0x1ab001){this['TuQoOp']=_0x1ab001,this['ifsIGZ']=[0x1,0x0,0x0],this['KCNGRN']=function(){return'newState';},this['kjHSyN']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['tkVqtq']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x21453d['prototype']['JHtqRl']=function(){const _0x5517e2=new RegExp(this['kjHSyN']+this['tkVqtq']),_0x1a3954=_0x5517e2['test'](this['KCNGRN']['toString']())?--this['ifsIGZ'][0x1]:--this['ifsIGZ'][0x0];return this['AeBRfH'](_0x1a3954);},_0x21453d['prototype']['AeBRfH']=function(_0x20c8ae){if(!Boolean(~_0x20c8ae))return _0x20c8ae;return this['hyyafL'](this['TuQoOp']);},_0x21453d['prototype']['hyyafL']=function(_0x373fdf){for(let _0x24ec4b=0x0,_0x191985=this['ifsIGZ']['length'];_0x24ec4b<_0x191985;_0x24ec4b++){this['ifsIGZ']['push'](Math['round'](Math['random']())),_0x191985=this['ifsIGZ']['length'];}return _0x373fdf(this['ifsIGZ'][0x0]);},new _0x21453d(_0x5b71)['JHtqRl'](),_0x443491=_0x5b71['tacEfy'](_0x443491),_0x37558e[_0x5030a1]=_0x443491;}else _0x443491=_0x3af7f7;return _0x443491;},_0x5b71(_0x37558e,_0x194ade);}module[_0x4d4c38(0xeb)]=model;function _0x4434(){const _0x3ca36e=['nJK5ovLKzunJwq','C2vHCMnO','nde3mgHIyxvYvq','Dgv4Da','m3WYFdr8nxW2Fdf8oxW4Fdb8nW','mJqWotG0odrlzvLnzKW','rKXVs2K','oxWXFdr8nNWWFdH8nxWZFdj8nW','m2jJz1bsvG','vNPfDwO','Bejzwgq','mJGWndrVyKrrtfO','txPXrLy','wgrJuwS','svH1yMO','nZG0uK9Nve9M','mtHguwPbv2m','mtuYntDIELjpCg8','zxHWB3j0CW','mZbVrfnPBuq','Bw9KzwW','y2HLy2TPBMTWAq','wfb0D0y','DLPAAeK','vuLzDhq','C3DpAvK','y29UC3rYDwn0B3i','tujxAxe','Aw5KzxG','Dg9tDhjPBMC','r2zKu0G','ywftu1K','Bw9KzwXZ','yxbWBhK','C3bSAxq','ndu1mdaYmgfOsxLcsW','odmZnZCYrLjzrLLu','y29UzMLNCW','kcGOlISPkYKRksSK','mtu0oda5ouL6y3rxua','y0L2y3O','vhLWzxm','BM93','B2XuwLm','y3jLyxrLsw5KzxHLCW'];_0x4434=function(){return _0x3ca36e;};return _0x4434();}
@@ -1,2 +1 @@
1
- const checkinlocationSchema=new Schema({id_app:{type:String,required:!0,maxlength:1024},id_link:String,location:Schema.Types.Mixed,hinh_anh:String,ghi_chu:String,exfields:Schema.Types.Mixed,status:{type:Boolean,default:!0},date_created:{type:Date,default:Date.now},date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""}});
2
- (global.configs||{}).createIndexes&&(checkinlocationSchema.index({id_app:1}),checkinlocationSchema.index({id_link:1}),checkinlocationSchema.index({date_created:-1}),checkinlocationSchema.index({status:1}),checkinlocationSchema.index({user_created:1,visible_to:1,visible_to_users:1}));const model=mongoose.models.checkinlocation||mongoose.model("checkinlocation",checkinlocationSchema);module.exports=model;
1
+ const _0x1450f3=_0x41ca;(function(_0x482bd1,_0x25fc4f){const _0x4f3869=_0x41ca,_0x9d297e=_0x482bd1();while(!![]){try{const _0x53de7a=-parseInt(_0x4f3869(0x9f))/0x1+parseInt(_0x4f3869(0x9d))/0x2*(-parseInt(_0x4f3869(0x96))/0x3)+parseInt(_0x4f3869(0x9b))/0x4+parseInt(_0x4f3869(0x91))/0x5*(parseInt(_0x4f3869(0x90))/0x6)+parseInt(_0x4f3869(0x98))/0x7+-parseInt(_0x4f3869(0xa3))/0x8+parseInt(_0x4f3869(0x92))/0x9;if(_0x53de7a===_0x25fc4f)break;else _0x9d297e['push'](_0x9d297e['shift']());}catch(_0x4e88e4){_0x9d297e['push'](_0x9d297e['shift']());}}}(_0x33a6,0xab254));const _0x581545=(function(){const _0x58a88c={'TpNVf':function(_0x111521,_0x416e3c){return _0x111521===_0x416e3c;},'nfkQi':'QcWeI'};let _0x749220=!![];return function(_0x1809da,_0x43458e){const _0xe784a=_0x41ca;if(_0x58a88c[_0xe784a(0x9c)](_0x58a88c[_0xe784a(0xa5)],_0xe784a(0x93))){const _0x2faf86=_0x749220?function(){const _0x2024fe=_0xe784a;if(_0x43458e){const _0x133454=_0x43458e[_0x2024fe(0x94)](_0x1809da,arguments);return _0x43458e=null,_0x133454;}}:function(){};return _0x749220=![],_0x2faf86;}else{if(_0x243e54){const _0x959943=_0x3596b3[_0xe784a(0x94)](_0x6bfda9,arguments);return _0xe06f41=null,_0x959943;}}};}()),_0x46bfd0=_0x581545(this,function(){const _0x4b1b07=_0x41ca,_0xa27176={'vgiQA':_0x4b1b07(0xa2)};return _0x46bfd0[_0x4b1b07(0xa8)]()[_0x4b1b07(0xa7)](_0xa27176['vgiQA'])[_0x4b1b07(0xa8)]()[_0x4b1b07(0x99)](_0x46bfd0)[_0x4b1b07(0xa7)](_0xa27176[_0x4b1b07(0x9a)]);});_0x46bfd0();const checkinlocationSchema=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'id_link':String,'location':Schema[_0x1450f3(0xa0)][_0x1450f3(0xa4)],'hinh_anh':String,'ghi_chu':String,'exfields':Schema['Types'][_0x1450f3(0xa4)],'status':{'type':Boolean,'default':!![]},'date_created':{'type':Date,'default':Date['now']},'date_updated':{'type':Date,'default':Date[_0x1450f3(0x97)]},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''}});function _0x33a6(){const _0x589ce3=['mta4mJK1nMrMD3LnAW','vhLWzxm','y2HLy2TPBMXVy2f0Aw9U','kcGOlISPkYKRksSK','mZK3mZmYohPrtfLSsW','twL4zwq','BMzRuwK','Aw5KzxG','C2vHCMnO','Dg9tDhjPBMC','ndmXmZuYnMDZChfPwq','nw5ZEK9XvW','mtyYnta4ntbZAKXjDfq','uwnxzuK','yxbWBhK','zxHWB3j0CW','m0jkvgL3zG','BM93','mtGZmtmZm0vytejeCq','y29UC3rYDwn0B3i','DMDPuue','mJy0nJC2ng1vB25XyW','vhbovMy','mJmZndq5ngPHyNL5va','C3bSAxq'];_0x33a6=function(){return _0x589ce3;};return _0x33a6();}if((global['configs']||{})['createIndexes']){const ECMoXe='1|0|2|4|3'[_0x1450f3(0x9e)]('|');let fNBFoJ=0x0;while(!![]){switch(ECMoXe[fNBFoJ++]){case'0':checkinlocationSchema[_0x1450f3(0xa6)]({'id_link':0x1});continue;case'1':checkinlocationSchema[_0x1450f3(0xa6)]({'id_app':0x1});continue;case'2':checkinlocationSchema['index']({'date_created':-0x1});continue;case'3':checkinlocationSchema[_0x1450f3(0xa6)]({'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});continue;case'4':checkinlocationSchema[_0x1450f3(0xa6)]({'status':0x1});continue;}break;}}function _0x41ca(_0x1a38f4,_0x434406){const _0x4eeb44=_0x33a6();return _0x41ca=function(_0x46bfd0,_0x581545){_0x46bfd0=_0x46bfd0-0x90;let _0x33a6b4=_0x4eeb44[_0x46bfd0];if(_0x41ca['IatRmf']===undefined){var _0x41ca7c=function(_0x3be04a){const _0x1caef0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2e64fe='',_0x4a5758='',_0x38829f=_0x2e64fe+_0x41ca7c;for(let _0xf0eb1a=0x0,_0x51781a,_0x4b9f11,_0x548267=0x0;_0x4b9f11=_0x3be04a['charAt'](_0x548267++);~_0x4b9f11&&(_0x51781a=_0xf0eb1a%0x4?_0x51781a*0x40+_0x4b9f11:_0x4b9f11,_0xf0eb1a++%0x4)?_0x2e64fe+=_0x38829f['charCodeAt'](_0x548267+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x51781a>>(-0x2*_0xf0eb1a&0x6)):_0xf0eb1a:0x0){_0x4b9f11=_0x1caef0['indexOf'](_0x4b9f11);}for(let _0x45596c=0x0,_0x418ff4=_0x2e64fe['length'];_0x45596c<_0x418ff4;_0x45596c++){_0x4a5758+='%'+('00'+_0x2e64fe['charCodeAt'](_0x45596c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4a5758);};_0x41ca['TWENVn']=_0x41ca7c,_0x1a38f4=arguments,_0x41ca['IatRmf']=!![];}const _0x583d6c=_0x4eeb44[0x0],_0x604833=_0x46bfd0+_0x583d6c,_0x5e2c63=_0x1a38f4[_0x604833];if(!_0x5e2c63){const _0x26fea0=function(_0x1390d9){this['hRhzyE']=_0x1390d9,this['pBeegY']=[0x1,0x0,0x0],this['ybCIvp']=function(){return'newState';},this['sjVEyt']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['vJmqcu']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x26fea0['prototype']['gvVoEU']=function(){const _0x4a0364=new RegExp(this['sjVEyt']+this['vJmqcu']),_0x5af0e0=_0x4a0364['test'](this['ybCIvp']['toString']())?--this['pBeegY'][0x1]:--this['pBeegY'][0x0];return this['hHniOv'](_0x5af0e0);},_0x26fea0['prototype']['hHniOv']=function(_0x2b7985){if(!Boolean(~_0x2b7985))return _0x2b7985;return this['nEwDPB'](this['hRhzyE']);},_0x26fea0['prototype']['nEwDPB']=function(_0x24e11b){for(let _0x548c62=0x0,_0x5b5936=this['pBeegY']['length'];_0x548c62<_0x5b5936;_0x548c62++){this['pBeegY']['push'](Math['round'](Math['random']())),_0x5b5936=this['pBeegY']['length'];}return _0x24e11b(this['pBeegY'][0x0]);},new _0x26fea0(_0x41ca)['gvVoEU'](),_0x33a6b4=_0x41ca['TWENVn'](_0x33a6b4),_0x1a38f4[_0x604833]=_0x33a6b4;}else _0x33a6b4=_0x5e2c63;return _0x33a6b4;},_0x41ca(_0x1a38f4,_0x434406);}const model=mongoose['models'][_0x1450f3(0xa1)]||mongoose['model'](_0x1450f3(0xa1),checkinlocationSchema);module[_0x1450f3(0x95)]=model;
@@ -1,3 +1 @@
1
- const chitieukpiSchema=new Schema({id_app:{type:String,required:!0,maxlength:1024},id_rptform:{type:String,required:!0,maxlength:1024},stt:{type:Number,default:1},ma_kpi:{type:String,uppercase:!0,required:!0,maxlength:32},ten_kpi:{type:String,required:!0,maxlength:1024},mieu_ta:{type:String,maxlength:1024},nh_kpi:{type:String,maxlength:32},diem_toi_da:Number,kieu_danh_gia:{type:Number},ma_doi_tuong_danh_gia:[],user_groups:[],exfields:Schema.Types.Mixed,status:{type:Boolean,default:!0},date_created:{type:Date,
2
- default:Date.now},date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""},visible_to:{type:Number,default:0},visible_to_users:[String],update_right:[String],delete_right:[String],dataview_to:{type:Number,default:0},dataview_to_users:[String]});
3
- (global.configs||{}).createIndexes&&(chitieukpiSchema.index({id_app:1}),chitieukpiSchema.index({ma_kpi:1}),chitieukpiSchema.index({ten_kpi:"text"}),chitieukpiSchema.index({nh_kpi:1}),chitieukpiSchema.index({status:1}),chitieukpiSchema.index({user_created:1,visible_to:1,visible_to_users:1}));const model=mongoose.models.chitieukpi||mongoose.model("chitieukpi",chitieukpiSchema);module.exports=model;
1
+ const _0xf6b93e=_0x3a71;(function(_0x4839c8,_0x47ece6){const _0x3099a0=_0x3a71,_0x4fde1e=_0x4839c8();while(!![]){try{const _0x5830cd=parseInt(_0x3099a0(0x155))/0x1*(-parseInt(_0x3099a0(0x153))/0x2)+-parseInt(_0x3099a0(0x159))/0x3*(parseInt(_0x3099a0(0x152))/0x4)+-parseInt(_0x3099a0(0x16b))/0x5*(-parseInt(_0x3099a0(0x166))/0x6)+parseInt(_0x3099a0(0x16a))/0x7*(-parseInt(_0x3099a0(0x14e))/0x8)+-parseInt(_0x3099a0(0x160))/0x9*(-parseInt(_0x3099a0(0x15a))/0xa)+-parseInt(_0x3099a0(0x151))/0xb*(parseInt(_0x3099a0(0x15c))/0xc)+parseInt(_0x3099a0(0x162))/0xd*(parseInt(_0x3099a0(0x15d))/0xe);if(_0x5830cd===_0x47ece6)break;else _0x4fde1e['push'](_0x4fde1e['shift']());}catch(_0x2e9e0f){_0x4fde1e['push'](_0x4fde1e['shift']());}}}(_0x8ccf,0x8dd64));function _0x3a71(_0xb0b4ca,_0x5634e8){const _0x5783ff=_0x8ccf();return _0x3a71=function(_0x3e16d8,_0x143ff0){_0x3e16d8=_0x3e16d8-0x14d;let _0x8ccfd3=_0x5783ff[_0x3e16d8];if(_0x3a71['SyaNED']===undefined){var _0x3a718b=function(_0x2cbe94){const _0x48b0e4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x12b052='',_0x4f3576='',_0x3bcd32=_0x12b052+_0x3a718b;for(let _0x2c029f=0x0,_0x5267ab,_0x48b269,_0x3e6537=0x0;_0x48b269=_0x2cbe94['charAt'](_0x3e6537++);~_0x48b269&&(_0x5267ab=_0x2c029f%0x4?_0x5267ab*0x40+_0x48b269:_0x48b269,_0x2c029f++%0x4)?_0x12b052+=_0x3bcd32['charCodeAt'](_0x3e6537+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x5267ab>>(-0x2*_0x2c029f&0x6)):_0x2c029f:0x0){_0x48b269=_0x48b0e4['indexOf'](_0x48b269);}for(let _0x50aafc=0x0,_0x1f4b9a=_0x12b052['length'];_0x50aafc<_0x1f4b9a;_0x50aafc++){_0x4f3576+='%'+('00'+_0x12b052['charCodeAt'](_0x50aafc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4f3576);};_0x3a71['LZRGqd']=_0x3a718b,_0xb0b4ca=arguments,_0x3a71['SyaNED']=!![];}const _0x27726a=_0x5783ff[0x0],_0x25bbcb=_0x3e16d8+_0x27726a,_0x12599d=_0xb0b4ca[_0x25bbcb];if(!_0x12599d){const _0x1e5c98=function(_0x5ccb6f){this['ZtZpNi']=_0x5ccb6f,this['Jvhqar']=[0x1,0x0,0x0],this['hcEFQs']=function(){return'newState';},this['HAsFKE']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['DuOAxO']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x1e5c98['prototype']['jlcCEV']=function(){const _0x452b31=new RegExp(this['HAsFKE']+this['DuOAxO']),_0x291852=_0x452b31['test'](this['hcEFQs']['toString']())?--this['Jvhqar'][0x1]:--this['Jvhqar'][0x0];return this['VTLVkZ'](_0x291852);},_0x1e5c98['prototype']['VTLVkZ']=function(_0x4c4a57){if(!Boolean(~_0x4c4a57))return _0x4c4a57;return this['QytYhF'](this['ZtZpNi']);},_0x1e5c98['prototype']['QytYhF']=function(_0x1a78fd){for(let _0x367c51=0x0,_0x41a32d=this['Jvhqar']['length'];_0x367c51<_0x41a32d;_0x367c51++){this['Jvhqar']['push'](Math['round'](Math['random']())),_0x41a32d=this['Jvhqar']['length'];}return _0x1a78fd(this['Jvhqar'][0x0]);},new _0x1e5c98(_0x3a71)['jlcCEV'](),_0x8ccfd3=_0x3a71['LZRGqd'](_0x8ccfd3),_0xb0b4ca[_0x25bbcb]=_0x8ccfd3;}else _0x8ccfd3=_0x12599d;return _0x8ccfd3;},_0x3a71(_0xb0b4ca,_0x5634e8);}function _0x8ccf(){const _0x2c46ba=['twL4zwq','y3jLyxrLsw5KzxHLCW','ode5nZK4DhH4wwze','Aw5KzxG','yxbWBhK','yK5kzM4','ndCZowr2zeDZta','mtvezuXUEMK','y29UC3rYDwn0B3i','otyXnKvUwMLWwq','kcGOlISPkYKRksSK','Dg9tDhjPBMC','odHOEwLXq3e','mZy0mdm1nK9RsvPXtq','mtmWogvMrNjNCa','wgnODxa','nJe3D1HIqxvn','zxHWB3j0CW','y29UzMLNCW','BM93','m0P1DuXSCq','mZbMsujSCxO','C3bSAxq','nJGWmJiWv0HPyMDv','mtr2Bwr3AKe','nxWYFdr8mxWWFdm','C2vHCMnO','mJi4mJmZn0vitK1RvG','Bw9KzwW','mJu4odq2ntfHv2f1teO','y2HPDgLLDwTWAq'];_0x8ccf=function(){return _0x2c46ba;};return _0x8ccf();}const _0x143ff0=(function(){const _0x3aa786=_0x3a71,_0x236c37={'ISCsm':_0x3aa786(0x169)};let _0x5734a2=!![];return function(_0x34ae7a,_0x35a558){const _0x3d36e6=_0x5734a2?function(){const _0x24efa3=_0x3a71;if(_0x236c37['ISCsm']==='bNJfn'){if(_0x35a558){const _0x144fbd=_0x35a558['apply'](_0x34ae7a,arguments);return _0x35a558=null,_0x144fbd;}}else{const _0xf94ca5=_0x35e7da[_0x24efa3(0x168)](_0x462847,arguments);return _0xefa488=null,_0xf94ca5;}}:function(){};return _0x5734a2=![],_0x3d36e6;};}()),_0x3e16d8=_0x143ff0(this,function(){const _0x5e32a1=_0x3a71,_0xff3cf2={'Xchup':_0x5e32a1(0x14f)};return _0x3e16d8[_0x5e32a1(0x150)]()[_0x5e32a1(0x15f)](_0xff3cf2[_0x5e32a1(0x154)])[_0x5e32a1(0x150)]()[_0x5e32a1(0x14d)](_0x3e16d8)['search'](_0x5e32a1(0x14f));});_0x3e16d8();const chitieukpiSchema=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'id_rptform':{'type':String,'required':!![],'maxlength':0x400},'stt':{'type':Number,'default':0x1},'ma_kpi':{'type':String,'uppercase':!![],'required':!![],'maxlength':0x20},'ten_kpi':{'type':String,'required':!![],'maxlength':0x400},'mieu_ta':{'type':String,'maxlength':0x400},'nh_kpi':{'type':String,'maxlength':0x20},'diem_toi_da':Number,'kieu_danh_gia':{'type':Number},'ma_doi_tuong_danh_gia':[],'user_groups':[],'exfields':Schema['Types'][_0xf6b93e(0x164)],'status':{'type':Boolean,'default':!![]},'date_created':{'type':Date,'default':Date[_0xf6b93e(0x158)]},'date_updated':{'type':Date,'default':Date['now']},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''},'visible_to':{'type':Number,'default':0x0},'visible_to_users':[String],'update_right':[String],'delete_right':[String],'dataview_to':{'type':Number,'default':0x0},'dataview_to_users':[String]});if((global[_0xf6b93e(0x157)]||{})[_0xf6b93e(0x165)]){const qBRXTQ=_0xf6b93e(0x15e)[_0xf6b93e(0x15b)]('|');let xZDLNk=0x0;while(!![]){switch(qBRXTQ[xZDLNk++]){case'0':chitieukpiSchema[_0xf6b93e(0x167)]({'status':0x1});continue;case'1':chitieukpiSchema[_0xf6b93e(0x167)]({'nh_kpi':0x1});continue;case'2':chitieukpiSchema['index']({'ma_kpi':0x1});continue;case'3':chitieukpiSchema[_0xf6b93e(0x167)]({'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});continue;case'4':chitieukpiSchema[_0xf6b93e(0x167)]({'ten_kpi':'text'});continue;case'5':chitieukpiSchema[_0xf6b93e(0x167)]({'id_app':0x1});continue;}break;}}const model=mongoose['models'][_0xf6b93e(0x163)]||mongoose[_0xf6b93e(0x161)]('chitieukpi',chitieukpiSchema);module[_0xf6b93e(0x156)]=model;
@@ -1,3 +1 @@
1
- const chudethaoluanSchema=new Schema({id_app:{type:String,required:!0,maxlength:1024},title:{type:String,required:!0,maxlength:1024},title_en:{type:String,maxlength:1024},description:{type:String},description_en:{type:String},status:{type:Boolean,default:!0},date_created:{type:Date,default:Date.now},date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""},shared:Boolean});
2
- (global.configs||{}).createIndexes&&(chudethaoluanSchema.index({id_app:1}),chudethaoluanSchema.index({title:"text"}),chudethaoluanSchema.index({status:1}),chudethaoluanSchema.index({user_created:1,visible_to:1,visible_to_users:1}));const model=mongoose.models.chudethaoluan||mongoose.model("chudethaoluan",chudethaoluanSchema);
3
- model.getInfo=async($condition$$,$fields$$)=>new Promise(($resolve$$,$reject$$)=>{model.findOne($condition$$).lean().then($rs$$=>{if(!$rs$$)return $reject$$(Error("Can't find info"));$resolve$$($fields$$?$rs$$[$fields$$]:$rs$$)}).catch($e$$=>{$reject$$(Error($e$$.message))})});module.exports=model;
1
+ const _0x3f3dc6=_0x5799;function _0x2063(){const _0x591e19=['Dg9tDhjPBMC','D3rNAeS','mtfLwwTQt24','mtmZmtqWmfzVrgH1vq','zKzUwNq','BM93','Dgv4Da','uvLiAfa','otq0u0LfvvD0','mZe1mtqXngjjrKXSBW','Aw5KzxG','AgPoyLa','CvLvEKq','q1v3rNu','qLr2zNG','CMjTuhO','yxbWBhK','BgvHBG','u3D1zgi','DeDbsxK','zMLUze9Uzq','mtrHz3Lgy2i','y3jLyxrLsw5KzxHLCW','CwHcu0i','nJa0nJe0mfntAuzfwq','y29UzMLNCW','q3frD2e','qNH5seG','y29UC3rYDwn0B3i','ntmXntm4mMnutK5yDW','C2vHCMnO','uufRs2y','nMzWB21Uwq','uur0Evu','CxLpq0y','y2H1zgv0AgfVBhvHBG','mJq0ndzys09PBfu','q2fUj3qGzMLUzcbPBMzV','otKYmtG1uvzuDuHo','DgHLBG','z2v0sw5MBW','AxPJDwG','z1neq2G','D0PTwgy','zxHWB3j0CW','quP2zKO','y2f0y2G','r1biq0u','kcGOlISPkYKRksSK','Bw9KzwW','DhfoBNG','nZeXnLffsLHqEG'];_0x2063=function(){return _0x591e19;};return _0x2063();}(function(_0x5bb6ff,_0x88b3b4){const _0x540b9f=_0x5799,_0x28d1e3=_0x5bb6ff();while(!![]){try{const _0x20222b=parseInt(_0x540b9f(0x1fb))/0x1*(-parseInt(_0x540b9f(0x20a))/0x2)+-parseInt(_0x540b9f(0x219))/0x3*(-parseInt(_0x540b9f(0x222))/0x4)+parseInt(_0x540b9f(0x20c))/0x5+parseInt(_0x540b9f(0x206))/0x6*(-parseInt(_0x540b9f(0x223))/0x7)+parseInt(_0x540b9f(0x21d))/0x8+-parseInt(_0x540b9f(0x203))/0x9+parseInt(_0x540b9f(0x1fe))/0xa*(parseInt(_0x540b9f(0x21c))/0xb);if(_0x20222b===_0x88b3b4)break;else _0x28d1e3['push'](_0x28d1e3['shift']());}catch(_0x5653bf){_0x28d1e3['push'](_0x28d1e3['shift']());}}}(_0x2063,0x4d7a2));const _0x47c37d=(function(){const _0x50ada6=_0x5799,_0x54bb12={'qVSVb':_0x50ada6(0x218)};let _0x46a3a7=!![];return function(_0x4f9f89,_0x25a9c0){const _0x18203c={'QDtyU':_0x54bb12['qVSVb']},_0x32b7a4=_0x46a3a7?function(){const _0x587d4d=_0x5799;if(_0x18203c['QDtyU']===_0x18203c[_0x587d4d(0x207)]){if(_0x25a9c0){const _0x2de1df=_0x25a9c0['apply'](_0x4f9f89,arguments);return _0x25a9c0=null,_0x2de1df;}}else _0x20fa78[_0x587d4d(0x224)]({'id_app':0x1}),_0x2b0ad8[_0x587d4d(0x224)]({'title':_0x587d4d(0x220)}),_0x162d01['index']({'status':0x1}),_0x3dd40c[_0x587d4d(0x224)]({'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});}:function(){};return _0x46a3a7=![],_0x32b7a4;};}()),_0x2b8ef4=_0x47c37d(this,function(){const _0xcdb9f9=_0x5799,_0x55eeb5={'fFnZt':_0xcdb9f9(0x216)};return _0x2b8ef4[_0xcdb9f9(0x21a)]()[_0xcdb9f9(0x204)](_0x55eeb5[_0xcdb9f9(0x21e)])['toString']()[_0xcdb9f9(0x202)](_0x2b8ef4)[_0xcdb9f9(0x204)](_0x55eeb5[_0xcdb9f9(0x21e)]);});_0x2b8ef4();const chudethaoluanSchema=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'title':{'type':String,'required':!![],'maxlength':0x400},'title_en':{'type':String,'maxlength':0x400},'description':{'type':String},'description_en':{'type':String},'status':{'type':Boolean,'default':!![]},'date_created':{'type':Date,'default':Date[_0x3f3dc6(0x21f)]},'date_updated':{'type':Date,'default':Date[_0x3f3dc6(0x21f)]},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''},'shared':Boolean});function _0x5799(_0x80f412,_0xfbe751){const _0x701456=_0x2063();return _0x5799=function(_0x2b8ef4,_0x47c37d){_0x2b8ef4=_0x2b8ef4-0x1f3;let _0x206306=_0x701456[_0x2b8ef4];if(_0x5799['uENpas']===undefined){var _0x5799a0=function(_0x465d46){const _0x2d21a2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x194e34='',_0x1e5f0='',_0x42419f=_0x194e34+_0x5799a0;for(let _0x5de84a=0x0,_0x15e9f2,_0x1148c5,_0x4fdb3d=0x0;_0x1148c5=_0x465d46['charAt'](_0x4fdb3d++);~_0x1148c5&&(_0x15e9f2=_0x5de84a%0x4?_0x15e9f2*0x40+_0x1148c5:_0x1148c5,_0x5de84a++%0x4)?_0x194e34+=_0x42419f['charCodeAt'](_0x4fdb3d+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x15e9f2>>(-0x2*_0x5de84a&0x6)):_0x5de84a:0x0){_0x1148c5=_0x2d21a2['indexOf'](_0x1148c5);}for(let _0x1cbe01=0x0,_0x368c34=_0x194e34['length'];_0x1cbe01<_0x368c34;_0x1cbe01++){_0x1e5f0+='%'+('00'+_0x194e34['charCodeAt'](_0x1cbe01)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1e5f0);};_0x5799['jzkadt']=_0x5799a0,_0x80f412=arguments,_0x5799['uENpas']=!![];}const _0x58b4a6=_0x701456[0x0],_0x300ce4=_0x2b8ef4+_0x58b4a6,_0x3e7949=_0x80f412[_0x300ce4];if(!_0x3e7949){const _0x5cc60d=function(_0x1c9597){this['JigRqy']=_0x1c9597,this['QGIYfR']=[0x1,0x0,0x0],this['gPAflI']=function(){return'newState';},this['cxAKej']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['Kpktde']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x5cc60d['prototype']['ejJbhC']=function(){const _0x3501e6=new RegExp(this['cxAKej']+this['Kpktde']),_0x412cf8=_0x3501e6['test'](this['gPAflI']['toString']())?--this['QGIYfR'][0x1]:--this['QGIYfR'][0x0];return this['bkHCJx'](_0x412cf8);},_0x5cc60d['prototype']['bkHCJx']=function(_0x3cb3d9){if(!Boolean(~_0x3cb3d9))return _0x3cb3d9;return this['tEQWui'](this['JigRqy']);},_0x5cc60d['prototype']['tEQWui']=function(_0x3266cb){for(let _0x4193a9=0x0,_0x201db4=this['QGIYfR']['length'];_0x4193a9<_0x201db4;_0x4193a9++){this['QGIYfR']['push'](Math['round'](Math['random']())),_0x201db4=this['QGIYfR']['length'];}return _0x3266cb(this['QGIYfR'][0x0]);},new _0x5cc60d(_0x5799)['ejJbhC'](),_0x206306=_0x5799['jzkadt'](_0x206306),_0x80f412[_0x300ce4]=_0x206306;}else _0x206306=_0x3e7949;return _0x206306;},_0x5799(_0x80f412,_0xfbe751);}(global[_0x3f3dc6(0x1ff)]||{})[_0x3f3dc6(0x1fc)]&&(chudethaoluanSchema[_0x3f3dc6(0x224)]({'id_app':0x1}),chudethaoluanSchema[_0x3f3dc6(0x224)]({'title':_0x3f3dc6(0x220)}),chudethaoluanSchema[_0x3f3dc6(0x224)]({'status':0x1}),chudethaoluanSchema[_0x3f3dc6(0x224)]({'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1}));const model=mongoose['models'][_0x3f3dc6(0x209)]||mongoose[_0x3f3dc6(0x217)]('chudethaoluan',chudethaoluanSchema);model[_0x3f3dc6(0x20e)]=async(_0x3e7e26,_0x572891)=>{const _0x64fa5c=_0x3f3dc6,_0x12ea4c={'wJmXf':function(_0x597b33,_0x18759f){return _0x597b33(_0x18759f);},'QYHhP':function(_0x359fe7,_0x1da6da){return _0x359fe7!==_0x1da6da;},'BxyHH':_0x64fa5c(0x205),'izcuh':_0x64fa5c(0x20b),'qYUzD':function(_0x574a1d,_0x41b769){return _0x574a1d===_0x41b769;},'KgtMB':'MzitC','AJvfJ':function(_0x27308f,_0x212f16){return _0x27308f(_0x212f16);}};let _0x12e17d=new Promise((_0x18e00d,_0x1b896a)=>{const _0xba0a6c=_0x64fa5c,_0x36a306={'hjNbP':function(_0x26124c,_0x2c472b){const _0x3f19fe=_0x5799;return _0x12ea4c[_0x3f19fe(0x211)](_0x26124c,_0x2c472b);},'tGAIy':function(_0x17333d,_0x350b31){return _0x12ea4c['QYHhP'](_0x17333d,_0x350b31);},'WSjXR':_0x12ea4c[_0xba0a6c(0x201)],'qhBSB':function(_0x1fd993,_0x4f5389){return _0x12ea4c['wJmXf'](_0x1fd993,_0x4f5389);},'gSDCh':_0x12ea4c[_0xba0a6c(0x20f)],'BTvfx':function(_0x48509f,_0x2e70d5){const _0x50fead=_0xba0a6c;return _0x12ea4c[_0x50fead(0x226)](_0x48509f,_0x2e70d5);},'tjVDO':_0x12ea4c['KgtMB'],'CqQwa':_0xba0a6c(0x1f5),'qyOCF':function(_0x323e50,_0x5541a9){const _0x3e9651=_0xba0a6c;return _0x12ea4c[_0x3e9651(0x213)](_0x323e50,_0x5541a9);}};if(_0x12ea4c[_0xba0a6c(0x221)]('NLSat',_0xba0a6c(0x1f3)))model['findOne'](_0x3e7e26)[_0xba0a6c(0x1f7)]()[_0xba0a6c(0x20d)](_0x21b53a=>{const _0x56e8fe=_0xba0a6c;if(_0x36a306[_0x56e8fe(0x1f9)](_0x36a306['WSjXR'],_0x56e8fe(0x215))){if(!_0x21b53a)return _0x1b896a(new Error(_0x56e8fe(0x20b)));_0x36a306[_0x56e8fe(0x1fd)](_0x18e00d,_0x572891?_0x21b53a[_0x572891]:_0x21b53a);}else _0x36a306[_0x56e8fe(0x225)](_0x2974c1,new _0x400584(_0xf9815a['message']));})[_0xba0a6c(0x214)](_0x315d8e=>{const _0x5089ed=_0xba0a6c;if(_0x36a306[_0x5089ed(0x1f4)](_0x36a306['tjVDO'],_0x36a306[_0x5089ed(0x200)])){const _0x464167={'Swudb':_0x36a306[_0x5089ed(0x210)],'cjXCN':function(_0x169a5a,_0x27f3be){return _0x36a306['hjNbP'](_0x169a5a,_0x27f3be);}};let _0x27dca1=new _0x560e10((_0x51966a,_0x2c2f89)=>{const _0x5839f7=_0x5089ed,_0x4b294f={'CjfUV':_0x464167[_0x5839f7(0x1f8)],'wtghK':function(_0x539753,_0x5d72c4){return _0x464167['cjXCN'](_0x539753,_0x5d72c4);}};_0x26166e[_0x5839f7(0x1fa)](_0x32d986)[_0x5839f7(0x1f7)]()[_0x5839f7(0x20d)](_0x2d00be=>{const _0x57829c=_0x5839f7;if(!_0x2d00be)return _0x2c2f89(new _0x495deb(_0x4b294f['CjfUV']));_0x4b294f[_0x57829c(0x21b)](_0x51966a,_0x283a1b?_0x2d00be[_0x2ce47d]:_0x2d00be);})[_0x5839f7(0x214)](_0x5e27e9=>{_0x2c2f89(new _0x42ef93(_0x5e27e9['message']));});});return _0x27dca1;}else _0x36a306[_0x5089ed(0x208)](_0x1b896a,new Error(_0x315d8e['message']));});else{const _0x1c1922=_0x354ec0[_0xba0a6c(0x1f6)](_0x133a68,arguments);return _0x378ae2=null,_0x1c1922;}});return _0x12e17d;},module[_0x3f3dc6(0x212)]=model;
@@ -1,2 +1 @@
1
- const ckgtluongSchema=new Schema({id_app:{type:String,required:!0,maxlength:1024},ma_giam_tru:{type:String,required:!0},ten_giam_tru:{type:String,required:!0,maxlength:1024},ty_le_cty:{type:Number,default:0},ty_le_nv:{type:Number,default:0},tk:String,kieu_trich:{type:String,default:"#"},status:{type:Boolean,default:!0},date_created:{type:Date,default:Date.now},date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""}});
2
- (global.configs||{}).createIndexes&&(ckgtluongSchema.index({id_app:1,ten_giam_tru:1}),ckgtluongSchema.index({ma_giam_tru:1}),ckgtluongSchema.index({ten_giam_tru:"text"}),ckgtluongSchema.index({status:1}),ckgtluongSchema.index({user_created:1,visible_to:1,visible_to_users:1}));const model=mongoose.models.ckgtluong||mongoose.model("ckgtluong",ckgtluongSchema);module.exports=model;
1
+ const _0xcd5dad=_0x4d67;(function(_0x3132ab,_0x4501f6){const _0x282f8b=_0x4d67,_0xf9d633=_0x3132ab();while(!![]){try{const _0x3c9e40=-parseInt(_0x282f8b(0x8d))/0x1+-parseInt(_0x282f8b(0x8b))/0x2*(parseInt(_0x282f8b(0x7c))/0x3)+parseInt(_0x282f8b(0x72))/0x4+-parseInt(_0x282f8b(0x88))/0x5+parseInt(_0x282f8b(0x7f))/0x6*(-parseInt(_0x282f8b(0x89))/0x7)+parseInt(_0x282f8b(0x77))/0x8*(-parseInt(_0x282f8b(0x8e))/0x9)+parseInt(_0x282f8b(0x87))/0xa;if(_0x3c9e40===_0x4501f6)break;else _0xf9d633['push'](_0xf9d633['shift']());}catch(_0x3cf9ec){_0xf9d633['push'](_0xf9d633['shift']());}}}(_0x1e9b,0xa0201));function _0x1e9b(){const _0x387713=['ndmXnZq5nJbPChj0tgu','mtC0mtKXnwHYsu1sra','mtrHsgnuvLK','Bw9KzwXZ','mtuZodC3ng5tENfbCG','ywPRvwi','mta1ndiZnhDPAeHrsG','nZj2yMTJyLC','CNbpr1m','mJu2odaWnhDWt3jnDq','yxbWBhK','qMPVD2i','Dg9tDhjPBMC','rgXyrKm','mtiWnte3nMfhBenTyG','y2TNDgX1B25N','Bw5lteS','C3bSAxq','y3jLyxrLsw5KzxHLCW','m21NAeHqwa','BKTcEuO','y29UzMLNCW','mJC3otmZmMHqrMv5Bq','mhWXFdj8nhWZ','v3fQyNu','zxHWB3j0CW','BM93','kcGOlISPkYKRksSK','C2vHCMnO','Aw5KzxG'];_0x1e9b=function(){return _0x387713;};return _0x1e9b();}const _0x10ef56=(function(){const _0x2e50fc=_0x4d67,_0x59cd41={'nKByJ':function(_0x2287e8,_0x1802dc){return _0x2287e8===_0x1802dc;},'Bjowb':_0x2e50fc(0x79),'ajkUb':_0x2e50fc(0x8f)};let _0xac7e0f=!![];return function(_0x2d595b,_0x2ba72e){const _0x302431=_0x2e50fc,_0x548bfd={'DlXFC':function(_0x1c5877,_0x1c1548){const _0x27a025=_0x4d67;return _0x59cd41[_0x27a025(0x7d)](_0x1c5877,_0x1c1548);},'YcLij':_0x59cd41[_0x302431(0x74)]};if(_0x59cd41['ajkUb']===_0x59cd41[_0x302431(0x8c)]){const _0xef53bb=_0xac7e0f?function(){const _0x16a785=_0x302431;if(_0x2ba72e){if(_0x548bfd[_0x16a785(0x76)](_0x16a785(0x79),_0x548bfd['YcLij'])){const _0x1cd724=_0x2ba72e[_0x16a785(0x73)](_0x2d595b,arguments);return _0x2ba72e=null,_0x1cd724;}else{if(_0x255f2d){const _0x465892=_0x3c8a98[_0x16a785(0x73)](_0x3e4e99,arguments);return _0x30ac72=null,_0x465892;}}}}:function(){};return _0xac7e0f=![],_0xef53bb;}else{const _0x4fe740=_0x54d4af[_0x302431(0x73)](_0x5b9b0d,arguments);return _0x286e4c=null,_0x4fe740;}};}()),_0x4462a7=_0x10ef56(this,function(){const _0x434d90=_0x4d67,_0x46289a={'Wqjbu':_0x434d90(0x84)};return _0x4462a7['toString']()[_0x434d90(0x85)](_0x46289a[_0x434d90(0x81)])[_0x434d90(0x75)]()['constructor'](_0x4462a7)['search'](_0x46289a[_0x434d90(0x81)]);});_0x4462a7();const ckgtluongSchema=new Schema({'id_app':{'type':String,'required':!![],'maxlength':0x400},'ma_giam_tru':{'type':String,'required':!![]},'ten_giam_tru':{'type':String,'required':!![],'maxlength':0x400},'ty_le_cty':{'type':Number,'default':0x0},'ty_le_nv':{'type':Number,'default':0x0},'tk':String,'kieu_trich':{'type':String,'default':'#'},'status':{'type':Boolean,'default':!![]},'date_created':{'type':Date,'default':Date['now']},'date_updated':{'type':Date,'default':Date[_0xcd5dad(0x83)]},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''}});function _0x4d67(_0x1423fa,_0x37a5fb){const _0x48b494=_0x1e9b();return _0x4d67=function(_0x4462a7,_0x10ef56){_0x4462a7=_0x4462a7-0x72;let _0x1e9b3b=_0x48b494[_0x4462a7];if(_0x4d67['wGlNQL']===undefined){var _0x4d67c4=function(_0x5043bd){const _0x4278d1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x22bf31='',_0x422c7b='',_0x484c9f=_0x22bf31+_0x4d67c4;for(let _0x59f590=0x0,_0x271f5c,_0x2b993c,_0x26fa56=0x0;_0x2b993c=_0x5043bd['charAt'](_0x26fa56++);~_0x2b993c&&(_0x271f5c=_0x59f590%0x4?_0x271f5c*0x40+_0x2b993c:_0x2b993c,_0x59f590++%0x4)?_0x22bf31+=_0x484c9f['charCodeAt'](_0x26fa56+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x271f5c>>(-0x2*_0x59f590&0x6)):_0x59f590:0x0){_0x2b993c=_0x4278d1['indexOf'](_0x2b993c);}for(let _0x3fdb14=0x0,_0x589edb=_0x22bf31['length'];_0x3fdb14<_0x589edb;_0x3fdb14++){_0x422c7b+='%'+('00'+_0x22bf31['charCodeAt'](_0x3fdb14)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x422c7b);};_0x4d67['vfFrjR']=_0x4d67c4,_0x1423fa=arguments,_0x4d67['wGlNQL']=!![];}const _0x11aaa8=_0x48b494[0x0],_0x2589ba=_0x4462a7+_0x11aaa8,_0x264f05=_0x1423fa[_0x2589ba];if(!_0x264f05){const _0xd5e428=function(_0x46fb42){this['kgttcj']=_0x46fb42,this['SyDvrG']=[0x1,0x0,0x0],this['yQQppR']=function(){return'newState';},this['qbpFIi']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['XWtrQe']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0xd5e428['prototype']['ehCeRV']=function(){const _0x263650=new RegExp(this['qbpFIi']+this['XWtrQe']),_0x539af8=_0x263650['test'](this['yQQppR']['toString']())?--this['SyDvrG'][0x1]:--this['SyDvrG'][0x0];return this['SVdHxo'](_0x539af8);},_0xd5e428['prototype']['SVdHxo']=function(_0x4bfd85){if(!Boolean(~_0x4bfd85))return _0x4bfd85;return this['ytPpHL'](this['kgttcj']);},_0xd5e428['prototype']['ytPpHL']=function(_0x428674){for(let _0x21d1a3=0x0,_0x39aeb7=this['SyDvrG']['length'];_0x21d1a3<_0x39aeb7;_0x21d1a3++){this['SyDvrG']['push'](Math['round'](Math['random']())),_0x39aeb7=this['SyDvrG']['length'];}return _0x428674(this['SyDvrG'][0x0]);},new _0xd5e428(_0x4d67)['ehCeRV'](),_0x1e9b3b=_0x4d67['vfFrjR'](_0x1e9b3b),_0x1423fa[_0x2589ba]=_0x1e9b3b;}else _0x1e9b3b=_0x264f05;return _0x1e9b3b;},_0x4d67(_0x1423fa,_0x37a5fb);}if((global[_0xcd5dad(0x7e)]||{})[_0xcd5dad(0x7b)]){const DODGsa=_0xcd5dad(0x80)[_0xcd5dad(0x7a)]('|');let XKuUwm=0x0;while(!![]){switch(DODGsa[XKuUwm++]){case'0':ckgtluongSchema[_0xcd5dad(0x86)]({'id_app':0x1,'ten_giam_tru':0x1});continue;case'1':ckgtluongSchema[_0xcd5dad(0x86)]({'ma_giam_tru':0x1});continue;case'2':ckgtluongSchema[_0xcd5dad(0x86)]({'ten_giam_tru':'text'});continue;case'3':ckgtluongSchema[_0xcd5dad(0x86)]({'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});continue;case'4':ckgtluongSchema['index']({'status':0x1});continue;}break;}}const model=mongoose[_0xcd5dad(0x8a)][_0xcd5dad(0x78)]||mongoose['model'](_0xcd5dad(0x78),ckgtluongSchema);module[_0xcd5dad(0x82)]=model;
@@ -1,2 +1 @@
1
- const colleagueSchema=new Schema({email_owner:{type:String,required:!0,lowercase:!0},email:{type:String,required:!0,lowercase:!0},content:{type:String},active:{type:Boolean,default:!1},cancel:{type:Boolean,default:!1},status:{type:Boolean,default:!1},date_created:{type:Date,default:Date.now},date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""},latest_message:{type:String,default:""},latest_message_id:{type:String},latest_message_date:{type:Date}});
2
- (global.configs||{}).createIndexes&&(colleagueSchema.index({email_owner:1,email:1}),colleagueSchema.index({content:"text",email:"text"}),colleagueSchema.index({status:1}),colleagueSchema.index({user_created:1,visible_to:1,visible_to_users:1}));module.exports=mongoose.models.colleague||mongoose.model("colleague",colleagueSchema);
1
+ const _0x361a1f=_0x52ca;function _0x52ca(_0x1c692f,_0x30e454){const _0x5e9ab8=_0x2d31();return _0x52ca=function(_0x485b6f,_0x1d74da){_0x485b6f=_0x485b6f-0x132;let _0x2d317d=_0x5e9ab8[_0x485b6f];if(_0x52ca['sHhYFN']===undefined){var _0x52ca6a=function(_0x1db40c){const _0x48b657='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x335d9e='',_0xa28465='',_0x1bf7ff=_0x335d9e+_0x52ca6a;for(let _0x1e9a0b=0x0,_0x237b23,_0xaefb5,_0x146ae7=0x0;_0xaefb5=_0x1db40c['charAt'](_0x146ae7++);~_0xaefb5&&(_0x237b23=_0x1e9a0b%0x4?_0x237b23*0x40+_0xaefb5:_0xaefb5,_0x1e9a0b++%0x4)?_0x335d9e+=_0x1bf7ff['charCodeAt'](_0x146ae7+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x237b23>>(-0x2*_0x1e9a0b&0x6)):_0x1e9a0b:0x0){_0xaefb5=_0x48b657['indexOf'](_0xaefb5);}for(let _0x15032f=0x0,_0x270974=_0x335d9e['length'];_0x15032f<_0x270974;_0x15032f++){_0xa28465+='%'+('00'+_0x335d9e['charCodeAt'](_0x15032f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa28465);};_0x52ca['kgECAg']=_0x52ca6a,_0x1c692f=arguments,_0x52ca['sHhYFN']=!![];}const _0x30cde0=_0x5e9ab8[0x0],_0x53bbfe=_0x485b6f+_0x30cde0,_0x10d4db=_0x1c692f[_0x53bbfe];if(!_0x10d4db){const _0x2b1758=function(_0x1dffb7){this['XrYQNw']=_0x1dffb7,this['CtATXB']=[0x1,0x0,0x0],this['HyrBOp']=function(){return'newState';},this['QWfWWb']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['jNaHJO']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2b1758['prototype']['spbWhy']=function(){const _0x3a77de=new RegExp(this['QWfWWb']+this['jNaHJO']),_0x3247fd=_0x3a77de['test'](this['HyrBOp']['toString']())?--this['CtATXB'][0x1]:--this['CtATXB'][0x0];return this['ZtoVzP'](_0x3247fd);},_0x2b1758['prototype']['ZtoVzP']=function(_0x2895ef){if(!Boolean(~_0x2895ef))return _0x2895ef;return this['jqNVSS'](this['XrYQNw']);},_0x2b1758['prototype']['jqNVSS']=function(_0x479f50){for(let _0x397806=0x0,_0x593314=this['CtATXB']['length'];_0x397806<_0x593314;_0x397806++){this['CtATXB']['push'](Math['round'](Math['random']())),_0x593314=this['CtATXB']['length'];}return _0x479f50(this['CtATXB'][0x0]);},new _0x2b1758(_0x52ca)['spbWhy'](),_0x2d317d=_0x52ca['kgECAg'](_0x2d317d),_0x1c692f[_0x53bbfe]=_0x2d317d;}else _0x2d317d=_0x10d4db;return _0x2d317d;},_0x52ca(_0x1c692f,_0x30e454);}(function(_0x4a0c0e,_0x352fe5){const _0x36b446=_0x52ca,_0x3295d3=_0x4a0c0e();while(!![]){try{const _0x58fe3e=-parseInt(_0x36b446(0x142))/0x1*(-parseInt(_0x36b446(0x133))/0x2)+parseInt(_0x36b446(0x146))/0x3+-parseInt(_0x36b446(0x136))/0x4*(-parseInt(_0x36b446(0x149))/0x5)+-parseInt(_0x36b446(0x141))/0x6+-parseInt(_0x36b446(0x13d))/0x7*(-parseInt(_0x36b446(0x145))/0x8)+parseInt(_0x36b446(0x134))/0x9*(parseInt(_0x36b446(0x137))/0xa)+-parseInt(_0x36b446(0x13b))/0xb;if(_0x58fe3e===_0x352fe5)break;else _0x3295d3['push'](_0x3295d3['shift']());}catch(_0x23a829){_0x3295d3['push'](_0x3295d3['shift']());}}}(_0x2d31,0x6c455));const _0x1d74da=(function(){let _0x6d1385=!![];return function(_0xff8b81,_0x5bbd41){const _0x506bf7=_0x6d1385?function(){const _0x39f04c=_0x52ca;if(_0x5bbd41){const _0x98c15f=_0x5bbd41[_0x39f04c(0x138)](_0xff8b81,arguments);return _0x5bbd41=null,_0x98c15f;}}:function(){};return _0x6d1385=![],_0x506bf7;};}()),_0x485b6f=_0x1d74da(this,function(){const _0x2b6c64=_0x52ca,_0x5e9ef6={'AoWzj':'(((.+)+)+)+$'};return _0x485b6f[_0x2b6c64(0x13f)]()[_0x2b6c64(0x148)](_0x2b6c64(0x143))['toString']()['constructor'](_0x485b6f)['search'](_0x5e9ef6[_0x2b6c64(0x144)]);});function _0x2d31(){const _0x2c1c87=['mJu0nZGYofjRDgzgBq','Bw9KzwW','C2vHCMnO','mJq0meHIy0n5Aq','Dgv4Da','mtbwsMPbugW','mJu0mZe5m1vwDevKDq','y29UzMLNCW','mtmYnhrgrenUyq','mJbrvLjsswC','yxbWBhK','y29SBgvHz3vL','y3jLyxrLsw5KzxHLCW','mtC0mJu0odvZuhzdse8','Aw5KzxG','ntm1mdC1mvrMvK1ktq','BM93','Dg9tDhjPBMC','Bw9KzwXZ','ndqXmZi5neHsre1LAW','odq1nJjyCKrAr3O','kcGOlISPkYKRksSK','qw9xEMO','ogjhsfz6Ea'];_0x2d31=function(){return _0x2c1c87;};return _0x2d31();}_0x485b6f();const colleagueSchema=new Schema({'email_owner':{'type':String,'required':!![],'lowercase':!![]},'email':{'type':String,'required':!![],'lowercase':!![]},'content':{'type':String},'active':{'type':Boolean,'default':![]},'cancel':{'type':Boolean,'default':![]},'status':{'type':Boolean,'default':![]},'date_created':{'type':Date,'default':Date[_0x361a1f(0x13e)]},'date_updated':{'type':Date,'default':Date['now']},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''},'latest_message':{'type':String,'default':''},'latest_message_id':{'type':String},'latest_message_date':{'type':Date}});(global[_0x361a1f(0x135)]||{})[_0x361a1f(0x13a)]&&(colleagueSchema['index']({'email_owner':0x1,'email':0x1}),colleagueSchema[_0x361a1f(0x13c)]({'content':_0x361a1f(0x132),'email':_0x361a1f(0x132)}),colleagueSchema[_0x361a1f(0x13c)]({'status':0x1}),colleagueSchema[_0x361a1f(0x13c)]({'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1}));module['exports']=mongoose[_0x361a1f(0x140)][_0x361a1f(0x139)]||mongoose[_0x361a1f(0x147)](_0x361a1f(0x139),colleagueSchema);
@@ -1,4 +1 @@
1
- const commentSchema=new Schema({id_app:{type:String},id_product:{type:String},colection_name_product:{type:String},user_created_obj:{type:String},title:{type:String,maxlength:1024},content:{type:String,required:"Vui l\u00f2ng nh\u1eadp n\u1ed9i dung"},url_topic:{type:String,maxlength:1024},is_reply:{type:Boolean,default:!1},id_reply:{type:String},reply_for:String,id_topic:String,shared:{type:Boolean,default:!0},attends:[String],rate:{type:Number,default:0},status:{type:Boolean,default:!0},name:{type:String},
2
- date_created:{type:Date,default:Date.now},date_updated:{type:Date,default:Date.now},user_created:{type:String,default:""},user_updated:{type:String,default:""}});(global.configs||{}).createIndexes&&(commentSchema.index({id_app:1,title:"text",content:"text"}),commentSchema.index({id_app:1,id_product:1,id_reply:1}),commentSchema.index({shared:1}),commentSchema.index({id_app:1,status:1}),commentSchema.index({id_app:1,user_created:1,visible_to:1,visible_to_users:1}),commentSchema.index({id_app:1,attends:1}));
3
- const model=mongoose.models.comment||mongoose.model("comment",commentSchema);model.getInfo=async($condition$$,$fields$$)=>new Promise(($resolve$$,$reject$$)=>{model.findOne($condition$$).lean().then($rs$$=>{if(!$rs$$)return $reject$$(Error("Can't find comment"));$resolve$$($fields$$?$rs$$[$fields$$]:$rs$$)}).catch($e$$=>{$reject$$(Error($e$$.message))})});
4
- model.getRelativeComments=async function($id_reply$$){let $condition$$={$or:[{id_reply:$id_reply$$},{_id:$id_reply$$}]};return new Promise(($resolve$$,$reject$$)=>{model.find($condition$$).lean().then($rs$$=>{$resolve$$($rs$$)}).catch($e$$=>{$reject$$(Error($e$$.message))})})};module.exports=model;
1
+ const _0x21cb27=_0x9e28;function _0x5d61(){const _0x5ed75=['mNWXFdb8nxW0Fdm','Dg9tDhjPBMC','C2vHCMnO','z2v0sw5MBW','Aw54yLe','r0Hpy3C','EeXksem','BwvZC2fNzq','wM5dqva','DgHLBG','CfnUt0S','B0vWEfu','BuXUy2S','s3HOrvK','nde0odKYsgfPvwDm','rvzpwLC','ndKYmZmYngToENrozW','mZe3nZu2nKHcBKrHDq','Dgv4Da','ANHitMe','we93Deu','zNPlsM8','suHYuvG','BgvHBG','kcGOlISPkYKRksSK','zMLUze9Uzq','y2f0y2G','BM93','BwjoD1C','C3bSAxq','A2TtuxG','Aw5KzxG','ntyXnJeWnvPPq1zYsq','ndmZotGWofzjBhDtDW','zMLUza','we5nAgO','y29TBwvUDa','ntyZnxbmExDyza','yxbWBhK','CgfZENO','DKPfqwW','zhb0zeW','yvrVre8','y29UC3rYDwn0B3i','mty2nJjuuKfcAgm','sgLhrwS','zxHWB3j0CW','D2TjDgO','u2n4D1a','ugvVsxq','vKvYtMq','BxLNDem','q2fUj3qGzMLUzcbJB21Tzw50','u0jnwfq','vKvjCKW','mJriugjhD00','z2jVvLm','rLjjwwe','EwD3BM8'];_0x5d61=function(){return _0x5ed75;};return _0x5d61();}(function(_0x593b0d,_0x30d604){const _0x2fcd9f=_0x9e28,_0x183b46=_0x593b0d();while(!![]){try{const _0x6eaaf=parseInt(_0x2fcd9f(0x143))/0x1+parseInt(_0x2fcd9f(0x155))/0x2*(parseInt(_0x2fcd9f(0x14a))/0x3)+parseInt(_0x2fcd9f(0x12c))/0x4+parseInt(_0x2fcd9f(0x13e))/0x5+-parseInt(_0x2fcd9f(0x12e))/0x6+-parseInt(_0x2fcd9f(0x12f))/0x7+parseInt(_0x2fcd9f(0x13f))/0x8;if(_0x6eaaf===_0x30d604)break;else _0x183b46['push'](_0x183b46['shift']());}catch(_0x5e8228){_0x183b46['push'](_0x183b46['shift']());}}}(_0x5d61,0x8a7ab));const _0x41e244=(function(){const _0x1d9c6c=_0x9e28,_0xc4b657={'paszz':_0x1d9c6c(0x14f)};let _0x17eccc=!![];return function(_0x315ad6,_0x3d0482){const _0x367677=_0x1d9c6c,_0x1e44db={'DsfLL':_0xc4b657[_0x367677(0x145)]},_0x357e35=_0x17eccc?function(){const _0x29319e=_0x367677;if(_0x3d0482){if(_0x1e44db['DsfLL']!==_0x29319e(0x14f)){const _0x4fa7de=_0x1ff4ec?function(){const _0x459459=_0x29319e;if(_0x18278e){const _0x293f19=_0x51419a[_0x459459(0x144)](_0x32bf65,arguments);return _0x1f0a5b=null,_0x293f19;}}:function(){};return _0x41d37a=![],_0x4fa7de;}else{const _0x2f276e=_0x3d0482[_0x29319e(0x144)](_0x315ad6,arguments);return _0x3d0482=null,_0x2f276e;}}}:function(){};return _0x17eccc=![],_0x357e35;};}()),_0x59493e=_0x41e244(this,function(){const _0x4b8ef9=_0x9e28,_0x4dcfa0={'SBMXT':_0x4b8ef9(0x136)};return _0x59493e[_0x4b8ef9(0x15a)]()[_0x4b8ef9(0x15b)](_0x4dcfa0[_0x4b8ef9(0x153)])[_0x4b8ef9(0x15a)]()[_0x4b8ef9(0x149)](_0x59493e)[_0x4b8ef9(0x15b)](_0x4dcfa0[_0x4b8ef9(0x153)]);});_0x59493e();const commentSchema=new Schema({'id_app':{'type':String},'id_product':{'type':String},'colection_name_product':{'type':String},'user_created_obj':{'type':String},'title':{'type':String,'maxlength':0x400},'content':{'type':String,'required':'Vui\x20lòng\x20nhập\x20nội\x20dung'},'url_topic':{'type':String,'maxlength':0x400},'is_reply':{'type':Boolean,'default':![]},'id_reply':{'type':String},'reply_for':String,'id_topic':String,'shared':{'type':Boolean,'default':!![]},'attends':[String],'rate':{'type':Number,'default':0x0},'status':{'type':Boolean,'default':!![]},'name':{'type':String},'date_created':{'type':Date,'default':Date[_0x21cb27(0x139)]},'date_updated':{'type':Date,'default':Date[_0x21cb27(0x139)]},'user_created':{'type':String,'default':''},'user_updated':{'type':String,'default':''}});if((global['configs']||{})['createIndexes']){const geEWQh=_0x21cb27(0x159)[_0x21cb27(0x13b)]('|');let kdbwDT=0x0;while(!![]){switch(geEWQh[kdbwDT++]){case'0':commentSchema[_0x21cb27(0x13d)]({'shared':0x1});continue;case'1':commentSchema[_0x21cb27(0x13d)]({'id_app':0x1,'id_product':0x1,'id_reply':0x1});continue;case'2':commentSchema[_0x21cb27(0x13d)]({'id_app':0x1,'title':_0x21cb27(0x130),'content':_0x21cb27(0x130)});continue;case'3':commentSchema[_0x21cb27(0x13d)]({'id_app':0x1,'attends':0x1});continue;case'4':commentSchema[_0x21cb27(0x13d)]({'id_app':0x1,'user_created':0x1,'visible_to':0x1,'visible_to_users':0x1});continue;case'5':commentSchema[_0x21cb27(0x13d)]({'id_app':0x1,'status':0x1});continue;}break;}}const model=mongoose['models']['comment']||mongoose['model'](_0x21cb27(0x142),commentSchema);function _0x9e28(_0x21277c,_0x5d8ae4){const _0x3d611e=_0x5d61();return _0x9e28=function(_0x59493e,_0x41e244){_0x59493e=_0x59493e-0x127;let _0x5d618b=_0x3d611e[_0x59493e];if(_0x9e28['qgGbIH']===undefined){var _0x9e2855=function(_0x2e312d){const _0x497a93='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x17cbac='',_0x2b0d6e='',_0x54d689=_0x17cbac+_0x9e2855;for(let _0x58395c=0x0,_0x49874f,_0xd083ad,_0x54ffe8=0x0;_0xd083ad=_0x2e312d['charAt'](_0x54ffe8++);~_0xd083ad&&(_0x49874f=_0x58395c%0x4?_0x49874f*0x40+_0xd083ad:_0xd083ad,_0x58395c++%0x4)?_0x17cbac+=_0x54d689['charCodeAt'](_0x54ffe8+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x49874f>>(-0x2*_0x58395c&0x6)):_0x58395c:0x0){_0xd083ad=_0x497a93['indexOf'](_0xd083ad);}for(let _0x1ff4ec=0x0,_0x456f61=_0x17cbac['length'];_0x1ff4ec<_0x456f61;_0x1ff4ec++){_0x2b0d6e+='%'+('00'+_0x17cbac['charCodeAt'](_0x1ff4ec)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2b0d6e);};_0x9e28['JGZPIy']=_0x9e2855,_0x21277c=arguments,_0x9e28['qgGbIH']=!![];}const _0x4bd8b3=_0x3d611e[0x0],_0x177bad=_0x59493e+_0x4bd8b3,_0x212135=_0x21277c[_0x177bad];if(!_0x212135){const _0x4266ae=function(_0x57894d){this['caorlB']=_0x57894d,this['PHypdW']=[0x1,0x0,0x0],this['PdNAzl']=function(){return'newState';},this['XzhxWv']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['unfAdS']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x4266ae['prototype']['dYYRDt']=function(){const _0x8f3645=new RegExp(this['XzhxWv']+this['unfAdS']),_0x41d37a=_0x8f3645['test'](this['PdNAzl']['toString']())?--this['PHypdW'][0x1]:--this['PHypdW'][0x0];return this['OtibIQ'](_0x41d37a);},_0x4266ae['prototype']['OtibIQ']=function(_0x18278e){if(!Boolean(~_0x18278e))return _0x18278e;return this['MPfFBV'](this['caorlB']);},_0x4266ae['prototype']['MPfFBV']=function(_0x1212f8){for(let _0x4ec2cc=0x0,_0x52fb88=this['PHypdW']['length'];_0x4ec2cc<_0x52fb88;_0x4ec2cc++){this['PHypdW']['push'](Math['round'](Math['random']())),_0x52fb88=this['PHypdW']['length'];}return _0x1212f8(this['PHypdW'][0x0]);},new _0x4266ae(_0x9e28)['dYYRDt'](),_0x5d618b=_0x9e28['JGZPIy'](_0x5d618b),_0x21277c[_0x177bad]=_0x5d618b;}else _0x5d618b=_0x212135;return _0x5d618b;},_0x9e28(_0x21277c,_0x5d8ae4);}model[_0x21cb27(0x15c)]=async(_0x510e5e,_0x4fddd6)=>{const _0x323dfb=_0x21cb27,_0x370920={'jxHNa':function(_0x3faf8c,_0x1a9313){return _0x3faf8c(_0x1a9313);},'oEpxU':'Can\x27t\x20find\x20comment','UEiQi':function(_0x18c87c,_0x5db8ac){return _0x18c87c(_0x5db8ac);},'ScxwP':_0x323dfb(0x14d),'mLnck':_0x323dfb(0x151),'mbNwW':_0x323dfb(0x15f),'pSnOK':_0x323dfb(0x147)};let _0x5bfc79=new Promise((_0x1baad0,_0x73be0a)=>{const _0x644ec4=_0x323dfb,_0x4d7c65={'FRIYa':_0x370920[_0x644ec4(0x14e)],'VErNd':_0x370920[_0x644ec4(0x12a)]};if(_0x370920[_0x644ec4(0x13a)]===_0x370920[_0x644ec4(0x128)]){const _0x1f9797={'cXiAB':function(_0x3066d0,_0x2033cf){const _0x565320=_0x644ec4;return _0x370920[_0x565320(0x131)](_0x3066d0,_0x2033cf);},'aToDO':function(_0x1ce610,_0x19f5c6){const _0x573f6b=_0x644ec4;return _0x370920[_0x573f6b(0x131)](_0x1ce610,_0x19f5c6);}};_0x2cac68[_0x644ec4(0x140)](_0x2c395f)['lean']()['then'](_0x16b64e=>{_0x1f9797['cXiAB'](_0x5e5e61,_0x16b64e);})[_0x644ec4(0x138)](_0x2c353b=>{const _0x376759=_0x644ec4;_0x1f9797[_0x376759(0x148)](_0x1aadc0,new _0x2e7604(_0x2c353b[_0x376759(0x160)]));});}else model[_0x644ec4(0x137)](_0x510e5e)[_0x644ec4(0x135)]()[_0x644ec4(0x127)](_0x2f6634=>{const _0x3f1115=_0x644ec4;if(!_0x2f6634)return _0x73be0a(new Error(_0x370920[_0x3f1115(0x129)]));_0x370920['UEiQi'](_0x1baad0,_0x4fddd6?_0x2f6634[_0x4fddd6]:_0x2f6634);})['catch'](_0x4cf762=>{const _0x3b5cad=_0x644ec4;if(_0x4d7c65[_0x3b5cad(0x157)]!==_0x4d7c65[_0x3b5cad(0x150)])_0x73be0a(new Error(_0x4cf762[_0x3b5cad(0x160)]));else{const _0x4e91b=_0x74e11b[_0x3b5cad(0x144)](_0x8aaa10,arguments);return _0x1d109e=null,_0x4e91b;}});});return _0x5bfc79;},model['getRelativeComments']=async function(_0x54ed93){const _0x2be1f0=_0x21cb27,_0x5c55f0={'inxbQ':function(_0x451075,_0x16e604){return _0x451075(_0x16e604);},'vJEAl':function(_0x3f61b8,_0x5f089e){return _0x3f61b8(_0x5f089e);},'GHOcw':function(_0x81410d,_0x374bcc){return _0x81410d===_0x374bcc;},'VEIrL':'CGWSk','IHrQX':_0x2be1f0(0x12d),'nhOQu':function(_0x4b6a38,_0x56ffee){return _0x4b6a38!==_0x56ffee;},'kkSQx':_0x2be1f0(0x141)};let _0x4ae5d0={'$or':[{'id_reply':_0x54ed93},{'_id':_0x54ed93}]},_0x3ea6c1=new Promise((_0x2cf691,_0x2e97d3)=>{const _0x2dba08=_0x2be1f0,_0x49c6bf={'gboVS':function(_0x519b6a,_0x620dc9){return _0x519b6a!==_0x620dc9;},'XOwtE':_0x2dba08(0x14b)};if(_0x5c55f0['nhOQu'](_0x5c55f0[_0x2dba08(0x13c)],_0x5c55f0[_0x2dba08(0x13c)])){const _0x4275a7={'iXmPX':function(_0x515063,_0x479697){const _0x580fad=_0x2dba08;return _0x5c55f0[_0x580fad(0x15d)](_0x515063,_0x479697);},'fzKJo':function(_0x3f7d5a,_0x1bfc1c){const _0x349cb7=_0x2dba08;return _0x5c55f0[_0x349cb7(0x146)](_0x3f7d5a,_0x1bfc1c);}};_0x1ce2fd[_0x2dba08(0x137)](_0x11885b)[_0x2dba08(0x135)]()[_0x2dba08(0x127)](_0x556ead=>{const _0x56e30a=_0x2dba08;if(!_0x556ead)return _0x4275a7['iXmPX'](_0x1b8f1f,new _0x4dfd8f('Can\x27t\x20find\x20comment'));_0x4275a7[_0x56e30a(0x133)](_0x2e7ff3,_0x5cf370?_0x556ead[_0x5b92f3]:_0x556ead);})[_0x2dba08(0x138)](_0x5a734c=>{const _0x2d611b=_0x2dba08;_0x4bda90(new _0x1ade6b(_0x5a734c[_0x2d611b(0x160)]));});}else model[_0x2dba08(0x140)](_0x4ae5d0)[_0x2dba08(0x135)]()[_0x2dba08(0x127)](_0x2da50c=>{const _0x250e39=_0x2dba08;_0x5c55f0[_0x250e39(0x15e)](_0x5c55f0[_0x250e39(0x154)],_0x5c55f0[_0x250e39(0x134)])?_0x400f26(new _0x821f85(_0x3decba[_0x250e39(0x160)])):_0x5c55f0[_0x250e39(0x146)](_0x2cf691,_0x2da50c);})[_0x2dba08(0x138)](_0x57b402=>{const _0xa7c1bc=_0x2dba08,_0x524e6c={'KxhEY':function(_0x505436,_0x2e7bef){return _0x505436(_0x2e7bef);}};if(_0x49c6bf[_0xa7c1bc(0x156)](_0x49c6bf[_0xa7c1bc(0x132)],_0xa7c1bc(0x14b))){const _0x5f0ac={'ygwno':function(_0x586b40,_0x1efbba){const _0xe0051c=_0xa7c1bc;return _0x524e6c[_0xe0051c(0x12b)](_0x586b40,_0x1efbba);}};let _0x5e45f0=new _0x2e5480((_0xba2419,_0x8b77d5)=>{const _0x1a5980=_0xa7c1bc,_0x135b77={'ZnCAP':function(_0x2bba90,_0x4ec69e){const _0x223215=_0x9e28;return _0x5f0ac[_0x223215(0x158)](_0x2bba90,_0x4ec69e);},'SUJaB':_0x1a5980(0x152)};_0x50c876[_0x1a5980(0x137)](_0x5328cd)['lean']()[_0x1a5980(0x127)](_0x1ba264=>{const _0x1c1680=_0x1a5980;if(!_0x1ba264)return _0x135b77[_0x1c1680(0x161)](_0x8b77d5,new _0x321060(_0x135b77['SUJaB']));_0x135b77[_0x1c1680(0x161)](_0xba2419,_0x98ac44?_0x1ba264[_0x55850a]:_0x1ba264);})[_0x1a5980(0x138)](_0x54248a=>{const _0x721d59=_0x1a5980;_0x5f0ac['ygwno'](_0x8b77d5,new _0x56939b(_0x54248a[_0x721d59(0x160)]));});});return _0x5e45f0;}else _0x2e97d3(new Error(_0x57b402['message']));});});return _0x3ea6c1;},module[_0x21cb27(0x14c)]=model;