1"use strict";var t,e,n,r,D,H,s,m,P,f,z,V,Y,a,l,o,c,u,d,O,v,W,h,g,p,y,j,i,F,Z,G,_,L,w,E,C,J,K,Q,U,X,ee,S,te,ne,re=document.querySelector(".header"),x=$(".intro"),T=(window.pageYOffset||document.body.scrollTop,$(window).on("scroll load resize",function(){0<(window.pageYOffset||document.body.scrollTop)?re.classList.add("header--scrolled"):re.classList.remove("header--scrolled")}),$(".button-scroll-down").on("click",function(e){e.preventDefault(),$("html, body").animate({scrollTop:x.outerHeight()},1e3)}),$(window).on("scroll load resize",function(){$(this).scrollTop()>x.outerHeight()+600?$(".button-scroll-up").show():$(".button-scroll-up").hide()}),$(".button-scroll-up").on("click",function(){$("html,body").animate({scrollTop:0},1e3)}),$(window).on("load scroll resize",function(){var e=$(".alert-order");e&&!$("body").hasClass("auth_mode")&&($(this).scrollTop()>x.outerHeight()?e.addClass("alert-order--show"):e.removeClass("alert-order--show"))}),document.querySelectorAll(".btn-discount"));if(T.length)for(var b=0;b<T.length;b++)T[b].addEventListener("click",k);function k(){var t=this;t.classList.add("state-1"),t.disabled=!0;for(var e=0;e<T.length;e++)T[e]!==this&&(T[e].removeEventListener("click",k),T[e].style.visibility="hidden");setTimeout(function(){var e;(e=t).classList.add("state-2"),e.classList.remove("state-1"),e.removeEventListener("click",k)},2e3)}function I(e){e&&0===e.indexOf("#")&&(e=$(e)).length&&0<(e=e.offset().top)&&(e-=100,$("body, html").animate({scrollTop:e},1e3))}function se(){switch(e.value){case"slow":s=100;break;case"average":s=130;break;case"fast":s=160}oe(),ie()}function oe(){var e=Number(t.value);if(isNaN(e))return!(n.textContent="Please enter a valid number.");n.textContent=ae(e)+" minutes"}function ie(){var e=function(){var e=r.value.replace(/\s+/g," ").trim(),t=e.split(" ").length;""===e&&(t=0);return D.textContent="Numbers of words: "+t,t}();H.textContent="Time: "+ae(e)+" minutes"}function ae(e){e=((e=e)*(60/s)/60).toFixed(1);return e="0"===e.slice(-1)?e.slice(0,-2):e}function le(){var e,t,n;a?(e=B(c).value,t=B(u).value+"px",n=B(d).value,l.style.cssText="font-family: "+e+"!important;"+("font-size: "+t+"!important;")+("line-height: "+n+"!important;")):l.style.cssText=""}function B(e){for(var t in e)if(e[t].checked)return e[t]}function q(){var e=l.value,t=function(){switch(B(c).value){case"'Times New Roman', Times, serif":return'"Times New Roman", Times, serif';case"'Comic Sans', 'Comic Sans MS', cursive":return'"Comic Sans", "Comic Sans MS", cursive';default:return B(c).value}}(),n=B(u).value,r=B(d).value,s=a?e.split(/\s/g).filter(function(e){return e.match(/.*\w.*/)}).length:parseInt(v.value)||0,o=e.replace(/[^a-zA-Z0-9-]/g,"").length,i=Math.ceil(o/5.1),i=(a&&(v.value=s),W.innerHTML="<strong>"+i+" words</strong>, if calculated based on average length of a word in English.",s/Y[n][t][r]),s=Math.ceil(i);h.textContent=s,g.textContent=Math.ceil(10*i)/10,p.textContent=e.length,y.textContent=o,n=i,n=Math.min(n,1e6),t=Math.ceil(n),r=Math.floor(t/55),s=t%55,t=Math.round(100*(1-(t-n))),j.innerHTML=(0<r?"<div class='even-sheets-container' style='width: 550px; height: "+28*r+"px;'></div>":"")+(0<s?"<div class='last-sheets-line-container' style='width: "+10*s+"px; height: 28px;'>"+("<i class='lines-hide'><i class='bar' style='height: "+(100-t)+"%'></i></i>")+"</div>":"")}function ce(e){var t=e.split(/\s/g).filter(function(e){return e.match(/.*\w.*/)}).length,n=e.replace(/[^a-zA-Z0-9-]/g,"").length;return{text:e,wordsCount:t,charactersWithoutPuctuation:n}}function ue(e){a!==e&&(a=e,le(),a||(l.value=""),q())}function de(e){e?i.forEach(function(e){e.classList.add("calculators__more-info--show")}):i.forEach(function(e){e.classList.remove("calculators__more-info--show"),e.classList.add("calculators__more-info--hide")})}function me(e){var t,n,r,s={};if(e=null==e?null:e)for(n=0,r=e.length;n<r;n++)t=e[n],s[t]=!0,0;return s}function fe(e){var t,n;return e.preventDefault(),{summaryRatio:100-((n=function(e,t,n){for(var r,s=z(t),o=[],i=0,a=s.length;i<a;i++)r=s[i],(r=V(r,n).trim())&&o.push(r);return o.length<1&&(o.push(e.trim()),o.push("")),o.join("\n")}(e=E.value,t=_.value,function(e){for(var t,n,r,s,o,i,a,l=m(e),c=l.length,u=function(){var e,t=[];for(e=0;0<=c?e<=c:c<=e;0<=c?++e:--e)t.push(function(){var e,t=[];for(e=0;0<=c?e<=c:c<=e;0<=c?++e:--e)t.push(0);return t}());return t}(),d=s=0;0<=c?s<=c:c<=s;d=0<=c?++s:--s)for(t=o=0;0<=c?o<=c:c<=o;t=0<=c?++o:--o)u[d][t]=P(l[d],l[t]);for(r={},d=i=0;0<=c?i<=c:c<=i;d=0<=c?++i:--i){for(t=a=n=0;0<=c?a<=c:c<=a;t=0<=c?++a:--a)d!==t&&(n+=u[d][t]);r[f(l[d])]=n}return r}(t))).length/(e.length+t.length)*100).toFixed(1),summaryLength:n.length-1,originalLength:e.length+t.length,summary:n}}$(document).ready(function(){window.location.hash&&I(window.location.hash),$('a[href^="#"]').on("click",function(e){e.preventDefault(),I(this.hash)}),$("tr[data-target]").on("click",function(e){e.preventDefault(),I($(this).data("target"))})}),"function"==typeof $.fn.slick&&$(".testimonials__slider").slick({centerMode:!0,speed:600,centerPadding:"500px",slidesToShow:1,arrows:!0,dots:!0,adaptiveHeight:!0,responsive:[{breakpoint:1600,settings:{centerPadding:"400px"}}
1,{breakpoint:1500,settings:{centerPadding:"300px"}},{breakpoint:1200,settings:{centerPadding:"200px"}},{breakpoint:992,settings:{centerPadding:"100px"}},{breakpoint:768,settings:{centerPadding:"30px"}}]}),(o=document.querySelector(".wtm-calc"))&&(t=o.querySelector(".wtm-calc__num-words"),e=o.querySelector(".wtm-calc__rate"),n=o.querySelector(".wtm-calc__result-converter"),r=o.querySelector(".wtm-calc__textarea"),D=o.querySelector(".wtm-calc__wordcount"),H=o.querySelector(".wtm-calc__result-speech"),s=0,se(),e.addEventListener("change",se),t.addEventListener("input",oe),r.addEventListener("input",ie)),m=function(e){for(var t=(e=e.split("\n").join(". ")).split(". "),n=0;n<t.length;n++)""!==t[n]&&"."!==t[n].slice(-1)&&(t[n]=t[n]+".");return t},P=function(e,t){if(!e||!t)return 0;if(void 0===e||void 0===t)return 0;var n,r,s=[];for(r in n=me(e.split(" ")))s.push(n[r]);var o,i,a=[];for(i in o=me(t.split(" ")))a.push(o[i]);return s.length+a.length===0?0:function(e,t){var n,r,s,n=0,r=0,s=new Array;while(n<e.length&&r<t.length)if(e[n]<t[r])n++;else if(e[n]>t[r])r++;else if(e[n]==t[r]){s.push(e[n]);n++;r++}return s}(s,a).length/((s.length+a.length)/2)},f=function(e){return void 0===e?"":e.replace(/\W+/g,"")},z=function(e){return e.split("\n")},V=function(e,t){var n,r,s,o,i,a,l,c=m(e);if(c.length<2)return"";for(r=n="",a=s=0,l=c.length;a<l;a++)o=c[a],(i=f(o))&&t[i]>s&&(s=t[i],r=n,n=o);return r?r+" "+n:n},Y={9:{"Arial, sans-serif":{1:1167,1.5:787,2:634},"Calibri, sans-serif":{1:1134,1.5:782,2:629},'"Comic Sans", "Comic Sans MS", cursive':{1:867,1.5:627,2:460},"Courier, monospace":{1:861,1.5:600,2:434},"Verdana, sans-serif":{1:917,1.5:671,2:490},'"Times New Roman", Times, serif':{1:1098,1.5:876,2:621}},10:{"Arial, sans-serif":{1:836,1.5:593,2:494},"Calibri, sans-serif":{1:840,1.5:620,2:523},'"Comic Sans", "Comic Sans MS", cursive':{1:624,1.5:480,2:353},"Courier, monospace":{1:631,1.5:479,2:343},"Verdana, sans-serif":{1:719,1.5:520,2:384},'"Times New Roman", Times, serif':{1:931,1.5:654,2:492}},11:{"Arial, sans-serif":{1:697,1.5:489,2:383},"Calibri, sans-serif":{1:704,1.5:501,2:390},'"Comic Sans", "Comic Sans MS", cursive':{1:538,1.5:371,2:276},"Courier, monospace":{1:562,1.5:378,2:284},"Verdana, sans-serif":{1:623,1.5:414,2:305},'"Times New Roman", Times, serif':{1:845,1.5:583,2:415}},12:{"Arial, sans-serif":{1:624,1.5:444,2:322},"Calibri, sans-serif":{1:631,1.5:460,2:307},'"Comic Sans", "Comic Sans MS", cursive':{1:442,1.5:316,2:232},"Courier, monospace":{1:448,1.5:310,2:237},"Verdana, sans-serif":{1:505,1.5:341,2:254},'"Times New Roman", Times, serif':{1:673,1.5:430,2:340}},13:{"Arial, sans-serif":{1:552,1.5:363,2:289},"Calibri, sans-serif":{1:576,1.5:385,2:295},'"Comic Sans", "Comic Sans MS", cursive':{1:435,1.5:283,2:218},"Courier, monospace":{1:422,1.5:271,2:208},"Verdana, sans-serif":{1:444,1.5:288,2:212},'"Times New Roman", Times, serif':{1:619,1.5:412,2:293}},14:{"Arial, sans-serif":{1:486,1.5:319,2:236},"Calibri, sans-serif":{1:488,1.5:325,2:242},'"Comic Sans", "Comic Sans MS", cursive':{1:354,1.5:232,2:173},"Courier, monospace":{1:358,1.5:238,2:191},"Verdana, sans-serif":{1:390,1.5:262,2:206},'"Times New Roman", Times, serif':{1:550,1.5:349,2:275}}},a=null,l=document.getElementById("ui-textarea"),o=document.querySelectorAll(".ui-radio"),c=document.querySelectorAll("input[name=font-family]"),u=document.querySelectorAll("input[name=font-size]"),d=document.querySelectorAll("input[name=spacing]"),O=document.getElementById("text-clear-button"),v=document.getElementById("wordsNumber"),W=document.getElementById("words-calculation-tip"),h=document.getElementById("sheets"),g=document.getElementById("pages"),p=document.getElementById("characters"),y=document.getElementById("without-punctuation"),j=document.getElementById("dr_pages"),i=document.querySelectorAll(".calculators__more-info"),F=document.getElementById("words-to-pages-converter"),Z=document.getElementById("word-counter"),G=document.getElementById("conclusionGenerator"),_=document.getElementById("conclusionTextArea"),L=document.getElementById("conclusionSamarize"),w=document.getElementById("conclusionErrorMsg"),E=document.getElementById("conclusionTitle"),C=document.getElementById("conclusionSummary"),J=document.getElementById("summaryRatio"),K=document.getElementById("originalLength"),Q=document.getElementById("summaryLength"),U=document.getElementById("summaryText"),X=document.getElementById("conclusionReset"),ee=document.getElementById("topic-generator"),S=document.getElementById("topic-list-info"),te=document.getElementById("topicCategory"),ne=document.getElementById("topicSearch"),ee&&(te.addEventListener("change",function(){S.style.display="block"}),ne.addEventListener("click",function(){S.style.display="block"})),G&&(L.addEventListener("click",function(e){e.preventDefault(),200<=ce(_.value).wordsCount?(_.classList.remove("calculators__counter--error"),w.classList.remove("calculators__error-msg--show"),0<E.value.length?(e=fe(e),E.classList.remove("calculators__counter--error"),w.classList.remove("calculators__error-msg--show"),C.classList.add("calculators__summary--show"),L.style.display="none",J.textContent=e.summaryRatio+"%",K.textContent=e.originalLength,Q.textContent=e.summaryLength,U.textContent=e.summary):(E.classList.add("calculators__counter--error"),w.classList.add("calculators__error-msg--show"),w.textContent="Title is required. You must provide a title that is between 1 and 100 characters.")):(_.classList.add("calculators__counter--error"),w.classList.add("calculators__error-msg--show"),w.textContent="Text is too short. You must provide at least 200 words of content.")}),X.addEventListener("click",function(e){e.preventDefault(),_.value="",E.value="",C.classList.remove("calculators__summary--show"),L.style.display="block"})),Z&&l.addEventListener("input",function(){var e=ce(l.value);p.textContent=e.text.length,y.textContent=e.charactersWithoutPuctuation,v.textContent=e.w
1ordsCount}),F&&(o.forEach(function(e){e.addEventListener("change",function(){q(),le()})}),l.addEventListener("focus",function(e){e.preventDefault(),ue(!0),l.classList.add("calculators__counter--full"),de(!0)}),v.addEventListener("focus",function(e){e.preventDefault(),ue(!1),l.classList.remove("calculators__counter--full"),de(!1)}),l.addEventListener("input",q),l.addEventListener("change",q),v.addEventListener("input",function(e){e.preventDefault(),null===v.value.match(/\d+/)&&(v.value=parseInt(v.value||0)),q()}),v.addEventListener("change",q),O.addEventListener("click",function(e){e.preventDefault(),ue(!1),l.classList.remove("calculators__counter--full"),v.value=0,h.textContent=0,g.textContent=0,de(!1)}));for(var ve=document.querySelectorAll(".accordions__item"),he=0;he<ve.length;he++)ve[he].addEventListener("click",function(){ve.forEach(function(e){e.classList.remove("accordions__item--active")}),this.classList.toggle("accordions__item--active")});var ge=document.body,M=ge.querySelector(".overlay");if(M){var pe,A=M.querySelector(".dialog-file"),ye=A.querySelector(".dialog-file__close"),_e=document.querySelectorAll(".example__content"),Le=A.querySelector(".dialog-file__title"),we=A.querySelector(".dialog-file__file"),N=A.querySelectorAll(".dialog-file__btn-version");ye.addEventListener("click",function(){R()}),M.addEventListener("click",function(e){e.target===M&&R()}),document.addEventListener("keydown",function(e){27===e.keyCode&&R()});for(var Ee=0;Ee<_e.length;Ee++)_e[Ee].addEventListener("click",function(e){if(e.target.classList.contains("example__button")){var t=e.currentTarget.querySelector(".example__title").innerHTML,n=(Le.innerHTML=t,e.currentTarget.dataset.id),r=e.target.dataset.version||"current";if(e.target.dataset.version)for(var s=0;s<N.length;s++)N[s].style.display="",r===N[s].dataset.version?N[s].classList.add("active"):N[s].classList.remove("active"),N[s].addEventListener("click",function(e){if(r!==e.currentTarget.dataset.version){R(!0),i(r=e.target.dataset.version);for(var t=0;t<N.length;t++)r===N[t].dataset.version?N[t].classList.add("active"):N[t].classList.remove("active");setTimeout(function(){Ce()},300)}});else for(var o=0;o<N.length;o++)N[o].style.display="none";function i(e){e&&(r=e),we.innerHTML='<iframe class="dialog-file__iframe" src="t/sec_less/other/pdf/'+n+"/"+r+'.pdf" height="400" width="500" title="'+t+'"></iframe>'}i(),Ce()}})}function Ce(){pe=document.activeElement,ge.classList.add("has-dialog"),M.style.display="block",setTimeout(function(){M.classList.add("active"),A.classList.add("active"),A.setAttribute("aria-expanded","true")},100),ye.focus()}function R(e){A.setAttribute("aria-expanded","false"),A.classList.remove("active"),e||M.classList.remove("active"),e||setTimeout(function(){ge.classList.remove("has-dialog"),M.style.display="none"},300),pe&&pe.focus()}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.