var __spreadArrays=this&&this.__spreadArrays||function(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var i=Array(t),n=0,e=0;e<r;e++)for(var o=arguments[e],s=0,a=o.length;s<a;s++,n++)i[n]=o[s];return i};System.register(["./p-06dddc70.system.js","./p-91726714.system.js","./p-123d7e8d.system.js","./p-0cf43fad.system.js"],(function(t){"use strict";return{setters:[function(e){t("UUID",e.U)},function(e){t("FileManager",e.F)},function(e){var r={};r.BceFile=e.B;r.colorShade=e.c;r.modulo=e.m;r.ripple=e.r;t(r)},function(e){var r={};r.debounce=e.d;r.isEmail=e.i;r.validator=e.v;t(r)}],execute:function(){t("throttle",r);var e=function(){function t(t,e){var r=this;if(e===void 0){e={}}this.current=null;this.nodes=[];this.offset=0;this.timeout=0;this.handleScroll=function(){if(r.timeout)window.cancelAnimationFrame(r.timeout);r.timeout=window.requestAnimationFrame((function(){return r.detect()}))};this.selector=t;this.options=Object.assign({class:"active"},e);this.reload();window.addEventListener("resize",this.handleScroll);window.addEventListener("scroll",this.handleScroll)}Object.defineProperty(t.prototype,"active",{get:function(){var t=this.nodes[this.nodes.length-1];if(t&&this.bottom&&this.isVisible(t.section))return t;for(var e=this.nodes.length-1;e>=0;e--)if(this.isVisible(this.nodes[e].section))return this.nodes[e];return null},enumerable:true,configurable:true});Object.defineProperty(t.prototype,"bottom",{get:function(){var t=this.root;return t.scrollHeight-window.innerHeight<=t.scrollTop},enumerable:true,configurable:true});Object.defineProperty(t.prototype,"root",{get:function(){return document.scrollingElement||document.documentElement},enumerable:true,configurable:true});t.prototype.destroy=function(){if(this.current)this.deactivate(this.current);window.removeEventListener("resize",this.handleScroll);window.removeEventListener("scroll",this.handleScroll)};t.prototype.detect=function(){var t=this.active;var e=this.current;if(e){if(e===t)return;else this.deactivate(e)}if(t)this.activate(t);this.current=t};t.prototype.reload=function(){var t=this.root;var e=t.querySelectorAll(this.selector);this.nodes=Array.from(e).reduce((function(t,e){var r="hash"in e?e.hash:"";var i=decodeURIComponent(r.slice(1));var n=document.getElementById(i);return n?__spreadArrays(t,[{nav:e,section:n}]):t}),[]);this.offset=Math.min.apply(Math,this.nodes.map((function(t){return t.section.offsetTop})));this.detect()};t.prototype.activate=function(t){t.nav.classList.add(this.options.class)};t.prototype.deactivate=function(t){t.nav.classList.remove(this.options.class)};t.prototype.isVisible=function(t,e){var r=t.getBoundingClientRect();return e?r.bottom<window.innerHeight:r.top<=this.offset};return t}();t("ScrollSpy",e);function r(t,e){if(e===void 0){e=200}var r=false;return function(){if(r)return;var i=this;var n=arguments;t.apply(i,n);r=true;setTimeout((function(){return r=false}),e)}}}}}));