function t_forms__onReady(func){"loading"!==document.readyState?func():document.addEventListener("DOMContentLoaded",func)}window.t_forms__lang=(window.navigator.userLanguage||window.navigator.language).toUpperCase().slice(0,2),window.scriptSysPayment={},window.handlerSysPayment={},window.isInitEventsZB={},window.isInitEventsCustomMask={},window.initForms={},window.tildaForm={versionLib:"02.001",endpoint:"test.vivalogistics.ru/main/zayav",isRecaptchaScriptInit:!1,currentFormProccessing:!1},t_forms__onReady(function(){var isST105=document.getElementById("allrecords");!isST105||(lang=isST105.getAttribute("data-tilda-project-lang"))&&(window.t_forms__lang=lang),t_forms__initForms();var isST100=!!document.querySelector(".t706"),isST105=!!document.querySelector(".js-payment-systembox"),lang=!!document.querySelector("input[name=tld_product]");(isST100||isST105||lang)&&(fileName="tilda-forms-payments-1.0",document.head.querySelector('script[src*="'+fileName+'"]')||((script=document.createElement("script")).type="text/javascript",script.src="https://static.tildacdn.com/js/"+fileName+".min.js",script.onerror=function(){console.error("Failed to load tilda-forms-payments: ",this.src)},document.head.appendChild(script)));var fileName,script,lang=window.t_forms__lang;"RU"!==lang&&"EN"!==lang&&(fileName="tilda-forms-dict-1.0",document.head.querySelector('script[src*="'+fileName+'"]')||((script=document.createElement("script")).type="text/javascript",script.src="https://static.tildacdn.com/js/"+fileName+".min.js",script.onerror=function(){console.error("Failed to load tilda-forms-dictionary: ",this.src)},document.head.appendChild(script)))}),window.tildaForm.captchaCallback=function(){if(!window.tildaForm.currentFormProccessing||!window.tildaForm.currentFormProccessing.form)return!1;window.tildaForm.send(window.tildaForm.currentFormProccessing.form,window.tildaForm.currentFormProccessing.btn,window.tildaForm.currentFormProccessing.formtype,window.tildaForm.currentFormProccessing.formskey),window.tildaForm.currentFormProccessing=!1},window.tildaForm_customMasksLoad=function(){var script;!0!==window.isInitEventsCustomMask&&((script=document.createElement("script")).type="text/javascript",script.src="https://static.tildacdn.com/js/tilda-forms-custommask-1.0.min.js",document.head.appendChild(script),window.isInitEventsCustomMask=!0)},window.tildaForm_initMasks=function(){var inputsCustomMask=document.querySelectorAll(".js-tilda-mask");if(inputsCustomMask.length&&!0!==window.isInitEventsCustomMask)return window.tildaForm_customMasksLoad(),void window.setTimeout(function(){window.tildaForm_initMasks()},100);!0===window.isInitEventsCustomMask&&Array.prototype.forEach.call(inputsCustomMask,function(input){t_asyncLoad(input)})},t_forms__onReady(function(){window.tildaForm_initMasks()}),window.tildaForm.validate=function(form){form instanceof Element||(form=form[0]);for(var isMinOrderSetted,isMinQuantitySetted,inputs=form.querySelectorAll(".js-tilda-rule"),arrError=[],isEmptyValue=!0,i=0;imaxLength&&objError.type.push("maxlength")}objError.type&&objError.type.length&&(arrError[arrError.length]=objError)}return"y"===dataFormCart&&(isMinOrderSetted=void 0!==window.tcart_minorder&&0