static function blocksPublication(BitrixLandingLanding $landing, $_1935417068= null): void{ if($landing->exist()){ $_276915506= $landing->getId(); $_517346962= array(); $_1039633391= array(); $_246955846= array(); $_1802870505= ___2100049546(162); $_1389776963=[ ___2100049546(163) => $landing->getId(), ___2100049546(164) => ___2100049546(165)]; if($_1935417068){ $_1389776963[___2100049546(166)]= $_1935417068; $_1323641246= Block::getList([ ___2100049546(167) =>[ ___2100049546(168), ___2100049546(169)], ___2100049546(170) => $_1389776963]); $_1389776963[___2100049546(171)]= (array)$_1389776963[___2100049546(172)]; while($_280262166= $_1323641246->fetch()){ $_1389776963[___2100049546(173)][]= $_280262166[___2100049546(174)];}} $_1323641246= Block::getList([ ___2100049546(175) =>[ ___2100049546(176), ___2100049546(177), ___2100049546(178), ___2100049546(179), ___2100049546(180), ___2100049546(181), ___2100049546(182), ___2100049546(183), ___2100049546(184), ___2100049546(185), ___2100049546(186), ___2100049546(187), ___2100049546(188), ___2100049546(189)], ___2100049546(190) => $_1389776963]); while($_280262166= $_1323641246->fetch()){ $_517346962[$_280262166[___2100049546(191)]]= $_280262166;} foreach($_517346962 as $_1914763109 => $_37133067){ if($_37133067[___2100049546(192)] != ___2100049546(193)){ $_37133067[___2100049546(194)]= $GLOBALS['____667334928'][27]( ___2100049546(195), function($_233200373){ return ___2100049546(196). PublicActionUtils::getIblockURL( $_233200373[round(0+1.5+1.5)], $GLOBALS['____667334928'][28]($_233200373[round(0+1+1)])). ___2100049546(197);}, $_37133067[___2100049546(198)]); $_37133067[___2100049546(199)]= $GLOBALS['____667334928'][29]( ___2100049546(200), function($_233200373){ $_233200373[round(0+0.33333333333333+0.33333333333333+0.33333333333333)]= $GLOBALS['____667334928'][30]( ___2100049546(201), function($_342853145){ return PublicActionUtils::getIblockURL( $_342853145[round(0+0.6+0.6+0.6+0.6+0.6)], $GLOBALS['____667334928'][31]($_342853145[round(0+0.66666666666667+0.66666666666667+0.66666666666667)]));}, $_233200373[round(0+1)]); return $_233200373[round(0+0.5+0.5)]. $_233200373[round(0+2.5+2.5)];}, $_37133067[___2100049546(202)]); $_37133067[___2100049546(203)]= SubtypeForm::prepareFormsToPublication( $_37133067[___2100049546(204)]); $_37133067[___2100049546(205)]= $GLOBALS['____667334928'][32]( ___2100049546(206), ___2100049546(207), $_37133067[___2100049546(208)]); $_599442389= isset($_517346962[$_37133067[___2100049546(209)]])? $_517346962[$_37133067[___2100049546(210)]][___2100049546(211)]:(156*2-312); if($_599442389){ Cache::clear($_599442389); $_1323641246= Block::update($_599442389, array( ___2100049546(212) => $_37133067[___2100049546(213)], ___2100049546(214) => $_37133067[___2100049546(215)], ___2100049546(216) => $_37133067[___2100049546(217)], ___2100049546(218) => $_37133067[___2100049546(219)], ___2100049546(220) => $_37133067[___2100049546(221)], ___2100049546(222) => $_37133067[___2100049546(223)], ___2100049546(224) => $_37133067[___2100049546(225)], ___2100049546(226) => $_37133067[___2100049546(227)], ___2100049546(228) => $_37133067[___2100049546(229)], ___2100049546(230) => $_37133067[___2100049546(231)])); $_1323641246->isSuccess(); unset($_517346962[$_37133067[___2100049546(232)]]); File::replaceInBlock( $_599442389, File::getFilesFromBlockContent( $_1914763109, $_37133067[___2100049546(233)]));} else{ $_1323641246= Block::add(array( ___2100049546(234) => $_276915506, ___2100049546(235) => $_37133067[___2100049546(236)], ___2100049546(237) => $_37133067[___2100049546(238)], ___2100049546(239) => $_37133067[___2100049546(240)]?: ___2100049546(241). $_1914763109, ___2100049546(242) => $_37133067[___2100049546(243)], ___2100049546(244) => $_37133067[___2100049546(245)], ___2100049546(246) => $_37133067[___2100049546(247)], ___2100049546(248) => $_37133067[___2100049546(249)], ___2100049546(250) => $_37133067[___2100049546(251)], ___2100049546(252) => $_37133067[___2100049546(253)], ___2100049546(254) => $_37133067[___2100049546(255)], ___2100049546(256) => $_37133067[___2100049546(257)])); if($_1323641246->isSuccess()){ $_599442389= $_1323641246->getId(); $_1323641246= Block::update($_1914763109, array( ___2100049546(258) => $_599442389)); $_1323641246->isSuccess(); File::addToBlock( $_599442389, File::getFilesFromBlockContent( $_1914763109, $_37133067[___2100049546(259)]));}} if($_599442389){ $_875453709= new Block($_599442389); AssetsPreProcessing::blockPublicationProcessing($_875453709); $_37133067[___2100049546(260)]= $_875453709->getContent(); unset($_875453709);} if($GLOBALS['____667334928'][33]($_1802870505, $_37133067[___2100049546(261)])){ $_1039633391[$_599442389]= $_37133067[___2100049546(262)];} $_246955846[$_1914763109]= $_599442389; unset($_517346962[$_1914763109]);}} foreach($_517346962 as $_1914763109 => $_37133067){ $_1323641246= Block::delete($_1914763109); $_1323641246->isSuccess();} foreach($_1039633391 as $_1914763109 => $_1763585997){ $_1763585997= $GLOBALS['____667334928'][34]( $_1802870505, function($_288395581) use($_246955846){ if(isset($_246955846[$_288395581[round(0+2)]])){ return $_288395581[round(0+1)]. ___2100049546(263). $_246955846[$_288395581[round(0+0.4+0.4+0.4+0.4+0.4)]]. $_288395581[round(0+1.5+1.5)];} else{ return $_288395581[round(0+1)]. ___2100049546(264). $_288395581[round(0+0.4+0.4+0.4+0.4+0.4)]. $_288395581[round(0+1+1+1)];}}, $_1763585997); $_1323641246= Block::update($_1914763109, array( ___2100049546(265) => $_1763585997)); $_1323641246->isSuccess();}}}