create-entity-app-server 0.1.13 → 0.1.14
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-create/template/.gateway-version +1 -1
- package/dist-create/template/app/plugins/ocr/cache.ts +1 -1
- package/dist-create/template/app/plugins/ocr/config.ts +1 -1
- package/dist-create/template/app/plugins/ocr/direction.ts +1 -1
- package/dist-create/template/app/plugins/ocr/dispatch.ts +1 -1
- package/dist-create/template/app/plugins/ocr/entity-adapter.ts +1 -1
- package/dist-create/template/app/plugins/ocr/errors.ts +1 -1
- package/dist-create/template/app/plugins/ocr/handlers.ts +1 -1
- package/dist-create/template/app/plugins/ocr/index.ts +1 -1
- package/dist-create/template/app/plugins/ocr/llm-parser.ts +1 -1
- package/dist-create/template/app/plugins/ocr/parsing-pipeline.ts +1 -1
- package/dist-create/template/app/plugins/ocr/pdf-converter.ts +1 -1
- package/dist-create/template/app/plugins/ocr/preprocessor.ts +1 -1
- package/dist-create/template/app/plugins/ocr/providers/aws.ts +1 -1
- package/dist-create/template/app/plugins/ocr/providers/azure.ts +1 -1
- package/dist-create/template/app/plugins/ocr/providers/google.ts +1 -1
- package/dist-create/template/app/plugins/ocr/providers/index.ts +1 -1
- package/dist-create/template/app/plugins/ocr/providers/naver.ts +1 -1
- package/dist-create/template/app/plugins/ocr/providers/tesseract.ts +1 -1
- package/dist-create/template/app/plugins/ocr/providers/upstage.ts +1 -1
- package/dist-create/template/app/plugins/ocr/quota.ts +1 -1
- package/dist-create/template/app/plugins/ocr/refiner.ts +1 -1
- package/dist-create/template/app/plugins/ocr/routes.ts +1 -1
- package/dist-create/template/app/plugins/ocr/service.ts +1 -1
- package/dist-create/template/app/plugins/ocr/template-loader.ts +1 -1
- package/dist-create/template/app/plugins/ocr/template-matcher.ts +1 -1
- package/dist-create/template/app/plugins/ocr/types/config.ts +1 -1
- package/dist-create/template/app/plugins/ocr/types/driver.ts +1 -1
- package/dist-create/template/app/plugins/ocr/types/index.ts +1 -1
- package/dist-create/template/app/plugins/ocr/types/parsed.ts +1 -1
- package/dist-create/template/app/plugins/ocr/types/store.ts +1 -1
- package/dist-create/template/app/plugins/ocr/types/template.ts +1 -1
- package/dist-create/template/app/plugins/ocr/utils.ts +1 -1
- package/dist-create/template/app/plugins/smtp/config.ts +1 -1
- package/dist-create/template/app/plugins/smtp/handlers.ts +1 -1
- package/dist-create/template/app/plugins/smtp/index.ts +1 -1
- package/dist-create/template/app/plugins/smtp/routes.ts +1 -1
- package/dist-create/template/app/plugins/smtp/types/config.ts +1 -1
- package/dist-create/template/app/plugins/smtp/types/index.ts +1 -1
- package/dist-create/template/docs/scripts-guide.md +1 -1
- package/dist-create/template/scripts/update-server.sh +22 -1
- package/dist-create/template/system-api.js +1 -1
- package/dist-create/template/system.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x14c8f1=_0x551f;function _0x551f(_0x817374,_0x3990af){_0x817374=_0x817374-0x10a;const _0x1a2a62=_0x1a2a();let _0x551f3c=_0x1a2a62[_0x817374];if(_0x551f['CbEqLm']===undefined){var _0x3b61f=function(_0x324991){const _0x22fabb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2782d4='',_0x31d04a='';for(let _0x44d2c1=0x0,_0x49ccdf,_0x5c9c9a,_0x5a0e54=0x0;_0x5c9c9a=_0x324991['charAt'](_0x5a0e54++);~_0x5c9c9a&&(_0x49ccdf=_0x44d2c1%0x4?_0x49ccdf*0x40+_0x5c9c9a:_0x5c9c9a,_0x44d2c1++%0x4)?_0x2782d4+=String['fromCharCode'](0xff&_0x49ccdf>>(-0x2*_0x44d2c1&0x6)):0x0){_0x5c9c9a=_0x22fabb['indexOf'](_0x5c9c9a);}for(let _0x3d91d4=0x0,_0x3a9455=_0x2782d4['length'];_0x3d91d4<_0x3a9455;_0x3d91d4++){_0x31d04a+='%'+('00'+_0x2782d4['charCodeAt'](_0x3d91d4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x31d04a);};_0x551f['CBGPgT']=_0x3b61f,_0x551f['wsLztq']={},_0x551f['CbEqLm']=!![];}const _0x4e6059=_0x1a2a62[0x0],_0x3d3b9f=_0x817374+_0x4e6059,_0x9559b6=_0x551f['wsLztq'][_0x3d3b9f];return!_0x9559b6?(_0x551f3c=_0x551f['CBGPgT'](_0x551f3c),_0x551f['wsLztq'][_0x3d3b9f]=_0x551f3c):_0x551f3c=_0x9559b6,_0x551f3c;}(function(_0x1d0efe,_0x4aa825){const _0x5b4d67=_0x551f,_0x5e3f40=_0x1d0efe();while(!![]){try{const _0x5ebc0a=parseInt(_0x5b4d67(0x143))/0x1*(-parseInt(_0x5b4d67(0x12f))/0x2)+-parseInt(_0x5b4d67(0x129))/0x3*(-parseInt(_0x5b4d67(0x134))/0x4)+parseInt(_0x5b4d67(0x125))/0x5+parseInt(_0x5b4d67(0x12e))/0x6+parseInt(_0x5b4d67(0x130))/0x7*(parseInt(_0x5b4d67(0x119))/0x8)+-parseInt(_0x5b4d67(0x132))/0x9*(parseInt(_0x5b4d67(0x13d))/0xa)+-parseInt(_0x5b4d67(0x10d))/0xb*(parseInt(_0x5b4d67(0x142))/0xc);if(_0x5ebc0a===_0x4aa825)break;else _0x5e3f40['push'](_0x5e3f40['shift']());}catch(_0x1b01c6){_0x5e3f40['push'](_0x5e3f40['shift']());}}}(_0x1a2a,0x7e71f));function _0x1a2a(){const _0x31d742=['y29UzMK','ieXmtsa','twv0Ag8','BgvUz3q','BwLZC2K','DgvTCgW','yMfJAZO','C3rYAw4','ywnRigy','zNvSBfq','z2LMEq','ndi0oti4mgH4y3zozq','r10Gt0m','igzHBgW','zwXKCYa','m3Pzqu1hBa','B2nFDhK','AcbLCNi','BM9Uzq','zxH0','nJu4mZa4D0nNy3bn','mNbMu2PkCG','ntiYnZz1wKnOyNO','Bg9N','nJu3uu1uu29g','zxf1Axi','mZi5ndK1mM1xtKzcAq','Bwf0y2G','zgvUy2u','AgfZvgu','BgXTuge','B3iGkgq','w0rfqLu','BMDszxe','Dg9gAxG','mtu1otbdBhnNu3y','CgfYC2u','ktOG','DwLYzwq','ig1HDgm','mtj2uhjozMK','ntCXmZq4qwLYwefp','zwqGzMK','Ag9Sza','w1DbuK4','uIb0zw0','icHKB2m','yxrL','BxbSyxq','z2vUzxi','mtC2mZy4otrWCNLNwue','x3r5Cgu','q29UzMK','Cgu9','CgXHDgu','DgnOzxi','idWG','xsbpq1i','ywLSzwq','yxrLtwe','zMfSBgi','CNnLCG','mta5nLb4vvjRDG'];_0x1a2a=function(){return _0x31d742;};return _0x1a2a();}export class ParsingPipeline{constructor(_0x1a3187,_0x4970c6,_0x704080){const _0x4338be=_0x551f;this[_0x4338be(0x11f)+_0x4338be(0x116)+_0x4338be(0x112)]=_0x1a3187,this['llmPa'+_0x4338be(0x118)]=_0x4970c6,this[_0x4338be(0x11a)+'g']=_0x704080;}async[_0x14c8f1(0x13e)](_0x12f7d1,_0x5a9565){const _0x23e029=_0x14c8f1,_0x1e0683={'QxDgI':_0x23e029(0x12c),'INgyp':'llm'},_0x8cc764={'raw':_0x12f7d1,'parseMethod':_0x1e0683['QxDgI'],'parseConfidence':0x0};if(!_0x5a9565||_0x5a9565===_0x23e029(0x10c)+'al')return _0x8cc764;const _0x2cb014=this[_0x23e029(0x11a)+'g'][_0x23e029(0x11a)+_0x23e029(0x136)+'Thres'+_0x23e029(0x145)]||0.6;if(this[_0x23e029(0x11f)+'ateMa'+_0x23e029(0x112)][_0x23e029(0x137)+_0x23e029(0x10b)+'e'](_0x5a9565))try{const _0x7364a1=this[_0x23e029(0x11f)+_0x23e029(0x116)+_0x23e029(0x112)][_0x23e029(0x135)](_0x12f7d1,_0x5a9565);if(_0x7364a1['missi'+_0x23e029(0x13b)+_0x23e029(0x140)][_0x23e029(0x11d)+'h']===0x0&&_0x7364a1[_0x23e029(0x11a)+_0x23e029(0x136)]>=_0x2cb014)return _0x8cc764[_0x23e029(0x13e)+'d']=_0x7364a1['parse'+'d'],_0x8cc764['parse'+_0x23e029(0x11c)+'d']=_0x23e029(0x11f)+_0x23e029(0x10a),_0x8cc764[_0x23e029(0x13e)+_0x23e029(0x10f)+_0x23e029(0x136)]=_0x7364a1[_0x23e029(0x11a)+_0x23e029(0x136)],_0x8cc764;_0x7364a1[_0x23e029(0x11e)+'ngReq'+_0x23e029(0x140)][_0x23e029(0x11d)+'h']>0x0?console['log'](_0x23e029(0x13a)+_0x23e029(0x126)+_0x23e029(0x147)+_0x23e029(0x111)+'\x20fall'+_0x23e029(0x120)+'\x20miss'+'ing\x20r'+_0x23e029(0x133)+_0x23e029(0x144)+_0x23e029(0x128)+JSON[_0x23e029(0x121)+_0x23e029(0x124)](_0x7364a1[_0x23e029(0x11e)+_0x23e029(0x13b)+'uired'])+(_0x23e029(0x148)+_0x23e029(0x10e)+'=')+_0x5a9565+')'):console[_0x23e029(0x131)](_0x23e029(0x13a)+_0x23e029(0x126)+_0x23e029(0x147)+'plate'+_0x23e029(0x127)+_0x23e029(0x120)+'\x20low\x20'+_0x23e029(0x11a)+_0x23e029(0x136)+'\x20'+_0x7364a1['confi'+_0x23e029(0x136)][_0x23e029(0x13c)+'ed'](0x2)+_0x23e029(0x113)+_0x2cb014['toFix'+'ed'](0x2)+(_0x23e029(0x148)+'_type'+'=')+_0x5a9565+')');}catch(_0x523a1c){console[_0x23e029(0x131)]('[DEBU'+_0x23e029(0x126)+_0x23e029(0x147)+_0x23e029(0x111)+_0x23e029(0x141)+_0x23e029(0x12b)+_0x23e029(0x139)+_0x23e029(0x12a)+_0x23e029(0x110)+_0x5a9565+_0x23e029(0x13f)+_0x523a1c);}if(this['llmPa'+'rser'])try{const _0x16f594=await this[_0x23e029(0x138)+'rser'][_0x23e029(0x13e)](_0x12f7d1[_0x23e029(0x123)+_0x23e029(0x12d)],_0x5a9565);return _0x8cc764[_0x23e029(0x13e)+'d']=_0x16f594,_0x8cc764[_0x23e029(0x13e)+_0x23e029(0x11c)+'d']=_0x1e0683['INgyp'],_0x8cc764[_0x23e029(0x13e)+'Confi'+_0x23e029(0x136)]=0.85,_0x8cc764;}catch(_0x27fadb){console['log'](_0x23e029(0x146)+_0x23e029(0x114)+_0x23e029(0x11b)+_0x23e029(0x117)+_0x23e029(0x122)+_0x23e029(0x115)+_0x23e029(0x148)+'_type'+'='+_0x5a9565+_0x23e029(0x13f)+_0x27fadb);}return _0x8cc764;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(_0x42d656,_0x2bb03e){const _0x245fdb=_0x27b0,_0x410bf1=_0x42d656();while(!![]){try{const _0x44b683=parseInt(_0x245fdb(0x1b8))/0x1*(parseInt(_0x245fdb(0x1ad))/0x2)+-parseInt(_0x245fdb(0x1ab))/0x3+parseInt(_0x245fdb(0x199))/0x4*(parseInt(_0x245fdb(0x197))/0x5)+parseInt(_0x245fdb(0x1d1))/0x6+-parseInt(_0x245fdb(0x18a))/0x7+-parseInt(_0x245fdb(0x194))/0x8*(parseInt(_0x245fdb(0x1c2))/0x9)+parseInt(_0x245fdb(0x1c8))/0xa;if(_0x44b683===_0x2bb03e)break;else _0x410bf1['push'](_0x410bf1['shift']());}catch(_0x4567e4){_0x410bf1['push'](_0x410bf1['shift']());}}}(_0x7f8d,0x34868));function _0x27b0(_0x3887a7,_0x40e444){_0x3887a7=_0x3887a7-0x187;const _0x7f8d6f=_0x7f8d();let _0x27b08a=_0x7f8d6f[_0x3887a7];if(_0x27b0['oPGqNH']===undefined){var _0x1d45d6=function(_0x10e094){const _0x4551a8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x20dd6a='',_0x437734='';for(let _0x581406=0x0,_0x3ed44b,_0x49dbc9,_0x172a32=0x0;_0x49dbc9=_0x10e094['charAt'](_0x172a32++);~_0x49dbc9&&(_0x3ed44b=_0x581406%0x4?_0x3ed44b*0x40+_0x49dbc9:_0x49dbc9,_0x581406++%0x4)?_0x20dd6a+=String['fromCharCode'](0xff&_0x3ed44b>>(-0x2*_0x581406&0x6)):0x0){_0x49dbc9=_0x4551a8['indexOf'](_0x49dbc9);}for(let _0x52f488=0x0,_0x57d960=_0x20dd6a['length'];_0x52f488<_0x57d960;_0x52f488++){_0x437734+='%'+('00'+_0x20dd6a['charCodeAt'](_0x52f488)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x437734);};_0x27b0['eaAiIo']=_0x1d45d6,_0x27b0['nMNLAj']={},_0x27b0['oPGqNH']=!![];}const _0x1e318a=_0x7f8d6f[0x0],_0x240554=_0x3887a7+_0x1e318a,_0x11ffba=_0x27b0['nMNLAj'][_0x240554];return!_0x11ffba?(_0x27b08a=_0x27b0['eaAiIo'](_0x27b08a),_0x27b0['nMNLAj'][_0x240554]=_0x27b08a):_0x27b08a=_0x11ffba,_0x27b08a;}import{inflateRaw as _0x2dcf57}from'node:zlib';function _0x7f8d(){const _0x7db2fa=['mteXmNnvrvzUDa','rLjyAu8','BMfTzq','ntm1uNv4r0fw','ywDLigy','ndG0me15BeLOBG','C3vIyxi','zxf1Axi','svaP','te5wEwq','CMnOAxy','wKLqige','q0XjigK','ig9YifO','CMf5','Bg9Uz2u','zNjVBq','BgvUz3q','zwn0zwq','Dg9tDhi','B2nHBca','B252zxi','BwfW','mta2nJaZohLpDNf3tq','ignVBxa','mtrOB3vesgy','DgHVzca','zsbJB24','Dw5LEha','ihjLC3a','Aw5N','jvberI0','C2vYDMu','EffTq1i','AwXLCW','BfvssMu','ndC0ndLmAxn5y04','CMvHzfu','ig5Viha','zwqGkgW','BLr2rxi','CgrMigm','Avzoyve','zw50Axq','CejkB2u','rMfYwfe','mty3ntHZtwzMt1q','r0Phuha','DgvYoIa','CgrMmNa','zM9YBwe','wKfMvfa','mJi4ndCZmgXHqvPWEq','CIbZDxa','renKzNK','Cg9YDgu','zw5K','sw50mZi','vKDkCvK','zunVBxa','DgfPBNm','mJmZnJy1ogHkAw91zG','sw50mty','BgLLBNq','vhHoAvG','mtC1mtu0n2XprwzMyG','CYbUBYa','zgf0yq','DMvYigm','CIaOBM8','EsbZzxi','B24GBwu','ChvZAa','DxrMoa','C29YDa'];_0x7f8d=function(){return _0x7db2fa;};return _0x7f8d();}import{promisify as _0x52e52c}from'node:util';const u=_0x52e52c(_0x2dcf57),g=0x12c;export async function convertPDFToImages(_0x81771c,_0x35b6cd,_0x5f3aca,_0x12cffb){const _0x65ff25=_0x27b0,_0x118ef7={'xQmCR':_0x65ff25(0x1bd)+_0x65ff25(0x1a9)+'ter:\x20'+_0x65ff25(0x1bf)+_0x65ff25(0x18f)+_0x65ff25(0x18d)+_0x65ff25(0x188)+'\x20is\x20r'+_0x65ff25(0x19b)+_0x65ff25(0x1bb)+_0x65ff25(0x1a8)+_0x65ff25(0x1a0)+_0x65ff25(0x18b)+_0x65ff25(0x1a3)+_0x65ff25(0x1c9)+_0x65ff25(0x1cb)+'d)','DCdfy':function(_0x18abea,_0x52d458){return _0x18abea===_0x52d458;},'lURJe':function(_0x438886,_0x145266){return _0x438886===_0x145266;},'TxNiX':function(_0x24b666,_0x505941){return _0x24b666(_0x505941);}};if(!_0x12cffb)throw new Error(_0x118ef7[_0x65ff25(0x1b5)]);const _0x1f444d=await _0x12cffb[_0x65ff25(0x1c5)+'ng'](_0x81771c,{'dpi':_0x5f3aca&&_0x5f3aca>0x0?_0x5f3aca:g,'firstPage':_0x35b6cd?.['start'],'lastPage':_0x35b6cd?.[_0x65ff25(0x1cc)]}),_0x5909ce=Buffer[_0x65ff25(0x1a4)](_0x1f444d);if(_0x5909ce[_0x65ff25(0x1a5)+'h']>=0x4&&_0x5909ce[0x0]===0x89&&_0x5909ce[0x1]===0x50&&_0x5909ce[0x2]===0x4e&&_0x118ef7[_0x65ff25(0x1ca)](_0x5909ce[0x3],0x47))return[_0x5909ce];if(_0x5909ce[_0x65ff25(0x1a5)+'h']>=0x4&&_0x5909ce[0x0]===0x50&&_0x5909ce[0x1]===0x4b&&_0x118ef7[_0x65ff25(0x1b7)](_0x5909ce[0x2],0x3)&&_0x118ef7[_0x65ff25(0x1b7)](_0x5909ce[0x3],0x4))return _0x118ef7[_0x65ff25(0x189)](p,_0x5909ce);throw new Error(_0x65ff25(0x1bd)+_0x65ff25(0x1a9)+_0x65ff25(0x1c4)+_0x65ff25(0x1b0)+_0x65ff25(0x1a6)+_0x65ff25(0x1b1)+'onse\x20'+_0x65ff25(0x1c6)+'t\x20fro'+'m\x20Go\x20'+_0x65ff25(0x1b4)+_0x65ff25(0x18e)+'t\x20PNG'+_0x65ff25(0x1a1)+_0x65ff25(0x19c));}async function p(_0x39d3a3){const _0x18de02=_0x27b0,_0x52ffb4={'LNVyd':function(_0x4ef24e,_0x3fae2d){return _0x4ef24e<_0x3fae2d;},'hVbLj':function(_0x5608d4,_0x5b1fbb){return _0x5608d4!==_0x5b1fbb;},'KvFgQ':function(_0x7f63a6,_0x596371){return _0x7f63a6!==_0x596371;},'ZAfTP':function(_0x5dc19b,_0x4a9ca6){return _0x5dc19b+_0x4a9ca6;},'VGJqY':function(_0x2c809d,_0x1b05e9){return _0x2c809d+_0x1b05e9;},'iVNaQ':function(_0x277172,_0x350fdf){return _0x277172+_0x350fdf;},'nTvEr':function(_0x52f72b,_0x280ea2){return _0x52f72b+_0x280ea2;},'FRXiO':function(_0x181563,_0x345098){return _0x181563===_0x345098;},'FarXQ':_0x18de02(0x1bd)+_0x18de02(0x1a9)+_0x18de02(0x1c4)+_0x18de02(0x19f)+_0x18de02(0x19e)+_0x18de02(0x1af)+_0x18de02(0x1d0)+_0x18de02(0x1ba)+_0x18de02(0x198)+_0x18de02(0x1b6)},_0x32d363=[];let _0x4b8881=0x0;for(;_0x52ffb4[_0x18de02(0x19d)](_0x4b8881+0x1e,_0x39d3a3[_0x18de02(0x1a5)+'h'])&&!(_0x52ffb4['hVbLj'](_0x39d3a3[_0x4b8881],0x50)||_0x52ffb4['hVbLj'](_0x39d3a3[_0x4b8881+0x1],0x4b)||_0x52ffb4['KvFgQ'](_0x39d3a3[_0x52ffb4[_0x18de02(0x1c7)](_0x4b8881,0x2)],0x3)||_0x39d3a3[_0x52ffb4[_0x18de02(0x1ce)](_0x4b8881,0x3)]!==0x4);){const _0x15a6c1=_0x39d3a3[_0x18de02(0x1b9)+_0x18de02(0x187)+'LE'](_0x52ffb4[_0x18de02(0x1c7)](_0x4b8881,0x8)),_0x2dea1f=_0x39d3a3[_0x18de02(0x1b9)+_0x18de02(0x1cd)+'LE'](_0x4b8881+0x12),_0x32960d=_0x39d3a3[_0x18de02(0x1b9)+_0x18de02(0x187)+'LE'](_0x52ffb4['ZAfTP'](_0x4b8881,0x1a)),_0x21d999=_0x39d3a3['readU'+_0x18de02(0x187)+'LE'](_0x4b8881+0x1c),_0x5d188b=_0x39d3a3['subar'+'ray'](_0x52ffb4[_0x18de02(0x1be)](_0x4b8881,0x1e),_0x52ffb4[_0x18de02(0x1be)](_0x4b8881+0x1e,_0x32960d))[_0x18de02(0x1a7)+_0x18de02(0x1b2)](_0x18de02(0x192)),_0x1883cf=_0x52ffb4[_0x18de02(0x1ce)](_0x4b8881+0x1e,_0x32960d)+_0x21d999,_0x447331=_0x39d3a3[_0x18de02(0x19a)+_0x18de02(0x1a2)](_0x1883cf,_0x52ffb4[_0x18de02(0x1bc)](_0x1883cf,_0x2dea1f));let _0x57dac1;if(_0x15a6c1===0x0)_0x57dac1=Buffer[_0x18de02(0x1a4)](_0x447331);else{if(_0x52ffb4[_0x18de02(0x195)](_0x15a6c1,0x8))_0x57dac1=await u(_0x447331);else throw new Error('pdf\x20c'+_0x18de02(0x1a9)+_0x18de02(0x1c4)+'unsup'+'porte'+'d\x20ZIP'+_0x18de02(0x1ac)+'ressi'+_0x18de02(0x190)+_0x18de02(0x1ae)+_0x15a6c1);}_0x32d363[_0x18de02(0x191)]({'name':_0x5d188b,'data':_0x57dac1}),_0x4b8881=_0x52ffb4[_0x18de02(0x1c7)](_0x1883cf,_0x2dea1f);}if(_0x32d363[_0x18de02(0x1a5)+'h']===0x0)throw new Error(_0x52ffb4[_0x18de02(0x1c1)]);return _0x32d363[_0x18de02(0x193)]((_0x52afeb,_0x3bcd7f)=>_0x52afeb[_0x18de02(0x196)]['local'+_0x18de02(0x1cf)+'are'](_0x3bcd7f[_0x18de02(0x196)])),_0x32d363[_0x18de02(0x1aa)](_0x536431=>_0x536431[_0x18de02(0x18c)]);}export function isPDF(_0x54da89){const _0xa2f532=_0x27b0,_0x3ce480={'GJGPp':function(_0x51099a,_0x669bb6){return _0x51099a>=_0x669bb6;},'pBJoe':'ascii'};return _0x3ce480[_0xa2f532(0x1c3)](_0x54da89['lengt'+'h'],0x5)&&_0x54da89['subar'+_0xa2f532(0x1a2)](0x0,0x5)[_0xa2f532(0x1a7)+_0xa2f532(0x1b2)](_0x3ce480[_0xa2f532(0x1c0)])===_0xa2f532(0x1b3);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x597082=_0x1cf8;(function(_0x10eda4,_0x394e16){const _0x4eecb1=_0x1cf8,_0x357404=_0x10eda4();while(!![]){try{const _0x2f90d8=-parseInt(_0x4eecb1(0x1ff))/0x1+-parseInt(_0x4eecb1(0x1ef))/0x2+-parseInt(_0x4eecb1(0x1ab))/0x3*(parseInt(_0x4eecb1(0x1aa))/0x4)+parseInt(_0x4eecb1(0x1f1))/0x5+parseInt(_0x4eecb1(0x1a5))/0x6*(-parseInt(_0x4eecb1(0x19d))/0x7)+parseInt(_0x4eecb1(0x19f))/0x8*(-parseInt(_0x4eecb1(0x1b9))/0x9)+parseInt(_0x4eecb1(0x1db))/0xa;if(_0x2f90d8===_0x394e16)break;else _0x357404['push'](_0x357404['shift']());}catch(_0x23fca8){_0x357404['push'](_0x357404['shift']());}}}(_0x1384,0x1b15c));const f=[String[_0x597082(0x1f4)]`^(\d{2}|\d{4})[\.\-\/년]?\s*(\d{1,2})[\.\-\/월]?\s*(\d{1,2})[\.\일]?$`];export class TextPreprocessor{[_0x597082(0x1f7)+'ocess'](_0x473d0b,_0xdb9603){const _0x54b88d=_0x597082,_0x288215={'kDozB':_0x54b88d(0x1df)},_0x31ba4c=_0xdb9603[_0x54b88d(0x1d5)+_0x54b88d(0x1fc)]||0.2,_0x5e228b=_0xdb9603[_0x54b88d(0x1e1)+_0x54b88d(0x1e6)]||0xf,_0xfce1e4=_0xdb9603[_0x54b88d(0x1cf)+_0x54b88d(0x1e6)]||0x1e,_0x56bea3=_0xdb9603[_0x54b88d(0x1b0)+'Excep'+'tions']?.[_0x54b88d(0x19a)+'h']?_0xdb9603[_0x54b88d(0x1b0)+_0x54b88d(0x1ad)+_0x54b88d(0x1c5)]:f,_0x41cff8=_0xdb9603['keywo'+'rds']??{};let _0xa138c7=this[_0x54b88d(0x1cd)+_0x54b88d(0x1d3)+'Sort'](_0x473d0b,_0x5e228b);_0xa138c7=this[_0x54b88d(0x1c0)+_0x54b88d(0x1e7)+_0x54b88d(0x1fc)](_0xa138c7,_0x31ba4c,_0x56bea3),_0xa138c7=this[_0x54b88d(0x1f2)+_0x54b88d(0x1c4)+_0x54b88d(0x1dd)+'rns'](_0xa138c7,_0xdb9603['remov'+_0x54b88d(0x1be)+_0x54b88d(0x1ae)]??[]),_0xa138c7=this[_0x54b88d(0x1f2)+'eKeyw'+'ords'](_0xa138c7,_0xdb9603['remov'+_0x54b88d(0x1d1)+_0x54b88d(0x1e8)]??[]);for(const [_0x239a48,_0xa0520]of Object['entri'+'es'](_0x41cff8))if(_0x239a48!==_0x288215[_0x54b88d(0x1a7)]){for(const _0x425dbc of _0xa0520)_0xa138c7=this['merge'+_0x54b88d(0x1dd)+'rn'](_0xa138c7,_0x425dbc,!0x0);}for(const _0xfc7623 of _0xdb9603['merge'+'Patte'+_0x54b88d(0x19e)]??[])_0xa138c7=this[_0x54b88d(0x1fa)+_0x54b88d(0x1dd)+'rn'](_0xa138c7,_0xfc7623,!0x1);return _0xa138c7=this[_0x54b88d(0x1ed)+_0x54b88d(0x1d2)+'entTe'+_0x54b88d(0x1d7)](_0xa138c7,_0x5e228b,_0xfce1e4),this[_0x54b88d(0x1bf)+_0x54b88d(0x19b)+'words'](_0xa138c7,_0x41cff8);}[_0x597082(0x1cd)+'ctAnd'+_0x597082(0x1bd)](_0x15094e,_0x2907d1){const _0x195143=_0x597082,_0x3e2f20=_0x15094e[_0x195143(0x1bb)](_0x5e54b0=>({'text':_0x5e54b0[_0x195143(0x1de)],'centerX':(_0x5e54b0[_0x195143(0x1a9)+_0x195143(0x1c9)+'x'][_0x195143(0x1ea)]+_0x5e54b0['bound'+_0x195143(0x1c9)+'x'][_0x195143(0x1eb)])/0x2,'centerY':(_0x5e54b0[_0x195143(0x1a9)+'ingBo'+'x'][_0x195143(0x1c8)]+_0x5e54b0[_0x195143(0x1a9)+_0x195143(0x1c9)+'x'][_0x195143(0x1e3)+'m'])/0x2,'top':_0x5e54b0[_0x195143(0x1a9)+_0x195143(0x1c9)+'x'][_0x195143(0x1c8)],'bottom':_0x5e54b0[_0x195143(0x1a9)+'ingBo'+'x'][_0x195143(0x1e3)+'m'],'left':_0x5e54b0[_0x195143(0x1a9)+_0x195143(0x1c9)+'x']['left'],'right':_0x5e54b0[_0x195143(0x1a9)+_0x195143(0x1c9)+'x'][_0x195143(0x1eb)],'width':_0x5e54b0[_0x195143(0x1a9)+_0x195143(0x1c9)+'x'][_0x195143(0x1eb)]-_0x5e54b0[_0x195143(0x1a9)+_0x195143(0x1c9)+'x'][_0x195143(0x1ea)],'height':_0x5e54b0[_0x195143(0x1a9)+_0x195143(0x1c9)+'x'][_0x195143(0x1e3)+'m']-_0x5e54b0[_0x195143(0x1a9)+_0x195143(0x1c9)+'x'][_0x195143(0x1c8)],'slope':_0x5e54b0[_0x195143(0x1b0)],'isKeyword':!0x1,'field':''}));return _0x3e2f20[_0x195143(0x1f9)]((_0x4af0dc,_0x36bf4c)=>Math[_0x195143(0x1a4)](_0x4af0dc['cente'+'rY']-_0x36bf4c[_0x195143(0x1ec)+'rY'])<_0x2907d1?_0x4af0dc[_0x195143(0x1ea)]-_0x36bf4c[_0x195143(0x1ea)]:_0x4af0dc[_0x195143(0x1c8)]-_0x36bf4c['top']),_0x3e2f20;}[_0x597082(0x1c0)+'rBySl'+_0x597082(0x1fc)](_0x231f9a,_0x1de45e,_0xcddd53){const _0x44f82c=_0x597082,_0x3b7e1a={'HrrxD':function(_0x144741,_0x45cc05){return _0x144741===_0x45cc05;},'FidMA':function(_0x33f0e5,_0x275e43){return _0x33f0e5>=_0x275e43;},'SBtUe':function(_0x1ba098,_0x3bc3f1){return _0x1ba098-_0x3bc3f1;},'CHzrO':function(_0x4389aa,_0xd50440){return _0x4389aa/_0xd50440;},'VUlok':function(_0x40a7cd,_0x31024b){return _0x40a7cd+_0x31024b;},'PJXCv':function(_0x39bc32,_0x1708b2){return _0x39bc32/_0x1708b2;},'oNrHC':function(_0xf4a38d,_0x1c6e90){return _0xf4a38d-_0x1c6e90;},'LMoOf':function(_0x527153,_0x247033){return _0x527153!==_0x247033;},'VotkC':_0x44f82c(0x1b8),'JaOWM':'QRAab','jJHNr':_0x44f82c(0x1b3),'nECRB':function(_0x5600bf,_0x12db82){return _0x5600bf<=_0x12db82;}},_0x1a7152=_0xcddd53[_0x44f82c(0x1bb)](_0x4bebb6=>{const _0x38142e=_0x44f82c;if(_0x3b7e1a[_0x38142e(0x1ba)](_0x3b7e1a[_0x38142e(0x1e9)],_0x3b7e1a[_0x38142e(0x1a1)]))try{return new RegExp(_0x4bebb6);}catch{return _0x3b7e1a[_0x38142e(0x1ba)]('YEqjz',_0x3b7e1a[_0x38142e(0x1cb)])?null:[..._0x56d616][_0x38142e(0x19a)+'h'];}else{const _0x2d43dc=_0x1c5414[_0x38142e(0x1de)]['endsW'+_0x38142e(0x1b2)](':')||_0x3b7e1a['HrrxD'](_0xe953d3[_0x38142e(0x1de)],':');!_0x2586d3||_0x1d094c[_0x38142e(0x1c2)+'word']||_0x3e6ac5[_0x38142e(0x1c2)+_0x38142e(0x1ce)]||_0x5c52e4||_0x2d43dc||_0x3b7e1a['FidMA'](_0x24ac72[_0x38142e(0x1a4)](_0x5eaa31['cente'+'rY']-_0x959fb7[_0x38142e(0x1ec)+'rY']),_0x11f31a)||_0x3b7e1a['SBtUe'](_0x186ae2[_0x38142e(0x1ea)],_0x4f3049[_0x38142e(0x1eb)])>=_0x3a4d0b?(_0x463df3&&_0x500aa2[_0x38142e(0x1b5)](_0x207430),_0x2ba9bf={..._0x558d17}):(_0x2ef88c[_0x38142e(0x1de)]+='\x20'+_0x491277[_0x38142e(0x1de)],_0x4b5e81[_0x38142e(0x1c8)]=_0x5d0493[_0x38142e(0x1fd)](_0x251696['top'],_0x25b2ab[_0x38142e(0x1c8)]),_0x524c55[_0x38142e(0x1e3)+'m']=_0x492e52[_0x38142e(0x199)](_0xd185d8['botto'+'m'],_0x4cf5cf[_0x38142e(0x1e3)+'m']),_0x94c399['left']=_0x133829[_0x38142e(0x1fd)](_0x575649[_0x38142e(0x1ea)],_0x5508d1[_0x38142e(0x1ea)]),_0x384c3b[_0x38142e(0x1eb)]=_0x44d1ad['max'](_0x32850c[_0x38142e(0x1eb)],_0x344adf[_0x38142e(0x1eb)]),_0x1197b2[_0x38142e(0x1ec)+'rX']=_0x3b7e1a[_0x38142e(0x1c1)](_0x3b7e1a['VUlok'](_0x417d9b[_0x38142e(0x1ea)],_0x14c076[_0x38142e(0x1eb)]),0x2),_0xca2d36[_0x38142e(0x1ec)+'rY']=_0x3b7e1a[_0x38142e(0x197)](_0x127823['top']+_0x3045ba[_0x38142e(0x1e3)+'m'],0x2),_0x546e98['width']=_0xd7b24d[_0x38142e(0x1eb)]-_0x440cd9[_0x38142e(0x1ea)],_0xf3d5df[_0x38142e(0x1dc)+'t']=_0x3b7e1a[_0x38142e(0x1a0)](_0x53a8d5['botto'+'m'],_0x114ac0[_0x38142e(0x1c8)])),_0x450362=_0x2d43dc;}})[_0x44f82c(0x1c0)+'r'](_0x52033e=>_0x52033e!==null);return _0x231f9a[_0x44f82c(0x1c0)+'r'](_0x17a04f=>{const _0x1cf731=_0x44f82c;if(_0x3b7e1a[_0x1cf731(0x1d9)](Math[_0x1cf731(0x1a4)](_0x17a04f['slope']),_0x1de45e))return!0x0;const _0x24792f=_0x17a04f['text'][_0x1cf731(0x1cc)]();return _0x1a7152[_0x1cf731(0x1fe)](_0x4d8da0=>_0x4d8da0[_0x1cf731(0x198)](_0x24792f));});}[_0x597082(0x1f2)+_0x597082(0x1c4)+_0x597082(0x1dd)+_0x597082(0x19e)](_0x176c38,_0x5077cc){const _0x3e745d=_0x597082;if(!_0x5077cc[_0x3e745d(0x19a)+'h'])return _0x176c38;const _0x3765cf=_0x5077cc[_0x3e745d(0x1bb)](_0x481dc9=>_0x481dc9[_0x3e745d(0x1e4)+_0x3e745d(0x1d6)+'e']()[_0x3e745d(0x1a6)+'ce'](/ /g,''));return _0x176c38['filte'+'r'](_0x1dad1b=>{const _0x1255a4=_0x3e745d,_0x1c8d50=_0x1dad1b[_0x1255a4(0x1de)]['toLow'+_0x1255a4(0x1d6)+'e']()[_0x1255a4(0x1a6)+'ce'](/ /g,'');return!_0x3765cf[_0x1255a4(0x1fe)](_0x46c06f=>_0x46c06f[_0x1255a4(0x1ca)+_0x1255a4(0x1fb)](_0x1c8d50));});}[_0x597082(0x1f2)+'eKeyw'+_0x597082(0x1e8)](_0x490dca,_0x482b91){const _0x1e1266=_0x597082;if(!_0x482b91[_0x1e1266(0x19a)+'h'])return _0x490dca;const _0x1f7038=_0x482b91['map'](_0x3b80ce=>_0x3b80ce[_0x1e1266(0x1e4)+_0x1e1266(0x1d6)+'e']()[_0x1e1266(0x1a6)+'ce'](/ /g,''));return _0x490dca[_0x1e1266(0x1c0)+'r'](_0x426bb3=>{const _0x271d71=_0x1e1266,_0x4a049e=_0x426bb3[_0x271d71(0x1de)]['toLow'+_0x271d71(0x1d6)+'e']()[_0x271d71(0x1a6)+'ce'](/ /g,'');return!_0x1f7038[_0x271d71(0x1ca)+_0x271d71(0x1fb)](_0x4a049e);});}[_0x597082(0x1fa)+_0x597082(0x1dd)+'rn'](_0x26b30d,_0x51cf1d,_0x80e6c1){const _0xfc72aa=_0x597082,_0x53ad30={'WaCvC':function(_0x39b261,_0x21ddd0){return _0x39b261<_0x21ddd0;},'FEbOc':function(_0x4de813,_0x252265){return _0x4de813<_0x252265;},'zndfg':function(_0x3ddb73,_0x1e6cbc){return _0x3ddb73<_0x1e6cbc;},'YCyoZ':function(_0x2db414,_0x3807f0){return _0x2db414===_0x3807f0;},'jRYeL':function(_0x39a453,_0x101ef5){return _0x39a453>_0x101ef5;},'NQQsy':function(_0x43c0da,_0x1e9f7d){return _0x43c0da>=_0x1e9f7d;},'vaccv':function(_0x4cf818,_0x1db2d0){return _0x4cf818(_0x1db2d0);}},_0x22ead3=_0x51cf1d['repla'+'ce'](/ /g,'');if(!_0x22ead3)return _0x26b30d;const _0x5a3da0=[];let _0x2b3546=0x0;for(;_0x53ad30[_0xfc72aa(0x1d4)](_0x2b3546,_0x26b30d[_0xfc72aa(0x19a)+'h']);){const _0x423fa2=[];let _0x212b8f=0x0,_0x41fd9f=_0x2b3546;for(;_0x53ad30['FEbOc'](_0x41fd9f,_0x26b30d[_0xfc72aa(0x19a)+'h'])&&_0x53ad30[_0xfc72aa(0x1b1)](_0x212b8f,p(_0x22ead3));){const _0xf649e3=g(_0x26b30d[_0x41fd9f][_0xfc72aa(0x1de)]);if(!_0xf649e3){_0x41fd9f++;continue;}const _0x3dbb64=p(_0xf649e3),_0x4d71ce=h(_0x22ead3,_0x212b8f,_0x3dbb64);if(_0x53ad30[_0xfc72aa(0x1e2)](_0xf649e3,_0x4d71ce))_0x423fa2[_0xfc72aa(0x1b5)](_0x26b30d[_0x41fd9f]),_0x212b8f+=_0x3dbb64,_0x41fd9f++;else break;}_0x53ad30[_0xfc72aa(0x1b7)](_0x423fa2[_0xfc72aa(0x19a)+'h'],0x1)&&_0x53ad30[_0xfc72aa(0x1f6)](_0x212b8f,_0x53ad30[_0xfc72aa(0x1ac)](p,_0x22ead3))?(_0x5a3da0[_0xfc72aa(0x1b5)](x(_0x423fa2,_0x51cf1d,_0x80e6c1)),_0x2b3546=_0x41fd9f):(_0x5a3da0[_0xfc72aa(0x1b5)](_0x26b30d[_0x2b3546]),_0x2b3546++);}return _0x5a3da0;}[_0x597082(0x1ed)+_0x597082(0x1d2)+_0x597082(0x1b6)+'xts'](_0x308466,_0x3507b4,_0x57bf61){const _0x5e978d=_0x597082,_0x499f3c={'MXPoH':function(_0x3b1b2f,_0x41aee9){return _0x3b1b2f>=_0x41aee9;},'Aqjin':function(_0x1313a4,_0x50a24d){return _0x1313a4-_0x50a24d;},'SEpTU':function(_0x53c022,_0x3398b8){return _0x53c022-_0x3398b8;},'dycsM':function(_0x3107f9,_0xe19052){return _0x3107f9/_0xe19052;},'flbLp':function(_0x34b387,_0x1c659a){return _0x34b387/_0x1c659a;},'lUmnT':function(_0x171a01,_0x1b2779){return _0x171a01+_0x1b2779;}},_0x3fad5b=[];let _0x588529=null,_0x1af41e=!0x1;for(const _0x259fc7 of _0x308466){const _0x10ff1d=_0x259fc7[_0x5e978d(0x1de)][_0x5e978d(0x1d8)+_0x5e978d(0x1b2)](':')||_0x259fc7[_0x5e978d(0x1de)]===':';!_0x588529||_0x259fc7[_0x5e978d(0x1c2)+_0x5e978d(0x1ce)]||_0x588529[_0x5e978d(0x1c2)+_0x5e978d(0x1ce)]||_0x1af41e||_0x10ff1d||_0x499f3c['MXPoH'](Math[_0x5e978d(0x1a4)](_0x499f3c['Aqjin'](_0x588529[_0x5e978d(0x1ec)+'rY'],_0x259fc7[_0x5e978d(0x1ec)+'rY'])),_0x3507b4)||_0x499f3c[_0x5e978d(0x1f5)](_0x259fc7[_0x5e978d(0x1ea)],_0x588529[_0x5e978d(0x1eb)])>=_0x57bf61?(_0x588529&&_0x3fad5b[_0x5e978d(0x1b5)](_0x588529),_0x588529={..._0x259fc7}):(_0x588529[_0x5e978d(0x1de)]+='\x20'+_0x259fc7[_0x5e978d(0x1de)],_0x588529[_0x5e978d(0x1c8)]=Math[_0x5e978d(0x1fd)](_0x588529['top'],_0x259fc7[_0x5e978d(0x1c8)]),_0x588529[_0x5e978d(0x1e3)+'m']=Math['max'](_0x588529['botto'+'m'],_0x259fc7[_0x5e978d(0x1e3)+'m']),_0x588529[_0x5e978d(0x1ea)]=Math[_0x5e978d(0x1fd)](_0x588529['left'],_0x259fc7[_0x5e978d(0x1ea)]),_0x588529['right']=Math[_0x5e978d(0x199)](_0x588529[_0x5e978d(0x1eb)],_0x259fc7[_0x5e978d(0x1eb)]),_0x588529[_0x5e978d(0x1ec)+'rX']=_0x499f3c[_0x5e978d(0x1a3)](_0x588529[_0x5e978d(0x1ea)]+_0x588529[_0x5e978d(0x1eb)],0x2),_0x588529[_0x5e978d(0x1ec)+'rY']=_0x499f3c[_0x5e978d(0x1f8)](_0x499f3c[_0x5e978d(0x1f0)](_0x588529['top'],_0x588529['botto'+'m']),0x2),_0x588529[_0x5e978d(0x1af)]=_0x588529[_0x5e978d(0x1eb)]-_0x588529['left'],_0x588529[_0x5e978d(0x1dc)+'t']=_0x588529['botto'+'m']-_0x588529[_0x5e978d(0x1c8)]),_0x1af41e=_0x10ff1d;}return _0x588529&&_0x3fad5b[_0x5e978d(0x1b5)](_0x588529),_0x3fad5b;}[_0x597082(0x1bf)+_0x597082(0x19b)+_0x597082(0x1bc)](_0x254c56,_0x80d994){const _0x428840=_0x597082,_0xc6d0c8={'OdduU':function(_0x2a0eb4,_0x427d36){return _0x2a0eb4+_0x427d36;},'siMRt':function(_0x2ad94d,_0x327582){return _0x2ad94d!==_0x327582;},'jCXWM':_0x428840(0x1f3),'DjhgQ':function(_0x201be1,_0x26ff72){return _0x201be1!==_0x26ff72;},'RMeYR':_0x428840(0x1df),'LdeDb':function(_0x2f02f7,_0x42621e){return _0x2f02f7===_0x42621e;}},_0x440c63={'keywordList':{},'valueList':[]};for(const _0x32ffe6 of _0x254c56){if(_0xc6d0c8['siMRt'](_0xc6d0c8[_0x428840(0x1c7)],_0x428840(0x1f3)))return[..._0x331914][_0x428840(0x1ee)](_0x30b386,_0xc6d0c8['OdduU'](_0xbc54f2,_0x465e05))[_0x428840(0x1e5)]('');else{const _0x31bcf0=_0x32ffe6[_0x428840(0x1de)][_0x428840(0x1a6)+'ce'](/ /g,'');_0x32ffe6[_0x428840(0x1c2)+_0x428840(0x1ce)]=!0x1;for(const [_0x5481a4,_0x4c7233]of Object[_0x428840(0x1a2)+'es'](_0x80d994))if(_0xc6d0c8['DjhgQ'](_0x5481a4,_0xc6d0c8[_0x428840(0x1b4)])){for(const _0x1821bf of _0x4c7233){const _0x45e1eb=_0x1821bf[_0x428840(0x1a6)+'ce'](/ /g,'');if(_0xc6d0c8[_0x428840(0x1d0)](_0x31bcf0,_0x45e1eb)||_0x31bcf0[_0x428840(0x1da)+'sWith'](_0x45e1eb)){_0x32ffe6[_0x428840(0x1de)]=_0x31bcf0['repla'+'ce'](/:$/,''),_0x32ffe6[_0x428840(0x1c2)+_0x428840(0x1ce)]=!0x0,_0x32ffe6[_0x428840(0x1c3)]=_0x5481a4;break;}}if(_0x32ffe6[_0x428840(0x1c2)+'word'])break;}_0x32ffe6[_0x428840(0x1c2)+_0x428840(0x1ce)]?(_0x440c63[_0x428840(0x1c6)+'rdLis'+'t'][_0x32ffe6[_0x428840(0x1c3)]]||(_0x440c63[_0x428840(0x1c6)+'rdLis'+'t'][_0x32ffe6[_0x428840(0x1c3)]]=[]),_0x440c63[_0x428840(0x1c6)+_0x428840(0x19c)+'t'][_0x32ffe6[_0x428840(0x1c3)]][_0x428840(0x1b5)](_0x32ffe6)):_0x440c63[_0x428840(0x1e0)+'List'][_0x428840(0x1b5)](_0x32ffe6);}}return _0x440c63;}}function g(_0x1757c4){const _0x44d21f=_0x597082;return _0x1757c4=_0x1757c4[_0x44d21f(0x1cc)](),_0x1757c4===':'?'':(_0x1757c4[_0x44d21f(0x1d8)+_0x44d21f(0x1b2)](':')&&(_0x1757c4=_0x1757c4['slice'](0x0,-0x1)),_0x1757c4[_0x44d21f(0x1a6)+'ce'](/ /g,''));}function _0x1384(){const _0x4c93f7=['AKnyv00','Dg9W','Aw5NqM8','Aw5JBhu','AKPitNi','DhjPBq','zxH0CMe','D29Yza','EfrVBgu','tgrLrgi','zuTLExC','qwrQywm','y3rbBMq','v2fdDKm','Bwf4u2W','zxjdyxm','EhrZ','zw5KC1C','BKvduKi','C3rHCNq','nJCXmJu1mfzzDvfAzW','AgvPz2G','ugf0Dgu','Dgv4Da','zhvTBxK','DMfSDwu','EvrVBgu','wun5B1O','yM90Dg8','Dg9mB3C','AM9PBG','CMfUy2u','CKj5u2W','B3jKCW','vM90A0m','BgvMDa','CMLNAhq','y2vUDgu','z3jVDxa','C2XPy2u','ndqWnZKWwLvmwKTP','BfvTBLq','nJy5mJyWC2Lgv2TL','CMvTB3y','rejVtfO','CMf3','u0vWvfu','tLfrC3K','ChjLChi','zMXItha','C29YDa','BwvYz2u','zgvZ','B3bL','BwLU','C29Tzq','nJm5mtnyr2D6qLO','uePyq3y','DgvZDa','Bwf4','BgvUz3q','C3nlzxK','CMrmAxm','nda2AvDtB3rn','CM5Z','mty3otjRs2PfB0q','B05Ysem','sMfpv00','zw50CMK','zhLJC00','ywjZ','mtG1otrwDuHHrxi','CMvWBge','A0rVEKi','ChHKz0e','yM91BMq','mZm5otjotLHcwxq','mZL0sgzICMG','DMfJy3y','rxHJzxa','zxjUCW','D2LKDgG','C2XVCgu','EM5KzMC','AxrO','reX6q24','uK1Lwvi','ChvZAa','zw50vgu','ALjzzuW','rhHzAwy','nteZB1PQtfjc','te1Vt2y','BwfW','D29Yzhm','u29YDa','zvbHDhq','ChjVy2u','zMLSDgu','q0H6CK8','AxnlzxK','zMLLBgq','zvrLEhq','DgLVBNm','A2v5D28'];_0x1384=function(){return _0x4c93f7;};return _0x1384();}function p(_0x5f0080){return[..._0x5f0080]['lengt'+'h'];}function _0x1cf8(_0x877e47,_0x5a667c){_0x877e47=_0x877e47-0x197;const _0x138483=_0x1384();let _0x1cf8fa=_0x138483[_0x877e47];if(_0x1cf8['vjZuPI']===undefined){var _0x4ee9b6=function(_0x2ea49c){const _0x541576='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x546099='',_0x5a162e='';for(let _0x99c046=0x0,_0x228e73,_0x410bb9,_0x45db5f=0x0;_0x410bb9=_0x2ea49c['charAt'](_0x45db5f++);~_0x410bb9&&(_0x228e73=_0x99c046%0x4?_0x228e73*0x40+_0x410bb9:_0x410bb9,_0x99c046++%0x4)?_0x546099+=String['fromCharCode'](0xff&_0x228e73>>(-0x2*_0x99c046&0x6)):0x0){_0x410bb9=_0x541576['indexOf'](_0x410bb9);}for(let _0x2ad60e=0x0,_0x3afddc=_0x546099['length'];_0x2ad60e<_0x3afddc;_0x2ad60e++){_0x5a162e+='%'+('00'+_0x546099['charCodeAt'](_0x2ad60e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5a162e);};_0x1cf8['ZzZXnO']=_0x4ee9b6,_0x1cf8['qyYreS']={},_0x1cf8['vjZuPI']=!![];}const _0x574644=_0x138483[0x0],_0xcd9d3b=_0x877e47+_0x574644,_0x4a0064=_0x1cf8['qyYreS'][_0xcd9d3b];return!_0x4a0064?(_0x1cf8fa=_0x1cf8['ZzZXnO'](_0x1cf8fa),_0x1cf8['qyYreS'][_0xcd9d3b]=_0x1cf8fa):_0x1cf8fa=_0x4a0064,_0x1cf8fa;}function h(_0x392720,_0x59ba31,_0x2edea3){const _0x3fc0d3=_0x597082,_0x382b62={'haLjJ':function(_0x5cfc58,_0x16ff4c){return _0x5cfc58+_0x16ff4c;}};return[..._0x392720][_0x3fc0d3(0x1ee)](_0x59ba31,_0x382b62['haLjJ'](_0x59ba31,_0x2edea3))[_0x3fc0d3(0x1e5)]('');}function x(_0x28f6c7,_0x1788eb,_0x7ca923){const _0x21d1ca=_0x597082,_0x476654={'pxdgA':function(_0x51d603,_0x3f9990){return _0x51d603/_0x3f9990;}};let _0x1e8e5a=_0x476654['pxdgA'](0x1,0x0),_0x15280b=0x1/0x0,_0x1ae3ef=_0x476654[_0x21d1ca(0x1a8)](-0x1,0x0),_0x322484=-0x1/0x0,_0x4a6229=0x0;for(const _0x214df8 of _0x28f6c7)_0x1e8e5a=Math[_0x21d1ca(0x1fd)](_0x1e8e5a,_0x214df8['top']),_0x1ae3ef=Math[_0x21d1ca(0x199)](_0x1ae3ef,_0x214df8[_0x21d1ca(0x1e3)+'m']),_0x15280b=Math[_0x21d1ca(0x1fd)](_0x15280b,_0x214df8[_0x21d1ca(0x1ea)]),_0x322484=Math[_0x21d1ca(0x199)](_0x322484,_0x214df8[_0x21d1ca(0x1eb)]),_0x214df8[_0x21d1ca(0x1b0)]!==0x0&&(_0x4a6229=_0x214df8[_0x21d1ca(0x1b0)]);return{'text':_0x1788eb,'isKeyword':_0x7ca923,'field':'','centerX':(_0x15280b+_0x322484)/0x2,'centerY':_0x476654[_0x21d1ca(0x1a8)](_0x1e8e5a+_0x1ae3ef,0x2),'top':_0x1e8e5a,'bottom':_0x1ae3ef,'left':_0x15280b,'right':_0x322484,'width':_0x322484-_0x15280b,'height':_0x1ae3ef-_0x1e8e5a,'slope':_0x4a6229};}
|
|
1
|
+
'use strict';const _0x27890c=_0x4918;(function(_0x389978,_0xba2dba){const _0x54cbb6=_0x4918,_0x5905fb=_0x389978();while(!![]){try{const _0x363eb2=-parseInt(_0x54cbb6(0x23c))/0x1*(parseInt(_0x54cbb6(0x221))/0x2)+-parseInt(_0x54cbb6(0x222))/0x3+parseInt(_0x54cbb6(0x215))/0x4+parseInt(_0x54cbb6(0x1fc))/0x5*(-parseInt(_0x54cbb6(0x23b))/0x6)+parseInt(_0x54cbb6(0x206))/0x7*(parseInt(_0x54cbb6(0x233))/0x8)+parseInt(_0x54cbb6(0x243))/0x9*(parseInt(_0x54cbb6(0x249))/0xa)+-parseInt(_0x54cbb6(0x231))/0xb*(-parseInt(_0x54cbb6(0x1f3))/0xc);if(_0x363eb2===_0xba2dba)break;else _0x5905fb['push'](_0x5905fb['shift']());}catch(_0xb2a4b3){_0x5905fb['push'](_0x5905fb['shift']());}}}(_0x1a80,0xa5fca));function _0x4918(_0x27d6da,_0x30e9f7){_0x27d6da=_0x27d6da-0x1f3;const _0x1a80be=_0x1a80();let _0x491870=_0x1a80be[_0x27d6da];if(_0x4918['LIFxvc']===undefined){var _0x53294a=function(_0x195664){const _0xd4f187='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x34a7c6='',_0x23711e='';for(let _0x5846ed=0x0,_0x3f96a4,_0x42e9f4,_0x19269c=0x0;_0x42e9f4=_0x195664['charAt'](_0x19269c++);~_0x42e9f4&&(_0x3f96a4=_0x5846ed%0x4?_0x3f96a4*0x40+_0x42e9f4:_0x42e9f4,_0x5846ed++%0x4)?_0x34a7c6+=String['fromCharCode'](0xff&_0x3f96a4>>(-0x2*_0x5846ed&0x6)):0x0){_0x42e9f4=_0xd4f187['indexOf'](_0x42e9f4);}for(let _0x3b59e0=0x0,_0x72ffe9=_0x34a7c6['length'];_0x3b59e0<_0x72ffe9;_0x3b59e0++){_0x23711e+='%'+('00'+_0x34a7c6['charCodeAt'](_0x3b59e0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x23711e);};_0x4918['MHPdZe']=_0x53294a,_0x4918['kKfECG']={},_0x4918['LIFxvc']=!![];}const _0x49cdf1=_0x1a80be[0x0],_0x2ed454=_0x27d6da+_0x49cdf1,_0x29490b=_0x4918['kKfECG'][_0x2ed454];return!_0x29490b?(_0x491870=_0x4918['MHPdZe'](_0x491870),_0x4918['kKfECG'][_0x2ed454]=_0x491870):_0x491870=_0x29490b,_0x491870;}const f=[String[_0x27890c(0x234)]`^(\d{2}|\d{4})[\.\-\/년]?\s*(\d{1,2})[\.\-\/월]?\s*(\d{1,2})[\.\일]?$`];export class TextPreprocessor{[_0x27890c(0x24d)+_0x27890c(0x254)](_0x278542,_0x434fee){const _0xaff9e=_0x27890c,_0x56bd70={'KFIsE':function(_0xdf419a,_0x37d3c0){return _0xdf419a!==_0x37d3c0;}},_0x27c265=_0x434fee[_0xaff9e(0x21f)+'ope']||0.2,_0x46ad3b=_0x434fee[_0xaff9e(0x23d)+_0xaff9e(0x225)]||0xf,_0xada8c4=_0x434fee[_0xaff9e(0x207)+_0xaff9e(0x225)]||0x1e,_0x3a3a8b=_0x434fee[_0xaff9e(0x244)+_0xaff9e(0x202)+_0xaff9e(0x24a)]?.[_0xaff9e(0x217)+'h']?_0x434fee[_0xaff9e(0x244)+_0xaff9e(0x202)+'tions']:f,_0x582de1=_0x434fee[_0xaff9e(0x242)+'rds']??{};let _0x24ebfa=this['extra'+'ctAnd'+_0xaff9e(0x1fb)](_0x278542,_0x46ad3b);_0x24ebfa=this[_0xaff9e(0x239)+_0xaff9e(0x204)+_0xaff9e(0x21b)](_0x24ebfa,_0x27c265,_0x3a3a8b),_0x24ebfa=this['remov'+_0xaff9e(0x21d)+_0xaff9e(0x23f)+_0xaff9e(0x223)](_0x24ebfa,_0x434fee[_0xaff9e(0x20b)+_0xaff9e(0x235)+_0xaff9e(0x203)]??[]),_0x24ebfa=this[_0xaff9e(0x20b)+'eKeyw'+_0xaff9e(0x228)](_0x24ebfa,_0x434fee[_0xaff9e(0x20b)+_0xaff9e(0x229)+_0xaff9e(0x228)]??[]);for(const [_0x194b3c,_0x1a7734]of Object[_0xaff9e(0x251)+'es'](_0x582de1))if(_0x56bd70['KFIsE'](_0x194b3c,_0xaff9e(0x211))){for(const _0x255a7a of _0x1a7734)_0x24ebfa=this[_0xaff9e(0x201)+'Patte'+'rn'](_0x24ebfa,_0x255a7a,!0x0);}for(const _0x2dcb21 of _0x434fee[_0xaff9e(0x201)+'Patte'+'rns']??[])_0x24ebfa=this[_0xaff9e(0x201)+_0xaff9e(0x23f)+'rn'](_0x24ebfa,_0x2dcb21,!0x1);return _0x24ebfa=this[_0xaff9e(0x20c)+_0xaff9e(0x24b)+_0xaff9e(0x236)+_0xaff9e(0x226)](_0x24ebfa,_0x46ad3b,_0xada8c4),this['proce'+_0xaff9e(0x227)+_0xaff9e(0x230)](_0x24ebfa,_0x582de1);}[_0x27890c(0x237)+_0x27890c(0x1f4)+_0x27890c(0x1fb)](_0x598ea2,_0x526193){const _0x4fa92e=_0x27890c,_0x2ad2e4=_0x598ea2[_0x4fa92e(0x210)](_0x3b1aa0=>({'text':_0x3b1aa0['text'],'centerX':(_0x3b1aa0[_0x4fa92e(0x213)+_0x4fa92e(0x200)+'x'][_0x4fa92e(0x1f8)]+_0x3b1aa0[_0x4fa92e(0x213)+'ingBo'+'x']['right'])/0x2,'centerY':(_0x3b1aa0['bound'+_0x4fa92e(0x200)+'x'][_0x4fa92e(0x24e)]+_0x3b1aa0['bound'+_0x4fa92e(0x200)+'x']['botto'+'m'])/0x2,'top':_0x3b1aa0['bound'+_0x4fa92e(0x200)+'x'][_0x4fa92e(0x24e)],'bottom':_0x3b1aa0[_0x4fa92e(0x213)+'ingBo'+'x']['botto'+'m'],'left':_0x3b1aa0[_0x4fa92e(0x213)+_0x4fa92e(0x200)+'x'][_0x4fa92e(0x1f8)],'right':_0x3b1aa0[_0x4fa92e(0x213)+_0x4fa92e(0x200)+'x']['right'],'width':_0x3b1aa0[_0x4fa92e(0x213)+_0x4fa92e(0x200)+'x'][_0x4fa92e(0x22e)]-_0x3b1aa0['bound'+_0x4fa92e(0x200)+'x']['left'],'height':_0x3b1aa0[_0x4fa92e(0x213)+'ingBo'+'x'][_0x4fa92e(0x22f)+'m']-_0x3b1aa0[_0x4fa92e(0x213)+'ingBo'+'x']['top'],'slope':_0x3b1aa0[_0x4fa92e(0x244)],'isKeyword':!0x1,'field':''}));return _0x2ad2e4[_0x4fa92e(0x209)]((_0x34abf5,_0x156199)=>Math[_0x4fa92e(0x23a)](_0x34abf5[_0x4fa92e(0x246)+'rY']-_0x156199[_0x4fa92e(0x246)+'rY'])<_0x526193?_0x34abf5[_0x4fa92e(0x1f8)]-_0x156199['left']:_0x34abf5[_0x4fa92e(0x24e)]-_0x156199[_0x4fa92e(0x24e)]),_0x2ad2e4;}[_0x27890c(0x239)+'rBySl'+_0x27890c(0x21b)](_0x36fd10,_0x3db6d7,_0x45a9f1){const _0x4226d7=_0x27890c,_0x4aa9e7={'kzsEm':function(_0x3fe270,_0x2614cc){return _0x3fe270+_0x2614cc;},'dotMM':_0x4226d7(0x238)},_0x32eebc=_0x45a9f1['map'](_0x1387ff=>{const _0x5d4b3d=_0x4226d7;try{return _0x4aa9e7[_0x5d4b3d(0x20e)]===_0x5d4b3d(0x238)?new RegExp(_0x1387ff):[..._0x2898db][_0x5d4b3d(0x224)](_0x56e71e,_0x4aa9e7['kzsEm'](_0x1b452e,_0x28832a))[_0x5d4b3d(0x1fa)]('');}catch{return null;}})[_0x4226d7(0x239)+'r'](_0x214962=>_0x214962!==null);return _0x36fd10[_0x4226d7(0x239)+'r'](_0xa2f3fc=>{const _0x1a2ec1=_0x4226d7;if(Math[_0x1a2ec1(0x23a)](_0xa2f3fc[_0x1a2ec1(0x244)])<=_0x3db6d7)return!0x0;const _0x422f47=_0xa2f3fc[_0x1a2ec1(0x21a)][_0x1a2ec1(0x1f5)]();return _0x32eebc[_0x1a2ec1(0x24c)](_0x147a91=>_0x147a91[_0x1a2ec1(0x214)](_0x422f47));});}['remov'+_0x27890c(0x21d)+_0x27890c(0x23f)+_0x27890c(0x223)](_0x1c5298,_0x4be274){const _0x558167=_0x27890c;if(!_0x4be274[_0x558167(0x217)+'h'])return _0x1c5298;const _0x425089=_0x4be274['map'](_0x3aa07b=>_0x3aa07b['toLow'+_0x558167(0x220)+'e']()['repla'+'ce'](/ /g,''));return _0x1c5298['filte'+'r'](_0xcada06=>{const _0x404a2c=_0x558167,_0x2082e1=_0xcada06['text']['toLow'+_0x404a2c(0x220)+'e']()[_0x404a2c(0x1f9)+'ce'](/ /g,'');return!_0x425089[_0x404a2c(0x24c)](_0x29224c=>_0x29224c[_0x404a2c(0x1fe)+_0x404a2c(0x21c)](_0x2082e1));});}[_0x27890c(0x20b)+_0x27890c(0x229)+_0x27890c(0x228)](_0x10fa42,_0x41e702){const _0x398bd4=_0x27890c;if(!_0x41e702[_0x398bd4(0x217)+'h'])return _0x10fa42;const _0x582984=_0x41e702[_0x398bd4(0x210)](_0x4deb43=>_0x4deb43['toLow'+'erCas'+'e']()[_0x398bd4(0x1f9)+'ce'](/ /g,''));return _0x10fa42[_0x398bd4(0x239)+'r'](_0x434ac1=>{const _0x3c8a74=_0x398bd4,_0x45cb64=_0x434ac1[_0x3c8a74(0x21a)][_0x3c8a74(0x20f)+'erCas'+'e']()[_0x3c8a74(0x1f9)+'ce'](/ /g,'');return!_0x582984[_0x3c8a74(0x1fe)+_0x3c8a74(0x21c)](_0x45cb64);});}[_0x27890c(0x201)+_0x27890c(0x23f)+'rn'](_0x109245,_0x5a6894,_0x91267b){const _0x3d9b6e=_0x27890c,_0x18b758={'UnkoF':function(_0x35bfb9,_0x3442b6){return _0x35bfb9<_0x3442b6;},'dqsYf':function(_0x4c55f7,_0x1e6ea7){return _0x4c55f7(_0x1e6ea7);},'SwPDV':function(_0x1568b1,_0xc5b1c7){return _0x1568b1(_0xc5b1c7);},'oIbQr':function(_0x37353a,_0x48119b,_0x1338e1,_0x105d15){return _0x37353a(_0x48119b,_0x1338e1,_0x105d15);},'TPBLX':function(_0x44e95c,_0x3e6952){return _0x44e95c===_0x3e6952;},'Yunil':function(_0x4050e1,_0x470bf0){return _0x4050e1>=_0x470bf0;},'DiqyG':function(_0x513539,_0x46c77c,_0x321633,_0x58a2ba){return _0x513539(_0x46c77c,_0x321633,_0x58a2ba);}},_0x53eb71=_0x5a6894[_0x3d9b6e(0x1f9)+'ce'](/ /g,'');if(!_0x53eb71)return _0x109245;const _0x170aae=[];let _0x2aeffb=0x0;for(;_0x18b758[_0x3d9b6e(0x22d)](_0x2aeffb,_0x109245[_0x3d9b6e(0x217)+'h']);){const _0x39c138=[];let _0x3fefbf=0x0,_0x248037=_0x2aeffb;for(;_0x18b758[_0x3d9b6e(0x22d)](_0x248037,_0x109245[_0x3d9b6e(0x217)+'h'])&&_0x18b758[_0x3d9b6e(0x22d)](_0x3fefbf,_0x18b758['dqsYf'](p,_0x53eb71));){const _0x580c49=g(_0x109245[_0x248037][_0x3d9b6e(0x21a)]);if(!_0x580c49){_0x248037++;continue;}const _0x42094e=_0x18b758['SwPDV'](p,_0x580c49),_0x3d6531=_0x18b758[_0x3d9b6e(0x250)](h,_0x53eb71,_0x3fefbf,_0x42094e);if(_0x18b758['TPBLX'](_0x580c49,_0x3d6531))_0x39c138['push'](_0x109245[_0x248037]),_0x3fefbf+=_0x42094e,_0x248037++;else break;}_0x39c138[_0x3d9b6e(0x217)+'h']>0x1&&_0x18b758[_0x3d9b6e(0x1fd)](_0x3fefbf,_0x18b758[_0x3d9b6e(0x240)](p,_0x53eb71))?(_0x170aae[_0x3d9b6e(0x22a)](_0x18b758[_0x3d9b6e(0x24f)](x,_0x39c138,_0x5a6894,_0x91267b)),_0x2aeffb=_0x248037):(_0x170aae['push'](_0x109245[_0x2aeffb]),_0x2aeffb++);}return _0x170aae;}[_0x27890c(0x20c)+'Adjac'+_0x27890c(0x236)+'xts'](_0x4ff662,_0x26b29b,_0x102caf){const _0x124d5c=_0x27890c,_0x45e5c2={'mCarp':function(_0xcee119,_0x2b90fd){return _0xcee119===_0x2b90fd;},'yYtFN':function(_0x8cd810,_0x132250){return _0x8cd810>=_0x132250;},'CQpoZ':function(_0x112808,_0x585e7b){return _0x112808/_0x585e7b;},'bQWeu':function(_0x2a6680,_0x5a0958){return _0x2a6680+_0x5a0958;}},_0x3263a7=[];let _0x1bfd65=null,_0x23bfe=!0x1;for(const _0x2437b7 of _0x4ff662){const _0x8cb07=_0x2437b7['text'][_0x124d5c(0x216)+_0x124d5c(0x1f7)](':')||_0x45e5c2[_0x124d5c(0x23e)](_0x2437b7[_0x124d5c(0x21a)],':');!_0x1bfd65||_0x2437b7[_0x124d5c(0x205)+'word']||_0x1bfd65[_0x124d5c(0x205)+_0x124d5c(0x22b)]||_0x23bfe||_0x8cb07||_0x45e5c2[_0x124d5c(0x252)](Math['abs'](_0x1bfd65['cente'+'rY']-_0x2437b7['cente'+'rY']),_0x26b29b)||_0x2437b7[_0x124d5c(0x1f8)]-_0x1bfd65[_0x124d5c(0x22e)]>=_0x102caf?(_0x1bfd65&&_0x3263a7['push'](_0x1bfd65),_0x1bfd65={..._0x2437b7}):(_0x1bfd65['text']+='\x20'+_0x2437b7['text'],_0x1bfd65['top']=Math['min'](_0x1bfd65['top'],_0x2437b7[_0x124d5c(0x24e)]),_0x1bfd65[_0x124d5c(0x22f)+'m']=Math[_0x124d5c(0x20d)](_0x1bfd65[_0x124d5c(0x22f)+'m'],_0x2437b7[_0x124d5c(0x22f)+'m']),_0x1bfd65['left']=Math[_0x124d5c(0x253)](_0x1bfd65[_0x124d5c(0x1f8)],_0x2437b7['left']),_0x1bfd65[_0x124d5c(0x22e)]=Math[_0x124d5c(0x20d)](_0x1bfd65[_0x124d5c(0x22e)],_0x2437b7['right']),_0x1bfd65['cente'+'rX']=_0x45e5c2[_0x124d5c(0x248)](_0x1bfd65['left']+_0x1bfd65['right'],0x2),_0x1bfd65['cente'+'rY']=_0x45e5c2[_0x124d5c(0x21e)](_0x1bfd65[_0x124d5c(0x24e)],_0x1bfd65['botto'+'m'])/0x2,_0x1bfd65[_0x124d5c(0x241)]=_0x1bfd65[_0x124d5c(0x22e)]-_0x1bfd65[_0x124d5c(0x1f8)],_0x1bfd65['heigh'+'t']=_0x1bfd65[_0x124d5c(0x22f)+'m']-_0x1bfd65['top']),_0x23bfe=_0x8cb07;}return _0x1bfd65&&_0x3263a7['push'](_0x1bfd65),_0x3263a7;}[_0x27890c(0x22c)+_0x27890c(0x227)+_0x27890c(0x230)](_0x1f6f97,_0x4e464f){const _0x5370bb=_0x27890c,_0xde660d={'wBTgD':'qQnSO','MJtjf':function(_0x4ae824,_0x4b1d56){return _0x4ae824===_0x4b1d56;}},_0x5bace7={'keywordList':{},'valueList':[]};for(const _0x2187cf of _0x1f6f97){const _0x258afd=_0x2187cf[_0x5370bb(0x21a)]['repla'+'ce'](/ /g,'');_0x2187cf[_0x5370bb(0x205)+'word']=!0x1;for(const [_0x43c0b7,_0x5902a0]of Object[_0x5370bb(0x251)+'es'](_0x4e464f))if(_0x43c0b7!=='dummy'){for(const _0x393d23 of _0x5902a0){if(_0xde660d[_0x5370bb(0x245)]!==_0xde660d[_0x5370bb(0x245)]){const _0x41217d=_0x5a2ce0[_0x5370bb(0x21a)][_0x5370bb(0x20f)+'erCas'+'e']()[_0x5370bb(0x1f9)+'ce'](/ /g,'');return!_0x360487[_0x5370bb(0x1fe)+_0x5370bb(0x21c)](_0x41217d);}else{const _0x7ed7dc=_0x393d23[_0x5370bb(0x1f9)+'ce'](/ /g,'');if(_0xde660d['MJtjf'](_0x258afd,_0x7ed7dc)||_0x258afd[_0x5370bb(0x1f6)+_0x5370bb(0x219)](_0x7ed7dc)){_0x2187cf[_0x5370bb(0x21a)]=_0x258afd[_0x5370bb(0x1f9)+'ce'](/:$/,''),_0x2187cf[_0x5370bb(0x205)+'word']=!0x0,_0x2187cf[_0x5370bb(0x212)]=_0x43c0b7;break;}}}if(_0x2187cf[_0x5370bb(0x205)+_0x5370bb(0x22b)])break;}_0x2187cf[_0x5370bb(0x205)+'word']?(_0x5bace7[_0x5370bb(0x242)+_0x5370bb(0x20a)+'t'][_0x2187cf[_0x5370bb(0x212)]]||(_0x5bace7[_0x5370bb(0x242)+_0x5370bb(0x20a)+'t'][_0x2187cf[_0x5370bb(0x212)]]=[]),_0x5bace7[_0x5370bb(0x242)+'rdLis'+'t'][_0x2187cf[_0x5370bb(0x212)]][_0x5370bb(0x22a)](_0x2187cf)):_0x5bace7['value'+_0x5370bb(0x208)][_0x5370bb(0x22a)](_0x2187cf);}return _0x5bace7;}}function g(_0x360c69){const _0x14000b=_0x27890c,_0x20eb2e={'fiEEw':function(_0x2422d6,_0x3c6328){return _0x2422d6===_0x3c6328;}};return _0x360c69=_0x360c69['trim'](),_0x20eb2e[_0x14000b(0x1ff)](_0x360c69,':')?'':(_0x360c69[_0x14000b(0x216)+'ith'](':')&&(_0x360c69=_0x360c69[_0x14000b(0x224)](0x0,-0x1)),_0x360c69[_0x14000b(0x1f9)+'ce'](/ /g,''));}function p(_0x47b8a0){const _0x2e12fc=_0x27890c;return[..._0x47b8a0][_0x2e12fc(0x217)+'h'];}function h(_0x5b8a05,_0x2a5cbc,_0x4d0e98){const _0x148887=_0x27890c,_0x2b06e8={'Yjjnf':function(_0x10b4c2,_0x373a8a){return _0x10b4c2+_0x373a8a;}};return[..._0x5b8a05][_0x148887(0x224)](_0x2a5cbc,_0x2b06e8[_0x148887(0x247)](_0x2a5cbc,_0x4d0e98))[_0x148887(0x1fa)]('');}function x(_0x5b81ee,_0x382467,_0x54c5d8){const _0x54a373=_0x27890c,_0x4149a9={'CGWUf':function(_0x9a60,_0x896016){return _0x9a60/_0x896016;},'sNuea':function(_0x4f83c5,_0x4bb5de){return _0x4f83c5/_0x4bb5de;},'VdEct':function(_0x3fc7b1,_0x94e4c3){return _0x3fc7b1/_0x94e4c3;},'SFHco':function(_0x512c99,_0x54c742){return _0x512c99+_0x54c742;}};let _0x2e4b4d=_0x4149a9['CGWUf'](0x1,0x0),_0x1b1df0=0x1/0x0,_0x512c07=_0x4149a9[_0x54a373(0x218)](-0x1,0x0),_0x13a312=_0x4149a9[_0x54a373(0x218)](-0x1,0x0),_0x567457=0x0;for(const _0xfe74a7 of _0x5b81ee)_0x2e4b4d=Math[_0x54a373(0x253)](_0x2e4b4d,_0xfe74a7[_0x54a373(0x24e)]),_0x512c07=Math[_0x54a373(0x20d)](_0x512c07,_0xfe74a7[_0x54a373(0x22f)+'m']),_0x1b1df0=Math[_0x54a373(0x253)](_0x1b1df0,_0xfe74a7['left']),_0x13a312=Math[_0x54a373(0x20d)](_0x13a312,_0xfe74a7[_0x54a373(0x22e)]),_0xfe74a7[_0x54a373(0x244)]!==0x0&&(_0x567457=_0xfe74a7[_0x54a373(0x244)]);return{'text':_0x382467,'isKeyword':_0x54c5d8,'field':'','centerX':_0x4149a9[_0x54a373(0x232)](_0x1b1df0+_0x13a312,0x2),'centerY':_0x4149a9['CGWUf'](_0x4149a9['SFHco'](_0x2e4b4d,_0x512c07),0x2),'top':_0x2e4b4d,'bottom':_0x512c07,'left':_0x1b1df0,'right':_0x13a312,'width':_0x13a312-_0x1b1df0,'height':_0x512c07-_0x2e4b4d,'slope':_0x567457};}function _0x1a80(){const _0x2a5568=['nJC0neHhAun1uW','ndD3zxLKt1m','EvrVBgu','BunHCNa','ugf0Dgu','zhfZwwy','D2LKDgG','A2v5D28','nty4nJmYnMLxC2XtyG','C2XVCgu','D0juz0q','y2vUDgu','wwPQBMy','q1fWB1O','mtbXuNrkqKu','DgLVBNm','qwrQywm','C29Tzq','ChjLChi','Dg9W','rgLXEuC','B0LIuxi','zw50CMK','EvL0rK4','BwLU','B2nLC3m','mti3mtC5nLztzM9Mva','y3rbBMq','DhjPBq','C3rHCNq','AxrO','BgvMDa','CMvWBge','AM9PBG','u29YDa','mZy3meLKAerfBq','wxvUAwW','Aw5JBhu','zMLfrxC','Aw5NqM8','BwvYz2u','rxHJzxa','zxjUCW','CKj5u2W','AxnlzxK','ody5ntaZnK53thvvrq','EfrVBgu','tgLZDa','C29YDa','CMrmAxm','CMvTB3y','z3jVDxa','Bwf4','zg90tu0','Dg9mB3C','BwfW','zhvTBxK','zMLLBgq','yM91BMq','DgvZDa','mJeZmduXmLztCfjHyq','zw5KC1C','BgvUz3q','C051zwe','C1DPDgG','Dgv4Da','B3bL','zgvZ','zvrLEhq','yLfxzxu','Bwf4u2W','zxjdyxm','nde3ndzgvejiAu8','nZe1odmWChHpuLnJ','CM5Z','C2XPy2u','CMfUy2u','EhrZ','C3nlzxK','B3jKCW','zuTLExC','ChvZAa','D29Yza','ChjVy2u','vw5RB0y','CMLNAhq','yM90Dg8','D29Yzhm','mZnxwLzKCKC','vMrfy3q','og1tsxnKEG','CMf3','zvbHDhq','zw50vgu','zxH0CMe','AvjgyNq','zMLSDgu','ywjZ'];_0x1a80=function(){return _0x2a5568;};return _0x1a80();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x42218e=_0x4fc3;function _0x4fc3(_0x64ad6b,_0x33ed76){_0x64ad6b=_0x64ad6b-0x15c;const _0x4cca87=_0x4cca();let _0x4fc3cc=_0x4cca87[_0x64ad6b];if(_0x4fc3['ZylSfT']===undefined){var _0x5d2f50=function(_0x252933){const _0x45944a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4c1209='',_0x13c31='';for(let _0x16dab8=0x0,_0xb668e,_0x28c8eb,_0x29be76=0x0;_0x28c8eb=_0x252933['charAt'](_0x29be76++);~_0x28c8eb&&(_0xb668e=_0x16dab8%0x4?_0xb668e*0x40+_0x28c8eb:_0x28c8eb,_0x16dab8++%0x4)?_0x4c1209+=String['fromCharCode'](0xff&_0xb668e>>(-0x2*_0x16dab8&0x6)):0x0){_0x28c8eb=_0x45944a['indexOf'](_0x28c8eb);}for(let _0x9f717e=0x0,_0x33e4a2=_0x4c1209['length'];_0x9f717e<_0x33e4a2;_0x9f717e++){_0x13c31+='%'+('00'+_0x4c1209['charCodeAt'](_0x9f717e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x13c31);};_0x4fc3['IwqCVI']=_0x5d2f50,_0x4fc3['JSkbdh']={},_0x4fc3['ZylSfT']=!![];}const _0x56c2e7=_0x4cca87[0x0],_0x3f4162=_0x64ad6b+_0x56c2e7,_0x76ddfe=_0x4fc3['JSkbdh'][_0x3f4162];return!_0x76ddfe?(_0x4fc3cc=_0x4fc3['IwqCVI'](_0x4fc3cc),_0x4fc3['JSkbdh'][_0x3f4162]=_0x4fc3cc):_0x4fc3cc=_0x76ddfe,_0x4fc3cc;}function _0x4cca(){const _0x18d9e2=['BxOTANm','vg9W','CNrLzey','DgLVBI8','zw50vgu','odq1nZnsswzcA0O','Ag9ZDdO','ANnVBG','yxaTBM8','yMfZzty','qMXVy2S','cNGTyw0','zgLNzxm','yxDZx3q','qM91BMq','l2PWzwC','z2LMEq','C2vJCMu','C2HHmJu','uNLbzM0','zxH0CMe','se1bqY0','ssbLCNi','y2XVC2u','DgfYz2u','q0rPEMy','ChvZAa','z25HDhu','C3vWCg8','BgvUz3q','Cgu7Ag8','C3rHDhu','BNqTDhK','yxrLo3G','mZC5ogzbq3jgtq','BM93','rfz3rLO','tgvMDa','yxDZnf8','mtbSteXKs2S','CM91BMq','ue9tva','nJa0odaXohnvELrjsa','vhLWzq','zgvUy2u','EejvuwK','yNvPBgq','C2XPy2u','CMvlzxK','ywnJzxm','AM9PBG','zxn0','ywrLCNm','Ahr0Chm','rhfqrue','zw50Awe','CMvJB2C','A2L1BgO','DxbKyxq','yxbWBgK','EI10yxi','Dgv4Da','Agv4','ywn0lG','ug1OtNi','shvyyuK','z0rMzwq','vvLYvum','qvDtnc0','ywn0','r2vVBwu','rg9JDw0','DgLTzw8','ntmWntzJuMTxB3y','qvDtna','A3rQywq','mJCZnZCZnKL3qMvrqW','ienYzwq','Cw1ADNK','q29UzMK','v09sra','nJq0EePKEMjM','CMvNAw8','y3qGqva','Cgu6yxa','BML6zq','EI1Kyxq','sgvPz2G','ref3B0u','zxrLy3q','zK9Nwhy','vxbtzuK','Aw5N','lcbtAwC','z2v0u2K','C3nlzxK','yw16lwq','nZyWq2HhzNru','CMvKDwm','v2LKDgG','qvDtifq','vgv4Da','BI94lwe','mtaXodmZowzxvxbJwa','AgnHu2G','DefJy2u','ywn0lKq','y2f0Aw8','B25HD3m','qvDtqxu','BMfTzq','Dg9ju08','Dhj5','y29UDgu','teLorq','l3bUzW','lMfTyxO','Dgv4Dhi','B24Tms4','u0HbmJu','C0TLEuK','u3rYAw4','z2v0oLq','Aw1Hz2u','CMvXDwu','Ec1HBxO','C3qTmG','zMDYALe','Aw5NqM8','lwfTEI0','C3q7Ec0','BMf0Dxi','wvP4Cvy','lwPZB24','B3iG','ywzVuvO','CMvWBge','C3rYAw4','DgvJDeq','mJu5otyZnxLbzvrAtq'];_0x4cca=function(){return _0x18d9e2;};return _0x4cca();}(function(_0x5ea931,_0x454abe){const _0x319057=_0x4fc3,_0x70c1b5=_0x5ea931();while(!![]){try{const _0x58a24c=-parseInt(_0x319057(0x1be))/0x1+-parseInt(_0x319057(0x17e))/0x2*(parseInt(_0x319057(0x15c))/0x3)+parseInt(_0x319057(0x1a3))/0x4+-parseInt(_0x319057(0x1e2))/0x5+parseInt(_0x319057(0x181))/0x6+-parseInt(_0x319057(0x1a8))/0x7*(-parseInt(_0x319057(0x1a0))/0x8)+parseInt(_0x319057(0x179))/0x9*(-parseInt(_0x319057(0x1b8))/0xa);if(_0x58a24c===_0x454abe)break;else _0x70c1b5['push'](_0x70c1b5['shift']());}catch(_0x1e8fd4){_0x70c1b5['push'](_0x70c1b5['shift']());}}}(_0x4cca,0x905b8));import{createHmac as _0x32d910,createHash as _0x33cfa7}from'node:crypto';export class AwsDriver{['acces'+_0x42218e(0x1cf)+'d'];[_0x42218e(0x168)+_0x42218e(0x1c0)+_0x42218e(0x1b6)];[_0x42218e(0x1a9)+'n'];[_0x42218e(0x19f)+'ut'];constructor(_0x34848d){const _0x5cd9bd=_0x42218e,_0x4790e7={'DqPEA':_0x5cd9bd(0x15f)+'rthea'+_0x5cd9bd(0x1d5),'HuXaI':function(_0x5af069,_0x3a39d6){return _0x5af069*_0x3a39d6;}};this[_0x5cd9bd(0x188)+_0x5cd9bd(0x1cf)+'d']=_0x34848d['acces'+'sKeyI'+'d']??'',this['secre'+'tAcce'+_0x5cd9bd(0x1b6)]=_0x34848d[_0x5cd9bd(0x168)+_0x5cd9bd(0x1c0)+_0x5cd9bd(0x1b6)]??'',this[_0x5cd9bd(0x1a9)+'n']=_0x34848d[_0x5cd9bd(0x1a9)+'n']??_0x4790e7[_0x5cd9bd(0x18d)],this[_0x5cd9bd(0x19f)+'ut']=_0x4790e7[_0x5cd9bd(0x198)](_0x34848d[_0x5cd9bd(0x19f)+'utSec']??0x1e,0x3e8);}[_0x42218e(0x1c5)](){const _0x2b3306=_0x42218e,_0x3f7e43={'gDfed':'aws_t'+_0x2b3306(0x16b)+'ct'};return _0x3f7e43[_0x2b3306(0x199)];}[_0x42218e(0x173)+_0x42218e(0x1e5)+'ormat'+'s'](){const _0x422f87=_0x42218e,_0x5b61dc={'sGGFQ':_0x422f87(0x192)+_0x422f87(0x1c2)+'n/pdf'};return[_0x422f87(0x1d2)+_0x422f87(0x166),'image'+_0x422f87(0x1ca),_0x5b61dc['sGGFQ']];}async[_0x42218e(0x16e)](){}async[_0x42218e(0x18f)+_0x42218e(0x1ac)](_0x34a726,_0x529bcb){const _0x102faf=_0x42218e,_0x3f37a9={'UYrUC':function(_0x36f73a,_0x52e369){return _0x36f73a+_0x52e369;},'afoQZ':function(_0x5293c3,_0x4e87ce){return _0x5293c3*_0x4e87ce;},'PXhwk':function(_0x55d78b,_0x262063){return _0x55d78b/_0x262063;},'YZxqV':_0x102faf(0x160)+'4','RyAfm':function(_0x1b02b2,_0xed828f,_0x136705){return _0x1b02b2(_0xed828f,_0x136705);},'qmZvy':'POST','WFLUu':'Textr'+_0x102faf(0x1c1)+_0x102faf(0x1b0)+_0x102faf(0x19e)+_0x102faf(0x1e7)+'xt','kiulj':function(_0x18ff07,_0x5800c0){return _0x18ff07===_0x5800c0;},'UpSeI':_0x102faf(0x1a7),'xBUQi':'ktjad','jVcrK':function(_0x259901,_0x267e8f){return _0x259901+_0x267e8f;},'DVwFZ':function(_0x1f2f74,_0x4866c4){return _0x1f2f74*_0x4866c4;},'fOgXv':function(_0x4c7d59,_0x1065df){return _0x4c7d59/_0x1065df;}},_0xf7cab5=Date[_0x102faf(0x17a)](),_0xcb9a4c=_0x102faf(0x1cc)+_0x102faf(0x196)+this[_0x102faf(0x1a9)+'n']+(_0x102faf(0x1cb)+_0x102faf(0x1c3)+'.com'),_0x1d35be=_0x102faf(0x18c)+'://'+_0xcb9a4c,_0x655306=JSON[_0x102faf(0x1e0)+_0x102faf(0x167)]({'Document':{'Bytes':_0x34a726['toStr'+_0x102faf(0x1b3)](_0x3f37a9[_0x102faf(0x1db)])}}),_0x336bec=new Date()[_0x102faf(0x1c6)+_0x102faf(0x1d0)+'g']()[_0x102faf(0x1df)+'ce'](/[-:]/g,'')[_0x102faf(0x1df)+'ce'](/\.\d{3}/,''),_0x47f6ef=_0x336bec[_0x102faf(0x186)](0x0,0x8),_0x437307=this[_0x102faf(0x185)+'AWSAu'+'th'](_0xcb9a4c,_0x655306,_0x336bec,_0x47f6ef),_0x1e5c74=await _0x3f37a9[_0x102faf(0x16a)](fetch,_0x1d35be,{'method':_0x3f37a9[_0x102faf(0x1a5)],'headers':{..._0x437307,'Content-Type':'appli'+_0x102faf(0x1c2)+_0x102faf(0x1bd)+_0x102faf(0x1e3)+_0x102faf(0x1cd)+'1','X-Amz-Target':_0x3f37a9['WFLUu']},'body':_0x655306,'signal':AbortSignal[_0x102faf(0x19f)+'ut'](this[_0x102faf(0x19f)+'ut'])});if(!_0x1e5c74['ok']){const _0x824737=await _0x1e5c74[_0x102faf(0x194)]();throw new Error(_0x102faf(0x1bb)+_0x102faf(0x16b)+_0x102faf(0x1aa)+_0x102faf(0x16d)+_0x102faf(0x1dd)+_0x1e5c74[_0x102faf(0x176)+'s']+':\x20'+_0x824737);}const _0x8d56f8=await _0x1e5c74[_0x102faf(0x15e)](),_0x5cd582=[],_0x1cf543=[];for(const _0x28ad11 of _0x8d56f8[_0x102faf(0x161)+'s']??[])if(_0x3f37a9[_0x102faf(0x190)](_0x28ad11[_0x102faf(0x161)+_0x102faf(0x182)],_0x3f37a9[_0x102faf(0x1b2)])){if(_0x3f37a9[_0x102faf(0x190)](_0x102faf(0x1a2),_0x3f37a9[_0x102faf(0x184)])){const _0x110ab2=_0x28ad11[_0x102faf(0x19d)+_0x102faf(0x1c7)]?.[_0x102faf(0x165)+_0x102faf(0x1d7)+'x']??{},_0x575359=_0x110ab2[_0x102faf(0x1ba)]??0x0,_0x42f61c=_0x110ab2['Heigh'+'t']??0x0,_0xfa66fe=_0x110ab2[_0x102faf(0x17c)]??0x0,_0x3de0c8=_0x110ab2[_0x102faf(0x1e4)]??0x0,_0x1bb6cb=_0xfa66fe+_0x575359,_0x57174a=_0x3f37a9['jVcrK'](_0x3de0c8,_0x42f61c),_0x5a7291=0x3e8,_0x157751=Math['round'](_0xfa66fe*_0x5a7291),_0x451a37=Math['round'](_0x3f37a9[_0x102faf(0x17b)](_0x3de0c8,_0x5a7291)),_0x23dffe=Math[_0x102faf(0x17f)](_0x1bb6cb*_0x5a7291),_0x33aaaa=Math[_0x102faf(0x17f)](_0x3f37a9[_0x102faf(0x17b)](_0x57174a,_0x5a7291));_0x5cd582[_0x102faf(0x171)]({'text':_0x28ad11[_0x102faf(0x1bc)]??'','boundingBox':{'top':_0x451a37,'left':_0x157751,'right':_0x23dffe,'bottom':_0x33aaaa},'centerX':(_0x157751+_0x23dffe)/0x2,'centerY':(_0x451a37+_0x33aaaa)/0x2,'slope':0x0,'confidence':(_0x28ad11[_0x102faf(0x1a6)+'dence']??0x0)/0x64,'lineBreak':!0x1});}else{const _0x2d662d=_0x1fec8b[_0x102faf(0x19d)+_0x102faf(0x1c7)]?.[_0x102faf(0x165)+_0x102faf(0x1d7)+'x']??{},_0x38bf37=_0x2d662d[_0x102faf(0x1ba)]??0x0,_0x39c9da=_0x2d662d[_0x102faf(0x1ae)+'t']??0x0,_0x3a0a1b=_0x2d662d[_0x102faf(0x17c)]??0x0,_0x3c6bc3=_0x2d662d[_0x102faf(0x1e4)]??0x0,_0x31e140=_0x3f37a9[_0x102faf(0x19a)](_0x3a0a1b,_0x38bf37),_0x4ec626=_0x3c6bc3+_0x39c9da,_0x54cefc=0x3e8,_0x2835b6=_0x2382ab[_0x102faf(0x17f)](_0x3a0a1b*_0x54cefc),_0x5d4511=_0x33542b[_0x102faf(0x17f)](_0x3c6bc3*_0x54cefc),_0x5f2013=_0x233659[_0x102faf(0x17f)](_0x31e140*_0x54cefc),_0x2605bd=_0x5006a7[_0x102faf(0x17f)](_0x3f37a9[_0x102faf(0x1de)](_0x4ec626,_0x54cefc));_0x2e1e36[_0x102faf(0x171)]({'text':_0x20960a[_0x102faf(0x1bc)]??'','boundingBox':{'top':_0x5d4511,'left':_0x2835b6,'right':_0x5f2013,'bottom':_0x2605bd},'centerX':_0x3f37a9['UYrUC'](_0x2835b6,_0x5f2013)/0x2,'centerY':_0x3f37a9[_0x102faf(0x19a)](_0x5d4511,_0x2605bd)/0x2,'slope':0x0,'confidence':_0x3f37a9['PXhwk'](_0x3af695[_0x102faf(0x1a6)+'dence']??0x0,0x64),'lineBreak':!0x1});}}else _0x3f37a9[_0x102faf(0x190)](_0x28ad11[_0x102faf(0x161)+'Type'],_0x102faf(0x1c9))&&_0x1cf543[_0x102faf(0x171)](_0x28ad11['Text']??'');const _0x36ca3b=_0x1cf543[_0x102faf(0x189)]('\x0a'),_0x5929e0=_0x5cd582[_0x102faf(0x174)+'h']>0x0?_0x3f37a9[_0x102faf(0x1b1)](_0x5cd582[_0x102faf(0x1b9)+'e']((_0x1f2e42,_0x4def10)=>_0x1f2e42+_0x4def10['confi'+_0x102faf(0x183)],0x0),_0x5cd582['lengt'+'h']):0x0;return{'provider':_0x102faf(0x164)+_0x102faf(0x16b)+'ct','providerRaw':_0x8d56f8,'fullText':_0x36ca3b,'processingMs':Date[_0x102faf(0x17a)]()-_0xf7cab5,'processedAt':new Date()[_0x102faf(0x1c6)+_0x102faf(0x1d0)+'g'](),'confidence':_0x5929e0,'pages':[{'pageNum':0x1,'width':0x3e8,'height':0x3e8,'text':_0x36ca3b,'blocks':_0x5cd582}]};}[_0x42218e(0x185)+_0x42218e(0x1c4)+'th'](_0x198fd7,_0x25bb0c,_0x5e230e,_0x3ac3a1){const _0x88fde2=_0x42218e,_0xd4a9f3={'PmhNr':_0x88fde2(0x19b)+_0x88fde2(0x16c)+_0x88fde2(0x1ce)+'6','DAwoE':function(_0x2d8ea6,_0x2998ca){return _0x2d8ea6(_0x2998ca);},'CDizf':_0x88fde2(0x195),'hcaSh':_0x88fde2(0x1c8)+'nt-ty'+_0x88fde2(0x175)+_0x88fde2(0x1d9)+_0x88fde2(0x1b7)+_0x88fde2(0x178)+_0x88fde2(0x1d8)+_0x88fde2(0x16f)+'t','hUCOY':_0x88fde2(0x180)},_0x4491fc=_0x88fde2(0x1cc)+_0x88fde2(0x19c),_0x13a807=_0xd4a9f3[_0x88fde2(0x197)],_0x43b62e=_0x3ac3a1+'/'+this[_0x88fde2(0x1a9)+'n']+'/'+_0x4491fc+('/aws4'+'_requ'+_0x88fde2(0x18a)),_0x4e7178=_0xd4a9f3[_0x88fde2(0x1af)](_0x33cfa7,_0x88fde2(0x169)+'6')[_0x88fde2(0x191)+'e'](_0x25bb0c)[_0x88fde2(0x163)+'t'](_0xd4a9f3[_0x88fde2(0x170)]),_0x58ca99=_0x88fde2(0x1c8)+_0x88fde2(0x177)+_0x88fde2(0x1ab)+'plica'+_0x88fde2(0x1e6)+_0x88fde2(0x1d4)+_0x88fde2(0x1dc)+'-1.1\x0a'+_0x88fde2(0x15d)+_0x198fd7+(_0x88fde2(0x162)+_0x88fde2(0x1ad)+'e:')+_0x5e230e+(_0x88fde2(0x162)+_0x88fde2(0x193)+_0x88fde2(0x1d1)+_0x88fde2(0x16b)+'ct.De'+_0x88fde2(0x1e1)+'ocume'+'ntTex'+'t\x0a'),_0x59b327=_0xd4a9f3[_0x88fde2(0x1bf)],_0x115247=[_0xd4a9f3['hUCOY'],'/','',_0x58ca99,_0x59b327,_0x4e7178][_0x88fde2(0x189)]('\x0a'),_0x37249f=[_0x13a807,_0x5e230e,_0x43b62e,_0x33cfa7(_0x88fde2(0x169)+'6')[_0x88fde2(0x191)+'e'](_0x115247)[_0x88fde2(0x163)+'t'](_0x88fde2(0x195))][_0x88fde2(0x189)]('\x0a'),_0x4a3c18=this['getSi'+_0x88fde2(0x172)+_0x88fde2(0x187)](_0x3ac3a1,_0x4491fc),_0x56bc67=_0x32d910(_0x88fde2(0x169)+'6',_0x4a3c18)[_0x88fde2(0x191)+'e'](_0x37249f)[_0x88fde2(0x163)+'t'](_0xd4a9f3[_0x88fde2(0x170)]),_0x7248b8=_0x13a807+(_0x88fde2(0x1a4)+_0x88fde2(0x18e)+'l=')+this[_0x88fde2(0x188)+'sKeyI'+'d']+'/'+_0x43b62e+(_0x88fde2(0x1b4)+'nedHe'+_0x88fde2(0x18b)+'=')+_0x59b327+(_0x88fde2(0x1b4)+_0x88fde2(0x1da)+'e=')+_0x56bc67;return{'Host':_0x198fd7,'X-Amz-Date':_0x5e230e,'Authorization':_0x7248b8};}[_0x42218e(0x1b5)+_0x42218e(0x172)+_0x42218e(0x187)](_0x1cb48c,_0x293e37){const _0x1bfd05=_0x42218e,_0x4ab7b3={'fgrjQ':_0x1bfd05(0x169)+'6'},_0x17e01a=_0x32d910('sha25'+'6',_0x1bfd05(0x1a1)+this[_0x1bfd05(0x168)+_0x1bfd05(0x1c0)+'ssKey'])[_0x1bfd05(0x191)+'e'](_0x1cb48c)[_0x1bfd05(0x163)+'t'](),_0xa54732=_0x32d910(_0x4ab7b3[_0x1bfd05(0x1d6)],_0x17e01a)[_0x1bfd05(0x191)+'e'](this[_0x1bfd05(0x1a9)+'n'])[_0x1bfd05(0x163)+'t'](),_0x18c0dc=_0x32d910(_0x1bfd05(0x169)+'6',_0xa54732)[_0x1bfd05(0x191)+'e'](_0x293e37)[_0x1bfd05(0x163)+'t']();return _0x32d910('sha25'+'6',_0x18c0dc)[_0x1bfd05(0x191)+'e'](_0x1bfd05(0x17d)+_0x1bfd05(0x1d3)+'st')['diges'+'t']();}}
|
|
1
|
+
'use strict';const _0x99cbbc=_0x5eb5;function _0x5eb5(_0x5d5836,_0xdbc730){_0x5d5836=_0x5d5836-0x116;const _0x19c315=_0x19c3();let _0x5eb5b7=_0x19c315[_0x5d5836];if(_0x5eb5['hpEFGq']===undefined){var _0x1fe1db=function(_0x1f0c52){const _0x4ce699='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x36e799='',_0x5e9322='';for(let _0x2eff33=0x0,_0x14ad0c,_0x17806f,_0x2867e6=0x0;_0x17806f=_0x1f0c52['charAt'](_0x2867e6++);~_0x17806f&&(_0x14ad0c=_0x2eff33%0x4?_0x14ad0c*0x40+_0x17806f:_0x17806f,_0x2eff33++%0x4)?_0x36e799+=String['fromCharCode'](0xff&_0x14ad0c>>(-0x2*_0x2eff33&0x6)):0x0){_0x17806f=_0x4ce699['indexOf'](_0x17806f);}for(let _0x518ed0=0x0,_0x187f08=_0x36e799['length'];_0x518ed0<_0x187f08;_0x518ed0++){_0x5e9322+='%'+('00'+_0x36e799['charCodeAt'](_0x518ed0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5e9322);};_0x5eb5['AuwYSv']=_0x1fe1db,_0x5eb5['icinFf']={},_0x5eb5['hpEFGq']=!![];}const _0x256173=_0x19c315[0x0],_0x4cabda=_0x5d5836+_0x256173,_0x3195e7=_0x5eb5['icinFf'][_0x4cabda];return!_0x3195e7?(_0x5eb5b7=_0x5eb5['AuwYSv'](_0x5eb5b7),_0x5eb5['icinFf'][_0x4cabda]=_0x5eb5b7):_0x5eb5b7=_0x3195e7,_0x5eb5b7;}(function(_0x53ed7e,_0x5225d4){const _0x5cde0e=_0x5eb5,_0x127194=_0x53ed7e();while(!![]){try{const _0x2ed2c2=parseInt(_0x5cde0e(0x156))/0x1+parseInt(_0x5cde0e(0x170))/0x2+parseInt(_0x5cde0e(0x190))/0x3*(-parseInt(_0x5cde0e(0x189))/0x4)+parseInt(_0x5cde0e(0x147))/0x5+-parseInt(_0x5cde0e(0x15e))/0x6*(-parseInt(_0x5cde0e(0x16d))/0x7)+parseInt(_0x5cde0e(0x14e))/0x8+-parseInt(_0x5cde0e(0x191))/0x9;if(_0x2ed2c2===_0x5225d4)break;else _0x127194['push'](_0x127194['shift']());}catch(_0x2570d4){_0x127194['push'](_0x127194['shift']());}}}(_0x19c3,0x1e1e0));function _0x19c3(){const _0x3b6096=['AxfVt2S','CNrLzey','yxbWBgK','lwPZB24','lcbtAwC','Dgv4Dhi','C3qTmG','u0HbmJu','zgLNzxm','AM9PBG','Dgv4Da','B2n1Bwu','u3rYAw4','qM91BMq','vgv4Da','C2HHmJu','Ag9ZDdO','tfLjEK0','CMvWBge','sKHjthm','C3vWCg8','ywrLCNm','yw16lwq','B24Tms4','yNvPBgq','vhLWzq','v09sra','ueD0rfy','C0TLEuK','Aw1Hz2u','zxrLy3q','l2f3CZq','yMfZzty','Ahr0Chm','se1bqY0','BMf0Dxi','ssbLCNi','lMnVBq','B3jTyxq','B2jfEgG','ChvZAa','B25HD3m','v2LKDgG','BM93','ywnJzxm','uMzZCfa','yxDZx3q','l3bUzW','tgvMDa','vgv4Dhi','wfb1B2C','mta2mte1AuD6AvrO','l2PWzwC','qvDtnc0','BgvUz3q','CMvNAw8','q29UzMK','y0Tcuuq','mta4nJy0s2LMzfvM','Eez5uvy','D3H6y0i','y3qUrgu','CMvlzxK','ALPiAK8','zw50Awe','CMvKDwm','otmZntrRsvr2uey','D3Ljwgq','ywn0lKq','BMfTzq','Cgu7Ag8','Ec1HBxO','lMfTyxO','BNruzxG','mJe0mKLTuvDQyG','DgLTzw8','DxbKyxq','y29UDgu','C2XPy2u','BMvKsgu','yxaTBM8','cNGTyw0','AxDvwhK','oI8V','lwfTEI0','Aw5NqM8','C3nlzxK','EI1Kyxq','z2v0u2K','otmXs2z2yK9u','yxDZnf8','y2niCwe','mZeXntGYqMjSEKTj','vM9SA1O','x3jLCxu','CM91BMq','B3iG','qvDtna','Dhj5','z25HDhu','r2vVBwu','qMXVy2S','Aw5N','DgLVBI8','BI94lwe','vg9W','qvDtqxu','zgvUy2u','teLorq','zujUu0K','ANnVBG','BxOTANm','CMvJB2C','Cgu6yxa','ienYzwq','BML6zq','Agv4','nti0mfHtDKXnsa','AwHbDxy','zxn0','sgvPz2G','ve1jsKO','y2f0Aw8','BNqTDhK','nJLVEgLXBu0','mtyWmtq3ohLfvvzQuq','DefJy2u','CNrOzwe','C2vJCMu','zxH0CMe'];_0x19c3=function(){return _0x3b6096;};return _0x19c3();}import{createHmac as _0x376033,createHash as _0x4e9de4}from'node:crypto';export class AwsDriver{[_0x99cbbc(0x140)+_0x99cbbc(0x130)+'d'];[_0x99cbbc(0x194)+'tAcce'+_0x99cbbc(0x16a)];[_0x99cbbc(0x14b)+'n'];[_0x99cbbc(0x15f)+'ut'];constructor(_0x336932){const _0x2a79bd=_0x99cbbc,_0x4de55c={'wxzcB':_0x2a79bd(0x164)+_0x2a79bd(0x193)+_0x2a79bd(0x11a),'cKBQD':function(_0x1d7a64,_0x50ab7d){return _0x1d7a64*_0x50ab7d;}};this['acces'+_0x2a79bd(0x130)+'d']=_0x336932[_0x2a79bd(0x140)+'sKeyI'+'d']??'',this[_0x2a79bd(0x194)+_0x2a79bd(0x192)+_0x2a79bd(0x16a)]=_0x336932[_0x2a79bd(0x194)+_0x2a79bd(0x192)+_0x2a79bd(0x16a)]??'',this[_0x2a79bd(0x14b)+'n']=_0x336932[_0x2a79bd(0x14b)+'n']??_0x4de55c[_0x2a79bd(0x150)],this[_0x2a79bd(0x15f)+'ut']=_0x4de55c[_0x2a79bd(0x14d)](_0x336932[_0x2a79bd(0x15f)+'utSec']??0x1e,0x3e8);}[_0x99cbbc(0x159)](){const _0x3ab12f=_0x99cbbc;return _0x3ab12f(0x142)+_0x3ab12f(0x195)+'ct';}[_0x99cbbc(0x128)+_0x99cbbc(0x197)+_0x99cbbc(0x13a)+'s'](){const _0x87adf9=_0x99cbbc,_0x3b68f1={'XPuog':_0x87adf9(0x131)+_0x87adf9(0x143)};return['image'+_0x87adf9(0x148),_0x3b68f1[_0x87adf9(0x146)],'appli'+_0x87adf9(0x18e)+'n/pdf'];}async['close'](){}async[_0x99cbbc(0x184)+_0x99cbbc(0x187)](_0x26e9a9,_0x49b2f9){const _0x4f63e3=_0x99cbbc,_0x1c05ce={'obExh':_0x4f63e3(0x134)+'4','PGtDV':function(_0x2f3343,_0x45bf25,_0x42a493){return _0x2f3343(_0x45bf25,_0x42a493);},'ccHqa':_0x4f63e3(0x12e),'ihAuv':function(_0xb3b75b,_0xe3a874){return _0xb3b75b*_0xe3a874;},'iqoOk':function(_0x39c783,_0x25d370){return _0x39c783+_0x25d370;},'wyIXd':function(_0xf7f1b1,_0x38ec9b){return _0xf7f1b1/_0x38ec9b;},'baEYI':function(_0x5889e9,_0x350005){return _0x5889e9>_0x350005;},'JHILs':function(_0x48d697,_0x34160d){return _0x48d697/_0x34160d;},'LYIzM':_0x4f63e3(0x142)+_0x4f63e3(0x195)+'ct','VolkZ':function(_0x58049e,_0x2c1793){return _0x58049e-_0x2c1793;}},_0x1ca1d3=Date[_0x4f63e3(0x13f)](),_0x569483=_0x4f63e3(0x119)+'act.'+this['regio'+'n']+(_0x4f63e3(0x15c)+_0x4f63e3(0x13d)+_0x4f63e3(0x139)),_0x39c9d9=_0x4f63e3(0x135)+_0x4f63e3(0x167)+_0x569483,_0x10be79=JSON['strin'+'gify']({'Document':{'Bytes':_0x26e9a9['toStr'+_0x4f63e3(0x17a)](_0x1c05ce[_0x4f63e3(0x13b)])}}),_0x1dd82f=new Date()['toISO'+_0x4f63e3(0x120)+'g']()[_0x4f63e3(0x126)+'ce'](/[-:]/g,'')['repla'+'ce'](/\.\d{3}/,''),_0x2e47f0=_0x1dd82f[_0x4f63e3(0x162)](0x0,0x8),_0x5e18a3=this[_0x4f63e3(0x12c)+_0x4f63e3(0x17e)+'th'](_0x569483,_0x10be79,_0x1dd82f,_0x2e47f0),_0x47fe51=await _0x1c05ce[_0x4f63e3(0x12f)](fetch,_0x39c9d9,{'method':'POST','headers':{..._0x5e18a3,'Content-Type':_0x4f63e3(0x116)+_0x4f63e3(0x18e)+_0x4f63e3(0x17c)+_0x4f63e3(0x183)+_0x4f63e3(0x12b)+'1','X-Amz-Target':_0x4f63e3(0x145)+_0x4f63e3(0x158)+_0x4f63e3(0x132)+'Docum'+'entTe'+'xt'},'body':_0x10be79,'signal':AbortSignal[_0x4f63e3(0x15f)+'ut'](this[_0x4f63e3(0x15f)+'ut'])});if(!_0x47fe51['ok']){const _0x8f219b=await _0x47fe51[_0x4f63e3(0x11e)]();throw new Error('AWS\x20T'+'extra'+'ct\x20AP'+_0x4f63e3(0x138)+_0x4f63e3(0x174)+_0x47fe51['statu'+'s']+':\x20'+_0x8f219b);}const _0x508863=await _0x47fe51[_0x4f63e3(0x182)](),_0x21b338=[],_0x124315=[];for(const _0x4b11ff of _0x508863[_0x4f63e3(0x179)+'s']??[])if(_0x4b11ff[_0x4f63e3(0x179)+_0x4f63e3(0x12d)]===_0x1c05ce[_0x4f63e3(0x16f)]){const _0x546ed5=_0x4b11ff[_0x4f63e3(0x178)+_0x4f63e3(0x176)]?.[_0x4f63e3(0x121)+_0x4f63e3(0x169)+'x']??{},_0x4d8078=_0x546ed5[_0x4f63e3(0x13e)]??0x0,_0xb03ab2=_0x546ed5[_0x4f63e3(0x18c)+'t']??0x0,_0x5ec29a=_0x546ed5[_0x4f63e3(0x144)]??0x0,_0x1995a8=_0x546ed5[_0x4f63e3(0x17d)]??0x0,_0x58f8c9=_0x5ec29a+_0x4d8078,_0x285a70=_0x1995a8+_0xb03ab2,_0x4cc5a7=0x3e8,_0x5cd433=Math[_0x4f63e3(0x173)](_0x5ec29a*_0x4cc5a7),_0x51b035=Math['round'](_0x1c05ce[_0x4f63e3(0x18a)](_0x1995a8,_0x4cc5a7)),_0x8efcd9=Math['round'](_0x1c05ce[_0x4f63e3(0x18a)](_0x58f8c9,_0x4cc5a7)),_0x24b730=Math[_0x4f63e3(0x173)](_0x285a70*_0x4cc5a7);_0x21b338['push']({'text':_0x4b11ff[_0x4f63e3(0x122)]??'','boundingBox':{'top':_0x51b035,'left':_0x5cd433,'right':_0x8efcd9,'bottom':_0x24b730},'centerX':_0x1c05ce[_0x4f63e3(0x196)](_0x5cd433,_0x8efcd9)/0x2,'centerY':_0x1c05ce['wyIXd'](_0x51b035+_0x24b730,0x2),'slope':0x0,'confidence':_0x1c05ce[_0x4f63e3(0x157)](_0x4b11ff[_0x4f63e3(0x14c)+'dence']??0x0,0x64),'lineBreak':!0x1});}else _0x4b11ff[_0x4f63e3(0x179)+_0x4f63e3(0x12d)]===_0x4f63e3(0x180)&&_0x124315[_0x4f63e3(0x13c)](_0x4b11ff[_0x4f63e3(0x122)]??'');const _0x484473=_0x124315[_0x4f63e3(0x11d)]('\x0a'),_0x1eb96a=_0x1c05ce['baEYI'](_0x21b338[_0x4f63e3(0x14a)+'h'],0x0)?_0x1c05ce[_0x4f63e3(0x127)](_0x21b338[_0x4f63e3(0x155)+'e']((_0x24db98,_0xdcf44a)=>_0x24db98+_0xdcf44a['confi'+_0x4f63e3(0x17f)],0x0),_0x21b338[_0x4f63e3(0x14a)+'h']):0x0;return{'provider':_0x1c05ce[_0x4f63e3(0x125)],'providerRaw':_0x508863,'fullText':_0x484473,'processingMs':_0x1c05ce[_0x4f63e3(0x171)](Date[_0x4f63e3(0x13f)](),_0x1ca1d3),'processedAt':new Date()['toISO'+_0x4f63e3(0x120)+'g'](),'confidence':_0x1eb96a,'pages':[{'pageNum':0x1,'width':0x3e8,'height':0x3e8,'text':_0x484473,'blocks':_0x21b338}]};}[_0x99cbbc(0x12c)+'AWSAu'+'th'](_0x5dbfdf,_0x4ea8d4,_0x503a0b,_0x200314){const _0x46ed8b=_0x99cbbc,_0x30e140={'jZHjO':_0x46ed8b(0x119)+'act','JqzGV':function(_0x5c8575,_0xbd1742){return _0x5c8575(_0xbd1742);},'iwUXy':'sha25'+'6','xFyQV':'hex','eBnSI':function(_0x3c9536,_0x44562d,_0xab9e83){return _0x3c9536(_0x44562d,_0xab9e83);}},_0xff9b62=_0x30e140[_0x46ed8b(0x153)],_0x21112c=_0x46ed8b(0x149)+_0x46ed8b(0x136)+_0x46ed8b(0x11b)+'6',_0x54b37d=_0x200314+'/'+this[_0x46ed8b(0x14b)+'n']+'/'+_0xff9b62+(_0x46ed8b(0x133)+_0x46ed8b(0x172)+_0x46ed8b(0x18b)),_0x5a539c=_0x30e140['JqzGV'](_0x4e9de4,_0x30e140[_0x46ed8b(0x166)])[_0x46ed8b(0x160)+'e'](_0x4ea8d4)[_0x46ed8b(0x11c)+'t'](_0x30e140[_0x46ed8b(0x14f)]),_0x590849=_0x46ed8b(0x161)+_0x46ed8b(0x18f)+_0x46ed8b(0x185)+'plica'+_0x46ed8b(0x17b)+_0x46ed8b(0x15b)+_0x46ed8b(0x117)+'-1.1\x0a'+_0x46ed8b(0x124)+_0x5dbfdf+(_0x46ed8b(0x165)+_0x46ed8b(0x16b)+'e:')+_0x503a0b+('\x0ax-am'+'z-tar'+'get:T'+_0x46ed8b(0x195)+_0x46ed8b(0x151)+'tectD'+_0x46ed8b(0x11f)+_0x46ed8b(0x15d)+'t\x0a'),_0x402c1b=_0x46ed8b(0x161)+_0x46ed8b(0x18f)+_0x46ed8b(0x15a)+'st;x-'+_0x46ed8b(0x12a)+'ate;x'+_0x46ed8b(0x168)+'targe'+'t',_0x48a8df=['POST','/','',_0x590849,_0x402c1b,_0x5a539c]['join']('\x0a'),_0x1304a6=[_0x21112c,_0x503a0b,_0x54b37d,_0x4e9de4(_0x30e140[_0x46ed8b(0x166)])[_0x46ed8b(0x160)+'e'](_0x48a8df)[_0x46ed8b(0x11c)+'t'](_0x46ed8b(0x188))]['join']('\x0a'),_0x380cb1=this[_0x46ed8b(0x16c)+_0x46ed8b(0x177)+_0x46ed8b(0x152)](_0x200314,_0xff9b62),_0x2b92f9=_0x30e140[_0x46ed8b(0x181)](_0x376033,_0x46ed8b(0x123)+'6',_0x380cb1)[_0x46ed8b(0x160)+'e'](_0x1304a6)['diges'+'t'](_0x46ed8b(0x188)),_0x2243d2=_0x21112c+(_0x46ed8b(0x186)+_0x46ed8b(0x154)+'l=')+this[_0x46ed8b(0x140)+'sKeyI'+'d']+'/'+_0x54b37d+(_0x46ed8b(0x118)+_0x46ed8b(0x163)+_0x46ed8b(0x129)+'=')+_0x402c1b+(_0x46ed8b(0x118)+_0x46ed8b(0x137)+'e=')+_0x2b92f9;return{'Host':_0x5dbfdf,'X-Amz-Date':_0x503a0b,'Authorization':_0x2243d2};}['getSi'+_0x99cbbc(0x177)+_0x99cbbc(0x152)](_0x20ff42,_0x20596d){const _0x54b4f2=_0x99cbbc,_0x4bb8e0={'RfspP':function(_0x3c50cf,_0x4acef2,_0x3054e1){return _0x3c50cf(_0x4acef2,_0x3054e1);},'TMIJJ':_0x54b4f2(0x123)+'6'},_0x487e59=_0x376033('sha25'+'6',_0x54b4f2(0x175)+this['secre'+_0x54b4f2(0x192)+_0x54b4f2(0x16a)])[_0x54b4f2(0x160)+'e'](_0x20ff42)[_0x54b4f2(0x11c)+'t'](),_0x58090d=_0x4bb8e0[_0x54b4f2(0x141)](_0x376033,'sha25'+'6',_0x487e59)[_0x54b4f2(0x160)+'e'](this[_0x54b4f2(0x14b)+'n'])[_0x54b4f2(0x11c)+'t'](),_0x2dbc2a=_0x376033(_0x4bb8e0[_0x54b4f2(0x18d)],_0x58090d)[_0x54b4f2(0x160)+'e'](_0x20596d)[_0x54b4f2(0x11c)+'t']();return _0x376033(_0x54b4f2(0x123)+'6',_0x2dbc2a)[_0x54b4f2(0x160)+'e'](_0x54b4f2(0x16e)+'reque'+'st')[_0x54b4f2(0x11c)+'t']();}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x5a216f=_0x3f51;(function(_0x506ae3,_0xaca85b){const _0x163e78=_0x3f51,_0x298b72=_0x506ae3();while(!![]){try{const _0x1ab33b=parseInt(_0x163e78(0x85))/0x1*(parseInt(_0x163e78(0xee))/0x2)+parseInt(_0x163e78(0x7b))/0x3*(parseInt(_0x163e78(0x88))/0x4)+-parseInt(_0x163e78(0xd8))/0x5*(-parseInt(_0x163e78(0x99))/0x6)+parseInt(_0x163e78(0xb3))/0x7+-parseInt(_0x163e78(0xd6))/0x8+parseInt(_0x163e78(0xc6))/0x9*(parseInt(_0x163e78(0x9d))/0xa)+parseInt(_0x163e78(0xad))/0xb*(-parseInt(_0x163e78(0xe2))/0xc);if(_0x1ab33b===_0xaca85b)break;else _0x298b72['push'](_0x298b72['shift']());}catch(_0x5c7399){_0x298b72['push'](_0x298b72['shift']());}}}(_0x1abc,0xe604a));function _0x3f51(_0x415e02,_0x3e13b5){_0x415e02=_0x415e02-0x78;const _0x1abc36=_0x1abc();let _0x3f5159=_0x1abc36[_0x415e02];if(_0x3f51['AvZcvu']===undefined){var _0x3607ff=function(_0x1547c9){const _0x39db37='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4e6e7c='',_0x71a76f='';for(let _0x3e8116=0x0,_0x11b46b,_0x37e0d6,_0x1c9f2c=0x0;_0x37e0d6=_0x1547c9['charAt'](_0x1c9f2c++);~_0x37e0d6&&(_0x11b46b=_0x3e8116%0x4?_0x11b46b*0x40+_0x37e0d6:_0x37e0d6,_0x3e8116++%0x4)?_0x4e6e7c+=String['fromCharCode'](0xff&_0x11b46b>>(-0x2*_0x3e8116&0x6)):0x0){_0x37e0d6=_0x39db37['indexOf'](_0x37e0d6);}for(let _0x3188fa=0x0,_0x4e4a28=_0x4e6e7c['length'];_0x3188fa<_0x4e4a28;_0x3188fa++){_0x71a76f+='%'+('00'+_0x4e6e7c['charCodeAt'](_0x3188fa)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x71a76f);};_0x3f51['sJvZTV']=_0x3607ff,_0x3f51['BfTiqv']={},_0x3f51['AvZcvu']=!![];}const _0x1c8cce=_0x1abc36[0x0],_0x5793d6=_0x415e02+_0x1c8cce,_0x1d754b=_0x3f51['BfTiqv'][_0x5793d6];return!_0x1d754b?(_0x3f5159=_0x3f51['sJvZTV'](_0x3f5159),_0x3f51['BfTiqv'][_0x5793d6]=_0x3f5159):_0x3f5159=_0x1d754b,_0x3f5159;}export class AzureDriver{[_0x5a216f(0x7e)+_0x5a216f(0xce)];['apiKe'+'y'];[_0x5a216f(0xc8)+'rsion'];[_0x5a216f(0xab)+'ut'];constructor(_0x4deb3b){const _0x5e4e66=_0x5a216f,_0x1d6b52={'LKYUe':_0x5e4e66(0xb7)+'07-31','oDLnp':function(_0x42249d,_0x30f0b8){return _0x42249d*_0x30f0b8;}};this[_0x5e4e66(0x7e)+_0x5e4e66(0xce)]=(_0x4deb3b[_0x5e4e66(0x7e)+_0x5e4e66(0xce)]??'')[_0x5e4e66(0x98)+'ce'](/\/$/,''),this[_0x5e4e66(0x9e)+'y']=_0x4deb3b[_0x5e4e66(0x9e)+'y']??'',this[_0x5e4e66(0xc8)+'rsion']=_0x4deb3b[_0x5e4e66(0xc8)+_0x5e4e66(0xeb)]??_0x1d6b52[_0x5e4e66(0xc1)],this['timeo'+'ut']=_0x1d6b52[_0x5e4e66(0xa8)](_0x4deb3b[_0x5e4e66(0xab)+_0x5e4e66(0xcd)]??0x3c,0x3e8);}[_0x5a216f(0x8c)](){const _0x5ddd5a=_0x5a216f,_0x3092f1={'VBEaY':'azure'};return _0x3092f1[_0x5ddd5a(0x7c)];}[_0x5a216f(0x9b)+_0x5a216f(0x82)+_0x5a216f(0xc9)+'s'](){const _0x310c4a=_0x5a216f,_0x23d11a={'GAZnH':_0x310c4a(0xae)+_0x310c4a(0x93),'Pbrhr':'image'+_0x310c4a(0xb1)};return[_0x310c4a(0xae)+_0x310c4a(0xd9),_0x310c4a(0xae)+_0x310c4a(0xb6),_0x23d11a[_0x310c4a(0xec)],_0x23d11a[_0x310c4a(0xe1)],'appli'+_0x310c4a(0xe6)+'n/pdf'];}async[_0x5a216f(0xcc)](){}async[_0x5a216f(0x89)+_0x5a216f(0xdd)](_0x220476,_0x168f79){const _0x3776=_0x5a216f,_0x515c42={'uPopp':_0x3776(0x96),'ZTgCW':'appli'+_0x3776(0xe6)+_0x3776(0xac)+_0x3776(0x8a)+'ream','VCjww':function(_0x106a58,_0x5efecc){return _0x106a58!==_0x5efecc;},'hivCa':_0x3776(0xbc)+_0x3776(0x8b)+'Locat'+'ion','RZysf':'Azure'+_0x3776(0xba)+'no\x20Op'+'erati'+'on-Lo'+'catio'+_0x3776(0xb4)+_0x3776(0x8e),'DCLHI':function(_0x35486a,_0x3a563a){return _0x35486a+_0x3a563a;},'ExQUv':function(_0x180339,_0x44db6e,_0x4b1ce4){return _0x180339(_0x44db6e,_0x4b1ce4);},'KGGjb':function(_0x73817e,_0x12eec7){return _0x73817e===_0x12eec7;},'baDcw':'succe'+_0x3776(0x90),'CoXwR':function(_0x4b8322,_0x81c412){return _0x4b8322===_0x81c412;}},_0x11d499=Date[_0x3776(0xbe)](),_0x380f5a=this[_0x3776(0x7e)+'int']+(_0x3776(0xb2)+'menti'+_0x3776(0xca)+_0x3776(0xe9)+_0x3776(0xb0)+_0x3776(0x9c)+_0x3776(0x87)+_0x3776(0xaa)+'built'+_0x3776(0x8f)+_0x3776(0xcb)+'yze?a'+_0x3776(0xaf)+'rsion'+'=')+this[_0x3776(0xc8)+_0x3776(0xeb)],_0x1b2f84=await fetch(_0x380f5a,{'method':_0x515c42[_0x3776(0x84)],'headers':{'Ocp-Apim-Subscription-Key':this[_0x3776(0x9e)+'y'],'Content-Type':_0x168f79['mimeT'+'ype']||_0x515c42[_0x3776(0xc5)]},'body':_0x220476,'signal':AbortSignal['timeo'+'ut'](this['timeo'+'ut'])});if(!_0x1b2f84['ok']&&_0x515c42[_0x3776(0x7a)](_0x1b2f84['statu'+'s'],0xca)){const _0x21519b=await _0x1b2f84['text']();throw new Error('Azure'+_0x3776(0xc2)+_0x3776(0x81)+'\x20erro'+'r\x20'+_0x1b2f84[_0x3776(0xc0)+'s']+':\x20'+_0x21519b);}const _0x55c79b=_0x1b2f84['heade'+'rs'][_0x3776(0xd2)](_0x515c42['hivCa'])??_0x1b2f84[_0x3776(0xd0)+'rs'][_0x3776(0xd2)](_0x3776(0xdb)+_0x3776(0x8b)+_0x3776(0x97)+_0x3776(0xa0))??'';if(!_0x55c79b)throw new Error(_0x515c42[_0x3776(0xe7)]);const _0x2738e6=_0x515c42[_0x3776(0xb5)](Date['now'](),this['timeo'+'ut']);let _0x2c916e;for(;Date[_0x3776(0xbe)]()<_0x2738e6;){await new Promise(_0x2c492a=>setTimeout(_0x2c492a,0x5dc));const _0x1af290=await _0x515c42['ExQUv'](fetch,_0x55c79b,{'headers':{'Ocp-Apim-Subscription-Key':this[_0x3776(0x9e)+'y']},'signal':AbortSignal['timeo'+'ut'](0x7530)});if(!_0x1af290['ok'])throw new Error('Azure'+_0x3776(0x7f)+_0x3776(0xdc)+_0x3776(0xd5)+_0x1af290[_0x3776(0xc0)+'s']);const _0x3b5ca0=await _0x1af290[_0x3776(0xe4)]();if(_0x515c42[_0x3776(0xbd)](_0x3b5ca0['statu'+'s'],_0x515c42[_0x3776(0xb9)])){_0x2c916e=_0x3b5ca0[_0x3776(0xa3)+_0x3776(0xd1)+_0x3776(0x92)];break;}if(_0x515c42[_0x3776(0xc4)](_0x3b5ca0[_0x3776(0xc0)+'s'],_0x3776(0xa2)+'d'))throw new Error(_0x3776(0xe0)+_0x3776(0xe3)+_0x3776(0xe8)+'is\x20fa'+_0x3776(0xed)+'\x20'+JSON[_0x3776(0xea)+'gify'](_0x3b5ca0[_0x3776(0x78)]));}if(!_0x2c916e)throw new Error('Azure'+'\x20DI:\x20'+_0x3776(0x7d)+_0x3776(0x8d)+'meout');return this[_0x3776(0xd7)+_0x3776(0xb8)+'t'](_0x2c916e,_0x11d499);}[_0x5a216f(0xd7)+'Resul'+'t'](_0x41df4f,_0x4226c3){const _0x1f9deb=_0x5a216f,_0x183467={'QrZdJ':'pixel','AUuJz':function(_0x13c9c0,_0x5d9691){return _0x13c9c0>_0x5d9691;},'gpRoB':function(_0x122be2,_0x50a5a1){return _0x122be2/_0x50a5a1;},'nLmzz':function(_0x185993,_0x4fc39e){return _0x185993*_0x4fc39e;},'OjiJW':function(_0x41ea9c,_0x3540d0){return _0x41ea9c*_0x3540d0;},'ncvzA':function(_0x4daf1c,_0x10a851){return _0x4daf1c-_0x10a851;}},_0x14eff2=[];let _0x26961e=_0x41df4f[_0x1f9deb(0xd4)+'nt']??'';for(const _0x2caaaa of _0x41df4f['pages']??[]){const _0x5ae55a=[],_0x18395b=(_0x2caaaa[_0x1f9deb(0xcf)]??_0x183467[_0x1f9deb(0x9a)])===_0x1f9deb(0xdf)?0x48:0x1;for(const _0x41cb93 of _0x2caaaa[_0x1f9deb(0x94)]??[]){const _0x5526fd=_0x41cb93['polyg'+'on']??[],_0x1c515d=_0x5526fd[_0x1f9deb(0x79)+'r']((_0xec5b08,_0x1c2186)=>_0x1c2186%0x2===0x0)[_0x1f9deb(0xc3)](_0xe0cfad=>_0xe0cfad*_0x18395b),_0x354783=_0x5526fd[_0x1f9deb(0x79)+'r']((_0x3089bb,_0x3188bb)=>_0x3188bb%0x2===0x1)[_0x1f9deb(0xc3)](_0x15a102=>_0x15a102*_0x18395b),_0x4ca112=_0x1c515d['lengt'+'h']?Math[_0x1f9deb(0x95)](..._0x1c515d):0x0,_0x37970b=_0x1c515d[_0x1f9deb(0xef)+'h']?Math['max'](..._0x1c515d):0x0,_0x309e91=_0x354783['lengt'+'h']?Math[_0x1f9deb(0x95)](..._0x354783):0x0,_0x3ed230=_0x354783['lengt'+'h']?Math[_0x1f9deb(0xbb)](..._0x354783):0x0,_0x2caa86=_0x183467['AUuJz'](_0x37970b-_0x4ca112,0x0)&&_0x354783[_0x1f9deb(0xef)+'h']>=0x2?_0x183467['gpRoB'](_0x354783[0x1]-_0x354783[0x0],_0x37970b-_0x4ca112):0x0;_0x5ae55a[_0x1f9deb(0xc7)]({'text':_0x41cb93[_0x1f9deb(0xd4)+'nt']??'','boundingBox':{'top':_0x309e91,'left':_0x4ca112,'right':_0x37970b,'bottom':_0x3ed230},'centerX':(_0x4ca112+_0x37970b)/0x2,'centerY':_0x183467[_0x1f9deb(0xd3)](_0x309e91+_0x3ed230,0x2),'slope':_0x2caa86,'confidence':_0x41cb93[_0x1f9deb(0xa4)+'dence']??0x0,'lineBreak':!0x1});}_0x14eff2[_0x1f9deb(0xc7)]({'pageNum':_0x2caaaa[_0x1f9deb(0xa5)+_0x1f9deb(0x83)]??_0x14eff2[_0x1f9deb(0xef)+'h']+0x1,'width':_0x183467['nLmzz'](_0x2caaaa[_0x1f9deb(0x86)]??0x0,_0x18395b),'height':_0x183467[_0x1f9deb(0x91)](_0x2caaaa[_0x1f9deb(0xda)+'t']??0x0,_0x18395b),'text':(_0x2caaaa[_0x1f9deb(0xa1)]??[])[_0x1f9deb(0xc3)](_0x4e188c=>_0x4e188c['conte'+'nt']??'')[_0x1f9deb(0xa9)]('\x0a'),'blocks':_0x5ae55a});}const _0x11490b=_0x14eff2[_0x1f9deb(0xe5)+'e']((_0xa4eeb8,_0x8dc47f)=>_0xa4eeb8+_0x8dc47f[_0x1f9deb(0xde)+'s'][_0x1f9deb(0xe5)+'e']((_0x91157e,_0x4718a1)=>_0x91157e+_0x4718a1[_0x1f9deb(0xa4)+_0x1f9deb(0xa7)],0x0),0x0),_0x3e5123=_0x14eff2['reduc'+'e']((_0x3de08f,_0x313393)=>_0x3de08f+_0x313393[_0x1f9deb(0xde)+'s'][_0x1f9deb(0xef)+'h'],0x0);return{'provider':_0x1f9deb(0xbf),'providerRaw':_0x41df4f,'fullText':_0x26961e,'processingMs':_0x183467[_0x1f9deb(0x80)](Date[_0x1f9deb(0xbe)](),_0x4226c3),'processedAt':new Date()[_0x1f9deb(0xa6)+_0x1f9deb(0x9f)+'g'](),'confidence':_0x3e5123>0x0?_0x11490b/_0x3e5123:0x0,'pages':_0x14eff2};}}function _0x1abc(){const _0x26f9ff=['zgvUy2u','B0rmBNa','AM9PBG','CY9WCMu','DgLTzw8','BI9Vy3q','mJmYmJa5ntzPCfvwDKS','Aw1Hz2u','CgKTDMu','zs9KB2m','l2jTCa','l2rVy3u','mtaWmtK5ne1itNnzEa','BIbOzwe','renmseK','l3bUzW','mJaYmY0','uMvZDwW','yMfey3C','ierjoIa','Bwf4','t3bLCMe','s0DhAMi','BM93','yxP1CMu','C3rHDhu','teTzvwu','ierjihm','BwfW','q29yD1i','wLrNq1C','oxLev2HdtW','ChvZAa','yxbPvMu','B3jTyxq','BNrLBgW','oMfUywW','y2XVC2u','Dxrtzwm','Aw50','Dw5PDa','AgvHzgu','EMvszxm','z2v0','z3bsB0i','y29UDgu','CNjVCIa','mtiYnta5mtjMzLjSvwO','yNvPBgq','mJeWDKDZA0zP','l2PWzwC','AgvPz2G','B3bLCMe','B2XSigu','BML6zq','yMXVy2S','Aw5JAa','qxP1CMu','ugjYAhi','mtj6txDxtum','ierjige','ANnVBG','CMvKDwm','y2f0Aw8','uLP5C2y','BMfSExm','AwDLBMm','C3rYAw4','CNnPB24','r0fABKG','AwXLzdO','mJmZne9pyvrPCG','BgvUz3q','zxjYB3i','zMLSDgu','vKnQD3C','mJfsAhj0Evq','vKjfyvK','Cg9SBgK','zw5KCg8','ierjiha','BMn2EKe','DwjTAxq','CNrLzey','Dw1Izxi','DvbVCha','otu2y0LmtK9s','D2LKDgG','tw9KzwW','nZK3ntG4A21pBNvr','CMvJB2C','zxqTC3q','DgLVBI0','BMfTzq','BMCGDgK','zgvY','lxjLywq','zwrLza','t2PPsLC','DwX0','l3rPzMy','D29Yzhm','BwLU','ue9tva','Bg9Jyxq','CMvWBge','mJyWntu2vNPPru93','uxjAzeO','C3vWCg8','Dw1LBNq','mta2mdq5mgr3A3foAq','yxbPs2u','u3rYAw4','Aw9U','BgLUzxm','zMfPBgu','yw5HBhK','y29UzMK','CgfNzu4','Dg9ju08'];_0x1abc=function(){return _0x26f9ff;};return _0x1abc();}
|
|
1
|
+
'use strict';const _0x5f4609=_0x4e1b;function _0x4e1b(_0x508b0b,_0x1f4835){_0x508b0b=_0x508b0b-0x1bd;const _0x3e02b1=_0x3e02();let _0x4e1bfb=_0x3e02b1[_0x508b0b];if(_0x4e1b['vSFAPB']===undefined){var _0x4ce522=function(_0x4ce70d){const _0x3f01ab='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3345c0='',_0x22a664='';for(let _0x893aa4=0x0,_0x4be7b8,_0x8b5dc0,_0x36e667=0x0;_0x8b5dc0=_0x4ce70d['charAt'](_0x36e667++);~_0x8b5dc0&&(_0x4be7b8=_0x893aa4%0x4?_0x4be7b8*0x40+_0x8b5dc0:_0x8b5dc0,_0x893aa4++%0x4)?_0x3345c0+=String['fromCharCode'](0xff&_0x4be7b8>>(-0x2*_0x893aa4&0x6)):0x0){_0x8b5dc0=_0x3f01ab['indexOf'](_0x8b5dc0);}for(let _0x5aa521=0x0,_0x38e198=_0x3345c0['length'];_0x5aa521<_0x38e198;_0x5aa521++){_0x22a664+='%'+('00'+_0x3345c0['charCodeAt'](_0x5aa521)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x22a664);};_0x4e1b['bFqpDa']=_0x4ce522,_0x4e1b['RlnESf']={},_0x4e1b['vSFAPB']=!![];}const _0x398ff7=_0x3e02b1[0x0],_0x1002fd=_0x508b0b+_0x398ff7,_0x2282a0=_0x4e1b['RlnESf'][_0x1002fd];return!_0x2282a0?(_0x4e1bfb=_0x4e1b['bFqpDa'](_0x4e1bfb),_0x4e1b['RlnESf'][_0x1002fd]=_0x4e1bfb):_0x4e1bfb=_0x2282a0,_0x4e1bfb;}(function(_0x421df1,_0x45938c){const _0x2e8ea0=_0x4e1b,_0x3465ab=_0x421df1();while(!![]){try{const _0xc6455e=-parseInt(_0x2e8ea0(0x1e8))/0x1+parseInt(_0x2e8ea0(0x221))/0x2*(parseInt(_0x2e8ea0(0x1e7))/0x3)+-parseInt(_0x2e8ea0(0x1d0))/0x4+-parseInt(_0x2e8ea0(0x1cb))/0x5*(parseInt(_0x2e8ea0(0x204))/0x6)+-parseInt(_0x2e8ea0(0x213))/0x7+parseInt(_0x2e8ea0(0x21f))/0x8+parseInt(_0x2e8ea0(0x237))/0x9;if(_0xc6455e===_0x45938c)break;else _0x3465ab['push'](_0x3465ab['shift']());}catch(_0x15cd80){_0x3465ab['push'](_0x3465ab['shift']());}}}(_0x3e02,0xaef61));export class AzureDriver{[_0x5f4609(0x22e)+'int'];[_0x5f4609(0x200)+'y'];[_0x5f4609(0x240)+'rsion'];[_0x5f4609(0x1cd)+'ut'];constructor(_0xb2de67){const _0x41d46f=_0x5f4609,_0x3c6b31={'vlYXw':function(_0x49427f,_0x1957ba){return _0x49427f*_0x1957ba;}};this[_0x41d46f(0x22e)+_0x41d46f(0x203)]=(_0xb2de67[_0x41d46f(0x22e)+_0x41d46f(0x203)]??'')[_0x41d46f(0x22c)+'ce'](/\/$/,''),this[_0x41d46f(0x200)+'y']=_0xb2de67['apiKe'+'y']??'',this['apiVe'+_0x41d46f(0x1c6)]=_0xb2de67[_0x41d46f(0x240)+_0x41d46f(0x1c6)]??_0x41d46f(0x1fb)+_0x41d46f(0x22d),this['timeo'+'ut']=_0x3c6b31[_0x41d46f(0x23b)](_0xb2de67[_0x41d46f(0x1cd)+_0x41d46f(0x1dd)]??0x3c,0x3e8);}[_0x5f4609(0x1eb)](){const _0x34e443=_0x5f4609;return _0x34e443(0x1f8);}[_0x5f4609(0x1f7)+_0x5f4609(0x1ca)+'ormat'+'s'](){const _0x3c7463=_0x5f4609,_0x536b8c={'yCcqQ':_0x3c7463(0x235)+_0x3c7463(0x23e),'Awvyu':_0x3c7463(0x235)+_0x3c7463(0x234),'GTdMw':_0x3c7463(0x235)+_0x3c7463(0x20b),'mUjFN':'appli'+'catio'+'n/pdf'};return[_0x536b8c[_0x3c7463(0x230)],_0x536b8c[_0x3c7463(0x1f3)],_0x536b8c[_0x3c7463(0x1be)],_0x3c7463(0x235)+'/bmp',_0x536b8c['mUjFN']];}async['close'](){}async[_0x5f4609(0x1e5)+_0x5f4609(0x23f)](_0xcd845a,_0xdfe7f0){const _0x2ff851=_0x5f4609,_0x247d93={'NlqPB':_0x2ff851(0x1ff),'ezupy':_0x2ff851(0x1e1),'kuYxU':function(_0x299343,_0x4e933f){return _0x299343>_0x4e933f;},'WlEWb':function(_0x1f42aa,_0x17b5a7){return _0x1f42aa-_0x17b5a7;},'WBmEa':function(_0x1b71ad,_0x273123){return _0x1b71ad/_0x273123;},'dQXey':function(_0x208899,_0x13b64a){return _0x208899-_0x13b64a;},'TkfPj':function(_0x586632,_0x2abec4){return _0x586632===_0x2abec4;},'SsNxv':function(_0x322a56,_0x2bd333){return _0x322a56>=_0x2bd333;},'qycQF':function(_0x31f0a9,_0x33531e){return _0x31f0a9/_0x33531e;},'hOAtS':function(_0x4a58e7,_0x427ce3){return _0x4a58e7-_0x427ce3;},'dfZbZ':function(_0x371aac,_0x3a6a36){return _0x371aac+_0x3a6a36;},'zOWFj':function(_0x12f6e3,_0x935f14){return _0x12f6e3*_0x935f14;},'zQNIO':_0x2ff851(0x235)+_0x2ff851(0x234),'kAicP':function(_0x1194b7,_0x3f3e5c,_0x1146bc){return _0x1194b7(_0x3f3e5c,_0x1146bc);},'pKaYx':_0x2ff851(0x1c8),'OpvFm':_0x2ff851(0x1f2),'ufgXa':_0x2ff851(0x227)+_0x2ff851(0x207)+'locat'+_0x2ff851(0x23c),'trDKF':_0x2ff851(0x1d6)+'\x20DI:\x20'+_0x2ff851(0x22b)+_0x2ff851(0x1d9)+'on-Lo'+_0x2ff851(0x236)+_0x2ff851(0x1f6)+_0x2ff851(0x239),'PqVXJ':function(_0x373b3e,_0x3883f6){return _0x373b3e===_0x3883f6;},'UvQvr':_0x2ff851(0x1ef),'XYCul':function(_0x16856f,_0x3d44d4){return _0x16856f===_0x3d44d4;},'YQnlA':_0x2ff851(0x208)},_0x395f33=Date[_0x2ff851(0x242)](),_0x4673f2=this[_0x2ff851(0x22e)+_0x2ff851(0x203)]+('/docu'+_0x2ff851(0x1db)+_0x2ff851(0x1cf)+'igenc'+_0x2ff851(0x1e6)+_0x2ff851(0x1fc)+_0x2ff851(0x1f4)+_0x2ff851(0x226)+_0x2ff851(0x229)+'-read'+':anal'+_0x2ff851(0x21d)+'pi-ve'+_0x2ff851(0x1c6)+'=')+this['apiVe'+_0x2ff851(0x1c6)],_0x5927f4=await _0x247d93[_0x2ff851(0x1c3)](fetch,_0x4673f2,{'method':_0x247d93[_0x2ff851(0x1d3)],'headers':{'Ocp-Apim-Subscription-Key':this['apiKe'+'y'],'Content-Type':_0xdfe7f0['mimeT'+'ype']||_0x2ff851(0x1fd)+_0x2ff851(0x236)+_0x2ff851(0x1f0)+_0x2ff851(0x243)+_0x2ff851(0x20c)},'body':_0xcd845a,'signal':AbortSignal[_0x2ff851(0x1cd)+'ut'](this[_0x2ff851(0x1cd)+'ut'])});if(!_0x5927f4['ok']&&_0x5927f4['statu'+'s']!==0xca){if('pNzHZ'===_0x247d93['OpvFm']){const _0x1bcff0=await _0x5927f4[_0x2ff851(0x209)]();throw new Error(_0x2ff851(0x1d6)+'\x20DI\x20s'+_0x2ff851(0x241)+'\x20erro'+'r\x20'+_0x5927f4[_0x2ff851(0x22f)+'s']+':\x20'+_0x1bcff0);}else{const _0x239872=[],_0x16f6d8=(_0x5e5a5b['unit']??_0x247d93[_0x2ff851(0x23a)])===_0x247d93[_0x2ff851(0x1c7)]?0x48:0x1;for(const _0x5885ea of _0x18cd2f[_0x2ff851(0x1e2)]??[]){const _0x4f1495=_0x5885ea['polyg'+'on']??[],_0x5c5429=_0x4f1495[_0x2ff851(0x223)+'r']((_0xa8c4fd,_0x478fba)=>_0x478fba%0x2===0x0)[_0x2ff851(0x1da)](_0x2e499e=>_0x2e499e*_0x16f6d8),_0x41049a=_0x4f1495[_0x2ff851(0x223)+'r']((_0x16f72b,_0x3b651f)=>_0x3b651f%0x2===0x1)[_0x2ff851(0x1da)](_0x2e6f67=>_0x2e6f67*_0x16f6d8),_0x3374cd=_0x5c5429[_0x2ff851(0x1dc)+'h']?_0x4fe8da['min'](..._0x5c5429):0x0,_0x42c1cc=_0x5c5429[_0x2ff851(0x1dc)+'h']?_0xfaa93c[_0x2ff851(0x1f5)](..._0x5c5429):0x0,_0x38ce5d=_0x41049a[_0x2ff851(0x1dc)+'h']?_0x539d65[_0x2ff851(0x214)](..._0x41049a):0x0,_0x7a8fbd=_0x41049a[_0x2ff851(0x1dc)+'h']?_0x36b7b1[_0x2ff851(0x1f5)](..._0x41049a):0x0,_0x185c48=_0x247d93['kuYxU'](_0x247d93[_0x2ff851(0x219)](_0x42c1cc,_0x3374cd),0x0)&&_0x41049a[_0x2ff851(0x1dc)+'h']>=0x2?_0x247d93[_0x2ff851(0x211)](_0x247d93['dQXey'](_0x41049a[0x1],_0x41049a[0x0]),_0x42c1cc-_0x3374cd):0x0;_0x239872[_0x2ff851(0x21a)]({'text':_0x5885ea[_0x2ff851(0x1d8)+'nt']??'','boundingBox':{'top':_0x38ce5d,'left':_0x3374cd,'right':_0x42c1cc,'bottom':_0x7a8fbd},'centerX':(_0x3374cd+_0x42c1cc)/0x2,'centerY':_0x247d93[_0x2ff851(0x211)](_0x38ce5d+_0x7a8fbd,0x2),'slope':_0x185c48,'confidence':_0x5885ea[_0x2ff851(0x1e3)+_0x2ff851(0x216)]??0x0,'lineBreak':!0x1});}_0x22f19b[_0x2ff851(0x21a)]({'pageNum':_0x3c9b4e['pageN'+_0x2ff851(0x232)]??_0x4bd491['lengt'+'h']+0x1,'width':(_0x4624c1[_0x2ff851(0x22a)]??0x0)*_0x16f6d8,'height':(_0x3ef44b[_0x2ff851(0x1ec)+'t']??0x0)*_0x16f6d8,'text':(_0x52db62[_0x2ff851(0x21b)]??[])['map'](_0x3ffdf4=>_0x3ffdf4['conte'+'nt']??'')[_0x2ff851(0x206)]('\x0a'),'blocks':_0x239872});}}const _0x5e8ed7=_0x5927f4[_0x2ff851(0x1bd)+'rs'][_0x2ff851(0x1ce)](_0x2ff851(0x1d4)+_0x2ff851(0x207)+_0x2ff851(0x1d7)+_0x2ff851(0x23c))??_0x5927f4[_0x2ff851(0x1bd)+'rs'][_0x2ff851(0x1ce)](_0x247d93[_0x2ff851(0x1e4)])??'';if(!_0x5e8ed7)throw new Error(_0x247d93[_0x2ff851(0x225)]);const _0x4185fc=Date['now']()+this[_0x2ff851(0x1cd)+'ut'];let _0x2bd537;for(;Date[_0x2ff851(0x242)]()<_0x4185fc;){if(_0x247d93[_0x2ff851(0x20e)]('wmgyh',_0x247d93[_0x2ff851(0x218)])){await new Promise(_0x144564=>setTimeout(_0x144564,0x5dc));const _0x40d9d8=await fetch(_0x5e8ed7,{'headers':{'Ocp-Apim-Subscription-Key':this[_0x2ff851(0x200)+'y']},'signal':AbortSignal[_0x2ff851(0x1cd)+'ut'](0x7530)});if(!_0x40d9d8['ok'])throw new Error(_0x2ff851(0x1d6)+_0x2ff851(0x1f9)+_0x2ff851(0x231)+_0x2ff851(0x1f1)+_0x40d9d8['statu'+'s']);const _0x23b6df=await _0x40d9d8[_0x2ff851(0x21e)]();if(_0x247d93['XYCul'](_0x23b6df['statu'+'s'],_0x2ff851(0x1fe)+'eded')){if(_0x247d93[_0x2ff851(0x202)]==='kDJBI'){_0x2bd537=_0x23b6df[_0x2ff851(0x1d1)+'zeRes'+_0x2ff851(0x20d)];break;}else{const _0x2ee0a7=[];let _0xe7d9f1=_0xc77a07[_0x2ff851(0x1d8)+'nt']??'';for(const _0x441235 of _0x47ee9b[_0x2ff851(0x23d)]??[]){const _0x5f2c3=[],_0x30d6a7=_0x247d93[_0x2ff851(0x1fa)](_0x441235[_0x2ff851(0x238)]??_0x247d93[_0x2ff851(0x23a)],_0x247d93['ezupy'])?0x48:0x1;for(const _0x779018 of _0x441235['words']??[]){const _0x38d65b=_0x779018['polyg'+'on']??[],_0xabae3d=_0x38d65b[_0x2ff851(0x223)+'r']((_0x364ecb,_0x903d89)=>_0x903d89%0x2===0x0)[_0x2ff851(0x1da)](_0xa34af6=>_0xa34af6*_0x30d6a7),_0x1e43c9=_0x38d65b[_0x2ff851(0x223)+'r']((_0x243edc,_0x4e2168)=>_0x4e2168%0x2===0x1)[_0x2ff851(0x1da)](_0x3caaec=>_0x3caaec*_0x30d6a7),_0x1a81fb=_0xabae3d[_0x2ff851(0x1dc)+'h']?_0x1a86ec['min'](..._0xabae3d):0x0,_0x6a7fad=_0xabae3d[_0x2ff851(0x1dc)+'h']?_0x3c1288[_0x2ff851(0x1f5)](..._0xabae3d):0x0,_0x1c21aa=_0x1e43c9['lengt'+'h']?_0x1ef6e1[_0x2ff851(0x214)](..._0x1e43c9):0x0,_0x289ed0=_0x1e43c9[_0x2ff851(0x1dc)+'h']?_0x59b4ab['max'](..._0x1e43c9):0x0,_0x4947c4=_0x247d93[_0x2ff851(0x205)](_0x6a7fad-_0x1a81fb,0x0)&&_0x247d93[_0x2ff851(0x20a)](_0x1e43c9[_0x2ff851(0x1dc)+'h'],0x2)?_0x247d93[_0x2ff851(0x1c5)](_0x247d93[_0x2ff851(0x215)](_0x1e43c9[0x1],_0x1e43c9[0x0]),_0x247d93[_0x2ff851(0x1e0)](_0x6a7fad,_0x1a81fb)):0x0;_0x5f2c3['push']({'text':_0x779018[_0x2ff851(0x1d8)+'nt']??'','boundingBox':{'top':_0x1c21aa,'left':_0x1a81fb,'right':_0x6a7fad,'bottom':_0x289ed0},'centerX':_0x247d93['dfZbZ'](_0x1a81fb,_0x6a7fad)/0x2,'centerY':(_0x1c21aa+_0x289ed0)/0x2,'slope':_0x4947c4,'confidence':_0x779018[_0x2ff851(0x1e3)+'dence']??0x0,'lineBreak':!0x1});}_0x2ee0a7[_0x2ff851(0x21a)]({'pageNum':_0x441235[_0x2ff851(0x222)+_0x2ff851(0x232)]??_0x247d93['dfZbZ'](_0x2ee0a7[_0x2ff851(0x1dc)+'h'],0x1),'width':_0x247d93['zOWFj'](_0x441235[_0x2ff851(0x22a)]??0x0,_0x30d6a7),'height':_0x247d93[_0x2ff851(0x210)](_0x441235[_0x2ff851(0x1ec)+'t']??0x0,_0x30d6a7),'text':(_0x441235[_0x2ff851(0x21b)]??[])[_0x2ff851(0x1da)](_0x19e0c7=>_0x19e0c7['conte'+'nt']??'')['join']('\x0a'),'blocks':_0x5f2c3});}const _0x16fa48=_0x2ee0a7[_0x2ff851(0x1ed)+'e']((_0x17426d,_0x352964)=>_0x17426d+_0x352964[_0x2ff851(0x1df)+'s']['reduc'+'e']((_0xb2fc35,_0x236e84)=>_0xb2fc35+_0x236e84[_0x2ff851(0x1e3)+'dence'],0x0),0x0),_0x158322=_0x2ee0a7[_0x2ff851(0x1ed)+'e']((_0x1d3b88,_0x423d49)=>_0x1d3b88+_0x423d49[_0x2ff851(0x1df)+'s'][_0x2ff851(0x1dc)+'h'],0x0);return{'provider':_0x2ff851(0x1f8),'providerRaw':_0x3f869c,'fullText':_0xe7d9f1,'processingMs':_0x362cf3[_0x2ff851(0x242)]()-_0x2c5dc0,'processedAt':new _0x2792f8()[_0x2ff851(0x1c1)+_0x2ff851(0x1c4)+'g'](),'confidence':_0x247d93[_0x2ff851(0x205)](_0x158322,0x0)?_0x16fa48/_0x158322:0x0,'pages':_0x2ee0a7};}}if(_0x23b6df['statu'+'s']===_0x2ff851(0x220)+'d')throw new Error(_0x2ff851(0x1d6)+_0x2ff851(0x1d2)+_0x2ff851(0x201)+_0x2ff851(0x21c)+_0x2ff851(0x20f)+'\x20'+JSON[_0x2ff851(0x1d5)+_0x2ff851(0x1e9)](_0x23b6df['error']));}else return[_0x2ff851(0x235)+_0x2ff851(0x23e),qapXLl['zQNIO'],_0x2ff851(0x235)+_0x2ff851(0x20b),_0x2ff851(0x235)+'/bmp',_0x2ff851(0x1fd)+_0x2ff851(0x236)+_0x2ff851(0x1cc)];}if(!_0x2bd537)throw new Error(_0x2ff851(0x1d6)+_0x2ff851(0x1bf)+'polli'+'ng\x20ti'+_0x2ff851(0x1ea));return this[_0x2ff851(0x212)+_0x2ff851(0x1c0)+'t'](_0x2bd537,_0x395f33);}['build'+'Resul'+'t'](_0x21ecf4,_0x26286c){const _0x2d0708=_0x5f4609,_0x45afe6={'UXKUH':_0x2d0708(0x1ff),'pVIAZ':function(_0x1765c3,_0x441614){return _0x1765c3-_0x441614;},'zFDPX':function(_0x189515,_0x374919){return _0x189515>=_0x374919;},'SLbUV':function(_0x1a90f2,_0x33d6d8){return _0x1a90f2/_0x33d6d8;},'gFYxM':function(_0xe70a76,_0x54c7d0){return _0xe70a76*_0x54c7d0;},'EBHbF':function(_0x249752,_0x4efc55){return _0x249752*_0x4efc55;},'OyEJr':_0x2d0708(0x1f8),'DedCz':function(_0x154b12,_0x266a65){return _0x154b12>_0x266a65;}},_0x298d40=[];let _0x1f54f7=_0x21ecf4[_0x2d0708(0x1d8)+'nt']??'';for(const _0x501ac6 of _0x21ecf4[_0x2d0708(0x23d)]??[]){const _0x231bd5=[],_0x47934e=(_0x501ac6[_0x2d0708(0x238)]??_0x45afe6[_0x2d0708(0x1c9)])===_0x2d0708(0x1e1)?0x48:0x1;for(const _0x2cdec9 of _0x501ac6[_0x2d0708(0x1e2)]??[]){const _0x587dcf=_0x2cdec9[_0x2d0708(0x217)+'on']??[],_0x23c1a0=_0x587dcf[_0x2d0708(0x223)+'r']((_0x4dd8ef,_0x1d03ba)=>_0x1d03ba%0x2===0x0)[_0x2d0708(0x1da)](_0xd23182=>_0xd23182*_0x47934e),_0x26bacc=_0x587dcf[_0x2d0708(0x223)+'r']((_0x133f5b,_0x246253)=>_0x246253%0x2===0x1)[_0x2d0708(0x1da)](_0x19b900=>_0x19b900*_0x47934e),_0x21e0cc=_0x23c1a0[_0x2d0708(0x1dc)+'h']?Math[_0x2d0708(0x214)](..._0x23c1a0):0x0,_0x1c7ea8=_0x23c1a0[_0x2d0708(0x1dc)+'h']?Math[_0x2d0708(0x1f5)](..._0x23c1a0):0x0,_0x29dd69=_0x26bacc[_0x2d0708(0x1dc)+'h']?Math['min'](..._0x26bacc):0x0,_0x5288c8=_0x26bacc[_0x2d0708(0x1dc)+'h']?Math[_0x2d0708(0x1f5)](..._0x26bacc):0x0,_0x298cc5=_0x45afe6[_0x2d0708(0x224)](_0x1c7ea8,_0x21e0cc)>0x0&&_0x45afe6['zFDPX'](_0x26bacc[_0x2d0708(0x1dc)+'h'],0x2)?_0x45afe6[_0x2d0708(0x1ee)](_0x26bacc[0x1]-_0x26bacc[0x0],_0x1c7ea8-_0x21e0cc):0x0;_0x231bd5[_0x2d0708(0x21a)]({'text':_0x2cdec9[_0x2d0708(0x1d8)+'nt']??'','boundingBox':{'top':_0x29dd69,'left':_0x21e0cc,'right':_0x1c7ea8,'bottom':_0x5288c8},'centerX':(_0x21e0cc+_0x1c7ea8)/0x2,'centerY':(_0x29dd69+_0x5288c8)/0x2,'slope':_0x298cc5,'confidence':_0x2cdec9[_0x2d0708(0x1e3)+_0x2d0708(0x216)]??0x0,'lineBreak':!0x1});}_0x298d40[_0x2d0708(0x21a)]({'pageNum':_0x501ac6[_0x2d0708(0x222)+_0x2d0708(0x232)]??_0x298d40['lengt'+'h']+0x1,'width':_0x45afe6[_0x2d0708(0x1de)](_0x501ac6[_0x2d0708(0x22a)]??0x0,_0x47934e),'height':_0x45afe6[_0x2d0708(0x233)](_0x501ac6[_0x2d0708(0x1ec)+'t']??0x0,_0x47934e),'text':(_0x501ac6['lines']??[])['map'](_0x346340=>_0x346340[_0x2d0708(0x1d8)+'nt']??'')['join']('\x0a'),'blocks':_0x231bd5});}const _0x445adb=_0x298d40[_0x2d0708(0x1ed)+'e']((_0x3187e3,_0x3db9d7)=>_0x3187e3+_0x3db9d7[_0x2d0708(0x1df)+'s'][_0x2d0708(0x1ed)+'e']((_0x422fc7,_0x50cc46)=>_0x422fc7+_0x50cc46['confi'+_0x2d0708(0x216)],0x0),0x0),_0x257582=_0x298d40[_0x2d0708(0x1ed)+'e']((_0x4831d9,_0x8848db)=>_0x4831d9+_0x8848db[_0x2d0708(0x1df)+'s'][_0x2d0708(0x1dc)+'h'],0x0);return{'provider':_0x45afe6[_0x2d0708(0x228)],'providerRaw':_0x21ecf4,'fullText':_0x1f54f7,'processingMs':Date[_0x2d0708(0x242)]()-_0x26286c,'processedAt':new Date()[_0x2d0708(0x1c1)+_0x2d0708(0x1c4)+'g'](),'confidence':_0x45afe6[_0x2d0708(0x1c2)](_0x257582,0x0)?_0x445adb/_0x257582:0x0,'pages':_0x298d40};}}function _0x3e02(){const _0x57db45=['CxLJuuy','CNnPB24','zxP1ChK','ue9tva','vvHlvuG','CNrLzey','nxDMtfvgBW','BI9Wzgy','DgLTzw8','z2v0','BNrLBgW','ndaYmdiXnMLlv2fSAW','yw5HBhK','ierjige','CeTHwxG','t3bLCMe','C3rYAw4','qxP1CMu','tg9Jyxq','y29UDgu','zxjHDgK','BwfW','BwvUDgK','BgvUz3q','Dxrtzwm','z0zzEe0','yMXVy2S','Ae9bDfm','Aw5JAa','D29Yzhm','y29UzMK','DwzNwge','CMvJB2C','zs9KB2m','m1rRzgvHtW','ndGYmdHIwLPwtKC','z2LMEq','BwvVDxq','BMfTzq','AgvPz2G','CMvKDwm','u0XIvvy','D21NEwG','BI9Vy3q','CNjVCIa','Ce56sfO','qxD2Exu','tw9KzwW','Bwf4','BIbOzwe','C3vWCg8','yxP1CMu','ierjiha','vgTMugO','mJaYmY0','Dw1LBNq','yxbWBgK','C3vJy2u','CgL4zwW','yxbPs2u','BMfSExm','wvfUBee','Aw50','mZu3oduXngX1zNPevG','A3vzEfu','AM9PBG','DgLVBI0','A0rkqKK','Dgv4Da','u3noEhy','l3rPzMy','CMvHBq','DwX0','uhfwweO','AwXLzdO','EK9xrMO','v0jTrwe','yNvPBgq','mJKYmtG0ou1zDM5fCG','BwLU','zffyzxK','zgvUy2u','Cg9SEwC','vxzrDNi','v2Xfv2i','ChvZAa','BgLUzxm','AxmGzMe','ExPLp2e','ANnVBG','mtaXnZy3nJboCunPDfa','zMfPBgu','mJuWmZCYofn0EuneyW','CgfNzu4','zMLSDgu','CfzjqvO','Dhjes0y','CY9WCMu','B3bLCMe','t3LfsNi','yNvPBhq','D2LKDgG','BM8Gt3a','CMvWBge','mdCTmZe','zw5KCg8','C3rHDhu','EunJCve','B2XSigu','Dw1Izxi','rujiyKy','l3bUzW','Aw1Hz2u','y2f0Aw8','mJmZnZKZmfjlzgjivG','Dw5PDa','zgvY','tMXXuei','DMXzwhC','Aw9U','CgfNzxm','l2PWzwC','BML6zq','yxbPvMu','DwjTAxq','BM93','zxqTC3q','AgvHzgu','r1rKtxC','ierjoIa','uMvZDwW','Dg9ju08','rgvKq3O','A0fPy1a','u3rYAw4'];_0x3e02=function(){return _0x57db45;};return _0x3e02();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x3c86(_0x4ee8b3,_0x2be1ba){_0x4ee8b3=_0x4ee8b3-0x1c3;const _0x4c2d0e=_0x4c2d();let _0x3c8609=_0x4c2d0e[_0x4ee8b3];if(_0x3c86['nKeart']===undefined){var _0x1e6f32=function(_0x1712d6){const _0x7ac2c4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5b5acf='',_0x505e7b='';for(let _0xb516a3=0x0,_0x1843ce,_0x4ce335,_0x599604=0x0;_0x4ce335=_0x1712d6['charAt'](_0x599604++);~_0x4ce335&&(_0x1843ce=_0xb516a3%0x4?_0x1843ce*0x40+_0x4ce335:_0x4ce335,_0xb516a3++%0x4)?_0x5b5acf+=String['fromCharCode'](0xff&_0x1843ce>>(-0x2*_0xb516a3&0x6)):0x0){_0x4ce335=_0x7ac2c4['indexOf'](_0x4ce335);}for(let _0x9bf156=0x0,_0x44004c=_0x5b5acf['length'];_0x9bf156<_0x44004c;_0x9bf156++){_0x505e7b+='%'+('00'+_0x5b5acf['charCodeAt'](_0x9bf156)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x505e7b);};_0x3c86['fDFvMZ']=_0x1e6f32,_0x3c86['SMXgCY']={},_0x3c86['nKeart']=!![];}const _0x37367f=_0x4c2d0e[0x0],_0x10cac0=_0x4ee8b3+_0x37367f,_0x4bfb8d=_0x3c86['SMXgCY'][_0x10cac0];return!_0x4bfb8d?(_0x3c8609=_0x3c86['fDFvMZ'](_0x3c8609),_0x3c86['SMXgCY'][_0x10cac0]=_0x3c8609):_0x3c8609=_0x4bfb8d,_0x3c8609;}const _0x475c98=_0x3c86;function _0x4c2d(){const _0x340edb=['zgvUy2u','nJq3mtu4otbeDwvVAMW','l2PWzwC','y2f0Aw8','nZq0nJq1Exbmq1LO','zwfWAxm','z2LMEq','BI9Wzgy','Aw9U','ntmXndG5ENjODg11','CgfYywC','D0juuKu','BML6zq','Dgv4Da','yxbPvxi','C2LVBI4','mtjsr0DpD0m','Bwf4','ue9tva','ovnSq1vPwq','r29Vz2W','u3rYAw4','l3bUzW','yxbWBgK','swXxzha','l3DLyNa','D29Yzhm','l2DPzG','yMXVy2S','BM93','Ahr0Chm','A3vJA0O','ChvZAa','CMvJB2C','nu90z1HvyW','y29UzMK','zxK9','C3v3q2y','y2vZ','yM91BMq','BwfW','rvHux0q','nZK2nduXnfzyyuHZqW','AgvPz2G','mZeZntq3mLDVvu5uAW','BI9QC28','CMvKDwm','C3LTyM8','nZC5mta3mMz1C3zkva','CgfNzxm','BgfUz3u','su9o','B3jTyxq','yxbPs2u','yw5UB3q','z29Vz2W','Aw1Hz2u','DgLTzw8','ueKGzxi','AM9PBG','ywDLCW','CMfWAhm','AKrRrKm','l2jTCa','Dg9ju08','Aw9Uiee','CNrLzey','BgvUz3q','Aw5NqM8','CM9Yia','DNDZCNu','DMvYDgK','qw5iuMW','Dg9tDhi','zxH0qw4','lMnVBs8','mta0mZe5mdrtvhrRweS','C3vWCg8','yxrLp2S','D2LKDgG','Dxrtzwm','BNbyrKS'];_0x4c2d=function(){return _0x340edb;};return _0x4c2d();}(function(_0x5c2dd7,_0x2dbd4a){const _0x2381dc=_0x3c86,_0x5188d0=_0x5c2dd7();while(!![]){try{const _0x1d0880=parseInt(_0x2381dc(0x1f4))/0x1+-parseInt(_0x2381dc(0x200))/0x2*(parseInt(_0x2381dc(0x1f9))/0x3)+-parseInt(_0x2381dc(0x1ce))/0x4*(parseInt(_0x2381dc(0x212))/0x5)+-parseInt(_0x2381dc(0x1c8))/0x6+-parseInt(_0x2381dc(0x1ea))/0x7+parseInt(_0x2381dc(0x1ca))/0x8*(-parseInt(_0x2381dc(0x203))/0x9)+parseInt(_0x2381dc(0x1f1))/0xa;if(_0x1d0880===_0x2dbd4a)break;else _0x5188d0['push'](_0x5188d0['shift']());}catch(_0x4f611f){_0x5188d0['push'](_0x5188d0['shift']());}}}(_0x4c2d,0xf3217));export class GoogleDriver{[_0x475c98(0x1d3)+'y'];['apiUr'+'l'];[_0x475c98(0x1d7)+'ut'];constructor(_0x59ccab){const _0x3745cd=_0x475c98,_0x132330={'npXFK':function(_0x37541b,_0x4d0f5d){return _0x37541b*_0x4d0f5d;}};this[_0x3745cd(0x1d3)+'y']=_0x59ccab[_0x3745cd(0x1d3)+'y']??'',this['apiUr'+'l']=_0x59ccab[_0x3745cd(0x1fe)+'l']??_0x3745cd(0x20e)+'://vi'+_0x3745cd(0x1ff)+_0x3745cd(0x1d5)+_0x3745cd(0x1f5)+_0x3745cd(0x1e9)+'v1/im'+'ages:'+_0x3745cd(0x1d4)+_0x3745cd(0x1ec)+_0x3745cd(0x214)+this['apiKe'+'y'],this[_0x3745cd(0x1d7)+'ut']=_0x132330[_0x3745cd(0x1ef)](_0x59ccab['timeo'+_0x3745cd(0x1ee)]??0x1e,0x3e8);}['name'](){const _0x23b145=_0x475c98;return _0x23b145(0x1d5)+'e';}[_0x475c98(0x1eb)+_0x475c98(0x1e0)+_0x475c98(0x1d2)+'s'](){const _0x1ab8d4=_0x475c98,_0x49f914={'jDkFC':'image'+_0x1ab8d4(0x1dd)};return[_0x1ab8d4(0x1d6)+_0x1ab8d4(0x1f2),_0x1ab8d4(0x1d6)+_0x1ab8d4(0x206),'image'+_0x1ab8d4(0x20b),_0x49f914[_0x1ab8d4(0x1dc)],_0x1ab8d4(0x1d6)+_0x1ab8d4(0x209),_0x1ab8d4(0x207)+'catio'+_0x1ab8d4(0x1f7)];}async['close'](){}async[_0x475c98(0x211)+_0x475c98(0x1fc)](_0x23a4e3,_0x44cffe){const _0x4ae6b6=_0x475c98,_0x5243fc={'AnHRl':'base6'+'4','DgTgh':_0x4ae6b6(0x207)+_0x4ae6b6(0x1f3)+_0x4ae6b6(0x1cb)+'n','suwCf':function(_0x5d7110,_0x5a7100){return _0x5d7110-_0x5a7100;},'vwsru':function(_0x107644,_0x52603c){return _0x107644-_0x52603c;},'wBTRE':function(_0x27da87,_0x3817bd){return _0x27da87/_0x3817bd;},'kuckJ':function(_0x7bcec2,_0x4bc6c8){return _0x7bcec2+_0x4bc6c8;},'IlWdp':function(_0x2fab2,_0x141716){return _0x2fab2+_0x141716;},'sBuAw':function(_0x1b07f1,_0x51ac0b){return _0x1b07f1>_0x51ac0b;},'cAzpO':'googl'+'e'},_0x2409f9=Date[_0x4ae6b6(0x20d)](),_0x16bc8e={'requests':[{'image':{'content':_0x23a4e3[_0x4ae6b6(0x1e7)+'ing'](_0x5243fc[_0x4ae6b6(0x1e6)])},'features':[{'type':'DOCUM'+'ENT_T'+_0x4ae6b6(0x1c7)+'ETECT'+_0x4ae6b6(0x1d1)}],'imageContext':_0x44cffe[_0x4ae6b6(0x1d0)+_0x4ae6b6(0x1da)]?.[_0x4ae6b6(0x1e1)+'h']?{'languageHints':_0x44cffe[_0x4ae6b6(0x1d0)+_0x4ae6b6(0x1da)]}:void 0x0}]},_0x45fd6c=await fetch(this['apiUr'+'l'],{'method':_0x4ae6b6(0x202),'headers':{'Content-Type':_0x5243fc['DgTgh']},'body':JSON['strin'+_0x4ae6b6(0x1f6)](_0x16bc8e),'signal':AbortSignal['timeo'+'ut'](this['timeo'+'ut'])});if(!_0x45fd6c['ok']){const _0x3799e0=await _0x45fd6c[_0x4ae6b6(0x1fd)]();throw new Error(_0x4ae6b6(0x204)+'e\x20Vis'+_0x4ae6b6(0x1df)+_0x4ae6b6(0x1d8)+_0x4ae6b6(0x1e3)+_0x45fd6c['statu'+'s']+':\x20'+_0x3799e0);}const _0x35d957=await _0x45fd6c['json'](),_0x144981=_0x35d957['respo'+'nses']?.[0x0]?.['fullT'+_0x4ae6b6(0x1e8)+'notat'+_0x4ae6b6(0x1f8)],_0x2ab151=_0x144981?.[_0x4ae6b6(0x1fd)]??'',_0x4f3bdb=_0x144981?.[_0x4ae6b6(0x1cf)]??[],_0x39bd4e=[];let _0x449b13=0x0,_0x2a121f=0x0;for(let _0x3db511=0x0;_0x3db511<_0x4f3bdb[_0x4ae6b6(0x1e1)+'h'];_0x3db511++){const _0x258674=_0x4f3bdb[_0x3db511],_0x57b1a4=[],_0x49c8a7=[];for(const _0x303aea of _0x258674[_0x4ae6b6(0x20c)+'s']??[])for(const _0x565ce7 of _0x303aea[_0x4ae6b6(0x1fa)+_0x4ae6b6(0x1db)]??[])for(const _0x1bf2e7 of _0x565ce7[_0x4ae6b6(0x20a)]??[]){const _0x55a7af=(_0x1bf2e7[_0x4ae6b6(0x1cd)+'ls']??[])[_0x4ae6b6(0x1c6)](_0x5178b8=>_0x5178b8[_0x4ae6b6(0x1fd)]??'')[_0x4ae6b6(0x1d9)](''),_0x4d8b1f=_0x1bf2e7[_0x4ae6b6(0x1c5)+_0x4ae6b6(0x1e2)+'x']?.[_0x4ae6b6(0x1e5)+_0x4ae6b6(0x1c4)]??[],[_0x41de8a,_0xa463a9,_0x7217e2,_0x29b247]=[_0x4d8b1f[0x0]??{},_0x4d8b1f[0x1]??{},_0x4d8b1f[0x2]??{},_0x4d8b1f[0x3]??{}],_0x1bd679=Math['min'](_0x41de8a['y']??0x0,_0xa463a9['y']??0x0),_0x588b1c=Math[_0x4ae6b6(0x201)](_0x29b247['y']??0x0,_0x7217e2['y']??0x0),_0x49fc28=Math['min'](_0x41de8a['x']??0x0,_0x29b247['x']??0x0),_0x48d79c=Math[_0x4ae6b6(0x201)](_0xa463a9['x']??0x0,_0x7217e2['x']??0x0),_0x5d4fe5=_0x1bf2e7[_0x4ae6b6(0x213)+_0x4ae6b6(0x1f0)]??0x0,_0x15e8d1=_0x5243fc[_0x4ae6b6(0x1c3)](_0x48d79c,_0x49fc28)>0x0?_0x5243fc[_0x4ae6b6(0x1c3)](_0xa463a9['y']??0x0,_0x41de8a['y']??0x0)/_0x5243fc[_0x4ae6b6(0x1e4)](_0x48d79c,_0x49fc28):0x0;_0x57b1a4[_0x4ae6b6(0x210)]({'text':_0x55a7af,'boundingBox':{'top':_0x1bd679,'left':_0x49fc28,'right':_0x48d79c,'bottom':_0x588b1c},'centerX':_0x5243fc[_0x4ae6b6(0x1fb)](_0x5243fc[_0x4ae6b6(0x20f)](_0x49fc28,_0x48d79c),0x2),'centerY':_0x5243fc[_0x4ae6b6(0x208)](_0x1bd679,_0x588b1c)/0x2,'slope':_0x15e8d1,'confidence':_0x5d4fe5,'lineBreak':!0x1}),_0x49c8a7['push'](_0x55a7af);}_0x449b13+=_0x57b1a4[_0x4ae6b6(0x1cc)+'e']((_0x2a51d9,_0x4d9452)=>_0x2a51d9+_0x4d9452['confi'+'dence'],0x0),_0x2a121f+=_0x57b1a4[_0x4ae6b6(0x1e1)+'h'],_0x39bd4e[_0x4ae6b6(0x210)]({'pageNum':_0x3db511+0x1,'width':_0x258674[_0x4ae6b6(0x1ed)]??0x0,'height':_0x258674[_0x4ae6b6(0x1c9)+'t']??0x0,'text':_0x49c8a7[_0x4ae6b6(0x1d9)]('\x20'),'blocks':_0x57b1a4});}const _0x5a74bf=_0x5243fc['sBuAw'](_0x2a121f,0x0)?_0x449b13/_0x2a121f:0x0;return{'provider':_0x5243fc['cAzpO'],'providerRaw':_0x35d957,'fullText':_0x2ab151,'processingMs':Date[_0x4ae6b6(0x20d)]()-_0x2409f9,'processedAt':new Date()[_0x4ae6b6(0x1de)+_0x4ae6b6(0x205)+'g'](),'confidence':_0x5a74bf,'pages':_0x39bd4e};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(_0xeb9801,_0x15adf5){const _0x22a2d6=_0x4528,_0x1a53a2=_0xeb9801();while(!![]){try{const _0xaf76bb=-parseInt(_0x22a2d6(0xc4))/0x1+parseInt(_0x22a2d6(0xab))/0x2+-parseInt(_0x22a2d6(0xa0))/0x3+-parseInt(_0x22a2d6(0xa6))/0x4+parseInt(_0x22a2d6(0xc1))/0x5*(parseInt(_0x22a2d6(0x98))/0x6)+-parseInt(_0x22a2d6(0xc9))/0x7+-parseInt(_0x22a2d6(0xad))/0x8*(-parseInt(_0x22a2d6(0xb6))/0x9);if(_0xaf76bb===_0x15adf5)break;else _0x1a53a2['push'](_0x1a53a2['shift']());}catch(_0x35f2a9){_0x1a53a2['push'](_0x1a53a2['shift']());}}}(_0x2283,0x82b98));import{OcrError as _0x331c68,ERR_FILE_TOO_LARGE as _0x2890b5}from'../errors.ts';import{GoogleDriver as _0x3a068f}from'./google.ts';import{NaverDriver as _0x4e734f}from'./naver.ts';function _0x2283(){const _0x5bb3ae=['w0LorK8','mti0otq2mdfsrxjUrgW','yxP1CMu','iefqssa','BMf2zxi','zxH0CMe','BwvZC2e','Be5ntMu','igj5Dgu','zhmGBgK','icHKCMK','zhjPDMu','nJqWmZm1qKDrEfbZ','ihjLDhi','CMvJB2C','mtGZotuWBgHmBKD1','BwL0oIa','Bg9N','zxHJzwu','C2L6zsa','nJi5mte4n3PKvLbcEq','AwXLzca','mZbzwxH2vMi','Bwf4uMu','wu5ltLO','BLPewMO','zMLSzsa','yxDZx3q','DhjPzxm','DgvZC2u','mJi5otG1n1D6DfzkCG','CMfJDa','igrYAxy','t0nsiee','AwvZoIa','rgvSyxK','mJG0ntq4og5oALHYEG','BML6zq','CMv0CNK','runsrLO','Cg9YDgu','mJeZntaXmMfzC1bxEa','xsbpq1i','ofjywKX1wa','CYaOBgK','BMfTzq','ywz0zxi','BgvUz3q','BwL0ia','yuz6vKy','zcbpq1i'];_0x2283=function(){return _0x5bb3ae;};return _0x2283();}import{AwsDriver as _0x16200e}from'./aws.ts';function _0x4528(_0x348590,_0x596198){_0x348590=_0x348590-0x97;const _0x2283e1=_0x2283();let _0x4528f2=_0x2283e1[_0x348590];if(_0x4528['goWkgr']===undefined){var _0x1ff915=function(_0x2e495a){const _0x21a296='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x441713='',_0x539209='';for(let _0x24e203=0x0,_0x1089f8,_0x226855,_0x374d40=0x0;_0x226855=_0x2e495a['charAt'](_0x374d40++);~_0x226855&&(_0x1089f8=_0x24e203%0x4?_0x1089f8*0x40+_0x226855:_0x226855,_0x24e203++%0x4)?_0x441713+=String['fromCharCode'](0xff&_0x1089f8>>(-0x2*_0x24e203&0x6)):0x0){_0x226855=_0x21a296['indexOf'](_0x226855);}for(let _0x1b63e3=0x0,_0x2d64f8=_0x441713['length'];_0x1b63e3<_0x2d64f8;_0x1b63e3++){_0x539209+='%'+('00'+_0x441713['charCodeAt'](_0x1b63e3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x539209);};_0x4528['qwqUxN']=_0x1ff915,_0x4528['gBBIBB']={},_0x4528['goWkgr']=!![];}const _0x8aa697=_0x2283e1[0x0],_0x4473e0=_0x348590+_0x8aa697,_0x1cc561=_0x4528['gBBIBB'][_0x4473e0];return!_0x1cc561?(_0x4528f2=_0x4528['qwqUxN'](_0x4528f2),_0x4528['gBBIBB'][_0x4473e0]=_0x4528f2):_0x4528f2=_0x1cc561,_0x4528f2;}import{AzureDriver as _0x1fff25}from'./azure.ts';import{UpstageDriver as _0xd4af90}from'./upstage.ts';import{TesseractDriver as _0x4992c9}from'./tesseract.ts';const O=0x32*0x400*0x400;export function createOcrDriver(_0x244847){const _0xd460ea=_0x4528,_0x1d7416={'ECRFZ':_0xd460ea(0xb9),'OqokQ':_0xd460ea(0x9d)+_0xd460ea(0xba)+'ct','lNMNe':'upsta'+'ge'};switch(_0x244847[_0xd460ea(0xc0)+'r']){case'googl'+'e':return new _0x3a068f(_0x244847);case _0x1d7416[_0xd460ea(0xa9)]:return new _0x4e734f(_0x244847);case _0x1d7416['OqokQ']:return new _0x16200e(_0x244847);case _0xd460ea(0xb7):return new _0x1fff25(_0x244847);case _0x1d7416[_0xd460ea(0xbc)]:return new _0xd4af90(_0x244847);case _0xd460ea(0x9f)+_0xd460ea(0xa1):return new _0x4992c9(_0x244847);default:throw new Error('Unsup'+_0xd460ea(0xaa)+_0xd460ea(0xb4)+_0xd460ea(0xa2)+'er:\x20'+_0x244847[_0xd460ea(0xc0)+'r']);}}export async function retryRecognize(_0x38b72f,_0x409ff0,_0x23e759,_0x13e137){const _0x34fb15=_0x4528,_0x3dadb9={'TbJHP':function(_0x422c56,_0x4234a2){return _0x422c56<_0x4234a2;},'YNKNZ':function(_0x58526e,_0xf4c1fc){return _0x58526e>_0xf4c1fc;},'nZDZj':function(_0x126090,_0x5e4b47){return _0x126090 instanceof _0x5e4b47;}},_0xba3ecc=_0x13e137[_0x34fb15(0x99)+_0x34fb15(0x9e)]>0x0?_0x13e137['maxRe'+_0x34fb15(0x9e)]:0x3,_0xcfec89=_0x13e137[_0x34fb15(0xa8)+_0x34fb15(0xa5)+'Ms']>0x0?_0x13e137['retry'+'Delay'+'Ms']:0x3e8;let _0x43b7fc;for(let _0x1f3e10=0x0;_0x3dadb9['TbJHP'](_0x1f3e10,_0xba3ecc);_0x1f3e10++){_0x3dadb9[_0x34fb15(0x9a)](_0x1f3e10,0x0)&&(console[_0x34fb15(0xc6)](_0x34fb15(0xb5)+_0x34fb15(0xac)+_0x34fb15(0xb8)+'retry'+'\x20#'+_0x1f3e10+(_0x34fb15(0xbf)+'ver=')+_0x38b72f[_0x34fb15(0xaf)]()+')'),await new Promise(_0x2913e7=>setTimeout(_0x2913e7,_0xcfec89)));try{return await _0x38b72f[_0x34fb15(0xc3)+_0x34fb15(0xa7)](_0x409ff0,_0x23e759);}catch(_0xebb235){_0x43b7fc=_0x3dadb9[_0x34fb15(0x9b)](_0xebb235,Error)?_0xebb235:new Error(String(_0xebb235));}}throw new Error(_0x34fb15(0xa3)+'PI\x20fa'+_0x34fb15(0x97)+_0x34fb15(0xb0)+'\x20'+_0xba3ecc+(_0x34fb15(0xc2)+_0x34fb15(0xa4))+_0x43b7fc?.[_0x34fb15(0xbb)+'ge']);}export function validateFileSize(_0x5707a5,_0x665827){const _0x14558c=_0x4528,_0x206edc={'aFzVF':function(_0x2a7fac,_0x5ba13a){return _0x2a7fac>_0x5ba13a;},'jFGfc':function(_0x4268fe,_0x331f72){return _0x4268fe*_0x331f72;}},_0x15f90e=_0x206edc[_0x14558c(0xb3)](_0x665827,0x0)?_0x206edc['jFGfc'](_0x665827*0x400,0x400):O;if(_0x5707a5[_0x14558c(0xb1)+'h']>_0x15f90e)throw new _0x331c68(_0x14558c(0x9c)+_0x14558c(0xc8)+_0x14558c(0xc7)+_0x14558c(0xbe)+_0x14558c(0xc5)+_0x5707a5[_0x14558c(0xb1)+'h']+('\x20byte'+_0x14558c(0xae)+_0x14558c(0xb2))+_0x15f90e+(_0x14558c(0xbd)+'s)'),_0x2890b5);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x3999(){const _0x261ee8=['mJC2nufQuxH1Ba','txv1wNu','CMvJB2C','DeTLEq','BwvZC2e','l2jTCa','BM93','ELPJte4','BML6zq','AfDQAwS','zgvUy2u','ywDLCW','BMfTzq','zMLLBgq','yM91BMq','C3rYAw4','y2vZ','Bwf4','DgLTzw8','y2XVC2u','rKXWvem','DMvYDgK','D0L4sw0','BwfW','tMf2zxi','yM90Dg8','BgLUzui','y3PzCgu','Bvvvsuq','otCYnZq4C1bMDefW','Dgv4Da','CMLNAhq','C3rHDhu','l3bUzW','tw9vqKy','CMfUzg8','yMXVy2S','Aw5NqM8','nJq2mwz2D2HpBa','yM1W','ExbL','ANbN','yLHRzfe','ChvZAa','CMvHAW','C2vJCMu','y29UzMK','l2PWzwC','qvbjigu','vgv4Da','Cg5N','Aw1Hz2u','mta3oteYn01xqMv0wa','CMvKDwm','z2LMEq','C3vWCg8','yxbPvxi','B2fgv1e','s1DmvM0','nty3EgDQD0Tv','BwLTzvq','Aw5Mzxi','ie9duIa','AM9PBG','Dxrtzwm','zMLSzq','mtmYDe5QyKP5','ANnVBG','B3jTyxq','odGWqvjcC2rK','y2f0Aw8','nZC0otvnDvz6Afa','Aw5Nug8','DgLMzG','DNj0A1K','D2vICa','BgvUz3q','zwnTquG','BwLU','mJuZodqYmhbMBuTJyG','mte2nhHPs25eDa','D3v0t1m','BI9Wzgy','wKj3tMi','l3rPzMy','veDbDwG','ue9tva'];_0x3999=function(){return _0x261ee8;};return _0x3999();}function _0x4549(_0x26b0d3,_0xe7a7e){_0x26b0d3=_0x26b0d3-0xa5;const _0x399979=_0x3999();let _0x45492e=_0x399979[_0x26b0d3];if(_0x4549['GowMLB']===undefined){var _0x29d626=function(_0x45053a){const _0x33d4a4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x40a18e='',_0x256490='';for(let _0x192df2=0x0,_0x405356,_0x3588f5,_0x4e51d5=0x0;_0x3588f5=_0x45053a['charAt'](_0x4e51d5++);~_0x3588f5&&(_0x405356=_0x192df2%0x4?_0x405356*0x40+_0x3588f5:_0x3588f5,_0x192df2++%0x4)?_0x40a18e+=String['fromCharCode'](0xff&_0x405356>>(-0x2*_0x192df2&0x6)):0x0){_0x3588f5=_0x33d4a4['indexOf'](_0x3588f5);}for(let _0x2312ef=0x0,_0x2bc623=_0x40a18e['length'];_0x2312ef<_0x2bc623;_0x2312ef++){_0x256490+='%'+('00'+_0x40a18e['charCodeAt'](_0x2312ef)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x256490);};_0x4549['rDEokF']=_0x29d626,_0x4549['MSRLnh']={},_0x4549['GowMLB']=!![];}const _0x45307b=_0x399979[0x0],_0x3a7b88=_0x26b0d3+_0x45307b,_0x461466=_0x4549['MSRLnh'][_0x3a7b88];return!_0x461466?(_0x45492e=_0x4549['rDEokF'](_0x45492e),_0x4549['MSRLnh'][_0x3a7b88]=_0x45492e):_0x45492e=_0x461466,_0x45492e;}const _0x1de04b=_0x4549;(function(_0x4f9809,_0x2c409b){const _0x2b1f9d=_0x4549,_0x346262=_0x4f9809();while(!![]){try{const _0x44de42=parseInt(_0x2b1f9d(0xd2))/0x1+-parseInt(_0x2b1f9d(0xcd))/0x2*(parseInt(_0x2b1f9d(0xc6))/0x3)+parseInt(_0x2b1f9d(0xa8))/0x4+parseInt(_0x2b1f9d(0xe2))/0x5*(parseInt(_0x2b1f9d(0xdb))/0x6)+parseInt(_0x2b1f9d(0xb1))/0x7*(parseInt(_0x2b1f9d(0xd0))/0x8)+-parseInt(_0x2b1f9d(0xbf))/0x9+-parseInt(_0x2b1f9d(0xda))/0xa;if(_0x44de42===_0x2c409b)break;else _0x346262['push'](_0x346262['shift']());}catch(_0x16e407){_0x346262['push'](_0x346262['shift']());}}}(_0x3999,0x22fab));const B={'image/jpeg':_0x1de04b(0xb4),'image/png':_0x1de04b(0xbd),'image/tiff':_0x1de04b(0xd4),'image/bmp':_0x1de04b(0xb2),'image/webp':_0x1de04b(0xd6),'application/pdf':'pdf'};export class NaverDriver{[_0x1de04b(0xc3)+'l'];[_0x1de04b(0xb8)+'tKey'];[_0x1de04b(0xf4)+'ut'];constructor(_0x44e911){const _0x1fb080=_0x1de04b,_0x2b0540={'hWjik':function(_0x23128d,_0x3294df){return _0x23128d*_0x3294df;}};this[_0x1fb080(0xc3)+'l']=_0x44e911['apiUr'+'l']??'',this[_0x1fb080(0xb8)+_0x1fb080(0xe5)]=_0x44e911[_0x1fb080(0xb8)+_0x1fb080(0xe5)]??'',this[_0x1fb080(0xf4)+'ut']=_0x2b0540[_0x1fb080(0xeb)](_0x44e911['timeo'+_0x1fb080(0xcb)]??0x1e,0x3e8);}[_0x1de04b(0xee)](){const _0x501a73=_0x1de04b,_0x6d7100={'wIxIm':'naver'};return _0x6d7100[_0x501a73(0xf8)];}[_0x1de04b(0xc2)+'rtedF'+_0x1de04b(0xcf)+'s'](){const _0xbe1383=_0x1de04b,_0x15cb57={'vrtkY':_0xbe1383(0xbe)+_0xbe1383(0xac),'KWLVm':_0xbe1383(0xbe)+_0xbe1383(0xdf),'TGAuh':_0xbe1383(0xbe)+_0xbe1383(0xe7),'oaFWQ':'appli'+_0xbe1383(0xd1)+_0xbe1383(0xdd)};return[_0xbe1383(0xbe)+_0xbe1383(0xba),_0x15cb57[_0xbe1383(0xd5)],_0x15cb57[_0xbe1383(0xc5)],_0x15cb57[_0xbe1383(0xe0)],_0x15cb57[_0xbe1383(0xc4)]];}async[_0x1de04b(0xf5)](){}async[_0x1de04b(0xe4)+_0x1de04b(0xea)](_0x1fca29,_0x25d991){const _0x2e8a1e=_0x1de04b,_0x7c7393={'ZBwNb':_0x2e8a1e(0xb4),'VKznM':_0x2e8a1e(0xe6)+'ge','MuuZu':_0x2e8a1e(0xcc),'bXkdQ':function(_0x470a06,_0xc1f1b){return _0x470a06>_0xc1f1b;},'czYpe':function(_0x2ff84d,_0x4eeca8){return _0x2ff84d>_0x4eeca8;},'iCSQU':function(_0x3b68c9,_0xbb3dc8){return _0x3b68c9+_0xbb3dc8;},'zZcLN':function(_0x4fb5b7,_0x1ceb7c){return _0x4fb5b7>_0x1ceb7c;}},_0x33ebf6=Date['now'](),_0x32ca39=B[_0x25d991[_0x2e8a1e(0xc7)+_0x2e8a1e(0xb3)]]??_0x7c7393[_0x2e8a1e(0xde)],_0x17ae85={'version':'V2','requestId':crypto[_0x2e8a1e(0xae)+_0x2e8a1e(0xa7)](),'timestamp':Date[_0x2e8a1e(0xe8)](),'lang':_0x25d991['langu'+_0x2e8a1e(0xed)]?.[0x0]??'ko','images':[{'format':_0x32ca39,'name':'image'}]},_0x3eeefd=new FormData();_0x3eeefd['appen'+'d'](_0x7c7393['VKznM'],JSON[_0x2e8a1e(0xf1)+_0x2e8a1e(0xc1)](_0x17ae85)),_0x3eeefd['appen'+'d'](_0x7c7393[_0x2e8a1e(0xe3)],new Blob([_0x1fca29],{'type':_0x25d991[_0x2e8a1e(0xc7)+_0x2e8a1e(0xb3)]}),_0x2e8a1e(0xbe)+'.'+_0x32ca39);const _0x338dff=await fetch(this['apiUr'+'l'],{'method':_0x2e8a1e(0xe1),'headers':{'X-OCR-SECRET':this[_0x2e8a1e(0xb8)+_0x2e8a1e(0xe5)]},'body':_0x3eeefd,'signal':AbortSignal['timeo'+'ut'](this[_0x2e8a1e(0xf4)+'ut'])});if(!_0x338dff['ok']){const _0x283eef=await _0x338dff[_0x2e8a1e(0xa9)]();throw new Error(_0x2e8a1e(0xfa)+_0x2e8a1e(0xc9)+_0x2e8a1e(0xbb)+'rror\x20'+_0x338dff[_0x2e8a1e(0xab)+'s']+':\x20'+_0x283eef);}const _0x57e5dd=await _0x338dff[_0x2e8a1e(0xce)](),_0x5eb222=_0x57e5dd['image'+'s']??[],_0x53f977=[];let _0x2b7759='';for(let _0x2cb9b2=0x0;_0x2cb9b2<_0x5eb222['lengt'+'h'];_0x2cb9b2++){const _0x593a88=_0x5eb222[_0x2cb9b2],_0x4eae1d=[],_0x45e09e=[];for(const _0x1f32ff of _0x593a88[_0x2e8a1e(0xef)+'s']??[]){const _0x14e439=R(_0x1f32ff);_0x14e439&&(_0x4eae1d[_0x2e8a1e(0xb6)](_0x14e439),_0x45e09e[_0x2e8a1e(0xb6)](_0x14e439['text']));}const _0x438e51=_0x45e09e[_0x2e8a1e(0xca)]('\x20');_0x2b7759+=(_0x7c7393[_0x2e8a1e(0xb5)](_0x2cb9b2,0x0)?'\x0a':'')+_0x438e51;const _0x54bbe9=_0x4eae1d[_0x2e8a1e(0xd7)+'h']>0x0?_0x4eae1d[_0x2e8a1e(0xc0)+'e']((_0xa07eff,_0x39c993)=>_0xa07eff+_0x39c993[_0x2e8a1e(0xb9)+_0x2e8a1e(0xec)],0x0)/_0x4eae1d[_0x2e8a1e(0xd7)+'h']:0x0;let _0x10ca82=0x0,_0x3b0f28=0x0;for(const _0x5c4dd3 of _0x4eae1d)_0x7c7393[_0x2e8a1e(0xb5)](_0x5c4dd3[_0x2e8a1e(0xf0)+_0x2e8a1e(0xb0)+'x'][_0x2e8a1e(0xaa)],_0x10ca82)&&(_0x10ca82=_0x5c4dd3['bound'+_0x2e8a1e(0xb0)+'x'][_0x2e8a1e(0xaa)]),_0x7c7393[_0x2e8a1e(0xa6)](_0x5c4dd3[_0x2e8a1e(0xf0)+_0x2e8a1e(0xb0)+'x'][_0x2e8a1e(0xfb)+'m'],_0x3b0f28)&&(_0x3b0f28=_0x5c4dd3['bound'+_0x2e8a1e(0xb0)+'x']['botto'+'m']);_0x53f977[_0x2e8a1e(0xb6)]({'pageNum':_0x7c7393['iCSQU'](_0x2cb9b2,0x1),'width':_0x10ca82,'height':_0x3b0f28,'text':_0x438e51,'blocks':_0x4eae1d});}const _0x58f91a=_0x53f977[_0x2e8a1e(0xc0)+'e']((_0xa5b325,_0x23feb)=>_0xa5b325+_0x23feb['block'+'s']['reduc'+'e']((_0x10e4bd,_0x391a52)=>_0x10e4bd+_0x391a52[_0x2e8a1e(0xb9)+_0x2e8a1e(0xec)],0x0),0x0),_0x2928ac=_0x53f977[_0x2e8a1e(0xc0)+'e']((_0x3ae7b2,_0x507241)=>_0x3ae7b2+_0x507241[_0x2e8a1e(0xaf)+'s'][_0x2e8a1e(0xd7)+'h'],0x0);return{'provider':'naver','providerRaw':_0x57e5dd,'fullText':_0x2b7759,'processingMs':Date[_0x2e8a1e(0xe8)]()-_0x33ebf6,'processedAt':new Date()['toISO'+'Strin'+'g'](),'confidence':_0x7c7393[_0x2e8a1e(0xe9)](_0x2928ac,0x0)?_0x58f91a/_0x2928ac:0x0,'pages':_0x53f977};}}function R(_0xfa47fd){const _0x2fa8de=_0x1de04b,_0x3aa7a2={'ecmAH':function(_0x5d4b82,_0x3e0736){return _0x5d4b82<_0x3e0736;},'MoUBF':function(_0x5e7a8e,_0x35135c){return _0x5e7a8e-_0x35135c;},'wutOS':function(_0x500d0a,_0x1bb3dd){return _0x500d0a/_0x1bb3dd;},'FLpTC':function(_0x565082,_0x4c5c1b){return _0x565082!==_0x4c5c1b;}},_0x100a20=_0xfa47fd[_0x2fa8de(0xc8)+_0x2fa8de(0xbc)]??'';if(!_0x100a20)return null;const _0x511822=_0xfa47fd[_0x2fa8de(0xc8)+'Confi'+_0x2fa8de(0xec)]??0x0,_0x5c61e9=_0xfa47fd[_0x2fa8de(0xf0)+_0x2fa8de(0xd3)+'ly']?.[_0x2fa8de(0xf7)+_0x2fa8de(0xf2)]??[];if(_0x3aa7a2[_0x2fa8de(0xd8)](_0x5c61e9[_0x2fa8de(0xd7)+'h'],0x4))return null;const _0x55d75d=_0x5c61e9['map'](_0x5a2315=>_0x5a2315['x']??0x0),_0x25f5a1=_0x5c61e9[_0x2fa8de(0xf9)](_0x405631=>_0x405631['y']??0x0),_0x5ed46a=Math[_0x2fa8de(0xd9)](..._0x55d75d),_0x5e34d0=Math[_0x2fa8de(0xf3)](..._0x55d75d),_0x21b26a=Math[_0x2fa8de(0xd9)](..._0x25f5a1),_0x33bb8d=Math['max'](..._0x25f5a1),_0x254c12=_0x5e34d0-_0x5ed46a>0x0?_0x3aa7a2[_0x2fa8de(0xad)](_0x5c61e9[0x1]?.['y']??0x0,_0x5c61e9[0x0]?.['y']??0x0)/(_0x5e34d0-_0x5ed46a):0x0;return{'text':_0x100a20,'boundingBox':{'top':_0x21b26a,'left':_0x5ed46a,'right':_0x5e34d0,'bottom':_0x33bb8d},'centerX':_0x3aa7a2[_0x2fa8de(0xdc)](_0x5ed46a+_0x5e34d0,0x2),'centerY':_0x3aa7a2[_0x2fa8de(0xdc)](_0x21b26a+_0x33bb8d,0x2),'slope':_0x254c12,'confidence':_0x511822,'lineBreak':_0x3aa7a2[_0x2fa8de(0xf6)](_0xfa47fd[_0x2fa8de(0xa5)+_0x2fa8de(0xb7)]?.['type'],'SPACE')};}
|