public static function IsAdmin($userId = null) { $result = false; if ($userId === null) { $user = self::GetCurrentUser(); if ($user->IsAdmin()) { return true; } $userId = $user->getId(); } $userId = (int) $userId; if ($userId <= 0) { return false; } try { if (IsModuleInstalled('bitrix24') && CModule::IncludeModule('bitrix24')) { if (class_exists('CBitrix24') && method_exists('CBitrix24', 'IsPortalAdmin')) { // New style check $result = CBitrix24::IsPortalAdmin($userId); } else { // HACK: Check user group 1 ('Portal admins') $arGroups = CUser::GetUserGroup($userId); $result = in_array(1, $arGroups); } } } catch (Exception $e) { } return $result; }
/** * Gets security context (access provider) for user. * Attention! File/Folder can use anywhere and SecurityContext have to check rights anywhere (any module). * @param mixed $user User which use for check rights. * @return SecurityContext */ public function getSecurityContextByUser($user) { if ($this->isCurrentUser($user)) { /** @noinspection PhpDynamicAsStaticMethodCallInspection */ if (Loader::includeModule('socialnetwork') && \CSocnetUser::isCurrentUserModuleAdmin()) { return new FakeSecurityContext($user); } if (UserModel::isCurrentUserAdmin()) { return new FakeSecurityContext($user); } } else { $userId = UserModel::resolveUserId($user); /** @noinspection PhpDynamicAsStaticMethodCallInspection */ if ($userId && Loader::includeModule('socialnetwork') && \CSocnetUser::isUserModuleAdmin($userId)) { return new FakeSecurityContext($user); } try { if ($userId && ModuleManager::isModuleInstalled('bitrix24') && Loader::includeModule('bitrix24') && \CBitrix24::isPortalAdmin($userId)) { return new FakeSecurityContext($user); } elseif ($userId) { //Check user group 1 ('Admins') $tmpUser = new \CUser(); $arGroups = $tmpUser->getUserGroup($userId); if (in_array(1, $arGroups)) { return new FakeSecurityContext($user); } } } catch (\Exception $e) { } } return new DiskSecurityContext($user); }
protected function isAdmin() { global $USER; if ($this->isAdmin === null) { $this->isAdmin = $USER->IsAdmin() || Loader::includeModule('bitrix24') && \CBitrix24::IsPortalAdmin($USER->GetID()); } return $this->isAdmin; }
public static function isPaidLicense() { if (self::$isLicensePaid !== null) { return self::$isLicensePaid; } if (!(ModuleManager::isModuleInstalled('bitrix24') && Loader::includeModule('bitrix24')) && method_exists('CBitrix24', 'IsLicensePaid')) { return self::$isLicensePaid = false; } return self::$isLicensePaid = \CBitrix24::IsLicensePaid(); }
public static function checkUsersCount($cnt) { if (CModule::IncludeModule("bitrix24")) { $UserMaxCount = intval(COption::GetOptionString("main", "PARAM_MAX_USERS")); $currentUserCount = CBitrix24::ActiveUserCount(); return $UserMaxCount <= 0 || $cnt <= $UserMaxCount - $currentUserCount; } return false; }
public static function IsAdmin($userID = 0) { if (!is_int($userID)) { $userID = is_numeric($userID) ? (int) $userID : 0; } $result = false; if ($userID <= 0) { $user = CCrmSecurityHelper::GetCurrentUser(); $userID = $user->GetID(); if ($userID <= 0) { false; } if (isset(self::$USER_ADMIN_FLAGS[$userID])) { return self::$USER_ADMIN_FLAGS[$userID]; } $result = $user->IsAdmin(); if ($result) { self::$USER_ADMIN_FLAGS[$userID] = true; return true; } try { if (\Bitrix\Main\ModuleManager::isModuleInstalled('bitrix24') && CModule::IncludeModule('bitrix24')) { if (class_exists('CBitrix24') && method_exists('CBitrix24', 'IsPortalAdmin')) { // New style check $result = CBitrix24::IsPortalAdmin($userID); } else { // Check user group 1 ('Portal admins') $arGroups = $user->GetUserGroup($userID); $result = in_array(1, $arGroups); } } } catch (Exception $e) { } } else { if (isset(self::$USER_ADMIN_FLAGS[$userID])) { return self::$USER_ADMIN_FLAGS[$userID]; } try { if (IsModuleInstalled('bitrix24') && CModule::IncludeModule('bitrix24') && class_exists('CBitrix24') && method_exists('CBitrix24', 'IsPortalAdmin')) { // Bitrix24 context new style check $result = CBitrix24::IsPortalAdmin($userID); } else { //Check user group 1 ('Admins') $user = new CUser(); $arGroups = $user->GetUserGroup($userID); $result = in_array(1, $arGroups); } } catch (Exception $e) { } } self::$USER_ADMIN_FLAGS[$userID] = $result; return $result; }
public static function prepareLicenseInfoPopupScript($popupID, $title, $content) { if (ModuleManager::isModuleInstalled('bitrix24') && Loader::includeModule('bitrix24') && method_exists('CBitrix24', 'initLicenseInfoPopupJS')) { \CBitrix24::initLicenseInfoPopupJS(); $title = \CUtil::JSEscape($title); $content = \CUtil::JSEscape($content); return "if(typeof(B24.licenseInfoPopup) !== 'undefined'){ B24.licenseInfoPopup.show('{$popupID}', '{$title}', '{$content}'); }"; } return ''; }
<?php if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) { die; } if (!CModule::IncludeModule("bizproc") || !CModule::IncludeModule("iblock")) { return false; } global $USER, $APPLICATION; if (!$USER->IsAuthorized()) { $APPLICATION->AuthForm(''); return false; } $currentUserId = $USER->GetID(); $isAdmin = $USER->IsAdmin() || CModule::IncludeModule('bitrix24') && CBitrix24::IsPortalAdmin($USER->GetID()); if (strlen($arParams["TASK_ID"]) > 0 && !is_numeric($arParams["TASK_ID"])) { $arParams["WORKFLOW_ID"] = $arParams["TASK_ID"]; $arParams["TASK_ID"] = 0; } $arParams["TASK_ID"] = intval($arParams["TASK_ID"]); if ($arParams["TASK_ID"] <= 0) { $arParams["TASK_ID"] = intval($_REQUEST["TASK_ID"]); } if ($arParams["TASK_ID"] <= 0) { $arParams["TASK_ID"] = intval($_REQUEST["task_id"]); } if (empty($arParams["USER_ID"]) && !empty($_REQUEST['USER_ID'])) { $arParams["USER_ID"] = (int) $_REQUEST['USER_ID']; } $arParams["USER_ID"] = intval(empty($arParams["USER_ID"]) ? $currentUserId : $arParams["USER_ID"]); $arResult["ShowMode"] = "Form";
public static function IsDemo() { if (!CModule::IncludeModule('bitrix24')) { return false; } if (CBitrix24::IsDemoLicense()) { return true; } return false; }
$row["PERSONAL_PHOTO_resized"] = CFile::ResizeImageGet($row["PERSONAL_PHOTO_file"], array("width" => 30, "height" => 30), BX_RESIZE_IMAGE_EXACT, false); if ($row["PERSONAL_PHOTO_resized"] !== false) { $row['AVATAR_SRC'] = $row["PERSONAL_PHOTO_resized"]["src"]; $row["PERSONAL_PHOTO_img"] = CFile::ShowImage($row["PERSONAL_PHOTO_resized"]["src"], 42, 42, "border=0 align='right'"); } } // full name $row['FULL_NAME'] = $row['NAME'] . "\n" . $row['LAST_NAME']; if (!strlen(trim($row['FULL_NAME']))) { $row['FULL_NAME'] = $row['LOGIN']; } $usersInfo[$row['ID']] = $row; } $compareWithMyself = false; // myself if BY_ID is not me. let's compare if ($arParams['USER_ID'] != $USER->getId()) { $compareWithMyself = true; $selfData = \Bitrix\Intranet\UStat\UStat::getUsersGraphData($USER->getId(), $fromDate, $toDate, $interval, $sectionField); foreach ($selfData['data'] as $k => $_selfData) { $data[$k]['self_activity'] = $_selfData[$sectionField]; } } // if user has a right to tell about servies $allowTellAbout = false; if ($USER->IsAdmin() || CModule::IncludeModule("bitrix24") && CBitrix24::IsPortalAdmin($USER->GetID()) || in_array((int) $USER->getId(), \Bitrix\Intranet\UStat\UStat::getHeadsOfDepartments(), true)) { $allowTellAbout = true; } // done! $arResult = array('SECTION' => $sectionField, 'INTERVAL' => $interval, 'SUM_ACTIVITY' => $sumActivity, 'SUM_AVG_COMPANY_ACTIVITY' => $sumAvgCompanyActivity, 'SUM_AVG_DEPARTMENT_ACTIVITY' => $sumAvgDepartmentActivity, 'TOP_POSITION' => $rawData['rating']['position'], 'USERS_INFO' => $usersInfo, 'DEPARTMENT_TITLE' => $departmentTitle, 'ALLOW_TELL_ABOUT' => $allowTellAbout, 'SECTION_DATA' => $sectionData, 'DATA' => array_values($data), 'COMPARE_WITH_MYSELF' => $compareWithMyself); //var_dump($arResult, $rawData, $arParams); $this->IncludeComponentTemplate();
public static function GetMobileTemplateJS($arParams, $arTemplate) { global $USER; $ppStatus = 'false'; $ppServerStatus = 'false'; $updateStateInterval = 'auto'; if (CModule::IncludeModule("pull")) { $ppStatus = CPullOptions::ModuleEnable() ? 'true' : 'false'; $ppServerStatus = CPullOptions::GetNginxStatus() ? 'true' : 'false'; $updateStateInterval = CPullOptions::GetNginxStatus() ? self::GetSessionLifeTime() : 80; if ($updateStateInterval > 100) { if ($updateStateInterval > 3600) { $updateStateInterval = 3600; } $updateStateInterval = $updateStateInterval - 60; } } $diskStatus = CIMDisk::Enabled(); $phoneSipAvailable = false; $phoneDeviceActive = false; $phoneEnabled = self::CheckPhoneStatus() && CModule::IncludeModule('mobileapp') && \Bitrix\MobileApp\Mobile::getInstance()->isWebRtcSupported(); if ($phoneEnabled && CModule::IncludeModule('voximplant')) { $phoneSipAvailable = CVoxImplantConfig::GetModeStatus(CVoxImplantConfig::MODE_SIP); $phoneDeviceActive = CVoxImplantUser::GetPhoneActive($USER->GetId()); } $mobileAction = isset($arTemplate["ACTION"]) ? $arTemplate["ACTION"] : 'none'; $mobileCallMethod = isset($arTemplate["CALL_METHOD"]) ? $arTemplate["CALL_METHOD"] : 'device'; $userColor = isset($arTemplate['CONTACT_LIST']['users'][$USER->GetID()]['color']) ? $arTemplate['CONTACT_LIST']['users'][$USER->GetID()]['color'] : ''; $sJS = "\n\t\t\tBX.ready(function() {\n\t\t\t\tBXIM = new BX.ImMobile({\n\t\t\t\t\t'mobileAction': '" . $mobileAction . "',\n\t\t\t\t\t'mobileCallMethod': '" . $mobileCallMethod . "',\n\n\t\t\t\t\t'colors': " . (IM\Color::isEnabled() ? CUtil::PhpToJSObject(IM\Color::getSafeColorNames()) : 'false') . ",\n\t\t\t\t\t'mailCount': " . intval($arTemplate["MAIL_COUNTER"]) . ",\n\t\t\t\t\t'notifyCount': " . intval($arTemplate["NOTIFY_COUNTER"]) . ",\n\t\t\t\t\t'messageCount': " . intval($arTemplate["MESSAGE_COUNTER"]) . ",\n\t\t\t\t\t'counters': " . (empty($arTemplate['COUNTERS']) ? '{}' : CUtil::PhpToJSObject($arTemplate['COUNTERS'])) . ",\n\t\t\t\t\t'ppStatus': " . $ppStatus . ",\n\t\t\t\t\t'ppServerStatus': " . $ppServerStatus . ",\n\t\t\t\t\t'updateStateInterval': '" . $updateStateInterval . "',\n\t\t\t\t\t'openChatEnable': " . (CIMMessenger::CheckEnableOpenChat() ? 'true' : 'false') . ",\n\t\t\t\t\t'xmppStatus': " . (CIMMessenger::CheckXmppStatusOnline() ? 'true' : 'false') . ",\n\t\t\t\t\t'bitrixNetwork': " . (CIMMessenger::CheckNetwork() ? 'true' : 'false') . ",\n\t\t\t\t\t'bitrixNetwork2': " . (CIMMessenger::CheckNetwork2() ? 'true' : 'false') . ",\n\t\t\t\t\t'bitrix24': " . (IsModuleInstalled('bitrix24') ? 'true' : 'false') . ",\n\t\t\t\t\t'bitrix24Admin': " . (CModule::IncludeModule('bitrix24') && CBitrix24::IsPortalAdmin($USER->GetId()) ? 'true' : 'false') . ",\n\t\t\t\t\t'bitrix24net': " . (IsModuleInstalled('b24network') ? 'true' : 'false') . ",\n\t\t\t\t\t'bitrixIntranet': " . (IsModuleInstalled('intranet') ? 'true' : 'false') . ",\n\t\t\t\t\t'bitrixXmpp': " . (IsModuleInstalled('xmpp') ? 'true' : 'false') . ",\n\t\t\t\t\t'bitrixMobile': " . (IsModuleInstalled('mobile') ? 'true' : 'false') . ",\n\t\t\t\t\t'desktopStatus': " . (CIMMessenger::CheckDesktopStatusOnline() ? 'true' : 'false') . ",\n\t\t\t\t\t'desktopVersion': " . CIMMessenger::GetDesktopVersion() . ",\n\t\t\t\t\t'language': '" . LANGUAGE_ID . "',\n\n\t\t\t\t\t'smile': " . (empty($arTemplate['SMILE']) ? '{}' : CUtil::PhpToJSObject($arTemplate["SMILE"])) . ",\n\t\t\t\t\t'smileSet': " . (empty($arTemplate['SMILE_SET']) ? '{}' : CUtil::PhpToJSObject($arTemplate["SMILE_SET"])) . ",\n\t\t\t\t\t'settings': " . (empty($arTemplate['SETTINGS']) ? '{}' : CUtil::PhpToJSObject($arTemplate['SETTINGS'])) . ",\n\t\t\t\t\t'settingsNotifyBlocked': " . (empty($arTemplate['SETTINGS_NOTIFY_BLOCKED']) ? '{}' : CUtil::PhpToJSObject($arTemplate['SETTINGS_NOTIFY_BLOCKED'])) . ",\n\n\t\t\t\t\t'notify': " . (empty($arTemplate['NOTIFY']['notify']) ? '{}' : CUtil::PhpToJSObject($arTemplate['NOTIFY']['notify'])) . ",\n\t\t\t\t\t'unreadNotify' : " . (empty($arTemplate['NOTIFY']['unreadNotify']) ? '{}' : CUtil::PhpToJSObject($arTemplate['NOTIFY']['unreadNotify'])) . ",\n\t\t\t\t\t'flashNotify' : " . (empty($arTemplate['NOTIFY']['flashNotify']) ? '{}' : CUtil::PhpToJSObject($arTemplate['NOTIFY']['flashNotify'])) . ",\n\t\t\t\t\t'countNotify' : " . intval($arTemplate['NOTIFY']['countNotify']) . ",\n\t\t\t\t\t'loadNotify' : " . ($arTemplate['NOTIFY']['loadNotify'] ? 'true' : 'false') . ",\n\n\t\t\t\t\t'recent': " . (empty($arTemplate['RECENT']) && $arTemplate['RECENT'] !== false ? '[]' : CUtil::PhpToJSObject($arTemplate['RECENT'])) . ",\n\t\t\t\t\t'users': " . (empty($arTemplate['CONTACT_LIST']['users']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['users'])) . ",\n\t\t\t\t\t'groups': " . (empty($arTemplate['CONTACT_LIST']['groups']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['groups'])) . ",\n\t\t\t\t\t'userInGroup': " . (empty($arTemplate['CONTACT_LIST']['userInGroup']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['userInGroup'])) . ",\n\t\t\t\t\t'woGroups': " . (empty($arTemplate['CONTACT_LIST']['woGroups']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['woGroups'])) . ",\n\t\t\t\t\t'woUserInGroup': " . (empty($arTemplate['CONTACT_LIST']['woUserInGroup']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['woUserInGroup'])) . ",\n\t\t\t\t\t'chat': " . (empty($arTemplate['CHAT']['chat']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CHAT']['chat'])) . ",\n\t\t\t\t\t'userInChat': " . (empty($arTemplate['CHAT']['userInChat']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CHAT']['userInChat'])) . ",\n\t\t\t\t\t'userChatBlockStatus': " . (empty($arTemplate['CHAT']['userChatBlockStatus']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CHAT']['userChatBlockStatus'])) . ",\n\t\t\t\t\t'message' : " . (empty($arTemplate['MESSAGE']['message']) ? '{}' : CUtil::PhpToJSObject($arTemplate['MESSAGE']['message'])) . ",\n\t\t\t\t\t'files' : " . (empty($arTemplate['MESSAGE']['files']) ? '{}' : CUtil::PhpToJSObject($arTemplate['MESSAGE']['files'])) . ",\n\t\t\t\t\t'showMessage' : " . (empty($arTemplate['MESSAGE']['usersMessage']) ? '{}' : CUtil::PhpToJSObject($arTemplate['MESSAGE']['usersMessage'])) . ",\n\t\t\t\t\t'unreadMessage' : " . (empty($arTemplate['MESSAGE']['unreadMessage']) ? '{}' : CUtil::PhpToJSObject($arTemplate['MESSAGE']['unreadMessage'])) . ",\n\t\t\t\t\t'flashMessage' : " . (empty($arTemplate['MESSAGE']['flashMessage']) ? '{}' : CUtil::PhpToJSObject($arTemplate['MESSAGE']['flashMessage'])) . ",\n\t\t\t\t\t'history' : {},\n\t\t\t\t\t'openMessenger' : " . (isset($_GET['IM_DIALOG']) ? "'" . CUtil::JSEscape(htmlspecialcharsbx($_GET['IM_DIALOG'])) . "'" : 'false') . ",\n\t\t\t\t\t'openHistory' : " . (isset($_GET['IM_HISTORY']) ? "'" . CUtil::JSEscape(htmlspecialcharsbx($_GET['IM_HISTORY'])) . "'" : 'false') . ",\n\t\t\t\t\t'openNotify' : " . (isset($_GET['IM_NOTIFY']) && $_GET['IM_NOTIFY'] == 'Y' ? 'true' : 'false') . ",\n\t\t\t\t\t'openSettings' : " . (isset($_GET['IM_SETTINGS']) ? $_GET['IM_SETTINGS'] == 'Y' ? "'true'" : "'" . CUtil::JSEscape(htmlspecialcharsbx($_GET['IM_SETTINGS'])) . "'" : 'false') . ",\n\n\t\t\t\t\t'currentTab' : '" . ($arTemplate['CURRENT_TAB'] ? CUtil::JSEscape($arTemplate['CURRENT_TAB']) : 0) . "',\n\t\t\t\t\t'generalChatId': " . CIMChat::GetGeneralChatId() . ",\n\t\t\t\t\t'canSendMessageGeneralChat': " . (CIMChat::CanSendMessageToGeneralChat($USER->GetID()) ? 'true' : 'false') . ",\n\t\t\t\t\t'userId': " . $USER->GetID() . ",\n\t\t\t\t\t'userEmail': '" . CUtil::JSEscape($USER->GetEmail()) . "',\n\t\t\t\t\t'userColor': '" . IM\Color::getCode($userColor) . "',\n\t\t\t\t\t'userGender': '" . IM\User::getInstance()->getGender() . "',\n\t\t\t\t\t'userExtranet': " . (IM\User::getInstance()->isExtranet() ? 'true' : 'false') . ",\n\t\t\t\t\t'webrtc': {'turnServer' : '" . (empty($arTemplate['TURN_SERVER']) ? '' : CUtil::JSEscape($arTemplate['TURN_SERVER'])) . "', 'turnServerLogin' : '" . (empty($arTemplate['TURN_SERVER_LOGIN']) ? '' : CUtil::JSEscape($arTemplate['TURN_SERVER_LOGIN'])) . "', 'turnServerPassword' : '" . (empty($arTemplate['TURN_SERVER_PASSWORD']) ? '' : CUtil::JSEscape($arTemplate['TURN_SERVER_PASSWORD'])) . "', 'mobileSupport': " . ($arTemplate['WEBRTC_MOBILE_SUPPORT'] ? 'true' : 'false') . ", 'phoneEnabled': " . ($phoneEnabled ? 'true' : 'false') . ", 'phoneSipAvailable': " . ($phoneSipAvailable ? 'true' : 'false') . "},\n\t\t\t\t\t'disk': {'enable' : " . ($diskStatus ? 'true' : 'false') . "},\n\t\t\t\t\t'path' : {'profile' : '" . (empty($arTemplate['PATH_TO_USER_PROFILE']) ? '' : CUtil::JSEscape($arTemplate['PATH_TO_USER_PROFILE'])) . "', 'profileTemplate' : '" . (empty($arTemplate['PATH_TO_USER_PROFILE_TEMPLATE']) ? '' : CUtil::JSEscape($arTemplate['PATH_TO_USER_PROFILE_TEMPLATE'])) . "', 'mail' : '" . (empty($arTemplate['PATH_TO_USER_MAIL']) ? '' : CUtil::JSEscape($arTemplate['PATH_TO_USER_MAIL'])) . "'}\n\t\t\t\t});\n\t\t\t});\n\t\t"; return $sJS; }
function RegisterNewUser($SITE_ID, $arFields) { global $USER; $arEmailToRegister = array(); $arEmailToReinvite = array(); $arEmailExist = array(); if ($arFields["EMAIL"] != '') { $arEmailOriginal = preg_split("/[\n\r\t\\,;\\ ]+/", trim($arFields["EMAIL"])); $arEmail = array(); foreach ($arEmailOriginal as $addr) { if ($addr != '' && check_email($addr)) { $arEmail[] = $addr; } } if (count($arEmailOriginal) > count($arEmail)) { return array(GetMessage("BX24_INVITE_DIALOG_EMAIL_ERROR")); } foreach ($arEmail as $email) { $arFilter = array("=EMAIL" => $email); $rsUser = CUser::GetList($by = "id", $order = "asc", $arFilter); $bFound = false; while ($arUser = $rsUser->GetNext()) { $bFound = true; if ($arUser["LAST_LOGIN"] == "") { $arEmailToReinvite[] = array("EMAIL" => $email, "REINVITE" => true, "ID" => $arUser["ID"], "CONFIRM_CODE" => $arUser["CONFIRM_CODE"]); } else { $arEmailExist[] = $email; } } if (!$bFound) { $arEmailToRegister[] = array("EMAIL" => $email, "REINVITE" => false); } } } $messageText = isset($arFields["MESSAGE_TEXT"]) ? htmlspecialcharsbx($arFields["MESSAGE_TEXT"]) : GetMessage("BX24_INVITE_DIALOG_INVITE_MESSAGE_TEXT"); if (isset($arFields["MESSAGE_TEXT"])) { CUserOptions::SetOption("bitrix24", "invite_message_text", $arFields["MESSAGE_TEXT"]); } //reinvite users foreach ($arEmailToReinvite as $userData) { $event = new CEvent(); $event->SendImmediate("BITRIX24_USER_INVITATION", $SITE_ID, array("EMAIL_FROM" => $USER->GetEmail(), "EMAIL_TO" => $userData["EMAIL"], "LINK" => CHTTP::URN2URI("/bitrix/tools/intranet_invite_dialog.php?user_id=" . $userData["ID"] . "&checkword=" . urlencode($userData["CONFIRM_CODE"])), "USER_TEXT" => $messageText)); } //register users if (!empty($arEmailToRegister)) { if (CModule::IncludeModule("bitrix24")) { $UserMaxCount = intval(COption::GetOptionString("main", "PARAM_MAX_USERS")); $currentUserCount = CBitrix24::ActiveUserCount(); if ($UserMaxCount > 0 && count($arEmailToRegister) > $UserMaxCount - $currentUserCount) { return array(GetMessage("BX24_INVITE_DIALOG_MAX_COUNT_ERROR")); } } $arGroups = array(); $rsGroups = CGroup::GetList($o = "", $b = "", array("STRING_ID" => "EMPLOYEES_" . $SITE_ID)); while ($arGroup = $rsGroups->Fetch()) { $arGroups[] = $arGroup["ID"]; } $rsIBlock = CIBlock::GetList(array(), array("CODE" => "departments")); $arIBlock = $rsIBlock->Fetch(); $iblockID = $arIBlock["ID"]; if (!(isset($arFields["UF_DEPARTMENT"]) && intval($arFields["UF_DEPARTMENT"]) > 0)) { $db_up_department = CIBlockSection::GetList(array(), array("SECTION_ID" => 0, "IBLOCK_ID" => $iblockID)); if ($ar_up_department = $db_up_department->Fetch()) { $arFields["UF_DEPARTMENT"] = $ar_up_department['ID']; } } foreach ($arEmailToRegister as $userData) { $arUser = array("LOGIN" => $userData["EMAIL"], "EMAIL" => $userData["EMAIL"], "UF_DEPARTMENT" => array($arFields["UF_DEPARTMENT"]), "PASSWORD" => randString(12, $password_chars = array("abcdefghijklnmopqrstuvwxyz", "ABCDEFGHIJKLNMOPQRSTUVWXYZ", "0123456789", "(*)")), "CONFIRM_CODE" => randString(8), "GROUP_ID" => $arGroups); $User = new CUser(); $ID = $User->Add($arUser); if (!$ID) { $arErrors = preg_split("/<br>/", $User->LAST_ERROR); return $arErrors; } else { $event = new CEvent(); $event->SendImmediate("BITRIX24_USER_INVITATION", $SITE_ID, array("EMAIL_FROM" => $USER->GetEmail(), "EMAIL_TO" => $userData["EMAIL"], "LINK" => CHTTP::URN2URI("/bitrix/tools/intranet_invite_dialog.php?user_id=" . $ID . "&checkword=" . urlencode($arUser["CONFIRM_CODE"])), "USER_TEXT" => $messageText)); } } return true; } if (!empty($arEmailExist)) { return array(GetMessage("BX24_INVITE_DIALOG_USER_EXIST_ERROR")); } return true; }
/** * return bool true if we at Bitrix24 portal and current (or given) user is admin. */ public static function IsPortalB24Admin($userId = null) { static $isB24 = null; static $arCache = array(); global $USER; $isPortalAdmin = false; // Precache IsModuleInstalled if ($isB24 === null) { $isB24 = false; if (IsModuleInstalled('bitrix24') && CModule::IncludeModule('bitrix24')) { $isB24 = true; } } if ($isB24) { if ($userId === null) { if (is_object($USER) && method_exists($USER, 'GetID')) { $userId = (int) $USER->GetID(); } } if (!isset($arCache[$userId])) { $arCache[$userId] = (bool) CBitrix24::IsPortalAdmin($userId); } $isPortalAdmin = $arCache[$userId]; } return $isPortalAdmin; }
private static function checkAdminPermissions() { global $USER; if (!isset($USER) || !is_object($USER) || !$USER->isAdmin() && !(Loader::includeModule('bitrix24') && \CBitrix24::isPortalAdmin($USER->getID()))) { throw new AccessException(); } }
public static function GetTemplateJS($arParams, $arTemplate) { global $USER; $ppStatus = 'false'; $ppServerStatus = 'false'; $updateStateInterval = 'auto'; if (CModule::IncludeModule("pull")) { $ppStatus = CPullOptions::ModuleEnable() ? 'true' : 'false'; $ppServerStatus = CPullOptions::GetNginxStatus() ? 'true' : 'false'; $updateStateInterval = CPullOptions::GetNginxStatus() ? self::GetSessionLifeTime() : 80; if ($updateStateInterval > 100) { if ($updateStateInterval > 3600) { $updateStateInterval = 3600; } if ($arTemplate['DESKTOP'] == 'true') { $updateStateInterval = intval($updateStateInterval / 2); } else { $updateStateInterval = $updateStateInterval - 60; } } } $diskStatus = CIMDisk::Enabled(); if ($arTemplate['INIT'] == 'Y') { $phoneAvailable = 0; $phoneSipAvailable = 0; $phoneEnabled = self::CheckPhoneStatus(); if ($phoneEnabled && CModule::IncludeModule('voximplant')) { $phoneBalance = COption::GetOptionString("voximplant", "account_balance", 0); if (floatval($phoneBalance) >= 0) { $phoneAvailable = floatval($phoneBalance) > 0 ? 2 : 1; } $phoneSipAvailable = CVoxImplantConfig::GetModeStatus(CVoxImplantConfig::MODE_SIP); } $pathToIm = isset($arTemplate['PATH_TO_IM']) ? $arTemplate['PATH_TO_IM'] : ''; $pathToCall = isset($arTemplate['PATH_TO_CALL']) ? $arTemplate['PATH_TO_CALL'] : ''; $pathToFile = isset($arTemplate['PATH_TO_FILE']) ? $arTemplate['PATH_TO_FILE'] : ''; $sJS = "\n\t\t\t\tBX.ready(function() {\n\t\t\t\t\tBXIM = new BX.IM(BX('bx-notifier-panel'), {\n\t\t\t\t\t\t'mailCount': " . $arTemplate["MAIL_COUNTER"] . ",\n\t\t\t\t\t\t'notifyCount': " . $arTemplate["NOTIFY_COUNTER"] . ",\n\t\t\t\t\t\t'messageCount': " . $arTemplate["MESSAGE_COUNTER"] . ",\n\t\t\t\t\t\t'counters': " . (empty($arTemplate['COUNTERS']) ? '{}' : CUtil::PhpToJSObject($arTemplate['COUNTERS'])) . ",\n\t\t\t\t\t\t'ppStatus': " . $ppStatus . ",\n\t\t\t\t\t\t'ppServerStatus': " . $ppServerStatus . ",\n\t\t\t\t\t\t'updateStateInterval': '" . $updateStateInterval . "',\n\t\t\t\t\t\t'xmppStatus': " . (CIMMessenger::CheckXmppStatusOnline() ? 'true' : 'false') . ",\n\t\t\t\t\t\t'bitrixNetworkStatus': " . (CIMMessenger::CheckNetworkStatus() ? 'true' : 'false') . ",\n\t\t\t\t\t\t'bitrix24Status': " . (IsModuleInstalled('bitrix24') ? 'true' : 'false') . ",\n\t\t\t\t\t\t'bitrix24Admin': " . (CModule::IncludeModule('bitrix24') && CBitrix24::IsPortalAdmin($USER->GetId()) ? 'true' : 'false') . ",\n\t\t\t\t\t\t'bitrix24net': " . (IsModuleInstalled('b24network') ? 'true' : 'false') . ",\n\t\t\t\t\t\t'bitrixIntranet': " . (IsModuleInstalled('intranet') ? 'true' : 'false') . ",\n\t\t\t\t\t\t'bitrixXmpp': " . (IsModuleInstalled('xmpp') ? 'true' : 'false') . ",\n\t\t\t\t\t\t'desktop': " . $arTemplate["DESKTOP"] . ",\n\t\t\t\t\t\t'desktopStatus': " . (CIMMessenger::CheckDesktopStatusOnline() ? 'true' : 'false') . ",\n\t\t\t\t\t\t'desktopVersion': " . CIMMessenger::GetDesktopVersion() . ",\n\t\t\t\t\t\t'desktopLinkOpen': " . $arTemplate["DESKTOP_LINK_OPEN"] . ",\n\t\t\t\t\t\t'language': '" . LANGUAGE_ID . "',\n\n\t\t\t\t\t\t'smile': " . CUtil::PhpToJSObject($arTemplate["SMILE"]) . ",\n\t\t\t\t\t\t'smileSet': " . CUtil::PhpToJSObject($arTemplate["SMILE_SET"]) . ",\n\t\t\t\t\t\t'settings': " . CUtil::PhpToJSObject($arTemplate['SETTINGS']) . ",\n\t\t\t\t\t\t'settingsNotifyBlocked': " . (empty($arTemplate['SETTINGS_NOTIFY_BLOCKED']) ? '{}' : CUtil::PhpToJSObject($arTemplate['SETTINGS_NOTIFY_BLOCKED'])) . ",\n\n\t\t\t\t\t\t'notify': " . (empty($arTemplate['NOTIFY']['notify']) ? '{}' : CUtil::PhpToJSObject($arTemplate['NOTIFY']['notify'])) . ",\n\t\t\t\t\t\t'unreadNotify' : " . (empty($arTemplate['NOTIFY']['unreadNotify']) ? '{}' : CUtil::PhpToJSObject($arTemplate['NOTIFY']['unreadNotify'])) . ",\n\t\t\t\t\t\t'flashNotify' : " . (empty($arTemplate['NOTIFY']['flashNotify']) ? '{}' : CUtil::PhpToJSObject($arTemplate['NOTIFY']['flashNotify'])) . ",\n\t\t\t\t\t\t'countNotify' : " . intval($arTemplate['NOTIFY']['countNotify']) . ",\n\t\t\t\t\t\t'loadNotify' : " . ($arTemplate['NOTIFY']['loadNotify'] ? 'true' : 'false') . ",\n\n\t\t\t\t\t\t'recent': " . CUtil::PhpToJSObject($arTemplate['RECENT']) . ",\n\t\t\t\t\t\t'users': " . (empty($arTemplate['CONTACT_LIST']['users']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['users'])) . ",\n\t\t\t\t\t\t'groups': " . (empty($arTemplate['CONTACT_LIST']['groups']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['groups'])) . ",\n\t\t\t\t\t\t'userInGroup': " . (empty($arTemplate['CONTACT_LIST']['userInGroup']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['userInGroup'])) . ",\n\t\t\t\t\t\t'woGroups': " . (empty($arTemplate['CONTACT_LIST']['woGroups']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['woGroups'])) . ",\n\t\t\t\t\t\t'woUserInGroup': " . (empty($arTemplate['CONTACT_LIST']['woUserInGroup']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['woUserInGroup'])) . ",\n\t\t\t\t\t\t'chat': " . (empty($arTemplate['CHAT']['chat']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CHAT']['chat'])) . ",\n\t\t\t\t\t\t'userInChat': " . (empty($arTemplate['CHAT']['userInChat']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CHAT']['userInChat'])) . ",\n\t\t\t\t\t\t'userChatBlockStatus': " . (empty($arTemplate['CHAT']['userChatBlockStatus']) ? '{}' : CUtil::PhpToJSObject($arTemplate['CHAT']['userChatBlockStatus'])) . ",\n\t\t\t\t\t\t'message' : " . (empty($arTemplate['MESSAGE']['message']) ? '{}' : CUtil::PhpToJSObject($arTemplate['MESSAGE']['message'])) . ",\n\t\t\t\t\t\t'files' : " . (empty($arTemplate['MESSAGE']['files']) ? '{}' : CUtil::PhpToJSObject($arTemplate['MESSAGE']['files'])) . ",\n\t\t\t\t\t\t'showMessage' : " . (empty($arTemplate['MESSAGE']['usersMessage']) ? '{}' : CUtil::PhpToJSObject($arTemplate['MESSAGE']['usersMessage'])) . ",\n\t\t\t\t\t\t'unreadMessage' : " . (empty($arTemplate['MESSAGE']['unreadMessage']) ? '{}' : CUtil::PhpToJSObject($arTemplate['MESSAGE']['unreadMessage'])) . ",\n\t\t\t\t\t\t'flashMessage' : " . (empty($arTemplate['MESSAGE']['flashMessage']) ? '{}' : CUtil::PhpToJSObject($arTemplate['MESSAGE']['flashMessage'])) . ",\n\t\t\t\t\t\t'history' : {},\n\t\t\t\t\t\t'openMessenger' : " . (isset($_GET['IM_DIALOG']) ? "'" . CUtil::JSEscape(htmlspecialcharsbx($_GET['IM_DIALOG'])) . "'" : 'false') . ",\n\t\t\t\t\t\t'openHistory' : " . (isset($_GET['IM_HISTORY']) ? "'" . CUtil::JSEscape(htmlspecialcharsbx($_GET['IM_HISTORY'])) . "'" : 'false') . ",\n\t\t\t\t\t\t'openNotify' : " . (isset($_GET['IM_NOTIFY']) && $_GET['IM_NOTIFY'] == 'Y' ? 'true' : 'false') . ",\n\t\t\t\t\t\t'openSettings' : " . (isset($_GET['IM_SETTINGS']) ? $_GET['IM_SETTINGS'] == 'Y' ? "'true'" : "'" . CUtil::JSEscape(htmlspecialcharsbx($_GET['IM_SETTINGS'])) . "'" : 'false') . ",\n\t\t\t\t\t\t'currentTab' : '" . CUtil::JSEscape($arTemplate['CURRENT_TAB']) . "',\n\t\t\t\t\t\t'userId': " . $USER->GetID() . ",\n\t\t\t\t\t\t'userEmail': '" . CUtil::JSEscape($USER->GetEmail()) . "',\n\t\t\t\t\t\t'webrtc': {'turnServer' : '" . CUtil::JSEscape($arTemplate['TURN_SERVER']) . "', 'turnServerFirefox' : '" . CUtil::JSEscape($arTemplate['TURN_SERVER_FIREFOX']) . "', 'turnServerLogin' : '" . CUtil::JSEscape($arTemplate['TURN_SERVER_LOGIN']) . "', 'turnServerPassword' : '" . CUtil::JSEscape($arTemplate['TURN_SERVER_PASSWORD']) . "', 'phoneEnabled': " . ($phoneEnabled ? 'true' : 'false') . ", 'phoneAvailable': " . $phoneAvailable . ", 'phoneSipAvailable': " . ($phoneSipAvailable ? 'true' : 'false') . "},\n\t\t\t\t\t\t'disk': {'enable' : " . ($diskStatus ? 'true' : 'false') . "},\n\t\t\t\t\t\t'path' : {'profile' : '" . CUtil::JSEscape($arTemplate['PATH_TO_USER_PROFILE']) . "', 'profileTemplate' : '" . CUtil::JSEscape($arTemplate['PATH_TO_USER_PROFILE_TEMPLATE']) . "', 'mail' : '" . CUtil::JSEscape($arTemplate['PATH_TO_USER_MAIL']) . "', 'im': '" . CUtil::JSEscape($pathToIm) . "', 'call': '" . CUtil::JSEscape($pathToCall) . "', 'file': '" . CUtil::JSEscape($pathToFile) . "'}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t"; } else { $sJS = "\n\t\t\t\tBX.ready(function() {\n\t\t\t\t\tBXIM = new BX.IM(BX('bx-notifier-panel'), {\n\t\t\t\t\t\t'init': false,\n\t\t\t\t\t\t'settings': " . CUtil::PhpToJSObject($arTemplate['SETTINGS']) . ",\n\t\t\t\t\t\t'updateStateInterval': '" . $updateStateInterval . "',\n\t\t\t\t\t\t'desktop': " . $arTemplate["DESKTOP"] . ",\n\t\t\t\t\t\t'ppStatus': " . $ppStatus . ",\n\t\t\t\t\t\t'ppServerStatus': " . $ppServerStatus . ",\n\t\t\t\t\t\t'xmppStatus': " . (CIMMessenger::CheckXmppStatusOnline() ? 'true' : 'false') . ",\n\t\t\t\t\t\t'bitrix24Status': " . (IsModuleInstalled('bitrix24') ? 'true' : 'false') . ",\n\t\t\t\t\t\t'bitrixIntranet': " . (IsModuleInstalled('intranet') ? 'true' : 'false') . ",\n\t\t\t\t\t\t'bitrixXmpp': " . (IsModuleInstalled('xmpp') ? 'true' : 'false') . ",\n\t\t\t\t\t\t'notify' : {},\n\t\t\t\t\t\t'users' : {},\n\t\t\t\t\t\t'userId': " . $USER->GetID() . ",\n\t\t\t\t\t\t'userEmail': '" . CUtil::JSEscape($USER->GetEmail()) . "',\n\n\t\t\t\t\t\t'openMessenger' : " . (isset($_GET['IM_DIALOG']) ? "'" . CUtil::JSEscape(htmlspecialcharsbx($_GET['IM_DIALOG'])) . "'" : 'false') . ",\n\t\t\t\t\t\t'openHistory' : " . (isset($_GET['IM_HISTORY']) ? "'" . CUtil::JSEscape(htmlspecialcharsbx($_GET['IM_HISTORY'])) . "'" : 'false') . ",\n\t\t\t\t\t\t'openSettings' : " . (isset($_GET['IM_SETTINGS']) && $_GET['IM_SETTINGS'] == 'Y' ? "'true'" : 'false') . ",\n\n\t\t\t\t\t\t'disk': {'enable' : '" . ($diskStatus ? 'true' : 'false') . "'},\n\t\t\t\t\t\t'path' : {'profile' : '" . $arTemplate['PATH_TO_USER_PROFILE'] . "', 'profileTemplate' : '" . $arTemplate['PATH_TO_USER_PROFILE_TEMPLATE'] . "', 'mail' : '" . $arTemplate['PATH_TO_USER_MAIL'] . "'}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t"; } return $sJS; }
?> onclick="B24.VideoPopupWindow.show();"<?php } ?> > <div class="help-icon-border"></div> <div class="help-block-icon"></div> </div> <?php $frame = $this->createFrame("b24_helper")->begin(""); if (IsModuleInstalled("bitrix24")) { ?> <?php $helpUrl = GetMessage('B24_HELP_URL'); $helpUrl = CHTTP::urlAddParams($helpUrl, array("url" => urlencode("https://" . $_SERVER["HTTP_HOST"] . $APPLICATION->GetCurPageParam()), "is_admin" => IsModuleInstalled("bitrix24") && CBitrix24::IsPortalAdmin($USER->GetID()) || !IsModuleInstalled("bitrix24") && $USER->IsAdmin() ? 1 : 0, "user_id" => $USER->GetID(), "tariff" => COption::GetOptionString("main", "~controller_group_name", ""))); $frameOpenUrl = CHTTP::urlAddParams($helpUrl, array("action" => "open")); $frameCloseUrl = CHTTP::urlAddParams($helpUrl, array("action" => "close")); ?> <?php if ($arResult["SHOW_HELPER_HERO"] == "Y") { ?> <script> if (!BX.browser.IsIE8()) { BX.load(["<?php echo CUtil::JSEscape($this->GetFolder() . "/runtime.js"); ?> "], function() { var swiffyobject = {"internedStrings": [":705b25pb2o4r9w44cb8i0r6l51cbx0o5L88fb4G9z4O08e",":80y30kb1m5i1w45cb5i9w4k95dbp6t8E97hb6C45c6G49f","::::77z41m","::::67z14k","::::72z28l","917E7206b7206B917E98x93i","::::82z55n",":27n449dbT8Fn9Lb2c1F1j1Hb5fT9llb2cuE0fb9F4g9G1ibOyY7jbG7d3E9cb1F1C2H9Ic","::::62z00j","93V973p973P93V32x47g",":79v558db4jJ2r9Ib0i5J0e6X","93V974p974P93V31x47g","89J675k675K89J97w28f","10C340f340F10C63w10e","88J675k675K88J97w27f","934C154v154V934C63x69h","933C155v155V933C64x69h",":32n004ebT8Fn9Lb2c1F1j1Hb5fT9llb2cuE0fb9F4g9G1ibOyY7jbG7d3E9cb1F1C2H9Ic",":00n302db:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc",":702c034eb1i8C7m9Mb1e7KX9V","8048B3547E3547e8048B85x645d",":90t088eb4jr1t7Db4k6G4k3V",":97t590db4jr1t7Db4k6G4k3V",":94s260dbp9F7g5Jb9e9C7lUb8fo6j5gbq3c3C9db7I0c5K0dbYo5G1hb8B7c4Fgb6C7EW6Lc",":40t697cb:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc",":37t740cb8b6F9h2Ib4f8B1mCb2fv4i8hbl6c0D5db9El8Kwb7Bk6H9fb4C3c5FAb9B2FE9Lc",":26w067eb6i1D5n0Ob4e7LZ9X",":85s292db:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc",":37n004ebT8Fn9Lb2c1F1j1Hb5fT9llb2cuE0fb9F4g9G1ibOyY7jbG7d3E9cb1F1C2H9Ic",":05m947db:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc",":20n962db:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc","076C828s828S076C101c73x",":06i902db:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc",":40y15ob6v5j09c99cb5d4p1g56dbx0o0E63fb7C7y9G83d",":735c202db:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc","996E7184b7184B996E98x93i",":15p957db:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc","708W0230E0230e708W945d865d",":92s235db8b6F9h2Ib4f8B1mCb2fv4i8hbl6c0D5db1Jp8Kwb7Bk6H9fb4C3c5FAb9B2FE9Lc",":86n252db:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc",":70r292db:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc",":794b992cb6g8B29c6Vb5z7T89b73Bb6d0M9I31Db6K2X7U58C",":00t952cb:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc",":985b767db:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc",":37t740cb8b6F9h2Ib4f8B1mCb2fv4i8hbl6c0D5da8Kwb7Bk6H9fb4C3c5FAb9B2FE9Lc","8220B3544E3544e8220B85x645d",":85u297db:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc",":27n449dbT8Fn9LabEb3c7E9i6GafBb3ec5jearib8bsb2eaGhb9F4g9G1ia:bbJqR6eaG9daIzbNr4DmbQH1CSb6C1C1E0Hc",":78n468dbA2F7b0KabDb1c1E6g2HafDb1e2C2hQamnbhsR6daGhb7E0f2G3ha::bMsQ4daF1daBvbDzT6cbPb3Ccb1CP1C0Hc",":324c022cb76b7h77d8yb4t4q3w52cbx0o4J87bb5F8f4M6j",":95m597db:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc"],"tags":[{"frames":[],"scenes":[{"name":"cloudman_02_man","offset":0}],"type":23},{"bounds":[{"ymin":-2384,"ymax":2384,"xmin":-1322,"xmax":1323}],"id":1,"fillstyles":[{"color":[-16070918],"type":1}],"paths":[{"fill":0,"data":[":6q84Wb4M:74B2cb68D9j22G17eb8I9o2S02db6O03d4X04ib3K52f2C78mb2d84c2l79fb7l64d44e00gb72b6o64e6ob6o:17c5Db61d6L99f43Eb7w16D1k80HaS4IbW4K5C8Wb4D93Cl18Gb6c4T8h65Cb8b4I4e8Nb7l0V9n74Dbv3X7E77Db4F7R5R42Cb5L9O99B7Zb86B7Q01F7Qc"]}],"flat":true,"type":1},{"id":1,"matrix":"::::446d186d","type":3,"depth":1},{"bounds":[{"ymin":-356,"ymax":356,"xmin":-356,"xmax":356}],"id":2,"fillstyles":[{"color":[-16070918],"type":1}],"paths":[{"fill":0,"data":[":A56Cb9G:6O8cb2M5f9Q4tb8D9mq71bb5f2m4t9qb9et7ktb9g:5o7Cb2m4F9q4Tb7d9MQ72Bb5F2M4T9Qb9ET6KTc"]}],"flat":true,"type":1},{"id":2,"matrix":"::::372c120c","type":3,"depth":3},{"bounds":[{"ymin":-465,"ymax":465,"xmin":-181,"xmax":181}],"id":3,"paths":[{"data":[":4i85cb9b7U6F89Db7E1P9L81B"],"line":0}],"flat":true,"linestyles":[{"color":[-16070918],"width":[160]}],"type":1},{"id":3,"matrix":"::::321c45u","type":3,"depth":4},{"bounds":[{"ymin":4780,"ymax":5174,"xmin":3165,"xmax":3600},{"ymin":4599,"ymax":4817,"xmin":2785,"xmax":2994}],"id":4,"paths":[{"data":[":225c110eb7gm9nSb2g1D9h7Eb6c4C5e9Gbv1Ev5K",":845b705dbv6D8d6Dbrn5c8bbl8b:0ebMy3Er"],"line":0}],"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"id":4,"matrix":0,"type":3,"depth":5},{"type":2},{"replace":true,"matrix":"81B749E749e81B268d259d","type":3,"depth":1},{"replace":true,"matrix":"::::377c093c","type":3,"depth":3},{"replace":true,"matrix":"::::316c44u","type":3,"depth":4},{"replace":true,"ratio":7282,"type":3,"depth":5},{"type":2},{"replace":true,"matrix":"03K663K663k03K090d333d","type":3,"depth":1},{"replace":true,"matrix":"::::382c065c","type":3,"depth":3},{"replace":true,"matrix":"::::310c44u","type":3,"depth":4},{"replace":true,"ratio":14564,"type":3,"depth":5},{"type":2},{"replace":true,"matrix":"02X272Q272q02X912c407d","type":3,"depth":1},{"replace":true,"matrix":"::::387c038c","type":3,"depth":3},{"replace":true,"matrix":"::::305c43u","type":3,"depth":4},{"replace":true,"ratio":21845,"type":3,"depth":5},{"type":2},{"replace":true,"matrix":"263D946V946v263D734c479d","type":3,"depth":1},{"replace":true,"matrix":"::::391c010c","type":3,"depth":3},{"replace":true,"matrix":"::::300c42u","type":3,"depth":4},{"replace":true,"ratio":29127,"type":3,"depth":5},{"type":2},{"replace":true,"matrix":"538F8237B8237b538F555c553d","type":3,"depth":1},{"replace":true,"matrix":"::::396c983b","type":3,"depth":3},{"replace":true,"matrix":"::::294c42u","type":3,"depth":4},{"replace":true,"ratio":36409,"type":3,"depth":5},{"type":2},{"replace":true,"matrix":"377I3491C3491c377I379c626d","type":3,"depth":1},{"replace":true,"matrix":"::::401c955b","type":3,"depth":3},{"replace":true,"matrix":"::::289c41u","type":3,"depth":4},{"replace":true,"ratio":43691,"type":3,"depth":5},{"type":2},{"replace":true,"matrix":"556L8294C8294c556L201c699d","type":3,"depth":1},{"replace":true,"matrix":"::::406c928b","type":3,"depth":3},{"replace":true,"matrix":"::::284c40u","type":3,"depth":4},{"replace":true,"ratio":50972,"type":3,"depth":5},{"bounds":[{"ymin":4064,"ymax":4400,"xmin":2985,"xmax":3325},{"ymin":4734,"ymax":5070,"xmin":906,"xmax":1246}],"id":5,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":[":985b232db:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc","#32"]}],"type":1},{"id":5,"matrix":0,"type":3,"depth":6},{"type":2},{"replace":true,"matrix":"283P2961D2961d283P023c773d","type":3,"depth":1},{"replace":true,"matrix":"::::411c900b","type":3,"depth":3},{"replace":true,"matrix":"::::278c40u","type":3,"depth":4},{"replace":true,"ratio":58254,"type":3,"depth":5},{"replace":true,"ratio":16384,"type":3,"depth":6},{"bounds":[{"ymin":3744,"ymax":4080,"xmin":2990,"xmax":3330},{"ymin":4084,"ymax":4420,"xmin":1486,"xmax":1826}],"id":6,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":[":990b912cb:0G0e9Kb0e9D0l9Db0g:0l9db0e9d0e9kb:0g0E9kb0E9d0L9db0G:0L9Db0E9D0E9Kc","#39"]}],"type":1},{"id":6,"matrix":0,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"262T7122D7122d262T845b845d","type":3,"depth":1},{"replace":true,"matrix":"::::416c873b","type":3,"depth":3},{"replace":true,"matrix":"::::273c39u","type":3,"depth":4},{"bounds":[{"ymin":4599,"ymax":4817,"xmin":2785,"xmax":2990},{"ymin":4889,"ymax":5107,"xmin":1860,"xmax":2065}],"id":7,"paths":[{"data":[":845b705dbv6D8d6Db7d6e5c8gbMy3Er",":20s995dbv6D8d6Db7d6e5c8gbMy3Er"],"line":0}],"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"replace":true,"id":7,"ratio":0,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":21845,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"757X1053E1053e757X66z920d","type":3,"depth":1},{"replace":true,"matrix":"::::421c845b","type":3,"depth":3},{"replace":true,"matrix":"::::268c38u","type":3,"depth":4},{"replace":true,"ratio":21845,"type":3,"depth":5},{"replace":true,"ratio":49152,"type":3,"depth":6},{"replace":true,"ratio":43691,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"9410B4441E4441e9410B88x992d","type":3,"depth":1},{"replace":true,"matrix":"::::425c817b","type":3,"depth":3},{"replace":true,"matrix":"::::262c38u","type":3,"depth":4},{"replace":true,"ratio":43691,"type":3,"depth":5},{"bounds":[{"ymin":4734,"ymax":5070,"xmin":906,"xmax":1246},{"ymin":4789,"ymax":5125,"xmin":1615,"xmax":1955}],"id":8,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#32","#36"]}],"type":1},{"replace":true,"id":8,"ratio":0,"type":3,"depth":6},{"bounds":[{"ymin":4084,"ymax":4420,"xmin":1486,"xmax":1826},{"ymin":4129,"ymax":4465,"xmin":2185,"xmax":2525}],"id":9,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#39","#46"]}],"type":1},{"replace":true,"id":9,"ratio":0,"type":3,"depth":7},{"type":2},{"type":4,"depth":5},{"replace":true,"matrix":"4409C7548E7548e4409C11w066e","type":3,"depth":1},{"bounds":[{"ymin":2732,"ymax":4107,"xmin":2419,"xmax":3593},{"ymin":2544,"ymax":4152,"xmin":2634,"xmax":3583}],"id":10,"paths":[{"data":[":79y947cb2hd94c4Gb25c2H75c2Mb4i0J4h34DbI8Z4E15D","#41"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"id":10,"matrix":0,"type":3,"depth":2},{"replace":true,"matrix":"::::430c790b","type":3,"depth":3},{"replace":true,"matrix":"::::257c37u","type":3,"depth":4},{"bounds":[{"ymin":4889,"ymax":5107,"xmin":1860,"xmax":2069}],"id":11,"paths":[{"data":[":50s045eb0dg3eRblV:0EbM8B5C8BbZ:8D6d"],"line":0}],"flat":true,"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"id":11,"matrix":0,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":32768,"type":3,"depth":7},{"type":2},{"type":4,"depth":5},{"replace":true,"matrix":"4988C7818E7818e4988C47x066e","type":3,"depth":1},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"matrix":"::::435c763b","type":3,"depth":3},{"replace":true,"matrix":"::::252c36u","type":3,"depth":4},{"bounds":[{"ymin":4881,"ymax":5099,"xmin":2398,"xmax":2603},{"ymin":4883,"ymax":5101,"xmin":2188,"xmax":2393}],"id":12,"paths":[{"data":[":58x987dbv6D8d6Db7d6e5c8gbMy3Er",":48v989dbv6D8d6Db7d6e5c8gbMy3Er"],"line":0}],"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"id":12,"matrix":0,"type":3,"depth":5},{"bounds":[{"ymin":4789,"ymax":5125,"xmin":1615,"xmax":1955},{"ymin":4794,"ymax":5130,"xmin":1420,"xmax":1760}],"id":13,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#36","#30"]}],"type":1},{"replace":true,"id":13,"ratio":0,"type":3,"depth":6},{"bounds":[{"ymin":4129,"ymax":4465,"xmin":2185,"xmax":2525},{"ymin":4124,"ymax":4460,"xmin":1985,"xmax":2325}],"id":14,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#46","#27"]}],"type":1},{"replace":true,"id":14,"ratio":0,"type":3,"depth":7},{"type":2},{"type":4,"depth":2},{"replace":true,"matrix":"5221C8102E8102e5221C83y065e","type":3,"depth":1},{"bounds":[{"ymin":2544,"ymax":4152,"xmin":2634,"xmax":3583}],"id":15,"paths":[{"data":["#41"],"line":0}],"flat":true,"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"id":15,"matrix":0,"type":3,"depth":2},{"replace":true,"matrix":"::::440c735b","type":3,"depth":3},{"replace":true,"matrix":"::::246c36u","type":3,"depth":4},{"replace":true,"ratio":32768,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":32768,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5263C8021E8021e5263C83y065e","type":3,"depth":1},{"bounds":[{"ymin":2570,"ymax":4193,"xmin":2707,"xmax":3454}],"id":16,"paths":[{"data":[":035c730bbmj9l02cb2k81b0m42cbb4e8T54ca9U05c"],"line":0}],"flat":true,"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":16,"type":3,"depth":2},{"replace":true,"matrix":"::::140c13y","type":3,"depth":3},{"replace":true,"matrix":"::::241c35u","type":3,"depth":4},{"bounds":[{"ymin":4883,"ymax":5101,"xmin":2188,"xmax":2397},{"ymin":4758,"ymax":5152,"xmin":2030,"xmax":2465}],"id":17,"paths":[{"data":[":48v989dbv6D8d6Db0cr5c8bbl8b:0ebMy3Er",":90t088eb7gm9nSb2g1D9h7Eb6c4C5e9Gbv1Ev5K"],"line":0}],"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"replace":true,"id":17,"ratio":0,"type":3,"depth":5},{"bounds":[{"ymin":4794,"ymax":5130,"xmin":1420,"xmax":1760},{"ymin":4786,"ymax":5104,"xmin":1425,"xmax":1691}],"id":18,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#30","#17"]}],"type":1},{"replace":true,"id":18,"ratio":0,"type":3,"depth":6},{"bounds":[{"ymin":4124,"ymax":4460,"xmin":1985,"xmax":2325},{"ymin":4128,"ymax":4399,"xmin":1991,"xmax":2308}],"id":19,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#27","#23"]}],"type":1},{"replace":true,"id":19,"ratio":0,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5264C8020E8020e5264C83y065e","type":3,"depth":1},{"bounds":[{"ymin":2570,"ymax":4186,"xmin":2540,"xmax":3480}],"id":20,"paths":[{"data":[":866b026dbq3C5i7Ka3o4Pb6t9V6t45Cb:3I95B74Cb05C73B25C96B"],"line":0}],"flat":true,"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":20,"type":3,"depth":2},{"replace":true,"matrix":"::::753b03y","type":3,"depth":3},{"replace":true,"matrix":"433D692w692W433D77y91s","type":3,"depth":4},{"replace":true,"ratio":32768,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":32768,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5264C8017E8017e5264C84y065e","type":3,"depth":1},{"bounds":[{"ymin":2685,"ymax":4180,"xmin":2240,"xmax":3300}],"id":21,"paths":[{"data":[":865b020da3o02Cb3l1Y2l13CbC2M22C50Cb5L5H7X6Nb1L1F1Q4F"],"line":0}],"flat":true,"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":21,"type":3,"depth":2},{"replace":true,"matrix":"::::87w17z","type":3,"depth":3},{"replace":true,"matrix":"7H156C156c7H57t14v","type":3,"depth":4},{"bounds":[{"ymin":4758,"ymax":5152,"xmin":2030,"xmax":2465}],"id":22,"paths":[{"data":["#21"],"line":0}],"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"replace":true,"id":22,"ratio":0,"type":3,"depth":5},{"bounds":[{"ymin":4786,"ymax":5104,"xmin":1425,"xmax":1691}],"id":23,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#17"]}],"type":1},{"replace":true,"id":23,"ratio":0,"type":3,"depth":6},{"bounds":[{"ymin":4128,"ymax":4399,"xmin":1991,"xmax":2308}],"id":24,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#23"]}],"type":1},{"replace":true,"id":24,"ratio":0,"type":3,"depth":7},{"type":2},{"type":4,"depth":2},{"replace":true,"matrix":"5265C8015E8015e5265C83y065e","type":3,"depth":1},{"bounds":[{"ymin":2847,"ymax":4290,"xmin":2019,"xmax":3134},{"ymin":2750,"ymax":4300,"xmin":2150,"xmax":3236}],"id":25,"paths":[{"data":[":79u007cb3ge8p7bb5jy8w2gb18c5k75c4wblxn7hbb3jW10caP8lb9B7t6E5z",":10w910bb8dc4p4eb3k0e3v6kb73b6p47c95bbv9c8b6gbr4k4D07ca8D8lb8E2n1L4y"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"id":25,"matrix":0,"type":3,"depth":2},{"replace":true,"matrix":"::::62t810b","type":3,"depth":3},{"replace":true,"matrix":"032G9530B9530b032G49o98x","type":3,"depth":4},{"replace":true,"ratio":2114,"type":3,"depth":5},{"replace":true,"ratio":2114,"type":3,"depth":6},{"replace":true,"ratio":2114,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5267C8012E8012e5267C83y065e","type":3,"depth":1},{"replace":true,"ratio":8192,"type":3,"depth":2},{"replace":true,"matrix":"::::98t782b","type":3,"depth":3},{"replace":true,"matrix":"65M083M083m65M79p97w","type":3,"depth":4},{"replace":true,"ratio":4228,"type":3,"depth":5},{"replace":true,"ratio":4228,"type":3,"depth":6},{"replace":true,"ratio":4228,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5268C8010E8010e5268C83y065e","type":3,"depth":1},{"replace":true,"ratio":16384,"type":3,"depth":2},{"replace":true,"matrix":"::::36u755b","type":3,"depth":3},{"replace":true,"matrix":"0N046d046D0N18r22w","type":3,"depth":4},{"replace":true,"ratio":6342,"type":3,"depth":5},{"replace":true,"ratio":6342,"type":3,"depth":6},{"replace":true,"ratio":6342,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5270C8009E8009e5270C83y065e","type":3,"depth":1},{"replace":true,"ratio":24576,"type":3,"depth":2},{"replace":true,"matrix":"::::87u750b","type":3,"depth":3},{"replace":true,"matrix":"526C202u202U526C61s75v","type":3,"depth":4},{"replace":true,"ratio":8456,"type":3,"depth":5},{"replace":true,"ratio":8456,"type":3,"depth":6},{"replace":true,"ratio":8456,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5271C8005E8005e5271C83y065e","type":3,"depth":1},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"matrix":"::::01v740b","type":3,"depth":3},{"replace":true,"matrix":"052L7870c7870C052L08u69v","type":3,"depth":4},{"replace":true,"ratio":10570,"type":3,"depth":5},{"replace":true,"ratio":10570,"type":3,"depth":6},{"replace":true,"ratio":10570,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5271C8004E8004e5271C84y065e","type":3,"depth":1},{"replace":true,"ratio":40960,"type":3,"depth":2},{"replace":true,"matrix":"::::15v730b","type":3,"depth":3},{"replace":true,"matrix":"337I3523c3523C337I93t61v","type":3,"depth":4},{"replace":true,"ratio":12684,"type":3,"depth":5},{"replace":true,"ratio":12684,"type":3,"depth":6},{"replace":true,"ratio":12684,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5272C8002E8002e5272C84y065e","type":3,"depth":1},{"replace":true,"ratio":49152,"type":3,"depth":2},{"replace":true,"matrix":"::::29v720b","type":3,"depth":3},{"replace":true,"matrix":"866F9005b9005B866F79t55v","type":3,"depth":4},{"replace":true,"ratio":14798,"type":3,"depth":5},{"replace":true,"ratio":14798,"type":3,"depth":6},{"replace":true,"ratio":14798,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5274C7999E7999e5274C83y065e","type":3,"depth":1},{"replace":true,"ratio":57344,"type":3,"depth":2},{"replace":true,"matrix":"::::43v710b","type":3,"depth":3},{"replace":true,"matrix":"759D309x309X759D64t50v","type":3,"depth":4},{"replace":true,"ratio":16913,"type":3,"depth":5},{"replace":true,"ratio":16913,"type":3,"depth":6},{"replace":true,"ratio":16913,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5275C7997E7997e5275C83y066e","type":3,"depth":1},{"bounds":[{"ymin":2750,"ymax":4300,"xmin":2150,"xmax":3236}],"id":26,"paths":[{"data":[":10w910bb8dc4p4eb5l5e7x0mb25c8s51c57cbx0o2I35db8E2n1L4y"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":26,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"::::57v700b","type":3,"depth":3},{"replace":true,"matrix":"988B556s556S988B49t49v","type":3,"depth":4},{"replace":true,"ratio":19027,"type":3,"depth":5},{"replace":true,"ratio":19027,"type":3,"depth":6},{"replace":true,"ratio":19027,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5276C7994E7994e5276C83y066e","type":3,"depth":1},{"replace":true,"ratio":2979,"type":3,"depth":2},{"replace":true,"matrix":"190C985s985S190C51t48v","type":3,"depth":4},{"replace":true,"ratio":21141,"type":3,"depth":5},{"replace":true,"ratio":21141,"type":3,"depth":6},{"replace":true,"ratio":21141,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5278C7992E7992e5278C84y065e","type":3,"depth":1},{"replace":true,"ratio":5958,"type":3,"depth":2},{"replace":true,"matrix":"293C299t299T293C55t46v","type":3,"depth":4},{"replace":true,"ratio":23255,"type":3,"depth":5},{"replace":true,"ratio":23255,"type":3,"depth":6},{"replace":true,"ratio":23255,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5280C7989E7989e5280C84y065e","type":3,"depth":1},{"replace":true,"ratio":8937,"type":3,"depth":2},{"replace":true,"matrix":"466C817t817T466C58t44v","type":3,"depth":4},{"replace":true,"ratio":25369,"type":3,"depth":5},{"replace":true,"ratio":25369,"type":3,"depth":6},{"replace":true,"ratio":25369,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5279C7989E7989e5279C84y065e","type":3,"depth":1},{"replace":true,"ratio":11916,"type":3,"depth":2},{"replace":true,"matrix":"572C131u131U572C59t42v","type":3,"depth":4},{"replace":true,"ratio":27483,"type":3,"depth":5},{"replace":true,"ratio":27483,"type":3,"depth":6},{"replace":true,"ratio":27483,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5282C7985E7985e5282C85y065e","type":3,"depth":1},{"replace":true,"ratio":14895,"type":3,"depth":2},{"replace":true,"matrix":"752C646u646U752C63t42v","type":3,"depth":4},{"replace":true,"ratio":29597,"type":3,"depth":5},{"replace":true,"ratio":29597,"type":3,"depth":6},{"replace":true,"ratio":29597,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5282C7982E7982e5282C85y065e","type":3,"depth":1},{"replace":true,"ratio":17873,"type":3,"depth":2},{"replace":true,"matrix":"936C161v161V936C65t41v","type":3,"depth":4},{"replace":true,"ratio":31711,"type":3,"depth":5},{"replace":true,"ratio":31711,"type":3,"depth":6},{"replace":true,"ratio":31711,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5283C7981E7981e5283C85y064e","type":3,"depth":1},{"replace":true,"ratio":20852,"type":3,"depth":2},{"replace":true,"matrix":"050D472v472V050D67t38v","type":3,"depth":4},{"replace":true,"ratio":33825,"type":3,"depth":5},{"replace":true,"ratio":33825,"type":3,"depth":6},{"replace":true,"ratio":33825,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5285C7978E7978e5285C84y065e","type":3,"depth":1},{"replace":true,"ratio":23831,"type":3,"depth":2},{"replace":true,"matrix":"241D982v982V241D71t37v","type":3,"depth":4},{"replace":true,"ratio":35939,"type":3,"depth":5},{"replace":true,"ratio":35939,"type":3,"depth":6},{"replace":true,"ratio":35939,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5287C7976E7976e5287C84y065e","type":3,"depth":1},{"replace":true,"ratio":26810,"type":3,"depth":2},{"replace":true,"matrix":"437D492w492W437D73t35v","type":3,"depth":4},{"replace":true,"ratio":38053,"type":3,"depth":5},{"replace":true,"ratio":38053,"type":3,"depth":6},{"replace":true,"ratio":38053,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5288C7973E7973e5288C84y065e","type":3,"depth":1},{"replace":true,"ratio":29789,"type":3,"depth":2},{"replace":true,"matrix":"556D802w802W556D76t34v","type":3,"depth":4},{"replace":true,"ratio":40167,"type":3,"depth":5},{"replace":true,"ratio":40167,"type":3,"depth":6},{"replace":true,"ratio":40167,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5288C7971E7971e5288C84y065e","type":3,"depth":1},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"matrix":"757D308x308X757D79t33v","type":3,"depth":4},{"replace":true,"ratio":42281,"type":3,"depth":5},{"replace":true,"ratio":42281,"type":3,"depth":6},{"replace":true,"ratio":42281,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5289C7969E7969e5289C84y064e","type":3,"depth":1},{"replace":true,"ratio":35747,"type":3,"depth":2},{"replace":true,"matrix":"883D615x615X883D83t30v","type":3,"depth":4},{"replace":true,"ratio":44395,"type":3,"depth":5},{"replace":true,"ratio":44395,"type":3,"depth":6},{"replace":true,"ratio":44395,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5292C7966E7966e5292C84y064e","type":3,"depth":1},{"replace":true,"ratio":38726,"type":3,"depth":2},{"replace":true,"matrix":"090E120y120Y090E84t29v","type":3,"depth":4},{"replace":true,"ratio":46509,"type":3,"depth":5},{"replace":true,"ratio":46509,"type":3,"depth":6},{"replace":true,"ratio":46509,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5291C7965E7965e5291C84y064e","type":3,"depth":1},{"replace":true,"ratio":41705,"type":3,"depth":2},{"replace":true,"matrix":"304E624y624Y304E89t27v","type":3,"depth":4},{"replace":true,"ratio":48623,"type":3,"depth":5},{"replace":true,"ratio":48623,"type":3,"depth":6},{"replace":true,"ratio":48623,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5293C7963E7963e5293C84y065e","type":3,"depth":1},{"replace":true,"ratio":44684,"type":3,"depth":2},{"replace":true,"matrix":"435E927y927Y435E89t26v","type":3,"depth":4},{"replace":true,"ratio":50738,"type":3,"depth":5},{"replace":true,"ratio":50738,"type":3,"depth":6},{"replace":true,"ratio":50738,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5294C7960E7960e5294C84y065e","type":3,"depth":1},{"replace":true,"ratio":47663,"type":3,"depth":2},{"replace":true,"matrix":"654E429z429Z654E94t25v","type":3,"depth":4},{"replace":true,"ratio":52852,"type":3,"depth":5},{"replace":true,"ratio":52852,"type":3,"depth":6},{"replace":true,"ratio":52852,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5295C7957E7957e5295C84y064e","type":3,"depth":1},{"replace":true,"ratio":50641,"type":3,"depth":2},{"replace":true,"matrix":"878E925z925Z878E96t24v","type":3,"depth":4},{"replace":true,"ratio":54966,"type":3,"depth":5},{"replace":true,"ratio":54966,"type":3,"depth":6},{"replace":true,"ratio":54966,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5297C7956E7956e5297C84y065e","type":3,"depth":1},{"replace":true,"ratio":53620,"type":3,"depth":2},{"replace":true,"matrix":"015F7227b7227B015F98t22v","type":3,"depth":4},{"replace":true,"ratio":57080,"type":3,"depth":5},{"replace":true,"ratio":57080,"type":3,"depth":6},{"replace":true,"ratio":57080,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5299C7953E7953e5299C84y065e","type":3,"depth":1},{"replace":true,"ratio":56599,"type":3,"depth":2},{"replace":true,"matrix":"246F7722b7722B246F00u21v","type":3,"depth":4},{"replace":true,"ratio":59194,"type":3,"depth":5},{"replace":true,"ratio":59194,"type":3,"depth":6},{"replace":true,"ratio":59194,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5300C7950E7950e5300C84y065e","type":3,"depth":1},{"replace":true,"ratio":59578,"type":3,"depth":2},{"replace":true,"matrix":"480F8215b8215B480F06u20v","type":3,"depth":4},{"replace":true,"ratio":61308,"type":3,"depth":5},{"replace":true,"ratio":61308,"type":3,"depth":6},{"replace":true,"ratio":61308,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"5300C7949E7949e5300C84y065e","type":3,"depth":1},{"replace":true,"ratio":62557,"type":3,"depth":2},{"replace":true,"matrix":"624F8514b8514B624F06u19v","type":3,"depth":4},{"replace":true,"ratio":63422,"type":3,"depth":5},{"replace":true,"ratio":63422,"type":3,"depth":6},{"replace":true,"ratio":63422,"type":3,"depth":7},{"type":2},{"type":4,"depth":5},{"type":4,"depth":6},{"type":4,"depth":7},{"replace":true,"matrix":"5262C8024E8024e5262C84y065e","type":3,"depth":1},{"bounds":[{"ymin":2750,"ymax":4300,"xmin":2150,"xmax":3236},{"ymin":2085,"ymax":4080,"xmin":2290,"xmax":3183}],"id":27,"paths":[{"data":[":10w910bb8dc4p4eb4k0e5v7kb8t6l96b7vb6f5g7g3nbt4l6E41ca6C4ib8E2n1L4y",":50x45vb5iw9q4gb8k2g5u9sb4n9s5q92cbk0gF4tbT4o8G93ca8B8jb0D0p4H05c"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":27,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"798F9060b9060B798F10u17v","type":3,"depth":4},{"bounds":[{"ymin":4128,"ymax":5152,"xmin":1425,"xmax":2465}],"id":28,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"data":["#21"],"line":0},{"fill":0,"data":[":56u128db5D:5H7bb1F6c7G5jbM9fw6lbpm1cmbr:3cTb0e6F5g1HbrJ5k0Db0eP3c9Db8C0F6J5GbUF2DFc:59E58fbY:0Ehb9Ft1J1hb4C1fN9lbu8f2h9ibgamab4c:0d0Dbj2Hy7JbjQ9g1Ib7c9Ce0Fb9CT9GTc"]}],"flat":true,"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"id":28,"matrix":0,"type":3,"depth":7},{"type":2},{"type":4,"depth":7},{"replace":true,"matrix":"3804C7117E7117e3804C64y981d","type":3,"depth":1},{"replace":true,"ratio":21845,"type":3,"depth":2},{"replace":true,"matrix":"::::47w98x","type":3,"depth":3},{"replace":true,"matrix":"334H1788c1788C334H16v83s","type":3,"depth":4},{"bounds":[{"ymin":4758,"ymax":5152,"xmin":2030,"xmax":2465},{"ymin":4260,"ymax":4654,"xmin":2037,"xmax":2472}],"id":29,"paths":[{"data":["#21","#22"],"line":0}],"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"id":29,"matrix":0,"type":3,"depth":5},{"bounds":[{"ymin":4786,"ymax":5104,"xmin":1425,"xmax":1691},{"ymin":4429,"ymax":4765,"xmin":1395,"xmax":1735}],"id":30,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#17","#50"]}],"type":1},{"id":30,"matrix":0,"type":3,"depth":6},{"bounds":[{"ymin":4128,"ymax":4399,"xmin":1991,"xmax":2308},{"ymin":3784,"ymax":4120,"xmin":2000,"xmax":2340}],"id":31,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#23","#42"]}],"type":1},{"id":31,"matrix":0,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"2329C6250E6250e2329C44y897d","type":3,"depth":1},{"replace":true,"ratio":43691,"type":3,"depth":2},{"replace":true,"matrix":"::::37x97v","type":3,"depth":3},{"replace":true,"matrix":"932I4499c4499C932I22w49q","type":3,"depth":4},{"replace":true,"ratio":13107,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":32768,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"0877C5343E5343e0877C25y812d","type":3,"depth":1},{"bounds":[{"ymin":2085,"ymax":4084,"xmin":2290,"xmax":3183},{"ymin":1465,"ymax":3676,"xmin":2545,"xmax":3233}],"id":32,"paths":[{"data":[":50x45vb8v5e94c73bb2n6r5q92cbx0o4H97eb5E4v4K17d","#0"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":32,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"::::27y95t","type":3,"depth":3},{"replace":true,"matrix":"659K7131c7131C659K29x14o","type":3,"depth":4},{"replace":true,"ratio":26214,"type":3,"depth":5},{"bounds":[{"ymin":4429,"ymax":4765,"xmin":1395,"xmax":1735},{"ymin":4134,"ymax":4470,"xmin":1400,"xmax":1740}],"id":33,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#50","#18"]}],"type":1},{"replace":true,"id":33,"ratio":0,"type":3,"depth":6},{"bounds":[{"ymin":3784,"ymax":4120,"xmin":2000,"xmax":2340},{"ymin":3529,"ymax":3865,"xmin":2040,"xmax":2380}],"id":34,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#42","#24"]}],"type":1},{"replace":true,"id":34,"ratio":0,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"9449B4402E4402e9449B04y730d","type":3,"depth":1},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"matrix":"::::05z75q","type":3,"depth":3},{"replace":true,"matrix":"405M9711c9711C405M33y80l","type":3,"depth":4},{"replace":true,"ratio":39322,"type":3,"depth":5},{"replace":true,"ratio":21845,"type":3,"depth":6},{"replace":true,"ratio":21845,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"#20","type":3,"depth":1},{"bounds":[{"ymin":1465,"ymax":3676,"xmin":2545,"xmax":3233}],"id":35,"paths":[{"data":["#0"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":35,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"#6","type":3,"depth":3},{"replace":true,"matrix":"16J474k474K16J07x80i","type":3,"depth":4},{"replace":true,"ratio":52429,"type":3,"depth":5},{"replace":true,"ratio":43691,"type":3,"depth":6},{"replace":true,"ratio":43691,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"#45","type":3,"depth":1},{"replace":true,"ratio":5958,"type":3,"depth":2},{"replace":true,"matrix":"#5","type":3,"depth":4},{"bounds":[{"ymin":4260,"ymax":4654,"xmin":2037,"xmax":2472}],"id":36,"paths":[{"data":["#22"],"line":0}],"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"replace":true,"id":36,"ratio":0,"type":3,"depth":5},{"bounds":[{"ymin":4134,"ymax":4470,"xmin":1400,"xmax":1740}],"id":37,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#18"]}],"type":1},{"replace":true,"id":37,"ratio":0,"type":3,"depth":6},{"bounds":[{"ymin":3529,"ymax":3865,"xmin":2040,"xmax":2380}],"id":38,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#24"]}],"type":1},{"replace":true,"id":38,"ratio":0,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":11916,"type":3,"depth":2},{"replace":true,"matrix":"#35","type":3,"depth":4},{"replace":true,"ratio":6554,"type":3,"depth":5},{"replace":true,"ratio":6554,"type":3,"depth":6},{"replace":true,"ratio":6554,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":17873,"type":3,"depth":2},{"replace":true,"ratio":13107,"type":3,"depth":5},{"replace":true,"ratio":13107,"type":3,"depth":6},{"replace":true,"ratio":13107,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":23831,"type":3,"depth":2},{"replace":true,"ratio":19661,"type":3,"depth":5},{"replace":true,"ratio":19661,"type":3,"depth":6},{"replace":true,"ratio":19661,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":29789,"type":3,"depth":2},{"replace":true,"ratio":26214,"type":3,"depth":5},{"replace":true,"ratio":26214,"type":3,"depth":6},{"replace":true,"ratio":26214,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":35747,"type":3,"depth":2},{"replace":true,"ratio":32768,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":32768,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":41705,"type":3,"depth":2},{"replace":true,"ratio":39322,"type":3,"depth":5},{"replace":true,"ratio":39322,"type":3,"depth":6},{"replace":true,"ratio":39322,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":47663,"type":3,"depth":2},{"replace":true,"ratio":45875,"type":3,"depth":5},{"replace":true,"ratio":45875,"type":3,"depth":6},{"replace":true,"ratio":45875,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":53620,"type":3,"depth":2},{"replace":true,"ratio":52429,"type":3,"depth":5},{"replace":true,"ratio":52429,"type":3,"depth":6},{"replace":true,"ratio":52429,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":59578,"type":3,"depth":2},{"replace":true,"ratio":58982,"type":3,"depth":5},{"replace":true,"ratio":58982,"type":3,"depth":6},{"replace":true,"ratio":58982,"type":3,"depth":7},{"type":2},{"bounds":[{"ymin":1465,"ymax":3676,"xmin":2545,"xmax":3233},{"ymin":970,"ymax":3676,"xmin":2420,"xmax":3088}],"id":39,"paths":[{"data":["#0","#1"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":39,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"#5","type":3,"depth":4},{"bounds":[{"ymin":4260,"ymax":4654,"xmin":2037,"xmax":2472},{"ymin":4153,"ymax":4618,"xmin":2219,"xmax":2583}],"id":40,"paths":[{"data":["#22","#10"],"line":0}],"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"replace":true,"id":40,"ratio":0,"type":3,"depth":5},{"bounds":[{"ymin":4134,"ymax":4470,"xmin":1400,"xmax":1740},{"ymin":4231,"ymax":4549,"xmin":1420,"xmax":1686}],"id":41,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#18","#7"]}],"type":1},{"replace":true,"id":41,"ratio":0,"type":3,"depth":6},{"bounds":[{"ymin":3529,"ymax":3865,"xmin":2040,"xmax":2380},{"ymin":3633,"ymax":3886,"xmin":2026,"xmax":2353}],"id":42,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#24","#25"]}],"type":1},{"replace":true,"id":42,"ratio":0,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":16384,"type":3,"depth":2},{"replace":true,"matrix":"#2","type":3,"depth":3},{"replace":true,"matrix":"#16","type":3,"depth":4},{"replace":true,"ratio":32768,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":32768,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"matrix":"#4","type":3,"depth":3},{"replace":true,"matrix":"#9","type":3,"depth":4},{"bounds":[{"ymin":4153,"ymax":4618,"xmin":2219,"xmax":2583}],"id":43,"paths":[{"data":["#10"],"line":0}],"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"replace":true,"id":43,"ratio":0,"type":3,"depth":5},{"bounds":[{"ymin":4231,"ymax":4549,"xmin":1420,"xmax":1686}],"id":44,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#7"]}],"type":1},{"replace":true,"id":44,"ratio":0,"type":3,"depth":6},{"bounds":[{"ymin":3633,"ymax":3886,"xmin":2026,"xmax":2353}],"id":45,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#44"]}],"type":1},{"replace":true,"id":45,"ratio":0,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":49152,"type":3,"depth":2},{"replace":true,"matrix":"#3","type":3,"depth":3},{"replace":true,"matrix":"#14","type":3,"depth":4},{"replace":true,"ratio":1214,"type":3,"depth":5},{"replace":true,"ratio":6554,"type":3,"depth":6},{"replace":true,"ratio":1214,"type":3,"depth":7},{"type":2},{"bounds":[{"ymin":970,"ymax":3676,"xmin":2420,"xmax":3088},{"ymin":1465,"ymax":3676,"xmin":2545,"xmax":3233}],"id":46,"paths":[{"data":["#1","#0"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":46,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"#8","type":3,"depth":3},{"replace":true,"matrix":"#13","type":3,"depth":4},{"replace":true,"ratio":2427,"type":3,"depth":5},{"replace":true,"ratio":13107,"type":3,"depth":6},{"replace":true,"ratio":2427,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":16384,"type":3,"depth":2},{"replace":true,"matrix":"#3","type":3,"depth":3},{"replace":true,"matrix":"#12","type":3,"depth":4},{"replace":true,"ratio":3641,"type":3,"depth":5},{"replace":true,"ratio":19661,"type":3,"depth":6},{"replace":true,"ratio":3641,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"matrix":"#4","type":3,"depth":3},{"replace":true,"matrix":"#11","type":3,"depth":4},{"replace":true,"ratio":4855,"type":3,"depth":5},{"replace":true,"ratio":26214,"type":3,"depth":6},{"replace":true,"ratio":4855,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":49152,"type":3,"depth":2},{"replace":true,"matrix":"#2","type":3,"depth":3},{"replace":true,"matrix":"#15","type":3,"depth":4},{"replace":true,"ratio":6068,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":6068,"type":3,"depth":7},{"type":2},{"bounds":[{"ymin":1465,"ymax":3676,"xmin":2545,"xmax":3233},{"ymin":970,"ymax":3676,"xmin":2420,"xmax":3088}],"id":47,"paths":[{"data":["#0","#1"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":47,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"#6","type":3,"depth":3},{"replace":true,"matrix":"#5","type":3,"depth":4},{"replace":true,"ratio":7282,"type":3,"depth":5},{"replace":true,"ratio":39322,"type":3,"depth":6},{"replace":true,"ratio":7282,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":16384,"type":3,"depth":2},{"replace":true,"matrix":"#2","type":3,"depth":3},{"replace":true,"matrix":"#16","type":3,"depth":4},{"replace":true,"ratio":8495,"type":3,"depth":5},{"replace":true,"ratio":45875,"type":3,"depth":6},{"replace":true,"ratio":8495,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"matrix":"#4","type":3,"depth":3},{"replace":true,"matrix":"#9","type":3,"depth":4},{"replace":true,"ratio":9709,"type":3,"depth":5},{"replace":true,"ratio":52429,"type":3,"depth":6},{"replace":true,"ratio":9709,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":49152,"type":3,"depth":2},{"replace":true,"matrix":"#3","type":3,"depth":3},{"replace":true,"matrix":"#14","type":3,"depth":4},{"replace":true,"ratio":10923,"type":3,"depth":5},{"replace":true,"ratio":58982,"type":3,"depth":6},{"replace":true,"ratio":10923,"type":3,"depth":7},{"type":2},{"bounds":[{"ymin":970,"ymax":3676,"xmin":2420,"xmax":3088},{"ymin":1465,"ymax":3676,"xmin":2545,"xmax":3233}],"id":48,"paths":[{"data":["#1","#0"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":48,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"#8","type":3,"depth":3},{"replace":true,"matrix":"#13","type":3,"depth":4},{"replace":true,"ratio":12136,"type":3,"depth":5},{"bounds":[{"ymin":4231,"ymax":4549,"xmin":1420,"xmax":1686},{"ymin":4246,"ymax":4549,"xmin":1478,"xmax":1686}],"id":49,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#47","#48"]}],"type":1},{"replace":true,"id":49,"ratio":0,"type":3,"depth":6},{"replace":true,"ratio":12136,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":16384,"type":3,"depth":2},{"replace":true,"matrix":"#3","type":3,"depth":3},{"replace":true,"matrix":"#12","type":3,"depth":4},{"replace":true,"ratio":13350,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":13350,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"matrix":"#4","type":3,"depth":3},{"replace":true,"matrix":"#11","type":3,"depth":4},{"replace":true,"ratio":14564,"type":3,"depth":5},{"bounds":[{"ymin":4246,"ymax":4549,"xmin":1478,"xmax":1686}],"id":50,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":[":78n468dbA5F9b4Kb3c4E2h6Hb1e2C2hQb2cuE0fb3F7f9G1ibMsQ4daH3fbG7d3E9cb1CP1C0Hc"]}],"type":1},{"replace":true,"id":50,"ratio":0,"type":3,"depth":6},{"replace":true,"ratio":14564,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":49152,"type":3,"depth":2},{"replace":true,"matrix":"#2","type":3,"depth":3},{"replace":true,"matrix":"#15","type":3,"depth":4},{"replace":true,"ratio":15777,"type":3,"depth":5},{"replace":true,"ratio":10923,"type":3,"depth":6},{"replace":true,"ratio":15777,"type":3,"depth":7},{"type":2},{"bounds":[{"ymin":1465,"ymax":3676,"xmin":2545,"xmax":3233}],"id":51,"paths":[{"data":["#0"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":51,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"#6","type":3,"depth":3},{"replace":true,"matrix":"#5","type":3,"depth":4},{"replace":true,"ratio":16991,"type":3,"depth":5},{"replace":true,"ratio":21845,"type":3,"depth":6},{"replace":true,"ratio":16991,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":1638,"type":3,"depth":2},{"replace":true,"matrix":"#35","type":3,"depth":4},{"replace":true,"ratio":18204,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":18204,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":3277,"type":3,"depth":2},{"replace":true,"ratio":19418,"type":3,"depth":5},{"replace":true,"ratio":43691,"type":3,"depth":6},{"replace":true,"ratio":19418,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":4915,"type":3,"depth":2},{"replace":true,"ratio":20632,"type":3,"depth":5},{"replace":true,"ratio":54613,"type":3,"depth":6},{"replace":true,"ratio":20632,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":6554,"type":3,"depth":2},{"replace":true,"ratio":21845,"type":3,"depth":5},{"bounds":[{"ymin":4246,"ymax":4549,"xmin":1478,"xmax":1686},{"ymin":4231,"ymax":4549,"xmin":1420,"xmax":1686}],"id":52,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#48","#47"]}],"type":1},{"replace":true,"id":52,"ratio":0,"type":3,"depth":6},{"replace":true,"ratio":21845,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":8192,"type":3,"depth":2},{"replace":true,"ratio":23059,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":23059,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":9830,"type":3,"depth":2},{"replace":true,"ratio":24273,"type":3,"depth":5},{"bounds":[{"ymin":4231,"ymax":4549,"xmin":1420,"xmax":1686}],"id":53,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#7"]}],"type":1},{"replace":true,"id":53,"ratio":0,"type":3,"depth":6},{"replace":true,"ratio":24273,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":11469,"type":3,"depth":2},{"replace":true,"ratio":25486,"type":3,"depth":5},{"replace":true,"ratio":1928,"type":3,"depth":6},{"replace":true,"ratio":25486,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":13107,"type":3,"depth":2},{"replace":true,"ratio":26700,"type":3,"depth":5},{"replace":true,"ratio":3855,"type":3,"depth":6},{"replace":true,"ratio":26700,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":14746,"type":3,"depth":2},{"replace":true,"ratio":27913,"type":3,"depth":5},{"replace":true,"ratio":5783,"type":3,"depth":6},{"replace":true,"ratio":27913,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":16384,"type":3,"depth":2},{"replace":true,"ratio":29127,"type":3,"depth":5},{"replace":true,"ratio":7710,"type":3,"depth":6},{"replace":true,"ratio":29127,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":18022,"type":3,"depth":2},{"replace":true,"ratio":30341,"type":3,"depth":5},{"replace":true,"ratio":9638,"type":3,"depth":6},{"replace":true,"ratio":30341,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":19661,"type":3,"depth":2},{"replace":true,"ratio":31554,"type":3,"depth":5},{"replace":true,"ratio":11565,"type":3,"depth":6},{"replace":true,"ratio":31554,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":21299,"type":3,"depth":2},{"replace":true,"ratio":32768,"type":3,"depth":5},{"replace":true,"ratio":13493,"type":3,"depth":6},{"replace":true,"ratio":32768,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":22938,"type":3,"depth":2},{"replace":true,"ratio":33982,"type":3,"depth":5},{"replace":true,"ratio":15420,"type":3,"depth":6},{"replace":true,"ratio":33982,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":24576,"type":3,"depth":2},{"replace":true,"ratio":35195,"type":3,"depth":5},{"replace":true,"ratio":17348,"type":3,"depth":6},{"replace":true,"ratio":35195,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":26214,"type":3,"depth":2},{"replace":true,"ratio":36409,"type":3,"depth":5},{"replace":true,"ratio":19275,"type":3,"depth":6},{"replace":true,"ratio":36409,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":27853,"type":3,"depth":2},{"replace":true,"ratio":37623,"type":3,"depth":5},{"replace":true,"ratio":21203,"type":3,"depth":6},{"replace":true,"ratio":37623,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":29491,"type":3,"depth":2},{"replace":true,"ratio":38836,"type":3,"depth":5},{"replace":true,"ratio":23130,"type":3,"depth":6},{"replace":true,"ratio":38836,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":31130,"type":3,"depth":2},{"replace":true,"ratio":40050,"type":3,"depth":5},{"replace":true,"ratio":25058,"type":3,"depth":6},{"replace":true,"ratio":40050,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"ratio":41263,"type":3,"depth":5},{"replace":true,"ratio":26985,"type":3,"depth":6},{"replace":true,"ratio":41263,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":34406,"type":3,"depth":2},{"replace":true,"ratio":42477,"type":3,"depth":5},{"replace":true,"ratio":28913,"type":3,"depth":6},{"replace":true,"ratio":42477,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":36045,"type":3,"depth":2},{"replace":true,"ratio":43691,"type":3,"depth":5},{"replace":true,"ratio":30840,"type":3,"depth":6},{"replace":true,"ratio":43691,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":37683,"type":3,"depth":2},{"replace":true,"ratio":44904,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":44904,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":39322,"type":3,"depth":2},{"replace":true,"ratio":46118,"type":3,"depth":5},{"replace":true,"ratio":34696,"type":3,"depth":6},{"replace":true,"ratio":46118,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":40960,"type":3,"depth":2},{"replace":true,"ratio":47332,"type":3,"depth":5},{"replace":true,"ratio":36623,"type":3,"depth":6},{"replace":true,"ratio":47332,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":42598,"type":3,"depth":2},{"replace":true,"ratio":48545,"type":3,"depth":5},{"replace":true,"ratio":38551,"type":3,"depth":6},{"replace":true,"ratio":48545,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":44237,"type":3,"depth":2},{"replace":true,"ratio":49759,"type":3,"depth":5},{"replace":true,"ratio":40478,"type":3,"depth":6},{"replace":true,"ratio":49759,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":45875,"type":3,"depth":2},{"replace":true,"ratio":50972,"type":3,"depth":5},{"replace":true,"ratio":42406,"type":3,"depth":6},{"replace":true,"ratio":50972,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":47514,"type":3,"depth":2},{"replace":true,"ratio":52186,"type":3,"depth":5},{"replace":true,"ratio":44333,"type":3,"depth":6},{"replace":true,"ratio":52186,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":49152,"type":3,"depth":2},{"replace":true,"ratio":53400,"type":3,"depth":5},{"replace":true,"ratio":46261,"type":3,"depth":6},{"replace":true,"ratio":53400,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":50790,"type":3,"depth":2},{"replace":true,"ratio":54613,"type":3,"depth":5},{"replace":true,"ratio":48188,"type":3,"depth":6},{"replace":true,"ratio":54613,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":52429,"type":3,"depth":2},{"replace":true,"ratio":55827,"type":3,"depth":5},{"replace":true,"ratio":50116,"type":3,"depth":6},{"replace":true,"ratio":55827,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":54067,"type":3,"depth":2},{"replace":true,"ratio":57041,"type":3,"depth":5},{"replace":true,"ratio":52043,"type":3,"depth":6},{"replace":true,"ratio":57041,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":55706,"type":3,"depth":2},{"replace":true,"ratio":58254,"type":3,"depth":5},{"replace":true,"ratio":53971,"type":3,"depth":6},{"replace":true,"ratio":58254,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":57344,"type":3,"depth":2},{"replace":true,"ratio":59468,"type":3,"depth":5},{"replace":true,"ratio":55898,"type":3,"depth":6},{"replace":true,"ratio":59468,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":58982,"type":3,"depth":2},{"replace":true,"ratio":60681,"type":3,"depth":5},{"replace":true,"ratio":57826,"type":3,"depth":6},{"replace":true,"ratio":60681,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":60621,"type":3,"depth":2},{"replace":true,"ratio":61895,"type":3,"depth":5},{"replace":true,"ratio":59753,"type":3,"depth":6},{"replace":true,"ratio":61895,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":62259,"type":3,"depth":2},{"replace":true,"ratio":63109,"type":3,"depth":5},{"replace":true,"ratio":61681,"type":3,"depth":6},{"replace":true,"ratio":63109,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":63898,"type":3,"depth":2},{"replace":true,"ratio":64322,"type":3,"depth":5},{"replace":true,"ratio":63608,"type":3,"depth":6},{"replace":true,"ratio":64322,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"#20","type":3,"depth":1},{"bounds":[{"ymin":1465,"ymax":3676,"xmin":2545,"xmax":3233},{"ymin":970,"ymax":3676,"xmin":2420,"xmax":3088}],"id":54,"paths":[{"data":["#0","#1"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":54,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"#5","type":3,"depth":4},{"bounds":[{"ymin":4153,"ymax":4618,"xmin":2219,"xmax":2583}],"id":55,"paths":[{"data":["#10"],"line":0}],"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"replace":true,"id":55,"ratio":0,"type":3,"depth":5},{"bounds":[{"ymin":4231,"ymax":4549,"xmin":1420,"xmax":1686}],"id":56,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#7"]}],"type":1},{"replace":true,"id":56,"ratio":0,"type":3,"depth":6},{"bounds":[{"ymin":3633,"ymax":3886,"xmin":2026,"xmax":2353}],"id":57,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#44"]}],"type":1},{"replace":true,"id":57,"ratio":0,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"#45","type":3,"depth":1},{"replace":true,"ratio":16384,"type":3,"depth":2},{"replace":true,"matrix":"#2","type":3,"depth":3},{"replace":true,"matrix":"#16","type":3,"depth":4},{"replace":true,"ratio":3855,"type":3,"depth":5},{"replace":true,"ratio":3855,"type":3,"depth":6},{"replace":true,"ratio":3855,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"matrix":"#4","type":3,"depth":3},{"replace":true,"matrix":"#9","type":3,"depth":4},{"replace":true,"ratio":7710,"type":3,"depth":5},{"replace":true,"ratio":7710,"type":3,"depth":6},{"replace":true,"ratio":7710,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":49152,"type":3,"depth":2},{"replace":true,"matrix":"#3","type":3,"depth":3},{"replace":true,"matrix":"#14","type":3,"depth":4},{"replace":true,"ratio":11565,"type":3,"depth":5},{"replace":true,"ratio":11565,"type":3,"depth":6},{"replace":true,"ratio":11565,"type":3,"depth":7},{"type":2},{"bounds":[{"ymin":970,"ymax":3676,"xmin":2420,"xmax":3088},{"ymin":1465,"ymax":3676,"xmin":2545,"xmax":3233}],"id":58,"paths":[{"data":["#1","#0"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":58,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"#8","type":3,"depth":3},{"replace":true,"matrix":"#13","type":3,"depth":4},{"replace":true,"ratio":15420,"type":3,"depth":5},{"replace":true,"ratio":15420,"type":3,"depth":6},{"replace":true,"ratio":15420,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":16384,"type":3,"depth":2},{"replace":true,"matrix":"#3","type":3,"depth":3},{"replace":true,"matrix":"#12","type":3,"depth":4},{"replace":true,"ratio":19275,"type":3,"depth":5},{"replace":true,"ratio":19275,"type":3,"depth":6},{"replace":true,"ratio":19275,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"matrix":"#4","type":3,"depth":3},{"replace":true,"matrix":"#11","type":3,"depth":4},{"replace":true,"ratio":23130,"type":3,"depth":5},{"replace":true,"ratio":23130,"type":3,"depth":6},{"replace":true,"ratio":23130,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":49152,"type":3,"depth":2},{"replace":true,"matrix":"#2","type":3,"depth":3},{"replace":true,"matrix":"#15","type":3,"depth":4},{"replace":true,"ratio":26985,"type":3,"depth":5},{"replace":true,"ratio":26985,"type":3,"depth":6},{"replace":true,"ratio":26985,"type":3,"depth":7},{"type":2},{"bounds":[{"ymin":1465,"ymax":3676,"xmin":2545,"xmax":3233},{"ymin":970,"ymax":3676,"xmin":2420,"xmax":3088}],"id":59,"paths":[{"data":["#0","#1"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":59,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"#6","type":3,"depth":3},{"replace":true,"matrix":"#5","type":3,"depth":4},{"replace":true,"ratio":30840,"type":3,"depth":5},{"replace":true,"ratio":30840,"type":3,"depth":6},{"replace":true,"ratio":30840,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":16384,"type":3,"depth":2},{"replace":true,"matrix":"#2","type":3,"depth":3},{"replace":true,"matrix":"#16","type":3,"depth":4},{"replace":true,"ratio":34696,"type":3,"depth":5},{"replace":true,"ratio":34696,"type":3,"depth":6},{"replace":true,"ratio":34696,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"matrix":"#4","type":3,"depth":3},{"replace":true,"matrix":"#9","type":3,"depth":4},{"replace":true,"ratio":38551,"type":3,"depth":5},{"replace":true,"ratio":38551,"type":3,"depth":6},{"replace":true,"ratio":38551,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":49152,"type":3,"depth":2},{"replace":true,"matrix":"#3","type":3,"depth":3},{"replace":true,"matrix":"#14","type":3,"depth":4},{"replace":true,"ratio":42406,"type":3,"depth":5},{"replace":true,"ratio":42406,"type":3,"depth":6},{"replace":true,"ratio":42406,"type":3,"depth":7},{"type":2},{"bounds":[{"ymin":970,"ymax":3676,"xmin":2420,"xmax":3088},{"ymin":1465,"ymax":3676,"xmin":2545,"xmax":3233}],"id":60,"paths":[{"data":["#1","#0"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":60,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"#8","type":3,"depth":3},{"replace":true,"matrix":"#13","type":3,"depth":4},{"replace":true,"ratio":46261,"type":3,"depth":5},{"replace":true,"ratio":46261,"type":3,"depth":6},{"replace":true,"ratio":46261,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":16384,"type":3,"depth":2},{"replace":true,"matrix":"#3","type":3,"depth":3},{"replace":true,"matrix":"#12","type":3,"depth":4},{"replace":true,"ratio":50116,"type":3,"depth":5},{"replace":true,"ratio":50116,"type":3,"depth":6},{"replace":true,"ratio":50116,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"matrix":"#4","type":3,"depth":3},{"replace":true,"matrix":"#11","type":3,"depth":4},{"replace":true,"ratio":53971,"type":3,"depth":5},{"replace":true,"ratio":53971,"type":3,"depth":6},{"replace":true,"ratio":53971,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":49152,"type":3,"depth":2},{"replace":true,"matrix":"#2","type":3,"depth":3},{"replace":true,"matrix":"#15","type":3,"depth":4},{"replace":true,"ratio":57826,"type":3,"depth":5},{"replace":true,"ratio":57826,"type":3,"depth":6},{"replace":true,"ratio":57826,"type":3,"depth":7},{"type":2},{"bounds":[{"ymin":1465,"ymax":3676,"xmin":2545,"xmax":3233},{"ymin":1355,"ymax":3676,"xmin":2380,"xmax":3086}],"id":61,"paths":[{"data":["#0","#33"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":61,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"#6","type":3,"depth":3},{"replace":true,"matrix":"#5","type":3,"depth":4},{"replace":true,"ratio":61681,"type":3,"depth":5},{"replace":true,"ratio":61681,"type":3,"depth":6},{"replace":true,"ratio":61681,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"#20","type":3,"depth":1},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"matrix":"::::35z00n","type":3,"depth":3},{"replace":true,"matrix":"647C348u348U647C13x28i","type":3,"depth":4},{"bounds":[{"ymin":4153,"ymax":4618,"xmin":2219,"xmax":2583},{"ymin":4608,"ymax":5127,"xmin":2266,"xmax":2553}],"id":62,"paths":[{"data":["#10","#26"],"line":0}],"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"replace":true,"id":62,"ratio":0,"type":3,"depth":5},{"bounds":[{"ymin":4231,"ymax":4549,"xmin":1420,"xmax":1686},{"ymin":4786,"ymax":5104,"xmin":1430,"xmax":1696}],"id":63,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#7","#28"]}],"type":1},{"replace":true,"id":63,"ratio":0,"type":3,"depth":6},{"bounds":[{"ymin":3633,"ymax":3886,"xmin":2026,"xmax":2353},{"ymin":4128,"ymax":4381,"xmin":1981,"xmax":2308}],"id":64,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#25","#38"]}],"type":1},{"replace":true,"id":64,"ratio":0,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"9424B4364E4364e9424B04y732d","type":3,"depth":1},{"bounds":[{"ymin":1355,"ymax":3676,"xmin":2380,"xmax":3086},{"ymin":1330,"ymax":3934,"xmin":2115,"xmax":2924}],"id":65,"paths":[{"data":["#33",":75v90nb7v5j59c44eb2e4q1l01fbx0oM60fbR4y2D79d"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":65,"ratio":0,"type":3,"depth":2},{"replace":true,"matrix":"::::87y45m","type":3,"depth":3},{"replace":true,"matrix":"32R370o370O32R30w64h","type":3,"depth":4},{"replace":true,"ratio":13107,"type":3,"depth":5},{"replace":true,"ratio":13107,"type":3,"depth":6},{"replace":true,"ratio":13107,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"0644C5158E5158e0644C25y821d","type":3,"depth":1},{"replace":true,"ratio":32768,"type":3,"depth":2},{"replace":true,"matrix":"::::72x45m","type":3,"depth":3},{"replace":true,"matrix":"40F899h899H40F71u75h","type":3,"depth":4},{"replace":true,"ratio":26214,"type":3,"depth":5},{"replace":true,"ratio":26214,"type":3,"depth":6},{"replace":true,"ratio":26214,"type":3,"depth":7},{"type":2},{"type":4,"depth":2},{"replace":true,"matrix":"2067C6034E6034e2067C45y909d","type":3,"depth":1},{"bounds":[{"ymin":1330,"ymax":3934,"xmin":2115,"xmax":2924}],"id":66,"paths":[{"data":[":700b774cbx5V2d79Db7c10Em60Fb9F27D1L01Fb2M39D59C44E"],"line":0}],"flat":true,"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"id":66,"matrix":0,"type":3,"depth":2},{"replace":true,"matrix":"::::57w45m","type":3,"depth":3},{"replace":true,"matrix":"0F705b705B0F13t89h","type":3,"depth":4},{"replace":true,"ratio":39322,"type":3,"depth":5},{"replace":true,"ratio":39322,"type":3,"depth":6},{"replace":true,"ratio":39322,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"3323C6770E6770e3323C64y997d","type":3,"depth":1},{"bounds":[{"ymin":1830,"ymax":4205,"xmin":2170,"xmax":3057}],"id":67,"paths":[{"data":[":800b045db2c0W0f90Db4e20E0c70Fb9C3X1P76Db3P09C99C19D"],"line":0}],"flat":true,"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":67,"type":3,"depth":2},{"replace":true,"matrix":"::::02x60q","type":3,"depth":3},{"replace":true,"matrix":"7F94y94Y7F75t30m","type":3,"depth":4},{"replace":true,"ratio":52429,"type":3,"depth":5},{"replace":true,"ratio":52429,"type":3,"depth":6},{"replace":true,"ratio":52429,"type":3,"depth":7},{"type":2},{"type":4,"depth":5},{"replace":true,"matrix":"4593C7576E7576e4593C85y085e","type":3,"depth":1},{"bounds":[{"ymin":2225,"ymax":4260,"xmin":2295,"xmax":3268}],"id":68,"paths":[{"data":[":830b100db9g5R2o00Db7n30D3l80Eb1C9R6T96Cb8R0V44D39C"],"line":0}],"flat":true,"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":68,"type":3,"depth":2},{"replace":true,"matrix":"::::47x75u","type":3,"depth":3},{"replace":true,"matrix":"4F07z07Z4F32u69q","type":3,"depth":4},{"bounds":[{"ymin":4608,"ymax":5127,"xmin":2266,"xmax":2553}],"id":69,"paths":[{"data":["#26"],"line":0}],"flat":true,"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"id":69,"matrix":0,"type":3,"depth":5},{"bounds":[{"ymin":4786,"ymax":5104,"xmin":1430,"xmax":1696},{"ymin":4779,"ymax":5115,"xmin":1305,"xmax":1645}],"id":70,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#28","#29"]}],"type":1},{"replace":true,"id":70,"ratio":0,"type":3,"depth":6},{"bounds":[{"ymin":4128,"ymax":4381,"xmin":1981,"xmax":2308},{"ymin":4124,"ymax":4460,"xmin":1870,"xmax":2210}],"id":71,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#38","#40"]}],"type":1},{"replace":true,"id":71,"ratio":0,"type":3,"depth":7},{"type":2},{"type":4,"depth":5},{"replace":true,"matrix":"8132C9344E9344e8132C25w025e","type":3,"depth":1},{"bounds":[{"ymin":2605,"ymax":4340,"xmin":2155,"xmax":3188}],"id":72,"paths":[{"data":[":75z180db7i1N0s12Cb4r43C0p93Db9B8Q3W52Cb1T1Q77D8Y"],"line":0}],"flat":true,"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":72,"type":3,"depth":2},{"replace":true,"matrix":"::::62v55y","type":3,"depth":3},{"replace":true,"matrix":"0F705b705B0F23s49u","type":3,"depth":4},{"bounds":[{"ymin":4613,"ymax":5101,"xmin":2003,"xmax":2281},{"ymin":4606,"ymax":5094,"xmin":3642,"xmax":3920}],"id":73,"paths":[{"data":[":63t041eb1i8C7m9Mb1e7KX9V","#19"],"line":0}],"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"id":73,"matrix":0,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":32768,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"6069C8249E8249e6069C99z002e","type":3,"depth":1},{"bounds":[{"ymin":2976,"ymax":4365,"xmin":2422,"xmax":3627}],"id":74,"paths":[{"data":[":930b205db4n4F82b7Ob77b8R3y38Cb7B3P19C34Cb4W6M64E0X"],"line":0}],"flat":true,"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":74,"type":3,"depth":2},{"replace":true,"matrix":"::::29y947b","type":3,"depth":3},{"replace":true,"matrix":"V62o62OV72u55y","type":3,"depth":4},{"replace":true,"ratio":16384,"type":3,"depth":5},{"bounds":[{"ymin":4779,"ymax":5115,"xmin":1305,"xmax":1645},{"ymin":4599,"ymax":4935,"xmin":2985,"xmax":3325}],"id":75,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#29","#43"]}],"type":1},{"replace":true,"id":75,"ratio":0,"type":3,"depth":6},{"bounds":[{"ymin":4124,"ymax":4460,"xmin":1870,"xmax":2210},{"ymin":4034,"ymax":4370,"xmin":3735,"xmax":4075}],"id":76,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#40","#34"]}],"type":1},{"replace":true,"id":76,"ratio":0,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"3828C7055E7055e3828C074c978d","type":3,"depth":1},{"bounds":[{"ymin":2862,"ymax":4185,"xmin":3164,"xmax":4198}],"id":77,"paths":[{"data":[":796c025db9f8C4m6Jb8l7M4j87Bb9B8Q3W52Cb1T1Q77D8Y"],"line":0}],"flat":true,"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":77,"matrix":"::::46C5l","type":3,"depth":2},{"replace":true,"matrix":"::::923b946b","type":3,"depth":3},{"replace":true,"matrix":"01I601j601J01I35z10y","type":3,"depth":4},{"replace":true,"ratio":32768,"type":3,"depth":5},{"replace":true,"ratio":16384,"type":3,"depth":6},{"replace":true,"ratio":16384,"type":3,"depth":7},{"type":2},{"type":4,"depth":2},{"replace":true,"matrix":"1817C5887E5887e1817C449c955d","type":3,"depth":1},{"bounds":[{"ymin":2862,"ymax":4185,"xmin":3164,"xmax":4198}],"id":78,"paths":[{"data":["#49"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"id":78,"matrix":0,"type":3,"depth":2},{"replace":true,"matrix":"::::317c845b","type":3,"depth":3},{"replace":true,"matrix":"#31","type":3,"depth":4},{"replace":true,"ratio":49152,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":32768,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"9671B4529E4529e9671B823c934d","type":3,"depth":1},{"replace":true,"ratio":5041,"type":3,"depth":2},{"replace":true,"matrix":"111C738s738S111C099c72x","type":3,"depth":4},{"bounds":[{"ymin":4606,"ymax":5094,"xmin":3642,"xmax":3920}],"id":79,"paths":[{"data":["#19"],"line":0}],"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"replace":true,"id":79,"ratio":0,"type":3,"depth":5},{"replace":true,"ratio":49152,"type":3,"depth":6},{"replace":true,"ratio":49152,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"7753B3214E3214e7753B197d911d","type":3,"depth":1},{"replace":true,"ratio":10082,"type":3,"depth":2},{"replace":true,"ratio":2849,"type":3,"depth":5},{"bounds":[{"ymin":4599,"ymax":4935,"xmin":2985,"xmax":3325}],"id":80,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#43"]}],"type":1},{"replace":true,"id":80,"ratio":0,"type":3,"depth":6},{"bounds":[{"ymin":4034,"ymax":4370,"xmin":3735,"xmax":4075}],"id":81,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"fill":0,"data":["#34"]}],"type":1},{"replace":true,"id":81,"ratio":0,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"713Y1702E1702e713Y571d888d","type":3,"depth":1},{"replace":true,"ratio":15124,"type":3,"depth":2},{"replace":true,"ratio":5699,"type":3,"depth":5},{"replace":true,"ratio":2979,"type":3,"depth":6},{"replace":true,"ratio":2979,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"#37","type":3,"depth":1},{"replace":true,"ratio":20165,"type":3,"depth":2},{"replace":true,"ratio":8548,"type":3,"depth":5},{"replace":true,"ratio":5958,"type":3,"depth":6},{"replace":true,"ratio":5958,"type":3,"depth":7},{"type":2},{"replace":true,"matrix":"732W0112E0112e732W945d865d","type":3,"depth":1},{"replace":true,"ratio":25206,"type":3,"depth":2},{"replace":true,"ratio":11398,"type":3,"depth":5},{"replace":true,"ratio":8937,"type":3,"depth":6},{"replace":true,"ratio":8937,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":30247,"type":3,"depth":2},{"replace":true,"ratio":14247,"type":3,"depth":5},{"replace":true,"ratio":11916,"type":3,"depth":6},{"replace":true,"ratio":11916,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":35289,"type":3,"depth":2},{"replace":true,"ratio":17096,"type":3,"depth":5},{"replace":true,"ratio":14895,"type":3,"depth":6},{"replace":true,"ratio":14895,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":40330,"type":3,"depth":2},{"replace":true,"ratio":19946,"type":3,"depth":5},{"replace":true,"ratio":17873,"type":3,"depth":6},{"replace":true,"ratio":17873,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":45371,"type":3,"depth":2},{"replace":true,"ratio":22795,"type":3,"depth":5},{"replace":true,"ratio":20852,"type":3,"depth":6},{"replace":true,"ratio":20852,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":50412,"type":3,"depth":2},{"replace":true,"ratio":25645,"type":3,"depth":5},{"replace":true,"ratio":23831,"type":3,"depth":6},{"replace":true,"ratio":23831,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":55454,"type":3,"depth":2},{"replace":true,"ratio":28494,"type":3,"depth":5},{"replace":true,"ratio":26810,"type":3,"depth":6},{"replace":true,"ratio":26810,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":60495,"type":3,"depth":2},{"replace":true,"ratio":31343,"type":3,"depth":5},{"replace":true,"ratio":29789,"type":3,"depth":6},{"replace":true,"ratio":29789,"type":3,"depth":7},{"type":2},{"bounds":[{"ymin":2862,"ymax":4185,"xmin":3164,"xmax":4198}],"id":82,"paths":[{"data":["#49"],"line":0}],"linestyles":[{"color":[-16070918],"width":[320]}],"type":1},{"replace":true,"id":82,"ratio":0,"type":3,"depth":2},{"replace":true,"ratio":34193,"type":3,"depth":5},{"replace":true,"ratio":32768,"type":3,"depth":6},{"replace":true,"ratio":32768,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":5958,"type":3,"depth":2},{"replace":true,"ratio":37042,"type":3,"depth":5},{"replace":true,"ratio":35747,"type":3,"depth":6},{"replace":true,"ratio":35747,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":11916,"type":3,"depth":2},{"replace":true,"ratio":39891,"type":3,"depth":5},{"replace":true,"ratio":38726,"type":3,"depth":6},{"replace":true,"ratio":38726,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":17873,"type":3,"depth":2},{"replace":true,"ratio":42741,"type":3,"depth":5},{"replace":true,"ratio":41705,"type":3,"depth":6},{"replace":true,"ratio":41705,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":23831,"type":3,"depth":2},{"replace":true,"ratio":45590,"type":3,"depth":5},{"replace":true,"ratio":44684,"type":3,"depth":6},{"replace":true,"ratio":44684,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":29789,"type":3,"depth":2},{"replace":true,"ratio":48440,"type":3,"depth":5},{"replace":true,"ratio":47663,"type":3,"depth":6},{"replace":true,"ratio":47663,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":35747,"type":3,"depth":2},{"replace":true,"ratio":51289,"type":3,"depth":5},{"replace":true,"ratio":50641,"type":3,"depth":6},{"replace":true,"ratio":50641,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":41705,"type":3,"depth":2},{"replace":true,"ratio":54138,"type":3,"depth":5},{"replace":true,"ratio":53620,"type":3,"depth":6},{"replace":true,"ratio":53620,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":47663,"type":3,"depth":2},{"replace":true,"ratio":56988,"type":3,"depth":5},{"replace":true,"ratio":56599,"type":3,"depth":6},{"replace":true,"ratio":56599,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":53620,"type":3,"depth":2},{"replace":true,"ratio":59837,"type":3,"depth":5},{"replace":true,"ratio":59578,"type":3,"depth":6},{"replace":true,"ratio":59578,"type":3,"depth":7},{"type":2},{"replace":true,"ratio":59578,"type":3,"depth":2},{"replace":true,"ratio":62687,"type":3,"depth":5},{"replace":true,"ratio":62557,"type":3,"depth":6},{"replace":true,"ratio":62557,"type":3,"depth":7},{"type":2},{"type":4,"depth":2},{"type":4,"depth":5},{"type":4,"depth":6},{"type":4,"depth":7},{"replace":true,"matrix":"#37","type":3,"depth":1},{"id":77,"matrix":0,"type":3,"depth":2},{"replace":true,"matrix":"#31","type":3,"depth":4},{"bounds":[{"ymin":4034,"ymax":5094,"xmin":2985,"xmax":4075}],"id":83,"fillstyles":[{"color":[-16750688],"type":1}],"paths":[{"data":["#19"],"line":0},{"fill":0,"data":[":905c034db0G:0L9db0E9d0E9kb:0g0e9kb0e9d0l9db0g:0l9Db0e9D0e9Kb:0G0E9Kb0E9D0L9Dc:50G65eb0G:0L9db0E9d0E9kb:0g0e9kb0e9d0l9db0g:0l9Db0e9D0e9Kb:0G0E9Kb0E9D0L9Dc"]}],"flat":true,"linestyles":[{"color":[-184549377],"width":[120]}],"type":1},{"id":83,"matrix":0,"type":3,"depth":7},{"type":9,"actions":[{"type":7}]},{"type":2}],"fileSize":8747,"v":"7.2.0","backgroundColor":-6710887,"frameSize":{"ymin":0,"ymax":6680,"xmin":0,"xmax":2940},"as3":true,"frameCount":171,"frameRate":24,"version":15};
<?php define("NOT_CHECK_PERMISSIONS", true); require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_before.php"; IncludeModuleLangFile(__FILE__); if (!CModule::IncludeModule("socialnetwork")) { return; } if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST["active"]) && in_array($_POST["active"], array("D", "Y", "N")) && check_bitrix_sessid()) { $userId = intval($_POST["user_id"]); $res = false; $canEdit = $USER->CanDoOperation('edit_own_profile') || $USER->IsAdmin() ? "Y" : "N"; $CurrentUserPerms = CSocNetUserPerms::InitUserPerms($USER->GetID(), $userId, CSocNetUser::IsCurrentUserModuleAdmin($_POST["site_id"], CModule::IncludeModule("bitrix24") && CBitrix24::IsPortalAdmin($USER->GetID()) ? false : true)); if ($CurrentUserPerms["Operations"]["modifyuser_main"] && $canEdit == 'Y' && $userId != $USER->GetID()) { switch ($_POST["active"]) { case "D": $res = $USER->Delete($userId); break; case "Y": case "N": $res = $USER->Update($userId, array("ACTIVE" => $_POST["active"])); break; } } $arJsonData = array(); if ($res) { $arJsonData["success"] = "Y"; } else { $arJsonData["error"] = GetMessage("INTR_ISP_DELETE_ERROR_" . $_POST["active"]); if ($USER->LAST_ERROR) { $arJsonData["error"] .= "<br/>" . $USER->LAST_ERROR;
$arParams['EDITABLE_FIELDS'] = array_merge($arParams['EDITABLE_FIELDS'], array('BLOG_ALIAS', 'BLOG_DESCRIPTION', 'BLOG_INTERESTS', 'BLOG_AVATAR', 'BLOG_SIGNATURE')); } } $arResult["arSocServ"] = array(); if (CModule::IncludeModule("socialservices")) { $oAuthManager = new CSocServAuthManager(); $arResult["arSocServ"] = $oAuthManager->GetActiveAuthServices(array()); if (!empty($arResult["arSocServ"])) { $arParams['EDITABLE_FIELDS'][] = 'SOCSERVICES'; } } if (in_array('TIME_ZONE', $arParams['EDITABLE_FIELDS'])) { $arParams['EDITABLE_FIELDS'][] = 'AUTO_TIME_ZONE'; } $arResult["urlToCancel"] = CComponentEngine::MakePathFromTemplate($arParams["PATH_TO_USER"], array("user_id" => $arParams["ID"])); $CurrentUserPerms = CSocNetUserPerms::InitUserPerms($USER->GetID(), $arParams["ID"], CSocNetUser::IsCurrentUserModuleAdmin(SITE_ID, CModule::IncludeModule("bitrix24") && CBitrix24::IsPortalAdmin($USER->GetID()) ? false : true)); if (!$CurrentUserPerms["Operations"]["modifyuser"] || !$CurrentUserPerms["Operations"]["modifyuser_main"]) { $arParams['ID'] = $USER->GetID(); } $arResult["bEdit"] = $USER->CanDoOperation('edit_own_profile') || $USER->IsAdmin() ? "Y" : "N"; if ($arResult['bEdit'] != 'Y') { $APPLICATION->AuthForm(GetMessage('SONET_P_PU_NO_RIGHTS')); } $dbUser = CUser::GetByID($arParams["ID"]); $arResult["User"] = $dbUser->GetNext(); if ($arResult['User']['EXTERNAL_AUTH_ID']) { foreach ($arParams['EDITABLE_FIELDS'] as $key => $value) { if ($value == 'LOGIN' || $value == 'PASSWORD') { unset($arParams['EDITABLE_FIELDS'][$key]); } }
<?php if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) { die; } ?> <tr> <td align="right" width="40%"><span class="adm-required-field"><?php echo GetMessage("BPIMNA_PD_TO"); ?> :</span></td> <td width="60%"> <?php global $USER; if ($USER->IsAdmin() || CModule::IncludeModule("bitrix24") && CBitrix24::IsPortalAdmin($USER->GetID())) { ?> <input type="text" name="from_user_id" id="id_from_user_id" value="<?php echo htmlspecialcharsbx($arCurrentValues["from_user_id"]); ?> " size="50"> <input type="button" value="..." onclick="BPAShowSelector('id_from_user_id', 'user');"> <?php } else { echo $USER->GetFullName(); } ?> </td> </tr> <tr> <td align="right" width="40%"><span class="adm-required-field"><?php echo GetMessage("BPIMNA_PD_FROM");
header('Access-Control-Allow-Origin: *'); } $data = array("status" => "failed", "bitrix_sessid" => bitrix_sessid()); $userData = CHTTP::ParseAuthRequest(); $APPLICATION->RestartBuffer(); $login = $userData["basic"]["username"]; $isAlreadyAuthorized = $USER->IsAuthorized(); if (!$isAlreadyAuthorized) { if ($isAlreadyAuthorized) { $USER->Logout(); } if (IsModuleInstalled('bitrix24')) { header('Access-Control-Allow-Origin: *'); } if ($login) { if (CModule::IncludeModule('bitrix24') && ($captchaInfo = CBitrix24::getStoredCaptcha())) { $data["captchaCode"] = $captchaInfo["captchaCode"]; $data["captchaURL"] = $captchaInfo["captchaURL"]; } elseif ($APPLICATION->NeedCAPTHAForLogin($login)) { $data["captchaCode"] = $APPLICATION->CaptchaGetCode(); } if (CModule::IncludeModule("security") && \Bitrix\Security\Mfa\Otp::isOtpRequired()) { $data["needOtp"] = true; } } CHTTP::SetStatus("401 Unauthorized"); } else { $bExtranetInstalled = CModule::IncludeModule("extranet") && CExtranet::GetExtranetSiteID(); $arSelectParams = array("FIELDS" => array("PERSONAL_PHOTO")); if ($bExtranetInstalled) { $arSelectParams["SELECT"] = array("UF_DEPARTMENT");
public static function GetPropertiesDialogValues($documentType, $activityName, &$arWorkflowTemplate, &$arWorkflowParameters, &$arWorkflowVariables, $arCurrentValues, &$arErrors) { $arErrors = array(); $runtime = CBPRuntime::GetRuntime(); $arMap = array("message_user_from" => "MessageUserFrom", "message_user_to" => "MessageUserTo", "message_text" => "MessageText"); $arProperties = array(); foreach ($arMap as $key => $value) { if ($key == "message_user_from" || $key == "message_user_to") { continue; } $arProperties[$value] = $arCurrentValues[$key]; } global $USER; if ($USER->IsAdmin() || CModule::IncludeModule("bitrix24") && CBitrix24::IsPortalAdmin($USER->GetID())) { $arProperties["MessageUserFrom"] = CBPHelper::UsersStringToArray($arCurrentValues["message_user_from"], $documentType, $arErrors); if (count($arErrors) > 0) { return false; } } else { $arProperties["MessageUserFrom"] = "user_" . $USER->GetID(); } //global $USER; //if (!$USER->IsAdmin()) // $arProperties["MessageUserFrom"] = "user_".$USER->GetID(); $arProperties["MessageUserTo"] = CBPHelper::UsersStringToArray($arCurrentValues["message_user_to"], $documentType, $arErrors); if (count($arErrors) > 0) { return false; } $arErrors = self::ValidateProperties($arProperties, new CBPWorkflowTemplateUser(CBPWorkflowTemplateUser::CurrentUser)); if (count($arErrors) > 0) { return false; } $arCurrentActivity =& CBPWorkflowTemplateLoader::FindActivityByName($arWorkflowTemplate, $activityName); $arCurrentActivity["Properties"] = $arProperties; return true; }
/** * Determines if current user is admin. * * @return bool */ public static function isCurrentUserAdmin() { global $USER; if (!isset($USER)) { return false; } if ($USER->isAdmin()) { return true; } try { if (ModuleManager::isModuleInstalled('bitrix24') && Loader::includeModule('bitrix24')) { return \CBitrix24::isPortalAdmin($USER->getId()); } } catch (\Exception $e) { } return false; }
public static function GetMobileTemplateJS($arParams, $arTemplate) { global $USER; $ppStatus = 'false'; $ppServerStatus = 'false'; $updateStateInterval = 'auto'; if (CModule::IncludeModule("pull")) { $ppStatus = CPullOptions::ModuleEnable()? 'true': 'false'; $ppServerStatus = CPullOptions::GetNginxStatus()? 'true': 'false'; $updateStateInterval = CPullOptions::GetNginxStatus()? self::GetSessionLifeTime(): 80; if ($updateStateInterval > 100) { if ($updateStateInterval > 3600) $updateStateInterval = 3600; $updateStateInterval = $updateStateInterval-60; } } $diskStatus = CIMDisk::Enabled(); $phoneSipAvailable = 0; $phoneEnabled = false; $mobileAction = isset($arTemplate["ACTION"])? $arTemplate["ACTION"]: 'none'; $sJS = " BX.ready(function() { BXIM = new BX.ImMobile({ 'mobileAction': '".$mobileAction."', 'mailCount': ".intval($arTemplate["MAIL_COUNTER"]).", 'notifyCount': ".intval($arTemplate["NOTIFY_COUNTER"]).", 'messageCount': ".intval($arTemplate["MESSAGE_COUNTER"]).", 'counters': ".(empty($arTemplate['COUNTERS'])? '{}': CUtil::PhpToJSObject($arTemplate['COUNTERS'])).", 'ppStatus': ".$ppStatus.", 'ppServerStatus': ".$ppServerStatus.", 'updateStateInterval': '".$updateStateInterval."', 'xmppStatus': ".(CIMMessenger::CheckXmppStatusOnline()? 'true': 'false').", 'bitrixNetworkStatus': ".(CIMMessenger::CheckNetworkStatus()? 'true': 'false').", 'bitrix24Status': ".(IsModuleInstalled('bitrix24')? 'true': 'false').", 'bitrix24Admin': ".(CModule::IncludeModule('bitrix24') && CBitrix24::IsPortalAdmin($USER->GetId())? 'true': 'false').", 'bitrix24net': ".(IsModuleInstalled('b24network')? 'true': 'false').", 'bitrixIntranet': ".(IsModuleInstalled('intranet')? 'true': 'false').", 'bitrixXmpp': ".(IsModuleInstalled('xmpp')? 'true': 'false').", 'desktopStatus': ".(CIMMessenger::CheckDesktopStatusOnline()? 'true': 'false').", 'desktopVersion': ".CIMMessenger::GetDesktopVersion().", 'language': '".LANGUAGE_ID."', 'smile': ".(empty($arTemplate['SMILE'])? '{}': CUtil::PhpToJSObject($arTemplate["SMILE"])).", 'smileSet': ".(empty($arTemplate['SMILE_SET'])? '{}': CUtil::PhpToJSObject($arTemplate["SMILE_SET"])).", 'settings': ".(empty($arTemplate['SETTINGS'])? '{}': CUtil::PhpToJSObject($arTemplate['SETTINGS'])).", 'settingsNotifyBlocked': ".(empty($arTemplate['SETTINGS_NOTIFY_BLOCKED'])? '{}': CUtil::PhpToJSObject($arTemplate['SETTINGS_NOTIFY_BLOCKED'])).", 'notify': ".(empty($arTemplate['NOTIFY']['notify'])? '{}': CUtil::PhpToJSObject($arTemplate['NOTIFY']['notify'])).", 'unreadNotify' : ".(empty($arTemplate['NOTIFY']['unreadNotify'])? '{}': CUtil::PhpToJSObject($arTemplate['NOTIFY']['unreadNotify'])).", 'flashNotify' : ".(empty($arTemplate['NOTIFY']['flashNotify'])? '{}': CUtil::PhpToJSObject($arTemplate['NOTIFY']['flashNotify'])).", 'countNotify' : ".intval($arTemplate['NOTIFY']['countNotify']).", 'loadNotify' : ".($arTemplate['NOTIFY']['loadNotify']? 'true': 'false').", 'recent': ".(empty($arTemplate['RECENT'])? '{}': CUtil::PhpToJSObject($arTemplate['RECENT'])).", 'users': ".(empty($arTemplate['CONTACT_LIST']['users'])? '{}': CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['users'])).", 'groups': ".(empty($arTemplate['CONTACT_LIST']['groups'])? '{}': CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['groups'])).", 'userInGroup': ".(empty($arTemplate['CONTACT_LIST']['userInGroup'])? '{}': CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['userInGroup'])).", 'woGroups': ".(empty($arTemplate['CONTACT_LIST']['woGroups'])? '{}': CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['woGroups'])).", 'woUserInGroup': ".(empty($arTemplate['CONTACT_LIST']['woUserInGroup'])? '{}': CUtil::PhpToJSObject($arTemplate['CONTACT_LIST']['woUserInGroup'])).", 'chat': ".(empty($arTemplate['CHAT']['chat'])? '{}': CUtil::PhpToJSObject($arTemplate['CHAT']['chat'])).", 'userInChat': ".(empty($arTemplate['CHAT']['userInChat'])? '{}': CUtil::PhpToJSObject($arTemplate['CHAT']['userInChat'])).", 'userChatBlockStatus': ".(empty($arTemplate['CHAT']['userChatBlockStatus'])? '{}': CUtil::PhpToJSObject($arTemplate['CHAT']['userChatBlockStatus'])).", 'message' : ".(empty($arTemplate['MESSAGE']['message'])? '{}': CUtil::PhpToJSObject($arTemplate['MESSAGE']['message'])).", 'files' : ".(empty($arTemplate['MESSAGE']['files'])? '{}': CUtil::PhpToJSObject($arTemplate['MESSAGE']['files'])).", 'showMessage' : ".(empty($arTemplate['MESSAGE']['usersMessage'])? '{}': CUtil::PhpToJSObject($arTemplate['MESSAGE']['usersMessage'])).", 'unreadMessage' : ".(empty($arTemplate['MESSAGE']['unreadMessage'])? '{}': CUtil::PhpToJSObject($arTemplate['MESSAGE']['unreadMessage'])).", 'flashMessage' : ".(empty($arTemplate['MESSAGE']['flashMessage'])? '{}': CUtil::PhpToJSObject($arTemplate['MESSAGE']['flashMessage'])).", 'history' : {}, 'openMessenger' : ".(isset($_GET['IM_DIALOG'])? "'".CUtil::JSEscape(htmlspecialcharsbx($_GET['IM_DIALOG']))."'": 'false').", 'openHistory' : ".(isset($_GET['IM_HISTORY'])? "'".CUtil::JSEscape(htmlspecialcharsbx($_GET['IM_HISTORY']))."'": 'false').", 'openNotify' : ".(isset($_GET['IM_NOTIFY']) && $_GET['IM_NOTIFY'] == 'Y'? 'true': 'false').", 'openSettings' : ".(isset($_GET['IM_SETTINGS'])? $_GET['IM_SETTINGS'] == 'Y'? "'true'": "'".CUtil::JSEscape(htmlspecialcharsbx($_GET['IM_SETTINGS']))."'": 'false').", 'currentTab' : '".($arTemplate['CURRENT_TAB']? CUtil::JSEscape($arTemplate['CURRENT_TAB']): 0)."', 'userId': ".$USER->GetID().", 'userEmail': '".CUtil::JSEscape($USER->GetEmail())."', 'webrtc': {'turnServer' : '".(empty($arTemplate['TURN_SERVER'])? '': CUtil::JSEscape($arTemplate['TURN_SERVER']))."', 'turnServerLogin' : '".(empty($arTemplate['TURN_SERVER_LOGIN'])? '': CUtil::JSEscape($arTemplate['TURN_SERVER_LOGIN']))."', 'turnServerPassword' : '".(empty($arTemplate['TURN_SERVER_PASSWORD'])? '': CUtil::JSEscape($arTemplate['TURN_SERVER_PASSWORD']))."', 'mobileSupport': ".($arTemplate['WEBRTC_MOBILE_SUPPORT']? 'true': 'false').", 'phoneEnabled': ".($phoneEnabled? 'true': 'false').", 'phoneSipAvailable': ".($phoneSipAvailable? 'true': 'false')."}, 'disk': {'enable' : ".($diskStatus? 'true': 'false')."}, 'path' : {'profile' : '".(empty($arTemplate['PATH_TO_USER_PROFILE'])? '': CUtil::JSEscape($arTemplate['PATH_TO_USER_PROFILE']))."', 'profileTemplate' : '".(empty($arTemplate['PATH_TO_USER_PROFILE_TEMPLATE'])? '': CUtil::JSEscape($arTemplate['PATH_TO_USER_PROFILE_TEMPLATE']))."', 'mail' : '".(empty($arTemplate['PATH_TO_USER_MAIL'])? '': CUtil::JSEscape($arTemplate['PATH_TO_USER_MAIL']))."'} }); }); "; return $sJS; }
$APPLICATION->IncludeComponent("bitrix:system.auth.initialize", "", array("CHECKWORD_VARNAME" => "checkword", "USERID_VARNAME" => "user_id", "AUTH_URL" => "#SITE_DIR#auth.php"), false); require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"; die; } define("PUBLIC_AJAX_MODE", true); require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_before.php"; $bExtranetInstalled = IsModuleInstalled("extranet") && strlen(COption::GetOptionString("extranet", "extranet_site")) > 0; IncludeModuleLangFile(__FILE__); ?> <div style="width: 542px; padding: 5px; max-height: 500px; overflow-y: auto; margin: 5px;"><?php $bLimitReached = false; if (IsModuleInstalled("bitrix24")) { $UserMaxCount = intval(COption::GetOptionString("main", "PARAM_MAX_USERS")); if ($UserMaxCount > 0) { $currentUserCount = 0; $currentUserCount = CBitrix24::ActiveUserCount(); if ($currentUserCount >= $UserMaxCount) { $bLimitReached = true; } } } if ($bLimitReached) { echo GetMessage("BX24_INVITE_DIALOG_INVITE_LIMIT"); } elseif (CModule::IncludeModule('bitrix24') && !$USER->CanDoOperation('bitrix24_invite') || !IsModuleInstalled('bitrix24') && !$USER->CanDoOperation('edit_all_users')) { echo GetMessage("BX24_INVITE_DIALOG_ACCESS_DENIED"); } elseif (!CModule::IncludeModule('iblock')) { echo GetMessage("BX24_INVITE_DIALOG_IBLOCK_MODULE"); } elseif (!CModule::IncludeModule('intranet')) { echo GetMessage("BX24_INVITE_DIALOG_INTRANET_MODULE"); } else { $SITE_ID = CSite::GetDefSite();
private static function checkAdminPermissions() { global $USER; if (!isset($USER) || !is_object($USER) || !$USER->isAdmin() && !(Loader::includeModule('bitrix24') && \CBitrix24::isPortalAdmin($USER->getID()))) { return false; } return true; }
&& MakeTimeStamp(date("d.m.Y"), "DD.MM.YYYY") <= MakeTimeStamp("31.12.2014", "DD.MM.YYYY") ) { if ( LANGUAGE_ID == "de" || LANGUAGE_ID == "en" && !CBitrix24::IsLicensePaid() ) $arBanners[] = "newyear"; if ( LANGUAGE_ID == "ru" || LANGUAGE_ID == "ua" ) $arBanners[] = "runewyear"; }*/ if (IsModuleInstalled("bitrix24") && COption::GetOptionString("voximplant", "notice_old_config_office_pbx") == 'Y' && CBitrix24::IsPortalAdmin($USER->GetID())) { $arBanners[] = "sip"; } if (CUserOptions::GetOption("im", "DesktopLastActivityDate", -1) == -1) { $arBanners[] = "messenger"; } $arBanners[] = "mobile"; if (COption::GetOptionString("bitrix24", "network", "N") == "Y") { $arBanners[] = "network"; } /*if (IsModuleInstalled("bitrix24")) { $arBanners[] = "marketplace"; }*/ $arBanners[] = "webinar"; if (IsModuleInstalled("mail") && LANGUAGE_ID == "ru") {