403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/landing/env/dist/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/landing/env/dist/env.bundle.js
/* eslint-disable */
this.BX = this.BX || {};
(function (exports,main_core) {
	'use strict';

	var defaultOptions = {
	  params: {
	    type: 'EXTERNAL'
	  }
	};

	function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
	function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { babelHelpers.defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
	var optionsKey = Symbol('options');

	/**
	 * @memberOf BX.Landing
	 */
	var Env = /*#__PURE__*/function () {
	  babelHelpers.createClass(Env, null, [{
	    key: "getInstance",
	    value: function getInstance() {
	      return Env.instance || Env.createInstance();
	    }
	  }, {
	    key: "createInstance",
	    value: function createInstance() {
	      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
	      Env.instance = new Env(options);
	      var parentEnv = main_core.Reflection.getClass('parent.BX.Landing.Env');
	      if (parentEnv) {
	        parentEnv.instance = Env.instance;
	      }
	      return Env.instance;
	    }
	  }]);
	  function Env() {
	    var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
	    babelHelpers.classCallCheck(this, Env);
	    this[optionsKey] = Object.seal(main_core.Runtime.merge(defaultOptions, options));
	  }
	  babelHelpers.createClass(Env, [{
	    key: "getOptions",
	    value: function getOptions() {
	      return _objectSpread({}, this[optionsKey]);
	    }
	  }, {
	    key: "setOptions",
	    value: function setOptions(options) {
	      this[optionsKey] = main_core.Runtime.merge(this[optionsKey], options);
	    }
	  }, {
	    key: "getType",
	    value: function getType() {
	      return this.getOptions().params.type;
	    }
	  }, {
	    key: "setType",
	    value: function setType(type) {
	      this.getOptions().params.type = type;
	    }
	  }, {
	    key: "getSpecialType",
	    value: function getSpecialType() {
	      return this.getOptions().specialType;
	    }
	  }, {
	    key: "getSiteId",
	    value: function getSiteId() {
	      return this.getOptions().site_id || -1;
	    }
	  }, {
	    key: "getLandingEditorUrl",
	    value: function getLandingEditorUrl() {
	      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
	      var envOptions = this.getOptions();
	      var urlMask = envOptions.params.sef_url.landing_view;
	      var siteId = options.site ? options.site : envOptions.site_id;
	      return urlMask.replace('#site_show#', siteId).replace('#landing_edit#', options.landing);
	    }
	  }]);
	  return Env;
	}();
	babelHelpers.defineProperty(Env, "instance", null);

	exports.Env = Env;

}((this.BX.Landing = this.BX.Landing || {}),BX));
//# sourceMappingURL=env.bundle.js.map

Youez - 2016 - github.com/yon3zu
LinuXploit