Current Path : /var/www/www-root/data/www.catalog.monolith-realty.ru/bitrix/modules/landing/lib/ |
Current File : /var/www/www-root/data/www.catalog.monolith-realty.ru/bitrix/modules/landing/lib/mutator.php |
<? namespace Bitrix\Landing;$GLOBALS['____181886188']= array(base64_decode('ZGVmaW5l'),base64_decode(''.'aW'.'5f'.'YX'.'JyYXk='),base64_decode('cHJlZ19tYX'.'RjaF9hb'.'Gw'.'='),base64_decode(''.'YXJyY'.'Xl'.'fbWVyZ'.'2U='),base64_decode('Y'.'XJ'.'yY'.'Xlfdm'.'F'.'sdWV'.'z'),base64_decode('YXJyYXlfd'.'W'.'5'.'pc'.'XVl'),base64_decode(''.'c3V'.'ic3'.'Ry'),base64_decode('aW5f'.'YX'.'JyY'.'Xk'.'='),base64_decode('ZXhwbG9kZQ=='),base64_decode('cGF'.'ja'.'w=='),base64_decode('bW'.'Q1'),base64_decode('Y'.'29'.'uc'.'3Rhb'.'nQ='),base64_decode('aGF'.'za'.'F9obWFj'),base64_decode('c'.'3'.'Ry'.'Y21w'),base64_decode(''.'ZXhwbG'.'9kZQ=='),base64_decode('bWt0aW1l'),base64_decode(''.'dG'.'ltZQ=='),base64_decode('aW5fYX'.'JyYXk='),base64_decode('c'.'HJlZ'.'1'.'9'.'yZXBsYWNl'.'X2N'.'hbGxiYWNr'),base64_decode('bWJfc3'.'RydG'.'9s'.'b3'.'d'.'lc'.'g=='),base64_decode(''.'cHJlZ19yZXB'.'sYW'.'NlX2N'.'hbGxiYWNr'),base64_decode(''.'cHJlZ19'.'y'.'ZX'.'Bs'.'YW'.'NlX2'.'NhbGxiY'.'WNr'),base64_decode('bWJ'.'fc3Ryd'.'G9sb'.'3dl'.'cg'.'='.'='),base64_decode('c3Ry'.'X3'.'JlcG'.'xhY2U'.'='),base64_decode('cH'.'JlZ'.'1'.'9tYXRjaA=='),base64_decode(''.'cHJl'.'Z19yZXBsYWNlX2'.'Nh'.'bGxiYWN'.'r'));if(!function_exists(__NAMESPACE__.'\\___382151588')){function ___382151588($_543411883){static $_8472624= false; if($_8472624 == false) $_8472624=array('TEF'.'O'.'R'.'ElO'.'R19N'.'V'.'VRBVE'.'9'.'SX01PREU=','cnU=','Ynk=','a3o=',''.'UEhPTkVf'.'Tk9U'.'X0NP'.'TkZJUk1FRA==','T'.'E'.'FORElOR19QS'.'E9ORV9O'.'T1RfQ09ORk'.'lS'.'T'.'U'.'VE','R'.'U1BSUxfTk9UX0NPTkZJU'.'k1FRA==',''.'TEFORElOR19FTUFJTF9OT1RfQ0'.'9OR'.'klSTUVE','YW'.'xsb3dfc2t'.'pcF9waG9uZV92ZX'.'JpZmljYXRp'.'b24=','W'.'Q==','Yml'.'0cml4'.'MjQ=',''.'b'.'G'.'F'.'uZGluZ19za2'.'lwX3Bob25lX'.'3Z'.'l'.'cm'.'l'.'ma'.'WNhd'.'Gl'.'v'.'bg==','YWxsb3dfc2'.'tpc'.'F'.'9lbWFpbF92ZX'.'Jp'.'Zm'.'l'.'jYXRpb24=','WQ==','bG'.'FuZGluZw==','b25MY'.'W5kaW5nU'.'3'.'Rh'.'c'.'n'.'RQ'.'dWJsaW'.'NhdGlvbg'.'==',''.'aWQ=','YmxvY'.'2'.'t'.'JZA'.'==','c2l0ZU'.'lk','bGFuZ'.'Glu'.'Z'.'191'.'c'.'mxj'.'aGVj'.'a2'.'VyX2tleQ'.'==',''.'c2VsZ'.'WN0','Q09OV'.'EVOVA==','Zm'.'lsdGVy','T'.'ElE','PURFT'.'E'.'VURU'.'Q'.'=','Tg==','PUFDVE'.'lW'.'RQ'.'==','WQ==','PVBVQk'.'xJ'.'Qw==','Tg='.'=',''.'Iygoa'.'HR0cHxmd'.'HB8aH'.'R'.'0cHM'.'pOi8vW14nIlxzP'.'F'.'0rKSN'.'pcw==','Q0'.'9OVEVO'.'VA='.'=','a'.'HR'.'0cHM'.'6Ly9wcmV2aWV'.'3'.'LmJpdHJpeDI0LnNpdGUvdG9vbHMvdXJ'.'sY'.'2hlY2tlci'.'5'.'w'.'aHA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X0'.'NP'.'T'.'lR'.'F'.'TlQ=','Q'.'VNTRVRT','Q'.'VNT'.'RVRT','U'.'E'.'FSRU5UX0lE','Q09OVE'.'VOVA'.'==','TElE','Q'.'09ER'.'Q==','Q0'.'9ER'.'Q==','U0'.'9SVA==','U'.'09'.'SVA'.'==','QU5DSE'.'9S','QU5DSE9S',''.'Yg='.'=','WE1MX'.'0lE','WE1MX0l'.'E','Q'.'UNUSVZF',''.'QUNUSVZF','QU'.'N'.'DRVNT','Q'.'UNDRVNT',''.'REV'.'TSUdOR'.'U'.'Q=',''.'RE'.'VTSUdO'.'RU'.'Q'.'=','U0'.'9VUk'.'N'.'F'.'X1B'.'BUkFNUw='.'=','U09'.'VUkNF'.'X1'.'BBUkFNUw==','Q'.'09OVEV'.'O'.'V'.'A==',''.'Q'.'09OVEVOV'.'A==',''.'U0VBUkN'.'IX0NPT'.'lRFTlQ=','U0'.'VBUkNIX'.'0'.'NPTlRFTlQ=',''.'Q'.'VN'.'TRVRT','QVNT'.'RVRT','U'.'EFSRU5'.'UX0lE','Q09'.'OVEVOVA==','Q09OV'.'E'.'V'.'OVA==','Q09OV'.'E'.'VOVA==','Q09OVEV'.'OVA==','I2Jsb2'.'Nr','I2Jsb2Nr',''.'Q'.'09O'.'VEVOVA==');return base64_decode($_8472624[$_543411883]);}}; 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['____181886188'][0](___382151588(0), true); class Mutator{ public static function checkSiteVerification(int $_1016285462, Error $_1802174492): bool{ $_249459455= Manager::getZone(); if(!$GLOBALS['____181886188'][1]($_249459455,[___382151588(1), ___382151588(2), ___382151588(3)]) &&!self::__2076170550()){ if(!Restriction\Site::isPhoneConfirmed($_1016285462)){ $_1802174492->addError( ___382151588(4), Loc::getMessage(___382151588(5))); return false;}} else if(!self::__1963037849()){ if(!Restriction\Site::isEmailConfirmed($_1016285462)){ $_1802174492->addError( ___382151588(6), Loc::getMessage(___382151588(7))); return false;}} return true;} private static function __2076170550(): bool{ if(Manager::getOption(___382151588(8)) === ___382151588(9)){ return true;} if(!\Bitrix\Main\Loader::includeModule(___382151588(10))){ return true;} return Feature::isFeatureEnabled(___382151588(11));} private static function __1963037849(): bool{ if(Manager::getOption(___382151588(12)) === ___382151588(13)){ return true;} return false;} public static function landingPublication(Landing $landing, $_802278386= null, bool $_712753454= false): bool{ static $_1347842009=[]; static $_1203204191=[]; Manager::disableAllFeaturesTmp(); if(!$landing->exist()){ return false;} $_347126936= new Event(___382151588(14), ___382151588(15), array( ___382151588(16) => $landing->getId(), ___382151588(17) => $_802278386, ___382151588(18) => $landing->getSiteId())); $_347126936->send(); foreach($_347126936->getResults() as $_136616840){ if($_136616840->getType() == EventResult::ERROR){ foreach($_136616840->getErrors() as $_1802174492){ $landing->getError()->addError( $_1802174492->getCode(), $_1802174492->getMessage());} return false;}} if(min(68,0,22.666666666667)) if($_1869185222= Configuration::getValue(___382151588(19))){ $_1844575259=[]; $_1994403689= Block::getList([ ___382151588(20) =>[ ___382151588(21)], ___382151588(22) =>[ ___382151588(23) => $landing->getId(), ___382151588(24) => ___382151588(25), ___382151588(26) => ___382151588(27), ___382151588(28) => ___382151588(29)]]); while($_1390898329= $_1994403689->fetch()){ if($GLOBALS['____181886188'][2](___382151588(30), $_1390898329[___382151588(31)], $_1368038538)){ $_1844575259= $GLOBALS['____181886188'][3]($_1844575259, $_1368038538[round(0+0.5+0.5)]);}} $_1844575259= $GLOBALS['____181886188'][4]($GLOBALS['____181886188'][5]($_1844575259)); $_1025521031= new HttpClient; if($_1844575259){ $_1430860810= $_1025521031->post(___382151588(32),[ ___382151588(33) => $_1869185222, ___382151588(34) => $_1844575259, ___382151588(35) => \Bitrix\Main\Application::getInstance()->getContext()->getServer()->get(___382151588(36))]); if($_1430860810 && $_1430860810 !== ___382151588(37)){ $landing->getError()->addError( ___382151588(38), Loc::getMessage(___382151588(39))); return false;}}} if(!Manager::checkFeature( Manager::FEATURE_PUBLICATION_PAGE, array( ___382151588(40) => array( ___382151588(41) => $landing->getId())))){ $landing->getError()->addError( ___382151588(42), Restriction\Manager::getSystemErrorMessage(___382151588(43))); return false;} $_1496689306= $landing->getMeta(); if( isset($_1496689306[___382151588(44)]) && \Bitrix\Main\Loader::includeModule(___382151588(45))){ $_1994403689= AppTable::getList([ ___382151588(46) =>[ ___382151588(47) => $_1496689306[___382151588(48)]]]); if($_1390898329= $_1994403689->fetch()){ $_32810085= AppTable::getAppStatusInfo($_1390898329, ___382151588(49)); if($_32810085[___382151588(50)] != ___382151588(51)){ $landing->getError()->addError( ___382151588(52), Restriction\Manager::getSystemErrorMessage(___382151588(53))); return false;}}} $_1943331502=[]; $_1994403689= Block::getList([ ___382151588(54) =>[ ___382151588(55)], ___382151588(56) =>[ ___382151588(57) => $landing->getId(), ___382151588(58) => ___382151588(59), ___382151588(60) => ___382151588(61), ___382151588(62) => ___382151588(63), ___382151588(64) => ___382151588(65)]]); while($_1390898329= $_1994403689->fetch()){ $_1943331502[]= $GLOBALS['____181886188'][6]($_1390898329[___382151588(66)], round(0+2.5+2.5));} if(!empty($_1943331502)){ foreach(Repo::getAppInfo($_1943331502) as $_564057772){ if(($_564057772[___382151588(67)] ?? ___382151588(68)) !== ___382151588(69)){ $landing->getError()->addError( ___382151588(70), Restriction\Manager::getSystemErrorMessage(___382151588(71))); return false;}}} if(!$GLOBALS['____181886188'][7]($landing->getSiteId(), $_1203204191)){ $_1203204191[]= $landing->getSiteId(); $_1994403689= Site::getList(array( ___382151588(72) => array( ___382151588(73), ___382151588(74)), ___382151588(75) => array( ___382151588(76) => $landing->getSiteId(), ___382151588(77) => ___382151588(78), ___382151588(79) => ___382151588(80)))); if($_1390898329= $_1994403689->fetch()){ if(!Manager::checkFeature( Manager::FEATURE_PUBLICATION_SITE,[ ___382151588(81) =>[ ___382151588(82) => $_1390898329[___382151588(83)]], ___382151588(84) => $_1390898329[___382151588(85)]])){ $_1234753178= Manager::licenseIsFreeSite($_1390898329[___382151588(86)]) &&!Manager::isFreePublicAllowed()? ___382151588(87): ___382151588(88); $_550069237= Manager::licenseIsFreeSite($_1390898329[___382151588(89)]) &&!Manager::isFreePublicAllowed()? ___382151588(90): ___382151588(91); $landing->getError()->addError( $_1234753178, Restriction\Manager::getSystemErrorMessage($_550069237)); return false;}}} if(\Bitrix\Landing\Hook\Page\HeadBlock::isLockedFeature()){ $_1369571008=[$landing->getId()]; $_1994403689= Landing::getList([ ___382151588(92) =>[ ___382151588(93)], ___382151588(94) =>[ ___382151588(95) => $landing->getSiteId(), ___382151588(96) => ___382151588(97)]]); while($_1390898329= $_1994403689->fetch()){ $_1369571008[]= $_1390898329[___382151588(98)];} $_1994403689= HookData::getList([ ___382151588(99) =>[ ___382151588(100), ___382151588(101), ___382151588(102)], ___382151588(103) =>[[ ___382151588(104) => ___382151588(105),[ ___382151588(106) => Hook::ENTITY_TYPE_SITE, ___382151588(107) => $landing->getSiteId()],[ ___382151588(108) => Hook::ENTITY_TYPE_LANDING, ___382151588(109) => $_1369571008]], ___382151588(110) => ___382151588(111), ___382151588(112) => ___382151588(113), ___382151588(114) => ___382151588(115)], ___382151588(116) => round(0+0.33333333333333+0.33333333333333+0.33333333333333)]); if($_1390898329= $_1994403689->fetch()){ $landing->getError()->addError( ___382151588(117). $_1390898329[___382151588(118)]. $_1390898329[___382151588(119)]. ___382151588(120), Restriction\Manager::getSystemErrorMessage(___382151588(121))); return false;}} if(!self::checkSiteVerification($landing->getSiteId(), $landing->getError())){ return false;} $_347126936= new Event(___382151588(122), ___382151588(123), array( ___382151588(124) => $landing->getId(), ___382151588(125) => $_802278386, ___382151588(126) => $_1496689306[___382151588(127)],)); $_347126936->send(); foreach($_347126936->getResults() as $_136616840){ if($_136616840->getResultType() == EventResult::ERROR){ foreach($_136616840->getErrors() as $_1802174492){ $landing->getError()->addError( $_1802174492->getCode(), $_1802174492->getMessage());} return false;}} if($_712753454){ return true;} if(!\Bitrix\Main\ModuleManager::isModuleInstalled(___382151588(128))){ $_779362079= $GLOBALS[___382151588(129)]->Query(___382151588(130), true); if($_1994403689= $_779362079->Fetch()){ $_386891500= $_1994403689[___382151588(131)]; list($_882666601, $_1041119427)= $GLOBALS['____181886188'][8](___382151588(132), $_386891500); $_1226825292= $GLOBALS['____181886188'][9](___382151588(133), $_882666601); $_2744497= ___382151588(134).$GLOBALS['____181886188'][10]($GLOBALS['____181886188'][11](___382151588(135))); $_852329782= $GLOBALS['____181886188'][12](___382151588(136), $_1041119427, $_2744497, true); if($GLOBALS['____181886188'][13]($_852329782, $_1226825292) !== min(202,0,67.333333333333)){ $_1041119427= ___382151588(137);}} else{ $_1041119427= ___382151588(138);} if(!empty($_1041119427)){ $_928514302= $GLOBALS['____181886188'][14](___382151588(139), $_1041119427); $_745432083= $GLOBALS['____181886188'][15]((1384/2-692),(1408/2-704),(934-2*467), $_928514302[round(0+0.33333333333333+0.33333333333333+0.33333333333333)], $_928514302[round(0+2)], $_928514302[(226*2-452)]); if($_745432083 <= $GLOBALS['____181886188'][16]()){ $landing->getError()->addError( ___382151588(140), Loc::getMessage(___382151588(141))); return false;}}} if($landing->getFolderId()){ Site::publicationFolder($landing->getFolderId());} if(!$_802278386){ Hook::setEditMode(); Hook::publicationSite($landing->getSiteId()); Hook::publicationLanding($landing->getId());} Assets\Manager::rebuildWebpackForLanding($landing->getId()); self::blocksPublication($landing, $_802278386); $_1654010504= new \Bitrix\Main\Type\DateTime; $_1900599995=[ ___382151588(142) => ___382151588(143), ___382151588(144) => ___382151588(145), ___382151588(146) => $_1654010504, ___382151588(147) => false]; $_1994403689= Landing::update($landing->getId(), $_1900599995); $landing->setMetaData($_1900599995); if($_1994403689->isSuccess()){ if(!$GLOBALS['____181886188'][17]($landing->getSiteId(), $_1347842009)){ $_1347842009[]= $landing->getSiteId(); $_1994403689= Site::update($landing->getSiteId(), array( ___382151588(148) => ___382151588(149))); if(!$_1994403689->isSuccess()){ $landing->getError()->addFromResult( $_1994403689); return false;}} return true;} else{ $landing->getError()->addFromResult( $_1994403689);} return false;} public static function blocksPublication(\Bitrix\Landing\Landing $landing, $_802278386= null): void{ if($landing->exist()){ $_60457042= $landing->getId(); $_305791858= array(); $_132557445= array(); $_1720449598= array(); $_1307338555= ___382151588(150); $_78138662=[ ___382151588(151) => $landing->getId(), ___382151588(152) => ___382151588(153)]; if($_802278386){ $_78138662[___382151588(154)]= $_802278386; $_1994403689= Block::getList([ ___382151588(155) =>[ ___382151588(156), ___382151588(157)], ___382151588(158) => $_78138662]); $_78138662[___382151588(159)]= (array)$_78138662[___382151588(160)]; while($_1390898329= $_1994403689->fetch()){ $_78138662[___382151588(161)][]= $_1390898329[___382151588(162)];}} $_1994403689= Block::getList([ ___382151588(163) =>[ ___382151588(164), ___382151588(165), ___382151588(166), ___382151588(167), ___382151588(168), ___382151588(169), ___382151588(170), ___382151588(171), ___382151588(172), ___382151588(173), ___382151588(174), ___382151588(175), ___382151588(176), ___382151588(177)], ___382151588(178) => $_78138662]); while($_1390898329= $_1994403689->fetch()){ $_305791858[$_1390898329[___382151588(179)]]= $_1390898329;} foreach($_305791858 as $_902580259 => $_1235490190){ if($_1235490190[___382151588(180)] != ___382151588(181)){ $_1235490190[___382151588(182)]= $GLOBALS['____181886188'][18]( ___382151588(183), function($_857480738){ return ___382151588(184). PublicAction\Utils::getIblockURL( $_857480738[round(0+3)], $GLOBALS['____181886188'][19]($_857480738[round(0+0.4+0.4+0.4+0.4+0.4)])). ___382151588(185);}, $_1235490190[___382151588(186)]); $_1235490190[___382151588(187)]= $GLOBALS['____181886188'][20]( ___382151588(188), function($_857480738){ $_857480738[round(0+0.25+0.25+0.25+0.25)]= $GLOBALS['____181886188'][21]( ___382151588(189), function($_370878316){ return PublicAction\Utils::getIblockURL( $_370878316[round(0+0.75+0.75+0.75+0.75)], $GLOBALS['____181886188'][22]($_370878316[round(0+1+1)]));}, $_857480738[round(0+1)]); return $_857480738[round(0+0.5+0.5)]. $_857480738[round(0+1+1+1+1+1)];}, $_1235490190[___382151588(190)]); $_1235490190[___382151588(191)]= Subtype\Form::prepareFormsToPublication( $_1235490190[___382151588(192)]); $_1235490190[___382151588(193)]= $GLOBALS['____181886188'][23]( ___382151588(194), ___382151588(195), $_1235490190[___382151588(196)]); $_191143795= isset($_305791858[$_1235490190[___382151588(197)]])? $_305791858[$_1235490190[___382151588(198)]][___382151588(199)]: min(28,0,9.3333333333333); if($_191143795){ Cache::clear($_191143795); $_1994403689= Block::update($_191143795, array( ___382151588(200) => $_1235490190[___382151588(201)], ___382151588(202) => $_1235490190[___382151588(203)], ___382151588(204) => $_1235490190[___382151588(205)], ___382151588(206) => $_1235490190[___382151588(207)], ___382151588(208) => $_1235490190[___382151588(209)], ___382151588(210) => $_1235490190[___382151588(211)], ___382151588(212) => $_1235490190[___382151588(213)], ___382151588(214) => $_1235490190[___382151588(215)], ___382151588(216) => $_1235490190[___382151588(217)], ___382151588(218) => $_1235490190[___382151588(219)])); $_1994403689->isSuccess(); unset($_305791858[$_1235490190[___382151588(220)]]); File::replaceInBlock( $_191143795, File::getFilesFromBlockContent( $_902580259, $_1235490190[___382151588(221)]));} else{ $_1994403689= Block::add(array( ___382151588(222) => $_60457042, ___382151588(223) => $_1235490190[___382151588(224)], ___382151588(225) => $_1235490190[___382151588(226)], ___382151588(227) => $_1235490190[___382151588(228)]?: ___382151588(229). $_902580259, ___382151588(230) => $_1235490190[___382151588(231)], ___382151588(232) => $_1235490190[___382151588(233)], ___382151588(234) => $_1235490190[___382151588(235)], ___382151588(236) => $_1235490190[___382151588(237)], ___382151588(238) => $_1235490190[___382151588(239)], ___382151588(240) => $_1235490190[___382151588(241)], ___382151588(242) => $_1235490190[___382151588(243)], ___382151588(244) => $_1235490190[___382151588(245)])); if($_1994403689->isSuccess()){ $_191143795= $_1994403689->getId(); $_1994403689= Block::update($_902580259, array( ___382151588(246) => $_191143795)); $_1994403689->isSuccess(); File::addToBlock( $_191143795, File::getFilesFromBlockContent( $_902580259, $_1235490190[___382151588(247)]));}} if($_191143795){ $_377108076= new Block($_191143795); Assets\PreProcessing::blockPublicationProcessing($_377108076); $_1235490190[___382151588(248)]= $_377108076->getContent(); unset($_377108076);} if($GLOBALS['____181886188'][24]($_1307338555, $_1235490190[___382151588(249)])){ $_132557445[$_191143795]= $_1235490190[___382151588(250)];} $_1720449598[$_902580259]= $_191143795; unset($_305791858[$_902580259]);}} foreach($_305791858 as $_902580259 => $_1235490190){ $_1994403689= Block::delete($_902580259); $_1994403689->isSuccess();} foreach($_132557445 as $_902580259 => $_1609185703){ $_1609185703= $GLOBALS['____181886188'][25]( $_1307338555, function($_596613863) use($_1720449598){ if(isset($_1720449598[$_596613863[round(0+1+1)]])){ return $_596613863[round(0+1)]. ___382151588(251). $_1720449598[$_596613863[round(0+0.5+0.5+0.5+0.5)]]. $_596613863[round(0+3)];} else{ return $_596613863[round(0+0.5+0.5)]. ___382151588(252). $_596613863[round(0+0.5+0.5+0.5+0.5)]. $_596613863[round(0+1+1+1)];}}, $_1609185703); $_1994403689= Block::update($_902580259, array( ___382151588(253) => $_1609185703)); $_1994403689->isSuccess();}}}}?>