Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


namespace Mibok\Pep;$GLOBALS['____1802732344']= array(definestrrevstrtouppersprintfsprintfsubstrstrrevbase64_decodesubstrstrlenstrlenchrordordmktimeintvalintvalintvalksortsubstrimplodedefinedbase64_decodeconstantstrrevsprintfstrlenstrlenchrordordmktimeintvalintvalintvalsubstrsubstrtimemktimemktimedatedatedefinedefinebasenamedirnamestr_replacestrtoupperdefinebasenamedirnamestr_replacestr_replacefile_existsarray_mergeintvalcountclass_existsstrposintvalarray_mergearray_mergearray_mergecountcountcountarray_maprealpathstrlenstrvalmb_strlenexplodemb_strlenmb_strlenarray_mergehashimplodearray_mergedateis_stringis_numericintvalis_arrayarray_mergecountstrtotimearray_key_existsunlinkunlinkarray_key_existsstrtotimehash_filemd5basenameceilob_startob_end_flushjson_encodecurl_initcurl_setoptcurl_setoptcurl_setoptcurl_setoptcurl_setoptcurl_setoptcurl_setoptcurl_setoptcurl_setoptcurl_execjson_decodecurl_errorcurl_closeis_arraycountimplodemd5basenamefopencurl_initcurl_setoptcurl_setoptcurl_execcurl_closefclosecurl_errorhash_filecountstr_replacedatestrtotimedatestrtotimeimplodemd5dateimplodestr_replacepreg_matchfloatvalstr_replaceis_dirstr_replacemb_strtoupperstr_replacepreg_match_allstr_replaceintvalarray_key_existsarray_key_existsstr_replaceintvalintvalfloatvalfloatvalfloatvalintvalintvalintvalintvalintvalintvalintvalis_arrayintvalintvalintvalis_arrayintvalintvalintvalis_arrayintvalintvalintvaldefinedmb_detect_encodingiconvmd5implodemb_strlenmaxarray_mapmaxintvalintvalcountimagecreatetruecolorimagecolorallocateimagecolorallocateimagecolorallocateimagefillimagesetthicknessimagerectangleimagefttextimagefttextimagepngimagedestroybasenamedirnamestrtouppercountstr_replacesubstrctype_xdigitsubstrpreg_matchis_numericarray_searchdefinedstrlen);if(!function_exists(__NAMESPACE__.'\\___943891728')){function ___943891728($_714602466){static $_1298712377= false; if($_1298712377 == false) $_1298712377=array('ZXhwaXJlX21lc3NfY3VzdG9tMg==','bWlib2tfcGVwXw==','b21lZA==','WQ==','ZHJtX3N0ZXJnb2tj','JTAxMHMK','b2tfcGVw','bWlib2sucGVw','JXMlcw==','fmJz','ZXRhZF9wbw==','YWRtaW4=','bW9kdWxlcw==','dXNlcl9kYXRlX2JzbS5waHA=','bWlib2sucGVw','Yml0cml4','Ukhva19wZXA=','NGQyZTkwNjQ3ZWVoeXRvcw==','','YWQ0','YTg1MjY2NGU5ZGM0OTk2NDFl','N2M2NDc3MA==','aHR0cDovL2JpdHJpeHNvZnQuY29tL2JpdHJpeC9icy5waHA=','bWli','X09MRFNJVEVFWFBJUkVEQVRFUw==','RE9DVU1FTlRfUk9PVA==','Lw==','Lw==','bWlib2tfcGVwX1RFTVBPUkFSWV9DQUNIRQ==','bWlib2tfcGVwX1RFTVBPUkFSWV9DQUNIRQ==','','ZjRkOTk=','JXMlcw==','M2JmNzk5MWQxNzc3ODRiOWVhZDY=','bWli','X1NJVEVFWFBJUkVEQVRFTUFQRVI=','bQ==','ZA==','WQ==','U2l0ZUV4cGlyZURhdGVfbWlib2tfcGVw','Lg==','Xw==','X0RFTU8=','WQ==','L2xpYi92ZW5kb3Ivc2V0YXNpZ24vZnBkZi9mcGRmLnBocA==','L2xpYi92ZW5kb3Ivc2V0YXNpZ24vZnBkaS9zcmMvYXV0b2xvYWQucGhw','XE1pYm9rXFBlcFxFdmVudEhhbmRsZXJz','bGliL2V2ZW50aGFuZGxlcnMucGhw','XE1pYm9rXFBlcFxEQlxPcmlnaW5hbERvY3VtZW50c1RhYmxl','bGliL2RiL29yaWdpbmFsZG9jdW1lbnRzdGFibGUucGhw','XE1pYm9rXFBlcFxEQlxTaWduYXR1cmVkRG9jdW1lbnRzVGFibGU=','bGliL2RiL3NpZ25hdHVyZWRkb2N1bWVudHN0YWJsZS5waHA=','Lg==','Xw==','L29yaWdpbl9maWxlcw==','L3NpZ25lZF9maWxlcw==','bWFpbg==','dXBsb2FkX2Rpcg==','dXBsb2Fk','L3RtcA==','Lg==','Lw==','Xw==','cGRm','Lw==','Lw==','L3RtcA==','L2JpdHJpeC9mb250cy8=','T3BlblNhbnMtUmVndWxhcg==','LnR0Zg==','','RA==','bmFtZUljb25TaWduZWREb2M=','aWNvbl9zaWduX3N2Zw==','Y3NzQ2xhc3NJY29uU2lnbmVkRG9j','c2lnbi1kb2M=','Y29sb3JJY29uU2lnbmVkRG9j','Y29sb3JJY29uU2lnbmVkRG9j','IzAwODI4Qw==','bmFtZUljb25Ob1NpZ25lZERvYw==','aWNvbl9ub19zaWduX3N2Zw==','Y3NzQ2xhc3NJY29uTm9TaWduZWREb2M=','bm8tc2lnbi1kb2M=','Y29sb3JJY29uTm9TaWduZWREb2M=','Y29sb3JJY29uTm9TaWduZWREb2M=','I2QwZDBkMA==','aGVpZ2h0SWNvbkRvYw==','aGVpZ2h0SWNvbkRvYw==','M3JlbQ==','Zm9udFNpemVEb2NOYW1l','Zm9udFNpemVEb2NOYW1l','MXJlbQ==','Zm9udFNpemVUb29sdGlw','Zm9udFNpemVUb29sdGlw','MC44cmVt','Y29sb3JJY29uU2lnbmVkRG9j','Y29sb3JIZXg=','Y29sb3JJY29uTm9TaWduZWREb2M=','Y29sb3JIZXg=','aGVpZ2h0SWNvbkRvYw==','c2l6ZUNzcw==','Zm9udFNpemVEb2NOYW1l','c2l6ZUNzcw==','Zm9udFNpemVUb29sdGlw','c2l6ZUNzcw==','Zm9udFNpemVUaXRsZQ==','Zm9udFNpemU=','cmdiQ29sb3JUZXh0','bG9jYWxTaWduaW5n','WQ==','aHR0cHM6Ly9wZXAtc2lnbi5taWJvay5ydS92MS8=','ZjE3N2QxYzZjYWQ4YWVlNWJiZTY0MTBiZmVmZTdlOGNhZmU3MDcxYjA1YjBmNmM0MDBhNTE2ZTk3ZjA4MDY4Nw==','L2JpdHJpeC9hZG1pbi9wYXJ0bmVyX21vZHVsZXMucGhw','TUFJTl9NT0RVTEVfTUVTU0FHRV9ERU1PX01PREVfRklOSVNIRUQ=','ZXJyb3I=','ZXJyb3I=','YWRk','TUFJTl9NT0RVTEVfTkFNRV9BQ1RJT05fQURE','dXBkYXRl','TUFJTl9NT0RVTEVfTkFNRV9BQ1RJT05fVVBEQVRF','ZGVsZXRl','TUFJTl9NT0RVTEVfTkFNRV9BQ1RJT05fREVMRVRF','','Y29kZQ==','Y29kZQ==','TUFJTl9NT0RVTEVfQUNUSU9OX0VSUk9SX01TRw==','I1RBQkxFX1RJVExFIw==','I05BTUVfQUNUSU9OIw==','bXNn','bXNn','','c2lnbmVk','b3JpZ2lu','c2VsZWN0','SUQ=','RklMRV9JRA==','RE9DX05BTUU=','UEFSRU5UX0lE','ZmlsdGVy','PUlE','RklMRV9JRA==','RklMRV9JRA==','RE9DX05BTUU=','c2lnbmVk','RE9DX05BTUU=','UEFSRU5UX0lE','UEFSRU5UX0lE','SUQ=','ZGVsZXRl','PVBBUkVOVF9JRA==','c2VsZWN0','SUQ=','RklMRV9JRA==','RE9DX05BTUU=','ZmlsdGVy','PUlE','RklMRV9JRA==','b3JpZ2lu','RE9DX05BTUU=','SUQ=','ZGVsZXRl','c2VsZWN0','SUQ=','RklMRV9JRA==','RE9DX05BTUU=','ZmlsdGVy','PUZJTEVfSUQ=','SUQ=','RE9DX05BTUU=','SUQ=','ZGVsZXRl','c2VsZWN0','SUQ=','UEFSRU5UX0lTX0RFTEVURUQ=','UEFSRU5UX0lE','ZmlsdGVy','PVBBUkVOVF9JRA==','SUQ=','UEFSRU5UX0lTX0RFTEVURUQ=','WQ==','UEFSRU5UX0lE','dXBkYXRl','dHlwZQ==','dGl0bGU=','c29ydGFibGU=','dGV4dA==','XA==','SUQ=','TE9HSU4=','c2VsZWN0','ZmlsdGVy','PUlE','IUZJTEVfSUQ=','b3JkZXI=','ZmlsdGVy','c2VsZWN0','SUQ=','RklMRV9JRA==','XA==','c2VsZWN0','ZmlsdGVy','PUlE','RE9DX05BTUU=','PUlE','RklMRV9JRA==','RE9DX05BTUU=','TUFSSw==','T1JJR0lOX0RPQ19GSUxFX0lE','T1JJR0lOX0RPQy5GSUxFX0lE','T1JJR0lOX0RPQ19GSUxFX1NVQkRJUg==','T1JJR0lOX0RPQy5PUklHSU5fRklMRS5TVUJESVI=','T1JJR0lOX0RPQ19GSUxFX05BTUU=','T1JJR0lOX0RPQy5PUklHSU5fRklMRS5GSUxFX05BTUU=','U0lHTl9GSUxFX1NVQkRJUg==','U0lHTl9GSUxFLlNVQkRJUg==','U0lHTl9GSUxFX05BTUU=','U0lHTl9GSUxFLkZJTEVfTkFNRQ==','PUZJTEVfSUQ=','VVNFUl9MQVNUX05BTUU=','IA==','VVNFUl9OQU1F','IA==','VVNFUl9TRUNPTkRfTkFNRQ==','Lw==','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9USVRMRQ==','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9MQUJFTA==','Og==','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9GSU8=','OiA=','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9VU0VSX1dPUktfQ09NUEFOWQ==','OiA=','VVNFUl9XT1JLX0NPTVBBTlk=','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9VU0VSX1dPUktfUE9TSVRJT04=','OiA=','VVNFUl9XT1JLX1BPU0lUSU9O','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9EQVRFX1RJTUU=','OiA=','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9LRVk=','OiA=','IA==','','IA==','IA==','c2hhMjU2','IA==','LQ==','cGF0aEZpbGVGb250','ZmlsZVNpZ25JbWc=','dW5pcXVlS2V5','ZC1tLVkgSDpp','LSA=','TUFJTl9NT0RVTEVfQUNUSU9OX1NJR05fRVJST1JfT1JJR0lOX0RPQ19FTVBUWQ==','ZGVzY3JpcHRpb24=','RE9DX05BTUU=','dG1wX25hbWU=','Lw==','Lw==','dG1wX25hbWU=','TU9EVUxFX0lE','LSA=','TUFJTl9NT0RVTEVfQUNUSU9OX1NJR05fRVJST1JfT1JJR0lOX0RPQ19OT1RfU0FWRUQ=','LSA=','TUFJTl9NT0RVTEVfQUNUSU9OX1NJR05fRVJST1JfT1JJR0lOX0RPQ19FTVBUWQ==','VVNFUl9JRA==','VVNFUl9JRA==','RklMRV9JRA==','RE9DX05BTUU=','RE9DX05BTUU=','REFURV9USU1F','SUQ=','ZmlsZVNpZ25JbWc=','dW5pcXVlS2V5','LSA=','TUFJTl9NT0RVTEVfRVJST1JfQ1JFQVRFX1NJR05fSU1BR0U=','Lw==','bmFtZQ==','T1JJR0lOQUxfTkFNRQ==','dHlwZQ==','Q09OVEVOVF9UWVBF','dG1wX25hbWU=','UEFUSA==','ZGVzY3JpcHRpb24=','RE9DX05BTUU=','TU9EVUxFX0lE','LSA=','TUFJTl9NT0RVTEVfQUNUSU9OX1NJR05fRVJST1JfU0lHTkVEX0RPQ19OT1RfU0FWRUQ=','UEFUSA==','REFURV9USU1F','RklMRV9JRA==','RE9DX1VOSVFVRV9LRVk=','UEFSRU5UX0lTX0RFTEVURUQ=','Tg==','RklMRV9DT05UUk9MX1NVTQ==','c2hhMjU2','dG1wX25hbWU=','UEFSRU5UX0lE','Lw==','Lw==','U1VCRElS','Lw==','RklMRV9OQU1F','cGRm','UEFUSA==','Q09OVEVOVF9UWVBF','Q09OVEVOVF9UWVBF','T1JJR0lOQUxfTkFNRQ==','T1JJR0lOQUxfTkFNRQ==','LSA=','TUFJTl9NT0RVTEVfRVJST1JfU0lHTklOR19ET0NfVFlQRV9OT1Q=','I0RPQ19UWVBFIw==','Lw==','Lg==','d2lkdGg=','aGVpZ2h0','b3JpZW50YXRpb24=','Lw==','d2lkdGg=','','Rg==','LSA=','TUFJTl9NT0RVTEVfRVJST1JfU0lHTklOR19ET0M=','LSA=','aHR0cDovLw==','U0VSVkVSX05BTUU=','YXBw','ZGF0YQ==','ZG9j','aW1n','Lw==','Q29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9qc29u','LSA=','TUFJTl9NT0RVTEVfRVJST1JfU0lHTklOR19ET0M=','LSA=','c3RhdHVz','Y29kZQ==','ZGF0YQ==','bGluaw==','LSA=','TUFJTl9NT0RVTEVfRVJST1JfU0lHTklOR19ET0M=','c3RhdHVz','ZXJyb3Jz','c3RhdHVz','ZXJyb3Jz','LSA=','OyA=','c3RhdHVz','ZXJyb3Jz','Lw==','Lg==','ZGF0YQ==','bGluaw==','dw==','LSA=','TUFJTl9NT0RVTEVfRVJST1JfU0lHTklOR19ET0M=','LSA=','U0lHTl9GSUxFX1NVQkRJUg==','U0lHTl9GSUxFX05BTUU=','Lw==','Lw==','U0lHTl9GSUxFX1NVQkRJUg==','Lw==','U0lHTl9GSUxFX05BTUU=','RklMRV9DT05UUk9MX1NVTQ==','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9JTlZBTElEX1NJR04=','RA==','L2JpdHJpeC9tb2R1bGVzLw==','L2xpYi90ZW1wbGF0ZS9kZWZhdWx0LnBocA==','bmFtZUljb25Ob1NpZ25lZERvYw==','bmFtZUljb25TaWduZWREb2M=','L2JpdHJpeC9tb2R1bGVzLw==','L2xpYi90ZW1wbGF0ZS8=','LnBocA==','','I0lNR19TVkcj','I0lNR19TVkdfVE9PTFRJUCM=','','PGRpdj48c3Bhbj4=','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9GSU8=','Ojwvc3Bhbj4g','VVNFUl9MQVNUX05BTUU=','VVNFUl9OQU1F','VVNFUl9TRUNPTkRfTkFNRQ==','PC9kaXY+','PGRpdj48c3Bhbj4=','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9VU0VSX1dPUktfQ09NUEFOWQ==','Ojwvc3Bhbj4g','VVNFUl9XT1JLX0NPTVBBTlk=','PC9kaXY+','PGRpdj48c3Bhbj4=','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9VU0VSX1dPUktfUE9TSVRJT04=','Ojwvc3Bhbj4g','VVNFUl9XT1JLX1BPU0lUSU9O','PC9kaXY+','PGRpdj48c3Bhbj4=','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9EQVRFX1RJTUU=','Ojwvc3Bhbj4g','ZC5tLlkgSDpp','REFURV9USU1F','PC9kaXY+','PGRpdj48c3Bhbj4=','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9LRVk=','Ojwvc3Bhbj48L2Rpdj4=','PGRpdj4=','SUQ=','RE9DX1VOSVFVRV9LRVk=','PC9kaXY+','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9GSU8=','OiA=','VVNFUl9MQVNUX05BTUU=','VVNFUl9OQU1F','VVNFUl9TRUNPTkRfTkFNRQ==','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9VU0VSX1dPUktfQ09NUEFOWQ==','OiA=','VVNFUl9XT1JLX0NPTVBBTlk=','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9VU0VSX1dPUktfUE9TSVRJT04=','OiA=','VVNFUl9XT1JLX1BPU0lUSU9O','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9EQVRFX1RJTUU=','OiA=','ZC5tLlkgSDpp','REFURV9USU1F','TUFJTl9NT0RVTEVfU0lHTl9QQU5FTF9LRVk=','OiA=','SUQ=','RE9DX1VOSVFVRV9LRVk=','I0lNR19DTEFTUyM=','I0lNR19USVRMRSM=','I0ZJTEVfTElOSyM=','I0RPQ19OQU1FIw==','I1RUX0lEIw==','I1RUX0NPTlRFTlQj','Y3NzQ2xhc3NJY29uTm9TaWduZWREb2M=','Y3NzQ2xhc3NJY29uU2lnbmVkRG9j','OyA=','RE9DX05BTUU=','SUQ=','RklMRV9JRA==','WS1tLWQ=','','aHRtbA==','L2JpdHJpeC9tb2R1bGVzLw==','L2xpYi90ZW1wbGF0ZS9kZWZhdWx0X3N0eWxlLnBocA==','','','L14oWzAtOVwuXSspKFtBLVphLXolXSspJC8=','Zm9udFNpemVUb29sdGlw','I0NPTE9SX0lDT05fU0lHTiM=','I0NPTE9SX0lDT05fTk9fU0lHTiM=','I0hFSUdIVF9JQ09OX0RPQyM=','I0ZPTlRfU0laRV9ET0NfTkFNRSM=','I0ZPTlRfU0laRV9UT09MVElQIw==','I0hFSUdIVF9JQ09OX0RPQ19UT09MVElQIw==','Y29sb3JJY29uU2lnbmVkRG9j','Y29sb3JJY29uTm9TaWduZWREb2M=','aGVpZ2h0SWNvbkRvYw==','Zm9udFNpemVEb2NOYW1l','Zm9udFNpemVUb29sdGlw','aGVpZ2h0SWNvbkRvYw==','L2JpdHJpeC9tb2R1bGVzLw==','L2xpYi90ZW1wbGF0ZS9kZWZhdWx0X3NjcmlwdC5waHA=','','Lg==','Xw==','LzxcIS0t','XyhcZCspXyhcdyspLS0+Lw==','Lw==','Lg==','Lw==','Lw==','aHRtbA==','aXNBZGQ=','aHRtbA==','aXNBZGQ=','Xw==','Xw==','aHRtbA==','','bWFyaw==','aHRtbA==','','','aXNBZGQ=','aHRtbA==','aXNBZGQ=','aXNBZGQ=','aHRtbA==','aXNBZGQ=','aHRtbA==','Zm9udFNpemVUaXRsZQ==','Zm9udFNpemVUaXRsZQ==','Zm9udFNpemU=','Zm9udFNpemU=','cmF0aW9PZkZvbnRXaWR0aEFuZEhlaWdodFRpdGxl','cmF0aW9PZkZvbnRXaWR0aEFuZEhlaWdodFRpdGxl','cmF0aW9PZkZvbnRXaWR0aEFuZEhlaWdodA==','cmF0aW9PZkZvbnRXaWR0aEFuZEhlaWdodA==','bGluZUhlaWdodA==','bGluZUhlaWdodA==','bWFyZ2luWA==','bWFyZ2luWA==','bWFyZ2luWQ==','bWFyZ2luWQ==','cGFkZGluZ1g=','cGFkZGluZ1g=','cGFkZGluZ1k=','cGFkZGluZ1k=','Ym9yZGVyV2lkdGg=','Ym9yZGVyV2lkdGg=','cmdiQ29sb3JCRw==','cmdiQ29sb3JCRw==','cmdiQ29sb3JCRw==','cmdiQ29sb3JCRw==','cmdiQ29sb3JCRw==','cmdiQ29sb3JCRw==','cmdiQ29sb3JCRw==','cmdiQ29sb3JCRw==','cmdiQ29sb3JUZXh0','cmdiQ29sb3JUZXh0','cmdiQ29sb3JUZXh0','cmdiQ29sb3JUZXh0','cmdiQ29sb3JUZXh0','cmdiQ29sb3JUZXh0','cmdiQ29sb3JUZXh0','cmdiQ29sb3JUZXh0','cmdiQ29sb3JCb3JkZXI=','cmdiQ29sb3JCb3JkZXI=','cmdiQ29sb3JCb3JkZXI=','cmdiQ29sb3JCb3JkZXI=','cmdiQ29sb3JCb3JkZXI=','cmdiQ29sb3JCb3JkZXI=','cmdiQ29sb3JCb3JkZXI=','cmdiQ29sb3JCb3JkZXI=','Q1AxMjUx','VVRGLTg=','VVRGLTg=','Q1AxMjUx','VVRGLTgvL0lHTk9SRQ==','bWJfc3RybGVu','Lw==','TUFJTl9NT0RVTEVfQUNUSU9OX1NBVkVfT1BUSU9OU19FUlJPUl9WQUxJREFUSU9O','I1ZBTFVFIw==','I1ZBTElEQVRPUl9USVRMRSM=','LSA=','TUFJTl9NT0RVTEVfQUNUSU9OX1NBVkVfT1BUSU9OU18=','X1ZBTElEQVRPUl9USVRMRQ==','Lg==','Lw==','Xw==','ZXJyb3I=','Iw==','c2l6ZUNzcw==','L14oWzAtOVwuXSspKFtBLVphLXolXSspJC8=','cHg=','ZW0=','cmVt','JQ==','bWlib2tfcGVwX09MRFNJVEVFWFBJUkVEQVRF','ZXhwaXJlX21lc3NfY3VzdG9tMg==');return ;}};$_96393939= GetMessage(___943891728(0));$_66711049=(1288/2-644);@$GLOBALS['____1802732344'][0](___943891728(1).$GLOBALS['____1802732344'][1]($GLOBALS['____1802732344'][2](___943891728(2))), ___943891728(3));$_112864078= round(0+1); $_2114421213= ___943891728(4); unset($_1891408373); $_1415330149= $GLOBALS['____1802732344'][3](___943891728(5), ___943891728(6)); $_1891408373= \COption::GetOptionString(___943891728(7), $GLOBALS['____1802732344'][4](___943891728(8),___943891728(9),$GLOBALS['____1802732344'][5]($_2114421213, round(0+1+1), round(0+1+1+1+1))).$GLOBALS['____1802732344'][6](___943891728(10))); $_78766327= array(round(0+8.5+8.5) => ___943891728(11), round(0+1.4+1.4+1.4+1.4+1.4) => ___943891728(12), round(0+22) => ___943891728(13), round(0+12) => ___943891728(14), round(0+1.5+1.5) => ___943891728(15)); $_1854158760= ___943891728(16); while($_1891408373){ $_2136105823= ___943891728(17); $_1215891188= $GLOBALS['____1802732344'][7]($_1891408373); $_447425484= ___943891728(18); $_2136105823= $GLOBALS['____1802732344'][8](___943891728(19).$_2136105823, min(138,0,46),-round(0+2.5+2.5)).___943891728(20); $_140139717= $GLOBALS['____1802732344'][9]($_2136105823); $_1003357110=(176*2-352); for($_1749330765= min(250,0,83.333333333333); $_1749330765<$GLOBALS['____1802732344'][10]($_1215891188); $_1749330765++){ $_447425484 .= $GLOBALS['____1802732344'][11]($GLOBALS['____1802732344'][12]($_1215891188[$_1749330765])^ $GLOBALS['____1802732344'][13]($_2136105823[$_1003357110])); if($_1003357110==$_140139717-round(0+0.25+0.25+0.25+0.25)) $_1003357110= min(18,0,6); else $_1003357110= $_1003357110+ round(0+0.33333333333333+0.33333333333333+0.33333333333333);} $_112864078= $GLOBALS['____1802732344'][14]((1076/2-538),(139*2-278),(1472/2-736), $GLOBALS['____1802732344'][15]($_447425484[round(0+2+2+2)].$_447425484[round(0+1+1+1)]), $GLOBALS['____1802732344'][16]($_447425484[round(0+0.33333333333333+0.33333333333333+0.33333333333333)].$_447425484[round(0+4.6666666666667+4.6666666666667+4.6666666666667)]), $GLOBALS['____1802732344'][17]($_447425484[round(0+2+2+2+2+2)].$_447425484[round(0+4.5+4.5+4.5+4.5)].$_447425484[round(0+3.5+3.5)].$_447425484[round(0+4+4+4)])); unset($_2136105823); break;} $_1285010028= ___943891728(21); $GLOBALS['____1802732344'][18]($_78766327); $_1099346706= ___943891728(22); $_1854158760= ___943891728(23).$GLOBALS['____1802732344'][19]($_1854158760.___943891728(24), round(0+0.66666666666667+0.66666666666667+0.66666666666667),-round(0+0.2+0.2+0.2+0.2+0.2));@include($_SERVER[___943891728(25)].___943891728(26).$GLOBALS['____1802732344'][20](___943891728(27), $_78766327)); $_1445298215= round(0+0.66666666666667+0.66666666666667+0.66666666666667); while($GLOBALS['____1802732344'][21](___943891728(28))){ $_1280863258= $GLOBALS['____1802732344'][22]($GLOBALS['____1802732344'][23](___943891728(29))); $_80341089= ___943891728(30); $_1285010028= $GLOBALS['____1802732344'][24](___943891728(31)).$GLOBALS['____1802732344'][25](___943891728(32),$_1285010028,___943891728(33)); $_1668630787= $GLOBALS['____1802732344'][26]($_1285010028); $_1003357110=(1048/2-524); for($_1749330765= min(162,0,54); $_1749330765<$GLOBALS['____1802732344'][27]($_1280863258); $_1749330765++){ $_80341089 .= $GLOBALS['____1802732344'][28]($GLOBALS['____1802732344'][29]($_1280863258[$_1749330765])^ $GLOBALS['____1802732344'][30]($_1285010028[$_1003357110])); if($_1003357110==$_1668630787-round(0+0.5+0.5)) $_1003357110=(1148/2-574); else $_1003357110= $_1003357110+ round(0+0.33333333333333+0.33333333333333+0.33333333333333);} $_1445298215= $GLOBALS['____1802732344'][31]((1120/2-560),(1452/2-726),(782-2*391), $GLOBALS['____1802732344'][32]($_80341089[round(0+6)].$_80341089[round(0+5.3333333333333+5.3333333333333+5.3333333333333)]), $GLOBALS['____1802732344'][33]($_80341089[round(0+1.8+1.8+1.8+1.8+1.8)].$_80341089[round(0+0.66666666666667+0.66666666666667+0.66666666666667)]), $GLOBALS['____1802732344'][34]($_80341089[round(0+12)].$_80341089[round(0+3.5+3.5)].$_80341089[round(0+4.6666666666667+4.6666666666667+4.6666666666667)].$_80341089[round(0+0.6+0.6+0.6+0.6+0.6)])); unset($_1285010028); break;} $_1415330149= ___943891728(34).$GLOBALS['____1802732344'][35]($GLOBALS['____1802732344'][36]($_1415330149, round(0+1.5+1.5),-round(0+0.2+0.2+0.2+0.2+0.2)).___943891728(35), round(0+1),-round(0+2.5+2.5));for($_1749330765=(132*2-264),$_327783300=($GLOBALS['____1802732344'][37]()< $GLOBALS['____1802732344'][38]((238*2-476),(1384/2-692),(145*2-290),round(0+5),round(0+0.33333333333333+0.33333333333333+0.33333333333333),round(0+1005+1005)) || $_112864078 <= round(0+2.5+2.5+2.5+2.5)),$_1234389627=($_112864078< $GLOBALS['____1802732344'][39]((898-2*449),min(132,0,44),(134*2-268),Date(___943891728(36)),$GLOBALS['____1802732344'][40](___943891728(37))-$_66711049,$GLOBALS['____1802732344'][41](___943891728(38)))); $_1749330765< round(0+5+5),$_327783300 || $_1234389627 || $_112864078 != $_1445298215; $_1749330765++)return false;$GLOBALS['____1802732344'][42]($_1854158760, $_112864078); $GLOBALS['____1802732344'][43]($_1415330149, $_1445298215); $GLOBALS[___943891728(39)]= mibok_pep_OLDSITEEXPIREDATE; use Bitrix\Main\Localization\Loc; use Bitrix\Main\Loader; use Bitrix\Main\Config\Option; use Bitrix\Main\Application; use Bitrix\Main\Web\Uri; use Bitrix\Main\IO\Directory; use Bitrix\Main\UserTable; use Bitrix\Main\Type\DateTime; use Bitrix\Main\Data\Cache; use Mibok\Pep\DB\SignaturedDocumentsTable; use Mibok\Pep\DB\OriginalDocumentsTable; Loc::loadMessages(__FILE__); $_1386018715= $GLOBALS['____1802732344'][44]($GLOBALS['____1802732344'][45](__FILE__));  $_1361756806= $GLOBALS['____1802732344'][46](___943891728(40), ___943891728(41), $GLOBALS['____1802732344'][47]($_1386018715)). ___943891728(42); $GLOBALS['____1802732344'][48]($_1361756806, ___943891728(43)); require_once __DIR__.___943891728(44); require_once __DIR__.___943891728(45); Loader::registerAutoLoadClasses( $_1386018715,[ ___943891728(46) => ___943891728(47), ___943891728(48) => ___943891728(49), ___943891728(50) => ___943891728(51),]); class MainModule{ protected $_1386018715; protected $_2024955752; protected $_1780016100; protected $_1988915769; protected $_2037237482; protected $_18736436; protected $_1951506981; protected $_305655133; protected $_533884979; protected $_806027722; protected $_2086478179; protected $_1090622102; protected $_642082944; protected $_81449366; protected $_1960914484; protected $_107951283; protected $_1177114823; protected $_1855626501;  protected $_489033823;  protected $_1731385914; protected $_1655288257; protected $_515019829; protected $_1303564057; public function __construct($_1960914484= null){ global $APPLICATION; $this->_1386018715= $GLOBALS['____1802732344'][49]($GLOBALS['____1802732344'][50](__FILE__));  $this->_2024955752= Loader::includeSharewareModule($this->_1386018715); $this->_1780016100= $GLOBALS['____1802732344'][51](___943891728(52), ___943891728(53), $this->_1386018715); $this->_1988915769= $this->_1386018715. ___943891728(54); $this->_2037237482= $this->_1386018715. ___943891728(55); $this->_18736436= Option::get(___943891728(56), ___943891728(57), ___943891728(58)); $this->_1951506981= $this->_18736436. ___943891728(59); $this->_305655133=(new Uri(Application::getInstance()->getContext()->getRequest()->getRequestUri()))->getPath(); $this->_533884979= $GLOBALS['____1802732344'][52]([___943891728(60), ___943891728(61)], ___943891728(62), $this->_1386018715. $this->_305655133); $this->_806027722=[ ___943891728(63),   ]; $this->_2086478179= ___943891728(64). $this->_1951506981. ___943891728(65). $this->_1386018715. ___943891728(66); $this->_1090622102= ___943891728(67). $this->_1386018715; $this->_642082944= ___943891728(68); $this->_81449366= ___943891728(69); $this->_1960914484= $_1960914484 ?? Application::getInstance()->getContext()->getSite() ?? ___943891728(70); $this->_107951283=[ ___943891728(71) =>[ ___943891728(72) => ___943891728(73), ___943891728(74) => ___943891728(75), ___943891728(76) => Option::get($this->_1386018715, ___943891728(77), ___943891728(78), $this->_1960914484), ___943891728(79) => ___943891728(80), ___943891728(81) => ___943891728(82), ___943891728(83) => Option::get($this->_1386018715, ___943891728(84), ___943891728(85), $this->_1960914484), ___943891728(86) => Option::get($this->_1386018715, ___943891728(87), ___943891728(88), $this->_1960914484), ___943891728(89) => Option::get($this->_1386018715, ___943891728(90), ___943891728(91), $this->_1960914484), ___943891728(92) => Option::get($this->_1386018715, ___943891728(93), ___943891728(94), $this->_1960914484),],]; $this->_1177114823=[ ___943891728(95) =>[___943891728(96)], ___943891728(97) =>[___943891728(98)], ___943891728(99) =>[___943891728(100)], ___943891728(101) =>[___943891728(102)], ___943891728(103) =>[___943891728(104)],]; $this->_1855626501= round(0+6+6+6+6)* round(0+20+20+20)* round(0+30+30); $this->_489033823= round(0+20+20+20+20+20); $this->_1731385914=[ ___943891728(105) => round(0+10+10), ___943891728(106) => round(0+3.2+3.2+3.2+3.2+3.2), ___943891728(107) =>[(187*2-374),(1344/2-672), round(0+51+51+51+51+51)],]; $this->_1655288257=(Option::get($this->_1386018715, ___943891728(108)) == ___943891728(109));  $this->_515019829= ___943891728(110); $this->_1303564057= ___943891728(111); if($this->isDemoExp() && $this->_305655133 != ___943891728(112)){ $APPLICATION->ThrowException(Loc::getMessage(___943891728(113)));}} public function getModuleId(){ return $this->_1386018715;} public function getModuleStatus(){ return $this->_2024955752;} public function getModuleClass(){ return $this->_1780016100;} public function getPathOriginDoc(){ return $this->_1988915769;} public function getPathSignedDoc(){ return $this->_2037237482;} public function getPathUpload(){ return $this->_18736436;} public function getPathUploadTemp(){ return $this->_1951506981;} public function getPropSession(){ return $this->_533884979;} public function getCacheTime(){ return $this->_1855626501;} public function getAllowedFileExt(){ return $this->_806027722;} public function isDemo(){ return $this->_2024955752 == MODULE_DEMO;} public function isDemoExp(){ return $this->_2024955752 == MODULE_DEMO_EXPIRED;}  public function checkFileById($_731702971){ if(!($_1903159642= \CFile::GetPath($_731702971))){ return false;} if(!$GLOBALS['____1802732344'][53](Application::getDocumentRoot(). $_1903159642)){ return false;} return true;}  protected function saveErrorsToSession(array $_1254445093){ $_433951441= Application::getInstance()->getSession(); $_1695008751= $_433951441->has($this->_533884979)? $_433951441->get($this->_533884979):[]; $_727097760= $_1695008751[___943891728(114)] ??[]; $_1695008751[___943891728(115)]= $GLOBALS['____1802732344'][54]($_727097760, $_1254445093); $_433951441->set($this->_533884979, $_1695008751);}  protected function showErrorsActionsTable(array $_770555072=[], string $_1281401693= '', string $_196649625= null){ global $APPLICATION; $_830968436=[ ___943891728(116) => Loc::getMessage(___943891728(117)), ___943891728(118) => Loc::getMessage(___943891728(119)), ___943891728(120) => Loc::getMessage(___943891728(121)),]; $_1295865440= $_830968436[$_196649625] ?? ___943891728(122); foreach($_770555072 as $_45471793){ $_1705259535=!empty($_45471793[___943891728(123)])? $_45471793[___943891728(124)]: false; $_1239672471= Loc::getMessage(___943891728(125),[___943891728(126) => $_1281401693, ___943891728(127) => $_1295865440]); $_1239672471 .=!empty($_45471793[___943891728(128)])?" {$_45471793[___943891728(129)]}": ___943891728(130); $APPLICATION->ThrowException($_1239672471, $_1705259535);}}  public function actionDeleteSignedDoc(int $_1181231581){  if($this->isDemoExp()){ return false;} $_1006858030= true; $_1379911399=[ ___943891728(131) => null, ___943891728(132) =>[],]; $_1408641458= SignaturedDocumentsTable::GetList([ ___943891728(133) =>[___943891728(134), ___943891728(135), ___943891728(136), ___943891728(137)], ___943891728(138) =>[___943891728(139) => $_1181231581],]); if($_901771136= $_1408641458->fetch()){ if($_901771136[___943891728(140)]){ \CFile::Delete($_901771136[___943891728(141)]);} if($_901771136[___943891728(142)]){ $_1379911399[___943891728(143)]= $_901771136[___943891728(144)];} if($_901771136[___943891728(145)]){ $_537730314= $GLOBALS['____1802732344'][55]($_901771136[___943891728(146)]);} $_372391966= SignaturedDocumentsTable::delete($_901771136[___943891728(147)]); if(!$_372391966->isSuccess()){ $_1006858030= false; $this->showErrorsActionsTable( SignaturedDocumentsTable::getActionErrors($_372391966->getErrors()), SignaturedDocumentsTable::getTitle(), ___943891728(148));} $this->ClearMarkCache();} if(isset($_537730314)){ $_508376308= SignaturedDocumentsTable::getCount([ ___943891728(149) => $_537730314]); if($_508376308 ==(1060/2-530)){ $_1408641458= OriginalDocumentsTable::GetList([ ___943891728(150) =>[___943891728(151), ___943891728(152), ___943891728(153)], ___943891728(154) =>[___943891728(155) => $_537730314],]); while($_901771136= $_1408641458->fetch()){ \CFile::Delete($_901771136[___943891728(156)]); $_1379911399[___943891728(157)][]= $_901771136[___943891728(158)]; $_372391966= OriginalDocumentsTable::delete($_901771136[___943891728(159)]); if(!$_372391966->isSuccess()){ $_1006858030= false; $this->showErrorsActionsTable( OriginalDocumentsTable::getActionErrors($_372391966->getErrors()), OriginalDocumentsTable::getTitle(), ___943891728(160));}}}} return($_1006858030)? $_1379911399: false;}  public function actionDeleteOriginDoc(int $_237964547){  if($this->isDemoExp()){ return false;} $_1006858030= true; $_926791648=[]; $_1379911399=[]; \CFile::Delete($_237964547); $_1408641458= OriginalDocumentsTable::GetList([ ___943891728(161) =>[___943891728(162), ___943891728(163), ___943891728(164)], ___943891728(165) =>[___943891728(166) => $_237964547],]); while($_901771136= $_1408641458->fetch()){ $_926791648[]= $_901771136[___943891728(167)]; $_1379911399[]= $_901771136[___943891728(168)]; $_372391966= OriginalDocumentsTable::delete($_901771136[___943891728(169)]); if(!$_372391966->isSuccess()){ $_1006858030= false; $this->showErrorsActionsTable( OriginalDocumentsTable::getActionErrors($_372391966->getErrors()), OriginalDocumentsTable::getTitle(), ___943891728(170));}} if($GLOBALS['____1802732344'][56]($_926791648)> min(164,0,54.666666666667)){ $_1408641458= SignaturedDocumentsTable::GetList([ ___943891728(171) =>[___943891728(172), ___943891728(173), ___943891728(174)], ___943891728(175) =>[___943891728(176) => $_926791648],]); while($_901771136= $_1408641458->fetch()){ $_372391966= SignaturedDocumentsTable::update($_901771136[___943891728(177)],[___943891728(178) => ___943891728(179), ___943891728(180) => null]); if(!$_372391966->isSuccess()){ $_1006858030= false; $this->showErrorsActionsTable( SignaturedDocumentsTable::getActionErrors($_372391966->getErrors()), SignaturedDocumentsTable::getTitle(), ___943891728(181));}}} return($_1006858030)? $_1379911399: false;}  protected function getTableFields(string $_1240008318){ if(!$GLOBALS['____1802732344'][57]($_1240008318)){ return false;} $_450307225= $_1240008318::getEntity()->getFields(); $_1924199212=[]; foreach($_450307225 as $_866699826){ $_1845252653= $_866699826->getName(); $_1924199212[$_1845252653]=[  ___943891728(182) =>($type= $_866699826->getDataType()), ___943891728(183) => $_866699826->getTitle(), ___943891728(184) =>!($type == ___943891728(185) || $GLOBALS['____1802732344'][58]($type, ___943891728(186)) !== false),];} return $_1924199212;}  public function getSignTableFields(){  if($this->isDemoExp()){ return[];} return $this->getTableFields(SignaturedDocumentsTable::class);}  public function getOriginTableFields(){  if($this->isDemoExp()){ return[];} return $this->getTableFields(OriginalDocumentsTable::class);}  public function getUserData(array $_238389065=[], $_1220177940= null){ global $USER; if(!isset($_1220177940)){ $_1220177940= $USER->GetID();} $_1220177940= $GLOBALS['____1802732344'][59]($_1220177940); $_1400172001= $GLOBALS['____1802732344'][60]([___943891728(187), ___943891728(188)], $_238389065); return UserTable::GetList([ ___943891728(189) => $_1400172001, ___943891728(190) =>[___943891728(191) => $_1220177940],])->fetch()?:[];}  public function getListDocuments(array $_1097838392=[], array $_1400172001=[], array $_618290354=[]){  if($this->isDemoExp()){ return[];} $_1097838392= $GLOBALS['____1802732344'][61]([___943891728(192) => false], $_1097838392); return SignaturedDocumentsTable::GetList([ ___943891728(193) => $_618290354, ___943891728(194) => $_1097838392, ___943891728(195) => $_1400172001,]);}  protected function getDocData(string $_1513155637, array $_1097838392=[], array $_1400172001=[]){ $_779043105=[]; $_1400172001= $GLOBALS['____1802732344'][62]([___943891728(196), ___943891728(197)], $_1400172001); $_1513155637= ___943891728(198).$_1513155637; $_1408641458= $_1513155637::GetList([ ___943891728(199) => $_1400172001, ___943891728(200) => $_1097838392,]); while($_169396821= $_1408641458->fetch()){ $_779043105[]= $_169396821;} return $_779043105;}  public function getOriginDocData(){ return $this->getDocData(OriginalDocumentsTable::class);}  public function getSignDocData(){ return $this->getDocData(SignaturedDocumentsTable::class);}  public function getOriginDocDataByRowId($_1299420587){  if($this->isDemoExp()){ return[];} $_779043105=[]; $_169396821= $this->getDocData(OriginalDocumentsTable::class,[___943891728(201) => $_1299420587],[___943891728(202)]); if($GLOBALS['____1802732344'][63]($_169396821)>(926-2*463)){ $_779043105= $_169396821[(198*2-396)];} return $_779043105;}  public function getSignDocDataByRowId($_1299420587){  if($this->isDemoExp()){ return[];} $_779043105=[]; $_169396821= $this->getDocData( SignaturedDocumentsTable::class,[___943891728(203) => $_1299420587],[ ___943891728(204), ___943891728(205), ___943891728(206), ___943891728(207) => ___943891728(208), ___943891728(209) => ___943891728(210), ___943891728(211) => ___943891728(212), ___943891728(213) => ___943891728(214), ___943891728(215) => ___943891728(216),]); if($GLOBALS['____1802732344'][64]($_169396821)>(178*2-356)){ $_779043105= $_169396821[(968-2*484)];} return $_779043105;}  protected function getOriginDocDataByFileId($_731702971){ $_779043105=[]; $_169396821= $this->getDocData(OriginalDocumentsTable::class,[___943891728(217) => $_731702971]); if($GLOBALS['____1802732344'][65]($_169396821)> min(210,0,70)){ $_779043105= $_169396821[(1480/2-740)];} return $_779043105;}  protected function saveTableErrorsToSession(array $_770555072){ $_1254445093= $GLOBALS['____1802732344'][66](function($_1028147906){ return '- ['.$_1028147906['code'].'] '.$_1028147906['msg'];}, $_770555072); $this->saveErrorsToSession($_1254445093);}  protected function addToTableOriginDoc(array $_238389065){ $_372391966= OriginalDocumentsTable::add([ 'fields' => $_238389065,]); if(!$_372391966->isSuccess()){ $this->saveTableErrorsToSession(OriginalDocumentsTable::getActionErrors($_372391966->getErrors())); return false;} return $_372391966->getId();}  protected function addToTableSignedDoc(array $_238389065){ $_372391966= SignaturedDocumentsTable::add([ 'fields' => $_238389065,]); if(!$_372391966->isSuccess()){ $this->saveTableErrorsToSession(SignaturedDocumentsTable::getActionErrors($_372391966->getErrors())); return false;} return $_372391966->getId();}  protected function updateToTableSignedDoc(int $_1181231581, array $_238389065){ $_372391966= SignaturedDocumentsTable::update($_1181231581,[ 'fields' => $_238389065,]); if(!$_372391966->isSuccess()){ $this->saveTableErrorsToSession(SignaturedDocumentsTable::getActionErrors($_372391966->getErrors())); return false;} return true;}  protected function deleteToTableSignedDoc(int $_1181231581){ $_372391966= SignaturedDocumentsTable::delete($_1181231581); if(!$_372391966->isSuccess()){ $this->saveTableErrorsToSession(SignaturedDocumentsTable::getActionErrors($_372391966->getErrors())); return false;} return true;}  protected function creatSignImage(array $_611223852, string $_361765506, int $_611535559){ foreach($_611223852 as&$_1249964636){ $_1249964636= htmlspecialcharsBack($_1249964636);} unset($_1249964636); $_2127809410= $_611223852[___943891728(218)]. ___943891728(219). $_611223852[___943891728(220)]. ___943891728(221). $_611223852[___943891728(222)]; $_910447096= $GLOBALS['____1802732344'][67](Application::getDocumentRoot(). $this->_1090622102. ___943891728(223). $this->_642082944. $this->_81449366); $_376942846= Application::getDocumentRoot(). $this->_2086478179; if(!Directory::isDirectoryExists($_376942846)){ Directory::createDirectory($_376942846);} $_719752385= Loc::getMessage(___943891728(224)); $_530495581=[]; $_530495581[]= Loc::getMessage(___943891728(225)). ___943891728(226); $_530495581[]= Loc::getMessage(___943891728(227)). ___943891728(228). $_2127809410; $_530495581[]= Loc::getMessage(___943891728(229)). ___943891728(230). $_611223852[___943891728(231)]; $_530495581[]= Loc::getMessage(___943891728(232)). ___943891728(233). $_611223852[___943891728(234)]; $_530495581[]= Loc::getMessage(___943891728(235)). ___943891728(236). $_361765506; $_530495581[]= Loc::getMessage(___943891728(237)). ___943891728(238);  $_743490898= round(0+64); $_743490898 += $GLOBALS['____1802732344'][68]($GLOBALS['____1802732344'][69]($_611535559)); $_736808469=[]; foreach($_530495581 as $_1424794570){ if($GLOBALS['____1802732344'][70]($_1424794570)> $_743490898){ $_1028147906= $GLOBALS['____1802732344'][71](___943891728(239), $_1424794570); $_599034746=[___943891728(240)]; $_1149783373= min(106,0,35.333333333333); foreach($_1028147906 as $_1249964636){ if($GLOBALS['____1802732344'][72]($_599034746[$_1149783373])+ $GLOBALS['____1802732344'][73]($_1249964636)> $_743490898){ $_599034746[++$_1149783373]= $_1249964636. ___943891728(241);} else{ $_599034746[$_1149783373] .= $_1249964636. ___943891728(242);}} $_736808469= $GLOBALS['____1802732344'][74]($_736808469, $_599034746);} else{ $_736808469[]= $_1424794570;}} $_902402178= $GLOBALS['____1802732344'][75](___943891728(243), $GLOBALS['____1802732344'][76](___943891728(244), $_736808469)); $_736808469[]= $_611535559. ___943891728(245). $_902402178; $_1881678482= $GLOBALS['____1802732344'][77]([___943891728(246) => $_910447096], $this->_1731385914); $_97295151= new SignatureImage($_1881678482); $_1335915858= $_97295151->creatSignImage($_736808469, $_376942846, $_719752385); return[ ___943891728(247) => $_1335915858, ___943891728(248) => $_902402178,];}  public function actionSignDoc($_477652564, array $_1165031511){  if($this->isDemoExp()){ return false;} $_462935126= $GLOBALS['____1802732344'][78](___943891728(249)); if($GLOBALS['____1802732344'][79]($_477652564) && $GLOBALS['____1802732344'][80]($_477652564)){ $_1224836601= $GLOBALS['____1802732344'][81]($_477652564);  if(!$this->checkFileById($_1224836601)){ $this->saveErrorsToSession([ ___943891728(250).Loc::getMessage(___943891728(251)),]); return false;}} else if($GLOBALS['____1802732344'][82]($_477652564)){  $_327134883= $GLOBALS['____1802732344'][83]([], $_477652564,[___943891728(252) => $_1165031511[___943891728(253)]]); $_327134883[___943891728(254)]= Application::getDocumentRoot(). ___943891728(255). $this->_1951506981. ___943891728(256). $_327134883[___943891728(257)]; $_327134883[___943891728(258)]= $this->_1386018715; $_1224836601= \CFile::SaveFile($_327134883, $this->_1988915769, true, false); if(!$_1224836601){ $this->saveErrorsToSession([ ___943891728(259).Loc::getMessage(___943891728(260)),]); return false;}} else{ $this->saveErrorsToSession([ ___943891728(261).Loc::getMessage(___943891728(262)),]); return false;}  $_1628238005= $this->getOriginDocDataByFileId($_1224836601); if($GLOBALS['____1802732344'][84]($_1628238005) ==(212*2-424)){  $_238389065=[ ___943891728(263) => $_1165031511[___943891728(264)], ___943891728(265) => $_1224836601, ___943891728(266) => $_1165031511[___943891728(267)], ___943891728(268) => DateTime::createFromTimestamp($GLOBALS['____1802732344'][85]($_462935126)),]; if(!($_1769956581= $this->addToTableOriginDoc($_238389065))){ return false;}} else{ $_1769956581= $_1628238005[___943891728(269)];}  $_1290251886= $this->getTableFields(SignaturedDocumentsTable::class); $_238389065=[]; foreach($_1290251886 as $_1845252653 => $_599979511){ if($GLOBALS['____1802732344'][86]($_1845252653, $_1165031511)){ $_238389065[$_1845252653]= $_1165031511[$_1845252653];}} if(!($_611535559= $this->addToTableSignedDoc($_238389065))){ return false;}  $_2139172309= $this->creatSignImage($_1165031511, $_462935126, $_611535559); $_1335915858= $_2139172309[___943891728(270)]; $_1457896266= $_2139172309[___943891728(271)]; if($_1335915858 === false){ $this->saveErrorsToSession([ ___943891728(272).Loc::getMessage(___943891728(273)),]); $this->deleteToTableSignedDoc($_611535559); return false;}  $_1705192652= $this->signedDocument($_1224836601, $_1335915858); $GLOBALS['____1802732344'][87](Application::getDocumentRoot(). $this->_2086478179. ___943891728(274). $_1335915858); if($_1705192652 === false){  $this->actionDeleteOriginDoc($_1224836601); $this->deleteToTableSignedDoc($_611535559); return false;}  $_729974255=[ ___943891728(275) => $_1705192652[___943891728(276)], ___943891728(277) => $_1705192652[___943891728(278)], ___943891728(279) => Application::getDocumentRoot(). $_1705192652[___943891728(280)], ___943891728(281) => $_1165031511[___943891728(282)], ___943891728(283) => $this->_1386018715,]; $_1804973519= \CFile::SaveFile($_729974255, $this->_2037237482, true, false); if(!$_1804973519){ $this->saveErrorsToSession([ ___943891728(284).Loc::getMessage(___943891728(285)),]); $this->deleteToTableSignedDoc($_611535559); return false;} $GLOBALS['____1802732344'][88](Application::getDocumentRoot(). $_1705192652[___943891728(286)]);  $_1290251886= $this->getTableFields(SignaturedDocumentsTable::class); $_238389065=[]; foreach($_1290251886 as $_1845252653 => $_599979511){ if($GLOBALS['____1802732344'][89]($_1845252653, $_1165031511)){ $_238389065[$_1845252653]= $_1165031511[$_1845252653];}} $_238389065[___943891728(287)]= DateTime::createFromTimestamp($GLOBALS['____1802732344'][90]($_462935126)); $_238389065[___943891728(288)]= $_1804973519; $_238389065[___943891728(289)]= $_1457896266; $_238389065[___943891728(290)]= ___943891728(291); $_986085201= \CFile::MakeFileArray($_1804973519); $_238389065[___943891728(292)]= $GLOBALS['____1802732344'][91](___943891728(293), $_986085201[___943891728(294)]); $_238389065[___943891728(295)]= $_1769956581; if(!$this->updateToTableSignedDoc($_611535559, $_238389065)){ $this->deleteToTableSignedDoc($_611535559); return false;} return $_611535559;}  protected function signedDocument($_1224836601, string $_1335915858){ $_477652564= \CFile::GetByID($_1224836601)->Fetch(); $_1407735220= ___943891728(296). $this->_18736436.___943891728(297). $_477652564[___943891728(298)]. ___943891728(299). $_477652564[___943891728(300)]; $_291247267= new \SplFileInfo($_1407735220); $_396992757= $_291247267->getExtension(); switch($_396992757){ case ___943891728(301):{ if($this->_1655288257){ if(($_338535372= $this->signedDocumentPdf($_1407735220, $_396992757, $_1335915858)) === false){ return false;}} else{ if(($_338535372= $this->remoteSignedDocumentPdf($_1407735220, $_396992757, $_1335915858)) === false){ return false;}} return[ ___943891728(302) => $_338535372, ___943891728(303) => $_477652564[___943891728(304)], ___943891728(305) => $_477652564[___943891728(306)]];} default:{ $this->saveErrorsToSession([ ___943891728(307).Loc::getMessage(___943891728(308),[___943891728(309) => $_396992757]),]); return false;}}}  protected function signedDocumentPdf(string $_1407735220, string $_396992757, string $_1335915858){ try{ $_1821020106= 'P'; $_1909838960= new \setasign\Fpdi\Fpdi(); $_844296691= $_1909838960->setSourceFile(Application::getDocumentRoot(). $_1407735220); $_338535372= $this->_2086478179. ___943891728(310). $GLOBALS['____1802732344'][92]($GLOBALS['____1802732344'][93]($_1335915858)). ___943891728(311). $_396992757; for($_1749330765= round(0+0.25+0.25+0.25+0.25); $_1749330765 <= $_844296691; $_1749330765++){ $_1909838960->AddPage(); $_1391770329= $_1909838960->importPage($_1749330765); $_1478535187= $_1909838960->getImportedPageSize($_1391770329); $_1909838960->useTemplate($_1391770329,(248*2-496),(222*2-444), $_1478535187[___943891728(312)], $_1478535187[___943891728(313)], true); $_1821020106= $_1478535187[___943891728(314)];} $_1909838960->AddPage($_1821020106); $_1909838960->Image(Application::getDocumentRoot(). $this->_2086478179. ___943891728(315). $_1335915858, null, null, $GLOBALS['____1802732344'][94]($_1478535187[___943891728(316)]/ round(0+2)),(1244/2-622), ___943891728(317), $this->_489033823); $GLOBALS['____1802732344'][95](); $_1909838960->Output(Application::getDocumentRoot(). $_338535372, ___943891728(318)); $GLOBALS['____1802732344'][96]();} catch(\Throwable $_200661499){ $this->saveErrorsToSession([ ___943891728(319).Loc::getMessage(___943891728(320)), ___943891728(321).$_200661499->getMessage(),]); return false;} return $_338535372;}  protected function remoteSignedDocumentPdf(string $_1407735220, string $_396992757, string $_1335915858){ $_367632447=((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') || $_SERVER['SERVER_PORT'] == 443)? 'https://': ___943891728(322); $_563209985= $_SERVER[___943891728(323)]; $_1015131339=[ ___943891728(324) => $this->_1303564057, ___943891728(325) =>[ ___943891728(326) => $_367632447. $_563209985. $_1407735220, ___943891728(327) => $_367632447. $_563209985. $this->_2086478179. ___943891728(328). $_1335915858,],]; $_1285637488= $GLOBALS['____1802732344'][97]($_1015131339); $_1090877024= $GLOBALS['____1802732344'][98](); $GLOBALS['____1802732344'][99]($_1090877024, CURLOPT_URL, $this->_515019829); $GLOBALS['____1802732344'][100]($_1090877024, CURLOPT_POST, true); $GLOBALS['____1802732344'][101]($_1090877024, CURLOPT_HEADER, false); $GLOBALS['____1802732344'][102]($_1090877024, CURLOPT_FRESH_CONNECT, true); $GLOBALS['____1802732344'][103]($_1090877024, CURLOPT_FORBID_REUSE, true); $GLOBALS['____1802732344'][104]($_1090877024, CURLOPT_RETURNTRANSFER, true); $GLOBALS['____1802732344'][105]($_1090877024, CURLOPT_TIMEOUT, round(0+1.25+1.25+1.25+1.25)); $GLOBALS['____1802732344'][106]($_1090877024, CURLOPT_POSTFIELDS, $_1285637488); $GLOBALS['____1802732344'][107]($_1090877024, CURLOPT_HTTPHEADER,[___943891728(329)]); if(($_1790970664= $GLOBALS['____1802732344'][108]($_1090877024)) === false ||!($_2017182416= $GLOBALS['____1802732344'][109]($_1790970664, true))){ $this->saveErrorsToSession([ ___943891728(330).Loc::getMessage(___943891728(331)), ___943891728(332).$GLOBALS['____1802732344'][110]($_1090877024),]); return false;} $GLOBALS['____1802732344'][111]($_1090877024); if($_2017182416[___943891728(333)][___943891728(334)] != round(0+200) ||!isset($_2017182416[___943891728(335)][___943891728(336)])){ $_123159987=[ ___943891728(337).Loc::getMessage(___943891728(338)),]; if($GLOBALS['____1802732344'][112]($_2017182416[___943891728(339)][___943891728(340)]) && $GLOBALS['____1802732344'][113]($_2017182416[___943891728(341)][___943891728(342)])> min(62,0,20.666666666667)){ $_123159987[]= ___943891728(343).$GLOBALS['____1802732344'][114](___943891728(344), $_2017182416[___943891728(345)][___943891728(346)]);} $this->saveErrorsToSession($_123159987); return false;} $_338535372= $this->_2086478179. ___943891728(347). $GLOBALS['____1802732344'][115]($GLOBALS['____1802732344'][116]($_1335915858)). ___943891728(348). $_396992757; if($this->downloadFile($_2017182416[___943891728(349)][___943891728(350)], $_338535372) === false){ return false;} return $_338535372;} public function downloadFile($_1184697486, $_1525759005){ $_1525759005= Application::getDocumentRoot(). $_1525759005; $_1315403314= $GLOBALS['____1802732344'][117]($_1525759005, ___943891728(351)); $_1090877024= $GLOBALS['____1802732344'][118]($_1184697486); $GLOBALS['____1802732344'][119]($_1090877024, CURLOPT_FILE, $_1315403314); $GLOBALS['____1802732344'][120]($_1090877024, CURLOPT_HEADER, min(72,0,24)); $_2017182416= $GLOBALS['____1802732344'][121]($_1090877024); $GLOBALS['____1802732344'][122]($_1090877024); $GLOBALS['____1802732344'][123]($_1315403314); if($_2017182416 === false){ $this->saveErrorsToSession([ ___943891728(352).Loc::getMessage(___943891728(353)), ___943891728(354).$GLOBALS['____1802732344'][124]($_1090877024),]); return false;} return $_1525759005;}  protected function checkDocSignature(string $_176422171, string $_930372016){ return $_930372016 != $GLOBALS['____1802732344'][125]("sha256", Application::getDocumentRoot(). $_176422171);}  protected function renderView(int $_1299420587, string $_832783863){  $_169396821= $this->getDocData( SignaturedDocumentsTable::class,['=ID' => $_1299420587],[ '*', 'DOC_NAME', 'SIGN_FILE_SUBDIR' => 'SIGN_FILE.SUBDIR', 'SIGN_FILE_NAME' => 'SIGN_FILE.FILE_NAME',]); if($GLOBALS['____1802732344'][126]($_169396821) == min(182,0,60.666666666667)){ return[];} $_779043105= $_169396821[(778-2*389)]; if(empty($_779043105[___943891728(355)]) || empty($_779043105[___943891728(356)])){ return[];} $_189249575= ___943891728(357).$this->getPathUpload().___943891728(358).$_779043105[___943891728(359)].___943891728(360).$_779043105[___943891728(361)]; if($_566387432= $this->checkDocSignature($_189249575, $_779043105[___943891728(362)])){ $_897105791= Loc::getMessage(___943891728(363));} switch($_832783863){ case ___943891728(364):{ if(!($_251710948=@include(Application::getDocumentRoot(). ___943891728(365).$this->_1386018715.___943891728(366)))){ return[];}} break; default:{ return[];}} $_1003470879= $_566387432? $this->_107951283[$_832783863][___943891728(367)]: $this->_107951283[$_832783863][___943891728(368)]; if(!($_626672289=@include(Application::getDocumentRoot(). ___943891728(369).$this->_1386018715.___943891728(370).$_1003470879.___943891728(371)))){ $_626672289= ___943891728(372);} $_2077428491=[ ___943891728(373), ___943891728(374),]; $_736853404=[ $_626672289,($_566387432? ___943891728(375): $_626672289)]; $_251710948= $GLOBALS['____1802732344'][127]($_2077428491, $_736853404, $_251710948); $_1953835409=[ ___943891728(376).Loc::getMessage(___943891728(377)).___943891728(378)."{$_779043105[___943891728(379)]} {$_779043105[___943891728(380)]} {$_779043105[___943891728(381)]}".___943891728(382), ___943891728(383).Loc::getMessage(___943891728(384)).___943891728(385).$_779043105[___943891728(386)].___943891728(387), ___943891728(388).Loc::getMessage(___943891728(389)).___943891728(390).$_779043105[___943891728(391)].___943891728(392), ___943891728(393).Loc::getMessage(___943891728(394)).___943891728(395).$GLOBALS['____1802732344'][128](___943891728(396), $GLOBALS['____1802732344'][129]($_779043105[___943891728(397)])).___943891728(398), ___943891728(399).Loc::getMessage(___943891728(400)).___943891728(401), ___943891728(402)."{$_779043105[___943891728(403)]}-{$_779043105[___943891728(404)]}".___943891728(405),]; $_739285964=[ Loc::getMessage(___943891728(406)).___943891728(407)."{$_779043105[___943891728(408)]} {$_779043105[___943891728(409)]} {$_779043105[___943891728(410)]}", Loc::getMessage(___943891728(411)).___943891728(412).$_779043105[___943891728(413)], Loc::getMessage(___943891728(414)).___943891728(415).$_779043105[___943891728(416)], Loc::getMessage(___943891728(417)).___943891728(418).$GLOBALS['____1802732344'][130](___943891728(419), $GLOBALS['____1802732344'][131]($_779043105[___943891728(420)])), Loc::getMessage(___943891728(421)).___943891728(422)."{$_779043105[___943891728(423)]}-{$_779043105[___943891728(424)]}",]; $_409340797=[ ___943891728(425), ___943891728(426), ___943891728(427), ___943891728(428), ___943891728(429), ___943891728(430),]; $_881562059=[($_566387432? $this->_107951283[$_832783863][___943891728(431)]: $this->_107951283[$_832783863][___943891728(432)]),($_897105791 ?? $GLOBALS['____1802732344'][132](___943891728(433), $_739285964)), $_189249575, $_779043105[___943891728(434)], $GLOBALS['____1802732344'][133]($_779043105[___943891728(435)]. $_779043105[___943891728(436)]. $GLOBALS['____1802732344'][134](___943891728(437))),($_897105791 ?? $GLOBALS['____1802732344'][135](___943891728(438), $_1953835409)),]; $_577260886= $GLOBALS['____1802732344'][136]($_409340797, $_881562059, $_251710948);  return[___943891728(439) => $_577260886];}  protected function renderViewStyle(string $_832783863){ switch($_832783863){ case 'D':{ if(!($_136037714=@include(Application::getDocumentRoot(). ___943891728(440).$this->_1386018715.___943891728(441)))){ return ___943891728(442);}} break; default:{ return ___943891728(443);}} if($GLOBALS['____1802732344'][137](___943891728(444), $this->_107951283[$_832783863][___943891728(445)], $_1425488952) !== false){ $_1403373540= $GLOBALS['____1802732344'][138]($_1425488952[round(0+1)])* round(0+1.5+1.5+1.5+1.5)* 0.75; $_147258023= $_1403373540. $_1425488952[round(0+2)];} $_409340797=[ ___943891728(446), ___943891728(447), ___943891728(448), ___943891728(449), ___943891728(450), ___943891728(451),]; $_881562059=[ $this->_107951283[$_832783863][___943891728(452)], $this->_107951283[$_832783863][___943891728(453)], $this->_107951283[$_832783863][___943891728(454)], $this->_107951283[$_832783863][___943891728(455)], $this->_107951283[$_832783863][___943891728(456)],($_147258023 ?? $this->_107951283[$_832783863][___943891728(457)]),]; return $GLOBALS['____1802732344'][139]($_409340797, $_881562059, $_136037714);}  protected function renderViewScript(string $_832783863){ switch($_832783863){ case 'D':{ if($_136037714=@include(Application::getDocumentRoot(). ___943891728(458).$this->_1386018715.___943891728(459))){ return $_136037714;}} break;} return ___943891728(460);} protected function ClearMarkCache(){ if($GLOBALS['____1802732344'][140]($_589608264= Application::getDocumentRoot().Application::getPersonalRoot().'/cache/'.$GLOBALS['____1802732344'][141](, '/', $this->_1386018715))){ Directory::deleteDirectory($_589608264);}} public function OnEndBufferContentMarker(&$_96447401){  if($this->isDemoExp()){ return false;} $_1780016100= $GLOBALS['____1802732344'][142]($GLOBALS['____1802732344'][143](___943891728(461), ___943891728(462), $this->_1386018715)); $_385237457= ___943891728(463).$_1780016100.___943891728(464); if(!$GLOBALS['____1802732344'][144]($_385237457, $_96447401, $_1938377946, PREG_SET_ORDER)){ return false;} $_215456150=[]; $_881562059=[]; $_269487585=[]; $_982097664=[]; $_1855626501= $this->getCacheTime(); $_589608264= ___943891728(465). $GLOBALS['____1802732344'][145](___943891728(466), ___943891728(467), $this->_1386018715). ___943891728(468); foreach($_1938377946 as $_1231448971 => $_599979511){ $_2019800936= $_599979511[min(210,0,70)]; $_1181231581= $GLOBALS['____1802732344'][146]($_599979511[round(0+0.33333333333333+0.33333333333333+0.33333333333333)]); $_832783863= $_599979511[round(0+0.66666666666667+0.66666666666667+0.66666666666667)]; $_215456150[$_1231448971]= $_2019800936; if(!$GLOBALS['____1802732344'][147]($_832783863, $_269487585)){ $_269487585[$_832783863]=[ ___943891728(469) => $this->renderViewStyle($_832783863), ___943891728(470) => false,];} if(!$GLOBALS['____1802732344'][148]($_832783863, $_982097664)){ $_982097664[$_832783863]=[ ___943891728(471) => $this->renderViewScript($_832783863), ___943891728(472) => false,];} $_1214358949= Cache::createInstance(); $_974623931=$this->getModuleClass(). ___943891728(473). $_1181231581. ___943891728(474). $_832783863; $_662172635=[___943891728(475) => ___943891728(476)]; if($_1214358949->initCache($_1855626501, $_974623931, $_589608264)){ $_662172635= $_1214358949->getVars();} elseif($_1214358949->startDataCache()){ $_662172635= $this->renderView($_1181231581, $_832783863); $_662172635[___943891728(477)]= $_2019800936; if($_662172635[___943891728(478)] == ___943891728(479)){ $_1214358949->abortDataCache();} $_1214358949->endDataCache($_662172635);} $_881562059[$_1231448971]= ___943891728(480); if(!$_269487585[$_832783863][___943891728(481)]){ $_881562059[$_1231448971] .= $_269487585[$_832783863][___943891728(482)]; $_269487585[$_832783863][___943891728(483)]= true;} if(!$_982097664[$_832783863][___943891728(484)]){ $_881562059[$_1231448971] .= $_982097664[$_832783863][___943891728(485)]; $_982097664[$_832783863][___943891728(486)]= true;} $_881562059[$_1231448971] .= $_662172635[___943891728(487)];} $_96447401= $GLOBALS['____1802732344'][149]($_215456150, $_881562059, $_96447401);}} class SignatureImage{ protected $_910447096; protected $_1762521153; protected $_1183248847; protected $_1718319219; protected $_1314469718; protected $_103768882; protected $_2046036959; protected $_1157351964; protected $_1523979925; protected $_478451012; protected $_1926643450; protected $_405728189; protected $_629560385; protected $_659012231; public function __construct(array $_1881678482=[]){ $this->_910447096= $_1881678482['pathFileFont'] ?? Application::getDocumentRoot(). '/bitrix/fonts/opensans-regular.ttf'; $this->_1762521153= isset($_1881678482[___943891728(488)])? $GLOBALS['____1802732344'][150]($_1881678482[___943891728(489)]): round(0+8+8); $this->_1183248847= isset($_1881678482[___943891728(490)])? $GLOBALS['____1802732344'][151]($_1881678482[___943891728(491)]): round(0+3.5+3.5+3.5+3.5); if(isset($_1881678482[___943891728(492)])){ $this->_1718319219= $GLOBALS['____1802732344'][152]($_1881678482[___943891728(493)]);} else{ $this->_1718319219= $this->getRatioOfFontWidthAndHeight($this->_1762521153);} if(isset($_1881678482[___943891728(494)])){ $this->_1314469718= $GLOBALS['____1802732344'][153]($_1881678482[___943891728(495)]);} else{ $this->_1314469718= $this->getRatioOfFontWidthAndHeight($this->_1183248847);} $this->_103768882= isset($_1881678482[___943891728(496)])? $GLOBALS['____1802732344'][154]($_1881678482[___943891728(497)]): 1.5; $this->_2046036959= isset($_1881678482[___943891728(498)])? $GLOBALS['____1802732344'][155]($_1881678482[___943891728(499)]): round(0+3.3333333333333+3.3333333333333+3.3333333333333); $this->_1157351964= isset($_1881678482[___943891728(500)])? $GLOBALS['____1802732344'][156]($_1881678482[___943891728(501)]): round(0+2+2+2+2+2); $this->_1523979925= isset($_1881678482[___943891728(502)])? $GLOBALS['____1802732344'][157]($_1881678482[___943891728(503)]): $GLOBALS['____1802732344'][158]($this->_1183248847* $this->_103768882); $this->_478451012= isset($_1881678482[___943891728(504)])? $GLOBALS['____1802732344'][159]($_1881678482[___943891728(505)]): $GLOBALS['____1802732344'][160]($this->_1183248847* $this->_103768882); $this->_1926643450= isset($_1881678482[___943891728(506)])? $GLOBALS['____1802732344'][161]($_1881678482[___943891728(507)]): round(0+2);  if(isset($_1881678482[___943891728(508)]) && $GLOBALS['____1802732344'][162]($_1881678482[___943891728(509)])){ $this->_405728189=[]; $this->_405728189[(183*2-366)]= isset($_1881678482[___943891728(510)][(1152/2-576)])? $GLOBALS['____1802732344'][163]($_1881678482[___943891728(511)][(246*2-492)]): round(0+127.5+127.5); $this->_405728189[round(0+1)]= isset($_1881678482[___943891728(512)][round(0+0.25+0.25+0.25+0.25)])? $GLOBALS['____1802732344'][164]($_1881678482[___943891728(513)][round(0+0.2+0.2+0.2+0.2+0.2)]): round(0+51+51+51+51+51); $this->_405728189[round(0+2)]= isset($_1881678482[___943891728(514)][round(0+0.66666666666667+0.66666666666667+0.66666666666667)])? $GLOBALS['____1802732344'][165]($_1881678482[___943891728(515)][round(0+0.66666666666667+0.66666666666667+0.66666666666667)]): round(0+51+51+51+51+51);} else{ $this->_405728189=[round(0+127.5+127.5), round(0+255), round(0+63.75+63.75+63.75+63.75)];} if(isset($_1881678482[___943891728(516)]) && $GLOBALS['____1802732344'][166]($_1881678482[___943891728(517)])){ $this->_629560385=[]; $this->_629560385[min(24,0,8)]= isset($_1881678482[___943891728(518)][(234*2-468)])? $GLOBALS['____1802732344'][167]($_1881678482[___943891728(519)][(1064/2-532)]):(1104/2-552); $this->_629560385[round(0+0.25+0.25+0.25+0.25)]= isset($_1881678482[___943891728(520)][round(0+0.33333333333333+0.33333333333333+0.33333333333333)])? $GLOBALS['____1802732344'][168]($_1881678482[___943891728(521)][round(0+0.33333333333333+0.33333333333333+0.33333333333333)]):(874-2*437); $this->_629560385[round(0+1+1)]= isset($_1881678482[___943891728(522)][round(0+1+1)])? $GLOBALS['____1802732344'][169]($_1881678482[___943891728(523)][round(0+0.66666666666667+0.66666666666667+0.66666666666667)]):(233*2-466);} else{ $this->_629560385=[(1460/2-730),(946-2*473), round(0+255)];} if(isset($_1881678482[___943891728(524)]) && $GLOBALS['____1802732344'][170]($_1881678482[___943891728(525)])){ $this->_659012231=[]; $this->_659012231[(806-2*403)]= isset($_1881678482[___943891728(526)][min(114,0,38)])? $GLOBALS['____1802732344'][171]($_1881678482[___943891728(527)][(936-2*468)]):(944-2*472); $this->_659012231[round(0+0.25+0.25+0.25+0.25)]= isset($_1881678482[___943891728(528)][round(0+0.5+0.5)])? $GLOBALS['____1802732344'][172]($_1881678482[___943891728(529)][round(0+0.25+0.25+0.25+0.25)]):(230*2-460); $this->_659012231[round(0+0.5+0.5+0.5+0.5)]= isset($_1881678482[___943891728(530)][round(0+1+1)])? $GLOBALS['____1802732344'][173]($_1881678482[___943891728(531)][round(0+0.66666666666667+0.66666666666667+0.66666666666667)]): min(86,0,28.666666666667);} else{ $this->_659012231=[(886-2*443),(974-2*487), round(0+255)];}} public function getRatioOfFontWidthAndHeight(int $_1183248847){ $_1632122373=[ 10 => 0.725, 12 => 0.75, 14 => 0.8, 15 => 0.75, 16 => 0.7625, 18 => 0.7825]; return $_1632122373[$_1183248847] ?? 0.775;}  public function convertStrToUtf(string $_1970754622){ if($GLOBALS['____1802732344'][174]('LANG_CHARSET') && LANG_CHARSET == 'UTF-8'){ return $_1970754622;} if($GLOBALS['____1802732344'][175]($_1970754622,[___943891728(532), ___943891728(533)], true) == ___943891728(534)){ return $_1970754622;} return $GLOBALS['____1802732344'][176](___943891728(535), ___943891728(536), $_1970754622);}  public function creatSignImage(array $_530495581, string $_376942846, string $_719752385= ''){ $_1134926985= $GLOBALS['____1802732344'][177]($GLOBALS['____1802732344'][178]('; ', $_530495581)). '.png'; $_1593912806= $this->_1183248847+ $this->_1183248847* $this->_103768882; $_566303684=[ $GLOBALS['____1802732344'][179]($_719752385)* $this->_1762521153* $this->_1718319219, $GLOBALS['____1802732344'][180]($GLOBALS['____1802732344'][181](___943891728(537), $_530495581))* $this->_1183248847* $this->_1314469718,]; $_144100319= $GLOBALS['____1802732344'][182]($_566303684); $_1467259300= $GLOBALS['____1802732344'][183]( $this->_2046036959* round(0+0.5+0.5+0.5+0.5)+ $this->_1523979925*round(0+0.66666666666667+0.66666666666667+0.66666666666667)+ $this->_1926643450* round(0+1+1)+ $_144100319); $_1700202938=(!!$_719752385)? $this->_1762521153:(970-2*485); $_727409306= $GLOBALS['____1802732344'][184]( $this->_1157351964* round(0+2)+ $this->_478451012* round(0+1+1)+ $this->_1926643450* round(0+1+1)+ $_1700202938+ $_1593912806* $GLOBALS['____1802732344'][185]($_530495581)); if(($_634624652= $GLOBALS['____1802732344'][186]($_1467259300, $_727409306)) === false){ return false;} if(($_466355860= $GLOBALS['____1802732344'][187]($_634624652, $this->_405728189[min(200,0,66.666666666667)], $this->_405728189[round(0+0.5+0.5)], $this->_405728189[round(0+2)])) === false){ return false;} if(($_1973144763= $GLOBALS['____1802732344'][188]($_634624652, $this->_629560385[(948-2*474)], $this->_629560385[round(0+0.5+0.5)], $this->_629560385[round(0+2)])) === false){ return false;} if(($_36439126= $GLOBALS['____1802732344'][189]($_634624652, $this->_659012231[(1052/2-526)], $this->_659012231[round(0+0.2+0.2+0.2+0.2+0.2)], $this->_659012231[round(0+0.66666666666667+0.66666666666667+0.66666666666667)])) === false){ return false;} if(!$GLOBALS['____1802732344'][190]($_634624652, min(46,0,15.333333333333), min(238,0,79.333333333333), $_466355860)){ return false;} if($this->_1926643450){ if(!$GLOBALS['____1802732344'][191]($_634624652, $this->_1926643450)){ return false;}} $_1132152054= $_1467259300- round(0+0.25+0.25+0.25+0.25)- $this->_2046036959; $_332724925= $_727409306- round(0+0.2+0.2+0.2+0.2+0.2)- $this->_1157351964; if(!$GLOBALS['____1802732344'][192]($_634624652, $this->_2046036959, $this->_1157351964, $_1132152054, $_332724925, $_1973144763)){ return false;} $_255481584= $this->_2046036959+ $this->_1926643450+ $this->_1523979925; if(!!$_719752385){ $_1899842549= $this->_1157351964+ $this->_1926643450+ $this->_478451012+ $_1700202938; $_3110981= $this->convertStrToUtf($_719752385); if($GLOBALS['____1802732344'][193]($_634624652, $this->_1762521153,(810-2*405), $_255481584, $_1899842549, $_36439126, $this->_910447096, $_3110981) === false){ return false;}} $_1899842549= $this->_1157351964+ $this->_1926643450+ $this->_478451012+ $_1700202938; foreach($_530495581 as $_1424794570){ $_1899842549 += $_1593912806; $_1424794570= $this->convertStrToUtf($_1424794570); if($GLOBALS['____1802732344'][194]($_634624652, $this->_1183248847,(201*2-402), $_255481584, $_1899842549, $_36439126, $this->_910447096, $_1424794570) === false){ return false;}} if(!$GLOBALS['____1802732344'][195]($_634624652, $_376942846. ___943891728(538). $_1134926985)){ return false;} $GLOBALS['____1802732344'][196]($_634624652); return $_1134926985;}} class OptionModule{ static protected $_1185209390=[ 'colorIconSignedDoc' =>['colorHex'], 'colorIconNoSignedDoc' =>['colorHex'], 'heightIconDoc' =>['sizeCss'], 'fontSizeDocName' =>['sizeCss'], 'fontSizeTooltip' =>['sizeCss'],]; static public function getModuleId(){ return $GLOBALS['____1802732344'][197]($GLOBALS['____1802732344'][198](__FILE__));} static public function getSiteOptionsDefaults(){ return Option::getDefaults(self::getModuleId());} static public function getSiteOptions($_1960914484= false){ $_662172635=[]; $_1833218331= Option::getForModule(self::getModuleId(), $_1960914484); $_1136370680= self::getSiteOptionsDefaults(); foreach($_1136370680 as $_1845252653 => $_1249964636){ $_662172635[$_1845252653]= $_1833218331[$_1845252653] ?? $_1249964636;} return $_662172635;} static public function getSiteOptionByName($_435529479, $_1960914484= false){ return Option::get(self::getModuleId(), $_435529479, null, $_1960914484);} static public function saveModuleOptions(array $_2020022109){  if((new MainModule())->isDemoExp()){ return false;} $_1386018715= self::getModuleId(); $_1254445093=[]; foreach($_2020022109 as $_1960914484 => $_283267717){ foreach($_283267717 as $_80009456 => $_1545357546){ $_101300526= true; if($_1814327614= self::$_1185209390[$_80009456]){ foreach($_1814327614 as $_48952664){ if(self::validateValues($_1545357546, $_48952664) === false){ $_101300526= false; $_1254445093[]= Loc::getMessage(___943891728(539),[ ___943891728(540) => $_1545357546, ___943891728(541) => ___943891728(542). Loc::getMessage(___943891728(543).$GLOBALS['____1802732344'][199]($_48952664).___943891728(544)),]);}}} if($_101300526){ Option::set($_1386018715, $_80009456, $_1545357546, $_1960914484);}}} if($GLOBALS['____1802732344'][200]($_1254445093)>(802-2*401)){ $_305655133=(new Uri(Application::getInstance()->getContext()->getRequest()->getRequestUri()))->getPath(); $_533884979= $GLOBALS['____1802732344'][201]([___943891728(545), ___943891728(546)], ___943891728(547), $_1386018715. $_305655133); $_433951441= Application::getInstance()->getSession(); $_433951441->set($_533884979,[ ___943891728(548) => $_1254445093,]); return false;} return true;} public static function saveModuleGeneralOptions(array $_1833218331=[]){  if((new MainModule())->isDemoExp()){ return false;} $_1386018715= self::getModuleId(); if(!empty($_1833218331)){ foreach($_1833218331 as $_80009456 => $_1545357546){ Option::set($_1386018715, $_80009456, $_1545357546);}}} static protected function validateValues($_1249964636, $_342115826){ switch($_342115826){ case 'colorHex':{ if($GLOBALS['____1802732344'][202]($_1249964636, min(210,0,70), round(0+0.2+0.2+0.2+0.2+0.2)) != ___943891728(549)){ return false;} if(!$GLOBALS['____1802732344'][203]($GLOBALS['____1802732344'][204]($_1249964636, round(0+0.25+0.25+0.25+0.25)))){ return false;} return true;} case ___943891728(550):{ if(!$GLOBALS['____1802732344'][205](___943891728(551), $_1249964636, $_1425488952)){ return false;} if(!$GLOBALS['____1802732344'][206]($_1425488952[round(0+1)])){ return false;} if($GLOBALS['____1802732344'][207]($_1425488952[round(0+0.66666666666667+0.66666666666667+0.66666666666667)],[___943891728(552), ___943891728(553), ___943891728(554), ___943891728(555)]) === false){ return false;} return true;} default:{ return true;}}}}
while(!$GLOBALS['____1802732344'][208](___943891728(556)) || $GLOBALS['____1802732344'][209](mibok_pep_OLDSITEEXPIREDATE) <=(1444/2-722) || mibok_pep_OLDSITEEXPIREDATE != mibok_pep_SITEEXPIREDATE)die(GetMessage(___943891728(557)));



© 2023 Quttera Ltd. All rights reserved.