198 lines
509 KiB
JavaScript
198 lines
509 KiB
JavaScript
|
/*!
|
||
|
Anime
|
||
|
Version: v3.2.2
|
||
|
Plugin URL: animejs.com
|
||
|
License: Copyright 2023 Julian Garnier | Released under the MIT license
|
||
|
!*/
|
||
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.anime=t()}(this,function(){"use strict";var o={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},_={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},j=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],u={CSS:{},springs:{}};function S(e,t,i){return Math.min(Math.max(e,t),i)}function c(e,t){return-1<e.indexOf(t)}function s(e,t){return e.apply(null,t)}var x={arr:function(e){return Array.isArray(e)},obj:function(e){return c(Object.prototype.toString.call(e),"Object")},pth:function(e){return x.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||x.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},nil:function(e){return x.und(e)||null===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return x.hex(e)||x.rgb(e)||x.hsl(e)},key:function(e){return!o.hasOwnProperty(e)&&!_.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function p(e){return(e=/\(([^)]+)\)/.exec(e))?e[1].split(",").map(function(e){return parseFloat(e)}):[]}function a(n,i){var e=p(n),t=S(x.und(e[0])?1:e[0],.1,100),r=S(x.und(e[1])?100:e[1],.1,100),s=S(x.und(e[2])?10:e[2],.1,100),e=S(x.und(e[3])?0:e[3],.1,100),a=Math.sqrt(r/t),o=s/(2*Math.sqrt(r*t)),l=o<1?a*Math.sqrt(1-o*o):0,c=o<1?(o*a-e)/l:-e+a;function d(e){var t=i?i*e/1e3:e,t=o<1?Math.exp(-t*o*a)*(+Math.cos(l*t)+c*Math.sin(l*t)):(1+c*t)*Math.exp(-t*a);return 0===e||1===e?e:1-t}return i?d:function(){var e=u.springs[n];if(e)return e;for(var t=0,i=0;;)if(1===d(t+=1/6)){if(16<=++i)break}else i=0;return u.springs[n]=t*(1/6)*1e3}}function B(t){return void 0===t&&(t=10),function(e){return Math.ceil(S(e,1e-6,1)*t)*(1/t)}}function F(b,t,_,i){if(0<=b&&b<=1&&0<=_&&_<=1){var w=new Float32Array(11);if(b!==t||_!==i)for(var e=0;e<11;++e)w[e]=T(.1*e,b,_);return function(e){return b===t&&_===i||0===e||1===e?e:T(function(e){for(var t=0,i=1;10!==i&&w[i]<=e;++i)t+=.1;var n=t+(e-w[--i])/(w[i+1]-w[i])*.1,r=E(n,b,_);if(.001<=r){for(var s=e,a=n,o=b,l=_,c=0;c<4;++c){var d=E(a,o,l);if(0===d)return a;a-=(T(a,o,l)-s)/d}return a}if(0===r)return n;for(var u,p,h=e,f=t,m=t+.1,g=b,v=_,y=0;0<(u=T(p=f+(m-f)/2,g,v)-h)?m=p:f=p,1e-7<Math.abs(u)&&++y<10;);return p}(e),t,i)}}}function n(e,t){return 1-3*t+3*e}function T(e,t,i){return((n(t,i)*e+(3*i-6*t))*e+3*t)*e}function E(e,t,i){return 3*n(t,i)*e*e+2*(3*i-6*t)*e+3*t}t={linear:function(){return function(e){return e}}},i={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Expo:function(){return function(e){return e?Math.pow(2,10*e-10):0}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,i=4;e<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===t&&(t=.5);var i=S(e=void 0===e?1:e,1,10),n=S(t,.1,2);return function(e){return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-n/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/n)}}},["Quad","Cubic","Quart","Quint"].forEach(function(e,t){i[e]=function(){return function(e){return Math.pow(e,t+2)}}}),Object.keys(i).forEach(function(e){var n=i[e];t["easeIn"+e]=n,t["easeOut"+e]=function(t,i){return function(e){return 1-n(t,i)(1-e)}},t["easeInOut"+e]=function(t,i){return function(e){return e<.5?n(t,i)(2*e)/2:1-n(t,i)(-2*e+2)/2}},t["easeOutIn"+e]=function(t,i){return function(e){return e<.5?(1-n(t,i)(1-2*e))/2:(n(t,i)(2*e-1)+1)/2}}});var t,i,l=t;function C(e,t){i
|
||
|
/*!
|
||
|
Atropos
|
||
|
Version: 2.0.2
|
||
|
Plugin URL: https://atroposjs.com
|
||
|
License: Copyright 2021-2024 | Released under the MIT License
|
||
|
!*/
|
||
|
var Atropos=function(){"use strict";function B(){return(B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function F(e,t){return e.querySelector(t)}var N={alwaysActive:!1,activeOffset:50,shadowOffset:50,shadowScale:1,duration:300,rotate:!0,rotateTouch:!0,rotateXMax:15,rotateYMax:15,rotateXInvert:!1,rotateYInvert:!1,stretchX:0,stretchY:0,stretchZ:0,commonOrigin:!0,shadow:!0,highlight:!0};return function(e){function t(e,t,i,n){e.addEventListener(t,i,n)}function i(e,t,i,n){e.removeEventListener(t,i,n)}function n(e){v=void 0,"pointerdown"===e.type&&"mouse"===e.pointerType||"pointerenter"===e.type&&"mouse"!==e.pointerType||("pointerdown"===e.type&&e.preventDefault(),y=e.clientX,b=e.clientY,M.alwaysActive?m=f=void 0:(j(),"function"==typeof M.onEnter&&M.onEnter()))}function r(e){!1===v&&e.cancelable&&e.preventDefault()}function s(e){if(M.rotate&&C.isActive){if("mouse"!==e.pointerType){if(!M.rotateTouch)return;e.preventDefault()}var t=e.clientX,i=e.clientY,n=t-y,r=i-b;"string"!=typeof M.rotateTouch||0==n&&0==r||void 0!==v||(25<=n*n+r*r&&(r=180*Math.atan2(Math.abs(r),Math.abs(n))/Math.PI,v="scroll-y"===M.rotateTouch?45<r:45<90-r),!1===v&&(T.classList.add("atropos-rotate-touch"),e.cancelable)&&e.preventDefault()),"mouse"!==e.pointerType&&v||z(t,i)}}function a(e){e=e.target,!S.contains(e)&&e!==S&&C.isActive&&D()}var c,o,l,h,d,u,f,m,p,g,v,y,b,_,w,x,T=(E=e=void 0===e?{}:e).el,S=E.eventsEl,E=e.isComponent,C={__atropos__:!0,params:B({},N,{onEnter:null,onLeave:null,onRotate:null},(void 0===(o=e||{})&&(o={}),l={},Object.keys(o).forEach(function(e){void 0!==o[e]&&(l[e]=o[e])}),l)),destroyed:!1,isActive:!1},M=C.params,k=[],I=(function e(){_=requestAnimationFrame(function(){k.forEach(function(e){var t,i;"function"==typeof e?e():(t=e.element,i=e.prop,e=e.value,t.style[i]=e)}),k.splice(0,k.length),e()})}(),function(e,t){k.push({element:e,prop:"transitionDuration",value:t})}),A=function(e,t){k.push({element:e,prop:"transitionTimingFunction",value:t})},O=function(e,t){k.push({element:e,prop:"transform",value:t})},L=function(e,t){k.push({element:e,prop:"opacity",value:t})},R=function(e,t){k.push({element:e,prop:"transformOrigin",value:t})},P=function(e){var t=e.rotateXPercentage,r=void 0===t?0:t,t=e.rotateYPercentage,s=void 0===t?0:t,a=e.duration,o=e.opacityOnly,l=e.easeOut;t="[data-atropos-offset], [data-atropos-opacity]",c.querySelectorAll(t).forEach(function(e){I(e,a),A(e,l?"ease-out":"");var t,i,n=function(e){if(e.dataset.atroposOpacity&&"string"==typeof e.dataset.atroposOpacity)return e.dataset.atroposOpacity.split(";").map(function(e){return parseFloat(e)})}(e);0===r&&0===s?(o||O(e,"translate3d(0, 0, 0)"),n&&L(e,n[0])):(t=parseFloat(e.dataset.atroposOffset)/100,Number.isNaN(t)||o||O(e,"translate3d("+-s*-t+"%, "+r*-t+"%, 0)"),n&&(t=n[0],n=n[1],i=Math.max(Math.abs(r),Math.abs(s)),L(e,t+(n-t)*i/100)))})},z=function(e,t){var i,n=T!==S,r=(f=f||T.getBoundingClientRect(),n&&!m&&(m=S.getBoundingClientRect()),void 0===e&&void 0===t&&(e=(r=n?m:f).left+r.width/2,t=r.top+r.height/2),0),s=0,a=f,o=a.top,l=a.left,c=a.width,a=a.height,d=(n?(u=(p=m).top,i=p.left,d=p.width,p=p.height,s=M.rotateYMax*(e-i-(c/2+(l-i)))/(d-c/2)*-1,r=M.rotateXMax*(t-u-(a/2+(o-u)))/(p-a/2),i=e-l+"px "+(t-o)+"px"):(s=M.rotateYMax*(e-l-c/2)/(c/2)*-1,r=M.rotateXMax*(t-o-a/2)/(a/2)),r=Math.min(Math.max(-r,-M.rotateXMax),M.rotateXMax),M.rotateXInvert&&(r=-r),s=Math.min(Math.max(-s,-M.rotateYMax),M.rotateYMax),M.rotateYInvert&&(s=-s),r/M.rotateXMax*100),u=s/M.rotateYMax*100,p=(n?u/100*M.stretchX:0)*(M.rotateYInvert?-1:1),e=(n?d/100*M.stretchY:0)*(M.rotateXInvert?-1:1),l=n?Math.max(Math.abs(d),Math.abs(u))/100*M.stretchZ:0;O(h,"translate3d("+p+"%, "+-e+"%, "+-l+"px) rotateX("+r+"deg) rotateY("+s+"deg)"),i&&M.commonOrigin&&R(h,i),g&&(I(g,M.duration+"ms"),A(g,"ease-out"),O(g,"translate3d("+.25*-u+"%, "+.25*d+"%, 0)"),L(g,Math.max(Math.abs(d),Math.abs(u))/100)),P({rotateXPercentage:d,rotateYPercentage:u,duration:M.duration+"ms",easeOut:
|
||
|
/*!
|
||
|
Bootstrap
|
||
|
Version: 5.3.2
|
||
|
Plugin URL: https://getbootstrap.com/
|
||
|
License: Copyright 2011-2024 The Bootstrap Authors | Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||
|
!*/
|
||
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,function(){"use strict";const n=new Map,R={set(e,t,i){n.has(e)||n.set(e,new Map);e=n.get(e);e.has(t)||0===e.size?e.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(e.keys())[0]}.`)},get(e,t){return n.has(e)&&n.get(e).get(t)||null},remove(e,t){var i;n.has(e)&&((i=n.get(e)).delete(t),0===i.size)&&n.delete(e)}},j=1e3,B="transitionend",F=e=>e=e&&window.CSS&&window.CSS.escape?e.replace(/#([^\s"#']+)/g,(e,t)=>"#"+CSS.escape(t)):e,N=e=>{e.dispatchEvent(new Event(B))},s=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,r=e=>s(e)?e.jquery?e[0]:e:"string"==typeof e&&0<e.length?document.querySelector(F(e)):null,a=e=>{if(!s(e)||0===e.getClientRects().length)return!1;var t="visible"===getComputedStyle(e).getPropertyValue("visibility"),i=e.closest("details:not([open])");if(i&&i!==e){e=e.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return t},o=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),H=e=>{var t;return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?H(e.parentNode):null:null},W=()=>{},q=e=>{e.offsetHeight},Y=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,$=[],l=()=>"rtl"===document.documentElement.dir;var e=n=>{var e;e=()=>{const e=Y();if(e){const t=n.NAME,i=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=i,n.jQueryInterface)}},"loading"===document.readyState?($.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of $)e()}),$.push(e)):e()};const c=(e,t=[],i=e)=>"function"==typeof e?e(...t):i,X=(i,n,e=!0)=>{if(e){e=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);var e=Number.parseFloat(t),n=Number.parseFloat(i);return e||n?(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*j):0})(n)+5;let t=!1;const r=({target:e})=>{e===n&&(t=!0,n.removeEventListener(B,r),c(i))};n.addEventListener(B,r),setTimeout(()=>{t||N(n)},e)}else c(i)},G=(e,t,i,n)=>{var r=e.length;let s=e.indexOf(t);return-1===s?!i&&n?e[r-1]:e[0]:(s+=i?1:-1,n&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))])},V=/[^.]*(?=\..*)\.|.*/,U=/\..*/,Q=/::\d+$/,K={};let Z=1;const J={mouseenter:"mouseover",mouseleave:"mouseout"},ee=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function te(e,t){return t&&t+"::"+Z++||e.uidEvent||Z++}function ie(e){var t=te(e);return e.uidEvent=t,K[t]=K[t]||{},K[t]}function ne(e,t,i=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===i)}function re(e,t,i){var n="string"==typeof t,t=!n&&t||i;let r=oe(e);return[n,t,r=ee.has(r)?r:e]}function se(n,r,s,a,o){if("string"==typeof r&&n){let[e,t,i]=re(r,s,a);r in J&&(t=(l=t,function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return l.call(this,e)}));var l,c,d,u,p,h,a=ie(n),a=a[i]||(a[i]={}),f=ne(a,t,e?s:null);f?f.oneOff=f.oneOff&&o:(f=te(t,r.replace(V,"")),(r=e?(u=n,p=s,h=t,function t(i){var n=u.querySelectorAll(p);for(let e=i["target"];e&&e!==this;e=e.parentNode)for(const r of n)if(r===e)return le(i,{delegateTarget:e})
|
||
|
/*!
|
||
|
GSAP
|
||
|
Version: 3.12.4
|
||
|
Plugin URL: https://gsap.com
|
||
|
License: Copyright 2024, GreenSock. All rights reserved. | Subject to the terms at https://gsap.com/standard-license or for Club GreenSock members, the agreement issued with that membership. | author: Jack Doyle, jack@greensock.com
|
||
|
!*/
|
||
|
function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function i(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function K(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z(e){return!1!==e}function s(){return"undefined"!=typeof window}function Z(e){return u(e)||W(e)}function n(e){return(bt=J(e,a))&&f}function o(e,t){return e&&(a[e]=t)&&bt&&(bt[e]=t)||a}function g(){return 0}function h(e,t){return(e=e.split(",")).forEach(t)||e}function v(e,t,i,n){Ct.length&&!j&&Rt(),e.render(t,i,n||j&&t<0&&(e._initted||e._startAt)),Ct.length&&!j&&Rt()}function y(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(vt).length<2?t:W(e)?e.trim():e}function b(e){return e}function D(e,t){for(var i in t)i in e||(e[i]=t[i]);return e}function J(e,t){for(var i in t)e[i]=t[i];return e}function _(e,t){for(var i in t)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(e[i]=k(t[i])?_(e[i]||(e[i]={}),t[i]):t[i]);return e}function ee(e,t){var i,n={};for(i in e)i in t||(n[i]=e[i]);return n}function te(e){var n,t=e.parent||B,i=e.keyframes?(n=I(e.keyframes),function(e,t){for(var i in t)i in e||"duration"===i&&n||"ease"===i||(e[i]=t[i])}):D;if(z(e.inherit))for(;t;)i(e,t.vars.defaults),t=t.parent||t._dp;return e}function w(e,t,i,n,r){void 0===i&&(i="_first");var s,a=e[n=void 0===n?"_last":n];if(r)for(s=t[r];a&&a[r]>s;)a=a._prev;a?(t._next=a._next,a._next=t):(t._next=e[i],e[i]=t),t._next?t._next._prev=t:e[n]=t,t._prev=a,t.parent=t._dp=e}function x(e,t,i,n){void 0===i&&(i="_first"),void 0===n&&(n="_last");var r=t._prev,s=t._next;r?r._next=s:e[i]===t&&(e[i]=s),s?s._prev=r:e[n]===t&&(e[n]=r),t._next=t._prev=t.parent=null}function ie(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0}function T(e,t,i,n){e._startAt&&(j?e._startAt.revert(Tt):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))}function ne(e){return!e||e._ts&&ne(e.parent)}function S(e){return e._repeat?E(e._tTime,e=e.duration()+e._rDelay)*e:0}function E(e,t){return t=Math.floor(e/=t),e&&t===e?t-1:t}function C(e,t){return(e-t._start)*t._ts+(0<=t._ts?0:t._dirty?t.totalDuration():t._tDur)}function re(e,t){var i;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(i=C(e.rawTime(),t),!t._dur||pe(0,t.totalDuration(),i)-t._tTime>H)&&t.render(i,!0),jt(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(i=e;i._dp;)0<=i.rawTime()&&i.totalTime(i._tTime),i=i._dp;e._zTime=-H}}function M(e,t,i,n){return t.parent&&ie(t),t._start=A((ct(i)?i:i||e!==B?c(e,i,t):e._time)+t._delay),t._end=A(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),w(e,t,"_first","_last",e._sort?"_start":0),le(t)||(e._recent=t),n||re(e,t),e._ts<0&&Ft(e,e._tTime),e}function se(e,t){(a.ScrollTrigger||_t("scrollTrigger",t))&&a.ScrollTrigger.create(t,e)}function ae(e,t,i,n,r){return bi(e,t,r),e._initted?!i&&e._pt&&!j&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&je!==m.frame?(Ct.push(e),e._lazy=[r,n]):void 0:1}function oe(e){return(e=e.parent)&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||oe(e))}function le(e){return"isFromStart"===(e=e.data)||"isStart"===e}function ce(e,t,i,n){var r=e._repeat,t=A(t)||0,s=e._tTime/e._tDur;return s&&!n&&(e._time*=t/e._dur),e._dur=t,e._tDur=r?r<0?1e10:A(t*(r+1)+e._rDelay*r):t,0<s&&!n&&Ft(e,e._tTime=e._tDur*s),e.parent&&Bt(e),i||jt(e.parent,e),e}function de(e){return e instanceof P?jt(e):ce(e,e._dur)}function c(e,t,i){var n,r,s,a=e.labels,o=e._recent||Nt,l=e.duration()>=N?o.endTime(!1):e._dur;return W(t)&&(isNaN(t)||t in a)?(r=t.charAt(0),s="%"===t.substr(-1),n=t.indexOf("="),"<"===r||">"===r?(0<=n&&(t=t.replace(/=/,"")),("<"===r?o._start:o.endTime(0<=o._repeat))+(parseFloat(t.substr(1))||0)*(s?(n<0?o:i).totalDuration()/100:1)):n<0?(t in a||(a[t]=l),a[t]):(r=parseFloat(t.charAt(n-1)+t.substr(n+1)),s&&i&&(r=r/100*(I(i)?i[0]:i).totalDuration()),1<n?c
|
||
|
/*!
|
||
|
Images Loaded Packaged
|
||
|
Version: v5.0.0
|
||
|
Plugin URL: https://imagesloaded.desandro.com/
|
||
|
License: Copyright 2021-2024 | Released under the MIT License
|
||
|
!*/
|
||
|
function(e,t){"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;return e&&t&&((i=(i=this._events=this._events||{})[e]=i[e]||[]).includes(t)||i.push(t)),this},t.once=function(e,t){var i;return e&&t&&(this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0),this},t.off=function(e,t){e=this._events&&this._events[e];return e&&e.length&&-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){let i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];var n,r=this._onceEvents&&this._onceEvents[e];for(n of i)r&&r[n]&&(this.off(e,n),delete r[n]),n.apply(this,t)}return this},t.allOff=function(){return delete this._events,delete this._onceEvents,this},e}),
|
||
|
/*!
|
||
|
* imagesLoaded v5.0.0
|
||
|
* JavaScript is all like "You images are done yet or what?"
|
||
|
* MIT License
|
||
|
*/
|
||
|
function(e,t){"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.imagesLoaded=t(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){let s=t.jQuery,a=t.console;function o(e,t,i){if(!(this instanceof o))return new o(e,t,i);let n=e;var r;(n="string"==typeof e?document.querySelectorAll(e):n)?(this.elements=(r=n,Array.isArray(r)?r:"object"==typeof r&&"number"==typeof r.length?[...r]:[r]),this.options={},"function"==typeof t?i=t:Object.assign(this.options,t),i&&this.on("always",i),this.getImages(),s&&(this.jqDeferred=new s.Deferred),setTimeout(this.check.bind(this))):a.error("Bad element for imagesLoaded "+(n||e))}(o.prototype=Object.create(e.prototype)).getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const r=[1,9,11],l=(o.prototype.addElementImages=function(e){"IMG"===e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t,i,n=e["nodeType"];if(n&&r.includes(n)){for(t of e.querySelectorAll("img"))this.addImage(t);if("string"==typeof this.options.background)for(i of e.querySelectorAll(this.options.background))this.addElementBackgroundImages(i)}},/url\((['"])?(.*?)\1\)/gi);function i(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}return o.prototype.addElementBackgroundImages=function(t){var i=getComputedStyle(t);if(i){let e=l.exec(i.backgroundImage);for(;null!==e;){var n=e&&e[2];n&&this.addBackground(n,t),e=l.exec(i.backgroundImage)}}},o.prototype.addImage=function(e){e=new i(e);this.images.push(e)},o.prototype.addBackground=function(e,t){e=new n(e,t);this.images.push(e)},o.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,this.images.length){let t=(e,t,i)=>{setTimeout(()=>{this.progress(e,t,i)})};this.images.forEach(function(e){e.once("progress",t),e.check()})}else this.complete()},o.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+i,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(e=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[e](this))},(i.prototype=Object.create(e.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e;e=this.img.parentNode,e="PICTURE"===e.nodeName?e:this.img;this.emitEvent("progress",[this,e,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},(o.ma
|
||
|
/*!
|
||
|
Carto - Interactive portfolio
|
||
|
Created by ThemeZaa
|
||
|
!*/
|
||
|
$(function(){"use strict";const s=document.getElementById("stickyImgContainer");if(void 0!==s&&null!=s){var e=document.querySelector(".slides").querySelectorAll(".slide"),e=Array.from(e).map(e=>({image:"",title:"title1",meta:""}));class n{constructor(e){this.data=document.querySelectorAll(".slide"),this.container=document.querySelector(".slides"),this.currentIdx=0,this.slides=document.querySelectorAll(".slide")}mount(e){e.appendChild(this.container);for(let e=0;e<this.slides.length;e++)0===e?(this.slides[e].classList.remove("next"),this.slides[e].classList.remove("prev"),this.slides[e].classList.add("show-meta"),document.querySelector(".bg-overlay").style.backgroundImage=`url("${this.slides[e].dataset.bg}")`):e<0?(this.slides[e].classList.remove("next"),this.slides[e].classList.add("prev")):(this.slides[e].classList.add("next"),this.slides[e].classList.remove("prev"))}onActiveIndexChange(t){this.currentIdx=t;for(let e=0;e<this.slides.length;e++)t===e?(this.slides[e].classList.remove("next"),this.slides[e].classList.remove("prev"),document.querySelector(".bg-overlay").style.backgroundImage=`url("${this.slides[e].dataset.bg}")`):t>e?(this.slides[e].classList.remove("next"),this.slides[e].classList.add("prev")):(this.slides[e].classList.add("next"),this.slides[e].classList.remove("prev"))}onMove(e){this.container.style.transform=`translateY(${100*e/this.slides.length}%)`}appear(){this.container.classList.add("scrolling"),s.classList.add("scrolling"),this.slides[this.currentIdx].classList.remove("show-meta")}disperse(t){this.currentIdx=t,this.slides[this.currentIdx].classList.add("show-meta"),this.container.classList.remove("scrolling"),s.classList.remove("scrolling");for(let e=0;e<this.data.length;e++)e>t?(this.slides[e].classList.add("next"),this.slides[e].classList.remove("prev")):e<t?(this.slides[e].classList.remove("next"),this.slides[e].classList.add("prev")):(this.slides[e].classList.remove("next"),this.slides[e].classList.remove("prev"))}}class r{constructor({onGrabStart:e,onGrabMove:t,onGrabEnd:i}){this.onGrabEnd=i,this.onGrabStart=e,this.onGrabMove=t,this.scroll={start:0,current:0,initial:0},this.listen("mousedown",this.onMouseDown.bind(this)),this.listen("mousemove",this.onMouseMove.bind(this)),this.listen("mouseup",this.onMouseUp.bind(this)),this.listen("touchstart",this.onMouseDown.bind(this),!0),this.listen("touchmove",this.onMouseMove.bind(this),!0),this.listen(["touchend","touchcancel"],this.onMouseUp.bind(this),!0)}listen(t,i,e){const n=this;let r=e?function(e){i({y:e.targetTouches[0]?e.targetTouches[0].clientY:null})}:function(e){"mouseout"===e.type&&null!=e.relatedTarget||i({y:e.clientY})};if(Array.isArray(t))for(let e=0;e<t.length;e++)window.addEventListener(t[e],r,!1);else window.addEventListener(t,function(e){e.target.closest(".stickyImageContainer")===s?r(e):n.onMouseUp()},!1)}onMouseDown(e){this.scroll.inital=this.scroll.current,this.scroll.start=e.y,this.scroll.current=e.y,this.scroll.delta=this.scroll.current-this.scroll.start,this.onGrabStart({delta:this.scroll.delta,direction:Math.abs(this.scroll.delta),current:this.scroll.current,start:this.scroll.start})}onMouseMove(e){this.scroll.start&&(this.scroll.current=e.y,this.scroll.delta=this.scroll.current-this.scroll.start,this.onGrabMove({delta:this.scroll.delta,direction:Math.abs(this.scroll.delta),current:this.scroll.current,start:this.scroll.start}))}onMouseUp(){this.scroll.start&&(this.onGrabEnd({delta:this.scroll.delta,direction:Math.abs(this.scroll.delta),current:this.scroll.current,start:this.scroll.start}),this.scroll.start=null,this.scroll.current=null,this.scroll.delta=null)}}const a=function({from:e,to:s,restDelta:a=.01}){let o=Object.assign({},e),l=Object.keys(e),c={current:null},d=function(e,t){if(0===l.length)cancelAnimationFrame(c.current),c.current=null,t(o);else{l.slice();for(var i,n,r=l.length;0<=r;r--)n=l[r],i=o[n]+.1*(s[n]-o[n]),Math.abs(s[n]-i)<a?(o[n]=s[n],l.splice(r,1),r--):o[n]=i;e(o),c.current=requestAnimationFrame(d)}};return{start:function({update:e,complete:t}){return d=d.bind(null,e,t),c.current=requestAnimationFrame(d),
|
||
|
/*!
|
||
|
Isotope
|
||
|
Version: v3.0.6
|
||
|
Plugin URL: https://isotope.metafizzy.co
|
||
|
License: Copyright 2010-2018 Metafizzy | Licensed GPLv3 for open source use or Isotope Commercial License for commercial use
|
||
|
!*/
|
||
|
function(t,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("jquery")):t.jQueryBridget=i(t,t.jQuery)}(window,function(e,t){"use strict";var i=Array.prototype.slice,n=e.console,u=void 0===n?function(){}:function(e){n.error(e)};function r(l,c,d){(d=d||t||e.jQuery)&&(c.prototype.option||(c.prototype.option=function(e){d.isPlainObject(e)&&(this.options=d.extend(!0,this.options,e))}),d.fn[l]=function(e){var t,n,r,s,a,o;return"string"==typeof e?(t=i.call(arguments,1),r=t,a="$()."+l+'("'+(n=e)+'")',(t=this).each(function(e,t){var i,t=d.data(t,l);t?(i=t[n])&&"_"!=n.charAt(0)?(i=i.apply(t,r),s=void 0===s?i:s):u(a+" is not a valid method"):u(l+" not initialized. Cannot call methods, i.e. "+a)}),void 0!==s?s:t):(o=e,this.each(function(e,t){var i=d.data(t,l);i?(i.option(o),i._init()):(i=new c(t,o),d.data(t,l,i))}),this)},s(d))}function s(e){e&&!e.bridget&&(e.bridget=r)}return s(t||e.jQuery),r}),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;if(e&&t)return-1==(i=(i=this._events=this._events||{})[e]=i[e]||[]).indexOf(t)&&i.push(t),this},t.once=function(e,t){var i;if(e&&t)return this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0,this},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],r=0;r<i.length;r++){var s=i[r];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),
|
||
|
/*!
|
||
|
* getSize v2.0.3
|
||
|
* measure size of elements
|
||
|
* MIT license
|
||
|
*/
|
||
|
function(e,t){"function"==typeof define&&define.amd?define("get-size/get-size",t):"object"==typeof module&&module.exports?module.exports=t():e.getSize=t()}(window,function(){"use strict";function g(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}var t="undefined"==typeof console?function(){}:function(e){console.error(e)},v=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],y=v.length;function b(e){e=getComputedStyle(e);return e||t("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}var _,w=!1;function x(e){if(w||(w=!0,(d=document.createElement("div")).style.width="200px",d.style.padding="1px 2px 3px 4px",d.style.borderStyle="solid",d.style.borderWidth="1px 2px 3px 4px",d.style.boxSizing="border-box",(c=document.body||document.documentElement).appendChild(d),s=b(d),_=200==Math.round(g(s.width)),x.isBoxSizeOuter=_,c.removeChild(d)),(e="string"==typeof e?document.querySelector(e):e)&&"object"==typeof e&&e.nodeType){var t=b(e);if("none"==t.display){for(var i={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},n=0;n<y;n++)i[v[n]]=0;return i}for(var r={},s=(r.width=e.offsetWidth,r.height=e.offsetHeight,r.isBorderBox="border-box"==t.boxSizing),a=0;a<y;a++){var o=v[a],l=t[o],l=parseFloat(l);r[o]=isNaN(l)?0:l}var c=r.paddingLeft+r.paddingRight,d=r.paddingTop+r.paddingBottom,e=r.marginLeft+r.marginRight,u=r.marginTop+r.marginBottom,p=r.borderLeftWidth+r.borderRightWidth,h=r.borderTopWidth+r.borderBottomWidth,f=s&&_,m=g(t.width),m=(!1!==m&&(r.width=m+(f?0:c+p)),g(t.height));return!1!==m&&(r.height=m+(f?0:d+h)),r.innerWidth=r.width-(c+p),r.innerHeight=r.height-(d+h),r.outerWidth=r.width+e,r.outerHeight=r.height+u,r}}return x}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():e.matchesSelector=t()}(window,function(){"use strict";var i=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0;i<t.length;i++){var n=t[i]+"MatchesSelector";if(e[n])return n}}();return function(e,t){return e[i](t)}}),function(t,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("desandro-matches-selector")):t.fizzyUIUtils=i(t,t.matchesSelector)}(window,function(i,s){var l={extend:function(e,t){for(var i in t)e[i]=t[i];return e},modulo:function(e,t){return(e%t+t)%t}},t=Array.prototype.slice,c=(l.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?t.call(e):[e]},l.removeFrom=function(e,t){t=e.indexOf(t);-1!=t&&e.splice(t,1)},l.getParent=function(e,t){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,s(e,t))return e},l.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},l.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.filterFindElements=function(e,n){e=l.makeArray(e);var r=[];return e.forEach(function(e){if(e instanceof HTMLElement)if(n){s(e,n)&&r.push(e);for(var t=e.querySelectorAll(n),i=0;i<t.length;i++)r.push(t[i])}else r.push(e)}),r},l.debounceMethod=function(e,t,n){n=n||100;var r=e.prototype[t],s=t+"Timeout";e.prototype[t]=function(){var e=this[s],t=(clearTimeout(e),arguments),i=this;this[s]=setTimeout(function(){r.apply(i,t),delete i[s]},n)}},l.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},l.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,i){return t+"-"+i}).toLowerCase()},i.console);return l.htmlInit=function(a,o){l.docReady(function(){var e=l.toDashed(o),n="data-"+e,t=document.querySelectorAll("["+n+"]"),e=document.querySe
|
||
|
/*!
|
||
|
* Outlayer v2.1.1
|
||
|
* the brains and guts of a layout library
|
||
|
* MIT license
|
||
|
*/
|
||
|
function(r,s){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(e,t,i,n){return s(r,e,t,i,n)}):"object"==typeof module&&module.exports?module.exports=s(r,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):r.Outlayer=s(r,r.EvEmitter,r.getSize,r.fizzyUIUtils,r.Outlayer.Item)}(window,function(e,t,r,n,s){"use strict";function i(){}var a=e.console,o=e.jQuery,l=0,c={};function d(e,t){var i=n.getQueryElement(e);i?(this.element=i,o&&(this.$element=o(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(t),t=++l,this.element.outlayerGUID=t,(c[t]=this)._create(),this._getOption("initLayout")&&this.layout()):a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||e))}d.namespace="outlayer",d.Item=s,d.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var u=d.prototype;function p(e){function t(){e.apply(this,arguments)}return(t.prototype=Object.create(e.prototype)).constructor=t}n.extend(u,t.prototype),u.option=function(e){n.extend(this.options,e)},u._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},d.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},u._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},u.reloadItems=function(){this.items=this._itemize(this.element.children)},u._itemize=function(e){for(var t=this._filterFindItemElements(e),i=this.constructor.Item,n=[],r=0;r<t.length;r++){var s=new i(t[r],this);n.push(s)}return n},u._filterFindItemElements=function(e){return n.filterFindElements(e,this.options.itemSelector)},u.getItemElements=function(){return this.items.map(function(e){return e.element})},u.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),e=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},u._init=u.layout,u._resetLayout=function(){this.getSize()},u.getSize=function(){this.size=r(this.element)},u._getMeasurement=function(e,t){var i,n=this.options[e];n?("string"==typeof n?i=this.element.querySelector(n):n instanceof HTMLElement&&(i=n),this[e]=i?r(i)[t]:n):this[e]=0},u.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},u._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},u._layoutItems=function(e,i){var n;this._emitCompleteOnItems("layout",e),e&&e.length&&(n=[],e.forEach(function(e){var t=this._getItemLayoutPosition(e);t.item=e,t.isInstant=i||e.isLayoutInstant,n.push(t)},this),this._processLayoutQueue(n))},u._getItemLayoutPosition=function(){return{x:0,y:0}},u._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},u.updateStagger=function(){var e=this.options.stagger;if(null!=e)return this.stagger=function(e){if("number"==typeof e)return e;var e=e.match(/(^\d*\.?\d*)(\w*)/),t=e&&e[1],e=e&&e[2];if(!t.length)return 0;t=parseFloat(t);e=h[e]||1;return t*e}(e),this.stagger;this.stagger=0},u._positionItem=function(e,t,i,n,r){n?e.goTo(t,i):(e.stagger(r*this.stagger),e.moveTo(t,i))},u._postLayout=function(){this.resizeContainer()},u.resizeContainer=function(){var e;this._getOption("resizeContainer")&&(e=this._getContainerSize())&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))},u._getContainerSize=i,u._setContainerMeasure=function(e,t){var i;void 0!==e&&((i=this.size).isBorderBox&&(e+=t?i.paddingLeft+i.paddingRight+i
|
||
|
/*!
|
||
|
* Masonry v4.2.1
|
||
|
* Cascading grid layout library
|
||
|
* https://masonry.desandro.com
|
||
|
* MIT License
|
||
|
* by David DeSandro
|
||
|
*/
|
||
|
function(e,t){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer"),require("get-size")):e.Masonry=t(e.Outlayer,e.getSize)}(window,function(e,o){var e=e.create("masonry"),t=(e.compatOptions.fitWidth="isFitWidth",e.prototype);return t._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},t.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(e=(e=this.items[0])&&e.element,this.columnWidth=e&&o(e).outerWidth||this.containerWidth);var e=this.columnWidth+=this.gutter,t=this.containerWidth+this.gutter,i=t/e,t=e-t%e,i=Math[t&&t<1?"round":"floor"](i);this.cols=Math.max(i,1)},t.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,e=o(e);this.containerWidth=e&&e.innerWidth},t._getItemLayoutPosition=function(e){e.getSize();for(var t=e.size.outerWidth%this.columnWidth,t=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth),t=Math.min(t,this.cols),i=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](t,e),n={x:this.columnWidth*i.col,y:i.y},r=i.y+e.size.outerHeight,s=t+i.col,a=i.col;a<s;a++)this.colYs[a]=r;return n},t._getTopColPosition=function(e){var e=this._getTopColGroup(e),t=Math.min.apply(Math,e);return{col:e.indexOf(t),y:t}},t._getTopColGroup=function(e){if(e<2)return this.colYs;for(var t=[],i=this.cols+1-e,n=0;n<i;n++)t[n]=this._getColGroupY(n,e);return t},t._getColGroupY=function(e,t){return t<2?this.colYs[e]:(e=this.colYs.slice(e,e+t),Math.max.apply(Math,e))},t._getHorizontalColPosition=function(e,t){var i=this.horizontalColIndex%this.cols,i=1<e&&i+e>this.cols?0:i,t=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=t?i+e:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,e)}},t._manageStamp=function(e){var t=o(e),e=this._getElementOffset(e),i=this._getOption("originLeft")?e.left:e.right,n=i+t.outerWidth,i=Math.floor(i/this.columnWidth),i=Math.max(0,i),r=Math.floor(n/this.columnWidth);r-=n%this.columnWidth?0:1;for(var r=Math.min(this.cols-1,r),s=(this._getOption("originTop")?e.top:e.bottom)+t.outerHeight,a=i;a<=r;a++)this.colYs[a]=Math.max(s,this.colYs[a])},t._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},t._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},t.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},e}),
|
||
|
/*!
|
||
|
* Masonry layout mode
|
||
|
* sub-classes Masonry
|
||
|
* https://masonry.desandro.com
|
||
|
*/
|
||
|
function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],t):"object"==typeof module&&module.exports?module.exports=t(require("../layout-mode"),require("masonry-layout")):t(e.Isotope.LayoutMode,e.Masonry)}(window,function(e,t){"use strict";var i,e=e.create("masonry"),n=e.prototype,r={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(i in t.prototype)r[i]||(n[i]=t.prototype[i]);var s=n.measureColumns,a=(n.measureColumns=function(){this.items=this.isotope.filteredItems,s.call(this)},n._getOption);return n._getOption=function(e){return"fitWidth"==e?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},e}),function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],t):"object"==typeof exports?module.exports=t(require("../layout-mode")):t(e.Isotope.LayoutMode)}(window,function(e){"use strict";var e=e.create("fitRows"),t=e.prototype;return t._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},t._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter,i=(0!==this.x&&t+this.x>i&&(this.x=0,this.y=this.maxY),{x:this.x,y:this.y});return this.maxY=Math.max(this.maxY,this.y+e.size.outerHeight),this.x+=t,i},t._getContainerSize=function(){return{height:this.maxY}},e}),function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],t):"object"==typeof module&&module.exports?module.exports=t(require("../layout-mode")):t(e.Isotope.LayoutMode)}(window,function(e){"use strict";var e=e.create("vertical",{horizontalAlignment:0}),t=e.prototype;return t._resetLayout=function(){this.y=0},t._getItemLayoutPosition=function(e){e.getSize();var t=(this.isotope.size.innerWidth-e.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=e.size.outerHeight,{x:t,y:i}},t._getContainerSize=function(){return{height:this.y}},e}),
|
||
|
/*!
|
||
|
* Isotope v3.0.6
|
||
|
*
|
||
|
* Licensed GPLv3 for open source use
|
||
|
* or Isotope Commercial License for commercial use
|
||
|
*
|
||
|
* https://isotope.metafizzy.co
|
||
|
* Copyright 2010-2018 Metafizzy
|
||
|
*/
|
||
|
function(a,o){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(e,t,i,n,r,s){return o(a,e,0,i,n,r,s)}):"object"==typeof module&&module.exports?module.exports=o(a,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):a.Isotope=o(a,a.Outlayer,a.getSize,a.matchesSelector,a.fizzyUIUtils,a.Isotope.Item,a.Isotope.LayoutMode)}(window,function(e,i,t,n,s,r,a){var o=e.jQuery,l=String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(/^\s+|\s+$/g,"")},c=i.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0}),e=(c.Item=r,c.LayoutMode=a,c.prototype),d=(e._create=function(){for(var e in this.itemGUID=0,this._sorters={},this._getSorters(),i.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],a.modes)this._initLayoutMode(e)},e.reloadItems=function(){this.itemGUID=0,i.prototype.reloadItems.call(this)},e._itemize=function(){for(var e=i.prototype._itemize.apply(this,arguments),t=0;t<e.length;t++)e[t].id=this.itemGUID++;return this._updateItemsSortData(e),e},e._initLayoutMode=function(e){var t=a.modes[e],i=this.options[e]||{};this.options[e]=t.options?s.extend(t.options,i):i,this.modes[e]=new t(this)},e.layout=function(){!this._isLayoutInited&&this._getOption("initLayout")?this.arrange():this._layout()},e._layout=function(){var e=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,e),this._isLayoutInited=!0},e.arrange=function(e){this.option(e),this._getIsInstant();e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},e._init=e.arrange,e._hideReveal=function(e){this.reveal(e.needReveal),this.hide(e.needHide)},e._getIsInstant=function(){var e=this._getOption("layoutInstant"),e=void 0!==e?e:!this._isLayoutInited;return this._isInstant=e},e._bindArrangeComplete=function(){var e,t,i,n=this;function r(){e&&t&&i&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}this.once("layoutComplete",function(){e=!0,r()}),this.once("hideComplete",function(){t=!0,r()}),this.once("revealComplete",function(){i=!0,r()})},e._filter=function(e){for(var t=this.options.filter,i=[],n=[],r=[],s=this._getFilterTest(t||"*"),a=0;a<e.length;a++){var o,l=e[a];l.isIgnored||((o=s(l))&&i.push(l),o&&l.isHidden?n.push(l):o||l.isHidden||r.push(l))}return{matches:i,needReveal:n,needHide:r}},e._getFilterTest=function(t){return o&&this.options.isJQueryFiltering?function(e){return o(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return n(e.element,t)}},e.updateSortData=function(e){e=e?(e=s.makeArray(e),this.getItems(e)):this.items;this._getSorters(),this._updateItemsSortData(e)},e._getSorters=function(){var e,t=this.options.getSortData;for(e in t){var i=t[e];this._sorters[e]=d(i)}},e._updateItemsSortData=function(e){for(var t=e&&e.length,i=0;t&&i<t;i++)e[i].updateSortData()},function(e){var t,i,n,r,s;return"string"==typeof e&&(n=(i=(t=l(e).split(" "))[0]).match(/^\[(.+)\]$/),r=function(t,i){if(t)return function(e){return e.getAttribute(t)};return function(e){e=e.querySelector(i);return e&&e.textContent}}(n&&n[1],i),e=(s=c.sortDataParsers[t[1]])?function(e){return e&&s(r(e))}:function(e){return e&&r(e)}),e});c.sortDataParsers={parseInt:function(e){return parseInt(e,10)},parseFloat:function(e){return parseFloat(e)}},e._sort=function(){var e,a,o;this.options.sortBy&&(e=s.makeArray(this.options.sor
|
||
|
/*!
|
||
|
jQuery Cookie Plugin
|
||
|
Version: v1.4.1
|
||
|
Plugin URL: https://github.com/carhartl/jquery-cookie
|
||
|
License: Copyright 2006, 2014 Klaus Hartl | Released under the MIT license
|
||
|
!*/
|
||
|
function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(u){var i=/\+/g;function p(e){return f.raw?e:encodeURIComponent(e)}function h(e,t){e=f.raw?e:function(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(i," ")),f.json?JSON.parse(e):e}catch(e){}}(e);return u.isFunction(t)?t(e):e}var f=u.cookie=function(e,t,i){var n,r;if(1<arguments.length&&!u.isFunction(t))return"number"==typeof(i=u.extend({},f.defaults,i)).expires&&(n=i.expires,(r=i.expires=new Date).setMilliseconds(r.getMilliseconds()+864e5*n)),document.cookie=[p(e),"=",(r=t,p(f.json?JSON.stringify(r):String(r))),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("");for(var s=e?void 0:{},a=document.cookie?document.cookie.split("; "):[],o=0,l=a.length;o<l;o++){var c=a[o].split("="),d=(d=c.shift(),f.raw?d:decodeURIComponent(d)),c=c.join("=");if(e===d){s=h(c,t);break}e||void 0===(c=h(c))||(s[d]=c)}return s};f.defaults={},u.removeCookie=function(e,t){return u.cookie(e,"",u.extend({},t,{expires:-1})),!u.cookie(e)}}),
|
||
|
/*!
|
||
|
jQuery appear plugin
|
||
|
Version: 0.4
|
||
|
Plugin URL: https://github.com/morr/jquery.appear/
|
||
|
License: Copyright (c) 2012 Andrey Sidorov | Released under the MIT license
|
||
|
!*/
|
||
|
function(s){var r=[],n=!1,a=!1,o={interval:250,force_process:!1},l=s(window),c=[];function d(){a=!1;for(var e=0,t=r.length;e<t;e++){n=r[e];var i,n=s(n).filter(function(){return s(this).is(":appeared")});n.trigger("appear",[n]),c[e]&&(i=c[e].not(n)).trigger("disappear",[i]),c[e]=n}}s.expr.pseudos.appeared=s.expr.createPseudo(function(e){return function(e){var t,i,n,r,e=s(e);return!!e.is(":visible")&&(t=l.scrollLeft(),i=l.scrollTop(),n=(r=e.offset()).left,(r=r.top)+e.height()>=i)&&r-(e.data("appear-top-offset")||0)<=i+l.height()&&n+e.width()>=t&&n-(e.data("appear-left-offset")||0)<=t+l.width()}}),s.fn.extend({appear:function(e,t){return s.appear(this,t),this}}),s.extend({appear:function(e,t){var i=s.extend({},o,t||{});n||(t=function(){a||(a=!0,setTimeout(d,i.interval))},s(window).scroll(t).resize(t),n=!0),i.force_process&&setTimeout(d,i.interval),r.push(e),c.push()},force_appear:function(){return!!n&&(d(),!0)}})}("undefined"!=typeof module?require("jquery"):jQuery),
|
||
|
/*!
|
||
|
jQuery countTo Plugin
|
||
|
Version: v1.2.0
|
||
|
Plugin URL: https://github.com/mhuggins/jquery-countTo
|
||
|
License: Copyright (c) Matt Huggins | Released under the MIT license
|
||
|
!*/
|
||
|
function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(jQuery)}(function(s){function a(e,t){this.$element=s(e),this.options=s.extend({},a.DEFAULTS,this.dataOptions(),t),this.init()}a.DEFAULTS={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:function(e,t){return e.toFixed(t.decimals)},onUpdate:null,onComplete:null},a.prototype.init=function(){this.value=this.options.from,this.loops=Math.ceil(this.options.speed/this.options.refreshInterval),this.loopCount=0,this.increment=(this.options.to-this.options.from)/this.loops},a.prototype.dataOptions=function(){var e,t={from:this.$element.data("from"),to:this.$element.data("to"),speed:this.$element.data("speed"),refreshInterval:this.$element.data("refresh-interval"),decimals:this.$element.data("decimals")},i=Object.keys(t);for(e in i){var n=i[e];void 0===t[n]&&delete t[n]}return t},a.prototype.update=function(){this.value+=this.increment,this.loopCount++,this.render(),"function"==typeof this.options.onUpdate&&this.options.onUpdate.call(this.$element,this.value),this.loopCount>=this.loops&&(clearInterval(this.interval),this.value=this.options.to,"function"==typeof this.options.onComplete)&&this.options.onComplete.call(this.$element,this.value)},a.prototype.render=function(){var e=this.options.formatter.call(this.$element,this.value,this.options);this.$element.text(e)},a.prototype.restart=function(){this.stop(),this.init(),this.start()},a.prototype.start=function(){this.stop(),this.render(),this.interval=setInterval(this.update.bind(this),this.options.refreshInterval)},a.prototype.stop=function(){this.interval&&clearInterval(this.interval)},a.prototype.toggle=function(){this.interval?this.stop():this.start()},s.fn.countTo=function(r){return this.each(function(){var e=s(this),t=e.data("countTo"),i="object"==typeof r?r:{},n="string"==typeof r?r:"start";t&&"object"!=typeof r||(t&&t.stop(),e.data("countTo",t=new a(this,i))),t[n].call(t)})}}),
|
||
|
/*!
|
||
|
The Final Countdown
|
||
|
Version: 2.2.0
|
||
|
Plugin URL: http://hilios.github.io/jQuery.countdown/
|
||
|
License: Copyright (c) 2016 Edson Hilios
|
||
|
!*/
|
||
|
function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(n){"use strict";var r=[],s={precision:100,elapse:!1,defer:!1};(t=[]).push(/^[0-9]*$/.source),t.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),t.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source);var t=new RegExp(t.join("|")),d={Y:"years",m:"months",n:"daysToMonth",d:"daysToWeek",w:"weeks",W:"weeksToMonth",H:"hours",M:"minutes",S:"seconds",D:"totalDays",I:"totalHours",N:"totalMinutes",T:"totalSeconds"};function i(c){return function(e){var t=e.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(t)for(var i=0,n=t.length;i<n;++i){var r=t[i].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),s=(s=(s=r[0]).toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),new RegExp(s)),a=r[1]||"",o=r[3]||"",l=null,r=r[2];d.hasOwnProperty(r)&&(l=d[r],l=Number(c[l])),null!==l&&("!"===a&&(l=function(e,t){var i="s",n="";e&&(e=e.replace(/(:|;|\s)/gi,"").split(/\,/),i=1===e.length?e[0]:(n=e[0],e[1]));return 1<Math.abs(t)?i:n}(o,l)),""===a&&l<10&&(l="0"+l.toString()),e=e.replace(s,l.toString()))}return e=e.replace(/%%/,"%")}}function a(e,t,i){this.el=e,this.$el=n(e),this.interval=null,this.offset={},this.options=n.extend({},s),this.instanceNumber=r.length,r.push(this),this.$el.data("countdown-instance",this.instanceNumber),i&&("function"==typeof i?(this.$el.on("update.countdown",i),this.$el.on("stoped.countdown",i),this.$el.on("finish.countdown",i)):this.options=n.extend({},s,i)),this.setFinalDate(t),!1===this.options.defer&&this.start()}n.extend(a.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var e=this;this.update(),this.interval=setInterval(function(){e.update.call(e)},this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),r[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(e){this.finalDate=function(e){if(e instanceof Date)return e;if(String(e).match(t))return String(e).match(/^[0-9]*$/)&&(e=Number(e)),String(e).match(/\-/)&&(e=String(e).replace(/\-/g,"/")),new Date(e);throw new Error("Couldn't cast `"+e+"` to a date object.")}(e)},update:function(){var e,t,i;0===this.$el.closest("html").length?this.remove():(e=void 0!==n._data(this.el,"events"),t=new Date,i=this.finalDate.getTime()-t.getTime(),i=Math.ceil(i/1e3),i=!this.options.elapse&&i<0?0:Math.abs(i),this.totalSecsLeft!==i&&e&&(this.totalSecsLeft=i,this.elapsed=t>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),weeksToMonth:Math.floor(this.totalSecsLeft/60/60/24/7)%4,months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-t.getFullYear()),totalDays:Math.floor(this.totalSecsLeft/60/60/24),totalHours:Math.floor(this.totalSecsLeft/60/60),totalMinutes:Math.floor(this.totalSecsLeft/60),totalSeconds:this.totalSecsLeft},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish"))))},dispatchEvent:function(e){e=n.Event(e+".countdown");e.finalDate=this.finalDate,e.elapsed=this.elapsed,e.offset=n.extend({},this.offset),e.strftime=i(this.offset),this.$el.trigger(e)}}),n.fn.countdown=function(){var i=Array.prototype.slice.call(arguments,0);return this.each(function(){var e,t=n(this).data("countdown-instance");void 0!==t?(t=r[t],e=i[0],a.prototype.hasOwnProperty(e)?t[e].apply(t,i.slice(1)):null===String(e).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(t.setFinalDate.call(t,e),t.start()):n.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,e))):new a(this,i[0],i[1])})}}),
|
||
|
/*!
|
||
|
Easy pie chart
|
||
|
Version: 2.1.7
|
||
|
Plugin URL: https://github.com/rendro/easy-pie-chart
|
||
|
License: Copyright | Robert Fleischmann
|
||
|
!*/
|
||
|
function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(i){function a(e,a){function i(){a.scaleColor&&c(),a.trackColor&&l(a.trackColor,a.trackWidth||a.lineWidth,1)}var n,t=document.createElement("canvas"),r=(e.appendChild(t),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(t),t.getContext("2d")),s=(t.width=t.height=a.size,1),o=(1<window.devicePixelRatio&&(s=window.devicePixelRatio,t.style.width=t.style.height=[a.size,"px"].join(""),t.width=t.height=a.size*s,r.scale(s,s)),r.translate(a.size/2,a.size/2),r.rotate((a.rotate/180-.5)*Math.PI),(a.size-a.lineWidth)/2),l=(a.scaleColor&&a.scaleLength&&(o-=a.scaleLength+2),Date.now=Date.now||function(){return+new Date},function(e,t,i){var n=(i=Math.min(Math.max(-1,i||0),1))<=0;r.beginPath(),r.arc(0,0,o,0,2*Math.PI*i,n),r.strokeStyle=e,r.lineWidth=t,r.stroke()}),c=function(){var e,t;r.lineWidth=1,r.fillStyle=a.scaleColor,r.save();for(var i=24;0<i;--i)e=i%6==0?(t=a.scaleLength,0):(t=.6*a.scaleLength,a.scaleLength-t),r.fillRect(-a.size/2+e,0,t,1),r.rotate(Math.PI/12);r.restore()},d=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};this.getCanvas=function(){return t},this.getCtx=function(){return r},this.clear=function(){r.clearRect(a.size/-2,a.size/-2,a.size,a.size)},this.draw=function(e){var t;a.scaleColor||a.trackColor?r.getImageData&&r.putImageData?n?r.putImageData(n,0,0):(i(),n=r.getImageData(0,0,a.size*s,a.size*s)):(this.clear(),i()):this.clear(),r.lineCap=a.lineCap,t="function"==typeof a.barColor?a.barColor(e):a.barColor,l(t,a.lineWidth,e/100)}.bind(this),this.animate=function(i,n){var r=Date.now(),s=(a.onStart(i,n),function(){var e=Math.min(Date.now()-r,a.animate.duration),t=a.easing(this,e,i,n-i,a.animate.duration);this.draw(t),a.onStep(i,n,t),e>=a.animate.duration?a.onStop(i,n):d(s)}.bind(this));d(s)}.bind(this)}function n(t,i){var n={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(e,t,i,n,r){return(t/=r/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},onStart:function(e,t){},onStep:function(e,t,i){},onStop:function(e,t){}},r=(n.renderer=a,{}),s=0,e=function(){for(var e in this.el=t,this.options=r,n)n.hasOwnProperty(e)&&(r[e]=(i&&void 0!==i[e]?i:n)[e],"function"==typeof r[e])&&(r[e]=r[e].bind(this));"string"==typeof r.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[r.easing])?r.easing=jQuery.easing[r.easing]:r.easing=n.easing,"number"==typeof r.animate&&(r.animate={duration:r.animate,enabled:!0}),"boolean"!=typeof r.animate||r.animate||(r.animate={duration:1e3,enabled:r.animate}),this.renderer=new r.renderer(t,r),this.renderer.draw(s),t.dataset&&t.dataset.percent?this.update(parseFloat(t.dataset.percent)):t.getAttribute&&t.getAttribute("data-percent")&&this.update(parseFloat(t.getAttribute("data-percent")))}.bind(this);this.update=function(e){return e=parseFloat(e),r.animate.enabled?this.renderer.animate(s,e):this.renderer.draw(e),s=e,this}.bind(this),this.disableAnimation=function(){return r.animate.enabled=!1,this},this.enableAnimation=function(){return r.animate.enabled=!0,this},e()}i.fn.easyPieChart=function(t){return this.each(function(){var e;i.data(this,"easyPieChart")||(e=i.extend({},t,i(this).data()),i.data(this,"easyPieChart",new n(this,e)))})}}),
|
||
|
/*!
|
||
|
FitVids
|
||
|
Version: 1.1
|
||
|
Plugin URI: http://fitvidsjs.com/
|
||
|
License: Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com | Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ | Released under the WTFPL license - http://sam.zoy.org/wtfpl/
|
||
|
!*/
|
||
|
function(s){"use strict";s.fn.fitVids=function(e){var t,i,r={customSelector:null,ignore:null};return document.getElementById("fit-vids-style")||(t=document.head||document.getElementsByTagName("head")[0],(i=document.createElement("div")).innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',t.appendChild(i.childNodes[1])),e&&s.extend(r,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"],n=(r.customSelector&&e.push(r.customSelector),".fitvidsignore"),e=(r.ignore&&(n=n+", "+r.ignore),s(this).find(e.join(",")));(e=(e=e.not("object object")).not(n)).each(function(){var e,t,i=s(this);0<i.parents(n).length||"embed"===this.tagName.toLowerCase()&&i.parent("object").length||i.parent(".fluid-width-video-wrapper").length||(i.css("height")||i.css("width")||!isNaN(i.attr("height"))&&!isNaN(i.attr("width"))||(i.attr("height",9),i.attr("width",16)),e=("object"===this.tagName.toLowerCase()||i.attr("height")&&!isNaN(parseInt(i.attr("height"),10))?parseInt(i.attr("height"),10):i.height())/(isNaN(parseInt(i.attr("width"),10))?i.width():parseInt(i.attr("width"),10)),i.attr("name")||(t="fitvid"+s.fn.fitVids._count,i.attr("name",t),s.fn.fitVids._count++),i.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),i.removeAttr("height").removeAttr("width"))})})},s.fn.fitVids._count=0}(window.jQuery||window.Zepto),
|
||
|
/*!
|
||
|
Magnific Popup
|
||
|
Version: 1.1.0 - 2016-02-20
|
||
|
Plugin URL: http://dimsemenov.com/plugins/magnific-popup/
|
||
|
License: Copyright (c) 2016 Dmitry Semenov
|
||
|
!*/
|
||
|
function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(c){function e(){}function d(e,t){f.ev.on("mfp"+e+T,t)}function u(e,t,i,n){var r=document.createElement("div");return r.className="mfp-"+e,i&&(r.innerHTML=i),n?t&&t.appendChild(r):(r=c(r),t&&r.appendTo(t)),r}function p(e,t){f.ev.triggerHandler("mfp"+e,t),f.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),f.st.callbacks[e])&&f.st.callbacks[e].apply(f,c.isArray(t)?t:[t])}function h(e){return e===i&&f.currTemplate.closeBtn||(f.currTemplate.closeBtn=c(f.st.closeMarkup.replace("%title%",f.st.tClose)),i=e),f.currTemplate.closeBtn}function s(){c.magnificPopup.instance||((f=new e).init(),c.magnificPopup.instance=f)}function a(){y&&(v.after(y.addClass(l)).detach(),y=null)}function r(){b&&c(document.body).removeClass(b)}function t(){r(),f.req&&f.req.abort()}var f,n,m,o,g,i,l,v,y,b,_="Close",w="BeforeClose",x="MarkupParse",T=".mfp",S="mfp-ready",R="mfp-removing",E="mfp-prevent-close",C=!!window.jQuery,M=c(window),k=(c.magnificPopup={instance:null,proto:e.prototype={constructor:e,init:function(){var e=navigator.appVersion;f.isLowIE=f.isIE8=document.all&&!document.addEventListener,f.isAndroid=/android/gi.test(e),f.isIOS=/iphone|ipad|ipod/gi.test(e),f.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),f.probablyMobile=f.isAndroid||f.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),m=c(document),f.popupsCache={}},open:function(e){if(!1===e.isObj){f.items=e.items.toArray(),f.index=0;for(var t,i=e.items,n=0;n<i.length;n++)if((t=(t=i[n]).parsed?t.el[0]:t)===e.el[0]){f.index=n;break}}else f.items=c.isArray(e.items)?e.items:[e.items],f.index=e.index||0;if(!f.isOpen){f.types=[],g="",e.mainEl&&e.mainEl.length?f.ev=e.mainEl.eq(0):f.ev=m,e.key?(f.popupsCache[e.key]||(f.popupsCache[e.key]={}),f.currTemplate=f.popupsCache[e.key]):f.currTemplate={},f.st=c.extend(!0,{},c.magnificPopup.defaults,e),f.fixedContentPos="auto"===f.st.fixedContentPos?!f.probablyMobile:f.st.fixedContentPos,f.st.modal&&(f.st.closeOnContentClick=!1,f.st.closeOnBgClick=!1,f.st.showCloseBtn=!1,f.st.enableEscapeKey=!1),f.bgOverlay||(f.bgOverlay=u("bg").on("click.mfp",function(){f.close()}),f.wrap=u("wrap").attr("tabindex",-1).on("click.mfp",function(e){f._checkIfClose(e.target)&&f.close()}),f.container=u("container",f.wrap)),f.contentContainer=u("content"),f.st.preloader&&(f.preloader=u("preloader",f.container,f.st.tLoading));var r=c.magnificPopup.modules;for(n=0;n<r.length;n++){var s=(s=r[n]).charAt(0).toUpperCase()+s.slice(1);f["init"+s].call(f)}p("BeforeOpen"),f.st.showCloseBtn&&(f.st.closeBtnInside?(d(x,function(e,t,i,n){i.close_replaceWith=h(n.type)}),g+=" mfp-close-btn-in"):f.wrap.append(h())),f.st.alignTop&&(g+=" mfp-align-top"),f.fixedContentPos?f.wrap.css({overflow:f.st.overflowY,overflowX:"hidden",overflowY:f.st.overflowY}):f.wrap.css({top:M.scrollTop(),position:"absolute"}),!1!==f.st.fixedBgPos&&("auto"!==f.st.fixedBgPos||f.fixedContentPos)||f.bgOverlay.css({height:m.height(),position:"absolute"}),f.st.enableEscapeKey&&m.on("keyup.mfp",function(e){27===e.keyCode&&f.close()}),M.on("resize.mfp",function(){f.updateSize()}),f.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&f.wrap.addClass(g);var a=f.wH=M.height(),o={},l=(f.fixedContentPos&&f._hasScrollBar(a)&&(l=f._getScrollbarSize())&&(o.marginRight=l),f.fixedContentPos&&(f.isIE7?c("body, html").css("overflow","hidden"):o.overflow="hidden"),f.st.mainClass);return f.isIE7&&(l+=" mfp-ie7"),l&&f._addClassToMFP(l),f.updateItemHTML(),p("BuildControls"),c("html").css(o),f.bgOverlay.add(f.wrap).prependTo(f.st.prependTo||c(document.body)),f._lastFocusedEl=document.activeElement,setTimeout(function(){f.content?(f._addClassToMFP(S),f._setFocus()):f.bgOverlay.addClass(S),m.on("focusin.mfp",f._onFocusIn)},16),f.isOpen=!0,f.updateSize(a),p("Open"),e}f.updateItemHTML(
|
||
|
/*!
|
||
|
Justified Gallery
|
||
|
Version: 3.8.1
|
||
|
Plugin URL: http://miromannino.github.io/Justified-Gallery/
|
||
|
License: Copyright (c) 2020 Miro Mannino | Released under the MIT License
|
||
|
!*/
|
||
|
function(i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),i(t),t}:i(jQuery)}(function(c){function r(e,t){this.settings=t,this.checkSettings(),this.imgAnalyzerTimeout=null,this.entries=null,this.buildingRow={entriesBuff:[],width:0,height:0,aspectRatio:0},this.lastFetchedEntry=null,this.lastAnalyzedIndex=-1,this.yield={every:2,flushed:0},this.border=0<=t.border?t.border:t.margins,this.maxRowHeight=this.retrieveMaxRowHeight(),this.suffixRanges=this.retrieveSuffixRanges(),this.offY=this.border,this.rows=0,this.spinner={phase:0,timeSlot:150,$el:c('<div class="jg-spinner"><span></span><span></span><span></span></div>'),intervalId:null},this.scrollBarOn=!1,this.checkWidthIntervalId=null,this.galleryWidth=e.width(),this.$gallery=e}r.prototype.getSuffix=function(e,t){for(var i=t<e?e:t,n=0;n<this.suffixRanges.length;n++)if(i<=this.suffixRanges[n])return this.settings.sizeRangeSuffixes[this.suffixRanges[n]];return this.settings.sizeRangeSuffixes[this.suffixRanges[n-1]]},r.prototype.removeSuffix=function(e,t){return e.substring(0,e.length-t.length)},r.prototype.endsWith=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},r.prototype.getUsedSuffix=function(e){for(var t in this.settings.sizeRangeSuffixes)if(this.settings.sizeRangeSuffixes.hasOwnProperty(t)&&0!==this.settings.sizeRangeSuffixes[t].length&&this.endsWith(e,this.settings.sizeRangeSuffixes[t]))return this.settings.sizeRangeSuffixes[t];return""},r.prototype.newSrc=function(e,t,i,n){var r;return this.settings.thumbnailPath?r=this.settings.thumbnailPath(e,t,i,n):(n=null!==(n=e.match(this.settings.extension))?n[0]:"",r=e.replace(this.settings.extension,""),r=this.removeSuffix(r,this.getUsedSuffix(r)),r+=this.getSuffix(t,i)+n),r},r.prototype.showImg=function(e,t){this.settings.cssAnimation?(e.addClass("jg-entry-visible"),t&&t()):(e.stop().fadeTo(this.settings.imagesAnimationDuration,1,t),e.find(this.settings.imgSelector).stop().fadeTo(this.settings.imagesAnimationDuration,1,t))},r.prototype.extractImgSrcFromImage=function(e){var t=e.data("safe-src"),i="data-safe-src";return void 0===t&&(t=e.attr("src"),i="src"),e.data("jg.originalSrc",t),e.data("jg.src",t),e.data("jg.originalSrcLoc",i),t},r.prototype.imgFromEntry=function(e){e=e.find(this.settings.imgSelector);return 0===e.length?null:e},r.prototype.captionFromEntry=function(e){e=e.find("> .jg-caption");return 0===e.length?null:e},r.prototype.displayEntry=function(e,t,i,n,r,s){e.width(n),e.height(s),e.css("top",i),e.css("left",t);var a,o,l=this.imgFromEntry(e);null!==l?(l.css("width",n),l.css("height",r),l.css("margin-left",-n/2),l.css("margin-top",-r/2),(a=l.data("jg.src"))&&(a=this.newSrc(a,n,r,l[0]),l.one("error",function(){this.resetImgSrc(l)}),o=function(){l.attr("src",a)},"skipped"===e.data("jg.loaded")&&a?this.onImageEvent(a,function(){this.showImg(e,o),e.data("jg.loaded",!0)}.bind(this)):this.showImg(e,o))):this.showImg(e),this.displayEntryCaption(e)},r.prototype.displayEntryCaption=function(e){var t,i=this.imgFromEntry(e);null!==i&&this.settings.captions?(null===(t=this.captionFromEntry(e))&&(i=i.attr("alt"),this.isValidCaption(i)||(i=e.attr("title")),this.isValidCaption(i))&&(t=c('<div class="jg-caption">'+i+"</div>"),e.append(t),e.data("jg.createdCaption",!0)),null!==t&&(this.settings.cssAnimation||t.stop().fadeTo(0,this.settings.captionSettings.nonVisibleOpacity),this.addCaptionEventsHandlers(e))):this.removeCaptionEventsHandlers(e)},r.prototype.isValidCaption=function(e){return void 0!==e&&0<e.length},r.prototype.onEntryMouseEnterForCaption=function(e){e=this.captionFromEntry(c(e.currentTarget));this.settings.cssAnimation?e.addClass("jg-caption-visible").removeClass("jg-caption-hidden"):e.stop().fadeTo(this.settings.captionSettings.animationDuration,this.settings.captionSettings.visibleOpacity)},r.prototype.onEntryMouseLeaveForCaption=function(e){e=this.captionFromEntry(c(e.currentTarget));this.settings.cssAnimation?e.removeClass("jg-caption-
|
||
|
/*!
|
||
|
Google Map Style
|
||
|
!*/
|
||
|
const Retro=[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit",stylers:[{visibility:"off"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],Standard=[],Silver=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],Dark=[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"},{visibility:"off"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{fea
|
||
|
/*!
|
||
|
Crafto - Parallax
|
||
|
Created by ThemeZaa
|
||
|
!*/;!function(o){var l=o(window),c=l.height();l.resize(function(){c=l.height()}),o.fn.parallax=function(n,r,e){var s,a=o(this);function t(){var i=l.scrollTop();a.each(function(){var e=o(this),t=e.offset().top;t+s(e)<i||i+c<t||(1050<o(window).width()?a.css("backgroundPosition",n+" "+(t-i)*r+"px"):a.css("backgroundPosition",""))})}a.each(function(e){a.offset().top}),(arguments.length<1||null===n)&&(n="50%"),(arguments.length<2||null===r)&&(r=.5),(arguments.length<3||null===e)&&(e=!0),(arguments.length<4||null===pos)&&(pos=0),s=e?function(e){return e.outerHeight(!0)}:function(e){return e.height()},l.bind("scroll",t).resize(t),t()},o.fn.parallaxImg=function(n,e){var r,s=o(this);function t(){var i=l.scrollTop();s.each(function(){var e=o(this),t=e.offset().top;t+r(e)<i||i+c<t||(1050<o(window).width()?s.css("bottom",n/10*-(t-i)+"px"):s.css("bottom",""))})}(arguments.length<1||null===n)&&(n=1),r=(e=arguments.length<2||null===e?!0:e)?function(e){return e.outerHeight(!0)}:function(e){return e.height()},l.bind("scroll",t).resize(t),t()}}(jQuery),function(h){var i=h(window),f=i.height();i.resize(function(){f=i.height()}),h.fn.parallaxLiquidImg=function(r,s,a,o,e){var l,c=h(this),d=s?1:0,s=s||1.2,a=a||.001,u=0,p="";function t(){var n=i.scrollTop();c.each(function(){var e=h(this),t=e.offset().top,i=t+e.outerHeight();p=u<n?"forward":"reverse",u=n,t<h(window).height()+n&&n<i&&("forward"==p?s+=a:s-=a),o?e.attr("data-parallax-scale")?t+l(e)<n||n+f<t||(1050<h(window).width()?anime({targets:c[0],translateY:r/6*(t-n)+"px",scale:d?s:1}):c.css("transform","translateY(0px)")):t+l(e)<n||n+f<t||(1050<h(window).width()?anime({targets:c[0],translateY:r/20*-(t-n)+"px",scale:d?s:1}):c.css("transform","translateY(0px)")):e.attr("data-parallax-scale")?t+l(e)<n||n+f<t||(1050<h(window).width()?anime({targets:c[0],translateY:r/6*-(t-n)+"px",scale:d?s:1}):c.css("transform","translateY(0px)")):t+l(e)<n||n+f<t||(1050<h(window).width()?anime({targets:c[0],translateY:r/20*(t-n)+"px",scale:d?s:1}):c.css("transform","translateY(0px)"))})}(arguments.length<1||null===r)&&(r=1),l=(e=arguments.length<2||null===e?!0:e)?function(e){return e.outerHeight(!0)}:function(e){return e.height()},i.bind("scroll",t).resize(t),t()}}(jQuery);
|
||
|
/*!
|
||
|
Particles
|
||
|
Version: 2.0.0
|
||
|
Plugin URL: https://vincentgarreau.com/particles.js/
|
||
|
License: Copyright Vincent Garreau - vincentgarreau.com | Licensed under MIT
|
||
|
!*/
|
||
|
var pJS=function(e,t){var i=document.querySelector("#"+e+" > .particles-js-canvas-el"),u=(this.pJS={canvas:{el:i,w:i.offsetWidth,h:i.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#fff"},shape:{type:"circle",stroke:{width:0,color:"#ff0000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:1,random:!1,anim:{enable:!1,speed:2,opacity_min:0,sync:!1}},size:{value:20,random:!1,anim:{enable:!1,speed:20,size_min:0,sync:!1}},line_linked:{enable:!0,distance:100,color:"#fff",opacity:1,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:3e3,rotateY:3e3}},array:[]},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:1}},bubble:{distance:200,size:80,duration:.4},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}},mouse:{}},retina_detect:!1,fn:{interact:{},modes:{},vendors:{}},tmp:{}},this.pJS);t&&Object.deepExtend(u,t),u.tmp.obj={size_value:u.particles.size.value,size_anim_speed:u.particles.size.anim.speed,move_speed:u.particles.move.speed,line_linked_distance:u.particles.line_linked.distance,line_linked_width:u.particles.line_linked.width,mode_grab_distance:u.interactivity.modes.grab.distance,mode_bubble_distance:u.interactivity.modes.bubble.distance,mode_bubble_size:u.interactivity.modes.bubble.size,mode_repulse_distance:u.interactivity.modes.repulse.distance},u.fn.retinaInit=function(){u.retina_detect&&1<window.devicePixelRatio?(u.canvas.pxratio=window.devicePixelRatio,u.tmp.retina=!0):(u.canvas.pxratio=1,u.tmp.retina=!1),u.canvas.w=u.canvas.el.offsetWidth*u.canvas.pxratio,u.canvas.h=u.canvas.el.offsetHeight*u.canvas.pxratio,u.particles.size.value=u.tmp.obj.size_value*u.canvas.pxratio,u.particles.size.anim.speed=u.tmp.obj.size_anim_speed*u.canvas.pxratio,u.particles.move.speed=u.tmp.obj.move_speed*u.canvas.pxratio,u.particles.line_linked.distance=u.tmp.obj.line_linked_distance*u.canvas.pxratio,u.interactivity.modes.grab.distance=u.tmp.obj.mode_grab_distance*u.canvas.pxratio,u.interactivity.modes.bubble.distance=u.tmp.obj.mode_bubble_distance*u.canvas.pxratio,u.particles.line_linked.width=u.tmp.obj.line_linked_width*u.canvas.pxratio,u.interactivity.modes.bubble.size=u.tmp.obj.mode_bubble_size*u.canvas.pxratio,u.interactivity.modes.repulse.distance=u.tmp.obj.mode_repulse_distance*u.canvas.pxratio},u.fn.canvasInit=function(){u.canvas.ctx=u.canvas.el.getContext("2d")},u.fn.canvasSize=function(){u.canvas.el.width=u.canvas.w,u.canvas.el.height=u.canvas.h,u&&u.interactivity.events.resize&&window.addEventListener("resize",function(){u.canvas.w=u.canvas.el.offsetWidth,u.canvas.h=u.canvas.el.offsetHeight,u.tmp.retina&&(u.canvas.w*=u.canvas.pxratio,u.canvas.h*=u.canvas.pxratio),u.canvas.el.width=u.canvas.w,u.canvas.el.height=u.canvas.h,u.particles.move.enable||(u.fn.particlesEmpty(),u.fn.particlesCreate(),u.fn.particlesDraw(),u.fn.vendors.densityAutoParticles()),u.fn.vendors.densityAutoParticles()})},u.fn.canvasPaint=function(){u.canvas.ctx.fillRect(0,0,u.canvas.w,u.canvas.h)},u.fn.canvasClear=function(){u.canvas.ctx.clearRect(0,0,u.canvas.w,u.canvas.h)},u.fn.particle=function(e,t,i){this.radius=(u.particles.size.random?Math.random():1)*u.particles.size.value,u.particles.size.anim.enable&&(this.size_status=!1,this.vs=u.particles.size.anim.speed/100,u.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=i?i.x:Math.random()*u.canvas.w,this.y=i?i.y:Math.random()*u.canvas.h,this.x>u.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>u.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),u.particles.move.bounce&&u.fn.vendors.checkOverlap(this,i),this.color={},"object"==typeof e.value?e.value instanceof Array?(i=e.value[Math.floor(Math.random()*u.particles.color.value.length)],this.color.rgb=hexToRgb(i)):(null!=e.value.r&&null!=e.value.g&&null!=e.value.b&&
|
||
|
/*!
|
||
|
Skrollr
|
||
|
Plugin URL: https://github.com/Prinzhorn/skrollr
|
||
|
License: Copyright Alexander Prinzhorn | Free to use under terms of MIT license
|
||
|
!*/
|
||
|
function(v,b,k){"use strict";function S(e,t){return t.toUpperCase()}var y,_,I={get:function(){return L},init:function(e){return L||new t(e)},VERSION:"0.6.30"},Q=Object.prototype.hasOwnProperty,w=v.Math,o=v.getComputedStyle,E="touchstart",C="touchcancel",A="skrollable",K=A+"-before",Z=A+"-between",J=A+"-after",n="skrollr",l="no-"+n,d=n+"-desktop",u=n+"-mobile",p=.004,h="skrollr-body",m=200,x="___skrollable_id",M=/^(?:input|textarea|button|select)$/i,i=/^\s+|\s+$/g,ee=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,g=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,te=/^(@?[a-z\-]+)\[(\w+)\]$/,ie=/-([a-z0-9_])/g,ne=/[\-+]?[\d]*\.?[\d]+/g,re=/\{\?\}/g,se=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,ae=/[a-z\-]+-gradient/g,r="",s="",oe=function(){var e=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(o){var t,i=o(_,null);for(t in i)if(r=t.match(e)||+t==t&&i[t].match(e))break;r?"-"===(r=r[0]).slice(0,1)?r={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[s=r]:s="-"+r.toLowerCase()+"-":r=s=""}},le=function(){var e=v.requestAnimationFrame||v[r.toLowerCase()+"RequestAnimationFrame"],i=q();return e=!V&&e?e:function(e){var t=q()-i,t=w.max(0,1e3/60-t);return v.setTimeout(function(){i=q(),e()},t)}},O={begin:function(){return 0},end:function(){return 1},linear:function(e){return e},quadratic:function(e){return e*e},cubic:function(e){return e*e*e},swing:function(e){return-w.cos(e*w.PI)/2+.5},sqrt:function(e){return w.sqrt(e)},outCubic:function(e){return w.pow(e-1,3)+1},bounce:function(e){var t;if(e<=.5083)t=3;else if(e<=.8489)t=9;else if(e<=.96208)t=27;else{if(!(e<=.99981))return 1;t=91}return 1-w.abs(3*w.cos(e*t*1.028)/t)}};function t(e){if(y=b.documentElement,_=b.body,oe(),L=this,a=(e=e||{}).constants||{},e.easing)for(var t in e.easing)O[t]=e.easing[t];de=e.edgeStrategy||"set",D={beforerender:e.beforerender,render:e.render,keyframe:e.keyframe},(f=!1!==e.forceHeight)&&(Oe=e.scale||1),T=e.mobileDeceleration||p,ce=!1!==e.smoothScrolling,j=e.smoothScrollingDuration||m,B={targetTop:L.getScrollTop()},(V=(e.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||v.opera)})())?((z=b.getElementById(e.skrollrBody||h))&&_e(),pe(),W(y,[n,u],[l])):W(y,[n,d],[l]),L.refresh(),we(v,"resize orientationchange",function(){var e=y.clientWidth,t=y.clientHeight;t===ze&&e===Pe||(ze=t,Pe=e,G=!0)});var i=le();return function e(){he(),ue=i(e)}(),L}t.prototype.refresh=function(e){var t,i,n=!1;for(e===k?(n=!0,P=[],De=0,e=b.getElementsByTagName("*")):e.length===k&&(e=[e]),t=0,i=e.length;t<i;t++){var r=e[t],s=r,a=[],o=ce,l=de,c=!1;if(n&&x in r&&delete r[x],r.attributes){for(var d,u,p,h=0,f=r.attributes.length;h<f;h++){var m,g,v=r.attributes[h];if("data-anchor-target"===v.name){if(null===(s=b.querySelector(v.value)))throw'Unable to find anchor target "'+v.value+'"'}else"data-smooth-scrolling"===v.name?o="off"!==v.value:"data-edge-strategy"===v.name?l=v.value:"data-emit-events"===v.name?c=!0:null!==(g=v.name.match(ee))&&(v={props:v.value,element:r,eventType:v.name.replace(ie,S)},a.push(v),(m=g[1])&&(v.constant=m.substr(1)),m=g[2],/p$/.test(m)?(v.isPercentage=!0,v.offset=(0|m.slice(0,-1))/100):v.offset=0|m,m=g[3],g=g[4]||m,m&&"start"!==m&&"end"!==m?(v.mode="relative",v.anchors=[m,g]):(v.mode="absolute","end"===m?v.isEnd=!0:v.isPercentage||(v.offset=v.offset*Oe)))}a.length&&(p=!n&&x in r?(u=r[x],d=P[u].styleAttr,P[u].classAttr):(u=r[x]=De++,d=r.style.cssText,ke(r)),P[u]={element:r,styleAttr:d,classAttr:p,anchorTarget:s,keyFrames:a,smoothScrolling:o,edgeStrategy:l,emitEvents:c,lastFrameIndex:-1},W(r,[A],[]))}}for(Ee(),t=0,i=e.length;t<i;t++){var y=P[e[t][x]];y!==k&&(fe(y),ge(y))}return L},t.prototype.relativeToAbsolute=function(e,t,i){var n=y.clientHeight,e=e.getBoundingClientRect(),r=e.top,e=e.bottom-e.top;return"bottom"===t?r-=n:"center"===t&&(r-=n/2),"bottom"===i?r+=e:"center"===i&&(r+=e/2),(r+=L.getScrollTop())+.5|0},t.prototype.animateTo=function(e,t){t=t||{};var i=q(),n=L.getScrollTop(),r=t.duration===k?1e3:t.duration;return(R={startTop:n,topD
|
||
|
/*!
|
||
|
jQuery Smooth Scroll
|
||
|
Version: 2.2.0
|
||
|
Plugin URL: https://github.com/kswedberg/jquery-smooth-scroll
|
||
|
License: Copyright (c) 2017 Karl Swedberg | Licensed under MIT
|
||
|
!*/
|
||
|
function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?e(require("jquery")):e(jQuery)}(function(f){function t(e){var t=[],i=e.dir&&"left"===e.dir?"scrollLeft":"scrollTop";return this.each(function(){var e=f(this);if(this!==document&&this!==window)return!document.scrollingElement||this!==document.documentElement&&this!==document.body?void(0<e[i]()?t.push(this):(e[i](1),0<e[i]()&&t.push(this),e[i](0))):(t.push(document.scrollingElement),!1)}),t.length||this.each(function(){(t=this===document.documentElement&&"smooth"===f(this).css("scrollBehavior")?[this]:t).length||"BODY"!==this.nodeName||(t=[this])}),t="first"===e.el&&1<t.length?[t[0]]:t}function c(e){var t={relative:""},i="string"==typeof e&&n.exec(e);return"number"==typeof e?t.px=e:i&&(t.relative=i[1],t.px=parseFloat(i[2])||0),t}function d(e){var t=f(e.scrollTarget);e.autoFocus&&t.length&&(t[0].focus(),t.is(document.activeElement)||(t.prop({tabIndex:-1}),t[0].focus())),e.afterScroll.call(e.link,e)}var u={},n=/^([\-\+]=)(\d+)/;f.fn.extend({scrollable:function(e){e=t.call(this,{dir:e});return this.pushStack(e)},firstScrollable:function(e){e=t.call(this,{el:"first",dir:e});return this.pushStack(e)},smoothScroll:function(e,t){var h,i;return"options"===(e=e||{})?t?this.each(function(){var e=f(this),e=f.extend(e.data("ssOpts")||{},t);f(this).data("ssOpts",e)}):this.first().data("ssOpts"):(h=f.extend({},f.fn.smoothScroll.defaults,e),i=function(e){function t(e){return e.replace(/(:|\.|\/)/g,"\\$1")}var i=f(this),n=f.extend({},h,i.data("ssOpts")||{}),r=h.exclude,s=n.excludeWithin,a=0,o=0,l=!0,c={},d=f.smoothScroll.filterPath(location.pathname),u=f.smoothScroll.filterPath(this.pathname),p=location.hostname===this.hostname||!this.hostname,u=n.scrollTarget||u===d,d=t(this.hash);if(d&&!f(d).length&&(l=!1),n.scrollTarget||p&&u&&d){for(;l&&a<r.length;)i.is(t(r[a++]))&&(l=!1);for(;l&&o<s.length;)i.closest(s[o++]).length&&(l=!1)}else l=!1;l&&(n.preventDefault&&e.preventDefault(),f.extend(c,n,{scrollTarget:n.scrollTarget||d,link:this}),f.smoothScroll(c))},null!==e.delegateSelector?this.off("click.smoothscroll",e.delegateSelector).on("click.smoothscroll",e.delegateSelector,i):this.off("click.smoothscroll").on("click.smoothscroll",i),this)}});f.smoothScroll=function(e,t){if("options"===e&&"object"==typeof t)return f.extend(u,t);var i,n,r=c(e),s=0,a="offset",o={},l={};r.px?i=f.extend({link:null},f.fn.smoothScroll.defaults,u):((i=f.extend({link:null},f.fn.smoothScroll.defaults,e||{},u)).scrollElement&&"static"===i.scrollElement.css(a="position")&&i.scrollElement.css("position","relative"),t&&(r=c(t))),e="left"===i.direction?"scrollLeft":"scrollTop",i.scrollElement?(n=i.scrollElement,r.px||/^(?:HTML|BODY)$/.test(n[0].nodeName)||(s=n[e]())):n=f("html, body").firstScrollable(i.direction),i.beforeScroll.call(n,i),t=r.px?r:{relative:"",px:f(i.scrollTarget)[a]()&&f(i.scrollTarget)[a]()[i.direction]||0},o[e]=t.relative+(t.px+s+i.offset),l={duration:r="auto"===(r=i.speed)?Math.abs(o[e]-n[e]())/i.autoCoefficient:r,easing:i.easing,complete:function(){d(i)}},i.step&&(l.step=i.step),n.length?n.stop().animate(o,l):d(i)},f.smoothScroll.version="2.2.0",f.smoothScroll.filterPath=function(e){return(e=e||"").replace(/^\//,"").replace(/(?:index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},f.fn.smoothScroll.defaults={exclude:[],excludeWithin:[],offset:0,direction:"top",delegateSelector:null,scrollElement:null,scrollTarget:null,autoFocus:!1,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficient:2,preventDefault:!0}}),
|
||
|
/*!
|
||
|
Splitting
|
||
|
Version: 1.0.5
|
||
|
Plugin URL: https://splitting.js.org/
|
||
|
License: Copyright © 2018-present Stephen Shaw | Licensed under the MIT license
|
||
|
!*/
|
||
|
function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Splitting=t()}(this,function(){"use strict";var s=document,c=s.createTextNode.bind(s);function d(e,t,i){e.style.setProperty(t,i)}function u(e,t){return e.appendChild(t)}function p(e,t,i,n){var r=s.createElement("span");return t&&(r.className=t),i&&(n||r.setAttribute("data-"+t,i),r.textContent=i),e&&u(e,r)||r}function h(e,t){return e.getAttribute("data-"+t)}function f(e,t){return e&&0!=e.length?e.nodeName?[e]:[].slice.call(e[0].nodeName?e:(t||s).querySelectorAll(e)):[]}function a(e){for(var t=[];e--;)t[e]=[];return t}function m(e,t){e&&e.some(t)}function r(t){return function(e){return t[e]}}var o={};function e(e,t,i,n){return{by:e,depends:t,key:i,split:n}}function i(e){return function t(i,e,n){var r=n.indexOf(i);if(-1==r){n.unshift(i);var s=o[i];if(!s)throw new Error("plugin not loaded: "+i);m(s.depends,function(e){t(e,i,n)})}else s=n.indexOf(e),n.splice(r,1),n.splice(s,0,i);return n}(e,0,[]).map(r(o))}function t(e){o[e.by]=e}function g(e,i,n,r,s){e.normalize();var a=[],o=document.createDocumentFragment(),l=(r&&a.push(e.previousSibling),[]);return f(e.childNodes).some(function(e){var t;e.tagName&&!e.hasChildNodes()?l.push(e):e.childNodes&&e.childNodes.length?(l.push(e),a.push.apply(a,g(e,i,n,r,s))):(t=(e=e.wholeText||"").trim()).length&&(" "===e[0]&&l.push(c(" ")),m(t.split(n),function(e,t){t&&s&&l.push(p(o,"whitespace"," ",s));t=p(o,i,e);a.push(t),l.push(t)})," "===e[e.length-1])&&l.push(c(" "))}),m(l,function(e){u(o,e)}),e.innerHTML="",u(e,o),a}var l="words",n=e(l,0,"word",function(e){return g(e,"word",/\s+/,0,1)}),v=e("chars",[l],"char",function(e,i,t){var n=[];return m(t[l],function(e,t){n.push.apply(n,g(e,"char","",i.whitespace&&t))}),n});function y(t){var c=(t=t||{}).key;return f(t.target||"[data-splitting]").map(function(a){var e,o,l=a["🍌"];return!t.force&&l||(l=a["🍌"]={el:a},e=i(e=(e=t.by||h(a,"splitting"))&&"true"!=e?e:"chars"),o=function(e,t){for(var i in t)e[i]=t[i];return e}({},t),m(e,function(e){var t,i,n,r,s;e.split&&(t=e.by,n=(c?"-"+c:"")+e.key,e=e.split(a,o,l),n&&(i=a,s=(n="--"+(n=n))+"-index",m(r=e,function(e,t){Array.isArray(e)?m(e,function(e){d(e,s,t)}):d(e,s,t)}),d(i,n+"-total",r.length)),l[t]=e,a.classList.add(t))}),a.classList.add("splitting")),l})}function b(e,t,i){var t=f(t.matching||e.children,e),n={};return m(t,function(e){var t=Math.round(e[i]);(n[t]||(n[t]=[])).push(e)}),Object.keys(n).map(Number).sort(_).map(r(n))}function _(e,t){return e-t}y.html=function(e){var t=(e=e||{}).target=p();return t.innerHTML=e.content,y(e),t.outerHTML};var w=e("lines",[l],"line",function(e,t,i){return b(e,{matching:i[l]},"offsetTop")}),x=e("items",0,"item",function(e,t){return f(t.matching||e.children,e)}),T=e("rows",0,"row",function(e,t){return b(e,t,"offsetTop")}),S=e("cols",0,"col",function(e,t){return b(e,t,"offsetLeft")}),E=e("grid",["rows","cols"]),C="layout",M=e(C,0,0,function(e,t){for(var i,n=t.rows=+(t.rows||h(e,"rows")||1),r=t.columns=+(t.columns||h(e,"columns")||1),s=(t.image=t.image||h(e,"image")||e.currentSrc||e.src,t.image&&(i=f("img",e)[0],t.image=i&&(i.currentSrc||i.src)),t.image&&d(e,"background-image","url("+t.image+")"),n*r),a=[],o=p(0,"cell-grid");s--;){var l=p(o,"cell");p(l,"cell-inner"),a.push(l)}return u(e,o),a}),k=e("cellRows",[C],"row",function(e,t,i){var n=t.rows,r=a(n);return m(i[C],function(e,t,i){r[Math.floor(t/(i.length/n))].push(e)}),r}),I=e("cellColumns",[C],"col",function(e,t,i){var n=t.columns,r=a(n);return m(i[C],function(e,t){r[t%n].push(e)}),r}),A=e("cells",["cellRows","cellColumns"],"cell",function(e,t,i){return i[C]});return(y.add=t)(n),t(v),t(w),t(x),t(T),t(S),t(E),t(M),t(k),t(I),t(A),y}),
|
||
|
/*!
|
||
|
Sticky-kit
|
||
|
Version: 1.1.3
|
||
|
Plugin URL: https://github.com/leafo/sticky-kit
|
||
|
License: Leaf Corcoran 2015 | Licensed under MIT
|
||
|
!*/
|
||
|
function(){var O=window.jQuery,L=O(window);O.fn.stick_in_parent=function(e){var x,t,i,n,r,T,S=(e=null==e?{}:e).sticky_class,E=e.inner_scrolling,C=e.recalc_every,M=e.parent,k=e.offset_top,I=e.spacer,A=e.bottoming;for(null==k&&(k=0),null==M&&(M=void 0),null==E&&(E=!0),null==S&&(S="is_stuck"),x=O(document),null==A&&(A=!0),T=function(e){var t,i;return window.getComputedStyle?(e[0],t=window.getComputedStyle(e[0]),i=parseFloat(t.getPropertyValue("width"))+parseFloat(t.getPropertyValue("margin-left"))+parseFloat(t.getPropertyValue("margin-right")),"border-box"!==t.getPropertyValue("box-sizing")&&(i+=parseFloat(t.getPropertyValue("border-left-width"))+parseFloat(t.getPropertyValue("border-right-width"))+parseFloat(t.getPropertyValue("padding-left"))+parseFloat(t.getPropertyValue("padding-right"))),i):e.outerWidth(!0)},i=function(s,a,o,l,c,d,u,p){var h,e,f,m,g,v,y,b,t,_,w,n;if(!s.data("sticky_kit")){if(s.data("sticky_kit",!0),g=x.height(),y=s.parent(),!(y=null!=M?y.closest(M):y).length)throw"failed to find stick parent";if(h=f=!1,(w=null!=I?I&&s.closest(I):O("<div />"))&&w.css("position",s.css("position")),(b=function(){var e,t,i;if(!p)return g=x.height(),e=parseInt(y.css("border-top-width"),10),t=parseInt(y.css("padding-top"),10),a=parseInt(y.css("padding-bottom"),10),o=y.offset().top+e+t,l=y.height(),f&&(h=f=!1,null==I&&(s.insertAfter(w),w.detach()),s.css({position:"",top:"",width:"",bottom:""}).removeClass(S),i=!0),c=s.offset().top-(parseInt(s.css("margin-top"),10)||0)-k,d=s.outerHeight(!0),u=s.css("float"),w&&w.css({width:T(s),height:d,display:s.css("display"),"vertical-align":s.css("vertical-align"),float:u}),i?n():void 0})(),d!==l)return m=void 0,v=k,_=C,n=function(){var e,t,i,n,r;if(!p)return i=!1,null!=_&&--_<=0&&(_=C,b(),i=!0),i||x.height()===g||(b(),i=!0),i=L.scrollTop(),null!=m&&(t=i-m),m=i,f?(A&&(n=l+o<i+d+v,h)&&!n&&(h=!1,s.css({position:"fixed",bottom:"",top:v}).trigger("sticky_kit:unbottom")),i<c&&(f=!1,v=k,null==I&&("left"!==u&&"right"!==u||s.insertAfter(w),w.detach()),s.css(e={position:"",width:"",top:""}).removeClass(S).trigger("sticky_kit:unstick")),E&&(r=L.height())<d+k&&(h||(v-=t,v=Math.max(r-d,v),v=Math.min(k,v),f&&s.css({top:v+"px"})))):c<i&&(f=!0,(e={position:"fixed",top:v}).width="border-box"===s.css("box-sizing")?s.outerWidth()+"px":s.width()+"px",s.css(e).addClass(S),null==I&&(s.after(w),"left"!==u&&"right"!==u||w.append(s)),s.trigger("sticky_kit:stick")),f&&A&&(null==n&&(n=l+o<i+d+v),!h)&&n?(h=!0,"static"===y.css("position")&&y.css({position:"relative"}),s.css({position:"absolute",bottom:a,top:"auto"}).trigger("sticky_kit:bottom")):void 0},t=function(){return b(),n()},e=function(){if(p=!0,L.off("touchmove",n),L.off("scroll",n),L.off("resize",t),O(document.body).off("sticky_kit:recalc",t),s.off("sticky_kit:detach",e),s.removeData("sticky_kit"),s.css({position:"",bottom:"",top:"",width:""}),y.position("position",""),f)return null==I&&("left"!==u&&"right"!==u||s.insertAfter(w),w.remove()),s.removeClass(S)},L.on("touchmove",n),L.on("scroll",n),L.on("resize",t),O(document.body).on("sticky_kit:recalc",t),s.on("sticky_kit:detach",e),setTimeout(n,0)}},n=0,r=this.length;n<r;n++)t=this[n],i(O(t));return this}}.call(this);
|
||
|
/*!
|
||
|
Swiper
|
||
|
Version: 11.0.5
|
||
|
Plugin URL: https://swiperjs.com
|
||
|
License: Copyright 2014-2023 Vladimir Kharlampidi | Released under the MIT License
|
||
|
!*/
|
||
|
var Swiper=function(){"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function r(t,i){void 0===t&&(t={}),void 0===i&&(i={}),Object.keys(i).forEach(e=>{void 0===t[e]?t[e]=i[e]:n(i[e])&&n(t[e])&&0<Object.keys(i[e]).length&&r(t[e],i[e])})}const t={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function A(){var e="undefined"!=typeof document?document:{};return r(e,t),e}const y={document:t,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function k(){var e="undefined"!=typeof window?window:{};return r(e,y),e}function S(e){return(e=void 0===e?"":e).trim().split(" ").filter(e=>!!e.trim())}function E(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function v(){return Date.now()}function I(e,t){void 0===t&&(t="x");var i=k();let n,r,s;e=function(e){var t=k();let i;return i=(i=!(i=t.getComputedStyle?t.getComputedStyle(e,null):i)&&e.currentStyle?e.currentStyle:i)||e.style}(e);return i.WebKitCSSMatrix?(6<(r=e.transform||e.webkitTransform).split(",").length&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),s=new i.WebKitCSSMatrix("none"===r?"":r)):(s=e.MozTransform||e.OTransform||e.MsTransform||e.msTransform||e.transform||e.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),"x"===t&&(r=i.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),(r="y"===t?i.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5]):r)||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function p(e){var t,i=Object(arguments.length<=0?void 0:e);const n=["__proto__","constructor","prototype"];for(let e=1;e<arguments.length;e+=1){var r=e<0||arguments.length<=e?void 0:arguments[e];if(null!=r&&(t=r,!("undefined"!=typeof window&&void 0!==window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType)))){var s=Object.keys(Object(r)).filter(e=>n.indexOf(e)<0);for(let e=0,t=s.length;e<t;e+=1){var a=s[e],o=Object.getOwnPropertyDescriptor(r,a);void 0!==o&&o.enumerable&&(l(i[a])&&l(r[a])?r[a].__swiper__?i[a]=r[a]:p(i[a],r[a]):l(i[a])||!l(r[a])||(i[a]={},r[a].__swiper__)?i[a]=r[a]:p(i[a],r[a]))}}}return i}function q(e,t,i){e.style.setProperty(t,i)}function T(e){let{swiper:i,targetPosition:n,side:r}=e;const s=k(),a=-i.translate;let o=null,l;const c=i.params.speed,d=(i.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(i.cssModeFrameID),n>a?"next":"prev"),u=(e,t)=>"next"===d&&t<=e||"prev"===d&&e<=t,p=()=>{l=(new Date).getTime(),null===o&&(o=l);var e=Math.max(Math.min((l-o)/c,1),0),e=.5-Math.cos(e*Math.PI)/2;let t=a+e*(n-a);u(t,n)&&(t=n),i.wrapperEl.scrollTo({[r]:t}),u(t,n)?(i.wrapperEl.style.overflow="hidden",i.wrapperEl.style.scrollSnapType="",setTimeout(()=>{i.wrapperEl.style.overflow="",i.wrapperEl.scrollTo({[r]:t})}),s.cancelAnimationFrame(i.cssModeFrameID)):i.cssModeFrameID=s.requestAnimationFrame(p)};p()}function a(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function Y(e,t){return void 0===t&&(t=""),[...e.children].filter(e=>e.mat
|
||
|
translate3d(${t}, ${i}, ${v}px)
|
||
|
rotateZ(${d.rotate?c?-r:r:0}deg)
|
||
|
scale(${b})
|
||
|
`;if(d.slideShadows){let e=f.querySelector(".swiper-slide-shadow");(e=e||x("cards",f))&&(e.style.opacity=Math.min(Math.max((Math.abs(g)-.5)/.5,0),1))}f.style.zIndex=-Math.abs(Math.round(m))+o.length,w(0,f).style.transform=y}},setTransition:t=>{var e=_.slides.map(e=>a(e));e.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=t+"ms"})}),m({swiper:_,duration:t,transformElements:e})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!_.params.cssMode})})}]),h}();
|