%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 18.219.54.31
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/modules/sale/handlers/paysystem/yandexcheckout/template/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/sale/handlers/paysystem/yandexcheckout/template/script.min.js
(function(){"use strict";if(!BX.Sale)BX.Sale={};if(BX.Sale.Yandexcheckout)return;BX.Sale.Yandexcheckout={init:function(t){this.formNode=BX(t.formId);this.paysystemBlockNode=BX(t.paysystemBlockId);this.ajaxUrl=t.ajaxUrl;this.paymentId=t.paymentId;this.paySystemId=t.paySystemId;this.isAllowedSubmitting=true;this.returnUrl=t.returnUrl;this.bindEvents()},bindEvents:function(){BX.bind(this.formNode,"submit",BX.proxy(this.sendRequest,this))},sendRequest:function(t){t.preventDefault();if(!this.isAllowedSubmitting){return}var e,i=this.getAllFormData(),n=this.formNode.querySelector('input[type="submit"]'),s;if(n){n.disabled=true}this.isAllowedSubmitting=false;e={sessid:BX.bitrix_sessid(),PAYMENT_ID:this.paymentId,PAYSYSTEM_ID:this.paySystemId,RETURN_URL:this.returnUrl};for(s in i){if(i.hasOwnProperty(s)){e[s]=i[s]}}BX.ajax({method:"POST",dataType:"json",url:this.ajaxUrl,data:e,onsuccess:BX.proxy(function(t){if(t.status==="success"){this.isAllowedSubmitting=true;this.updateTemplateHtml(t.template)}else if(t.status==="error"){this.isAllowedSubmitting=true;this.showErrorTemplate(t.buyerErrors);BX.onCustomEvent("onPaySystemAjaxError",[t.buyerErrors])}},this)})},getAllFormData:function(){var t=BX.ajax.prepareForm(this.formNode),e;for(e in t.data){if(t.data.hasOwnProperty(e)&&e===""){delete t.data[e]}}return!!t&&t.data?t.data:{}},updateTemplateHtml:function(t){BX.html(this.paysystemBlockNode,t)},showErrorTemplate:function(t){var e=[BX.message("SALE_HANDLERS_PAY_SYSTEM_YANDEX_CHECKOUT_ERROR_MESSAGE_HEADER")];if(t){for(var i in t){if(t.hasOwnProperty(i)){e.push(t[i])}}}e.push(BX.message("SALE_HANDLERS_PAY_SYSTEM_YANDEX_CHECKOUT_ERROR_MESSAGE_FOOTER"));var n=BX.create("div",{props:{className:"alert alert-danger"},html:e.join("<br />")});this.paysystemBlockNode.innerHTML="";this.paysystemBlockNode.appendChild(n)},PaymentPhoneForm:function(t){this.init=function(t){this.phoneFormatDataUrl=t.phoneFormatDataUrl||null;this.phoneCountryCode=t.phoneCountryCode||null;this.form=BX(t.form);if(this.form){this.initPhoneControls()}};this.initPhoneControls=function(){var t=BX.convert.nodeListToArray(this.form.querySelectorAll(".js-paysystem-yandex-input-phone"));t.forEach(function(t){this.initPhoneControl(t,false)},this)};this.initPhoneControl=function(t){if(!t){return}var e=t.nextElementSibling;new BXMaskedPhone({url:this.phoneFormatDataUrl,country:this.phoneCountryCode,maskedInput:{input:t,dataInput:e}});this.initDisplayedToDataControlEvents(t,e)};this.initDisplayedToDataControlEvents=function(t,e){BX.bind(t,"blur",function(){BX.fireEvent(e,"blur")});BX.bind(t,"focus",function(){BX.fireEvent(e,"focus")})};this.init(t)}}})();
//# sourceMappingURL=script.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit