AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 18.191.101.206
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/bitrix/www/bitrix/js/sale/checkout/lib/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/bitrix/www/bitrix/js/sale/checkout/lib/dist/registry.bundle.min.js
this.BX=this.BX||{};this.BX.Sale=this.BX.Sale||{};this.BX.Sale.Checkout=this.BX.Sale.Checkout||{};(function(e,t,n){"use strict";var a=function(){function e(){babelHelpers.classCallCheck(this,e)}babelHelpers.createClass(e,null,[{key:"getCurrentUrl",value:function e(){return window.location.protocol+"//"+window.location.hostname+(window.location.port!=""?":"+window.location.port:"")+window.location.pathname+window.location.search}},{key:"addLinkParam",value:function e(n,a,i){if(!n.length){return"?"+a+"="+i}n=t.Uri.removeParam(n,a);if(n.indexOf("?")!=-1){return n+"&"+a+"="+i}return n+"?"+a+"="+i}}]);return e}();var i=function(){function e(){babelHelpers.classCallCheck(this,e);this.pool={}}babelHelpers.createClass(e,[{key:"add",value:function e(t,n,a){if(!this.pool.hasOwnProperty(n)){this.pool[n]=[]}this.pool[n].push(babelHelpers.defineProperty({},t,{fields:a}))}},{key:"get",value:function e(){return this.pool}},{key:"clean",value:function e(){this.pool={}}},{key:"isEmpty",value:function e(){return Object.keys(this.pool).length===0}}]);return e}();var l=function(){function e(){babelHelpers.classCallCheck(this,e);this.list=[]}babelHelpers.createClass(e,[{key:"add",value:function e(t){if(!t.hasOwnProperty("index")){return false}this.list[t.index]={id:t.id}}},{key:"get",value:function e(t){if(!this.list[t]||this.list[t].length<=0){return{}}return this.list[t]}},{key:"delete",value:function e(t){this.list.splice(t.index,1)}},{key:"clean",value:function e(t){var n=this.get(t.index);clearTimeout(n.id);this["delete"]({index:t.index})}},{key:"create",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"default";var a=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;this.clean({index:n});n=n==null?"default":n;a=typeof a==="function"?a:function(){};var i=setTimeout(a,t);var l={id:i,index:n};this.add(l)}},{key:"isEmpty",value:function e(){return this.list.length===0}}]);return e}();var r=function(){function e(){babelHelpers.classCallCheck(this,e)}babelHelpers.createClass(e,null,[{key:"toFixed",value:function e(t,n){var a=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;var i=Math.pow(10,6);var l=(t/n-(t/n).toFixed(0)).toFixed(5),r;if(parseFloat(l)===0){return t}if(n!==0&&n!==1){r=t*i%(n*i)/i;if(n>0&&r>0){if(r>=n/2&&(a===0||t+n-r<=a)){t+=(n*i-r*i)/i}else{t=(t*i-r*i)/i}}}return t}},{key:"isValueFloat",value:function e(t){return parseInt(t)!==parseFloat(t)}},{key:"roundValue",value:function t(n){if(e.isValueFloat(n)){return e.roundFloatValue(n)}else{return parseInt(n,10)}}},{key:"roundFloatValue",value:function e(t){var n=6;var a=Math.pow(10,n);return Math.round(parseFloat(t)*a)/a}}]);return e}();var u=function(){function e(){babelHelpers.classCallCheck(this,e)}babelHelpers.createClass(e,null,[{key:"isService",value:function e(t){return t.product.type===n.Product.type.service}},{key:"isLimitedQuantity",value:function e(t){return t.product.checkMaxQuantity==="Y"}}]);return e}();var o=function(){function e(t){babelHelpers.classCallCheck(this,e);this.location=t.location;this.params=t.params}babelHelpers.createClass(e,[{key:"build",value:function e(){var t=this.location;var n=this.params;try{for(var i in n){if(!n.hasOwnProperty(i)){continue}t=a.addLinkParam(t,i,n[i])}}catch(e){}return t}}],[{key:"pushState",value:function t(n,a){var i=new e({location:n,params:a}).build();window.history.pushState(null,null,i);return i}}]);return e}();e.Url=a;e.Pool=i;e.Timer=l;e.Basket=r;e.Product=u;e.History=o})(this.BX.Sale.Checkout.Lib=this.BX.Sale.Checkout.Lib||{},BX,BX.Sale.Checkout.Const);
//# sourceMappingURL=registry.bundle.map.js

Anon7 - 2022
AnonSec Team