<commit_before>/*!
 * Brav1Toolbox.js - common utility scripts and polyfills
 * http://marcolago.com/
 * MIT licensed
 *
 * Copyright (C) 2012-now <NAME>, http://marcolago.com
 */
var Brav1Toolbox=function(){function a(){return window.getComputedStyle?window.getComputedStyle(document.body):document.documentElement.style}function b(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)}function c(a,b,c){a.removeEventListener?a.removeEventListener(b,c):a.detachEvent&&a.detachEvent("on"+b,c)}function d(a){return""!=e(a)}function e(b){for(var c=n||a(),d=0;d<m.length;d++){var e=m[d].replace(/-/g,""),f=b;if(e.length>0&&(f=f.charAt(0).toUpperCase()+f.substr(1)),f=e+f,f in c==1)return f}return""}function f(a,b){var c=e(b);return window.getComputedStyle?window.getComputedStyle(a)[c]:a.style[c]}function g(a){return!!a&&Object.prototype.toString.call(a).match(/(\w+)\]/)[1]}function h(a,b){if(a.classList)a.classList.add(b);else if(0==j(a,b)){var c=a.className;c.length>0&&(c+=" "),a.className=c+b}}function i(a,b){if(a.classList)a.classList.remove(b);else{var c=a.className;-1!=c.indexOf(b)&&(c=-1!=c.indexOf(" "+b)?c.replace(" "+b,""):-1!=c.indexOf(b+" ")?c.replace(b+" ",""):c.replace(b,"")),a.className=c}}function j(a,b){if(a){if(a.classList)return a.classList.contains(b);if(a.className)return-1!=a.className.indexOf(b)}return!1}function k(a,b){if(document.createEvent){var c=document.createEvent("HTMLEvents");c.initEvent(a,!0,!0);for(var d in b)c[d]=b[d];document.dispatchEvent(c)}}function l(a,b){var c,d;return c=b.x-a.x,c*=c,d=b.y-a.y,d*=d,Math.abs(Math.sqrt(c+d))}var m=["","-webkit-","-moz-","-ms-","-o-"],n=a();return{addListener:b,removeListener:c,dispatchEvent:k,testCSS:d,getPrefixed:e,getCSSValue:f,typeOf:g,addClass:h,removeClass:i,hasClass:j,distance:l}}();!function(a,b){function c(b,c,g,h){b[d](f+c,"wheel"==e?g:function(b){!b&&(b=a.event);var c={originalEvent:b,target:b.target||b.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"==b.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){b.preventDefault?b.preventDefault():b.returnValue=!1}};return"mousewheel"==e?(c.deltaY=-1/40*b.wheelDelta,b.wheelDeltaX&&(c.deltaX=-1/40*b.wheelDeltaX)):c.deltaY=b.detail,g(c)},h||!1)}var d,e,f="";a.addEventListener?d="addEventListener":(d="attachEvent",f="on"),e="onwheel"in b.createElement("div")?"wheel":void 0!==b.onmousewheel?"mousewheel":"DOMMouseScroll",a.addWheelListener=function(a,b,d){c(a,e,b,d),"DOMMouseScroll"==e&&c(a,"MozMousePixelScroll",b,d)}}(window,document);/*!
 * Flowtime.js
 * http://marcolago.com/flowtime-js/
 * MIT licensed
 *
 * Copyright (C) 2012-now <NAME>, http://marcolago.com
 */
var Flowtime=function(){function a(a){if(Bb){if("A"===a.target.nodeName||"A"===a.target.parentNode.nodeName){var b=a.target.getAttribute("href")||a.target.parentNode.getAttribute("href");if("#"===b)return void a.preventDefault();if(b&&(a.target.blur(),"#"==b.substr(0,1))){a.preventDefault();var c=cc.setPage(b);w(c,!0,!0)}}if(jb){for(var d=a.target;d&&!Brav1Toolbox.hasClass(d,Na);)d=d.parentNode;Brav1Toolbox.hasClass(d,Na)&&(a.preventDefault(),w(d,null,!0))}if(Brav1Toolbox.hasClass(a.target,Wa)){a.preventDefault();var e=Number(v(a.target.getAttribute("data-section"))),f=Number(v(a.target.getAttribute("data-page")));Y(e,f)}}}function b(a){cb=!1;var b;b=a.state?a.state.token.replace("#/",""):document.location.hash.replace("#/","");var c=cc.setPage(b);w(c,!1)}function c(a,b){if(cb||b){var c=document.location.hash.replace("#/",""),d=cc.setPage(c);w(d,!1)}}function d(a){wb=a,wb?(Brav1Toolbox.addListener(_a,"mousedown",e,!1),Brav1Toolbox.addListener(_a,"mouseup",h,!1)):(Brav1Toolbox.removeListener(_a,"mousedown",e),Brav1Toolbox.removeListener(_a,"mouseup",h))}function e(a){hc=0,ic=0,a=i(a),fc=a.clientX,gc=a.clientY,jc=1;var b=j();dc=b.x,ec=b.y,wb&&Brav1Toolbox.addListener(_a,"mousemove",g,!1)}function g(a){a.preventDefault(),a=i(a),hc=a.clientX-fc,ic=a.clientY-gc}function h(a){if(Ab&&(Math.abs(hc)>=lc||Math.abs(ic)>=lc))if(a=i(a),jc=0,kc=Math.abs(hc)>=Math.abs(ic)?"x":"y","x"==kc&&Math.abs(hc)>=lc){if(hc>0)return void(Jb===!0?X():V(void 0,!1));if(0>hc)return void(Jb===!0?W():U(void 0,!1))}else{if(ic>0&&Math.abs(ic)>=lc)return void(Jb===!0?V(void 0,!1):X());if(0>ic)return void(Jb===!0?U(void 0,!1):W())}Brav1Toolbox.removeListener(_a,"mousemove",g)}function i(a){return a.touches&&(a=a.touches[0]),a}function j(){var a=_a.style[Kb],b=a.indexOf("translateX(")+11,c=a.substring(b,a.indexOf(")",b));-1!=c.indexOf("%")?(c=c.replace("%",""),c=parseInt(c)/100*window.innerWidth):-1!=c.indexOf("px")&&(c=parseInt(c.replace("px","")));var d=a.indexOf("translateY(")+11,e=a.substring(d,a.indexOf(")",d));return-1!=e.indexOf("%")?(e=e.replace("%",""),e=parseInt(e)/100*window.innerHeight):-1!=e.indexOf("px")&&(e=parseInt(e.replace("px",""))),{x:c,y:e}}function k(a){a.preventDefault(),A()}function l(a){var b=a.target;yb=m(b);var c=yb===!0?!1:xb;Cb===!1&&c===!0&&p(a)}function m(a){for(var b=!1,c=a;c.className&&c.className.indexOf("ft-page")<0;)c.scrollHeight>c.clientHeight-1&&(b=!0),c=c.parentNode;return-1!=c.className.indexOf("ft-page")&&c.scrollHeight>c.clientHeight-1&&(b=!0),b===!0&&((c.scrollHeight-c.scrollTop===c.clientHeight||0===c.scrollTop&&c.alreadyScrolled&&c.alreadyScrolled===!0)&&(b=!1),c.alreadyScrolled=!0),b}function n(){clearTimeout(Db),Cb=!1}function o(){Db=setTimeout(n,Eb)}function p(a){Cb=!0,o(),0===a.deltaY?a.deltaX>0?Jb===!0?W():U(void 0,a.shiftKey):a.deltaX<0&&(Jb===!0?X():V(void 0,a.shiftKey)):a.deltaY>0?Jb===!0?U(void 0,a.shiftKey):W():a.deltaY<0&&(Jb===!0?V(void 0,a.shiftKey):X())}function q(a){if(a.length>0){var b=a.replace("#/","").split("/");if(b.length>0){var c=document.querySelectorAll(Ma+"[data-prog=__"+b[0]+"]"),d=document.querySelectorAll(Ma+"[data-id=__"+b[0]+"]"),e=c.length>0?c:d,f=null,g=null;if(null!==e){for(var h=0;h<e.length&&(g=e[h],b.length>1&&(f=g.querySelector(Oa+"[data-prog=__"+b[1]+"]")||g.querySelector(Oa+"[data-id=__"+b[1]+"]")),null===f);h++);null===f&&g&&(f=g.querySelector(Oa))}return f}}}function r(a){Fb=a===!1?!1:!0;var b=cc.getCurrentPage();cc.update(),w(b,!1,!1,!1),qb===!0&&B()}function s(a){var b=fb,c=cc.getCurrentPage().getAttribute("data-title");if(null===c)for(var d=a.split("/"),e=0;e<d.length;e++)b+=" | "+d[e];else null!==cc.getCurrentSection().getAttribute("data-title")&&(b+=" | "+cc.getCurrentSection().getAttribute("data-title")),b+=" | "+c;document.title=b}function t(a){var b=a.getAttribute("data-id"),c=a.getAttribute("data-prog"),d="";return null!==b?d=b.replace(/__/,""):null!==c&&(d=c.replace(/__/,"")),d}function u(a){return"__"!=a.substr(0,2)?"__"+a:a}function v(a){return"__"==a.substr(0,2)?a.replace(/__/,""):a}function w(a,b,c,d){b=b===!1?b:!0,a||(a=null!==cc.getCurrentPage()?cc.getCurrentPage():document.querySelector(Oa),b=!0),d===!1?S():Hb===!0&&T(),y(a),Hb===!0&&T(!0),z(a),jb&&F(!1,!1);var e=cc.getHash(a);c===!0&&cc.updateFragments();var f=cc.getPageIndex(a);if(eb.section!=f.section||eb.page!=f.page)if(null!==Ka&&b!==!1&&-1===cc.getCurrentFragmentIndex()){var g={token:e},h="#/"+e;db=h;try{window.history.pushState(g,null,db)}catch(i){Zb===!0&&console.log(i)}}else document.location.hash="/"+e;s(e),Xb[f.section]=f.page,eb.section===f.section&&eb.page!==f.page&&(Yb=f.page),x(),eb=f,cc.switchActivePage(a,!0),qb&&D()}function x(){if(Fb!==!1){var a=cc.getPageIndex(),b={section:cc.getCurrentSection(),page:cc.getCurrentPage(),sectionIndex:a.section,pageIndex:a.page,pastSectionIndex:eb.section,pastPageIndex:eb.page,prevSection:cc.hasPrevSection(),nextSection:cc.hasNextSection(),prevPage:cc.hasPrevPage(),nextPage:cc.hasNextPage(),fragment:cc.getCurrentFragment(),fragmentIndex:cc.getCurrentFragmentIndex(),isOverview:jb,progress:cc.getProgress(),total:cc.getPagesTotalLength(),isLoopable:pb,clickerMode:rb,isAutoplay:mc};Brav1Toolbox.dispatchEvent($a,b),null!==$b&&$b(b)}else Fb=!0}function y(a){var b,c,d=cc.getPageIndex(a);if(nb===!0?(b=a.x,c=a.y):Jb===!0?(c=d.section,b=d.page):(b=d.section,c=d.page),Wb===!0){var e=a.parentNode,f=_a,g=e;Jb===!0&&(f=e,g=_a),Lb?(f.style[Kb]=nb?"translateX("+-b+"px)":"translateX("+100*-b+"%)",g.style[Kb]=nb?"translateY("+-c+"px)":"translateY("+100*-c+"%)"):(f.style.left=nb?b+"px":100*-b+"%",g.style.top=nb?c+"px":100*-c+"%")}else Lb?_a.style[Kb]=nb?"translateX("+-b+"px) translateY("+-c+"px)":"translateX("+100*-b+"%) translateY("+100*-c+"%)":nb?(_a.style.top=-c+"px",_a.style.left=-b+"px"):(_a.style.top=100*-c+"%",_a.style.left=100*-b+"%");A()}function z(a){if(vb)for(var b=cc.getPageIndex(a),c=cc.getParallaxElements(),d=0;d<c.length;d++){var e=c[d];if(void 0!==e)for(var f=0;f<e.length;f++){var g=e[f];if(void 0!==g)for(var h=0;h<g.length;h++){var i=g[h],j=0,k=0;b.section<d?j=i.pX:b.section>d&&(j=-i.pX),b.page<f?k=i.pY:b.page>f&&(k=-i.pY);var l="%";sb&&(l="px"),i.style[Kb]=Jb===!0?"translateX("+k+l+") translateY("+j+l+")":"translateX("+j+l+") translateY("+k+l+")"}}}}function A(){window.scrollTo(0,0)}function B(){hb&&hb.parentNode.removeChild(hb);var a=document.createDocumentFragment();hb=document.createElement("div"),hb.className=Ua+(Jb===!0?" ft-cross":""),a.appendChild(hb);for(var b=0;b<cc.getSectionsLength();b++){var c=document.createElement("div");c.setAttribute("data-section","__"+b),c.className=Va,Brav1Toolbox.addClass(c,"thumb-section-"+b);for(var d=cc.getPages(b),e=0;e<d.length;e++){var f=document.createElement("div");f.className=Wa,f.setAttribute("data-section","__"+b),f.setAttribute("data-page","__"+e),Brav1Toolbox.addClass(f,"thumb-page-"+e),c.appendChild(f)}hb.appendChild(c)}bb.appendChild(hb),D()}function C(){null!==hb&&(bb.removeChild(hb),hb=null)}function D(){if(null!==hb)for(var a=hb.querySelectorAll(Xa),b=0;b<a.length;b++){var c=a[b],d=Number(v(c.getAttribute("data-section"))),e=Number(v(c.getAttribute("data-page")));d==cc.getPageIndex().section&&e==cc.getPageIndex().page?Brav1Toolbox.addClass(a[b],"actual"):Brav1Toolbox.removeClass(a[b],"actual")}}function E(){return hb}function F(a,b){jb?H(a,b):(Ja=cc.getCurrentPage(),I())}function G(a,b,c){jb!==a&&(jb=!a,F(b,c))}function H(a,b){jb=!1,Brav1Toolbox.removeClass(bb,"ft-overview"),cc.hideFragments(),b=b===!1?!1:!0,b===!0&&(a===!0?w(Ja):w())}function I(){jb=!0,Brav1Toolbox.addClass(bb,"ft-overview"),cc.showFragments(),kb===!1?J(!0):K(!0),x()}function J(a){if(a){var b,c;Jb===!0?(c=100/cc.getSectionsLength(),b=100/cc.getPagesLength()):(b=100/cc.getSectionsLength(),c=100/cc.getPagesLength()),scale=.9*Math.min(b,c);var d=(100-cc.getSectionsLength()*scale)/2,e=(100-cc.getPagesLength()*scale)/2;_a.style[Kb]="translate("+d+"%, "+e+"%) scale("+scale/100+", "+scale/100+")"}}function K(a){if(a){scale=gb;var b,c,d=cc.getPageIndex();Jb===!0?(b=50-scale*d.section-scale/2,c=50-scale*d.page-scale/2):(c=50-scale*d.section-scale/2,b=50-scale*d.page-scale/2),_a.style[Kb]="translate("+c+"%, "+b+"%) scale("+scale/100+", "+scale/100+")"}}function L(a){var b=a.target.tagName;"INPUT"!=b&&"TEXTAREA"!=b&&"SELECT"!=b&&a.keyCode>=37&&a.keyCode<=40&&a.preventDefault()}function M(a){if(zb){var b=a.target.tagName;if("INPUT"!==b&&"TEXTAREA"!==b&&"SELECT"!==b)switch(a.preventDefault(),a.keyCode){case 27:F(!0);break;case 33:rb?X(a.shiftKey):_();break;case 34:rb?W(a.shiftKey):aa();break;case 35:$();break;case 36:Z();break;case 37:Jb===!0?X(a.shiftKey):V(null,a.shiftKey);break;case 39:Jb===!0?W(a.shiftKey):U(null,a.shiftKey);break;case 38:Jb===!0?V(null,a.shiftKey):X(a.shiftKey);break;case 40:Jb===!0?U(null,a.shiftKey):W(a.shiftKey);break;case 13:jb&&Y(cc.getCurrentHilited())}}}function N(a,b,c,d){oc=isNaN(parseInt(b))?oc:b,pc=d===!0||!1,a===!0&&c!==!1&&O()}function O(){mc=!0,clearTimeout(nc),qc=Date.now(),nc=setTimeout(function(){W(pc),O()},oc-rc),rc=0}function P(){mc=!1,rc=Date.now()-qc,clearTimeout(nc)}function Q(){mc=!1,clearTimeout(nc),qc=0,rc=0}function R(){qb&&null===hb&&B(),document.location.hash.length>0?(S(!0),c(null,!0)):R.arguments.length>0?Y.apply(this,R.arguments):(Y(0,0),D())}function S(a){Hb=!0,_a.style[Brav1Toolbox.getPrefixed("transition-duration")]="0ms",a===!0&&setTimeout(T,Ib)}function T(a){Hb=!1,a===!0?setTimeout(function(){_a.style[Brav1Toolbox.getPrefixed("transition-duration")]=""+Ib/1e3+"s"},Ib):_a.style[Brav1Toolbox.getPrefixed("transition-duration")]=""+Ib/1e3+"s"}function U(a,b){a=void 0!==a?a:Rb,b===!0&&(a=!Rb);var c=cc.getNextSection(a,lb);void 0!==c?w(c):jb&&kb&&I()}function V(a,b){a=void 0!==a?a:Rb,b===!0&&(a=!Rb);var c=cc.getPrevSection(a,lb);void 0!==c?w(c):jb&&kb&&I()}function W(a){var b=cc.getNextPage(a);b!==!1&&(void 0!==b?w(b):jb&&kb&&I())}function X(a){var b=cc.getPrevPage(a);b!==!1&&(void 0!==b?w(b):jb&&kb&&I())}function Y(){var a=Y.arguments;if(a.length>0){var b=null;if(1==a.length)if("Object"===Brav1Toolbox.typeOf(a[0])){var c=a[0],d=c.section,e=c.page;if(null!==d&&void 0!==d){var f=document.querySelector(Ma+"[data-id="+u(d)+"]");if(null!==e&&void 0!==e&&(b=f.querySelector(Oa+"[data-id="+u(e)+"]"),null!==b))return void w(b)}}else void 0!==a[0].nodeName&&w(a[0],null,!0);if("Number"===Brav1Toolbox.typeOf(a[0])||0===a[0])return b=cc.getPageByIndex(a[1],a[0]),void w(b)}}function Z(){Y(0,0)}function $(){var a=cc.getSectionsLength()-1;Y(a,cc.getPages(a).length-1)}function _(){var a=cc.getPageIndex();Y(a.section,0)}function aa(){var a=cc.getPageIndex();Y(a.section,cc.getPages(a.section).length-1)}function ba(a,b,c){Brav1Toolbox.addListener(document,a,b,c)}function ca(a){lb=a===!0?!0:!1,da(a)}function da(a){mb=a===!0?!0:!1}function ea(a){Ka=a===!0?!0:!1}function fa(a){nb=a===!0?!0:!1,nb===!0&&cc.updateOffsets(),w()}function ga(a){Sb=a===!0?!0:!1}function ha(a){Tb=a===!0?!0:!1}function ia(a){Rb=a===!0?!1:!0}function ja(a){kb=a===!0?!0:!1}function ka(a){ob=a===!0?!0:!1}function la(a){qb=a===!0?!0:!1,qb?(null===hb&&B(),D()):null!==hb&&C()}function ma(a,b){tb=a,ub=void 0===b?tb:b,cc.update()}function na(a){sb=a===!0?!0:!1}function oa(){return cc.getPageIndex().section}function pa(){return cc.getPageIndex().page}function qa(a){pb=a===!0?!0:!1}function ra(a){rb=a===!0?!0:!1}function sa(a,b,c,d){Bb=a===!1?!1:!0,zb=b===!1?!1:!0,xb=c===!1?!1:!0,Ab=d===!1?!1:!0}function ta(a,b,c,d){Bb=a===!1?!0:!1,zb=b===!1?!0:!1,xb=c===!1?!0:!1,Ab=d===!1?!0:!1}function ua(a){Bb=a===!1?!1:!0}function va(a){zb=a===!1?!1:!0}function wa(a){xb=a===!1?!1:!0}function xa(a){Ab=a===!1?!1:!0}function ya(a){Jb!==a&&(Jb=a===!0?!0:!1,Brav1Toolbox.hasClass(_a,Ya)||Jb!==!0?Brav1Toolbox.hasClass(_a,Ya)&&Jb!==!0&&Brav1Toolbox.removeClass(_a,Ya):Brav1Toolbox.addClass(_a,Ya),hb&&(Brav1Toolbox.hasClass(hb,Ya)||Jb!==!0?Brav1Toolbox.hasClass(hb,Ya)&&Jb!==!0&&Brav1Toolbox.removeClass(hb,Ya):Brav1Toolbox.addClass(hb,Ya)),cc.updateOffsets(),w())}function za(a){Wb!==a&&(Wb=a===!0?!0:!1,Brav1Toolbox.hasClass(_a,Za)||Wb!==!0?Brav1Toolbox.hasClass(_a,Za)&&Wb!==!0&&Brav1Toolbox.removeClass(_a,Za):Brav1Toolbox.addClass(_a,Za),cc.updateOffsets(),w())}function Aa(a){Gb=a}function Ba(a){Ib=a,_a.style[Brav1Toolbox.getPrefixed("transition-duration")]=""+Ib+"ms"}function Ca(){return Ib}function Da(a){Eb=a}function Ea(a){$b=a}function Fa(a){Ub=a===!0?!0:!1}function Ga(a){Vb=a===!0?!0:!1}function Ha(a){Mb=a===!1?!1:!0}var Ia=!1;("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&(Ia=!0);var Ja,Ka=window.history.pushState,La="ft-section",Ma="."+La,Na="ft-page",Oa="."+Na,Pa="ft-fragment",Qa="."+Pa,Ra="revealed",Sa="actual",Ta="revealed-temp",Ua="ft-default-progress",Va="ft-section-thumb",Wa="ft-page-thumb",Xa="."+Wa,Ya="ft-cross",Za="ft-scroll-the-section",$a="flowtimenavigation",_a=document.querySelector(".flowtime"),ab=_a.parentNode,bb=(document.querySelector("html"),document.querySelector("body")),cb=!1,db="",eb={section:0,page:0},fb=document.title,gb=22,hb=null,ib=0,jb=!1,kb=!1,lb=!1,mb=!0,nb=!1,ob=!1,pb=!1,qb=!1,rb=!1,sb=!1,tb=50,ub=50,vb=null!==document.querySelector(".parallax"),wb=!1,xb=!0,yb=!0,zb=!0,Ab=!0,Bb=!0,Cb=!1,Db=0,Eb=2e3,Fb=!0,Gb=1e3,Hb=!1,Ib=500,Jb=Brav1Toolbox.hasClass(_a,Ya),Kb=Brav1Toolbox.getPrefixed("transform"),Lb=Brav1Toolbox.testCSS("transform"),Mb=!0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=!1,Sb=!1,Tb=!1,Ub=!1,Vb=!1,Wb=Brav1Toolbox.hasClass(_a,Za),Xb=[],Yb=0,Zb=!1,$b=null;!function(){var a=Brav1Toolbox.getCSSValue(_a,"transitionDuration"),b=parseFloat(a),c=a.replace(""+b,"");!isNaN(b)&&b>0&&("s"===c?Ib=1e3*b:"ms"===c&&(Ib=b)),Ba(Ib),Eb=4*Ib}();var _b=!0;try{var ac=document.querySelector("html").className.toLowerCase();(-1!=ac.indexOf("ie7")||-1!=ac.indexOf("ie8")||-1!=ac.indexOf("lt-ie9"))&&(_b=!1)}catch(bc){_b=!1}_b&&Brav1Toolbox.addClass(ab,"ft-absolute-nav"),window.onload=function(){cc.updateOffsets()};var cc=function(){function a(){_=[],fa=[],ba=document.querySelectorAll(Qa),ca=[],$=_a.querySelectorAll(".flowtime > "+Ma),aa=_a.querySelectorAll(".flowtime "+Oa);for(var a=0;a<$.length;a++){var c=[],e=$[a];ca[a]=[],ea[a]=[],ib+=1,e.getAttribute("data-id")?e.setAttribute("data-id","__"+v(e.getAttribute("data-id"))):e.setAttribute("data-id","__"+ib),e.getAttribute("data-prog")?e.setAttribute("data-prog","__"+v(e.getAttribute("data-prog"))):e.setAttribute("data-prog","__"+ib),e.index=a,e.setAttribute("id",""),pages=e.querySelectorAll(Oa),ia+=pages.length,ha=Math.max(ha,pages.length);for(var f=0;f<pages.length;f++){var g=pages[f];if(g.getAttribute("data-id")?g.setAttribute("data-id","__"+v(g.getAttribute("data-id"))):g.setAttribute("data-id","__"+(f+1)),g.getAttribute("data-prog")?g.setAttribute("data-prog","__"+v(g.getAttribute("data-prog"))):g.setAttribute("data-prog","__"+(f+1)),g.index=f,g.setAttribute("id",""),!g.getAttribute("data-title")){var h=g.querySelector("h1");null!==h&&""!==h.textContent.lenght&&g.setAttribute("data-title",h.textContent)}b(g,a,f),c.push(g);var i=g.querySelectorAll(Qa);ca[a][f]=i,ea[a][f]=-1}_.push(c)}ga=$.length,A(),d()}function b(a,b,c){if(vb){void 0===fa[b]&&(fa[b]=[]),void 0===fa[b][c]&&(fa[b][c]=[]);var d=a.querySelectorAll(".parallax");if(d.length>0)for(var e=0;e<d.length;e++){var f=d[e],g=tb,h=ub;if(null!==f.getAttribute("data-parallax")){var i=f.getAttribute("data-parallax").split(",");g=h=i[0],i.length>1&&(h=i[1])}f.pX=g,f.pY=h,fa[b][c].push(f)}}}function c(){return fa}function d(){Nb=_a.offsetLeft,Ob=_a.offsetTop;for(var a=0;a<aa.length;a++){var b=aa[a],c=b.offsetParent;0===a&&(Pb=b.offsetLeft-Nb,Qb=b.offsetTop-Ob),Jb===!0?(b.x=b.offsetLeft-(Nb+Pb),b.y=c.offsetTop):(b.x=c.offsetLeft,b.y=b.offsetTop-(Ob+Qb))}}function e(a,b){var c=ka,d=jb===!0?!1:a;if(!(b===!0&&ca[ja][ka].length>0&&ea[ja][ka]<ca[ja][ka].length-1&&d!==!0&&io===!1)){c=0,d===!0&&ja+1<=_.length-1?c=0:(d!==!0||mb===!0||ja+1>_.length-1)&&(c=ka);var e=Math.min(ja+1,_.length-1);return ja=pb===!0&&e===ja?0:e,jb||(Ub===!0&&void 0!==Xb[ja]&&(c=Xb[ja]),Vb===!0&&(c=Yb)),h(_[ja],c)}return l(ja,ka),k(_[ja][ka])}function g(a,b){var c=ka,d=jb===!0?!1:a;if(!(b===!0&&ca[ja][ka].length>0&&ea[ja][ka]>=0&&d!==!0&&jb===!1)){c=0,d===!0&&ja-1>=0?c=0:(d!==!0||mb===!0||0>ja-1)&&(c=ka);var e=Math.max(ja-1,0);return ja=pb===!0&&e===ja?_.length-1:e,jb||(Ub===!0&&Xb[ja]>=0&&(c=Xb[ja]),Vb===!0&&(c=Yb)),h(_[ja],c)}return m(ja,ka),k(_[ja][ka])}function h(a,b){var c=a[b];if(void 0===c)if(Tb===!0)c=a[0],b=0;else for(var d=b;d>=0;d--)if(void 0!==a[d]){c=a[d],b=d;break}return ka=b,jb||p(),k(c)}function i(a){if(ca[ja][ka].length>0&&ea[ja][ka]<ca[ja][ka].length-1&&a!==!0&&jb===!1)l(ja,ka);else if(void 0===_[ja][ka+1]){if(Mb===!1)return!1;void 0!==_[ja+1]?(ja+=1,ka=0):void 0===_[ja+1]&&pb===!0&&(ja=0,ka=0)}else ka=Math.min(ka+1,_[ja].length-1);return k(_[ja][ka])}function j(a){if(ca[ja][ka].length>0&&ea[ja][ka]>=0&&a!==!0&&jb===!1)m(ja,ka);else if(0===ka){if(Mb===!1)return!1;void 0!==_[ja-1]?(ja-=1,ka=Sb===!0?0:_[ja].length-1):void 0===_[ja-1]&&pb===!0&&(ja=_.length-1,ka=Sb===!0?0:_[ja].length-1)}else ka=Math.max(ka-1,0);return k(_[ja][ka])}function k(a){return jb===!0?void X(a):a}function l(a,b,c){void 0!==c?ea[a][b]=c:c=ea[a][b]+=1;for(var d=0;c>=d;d++)Brav1Toolbox.addClass(ca[a][b][d],Ra),Brav1Toolbox.removeClass(ca[a][b][d],Sa);Brav1Toolbox.addClass(ca[a][b][c],Sa)}function m(a,b,c){void 0!==c?ea[a][b]=c:c=ea[a][b];for(var d=0;d<ca[a][b].length;d++)d>=c&&(Brav1Toolbox.removeClass(ca[a][b][d],Ra),Brav1Toolbox.removeClass(ca[a][b][d],Ta)),Brav1Toolbox.removeClass(ca[a][b][d],Sa);c-=1,c>=0&&Brav1Toolbox.addClass(ca[a][b][c],Sa),ea[a][b]=c}function n(){for(var a=0;a<ba.length;a++)Brav1Toolbox.addClass(ba[a],Ta)}function o(){for(var a=0;a<ba.length;a++)Brav1Toolbox.removeClass(ba[a],Ta)}function p(){for(var a=0;a<ca.length;a++)for(var b=ca[a],c=0;c<b.length;c++){var d=b[c];if(d.length>0)if(a>ja)for(f=d.length-1;f>=0;f--)m(a,c,f);else if(ja>a)for(f=0;f<d.length;f++)l(a,c,f);else if(a==ja)if(c>ka)for(f=d.length-1;f>=0;f--)m(a,c,f);else if(ka>c)for(f=0;f<d.length;f++)l(a,c,f);else if(c==ka){if(mb===!0&&(eb.section>cc.getPageIndex().section||eb.page>cc.getPageIndex().page))for(f=0;f<d.length;f++)l(a,c,f);else for(f=d.length-1;f>=0;f--)m(a,c,f);ea[a][c]=mb===!1?-1:eb.section>cc.getPageIndex().section||eb.page>cc.getPageIndex().page?d.length-1:-1}}}function r(a){return ja}function s(a){return ka}function u(){return $}function w(a){return _[a]}function x(){return aa}function y(a){return _[a].length}function z(){return ga}function B(){return ha}function C(){return ia}function D(a){var b=ja,c=ka;return void 0!==a&&(b=a.parentNode.index,c=a.index),{section:b,page:c}}function E(a){return $[a]}function F(a,b){return _[b][a]}function G(){return $[ja]}function H(){return _[ja][ka]}function I(){var a=ja-1;if(0>a){if(pb!==!0)return null;a=_.length-1}return a}function J(){var a=I();return null===a?null:$[a]}function K(){var a=ka-1;if(0>a){if(0===ja&&pb){var b=_.length-1;return _[b][_[b].length-1]}return ja>0?_[ja-1][_[ja-1].length-1]:null}return _[ja][a]}function L(){var a=ja+1;if(a>_.length-1){if(pb!==!0)return null;a=0}return a}function M(){var a=L();return null===a?null:$[a]}function N(){var a=ka+1;return a>_[ja].length-1?ja===_.length-1&&pb?_[0][0]:ja<_.length-1?_[ja+1][0]:null:_[ja][a]}function O(){return ca[ja][ka][P()]}function P(){return ea[ja][ka]}function Q(){return ja<$.length-1}function R(){return ja>0}function S(){return ka<_[ja].length-1}function T(){return ka>0}function U(){if(0===ja&&0===ka)return 0;for(var a=0,b=0;ja>b;b++)a+=_[b].length;return a+=_[ja][ka].index+1}function V(a){a&&(ka=D(a).page,ja=D(a).section);var b="",c=$[ja];if(b+=t(c),_[ja].length>0){var d=_[ja][ka];b+="/"+t(d)}return b}function W(a){var b=q(a);if(b){for(var c=b.parentNode,d=0;d<_.length;d++){var e=_[d];if($[d]===c){ja=d;for(var f=0;f<e.length;f++)if(e[f]===b){ka=f;break}}}p()}return b}function X(a,b){for(var c=a.parentNode.index,d=0;d<_.length;d++)for(var e=_[d],f=0;f<e.length;f++){var g=e[f];Brav1Toolbox.removeClass(g,"past-section"),Brav1Toolbox.removeClass(g,"future-section"),Brav1Toolbox.removeClass(g,"past-page"),Brav1Toolbox.removeClass(g,"future-page"),g!==a&&(Brav1Toolbox.removeClass(g,"hilite"),jb===!1&&g!==H()&&Brav1Toolbox.removeClass(g,"actual"),c>d?Brav1Toolbox.addClass(g,"past-section"):d>c&&Brav1Toolbox.addClass(g,"future-section"),g.index<a.index?Brav1Toolbox.addClass(g,"past-page"):g.index>a.index&&Brav1Toolbox.addClass(g,"future-page"))}Brav1Toolbox.addClass(a,"hilite"),b&&Z(a),da=a}function Y(){return da}function Z(a){Brav1Toolbox.addClass(a,"actual")}var $,_,aa,ba,ca,da,ea=[],fa=[],ga=0,ha=0,ia=0,ja=0,ka=0;return a(),{update:a,updateFragments:p,showFragments:n,hideFragments:o,getSection:r,getPage:s,getSections:u,getPages:w,getAllPages:x,getNextSection:e,getPrevSection:g,getNextPage:i,getPrevPage:j,getSectionLength:y,getSectionsLength:z,getPagesLength:B,getPagesTotalLength:C,getPageIndex:D,getSectionByIndex:E,getPageByIndex:F,getCurrentSection:G,getCurrentPage:H,getPrevSectionObject:J,getPrevPageObject:K,getNextSectionObject:M,getNextPageObject:N,getCurrentFragment:O,getCurrentFragmentIndex:P,getProgress:U,getHash:V,setPage:W,switchActivePage:X,getCurrentHilited:Y,hasNextSection:Q,hasPrevSection:R,hasNextPage:S,hasPrevPage:T,updateOffsets:d,getParallaxElements:c}}();_b&&(Ia&&Brav1Toolbox.addListener(document,"touchend",function(b){a(b)},!1),Brav1Toolbox.addListener(document,"click",a,!1)),cb===!1&&window.history.pushState?window.onpopstate=b:cb=!0,Brav1Toolbox.addListener(window,"hashchange",c);var dc=_a.offsetX,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc="x",lc=100;Ia&&(_a.addEventListener("touchstart",e,!1),_a.addEventListener("touchmove",g,!1),_a.addEventListener("touchend",h,!1)),Brav1Toolbox.addListener(window,"scroll",k),addWheelListener(_a,l);!function(){function a(){b(),jb||(d=setTimeout(c,300))}function b(){clearTimeout(d)}function c(){cc.updateOffsets(),w()}var d=0/0;return Brav1Toolbox.addListener(window,"resize",a),window.addEventListener("orientationchange",a,!1),{enable:a,disable:b}}();Brav1Toolbox.addListener(window,"keydown",L),Brav1Toolbox.addListener(window,"keyup",M);var mc=!1,nc=0,oc=1e4,pc=!1,qc=0,rc=0;return{start:R,updateNavigation:r,nextSection:U,prevSection:V,next:W,prev:X,nextFragment:W,prevFragment:X,gotoPage:Y,gotoHome:Z,gotoTop:_,gotoBottom:aa,gotoEnd:$,toggleOverview:F,showOverview:G,fragmentsOnSide:ca,fragmentsOnBack:da,useHistory:ea,slideInPx:fa,useOverviewVariant:ja,twoStepsSlide:ka,showProgress:la,defaultParallaxValues:ma,parallaxInPx:na,addEventListener:ba,getDefaultProgress:E,getSection:cc.getCurrentSection,getPage:cc.getCurrentPage,getSectionIndex:oa,getPageIndex:pa,getPrevSection:cc.getPrevSectionObject,getNextSection:cc.getNextSectionObject,getPrevPage:cc.getPrevPageObject,getNextPage:cc.getNextPageObject,autoplay:N,play:O,pause:P,stop:Q,loop:qa,clicker:ra,mouseDragEnabled:d,enableNavigation:sa,disableNavigation:ta,setLinksNavigation:ua,setKeyboardNavigation:va,setScrollNavigation:wa,setTouchNavigation:xa,setCrossDirection:ya,setDebouncingDelay:Aa,setTransitionTime:Ba,setMomentumScrollDelay:Da,getTransitionTime:Ca,onNavigation:Ea,gridNavigation:ia,backFromPageToTop:ga,nearestPageToTop:ha,rememberSectionsStatus:Fa,rememberSectionsLastPage:Ga,scrollTheSection:za,toSectionsFromPages:Ha}}();<commit_msg>Fixed Grid Navigation False issue #65<commit_after>/*!
 * Brav1Toolbox.js - common utility scripts and polyfills
 * http://marcolago.com/
 * MIT licensed
 *
 * Copyright (C) 2012-now <NAME>, http://marcolago.com
 */
var Brav1Toolbox=function(){function a(){return window.getComputedStyle?window.getComputedStyle(document.body):document.documentElement.style}function b(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)}function c(a,b,c){a.removeEventListener?a.removeEventListener(b,c):a.detachEvent&&a.detachEvent("on"+b,c)}function d(a){return""!=e(a)}function e(b){for(var c=n||a(),d=0;d<m.length;d++){var e=m[d].replace(/-/g,""),f=b;if(e.length>0&&(f=f.charAt(0).toUpperCase()+f.substr(1)),f=e+f,f in c==1)return f}return""}function f(a,b){var c=e(b);return window.getComputedStyle?window.getComputedStyle(a)[c]:a.style[c]}function g(a){return!!a&&Object.prototype.toString.call(a).match(/(\w+)\]/)[1]}function h(a,b){if(a.classList)a.classList.add(b);else if(0==j(a,b)){var c=a.className;c.length>0&&(c+=" "),a.className=c+b}}function i(a,b){if(a.classList)a.classList.remove(b);else{var c=a.className;-1!=c.indexOf(b)&&(c=-1!=c.indexOf(" "+b)?c.replace(" "+b,""):-1!=c.indexOf(b+" ")?c.replace(b+" ",""):c.replace(b,"")),a.className=c}}function j(a,b){if(a){if(a.classList)return a.classList.contains(b);if(a.className)return-1!=a.className.indexOf(b)}return!1}function k(a,b){if(document.createEvent){var c=document.createEvent("HTMLEvents");c.initEvent(a,!0,!0);for(var d in b)c[d]=b[d];document.dispatchEvent(c)}}function l(a,b){var c,d;return c=b.x-a.x,c*=c,d=b.y-a.y,d*=d,Math.abs(Math.sqrt(c+d))}var m=["","-webkit-","-moz-","-ms-","-o-"],n=a();return{addListener:b,removeListener:c,dispatchEvent:k,testCSS:d,getPrefixed:e,getCSSValue:f,typeOf:g,addClass:h,removeClass:i,hasClass:j,distance:l}}();!function(a,b){function c(b,c,g,h){b[d](f+c,"wheel"==e?g:function(b){!b&&(b=a.event);var c={originalEvent:b,target:b.target||b.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"==b.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){b.preventDefault?b.preventDefault():b.returnValue=!1}};return"mousewheel"==e?(c.deltaY=-1/40*b.wheelDelta,b.wheelDeltaX&&(c.deltaX=-1/40*b.wheelDeltaX)):c.deltaY=b.detail,g(c)},h||!1)}var d,e,f="";a.addEventListener?d="addEventListener":(d="attachEvent",f="on"),e="onwheel"in b.createElement("div")?"wheel":void 0!==b.onmousewheel?"mousewheel":"DOMMouseScroll",a.addWheelListener=function(a,b,d){c(a,e,b,d),"DOMMouseScroll"==e&&c(a,"MozMousePixelScroll",b,d)}}(window,document);/*!
 * Flowtime.js
 * http://marcolago.com/flowtime-js/
 * MIT licensed
 *
 * Copyright (C) 2012-now <NAME>, http://marcolago.com
 */
var Flowtime=function(){function a(a){if(Bb){if("A"===a.target.nodeName||"A"===a.target.parentNode.nodeName){var b=a.target.getAttribute("href")||a.target.parentNode.getAttribute("href");if("#"===b)return void a.preventDefault();if(b&&(a.target.blur(),"#"==b.substr(0,1))){a.preventDefault();var c=cc.setPage(b);w(c,!0,!0)}}if(jb){for(var d=a.target;d&&!Brav1Toolbox.hasClass(d,Na);)d=d.parentNode;Brav1Toolbox.hasClass(d,Na)&&(a.preventDefault(),w(d,null,!0))}if(Brav1Toolbox.hasClass(a.target,Wa)){a.preventDefault();var e=Number(v(a.target.getAttribute("data-section"))),f=Number(v(a.target.getAttribute("data-page")));Y(e,f)}}}function b(a){cb=!1;var b;b=a.state?a.state.token.replace("#/",""):document.location.hash.replace("#/","");var c=cc.setPage(b);w(c,!1)}function c(a,b){if(cb||b){var c=document.location.hash.replace("#/",""),d=cc.setPage(c);w(d,!1)}}function d(a){wb=a,wb?(Brav1Toolbox.addListener(_a,"mousedown",e,!1),Brav1Toolbox.addListener(_a,"mouseup",h,!1)):(Brav1Toolbox.removeListener(_a,"mousedown",e),Brav1Toolbox.removeListener(_a,"mouseup",h))}function e(a){hc=0,ic=0,a=i(a),fc=a.clientX,gc=a.clientY,jc=1;var b=j();dc=b.x,ec=b.y,wb&&Brav1Toolbox.addListener(_a,"mousemove",g,!1)}function g(a){a.preventDefault(),a=i(a),hc=a.clientX-fc,ic=a.clientY-gc}function h(a){if(Ab&&(Math.abs(hc)>=lc||Math.abs(ic)>=lc))if(a=i(a),jc=0,kc=Math.abs(hc)>=Math.abs(ic)?"x":"y","x"==kc&&Math.abs(hc)>=lc){if(hc>0)return void(Jb===!0?X():V(void 0,!1));if(0>hc)return void(Jb===!0?W():U(void 0,!1))}else{if(ic>0&&Math.abs(ic)>=lc)return void(Jb===!0?V(void 0,!1):X());if(0>ic)return void(Jb===!0?U(void 0,!1):W())}Brav1Toolbox.removeListener(_a,"mousemove",g)}function i(a){return a.touches&&(a=a.touches[0]),a}function j(){var a=_a.style[Kb],b=a.indexOf("translateX(")+11,c=a.substring(b,a.indexOf(")",b));-1!=c.indexOf("%")?(c=c.replace("%",""),c=parseInt(c)/100*window.innerWidth):-1!=c.indexOf("px")&&(c=parseInt(c.replace("px","")));var d=a.indexOf("translateY(")+11,e=a.substring(d,a.indexOf(")",d));return-1!=e.indexOf("%")?(e=e.replace("%",""),e=parseInt(e)/100*window.innerHeight):-1!=e.indexOf("px")&&(e=parseInt(e.replace("px",""))),{x:c,y:e}}function k(a){a.preventDefault(),A()}function l(a){var b=a.target;yb=m(b);var c=yb===!0?!1:xb;Cb===!1&&c===!0&&p(a)}function m(a){for(var b=!1,c=a;c.className&&c.className.indexOf("ft-page")<0;)c.scrollHeight>c.clientHeight-1&&(b=!0),c=c.parentNode;return-1!=c.className.indexOf("ft-page")&&c.scrollHeight>c.clientHeight-1&&(b=!0),b===!0&&((c.scrollHeight-c.scrollTop===c.clientHeight||0===c.scrollTop&&c.alreadyScrolled&&c.alreadyScrolled===!0)&&(b=!1),c.alreadyScrolled=!0),b}function n(){clearTimeout(Db),Cb=!1}function o(){Db=setTimeout(n,Eb)}function p(a){Cb=!0,o(),0===a.deltaY?a.deltaX>0?Jb===!0?W():U(void 0,a.shiftKey):a.deltaX<0&&(Jb===!0?X():V(void 0,a.shiftKey)):a.deltaY>0?Jb===!0?U(void 0,a.shiftKey):W():a.deltaY<0&&(Jb===!0?V(void 0,a.shiftKey):X())}function q(a){if(a.length>0){var b=a.replace("#/","").split("/");if(b.length>0){var c=document.querySelectorAll(Ma+"[data-prog=__"+b[0]+"]"),d=document.querySelectorAll(Ma+"[data-id=__"+b[0]+"]"),e=c.length>0?c:d,f=null,g=null;if(null!==e){for(var h=0;h<e.length&&(g=e[h],b.length>1&&(f=g.querySelector(Oa+"[data-prog=__"+b[1]+"]")||g.querySelector(Oa+"[data-id=__"+b[1]+"]")),null===f);h++);null===f&&g&&(f=g.querySelector(Oa))}return f}}}function r(a){Fb=a===!1?!1:!0;var b=cc.getCurrentPage();cc.update(),w(b,!1,!1,!1),qb===!0&&B()}function s(a){var b=fb,c=cc.getCurrentPage().getAttribute("data-title");if(null===c)for(var d=a.split("/"),e=0;e<d.length;e++)b+=" | "+d[e];else null!==cc.getCurrentSection().getAttribute("data-title")&&(b+=" | "+cc.getCurrentSection().getAttribute("data-title")),b+=" | "+c;document.title=b}function t(a){var b=a.getAttribute("data-id"),c=a.getAttribute("data-prog"),d="";return null!==b?d=b.replace(/__/,""):null!==c&&(d=c.replace(/__/,"")),d}function u(a){return"__"!=a.substr(0,2)?"__"+a:a}function v(a){return"__"==a.substr(0,2)?a.replace(/__/,""):a}function w(a,b,c,d){b=b===!1?b:!0,a||(a=null!==cc.getCurrentPage()?cc.getCurrentPage():document.querySelector(Oa),b=!0),d===!1?S():Hb===!0&&T(),y(a),Hb===!0&&T(!0),z(a),jb&&F(!1,!1);var e=cc.getHash(a);c===!0&&cc.updateFragments();var f=cc.getPageIndex(a);if(eb.section!=f.section||eb.page!=f.page)if(null!==Ka&&b!==!1&&-1===cc.getCurrentFragmentIndex()){var g={token:e},h="#/"+e;db=h;try{window.history.pushState(g,null,db)}catch(i){Zb===!0&&console.log(i)}}else document.location.hash="/"+e;s(e),Xb[f.section]=f.page,eb.section===f.section&&eb.page!==f.page&&(Yb=f.page),x(),eb=f,cc.switchActivePage(a,!0),qb&&D()}function x(){if(Fb!==!1){var a=cc.getPageIndex(),b={section:cc.getCurrentSection(),page:cc.getCurrentPage(),sectionIndex:a.section,pageIndex:a.page,pastSectionIndex:eb.section,pastPageIndex:eb.page,prevSection:cc.hasPrevSection(),nextSection:cc.hasNextSection(),prevPage:cc.hasPrevPage(),nextPage:cc.hasNextPage(),fragment:cc.getCurrentFragment(),fragmentIndex:cc.getCurrentFragmentIndex(),isOverview:jb,progress:cc.getProgress(),total:cc.getPagesTotalLength(),isLoopable:pb,clickerMode:rb,isAutoplay:mc};Brav1Toolbox.dispatchEvent($a,b),null!==$b&&$b(b)}else Fb=!0}function y(a){var b,c,d=cc.getPageIndex(a);if(nb===!0?(b=a.x,c=a.y):Jb===!0?(c=d.section,b=d.page):(b=d.section,c=d.page),Wb===!0){var e=a.parentNode,f=_a,g=e;Jb===!0&&(f=e,g=_a),Lb?(f.style[Kb]=nb?"translateX("+-b+"px)":"translateX("+100*-b+"%)",g.style[Kb]=nb?"translateY("+-c+"px)":"translateY("+100*-c+"%)"):(f.style.left=nb?b+"px":100*-b+"%",g.style.top=nb?c+"px":100*-c+"%")}else Lb?_a.style[Kb]=nb?"translateX("+-b+"px) translateY("+-c+"px)":"translateX("+100*-b+"%) translateY("+100*-c+"%)":nb?(_a.style.top=-c+"px",_a.style.left=-b+"px"):(_a.style.top=100*-c+"%",_a.style.left=100*-b+"%");A()}function z(a){if(vb)for(var b=cc.getPageIndex(a),c=cc.getParallaxElements(),d=0;d<c.length;d++){var e=c[d];if(void 0!==e)for(var f=0;f<e.length;f++){var g=e[f];if(void 0!==g)for(var h=0;h<g.length;h++){var i=g[h],j=0,k=0;b.section<d?j=i.pX:b.section>d&&(j=-i.pX),b.page<f?k=i.pY:b.page>f&&(k=-i.pY);var l="%";sb&&(l="px"),i.style[Kb]=Jb===!0?"translateX("+k+l+") translateY("+j+l+")":"translateX("+j+l+") translateY("+k+l+")"}}}}function A(){window.scrollTo(0,0)}function B(){hb&&hb.parentNode.removeChild(hb);var a=document.createDocumentFragment();hb=document.createElement("div"),hb.className=Ua+(Jb===!0?" ft-cross":""),a.appendChild(hb);for(var b=0;b<cc.getSectionsLength();b++){var c=document.createElement("div");c.setAttribute("data-section","__"+b),c.className=Va,Brav1Toolbox.addClass(c,"thumb-section-"+b);for(var d=cc.getPages(b),e=0;e<d.length;e++){var f=document.createElement("div");f.className=Wa,f.setAttribute("data-section","__"+b),f.setAttribute("data-page","__"+e),Brav1Toolbox.addClass(f,"thumb-page-"+e),c.appendChild(f)}hb.appendChild(c)}bb.appendChild(hb),D()}function C(){null!==hb&&(bb.removeChild(hb),hb=null)}function D(){if(null!==hb)for(var a=hb.querySelectorAll(Xa),b=0;b<a.length;b++){var c=a[b],d=Number(v(c.getAttribute("data-section"))),e=Number(v(c.getAttribute("data-page")));d==cc.getPageIndex().section&&e==cc.getPageIndex().page?Brav1Toolbox.addClass(a[b],"actual"):Brav1Toolbox.removeClass(a[b],"actual")}}function E(){return hb}function F(a,b){jb?H(a,b):(Ja=cc.getCurrentPage(),I())}function G(a,b,c){jb!==a&&(jb=!a,F(b,c))}function H(a,b){jb=!1,Brav1Toolbox.removeClass(bb,"ft-overview"),cc.hideFragments(),b=b===!1?!1:!0,b===!0&&(a===!0?w(Ja):w())}function I(){jb=!0,Brav1Toolbox.addClass(bb,"ft-overview"),cc.showFragments(),kb===!1?J(!0):K(!0),x()}function J(a){if(a){var b,c;Jb===!0?(c=100/cc.getSectionsLength(),b=100/cc.getPagesLength()):(b=100/cc.getSectionsLength(),c=100/cc.getPagesLength()),scale=.9*Math.min(b,c);var d=(100-cc.getSectionsLength()*scale)/2,e=(100-cc.getPagesLength()*scale)/2;_a.style[Kb]="translate("+d+"%, "+e+"%) scale("+scale/100+", "+scale/100+")"}}function K(a){if(a){scale=gb;var b,c,d=cc.getPageIndex();Jb===!0?(b=50-scale*d.section-scale/2,c=50-scale*d.page-scale/2):(c=50-scale*d.section-scale/2,b=50-scale*d.page-scale/2),_a.style[Kb]="translate("+c+"%, "+b+"%) scale("+scale/100+", "+scale/100+")"}}function L(a){var b=a.target.tagName;"INPUT"!=b&&"TEXTAREA"!=b&&"SELECT"!=b&&a.keyCode>=37&&a.keyCode<=40&&a.preventDefault()}function M(a){if(zb){var b=a.target.tagName;if("INPUT"!==b&&"TEXTAREA"!==b&&"SELECT"!==b)switch(a.preventDefault(),a.keyCode){case 27:F(!0);break;case 33:rb?X(a.shiftKey):_();break;case 34:rb?W(a.shiftKey):aa();break;case 35:$();break;case 36:Z();break;case 37:Jb===!0?X(a.shiftKey):V(null,a.shiftKey);break;case 39:Jb===!0?W(a.shiftKey):U(null,a.shiftKey);break;case 38:Jb===!0?V(null,a.shiftKey):X(a.shiftKey);break;case 40:Jb===!0?U(null,a.shiftKey):W(a.shiftKey);break;case 13:jb&&Y(cc.getCurrentHilited())}}}function N(a,b,c,d){oc=isNaN(parseInt(b))?oc:b,pc=d===!0||!1,a===!0&&c!==!1&&O()}function O(){mc=!0,clearTimeout(nc),qc=Date.now(),nc=setTimeout(function(){W(pc),O()},oc-rc),rc=0}function P(){mc=!1,rc=Date.now()-qc,clearTimeout(nc)}function Q(){mc=!1,clearTimeout(nc),qc=0,rc=0}function R(){qb&&null===hb&&B(),document.location.hash.length>0?(S(!0),c(null,!0)):R.arguments.length>0?Y.apply(this,R.arguments):(Y(0,0),D())}function S(a){Hb=!0,_a.style[Brav1Toolbox.getPrefixed("transition-duration")]="0ms",a===!0&&setTimeout(T,Ib)}function T(a){Hb=!1,a===!0?setTimeout(function(){_a.style[Brav1Toolbox.getPrefixed("transition-duration")]=""+Ib/1e3+"s"},Ib):_a.style[Brav1Toolbox.getPrefixed("transition-duration")]=""+Ib/1e3+"s"}function U(a,b){a=null!==a?a:Rb,b===!0&&(a=!Rb);var c=cc.getNextSection(a,lb);void 0!==c?w(c):jb&&kb&&I()}function V(a,b){a=null!==a?a:Rb,b===!0&&(a=!Rb);var c=cc.getPrevSection(a,lb);void 0!==c?w(c):jb&&kb&&I()}function W(a){var b=cc.getNextPage(a);b!==!1&&(void 0!==b?w(b):jb&&kb&&I())}function X(a){var b=cc.getPrevPage(a);b!==!1&&(void 0!==b?w(b):jb&&kb&&I())}function Y(){var a=Y.arguments;if(a.length>0){var b=null;if(1==a.length)if("Object"===Brav1Toolbox.typeOf(a[0])){var c=a[0],d=c.section,e=c.page;if(null!==d&&void 0!==d){var f=document.querySelector(Ma+"[data-id="+u(d)+"]");if(null!==e&&void 0!==e&&(b=f.querySelector(Oa+"[data-id="+u(e)+"]"),null!==b))return void w(b)}}else void 0!==a[0].nodeName&&w(a[0],null,!0);if("Number"===Brav1Toolbox.typeOf(a[0])||0===a[0])return b=cc.getPageByIndex(a[1],a[0]),void w(b)}}function Z(){Y(0,0)}function $(){var a=cc.getSectionsLength()-1;Y(a,cc.getPages(a).length-1)}function _(){var a=cc.getPageIndex();Y(a.section,0)}function aa(){var a=cc.getPageIndex();Y(a.section,cc.getPages(a.section).length-1)}function ba(a,b,c){Brav1Toolbox.addListener(document,a,b,c)}function ca(a){lb=a===!0?!0:!1,da(a)}function da(a){mb=a===!0?!0:!1}function ea(a){Ka=a===!0?!0:!1}function fa(a){nb=a===!0?!0:!1,nb===!0&&cc.updateOffsets(),w()}function ga(a){Sb=a===!0?!0:!1}function ha(a){Tb=a===!0?!0:!1}function ia(a){Rb=a===!0?!1:!0}function ja(a){kb=a===!0?!0:!1}function ka(a){ob=a===!0?!0:!1}function la(a){qb=a===!0?!0:!1,qb?(null===hb&&B(),D()):null!==hb&&C()}function ma(a,b){tb=a,ub=void 0===b?tb:b,cc.update()}function na(a){sb=a===!0?!0:!1}function oa(){return cc.getPageIndex().section}function pa(){return cc.getPageIndex().page}function qa(a){pb=a===!0?!0:!1}function ra(a){rb=a===!0?!0:!1}function sa(a,b,c,d){Bb=a===!1?!1:!0,zb=b===!1?!1:!0,xb=c===!1?!1:!0,Ab=d===!1?!1:!0}function ta(a,b,c,d){Bb=a===!1?!0:!1,zb=b===!1?!0:!1,xb=c===!1?!0:!1,Ab=d===!1?!0:!1}function ua(a){Bb=a===!1?!1:!0}function va(a){zb=a===!1?!1:!0}function wa(a){xb=a===!1?!1:!0}function xa(a){Ab=a===!1?!1:!0}function ya(a){Jb!==a&&(Jb=a===!0?!0:!1,Brav1Toolbox.hasClass(_a,Ya)||Jb!==!0?Brav1Toolbox.hasClass(_a,Ya)&&Jb!==!0&&Brav1Toolbox.removeClass(_a,Ya):Brav1Toolbox.addClass(_a,Ya),hb&&(Brav1Toolbox.hasClass(hb,Ya)||Jb!==!0?Brav1Toolbox.hasClass(hb,Ya)&&Jb!==!0&&Brav1Toolbox.removeClass(hb,Ya):Brav1Toolbox.addClass(hb,Ya)),cc.updateOffsets(),w())}function za(a){Wb!==a&&(Wb=a===!0?!0:!1,Brav1Toolbox.hasClass(_a,Za)||Wb!==!0?Brav1Toolbox.hasClass(_a,Za)&&Wb!==!0&&Brav1Toolbox.removeClass(_a,Za):Brav1Toolbox.addClass(_a,Za),cc.updateOffsets(),w())}function Aa(a){Gb=a}function Ba(a){Ib=a,_a.style[Brav1Toolbox.getPrefixed("transition-duration")]=""+Ib+"ms"}function Ca(){return Ib}function Da(a){Eb=a}function Ea(a){$b=a}function Fa(a){Ub=a===!0?!0:!1}function Ga(a){Vb=a===!0?!0:!1}function Ha(a){Mb=a===!1?!1:!0}var Ia=!1;("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&(Ia=!0);var Ja,Ka=window.history.pushState,La="ft-section",Ma="."+La,Na="ft-page",Oa="."+Na,Pa="ft-fragment",Qa="."+Pa,Ra="revealed",Sa="actual",Ta="revealed-temp",Ua="ft-default-progress",Va="ft-section-thumb",Wa="ft-page-thumb",Xa="."+Wa,Ya="ft-cross",Za="ft-scroll-the-section",$a="flowtimenavigation",_a=document.querySelector(".flowtime"),ab=_a.parentNode,bb=(document.querySelector("html"),document.querySelector("body")),cb=!1,db="",eb={section:0,page:0},fb=document.title,gb=22,hb=null,ib=0,jb=!1,kb=!1,lb=!1,mb=!0,nb=!1,ob=!1,pb=!1,qb=!1,rb=!1,sb=!1,tb=50,ub=50,vb=null!==document.querySelector(".parallax"),wb=!1,xb=!0,yb=!0,zb=!0,Ab=!0,Bb=!0,Cb=!1,Db=0,Eb=2e3,Fb=!0,Gb=1e3,Hb=!1,Ib=500,Jb=Brav1Toolbox.hasClass(_a,Ya),Kb=Brav1Toolbox.getPrefixed("transform"),Lb=Brav1Toolbox.testCSS("transform"),Mb=!0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=!1,Sb=!1,Tb=!1,Ub=!1,Vb=!1,Wb=Brav1Toolbox.hasClass(_a,Za),Xb=[],Yb=0,Zb=!1,$b=null;!function(){var a=Brav1Toolbox.getCSSValue(_a,"transitionDuration"),b=parseFloat(a),c=a.replace(""+b,"");!isNaN(b)&&b>0&&("s"===c?Ib=1e3*b:"ms"===c&&(Ib=b)),Ba(Ib),Eb=4*Ib}();var _b=!0;try{var ac=document.querySelector("html").className.toLowerCase();(-1!=ac.indexOf("ie7")||-1!=ac.indexOf("ie8")||-1!=ac.indexOf("lt-ie9"))&&(_b=!1)}catch(bc){_b=!1}_b&&Brav1Toolbox.addClass(ab,"ft-absolute-nav"),window.onload=function(){cc.updateOffsets()};var cc=function(){function a(){_=[],fa=[],ba=document.querySelectorAll(Qa),ca=[],$=_a.querySelectorAll(".flowtime > "+Ma),aa=_a.querySelectorAll(".flowtime "+Oa);for(var a=0;a<$.length;a++){var c=[],e=$[a];ca[a]=[],ea[a]=[],ib+=1,e.getAttribute("data-id")?e.setAttribute("data-id","__"+v(e.getAttribute("data-id"))):e.setAttribute("data-id","__"+ib),e.getAttribute("data-prog")?e.setAttribute("data-prog","__"+v(e.getAttribute("data-prog"))):e.setAttribute("data-prog","__"+ib),e.index=a,e.setAttribute("id",""),pages=e.querySelectorAll(Oa),ia+=pages.length,ha=Math.max(ha,pages.length);for(var f=0;f<pages.length;f++){var g=pages[f];if(g.getAttribute("data-id")?g.setAttribute("data-id","__"+v(g.getAttribute("data-id"))):g.setAttribute("data-id","__"+(f+1)),g.getAttribute("data-prog")?g.setAttribute("data-prog","__"+v(g.getAttribute("data-prog"))):g.setAttribute("data-prog","__"+(f+1)),g.index=f,g.setAttribute("id",""),!g.getAttribute("data-title")){var h=g.querySelector("h1");null!==h&&""!==h.textContent.lenght&&g.setAttribute("data-title",h.textContent)}b(g,a,f),c.push(g);var i=g.querySelectorAll(Qa);ca[a][f]=i,ea[a][f]=-1}_.push(c)}ga=$.length,A(),d()}function b(a,b,c){if(vb){void 0===fa[b]&&(fa[b]=[]),void 0===fa[b][c]&&(fa[b][c]=[]);var d=a.querySelectorAll(".parallax");if(d.length>0)for(var e=0;e<d.length;e++){var f=d[e],g=tb,h=ub;if(null!==f.getAttribute("data-parallax")){var i=f.getAttribute("data-parallax").split(",");g=h=i[0],i.length>1&&(h=i[1])}f.pX=g,f.pY=h,fa[b][c].push(f)}}}function c(){return fa}function d(){Nb=_a.offsetLeft,Ob=_a.offsetTop;for(var a=0;a<aa.length;a++){var b=aa[a],c=b.offsetParent;0===a&&(Pb=b.offsetLeft-Nb,Qb=b.offsetTop-Ob),Jb===!0?(b.x=b.offsetLeft-(Nb+Pb),b.y=c.offsetTop):(b.x=c.offsetLeft,b.y=b.offsetTop-(Ob+Qb))}}function e(a,b){var c=ka,d=jb===!0?!1:a;if(!(b===!0&&ca[ja][ka].length>0&&ea[ja][ka]<ca[ja][ka].length-1&&d!==!0&&io===!1)){c=0,d===!0&&ja+1<=_.length-1?c=0:(d!==!0||mb===!0||ja+1>_.length-1)&&(c=ka);var e=Math.min(ja+1,_.length-1);return ja=pb===!0&&e===ja?0:e,jb||(Ub===!0&&void 0!==Xb[ja]&&(c=Xb[ja]),Vb===!0&&(c=Yb)),h(_[ja],c)}return l(ja,ka),k(_[ja][ka])}function g(a,b){var c=ka,d=jb===!0?!1:a;if(!(b===!0&&ca[ja][ka].length>0&&ea[ja][ka]>=0&&d!==!0&&jb===!1)){c=0,d===!0&&ja-1>=0?c=0:(d!==!0||mb===!0||0>ja-1)&&(c=ka);var e=Math.max(ja-1,0);return ja=pb===!0&&e===ja?_.length-1:e,jb||(Ub===!0&&Xb[ja]>=0&&(c=Xb[ja]),Vb===!0&&(c=Yb)),h(_[ja],c)}return m(ja,ka),k(_[ja][ka])}function h(a,b){var c=a[b];if(void 0===c)if(Tb===!0)c=a[0],b=0;else for(var d=b;d>=0;d--)if(void 0!==a[d]){c=a[d],b=d;break}return ka=b,jb||p(),k(c)}function i(a){if(ca[ja][ka].length>0&&ea[ja][ka]<ca[ja][ka].length-1&&a!==!0&&jb===!1)l(ja,ka);else if(void 0===_[ja][ka+1]){if(Mb===!1)return!1;void 0!==_[ja+1]?(ja+=1,ka=0):void 0===_[ja+1]&&pb===!0&&(ja=0,ka=0)}else ka=Math.min(ka+1,_[ja].length-1);return k(_[ja][ka])}function j(a){if(ca[ja][ka].length>0&&ea[ja][ka]>=0&&a!==!0&&jb===!1)m(ja,ka);else if(0===ka){if(Mb===!1)return!1;void 0!==_[ja-1]?(ja-=1,ka=Sb===!0?0:_[ja].length-1):void 0===_[ja-1]&&pb===!0&&(ja=_.length-1,ka=Sb===!0?0:_[ja].length-1)}else ka=Math.max(ka-1,0);return k(_[ja][ka])}function k(a){return jb===!0?void X(a):a}function l(a,b,c){void 0!==c?ea[a][b]=c:c=ea[a][b]+=1;for(var d=0;c>=d;d++)Brav1Toolbox.addClass(ca[a][b][d],Ra),Brav1Toolbox.removeClass(ca[a][b][d],Sa);Brav1Toolbox.addClass(ca[a][b][c],Sa)}function m(a,b,c){void 0!==c?ea[a][b]=c:c=ea[a][b];for(var d=0;d<ca[a][b].length;d++)d>=c&&(Brav1Toolbox.removeClass(ca[a][b][d],Ra),Brav1Toolbox.removeClass(ca[a][b][d],Ta)),Brav1Toolbox.removeClass(ca[a][b][d],Sa);c-=1,c>=0&&Brav1Toolbox.addClass(ca[a][b][c],Sa),ea[a][b]=c}function n(){for(var a=0;a<ba.length;a++)Brav1Toolbox.addClass(ba[a],Ta)}function o(){for(var a=0;a<ba.length;a++)Brav1Toolbox.removeClass(ba[a],Ta)}function p(){for(var a=0;a<ca.length;a++)for(var b=ca[a],c=0;c<b.length;c++){var d=b[c];if(d.length>0)if(a>ja)for(f=d.length-1;f>=0;f--)m(a,c,f);else if(ja>a)for(f=0;f<d.length;f++)l(a,c,f);else if(a==ja)if(c>ka)for(f=d.length-1;f>=0;f--)m(a,c,f);else if(ka>c)for(f=0;f<d.length;f++)l(a,c,f);else if(c==ka){if(mb===!0&&(eb.section>cc.getPageIndex().section||eb.page>cc.getPageIndex().page))for(f=0;f<d.length;f++)l(a,c,f);else for(f=d.length-1;f>=0;f--)m(a,c,f);ea[a][c]=mb===!1?-1:eb.section>cc.getPageIndex().section||eb.page>cc.getPageIndex().page?d.length-1:-1}}}function r(a){return ja}function s(a){return ka}function u(){return $}function w(a){return _[a]}function x(){return aa}function y(a){return _[a].length}function z(){return ga}function B(){return ha}function C(){return ia}function D(a){var b=ja,c=ka;return void 0!==a&&(b=a.parentNode.index,c=a.index),{section:b,page:c}}function E(a){return $[a]}function F(a,b){return _[b][a]}function G(){return $[ja]}function H(){return _[ja][ka]}function I(){var a=ja-1;if(0>a){if(pb!==!0)return null;a=_.length-1}return a}function J(){var a=I();return null===a?null:$[a]}function K(){var a=ka-1;if(0>a){if(0===ja&&pb){var b=_.length-1;return _[b][_[b].length-1]}return ja>0?_[ja-1][_[ja-1].length-1]:null}return _[ja][a]}function L(){var a=ja+1;if(a>_.length-1){if(pb!==!0)return null;a=0}return a}function M(){var a=L();return null===a?null:$[a]}function N(){var a=ka+1;return a>_[ja].length-1?ja===_.length-1&&pb?_[0][0]:ja<_.length-1?_[ja+1][0]:null:_[ja][a]}function O(){return ca[ja][ka][P()]}function P(){return ea[ja][ka]}function Q(){return ja<$.length-1}function R(){return ja>0}function S(){return ka<_[ja].length-1}function T(){return ka>0}function U(){if(0===ja&&0===ka)return 0;for(var a=0,b=0;ja>b;b++)a+=_[b].length;return a+=_[ja][ka].index+1}function V(a){a&&(ka=D(a).page,ja=D(a).section);var b="",c=$[ja];if(b+=t(c),_[ja].length>0){var d=_[ja][ka];b+="/"+t(d)}return b}function W(a){var b=q(a);if(b){for(var c=b.parentNode,d=0;d<_.length;d++){var e=_[d];if($[d]===c){ja=d;for(var f=0;f<e.length;f++)if(e[f]===b){ka=f;break}}}p()}return b}function X(a,b){for(var c=a.parentNode.index,d=0;d<_.length;d++)for(var e=_[d],f=0;f<e.length;f++){var g=e[f];Brav1Toolbox.removeClass(g,"past-section"),Brav1Toolbox.removeClass(g,"future-section"),Brav1Toolbox.removeClass(g,"past-page"),Brav1Toolbox.removeClass(g,"future-page"),g!==a&&(Brav1Toolbox.removeClass(g,"hilite"),jb===!1&&g!==H()&&Brav1Toolbox.removeClass(g,"actual"),c>d?Brav1Toolbox.addClass(g,"past-section"):d>c&&Brav1Toolbox.addClass(g,"future-section"),g.index<a.index?Brav1Toolbox.addClass(g,"past-page"):g.index>a.index&&Brav1Toolbox.addClass(g,"future-page"))}Brav1Toolbox.addClass(a,"hilite"),b&&Z(a),da=a}function Y(){return da}function Z(a){Brav1Toolbox.addClass(a,"actual")}var $,_,aa,ba,ca,da,ea=[],fa=[],ga=0,ha=0,ia=0,ja=0,ka=0;return a(),{update:a,updateFragments:p,showFragments:n,hideFragments:o,getSection:r,getPage:s,getSections:u,getPages:w,getAllPages:x,getNextSection:e,getPrevSection:g,getNextPage:i,getPrevPage:j,getSectionLength:y,getSectionsLength:z,getPagesLength:B,getPagesTotalLength:C,getPageIndex:D,getSectionByIndex:E,getPageByIndex:F,getCurrentSection:G,getCurrentPage:H,getPrevSectionObject:J,getPrevPageObject:K,getNextSectionObject:M,getNextPageObject:N,getCurrentFragment:O,getCurrentFragmentIndex:P,getProgress:U,getHash:V,setPage:W,switchActivePage:X,getCurrentHilited:Y,hasNextSection:Q,hasPrevSection:R,hasNextPage:S,hasPrevPage:T,updateOffsets:d,getParallaxElements:c}}();_b&&(Ia&&Brav1Toolbox.addListener(document,"touchend",function(b){a(b)},!1),Brav1Toolbox.addListener(document,"click",a,!1)),cb===!1&&window.history.pushState?window.onpopstate=b:cb=!0,Brav1Toolbox.addListener(window,"hashchange",c);var dc=_a.offsetX,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc="x",lc=100;Ia&&(_a.addEventListener("touchstart",e,!1),_a.addEventListener("touchmove",g,!1),_a.addEventListener("touchend",h,!1)),Brav1Toolbox.addListener(window,"scroll",k),addWheelListener(_a,l);!function(){function a(){b(),jb||(d=setTimeout(c,300))}function b(){clearTimeout(d)}function c(){cc.updateOffsets(),w()}var d=0/0;return Brav1Toolbox.addListener(window,"resize",a),window.addEventListener("orientationchange",a,!1),{enable:a,disable:b}}();Brav1Toolbox.addListener(window,"keydown",L),Brav1Toolbox.addListener(window,"keyup",M);var mc=!1,nc=0,oc=1e4,pc=!1,qc=0,rc=0;return{start:R,updateNavigation:r,nextSection:U,prevSection:V,next:W,prev:X,nextFragment:W,prevFragment:X,gotoPage:Y,gotoHome:Z,gotoTop:_,gotoBottom:aa,gotoEnd:$,toggleOverview:F,showOverview:G,fragmentsOnSide:ca,fragmentsOnBack:da,useHistory:ea,slideInPx:fa,useOverviewVariant:ja,twoStepsSlide:ka,showProgress:la,defaultParallaxValues:ma,parallaxInPx:na,addEventListener:ba,getDefaultProgress:E,getSection:cc.getCurrentSection,getPage:cc.getCurrentPage,getSectionIndex:oa,getPageIndex:pa,getPrevSection:cc.getPrevSectionObject,getNextSection:cc.getNextSectionObject,getPrevPage:cc.getPrevPageObject,getNextPage:cc.getNextPageObject,autoplay:N,play:O,pause:P,stop:Q,loop:qa,clicker:ra,mouseDragEnabled:d,enableNavigation:sa,disableNavigation:ta,setLinksNavigation:ua,setKeyboardNavigation:va,setScrollNavigation:wa,setTouchNavigation:xa,setCrossDirection:ya,setDebouncingDelay:Aa,setTransitionTime:Ba,setMomentumScrollDelay:Da,getTransitionTime:Ca,onNavigation:Ea,gridNavigation:ia,backFromPageToTop:ga,nearestPageToTop:ha,rememberSectionsStatus:Fa,rememberSectionsLastPage:Ga,scrollTheSection:za,toSectionsFromPages:Ha}}();
{'fraction_non_alphanumeric': 0.30584305244458176, 'fraction_numerical': 0.030200046342782113, 'mean_word_length': 17.77773749093546, 'pattern_counts': {'":': 24, '<': 83, '<?xml version=': 0, '>': 145, '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': '2925959', 'n_tokens_mistral': 23757, 'n_tokens_neox': 23534, 'n_words': 910}