Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeofthis)thrownewTypeError("Function.prototype.bind - what is trying to be bound is not callable");vart=Array.prototype.slice.call(arguments,1),n=this;returnfNOP=function(){},fBound=function(){returnn.apply(thisinstanceoffNOP&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))},fNOP.prototype=this.prototype,fBound.prototype=newfNOP,fBound}),!function(e,t){"function"==typeofdefine&&define.amd?define("smoothScroll",t(e)):"object"==typeofexports?module.exports=t(e):e.smoothScroll=t(e)}(this,function(e){"use strict";vart,n={},r=!!document.querySelector&&!!e.addEventListener,i={speed:500,easing:"easeInOutCubic",offset:0,updateURL:!0,callbackBefore:function(){},callbackAfter:function(){}},o=function(e,t,n){if("[object Object]"===Object.prototype.toString.call(e))for(varrine)Object.prototype.hasOwnProperty.call(e,r)&&t.call(n,e[r],r,e);elsefor(vari=0,o=e.length;o>i;i++)t.call(n,e[i],i,e)},a=function(e,t){varn={};returno(e,function(t,r){n[r]=e[r]}),o(t,function(e,r){n[r]=t[r]}),n},u=function(e){for(vart,n=String(e),r=n.length,i=-1,o="",a=n.charCodeAt(0);++i<r;){if(t=n.charCodeAt(i),0===t)thrownewInvalidCharacterError("Invalid character: the input contains U+0000.");o+=t>=1&&31>=t||127==t||0===i&&t>=48&&57>=t||1===i&&t>=48&&57>=t&&45===a?"\\"+t.toString(16)+" ":t>=128||45===t||95===t||t>=48&&57>=t||t>=65&&90>=t||t>=97&&122>=t?n.charAt(i):"\\"+n.charAt(i)}returno},c=function(e,t){varn;return"easeInQuad"===e&&(n=t*t),"easeOutQuad"===e&&(n=t*(2-t)),"easeInOutQuad"===e&&(n=.5>t?2*t*t:-1+(4-2*t)*t),"easeInCubic"===e&&(n=t*t*t),"easeOutCubic"===e&&(n=--t*t*t+1),"easeInOutCubic"===e&&(n=.5>t?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1),"easeInQuart"===e&&(n=t*t*t*t),"easeOutQuart"===e&&(n=1---t*t*t*t),"easeInOutQuart"===e&&(n=.5>t?8*t*t*t*t:1-8*--t*t*t*t),"easeInQuint"===e&&(n=t*t*t*t*t),"easeOutQuint"===e&&(n=1+--t*t*t*t*t),"easeInOutQuint"===e&&(n=.5>t?16*t*t*t*t*t:1+16*--t*t*t*t*t),n||t},s=function(e,t,n){varr=0;if(e.offsetParent)dor+=e.offsetTop,e=e.offsetParent;while(e);returnr=r-t-n,r>=0?r:0},l=function(){returnMath.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},f=function(e){returne&&"object"==typeofJSON&&"function"==typeofJSON.parse?JSON.parse(e):{}},p=function(e,t){history.pushState&&(t||"true"===t)&&history.pushState({pos:e.id},"",window.location.pathname+e)};returnn.animateScroll=function(t,n,r,o){varg=a(g||i,r||{}),d=f(t?t.getAttribute("data-options"):null);g=a(g,d),n="#"+u(n.substr(1));varh,m,y,v=document.querySelector("[data-scroll-header]"),b=null===v?0:v.offsetHeight+v.offsetTop,w=e.pageYOffset,x=s(document.querySelector(n),b,parseInt(g.offset,10)),E=x-w,j=l(),k=0;t&&"a"===t.tagName.toLowerCase()&&o&&o.preventDefault(),p(n,g.updateURL);varO=function(r,i,o){vara=e.pageYOffset;(r==i||a==i||e.innerHeight+a>=j)&&(clearInterval(o),g.callbackAfter(t,n))},S=function(){k+=16,m=k/parseInt(g.speed,10),m=m>1?1:m,y=w+E*c(g.easing,m),e.scrollTo(0,Math.floor(y)),O(y,x,h)},A=function(){g.callbackBefore(t,n),h=setInterval(S,16)};0===e.pageYOffset&&e.scrollTo(0,0),A()},n.init=function(e){if(r){t=a(i,e||{});varu=document.querySelectorAll("[data-scroll]");o(u,function(e){e.addEventListener("click",n.animateScroll.bind(null,e,e.hash,t),!1)})}},n}),self="undefined"!=typeofwindow?window:"undefined"!=typeofWorkerGlobalScope&&selfinstanceofWorkerGlobalScope?self:{};varPrism=function(){vare=/\blang(?:uage)?-(?!\*)(\w+)\b/i,t=self.Prism={util:{encode:function(e){returneinstanceofn?newn(e.type,t.util.encode(e.content)):"Array"===t.util.type(e)?e.map(t.util.encode):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){returnObject.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},clone:function(e){varn=t.util.type(e);switch(n){case"Object":varr={};for(variine)e.hasOwnProperty(i)&&(r[i]=t.util.clone(e[i]));returnr;case"Array":return