yunlin 1.0.59 → 1.0.60
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.
- package/dist/index.js +1 -1
- package/dist/price.js +1 -1
- package/dist/room.js +1 -1
- package/dist/roomOld.js +1 -1
- package/dist/system.js +1 -1
- package/dist/test.js +1 -1
- package/dist/utils.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4970e9,_0x80f477){var _0x59f186=a0_0x5609,_0x25ac61=_0x4970e9();while(!![]){try{var _0x4a9d40=-parseInt(_0x59f186(0x1ca))/0x1+-parseInt(_0x59f186(0x1c6))/0x2+-parseInt(_0x59f186(0x1cd))/0x3+parseInt(_0x59f186(0x1c8))/0x4*(parseInt(_0x59f186(0x1c7))/0x5)+-parseInt(_0x59f186(0x1c5))/0x6+-parseInt(_0x59f186(0x1cc))/0x7+parseInt(_0x59f186(0x1cb))/0x8*(parseInt(_0x59f186(0x1c9))/0x9);if(_0x4a9d40===_0x80f477)break;else _0x25ac61['push'](_0x25ac61['shift']());}catch(_0x36e793){_0x25ac61['push'](_0x25ac61['shift']());}}}(a0_0x191a,0x7002f));import a0_0x2181ae from'./utils';import a0_0x3e89ef from'./price';import a0_0x47997f from'./test';function a0_0x5609(_0x4b1012,_0x2d84dc){var _0x191aa9=a0_0x191a();return a0_0x5609=function(_0x56096c,_0x578324){_0x56096c=_0x56096c-0x1c5;var _0x3c83a5=_0x191aa9[_0x56096c];return _0x3c83a5;},a0_0x5609(_0x4b1012,_0x2d84dc);}import a0_0x20b151 from'./room';import a0_0x42e40d from'./roomOld';function a0_0x191a(){var _0x27dca7=['5350lTAnIV','2932iGVBls','999frkuGU','150898CflVQe','154472pPFSFm','5542950csAGdC','343410pcdhDy','3541386BjxLBV','1642722IsQvkx'];a0_0x191a=function(){return _0x27dca7;};return a0_0x191a();}import a0_0x675e18 from'./system';export default{'test':a0_0x47997f,'utils':a0_0x2181ae,'price':a0_0x3e89ef,'room':a0_0x20b151,'roomOld':a0_0x42e40d,'system':a0_0x675e18};
|
package/dist/price.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x61fd1a,_0x53bf8b){const _0x7f9d60=a1_0x5cf1,_0x753f33=_0x61fd1a();while(!![]){try{const _0x151e64=parseInt(_0x7f9d60(0x171))/0x1+parseInt(_0x7f9d60(0x168))/0x2*(parseInt(_0x7f9d60(0x150))/0x3)+-parseInt(_0x7f9d60(0x10d))/0x4*(-parseInt(_0x7f9d60(0x133))/0x5)+parseInt(_0x7f9d60(0x136))/0x6+parseInt(_0x7f9d60(0x13e))/0x7*(-parseInt(_0x7f9d60(0x16e))/0x8)+-parseInt(_0x7f9d60(0x12e))/0x9*(parseInt(_0x7f9d60(0x11c))/0xa)+parseInt(_0x7f9d60(0x108))/0xb;if(_0x151e64===_0x53bf8b)break;else _0x753f33['push'](_0x753f33['shift']());}catch(_0x3738ba){_0x753f33['push'](_0x753f33['shift']());}}}(a1_0x7fcd,0x680be));function handleCosting(_0x530fab,_0x532c8b='',_0x7e41a0={},_0x41ce09,_0x2566b7){const _0x43bd7e=a1_0x5cf1;let _0x2f3ba8=[];const _0x59d6f0=_0x43bd7e(0x125),_0x2351c3={'couponSign':'-','dp':0x2,'isShowTip':!![],'category':_0x43bd7e(0xf2),'travelDays':0x2,'lang':'zh'};_0x7e41a0=typeof _0x7e41a0===_0x43bd7e(0x110)&&!Array['isArray'](_0x7e41a0)&&_0x7e41a0!==null?_0x7e41a0:{};const _0xe76189={..._0x2351c3,..._0x7e41a0},_0xe1124c=Object[_0x43bd7e(0x164)](_0x2351c3);Object[_0x43bd7e(0x164)](_0x7e41a0)[_0x43bd7e(0x116)](_0x4732bf=>{const _0x5b8a7d=_0x43bd7e;!_0xe1124c['includes'](_0x4732bf)&&console[_0x5b8a7d(0x173)](_0x5b8a7d(0x15a)+_0x4732bf);});let _0x1a03a5=_0xe76189[_0x43bd7e(0x15d)]||'-',_0x341f0c=_0xe76189['dp']||0x2;const _0x16ce93=(_0x2577bc,_0x42a3a8=_0x341f0c)=>{const _0x3facc2=_0x43bd7e;if(typeof _0x2577bc!==_0x3facc2(0x120)&&isNaN(Number(_0x2577bc)))return console['error'](_0x3facc2(0x157)+_0x2577bc),_0x2577bc;if(isNaN(_0x42a3a8)||_0x42a3a8<0x0)return _0x2577bc;let _0xd9d5c7=Number(_0x2577bc);if(!isFinite(_0xd9d5c7))return _0x2577bc;return _0x42a3a8=Math[_0x3facc2(0x144)](0x0,Math['floor'](_0x42a3a8)),_0xd9d5c7[_0x3facc2(0x151)](_0x42a3a8);},_0x2c2490=(_0x2ed008,_0x21841b)=>{const _0x3e776e=_0x43bd7e;if(_0x21841b&&typeof _0x21841b===_0x3e776e(0x110)&&!Array[_0x3e776e(0x13b)](_0x21841b))for(const _0x421e45 in _0x2ed008){_0x2ed008[_0x3e776e(0x163)](_0x421e45)&&_0x21841b[_0x3e776e(0x163)](_0x421e45)&&(_0x2ed008[_0x421e45]=_0x21841b[_0x421e45]);}else console['error']((_0x3e776e(0x176)+JSON[_0x3e776e(0x141)](_0x21841b,null,0x2)+_0x3e776e(0x14f)+JSON[_0x3e776e(0x141)](_0x2ed008,null,0x2))[_0x3e776e(0x131)]());return _0x2ed008;},_0x1560a7={'zh':{'titles':{'people':_0x43bd7e(0x182),'service':'附加服务','trip':'附加行程','other':_0x43bd7e(0x15e),'reduction':_0x43bd7e(0x16d),'totalprice':'总计','airtax':_0x43bd7e(0x16a)},'keys':{'adult':'成人','child':'儿童','childusebed':_0x43bd7e(0xf9),'infant':'婴儿','half':'拼房','tip':'小费','elder':_0x43bd7e(0x114),'vip':_0x43bd7e(0x184),'promotion':'促销','insure':_0x43bd7e(0x146),'coupon':_0x43bd7e(0x14c),'point':'积分','tax':'税','viprecharge':_0x43bd7e(0x111),'changeprice':'调价','commission':'返点','deposit':'订金','r':'人','t':'天'}},'tw':{'titles':{'people':'人員費用','service':_0x43bd7e(0x15f),'trip':_0x43bd7e(0x167),'other':_0x43bd7e(0x13a),'reduction':_0x43bd7e(0x187),'totalprice':'總計','airtax':_0x43bd7e(0x139)},'keys':{'adult':'成人','child':'兒童','childusebed':_0x43bd7e(0x158),'infant':'嬰兒','half':'拼房','tip':'小費','elder':'遊客優惠','vip':_0x43bd7e(0x14b),'promotion':'促銷','insure':_0x43bd7e(0x154),'coupon':_0x43bd7e(0xfc),'point':'積分','tax':'稅','viprecharge':_0x43bd7e(0x13d),'changeprice':'調價','commission':'返點','deposit':'訂金','r':'人','t':'天'}},'en':{'titles':{'people':'Staff\x20Cost','service':_0x43bd7e(0x102),'trip':_0x43bd7e(0x16b),'other':_0x43bd7e(0x180),'reduction':_0x43bd7e(0xf5),'totalprice':_0x43bd7e(0x16c),'airtax':_0x43bd7e(0x101)},'keys':{'adult':_0x43bd7e(0x142),'child':'Child','childusebed':_0x43bd7e(0x147),'infant':'Infant','half':_0x43bd7e(0x10b),'tip':_0x43bd7e(0x17e),'elder':_0x43bd7e(0x140),'vip':_0x43bd7e(0x153),'promotion':'Promotion','insure':_0x43bd7e(0x185),'coupon':_0x43bd7e(0x12a),'point':_0x43bd7e(0x12f),'tax':'Tax','viprecharge':'Membership\x20Top-up','changeprice':_0x43bd7e(0x128),'commission':'Commission','deposit':_0x43bd7e(0x14d),'r':_0x43bd7e(0x10f),'t':'Day(s)'}},'it':{'titles':{'people':_0x43bd7e(0xf7),'service':_0x43bd7e(0x160),'trip':_0x43bd7e(0x155),'other':_0x43bd7e(0x172),'reduction':_0x43bd7e(0x174),'totalprice':_0x43bd7e(0x143),'airtax':_0x43bd7e(0x11f)},'keys':{'adult':_0x43bd7e(0x14e),'child':'Bambini','childusebed':_0x43bd7e(0xf8),'infant':_0x43bd7e(0x179),'half':_0x43bd7e(0x152),'tip':_0x43bd7e(0x12d),'elder':'Sconto\x20viaggiatore','vip':_0x43bd7e(0xf3),'promotion':_0x43bd7e(0x11e),'insure':_0x43bd7e(0xfe),'coupon':'Coupon','point':_0x43bd7e(0x12b),'tax':'Tasse','viprecharge':'Ricarica\x20membro','changeprice':_0x43bd7e(0x11d),'commission':_0x43bd7e(0x161),'deposit':_0x43bd7e(0x112),'r':_0x43bd7e(0xfd),'t':_0x43bd7e(0x129)}}};let _0xdb96b4=_0x1560a7[_0xe76189[_0x43bd7e(0x166)]]&&_0x1560a7[_0xe76189[_0x43bd7e(0x166)]][_0x43bd7e(0x15b)]||_0x1560a7['zh'][_0x43bd7e(0x15b)],_0x1a1a47=_0x1560a7[_0xe76189[_0x43bd7e(0x166)]]&&_0x1560a7[_0xe76189[_0x43bd7e(0x166)]][_0x43bd7e(0x164)]||_0x1560a7['zh'][_0x43bd7e(0x164)];_0xdb96b4=_0x2c2490(_0xdb96b4,_0x41ce09),_0x1a1a47=_0x2c2490(_0x1a1a47,_0x2566b7);const _0x26f0dd=_0x530fab[_0x43bd7e(0x13f)](_0x4f0e8c=>_0x4f0e8c['strLx']=='base');if(_0x26f0dd[_0x43bd7e(0xf6)]){let _0x4478c0={'title':_0xdb96b4['people'],'type':'base','list':[]},_0x16b2a9=![];const _0x34833e=parseInt(_0xe76189[_0x43bd7e(0x183)],0xa);(_0xe76189[_0x43bd7e(0x169)]=='50258004'||_0xe76189[_0x43bd7e(0x169)]==_0x43bd7e(0x16f))&&!isNaN(_0x34833e)&&_0x34833e>0x1&&(_0x16b2a9=!![]),_0x26f0dd['map'](_0x4a8e58=>{const _0x36b22b=_0x43bd7e;let _0x5172b8=_0x4a8e58[_0x36b22b(0x118)];if(_0xe76189[_0x36b22b(0x169)]==_0x36b22b(0x138)&&_0x4a8e58[_0x36b22b(0x156)])_0x5172b8=_0x4a8e58['strJglxtxt']+'\x20['+_0x4a8e58[_0x36b22b(0x156)]+']';_0x16b2a9&&((_0x4a8e58[_0x36b22b(0x117)]=='adult'||_0x4a8e58[_0x36b22b(0x117)]=='childusebed'||_0x4a8e58[_0x36b22b(0x117)]=='child'||_0x4a8e58[_0x36b22b(0x117)]==_0x36b22b(0x135))&&(_0x5172b8=_0x4a8e58['strJglxtxt']+'\x20['+_0x1a1a47[_0x4a8e58[_0x36b22b(0x117)]]+']')),_0x4478c0['list']['push']({'title':_0x1a1a47[_0x4a8e58['strJgbm']],'subTitle':_0x5172b8,'date':_0x4a8e58[_0x36b22b(0x156)],'info':_0x532c8b+_0x16ce93(_0x4a8e58[_0x36b22b(0x105)])+_0x59d6f0+_0x4a8e58[_0x36b22b(0x17d)],'nRs':_0x4a8e58[_0x36b22b(0x17d)],'unit':_0x4a8e58[_0x36b22b(0x105)],'cb':_0x4a8e58[_0x36b22b(0x119)],'type':'base'});}),_0x2f3ba8[_0x43bd7e(0x145)](_0x4478c0);}const _0x1551f5=_0x530fab[_0x43bd7e(0x13f)](_0x18c43b=>_0x18c43b['strLx']==_0x43bd7e(0x186));if(_0x1551f5[_0x43bd7e(0xf6)]){let _0x1e14ae={'title':_0xdb96b4[_0x43bd7e(0x186)],'type':_0x43bd7e(0x186),'list':[]};_0x1551f5[_0x43bd7e(0x122)](_0x1fa141=>{const _0x5a651c=_0x43bd7e;_0x1e14ae[_0x5a651c(0xfb)][_0x5a651c(0x145)]({'title':_0x1fa141['name']+('['+_0x1fa141[_0x5a651c(0x127)]+']'),'info':_0x532c8b+_0x16ce93(_0x1fa141[_0x5a651c(0x170)])+_0x59d6f0+_0x1fa141[_0x5a651c(0x17b)],'nRs':_0x1fa141[_0x5a651c(0x17b)],'unit':_0x1fa141[_0x5a651c(0x170)],'cb':_0x1fa141[_0x5a651c(0x12c)],'type':_0x5a651c(0x186)});}),_0x2f3ba8[_0x43bd7e(0x145)](_0x1e14ae);}const _0x5c1e2d=_0x530fab[_0x43bd7e(0x13f)](_0x5e1aac=>_0x5e1aac[_0x43bd7e(0x10e)]=='trip');if(_0x5c1e2d[_0x43bd7e(0xf6)]){let _0x55d1bc={'title':_0xdb96b4[_0x43bd7e(0x134)],'type':_0x43bd7e(0x134),'list':[]};_0x5c1e2d[_0x43bd7e(0x122)](_0x517503=>{const _0x377db5=_0x43bd7e;_0x517503[_0x377db5(0xff)]!='0'&&_0x55d1bc[_0x377db5(0xfb)][_0x377db5(0x145)]({'title':_0x517503[_0x377db5(0x149)]+('['+_0x1a1a47[_0x377db5(0xf4)]+']'),'info':_0x532c8b+_0x16ce93(_0x517503[_0x377db5(0x178)])+_0x59d6f0+_0x517503[_0x377db5(0xff)],'nRs':_0x517503[_0x377db5(0xff)],'unit':_0x517503['adultunitprice'],'cb':_0x517503[_0x377db5(0x17a)],'type':_0x377db5(0x134)}),_0x517503[_0x377db5(0x162)]!='0'&&_0x55d1bc[_0x377db5(0xfb)][_0x377db5(0x145)]({'title':_0x517503[_0x377db5(0x149)]+('['+_0x1a1a47[_0x377db5(0x107)]+']'),'info':_0x532c8b+_0x16ce93(_0x517503['childunitprice'])+_0x59d6f0+_0x517503['childnum'],'nRs':_0x517503[_0x377db5(0x162)],'unit':_0x517503['childunitprice'],'cb':_0x517503[_0x377db5(0x126)],'type':'trip'});}),_0x2f3ba8['push'](_0x55d1bc);}let _0x1a9843=[];const _0x1df614=_0x530fab['filter'](_0x12f93e=>_0x12f93e['strLx']==_0x43bd7e(0x106));_0x1df614['length']&&_0x1df614[_0x43bd7e(0x122)](_0x59726b=>{const _0xd7ad44=_0x43bd7e,_0x5ba161=_0x59726b[_0xd7ad44(0x149)]['split']('|')||[''];_0x1a9843[_0xd7ad44(0x145)]({'title':_0x1a1a47[_0xd7ad44(0x106)]+('['+_0x5ba161[0x0]+']'),'info':_0x532c8b+_0x1a03a5+_0x16ce93(_0x59726b[_0xd7ad44(0x104)]),'unit':_0x59726b['money'],'cb':_0x59726b['money'],'type':_0xd7ad44(0x106)});});const _0x3cf1ea=_0x530fab[_0x43bd7e(0x13f)](_0x59f0bd=>_0x59f0bd[_0x43bd7e(0x10e)]==_0x43bd7e(0x189));_0x3cf1ea[_0x43bd7e(0xf6)]&&_0x3cf1ea[_0x43bd7e(0x122)](_0x635782=>{const _0x1cfc80=_0x43bd7e;_0x1a9843[_0x1cfc80(0x145)]({'title':_0x1a1a47[_0x1cfc80(0x124)]+('['+_0x635782[_0x1cfc80(0x149)]+']'),'info':_0x532c8b+_0x1a03a5+_0x16ce93(_0x635782[_0x1cfc80(0x104)]),'unit':_0x635782[_0x1cfc80(0x104)],'cb':_0x635782[_0x1cfc80(0x104)],'type':_0x1cfc80(0x124)});});const _0x4cb09b=_0x530fab[_0x43bd7e(0x13f)](_0x46d819=>_0x46d819[_0x43bd7e(0x10e)]==_0x43bd7e(0x123));_0x4cb09b[_0x43bd7e(0xf6)]&&_0x4cb09b['map'](_0x36d4a4=>{const _0x3939c8=_0x43bd7e;_0x1a9843[_0x3939c8(0x145)]({'title':_0x1a1a47['promotion'],'info':_0x532c8b+_0x1a03a5+_0x16ce93(_0x36d4a4[_0x3939c8(0x104)]),'unit':_0x36d4a4['money'],'cb':_0x36d4a4[_0x3939c8(0x104)],'type':_0x3939c8(0x123)});});_0x1a9843['length']&&_0x2f3ba8[_0x43bd7e(0x145)]({'title':_0xdb96b4['reduction'],'type':_0x43bd7e(0x175),'list':_0x1a9843});const _0x585558=_0x530fab['filter'](_0x138df7=>_0x138df7['strLx']==_0x43bd7e(0x188));if(_0x585558['length']){let _0x577508={'title':_0xdb96b4[_0x43bd7e(0x188)],'type':_0x43bd7e(0x188),'list':[]};_0x585558[_0x43bd7e(0x122)](_0x313c07=>{const _0x33f334=_0x43bd7e;_0x577508[_0x33f334(0xfb)][_0x33f334(0x145)]({'title':_0x1a1a47[_0x313c07[_0x33f334(0x100)]],'info':_0x532c8b+_0x16ce93(_0x313c07[_0x33f334(0x170)])+_0x59d6f0+_0x313c07['sl'],'nRs':_0x313c07['sl'],'unit':_0x313c07['unitprice'],'cb':_0x313c07[_0x33f334(0x10a)],'type':_0x313c07['rylx']});}),_0x2f3ba8[_0x43bd7e(0x145)](_0x577508);}const _0x4b32ad=[_0x43bd7e(0x177),_0x43bd7e(0x186),_0x43bd7e(0x134),_0x43bd7e(0x106),_0x43bd7e(0x189),_0x43bd7e(0x123),_0x43bd7e(0x188)],_0x4ca9c0=_0x530fab['filter'](_0xbb071=>!_0x4b32ad[_0x43bd7e(0x14a)](_0xbb071[_0x43bd7e(0x10e)]));let _0xd6384={'title':_0xdb96b4[_0x43bd7e(0x13c)],'type':_0x43bd7e(0x13c),'list':[]};for(var _0x17c9b9=0x0;_0x17c9b9<_0x4ca9c0['length'];_0x17c9b9++){const _0x1e37ca=_0x4ca9c0[_0x17c9b9];_0x1e37ca[_0x43bd7e(0x10e)]==_0x43bd7e(0x11b)&&_0xd6384[_0x43bd7e(0xfb)][_0x43bd7e(0x145)]({'title':_0x1a1a47[_0x43bd7e(0x11b)]+('['+_0x1e37ca['name']+']'),'info':_0x532c8b+_0x16ce93(_0x1e37ca[_0x43bd7e(0x104)]),'unit':_0x1e37ca[_0x43bd7e(0x104)],'type':_0x1e37ca['strLx']}),_0x1e37ca['strLx']==_0x43bd7e(0x15c)&&_0xd6384[_0x43bd7e(0xfb)][_0x43bd7e(0x145)]({'title':_0x1a1a47['insure']+('['+_0x1e37ca['name']+']'),'info':_0x532c8b+_0x16ce93(_0x1e37ca[_0x43bd7e(0x159)])+_0x59d6f0+_0x1e37ca[_0x43bd7e(0x165)]+_0x1a1a47['r'],'nRs':_0x1e37ca[_0x43bd7e(0x165)],'unit':_0x1e37ca[_0x43bd7e(0x159)],'cb':_0x1e37ca['unit'],'type':_0x43bd7e(0x15c)}),(_0x1e37ca[_0x43bd7e(0x10e)]==_0x43bd7e(0x181)||_0x1e37ca[_0x43bd7e(0x10e)]==_0x43bd7e(0x130))&&_0xd6384[_0x43bd7e(0xfb)]['push']({'title':_0x1e37ca[_0x43bd7e(0x113)]||_0x1a1a47[_0x1e37ca[_0x43bd7e(0x10e)]],'info':_0x532c8b+_0x1a03a5+_0x16ce93(_0x1e37ca[_0x43bd7e(0x104)]),'unit':_0x1e37ca[_0x43bd7e(0x104)],'cb':_0x1e37ca[_0x43bd7e(0x121)]||0x0,'type':_0x1e37ca[_0x43bd7e(0x10e)]}),_0x1e37ca[_0x43bd7e(0x10e)]==_0x43bd7e(0x109)&&_0xe76189[_0x43bd7e(0x17c)]&&_0xd6384[_0x43bd7e(0xfb)]['push']({'title':_0x1a1a47[_0x1e37ca[_0x43bd7e(0x10e)]],'info':_0x532c8b+_0x16ce93(_0x1e37ca[_0x43bd7e(0x109)])+_0x59d6f0+_0x1e37ca[_0x43bd7e(0x148)]+_0x1a1a47['r']+_0x59d6f0+_0x1e37ca['tipday']+_0x1a1a47['t'],'nRs':_0x1e37ca[_0x43bd7e(0x148)],'count':_0x1e37ca[_0x43bd7e(0xfa)],'unit':_0x1e37ca[_0x43bd7e(0x109)],'type':_0x1e37ca['strLx']}),_0x1e37ca['strLx']=='changeprice'&&_0xd6384[_0x43bd7e(0xfb)][_0x43bd7e(0x145)]({'title':_0x1a1a47[_0x43bd7e(0x115)],'info':_0x532c8b+_0x16ce93(_0x1e37ca[_0x43bd7e(0x11a)]),'unit':_0x1e37ca[_0x43bd7e(0x11a)],'type':_0x1e37ca[_0x43bd7e(0x10e)]}),_0x1e37ca[_0x43bd7e(0x10e)]==_0x43bd7e(0x137)&&_0xd6384['list'][_0x43bd7e(0x145)]({'title':_0x1a1a47[_0x43bd7e(0x137)],'info':_0x532c8b+_0x16ce93(_0x1e37ca[_0x43bd7e(0x11a)]),'unit':_0x1e37ca[_0x43bd7e(0x11a)],'type':_0x1e37ca['strLx']}),_0x1e37ca['strLx']==_0x43bd7e(0x10c)&&_0xd6384[_0x43bd7e(0xfb)][_0x43bd7e(0x145)]({'title':_0x1a1a47[_0x1e37ca[_0x43bd7e(0x10e)]],'info':_0x532c8b+_0x16ce93(_0x1e37ca[_0x43bd7e(0x17f)]),'unit':_0x1e37ca['totaltax'],'type':_0x1e37ca[_0x43bd7e(0x10e)]});}_0xd6384[_0x43bd7e(0xfb)][_0x43bd7e(0xf6)]&&_0x2f3ba8[_0x43bd7e(0x145)](_0xd6384);const _0x43f5ec=_0x530fab['filter'](_0x3f65ac=>_0x3f65ac[_0x43bd7e(0x10e)]==_0x43bd7e(0x132));if(_0x43f5ec[_0x43bd7e(0xf6)]){let _0x192b39={'title':_0xdb96b4[_0x43bd7e(0x132)],'type':_0x43bd7e(0x132),'list':[]};const _0x26e721=_0x530fab[_0x43bd7e(0x13f)](_0x2b334f=>_0x2b334f[_0x43bd7e(0x10e)]==_0x43bd7e(0x103));_0x26e721[_0x43bd7e(0xf6)]&&_0x192b39[_0x43bd7e(0x145)]({'title':_0x1a1a47['deposit'],'info':_0x532c8b+_0x16ce93(_0x26e721[0x0]['money'])}),_0x192b39[_0x43bd7e(0x145)]({'title':_0xdb96b4[_0x43bd7e(0x132)],'info':_0x532c8b+_0x16ce93(_0x43f5ec[0x0][_0x43bd7e(0x11a)])}),_0x2f3ba8[_0x43bd7e(0x145)](_0x192b39);}return _0x2f3ba8;}function a1_0x7fcd(){const _0x4f8a14=['Bambini\x20(con\x20letto)','儿童[占床]','tipday','list','優惠券','Persona','Costo\x20assicurazione','adultnum','rylx','Airport\x20Tax','Additional\x20Services','deposit','money','fLsjUnit','elder','child','2822886NOnLmN','tip','unitpricewb','Room\x20Sharing','tax','24268mJFtRQ','strLx','Person(s)','object','会员充值','Acconto','couponmc','游客优惠','changeprice','forEach','strJgbm','strJglxtxt','fJcbzlsjUnit','price','viprecharge','40AGTDpG','Importo\x20sconto','Promozione','Tasse\x20aeroportuali','number','points','map','promotion','vip','\x20*\x20','basechildprice','itemname','Price\x20Change','Giorni','Coupon','Punti','baseprice','Mance','1710081uOitgT','Points','point','trim','totalprice','445UCCnYM','trip','infant','852180BJCrVe','commission','Hotel01','機場稅','其他費用','isArray','other','會員充值','14JVhkoz','filter','Tourist\x20Discount','stringify','Adult','Totale','max','push','保险费用','Child[with\x20Bed]','tipuser','name','includes','會員減免','优惠券','Deposit','Adulti','\x0a\x09\x09\x09正确参数:','12UgMtKZ','toFixed','Camera\x20condivisa','Member\x20Discount','保險費用','Itinerari\x20aggiuntivi','dtRq','ftd\x20函数接收到无效的数字输入:\x20','兒童[佔床]','unit','[yunlin\x20warn]\x20handleCosting:传入的\x20expand\x20参数中包含未知键名:\x20','titles','insure','couponSign','其他费用','附加服務','Servizi\x20aggiuntivi','Importo\x20sconto\x20punti','childnum','hasOwnProperty','keys','users','lang','附加行程','89048DiHJTj','category','机场税','Additional\x20Itinerary','Total','减免费用','379152LMqiAu','cruise','unitprice','164283AjtQAU','Altri\x20costi','warn','Riduzioni','reduction','yunlin:\x20handleCosting函数提交参数错误。\x0a\x09\x09\x09错误参数:','base','adultunitprice','Neonati','baseadultprice','num','isShowTip','nRs','Tips','totaltax','Other\x20Fees','coupon','人员费用','travelDays','会员减免','Insurance\x20Fee','service','減免費用','airtax','vipdiscounted','50258004','Sconto\x20membri','adult','Discount','length','Importo\x20partecipanti'];a1_0x7fcd=function(){return _0x4f8a14;};return a1_0x7fcd();}function a1_0x5cf1(_0x1b32cc,_0xc5aea8){const _0x7fcdad=a1_0x7fcd();return a1_0x5cf1=function(_0x5cf117,_0x7b58b2){_0x5cf117=_0x5cf117-0xf2;let _0x3e1e35=_0x7fcdad[_0x5cf117];return _0x3e1e35;},a1_0x5cf1(_0x1b32cc,_0xc5aea8);}export default{'handleCosting':handleCosting};
|
|
1
|
+
function a1_0x3460(){const _0x16c76d=['lang','dtRq','infant','stringify','Child','Adult','name','unit','commission','2318380PqMFJy','itemname','unitprice','9204410Vmamez','Punti','child','附加服务','Importo\x20partecipanti','Totale','changeprice','保险费用','tipday','Sconto\x20viaggiatore','24FqlbUk','category','floor','vipdiscounted','ftd\x20函数接收到无效的数字输入:\x20','toFixed','92409DVYkHS','Costo\x20assicurazione','length','titles','9dAmdkM','map','Other\x20Fees','totaltax','tax','isArray','其他费用','328466PdZzKg','money','Promozione','附加服務','Tips','forEach','max','Bambini\x20(con\x20letto)','adultunitprice','num','附加行程','hasOwnProperty','Tax','childusebed','Altri\x20costi','Discount','vip','childnum','\x20*\x20','人员费用','Sconto\x20membri','50258004','儿童[占床]','service','[yunlin\x20warn]\x20handleCosting:传入的\x20expand\x20参数中包含未知键名:\x20','childunitprice','Acconto','couponmc','insure','Infant','Mance','Promotion','tipuser','couponSign','減免費用','Bambini','24XUGGia','other','\x0a\x09\x09\x09正确参数:','trip','机场税','Insurance\x20Fee','1018486AXCSJN','Giorni','Servizi\x20aggiuntivi','Hotel01','Staff\x20Cost','includes','elder','error','strJgbm','list','people','会员充值','3522588BTWqYr','price','airtax','coupon','優惠券','Coupon','cruise','base','users','object','point','其他費用','adultnum','保險費用','travelDays','push','Room\x20Sharing','儿童[佔床]','Neonati','keys','Membership\x20Top-up','deposit','filter','trim','nRs','优惠券','10hywTzO','adult','rylx','reduction','tip','Persona','totalprice','7630502PlEUBa','Deposit','baseadultprice','viprecharge','baseprice','Ricarica\x20membro','strLx','promotion','Tasse\x20aeroportuali','Itinerari\x20aggiuntivi','Additional\x20Itinerary','164mXLWNb','Day(s)','unitpricewb','points','strJglxtxt'];a1_0x3460=function(){return _0x16c76d;};return a1_0x3460();}(function(_0x5d9bf4,_0x4f760e){const _0x4523aa=a1_0x29bb,_0x522b23=_0x5d9bf4();while(!![]){try{const _0xc62122=-parseInt(_0x4523aa(0x159))/0x1+parseInt(_0x4523aa(0x13b))/0x2+parseInt(_0x4523aa(0x14e))/0x3*(-parseInt(_0x4523aa(0x1bb))/0x4)+parseInt(_0x4523aa(0x1a9))/0x5*(parseInt(_0x4523aa(0x18f))/0x6)+-parseInt(_0x4523aa(0x183))/0x7*(-parseInt(_0x4523aa(0x148))/0x8)+parseInt(_0x4523aa(0x152))/0x9*(parseInt(_0x4523aa(0x13e))/0xa)+-parseInt(_0x4523aa(0x1b0))/0xb*(parseInt(_0x4523aa(0x17d))/0xc);if(_0xc62122===_0x4f760e)break;else _0x522b23['push'](_0x522b23['shift']());}catch(_0x25467){_0x522b23['push'](_0x522b23['shift']());}}}(a1_0x3460,0xadb90));function a1_0x29bb(_0x4df642,_0x3e1f70){const _0x3460ec=a1_0x3460();return a1_0x29bb=function(_0x29bb32,_0x5d24a2){_0x29bb32=_0x29bb32-0x131;let _0xa63ddc=_0x3460ec[_0x29bb32];return _0xa63ddc;},a1_0x29bb(_0x4df642,_0x3e1f70);}function handleCosting(_0xf621ad,_0x5e4cec='',_0x72bdf4={},_0x3ee043,_0x2f3c38){const _0x1a0980=a1_0x29bb;let _0x38ba3b=[];const _0x1a5536=_0x1a0980(0x16b),_0x3700ab={'couponSign':'-','dp':0x2,'isShowTip':!![],'category':_0x1a0980(0x16e),'travelDays':0x2,'lang':'zh'};_0x72bdf4=typeof _0x72bdf4===_0x1a0980(0x198)&&!Array[_0x1a0980(0x157)](_0x72bdf4)&&_0x72bdf4!==null?_0x72bdf4:{};const _0x5a159e={..._0x3700ab,..._0x72bdf4},_0x2598c3=Object[_0x1a0980(0x1a2)](_0x3700ab);Object['keys'](_0x72bdf4)[_0x1a0980(0x15e)](_0x4627e4=>{const _0xe703ed=_0x1a0980;!_0x2598c3[_0xe703ed(0x188)](_0x4627e4)&&console['warn'](_0xe703ed(0x171)+_0x4627e4);});let _0x365a27=_0x5a159e[_0x1a0980(0x17a)]||'-',_0x4df92c=_0x5a159e['dp']||0x2;const _0x1b4c53=(_0x3ba154,_0x339ad6=_0x4df92c)=>{const _0x3d8b38=_0x1a0980;if(typeof _0x3ba154!=='number'&&isNaN(Number(_0x3ba154)))return console[_0x3d8b38(0x18a)](_0x3d8b38(0x14c)+_0x3ba154),_0x3ba154;if(isNaN(_0x339ad6)||_0x339ad6<0x0)return _0x3ba154;let _0x4a2299=Number(_0x3ba154);if(!isFinite(_0x4a2299))return _0x3ba154;return _0x339ad6=Math[_0x3d8b38(0x15f)](0x0,Math[_0x3d8b38(0x14a)](_0x339ad6)),_0x4a2299[_0x3d8b38(0x14d)](_0x339ad6);},_0x23516d=(_0x22faa2,_0x5a44b9)=>{const _0x2a3c1e=_0x1a0980;if(_0x5a44b9&&typeof _0x5a44b9===_0x2a3c1e(0x198)&&!Array[_0x2a3c1e(0x157)](_0x5a44b9))for(const _0x49f263 in _0x22faa2){_0x22faa2['hasOwnProperty'](_0x49f263)&&_0x5a44b9[_0x2a3c1e(0x164)](_0x49f263)&&(_0x22faa2[_0x49f263]=_0x5a44b9[_0x49f263]);}else console[_0x2a3c1e(0x18a)](('yunlin:\x20handleCosting函数提交参数错误。\x0a\x09\x09\x09错误参数:'+JSON['stringify'](_0x5a44b9,null,0x2)+_0x2a3c1e(0x17f)+JSON[_0x2a3c1e(0x135)](_0x22faa2,null,0x2))[_0x2a3c1e(0x1a6)]());return _0x22faa2;},_0x40e475={'zh':{'titles':{'people':_0x1a0980(0x16c),'service':_0x1a0980(0x141),'trip':_0x1a0980(0x163),'other':_0x1a0980(0x158),'reduction':'减免费用','totalprice':'总计','airtax':_0x1a0980(0x181)},'keys':{'adult':'成人','child':'儿童','childusebed':_0x1a0980(0x16f),'infant':'婴儿','half':'拼房','tip':'小费','elder':'游客优惠','vip':'会员减免','promotion':'促销','insure':_0x1a0980(0x145),'coupon':_0x1a0980(0x1a8),'point':'积分','tax':'税','viprecharge':_0x1a0980(0x18e),'changeprice':'调价','commission':'返点','deposit':'订金','r':'人','t':'天'}},'tw':{'titles':{'people':'人員費用','service':_0x1a0980(0x15c),'trip':_0x1a0980(0x163),'other':_0x1a0980(0x19a),'reduction':_0x1a0980(0x17b),'totalprice':'總計','airtax':'機稅'},'keys':{'adult':'成人','child':'儿童','childusebed':_0x1a0980(0x1a0),'infant':'婴儿','half':'拼房','tip':'小費','elder':'遊客優惠','vip':'會員減免','promotion':'促銷','insure':_0x1a0980(0x19c),'coupon':_0x1a0980(0x193),'point':'積分','tax':'稅','viprecharge':'會員充值','changeprice':'調價','commission':'返點','deposit':'訂金','r':'人','t':'天'}},'en':{'titles':{'people':_0x1a0980(0x187),'service':'Additional\x20Services','trip':_0x1a0980(0x1ba),'other':_0x1a0980(0x154),'reduction':_0x1a0980(0x168),'totalprice':'Total','airtax':'Airport\x20Tax'},'keys':{'adult':_0x1a0980(0x137),'child':_0x1a0980(0x136),'childusebed':'Child[with\x20Bed]','infant':_0x1a0980(0x176),'half':_0x1a0980(0x19f),'tip':_0x1a0980(0x15d),'elder':'Tourist\x20Discount','vip':'Member\x20Discount','promotion':_0x1a0980(0x178),'insure':_0x1a0980(0x182),'coupon':_0x1a0980(0x194),'point':'Points','tax':_0x1a0980(0x165),'viprecharge':_0x1a0980(0x1a3),'changeprice':'Commission','deposit':_0x1a0980(0x1b1),'r':'Person(s)','t':_0x1a0980(0x1bc)}},'it':{'titles':{'people':_0x1a0980(0x142),'service':_0x1a0980(0x185),'trip':_0x1a0980(0x1b9),'other':_0x1a0980(0x167),'reduction':'Riduzioni','totalprice':_0x1a0980(0x143),'airtax':_0x1a0980(0x1b8)},'keys':{'adult':'Adulti','child':_0x1a0980(0x17c),'childusebed':_0x1a0980(0x160),'infant':_0x1a0980(0x1a1),'half':'Camera\x20condivisa','tip':_0x1a0980(0x177),'elder':_0x1a0980(0x147),'vip':_0x1a0980(0x16d),'promotion':_0x1a0980(0x15b),'insure':_0x1a0980(0x14f),'coupon':_0x1a0980(0x194),'point':_0x1a0980(0x13f),'tax':'Tasse','viprecharge':_0x1a0980(0x1b5),'changeprice':'Importo\x20sconto','commission':'Importo\x20sconto\x20punti','deposit':_0x1a0980(0x173),'r':_0x1a0980(0x1ae),'t':_0x1a0980(0x184)}}};let _0x5d48b4=_0x40e475[_0x5a159e[_0x1a0980(0x132)]]&&_0x40e475[_0x5a159e[_0x1a0980(0x132)]][_0x1a0980(0x151)]||_0x40e475['zh'][_0x1a0980(0x151)],_0x445ea8=_0x40e475[_0x5a159e['lang']]&&_0x40e475[_0x5a159e[_0x1a0980(0x132)]][_0x1a0980(0x1a2)]||_0x40e475['zh']['keys'];_0x5d48b4=_0x23516d(_0x5d48b4,_0x3ee043),_0x445ea8=_0x23516d(_0x445ea8,_0x2f3c38);const _0x1a8bac=_0xf621ad[_0x1a0980(0x1a5)](_0x4f2cc3=>_0x4f2cc3['strLx']=='base');if(_0x1a8bac['length']){let _0x440867={'title':_0x5d48b4[_0x1a0980(0x18d)],'type':_0x1a0980(0x196),'list':[]},_0x4d7e5b=![];const _0x5cfe85=parseInt(_0x5a159e[_0x1a0980(0x19d)],0xa);(_0x5a159e[_0x1a0980(0x149)]==_0x1a0980(0x16e)||_0x5a159e[_0x1a0980(0x149)]==_0x1a0980(0x195))&&!isNaN(_0x5cfe85)&&_0x5cfe85>0x1&&(_0x4d7e5b=!![]),_0x1a8bac[_0x1a0980(0x153)](_0x3bdf16=>{const _0x56b40d=_0x1a0980;let _0x175d71=_0x3bdf16[_0x56b40d(0x131)];if(_0x5a159e[_0x56b40d(0x149)]==_0x56b40d(0x186)&&_0x3bdf16[_0x56b40d(0x133)])_0x175d71=_0x3bdf16[_0x56b40d(0x131)]+'\x20['+_0x3bdf16['dtRq']+']';_0x4d7e5b&&((_0x3bdf16[_0x56b40d(0x18b)]==_0x56b40d(0x1aa)||_0x3bdf16[_0x56b40d(0x18b)]==_0x56b40d(0x166)||_0x3bdf16[_0x56b40d(0x18b)]=='child'||_0x3bdf16[_0x56b40d(0x18b)]==_0x56b40d(0x134))&&(_0x175d71=_0x3bdf16[_0x56b40d(0x131)]+'\x20['+_0x445ea8[_0x3bdf16['strJgbm']]+']')),_0x440867[_0x56b40d(0x18c)][_0x56b40d(0x19e)]({'title':_0x445ea8[_0x3bdf16[_0x56b40d(0x18b)]],'subTitle':_0x175d71,'date':_0x3bdf16[_0x56b40d(0x133)],'info':_0x5e4cec+_0x1b4c53(_0x3bdf16['fLsjUnit'])+_0x1a5536+_0x3bdf16[_0x56b40d(0x1a7)],'nRs':_0x3bdf16['nRs'],'unit':_0x3bdf16['fLsjUnit'],'cb':_0x3bdf16['fJcbzlsjUnit'],'type':_0x56b40d(0x196)});}),_0x38ba3b['push'](_0x440867);}const _0x39cf6e=_0xf621ad[_0x1a0980(0x1a5)](_0x522fa2=>_0x522fa2['strLx']==_0x1a0980(0x170));if(_0x39cf6e[_0x1a0980(0x150)]){let _0x1efc26={'title':_0x5d48b4[_0x1a0980(0x170)],'type':_0x1a0980(0x170),'list':[]};_0x39cf6e[_0x1a0980(0x153)](_0x57aee3=>{const _0x28b6e9=_0x1a0980;_0x1efc26['list'][_0x28b6e9(0x19e)]({'title':_0x57aee3[_0x28b6e9(0x138)]+('['+_0x57aee3[_0x28b6e9(0x13c)]+']'),'info':_0x5e4cec+_0x1b4c53(_0x57aee3[_0x28b6e9(0x13d)])+_0x1a5536+_0x57aee3[_0x28b6e9(0x162)],'nRs':_0x57aee3[_0x28b6e9(0x162)],'unit':_0x57aee3[_0x28b6e9(0x13d)],'cb':_0x57aee3[_0x28b6e9(0x1b4)],'type':_0x28b6e9(0x170)});}),_0x38ba3b[_0x1a0980(0x19e)](_0x1efc26);}const _0xd747f4=_0xf621ad[_0x1a0980(0x1a5)](_0x4acc05=>_0x4acc05['strLx']==_0x1a0980(0x180));if(_0xd747f4[_0x1a0980(0x150)]){let _0x39611c={'title':_0x5d48b4['trip'],'type':_0x1a0980(0x180),'list':[]};_0xd747f4[_0x1a0980(0x153)](_0x571d69=>{const _0x388b6e=_0x1a0980;_0x571d69[_0x388b6e(0x19b)]!='0'&&_0x39611c['list'][_0x388b6e(0x19e)]({'title':_0x571d69[_0x388b6e(0x138)]+('['+_0x445ea8['adult']+']'),'info':_0x5e4cec+_0x1b4c53(_0x571d69[_0x388b6e(0x161)])+_0x1a5536+_0x571d69[_0x388b6e(0x19b)],'nRs':_0x571d69[_0x388b6e(0x19b)],'unit':_0x571d69[_0x388b6e(0x161)],'cb':_0x571d69[_0x388b6e(0x1b2)],'type':_0x388b6e(0x180)}),_0x571d69['childnum']!='0'&&_0x39611c[_0x388b6e(0x18c)][_0x388b6e(0x19e)]({'title':_0x571d69[_0x388b6e(0x138)]+('['+_0x445ea8[_0x388b6e(0x140)]+']'),'info':_0x5e4cec+_0x1b4c53(_0x571d69[_0x388b6e(0x172)])+_0x1a5536+_0x571d69[_0x388b6e(0x16a)],'nRs':_0x571d69[_0x388b6e(0x16a)],'unit':_0x571d69[_0x388b6e(0x172)],'cb':_0x571d69['basechildprice'],'type':_0x388b6e(0x180)});}),_0x38ba3b['push'](_0x39611c);}let _0x1db0a0=[];const _0x4fa2d2=_0xf621ad[_0x1a0980(0x1a5)](_0x59efd3=>_0x59efd3['strLx']==_0x1a0980(0x189));_0x4fa2d2['length']&&_0x4fa2d2[_0x1a0980(0x153)](_0x5e6ec7=>{const _0x5f2003=_0x1a0980,_0x220cf8=_0x5e6ec7[_0x5f2003(0x138)]['split']('|')||[''];_0x1db0a0[_0x5f2003(0x19e)]({'title':_0x445ea8['elder']+('['+_0x220cf8[0x0]+']'),'info':_0x5e4cec+_0x365a27+_0x1b4c53(_0x5e6ec7[_0x5f2003(0x15a)]),'unit':_0x5e6ec7[_0x5f2003(0x15a)],'cb':_0x5e6ec7[_0x5f2003(0x15a)],'type':_0x5f2003(0x189)});});const _0x2cf807=_0xf621ad[_0x1a0980(0x1a5)](_0x19f5ac=>_0x19f5ac['strLx']==_0x1a0980(0x14b));_0x2cf807[_0x1a0980(0x150)]&&_0x2cf807[_0x1a0980(0x153)](_0x139148=>{const _0xd2ce3b=_0x1a0980;_0x1db0a0['push']({'title':_0x445ea8[_0xd2ce3b(0x169)]+('['+_0x139148[_0xd2ce3b(0x138)]+']'),'info':_0x5e4cec+_0x365a27+_0x1b4c53(_0x139148[_0xd2ce3b(0x15a)]),'unit':_0x139148[_0xd2ce3b(0x15a)],'cb':_0x139148[_0xd2ce3b(0x15a)],'type':_0xd2ce3b(0x169)});});const _0x42948a=_0xf621ad[_0x1a0980(0x1a5)](_0x5711e6=>_0x5711e6[_0x1a0980(0x1b6)]==_0x1a0980(0x1b7));_0x42948a[_0x1a0980(0x150)]&&_0x42948a[_0x1a0980(0x153)](_0x46eed0=>{const _0x43a377=_0x1a0980;_0x1db0a0['push']({'title':_0x445ea8[_0x43a377(0x1b7)],'info':_0x5e4cec+_0x365a27+_0x1b4c53(_0x46eed0[_0x43a377(0x15a)]),'unit':_0x46eed0['money'],'cb':_0x46eed0[_0x43a377(0x15a)],'type':_0x43a377(0x1b7)});});_0x1db0a0[_0x1a0980(0x150)]&&_0x38ba3b['push']({'title':_0x5d48b4[_0x1a0980(0x1ac)],'type':'reduction','list':_0x1db0a0});const _0xa84c60=_0xf621ad[_0x1a0980(0x1a5)](_0x33d494=>_0x33d494['strLx']=='airtax');if(_0xa84c60[_0x1a0980(0x150)]){let _0x1a01e5={'title':_0x5d48b4[_0x1a0980(0x191)],'type':_0x1a0980(0x191),'list':[]};_0xa84c60['map'](_0x543f4b=>{const _0x44988d=_0x1a0980;_0x1a01e5[_0x44988d(0x18c)][_0x44988d(0x19e)]({'title':_0x445ea8[_0x543f4b[_0x44988d(0x1ab)]],'info':_0x5e4cec+_0x1b4c53(_0x543f4b[_0x44988d(0x13d)])+_0x1a5536+_0x543f4b['sl'],'nRs':_0x543f4b['sl'],'unit':_0x543f4b[_0x44988d(0x13d)],'cb':_0x543f4b[_0x44988d(0x1bd)],'type':_0x543f4b[_0x44988d(0x1ab)]});}),_0x38ba3b[_0x1a0980(0x19e)](_0x1a01e5);}const _0x4359cb=[_0x1a0980(0x196),_0x1a0980(0x170),_0x1a0980(0x180),_0x1a0980(0x189),_0x1a0980(0x14b),_0x1a0980(0x1b7),'airtax'],_0x88c14d=_0xf621ad[_0x1a0980(0x1a5)](_0x59347b=>!_0x4359cb[_0x1a0980(0x188)](_0x59347b['strLx']));let _0x25bd5d={'title':_0x5d48b4[_0x1a0980(0x17e)],'type':_0x1a0980(0x17e),'list':[]};for(var _0x97e8a=0x0;_0x97e8a<_0x88c14d[_0x1a0980(0x150)];_0x97e8a++){const _0x51af12=_0x88c14d[_0x97e8a];_0x51af12[_0x1a0980(0x1b6)]==_0x1a0980(0x1b3)&&_0x25bd5d['list']['push']({'title':_0x445ea8[_0x1a0980(0x1b3)]+('['+_0x51af12[_0x1a0980(0x138)]+']'),'info':_0x5e4cec+_0x1b4c53(_0x51af12['money']),'unit':_0x51af12[_0x1a0980(0x15a)],'type':_0x51af12['strLx']}),_0x51af12['strLx']==_0x1a0980(0x175)&&_0x25bd5d[_0x1a0980(0x18c)][_0x1a0980(0x19e)]({'title':_0x445ea8[_0x1a0980(0x175)]+('['+_0x51af12[_0x1a0980(0x138)]+']'),'info':_0x5e4cec+_0x1b4c53(_0x51af12[_0x1a0980(0x139)])+_0x1a5536+_0x51af12[_0x1a0980(0x197)]+_0x445ea8['r'],'nRs':_0x51af12[_0x1a0980(0x197)],'unit':_0x51af12[_0x1a0980(0x139)],'cb':_0x51af12['unit'],'type':_0x1a0980(0x175)}),(_0x51af12[_0x1a0980(0x1b6)]==_0x1a0980(0x192)||_0x51af12[_0x1a0980(0x1b6)]==_0x1a0980(0x199))&&_0x25bd5d[_0x1a0980(0x18c)][_0x1a0980(0x19e)]({'title':_0x51af12[_0x1a0980(0x174)]||_0x445ea8[_0x51af12[_0x1a0980(0x1b6)]],'info':_0x5e4cec+_0x365a27+_0x1b4c53(_0x51af12[_0x1a0980(0x15a)]),'unit':_0x51af12[_0x1a0980(0x15a)],'cb':_0x51af12[_0x1a0980(0x1be)]||0x0,'type':_0x51af12['strLx']}),_0x51af12[_0x1a0980(0x1b6)]==_0x1a0980(0x1ad)&&_0x5a159e['isShowTip']&&_0x25bd5d[_0x1a0980(0x18c)]['push']({'title':_0x445ea8[_0x51af12[_0x1a0980(0x1b6)]],'info':_0x5e4cec+_0x1b4c53(_0x51af12[_0x1a0980(0x1ad)])+_0x1a5536+_0x51af12['tipuser']+_0x445ea8['r']+_0x1a5536+_0x51af12[_0x1a0980(0x146)]+_0x445ea8['t'],'nRs':_0x51af12[_0x1a0980(0x179)],'count':_0x51af12['tipday'],'unit':_0x51af12[_0x1a0980(0x1ad)],'type':_0x51af12[_0x1a0980(0x1b6)]}),_0x51af12[_0x1a0980(0x1b6)]==_0x1a0980(0x144)&&_0x25bd5d[_0x1a0980(0x18c)][_0x1a0980(0x19e)]({'title':_0x445ea8[_0x1a0980(0x144)],'info':_0x5e4cec+_0x1b4c53(_0x51af12[_0x1a0980(0x190)]),'unit':_0x51af12[_0x1a0980(0x190)],'type':_0x51af12[_0x1a0980(0x1b6)]}),_0x51af12['strLx']==_0x1a0980(0x13a)&&_0x25bd5d['list']['push']({'title':_0x445ea8['commission'],'info':_0x5e4cec+_0x1b4c53(_0x51af12[_0x1a0980(0x190)]),'unit':_0x51af12[_0x1a0980(0x190)],'type':_0x51af12[_0x1a0980(0x1b6)]}),_0x51af12[_0x1a0980(0x1b6)]==_0x1a0980(0x156)&&_0x25bd5d[_0x1a0980(0x18c)][_0x1a0980(0x19e)]({'title':_0x445ea8[_0x51af12['strLx']],'info':_0x5e4cec+_0x1b4c53(_0x51af12[_0x1a0980(0x155)]),'unit':_0x51af12[_0x1a0980(0x155)],'type':_0x51af12[_0x1a0980(0x1b6)]});}_0x25bd5d[_0x1a0980(0x18c)][_0x1a0980(0x150)]&&_0x38ba3b[_0x1a0980(0x19e)](_0x25bd5d);const _0x5822ea=_0xf621ad['filter'](_0x11db30=>_0x11db30[_0x1a0980(0x1b6)]==_0x1a0980(0x1af));if(_0x5822ea['length']){let _0x1c3b84={'title':_0x5d48b4[_0x1a0980(0x1af)],'type':'totalprice','list':[]};const _0x59c227=_0xf621ad[_0x1a0980(0x1a5)](_0x5576fc=>_0x5576fc[_0x1a0980(0x1b6)]==_0x1a0980(0x1a4));_0x59c227['length']&&_0x1c3b84[_0x1a0980(0x19e)]({'title':_0x445ea8[_0x1a0980(0x1a4)],'info':_0x5e4cec+_0x1b4c53(_0x59c227[0x0]['money'])}),_0x1c3b84[_0x1a0980(0x19e)]({'title':_0x5d48b4[_0x1a0980(0x1af)],'info':_0x5e4cec+_0x1b4c53(_0x5822ea[0x0][_0x1a0980(0x190)])}),_0x38ba3b[_0x1a0980(0x19e)](_0x1c3b84);}return _0x38ba3b;}export default{'handleCosting':handleCosting};
|
package/dist/room.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4b68b0,_0xec0b06){const _0x23b12b=a2_0x5e64,_0x35738d=_0x4b68b0();while(!![]){try{const _0x41c735=-parseInt(_0x23b12b(0x1cd))/0x1+parseInt(_0x23b12b(0x1d5))/0x2*(parseInt(_0x23b12b(0x1d3))/0x3)+-parseInt(_0x23b12b(0x1c8))/0x4*(-parseInt(_0x23b12b(0x1d4))/0x5)+-parseInt(_0x23b12b(0x1db))/0x6+parseInt(_0x23b12b(0x1d7))/0x7+parseInt(_0x23b12b(0x1da))/0x8*(parseInt(_0x23b12b(0x1c7))/0x9)+-parseInt(_0x23b12b(0x1d9))/0xa;if(_0x41c735===_0xec0b06)break;else _0x35738d['push'](_0x35738d['shift']());}catch(_0x4fcab0){_0x35738d['push'](_0x35738d['shift']());}}}(a2_0x4e27,0xc2372));function a2_0x5e64(_0x445ae0,_0x12cea3){const _0x4e2757=a2_0x4e27();return a2_0x5e64=function(_0x5e6487,_0x1dd909){_0x5e6487=_0x5e6487-0x1c6;let _0x14b8eb=_0x4e2757[_0x5e6487];return _0x14b8eb;},a2_0x5e64(_0x445ae0,_0x12cea3);}function getRoomCount(_0x5a99b1,_0x2a4ef8){const _0x4344a9=a2_0x5e64,_0x3e9cf0=Array['isArray'](_0x5a99b1);if(!_0x3e9cf0)_0x5a99b1=[_0x5a99b1];let _0x155059=[];return _0x5a99b1[_0x4344a9(0x1dc)](_0x41d641=>{const _0x5bc577=_0x4344a9;let _0x35e51a=![];if(!_0x41d641[_0x5bc577(0x1c9)]){let _0x47a50e=_0x41d641[_0x5bc577(0x1d0)];if(_0x41d641[_0x5bc577(0x1df)]||!_0x2a4ef8['child'])_0x47a50e+=_0x41d641[_0x5bc577(0x1d8)];const _0xb91a28=_0x2a4ef8[_0x5bc577(0x1cf)][_0x5bc577(0x1e0)](_0x1ec35c=>Number(_0x1ec35c['strCode'])===_0x47a50e);if(!_0xb91a28)_0x35e51a=!![];else{let _0x58c663=_0x41d641[_0x5bc577(0x1d0)]+_0x41d641['childrenNum']+_0x41d641[_0x5bc577(0x1e1)];_0x58c663>_0xb91a28[_0x5bc577(0x1cb)]&&(_0x35e51a=!![]);}}_0x155059[_0x5bc577(0x1cc)](_0x35e51a);}),_0x3e9cf0?_0x155059:_0x155059[0x0];}function a2_0x4e27(){const _0x152ce7=['isalotment','length','nMaxIn','push','1076799FSutjV','child','list','adultNum','infant','map','18933Sxyvvq','1145qLptsd','14opwSVD','some','7485555AupejF','childrenNum','9151390NlGwMM','29632DCYwDy','591720xDeryX','forEach','strCode','reduce','childUseBed','find','infantNum','type','max','filter','2178MGNxNy','15304IYzjVP'];a2_0x4e27=function(){return _0x152ce7;};return a2_0x4e27();}function getRoomConfig(_0xdba93b){const _0x4446d2=a2_0x5e64;let _0x8771e3=_0xdba93b[_0x4446d2(0x1d6)](_0x437c75=>_0x437c75['strCode']===_0x4446d2(0x1df)),_0x584903=_0xdba93b[_0x4446d2(0x1d6)](_0x13c997=>_0x13c997[_0x4446d2(0x1dd)]==='isAlotment');const _0x1d209f=_0xdba93b[_0x4446d2(0x1d6)](_0x52ffe5=>_0x52ffe5['strCode']==='infant'),_0xcc019d=_0xdba93b[_0x4446d2(0x1d6)](_0x47c4c5=>_0x47c4c5[_0x4446d2(0x1dd)]===_0x4446d2(0x1ce)),_0x80407a=_0xdba93b['map'](_0x9f728=>{const _0x2c27c2=_0x4446d2;return{'strCode':_0x9f728[_0x2c27c2(0x1dd)],'nMaxIn':_0x9f728['nMaxIn']};});if(_0x584903){const _0x7d13ea=_0xdba93b[_0x4446d2(0x1d6)](_0x5e3d6f=>_0x5e3d6f[_0x4446d2(0x1dd)]=='2');_0x584903=_0x584903&&_0x7d13ea;}if(_0x8771e3)_0x8771e3=_0x8771e3&&_0xcc019d;return{'childUseBed':_0x8771e3,'isAlotment':_0x584903,'infant':_0x1d209f,'child':_0xcc019d,'list':_0x80407a};}function isRoomPiece(_0x4b687,_0x550d64){const _0x2409dd=a2_0x5e64;return _0x550d64&&_0x4b687[_0x2409dd(0x1d0)]===0x1&&_0x4b687[_0x2409dd(0x1d8)]===0x0&&_0x4b687[_0x2409dd(0x1e1)]===0x0;}function getRoomItemRange(_0x5877df,_0x1d96d6,_0x5f22a5={'child':'儿童','infant':'婴儿'}){const _0x327007=a2_0x5e64;if(!_0x1d96d6[_0x327007(0x1ca)])return{'childList':[],'infantList':[]};const _0x2a8366=Math['max'](..._0x1d96d6[_0x327007(0x1d2)](_0x5ad822=>Number(_0x5ad822['nMaxIn']))),_0x23e0db=_0x2a8366-_0x5877df[_0x327007(0x1d0)]-_0x5877df[_0x327007(0x1e1)];let _0x3eedcb=_0x2a8366-_0x5877df[_0x327007(0x1d0)]-_0x5877df['childrenNum'];if(_0x3eedcb>0x2)_0x3eedcb=0x2;const _0x1e615e=(_0x3f5630,_0x16549d)=>{const _0x9f22b8=_0x327007,_0x476e57=[];_0x476e57[_0x9f22b8(0x1cc)]({'value':0x0,'label':'0\x20'+_0x16549d});for(let _0xaabcb0=0x0;_0xaabcb0<_0x3f5630;_0xaabcb0++){_0x476e57[_0x9f22b8(0x1cc)]({'value':_0xaabcb0+0x1,'label':''+(_0xaabcb0+0x1)+_0x16549d});}return _0x476e57;};return{'childList':_0x1e615e(_0x23e0db,_0x5f22a5[_0x327007(0x1ce)]),'infantList':_0x1e615e(_0x3eedcb,_0x5f22a5[_0x327007(0x1d1)])};}function getAdultRange(_0x11283c,_0x37893b='成人'){const _0x225c2d=a2_0x5e64;let _0x3009db=Math[_0x225c2d(0x1e3)](..._0x11283c[_0x225c2d(0x1d2)](_0x77c893=>Number(_0x77c893[_0x225c2d(0x1dd)]))[_0x225c2d(0x1c6)](_0x3b20d9=>!isNaN(_0x3b20d9)));if(!_0x3009db)_0x3009db=0x4;let _0x3fb14e=[];for(var _0x2d5b8b=0x1;_0x2d5b8b<_0x3009db+0x1;_0x2d5b8b++){_0x3fb14e['push']({'value':_0x2d5b8b,'label':''+_0x2d5b8b+_0x37893b});}return _0x3fb14e;}const getTotalPeople=_0x3eb3a9=>{const _0x422073=a2_0x5e64,_0x319326=_0x3eb3a9[_0x422073(0x1de)]((_0x1db7c5,_0x930f4a)=>{const _0xd4b382=_0x422073;return _0x1db7c5+(_0x930f4a[_0xd4b382(0x1d0)]||0x0)+(_0x930f4a[_0xd4b382(0x1d8)]||0x0)+(_0x930f4a['infantNum']||0x0);},0x0);return _0x319326;},getRoomType=(_0x106af4,_0x440861)=>{const _0x9be28d=a2_0x5e64;if(_0x106af4===_0x9be28d(0x1e2)||_0x106af4==='d9319e13-3211-4958-ba32-d66aeac35d31'||_0x440861===0x1||_0x440861==='1')return![];return!![];};export default{'getAdultRange':getAdultRange,'getRoomItemRange':getRoomItemRange,'getRoomConfig':getRoomConfig,'isRoomPiece':isRoomPiece,'getRoomCount':getRoomCount,'getTotalPeople':getTotalPeople,'getRoomType':getRoomType};
|
package/dist/roomOld.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x23d00e,_0x139834){const _0x4bddde=a3_0xa32a,_0x1e7202=_0x23d00e();while(!![]){try{const _0x27695c=parseInt(_0x4bddde(0x1c2))/0x1*(parseInt(_0x4bddde(0x1ca))/0x2)+-parseInt(_0x4bddde(0x1c1))/0x3*(parseInt(_0x4bddde(0x1cd))/0x4)+-parseInt(_0x4bddde(0x1c3))/0x5+parseInt(_0x4bddde(0x1c0))/0x6+-parseInt(_0x4bddde(0x1b6))/0x7+parseInt(_0x4bddde(0x1c4))/0x8+parseInt(_0x4bddde(0x1c7))/0x9;if(_0x27695c===_0x139834)break;else _0x1e7202['push'](_0x1e7202['shift']());}catch(_0x417a46){_0x1e7202['push'](_0x1e7202['shift']());}}}(a3_0xb742,0xe1a87));function getRoomCount(_0x5368ab,_0x3038d2){const _0x245eb1=a3_0xa32a,_0x32708d=Array[_0x245eb1(0x1bf)](_0x5368ab);if(!_0x32708d)_0x5368ab=[_0x5368ab];let _0xe30650=[];return _0x5368ab[_0x245eb1(0x1ce)](_0x327741=>{const _0xcbac14=_0x245eb1;let _0x81a555=![];if(!_0x327741[_0xcbac14(0x1b7)]){let _0x409c62=_0x327741[_0xcbac14(0x1b8)];if(_0x327741['childusebed']||!_0x3038d2[_0xcbac14(0x1b5)])_0x409c62+=_0x327741[_0xcbac14(0x1cb)];const _0x58790a=_0x3038d2[_0xcbac14(0x1b9)]['find'](_0x197baf=>Number(_0x197baf[_0xcbac14(0x1bd)])===_0x409c62);if(!_0x58790a)_0x81a555=!![];else{let _0x4b970b=_0x327741[_0xcbac14(0x1b8)]+_0x327741[_0xcbac14(0x1cb)]+_0x327741[_0xcbac14(0x1bc)];_0x4b970b>_0x58790a[_0xcbac14(0x1b4)]&&(_0x81a555=!![]);}}_0xe30650[_0xcbac14(0x1c6)](_0x81a555);}),_0x32708d?_0xe30650:_0xe30650[0x0];}function getRoomConfig(_0x4cf861){const _0x1ee1f5=a3_0xa32a;let _0x23cfee=_0x4cf861['some'](_0x409eda=>_0x409eda[_0x1ee1f5(0x1bd)]===_0x1ee1f5(0x1cc)),_0x4195bb=_0x4cf861['some'](_0x5980e0=>_0x5980e0['strCode']===_0x1ee1f5(0x1b3));const _0x580ffa=_0x4cf861[_0x1ee1f5(0x1bb)](_0x77e4c5=>_0x77e4c5['strCode']===_0x1ee1f5(0x1c9)),_0x121c97=_0x4cf861[_0x1ee1f5(0x1bb)](_0x1e3926=>_0x1e3926[_0x1ee1f5(0x1bd)]===_0x1ee1f5(0x1b5)),_0x36c369=_0x4cf861['map'](_0x179143=>{const _0x7b4040=_0x1ee1f5;return{'strCode':_0x179143[_0x7b4040(0x1bd)],'nMaxIn':_0x179143[_0x7b4040(0x1b4)]};});if(_0x4195bb){const _0x15f8e8=_0x4cf861[_0x1ee1f5(0x1bb)](_0x160461=>_0x160461['strCode']=='2');_0x4195bb=_0x4195bb&&_0x15f8e8;}if(_0x23cfee)_0x23cfee=_0x23cfee&&_0x121c97;return{'childusebed':_0x23cfee,'half':_0x4195bb,'infant':_0x580ffa,'child':_0x121c97,'list':_0x36c369};}function isRoomPiece(_0x141d4e,_0x19ed01){const _0x2a3e6c=a3_0xa32a;return _0x19ed01&&_0x141d4e[_0x2a3e6c(0x1b8)]===0x1&&_0x141d4e[_0x2a3e6c(0x1cb)]===0x0&&_0x141d4e[_0x2a3e6c(0x1bc)]===0x0;}function getRoomItemRange(_0x1019aa,_0x35a226,_0x219c95={'child':'儿童','infant':'婴儿'}){const _0x1cbf6f=a3_0xa32a;if(!_0x35a226[_0x1cbf6f(0x1c5)])return{'childList':[],'infantList':[]};const _0x409185=Math[_0x1cbf6f(0x1cf)](..._0x35a226[_0x1cbf6f(0x1ba)](_0x338ab1=>Number(_0x338ab1['nMaxIn']))),_0x17bf26=_0x409185-_0x1019aa[_0x1cbf6f(0x1b8)]-_0x1019aa[_0x1cbf6f(0x1bc)];let _0xe94ff5=_0x409185-_0x1019aa[_0x1cbf6f(0x1b8)]-_0x1019aa[_0x1cbf6f(0x1cb)];if(_0xe94ff5>0x2)_0xe94ff5=0x2;const _0x328ca3=(_0x36536c,_0x48efc9)=>{const _0x3169fc=_0x1cbf6f,_0x29ff62=[];_0x29ff62[_0x3169fc(0x1c6)]({'value':0x0,'label':'0\x20'+_0x48efc9});for(let _0x200a89=0x0;_0x200a89<_0x36536c;_0x200a89++){_0x29ff62[_0x3169fc(0x1c6)]({'value':_0x200a89+0x1,'label':''+(_0x200a89+0x1)+_0x48efc9});}return _0x29ff62;};return{'childList':_0x328ca3(_0x17bf26,_0x219c95['child']),'infantList':_0x328ca3(_0xe94ff5,_0x219c95[_0x1cbf6f(0x1c9)])};}function getAdultRange(_0x35065a,_0x280c5a='成人'){const _0x2edac0=a3_0xa32a;let _0x3b7703=Math[_0x2edac0(0x1cf)](..._0x35065a[_0x2edac0(0x1ba)](_0x3d85af=>Number(_0x3d85af[_0x2edac0(0x1bd)]))[_0x2edac0(0x1be)](_0x1bc47c=>!isNaN(_0x1bc47c)));if(!_0x3b7703)_0x3b7703=0x4;let _0x9dbb3=[];for(var _0x2db1d3=0x1;_0x2db1d3<_0x3b7703+0x1;_0x2db1d3++){_0x9dbb3[_0x2edac0(0x1c6)]({'value':_0x2db1d3,'label':''+_0x2db1d3+_0x280c5a});}return _0x9dbb3;}function a3_0xb742(){const _0x10cc06=['6899298BYSPYD','isalotment','adultnum','list','map','some','infantnum','strCode','filter','isArray','2444082gnrvae','21gmeFNW','207aHtZcl','2603060tfEJEm','5510400eCPWdY','length','push','5775867yOGCUW','reduce','infant','10694KjmGot','childrennum','childusebed','236696TyVUHH','forEach','max','half','nMaxIn','child'];a3_0xb742=function(){return _0x10cc06;};return a3_0xb742();}function a3_0xa32a(_0x457272,_0x39257f){const _0xb7426e=a3_0xb742();return a3_0xa32a=function(_0xa32ab3,_0x5acfa1){_0xa32ab3=_0xa32ab3-0x1b3;let _0xef58f9=_0xb7426e[_0xa32ab3];return _0xef58f9;},a3_0xa32a(_0x457272,_0x39257f);}const getTotalPeople=_0x17d7be=>{const _0x4c46d3=a3_0xa32a,_0x808977=_0x17d7be[_0x4c46d3(0x1c8)]((_0x436d18,_0x1c9668)=>{const _0xfd39e1=_0x4c46d3;return _0x436d18+(_0x1c9668[_0xfd39e1(0x1b8)]||0x0)+(_0x1c9668[_0xfd39e1(0x1cb)]||0x0)+(_0x1c9668[_0xfd39e1(0x1bc)]||0x0);},0x0);return _0x808977;};export default{'getAdultRange':getAdultRange,'getRoomItemRange':getRoomItemRange,'getRoomConfig':getRoomConfig,'isRoomPiece':isRoomPiece,'getRoomCount':getRoomCount,'getTotalPeople':getTotalPeople};
|
package/dist/system.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a4_0xad6084=a4_0x44a8;function a4_0x44a8(_0xe3389a,_0x5adf4b){const _0x539a22=a4_0x539a();return a4_0x44a8=function(_0x44a8b3,_0x3d05f8){_0x44a8b3=_0x44a8b3-0xf1;let _0x50d75e=_0x539a22[_0x44a8b3];return _0x50d75e;},a4_0x44a8(_0xe3389a,_0x5adf4b);}(function(_0x3474cd,_0x9eaa5a){const _0x1a9e86=a4_0x44a8,_0x289ad5=_0x3474cd();while(!![]){try{const _0x2628f3=-parseInt(_0x1a9e86(0xf2))/0x1*(parseInt(_0x1a9e86(0x103))/0x2)+parseInt(_0x1a9e86(0x108))/0x3*(-parseInt(_0x1a9e86(0x10f))/0x4)+-parseInt(_0x1a9e86(0xf4))/0x5+-parseInt(_0x1a9e86(0xff))/0x6*(-parseInt(_0x1a9e86(0x106))/0x7)+parseInt(_0x1a9e86(0xf7))/0x8+-parseInt(_0x1a9e86(0x10b))/0x9*(parseInt(_0x1a9e86(0xfd))/0xa)+-parseInt(_0x1a9e86(0xf5))/0xb*(-parseInt(_0x1a9e86(0xfb))/0xc);if(_0x2628f3===_0x9eaa5a)break;else _0x289ad5['push'](_0x289ad5['shift']());}catch(_0x1b33b5){_0x289ad5['push'](_0x289ad5['shift']());}}}(a4_0x539a,0x356e0));function getCategories(_0x690912){const _0x310574=a4_0x44a8;if(!_0x690912)return 0x0;if(_0x690912===_0x310574(0x100))return 0x0;if(_0x690912==='124866006')return 0x1;if(_0x690912===_0x310574(0xf8))return 0x2;if(_0x690912===_0x310574(0x10c))return 0x3;if(_0x690912===_0x310574(0x10a))return 0x4;if(_0x690912==='cd')return 0x5;if(_0x690912==='cruise')return 0x6;return 0x0;}function a4_0x539a(){const _0x463700=['lastName','strlxfs','94028FuerQX','trim','1817KEfjWT','strfirstname','197970qTtyui','12452ABilKK','join','2382472mZYdGJ','Hotel01','strggtxz','idNumber','1752ocgDwS','strxm','670KdjKzm','strsfzh','1121598tSBNHc','50258004','strdhhm','strhzbh','176tXiXMK','strmz','strzjhm','7ZnksOR','strhxz','3HlrpPH','strlastname','planeticket','27963VqJgnA','visa'];a4_0x539a=function(){return _0x463700;};return a4_0x539a();}function getDocInfo(_0x52f482,_0x21228e=a4_0xad6084(0xfa),_0x2a6f7a=![]){const _0x35c972=a4_0xad6084;let _0x54a023=_0x2a6f7a?'\x20':'';if(_0x21228e==='idNumber')return _0x52f482[_0x35c972(0xfe)]||_0x52f482[_0x35c972(0x102)]||_0x52f482[_0x35c972(0x107)]||_0x52f482[_0x35c972(0xf9)]||_0x52f482[_0x35c972(0x105)]||'';if(_0x21228e==='name'){if(_0x52f482[_0x35c972(0xfc)])return _0x52f482[_0x35c972(0xfc)];const _0x345b64=_0x52f482[_0x35c972(0xf3)]||_0x52f482['firstName']||_0x52f482['strxs']||'',_0x3256b=_0x52f482[_0x35c972(0x109)]||_0x52f482[_0x35c972(0x10d)]||_0x52f482[_0x35c972(0x104)]||'';return[_0x345b64,_0x3256b]['filter'](Boolean)[_0x35c972(0xf6)](_0x54a023)[_0x35c972(0xf1)]()||'';}if(_0x21228e==='phone')return _0x52f482['strlxdh']||_0x52f482[_0x35c972(0x10e)]||_0x52f482[_0x35c972(0x101)]||'';return'';}export default{'getDocInfo':getDocInfo,'getCategories':getCategories};
|
package/dist/test.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5be5c7,_0x1976b2){const _0x4d8083=a5_0x5a66,_0x5a6d01=_0x5be5c7();while(!![]){try{const _0x4845b0=parseInt(_0x4d8083(0x165))/0x1+-parseInt(_0x4d8083(0x155))/0x2+-parseInt(_0x4d8083(0x15d))/0x3+parseInt(_0x4d8083(0x158))/0x4+parseInt(_0x4d8083(0x157))/0x5+parseInt(_0x4d8083(0x16f))/0x6*(parseInt(_0x4d8083(0x15a))/0x7)+parseInt(_0x4d8083(0x160))/0x8;if(_0x4845b0===_0x1976b2)break;else _0x5a6d01['push'](_0x5a6d01['shift']());}catch(_0xfbacad){_0x5a6d01['push'](_0x5a6d01['shift']());}}}(a5_0x342e,0x7210e));function email(_0x4c8fb3){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/['test'](_0x4c8fb3);}function mobile(_0x46edda){const _0x9cde8d=a5_0x5a66;return/^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/[_0x9cde8d(0x15e)](_0x46edda);}function isValidPhoneNumber(_0x93df2f){const _0x1c0e6a=a5_0x5a66;if(_0x93df2f['includes']('-')){const [_0x484d3e,_0x37693a]=_0x93df2f['split']('-');if(_0x484d3e==='86')return/^\d{11}$/['test'](_0x37693a)&&_0x37693a[_0x1c0e6a(0x161)]('1');else return _0x484d3e===_0x1c0e6a(0x170)?/^\d{8}$/[_0x1c0e6a(0x15e)](_0x37693a)&&['5','6','9','8'][_0x1c0e6a(0x166)](_0x37693a['charAt'](0x0)):/^\d+$/[_0x1c0e6a(0x15e)](_0x37693a);}else return/^\d+$/[_0x1c0e6a(0x15e)](_0x93df2f);}function url(_0x1c440b){const _0x573ae6=a5_0x5a66;return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/[_0x573ae6(0x15e)](_0x1c440b);}function date(_0x33d69f){const _0x4be30e=a5_0x5a66;if(!_0x33d69f)return![];if(number(_0x33d69f))_0x33d69f=+_0x33d69f;return!/Invalid|NaN/[_0x4be30e(0x15e)](new Date(_0x33d69f)[_0x4be30e(0x16c)]());}function dateISO(_0x518298){const _0x339aab=a5_0x5a66;return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/[_0x339aab(0x15e)](_0x518298);}function isNumber(_0x379193){const _0x1e46b6=a5_0x5a66;return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/[_0x1e46b6(0x15e)](_0x379193);}function isString(_0x2c963d){return typeof _0x2c963d==='string';}function digits(_0x1210f3){const _0x5f0a1f=a5_0x5a66;return/^\d+$/[_0x5f0a1f(0x15e)](_0x1210f3);}function idCard(_0x6a1e86){const _0xc0bec1=a5_0x5a66,_0x2ac020=/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/,_0x490903=/^[A-Z]{1,2}\d{6}\(?[0-9A]\)?$/;return _0x2ac020['test'](_0x6a1e86)||_0x490903[_0xc0bec1(0x15e)](_0x6a1e86);}function carNo(_0x448d02){const _0x2af351=a5_0x5a66,_0x1cd6ee=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,_0x47a724=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;if(_0x448d02['length']===0x7)return _0x47a724[_0x2af351(0x15e)](_0x448d02);if(_0x448d02[_0x2af351(0x16e)]===0x8)return _0x1cd6ee[_0x2af351(0x15e)](_0x448d02);return![];}function amount(_0x314f98){const _0x32759a=a5_0x5a66;return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/[_0x32759a(0x15e)](_0x314f98);}function chinese(_0x3c4db3){const _0x1e5422=a5_0x5a66,_0xb29bce=/^[\u4e00-\u9fa5]+$/gi;return _0xb29bce[_0x1e5422(0x15e)](_0x3c4db3);}function letter(_0x53fcdf){return/^[a-zA-Z]*$/['test'](_0x53fcdf);}function enOrNum(_0x4c76a8){const _0x313598=a5_0x5a66,_0x560ebe=/^[0-9a-zA-Z]*$/g;return _0x560ebe[_0x313598(0x15e)](_0x4c76a8);}function contains(_0xf63974,_0x180c2e){const _0x4d936c=a5_0x5a66;return _0xf63974[_0x4d936c(0x15b)](_0x180c2e)>=0x0;}function range(_0x248ae5,_0xb84535){return _0x248ae5>=_0xb84535[0x0]&&_0x248ae5<=_0xb84535[0x1];}function rangeLength(_0x38a96f,_0x10a060){const _0x4bbc8d=a5_0x5a66;return _0x38a96f[_0x4bbc8d(0x16e)]>=_0x10a060[0x0]&&_0x38a96f['length']<=_0x10a060[0x1];}function landline(_0x316f66){const _0x4c817b=/^\d{3,4}-\d{7,8}(-\d{3,4})?$/;return _0x4c817b['test'](_0x316f66);}function a5_0x5a66(_0x3b4fb2,_0x461698){const _0x342efb=a5_0x342e();return a5_0x5a66=function(_0x5a66ac,_0x1d1d22){_0x5a66ac=_0x5a66ac-0x154;let _0x5c4ff6=_0x342efb[_0x5a66ac];return _0x5c4ff6;},a5_0x5a66(_0x3b4fb2,_0x461698);}function empty(_0x45c9c9){const _0x2bb903=a5_0x5a66;switch(typeof _0x45c9c9){case _0x2bb903(0x169):return!![];case'string':if(_0x45c9c9[_0x2bb903(0x15c)](/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,'')[_0x2bb903(0x16e)]==0x0)return!![];break;case _0x2bb903(0x167):if(!_0x45c9c9)return!![];break;case _0x2bb903(0x163):if(_0x45c9c9===0x0||isNaN(_0x45c9c9))return!![];break;case _0x2bb903(0x162):if(_0x45c9c9===null||_0x45c9c9[_0x2bb903(0x16e)]===0x0)return!![];for(const _0x56bf5f in _0x45c9c9){return![];}return!![];}return![];}function jsonString(_0x3aaccc){if(typeof _0x3aaccc==='string')try{const _0x488cd5=JSON['parse'](_0x3aaccc);if(typeof _0x488cd5==='object'&&_0x488cd5)return!![];return![];}catch(_0x40f6fd){return![];}return![];}function a5_0x342e(){const _0x7c7ca5=['prototype','undefined','catch','then','toString','function','length','828HIcitx','852','isArray','627664aYfQUo','[object\x20Object]','2457375BTomtt','862488yzdiRI','^\x5cd{','1988jzvyUe','indexOf','replace','2369187XivjjM','test','split','3098296WgzQFb','startsWith','object','number','call','437199lFOXhe','includes','boolean'];a5_0x342e=function(){return _0x7c7ca5;};return a5_0x342e();}function array(_0x2d1858){const _0x3ee9db=a5_0x5a66;if(typeof Array[_0x3ee9db(0x154)]===_0x3ee9db(0x16d))return Array[_0x3ee9db(0x154)](_0x2d1858);return Object[_0x3ee9db(0x168)][_0x3ee9db(0x16c)][_0x3ee9db(0x164)](_0x2d1858)==='[object\x20Array]';}function object(_0x49ee8c){const _0x13959d=a5_0x5a66;return Object[_0x13959d(0x168)][_0x13959d(0x16c)][_0x13959d(0x164)](_0x49ee8c)===_0x13959d(0x156);}function code(_0x56bc9f,_0x3b66ba=0x6){const _0x4bc954=a5_0x5a66;return new RegExp(_0x4bc954(0x159)+_0x3b66ba+'}$')[_0x4bc954(0x15e)](_0x56bc9f);}function func(_0x3baf9e){const _0x1e55fa=a5_0x5a66;return typeof _0x3baf9e===_0x1e55fa(0x16d);}function promise(_0x4e83f2){const _0x2869c0=a5_0x5a66;return object(_0x4e83f2)&&func(_0x4e83f2[_0x2869c0(0x16b)])&&func(_0x4e83f2[_0x2869c0(0x16a)]);}function image(_0x27f777){const _0xd8db99=a5_0x5a66,_0x58a8a7=_0x27f777[_0xd8db99(0x15f)]('?')[0x0],_0x400a5d=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;return _0x400a5d[_0xd8db99(0x15e)](_0x58a8a7);}function video(_0x5c3763){const _0x3112d2=a5_0x5a66,_0x106ed9=/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i;return _0x106ed9[_0x3112d2(0x15e)](_0x5c3763);}function regExp(_0x4c3b85){const _0x3e4900=a5_0x5a66;return _0x4c3b85&&Object[_0x3e4900(0x168)][_0x3e4900(0x16c)][_0x3e4900(0x164)](_0x4c3b85)==='[object\x20RegExp]';}function isNumeric(_0x36493b,_0xbef64a=0x0){const _0x4801f9=a5_0x5a66;if(typeof _0x36493b===_0x4801f9(0x163))_0x36493b=_0x36493b[_0x4801f9(0x16c)]();if(typeof _0x36493b!=='string')return![];switch(_0xbef64a){case 0x1:return/^\d+(\.\d+)?$/['test'](_0x36493b);case 0x2:return/^-\d+(\.\d+)?$/[_0x4801f9(0x15e)](_0x36493b);case 0x3:return/^-?\d+$/['test'](_0x36493b);case 0x4:return/^\d+$/[_0x4801f9(0x15e)](_0x36493b);case 0x5:return/^-\d+$/[_0x4801f9(0x15e)](_0x36493b);default:return/^-?\d*\.?\d*$/[_0x4801f9(0x15e)](_0x36493b)&&!_0x36493b['startsWith']('.')&&!_0x36493b[_0x4801f9(0x166)]('--');}}export default{'isNumeric':isNumeric,'email':email,'mobile':mobile,'url':url,'date':date,'dateISO':dateISO,'isNumber':isNumber,'digits':digits,'idCard':idCard,'carNo':carNo,'amount':amount,'chinese':chinese,'letter':letter,'enOrNum':enOrNum,'contains':contains,'range':range,'rangeLength':rangeLength,'empty':empty,'jsonString':jsonString,'landline':landline,'object':object,'array':array,'code':code,'func':func,'promise':promise,'video':video,'image':image,'regExp':regExp,'isString':isString,'isValidPhoneNumber':isValidPhoneNumber};
|
package/dist/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x16208b=a6_0x43f8;(function(_0x3712f0,_0x2cb380){const _0x2b5780=a6_0x43f8,_0x4c729f=_0x3712f0();while(!![]){try{const _0x278a3a=-parseInt(_0x2b5780(0x67))/0x1*(parseInt(_0x2b5780(0xaa))/0x2)+-parseInt(_0x2b5780(0x98))/0x3+parseInt(_0x2b5780(0xb2))/0x4*(-parseInt(_0x2b5780(0x84))/0x5)+-parseInt(_0x2b5780(0xad))/0x6+-parseInt(_0x2b5780(0x70))/0x7+-parseInt(_0x2b5780(0x9d))/0x8+-parseInt(_0x2b5780(0xb9))/0x9*(-parseInt(_0x2b5780(0xb7))/0xa);if(_0x278a3a===_0x2cb380)break;else _0x4c729f['push'](_0x4c729f['shift']());}catch(_0x29abd9){_0x4c729f['push'](_0x4c729f['shift']());}}}(a6_0x9fc5,0xa9b7b));function fmtNum(_0x354e60,_0x2d29ff=!![]){const _0x432251=a6_0x43f8;if(_0x354e60==0x0)return _0x2d29ff?'0.00':'0';if(!_0x354e60)return'';let _0x666013=typeof _0x354e60===_0x432251(0xab)?parseFloat(_0x354e60):_0x354e60;if(isNaN(_0x666013))return'';let [_0x21d621,_0x316104]=_0x666013[_0x432251(0x97)]()['split']('.');_0x21d621=_0x21d621[_0x432251(0x68)](/\B(?=(\d{3})+(?!\d))/g,',');if(_0x316104!==undefined){_0x316104=_0x316104[_0x432251(0xa8)](0x0,0x2);while(_0x316104[_0x432251(0x8d)]<0x2){_0x316104+='0';}return _0x21d621+'.'+_0x316104;}else{if(_0x2d29ff)return _0x21d621+_0x432251(0xa0);}return _0x21d621;}function splitName(_0x2f7181,_0x57e519=![]){const _0x38a31a=a6_0x43f8;let _0x295ff8={'surname':'','givenName':''};if(_0x57e519){const _0x596e85=_0x2f7181[_0x38a31a(0x8f)](',')?_0x2f7181[_0x38a31a(0x6e)](','):_0x2f7181[_0x38a31a(0x6e)](/\s+/);_0x596e85[_0x38a31a(0x8d)]>=0x2&&(_0x295ff8['surname']=_0x596e85[0x0][_0x38a31a(0x87)](),_0x295ff8[_0x38a31a(0x6a)]=_0x596e85[0x1]['trim']());}else{const _0x1ebc21=['欧阳','太史','端木','上官','司马','东方','独孤','南宫','万俟','闻人','夏侯','诸葛','尉迟','公羊','赫连','澹台','皇甫','宗政','濮阳','公冶','太叔','申屠','公孙','慕容','仲孙','钟离','长孙','宇文','司徒','鲜于','司空','闾丘','子车','亓官','司寇','巫马','公西','颛孙','壤驷','公良','漆雕','乐正','宰父','谷梁','拓跋','夹谷','轩辕','令狐','段干','百里','呼延','东郭','南门','羊舌','微生','公户','公玉','公仪','梁丘','公仲','公上','公门','公山','公坚','左丘','公伯','西门','公祖','第五','公乘','贯丘','公皙','南荣','东里','东宫','仲长','子书','子桑','即墨','达奚','褚师','吴铭','歐陽','太史','端木','上官','司馬','東方','獨孤','南宮','萬俟','聞人','夏侯','諸葛','尉遲','公羊','赫連','澹臺','皇甫','宗政','濮陽','公冶','太叔','申屠','公孫','慕容','仲孫','鐘離','長孫','宇文','司徒','鮮於','司空','閭丘','子車','亓官','司寇','巫馬','公西','顓孫','壤駟','公良','漆雕','樂正','宰父','穀梁','拓跋','夾谷','軒轅','令狐','段幹','百里','呼延','東郭','南門','羊舌','微生','公戶','公玉','公儀','梁丘','公仲','公上','公門','公山','公堅','左丘','公伯','西門','公祖','第五','公乘','貫丘','公皙','南榮','東里','東宮','仲長','子書','子桑','即墨','達奚','褚師','吳銘'];for(let _0x2dcd74=0x0;_0x2dcd74<_0x1ebc21[_0x38a31a(0x8d)];_0x2dcd74++){const _0x28df47=_0x1ebc21[_0x2dcd74];if(_0x2f7181[_0x38a31a(0xb6)](_0x28df47))return _0x295ff8[_0x38a31a(0x7d)]=_0x28df47,_0x295ff8[_0x38a31a(0x6a)]=_0x2f7181['substring'](_0x28df47['length'])['trim'](),_0x295ff8;}const _0x2f3dee=_0x2f7181['split']('\x20');if(_0x2f3dee[_0x38a31a(0x8d)]===0x1){const _0xe5229f=_0x2f7181['match'](/[\u4e00-\u9fa5]/);_0x295ff8[_0x38a31a(0x7d)]=_0xe5229f?_0xe5229f[0x0]:'',_0x295ff8[_0x38a31a(0x6a)]=_0x2f7181[_0x38a31a(0x68)](_0x295ff8['surname'],'')[_0x38a31a(0x87)]();}else _0x295ff8['surname']=_0x2f3dee[0x0],_0x295ff8['givenName']=_0x2f3dee[_0x38a31a(0x72)](0x1)[_0x38a31a(0x88)]('\x20');}return _0x295ff8;}function timeFormat(_0x4fd612=null,_0x16b49e=a6_0x16208b(0x66)){const _0x4623ef=a6_0x16208b;let _0x1e477a;if(!_0x4fd612)_0x1e477a=new Date();else{if(/^\d{10}$/['test'](_0x4fd612?.[_0x4623ef(0x97)]()[_0x4623ef(0x87)]()))_0x1e477a=new Date(_0x4fd612*0x3e8);else{if(typeof _0x4fd612===_0x4623ef(0xab)&&/^\d+$/[_0x4623ef(0x9f)](_0x4fd612['trim']()))_0x1e477a=new Date(Number(_0x4fd612));else typeof _0x4fd612===_0x4623ef(0xab)&&_0x4fd612[_0x4623ef(0x8f)]('-')&&!_0x4fd612[_0x4623ef(0x8f)]('T')?_0x1e477a=new Date(_0x4fd612[_0x4623ef(0x68)](/-/g,'/')):_0x1e477a=new Date(_0x4fd612);}}const _0x5b4659={'y':_0x1e477a[_0x4623ef(0xbb)]()[_0x4623ef(0x97)](),'m':(_0x1e477a[_0x4623ef(0xa1)]()+0x1)[_0x4623ef(0x97)]()[_0x4623ef(0x80)](0x2,'0'),'d':_0x1e477a['getDate']()['toString']()[_0x4623ef(0x80)](0x2,'0'),'h':_0x1e477a[_0x4623ef(0xae)]()['toString']()['padStart'](0x2,'0'),'M':_0x1e477a[_0x4623ef(0x83)]()[_0x4623ef(0x97)]()[_0x4623ef(0x80)](0x2,'0'),'s':_0x1e477a[_0x4623ef(0xb3)]()[_0x4623ef(0x97)]()[_0x4623ef(0x80)](0x2,'0')};for(const _0xc2fcd6 in _0x5b4659){const [_0xcc7508]=new RegExp(_0xc2fcd6+'+')[_0x4623ef(0x90)](_0x16b49e)||[];if(_0xcc7508){const _0x498ed2=_0xc2fcd6==='y'&&_0xcc7508['length']===0x2?0x2:0x0;_0x16b49e=_0x16b49e[_0x4623ef(0x68)](_0xcc7508,_0x5b4659[_0xc2fcd6][_0x4623ef(0x72)](_0x498ed2));}}return _0x16b49e;}function handleOCRData(_0x55a0df,_0x1bb9f4){const _0x5b5054=a6_0x16208b,_0x3449a2=_0x189650=>{const _0x5be78b=a6_0x43f8,_0x1e997b=_0x189650[_0x5be78b(0xa8)](0x0,0x4),_0x465c37=_0x189650['substring'](0x4,0x6),_0x206697=_0x189650[_0x5be78b(0xa8)](0x6,0x8);return _0x1e997b+'-'+_0x465c37+'-'+_0x206697;};let _0x5d90ca={'name':'','englishName':'','sex':'','surname':'','givenName':'','surnameEn':'','givenNameEn':'','expDate':'','birthDate':'','nationality':'','number':''};if(_0x55a0df===0x0||_0x55a0df===0x1||_0x55a0df===0x2){if(_0x1bb9f4['Sex']==='M')_0x5d90ca[_0x5b5054(0x77)]='男';else _0x5d90ca[_0x5b5054(0x77)]='女';}debugger;_0x55a0df===0x0&&(_0x5d90ca['name']=_0x1bb9f4[_0x5b5054(0xb0)],_0x5d90ca[_0x5b5054(0x7d)]=_0x1bb9f4[_0x5b5054(0x74)],_0x5d90ca[_0x5b5054(0x6a)]=_0x1bb9f4['FirstName'],_0x5d90ca[_0x5b5054(0xb4)]=_0x1bb9f4[_0x5b5054(0xac)],_0x5d90ca[_0x5b5054(0xba)]=_0x1bb9f4[_0x5b5054(0x6c)],_0x5d90ca['nationality']=_0x1bb9f4[_0x5b5054(0x89)],_0x5d90ca['number']=_0x1bb9f4[_0x5b5054(0x7e)]);if(_0x55a0df===0x1){_0x5d90ca[_0x5b5054(0x6f)]=_0x1bb9f4[_0x5b5054(0xb0)],_0x5d90ca[_0x5b5054(0x7d)]=_0x1bb9f4['Surname'],_0x5d90ca['givenName']=_0x1bb9f4[_0x5b5054(0x9c)],_0x5d90ca[_0x5b5054(0xb4)]=_0x1bb9f4[_0x5b5054(0xa7)],_0x5d90ca[_0x5b5054(0xba)]=_0x1bb9f4[_0x5b5054(0x79)],_0x5d90ca[_0x5b5054(0x93)]=_0x1bb9f4[_0x5b5054(0x89)],_0x5d90ca['number']=_0x1bb9f4['ID'];if(!_0x1bb9f4['Surname']&&!_0x1bb9f4[_0x5b5054(0x9c)]){const _0x150351=splitName(_0x1bb9f4['Name']);_0x5d90ca[_0x5b5054(0x7d)]=_0x150351['surname'],_0x5d90ca['givenName']=_0x150351['givenName'];}if(!_0x1bb9f4[_0x5b5054(0x99)])_0x5d90ca[_0x5b5054(0x78)]=_0x1bb9f4[_0x5b5054(0xb0)];}_0x55a0df===0x2&&(_0x5d90ca['name']=_0x1bb9f4[_0x5b5054(0xa6)],_0x5d90ca[_0x5b5054(0x78)]=_0x1bb9f4[_0x5b5054(0xbf)],_0x5d90ca[_0x5b5054(0xba)]=_0x1bb9f4['Birthday'],_0x5d90ca[_0x5b5054(0x6d)]=_0x1bb9f4[_0x5b5054(0x82)]);_0x55a0df===0x3&&(_0x5d90ca[_0x5b5054(0x6f)]=_0x1bb9f4[_0x5b5054(0xb0)],_0x5d90ca[_0x5b5054(0x77)]=_0x1bb9f4[_0x5b5054(0x95)],_0x5d90ca['expDate']=_0x1bb9f4[_0x5b5054(0x9e)],_0x5d90ca['birthDate']=_0x1bb9f4[_0x5b5054(0x7c)],_0x5d90ca[_0x5b5054(0x6d)]=_0x1bb9f4['IdNum']);_0x55a0df===0x4&&(_0x5d90ca[_0x5b5054(0x6f)]=_0x1bb9f4[_0x5b5054(0xb0)],_0x5d90ca['englishName']=_0x1bb9f4['EnglishName'],_0x5d90ca[_0x5b5054(0x77)]=_0x1bb9f4[_0x5b5054(0x95)],_0x5d90ca[_0x5b5054(0xb4)]=_0x1bb9f4[_0x5b5054(0x9e)],_0x5d90ca['birthDate']=_0x1bb9f4[_0x5b5054(0xbc)],_0x5d90ca[_0x5b5054(0x6d)]=_0x1bb9f4[_0x5b5054(0xb8)]);_0x55a0df===0x5&&(_0x5d90ca[_0x5b5054(0x6f)]=_0x1bb9f4[_0x5b5054(0xb0)],_0x5d90ca[_0x5b5054(0x78)]=_0x1bb9f4['EnglishName'],_0x5d90ca[_0x5b5054(0x77)]=_0x1bb9f4[_0x5b5054(0x95)],_0x5d90ca[_0x5b5054(0xb4)]=_0x1bb9f4['ValidDate'],_0x5d90ca[_0x5b5054(0xba)]=_0x1bb9f4['Birthday'],_0x5d90ca[_0x5b5054(0x6d)]=_0x1bb9f4[_0x5b5054(0xb8)]);if(_0x55a0df===0x2||_0x55a0df===0x3||_0x55a0df===0x4||_0x55a0df===0x5){const _0x3ef699=splitName(_0x5d90ca[_0x5b5054(0x6f)]);_0x5d90ca[_0x5b5054(0x7d)]=_0x3ef699[_0x5b5054(0x7d)],_0x5d90ca[_0x5b5054(0x6a)]=_0x3ef699[_0x5b5054(0x6a)];}if(_0x55a0df===0x2||_0x55a0df===0x4||_0x55a0df===0x5){const _0x3ffcbc=splitName(_0x5d90ca[_0x5b5054(0x78)],!![]);_0x5d90ca['surnameEn']=_0x3ffcbc['surname'],_0x5d90ca[_0x5b5054(0x8a)]=_0x3ffcbc[_0x5b5054(0x6a)];}if(_0x55a0df===0x0||_0x55a0df===0x1){if(_0x5d90ca[_0x5b5054(0xba)]!=='')_0x5d90ca['birthDate']=_0x3449a2(_0x5d90ca[_0x5b5054(0xba)]);if(_0x5d90ca['expDate']!=='')_0x5d90ca[_0x5b5054(0xb4)]=_0x3449a2(_0x5d90ca[_0x5b5054(0xb4)]);}if(_0x55a0df===0x2||_0x55a0df===0x3){if(_0x5d90ca['birthDate']!=='')_0x5d90ca[_0x5b5054(0xba)]=timeFormat(_0x5d90ca[_0x5b5054(0xba)]);if(_0x5d90ca[_0x5b5054(0xb4)]!=='')_0x5d90ca[_0x5b5054(0xb4)]=timeFormat(_0x5d90ca[_0x5b5054(0xb4)]);}if(_0x55a0df===0x4||_0x55a0df===0x5){if(_0x5d90ca[_0x5b5054(0xba)]!=='')_0x5d90ca[_0x5b5054(0xba)]=timeFormat(_0x5d90ca[_0x5b5054(0xba)]);if(_0x5d90ca[_0x5b5054(0xb4)]!==''){let _0x5c2926=_0x5d90ca[_0x5b5054(0xb4)][_0x5b5054(0x6e)]('-');_0x5d90ca[_0x5b5054(0xb4)]=timeFormat(_0x5c2926[0x1]);}}return{'type':_0x55a0df,'data':_0x5d90ca};}function modifyKeys(_0x3ffedf,_0x3900c4={'strCode':a6_0x16208b(0x6b),'strFjbh':'fjbh','strGuid':'value','strValue':a6_0x16208b(0x8e)}){const _0x172bf5=a6_0x16208b;if(!_0x3ffedf['length']||_0x3ffedf===null)return[];const _0x1277b8=_0x3ffedf[_0x172bf5(0xa4)](_0x327c23=>{const _0x49a94b=_0x172bf5,_0x14afdc={};for(const _0x247e67 in _0x327c23){_0x3900c4[_0x49a94b(0x75)](_0x247e67)?_0x14afdc[_0x3900c4[_0x247e67]]=_0x327c23[_0x247e67]:_0x14afdc[_0x247e67]=_0x327c23[_0x247e67];}return _0x14afdc;});return _0x1277b8;}function a6_0x9fc5(){const _0x2e3de0=['PassportNo','floor','padStart','toFixed','IdNum','getMinutes','77195vKDYMt','dayTitle','abs','trim','join','Nationality','givenNameEn','round','YYYY','length','label','includes','exec','function','setDate','nationality','prototype','Sex','error','toString','446952jXCEpd','EnglishName','boolean','monthTitle','GivenName','3296584ycWXGc','ValidDate','test','.00','getMonth','find','isArray','map','max','CnName','DateOfExpiration','substring','random','566itTKaR','string','ExpiryDate','3466068tJwIQJ','getHours','YYYY-MM-DD','Name','getTime','20wNUVOX','getSeconds','expDate','parse','startsWith','40PmwMDS','Number','6959502XgTbUk','birthDate','getFullYear','Birthday','getDate','all','EnName','push','object','endsWith','除数不能为0','yyyy-mm-dd','3371hFegWa','replace','left','givenName','code','BirthDate','number','split','name','1596182iBPjca','forEach','slice','setHours','FamilyName','hasOwnProperty','无效的操作符,操作符应为1、2、3或4','sex','englishName','DateOfBirth','_qh','both','Birth','surname'];a6_0x9fc5=function(){return _0x2e3de0;};return a6_0x9fc5();}function sliceArray(_0x4b9cb4,_0xd88ed3,_0x3c6656){const _0x308999=a6_0x16208b;if(_0xd88ed3<=0x0)return console[_0x308999(0x96)]('Quantity\x20should\x20be\x20greater\x20than\x200.'),[];return _0x3c6656?_0x4b9cb4[_0x308999(0x72)](0x0,_0xd88ed3):_0x4b9cb4[_0x308999(0x72)](-_0xd88ed3);}function findDataByData(_0x290cbb,_0x27442e,_0x4a667f){const _0x4d13e2=a6_0x16208b,_0x2f7124=_0x290cbb[_0x4d13e2(0xa2)](_0x21d262=>_0x21d262[_0x4a667f]===_0x27442e);return _0x2f7124||null;}function splitArray(_0x6b61b3,_0x440c2d){const _0x6e551c=a6_0x16208b,_0x50e70b=[];for(let _0x17abdb=0x0;_0x17abdb<_0x6b61b3['length'];_0x17abdb+=_0x440c2d){_0x50e70b[_0x6e551c(0xc0)](_0x6b61b3[_0x6e551c(0x72)](_0x17abdb,_0x17abdb+_0x440c2d));}return _0x50e70b;}function getProxyType(_0x200256){const _0x4c4c5f=a6_0x16208b;return Object[_0x4c4c5f(0x94)]['toString']['call'](_0x200256)[_0x4c4c5f(0x72)](0x8,-0x1);}let timeout=null;function debounce(_0x3a87eb,_0x39dd08=0x1f4,_0x1d61e2=![]){if(timeout!==null)clearTimeout(timeout);if(_0x1d61e2){const _0x8cdc15=!timeout;timeout=setTimeout(()=>{timeout=null;},_0x39dd08);if(_0x8cdc15)typeof _0x3a87eb==='function'&&_0x3a87eb();}else timeout=setTimeout(()=>{const _0x37838b=a6_0x43f8;typeof _0x3a87eb===_0x37838b(0x91)&&_0x3a87eb();},_0x39dd08);}function urlEncode(_0x469815={}){const _0x33870b=a6_0x16208b,_0x28bd85=[];for(const _0x4db4f5 in _0x469815){const _0x1b3e4d=_0x469815[_0x4db4f5];if(!_0x1b3e4d)continue;isArray(_0x1b3e4d)?_0x1b3e4d[_0x33870b(0x71)](_0x5f535c=>{const _0x39579f=_0x33870b;_0x28bd85[_0x39579f(0xc0)](_0x4db4f5+'='+_0x5f535c);}):_0x28bd85[_0x33870b(0xc0)](_0x4db4f5+'='+_0x1b3e4d);}return _0x28bd85[_0x33870b(0x88)]('&');}function dateFormat(_0x119d0e,_0x4a27e3){const _0x2c508c=a6_0x16208b,_0x1b0347=new Date(_0x4a27e3),_0x245f46={'Y+':_0x1b0347[_0x2c508c(0xbb)]()[_0x2c508c(0x97)](),'m+':(_0x1b0347[_0x2c508c(0xa1)]()+0x1)[_0x2c508c(0x97)](),'d+':_0x1b0347[_0x2c508c(0xbd)]()[_0x2c508c(0x97)](),'H+':_0x1b0347[_0x2c508c(0xae)]()[_0x2c508c(0x97)](),'M+':_0x1b0347[_0x2c508c(0x83)]()[_0x2c508c(0x97)](),'S+':_0x1b0347[_0x2c508c(0xb3)]()[_0x2c508c(0x97)]()};let _0x459516;for(let _0x47bf1 in _0x245f46){_0x459516=new RegExp('('+_0x47bf1+')')[_0x2c508c(0x90)](_0x119d0e);_0x459516&&(_0x119d0e=_0x119d0e[_0x2c508c(0x68)](_0x459516[0x1],_0x459516[0x1]['length']==0x1?_0x245f46[_0x47bf1]:_0x245f46[_0x47bf1][_0x2c508c(0x80)](_0x459516[0x1][_0x2c508c(0x8d)],'0')));;};return _0x119d0e;}function formatDate(_0x201ea4,_0xa505ea=a6_0x16208b(0xaf),_0x426e55={'yearTitle':'年','monthTitle':'月','dayTitle':'日'}){const _0x398169=a6_0x16208b,_0x390fc2=new Date(_0x201ea4),_0x59a034=_0x390fc2[_0x398169(0xbb)](),_0x3bd8c2=_0x390fc2['getMonth']()+0x1,_0x37d924=_0x390fc2[_0x398169(0xbd)](),_0x374811=_0x3bd8c2<0xa?'0'+_0x3bd8c2:_0x3bd8c2,_0x286df3=_0x37d924<0xa?'0'+_0x37d924:_0x37d924;let _0x4a5d9e=_0xa505ea[_0x398169(0x68)]('YYYY',_0x59a034)[_0x398169(0x68)]('MM',_0x374811)['replace']('DD',_0x286df3);return _0x4a5d9e=_0x4a5d9e[_0x398169(0x68)](/-MM/g,_0x426e55[_0x398169(0x9b)])[_0x398169(0x68)](/-DD/g,_0x426e55[_0x398169(0x85)])[_0x398169(0x68)](_0x398169(0x8c)+_0x426e55['yearTitle'],'')[_0x398169(0x68)]('MM'+_0x426e55[_0x398169(0x9b)],'')['replace']('DD'+_0x426e55[_0x398169(0x85)],''),_0x4a5d9e;}function compareDates(_0x3cdd5e,_0x53a557){const _0x445fe3=a6_0x16208b;_0x3cdd5e=new Date(_0x3cdd5e);!_0x53a557?_0x53a557=new Date():_0x53a557=new Date(_0x53a557);_0x3cdd5e['setHours'](0x0,0x0,0x0,0x0),_0x53a557[_0x445fe3(0x73)](0x0,0x0,0x0,0x0);var _0x47e059=_0x3cdd5e[_0x445fe3(0xb1)](),_0x420100=_0x53a557[_0x445fe3(0xb1)]();if(_0x47e059<_0x420100)return-0x1;else return _0x47e059>_0x420100?0x1:0x0;}function getDaysBetween(_0x2caa29,_0x10928b){const _0x465e1d=a6_0x16208b,_0x3a8e55=new Date(_0x2caa29),_0x258b96=new Date(_0x10928b),_0x2241fa=Math[_0x465e1d(0x86)](_0x3a8e55[_0x465e1d(0xb1)]()-_0x258b96[_0x465e1d(0xb1)]()),_0x319c6d=Math[_0x465e1d(0x7f)](_0x2241fa/(0x3e8*0x3c*0x3c*0x18));return _0x319c6d+0x1;}function chineseNumeral(_0x188898){const _0x5a3d7f=a6_0x16208b,_0x182289=['零','壹','贰','叁','肆','伍','陆','柒','捌','玖'],_0x217434=['','拾','佰','仟'],_0x82abb1=['','万','亿','兆'];let _0x1842cb=Math[_0x5a3d7f(0x7f)](_0x188898),_0x302ac2=Math['round']((_0x188898-_0x1842cb)*0x64),_0x19dcdf='';for(let _0x98d41d=0x0;_0x1842cb>0x0;_0x98d41d++){let _0x1d2b84='',_0x59c5cb=_0x1842cb%0x2710;_0x1842cb=Math['floor'](_0x1842cb/0x2710);for(let _0x29e31a=0x0;_0x59c5cb>0x0;_0x29e31a++){let _0x5dc078=_0x59c5cb%0xa;_0x1d2b84=(_0x5dc078?_0x182289[_0x5dc078]+_0x217434[_0x29e31a]:'')+_0x1d2b84,_0x59c5cb=Math['floor'](_0x59c5cb/0xa);}_0x19dcdf=_0x1d2b84+(_0x1d2b84?_0x82abb1[_0x98d41d]:_0x82abb1[_0x98d41d]&&!_0x19dcdf[_0x5a3d7f(0x8f)]('零')?'零':'')+_0x19dcdf;}_0x19dcdf+=_0x19dcdf?'元':'零元';if(_0x302ac2>0x0){let _0x3734d0=Math[_0x5a3d7f(0x7f)](_0x302ac2/0xa),_0x13a2ec=_0x302ac2%0xa;_0x19dcdf+=(_0x3734d0?_0x182289[_0x3734d0]+'角':'')+(_0x13a2ec?_0x182289[_0x13a2ec]+'分':'');}else _0x19dcdf+='整';return _0x19dcdf[_0x5a3d7f(0x68)](/零{2,}/g,'零')[_0x5a3d7f(0x68)](/零元/,'元');}function getMonthDate(_0x3a6a5b){const _0xb70ef7=a6_0x16208b;(!_0x3a6a5b||_0x3a6a5b['trim']()==='')&&(_0x3a6a5b=new Date()[_0xb70ef7(0xbb)]()+'-'+(new Date()[_0xb70ef7(0xa1)]()+0x1));let _0x5b2d0f=[],[_0x281de2,_0x1360ea]=_0x3a6a5b[_0xb70ef7(0x6e)]('-')['map'](Number),_0x443e60=new Date(_0x281de2,_0x1360ea,0x0),_0x25934c=_0x443e60[_0xb70ef7(0xbd)]();for(let _0x31de11=0x1;_0x31de11<=_0x25934c;_0x31de11++){let _0x5bba07=_0x31de11<0xa?'0'+_0x31de11:''+_0x31de11,_0x27b0e0=_0x1360ea<0xa?'0'+_0x1360ea:''+_0x1360ea;_0x5b2d0f['push']({'date':_0x281de2+'-'+_0x27b0e0+'-'+_0x5bba07,'disable':!![]});}return _0x5b2d0f;}function getToday(_0x381440){const _0x4ace62=a6_0x16208b;var _0x272034=new Date(),_0x2f597b=String(_0x272034['getDate']())[_0x4ace62(0x80)](0x2,'0'),_0xc3a802=String(_0x272034['getMonth']()+0x1)['padStart'](0x2,'0'),_0x2bab45=_0x272034[_0x4ace62(0xbb)]();return _0x272034=_0x2bab45+'-'+_0xc3a802+'-'+_0x2f597b,_0x272034;}function resetObject(_0x1e3838){const _0x2351a1=a6_0x16208b;let _0x803fc2=JSON[_0x2351a1(0xb5)](JSON['stringify'](_0x1e3838));for(const _0x48d98c in _0x803fc2){if(typeof _0x803fc2[_0x48d98c]===_0x2351a1(0x6d))_0x803fc2[_0x48d98c]=0x0;else{if(typeof _0x803fc2[_0x48d98c]===_0x2351a1(0x9a))_0x803fc2[_0x48d98c]=![];else{if(Array[_0x2351a1(0xa3)](_0x803fc2[_0x48d98c]))_0x803fc2[_0x48d98c]=[];else typeof _0x803fc2[_0x48d98c]===_0x2351a1(0xc1)&&_0x803fc2[_0x48d98c]!==null?resetObject(_0x803fc2[_0x48d98c]):_0x803fc2[_0x48d98c]='';}}}return _0x803fc2;}function preciseOperation(_0x2f42c0,_0x36a0c5,_0x54b30a,_0x171e2d=0xf4240){const _0x448c0a=a6_0x16208b;if(isNaN(_0x2f42c0)||isNaN(_0x36a0c5))return NaN;if(!isFinite(_0x2f42c0)||!isFinite(_0x36a0c5))return NaN;let _0x20db79=BigInt(Math[_0x448c0a(0x8b)](_0x2f42c0*_0x171e2d)),_0x5238ce=BigInt(Math[_0x448c0a(0x8b)](_0x36a0c5*_0x171e2d)),_0x193ed9;switch(_0x54b30a){case 0x1:_0x193ed9=_0x20db79+_0x5238ce;break;case 0x2:_0x193ed9=_0x20db79-_0x5238ce;break;case 0x3:_0x193ed9=_0x20db79*_0x5238ce;break;case 0x4:if(_0x5238ce===0x0n)throw new Error(_0x448c0a(0x65));_0x193ed9=_0x20db79/_0x5238ce;break;default:throw new Error(_0x448c0a(0x76));}return Number(_0x193ed9)/_0x171e2d;}function preciseSum(_0x5420ca){const _0x8be28f=a6_0x16208b;let _0x45809a=0x0;for(const _0x2934d3 of _0x5420ca){let _0x28934b=0x0;if(typeof _0x2934d3===_0x8be28f(0xab)){const _0x2ba95a=parseFloat(_0x2934d3);!isNaN(_0x2ba95a)&&(_0x28934b=_0x2ba95a);}else typeof _0x2934d3===_0x8be28f(0x6d)&&(_0x28934b=_0x2934d3);_0x45809a=preciseOperation(_0x45809a,_0x28934b,0x1);}return _0x45809a;}function getRelativeDate(_0x20edc5,_0xd328da=0x0){const _0x15e90b=a6_0x16208b,_0x475f6e=new Date(_0x20edc5);_0x475f6e[_0x15e90b(0x92)](_0x475f6e[_0x15e90b(0xbd)]()+_0xd328da);const _0x4ea139=_0x475f6e[_0x15e90b(0xbb)](),_0x1df0e0=(_0x475f6e[_0x15e90b(0xa1)]()+0x1)[_0x15e90b(0x97)]()[_0x15e90b(0x80)](0x2,'0'),_0xd76629=_0x475f6e[_0x15e90b(0xbd)]()[_0x15e90b(0x97)]()['padStart'](0x2,'0');return _0x4ea139+'-'+_0x1df0e0+'-'+_0xd76629;}function validateFields(_0x1e9c77,_0x2f5e9f,_0x24d244=''){for(let _0x4ef519 of _0x2f5e9f){if(_0x1e9c77[_0x4ef519]===_0x24d244)return!![];}return![];}function mergeObjects(_0xdd490d,_0x14cd4a){const _0x57bd91=a6_0x16208b;for(const _0x33f241 in _0xdd490d){_0x14cd4a[_0x57bd91(0x75)](_0x33f241)&&(_0xdd490d[_0x33f241]=_0x14cd4a[_0x33f241]);}return _0xdd490d;}const formatToDecimal=(_0x234d09,_0x48d799=0x2)=>{const _0x1b1552=a6_0x16208b;if(isNaN(_0x48d799)||_0x48d799<0x0)return _0x234d09;let _0x225e25=Number(_0x234d09);if(!isFinite(_0x225e25))return _0x234d09;return _0x48d799=Math[_0x1b1552(0xa5)](0x0,Math['floor'](_0x48d799)),_0x225e25[_0x1b1552(0x81)](_0x48d799);};function findKeysEndingWith(_0x2b116c,_0x5c68b8=a6_0x16208b(0x7a)){const _0x2213ea=a6_0x16208b;let _0x4f68a9=[];for(var _0x1b077d in _0x2b116c){if(_0x2b116c[_0x2213ea(0x75)](_0x1b077d)){if(_0x1b077d[_0x2213ea(0xc2)](_0x5c68b8))_0x4f68a9[_0x2213ea(0xc0)](_0x1b077d);}}return _0x4f68a9;}function a6_0x43f8(_0x293e42,_0x177729){const _0x9fc5d2=a6_0x9fc5();return a6_0x43f8=function(_0x43f8c6,_0x43631b){_0x43f8c6=_0x43f8c6-0x65;let _0x10be6a=_0x9fc5d2[_0x43f8c6];return _0x10be6a;},a6_0x43f8(_0x293e42,_0x177729);}function guid(_0x253750=0x20,_0x4a5e92=!![],_0x35ac9e=null){const _0x5c0997=a6_0x16208b,_0x4483ee='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'['split'](''),_0x5457ec=[];_0x35ac9e=_0x35ac9e||_0x4483ee[_0x5c0997(0x8d)];if(_0x253750){for(let _0x307096=0x0;_0x307096<_0x253750;_0x307096++)_0x5457ec[_0x307096]=_0x4483ee[0x0|Math[_0x5c0997(0xa9)]()*_0x35ac9e];}else{let _0x30d656;_0x5457ec[0x8]=_0x5457ec[0xd]=_0x5457ec[0x12]=_0x5457ec[0x17]='-',_0x5457ec[0xe]='4';for(let _0x1cd557=0x0;_0x1cd557<0x24;_0x1cd557++){!_0x5457ec[_0x1cd557]&&(_0x30d656=0x0|Math[_0x5c0997(0xa9)]()*0x10,_0x5457ec[_0x1cd557]=_0x4483ee[_0x1cd557==0x13?_0x30d656&0x3|0x8:_0x30d656]);}}if(_0x4a5e92)return _0x5457ec['shift'](),'u'+_0x5457ec[_0x5c0997(0x88)]('');return _0x5457ec[_0x5c0997(0x88)]('');}function trim(_0x570dbf,_0x518656=a6_0x16208b(0x7b)){const _0x1e69f4=a6_0x16208b;_0x570dbf=String(_0x570dbf);if(_0x518656==_0x1e69f4(0x7b))return _0x570dbf['replace'](/^\s+|\s+$/g,'');if(_0x518656==_0x1e69f4(0x69))return _0x570dbf['replace'](/^\s*/,'');if(_0x518656=='right')return _0x570dbf[_0x1e69f4(0x68)](/(\s*$)/g,'');if(_0x518656==_0x1e69f4(0xbe))return _0x570dbf['replace'](/\s+/g,'');return _0x570dbf;}export default{'handleOCRData':handleOCRData,'timeFormat':timeFormat,'guid':guid,'trim':trim,'findKeysEndingWith':findKeysEndingWith,'formatToDecimal':formatToDecimal,'fmtNum':fmtNum,'splitName':splitName,'preciseSum':preciseSum,'modifyKeys':modifyKeys,'sliceArray':sliceArray,'findDataByData':findDataByData,'splitArray':splitArray,'getProxyType':getProxyType,'debounce':debounce,'urlEncode':urlEncode,'dateFormat':dateFormat,'formatDate':formatDate,'compareDates':compareDates,'getDaysBetween':getDaysBetween,'chineseNumeral':chineseNumeral,'getMonthDate':getMonthDate,'getToday':getToday,'resetObject':resetObject,'preciseOperation':preciseOperation,'getRelativeDate':getRelativeDate,'validateFields':validateFields,'mergeObjects':mergeObjects};
|
|
1
|
+
const a6_0x155a0d=a6_0x7285;(function(_0x5b01f8,_0xd594aa){const _0x214849=a6_0x7285,_0x34c8aa=_0x5b01f8();while(!![]){try{const _0x2b9dd9=-parseInt(_0x214849(0x1c6))/0x1*(-parseInt(_0x214849(0x1e3))/0x2)+-parseInt(_0x214849(0x20a))/0x3*(-parseInt(_0x214849(0x1f8))/0x4)+parseInt(_0x214849(0x1e5))/0x5*(-parseInt(_0x214849(0x1fe))/0x6)+-parseInt(_0x214849(0x1b6))/0x7+parseInt(_0x214849(0x1fd))/0x8+parseInt(_0x214849(0x1c8))/0x9*(parseInt(_0x214849(0x1f2))/0xa)+-parseInt(_0x214849(0x1fb))/0xb;if(_0x2b9dd9===_0xd594aa)break;else _0x34c8aa['push'](_0x34c8aa['shift']());}catch(_0x3b7a83){_0x34c8aa['push'](_0x34c8aa['shift']());}}}(a6_0x47ac,0x89f34));function fmtNum(_0x487e4c,_0x274e9f=!![]){const _0x3af8a6=a6_0x7285;if(_0x487e4c==0x0)return _0x274e9f?_0x3af8a6(0x1d5):'0';if(!_0x487e4c)return'';let _0xf18fc7=typeof _0x487e4c===_0x3af8a6(0x1f6)?parseFloat(_0x487e4c):_0x487e4c;if(isNaN(_0xf18fc7))return'';let [_0x432ff5,_0x1f33e7]=_0xf18fc7[_0x3af8a6(0x207)]()[_0x3af8a6(0x208)]('.');_0x432ff5=_0x432ff5[_0x3af8a6(0x1b5)](/\B(?=(\d{3})+(?!\d))/g,',');if(_0x1f33e7!==undefined){_0x1f33e7=_0x1f33e7[_0x3af8a6(0x202)](0x0,0x2);while(_0x1f33e7[_0x3af8a6(0x1d4)]<0x2){_0x1f33e7+='0';}return _0x432ff5+'.'+_0x1f33e7;}else{if(_0x274e9f)return _0x432ff5+_0x3af8a6(0x1b9);}return _0x432ff5;}function splitName(_0xb35b75,_0x188ad4=![]){const _0x3bef74=a6_0x7285;let _0x3e9303={'surname':'','givenName':''};if(_0x188ad4){const _0x309eaa=_0xb35b75[_0x3bef74(0x1c1)](',')?_0xb35b75[_0x3bef74(0x208)](','):_0xb35b75[_0x3bef74(0x208)](/\s+/);_0x309eaa[_0x3bef74(0x1d4)]>=0x2&&(_0x3e9303[_0x3bef74(0x1e6)]=_0x309eaa[0x0][_0x3bef74(0x1c0)](),_0x3e9303[_0x3bef74(0x1c3)]=_0x309eaa[0x1]['trim']());}else{const _0x4a4125=['欧阳','太史','端木','上官','司马','东方','独孤','南宫','万俟','闻人','夏侯','诸葛','尉迟','公羊','赫连','澹台','皇甫','宗政','濮阳','公冶','太叔','申屠','公孙','慕容','仲孙','钟离','长孙','宇文','司徒','鲜于','司空','闾丘','子车','亓官','司寇','巫马','公西','颛孙','壤驷','公良','漆雕','乐正','宰父','谷梁','拓跋','夹谷','轩辕','令狐','段干','百里','呼延','东郭','南门','羊舌','微生','公户','公玉','公仪','梁丘','公仲','公上','公门','公山','公坚','左丘','公伯','西门','公祖','第五','公乘','贯丘','公皙','南荣','东里','东宫','仲长','子书','子桑','即墨','达奚','褚师','吴铭','歐陽','太史','端木','上官','司馬','東方','獨孤','南宮','萬俟','聞人','夏侯','諸葛','尉遲','公羊','赫連','澹臺','皇甫','宗政','濮陽','公冶','太叔','申屠','公孫','慕容','仲孫','鐘離','長孫','宇文','司徒','鮮於','司空','閭丘','子車','亓官','司寇','巫馬','公西','顓孫','壤駟','公良','漆雕','樂正','宰父','穀梁','拓跋','夾谷','軒轅','令狐','段幹','百里','呼延','東郭','南門','羊舌','微生','公戶','公玉','公儀','梁丘','公仲','公上','公門','公山','公堅','左丘','公伯','西門','公祖','第五','公乘','貫丘','公皙','南榮','東里','東宮','仲長','子書','子桑','即墨','達奚','褚師','吳銘'];for(let _0xebe535=0x0;_0xebe535<_0x4a4125[_0x3bef74(0x1d4)];_0xebe535++){const _0x5a2aba=_0x4a4125[_0xebe535];if(_0xb35b75[_0x3bef74(0x1d7)](_0x5a2aba))return _0x3e9303['surname']=_0x5a2aba,_0x3e9303[_0x3bef74(0x1c3)]=_0xb35b75['substring'](_0x5a2aba['length'])[_0x3bef74(0x1c0)](),_0x3e9303;}const _0x549657=_0xb35b75['split']('\x20');if(_0x549657[_0x3bef74(0x1d4)]===0x1){const _0x436910=_0xb35b75[_0x3bef74(0x1ee)](/[\u4e00-\u9fa5]/);_0x3e9303[_0x3bef74(0x1e6)]=_0x436910?_0x436910[0x0]:'',_0x3e9303[_0x3bef74(0x1c3)]=_0xb35b75['replace'](_0x3e9303[_0x3bef74(0x1e6)],'')[_0x3bef74(0x1c0)]();}else _0x3e9303['surname']=_0x549657[0x0],_0x3e9303[_0x3bef74(0x1c3)]=_0x549657['slice'](0x1)[_0x3bef74(0x212)]('\x20');}return _0x3e9303;}function timeFormat(_0x2cd89c=null,_0x141af3=a6_0x155a0d(0x1e2)){const _0x587500=a6_0x155a0d;let _0x1f49d8;if(!_0x2cd89c)_0x1f49d8=new Date();else{if(/^\d{10}$/[_0x587500(0x1ec)](_0x2cd89c?.[_0x587500(0x207)]()[_0x587500(0x1c0)]()))_0x1f49d8=new Date(_0x2cd89c*0x3e8);else{if(typeof _0x2cd89c===_0x587500(0x1f6)&&/^\d+$/['test'](_0x2cd89c[_0x587500(0x1c0)]()))_0x1f49d8=new Date(Number(_0x2cd89c));else typeof _0x2cd89c===_0x587500(0x1f6)&&_0x2cd89c[_0x587500(0x1c1)]('-')&&!_0x2cd89c['includes']('T')?_0x1f49d8=new Date(_0x2cd89c[_0x587500(0x1b5)](/-/g,'/')):_0x1f49d8=new Date(_0x2cd89c);}}const _0xad999e={'y':_0x1f49d8[_0x587500(0x1d3)]()[_0x587500(0x207)](),'m':(_0x1f49d8['getMonth']()+0x1)[_0x587500(0x207)]()['padStart'](0x2,'0'),'d':_0x1f49d8[_0x587500(0x1da)]()['toString']()[_0x587500(0x20e)](0x2,'0'),'h':_0x1f49d8[_0x587500(0x1e9)]()[_0x587500(0x207)]()[_0x587500(0x20e)](0x2,'0'),'M':_0x1f49d8[_0x587500(0x213)]()[_0x587500(0x207)]()['padStart'](0x2,'0'),'s':_0x1f49d8['getSeconds']()[_0x587500(0x207)]()[_0x587500(0x20e)](0x2,'0')};for(const _0x5b87eb in _0xad999e){const [_0x371145]=new RegExp(_0x5b87eb+'+')[_0x587500(0x1d1)](_0x141af3)||[];if(_0x371145){const _0x2cc323=_0x5b87eb==='y'&&_0x371145['length']===0x2?0x2:0x0;_0x141af3=_0x141af3[_0x587500(0x1b5)](_0x371145,_0xad999e[_0x5b87eb][_0x587500(0x1ff)](_0x2cc323));}}return _0x141af3;}function handleOCRData(_0x3e0603,_0x4eb3dc){const _0x3d1703=a6_0x155a0d,_0x3302f7=_0x16972c=>{const _0xc1c164=a6_0x7285,_0x246bb1=_0x16972c[_0xc1c164(0x202)](0x0,0x4),_0x2c94c7=_0x16972c[_0xc1c164(0x202)](0x4,0x6),_0x54fc8e=_0x16972c[_0xc1c164(0x202)](0x6,0x8);return _0x246bb1+'-'+_0x2c94c7+'-'+_0x54fc8e;};let _0x243171={'name':'','englishName':'','sex':'','surname':'','givenName':'','surnameEn':'','givenNameEn':'','expDate':'','birthDate':'','nationality':'','number':''};if(_0x3e0603===0x0||_0x3e0603===0x1||_0x3e0603===0x2){if(_0x4eb3dc[_0x3d1703(0x211)]==='M')_0x243171['sex']='男';else _0x243171[_0x3d1703(0x1c4)]='女';}debugger;_0x3e0603===0x0&&(_0x243171[_0x3d1703(0x1bf)]=_0x4eb3dc[_0x3d1703(0x1f4)],_0x243171[_0x3d1703(0x1e6)]=_0x4eb3dc[_0x3d1703(0x204)],_0x243171['givenName']=_0x4eb3dc[_0x3d1703(0x1d0)],_0x243171[_0x3d1703(0x1cb)]=_0x4eb3dc[_0x3d1703(0x205)],_0x243171[_0x3d1703(0x1bc)]=_0x4eb3dc[_0x3d1703(0x1dd)],_0x243171['nationality']=_0x4eb3dc[_0x3d1703(0x1de)],_0x243171['number']=_0x4eb3dc[_0x3d1703(0x1f1)]);if(_0x3e0603===0x1){_0x243171[_0x3d1703(0x1bf)]=_0x4eb3dc['Name'],_0x243171[_0x3d1703(0x1e6)]=_0x4eb3dc['Surname'],_0x243171[_0x3d1703(0x1c3)]=_0x4eb3dc[_0x3d1703(0x1db)],_0x243171[_0x3d1703(0x1cb)]=_0x4eb3dc[_0x3d1703(0x20d)],_0x243171[_0x3d1703(0x1bc)]=_0x4eb3dc[_0x3d1703(0x1ea)],_0x243171[_0x3d1703(0x1f9)]=_0x4eb3dc['Nationality'],_0x243171[_0x3d1703(0x1ba)]=_0x4eb3dc['ID'];if(!_0x4eb3dc[_0x3d1703(0x1f3)]&&!_0x4eb3dc[_0x3d1703(0x1db)]){const _0x33cce8=splitName(_0x4eb3dc[_0x3d1703(0x1f4)]);_0x243171[_0x3d1703(0x1e6)]=_0x33cce8['surname'],_0x243171['givenName']=_0x33cce8[_0x3d1703(0x1c3)];}if(!_0x4eb3dc[_0x3d1703(0x1e8)])_0x243171['englishName']=_0x4eb3dc[_0x3d1703(0x1f4)];}_0x3e0603===0x2&&(_0x243171[_0x3d1703(0x1bf)]=_0x4eb3dc[_0x3d1703(0x1cc)],_0x243171[_0x3d1703(0x1c5)]=_0x4eb3dc[_0x3d1703(0x1ce)],_0x243171[_0x3d1703(0x1bc)]=_0x4eb3dc[_0x3d1703(0x1b8)],_0x243171['number']=_0x4eb3dc[_0x3d1703(0x1d6)]);_0x3e0603===0x3&&(_0x243171[_0x3d1703(0x1bf)]=_0x4eb3dc[_0x3d1703(0x1f4)],_0x243171[_0x3d1703(0x1c4)]=_0x4eb3dc['Sex'],_0x243171['expDate']=_0x4eb3dc['ValidDate'],_0x243171[_0x3d1703(0x1bc)]=_0x4eb3dc['Birth'],_0x243171['number']=_0x4eb3dc[_0x3d1703(0x1d6)]);_0x3e0603===0x4&&(_0x243171[_0x3d1703(0x1bf)]=_0x4eb3dc[_0x3d1703(0x1f4)],_0x243171[_0x3d1703(0x1c5)]=_0x4eb3dc[_0x3d1703(0x1e8)],_0x243171[_0x3d1703(0x1c4)]=_0x4eb3dc[_0x3d1703(0x211)],_0x243171[_0x3d1703(0x1cb)]=_0x4eb3dc[_0x3d1703(0x1fa)],_0x243171[_0x3d1703(0x1bc)]=_0x4eb3dc[_0x3d1703(0x1b8)],_0x243171['number']=_0x4eb3dc[_0x3d1703(0x1d8)]);_0x3e0603===0x5&&(_0x243171[_0x3d1703(0x1bf)]=_0x4eb3dc[_0x3d1703(0x1f4)],_0x243171['englishName']=_0x4eb3dc['EnglishName'],_0x243171[_0x3d1703(0x1c4)]=_0x4eb3dc[_0x3d1703(0x211)],_0x243171[_0x3d1703(0x1cb)]=_0x4eb3dc['ValidDate'],_0x243171['birthDate']=_0x4eb3dc[_0x3d1703(0x1b8)],_0x243171['number']=_0x4eb3dc[_0x3d1703(0x1d8)]);if(_0x3e0603===0x2||_0x3e0603===0x3||_0x3e0603===0x4||_0x3e0603===0x5){const _0x18a1c5=splitName(_0x243171[_0x3d1703(0x1bf)]);_0x243171[_0x3d1703(0x1e6)]=_0x18a1c5[_0x3d1703(0x1e6)],_0x243171['givenName']=_0x18a1c5[_0x3d1703(0x1c3)];}if(_0x3e0603===0x2||_0x3e0603===0x4||_0x3e0603===0x5){const _0x105e81=splitName(_0x243171['englishName'],!![]);_0x243171[_0x3d1703(0x1e7)]=_0x105e81[_0x3d1703(0x1e6)],_0x243171['givenNameEn']=_0x105e81[_0x3d1703(0x1c3)];}if(_0x3e0603===0x0||_0x3e0603===0x1){if(_0x243171[_0x3d1703(0x1bc)]!=='')_0x243171['birthDate']=_0x3302f7(_0x243171[_0x3d1703(0x1bc)]);if(_0x243171['expDate']!=='')_0x243171[_0x3d1703(0x1cb)]=_0x3302f7(_0x243171['expDate']);}if(_0x3e0603===0x2||_0x3e0603===0x3){if(_0x243171[_0x3d1703(0x1bc)]!=='')_0x243171[_0x3d1703(0x1bc)]=timeFormat(_0x243171[_0x3d1703(0x1bc)]);if(_0x243171[_0x3d1703(0x1cb)]!=='')_0x243171[_0x3d1703(0x1cb)]=timeFormat(_0x243171[_0x3d1703(0x1cb)]);}if(_0x3e0603===0x4||_0x3e0603===0x5){if(_0x243171['birthDate']!=='')_0x243171[_0x3d1703(0x1bc)]=timeFormat(_0x243171['birthDate']);if(_0x243171['expDate']!==''){let _0x581303=_0x243171[_0x3d1703(0x1cb)]['split']('-');_0x243171['expDate']=timeFormat(_0x581303[0x1]);}}return{'type':_0x3e0603,'data':_0x243171};}function modifyKeys(_0xe9b308,_0x299de9={'strCode':'code','strFjbh':a6_0x155a0d(0x20f),'strGuid':'value','strValue':a6_0x155a0d(0x1bb)}){const _0x1ac88d=a6_0x155a0d;if(!_0xe9b308[_0x1ac88d(0x1d4)]||_0xe9b308===null)return[];const _0x46dfd5=_0xe9b308[_0x1ac88d(0x1be)](_0xdf45b7=>{const _0x5a8c1b=_0x1ac88d,_0x1a0d49={};for(const _0x100502 in _0xdf45b7){_0x299de9[_0x5a8c1b(0x201)](_0x100502)?_0x1a0d49[_0x299de9[_0x100502]]=_0xdf45b7[_0x100502]:_0x1a0d49[_0x100502]=_0xdf45b7[_0x100502];}return _0x1a0d49;});return _0x46dfd5;}function sliceArray(_0x571517,_0x291441,_0x344355){const _0x548644=a6_0x155a0d;if(_0x291441<=0x0)return console['error'](_0x548644(0x1e1)),[];return _0x344355?_0x571517[_0x548644(0x1ff)](0x0,_0x291441):_0x571517[_0x548644(0x1ff)](-_0x291441);}function findDataByData(_0x30a26f,_0x3a68a4,_0x281684){const _0x2937b6=a6_0x155a0d,_0x49d159=_0x30a26f[_0x2937b6(0x1cf)](_0x1d05b8=>_0x1d05b8[_0x281684]===_0x3a68a4);return _0x49d159||null;}function splitArray(_0x18ca09,_0x3e2806){const _0x950396=a6_0x155a0d,_0x1bad4a=[];for(let _0x23fba1=0x0;_0x23fba1<_0x18ca09['length'];_0x23fba1+=_0x3e2806){_0x1bad4a[_0x950396(0x1b7)](_0x18ca09[_0x950396(0x1ff)](_0x23fba1,_0x23fba1+_0x3e2806));}return _0x1bad4a;}function a6_0x7285(_0x2782d8,_0x574f9d){const _0x47ac55=a6_0x47ac();return a6_0x7285=function(_0x7285e2,_0x1945f7){_0x7285e2=_0x7285e2-0x1b5;let _0x20ef65=_0x47ac55[_0x7285e2];return _0x20ef65;},a6_0x7285(_0x2782d8,_0x574f9d);}function getProxyType(_0xfd5f30){const _0x2639e4=a6_0x155a0d;return Object[_0x2639e4(0x1c7)]['toString'][_0x2639e4(0x1ef)](_0xfd5f30)[_0x2639e4(0x1ff)](0x8,-0x1);}let timeout=null;function debounce(_0x135e2b,_0x4d3777=0x1f4,_0x71fe20=![]){const _0x167be4=a6_0x155a0d;if(timeout!==null)clearTimeout(timeout);if(_0x71fe20){const _0x6d2c9d=!timeout;timeout=setTimeout(()=>{timeout=null;},_0x4d3777);if(_0x6d2c9d)typeof _0x135e2b===_0x167be4(0x1ed)&&_0x135e2b();}else timeout=setTimeout(()=>{const _0x35f05a=_0x167be4;typeof _0x135e2b===_0x35f05a(0x1ed)&&_0x135e2b();},_0x4d3777);}function urlEncode(_0x2d37d8={}){const _0x36d5e1=a6_0x155a0d,_0xf0e90=[];for(const _0x2958cc in _0x2d37d8){const _0x549a4f=_0x2d37d8[_0x2958cc];if(!_0x549a4f)continue;isArray(_0x549a4f)?_0x549a4f[_0x36d5e1(0x210)](_0x3447eb=>{const _0x109160=_0x36d5e1;_0xf0e90[_0x109160(0x1b7)](_0x2958cc+'='+_0x3447eb);}):_0xf0e90[_0x36d5e1(0x1b7)](_0x2958cc+'='+_0x549a4f);}return _0xf0e90[_0x36d5e1(0x212)]('&');}function dateFormat(_0x17ca8b,_0x54abd8){const _0x28170a=a6_0x155a0d,_0x40f531=new Date(_0x54abd8),_0x26a35e={'Y+':_0x40f531[_0x28170a(0x1d3)]()[_0x28170a(0x207)](),'m+':(_0x40f531[_0x28170a(0x1df)]()+0x1)[_0x28170a(0x207)](),'d+':_0x40f531[_0x28170a(0x1da)]()[_0x28170a(0x207)](),'H+':_0x40f531[_0x28170a(0x1e9)]()[_0x28170a(0x207)](),'M+':_0x40f531['getMinutes']()[_0x28170a(0x207)](),'S+':_0x40f531[_0x28170a(0x1c9)]()[_0x28170a(0x207)]()};let _0x52a134;for(let _0x31b3db in _0x26a35e){_0x52a134=new RegExp('('+_0x31b3db+')')[_0x28170a(0x1d1)](_0x17ca8b);_0x52a134&&(_0x17ca8b=_0x17ca8b[_0x28170a(0x1b5)](_0x52a134[0x1],_0x52a134[0x1][_0x28170a(0x1d4)]==0x1?_0x26a35e[_0x31b3db]:_0x26a35e[_0x31b3db][_0x28170a(0x20e)](_0x52a134[0x1]['length'],'0')));;};return _0x17ca8b;}function formatDate(_0x456dda,_0x106b67=a6_0x155a0d(0x203),_0x10914c={'yearTitle':'年','monthTitle':'月','dayTitle':'日'}){const _0x522c81=a6_0x155a0d,_0x4099c6=new Date(_0x456dda),_0x5a8bc0=_0x4099c6['getFullYear'](),_0x4298ca=_0x4099c6[_0x522c81(0x1df)]()+0x1,_0x59eda5=_0x4099c6['getDate'](),_0x3c756b=_0x4298ca<0xa?'0'+_0x4298ca:_0x4298ca,_0x1cead0=_0x59eda5<0xa?'0'+_0x59eda5:_0x59eda5;let _0xb0d821=_0x106b67[_0x522c81(0x1b5)](_0x522c81(0x1d9),_0x5a8bc0)[_0x522c81(0x1b5)]('MM',_0x3c756b)[_0x522c81(0x1b5)]('DD',_0x1cead0);return _0xb0d821=_0xb0d821[_0x522c81(0x1b5)](/-MM/g,_0x10914c[_0x522c81(0x1e0)])[_0x522c81(0x1b5)](/-DD/g,_0x10914c[_0x522c81(0x1ca)])[_0x522c81(0x1b5)](_0x522c81(0x1d9)+_0x10914c['yearTitle'],'')[_0x522c81(0x1b5)]('MM'+_0x10914c['monthTitle'],'')[_0x522c81(0x1b5)]('DD'+_0x10914c['dayTitle'],''),_0xb0d821;}function compareDates(_0x19219c,_0x3a29cd){const _0xf6e8e6=a6_0x155a0d;_0x19219c=new Date(_0x19219c);!_0x3a29cd?_0x3a29cd=new Date():_0x3a29cd=new Date(_0x3a29cd);_0x19219c[_0xf6e8e6(0x1cd)](0x0,0x0,0x0,0x0),_0x3a29cd[_0xf6e8e6(0x1cd)](0x0,0x0,0x0,0x0);var _0x398c6a=_0x19219c['getTime'](),_0xdb80f9=_0x3a29cd['getTime']();if(_0x398c6a<_0xdb80f9)return-0x1;else return _0x398c6a>_0xdb80f9?0x1:0x0;}function getDaysBetween(_0x574542,_0x5eac64){const _0x5bc758=a6_0x155a0d,_0x317a00=new Date(_0x574542),_0x5c7582=new Date(_0x5eac64),_0x16ae0b=Math['abs'](_0x317a00[_0x5bc758(0x1e4)]()-_0x5c7582[_0x5bc758(0x1e4)]()),_0x354903=Math['floor'](_0x16ae0b/(0x3e8*0x3c*0x3c*0x18));return _0x354903+0x1;}function chineseNumeral(_0x441bac){const _0x443461=a6_0x155a0d,_0x1b2d8e=['零','壹','贰','叁','肆','伍','陆','柒','捌','玖'],_0x336257=['','拾','佰','仟'],_0x2fdf44=['','万','亿','兆'];let _0x2bf1a7=Math[_0x443461(0x1bd)](_0x441bac),_0x3ab84b=Math[_0x443461(0x1dc)]((_0x441bac-_0x2bf1a7)*0x64),_0x46478e='';for(let _0x11cbff=0x0;_0x2bf1a7>0x0;_0x11cbff++){let _0x32e29d='',_0x54951b=_0x2bf1a7%0x2710;_0x2bf1a7=Math[_0x443461(0x1bd)](_0x2bf1a7/0x2710);for(let _0x149609=0x0;_0x54951b>0x0;_0x149609++){let _0x330f26=_0x54951b%0xa;_0x32e29d=(_0x330f26?_0x1b2d8e[_0x330f26]+_0x336257[_0x149609]:'')+_0x32e29d,_0x54951b=Math[_0x443461(0x1bd)](_0x54951b/0xa);}_0x46478e=_0x32e29d+(_0x32e29d?_0x2fdf44[_0x11cbff]:_0x2fdf44[_0x11cbff]&&!_0x46478e[_0x443461(0x1c1)]('零')?'零':'')+_0x46478e;}_0x46478e+=_0x46478e?'元':'零元';if(_0x3ab84b>0x0){let _0xc522bc=Math[_0x443461(0x1bd)](_0x3ab84b/0xa),_0x59ff5d=_0x3ab84b%0xa;_0x46478e+=(_0xc522bc?_0x1b2d8e[_0xc522bc]+'角':'')+(_0x59ff5d?_0x1b2d8e[_0x59ff5d]+'分':'');}else _0x46478e+='整';return _0x46478e[_0x443461(0x1b5)](/零{2,}/g,'零')[_0x443461(0x1b5)](/零元/,'元');}function getMonthDate(_0x4cda30){const _0x32b290=a6_0x155a0d;(!_0x4cda30||_0x4cda30[_0x32b290(0x1c0)]()==='')&&(_0x4cda30=new Date()[_0x32b290(0x1d3)]()+'-'+(new Date()['getMonth']()+0x1));let _0x175403=[],[_0x5b082f,_0xef4fdd]=_0x4cda30[_0x32b290(0x208)]('-')[_0x32b290(0x1be)](Number),_0x5514df=new Date(_0x5b082f,_0xef4fdd,0x0),_0x26d8ac=_0x5514df['getDate']();for(let _0x167fe9=0x1;_0x167fe9<=_0x26d8ac;_0x167fe9++){let _0x2be676=_0x167fe9<0xa?'0'+_0x167fe9:''+_0x167fe9,_0x451891=_0xef4fdd<0xa?'0'+_0xef4fdd:''+_0xef4fdd;_0x175403[_0x32b290(0x1b7)]({'date':_0x5b082f+'-'+_0x451891+'-'+_0x2be676,'disable':!![]});}return _0x175403;}function getToday(_0x103432){const _0x19dbc6=a6_0x155a0d;var _0x294dea=new Date(),_0x5a8094=String(_0x294dea[_0x19dbc6(0x1da)]())[_0x19dbc6(0x20e)](0x2,'0'),_0x55546e=String(_0x294dea['getMonth']()+0x1)[_0x19dbc6(0x20e)](0x2,'0'),_0x597a89=_0x294dea[_0x19dbc6(0x1d3)]();return _0x294dea=_0x597a89+'-'+_0x55546e+'-'+_0x5a8094,_0x294dea;}function resetObject(_0x2e7be8){const _0x46e6b6=a6_0x155a0d;let _0x5baf39=JSON[_0x46e6b6(0x1eb)](JSON[_0x46e6b6(0x1f7)](_0x2e7be8));for(const _0x31cd53 in _0x5baf39){if(typeof _0x5baf39[_0x31cd53]===_0x46e6b6(0x1ba))_0x5baf39[_0x31cd53]=0x0;else{if(typeof _0x5baf39[_0x31cd53]===_0x46e6b6(0x209))_0x5baf39[_0x31cd53]=![];else{if(Array[_0x46e6b6(0x20b)](_0x5baf39[_0x31cd53]))_0x5baf39[_0x31cd53]=[];else typeof _0x5baf39[_0x31cd53]===_0x46e6b6(0x206)&&_0x5baf39[_0x31cd53]!==null?resetObject(_0x5baf39[_0x31cd53]):_0x5baf39[_0x31cd53]='';}}}return _0x5baf39;}function preciseOperation(_0x15c69b,_0x206380,_0x53f947,_0x517764=0xf4240){const _0x9633d2=a6_0x155a0d;if(isNaN(_0x15c69b)||isNaN(_0x206380))return NaN;if(!isFinite(_0x15c69b)||!isFinite(_0x206380))return NaN;let _0x1d40c7=BigInt(Math[_0x9633d2(0x1dc)](_0x15c69b*_0x517764)),_0x14673e=BigInt(Math[_0x9633d2(0x1dc)](_0x206380*_0x517764)),_0x562712;switch(_0x53f947){case 0x1:_0x562712=_0x1d40c7+_0x14673e;break;case 0x2:_0x562712=_0x1d40c7-_0x14673e;break;case 0x3:_0x562712=_0x1d40c7*_0x14673e;break;case 0x4:if(_0x14673e===0x0n)throw new Error('除数不能为0');_0x562712=_0x1d40c7/_0x14673e;break;default:throw new Error('无效的操作符,操作符应为1、2、3或4');}return Number(_0x562712)/_0x517764;}function preciseSum(_0x39ad54){const _0x50c05c=a6_0x155a0d;let _0x5a59ac=0x0;for(const _0x5f0126 of _0x39ad54){let _0x45b811=0x0;if(typeof _0x5f0126===_0x50c05c(0x1f6)){const _0x945b7f=parseFloat(_0x5f0126);!isNaN(_0x945b7f)&&(_0x45b811=_0x945b7f);}else typeof _0x5f0126===_0x50c05c(0x1ba)&&(_0x45b811=_0x5f0126);_0x5a59ac=preciseOperation(_0x5a59ac,_0x45b811,0x1);}return _0x5a59ac;}function getRelativeDate(_0x697b01,_0xf22eab=0x0){const _0x15c788=a6_0x155a0d,_0x5ccaaa=new Date(_0x697b01);_0x5ccaaa[_0x15c788(0x1fc)](_0x5ccaaa[_0x15c788(0x1da)]()+_0xf22eab);const _0x2f72c7=_0x5ccaaa[_0x15c788(0x1d3)](),_0x503eaf=(_0x5ccaaa['getMonth']()+0x1)['toString']()['padStart'](0x2,'0'),_0xa5c76=_0x5ccaaa[_0x15c788(0x1da)]()[_0x15c788(0x207)]()['padStart'](0x2,'0');return _0x2f72c7+'-'+_0x503eaf+'-'+_0xa5c76;}function validateFields(_0x4c5a1a,_0x4d261f,_0xb31934=''){for(let _0x543f27 of _0x4d261f){if(_0x4c5a1a[_0x543f27]===_0xb31934)return!![];}return![];}function mergeObjects(_0x54420d,_0x4f2fdd){const _0x2a17c3=a6_0x155a0d;for(const _0x525200 in _0x54420d){_0x4f2fdd[_0x2a17c3(0x201)](_0x525200)&&(_0x54420d[_0x525200]=_0x4f2fdd[_0x525200]);}return _0x54420d;}const formatToDecimal=(_0x1f7156,_0x3f06d8=0x2)=>{const _0x58b9ff=a6_0x155a0d;if(isNaN(_0x3f06d8)||_0x3f06d8<0x0)return _0x1f7156;let _0x498285=Number(_0x1f7156);if(!isFinite(_0x498285))return _0x1f7156;return _0x3f06d8=Math[_0x58b9ff(0x1f5)](0x0,Math[_0x58b9ff(0x1bd)](_0x3f06d8)),_0x498285['toFixed'](_0x3f06d8);};function findKeysEndingWith(_0x3be1db,_0x51bfab=a6_0x155a0d(0x1f0)){const _0x7c3303=a6_0x155a0d;let _0x2b2021=[];for(var _0x8b6cf3 in _0x3be1db){if(_0x3be1db[_0x7c3303(0x201)](_0x8b6cf3)){if(_0x8b6cf3[_0x7c3303(0x214)](_0x51bfab))_0x2b2021[_0x7c3303(0x1b7)](_0x8b6cf3);}}return _0x2b2021;}function a6_0x47ac(){const _0x5745cc=['startsWith','Number','YYYY','getDate','GivenName','round','BirthDate','Nationality','getMonth','monthTitle','Quantity\x20should\x20be\x20greater\x20than\x200.','yyyy-mm-dd','2183658IaIIQb','getTime','284290aEUDYS','surname','surnameEn','EnglishName','getHours','DateOfBirth','parse','test','function','match','call','_qh','PassportNo','580PXAEvs','Surname','Name','max','string','stringify','4356908vuBtNA','nationality','ValidDate','28453249ZNSjMD','setDate','8129696gPCDnu','12BnXCFc','slice','left','hasOwnProperty','substring','YYYY-MM-DD','FamilyName','ExpiryDate','object','toString','split','boolean','3qYwHQR','isArray','random','DateOfExpiration','padStart','fjbh','forEach','Sex','join','getMinutes','endsWith','replace','4735577zXRsqp','push','Birthday','.00','number','label','birthDate','floor','map','name','trim','includes','all','givenName','sex','englishName','1LlhvsG','prototype','115551bRUMFU','getSeconds','dayTitle','expDate','CnName','setHours','EnName','find','FirstName','exec','both','getFullYear','length','0.00','IdNum'];a6_0x47ac=function(){return _0x5745cc;};return a6_0x47ac();}function guid(_0x9aa635=0x20,_0x166ec4=!![],_0x2a5cbc=null){const _0x237224=a6_0x155a0d,_0x51e278='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'[_0x237224(0x208)](''),_0x3f640f=[];_0x2a5cbc=_0x2a5cbc||_0x51e278[_0x237224(0x1d4)];if(_0x9aa635){for(let _0x3eee77=0x0;_0x3eee77<_0x9aa635;_0x3eee77++)_0x3f640f[_0x3eee77]=_0x51e278[0x0|Math[_0x237224(0x20c)]()*_0x2a5cbc];}else{let _0x46e540;_0x3f640f[0x8]=_0x3f640f[0xd]=_0x3f640f[0x12]=_0x3f640f[0x17]='-',_0x3f640f[0xe]='4';for(let _0x1802f0=0x0;_0x1802f0<0x24;_0x1802f0++){!_0x3f640f[_0x1802f0]&&(_0x46e540=0x0|Math['random']()*0x10,_0x3f640f[_0x1802f0]=_0x51e278[_0x1802f0==0x13?_0x46e540&0x3|0x8:_0x46e540]);}}if(_0x166ec4)return _0x3f640f['shift'](),'u'+_0x3f640f[_0x237224(0x212)]('');return _0x3f640f[_0x237224(0x212)]('');}function trim(_0x2cbaa0,_0x4322ea=a6_0x155a0d(0x1d2)){const _0x358b00=a6_0x155a0d;_0x2cbaa0=String(_0x2cbaa0);if(_0x4322ea==_0x358b00(0x1d2))return _0x2cbaa0[_0x358b00(0x1b5)](/^\s+|\s+$/g,'');if(_0x4322ea==_0x358b00(0x200))return _0x2cbaa0[_0x358b00(0x1b5)](/^\s*/,'');if(_0x4322ea=='right')return _0x2cbaa0[_0x358b00(0x1b5)](/(\s*$)/g,'');if(_0x4322ea==_0x358b00(0x1c2))return _0x2cbaa0[_0x358b00(0x1b5)](/\s+/g,'');return _0x2cbaa0;}export default{'handleOCRData':handleOCRData,'timeFormat':timeFormat,'guid':guid,'trim':trim,'findKeysEndingWith':findKeysEndingWith,'formatToDecimal':formatToDecimal,'fmtNum':fmtNum,'splitName':splitName,'preciseSum':preciseSum,'modifyKeys':modifyKeys,'sliceArray':sliceArray,'findDataByData':findDataByData,'splitArray':splitArray,'getProxyType':getProxyType,'debounce':debounce,'urlEncode':urlEncode,'dateFormat':dateFormat,'formatDate':formatDate,'compareDates':compareDates,'getDaysBetween':getDaysBetween,'chineseNumeral':chineseNumeral,'getMonthDate':getMonthDate,'getToday':getToday,'resetObject':resetObject,'preciseOperation':preciseOperation,'getRelativeDate':getRelativeDate,'validateFields':validateFields,'mergeObjects':mergeObjects};
|