uawdijnntqw1x1x1
IP : 18.117.252.232
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
yar.axolotls.ru
/
bitrix
/
js
/
main
/
core
/
src
/
..
/
site_speed
/
..
/
core_decl.js
/
/
;(function() { 'use strict'; BX.namespace('BX'); var isBlock = function(block) { return BX.type.isPlainObject(block) && ('block' in block); }; var isString = function(string) { return BX.type.isNotEmptyString(string); }; var isTag = function(tag) { return BX.type.isPlainObject(tag) && !('block' in tag && 'elem' in tag); }; BX.render = function(item) { var element = null; if (isBlock(item) || isTag(item)) { var tag = 'tag' in item ? item.tag : 'div'; var className = item.block; var attrs = 'attrs' in item ? item.attrs : {}; var events = 'events' in item ? item.events : {}; var props = {}; if ('props' in item && BX.type.isPlainObject(item.props)) { props = item.props; } if ('mix' in item && BX.type.isArray(item.mix)) { item.mix.push(className); props.className = item.mix.join(' '); } else if ('mix' in item && BX.type.isNotEmptyString(item.mix)) { props.className = [className, item.mix].join(' '); } else { props.className = className; } if ('content' in item) { var children = []; var text = ''; if (isBlock(item.content) || isTag(item.content)) { if (item.content.block in BX.Main.ui.block) { item.content = BX.Main.ui.block[item.content.block](item.content); } children = [BX.render(item.content)]; } if (isString(item.content)) { text = BX.util.htmlspecialchars(item.content); } if (BX.type.isArray(item.content)) { children = BX.decl(item.content); } if (BX.type.isDomNode(item.content)) { children = [item.content]; } } element = BX.create(tag, {props: props, attrs: attrs, events: events, children: children, html: text}); } else if (isString(item)) { element = BX.util.htmlspecialchars(item); } else if (BX.type.isDomNode(item)) { element = item; } return element; }; BX.decl = function(decl) { var result = null; if (BX.type.isArray(decl)) { result = decl.map(function(current) { if (isBlock(current) && current.block in BX.Main.ui.block) { current = BX.Main.ui.block[current.block](current); } return BX.render(current); }); } else if (isBlock(decl)) { if (decl.block in BX.Main.ui.block) { decl = BX.Main.ui.block[decl.block](decl); } result = BX.render(decl); } return result; }; })();
/var/www/axolotl/data/www/yar.axolotls.ru/bitrix/js/main/core/src/../site_speed/../core_decl.js