From 17d8ba3e604a73a2e60e7490ba9a1c3e146e0cf3 Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Sat, 30 Dec 2023 10:40:21 +0100 Subject: remove fullpage.js --- apps/website/public/libs/fullpage.min.css | 11 ----------- apps/website/public/libs/fullpage.min.js | 11 ----------- apps/website/public/scripts/scroll.js | 15 --------------- apps/website/src/components/base/Section.astro | 4 +--- apps/website/src/layouts/Layout.astro | 2 -- apps/website/src/pages/projects/oneconfig.astro | 4 ++-- 6 files changed, 3 insertions(+), 44 deletions(-) delete mode 100644 apps/website/public/libs/fullpage.min.css delete mode 100644 apps/website/public/libs/fullpage.min.js delete mode 100644 apps/website/public/scripts/scroll.js (limited to 'apps') diff --git a/apps/website/public/libs/fullpage.min.css b/apps/website/public/libs/fullpage.min.css deleted file mode 100644 index 20e9334..0000000 --- a/apps/website/public/libs/fullpage.min.css +++ /dev/null @@ -1,11 +0,0 @@ -/*! - * fullPage 4.0.20 - * https://github.com/alvarotrigo/fullPage.js - * - * @license GPLv3 for open source use only - * or Fullpage Commercial License for commercial use - * http://alvarotrigo.com/fullPage/pricing/ - * - * Copyright (C) 2021 http://alvarotrigo.com/fullPage - A project by Alvaro Trigo - */.fp-enabled body,html.fp-enabled{margin:0;padding:0;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.fp-section{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:100%;display:block}.fp-slide{float:left}.fp-slide,.fp-slidesContainer{height:100%;display:block}.fp-slides{z-index:1;height:100%;overflow:hidden;position:relative;-webkit-transition:all .3s ease-out;transition:all .3s ease-out}.fp-table{display:flex;flex-direction:column;justify-content:center;width:100%}.fp-slidesContainer{float:left;position:relative}.fp-controlArrow{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none;position:absolute;z-index:4;top:50%;cursor:pointer;margin-top:-38px;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.fp-prev{left:15px}.fp-next{right:15px}.fp-arrow{width:0;height:0;border-style:solid}.fp-arrow.fp-prev{border-width:38.5px 34px 38.5px 0;border-color:transparent #fff transparent transparent}.fp-arrow.fp-next{border-width:38.5px 0 38.5px 34px;border-color:transparent transparent transparent #fff}.fp-notransition{-webkit-transition:none!important;transition:none!important}#fp-nav{position:fixed;z-index:100;top:50%;opacity:1;transform:translateY(-50%);-ms-transform:translateY(-50%);-webkit-transform:translate3d(0,-50%,0)}#fp-nav.fp-right{right:17px}#fp-nav.fp-left{left:17px}.fp-slidesNav{position:absolute;z-index:4;opacity:1;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);left:0!important;right:0;margin:0 auto!important}.fp-slidesNav.fp-bottom{bottom:17px}.fp-slidesNav.fp-top{top:17px}#fp-nav ul,.fp-slidesNav ul{margin:0;padding:0}#fp-nav ul li,.fp-slidesNav ul li{display:block;width:14px;height:13px;margin:7px;position:relative}.fp-slidesNav ul li{display:inline-block}#fp-nav ul li a,.fp-slidesNav ul li a{display:block;position:relative;z-index:1;width:100%;height:100%;cursor:pointer;text-decoration:none}#fp-nav ul li a.active span,#fp-nav ul li:hover a.active span,.fp-slidesNav ul li a.active span,.fp-slidesNav ul li:hover a.active span{height:12px;width:12px;margin:-6px 0 0 -6px;border-radius:100%}#fp-nav ul li a span,.fp-slidesNav ul li a span{border-radius:50%;position:absolute;z-index:1;height:4px;width:4px;border:0;background:#333;left:50%;top:50%;margin:-2px 0 0 -2px;-webkit-transition:all .1s ease-in-out;-moz-transition:all .1s ease-in-out;-o-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#fp-nav ul li:hover a span,.fp-slidesNav ul li:hover a span{width:10px;height:10px;margin:-5px 0 0 -5px}#fp-nav ul li .fp-tooltip{position:absolute;top:-2px;color:#fff;font-size:14px;font-family:arial,helvetica,sans-serif;white-space:nowrap;max-width:220px;overflow:hidden;display:block;opacity:0;width:0;cursor:pointer}#fp-nav ul li:hover .fp-tooltip,#fp-nav.fp-show-active a.active+.fp-tooltip{-webkit-transition:opacity .2s ease-in;transition:opacity .2s ease-in;width:auto;opacity:1}#fp-nav ul li .fp-tooltip.fp-right{right:20px}#fp-nav ul li .fp-tooltip.fp-left{left:20px}.fp-auto-height .fp-slide,.fp-auto-height.fp-section{height:auto!important}.fp-responsive .fp-is-overflow.fp-section{height:auto!important}.fp-scrollable .fp-section,.fp-scrollable .fp-slide,.fp-scrollable.fp-responsive .fp-is-overflow.fp-section{height:100vh;height:calc(var(--vh,1vh) * 100)}.fp-scrollable .fp-section:not(.fp-auto-height):not([data-percentage]),.fp-scrollable .fp-slide:not(.fp-auto-height):not([data-percentage]),.fp-scrollable.fp-responsive .fp-is-overflow.fp-section:not(.fp-auto-height):not([data-percentage]){min-height:100vh;min-height:calc(var(--vh,1vh) * 100)}.fp-overflow{justify-content:flex-start;max-height:100vh}.fp-scrollable .fp-auto-height .fp-overflow{max-height:none}.fp-is-overflow .fp-overflow.fp-auto-height,.fp-is-overflow .fp-overflow.fp-auto-height-responsive,.fp-is-overflow>.fp-overflow{overflow-y:auto}.fp-overflow{outline:0}.fp-overflow.fp-table{display:block}.fp-responsive .fp-auto-height-responsive .fp-slide,.fp-responsive .fp-auto-height-responsive.fp-section{height:auto!important;min-height:auto!important}.fp-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.fp-scroll-mac .fp-overflow::-webkit-scrollbar{background-color:transparent;width:9px}.fp-scroll-mac .fp-overflow::-webkit-scrollbar-track{background-color:transparent}.fp-scroll-mac .fp-overflow::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4);border-radius:16px;border:4px solid transparent}.fp-warning,.fp-watermark{z-index:9999999;position:absolute;bottom:0}.fp-warning,.fp-watermark a{text-decoration:none;color:#000;background:rgba(255,255,255,.6);padding:5px 8px;font-size:14px;font-family:arial;color:#000;display:inline-block;border-radius:3px;margin:12px}.fp-noscroll .fp-overflow{overflow:hidden} -/*# sourceMappingURL=fullpage.min.css.map */ diff --git a/apps/website/public/libs/fullpage.min.js b/apps/website/public/libs/fullpage.min.js deleted file mode 100644 index f74035f..0000000 --- a/apps/website/public/libs/fullpage.min.js +++ /dev/null @@ -1,11 +0,0 @@ -/*! -* fullPage 4.0.20 -* https://github.com/alvarotrigo/fullPage.js -* -* @license GPLv3 for open source use only -* or Fullpage Commercial License for commercial use -* http://alvarotrigo.com/fullPage/pricing/ -* -* Copyright (C) 2018 http://alvarotrigo.com/fullPage - A project by Alvaro Trigo -*/ -!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).fullpage=t()}(this,(function(){"use strict";var n,t,e,i;Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(n){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),e=t.length>>>0;if("function"!=typeof n)throw new TypeError("predicate must be a function");for(var i=arguments[1],o=0;o0?1:-1)*Math.floor(Math.abs(t)):t}(n);return Math.min(Math.max(t,0),e)},function(n){var e=this,o=Object(n);if(null==n)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!t(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var u,l=i(o.length),c=t(e)?Object(new e(l)):new Array(l),f=0;f0||navigator.maxTouchPoints,c=!!window.MSInputMethodContext&&!!document.documentMode,f={test:{},shared:{}},s=["parallax","scrollOverflowReset","dragAndMove","offsetSections","fadingEffect","responsiveSlides","continuousHorizontal","interlockedSlides","scrollHorizontally","resetSliders","cards","dropEffect","waterEffect"];function v(n,t){o.console&&o.console[n]&&o.console[n]("fullPage: "+t)}function d(n){return"none"!==o.getComputedStyle(n).display}function h(n){return Array.from(n).filter((function(n){return d(n)}))}function p(n,t){return(t=arguments.length>1?t:document)?t.querySelectorAll(n):null}function g(n){n=n||{};for(var t=1,e=arguments.length;t>=0,t=String(void 0!==t?t:" "),this.length>n?String(this):((n-=this.length)>t.length&&(t+=Array.apply(null,Array(n)).map((function(){return t})).join("")),t.slice(0,n)+String(this))}),window.fp_utils={$:p,deepExtend:g,hasClass:m,getWindowHeight:w,css:y,prev:S,next:T,last:M,index:A,getList:x,hide:k,show:j,isArrayOrList:O,addClass:L,removeClass:D,appendTo:E,wrap:R,wrapAll:P,unwrap:z,closest:C,after:I,before:N,insertBefore:B,getScrollTop:H,siblings:W,preventDefault:V,isFunction:Y,trigger:$,matches:Q,toggle:X,createElementFromHTML:J,remove:Z,untilAll:nn,nextAll:tn,prevAll:en,showError:v};var fn=Object.freeze({__proto__:null,showError:v,isVisible:d,o:h,$:p,deepExtend:g,hasClass:m,getWindowHeight:w,u:b,css:y,prev:S,next:T,last:M,index:A,getList:x,hide:k,show:j,isArrayOrList:O,addClass:L,removeClass:D,appendTo:E,wrap:R,wrapAll:P,l:F,unwrap:z,closest:C,after:I,before:N,insertBefore:B,getScrollTop:H,siblings:W,preventDefault:V,v:U,h:_,p:K,g:q,S:G,isFunction:Y,trigger:$,matches:Q,toggle:X,createElementFromHTML:J,remove:Z,untilAll:nn,nextAll:tn,prevAll:en,toArray:on,T:rn,M:an,A:un,j:ln,O:cn});function sn(n){return sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},sn(n)}var vn={L:{},D:function(n,t){var e=this;return"object"!==sn(this.L[n])&&(this.L[n]=[]),this.L[n].push(t),function(){return e.removeListener(n,t)}},removeListener:function(n,t){if("object"===sn(this.L[n])){var e=this.L[n].indexOf(t);e>-1&&this.L[n].splice(e,1)}},R:function(n){for(var t=this,e=arguments.length,i=new Array(e>1?e-1:0),o=1;o','
'],controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,parallax:!1,parallaxOptions:{type:"reveal",percentage:62,property:"translate"},cards:!1,cardsOptions:{perspective:100,fadeContent:!0,fadeBackground:!0},sectionSelector:".section",slideSelector:".slide",afterLoad:null,beforeLeave:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,onScrollOverflow:null,lazyLoading:!0,observer:!0,un:!0},mt=null,wt=!1,bt=g({},gt),yt=null;function St(n){return mt}function Tt(){return yt||gt}function Mt(){return bt}function At(n,t,e){yt[n]=t,"internal"!==e&&(bt[n]=t)}function xt(){if(!Tt().anchors.length){var n=p(Tt().sectionSelector.split(",").join("[data-anchor],")+"[data-anchor]",mt);n.length&&n.length===p(Tt().sectionSelector,mt).length&&(wt=!0,n.forEach((function(n){Tt().anchors.push(U(n,"data-anchor").toString())})))}if(!Tt().navigationTooltips.length){var t=p(Tt().sectionSelector.split(",").join("[data-tooltip],")+"[data-tooltip]",mt);t.length&&t.forEach((function(n){Tt().navigationTooltips.push(U(n,"data-tooltip").toString())}))}}var kt=function(n){this.anchor=n.anchor,this.item=n.item,this.index=n.index(),this.isLast=this.index===n.item.parentElement.querySelectorAll(n.selector).length-1,this.isFirst=!this.index,this.isActive=n.isActive},jt=function(n,t){this.parent=this.parent||null,this.selector=t,this.anchor=U(n,"data-anchor")||Tt().anchors[A(n,Tt().sectionSelector)],this.item=n,this.isVisible=d(n),this.isActive=m(n,Kn),this.ln=m(n,at)||null!=p(ut,n)[0],this.cn=t===Tt().sectionSelector,this.sn=C(n,ot)||C(n,Hn),this.index=function(){return this.siblings().indexOf(this)}};function Ot(n){return n.map((function(n){return n.item}))}function Lt(n,t){return n.find((function(n){return n.item===t}))}jt.prototype.siblings=function(){return this.cn?this.isVisible?dn.C:dn.vn:this.parent?this.parent.slides:0},jt.prototype.prev=function(){var n=this.siblings(),t=(this.cn?n.indexOf(this):this.parent.slides.indexOf(this))-1;return t>=0?n[t]:null},jt.prototype.next=function(){var n=this.siblings(),t=(this.cn?n.indexOf(this):this.parent.slides.indexOf(this))+1;return ti?"up":"down"}function Bt(n){return L(n,Vn)}function Ht(n){return{"-webkit-transform":n,"-moz-transform":n,"-ms-transform":n,transform:n}}function Wt(n,t){t?It(St()):Bt(St()),clearTimeout(Dt),y(St(),Ht(n)),f.test.pn=n,Dt=setTimeout((function(){D(St(),Vn)}),10)}function Vt(n){var t=Math.round(n);if(Tt().css3&&Tt().autoScrolling&&!Tt().scrollBar)Wt("translate3d(0px, -"+t+"px, 0px)",!1);else if(Tt().autoScrolling&&!Tt().scrollBar)y(St(),{top:-t+"px"}),f.test.top=-t+"px";else{var e=zt(t);Ct(e.element,e.options)}}function Ut(n,t){At("scrollingSpeed",n,t)}f.setScrollingSpeed=Ut;var _t,Kt=null,qt=null,Gt=null;function Yt(n,t,e,i){var r,a=function(n){return n.self!=o&&m(n,tt)?n.scrollLeft:!Tt().autoScrolling||Tt().scrollBar?H():n.offsetTop}(n),u=t-a,l=!1,c=dn.q;hn({q:!0}),_t&&window.cancelAnimationFrame(_t),_t=function(f){r||(r=f);var s=Math.floor(f-r);if(dn.q){var v=t;e&&(v=o.fp_easings[Tt().easing](s,a,u,e)),s<=e&&Ct(n,v),s0,r=i>2&&i'+ae(a.index(),"Section")+"";var l=Tt().navigationTooltips[a.index()];void 0!==l&&""!==l&&(i+='
'+l+"
"),i+=""}p("ul",e)[0].innerHTML=i;var c=p("li",p(Xn)[0])[pn().I.index()];L(p("a",c),Kn)}function me(n){n.preventDefault&&V(n),hn({N:"verticalNav"});var t=A(C(this,"#fp-nav li"));vn.R(On,{destination:pn().C[t]})}function we(n,t){var e;e=n,Tt().menu&&Tt().menu.length&&p(Tt().menu).forEach((function(n){null!=n&&(D(p(qn,n),Kn),L(p('[data-menuanchor="'+e+'"]',n),Kn))})),function(n,t){var e=p(Xn)[0];Tt().navigation&&null!=e&&"none"!==e.style.display&&(D(p(qn,e),Kn),L(n?p('a[href="#'+n+'"]',e):p("a",p("li",e)[t]),Kn))}(n,t)}le.m={up:!0,down:!0,left:!0,right:!0},le.k=g({},le.m),vn.D(mn,(function(n){var t=n.target;(Q(t,vt)||C(t,vt))&&se.call(t,n)})),f.setRecordHistory=ve,f.setAutoScrolling=de,f.test.setAutoScrolling=de,(new Date).getTime();var be,ye,Se,Te,Me,Ae,xe=(ye=!0,Se=(new Date).getTime(),Te=!o.fullpage_api,function(n,t){var e=(new Date).getTime(),i="wheel"===n?Tt().scrollingSpeed:100;return ye=Te||e-Se>=i,Te=!o.fullpage_api,ye&&(be=t(),Se=e),void 0===be||be});function ke(n,t){if(Y(Tt().beforeLeave))return xe(pn().N,(function(){return Xt(n,t)}))}function je(n,t,e){var i=n.item;if(null!=i){var o,r,a=function(n){var t=n.offsetHeight,e=n.offsetTop,i=e,o=e>dn.tn,r=i-w()+t,a=Tt().bigSectionsDestination;return t>w()?(o||a)&&"bottom"!==a||(i=r):(o||dn.V&&null==T(n))&&(i=r),hn({tn:i}),i}(i),u={element:i,callback:t,isMovementUp:e,dtop:a,yMovement:Nt(pn().I,i),anchorLink:n.anchor,sectionIndex:n.index(),activeSlide:n.activeSlide?n.activeSlide.item:null,leavingSection:pn().I.index()+1,localIsResizing:dn.V,items:{origin:pn().I,destination:n},direction:null};if(!(pn().I.item==i&&!dn.V||Tt().scrollBar&&H()===u.dtop&&!m(i,"fp-auto-height"))){if(null!=u.activeSlide&&(o=U(u.activeSlide,"data-anchor"),r=A(u.activeSlide,null)),!u.localIsResizing){var l=u.yMovement;if(void 0!==e&&(l=e?"up":"down"),u.direction=l,Y(Tt().beforeLeave)&&!1===ke("beforeLeave",u))return;if(Y(Tt().onLeave)&&!Xt("onLeave",u))return}Tt().autoScrolling&&Tt().continuousVertical&&void 0!==u.isMovementUp&&(!u.isMovementUp&&"up"==u.yMovement||u.isMovementUp&&"down"==u.yMovement)&&(u=function(n){hn({on:!0});var t=pn().I.item;return n.isMovementUp?N(t,tn(t,$n)):I(t,en(t,$n).reverse()),Vt(pn().I.item.offsetTop),function(){for(var n=p(nt),t=0;t-1&&!Ve.jn)return V(n),!1},An:function(){Ve.kn=dn.G},onLeave:function(){clearTimeout(ze),Ve.jn=!1},afterLoad:function(){Ve.jn=!1,clearTimeout(ze),ze=setTimeout((function(){Ve.kn=dn.G}),200)},Rn:function(){r.activeElement===this.xn&&(this.xn.blur(),Ve.jn=!1)},Mn:function(){if(Tt().scrollOverflow&&Ve.kn){Ve.Rn();var n=Ve.Pn(pn().I.item);!n||a||l||(this.xn=n,requestAnimationFrame((function(){n.focus(),Ve.jn=!0}))),Ve.kn=!1}},Tn:function(){Tt().scrollOverflowMacStyle&&!u&&L(Kt,"fp-scroll-mac"),pn().hn.forEach((function(n){if(!(n.slides&&n.slides.length||m(n.item,"fp-auto-height-responsive")&&Pe())){var t,e=Pt(n.item),i=Ve.bn(n.item),o=(t=n).cn?t:t.parent;if(c){var r=i?"addClass":"removeClass";fn[r](o.item,lt),fn[r](n.item,lt)}else L(o.item,lt),L(n.item,lt);n.ln||(Ve.Fn(e),Ve.zn(e)),n.ln=!0}}))},zn:function(n){Ve.Pn(n).addEventListener("scroll",Ve.Cn),n.addEventListener("wheel",Ve.Dn,{passive:!1}),n.addEventListener("keydown",Ve.En,{passive:!1})},Fn:function(n){var t=document.createElement("div");t.className=at,F(n,t),t.setAttribute("tabindex","-1")},In:function(n){var t=p(ut,n)[0];t&&(z(t),n.removeAttribute("tabindex"))},Pn:function(n){var t=Pt(n);return p(ut,t)[0]||t},ln:function(n){return m(n,at)||null!=p(ut,n)[0]},yn:function(n){return n.cn&&n.activeSlide?n.activeSlide.ln:n.ln},bn:function(n){return Ve.Pn(n).scrollHeight>o.innerHeight},Nn:function(n,t){if(!dn.G)return!1;if(Tt().scrollBar)return!0;var e=Ve.Pn(t);if(!Tt().scrollOverflow||!m(e,at)||m(t,"fp-noscroll")||m(Pt(t),"fp-noscroll"))return!0;var i=c?1:0,o=e.scrollTop,r="up"===n&&o<=0,a="down"===n&&e.scrollHeight<=Math.ceil(e.offsetHeight+o)+i,u=r||a;return u||(this.On=(new Date).getTime()),u},Bn:function(){this.Ln=(new Date).getTime();var n=this.Ln-Ve.On,t=(a||l)&&dn.J,e=dn.Z&&n>600;return t&&n>400||e},Cn:(He=0,function(n){var t=n.target.scrollTop,e="none"!==dn.Y?dn.Y:Heo?"left":"right"),l.direction=l.direction?l.direction:l.Hn,l.localIsResizing||hn({G:!1}),Tt().onSlideLeave&&!l.localIsResizing&&"none"!==l.Hn&&Y(Tt().onSlideLeave)&&!1===Xt("onSlideLeave",l)?hn({W:!1}):(L(t,Kn),D(W(t),Kn),Qe(),l.localIsResizing||(ne(l.prevSlide),te(t)),function(n){!Tt().loopHorizontal&&Tt().controlArrows&&(X(p(ht,n.section),0!==n.slideIndex),X(p(pt,n.section),null!=T(n.destiny)))}(l),a.isActive&&!l.localIsResizing&&oe(l.slideIndex,l.slideAnchor,l.anchorLink),vn.R(Rn,l),function(n,t,e){var i,o,r=t.destinyPos;if(i=t.slidesNav,o=t.slideIndex,Tt().slidesNavigation&&null!=i&&(D(p(qn,i),Kn),L(p("a",p("li",i)[o]),Kn)),hn({scrollX:Math.round(r.left)}),Tt().css3){var a="translate3d(-"+Math.round(r.left)+"px, 0px, 0px)";f.test.Wn[t.sectionIndex]=a,y(It(p(ot,n)),Ht(a)),clearTimeout(We),We=setTimeout((function(){qe(t)}),Tt().scrollingSpeed)}else f.test.left[t.sectionIndex]=Math.round(r.left),Yt(n,Math.round(r.left),Tt().scrollingSpeed,(function(){qe(t)}))}(n,l))}function Ke(){clearTimeout(We)}function qe(n){n.localIsResizing||(Y(Tt().afterSlideLoad)&&Xt("afterSlideLoad",n),hn({G:!0}),Jt(n.destiny),vn.R(zn,n)),hn({W:!1})}function Ge(n,t){Ut(0,"internal"),void 0!==t&&hn({V:!0}),_e(C(n,et),n),void 0!==t&&hn({V:!1}),Ut(Mt().scrollingSpeed,"internal")}f.landscapeScroll=_e,vn.D(Sn,(function(){vn.D(En,Ue)}));var Ye=null,$e=null;function Qe(){dn.I=null,dn.C.map((function(n){var t=m(n.item,Kn);n.isActive=t,n.ln=Ve.ln(n.item),t&&(dn.I=n),n.slides.length&&(n.activeSlide=null,n.slides.map((function(t){var e=m(t.item,Kn);t.ln=Ve.ln(n.item),t.isActive=e,e&&(n.activeSlide=t)})))})),function(){var n=dn.I,t=!!dn.I&&dn.I.slides.length,e=dn.I?dn.I.activeSlide:null;if(!n&&dn.C.length&&!pn().B&&Ye){var i=Ze(Ye,dn.C);i&&(dn.I=i,dn.I.isActive=!0,L(dn.I.item,Kn)),dn.I&&Vt(dn.I.item.offsetTop)}if(t&&!e&&$e){var o=Ze($e,dn.I.slides);o&&(dn.I.activeSlide=o,dn.I.activeSlide.isActive=!0,L(dn.I.activeSlide.item,Kn)),dn.I.activeSlide&&Ge(dn.I.activeSlide.item,"internal")}}()}function Xe(){var n=p(Tt().sectionSelector,St()),t=h(n),e=Array.from(n).map((function(n){return new ni(n)})),i=e.filter((function(n){return n.isVisible})),o=i.reduce((function(n,t){return n.concat(t.slides)}),[]);Ye=Je(dn.I),$e=Je(dn.I?dn.I.activeSlide:null),dn.P=t.length,dn.F=i.reduce((function(n,t){return n+t.slides.length}),0),dn.C=i,dn.vn=e,dn.slides=o,dn.hn=dn.C.concat(dn.slides)}function Je(n){if(!n)return null;var t=n?n.item:null,e=n.cn?dn.vn:dn.I.Vn;if(t){var i=Lt(e,t);return i?i.index():null}return null}function Ze(n,t){var e,i=n-1,o=n;do{if(e=t[i]||t[o])break;i-=1,o+=1}while(i>=0||o1&&(Tt().controlArrows&&function(n){var t=n.item,e=[J(Tt().controlArrowsHTML[0]),J(Tt().controlArrowsHTML[1])];I(p(et,t)[0],e),L(e,st),L(e[0],dt),L(e[1],"fp-next"),"#fff"!==Tt().controlArrowColor&&(y(p(pt,t),{"border-color":"transparent transparent transparent "+Tt().controlArrowColor}),y(p(ht,t),{"border-color":"transparent "+Tt().controlArrowColor+" transparent transparent"})),Tt().loopHorizontal||k(p(ht,t))}(n),Tt().slidesNavigation&&function(n){var t=n.item,e=n.slides.length;E(J('
    '),t);var i=p(ct,t)[0];L(i,"fp-"+Tt().slidesNavPosition);for(var o=0;o'+ae(o,"Slide",p(Zn,t)[o])+""),p("ul",i)[0]);y(i,{"margin-left":"-"+i.innerWidth/2+"px"});var r=n.activeSlide?n.activeSlide.index():0;L(p("a",p("li",i)[r]),Kn)}(n)),i.forEach((function(n){y(n.item,{width:a+"%"}),Tt().verticalCentered&&Fe(n)}));var c=n.activeSlide||null;null!=c&&dn.I&&(0!==dn.I.index()||0===dn.I.index()&&0!==c.index())?Ge(c.item,"internal"):L(e[0],Kn)}ei.prototype=jt.prototype,ei.prototype.constructor=ni;var ri={attributes:!1,subtree:!0,childList:!0,characterData:!0};function ai(){return h(p(Tt().slideSelector,St())).length!==pn().F}function ui(n){var t=ai();(ai()||h(p(Tt().sectionSelector,St())).length!==pn().P)&&!dn.on&&(Tt().observer&&ti&&ti.disconnect(),Xe(),Qe(),Tt().anchors=[],Z(p(Xn)),ii(),xt(),Tt().navigation&&ge(),t&&(Z(p(ct)),Z(p(vt))),pn().C.forEach((function(n){n.slides.length?t&&oi(n):Ie(n)}))),Tt().observer&&ti&&p(Hn)[0]&&ti.observe(p(Hn)[0],ri)}vn.D(Sn,(function(){var n,t,e;Tt().observer&&"MutationObserver"in window&&p(Hn)[0]&&(n=p(Hn)[0],t=ri,(e=new MutationObserver(ui)).observe(n,t),ti=e),vn.D(Mn,ui)})),f.render=ui;var li=function(){var n=!1;try{var t=Object.defineProperty({},"passive",{get:function(){n=!0}});K("testPassive",null,t),G("testPassive",null,t)}catch(n){}return function(){return n}}();function ci(){return!!li()&&{passive:!1}}var fi,si,vi,di,hi=(vi=(new Date).getTime(),di=[],{Un:function(n){var t=(n=n||o.event).wheelDelta||-n.deltaY||-n.detail,e=Math.max(-1,Math.min(1,t)),i=void 0!==n.wheelDeltaX||void 0!==n.deltaX;fi=Math.abs(n.wheelDeltaX)149&&di.shift(),di.push(Math.abs(t));var a=r-vi;vi=r,a>200&&(di=[])},_n:function(){var n=an(di,10)>=an(di,70);return!!di.length&&n&&fi},Kn:function(){return si}});function pi(){var n=Tt().css3?H()+w():rn(pn().C).item.offsetTop+rn(pn().C).item.offsetHeight,t=zt(n);f.test.top=-n+"px",hn({G:!1}),Yt(t.element,t.options,Tt().scrollingSpeed,(function(){setTimeout((function(){hn({B:!0}),hn({G:!0})}),30)}))}function gi(){St().getBoundingClientRect().bottom>=0&&mi()}function mi(){var n=zt(rn(pn().C).item.offsetTop);hn({G:!1}),Yt(n.element,n.options,Tt().scrollingSpeed,(function(){hn({G:!0}),hn({B:!1}),hn({qn:!1})}))}var wi,bi,yi,Si=(wi=!1,bi={},yi={},function(n,t,e){switch(n){case"set":bi[t]=(new Date).getTime(),yi[t]=e;break;case"isNewKeyframe":var i=(new Date).getTime();wi=i-bi[t]>yi[t]}return wi});function Ti(){var n=pn().I.next();n||!Tt().loopBottom&&!Tt().continuousVertical||(n=pn().C[0]),null!=n?je(n,null,!1):St().scrollHeightAi&&fe().m.down&&Ti()),Ai=n.pageY)}function ki(n){if(fe().m[n]){var t="down"===n?Ti:Mi;Tt().scrollOverflow&&Ve.yn(pn().I)?Ve.Nn(n,pn().I.item)&&Ve.Bn()&&t():t()}}var ji,Oi,Li,Di,Ei=0,Ri=0,Pi=0,Fi=0,zi=(o.PointerEvent&&(Di={down:"pointerdown",move:"pointermove"}),Di),Ci={Gn:"ontouchmove"in window?"touchmove":zi?zi.move:null,Yn:"ontouchstart"in window?"touchstart":zi?zi.down:null};function Ii(n){var t=C(n.target,$n)||pn().I.item,e=Ve.yn(pn().I);if(Ni(n)){hn({J:!0,Z:!1}),Tt().autoScrolling&&(e&&!dn.G||Tt().scrollBar)&&V(n);var i=Wi(n);Pi=i.y,Fi=i.x;var r=Math.abs(Ei-Pi)>o.innerHeight/100*Tt().touchSensitivity,a=Math.abs(Ri-Fi)>b()/100*Tt().touchSensitivity,u=p(et,t).length&&Math.abs(Ri-Fi)>Math.abs(Ei-Pi),l=Ei>Pi?"down":"up";hn({Y:u?Ri>Fi?"right":"left":l}),u?!dn.W&&a&&(Ri>Fi?fe().m.right&&vn.R(bn,{section:t}):fe().m.left&&vn.R(wn,{section:t})):Tt().autoScrolling&&dn.G&&r&&ki(l)}}function Ni(n){return void 0===n.pointerType||"mouse"!=n.pointerType}function Bi(n){if(Tt().fitToSection&&hn({q:!1}),Ni(n)){var t=Wi(n);Ei=t.y,Ri=t.x}K("touchend",Hi)}function Hi(){G("touchend",Hi),hn({J:!1})}function Wi(n){var t={};return t.y=void 0!==n.pageY&&(n.pageY||n.pageX)?n.pageY:n.touches[0].pageY,t.x=void 0!==n.pageX&&(n.pageY||n.pageX)?n.pageX:n.touches[0].pageX,l&&Ni(n)&&Tt().scrollBar&&void 0!==n.touches&&(t.y=n.touches[0].pageY,t.x=n.touches[0].pageX),t}function Vi(n){Tt().autoScrolling&&Ni(n)&&fe().m.up&&(dn.G||V(n))}function Ui(n,t){var e=null==t?pn().I.item:t,i=Lt(dn.C,e),o=p(et,e)[0];if(!(null==o||dn.W||i.slides.length<2)){var r=i.activeSlide,a="left"===n?r.prev():r.next();if(!a){if(!Tt().loopHorizontal)return;a="left"===n?rn(i.slides):i.slides[0]}hn({W:!f.test.wn}),_e(o,a.item,n)}}function _i(n){Ui("left",n)}function Ki(n){Ui("right",n)}function qi(n){var t=pn().C.filter((function(t){return t.anchor===n}))[0];if(!t){var e=void 0!==n?n-1:0;t=pn().C[e]}return t}function Gi(n){null!=n&&_e(C(n,et),n)}function Yi(n,t){var e=qi(n);if(null!=e){var i=function(n,t){var e=t.slides.filter((function(t){return t.anchor===n}))[0];return null==e&&(n=void 0!==n?n:0,e=t.slides[n]),e?e.item:null}(t,e);e.anchor&&e.anchor===dn._||m(e.item,Kn)?Gi(i):je(e,(function(){Gi(i)}))}}function $i(n,t){var e=qi(n);void 0!==t?Yi(n,t):null!=e&&je(e)}function Qi(){clearTimeout(Oi),q("keydown",Xi),q("keyup",Ji)}function Xi(n){clearTimeout(Oi);var t=n.keyCode,e=[37,39].indexOf(t)>-1,i=Tt().autoScrolling||Tt().fitToSection||e;9===t?function(n){var t=n.shiftKey,e=r.activeElement,i=io(Pt(pn().I.item));function o(n){return V(n),i[0]?i[0].focus():null}if(dn.G){if(!function(n){var t=io(r),e=t.indexOf(r.activeElement),i=t[n.shiftKey?e-1:e+1],o=C(i,Zn),a=C(i,$n);return!o&&!a}(n)){e?null==C(e,".fp-section.active,.fp-section.active .fp-slide.active")&&(e=o(n)):o(n);var a=e==i[0],u=e==i[i.length-1],l=t&&a;if(l||!t&&u){V(n);var c=function(n){var t,e=n?"prevPanel":"nextPanel",i=[],o=Ft((dn.I&&dn.I.activeSlide?dn.I.activeSlide:dn.I)[e]());do{(i=io(o.item)).length&&(t={$n:o,Qn:i[n?i.length-1:0]}),o=Ft(o[e]())}while(o&&0===i.length);return t}(l),f=c?c.$n:null;if(f){var s=f.cn?f:f.parent;vn.R(xn,{Xn:s.index()+1,slideAnchor:f.cn?0:f.index()}),Li=c.Qn,V(n)}}}}else V(n)}(n):!cn()&&Tt().keyboardScrolling&&i&&(ji=n.ctrlKey,Oi=setTimeout((function(){!function(n){var t=n.shiftKey,e=r.activeElement,i=Q(e,"video")||Q(e,"audio"),o=Ve.Nn("up",pn().I.item),a=Ve.Nn("down",pn().I.item),u=[37,39].indexOf(n.keyCode)>-1;if(function(n){(function(n){return[40,38,32,33,34].indexOf(n.keyCode)>-1&&!dn.B})(n)&&!C(n.target,ut)&&n.preventDefault()}(n),dn.G||u)switch(hn({N:"keydown"}),n.keyCode){case 38:case 33:fe().k.up&&o?dn.B?vn.R(kn,{e:n}):Mi():Ve.Mn();break;case 32:if(t&&fe().k.up&&!i&&o){Mi();break}case 40:case 34:if(fe().k.down&&a){if(dn.B)return;32===n.keyCode&&i||Ti()}else Ve.Mn();break;case 36:fe().k.up&&$i(1);break;case 35:fe().k.down&&$i(pn().C.length);break;case 37:fe().k.left&&_i();break;case 39:fe().k.right&&Ki()}}(n)}),0))}function Ji(n){dn.nn&&(ji=n.ctrlKey)}function Zi(){hn({nn:!1}),ji=!1}function no(n){eo()}function to(n){C(Li,Zn)&&!C(Li,nt)||eo()}function eo(){Li&&(Li.focus(),Li=null)}function io(n){return[].slice.call(p('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',n)).filter((function(n){return"-1"!==U(n,"tabindex")&&null!==n.offsetParent}))}f.moveSlideLeft=_i,f.moveSlideRight=Ki,f.moveTo=$i,vn.D(Sn,(function(){K("blur",Zi),_("keydown",Xi),_("keyup",Ji),vn.D(Tn,Qi),vn.D(zn,no),vn.D(Fn,to)}));var oo=(new Date).getTime(),ro=[];function ao(n){n?(function(){var n,t="";o.addEventListener?n="addEventListener":(n="attachEvent",t="on");var e="onwheel"in r.createElement("div")?"wheel":void 0!==r.onmousewheel?"mousewheel":"DOMMouseScroll",i=ci();"DOMMouseScroll"==e?r[n](t+"MozMousePixelScroll",uo,i):r[n](t+e,uo,i)}(),St().addEventListener("mousedown",lo),St().addEventListener("mouseup",co)):(r.addEventListener?(q("mousewheel",uo,!1),q("wheel",uo,!1),q("MozMousePixelScroll",uo,!1)):r.detachEvent("onmousewheel",uo),St().removeEventListener("mousedown",lo),St().removeEventListener("mouseup",co))}function uo(n){var t=(new Date).getTime(),e=m(p(".fp-completely")[0],"fp-normal-scroll"),i=function(n,t){(new Date).getTime();var e=pn().B&&n.getBoundingClientRect().bottom>=0&&"up"===hi.Kn(),i=pn().qn;if(i)return V(t),!1;if(pn().B){if(e){var o;if(!(i||Si("isNewKeyframe","beyondFullpage")&&hi._n()))return(o=zt(rn(pn().C).item.offsetTop+rn(pn().C).item.offsetHeight)).element.scrollTo(0,o.options),hn({qn:!1}),V(t),!1;if(hi._n())return e=!1,hn({qn:!0}),hn({N:"wheel"}),mi(),V(t),!1}else Si("set","beyondFullpage",1e3);if(!i&&!e)return!0}}(St(),n);if(dn.Z||hn({J:!1,Z:!0,Y:"none"}),!fe().m.down&&!fe().m.up)return V(n),!1;if(i)return!0;if(!1===i)return V(n),!1;if(Tt().autoScrolling&&!ji&&!e){var r=(n=n||o.event).wheelDelta||-n.deltaY||-n.detail,a=Math.max(-1,Math.min(1,r)),u=void 0!==n.wheelDeltaX||void 0!==n.deltaX,l=Math.abs(n.wheelDeltaX)0?"up":"none";ro.length>149&&ro.shift(),ro.push(Math.abs(r)),Tt().scrollBar&&V(n);var f=t-oo;return oo=t,f>200&&(ro=[]),hn({X:c}),dn.G&&an(ro,10)>=an(ro,70)&&l&&(hn({N:"wheel"}),ki(a<0?"down":"up")),!1}Tt().fitToSection&&hn({q:!1})}function lo(n){var t;2==n.which&&(t=n.pageY,Ai=t,St().addEventListener("mousemove",xi))}function co(n){2==n.which&&St().removeEventListener("mousemove",xi)}function fo(n){n?(ao(!0),function(){if(Ci.Gn&&(a||l)){Tt().autoScrolling&&(Kt.removeEventListener(Ci.Gn,Vi,{passive:!1}),Kt.addEventListener(Ci.Gn,Vi,{passive:!1}));var n=Tt().touchWrapper;n.removeEventListener(Ci.Yn,Bi),n.removeEventListener(Ci.Gn,Ii,{passive:!1}),n.addEventListener(Ci.Yn,Bi),n.addEventListener(Ci.Gn,Ii,{passive:!1})}}()):(ao(!1),function(){if(Ci.Gn&&(a||l)){Tt().autoScrolling&&(Kt.removeEventListener(Ci.Gn,Ii,{passive:!1}),Kt.removeEventListener(Ci.Gn,Vi,{passive:!1}));var n=Tt().touchWrapper;n.removeEventListener(Ci.Yn,Bi),n.removeEventListener(Ci.Gn,Ii,{passive:!1})}}())}f.setMouseWheelScrolling=ao;var so=!0;function vo(){["mouseenter","touchstart","mouseleave","touchend"].forEach((function(n){q(n,po,!0)}))}function ho(n,t){document["fp_"+n]=t,_(n,po,!0)}function po(n){var t=n.type,e=!1,i="mouseleave"===t?n.toElement||n.relatedTarget:n.target;i!=document&&i?("touchend"===t&&(so=!1,setTimeout((function(){so=!0}),800)),("mouseenter"!==t||so)&&(Tt().normalScrollElements.split(",").forEach((function(n){if(!e){var t=Q(i,n),o=C(i,n);(t||o)&&(f.shared.Jn||fo(!1),f.shared.Jn=!0,e=!0)}})),!e&&f.shared.Jn&&(fo(!0),f.shared.Jn=!1))):fo(!0)}function go(n,t){Ut(0,"internal"),$i(n,t),Ut(Mt().scrollingSpeed,"internal")}vn.D(Sn,(function(){Tt().normalScrollElements&&(["mouseenter","touchstart"].forEach((function(n){ho(n,!1)})),["mouseleave","touchend"].forEach((function(n){ho(n,!0)}))),vn.D(Tn,vo)})),f.silentMoveTo=go;var mo,wo,bo=w(),yo=b(),So=!1;function To(){clearTimeout(mo),clearTimeout(wo),G("resize",Mo)}function Mo(){So||(Tt().autoScrolling&&!Tt().scrollBar||!Tt().fitToSection)&&xo(w()),function(){if(a)for(var n=0;n<4;n++)wo=setTimeout((function(){window.requestAnimationFrame((function(){Tt().autoScrolling&&!Tt().scrollBar&&(hn({V:!0}),go(dn.I.index()+1),hn({V:!1}))}))}),200*n)}(),So=!0,clearTimeout(mo),mo=setTimeout((function(){!function(){if(hn({V:!0}),xo(""),Tt().autoScrolling||dn.B||function(){if(!Tt().autoScrolling||Tt().scrollBar){var n=.01*o.innerHeight;r.documentElement.style.setProperty("--vh","".concat(n,"px"))}}(),vn.R(Mn),Qe(),Ee(),a){var n=r.activeElement;if(!Q(n,"textarea")&&!Q(n,"input")&&!Q(n,"select")){var t=w();Math.abs(t-bo)>20*Math.max(bo,t)/100&&(Ao(!0),bo=t)}}else e=w(),i=b(),dn.en===e&&yo===i||(hn({en:e}),yo=i,Ao(!0));var e,i;hn({V:!1})}(),So=!1}),400)}function Ao(n){if(!m(St(),Un)){hn({V:!0,en:w(),Zn:b()});for(var t=pn().C,e=0;e1&&_e(r,i.activeSlide.item)}Tt().scrollOverflow&&Ve.Tn();var a=pn().I.index();dn.B||a&&go(a+1),hn({V:!1}),Y(Tt().afterResize)&&n&&Tt().afterResize.call(St(),o.innerWidth,o.innerHeight),Y(Tt().afterReBuild)&&!n&&Tt().afterReBuild.call(St()),$(St(),"afterRebuild")}}function xo(n){var t=""===n?"":n+"px";pn().C.forEach((function(n){y(n.item,{height:t})}))}function ko(){var n,t,e=o.location.hash;if(e.length){var i=e.replace("#","").split("/"),r=e.indexOf("#/")>-1;n=r?"/"+i[1]:decodeURIComponent(i[0]);var a=r?i[2]:i[1];a&&a.length&&(t=decodeURIComponent(a))}return{section:n,gn:t}}function jo(){G("hashchange",Oo)}function Oo(){if(!dn.U&&!Tt().lockAnchors){var n=ko(),t=n.section,e=n.gn,i=void 0===dn._,o=void 0===dn._&&void 0===e&&!dn.W;t&&t.length&&(t&&t!==dn._&&!i||o||!dn.W&&dn.K!=e)&&vn.R(xn,{Xn:t,slideAnchor:e})}}function Lo(n){var t=n.target;C(t,Tt().menu+" [data-menuanchor]")&&Do.call(t,n)}function Do(n){hn({N:"menu"}),!p(Tt().menu)[0]||!Tt().lockAnchors&&Tt().anchors.length||(V(n),vn.R(jn,{anchor:U(this,"data-menuanchor")}))}function Eo(n){var t=n.target;t&&C(t,"#fp-nav a")?me.call(t,n.e):Q(t,".fp-tooltip")?pe.call(t):(Q(t,ft)||null!=C(t,ft))&&ue.call(t,n.e)}f.reBuild=Ao,vn.D(Sn,(function(){Mo(),K("resize",Mo),vn.D(Tn,To)})),f.setLockAnchors=function(n){Tt().lockAnchors=n},vn.D(Sn,(function(){K("hashchange",Oo),vn.D(Tn,jo)})),vn.D(Sn,(function(){_("wheel",hi.Un,ci()),vn.D(Dn,pi),vn.D(kn,gi)})),vn.D(Sn,(function(){vn.D(mn,Lo)})),vn.D(Sn,(function(){vn.D(mn,Eo)}));var Ro,Po,Fo=0;function zo(n){var t,e,i,o,r;if(!dn.V&&pn().I&&(rn(pn().C),!pn().B&&!pn().qn&&(!Tt().autoScrolling||Tt().scrollBar))){var a=H(),u=function(n){var t=n>Fo?"down":"up";return Fo=n,hn({tn:n}),t}(a),l=0,c=a+w()/2,f=Kt.scrollHeight-w()===a,s=pn().C;if(hn({scrollY:a}),f)l=s.length-1;else if(a)for(var v=0;v=H()+w():o<=H())&&(m(pn().I.item,Gn)||(L(pn().I.item,Gn),D(W(pn().I.item),Gn))),e=(t=s[l]).item,!t.isActive){hn({U:!0});var d,h,p=pn().I.item,g=pn().I.index()+1,b=Nt(pn().I,e),y=t.anchor,S=t.index()+1,T=t.activeSlide,M={I:p,sectionIndex:S-1,anchorLink:y,element:e,leavingSection:g,direction:b,items:{origin:pn().I,destination:t}};T&&(h=T.anchor,d=T.index()),dn.G&&(L(e,Kn),D(W(e),Kn),Y(Tt().beforeLeave)&&ke("beforeLeave",M),Y(Tt().onLeave)&&Xt("onLeave",M),Y(Tt().afterLoad)&&Xt("afterLoad",M),ne(p),te(e),Jt(e),we(y,S-1),Tt().anchors.length&&hn({_:y}),Qe(),oe(d,h,y)),clearTimeout(Ro),Ro=setTimeout((function(){hn({U:!1})}),100)}Tt().fitToSection&&dn.G&&(clearTimeout(Po),Po=setTimeout((function(){dn.C.filter((function(n){var t=n.item.getBoundingClientRect();return Math.round(t.bottom)===Math.round(w())||0===Math.round(t.top)})).length||De()}),Tt().an))}}function Co(n,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach((function(t){ce(n,t,"k")})):(ce(n,"all","k"),Tt().keyboardScrolling=n)}function Io(n){var t=n.index();void 0!==Tt().anchors[t]&&n.isActive&&we(Tt().anchors[t],t),Tt().menu&&Tt().css3&&null!=C(p(Tt().menu)[0],Hn)&&p(Tt().menu).forEach((function(n){Kt.appendChild(n)}))}function No(){var n,t,e=pn().I,i=pn().I.item;L(i,Gn),te(i),he(),Jt(i),t=qi((n=ko()).section),n.section&&t&&(void 0===t||t.index()!==A(Ce))||!Y(Tt().afterLoad)||Xt("afterLoad",{I:i,element:i,direction:null,anchorLink:e.anchor,sectionIndex:e.index(),items:{origin:pn().I,destination:pn().I}}),Y(Tt().afterRender)&&Xt("afterRender")}function Bo(n,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach((function(t){ce(n,t,"m")})):ce(n,"all","m")}function Ho(){var n=ko(),t=n.section,e=n.gn;t?Tt().animateAnchor?Yi(t,e):go(t,e):vn.R(gn,null)}function Wo(){Xe(),Qe(),Tt().scrollBar=Tt().scrollBar||Tt().hybrid,xt(),function(){y(ln(St(),"body"),{height:"100%",position:"relative"}),L(St(),Bn),L(qt,_n),hn({en:w()}),D(St(),Un),ii();for(var n=pn().vn,t=0;t0&&oi(e)}Tt().fixedElements&&Tt().css3&&p(Tt().fixedElements).forEach((function(n){Kt.appendChild(n)})),Tt().navigation&&ge(),p('iframe[src*="youtube.com/embed/"]',St()).forEach((function(n){var t,e;e=U(t=n,"src"),t.setAttribute("src",e+(/\?/.test(e)?"&":"?")+"enablejsapi=1")})),Tt().scrollOverflow&&Ve.Tn()}(),Bo(!0),fo(!0),de(Tt().autoScrolling,"internal"),Ee(),ee(),"complete"===r.readyState&&Ho(),K("load",Ho),No(),Xe(),Qe()}function Vo(){var n=Tt().licenseKey;""===Tt().licenseKey.trim()?(v("error","Fullpage.js requires a `licenseKey` option. Read about it on the following URL:"),v("error","https://github.com/alvarotrigo/fullPage.js#options")):Tt()&&dn.nt||r.domain.indexOf("alvarotrigo.com")>-1?n&&n.length:(v("error","Incorrect `licenseKey`. Get one for fullPage.js version 4 here:"),v("error","https://alvarotrigo.com/fullPage/pricing")),m(qt,_n)?v("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(Tt().continuousVertical&&(Tt().loopTop||Tt().loopBottom)&&(Tt().continuousVertical=!1,v("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),!Tt().scrollOverflow||!Tt().scrollBar&&Tt().autoScrolling||v("warn","Options scrollBar:true and autoScrolling:false are mutually exclusive with scrollOverflow:true. Sections with scrollOverflow might not work well in Firefox"),!Tt().continuousVertical||!Tt().scrollBar&&Tt().autoScrolling||(Tt().continuousVertical=!1,v("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),s.forEach((function(n){Tt()[n]&&v("warn","fullpage.js extensions require fullpage.extensions.min.js file instead of the usual fullpage.js. Requested: "+n)})),Tt().anchors.forEach((function(n){var t=[].slice.call(p("[name]")).filter((function(t){return U(t,"name")&&U(t,"name").toLowerCase()==n.toLowerCase()})),e=[].slice.call(p("[id]")).filter((function(t){return U(t,"id")&&U(t,"id").toLowerCase()==n.toLowerCase()}));if(e.length||t.length){v("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE).");var i=e.length?"id":"name";(e.length||t.length)&&v("error",'"'+n+'" is is being used by another element `'+i+"` property")}})))}function Uo(n,t){var e;if(Kt=p("body")[0],qt=p("html")[0],Gt=p("html, body"),!m(qt,_n))return"touchWrapper",e="string"==typeof n?p(n)[0]:n,gt.touchWrapper=e,function(n){yt=g({},gt,n),bt=Object.assign({},yt)}(t),function(n){mt=n}("string"==typeof n?p(n)[0]:n),vn.R(yn),Vo(),f.getFullpageData=function(){return{options:Tt()}},f.version="4.0.20",f.test=Object.assign(f.test,{top:"0px",pn:"translate3d(0px, 0px, 0px)",Wn:function(){for(var n=[],t=0;t-1?"".concat(n,": 0;"):"",e='\n \n "),i=rn(dn.C),o=!dn.nt||Tt().credits.enabled;i&&i.item&&o&&i.item.insertAdjacentHTML("beforeend",e)})),function(){vn.D(yn,(function(){var t,u,l;hn({nt:(Tt().licenseKey,t=Tt().licenseKey,u=function(t){var e=parseInt("514").toString(16);if(!t||t.length<29||4===t.split(n[0]).length)return null;var i=["Each","for"][o()]().join(""),u=t[["split"]]("-"),l=[];u[i]((function(n,t){if(t<4){var i=function(n){var t=n[n.length-1],e=["NaN","is"][o()]().join("");return window[e](t)?r(t):function(n){return n-Kn.length}(t)}(n);l.push(i);var a=r(n[i]);if(1===t){var u=["pa","dS","t","art"].join("");a=a.toString()[u](2,"0")}e+=a,0!==t&&1!==t||(e+="-")}}));var c=0,f="";return t.split("-").forEach((function(n,t){if(t<4){for(var e=0,i=0;i<4;i++)i!==l[t]&&(e+=Math.abs(r(n[i])),isNaN(n[i])||c++);var o=a(e);f+=o}})),f+=a(c),{et:new Date(e+"T00:00"),it:e.split("-")[2]===8*(Kn.length-2)+"",ot:f}}(t),l=function(n){var t=i[o()]().join("");return n&&0===t.indexOf(n)&&n.length===t.length}(t),(u||l)&&(u&&e<=u.et&&u.ot===t.split(n[0])[4]||l||u.it)||!1)})}));var n=["-"],t="2023-4-29".split("-"),e=new Date(t[0],t[1],t[2]),i=["se","licen","-","v3","l","gp"];function o(){return[["re","verse"].join("")]["".length]}function r(n){return n?isNaN(n)?n.charCodeAt(0)-72:n:""}function a(n){var t=72+n;return t>90&&t<97&&(t+=15),String.fromCharCode(t).toUpperCase()}}(),f.setKeyboardScrolling=Co,f.shared.tt=No,f.setAllowScrolling=Bo,f.destroy=function(n){de(!1,"internal"),Bo(!0),fo(!1),Co(!1),L(St(),Un),vn.R(Tn),n&&(Vt(0),p("img[data-src], source[data-src], audio[data-src], iframe[data-src]",St()).forEach((function(n){un(n,"src")})),p("img[data-srcset]").forEach((function(n){un(n,"srcset")})),Z(p("#fp-nav, .fp-slidesNav, .fp-controlArrow")),y(Ot(pn().C),{height:"","background-color":"",padding:""}),y(Ot(pn().slides),{width:""}),y(St(),{height:"",position:"","-ms-touch-action":"","touch-action":""}),y(Gt,{overflow:"",height:""}),D(qt,_n),D(Kt,Wn+" fp-scrollable"),Kt.className.split(/\s+/).forEach((function(n){0===n.indexOf("fp-viewing")&&D(Kt,n)})),Ot(pn().hn).forEach((function(n){Tt().scrollOverflow&&Ve.In(n),D(n,"fp-table active fp-completely "+lt);var t=U(n,"data-fp-styles");t&&n.setAttribute("style",t),m(n,Yn)&&!wt&&n.removeAttribute("data-anchor")})),Bt(St()),[Qn,ot,et].forEach((function(n){p(n,St()).forEach((function(n){z(n)}))})),y(St(),{"-webkit-transition":"none",transition:"none"}),D(St(),Bn),o.scrollTo(0,0),[Yn,Jn,it].forEach((function(n){D(p("."+n),n)})))},o.fp_easings=g(o.fp_easings,{easeInOutCubic:function(n,t,e,i){return(n/=i/2)<1?e/2*n*n*n+t:e/2*((n-=2)*n*n+2)+t}}),o.jQuery&&function(n,t){n&&t?n.fn.fullpage=function(e){e=n.extend({},e,{$:n}),new t(this[0],e),Object.keys(f).forEach((function(n){Tt().$.fn.fullpage[n]=f[n]}))}:v("error","jQuery is required to use the jQuery fullpage adapter!")}(o.jQuery,Uo),Uo})); diff --git a/apps/website/public/scripts/scroll.js b/apps/website/public/scripts/scroll.js deleted file mode 100644 index de3d871..0000000 --- a/apps/website/public/scripts/scroll.js +++ /dev/null @@ -1,15 +0,0 @@ -/* eslint-disable new-cap */ -/* eslint-disable no-new */ -new fullpage('#fullpage', { - licenseKey: 'gplv3-license', - autoScrolling: true, - scrollBar: true, - scrollHorizontally: false, - fixedElements: '', - fitToSection: false, - // navigation: true, - // navigationPosition: 'right', - credits: { - enabled: false, - }, -}); diff --git a/apps/website/src/components/base/Section.astro b/apps/website/src/components/base/Section.astro index 45750f6..a12ed12 100644 --- a/apps/website/src/components/base/Section.astro +++ b/apps/website/src/components/base/Section.astro @@ -7,7 +7,6 @@ interface Props extends HTMLAttributes<'section'> { wrapperClass?: string wFull?: boolean hFull?: boolean - sectionClass?: boolean } const { @@ -16,7 +15,6 @@ const { wrapperClass = '', wFull = true, hFull = false, - sectionClass = true, ...props } = Astro.props; @@ -28,7 +26,7 @@ const twoColumnClasses = ` ${maxWidth === 'none' ? 'justify-center' : 'justify-c const className = `max-w-[${maxWidth}] ${hFull ? 'min-h-screen' : 'h-auto'} ${wFull ? 'w-full' : `w-[${maxWidth}]`} px-5 md:p-0 flex gap-x-20 gap-y-4${twoColumn ? twoColumnClasses : ''}${props.class ? ` ${props.class}` : ''}`; --- -
    +
    {twoColumn ? ( diff --git a/apps/website/src/layouts/Layout.astro b/apps/website/src/layouts/Layout.astro index 8653d90..2658006 100644 --- a/apps/website/src/layouts/Layout.astro +++ b/apps/website/src/layouts/Layout.astro @@ -32,8 +32,6 @@ const { {title} - - diff --git a/apps/website/src/pages/projects/oneconfig.astro b/apps/website/src/pages/projects/oneconfig.astro index 1489bb1..700fd3d 100644 --- a/apps/website/src/pages/projects/oneconfig.astro +++ b/apps/website/src/pages/projects/oneconfig.astro @@ -59,7 +59,7 @@ import { Code } from 'astro:components';
    -
    +
    @@ -95,7 +95,7 @@ import { Code } from 'astro:components';
    -
    +
    Designed for users
    -- cgit