%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 3.147.55.35 Web Server : Apache/2.4.52 (Ubuntu) System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 User : www-root ( 1010) PHP Version : 7.4.33 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, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/landing/ |
Upload File : |
(function(){"use strict";BX.namespace("BX.Landing");BX.Landing.PageObject=function(){this.store={};this.store.topPanel=null;this.store.designPanel=null;this.store.contentPanel=null;this.store.inlineEditor=null;this.store.contentPanelEditorPanel=null;this.store.linkEditorPanel=null;this.store.linkEditor=null;this.store.view=null};BX.Landing.PageObject.getInstance=function(){if(!BX.Landing.PageObject.instance&&!BX.Landing.PageObject.instance){BX.Landing.PageObject.instance=new BX.Landing.PageObject}return BX.Landing.PageObject.instance||BX.Landing.PageObject.instance};BX.Landing.PageObject.instance=null;BX.Landing.PageObject.prototype={top:function(){return new Promise(function(n,e){if(!this.store.topPanel&&window.parent){this.store.topPanel=window.parent.document.querySelector(".landing-ui-panel-top")}if(!this.store.topPanel){this.store.topPanel=window.document.querySelector(".landing-ui-panel-top")}if(this.store.topPanel){n(this.store.topPanel);this.store.topPanel=null}else{e("Top panel unavailable");console.warn("Top panel unavailable")}}.bind(this))},design:function(){return new Promise(function(n,e){n(BX.Landing.UI.Panel.StylePanel.getInstance())}.bind(this))},content:function(){return new Promise(function(n,e){n(BX.Landing.UI.Panel.ContentEdit.getInstance())}.bind(this))},inlineEditor:function(){return new Promise(function(n,e){n(BX.Landing.UI.Panel.EditorPanel.getInstance())}.bind(this))},view:function(){return new Promise(function(n,e){if(!this.store.view&&window.parent){this.store.view=window.parent.document.querySelector(".landing-ui-view")}if(!this.store.view){this.store.view=window.document.querySelector(".landing-ui-view")}if(this.store.view){n(this.store.view);this.store.view=null}else{e("View iframe unavailable");console.warn("View iframe unavailable")}}.bind(this))},blocks:function(){return new Promise(function(n){if(!this.store.blocks&&window.parent){this.store.blocks=window.parent.BX.Landing.Block.storage}if(this.store.blocks){n(this.store.blocks);this.store.blocks=null}else{reject("Blocks unavailable")}}.bind(this))}}})(); //# sourceMappingURL=page_object.map.js