1<?
namespace Bitrix\Landing;
$GLOBALS[
'____279611316']=
array(base64_decode(
''.
'ZGVma'.
'W5l'),base64_decode(
''.
'aW5fY'.
'XJyYXk='),base64_decode(
'cHJlZ19tYXRja'.
'F'.
'9hbG'.
'w='),base64_decode(
''.
'Y'.
'XJyYXlfbWVyZ'.
'2U='),base64_decode(
'YXJyY'.
'X'.
'lfd'.
'mF'.
's'.
'dWVz'),base64_decode(
'YXJyY'.
'Xlf'.
'd'.
'W5pc'.
'XVl'),base64_decode(
'c'.
'3V'.
'ic3'.
'R'.
'y'),base64_decode(
'aW5fYXJ'.
'yYXk='),base64_decode(
''.
'ZX'.
'hw'.
'bG'.
'9kZQ='.
'='),base64_decode(
'cGFj'.
'a'.
'w=='),base64_decode(
'bWQ1'),base64_decode(
'Y29u'.
'c3RhbnQ='),base64_decode(
'aGFzaF9'.
'o'.
'b'.
'WF'.
'j'),base64_decode(
'c3R'.
'yY2'.
'1w'),base64_decode(
'ZXhwbG9kZQ='.
'='),base64_decode(
'bWt0a'.
'W'.
'1l'),base64_decode(
''.
'dGltZ'.
'Q=='),base64_decode(
'aW5f'.
'YX'.
'J'.
'y'.
'YXk'.
'='),base64_decode(
'cHJlZ'.
'1'.
'9yZXBsY'.
'WN'.
'lX2NhbGxiY'.
'WNr'),base64_decode(
'bWJfc3Ryd'.
'G9sb3dlcg=='),base64_decode(
'cH'.
'JlZ19'.
'yZXBsYWN'.
'lX2'.
'N'.
'hbGxiYWNr'),base64_decode(
'c'.
'HJl'.
'Z'.
'1'.
'9yZXB'.
'sYWNlX2'.
'N'.
'hbG'.
'xi'.
'YWNr'),base64_decode(
'b'.
'WJ'.
'fc3'.
'Ry'.
'dG9s'.
'b'.
'3dlcg=='),base64_decode(
'c3R'.
'yX'.
'3'.
'JlcGxhY2U='),base64_decode(
''.
'cHJlZ1'.
'9'.
'tY'.
'X'.
'RjaA'.
'=='),base64_decode(
'c'.
'H'.
'JlZ19yZ'.
'XBsYWN'.
'lX'.
'2NhbGxi'.
'Y'.
'WNr'));
if(!function_exists(__NAMESPACE__.
'\\___970522214')){
function ___970522214($_718539520){
static $_829943955=
false;
if($_829943955 ==
false) $_829943955=
array(
''.
'TE'.
'FOR'.
'El'.
'OR19'.
'NVVR'.
'BV'.
'E9SX01PREU=',
'c'.
'n'.
'U=',
'Yn'.
'k=',
'a'.
'3o=',
'd'.
'Xo'.
'=',
''.
'UEhPTkVfTk'.
'9UX'.
'0NPTkZ'.
'JUk1FRA==',
'T'.
'EFORElO'.
'R19Q'.
'SE9OR'.
'V9OT'.
'1R'.
'fQ09'.
'ORk'.
'lSTUVE',
''.
'RU1B'.
'SUx'.
'f'.
'Tk9U'.
'X'.
'0'.
'NP'.
'TkZJUk1'.
'FRA==',
'TEFORElO'.
'R'.
'1'.
'9FTUFJTF9OT1R'.
'fQ09ORklSTU'.
'VE',
'YWxsb3dfc2tpc'.
'F9w'.
'aG'.
'9uZV92'.
'ZX'.
'JpZm'.
'ljY'.
'XR'.
'pb24=',
'WQ==',
'Y'.
'ml0cml4'.
'MjQ=',
'bGFu'.
'ZGlu'.
'Z19'.
'za2lw'.
'X'.
'3Bob25l'.
'X3'.
'Zlcmlm'.
'aWNhdGl'.
'vbg==',
''.
'Y'.
'Wxs'.
'b3dfc2t'.
'pcF9lbWFpbF92ZX'.
'JpZmljYXRpb24=',
'WQ==',
'b'.
'GFuZ'.
'Glu'.
'Zw==',
'b2'.
'5MYW5ka'.
'W5nU3Rh'.
'cn'.
'RQdW'.
'JsaWNhd'.
'Glvbg==',
'aWQ=',
'YmxvY2tJZA==',
'c2l0Z'.
'Ulk',
'bG'.
'FuZ'.
'GluZ1'.
'91cmxjaGV'.
'ja2Vy'.
'X'.
'2tl'.
'eQ==',
'c2VsZ'.
'WN0',
'Q09OVEV'.
'OVA==',
'Z'.
'm'.
'lsdGVy',
''.
'TElE',
''.
'PURFTEVURUQ=',
'Tg'.
'==',
'PU'.
'FDVElWR'.
'Q'.
'==',
'W'.
'Q==',
''.
'PVBVQ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U'.
'5'.
'UX0lE',
'Q0'.
'9OVEVOV'.
'A'.
'==',
'T'.
'ElE',
''.
'Q0'.
'9'.
'ERQ==',
'Q0'.
'9E'.
'RQ==',
'U'.
'0'.
'9SVA==',
'U09SVA==',
''.
'Q'.
'U5DS'.
'E'.
'9'.
'S',
'QU5DSE'.
'9S',
''.
'Y'.
'g='.
'=',
'WE'.
'1MX0lE',
'W'.
'E1MX0lE',
'Q'.
'UN'.
'USVZF',
'QUNUSVZF',
'QU'.
'NDRVNT',
'QUND'.
'RVNT',
'R'.
'E'.
'VTSU'.
'dORUQ'.
'=',
'REVTSUdORUQ=',
'U'.
'0'.
'9VUkNFX1B'.
'BU'.
'kFNUw==',
'U09VUkNFX1BBUkFN'.
'Uw==',
'Q'.
'09O'.
'V'.
'EVO'.
'VA==',
'Q09'.
'O'.
'VEVOVA==',
''.
'U0VB'.
'Uk'.
'NIX'.
'0'.
'NPT'.
'lRF'.
'TlQ=',
'U0VBUkNIX'.
'0'.
'NPTlRFTlQ=',
'QVN'.
'TR'.
'VRT',
'Q'.
'V'.
'NTR'.
'VR'.
'T',
'U'.
'EFSRU5'.
'UX0lE',
'Q09OVEVOVA==',
'Q09OVEVOVA==',
'Q0'.
'9'.
'O'.
'V'.
'EVOVA'.
'==',
''.
'Q09OV'.
'EVOVA==',
''.
'I2Jsb'.
'2Nr',
'I2Jsb2N'.
'r',
'Q09OVEVOVA'.
'==');
return base64_decode($_829943955[$_718539520]);}}; 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[
'____279611316'][0](___970522214(0),
true);
class Mutator{
public static function checkSiteVerification(
int $_852491107, Error $_1491703301): bool{ $_356736307= Manager::getZone();
if(!
$GLOBALS[
'____279611316'][1]($_356736307,[___970522214(1), ___970522214(2), ___970522214(3), ___970522214(4)]) &&!self::__1113366464()){
if(!Restriction\Site::isPhoneConfirmed($_852491107)){ $_1491703301->addError( ___970522214(5), Loc::getMessage(___970522214(6)));
return false;}}
else if(!self::__243328884()){
if(!Restriction\Site::isEmailConfirmed($_852491107)){ $_1491703301->addError( ___970522214(7), Loc::getMessage(___970522214(8)));
return false;}}
return true;}
private static function __1113366464(): bool{
if(
Manager::
getOption(___970522214(9)) === ___970522214(10)){
return true;}
if(!\
Bitrix\
Main\Loader::includeModule(___970522214(11))){
return true;}
return Feature::isFeatureEnabled(___970522214(12));}
private static function __243328884(): bool{ if(Manager::getOption(___970522214(13)) === ___970522214(14)){
return true;}
return false;}
public static function landingPublication(Landing $landing, $_245979103=
null,
bool $_1014965041=
false): bool{ static $_1547036861=[];
static $_1516486160=[]; Manager::disableAllFeaturesTmp();
if(!$landing->exist()){
return false;} $_49555849=
new Event(___970522214(15), ___970522214(16),
array( ___970522214(17) => $landing->getId(), ___970522214(18) => $_245979103, ___970522214(19) => $landing->getSiteId())); $_49555849->send();
foreach($_49555849->getResults() as $_872961708){
if($_872961708->getType() == EventResult::ERROR){
foreach($_872961708->getErrors() as $_1491703301){ $landing->getError()->addError( $_1491703301->getCode(), $_1491703301->getMessage());}
return false;}}
if(min(214,0,71.333333333333))
if($_181900013= Configuration::getValue(___970522214(20))){ $_1102350923=[]; $_767964923= Block::getList([ ___970522214(21) =>[ ___970522214(22)], ___970522214(23) =>[ ___970522214(24) => $landing->getId(), ___970522214(25) => ___970522214(26), ___970522214(27) => ___970522214(28), ___970522214(29) => ___970522214(30)]]);
while($_1337882483= $_767964923->fetch()){
if(
$GLOBALS[
'____279611316'][2](___970522214(31), $_1337882483[___970522214(32)], $_241176577)){ $_1102350923=
$GLOBALS[
'____279611316'][3]($_1102350923, $_241176577[round(0+0.2+0.2+0.2+0.2+0.2)]);}} $_1102350923=
$GLOBALS[
'____279611316'][4](
$GLOBALS[
'____279611316'][5]($_1102350923)); $_986388705=
new HttpClient;
if($_1102350923){ $_211059422= $_986388705->post(Manager::getPreviewHost(). ___970522214(33),[ ___970522214(34) => $_181900013, ___970522214(35) => $_1102350923, ___970522214(36) => \
Bitrix\Main\Application::getInstance()->
getContext()->getServer()->
get(___970522214(37))]);
if($_211059422 && $_211059422 !== ___970522214(38)){ $landing->getError()->addError( ___970522214(39), Loc::getMessage(___970522214(40)));
return false;}}}
if(!Manager::checkFeature( Manager::FEATURE_PUBLICATION_PAGE,
array( ___970522214(41) =>
array( ___970522214(42) => $landing->getId())))){ $landing->getError()->addError( ___970522214(43), Restriction\Manager::getSystemErrorMessage(___970522214(44)));
return false;} $_1478479645= $landing->getMeta();
if( isset($_1478479645[___970522214(45)]) && \
Bitrix\Main\Loader::includeModule(___970522214(46))){ $_767964923= AppTable::getList([ ___970522214(47) =>[ ___970522214(48) => $_1478479645[___970522214(49)]]]);
if($_1337882483= $_767964923->fetch()){ $_758137141= AppTable::getAppStatusInfo($_1337882483, ___970522214(50));
if($_758137141[___970522214(51)] != ___970522214(52)){ $landing->getError()->addError( ___970522214(53), Restriction\Manager::getSystemErrorMessage(___970522214(54)));
return false;}}} $_1840484710=[]; $_767964923= Block::getList([ ___970522214(55) =>[ ___970522214(56)], ___970522214(57) =>[ ___970522214(58) => $landing->getId(), ___970522214(59) => ___970522214(60), ___970522214(61) => ___970522214(62), ___970522214(63) => ___970522214(64), ___970522214(65) => ___970522214(66)]]);
while($_1337882483= $_767964923->fetch()){ $_1840484710[]=
$GLOBALS[
'____279611316'][6]($_1337882483[___970522214(67)], round(0+5));}
if(!empty($_1840484710)){
foreach(Repo::getAppInfo($_1840484710) as $_1719184944){
if(($_1719184944[___970522214(68)] ?? ___970522214(69)) !== ___970522214(70)){ $landing->getError()->addError( ___970522214(71), Restriction\Manager::getSystemErrorMessage(___970522214(72)));
return false;}}}
if(!
$GLOBALS[
'____279611316'][7]($landing->getSiteId(), $_1516486160)){ $_1516486160[]= $landing->getSiteId(); $_767964923= Site::getList(
array( ___970522214(73) =>
array( ___970522214(74), ___970522214(75)), ___970522214(76) =>
array( ___970522214(77) => $landing->getSiteId(), ___970522214(78) => ___970522214(79), ___970522214(80) => ___970522214(81))));
if($_1337882483= $_767964923->fetch()){
if(!Manager::checkFeature( Manager::FEATURE_PUBLICATION_SITE,[ ___970522214(82) =>[ ___970522214(83) => $_1337882483[___970522214(84)]], ___970522214(85) => $_1337882483[___970522214(86)]])){ $_1908170921= Manager::licenseIsFreeSite($_1337882483[___970522214(87)]) &&!Manager::isFreePublicAllowed()? ___970522214(88): ___970522214(89); $_1894455660= Manager::licenseIsFreeSite($_1337882483[___970522214(90)]) &&!Manager::isFreePublicAllowed()? ___970522214(91): ___970522214(92); $landing->getError()->
addError( $_1908170921, Restriction\Manager::getSystemErrorMessage($_1894455660));
return false;}}}
if(\
Bitrix\Landing\Hook\Page\HeadBlock::isLockedFeature()){ $_644192442=[$landing->getId()]; $_767964923= Landing::getList([ ___970522214(93) =>[ ___970522214(94)], ___970522214(95) =>[ ___970522214(96) => $landing->getSiteId(), ___970522214(97) => ___970522214(98)]]);
while($_1337882483= $_767964923->fetch()){ $_644192442[]= $_1337882483[___970522214(99)];} $_767964923= HookData::getList([ ___970522214(100) =>[ ___970522214(101), ___970522214(102), ___970522214(103)], ___970522214(104) =>[[ ___970522214(105) => ___970522214(106),[ ___970522214(107) => Hook::ENTITY_TYPE_SITE, ___970522214(108) => $landing->getSiteId()],[ ___970522214(109) => Hook::ENTITY_TYPE_LANDING, ___970522214(110) => $_644192442]], ___970522214(111) => ___970522214(112), ___970522214(113) => ___970522214(114), ___970522214(115) => ___970522214(116)], ___970522214(117) => round(0+1)]);
if($_1337882483= $_767964923->fetch()){ $landing->getError()->addError( ___970522214(118). $_1337882483[___970522214(119)]. $_1337882483[___970522214(120)]. ___970522214(121), Restriction\Manager::getSystemErrorMessage(___970522214(122)));
return false;}}
if(!self::checkSiteVerification($landing->getSiteId(), $landing->getError())){
return false;} $_49555849=
new Event(___970522214(123), ___970522214(124),
array( ___970522214(125) => $landing->getId(), ___970522214(126) => $_245979103, ___970522214(127) => $_1478479645[___970522214(128)],)); $_49555849->send();
foreach($_49555849->getResults() as $_872961708){
if($_872961708->getResultType() == EventResult::ERROR){
foreach($_872961708->getErrors() as $_1491703301){ $landing->getError()->addError( $_1491703301->getCode(), $_1491703301->getMessage());}
return false;}}
if($_1014965041){
return true;}
if(!\
Bitrix\Main\ModuleManager::isModuleInstalled(___970522214(129))){ $_630022590=
$GLOBALS[___970522214(130)]->Query(___970522214(131),
true);
if($_767964923= $_630022590->Fetch()){ $_1791890552= $_767964923[___970522214(132)]; list($_1288778759, $_1108829193)=
$GLOBALS[
'____279611316'][8](___970522214(133), $_1791890552); $_1858028427=
$GLOBALS[
'____279611316'][9](___970522214(134), $_1288778759); $_600461003= ___970522214(135).$GLOBALS[
'____279611316'][10](
$GLOBALS[
'____279611316'][11](___970522214(136))); $_1859062802=
$GLOBALS[
'____279611316'][12](___970522214(137), $_1108829193, $_600461003,
true);
if(
$GLOBALS[
'____279611316'][13]($_1859062802, $_1858028427) !==(127*2-254)){ $_1108829193= ___970522214(138);}}
else{ $_1108829193= ___970522214(139);}
if(!empty($_1108829193)){ $_25152287=
$GLOBALS[
'____279611316'][14](___970522214(140), $_1108829193); $_1912746069=
$GLOBALS[
'____279611316'][15](min(102,0,34),(894-2*447), min(158,0,52.666666666667), $_25152287[round(0+1)], $_25152287[round(0+1+1)], $_25152287[(228*2-456)]);
if($_1912746069 <=
$GLOBALS[
'____279611316'][16]()){ $landing->getError()->addError( ___970522214(141), Loc::getMessage(___970522214(142)));
return false;}}}
if($landing->getFolderId()){ Site::publicationFolder($landing->getFolderId());}
if(!$_245979103){ Hook::setEditMode(); Hook::publicationSite($landing->getSiteId()); Hook::publicationLanding($landing->getId());} Assets\Manager::rebuildWebpackForLanding($landing->getId()); self::blocksPublication($landing, $_245979103); $_1156517699= new \Bitrix\Main\Type\DateTime; $_326311852=[ ___970522214(143) => ___970522214(144), ___970522214(145) => ___970522214(146), ___970522214(147) => $_1156517699, ___970522214(148) =>
false]; $_767964923= Landing::update($landing->getId(), $_326311852); $landing->setMetaData($_326311852);
if($_767964923->isSuccess()){
if(!
$GLOBALS[
'____279611316'][17]($landing->getSiteId(), $_1547036861)){ $_1547036861[]= $landing->getSiteId(); $_767964923= Site::update($landing->getSiteId(),
array( ___970522214(149) => ___970522214(150)));
if(!$_767964923->isSuccess()){ $landing->getError()->addFromResult( $_767964923);
return false;}}
return true;}
else{ $landing->getError()->addFromResult( $_767964923);}
return false;}
public static function blocksPublication(\
Bitrix\Landing\Landing $landing, $_245979103=
null): void{ if($landing->exist()){ $_683593083= $landing->getId(); $_82218665=
array(); $_953444976=
array(); $_59755078=
array(); $_590869057= ___970522214(151); $_1394394967=[ ___970522214(152) => $landing->getId(), ___970522214(153) => ___970522214(154)];
if($_245979103){ $_1394394967[___970522214(155)]= $_245979103; $_767964923= Block::getList([ ___970522214(156) =>[ ___970522214(157), ___970522214(158)], ___970522214(159) => $_1394394967]); $_1394394967[___970522214(160)]= (
array)$_1394394967[___970522214(161)];
while($_1337882483= $_767964923->fetch()){ $_1394394967[___970522214(162)][]= $_1337882483[___970522214(163)];}} $_767964923= Block::getList([ ___970522214(164) =>[ ___970522214(165), ___970522214(166), ___970522214(167), ___970522214(168), ___970522214(169), ___970522214(170), ___970522214(171), ___970522214(172), ___970522214(173), ___970522214(174), ___970522214(175), ___970522214(176), ___970522214(177), ___970522214(178)], ___970522214(179) => $_1394394967]);
while($_1337882483= $_767964923->fetch()){ $_82218665[$_1337882483[___970522214(180)]]= $_1337882483;}
foreach($_82218665 as $_992476156 => $_1260894732){
if($_1260894732[___970522214(181)] != ___970522214(182)){ $_1260894732[___970522214(183)]=
$GLOBALS[
'____279611316'][18]( ___970522214(184),
function($_225768146){
return ___970522214(185). PublicAction\Utils::getIblockURL( $_225768146[round(0+3)],
$GLOBALS[
'____279611316'][19]($_225768146[round(0+2)])). ___970522214(186);}, $_1260894732[___970522214(187)]); $_1260894732[___970522214(188)]=
$GLOBALS[
'____279611316'][20]( ___970522214(189),
function($_225768146){ $_225768146[round(0+0.5+0.5)]=
$GLOBALS[
'____279611316'][21]( ___970522214(190),
function($_1864003262){
return PublicAction\Utils::getIblockURL( $_1864003262[round(0+1.5+1.5)],
$GLOBALS[
'____279611316'][22]($_1864003262[round(0+2)]));}, $_225768146[round(0+0.33333333333333+0.33333333333333+0.33333333333333)]);
return $_225768146[round(0+1)]. $_225768146[round(0+5)];}, $_1260894732[___970522214(191)]); $_1260894732[___970522214(192)]= Subtype\Form::prepareFormsToPublication( $_1260894732[___970522214(193)]); $_1260894732[___970522214(194)]=
$GLOBALS[
'____279611316'][23]( ___970522214(195), ___970522214(196), $_1260894732[___970522214(197)]); $_2005100631= isset($_82218665[$_1260894732[___970522214(198)]])? $_82218665[$_1260894732[___970522214(199)]][___970522214(200)]:(828-2*414);
if($_2005100631){ Cache::clear($_2005100631); $_767964923= Block::update($_2005100631,
array( ___970522214(201) => $_1260894732[___970522214(202)], ___970522214(203) => $_1260894732[___970522214(204)], ___970522214(205) => $_1260894732[___970522214(206)], ___970522214(207) => $_1260894732[___970522214(208)], ___970522214(209) => $_1260894732[___970522214(210)], ___970522214(211) => $_1260894732[___970522214(212)], ___970522214(213) => $_1260894732[___970522214(214)], ___970522214(215) => $_1260894732[___970522214(216)], ___970522214(217) => $_1260894732[___970522214(218)], ___970522214(219) => $_1260894732[___970522214(220)])); $_767964923->isSuccess(); unset($_82218665[$_1260894732[___970522214(221)]]); File::replaceInBlock( $_2005100631, File::getFilesFromBlockContent( $_992476156, $_1260894732[___970522214(222)]));}
else{ $_767964923= Block::add(
array( ___970522214(223) => $_683593083, ___970522214(224) => $_1260894732[___970522214(225)], ___970522214(226) => $_1260894732[___970522214(227)], ___970522214(228) => $_1260894732[___970522214(229)]?: ___970522214(230). $_992476156, ___970522214(231) => $_1260894732[___970522214(232)], ___970522214(233) => $_1260894732[___970522214(234)], ___970522214(235) => $_1260894732[___970522214(236)], ___970522214(237) => $_1260894732[___970522214(238)], ___970522214(239) => $_1260894732[___970522214(240)], ___970522214(241) => $_1260894732[___970522214(242)], ___970522214(243) => $_1260894732[___970522214(244)], ___970522214(245) => $_1260894732[___970522214(246)]));
if($_767964923->isSuccess()){ $_2005100631= $_767964923->getId(); $_767964923= Block::update($_992476156,
array( ___970522214(247) => $_2005100631)); $_767964923->isSuccess(); File::addToBlock( $_2005100631, File::getFilesFromBlockContent( $_992476156, $_1260894732[___970522214(248)]));}}
if($_2005100631){ $_1686912432=
new Block($_2005100631); Assets\PreProcessing::blockPublicationProcessing($_1686912432); $_1260894732[___970522214(249)]= $_1686912432->getContent(); unset($_1686912432);}
if(
$GLOBALS[
'____279611316'][24]($_590869057, $_1260894732[___970522214(250)])){ $_953444976[$_2005100631]= $_1260894732[___970522214(251)];} $_59755078[$_992476156]= $_2005100631; unset($_82218665[$_992476156]);}}
foreach($_82218665 as $_992476156 => $_1260894732){ $_767964923= Block::delete($_992476156); $_767964923->isSuccess();}
foreach($_953444976 as $_992476156 => $_1134171740){ $_1134171740=
$GLOBALS[
'____279611316'][25]( $_590869057,
function($_634573737) use($_59755078){
if(isset($_59755078[$_634573737[round(0+0.66666666666667+0.66666666666667+0.66666666666667)]])){
return $_634573737[round(0+0.2+0.2+0.2+0.2+0.2)]. ___970522214(252). $_59755078[$_634573737[round(0+0.66666666666667+0.66666666666667+0.66666666666667)]]. $_634573737[round(0+1.5+1.5)];}
else{
return $_634573737[round(0+0.2+0.2+0.2+0.2+0.2)]. ___970522214(253). $_634573737[round(0+1+1)]. $_634573737[round(0+3)];}}, $_1134171740); $_767964923= Block::update($_992476156,
array( ___970522214(254) => $_1134171740)); $_767964923->isSuccess();}}}}?>