Skip to Content

JavaScript File

URL: https://static.tildacdn.com/js/tilda-forms-1.0.min.js
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Mon, 23 Jan 2023 16:18:08 GMT
Download Time: Less than a second
Cookies: None
Size: 51 KB
HTTP Headers:  9 headers
Links In:  1 pages
OK Issues: No issues found

1function t_forms__onReady(t){"loading"!==document.readyState?t():document.addEventListener("DOMContentLoaded",t)}

2window.t_forms__lang=(window.navigator.userLanguage||window.navigator.language).toUpperCase().slice(0,2),window.scriptSysPayment={}

3,window.handlerSysPayment={}

4,window.isInitEventsZB={}

5,window.isInitEventsCustomMask={}

6,window.initForms={}

7,window.tildaForm={versionLib:"02.001",endpoint:"forms.tildacdn.com",isRecaptchaScriptInit:!1,currentFormProccessing:!1}

8,t_forms__onReady((function(){var t=document.getElementById("allrecords");if(t){var e=t.getAttribute("data-tilda-project-lang");e&&(window.t_forms__lang=e)}

9t_forms__initForms();var r=!!document.querySelector(".t706"),o=!!document.querySelector(".js-payment-systembox"),a=!!document.querySelector("input[name=tld_product]");if(r||o||a){var n="tilda-forms-payments-1.0",i;if(!document.head.querySelector('script[src*="'+n+'"]'))(i=document.createElement("script")).type="text/javascript",i.src="https://static.tildacdn.com/js/"+n+".min.js",i.onerror=function(){console.error("Failed to load tilda-forms-payments: ",this.src)}

10,document.head.appendChild(i)}

11var s=window.t_forms__lang;if("RU"!==s&&"EN"!==s){var n="tilda-forms-dict-1.0",i;if(!document.head.querySelector('script[src*="'+n+'"]'))(i=document.createElement("script")).type="text/javascript",i.src="https://static.tildacdn.com/js/"+n+".min.js",i.onerror=function(){console.error("Failed to load tilda-forms-dictionary: ",this.src)}

12,document.head.appendChild(i)}

13}

14)),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}

15,window.tildaForm_customMasksLoad=function(){if(!0!==window.isInitEventsCustomMask){var t=document.createElement("script");t.type="text/javascript",t.src="https://static.tildacdn.com/js/tilda-forms-custommask-1.0.min.js",document.head.appendChild(t),window.isInitEventsCustomMask=!0}

16}

17,window.tildaForm_initMasks=function(){var t=document.querySelectorAll(".js-tilda-mask");if(t.length&&!0!==window.isInitEventsCustomMask)return window.tildaForm_customMasksLoad(),void window.setTimeout((function(){window.tildaForm_initMasks()}

18),100);!0===window.isInitEventsCustomMask&&Array.prototype.forEach.call(t,(function(t){t_asyncLoad(t)}

19))}

20,t_forms__onReady((function(){window.tildaForm_initMasks()}

21)),window.tildaForm.validate=function(t){t instanceof Element||(t=t[0]);for(var e=t.querySelectorAll(".js-tilda-rule"),r=[],o=!0,a=0;a<e.length;a++){var n=e[a],i=!!parseInt(n.getAttribute("data-tilda-req")||0,10),s=n.getAttribute("data-tilda-rule")||"none",l="",d="",c=n.getAttribute("data-tilda-rule-minlength")||0,u=n.getAttribute("data-tilda-rule-maxlength")||0,m={}

22,p=n.value,f="",_=n.getAttribute("type"),y=n.getAttribute("name"),w=t.getAttribute("data-formcart");m.obj=n,m.type=[],p&&p.length&&(f=p.replace(/[\s\u0000—\u001F\u2000-\u200F\uFEFF\u2028-\u202F\u205F-\u206F]/gi,""),p=p.trim()),p.length>0&&(o=!1),c&&(c=parseInt(c,10)),u&&(u=parseInt(u,10));var h=!p.length&&!f.length,g="checkbox"===_||"radio"===_,v=!t.querySelectorAll('[name="'+y+'"]:checked').length;if(i&&(h||g&&v))m.type.push("req");else{switch(s){case"email":l=/^(?!\.)(?!.*\.\.)[a-zA-Zёа-яЁА-Я0-9\u2E80-\u2FD5\u3190-\u319f\u3400-\u4DBF\u4E00-\u9FCC\uF900-\uFAAD_\.\-\+]{0,63}

23[a-zA-Zёа-яЁА-Я0-9\u2E80-\u2FD5\u3190-\u319f\u3400-\u4DBF\u4E00-\u9FCC\uF900-\uFAAD_\-\+]@[a-zA-Zёа-яЁА-ЯЁёäöüÄÖÜßèéû0-9][a-zA-Zёа-яЁА-ЯЁёäöüÄÖÜßèéû0-9\.\-]{0,253}

24\.[a-zA-Zёа-яЁА-Я]{2,10}

25$/gi,p.length&&!p.match(l)&&m.type.push("email");break;case"url":l=/^((https?|ftp):\/\/)?[a-zA-Zёа-яЁА-ЯЁёäöüÄÖÜßèéûşç0-9][a-zA-Zёа-яЁА-ЯЁёäöüÄÖÜßèéûşç0-9_\.\-]{0,253}

26\.[a-zA-Zёа-яЁА-Я]{2,10}

27\/?$/gi,p.length&&((d=(d=(d=p.split("//"))&&d.length>1?d[1]:d[0]).split("/"))&&d.length&&d[0]?(d=d[0]).match(l)||m.type.push("url"):(d&&!d[0]||m.type.push("url"),d=""));break;case"phone":var b=n.getAttribute("data-tilda-mask"),E="^[0-9()+-";b&&(-1!==b.indexOf("*")?E+="a-zёа-я":(-1!==b.indexOf("a")&&(E+="a-z"),-1!==b.indexOf("а")&&(E+="а-яё"))),E+="]+$",l=new RegExp(E,"gi"),f.length&&!f.match(l)?m.type.push("phone"):(1==(d=f.replace(/[^0-9]+/g,"")).indexOf("000")||1==d.indexOf("111")&&"9"!=d.substring(0,1)||1==d.indexOf("222")&&"5"!=d.substring(0,1)||1==d.indexOf("333")||1==d.indexOf("444")||1==d.indexOf("555")&&"0"!=d.substring(0,1)||1==d.indexOf("666")&&"0"!=d.substring(0,1)||1==d.indexOf("8888")&&"4"!=d.substring(0,1))&&m.type.push("phone");break;case"number":l=/^[0-9]+$/gi,f.length>0&&!f.match(l)&&m.type.push("number");break;case"date":var A={"DD-MM-YYYY":/^(0[1-9]|1[0-9]|2[0-9]|3[01])[\-\.\/](0[1-9]|1[012])[\-\.\/][0-9]{4}

28$/,"MM-DD-YYYY":/^(0[1-9]|1[012])[\-\.\/](0[1-9]|1[0-9]|2[0-9]|3[01])[\-\.\/][0-9]{4}

29$/,"YYYY-MM-DD":/^[0-9]{4}

30[\-\.\/](0[1-9]|1[012])[\-\.\/](0[1-9]|1[0-9]|2[0-9]|3[01])$/}

31;f.length>0&&!f.match(A[n.getAttribute("data-tilda-dateformat")]||/^[0-9]{1,4}

32[\-\.\/][0-9]{1,2}

33[\-\.\/][0-9]{1,4}

34$/gi)&&m.type.push("date");break;case"time":l=/^[0-9]{2}

35[:\.][0-9]{2}

36$/gi,f.length>0&&!f.match(l)&&m.type.push("time");break;case"name":l=/^([ЁёäöüÄÖÜßèéûҐґЄєІіЇїӐӑЙйК̆к̆Ӄ̆ӄ̆Ԛ̆ԛ̆Г̆г̆Ҕ̆ҕ̆ӖӗѢ̆ѣ̆ӁӂꚄ̆ꚅ̆ҊҋО̆о̆Ө̆ө̆Ꚍ̆ꚍ̆ЎўХ̆х̆Џ̆џ̆Ꚏ̆ꚏ̆Ꚇ̆ꚇ̆Ҽ̆ҽ̆Ш̆ш̆Ꚗ̆ꚗ̆Щ̆щ̆Ы̆ы̆Э̆э̆Ю̆ю̆Я̆я̆А́а́ЃѓД́д́Е́е́Ё́ёӘ́ә́З́з́И́и́І́і́Ї́ї́ЌќЛ́л́Н́н́О́о́Р́р́С́с́Т́т́У́у́Ӱ́ӱ́Ү́ү́Х́х́Ц́ц́Ы́ы́Э́э́Ӭ́ӭ́Ю́ю́Ю̈́ю̈́Я́я́Ѣ́ѣ́ҒғӺӻҒ̌ғ̌Ј̵ј̵ҞҟҜҝԞԟӨөҎҏҰұӾӿҸҹҌҍҢңҚқҒғӘәҺһІіҰұҮүӨөȺⱥꜺꜻƂƃɃƀȻȼꞒꞓƋƌĐđɆɇǤǥꞠꞡĦħƗɨƗ́ɨ́Ɨ̀ɨ̀Ɨ̂ɨ̂Ɨ̌ɨ̌Ɨ̃ɨ̃Ɨ̄ɨ̄Ɨ̈ɨ̈Ɨ̋ɨ̋Ɨ̏ɨ̏Ɨ̧ɨ̧Ɨ̧̀ɨ̧̀Ɨ̧̂ɨ̧̂Ɨ̧̌ɨ̧̌ᵼɈɉɟɟ̟ʄʄ̊ʄ̥K̵k̵ꝀꝁꝂꝃꝄꝅꞢꞣŁłł̓Ł̣ł̣ᴌȽƚⱠⱡꝈꝉƛƛ̓ꞤꞥꝊꝋØøǾǿØ̀ø̀Ø̂øØ̌ø̌Ø̄ø̄Ø̃ø̃Ø̨ø̨Ø᷎ø᷎ᴓⱣᵽꝐꝑꝖꝗꝘꝙɌɍꞦꞧꞨꞩẜẝŦŧȾⱦᵺꝤꝥꝦꝧɄʉɄ́ʉ́Ʉ̀ʉ̀Ʉ̂ʉ̂Ʉ̌ʉ̌Ʉ̄ʉ̄Ʉ̃ʉ̃Ʉ̃́ʉ̃́Ʉ̈ʉ̈ʉ̞ᵾU̸u̸ᵿꝞꝟw̸ɎɏƵƶA-Za-z\u00C0\u00C0-\u00C3\u00C8-\u00CA\u00CC\u00CD\u00D2-\u00D9\u00DA\u00DD\u00E0-\u00E3\u00E8\u00E9\u00EA\u00EC\u00ED\u00F2-\u00F5\u00F9\u00FA\u00FD\u0102\u0103\u0110\u0111\u0128\u0129\u0168\u0169\u01A0\u01A1\u01AF\u01B0\u1EA0\u1EA1-\u1EF9\u0027\u2019\u0300-\u03FF\u0400-\u04FF\u0500-\u05FF\u0600-\u06FF\u3040-\u30FF\u0041-\u007A\u00C0-\u02B8\uFB1D-\uFB1F\uFB2A-\uFB4E\u0E00-\u0E7F\u10A0-\u10FF\u3040-\u309F\u30A0-\u30FF\u2E80-\u2FD5\u3190-\u319f\u3400-\u4DBF\u4E00-\u9FCC\uF900-\uFAAD]{1,}

37)([ЁёäöüÄÖÜßèéûҐґЄєІіЇїӐӑЙйК̆к̆Ӄ̆ӄ̆Ԛ̆ԛ̆Г̆г̆Ҕ̆ҕ̆ӖӗѢ̆ѣ̆ӁӂꚄ̆ꚅ̆ҊҋО̆о̆Ө̆ө̆Ꚍ̆ꚍ̆ЎўХ̆х̆Џ̆џ̆Ꚏ̆ꚏ̆Ꚇ̆ꚇ̆Ҽ̆ҽ̆Ш̆ш̆Ꚗ̆ꚗ̆Щ̆щ̆Ы̆ы̆Э̆э̆Ю̆ю̆Я̆я̆А́а́ЃѓД́д́Е́е́Ё́ёӘ́ә́З́з́И́и́І́і́Ї́ї́ЌќЛ́л́Н́н́О́о́Р́р́С́с́Т́т́У́у́Ӱ́ӱ́Ү́ү́Х́х́Ц́ц́Ы́ы́Э́э́Ӭ́ӭ́Ю́ю́Ю̈́ю̈́Я́я́Ѣ́ѣ́ҒғӺӻҒ̌ғ̌Ј̵ј̵ҞҟҜҝԞԟӨөҎҏҰұӾӿҸҹҌҍҢңҚқҒғӘәҺһІіҰұҮүӨөȺⱥꜺꜻƂƃɃƀȻȼꞒꞓƋƌĐđɆɇǤǥꞠꞡĦħƗɨƗ́ɨ́Ɨ̀ɨ̀Ɨ̂ɨ̂Ɨ̌ɨ̌Ɨ̃ɨ̃Ɨ̄ɨ̄Ɨ̈ɨ̈Ɨ̋ɨ̋Ɨ̏ɨ̏Ɨ̧ɨ̧Ɨ̧̀ɨ̧̀Ɨ̧̂ɨ̧̂Ɨ̧̌ɨ̧̌ᵼɈɉɟɟ̟ʄʄ̊ʄ̥K̵k̵ꝀꝁꝂꝃꝄꝅꞢꞣŁłł̓Ł̣ł̣ᴌȽƚⱠⱡꝈꝉƛƛ̓ꞤꞥꝊꝋØøǾǿØ̀ø̀Ø̂øØ̌ø̌Ø̄ø̄Ø̃ø̃Ø̨ø̨Ø᷎ø᷎ᴓⱣᵽꝐꝑꝖꝗꝘꝙɌɍꞦꞧꞨꞩẜẝŦŧȾⱦᵺꝤꝥꝦꝧɄʉɄ́ʉ́Ʉ̀ʉ̀Ʉ̂ʉ̂Ʉ̌ʉ̌Ʉ̄ʉ̄Ʉ̃ʉ̃Ʉ̃́ʉ̃́Ʉ̈ʉ̈ʉ̞ᵾU̸u̸ᵿꝞꝟw̸ɎɏƵƶA-Za-z\u00C0\u00C0-\u00C3\u00C8-\u00CA\u00CC\u00CD\u00D2-\u00D9\u00DA\u00DD\u00E0-\u00E3\u00E8\u00E9\u00EA\u00EC\u00ED\u00F2-\u00F5\u00F9\u00FA\u00FD\u0102\u0103\u0110\u0111\u0128\u0129\u0168\u0169\u01A0\u01A1\u01AF\u01B0\u1EA0\u1EA1-\u1EF9\u0041-\u007A\u00C0-\u02B8\u0300-\u03FF\u0400-\u04FF\u0500-\u05FF\u0600-\u06FF\u3040-\u30FF\uFB1D-\uFB1F\uFB2A-\uFB4E\u0E00-\u0E7F\u10A0-\u10FF\u3040-\u309F\u30A0-\u30FF\u2E80-\u2FD5\u3190-\u319f\u3400-\u4DBF\u4E00-\u9FCC\uF900-\uFAAD\-\'\‘\s\.]{0,}

38)$/gi,p.length&&!p.match(l)&&m.type.push("name");break;case"nameeng":l=/^([A-Za-z\s]{1,}

39((\-)?[A-Za-z\.\s](\')?){0,}

40)*$/i,p.length&&!p.match(l)&&m.type.push("nameeng");break;case"namerus":l=/^([А-Яа-яЁё\s]{1,}

...

</html>