const a69_0x18e15f=a69_0x1f0c;(function(_0x299230,_0x273c62){const _0x218f9a=a69_0x1f0c,_0x2ea0c6=_0x299230();while(!![]){try{const _0x404bdb=parseInt(_0x218f9a(0x2fa))/0x1+-parseInt(_0x218f9a(0x22b))/0x2*(-parseInt(_0x218f9a(0x27e))/0x3)+parseInt(_0x218f9a(0x158))/0x4*(parseInt(_0x218f9a(0x182))/0x5)+parseInt(_0x218f9a(0x12e))/0x6+parseInt(_0x218f9a(0xd3))/0x7*(parseInt(_0x218f9a(0x1d8))/0x8)+-parseInt(_0x218f9a(0xd1))/0x9*(-parseInt(_0x218f9a(0x20a))/0xa)+-parseInt(_0x218f9a(0xcc))/0xb;if(_0x404bdb===_0x273c62)break;else _0x2ea0c6['push'](_0x2ea0c6['shift']());}catch(_0x4ae8b7){_0x2ea0c6['push'](_0x2ea0c6['shift']());}}}(a69_0x574a,0x25fd0));const a69_0x53f5fd=(function(){let _0x54d37f=!![];return function(_0x520f60,_0x473951){const _0x53517d=_0x54d37f?function(){const _0x4bce31=a69_0x1f0c;if(_0x473951){const _0x1b99b0=_0x473951[_0x4bce31(0xe4)](_0x520f60,arguments);return _0x473951=null,_0x1b99b0;}}:function(){};return _0x54d37f=![],_0x53517d;};}()),a69_0xb587c8=a69_0x53f5fd(this,function(){const _0x1dd2d5=a69_0x1f0c,_0x4a26e0=function(){const _0x29f175=a69_0x1f0c;let _0x395fed;try{_0x395fed=Function(_0x29f175(0x1cd)+_0x29f175(0x20e)+');')();}catch(_0x21603d){_0x395fed=window;}return _0x395fed;},_0x4896b7=_0x4a26e0(),_0x110372=_0x4896b7[_0x1dd2d5(0x1c3)]=_0x4896b7[_0x1dd2d5(0x1c3)]||{},_0x56451d=['log',_0x1dd2d5(0x141),_0x1dd2d5(0x1c6),'error',_0x1dd2d5(0x1d7),_0x1dd2d5(0x15e),_0x1dd2d5(0x288)];for(let _0x15ed12=0x0;_0x15ed12<_0x56451d[_0x1dd2d5(0x108)];_0x15ed12++){const _0x5d7ddd=a69_0x53f5fd[_0x1dd2d5(0x1b5)]['prototype'][_0x1dd2d5(0x2c2)](a69_0x53f5fd),_0x242c68=_0x56451d[_0x15ed12],_0x186a40=_0x110372[_0x242c68]||_0x5d7ddd;_0x5d7ddd[_0x1dd2d5(0x16b)]=a69_0x53f5fd['bind'](a69_0x53f5fd),_0x5d7ddd[_0x1dd2d5(0x34a)]=_0x186a40[_0x1dd2d5(0x34a)][_0x1dd2d5(0x2c2)](_0x186a40),_0x110372[_0x242c68]=_0x5d7ddd;}});a69_0xb587c8();function addThumbnailAndPreviewForThreadView(_0xe7d52e,_0x44d42a,_0x577221,_0x2f091c){const _0x2deb90=a69_0x1f0c;let _0x2f8da3,_0x44eef4;if(!(_0x2f091c[_0x2deb90(0xf0)]&&_0x2f091c[_0x2deb90(0xf0)][_0x44d42a]&&_0x2f091c[_0x2deb90(0xf0)][_0x44d42a][_0x2deb90(0x234)]&&_0x2f091c[_0x2deb90(0xf0)][_0x44d42a][_0x2deb90(0x234)][_0x2deb90(0x279)])){console[_0x2deb90(0xff)](_0x2deb90(0x207));return;}const _0x5f4043=_0x2f091c[_0x2deb90(0xf0)][_0x44d42a][_0x2deb90(0x299)]&&_0x2f091c[_0x2deb90(0xf0)][_0x44d42a][_0x2deb90(0x299)][signin[_0x2deb90(0x334)]['id']]?_0x2f091c['files'][_0x44d42a][_0x2deb90(0x299)][signin[_0x2deb90(0x334)]['id']][_0x2deb90(0x234)]:_0x2f091c[_0x2deb90(0xf0)][_0x44d42a]['thumbnail'],_0x1c9477=_0x2f091c[_0x2deb90(0xf0)][_0x44d42a]['addresseesList']&&_0x2f091c[_0x2deb90(0xf0)][_0x44d42a][_0x2deb90(0x299)][signin[_0x2deb90(0x334)]['id']]?_0x2f091c[_0x2deb90(0xf0)][_0x44d42a]['addresseesList'][signin[_0x2deb90(0x334)]['id']]:_0x2f091c[_0x2deb90(0xf0)][_0x44d42a];execFirebaseFunction(_0x2deb90(0x2f6),{'filePath':_0x2f091c[_0x2deb90(0xf0)][_0x44d42a][_0x2deb90(0x234)][_0x2deb90(0x279)]})[_0x2deb90(0x310)](_0xe13339=>{const _0x553cd9=_0x2deb90;if(_0xe13339[_0x553cd9(0x22c)][_0x553cd9(0x23e)]!='success')throw new Error('Download\x20Drive\x20thumbnail:\x20getDownloadUrlForFile\x20function\x20failed\x20:'+_0xe13339[_0x553cd9(0x22c)][_0x553cd9(0x23e)]);return _0xe13339['data']['url'];})[_0x2deb90(0x310)](_0x2e0834=>{const _0x3f8f93=_0x2deb90;_0x44eef4=_0x5f4043[_0x3f8f93(0xfe)][_0x3f8f93(0x131)],_0x2f8da3=Object[_0x3f8f93(0x18b)]({'secretKey':CryptManager[_0x3f8f93(0x2d1)](_0x5f4043[_0x3f8f93(0xfe)][_0x3f8f93(0x240)]),'dataIV':_0x5f4043['encSecretKeyInfo'][_0x3f8f93(0x131)]},_0x5f4043);const _0x3c444f=new XMLHttpRequest();_0x3c444f[_0x3f8f93(0x1b9)]='blob',_0x3c444f[_0x3f8f93(0x227)]=async _0xde2d9f=>{const _0x2aad3e=_0x3f8f93,_0x314e3e=new Uint8Array(await CryptManager['RSA_OAEP_decrypt'](_0x2f8da3['secretKey']));var _0x120896=await _0x3c444f[_0x2aad3e(0x2cc)][_0x2aad3e(0x27d)]();crypt[_0x2aad3e(0x23a)](_0x120896,_0x44eef4,_0x314e3e)[_0x2aad3e(0x310)](_0x5652cd=>{const _0x51f8d4=_0x2aad3e;files['_zipBuilder'][_0x51f8d4(0x2e6)](new Uint8Array(_0x5652cd));const _0x380c36=new zip['ZipReader'](new zip[(_0x51f8d4(0x29a))](new Blob([_0x5652cd])));((async()=>{const _0x4f491e=_0x51f8d4,_0x4ccab9=await _0x380c36[_0x4f491e(0x282)]();for(const _0x3934dc of _0x4ccab9){const _0x454848=await _0x3934dc[_0x4f491e(0x1fb)](new zip[(_0x4f491e(0xbd))]('application/octet-stream'),{'onprogress':(_0x1229ae,_0x283ddc)=>{},'useWebWorkers':!![]});$(_0x4f491e(0x29e)+_0x44d42a+_0x4f491e(0x1e0))[_0x4f491e(0x2e7)](_0x4f491e(0x32d),window[_0x4f491e(0xe6)][_0x4f491e(0x33c)](_0x454848))['attr']('fildeId',_0x44d42a)[_0x4f491e(0x12b)]('click')['on'](_0x4f491e(0x2df),{'transferId':_0xe7d52e},_0x56ac4c=>{const _0x136d50=_0x4f491e;_0x56ac4c[_0x136d50(0x2a6)](),Preview['displayWaitingPreview'](_0x44d42a),firebase[_0x136d50(0x2e8)]()[_0x136d50(0x2d6)](_0x136d50(0xf0))['child'](_0x44d42a)[_0x136d50(0x341)](_0x136d50(0x279))['on']('value',_0x575c71=>{const _0x2c742d=_0x136d50;if(_0x575c71[_0x2c742d(0x192)]()==null)return;execFirebaseFunction('getDownloadUrlForFile',{'filePath':_0x575c71[_0x2c742d(0x192)]()})['then'](_0xb15469=>{const _0x422420=_0x2c742d;if(_0xb15469['data'][_0x422420(0x23e)]!=_0x422420(0x1ca))throw new Error(_0x422420(0x11f)+_0xb15469[_0x422420(0x22c)][_0x422420(0x23e)]);return _0xb15469[_0x422420(0x22c)][_0x422420(0x152)];})[_0x2c742d(0x310)](_0x4fdfe9=>{const _0x18dc80=_0x2c742d;_0x44eef4=_0x1c9477[_0x18dc80(0xfe)][_0x18dc80(0x131)],_0x2f8da3=Object[_0x18dc80(0x18b)]({'secretKey':CryptManager[_0x18dc80(0x2d1)](_0x1c9477['encSecretKeyInfo'][_0x18dc80(0x240)]),'dataIV':_0x1c9477['encSecretKeyInfo'][_0x18dc80(0x131)]},_0x1c9477);const _0x7107c1=new XMLHttpRequest();_0x7107c1['responseType']=_0x18dc80(0x1e6),_0x7107c1[_0x18dc80(0x227)]=async _0x2ed2eb=>{const _0x5b6587=_0x18dc80,_0x114517=new Uint8Array(await CryptManager[_0x5b6587(0xfb)](_0x2f8da3['secretKey']));var _0xf7634c=await _0x7107c1[_0x5b6587(0x2cc)][_0x5b6587(0x27d)]();crypt[_0x5b6587(0x23a)](_0xf7634c,_0x44eef4,_0x114517)[_0x5b6587(0x310)](_0x213299=>{const _0x442b3d=_0x5b6587;files[_0x442b3d(0x19c)][_0x442b3d(0x2e6)](new Uint8Array(_0x213299));const _0x430556=new zip['ZipReader'](new zip[(_0x442b3d(0x29a))](new Blob([_0x213299])));((async()=>{const _0x2f4f46=_0x442b3d,_0x9f0d0a=await _0x430556['getEntries']();for(const _0x115d09 of _0x9f0d0a){const _0xde4a50=await _0x115d09[_0x2f4f46(0x1fb)](new zip[(_0x2f4f46(0xbd))](_0x2f4f46(0x304)),{'onprogress':(_0x56f975,_0x249fc2)=>{},'useWebWorkers':!![]});Preview['displayPreview'](_0xde4a50,_0x577221?_0x577221:'',_0x44d42a);}await _0x430556['close']();})());});},_0x7107c1[_0x18dc80(0x149)]('GET',_0x4fdfe9,!![]),_0x7107c1[_0x18dc80(0x31e)]();})[_0x2c742d(0x2c9)](_0x28c1e4=>{const _0x4bc257=_0x2c742d;console['error'](_0x28c1e4),HandleError(_0x4bc257(0xf6)+_0x28c1e4,_0x4bc257(0x2f5),_0x28c1e4[_0x4bc257(0x105)],_0x28c1e4[_0x4bc257(0x14b)],_0x28c1e4);});});});}await _0x380c36['close']();})());});},_0x3c444f['open'](_0x3f8f93(0x2be),_0x2e0834,!![]),_0x3c444f[_0x3f8f93(0x31e)]();})[_0x2deb90(0x2c9)](_0x328c06=>{const _0x456249=_0x2deb90;console[_0x456249(0x1d9)](_0x328c06),HandleError(_0x456249(0x280)+_0xe7d52e+';'+_0x44d42a+')'+_0x328c06,_0x456249(0x2f5),_0x328c06[_0x456249(0x105)],_0x328c06[_0x456249(0x14b)],_0x328c06);});return;}const Thumbnail={'cacheThumbnail':new Map(),'desiredSize':0xc8,'qualityValue':0.2,async 'createThumbnail'(_0x310e93,_0x30f7f5){return new Promise((_0x4531c0,_0x3cdca4)=>{const _0x41489c=a69_0x1f0c;try{const _0x3709c1=[Thumbnail['_createPdfThumbnail'],Thumbnail[_0x41489c(0x155)],Thumbnail['_createVideoThumbnail']],_0x4999a3=_0x3709c1[Thumbnail[_0x41489c(0x183)](_0x310e93[_0x41489c(0x243)])](_0x310e93);_0x4999a3[_0x41489c(0x310)](_0x58693c=>{const _0x50ea29=_0x41489c,_0x2c5e3f=atob(_0x58693c[_0x50ea29(0x230)](_0x58693c['indexOf'](',')+0x1)),_0x2e6bbc=new Array(_0x2c5e3f['length']);for(let _0x420ffe=0x0;_0x420ffe<_0x2c5e3f[_0x50ea29(0x108)];_0x420ffe++){_0x2e6bbc[_0x420ffe]=_0x2c5e3f[_0x50ea29(0xd6)](_0x420ffe);}const _0x3ed71b=new Uint8Array(_0x2e6bbc),_0x57b110=new Blob([_0x3ed71b],{'type':_0x50ea29(0x19a)},_0x50ea29(0x234)+_0x30f7f5),_0x2421fd=new zip[(_0x50ea29(0x28d))](new zip[(_0x50ea29(0xbd))]('application/zip'));((async()=>{const _0x1cff0b=_0x50ea29;_0x2421fd[_0x1cff0b(0x340)]('thumbnail'+_0x30f7f5,new zip['BlobReader'](_0x57b110),{'onprogress':(_0x48c0ed,_0x2c3096)=>{}})[_0x1cff0b(0x310)](()=>{const _0x4ec922=_0x1cff0b;return _0x2421fd[_0x4ec922(0x2b0)]()['then'](_0x8e38cd=>{const _0x58ba64=_0x4ec922;files[_0x58ba64(0x1ed)]['thumbnailZipEntries']['set']({'filename':'thumbnail'+_0x30f7f5,'size':_0x57b110[_0x58ba64(0x1b4)],'fileId':_0x30f7f5},_0x8e38cd),_0x4531c0();});})[_0x1cff0b(0x2c9)](_0x53b89c=>{_0x3cdca4(_0x53b89c);});})());})[_0x41489c(0x2c9)](_0x563845=>{_0x3cdca4(_0x563845);});}catch(_0x10cb58){_0x3cdca4(_0x10cb58);}});},async '_createThumbnailImage'(_0x4c29af,_0x15c3bd){const _0x4a8ade=a69_0x1f0c;return this[_0x4a8ade(0x31a)](_0x4c29af,_0x15c3bd?_0x15c3bd:[String(Thumbnail[_0x4a8ade(0x1e8)]),String(Thumbnail['desiredSize'])],Thumbnail[_0x4a8ade(0xaf)]);},async 'createImageFromDom'(_0x24a27b,_0x4253f5=[String(Thumbnail[a69_0x18e15f(0x1e8)]),String(Thumbnail[a69_0x18e15f(0x1e8)])],_0x1a42eb=Thumbnail[a69_0x18e15f(0xaf)]){const _0x22ce14=a69_0x18e15f,_0x418198=await domtoimage[_0x22ce14(0x145)]($(_0x24a27b)[0x0],{'quality':_0x1a42eb,'bgcolor':_0x22ce14(0x161),'width':_0x4253f5[0x0],'height':_0x4253f5[0x1],'style':{'width':_0x4253f5[0x0]+'px','height':_0x4253f5[0x1]+'px','object-fit':_0x22ce14(0x316)}});return _0x418198;},async 'uploadThumbnail'(_0x24f498,_0x28e757,_0x5ac4a3,_0x1a70f3=![],_0xd8f16b=undefined){const _0x5e6303=_0x3ae591=>{return new Promise((_0x4aea0d,_0x4433b4)=>{const _0x3cf89c=a69_0x1f0c,_0x5f326b=new FileReader();_0x5f326b[_0x3cf89c(0x227)]=()=>{_0x4aea0d(_0x5f326b['result']);},_0x5f326b[_0x3cf89c(0x327)]=(_0x485673,_0x7e7d9d)=>{const _0x5f0800=_0x3cf89c,_0x368e78=new Error(_0x5f0800(0xd0)+_0x24f498+')\x20'+(_0x1a70f3?_0x5f0800(0x1f8):_0x5f0800(0x1b7)+_0x28e757+')'));HandleError(_0x368e78[_0x5f0800(0x2f3)],_0x5f0800(0x2b9),_0x368e78[_0x5f0800(0x105)],_0x368e78[_0x5f0800(0x14b)],_0x368e78),_0x5f326b[_0x5f0800(0x264)](),_0x4433b4(_0x368e78);},_0x5f326b['readAsArrayBuffer'](_0x3ae591);});},_0x1e064d=async(_0x5e0e09,_0x23b131,_0x53c43f)=>{const _0x103453=a69_0x1f0c,[_0x3021a0,_0x31f7fe]=await CryptManager[_0x103453(0x2aa)]();let _0x25608b;const _0xbe8c8d=new Uint8Array(await CryptManager[_0x103453(0x1cb)](_0x31f7fe)),_0x5306f0=CryptManager['uint8ArrayToBase64String'](_0xbe8c8d);if(!Array[_0x103453(0x31f)](files[_0x103453(0x1ed)]['thumbnailZipEntries']['keys']())[_0x103453(0x165)](_0x1a1c29=>_0x1a1c29[_0x103453(0x32f)]==_0x5e0e09))return;const _0x2c39a6=Array[_0x103453(0x31f)](files[_0x103453(0x1ed)][_0x103453(0x268)][_0x103453(0xef)]())['find'](_0x268b12=>_0x268b12[_0x103453(0x32f)]==_0x5e0e09),_0x3c5911=files[_0x103453(0x1ed)][_0x103453(0x268)]['get'](_0x2c39a6);return _0x5e6303(_0x3c5911)[_0x103453(0x310)](async _0x29c6d1=>{const _0x3d6af4=_0x103453,_0x2a77e3=[];let _0x13cc1b,_0x2671d1;const _0x274c07=_0x3d6af4(0x284)+signin['_user']['id']+_0x3d6af4(0x31b)+_0x5e0e09,_0x266b86=async([_0xf1834b,_0x2b64d6])=>{const _0x1aa42b=_0x3d6af4;_0x25608b=_0x2b64d6,_0x2671d1={'owner':signin[_0x1aa42b(0x334)]['id'],'path':_0x274c07,'dateCreated':Date[_0x1aa42b(0x106)](),'encSecretKeyInfo':{'algoVersions':CryptManager[_0x1aa42b(0x324)](),'dataIV':_0x2b64d6,'encSecretKey':_0x5306f0}};_0xd8f16b&&(_0xd8f16b[_0x1aa42b(0xf0)][_0x5e0e09][_0x1aa42b(0x234)]=_0x2671d1);let _0xec34f9={'voiceMessage':files[_0x1aa42b(0x1ed)][_0x1aa42b(0x1ab)]};_0x23b131[_0x1aa42b(0x130)](_0x2eac64=>{_0xec34f9[_0x2eac64]=!![];});const _0x305c82=new Promise((_0x1636e9,_0x2ad96f)=>{const _0x125b99=_0x1aa42b;firebase[_0x125b99(0x1de)]()[_0x125b99(0x2d6)](_0x274c07)[_0x125b99(0x17e)](_0xf1834b,{'contentType':_0x125b99(0x241),'customMetadata':_0xec34f9})['on'](_0x125b99(0x147),function(_0x3e960d){},function(_0x3c3fac){const _0x27a5fe=_0x125b99;alert(texts['error_while_uploading']+texts['if_error_persists_contact_us']),console[_0x27a5fe(0x1d9)](_0x3c3fac),HandleError(_0x27a5fe(0xd2),_0x27a5fe(0x2f5),_0x3c3fac['lineNo'],_0x3c3fac[_0x27a5fe(0x14b)],_0x3c3fac),_0x2ad96f();},function(){_0x1636e9();});});return Promise[_0x1aa42b(0x206)]([_0x305c82,firebase[_0x1aa42b(0x2e8)]()['ref']('files')[_0x1aa42b(0x341)](_0x5e0e09)[_0x1aa42b(0x341)](_0x1aa42b(0x234))['set'](_0x2671d1)[_0x1aa42b(0x2c9)](_0x1ebb3b=>{const _0x34c139=_0x1aa42b;console[_0x34c139(0x1d9)](_0x1ebb3b),HandleError(_0x34c139(0x245)+_0x1ebb3b['code'],_0x34c139(0x2f5),_0x1ebb3b[_0x34c139(0x105)],_0x1ebb3b['colNo'],_0x1ebb3b);})]);};_0x13cc1b=CryptManager[_0x3d6af4(0x24c)](_0x3021a0,_0x29c6d1)[_0x3d6af4(0x310)](_0x266b86),_0x2a77e3[_0x3d6af4(0x2ff)](_0x13cc1b);if(_0x53c43f)return Promise[_0x3d6af4(0x206)](_0x2a77e3);for(let _0x3adb74=0x0;_0x3adb74<_0x23b131[_0x3d6af4(0x108)];_0x3adb74++){const _0x5b318b=_0x23b131[_0x3adb74];if(_0x5b318b==signin[_0x3d6af4(0x334)]['id'])continue;_0x13cc1b=CryptManager['RSA_OAEP_encrypt_custom_for_uid'](_0x31f7fe,_0x5b318b)[_0x3d6af4(0x310)](_0x241716=>{const _0x11156f=_0x3d6af4,_0x4ff280=CryptManager[_0x11156f(0x135)](new Uint8Array(_0x241716));_0xd8f16b[_0x11156f(0xf0)][_0x5e0e09][_0x11156f(0x299)][_0x5b318b]['thumbnail']={'encSecretKeyInfo':{'algoVersions':CryptManager[_0x11156f(0x324)](),'dataIV':_0x25608b,'encSecretKey':_0x4ff280}};}),_0x2a77e3['push'](_0x13cc1b);}return Promise[_0x3d6af4(0x206)](_0x2a77e3);})[_0x103453(0x310)](()=>{const _0x630e26=_0x103453;files[_0x630e26(0x1ed)][_0x630e26(0x268)][_0x630e26(0x320)](_0x2c39a6);});};return _0x1e064d(_0x24f498,_0x5ac4a3,_0x1a70f3);},'_getCreator'(_0x4da68){const _0x5c73d9=a69_0x18e15f;var _0x434fdf={'regex':new RegExp(_0x5c73d9(0x1b6)),'index':0x0},_0x52ea2d={'regex':new RegExp(_0x5c73d9(0x12c)),'index':0x1},_0x4dd2ca={'regex':new RegExp(_0x5c73d9(0x238)),'index':0x2},_0x310db5=[_0x434fdf,_0x52ea2d,_0x4dd2ca];for(_0x310db5 of _0x310db5){if(_0x310db5[_0x5c73d9(0x32b)][_0x5c73d9(0x224)](_0x4da68[_0x5c73d9(0x101)]()))return _0x310db5['index'];}throw new Error('File\x20type\x20not\x20recognized');},'_createImgThumbnail':async _0xeebe43=>{const _0x2d6bb9=a69_0x18e15f;let _0x351f3c,_0x3234fd=_0xeebe43,_0xb52a3f,_0x43ab85=[-0x1,-0x1],_0x52cc4b=new Image();await new Promise((_0x2e10dd,_0x4ee8b6)=>{const _0x2060b9=a69_0x1f0c,_0x5bf015=new FileReader();_0x5bf015[_0x2060b9(0x227)]=()=>{const _0x2b5413=_0x2060b9;_0x351f3c=_0x5bf015[_0x2b5413(0x270)],_0x52cc4b['onload']=()=>{const _0x255330=_0x2b5413;_0x43ab85[0x0]=_0x52cc4b['width'],_0x43ab85[0x1]=_0x52cc4b[_0x255330(0x1d6)],setTimeout(()=>{_0x2e10dd();},0x1);},_0x52cc4b[_0x2b5413(0x327)]=_0x4ee8b6,_0x52cc4b[_0x2b5413(0x32d)]=_0x351f3c;},_0x5bf015[_0x2060b9(0x327)]=(_0x4b13e8,_0x972ce2)=>{const _0x160200=_0x2060b9,_0x4d2ed5=new Error(_0x160200(0x174));HandleError(_0x4d2ed5[_0x160200(0x2f3)],_0x160200(0x2b9),_0x4d2ed5['lineNo'],_0x4d2ed5[_0x160200(0x14b)],_0x4d2ed5),_0x5bf015['abort'](),_0x4ee8b6(_0x4d2ed5);},_0x5bf015[_0x2060b9(0x332)](_0x3234fd);});let _0x3edda6=document[_0x2d6bb9(0x2bc)]('canvas');_0x3edda6[_0x2d6bb9(0x2ea)]=_0x52cc4b[_0x2d6bb9(0x2ea)],_0x3edda6['height']=_0x52cc4b[_0x2d6bb9(0x1d6)];let _0x28b555=_0x3edda6[_0x2d6bb9(0x2e1)]('2d');_0x28b555[_0x2d6bb9(0x177)](_0x52cc4b,0x0,0x0);const _0x34d5e1=Thumbnail['_getSizeOfThumbnailWithRatioOfRealSizeElement'](_0x43ab85);return _0xb52a3f=Thumbnail[_0x2d6bb9(0x27b)]($(_0x3edda6),_0x34d5e1),_0xb52a3f;},'_createPdfThumbnail':async _0x5bff5d=>{const _0x19bfff=a69_0x18e15f,_0x41910f=async(_0x161849,_0x272f6a,_0x1fb593=Preview[_0x19bfff(0x1e8)])=>{const _0xc80840=_0x19bfff,_0x5525d9=async(_0x20e05d,_0x41a04b)=>{var _0x46982c=new FileReader();const _0x25cb15=async _0x368511=>{const _0x1d30ca=a69_0x1f0c;let _0x3060fd=_0x368511[_0x1d30ca(0x2b6)]({'scale':0x1}),_0x44a87f=_0x368511['getViewport']({'scale':_0x1fb593/_0x3060fd[_0x1d30ca(0x2ea)]}),_0x5069ea=document['createElement']('canvas');_0x5069ea['height']=_0x44a87f[_0x1d30ca(0x1d6)],_0x5069ea['width']=_0x44a87f['width'];let _0xf25e63=_0x5069ea['getContext']('2d'),_0x185930={'canvasContext':_0xf25e63,'viewport':_0x44a87f},_0x481bbc=_0x368511[_0x1d30ca(0x338)](_0x185930);return _0x481bbc[_0x1d30ca(0x10d)][_0x1d30ca(0x310)](function(){const _0x590443=_0x1d30ca;_0x41a04b[_0x590443(0x32d)]=_0x5069ea['toDataURL']('image/jpeg');});};return new Promise((_0x400ffe,_0x4e87b7)=>{const _0x3e976a=a69_0x1f0c;_0x46982c[_0x3e976a(0x227)]=async function(){const _0x1ca914=_0x3e976a;let _0x3a5508=new Uint8Array(_0x46982c[_0x1ca914(0x270)]),_0x53fe41=pdfjsLib[_0x1ca914(0x294)]({'data':_0x3a5508});_0x53fe41['promise'][_0x1ca914(0x310)](_0x41df52=>{const _0x14d648=_0x1ca914;_0x41df52[_0x14d648(0x1a4)](0x1)[_0x14d648(0x310)](_0x30682c=>{const _0x3d5412=_0x14d648;_0x25cb15(_0x30682c)[_0x3d5412(0x310)](()=>{_0x400ffe(_0x46982c['result']);});});})['catch'](_0x249c98=>{const _0x6cfd4c=_0x1ca914;console[_0x6cfd4c(0x1d9)](_0x249c98),_0x4e87b7(_0x249c98);});},_0x46982c[_0x3e976a(0x327)]=_0x4e87b7,_0x46982c['readAsArrayBuffer'](_0x20e05d);});};if(typeof pdfjsLib===_0xc80840(0xb0)){const _0x45b988=this;await((async()=>{return new Promise(_0x17551e=>{const _0x3619a4=a69_0x1f0c;var _0x1d8352=document[_0x3619a4(0x2bc)](_0x3619a4(0x19d));_0x1d8352[_0x3619a4(0x2dc)]('src',_0x3619a4(0x18a)),_0x1d8352[_0x3619a4(0x227)]=()=>{const _0x4c8bce=()=>{const _0x41bee0=a69_0x1f0c;if(pdfjsLib)return!![];if(_0x45b988[_0x41bee0(0x132)]&&_0x45b988['window'][_0x41bee0(0x16c)]&&_0x45b988[_0x41bee0(0x132)][_0x41bee0(0x16c)][_0x41bee0(0xdc)])return _0x45b988['pdfjsLib']=_0x45b988['window'][_0x41bee0(0x16c)][_0x41bee0(0xdc)],!![];return![];},_0x315ab9=setInterval(()=>{const _0x3bb0b8=a69_0x1f0c;_0x4c8bce()&&(clearInterval(_0x315ab9),_0x45b988['pdfjsLib'][_0x3bb0b8(0x156)][_0x3bb0b8(0x1ac)]='js/libs/pdf/pdf.worker.js',_0x5525d9(_0x5bff5d,_0x272f6a)[_0x3bb0b8(0x310)](()=>{_0x17551e();}));},0x32);},document['body'][_0x3619a4(0x333)](_0x1d8352);});})());}else await _0x5525d9(_0x5bff5d,_0x272f6a);};var _0xf1263a=_0x5bff5d,_0x5048c6=$(_0x19bfff(0x1d5))['attr']('type','pdf')['addClass'](_0x19bfff(0xfa))['append'](_0x19bfff(0x142)+_0xf1263a[_0x19bfff(0x243)][_0x19bfff(0x1ea)]('.','_')['replace'](/\s/g,'')+'\x22></img>');return await _0x41910f(_0xf1263a['data'],$(_0x5048c6)[_0x19bfff(0x107)]()[0x0],Thumbnail[_0x19bfff(0x1e8)]),Thumbnail['_createThumbnailImage']($(_0x5048c6)[0x0]);},'_createVideoThumbnail':async _0xb812e1=>{return new Promise((_0x203fef,_0x4e838d)=>{const _0x18e107=a69_0x1f0c,_0x675664=document['createElement']('canvas'),_0x196a86=new FileReader();let _0x2a4011=document[_0x18e107(0x2bc)](_0x18e107(0x15a));_0x196a86[_0x18e107(0xb3)]=function(){const _0x2b2491=_0x18e107;_0x2a4011['onerror']=_0x49626f=>{_0x4e838d(_0x49626f);},_0x2a4011[_0x2b2491(0x30a)]=()=>{const _0x57f40f=_0x2b2491;if(_0x2a4011[_0x57f40f(0x273)]>=0x3)try{_0x2a4011[_0x57f40f(0x159)]&&_0x2a4011[_0x57f40f(0x159)]>0x2&&(_0x2a4011[_0x57f40f(0x129)]=()=>{const _0x3cbc63=_0x57f40f,_0x322f49=Thumbnail['_getSizeOfThumbnailWithRatioOfRealSizeElement']([_0x2a4011['videoWidth'],_0x2a4011[_0x3cbc63(0x30e)]]);_0x675664[_0x3cbc63(0x2ea)]=_0x322f49[0x0],_0x675664[_0x3cbc63(0x1d6)]=_0x322f49[0x1],_0x675664['getContext']('2d')[_0x3cbc63(0x177)](_0x2a4011,0x0,0x0,_0x322f49[0x0],_0x322f49[0x1]),_0x203fef(Thumbnail[_0x3cbc63(0x27b)](_0x675664,_0x322f49));},_0x2a4011[_0x57f40f(0x257)]=0x2);}catch(_0x44fbfa){setTimeout(()=>{const _0x230efa=_0x57f40f,_0x2c4740=Thumbnail['_getSizeOfThumbnailWithRatioOfRealSizeElement']([_0x2a4011[_0x230efa(0x293)],_0x2a4011[_0x230efa(0x30e)]]);_0x675664[_0x230efa(0x2ea)]=_0x2c4740[0x0],_0x675664[_0x230efa(0x1d6)]=_0x2c4740[0x1],_0x675664[_0x230efa(0x2e1)]('2d')[_0x230efa(0x177)](_0x2a4011,0x0,0x0,_0x2c4740[0x0],_0x2c4740[0x1]),_0x203fef(Thumbnail[_0x230efa(0x27b)](_0x675664,_0x2c4740));},0xbb8);}},_0x2a4011['src']=window[_0x2b2491(0xe6)][_0x2b2491(0x33c)](_0xb812e1),_0x2a4011[_0x2b2491(0x2da)]();},_0x196a86[_0x18e107(0x332)](_0xb812e1);});},'_getSizeOfThumbnailWithRatioOfRealSizeElement'(_0xdd3b04){const _0x476642=a69_0x18e15f,_0x19d641=[Math[_0x476642(0x2a3)](_0xdd3b04[0x0]>_0xdd3b04[0x1]?Math[_0x476642(0x28b)](Thumbnail[_0x476642(0x1e8)],_0xdd3b04[0x0]):_0xdd3b04[0x0]/_0xdd3b04[0x1]*Math['min'](Thumbnail[_0x476642(0x1e8)],_0xdd3b04[0x0])),Math[_0x476642(0x2a3)](_0xdd3b04[0x1]>_0xdd3b04[0x0]?Math[_0x476642(0x28b)](Thumbnail[_0x476642(0x1e8)],_0xdd3b04[0x1]):_0xdd3b04[0x1]/_0xdd3b04[0x0]*Math[_0x476642(0x28b)](Thumbnail[_0x476642(0x1e8)],_0xdd3b04[0x1]))];return _0x19d641;}},Preview={'hideAndRemovePreview'(){const _0x573747=a69_0x18e15f;try{_mtm[_0x573747(0x2ff)]({'event':_0x573747(0x2d3)});}catch(_0x443359){console[_0x573747(0x1d9)](_0x573747(0x1f7));}const _0xaf09fb=document['getElementById']('full-preview'),_0x580a42=_0xaf09fb[_0x573747(0x1f0)]('div#preview-drive-content'),_0x3925ef=_0xaf09fb[_0x573747(0x1f0)](_0x573747(0x311));_0xaf09fb&&_0x580a42&&_0x3925ef&&(_0xaf09fb[_0x573747(0x14c)][_0x573747(0x340)](_0x573747(0xda)),_0xaf09fb[_0x573747(0x287)](_0x573747(0x32f)),_0x580a42[_0x573747(0x33b)](),_0x3925ef[_0x573747(0x14c)]['remove'](_0x573747(0xda))),document[_0x573747(0x256)](_0x573747(0x2df),this['hideAndRemovePreview']),document[_0x573747(0x256)](_0x573747(0x178),Preview[_0x573747(0x2eb)]),document[_0x573747(0x146)](_0x573747(0x211))[_0x573747(0x14c)]['add']('hidden'),document['getElementById'](_0x573747(0xc4))[_0x573747(0x14c)]['add']('hidden'),_0xaf09fb[_0x573747(0x1f0)](_0x573747(0x276))[_0x573747(0x256)](_0x573747(0x2df),this[_0x573747(0x347)]),PdfViewerManager[_0x573747(0x317)](),_0xaf09fb[_0x573747(0x14c)][_0x573747(0xc3)](_0x573747(0x292));},'displayWaitingPreview'(_0x1cf4e){const _0x4feb0c=a69_0x18e15f;Preview['previousFileForPreview']=undefined,Preview['nextFileForPreview']=undefined;const _0x5a348c=document[_0x4feb0c(0x146)](_0x4feb0c(0x215));_0x5a348c&&_0x5a348c['remove']();const _0x56ae3c=document[_0x4feb0c(0x146)](_0x4feb0c(0x336)),_0x1e0196=_0x56ae3c['querySelector'](_0x4feb0c(0x311));if(_0x56ae3c){_0x1e0196[_0x4feb0c(0x14c)]['remove']('hidden'),_0x56ae3c[_0x4feb0c(0x14c)][_0x4feb0c(0xc3)](_0x4feb0c(0xda)),_0x56ae3c[_0x4feb0c(0x2dc)](_0x4feb0c(0x32f),_0x1cf4e);const _0x2249fb=_0x52c779=>{const _0x1f0a7d=_0x4feb0c,_0x421471=_0x52c779['target'];!_0x421471[_0x1f0a7d(0xbb)]('#full-preview')&&!document[_0x1f0a7d(0x146)](_0x1f0a7d(0x336))[_0x1f0a7d(0x14c)]['contains'](_0x1f0a7d(0xda))&&!_0x421471['closest'](_0x1f0a7d(0x24b))&&(document['removeEventListener'](_0x1f0a7d(0x2df),_0x2249fb),Preview[_0x1f0a7d(0x347)]());};document[_0x4feb0c(0x2f4)]('click',_0x2249fb),_0x56ae3c['querySelector'](_0x4feb0c(0x276))['addEventListener'](_0x4feb0c(0x2df),Preview[_0x4feb0c(0x347)]);}},'displayPreview'(_0x433ea4,_0xa0fbba,_0x3cfc62,_0x2d678e,_0x401164,_0x59f33b){const _0x241f38=a69_0x18e15f,_0xcb4982=!!(_0x2d678e&&_0x2d678e[_0x241f38(0xe0)]),_0x3dc9cb=_0xcb4982?[Preview[_0x241f38(0x154)],Preview[_0x241f38(0x1c8)],Preview['displayPreviewForVideo']]:[Preview['displayPreviewForPDF'],Preview['displayPreviewForImage'],Preview[_0x241f38(0xc7)]],_0x3b0ad6=_0x3dc9cb[Thumbnail[_0x241f38(0x183)](_0xa0fbba)](_0x433ea4,_0x2d678e),_0x1a31a9=document[_0x241f38(0x146)]('full-preview'),_0x5adb08=_0x1a31a9[_0x241f38(0x1f0)](_0x241f38(0x311));_0x1a31a9&&!_0x1a31a9[_0x241f38(0x14c)][_0x241f38(0x222)](_0x241f38(0xda))&&_0x1a31a9[_0x241f38(0x2f0)](_0x241f38(0x32f))===_0x3cfc62&&_0x3b0ad6['then'](_0x2b9edf=>{const _0x144bcb=_0x241f38;if(_0x1a31a9[_0x144bcb(0x2f0)]('fileId')!==_0x3cfc62)return;try{if(window[_0x144bcb(0x281)][_0x144bcb(0x103)]['includes'](_0x144bcb(0x193)))_mtm[_0x144bcb(0x2ff)]({'event':_0x144bcb(0xde)});else window[_0x144bcb(0x281)][_0x144bcb(0x103)][_0x144bcb(0x250)](_0x144bcb(0x191))&&_mtm['push']({'event':'click-on-thread-details-to-have-preview-of-file'});}catch(_0x5ac915){console['error'](_0x144bcb(0x1f7));}const _0x18e99c=_0x1a31a9[_0x144bcb(0x1f0)](_0x144bcb(0x137));_0x5adb08[_0x144bcb(0x14c)][_0x144bcb(0x340)](_0x144bcb(0xda));if(_0x2b9edf&&_0x18e99c){switch(typeof _0x2b9edf){case _0x144bcb(0x2b3):_0x18e99c[_0x144bcb(0x11e)](_0x144bcb(0x11b),_0x2b9edf);break;default:_0x18e99c[_0x144bcb(0x25d)](_0x144bcb(0x11b),_0x2b9edf);break;}!_0xcb4982&&(typeof _0x401164!==_0x144bcb(0xb0)&&(document[_0x144bcb(0x146)]('btnPreviousPreview')[_0x144bcb(0x14c)][_0x144bcb(0xc3)](_0x144bcb(0xda)),document['getElementById']('btnPreviousPreview')[_0x144bcb(0x2f4)](_0x144bcb(0x2df),Preview[_0x144bcb(0x2eb)])),typeof _0x59f33b!==_0x144bcb(0xb0)&&(document[_0x144bcb(0x146)](_0x144bcb(0xc4))['classList'][_0x144bcb(0xc3)]('hidden'),document[_0x144bcb(0x146)]('btnNextPreview')['addEventListener'](_0x144bcb(0x2df),Preview[_0x144bcb(0x2eb)])),Preview[_0x144bcb(0x22e)]=_0x401164,Preview[_0x144bcb(0x13e)]=_0x59f33b,document[_0x144bcb(0x2f4)](_0x144bcb(0x178),Preview[_0x144bcb(0x2eb)])),PdfViewerManager[_0x144bcb(0x267)]();}})[_0x241f38(0x2c9)](_0x3ea918=>{const _0x45785e=_0x241f38;console['error'](_0x3ea918),HandleError(_0x45785e(0x28e)+Thumbnail[_0x45785e(0x183)](_0xa0fbba)+')'+_0x3ea918['code'],_0x45785e(0x2f5),_0x3ea918[_0x45785e(0x105)],_0x3ea918['colNo'],_0x3ea918);});},'previousFileForPreview':undefined,'nextFileForPreview':undefined,'eventListenerChangePreview'(_0x3a330f){const _0x23808d=a69_0x18e15f;if(_0x3a330f['type']===_0x23808d(0x178)){if(_0x3a330f[_0x23808d(0x225)]==_0x23808d(0x1bc))Preview[_0x23808d(0x2c6)](!![]);else _0x3a330f[_0x23808d(0x225)]==_0x23808d(0x309)&&Preview[_0x23808d(0x2c6)](![]);}else{if(_0x3a330f[_0x23808d(0x275)]==='click'){const _0x1f727a=_0x3a330f[_0x23808d(0x318)][_0x23808d(0xbb)](_0x23808d(0xf5));if(_0x1f727a&&_0x1f727a['id']==='btnNextPreview')Preview['changeFilePreview'](!![]);else _0x1f727a&&_0x1f727a['id']==='btnPreviousPreview'&&Preview['changeFilePreview'](![]);}}},'changeFilePreview'(_0x384dc){const _0x1eb57b=a69_0x18e15f;let _0x5ebbcd=Preview[_0x1eb57b(0x22e)];_0x384dc&&(_0x5ebbcd=Preview[_0x1eb57b(0x13e)]),_0x5ebbcd instanceof FileCloud&&(Preview[_0x1eb57b(0x347)](),_0x5ebbcd[_0x1eb57b(0x134)]());},async 'displayPreviewForImage'(_0x8ebc11,_0x56a389){const _0x5a74f1=a69_0x18e15f;return _0x5a74f1(0xca)+window[_0x5a74f1(0xe6)][_0x5a74f1(0x33c)](_0x8ebc11)+'\x22>';},async 'displayPreviewForPDF'(_0x1eaff7,_0x47492){const _0x10090c=a69_0x18e15f;return _0x1eaff7=new Blob([_0x1eaff7],{'type':'application/pdf'}),_0x10090c(0x297)+window[_0x10090c(0xe6)][_0x10090c(0x33c)](_0x1eaff7)+_0x10090c(0x11a);},async 'displayPreviewForPDFWithComments'(_0x284802,_0x4cd023){const _0x55f583=a69_0x18e15f;document[_0x55f583(0x146)](_0x55f583(0x336))[_0x55f583(0x14c)]['add'](_0x55f583(0x292));const _0x59ecbc=new Uint8Array(await _0x284802[_0x55f583(0x27d)]());return PdfViewerManager[_0x55f583(0x2ab)](_0x59ecbc,_0x4cd023);},async 'displayPreviewForVideo'(_0x4b8cb5,_0x53e67){const _0x545ff4=a69_0x18e15f;return _0x545ff4(0x190)+window[_0x545ff4(0xe6)][_0x545ff4(0x33c)](_0x4b8cb5)+'\x22>';}};class PdfViewerLib{static #promiseImportPdfJs=undefined;static async[a69_0x18e15f(0x210)](){const _0x1e9622=a69_0x18e15f;if(typeof this.#promiseImportPdfJs!==_0x1e9622(0xb0))return this.#promiseImportPdfJs;return this.#promiseImportPdfJs=new Promise((_0x208fc6,_0x3934ba)=>{const _0x5079e8=_0x1e9622,_0x4a2609=document['createElement']('script');_0x4a2609[_0x5079e8(0x2dc)](_0x5079e8(0x32d),_0x5079e8(0x167)),_0x4a2609[_0x5079e8(0x2dc)](_0x5079e8(0x275),_0x5079e8(0x209)),_0x4a2609[_0x5079e8(0x2f4)](_0x5079e8(0x2da),()=>{const _0x1747cc=_0x5079e8;pdfjsLib['GlobalWorkerOptions']['workerSrc']=_0x1747cc(0xc1),_0x208fc6();}),_0x4a2609['addEventListener'](_0x5079e8(0x1d9),_0x1a473e=>{const _0x154522=_0x5079e8;this.#promiseImportPdfJs=undefined;const _0x3ecd52=new Error(PdfViewerManager[_0x154522(0x243)]+_0x154522(0x2e9)+_0x1a473e);alert(texts[_0x154522(0x2ae)]['format']('import\x20lib')),HandleError(_0x3ecd52[_0x154522(0x2f3)],_0x154522(0x2b9),_0x3ecd52[_0x154522(0x105)],_0x3ecd52[_0x154522(0x14b)],_0x3ecd52),_0x3934ba(_0x1a473e);}),document['head'][_0x5079e8(0x333)](_0x4a2609);}),this.#promiseImportPdfJs;}}function a69_0x1f0c(_0xa3c564,_0x317024){const _0x1d7b1f=a69_0x574a();return a69_0x1f0c=function(_0xb587c8,_0x53f5fd){_0xb587c8=_0xb587c8-0xa8;let _0x570d2e=_0x1d7b1f[_0xb587c8];return _0x570d2e;},a69_0x1f0c(_0xa3c564,_0x317024);}class PdfViewerManager{static #pdf=undefined;static #fileObj=undefined;static #divContainer=document['createElement'](a69_0x18e15f(0x315));static #pagesMap=new Map();static #pagesTextMap=new Map();static #pagesAnnotationsMap=new Map();static #rendersPagesMap=new Map();static #pageIndexNotLoaded=new Set();static #widthPixelMaxLoaded=0x0;static #scaleFactor=0x1;static #timeoutFixDisplayAfterWindowResize;static #timeoutScaleChange;static #timeoutSelectChange;static #intersectionRatioPerPageIndex=new Map();static [a69_0x18e15f(0xf7)];static #previousRange;static async['loadPdfAndGetDisplay'](_0x318311,_0x4d460c){const _0x36c00f=a69_0x18e15f;this['clearLocalData'](),await PdfViewerLib[_0x36c00f(0x210)]();const _0xc52231=pdfjsLib['getDocument']({'data':_0x318311});this.#pdf=await _0xc52231['promise'],this.#fileObj=_0x4d460c;const _0x5bb1db=await PdfViewerManager[_0x36c00f(0x1ff)]();return _0x5bb1db;}static async[a69_0x18e15f(0x1ff)](_0x24048e=undefined){const _0x3f3fd=a69_0x18e15f;this.#widthPixelMaxLoaded=this.#getMaxDisplayWidthPixel(),await this.#initDisplay();if(_0x24048e&&_0x24048e>0x1&&_0x24048e<=this.#getNumPages())this[_0x3f3fd(0xb8)](_0x24048e),await this.#loadAndDisplayPage(_0x24048e);else{const _0x22cab7=performance['now']();for(let _0xda2545=0x1;_0xda2545<this.#getNumPages()+0x1&&_0xda2545<0xb&&performance[_0x3f3fd(0x106)]()-_0x22cab7<0x28a;_0xda2545++){await this.#loadAndDisplayPage(_0xda2545);}}return document['removeEventListener']('selectstart',this.#listenerSelectStart),document[_0x3f3fd(0x2f4)](_0x3f3fd(0x325),this.#listenerSelectStart),document[_0x3f3fd(0x256)](_0x3f3fd(0x29b),this.#listenerSelectChange),document[_0x3f3fd(0x2f4)]('selectionchange',this.#listenerSelectChange),this.#fileObj[_0x3f3fd(0x171)]!==signin[_0x3f3fd(0x334)]['id']&&(window[_0x3f3fd(0x256)](_0x3f3fd(0x17c),this.#listenerPreventMouseUp),window[_0x3f3fd(0x2f4)](_0x3f3fd(0x17c),this.#listenerPreventMouseUp)),window[_0x3f3fd(0x256)]('resize',this.#fixDisplayAfterWindowResizeListener),window[_0x3f3fd(0x2f4)](_0x3f3fd(0x15f),this.#fixDisplayAfterWindowResizeListener),this.#divContainer;}static async #initDisplay(){const _0x16d8cd=a69_0x18e15f,_0xecf468=this.#divContainer;_0xecf468['id']='pdfViewerContainer';const _0x442037=_0xecf468[_0x16d8cd(0x1f0)](_0x16d8cd(0x15b))||document[_0x16d8cd(0x2bc)]('div');_0x442037['id']=_0x16d8cd(0x20d),_0xecf468[_0x16d8cd(0x25d)](_0x16d8cd(0xd4),_0x442037);this.#fileObj[_0x16d8cd(0x171)]!==signin[_0x16d8cd(0x334)]['id']&&(_0x442037['removeEventListener']('copy',this.#listenerPreventCopy),_0x442037[_0x16d8cd(0x2f4)](_0x16d8cd(0x24e),this.#listenerPreventCopy),document['removeEventListener'](_0x16d8cd(0x1c2),this.#listenerPreventContextMenu),document[_0x16d8cd(0x2f4)]('contextmenu',this.#listenerPreventContextMenu),document[_0x16d8cd(0x322)][_0x16d8cd(0x14c)][_0x16d8cd(0x340)](_0x16d8cd(0x127)),window['removeEventListener'](_0x16d8cd(0x164),this.#listenerPreventPrint),window[_0x16d8cd(0x2f4)](_0x16d8cd(0x164),this.#listenerPreventPrint),window[_0x16d8cd(0x256)](_0x16d8cd(0x170),this.#listenerPreventScreenShotByBlur),window['removeEventListener'](_0x16d8cd(0x12f),this.#listenerPreventScreenShotUnBlur),window[_0x16d8cd(0x2f4)]('blur',this.#listenerPreventScreenShotByBlur),window['addEventListener'](_0x16d8cd(0x12f),this.#listenerPreventScreenShotUnBlur));_0x442037[_0x16d8cd(0x2f4)](_0x16d8cd(0x337),_0x557f46=>{const _0x504c72=_0x16d8cd;PdfViewerManager[_0x504c72(0xf7)]&&!PdfViewerManager['currentSelection']['isInViewport']()&&(PdfViewerManager[_0x504c72(0xf7)][_0x504c72(0x1b0)](),PdfViewerManager[_0x504c72(0xf7)]=undefined);if(_0x557f46[_0x504c72(0x1e4)]){let _0x11a3e5,_0x5ecb3a=[];Array['from'](PdfViewerSelection[_0x504c72(0x302)])[_0x504c72(0x2e2)](_0x84b6fa=>_0x84b6fa['commentsCount']>0x0)['forEach'](_0x34d234=>{const _0x27e2cc=_0x504c72;_0x34d234[_0x27e2cc(0x1c4)]()&&_0x5ecb3a['push'](_0x34d234);}),_0x5ecb3a=_0x5ecb3a[_0x504c72(0x1fa)]((_0x44ff4f,_0x5c12fb)=>{const _0x128e9b=_0x504c72;if(_0x5c12fb['pageIndex']>_0x44ff4f['pageIndex']||_0x5c12fb[_0x128e9b(0xe5)]===_0x44ff4f[_0x128e9b(0xe5)]&&_0x5c12fb['getPosition']()[0x0]>_0x44ff4f[_0x128e9b(0x2d9)]()[0x0])return-0x1;return 0x1;}),_0x5ecb3a[_0x504c72(0x108)]>0x0&&(_0x11a3e5=_0x5ecb3a[0x0]),_0x11a3e5&&_0x11a3e5[_0x504c72(0x1c5)]();}});const _0x6e1e7c=document['getElementById'](_0x16d8cd(0xe3));_0x6e1e7c[_0x16d8cd(0x14c)][_0x16d8cd(0xc3)](_0x16d8cd(0xda)),_0x6e1e7c[_0x16d8cd(0x1f0)](_0x16d8cd(0x133))['value']=0x1,_0x6e1e7c[_0x16d8cd(0x1f0)](_0x16d8cd(0xeb))[_0x16d8cd(0x160)]=this.#getNumPages();const _0x26b6e7=_0x6e1e7c[_0x16d8cd(0x1f0)]('#headerPdfWithCommentsInputCurrentPage');_0x26b6e7[_0x16d8cd(0x2a9)]=this.#getNumPages(),_0x26b6e7['removeEventListener'](_0x16d8cd(0x1a9),this.#changePageNumberDisplayedListener),_0x26b6e7[_0x16d8cd(0x2f4)](_0x16d8cd(0x1a9),this.#changePageNumberDisplayedListener);const _0x1cfcb6=_0x6e1e7c[_0x16d8cd(0x1f0)](_0x16d8cd(0x115));_0x1cfcb6[_0x16d8cd(0x256)](_0x16d8cd(0x1a9),this.#changeScaleListener),_0x1cfcb6[_0x16d8cd(0x2f4)](_0x16d8cd(0x1a9),this.#changeScaleListener),_0x6e1e7c['querySelector'](_0x16d8cd(0x23f))[_0x16d8cd(0x256)](_0x16d8cd(0x2df),this.#incrementDecrementScaleListener),_0x6e1e7c['querySelector'](_0x16d8cd(0x23f))[_0x16d8cd(0x2f4)](_0x16d8cd(0x2df),this.#incrementDecrementScaleListener),_0x6e1e7c[_0x16d8cd(0x1f0)]('#headerPdfWithCommentsScalePlus')[_0x16d8cd(0x256)](_0x16d8cd(0x2df),this.#incrementDecrementScaleListener),_0x6e1e7c[_0x16d8cd(0x1f0)](_0x16d8cd(0x200))[_0x16d8cd(0x2f4)](_0x16d8cd(0x2df),this.#incrementDecrementScaleListener);for(let _0x3294af=0x1;_0x3294af<this.#getNumPages()+0x1;_0x3294af++){await this.#loadAndDisplayNotLoadedPage(_0x3294af,_0x442037);}PdfViewerComment[_0x16d8cd(0x262)](this.#divContainer);}static['listenerPreventInformOwner'](_0x55c594){const _0x16f6c3=a69_0x18e15f,_0x5555fa={'notifDate':firebase[_0x16f6c3(0x2e8)][_0x16f6c3(0x2af)][_0x16f6c3(0x20f)],'senderId':signin[_0x16f6c3(0x334)]['id'],'senderMail':signin[_0x16f6c3(0x334)][_0x16f6c3(0x18c)],'senderName':signin[_0x16f6c3(0x334)][_0x16f6c3(0x243)],'fileId':this[_0x16f6c3(0xcf)][_0x16f6c3(0x32f)],'action':_0x55c594},_0x49522c=firebase[_0x16f6c3(0x2e8)]()[_0x16f6c3(0x2d6)](_0x16f6c3(0x2c4))['child'](this[_0x16f6c3(0xcf)][_0x16f6c3(0x171)]),_0x385c3a=_0x49522c[_0x16f6c3(0x2ff)]()['key'];_0x49522c[_0x16f6c3(0x341)](_0x16f6c3(0x33e)+_0x385c3a)['set'](_0x5555fa);}static get['fileObj'](){return this.#fileObj;}static async #loadAndDisplayNotLoadedPage(_0x4259a4,_0x93c5cf){const _0x184601=a69_0x18e15f,_0x78499f=document['createElement']('div');_0x78499f['id']=_0x184601(0x116)+_0x4259a4,_0x78499f[_0x184601(0x14c)]['add'](_0x184601(0x196)),_0x93c5cf[_0x184601(0x25d)](_0x184601(0x11b),_0x78499f);const _0xd8de65=document[_0x184601(0x2bc)]('div');_0xd8de65['classList'][_0x184601(0x340)](),_0xd8de65[_0x184601(0x14c)][_0x184601(0x340)]('textLayer',_0x184601(0x2db)+_0x4259a4,'textLayerPdfNotLoaded');const _0x43d7c8=document[_0x184601(0x2bc)](_0x184601(0x2b2));_0x43d7c8[_0x184601(0x14c)][_0x184601(0x340)]('pdfViewerCanvasP'+_0x4259a4,'pdfViewerCanvasNotLoaded'),_0x78499f['insertAdjacentElement'](_0x184601(0x11b),_0x43d7c8),_0x78499f[_0x184601(0x25d)]('beforeend',_0xd8de65);const _0x561c35=this.#pagesMap[_0x184601(0x194)](_0x4259a4)?this.#pagesMap['get'](_0x4259a4):await this.#pdf['getPage'](_0x4259a4);this.#pagesMap[_0x184601(0xbf)](_0x4259a4,_0x561c35);const _0x15d3f6=this.#pagesTextMap[_0x184601(0x194)](_0x4259a4)?this.#pagesTextMap[_0x184601(0x2f9)](_0x4259a4):await _0x561c35[_0x184601(0x179)]();this.#pagesTextMap[_0x184601(0xbf)](_0x4259a4,_0x15d3f6);const _0x41fc89=this.#pagesAnnotationsMap['has'](_0x4259a4)?this.#pagesAnnotationsMap[_0x184601(0x2f9)](_0x4259a4):await _0x561c35['getAnnotations']();this.#pagesAnnotationsMap['set'](_0x4259a4,_0x41fc89);const _0x3e6a47=this.#widthPixelMaxLoaded/_0x561c35[_0x184601(0xf8)][_0x184601(0x274)][0x2]*this.#scaleFactor,_0x92dac4=_0x561c35['getViewport']({'scale':_0x3e6a47}),_0x598a0c=window[_0x184601(0xbe)]||0x1;_0x43d7c8[_0x184601(0x2ea)]=Math[_0x184601(0x2fc)](_0x92dac4[_0x184601(0x2ea)]*_0x598a0c),_0x43d7c8[_0x184601(0x1d6)]=Math['floor'](_0x92dac4[_0x184601(0x1d6)]*_0x598a0c);const _0x32a3d4=Math['floor'](_0x92dac4[_0x184601(0x2ea)]),_0x3e7b73=Math['floor'](_0x92dac4[_0x184601(0x1d6)]);_0x43d7c8[_0x184601(0x232)][_0x184601(0x2ea)]=_0x32a3d4+'px',_0x43d7c8['style'][_0x184601(0x1d6)]=_0x3e7b73+'px';const _0x3a1295=[];for(let _0x56c6e1=0x0;_0x56c6e1<=0x64;_0x56c6e1+=0x1){_0x3a1295['push'](_0x56c6e1/0x64);}const _0x43c245={'threshold':_0x3a1295},_0x53ceca=new IntersectionObserver((_0x2ba331,_0x21aae5)=>{const _0x3f89eb=_0x184601;_0x2ba331[_0x3f89eb(0x130)](_0x3f7bb1=>{const _0x386b22=_0x3f89eb;this.#intersectionRatioPerPageIndex[_0x386b22(0xbf)](_0x4259a4,_0x3f7bb1[_0x386b22(0x244)]);const _0x590833=this[_0x386b22(0x306)]();_0x590833===_0x4259a4&&(document['querySelector'](_0x386b22(0x265))[_0x386b22(0xee)]=_0x4259a4);if(_0x3f7bb1[_0x386b22(0x16a)]){if(!_0x3f7bb1['target'][_0x386b22(0x14c)]['contains'](_0x386b22(0x25a)))return;this.#loadAndDisplayPage(_0x4259a4);}});},_0x43c245);_0x53ceca['observe'](_0x43d7c8),this.#pageIndexNotLoaded[_0x184601(0x340)](_0x4259a4);}static[a69_0x18e15f(0x306)](){const _0x1b5152=a69_0x18e15f;let _0x2c45ca=0x1;return Array['from'](this.#intersectionRatioPerPageIndex[_0x1b5152(0xef)]())[_0x1b5152(0x130)](_0x5156b9=>{const _0x2e072f=_0x1b5152,_0x4d0b0a=this.#intersectionRatioPerPageIndex[_0x2e072f(0x194)](_0x2c45ca)?this.#intersectionRatioPerPageIndex[_0x2e072f(0x2f9)](_0x2c45ca):0x0,_0x2de441=this.#intersectionRatioPerPageIndex[_0x2e072f(0x194)](_0x5156b9)?this.#intersectionRatioPerPageIndex['get'](_0x5156b9):0x0;_0x2de441>_0x4d0b0a&&(_0x2c45ca=_0x5156b9);}),_0x2c45ca;}static async #loadAndDisplayPage(_0x38a73f){const _0x3284f0=a69_0x18e15f,_0x1d5711=this.#rendersPagesMap[_0x3284f0(0x2f9)](_0x38a73f);_0x1d5711&&_0x1d5711['forEach'](_0x4ad67b=>{_0x4ad67b['cancel']();});this.#rendersPagesMap[_0x3284f0(0x320)](_0x38a73f),this.#pageIndexNotLoaded[_0x3284f0(0x320)](_0x38a73f);const _0x47dc31=this.#divContainer,_0x39d80a=_0x47dc31[_0x3284f0(0x1f0)]('canvas.pdfViewerCanvasP'+_0x38a73f);_0x39d80a[_0x3284f0(0x14c)][_0x3284f0(0xc3)](_0x3284f0(0x25a));const _0x5ee6fc=_0x47dc31[_0x3284f0(0x1f0)](_0x3284f0(0x1be)+_0x38a73f);_0x5ee6fc[_0x3284f0(0x14c)][_0x3284f0(0xc3)](_0x3284f0(0x139));const _0x24d94c=this.#pagesMap[_0x3284f0(0x2f9)](_0x38a73f),_0x188a3a=this.#widthPixelMaxLoaded/_0x24d94c['_pageInfo'][_0x3284f0(0x274)][0x2]*this.#scaleFactor;_0x47dc31[_0x3284f0(0x232)][_0x3284f0(0x261)](_0x3284f0(0x1dd),_0x188a3a);const _0x468075=_0x24d94c[_0x3284f0(0x2b6)]({'scale':_0x188a3a}),_0x17b586=this.#pagesAnnotationsMap[_0x3284f0(0x2f9)](_0x38a73f);for(let _0x53ac5a=0x0;_0x53ac5a<_0x17b586[_0x3284f0(0x108)];_0x53ac5a++){try{const _0x193f78=_0x17b586[_0x53ac5a],_0x3b35eb=document[_0x3284f0(0x2bc)](_0x3284f0(0x313)),_0x5d270b=_0x468075[_0x3284f0(0x1bb)](_0x193f78['rect']);_0x5d270b[0x2]-=_0x5d270b[0x0];_0x5d270b[0x2]<0x0&&(_0x5d270b[0x0]+=_0x5d270b[0x2]);_0x5d270b[0x2]=Math[_0x3284f0(0x27f)](_0x5d270b[0x2]),_0x5d270b[0x3]-=_0x5d270b[0x1];_0x5d270b[0x3]<0x0&&(_0x5d270b[0x1]+=_0x5d270b[0x3]);_0x5d270b[0x3]=Math['abs'](_0x5d270b[0x3]),_0x3b35eb[_0x3284f0(0x232)][_0x3284f0(0x2ea)]=_0x5d270b[0x2]+'px',_0x3b35eb[_0x3284f0(0x232)][_0x3284f0(0x1d6)]=_0x5d270b[0x3]+'px',_0x3b35eb['style'][_0x3284f0(0x168)]='absolute',_0x3b35eb['style']['opacity']=0x0,_0x3b35eb[_0x3284f0(0x232)][_0x3284f0(0x326)]=_0x5d270b[0x1]+'px',_0x3b35eb[_0x3284f0(0x232)][_0x3284f0(0x21e)]=_0x5d270b[0x0]+'px',_0x3b35eb[_0x3284f0(0x232)]['cursor']=_0x3284f0(0x277),_0x3b35eb[_0x3284f0(0x232)]['zIndex']=0x3;let _0x462a6f=()=>{};if(_0x193f78[_0x3284f0(0x152)])_0x462a6f=()=>{const _0x178816=_0x3284f0;fancy[_0x178816(0xb7)]['show'](i18n[_0x178816(0x221)](_0x178816(0x149))+'\x20'+_0x193f78[_0x178816(0x152)],i18n[_0x178816(0x221)](_0x178816(0xb4)),i18n[_0x178816(0x221)](_0x178816(0x28a)),i18n[_0x178816(0x221)](_0x178816(0x2a7)),()=>{},()=>{const _0x27d664=_0x178816;window['open'](_0x193f78[_0x27d664(0x152)],_0x27d664(0x271))[_0x27d664(0x12f)]();});};else{if(_0x193f78[_0x3284f0(0x26c)]){const _0x2e1417=await PdfViewerManager.#pdf['getDestination'](_0x193f78[_0x3284f0(0x26c)]),_0x244889=await PdfViewerManager.#pdf[_0x3284f0(0x2e0)](_0x2e1417[0x0]);_0x462a6f=()=>{const _0x1135f8=_0x3284f0;this[_0x1135f8(0xb8)](_0x244889+0x1);const _0x4d09bc=_0x468075[_0x1135f8(0xed)](_0x2e1417[0x2],_0x2e1417[0x3]);document['getElementById'](_0x1135f8(0x20d))[_0x1135f8(0x12a)](_0x4d09bc[0x0],_0x4d09bc[0x1]);};}else continue;}_0x3b35eb[_0x3284f0(0x2f4)]('click',_0x462a6f),_0x47dc31[_0x3284f0(0x1f0)]('#pdfViewerContainerPageP'+_0x38a73f)[_0x3284f0(0x25d)](_0x3284f0(0x11b),_0x3b35eb);}catch(_0x3dc017){console['error'](_0x3dc017);}}const _0x496591=window[_0x3284f0(0xbe)]||0x1,_0x542860=_0x39d80a[_0x3284f0(0x2e1)]('2d');_0x39d80a['width']=Math['floor'](_0x468075[_0x3284f0(0x2ea)]*_0x496591),_0x39d80a[_0x3284f0(0x1d6)]=Math['floor'](_0x468075[_0x3284f0(0x1d6)]*_0x496591);const _0x328b74=Math['floor'](_0x468075[_0x3284f0(0x2ea)]),_0x188375=Math[_0x3284f0(0x2fc)](_0x468075[_0x3284f0(0x1d6)]);_0x39d80a['style'][_0x3284f0(0x2ea)]=_0x328b74+'px',_0x39d80a['style']['height']=_0x188375+'px';const _0x5d37e5=_0x496591!==0x1?[_0x496591,0x0,0x0,_0x496591,0x0,0x0]:null,_0x445cd2={'canvasContext':_0x542860,'textlayer':_0x5ee6fc,'transform':_0x5d37e5,'viewport':_0x468075},_0x15dc99=_0x24d94c[_0x3284f0(0x338)](_0x445cd2),_0x2fa594=this.#pagesTextMap['get'](_0x38a73f),_0x3fe9ea=pdfjsLib[_0x3284f0(0x11c)]({'textContentSource':_0x2fa594,'textContent':_0x2fa594,'container':_0x5ee6fc,'viewport':_0x468075,'textDivs':[]});this.#rendersPagesMap[_0x3284f0(0xbf)](_0x38a73f,[_0x15dc99,_0x3fe9ea]);const _0x5bf39c=[_0x15dc99[_0x3284f0(0x10d)],_0x3fe9ea[_0x3284f0(0x10d)]][_0x3284f0(0x140)](_0x2ac735=>{return _0x2ac735['catch'](_0xbc01dc=>{const _0x24cbc1=a69_0x1f0c;if(_0xbc01dc[_0x24cbc1(0x243)]===_0x24cbc1(0xc2))return;throw _0xbc01dc;});}),_0x260d87=Promise[_0x3284f0(0x206)](_0x5bf39c);return _0x260d87[_0x3284f0(0x310)](()=>{const _0x55f3b9=_0x3284f0;_0x542860[_0x55f3b9(0x339)]=_0x55f3b9(0x266),_0x542860['font']=Math['floor'](_0x542860[_0x55f3b9(0x2b2)]['width']/0x64)+_0x55f3b9(0xf1),_0x542860[_0x55f3b9(0x308)]=_0x55f3b9(0x181);const _0xc075a9=[_0x55f3b9(0x22f),signin[_0x55f3b9(0x334)][_0x55f3b9(0x243)],'('+signin['_user'][_0x55f3b9(0x18c)]+')','['+new Date()[_0x55f3b9(0xd5)]()+']'];let _0xbc06b0,_0x39624e=0x0;_0xc075a9[_0x55f3b9(0x130)](_0x2af338=>{const _0xed2304=_0x55f3b9;_0xbc06b0=_0x542860['measureText'](_0x2af338),_0x39624e=Math[_0xed2304(0x2a9)](_0xbc06b0[_0xed2304(0x2ea)],_0x39624e);});const _0x4369f1=_0xbc06b0[_0x55f3b9(0x16d)]+_0xbc06b0[_0x55f3b9(0x286)],_0x35c70e=Math[_0x55f3b9(0x2a9)](_0x39624e,_0x542860['measureText']('a'[_0x55f3b9(0x32c)](0x55))['width'])*Math[_0x55f3b9(0x252)](0x2d*Math['PI']/0xb4),_0x5903f0=Math[_0x55f3b9(0x2a9)](_0x39624e,_0x542860[_0x55f3b9(0x15c)]('a'[_0x55f3b9(0x32c)](0x28))[_0x55f3b9(0x2ea)])*Math['cos'](0x2d*Math['PI']/0xb4),_0x3d7576=0.95,_0x407c4c=_0x542860[_0x55f3b9(0x2b2)]['width']*_0x3d7576,_0x52bf25=_0x542860[_0x55f3b9(0x2b2)][_0x55f3b9(0x1d6)]*_0x3d7576,_0x2a70a0=Math['floor'](_0x407c4c/(_0x35c70e/0x2)),_0x5b6bc5=Math['floor'](_0x52bf25/_0x5903f0);for(let _0x2cdddd=0x0;_0x2cdddd<_0x2a70a0+0x1;_0x2cdddd++){for(let _0x27fbf1=0x0;_0x27fbf1<_0x5b6bc5+0x1;_0x27fbf1++){_0x542860[_0x55f3b9(0x2d0)](),_0x542860[_0x55f3b9(0x319)](_0x542860[_0x55f3b9(0x2b2)][_0x55f3b9(0x2ea)]-_0x407c4c+_0x2cdddd*_0x407c4c/_0x2a70a0,_0x542860[_0x55f3b9(0x2b2)][_0x55f3b9(0x1d6)]-_0x52bf25+_0x27fbf1*_0x52bf25/_0x5b6bc5),_0x542860['rotate'](0x2d*Math['PI']/0xb4),_0x542860[_0x55f3b9(0x237)](_0xc075a9[0x0],0x0,0x0),_0x542860['fillText'](_0xc075a9[0x1],0x0,_0x4369f1),_0x542860[_0x55f3b9(0x237)](_0xc075a9[0x2],0x0,_0x4369f1*0x2),_0x542860[_0x55f3b9(0x237)](_0xc075a9[0x3],0x0,_0x4369f1*0x3),_0x542860['restore']();}}PdfViewerSelection[_0x55f3b9(0x1da)](_0x38a73f);}),_0x260d87;}static['clearLocalData'](){const _0x25794d=a69_0x18e15f;this.#divContainer['remove'](),this.#divContainer[_0x25794d(0x331)]='';this.#pdf&&this.#pdf[_0x25794d(0xab)]();this.#pdf=undefined,this.#pagesMap['clear'](),this.#pagesTextMap[_0x25794d(0x1d1)](),this.#pagesAnnotationsMap[_0x25794d(0x1d1)](),this.#pageIndexNotLoaded[_0x25794d(0x1d1)](),this.#scaleFactor=0x1,window[_0x25794d(0x256)](_0x25794d(0x15f),this.#fixDisplayAfterWindowResizeListener),window[_0x25794d(0x256)](_0x25794d(0x17c),this.#listenerPreventMouseUp),document[_0x25794d(0x256)](_0x25794d(0x325),this.#listenerSelectStart),document[_0x25794d(0x256)](_0x25794d(0x29b),this.#listenerSelectChange),document[_0x25794d(0x256)](_0x25794d(0x1c2),this.#listenerPreventContextMenu),window[_0x25794d(0x256)](_0x25794d(0x164),this.#listenerPreventPrint),document[_0x25794d(0x322)][_0x25794d(0x14c)]['remove'](_0x25794d(0x127)),window['removeEventListener']('blur',this.#listenerPreventScreenShotByBlur),window['removeEventListener'](_0x25794d(0x12f),this.#listenerPreventScreenShotUnBlur);const _0x4b1ae8=document[_0x25794d(0x146)](_0x25794d(0xe3));_0x4b1ae8[_0x25794d(0x14c)][_0x25794d(0x340)]('hidden'),_0x4b1ae8[_0x25794d(0x1f0)](_0x25794d(0xeb))[_0x25794d(0x160)]='?',_0x4b1ae8[_0x25794d(0x1f0)]('#headerPdfWithCommentsInputCurrentPage')['removeAttribute'](_0x25794d(0x2a9));const _0x119622=_0x4b1ae8[_0x25794d(0x1f0)](_0x25794d(0x115));_0x119622[_0x25794d(0xee)]=Array[_0x25794d(0x31f)](_0x119622[_0x25794d(0x1e2)])[_0x25794d(0x165)](_0x5ee6df=>_0x5ee6df['classList']['contains'](_0x25794d(0x1b3)))['value'],_0x4b1ae8[_0x25794d(0x1f0)]('#customOptionScalePdfComments')['classList']['add']('hidden'),Array['from'](this.#rendersPagesMap[_0x25794d(0xef)]())[_0x25794d(0x130)](_0x58ca5d=>{const _0x364f6b=_0x25794d,_0x2c1228=this.#rendersPagesMap[_0x364f6b(0x2f9)](_0x58ca5d);_0x2c1228&&_0x2c1228[_0x364f6b(0x130)](_0x1e2ea4=>_0x1e2ea4[_0x364f6b(0xcb)]());}),this.#rendersPagesMap[_0x25794d(0x1d1)](),this.#intersectionRatioPerPageIndex[_0x25794d(0x1d1)](),PdfViewerSelection[_0x25794d(0x302)][_0x25794d(0x1d1)](),PdfViewerComment['clear'](),this.#fileObj=undefined;}static[a69_0x18e15f(0x267)](){const _0x456f9e=a69_0x18e15f;if(!this.#pdf)return;for(let _0x1ff6ba=0x1;_0x1ff6ba<this.#pdf[_0x456f9e(0x2cd)]+0x1;_0x1ff6ba++){const _0x362bcb=this.#divContainer['querySelector'](_0x456f9e(0x303)+_0x1ff6ba),_0x47c59b=_0x362bcb[_0x456f9e(0x1f0)](_0x456f9e(0x1c7)+_0x1ff6ba),_0x5dcaa5=_0x362bcb[_0x456f9e(0x1f0)](_0x456f9e(0x1be)+_0x1ff6ba);if(!(_0x47c59b&&_0x5dcaa5))continue;_0x5dcaa5[_0x456f9e(0x232)]['height']=_0x47c59b[_0x456f9e(0x1f5)]+'px',_0x5dcaa5[_0x456f9e(0x232)]['width']=_0x47c59b[_0x456f9e(0xe9)]+'px',_0x362bcb[_0x456f9e(0x232)][_0x456f9e(0x1d6)]=_0x47c59b[_0x456f9e(0x1f5)]+'px',_0x362bcb['style'][_0x456f9e(0x2ea)]=_0x47c59b[_0x456f9e(0xe9)]+'px';}PdfViewerComment[_0x456f9e(0x296)]();}static #fixDisplayAfterWindowResizeListener=(()=>{if(!this.#pdf)return;clearTimeout(this.#timeoutFixDisplayAfterWindowResize),this.#timeoutFixDisplayAfterWindowResize=setTimeout(this.#reloadDisplayOfPdf['bind'](this),0x190);})['bind'](this);static #changeScaleListener=(()=>{const _0x2cc172=a69_0x18e15f;if(!this.#pdf)return;const selectElement=document['getElementById'](_0x2cc172(0x138)),selectedOption=selectElement[_0x2cc172(0x1c1)][_0x2cc172(0x108)]>0x0?selectElement[_0x2cc172(0x1c1)][0x0]:null;if(!selectedOption)return;const scaleText=selectedOption[_0x2cc172(0xee)],scale=parseInt(scaleText['split'](/[ %]/)[0x0]);this.#scaleFactor=scale/0x64,selectedOption['id']!==_0x2cc172(0x19f)&&document[_0x2cc172(0x146)](_0x2cc172(0x19f))[_0x2cc172(0x14c)][_0x2cc172(0x340)]('hidden'),this.#reloadDisplayOfPdf();})['bind'](this);static #changePageNumberDisplayedListener=(()=>{const _0x6aef3c=a69_0x18e15f;if(!this.#pdf)return;const inputPageIndex=document['getElementById'](_0x6aef3c(0x16e)),pageIndexWanted=inputPageIndex[_0x6aef3c(0xee)];this['goToPage'](pageIndexWanted);})[a69_0x18e15f(0x2c2)](this);static[a69_0x18e15f(0xb8)](_0x31e2b4){const _0xeee532=a69_0x18e15f;if(!this.#pdf)return;_0x31e2b4<0x1&&(_0x31e2b4=0x1);_0x31e2b4>this.#getNumPages()&&(_0x31e2b4=this.#getNumPages());const _0x4f7b84=document[_0xeee532(0x1f0)]('#pdfViewerContainerPages>#pdfViewerContainerPageP'+_0x31e2b4+'.pdfViewerContainerPage');_0x4f7b84&&_0x4f7b84[_0xeee532(0x1fd)]();const _0x2c4f10=document[_0xeee532(0x146)](_0xeee532(0x16e));_0x2c4f10['value']=_0x31e2b4;}static #incrementDecrementScaleListener=(event=>{const _0x1b452f=a69_0x18e15f;if(!this.#pdf)return;let factor=0x1;event[_0x1b452f(0x318)]['id']==='headerPdfWithCommentsScaleMinus'&&(factor=-0x1);this.#scaleFactor=(Math[_0x1b452f(0xa9)](this.#scaleFactor*0x64)+factor*0xa)/0x64,this.#scaleFactor=Math[_0x1b452f(0x2a9)](this.#scaleFactor,0.1);const customOptionScale=document[_0x1b452f(0x146)]('customOptionScalePdfComments');customOptionScale[_0x1b452f(0x14c)]['remove'](_0x1b452f(0xda)),customOptionScale[_0x1b452f(0x160)]=customOptionScale[_0x1b452f(0x272)][_0x1b452f(0x205)][_0x1b452f(0x1ea)](_0x1b452f(0x26f),Math[_0x1b452f(0xa9)](this.#scaleFactor*0x64));const selectScale=document[_0x1b452f(0x1f0)]('#headerPdfWithComments\x20#headerPdfWithCommentsScale');selectScale[_0x1b452f(0xee)]=customOptionScale[_0x1b452f(0xee)],clearTimeout(this.#timeoutScaleChange),this.#timeoutScaleChange=setTimeout(()=>{this.#changeScaleListener();},0x190);})[a69_0x18e15f(0x2c2)](this);static async #reloadDisplayOfPdf(){const _0x48cbe6=a69_0x18e15f;this.#divContainer[_0x48cbe6(0x331)]='',this.#pageIndexNotLoaded[_0x48cbe6(0x1d1)]();const _0x5becc3=document[_0x48cbe6(0x146)](_0x48cbe6(0x16e))[_0x48cbe6(0xee)];return PdfViewerSelection[_0x48cbe6(0x262)](),this[_0x48cbe6(0xf7)]&&this['currentSelection'][_0x48cbe6(0x1b0)](),this[_0x48cbe6(0x1ff)](parseInt(_0x5becc3));}static#getMaxDisplayWidthPixel(){const _0x23b847=a69_0x18e15f;return Math[_0x23b847(0x2fc)](document[_0x23b847(0x146)]('preview-drive-content')[_0x23b847(0xe9)]*0.8);}static#listenerPreventCopy(_0x8caf66){const _0x14525=a69_0x18e15f,_0x192193=i18n['getText'](_0x14525(0x1a3));alert(_0x192193),_0x8caf66['clipboardData'][_0x14525(0x10c)](_0x14525(0x1dc),_0x192193),_0x8caf66[_0x14525(0x226)](),PdfViewerManager[_0x14525(0x2ee)](_0x14525(0x113));}static#listenerPreventContextMenu(_0x24cf59){const _0x3ae110=a69_0x18e15f;_0x24cf59[_0x3ae110(0x226)]();}static#listenerPreventPrint(_0x8651fe){const _0x2c1307=a69_0x18e15f,_0x239e65=i18n[_0x2c1307(0x221)](_0x2c1307(0x18f));alert(_0x239e65),_0x8651fe[_0x2c1307(0x226)](),PdfViewerManager[_0x2c1307(0x2ee)](_0x2c1307(0x176));}static#listenerPreventMouseUp(_0x130dd8){const _0x46070b=a69_0x18e15f;_0x130dd8[_0x46070b(0x226)]();}static #listenerPreventScreenShotByBlur=(e=>{const _0x565a34=a69_0x18e15f,blurViewerPdfInfo=document[_0x565a34(0x146)]('blurViewerPdfInfo');blurViewerPdfInfo&&blurViewerPdfInfo[_0x565a34(0xc3)](),this.#divContainer[_0x565a34(0x11e)]('afterend',_0x565a34(0x166)+i18n[_0x565a34(0x221)](_0x565a34(0x104))+_0x565a34(0x17a)+i18n['getText'](_0x565a34(0x2c7))+_0x565a34(0x291)),document[_0x565a34(0x146)]('blurViewerPdfInfoClose')[_0x565a34(0x2f4)](_0x565a34(0x2df),e=>{const _0x37aba3=_0x565a34;this.#listenerPreventScreenShotUnBlur(),e[_0x37aba3(0x226)](),e[_0x37aba3(0x2a6)]();}),this.#divContainer[_0x565a34(0x14c)][_0x565a34(0x340)](_0x565a34(0x26b));})[a69_0x18e15f(0x2c2)](this);static #listenerPreventScreenShotUnBlur=(e=>{const _0x3834e3=a69_0x18e15f;this.#divContainer['classList'][_0x3834e3(0xc3)](_0x3834e3(0x26b));let blurViewerPdfInfo=document[_0x3834e3(0x146)](_0x3834e3(0x10b));blurViewerPdfInfo&&blurViewerPdfInfo[_0x3834e3(0xc3)]();})['bind'](this);static #listenerSelectStart=(e=>{const _0x12343c=a69_0x18e15f;this[_0x12343c(0xf7)]&&(this['currentSelection']['removeIfNoComment'](),this['currentSelection']=undefined);})[a69_0x18e15f(0x2c2)](this);static #listenerSelectChange=(e=>{const _0x180d06=a69_0x18e15f,selection=document[_0x180d06(0x263)](),selectorsThatMustNotMatch=['#headerPdfWithComments',_0x180d06(0x242),_0x180d06(0x184),_0x180d06(0x188),_0x180d06(0x1d4),_0x180d06(0xea),_0x180d06(0x13b),_0x180d06(0x122)];let mustReturn=selection[_0x180d06(0x144)]===0x0;if(!mustReturn&&selection[_0x180d06(0x342)](0x0)&&selection[_0x180d06(0x342)](0x0)['startContainer']){const startContainer=selection['getRangeAt'](0x0)[_0x180d06(0xcd)];startContainer instanceof HTMLElement?mustReturn=mustReturn||selectorsThatMustNotMatch[_0x180d06(0x2ef)](selector=>startContainer[_0x180d06(0xbb)](selector)):mustReturn=mustReturn||selectorsThatMustNotMatch[_0x180d06(0x2ef)](selector=>startContainer[_0x180d06(0x30d)][_0x180d06(0xbb)](selector));}if(mustReturn)return;const range=selection[_0x180d06(0x342)](0x0),prevRange=this.#previousRange,modifyStart=prevRange&&(range[_0x180d06(0x2a8)](Range[_0x180d06(0x29c)],prevRange)===0x0||range[_0x180d06(0x2a8)](Range[_0x180d06(0x229)],prevRange)===0x0);let anchor=modifyStart?range[_0x180d06(0xcd)]:range['endContainer'];anchor['nodeType']===Node[_0x180d06(0x151)]&&(anchor=anchor[_0x180d06(0x29d)]);if(anchor instanceof HTMLElement&&anchor['classList']['contains'](_0x180d06(0xfc)))this.#previousRange&&(modifyStart?range[_0x180d06(0x17d)](this.#previousRange['endContainer'],this.#previousRange[_0x180d06(0x335)]):range[_0x180d06(0x17d)](this.#previousRange[_0x180d06(0xc5)],this.#previousRange[_0x180d06(0x335)]));else{if(!this.#previousRange||this.#previousRange[_0x180d06(0xcd)]===range['startContainer']&&this.#previousRange['startOffset']===range[_0x180d06(0x1d3)]&&this.#previousRange['endContainer']===range['endContainer']&&this.#previousRange['endOffset']===range['endOffset']){const newSelection=PdfViewerSelection['addSelection'](document[_0x180d06(0x263)]()),previousSelection=this[_0x180d06(0xf7)];newSelection&&(this[_0x180d06(0xf7)]=newSelection,previousSelection&&previousSelection[_0x180d06(0x1b0)]());}else this.#previousRange=range[_0x180d06(0xdb)]();}})['bind'](this);static#getNumPages(){const _0x1264f8=a69_0x18e15f;if(!this.#pdf)return 0x0;return this.#pdf[_0x1264f8(0x2cd)];}}class PdfViewerComment{static #commentsContainer;static #addCommentButton;static #textAreaAddComment;static #commentsContainerParent;static [a69_0x18e15f(0x285)]=[];static #styleElement;static #selectViewElement;#divCommentContainer;#selection;#lstUsers=[];#isAchived=![];#isPublicForAll=![];static#init(_0x34e960){const _0x51aaa7=a69_0x18e15f,_0x88c669=this.#commentsContainerParent=document['createElement']('div');_0x88c669['id']=_0x51aaa7(0x1ef),_0x34e960[_0x51aaa7(0x25d)](_0x51aaa7(0x11b),_0x88c669);const _0x1251b5=document[_0x51aaa7(0x2bc)](_0x51aaa7(0x315));_0x1251b5['id']=_0x51aaa7(0x2b8);let _0x2bc8fd,_0x58b637=_0x51aaa7(0x189);if(PdfViewerManager[_0x51aaa7(0xcf)][_0x51aaa7(0x171)]===signin[_0x51aaa7(0x334)]['id']){const _0x31cfd6=PdfViewerManager[_0x51aaa7(0xcf)]['lstUserShare'][_0x51aaa7(0x2e2)](_0x3a3e48=>{const _0x1bc4b9=_0x51aaa7;return Object[_0x1bc4b9(0xef)](app[_0x1bc4b9(0xc6)]['friendList'])[_0x1bc4b9(0x250)](_0x3a3e48);})[_0x51aaa7(0x140)](_0x21e9d3=>{const _0x180d3f=_0x51aaa7;return[_0x21e9d3,app[_0x180d3f(0xc6)][_0x180d3f(0x22a)][_0x21e9d3]['name'],app['_run'][_0x180d3f(0x22a)][_0x21e9d3][_0x180d3f(0x1c9)]];})[_0x51aaa7(0x1fa)](([_0x501c72,_0x52ece9,_0x4b04e9],[_0x28dad2,_0x1b796b,_0x4ee469])=>{const _0x31cbd1=_0x51aaa7;return _0x52ece9[_0x31cbd1(0xe7)](_0x1b796b);})[_0x51aaa7(0x140)](([_0x12402d,_0x3761bc,_0x129014])=>{const _0x38a22e=_0x51aaa7;return _0x38a22e(0x2b5)+_0x12402d+_0x38a22e(0x18e)+_0x3761bc+_0x38a22e(0x169)+_0x129014+_0x38a22e(0x2b1)+_0x3761bc+_0x38a22e(0x24d);})[_0x51aaa7(0x278)]('');_0x2bc8fd='<div\x20id=\x22headerPdfCommentsSelectView\x22\x20class=\x22multipleContactsViews\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22headerPdfCommentsSelectViewAll\x22\x20class=\x22pdfCommentView\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfCommentViewName\x22>'+i18n[_0x51aaa7(0x221)]('commentsSeeAll')+'</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22pdfCommentViewDivider\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x31cfd6+_0x51aaa7(0x2c3)+i18n[_0x51aaa7(0x221)](_0x51aaa7(0x14d))+_0x51aaa7(0x330)+i18n[_0x51aaa7(0x221)](_0x51aaa7(0x19b))+'</label>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>',_0x58b637+=_0x51aaa7(0x33a),_0x58b637+=[...PdfViewerManager[_0x51aaa7(0xcf)][_0x51aaa7(0x2f1)],signin['_user']['id']][_0x51aaa7(0x140)](_0x4037f7=>{const _0x15c540=_0x51aaa7;return _0x15c540(0x251)+_0x4037f7+_0x15c540(0x1e7)+_0x4037f7+_0x15c540(0x123)+_0x4037f7+_0x15c540(0x2f8)+_0x4037f7+'\x22]>.highlightPdfComment';})[_0x51aaa7(0x278)](',\x20')+'\x20{display:\x20block;}',_0x58b637+=Array[_0x51aaa7(0x31f)](PdfViewerManager[_0x51aaa7(0xcf)][_0x51aaa7(0x2f1)])['map'](_0xb566b9=>{const _0x10e50b=_0x51aaa7;return'#pdfViewerContainer[data-pdf-comment-select-view=\x22lstUid\x22]:not([data-pdf-comment-select-view-lst-uid~=\x22'+_0xb566b9+'\x22])\x20.pdfComment[data-pdf-comment-select-view-lst-uid~=\x22'+_0xb566b9+'\x22],\x20#pdfViewerContainer[data-pdf-comment-select-view=\x22lstUid\x22]:not([data-pdf-comment-select-view-lst-uid~=\x22'+_0xb566b9+_0x10e50b(0x29f)+_0xb566b9+_0x10e50b(0x231)+_0xb566b9+_0x10e50b(0x13a)+_0xb566b9+_0x10e50b(0x126)+_0xb566b9+'\x22]\x20:not([data-pdf-comment-select-view-lst-uid~=\x22'+_0xb566b9+'\x22]):not(.highlightPdfCommentNotValided)>.highlightPdfComment';})[_0x51aaa7(0x278)](',\x20')+'\x20{display:\x20none\x20!important;}';}else _0x2bc8fd=_0x51aaa7(0x25e)+PdfViewerManager[_0x51aaa7(0xcf)][_0x51aaa7(0x171)]+_0x51aaa7(0x18e)+app[_0x51aaa7(0xc6)][_0x51aaa7(0x22a)][PdfViewerManager[_0x51aaa7(0xcf)]['ownerId']][_0x51aaa7(0x243)]+_0x51aaa7(0x169)+app[_0x51aaa7(0xc6)][_0x51aaa7(0x22a)][PdfViewerManager[_0x51aaa7(0xcf)]['ownerId']][_0x51aaa7(0x1c9)]+_0x51aaa7(0x2b1)+app[_0x51aaa7(0xc6)][_0x51aaa7(0x22a)][PdfViewerManager[_0x51aaa7(0xcf)][_0x51aaa7(0x171)]][_0x51aaa7(0x243)]+_0x51aaa7(0x19e)+i18n[_0x51aaa7(0x221)]('commentsArchive')+'</label>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>',_0x58b637+=[PdfViewerManager[_0x51aaa7(0xcf)][_0x51aaa7(0x171)],signin[_0x51aaa7(0x334)]['id']][_0x51aaa7(0x140)](_0x5c4a71=>{const _0x515a91=_0x51aaa7;return _0x515a91(0x251)+_0x5c4a71+_0x515a91(0x1e7)+_0x5c4a71+_0x515a91(0x123)+_0x5c4a71+_0x515a91(0x2f8)+_0x5c4a71+_0x515a91(0x290);})[_0x51aaa7(0x278)](',\x20')+_0x51aaa7(0xd9);_0x1251b5[_0x51aaa7(0x331)]=_0x51aaa7(0xba)+i18n[_0x51aaa7(0x221)](_0x51aaa7(0x28f))+_0x51aaa7(0x2de)+i18n['getText'](_0x51aaa7(0x14d))+_0x51aaa7(0x21f)+_0x2bc8fd,this.#styleElement=document[_0x51aaa7(0x2bc)](_0x51aaa7(0x232)),this.#styleElement[_0x51aaa7(0x1f2)]=_0x58b637,document[_0x51aaa7(0x239)][_0x51aaa7(0x333)](this.#styleElement),_0x88c669[_0x51aaa7(0x25d)](_0x51aaa7(0x11b),_0x1251b5);const _0x59b800=this.#commentsContainer=document['createElement'](_0x51aaa7(0x315));_0x59b800['id']=_0x51aaa7(0x235),_0x88c669['insertAdjacentElement'](_0x51aaa7(0x11b),_0x59b800);const _0x5588a3=document[_0x51aaa7(0x2bc)](_0x51aaa7(0x315));_0x5588a3['innerHTML']=_0x51aaa7(0x24a)+i18n[_0x51aaa7(0x221)](_0x51aaa7(0x2bb))+'\x22\x20spellcheck></textarea>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22includeFutureSharesOfFileDiv\x22\x20class=\x22divContainerDefaultBrowserCheckbox\x20hidden\x22\x20title=\x22'+i18n['getText'](_0x51aaa7(0x2c1))+_0x51aaa7(0xb1)+i18n[_0x51aaa7(0x221)](_0x51aaa7(0x15d))+'</label>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20id=\x22includeFutureSharesOfFileInfo\x22\x20class=\x22material-icons-outlined\x22>info</i>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20id=\x22parentPdfCommentsAddCommentTextSaveBtn\x22\x20class=\x22app-i18n\x20btn\x20app-btn\x22\x20disabled>'+i18n['getText'](_0x51aaa7(0x2d0))+_0x51aaa7(0x21c),this.#selectViewElement=_0x1251b5[_0x51aaa7(0x1f0)]('#headerPdfCommentsSelectView'),this.#textAreaAddComment=_0x5588a3[_0x51aaa7(0x1f0)]('#parentPdfCommentsAddCommentText'),this.#addCommentButton=_0x5588a3[_0x51aaa7(0x1f0)]('#parentPdfCommentsAddCommentTextSaveBtn'),this.#textAreaAddComment['addEventListener'](_0x51aaa7(0x1aa),()=>{const _0x1129b8=_0x51aaa7,_0x2a3d93=parseFloat(window[_0x1129b8(0x185)](this.#textAreaAddComment)[_0x1129b8(0x1d6)][_0x1129b8(0x1ea)]('px',''));this.#textAreaAddComment[_0x1129b8(0x1b8)]>_0x2a3d93&&(this.#textAreaAddComment[_0x1129b8(0x232)][_0x1129b8(0x1d6)]=this.#textAreaAddComment[_0x1129b8(0x1b8)]+'px'),this.#addCommentButton[_0x1129b8(0x2bf)]=this.#textAreaAddComment['value'][_0x1129b8(0x220)]()['length']===0x0;}),this.#addCommentButton[_0x51aaa7(0x2f4)](_0x51aaa7(0x2df),this.#addAndSaveComment[_0x51aaa7(0x2c2)](this)),_0x88c669[_0x51aaa7(0x25d)](_0x51aaa7(0x11b),_0x5588a3);const _0x3538de=_0x1251b5['querySelector'](_0x51aaa7(0x246)),_0x5a060d=_0x1251b5[_0x51aaa7(0x1f0)]('#settingArchivePdfComments');_0x3538de[_0x51aaa7(0x2f4)](_0x51aaa7(0x2df),_0xea60bb=>{const _0x732d38=_0x51aaa7;_0x5a060d[_0x732d38(0x10e)]=!_0x5a060d[_0x732d38(0x10e)],_0xea60bb[_0x732d38(0x2a6)](),_0xea60bb[_0x732d38(0x226)](),_0x5a060d[_0x732d38(0x10e)]?(this.#commentsContainerParent['closest']('#pdfViewerContainer')[_0x732d38(0x2dc)]('data-pdf-comment-select-view-archive',_0x732d38(0xc9)),_0x1251b5['querySelector'](_0x732d38(0x16f))[_0x732d38(0x14c)]['add']('hidden'),_0x1251b5[_0x732d38(0x1f0)]('#headerPdfArchiveCommentsTitleString')['classList'][_0x732d38(0xc3)](_0x732d38(0xda))):(this.#commentsContainerParent[_0x732d38(0xbb)](_0x732d38(0x2c8))['setAttribute']('data-pdf-comment-select-view-archive',_0x732d38(0x25c)),_0x1251b5[_0x732d38(0x1f0)](_0x732d38(0x16f))['classList']['remove'](_0x732d38(0xda)),_0x1251b5[_0x732d38(0x1f0)](_0x732d38(0x1a2))['classList'][_0x732d38(0x340)]('hidden'));});const _0x52c689=_0x1251b5['querySelector'](_0x51aaa7(0x312));_0x52c689[_0x51aaa7(0x14c)][_0x51aaa7(0xc3)](_0x51aaa7(0xda));const _0x1de83e=_0x1251b5[_0x51aaa7(0x1f0)](_0x51aaa7(0x118));_0x52c689[_0x51aaa7(0x2f4)]('click',_0x577bfd=>{const _0x455f9c=_0x51aaa7,_0x5c4b4d=!_0x52c689['classList'][_0x455f9c(0x222)](_0x455f9c(0x11d));_0x52c689[_0x455f9c(0x14c)][_0x455f9c(0x328)](_0x455f9c(0x11d)),_0x5c4b4d?(_0x59b800[_0x455f9c(0x14c)][_0x455f9c(0x340)](_0x455f9c(0xda)),_0x5588a3[_0x455f9c(0x14c)][_0x455f9c(0x340)]('hidden'),_0x1de83e[_0x455f9c(0x14c)]['remove'](_0x455f9c(0xda)),this.#selectViewElement[_0x455f9c(0x14c)][_0x455f9c(0x340)]('hidden'),setTimeout(()=>{const _0x15f2d5=_0x455f9c;_0x52c689['classList'][_0x15f2d5(0x222)](_0x15f2d5(0x11d))&&_0x52c689['click']();},0x2710)):(_0x59b800[_0x455f9c(0x14c)][_0x455f9c(0xc3)](_0x455f9c(0xda)),_0x5588a3[_0x455f9c(0x14c)][_0x455f9c(0xc3)]('hidden'),_0x1de83e['classList'][_0x455f9c(0x340)](_0x455f9c(0xda)),this.#selectViewElement[_0x455f9c(0x14c)][_0x455f9c(0xc3)]('hidden'));});const _0x3b1d9f=_0x1251b5[_0x51aaa7(0x1f0)](_0x51aaa7(0x1ae));if(PdfViewerManager[_0x51aaa7(0xcf)][_0x51aaa7(0x171)]!==signin['_user']['id'])this.#selectViewElement[_0x51aaa7(0x2f4)]('click',this.#listenerChangeSelectViewSharee[_0x51aaa7(0x2c2)](this)),firebase[_0x51aaa7(0x2e8)]()['ref'](_0x51aaa7(0x1fe))[_0x51aaa7(0x341)](PdfViewerManager['fileObj'][_0x51aaa7(0x32f)])[_0x51aaa7(0x341)](_0x51aaa7(0x13c))[_0x51aaa7(0x341)](signin[_0x51aaa7(0x334)]['id'])[_0x51aaa7(0x2f9)]()[_0x51aaa7(0x310)](_0xbd2003=>{const _0x55b504=_0x51aaa7;if(!_0xbd2003[_0x55b504(0x102)]())return;const _0x332d29=new Set(),_0x3173fb=new Set();Array[_0x55b504(0x31f)](_0xbd2003['val']())[_0x55b504(0x130)](_0x2edcaf=>{const _0x4b0ded=_0x55b504;_0x2edcaf[_0x4b0ded(0x1a0)](';')['forEach'](_0x4eefac=>{const _0x4dcc7b=_0x4b0ded;_0x3173fb[_0x4dcc7b(0x340)](_0x4eefac);}),_0x332d29['add'](_0x2edcaf[_0x4b0ded(0x1a0)](';')[_0x4b0ded(0x1fa)]()[_0x4b0ded(0x278)](';'));}),_0x332d29[_0x55b504(0x130)](_0x1761a3=>{const _0x203574=_0x55b504;let _0x1cae2b='';const _0x30a252=(_0x1761a3+';'+PdfViewerManager[_0x203574(0xcf)]['ownerId'])['split'](';')['map'](_0x531833=>{const _0xa3cf38=_0x203574,_0x44b8d7=app['_run'][_0xa3cf38(0x22a)][_0x531833]['name'];_0x1cae2b=[..._0x1cae2b[_0xa3cf38(0x1a0)](',\x20'),_0x44b8d7][_0xa3cf38(0x2e2)](_0xc364fc=>_0xc364fc['length']>0x0)[_0xa3cf38(0x278)](',\x20');const _0x44a901=app[_0xa3cf38(0xc6)][_0xa3cf38(0x22a)][_0x531833][_0xa3cf38(0x1c9)];return _0xa3cf38(0x12d)+_0x44a901+_0xa3cf38(0x259)+_0x44b8d7+'</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>';})[_0x203574(0x278)]('');this.#selectViewElement[_0x203574(0x11e)](_0x203574(0xd4),_0x203574(0x2fd)+_0x1761a3[_0x203574(0x1a0)](';')['join']('\x20')+'\x22\x20title=\x22'+_0x1cae2b+_0x203574(0x1a1)+_0x30a252+_0x203574(0x1a7));const _0x3e4969=(_0x1761a3+';'+PdfViewerManager[_0x203574(0xcf)][_0x203574(0x171)])['split'](';')[_0x203574(0x140)](_0x211ae6=>_0x203574(0x247)+_0x211ae6+'\x22]')[_0x203574(0x278)]('');this.#styleElement[_0x203574(0x1f2)]+=_0x203574(0x2d7)+_0x3e4969+_0x203574(0x136)+_0x3e4969+_0x203574(0xe2)+_0x3e4969+'\x20'+_0x3e4969+_0x203574(0x249);}),this.#styleElement[_0x55b504(0x1f2)]+=Array['from'](_0x3173fb)[_0x55b504(0x2e2)](_0x48a12b=>_0x48a12b!==signin[_0x55b504(0x334)]['id']&&_0x48a12b!==PdfViewerManager['fileObj']['ownerId'])[_0x55b504(0x140)](_0x340370=>{const _0x598c93=_0x55b504;return _0x598c93(0x23c)+_0x340370+'\x22])\x20.pdfComment[data-pdf-comment-select-view-lst-uid~=\x22'+_0x340370+_0x598c93(0x329)+_0x340370+_0x598c93(0x29f)+_0x340370+_0x598c93(0x231)+_0x340370+_0x598c93(0x13a)+_0x340370+_0x598c93(0x126)+_0x340370+_0x598c93(0x2dd)+_0x340370+_0x598c93(0x289);})[_0x55b504(0x278)](',\x20')+_0x55b504(0x2a0);})[_0x51aaa7(0x2c9)](_0x376586=>{const _0x419a72=_0x51aaa7;alert(texts['unknown_error']['format']('')),HandleError(PdfViewerComment[_0x419a72(0x243)]+_0x419a72(0x236)+_0x376586,_0x419a72(0x2f5),_0x376586[_0x419a72(0x105)],_0x376586[_0x419a72(0x14b)],_0x376586);})[_0x51aaa7(0x187)](()=>{const _0x53eecc=setInterval(()=>{const _0x21622d=a69_0x1f0c,_0x27a880=document['querySelector'](_0x21622d(0x217));if(!_0x27a880)return;clearInterval(_0x53eecc),!_0x27a880[_0x21622d(0x14c)][_0x21622d(0x222)](_0x21622d(0xb2))&&_0x27a880[_0x21622d(0x2df)]();},0x32);});else{firebase[_0x51aaa7(0x2e8)]()[_0x51aaa7(0x2d6)](_0x51aaa7(0x1fe))['child'](PdfViewerManager['fileObj'][_0x51aaa7(0x32f)])[_0x51aaa7(0x341)]('groups')[_0x51aaa7(0x2f9)]()['then'](_0x326be1=>{const _0x5384a3=_0x51aaa7;if(!_0x326be1[_0x5384a3(0x102)]())return;const _0x5dd0b7=_0x326be1[_0x5384a3(0x192)](),_0x915fb7=new Set();Object['keys'](_0x5dd0b7)[_0x5384a3(0x130)](_0x252c7b=>{const _0x52f109=_0x5384a3;Array[_0x52f109(0x31f)](_0x5dd0b7[_0x252c7b])[_0x52f109(0x130)](_0x152a7b=>{const _0x11c627=_0x52f109,_0x513e42=new Set(_0x152a7b[_0x11c627(0x1a0)](';'));_0x513e42[_0x11c627(0x340)](_0x252c7b),_0x915fb7[_0x11c627(0x340)](Array[_0x11c627(0x31f)](_0x513e42)[_0x11c627(0x1fa)]()[_0x11c627(0x278)](';'));});}),_0x915fb7[_0x5384a3(0x130)](_0x39eef1=>{const _0x4e62e2=_0x5384a3;let _0x8c620c='';const _0x1a5fbc=_0x39eef1['split'](';')['map'](_0x28dbad=>{const _0x4607f8=a69_0x1f0c,_0x479cd1=app[_0x4607f8(0xc6)][_0x4607f8(0x22a)][_0x28dbad][_0x4607f8(0x243)];_0x8c620c=[..._0x8c620c[_0x4607f8(0x1a0)](',\x20'),_0x479cd1]['filter'](_0x556517=>_0x556517[_0x4607f8(0x108)]>0x0)['join'](',\x20');const _0x1a5f8d=app[_0x4607f8(0xc6)][_0x4607f8(0x22a)][_0x28dbad][_0x4607f8(0x1c9)];return _0x4607f8(0x12d)+_0x1a5f8d+_0x4607f8(0x259)+_0x479cd1+_0x4607f8(0x30f);})[_0x4e62e2(0x278)]('');_0x1251b5[_0x4e62e2(0x1f0)](_0x4e62e2(0x202))['insertAdjacentHTML'](_0x4e62e2(0x344),_0x4e62e2(0x2fd)+_0x39eef1[_0x4e62e2(0x1a0)](';')[_0x4e62e2(0x278)]('\x20')+'\x22\x20title=\x22'+_0x8c620c+_0x4e62e2(0x1a1)+_0x1a5fbc+_0x4e62e2(0x1a7));});})[_0x51aaa7(0x2c9)](_0x9a69b1=>{const _0x25a702=_0x51aaa7;alert(texts[_0x25a702(0x2ae)][_0x25a702(0x1a6)]('')),HandleError(PdfViewerComment['name']+_0x25a702(0x25b)+_0x9a69b1,_0x25a702(0x2f5),_0x9a69b1[_0x25a702(0x105)],_0x9a69b1['colNo'],_0x9a69b1);}),this.#selectViewElement['addEventListener']('click',this.#listenerChangeSelectViewOwner[_0x51aaa7(0x2c2)](this));const _0x3197ac=_0x1251b5[_0x51aaa7(0x1f0)](_0x51aaa7(0x13d));_0x3b1d9f['addEventListener'](_0x51aaa7(0x2df),_0x20f3b5=>{const _0x4183c7=_0x51aaa7;_0x3197ac[_0x4183c7(0x10e)]=!_0x3197ac[_0x4183c7(0x10e)],_0x20f3b5[_0x4183c7(0x2a6)](),_0x20f3b5[_0x4183c7(0x226)]();if(_0x3197ac[_0x4183c7(0x10e)]){this.#commentsContainerParent[_0x4183c7(0xbb)](_0x4183c7(0x2c8))['setAttribute'](_0x4183c7(0x254),_0x4183c7(0xc9));const _0x7ee42b=_0x1251b5[_0x4183c7(0x1f0)](_0x4183c7(0xdd));!_0x7ee42b[_0x4183c7(0x14c)][_0x4183c7(0x222)]('selectedView')&&_0x7ee42b[_0x4183c7(0x2df)]();}else this.#commentsContainerParent['closest'](_0x4183c7(0x2c8))[_0x4183c7(0x2dc)](_0x4183c7(0x254),'false');});const _0x2f4903=_0x5588a3[_0x51aaa7(0x1f0)](_0x51aaa7(0x323));_0x2f4903[_0x51aaa7(0x14c)][_0x51aaa7(0xc3)]('hidden');const _0x2d3e07=_0x5588a3[_0x51aaa7(0x1f0)](_0x51aaa7(0x1ee));_0x2f4903[_0x51aaa7(0x2f4)](_0x51aaa7(0x2df),_0x44f7b3=>{const _0x4251da=_0x51aaa7;_0x2d3e07[_0x4251da(0x10e)]=!_0x2d3e07[_0x4251da(0x10e)],_0x44f7b3[_0x4251da(0x2a6)](),_0x44f7b3['preventDefault']();}),_0x5588a3[_0x51aaa7(0x1f0)](_0x51aaa7(0xf2))['addEventListener'](_0x51aaa7(0x2df),_0x227d07=>{const _0x855093=_0x51aaa7;_0x227d07[_0x855093(0x226)](),_0x227d07[_0x855093(0x2a6)](),alert(i18n[_0x855093(0x221)]('viewableLaterUser2'));});const _0x232bfd=setInterval(()=>{const _0x21548a=document['getElementById']('headerPdfCommentsSelectViewAll');if(!_0x21548a)return;clearInterval(_0x232bfd),_0x21548a['click']();},0x32);}}static#listenerChangeSelectViewOwner(_0x46530a){const _0x214a53=a69_0x18e15f,_0x321c59=_0x46530a[_0x214a53(0x318)][_0x214a53(0xbb)]('.pdfCommentView');if(!_0x321c59)return;_0x321c59[_0x214a53(0x14c)]['toggle'](_0x214a53(0xb2));_0x321c59['classList'][_0x214a53(0x222)](_0x214a53(0xb2))&&(_0x321c59[_0x214a53(0x14c)][_0x214a53(0x222)]('pdfCommentViewGroup')?Array[_0x214a53(0x31f)](_0x321c59['parentElement']['querySelectorAll']('.selectedView'))[_0x214a53(0x130)](_0x564a96=>{const _0x133805=_0x214a53;_0x564a96!==_0x321c59&&_0x564a96[_0x133805(0x14c)][_0x133805(0xc3)](_0x133805(0xb2));}):Array[_0x214a53(0x31f)](_0x321c59[_0x214a53(0x30d)][_0x214a53(0x2d8)]('.selectedView.pdfCommentViewGroup'))[_0x214a53(0x130)](_0x3562b8=>{const _0x2cd936=_0x214a53;_0x3562b8!==_0x321c59&&_0x3562b8[_0x2cd936(0x14c)][_0x2cd936(0xc3)](_0x2cd936(0xb2));}));const _0x72f553=this.#commentsContainerParent[_0x214a53(0xbb)](_0x214a53(0x2c8)),_0x5f546d=document[_0x214a53(0x146)](_0x214a53(0x150))[_0x214a53(0x14c)][_0x214a53(0x222)]('selectedView')&&this.#commentsContainerParent['querySelector']('#headerPdfCommentsSelectViewAll')===_0x321c59,_0xcc4f9a=document['getElementById']('settingDisplayedForAllPdfComments')[_0x214a53(0x10e)],_0x5a4a1c=document[_0x214a53(0x146)]('settingArchivePdfComments')['checked'],_0x4741eb=[];_0x5a4a1c&&(PdfViewerManager[_0x214a53(0xf7)]&&PdfViewerManager['currentSelection'][_0x214a53(0x1b0)](),PdfViewerManager[_0x214a53(0xf7)]=undefined);_0x72f553[_0x214a53(0x287)](_0x214a53(0x2f7)),_0x321c59[_0x214a53(0x30d)]['querySelectorAll']('.pdfCommentView.selectedView')[_0x214a53(0x130)](_0x51d106=>{const _0x3fe13a=_0x214a53;_0x51d106[_0x3fe13a(0x198)](_0x3fe13a(0x2a1))&&_0x4741eb['push'](_0x51d106[_0x3fe13a(0x2f0)]('data-userId')),_0x51d106[_0x3fe13a(0x198)]('data-groupUserId')&&(_0x4741eb['push'](..._0x51d106[_0x3fe13a(0x2f0)]('data-groupUserId')[_0x3fe13a(0x1a0)]('\x20')),_0x4741eb[_0x3fe13a(0x2ff)](signin['_user']['id']),_0x4741eb['push'](PdfViewerManager[_0x3fe13a(0xcf)][_0x3fe13a(0x171)]));});_0xcc4f9a?_0x72f553[_0x214a53(0x2dc)](_0x214a53(0x254),_0x214a53(0xc9)):_0x72f553[_0x214a53(0x287)](_0x214a53(0x254));_0x5a4a1c?_0x72f553[_0x214a53(0x2dc)]('data-pdf-comment-select-view-archive',_0x214a53(0xc9)):_0x72f553['removeAttribute'](_0x214a53(0x2c0));if(_0x5f546d)Array[_0x214a53(0x31f)](_0x321c59[_0x214a53(0x30d)][_0x214a53(0x2d8)]('.pdfCommentView:not(#headerPdfCommentsSelectViewAll)'))[_0x214a53(0x130)](_0x2950c0=>{const _0x14ca90=_0x214a53;_0x2950c0[_0x14ca90(0x14c)][_0x14ca90(0xc3)](_0x14ca90(0xb2));}),_0x72f553['setAttribute'](_0x214a53(0xc0),'all'),_0x72f553[_0x214a53(0x2dc)](_0x214a53(0x2f7),PdfViewerManager[_0x214a53(0xcf)][_0x214a53(0x2f1)][_0x214a53(0x278)]('\x20')),_0x72f553['querySelector'](_0x214a53(0x323))[_0x214a53(0x14c)][_0x214a53(0xc3)]('hidden');else{document[_0x214a53(0x146)]('headerPdfCommentsSelectViewAll')['classList'][_0x214a53(0xc3)](_0x214a53(0xb2)),_0x72f553[_0x214a53(0x2dc)](_0x214a53(0xc0),'lstUid'),_0x72f553['setAttribute'](_0x214a53(0x2f7),_0x4741eb[_0x214a53(0x278)]('\x20'));const _0x7e57f9=document[_0x214a53(0x146)](_0x214a53(0x121));_0x7e57f9['checked']=![],_0x72f553[_0x214a53(0x1f0)]('#includeFutureSharesOfFileDiv')[_0x214a53(0x14c)]['add']('hidden');if(_0x4741eb[_0x214a53(0x108)]===0x0)document[_0x214a53(0x146)](_0x214a53(0x150))[_0x214a53(0x2df)]();else{if(!_0x321c59['classList'][_0x214a53(0x222)](_0x214a53(0x2fe))&&_0x4741eb[_0x214a53(0x108)]>0x1){const _0x6f63f7=new Set(_0x4741eb);Array[_0x214a53(0x31f)](_0x321c59[_0x214a53(0x30d)][_0x214a53(0x2d8)](_0x214a53(0xf9)))[_0x214a53(0x130)](_0x719b91=>{const _0x42bafb=_0x214a53,_0x3e6d55=new Set(_0x719b91[_0x42bafb(0x2f0)](_0x42bafb(0x162))[_0x42bafb(0x1a0)]('\x20'));_0x6f63f7[_0x42bafb(0x1b4)]===_0x3e6d55['size']&&_0x4741eb['every'](_0x171ddb=>_0x3e6d55[_0x42bafb(0x194)](_0x171ddb))&&(Array[_0x42bafb(0x31f)](_0x321c59[_0x42bafb(0x30d)][_0x42bafb(0x2d8)](_0x42bafb(0x20c)))[_0x42bafb(0x130)](_0xc00807=>{const _0x3693f0=_0x42bafb;_0xc00807[_0x3693f0(0x14c)][_0x3693f0(0xc3)](_0x3693f0(0xb2));}),_0x719b91[_0x42bafb(0x14c)][_0x42bafb(0x340)](_0x42bafb(0xb2)));});}}}}static#listenerChangeSelectViewSharee(_0x4c4dbf){const _0x613f42=a69_0x18e15f,_0x5ad9bd=_0x4c4dbf['target']['closest']('.pdfCommentView');if(!_0x5ad9bd)return;_0x5ad9bd[_0x613f42(0x14c)]['toggle'](_0x613f42(0xb2));_0x5ad9bd[_0x613f42(0x14c)][_0x613f42(0x222)](_0x613f42(0xb2))&&(_0x5ad9bd[_0x613f42(0x14c)][_0x613f42(0x222)](_0x613f42(0x2fe))?Array[_0x613f42(0x31f)](_0x5ad9bd['parentElement'][_0x613f42(0x2d8)](_0x613f42(0x20c)))[_0x613f42(0x130)](_0x3f4dd8=>{const _0x364bc6=_0x613f42;_0x3f4dd8!==_0x5ad9bd&&_0x3f4dd8[_0x364bc6(0x14c)][_0x364bc6(0xc3)](_0x364bc6(0xb2));}):Array[_0x613f42(0x31f)](_0x5ad9bd[_0x613f42(0x30d)][_0x613f42(0x2d8)]('.selectedView.pdfCommentViewGroup'))[_0x613f42(0x130)](_0x2276c2=>{const _0x679152=_0x613f42;_0x2276c2!==_0x5ad9bd&&_0x2276c2[_0x679152(0x14c)][_0x679152(0xc3)](_0x679152(0xb2));}));const _0x8d216a=this.#commentsContainerParent[_0x613f42(0xbb)](_0x613f42(0x2c8));_0x8d216a[_0x613f42(0x2f0)](_0x613f42(0x2c0))===_0x613f42(0xc9)&&(PdfViewerManager[_0x613f42(0xf7)]&&PdfViewerManager[_0x613f42(0xf7)]['removeIfNoComment'](),PdfViewerManager[_0x613f42(0xf7)]=undefined);const _0x49869e=document[_0x613f42(0x146)](_0x613f42(0xf4))['checked'],_0x139560=[];_0x8d216a[_0x613f42(0x287)]('data-pdf-comment-select-view-lst-uid'),_0x5ad9bd[_0x613f42(0x30d)]['querySelectorAll'](_0x613f42(0x153))['forEach'](_0x348e01=>{const _0x28538c=_0x613f42;_0x348e01[_0x28538c(0x198)](_0x28538c(0x2a1))&&_0x139560[_0x28538c(0x2ff)](_0x348e01[_0x28538c(0x2f0)]('data-userId')),_0x348e01[_0x28538c(0x198)]('data-groupUserId')&&(_0x139560[_0x28538c(0x2ff)](..._0x348e01['getAttribute'](_0x28538c(0x162))['split']('\x20')),_0x139560[_0x28538c(0x2ff)](signin[_0x28538c(0x334)]['id']),_0x139560[_0x28538c(0x2ff)](PdfViewerManager['fileObj'][_0x28538c(0x171)]));}),_0x49869e?_0x8d216a[_0x613f42(0x2dc)](_0x613f42(0x2c0),_0x613f42(0xc9)):_0x8d216a['removeAttribute']('data-pdf-comment-select-view-archive'),_0x8d216a[_0x613f42(0x2dc)]('data-pdf-comment-select-view',_0x613f42(0x21b)),_0x8d216a['setAttribute'](_0x613f42(0x2f7),_0x139560[_0x613f42(0x278)]('\x20')),_0x139560['length']===0x0&&document['querySelector']('.pdfCommentView')[_0x613f42(0x2df)]();}static[a69_0x18e15f(0x262)](_0x4935e5){const _0x2cba40=a69_0x18e15f;!this.#commentsContainerParent&&this.#init(_0x4935e5),_0x4935e5[_0x2cba40(0x25d)](_0x2cba40(0x11b),this.#commentsContainerParent),PdfViewerComment[_0x2cba40(0x30c)]();}constructor(_0x1f2fc1,_0x34e8a5,_0x3bfa26,_0x3f434a,_0x3652cf,_0x18d9a0,[_0x45f515,_0x3c5523],_0x30282f){const _0x55d1cb=a69_0x18e15f;this['commentId']=_0x1f2fc1,this.#isPublicForAll=_0x18d9a0;!_0x3652cf['includes'](signin[_0x55d1cb(0x334)]['id'])&&_0x3652cf[_0x55d1cb(0x2ff)](signin[_0x55d1cb(0x334)]['id']);_0x3652cf&&(this.#lstUsers=Array[_0x55d1cb(0x31f)](_0x3652cf));this.#selection=_0x3f434a,this.#selection['addComment'](this);this.#selection&&this.#selection[_0x55d1cb(0x10a)](this.#lstUsers);this.#divCommentContainer=document[_0x55d1cb(0x2bc)](_0x55d1cb(0x315)),this.#divCommentContainer[_0x55d1cb(0x14c)][_0x55d1cb(0x340)]('pdfComment'),this.#divCommentContainer[_0x55d1cb(0x2dc)](_0x55d1cb(0x2f7),this.#lstUsers['join']('\x20'));let _0x42b2ce=i18n[_0x55d1cb(0x221)](_0x55d1cb(0x218)),_0x188670=_0x55d1cb(0x216);if(_0x34e8a5===signin['_user']['id'])_0x42b2ce=signin[_0x55d1cb(0x334)][_0x55d1cb(0x243)],_0x188670=signin[_0x55d1cb(0x334)][_0x55d1cb(0x1c9)];else app[_0x55d1cb(0xc6)]['friendList'][_0x34e8a5]&&(app[_0x55d1cb(0xc6)][_0x55d1cb(0x22a)][_0x34e8a5]['name']&&(_0x42b2ce=app['_run'][_0x55d1cb(0x22a)][_0x34e8a5][_0x55d1cb(0x243)]),app[_0x55d1cb(0xc6)]['friendList'][_0x34e8a5][_0x55d1cb(0x1c9)]&&(_0x188670=app[_0x55d1cb(0xc6)]['friendList'][_0x34e8a5][_0x55d1cb(0x1c9)]));this.#divCommentContainer[_0x55d1cb(0x331)]=_0x55d1cb(0x14f)+_0x188670+_0x55d1cb(0x163)+_0x42b2ce+_0x55d1cb(0x1f1)+i18n[_0x55d1cb(0x221)](_0x55d1cb(0x253))+_0x55d1cb(0x1c0)+i18n[_0x55d1cb(0x221)]('to_archive')+_0x55d1cb(0x26a)+i18n[_0x55d1cb(0x221)](_0x55d1cb(0x2e3))+_0x55d1cb(0x1bf)+i18n['getText'](_0x55d1cb(0xc3))+_0x55d1cb(0x1e5)+i18n[_0x55d1cb(0x221)](_0x55d1cb(0x2bd))+'</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22btnLink\x20pdfCommentTextButtonReply\x20hidden\x22>'+i18n[_0x55d1cb(0x221)]('reply')+_0x55d1cb(0x349)+i18n[_0x55d1cb(0x221)]('strings/Write_here')+'\x22\x20spellcheck></textarea>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfCommentTextButtons\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22btnLink\x20pdfCommentTextButtonEditCancel\x22>'+i18n['getText'](_0x55d1cb(0xcb))+_0x55d1cb(0x2e5)+i18n['getText'](_0x55d1cb(0x2d0))+_0x55d1cb(0xf3)+i18n[_0x55d1cb(0x221)](_0x55d1cb(0x2bb))+_0x55d1cb(0x2ad)+i18n[_0x55d1cb(0x221)](_0x55d1cb(0xcb))+_0x55d1cb(0x114)+i18n[_0x55d1cb(0x221)](_0x55d1cb(0x2d0))+_0x55d1cb(0x30b);const _0xfff79c=this.#divCommentContainer['querySelector'](_0x55d1cb(0x33d));!_0x18d9a0&&(_0xfff79c['classList']['remove']('hidden'),_0xfff79c['addEventListener']('click',_0x5059b4=>{const _0x359d47=_0x55d1cb;_0x5059b4[_0x359d47(0x226)]();const _0x49175b=this.#divCommentContainer[_0x359d47(0x1f0)](_0x359d47(0x10f));_0x49175b[_0x359d47(0xee)]='',this.#divCommentContainer[_0x359d47(0x1f0)](_0x359d47(0x1d4))[_0x359d47(0x14c)][_0x359d47(0xc3)](_0x359d47(0xda));try{_0x49175b[_0x359d47(0x1fd)]({'block':'center'});}catch(_0x54e4ed){_0x49175b[_0x359d47(0x1fd)]();}_0x49175b[_0x359d47(0x12f)]();}));this.#divCommentContainer[_0x55d1cb(0x1f0)](_0x55d1cb(0x305))[_0x55d1cb(0x2f4)](_0x55d1cb(0x2df),_0x540a83=>{const _0x3fcec7=_0x55d1cb;_0x540a83[_0x3fcec7(0x226)](),this.#divCommentContainer[_0x3fcec7(0x1f0)]('.pdfCommentBodyReply')[_0x3fcec7(0x14c)][_0x3fcec7(0x340)](_0x3fcec7(0xda));}),this.#divCommentContainer[_0x55d1cb(0x1f0)]('.pdfCommentTextButtonReplySave')[_0x55d1cb(0x2f4)]('click',_0x350b29=>{const _0x59ae2f=_0x55d1cb;_0x350b29[_0x59ae2f(0x226)]();const _0x4c46b0=this.#divCommentContainer[_0x59ae2f(0x1f0)](_0x59ae2f(0x10f))[_0x59ae2f(0xee)][_0x59ae2f(0x220)]();if(_0x4c46b0['length']===0x0)return;PdfViewerSubComments[_0x59ae2f(0x1cc)](this,_0x4c46b0)[_0x59ae2f(0x310)](()=>{const _0x332c20=_0x59ae2f;this.#divCommentContainer[_0x332c20(0x1f0)](_0x332c20(0x1d4))['classList']['add'](_0x332c20(0xda));});});const _0x5e7312=this.#divCommentContainer[_0x55d1cb(0x1f0)](_0x55d1cb(0x24f)),_0x2707d5=this.#divCommentContainer[_0x55d1cb(0x1f0)](_0x55d1cb(0x242)),_0x6cef77=this.#divCommentContainer[_0x55d1cb(0x1f0)](_0x55d1cb(0x1d4)),_0x4cf1d0=this.#divCommentContainer[_0x55d1cb(0x1f0)](_0x55d1cb(0x1f6));_0x34e8a5===signin['_user']['id']&&(_0x4cf1d0[_0x55d1cb(0x14c)][_0x55d1cb(0xc3)]('hidden'),_0x4cf1d0['addEventListener'](_0x55d1cb(0x2df),_0x17f033=>{const _0x12aab9=_0x55d1cb;_0x17f033['preventDefault'](),_0x5e7312[_0x12aab9(0x14c)]['add'](_0x12aab9(0xda)),_0x6cef77[_0x12aab9(0x14c)][_0x12aab9(0x340)](_0x12aab9(0xda)),_0x2707d5[_0x12aab9(0x14c)][_0x12aab9(0xc3)](_0x12aab9(0xda));const _0x281b30=this.#divCommentContainer[_0x12aab9(0x1f0)]('.pdfCommentBodyEdit\x20textarea'),_0x3021aa=this.#divCommentContainer[_0x12aab9(0x1f0)]('.pdfCommentText');let _0x57588a='';_0x3021aa[_0x12aab9(0x107)][_0x12aab9(0x108)]>0x0?Array[_0x12aab9(0x31f)](_0x3021aa['children'])[_0x12aab9(0x130)](_0xc63ca2=>{_0xc63ca2 instanceof HTMLBRElement?_0x57588a+='\x0a':_0x57588a+=_0xc63ca2['textContent'];}):_0x57588a=_0x3021aa[_0x12aab9(0x160)],_0x281b30['value']=_0x57588a,_0x281b30['focus']();}));const _0x50b9c2=this.#divCommentContainer[_0x55d1cb(0x1f0)]('.pdfCommentTextButtonEditCancel');_0x50b9c2[_0x55d1cb(0x2f4)](_0x55d1cb(0x2df),_0x1fa342=>{const _0x4b6226=_0x55d1cb;_0x2707d5['classList']['add']('hidden'),_0x5e7312[_0x4b6226(0x14c)][_0x4b6226(0xc3)](_0x4b6226(0xda)),_0x1fa342[_0x4b6226(0x226)](),_0x1fa342['stopPropagation']();});const _0x2f7fe9=this.#divCommentContainer[_0x55d1cb(0x1f0)](_0x55d1cb(0xe8));_0x2f7fe9[_0x55d1cb(0x2f4)](_0x55d1cb(0x2df),_0x5ba822=>{const _0x1eb32f=_0x55d1cb;_0x5ba822['preventDefault'](),_0x50b9c2['click']();const _0xd29388=this.#divCommentContainer['querySelector'](_0x1eb32f(0x283))[_0x1eb32f(0xee)];this.#formatAndInsertTextComment(_0xd29388),_0x468997[_0x1eb32f(0x14c)]['add'](_0x1eb32f(0xda)),this.#divCommentContainer['querySelector']('.pdfCommentText')[_0x1eb32f(0x14c)][_0x1eb32f(0x340)](_0x1eb32f(0x124)),_0xb4cb42[_0x1eb32f(0x1f5)]!==_0xb4cb42[_0x1eb32f(0x1b8)]&&_0x468997[_0x1eb32f(0x14c)]['remove'](_0x1eb32f(0xda)),PdfViewerComment.#saveComment(_0xd29388,this.#selection,PdfViewerManager[_0x1eb32f(0xcf)],this[_0x1eb32f(0x1ec)],new Set(this.#lstUsers),this.#isPublicForAll,!![])[_0x1eb32f(0x2c9)](_0x201096=>{const _0x40fabb=_0x1eb32f;alert(texts[_0x40fabb(0x2ae)][_0x40fabb(0x1a6)](_0x40fabb(0x248))),HandleError(PdfViewerComment[_0x40fabb(0x243)]+_0x40fabb(0x100)+this[_0x40fabb(0x1ec)]+_0x40fabb(0x321)+_0x201096[_0x40fabb(0x2f3)],_0x40fabb(0x2f5),_0x201096[_0x40fabb(0x105)],_0x201096[_0x40fabb(0x14b)],_0x201096);});});if(_0x34e8a5===signin[_0x55d1cb(0x334)]['id']||PdfViewerManager[_0x55d1cb(0xcf)][_0x55d1cb(0x171)]===signin[_0x55d1cb(0x334)]['id']){const _0x28b85a=this.#divCommentContainer['querySelector'](_0x55d1cb(0x173));_0x30282f&&PdfViewerManager[_0x55d1cb(0xcf)][_0x55d1cb(0x171)]!==signin[_0x55d1cb(0x334)]['id']&&_0x28b85a[_0x55d1cb(0x14c)]['add'](_0x55d1cb(0x109)),_0x28b85a[_0x55d1cb(0x14c)][_0x55d1cb(0xc3)]('hidden'),_0x28b85a['addEventListener'](_0x55d1cb(0x2df),_0x370e1a=>{const _0x4efb84=_0x55d1cb;_0x370e1a[_0x4efb84(0x2a6)](),_0x370e1a[_0x4efb84(0x226)]();const _0x1330f6=this.#divCommentContainer[_0x4efb84(0x2f0)]('data-pdf-comment-view-archive')!=='true';_0x50b9c2[_0x4efb84(0x2df)](),this.#changeArchiveState(_0x1330f6),firebase[_0x4efb84(0x2e8)]()[_0x4efb84(0x2d6)](_0x4efb84(0x1fe))[_0x4efb84(0x341)](PdfViewerManager[_0x4efb84(0xcf)][_0x4efb84(0x32f)])[_0x4efb84(0x341)](_0x4efb84(0x2cf))[_0x4efb84(0x341)](this[_0x4efb84(0x1ec)])['child'](_0x4efb84(0xb6))[_0x4efb84(0xbf)](_0x1330f6)['catch'](_0x3d7a3f=>{const _0x347db7=_0x4efb84;alert(texts[_0x347db7(0x2ae)]['format'](_0x347db7(0x1ba))),HandleError(PdfViewerComment[_0x347db7(0x243)]+'\x20error\x20at\x20set\x20archive\x20('+_0x1330f6+_0x347db7(0x1cf)+this['commentId']+_0x347db7(0x321)+_0x3d7a3f['message'],'js/modules/preview.js',_0x3d7a3f[_0x347db7(0x105)],_0x3d7a3f[_0x347db7(0x14b)],_0x3d7a3f);});});}if(_0x34e8a5===signin[_0x55d1cb(0x334)]['id']||PdfViewerManager[_0x55d1cb(0xcf)][_0x55d1cb(0x171)]===signin[_0x55d1cb(0x334)]['id']){const _0x99297c=this.#divCommentContainer[_0x55d1cb(0x1f0)](_0x55d1cb(0x208));_0x30282f&&PdfViewerManager[_0x55d1cb(0xcf)]['ownerId']!==signin[_0x55d1cb(0x334)]['id']&&_0x99297c['classList'][_0x55d1cb(0x340)](_0x55d1cb(0x109)),_0x99297c[_0x55d1cb(0x14c)][_0x55d1cb(0xc3)](_0x55d1cb(0xda)),_0x99297c[_0x55d1cb(0x2f4)](_0x55d1cb(0x2df),_0xb75b01=>{const _0x5f1adb=_0x55d1cb;_0xb75b01[_0x5f1adb(0x2a6)](),_0xb75b01[_0x5f1adb(0x226)]();const _0x54604d=()=>{const _0x2d965d=_0x5f1adb,_0x237742=new Set([PdfViewerManager[_0x2d965d(0xcf)][_0x2d965d(0x171)],signin['_user']['id'],...this.#lstUsers]),_0x504f73=Array[_0x2d965d(0x31f)](_0x237742)[_0x2d965d(0x140)](_0x534d2f=>{const _0x14a3ab=_0x2d965d;return firebase[_0x14a3ab(0x2e8)]()[_0x14a3ab(0x2d6)](_0x14a3ab(0x1fe))[_0x14a3ab(0x341)](PdfViewerManager['fileObj'][_0x14a3ab(0x32f)])[_0x14a3ab(0x341)](_0x14a3ab(0x32e))['child'](_0x534d2f)['child'](this[_0x14a3ab(0x1ec)])[_0x14a3ab(0xc3)]();});Promise['all'](_0x504f73)[_0x2d965d(0x310)](()=>{const _0x3ed70d=_0x2d965d;return firebase[_0x3ed70d(0x2e8)]()[_0x3ed70d(0x2d6)](_0x3ed70d(0x1fe))[_0x3ed70d(0x341)](PdfViewerManager[_0x3ed70d(0xcf)][_0x3ed70d(0x32f)])[_0x3ed70d(0x341)]('comments')[_0x3ed70d(0x341)](this[_0x3ed70d(0x1ec)])[_0x3ed70d(0xc3)]();})[_0x2d965d(0x310)](()=>{const _0x50573f=_0x2d965d;if(this.#isPublicForAll)return firebase[_0x50573f(0x2e8)]()[_0x50573f(0x2d6)]('fileComments')['child'](PdfViewerManager[_0x50573f(0xcf)][_0x50573f(0x32f)])[_0x50573f(0x341)](_0x50573f(0x32e))[_0x50573f(0x341)](_0x50573f(0x213))[_0x50573f(0x341)](this[_0x50573f(0x1ec)])[_0x50573f(0xc3)]();})[_0x2d965d(0x310)](()=>{this.#delete();})['catch'](_0x269302=>{const _0x2e1766=_0x2d965d;alert(texts[_0x2e1766(0x2ae)][_0x2e1766(0x1a6)]('error\x20at\x20delete')),HandleError(PdfViewerComment[_0x2e1766(0x243)]+_0x2e1766(0x269)+this[_0x2e1766(0x1ec)]+_0x2e1766(0x321)+_0x269302[_0x2e1766(0x2f3)],_0x2e1766(0x2f5),_0x269302['lineNo'],_0x269302[_0x2e1766(0x14b)],_0x269302);});};fancy[_0x5f1adb(0xb7)][_0x5f1adb(0x1e1)](i18n[_0x5f1adb(0x221)](_0x5f1adb(0xc3))+'\x20?',i18n[_0x5f1adb(0x221)](_0x5f1adb(0xb4)),i18n[_0x5f1adb(0x221)](_0x5f1adb(0x28a)),i18n[_0x5f1adb(0x221)]('ok_accept'),()=>{},_0x54604d);});}this.#formatAndInsertTextComment(_0x3bfa26),PdfViewerComment.#commentsContainer['insertAdjacentElement'](_0x55d1cb(0xd4),this.#divCommentContainer);const _0xb4cb42=this.#divCommentContainer[_0x55d1cb(0x1f0)]('.pdfCommentText'),_0x468997=this.#divCommentContainer[_0x55d1cb(0x1f0)](_0x55d1cb(0x197));_0x468997[_0x55d1cb(0x2f4)](_0x55d1cb(0x2df),_0x33811c=>{const _0x130427=_0x55d1cb;_0x33811c[_0x130427(0x226)](),_0x468997['classList'][_0x130427(0x340)](_0x130427(0xda)),this.#divCommentContainer['querySelector']('.pdfCommentText')['classList'][_0x130427(0xc3)](_0x130427(0x124));});const _0x94ad87=setInterval(()=>{const _0x38271a=_0x55d1cb;if(!_0xb4cb42[_0x38271a(0x1ad)]())return;clearInterval(_0x94ad87),_0xb4cb42[_0x38271a(0x1f5)]!==_0xb4cb42[_0x38271a(0x1b8)]&&_0x468997[_0x38271a(0x14c)]['remove']('hidden');},0x64);this.#divCommentContainer['querySelector']('.pdfCommentText')[_0x55d1cb(0x2f4)](_0x55d1cb(0x2df),_0xac963e=>{const _0x14ba6e=_0x55d1cb;this.#selection&&_0xac963e[_0x14ba6e(0x318)]&&this.#selection[_0x14ba6e(0x2b7)]();}),firebase[_0x55d1cb(0x2e8)]()['ref']('fileComments')[_0x55d1cb(0x341)](PdfViewerManager[_0x55d1cb(0xcf)][_0x55d1cb(0x32f)])[_0x55d1cb(0x341)](_0x55d1cb(0x2cf))[_0x55d1cb(0x341)](this[_0x55d1cb(0x1ec)])['child'](_0x55d1cb(0xb6))['on'](_0x55d1cb(0xee),_0x1c47b4=>{const _0x53bb4e=_0x55d1cb;if(_0x1c47b4[_0x53bb4e(0x102)]()){const _0x3ae58b=_0x1c47b4['val']();this.#changeArchiveState(_0x3ae58b);}}),this.#divCommentContainer['addEventListener']('click',_0x461a20=>{const _0x11f2d2=_0x55d1cb;if([_0x11f2d2(0x184),'.pdfCommentBodyEdit',_0x11f2d2(0x1d4),_0x11f2d2(0xea),_0x11f2d2(0x13b),_0x11f2d2(0x122)][_0x11f2d2(0x2ef)](_0x580d46=>_0x461a20[_0x11f2d2(0x318)][_0x11f2d2(0xbb)](_0x580d46)))return;PdfViewerManager[_0x11f2d2(0xf7)]&&PdfViewerManager[_0x11f2d2(0xf7)][_0x11f2d2(0x1b0)](),PdfViewerComment.#textAreaAddComment[_0x11f2d2(0x12f)](),_0x3f434a&&_0x3f434a[_0x11f2d2(0x17f)]()?PdfViewerManager[_0x11f2d2(0xf7)]=new PdfViewerSelection(_0x3f434a[_0x11f2d2(0xe5)]):PdfViewerManager[_0x11f2d2(0xf7)]=new PdfViewerSelection(_0x3f434a[_0x11f2d2(0xe5)],_0x3f434a['selectedString'],_0x3f434a[_0x11f2d2(0xb5)]),PdfViewerManager[_0x11f2d2(0xf7)]['setNotValided']();}),this.#divCommentContainer[_0x55d1cb(0x2dc)](_0x55d1cb(0x223),this.#isPublicForAll[_0x55d1cb(0x34a)]());this.#selection&&this.#selection[_0x55d1cb(0x219)](this.#isPublicForAll);this.#divCommentContainer[_0x55d1cb(0x214)]=i18n['getText'](_0x55d1cb(0x343))+'\x20'+new Date(_0x45f515)[_0x55d1cb(0xac)]()+'\x0a'+i18n[_0x55d1cb(0x221)]('cloud_menu_modified')+'\x20'+new Date(_0x3c5523)[_0x55d1cb(0xac)]();if(PdfViewerManager['fileObj']['ownerId']===signin[_0x55d1cb(0x334)]['id']){const _0x56a900=this.#lstUsers['filter'](_0x472a1c=>_0x472a1c!==signin[_0x55d1cb(0x334)]['id'])[_0x55d1cb(0x140)](_0x54becd=>{const _0x58a7bc=_0x55d1cb;let _0x2fc8fc=i18n[_0x58a7bc(0x221)](_0x58a7bc(0x307));try{_0x2fc8fc=app['_run'][_0x58a7bc(0x22a)][_0x54becd][_0x58a7bc(0x243)];}catch(_0x40a35f){}return'-\x20'+_0x2fc8fc;})['join']('\x0a');this.#divCommentContainer[_0x55d1cb(0x214)]+='\x0a'+i18n[_0x55d1cb(0x221)](_0x55d1cb(0x32e))+':\x0a'+_0x56a900;}PdfViewerComment['listOfComments'][_0x55d1cb(0x2ff)](this),PdfViewerComment[_0x55d1cb(0x30c)](),this[_0x55d1cb(0x314)]=new PdfViewerSubComments(this);}['updateNumberSubComment'](_0x47422a){const _0x456495=a69_0x18e15f,_0x419fef=this.#divCommentContainer[_0x456495(0x1f0)](_0x456495(0x173)),_0xeb18f1=this.#divCommentContainer['querySelector'](_0x456495(0x208));_0x47422a>0x0&&PdfViewerManager['fileObj'][_0x456495(0x171)]!==signin[_0x456495(0x334)]['id']?_0x419fef[_0x456495(0x14c)][_0x456495(0x340)](_0x456495(0x109)):_0x419fef[_0x456495(0x14c)][_0x456495(0xc3)]('hasSubComment'),_0x47422a>0x0?_0xeb18f1[_0x456495(0x14c)]['add'](_0x456495(0x109)):_0xeb18f1[_0x456495(0x14c)]['remove'](_0x456495(0x109));}#formatAndInsertTextComment(_0x1d1331){const _0x3b4ce8=a69_0x18e15f,_0x59072d=this.#divCommentContainer[_0x3b4ce8(0x1f0)]('.pdfCommentText');PdfViewerComment[_0x3b4ce8(0x1db)](_0x1d1331,_0x59072d);const _0x5c971a=this.#divCommentContainer[_0x3b4ce8(0x1f0)](_0x3b4ce8(0x31d)),_0xae1ccf=this.#divCommentContainer['querySelector'](_0x3b4ce8(0x197));_0xae1ccf[_0x3b4ce8(0x14c)][_0x3b4ce8(0x340)](_0x3b4ce8(0xda)),this.#divCommentContainer[_0x3b4ce8(0x1f0)](_0x3b4ce8(0x31d))[_0x3b4ce8(0x14c)][_0x3b4ce8(0x340)](_0x3b4ce8(0x124));const _0x1c5888=setInterval(()=>{const _0xcb2fc0=_0x3b4ce8;if(!_0x5c971a[_0xcb2fc0(0x1ad)]())return;clearInterval(_0x1c5888),_0x5c971a[_0xcb2fc0(0x1f5)]!==_0x5c971a[_0xcb2fc0(0x1b8)]&&_0xae1ccf[_0xcb2fc0(0x14c)][_0xcb2fc0(0xc3)](_0xcb2fc0(0xda));},0x64);}static[a69_0x18e15f(0x1db)](_0x337dc0,_0x41b0e6){const _0x4a33ef=a69_0x18e15f;_0x41b0e6[_0x4a33ef(0x331)]='';if(_0x337dc0[_0x4a33ef(0x250)]('\x0a')){const _0x524f35=_0x337dc0['split']('\x0a');for(let _0x174a4c=0x0;_0x174a4c<_0x524f35[_0x4a33ef(0x108)];_0x174a4c++){const _0x2d40c9=_0x524f35[_0x174a4c],_0x46929e=document['createElement'](_0x4a33ef(0xdf));_0x46929e[_0x4a33ef(0x160)]=_0x2d40c9,_0x41b0e6[_0x4a33ef(0x25d)](_0x4a33ef(0x11b),_0x46929e);if(_0x174a4c<_0x524f35[_0x4a33ef(0x108)]-0x1){const _0x5e445a=document[_0x4a33ef(0x2bc)]('br');_0x41b0e6[_0x4a33ef(0x25d)]('beforeend',_0x5e445a);}}}else _0x41b0e6[_0x4a33ef(0x160)]=_0x337dc0;}#changeArchiveState(_0x676aa3){const _0x3d004f=a69_0x18e15f;this.#isAchived=_0x676aa3,this.#divCommentContainer[_0x3d004f(0x2dc)](_0x3d004f(0x2ca),this.#isAchived['toString']()),this.#selection&&this.#selection[_0x3d004f(0x1a8)](this.#isAchived);}static[a69_0x18e15f(0x30c)](){const _0x2922f0=a69_0x18e15f;this['listOfComments']=this[_0x2922f0(0x285)][_0x2922f0(0x1fa)]((_0x2e10be,_0xcbf1a2)=>{const _0x21aa42=_0x2922f0,_0x51f6e2=_0x2e10be.#selection,_0xf99381=_0xcbf1a2.#selection;let _0x5e5d20=_0x51f6e2[_0x21aa42(0xe5)]-_0xf99381[_0x21aa42(0xe5)];if(_0x5e5d20===0x0){if(_0x51f6e2[_0x21aa42(0x17f)]()&&!_0xf99381[_0x21aa42(0x17f)]())return-0x1;if(!_0x51f6e2[_0x21aa42(0x17f)]()&&_0xf99381[_0x21aa42(0x17f)]())return 0x1;const _0x2af236=_0x51f6e2[_0x21aa42(0x2d9)](),_0x526726=_0xf99381[_0x21aa42(0x2d9)]();if(!Array[_0x21aa42(0x2cb)](_0x2af236)&&!Array[_0x21aa42(0x2cb)](_0x526726))return 0x0;if(!Array[_0x21aa42(0x2cb)](_0x2af236))return 0x1;if(!Array[_0x21aa42(0x2cb)](_0x526726))return-0x1;_0x5e5d20=_0x2af236[0x0]-_0x526726[0x0],_0x5e5d20===0x0&&(_0x5e5d20=_0x2af236[0x1]-_0x526726[0x1]);}return _0x5e5d20;}),this[_0x2922f0(0x285)][_0x2922f0(0x130)](_0x4e69d9=>{const _0x14b0b2=_0x2922f0;this.#commentsContainerParent[_0x14b0b2(0x1f0)]('#parentPdfCommentsContainer')[_0x14b0b2(0x25d)](_0x14b0b2(0x11b),_0x4e69d9.#divCommentContainer);});}static#addAndSaveComment(){const _0x51a81a=a69_0x18e15f;if(this.#textAreaAddComment[_0x51a81a(0xee)]['trim']()[_0x51a81a(0x108)]===0x0)return;if(this.#commentsContainerParent[_0x51a81a(0x2d8)]('.pdfCommentView.selectedView:not(.pdfCommentViewGroup):not(#headerPdfCommentsSelectViewAll)')[_0x51a81a(0x108)]>0x1){alert(i18n['getText']('pleaseChangeViewCommentFile'));return;}const _0x210542=this.#textAreaAddComment[_0x51a81a(0xee)]['trim'](),_0x3314f3=PdfViewerManager[_0x51a81a(0xcf)],_0x3b8e55=this.#getUidSetForNewComment(),_0x4c43cd=this.#isPublicForAllForNewComment();let _0x40ce80=PdfViewerManager[_0x51a81a(0xf7)];!_0x40ce80&&(_0x40ce80=PdfViewerSelection[_0x51a81a(0x260)]());const _0x2561bf=this.#getNewCommentId();this.#saveComment(_0x210542,_0x40ce80,_0x3314f3,_0x2561bf,_0x3b8e55,_0x4c43cd,![])[_0x51a81a(0x310)](()=>{const _0x5c6c46=_0x51a81a;PdfViewerManager[_0x5c6c46(0xf7)]&&PdfViewerManager[_0x5c6c46(0xf7)][_0x5c6c46(0x1b0)]();PdfViewerManager[_0x5c6c46(0xf7)]=undefined;const _0x4770b4=setInterval(()=>{const _0x1bd800=_0x5c6c46,_0x5bb7d5=this['listOfComments'][_0x1bd800(0x165)](_0x36d39b=>_0x36d39b['commentId']===_0x2561bf);_0x5bb7d5&&(clearInterval(_0x4770b4),_0x5bb7d5.#divCommentContainer[_0x1bd800(0x1fd)](![]));},0x64);this.#textAreaAddComment[_0x5c6c46(0xee)]='',this.#addCommentButton[_0x5c6c46(0x2bf)]=!![],this.#textAreaAddComment[_0x5c6c46(0x232)][_0x5c6c46(0x1d6)]=null;})[_0x51a81a(0x2c9)](_0x5150d2=>{const _0x35053f=_0x51a81a;alert(texts[_0x35053f(0x2ae)][_0x35053f(0x1a6)]('error\x20at\x20save')),HandleError(PdfViewerComment['name']+_0x35053f(0x13f)+_0x5150d2['message'],_0x35053f(0x2f5),_0x5150d2[_0x35053f(0x105)],_0x5150d2['colNo'],_0x5150d2);});}static#getUidSetForNewComment(){const _0x18573a=a69_0x18e15f,_0x5495f1=document[_0x18573a(0x146)](_0x18573a(0x22d)),_0x3a720c=PdfViewerManager[_0x18573a(0xcf)],_0x2734c7=_0x5495f1[_0x18573a(0x2f0)]('data-pdf-comment-select-view-lst-uid'),_0x4ee80c=_0x2734c7?_0x2734c7[_0x18573a(0x1a0)]('\x20'):[],_0x54d290=new Set([signin[_0x18573a(0x334)]['id'],_0x3a720c[_0x18573a(0x171)],..._0x4ee80c]);return this.#isPublicForAllForNewComment()&&_0x3a720c[_0x18573a(0x2f1)][_0x18573a(0x130)](_0x20dc12=>{_0x54d290['add'](_0x20dc12);}),_0x54d290;}static#isPublicForAllForNewComment(){const _0x574a86=a69_0x18e15f,_0x12ec2f=document['getElementById']('pdfViewerContainer'),_0x2dfc86=_0x12ec2f['getAttribute'](_0x574a86(0xc0))===_0x574a86(0x206),_0x47e672=PdfViewerManager['fileObj'][_0x574a86(0x171)]===signin['_user']['id'],_0x52f53f=document['getElementById']('includeFutureSharesOfFileCheckbox'),_0x4323b3=!_0x52f53f[_0x574a86(0xbb)](_0x574a86(0x1df))&&_0x52f53f[_0x574a86(0x10e)];return _0x2dfc86&&_0x47e672&&_0x4323b3;}static#getNewCommentId(){const _0x10f83f=a69_0x18e15f,_0x178f3c=firebase[_0x10f83f(0x2e8)]()[_0x10f83f(0x2d6)](_0x10f83f(0x1fe))[_0x10f83f(0x341)](PdfViewerManager[_0x10f83f(0xcf)][_0x10f83f(0x32f)])[_0x10f83f(0x341)](_0x10f83f(0x2cf)),_0x2bb409=_0x178f3c['push']()[_0x10f83f(0x225)];return _0x2bb409;}static async #saveComment(_0x4cf2e1,_0x229c55,_0x1dab9d,_0x9c098d,_0x4c132c,_0x5bb6d1,_0x5d3083){const _0x4cc78a=a69_0x18e15f,_0x2fef49=_0x1dab9d[_0x4cc78a(0x32f)],_0x19d287=_0x229c55[_0x4cc78a(0x119)],_0x31580c=_0x229c55[_0x4cc78a(0xb5)],_0x316c1c=_0x229c55[_0x4cc78a(0xe5)],[_0x89587b,_0x38cd44]=await this[_0x4cc78a(0x21d)](_0x4cf2e1,_0x4c132c);let _0x55ea72;if(_0x229c55[_0x4cc78a(0x17f)]()){const _0x50b091=Math[_0x4cc78a(0x2ba)](Math[_0x4cc78a(0x1b2)]()*(0xa-0x2));_0x55ea72=_0x316c1c+';'+CryptManager[_0x4cc78a(0x1bd)](_0x50b091*0x3);}else _0x55ea72=_0x31580c+';'+_0x316c1c+';'+_0x19d287;const [_0xe2fd2e,_0xf5c8e1]=await this['getMetadataForSave'](_0x55ea72,_0x4c132c),_0x1994a5=firebase[_0x4cc78a(0x2e8)]()[_0x4cc78a(0x2d6)](_0x4cc78a(0x1fe))[_0x4cc78a(0x341)](_0x2fef49);let _0x3a370c={};return _0x4c132c[_0x4cc78a(0x130)](_0xa3f26d=>{const _0x36a7ce=_0x4cc78a;_0x3a370c[_0x36a7ce(0x201)+_0xa3f26d+'/'+_0x9c098d+_0x36a7ce(0x1af)]=_0x38cd44[_0xa3f26d];}),_0x5d3083?(_0x3a370c['comments/'+_0x9c098d+_0x4cc78a(0x1af)]=_0x89587b,_0x3a370c[_0x4cc78a(0x1d2)+_0x9c098d+'/updateDate']=firebase[_0x4cc78a(0x2e8)][_0x4cc78a(0x2af)][_0x4cc78a(0x20f)]):(_0x3a370c[_0x4cc78a(0x1d2)+_0x9c098d]={'commentMetadata':_0x89587b,'selectionMetadata':_0xe2fd2e,'ownerId':signin['_user']['id'],'creationDate':firebase[_0x4cc78a(0x2e8)]['ServerValue'][_0x4cc78a(0x20f)],'updateDate':firebase[_0x4cc78a(0x2e8)][_0x4cc78a(0x2af)][_0x4cc78a(0x20f)],'lstUsers':Object[_0x4cc78a(0x14a)](new Map(Array[_0x4cc78a(0x31f)](_0x4c132c)[_0x4cc78a(0x140)](_0x4ebd3f=>[_0x4ebd3f,!![]]))),'isArchived':![],'isPublicForAll':_0x5bb6d1},_0x5bb6d1&&(_0x3a370c['users/public/'+_0x9c098d]=!![]),_0x4c132c['forEach'](_0x3c275a=>{const _0x5a73aa=_0x4cc78a;_0x3a370c['users/'+_0x3c275a+'/'+_0x9c098d+_0x5a73aa(0x125)]=_0xf5c8e1[_0x3c275a];})),_0x1994a5[_0x4cc78a(0x1f9)](_0x3a370c);}static async[a69_0x18e15f(0x21d)](_0x58fae7,_0x55f9a6){const _0x4f9a66=a69_0x18e15f,_0x5dc4f7=Array[_0x4f9a66(0x31f)](_0x55f9a6),[_0x1750bb,_0x35af30]=await CryptManager[_0x4f9a66(0x2aa)](),_0x1ce957=await crypt[_0x4f9a66(0x1e9)](_0x1750bb,_0x58fae7),_0x1c3365={};for(let _0x529ca4=0x0;_0x529ca4<_0x5dc4f7[_0x4f9a66(0x108)];_0x529ca4++){const _0x2c356e=_0x5dc4f7[_0x529ca4],_0x3ca34c=new Uint8Array(await CryptManager[_0x4f9a66(0x148)](_0x35af30,_0x2c356e)),_0x4eef4d=CryptManager[_0x4f9a66(0x135)](_0x3ca34c);_0x1c3365[_0x2c356e]={'algoVersions':CryptManager['getAlgorithmVersions'](),'encSecretKey':_0x4eef4d};}return[_0x1ce957,_0x1c3365];}static['focusAddComment'](){const _0x3e725b=a69_0x18e15f;this.#textAreaAddComment[_0x3e725b(0x12f)]();}static#displayOneComment(_0x56a3b4,_0x29f002,_0x1c4702,_0x4e0747,_0x5ba1f8,_0x3eb0a9,[_0x3123ef,_0x29870c],_0x11c487=![]){const _0xfbe7f8=new PdfViewerComment(_0x4e0747,_0x56a3b4,_0x29f002,_0x1c4702,_0x5ba1f8,_0x3eb0a9,[_0x3123ef,_0x29870c],_0x11c487);return _0xfbe7f8;}static[a69_0x18e15f(0x296)](){const _0x4cc7ea=a69_0x18e15f,_0x3bcd97=PdfViewerManager[_0x4cc7ea(0xcf)][_0x4cc7ea(0x32f)],_0x2d21ed=firebase[_0x4cc7ea(0x2e8)]()['ref'](_0x4cc7ea(0x1fe))[_0x4cc7ea(0x341)](_0x3bcd97)[_0x4cc7ea(0x341)](_0x4cc7ea(0x32e))['child'](signin[_0x4cc7ea(0x334)]['id']);['child_added',_0x4cc7ea(0x18d)]['forEach'](_0x255641=>{_0x2d21ed['on'](_0x255641,async _0x4f3c2c=>{const _0xe609b8=a69_0x1f0c,_0x4142c9=_0x4f3c2c[_0xe609b8(0x225)],_0x21bcd9=_0x4f3c2c['val'](),_0x196371=(await firebase['database']()[_0xe609b8(0x2d6)](_0xe609b8(0x1fe))[_0xe609b8(0x341)](_0x3bcd97)['child'](_0xe609b8(0x2cf))[_0xe609b8(0x341)](_0x4142c9)[_0xe609b8(0x2f9)]())['val']();this[_0xe609b8(0xa8)](_0x4142c9,_0x196371,_0x21bcd9);});}),_0x2d21ed['on'](_0x4cc7ea(0x1ce),_0x2a4444=>{const _0xc22d01=_0x4cc7ea,_0x38d51e=_0x2a4444['key'],_0x3fcc15=this['listOfComments'][_0xc22d01(0x165)](_0x5f5555=>_0x5f5555[_0xc22d01(0x1ec)]===_0x38d51e);_0x3fcc15&&_0x3fcc15.#delete();});}static async['createOrUpdateCommentFromMetadata'](_0x2e3b3c,_0x40cef7,_0x46192b){const _0xfadff=a69_0x18e15f,_0x449349=this[_0xfadff(0x285)][_0xfadff(0x165)](_0x546e7e=>_0x546e7e[_0xfadff(0x1ec)]===_0x2e3b3c),_0x1f0485=_0x40cef7['ownerId'],_0x16cd65=Object[_0xfadff(0xef)](_0x40cef7['lstUsers']);if(isDatePriorToUTCReset(new Date(_0x40cef7['updateDate'])))return;const _0x8c69e9=await CryptManager['AES_decrypt_fromRSA_decryptKey_ToString'](CryptManager[_0xfadff(0x2d1)](_0x46192b['commentMetadata'][_0xfadff(0x240)]),_0x40cef7[_0xfadff(0x2ed)]['iv'],_0x40cef7[_0xfadff(0x2ed)][_0xfadff(0x14e)],![]);if(_0x449349){_0x449349[_0xfadff(0x2ec)](_0x8c69e9,_0x16cd65);return;}let _0x3432b7=await CryptManager[_0xfadff(0x1eb)](CryptManager[_0xfadff(0x2d1)](_0x46192b[_0xfadff(0x2a5)]['encSecretKey']),_0x40cef7[_0xfadff(0x2a5)]['iv'],_0x40cef7[_0xfadff(0x2a5)]['text'],![]),_0xe7ff79=_0x3432b7['split'](';');const _0x40429d=_0xe7ff79[_0xfadff(0x108)]===0x2,_0xfa10ad=_0x40429d?undefined:parseInt(_0xe7ff79[0x0]),_0x3375ca=_0x40429d?parseInt(_0xe7ff79[0x0]):parseInt(_0xe7ff79[0x1]),_0x5ee43c=_0x40429d?undefined:_0xe7ff79[_0xfadff(0xaa)](0x2)[_0xfadff(0x278)](';'),_0x1036ed=new PdfViewerSelection(_0x3375ca,_0x5ee43c,_0xfa10ad);_0x1036ed['updateDataAttribute'](_0x16cd65),this.#displayOneComment(_0x1f0485,_0x8c69e9,_0x1036ed,_0x2e3b3c,_0x16cd65,_0x40cef7['isPublicForAll'],[_0x40cef7[_0xfadff(0x2c5)],_0x40cef7[_0xfadff(0x23b)]],typeof _0x40cef7['subComments']!==_0xfadff(0xb0));}#delete(){const _0x352270=a69_0x18e15f;PdfViewerComment[_0x352270(0x285)]=PdfViewerComment[_0x352270(0x285)][_0x352270(0x2e2)](_0x11e816=>_0x11e816!=this),this.#divCommentContainer[_0x352270(0xc3)](),this.#selection&&this.#selection['remove']();}['updateBecauseEdit'](_0x30d9d1,_0x153df2){const _0xc888b0=a69_0x18e15f;this.#formatAndInsertTextComment(_0x30d9d1),this.#lstUsers=_0x153df2,this.#divCommentContainer[_0xc888b0(0x2dc)](_0xc888b0(0x2f7),this.#lstUsers['join']('\x20')),this.#selection&&this.#selection[_0xc888b0(0x10a)](this.#lstUsers);}[a69_0x18e15f(0x28c)](){const _0x139e02=a69_0x18e15f;try{this.#divCommentContainer[_0x139e02(0x1fd)]({'block':_0x139e02(0x1e3)});}catch(_0x59a040){this.#divCommentContainer[_0x139e02(0x1fd)]();}}static[a69_0x18e15f(0x1d1)](){const _0x10c3fa=a69_0x18e15f;this.#styleElement&&this.#styleElement['remove'](),PdfViewerManager[_0x10c3fa(0xcf)]&&firebase['database']()['ref'](_0x10c3fa(0x1fe))['child'](PdfViewerManager[_0x10c3fa(0xcf)]['fileId'])[_0x10c3fa(0x341)](_0x10c3fa(0x32e))[_0x10c3fa(0x341)](signin[_0x10c3fa(0x334)]['id'])[_0x10c3fa(0x12b)](),this[_0x10c3fa(0x285)][_0x10c3fa(0x130)](_0x12dad5=>{const _0x495f2c=_0x10c3fa;firebase[_0x495f2c(0x2e8)]()[_0x495f2c(0x2d6)](_0x495f2c(0x1fe))[_0x495f2c(0x341)](PdfViewerManager[_0x495f2c(0xcf)][_0x495f2c(0x32f)])[_0x495f2c(0x341)](_0x495f2c(0x2cf))['child'](_0x12dad5[_0x495f2c(0x1ec)])[_0x495f2c(0x341)](_0x495f2c(0xb6))['off']();}),this[_0x10c3fa(0x285)]=[],this.#commentsContainerParent&&(this.#commentsContainerParent[_0x10c3fa(0x1f0)](_0x10c3fa(0x1f3))[_0x10c3fa(0x331)]='',this.#commentsContainerParent[_0x10c3fa(0x1f0)](_0x10c3fa(0xae))[_0x10c3fa(0xee)]=''),typeof this.#commentsContainerParent!==_0x10c3fa(0xb0)&&(this.#commentsContainerParent[_0x10c3fa(0xc3)](),this.#commentsContainerParent=undefined);}get[a69_0x18e15f(0xec)](){return this.#lstUsers;}[a69_0x18e15f(0x180)](_0x488ea0){const _0x40833a=a69_0x18e15f,_0x23d9c8=this.#divCommentContainer['querySelector'](_0x40833a(0x143));_0x23d9c8[_0x40833a(0x331)]='',_0x488ea0[_0x40833a(0x130)](_0x1a4ddb=>{const _0x3fccac=_0x40833a;_0x23d9c8[_0x3fccac(0x25d)](_0x3fccac(0x11b),_0x1a4ddb);});const _0x314e2a=this.#divCommentContainer['querySelector']('.pdfCommentTextButtonReply');if(_0x488ea0[_0x40833a(0x108)]>0x0&&_0x314e2a[_0x40833a(0x1ad)]()){const _0x36b600=document['createElement'](_0x40833a(0xdf));_0x36b600[_0x40833a(0x14c)]['add']('btnLink'),_0x36b600[_0x40833a(0x160)]=i18n[_0x40833a(0x221)](_0x40833a(0x128)),_0x23d9c8['insertAdjacentElement'](_0x40833a(0x11b),_0x36b600),_0x36b600['addEventListener'](_0x40833a(0x2df),_0x31dc92=>{const _0x53db09=_0x40833a;_0x31dc92['preventDefault'](),_0x31dc92[_0x53db09(0x2a6)](),_0x314e2a[_0x53db09(0x2df)]();});}}}class PdfViewerSelection{static [a69_0x18e15f(0x302)]=new Set();#divHighlightContainer;#pageIndex;#selectedString;#occurrenceInstance;#comments=new Set();#timeoutForceHighlight;#isDisplayed=![];#attributeToAddToDivHighlightContainerAfterLoading=[];constructor(_0x5996ef,_0x102dd2,_0x32256a,_0x5c0828){const _0x5ac6c2=a69_0x18e15f;PdfViewerSelection['setSelection'][_0x5ac6c2(0x340)](this),this.#pageIndex=_0x5996ef,this.#selectedString=_0x102dd2,this.#occurrenceInstance=_0x32256a,this.#divHighlightContainer=_0x5c0828,this.#divHighlightContainer&&(this.#isDisplayed=!![]),!this['isSimpleSelection']()&&!_0x5c0828&&_0x32256a!==-0x1&&this.#createDivHighlightContainer();}[a69_0x18e15f(0x17f)](){return typeof this.#selectedString!=='string'&&typeof this.#occurrenceInstance!=='number';}get['pageIndex'](){return this.#pageIndex;}get[a69_0x18e15f(0x119)](){let _0xe73480='';return!this['isSimpleSelection']()&&(_0xe73480=this.#selectedString),_0xe73480;}get['occurrenceInstance'](){const _0x41fc3e=a69_0x18e15f;let _0x5237c9=-0x1;return!this[_0x41fc3e(0x17f)]()&&(_0x5237c9=this.#occurrenceInstance),_0x5237c9;}#createDivHighlightContainer(){const _0x5581cd=a69_0x18e15f,_0x2011fd=document[_0x5581cd(0x146)](_0x5581cd(0x116)+this.#pageIndex),_0x1bb1a7=_0x2011fd[_0x5581cd(0x1f0)](_0x5581cd(0x1a5));if(_0x1bb1a7[_0x5581cd(0x14c)][_0x5581cd(0x222)](_0x5581cd(0x139)))return;this.#isDisplayed=!![];const _0x1e5770=Array[_0x5581cd(0x31f)](_0x1bb1a7[_0x5581cd(0x107)]);let _0x31476e='',_0x4f1a3f=0x0,_0x2df5cf=0x0,_0x6eaedb=0x0,_0x3870b9,_0x5b1c07;for(_0x4f1a3f=0x0;_0x4f1a3f<_0x1e5770['length'];_0x4f1a3f++){const _0x6ce7ae=_0x1e5770[_0x4f1a3f];_0x31476e+=_0x6ce7ae['textContent'];const _0x5cf061=_0x31476e['split'](this.#selectedString)['length']-0x1;if(_0x5cf061>=this.#occurrenceInstance){_0x5b1c07=_0x6ce7ae;break;}}for(let _0xb031ca=0x0;_0xb031ca<_0x5b1c07['textContent'][_0x5581cd(0x108)];_0xb031ca++){const _0x203d24=_0xb031ca===0x0?_0x31476e:_0x31476e['slice'](0x0,-0x1*_0xb031ca),_0x4435f9=_0x203d24[_0x5581cd(0x1a0)](this.#selectedString)['length']-0x1;if(_0x203d24[_0x5581cd(0x26d)](this.#selectedString)&&_0x4435f9===this.#occurrenceInstance){_0x6eaedb=_0x5b1c07[_0x5581cd(0x160)][_0x5581cd(0x108)]-_0xb031ca,_0x31476e=_0x203d24;break;}}for(let _0x522127=0x0;_0x522127<=_0x4f1a3f;_0x522127++){const _0x418208=_0x1e5770[_0x522127],_0x3170bc=_0x31476e[_0x5581cd(0x195)](_0x418208[_0x5581cd(0x160)][_0x5581cd(0x108)]),_0x4fcad3=_0x3170bc[_0x5581cd(0x1a0)](this.#selectedString)[_0x5581cd(0x108)]-0x1;if(_0x4fcad3>=0x1){_0x31476e=_0x3170bc;continue;}_0x3870b9=_0x418208,_0x2df5cf=_0x31476e['length']-this.#selectedString[_0x5581cd(0x108)];const _0x3ffeba=new Range();_0x3ffeba[_0x5581cd(0x110)](_0x3870b9[_0x5581cd(0xe1)][0x0],_0x2df5cf),_0x3ffeba[_0x5581cd(0x17d)](_0x5b1c07[_0x5581cd(0xe1)][0x0],_0x6eaedb),this.#divHighlightContainer=PdfViewerSelection[_0x5581cd(0x2fb)](_0x3ffeba,_0x3870b9,_0x5b1c07),this.#attributeToAddToDivHighlightContainerAfterLoading[_0x5581cd(0x130)](([_0x1f35ba,_0x2ee827])=>{const _0x5d5a31=_0x5581cd;this.#divHighlightContainer[_0x5d5a31(0x2dc)](_0x1f35ba,_0x2ee827);}),this.#attributeToAddToDivHighlightContainerAfterLoading=[];if(this.#comments){const _0xad4668=this.#comments[_0x5581cd(0x1b4)]>0x0?Array['from'](this.#comments)[0x0][_0x5581cd(0xec)]:[signin['_user']['id']];this[_0x5581cd(0x10a)](_0xad4668),this.#divHighlightContainer[_0x5581cd(0x14c)][_0x5581cd(0xc3)](_0x5581cd(0xb9));}return;}}['remove'](){const _0x78525=a69_0x18e15f;PdfViewerSelection['setSelection'][_0x78525(0x320)](this),this.#divHighlightContainer&&this.#divHighlightContainer['remove']();}[a69_0x18e15f(0x1b0)](){const _0x2df051=a69_0x18e15f;if(this.#comments[_0x2df051(0x1b4)]===0x0)return this['remove'](),undefined;return this;}[a69_0x18e15f(0x295)](_0x3f8824){const _0x462e8c=a69_0x18e15f;this.#comments[_0x462e8c(0x1b4)]===0x0&&this[_0x462e8c(0x10a)](_0x3f8824['lstUsers']);this.#comments[_0x462e8c(0x340)](_0x3f8824);this.#isDisplayed&&this.#divHighlightContainer[_0x462e8c(0x14c)]['remove'](_0x462e8c(0xb9));if(!this.#divHighlightContainer&&!this[_0x462e8c(0x17f)]())return;}static#getContainerFromRange(_0x5562d2,_0x275858,_0x3072a9){const _0x25bd28=a69_0x18e15f;let _0x53c9dc=_0x5562d2;if(_0x53c9dc instanceof HTMLElement){if(_0x275858===0x0)return _0x53c9dc;const _0x4a9c62=_0x53c9dc[_0x25bd28(0xe1)][_0x25bd28(0xfd)](_0x275858+(_0x3072a9?0x1:0x0));return!_0x4a9c62 instanceof HTMLElement&&console[_0x25bd28(0x1d9)](_0x25bd28(0x120)),_0x4a9c62;}return _0x53c9dc[_0x25bd28(0x30d)];}static[a69_0x18e15f(0x17b)](_0x749a85){const _0x1a6d58=a69_0x18e15f,_0x595da2=_0x749a85[_0x1a6d58(0x34a)]()[_0x1a6d58(0x1ea)](/\n/g,'');if(_0x595da2['length']===0x0)return;const _0x66b8eb=_0x749a85[_0x1a6d58(0x342)](0x0),_0x569d75=_0x66b8eb[_0x1a6d58(0xcd)]['parentElement']?.['closest']('.pdfViewerContainerPage'),_0x421e19=_0x66b8eb[_0x1a6d58(0xc5)]['parentElement']?.[_0x1a6d58(0xbb)](_0x1a6d58(0x2d5));if(!_0x569d75||!_0x421e19)return;const _0x19227a=parseInt(_0x569d75['id'][_0x1a6d58(0x1ea)](_0x1a6d58(0x116),'')),_0x51c5de=parseInt(_0x421e19['id'][_0x1a6d58(0x1ea)]('pdfViewerContainerPageP',''));if(_0x19227a!==_0x51c5de)return;const _0x21baf4=this.#getContainerFromRange(_0x66b8eb[_0x1a6d58(0xcd)],_0x66b8eb[_0x1a6d58(0x1d3)],!![]),_0x23b069=this.#getContainerFromRange(_0x66b8eb[_0x1a6d58(0xc5)],_0x66b8eb[_0x1a6d58(0x335)],![]),_0x4ff32e=this[_0x1a6d58(0x2fb)](_0x66b8eb,_0x21baf4,_0x23b069),_0x6f6b0d=_0x569d75[_0x1a6d58(0x160)];let _0x32964f=_0x6f6b0d[_0x1a6d58(0x1a0)](_0x595da2)[_0x1a6d58(0x108)]-0x1,_0xa9b352=0x1;if(_0x32964f===0x0){const _0xe2d1b9=new Error(_0x1a6d58(0xd7)+PdfViewerSelection['name']);HandleError(_0xe2d1b9[_0x1a6d58(0x2f3)],_0x1a6d58(0x2f5),_0xe2d1b9[_0x1a6d58(0x105)],_0xe2d1b9[_0x1a6d58(0x14b)],_0xe2d1b9),_0xa9b352=-0x1;}if(_0x32964f>0x1){const _0x29dff6=Array[_0x1a6d58(0x31f)](_0x569d75[_0x1a6d58(0x1f0)](_0x1a6d58(0x1a5))[_0x1a6d58(0x107)]);let _0xe506f7='';for(let _0x34f0be=0x0;_0x34f0be<_0x29dff6[_0x1a6d58(0x108)];_0x34f0be++){const _0x858f4f=_0x29dff6[_0x34f0be];if(_0x858f4f===_0x21baf4||_0x858f4f['contains'](_0x21baf4)||_0x21baf4[_0x1a6d58(0x222)](_0x858f4f)){_0x66b8eb[_0x1a6d58(0xcd)]instanceof Text&&(_0xe506f7+=_0x66b8eb[_0x1a6d58(0xcd)][_0x1a6d58(0x160)]['substring'](0x0,_0x66b8eb[_0x1a6d58(0x1d3)]),_0xe506f7+=_0x595da2);_0xa9b352=_0xe506f7[_0x1a6d58(0x1a0)](_0x595da2)[_0x1a6d58(0x108)]-0x1;break;}_0xe506f7+=_0x858f4f['textContent'];}}return new PdfViewerSelection(_0x19227a,_0x595da2,_0xa9b352,_0x4ff32e);}static[a69_0x18e15f(0x2fb)](_0x18af55,_0x3a9e67,_0x3b1ea8){const _0x4e3067=a69_0x18e15f,_0x276c98=_0x18af55[_0x4e3067(0xcd)]['parentElement']?.['closest'](_0x4e3067(0x2d5)),_0x533883=document[_0x4e3067(0x2bc)](_0x4e3067(0x315));_0x533883['classList'][_0x4e3067(0x340)]('highlightPdfCommentNotValided');if(_0x3a9e67[_0x4e3067(0x25f)]===_0x3b1ea8[_0x4e3067(0x25f)]){const _0x3dc4ec=_0x18af55[_0x4e3067(0x27a)](),_0x21f881=document['createElement'](_0x4e3067(0x315));_0x21f881['classList'][_0x4e3067(0x340)]('highlightPdfComment'),_0x21f881[_0x4e3067(0x232)][_0x4e3067(0x21e)]=_0x3dc4ec['x']-_0x276c98[_0x4e3067(0x2a2)]+'px',_0x21f881[_0x4e3067(0x232)][_0x4e3067(0x326)]=_0x3a9e67[_0x4e3067(0x25f)]+'px',_0x21f881[_0x4e3067(0x232)][_0x4e3067(0x2ea)]=_0x3dc4ec[_0x4e3067(0x2ea)]+'px',_0x21f881[_0x4e3067(0x232)]['height']=_0x3dc4ec[_0x4e3067(0x1d6)]+'px',_0x533883[_0x4e3067(0x25d)](_0x4e3067(0xd4),_0x21f881);}else{const _0x3c6681=[],_0x3b8dc2=_0x18af55[_0x4e3067(0xad)];function _0x413094(_0x4dd0b9){const _0x4f9eb6=_0x4e3067;let _0x5c58ea=![];for(let _0x4814ba=0x0;_0x4814ba<_0x4dd0b9[_0x4f9eb6(0xe1)]['length'];_0x4814ba++){const _0x5531ea=_0x4dd0b9[_0x4f9eb6(0xe1)][_0x4814ba];if(_0x5531ea===_0x3a9e67||_0x5531ea===_0x3b1ea8||_0x18af55[_0x4f9eb6(0x2ce)](_0x5531ea)){if(_0x5531ea instanceof Text)continue;if(_0x5531ea['childNodes'][_0x4f9eb6(0x108)]>0x0){if(_0x413094(_0x5531ea))continue;}if(_0x5531ea[_0x4f9eb6(0x160)]?.[_0x4f9eb6(0x108)]===0x0||_0x5531ea[_0x4f9eb6(0xe9)]===0x0||_0x5531ea['offsetHeight']===0x0)continue;_0x3c6681[_0x4f9eb6(0x2ff)](_0x5531ea),_0x5c58ea=!![];}}return _0x5c58ea;}_0x413094(_0x3b8dc2);const _0xed143a=new Map();for(let _0x387ed3=0x0;_0x387ed3<_0x3c6681[_0x4e3067(0x108)];_0x387ed3++){const _0xe29403=_0x3c6681[_0x387ed3];if(!(_0xe29403 instanceof HTMLElement))continue;const _0x5367e8=_0xe29403[_0x4e3067(0x25f)],_0x3955be=_0xe29403[_0x4e3067(0x1f5)],_0x1f73b8=_0xed143a['get'](_0x5367e8+':'+_0x3955be)?_0xed143a['get'](_0x5367e8+':'+_0x3955be):[];_0x1f73b8[_0x4e3067(0x2ff)](_0xe29403),_0xed143a[_0x4e3067(0xbf)](_0x5367e8+':'+_0x3955be,_0x1f73b8);}Array[_0x4e3067(0x31f)](_0xed143a[_0x4e3067(0xef)]())['forEach'](_0x479791=>{const _0x4f1a03=_0x4e3067,_0x136fb3=_0xed143a[_0x4f1a03(0x2f9)](_0x479791),_0x148b4e=parseInt(_0x479791[_0x4f1a03(0x1a0)](':')[0x0]),_0x2fd3dc=parseInt(_0x479791[_0x4f1a03(0x1a0)](':')[0x1]);let _0x1eef96=Math[_0x4f1a03(0x28b)](..._0x136fb3[_0x4f1a03(0x140)](_0x2e6a18=>_0x2e6a18['getBoundingClientRect']()['x']));if(_0x136fb3[_0x4f1a03(0x250)](_0x3a9e67)){const _0xbec693=_0x18af55[_0x4f1a03(0xdb)]();_0xbec693[_0x4f1a03(0x2d4)](_0x3a9e67),_0x1eef96=_0xbec693[_0x4f1a03(0x27a)]()['x'];}let _0x213b2c=Math[_0x4f1a03(0x2a9)](..._0x136fb3[_0x4f1a03(0x140)](_0x1454d2=>{const _0x5c0d49=_0x4f1a03,_0xc0dcc4=_0x1454d2['getBoundingClientRect']();return _0xc0dcc4['x']+_0xc0dcc4[_0x5c0d49(0x2ea)];}))-_0x1eef96;if(_0x136fb3[_0x4f1a03(0x250)](_0x3b1ea8)){const _0x78c282=_0x18af55[_0x4f1a03(0xdb)]();_0x78c282[_0x4f1a03(0x110)](_0x3b1ea8,0x0);const _0x2167d2=_0x78c282['getBoundingClientRect']();_0x213b2c=_0x2167d2['right']-_0x1eef96;}const _0x217210=document[_0x4f1a03(0x2bc)](_0x4f1a03(0x315));_0x217210[_0x4f1a03(0x14c)][_0x4f1a03(0x340)](_0x4f1a03(0x27c)),_0x217210[_0x4f1a03(0x232)][_0x4f1a03(0x21e)]=_0x1eef96-_0x276c98[_0x4f1a03(0x2a2)]+'px',_0x217210['style'][_0x4f1a03(0x326)]=_0x148b4e+'px',_0x217210['style'][_0x4f1a03(0x2ea)]=_0x213b2c+'px',_0x217210[_0x4f1a03(0x232)][_0x4f1a03(0x1d6)]=_0x2fd3dc+'px',_0x533883[_0x4f1a03(0x25d)](_0x4f1a03(0x11b),_0x217210);});}return _0x276c98[_0x4e3067(0x25d)](_0x4e3067(0xd4),_0x533883),_0x533883;}[a69_0x18e15f(0x2b7)](){const _0x2bb8e6=a69_0x18e15f;PdfViewerManager['goToPage'](this.#pageIndex);if(!this.#isDisplayed||!this.#divHighlightContainer){const _0xbe6d3b=setInterval(()=>{const _0x57fd10=a69_0x1f0c;this.#isDisplayed&&this.#divHighlightContainer&&(clearInterval(_0xbe6d3b),this[_0x57fd10(0x2b7)]());},0x32);setTimeout(()=>{clearInterval(_0xbe6d3b);},0x5dc);return;}const _0x442520=this.#divHighlightContainer[_0x2bb8e6(0x1f0)](_0x2bb8e6(0x111));try{_0x442520[_0x2bb8e6(0x1fd)]({'block':'center'});}catch(_0x52da68){_0x442520[_0x2bb8e6(0x1fd)]();}this.#divHighlightContainer[_0x2bb8e6(0x14c)][_0x2bb8e6(0xc3)](_0x2bb8e6(0x233)),setTimeout(()=>{const _0x4affa5=_0x2bb8e6;this.#divHighlightContainer[_0x4affa5(0x14c)][_0x4affa5(0x340)](_0x4affa5(0x233)),clearTimeout(this.#timeoutForceHighlight),this.#timeoutForceHighlight=setTimeout(()=>{const _0x1db268=_0x4affa5;this.#divHighlightContainer[_0x1db268(0x14c)][_0x1db268(0xc3)](_0x1db268(0x233));},0x578);},0x1);}static[a69_0x18e15f(0x1da)](_0x1c7e22){const _0xe96ccf=a69_0x18e15f;this[_0xe96ccf(0x302)][_0xe96ccf(0x130)](_0x4b3e77=>{const _0x51a9ca=_0xe96ccf;!_0x4b3e77.#isDisplayed&&_0x4b3e77.#pageIndex===_0x1c7e22&&!_0x4b3e77[_0x51a9ca(0x17f)]()&&_0x4b3e77.#createDivHighlightContainer();});}static[a69_0x18e15f(0x262)](){const _0x1b1524=a69_0x18e15f;this[_0x1b1524(0x302)]['forEach'](_0x4dea00=>{const _0x1f05dd=_0x1b1524;_0x4dea00.#isDisplayed=![],_0x4dea00.#divHighlightContainer&&(_0x4dea00.#divHighlightContainer[_0x1f05dd(0xc3)](),_0x4dea00.#divHighlightContainer=undefined);});}[a69_0x18e15f(0x2d9)](){const _0xfea625=a69_0x18e15f;if(this[_0xfea625(0x17f)]())return[0x0,0x0];if(!this.#divHighlightContainer||this.#divHighlightContainer[_0xfea625(0x107)][_0xfea625(0x108)]===0x0)return null;const _0x5adaa3=this.#divHighlightContainer[_0xfea625(0x107)][0x0];return[_0x5adaa3[_0xfea625(0x25f)],_0x5adaa3['offsetLeft']];}get['commentsCount'](){const _0x166434=a69_0x18e15f;return this.#comments[_0x166434(0x1b4)];}[a69_0x18e15f(0x1c4)](){const _0x2bb180=a69_0x18e15f,_0x259f2b=this[_0x2bb180(0x17f)]();let _0x534197=document[_0x2bb180(0x1f0)](_0x2bb180(0x1c7)+this.#pageIndex);!_0x259f2b&&this.#divHighlightContainer&&this.#divHighlightContainer[_0x2bb180(0x107)][_0x2bb180(0x108)]>0x0&&(_0x534197=this.#divHighlightContainer[_0x2bb180(0x107)][0x0]);const _0x13c0b3=_0x534197[_0x2bb180(0x27a)](),_0x47b805=document[_0x2bb180(0x146)]('pdfViewerContainerPages'),_0x5b1851=_0x47b805[_0x2bb180(0x27a)]();return _0x13c0b3[_0x2bb180(0x326)]+(_0x259f2b?0x19:0x0)>=_0x5b1851[_0x2bb180(0x326)]&&(_0x259f2b&&_0x13c0b3[_0x2bb180(0x326)]<=_0x5b1851[_0x2bb180(0x199)]||_0x13c0b3[_0x2bb180(0x199)]<=_0x5b1851[_0x2bb180(0x199)]);}[a69_0x18e15f(0x1c5)](){const _0x2f1a5a=a69_0x18e15f;if(this[_0x2f1a5a(0x112)]===0x0)return;const _0x144d81=Array[_0x2f1a5a(0x31f)](this.#comments)[0x0];_0x144d81['scrollToTop']();}[a69_0x18e15f(0x1a8)](_0x25b669){const _0x1e4294=a69_0x18e15f;if(this[_0x1e4294(0x17f)]())return;this.#divHighlightContainer?this.#divHighlightContainer[_0x1e4294(0x2dc)]('data-pdf-comment-view-archive',_0x25b669['toString']()):this.#attributeToAddToDivHighlightContainerAfterLoading[_0x1e4294(0x2ff)](['data-pdf-comment-view-archive',_0x25b669['toString']()]);}[a69_0x18e15f(0x219)](_0x321ca2){const _0xc326c2=a69_0x18e15f;if(this[_0xc326c2(0x17f)]())return;this.#divHighlightContainer?this.#divHighlightContainer[_0xc326c2(0x2dc)](_0xc326c2(0x223),_0x321ca2[_0xc326c2(0x34a)]()):this.#attributeToAddToDivHighlightContainerAfterLoading[_0xc326c2(0x2ff)]([_0xc326c2(0x223),_0x321ca2[_0xc326c2(0x34a)]()]);}static[a69_0x18e15f(0x260)](){return new PdfViewerSelection(PdfViewerManager['getPageIndexDispayed']());}['updateDataAttribute'](_0x2f85ac){const _0xa14c67=a69_0x18e15f;this.#divHighlightContainer&&this.#divHighlightContainer['setAttribute'](_0xa14c67(0x2f7),_0x2f85ac[_0xa14c67(0x278)]('\x20'));}[a69_0x18e15f(0xc8)](){const _0x31eed3=a69_0x18e15f;this.#divHighlightContainer&&this.#divHighlightContainer[_0x31eed3(0x14c)][_0x31eed3(0x340)](_0x31eed3(0xb9));}}class PdfViewerSubComments{constructor(_0x40c77a){const _0x3c070e=a69_0x18e15f;this['parentComment']=_0x40c77a,this[_0x3c070e(0x298)]=new Map();const _0xd02baf=PdfViewerManager[_0x3c070e(0xcf)][_0x3c070e(0x32f)],_0x55f721=firebase[_0x3c070e(0x2e8)]()[_0x3c070e(0x2d6)](_0x3c070e(0x1fe))[_0x3c070e(0x341)](_0xd02baf)[_0x3c070e(0x341)]('comments')[_0x3c070e(0x341)](_0x40c77a[_0x3c070e(0x1ec)])[_0x3c070e(0x341)](_0x3c070e(0x314));[_0x3c070e(0x2b4),_0x3c070e(0x18d)][_0x3c070e(0x130)](_0x18f7ab=>{_0x55f721['on'](_0x18f7ab,async _0x25a992=>{const _0x250964=a69_0x1f0c,_0x550494=_0x25a992['key'],_0x22e84c=_0x25a992['val']();let _0x21b421=await firebase[_0x250964(0x2e8)]()[_0x250964(0x2d6)](_0x250964(0x1fe))[_0x250964(0x341)](_0xd02baf)[_0x250964(0x341)](_0x250964(0x32e))['child'](signin[_0x250964(0x334)]['id'])['child'](_0x40c77a[_0x250964(0x1ec)])['child'](_0x250964(0x314))[_0x250964(0x341)](_0x550494)[_0x250964(0x2f9)]();await retryablePromise(async()=>{const _0x3f74e4=_0x250964;_0x21b421=await firebase[_0x3f74e4(0x2e8)]()[_0x3f74e4(0x2d6)](_0x3f74e4(0x1fe))[_0x3f74e4(0x341)](_0xd02baf)[_0x3f74e4(0x341)]('users')[_0x3f74e4(0x341)](signin[_0x3f74e4(0x334)]['id'])[_0x3f74e4(0x341)](_0x40c77a['commentId'])[_0x3f74e4(0x341)]('subComments')[_0x3f74e4(0x341)](_0x550494)[_0x3f74e4(0x2f9)]();if(!_0x21b421[_0x3f74e4(0x102)]())throw new Error(_0x3f74e4(0x186)+_0x550494+_0x3f74e4(0x348)+_0xd02baf+')');},0x1f4,0x14);const _0x22f9c1=_0x21b421[_0x250964(0x192)]();if(this['subCommentsMap']['has'](_0x550494))this[_0x250964(0x298)][_0x250964(0x2f9)](_0x550494)[_0x250964(0x1f9)](_0x22f9c1,_0x22e84c);else{const _0x44335c=new PdfViewerSubComment(_0x550494,_0x22f9c1,_0x22e84c,this);this[_0x250964(0x298)][_0x250964(0xbf)](_0x550494,_0x44335c);}this.#sortAndDisplay(),_0x40c77a[_0x250964(0x1f4)](this['subCommentsMap'][_0x250964(0x1b4)]);});}),_0x55f721['on'](_0x3c070e(0x1ce),_0x19166b=>{const _0x8b157=_0x3c070e,_0x21866e=_0x19166b[_0x8b157(0x225)],_0x39f4d0=this[_0x8b157(0x298)][_0x8b157(0x2f9)](_0x21866e);_0x39f4d0&&_0x39f4d0[_0x8b157(0x2ac)](),this.#sortAndDisplay(),_0x40c77a[_0x8b157(0x1f4)](this['subCommentsMap']['size']);});}#sortAndDisplay(){const _0x3649db=a69_0x18e15f,_0x9e3b18=Array[_0x3649db(0x31f)](this[_0x3649db(0x298)])['map'](([_0x10aa84,_0x86842])=>_0x86842)[_0x3649db(0x1fa)]((_0x1abe7d,_0x570d22)=>_0x1abe7d[_0x3649db(0x2c5)]-_0x570d22['creationDate'])['map'](_0x489d2f=>_0x489d2f[_0x3649db(0x157)]);this['parentComment'][_0x3649db(0x180)](_0x9e3b18);}static async[a69_0x18e15f(0x1cc)](_0x596b36,_0x5de32e){const _0x589511=a69_0x18e15f,_0x20902b=firebase[_0x589511(0x2e8)]()['ref'](_0x589511(0x1fe))[_0x589511(0x341)](PdfViewerManager[_0x589511(0xcf)][_0x589511(0x32f)])[_0x589511(0x341)](_0x589511(0x2cf))[_0x589511(0x341)](_0x596b36[_0x589511(0x1ec)])['child'](_0x589511(0x314)),_0x261970=_0x20902b[_0x589511(0x2ff)]()[_0x589511(0x225)],[_0x42dbb2,_0xef5328]=await PdfViewerComment['getMetadataForSave'](_0x5de32e,new Set(_0x596b36['lstUsers']));_0x42dbb2[_0x589511(0x171)]=signin[_0x589511(0x334)]['id'],_0x42dbb2[_0x589511(0x2c5)]=firebase[_0x589511(0x2e8)][_0x589511(0x2af)][_0x589511(0x20f)],_0x42dbb2['updateDate']=firebase['database']['ServerValue'][_0x589511(0x20f)];const _0x4487aa={['comments/'+_0x596b36[_0x589511(0x1ec)]+'/subComments/'+_0x261970]:_0x42dbb2};return Object['keys'](_0xef5328)[_0x589511(0x130)](_0x10e954=>{const _0x20f287=_0x589511;_0xef5328[_0x10e954][_0x20f287(0x345)]=_0x596b36['commentId'],_0x4487aa[_0x20f287(0x201)+_0x10e954+'/'+_0x596b36[_0x20f287(0x1ec)]+_0x20f287(0x2a4)+_0x261970]=_0xef5328[_0x10e954];}),firebase[_0x589511(0x2e8)]()[_0x589511(0x2d6)](_0x589511(0x1fe))[_0x589511(0x341)](PdfViewerManager[_0x589511(0xcf)][_0x589511(0x32f)])[_0x589511(0x1f9)](_0x4487aa)[_0x589511(0x2c9)](_0xa7e1a5=>{const _0x41fbf0=_0x589511;alert(texts[_0x41fbf0(0x2ae)][_0x41fbf0(0x1a6)]('error\x20at\x20save')),HandleError(PdfViewerSubComments[_0x41fbf0(0x243)]+_0x41fbf0(0x203)+_0xa7e1a5[_0x41fbf0(0x2f3)],'js/modules/preview.js',_0xa7e1a5[_0x41fbf0(0x105)],_0xa7e1a5[_0x41fbf0(0x14b)],_0xa7e1a5);throw _0xa7e1a5;});}}class PdfViewerSubComment{constructor(_0x230fb1,_0x47360a,_0x72bafa,_0x100a31){const _0x39b31a=a69_0x18e15f;this[_0x39b31a(0x172)]=_0x100a31,this['subCommentId']=_0x230fb1,this[_0x39b31a(0x2c5)]=_0x72bafa[_0x39b31a(0x2c5)],this['updateDate']=_0x72bafa[_0x39b31a(0x23b)],this[_0x39b31a(0x171)]=_0x72bafa[_0x39b31a(0x171)],this[_0x39b31a(0x2d2)]=_0x47360a,this['metadataSubComment']=_0x72bafa,this[_0x39b31a(0x32a)]='',this[_0x39b31a(0x157)]=document[_0x39b31a(0x2bc)](_0x39b31a(0x315)),this.#buildDiv(),this.#decrypt();}#buildDiv(){const _0x6cabe8=a69_0x18e15f;this[_0x6cabe8(0x157)]['classList'][_0x6cabe8(0x340)](_0x6cabe8(0x21a),_0x6cabe8(0xda)),this.#updateTitleDiv();let _0x20aded=i18n['getText'](_0x6cabe8(0x218)),_0x53c022=_0x6cabe8(0x216);if(this[_0x6cabe8(0x171)]===signin[_0x6cabe8(0x334)]['id'])_0x20aded=signin[_0x6cabe8(0x334)][_0x6cabe8(0x243)],_0x53c022=signin[_0x6cabe8(0x334)][_0x6cabe8(0x1c9)];else app[_0x6cabe8(0xc6)]['friendList'][this['ownerId']]&&(app[_0x6cabe8(0xc6)]['friendList'][this[_0x6cabe8(0x171)]][_0x6cabe8(0x243)]&&(_0x20aded=app[_0x6cabe8(0xc6)][_0x6cabe8(0x22a)][this[_0x6cabe8(0x171)]]['name']),app[_0x6cabe8(0xc6)][_0x6cabe8(0x22a)][this['ownerId']][_0x6cabe8(0x1c9)]&&(_0x53c022=app['_run'][_0x6cabe8(0x22a)][this['ownerId']]['avatarUrl']));this[_0x6cabe8(0x157)]['insertAdjacentHTML'](_0x6cabe8(0xd4),_0x6cabe8(0x258)+_0x53c022+_0x6cabe8(0xbc)+_0x20aded+'</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22material-icons-outlined\x20pdfSubCommentEdit\x20hidden\x22\x20title=\x22'+i18n['getText']('editComment')+_0x6cabe8(0xce)+i18n['getText'](_0x6cabe8(0xc3))+_0x6cabe8(0x2f2)+i18n['getText']('loading')+_0x6cabe8(0x26e)+i18n[_0x6cabe8(0x221)](_0x6cabe8(0x2bd))+_0x6cabe8(0xd8)+i18n['getText']('strings/Write_here')+_0x6cabe8(0x117)+i18n['getText'](_0x6cabe8(0xcb))+_0x6cabe8(0x175)+i18n[_0x6cabe8(0x221)]('save')+'</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>');const _0x389d3b=this[_0x6cabe8(0x157)]['querySelector'](_0x6cabe8(0x212)),_0x37bccc=this[_0x6cabe8(0x157)][_0x6cabe8(0x1f0)]('.pdfSubCommentBodyEdit'),_0x2ee2e5=this['divSubComment'][_0x6cabe8(0x1f0)](_0x6cabe8(0x2e4));this[_0x6cabe8(0x171)]===signin[_0x6cabe8(0x334)]['id']&&(_0x2ee2e5[_0x6cabe8(0x14c)]['remove']('hidden'),_0x2ee2e5[_0x6cabe8(0x2f4)](_0x6cabe8(0x2df),_0x254c99=>{const _0x2be81b=_0x6cabe8;_0x254c99['preventDefault'](),_0x389d3b['classList'][_0x2be81b(0x340)](_0x2be81b(0xda)),_0x37bccc[_0x2be81b(0x14c)][_0x2be81b(0xc3)]('hidden');const _0x2e70c4=this[_0x2be81b(0x157)]['querySelector'](_0x2be81b(0x1d0)),_0xe122e=this[_0x2be81b(0x157)][_0x2be81b(0x1f0)](_0x2be81b(0x228));let _0x5a5083='';_0xe122e['children'][_0x2be81b(0x108)]>0x0?Array['from'](_0xe122e['children'])[_0x2be81b(0x130)](_0x48d133=>{_0x48d133 instanceof HTMLBRElement?_0x5a5083+='\x0a':_0x5a5083+=_0x48d133['textContent'];}):_0x5a5083=_0xe122e[_0x2be81b(0x160)],_0x2e70c4[_0x2be81b(0xee)]=_0x5a5083,_0x2e70c4[_0x2be81b(0x12f)]();}));const _0x108dff=this['divSubComment'][_0x6cabe8(0x1f0)]('.pdfSubCommentTextButtonEditCancel');_0x108dff['addEventListener']('click',_0x7bd026=>{const _0x5742b9=_0x6cabe8;_0x37bccc[_0x5742b9(0x14c)][_0x5742b9(0x340)]('hidden'),_0x389d3b['classList'][_0x5742b9(0xc3)](_0x5742b9(0xda)),_0x7bd026[_0x5742b9(0x226)](),_0x7bd026[_0x5742b9(0x2a6)]();});const _0x538756=this[_0x6cabe8(0x157)][_0x6cabe8(0x1f0)]('.pdfSubCommentTextButtonReadMore'),_0x4c3529=this[_0x6cabe8(0x157)][_0x6cabe8(0x1f0)](_0x6cabe8(0x255));_0x4c3529[_0x6cabe8(0x2f4)]('click',_0x212f00=>{const _0x31b88e=_0x6cabe8;_0x212f00[_0x31b88e(0x226)]();const _0x5154d3=this['divSubComment']['querySelector'](_0x31b88e(0x1d0))[_0x31b88e(0xee)];this.#saveEdit(_0x5154d3)[_0x31b88e(0x310)](()=>{const _0x51e9dd=_0x31b88e;_0x108dff[_0x51e9dd(0x2df)](),this[_0x51e9dd(0x32a)]=_0x5154d3,PdfViewerComment[_0x51e9dd(0x1db)](this[_0x51e9dd(0x32a)],this[_0x51e9dd(0x157)]['querySelector'](_0x51e9dd(0x228))),_0x538756[_0x51e9dd(0x14c)]['add'](_0x51e9dd(0xda)),this['divSubComment'][_0x51e9dd(0x1f0)](_0x51e9dd(0x228))[_0x51e9dd(0x14c)]['add'](_0x51e9dd(0x31c));const _0x1e3996=setInterval(()=>{const _0x421d98=_0x51e9dd;if(!_0x554f3d['checkVisibility']())return;clearInterval(_0x1e3996),_0x554f3d[_0x421d98(0x1f5)]!==_0x554f3d['scrollHeight']&&_0x538756[_0x421d98(0x14c)][_0x421d98(0xc3)](_0x421d98(0xda));},0x64);})[_0x31b88e(0x2c9)](_0x1487f1=>{const _0x5b970e=_0x31b88e;alert(texts['unknown_error'][_0x5b970e(0x1a6)](_0x5b970e(0x300))),HandleError(PdfViewerSubComment[_0x5b970e(0x243)]+_0x5b970e(0x301)+this[_0x5b970e(0x346)]+'):\x20'+_0x1487f1[_0x5b970e(0x2f3)],_0x5b970e(0x2f5),_0x1487f1[_0x5b970e(0x105)],_0x1487f1['colNo'],_0x1487f1);});});if(this[_0x6cabe8(0x171)]===signin[_0x6cabe8(0x334)]['id']||PdfViewerManager['fileObj']['ownerId']===signin[_0x6cabe8(0x334)]['id']){const _0x48022d=this[_0x6cabe8(0x157)][_0x6cabe8(0x1f0)]('.pdfSubCommentDelete');_0x48022d[_0x6cabe8(0x14c)][_0x6cabe8(0xc3)]('hidden'),_0x48022d[_0x6cabe8(0x2f4)](_0x6cabe8(0x2df),_0x4a55a7=>{const _0x411ddd=_0x6cabe8;_0x4a55a7[_0x411ddd(0x2a6)](),_0x4a55a7[_0x411ddd(0x226)](),fancy['_confirm']['show'](i18n['getText'](_0x411ddd(0xc3))+'\x20?',i18n[_0x411ddd(0x221)]('information'),i18n[_0x411ddd(0x221)](_0x411ddd(0x28a)),i18n[_0x411ddd(0x221)](_0x411ddd(0x2a7)),()=>{},this.#deleteFromFirebase[_0x411ddd(0x2c2)](this));});}const _0x554f3d=this['divSubComment']['querySelector'](_0x6cabe8(0x228));_0x538756[_0x6cabe8(0x2f4)]('click',_0x5e6b47=>{const _0x2a164d=_0x6cabe8;_0x5e6b47[_0x2a164d(0x226)](),_0x538756[_0x2a164d(0x14c)][_0x2a164d(0x340)](_0x2a164d(0xda)),this[_0x2a164d(0x157)][_0x2a164d(0x1f0)]('.pdfSubCommentText')[_0x2a164d(0x14c)][_0x2a164d(0xc3)](_0x2a164d(0x31c));});}async #saveEdit(_0x110778){const _0x3f85f0=a69_0x18e15f,_0x334c0b=PdfViewerManager[_0x3f85f0(0xcf)][_0x3f85f0(0x32f)],_0x331cd9=this['pdfViewerSubComments']['parentComment'][_0x3f85f0(0x1ec)],_0x3131be=new Set(this.#lstUsers),[_0x323eaa,_0x198cc2]=await PdfViewerComment['getMetadataForSave'](_0x110778,_0x3131be),_0x2d1c27=firebase[_0x3f85f0(0x2e8)]()[_0x3f85f0(0x2d6)](_0x3f85f0(0x1fe))['child'](_0x334c0b);let _0x5a9534={};return _0x3131be[_0x3f85f0(0x130)](_0x488e7b=>{const _0x2508f4=_0x3f85f0;_0x198cc2[_0x488e7b][_0x2508f4(0x345)]=_0x331cd9,_0x5a9534['users/'+_0x488e7b+'/'+_0x331cd9+_0x2508f4(0x2a4)+this[_0x2508f4(0x346)]]=_0x198cc2[_0x488e7b];}),Object[_0x3f85f0(0xef)](_0x323eaa)[_0x3f85f0(0x130)](_0x35fdb4=>{const _0x4c300a=_0x3f85f0;_0x5a9534[_0x4c300a(0x1d2)+_0x331cd9+'/subComments/'+this['subCommentId']+'/'+_0x35fdb4]=_0x323eaa[_0x35fdb4];}),_0x5a9534[_0x3f85f0(0x1d2)+_0x331cd9+_0x3f85f0(0x2a4)+this[_0x3f85f0(0x346)]+_0x3f85f0(0x204)]=firebase[_0x3f85f0(0x2e8)][_0x3f85f0(0x2af)][_0x3f85f0(0x20f)],this[_0x3f85f0(0x23b)]=Date[_0x3f85f0(0x106)](),_0x2d1c27[_0x3f85f0(0x1f9)](_0x5a9534);}#deleteFromFirebase(){const _0x174991=a69_0x18e15f,_0x4a2818=new Set([PdfViewerManager[_0x174991(0xcf)][_0x174991(0x171)],signin[_0x174991(0x334)]['id'],...this.#lstUsers]),_0x43c847=this[_0x174991(0x172)]['parentComment'][_0x174991(0x1ec)],_0x6be17b={['comments/'+_0x43c847+_0x174991(0x2a4)+this[_0x174991(0x346)]]:null};Array['from'](_0x4a2818)[_0x174991(0x130)](_0xcf7f8d=>{const _0x2d02ab=_0x174991;_0x6be17b[_0x2d02ab(0x201)+_0xcf7f8d+'/'+_0x43c847+_0x2d02ab(0x2a4)+this[_0x2d02ab(0x346)]]=null;}),firebase['database']()[_0x174991(0x2d6)]('fileComments')[_0x174991(0x341)](PdfViewerManager[_0x174991(0xcf)][_0x174991(0x32f)])[_0x174991(0x1f9)](_0x6be17b)['then'](()=>{this['deleteDisplay']();})[_0x174991(0x2c9)](_0x111f28=>{const _0x494001=_0x174991;alert(texts[_0x494001(0x2ae)][_0x494001(0x1a6)](_0x494001(0x1fc))),HandleError(PdfViewerComment[_0x494001(0x243)]+'\x20error\x20at\x20remove\x20subComment\x20('+this[_0x494001(0x346)]+_0x494001(0x321)+_0x111f28[_0x494001(0x2f3)],_0x494001(0x2f5),_0x111f28[_0x494001(0x105)],_0x111f28['colNo'],_0x111f28);});}[a69_0x18e15f(0x2ac)](){const _0xd1b2e3=a69_0x18e15f;this[_0xd1b2e3(0x157)]['remove'](),this[_0xd1b2e3(0x172)][_0xd1b2e3(0x298)]['delete'](this[_0xd1b2e3(0x346)]);}get#lstUsers(){const _0x39ac2d=a69_0x18e15f;return this[_0x39ac2d(0x172)][_0x39ac2d(0x33f)][_0x39ac2d(0xec)];}#updateTitleDiv(){const _0x4fba3e=a69_0x18e15f;this[_0x4fba3e(0x157)][_0x4fba3e(0x214)]=i18n['getText']('created_at')+'\x20'+new Date(this[_0x4fba3e(0x2c5)])[_0x4fba3e(0xac)]()+'\x0a'+i18n['getText'](_0x4fba3e(0x1b1))+'\x20'+new Date(this[_0x4fba3e(0x23b)])['toLocaleString']();if(PdfViewerManager[_0x4fba3e(0xcf)][_0x4fba3e(0x171)]===signin['_user']['id']){const _0x1c83cc=this.#lstUsers[_0x4fba3e(0x2e2)](_0x1c0ad5=>_0x1c0ad5!==signin[_0x4fba3e(0x334)]['id'])['map'](_0x3326e0=>{const _0xc48dc1=_0x4fba3e;let _0x4cab8c=i18n[_0xc48dc1(0x221)](_0xc48dc1(0x307));try{_0x4cab8c=app['_run'][_0xc48dc1(0x22a)][_0x3326e0][_0xc48dc1(0x243)];}catch(_0xa7f4e6){}return'-\x20'+_0x4cab8c;})[_0x4fba3e(0x278)]('\x0a');this[_0x4fba3e(0x157)][_0x4fba3e(0x214)]+='\x0a'+i18n['getText']('users')+':\x0a'+_0x1c83cc;}}async #decrypt(){const _0x27a4dc=a69_0x18e15f;if(isDatePriorToUTCReset(new Date(this[_0x27a4dc(0x23b)])))return;this['subCommentMessage']=await CryptManager[_0x27a4dc(0x1eb)](CryptManager[_0x27a4dc(0x2d1)](this[_0x27a4dc(0x2d2)][_0x27a4dc(0x240)]),this['metadataSubComment']['iv'],this[_0x27a4dc(0x23d)][_0x27a4dc(0x14e)],![]);const _0x48c3db=this['divSubComment'][_0x27a4dc(0x1f0)](_0x27a4dc(0x228)),_0x2f71dc=this['divSubComment']['querySelector'](_0x27a4dc(0x20b));_0x48c3db[_0x27a4dc(0x14c)][_0x27a4dc(0x340)](_0x27a4dc(0x31c)),_0x2f71dc[_0x27a4dc(0x14c)][_0x27a4dc(0x340)](_0x27a4dc(0xda)),PdfViewerComment[_0x27a4dc(0x1db)](this[_0x27a4dc(0x32a)],_0x48c3db),this[_0x27a4dc(0x157)][_0x27a4dc(0x14c)][_0x27a4dc(0xc3)](_0x27a4dc(0xda));const _0x1be22a=setInterval(()=>{const _0x3897f8=_0x27a4dc;if(!_0x48c3db[_0x3897f8(0x1ad)]())return;clearInterval(_0x1be22a),_0x48c3db[_0x3897f8(0x1f5)]!==_0x48c3db[_0x3897f8(0x1b8)]&&_0x2f71dc['classList'][_0x3897f8(0xc3)](_0x3897f8(0xda));},0x64);}async[a69_0x18e15f(0x1f9)](_0x14d5fb,_0xf0ebd4){const _0x1419f8=a69_0x18e15f;if(_0xf0ebd4[_0x1419f8(0x23b)]<=this[_0x1419f8(0x23b)]||this[_0x1419f8(0x171)]===signin[_0x1419f8(0x334)]['id']&&Math['abs'](_0xf0ebd4[_0x1419f8(0x23b)]-this[_0x1419f8(0x23b)])<0x5dc&&this[_0x1419f8(0x23d)][_0x1419f8(0x14e)]===_0xf0ebd4[_0x1419f8(0x14e)]&&this[_0x1419f8(0x23d)]['iv']===_0xf0ebd4['iv'])return;while(this[_0x1419f8(0x23d)]['text']!==_0xf0ebd4[_0x1419f8(0x14e)]&&_0x14d5fb[_0x1419f8(0x240)]===this['metadataUserSubComment'][_0x1419f8(0x240)]){await sleepPromise(0x1f4);const _0x1215f9=await firebase['database']()['ref'](_0x1419f8(0x1fe))[_0x1419f8(0x341)](PdfViewerManager['fileObj'][_0x1419f8(0x32f)])[_0x1419f8(0x341)]('users')[_0x1419f8(0x341)](signin['_user']['id'])['child'](this['pdfViewerSubComments'][_0x1419f8(0x33f)][_0x1419f8(0x1ec)])['child'](_0x1419f8(0x314))[_0x1419f8(0x341)](this[_0x1419f8(0x346)])['get']();if(!_0x1215f9[_0x1419f8(0x102)]())continue;_0x14d5fb=_0x1215f9[_0x1419f8(0x192)]();}this[_0x1419f8(0x23b)]=_0xf0ebd4['updateDate'],this[_0x1419f8(0x2d2)]=_0x14d5fb,this['metadataSubComment']=_0xf0ebd4,this.#decrypt(),this.#updateTitleDiv();}}function a69_0x574a(){const _0x57a815=['unknown_error','ServerValue','close','\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfCommentViewName\x22>','canvas','string','child_added','<div\x20class=\x22pdfCommentView\x22\x20data-userId=\x22','getViewport','forceHighlight','headerPdfComments','modules/preview.js','ceil','strings/Write_here','createElement','read_more','GET','disabled','data-pdf-comment-select-view-archive','viewableLaterUser2','bind','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22headerPdfCommentsTitleSettingsDiv\x22\x20class=\x22hidden\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22settingArchivePdfCommentsDiv\x22\x20class=\x22divContainerDefaultBrowserCheckbox\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22checkbox\x22\x20id=\x22settingArchivePdfComments\x22\x20name=\x22settingArchivePdfComments\x22\x20class=\x22browser-default\x22/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20for=\x22settingArchivePdfComments\x22>','notified-transfers','creationDate','changeFilePreview','strings/Close','#pdfViewerContainer','catch','data-pdf-comment-view-archive','isArray','response','numPages','intersectsNode','comments','save','stringBase64ToUint8Array','metadataUserSubComment','click-on-close-preview-file','setEndAfter','.pdfViewerContainerPage','ref','#pdfViewerContainer[data-pdf-comment-select-view=\x22lstUid\x22]','querySelectorAll','getPosition','load','textLayerPdfP','setAttribute','\x22]\x20:not([data-pdf-comment-select-view-lst-uid~=\x22','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20id=\x22headerPdfArchiveCommentsTitleString\x22\x20class=\x22hidden\x22>','click','getPageIndex','getContext','filter','to_unarchive','.pdfSubCommentEdit','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22btnLink\x20pdfCommentTextButtonEditSave\x22>','hardcodeHeader','attr','database','\x20ERROR:\x20Failed\x20to\x20import:\x20','width','eventListenerChangePreview','updateBecauseEdit','commentMetadata','listenerPreventInformOwner','some','getAttribute','lstUserShare','\x22>delete</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfSubCommentBody\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfSubCommentBodyPart\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfSubCommentText\x20pdfSubCommentTextSmall\x22>','message','addEventListener','js/modules/preview.js','getDownloadUrlForFile','data-pdf-comment-select-view-lst-uid','\x22]\x20[data-pdf-comment-select-view-lst-uid~=\x22','get','175116ltjTMI','getDivHighlightContainer','floor','<div\x20class=\x22pdfCommentView\x20pdfCommentViewGroup\x22\x20data-groupUserId=\x22','pdfCommentViewGroup','push','error\x20at\x20edit\x20subComment','\x20error\x20at\x20edit\x20subComment\x20(','setSelection','div#pdfViewerContainerPageP','application/octet-stream','.pdfCommentTextButtonReplyCancel','getPageIndexDispayed','not_available','fillStyle','ArrowLeft','onloadeddata','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfSubComments\x22></div>','sortComments','parentElement','videoHeight','</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>','then','div.preview-loader-spin','#headerPdfCommentsTitleSettings','button','subComments','div','cover','clearLocalData','target','translate','createImageFromDom','/drive/thumbnail/','pdfSubCommentTextSmall','.pdfCommentText','send','from','delete','):\x20','body','#includeFutureSharesOfFileDiv','getAlgorithmVersions','selectstart','top','onerror','toggle','\x22],\x20#pdfViewerContainer[data-pdf-comment-select-view=\x22lstUid\x22]:not([data-pdf-comment-select-view-lst-uid~=\x22','subCommentMessage','regex','repeat','src','users','fileId','</label>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22settingDisplayedForAllPdfCommentsDiv\x22\x20class=\x22divContainerDefaultBrowserCheckbox\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22checkbox\x22\x20id=\x22settingDisplayedForAllPdfComments\x22\x20name=\x22settingDisplayedForAllPdfComments\x22\x20class=\x22browser-default\x22/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20for=\x22settingDisplayedForAllPdfComments\x22>','innerHTML','readAsDataURL','appendChild','_user','endOffset','full-preview','scroll','render','textAlign','#pdfViewerContainer[data-pdf-comment-select-view=\x22all\x22]\x20.pdfComment,\x20#pdfViewerContainer[data-pdf-comment-select-view=\x22all\x22]\x20.highlightPdfComment\x20{display:\x20block;}','replaceChildren','createObjectURL','.pdfCommentTextButtonReply','alert','parentComment','add','child','getRangeAt','created_at','afterend','parentCommentId','subCommentId','hideAndRemovePreview',')\x20(','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfCommentBodyEdit\x20hidden\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20rows=\x226\x22\x20wrap\x20placeholder=\x22','toString','createOrUpdateCommentFromMetadata','round','splice','destroy','toLocaleString','commonAncestorContainer','#parentPdfCommentsAddCommentText','qualityValue','undefined','\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22checkbox\x22\x20id=\x22includeFutureSharesOfFileCheckbox\x22\x20name=\x22includeFutureSharesOfFile\x22\x20class=\x22browser-default\x22\x20checked/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20for=\x22includeFutureSharesOfFile\x22>','selectedView','onloadend','information','occurrenceInstance','isArchived','_confirm','goToPage','highlightPdfCommentNotValided','<div\x20id=\x22headerPdfCommentsTitle\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20id=\x22headerPdfCommentsTitleString\x22>','closest','\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22pdfSubCommentUserName\x22>','BlobWriter','devicePixelRatio','set','data-pdf-comment-select-view','js/libs/pdfjsv4.2.67/pdf.worker.js','RenderingCancelledException','remove','btnNextPreview','endContainer','_run','displayPreviewForVideo','setNotValided','true','<img\x20class=\x22preview-drive\x22\x20src=\x22','cancel','6202592tqdgPM','startContainer','\x22>edit</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22material-icons-outlined\x20pdfSubCommentDelete\x20hidden\x22\x20title=\x22','fileObj','Thumbnail\x20ERROR:\x20Failed\x20uploading\x20file\x20Thumbnail\x20for\x20fileId(','9dpHTrz','Error\x20at\x20file\x20preview\x20upload\x20drive','232449HhWquB','afterbegin','toUTCString','charCodeAt','Error\x20number\x20occurrence\x20of\x20','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfSubCommentBodyEdit\x20hidden\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20rows=\x226\x22\x20wrap\x20placeholder=\x22','\x20{display:\x20block;}','hidden','cloneRange','pdfjs-dist/build/pdf','#headerPdfCommentsSelectViewAll','click-on-drive-to-have-preview-of-file','span','commentsEnable','childNodes',',\x20#pdfViewerContainer[data-pdf-comment-select-view=\x22lstUid\x22]','headerPdfWithComments','apply','pageIndex','URL','localeCompare','.pdfCommentTextButtonEditSave','offsetWidth','.pdfSubCommentBodyEdit','#headerPdfWithCommentsTotalPage','lstUsers','convertToViewportPoint','value','keys','files','px\x20sans-serif','#includeFutureSharesOfFileInfo','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfCommentBodyReply\x20hidden\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20rows=\x226\x22\x20wrap\x20placeholder=\x22','settingArchivePdfComments','.changePreviewButton','Error\x20for\x20download\x20the\x20preview\x20of\x20a\x20file:\x20','currentSelection','_pageInfo','.pdfCommentViewGroup','pdf-thumbnail','RSA_OAEP_decrypt','textLayer','item','encSecretKeyInfo','log','\x20error\x20at\x20edit\x20comment\x20(','toLowerCase','exists','hash','blurredForPrivacy','lineNo','now','children','length','hasSubComment','updateDataAttribute','blurViewerPdfInfo','setData','promise','checked','.pdfCommentBodyReply\x20textarea','setStart','.highlightPdfComment','commentsCount','tryToCopyNotAllow','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22btnLink\x20pdfCommentTextButtonReplySave\x22>','#headerPdfWithCommentsScale','pdfViewerContainerPageP','\x22\x20spellcheck></textarea>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfSubCommentTextButtons\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22btnLink\x20pdfSubCommentTextButtonEditCancel\x22>','#headerPdfCommentsTitleSettingsDiv','selectedString','\x22\x20class=\x22preview-drive\x20preview-drive-pdf\x22\x20type=\x22application/pdf\x22>\x20<object/>','beforeend','renderTextLayer','active','insertAdjacentHTML','Download\x20Drive\x20(preview\x20?):\x20getDownloadUrlForFile\x20function\x20failed\x20:','Not\x20valid','settingDisplayedForAllPdfComments','.btnLink','\x22],\x20#pdfViewerContainer[data-pdf-comment-select-view=\x22lstUid\x22][data-pdf-comment-select-view-lst-uid~=\x22','pdfCommentTextSmall','/selectionMetadata','\x22]),\x20#pdfViewerContainer[data-pdf-comment-select-view=\x22lstUid\x22][data-pdf-comment-select-view-lst-uid~=\x22','preventPrint','reply','ontimeupdate','scrollBy','off','.*.(gif|jpe?g|tiff?|png|webp|bmp)$','<div\x20style=\x22display:\x20flex;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22','258168SlTjqq','focus','forEach','dataIV','window','#headerPdfWithCommentsInputCurrentPage','displayPreviewIfExist','uint8ArrayToBase64String','\x20.pdfComment','div#preview-drive-content','headerPdfWithCommentsScale','textLayerPdfNotLoaded','\x22]\x20.pdfComment:not([data-pdf-comment-select-view-lst-uid~=\x22','.pdfSubCommentTextButtons','groups','#settingDisplayedForAllPdfComments','nextFileForPreview','\x20error\x20at\x20save\x20comment:\x20','map','warn','<img\x20id=\x22pdf_','.pdfSubComments','rangeCount','toJpeg','getElementById','state_changed','RSA_OAEP_encrypt_custom_for_uid','open','fromEntries','colNo','classList','commentsArchive','text','<div\x20class=\x22pdfCommentHeader\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22pdfCommentAvatar\x22\x20src=\x22','headerPdfCommentsSelectViewAll','TEXT_NODE','url','.pdfCommentView.selectedView','displayPreviewForPDFWithComments','_createImgThumbnail','GlobalWorkerOptions','divSubComment','508004rQEwdg','duration','video','div#pdfViewerContainerPages','measureText','viewableLaterUser','table','resize','textContent','white','data-groupUserId','\x22/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22pdfCommentUserName\x22>','beforeprint','find','<div\x20id=\x22blurViewerPdfInfo\x22><span\x20id=\x22blurViewerPdfInfoText\x22>','js/libs/pdfjsv4.2.67/pdf.js','position','\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22','isIntersecting','__proto__','exports','fontBoundingBoxAscent','headerPdfWithCommentsInputCurrentPage','#headerPdfCommentsTitleString','blur','ownerId','pdfViewerSubComments','.pdfCommentArchive','FileReader:\x20Failed\x20_createImgThumbnail','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22btnLink\x20pdfSubCommentTextButtonEditSave\x22>','tryToPrintNotAllow','drawImage','keyup','getTextContent','</span><button\x20id=\x22blurViewerPdfInfoClose\x22\x20class=\x22btn\x22\x20type=\x22button\x22>','addSelection','mouseup','setEnd','put','isSimpleSelection','updateSubComments','#00000043','5ZpzcCW','_getCreator','.pdfCommentTextButtons','getComputedStyle','Not\x20able\x20to\x20get\x20subComments\x20metadata\x20user\x20for\x20(','finally','#parentPdfCommentsFooter','#pdfViewerContainer[data-pdf-comment-select-view-archive=\x22true\x22]\x20.pdfComment:not([data-pdf-comment-view-archive=\x22true\x22]),\x20#pdfViewerContainer[data-pdf-comment-select-view-archive=\x22true\x22]\x20:not([data-pdf-comment-view-archive=\x22true\x22])>.highlightPdfComment,\x20#pdfViewerContainer:not([data-pdf-comment-select-view-archive=\x22true\x22])\x20.pdfComment[data-pdf-comment-view-archive=\x22true\x22],\x20#pdfViewerContainer:not([data-pdf-comment-select-view-archive=\x22true\x22])\x20[data-pdf-comment-view-archive=\x22true\x22]>.highlightPdfComment,\x20#pdfViewerContainer[data-pdf-comment-select-view-public=\x22true\x22]\x20.pdfComment:not([data-pdf-comment-view-public=\x22true\x22]),\x20#pdfViewerContainer[data-pdf-comment-select-view-public=\x22true\x22]\x20:not([data-pdf-comment-view-public=\x22true\x22]):not(.highlightPdfCommentNotValided)>.highlightPdfComment\x20{display:\x20none\x20!important;}','js/libs/pdf/pdf.js','assign','mail','child_changed','\x22\x20title=\x22','notAllowPrint','<video\x20class=\x22preview-drive\x22\x20controls\x20src=\x22','threadDetails','val','myDrive','has','slice','pdfViewerContainerPage','.pdfCommentTextButtonReadMore','hasAttribute','bottom','image/jpeg','commentsDisplayedForAll','_zipBuilder','script','</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22headerPdfCommentsTitleSettingsDiv\x22\x20class=\x22hidden\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22settingArchivePdfCommentsDiv\x22\x20class=\x22divContainerDefaultBrowserCheckbox\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22checkbox\x22\x20id=\x22settingArchivePdfComments\x22\x20name=\x22settingArchivePdfComments\x22\x20class=\x22browser-default\x22/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20for=\x22settingArchivePdfComments\x22>','customOptionScalePdfComments','split','\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div>','#headerPdfArchiveCommentsTitleString','notAllowCopy','getPage','.textLayer','format','</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>','changeArchiveState','change','input','isVoiceMessage','workerSrc','checkVisibility','#settingDisplayedForAllPdfCommentsDiv','/commentMetadata','removeIfNoComment','cloud_menu_modified','random','defaultOptionScalePdf','size','constructor','.*.(pdf)$','\x20and\x20transferId(','scrollHeight','responseType','error\x20at\x20set\x20archive/unarchive','convertToViewportRectangle','ArrowRight','generateRandomString','div.textLayerPdfP','\x22>unpublished</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22material-icons-outlined\x20pdfCommentDelete\x20hidden\x22\x20title=\x22','\x22>edit</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22material-icons-outlined\x20pdfCommentArchive\x20hidden\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22pdfCommentArchiveText\x22\x20title=\x22','selectedOptions','contextmenu','console','isInViewport','scrollToFirstCommentTop','info','canvas.pdfViewerCanvasP','displayPreviewForImage','avatarUrl','success','RSA_OAEP_encrypt','saveNewSubComment','return\x20(function()\x20','child_removed',')\x20comment\x20(','.pdfSubCommentBodyEdit\x20textarea','clear','comments/','startOffset','.pdfCommentBodyReply','<div></div>','height','exception','32VZRgaX','error','displayNotDisplayedSelection','formatAndInsertTextComment','text/plain','--scale-factor','storage','.hidden','.dl-clickable','show','options','start','isTrusted','\x22>delete</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfCommentBody\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfCommentBodyPart\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfCommentText\x20pdfCommentTextSmall\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfCommentTextButtons\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22btnLink\x20pdfCommentTextButtonReadMore\x20hidden\x22>','blob','\x22]\x20.pdfComment[data-pdf-comment-select-view-lst-uid~=\x22','desiredSize','encryptData','replace','AES_decrypt_fromRSA_decryptKey_ToString','commentId','_cacheSend','#includeFutureSharesOfFileCheckbox','parentPdfComments','querySelector','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22material-icons-outlined\x20pdfCommentEdit\x20hidden\x22\x20title=\x22','innerText','#parentPdfCommentsContainer','updateNumberSubComment','offsetHeight','.pdfCommentEdit','Impossible\x20to\x20push\x20event\x20to\x20matomo','\x20on\x20drive','update','sort','getData','error\x20at\x20delete\x20subComment','scrollIntoView','fileComments','getDisplay','#headerPdfWithCommentsScalePlus','users/','#pdfCommentViewDivider','\x20error\x20at\x20save\x20subcomment:\x20','/updateDate','sampleValue','all','No\x20addresseesList\x20and\x20thumbnail:\x20bad\x20transfer\x20object','.pdfCommentDelete','module','386920cTAQeC','.pdfSubCommentTextButtonReadMore','.selectedView','pdfViewerContainerPages','{}.constructor(\x22return\x20this\x22)(\x20)','TIMESTAMP','importPdfJs','btnPreviousPreview','.pdfSubCommentBodyPart','public','title','cloud-dropdown','img/user-pic-placeholder.png','.pdfCommentView','loading','changeIsPublicForAllState','subComment','lstUid','</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>','getMetadataForSave','left','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20id=\x22headerPdfCommentsTitleSettings\x22\x20class=\x22material-icons\x20hidden\x22>settings</i>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','trim','getText','contains','data-pdf-comment-view-public','test','key','preventDefault','onload','.pdfSubCommentText','START_TO_END','friendList','2HHKZiW','data','pdfViewerContainer','previousFileForPreview','TeamShield\x20protected\x20PDF\x20viewer','substring','\x22]:not(.highlightPdfCommentNotValided)>.highlightPdfComment,\x20#pdfViewerContainer[data-pdf-comment-select-view=\x22lstUid\x22][data-pdf-comment-select-view-lst-uid~=\x22','style','highlightPdfCommentForceHighlight','thumbnail','parentPdfCommentsContainer','\x20error\x20at\x20group\x20sharee:\x20','fillText','.*.(mp4|avi|mov|webm)$','head','decryptFile','updateDate','#pdfViewerContainer[data-pdf-comment-select-view=\x22lstUid\x22]:not([data-pdf-comment-select-view-lst-uid~=\x22','metadataSubComment','status','#headerPdfWithCommentsScaleMinus','encSecretKey','application/octet-stream;charset=UTF-8','.pdfCommentBodyEdit','name','intersectionRatio','Error\x20on\x20the\x20set\x20of\x20fileMetaData\x20of\x20the\x20thumbnail\x20of\x20a\x20file\x20(on\x20the\x20files\x20node):\x20','#settingArchivePdfCommentsDiv','[data-pdf-comment-select-view-lst-uid~=\x22','error\x20at\x20edit','>.highlightPdfComment\x20{display:\x20block;}','<div\x20id=\x22parentPdfCommentsFooter\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20id=\x22parentPdfCommentsAddCommentText\x22\x20rows=\x223\x22\x20wrap\x20placeholder=\x22','.close-blocker','AES_encrypt','</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>','copy','.pdfCommentBodyPart','includes','#pdfViewerContainer[data-pdf-comment-select-view=\x22lstUid\x22][data-pdf-comment-select-view-lst-uid~=\x22','cos','editComment','data-pdf-comment-select-view-public','.pdfSubCommentTextButtonEditSave','removeEventListener','currentTime','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfSubCommentHeader\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22pdfSubCommentAvatar\x22\x20src=\x22','\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfCommentViewName\x22>','pdfViewerCanvasNotLoaded','\x20error\x20at\x20group\x20owner\x20get\x20groups:\x20','false','insertAdjacentElement','<div\x20id=\x22headerPdfCommentsSelectView\x22\x20class=\x22multipleContactsViews\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfCommentView\x22\x20data-userId=\x22','offsetTop','getSimpleSelectionWithOnlyPageIndex','setProperty','reloadDisplay','getSelection','abort','#headerPdfWithComments>#headerPdfWithCommentsInputCurrentPage','center','fixDisplayAfterInsertToDom','thumbnailZipEntries','\x20error\x20at\x20remove\x20comment\x20(','\x22>check_circle_outline</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22pdfCommentUnarchiveText\x22\x20title=\x22','blurViewerPdf','dest','endsWith','</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfSubCommentTextButtons\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22btnLink\x20pdfSubCommentTextButtonReadMore\x20hidden\x22>','100','result','_blank','dataset','readyState','view','type','div.btn_close_preview_file','pointer','join','path','getBoundingClientRect','_createThumbnailImage','highlightPdfComment','arrayBuffer','608421NyDqiX','abs','Error\x20for\x20download\x20the\x20thumbnail\x20of\x20a\x20file:\x20(','location','getEntries','.pdfCommentBodyEdit\x20textarea','tngo/','listOfComments','fontBoundingBoxDescent','removeAttribute','trace','\x22]):not(.highlightPdfCommentNotValided)>.highlightPdfComment','strings/Cancel','min','scrollToTop','ZipWriter','Error\x20for\x20display\x20the\x20preview:\x20(creator=\x20','commentsHeader','\x22]>.highlightPdfComment','</button></div>','withComments','videoWidth','getDocument','addComment','displayComments','<object\x20data=\x22','subCommentsMap','addresseesList','BlobReader','selectionchange','END_TO_END','parentNode','img.dl-file-','\x22])\x20[data-pdf-comment-select-view-lst-uid~=\x22','\x20{display:\x20none\x20!important;}','data-userId','offsetLeft','trunc','/subComments/','selectionMetadata','stopPropagation','ok_accept','compareBoundaryPoints','max','AES_generateKey','loadPdfAndGetDisplay','deleteDisplay','\x22\x20spellcheck></textarea>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pdfCommentTextButtons\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22btnLink\x20pdfCommentTextButtonReplyCancel\x22>'];a69_0x574a=function(){return _0x57a815;};return a69_0x574a();}