Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<? namespace Bitrix\Landing;$GLOBALS['____1812505571']= array(base64_decode('ZGVma'.'W5l')..
Decoded Output download
<? namespace Bitrix\Landing;$GLOBALS['____1812505571']= array(base64_decode('ZGVma'.'W5l'),base64_decode('aW5fYX'.'J'.'y'.'YXk'.'='),base64_decode('cHJlZ19tY'.'XRja'.'F9'.'hbGw='),base64_decode(''.'Y'.'XJyYXlfbW'.'VyZ2U='),base64_decode('YXJy'.'YX'.'lfdmFsdWVz'),base64_decode('YX'.'Jy'.'YXl'.'fdW5'.'pcX'.'Vl'),base64_decode('c3Vic'.'3Ry'),base64_decode('aW5f'.'YXJ'.'yYXk='),base64_decode('Z'.'X'.'hwbG'.'9kZ'.'Q'.'=='),base64_decode('cGF'.'jaw=='),base64_decode('bWQ1'),base64_decode(''.'Y2'.'9u'.'c3'.'R'.'hb'.'nQ='),base64_decode(''.'aGF'.'z'.'aF9ob'.'WF'.'j'),base64_decode('c3Ry'.'Y21'.'w'),base64_decode('Z'.'XhwbG9kZ'.'Q=='),base64_decode('bWt'.'0aW1l'),base64_decode('d'.'Gl'.'tZQ=='),base64_decode(''.'ZXhwbG'.'9'.'k'.'ZQ=='),base64_decode(''.'cGF'.'jaw'.'='.'='),base64_decode('bWQ1'),base64_decode('Y29uc3Rh'.'b'.'nQ='),base64_decode(''.'aG'.'Fza'.'F'.'9ob'.'WF'.'j'),base64_decode('c3RyY21'.'w'),base64_decode('ZXh'.'wbG9kZQ=='),base64_decode('bWt0aW1l'),base64_decode('dGlt'.'Z'.'Q=='),base64_decode(''.'a'.'W5'.'fYXJyYXk='),base64_decode('cHJlZ19'.'yZ'.'XBs'.'YW'.'N'.'lX'.'2NhbG'.'xiY'.'WNr'),base64_decode(''.'bWJfc3R'.'y'.'dG9sb3dlcg=='),base64_decode('cHJlZ19yZXB'.'sYWNlX2N'.'hbGxi'.'YWNr'),base64_decode('cHJl'.'Z19'.'yZXBsYWNl'.'X2NhbGxiYWNr'),base64_decode('b'.'WJfc3'.'Ryd'.'G9sb3dlcg='.'='),base64_decode('c3R'.'yX3J'.'l'.'cG'.'xhY2U='),base64_decode('cH'.'Jl'.'Z1'.'9tYXRj'.'aA=='),base64_decode(''.'cH'.'JlZ19yZXB'.'sYWNlX2N'.'hbGxiYWNr'));if(!function_exists(__NAMESPACE__.'\\___763290223')){function ___763290223($_415052462){static $_560905526= false; if($_560905526 == false) $_560905526=array('TEFOR'.'ElOR19'.'N'.'V'.'VR'.'BVE9SX01PR'.'EU=','cnU=','Ynk'.'=','a'.'3o=','U'.'EhPT'.'kVf'.'Tk9UX0NPT'.'kZJUk1F'.'RA==','TEFORE'.'lO'.'R19'.'Q'.'SE9O'.'RV9OT1RfQ'.'09O'.'RklSTU'.'VE','RU'.'1BS'.'UxfT'.'k9UX0NPTkZJU'.'k1FRA==','T'.'E'.'FORElOR1'.'9FT'.'U'.'FJTF9OT'.'1'.'RfQ'.'09'.'O'.'Rk'.'lS'.'TUV'.'E','YW'.'xsb3'.'dfc2tpc'.'F9w'.'aG9u'.'ZV92'.'Z'.'XJ'.'pZmlj'.'YXR'.'pb'.'24=','WQ==','Yml0cml4MjQ=','bG'.'FuZG'.'luZ1'.'9za2lwX3Bob25lX3Zlcml'.'ma'.'WN'.'hdG'.'lvbg'.'='.'=',''.'YWxsb3dfc2tpcF'.'9lbWFpbF'.'92ZXJpZmljYXRpb24=',''.'WQ='.'=','bGFu'.'ZG'.'luZw==','b2'.'5M'.'YW5kaW5'.'nU3'.'Rh'.'cnRQdWJsaWNhdGlv'.'bg='.'=','aW'.'Q'.'=','Y'.'m'.'xvY2'.'t'.'JZA==','c2l0'.'ZU'.'l'.'k','b'.'GF'.'uZGlu'.'Z'.'191cmxj'.'a'.'GVja2VyX2tleQ==',''.'c2'.'V'.'sZWN0','Q0'.'9OVEVOVA==','Zm'.'lsdGV'.'y','TElE',''.'PUR'.'FT'.'EV'.'URUQ'.'=','T'.'g==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'Rh'.'bG9'.'nKEVsZW1lbnR'.'8'.'U2VjdGlvb'.'iko'.'W1xk'.'XSspKShcUy'.'p9'.'IikvaQ='.'=','Lyhwcm9kd'.'WN0O'.'ik/I2NhdGFsb2coRWxl'.'bWV'.'udHxTZWN0'.'aW9uKS'.'hb'.'XG'.'R'.'dK'.'ykva'.'Q'.'==','Q'.'09OVEVOVA'.'==','Q09OVEVOVA==','Q'.'09OVEVO'.'VA==','Q'.'09'.'O'.'VEVOVA='.'=','Y29u'.'dGV'.'udGVkaXR'.'hY'.'mxlPSJ0cnVlI'.'g'.'==','','Q09'.'OV'.'E'.'V'.'OVA'.'==','UEFSRU5UX0lE','UE'.'FSR'.'U5UX0lE',''.'SUQ=','U09SVA==','U09SVA==','QUN'.'US'.'V'.'ZF','QUNUSVZF','QU5'.'DS'.'E9'.'S','QU5D'.'SE'.'9'.'S',''.'WE'.'1MX0lE','WE1MX0lE','QUNDRVNT',''.'QUNDRV'.'NT','REV'.'TSUdORUQ=','REVTSUdORUQ'.'=','U09'.'V'.'UkNFX1'.'B'.'BUkFNUw==','U'.'09V'.'U'.'kNFX1B'.'BUk'.'FNUw==','Q0'.'9'.'O'.'VEVOVA==','Q09OVEVOVA==','U0'.'V'.'BUkNIX0'.'NPTlRFTlQ=','U0VBUk'.'NIX0N'.'PTlRF'.'TlQ=','Q'.'VNTR'.'VRT','QV'.'NTRVRT','UE'.'FSR'.'U5UX'.'0lE','Q09O'.'VEVOV'.'A==','TElE','Q09ER'.'Q'.'='.'=',''.'Q'.'09ERQ'.'==','U'.'0'.'9SVA'.'==','U0'.'9SVA==','QU'.'5DSE'.'9S','QU'.'5DSE9S','Yg==','WE1MX0l'.'E',''.'WE1MX'.'0lE','QUNUSVZF','Q'.'U'.'NUS'.'V'.'ZF','QUNDRV'.'NT','Q'.'UNDRVNT','REVTS'.'UdO'.'R'.'UQ=','REV'.'TSU'.'dORUQ=','U09VUkNFX1B'.'BUkFNUw='.'=','U0'.'9VUkNFX1BB'.'UkFN'.'Uw==','Q09O'.'VEVOVA==','Q09'.'OVEV'.'OVA==','U0VBUkNIX0NPTlRFTlQ=',''.'U0V'.'B'.'U'.'k'.'NIX0NPTlRFTlQ=','QVNT'.'RVRT','QVN'.'T'.'R'.'VRT','UE'.'FSRU5U'.'X0lE','Q09OVE'.'VOVA==','Q09O'.'V'.'EV'.'OVA='.'=','Q09OVEVOV'.'A'.'==',''.'Q'.'09OVE'.'VOVA==','I2Jsb'.'2'.'N'.'r','I2Js'.'b2Nr','Q'.'09'.'OVEVOVA==');return base64_decode($_560905526[$_415052462]);}}; use Bitrix\Bitrix24\Feature; use Bitrix\Landing\Assets; use Bitrix\Landing\Block\Cache; use Bitrix\Landing\Internals\HookDataTable as HookData; use Bitrix\Landing\Restriction; use Bitrix\Rest\AppTable; use Bitrix\Main\Config\Configuration; use Bitrix\Main\Event; use Bitrix\Main\EventResult; use Bitrix\Main\Localization\Loc; use Bitrix\Main\Web\HttpClient; Loc::loadMessages(__FILE__); $GLOBALS['____1812505571'][0](___763290223(0), true); class Mutator{ public static function checkSiteVerification(int $_410140615, Error $_2070555243): bool{ $_1364278497= Manager::getZone(); if(!$GLOBALS['____1812505571'][1]($_1364278497,[___763290223(1), ___763290223(2), ___763290223(3)]) &&!self::__1849434296()){ if(!Restriction\Site::isPhoneConfirmed($_410140615)){ $_2070555243->addError( ___763290223(4), Loc::getMessage(___763290223(5))); return false;}} else if(!self::__461010746()){ if(!Restriction\Site::isEmailConfirmed($_410140615)){ $_2070555243->addError( ___763290223(6), Loc::getMessage(___763290223(7))); return false;}} return true;} private static function __1849434296(): bool{ if(Manager::getOption(___763290223(8)) === ___763290223(9)){ return true;} if(!\Bitrix\Main\Loader::includeModule(___763290223(10))){ return true;} return Feature::isFeatureEnabled(___763290223(11));} private static function __461010746(): bool{ if(Manager::getOption(___763290223(12)) === ___763290223(13)){ return true;} return false;} public static function landingPublication(Landing $landing, $_346260345= null, bool $_741402305= false): bool{ static $_243815805=[]; static $_1251375852=[]; Manager::disableAllFeaturesTmp(); if(!$landing->exist()){ return false;} $_557749258= new Event(___763290223(14), ___763290223(15), array( ___763290223(16) => $landing->getId(), ___763290223(17) => $_346260345, ___763290223(18) => $landing->getSiteId())); $_557749258->send(); foreach($_557749258->getResults() as $_84735994){ if($_84735994->getType() == EventResult::ERROR){ foreach($_84735994->getErrors() as $_2070555243){ $landing->getError()->addError( $_2070555243->getCode(), $_2070555243->getMessage());} return false;}} if((1452/2-726)) if($_673247127= Configuration::getValue(___763290223(19))){ $_903509853=[]; $_801659881= Block::getList([ ___763290223(20) =>[ ___763290223(21)], ___763290223(22) =>[ ___763290223(23) => $landing->getId(), ___763290223(24) => ___763290223(25), ___763290223(26) => ___763290223(27), ___763290223(28) => ___763290223(29)]]); while($_2080490583= $_801659881->fetch()){ if($GLOBALS['____1812505571'][2](___763290223(30), $_2080490583[___763290223(31)], $_932014738)){ $_903509853= $GLOBALS['____1812505571'][3]($_903509853, $_932014738[round(0+0.33333333333333+0.33333333333333+0.33333333333333)]);}} $_903509853= $GLOBALS['____1812505571'][4]($GLOBALS['____1812505571'][5]($_903509853)); $_1981380609= new HttpClient; if($_903509853){ $_1624254947= $_1981380609->post(___763290223(32),[ ___763290223(33) => $_673247127, ___763290223(34) => $_903509853, ___763290223(35) => \Bitrix\Main\Application::getInstance()->getContext()->getServer()->get(___763290223(36))]); if($_1624254947 && $_1624254947 !== ___763290223(37)){ $landing->getError()->addError( ___763290223(38), Loc::getMessage(___763290223(39))); return false;}}} if(!Manager::checkFeature( Manager::FEATURE_PUBLICATION_PAGE, array( ___763290223(40) => array( ___763290223(41) => $landing->getId())))){ $landing->getError()->addError( ___763290223(42), Restriction\Manager::getSystemErrorMessage(___763290223(43))); return false;} $_1701281204= $landing->getMeta(); if( isset($_1701281204[___763290223(44)]) && \Bitrix\Main\Loader::includeModule(___763290223(45))){ $_801659881= AppTable::getList([ ___763290223(46) =>[ ___763290223(47) => $_1701281204[___763290223(48)]]]); if($_2080490583= $_801659881->fetch()){ $_1351051071= AppTable::getAppStatusInfo($_2080490583, ___763290223(49)); if($_1351051071[___763290223(50)] != ___763290223(51)){ $landing->getError()->addError( ___763290223(52), Restriction\Manager::getSystemErrorMessage(___763290223(53))); return false;}}} $_150092790=[]; $_801659881= Block::getList([ ___763290223(54) =>[ ___763290223(55)], ___763290223(56) =>[ ___763290223(57) => $landing->getId(), ___763290223(58) => ___763290223(59), ___763290223(60) => ___763290223(61), ___763290223(62) => ___763290223(63), ___763290223(64) => ___763290223(65)]]); while($_2080490583= $_801659881->fetch()){ $_150092790[]= $GLOBALS['____1812505571'][6]($_2080490583[___763290223(66)], round(0+1.25+1.25+1.25+1.25));} if(!empty($_150092790)){ foreach(Repo::getAppInfo($_150092790) as $_1164513626){ if(($_1164513626[___763290223(67)] ?? ___763290223(68)) !== ___763290223(69)){ $landing->getError()->addError( ___763290223(70), Restriction\Manager::getSystemErrorMessage(___763290223(71))); return false;}}} if(!$GLOBALS['____1812505571'][7]($landing->getSiteId(), $_1251375852)){ $_1251375852[]= $landing->getSiteId(); $_801659881= Site::getList(array( ___763290223(72) => array( ___763290223(73), ___763290223(74)), ___763290223(75) => array( ___763290223(76) => $landing->getSiteId(), ___763290223(77) => ___763290223(78), ___763290223(79) => ___763290223(80)))); if($_2080490583= $_801659881->fetch()){ if(!Manager::checkFeature( Manager::FEATURE_PUBLICATION_SITE,[ ___763290223(81) =>[ ___763290223(82) => $_2080490583[___763290223(83)]], ___763290223(84) => $_2080490583[___763290223(85)]])){ $_315842485= Manager::licenseIsFreeSite($_2080490583[___763290223(86)]) &&!Manager::isFreePublicAllowed()? ___763290223(87): ___763290223(88); $_1181648167= Manager::licenseIsFreeSite($_2080490583[___763290223(89)]) &&!Manager::isFreePublicAllowed()? ___763290223(90): ___763290223(91); $landing->getError()->addError( $_315842485, Restriction\Manager::getSystemErrorMessage($_1181648167)); return false;}}} if(\Bitrix\Landing\Hook\Page\HeadBlock::isLockedFeature()){ $_1283583006=[$landing->getId()]; $_801659881= Landing::getList([ ___763290223(92) =>[ ___763290223(93)], ___763290223(94) =>[ ___763290223(95) => $landing->getSiteId(), ___763290223(96) => ___763290223(97)]]); while($_2080490583= $_801659881->fetch()){ $_1283583006[]= $_2080490583[___763290223(98)];} $_801659881= HookData::getList([ ___763290223(99) =>[ ___763290223(100), ___763290223(101), ___763290223(102)], ___763290223(103) =>[[ ___763290223(104) => ___763290223(105),[ ___763290223(106) => Hook::ENTITY_TYPE_SITE, ___763290223(107) => $landing->getSiteId()],[ ___763290223(108) => Hook::ENTITY_TYPE_LANDING, ___763290223(109) => $_1283583006]], ___763290223(110) => ___763290223(111), ___763290223(112) => ___763290223(113), ___763290223(114) => ___763290223(115)], ___763290223(116) => round(0+0.5+0.5)]); if($_2080490583= $_801659881->fetch()){ $landing->getError()->addError( ___763290223(117). $_2080490583[___763290223(118)]. $_2080490583[___763290223(119)]. ___763290223(120), Restriction\Manager::getSystemErrorMessage(___763290223(121))); return false;}} if(!self::checkSiteVerification($landing->getSiteId(), $landing->getError())){ return false;} $_557749258= new Event(___763290223(122), ___763290223(123), array( ___763290223(124) => $landing->getId(), ___763290223(125) => $_346260345, ___763290223(126) => $_1701281204[___763290223(127)],)); $_557749258->send(); foreach($_557749258->getResults() as $_84735994){ if($_84735994->getResultType() == EventResult::ERROR){ foreach($_84735994->getErrors() as $_2070555243){ $landing->getError()->addError( $_2070555243->getCode(), $_2070555243->getMessage());} return false;}} if($_741402305){ return true;} if(!\Bitrix\Main\ModuleManager::isModuleInstalled(___763290223(128))){ $_200692648= $GLOBALS[___763290223(129)]->Query(___763290223(130), true); if($_801659881= $_200692648->Fetch()){ $_605852832= $_801659881[___763290223(131)]; list($_1439065138, $_783166426)= $GLOBALS['____1812505571'][8](___763290223(132), $_605852832); $_998526610= $GLOBALS['____1812505571'][9](___763290223(133), $_1439065138); $_421387150= ___763290223(134).$GLOBALS['____1812505571'][10]($GLOBALS['____1812505571'][11](___763290223(135))); $_1590960974= $GLOBALS['____1812505571'][12](___763290223(136), $_783166426, $_421387150, true); if($GLOBALS['____1812505571'][13]($_1590960974, $_998526610) !==(868-2*434)){ $_783166426= ___763290223(137);}} else{ $_783166426= ___763290223(138);} if(!empty($_783166426)){ $_835357703= $GLOBALS['____1812505571'][14](___763290223(139), $_783166426); $_116650575= $GLOBALS['____1812505571'][15](min(230,0,76.666666666667),(1372/2-686), min(208,0,69.333333333333), $_835357703[round(0+0.33333333333333+0.33333333333333+0.33333333333333)], $_835357703[round(0+2)], $_835357703[(762-2*381)]); if($_116650575 <= $GLOBALS['____1812505571'][16]()){ $landing->getError()->addError( ___763290223(140), Loc::getMessage(___763290223(141))); return false;}}}if(!\Bitrix\Main\ModuleManager::isModuleInstalled(___763290223(142))){ $_200692648= $GLOBALS[___763290223(143)]->Query(___763290223(144), true); if($_801659881= $_200692648->Fetch()){ $_605852832= $_801659881[___763290223(145)]; list($_1439065138, $_783166426)= $GLOBALS['____1812505571'][17](___763290223(146), $_605852832); $_998526610= $GLOBALS['____1812505571'][18](___763290223(147), $_1439065138); $_421387150= ___763290223(148).$GLOBALS['____1812505571'][19]($GLOBALS['____1812505571'][20](___763290223(149))); $_1590960974= $GLOBALS['____1812505571'][21](___763290223(150), $_783166426, $_421387150, true); if($GLOBALS['____1812505571'][22]($_1590960974, $_998526610) !==(141*2-282)){ $_783166426= ___763290223(151);}} else{ $_783166426= ___763290223(152);} if(!empty($_783166426)){ $_835357703= $GLOBALS['____1812505571'][23](___763290223(153), $_783166426); $_116650575= $GLOBALS['____1812505571'][24]((209*2-418),(134*2-268),(810-2*405), $_835357703[round(0+0.5+0.5)], $_835357703[round(0+0.5+0.5+0.5+0.5)], $_835357703[(954-2*477)]); if($_116650575 <= $GLOBALS['____1812505571'][25]()){ $landing->getError()->addError( ___763290223(154), Loc::getMessage(___763290223(155))); return false;}}} if($landing->getFolderId()){ Site::publicationFolder($landing->getFolderId());} if(!$_346260345){ Hook::setEditMode(); Hook::publicationSite($landing->getSiteId()); Hook::publicationLanding($landing->getId());} Assets\Manager::rebuildWebpackForLanding($landing->getId()); self::blocksPublication($landing, $_346260345); $_171502247= new \Bitrix\Main\Type\DateTime; $_1972054182=[ ___763290223(156) => ___763290223(157), ___763290223(158) => ___763290223(159), ___763290223(160) => $_171502247, ___763290223(161) => false]; $_801659881= Landing::update($landing->getId(), $_1972054182); $landing->setMetaData($_1972054182); if($_801659881->isSuccess()){ if(!$GLOBALS['____1812505571'][26]($landing->getSiteId(), $_243815805)){ $_243815805[]= $landing->getSiteId(); $_801659881= Site::update($landing->getSiteId(), array( ___763290223(162) => ___763290223(163))); if(!$_801659881->isSuccess()){ $landing->getError()->addFromResult( $_801659881); return false;}} return true;} else{ $landing->getError()->addFromResult( $_801659881);} return false;} public static function blocksPublication(\Bitrix\Landing\Landing $landing, $_346260345= null): void{ if($landing->exist()){ $_1156723070= $landing->getId(); $_465661869= array(); $_1175500863= array(); $_1300126679= array(); $_188262261= ___763290223(164); $_735520506=[ ___763290223(165) => $landing->getId(), ___763290223(166) => ___763290223(167)]; if($_346260345){ $_735520506[___763290223(168)]= $_346260345; $_801659881= Block::getList([ ___763290223(169) =>[ ___763290223(170), ___763290223(171)], ___763290223(172) => $_735520506]); $_735520506[___763290223(173)]= (array)$_735520506[___763290223(174)]; while($_2080490583= $_801659881->fetch()){ $_735520506[___763290223(175)][]= $_2080490583[___763290223(176)];}} $_801659881= Block::getList([ ___763290223(177) =>[ ___763290223(178), ___763290223(179), ___763290223(180), ___763290223(181), ___763290223(182), ___763290223(183), ___763290223(184), ___763290223(185), ___763290223(186), ___763290223(187), ___763290223(188), ___763290223(189), ___763290223(190), ___763290223(191)], ___763290223(192) => $_735520506]); while($_2080490583= $_801659881->fetch()){ $_465661869[$_2080490583[___763290223(193)]]= $_2080490583;} foreach($_465661869 as $_748026501 => $_895575766){ if($_895575766[___763290223(194)] != ___763290223(195)){ $_895575766[___763290223(196)]= $GLOBALS['____1812505571'][27]( ___763290223(197), function($_902671026){ return ___763290223(198). PublicAction\Utils::getIblockURL( $_902671026[round(0+1.5+1.5)], $GLOBALS['____1812505571'][28]($_902671026[round(0+1+1)])). ___763290223(199);}, $_895575766[___763290223(200)]); $_895575766[___763290223(201)]= $GLOBALS['____1812505571'][29]( ___763290223(202), function($_902671026){ $_902671026[round(0+0.33333333333333+0.33333333333333+0.33333333333333)]= $GLOBALS['____1812505571'][30]( ___763290223(203), function($_257168667){ return PublicAction\Utils::getIblockURL( $_257168667[round(0+0.75+0.75+0.75+0.75)], $GLOBALS['____1812505571'][31]($_257168667[round(0+0.4+0.4+0.4+0.4+0.4)]));}, $_902671026[round(0+0.33333333333333+0.33333333333333+0.33333333333333)]); return $_902671026[round(0+0.25+0.25+0.25+0.25)]. $_902671026[round(0+1.6666666666667+1.6666666666667+1.6666666666667)];}, $_895575766[___763290223(204)]); $_895575766[___763290223(205)]= Subtype\Form::prepareFormsToPublication( $_895575766[___763290223(206)]); $_895575766[___763290223(207)]= $GLOBALS['____1812505571'][32]( ___763290223(208), ___763290223(209), $_895575766[___763290223(210)]); $_512824555= isset($_465661869[$_895575766[___763290223(211)]])? $_465661869[$_895575766[___763290223(212)]][___763290223(213)]:(1172/2-586); if($_512824555){ Cache::clear($_512824555); $_801659881= Block::update($_512824555, array( ___763290223(214) => $_895575766[___763290223(215)], ___763290223(216) => $_895575766[___763290223(217)], ___763290223(218) => $_895575766[___763290223(219)], ___763290223(220) => $_895575766[___763290223(221)], ___763290223(222) => $_895575766[___763290223(223)], ___763290223(224) => $_895575766[___763290223(225)], ___763290223(226) => $_895575766[___763290223(227)], ___763290223(228) => $_895575766[___763290223(229)], ___763290223(230) => $_895575766[___763290223(231)], ___763290223(232) => $_895575766[___763290223(233)])); $_801659881->isSuccess(); unset($_465661869[$_895575766[___763290223(234)]]); File::replaceInBlock( $_512824555, File::getFilesFromBlockContent( $_748026501, $_895575766[___763290223(235)]));} else{ $_801659881= Block::add(array( ___763290223(236) => $_1156723070, ___763290223(237) => $_895575766[___763290223(238)], ___763290223(239) => $_895575766[___763290223(240)], ___763290223(241) => $_895575766[___763290223(242)]?: ___763290223(243). $_748026501, ___763290223(244) => $_895575766[___763290223(245)], ___763290223(246) => $_895575766[___763290223(247)], ___763290223(248) => $_895575766[___763290223(249)], ___763290223(250) => $_895575766[___763290223(251)], ___763290223(252) => $_895575766[___763290223(253)], ___763290223(254) => $_895575766[___763290223(255)], ___763290223(256) => $_895575766[___763290223(257)], ___763290223(258) => $_895575766[___763290223(259)])); if($_801659881->isSuccess()){ $_512824555= $_801659881->getId(); $_801659881= Block::update($_748026501, array( ___763290223(260) => $_512824555)); $_801659881->isSuccess(); File::addToBlock( $_512824555, File::getFilesFromBlockContent( $_748026501, $_895575766[___763290223(261)]));}} if($_512824555){ $_1162446085= new Block($_512824555); Assets\PreProcessing::blockPublicationProcessing($_1162446085); $_895575766[___763290223(262)]= $_1162446085->getContent(); unset($_1162446085);} if($GLOBALS['____1812505571'][33]($_188262261, $_895575766[___763290223(263)])){ $_1175500863[$_512824555]= $_895575766[___763290223(264)];} $_1300126679[$_748026501]= $_512824555; unset($_465661869[$_748026501]);}} foreach($_465661869 as $_748026501 => $_895575766){ $_801659881= Block::delete($_748026501); $_801659881->isSuccess();} foreach($_1175500863 as $_748026501 => $_257235494){ $_257235494= $GLOBALS['____1812505571'][34]( $_188262261, function($_1531728111) use($_1300126679){ if(isset($_1300126679[$_1531728111[round(0+2)]])){ return $_1531728111[round(0+0.2+0.2+0.2+0.2+0.2)]. ___763290223(265). $_1300126679[$_1531728111[round(0+0.5+0.5+0.5+0.5)]]. $_1531728111[round(0+1+1+1)];} else{ return $_1531728111[round(0+1)]. ___763290223(266). $_1531728111[round(0+0.4+0.4+0.4+0.4+0.4)]. $_1531728111[round(0+0.75+0.75+0.75+0.75)];}}, $_257235494); $_801659881= Block::update($_748026501, array( ___763290223(267) => $_257235494)); $_801659881->isSuccess();}}}}?>
Did this file decode correctly?
Original Code
<? namespace Bitrix\Landing;$GLOBALS['____1812505571']= array(base64_decode('ZGVma'.'W5l'),base64_decode('aW5fYX'.'J'.'y'.'YXk'.'='),base64_decode('cHJlZ19tY'.'XRja'.'F9'.'hbGw='),base64_decode(''.'Y'.'XJyYXlfbW'.'VyZ2U='),base64_decode('YXJy'.'YX'.'lfdmFsdWVz'),base64_decode('YX'.'Jy'.'YXl'.'fdW5'.'pcX'.'Vl'),base64_decode('c3Vic'.'3Ry'),base64_decode('aW5f'.'YXJ'.'yYXk='),base64_decode('Z'.'X'.'hwbG'.'9kZ'.'Q'.'=='),base64_decode('cGF'.'jaw=='),base64_decode('bWQ1'),base64_decode(''.'Y2'.'9u'.'c3'.'R'.'hb'.'nQ='),base64_decode(''.'aGF'.'z'.'aF9ob'.'WF'.'j'),base64_decode('c3Ry'.'Y21'.'w'),base64_decode('Z'.'XhwbG9kZ'.'Q=='),base64_decode('bWt'.'0aW1l'),base64_decode('d'.'Gl'.'tZQ=='),base64_decode(''.'ZXhwbG'.'9'.'k'.'ZQ=='),base64_decode(''.'cGF'.'jaw'.'='.'='),base64_decode('bWQ1'),base64_decode('Y29uc3Rh'.'b'.'nQ='),base64_decode(''.'aG'.'Fza'.'F'.'9ob'.'WF'.'j'),base64_decode('c3RyY21'.'w'),base64_decode('ZXh'.'wbG9kZQ=='),base64_decode('bWt0aW1l'),base64_decode('dGlt'.'Z'.'Q=='),base64_decode(''.'a'.'W5'.'fYXJyYXk='),base64_decode('cHJlZ19'.'yZ'.'XBs'.'YW'.'N'.'lX'.'2NhbG'.'xiY'.'WNr'),base64_decode(''.'bWJfc3R'.'y'.'dG9sb3dlcg=='),base64_decode('cHJlZ19yZXB'.'sYWNlX2N'.'hbGxi'.'YWNr'),base64_decode('cHJl'.'Z19'.'yZXBsYWNl'.'X2NhbGxiYWNr'),base64_decode('b'.'WJfc3'.'Ryd'.'G9sb3dlcg='.'='),base64_decode('c3R'.'yX3J'.'l'.'cG'.'xhY2U='),base64_decode('cH'.'Jl'.'Z1'.'9tYXRj'.'aA=='),base64_decode(''.'cH'.'JlZ19yZXB'.'sYWNlX2N'.'hbGxiYWNr'));if(!function_exists(__NAMESPACE__.'\\___763290223')){function ___763290223($_415052462){static $_560905526= false; if($_560905526 == false) $_560905526=array('TEFOR'.'ElOR19'.'N'.'V'.'VR'.'BVE9SX01PR'.'EU=','cnU=','Ynk'.'=','a'.'3o=','U'.'EhPT'.'kVf'.'Tk9UX0NPT'.'kZJUk1F'.'RA==','TEFORE'.'lO'.'R19'.'Q'.'SE9O'.'RV9OT1RfQ'.'09O'.'RklSTU'.'VE','RU'.'1BS'.'UxfT'.'k9UX0NPTkZJU'.'k1FRA==','T'.'E'.'FORElOR1'.'9FT'.'U'.'FJTF9OT'.'1'.'RfQ'.'09'.'O'.'Rk'.'lS'.'TUV'.'E','YW'.'xsb3'.'dfc2tpc'.'F9w'.'aG9u'.'ZV92'.'Z'.'XJ'.'pZmlj'.'YXR'.'pb'.'24=','WQ==','Yml0cml4MjQ=','bG'.'FuZG'.'luZ1'.'9za2lwX3Bob25lX3Zlcml'.'ma'.'WN'.'hdG'.'lvbg'.'='.'=',''.'YWxsb3dfc2tpcF'.'9lbWFpbF'.'92ZXJpZmljYXRpb24=',''.'WQ='.'=','bGFu'.'ZG'.'luZw==','b2'.'5M'.'YW5kaW5'.'nU3'.'Rh'.'cnRQdWJsaWNhdGlv'.'bg='.'=','aW'.'Q'.'=','Y'.'m'.'xvY2'.'t'.'JZA==','c2l0'.'ZU'.'l'.'k','b'.'GF'.'uZGlu'.'Z'.'191cmxj'.'a'.'GVja2VyX2tleQ==',''.'c2'.'V'.'sZWN0','Q0'.'9OVEVOVA==','Zm'.'lsdGV'.'y','TElE',''.'PUR'.'FT'.'EV'.'URUQ'.'=','T'.'g==','PU'.'FDV'.'ElWRQ==','WQ==','PVBVQkxJ'.'Qw==',''.'Tg==','IygoaHR0cHxmdHB8aHR0cH'.'MpO'.'i8v'.'W'.'1'.'4nIlxzPF0rKS'.'Np'.'c'.'w='.'=','Q09'.'OV'.'EVOVA'.'==','a'.'H'.'R0cHM'.'6Ly9'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.'ykva'.'Q'.'==','Q'.'09OVEVOVA'.'==','Q09OVEVOVA==','Q'.'09OVEVO'.'VA==','Q'.'09'.'O'.'VEVOVA='.'=','Y29u'.'dGV'.'udGVkaXR'.'hY'.'mxlPSJ0cnVlI'.'g'.'==','','Q09'.'OV'.'E'.'V'.'OVA'.'==','UEFSRU5UX0lE','UE'.'FSR'.'U5UX0lE',''.'SUQ=','U09SVA==','U09SVA==','QUN'.'US'.'V'.'ZF','QUNUSVZF','QU5'.'DS'.'E9'.'S','QU5D'.'SE'.'9'.'S',''.'WE'.'1MX0lE','WE1MX0lE','QUNDRVNT',''.'QUNDRV'.'NT','REV'.'TSUdORUQ=','REVTSUdORUQ'.'=','U09'.'V'.'UkNFX1'.'B'.'BUkFNUw==','U'.'09V'.'U'.'kNFX1B'.'BUk'.'FNUw==','Q0'.'9'.'O'.'VEVOVA==','Q09OVEVOVA==','U0'.'V'.'BUkNIX0'.'NPTlRFTlQ=','U0VBUk'.'NIX0N'.'PTlRF'.'TlQ=','Q'.'VNTR'.'VRT','QV'.'NTRVRT','UE'.'FSR'.'U5UX'.'0lE','Q09O'.'VEVOV'.'A==','TElE','Q09ER'.'Q'.'='.'=',''.'Q'.'09ERQ'.'==','U'.'0'.'9SVA'.'==','U0'.'9SVA==','QU'.'5DSE'.'9S','QU'.'5DSE9S','Yg==','WE1MX0l'.'E',''.'WE1MX'.'0lE','QUNUSVZF','Q'.'U'.'NUS'.'V'.'ZF','QUNDRV'.'NT','Q'.'UNDRVNT','REVTS'.'UdO'.'R'.'UQ=','REV'.'TSU'.'dORUQ=','U09VUkNFX1B'.'BUkFNUw='.'=','U0'.'9VUkNFX1BB'.'UkFN'.'Uw==','Q09O'.'VEVOVA==','Q09'.'OVEV'.'OVA==','U0VBUkNIX0NPTlRFTlQ=',''.'U0V'.'B'.'U'.'k'.'NIX0NPTlRFTlQ=','QVNT'.'RVRT','QVN'.'T'.'R'.'VRT','UE'.'FSRU5U'.'X0lE','Q09OVE'.'VOVA==','Q09O'.'V'.'EV'.'OVA='.'=','Q09OVEVOV'.'A'.'==',''.'Q'.'09OVE'.'VOVA==','I2Jsb'.'2'.'N'.'r','I2Js'.'b2Nr','Q'.'09'.'OVEVOVA==');return base64_decode($_560905526[$_415052462]);}}; use Bitrix\Bitrix24\Feature; use Bitrix\Landing\Assets; use Bitrix\Landing\Block\Cache; use Bitrix\Landing\Internals\HookDataTable as HookData; use Bitrix\Landing\Restriction; use Bitrix\Rest\AppTable; use Bitrix\Main\Config\Configuration; use Bitrix\Main\Event; use Bitrix\Main\EventResult; use Bitrix\Main\Localization\Loc; use Bitrix\Main\Web\HttpClient; Loc::loadMessages(__FILE__); $GLOBALS['____1812505571'][0](___763290223(0), true); class Mutator{ public static function checkSiteVerification(int $_410140615, Error $_2070555243): bool{ $_1364278497= Manager::getZone(); if(!$GLOBALS['____1812505571'][1]($_1364278497,[___763290223(1), ___763290223(2), ___763290223(3)]) &&!self::__1849434296()){ if(!Restriction\Site::isPhoneConfirmed($_410140615)){ $_2070555243->addError( ___763290223(4), Loc::getMessage(___763290223(5))); return false;}} else if(!self::__461010746()){ if(!Restriction\Site::isEmailConfirmed($_410140615)){ $_2070555243->addError( ___763290223(6), Loc::getMessage(___763290223(7))); return false;}} return true;} private static function __1849434296(): bool{ if(Manager::getOption(___763290223(8)) === ___763290223(9)){ return true;} if(!\Bitrix\Main\Loader::includeModule(___763290223(10))){ return true;} return Feature::isFeatureEnabled(___763290223(11));} private static function __461010746(): bool{ if(Manager::getOption(___763290223(12)) === ___763290223(13)){ return true;} return false;} public static function landingPublication(Landing $landing, $_346260345= null, bool $_741402305= false): bool{ static $_243815805=[]; static $_1251375852=[]; Manager::disableAllFeaturesTmp(); if(!$landing->exist()){ return false;} $_557749258= new Event(___763290223(14), ___763290223(15), array( ___763290223(16) => $landing->getId(), ___763290223(17) => $_346260345, ___763290223(18) => $landing->getSiteId())); $_557749258->send(); foreach($_557749258->getResults() as $_84735994){ if($_84735994->getType() == EventResult::ERROR){ foreach($_84735994->getErrors() as $_2070555243){ $landing->getError()->addError( $_2070555243->getCode(), $_2070555243->getMessage());} return false;}} if((1452/2-726)) if($_673247127= Configuration::getValue(___763290223(19))){ $_903509853=[]; $_801659881= Block::getList([ ___763290223(20) =>[ ___763290223(21)], ___763290223(22) =>[ ___763290223(23) => $landing->getId(), ___763290223(24) => ___763290223(25), ___763290223(26) => ___763290223(27), ___763290223(28) => ___763290223(29)]]); while($_2080490583= $_801659881->fetch()){ if($GLOBALS['____1812505571'][2](___763290223(30), $_2080490583[___763290223(31)], $_932014738)){ $_903509853= $GLOBALS['____1812505571'][3]($_903509853, $_932014738[round(0+0.33333333333333+0.33333333333333+0.33333333333333)]);}} $_903509853= $GLOBALS['____1812505571'][4]($GLOBALS['____1812505571'][5]($_903509853)); $_1981380609= new HttpClient; if($_903509853){ $_1624254947= $_1981380609->post(___763290223(32),[ ___763290223(33) => $_673247127, ___763290223(34) => $_903509853, ___763290223(35) => \Bitrix\Main\Application::getInstance()->getContext()->getServer()->get(___763290223(36))]); if($_1624254947 && $_1624254947 !== ___763290223(37)){ $landing->getError()->addError( ___763290223(38), Loc::getMessage(___763290223(39))); return false;}}} if(!Manager::checkFeature( Manager::FEATURE_PUBLICATION_PAGE, array( ___763290223(40) => array( ___763290223(41) => $landing->getId())))){ $landing->getError()->addError( ___763290223(42), Restriction\Manager::getSystemErrorMessage(___763290223(43))); return false;} $_1701281204= $landing->getMeta(); if( isset($_1701281204[___763290223(44)]) && \Bitrix\Main\Loader::includeModule(___763290223(45))){ $_801659881= AppTable::getList([ ___763290223(46) =>[ ___763290223(47) => $_1701281204[___763290223(48)]]]); if($_2080490583= $_801659881->fetch()){ $_1351051071= AppTable::getAppStatusInfo($_2080490583, ___763290223(49)); if($_1351051071[___763290223(50)] != ___763290223(51)){ $landing->getError()->addError( ___763290223(52), Restriction\Manager::getSystemErrorMessage(___763290223(53))); return false;}}} $_150092790=[]; $_801659881= Block::getList([ ___763290223(54) =>[ ___763290223(55)], ___763290223(56) =>[ ___763290223(57) => $landing->getId(), ___763290223(58) => ___763290223(59), ___763290223(60) => ___763290223(61), ___763290223(62) => ___763290223(63), ___763290223(64) => ___763290223(65)]]); while($_2080490583= $_801659881->fetch()){ $_150092790[]= $GLOBALS['____1812505571'][6]($_2080490583[___763290223(66)], round(0+1.25+1.25+1.25+1.25));} if(!empty($_150092790)){ foreach(Repo::getAppInfo($_150092790) as $_1164513626){ if(($_1164513626[___763290223(67)] ?? ___763290223(68)) !== ___763290223(69)){ $landing->getError()->addError( ___763290223(70), Restriction\Manager::getSystemErrorMessage(___763290223(71))); return false;}}} if(!$GLOBALS['____1812505571'][7]($landing->getSiteId(), $_1251375852)){ $_1251375852[]= $landing->getSiteId(); $_801659881= Site::getList(array( ___763290223(72) => array( ___763290223(73), ___763290223(74)), ___763290223(75) => array( ___763290223(76) => $landing->getSiteId(), ___763290223(77) => ___763290223(78), ___763290223(79) => ___763290223(80)))); if($_2080490583= $_801659881->fetch()){ if(!Manager::checkFeature( Manager::FEATURE_PUBLICATION_SITE,[ ___763290223(81) =>[ ___763290223(82) => $_2080490583[___763290223(83)]], ___763290223(84) => $_2080490583[___763290223(85)]])){ $_315842485= Manager::licenseIsFreeSite($_2080490583[___763290223(86)]) &&!Manager::isFreePublicAllowed()? ___763290223(87): ___763290223(88); $_1181648167= Manager::licenseIsFreeSite($_2080490583[___763290223(89)]) &&!Manager::isFreePublicAllowed()? ___763290223(90): ___763290223(91); $landing->getError()->addError( $_315842485, Restriction\Manager::getSystemErrorMessage($_1181648167)); return false;}}} if(\Bitrix\Landing\Hook\Page\HeadBlock::isLockedFeature()){ $_1283583006=[$landing->getId()]; $_801659881= Landing::getList([ ___763290223(92) =>[ ___763290223(93)], ___763290223(94) =>[ ___763290223(95) => $landing->getSiteId(), ___763290223(96) => ___763290223(97)]]); while($_2080490583= $_801659881->fetch()){ $_1283583006[]= $_2080490583[___763290223(98)];} $_801659881= HookData::getList([ ___763290223(99) =>[ ___763290223(100), ___763290223(101), ___763290223(102)], ___763290223(103) =>[[ ___763290223(104) => ___763290223(105),[ ___763290223(106) => Hook::ENTITY_TYPE_SITE, ___763290223(107) => $landing->getSiteId()],[ ___763290223(108) => Hook::ENTITY_TYPE_LANDING, ___763290223(109) => $_1283583006]], ___763290223(110) => ___763290223(111), ___763290223(112) => ___763290223(113), ___763290223(114) => ___763290223(115)], ___763290223(116) => round(0+0.5+0.5)]); if($_2080490583= $_801659881->fetch()){ $landing->getError()->addError( ___763290223(117). $_2080490583[___763290223(118)]. $_2080490583[___763290223(119)]. ___763290223(120), Restriction\Manager::getSystemErrorMessage(___763290223(121))); return false;}} if(!self::checkSiteVerification($landing->getSiteId(), $landing->getError())){ return false;} $_557749258= new Event(___763290223(122), ___763290223(123), array( ___763290223(124) => $landing->getId(), ___763290223(125) => $_346260345, ___763290223(126) => $_1701281204[___763290223(127)],)); $_557749258->send(); foreach($_557749258->getResults() as $_84735994){ if($_84735994->getResultType() == EventResult::ERROR){ foreach($_84735994->getErrors() as $_2070555243){ $landing->getError()->addError( $_2070555243->getCode(), $_2070555243->getMessage());} return false;}} if($_741402305){ return true;} if(!\Bitrix\Main\ModuleManager::isModuleInstalled(___763290223(128))){ $_200692648= $GLOBALS[___763290223(129)]->Query(___763290223(130), true); if($_801659881= $_200692648->Fetch()){ $_605852832= $_801659881[___763290223(131)]; list($_1439065138, $_783166426)= $GLOBALS['____1812505571'][8](___763290223(132), $_605852832); $_998526610= $GLOBALS['____1812505571'][9](___763290223(133), $_1439065138); $_421387150= ___763290223(134).$GLOBALS['____1812505571'][10]($GLOBALS['____1812505571'][11](___763290223(135))); $_1590960974= $GLOBALS['____1812505571'][12](___763290223(136), $_783166426, $_421387150, true); if($GLOBALS['____1812505571'][13]($_1590960974, $_998526610) !==(868-2*434)){ $_783166426= ___763290223(137);}} else{ $_783166426= ___763290223(138);} if(!empty($_783166426)){ $_835357703= $GLOBALS['____1812505571'][14](___763290223(139), $_783166426); $_116650575= $GLOBALS['____1812505571'][15](min(230,0,76.666666666667),(1372/2-686), min(208,0,69.333333333333), $_835357703[round(0+0.33333333333333+0.33333333333333+0.33333333333333)], $_835357703[round(0+2)], $_835357703[(762-2*381)]); if($_116650575 <= $GLOBALS['____1812505571'][16]()){ $landing->getError()->addError( ___763290223(140), Loc::getMessage(___763290223(141))); return false;}}}if(!\Bitrix\Main\ModuleManager::isModuleInstalled(___763290223(142))){ $_200692648= $GLOBALS[___763290223(143)]->Query(___763290223(144), true); if($_801659881= $_200692648->Fetch()){ $_605852832= $_801659881[___763290223(145)]; list($_1439065138, $_783166426)= $GLOBALS['____1812505571'][17](___763290223(146), $_605852832); $_998526610= $GLOBALS['____1812505571'][18](___763290223(147), $_1439065138); $_421387150= ___763290223(148).$GLOBALS['____1812505571'][19]($GLOBALS['____1812505571'][20](___763290223(149))); $_1590960974= $GLOBALS['____1812505571'][21](___763290223(150), $_783166426, $_421387150, true); if($GLOBALS['____1812505571'][22]($_1590960974, $_998526610) !==(141*2-282)){ $_783166426= ___763290223(151);}} else{ $_783166426= ___763290223(152);} if(!empty($_783166426)){ $_835357703= $GLOBALS['____1812505571'][23](___763290223(153), $_783166426); $_116650575= $GLOBALS['____1812505571'][24]((209*2-418),(134*2-268),(810-2*405), $_835357703[round(0+0.5+0.5)], $_835357703[round(0+0.5+0.5+0.5+0.5)], $_835357703[(954-2*477)]); if($_116650575 <= $GLOBALS['____1812505571'][25]()){ $landing->getError()->addError( ___763290223(154), Loc::getMessage(___763290223(155))); return false;}}} if($landing->getFolderId()){ Site::publicationFolder($landing->getFolderId());} if(!$_346260345){ Hook::setEditMode(); Hook::publicationSite($landing->getSiteId()); Hook::publicationLanding($landing->getId());} Assets\Manager::rebuildWebpackForLanding($landing->getId()); self::blocksPublication($landing, $_346260345); $_171502247= new \Bitrix\Main\Type\DateTime; $_1972054182=[ ___763290223(156) => ___763290223(157), ___763290223(158) => ___763290223(159), ___763290223(160) => $_171502247, ___763290223(161) => false]; $_801659881= Landing::update($landing->getId(), $_1972054182); $landing->setMetaData($_1972054182); if($_801659881->isSuccess()){ if(!$GLOBALS['____1812505571'][26]($landing->getSiteId(), $_243815805)){ $_243815805[]= $landing->getSiteId(); $_801659881= Site::update($landing->getSiteId(), array( ___763290223(162) => ___763290223(163))); if(!$_801659881->isSuccess()){ $landing->getError()->addFromResult( $_801659881); return false;}} return true;} else{ $landing->getError()->addFromResult( $_801659881);} return false;} public static function blocksPublication(\Bitrix\Landing\Landing $landing, $_346260345= null): void{ if($landing->exist()){ $_1156723070= $landing->getId(); $_465661869= array(); $_1175500863= array(); $_1300126679= array(); $_188262261= ___763290223(164); $_735520506=[ ___763290223(165) => $landing->getId(), ___763290223(166) => ___763290223(167)]; if($_346260345){ $_735520506[___763290223(168)]= $_346260345; $_801659881= Block::getList([ ___763290223(169) =>[ ___763290223(170), ___763290223(171)], ___763290223(172) => $_735520506]); $_735520506[___763290223(173)]= (array)$_735520506[___763290223(174)]; while($_2080490583= $_801659881->fetch()){ $_735520506[___763290223(175)][]= $_2080490583[___763290223(176)];}} $_801659881= Block::getList([ ___763290223(177) =>[ ___763290223(178), ___763290223(179), ___763290223(180), ___763290223(181), ___763290223(182), ___763290223(183), ___763290223(184), ___763290223(185), ___763290223(186), ___763290223(187), ___763290223(188), ___763290223(189), ___763290223(190), ___763290223(191)], ___763290223(192) => $_735520506]); while($_2080490583= $_801659881->fetch()){ $_465661869[$_2080490583[___763290223(193)]]= $_2080490583;} foreach($_465661869 as $_748026501 => $_895575766){ if($_895575766[___763290223(194)] != ___763290223(195)){ $_895575766[___763290223(196)]= $GLOBALS['____1812505571'][27]( ___763290223(197), function($_902671026){ return ___763290223(198). PublicAction\Utils::getIblockURL( $_902671026[round(0+1.5+1.5)], $GLOBALS['____1812505571'][28]($_902671026[round(0+1+1)])). ___763290223(199);}, $_895575766[___763290223(200)]); $_895575766[___763290223(201)]= $GLOBALS['____1812505571'][29]( ___763290223(202), function($_902671026){ $_902671026[round(0+0.33333333333333+0.33333333333333+0.33333333333333)]= $GLOBALS['____1812505571'][30]( ___763290223(203), function($_257168667){ return PublicAction\Utils::getIblockURL( $_257168667[round(0+0.75+0.75+0.75+0.75)], $GLOBALS['____1812505571'][31]($_257168667[round(0+0.4+0.4+0.4+0.4+0.4)]));}, $_902671026[round(0+0.33333333333333+0.33333333333333+0.33333333333333)]); return $_902671026[round(0+0.25+0.25+0.25+0.25)]. $_902671026[round(0+1.6666666666667+1.6666666666667+1.6666666666667)];}, $_895575766[___763290223(204)]); $_895575766[___763290223(205)]= Subtype\Form::prepareFormsToPublication( $_895575766[___763290223(206)]); $_895575766[___763290223(207)]= $GLOBALS['____1812505571'][32]( ___763290223(208), ___763290223(209), $_895575766[___763290223(210)]); $_512824555= isset($_465661869[$_895575766[___763290223(211)]])? $_465661869[$_895575766[___763290223(212)]][___763290223(213)]:(1172/2-586); if($_512824555){ Cache::clear($_512824555); $_801659881= Block::update($_512824555, array( ___763290223(214) => $_895575766[___763290223(215)], ___763290223(216) => $_895575766[___763290223(217)], ___763290223(218) => $_895575766[___763290223(219)], ___763290223(220) => $_895575766[___763290223(221)], ___763290223(222) => $_895575766[___763290223(223)], ___763290223(224) => $_895575766[___763290223(225)], ___763290223(226) => $_895575766[___763290223(227)], ___763290223(228) => $_895575766[___763290223(229)], ___763290223(230) => $_895575766[___763290223(231)], ___763290223(232) => $_895575766[___763290223(233)])); $_801659881->isSuccess(); unset($_465661869[$_895575766[___763290223(234)]]); File::replaceInBlock( $_512824555, File::getFilesFromBlockContent( $_748026501, $_895575766[___763290223(235)]));} else{ $_801659881= Block::add(array( ___763290223(236) => $_1156723070, ___763290223(237) => $_895575766[___763290223(238)], ___763290223(239) => $_895575766[___763290223(240)], ___763290223(241) => $_895575766[___763290223(242)]?: ___763290223(243). $_748026501, ___763290223(244) => $_895575766[___763290223(245)], ___763290223(246) => $_895575766[___763290223(247)], ___763290223(248) => $_895575766[___763290223(249)], ___763290223(250) => $_895575766[___763290223(251)], ___763290223(252) => $_895575766[___763290223(253)], ___763290223(254) => $_895575766[___763290223(255)], ___763290223(256) => $_895575766[___763290223(257)], ___763290223(258) => $_895575766[___763290223(259)])); if($_801659881->isSuccess()){ $_512824555= $_801659881->getId(); $_801659881= Block::update($_748026501, array( ___763290223(260) => $_512824555)); $_801659881->isSuccess(); File::addToBlock( $_512824555, File::getFilesFromBlockContent( $_748026501, $_895575766[___763290223(261)]));}} if($_512824555){ $_1162446085= new Block($_512824555); Assets\PreProcessing::blockPublicationProcessing($_1162446085); $_895575766[___763290223(262)]= $_1162446085->getContent(); unset($_1162446085);} if($GLOBALS['____1812505571'][33]($_188262261, $_895575766[___763290223(263)])){ $_1175500863[$_512824555]= $_895575766[___763290223(264)];} $_1300126679[$_748026501]= $_512824555; unset($_465661869[$_748026501]);}} foreach($_465661869 as $_748026501 => $_895575766){ $_801659881= Block::delete($_748026501); $_801659881->isSuccess();} foreach($_1175500863 as $_748026501 => $_257235494){ $_257235494= $GLOBALS['____1812505571'][34]( $_188262261, function($_1531728111) use($_1300126679){ if(isset($_1300126679[$_1531728111[round(0+2)]])){ return $_1531728111[round(0+0.2+0.2+0.2+0.2+0.2)]. ___763290223(265). $_1300126679[$_1531728111[round(0+0.5+0.5+0.5+0.5)]]. $_1531728111[round(0+1+1+1)];} else{ return $_1531728111[round(0+1)]. ___763290223(266). $_1531728111[round(0+0.4+0.4+0.4+0.4+0.4)]. $_1531728111[round(0+0.75+0.75+0.75+0.75)];}}, $_257235494); $_801659881= Block::update($_748026501, array( ___763290223(267) => $_257235494)); $_801659881->isSuccess();}}}}?>
Function Calls
None |
Stats
MD5 | 830c6cc98ccad0f5a6841b0172ea5985 |
Eval Count | 0 |
Decode Time | 92 ms |