<commit_before>;(function(h,x,v,q){var n=h(x),l=h("body"),m=v.body.scrollHeight-n.innerHeight(),t=n.innerHeight(),k=n.scrollTop(),u,p;h.fn.scrollPress=function(e){var a={scrollPress:!0,duration:1E3,easing:"easeInOutCubic",btn:{state:!0,outerHTML:"<div class='scroll-btn'><div class='sb-layer' style='z-index:998;'></div></div>\x3c!--/.scroll-btn--\x3e",icon:"<i class='fa fa-angle-up'></i>",container:null,threshold:n.innerHeight()/3,inlineStyle:!0,style:{zIndex:"999",width:"40px",height:"40px",position:"fixed",right:"20px",
bottom:"20px",left:"auto",top:"auto",backgroundColor:"white",borderRadius:"14%",transition:"all 1s ease",animationDelay:""},fadeAnimation:{slide:!0,scale:!0,bounce:!1,rotate:!1},fadeInClass:"",clickAnimation:{bounce:!1,bubble:{state:!0,outerHTML:'<div class="click-bubble-container"><div class="click-bubble"></div></div>\x3c!--/.click-bubble--\x3e',inlineStyle:!0,zIndex:"999",width:"100%",height:"100%",backgroundColor:"#96d0ff",borderRadius:null},spreadBorder:{state:!0,outerHTML:'<div class="spread-border"></div>\x3c!--/.spread-border--\x3e',
inlineStyle:!0,zIndex:"997",width:"100%",height:"100%",borderWidth:"4px",borderStyle:"solid",borderColor:"#e1e1e1",borderRadius:null}},clickClass:""},scrollOnClick:{clickOn:null,scrollTo:null,duration:1400,easing:null,autoDetect:!0},scrollOnClick_multi:{0:{clickOn:null,scrollTo:null,duration:null,easing:null},1:{clickOn:null,scrollTo:null,duration:null,easing:null}},btn_state:null,btn_icon:null,btn_container:null,btn_threshold:null,btn_inlineStyle:null,btn_style:{},btn_fadeAnimation:{},btn_fadeInClass:null,
btn_clickAnimation_bounce:null,btn_clickAnimation_bubble:{},btn_clickAnimation_spreadBorder:{},btn_clickClass:null};h.extend(!0,a,e);null!=a.btn_state?a.btn.state=a.btn_state:h.noop();null!=a.btn_icon?a.btn.icon=a.btn_icon:h.noop();null!=a.btn_container?a.btn.container=a.btn_container:h.noop();null!=a.btn_threshold?a.btn.threshold=a.btn_threshold:h.noop();null!=a.btn_inlineStyle?a.btn.inlineStyle=a.btn_inlineStyle:h.noop();for(var c in a.btn_style)a.btn_style[c]&&(a.btn.style[c]=a.btn_style[c]);for(c in a.btn.fadeAnimation)a.btn_fadeAnimation[c]&&
(a.btn.fadeAnimation[c]=a.btn_fadeAnimation[c]);null!=a.btn_fadeInClass?a.btn.fadeInClass=a.btn_fadeInClass:h.noop();null!=a.btn_clickAnimation_bounce?a.btn.clickAnimation.bounce=a.btn_clickAnimation_bounce:h.noop();for(var b in a.btn.clickAnimation.bubble)a.btn_clickAnimation_bubble[b]&&(a.btn.clickAnimation.bubble[b]=a.btn_clickAnimation_bubble[b]);for(b in a.btn.clickAnimation.spreadBorder)a.btn_clickAnimation_spreadBorder[b]&&(a.btn.clickAnimation.spreadBorder[b]=a.btn_clickAnimation_spreadBorder[b]);
null!=a.btn_clickClass?a.btn.clickClass=a.btn.btn_clickClass:h.noop();if(a.btn.state){var d=function(){l.scrollTop()>a.btn.threshold?(a.btn.fadeAnimation.slide&&f.css("bottom",a.btn.style.bottom),a.btn.fadeAnimation.scale&&f.css("transform","scale(1)"),f.addClass(a.btn.fadeInClass)):(a.btn.fadeAnimation.slide&&f.css("bottom","-"+a.btn.style.height),a.btn.fadeAnimation.scale&&f.css("transform","scale(0)"),f.removeClass(a.btn.fadeInClass))};a.btn.icon&&(a.btn.outerHTML=a.btn.outerHTML.replace(/(<\/div><\!--\/\.scroll-btn--\x3e)/,
function(b){return a.btn.icon+b}));a.btn.clickAnimation.bubble.state&&(a.btn.outerHTML=a.btn.outerHTML.replace(/(<\/div><\!--\/\.scroll-btn--\x3e)/,function(b){return a.btn.clickAnimation.bubble.outerHTML+b}));a.btn.clickAnimation.spreadBorder.state&&(a.btn.outerHTML=a.btn.outerHTML.replace(/(<\/div><\!--\/\.scroll-btn--\x3e)/,function(b){return a.btn.clickAnimation.spreadBorder.outerHTML+b}));l.append(a.btn.outerHTML);var f=h(".scroll-btn");e=f.find(".sb-layer");a.btn.container&&f.appendTo(a.btn.container);
if(a.btn.inlineStyle){c="";a.btn.style.transition&&(b=a.btn.style.transition.split(" ")[1].split("."),1===b.length?a.btn.style.animationDelay=b[0].replace(/\d/g,function(a){return.5*parseInt(a)}):b[0]?a.btn.style.animationDelay=.5*b[0]+"s":b[1]&&(a.btn.style.animationDelay=b[1].replace(/\d/g,function(a){return 2<=parseInt(a)?.5*parseInt(a)/10:.1})));if(a.btn.container){for(var g in a.btn.style)a.btn.style[g]&&(b=g,/[A-Z]/g.test(g)&&(b=g.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()})),c=
/^(position)/i.test(g)?c+(b+": absolute;"):/^(top|left)/i.test(g)?c+(b+": 0px;"):/^(right|bottom)/i.test(g)?c+(b+": auto;"):/^(width|height)/i.test(g)?c+(b+": 100%;"):c+(b+": "+a.btn.style[g]+";"));a.btn.container.css({position:"relative"})}else for(var r in a.btn.style)a.btn.style[r]&&(b=r,/[A-Z]/g.test(r)&&(b=r.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()})),c+=b+": "+a.btn.style[r]+";");p="<style type='text/css'> .scroll-btn {"+c+"} </style>";e.css({borderRadius:a.btn.style.borderRadius})}if(a.btn.clickAnimation.bubble.state){h(".click-bubble-container");
u=h(".click-bubble");var q=".click-bubble-container {z-index:"+a.btn.clickAnimation.bubble.zIndex+";width:"+a.btn.style.width+";height:"+a.btn.style.height+";background-color: transparent;border-radius:"+a.btn.style.borderRadius+"; }.click-bubble {width:"+a.btn.clickAnimation.bubble.width+";height:"+a.btn.clickAnimation.bubble.height+";background-color:"+a.btn.clickAnimation.bubble.backgroundColor+";border-radius:"+(null===a.btn.clickAnimation.bubble.borderRadius?a.btn.style.borderRadius:a.btn.clickAnimation.bubble.borderRadius)+
";}";p=p.replace(/<\/style>/,function(a){return q+a})}if(a.btn.clickAnimation.spreadBorder.state){h(".spread-border");var z=".spread-border {z-index:"+a.btn.clickAnimation.spreadBorder.zIndex+";width:"+a.btn.style.width+";height:"+a.btn.style.height+";background-color: transparent;border-radius:"+(null===a.btn.clickAnimation.spreadBorder.borderRadius?a.btn.style.borderRadius:a.btn.clickAnimation.spreadBorder.borderRadius)+";border-width:"+a.btn.clickAnimation.spreadBorder.borderWidth+";border-color:"+
a.btn.clickAnimation.spreadBorder.borderColor+";border-style:"+a.btn.clickAnimation.spreadBorder.borderStyle+";}";p=p.replace(/<\/style>/,function(a){return z+a})}setTimeout(function(){v.head.insertAdjacentHTML("beforeend",p)});a.btn.fadeAnimation.bounce&&(a.btn.fadeInClass+=" bounce");a.btn.fadeAnimation.rotate&&(a.btn.fadeInClass+=" rotate");a.btn.clickAnimation.bounce&&(a.btn.clickClass+=" bounce");a.btn.clickAnimation.bubble&&(a.btn.clickClass+=" bubble");a.btn.clickAnimation.spreadBorder.state&&
(a.btn.clickClass+=" spread");d();f.on("click",function(b){l.stop().animate({scrollTop:"0px"},a.duration,a.easing,function(){k=0})});f.on("touchstart mousedown",function(b){f.removeClass(a.btn.clickClass);if(a.btn.clickAnimation.bubble.state){var c=f,d=(b.pageX||b.originalEvent.touches[0].pageX)-c.offset().left-u.width()/2;b=(b.pageY||b.originalEvent.touches[0].pageY)-c.offset().top-u.height()/2;u.css({left:d+"px",top:b+"px"})}f.addClass(a.btn.clickClass)});null===a.scrollOnClick.duration&&(a.scrollOnClick.duration=
a.duration);null===a.scrollOnClick.easing&&(a.scrollOnClick.easing=a.easing);a.scrollOnClick.autoDetect&&h.each(h("a"),function(b,c){h(c).on("click",function(b){var c=h(b).attr("href");/^#/.test(c)&&(b.preventDefault(),b=h(c).offset().top,b<m?l.stop().animate({scrollTop:b+"px"},a.scrollOnClick.duration,a.scrollOnClick.easing,function(){k=l.scrollTop()}):l.stop().animate({scrollTop:m+"px"},a.scrollOnClick.duration,a.scrollOnClick.easing,function(){k=m}))})});if(a.scrollOnClick.clickOn&&a.scrollOnClick.scrollTo)a.scrollOnClick.clickOn.on("click",
function(){var b=a.scrollOnClick.scrollTo.offset().top;k=b;l.stop().animate({scrollTop:b>=m?m+"px":b+"px"},a.scrollOnClick.duration,a.scrollOnClick.easing)});g={};for(var A in a.scrollOnClick_multi)g.socm=A,a.scrollOnClick_multi[g.socm].clickOn&&a.scrollOnClick_multi[g.socm].scrollTo&&(null===a.scrollOnClick_multi[g.socm].duration&&(a.scrollOnClick_multi[g.socm].duration=a.duration),null===a.scrollOnClick_multi[g.socm].easing&&(a.scrollOnClick_multi[g.socm].easing=a.easing),a.scrollOnClick_multi[g.socm].clickOn.on("click",
function(b){return function(c){k=c=a.scrollOnClick_multi[b.socm].scrollTo.offset().top;l.stop().animate({scrollTop:c>=m?m+"px":c+"px"},a.scrollOnClick_multi[b.socm].duration,a.scrollOnClick_multi[b.socm].easing)}}(g))),g={socm:g.socm};n.on("mousedown",function(a){"HTML"===a.target.nodeName&&l.stop()});n.on("mouseup",function(a){"HTML"===a.target.nodeName&&(k=x.pageYOffset)});n.on("scroll",function(){d()});n.on("resize",function(){t=n.innerHeight()})}if(a.scrollPress){var y=function(b){0>l.scrollTop()-
b?(l.stop().animate({scrollTop:"0px"},a.duration,a.easing),k=0):0<=k&&(k-=b,l.stop().animate({scrollTop:k+"px"},a.duration,a.easing))},w=function(b){l.scrollTop()+b>m?(l.stop().animate({scrollTop:m+"px"},a.duration,a.easing),k=m):k<=m&&(k+=b,l.stop().animate({scrollTop:k+"px"},a.duration,a.easing))};h(this).on("keydown",function(b){switch(b.which){case 34:b.preventDefault();w(t);break;case 38:b.preventDefault();y(60);break;case 40:b.preventDefault();w(60);break;case 33:b.preventDefault();y(t);break;
case 36:b.preventDefault();0<k&&(k=0,l.stop().animate({scrollTop:k+"px"},a.duration,a.easing));break;case 35:b.preventDefault(m);k<m?(k=m,l.stop().animate({scrollTop:k+"px"},a.duration,a.easing)):l.stop().animate({scrollTop:m+"px"},a.duration,a.easing);break;case 32:if(!/(textarea|input)/i.test(v.activeElement.nodeName)){b.preventDefault();w(t);break}default:h.noop()}})}};h.extend(h.easing,{def:"easeOutQuad",swing:function(e,a,c,b,d){return h.easing[h.easing.def](e,a,c,b,d)},easeInQuad:function(e,
a,c,b,d){return b*(a/=d)*a+c},easeOutQuad:function(e,a,c,b,d){return-b*(a/=d)*(a-2)+c},easeInOutQuad:function(e,a,c,b,d){return 1>(a/=d/2)?b/2*a*a+c:-b/2*(--a*(a-2)-1)+c},easeInCubic:function(e,a,c,b,d){return b*(a/=d)*a*a+c},easeOutCubic:function(e,a,c,b,d){return b*((a=a/d-1)*a*a+1)+c},easeInOutCubic:function(e,a,c,b,d){return 1>(a/=d/2)?b/2*a*a*a+c:b/2*((a-=2)*a*a+2)+c},easeInQuart:function(e,a,c,b,d){return b*(a/=d)*a*a*a+c},easeOutQuart:function(e,a,c,b,d){return-b*((a=a/d-1)*a*a*a-1)+c},easeInOutQuart:function(e,
a,c,b,d){return 1>(a/=d/2)?b/2*a*a*a*a+c:-b/2*((a-=2)*a*a*a-2)+c},easeInQuint:function(e,a,c,b,d){return b*(a/=d)*a*a*a*a+c},easeOutQuint:function(e,a,c,b,d){return b*((a=a/d-1)*a*a*a*a+1)+c},easeInOutQuint:function(e,a,c,b,d){return 1>(a/=d/2)?b/2*a*a*a*a*a+c:b/2*((a-=2)*a*a*a*a+2)+c},easeInSine:function(e,a,c,b,d){return-b*Math.cos(a/d*(Math.PI/2))+b+c},easeOutSine:function(e,a,c,b,d){return b*Math.sin(a/d*(Math.PI/2))+c},easeInOutSine:function(e,a,c,b,d){return-b/2*(Math.cos(Math.PI*a/d)-1)+c},
easeInExpo:function(e,a,c,b,d){return 0==a?c:b*Math.pow(2,10*(a/d-1))+c},easeOutExpo:function(e,a,c,b,d){return a==d?c+b:b*(-Math.pow(2,-10*a/d)+1)+c},easeInOutExpo:function(e,a,c,b,d){return 0==a?c:a==d?c+b:1>(a/=d/2)?b/2*Math.pow(2,10*(a-1))+c:b/2*(-Math.pow(2,-10*--a)+2)+c},easeInCirc:function(e,a,c,b,d){return-b*(Math.sqrt(1-(a/=d)*a)-1)+c},easeOutCirc:function(e,a,c,b,d){return b*Math.sqrt(1-(a=a/d-1)*a)+c},easeInOutCirc:function(e,a,c,b,d){return 1>(a/=d/2)?-b/2*(Math.sqrt(1-a*a)-1)+c:b/2*(Math.sqrt(1-
(a-=2)*a)+1)+c},easeInElastic:function(e,a,c,b,d){e=0;var f=b;if(0==a)return c;if(1==(a/=d))return c+b;e||(e=.3*d);f<Math.abs(b)?(f=b,b=e/4):b=e/(2*Math.PI)*Math.asin(b/f);return-(f*Math.pow(2,10*--a)*Math.sin(2*(a*d-b)*Math.PI/e))+c},easeOutElastic:function(e,a,c,b,d){var f=0,g=b;if(0==a)return c;if(1==(a/=d))return c+b;f||(f=.3*d);g<Math.abs(b)?(g=b,e=f/4):e=f/(2*Math.PI)*Math.asin(b/g);return g*Math.pow(2,-10*a)*Math.sin(2*(a*d-e)*Math.PI/f)+b+c},easeInOutElastic:function(e,a,c,b,d){var f=0,g=
b;if(0==a)return c;if(2==(a/=d/2))return c+b;f||(f=.3*d*1.5);g<Math.abs(b)?(g=b,e=f/4):e=f/(2*Math.PI)*Math.asin(b/g);return 1>a?-.5*g*Math.pow(2,10*--a)*Math.sin(2*(a*d-e)*Math.PI/f)+c:g*Math.pow(2,-10*--a)*Math.sin(2*(a*d-e)*Math.PI/f)*.5+b+c},easeInBack:function(e,a,c,b,d,f){f==q&&(f=1.70158);return b*(a/=d)*a*((f+1)*a-f)+c},easeOutBack:function(e,a,c,b,d,f){f==q&&(f=1.70158);return b*((a=a/d-1)*a*((f+1)*a+f)+1)+c},easeInOutBack:function(e,a,c,b,d,f){f==q&&(f=1.70158);return 1>(a/=d/2)?b/2*a*a*
(((f*=1.525)+1)*a-f)+c:b/2*((a-=2)*a*(((f*=1.525)+1)*a+f)+2)+c},easeInBounce:function(e,a,c,b,d){return b-h.easing.easeOutBounce(e,d-a,0,b,d)+c},easeOutBounce:function(e,a,c,b,d){return(a/=d)<1/2.75?7.5625*b*a*a+c:a<2/2.75?b*(7.5625*(a-=1.5/2.75)*a+.75)+c:a<2.5/2.75?b*(7.5625*(a-=2.25/2.75)*a+.9375)+c:b*(7.5625*(a-=2.625/2.75)*a+.984375)+c},easeInOutBounce:function(e,a,c,b,d){return a<d/2?.5*h.easing.easeInBounce(e,2*a,0,b,d)+c:.5*h.easing.easeOutBounce(e,2*a-d,0,b,d)+.5*b+c}})})(window.Zepto||window.jQuery,
window,document);<commit_msg>Fixed scroll keys for inputs<commit_after>;(function(h,x,v,q){var n=h(x),l=h("body"),m=v.body.scrollHeight-n.innerHeight(),t=n.innerHeight(),k=n.scrollTop(),u,p;h.fn.scrollPress=function(e){var a={scrollPress:!0,duration:1E3,easing:"easeInOutCubic",btn:{state:!0,outerHTML:"<div class='scroll-btn'><div class='sb-layer' style='z-index:998;'></div></div>\x3c!--/.scroll-btn--\x3e",icon:"<i class='fa fa-angle-up'></i>",container:null,threshold:n.innerHeight()/3,inlineStyle:!0,style:{zIndex:"999",width:"40px",height:"40px",position:"fixed",right:"20px",
bottom:"20px",left:"auto",top:"auto",backgroundColor:"white",borderRadius:"14%",transition:"all 1s ease",animationDelay:""},fadeAnimation:{slide:!0,scale:!0,bounce:!1,rotate:!1},fadeInClass:"",clickAnimation:{bounce:!1,bubble:{state:!0,outerHTML:'<div class="click-bubble-container"><div class="click-bubble"></div></div>\x3c!--/.click-bubble--\x3e',inlineStyle:!0,zIndex:"999",width:"100%",height:"100%",backgroundColor:"#96d0ff",borderRadius:null},spreadBorder:{state:!0,outerHTML:'<div class="spread-border"></div>\x3c!--/.spread-border--\x3e',
inlineStyle:!0,zIndex:"997",width:"100%",height:"100%",borderWidth:"4px",borderStyle:"solid",borderColor:"#e1e1e1",borderRadius:null}},clickClass:""},scrollOnClick:{clickOn:null,scrollTo:null,duration:1400,easing:null,autoDetect:!0},scrollOnClick_multi:{0:{clickOn:null,scrollTo:null,duration:null,easing:null},1:{clickOn:null,scrollTo:null,duration:null,easing:null}},btn_state:null,btn_icon:null,btn_container:null,btn_threshold:null,btn_inlineStyle:null,btn_style:{},btn_fadeAnimation:{},btn_fadeInClass:null,
btn_clickAnimation_bounce:null,btn_clickAnimation_bubble:{},btn_clickAnimation_spreadBorder:{},btn_clickClass:null};h.extend(!0,a,e);null!=a.btn_state?a.btn.state=a.btn_state:h.noop();null!=a.btn_icon?a.btn.icon=a.btn_icon:h.noop();null!=a.btn_container?a.btn.container=a.btn_container:h.noop();null!=a.btn_threshold?a.btn.threshold=a.btn_threshold:h.noop();null!=a.btn_inlineStyle?a.btn.inlineStyle=a.btn_inlineStyle:h.noop();for(var c in a.btn_style)a.btn_style[c]&&(a.btn.style[c]=a.btn_style[c]);for(c in a.btn.fadeAnimation)a.btn_fadeAnimation[c]&&
(a.btn.fadeAnimation[c]=a.btn_fadeAnimation[c]);null!=a.btn_fadeInClass?a.btn.fadeInClass=a.btn_fadeInClass:h.noop();null!=a.btn_clickAnimation_bounce?a.btn.clickAnimation.bounce=a.btn_clickAnimation_bounce:h.noop();for(var b in a.btn.clickAnimation.bubble)a.btn_clickAnimation_bubble[b]&&(a.btn.clickAnimation.bubble[b]=a.btn_clickAnimation_bubble[b]);for(b in a.btn.clickAnimation.spreadBorder)a.btn_clickAnimation_spreadBorder[b]&&(a.btn.clickAnimation.spreadBorder[b]=a.btn_clickAnimation_spreadBorder[b]);
null!=a.btn_clickClass?a.btn.clickClass=a.btn.btn_clickClass:h.noop();if(a.btn.state){var d=function(){l.scrollTop()>a.btn.threshold?(a.btn.fadeAnimation.slide&&f.css("bottom",a.btn.style.bottom),a.btn.fadeAnimation.scale&&f.css("transform","scale(1)"),f.addClass(a.btn.fadeInClass)):(a.btn.fadeAnimation.slide&&f.css("bottom","-"+a.btn.style.height),a.btn.fadeAnimation.scale&&f.css("transform","scale(0)"),f.removeClass(a.btn.fadeInClass))};a.btn.icon&&(a.btn.outerHTML=a.btn.outerHTML.replace(/(<\/div><\!--\/\.scroll-btn--\x3e)/,
function(b){return a.btn.icon+b}));a.btn.clickAnimation.bubble.state&&(a.btn.outerHTML=a.btn.outerHTML.replace(/(<\/div><\!--\/\.scroll-btn--\x3e)/,function(b){return a.btn.clickAnimation.bubble.outerHTML+b}));a.btn.clickAnimation.spreadBorder.state&&(a.btn.outerHTML=a.btn.outerHTML.replace(/(<\/div><\!--\/\.scroll-btn--\x3e)/,function(b){return a.btn.clickAnimation.spreadBorder.outerHTML+b}));l.append(a.btn.outerHTML);var f=h(".scroll-btn");e=f.find(".sb-layer");a.btn.container&&f.appendTo(a.btn.container);
if(a.btn.inlineStyle){c="";a.btn.style.transition&&(b=a.btn.style.transition.split(" ")[1].split("."),1===b.length?a.btn.style.animationDelay=b[0].replace(/\d/g,function(a){return.5*parseInt(a)}):b[0]?a.btn.style.animationDelay=.5*b[0]+"s":b[1]&&(a.btn.style.animationDelay=b[1].replace(/\d/g,function(a){return 2<=parseInt(a)?.5*parseInt(a)/10:.1})));if(a.btn.container){for(var g in a.btn.style)a.btn.style[g]&&(b=g,/[A-Z]/g.test(g)&&(b=g.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()})),c=
/^(position)/i.test(g)?c+(b+": absolute;"):/^(top|left)/i.test(g)?c+(b+": 0px;"):/^(right|bottom)/i.test(g)?c+(b+": auto;"):/^(width|height)/i.test(g)?c+(b+": 100%;"):c+(b+": "+a.btn.style[g]+";"));a.btn.container.css({position:"relative"})}else for(var r in a.btn.style)a.btn.style[r]&&(b=r,/[A-Z]/g.test(r)&&(b=r.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()})),c+=b+": "+a.btn.style[r]+";");p="<style type='text/css'> .scroll-btn {"+c+"} </style>";e.css({borderRadius:a.btn.style.borderRadius})}if(a.btn.clickAnimation.bubble.state){h(".click-bubble-container");
u=h(".click-bubble");var q=".click-bubble-container {z-index:"+a.btn.clickAnimation.bubble.zIndex+";width:"+a.btn.style.width+";height:"+a.btn.style.height+";background-color: transparent;border-radius:"+a.btn.style.borderRadius+"; }.click-bubble {width:"+a.btn.clickAnimation.bubble.width+";height:"+a.btn.clickAnimation.bubble.height+";background-color:"+a.btn.clickAnimation.bubble.backgroundColor+";border-radius:"+(null===a.btn.clickAnimation.bubble.borderRadius?a.btn.style.borderRadius:a.btn.clickAnimation.bubble.borderRadius)+
";}";p=p.replace(/<\/style>/,function(a){return q+a})}if(a.btn.clickAnimation.spreadBorder.state){h(".spread-border");var z=".spread-border {z-index:"+a.btn.clickAnimation.spreadBorder.zIndex+";width:"+a.btn.style.width+";height:"+a.btn.style.height+";background-color: transparent;border-radius:"+(null===a.btn.clickAnimation.spreadBorder.borderRadius?a.btn.style.borderRadius:a.btn.clickAnimation.spreadBorder.borderRadius)+";border-width:"+a.btn.clickAnimation.spreadBorder.borderWidth+";border-color:"+
a.btn.clickAnimation.spreadBorder.borderColor+";border-style:"+a.btn.clickAnimation.spreadBorder.borderStyle+";}";p=p.replace(/<\/style>/,function(a){return z+a})}setTimeout(function(){v.head.insertAdjacentHTML("beforeend",p)});a.btn.fadeAnimation.bounce&&(a.btn.fadeInClass+=" bounce");a.btn.fadeAnimation.rotate&&(a.btn.fadeInClass+=" rotate");a.btn.clickAnimation.bounce&&(a.btn.clickClass+=" bounce");a.btn.clickAnimation.bubble&&(a.btn.clickClass+=" bubble");a.btn.clickAnimation.spreadBorder.state&&
(a.btn.clickClass+=" spread");d();f.on("click",function(b){l.stop().animate({scrollTop:"0px"},a.duration,a.easing,function(){k=0})});f.on("touchstart mousedown",function(b){f.removeClass(a.btn.clickClass);if(a.btn.clickAnimation.bubble.state){var c=f,d=(b.pageX||b.originalEvent.touches[0].pageX)-c.offset().left-u.width()/2;b=(b.pageY||b.originalEvent.touches[0].pageY)-c.offset().top-u.height()/2;u.css({left:d+"px",top:b+"px"})}f.addClass(a.btn.clickClass)});null===a.scrollOnClick.duration&&(a.scrollOnClick.duration=
a.duration);null===a.scrollOnClick.easing&&(a.scrollOnClick.easing=a.easing);a.scrollOnClick.autoDetect&&h.each(h("a"),function(b,c){h(c).on("click",function(b){var c=h(b).attr("href");/^#/.test(c)&&(b.preventDefault(),b=h(c).offset().top,b<m?l.stop().animate({scrollTop:b+"px"},a.scrollOnClick.duration,a.scrollOnClick.easing,function(){k=l.scrollTop()}):l.stop().animate({scrollTop:m+"px"},a.scrollOnClick.duration,a.scrollOnClick.easing,function(){k=m}))})});if(a.scrollOnClick.clickOn&&a.scrollOnClick.scrollTo)a.scrollOnClick.clickOn.on("click",
function(){var b=a.scrollOnClick.scrollTo.offset().top;k=b;l.stop().animate({scrollTop:b>=m?m+"px":b+"px"},a.scrollOnClick.duration,a.scrollOnClick.easing)});g={};for(var A in a.scrollOnClick_multi)g.socm=A,a.scrollOnClick_multi[g.socm].clickOn&&a.scrollOnClick_multi[g.socm].scrollTo&&(null===a.scrollOnClick_multi[g.socm].duration&&(a.scrollOnClick_multi[g.socm].duration=a.duration),null===a.scrollOnClick_multi[g.socm].easing&&(a.scrollOnClick_multi[g.socm].easing=a.easing),a.scrollOnClick_multi[g.socm].clickOn.on("click",
function(b){return function(c){k=c=a.scrollOnClick_multi[b.socm].scrollTo.offset().top;l.stop().animate({scrollTop:c>=m?m+"px":c+"px"},a.scrollOnClick_multi[b.socm].duration,a.scrollOnClick_multi[b.socm].easing)}}(g))),g={socm:g.socm};n.on("mousedown",function(a){"HTML"===a.target.nodeName&&l.stop()});n.on("mouseup",function(a){"HTML"===a.target.nodeName&&(k=x.pageYOffset)});n.on("scroll",function(){d()});n.on("resize",function(){t=n.innerHeight()})}if(a.scrollPress){var y=function(b){0>l.scrollTop()-
b?(l.stop().animate({scrollTop:"0px"},a.duration,a.easing),k=0):0<=k&&(k-=b,l.stop().animate({scrollTop:k+"px"},a.duration,a.easing))},w=function(b){l.scrollTop()+b>m?(l.stop().animate({scrollTop:m+"px"},a.duration,a.easing),k=m):k<=m&&(k+=b,l.stop().animate({scrollTop:k+"px"},a.duration,a.easing))};h(this).on("keydown",function(b){if(!/(textarea|input)/i.test(v.activeElement.nodeName))switch(b.which){case 34:b.preventDefault();w(t);break;case 38:b.preventDefault();y(60);break;case 40:b.preventDefault();
w(60);break;case 33:b.preventDefault();y(t);break;case 36:b.preventDefault();0<k&&(k=0,l.stop().animate({scrollTop:k+"px"},a.duration,a.easing));break;case 35:b.preventDefault(m);k<m?(k=m,l.stop().animate({scrollTop:k+"px"},a.duration,a.easing)):l.stop().animate({scrollTop:m+"px"},a.duration,a.easing);break;case 32:b.preventDefault();w(t);break;default:h.noop()}})}};h.extend(h.easing,{def:"easeOutQuad",swing:function(e,a,c,b,d){return h.easing[h.easing.def](e,a,c,b,d)},easeInQuad:function(e,a,c,b,
d){return b*(a/=d)*a+c},easeOutQuad:function(e,a,c,b,d){return-b*(a/=d)*(a-2)+c},easeInOutQuad:function(e,a,c,b,d){return 1>(a/=d/2)?b/2*a*a+c:-b/2*(--a*(a-2)-1)+c},easeInCubic:function(e,a,c,b,d){return b*(a/=d)*a*a+c},easeOutCubic:function(e,a,c,b,d){return b*((a=a/d-1)*a*a+1)+c},easeInOutCubic:function(e,a,c,b,d){return 1>(a/=d/2)?b/2*a*a*a+c:b/2*((a-=2)*a*a+2)+c},easeInQuart:function(e,a,c,b,d){return b*(a/=d)*a*a*a+c},easeOutQuart:function(e,a,c,b,d){return-b*((a=a/d-1)*a*a*a-1)+c},easeInOutQuart:function(e,
a,c,b,d){return 1>(a/=d/2)?b/2*a*a*a*a+c:-b/2*((a-=2)*a*a*a-2)+c},easeInQuint:function(e,a,c,b,d){return b*(a/=d)*a*a*a*a+c},easeOutQuint:function(e,a,c,b,d){return b*((a=a/d-1)*a*a*a*a+1)+c},easeInOutQuint:function(e,a,c,b,d){return 1>(a/=d/2)?b/2*a*a*a*a*a+c:b/2*((a-=2)*a*a*a*a+2)+c},easeInSine:function(e,a,c,b,d){return-b*Math.cos(a/d*(Math.PI/2))+b+c},easeOutSine:function(e,a,c,b,d){return b*Math.sin(a/d*(Math.PI/2))+c},easeInOutSine:function(e,a,c,b,d){return-b/2*(Math.cos(Math.PI*a/d)-1)+c},
easeInExpo:function(e,a,c,b,d){return 0==a?c:b*Math.pow(2,10*(a/d-1))+c},easeOutExpo:function(e,a,c,b,d){return a==d?c+b:b*(-Math.pow(2,-10*a/d)+1)+c},easeInOutExpo:function(e,a,c,b,d){return 0==a?c:a==d?c+b:1>(a/=d/2)?b/2*Math.pow(2,10*(a-1))+c:b/2*(-Math.pow(2,-10*--a)+2)+c},easeInCirc:function(e,a,c,b,d){return-b*(Math.sqrt(1-(a/=d)*a)-1)+c},easeOutCirc:function(e,a,c,b,d){return b*Math.sqrt(1-(a=a/d-1)*a)+c},easeInOutCirc:function(e,a,c,b,d){return 1>(a/=d/2)?-b/2*(Math.sqrt(1-a*a)-1)+c:b/2*(Math.sqrt(1-
(a-=2)*a)+1)+c},easeInElastic:function(e,a,c,b,d){e=0;var f=b;if(0==a)return c;if(1==(a/=d))return c+b;e||(e=.3*d);f<Math.abs(b)?(f=b,b=e/4):b=e/(2*Math.PI)*Math.asin(b/f);return-(f*Math.pow(2,10*--a)*Math.sin(2*(a*d-b)*Math.PI/e))+c},easeOutElastic:function(e,a,c,b,d){var f=0,g=b;if(0==a)return c;if(1==(a/=d))return c+b;f||(f=.3*d);g<Math.abs(b)?(g=b,e=f/4):e=f/(2*Math.PI)*Math.asin(b/g);return g*Math.pow(2,-10*a)*Math.sin(2*(a*d-e)*Math.PI/f)+b+c},easeInOutElastic:function(e,a,c,b,d){var f=0,g=
b;if(0==a)return c;if(2==(a/=d/2))return c+b;f||(f=.3*d*1.5);g<Math.abs(b)?(g=b,e=f/4):e=f/(2*Math.PI)*Math.asin(b/g);return 1>a?-.5*g*Math.pow(2,10*--a)*Math.sin(2*(a*d-e)*Math.PI/f)+c:g*Math.pow(2,-10*--a)*Math.sin(2*(a*d-e)*Math.PI/f)*.5+b+c},easeInBack:function(e,a,c,b,d,f){f==q&&(f=1.70158);return b*(a/=d)*a*((f+1)*a-f)+c},easeOutBack:function(e,a,c,b,d,f){f==q&&(f=1.70158);return b*((a=a/d-1)*a*((f+1)*a+f)+1)+c},easeInOutBack:function(e,a,c,b,d,f){f==q&&(f=1.70158);return 1>(a/=d/2)?b/2*a*a*
(((f*=1.525)+1)*a-f)+c:b/2*((a-=2)*a*(((f*=1.525)+1)*a+f)+2)+c},easeInBounce:function(e,a,c,b,d){return b-h.easing.easeOutBounce(e,d-a,0,b,d)+c},easeOutBounce:function(e,a,c,b,d){return(a/=d)<1/2.75?7.5625*b*a*a+c:a<2/2.75?b*(7.5625*(a-=1.5/2.75)*a+.75)+c:a<2.5/2.75?b*(7.5625*(a-=2.25/2.75)*a+.9375)+c:b*(7.5625*(a-=2.625/2.75)*a+.984375)+c},easeInOutBounce:function(e,a,c,b,d){return a<d/2?.5*h.easing.easeInBounce(e,2*a,0,b,d)+c:.5*h.easing.easeOutBounce(e,2*a-d,0,b,d)+.5*b+c}})})(window.Zepto||window.jQuery,
window,document);
{'fraction_non_alphanumeric': 0.28765648672354677, 'fraction_numerical': 0.027430029503229408, 'mean_word_length': 11.325798525798525, 'pattern_counts': {'":': 18, '<': 73, '<?xml version=': 0, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1966952', 'n_tokens_mistral': 11603, 'n_tokens_neox': 11222, 'n_words': 273}