pos-gis/public/js/plugins.min.js
2024-10-07 13:13:42 +07:00

1 line
512 KiB
JavaScript
Vendored

window.scwDisableJsAJAX=!0,function(e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){function t(e){var t=7.5625,i=2.75;return e<1/i?t*e*e:e<2/i?t*(e-=1.5/i)*e+.75:e<2.5/i?t*(e-=2.25/i)*e+.9375:t*(e-=2.625/i)*e+.984375}void 0!==e.easing&&(e.easing.jswing=e.easing.swing);var i=Math.pow,n=Math.sqrt,a=Math.sin,s=Math.cos,r=Math.PI,o=1.70158,l=1.525*o,c=2*r/3,d=2*r/4.5;return e.extend(e.easing,{def:"easeOutQuad",swing:function(t){return e.easing[e.easing.def](t)},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return 1-(1-e)*(1-e)},easeInOutQuad:function(e){return e<.5?2*e*e:1-i(-2*e+2,2)/2},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return 1-i(1-e,3)},easeInOutCubic:function(e){return e<.5?4*e*e*e:1-i(-2*e+2,3)/2},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1-i(1-e,4)},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-i(-2*e+2,4)/2},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1-i(1-e,5)},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1-i(-2*e+2,5)/2},easeInSine:function(e){return 1-s(e*r/2)},easeOutSine:function(e){return a(e*r/2)},easeInOutSine:function(e){return-(s(r*e)-1)/2},easeInExpo:function(e){return 0===e?0:i(2,10*e-10)},easeOutExpo:function(e){return 1===e?1:1-i(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:e<.5?i(2,20*e-10)/2:(2-i(2,-20*e+10))/2},easeInCirc:function(e){return 1-n(1-i(e,2))},easeOutCirc:function(e){return n(1-i(e-1,2))},easeInOutCirc:function(e){return e<.5?(1-n(1-i(2*e,2)))/2:(n(1-i(-2*e+2,2))+1)/2},easeInElastic:function(e){return 0===e?0:1===e?1:-i(2,10*e-10)*a((10*e-10.75)*c)},easeOutElastic:function(e){return 0===e?0:1===e?1:i(2,-10*e)*a((10*e-.75)*c)+1},easeInOutElastic:function(e){return 0===e?0:1===e?1:e<.5?-i(2,20*e-10)*a((20*e-11.125)*d)/2:i(2,-20*e+10)*a((20*e-11.125)*d)/2+1},easeInBack:function(e){return 2.70158*e*e*e-o*e*e},easeOutBack:function(e){return 1+2.70158*i(e-1,3)+o*i(e-1,2)},easeInOutBack:function(e){return e<.5?i(2*e,2)*(7.189819*e-l)/2:(i(2*e-2,2)*((l+1)*(2*e-2)+l)+2)/2},easeInBounce:function(e){return 1-t(1-e)},easeOutBounce:t,easeInOutBounce:function(e){return e<.5?(1-t(1-2*e))/2:(1+t(2*e-1))/2}}),e}),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 e=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let i=e.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i="#"+i.split("#")[1]),t=i&&"#"!==i?i.trim():null}return t},t=t=>{const i=e(t);return i&&document.querySelector(i)?i:null},i=t=>{const i=e(t);return i?document.querySelector(i):null},n=e=>{e.dispatchEvent(new Event("transitionend"))},a=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),s=e=>a(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,r=(e,t,i)=>{Object.keys(i).forEach(n=>{const s=i[n],r=t[n],o=r&&a(r)?"element":null==(l=r)?""+l:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(s).test(o))throw new TypeError(`${e.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${s}".`)})},o=e=>!(!a(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),l=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),c=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?c(e.parentNode):null},d=()=>{},u=e=>{e.offsetHeight},h=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},p=[],f=()=>"rtl"===document.documentElement.dir,m=e=>{var t;t=(()=>{const t=h();if(t){const i=e.NAME,n=t.fn[i];t.fn[i]=e.jQueryInterface,t.fn[i].Constructor=e,t.fn[i].noConflict=(()=>(t.fn[i]=n,e.jQueryInterface))}}),"loading"===document.readyState?(p.length||document.addEventListener("DOMContentLoaded",()=>{p.forEach(e=>e())}),p.push(t)):t()},g=e=>{"function"==typeof e&&e()},v=(e,t,i=!0)=>{if(!i)return void g(e);const a=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const n=Number.parseFloat(t),a=Number.parseFloat(i);return n||a?(t=t.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(i))):0})(t)+5;let s=!1;const r=({target:i})=>{i===t&&(s=!0,t.removeEventListener("transitionend",r),g(e))};t.addEventListener("transitionend",r),setTimeout(()=>{s||n(t)},a)},y=(e,t,i,n)=>{let a=e.indexOf(t);if(-1===a)return e[!i&&n?e.length-1:0];const s=e.length;return a+=i?1:-1,n&&(a=(a+s)%s),e[Math.max(0,Math.min(a,s-1))]},b=/[^.]*(?=\..*)\.|.*/,w=/\..*/,_=/::\d+$/,T={};let x=1;const C={mouseenter:"mouseover",mouseleave:"mouseout"},S=/^(mouseenter|mouseleave)/i,E=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 P(e,t){return t&&`${t}::${x++}`||e.uidEvent||x++}function k(e){const t=P(e);return e.uidEvent=t,T[t]=T[t]||{},T[t]}function M(e,t,i=null){const n=Object.keys(e);for(let a=0,s=n.length;a<s;a++){const s=e[n[a]];if(s.originalHandler===t&&s.delegationSelector===i)return s}return null}function I(e,t,i){const n="string"==typeof t,a=n?i:t;let s=j(e);return E.has(s)||(s=e),[n,a,s]}function O(e,t,i,n,a){if("string"!=typeof t||!e)return;if(i||(i=n,n=null),S.test(t)){const e=e=>(function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)});n?n=e(n):i=e(i)}const[s,r,o]=I(t,i,n),l=k(e),c=l[o]||(l[o]={}),d=M(c,r,s?i:null);if(d)return void(d.oneOff=d.oneOff&&a);const u=P(r,t.replace(b,"")),h=s?function(e,t,i){return function n(a){const s=e.querySelectorAll(t);for(let{target:r}=a;r&&r!==this;r=r.parentNode)for(let o=s.length;o--;)if(s[o]===r)return a.delegateTarget=r,n.oneOff&&A.off(e,a.type,t,i),i.apply(r,[a]);return null}}(e,i,n):function(e,t){return function i(n){return n.delegateTarget=e,i.oneOff&&A.off(e,n.type,t),t.apply(e,[n])}}(e,i);h.delegationSelector=s?i:null,h.originalHandler=r,h.oneOff=a,h.uidEvent=u,c[u]=h,e.addEventListener(o,h,s)}function L(e,t,i,n,a){const s=M(t[i],n,a);s&&(e.removeEventListener(i,s,Boolean(a)),delete t[i][s.uidEvent])}function j(e){return e=e.replace(w,""),C[e]||e}const A={on(e,t,i,n){O(e,t,i,n,!1)},one(e,t,i,n){O(e,t,i,n,!0)},off(e,t,i,n){if("string"!=typeof t||!e)return;const[a,s,r]=I(t,i,n),o=r!==t,l=k(e),c=t.startsWith(".");if(void 0!==s){if(!l||!l[r])return;return void L(e,l,r,s,a?i:null)}c&&Object.keys(l).forEach(i=>{!function(e,t,i,n){const a=t[i]||{};Object.keys(a).forEach(s=>{if(s.includes(n)){const n=a[s];L(e,t,i,n.originalHandler,n.delegationSelector)}})}(e,l,i,t.slice(1))});const d=l[r]||{};Object.keys(d).forEach(i=>{const n=i.replace(_,"");if(!o||t.includes(n)){const t=d[i];L(e,l,r,t.originalHandler,t.delegationSelector)}})},trigger(e,t,i){if("string"!=typeof t||!e)return null;const n=h(),a=j(t),s=t!==a,r=E.has(a);let o,l=!0,c=!0,d=!1,u=null;return s&&n&&(o=n.Event(t,i),n(e).trigger(o),l=!o.isPropagationStopped(),c=!o.isImmediatePropagationStopped(),d=o.isDefaultPrevented()),r?(u=document.createEvent("HTMLEvents")).initEvent(a,l,!0):u=new CustomEvent(t,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach(e=>{Object.defineProperty(u,e,{get:()=>i[e]})}),d&&u.preventDefault(),c&&e.dispatchEvent(u),u.defaultPrevented&&void 0!==o&&o.preventDefault(),u}},z=new Map;var Y={set(e,t,i){z.has(e)||z.set(e,new Map);const n=z.get(e);n.has(t)||0===n.size?n.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(e,t)=>z.has(e)&&z.get(e).get(t)||null,remove(e,t){if(!z.has(e))return;const i=z.get(e);i.delete(t),0===i.size&&z.delete(e)}};class D{constructor(e){(e=s(e))&&(this._element=e,Y.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Y.remove(this._element,this.constructor.DATA_KEY),A.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(e=>{this[e]=null})}_queueCallback(e,t,i=!0){v(e,t,i)}static getInstance(e){return Y.get(s(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.1.0"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}}const N=(e,t="hide")=>{const n="click.dismiss"+e.EVENT_KEY,a=e.NAME;A.on(document,n,`[data-bs-dismiss="${a}"]`,function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),l(this))return;const s=i(this)||this.closest("."+a);e.getOrCreateInstance(s)[t]()})};class $ extends D{static get NAME(){return"alert"}close(){if(A.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),A.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=$.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}N($,"close"),m($);class B extends D{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){const t=B.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}function Q(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function R(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}A.on(document,"click.bs.button.data-api",'[data-bs-toggle="button"]',e=>{e.preventDefault();const t=e.target.closest('[data-bs-toggle="button"]');B.getOrCreateInstance(t).toggle()}),m(B);const F={setDataAttribute(e,t,i){e.setAttribute("data-bs-"+R(t),i)},removeDataAttribute(e,t){e.removeAttribute("data-bs-"+R(t))},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter(e=>e.startsWith("bs")).forEach(i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=Q(e.dataset[i])}),t},getDataAttribute:(e,t)=>Q(e.getAttribute("data-bs-"+R(t))),offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},H={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){const i=[];let n=e.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(t)&&i.push(n),n=n.parentNode;return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>e+':not([tabindex^="-"])').join(", ");return this.find(t,e).filter(e=>!l(e)&&o(e))}},W={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},q={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},V="next",U="prev",G="left",X="right",K={ArrowLeft:X,ArrowRight:G};class Z extends D{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=H.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return W}static get NAME(){return"carousel"}next(){this._slide(V)}nextWhenVisible(){!document.hidden&&o(this._element)&&this.next()}prev(){this._slide(U)}pause(e){e||(this._isPaused=!0),H.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(n(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=H.findOne(".active.carousel-item",this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void A.one(this._element,"slid.bs.carousel",()=>this.to(e));if(t===e)return this.pause(),void this.cycle();const i=e>t?V:U;this._slide(i,this._items[e])}_getConfig(e){return e={...W,...F.getDataAttributes(this._element),..."object"==typeof e?e:{}},r("carousel",e,q),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?X:G)}_addEventListeners(){this._config.keyboard&&A.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(A.on(this._element,"mouseenter.bs.carousel",e=>this.pause(e)),A.on(this._element,"mouseleave.bs.carousel",e=>this.cycle(e))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=e=>{!this._pointerEvent||"pen"!==e.pointerType&&"touch"!==e.pointerType?this._pointerEvent||(this.touchStartX=e.touches[0].clientX):this.touchStartX=e.clientX},t=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},i=e=>{!this._pointerEvent||"pen"!==e.pointerType&&"touch"!==e.pointerType||(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(e=>this.cycle(e),500+this._config.interval))};H.find(".carousel-item img",this._element).forEach(e=>{A.on(e,"dragstart.bs.carousel",e=>e.preventDefault())}),this._pointerEvent?(A.on(this._element,"pointerdown.bs.carousel",t=>e(t)),A.on(this._element,"pointerup.bs.carousel",e=>i(e)),this._element.classList.add("pointer-event")):(A.on(this._element,"touchstart.bs.carousel",t=>e(t)),A.on(this._element,"touchmove.bs.carousel",e=>t(e)),A.on(this._element,"touchend.bs.carousel",e=>i(e)))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=K[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?H.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const i=e===V;return y(this._items,t,i,this._config.wrap)}_triggerSlideEvent(e,t){const i=this._getItemIndex(e),n=this._getItemIndex(H.findOne(".active.carousel-item",this._element));return A.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:n,to:i})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=H.findOne(".active",this._indicatorsElement);t.classList.remove("active"),t.removeAttribute("aria-current");const i=H.find("[data-bs-target]",this._indicatorsElement);for(let t=0;t<i.length;t++)if(Number.parseInt(i[t].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){i[t].classList.add("active"),i[t].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||H.findOne(".active.carousel-item",this._element);if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(e,t){const i=this._directionToOrder(e),n=H.findOne(".active.carousel-item",this._element),a=this._getItemIndex(n),s=t||this._getItemByOrder(i,n),r=this._getItemIndex(s),o=Boolean(this._interval),l=i===V,c=l?"carousel-item-start":"carousel-item-end",d=l?"carousel-item-next":"carousel-item-prev",h=this._orderToDirection(i);if(s&&s.classList.contains("active"))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(s,h).defaultPrevented)return;if(!n||!s)return;this._isSliding=!0,o&&this.pause(),this._setActiveIndicatorElement(s),this._activeElement=s;const p=()=>{A.trigger(this._element,"slid.bs.carousel",{relatedTarget:s,direction:h,from:a,to:r})};if(this._element.classList.contains("slide")){s.classList.add(d),u(s),n.classList.add(c),s.classList.add(c);const e=()=>{s.classList.remove(c,d),s.classList.add("active"),n.classList.remove("active",d,c),this._isSliding=!1,setTimeout(p,0)};this._queueCallback(e,n,!0)}else n.classList.remove("active"),s.classList.add("active"),this._isSliding=!1,p();o&&this.cycle()}_directionToOrder(e){return[X,G].includes(e)?f()?e===G?U:V:e===G?V:U:e}_orderToDirection(e){return[V,U].includes(e)?f()?e===U?G:X:e===U?X:G:e}static carouselInterface(e,t){const i=Z.getOrCreateInstance(e,t);let{_config:n}=i;"object"==typeof t&&(n={...n,...t});const a="string"==typeof t?t:n.slide;if("number"==typeof t)i.to(t);else if("string"==typeof a){if(void 0===i[a])throw new TypeError(`No method named "${a}"`);i[a]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(e){return this.each(function(){Z.carouselInterface(this,e)})}static dataApiClickHandler(e){const t=i(this);if(!t||!t.classList.contains("carousel"))return;const n={...F.getDataAttributes(t),...F.getDataAttributes(this)},a=this.getAttribute("data-bs-slide-to");a&&(n.interval=!1),Z.carouselInterface(t,n),a&&Z.getInstance(t).to(a),e.preventDefault()}}A.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",Z.dataApiClickHandler),A.on(window,"load.bs.carousel.data-api",()=>{const e=H.find('[data-bs-ride="carousel"]');for(let t=0,i=e.length;t<i;t++)Z.carouselInterface(e[t],Z.getInstance(e[t]))}),m(Z);const J={toggle:!0,parent:null},ee={toggle:"boolean",parent:"(null|element)"};class te extends D{constructor(e,i){super(e),this._isTransitioning=!1,this._config=this._getConfig(i),this._triggerArray=[];const n=H.find('[data-bs-toggle="collapse"]');for(let e=0,i=n.length;e<i;e++){const i=n[e],a=t(i),s=H.find(a).filter(e=>e===this._element);null!==a&&s.length&&(this._selector=a,this._triggerArray.push(i))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return J}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=H.find(".collapse .collapse",this._config.parent);t=H.find(".show, .collapsing",this._config.parent).filter(t=>!e.includes(t))}const i=H.findOne(this._selector);if(t.length){const n=t.find(e=>i!==e);if((e=n?te.getInstance(n):null)&&e._isTransitioning)return}if(A.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach(t=>{i!==t&&te.getOrCreateInstance(t,{toggle:!1}).hide(),e||Y.set(t,"bs.collapse",null)});const n=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const a="scroll"+(n[0].toUpperCase()+n.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse","show"),this._element.style[n]="",A.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[n]=this._element[a]+"px"}hide(){if(this._isTransitioning||!this._isShown())return;if(A.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",u(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");const t=this._triggerArray.length;for(let e=0;e<t;e++){const t=this._triggerArray[e],n=i(t);n&&!this._isShown(n)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse"),A.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(e=this._element){return e.classList.contains("show")}_getConfig(e){return(e={...J,...F.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=s(e.parent),r("collapse",e,ee),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=H.find(".collapse .collapse",this._config.parent);H.find('[data-bs-toggle="collapse"]',this._config.parent).filter(t=>!e.includes(t)).forEach(e=>{const t=i(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))})}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach(e=>{t?e.classList.remove("collapsed"):e.classList.add("collapsed"),e.setAttribute("aria-expanded",t)})}static jQueryInterface(e){return this.each(function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const i=te.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}})}}A.on(document,"click.bs.collapse.data-api",'[data-bs-toggle="collapse"]',function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const i=t(this);H.find(i).forEach(e=>{te.getOrCreateInstance(e,{toggle:!1}).toggle()})}),m(te);var ie="top",ne="bottom",ae="right",se="left",re=[ie,ne,ae,se],oe=re.reduce(function(e,t){return e.concat([t+"-start",t+"-end"])},[]),le=[].concat(re,["auto"]).reduce(function(e,t){return e.concat([t,t+"-start",t+"-end"])},[]),ce=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function de(e){return e?(e.nodeName||"").toLowerCase():null}function ue(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function he(e){return e instanceof ue(e).Element||e instanceof Element}function pe(e){return e instanceof ue(e).HTMLElement||e instanceof HTMLElement}function fe(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ue(e).ShadowRoot||e instanceof ShadowRoot)}var me={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},a=t.elements[e];pe(a)&&de(a)&&(Object.assign(a.style,i),Object.keys(n).forEach(function(e){var t=n[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],a=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce(function(e,t){return e[t]="",e},{});pe(n)&&de(n)&&(Object.assign(n.style,s),Object.keys(a).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]};function ge(e){return e.split("-")[0]}var ve=Math.round;function ye(e,t){void 0===t&&(t=!1);var i=e.getBoundingClientRect(),n=1,a=1;return pe(e)&&t&&(n=i.width/e.offsetWidth||1,a=i.height/e.offsetHeight||1),{width:ve(i.width/n),height:ve(i.height/a),top:ve(i.top/a),right:ve(i.right/n),bottom:ve(i.bottom/a),left:ve(i.left/n),x:ve(i.left/n),y:ve(i.top/a)}}function be(e){var t=ye(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function we(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&fe(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function _e(e){return ue(e).getComputedStyle(e)}function Te(e){return["table","td","th"].indexOf(de(e))>=0}function xe(e){return((he(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ce(e){return"html"===de(e)?e:e.assignedSlot||e.parentNode||(fe(e)?e.host:null)||xe(e)}function Se(e){return pe(e)&&"fixed"!==_e(e).position?e.offsetParent:null}function Ee(e){for(var t=ue(e),i=Se(e);i&&Te(i)&&"static"===_e(i).position;)i=Se(i);return i&&("html"===de(i)||"body"===de(i)&&"static"===_e(i).position)?t:i||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&pe(e)&&"fixed"===_e(e).position)return null;for(var i=Ce(e);pe(i)&&["html","body"].indexOf(de(i))<0;){var n=_e(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}function Pe(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var ke=Math.max,Me=Math.min,Ie=Math.round;function Oe(e,t,i){return ke(e,Me(t,i))}function Le(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function je(e,t){return t.reduce(function(t,i){return t[i]=e,t},{})}var Ae={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,n=e.name,a=e.options,s=i.elements.arrow,r=i.modifiersData.popperOffsets,o=ge(i.placement),l=Pe(o),c=[se,ae].indexOf(o)>=0?"height":"width";if(s&&r){var d=function(e,t){return Le("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:je(e,re))}(a.padding,i),u=be(s),h="y"===l?ie:se,p="y"===l?ne:ae,f=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],m=r[l]-i.rects.reference[l],g=Ee(s),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=f/2-m/2,b=d[h],w=v-u[c]-d[p],_=v/2-u[c]/2+y,T=Oe(b,_,w),x=l;i.modifiersData[n]=((t={})[x]=T,t.centerOffset=T-_,t)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&we(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},ze={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ye(e){var t,i=e.popper,n=e.popperRect,a=e.placement,s=e.offsets,r=e.position,o=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,d=!0===c?function(e){var t=e.x,i=e.y,n=window.devicePixelRatio||1;return{x:Ie(Ie(t*n)/n)||0,y:Ie(Ie(i*n)/n)||0}}(s):"function"==typeof c?c(s):s,u=d.x,h=void 0===u?0:u,p=d.y,f=void 0===p?0:p,m=s.hasOwnProperty("x"),g=s.hasOwnProperty("y"),v=se,y=ie,b=window;if(l){var w=Ee(i),_="clientHeight",T="clientWidth";w===ue(i)&&"static"!==_e(w=xe(i)).position&&(_="scrollHeight",T="scrollWidth"),w=w,a===ie&&(y=ne,f-=w[_]-n.height,f*=o?1:-1),a===se&&(v=ae,h-=w[T]-n.width,h*=o?1:-1)}var x,C=Object.assign({position:r},l&&ze);return o?Object.assign({},C,((x={})[y]=g?"0":"",x[v]=m?"0":"",x.transform=(b.devicePixelRatio||1)<2?"translate("+h+"px, "+f+"px)":"translate3d("+h+"px, "+f+"px, 0)",x)):Object.assign({},C,((t={})[y]=g?f+"px":"",t[v]=m?h+"px":"",t.transform="",t))}var De={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,n=i.gpuAcceleration,a=void 0===n||n,s=i.adaptive,r=void 0===s||s,o=i.roundOffsets,l=void 0===o||o,c={placement:ge(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ye(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ye(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ne={passive:!0},$e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=e.options,a=n.scroll,s=void 0===a||a,r=n.resize,o=void 0===r||r,l=ue(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach(function(e){e.addEventListener("scroll",i.update,Ne)}),o&&l.addEventListener("resize",i.update,Ne),function(){s&&c.forEach(function(e){e.removeEventListener("scroll",i.update,Ne)}),o&&l.removeEventListener("resize",i.update,Ne)}},data:{}},Be={left:"right",right:"left",bottom:"top",top:"bottom"};function Qe(e){return e.replace(/left|right|bottom|top/g,function(e){return Be[e]})}var Re={start:"end",end:"start"};function Fe(e){return e.replace(/start|end/g,function(e){return Re[e]})}function He(e){var t=ue(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function We(e){return ye(xe(e)).left+He(e).scrollLeft}function qe(e){var t=_e(e),i=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+a+n)}function Ve(e,t){var i;void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(de(t))>=0?t.ownerDocument.body:pe(t)&&qe(t)?t:e(Ce(t))}(e),a=n===(null==(i=e.ownerDocument)?void 0:i.body),s=ue(n),r=a?[s].concat(s.visualViewport||[],qe(n)?n:[]):n,o=t.concat(r);return a?o:o.concat(Ve(Ce(r)))}function Ue(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ge(e,t){return"viewport"===t?Ue(function(e){var t=ue(e),i=xe(e),n=t.visualViewport,a=i.clientWidth,s=i.clientHeight,r=0,o=0;return n&&(a=n.width,s=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=n.offsetLeft,o=n.offsetTop)),{width:a,height:s,x:r+We(e),y:o}}(e)):pe(t)?function(e){var t=ye(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Ue(function(e){var t,i=xe(e),n=He(e),a=null==(t=e.ownerDocument)?void 0:t.body,s=ke(i.scrollWidth,i.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),r=ke(i.scrollHeight,i.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),o=-n.scrollLeft+We(e),l=-n.scrollTop;return"rtl"===_e(a||i).direction&&(o+=ke(i.clientWidth,a?a.clientWidth:0)-s),{width:s,height:r,x:o,y:l}}(xe(e)))}function Xe(e){return e.split("-")[1]}function Ke(e){var t,i=e.reference,n=e.element,a=e.placement,s=a?ge(a):null,r=a?Xe(a):null,o=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(s){case ie:t={x:o,y:i.y-n.height};break;case ne:t={x:o,y:i.y+i.height};break;case ae:t={x:i.x+i.width,y:l};break;case se:t={x:i.x-n.width,y:l};break;default:t={x:i.x,y:i.y}}var c=s?Pe(s):null;if(null!=c){var d="y"===c?"height":"width";switch(r){case"start":t[c]=t[c]-(i[d]/2-n[d]/2);break;case"end":t[c]=t[c]+(i[d]/2-n[d]/2)}}return t}function Ze(e,t){void 0===t&&(t={});var i=t,n=i.placement,a=void 0===n?e.placement:n,s=i.boundary,r=void 0===s?"clippingParents":s,o=i.rootBoundary,l=void 0===o?"viewport":o,c=i.elementContext,d=void 0===c?"popper":c,u=i.altBoundary,h=void 0!==u&&u,p=i.padding,f=void 0===p?0:p,m=Le("number"!=typeof f?f:je(f,re)),g="popper"===d?"reference":"popper",v=e.elements.reference,y=e.rects.popper,b=e.elements[h?g:d],w=function(e,t,i){var n="clippingParents"===t?function(e){var t=Ve(Ce(e)),i=["absolute","fixed"].indexOf(_e(e).position)>=0&&pe(e)?Ee(e):e;return he(i)?t.filter(function(e){return he(e)&&we(e,i)&&"body"!==de(e)}):[]}(e):[].concat(t),a=[].concat(n,[i]),s=a[0],r=a.reduce(function(t,i){var n=Ge(e,i);return t.top=ke(n.top,t.top),t.right=Me(n.right,t.right),t.bottom=Me(n.bottom,t.bottom),t.left=ke(n.left,t.left),t},Ge(e,s));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}(he(b)?b:b.contextElement||xe(e.elements.popper),r,l),_=ye(v),T=Ke({reference:_,element:y,strategy:"absolute",placement:a}),x=Ue(Object.assign({},y,T)),C="popper"===d?x:_,S={top:w.top-C.top+m.top,bottom:C.bottom-w.bottom+m.bottom,left:w.left-C.left+m.left,right:C.right-w.right+m.right},E=e.modifiersData.offset;if("popper"===d&&E){var P=E[a];Object.keys(S).forEach(function(e){var t=[ae,ne].indexOf(e)>=0?1:-1,i=[ie,ne].indexOf(e)>=0?"y":"x";S[e]+=P[i]*t})}return S}var Je={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=i.mainAxis,s=void 0===a||a,r=i.altAxis,o=void 0===r||r,l=i.fallbackPlacements,c=i.padding,d=i.boundary,u=i.rootBoundary,h=i.altBoundary,p=i.flipVariations,f=void 0===p||p,m=i.allowedAutoPlacements,g=t.options.placement,v=ge(g),y=l||(v!==g&&f?function(e){if("auto"===ge(e))return[];var t=Qe(e);return[Fe(e),t,Fe(t)]}(g):[Qe(g)]),b=[g].concat(y).reduce(function(e,i){return e.concat("auto"===ge(i)?function(e,t){void 0===t&&(t={});var i=t,n=i.placement,a=i.boundary,s=i.rootBoundary,r=i.padding,o=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?le:l,d=Xe(n),u=d?o?oe:oe.filter(function(e){return Xe(e)===d}):re,h=u.filter(function(e){return c.indexOf(e)>=0});0===h.length&&(h=u);var p=h.reduce(function(t,i){return t[i]=Ze(e,{placement:i,boundary:a,rootBoundary:s,padding:r})[ge(i)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}(t,{placement:i,boundary:d,rootBoundary:u,padding:c,flipVariations:f,allowedAutoPlacements:m}):i)},[]),w=t.rects.reference,_=t.rects.popper,T=new Map,x=!0,C=b[0],S=0;S<b.length;S++){var E=b[S],P=ge(E),k="start"===Xe(E),M=[ie,ne].indexOf(P)>=0,I=M?"width":"height",O=Ze(t,{placement:E,boundary:d,rootBoundary:u,altBoundary:h,padding:c}),L=M?k?ae:se:k?ne:ie;w[I]>_[I]&&(L=Qe(L));var j=Qe(L),A=[];if(s&&A.push(O[P]<=0),o&&A.push(O[L]<=0,O[j]<=0),A.every(function(e){return e})){C=E,x=!1;break}T.set(E,A)}if(x)for(var z=function(e){var t=b.find(function(t){var i=T.get(t);if(i)return i.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},Y=f?3:1;Y>0&&"break"!==z(Y);Y--);t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function et(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function tt(e){return[ie,ae,ne,se].some(function(t){return e[t]>=0})}var it={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,a=t.rects.popper,s=t.modifiersData.preventOverflow,r=Ze(t,{elementContext:"reference"}),o=Ze(t,{altBoundary:!0}),l=et(r,n),c=et(o,a,s),d=tt(l),u=tt(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}},nt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,n=e.name,a=i.offset,s=void 0===a?[0,0]:a,r=le.reduce(function(e,i){return e[i]=function(e,t,i){var n=ge(e),a=[se,ie].indexOf(n)>=0?-1:1,s="function"==typeof i?i(Object.assign({},t,{placement:e})):i,r=s[0],o=s[1];return r=r||0,o=(o||0)*a,[se,ae].indexOf(n)>=0?{x:o,y:r}:{x:r,y:o}}(i,t.rects,s),e},{}),o=r[t.placement],l=o.x,c=o.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=r}},at={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=Ke({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},st={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name,a=i.mainAxis,s=void 0===a||a,r=i.altAxis,o=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,d=i.altBoundary,u=i.padding,h=i.tether,p=void 0===h||h,f=i.tetherOffset,m=void 0===f?0:f,g=Ze(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),v=ge(t.placement),y=Xe(t.placement),b=!y,w=Pe(v),_="x"===w?"y":"x",T=t.modifiersData.popperOffsets,x=t.rects.reference,C=t.rects.popper,S="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,E={x:0,y:0};if(T){if(s||o){var P="y"===w?ie:se,k="y"===w?ne:ae,M="y"===w?"height":"width",I=T[w],O=T[w]+g[P],L=T[w]-g[k],j=p?-C[M]/2:0,A="start"===y?x[M]:C[M],z="start"===y?-C[M]:-x[M],Y=t.elements.arrow,D=p&&Y?be(Y):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=N[P],B=N[k],Q=Oe(0,x[M],D[M]),R=b?x[M]/2-j-Q-$-S:A-Q-$-S,F=b?-x[M]/2+j+Q+B+S:z+Q+B+S,H=t.elements.arrow&&Ee(t.elements.arrow),W=H?"y"===w?H.clientTop||0:H.clientLeft||0:0,q=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,V=T[w]+R-q-W,U=T[w]+F-q;if(s){var G=Oe(p?Me(O,V):O,I,p?ke(L,U):L);T[w]=G,E[w]=G-I}if(o){var X="x"===w?ie:se,K="x"===w?ne:ae,Z=T[_],J=Z+g[X],ee=Z-g[K],te=Oe(p?Me(J,V):J,Z,p?ke(ee,U):ee);T[_]=te,E[_]=te-Z}}t.modifiersData[n]=E}},requiresIfExists:["offset"]};function rt(e,t,i){void 0===i&&(i=!1);var n,a,s=pe(t),r=pe(t)&&function(e){var t=e.getBoundingClientRect(),i=t.width/e.offsetWidth||1,n=t.height/e.offsetHeight||1;return 1!==i||1!==n}(t),o=xe(t),l=ye(e,r),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(s||!s&&!i)&&(("body"!==de(t)||qe(o))&&(c=(n=t)!==ue(n)&&pe(n)?{scrollLeft:(a=n).scrollLeft,scrollTop:a.scrollTop}:He(n)),pe(t)?((d=ye(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):o&&(d.x=We(o))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}var ot={placement:"bottom",modifiers:[],strategy:"absolute"};function lt(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function ct(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,n=void 0===i?[]:i,a=t.defaultOptions,s=void 0===a?ot:a;return function(e,t,i){void 0===i&&(i=s);var a,r,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},ot,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,d={state:o,setOptions:function(i){u(),o.options=Object.assign({},s,o.options,i),o.scrollParents={reference:he(e)?Ve(e):e.contextElement?Ve(e.contextElement):[],popper:Ve(t)};var a,r,c=function(e){var t=function(e){var t=new Map,i=new Set,n=[];return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){i.has(e.name)||function e(a){i.add(a.name),[].concat(a.requires||[],a.requiresIfExists||[]).forEach(function(n){if(!i.has(n)){var a=t.get(n);a&&e(a)}}),n.push(a)}(e)}),n}(e);return ce.reduce(function(e,i){return e.concat(t.filter(function(e){return e.phase===i}))},[])}((a=[].concat(n,o.options.modifiers),r=a.reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{}),Object.keys(r).map(function(e){return r[e]})));return o.orderedModifiers=c.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,n=void 0===i?{}:i,a=e.effect;if("function"==typeof a){var s=a({state:o,name:t,instance:d,options:n});l.push(s||function(){})}}),d.update()},forceUpdate:function(){if(!c){var e=o.elements,t=e.reference,i=e.popper;if(lt(t,i)){o.rects={reference:rt(t,Ee(i),"fixed"===o.options.strategy),popper:be(i)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var n=0;n<o.orderedModifiers.length;n++)if(!0!==o.reset){var a=o.orderedModifiers[n],s=a.fn,r=a.options,l=void 0===r?{}:r,u=a.name;"function"==typeof s&&(o=s({state:o,options:l,name:u,instance:d})||o)}else o.reset=!1,n=-1}}},update:(a=function(){return new Promise(function(e){d.forceUpdate(),e(o)})},function(){return r||(r=new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(a())})})),r}),destroy:function(){u(),c=!0}};if(!lt(e,t))return d;function u(){l.forEach(function(e){return e()}),l=[]}return d.setOptions(i).then(function(e){!c&&i.onFirstUpdate&&i.onFirstUpdate(e)}),d}}var dt=ct(),ut=ct({defaultModifiers:[$e,at,De,me]}),ht=ct({defaultModifiers:[$e,at,De,me,nt,Je,st,Ae,it]}),pt=Object.freeze({__proto__:null,popperGenerator:ct,detectOverflow:Ze,createPopperBase:dt,createPopper:ht,createPopperLite:ut,top:ie,bottom:ne,right:ae,left:se,auto:"auto",basePlacements:re,start:"start",end:"end",clippingParents:"clippingParents",viewport:"viewport",popper:"popper",reference:"reference",variationPlacements:oe,placements:le,beforeRead:"beforeRead",read:"read",afterRead:"afterRead",beforeMain:"beforeMain",main:"main",afterMain:"afterMain",beforeWrite:"beforeWrite",write:"write",afterWrite:"afterWrite",modifierPhases:ce,applyStyles:me,arrow:Ae,computeStyles:De,eventListeners:$e,flip:Je,hide:it,offset:nt,popperOffsets:at,preventOverflow:st});const ft=new RegExp("ArrowUp|ArrowDown|Escape"),mt=f()?"top-end":"top-start",gt=f()?"top-start":"top-end",vt=f()?"bottom-end":"bottom-start",yt=f()?"bottom-start":"bottom-end",bt=f()?"left-start":"right-start",wt=f()?"right-start":"left-start",_t={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},Tt={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class xt extends D{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return _t}static get DefaultType(){return Tt}static get NAME(){return"dropdown"}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(A.trigger(this._element,"show.bs.dropdown",e).defaultPrevented)return;const t=xt.getParentFromElement(this._element);this._inNavbar?F.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(e=>A.on(e,"mouseover",d)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add("show"),this._element.classList.add("show"),A.trigger(this._element,"shown.bs.dropdown",e)}hide(){if(l(this._element)||!this._isShown(this._menu))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){A.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>A.off(e,"mouseover",d)),this._popper&&this._popper.destroy(),this._menu.classList.remove("show"),this._element.classList.remove("show"),this._element.setAttribute("aria-expanded","false"),F.removeDataAttribute(this._menu,"popper"),A.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...F.getDataAttributes(this._element),...e},r("dropdown",e,this.constructor.DefaultType),"object"==typeof e.reference&&!a(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError("dropdown".toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.');return e}_createPopper(e){if(void 0===pt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:a(this._config.reference)?t=s(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const i=this._getPopperConfig(),n=i.modifiers.find(e=>"applyStyles"===e.name&&!1===e.enabled);this._popper=ht(t,this._menu,i),n&&F.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains("show")}_getMenuElement(){return H.next(this._element,".dropdown-menu")[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return bt;if(e.classList.contains("dropstart"))return wt;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?gt:mt:t?yt:vt}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const i=H.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(o);i.length&&y(i,t,"ArrowDown"===e,!i.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=xt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const t=H.find('[data-bs-toggle="dropdown"]');for(let i=0,n=t.length;i<n;i++){const n=xt.getInstance(t[i]);if(!n||!1===n._config.autoClose)continue;if(!n._isShown())continue;const a={relatedTarget:n._element};if(e){const t=e.composedPath(),i=t.includes(n._menu);if(t.includes(n._element)||"inside"===n._config.autoClose&&!i||"outside"===n._config.autoClose&&i)continue;if(n._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(a.clickEvent=e)}n._completeHide(a)}}static getParentFromElement(e){return i(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?"Space"===e.key||"Escape"!==e.key&&("ArrowDown"!==e.key&&"ArrowUp"!==e.key||e.target.closest(".dropdown-menu")):!ft.test(e.key))return;const t=this.classList.contains("show");if(!t&&"Escape"===e.key)return;if(e.preventDefault(),e.stopPropagation(),l(this))return;const i=this.matches('[data-bs-toggle="dropdown"]')?this:H.prev(this,'[data-bs-toggle="dropdown"]')[0],n=xt.getOrCreateInstance(i);if("Escape"!==e.key)return"ArrowUp"===e.key||"ArrowDown"===e.key?(t||n.show(),void n._selectMenuItem(e)):void(t&&"Space"!==e.key||xt.clearMenus());n.hide()}}A.on(document,"keydown.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',xt.dataApiKeydownHandler),A.on(document,"keydown.bs.dropdown.data-api",".dropdown-menu",xt.dataApiKeydownHandler),A.on(document,"click.bs.dropdown.data-api",xt.clearMenus),A.on(document,"keyup.bs.dropdown.data-api",xt.clearMenus),A.on(document,"click.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',function(e){e.preventDefault(),xt.getOrCreateInstance(this).toggle()}),m(xt);class Ct{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",t=>t+e),this._setElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight",t=>t+e),this._setElementAttributes(".sticky-top","marginRight",t=>t-e)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,i){const n=this.getWidth();this._applyManipulationCallback(e,e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+n)return;this._saveInitialAttribute(e,t);const a=window.getComputedStyle(e)[t];e.style[t]=i(Number.parseFloat(a))+"px"})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight"),this._resetElementAttributes(".sticky-top","marginRight")}_saveInitialAttribute(e,t){const i=e.style[t];i&&F.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,e=>{const i=F.getDataAttribute(e,t);void 0===i?e.style.removeProperty(t):(F.removeDataAttribute(e,t),e.style[t]=i)})}_applyManipulationCallback(e,t){a(e)?t(e):H.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const St={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},Et={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"};class Pt{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&u(this._getElement()),this._getElement().classList.add("show"),this._emulateAnimation(()=>{g(e)})):g(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),g(e)})):g(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e={...St,..."object"==typeof e?e:{}}).rootElement=s(e.rootElement),r("backdrop",e,Et),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),A.on(this._getElement(),"mousedown.bs.backdrop",()=>{g(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(A.off(this._element,"mousedown.bs.backdrop"),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){v(e,this._getElement(),this._config.isAnimated)}}const kt={trapElement:null,autofocus:!0},Mt={trapElement:"element",autofocus:"boolean"};class It{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),A.off(document,".bs.focustrap"),A.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),A.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,A.off(document,".bs.focustrap"))}_handleFocusin(e){const{target:t}=e,{trapElement:i}=this._config;if(t===document||t===i||i.contains(t))return;const n=H.focusableChildren(i);0===n.length?i.focus():"backward"===this._lastTabNavDirection?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?"backward":"forward")}_getConfig(e){return e={...kt,..."object"==typeof e?e:{}},r("focustrap",e,Mt),e}}const Ot={backdrop:!0,keyboard:!0,focus:!0},Lt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"};class jt extends D{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=H.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new Ct}static get Default(){return Ot}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||A.trigger(this._element,"show.bs.modal",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add("modal-open"),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),A.on(this._dialog,"mousedown.dismiss.bs.modal",()=>{A.one(this._element,"mouseup.dismiss.bs.modal",e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(e)))}hide(){if(!this._isShown||this._isTransitioning)return;if(A.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove("show"),A.off(this._element,"click.dismiss.bs.modal"),A.off(this._dialog,"mousedown.dismiss.bs.modal"),this._queueCallback(()=>this._hideModal(),this._element,e)}dispose(){[window,this._dialog].forEach(e=>A.off(e,".bs.modal")),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Pt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new It({trapElement:this._element})}_getConfig(e){return e={...Ot,...F.getDataAttributes(this._element),..."object"==typeof e?e:{}},r("modal",e,Lt),e}_showElement(e){const t=this._isAnimated(),i=H.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),t&&u(this._element),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,A.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,t)}_setEscapeEvent(){this._isShown?A.on(this._element,"keydown.dismiss.bs.modal",e=>{this._config.keyboard&&"Escape"===e.key?(e.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==e.key||this._triggerBackdropTransition()}):A.off(this._element,"keydown.dismiss.bs.modal")}_setResizeEvent(){this._isShown?A.on(window,"resize.bs.modal",()=>this._adjustDialog()):A.off(window,"resize.bs.modal")}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove("modal-open"),this._resetAdjustments(),this._scrollBar.reset(),A.trigger(this._element,"hidden.bs.modal")})}_showBackdrop(e){A.on(this._element,"click.dismiss.bs.modal",e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(A.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:t,style:i}=this._element,n=t>document.documentElement.clientHeight;!n&&"hidden"===i.overflowY||e.contains("modal-static")||(n||(i.overflowY="hidden"),e.add("modal-static"),this._queueCallback(()=>{e.remove("modal-static"),n||this._queueCallback(()=>{i.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=t>0;(!i&&e&&!f()||i&&!e&&f())&&(this._element.style.paddingLeft=t+"px"),(i&&!e&&!f()||!i&&e&&f())&&(this._element.style.paddingRight=t+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const i=jt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](t)}})}}A.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(e){const t=i(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),A.one(t,"show.bs.modal",e=>{e.defaultPrevented||A.one(t,"hidden.bs.modal",()=>{o(this)&&this.focus()})}),jt.getOrCreateInstance(t).toggle(this)}),N(jt),m(jt);const At={backdrop:!0,keyboard:!0,scroll:!1},zt={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"};class Yt extends D{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return"offcanvas"}static get Default(){return At}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||A.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new Ct).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),A.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(A.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),this._backdrop.hide(),this._queueCallback(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new Ct).reset(),A.trigger(this._element,"hidden.bs.offcanvas")},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...At,...F.getDataAttributes(this._element),..."object"==typeof e?e:{}},r("offcanvas",e,zt),e}_initializeBackDrop(){return new Pt({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new It({trapElement:this._element})}_addEventListeners(){A.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()})}static jQueryInterface(e){return this.each(function(){const t=Yt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}A.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){const t=i(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this))return;A.one(t,"hidden.bs.offcanvas",()=>{o(this)&&this.focus()});const n=H.findOne(".offcanvas.show");n&&n!==t&&Yt.getInstance(n).hide(),Yt.getOrCreateInstance(t).toggle(this)}),A.on(window,"load.bs.offcanvas.data-api",()=>H.find(".offcanvas.show").forEach(e=>Yt.getOrCreateInstance(e).show())),N(Yt),m(Yt);const Dt=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Nt=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&\/:?]*(?:[#\/?]|$))/i,$t=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+\/a-z]+=*$/i,Bt=(e,t)=>{const i=e.nodeName.toLowerCase();if(t.includes(i))return!Dt.has(i)||Boolean(Nt.test(e.nodeValue)||$t.test(e.nodeValue));const n=t.filter(e=>e instanceof RegExp);for(let e=0,t=n.length;e<t;e++)if(n[e].test(i))return!0;return!1};function Qt(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);const n=(new window.DOMParser).parseFromString(e,"text/html"),a=Object.keys(t),s=[].concat(...n.body.querySelectorAll("*"));for(let e=0,i=s.length;e<i;e++){const i=s[e],n=i.nodeName.toLowerCase();if(!a.includes(n)){i.remove();continue}const r=[].concat(...i.attributes),o=[].concat(t["*"]||[],t[n]||[]);r.forEach(e=>{Bt(e,o)||i.removeAttribute(e.nodeName)})}return n.body.innerHTML}const Rt=new Set(["sanitize","allowList","sanitizeFn"]),Ft={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Ht={AUTO:"auto",TOP:"top",RIGHT:f()?"left":"right",BOTTOM:"bottom",LEFT:f()?"right":"left"},Wt={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},qt={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"};class Vt extends D{constructor(e,t){if(void 0===pt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return Wt}static get NAME(){return"tooltip"}static get Event(){return qt}static get DefaultType(){return Ft}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains("show"))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),A.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.remove(),this._popper&&this._popper.destroy(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const e=A.trigger(this._element,this.constructor.Event.SHOW),t=c(this._element),i=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!i)return;const n=this.getTipElement(),a=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME);n.setAttribute("id",a),this._element.setAttribute("aria-describedby",a),this._config.animation&&n.classList.add("fade");const s="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,r=this._getAttachment(s);this._addAttachmentClass(r);const{container:o}=this._config;Y.set(n,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(n),A.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=ht(this._element,n,this._getPopperConfig(r)),n.classList.add("show");const l=this._resolvePossibleFunction(this._config.customClass);l&&n.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>{A.on(e,"mouseover",d)});const u=this.tip.classList.contains("fade");this._queueCallback(()=>{const e=this._hoverState;this._hoverState=null,A.trigger(this._element,this.constructor.Event.SHOWN),"out"===e&&this._leave(null,this)},this.tip,u)}hide(){if(!this._popper)return;const e=this.getTipElement();if(A.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove("show"),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>A.off(e,"mouseover",d)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains("fade");this._queueCallback(()=>{this._isWithActiveTrigger()||("show"!==this._hoverState&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),A.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))},this.tip,t),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");e.innerHTML=this._config.template;const t=e.children[0];return this.setContent(t),t.classList.remove("fade","show"),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".tooltip-inner")}_sanitizeAndSetContent(e,t,i){const n=H.findOne(i,e);t||!n?this.setElementContent(n,t):n.remove()}setElementContent(e,t){if(null!==e)return a(t)?(t=s(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=Qt(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return Ht[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(e=>{if("click"===e)A.on(this._element,this.constructor.Event.CLICK,this._config.selector,e=>this.toggle(e));else if("manual"!==e){const t="hover"===e?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i="hover"===e?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;A.on(this._element,t,this._config.selector,e=>this._enter(e)),A.on(this._element,i,this._config.selector,e=>this._leave(e))}}),this._hideModalHandler=(()=>{this._element&&this.hide()}),A.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?"focus":"hover"]=!0),t.getTipElement().classList.contains("show")||"show"===t._hoverState?t._hoverState="show":(clearTimeout(t._timeout),t._hoverState="show",t._config.delay&&t._config.delay.show?t._timeout=setTimeout(()=>{"show"===t._hoverState&&t.show()},t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?"focus":"hover"]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t._config.delay&&t._config.delay.hide?t._timeout=setTimeout(()=>{"out"===t._hoverState&&t.hide()},t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=F.getDataAttributes(this._element);return Object.keys(t).forEach(e=>{Rt.has(e)&&delete t[e]}),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:s(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),r("tooltip",e,this.constructor.DefaultType),e.sanitize&&(e.template=Qt(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=e.getAttribute("class").match(t);null!==i&&i.length>0&&i.map(e=>e.trim()).forEach(t=>e.classList.remove(t))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}static jQueryInterface(e){return this.each(function(){const t=Vt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}m(Vt);const Ut={...Vt.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},Gt={...Vt.DefaultType,content:"(string|element|function)"},Xt={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class Kt extends Vt{static get Default(){return Ut}static get NAME(){return"popover"}static get Event(){return Xt}static get DefaultType(){return Gt}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each(function(){const t=Kt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}m(Kt);const Zt={offset:10,method:"auto",target:""},Jt={offset:"number",method:"string",target:"(string|element)"},ei=".nav-link, .list-group-item, .dropdown-item";class ti extends D{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,A.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return Zt}static get NAME(){return"scrollspy"}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?e:this._config.method,n="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),H.find(ei,this._config.target).map(e=>{const a=t(e),s=a?H.findOne(a):null;if(s){const e=s.getBoundingClientRect();if(e.width||e.height)return[F[i](s).top+n,a]}return null}).filter(e=>e).sort((e,t)=>e[0]-t[0]).forEach(e=>{this._offsets.push(e[0]),this._targets.push(e[1])})}dispose(){A.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e={...Zt,...F.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=s(e.target)||document.documentElement,r("scrollspy",e,Jt),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),i=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=i){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;)this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e<this._offsets[t+1])&&this._activate(this._targets[t])}}_activate(e){this._activeTarget=e,this._clear();const t=ei.split(",").map(t=>`${t}[data-bs-target="${e}"],${t}[href="${e}"]`),i=H.findOne(t.join(","),this._config.target);i.classList.add("active"),i.classList.contains("dropdown-item")?H.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add("active"):H.parents(i,".nav, .list-group").forEach(e=>{H.prev(e,".nav-link, .list-group-item").forEach(e=>e.classList.add("active")),H.prev(e,".nav-item").forEach(e=>{H.children(e,".nav-link").forEach(e=>e.classList.add("active"))})}),A.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){H.find(ei,this._config.target).filter(e=>e.classList.contains("active")).forEach(e=>e.classList.remove("active"))}static jQueryInterface(e){return this.each(function(){const t=ti.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}A.on(window,"load.bs.scrollspy.data-api",()=>{H.find('[data-bs-spy="scroll"]').forEach(e=>new ti(e))}),m(ti);class ii extends D{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains("active"))return;let e;const t=i(this._element),n=this._element.closest(".nav, .list-group");if(n){const t="UL"===n.nodeName||"OL"===n.nodeName?":scope > li > .active":".active";e=(e=H.find(t,n))[e.length-1]}const a=e?A.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(A.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==a&&a.defaultPrevented)return;this._activate(this._element,n);const s=()=>{A.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),A.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,s):s()}_activate(e,t,i){const n=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?H.children(t,".active"):H.find(":scope > li > .active",t))[0],a=i&&n&&n.classList.contains("fade"),s=()=>this._transitionComplete(e,n,i);n&&a?(n.classList.remove("show"),this._queueCallback(s,e,!0)):s()}_transitionComplete(e,t,i){if(t){t.classList.remove("active");const e=H.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),u(e),e.classList.contains("fade")&&e.classList.add("show");let n=e.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&H.find(".dropdown-toggle",t).forEach(e=>e.classList.add("active")),e.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(e){return this.each(function(){const t=ii.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}A.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this)||ii.getOrCreateInstance(this).show()}),m(ii);const ni={animation:"boolean",autohide:"boolean",delay:"number"},ai={animation:!0,autohide:!0,delay:5e3};class si extends D{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return ni}static get Default(){return ai}static get NAME(){return"toast"}show(){A.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),u(this._element),this._element.classList.add("show"),this._element.classList.add("showing"),this._queueCallback(()=>{this._element.classList.remove("showing"),A.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains("show")&&(A.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add("showing"),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove("showing"),this._element.classList.remove("show"),A.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),super.dispose()}_getConfig(e){return e={...ai,...F.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},r("toast",e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){A.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),A.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),A.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),A.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=si.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return N(si),m(si),{Alert:$,Button:B,Carousel:Z,Collapse:te,Dropdown:xt,Modal:jt,Offcanvas:Yt,Popover:Kt,ScrollSpy:ti,Tab:ii,Toast:si,Tooltip:Vt}}),window.scwAccordionsPlugin=window.scwAccordionsPlugin||{},window.SEMICOLON_accordionsInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e,t=$(this),i=t.attr("data-state"),n=t.attr("data-active")||1,a=t.attr("data-active-class")||"",s=t.attr("data-collapsible")||"false",r=location.hash;n=Number(n)-1,void 0!==r&&""!=r&&(e=t.find(".accordion-header"+r)).length>0&&(n=e.index()/2),t.find(".accordion-content").hide(),"closed"!=i&&t.find(".accordion-header:eq("+Number(n)+")").addClass("accordion-active "+a).next().show(),t.find(".accordion-header").off("click").on("click",function(){if($(this).next().is(":hidden")){t.find(".accordion-header").removeClass("accordion-active "+a).next().slideUp("normal");let e=$(this);$(this).toggleClass("accordion-active "+a,!0).next().stop(!0,!0).slideDown("normal",function(){($("body").hasClass("device-sm")||$("body").hasClass("device-xs"))&&t.hasClass("scroll-on-open")&&$("html,body").stop(!0,!0).animate({scrollTop:e.offset().top-(SEMICOLON.initialize.topScrollOffset()-40)},800,"easeOutQuad")})}else"true"==s&&$(this).toggleClass("accordion-active "+a,!1).next().stop(!0,!0).slideUp("normal");return!1})})},function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){e.extend(e.fn,{validate:function(t){if(this.length){var i=e.data(this[0],"validator");return i||(this.attr("novalidate","novalidate"),i=new e.validator(t,this[0]),e.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",function(t){i.submitButton=t.currentTarget,e(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==e(this).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.on("submit.validate",function(t){function n(){var n,a;return i.submitButton&&(i.settings.submitHandler||i.formSubmitted)&&(n=e("<input type='hidden'/>").attr("name",i.submitButton.name).val(e(i.submitButton).val()).appendTo(i.currentForm)),!(i.settings.submitHandler&&!i.settings.debug)||(a=i.settings.submitHandler.call(i,i.currentForm,t),n&&n.remove(),void 0!==a&&a)}return i.settings.debug&&t.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,n()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):n():(i.focusInvalid(),!1)})),i)}t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,i,n;return e(this[0]).is("form")?t=this.validate().form():(n=[],t=!0,i=e(this[0].form).validate(),this.each(function(){(t=i.element(this)&&t)||(n=n.concat(i.errorList))}),i.errorList=n),t},rules:function(t,i){var n,a,s,r,o,l,c=this[0],d=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=c&&(!c.form&&d&&(c.form=this.closest("form")[0],c.name=this.attr("name")),null!=c.form)){if(t)switch(n=e.data(c.form,"validator").settings,a=n.rules,s=e.validator.staticRules(c),t){case"add":e.extend(s,e.validator.normalizeRule(i)),delete s.messages,a[c.name]=s,i.messages&&(n.messages[c.name]=e.extend(n.messages[c.name],i.messages));break;case"remove":return i?(l={},e.each(i.split(/\s/),function(e,t){l[t]=s[t],delete s[t]}),l):(delete a[c.name],s)}return(r=e.validator.normalizeRules(e.extend({},e.validator.classRules(c),e.validator.attributeRules(c),e.validator.dataRules(c),e.validator.staticRules(c)),c)).required&&(o=r.required,delete r.required,r=e.extend({required:o},r)),r.remote&&(o=r.remote,delete r.remote,r=e.extend(r,{remote:o})),r}}});var t=function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};e.extend(e.expr.pseudos||e.expr[":"],{blank:function(i){return!t(""+e(i).val())},filled:function(i){var n=e(i).val();return null!==n&&!!t(""+n)},unchecked:function(t){return!e(t).prop("checked")}}),e.validator=function(t,i){this.settings=e.extend(!0,{},e.validator.defaults,t),this.currentForm=i,this.init()},e.validator.format=function(t,i){return 1===arguments.length?function(){var i=e.makeArray(arguments);return i.unshift(t),e.validator.format.apply(this,i)}:void 0===i?t:(arguments.length>2&&i.constructor!==Array&&(i=e.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),e.each(i,function(e,i){t=t.replace(new RegExp("\\{"+e+"\\}","g"),function(){return i})}),t)},e.extend(e.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:e([]),errorLabelContainer:e([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(e){this.lastActive=e,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,e,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(e)))},onfocusout:function(e){this.checkable(e)||!(e.name in this.submitted)&&this.optional(e)||this.element(e)},onkeyup:function(t,i){9===i.which&&""===this.elementValue(t)||-1!==e.inArray(i.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(t.name in this.submitted||t.name in this.invalid)&&this.element(t)},onclick:function(e){e.name in this.submitted?this.element(e):e.parentNode.name in this.submitted&&this.element(e.parentNode)},highlight:function(t,i,n){"radio"===t.type?this.findByName(t.name).addClass(i).removeClass(n):e(t).addClass(i).removeClass(n)},unhighlight:function(t,i,n){"radio"===t.type?this.findByName(t.name).removeClass(i).addClass(n):e(t).removeClass(i).addClass(n)}},setDefaults:function(t){e.extend(e.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:e.validator.format("Please enter no more than {0} characters."),minlength:e.validator.format("Please enter at least {0} characters."),rangelength:e.validator.format("Please enter a value between {0} and {1} characters long."),range:e.validator.format("Please enter a value between {0} and {1}."),max:e.validator.format("Please enter a value less than or equal to {0}."),min:e.validator.format("Please enter a value greater than or equal to {0}."),step:e.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function t(t){var i=void 0!==e(this).attr("contenteditable")&&"false"!==e(this).attr("contenteditable");if(!this.form&&i&&(this.form=e(this).closest("form")[0],this.name=e(this).attr("name")),n===this.form){var a=e.data(this.form,"validator"),s="on"+t.type.replace(/^validate/,""),r=a.settings;r[s]&&!e(this).is(r.ignore)&&r[s].call(a,this,t)}}this.labelContainer=e(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||e(this.currentForm),this.containers=e(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i,n=this.currentForm,a=this.groups={};e.each(this.settings.groups,function(t,i){"string"==typeof i&&(i=i.split(/\s/)),e.each(i,function(e,i){a[i]=t})}),i=this.settings.rules,e.each(i,function(t,n){i[t]=e.validator.normalizeRule(n)}),e(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",t).on("click.validate","select, option, [type='radio'], [type='checkbox']",t),this.settings.invalidHandler&&e(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),e.extend(this.submitted,this.errorMap),this.invalid=e.extend({},this.errorMap),this.valid()||e(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var e=0,t=this.currentElements=this.elements();t[e];e++)this.check(t[e]);return this.valid()},element:function(t){var i,n,a=this.clean(t),s=this.validationTargetFor(a),r=this,o=!0;return void 0===s?delete this.invalid[a.name]:(this.prepareElement(s),this.currentElements=e(s),(n=this.groups[s.name])&&e.each(this.groups,function(e,t){t===n&&e!==s.name&&((a=r.validationTargetFor(r.clean(r.findByName(e))))&&a.name in r.invalid&&(r.currentElements.push(a),o=r.check(a)&&o))}),i=!1!==this.check(s),o=o&&i,this.invalid[s.name]=!i,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),e(t).attr("aria-invalid",!i)),o},showErrors:function(t){if(t){var i=this;e.extend(this.errorMap,t),this.errorList=e.map(this.errorMap,function(e,t){return{message:e,element:i.findByName(t)[0]}}),this.successList=e.grep(this.successList,function(e){return!(e.name in t)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){e.fn.resetForm&&e(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var t=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(t)},resetElements:function(e){var t;if(this.settings.unhighlight)for(t=0;e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,""),this.findByName(e[t].name).removeClass(this.settings.validClass);else e.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var t,i=0;for(t in e)void 0!==e[t]&&null!==e[t]&&!1!==e[t]&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(e){e.not(this.containers).text(""),this.addWrapper(e).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{e(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(e){}},findLastActive:function(){var t=this.lastActive;return t&&1===e.grep(this.errorList,function(e){return e.element.name===t.name}).length&&t},elements:function(){var t=this,i={};return e(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var n=this.name||e(this).attr("name"),a=void 0!==e(this).attr("contenteditable")&&"false"!==e(this).attr("contenteditable");return!n&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),a&&(this.form=e(this).closest("form")[0],this.name=n),!(this.form!==t.currentForm||n in i||!t.objectLength(e(this).rules())||(i[n]=!0,0))})},clean:function(t){return e(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return e(this.settings.errorElement+"."+t,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=e([]),this.toHide=e([])},reset:function(){this.resetInternals(),this.currentElements=e([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(e){this.reset(),this.toHide=this.errorsFor(e)},elementValue:function(t){var i,n,a=e(t),s=t.type,r=void 0!==a.attr("contenteditable")&&"false"!==a.attr("contenteditable");return"radio"===s||"checkbox"===s?this.findByName(t.name).filter(":checked").val():"number"===s&&void 0!==t.validity?t.validity.badInput?"NaN":a.val():(i=r?a.text():a.val(),"file"===s?" "===i.substr(0,12)?i.substr(12):(n=i.lastIndexOf("/"))>=0?i.substr(n+1):(n=i.lastIndexOf("\\"))>=0?i.substr(n+1):i:"string"==typeof i?i.replace(/\r/g,""):i)},check:function(t){t=this.validationTargetFor(this.clean(t));var i,n,a,s,r=e(t).rules(),o=e.map(r,function(e,t){return t}).length,l=!1,c=this.elementValue(t);for(n in"function"==typeof r.normalizer?s=r.normalizer:"function"==typeof this.settings.normalizer&&(s=this.settings.normalizer),s&&(c=s.call(t,c),delete r.normalizer),r){a={method:n,parameters:r[n]};try{if("dependency-mismatch"===(i=e.validator.methods[n].call(this,c,t,a.parameters))&&1===o){l=!0;continue}if(l=!1,"pending"===i)return void(this.toHide=this.toHide.not(this.errorsFor(t)));if(!i)return this.formatAndAdd(t,a),!1}catch(e){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+a.method+"' method.",e),e instanceof TypeError&&(e.message+=". Exception occurred when checking element "+t.id+", check the '"+a.method+"' method."),e}}if(!l)return this.objectLength(r)&&this.successList.push(t),!0},customDataMessage:function(t,i){return e(t).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||e(t).data("msg")},customMessage:function(e,t){var i=this.settings.messages[e];return i&&(i.constructor===String?i:i[t])},findDefined:function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]},defaultMessage:function(t,i){"string"==typeof i&&(i={method:i});var n=this.findDefined(this.customMessage(t.name,i.method),this.customDataMessage(t,i.method),!this.settings.ignoreTitle&&t.title||void 0,e.validator.messages[i.method],"<strong>Warning: No message defined for "+t.name+"</strong>"),a=/\$?\{(\d+)\}/g;return"function"==typeof n?n=n.call(this,i.parameters,t):a.test(n)&&(n=e.validator.format(n.replace(a,"{$1}"),i.parameters)),n},formatAndAdd:function(e,t){var i=this.defaultMessage(e,t);this.errorList.push({message:i,element:e,method:t.method}),this.errorMap[e.name]=i,this.submitted[e.name]=i},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){var e,t,i;for(e=0;this.errorList[e];e++)i=this.errorList[e],this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(e=0;this.successList[e];e++)this.showLabel(this.successList[e]);if(this.settings.unhighlight)for(e=0,t=this.validElements();t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return e(this.errorList).map(function(){return this.element})},showLabel:function(t,i){var n,a,s,r,o=this.errorsFor(t),l=this.idOrName(t),c=e(t).attr("aria-describedby");o.length?(o.removeClass(this.settings.validClass).addClass(this.settings.errorClass),o.html(i)):(n=o=e("<"+this.settings.errorElement+">").attr("id",l+"-error").addClass(this.settings.errorClass).html(i||""),this.settings.wrapper&&(n=o.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(n):this.settings.errorPlacement?this.settings.errorPlacement.call(this,n,e(t)):n.insertAfter(t),o.is("label")?o.attr("for",l):0===o.parents("label[for='"+this.escapeCssMeta(l)+"']").length&&(s=o.attr("id"),c?c.match(new RegExp("\\b"+this.escapeCssMeta(s)+"\\b"))||(c+=" "+s):c=s,e(t).attr("aria-describedby",c),(a=this.groups[t.name])&&(r=this,e.each(r.groups,function(t,i){i===a&&e("[name='"+r.escapeCssMeta(t)+"']",r.currentForm).attr("aria-describedby",o.attr("id"))})))),!i&&this.settings.success&&(o.text(""),"string"==typeof this.settings.success?o.addClass(this.settings.success):this.settings.success(o,t)),this.toShow=this.toShow.add(o)},errorsFor:function(t){var i=this.escapeCssMeta(this.idOrName(t)),n=e(t).attr("aria-describedby"),a="label[for='"+i+"'], label[for='"+i+"'] *";return n&&(a=a+", #"+this.escapeCssMeta(n).replace(/\s+/g,", #")),this.errors().filter(a)},escapeCssMeta:function(e){return e.replace(/([\\!"#$%&'()*+,.\/:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(e){return this.groups[e.name]||(this.checkable(e)?e.name:e.id||e.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),e(t).not(this.settings.ignore)[0]},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(t){return e(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,i){switch(i.nodeName.toLowerCase()){case"select":return e("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return t.length},depend:function(e,t){return!this.dependTypes[typeof e]||this.dependTypes[typeof e](e,t)},dependTypes:{boolean:function(e){return e},string:function(t,i){return!!e(t,i.form).length},function:function(e,t){return e(t)}},optional:function(t){var i=this.elementValue(t);return!e.validator.methods.required.call(this,i,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,e(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,i){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],e(t).removeClass(this.settings.pendingClass),i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(e(this.currentForm).submit(),this.submitButton&&e("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(e(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t,i){return i="string"==typeof i&&i||"remote",e.data(t,"previousValue")||e.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:i})})},destroy:function(){this.resetForm(),e(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,i){t.constructor===String?this.classRuleSettings[t]=i:e.extend(this.classRuleSettings,t)},classRules:function(t){var i={},n=e(t).attr("class");return n&&e.each(n.split(" "),function(){this in e.validator.classRuleSettings&&e.extend(i,e.validator.classRuleSettings[this])}),i},normalizeAttributeRule:function(e,t,i,n){/min|max|step/.test(i)&&(null===t||/number|range|text/.test(t))&&(n=Number(n),isNaN(n)&&(n=void 0)),n||0===n?e[i]=n:t===i&&"range"!==t&&(e[i]=!0)},attributeRules:function(t){var i,n,a={},s=e(t),r=t.getAttribute("type");for(i in e.validator.methods)"required"===i?(""===(n=t.getAttribute(i))&&(n=!0),n=!!n):n=s.attr(i),this.normalizeAttributeRule(a,r,i,n);return a.maxlength&&/-1|2147483647|524288/.test(a.maxlength)&&delete a.maxlength,a},dataRules:function(t){var i,n,a={},s=e(t),r=t.getAttribute("type");for(i in e.validator.methods)""===(n=s.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()))&&(n=!0),this.normalizeAttributeRule(a,r,i,n);return a},staticRules:function(t){var i={},n=e.data(t.form,"validator");return n.settings.rules&&(i=e.validator.normalizeRule(n.settings.rules[t.name])||{}),i},normalizeRules:function(t,i){return e.each(t,function(n,a){if(!1!==a){if(a.param||a.depends){var s=!0;switch(typeof a.depends){case"string":s=!!e(a.depends,i.form).length;break;case"function":s=a.depends.call(i,i)}s?t[n]=void 0===a.param||a.param:(e.data(i.form,"validator").resetElements(e(i)),delete t[n])}}else delete t[n]}),e.each(t,function(e,n){t[e]="function"==typeof n&&"normalizer"!==e?n(i):n}),e.each(["minlength","maxlength"],function(){t[this]&&(t[this]=Number(t[this]))}),e.each(["rangelength","range"],function(){var e;t[this]&&(Array.isArray(t[this])?t[this]=[Number(t[this][0]),Number(t[this][1])]:"string"==typeof t[this]&&(e=t[this].replace(/[\[\]]/g,"").split(/[\s,]+/),t[this]=[Number(e[0]),Number(e[1])]))}),e.validator.autoCreateRanges&&(null!=t.min&&null!=t.max&&(t.range=[t.min,t.max],delete t.min,delete t.max),null!=t.minlength&&null!=t.maxlength&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t},normalizeRule:function(t){if("string"==typeof t){var i={};e.each(t.split(/\s/),function(){i[this]=!0}),t=i}return t},addMethod:function(t,i,n){e.validator.methods[t]=i,e.validator.messages[t]=void 0!==n?n:e.validator.messages[t],i.length<3&&e.validator.addClassRules(t,e.validator.normalizeRule(t))},methods:{required:function(t,i,n){if(!this.depend(n,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var a=e(i).val();return a&&a.length>0}return this.checkable(i)?this.getLength(t,i)>0:null!=t&&t.length>0},email:function(e,t){return this.optional(t)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},url:function(e,t){return this.optional(t)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[\/?#]\S*)?$/i.test(e)},date:function(){var e=!1;return function(t,i){return e||(e=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(i)||!/Invalid|NaN/.test(new Date(t).toString())}}(),dateISO:function(e,t){return this.optional(t)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e,t){return this.optional(t)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},digits:function(e,t){return this.optional(t)||/^\d+$/.test(e)},minlength:function(e,t,i){var n=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||n>=i},maxlength:function(e,t,i){var n=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||n<=i},rangelength:function(e,t,i){var n=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||n>=i[0]&&n<=i[1]},min:function(e,t,i){return this.optional(t)||e>=i},max:function(e,t,i){return this.optional(t)||e<=i},range:function(e,t,i){return this.optional(t)||e>=i[0]&&e<=i[1]},step:function(t,i,n){var a,s=e(i).attr("type"),r="Step attribute on input type "+s+" is not supported.",o=new RegExp("\\b"+s+"\\b"),l=function(e){var t=(""+e).match(/(?:\.(\d+))?$/);return t&&t[1]?t[1].length:0},c=function(e){return Math.round(e*Math.pow(10,a))},d=!0;if(s&&!o.test(["text","number","range"].join()))throw new Error(r);return a=l(n),(l(t)>a||c(t)%c(n)!=0)&&(d=!1),this.optional(i)||d},equalTo:function(t,i,n){var a=e(n);return this.settings.onfocusout&&a.not(".validate-equalTo-blur").length&&a.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){e(i).valid()}),t===a.val()},remote:function(t,i,n,a){if(this.optional(i))return"dependency-mismatch";a="string"==typeof a&&a||"remote";var s,r,o,l=this.previousValue(i,a);return this.settings.messages[i.name]||(this.settings.messages[i.name]={}),l.originalMessage=l.originalMessage||this.settings.messages[i.name][a],this.settings.messages[i.name][a]=l.message,n="string"==typeof n&&{url:n}||n,o=e.param(e.extend({data:t},n.data)),l.old===o?l.valid:(l.old=o,s=this,this.startRequest(i),(r={})[i.name]=t,e.ajax(e.extend(!0,{mode:"abort",port:"validate"+i.name,dataType:"json",data:r,context:s.currentForm,success:function(e){var n,r,o,c=!0===e||"true"===e;s.settings.messages[i.name][a]=l.originalMessage,c?(o=s.formSubmitted,s.resetInternals(),s.toHide=s.errorsFor(i),s.formSubmitted=o,s.successList.push(i),s.invalid[i.name]=!1,s.showErrors()):(n={},r=e||s.defaultMessage(i,{method:a,parameters:t}),n[i.name]=l.message=r,s.invalid[i.name]=!0,s.showErrors(n)),l.valid=c,s.stopRequest(i,c)}},n)),"pending")}}});var i,n={};return e.ajaxPrefilter?e.ajaxPrefilter(function(e,t,i){var a=e.port;"abort"===e.mode&&(n[a]&&n[a].abort(),n[a]=i)}):(i=e.ajax,e.ajax=function(t){var a=("mode"in t?t:e.ajaxSettings).mode,s=("port"in t?t:e.ajaxSettings).port;return"abort"===a?(n[s]&&n[s].abort(),n[s]=i.apply(this,arguments),n[s]):i.apply(this,arguments)}),e}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,i){return void 0===i&&(i="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(i),i}:e(jQuery)}(function(e){"use strict";var t=/\r?\n/g,i={};i.fileapi=void 0!==e('<input type="file">').get(0).files,i.formdata=void 0!==window.FormData;var n=!!e.fn.prop;function a(t){var i=t.data;t.isDefaultPrevented()||(t.preventDefault(),e(t.target).closest("form").ajaxSubmit(i))}function s(t){var i=t.target,n=e(i);if(!n.is("[type=submit],[type=image]")){var a=n.closest("[type=submit]");if(0===a.length)return;i=a[0]}var s,r=i.form;"image"===(r.clk=i).type&&(void 0!==t.offsetX?(r.clk_x=t.offsetX,r.clk_y=t.offsetY):"function"==typeof e.fn.offset?(s=n.offset(),r.clk_x=t.pageX-s.left,r.clk_y=t.pageY-s.top):(r.clk_x=t.pageX-i.offsetLeft,r.clk_y=t.pageY-i.offsetTop)),setTimeout(function(){r.clk=r.clk_x=r.clk_y=null},100)}function r(){var t;e.fn.ajaxSubmit.debug&&(t="[jquery.form] "+Array.prototype.join.call(arguments,""),window.console&&window.console.log?window.console.log(t):window.opera&&window.opera.postError&&window.opera.postError(t))}e.fn.attr2=function(){if(!n)return this.attr.apply(this,arguments);var e=this.prop.apply(this,arguments);return e&&e.jquery||"string"==typeof e?e:this.attr.apply(this,arguments)},e.fn.ajaxSubmit=function(t,a,s,o){if(!this.length)return r("ajaxSubmit: skipping submit process - no element selected"),this;var l,c,d,u,h=this;"function"==typeof t?t={success:t}:"string"==typeof t||!1===t&&0<arguments.length?(t={url:t,data:a,dataType:s},"function"==typeof o&&(t.success=o)):void 0===t&&(t={}),l=t.method||t.type||this.attr2("method"),d=(d=(d="string"==typeof(c=t.url||this.attr2("action"))?e.trim(c):"")||window.location.href||"")&&(d.match(/^([^#]+)/)||[])[1],u=/(MSIE|Trident)/.test(navigator.userAgent||"")&&/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",t=e.extend(!0,{url:d,success:e.ajaxSettings.success,type:l||e.ajaxSettings.type,iframeSrc:u},t);var p={};if(this.trigger("form-pre-serialize",[this,t,p]),p.veto)return r("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(t.beforeSerialize&&!1===t.beforeSerialize(this,t))return r("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var f=t.traditional;void 0===f&&(f=e.ajaxSettings.traditional);var m,g,v=[],y=this.formToArray(t.semantic,v,t.filtering);if(t.data&&(g=e.isFunction(t.data)?t.data(y):t.data,t.extraData=g,m=e.param(g,f)),t.beforeSubmit&&!1===t.beforeSubmit(y,this,t))return r("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[y,this,t,p]),p.veto)return r("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var b=e.param(y,f);m&&(b=b?b+"&"+m:m),"GET"===t.type.toUpperCase()?(t.url+=(0<=t.url.indexOf("?")?"&":"?")+b,t.data=null):t.data=b;var w,_,T,x=[];t.resetForm&&x.push(function(){h.resetForm()}),t.clearForm&&x.push(function(){h.clearForm(t.includeHidden)}),!t.dataType&&t.target?(w=t.success||function(){},x.push(function(i,n,a){var s=arguments,r=t.replaceTarget?"replaceWith":"html";e(t.target)[r](i).each(function(){w.apply(this,s)})})):t.success&&(e.isArray(t.success)?e.merge(x,t.success):x.push(t.success)),t.success=function(e,i,n){for(var a=t.context||this,s=0,r=x.length;s<r;s++)x[s].apply(a,[e,i,n||h,h])},t.error&&(_=t.error,t.error=function(e,i,n){var a=t.context||this;_.apply(a,[e,i,n,h])}),t.complete&&(T=t.complete,t.complete=function(e,i){var n=t.context||this;T.apply(n,[e,i,h])});var C=0<e("input[type=file]:enabled",this).filter(function(){return""!==e(this).val()}).length,S="multipart/form-data",E=h.attr("enctype")===S||h.attr("encoding")===S,P=i.fileapi&&i.formdata;r("fileAPI :"+P);var k,M=(C||E)&&!P;!1!==t.iframe&&(t.iframe||M)?t.closeKeepAlive?e.get(t.closeKeepAlive,function(){k=O(y)}):k=O(y):k=(C||E)&&P?function(i){for(var n=new FormData,a=0;a<i.length;a++)n.append(i[a].name,i[a].value);if(t.extraData){var s=function(i){var n,a,s=e.param(i,t.traditional).split("&"),r=s.length,o=[];for(n=0;n<r;n++)s[n]=s[n].replace(/\+/g," "),a=s[n].split("="),o.push([decodeURIComponent(a[0]),decodeURIComponent(a[1])]);return o}(t.extraData);for(a=0;a<s.length;a++)s[a]&&n.append(s[a][0],s[a][1])}t.data=null;var r=e.extend(!0,{},e.ajaxSettings,t,{contentType:!1,processData:!1,cache:!1,type:l||"POST"});t.uploadProgress&&(r.xhr=function(){var i=e.ajaxSettings.xhr();return i.upload&&i.upload.addEventListener("progress",function(e){var i=0,n=e.loaded||e.position,a=e.total;e.lengthComputable&&(i=Math.ceil(n/a*100)),t.uploadProgress(e,n,a,i)},!1),i}),r.data=null;var o=r.beforeSend;return r.beforeSend=function(e,i){t.formData?i.data=t.formData:i.data=n,o&&o.call(this,e,i)},e.ajax(r)}(y):e.ajax(t),h.removeData("jqxhr").data("jqxhr",k);for(var I=0;I<v.length;I++)v[I]=null;return this.trigger("form-submit-notify",[this,t]),this;function O(i){var a,s,o,c,d,u,p,f,m,g,y,b,w=h[0],_=e.Deferred();if(_.abort=function(e){f.abort(e)},i)for(s=0;s<v.length;s++)a=e(v[s]),n?a.prop("disabled",!1):a.removeAttr("disabled");(o=e.extend(!0,{},e.ajaxSettings,t)).context=o.context||o,d="jqFormIO"+(new Date).getTime();var T=w.ownerDocument,x=h.closest("body");if(o.iframeTarget?(g=(u=e(o.iframeTarget,T)).attr2("name"))?d=g:u.attr2("name",d):(u=e('<iframe name="'+d+'" src="'+o.iframeSrc+'" />',T)).css({position:"absolute",top:"-1000px",left:"-1000px"}),p=u[0],f={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(t){var i="timeout"===t?"timeout":"aborted";r("aborting upload... "+i),this.aborted=1;try{p.contentWindow.document.execCommand&&p.contentWindow.document.execCommand("Stop")}catch(t){}u.attr("src",o.iframeSrc),f.error=i,o.error&&o.error.call(o.context,f,i,t),c&&e.event.trigger("ajaxError",[f,o,i]),o.complete&&o.complete.call(o.context,f,i)}},(c=o.global)&&0==e.active++&&e.event.trigger("ajaxStart"),c&&e.event.trigger("ajaxSend",[f,o]),o.beforeSend&&!1===o.beforeSend.call(o.context,f,o))return o.global&&e.active--,_.reject(),_;if(f.aborted)return _.reject(),_;(m=w.clk)&&(g=m.name)&&!m.disabled&&(o.extraData=o.extraData||{},o.extraData[g]=m.value,"image"===m.type&&(o.extraData[g+".x"]=w.clk_x,o.extraData[g+".y"]=w.clk_y));var C=1,S=2;function E(e){var t=null;try{e.contentWindow&&(t=e.contentWindow.document)}catch(e){r("cannot get iframe.contentWindow document: "+e)}if(t)return t;try{t=e.contentDocument?e.contentDocument:e.document}catch(i){r("cannot get iframe.contentDocument: "+i),t=e.document}return t}var P=e("meta[name=csrf-token]").attr("content"),k=e("meta[name=csrf-param]").attr("content");function M(){var t=h.attr2("target"),i=h.attr2("action"),n=h.attr("enctype")||h.attr("encoding")||"multipart/form-data";w.setAttribute("target",d),l&&!/post/i.test(l)||w.setAttribute("method","POST"),i!==o.url&&w.setAttribute("action",o.url),o.skipEncodingOverride||l&&!/post/i.test(l)||h.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),o.timeout&&(b=setTimeout(function(){y=!0,A(C)},o.timeout));var a=[];try{if(o.extraData)for(var s in o.extraData)o.extraData.hasOwnProperty(s)&&(e.isPlainObject(o.extraData[s])&&o.extraData[s].hasOwnProperty("name")&&o.extraData[s].hasOwnProperty("value")?a.push(e('<input type="hidden" name="'+o.extraData[s].name+'">',T).val(o.extraData[s].value).appendTo(w)[0]):a.push(e('<input type="hidden" name="'+s+'">',T).val(o.extraData[s]).appendTo(w)[0]));o.iframeTarget||u.appendTo(x),p.attachEvent?p.attachEvent("onload",A):p.addEventListener("load",A,!1),setTimeout(function e(){try{var t=E(p).readyState;r("state = "+t),t&&"uninitialized"===t.toLowerCase()&&setTimeout(e,50)}catch(e){r("Server abort: ",e," (",e.name,")"),A(S),b&&clearTimeout(b),b=void 0}},15);try{w.submit()}catch(t){document.createElement("form").submit.apply(w)}}finally{w.setAttribute("action",i),w.setAttribute("enctype",n),t?w.setAttribute("target",t):h.removeAttr("target"),e(a).remove()}}k&&P&&(o.extraData=o.extraData||{},o.extraData[k]=P),o.forceSync?M():setTimeout(M,10);var I,O,L,j=50;function A(t){if(!f.aborted&&!L){if((O=E(p))||(r("cannot access response document"),t=S),t===C&&f)return f.abort("timeout"),void _.reject(f,"timeout");if(t===S&&f)return f.abort("server abort"),void _.reject(f,"error","server abort");if(O&&O.location.href!==o.iframeSrc||y){p.detachEvent?p.detachEvent("onload",A):p.removeEventListener("load",A,!1);var i,n="success";try{if(y)throw"timeout";var a="xml"===o.dataType||O.XMLDocument||e.isXMLDoc(O);if(r("isXml="+a),!a&&window.opera&&(null===O.body||!O.body.innerHTML)&&--j)return r("requeing onLoad callback, DOM not available"),void setTimeout(A,250);var s=O.body?O.body:O.documentElement;f.responseText=s?s.innerHTML:null,f.responseXML=O.XMLDocument?O.XMLDocument:O,a&&(o.dataType="xml"),f.getResponseHeader=function(e){return{"content-type":o.dataType}[e.toLowerCase()]},s&&(f.status=Number(s.getAttribute("status"))||f.status,f.statusText=s.getAttribute("statusText")||f.statusText);var l,d,h,m=(o.dataType||"").toLowerCase(),g=/(json|script|text)/.test(m);g||o.textarea?(l=O.getElementsByTagName("textarea")[0])?(f.responseText=l.value,f.status=Number(l.getAttribute("status"))||f.status,f.statusText=l.getAttribute("statusText")||f.statusText):g&&(d=O.getElementsByTagName("pre")[0],h=O.getElementsByTagName("body")[0],d?f.responseText=d.textContent?d.textContent:d.innerText:h&&(f.responseText=h.textContent?h.textContent:h.innerText)):"xml"===m&&!f.responseXML&&f.responseText&&(f.responseXML=z(f.responseText));try{I=D(f,m,o)}catch(t){n="parsererror",f.error=i=t||n}}catch(t){r("error caught: ",t),n="error",f.error=i=t||n}f.aborted&&(r("upload aborted"),n=null),f.status&&(n=200<=f.status&&f.status<300||304===f.status?"success":"error"),"success"===n?(o.success&&o.success.call(o.context,I,"success",f),_.resolve(f.responseText,"success",f),c&&e.event.trigger("ajaxSuccess",[f,o])):n&&(void 0===i&&(i=f.statusText),o.error&&o.error.call(o.context,f,n,i),_.reject(f,"error",i),c&&e.event.trigger("ajaxError",[f,o,i])),c&&e.event.trigger("ajaxComplete",[f,o]),c&&!--e.active&&e.event.trigger("ajaxStop"),o.complete&&o.complete.call(o.context,f,n),L=!0,o.timeout&&clearTimeout(b),setTimeout(function(){o.iframeTarget?u.attr("src",o.iframeSrc):u.remove(),f.responseXML=null},100)}}}var z=e.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!==t.documentElement.nodeName?t:null},Y=e.parseJSON||function(e){return window.eval("("+e+")")},D=function(t,i,n){var a=t.getResponseHeader("content-type")||"",s=("xml"===i||!i)&&0<=a.indexOf("xml"),r=s?t.responseXML:t.responseText;return s&&"parsererror"===r.documentElement.nodeName&&e.error&&e.error("parsererror"),n&&n.dataFilter&&(r=n.dataFilter(r,i)),"string"==typeof r&&(("json"===i||!i)&&0<=a.indexOf("json")?r=Y(r):("script"===i||!i)&&0<=a.indexOf("javascript")&&e.globalEval(r)),r};return _}},e.fn.ajaxForm=function(t,i,n,o){if(("string"==typeof t||!1===t&&0<arguments.length)&&(t={url:t,data:i,dataType:n},"function"==typeof o&&(t.success=o)),(t=t||{}).delegation=t.delegation&&e.isFunction(e.fn.on),t.delegation||0!==this.length)return t.delegation?(e(document).off("submit.form-plugin",this.selector,a).off("click.form-plugin",this.selector,s).on("submit.form-plugin",this.selector,t,a).on("click.form-plugin",this.selector,t,s),this):(t.beforeFormUnbind&&t.beforeFormUnbind(this,t),this.ajaxFormUnbind().on("submit.form-plugin",t,a).on("click.form-plugin",t,s));var l={s:this.selector,c:this.context};return!e.isReady&&l.s?(r("DOM not ready, queuing ajaxForm"),e(function(){e(l.s,l.c).ajaxForm(t)})):r("terminating; zero elements found by selector"+(e.isReady?"":" (DOM not ready)")),this},e.fn.ajaxFormUnbind=function(){return this.off("submit.form-plugin click.form-plugin")},e.fn.formToArray=function(t,n,a){var s=[];if(0===this.length)return s;var r,o,l,c,d,u,h,p,f,m,g=this[0],v=this.attr("id"),y=(y=t||void 0===g.elements?g.getElementsByTagName("*"):g.elements)&&e.makeArray(y);if(v&&(t||/(Edge|Trident)\//.test(navigator.userAgent))&&(r=e(':input[form="'+v+'"]').get()).length&&(y=(y||[]).concat(r)),!y||!y.length)return s;for(e.isFunction(a)&&(y=e.map(y,a)),o=0,u=y.length;o<u;o++)if((m=(d=y[o]).name)&&!d.disabled)if(t&&g.clk&&"image"===d.type)g.clk===d&&(s.push({name:m,value:e(d).val(),type:d.type}),s.push({name:m+".x",value:g.clk_x},{name:m+".y",value:g.clk_y}));else if((c=e.fieldValue(d,!0))&&c.constructor===Array)for(n&&n.push(d),l=0,h=c.length;l<h;l++)s.push({name:m,value:c[l]});else if(i.fileapi&&"file"===d.type){n&&n.push(d);var b=d.files;if(b.length)for(l=0;l<b.length;l++)s.push({name:m,value:b[l],type:d.type});else s.push({name:m,value:"",type:d.type})}else null!=c&&(n&&n.push(d),s.push({name:m,value:c,type:d.type,required:d.required}));return t||!g.clk||(m=(f=(p=e(g.clk))[0]).name)&&!f.disabled&&"image"===f.type&&(s.push({name:m,value:p.val()}),s.push({name:m+".x",value:g.clk_x},{name:m+".y",value:g.clk_y})),s},e.fn.formSerialize=function(t){return e.param(this.formToArray(t))},e.fn.fieldSerialize=function(t){var i=[];return this.each(function(){var n=this.name;if(n){var a=e.fieldValue(this,t);if(a&&a.constructor===Array)for(var s=0,r=a.length;s<r;s++)i.push({name:n,value:a[s]});else null!=a&&i.push({name:this.name,value:a})}}),e.param(i)},e.fn.fieldValue=function(t){for(var i=[],n=0,a=this.length;n<a;n++){var s=this[n],r=e.fieldValue(s,t);null==r||r.constructor===Array&&!r.length||(r.constructor===Array?e.merge(i,r):i.push(r))}return i},e.fieldValue=function(i,n){var a=i.name,s=i.type,r=i.tagName.toLowerCase();if(void 0===n&&(n=!0),n&&(!a||i.disabled||"reset"===s||"button"===s||("checkbox"===s||"radio"===s)&&!i.checked||("submit"===s||"image"===s)&&i.form&&i.form.clk!==i||"select"===r&&-1===i.selectedIndex))return null;if("select"!==r)return e(i).val().replace(t,"\r\n");var o=i.selectedIndex;if(o<0)return null;for(var l=[],c=i.options,d="select-one"===s,u=d?o+1:c.length,h=d?o:0;h<u;h++){var p=c[h];if(p.selected&&!p.disabled){var f=(f=p.value)||(p.attributes&&p.attributes.value&&!p.attributes.value.specified?p.text:p.value);if(d)return f;l.push(f)}}return l},e.fn.clearForm=function(t){return this.each(function(){e("input,select,textarea",this).clearFields(t)})},e.fn.clearFields=e.fn.clearInputs=function(t){var i=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var n=this.type,a=this.tagName.toLowerCase();i.test(n)||"textarea"===a?this.value="":"checkbox"===n||"radio"===n?this.checked=!1:"select"===a?this.selectedIndex=-1:"file"===n?/MSIE/.test(navigator.userAgent)?e(this).replaceWith(e(this).clone(!0)):e(this).val(""):t&&(!0===t&&/hidden/.test(n)||"string"==typeof t&&e(this).is(t))&&(this.value="")})},e.fn.resetForm=function(){return this.each(function(){var t=e(this),i=this.tagName.toLowerCase();switch(i){case"input":this.checked=this.defaultChecked;case"textarea":return this.value=this.defaultValue,!0;case"option":case"optgroup":var n=t.parents("select");return n.length&&n[0].multiple?"option"===i?this.selected=this.defaultSelected:t.find("option").resetForm():n.resetForm(),!0;case"select":return t.find("option").each(function(e){if(this.selected=this.defaultSelected,this.defaultSelected&&!t[0].multiple)return t[0].selectedIndex=e,!1}),!0;case"label":var a=e(t.attr("for")),s=t.find("input,select,textarea");return a[0]&&s.unshift(a[0]),s.resetForm(),!0;case"form":return"function"!=typeof this.reset&&("object"!=typeof this.reset||this.reset.nodeType)||this.reset(),!0;default:return t.find("form,input,label,select,textarea").resetForm(),!0}})},e.fn.enable=function(e){return void 0===e&&(e=!0),this.each(function(){this.disabled=!e})},e.fn.selected=function(t){return void 0===t&&(t=!0),this.each(function(){var i,n=this.type;"checkbox"===n||"radio"===n?this.checked=t:"option"===this.tagName.toLowerCase()&&(i=e(this).parent("select"),t&&i[0]&&"select-one"===i[0].type&&i.find("option").selected(!1),this.selected=t)})},e.fn.ajaxSubmit.debug=!1}),window.scwAjaxFormPlugin=window.scwAjaxFormPlugin||{},window.SEMICOLON_ajaxFormInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e,t,i=$(this),n=$("body"),a=i.find("form").attr("id"),s=i.attr("data-alert-type"),r=i.attr("data-loader"),o=i.find(".form-result"),l=i.attr("data-redirect");s||(s="notify"),a&&n.addClass(a+"-ready"),i.find("form").validate({errorPlacement:function(e,t){t.parents(".form-group").length>0?e.appendTo(t.parents(".form-group")):e.insertAfter(t)},focusCleanup:!0,submitHandler:function(c){if(i.hasClass("custom-submit"))return $(c).submit(),!0;o.hide(),"button"==r?(e=$(c).find("button"),defButtonText=e.html(),e.html('<i class="icon-line-loader icon-spin m-0"></i>')):$(c).find(".form-process").fadeIn(),a&&n.removeClass(a+"-ready "+a+"-complete "+a+"-success "+a+"-error").addClass(a+"-processing"),$(c).ajaxSubmit({target:o,dataType:"json",success:function(i){if("button"==r?e.html(defButtonText):$(c).find(".form-process").fadeOut(),"error"!=i.alert&&l)return window.location.replace(l),!0;if("inline"==s?(t="error"==i.alert?"alert-danger":"alert-success",o.removeClass("alert-danger alert-success").addClass("alert "+t).html(i.message).slideDown(400)):"notify"==s&&(o.attr("data-notify-type",i.alert).attr("data-notify-msg",i.message).html(""),SEMICOLON.widget.notifications({el:o})),"error"!=i.alert){$(c).resetForm(),$(c).find(".btn-group > .btn").removeClass("active"),"undefined"!=typeof tinyMCE&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()&&tinymce.activeEditor.setContent("");let e=$(c).find(".input-range-slider");e.length>0&&e.each(function(){$(this).data("ionRangeSlider").reset()});let t=$(c).find(".input-rating");t.length>0&&t.each(function(){$(this).rating("reset")});let s=$(c).find(".selectpicker");s.length>0&&s.each(function(){$(this).selectpicker("val",""),$(this).selectpicker("deselectAll")}),$(c).find(".input-select2,select[data-selectsplitter-firstselect-selector]").change(),$(c).trigger("formSubmitSuccess",i),n.removeClass(a+"-error").addClass(a+"-success")}else $(c).trigger("formSubmitError",i),n.removeClass(a+"-success").addClass(a+"-error");a&&n.removeClass(a+"-processing").addClass(a+"-complete"),$(c).find(".g-recaptcha").children("div").length>0&&grecaptcha.reset()}})}})})},window.scwAjaxPortfolioPlugin=window.scwAjaxPortfolioPlugin||{};let $portfolioAjaxItems=$(".portfolio-ajax").find(".portfolio-item"),$portfolioDetails=$("#portfolio-ajax-wrap"),$portfolioDetailsContainer=$("#portfolio-ajax-container"),$portfolioAjaxLoader=$("#portfolio-ajax-loader"),prevPostPortId="";window.SEMICOLON_portfolioAjaxloadInit=function(){if($(".portfolio-ajax").length<1)return!0;$(".portfolio-ajax .portfolio-item a.portfolio-ajax-trigger").off("click").on("click",function(e){let t=$(this).parents(".portfolio-item").attr("id");$(this).parents(".portfolio-item").hasClass("portfolio-active")||SEMICOLON_portfolioLoadItem(t,prevPostPortId),e.preventDefault()})},window.SEMICOLON_portfolionewNextPrev=function(e){let t=SEMICOLON_portfolioGetNextItem(e),i=SEMICOLON_portfolioGetPrevItem(e);$("#next-portfolio").attr("data-id",t),$("#prev-portfolio").attr("data-id",i)},window.SEMICOLON_portfolioLoadItem=function(e,t,i){i||(i=!1);let n=SEMICOLON_portfolioGetNextItem(e),a=SEMICOLON_portfolioGetPrevItem(e);if(0==i){SEMICOLON_portfolioCloseItem(),$portfolioAjaxLoader.fadeIn();let t=$("#"+e).attr("data-loader");$portfolioDetailsContainer.load(t,{portid:e,portnext:n,portprev:a},function(){SEMICOLON_portfolioInitializeAjax(e),SEMICOLON_portfolioOpenItem(),$portfolioAjaxItems.removeClass("portfolio-active"),$("#"+e).addClass("portfolio-active")})}},window.SEMICOLON_portfolioCloseItem=function(){$portfolioDetails&&$portfolioDetails.height()>32&&($portfolioAjaxLoader.fadeIn(),$portfolioDetails.find("#portfolio-ajax-single").fadeOut("600",function(){$(this).remove()}),$portfolioDetails.removeClass("portfolio-ajax-opened"))},window.SEMICOLON_portfolioOpenItem=function(){let e=$portfolioDetails.find("img").length,t=0;if(e>0)$portfolioDetails.find("img").on("load",function(){t++;let i=SEMICOLON.initialize.topScrollOffset();e===t&&($portfolioDetailsContainer.css({display:"block"}),$portfolioDetails.addClass("portfolio-ajax-opened"),$portfolioAjaxLoader.fadeOut(),setTimeout(function(){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.lightbox({parent:$portfolioDetails}),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs(),$("html,body").stop(!0).animate({scrollTop:$portfolioDetails.offset().top-i},900,"easeOutQuad")},500))});else{let e=SEMICOLON.initialize.topScrollOffset();$portfolioDetailsContainer.css({display:"block"}),$portfolioDetails.addClass("portfolio-ajax-opened"),$portfolioAjaxLoader.fadeOut(),setTimeout(function(){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.lightbox({parent:$portfolioDetails}),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs(),$("html,body").stop(!0).animate({scrollTop:$portfolioDetails.offset().top-e},900,"easeOutQuad")},500)}},window.SEMICOLON_portfolioGetNextItem=function(e){let t="",i=$("#"+e).next();return 0!=i.length&&(t=i.attr("id")),t},window.SEMICOLON_portfolioGetPrevItem=function(e){let t="",i=$("#"+e).prev();return 0!=i.length&&(t=i.attr("id")),t},window.SEMICOLON_portfolioInitializeAjax=function(e){prevPostPortId=$("#"+e),$("#next-portfolio, #prev-portfolio").off("click").on("click",function(){let e=$(this).attr("data-id");return $portfolioAjaxItems.removeClass("portfolio-active"),$("#"+e).addClass("portfolio-active"),SEMICOLON_portfolioLoadItem(e,prevPostPortId),!1}),$("#close-portfolio").off("click").on("click",function(){return $portfolioDetailsContainer.fadeOut("600",function(){$portfolioDetails.find("#portfolio-ajax-single").remove()}),$portfolioDetails.removeClass("portfolio-ajax-opened"),$portfolioAjaxItems.removeClass("portfolio-active"),!1})},window.scwAnimationsPlugin=window.scwAnimationsPlugin||{},window.SEMICOLON_animationsInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;let t=new IntersectionObserver(function(e,t){e.forEach(function(e){let i=$(e.target),n=i.attr("data-animate"),a=i.attr("data-animate-out"),s=i.attr("data-delay"),r=i.attr("data-delay-out"),o=0,l=3e3;return i.parents(".fslider.no-thumbs-animate").length>0||(i.parents(".swiper-slide").length>0||(o=s?Number(s)+500:500,a&&r&&(l=Number(r)+o),i.hasClass("animated")||(i.addClass("not-animated"),e.intersectionRatio>0&&(setTimeout(function(){i.removeClass("not-animated").addClass(n+" animated")},o),a&&setTimeout(function(){i.removeClass(n).addClass(a)},l))),void(i.hasClass("not-animated")||t.unobserve(e.target))))})});[].filter.call(document.querySelectorAll("[data-animate]"),function(e){return!function(e){e.classList.contains("animated")}(e)}).forEach(function(e){return t.observe(e)})},function(e,t,i,n){function a(t,i){this.settings=null,this.options=e.extend({},a.Defaults,i),this.$element=e(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},e.each(["onResize","onThrottledResize"],e.proxy(function(t,i){this._handlers[i]=e.proxy(this[i],this)},this)),e.each(a.Plugins,e.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),e.each(a.Workers,e.proxy(function(t,i){this._pipe.push({filter:i.filter,run:e.proxy(i.run,this)})},this)),this.setup(),this.initialize()}a.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:t,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},a.Width={Default:"default",Inner:"inner",Outer:"outer"},a.Type={Event:"event",State:"state"},a.Plugins={},a.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(e){var t=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,a={width:"auto","margin-left":n?t:"","margin-right":n?"":t};!i&&this.$stage.children().css(a),e.css=a}},{filter:["width","items","settings"],run:function(e){var t=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,a=!this.settings.autoWidth,s=[];for(e.items={merge:!1,width:t};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,e.items.merge=i>1||e.items.merge,s[n]=a?t*i:this._items[n].width();this._widths=s}},{filter:["items","settings"],run:function(){var t=[],i=this._items,n=this.settings,a=Math.max(2*n.items,4),s=2*Math.ceil(i.length/2),r=n.loop&&i.length?n.rewind?a:Math.max(a,s):0,o="",l="";for(r/=2;r>0;)t.push(this.normalize(t.length/2,!0)),o+=i[t[t.length-1]][0].outerHTML,t.push(this.normalize(i.length-1-(t.length-1)/2,!0)),l=i[t[t.length-1]][0].outerHTML+l,r-=1;this._clones=t,e(o).addClass("cloned").appendTo(this.$stage),e(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var e=this.settings.rtl?1:-1,t=this._clones.length+this._items.length,i=-1,n=0,a=0,s=[];++i<t;)n=s[i-1]||0,a=this._widths[this.relative(i)]+this.settings.margin,s.push(n+a*e);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var e=this.settings.stagePadding,t=this._coordinates,i={width:Math.ceil(Math.abs(t[t.length-1]))+2*e,"padding-left":e||"","padding-right":e||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(e){var t=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&e.items.merge)for(;t--;)e.css.width=this._widths[this.relative(t)],n.eq(t).css(e.css);else i&&(e.css.width=e.items.width,n.css(e.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(e){e.current=e.current?this.$stage.children().index(e.current):0,e.current=Math.max(this.minimum(),Math.min(this.maximum(),e.current)),this.reset(e.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var e,t,i,n,a=this.settings.rtl?1:-1,s=2*this.settings.stagePadding,r=this.coordinates(this.current())+s,o=r+this.width()*a,l=[];for(i=0,n=this._coordinates.length;i<n;i++)e=this._coordinates[i-1]||0,t=Math.abs(this._coordinates[i])+s*a,(this.op(e,"<=",r)&&this.op(e,">",o)||this.op(t,"<",r)&&this.op(t,">",o))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],a.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=e("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(e("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},a.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");if(t.length)return this._items=t.get().map(function(t){return e(t)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},a.prototype.initialize=function(){var e,t,i;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(e=this.$element.find("img"),t=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:n,i=this.$element.children(t).width(),e.length&&i<=0&&this.preloadAutoWidthImages(e));this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},a.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},a.prototype.setup=function(){var t=this.viewport(),i=this.options.responsive,n=-1,a=null;i?(e.each(i,function(e){e<=t&&e>n&&(n=Number(e))}),"function"==typeof(a=e.extend({},this.options,i[n])).stagePadding&&(a.stagePadding=a.stagePadding()),delete a.responsive,a.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):a=e.extend({},this.options),this.trigger("change",{property:{name:"settings",value:a}}),this._breakpoint=n,this.settings=a,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},a.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},a.prototype.prepare=function(t){var i=this.trigger("prepare",{content:t});return i.data||(i.data=e("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:i.data}),i.data},a.prototype.update=function(){for(var t=0,i=this._pipe.length,n=e.proxy(function(e){return this[e]},this._invalidated),a={};t<i;)(this._invalidated.all||e.grep(this._pipe[t].filter,n).length>0)&&this._pipe[t].run(a),t++;this._invalidated={},!this.is("valid")&&this.enter("valid")},a.prototype.width=function(e){switch(e=e||a.Width.Default){case a.Width.Inner:case a.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},a.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},a.prototype.onThrottledResize=function(){t.clearTimeout(this.resizeTimer),this.resizeTimer=t.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},a.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},a.prototype.registerEventHandlers=function(){e.support.transition&&this.$stage.on(e.support.transition.end+".owl.core",e.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(t,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",e.proxy(this.onDragEnd,this)))},a.prototype.onDragStart=function(t){var n=null;3!==t.which&&(e.support.transform?n={x:(n=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===n.length?12:4],y:n[16===n.length?13:5]}:(n=this.$stage.position(),n={x:this.settings.rtl?n.left+this.$stage.width()-this.width()+this.settings.margin:n.left,y:n.top}),this.is("animating")&&(e.support.transform?this.animate(n.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=e(t.target),this._drag.stage.start=n,this._drag.stage.current=n,this._drag.pointer=this.pointer(t),e(i).on("mouseup.owl.core touchend.owl.core",e.proxy(this.onDragEnd,this)),e(i).one("mousemove.owl.core touchmove.owl.core",e.proxy(function(t){var n=this.difference(this._drag.pointer,this.pointer(t));e(i).on("mousemove.owl.core touchmove.owl.core",e.proxy(this.onDragMove,this)),Math.abs(n.x)<Math.abs(n.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},a.prototype.onDragMove=function(e){var t=null,i=null,n=null,a=this.difference(this._drag.pointer,this.pointer(e)),s=this.difference(this._drag.stage.start,a);this.is("dragging")&&(e.preventDefault(),this.settings.loop?(t=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-t,s.x=((s.x-t)%i+i)%i+t):(t=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),n=this.settings.pullDrag?-1*a.x/5:0,s.x=Math.max(Math.min(s.x,t+n),i+n)),this._drag.stage.current=s,this.animate(s.x))},a.prototype.onDragEnd=function(t){var n=this.difference(this._drag.pointer,this.pointer(t)),a=this._drag.stage.current,s=n.x>0^this.settings.rtl?"left":"right";e(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==n.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(a.x,0!==n.x?s:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=s,(Math.abs(n.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},a.prototype.closest=function(t,i){var a=-1,s=this.width(),r=this.coordinates();return this.settings.freeDrag||e.each(r,e.proxy(function(e,o){return"left"===i&&t>o-30&&t<o+30?a=e:"right"===i&&t>o-s-30&&t<o-s+30?a=e+1:this.op(t,"<",o)&&this.op(t,">",r[e+1]!==n?r[e+1]:o-s)&&(a="left"===i?e+1:e),-1===a},this)),this.settings.loop||(this.op(t,">",r[this.minimum()])?a=t=this.minimum():this.op(t,"<",r[this.maximum()])&&(a=t=this.maximum())),a},a.prototype.animate=function(t){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),e.support.transform3d&&e.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):i?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,e.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},a.prototype.is=function(e){return this._states.current[e]&&this._states.current[e]>0},a.prototype.current=function(e){if(e===n)return this._current;if(0===this._items.length)return n;if(e=this.normalize(e),this._current!==e){var t=this.trigger("change",{property:{name:"position",value:e}});t.data!==n&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},a.prototype.invalidate=function(t){return"string"===e.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),e.map(this._invalidated,function(e,t){return t})},a.prototype.reset=function(e){(e=this.normalize(e))!==n&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},a.prototype.normalize=function(e,t){var i=this._items.length,a=t?0:this._clones.length;return!this.isNumeric(e)||i<1?e=n:(e<0||e>=i+a)&&(e=((e-a/2)%i+i)%i+a/2),e},a.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},a.prototype.maximum=function(e){var t,i,n,a=this.settings,s=this._coordinates.length;if(a.loop)s=this._clones.length/2+this._items.length-1;else if(a.autoWidth||a.merge){if(t=this._items.length)for(i=this._items[--t].width(),n=this.$element.width();t--&&!((i+=this._items[t].width()+this.settings.margin)>n););s=t+1}else s=a.center?this._items.length-1:this._items.length-a.items;return e&&(s-=this._clones.length/2),Math.max(s,0)},a.prototype.minimum=function(e){return e?0:this._clones.length/2},a.prototype.items=function(e){return e===n?this._items.slice():(e=this.normalize(e,!0),this._items[e])},a.prototype.mergers=function(e){return e===n?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},a.prototype.clones=function(t){var i=this._clones.length/2,a=i+this._items.length,s=function(e){return e%2==0?a+e/2:i-(e+1)/2};return t===n?e.map(this._clones,function(e,t){return s(t)}):e.map(this._clones,function(e,i){return e===t?s(i):null})},a.prototype.speed=function(e){return e!==n&&(this._speed=e),this._speed},a.prototype.coordinates=function(t){var i,a=1,s=t-1;return t===n?e.map(this._coordinates,e.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(a=-1,s=t+1),i=this._coordinates[t],i+=(this.width()-i+(this._coordinates[s]||0))/2*a):i=this._coordinates[s]||0,i=Math.ceil(i))},a.prototype.duration=function(e,t,i){return 0===i?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(i||this.settings.smartSpeed)},a.prototype.to=function(e,t){var i=this.current(),n=null,a=e-this.relative(i),s=(a>0)-(a<0),r=this._items.length,o=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(a)>r/2&&(a+=-1*s*r),(n=(((e=i+a)-o)%r+r)%r+o)!==e&&n-a<=l&&n-a>0&&(i=n-a,e=n,this.reset(i))):this.settings.rewind?e=(e%(l+=1)+l)%l:e=Math.max(o,Math.min(l,e)),this.speed(this.duration(i,e,t)),this.current(e),this.isVisible()&&this.update()},a.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},a.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},a.prototype.onTransitionEnd=function(e){if(e!==n&&(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},a.prototype.viewport=function(){var n;return this.options.responsiveBaseElement!==t?n=e(this.options.responsiveBaseElement).width():t.innerWidth?n=t.innerWidth:i.documentElement&&i.documentElement.clientWidth?n=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),n},a.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:e(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(e.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},a.prototype.add=function(t,i){var a=this.relative(this._current);i=i===n?this._items.length:this.normalize(i,!0),t=t instanceof jQuery?t:e(t),this.trigger("add",{content:t,position:i}),t=this.prepare(t),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[i-1].after(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(t),this._items.splice(i,0,t),this._mergers.splice(i,0,1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[a]&&this.reset(this._items[a].index()),this.invalidate("items"),this.trigger("added",{content:t,position:i})},a.prototype.remove=function(e){(e=this.normalize(e,!0))!==n&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},a.prototype.preloadAutoWidthImages=function(t){t.each(e.proxy(function(t,i){this.enter("pre-loading"),i=e(i),e(new Image).one("load",e.proxy(function(e){i.attr("src",e.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))},a.prototype.destroy=function(){for(var n in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),e(i).off(".owl.core"),!1!==this.settings.responsive&&(t.clearTimeout(this.resizeTimer),this.off(t,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[n].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},a.prototype.op=function(e,t,i){var n=this.settings.rtl;switch(t){case"<":return n?e>i:e<i;case">":return n?e<i:e>i;case">=":return n?e<=i:e>=i;case"<=":return n?e>=i:e<=i}},a.prototype.on=function(e,t,i,n){e.addEventListener?e.addEventListener(t,i,n):e.attachEvent&&e.attachEvent("on"+t,i)},a.prototype.off=function(e,t,i,n){e.removeEventListener?e.removeEventListener(t,i,n):e.detachEvent&&e.detachEvent("on"+t,i)},a.prototype.trigger=function(t,i,n,s,r){var o={item:{count:this._items.length,index:this.current()}},l=e.camelCase(e.grep(["on",t,n],function(e){return e}).join("-").toLowerCase()),c=e.Event([t,"owl",n||"carousel"].join(".").toLowerCase(),e.extend({relatedTarget:this},o,i));return this._supress[t]||(e.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(c)}),this.register({type:a.Type.Event,name:t}),this.$element.trigger(c),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,c)),c},a.prototype.enter=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]===n&&(this._states.current[t]=0),this._states.current[t]++},this))},a.prototype.leave=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]--},this))},a.prototype.register=function(t){if(t.type===a.Type.Event){if(e.event.special[t.name]||(e.event.special[t.name]={}),!e.event.special[t.name].owl){var i=e.event.special[t.name]._default;e.event.special[t.name]._default=function(e){return!i||!i.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&e.namespace.indexOf("owl")>-1:i.apply(this,arguments)},e.event.special[t.name].owl=!0}}else t.type===a.Type.State&&(this._states.tags[t.name]?this._states.tags[t.name]=this._states.tags[t.name].concat(t.tags):this._states.tags[t.name]=t.tags,this._states.tags[t.name]=e.grep(this._states.tags[t.name],e.proxy(function(i,n){return e.inArray(i,this._states.tags[t.name])===n},this)))},a.prototype.suppress=function(t){e.each(t,e.proxy(function(e,t){this._supress[t]=!0},this))},a.prototype.release=function(t){e.each(t,e.proxy(function(e,t){delete this._supress[t]},this))},a.prototype.pointer=function(e){var i={x:null,y:null};return(e=(e=e.originalEvent||e||t.event).touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e).pageX?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i},a.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},a.prototype.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},e.fn.owlCarousel=function(t){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=e(this),s=n.data("owl.carousel");s||(s=new a(this,"object"==typeof t&&t),n.data("owl.carousel",s),e.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,i){s.register({type:a.Type.Event,name:i}),s.$element.on(i+".owl.carousel.core",e.proxy(function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([i]),s[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},s))})),"string"==typeof t&&"_"!==t.charAt(0)&&s[t].apply(s,i)})},e.fn.owlCarousel.Constructor=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers)};a.Defaults={autoRefresh:!0,autoRefreshInterval:500},a.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=t.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},a.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},a.prototype.destroy=function(){var e,i;for(e in t.clearInterval(this._interval),this._handlers)this._core.$element.off(e,this._handlers[e]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":e.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type)){var i=this._core.settings,n=i.center&&Math.ceil(i.items/2)||i.items,a=i.center&&-1*n||0,s=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+a,r=this._core.clones().length,o=e.proxy(function(e,t){this.load(t)},this);for(i.lazyLoadEager>0&&(n+=i.lazyLoadEager,i.loop&&(s-=i.lazyLoadEager,n++));a++<n;)this.load(r/2+this._core.relative(s)),r&&e.each(this._core.clones(this._core.relative(s)),o),s++}},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers)};a.Defaults={lazyLoad:!1,lazyLoadEager:0},a.prototype.load=function(i){var n=this._core.$stage.children().eq(i),a=n&&n.find(".owl-lazy");!a||e.inArray(n.get(0),this._loaded)>-1||(a.each(e.proxy(function(i,n){var a,s=e(n),r=t.devicePixelRatio>1&&s.attr("data-src-retina")||s.attr("data-src")||s.attr("data-srcset");this._core.trigger("load",{element:s,url:r},"lazy"),s.is("img")?s.one("load.owl.lazy",e.proxy(function(){s.css("opacity",1),this._core.trigger("loaded",{element:s,url:r},"lazy")},this)).attr("src",r):s.is("source")?s.one("load.owl.lazy",e.proxy(function(){this._core.trigger("loaded",{element:s,url:r},"lazy")},this)).attr("srcset",r):((a=new Image).onload=e.proxy(function(){s.css({"background-image":'url("'+r+'")',opacity:"1"}),this._core.trigger("loaded",{element:s,url:r},"lazy")},this),a.src=r)},this)),this._loaded.push(n.get(0)))},a.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Lazy=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(i){this._core=i,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&"position"===e.property.name&&this.update()},this),"loaded.owl.lazy":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var n=this;e(t).on("load",function(){n._core.settings.autoHeight&&n.update()}),e(t).resize(function(){n._core.settings.autoHeight&&(null!=n._intervalId&&clearTimeout(n._intervalId),n._intervalId=setTimeout(function(){n.update()},250))})};a.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},a.prototype.update=function(){var t=this._core._current,i=t+this._core.settings.items,n=this._core.settings.lazyLoad,a=this._core.$stage.children().toArray().slice(t,i),s=[],r=0;e.each(a,function(t,i){s.push(e(i).height())}),(r=Math.max.apply(null,s))<=1&&n&&this._previousHeight&&(r=this._previousHeight),this._previousHeight=r,this._core.$stage.parent().height(r).addClass(this._core.settings.autoHeightClass)},a.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoHeight=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":e.proxy(function(t){if(t.namespace){var i=e(t.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,e(t.content)))}},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",e.proxy(function(e){this.play(e)},this))};a.Defaults={video:!1,videoHeight:!1,videoWidth:!1},a.prototype.fetch=function(e,t){var i=e.attr("data-vimeo-id")?"vimeo":e.attr("data-vzaar-id")?"vzaar":"youtube",n=e.attr("data-vimeo-id")||e.attr("data-youtube-id")||e.attr("data-vzaar-id"),a=e.attr("data-width")||this._core.settings.videoWidth,s=e.attr("data-height")||this._core.settings.videoHeight,r=e.attr("href");if(!r)throw new Error("Missing video URL.");if((n=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(n[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(n[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[r]={type:i,id:n,width:a,height:s},t.attr("data-video",r),this.thumbnail(e,this._videos[r])},a.prototype.thumbnail=function(t,i){var n,a,s=i.width&&i.height?"width:"+i.width+"px;height:"+i.height+"px;":"",r=t.find("img"),o="src",l="",c=this._core.settings,d=function(i){'<div class="owl-video-play-icon"></div>',n=c.lazyLoad?e("<div/>",{class:"owl-video-tn "+l,srcType:i}):e("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),t.after(n),t.after('<div class="owl-video-play-icon"></div>')};if(t.wrap(e("<div/>",{class:"owl-video-wrapper",style:s})),this._core.settings.lazyLoad&&(o="data-src",l="owl-lazy"),r.length)return d(r.attr(o)),r.remove(),!1;"youtube"===i.type?(a="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",d(a)):"vimeo"===i.type?e.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){a=e[0].thumbnail_large,d(a)}}):"vzaar"===i.type&&e.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){a=e.framegrab_url,d(a)}})},a.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},a.prototype.play=function(t){var i,n=e(t.target).closest("."+this._core.settings.itemClass),a=this._videos[n.attr("data-video")],s=a.width||"100%",r=a.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),n=this._core.items(this._core.relative(n.index())),this._core.reset(n.index()),(i=e('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",r),i.attr("width",s),"youtube"===a.type?i.attr("src","//www.youtube.com/embed/"+a.id+"?autoplay=1&rel=0&v="+a.id):"vimeo"===a.type?i.attr("src","//player.vimeo.com/video/"+a.id+"?autoplay=1"):"vzaar"===a.type&&i.attr("src","//view.vzaar.com/"+a.id+"/player?autoplay=true"),e(i).wrap('<div class="owl-video-frame" />').insertAfter(n.find(".owl-video")),this._playing=n.addClass("owl-video-playing"))},a.prototype.isInFullScreen=function(){var t=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return t&&e(t).parent().hasClass("owl-video-frame")},a.prototype.destroy=function(){var e,t;for(e in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Video=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this.core=t,this.core.options=e.extend({},a.Defaults,this.core.options),this.swapping=!0,this.previous=n,this.next=n,this.handlers={"change.owl.carousel":e.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":e.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":e.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};a.Defaults={animateOut:!1,animateIn:!1},a.prototype.swap=function(){if(1===this.core.settings.items&&e.support.animation&&e.support.transition){this.core.speed(0);var t,i=e.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),a=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(e.support.animation.end,i).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(r)),s&&a.one(e.support.animation.end,i).addClass("animated owl-animated-in").addClass(s))}},a.prototype.clear=function(t){e(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},a.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Animate=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":e.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":e.proxy(function(e,t,i){e.namespace&&this.play(t,i)},this),"stop.owl.autoplay":e.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":e.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=e.extend({},a.Defaults,this._core.options)};a.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},a.prototype._next=function(n){this._call=t.setTimeout(e.proxy(this._next,this,n),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplaySpeed)},a.prototype.read=function(){return(new Date).getTime()-this._time},a.prototype.play=function(i,n){var a;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,a=Math.min(this._time%(this._timeout||i),i),this._paused?(this._time=this.read(),this._paused=!1):t.clearTimeout(this._call),this._time+=this.read()%i-a,this._timeout=i,this._call=t.setTimeout(e.proxy(this._next,this,n),i-a)},a.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,t.clearTimeout(this._call),this._core.leave("rotating"))},a.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,t.clearTimeout(this._call))},a.prototype.destroy=function(){var e,t;for(e in this.stop(),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.autoplay=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){"use strict";var a=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+e(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":e.proxy(function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this.$element.on(this._handlers)};a.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},a.prototype.initialize=function(){var t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?e(i.navContainer):e("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=e("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",e.proxy(function(e){this.prev(i.navSpeed)},this)),this._controls.$next=e("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",e.proxy(function(e){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[e('<button role="button">').addClass(i.dotClass).append(e("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?e(i.dotsContainer):e("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",e.proxy(function(t){var n=e(t.target).parent().is(this._controls.$absolute)?e(t.target).index():e(t.target).parent().index();t.preventDefault(),this.to(n,i.dotsSpeed)},this)),this._overrides)this._core[t]=e.proxy(this[t],this)},a.prototype.destroy=function(){var e,t,i,n,a;for(e in a=this._core.settings,this._handlers)this.$element.off(e,this._handlers[e]);for(t in this._controls)"$relative"===t&&a.navContainer?this._controls[t].html(""):this._controls[t].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},a.prototype.update=function(){var e,t,i=this._core.clones().length/2,n=i+this._core.items().length,a=this._core.maximum(!0),s=this._core.settings,r=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],e=i,t=0,0;e<n;e++){if(t>=r||0===t){if(this._pages.push({start:Math.min(a,e-i),end:e-i+r-1}),Math.min(a,e-i)===a)break;t=0,0}t+=this._core.mergers(this._core.relative(e))}},a.prototype.draw=function(){var t,i=this._core.settings,n=this._core.items().length<=i.items,a=this._core.relative(this._core.current()),s=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||n),i.nav&&(this._controls.$previous.toggleClass("disabled",!s&&a<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!s&&a>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||n),i.dots&&(t=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==t?this._controls.$absolute.html(this._templates.join("")):t>0?this._controls.$absolute.append(new Array(t+1).join(this._templates[0])):t<0&&this._controls.$absolute.children().slice(t).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(e.inArray(this.current(),this._pages)).addClass("active"))},a.prototype.onTrigger=function(t){var i=this._core.settings;t.page={index:e.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},a.prototype.current=function(){var t=this._core.relative(this._core.current());return e.grep(this._pages,e.proxy(function(e,i){return e.start<=t&&e.end>=t},this)).pop()},a.prototype.getPosition=function(t){var i,n,a=this._core.settings;return"page"==a.slideBy?(i=e.inArray(this.current(),this._pages),n=this._pages.length,t?++i:--i,i=this._pages[(i%n+n)%n].start):(i=this._core.relative(this._core.current()),n=this._core.items().length,t?i+=a.slideBy:i-=a.slideBy),i},a.prototype.next=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},a.prototype.prev=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},a.prototype.to=function(t,i,n){var a;!n&&this._pages.length?(a=this._pages.length,e.proxy(this._overrides.to,this._core)(this._pages[(t%a+a)%a].start,i)):e.proxy(this._overrides.to,this._core)(t,i)},e.fn.owlCarousel.Constructor.Plugins.Navigation=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){"use strict";var a=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":e.proxy(function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&e(t).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":e.proxy(function(t){if(t.namespace){var i=e(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=t.content}},this),"changed.owl.carousel":e.proxy(function(i){if(i.namespace&&"position"===i.property.name){var n=this._core.items(this._core.relative(this._core.current())),a=e.map(this._hashes,function(e,t){return e===n?t:null}).join();if(!a||t.location.hash.slice(1)===a)return;t.location.hash=a}},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this.$element.on(this._handlers),e(t).on("hashchange.owl.navigation",e.proxy(function(e){var i=t.location.hash.substring(1),n=this._core.$stage.children(),a=this._hashes[i]&&n.index(this._hashes[i]);void 0!==a&&a!==this._core.current()&&this._core.to(this._core.relative(a),!1,!0)},this))};a.Defaults={URLhashListener:!1},a.prototype.destroy=function(){var i,n;for(i in e(t).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(i,this._handlers[i]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},e.fn.owlCarousel.Constructor.Plugins.Hash=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){function a(t,i){var a=!1,s=t.charAt(0).toUpperCase()+t.slice(1);return e.each((t+" "+o.join(s+" ")+s).split(" "),function(e,t){if(r[t]!==n)return a=!i||t,!1}),a}function s(e){return a(e,!0)}var r=e("<support>").get(0).style,o="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},c=function(){return!!a("transform")},d=function(){return!!a("perspective")},u=function(){return!!a("animation")};(function(){return!!a("transition")})()&&(e.support.transition=new String(s("transition")),e.support.transition.end=l.transition.end[e.support.transition]),u()&&(e.support.animation=new String(s("animation")),e.support.animation.end=l.animation.end[e.support.animation]),c()&&(e.support.transform=new String(s("transform")),e.support.transform3d=d())}(window.Zepto||window.jQuery,window,document),window.SEMICOLON_carouselInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-items")||4,i=e.attr("data-items-xl")||Number(t),n=e.attr("data-items-lg")||Number(i),a=e.attr("data-items-md")||Number(n),s=e.attr("data-items-sm")||Number(a),r=e.attr("data-items-xs")||Number(s),o=e.attr("data-loop"),l=e.attr("data-autoplay"),c=e.attr("data-speed")||250,d=e.attr("data-animate-in"),u=e.attr("data-animate-out"),h=e.attr("data-nav"),p=e.attr("data-nav-prev")||'<i class="icon-angle-left"></i>',f=e.attr("data-nav-next")||'<i class="icon-angle-right"></i>',m=e.attr("data-pagi"),g=e.attr("data-margin")||20,v=e.attr("data-stage-padding")||0,y=e.attr("data-merge"),b=e.attr("data-start")||0,w=e.attr("data-rewind"),_=e.attr("data-slideby")||1,T=e.attr("data-center"),x=e.attr("data-lazyload"),C=e.attr("data-video"),S=e.attr("data-rtl"),E=5e3,P=!0;_="page"==_?"page":Number(_),o="true"==o,l?(E=Number(l),l=!0):(l=!1,P=!1),d||(d=!1),u||(u=!1),h="false"!=h,m="false"!=m,w="true"==w,y="true"==y,T="true"==T,x="true"==x,C="true"==C,S=!("true"!=S&&!$("body").hasClass("rtl"));let k=e.owlCarousel({margin:Number(g),loop:o,stagePadding:Number(v),merge:y,startPosition:Number(b),rewind:w,slideBy:_,center:T,lazyLoad:x,nav:h,navText:[p,f],autoplay:l,autoplayTimeout:E,autoplayHoverPause:P,dots:m,smartSpeed:Number(c),fluidSpeed:Number(c),video:C,animateIn:d,animateOut:u,rtl:S,responsive:{0:{items:r},576:{items:s},768:{items:a},992:{items:n},1200:{items:i}},onInitialized:function(){SEMICOLON.slider.sliderDimensions({parent:e.parents(".slider-element")}),SEMICOLON.initialize.lightbox({parent:e}),SEMICOLON.widget.hoverAnimation({parent:e}),SEMICOLON.widget.loadFlexSlider({parent:e}),SEMICOLON.widget.counter({parent:e}),SEMICOLON.widget.progress({parent:e}),SEMICOLON.initialize.resizeVideos(),e.find(".owl-dot").length>0&&e.addClass("with-carousel-dots")}});$(window).on("lazyLoadLoaded",function(){e.find(".lazy").length==e.find(".lazy.lazy-loaded").length&&(lazyLoadInstance.update(),setTimeout(function(){k.trigger("refresh.owl.carousel")},500))})})},function(e,t){var i,n;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self,i=e.Cookies,(n=e.Cookies=t()).noConflict=function(){return e.Cookies=i,n})}(this,function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)e[n]=i[n]}return e}var t={read:function(e){return e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};return function i(n,a){function s(t,i,s){if("undefined"!=typeof document){"number"==typeof(s=e({},a,s)).expires&&(s.expires=new Date(Date.now()+864e5*s.expires)),s.expires&&(s.expires=s.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),i=n.write(i,t);var r="";for(var o in s)s[o]&&(r+="; "+o,!0!==s[o]&&(r+="="+s[o].split(";")[0]));return document.cookie=t+"="+i+r}}return Object.create({set:s,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var i=document.cookie?document.cookie.split("; "):[],a={},s=0;s<i.length;s++){var r=i[s].split("="),o=r.slice(1).join("=");'"'===o[0]&&(o=o.slice(1,-1));try{var l=t.read(r[0]);if(a[l]=n.read(o,l),e===l)break}catch(e){}}return e?a[e]:a}},remove:function(t,i){s(t,"",e({},i,{expires:-1}))},withAttributes:function(t){return i(this.converter,e({},this.attributes,t))},withConverter:function(t){return i(e({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(a)},converter:{value:Object.freeze(n)}})}(t,{path:"/"})}),window.SEMICOLON_cookieInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;let t,i=$(".gdpr-settings"),n=(i.attr("data-speed"),i.attr("data-expire")||30),a=i.attr("data-delay")||1500,s=i.attr("data-persistent"),r="bottom",o=i.outerHeight()+100,l=i.outerWidth()+100,c={},d=$(".gdpr-cookie-settings"),u=d.find("[data-cookie-name]");"true"==s&&Cookies.set("websiteUsesCookies",""),i.hasClass("gdpr-settings-sm")&&i.hasClass("gdpr-settings-right")?r="right":i.hasClass("gdpr-settings-sm")&&(r="left"),"left"==r?(c={left:t=-l,right:"auto"}).marginLeft="1rem":"right"==r?(c={right:t=-l,left:"auto"}).marginRight="1rem":(t=-o,c[r]=t),i.css(c),"yesConfirmed"!=Cookies.get("websiteUsesCookies")&&(c[r]=0,c.opacity=1,setTimeout(function(){i.css(c)},Number(a))),$(".gdpr-accept").off("click").on("click",function(){return c[r]=t,c.opacity=0,i.css(c),Cookies.set("websiteUsesCookies","yesConfirmed",{expires:Number(n)}),!1}),u.each(function(){let e=$(this),t=e.attr("data-cookie-name"),i=Cookies.get(t);void 0!==i&&"1"==i?e.prop("checked",!0):e.prop("checked",!1)}),$(".gdpr-save-cookies").off("click").on("click",function(){return u.each(function(){let e=$(this),t=e.attr("data-cookie-name");e.prop("checked")?Cookies.set(t,"1",{expires:Number(n)}):Cookies.remove(t,"")}),d.parents(".mfp-content").length>0&&$.magnificPopup.close(),setTimeout(function(){window.location.reload()},500),!1}),$(".gdpr-container").each(function(){let e=$(this),t=e.attr("data-cookie-name"),i=e.attr("data-cookie-content"),n=e.attr("data-cookie-content-ajax"),a=Cookies.get(t);void 0!==a&&"1"==a?(e.addClass("gdpr-content-active"),n?e.load(n):i&&e.append(i),SEMICOLON.initialize.resizeVideos({parent:e})):e.addClass("gdpr-content-blocked")})},function(){var e=!1;window.JQClass=function(){},JQClass.classes={},JQClass.extend=function t(i){var n=this.prototype;e=!0;var a=new this;for(var s in e=!1,i)a[s]="function"==typeof i[s]&&"function"==typeof n[s]?function(e,t){return function(){var i=this._super;this._super=function(t){return n[e].apply(this,t)};var a=t.apply(this,arguments);return this._super=i,a}}(s,i[s]):i[s];function r(){!e&&this._init&&this._init.apply(this,arguments)}return r.prototype=a,r.prototype.constructor=r,r.extend=t,r}}(),function($){function camelCase(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}JQClass.classes.JQPlugin=JQClass.extend({name:"plugin",defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return"is-"+this.name},_init:function(){$.extend(this.defaultOptions,this.regionalOptions&&this.regionalOptions[""]||{});var e=camelCase(this.name);$[e]=this,$.fn[e]=function(t){var i=Array.prototype.slice.call(arguments,1);return $[e]._isNotChained(t,i)?$[e][t].apply($[e],[this[0]].concat(i)):this.each(function(){if("string"==typeof t){if("_"===t[0]||!$[e][t])throw"Unknown method: "+t;$[e][t].apply($[e],[this].concat(i))}else $[e]._attach(this,t)})}},setDefaults:function(e){$.extend(this.defaultOptions,e||{})},_isNotChained:function(e,t){return"option"===e&&(0===t.length||1===t.length&&"string"==typeof t[0])||$.inArray(e,this._getters)>-1},_attach:function(e,t){if(!(e=$(e)).hasClass(this._getMarker())){e.addClass(this._getMarker()),t=$.extend({},this.defaultOptions,this._getMetadata(e),t||{});var i=$.extend({name:this.name,elem:e,options:t},this._instSettings(e,t));e.data(this.name,i),this._postAttach(e,i),this.option(e,t)}},_instSettings:function(e,t){return{}},_postAttach:function(e,t){},_getMetadata:function(d){try{var f=d.data(this.name.toLowerCase())||"";for(var g in f=f.replace(/'/g,'"'),f=f.replace(/([a-zA-Z0-9]+):/g,function(e,t,i){var n=f.substring(0,i).match(/"/g);return n&&n.length%2!=0?t+":":'"'+t+'":'}),f=$.parseJSON("{"+f+"}"),f){var h=f[g];"string"==typeof h&&h.match(/^new Date\((.*)\)$/)&&(f[g]=eval(h))}return f}catch(e){return{}}},_getInst:function(e){return $(e).data(this.name)||{}},option:function(e,t,i){var n=(e=$(e)).data(this.name);if(!t||"string"==typeof t&&null==i)return(a=(n||{}).options)&&t?a[t]:a;if(e.hasClass(this._getMarker())){var a=t||{};"string"==typeof t&&((a={})[t]=i),this._optionsChanged(e,n,a),$.extend(n.options,a)}},_optionsChanged:function(e,t,i){},destroy:function(e){(e=$(e)).hasClass(this._getMarker())&&(this._preDestroy(e,this._getInst(e)),e.removeData(this.name).removeClass(this._getMarker()))},_preDestroy:function(e,t){}}),$.JQPlugin={createPlugin:function(e,t){"object"==typeof e&&(t=e,e="JQPlugin"),e=camelCase(e);var i=camelCase(t.name);JQClass.classes[i]=JQClass.classes[e].extend(t),new JQClass.classes[i]}}}(jQuery),function(e){"use strict";var t="countdown";e.JQPlugin.createPlugin({name:t,defaultOptions:{until:null,since:null,timezone:null,serverSync:null,format:"dHMS",layout:"",compact:!1,padZeroes:!1,significant:0,description:"",expiryUrl:"",expiryText:"",alwaysExpire:!1,onExpiry:null,onTick:null,tickInterval:1},regionalOptions:{"":{labels:["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],labels1:["Year","Month","Week","Day","Hour","Minute","Second"],compactLabels:["y","m","w","d"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1}},_rtlClass:t+"-rtl",_sectionClass:t+"-section",_amountClass:t+"-amount",_periodClass:t+"-period",_rowClass:t+"-row",_holdingClass:t+"-holding",_showClass:t+"-show",_descrClass:t+"-descr",_timerElems:[],_init:function(){var t=this;this._super(),this._serverSyncs=[];var i="function"==typeof Date.now?Date.now:function(){return(new Date).getTime()},n=window.performance&&"function"==typeof window.performance.now,a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null,s=0;!a||e.noRequestAnimationFrame?(e.noRequestAnimationFrame=null,e.countdown._timer=setInterval(function(){t._updateElems()},1e3)):(s=window.animationStartTime||window.webkitAnimationStartTime||window.mozAnimationStartTime||window.oAnimationStartTime||window.msAnimationStartTime||i(),a(function e(r){var o=r<1e12?n?window.performance.now()+window.performance.timing.navigationStart:i():r||i();o-s>=1e3&&(t._updateElems(),s=o),a(e)}))},UTCDate:function(e,t,i,n,a,s,r,o){"object"==typeof t&&t instanceof Date&&(o=t.getMilliseconds(),r=t.getSeconds(),s=t.getMinutes(),a=t.getHours(),n=t.getDate(),i=t.getMonth(),t=t.getFullYear());var l=new Date;return l.setUTCFullYear(t),l.setUTCDate(1),l.setUTCMonth(i||0),l.setUTCDate(n||1),l.setUTCHours(a||0),l.setUTCMinutes((s||0)-(Math.abs(e)<30?60*e:e)),l.setUTCSeconds(r||0),l.setUTCMilliseconds(o||0),l},periodsToSeconds:function(e){return 31557600*e[0]+2629800*e[1]+604800*e[2]+86400*e[3]+3600*e[4]+60*e[5]+e[6]},resync:function(){var t=this;e("."+this._getMarker()).each(function(){var i=e.data(this,t.name);if(i.options.serverSync){for(var n=null,a=0;a<t._serverSyncs.length;a++)if(t._serverSyncs[a][0]===i.options.serverSync){n=t._serverSyncs[a];break}if(t._eqNull(n[2])){var s=e.isFunction(i.options.serverSync)?i.options.serverSync.apply(this,[]):null;n[2]=(s?(new Date).getTime()-s.getTime():0)-n[1]}i._since&&i._since.setMilliseconds(i._since.getMilliseconds()+n[2]),i._until.setMilliseconds(i._until.getMilliseconds()+n[2])}});for(var i=0;i<t._serverSyncs.length;i++)t._eqNull(t._serverSyncs[i][2])||(t._serverSyncs[i][1]+=t._serverSyncs[i][2],delete t._serverSyncs[i][2])},_instSettings:function(e,t){return{_periods:[0,0,0,0,0,0,0]}},_addElem:function(e){this._hasElem(e)||this._timerElems.push(e)},_hasElem:function(t){return e.inArray(t,this._timerElems)>-1},_removeElem:function(t){this._timerElems=e.map(this._timerElems,function(e){return e===t?null:e})},_updateElems:function(){for(var e=this._timerElems.length-1;e>=0;e--)this._updateCountdown(this._timerElems[e])},_optionsChanged:function(t,i,n){n.layout&&(n.layout=n.layout.replace(/&lt;/g,"<").replace(/&gt;/g,">")),this._resetExtraLabels(i.options,n);var a=i.options.timezone!==n.timezone;e.extend(i.options,n),this._adjustSettings(t,i,!this._eqNull(n.until)||!this._eqNull(n.since)||a);var s=new Date;(i._since&&i._since<s||i._until&&i._until>s)&&this._addElem(t[0]),this._updateCountdown(t,i)},_updateCountdown:function(t,i){if(t=t.jquery?t:e(t),i=i||this._getInst(t)){if(t.html(this._generateHTML(i)).toggleClass(this._rtlClass,i.options.isRTL),"pause"!==i._hold&&e.isFunction(i.options.onTick)){var n="lap"!==i._hold?i._periods:this._calculatePeriods(i,i._show,i.options.significant,new Date);1!==i.options.tickInterval&&this.periodsToSeconds(n)%i.options.tickInterval!=0||i.options.onTick.apply(t[0],[n])}if("pause"!==i._hold&&(i._since?i._now.getTime()<i._since.getTime():i._now.getTime()>=i._until.getTime())&&!i._expiring){if(i._expiring=!0,this._hasElem(t[0])||i.options.alwaysExpire){if(this._removeElem(t[0]),e.isFunction(i.options.onExpiry)&&i.options.onExpiry.apply(t[0],[]),i.options.expiryText){var a=i.options.layout;i.options.layout=i.options.expiryText,this._updateCountdown(t[0],i),i.options.layout=a}i.options.expiryUrl&&(window.location=i.options.expiryUrl)}i._expiring=!1}else"pause"===i._hold&&this._removeElem(t[0])}},_resetExtraLabels:function(e,t){var i=null;for(i in t)i.match(/[Ll]abels[02-9]|compactLabels1/)&&(e[i]=t[i]);for(i in e)i.match(/[Ll]abels[02-9]|compactLabels1/)&&void 0===t[i]&&(e[i]=null)},_eqNull:function(e){return null==e},_adjustSettings:function(t,i,n){for(var a=null,s=0;s<this._serverSyncs.length;s++)if(this._serverSyncs[s][0]===i.options.serverSync){a=this._serverSyncs[s][1];break}var r=null,o=null;if(this._eqNull(a)){var l=e.isFunction(i.options.serverSync)?i.options.serverSync.apply(t[0],[]):null;r=new Date,o=l?r.getTime()-l.getTime():0,this._serverSyncs.push([i.options.serverSync,o])}else r=new Date,o=i.options.serverSync?a:0;var c=i.options.timezone;c=this._eqNull(c)?-r.getTimezoneOffset():c,(n||!n&&this._eqNull(i._until)&&this._eqNull(i._since))&&(i._since=i.options.since,this._eqNull(i._since)||(i._since=this.UTCDate(c,this._determineTime(i._since,null)),i._since&&o&&i._since.setMilliseconds(i._since.getMilliseconds()+o)),i._until=this.UTCDate(c,this._determineTime(i.options.until,r)),o&&i._until.setMilliseconds(i._until.getMilliseconds()+o)),i._show=this._determineShow(i)},_preDestroy:function(e,t){this._removeElem(e[0]),e.empty()},pause:function(e){this._hold(e,"pause")},lap:function(e){this._hold(e,"lap")},resume:function(e){this._hold(e,null)},toggle:function(t){this[(e.data(t,this.name)||{})._hold?"resume":"pause"](t)},toggleLap:function(t){this[(e.data(t,this.name)||{})._hold?"resume":"lap"](t)},_hold:function(t,i){var n=e.data(t,this.name);if(n){if("pause"===n._hold&&!i){n._periods=n._savePeriods;var a=n._since?"-":"+";n[n._since?"_since":"_until"]=this._determineTime(a+n._periods[0]+"y"+a+n._periods[1]+"o"+a+n._periods[2]+"w"+a+n._periods[3]+"d"+a+n._periods[4]+"h"+a+n._periods[5]+"m"+a+n._periods[6]+"s"),this._addElem(t)}n._hold=i,n._savePeriods="pause"===i?n._periods:null,e.data(t,this.name,n),this._updateCountdown(t,n)}},getTimes:function(t){var i=e.data(t,this.name);return i?"pause"===i._hold?i._savePeriods:i._hold?this._calculatePeriods(i,i._show,i.options.significant,new Date):i._periods:null},_determineTime:function(e,t){var i=this,n=this._eqNull(e)?t:"string"==typeof e?function(e){e=e.toLowerCase();for(var t=new Date,n=t.getFullYear(),a=t.getMonth(),s=t.getDate(),r=t.getHours(),o=t.getMinutes(),l=t.getSeconds(),c=/([+-]?[0-9]+)\s*(s|m|h|d|w|o|y)?/g,d=c.exec(e);d;){switch(d[2]||"s"){case"s":l+=parseInt(d[1],10);break;case"m":o+=parseInt(d[1],10);break;case"h":r+=parseInt(d[1],10);break;case"d":s+=parseInt(d[1],10);break;case"w":s+=7*parseInt(d[1],10);break;case"o":a+=parseInt(d[1],10),s=Math.min(s,i._getDaysInMonth(n,a));break;case"y":n+=parseInt(d[1],10),s=Math.min(s,i._getDaysInMonth(n,a))}d=c.exec(e)}return new Date(n,a,s,r,o,l,0)}(e):"number"==typeof e?function(e){var t=new Date;return t.setTime(t.getTime()+1e3*e),t}(e):e;return n&&n.setMilliseconds(0),n},_getDaysInMonth:function(e,t){return 32-new Date(e,t,32).getDate()},_normalLabels:function(e){return e},_generateHTML:function(t){var i=this;t._periods=t._hold?t._periods:this._calculatePeriods(t,t._show,t.options.significant,new Date);var n=!1,a=0,s=t.options.significant,r=e.extend({},t._show),o=null;for(o=0;o<=6;o++)n=n||"?"===t._show[o]&&t._periods[o]>0,r[o]="?"!==t._show[o]||n?t._show[o]:null,a+=r[o]?1:0,s-=t._periods[o]>0?1:0;var l=[!1,!1,!1,!1,!1,!1,!1];for(o=6;o>=0;o--)t._show[o]&&(t._periods[o]?l[o]=!0:(l[o]=s>0,s--));var c=t.options.compact?t.options.compactLabels:t.options.labels,d=t.options.whichLabels||this._normalLabels,u=function(e){var n=t.options["compactLabels"+d(t._periods[e])];return r[e]?i._translateDigits(t,t._periods[e])+(n?n[e]:c[e])+" ":""},h=t.options.padZeroes?2:1,p=function(e){var n=t.options["labels"+d(t._periods[e])];return!t.options.significant&&r[e]||t.options.significant&&l[e]?'<span class="'+i._sectionClass+'"><span class="'+i._amountClass+'">'+i._minDigits(t,t._periods[e],h)+'</span><span class="'+i._periodClass+'">'+(n?n[e]:c[e])+"</span></span>":""};return t.options.layout?this._buildLayout(t,r,t.options.layout,t.options.compact,t.options.significant,l):(t.options.compact?'<span class="'+this._rowClass+" "+this._amountClass+(t._hold?" "+this._holdingClass:"")+'">'+u(0)+u(1)+u(2)+u(3)+(r[4]?this._minDigits(t,t._periods[4],2):"")+(r[5]?(r[4]?t.options.timeSeparator:"")+this._minDigits(t,t._periods[5],2):"")+(r[6]?(r[4]||r[5]?t.options.timeSeparator:"")+this._minDigits(t,t._periods[6],2):""):'<span class="'+this._rowClass+" "+this._showClass+(t.options.significant||a)+(t._hold?" "+this._holdingClass:"")+'">'+p(0)+p(1)+p(2)+p(3)+p(4)+p(5)+p(6))+"</span>"+(t.options.description?'<span class="'+this._rowClass+" "+this._descrClass+'">'+t.options.description+"</span>":"")},_buildLayout:function(t,i,n,a,s,r){for(var o=t.options[a?"compactLabels":"labels"],l=t.options.whichLabels||this._normalLabels,c=function(e){return(t.options[(a?"compactLabels":"labels")+l(t._periods[e])]||o)[e]},d=function(e,i){return t.options.digits[Math.floor(e/i)%10]},u={desc:t.options.description,sep:t.options.timeSeparator,yl:c(0),yn:this._minDigits(t,t._periods[0],1),ynn:this._minDigits(t,t._periods[0],2),ynnn:this._minDigits(t,t._periods[0],3),y1:d(t._periods[0],1),y10:d(t._periods[0],10),y100:d(t._periods[0],100),y1000:d(t._periods[0],1e3),ol:c(1),on:this._minDigits(t,t._periods[1],1),onn:this._minDigits(t,t._periods[1],2),onnn:this._minDigits(t,t._periods[1],3),o1:d(t._periods[1],1),o10:d(t._periods[1],10),o100:d(t._periods[1],100),o1000:d(t._periods[1],1e3),wl:c(2),wn:this._minDigits(t,t._periods[2],1),wnn:this._minDigits(t,t._periods[2],2),wnnn:this._minDigits(t,t._periods[2],3),w1:d(t._periods[2],1),w10:d(t._periods[2],10),w100:d(t._periods[2],100),w1000:d(t._periods[2],1e3),dl:c(3),dn:this._minDigits(t,t._periods[3],1),dnn:this._minDigits(t,t._periods[3],2),dnnn:this._minDigits(t,t._periods[3],3),d1:d(t._periods[3],1),d10:d(t._periods[3],10),d100:d(t._periods[3],100),d1000:d(t._periods[3],1e3),hl:c(4),hn:this._minDigits(t,t._periods[4],1),hnn:this._minDigits(t,t._periods[4],2),hnnn:this._minDigits(t,t._periods[4],3),h1:d(t._periods[4],1),h10:d(t._periods[4],10),h100:d(t._periods[4],100),h1000:d(t._periods[4],1e3),ml:c(5),mn:this._minDigits(t,t._periods[5],1),mnn:this._minDigits(t,t._periods[5],2),mnnn:this._minDigits(t,t._periods[5],3),m1:d(t._periods[5],1),m10:d(t._periods[5],10),m100:d(t._periods[5],100),m1000:d(t._periods[5],1e3),sl:c(6),sn:this._minDigits(t,t._periods[6],1),snn:this._minDigits(t,t._periods[6],2),snnn:this._minDigits(t,t._periods[6],3),s1:d(t._periods[6],1),s10:d(t._periods[6],10),s100:d(t._periods[6],100),s1000:d(t._periods[6],1e3)},h=n,p=0;p<=6;p++){var f="yowdhms".charAt(p),m=new RegExp("\\{"+f+"<\\}([\\s\\S]*)\\{"+f+">\\}","g");h=h.replace(m,!s&&i[p]||s&&r[p]?"$1":"")}return e.each(u,function(e,t){var i=new RegExp("\\{"+e+"\\}","g");h=h.replace(i,t)}),h},_minDigits:function(e,t,i){return(t=""+t).length>=i?this._translateDigits(e,t):(t="0000000000"+t,this._translateDigits(e,t.substr(t.length-i)))},_translateDigits:function(e,t){return(""+t).replace(/[0-9]/g,function(t){return e.options.digits[t]})},_determineShow:function(e){var t=e.options.format,i=[];return i[0]=t.match("y")?"?":t.match("Y")?"!":null,i[1]=t.match("o")?"?":t.match("O")?"!":null,i[2]=t.match("w")?"?":t.match("W")?"!":null,i[3]=t.match("d")?"?":t.match("D")?"!":null,i[4]=t.match("h")?"?":t.match("H")?"!":null,i[5]=t.match("m")?"?":t.match("M")?"!":null,i[6]=t.match("s")?"?":t.match("S")?"!":null,i},_calculatePeriods:function(e,t,i,n){e._now=n,e._now.setMilliseconds(0);var a=new Date(e._now.getTime());e._since?n.getTime()<e._since.getTime()?e._now=n=a:n=e._since:(a.setTime(e._until.getTime()),n.getTime()>e._until.getTime()&&(e._now=n=a));var s=[0,0,0,0,0,0,0];if(t[0]||t[1]){var r=this._getDaysInMonth(n.getFullYear(),n.getMonth()),o=this._getDaysInMonth(a.getFullYear(),a.getMonth()),l=a.getDate()===n.getDate()||a.getDate()>=Math.min(r,o)&&n.getDate()>=Math.min(r,o),c=function(e){return 60*(60*e.getHours()+e.getMinutes())+e.getSeconds()},d=Math.max(0,12*(a.getFullYear()-n.getFullYear())+a.getMonth()-n.getMonth()+(a.getDate()<n.getDate()&&!l||l&&c(a)<c(n)?-1:0));s[0]=t[0]?Math.floor(d/12):0,s[1]=t[1]?d-12*s[0]:0;var u=(n=new Date(n.getTime())).getDate()===r,h=this._getDaysInMonth(n.getFullYear()+s[0],n.getMonth()+s[1]);n.getDate()>h&&n.setDate(h),n.setFullYear(n.getFullYear()+s[0]),n.setMonth(n.getMonth()+s[1]),u&&n.setDate(h)}var p=Math.floor((a.getTime()-n.getTime())/1e3),f=null,m=function(e,i){s[e]=t[e]?Math.floor(p/i):0,p-=s[e]*i};if(m(2,604800),m(3,86400),m(4,3600),m(5,60),m(6,1),p>0&&!e._since){var g=[1,12,4.3482,7,24,60,60],v=6,y=1;for(f=6;f>=0;f--)t[f]&&(s[v]>=y&&(s[v]=0,p=1),p>0&&(s[f]++,p=0,v=f,y=1)),y*=g[f]}if(i)for(f=0;f<=6;f++)i&&s[f]?i--:i||(s[f]=0);return s}})}(jQuery),window.SEMICOLON_countdownInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-format")||"dHMS",i=e.attr("data-since"),n=e.attr("data-year"),a=e.attr("data-month"),s=e.attr("data-day"),r=e.attr("data-hour"),o=e.attr("data-minute"),l=e.attr("data-second"),c=e.attr("data-redirect"),d="";n&&(d=n),a&&a<13?d=d+"-"+(a<10?"0"+a:a):n&&(d+="-01"),s&&s<32?d=d+"-"+(s<10?"0"+s:s):n&&(d+="-01"),setDate=""!=d?new Date(moment(d)):new Date,r&&r<25&&setDate.setHours(setDate.getHours()+Number(r)),o&&o<60&&setDate.setMinutes(setDate.getMinutes()+Number(o)),l&&l<60&&setDate.setSeconds(setDate.getSeconds()+Number(l)),c||(c=!1),"true"==i?e.countdown({since:setDate,format:t,expiryUrl:c}):e.countdown({until:setDate,format:t,expiryUrl:c})})},function(e){e.fn.countTo=function(t){return t=t||{},e(this).each(function(){function i(e){var t=n.formatter.call(r,e,n);o.text(t)}var n=e.extend({},e.fn.countTo.defaults,{from:e(this).data("from"),to:e(this).data("to"),speed:e(this).data("speed"),refreshInterval:e(this).data("refresh-interval"),decimals:e(this).data("decimals")},t),a=Math.ceil(n.speed/n.refreshInterval),s=(n.to-n.from)/a,r=this,o=e(this),l=0,c=n.from,d=o.data("countTo")||{};o.data("countTo",d),d.interval&&clearInterval(d.interval),d.interval=setInterval(function(){l++,i(c+=s),"function"==typeof n.onUpdate&&n.onUpdate.call(r,c),l>=a&&(o.removeData("countTo"),clearInterval(d.interval),c=n.to,"function"==typeof n.onComplete&&n.onComplete.call(r,c))},n.refreshInterval),i(c)})},e.fn.countTo.defaults={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:function(e,t){return e.toFixed(t.decimals)},onUpdate:null,onComplete:null}}(jQuery),window.SEMICOLON_counterInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.find("span").attr("data-comma"),i=e.find("span").attr("data-sep")||",",n=e.find("span").attr("data-places")||3,a={comma:t,sep:i,places:Number(n)};e.hasClass("counter-instant")?SEMICOLON_runCounterInit(e,a):new IntersectionObserver(function(t,i){t.forEach(function(t){t.isIntersecting&&(SEMICOLON_runCounterInit(e,a),i.unobserve(t.target))})},{rootMargin:"-50px"}).observe(e[0])})},window.SEMICOLON_runCounterInit=function(e,t){if("true"==t.comma){let i="\\B(?=(\\d{"+t.places+"})+(?!\\d))",n=new RegExp(i,"g");e.find("span").countTo({formatter:function(e,i){return e=(e=e.toFixed(i.decimals)).replace(n,t.sep)}})}else e.find("span").countTo()},window.scwDataClassesPlugin=window.scwDataClassesPlugin||{},window.SEMICOLON_dataClassesInit=function(e){if(e.length<1)return!0;let t=$("[data-class-xs]"),i=$("[data-class-sm]"),n=$("[data-class-md]"),a=$("[data-class-lg]"),s=$("[data-class-xl]"),r=$("body");t.length>0&&t.each(function(){let e=$(this),t=e.attr("data-class-xs"),i=e.attr("data-class-sm")+" "+e.attr("data-class-md")+" "+e.attr("data-class-lg")+" "+e.attr("data-class-xl");r.hasClass("device-xs")&&(e.removeClass(i),e.addClass(t))}),i.length>0&&i.each(function(){let e=$(this),t=e.attr("data-class-sm"),i=e.attr("data-class-xs")+" "+e.attr("data-class-md")+" "+e.attr("data-class-lg")+" "+e.attr("data-class-xl");r.hasClass("device-sm")&&(e.removeClass(i),e.addClass(t))}),n.length>0&&n.each(function(){let e=$(this),t=e.attr("data-class-md"),i=e.attr("data-class-xs")+" "+e.attr("data-class-sm")+" "+e.attr("data-class-lg")+" "+e.attr("data-class-xl");r.hasClass("device-md")&&(e.removeClass(i),e.addClass(t))}),a.length>0&&a.each(function(){let e=$(this),t=e.attr("data-class-lg"),i=e.attr("data-class-xs")+" "+e.attr("data-class-sm")+" "+e.attr("data-class-md")+" "+e.attr("data-class-xl");r.hasClass("device-lg")&&(e.removeClass(i),e.addClass(t))}),s.length>0&&s.each(function(){let e=$(this),t=e.attr("data-class-xl"),i=e.attr("data-class-xs")+" "+e.attr("data-class-sm")+" "+e.attr("data-class-md")+" "+e.attr("data-class-lg");r.hasClass("device-xl")&&(e.removeClass(i),e.addClass(t))})},window.scwDataHeightsPlugin=window.scwDataHeightsPlugin||{},window.SEMICOLON_dataHeightsInit=function(e){if(e.length<1)return!0;let t=$("[data-height-xs]"),i=$("[data-height-sm]"),n=$("[data-height-md]"),a=$("[data-height-lg]"),s=$("[data-height-xl]"),r=$("body");t.length>0&&t.each(function(){let e=$(this),t=e.attr("data-height-xs");r.hasClass("device-xs")&&""!=t&&e.css("height",t)}),i.length>0&&i.each(function(){let e=$(this),t=e.attr("data-height-sm");r.hasClass("device-sm")&&""!=t&&e.css("height",t)}),n.length>0&&n.each(function(){let e=$(this),t=e.attr("data-height-md");r.hasClass("device-md")&&""!=t&&e.css("height",t)}),a.length>0&&a.each(function(){let e=$(this),t=e.attr("data-height-lg");r.hasClass("device-lg")&&""!=t&&e.css("height",t)}),s.length>0&&s.each(function(){let e=$(this),t=e.attr("data-height-xl");r.hasClass("device-xl")&&""!=t&&e.css("height",t)})},function(e,t,i,n){"use strict";e.jribbble={};var a=null,s=["animated","attachments","debuts","playoffs","rebounds","teams"],r={token:"Jribbble: Missing Dribbble access token. Set one with $.jribbble.accessToken = YOUR_ACCESS_TOKEN. If you do not have an access token, you must register a new application at https://dribbble.com/account/applications/new",singular:function(e){return e.substr(0,e.length-1)},idRequired:function(e){return"Jribbble: You have to provide a "+this.singular(e)+' ID. ex: $.jribbble.%@("1234").'.replace(/%@/g,e)},subResource:function(e){return"Jribbble: You have to provide a "+this.singular(e)+' ID to get %@. ex: $.jribbble.%@("1234").%@()'.replace(/%@/g,e)},shotId:function(e){return"Jribbble: You have to provide a shot ID to get %@. ex: "+' $.jribbble.shots("1234").%@()'.replace(/%@/g,e)},commentLikes:'Jribbble: You have to provide a comment ID to get likes. ex: $.jribbble.shots("1234").comments("456").likes()'},o=function(e,t){if(e&&"object"!=typeof e)return e;throw new Error(r.idRequired(t))},l=function(e){var t={};return e.forEach(function(e){t[e]=p.call(this,e)}.bind(this)),t},c=function(t){var i=e.param(t);return i?"?"+i:""},d=function(e){if(0!==e.length){var t=e[0],i=typeof t,n={};if("number"===i||"string"===i)s.indexOf(t)>-1?n.list=t:n.resource=t;else"object"===i&&(n=t);return n}},u=function(){var t=e.extend({},e.Deferred());return t.queue=new function(){return this.methods=[],this.response=null,this.flushed=!1,this.add=function(e){this.flushed?e(this.scope):this.methods.push(e)},this.flush=function(e){if(!this.flushed){for(this.scope=e,this.flushed=!0;this.methods[0];)this.methods.shift()(e);return e}},this},t.url="https://api.dribbble.com/v1",t.get=function(){return a?(e.ajax({type:"GET",url:this.url,beforeSend:function(e){e.setRequestHeader("Authorization","Bearer "+a)},success:function(e){this.resolve(e)}.bind(this),error:function(e){this.reject(e)}.bind(this)}),this):(console.error(r.token),!1)},t},h=function(t){return function(i){return e.extend(this,u()),this.queue.add(function(e){e.url+="/"+t+"/"+i}),setTimeout(function(){this.queue.flush(this).get()}.bind(this)),this}},p=function(e){return function(t){return this.queue.add(function(i){i.url+="/"+e+"/"+c(t||{})}),this}};e.jribbble.shots=function(t,i){var n=d([].slice.call(arguments))||{},a=i||{},s=function(t){return function(i,n){var a=d([].slice.call(arguments))||{},s=n||{};return this.queue.add(function(i){if(!i.shotId)throw new Error(r.shotId(t));i.url+="/"+t+"/",a.resource&&(i.url+=a.resource,delete a.resource),i.url+=c(e.extend(a,s))}),this}},o=function(){return e.extend(this,u()),this.url+="/shots/",this.queue.add(function(t){n.resource&&(t.shotId=n.resource,t.url+=n.resource,delete n.resource),t.url+=c(e.extend(n,a))}),setTimeout(function(){this.queue.flush(this).get()}.bind(this)),this};return o.prototype.attachments=s("attachments"),o.prototype.buckets=s("buckets"),o.prototype.likes=s("likes"),o.prototype.projects=s("projects"),o.prototype.rebounds=s("rebounds"),o.prototype.comments=function(t,i){var n=d([].slice.call(arguments))||{},a=i||{};return this.queue.add(function(t){if(!t.shotId)throw new Error(r.shotId("comments"));t.url+="/comments/",n.resource&&(t.commentId=n.resource,t.url+=n.resource+"/",delete n.resource),t.url+=c(e.extend(n,a))}),this.likes=function(e){var t=e||{};return this.queue.add(function(e){if(!e.commentId)throw new Error(r.commentLikes);e.url+="likes/"+c(t)}),this},this},new o},e.jribbble.teams=function(e){var t="teams",i=o(e,t),n=h.call(this,t);return n.prototype=l.call(this,["members","shots"]),new n(i)},e.jribbble.users=function(e){var t="users",i=o(e,t),n=h.call(this,t);return n.prototype=l.call(this,["buckets","followers","following","likes","projects","shots","teams"]),n.prototype.isFollowing=function(e){return this.queue.add(function(t){t.url+="/following/"+e}),this},new n(i)},e.jribbble.buckets=function(e){var t="buckets",i=o(e,t),n=h.call(this,t);return n.prototype=l.call(this,["shots"]),new n(i)},e.jribbble.projects=function(e){var t="projects",i=o(e,t),n=h.call(this,t);return n.prototype=l.call(this,["shots"]),new n(i)},e.jribbble.setToken=function(e){return a=e,this}}(jQuery,window,document),window.SEMICOLON_dribbbleShotsInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;$.jribbble.setToken("012d3d72d12f93e1d41a19195d7da2fc87e6b5afa48a184256e398eb793cfe56"),e.each(function(){let e=$(this),t=e.attr("data-user"),i=e.attr("data-count")||9,n=e.attr("data-list"),a=e.attr("data-type");e.addClass("customjs"),"user"==a?$.jribbble.users(t).shots({sort:"recent",page:1,per_page:Number(i)}).then(function(t){let i=[];t.forEach(function(e){i.push('<a class="grid-item" href="'+e.html_url+'" target="_blank">'),i.push('<img src="'+e.images.teaser+'" '),i.push('alt="'+e.title+'"></a>')}),e.html(i.join("")),$(window).on("pluginImagesLoadedReady",function(){e.imagesLoaded().done(function(){e.removeClass("customjs"),SEMICOLON.widget.masonryThumbs()})})}):"list"==a&&$.jribbble.shots(n,{sort:"recent",page:1,per_page:Number(i)}).then(function(t){let i=[];t.forEach(function(e){i.push('<a class="grid-item" href="'+e.html_url+'" target="_blank">'),i.push('<img src="'+e.images.teaser+'" '),i.push('alt="'+e.title+'"></a>')}),e.html(i.join("")),$(window).on("pluginImagesLoadedReady",function(){e.imagesLoaded().done(function(){e.removeClass("customjs"),SEMICOLON.widget.masonryThumbs()})})})})},function(e){"use strict";e.fn.fitVids=function(t){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var n=document.head||document.getElementsByTagName("head")[0],a=document.createElement("div");a.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>',n.appendChild(a.childNodes[1])}return t&&e.extend(i,t),this.each(function(){var t=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];i.customSelector&&t.push(i.customSelector);var n=".fitvidsignore";i.ignore&&(n=n+", "+i.ignore);var a=e(this).find(t.join(","));(a=(a=a.not("object object")).not(n)).each(function(t){var i=e(this);if(!(i.parents(n).length>0||"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));var a=("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));if(!i.attr("id")){var s="fitvid"+t;i.attr("id",s)}i.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*a+"%"),i.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),window.SEMICOLON_resizeVideosInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.parent().fitVids({customSelector:'iframe[src*="youtube"],iframe[src*="vimeo"],iframe[src*="dailymotion"],iframe[src*="maps.google.com"],iframe[src*="google.com/maps"]',ignore:".no-fv"})},function(e){var t=!0;e.flexslider=function(i,n){var a=e(i);void 0===n.rtl&&"rtl"==e("html").attr("dir")&&(n.rtl=!0),a.vars=e.extend({},e.flexslider.defaults,n);var s,r=a.vars.namespace,o=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,l=("ontouchstart"in window||o||window.DocumentTouch&&document instanceof DocumentTouch)&&a.vars.touch,c="click touchend MSPointerUp keyup",d="",u="vertical"===a.vars.direction,h=a.vars.reverse,p=a.vars.itemWidth>0,f="fade"===a.vars.animation,m=""!==a.vars.asNavFor,g={};e.data(i,"flexslider",a),g={init:function(){a.animating=!1,a.currentSlide=parseInt(a.vars.startAt?a.vars.startAt:0,10),isNaN(a.currentSlide)&&(a.currentSlide=0),a.animatingTo=a.currentSlide,a.atEnd=0===a.currentSlide||a.currentSlide===a.last,a.containerSelector=a.vars.selector.substr(0,a.vars.selector.search(" ")),a.slides=e(a.vars.selector,a),a.container=e(a.containerSelector,a),a.count=a.slides.length,a.syncExists=e(a.vars.sync).length>0,"slide"===a.vars.animation&&(a.vars.animation="swing"),a.prop=u?"top":a.vars.rtl?"marginRight":"marginLeft",a.args={},a.manualPause=!1,a.stopped=!1,a.started=!1,a.startTimeout=null,a.transitions=!a.vars.video&&!f&&a.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in t)if(void 0!==e.style[t[i]])return a.pfx=t[i].replace("Perspective","").toLowerCase(),a.prop="-"+a.pfx+"-transform",!0;return!1}(),a.isFirefox=navigator.userAgent.toLowerCase().indexOf("firefox")>-1,a.ensureAnimationEnd="",""!==a.vars.controlsContainer&&(a.controlsContainer=e(a.vars.controlsContainer).length>0&&e(a.vars.controlsContainer)),""!==a.vars.manualControls&&(a.manualControls=e(a.vars.manualControls).length>0&&e(a.vars.manualControls)),""!==a.vars.customDirectionNav&&(a.customDirectionNav=2===e(a.vars.customDirectionNav).length&&e(a.vars.customDirectionNav)),a.vars.randomize&&(a.slides.sort(function(){return Math.round(Math.random())-.5}),a.container.empty().append(a.slides)),a.doMath(),a.setup("init"),a.vars.controlNav&&g.controlNav.setup(),a.vars.directionNav&&g.directionNav.setup(),a.vars.keyboard&&(1===e(a.containerSelector).length||a.vars.multipleKeyboard)&&e(document).bind("keyup",function(e){var t=e.keyCode;if(!a.animating&&(39===t||37===t)){var i=a.vars.rtl?37===t?a.getTarget("next"):39===t&&a.getTarget("prev"):39===t?a.getTarget("next"):37===t&&a.getTarget("prev");a.flexAnimate(i,a.vars.pauseOnAction)}}),a.vars.mousewheel&&a.bind("mousewheel",function(e,t,i,n){e.preventDefault();var s=t<0?a.getTarget("next"):a.getTarget("prev");a.flexAnimate(s,a.vars.pauseOnAction)}),a.vars.pausePlay&&g.pausePlay.setup(),a.vars.slideshow&&a.vars.pauseInvisible&&g.pauseInvisible.init(),a.vars.slideshow&&(a.vars.pauseOnHover&&a.hover(function(){a.manualPlay||a.manualPause||a.pause()},function(){a.manualPause||a.manualPlay||a.stopped||a.play()}),a.vars.pauseInvisible&&g.pauseInvisible.isHidden()||(a.vars.initDelay>0?a.startTimeout=setTimeout(a.play,a.vars.initDelay):a.play())),m&&g.asNav.setup(),l&&a.vars.touch&&g.touch(),(!f||f&&a.vars.smoothHeight)&&e(window).bind("resize orientationchange focus",g.resize),a.find("img").attr("draggable","false"),setTimeout(function(){a.vars.start(a)},200)},asNav:{setup:function(){a.asNav=!0,a.animatingTo=Math.floor(a.currentSlide/a.move),a.currentItem=a.currentSlide,a.slides.removeClass(r+"active-slide").eq(a.currentItem).addClass(r+"active-slide"),o?(i._slider=a,a.slides.each(function(){var t=this;t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),t.addEventListener("MSGestureTap",function(t){t.preventDefault();var i=e(this),n=i.index();e(a.vars.asNavFor).data("flexslider").animating||i.hasClass("active")||(a.direction=a.currentItem<n?"next":"prev",a.flexAnimate(n,a.vars.pauseOnAction,!1,!0,!0))})})):a.slides.on(c,function(t){t.preventDefault();var i=e(this),n=i.index();(a.vars.rtl?-1*(i.offset().right-e(a).scrollLeft()):i.offset().left-e(a).scrollLeft())<=0&&i.hasClass(r+"active-slide")?a.flexAnimate(a.getTarget("prev"),!0):e(a.vars.asNavFor).data("flexslider").animating||i.hasClass(r+"active-slide")||(a.direction=a.currentItem<n?"next":"prev",a.flexAnimate(n,a.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){a.manualControls?g.controlNav.setupManual():g.controlNav.setupPaging()},setupPaging:function(){var t,i,n="thumbnails"===a.vars.controlNav?"control-thumbs":"control-paging",s=1;if(a.controlNavScaffold=e('<ol class="'+r+"control-nav "+r+n+'"></ol>'),a.pagingCount>1)for(var o=0;o<a.pagingCount;o++){if(void 0===(i=a.slides.eq(o)).attr("data-thumb-alt")&&i.attr("data-thumb-alt",""),t=e("<a></a>").attr("href","#").text(s),"thumbnails"===a.vars.controlNav&&(t=e("<img/>").attr("src",i.attr("data-thumb"))),""!==i.attr("data-thumb-alt")&&t.attr("alt",i.attr("data-thumb-alt")),"thumbnails"===a.vars.controlNav&&!0===a.vars.thumbCaptions){var l=i.attr("data-thumbcaption");if(""!==l&&void 0!==l){var u=e("<span></span>").addClass(r+"caption").text(l);t.append(u)}}var h=e("<li>");t.appendTo(h),h.append("</li>"),a.controlNavScaffold.append(h),s++}a.controlsContainer?e(a.controlsContainer).append(a.controlNavScaffold):a.append(a.controlNavScaffold),g.controlNav.set(),g.controlNav.active(),a.controlNavScaffold.delegate("a, img",c,function(t){if(t.preventDefault(),""===d||d===t.type){var i=e(this),n=a.controlNav.index(i);i.hasClass(r+"active")||(a.direction=n>a.currentSlide?"next":"prev",a.flexAnimate(n,a.vars.pauseOnAction))}""===d&&(d=t.type),g.setToClearWatchedEvent()})},setupManual:function(){a.controlNav=a.manualControls,g.controlNav.active(),a.controlNav.bind(c,function(t){if(t.preventDefault(),""===d||d===t.type){var i=e(this),n=a.controlNav.index(i);i.hasClass(r+"active")||(n>a.currentSlide?a.direction="next":a.direction="prev",a.flexAnimate(n,a.vars.pauseOnAction))}""===d&&(d=t.type),g.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===a.vars.controlNav?"img":"a";a.controlNav=e("."+r+"control-nav li "+t,a.controlsContainer?a.controlsContainer:a)},active:function(){a.controlNav.removeClass(r+"active").eq(a.animatingTo).addClass(r+"active")},update:function(t,i){a.pagingCount>1&&"add"===t?a.controlNavScaffold.append(e('<li><a href="#">'+a.count+"</a></li>")):1===a.pagingCount?a.controlNavScaffold.find("li").remove():a.controlNav.eq(i).closest("li").remove(),g.controlNav.set(),a.pagingCount>1&&a.pagingCount!==a.controlNav.length?a.update(i,t):g.controlNav.active()}},directionNav:{setup:function(){var t=e('<ul class="'+r+'direction-nav"><li class="'+r+'nav-prev"><a class="'+r+'prev" href="#">'+a.vars.prevText+'</a></li><li class="'+r+'nav-next"><a class="'+r+'next" href="#">'+a.vars.nextText+"</a></li></ul>");a.customDirectionNav?a.directionNav=a.customDirectionNav:a.controlsContainer?(e(a.controlsContainer).append(t),a.directionNav=e("."+r+"direction-nav li a",a.controlsContainer)):(a.append(t),a.directionNav=e("."+r+"direction-nav li a",a)),g.directionNav.update(),a.directionNav.bind(c,function(t){var i;t.preventDefault(),""!==d&&d!==t.type||(i=e(this).hasClass(r+"next")?a.getTarget("next"):a.getTarget("prev"),a.flexAnimate(i,a.vars.pauseOnAction)),""===d&&(d=t.type),g.setToClearWatchedEvent()})},update:function(){var e=r+"disabled";1===a.pagingCount?a.directionNav.addClass(e).attr("tabindex","-1"):a.vars.animationLoop?a.directionNav.removeClass(e).removeAttr("tabindex"):0===a.animatingTo?a.directionNav.removeClass(e).filter("."+r+"prev").addClass(e).attr("tabindex","-1"):a.animatingTo===a.last?a.directionNav.removeClass(e).filter("."+r+"next").addClass(e).attr("tabindex","-1"):a.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=e('<div class="'+r+'pauseplay"><a href="#"></a></div>');a.controlsContainer?(a.controlsContainer.append(t),a.pausePlay=e("."+r+"pauseplay a",a.controlsContainer)):(a.append(t),a.pausePlay=e("."+r+"pauseplay a",a)),g.pausePlay.update(a.vars.slideshow?r+"pause":r+"play"),a.pausePlay.bind(c,function(t){t.preventDefault(),""!==d&&d!==t.type||(e(this).hasClass(r+"pause")?(a.manualPause=!0,a.manualPlay=!1,a.pause()):(a.manualPause=!1,a.manualPlay=!0,a.play())),""===d&&(d=t.type),g.setToClearWatchedEvent()})},update:function(e){"play"===e?a.pausePlay.removeClass(r+"pause").addClass(r+"play").html(a.vars.playText):a.pausePlay.removeClass(r+"play").addClass(r+"pause").html(a.vars.pauseText)}},touch:function(){var e,t,n,s,r,l,c,d,m,g=!1,v=0,y=0,b=0;o?(i.style.msTouchAction="none",i._gesture=new MSGesture,i._gesture.target=i,i.addEventListener("MSPointerDown",function(e){e.stopPropagation(),a.animating?e.preventDefault():(a.pause(),i._gesture.addPointer(e.pointerId),b=0,s=u?a.h:a.w,l=Number(new Date),n=p&&h&&a.animatingTo===a.last?0:p&&h?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:p&&a.currentSlide===a.last?a.limit:p?(a.itemW+a.vars.itemMargin)*a.move*a.currentSlide:h?(a.last-a.currentSlide+a.cloneOffset)*s:(a.currentSlide+a.cloneOffset)*s)},!1),i._slider=a,i.addEventListener("MSGestureChange",function(e){e.stopPropagation();var t=e.target._slider;if(t){var a=-e.translationX,o=-e.translationY;if(b+=u?o:a,r=(t.vars.rtl?-1:1)*b,g=u?Math.abs(b)<Math.abs(-a):Math.abs(b)<Math.abs(-o),e.detail===e.MSGESTURE_FLAG_INERTIA)return void setImmediate(function(){i._gesture.stop()});(!g||Number(new Date)-l>500)&&(e.preventDefault(),!f&&t.transitions&&(t.vars.animationLoop||(r=b/(0===t.currentSlide&&b<0||t.currentSlide===t.last&&b>0?Math.abs(b)/s+2:1)),t.setProps(n+r,"setTouch")))}},!1),i.addEventListener("MSGestureEnd",function(i){i.stopPropagation();var a=i.target._slider;if(a){if(a.animatingTo===a.currentSlide&&!g&&null!==r){var o=h?-r:r,c=o>0?a.getTarget("next"):a.getTarget("prev");a.canAdvance(c)&&(Number(new Date)-l<550&&Math.abs(o)>50||Math.abs(o)>s/2)?a.flexAnimate(c,a.vars.pauseOnAction):f||a.flexAnimate(a.currentSlide,a.vars.pauseOnAction,!0)}e=null,t=null,r=null,n=null,b=0}},!1)):(c=function(r){a.animating?r.preventDefault():(window.navigator.msPointerEnabled||1===r.touches.length)&&(a.pause(),s=u?a.h:a.w,l=Number(new Date),v=r.touches[0].pageX,y=r.touches[0].pageY,n=p&&h&&a.animatingTo===a.last?0:p&&h?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:p&&a.currentSlide===a.last?a.limit:p?(a.itemW+a.vars.itemMargin)*a.move*a.currentSlide:h?(a.last-a.currentSlide+a.cloneOffset)*s:(a.currentSlide+a.cloneOffset)*s,e=u?y:v,t=u?v:y,i.addEventListener("touchmove",d,!1),i.addEventListener("touchend",m,!1))},d=function(i){v=i.touches[0].pageX,y=i.touches[0].pageY,r=u?e-y:(a.vars.rtl?-1:1)*(e-v);(!(g=u?Math.abs(r)<Math.abs(v-t):Math.abs(r)<Math.abs(y-t))||Number(new Date)-l>500)&&(i.preventDefault(),!f&&a.transitions&&(a.vars.animationLoop||(r/=0===a.currentSlide&&r<0||a.currentSlide===a.last&&r>0?Math.abs(r)/s+2:1),a.setProps(n+r,"setTouch")))},m=function(o){if(i.removeEventListener("touchmove",d,!1),a.animatingTo===a.currentSlide&&!g&&null!==r){var c=h?-r:r,u=c>0?a.getTarget("next"):a.getTarget("prev");a.canAdvance(u)&&(Number(new Date)-l<550&&Math.abs(c)>50||Math.abs(c)>s/2)?a.flexAnimate(u,a.vars.pauseOnAction):f||a.flexAnimate(a.currentSlide,a.vars.pauseOnAction,!0)}i.removeEventListener("touchend",m,!1),e=null,t=null,r=null,n=null},i.addEventListener("touchstart",c,!1))},resize:function(){!a.animating&&a.is(":visible")&&(p||a.doMath(),f?g.smoothHeight():p?(a.slides.width(a.computedW),a.update(a.pagingCount),a.setProps()):u?(a.viewport.height(a.h),a.setProps(a.h,"setTotal")):(a.vars.smoothHeight&&g.smoothHeight(),a.newSlides.width(a.computedW),a.setProps(a.computedW,"setTotal")))},smoothHeight:function(e){if(!u||f){var t=f?a:a.viewport;e?t.animate({height:a.slides.eq(a.animatingTo).innerHeight()},e):t.innerHeight(a.slides.eq(a.animatingTo).innerHeight())}},sync:function(t){var i=e(a.vars.sync).data("flexslider"),n=a.animatingTo;switch(t){case"animate":i.flexAnimate(n,a.vars.pauseOnAction,!1,!0);break;case"play":i.playing||i.asNav||i.play();break;case"pause":i.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=e(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var e=g.pauseInvisible.getHiddenProp();if(e){var t=e.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(t,function(){g.pauseInvisible.isHidden()?a.startTimeout?clearTimeout(a.startTimeout):a.pause():a.started?a.play():a.vars.initDelay>0?setTimeout(a.play,a.vars.initDelay):a.play()})}},isHidden:function(){var e=g.pauseInvisible.getHiddenProp();return!!e&&document[e]},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(s),s=setTimeout(function(){d=""},3e3)}},a.flexAnimate=function(t,i,n,s,o){if(a.vars.animationLoop||t===a.currentSlide||(a.direction=t>a.currentSlide?"next":"prev"),m&&1===a.pagingCount&&(a.direction=a.currentItem<t?"next":"prev"),!a.animating&&(a.canAdvance(t,o)||n)&&a.is(":visible")){if(m&&s){var c=e(a.vars.asNavFor).data("flexslider");if(a.atEnd=0===t||t===a.count-1,c.flexAnimate(t,!0,!1,!0,o),a.direction=a.currentItem<t?"next":"prev",c.direction=a.direction,Math.ceil((t+1)/a.visible)-1===a.currentSlide||0===t)return a.currentItem=t,a.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),!1;a.currentItem=t,a.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),t=Math.floor(t/a.visible)}if(a.animating=!0,a.animatingTo=t,i&&a.pause(),a.vars.before(a),a.syncExists&&!o&&g.sync("animate"),a.vars.controlNav&&g.controlNav.active(),p||a.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),a.atEnd=0===t||t===a.last,a.vars.directionNav&&g.directionNav.update(),t===a.last&&(a.vars.end(a),a.vars.animationLoop||a.pause()),f)l?(a.slides.eq(a.currentSlide).css({opacity:0,zIndex:1}),a.slides.eq(t).css({opacity:1,zIndex:2}),a.wrapup(b)):(a.slides.eq(a.currentSlide).css({zIndex:1}).animate({opacity:0},a.vars.animationSpeed,a.vars.easing),a.slides.eq(t).css({zIndex:2}).animate({opacity:1},a.vars.animationSpeed,a.vars.easing,a.wrapup));else{var d,v,y,b=u?a.slides.filter(":first").height():a.computedW;p?(d=a.vars.itemMargin,v=(y=(a.itemW+d)*a.move*a.animatingTo)>a.limit&&1!==a.visible?a.limit:y):v=0===a.currentSlide&&t===a.count-1&&a.vars.animationLoop&&"next"!==a.direction?h?(a.count+a.cloneOffset)*b:0:a.currentSlide===a.last&&0===t&&a.vars.animationLoop&&"prev"!==a.direction?h?0:(a.count+1)*b:h?(a.count-1-t+a.cloneOffset)*b:(t+a.cloneOffset)*b,a.setProps(v,"",a.vars.animationSpeed),a.transitions?(a.vars.animationLoop&&a.atEnd||(a.animating=!1,a.currentSlide=a.animatingTo),a.container.unbind("webkitTransitionEnd transitionend"),a.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(a.ensureAnimationEnd),a.wrapup(b)}),clearTimeout(a.ensureAnimationEnd),a.ensureAnimationEnd=setTimeout(function(){a.wrapup(b)},a.vars.animationSpeed+100)):a.container.animate(a.args,a.vars.animationSpeed,a.vars.easing,function(){a.wrapup(b)})}a.vars.smoothHeight&&g.smoothHeight(a.vars.animationSpeed)}},a.wrapup=function(e){f||p||(0===a.currentSlide&&a.animatingTo===a.last&&a.vars.animationLoop?a.setProps(e,"jumpEnd"):a.currentSlide===a.last&&0===a.animatingTo&&a.vars.animationLoop&&a.setProps(e,"jumpStart")),a.animating=!1,a.currentSlide=a.animatingTo,a.vars.after(a)},a.animateSlides=function(){!a.animating&&t&&a.flexAnimate(a.getTarget("next"))},a.pause=function(){clearInterval(a.animatedSlides),a.animatedSlides=null,a.playing=!1,a.vars.pausePlay&&g.pausePlay.update("play"),a.syncExists&&g.sync("pause")},a.play=function(){a.playing&&clearInterval(a.animatedSlides),a.animatedSlides=a.animatedSlides||setInterval(a.animateSlides,a.vars.slideshowSpeed),a.started=a.playing=!0,a.vars.pausePlay&&g.pausePlay.update("pause"),a.syncExists&&g.sync("play")},a.stop=function(){a.pause(),a.stopped=!0},a.canAdvance=function(e,t){var i=m?a.pagingCount-1:a.last;return!(!t&&(!m||a.currentItem!==a.count-1||0!==e||"prev"!==a.direction)&&(m&&0===a.currentItem&&e===a.pagingCount-1&&"next"!==a.direction||e===a.currentSlide&&!m||!a.vars.animationLoop&&(a.atEnd&&0===a.currentSlide&&e===i&&"next"!==a.direction||a.atEnd&&a.currentSlide===i&&0===e&&"next"===a.direction)))},a.getTarget=function(e){return a.direction=e,"next"===e?a.currentSlide===a.last?0:a.currentSlide+1:0===a.currentSlide?a.last:a.currentSlide-1},a.setProps=function(e,t,i){var n=function(){var i=e||(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo;return function(){if(p)return"setTouch"===t?e:h&&a.animatingTo===a.last?0:h?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:a.animatingTo===a.last?a.limit:i;switch(t){case"setTotal":return h?(a.count-1-a.currentSlide+a.cloneOffset)*e:(a.currentSlide+a.cloneOffset)*e;case"setTouch":return e;case"jumpEnd":return h?e:a.count*e;case"jumpStart":return h?a.count*e:e;default:return e}}()*(a.vars.rtl?1:-1)+"px"}();a.transitions&&(n=a.isFirefox?u?"translate3d(0,"+n+",0)":"translate3d("+parseInt(n)+"px,0,0)":u?"translate3d(0,"+n+",0)":"translate3d("+(a.vars.rtl?-1:1)*parseInt(n)+"px,0,0)",i=void 0!==i?i/1e3+"s":"0s",a.container.css("-"+a.pfx+"-transition-duration",i),a.container.css("transition-duration",i)),a.args[a.prop]=n,(a.transitions||void 0===i)&&a.container.css(a.args),a.container.css("transform",n)},a.setup=function(t){var i,n;f?(a.vars.rtl?a.slides.css({width:"100%",float:"right",marginLeft:"-100%",position:"relative"}):a.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(l?a.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+a.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(a.currentSlide).css({opacity:1,zIndex:2}):0==a.vars.fadeFirstSlide?a.slides.css({opacity:0,display:"block",zIndex:1}).eq(a.currentSlide).css({zIndex:2}).css({opacity:1}):a.slides.css({opacity:0,display:"block",zIndex:1}).eq(a.currentSlide).css({zIndex:2}).animate({opacity:1},a.vars.animationSpeed,a.vars.easing)),a.vars.smoothHeight&&g.smoothHeight()):("init"===t&&(a.viewport=e('<div class="'+r+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(a).append(a.container),a.cloneCount=0,a.cloneOffset=0,h&&(n=e.makeArray(a.slides).reverse(),a.slides=e(n),a.container.empty().append(a.slides))),a.vars.animationLoop&&!p&&(a.cloneCount=2,a.cloneOffset=1,"init"!==t&&a.container.find(".clone").remove(),a.container.append(g.uniqueID(a.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(g.uniqueID(a.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),a.newSlides=e(a.vars.selector,a),i=h?a.count-1-a.currentSlide+a.cloneOffset:a.currentSlide+a.cloneOffset,u&&!p?(a.container.height(200*(a.count+a.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){a.newSlides.css({display:"block"}),a.doMath(),a.viewport.height(a.h),a.setProps(i*a.h,"init")},"init"===t?100:0)):(a.container.width(200*(a.count+a.cloneCount)+"%"),a.setProps(i*a.computedW,"init"),setTimeout(function(){a.doMath(),a.vars.rtl&&a.isFirefox?a.newSlides.css({width:a.computedW,marginRight:a.computedM,float:"right",display:"block"}):a.newSlides.css({width:a.computedW,marginRight:a.computedM,float:"left",display:"block"}),a.vars.smoothHeight&&g.smoothHeight()},"init"===t?100:0)));p||a.slides.removeClass(r+"active-slide").eq(a.currentSlide).addClass(r+"active-slide"),a.vars.init(a)},a.doMath=function(){var e=a.slides.first(),t=a.vars.itemMargin,i=a.vars.minItems,n=a.vars.maxItems;a.w=void 0===a.viewport?a.width():a.viewport.width(),a.isFirefox&&(a.w=a.width()),a.h=e.height(),a.boxPadding=e.outerWidth()-e.width(),p?(a.itemT=a.vars.itemWidth+t,a.itemM=t,a.minW=i?i*a.itemT:a.w,a.maxW=n?n*a.itemT-t:a.w,a.itemW=a.minW>a.w?(a.w-t*(i-1))/i:a.maxW<a.w?(a.w-t*(n-1))/n:a.vars.itemWidth>a.w?a.w:a.vars.itemWidth,a.visible=Math.floor(a.w/a.itemW),a.move=a.vars.move>0&&a.vars.move<a.visible?a.vars.move:a.visible,a.pagingCount=Math.ceil((a.count-a.visible)/a.move+1),a.last=a.pagingCount-1,a.limit=1===a.pagingCount?0:a.vars.itemWidth>a.w?a.itemW*(a.count-1)+t*(a.count-1):(a.itemW+t)*a.count-a.w-t):(a.itemW=a.w,a.itemM=t,a.pagingCount=a.count,a.last=a.count-1),a.computedW=a.itemW-a.boxPadding,a.computedM=a.itemM},a.update=function(e,t){a.doMath(),p||(e<a.currentSlide?a.currentSlide+=1:e<=a.currentSlide&&0!==e&&(a.currentSlide-=1),a.animatingTo=a.currentSlide),a.vars.controlNav&&!a.manualControls&&("add"===t&&!p||a.pagingCount>a.controlNav.length?g.controlNav.update("add"):("remove"===t&&!p||a.pagingCount<a.controlNav.length)&&(p&&a.currentSlide>a.last&&(a.currentSlide-=1,a.animatingTo-=1),g.controlNav.update("remove",a.last))),a.vars.directionNav&&g.directionNav.update()},a.addSlide=function(t,i){var n=e(t);a.count+=1,a.last=a.count-1,u&&h?void 0!==i?a.slides.eq(a.count-i).after(n):a.container.prepend(n):void 0!==i?a.slides.eq(i).before(n):a.container.append(n),a.update(i,"add"),a.slides=e(a.vars.selector+":not(.clone)",a),a.setup(),a.vars.added(a)},a.removeSlide=function(t){var i=isNaN(t)?a.slides.index(e(t)):t;a.count-=1,a.last=a.count-1,isNaN(t)?e(t,a.slides).remove():u&&h?a.slides.eq(a.last).remove():a.slides.eq(t).remove(),a.doMath(),a.update(i,"remove"),a.slides=e(a.vars.selector+":not(.clone)",a),a.setup(),a.vars.removed(a)},g.init()},e(window).blur(function(e){t=!1}).focus(function(e){t=!0}),e.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,isFirefox:!1,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:!1},e.fn.flexslider=function(t){if(void 0===t&&(t={}),"object"==typeof t)return this.each(function(){var i=e(this),n=t.selector?t.selector:".slides > li",a=i.find(n);1===a.length&&!1===t.allowOneSlide||0===a.length?(a.fadeIn(400),t.start&&t.start(i)):void 0===i.data("flexslider")&&new e.flexslider(this,t)});var i=e(this).data("flexslider");switch(t){case"play":i.play();break;case"pause":i.pause();break;case"stop":i.stop();break;case"next":i.flexAnimate(i.getTarget("next"),!0);break;case"prev":case"previous":i.flexAnimate(i.getTarget("prev"),!0);break;default:"number"==typeof t&&i.flexAnimate(t,!0)}}}(jQuery),window.SEMICOLON_flexSliderInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.find(".lazy"),i=e.attr("data-animation")||"slide",n=e.attr("data-easing")||"swing",a=e.attr("data-direction")||"horizontal",s=e.attr("data-reverse"),r=e.attr("data-slideshow"),o=e.attr("data-pause")||5e3,l=e.attr("data-speed")||600,c=e.attr("data-video"),d=e.attr("data-pagi"),u=e.attr("data-arrows"),h=e.attr("data-arrow-left")||"icon-angle-left",p=e.attr("data-arrow-right")||"icon-angle-right",f=e.attr("data-thumbs"),m=e.attr("data-hover"),g=e.attr("data-smooth-height"),v=e.attr("data-touch"),y=!1;"swing"==n&&(n="swing",y=!0),s="true"==s,r=!r,c||(c=!1),g="false"!=g,"vertical"==a&&(g=!1),d="false"!=d,d="true"==f?"thumbnails":d,u="false"!=u,m="false"!=m,v="false"!=v,e.find(".flexslider").flexslider({selector:".slider-wrap > .slide",animation:i,easing:n,direction:a,reverse:s,slideshow:r,slideshowSpeed:Number(o),animationSpeed:Number(l),pauseOnHover:m,video:c,controlNav:d,directionNav:u,smoothHeight:g,useCSS:y,touch:v,start:function(t){SEMICOLON.widget.animations(),SEMICOLON.initialize.lightbox({parent:e}),$(".flex-prev").html('<i class="'+h+'"></i>'),$(".flex-next").html('<i class="'+p+'"></i>'),setTimeout(function(){t.parents(".grid-container.has-init-isotope").length>0&&t.parents(".grid-container.has-init-isotope").isotope("layout")},1200),"undefined"!=typeof skrollrInstance&&skrollrInstance.refresh()},after:function(e){e.parents(".grid-container.has-init-isotope").length>0&&e.parents(".grid-container.has-init-isotope").isotope("layout"),$(".menu-item:visible").find(".flexslider .slide").resize()}}),$(window).on("lazyLoadLoaded",function(){t.length==e.find(".lazy.lazy-loaded").length&&(lazyLoadInstance.update(),setTimeout(function(){e.find(".flexslider").resize()},500))})})},function(e){e.fn.jflickrfeed=function(t,i){var n,a=(t=e.extend(!0,{flickrbase:"https://api.flickr.com/services/feeds/",feedapi:"photos_public.gne",limit:20,qstrings:{lang:"en-us",format:"json",jsoncallback:"?"},cleanDescription:!0,useTemplate:!0,itemTemplate:"",itemCallback:function(){}},t)).flickrbase+t.feedapi+"?",s=!0;for(n in t.qstrings)s||(a+="&"),a+=n+"="+t.qstrings[n],s=!1;return e(this).each(function(){var n=e(this),s=this;e.getJSON(a,function(a){e.each(a.items,function(e,i){var a,r,o,l;if(e<t.limit){if(t.cleanDescription&&(a=/<p>(.*?)<\/p>/g,r=i.description,a.test(r)&&(i.description=r.match(a)[2],void 0!==i.description&&(i.description=i.description.replace("<p>","").replace("</p>","")))),i.image_s=i.media.m.replace("_m","_s"),i.image_t=i.media.m.replace("_m","_t"),i.image_m=i.media.m.replace("_m","_m"),i.image=i.media.m.replace("_m",""),i.image_b=i.media.m.replace("_m","_b"),i.image_q=i.media.m.replace("_m","_q"),delete i.media,t.useTemplate){for(o in l=t.itemTemplate,i)a=new RegExp("{{"+o+"}}","g"),l=l.replace(a,i[o]);n.append(l)}t.itemCallback.call(s,i)}}),e.isFunction(i)&&i.call(s,a)})})}}(jQuery),window.SEMICOLON_flickrFeedInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-id"),i=e.attr("data-count")||9,n="photos_public.gne";"group"==e.attr("data-type")&&(n="groups_pool.gne"),e.jflickrfeed({feedapi:n,limit:Number(i),qstrings:{id:t},itemTemplate:'<a class="grid-item" href="{{image_b}}" title="{{title}}" data-lightbox="gallery-item"><img src="{{image_s}}" alt="{{title}}" /></a>'},function(t){SEMICOLON.initialize.lightbox({parent:e})})})},function(e){e.fn.gMap=function(t,i){switch(t){case"addMarker":return e(this).trigger("gMap.addMarker",[i.latitude,i.longitude,i.content,i.icon,i.popup]);case"centerAt":return e(this).trigger("gMap.centerAt",[i.latitude,i.longitude,i.zoom]);case"clearMarkers":return e(this).trigger("gMap.clearMarkers")}var n=e.extend({},e.fn.gMap.defaults,t);return this.each(function(){var t=new google.maps.Map(this);e(this).data("gMap.reference",t);var i=new google.maps.Geocoder;n.address?i.geocode({address:n.address},function(e){e&&e.length&&t.setCenter(e[0].geometry.location)}):n.latitude&&n.longitude?t.setCenter(new google.maps.LatLng(n.latitude,n.longitude)):e.isArray(n.markers)&&n.markers.length>0?n.markers[0].address?i.geocode({address:n.markers[0].address},function(e){e&&e.length>0&&t.setCenter(e[0].geometry.location)}):t.setCenter(new google.maps.LatLng(n.markers[0].latitude,n.markers[0].longitude)):t.setCenter(new google.maps.LatLng(34.885931,9.84375)),t.setZoom(n.zoom),t.setMapTypeId(google.maps.MapTypeId[n.maptype]);var a={scrollwheel:n.scrollwheel,disableDoubleClickZoom:!n.doubleclickzoom};!1===n.controls?e.extend(a,{disableDefaultUI:!0}):0!==n.controls.length&&e.extend(a,n.controls,{disableDefaultUI:!0}),t.setOptions(a),t.setOptions({styles:n.styles});var s,r,o=new google.maps.Marker;(s=new google.maps.MarkerImage(n.icon.image)).size=new google.maps.Size(n.icon.iconsize[0],n.icon.iconsize[1]),s.anchor=new google.maps.Point(n.icon.iconanchor[0],n.icon.iconanchor[1]),o.setIcon(s),n.icon.shadow&&((r=new google.maps.MarkerImage(n.icon.shadow)).size=new google.maps.Size(n.icon.shadowsize[0],n.icon.shadowsize[1]),r.anchor=new google.maps.Point(n.icon.shadowanchor[0],n.icon.shadowanchor[1]),o.setShadow(r)),e(this).bind("gMap.centerAt",function(e,i,n,a){a&&t.setZoom(a),t.panTo(new google.maps.LatLng(parseFloat(i),parseFloat(n)))});var l,c=[];e(this).bind("gMap.clearMarkers",function(){for(;c[0];)c.pop().setMap(null)}),e(this).bind("gMap.addMarker",function(e,i,a,s,r,d){var u,h,p=new google.maps.LatLng(parseFloat(i),parseFloat(a)),f=new google.maps.Marker({position:p});if(r?((u=new google.maps.MarkerImage(r.image)).size=new google.maps.Size(r.iconsize[0],r.iconsize[1]),u.anchor=new google.maps.Point(r.iconanchor[0],r.iconanchor[1]),f.setIcon(u),r.shadow&&((h=new google.maps.MarkerImage(r.shadow)).size=new google.maps.Size(r.shadowsize[0],r.shadowsize[1]),h.anchor=new google.maps.Point(r.shadowanchor[0],r.shadowanchor[1]),o.setShadow(h))):(f.setIcon(o.getIcon()),f.setShadow(o.getShadow())),s){"_latlng"===s&&(s=i+", "+a);var m=new google.maps.InfoWindow({content:n.html_prepend+s+n.html_append});google.maps.event.addListener(f,"click",function(){l&&l.close(),m.open(t,f),l=m}),d&&google.maps.event.addListenerOnce(t,"tilesloaded",function(){m.open(t,f)})}f.setMap(t),c.push(f)});for(var d,u=this,h=function(t){return function(i){i&&i.length>0&&e(u).trigger("gMap.addMarker",[i[0].geometry.location.lat(),i[0].geometry.location.lng(),t.html,t.icon,t.popup])}},p=0;p<n.markers.length;p++)(d=n.markers[p]).address?("_address"===d.html&&(d.html=d.address),i.geocode({address:d.address},h(d))):e(this).trigger("gMap.addMarker",[d.latitude,d.longitude,d.html,d.icon,d.popup])})},e.fn.gMap.defaults={address:"",latitude:0,longitude:0,zoom:1,markers:[],controls:[],styles:[],scrollwheel:!1,doubleclickzoom:!0,maptype:"ROADMAP",html_prepend:'<div class="gmap_marker">',html_append:"</div>",icon:{image:"https://www.google.com/mapfiles/marker.png",shadow:"https://www.google.com/mapfiles/shadow50.png",iconsize:[20,34],shadowsize:[37,34],iconanchor:[9,34],shadowanchor:[6,34]}}}(jQuery),window.SEMICOLON_gmapInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-latitude"),i=e.attr("data-longitude"),n=e.attr("data-address"),a=e.attr("data-content"),s=e.attr("data-scrollwheel")||!0,r=e.attr("data-maptype")||"ROADMAP",o=e.attr("data-zoom")||12,l=e.attr("data-styles"),c=e.attr("data-markers"),d=e.attr("data-icon"),u=e.attr("data-control-pan")||!1,h=e.attr("data-control-zoom")||!1,p=e.attr("data-control-maptype")||!1,f=e.attr("data-control-scale")||!1,m=e.attr("data-control-streetview")||!1,g=e.attr("data-control-overview")||!1;if(n)t=i=!1;else if(!t&&!i)return console.log("Google Map co-ordinates not entered."),!0;l&&(l=JSON.parse(l)),"false"==s&&(s=!1),"true"==u&&(u=!0),"true"==h&&(h=!0),"true"==p&&(p=!0),"true"==f&&(f=!0),"true"==m&&(m=!0),"true"==g&&(g=!0),c=c?Function("return "+c)():n?[{address:n,html:a||n}]:[{latitude:t,longitude:i,html:a||!1}],d=d?Function("return "+d)():{image:"https://www.google.com/mapfiles/marker.png",shadow:"https://www.google.com/mapfiles/shadow50.png",iconsize:[20,34],shadowsize:[37,34],iconanchor:[9,34],shadowanchor:[19,34]},e.gMap({controls:{panControl:u,zoomControl:h,mapTypeControl:p,scaleControl:f,streetViewControl:m,overviewMapControl:g},scrollwheel:s,maptype:r,markers:c,icon:d,latitude:t,longitude:i,address:n,zoom:Number(o),styles:l})})},window.scwGridFilterPlugin=window.scwGridFilterPlugin||{},window.SEMICOLON_gridFilterInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-container"),i=e.attr("data-active-class"),n=e.attr("data-default");i||(i="activeFilter"),e.find("a").off("click").on("click",function(){e.find("li").removeClass(i),$(this).parent("li").addClass(i);let n=$(this).attr("data-filter");return $(t).isotope({filter:n}),!1}),n&&(e.find("li").removeClass(i),e.find('[data-filter="'+n+'"]').parent("li").addClass(i),$(t).isotope({filter:n}))}),$(".grid-shuffle").off("click").on("click",function(){let e=$(this).attr("data-container");$(e).isotope("shuffle")})},window.scwHoverAnimationPlugin=window.scwHoverAnimationPlugin||{},window.SEMICOLON_hoverAnimationInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-hover-animate"),i=e.attr("data-hover-animate-out")||"fadeOut",n=e.attr("data-hover-speed")||600,a=e.attr("data-hover-delay"),s=e.attr("data-hover-parent"),r=e.attr("data-hover-reset")||"false";e.addClass("not-animated"),s=s?"self"==s?e:e.parents(s):e.parents(".bg-overlay").length>0?e.parents(".bg-overlay"):e;let o,l,c=0;a&&(c=Number(a)),n&&e.css({"animation-duration":Number(n)+"ms"}),s.hover(function(){clearTimeout(l),o=setTimeout(function(){e.addClass("not-animated").removeClass(i+" not-animated").addClass(t+" animated")},c)},function(){e.addClass("not-animated").removeClass(t+" not-animated").addClass(i+" animated"),"true"==r&&(l=setTimeout(function(){e.removeClass(i+" animated").addClass("not-animated")},Number(n))),clearTimeout(o)})})},window.scwHtml5VideoPlugin=window.scwHtml5VideoPlugin||{},window.SEMICOLON_html5VideoInit=function(e){if(e.length<1)return!0;e.each(function(){let e=$(this),t=e.find("video"),i=e.outerWidth(),n=e.outerHeight(),a=16*n/9,s=n;if(a<i&&(a=i,s=9*i/16),t.css({width:a+"px",height:s+"px"}),s>n&&t.css({left:"",top:-(s-n)/2+"px"}),a>i&&t.css({top:"",left:-(a-i)/2+"px"}),SEMICOLON.isMobile.any()&&!e.hasClass("no-placeholder")){let i=t.attr("poster");""!=i&&e.append('<div class="video-placeholder" style="background-image: url('+i+');"></div>'),t.hide()}})},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){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return-1==n.indexOf(t)&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return-1!=n&&i.splice(n,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],a=0;a<i.length;a++){var s=i[a];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}),function(e,t){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.imagesLoaded=t(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){function i(e,t){for(var i in t)e[i]=t[i];return e}function n(e,t,a){if(!(this instanceof n))return new n(e,t,a);var s=e;return"string"==typeof e&&(s=document.querySelectorAll(e)),s?(this.elements=function(e){return Array.isArray(e)?e:"object"==typeof e&&"number"==typeof e.length?l.call(e):[e]}(s),this.options=i({},this.options),"function"==typeof t?a=t:i(this.options,t),a&&this.on("always",a),this.getImages(),r&&(this.jqDeferred=new r.Deferred),void setTimeout(this.check.bind(this))):void o.error("Bad element for imagesLoaded "+(s||e))}function a(e){this.img=e}function s(e,t){this.url=e,this.element=t,this.img=new Image}var r=e.jQuery,o=e.console,l=Array.prototype.slice;n.prototype=Object.create(t.prototype),n.prototype.options={},n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},n.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&c[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var a=i[n];this.addImage(a)}if("string"==typeof this.options.background){var s=e.querySelectorAll(this.options.background);for(n=0;n<s.length;n++){var r=s[n];this.addElementBackgroundImages(r)}}}};var c={1:!0,9:!0,11:!0};return n.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var a=n&&n[2];a&&this.addBackground(a,e),n=i.exec(t.backgroundImage)}},n.prototype.addImage=function(e){var t=new a(e);this.images.push(t)},n.prototype.addBackground=function(e,t){var i=new s(e,t);this.images.push(i)},n.prototype.check=function(){function e(e,i,n){setTimeout(function(){t.progress(e,i,n)})}var t=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},n.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&&o&&o.log("progress: "+i,e,t)},n.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},a.prototype=Object.create(t.prototype),a.prototype.check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},a.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},a.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},a.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},a.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},a.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},a.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(a.prototype),s.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())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},n.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((r=t).fn.imagesLoaded=function(e,t){return new n(this,e,t).jqDeferred.promise(r(this))})},n.makeJQueryPlugin(),n}),window.scwInstagramPlugin=window.scwInstagramPlugin||{},window.SEMICOLON_instagramPhotosInit=function(e){if(e.length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-count")||12,i=e.attr("data-loader")||"include/instagram/instagram.php",n=e.attr("data-fetch-message")||"Fetching Photos from Instagram...";Number(t)>12&&(t=12),SEMICOLON_getInstagramPhotos(e,i,t,n)})},window.SEMICOLON_getInstagramPhotos=function(e,t,i,n){e.after('<div class="alert alert-warning instagram-widget-alert text-center"><div class="spinner-grow spinner-grow-sm mr-2" role="status"><span class="visually-hidden">Loading...</span></div> '+n+"</div>"),$.getJSON(t,function(t){if(t.length>0){e.parents().find(".instagram-widget-alert").remove();for(let n=0;n<i;n++){if(n===i)continue;let a=t[n],s=a.media_url;"VIDEO"===a.media_type&&(s=a.thumbnail_url),e.append('<a class="grid-item" href="'+a.permalink+'" target="_blank"><img src="'+s+'" alt="Image"></a>')}}e.removeClass("customjs"),setTimeout(function(){SEMICOLON.widget.gridInit(),SEMICOLON.widget.masonryThumbs()},500)})},function(e,t){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("jquery")):e.jQueryBridget=t(e,e.jQuery)}(window,function(e,t){"use strict";function i(i,s,o){(o=o||t||e.jQuery)&&(s.prototype.option||(s.prototype.option=function(e){o.isPlainObject(e)&&(this.options=o.extend(!0,this.options,e))}),o.fn[i]=function(e){return"string"==typeof e?function(e,t,n){var a,s="$()."+i+'("'+t+'")';return e.each(function(e,l){var c=o.data(l,i);if(c){var d=c[t];if(d&&"_"!=t.charAt(0)){var u=d.apply(c,n);a=void 0===a?u:a}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==a?a:e}(this,e,a.call(arguments,1)):(function(e,t){e.each(function(e,n){var a=o.data(n,i);a?(a.option(t),a._init()):(a=new s(n,t),o.data(n,i,a))})}(this,e),this)},n(o))}function n(e){!e||e&&e.bridget||(e.bridget=i)}var a=Array.prototype.slice,s=e.console,r=void 0===s?function(){}:function(e){s.error(e)};return n(t||e.jQuery),i}),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){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return-1==n.indexOf(t)&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return-1!=n&&i.splice(n,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],a=0;a<i.length;a++){var s=i[a];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}),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 e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}function t(e){var t=getComputedStyle(e);return t||s("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}function i(){if(!l){l=!0;var i=document.createElement("div");i.style.width="200px",i.style.padding="1px 2px 3px 4px",i.style.borderStyle="solid",i.style.borderWidth="1px 2px 3px 4px",i.style.boxSizing="border-box";var s=document.body||document.documentElement;s.appendChild(i);var r=t(i);a=200==Math.round(e(r.width)),n.isBoxSizeOuter=a,s.removeChild(i)}}function n(n){if(i(),"string"==typeof n&&(n=document.querySelector(n)),n&&"object"==typeof n&&n.nodeType){var s=t(n);if("none"==s.display)return function(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<o;t++)e[r[t]]=0;return e}();var l={};l.width=n.offsetWidth,l.height=n.offsetHeight;for(var c=l.isBorderBox="border-box"==s.boxSizing,d=0;d<o;d++){var u=r[d],h=s[u],p=parseFloat(h);l[u]=isNaN(p)?0:p}var f=l.paddingLeft+l.paddingRight,m=l.paddingTop+l.paddingBottom,g=l.marginLeft+l.marginRight,v=l.marginTop+l.marginBottom,y=l.borderLeftWidth+l.borderRightWidth,b=l.borderTopWidth+l.borderBottomWidth,w=c&&a,_=e(s.width);!1!==_&&(l.width=_+(w?0:f+y));var T=e(s.height);return!1!==T&&(l.height=T+(w?0:m+b)),l.innerWidth=l.width-(f+y),l.innerHeight=l.height-(m+b),l.outerWidth=l.width+g,l.outerHeight=l.height+v,l}}var a,s="undefined"==typeof console?function(){}:function(e){console.error(e)},r=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],o=r.length,l=!1;return n}),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 e=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(t,i){return t[e](i)}}),function(e,t){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("desandro-matches-selector")):e.fizzyUIUtils=t(e,e.matchesSelector)}(window,function(e,t){var i={extend:function(e,t){for(var i in t)e[i]=t[i];return e},modulo:function(e,t){return(e%t+t)%t}},n=Array.prototype.slice;i.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?n.call(e):[e]},i.removeFrom=function(e,t){var i=e.indexOf(t);-1!=i&&e.splice(i,1)},i.getParent=function(e,i){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,t(e,i))return e},i.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},i.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.filterFindElements=function(e,n){e=i.makeArray(e);var a=[];return e.forEach(function(e){if(e instanceof HTMLElement){if(!n)return void a.push(e);t(e,n)&&a.push(e);for(var i=e.querySelectorAll(n),s=0;s<i.length;s++)a.push(i[s])}}),a},i.debounceMethod=function(e,t,i){i=i||100;var n=e.prototype[t],a=t+"Timeout";e.prototype[t]=function(){var e=this[a];clearTimeout(e);var t=arguments,s=this;this[a]=setTimeout(function(){n.apply(s,t),delete s[a]},i)}},i.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},i.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,i){return t+"-"+i}).toLowerCase()};var a=e.console;return i.htmlInit=function(t,n){i.docReady(function(){var s=i.toDashed(n),r="data-"+s,o=document.querySelectorAll("["+r+"]"),l=document.querySelectorAll(".js-"+s),c=i.makeArray(o).concat(i.makeArray(l)),d=r+"-options",u=e.jQuery;c.forEach(function(e){var i,s=e.getAttribute(r)||e.getAttribute(d);try{i=s&&JSON.parse(s)}catch(t){return void(a&&a.error("Error parsing "+r+" on "+e.className+": "+t))}var o=new t(e,i);u&&u.data(e,n,o)})})},i}),function(e,t){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("ev-emitter"),require("get-size")):(e.Outlayer={},e.Outlayer.Item=t(e.EvEmitter,e.getSize))}(window,function(e,t){"use strict";function i(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}var n=document.documentElement.style,a="string"==typeof n.transition?"transition":"WebkitTransition",s="string"==typeof n.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[a],o={transform:s,transition:a,transitionDuration:a+"Duration",transitionProperty:a+"Property",transitionDelay:a+"Delay"},l=i.prototype=Object.create(e.prototype);l.constructor=i,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.getSize=function(){this.size=t(this.element)},l.css=function(e){var t=this.element.style;for(var i in e){t[o[i]||i]=e[i]}},l.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=e[t?"left":"right"],a=e[i?"top":"bottom"],s=parseFloat(n),r=parseFloat(a),o=this.layout.size;-1!=n.indexOf("%")&&(s=s/100*o.width),-1!=a.indexOf("%")&&(r=r/100*o.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=t?o.paddingLeft:o.paddingRight,r-=i?o.paddingTop:o.paddingBottom,this.position.x=s,this.position.y=r},l.layoutPosition=function(){var e=this.layout.size,t={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),a=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",o=this.position.x+e[a];t[s]=this.getXValue(o),t[r]="";var l=n?"paddingTop":"paddingBottom",c=n?"top":"bottom",d=n?"bottom":"top",u=this.position.y+e[l];t[c]=this.getYValue(u),t[d]="",this.css(t),this.emitEvent("layout",[this])},l.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},l.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},l._transitionTo=function(e,t){this.getPosition();var i=this.position.x,n=this.position.y,a=e==this.position.x&&t==this.position.y;if(this.setPosition(e,t),!a||this.isTransitioning){var s=e-i,r=t-n,o={};o.transform=this.getTranslate(s,r),this.transition({to:o,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(e,t){return"translate3d("+(e=this.layout._getOption("originLeft")?e:-e)+"px, "+(t=this.layout._getOption("originTop")?t:-t)+"px, 0)"},l.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},l._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},l.transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t=this._transn;for(var i in e.onTransitionEnd)t.onEnd[i]=e.onTransitionEnd[i];for(i in e.to)t.ingProperties[i]=!0,e.isCleaning&&(t.clean[i]=!0);if(e.from){this.css(e.from);this.element.offsetHeight;null}this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)};var c="opacity,"+function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}(s);l.enableTransition=function(){if(!this.isTransitioning){var e=this.layout.options.transitionDuration;e="number"==typeof e?e+"ms":e,this.css({transitionProperty:c,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1)}},l.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},l.onotransitionend=function(e){this.ontransitionend(e)};var d={"-webkit-transform":"transform"};l.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,i=d[e.propertyName]||e.propertyName;if(delete t.ingProperties[i],function(e){for(var t in e)return!1;return!0}(t.ingProperties)&&this.disableTransition(),i in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[i]),i in t.onEnd)t.onEnd[i].call(this),delete t.onEnd[i];this.emitEvent("transitionEnd",[this])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},l._removeStyles=function(e){var t={};for(var i in e)t[i]="";this.css(t)};var u={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(u)},l.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){return a&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},l.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var i in t)return i},l.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,a,s){return t(e,i,n,a,s)}):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):e.Outlayer=t(e,e.EvEmitter,e.getSize,e.fizzyUIUtils,e.Outlayer.Item)}(window,function(e,t,i,n,a){"use strict";function s(e,t){var i=n.getQueryElement(e);if(i){this.element=i,l&&(this.$element=l(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(t);var a=++d;this.element.outlayerGUID=a,u[a]=this,this._create(),this._getOption("initLayout")&&this.layout()}else o&&o.error("Bad element for "+this.constructor.namespace+": "+(i||e))}function r(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}var o=e.console,l=e.jQuery,c=function(){},d=0,u={};s.namespace="outlayer",s.Item=a,s.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 h=s.prototype;n.extend(h,t.prototype),h.option=function(e){n.extend(this.options,e)},h._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(e){for(var t=this._filterFindItemElements(e),i=this.constructor.Item,n=[],a=0;a<t.length;a++){var s=new i(t[a],this);n.push(s)}return n},h._filterFindItemElements=function(e){return n.filterFindElements(e,this.options.itemSelector)},h.getItemElements=function(){return this.items.map(function(e){return e.element})},h.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},h._init=h.layout,h._resetLayout=function(){this.getSize()},h.getSize=function(){this.size=i(this.element)},h._getMeasurement=function(e,t){var n,a=this.options[e];a?("string"==typeof a?n=this.element.querySelector(a):a instanceof HTMLElement&&(n=a),this[e]=n?i(n)[t]:a):this[e]=0},h.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},h._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},h._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var i=[];e.forEach(function(e){var n=this._getItemLayoutPosition(e);n.item=e,n.isInstant=t||e.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},h.updateStagger=function(){var e=this.options.stagger;return null==e?void(this.stagger=0):(this.stagger=function(e){if("number"==typeof e)return e;var t=e.match(/(^\d*\.?\d*)(\w*)/),i=t&&t[1],n=t&&t[2];return i.length?(i=parseFloat(i))*(p[n]||1):0}(e),this.stagger)},h._positionItem=function(e,t,i,n,a){n?e.goTo(t,i):(e.stagger(a*this.stagger),e.moveTo(t,i))},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){if(this._getOption("resizeContainer")){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},h._getContainerSize=c,h._setContainerMeasure=function(e,t){if(void 0!==e){var i=this.size;i.isBorderBox&&(e+=t?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px"}},h._emitCompleteOnItems=function(e,t){function i(){a.dispatchEvent(e+"Complete",null,[t])}function n(){++r==s&&i()}var a=this,s=t.length;if(t&&s){var r=0;t.forEach(function(t){t.once(e,n)})}else i()},h.dispatchEvent=function(e,t,i){var n=t?[t].concat(i):i;if(this.emitEvent(e,n),l)if(this.$element=this.$element||l(this.element),t){var a=l.Event(t);a.type=e,this.$element.trigger(a,i)}else this.$element.trigger(e,i)},h.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},h.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},h.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},h.unstamp=function(e){(e=this._find(e))&&e.forEach(function(e){n.removeFrom(this.stamps,e),this.unignore(e)},this)},h._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),n.makeArray(e)},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},h._manageStamp=c,h._getElementOffset=function(e){var t=e.getBoundingClientRect(),n=this._boundingRect,a=i(e);return{left:t.left-n.left-a.marginLeft,top:t.top-n.top-a.marginTop,right:n.right-t.right-a.marginRight,bottom:n.bottom-t.bottom-a.marginBottom}},h.handleEvent=n.handleEvent,h.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},h.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},h.onresize=function(){this.resize()},n.debounceMethod(s,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var e=i(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},h.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},h.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},h.prepended=function(e){var t=this._itemize(e);if(t.length){var i=this.items.slice(0);this.items=t.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(i)}},h.reveal=function(e){if(this._emitCompleteOnItems("reveal",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,i){e.stagger(i*t),e.reveal()})}},h.hide=function(e){if(this._emitCompleteOnItems("hide",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,i){e.stagger(i*t),e.hide()})}},h.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},h.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},h.getItem=function(e){for(var t=0;t<this.items.length;t++){var i=this.items[t];if(i.element==e)return i}},h.getItems=function(e){e=n.makeArray(e);var t=[];return e.forEach(function(e){var i=this.getItem(e);i&&t.push(i)},this),t},h.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(e){e.remove(),n.removeFrom(this.items,e)},this)},h.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize();var t=this.element.outlayerGUID;delete u[t],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},s.data=function(e){var t=(e=n.getQueryElement(e))&&e.outlayerGUID;return t&&u[t]},s.create=function(e,t){var i=r(s);return i.defaults=n.extend({},s.defaults),n.extend(i.defaults,t),i.compatOptions=n.extend({},s.compatOptions),i.namespace=e,i.data=s.data,i.Item=r(a),n.htmlInit(i,e),l&&l.bridget&&l.bridget(e,i),i};var p={ms:1,s:1e3};return s.Item=a,s}),function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer")):(e.Isotope=e.Isotope||{},e.Isotope.Item=t(e.Outlayer))}(window,function(e){"use strict";function t(){e.Item.apply(this,arguments)}var i=t.prototype=Object.create(e.Item.prototype),n=i._create;i._create=function(){this.id=this.layout.itemGUID++,n.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var e=this.layout.options.getSortData,t=this.layout._sorters;for(var i in e){var n=t[i];this.sortData[i]=n(this.element,this)}}};var a=i.destroy;return i.destroy=function(){a.apply(this,arguments),this.css({display:""})},t}),function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],t):"object"==typeof module&&module.exports?module.exports=t(require("get-size"),require("outlayer")):(e.Isotope=e.Isotope||{},e.Isotope.LayoutMode=t(e.getSize,e.Outlayer))}(window,function(e,t){"use strict";function i(e){this.isotope=e,e&&(this.options=e.options[this.namespace],this.element=e.element,this.items=e.filteredItems,this.size=e.size)}var n=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(e){n[e]=function(){return t.prototype[e].apply(this.isotope,arguments)}}),n.needsVerticalResizeLayout=function(){var t=e(this.isotope.element);return this.isotope.size&&t&&t.innerHeight!=this.isotope.size.innerHeight},n._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},n.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.getRowHeight=function(){this.getSegmentSize("row","Height")},n.getSegmentSize=function(e,t){var i=e+t,n="outer"+t;if(this._getMeasurement(i,n),!this[i]){var a=this.getFirstItemSize();this[i]=a&&a[n]||this.isotope.size["inner"+t]}},n.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.element)},n.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},n.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(e,t){function a(){i.apply(this,arguments)}return a.prototype=Object.create(n),a.prototype.constructor=a,t&&(a.options=t),a.prototype.namespace=e,i.modes[e]=a,a},i}),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,t){var i=e.create("masonry");i.compatOptions.fitWidth="isFitWidth";var n=i.prototype;return n._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},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],i=e&&e.element;this.columnWidth=i&&t(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,a=this.containerWidth+this.gutter,s=a/n,r=n-a%n;s=Math[r&&r<1?"round":"floor"](s),this.cols=Math.max(s,1)},n.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,i=t(e);this.containerWidth=i&&i.innerWidth},n._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,i=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var n=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,e),a={x:this.columnWidth*n.col,y:n.y},s=n.y+e.size.outerHeight,r=i+n.col,o=n.col;o<r;o++)this.colYs[o]=s;return a},n._getTopColPosition=function(e){var t=this._getTopColGroup(e),i=Math.min.apply(Math,t);return{col:t.indexOf(i),y:i}},n._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},n._getColGroupY=function(e,t){if(t<2)return this.colYs[e];var i=this.colYs.slice(e,e+t);return Math.max.apply(Math,i)},n._getHorizontalColPosition=function(e,t){var i=this.horizontalColIndex%this.cols;i=e>1&&i+e>this.cols?0:i;var n=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=n?i+e:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,e)}},n._manageStamp=function(e){var i=t(e),n=this._getElementOffset(e),a=this._getOption("originLeft")?n.left:n.right,s=a+i.outerWidth,r=Math.floor(a/this.columnWidth);r=Math.max(0,r);var o=Math.floor(s/this.columnWidth);o-=s%this.columnWidth?0:1,o=Math.min(this.cols-1,o);for(var l=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,c=r;c<=o;c++)this.colYs[c]=Math.max(l,this.colYs[c])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},n._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},i}),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.create("masonry"),n=i.prototype,a={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in t.prototype)a[s]||(n[s]=t.prototype[s]);var r=n.measureColumns;n.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var o=n._getOption;return n._getOption=function(e){return"fitWidth"==e?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:o.apply(this.isotope,arguments)},i}),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 t=e.create("fitRows"),i=t.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&t+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+e.size.outerHeight),this.x+=t,n},i._getContainerSize=function(){return{height:this.maxY}},t}),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 t=e.create("vertical",{horizontalAlignment:0}),i=t.prototype;return i._resetLayout=function(){this.y=0},i._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}},i._getContainerSize=function(){return{height:this.y}},t}),function(e,t){"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(i,n,a,s,r,o){return t(e,i,n,a,s,r,o)}):"object"==typeof module&&module.exports?module.exports=t(e,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")):e.Isotope=t(e,e.Outlayer,e.getSize,e.matchesSelector,e.fizzyUIUtils,e.Isotope.Item,e.Isotope.LayoutMode)}(window,function(e,t,i,n,a,s,r){var o=e.jQuery,l=String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(/^\s+|\s+$/g,"")},c=t.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});c.Item=s,c.LayoutMode=r;var d=c.prototype;d._create=function(){for(var e in this.itemGUID=0,this._sorters={},this._getSorters(),t.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(e)},d.reloadItems=function(){this.itemGUID=0,t.prototype.reloadItems.call(this)},d._itemize=function(){for(var e=t.prototype._itemize.apply(this,arguments),i=0;i<e.length;i++){e[i].id=this.itemGUID++}return this._updateItemsSortData(e),e},d._initLayoutMode=function(e){var t=r.modes[e],i=this.options[e]||{};this.options[e]=t.options?a.extend(t.options,i):i,this.modes[e]=new t(this)},d.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},d._layout=function(){var e=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,e),this._isLayoutInited=!0},d.arrange=function(e){this.option(e),this._getIsInstant();var t=this._filter(this.items);this.filteredItems=t.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[t]):this._hideReveal(t),this._sort(),this._layout()},d._init=d.arrange,d._hideReveal=function(e){this.reveal(e.needReveal),this.hide(e.needHide)},d._getIsInstant=function(){var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;return this._isInstant=t,t},d._bindArrangeComplete=function(){function e(){t&&i&&n&&a.dispatchEvent("arrangeComplete",null,[a.filteredItems])}var t,i,n,a=this;this.once("layoutComplete",function(){t=!0,e()}),this.once("hideComplete",function(){i=!0,e()}),this.once("revealComplete",function(){n=!0,e()})},d._filter=function(e){var t=this.options.filter;t=t||"*";for(var i=[],n=[],a=[],s=this._getFilterTest(t),r=0;r<e.length;r++){var o=e[r];if(!o.isIgnored){var l=s(o);l&&i.push(o),l&&o.isHidden?n.push(o):l||o.isHidden||a.push(o)}}return{matches:i,needReveal:n,needHide:a}},d._getFilterTest=function(e){return o&&this.options.isJQueryFiltering?function(t){return o(t.element).is(e)}:"function"==typeof e?function(t){return e(t.element)}:function(t){return n(t.element,e)}},d.updateSortData=function(e){var t;e?(e=a.makeArray(e),t=this.getItems(e)):t=this.items,this._getSorters(),this._updateItemsSortData(t)},d._getSorters=function(){var e=this.options.getSortData;for(var t in e){var i=e[t];this._sorters[t]=u(i)}},d._updateItemsSortData=function(e){for(var t=e&&e.length,i=0;t&&i<t;i++){e[i].updateSortData()}};var u=function(){return function(e){if("string"!=typeof e)return e;var t=l(e).split(" "),i=t[0],n=i.match(/^\[(.+)\]$/),a=function(e,t){return e?function(t){return t.getAttribute(e)}:function(e){var i=e.querySelector(t);return i&&i.textContent}}(n&&n[1],i),s=c.sortDataParsers[t[1]];return s?function(e){return e&&s(a(e))}:function(e){return e&&a(e)}}}();c.sortDataParsers={parseInt:function(e){return parseInt(e,10)},parseFloat:function(e){return parseFloat(e)}},d._sort=function(){if(this.options.sortBy){var e=a.makeArray(this.options.sortBy);this._getIsSameSortBy(e)||(this.sortHistory=e.concat(this.sortHistory));var t=function(e,t){return function(i,n){for(var a=0;a<e.length;a++){var s=e[a],r=i.sortData[s],o=n.sortData[s];if(r>o||r<o)return(r>o?1:-1)*((void 0!==t[s]?t[s]:t)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(t)}},d._getIsSameSortBy=function(e){for(var t=0;t<e.length;t++)if(e[t]!=this.sortHistory[t])return!1;return!0},d._mode=function(){var e=this.options.layoutMode,t=this.modes[e];if(!t)throw new Error("No layout mode: "+e);return t.options=this.options[e],t},d._resetLayout=function(){t.prototype._resetLayout.call(this),this._mode()._resetLayout()},d._getItemLayoutPosition=function(e){return this._mode()._getItemLayoutPosition(e)},d._manageStamp=function(e){this._mode()._manageStamp(e)},d._getContainerSize=function(){return this._mode()._getContainerSize()},d.needsResizeLayout=function(){return this._mode().needsResizeLayout()},d.appended=function(e){var t=this.addItems(e);if(t.length){var i=this._filterRevealAdded(t);this.filteredItems=this.filteredItems.concat(i)}},d.prepended=function(e){var t=this._itemize(e);if(t.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(t);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=t.concat(this.items)}},d._filterRevealAdded=function(e){var t=this._filter(e);return this.hide(t.needHide),this.reveal(t.matches),this.layoutItems(t.matches,!0),t.matches},d.insert=function(e){var t=this.addItems(e);if(t.length){var i,n,a=t.length;for(i=0;i<a;i++)n=t[i],this.element.appendChild(n.element);var s=this._filter(t).matches;for(i=0;i<a;i++)t[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<a;i++)delete t[i].isLayoutInstant;this.reveal(s)}};var h=d.remove;return d.remove=function(e){e=a.makeArray(e);var t=this.getItems(e);h.call(this,e);for(var i=t&&t.length,n=0;i&&n<i;n++){var s=t[n];a.removeFrom(this.filteredItems,s)}},d.shuffle=function(){for(var e=0;e<this.items.length;e++){this.items[e].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},d._noTransition=function(e,t){var i=this.options.transitionDuration;this.options.transitionDuration=0;var n=e.apply(this,t);return this.options.transitionDuration=i,n},d.getFilteredItemElements=function(){return this.filteredItems.map(function(e){return e.element})},c}),window.SEMICOLON_gridContainerInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e,t=$(this),i=t.attr("data-transition")||"0.65s",n=t.attr("data-layout")||"masonry",a=t.attr("data-stagger")||0,s=t.attr("data-basewidth")||".portfolio-item:not(.wide):eq(0)",r=!0;$("body").hasClass("rtl")&&(r=!1),e=t.hasClass("portfolio")||t.hasClass("post-timeline")?t.isotope({layoutMode:n,isOriginLeft:r,transitionDuration:i,stagger:Number(a),percentPosition:!0,masonry:{columnWidth:t.find(s)[0]}}):t.isotope({layoutMode:n,isOriginLeft:r,transitionDuration:i,stagger:Number(a),percentPosition:!0}),t.data("isotope")&&t.addClass("has-init-isotope");let o,l=setInterval(function(){t.find(".lazy.lazy-loaded").length==t.find(".lazy").length&&(setTimeout(function(){t.filter(".has-init-isotope").isotope("layout")},800),clearInterval(l))},1e3);$(window).on("resize",function(){clearTimeout(o),o=setTimeout(function(){t.filter(".has-init-isotope").isotope("layout")},250)}),$(window).on("lazyLoadLoaded",function(){t.filter(".has-init-isotope").isotope("layout")})})},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).LazyLoad=t()}(this,function(){"use strict";function e(){return(e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}var t="undefined"!=typeof window,i=t&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),n=t&&"IntersectionObserver"in window,a=t&&"classList"in document.createElement("p"),s=t&&window.devicePixelRatio>1,r={elements_selector:".lazy",container:i||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},o=function(t){return e({},r,t)},l=function(e,t){var i,n="LazyLoad::Initialized",a=new e(t);try{i=new CustomEvent(n,{detail:{instance:a}})}catch(e){(i=document.createEvent("CustomEvent")).initCustomEvent(n,!1,!1,{instance:a})}window.dispatchEvent(i)},c="loading",d="loaded",u="applied",h="error",p="native",f=function(e,t){return e.getAttribute("data-"+t)},m=function(e){return f(e,"ll-status")},g=function(e,t){return function(e,t,i){var n="data-ll-status";null!==i?e.setAttribute(n,i):e.removeAttribute(n)}(e,0,t)},v=function(e){return g(e,null)},y=function(e){return null===m(e)},b=function(e){return m(e)===p},w=[c,d,u,h],_=function(e,t,i,n){e&&(void 0===n?void 0===i?e(t):e(t,i):e(t,i,n))},T=function(e,t){a?e.classList.add(t):e.className+=(e.className?" ":"")+t},x=function(e,t){a?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},C=function(e){return e.llTempImage},S=function(e,t){if(t){var i=t._observer;i&&i.unobserve(e)}},E=function(e,t){e&&(e.loadingCount+=t)},P=function(e,t){e&&(e.toLoadCount=t)},k=function(e){for(var t,i=[],n=0;t=e.children[n];n+=1)"SOURCE"===t.tagName&&i.push(t);return i},M=function(e,t,i){i&&e.setAttribute(t,i)},I=function(e,t){e.removeAttribute(t)},O=function(e){return!!e.llOriginalAttrs},L=function(e){if(!O(e)){var t={};t.src=e.getAttribute("src"),t.srcset=e.getAttribute("srcset"),t.sizes=e.getAttribute("sizes"),e.llOriginalAttrs=t}},j=function(e){if(O(e)){var t=e.llOriginalAttrs;M(e,"src",t.src),M(e,"srcset",t.srcset),M(e,"sizes",t.sizes)}},A=function(e,t){M(e,"sizes",f(e,t.data_sizes)),M(e,"srcset",f(e,t.data_srcset)),M(e,"src",f(e,t.data_src))},z=function(e){I(e,"src"),I(e,"srcset"),I(e,"sizes")},Y=function(e,t){var i=e.parentNode;i&&"PICTURE"===i.tagName&&k(i).forEach(t)},D={IMG:function(e,t){Y(e,function(e){L(e),A(e,t)}),L(e),A(e,t)},IFRAME:function(e,t){M(e,"src",f(e,t.data_src))},VIDEO:function(e,t){!function(e,i){k(e).forEach(function(e){M(e,"src",f(e,t.data_src))})}(e),M(e,"poster",f(e,t.data_poster)),M(e,"src",f(e,t.data_src)),e.load()}},N=function(e,t){var i=D[e.tagName];i&&i(e,t)},$=function(e,t,i){E(i,1),T(e,t.class_loading),g(e,c),_(t.callback_loading,e,i)},B=["IMG","IFRAME","VIDEO"],Q=function(e,t){!t||t.loadingCount>0||t.toLoadCount>0||_(e.callback_finish,t)},R=function(e,t,i){e.addEventListener(t,i),e.llEvLisnrs[t]=i},F=function(e,t,i){e.removeEventListener(t,i)},H=function(e){return!!e.llEvLisnrs},W=function(e){if(H(e)){var t=e.llEvLisnrs;for(var i in t){var n=t[i];F(e,i,n)}delete e.llEvLisnrs}},q=function(e,t,i){!function(e){delete e.llTempImage}(e),E(i,-1),i&&(i.toLoadCount-=1),x(e,t.class_loading),t.unobserve_completed&&S(e,i)},V=function(e,t,i){var n=C(e)||e;H(n)||function(e,t,i){H(e)||(e.llEvLisnrs={});var n="VIDEO"===e.tagName?"loadeddata":"load";R(e,n,t),R(e,"error",i)}(n,function(a){!function(e,t,i,n){var a=b(t);q(t,i,n),T(t,i.class_loaded),g(t,d),_(i.callback_loaded,t,n),a||Q(i,n)}(0,e,t,i),W(n)},function(a){!function(e,t,i,n){var a=b(t);q(t,i,n),T(t,i.class_error),g(t,h),_(i.callback_error,t,n),a||Q(i,n)}(0,e,t,i),W(n)})},U=function(e,t,i){!function(e){return B.indexOf(e.tagName)>-1}(e)?function(e,t,i){!function(e){e.llTempImage=document.createElement("IMG")}(e),V(e,t,i),function(e,t,i){var n=f(e,t.data_bg),a=f(e,t.data_bg_hidpi),r=s&&a?a:n;r&&(e.style.backgroundImage='url("'.concat(r,'")'),C(e).setAttribute("src",r),$(e,t,i))}(e,t,i),function(e,t,i){var n=f(e,t.data_bg_multi),a=f(e,t.data_bg_multi_hidpi),r=s&&a?a:n;r&&(e.style.backgroundImage=r,function(e,t,i){T(e,t.class_applied),g(e,u),t.unobserve_completed&&S(e,t),_(t.callback_applied,e,i)}(e,t,i))}(e,t,i)}(e,t,i):function(e,t,i){V(e,t,i),N(e,t),$(e,t,i)}(e,t,i)},G=["IMG","IFRAME","VIDEO"],X=function(e){return e.use_native&&"loading"in HTMLImageElement.prototype},K=function(e){return Array.prototype.slice.call(e)},Z=function(e){return e.container.querySelectorAll(e.elements_selector)},J=function(e){return function(e){return m(e)===h}(e)},ee=function(e,t){return function(e){return K(e).filter(y)}(e||Z(t))},te=function(e,i){var a=o(e);this._settings=a,this.loadingCount=0,function(e,t){n&&!X(e)&&(t._observer=new IntersectionObserver(function(i){!function(e,t,i){e.forEach(function(e){return function(e){return e.isIntersecting||e.intersectionRatio>0}(e)?function(e,t,i,n){var a=function(e){return w.indexOf(m(e))>=0}(e);g(e,"entered"),T(e,i.class_entered),x(e,i.class_exited),function(e,t,i){t.unobserve_entered&&S(e,i)}(e,i,n),_(i.callback_enter,e,t,n),a||U(e,i,n)}(e.target,e,t,i):function(e,t,i,n){y(e)||(T(e,i.class_exited),function(e,t,i,n){i.cancel_on_exit&&function(e){return m(e)===c}(e)&&"IMG"===e.tagName&&(W(e),function(e){Y(e,function(e){z(e)}),z(e)}(e),function(e){Y(e,function(e){j(e)}),j(e)}(e),x(e,i.class_loading),E(n,-1),v(e),_(i.callback_cancel,e,t,n))}(e,t,i,n),_(i.callback_exit,e,t,n))}(e.target,e,t,i)})}(i,e,t)},function(e){return{root:e.container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}}(e)))}(a,this),function(e,i){t&&window.addEventListener("online",function(){!function(e,t){var i;(i=Z(e),K(i).filter(J)).forEach(function(t){x(t,e.class_error),v(t)}),t.update()}(e,i)})}(a,this),this.update(i)};return te.prototype={update:function(e){var t,a,s=this._settings,r=ee(e,s);P(this,r.length),!i&&n?X(s)?function(e,t,i){r.forEach(function(e){-1!==G.indexOf(e.tagName)&&function(e,t,i){e.setAttribute("loading","lazy"),V(e,t,i),N(e,t),g(e,p)}(e,t,i)}),P(i,0)}(0,s,this):(a=r,function(e){e.disconnect()}(t=this._observer),function(e,t){a.forEach(function(t){e.observe(t)})}(t)):this.loadAll(r)},destroy:function(){this._observer&&this._observer.disconnect(),Z(this._settings).forEach(function(e){delete e.llOriginalAttrs}),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(e){var t=this,i=this._settings;ee(e,i).forEach(function(e){S(e,t),U(e,i,t)})}},te.load=function(e,t){var i=o(t);U(e,i)},te.resetStatus=function(e){v(e)},t&&function(e,t){if(t)if(t.length)for(var i,n=0;i=t[n];n+=1)l(e,i);else l(e,t)}(te,window.lazyLoadOptions),te}),window.SEMICOLON_lazyLoadInit=function(e){window.lazyLoadInstance=new LazyLoad({threshold:150,elements_selector:".lazy",class_loading:"lazy-loading",class_loaded:"lazy-loaded",class_error:"lazy-error",callback_loaded:e=>{$(window).trigger("lazyLoadLoaded")}})},function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(e){var t,i,n,a,s,r,o=function(){},l=!!window.jQuery,c=e(window),d=function(e,i){t.ev.on("mfp"+e+".mfp",i)},u=function(t,i,n,a){var s=document.createElement("div");return s.className="mfp-"+t,n&&(s.innerHTML=n),a?i&&i.appendChild(s):(s=e(s),i&&s.appendTo(i)),s},h=function(i,n){t.ev.triggerHandler("mfp"+i,n),t.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),t.st.callbacks[i]&&t.st.callbacks[i].apply(t,e.isArray(n)?n:[n]))},p=function(i){return i===r&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),r=i),t.currTemplate.closeBtn},f=function(){e.magnificPopup.instance||((t=new o).init(),e.magnificPopup.instance=t)};o.prototype={constructor:o,init:function(){var i=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(i),t.isIOS=/iphone|ipad|ipod/gi.test(i),t.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}(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=e(document),t.popupsCache={}},open:function(i){var a;if(!1===i.isObj){t.items=i.items.toArray(),t.index=0;var r,o=i.items;for(a=0;a<o.length;a++)if((r=o[a]).parsed&&(r=r.el[0]),r===i.el[0]){t.index=a;break}}else t.items=e.isArray(i.items)?i.items:[i.items],t.index=i.index||0;if(!t.isOpen){t.types=[],s="",i.mainEl&&i.mainEl.length?t.ev=i.mainEl.eq(0):t.ev=n,i.key?(t.popupsCache[i.key]||(t.popupsCache[i.key]={}),t.currTemplate=t.popupsCache[i.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,i),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=u("bg").on("click.mfp",function(){t.close()}),t.wrap=u("wrap").attr("tabindex",-1).on("click.mfp",function(e){t._checkIfClose(e.target)&&t.close()}),t.container=u("container",t.wrap)),t.contentContainer=u("content"),t.st.preloader&&(t.preloader=u("preloader",t.container,t.st.tLoading));var l=e.magnificPopup.modules;for(a=0;a<l.length;a++){var f=l[a];f=f.charAt(0).toUpperCase()+f.slice(1),t["init"+f].call(t)}h("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(d("MarkupParse",function(e,t,i,n){i.close_replaceWith=p(n.type)}),s+=" mfp-close-btn-in"):t.wrap.append(p())),t.st.alignTop&&(s+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:c.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:n.height(),position:"absolute"}),t.st.enableEscapeKey&&n.on("keyup.mfp",function(e){27===e.keyCode&&t.close()}),c.on("resize.mfp",function(){t.updateSize()}),t.st.closeOnContentClick||(s+=" mfp-auto-cursor"),s&&t.wrap.addClass(s);var m=t.wH=c.height(),g={};if(t.fixedContentPos&&t._hasScrollBar(m)){var v=t._getScrollbarSize();v&&(g.marginRight=v)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):g.overflow="hidden");var y=t.st.mainClass;return t.isIE7&&(y+=" mfp-ie7"),y&&t._addClassToMFP(y),t.updateItemHTML(),h("BuildControls"),e("html").css(g),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP("mfp-ready"),t._setFocus()):t.bgOverlay.addClass("mfp-ready"),n.on("focusin.mfp",t._onFocusIn)},16),t.isOpen=!0,t.updateSize(m),h("Open"),i}t.updateItemHTML()},close:function(){t.isOpen&&(h("BeforeClose"),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP("mfp-removing"),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){h("Close");var i="mfp-removing mfp-ready ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(i+=t.st.mainClass+" "),t._removeClassFromMFP(i),t.fixedContentPos){var a={marginRight:""};t.isIE7?e("body, html").css("overflow",""):a.overflow="",e("html").css(a)}n.off("keyup.mfp focusin.mfp"),t.ev.off(".mfp"),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,h("AfterClose")},updateSize:function(e){if(t.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;t.wrap.css("height",n),t.wH=n}else t.wH=e||c.height();t.fixedContentPos||t.wrap.css("height",t.wH),h("Resize")},updateItemHTML:function(){var i=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),i.parsed||(i=t.parseEl(t.index));var n=i.type;if(h("BeforeChange",[t.currItem?t.currItem.type:"",n]),t.currItem=i,!t.currTemplate[n]){var s=!!t.st[n]&&t.st[n].markup;h("FirstMarkupParse",s),t.currTemplate[n]=!s||e(s)}a&&a!==i.type&&t.container.removeClass("mfp-"+a+"-holder");var r=t["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,t.currTemplate[n]);t.appendContent(r,n),i.preloaded=!0,h("Change",i),a=i.type,t.container.prepend(t.contentContainer),h("AfterChange")},appendContent:function(e,i){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[i]?t.content.find(".mfp-close").length||t.content.append(p()):t.content=e:t.content="",h("BeforeAppend"),t.container.addClass("mfp-"+i+"-holder"),t.contentContainer.append(t.content)},parseEl:function(i){var n,a=t.items[i];if(a.tagName?a={el:e(a)}:(n=a.type,a={data:a,src:a.src}),a.el){for(var s=t.types,r=0;r<s.length;r++)if(a.el.hasClass("mfp-"+s[r])){n=s[r];break}a.src=a.el.attr("data-mfp-src"),a.src||(a.src=a.el.attr("href")),a.srcset=a.el.attr("data-srcset")||"",a.sizes=a.el.attr("data-sizes")||""}return a.type=n||t.st.type||"inline",a.index=i,a.parsed=!0,t.items[i]=a,h("ElementParse",a),t.items[i]},addGroup:function(e,i){var n=function(n){n.mfpEl=this,t._openClick(n,e,i)};i||(i={});var a="click.magnificPopup";i.mainEl=e,i.items?(i.isObj=!0,e.off(a).on(a,n)):(i.isObj=!1,i.delegate?e.off(a).on(a,i.delegate,n):(i.items=e,e.off(a).on(a,n)))},_openClick:function(i,n,a){if((void 0!==a.midClick?a.midClick:e.magnificPopup.defaults.midClick)||!(2===i.which||i.ctrlKey||i.metaKey||i.altKey||i.shiftKey)){var s=void 0!==a.disableOn?a.disableOn:e.magnificPopup.defaults.disableOn;if(s)if(e.isFunction(s)){if(!s.call(t))return!0}else if(c.width()<s)return!0;i.type&&(i.preventDefault(),t.isOpen&&i.stopPropagation()),a.el=e(i.mfpEl),a.delegate&&(a.items=n.find(a.delegate)),t.open(a)}},updateStatus:function(e,n){if(t.preloader){i!==e&&t.container.removeClass("mfp-s-"+i),n||"loading"!==e||(n=t.st.tLoading);var a={status:e,text:n};h("UpdateStatus",a),e=a.status,n=a.text,t.preloader.html(n),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),i=e}},_checkIfClose:function(i){if(!e(i).hasClass("mfp-prevent-close")){var n=t.st.closeOnContentClick,a=t.st.closeOnBgClick;if(n&&a)return!0;if(!t.content||e(i).hasClass("mfp-close")||t.preloader&&i===t.preloader[0])return!0;if(i===t.content[0]||e.contains(t.content[0],i)){if(n)return!0}else if(a&&e.contains(document,i))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?n.height():document.body.scrollHeight)>(e||c.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(i){if(i.target!==t.wrap[0]&&!e.contains(t.wrap[0],i.target))return t._setFocus(),!1},_parseMarkup:function(t,i,n){var a;n.data&&(i=e.extend(n.data,i)),h("MarkupParse",[t,i,n]),e.each(i,function(i,n){if(void 0===n||!1===n)return!0;if((a=i.split("_")).length>1){var s=t.find(".mfp-"+a[0]);if(s.length>0){var r=a[1];"replaceWith"===r?s[0]!==n[0]&&s.replaceWith(n):"img"===r?s.is("img")?s.attr("src",n):s.replaceWith(e("<img>").attr("src",n).attr("class",s.attr("class"))):s.attr(a[1],n)}}else t.find(".mfp-"+i).html(n)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:o.prototype,modules:[],open:function(t,i){return f(),(t=t?e.extend(!0,{},t):{}).isObj=!0,t.index=i||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,i){i.options&&(e.magnificPopup.defaults[t]=i.options),e.extend(this.proto,i.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.magnificPopup=function(i){f();var n=e(this);if("string"==typeof i)if("open"===i){var a,s=l?n.data("magnificPopup"):n[0].magnificPopup,r=parseInt(arguments[1],10)||0;s.items?a=s.items[r]:(a=n,s.delegate&&(a=a.find(s.delegate)),a=a.eq(r)),t._openClick({mfpEl:a},n,s)}else t.isOpen&&t[i].apply(t,Array.prototype.slice.call(arguments,1));else i=e.extend(!0,{},i),l?n.data("magnificPopup",i):n[0].magnificPopup=i,t.addGroup(n,i);return n};var m,g,v,y=function(){v&&(g.after(v.addClass(m)).detach(),v=null)};e.magnificPopup.registerModule("inline",{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push("inline"),d("Close.inline",function(){y()})},getInline:function(i,n){if(y(),i.src){var a=t.st.inline,s=e(i.src);if(s.length){var r=s[0].parentNode;r&&r.tagName&&(g||(m=a.hiddenClass,g=u(m),m="mfp-"+m),v=s.after(g).detach().removeClass(m)),t.updateStatus("ready")}else t.updateStatus("error",a.tNotFound),s=e("<div>");return i.inlineElement=s,s}return t.updateStatus("ready"),t._parseMarkup(n,{},i),n}}});var b,w=function(){b&&e(document.body).removeClass(b)},_=function(){w(),t.req&&t.req.abort()};e.magnificPopup.registerModule("ajax",{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push("ajax"),b=t.st.ajax.cursor,d("Close.ajax",_),d("BeforeChange.ajax",_)},getAjax:function(i){b&&e(document.body).addClass(b),t.updateStatus("loading");var n=e.extend({url:i.src,success:function(n,a,s){var r={data:n,xhr:s};h("ParseAjax",r),t.appendContent(e(r.data),"ajax"),i.finished=!0,w(),t._setFocus(),setTimeout(function(){t.wrap.addClass("mfp-ready")},16),t.updateStatus("ready"),h("AjaxContentAdded")},error:function(){w(),i.finished=i.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",i.src))}},t.st.ajax.settings);return t.req=e.ajax(n),""}}});var T,x,C=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;var n=t.st.image.titleSrc;if(n){if(e.isFunction(n))return n.call(t,i);if(i.el)return i.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var i=t.st.image,n=".image";t.types.push("image"),d("Open"+n,function(){"image"===t.currItem.type&&i.cursor&&e(document.body).addClass(i.cursor)}),d("Close"+n,function(){i.cursor&&e(document.body).removeClass(i.cursor),c.off("resize.mfp")}),d("Resize"+n,t.resizeImage),t.isLowIE&&d("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var i=0;t.isLowIE&&(i=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-i)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,T&&clearInterval(T),e.isCheckingImgSize=!1,h("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],a=function(s){T&&clearInterval(T),T=setInterval(function(){n.naturalWidth>0?t._onImageHasSize(e):(i>200&&clearInterval(T),3==++i?a(10):40===i?a(50):100===i&&a(500))},s)};a(1)},getImage:function(i,n){var a=0,s=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,h("ImageLoadComplete")):++a<200?setTimeout(s,100):r())},r=function(){i&&(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("error",o.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},o=t.st.image,l=n.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",i.el&&i.el.find("img").length&&(c.alt=i.el.find("img").attr("alt")),i.img=e(c).on("load.mfploader",s).on("error.mfploader",r),c.src=i.src,c.srcset=i.srcset,c.sizes=i.sizes,l.is("img")&&(i.img=i.img.clone()),(c=i.img[0]).naturalWidth>0?i.hasSize=!0:c.width||(i.hasSize=!1)}return t._parseMarkup(n,{title:C(i),img_replaceWith:i.img},i),t.resizeImage(),i.hasSize?(T&&clearInterval(T),i.loadError?(n.addClass("mfp-loading"),t.updateStatus("error",o.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),t.updateStatus("ready")),n):(t.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),t.findImageSize(i)),n)}}}),e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,i=t.st.zoom,n=".zoom";if(i.enabled&&t.supportsTransition){var a,s,r=i.duration,o=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,a={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},s="transition";return a["-webkit-"+s]=a["-moz-"+s]=a["-o-"+s]=a[s]=n,t.css(a),t},l=function(){t.content.css("visibility","visible")};d("BuildControls"+n,function(){if(t._allowZoom()){if(clearTimeout(a),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void l();(s=o(e)).css(t._getOffset()),t.wrap.append(s),a=setTimeout(function(){s.css(t._getOffset(!0)),a=setTimeout(function(){l(),setTimeout(function(){s.remove(),e=s=null,h("ZoomAnimationEnded")},16)},r)},16)}}),d("BeforeClose"+n,function(){if(t._allowZoom()){if(clearTimeout(a),t.st.removalDelay=r,!e){if(!(e=t._getItemToZoom()))return;s=o(e)}s.css(t._getOffset(!0)),t.wrap.append(s),t.content.css("visibility","hidden"),setTimeout(function(){s.css(t._getOffset())},16)}}),d("Close"+n,function(){t._allowZoom()&&(l(),s&&s.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(i){var n,a=(n=i?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),s=parseInt(n.css("padding-top"),10),r=parseInt(n.css("padding-bottom"),10);a.top-=e(window).scrollTop()-s;var o={width:n.width(),height:(l?n.innerHeight():n[0].offsetHeight)-r-s};return void 0===x&&(x=void 0!==document.createElement("p").style.MozTransform),x?o["-moz-transform"]=o.transform="translate("+a.left+"px,"+a.top+"px)":(o.left=a.left,o.top=a.top),o}}});var S=function(e){if(t.currTemplate.iframe){var i=t.currTemplate.iframe.find("iframe");i.length&&(e||(i[0].src="//about:blank"),t.isIE8&&i.css("display",e?"block":"none"))}};e.magnificPopup.registerModule("iframe",{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push("iframe"),d("BeforeChange",function(e,t,i){t!==i&&("iframe"===t?S():"iframe"===i&&S(!0))}),d("Close.iframe",function(){S()})},getIframe:function(i,n){var a=i.src,s=t.st.iframe;e.each(s.patterns,function(){if(a.indexOf(this.index)>-1)return this.id&&(a="string"==typeof this.id?a.substr(a.lastIndexOf(this.id)+this.id.length,a.length):this.id.call(this,a)),a=this.src.replace("%id%",a),!1});var r={};return s.srcAction&&(r[s.srcAction]=a),t._parseMarkup(n,r,i),t.updateStatus("ready"),n}}});var E=function(e){var i=t.items.length;return e>i-1?e-i:e<0?i+e:e},P=function(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=t.st.gallery,a=".mfp-gallery";if(t.direction=!0,!i||!i.enabled)return!1;s+=" mfp-gallery",d("Open"+a,function(){i.navigateByImgClick&&t.wrap.on("click"+a,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),n.on("keydown"+a,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),d("UpdateStatus"+a,function(e,i){i.text&&(i.text=P(i.text,t.currItem.index,t.items.length))}),d("MarkupParse"+a,function(e,n,a,s){var r=t.items.length;a.counter=r>1?P(i.tCounter,s.index,r):""}),d("BuildControls"+a,function(){if(t.items.length>1&&i.arrows&&!t.arrowLeft){var n=i.arrowMarkup,a=t.arrowLeft=e(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass("mfp-prevent-close"),s=t.arrowRight=e(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass("mfp-prevent-close");a.click(function(){t.prev()}),s.click(function(){t.next()}),t.container.append(a.add(s))}}),d("Change"+a,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),d("Close"+a,function(){n.off(a),t.wrap.off("click"+a),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=E(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=E(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,i=t.st.gallery.preload,n=Math.min(i[0],t.items.length),a=Math.min(i[1],t.items.length);for(e=1;e<=(t.direction?a:n);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?n:a);e++)t._preloadItem(t.index-e)},_preloadItem:function(i){if(i=E(i),!t.items[i].preloaded){var n=t.items[i];n.parsed||(n=t.parseEl(i)),h("LazyLoad",n),"image"===n.type&&(n.img=e('<img class="mfp-img" />').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,h("LazyLoadError",n)}).attr("src",n.src).attr("srcset",n.srcset).attr("sizes",n.sizes)),n.preloaded=!0}}}}),e.magnificPopup.registerModule("retina",{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,i=e.ratio;(i=isNaN(i)?i():i)>1&&(d("ImageHasSize.retina",function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})}),d("ElementParse.retina",function(t,n){n.src=e.replaceSrc(n,i)}))}}}}),f()}),window.SEMICOLON_lightboxInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-lightbox"),i=e.attr("data-close-button")||"outside",n=e.attr("data-disable-under")||600,a=$("body");i="inside"==i,"image"==t&&e.magnificPopup({type:"image",closeOnContentClick:!0,closeBtnInside:i,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-fade",image:{verticalFit:!0}}),"gallery"==t&&(e.find('a[data-lightbox="gallery-item"]').parent(".clone").hasClass("clone")&&e.find('a[data-lightbox="gallery-item"]').parent(".clone").find('a[data-lightbox="gallery-item"]').attr("data-lightbox",""),e.find('a[data-lightbox="gallery-item"]').parents(".cloned").hasClass("cloned")&&e.find('a[data-lightbox="gallery-item"]').parents(".cloned").find('a[data-lightbox="gallery-item"]').attr("data-lightbox",""),e.magnificPopup({delegate:'a[data-lightbox="gallery-item"]',type:"image",closeOnContentClick:!0,closeBtnInside:i,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-fade",image:{verticalFit:!0},gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]}})),"iframe"==t&&e.magnificPopup({disableOn:Number(n),type:"iframe",removalDelay:160,preloader:!1,fixedContentPos:!1}),"inline"==t&&e.magnificPopup({type:"inline",mainClass:"mfp-no-margins mfp-fade",closeBtnInside:i,fixedContentPos:!0,overflowY:"scroll"}),"ajax"==t&&e.magnificPopup({type:"ajax",closeBtnInside:i,autoFocusLast:!1,callbacks:{ajaxContentAdded:function(e){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs()},open:function(){a.addClass("ohidden")},close:function(){a.removeClass("ohidden")}}}),"ajax-gallery"==t&&e.magnificPopup({delegate:'a[data-lightbox="ajax-gallery-item"]',type:"ajax",closeBtnInside:i,autoFocusLast:!1,gallery:{enabled:!0,preload:0,navigateByImgClick:!1},callbacks:{ajaxContentAdded:function(e){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs()},open:function(){a.addClass("ohidden")},close:function(){a.removeClass("ohidden")}}}),e.on("mfpOpen",function(){let e=$.magnificPopup.instance.currItem.el,t=$(e).attr("data-lightbox-class"),i=$(e).attr("data-lightbox-bg-class");""!=t&&$($.magnificPopup.instance.container).addClass(t),""!=i&&$($.magnificPopup.instance.bgOverlay).addClass(i)})})},window.SEMICOLON_modalInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-target"),i=t.split("#")[1],n=e.attr("data-delay")||500,a=e.attr("data-timeout"),s=e.attr("data-animate-in"),r=e.attr("data-animate-out"),o=e.attr("data-bg-click"),l=e.attr("data-close-btn"),c=e.attr("data-cookies"),d=e.attr("data-cookie-path"),u=e.attr("data-cookie-expire");if("false"==c&&Cookies.remove(i),"true"==c){let e=Cookies.get(i);if(void 0!==e&&"0"==e)return!0}o="false"!=o,l="false"!=l,n=Number(n)+500,setTimeout(function(){$.magnificPopup.open({items:{src:t},type:"inline",mainClass:"mfp-no-margins mfp-fade",closeBtnInside:!1,fixedContentPos:!0,closeOnBgClick:o,showCloseBtn:l,removalDelay:500,callbacks:{open:function(){""!=s&&$(t).addClass(s+" animated")},beforeClose:function(){""!=r&&$(t).removeClass(s).addClass(r)},afterClose:function(){if(""==s&&""==r||$(t).removeClass(s+" "+r+" animated"),"true"==c){let e={};u&&(e.expires=Number(u)),d&&(e.path=d),Cookies.set(i,"0",e)}}}},0)},n),""!=a&&setTimeout(function(){$.magnificPopup.close()},n+Number(a))})},window.scwLinkScrollPlugin=window.scwLinkScrollPlugin||{},function(e,t){function i(e,t,i){var n=d[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:0>e?0:n.max<e?n.max:e)}function n(t){var i=l(),n=i._rgba=[];return t=t.toLowerCase(),p(o,function(e,a){var s,r=a.re.exec(t),o=r&&a.parse(r),l=a.space||"rgba";return o?(s=i[l](o),i[c[l].cache]=s[c[l].cache],n=i._rgba=s._rgba,!1):void 0}),n.length?("0,0,0,0"===n.join()&&e.extend(n,s.transparent),i):s[t]}function a(e,t,i){return 1>6*(i=(i+1)%1)?e+(t-e)*i*6:1>2*i?t:2>3*i?e+(t-e)*(2/3-i)*6:e}var s,r=/^([\-+])=\s*(\d+\.?\d*)/,o=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],l=e.Color=function(t,i,n,a){return new e.Color.fn.parse(t,i,n,a)},c={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},d={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},u=l.support={},h=e("<p>")[0],p=e.each;h.style.cssText="background-color:rgba(1,1,1,.5)",u.rgba=h.style.backgroundColor.indexOf("rgba")>-1,p(c,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),l.fn=e.extend(l.prototype,{parse:function(a,r,o,d){if(a===t)return this._rgba=[null,null,null,null],this;(a.jquery||a.nodeType)&&(a=e(a).css(r),r=t);var u=this,h=e.type(a),f=this._rgba=[];return r!==t&&(a=[a,r,o,d],h="array"),"string"===h?this.parse(n(a)||s._default):"array"===h?(p(c.rgba.props,function(e,t){f[t.idx]=i(a[t.idx],t)}),this):"object"===h?(p(c,a instanceof l?function(e,t){a[t.cache]&&(u[t.cache]=a[t.cache].slice())}:function(t,n){var s=n.cache;p(n.props,function(e,t){if(!u[s]&&n.to){if("alpha"===e||null==a[e])return;u[s]=n.to(u._rgba)}u[s][t.idx]=i(a[e],t,!0)}),u[s]&&e.inArray(null,u[s].slice(0,3))<0&&(u[s][3]=1,n.from&&(u._rgba=n.from(u[s])))}),this):void 0},is:function(e){var t=l(e),i=!0,n=this;return p(c,function(e,a){var s,r=t[a.cache];return r&&(s=n[a.cache]||a.to&&a.to(n._rgba)||[],p(a.props,function(e,t){return null!=r[t.idx]?i=r[t.idx]===s[t.idx]:void 0})),i}),i},_space:function(){var e=[],t=this;return p(c,function(i,n){t[n.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var n=l(e),a=n._space(),s=c[a],r=0===this.alpha()?l("transparent"):this,o=r[s.cache]||s.to(r._rgba),u=o.slice();return n=n[s.cache],p(s.props,function(e,a){var s=a.idx,r=o[s],l=n[s],c=d[a.type]||{};null!==l&&(null===r?u[s]=l:(c.mod&&(l-r>c.mod/2?r+=c.mod:r-l>c.mod/2&&(r-=c.mod)),u[s]=i((l-r)*t+r,a)))}),this[a](u)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),a=l(t)._rgba;return l(e.map(i,function(e,t){return(1-n)*a[t]+n*e}))},toRgbaString:function(){var t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var t="hsla(",i=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var i=this._rgba.slice(),n=i.pop();return t&&i.push(~~(255*n)),"#"+e.map(i,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,c.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,i,n=e[0]/255,a=e[1]/255,s=e[2]/255,r=e[3],o=Math.max(n,a,s),l=Math.min(n,a,s),c=o-l,d=o+l,u=.5*d;return t=l===o?0:n===o?60*(a-s)/c+360:a===o?60*(s-n)/c+120:60*(n-a)/c+240,i=0===c?0:.5>=u?c/d:c/(2-d),[Math.round(t)%360,i,u,null==r?1:r]},c.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],n=e[2],s=e[3],r=.5>=n?n*(1+i):n+i-n*i,o=2*n-r;return[Math.round(255*a(o,r,t+1/3)),Math.round(255*a(o,r,t)),Math.round(255*a(o,r,t-1/3)),s]},p(c,function(n,a){var s=a.props,o=a.cache,c=a.to,d=a.from;l.fn[n]=function(n){if(c&&!this[o]&&(this[o]=c(this._rgba)),n===t)return this[o].slice();var a,r=e.type(n),u="array"===r||"object"===r?n:arguments,h=this[o].slice();return p(s,function(e,t){var n=u["object"===r?e:t.idx];null==n&&(n=h[t.idx]),h[t.idx]=i(n,t)}),d?((a=l(d(h)))[o]=h,a):l(h)},p(s,function(t,i){l.fn[t]||(l.fn[t]=function(a){var s,o=e.type(a),l="alpha"===t?this._hsla?"hsla":"rgba":n,c=this[l](),d=c[i.idx];return"undefined"===o?d:("function"===o&&(a=a.call(this,d),o=e.type(a)),null==a&&i.empty?this:("string"===o&&((s=r.exec(a))&&(a=d+parseFloat(s[2])*("+"===s[1]?1:-1))),c[i.idx]=a,this[l](c)))})})}),l.hook=function(t){var i=t.split(" ");p(i,function(t,i){e.cssHooks[i]={set:function(t,a){var s,r,o="";if("transparent"!==a&&("string"!==e.type(a)||(s=n(a)))){if(a=l(s||a),!u.rgba&&1!==a._rgba[3]){for(r="backgroundColor"===i?t.parentNode:t;(""===o||"transparent"===o)&&r&&r.style;)try{o=e.css(r,"backgroundColor"),r=r.parentNode}catch(e){}a=a.blend(o&&"transparent"!==o?o:"_default")}a=a.toRgbaString()}try{t.style[i]=a}catch(e){}}},e.fx.step[i]=function(t){t.colorInit||(t.start=l(t.elem,i),t.end=l(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.transition(t.end,t.pos))}})},l.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),e.cssHooks.borderColor={expand:function(e){var t={};return p(["Top","Right","Bottom","Left"],function(i,n){t["border"+n+"Color"]=e}),t}},s=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery);let windowElLs=jQuery(window),$bodyLs=jQuery("body"),$pageSectionElLs,locationHashLs=location.hash;window.SEMICOLON_linkScrollInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;if($('[data-scrollto="'+locationHashLs+'"]').length>0){windowElLs.on("beforeunload",function(){windowElLs.scrollTop(0)}),windowElLs.scrollTop(0);let e=$(locationHashLs);e.length>0&&setTimeout(function(){let t=e.offset().top,i=JSON.parse(e.attr("data-scrollto-settings"));$("html,body").stop(!0,!0).animate({scrollTop:t-Number(i.offset)},i.speed,i.easing,function(){i.highlight&&(e.find(".highlight-me").length>0?(e.find(".highlight-me").animate({backgroundColor:i.highlight},300),setTimeout(function(){e.find(".highlight-me").animate({backgroundColor:"transparent"},300)},500)):(e.animate({backgroundColor:i.highlight},300),setTimeout(function(){e.animate({backgroundColor:"transparent"},300)},500)))})},1200)}e.each(function(){let e=$(this).attr("data-scrollto"),t=$(e);if(t.length>0){let i=SEMICOLON_linkScrollSettings(e,$('[data-scrollto="'+e+'"]'));setTimeout(function(){t.attr("data-scrollto-settings",JSON.stringify(i)),$pageSectionElLs=$("[data-scrollto-settings]")},1e3)}}),e.off("click").on("click",function(){let e=$(this),t=e.attr("data-scrollto"),i=$(t);if(e.parents(".primary-menu").hasClass("on-click"))return!0;if(i.length>0){let e=JSON.parse(i.attr("data-scrollto-settings"));return $("html,body").stop(!0).animate({scrollTop:i.offset().top-Number(e.offset)},Number(e.speed),e.easing,function(){e.highlight&&(i.find(".highlight-me").length>0?(i.find(".highlight-me").animate({backgroundColor:e.highlight},300),setTimeout(function(){i.find(".highlight-me").animate({backgroundColor:"transparent"},300)},500)):(i.animate({backgroundColor:e.highlight},300),setTimeout(function(){i.animate({backgroundColor:"transparent"},300)},500)))}),!1}})},window.SEMICOLON_linkScrollSettings=function(e,t){if(void 0===e&&t.length<1)return!0;let i={},n=($(e).offset().top,t.attr("data-speed")||1250),a=t.attr("data-offset")||SEMICOLON.initialize.topScrollOffset(),s=t.attr("data-easing")||"easeOutQuad",r=t.attr("data-highlight"),o=t.attr("data-offset-xxl"),l=t.attr("data-offset-xl"),c=t.attr("data-offset-lg"),d=t.attr("data-offset-md"),u=t.attr("data-offset-sm"),h=t.attr("data-offset-xs");return h||(h=a),u||(u=h),d||(d=u),c||(c=d),l||(l=c),o||(o=l),$bodyLs.hasClass("device-xxl")?a=o:$bodyLs.hasClass("device-xl")?a=l:$bodyLs.hasClass("device-lg")?a=c:$bodyLs.hasClass("device-md")?a=d:$bodyLs.hasClass("device-sm")?a=u:$bodyLs.hasClass("device-xs")&&(a=h),i.offset=Number(a),i.speed=n,i.easing=s,i.highlight=r,i},window.scwMasonryThumbsPlugin=window.scwMasonryThumbsPlugin||{},window.SEMICOLON_masonryThumbsInit=function(e){if(e.length<1)return!0;$("body");e.each(function(){let e=$(this),t=e.attr("data-big");e.children().css({width:""});let i=e.children().eq(0).outerWidth();if(e.filter(".has-init-isotope").isotope({masonry:{columnWidth:i}}),t){t=t.split(",");let i="",n="";for(n=0;n<t.length;n++)i=Number(t[n])-1,e.children().eq(i).addClass("grid-item-big")}e.find(".grid-item-big").css({width:2*i+"px"}),setTimeout(function(){e.filter(".has-init-isotope").isotope("layout")},500)})},window.scwNavTreePlugin=window.scwNavTreePlugin||{},window.SEMICOLON_navtreeInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-speed")||250,i=e.attr("data-easing")||"swing";e.find("ul li:has(ul)").addClass("sub-menu"),e.find("ul li:has(ul) > a").append(' <i class="icon-angle-down"></i>'),e.hasClass("on-hover")?e.find("ul li:has(ul):not(.active)").hover(function(e){$(this).children("ul").stop(!0,!0).slideDown(Number(t),i)},function(){$(this).children("ul").delay(250).slideUp(Number(t),i)}):e.find("ul li:has(ul) > a").off("click").on("click",function(n){let a=$(this);e.find("ul li").not(a.parents()).removeClass("active"),a.parent().children("ul").slideToggle(Number(t),i,function(){$(this).find("ul").hide(),$(this).find("li.active").removeClass("active")}),e.find("ul li > ul").not(a.parent().children("ul")).not(a.parents("ul")).slideUp(Number(t),i),a.parent("li:has(ul)").toggleClass("active"),n.preventDefault()})})},window.scwNotificationPlugin=window.scwNotificationPlugin||{},window.SEMICOLON_notificationInit=function(e){let t,i,n,a=e=e.filter(":not(.customjs)"),s=a.attr("data-notify-position")||"top-right",r=a.attr("data-notify-type"),o=a.attr("data-notify-msg")||"Please set a message!",l=a.attr("data-notify-timeout")||5e3,c=a.attr("data-notify-close")||"true",d=a.attr("data-notify-autohide")||"true",u="toast-"+Math.floor(1e4*Math.random()),h=a.attr("data-notify-trigger")||"self",p=a.attr("data-notify-target"),f="";switch(r){case"primary":i="text-white bg-primary border-0";break;case"warning":i="text-dark bg-warning border-0";break;case"error":i="text-white bg-danger border-0";break;case"success":i="text-white bg-success border-0";break;case"info":i="bg-info text-dark border-0";break;case"dark":i="text-white bg-dark border-0";break;default:i=""}switch(s){case"top-left":t="top-0 start-0";break;case"top-center":t="top-0 start-50 translate-middle-x";break;case"middle-left":t="top-50 start-0 translate-middle-y";break;case"middle-center":t="top-50 start-50 translate-middle";break;case"middle-right":t="top-50 end-0 translate-middle-y";break;case"bottom-left":t="bottom-0 start-0";break;case"bottom-center":t="bottom-0 start-50 translate-middle-x";break;case"bottom-right":t="bottom-0 end-0";break;default:t="top-0 end-0"}n="info"!=r&&"warning"!=r&&r?"btn-close-white":"","true"==c&&(f='<button type="button" class="btn-close '+n+' btn-sm me-2 mt-2 ms-auto" data-bs-dismiss="toast" aria-label="Close"></button>'),d="true"==d;let m='<div class="position-fixed '+t+' p-3" style="z-index: 999999;"><div id="'+u+'" class="toast p-2 hide '+i+'" role="alert" aria-live="assertive" aria-atomic="true"><div class="d-flex"><div class="toast-body">'+o+"</div>"+f+"</div></div>";"self"==h&&(p||(a.attr("data-notify-target","#"+u),$("body").append(m))),[].slice.call(document.querySelectorAll(".toast")).map(function(e){return new bootstrap.Toast(e)}).forEach(e=>{e.hide()});let g=a.attr("data-notify-target");if($(g).length>0){new bootstrap.Toast($(g).get(0),{delay:Number(l),autohide:d}).show()}return!1},window.scwOnePageModulePlugin=window.scwOnePageModulePlugin||{};let $onePageMenu,windowEl=$(window),windowWidth=windowEl.width(),$body=$("body"),$pageSectionEl,locationHash=location.hash,onePageMenuActiveClass;function sm_format_twitter(e){for(var t=[],i=0;i<e.length;i++){var n=e[i].user.screen_name,a=e[i].user.name,s=e[i].user.profile_image_url_https,r=e[i].text.replace(/((https?|s?ftp|ssh)\:\/\/[^"\s\<\>]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return'<a href="'+e+'" target="_blank">'+e+"</a>"}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+'<a href="https://twitter.com/'+e.substring(1)+'" target="_blank">'+e.substring(1)+"</a>"});t.push('<li><i class="icon-twitter"></i><a href="https://twitter.com/'+n+'" class="twitter-avatar" target="_blank"><img src="'+s+'" alt="'+a+'" title="'+a+'"></a><div><span>'+r+'</span><small><a href="https://twitter.com/'+n+"/statuses/"+e[i].id_str+'" target="_blank">'+relative_time(e[i].created_at)+"</a></small></div></li>")}return t.join("")}function sm_format_twitter2(e){for(var t=[],i=0;i<e.length;i++){var n=e[i].user.screen_name,a=e[i].text.replace(/((https?|s?ftp|ssh)\:\/\/[^"\s\<\>]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return'<a href="'+e+'" target="_blank">'+e+"</a>"}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+'<a href="https://twitter.com/'+e.substring(1)+'" target="_blank">'+e.substring(1)+"</a>"});t.push('<div class="slide"><span>'+a+'</span><small><a href="https://twitter.com/'+n+"/statuses/"+e[i].id_str+'" target="_blank">'+relative_time(e[i].created_at)+"</a></small></div>")}return t.join("")}function sm_format_twitter3(e){for(var t=[],i=0;i<e.length;i++){var n=e[i].user.screen_name,a=e[i].text.replace(/((https?|s?ftp|ssh)\:\/\/[^"\s\<\>]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return'<a href="'+e+'" target="_blank">'+e+"</a>"}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+'<a href="https://twitter.com/'+e.substring(1)+'" target="_blank">'+e.substring(1)+"</a>"});t.push('<div class="slide"><div class="testi-content"><p>'+a+'</p><div class="testi-meta"><span><a href="https://twitter.com/'+n+"/statuses/"+e[i].id_str+'" target="_blank">'+relative_time(e[i].created_at)+"</a></span></div></div></div>")}return t.join("")}function relative_time(e){var t=e.split(" ");e=t[1]+" "+t[2]+", "+t[5]+" "+t[3];var i=Date.parse(e),n=arguments.length>1?arguments[1]:new Date,a=parseInt((n.getTime()-i)/1e3);return(a+=60*n.getTimezoneOffset())<60?"less than a minute ago":a<120?"about a minute ago":a<3600?parseInt(a/60).toString()+" minutes ago":a<7200?"about an hour ago":a<86400?"about "+parseInt(a/3600).toString()+" hours ago":a<172800?"1 day ago":parseInt(a/86400).toString()+" days ago"}window.SEMICOLON_onePageModule=function(e){if(($onePageMenu=e.filter(":not(.customjs)")).length<1)return!0;if($('a[data-href="'+locationHash+'"]').parents(".one-page-menu").length>0){windowEl.on("beforeunload",function(){windowEl.scrollTop(0)}),windowEl.scrollTop(0);let e=$(locationHash);e.length>0&&setTimeout(function(){let t=e.offset().top,i=JSON.parse(e.attr("data-onepage-settings"));$("html,body").stop(!0,!0).animate({scrollTop:t-Number(i.offset)},i.speed,i.easing)},1200)}let t=setInterval(function(){"pluginOnePageModuleReady"in scwEvents&&(windowEl.scrollEnd(function(){SEMICOLON_onePageScroller()},500),clearInterval(t))},1e3);$onePageMenu.each(function(){let t=$(this);onePageMenuActiveClass=t.attr("data-active-class")||"current",$onePageMenu=t,t.hasClass("no-offset")&&(elOffset=0);let i=t.find("a[data-href]");i.each(function(){let e=$(this).attr("data-href"),t=$(e);if(t.length>0){let i=SEMICOLON_onePageSettings(e,$('a[data-href="'+e+'"]'));setTimeout(function(){t.attr("data-onepage-settings",JSON.stringify(i)),$pageSectionEl=$("[data-onepage-settings]")},1e3)}}),i.off("click").on("click",function(){let i=$(this).attr("data-href"),n=$(i);if(n.length>0){let a=JSON.parse(n.attr("data-onepage-settings"));t.find("li").removeClass(onePageMenuActiveClass),t.find('a[data-href="'+i+'"]').parent("li").addClass(onePageMenuActiveClass),(windowWidth<992||$body.hasClass("overlay-menu"))&&(e.parents(".primary-menu").filter(":not(.mobile-menu-off-canvas)").find(".menu-container").stop(!0,!0).slideUp(200),$(".primary-menu.mobile-menu-off-canvas .menu-container").toggleClass("d-block",!1),$("#page-menu").toggleClass("page-menu-open",!1),$body.toggleClass("primary-menu-open",!1)),setTimeout(function(){let e=n.offset().top;$("html,body").stop(!0,!0).animate({scrollTop:e-Number(a.offset)},Number(a.speed),a.easing)},250)}return!1})})},window.SEMICOLON_onePageScroller=function(){$onePageMenu.find("[data-href]").parent().removeClass(onePageMenuActiveClass),$onePageMenu.find('[data-href="#'+SEMICOLON_onePageCurrentSection()+'"]').parent().addClass(onePageMenuActiveClass)},window.SEMICOLON_onePageCurrentSection=function(){let e;return void 0===$pageSectionEl||($pageSectionEl.each(function(t){let i=$(this),n=JSON.parse(i.attr("data-onepage-settings")),a=i.offset().top-n.offset-5,s=windowEl.scrollTop();s>=a&&s<a+i.height()&&i.attr("id")!=e&&(e=i.attr("id"))}),e)},window.SEMICOLON_onePageSettings=function(e,t){if(void 0===e||t.length<1)return!0;if($(e).length<1)return!0;let i={},n=t,a=t.parents(".one-page-menu"),s=($(e).offset().top,n.attr("data-speed")),r=n.attr("data-offset"),o=n.attr("data-easing");s||(s=a.attr("data-speed")||1250),o||(o=a.attr("data-easing")||"easeOutQuad"),r||(t=a,r=a.attr("data-offset")||SEMICOLON.initialize.topScrollOffset());let l=t.attr("data-offset-xxl"),c=t.attr("data-offset-xl"),d=t.attr("data-offset-lg"),u=t.attr("data-offset-md"),h=t.attr("data-offset-sm"),p=t.attr("data-offset-xs");return l||(l=Number(r)),c||(c=Number(l)),d||(d=Number(c)),u||(u=Number(d)),h||(h=Number(u)),p||(p=Number(h)),$body.hasClass("device-xxl")?r=l:$body.hasClass("device-xl")?r=c:$body.hasClass("device-lg")?r=d:$body.hasClass("device-md")?r=u:$body.hasClass("device-sm")?r=h:$body.hasClass("device-xs")&&(r=p),i.offset=r,i.speed=s,i.easing=o,i},function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){"use strict";var t=!1;e(window).on("load",function(){t=!0});var i="animsition",n={init:function(a){a=e.extend({inClass:"fade-in",outClass:"fade-out",inDuration:1500,outDuration:800,linkElement:".animsition-link",loading:!0,loadingParentElement:"body",loadingClass:"animsition-loading",loadingInner:"",timeout:!1,timeoutCountdown:5e3,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body",transition:function(e){window.location.href=e}},a),n.settings={timer:!1,data:{inClass:"animsition-in-class",inDuration:"animsition-in-duration",outClass:"animsition-out-class",outDuration:"animsition-out-duration",overlay:"animsition-overlay"},events:{inStart:"animsition.inStart",inEnd:"animsition.inEnd",outStart:"animsition.outStart",outEnd:"animsition.outEnd"}};var s=n.supportCheck.call(this,a);return s||!(a.browser.length>0)||s&&this.length?(n.optionCheck.call(this,a)&&e("."+a.overlayClass).length<=0&&n.addOverlay.call(this,a),a.loading&&e("."+a.loadingClass).length<=0&&n.addLoading.call(this,a),this.each(function(){var s=this,r=e(this),o=e(window),l=e(document);r.data(i)||(a=e.extend({},a),r.data(i,{options:a}),a.timeout&&n.addTimer.call(s),a.onLoadEvent&&(t?(n.settings.timer&&clearTimeout(n.settings.timer),n.in.call(s)):o.on("load."+i,function(){n.settings.timer&&clearTimeout(n.settings.timer),n.in.call(s)})),o.on("pageshow."+i,function(e){e.originalEvent.persisted&&n.in.call(s)}),o.on("unload."+i,function(){}),l.on("click."+i,a.linkElement,function(t){t.preventDefault();var i=e(this),a=i.attr("href");2===t.which||t.metaKey||t.shiftKey||-1!==navigator.platform.toUpperCase().indexOf("WIN")&&t.ctrlKey?window.open(a,"_blank"):n.out.call(s,i,a)}))})):("console"in window||(window.console={},window.console.log=function(e){return e}),this.length||console.log("Animsition: Element does not exist on page."),s||console.log("Animsition: Does not support this browser."),n.destroy.call(this))},addOverlay:function(t){e(t.overlayParentElement).prepend('<div class="'+t.overlayClass+'"></div>')},addLoading:function(t){e(t.loadingParentElement).append('<div class="'+t.loadingClass+'">'+t.loadingInner+"</div>")},removeLoading:function(){var t=e(this).data(i).options;e(t.loadingParentElement).children("."+t.loadingClass).fadeOut().remove()},addTimer:function(){var t=this,a=e(this).data(i).options;n.settings.timer=setTimeout(function(){n.in.call(t),e(window).off("load."+i)},a.timeoutCountdown)},supportCheck:function(t){var i=e(this),n=t.browser,a=n.length,s=!1;0===a&&(s=!0);for(var r=0;a>r;r++)if("string"==typeof i.css(n[r])){s=!0;break}return s},optionCheck:function(t){var i=e(this);return!(!t.overlay&&!i.data(n.settings.data.overlay))},animationCheck:function(t,n,a){var s=e(this).data(i).options,r=typeof t,o=!n&&"number"===r,l=n&&"string"===r&&t.length>0;return o||l?t=t:n&&a?t=s.inClass:!n&&a?t=s.inDuration:n&&!a?t=s.outClass:n||a||(t=s.outDuration),t},in:function(){var t=this,a=e(this),s=a.data(i).options,r=a.data(n.settings.data.inDuration),o=a.data(n.settings.data.inClass),l=n.animationCheck.call(t,r,!1,!0),c=n.animationCheck.call(t,o,!0,!0),d=n.optionCheck.call(t,s),u=a.data(i).outClass;s.loading&&n.removeLoading.call(t),u&&a.removeClass(u),d?n.inOverlay.call(t,c,l):n.inDefault.call(t,c,l)},inDefault:function(t,i){var a=e(this);a.css({"animation-duration":i+"ms"}).addClass(t).trigger(n.settings.events.inStart).animateCallback(function(){a.removeClass(t).css({opacity:1}).trigger(n.settings.events.inEnd)})},inOverlay:function(t,a){var s=e(this),r=s.data(i).options;s.css({opacity:1}).trigger(n.settings.events.inStart),e(r.overlayParentElement).children("."+r.overlayClass).css({"animation-duration":a+"ms"}).addClass(t).animateCallback(function(){s.trigger(n.settings.events.inEnd)})},out:function(t,a){var s=this,r=e(this),o=r.data(i).options,l=t.data(n.settings.data.outClass),c=r.data(n.settings.data.outClass),d=t.data(n.settings.data.outDuration),u=r.data(n.settings.data.outDuration),h=l||c,p=d||u,f=n.animationCheck.call(s,h,!0,!1),m=n.animationCheck.call(s,p,!1,!1),g=n.optionCheck.call(s,o);r.data(i).outClass=f,g?n.outOverlay.call(s,f,m,a):n.outDefault.call(s,f,m,a)},outDefault:function(t,a,s){var r=e(this),o=r.data(i).options;r.css({"animation-duration":a+1+"ms"}).addClass(t).trigger(n.settings.events.outStart).animateCallback(function(){r.trigger(n.settings.events.outEnd),o.transition(s)})},outOverlay:function(t,a,s){var r=e(this),o=r.data(i).options,l=r.data(n.settings.data.inClass),c=n.animationCheck.call(this,l,!0,!0);e(o.overlayParentElement).children("."+o.overlayClass).css({"animation-duration":a+1+"ms"}).removeClass(c).addClass(t).trigger(n.settings.events.outStart).animateCallback(function(){r.trigger(n.settings.events.outEnd),o.transition(s)})},destroy:function(){return this.each(function(){var t=e(this);e(window).off("."+i),t.css({opacity:1}).removeData(i)})}};e.fn.animateCallback=function(t){var i="animationend webkitAnimationEnd";return this.each(function(){var n=e(this);n.on(i,function(){return n.off(i),t.call(this)})})},e.fn.animsition=function(t){return n[t]?n[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist on jQuery."+i):n.init.apply(this,arguments)}}),window.SEMICOLON_pageTransitionInit=function(e){let t=$("body"),i=$("#wrapper");if(t.hasClass("no-transition"))return!0;if(!t.hasClass("page-transition"))return!0;if(!$().animsition)return t.addClass("no-transition"),console.log("pageTransition: Animsition not Defined."),!0;window.onpageshow=function(e){e.persisted&&window.location.reload()};let n=t.attr("data-animation-in")||"fadeIn",a=t.attr("data-animation-out")||"fadeOut",s=t.attr("data-speed-in")||1500,r=t.attr("data-speed-out")||800,o=!1,l=t.attr("data-loader-timeout"),c=t.attr("data-loader"),d=t.attr("data-loader-color"),u=t.attr("data-loader-html"),h="",p="",f="",m="",g="",v="",y="";l?(o=!0,l=Number(l)):(o=!1,l=!1),d&&("theme"==d?(m=" bg-color",g=" border-color",v=' class="bg-color"',y=' class="border-color"'):(p=' style="background-color:'+d+';"',f=' style="border-color:'+d+';"')),h="2"==c?'<div class="css3-spinner-flipper'+m+'"'+p+"></div>":"3"==c?'<div class="css3-spinner-double-bounce1'+m+'"'+p+'></div><div class="css3-spinner-double-bounce2'+m+'"'+p+"></div>":"4"==c?'<div class="css3-spinner-rect1'+m+'"'+p+'></div><div class="css3-spinner-rect2'+m+'"'+p+'></div><div class="css3-spinner-rect3'+m+'"'+p+'></div><div class="css3-spinner-rect4'+m+'"'+p+'></div><div class="css3-spinner-rect5'+m+'"'+p+"></div>":"5"==c?'<div class="css3-spinner-cube1'+m+'"'+p+'></div><div class="css3-spinner-cube2'+m+'"'+p+"></div>":"6"==c?'<div class="css3-spinner-scaler'+m+'"'+p+"></div>":"7"==c?'<div class="css3-spinner-grid-pulse"><div'+v+p+"></div><div"+v+p+"></div><div"+v+p+"></div><div"+v+p+"></div><div"+v+p+"></div><div"+v+p+"></div><div"+v+p+"></div><div"+v+p+"></div><div"+v+p+"></div></div>":"8"==c?'<div class="css3-spinner-clip-rotate"><div'+y+f+"></div></div>":"9"==c?'<div class="css3-spinner-ball-rotate"><div'+v+p+"></div><div"+v+p+"></div><div"+v+p+"></div></div>":"10"==c?'<div class="css3-spinner-zig-zag"><div'+v+p+"></div><div"+v+p+"></div></div>":"11"==c?'<div class="css3-spinner-triangle-path"><div'+v+p+"></div><div"+v+p+"></div><div"+v+p+"></div></div>":"12"==c?'<div class="css3-spinner-ball-scale-multiple"><div'+v+p+"></div><div"+v+p+"></div><div"+v+p+"></div></div>":"13"==c?'<div class="css3-spinner-ball-pulse-sync"><div'+v+p+"></div><div"+v+p+"></div><div"+v+p+"></div></div>":"14"==c?'<div class="css3-spinner-scale-ripple"><div'+y+f+"></div><div"+y+f+"></div><div"+y+f+"></div></div>":'<div class="css3-spinner-bounce1'+m+'"'+p+'></div><div class="css3-spinner-bounce2'+m+'"'+p+'></div><div class="css3-spinner-bounce3'+m+'"'+p+"></div>",u||(u=h),u='<div class="css3-spinner">'+u+"</div>",i.css({opacity:1}),i.animsition({inClass:n,outClass:a,inDuration:Number(s),outDuration:Number(r),linkElement:'body:not(.device-md):not(.device-sm):not(.device-xs) .primary-menu:not(.on-click) .menu-link:not([target="_blank"]):not([href*="#"]):not([data-lightbox]):not([href^="mailto"]):not([href^="tel"]):not([href^="sms"]):not([href^="call"])',loading:!0,loadingParentElement:"body",loadingClass:"page-transition-wrap",loadingInner:u,timeout:o,timeoutCountdown:l,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body"})},function(e,t,i){"use strict";function n(i){if(a=t.documentElement,s=t.body,R(),ne=this,le=(i=i||{}).constants||{},i.easing)for(var n in i.easing)W[n]=i.easing[n];me=i.edgeStrategy||"set",re={beforerender:i.beforerender,render:i.render,keyframe:i.keyframe},(oe=!1!==i.forceHeight)&&(Le=i.scale||1),ce=i.mobileDeceleration||x,ue=!1!==i.smoothScrolling,he=i.smoothScrollingDuration||S,pe={targetTop:ne.getScrollTop()},(Be=(i.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||e.opera)})())?((se=t.getElementById(i.skrollrBody||C))&&ie(),q(),Ee(a,[y,_],[b])):Ee(a,[y,w],[b]),ne.refresh(),ye(e,"resize orientationchange",function(){var e=a.clientWidth,t=a.clientHeight;(t!==De||e!==Ye)&&(De=t,Ye=e,Ne=!0)});var r=F();return function e(){U(),ve=r(e)}(),ne}var a,s,r={get:function(){return ne},init:function(e){return ne||new n(e)},VERSION:"0.6.29"},o=Object.prototype.hasOwnProperty,l=e.Math,c=e.getComputedStyle,d="touchstart",u="touchmove",h="touchcancel",p="touchend",f="skrollable",m=f+"-before",g=f+"-between",v=f+"-after",y="skrollr",b="no-"+y,w=y+"-desktop",_=y+"-mobile",T="linear",x=.004,C="skrollr-body",S=200,E="center",P="bottom",k="___skrollable_id",M=/^(?:input|textarea|button|select)$/i,I=/^\s+|\s+$/g,O=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,L=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,j=/^(@?[a-z\-]+)\[(\w+)\]$/,A=/-([a-z0-9_])/g,z=function(e,t){return t.toUpperCase()},Y=/[\-+]?[\d]*\.?[\d]+/g,D=/\{\?\}/g,N=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,$=/[a-z\-]+-gradient/g,B="",Q="",R=function(){var e=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(c){var t=c(s,null);for(var i in t)if(B=i.match(e)||+i==i&&t[i].match(e))break;if(!B)return void(B=Q="");"-"===(B=B[0]).slice(0,1)?(Q=B,B={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[B]):Q="-"+B.toLowerCase()+"-"}},F=function(){var t=e.requestAnimationFrame||e[B.toLowerCase()+"RequestAnimationFrame"],i=Me();return(Be||!t)&&(t=function(t){var n=Me()-i,a=l.max(0,1e3/60-n);return e.setTimeout(function(){i=Me(),t()},a)}),t},H=function(){var t=e.cancelAnimationFrame||e[B.toLowerCase()+"CancelAnimationFrame"];return(Be||!t)&&(t=function(t){return e.clearTimeout(t)}),t},W={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-l.cos(e*l.PI)/2+.5},sqrt:function(e){return l.sqrt(e)},outCubic:function(e){return l.pow(e-1,3)+1},bounce:function(e){var t;if(.5083>=e)t=3;else if(.8489>=e)t=9;else if(.96208>=e)t=27;else{if(!(.99981>=e))return 1;t=91}return 1-l.abs(3*l.cos(e*t*1.028)/t)}};n.prototype.refresh=function(e){var n,a,s=!1;for(e===i?(s=!0,ae=[],$e=0,e=t.getElementsByTagName("*")):e.length===i&&(e=[e]),n=0,a=e.length;a>n;n++){var r=e[n],o=r,l=[],c=ue,d=me,u=!1;if(s&&k in r&&delete r[k],r.attributes){for(var h=0,p=r.attributes.length;p>h;h++){var m=r.attributes[h];if("data-anchor-target"!==m.name)if("data-smooth-scrolling"!==m.name)if("data-edge-strategy"!==m.name)if("data-emit-events"!==m.name){var g=m.name.match(O);if(null!==g){var v={props:m.value,element:r,eventType:m.name.replace(A,z)};l.push(v);var y=g[1];y&&(v.constant=y.substr(1));var b=g[2];/p$/.test(b)?(v.isPercentage=!0,v.offset=(0|b.slice(0,-1))/100):v.offset=0|b;var w=g[3],_=g[4]||w;w&&"start"!==w&&"end"!==w?(v.mode="relative",v.anchors=[w,_]):(v.mode="absolute","end"===w?v.isEnd=!0:v.isPercentage||(v.offset=v.offset*Le))}}else u=!0;else d=m.value;else c="off"!==m.value;else if(null===(o=t.querySelector(m.value)))throw'Unable to find anchor target "'+m.value+'"'}var T,x,C;if(l.length)!s&&k in r?(C=r[k],T=ae[C].styleAttr,x=ae[C].classAttr):(C=r[k]=$e++,T=r.style.cssText,x=Se(r)),ae[C]={element:r,styleAttr:T,classAttr:x,anchorTarget:o,keyFrames:l,smoothScrolling:c,edgeStrategy:d,emitEvents:u,lastFrameIndex:-1},Ee(r,[f],[])}}for(Te(),n=0,a=e.length;a>n;n++){var S=ae[e[n][k]];S!==i&&(G(S),K(S))}return ne},n.prototype.relativeToAbsolute=function(e,t,i){var n=a.clientHeight,s=e.getBoundingClientRect(),r=s.top,o=s.bottom-s.top;return t===P?r-=n:t===E&&(r-=n/2),i===P?r+=o:i===E&&(r+=o/2),(r+=ne.getScrollTop())+.5|0},n.prototype.animateTo=function(e,t){t=t||{};var n=Me(),a=ne.getScrollTop(),s=t.duration===i?1e3:t.duration;return(de={startTop:a,topDiff:e-a,targetTop:e,duration:s,startTime:n,endTime:n+s,easing:W[t.easing||T],done:t.done}).topDiff||(de.done&&de.done.call(ne,!1),de=i),ne},n.prototype.stopAnimateTo=function(){de&&de.done&&de.done.call(ne,!0),de=i},n.prototype.isAnimatingTo=function(){return!!de},n.prototype.isMobile=function(){return Be},n.prototype.setScrollTop=function(t,i){return fe=!0===i,Be?Qe=l.min(l.max(t,0),Oe):e.scrollTo(0,t),ne},n.prototype.getScrollTop=function(){return Be?Qe:e.pageYOffset||a.scrollTop||s.scrollTop||0},n.prototype.getMaxScrollTop=function(){return Oe},n.prototype.on=function(e,t){return re[e]=t,ne},n.prototype.off=function(e){return delete re[e],ne},n.prototype.destroy=function(){H()(ve),we(),Ee(a,[b],[y,w,_]);for(var e=0,t=ae.length;t>e;e++)te(ae[e].element);a.style.overflow=s.style.overflow="",a.style.height=s.style.height="",se&&r.setStyle(se,"transform","none"),ne=i,se=i,re=i,oe=i,Oe=0,Le=1,le=i,ce=i,je="down",Ae=-1,Ye=0,De=0,Ne=!1,de=i,ue=i,he=i,pe=i,fe=i,$e=0,me=i,Be=!1,Qe=0,ge=i};var q=function(){var n,r,o,c,f,m,g,v,y,b,w;ye(a,[d,u,h,p].join(" "),function(e){var a=e.changedTouches[0];for(c=e.target;3===c.nodeType;)c=c.parentNode;switch(f=a.clientY,m=a.clientX,y=e.timeStamp,M.test(c.tagName)||e.preventDefault(),e.type){case d:n&&n.blur(),ne.stopAnimateTo(),n=c,r=g=f,o=m,y;break;case u:M.test(c.tagName)&&t.activeElement!==c&&e.preventDefault(),v=f-g,w=y-b,ne.setScrollTop(Qe-v,!0),g=f,b=y;break;default:case h:case p:var s=r-f,_=o-m;if(49>_*_+s*s){if(!M.test(n.tagName)){n.focus();var T=t.createEvent("MouseEvents");T.initMouseEvent("click",!0,!0,e.view,1,a.screenX,a.screenY,a.clientX,a.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null),n.dispatchEvent(T)}return}n=i;var x=v/w;x=l.max(l.min(x,3),-3);var C=l.abs(x/ce),S=x*C+.5*ce*C*C,E=ne.getScrollTop()-S,P=0;E>Oe?(P=(Oe-E)/S,E=Oe):0>E&&(P=-E/S,E=0),C*=1-P,ne.animateTo(E+.5|0,{easing:"outCubic",duration:C})}}),e.scrollTo(0,0),a.style.overflow=s.style.overflow="hidden"},V=function(e,t){for(var i=0,n=ae.length;n>i;i++){var a,s,l=ae[i],c=l.element,d=l.smoothScrolling?e:t,u=l.keyFrames,h=u.length,p=u[0],y=u[u.length-1],b=d<p.frame,w=d>y.frame,_=b?p:y,T=l.emitEvents,x=l.lastFrameIndex;if(b||w){if(b&&-1===l.edge||w&&1===l.edge)continue;switch(b?(Ee(c,[m],[v,g]),T&&x>-1&&(_e(c,p.eventType,je),l.lastFrameIndex=-1)):(Ee(c,[v],[m,g]),T&&h>x&&(_e(c,y.eventType,je),l.lastFrameIndex=h)),l.edge=b?-1:1,l.edgeStrategy){case"reset":te(c);continue;case"ease":d=_.frame;break;default:case"set":var C=_.props;for(a in C)o.call(C,a)&&(s=ee(C[a].value),0===a.indexOf("@")?c.setAttribute(a.substr(1),s):r.setStyle(c,a,s));continue}}else 0!==l.edge&&(Ee(c,[f,g],[m,v]),l.edge=0);for(var S=0;h-1>S;S++)if(d>=u[S].frame&&d<=u[S+1].frame){var E=u[S],P=u[S+1];for(a in E.props)if(o.call(E.props,a)){var k=(d-E.frame)/(P.frame-E.frame);k=E.props[a].easing(k),s=J(E.props[a].value,P.props[a].value,k),s=ee(s),0===a.indexOf("@")?c.setAttribute(a.substr(1),s):r.setStyle(c,a,s)}T&&x!==S&&(_e(c,"down"===je?E.eventType:P.eventType,je),l.lastFrameIndex=S);break}}},U=function(){Ne&&(Ne=!1,Te());var e,t,n=ne.getScrollTop(),a=Me();if(de)a>=de.endTime?(n=de.targetTop,e=de.done,de=i):(t=de.easing((a-de.startTime)/de.duration),n=de.startTop+t*de.topDiff|0),ne.setScrollTop(n,!0);else if(!fe){pe.targetTop-n&&(pe={startTop:Ae,topDiff:n-Ae,targetTop:n,startTime:ze,endTime:ze+he}),a<=pe.endTime&&(t=W.sqrt((a-pe.startTime)/he),n=pe.startTop+t*pe.topDiff|0)}if(fe||Ae!==n){fe=!1;var s={curTop:n,lastTop:Ae,maxTop:Oe,direction:je=n>Ae?"down":Ae>n?"up":je};!1!==(re.beforerender&&re.beforerender.call(ne,s))&&(V(n,ne.getScrollTop()),Be&&se&&r.setStyle(se,"transform","translate(0, "+-Qe+"px) "+ge),Ae=n,re.render&&re.render.call(ne,s)),e&&e.call(ne,!1)}ze=a},G=function(e){for(var t=0,i=e.keyFrames.length;i>t;t++){for(var n,a,s,r,o=e.keyFrames[t],l={};null!==(r=L.exec(o.props));)s=r[1],a=r[2],null!==(n=s.match(j))?(s=n[1],n=n[2]):n=T,a=a.indexOf("!")?X(a):[a.slice(1)],l[s]={value:a,easing:W[n]};o.props=l}},X=function(e){var t=[];return N.lastIndex=0,e=e.replace(N,function(e){return e.replace(Y,function(e){return e/255*100+"%"})}),Q&&($.lastIndex=0,e=e.replace($,function(e){return Q+e})),e=e.replace(Y,function(e){return t.push(+e),"{?}"}),t.unshift(e),t},K=function(e){var t,i,n={};for(t=0,i=e.keyFrames.length;i>t;t++)Z(e.keyFrames[t],n);for(n={},t=e.keyFrames.length-1;t>=0;t--)Z(e.keyFrames[t],n)},Z=function(e,t){var i;for(i in t)o.call(e.props,i)||(e.props[i]=t[i]);for(i in e.props)t[i]=e.props[i]},J=function(e,t,i){var n,a=e.length;if(a!==t.length)throw"Can't interpolate between \""+e[0]+'" and "'+t[0]+'"';var s=[e[0]];for(n=1;a>n;n++)s[n]=e[n]+(t[n]-e[n])*i;return s},ee=function(e){var t=1;return D.lastIndex=0,e[0].replace(D,function(){return e[t++]})},te=function(e,t){for(var i,n,a=0,s=(e=[].concat(e)).length;s>a;a++)n=e[a],(i=ae[n[k]])&&(t?(n.style.cssText=i.dirtyStyleAttr,Ee(n,i.dirtyClassAttr)):(i.dirtyStyleAttr=n.style.cssText,i.dirtyClassAttr=Se(n),n.style.cssText=i.styleAttr,Ee(n,i.classAttr)))},ie=function(){ge="translateZ(0)",r.setStyle(se,"transform",ge);var e=c(se),t=e.getPropertyValue("transform"),i=e.getPropertyValue(Q+"transform");t&&"none"!==t||i&&"none"!==i||(ge="")};r.setStyle=function(e,t,i){var n=e.style;if("zIndex"===(t=t.replace(A,z).replace("-","")))isNaN(i)?n[t]=i:n[t]=""+(0|i);else if("float"===t)n.styleFloat=n.cssFloat=i;else try{B&&(n[B+t.slice(0,1).toUpperCase()+t.slice(1)]=i),n[t]=i}catch(e){}};var ne,ae,se,re,oe,le,ce,de,ue,he,pe,fe,me,ge,ve,ye=r.addEvent=function(t,i,n){for(var a,s=function(t){return(t=t||e.event).target||(t.target=t.srcElement),t.preventDefault||(t.preventDefault=function(){t.returnValue=!1,t.defaultPrevented=!0}),n.call(this,t)},r=0,o=(i=i.split(" ")).length;o>r;r++)a=i[r],t.addEventListener?t.addEventListener(a,n,!1):t.attachEvent("on"+a,s),Re.push({element:t,name:a,listener:n})},be=r.removeEvent=function(e,t,i){for(var n=0,a=(t=t.split(" ")).length;a>n;n++)e.removeEventListener?e.removeEventListener(t[n],i,!1):e.detachEvent("on"+t[n],i)},we=function(){for(var e,t=0,i=Re.length;i>t;t++)e=Re[t],be(e.element,e.name,e.listener);Re=[]},_e=function(e,t,i){re.keyframe&&re.keyframe.call(ne,e,t,i)},Te=function(){var e=ne.getScrollTop();Oe=0,oe&&!Be&&(s.style.height=""),function(){var e,t,i,n,s,r,o,c,d,u,h,p=a.clientHeight,f=xe();for(c=0,d=ae.length;d>c;c++)for(t=(e=ae[c]).element,i=e.anchorTarget,s=0,r=(n=e.keyFrames).length;r>s;s++)u=(o=n[s]).offset,h=f[o.constant]||0,o.frame=u,o.isPercentage&&(u*=p,o.frame=u),"relative"===o.mode&&(te(t),o.frame=ne.relativeToAbsolute(i,o.anchors[0],o.anchors[1])-u,te(t,!0)),o.frame+=h,oe&&!o.isEnd&&o.frame>Oe&&(Oe=o.frame);for(Oe=l.max(Oe,Ce()),c=0,d=ae.length;d>c;c++){for(s=0,r=(n=(e=ae[c]).keyFrames).length;r>s;s++)h=f[(o=n[s]).constant]||0,o.isEnd&&(o.frame=Oe-o.offset+h);e.keyFrames.sort(Ie)}}(),oe&&!Be&&(s.style.height=Oe+a.clientHeight+"px"),Be?ne.setScrollTop(l.min(ne.getScrollTop(),Oe)):ne.setScrollTop(e,!0),fe=!0},xe=function(){var e,t,i=a.clientHeight,n={};for(e in le)"function"==typeof(t=le[e])?t=t.call(ne):/p$/.test(t)&&(t=t.slice(0,-1)/100*i),n[e]=t;return n},Ce=function(){var e=0;return se&&(e=l.max(se.offsetHeight,se.scrollHeight)),l.max(e,s.scrollHeight,s.offsetHeight,a.scrollHeight,a.offsetHeight,a.clientHeight)-a.clientHeight},Se=function(t){var i="className";return e.SVGElement&&t instanceof e.SVGElement&&(t=t[i],i="baseVal"),t[i]},Ee=function(t,n,a){var s="className";if(e.SVGElement&&t instanceof e.SVGElement&&(t=t[s],s="baseVal"),a!==i){for(var r=t[s],o=0,l=a.length;l>o;o++)r=ke(r).replace(ke(a[o])," ");r=Pe(r);for(var c=0,d=n.length;d>c;c++)-1===ke(r).indexOf(ke(n[c]))&&(r+=" "+n[c]);t[s]=Pe(r)}else t[s]=n},Pe=function(e){return e.replace(I,"")},ke=function(e){return" "+e+" "},Me=Date.now||function(){return+new Date},Ie=function(e,t){return e.frame-t.frame},Oe=0,Le=1,je="down",Ae=-1,ze=Me(),Ye=0,De=0,Ne=!1,$e=0,Be=!1,Qe=0,Re=[];"function"==typeof define&&define.amd?define([],function(){return r}):"undefined"!=typeof module&&module.exports?module.exports=r:e.skrollr=r}(window,document),window.SEMICOLON_parallaxInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;SEMICOLON.isMobile.any()?e.addClass("mobile-parallax"):window.skrollrInstance=skrollr.init({forceHeight:!1})},function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(0,function(e){var t=function(e,t){var i,n=document.createElement("canvas");e.appendChild(n),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(n);var a=n.getContext("2d");n.width=n.height=t.size;var s=1;window.devicePixelRatio>1&&(s=window.devicePixelRatio,n.style.width=n.style.height=[t.size,"px"].join(""),n.width=n.height=t.size*s,a.scale(s,s)),a.translate(t.size/2,t.size/2),a.rotate((t.rotate/180-.5)*Math.PI);var r=(t.size-t.lineWidth)/2;t.scaleColor&&t.scaleLength&&(r-=t.scaleLength+2),Date.now=Date.now||function(){return+new Date};var o=function(e,t,i){var n=0>=(i=Math.min(Math.max(-1,i||0),1));a.beginPath(),a.arc(0,0,r,0,2*Math.PI*i,n),a.strokeStyle=e,a.lineWidth=t,a.stroke()},l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},c=function(){t.scaleColor&&function(){var e,i;a.lineWidth=1,a.fillStyle=t.scaleColor,a.save();for(var n=24;n>0;--n)n%6==0?(i=t.scaleLength,e=0):(i=.6*t.scaleLength,e=t.scaleLength-i),a.fillRect(-t.size/2+e,0,i,1),a.rotate(Math.PI/12);a.restore()}(),t.trackColor&&o(t.trackColor,t.trackWidth||t.lineWidth,1)};this.getCanvas=function(){return n},this.getCtx=function(){return a},this.clear=function(){a.clearRect(t.size/-2,t.size/-2,t.size,t.size)},this.draw=function(e){var n;t.scaleColor||t.trackColor?a.getImageData&&a.putImageData?i?a.putImageData(i,0,0):(c(),i=a.getImageData(0,0,t.size*s,t.size*s)):(this.clear(),c()):this.clear(),a.lineCap=t.lineCap,n="function"==typeof t.barColor?t.barColor(e):t.barColor,o(n,t.lineWidth,e/100)}.bind(this),this.animate=function(e,i){var n=Date.now();t.onStart(e,i);var a=function(){var s=Math.min(Date.now()-n,t.animate.duration),r=t.easing(this,s,e,i-e,t.animate.duration);this.draw(r),t.onStep(e,i,r),s>=t.animate.duration?t.onStop(e,i):l(a)}.bind(this);l(a)}.bind(this)},i=function(e,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,a){return 1>(t/=a/2)?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){}};if(void 0!==t)n.renderer=t;else{if("undefined"==typeof SVGRenderer)throw new Error("Please load either the SVG- or the CanvasRenderer");n.renderer=SVGRenderer}var a={},s=0,r=function(){for(var t in this.el=e,this.options=a,n)n.hasOwnProperty(t)&&(a[t]=i&&void 0!==i[t]?i[t]:n[t],"function"==typeof a[t]&&(a[t]=a[t].bind(this)));"string"==typeof a.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[a.easing])?a.easing=jQuery.easing[a.easing]:a.easing=n.easing,"number"==typeof a.animate&&(a.animate={duration:a.animate,enabled:!0}),"boolean"!=typeof a.animate||a.animate||(a.animate={duration:1e3,enabled:a.animate}),this.renderer=new a.renderer(e,a),this.renderer.draw(s),e.dataset&&e.dataset.percent?this.update(parseFloat(e.dataset.percent)):e.getAttribute&&e.getAttribute("data-percent")&&this.update(parseFloat(e.getAttribute("data-percent")))}.bind(this);this.update=function(e){return e=parseFloat(e),a.animate.enabled?this.renderer.animate(s,e):this.renderer.draw(e),s=e,this}.bind(this),this.disableAnimation=function(){return a.animate.enabled=!1,this},this.enableAnimation=function(){return a.animate.enabled=!0,this},r()};e.fn.easyPieChart=function(t){return this.each(function(){var n;e.data(this,"easyPieChart")||(n=e.extend({},t,e(this).data()),e.data(this,"easyPieChart",new i(this,n)))})}}),window.SEMICOLON_roundedSkillInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-size")||140,i=e.attr("data-speed")||2e3,n=e.attr("data-width")||4,a=e.attr("data-color")||"#0093BF",s=e.attr("data-trackcolor")||"rgba(0,0,0,0.04)",r={size:Number(t),speed:Number(i),width:Number(n),color:a,trackcolor:s};if(e.css({width:t+"px",height:t+"px","line-height":t+"px"}),$("body").hasClass("device-xl")||$("body").hasClass("device-lg")){e.animate({opacity:0},10),new IntersectionObserver(function(t,i){t.forEach(function(t){if(t.isIntersecting){if(!e.hasClass("skills-animated")){setTimeout(function(){e.css({opacity:1})},100);SEMICOLON_runRoundedSkills(e,r),e.addClass("skills-animated")}i.unobserve(t.target)}})},{rootMargin:"-50px"}).observe(e[0])}else SEMICOLON_runRoundedSkills(e,r)})},window.SEMICOLON_runRoundedSkills=function(e,t){e.easyPieChart({size:t.size,animate:t.speed,scaleColor:!1,trackColor:t.trackcolor,lineWidth:t.width,lineCap:"square",barColor:t.color})},window.scwPricingSwitcherPlugin=window.scwPricingSwitcherPlugin||{},window.SEMICOLON_pricingSwitcherFn=function(e,t,i,n,a){t.find(".pts-left,.pts-right").removeClass(a).addClass(n),i.find(".pts-switch-content-left,.pts-switch-content-right").addClass("d-none"),e.filter(":checked").length>0?(t.find(".pts-right").removeClass(n).addClass(a),i.find(".pts-switch-content-right").removeClass("d-none")):(t.find(".pts-left").removeClass(n).addClass(a),i.find(".pts-switch-content-left").removeClass("d-none"))},window.SEMICOLON_pricingSwitcherInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var e=$(this).find(":checkbox"),t=$(this).parents(".pricing-tenure-switcher"),i=$(this).attr("data-default-class")||"text-muted op-05",n=$(this).attr("data-active-class")||"fw-bold",a=$(t.attr("data-container"));SEMICOLON_pricingSwitcherFn(e,t,a,i,n),e.on("change",function(){SEMICOLON_pricingSwitcherFn(e,t,a,i,n)})})},window.scwProgressPlugin=window.scwProgressPlugin||{},window.SEMICOLON_progressInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.parent("li"),i=t.attr("data-percent");if(e.parent(".kv-upload-progress").length>0||e.children(".progress-bar").length>0)return!0;new IntersectionObserver(function(n,a){n.forEach(function(n){n.isIntersecting&&(t.hasClass("skills-animated")||(SEMICOLON.widget.counter({el:e.find(".counter-instant")}),t.find(".progress").css({width:i+"%"}).addClass("skills-animated")),a.unobserve(n.target))})},{rootMargin:"-50px"}).observe(t[0])})},window.scwQuantityPlugin=window.scwQuantityPlugin||{},window.SEMICOLON_quantityInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;$(".plus").off("click").on("click",function(){let e=$(this).parents(".quantity").find(".qty"),t=e.val(),i=e.attr("step")||1,n=e.attr("max");if(n&&Number(t)>=Number(n))return!1;if(/^\d+$/.test(t)){let n=Number(t)+Number(i);e.val(n).change()}else e.val(Number(i)).change();return!1}),$(".minus").off("click").on("click",function(){let e=$(this).parents(".quantity").find(".qty"),t=e.val(),i=e.attr("step")||1,n=e.attr("min");if((!n||n<0)&&(n=1),/^\d+$/.test(t)){if(Number(t)>Number(n)){let n=Number(t)-Number(i);e.val(n).change()}}else e.val(Number(i)).change();return!1})},window.scwReadMorePlugin=window.scwReadMorePlugin||{},window.SEMICOLON_readmoreInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.outerHeight(),i=e.attr("data-readmore-size")||"10rem",n=e.attr("data-readmore-speed")||500,a=e.attr("data-readmore-trigger")||".read-more-trigger",s=e.attr("data-readmore-trigger-open")||"Read More",r=e.attr("data-readmore-trigger-close")||"Read Less";(a=e.find(a)).html(s),n=Number(n),e.addClass("read-more-wrap").css({height:i,"-webkit-transition-duration":n+"ms","transition-duration":n+"ms"}).append('<div class="read-more-mask"></div>');let o=e.find(".read-more-mask"),l=e.attr("data-readmore-mask")||"true",c=e.attr("data-readmore-maskcolor")||"#FFF",d=e.attr("data-readmore-masksize")||"100%";"true"==l?o.css({height:d,"background-image":"linear-gradient( "+SEMICOLON_HEXtoRGBA(c,0)+", "+SEMICOLON_HEXtoRGBA(c,1)+" )"}):o.addClass("d-none"),a.off("click").on("click",function(){if(e.hasClass("read-more-wrap-open"))e.css({height:i}).removeClass("read-more-wrap-open"),setTimeout(function(){a.html(s)},n),"true"==l&&o.fadeIn(n);else{"false"==r&&a.remove();let i=t+a.outerHeight();e.css({height:i,overflow:""}).addClass("read-more-wrap-open"),setTimeout(function(){a.html(r)},n),"true"==l&&o.fadeOut(n)}return!1})})},window.SEMICOLON_HEXtoRGBA=function(e,t){let i;if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(e))return 3==(i=e.substring(1).split("")).length&&(i=[i[0],i[0],i[1],i[1],i[2],i[2]]),"rgba("+[(i="0x"+i.join(""))>>16&255,i>>8&255,255&i].join(",")+","+t+")";console.log("Bad Hex")},window.scwShapeDividerPlugin=window.scwShapeDividerPlugin||{},window.SEMICOLON_shapeDividerInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e,t,i,n=$(this),a=n.attr("data-shape")||"valley",s=n.attr("data-width")||100,r=n.attr("data-height")||100,o=n.attr("data-fill"),l=n.attr("data-outside")||"false",c=n.attr("data-position")||"top",d="shape-divider-"+Math.floor(1e4*Math.random()),u="",h="";s<100&&(s=100),e="width: calc( "+Number(s)+"% + 1.5px );",t="height: "+Number(r)+"px;",i="fill: "+o+";","true"==l&&(h="bottom"==c?"#"+d+".shape-divider { bottom: -"+(Number(r)-1)+"px; } ":"#"+d+".shape-divider { top: -"+(Number(r)-1)+"px; } ");let p=h+"#"+d+".shape-divider svg { "+e+t+" } #"+d+".shape-divider .shape-divider-fill { "+i+" }",f=document.head||document.getElementsByTagName("head")[0],m=document.createElement("style");switch(f.appendChild(m),m.type="text/css",m.appendChild(document.createTextNode(p)),n.attr("id",d),a){case"valley":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 355" preserveAspectRatio="none"><defs><style>.b{opacity:.5}.c{opacity:.3}</style></defs><path fill="none" d="M999.45 0H0v165.72l379.95 132.46L999.45 0z"></path><path class="b shape-divider-fill" d="M379.95 298.18l28.47 9.92L1000 118.75V0h-.55l-619.5 298.18zM492.04 337.25L1000 252.63V118.75L408.42 308.1l83.62 29.15z"></path><path class="b shape-divider-fill" d="M492.04 337.25L1000 252.63V118.75L408.42 308.1l83.62 29.15z"></path><path class="shape-divider-fill" d="M530.01 350.49l20.22 4.51H1000V252.63l-507.96 84.62 37.97 13.24z"></path><path class="b shape-divider-fill" d="M530.01 350.49l20.22 4.51H1000V252.63l-507.96 84.62 37.97 13.24z"></path><path class="b shape-divider-fill" d="M530.01 350.49l20.22 4.51H1000V252.63l-507.96 84.62 37.97 13.24z"></path><path class="shape-divider-fill" d="M542.94 355h7.29l-20.22-4.51 12.93 4.51z"></path><path class="b shape-divider-fill" d="M542.94 355h7.29l-20.22-4.51 12.93 4.51z"></path><path class="c shape-divider-fill" d="M542.94 355h7.29l-20.22-4.51 12.93 4.51z"></path><path class="b shape-divider-fill" d="M542.94 355h7.29l-20.22-4.51 12.93 4.51z"></path><path class="c shape-divider-fill" d="M379.95 298.18L0 165.72v66.59l353.18 78.75 26.77-12.88z"></path><path class="c shape-divider-fill" d="M353.18 311.06L0 232.31v71.86l288.42 38.06 64.76-31.17z"></path><path class="c shape-divider-fill" d="M353.18 311.06L0 232.31v71.86l288.42 38.06 64.76-31.17z"></path><path class="b shape-divider-fill" d="M380.28 317.11l28.14-9.01-28.47-9.92-26.77 12.88 27.1 6.05z"></path><path class="c shape-divider-fill" d="M380.28 317.11l28.14-9.01-28.47-9.92-26.77 12.88 27.1 6.05z"></path><path class="b shape-divider-fill" d="M479.79 339.29l12.25-2.04-83.62-29.15-28.14 9.01 99.51 22.18z"></path><path class="b shape-divider-fill" d="M479.79 339.29l12.25-2.04-83.62-29.15-28.14 9.01 99.51 22.18z"></path><path class="c shape-divider-fill" d="M479.79 339.29l12.25-2.04-83.62-29.15-28.14 9.01 99.51 22.18z"></path><path class="shape-divider-fill" d="M530.01 350.49l-37.97-13.24-12.25 2.04 50.22 11.2z"></path><path class="b shape-divider-fill" d="M530.01 350.49l-37.97-13.24-12.25 2.04 50.22 11.2z"></path><path class="b shape-divider-fill" d="M530.01 350.49l-37.97-13.24-12.25 2.04 50.22 11.2z"></path><path class="c shape-divider-fill" d="M530.01 350.49l-37.97-13.24-12.25 2.04 50.22 11.2zM288.42 342.23l9.46 1.25 82.4-26.37-27.1-6.05-64.76 31.17z"></path><path class="b shape-divider-fill" d="M288.42 342.23l9.46 1.25 82.4-26.37-27.1-6.05-64.76 31.17z"></path><path class="c shape-divider-fill" d="M288.42 342.23l9.46 1.25 82.4-26.37-27.1-6.05-64.76 31.17z"></path><path class="b shape-divider-fill" d="M380.28 317.11l-82.4 26.37 87.3 11.52h.34l94.27-15.71-99.51-22.18z"></path><path class="c shape-divider-fill" d="M380.28 317.11l-82.4 26.37 87.3 11.52h.34l94.27-15.71-99.51-22.18z"></path><path class="b shape-divider-fill" d="M380.28 317.11l-82.4 26.37 87.3 11.52h.34l94.27-15.71-99.51-22.18z"></path><path class="c shape-divider-fill" d="M380.28 317.11l-82.4 26.37 87.3 11.52h.34l94.27-15.71-99.51-22.18z"></path><path class="shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="b shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="c shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="b shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="c shape-divider-fill" d="M479.79 339.29L385.52 355h157.42l-12.93-4.51-50.22-11.2z"></path><path class="shape-divider-fill" d="M288.42 342.23L0 304.17V355h385.18l-87.3-11.52-9.46-1.25z"></path></svg>';break;case"valley-2":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M194,99c186.7,0.7,305-78.3,306-97.2c1,18.9,119.3,97.9,306,97.2c114.3-0.3,194,0.3,194,0.3s0-91.7,0-100c0,0,0,0,0-0 L0,0v99.3C0,99.3,79.7,98.7,194,99z"></path></svg>';break;case"valley-3":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1280 0L640 70 0 0v140l640-70 640 70V0z" opacity="0.5"></path><path class="shape-divider-fill" d="M1280 0H0l640 70 640-70z"></path></svg>';break;case"mountain":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M500,98.9L0,6.1V0h1000v6.1L500,98.9z"></path></svg>';break;case"mountain-2":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M640 140L1280 0H0z" opacity="0.5"/><path class="shape-divider-fill" d="M640 98l640-98H0z"/></svg>';break;case"mountain-3":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 491.58" preserveAspectRatio="none"><g style="isolation:isolate"><path class="shape-divider-fill" d="M1000 479.4v-87.96L500 0 0 391.46v87.96l500-335.94 500 335.92z" opacity="0.12" mix-blend-mode="overlay"/><path class="shape-divider-fill" d="M1000 487.31v-7.91L500 143.48 0 479.42v7.91l500-297.96 500 297.94z" opacity="0.25" mix-blend-mode="overlay"/><path class="shape-divider-fill" d="M1000 487.31L500 189.37 0 487.33v4.25h1000v-4.27z"/></g></svg>';break;case"mountain-4":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M738,99l262-93V0H0v5.6L738,99z"></path></svg>';break;case"mountain-5":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M978.81 122.25L0 0h1280l-262.1 116.26a73.29 73.29 0 0 1-39.09 5.99z" opacity="0.5"></path><path class="shape-divider-fill" d="M983.19 95.23L0 0h1280l-266 91.52a72.58 72.58 0 0 1-30.81 3.71z"></path></svg>';break;case"mountains":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" opacity="0.33" d="M473,67.3c-203.9,88.3-263.1-34-320.3,0C66,119.1,0,59.7,0,59.7V0h1000v59.7 c0,0-62.1,26.1-94.9,29.3c-32.8,3.3-62.8-12.3-75.8-22.1C806,49.6,745.3,8.7,694.9,4.7S492.4,59,473,67.3z"></path><path class="shape-divider-fill" opacity="0.66" d="M734,67.3c-45.5,0-77.2-23.2-129.1-39.1c-28.6-8.7-150.3-10.1-254,39.1 s-91.7-34.4-149.2,0C115.7,118.3,0,39.8,0,39.8V0h1000v36.5c0,0-28.2-18.5-92.1-18.5C810.2,18.1,775.7,67.3,734,67.3z"></path><path class="shape-divider-fill" d="M766.1,28.9c-200-57.5-266,65.5-395.1,19.5C242,1.8,242,5.4,184.8,20.6C128,35.8,132.3,44.9,89.9,52.5C28.6,63.7,0,0,0,0 h1000c0,0-9.9,40.9-83.6,48.1S829.6,47,766.1,28.9z"></path></svg>';break;case"mountains-2":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 247" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 200.92v.26l.75-.77-.75.51z"></path><path class="shape-divider-fill" d="M279.29 208.39c0-4.49 74.71-29.88 74.71-29.88l61.71 61.26L550 153.1l134.14 88.17L874.28 50 1000 178.51v-.33L874.28 0 684.14 191.27 550 103.1l-134.29 86.67L354 128.51s-74.71 25.39-74.71 29.88S144.23 52.08 144.23 52.08L.75 200.41l143.48-98.33s135.06 110.8 135.06 106.31z" opacity="0.25" isolation="isolate"></path><path class="shape-divider-fill" d="M1000 178.51L874.28 50 684.14 241.27 550 153.1l-134.29 86.67L354 178.51s-74.71 25.39-74.71 29.88-135.06-106.31-135.06-106.31L.75 200.41l-.75.77V247h1000z"></path><path class="shape-divider-fill" d="M1000 178.51L874.28 50 684.14 241.27 550 153.1l-134.29 86.67L354 178.51s-74.71 25.39-74.71 29.88-135.06-106.31-135.06-106.31L.75 200.41l-.75.77V247h1000z" opacity="0.25" isolation="isolate"></path></svg>';break;case"mountains-3":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M761.9,44.1L643.1,27.2L333.8,98L0,3.8V0l1000,0v3.9"></path></svg>';break;case"mountains-4":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V0H0v90.72z" opacity="0.5"></path><path class="shape-divider-fill" d="M0 0v47.44L170 0l626.48 94.89L1110 87.11l170-39.67V0H0z"></path></svg>';break;case"plataeu":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1280 0l-131.81 111.68c-16.47 14-35.47 21-54.71 20.17L173 94a76.85 76.85 0 0 1-36.79-11.46L0 0z"></path></svg>';break;case"plataeu-2":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1093.48 131.85L173 94a76.85 76.85 0 0 1-36.79-11.46L0 0h1280l-131.81 111.68c-16.47 13.96-35.47 20.96-54.71 20.17z" opacity="0.5"></path><path class="shape-divider-fill" d="M1094.44 119L172.7 68.72a74.54 74.54 0 0 1-25.19-5.95L0 0h1280l-133.85 102c-15.84 12.09-33.7 17.95-51.71 17z"></path></svg>';break;case"hills":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M156.258 127.903l86.363-18.654 78.684 13.079L411.441 99.4l94.454 10.303L582.82 93.8l82.664 18.728 76.961-11.39L816.109 71.4l97.602 9.849L997.383 50.4l66.285 14.694 70.793-24.494h79.863L1280 0H0v122.138l60.613 9.965z"/></svg>';break;case"hills-2":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1214.323 66.051h-79.863l-70.793 18.224-66.285-10.933-83.672 22.953-97.601-7.328-73.664 22.125-76.961 8.475-82.664-13.934-76.926 11.832-94.453-7.666-90.137 17.059-78.684-9.731-86.363 13.879-95.644 3.125L0 126.717V0h1280l-.001 35.844z" opacity="0.5"></path><path class="shape-divider-fill" d="M0 0h1280v.006l-70.676 36.578-74.863 4.641-70.793 23.334-66.285-11.678-83.672 29.618-97.602-7.07-63.664 21.421-76.961 12.649-91.664-20.798-77.926 17.66-94.453-7.574-90.137 21.595-78.683-9.884-86.363 16.074-95.645 6.211L0 127.905z"></path></svg>';break;case"hills-3":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M156 35.51l95.46 34.84 120.04.24 71.5 33.35 90.09-3.91L640 137.65l102.39-37.17 85.55 10.65 88.11-7.19L992 65.28l73.21 5.31 66.79-22.1 77-.42L1280 0H0l64.8 38.69 91.2-3.18z"/></svg>';break;case"hills-4":u='<svg viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M156 35.41l95.46 34.73 120.04.25 71.5 33.24 90.09-3.89L640 137.25l102.39-37.06 85.55 10.61 88.11-7.17L992 65.08l73.21 5.31L1132 48.35l77-.42L1280 0H0l64.8 38.57 91.2-3.16z" opacity="0.5"/><path class="shape-divider-fill" d="M156 28.32l95.46 27.79 120.04.2L443 82.9l90.09-3.11L640 109.8l102.39-29.65 85.55 8.49 88.11-5.74L992 52.07l73.21 4.24L1132 38.68l77-.34L1280 0H0l64.8 30.86 91.2-2.54z"/></svg>';break;case"cloud":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 27.8" preserveAspectRatio="xMidYMax slice"><path class="shape-divider-fill" d="M0 0v6.7c1.9-.8 4.7-1.4 8.5-1 9.5 1.1 11.1 6 11.1 6s2.1-.7 4.3-.2c2.1.5 2.8 2.6 2.8 2.6s.2-.5 1.4-.7c1.2-.2 1.7.2 1.7.2s0-2.1 1.9-2.8c1.9-.7 3.6.7 3.6.7s.7-2.9 3.1-4.1 4.7 0 4.7 0 1.2-.5 2.4 0 1.7 1.4 1.7 1.4h1.4c.7 0 1.2.7 1.2.7s.8-1.8 4-2.2c3.5-.4 5.3 2.4 6.2 4.4.4-.4 1-.7 1.8-.9 2.8-.7 4 .7 4 .7s1.7-5 11.1-6c9.5-1.1 12.3 3.9 12.3 3.9s1.2-4.8 5.7-5.7c4.5-.9 6.8 1.8 6.8 1.8s.6-.6 1.5-.9c.9-.2 1.9-.2 1.9-.2s5.2-6.4 12.6-3.3c7.3 3.1 4.7 9 4.7 9s1.9-.9 4 0 2.8 2.4 2.8 2.4 1.9-1.2 4.5-1.2 4.3 1.2 4.3 1.2.2-1 1.4-1.7 2.1-.7 2.1-.7-.5-3.1 2.1-5.5 5.7-1.4 5.7-1.4 1.5-2.3 4.2-1.1c2.7 1.2 1.7 5.2 1.7 5.2s.3-.1 1.3.5c.5.4.8.8.9 1.1.5-1.4 2.4-5.8 8.4-4 7.1 2.1 3.5 8.9 3.5 8.9s.8-.4 2 0 1.1 1.1 1.1 1.1 1.1-1.1 2.3-1.1 2.1.5 2.1.5 1.9-3.6 6.2-1.2 1.9 6.4 1.9 6.4 2.6-2.4 7.4 0c3.4 1.7 3.9 4.9 3.9 4.9s3.3-6.9 10.4-7.9 11.5 2.6 11.5 2.6.8 0 1.2.2c.4.2.9.9.9.9s4.4-3.1 8.3.2c1.9 1.7 1.5 5 1.5 5s.3-1.1 1.6-1.4c1.3-.3 2.3.2 2.3.2s-.1-1.2.5-1.9 1.9-.9 1.9-.9-4.7-9.3 4.4-13.4c5.6-2.5 9.2.9 9.2.9s5-6.2 15.9-6.2 16.1 8.1 16.1 8.1.7-.2 1.6-.4V0H0z"></path></svg>';break;case"cloud-2":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 86" preserveAspectRatio="xMidYMid slice"><path class="shape-divider-fill" d="M1280 0H0v65.2c6.8 0 13.5.9 20.1 2.6 14-21.8 43.1-28 64.8-14 5.6 3.6 10.3 8.3 14 13.9 7.3-1.2 14.8-.6 21.8 1.6 2.1-37.3 34.1-65.8 71.4-63.7 24.3 1.4 46 15.7 56.8 37.6 19-17.6 48.6-16.5 66.3 2.4C323 54 327.4 65 327.7 76.5c.4.2.8.4 1.2.7 3.3 1.9 6.3 4.2 8.9 6.9 15.9-23.8 46.1-33.4 72.8-23.3 11.6-31.9 46.9-48.3 78.8-36.6 9.1 3.3 17.2 8.7 23.8 15.7 6.7-6.6 16.7-8.4 25.4-4.8 29.3-37.4 83.3-44 120.7-14.8 14 11 24.3 26.1 29.4 43.1 4.7.6 9.3 1.8 13.6 3.8 7.8-24.7 34.2-38.3 58.9-30.5 14.4 4.6 25.6 15.7 30.3 30 14.2 1.2 27.7 6.9 38.5 16.2 11.1-35.7 49-55.7 84.7-44.7 14.1 4.4 26.4 13.3 35 25.3 12-5.7 26.1-5.5 37.9.6 3.9-11.6 15.5-18.9 27.7-17.5.2-.3.3-.6.5-.9 23.3-41.4 75.8-56 117.2-32.6 14.1 7.9 25.6 19.7 33.3 33.8 28.8-23.8 71.5-19.8 95.3 9 2.6 3.1 4.9 6.5 6.9 10 3.8-.5 7.6-.8 11.4-.8L1280 0z"/></svg>';break;case"cloud-3":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 86" preserveAspectRatio="xMidYMid slice"><path class="shape-divider-fill" d="M833.9 27.5c-5.8 3.2-11 7.3-15.5 12.2-7.1-6.9-17.5-8.8-26.6-5-30.6-39.2-87.3-46.1-126.5-15.5-1.4 1.1-2.8 2.2-4.1 3.4C674.4 33.4 684 48 688.8 64.3c4.7.6 9.3 1.8 13.6 3.8 7.8-24.7 34.2-38.3 58.9-30.5 14.4 4.6 25.6 15.7 30.3 30 14.2 1.2 27.7 6.9 38.5 16.2C840.6 49.6 876 29.5 910.8 38c-20.4-20.3-51.8-24.6-76.9-10.5zM384 43.9c-9 5-16.7 11.9-22.7 20.3 15.4-7.8 33.3-8.7 49.4-2.6 3.7-10.1 9.9-19.1 18.1-26-15.4-2.3-31.2.6-44.8 8.3zm560.2 13.6c2 2.2 3.9 4.5 5.7 6.9 5.6-2.6 11.6-4 17.8-4.1-7.6-2.4-15.6-3.3-23.5-2.8zM178.7 7c29-4.2 57.3 10.8 70.3 37 8.9-8.3 20.7-12.8 32.9-12.5C256.4 1.8 214.7-8.1 178.7 7zm146.5 56.3c1.5 4.5 2.4 9.2 2.5 14 .4.2.8.4 1.2.7 3.3 1.9 6.3 4.2 8.9 6.9 5.8-8.7 13.7-15.7 22.9-20.5-11.1-5.2-23.9-5.6-35.5-1.1zM33.5 54.9c21.6-14.4 50.7-8.5 65 13 .1.2.2.3.3.5 7.3-1.2 14.8-.6 21.8 1.6.6-10.3 3.5-20.4 8.6-29.4.3-.6.7-1.2 1.1-1.8-32.1-17.2-71.9-10.6-96.8 16.1zm1228.9 2.7c2.3 2.9 4.4 5.9 6.2 9.1 3.8-.5 7.6-.8 11.4-.8V48.3c-6.4 1.8-12.4 5-17.6 9.3zM1127.3 11c1.9.9 3.7 1.8 5.6 2.8 14.2 7.9 25.8 19.7 33.5 34 13.9-11.4 31.7-16.9 49.6-15.3-20.5-27.7-57.8-36.8-88.7-21.5z" opacity="0.5"/><path class="shape-divider-fill" d="M0 0v66c6.8 0 13.5.9 20.1 2.6 3.5-5.4 8.1-10.1 13.4-13.6 24.9-26.8 64.7-33.4 96.8-16 10.5-17.4 28.2-29.1 48.3-32 36.1-15.1 77.7-5.2 103.2 24.5 19.7.4 37.1 13.1 43.4 31.8 11.5-4.5 24.4-4.2 35.6 1.1l.4-.2c15.4-21.4 41.5-32.4 67.6-28.6 25-21 62.1-18.8 84.4 5.1 6.7-6.6 16.7-8.4 25.4-4.8 29.2-37.4 83.3-44.1 120.7-14.8l1.8 1.5c37.3-32.9 94.3-29.3 127.2 8 1.2 1.3 2.3 2.7 3.4 4.1 9.1-3.8 19.5-1.9 26.6 5 24.3-26 65-27.3 91-3.1.5.5 1 .9 1.5 1.4 12.8 3.1 24.4 9.9 33.4 19.5 7.9-.5 15.9.4 23.5 2.8 7-.1 13.9 1.5 20.1 4.7 3.9-11.6 15.5-18.9 27.7-17.5.2-.3.3-.6.5-.9 22.1-39.2 70.7-54.7 111.4-35.6 30.8-15.3 68.2-6.2 88.6 21.5 18.3 1.7 35 10.8 46.5 25.1 5.2-4.3 11.1-7.4 17.6-9.3V0H0z"/></svg>';break;case"wave":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M421.9,6.5c22.6-2.5,51.5,0.4,75.5,5.3c23.6,4.9,70.9,23.5,100.5,35.7c75.8,32.2,133.7,44.5,192.6,49.7c23.6,2.1,48.7,3.5,103.4-2.5c54.7-6,106.2-25.6,106.2-25.6V0H0v30.3c0,0,72,32.6,158.4,30.5c39.2-0.7,92.8-6.7,134-22.4c21.2-8.1,52.2-18.2,79.7-24.2C399.3,7.9,411.6,7.5,421.9,6.5z"></path></svg>';break;case"wave-2":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 27.8" preserveAspectRatio="none"><path class="shape-divider-fill" d="M283.5,9.7c0,0-7.3,4.3-14,4.6c-6.8,0.3-12.6,0-20.9-1.5c-11.3-2-33.1-10.1-44.7-5.7\ts-12.1,4.6-18,7.4c-6.6,3.2-20,9.6-36.6,9.3C131.6,23.5,99.5,7.2,86.3,8c-1.4,0.1-6.6,0.8-10.5,2c-3.8,1.2-9.4,3.8-17,4.7 c-3.2,0.4-8.3,1.1-14.2,0.9c-1.5-0.1-6.3-0.4-12-1.6c-5.7-1.2-11-3.1-15.8-3.7C6.5,9.2,0,10.8,0,10.8V0h283.5V9.7z M260.8,11.3 c-0.7-1-2-0.4-4.3-0.4c-2.3,0-6.1-1.2-5.8-1.1c0.3,0.1,3.1,1.5,6,1.9C259.7,12.2,261.4,12.3,260.8,11.3z M242.4,8.6 c0,0-2.4-0.2-5.6-0.9c-3.2-0.8-10.3-2.8-15.1-3.5c-8.2-1.1-15.8,0-15.1,0.1c0.8,0.1,9.6-0.6,17.6,1.1c3.3,0.7,9.3,2.2,12.4,2.7\tC239.9,8.7,242.4,8.6,242.4,8.6z M185.2,8.5c1.7-0.7-13.3,4.7-18.5,6.1c-2.1,0.6-6.2,1.6-10,2c-3.9,0.4-8.9,0.4-8.8,0.5\tc0,0.2,5.8,0.8,11.2,0c5.4-0.8,5.2-1.1,7.6-1.6C170.5,14.7,183.5,9.2,185.2,8.5z M199.1,6.9c0.2,0-0.8-0.4-4.8,1.1 c-4,1.5-6.7,3.5-6.9,3.7c-0.2,0.1,3.5-1.8,6.6-3C197,7.5,199,6.9,199.1,6.9z M283,6c-0.1,0.1-1.9,1.1-4.8,2.5s-6.9,2.8-6.7,2.7\tc0.2,0,3.5-0.6,7.4-2.5C282.8,6.8,283.1,5.9,283,6z M31.3,11.6c0.1-0.2-1.9-0.2-4.5-1.2s-5.4-1.6-7.8-2C15,7.6,7.3,8.5,7.7,8.6\tC8,8.7,15.9,8.3,20.2,9.3c2.2,0.5,2.4,0.5,5.7,1.6S31.2,11.9,31.3,11.6z M73,9.2c0.4-0.1,3.5-1.6,8.4-2.6c4.9-1.1,8.9-0.5,8.9-0.8 c0-0.3-1-0.9-6.2-0.3S72.6,9.3,73,9.2z M71.6,6.7C71.8,6.8,75,5.4,77.3,5c2.3-0.3,1.9-0.5,1.9-0.6c0-0.1-1.1-0.2-2.7,0.2\tC74.8,5.1,71.4,6.6,71.6,6.7z M93.6,4.4c0.1,0.2,3.5,0.8,5.6,1.8c2.1,1,1.8,0.6,1.9,0.5c0.1-0.1-0.8-0.8-2.4-1.3\tC97.1,4.8,93.5,4.2,93.6,4.4z M65.4,11.1c-0.1,0.3,0.3,0.5,1.9-0.2s2.6-1.3,2.2-1.2s-0.9,0.4-2.5,0.8C65.3,10.9,65.5,10.8,65.4,11.1 z M34.5,12.4c-0.2,0,2.1,0.8,3.3,0.9c1.2,0.1,2,0.1,2-0.2c0-0.3-0.1-0.5-1.6-0.4C36.6,12.8,34.7,12.4,34.5,12.4z M152.2,21.1 c-0.1,0.1-2.4-0.3-7.5-0.3c-5,0-13.6-2.4-17.2-3.5c-3.6-1.1,10,3.9,16.5,4.1C150.5,21.6,152.3,21,152.2,21.1z"></path><path class="shape-divider-fill" d="M269.6,18c-0.1-0.1-4.6,0.3-7.2,0c-7.3-0.7-17-3.2-16.6-2.9c0.4,0.3,13.7,3.1,17,3.3\tC267.7,18.8,269.7,18,269.6,18z"></path><path class="shape-divider-fill" d="M227.4,9.8c-0.2-0.1-4.5-1-9.5-1.2c-5-0.2-12.7,0.6-12.3,0.5c0.3-0.1,5.9-1.8,13.3-1.2\tS227.6,9.9,227.4,9.8z"></path><path class="shape-divider-fill" d="M204.5,13.4c-0.1-0.1,2-1,3.2-1.1c1.2-0.1,2,0,2,0.3c0,0.3-0.1,0.5-1.6,0.4\tC206.4,12.9,204.6,13.5,204.5,13.4z"></path><path class="shape-divider-fill" d="M201,10.6c0-0.1-4.4,1.2-6.3,2.2c-1.9,0.9-6.2,3.1-6.1,3.1c0.1,0.1,4.2-1.6,6.3-2.6\tS201,10.7,201,10.6z"></path><path class="shape-divider-fill" d="M154.5,26.7c-0.1-0.1-4.6,0.3-7.2,0c-7.3-0.7-17-3.2-16.6-2.9c0.4,0.3,13.7,3.1,17,3.3\tC152.6,27.5,154.6,26.8,154.5,26.7z"></path><path class="shape-divider-fill" d="M41.9,19.3c0,0,1.2-0.3,2.9-0.1c1.7,0.2,5.8,0.9,8.2,0.7c4.2-0.4,7.4-2.7,7-2.6\tc-0.4,0-4.3,2.2-8.6,1.9c-1.8-0.1-5.1-0.5-6.7-0.4S41.9,19.3,41.9,19.3z"></path><path class="shape-divider-fill" d="M75.5,12.6c0.2,0.1,2-0.8,4.3-1.1c2.3-0.2,2.1-0.3,2.1-0.5c0-0.1-1.8-0.4-3.4,0\tC76.9,11.5,75.3,12.5,75.5,12.6z"></path><path class="shape-divider-fill" d="M15.6,13.2c0-0.1,4.3,0,6.7,0.5c2.4,0.5,5,1.9,5,2c0,0.1-2.7-0.8-5.1-1.4\tC19.9,13.7,15.7,13.3,15.6,13.2z"></path></svg>';break;case"wave-3":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1047.1 3.7" preserveAspectRatio="xMidYMin slice"><path class="shape-divider-fill" d="M1047.1,0C557,0,8.9,0,0,0v1.6c0,0,0.6-1.5,2.7-0.3C3.9,2,6.1,4.1,8.3,3.5c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3C13.8,2,16,4.1,18.2,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C23.6,2,25.9,4.1,28,3.5c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C63,2,65.3,4.1,67.4,3.5\tC68.3,3.3,69,1.6,69,1.6s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tC82.7,2,85,4.1,87.1,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C92.6,2,94.8,4.1,97,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\ts0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9\tc0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2\tc0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3\tc1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.6-0.4V0z M2.5,1.2C2.5,1.2,2.5,1.2,2.5,1.2C2.5,1.2,2.5,1.2,2.5,1.2z M2.7,1.4c0.1,0,0.1,0.1,0.1,0.1C2.8,1.4,2.8,1.4,2.7,1.4z"></path></svg>';break;case"wave-4":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 51.76c36.21-2.25 77.57-3.58 126.42-3.58 320 0 320 57 640 57 271.15 0 312.58-40.91 513.58-53.4V0H0z" opacity="0.3"></path><path class="shape-divider-fill" d="M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V0H0z" opacity="0.5"></path><path class="shape-divider-fill" d="M0 0v3.4C28.2 1.6 59.4.59 94.42.59c320 0 320 84.3 640 84.3 285 0 316.17-66.85 545.58-81.49V0z"></path></svg>';break;case"wave-5":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0v100c20 17.3 40 29.51 80 29.51 51.79 0 74.69-48.57 151.75-48.57 73.72 0 91 54.88 191.56 54.88C543.95 135.8 554 14 665.69 14c109.46 0 98.85 87 188.2 87 70.37 0 69.81-33.73 115.6-33.73 55.85 0 62 39.62 115.6 39.62 58.08 0 57.52-46.59 115-46.59 39.8 0 60 22.48 79.89 39.69V0z"></path></svg>';break;case"wave-6":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M504.854,80.066c7.812,0,14.893,0.318,21.41,0.879 c-25.925,22.475-56.093,40.852-102.946,40.852c-20.779,0-37.996-2.349-52.898-6.07C413.517,107.295,434.056,80.066,504.854,80.066z M775.938,51.947c19.145,18.596,39.097,35.051,77.956,35.051c46.907,0,62.299-14.986,80.912-24.98 c-21.357-15.783-46.804-28.348-85.489-28.348C816.829,33.671,794.233,41.411,775.938,51.947z" opacity="0.3"></path><path class="shape-divider-fill" d="M1200.112,46.292c39.804,0,59.986,22.479,79.888,39.69v16.805 c-19.903-10.835-40.084-21.777-79.888-21.777c-72.014,0-78.715,43.559-147.964,43.559c-56.84,0-81.247-35.876-117.342-62.552 c9.309-4.998,19.423-8.749,34.69-8.749c55.846,0,61.99,39.617,115.602,39.617C1143.177,92.887,1142.618,46.292,1200.112,46.292z M80.011,115.488c-40.006,0-60.008-12.206-80.011-29.506v16.806c20.003,10.891,40.005,21.782,80.011,21.782 c80.004,0,78.597-30.407,137.669-30.407c55.971,0,62.526,24.026,126.337,24.026c9.858,0,18.509-0.916,26.404-2.461 c-57.186-14.278-80.177-48.808-138.66-48.808C154.698,66.919,131.801,115.488,80.011,115.488z M526.265,80.945 c56.848,4.902,70.056,28.726,137.193,28.726c54.001,0,73.43-35.237,112.48-57.724C751.06,27.782,727.548,0,665.691,0 C597.381,0,567.086,45.555,526.265,80.945z" opacity="0.5"></path><path class="shape-divider-fill" d="M0,0v85.982c20.003,17.3,40.005,29.506,80.011,29.506c51.791,0,74.688-48.569,151.751-48.569 c58.482,0,81.473,34.531,138.66,48.808c43.096-8.432,63.634-35.662,134.433-35.662c7.812,0,14.893,0.318,21.41,0.879 C567.086,45.555,597.381,0,665.691,0c61.856,0,85.369,27.782,110.246,51.947c18.295-10.536,40.891-18.276,73.378-18.276 c38.685,0,64.132,12.564,85.489,28.348c9.309-4.998,19.423-8.749,34.69-8.749c55.846,0,61.99,39.617,115.602,39.617 c58.08,0,57.521-46.595,115.015-46.595c39.804,0,59.986,22.479,79.888,39.69V0H0z"></path></svg>';break;case"slant":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0,6V0h1000v100L0,6z"></path></svg>';break;case"slant-2":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2600 131.1" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0L2600 0 2600 69.1 0 0z"></path><path class="shape-divider-fill" opacity="0.5" d="M0 0L2600 0 2600 69.1 0 69.1z"></path><path class="shape-divider-fill" opacity="0.25" d="M2600 0L0 0 0 130.1 2600 69.1z"></path></svg>';break;case"slant-3":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1280 140V0H0l1280 140z" opacity="0.5"></path><path class="shape-divider-fill" d="M1280 98V0H0l1280 98z"></path></svg>';break;case"rounded":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1000,4.3V0H0v4.3C0.9,23.1,126.7,99.2,500,100S1000,22.7,1000,4.3z"></path></svg>';break;case"rounded-2":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0,0c0,0,0,6,0,6.7c0,18,240.2,93.6,615.2,92.6C989.8,98.5,1000,25,1000,6.7c0-0.7,0-6.7,0-6.7H0z"></path></svg>';break;case"rounded-3":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0s573.08 140 1280 140V0z"></path></svg>';break;case"rounded-4":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0v60s573.09 80 1280 80V0z" opacity="0.3"></path><path class="shape-divider-fill" d="M0 0v30s573.09 110 1280 110V0z" opacity="0.5"></path><path class="shape-divider-fill" d="M0 0s573.09 140 1280 140V0z"></path></svg>';break;case"rounded-5":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 140" preserveAspectRatio="none"><path class="shape-divider-fill" d="M0 0v.48C18.62 9.38 297.81 140 639.5 140 993.24 140 1280 0 1280 0z" opacity="0.3"></path><path class="shape-divider-fill" d="M0 .6c14 8.28 176.54 99.8 555.45 119.14C952.41 140 1280 0 1280 0H0z" opacity="0.5"></path><path class="shape-divider-fill" d="M726.29 101.2C1126.36 79.92 1281 0 1281 0H1c.05 0 325.25 122.48 725.29 101.2z"></path></svg>';break;case"triangle":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 10" preserveAspectRatio="none"><path class="shape-divider-fill" d="M350,10L340,0h20L350,10z"></path></svg>';break;case"drops":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 27.8" preserveAspectRatio="xMidYMax slice"><path class="shape-divider-fill" d="M0 0v1.4c.6.7 1.1 1.4 1.4 2 2 3.8 2.2 6.6 1.8 10.8-.3 3.3-2.4 9.4 0 12.3 1.7 2 3.7 1.4 4.6-.9 1.4-3.8-.7-8.2-.6-12 .1-3.7 3.2-5.5 6.9-4.9 4 .6 4.8 4 4.9 7.4.1 1.8-1.1 7 0 8.5.6.8 1.6 1.2 2.4.5 1.4-1.1.1-5.4.1-6.9.1-3.7.3-8.6 4.1-10.5 5-2.5 6.2 1.6 5.4 5.6-.4 1.7-1 9.2 2.9 6.3 1.5-1.1.7-3.5.5-4.9-.4-2.4-.4-4.3 1-6.5.9-1.4 2.4-3.1 4.2-3 2.4.1 2.7 2.2 4 3.7 1.5 1.8 1.8 2.2 3 .1 1.1-1.9 1.2-2.8 3.6-3.3 1.3-.3 4.8-1.4 5.9-.5 1.5 1.1.6 2.8.4 4.3-.2 1.1-.6 4 1.8 3.4 1.7-.4-.3-4.1.6-5.6 1.3-2.2 5.8-1.4 7 .5 1.3 2.1.5 5.8.1 8.1s-1.2 5-.6 7.4c1.3 5.1 4.4.9 4.3-2.4-.1-4.4-2-8.8-.5-13 .9-2.4 4.6-6.6 7.7-4.5 2.7 1.8.5 7.8.2 10.3-.2 1.7-.8 4.6.2 6.2.9 1.4 2 1.5 2.6-.3.5-1.5-.9-4.5-1-6.1-.2-1.7-.4-3.7.2-5.4 1.8-5.6 3.5 2.4 6.3.6 1.4-.9 4.3-9.4 6.1-3.1.6 2.2-1.3 7.8.7 8.9 4.2 2.3 1.5-7.1 2.2-8 3.1-4 4.7 3.8 6.1 4.1 3.1.7 2.8-7.9 8.1-4.5 1.7 1.1 2.9 3.3 3.2 5.2.4 2.2-1 4.5-.6 6.6 1 4.3 4.4 1.5 4.4-1.7 0-2.7-3-8.3 1.4-9.1 4.4-.9 7.3 3.5 7.8 6.9.3 2-1.5 10.9 1.3 11.3 4.1.6-3.2-15.7 4.8-15.8 4.7-.1 2.8 4.1 3.9 6.6 1 2.4 2.1 1 2.3-.8.3-1.9-.9-3.2 1.3-4.3 5.9-2.9 5.9 5.4 5.5 8.5-.3 2-1.7 8.4 2 8.1 6.9-.5-2.8-16.9 4.8-18.7 4.7-1.2 6.1 3.6 6.3 7.1.1 1.7-1.2 8.1.6 9.1 3.5 2 1.9-7 2-8.4.2-4 1.2-9.6 6.4-9.8 4.7-.2 3.2 4.6 2.7 7.5-.4 2.2 1.3 8.6 3.8 4.4 1.1-1.9-.3-4.1-.3-6 0-1.7.4-3.2 1.3-4.6 1-1.6 2.9-3.5 5.1-2.9 2.5.6 2.3 4.1 4.1 4.9 1.9.8 1.6-.9 2.3-2.1 1.2-2.1 2.1-2.1 4.4-2.4 1.4-.2 3.6-1.5 4.9-.5 2.3 1.7-.7 4.4.1 6.5.6 1.5 2.1 1.7 2.8.3.7-1.4-1.1-3.4-.3-4.8 1.4-2.5 6.2-1.2 7.2 1 2.3 4.8-3.3 12-.2 16.3 3 4.1 3.9-2.8 3.8-4.8-.4-4.3-2.1-8.9 0-13.1 1.3-2.5 5.9-5.7 7.9-2.4 2 3.2-1.3 9.8-.8 13.4.5 4.4 3.5 3.3 2.7-.8-.4-1.9-2.4-10 .6-11.1 3.7-1.4 2.8 7.2 6.5.4 2.2-4.1 4.9-3.1 5.2 1.2.1 1.5-.6 3.1-.4 4.6.2 1.9 1.8 3.7 3.3 1.3 1-1.6-2.6-10.4 2.9-7.3 2.6 1.5 1.6 6.5 4.8 2.7 1.3-1.5 1.7-3.6 4-3.7 2.2-.1 4 2.3 4.8 4.1 1.3 2.9-1.5 8.4.9 10.3 4.2 3.3 3-5.5 2.7-6.9-.6-3.9 1-7.2 5.5-5 4.1 2.1 4.3 7.7 4.1 11.6 0 .8-.6 9.5 2.5 5.2 1.2-1.7-.1-7.7.1-9.6.3-2.9 1.2-5.5 4.3-6.2 4.5-1 7.7 1.5 7.4 5.8-.2 3.5-1.8 7.7-.5 11.1 1 2.7 3.6 2.8 5 .2 1.6-3.1 0-8.3-.4-11.6-.4-4.2-.2-7 1.8-10.8 0 0-.1.1-.1.2-.2.4-.3.7-.4.8v.1c-.1.2-.1.2 0 0v-.1l.4-.8c0-.1.1-.1.1-.2.2-.4.5-.8.8-1.2V0H0zM282.7 3.4z"></path></svg>';break;case"cliff":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 279.24" preserveAspectRatio="none"><path class="shape-divider-fill" d="M1000 0S331.54-4.18 0 279.24h1000z" opacity="0.25"></path><path class="shape-divider-fill" d="M1000 279.24s-339.56-44.3-522.95-109.6S132.86 23.76 0 25.15v254.09z"></path></svg>';break;case"zigzag":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1800 5.8" preserveAspectRatio="none"><path class="shape-divider-fill" d="M5.4.4l5.4 5.3L16.5.4l5.4 5.3L27.5.4 33 5.7 38.6.4l5.5 5.4h.1L49.9.4l5.4 5.3L60.9.4l5.5 5.3L72 .4l5.5 5.3L83.1.4l5.4 5.3L94.1.4l5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3L161 .4l5.4 5.3L172 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3L261 .4l5.4 5.3L272 .4l5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3L361 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.6-5.4 5.5 5.3L461 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1L550 .4l5.4 5.3L561 .4l5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2L650 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2L750 .4l5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.4h.2L850 .4l5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.4h.2l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.7-5.4 5.4 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.5 5.4h.1l5.6-5.4 5.5 5.3 5.6-5.3 5.5 5.3 5.6-5.3 5.4 5.3 5.7-5.3 5.4 5.3 5.6-5.3 5.5 5.4V0H-.2v5.8z"></path></svg>';break;case"illusion":u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 19.6" preserveAspectRatio="none"><path class="shape-divider-fill" opacity="0.33" d="M0 0L0 18.8 141.8 4.1 283.5 18.8 283.5 0z"></path><path class="shape-divider-fill" opacity="0.33" d="M0 0L0 12.6 141.8 4 283.5 12.6 283.5 0z"></path><path class="shape-divider-fill" opacity="0.33" d="M0 0L0 6.4 141.8 4 283.5 6.4 283.5 0z"></path><path class="shape-divider-fill" d="M0 0L0 1.2 141.8 4 283.5 1.2 283.5 0z"></path></svg>';break;default:u=""}n.html(u),n.find("svg").addClass("op-ts"),setTimeout(function(){n.find("svg").addClass("op-1")},500)})},function(e){e.fn.scwStickySidebar=function(t){function i(t,i){return!0===t.initialized||!(e("body").width()<t.minWidth)&&(function(t,i){t.initialized=!0,0===e("#scw-sticky-sidebar-stylesheet-"+t.namespace).length&&e("head").append(e('<style id="scw-sticky-sidebar-stylesheet-'+t.namespace+'">.scwStickySidebar:after {content: ""; display: table; clear: both;}</style>')),i.each(function(){function i(){a.fixedScrollTop=0,a.sidebar.css({"min-height":"1px"}),a.stickySidebar.css({position:"static",width:"",transform:"none"})}var a={};if(a.sidebar=e(this),a.options=t||{},a.container=e(a.options.containerSelector),0==a.container.length&&(a.container=a.sidebar.parent()),a.sidebar.parents().css("-webkit-transform","none"),a.sidebar.css({position:a.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),a.stickySidebar=a.sidebar.find(".scwStickySidebar"),0==a.stickySidebar.length){var s=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i;a.sidebar.find("script").filter(function(e,t){return 0===t.type.length||t.type.match(s)}).remove(),a.stickySidebar=e("<div>").addClass("scwStickySidebar").append(a.sidebar.children()),a.sidebar.append(a.stickySidebar)}a.marginBottom=parseInt(a.sidebar.css("margin-bottom")),a.paddingTop=parseInt(a.sidebar.css("padding-top")),a.paddingBottom=parseInt(a.sidebar.css("padding-bottom"));var r=a.stickySidebar.offset().top,o=a.stickySidebar.outerHeight();a.stickySidebar.css("padding-top",1),a.stickySidebar.css("padding-bottom",1),r-=a.stickySidebar.offset().top,o=a.stickySidebar.outerHeight()-o-r,0==r?(a.stickySidebar.css("padding-top",0),a.stickySidebarPaddingTop=0):a.stickySidebarPaddingTop=1,0==o?(a.stickySidebar.css("padding-bottom",0),a.stickySidebarPaddingBottom=0):a.stickySidebarPaddingBottom=1,a.previousScrollTop=null,a.fixedScrollTop=0,i(),a.onScroll=function(a){if(a.stickySidebar.is(":visible")){if(e("body").width()<a.options.minWidth)return void i();if(a.options.disableOnResponsiveLayouts){var s=a.sidebar.outerWidth("none"==a.sidebar.css("float"));if(s+50>a.container.width())return void i()}var r=e(document).scrollTop(),o="static";if(r>=a.sidebar.offset().top+(a.paddingTop-a.options.additionalMarginTop)){var l,c=a.paddingTop+t.additionalMarginTop,d=a.paddingBottom+a.marginBottom+t.additionalMarginBottom,u=a.sidebar.offset().top,h=a.sidebar.offset().top+function(t){var i=t.height();return t.children().each(function(){i=Math.max(i,e(this).height())}),i}(a.container),p=0+t.additionalMarginTop,f=a.stickySidebar.outerHeight()+c+d<e(window).height();l=f?p+a.stickySidebar.outerHeight():e(window).height()-a.marginBottom-a.paddingBottom-t.additionalMarginBottom;var m=u-r+a.paddingTop,g=h-r-a.paddingBottom-a.marginBottom,v=a.stickySidebar.offset().top-r,y=a.previousScrollTop-r;"fixed"==a.stickySidebar.css("position")&&"modern"==a.options.sidebarBehavior&&(v+=y),"stick-to-top"==a.options.sidebarBehavior&&(v=t.additionalMarginTop),"stick-to-bottom"==a.options.sidebarBehavior&&(v=l-a.stickySidebar.outerHeight()),v=y>0?Math.min(v,p):Math.max(v,l-a.stickySidebar.outerHeight()),v=Math.max(v,m),v=Math.min(v,g-a.stickySidebar.outerHeight());var b=a.container.height()==a.stickySidebar.outerHeight();o=!b&&v==p||!b&&v==l-a.stickySidebar.outerHeight()?"fixed":r+v-a.sidebar.offset().top-a.paddingTop<=t.additionalMarginTop?"static":"absolute"}if("fixed"==o){var w=e(document).scrollLeft();a.stickySidebar.css({position:"fixed",width:n(a.stickySidebar)+"px",transform:"translateY("+v+"px)",left:a.sidebar.offset().left+parseInt(a.sidebar.css("padding-left"))-w+"px",top:"0px"})}else if("absolute"==o){var _={};"absolute"!=a.stickySidebar.css("position")&&(_.position="absolute",_.transform="translateY("+(r+v-a.sidebar.offset().top-a.stickySidebarPaddingTop-a.stickySidebarPaddingBottom)+"px)",_.top="0px"),_.width=n(a.stickySidebar)+"px",_.left="",a.stickySidebar.css(_)}else"static"==o&&i();"static"!=o&&1==a.options.updateSidebarHeight&&a.sidebar.css({"min-height":a.stickySidebar.outerHeight()+a.stickySidebar.offset().top-a.sidebar.offset().top+a.paddingBottom}),a.previousScrollTop=r}},a.onScroll(a),e(document).on("scroll."+a.options.namespace,function(e){return function(){e.onScroll(e)}}(a)),e(window).on("resize."+a.options.namespace,function(e){return function(){e.stickySidebar.css({position:"static"}),e.onScroll(e)}}(a)),"undefined"!=typeof ResizeSensor&&new ResizeSensor(a.stickySidebar[0],function(e){return function(){e.onScroll(e)}}(a))})}(t,i),!0)}function n(e){var t;try{t=e[0].getBoundingClientRect().width}catch(e){}return void 0===t&&(t=e.width()),t}return(t=e.extend({containerSelector:"",additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,disableOnResponsiveLayouts:!0,sidebarBehavior:"modern",defaultPosition:"relative",namespace:"TSS"},t)).additionalMarginTop=parseInt(t.additionalMarginTop)||0,t.additionalMarginBottom=parseInt(t.additionalMarginBottom)||0,function(t,n){i(t,n)||(console.log("TSS: Body width smaller than options.minWidth. Init is delayed."),e(document).on("scroll."+t.namespace,function(t,n){return function(a){i(t,n)&&e(this).unbind(a)}}(t,n)),e(window).on("resize."+t.namespace,function(t,n){return function(a){i(t,n)&&e(this).unbind(a)}}(t,n)))}(t,this),this}}(jQuery),function(){var e=function(t,i){function n(){var e,t;this.q=[],this.add=function(e){this.q.push(e)},this.call=function(){for(e=0,t=this.q.length;e<t;e++)this.q[e].call()}}function a(e,t){if(e.resizedAttached){if(e.resizedAttached)return void e.resizedAttached.add(t)}else e.resizedAttached=new n,e.resizedAttached.add(t);e.resizeSensor=document.createElement("div"),e.resizeSensor.className="resize-sensor";var i="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",a="position: absolute; left: 0; top: 0; transition: 0s;";e.resizeSensor.style.cssText=i,e.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+i+'"><div style="'+a+'"></div></div><div class="resize-sensor-shrink" style="'+i+'"><div style="'+a+' width: 200%; height: 200%"></div></div>',e.appendChild(e.resizeSensor),{fixed:1,absolute:1}[function(e,t){return e.currentStyle?e.currentStyle[t]:window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):e.style[t]}(e,"position")]||(e.style.position="relative");var s,r,o=e.resizeSensor.childNodes[0],l=o.childNodes[0],c=e.resizeSensor.childNodes[1],d=(c.childNodes[0],function(){l.style.width=o.offsetWidth+10+"px",l.style.height=o.offsetHeight+10+"px",o.scrollLeft=o.scrollWidth,o.scrollTop=o.scrollHeight,c.scrollLeft=c.scrollWidth,c.scrollTop=c.scrollHeight,s=e.offsetWidth,r=e.offsetHeight});d();var u=function(e,t,i){e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i)},h=function(){e.offsetWidth==s&&e.offsetHeight==r||e.resizedAttached&&e.resizedAttached.call(),d()};u(o,"scroll",h),u(c,"scroll",h)}var s=Object.prototype.toString.call(t),r="[object Array]"===s||"[object NodeList]"===s||"[object HTMLCollection]"===s||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements;if(r)for(var o=0,l=t.length;o<l;o++)a(t[o],i);else a(t,i);this.detach=function(){if(r)for(var i=0,n=t.length;i<n;i++)e.detach(t[i]);else e.detach(t)}};e.detach=function(e){e.resizeSensor&&(e.removeChild(e.resizeSensor),delete e.resizeSensor,delete e.resizedAttached)},"undefined"!=typeof module&&void 0!==module.exports?module.exports=e:window.ResizeSensor=e}(),window.SEMICOLON_stickySidebarInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-offset-top")||110,i=e.attr("data-offset-bottom")||50;e.scwStickySidebar({additionalMarginTop:Number(t),additionalMarginBottom:Number(i)})})},window.scwSubscribeFormPlugin=window.scwSubscribeFormPlugin||{},window.SEMICOLON_subscribeFormInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e,t,i,n=$(this),a=n.attr("data-alert-type"),s=n.attr("data-loader"),r=n.find(".widget-subscribe-form-result"),o=n.attr("data-redirect");n.find("form").validate({submitHandler:function(n){r.hide(),"button"==s?(e=$(n).find("button"),t=e.html(),e.html('<i class="icon-line-loader icon-spin nomargin"></i>')):$(n).find(".icon-email2").removeClass("icon-email2").addClass("icon-line-loader icon-spin"),$(n).ajaxSubmit({target:r,dataType:"json",resetForm:!0,success:function(l){if("button"==s?e.html(t):$(n).find(".icon-line-loader").removeClass("icon-line-loader icon-spin").addClass("icon-email2"),"error"!=l.alert&&o)return window.location.replace(o),!0;"inline"==a?(i="error"==l.alert?"alert-danger":"alert-success",r.addClass("alert "+i).html(l.message).slideDown(400)):(r.attr("data-notify-type",l.alert).attr("data-notify-msg",l.message).html(""),SEMICOLON.widget.notifications({el:r}))}})}})})},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).Swiper=t()}(this,function(){"use strict";function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function n(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(function(a){void 0===e[a]?e[a]=t[a]:i(t[a])&&i(e[a])&&Object.keys(t[a]).length>0&&n(e[a],t[a])})}var a={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function s(){var e="undefined"!=typeof document?document:{};return n(e,a),e}var r={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function o(){var e="undefined"!=typeof window?window:{};return n(e,r),e}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t,i){return(d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,i){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return i&&c(a,i.prototype),a}).apply(null,arguments)}function u(e){var t="function"==typeof Map?new Map:void 0;return(u=function(e){if(null===e||(i=e,-1===Function.toString.call(i).indexOf("[native code]")))return e;var i;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return d(e,arguments,l(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),c(n,e)})(e)}var h=function(e){var t,i;function n(t){var i,n,a;return n=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(i=e.call.apply(e,[this].concat(t))||this),a=n.__proto__,Object.defineProperty(n,"__proto__",{get:function(){return a},set:function(e){a.__proto__=e}}),i}return i=e,(t=n).prototype=Object.create(i.prototype),t.prototype.constructor=t,t.__proto__=i,n}(u(Array));function p(e){void 0===e&&(e=[]);var t=[];return e.forEach(function(e){Array.isArray(e)?t.push.apply(t,p(e)):t.push(e)}),t}function f(e,t){return Array.prototype.filter.call(e,t)}function m(e,t){var i=o(),n=s(),a=[];if(!t&&e instanceof h)return e;if(!e)return new h(a);if("string"==typeof e){var r=e.trim();if(r.indexOf("<")>=0&&r.indexOf(">")>=0){var l="div";0===r.indexOf("<li")&&(l="ul"),0===r.indexOf("<tr")&&(l="tbody"),0!==r.indexOf("<td")&&0!==r.indexOf("<th")||(l="tr"),0===r.indexOf("<tbody")&&(l="table"),0===r.indexOf("<option")&&(l="select");var c=n.createElement(l);c.innerHTML=r;for(var d=0;d<c.childNodes.length;d+=1)a.push(c.childNodes[d])}else a=function(e,t){if("string"!=typeof e)return[e];for(var i=[],n=t.querySelectorAll(e),a=0;a<n.length;a+=1)i.push(n[a]);return i}(e.trim(),t||n)}else if(e.nodeType||e===i||e===n)a.push(e);else if(Array.isArray(e)){if(e instanceof h)return e;a=e}return new h(function(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}(a))}m.fn=h.prototype;var g,v,y,b={addClass:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=p(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){var t;(t=e.classList).add.apply(t,n)}),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=p(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){var t;(t=e.classList).remove.apply(t,n)}),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=p(t.map(function(e){return e.split(" ")}));return f(this,function(e){return n.filter(function(t){return e.classList.contains(t)}).length>0}).length>0},toggleClass:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=p(t.map(function(e){return e.split(" ")}));this.forEach(function(e){n.forEach(function(t){e.classList.toggle(t)})})},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(e,t);else for(var n in e)this[i][n]=e[n],this[i].setAttribute(n,e[n]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?e+"ms":e;return this},on:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=t[0],a=t[1],s=t[2],r=t[3];function o(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),m(t).is(a))s.apply(t,i);else for(var n=m(t).parents(),r=0;r<n.length;r+=1)m(n[r]).is(a)&&s.apply(n[r],i)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),s.apply(this,t)}"function"==typeof t[1]&&(n=t[0],s=t[1],r=t[2],a=void 0),r||(r=!1);for(var c,d=n.split(" "),u=0;u<this.length;u+=1){var h=this[u];if(a)for(c=0;c<d.length;c+=1){var p=d[c];h.dom7LiveListeners||(h.dom7LiveListeners={}),h.dom7LiveListeners[p]||(h.dom7LiveListeners[p]=[]),h.dom7LiveListeners[p].push({listener:s,proxyListener:o}),h.addEventListener(p,o,r)}else for(c=0;c<d.length;c+=1){var f=d[c];h.dom7Listeners||(h.dom7Listeners={}),h.dom7Listeners[f]||(h.dom7Listeners[f]=[]),h.dom7Listeners[f].push({listener:s,proxyListener:l}),h.addEventListener(f,l,r)}}return this},off:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=t[0],a=t[1],s=t[2],r=t[3];"function"==typeof t[1]&&(n=t[0],s=t[1],r=t[2],a=void 0),r||(r=!1);for(var o=n.split(" "),l=0;l<o.length;l+=1)for(var c=o[l],d=0;d<this.length;d+=1){var u=this[d],h=void 0;if(!a&&u.dom7Listeners?h=u.dom7Listeners[c]:a&&u.dom7LiveListeners&&(h=u.dom7LiveListeners[c]),h&&h.length)for(var p=h.length-1;p>=0;p-=1){var f=h[p];s&&f.listener===s||s&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===s?(u.removeEventListener(c,f.proxyListener,r),h.splice(p,1)):s||(u.removeEventListener(c,f.proxyListener,r),h.splice(p,1))}}return this},trigger:function(){for(var e=o(),t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];for(var a=i[0].split(" "),s=i[1],r=0;r<a.length;r+=1)for(var l=a[r],c=0;c<this.length;c+=1){var d=this[c];if(e.CustomEvent){var u=new e.CustomEvent(l,{detail:s,bubbles:!0,cancelable:!0});d.dom7EventData=i.filter(function(e,t){return t>0}),d.dispatchEvent(u),d.dom7EventData=[],delete d.dom7EventData}}return this},transitionEnd:function(e){var t=this;return e&&t.on("transitionend",function i(n){n.target===this&&(e.call(this,n),t.off("transitionend",i))}),this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){var e=o();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){var e=o(),t=s(),i=this[0],n=i.getBoundingClientRect(),a=t.body,r=i.clientTop||a.clientTop||0,l=i.clientLeft||a.clientLeft||0,c=i===e?e.scrollY:i.scrollTop,d=i===e?e.scrollX:i.scrollLeft;return{top:n.top+c-r,left:n.left+d-l}}return null},css:function(e,t){var i,n=o();if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var a in e)this[i].style[a]=e[a];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(function(t,i){e.apply(t,[t,i])}),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,i,n=o(),a=s(),r=this[0];if(!r||void 0===e)return!1;if("string"==typeof e){if(r.matches)return r.matches(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);for(t=m(e),i=0;i<t.length;i+=1)if(t[i]===r)return!0;return!1}if(e===a)return r===a;if(e===n)return r===n;if(e.nodeType||e instanceof h){for(t=e.nodeType?[e]:e,i=0;i<t.length;i+=1)if(t[i]===r)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t=this.length;if(e>t-1)return m([]);if(e<0){var i=t+e;return m(i<0?[]:[this[i]])}return m([this[e]])},append:function(){for(var e,t=s(),i=0;i<arguments.length;i+=1){e=i<0||arguments.length<=i?void 0:arguments[i];for(var n=0;n<this.length;n+=1)if("string"==typeof e){var a=t.createElement("div");for(a.innerHTML=e;a.firstChild;)this[n].appendChild(a.firstChild)}else if(e instanceof h)for(var r=0;r<e.length;r+=1)this[n].appendChild(e[r]);else this[n].appendChild(e)}return this},prepend:function(e){var t,i,n=s();for(t=0;t<this.length;t+=1)if("string"==typeof e){var a=n.createElement("div");for(a.innerHTML=e,i=a.childNodes.length-1;i>=0;i-=1)this[t].insertBefore(a.childNodes[i],this[t].childNodes[0])}else if(e instanceof h)for(i=0;i<e.length;i+=1)this[t].insertBefore(e[i],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&m(this[0].nextElementSibling).is(e)?m([this[0].nextElementSibling]):m([]):this[0].nextElementSibling?m([this[0].nextElementSibling]):m([]):m([])},nextAll:function(e){var t=[],i=this[0];if(!i)return m([]);for(;i.nextElementSibling;){var n=i.nextElementSibling;e?m(n).is(e)&&t.push(n):t.push(n),i=n}return m(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&m(t.previousElementSibling).is(e)?m([t.previousElementSibling]):m([]):t.previousElementSibling?m([t.previousElementSibling]):m([])}return m([])},prevAll:function(e){var t=[],i=this[0];if(!i)return m([]);for(;i.previousElementSibling;){var n=i.previousElementSibling;e?m(n).is(e)&&t.push(n):t.push(n),i=n}return m(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?m(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return m(t)},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].parentNode;n;)e?m(n).is(e)&&t.push(n):t.push(n),n=n.parentNode;return m(t)},closest:function(e){var t=this;return void 0===e?m([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],i=0;i<this.length;i+=1){try{var n=this[i].querySelectorAll(e)}catch(t){console.log(e)}for(var a=0;a<n.length;a+=1)t.push(n[a])}return m(t)},children:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].children,a=0;a<n.length;a+=1)e&&!m(n[a]).is(e)||t.push(n[a]);return m(t)},filter:function(e){return m(f(this,e))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};function w(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function _(){return Date.now()}function T(e,t){void 0===t&&(t="x");var i,n,a,s=o(),r=function(e){var t,i=o();return i.getComputedStyle&&(t=i.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return s.WebKitCSSMatrix?((n=r.transform||r.webkitTransform).split(",").length>6&&(n=n.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),a=new s.WebKitCSSMatrix("none"===n?"":n)):i=(a=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=s.WebKitCSSMatrix?a.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(n=s.WebKitCSSMatrix?a.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),n||0}function x(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function C(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function S(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"],i=1;i<arguments.length;i+=1){var n=i<0||arguments.length<=i?void 0:arguments[i];if(null!=n&&!C(n))for(var a=Object.keys(Object(n)).filter(function(e){return t.indexOf(e)<0}),s=0,r=a.length;s<r;s+=1){var o=a[s],l=Object.getOwnPropertyDescriptor(n,o);void 0!==l&&l.enumerable&&(x(e[o])&&x(n[o])?n[o].__swiper__?e[o]=n[o]:S(e[o],n[o]):!x(e[o])&&x(n[o])?(e[o]={},n[o].__swiper__?e[o]=n[o]:S(e[o],n[o])):e[o]=n[o])}}return e}function E(e,t){Object.keys(t).forEach(function(i){x(t[i])&&Object.keys(t[i]).forEach(function(n){"function"==typeof t[i][n]&&(t[i][n]=t[i][n].bind(e))}),e[i]=t[i]})}function P(e){return void 0===e&&(e=""),"."+e.trim().replace(/([\.:\/])/g,"\\$1").replace(/ /g,".")}function k(e,t,i,n){var a=s();return i&&Object.keys(n).forEach(function(i){if(!t[i]&&!0===t.auto){var s=a.createElement("div");s.className=n[i],e.append(s),t[i]=s}}),t}function M(){return g||(e=o(),t=s(),g={touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),pointerEvents:!!e.PointerEvent&&"maxTouchPoints"in e.navigator&&e.navigator.maxTouchPoints>=0,observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,i)}catch(e){}return t}(),gestures:"ongesturestart"in e}),g;var e,t}function I(e){return void 0===e&&(e={}),v||(v=function(e){var t=(void 0===e?{}:e).userAgent,i=M(),n=o(),a=n.navigator.platform,s=t||n.navigator.userAgent,r={ios:!1,android:!1},l=n.screen.width,c=n.screen.height,d=s.match(/(Android);?[\s\/]+([\d.]+)?/),u=s.match(/(iPad).*OS\s([\d_]+)/),h=s.match(/(iPod)(.*OS\s([\d_]+))?/),p=!u&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===a,m="MacIntel"===a;return!u&&m&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(l+"x"+c)>=0&&((u=s.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),m=!1),d&&!f&&(r.os="android",r.android=!0),(u||p||h)&&(r.os="ios",r.ios=!0),r}(e)),v}function O(){return y||(t=o(),y={isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(e=t.navigator.userAgent.toLowerCase(),e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}),y;var e,t}Object.keys(b).forEach(function(e){Object.defineProperty(m.fn,e,{value:b[e],writable:!0})});var L={name:"resize",create:function(){var e=this;S(e,{resize:{observer:null,createObserver:function(){e&&!e.destroyed&&e.initialized&&(e.resize.observer=new ResizeObserver(function(t){var i=e.width,n=e.height,a=i,s=n;t.forEach(function(t){var i=t.contentBoxSize,n=t.contentRect,r=t.target;r&&r!==e.el||(a=n?n.width:(i[0]||i).inlineSize,s=n?n.height:(i[0]||i).blockSize)}),a===i&&s===n||e.resize.resizeHandler()}),e.resize.observer.observe(e.el))},removeObserver:function(){e.resize.observer&&e.resize.observer.unobserve&&e.el&&(e.resize.observer.unobserve(e.el),e.resize.observer=null)},resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(e){var t=o();e.params.resizeObserver&&void 0!==o().ResizeObserver?e.resize.createObserver():(t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler))},destroy:function(e){var t=o();e.resize.removeObserver(),t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},j={attach:function(e,t){void 0===t&&(t={});var i=o(),n=this,a=new(i.MutationObserver||i.WebkitMutationObserver)(function(e){if(1!==e.length){var t=function(){n.emit("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(t):i.setTimeout(t,0)}else n.emit("observerUpdate",e[0])});a.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),n.observer.observers.push(a)},init:function(){var e=this;if(e.support.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),i=0;i<t.length;i+=1)e.observer.attach(t[i]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},A={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){E(this,{observer:t({},j,{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}};function z(e){var t=this,i=s(),n=o(),a=t.touchEventsData,r=t.params,l=t.touches;if(t.enabled&&(!t.animating||!r.preventInteractionOnTransition)){var c=e;c.originalEvent&&(c=c.originalEvent);var d=m(c.target);if(("wrapper"!==r.touchEventsTarget||d.closest(t.wrapperEl).length)&&(a.isTouchEvent="touchstart"===c.type,(a.isTouchEvent||!("which"in c)||3!==c.which)&&!(!a.isTouchEvent&&"button"in c&&c.button>0||a.isTouched&&a.isMoved))){r.noSwipingClass&&""!==r.noSwipingClass&&c.target&&c.target.shadowRoot&&e.path&&e.path[0]&&(d=m(e.path[0]));var u=r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass,h=!(!c.target||!c.target.shadowRoot);if(r.noSwiping&&(h?function(e,t){return void 0===t&&(t=this),function t(i){return i&&i!==s()&&i!==o()?(i.assignedSlot&&(i=i.assignedSlot),i.closest(e)||t(i.getRootNode().host)):null}(t)}(u,c.target):d.closest(u)[0]))t.allowClick=!0;else if(!r.swipeHandler||d.closest(r.swipeHandler)[0]){l.currentX="touchstart"===c.type?c.targetTouches[0].pageX:c.pageX,l.currentY="touchstart"===c.type?c.targetTouches[0].pageY:c.pageY;var p=l.currentX,f=l.currentY,g=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,v=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(g&&(p<=v||p>=n.innerWidth-v)){if("prevent"!==g)return;e.preventDefault()}if(S(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=p,l.startY=f,a.touchStartTime=_(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(a.allowThresholdMove=!1),"touchstart"!==c.type){var y=!0;d.is(a.focusableElements)&&(y=!1),i.activeElement&&m(i.activeElement).is(a.focusableElements)&&i.activeElement!==d[0]&&i.activeElement.blur();var b=y&&t.allowTouchMove&&r.touchStartPreventDefault;!r.touchStartForcePreventDefault&&!b||d[0].isContentEditable||c.preventDefault()}t.emit("touchStart",c)}}}}function Y(){var e=this,t=e.params,i=e.el;if(!i||0!==i.offsetWidth){t.breakpoints&&e.setBreakpoint();var n=e.allowSlideNext,a=e.allowSlidePrev,s=e.snapGrid;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=a,e.allowSlideNext=n,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}}var D=!1;function N(){}var $={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1},B={modular:{useParams:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var n=t.modules[i];n.params&&S(e,n.params)})},useModules:function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var n=t.modules[i],a=e[i]||{};n.on&&t.on&&Object.keys(n.on).forEach(function(e){t.on(e,n.on[e])}),n.create&&n.create.bind(t)(a)})}},eventsEmitter:{on:function(e,t,i){var n=this;if("function"!=typeof t)return n;var a=i?"unshift":"push";return e.split(" ").forEach(function(e){n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][a](t)}),n},once:function(e,t,i){var n=this;if("function"!=typeof t)return n;function a(){n.off(e,a),a.__emitterProxy&&delete a.__emitterProxy;for(var i=arguments.length,s=new Array(i),r=0;r<i;r++)s[r]=arguments[r];t.apply(n,s)}return a.__emitterProxy=t,n.on(e,a,i)},onAny:function(e,t){var i=this;if("function"!=typeof e)return i;var n=t?"unshift":"push";return i.eventsAnyListeners.indexOf(e)<0&&i.eventsAnyListeners[n](e),i},offAny:function(e){var t=this;if(!t.eventsAnyListeners)return t;var i=t.eventsAnyListeners.indexOf(e);return i>=0&&t.eventsAnyListeners.splice(i,1),t},off:function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach(function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach(function(n,a){(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(a,1)})}),i):i},emit:function(){var e,t,i,n=this;if(!n.eventsListeners)return n;for(var a=arguments.length,s=new Array(a),r=0;r<a;r++)s[r]=arguments[r];return"string"==typeof s[0]||Array.isArray(s[0])?(e=s[0],t=s.slice(1,s.length),i=n):(e=s[0].events,t=s[0].data,i=s[0].context||n),t.unshift(i),(Array.isArray(e)?e:e.split(" ")).forEach(function(e){n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(function(n){n.apply(i,[e].concat(t))}),n.eventsListeners&&n.eventsListeners[e]&&n.eventsListeners[e].forEach(function(e){e.apply(i,t)})}),n}},update:{updateSize:function(){var e,t,i=this,n=i.$el;e=void 0!==i.params.width&&null!==i.params.width?i.params.width:n[0].clientWidth,t=void 0!==i.params.height&&null!==i.params.height?i.params.height:n[0].clientHeight,0===e&&i.isHorizontal()||0===t&&i.isVertical()||(e=e-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),t=t-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),S(i,{width:e,height:t,size:i.isHorizontal()?e:t}))},updateSlides:function(){var e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function i(e,i){return parseFloat(e.getPropertyValue(t(i))||0)}var n=e.params,a=e.$wrapperEl,s=e.size,r=e.rtlTranslate,o=e.wrongRTL,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,d=a.children("."+e.params.slideClass),u=l?e.virtual.slides.length:d.length,h=[],p=[],f=[],m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(e));var g=n.slidesOffsetAfter;"function"==typeof g&&(g=n.slidesOffsetAfter.call(e));var v=e.snapGrid.length,y=e.slidesGrid.length,b=n.spaceBetween,w=-m,_=0,T=0;if(void 0!==s){var x,C;"string"==typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*s),e.virtualSize=-b,r?d.css({marginLeft:"",marginBottom:"",marginTop:""}):d.css({marginRight:"",marginBottom:"",marginTop:""}),n.slidesPerColumn>1&&(x=Math.floor(u/n.slidesPerColumn)===u/e.params.slidesPerColumn?u:Math.ceil(u/n.slidesPerColumn)*n.slidesPerColumn,"auto"!==n.slidesPerView&&"row"===n.slidesPerColumnFill&&(x=Math.max(x,n.slidesPerView*n.slidesPerColumn)));for(var E,P,k,M=n.slidesPerColumn,I=x/M,O=Math.floor(u/n.slidesPerColumn),L=0;L<u;L+=1){C=0;var j=d.eq(L);if(n.slidesPerColumn>1){var A=void 0,z=void 0,Y=void 0;if("row"===n.slidesPerColumnFill&&n.slidesPerGroup>1){var D=Math.floor(L/(n.slidesPerGroup*n.slidesPerColumn)),N=L-n.slidesPerColumn*n.slidesPerGroup*D,$=0===D?n.slidesPerGroup:Math.min(Math.ceil((u-D*M*n.slidesPerGroup)/M),n.slidesPerGroup);A=(z=N-(Y=Math.floor(N/$))*$+D*n.slidesPerGroup)+Y*x/M,j.css({"-webkit-box-ordinal-group":A,"-moz-box-ordinal-group":A,"-ms-flex-order":A,"-webkit-order":A,order:A})}else"column"===n.slidesPerColumnFill?(Y=L-(z=Math.floor(L/M))*M,(z>O||z===O&&Y===M-1)&&(Y+=1)>=M&&(Y=0,z+=1)):z=L-(Y=Math.floor(L/I))*I;j.css(t("margin-top"),0!==Y?n.spaceBetween&&n.spaceBetween+"px":"")}if("none"!==j.css("display")){if("auto"===n.slidesPerView){var B=getComputedStyle(j[0]),Q=j[0].style.transform,R=j[0].style.webkitTransform;if(Q&&(j[0].style.transform="none"),R&&(j[0].style.webkitTransform="none"),n.roundLengths)C=e.isHorizontal()?j.outerWidth(!0):j.outerHeight(!0);else{var F=i(B,"width"),H=i(B,"padding-left"),W=i(B,"padding-right"),q=i(B,"margin-left"),V=i(B,"margin-right"),U=B.getPropertyValue("box-sizing");if(U&&"border-box"===U)C=F+q+V;else{var G=j[0],X=G.clientWidth;C=F+H+W+q+V+(G.offsetWidth-X)}}Q&&(j[0].style.transform=Q),R&&(j[0].style.webkitTransform=R),n.roundLengths&&(C=Math.floor(C))}else C=(s-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(C=Math.floor(C)),d[L]&&(d[L].style[t("width")]=C+"px");d[L]&&(d[L].swiperSlideSize=C),f.push(C),n.centeredSlides?(w=w+C/2+_/2+b,0===_&&0!==L&&(w=w-s/2-b),0===L&&(w=w-s/2-b),Math.abs(w)<.001&&(w=0),n.roundLengths&&(w=Math.floor(w)),T%n.slidesPerGroup==0&&h.push(w),p.push(w)):(n.roundLengths&&(w=Math.floor(w)),(T-Math.min(e.params.slidesPerGroupSkip,T))%e.params.slidesPerGroup==0&&h.push(w),p.push(w),w=w+C+b),e.virtualSize+=C+b,_=C,T+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+g,r&&o&&("slide"===n.effect||"coverflow"===n.effect)&&a.css({width:e.virtualSize+n.spaceBetween+"px"}),n.setWrapperSize&&a.css(((P={})[t("width")]=e.virtualSize+n.spaceBetween+"px",P)),n.slidesPerColumn>1&&(e.virtualSize=(C+n.spaceBetween)*x,e.virtualSize=Math.ceil(e.virtualSize/n.slidesPerColumn)-n.spaceBetween,a.css(((k={})[t("width")]=e.virtualSize+n.spaceBetween+"px",k)),n.centeredSlides)){E=[];for(var K=0;K<h.length;K+=1){var Z=h[K];n.roundLengths&&(Z=Math.floor(Z)),h[K]<e.virtualSize+h[0]&&E.push(Z)}h=E}if(!n.centeredSlides){E=[];for(var J=0;J<h.length;J+=1){var ee=h[J];n.roundLengths&&(ee=Math.floor(ee)),h[J]<=e.virtualSize-s&&E.push(ee)}h=E,Math.floor(e.virtualSize-s)-Math.floor(h[h.length-1])>1&&h.push(e.virtualSize-s)}if(0===h.length&&(h=[0]),0!==n.spaceBetween){var te,ie=e.isHorizontal()&&r?"marginLeft":t("marginRight");d.filter(function(e,t){return!n.cssMode||t!==d.length-1}).css(((te={})[ie]=b+"px",te))}if(n.centeredSlides&&n.centeredSlidesBounds){var ne=0;f.forEach(function(e){ne+=e+(n.spaceBetween?n.spaceBetween:0)});var ae=(ne-=n.spaceBetween)-s;h=h.map(function(e){return e<0?-m:e>ae?ae+g:e})}if(n.centerInsufficientSlides){var se=0;if(f.forEach(function(e){se+=e+(n.spaceBetween?n.spaceBetween:0)}),(se-=n.spaceBetween)<s){var re=(s-se)/2;h.forEach(function(e,t){h[t]=e-re}),p.forEach(function(e,t){p[t]=e+re})}}S(e,{slides:d,snapGrid:h,slidesGrid:p,slidesSizesGrid:f}),u!==c&&e.emit("slidesLengthChange"),h.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),(n.watchSlidesProgress||n.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i=this,n=[],a=i.virtual&&i.params.virtual.enabled,s=0;"number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed);var r=function(e){return a?i.slides.filter(function(t){return parseInt(t.getAttribute("data-swiper-slide-index"),10)===e})[0]:i.slides.eq(e)[0]};if("auto"!==i.params.slidesPerView&&i.params.slidesPerView>1)if(i.params.centeredSlides)i.visibleSlides.each(function(e){n.push(e)});else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){var o=i.activeIndex+t;if(o>i.slides.length&&!a)break;n.push(r(o))}else n.push(r(i.activeIndex));for(t=0;t<n.length;t+=1)if(void 0!==n[t]){var l=n[t].offsetHeight;s=l>s?l:s}s&&i.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,i=t.params,n=t.slides,a=t.rtlTranslate;if(0!==n.length){void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();var s=-e;a&&(s=e),n.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var r=0;r<n.length;r+=1){var o=n[r],l=(s+(i.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+i.spaceBetween);if(i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight){var c=-(s-o.swiperSlideOffset),d=c+t.slidesSizesGrid[r];(c>=0&&c<t.size-1||d>1&&d<=t.size||c<=0&&d>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(r),n.eq(r).addClass(i.slideVisibleClass))}o.progress=a?-l:l}t.visibleSlides=m(t.visibleSlides)}},updateProgress:function(e){var t=this;if(void 0===e){var i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}var n=t.params,a=t.maxTranslate()-t.minTranslate(),s=t.progress,r=t.isBeginning,o=t.isEnd,l=r,c=o;0===a?(s=0,r=!0,o=!0):(r=(s=(e-t.minTranslate())/a)<=0,o=s>=1),S(t,{progress:s,isBeginning:r,isEnd:o}),(n.watchSlidesProgress||n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),o&&!c&&t.emit("reachEnd toEdge"),(l&&!r||c&&!o)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){var e,t=this,i=t.slides,n=t.params,a=t.$wrapperEl,s=t.activeIndex,r=t.realIndex,o=t.virtual&&n.virtual.enabled;i.removeClass(n.slideActiveClass+" "+n.slideNextClass+" "+n.slidePrevClass+" "+n.slideDuplicateActiveClass+" "+n.slideDuplicateNextClass+" "+n.slideDuplicatePrevClass),(e=o?t.$wrapperEl.find("."+n.slideClass+'[data-swiper-slide-index="'+s+'"]'):i.eq(s)).addClass(n.slideActiveClass),n.loop&&(e.hasClass(n.slideDuplicateClass)?a.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(n.slideDuplicateActiveClass):a.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(n.slideDuplicateActiveClass));var l=e.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=i.eq(0)).addClass(n.slideNextClass);var c=e.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=i.eq(-1)).addClass(n.slidePrevClass),n.loop&&(l.hasClass(n.slideDuplicateClass)?a.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass):a.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?a.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass):a.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass)),t.emitSlidesClasses()},updateActiveIndex:function(e){var t,i=this,n=i.rtlTranslate?i.translate:-i.translate,a=i.slidesGrid,s=i.snapGrid,r=i.params,o=i.activeIndex,l=i.realIndex,c=i.snapIndex,d=e;if(void 0===d){for(var u=0;u<a.length;u+=1)void 0!==a[u+1]?n>=a[u]&&n<a[u+1]-(a[u+1]-a[u])/2?d=u:n>=a[u]&&n<a[u+1]&&(d=u+1):n>=a[u]&&(d=u);r.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(s.indexOf(n)>=0)t=s.indexOf(n);else{var h=Math.min(r.slidesPerGroupSkip,d);t=h+Math.floor((d-h)/r.slidesPerGroup)}if(t>=s.length&&(t=s.length-1),d!==o){var p=parseInt(i.slides.eq(d).attr("data-swiper-slide-index")||d,10);S(i,{snapIndex:t,realIndex:p,previousIndex:o,activeIndex:d}),i.emit("activeIndexChange"),i.emit("snapIndexChange"),l!==p&&i.emit("realIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&i.emit("slideChange")}else t!==c&&(i.snapIndex=t,i.emit("snapIndexChange"))},updateClickedSlide:function(e){var t,i=this,n=i.params,a=m(e.target).closest("."+n.slideClass)[0],s=!1;if(a)for(var r=0;r<i.slides.length;r+=1)if(i.slides[r]===a){s=!0,t=r;break}if(!a||!s)return i.clickedSlide=void 0,void(i.clickedIndex=void 0);i.clickedSlide=a,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(m(a).attr("data-swiper-slide-index"),10):i.clickedIndex=t,n.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,i=t.params,n=t.rtlTranslate,a=t.translate,s=t.$wrapperEl;if(i.virtualTranslate)return n?-a:a;if(i.cssMode)return a;var r=T(s[0],e);return n&&(r=-r),r||0},setTranslate:function(e,t){var i=this,n=i.rtlTranslate,a=i.params,s=i.$wrapperEl,r=i.wrapperEl,o=i.progress,l=0,c=0;i.isHorizontal()?l=n?-e:e:c=e,a.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),a.cssMode?r[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-l:-c:a.virtualTranslate||s.transform("translate3d("+l+"px, "+c+"px, 0px)"),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:c;var d=i.maxTranslate()-i.minTranslate();(0===d?0:(e-i.minTranslate())/d)!==o&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,n,a){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);var s=this,r=s.params,o=s.wrapperEl;if(s.animating&&r.preventInteractionOnTransition)return!1;var l,c=s.minTranslate(),d=s.maxTranslate();if(l=n&&e>c?c:n&&e<d?d:e,s.updateProgress(l),r.cssMode){var u,h=s.isHorizontal();return 0===t?o[h?"scrollLeft":"scrollTop"]=-l:o.scrollTo?o.scrollTo(((u={})[h?"left":"top"]=-l,u.behavior="smooth",u)):o[h?"scrollLeft":"scrollTop"]=-l,!0}return 0===t?(s.setTransition(0),s.setTranslate(l),i&&(s.emit("beforeTransitionStart",t,a),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(l),i&&(s.emit("beforeTransitionStart",t,a),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,i&&s.emit("transitionEnd"))}),s.$wrapperEl[0].addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){var i=this;i.params.cssMode||i.$wrapperEl.transition(e),i.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this,n=i.activeIndex,a=i.params,s=i.previousIndex;if(!a.cssMode){a.autoHeight&&i.updateAutoHeight();var r=t;if(r||(r=n>s?"next":n<s?"prev":"reset"),i.emit("transitionStart"),e&&n!==s){if("reset"===r)return void i.emit("slideResetTransitionStart");i.emit("slideChangeTransitionStart"),"next"===r?i.emit("slideNextTransitionStart"):i.emit("slidePrevTransitionStart")}}},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this,n=i.activeIndex,a=i.previousIndex,s=i.params;if(i.animating=!1,!s.cssMode){i.setTransition(0);var r=t;if(r||(r=n>a?"next":n<a?"prev":"reset"),i.emit("transitionEnd"),e&&n!==a){if("reset"===r)return void i.emit("slideResetTransitionEnd");i.emit("slideChangeTransitionEnd"),"next"===r?i.emit("slideNextTransitionEnd"):i.emit("slidePrevTransitionEnd")}}}},slide:{slideTo:function(e,t,i,n,a){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"number"!=typeof e&&"string"!=typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof e+"] given.");if("string"==typeof e){var s=parseInt(e,10);if(!isFinite(s))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+e+"] given.");e=s}var r=this,o=e;o<0&&(o=0);var l=r.params,c=r.snapGrid,d=r.slidesGrid,u=r.previousIndex,h=r.activeIndex,p=r.rtlTranslate,f=r.wrapperEl,m=r.enabled;if(r.animating&&l.preventInteractionOnTransition||!m&&!n&&!a)return!1;var g=Math.min(r.params.slidesPerGroupSkip,o),v=g+Math.floor((o-g)/r.params.slidesPerGroup);v>=c.length&&(v=c.length-1),(h||l.initialSlide||0)===(u||0)&&i&&r.emit("beforeSlideChangeStart");var y,b=-c[v];if(r.updateProgress(b),l.normalizeSlideIndex)for(var w=0;w<d.length;w+=1){var _=-Math.floor(100*b),T=Math.floor(100*d[w]),x=Math.floor(100*d[w+1]);void 0!==d[w+1]?_>=T&&_<x-(x-T)/2?o=w:_>=T&&_<x&&(o=w+1):_>=T&&(o=w)}if(r.initialized&&o!==h){if(!r.allowSlideNext&&b<r.translate&&b<r.minTranslate())return!1;if(!r.allowSlidePrev&&b>r.translate&&b>r.maxTranslate()&&(h||0)!==o)return!1}if(y=o>h?"next":o<h?"prev":"reset",p&&-b===r.translate||!p&&b===r.translate)return r.updateActiveIndex(o),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==l.effect&&r.setTranslate(b),"reset"!==y&&(r.transitionStart(i,y),r.transitionEnd(i,y)),!1;if(l.cssMode){var C,S=r.isHorizontal(),E=-b;return p&&(E=f.scrollWidth-f.offsetWidth-E),0===t?f[S?"scrollLeft":"scrollTop"]=E:f.scrollTo?f.scrollTo(((C={})[S?"left":"top"]=E,C.behavior="smooth",C)):f[S?"scrollLeft":"scrollTop"]=E,!0}return 0===t?(r.setTransition(0),r.setTranslate(b),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,n),r.transitionStart(i,y),r.transitionEnd(i,y)):(r.setTransition(t),r.setTranslate(b),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,n),r.transitionStart(i,y),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,y))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e,t,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var a=this,s=e;return a.params.loop&&(s+=a.loopedSlides),a.slideTo(s,t,i,n)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this,a=n.params,s=n.animating;if(!n.enabled)return n;var r=n.activeIndex<a.slidesPerGroupSkip?1:a.slidesPerGroup;if(a.loop){if(s&&a.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}return n.slideTo(n.activeIndex+r,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this,a=n.params,s=n.animating,r=n.snapGrid,o=n.slidesGrid,l=n.rtlTranslate;if(!n.enabled)return n;if(a.loop){if(s&&a.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var d,u=c(l?n.translate:-n.translate),h=r.map(function(e){return c(e)}),p=r[h.indexOf(u)-1];return void 0===p&&a.cssMode&&r.forEach(function(e){!p&&u>=e&&(p=e)}),void 0!==p&&(d=o.indexOf(p))<0&&(d=n.activeIndex-1),n.slideTo(d,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);var a=this,s=a.activeIndex,r=Math.min(a.params.slidesPerGroupSkip,s),o=r+Math.floor((s-r)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[o]){var c=a.snapGrid[o];l-c>(a.snapGrid[o+1]-c)*n&&(s+=a.params.slidesPerGroup)}else{var d=a.snapGrid[o-1];l-d<=(a.snapGrid[o]-d)*n&&(s-=a.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,a.slidesGrid.length-1),a.slideTo(s,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,n=t.$wrapperEl,a="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,s=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(m(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?s<t.loopedSlides-a/2||s>t.slides.length-t.loopedSlides+a/2?(t.loopFix(),s=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),w(function(){t.slideTo(s)})):t.slideTo(s):s>t.slides.length-a?(t.loopFix(),s=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),w(function(){t.slideTo(s)})):t.slideTo(s)}else t.slideTo(s)}},loop:{loopCreate:function(){var e=this,t=s(),i=e.params,n=e.$wrapperEl;n.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var a=n.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var r=i.slidesPerGroup-a.length%i.slidesPerGroup;if(r!==i.slidesPerGroup){for(var o=0;o<r;o+=1){var l=m(t.createElement("div")).addClass(i.slideClass+" "+i.slideBlankClass);n.append(l)}a=n.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=a.length),e.loopedSlides=Math.ceil(parseFloat(i.loopedSlides||i.slidesPerView,10)),e.loopedSlides+=i.loopAdditionalSlides,e.loopedSlides>a.length&&(e.loopedSlides=a.length);var c=[],d=[];a.each(function(t,i){var n=m(t);i<e.loopedSlides&&d.push(t),i<a.length&&i>=a.length-e.loopedSlides&&c.push(t),n.attr("data-swiper-slide-index",i)});for(var u=0;u<d.length;u+=1)n.append(m(d[u].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var h=c.length-1;h>=0;h-=1)n.prepend(m(c[h].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){var e=this;e.emit("beforeLoopFix");var t,i=e.activeIndex,n=e.slides,a=e.loopedSlides,s=e.allowSlidePrev,r=e.allowSlideNext,o=e.snapGrid,l=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var c=-o[i]-e.getTranslate();i<a?(t=n.length-3*a+i,t+=a,e.slideTo(t,0,!1,!0)&&0!==c&&e.setTranslate((l?-e.translate:e.translate)-c)):i>=n.length-a&&(t=-n.length+i+a,t+=a,e.slideTo(t,0,!1,!0)&&0!==c&&e.setTranslate((l?-e.translate:e.translate)-c)),e.allowSlidePrev=s,e.allowSlideNext=r,e.emit("loopFix")},loopDestroy:function(){var e=this,t=e.$wrapperEl,i=e.params,n=e.slides;t.children("."+i.slideClass+"."+i.slideDuplicateClass+",."+i.slideClass+"."+i.slideBlankClass).remove(),n.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){var t=this;if(!(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var i=t.el;i.style.cursor="move",i.style.cursor=e?"-webkit-grabbing":"-webkit-grab",i.style.cursor=e?"-moz-grabbin":"-moz-grab",i.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}},manipulation:{appendSlide:function(e){var t=this,i=t.$wrapperEl,n=t.params;if(n.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var a=0;a<e.length;a+=1)e[a]&&i.append(e[a]);else i.append(e);n.loop&&t.loopCreate(),n.observer&&t.support.observer||t.update()},prependSlide:function(e){var t=this,i=t.params,n=t.$wrapperEl,a=t.activeIndex;i.loop&&t.loopDestroy();var s=a+1;if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)e[r]&&n.prepend(e[r]);s=a+e.length}else n.prepend(e);i.loop&&t.loopCreate(),i.observer&&t.support.observer||t.update(),t.slideTo(s,0,!1)},addSlide:function(e,t){var i=this,n=i.$wrapperEl,a=i.params,s=i.activeIndex;a.loop&&(s-=i.loopedSlides,i.loopDestroy(),i.slides=n.children("."+a.slideClass));var r=i.slides.length;if(e<=0)i.prependSlide(t);else if(e>=r)i.appendSlide(t);else{for(var o=s>e?s+1:s,l=[],c=r-1;c>=e;c-=1){var d=i.slides.eq(c);d.remove(),l.unshift(d)}if("object"==typeof t&&"length"in t){for(var u=0;u<t.length;u+=1)t[u]&&n.append(t[u]);o=s>e?s+t.length:s}else n.append(t);for(var h=0;h<l.length;h+=1)n.append(l[h]);a.loop&&i.loopCreate(),a.observer&&i.support.observer||i.update(),a.loop?i.slideTo(o+i.loopedSlides,0,!1):i.slideTo(o,0,!1)}},removeSlide:function(e){var t=this,i=t.params,n=t.$wrapperEl,a=t.activeIndex;i.loop&&(a-=t.loopedSlides,t.loopDestroy(),t.slides=n.children("."+i.slideClass));var s,r=a;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)s=e[o],t.slides[s]&&t.slides.eq(s).remove(),s<r&&(r-=1);r=Math.max(r,0)}else s=e,t.slides[s]&&t.slides.eq(s).remove(),s<r&&(r-=1),r=Math.max(r,0);i.loop&&t.loopCreate(),i.observer&&t.support.observer||t.update(),i.loop?t.slideTo(r+t.loopedSlides,0,!1):t.slideTo(r,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},events:{attachEvents:function(){var e=this,t=s(),i=e.params,n=e.touchEvents,a=e.el,r=e.wrapperEl,o=e.device,l=e.support;e.onTouchStart=z.bind(e),e.onTouchMove=function(e){var t=s(),i=this,n=i.touchEventsData,a=i.params,r=i.touches,o=i.rtlTranslate;if(i.enabled){var l=e;if(l.originalEvent&&(l=l.originalEvent),n.isTouched){if(!n.isTouchEvent||"touchmove"===l.type){var c="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),d="touchmove"===l.type?c.pageX:l.pageX,u="touchmove"===l.type?c.pageY:l.pageY;if(l.preventedByNestedSwiper)return r.startX=d,void(r.startY=u);if(!i.allowTouchMove)return i.allowClick=!1,void(n.isTouched&&(S(r,{startX:d,startY:u,currentX:d,currentY:u}),n.touchStartTime=_()));if(n.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(i.isVertical()){if(u<r.startY&&i.translate<=i.maxTranslate()||u>r.startY&&i.translate>=i.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(d<r.startX&&i.translate<=i.maxTranslate()||d>r.startX&&i.translate>=i.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&m(l.target).is(n.focusableElements))return n.isMoved=!0,void(i.allowClick=!1);if(n.allowTouchCallbacks&&i.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){r.currentX=d,r.currentY=u;var h,p=r.currentX-r.startX,f=r.currentY-r.startY;if(!(i.params.threshold&&Math.sqrt(Math.pow(p,2)+Math.pow(f,2))<i.params.threshold))if(void 0===n.isScrolling&&(i.isHorizontal()&&r.currentY===r.startY||i.isVertical()&&r.currentX===r.startX?n.isScrolling=!1:p*p+f*f>=25&&(h=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,n.isScrolling=i.isHorizontal()?h>a.touchAngle:90-h>a.touchAngle)),n.isScrolling&&i.emit("touchMoveOpposite",l),void 0===n.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(n.startMoving=!0)),n.isScrolling)n.isTouched=!1;else if(n.startMoving){i.allowClick=!1,!a.cssMode&&l.cancelable&&l.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&l.stopPropagation(),n.isMoved||(a.loop&&i.loopFix(),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!a.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",l)),i.emit("sliderMove",l),n.isMoved=!0;var g=i.isHorizontal()?p:f;r.diff=g,g*=a.touchRatio,o&&(g=-g),i.swipeDirection=g>0?"prev":"next",n.currentTranslate=g+n.startTranslate;var v=!0,y=a.resistanceRatio;if(a.touchReleaseOnEdges&&(y=0),g>0&&n.currentTranslate>i.minTranslate()?(v=!1,a.resistance&&(n.currentTranslate=i.minTranslate()-1+Math.pow(-i.minTranslate()+n.startTranslate+g,y))):g<0&&n.currentTranslate<i.maxTranslate()&&(v=!1,a.resistance&&(n.currentTranslate=i.maxTranslate()+1-Math.pow(i.maxTranslate()-n.startTranslate-g,y))),v&&(l.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),i.allowSlidePrev||i.allowSlideNext||(n.currentTranslate=n.startTranslate),a.threshold>0){if(!(Math.abs(g)>a.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,n.currentTranslate=n.startTranslate,void(r.diff=i.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}a.followFinger&&!a.cssMode&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(i.updateActiveIndex(),i.updateSlidesClasses()),a.freeMode&&(0===n.velocities.length&&n.velocities.push({position:r[i.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:r[i.isHorizontal()?"currentX":"currentY"],time:_()})),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}}}}else n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",l)}}.bind(e),e.onTouchEnd=function(e){var t=this,i=t.touchEventsData,n=t.params,a=t.touches,s=t.rtlTranslate,r=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid;if(t.enabled){var c=e;if(c.originalEvent&&(c=c.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",c),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var d,u=_(),h=u-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(c),t.emit("tap click",c),h<300&&u-i.lastClickTime<300&&t.emit("doubleTap doubleClick",c)),i.lastClickTime=_(),w(function(){t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===a.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,d=n.followFinger?s?t.translate:-t.translate:-i.currentTranslate,!n.cssMode)if(n.freeMode){if(d<-t.minTranslate())return void t.slideTo(t.activeIndex);if(d>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(n.freeModeMomentum){if(i.velocities.length>1){var p=i.velocities.pop(),f=i.velocities.pop(),m=p.position-f.position,g=p.time-f.time;t.velocity=m/g,t.velocity/=2,Math.abs(t.velocity)<n.freeModeMinimumVelocity&&(t.velocity=0),(g>150||_()-p.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeModeMomentumVelocityRatio,i.velocities.length=0;var v=1e3*n.freeModeMomentumRatio,y=t.velocity*v,b=t.translate+y;s&&(b=-b);var T,x,C=!1,S=20*Math.abs(t.velocity)*n.freeModeMomentumBounceRatio;if(b<t.maxTranslate())n.freeModeMomentumBounce?(b+t.maxTranslate()<-S&&(b=t.maxTranslate()-S),T=t.maxTranslate(),C=!0,i.allowMomentumBounce=!0):b=t.maxTranslate(),n.loop&&n.centeredSlides&&(x=!0);else if(b>t.minTranslate())n.freeModeMomentumBounce?(b-t.minTranslate()>S&&(b=t.minTranslate()+S),T=t.minTranslate(),C=!0,i.allowMomentumBounce=!0):b=t.minTranslate(),n.loop&&n.centeredSlides&&(x=!0);else if(n.freeModeSticky){for(var E,P=0;P<l.length;P+=1)if(l[P]>-b){E=P;break}b=-(b=Math.abs(l[E]-b)<Math.abs(l[E-1]-b)||"next"===t.swipeDirection?l[E]:l[E-1])}if(x&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity){if(v=s?Math.abs((-b-t.translate)/t.velocity):Math.abs((b-t.translate)/t.velocity),n.freeModeSticky){var k=Math.abs((s?-b:b)-t.translate),M=t.slidesSizesGrid[t.activeIndex];v=k<M?n.speed:k<2*M?1.5*n.speed:2.5*n.speed}}else if(n.freeModeSticky)return void t.slideToClosest();n.freeModeMomentumBounce&&C?(t.updateProgress(T),t.setTransition(v),t.setTranslate(b),t.transitionStart(!0,t.swipeDirection),t.animating=!0,r.transitionEnd(function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(n.speed),setTimeout(function(){t.setTranslate(T),r.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(t.updateProgress(b),t.setTransition(v),t.setTranslate(b),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,r.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):(t.emit("_freeModeNoMomentumRelease"),t.updateProgress(b)),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(n.freeModeSticky)return void t.slideToClosest();n.freeMode&&t.emit("_freeModeNoMomentumRelease")}(!n.freeModeMomentum||h>=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var I=0,O=t.slidesSizesGrid[0],L=0;L<o.length;L+=L<n.slidesPerGroupSkip?1:n.slidesPerGroup){var j=L<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==o[L+j]?d>=o[L]&&d<o[L+j]&&(I=L,O=o[L+j]-o[L]):d>=o[L]&&(I=L,O=o[o.length-1]-o[o.length-2])}var A=(d-o[I])/O,z=I<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(h>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(A>=n.longSwipesRatio?t.slideTo(I+z):t.slideTo(I)),"prev"===t.swipeDirection&&(A>1-n.longSwipesRatio?t.slideTo(I+z):t.slideTo(I))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||c.target!==t.navigation.nextEl&&c.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(I+z),"prev"===t.swipeDirection&&t.slideTo(I)):c.target===t.navigation.nextEl?t.slideTo(I+z):t.slideTo(I)}}}}.bind(e),i.cssMode&&(e.onScroll=function(){var e=this,t=e.wrapperEl,i=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=i?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var n=e.maxTranslate()-e.minTranslate();(0===n?0:(e.translate-e.minTranslate())/n)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}.bind(e)),e.onClick=function(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}.bind(e);var c=!!i.nested;if(!l.touch&&l.pointerEvents)a.addEventListener(n.start,e.onTouchStart,!1),t.addEventListener(n.move,e.onTouchMove,c),t.addEventListener(n.end,e.onTouchEnd,!1);else{if(l.touch){var d=!("touchstart"!==n.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};a.addEventListener(n.start,e.onTouchStart,d),a.addEventListener(n.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),a.addEventListener(n.end,e.onTouchEnd,d),n.cancel&&a.addEventListener(n.cancel,e.onTouchEnd,d),D||(t.addEventListener("touchstart",N),D=!0)}(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(a.addEventListener("mousedown",e.onTouchStart,!1),t.addEventListener("mousemove",e.onTouchMove,c),t.addEventListener("mouseup",e.onTouchEnd,!1))}(i.preventClicks||i.preventClicksPropagation)&&a.addEventListener("click",e.onClick,!0),i.cssMode&&r.addEventListener("scroll",e.onScroll),i.updateOnWindowResize?e.on(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",Y,!0):e.on("observerUpdate",Y,!0)},detachEvents:function(){var e=this,t=s(),i=e.params,n=e.touchEvents,a=e.el,r=e.wrapperEl,o=e.device,l=e.support,c=!!i.nested;if(!l.touch&&l.pointerEvents)a.removeEventListener(n.start,e.onTouchStart,!1),t.removeEventListener(n.move,e.onTouchMove,c),t.removeEventListener(n.end,e.onTouchEnd,!1);else{if(l.touch){var d=!("onTouchStart"!==n.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};a.removeEventListener(n.start,e.onTouchStart,d),a.removeEventListener(n.move,e.onTouchMove,c),a.removeEventListener(n.end,e.onTouchEnd,d),n.cancel&&a.removeEventListener(n.cancel,e.onTouchEnd,d)}(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(a.removeEventListener("mousedown",e.onTouchStart,!1),t.removeEventListener("mousemove",e.onTouchMove,c),t.removeEventListener("mouseup",e.onTouchEnd,!1))}(i.preventClicks||i.preventClicksPropagation)&&a.removeEventListener("click",e.onClick,!0),i.cssMode&&r.removeEventListener("scroll",e.onScroll),e.off(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",Y)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,i=e.initialized,n=e.loopedSlides,a=void 0===n?0:n,s=e.params,r=e.$el,o=s.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var l=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(l&&e.currentBreakpoint!==l){var c=l in o?o[l]:void 0;c&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(e){var t=c[e];void 0!==t&&(c[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});var d=c||e.originalParams,u=s.slidesPerColumn>1,h=d.slidesPerColumn>1,p=s.enabled;u&&!h?(r.removeClass(s.containerModifierClass+"multirow "+s.containerModifierClass+"multirow-column"),e.emitContainerClasses()):!u&&h&&(r.addClass(s.containerModifierClass+"multirow"),(d.slidesPerColumnFill&&"column"===d.slidesPerColumnFill||!d.slidesPerColumnFill&&"column"===s.slidesPerColumnFill)&&r.addClass(s.containerModifierClass+"multirow-column"),e.emitContainerClasses());var f=d.direction&&d.direction!==s.direction,m=s.loop&&(d.slidesPerView!==s.slidesPerView||f);f&&i&&e.changeDirection(),S(e.params,d);var g=e.params.enabled;S(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!g?e.disable():!p&&g&&e.enable(),e.currentBreakpoint=l,e.emit("_beforeBreakpoint",d),m&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",d)}}},getBreakpoint:function(e,t,i){if(void 0===t&&(t="window"),e&&("container"!==t||i)){var n=!1,a=o(),s="window"===t?a.innerHeight:i.clientHeight,r=Object.keys(e).map(function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:s*t,point:e}}return{value:e,point:e}});r.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var l=0;l<r.length;l+=1){var c=r[l],d=c.point,u=c.value;"window"===t?a.matchMedia("(min-width: "+u+"px)").matches&&(n=d):u<=i.clientWidth&&(n=d)}return n||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.params,i=e.isLocked,n=e.slides.length>0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&n?e.isLocked=n<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,i!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),i&&i!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}},classes:{addClasses:function(){var e,t,i,n=this,a=n.classNames,s=n.params,r=n.rtl,o=n.$el,l=n.device,c=n.support,d=(e=["initialized",s.direction,{"pointer-events":c.pointerEvents&&!c.touch},{"free-mode":s.freeMode},{autoheight:s.autoHeight},{rtl:r},{multirow:s.slidesPerColumn>1},{"multirow-column":s.slidesPerColumn>1&&"column"===s.slidesPerColumnFill},{android:l.android},{ios:l.ios},{"css-mode":s.cssMode}],t=s.containerModifierClass,i=[],e.forEach(function(e){"object"==typeof e?Object.keys(e).forEach(function(n){e[n]&&i.push(t+n)}):"string"==typeof e&&i.push(t+e)}),i);a.push.apply(a,d),o.addClass([].concat(a).join(" ")),n.emitContainerClasses()},removeClasses:function(){var e=this,t=e.$el,i=e.classNames;t.removeClass(i.join(" ")),e.emitContainerClasses()}},images:{loadImage:function(e,t,i,n,a,s){var r,l=o();function c(){s&&s()}m(e).parent("picture")[0]||e.complete&&a?c():t?((r=new l.Image).onload=c,r.onerror=c,n&&(r.sizes=n),i&&(r.srcset=i),t&&(r.src=t)):c()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var n=e.imagesToLoad[i];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},Q={},R=function(){function t(){for(var e,i,n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];if(1===a.length&&a[0].constructor&&"Object"===Object.prototype.toString.call(a[0]).slice(8,-1)?i=a[0]:(e=a[0],i=a[1]),i||(i={}),i=S({},i),e&&!i.el&&(i.el=e),i.el&&m(i.el).length>1){var r=[];return m(i.el).each(function(e){var n=S({},i,{el:e});r.push(new t(n))}),r}var o=this;o.__swiper__=!0,o.support=M(),o.device=I({userAgent:i.userAgent}),o.browser=O(),o.eventsListeners={},o.eventsAnyListeners=[],void 0===o.modules&&(o.modules={}),Object.keys(o.modules).forEach(function(e){var t=o.modules[e];if(t.params){var n=Object.keys(t.params)[0],a=t.params[n];if("object"!=typeof a||null===a)return;if(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===i[n]&&(i[n]={auto:!0}),!(n in i&&"enabled"in a))return;!0===i[n]&&(i[n]={enabled:!0}),"object"!=typeof i[n]||"enabled"in i[n]||(i[n].enabled=!0),i[n]||(i[n]={enabled:!1})}});var l,c,d=S({},$);return o.useParams(d),o.params=S({},d,Q,i),o.originalParams=S({},o.params),o.passedParams=S({},i),o.params&&o.params.on&&Object.keys(o.params.on).forEach(function(e){o.on(e,o.params.on[e])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),o.$=m,S(o,{enabled:o.params.enabled,el:e,classNames:[],slides:m(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===o.params.direction},isVertical:function(){return"vertical"===o.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEvents:(l=["touchstart","touchmove","touchend","touchcancel"],c=["mousedown","mousemove","mouseup"],o.support.pointerEvents&&(c=["pointerdown","pointermove","pointerup"]),o.touchEventsTouch={start:l[0],move:l[1],end:l[2],cancel:l[3]},o.touchEventsDesktop={start:c[0],move:c[1],end:c[2]},o.support.touch||!o.params.simulateTouch?o.touchEventsTouch:o.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:_(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.useModules(),o.emit("_swiper"),o.params.init&&o.init(),o}var i,n,a=t.prototype;return a.enable=function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))},a.disable=function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))},a.setProgress=function(e,t){var i=this;e=Math.min(Math.max(e,0),1);var n=i.minTranslate(),a=(i.maxTranslate()-n)*e+n;i.translateTo(a,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()},a.emitContainerClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter(function(t){return 0===t.indexOf("swiper-container")||0===t.indexOf(e.params.containerModifierClass)});e.emit("_containerClasses",t.join(" "))}},a.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)}).join(" ")},a.emitSlidesClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.each(function(i){var n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)}),e.emit("_slideClasses",t)}},a.slidesPerViewDynamic=function(){var e=this,t=e.params,i=e.slides,n=e.slidesGrid,a=e.size,s=e.activeIndex,r=1;if(t.centeredSlides){for(var o,l=i[s].swiperSlideSize,c=s+1;c<i.length;c+=1)i[c]&&!o&&(r+=1,(l+=i[c].swiperSlideSize)>a&&(o=!0));for(var d=s-1;d>=0;d-=1)i[d]&&!o&&(r+=1,(l+=i[d].swiperSlideSize)>a&&(o=!0))}else for(var u=s+1;u<i.length;u+=1)n[u]-n[s]<a&&(r+=1);return r},a.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(n(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||n(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function n(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},a.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this,n=i.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(i.$el.removeClass(""+i.params.containerModifierClass+n).addClass(""+i.params.containerModifierClass+e),i.emitContainerClasses(),i.params.direction=e,i.slides.each(function(t){"vertical"===e?t.style.width="":t.style.height=""}),i.emit("changeDirection"),t&&i.update()),i},a.mount=function(e){var t=this;if(t.mounted)return!0;var i=m(e||t.params.el);if(!(e=i[0]))return!1;e.swiper=t;var n=function(){return"."+(t.params.wrapperClass||"").trim().split(" ").join(".")},a=function(){if(e&&e.shadowRoot&&e.shadowRoot.querySelector){var t=m(e.shadowRoot.querySelector(n()));return t.children=function(e){return i.children(e)},t}return i.children(n())}();if(0===a.length&&t.params.createElements){var r=s().createElement("div");a=m(r),r.className=t.params.wrapperClass,i.append(r),i.children("."+t.params.slideClass).each(function(e){a.append(e)})}return S(t,{$el:i,el:e,$wrapperEl:a,wrapperEl:a[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===a.css("display")}),!0},a.init=function(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t},a.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i,n=this,a=n.params,s=n.$el,r=n.$wrapperEl,o=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),t&&(n.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),o&&o.length&&o.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(function(e){n.off(e)}),!1!==e&&(n.$el[0].swiper=null,i=n,Object.keys(i).forEach(function(e){try{i[e]=null}catch(e){}try{delete i[e]}catch(e){}})),n.destroyed=!0),null},t.extendDefaults=function(e){S(Q,e)},t.installModule=function(e){t.prototype.modules||(t.prototype.modules={});var i=e.name||Object.keys(t.prototype.modules).length+"_"+_();t.prototype.modules[i]=e},t.use=function(e){return Array.isArray(e)?(e.forEach(function(e){return t.installModule(e)}),t):(t.installModule(e),t)},i=t,n=[{key:"extendedDefaults",get:function(){return Q}},{key:"defaults",get:function(){return $}}],null&&e(i.prototype,null),n&&e(i,n),t}();Object.keys(B).forEach(function(e){Object.keys(B[e]).forEach(function(t){R.prototype[t]=B[e][t]})}),R.use([L,A]);var F={update:function(e){var t=this,i=t.params,n=i.slidesPerView,a=i.slidesPerGroup,s=i.centeredSlides,r=t.params.virtual,o=r.addSlidesBefore,l=r.addSlidesAfter,c=t.virtual,d=c.from,u=c.to,h=c.slides,p=c.slidesGrid,f=c.renderSlide,m=c.offset;t.updateActiveIndex();var g,v,y,b=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",s?(v=Math.floor(n/2)+a+l,y=Math.floor(n/2)+a+o):(v=n+(a-1)+l,y=a+o);var w=Math.max((b||0)-y,0),_=Math.min((b||0)+v,h.length-1),T=(t.slidesGrid[w]||0)-(t.slidesGrid[0]||0);function x(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(S(t.virtual,{from:w,to:_,offset:T,slidesGrid:t.slidesGrid}),d===w&&u===_&&!e)return t.slidesGrid!==p&&T!==m&&t.slides.css(g,T+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:T,from:w,to:_,slides:function(){for(var e=[],t=w;t<=_;t+=1)e.push(h[t]);return e}()}),void(t.params.virtual.renderExternalUpdate&&x());var C=[],E=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var P=d;P<=u;P+=1)(P<w||P>_)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+P+'"]').remove();for(var k=0;k<h.length;k+=1)k>=w&&k<=_&&(void 0===u||e?E.push(k):(k>u&&E.push(k),k<d&&C.push(k)));E.forEach(function(e){t.$wrapperEl.append(f(h[e],e))}),C.sort(function(e,t){return t-e}).forEach(function(e){t.$wrapperEl.prepend(f(h[e],e))}),t.$wrapperEl.children(".swiper-slide").css(g,T+"px"),x()},renderSlide:function(e,t){var i=this,n=i.params.virtual;if(n.cache&&i.virtual.cache[t])return i.virtual.cache[t];var a=n.renderSlide?m(n.renderSlide.call(i,e,t)):m('<div class="'+i.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return a.attr("data-swiper-slide-index")||a.attr("data-swiper-slide-index",t),n.cache&&(i.virtual.cache[t]=a),a},appendSlide:function(e){var t=this;if("object"==typeof e&&"length"in e)for(var i=0;i<e.length;i+=1)e[i]&&t.virtual.slides.push(e[i]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide:function(e){var t=this,i=t.activeIndex,n=i+1,a=1;if(Array.isArray(e)){for(var s=0;s<e.length;s+=1)e[s]&&t.virtual.slides.unshift(e[s]);n=i+e.length,a=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){var r=t.virtual.cache,o={};Object.keys(r).forEach(function(e){var t=r[e],i=t.attr("data-swiper-slide-index");i&&t.attr("data-swiper-slide-index",parseInt(i,10)+1),o[parseInt(e,10)+a]=t}),t.virtual.cache=o}t.virtual.update(!0),t.slideTo(n,0)},removeSlide:function(e){var t=this;if(null!=e){var i=t.activeIndex;if(Array.isArray(e))for(var n=e.length-1;n>=0;n-=1)t.virtual.slides.splice(e[n],1),t.params.virtual.cache&&delete t.virtual.cache[e[n]],e[n]<i&&(i-=1),i=Math.max(i,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<i&&(i-=1),i=Math.max(i,0);t.virtual.update(!0),t.slideTo(i,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},H={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}},create:function(){E(this,{virtual:t({},F,{slides:this.params.virtual.slides,cache:{}})})},on:{beforeInit:function(e){if(e.params.virtual.enabled){e.classNames.push(e.params.containerModifierClass+"virtual");var t={watchSlidesProgress:!0};S(e.params,t),S(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(e){e.params.virtual.enabled&&e.virtual.update()}}},W={handle:function(e){var t=this;if(t.enabled){var i=o(),n=s(),a=t.rtlTranslate,r=e;r.originalEvent&&(r=r.originalEvent);var l=r.keyCode||r.charCode,c=t.params.keyboard.pageUpDown,d=c&&33===l,u=c&&34===l,h=37===l,p=39===l,f=38===l,m=40===l;if(!t.allowSlideNext&&(t.isHorizontal()&&p||t.isVertical()&&m||u))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&h||t.isVertical()&&f||d))return!1;if(!(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey||n.activeElement&&n.activeElement.nodeName&&("input"===n.activeElement.nodeName.toLowerCase()||"textarea"===n.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(d||u||h||p||f||m)){var g=!1;if(t.$el.parents("."+t.params.slideClass).length>0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var v=t.$el,y=v[0].clientWidth,b=v[0].clientHeight,w=i.innerWidth,_=i.innerHeight,T=t.$el.offset();a&&(T.left-=t.$el[0].scrollLeft);for(var x=[[T.left,T.top],[T.left+y,T.top],[T.left,T.top+b],[T.left+y,T.top+b]],C=0;C<x.length;C+=1){var S=x[C];if(S[0]>=0&&S[0]<=w&&S[1]>=0&&S[1]<=_){if(0===S[0]&&0===S[1])continue;g=!0}}if(!g)return}t.isHorizontal()?((d||u||h||p)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),((u||p)&&!a||(d||h)&&a)&&t.slideNext(),((d||h)&&!a||(u||p)&&a)&&t.slidePrev()):((d||u||f||m)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),(u||m)&&t.slideNext(),(d||f)&&t.slidePrev()),t.emit("keyPress",l)}}},enable:function(){var e=this,t=s();e.keyboard.enabled||(m(t).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable:function(){var e=this,t=s();e.keyboard.enabled&&(m(t).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}},q={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){E(this,{keyboard:t({enabled:!1},W)})},on:{init:function(e){e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(e){e.keyboard.enabled&&e.keyboard.disable()}}},V={lastScrollTime:_(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return o().navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e=s(),t="onwheel",i=t in e;if(!i){var n=e.createElement("div");n.setAttribute(t,"return;"),i="function"==typeof n.onwheel}return!i&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(i=e.implementation.hasFeature("Events.wheel","3.0")),i}()?"wheel":"mousewheel"},normalize:function(e){var t=0,i=0,n=0,a=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,a=10*i,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=a,a=0),(n||a)&&e.deltaMode&&(1===e.deltaMode?(n*=40,a*=40):(n*=800,a*=800)),n&&!t&&(t=n<1?-1:1),a&&!i&&(i=a<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:a}},handleMouseEnter:function(){this.enabled&&(this.mouseEntered=!0)},handleMouseLeave:function(){this.enabled&&(this.mouseEntered=!1)},handle:function(e){var t=e,i=this;if(i.enabled){var n=i.params.mousewheel;i.params.cssMode&&t.preventDefault();var a=i.$el;if("container"!==i.params.mousewheel.eventsTarget&&(a=m(i.params.mousewheel.eventsTarget)),!i.mouseEntered&&!a[0].contains(t.target)&&!n.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var s=0,r=i.rtlTranslate?-1:1,o=V.normalize(t);if(n.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;s=-o.pixelX*r}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;s=-o.pixelY}else s=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*r:-o.pixelY;if(0===s)return!0;n.invert&&(s=-s);var l=i.getTranslate()+s*n.sensitivity;if(l>=i.minTranslate()&&(l=i.minTranslate()),l<=i.maxTranslate()&&(l=i.maxTranslate()),(!!i.params.loop||!(l===i.minTranslate()||l===i.maxTranslate()))&&i.params.nested&&t.stopPropagation(),i.params.freeMode){var c={time:_(),delta:Math.abs(s),direction:Math.sign(s)},d=i.mousewheel.lastEventBeforeSnap,u=d&&c.time<d.time+500&&c.delta<=d.delta&&c.direction===d.direction;if(!u){i.mousewheel.lastEventBeforeSnap=void 0,i.params.loop&&i.loopFix();var h=i.getTranslate()+s*n.sensitivity,p=i.isBeginning,f=i.isEnd;if(h>=i.minTranslate()&&(h=i.minTranslate()),h<=i.maxTranslate()&&(h=i.maxTranslate()),i.setTransition(0),i.setTranslate(h),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!p&&i.isBeginning||!f&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky){clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0;var g=i.mousewheel.recentWheelEvents;g.length>=15&&g.shift();var v=g.length?g[g.length-1]:void 0,y=g[0];if(g.push(c),v&&(c.delta>v.delta||c.direction!==v.direction))g.splice(0);else if(g.length>=15&&c.time-y.time<500&&y.delta-c.delta>=1&&c.delta<=6){var b=s>0?.8:.2;i.mousewheel.lastEventBeforeSnap=c,g.splice(0),i.mousewheel.timeout=w(function(){i.slideToClosest(i.params.speed,!0,void 0,b)},0)}i.mousewheel.timeout||(i.mousewheel.timeout=w(function(){i.mousewheel.lastEventBeforeSnap=c,g.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)},500))}if(u||i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),h===i.minTranslate()||h===i.maxTranslate())return!0}}else{var T={time:_(),delta:Math.abs(s),direction:Math.sign(s),raw:e},x=i.mousewheel.recentWheelEvents;x.length>=2&&x.shift();var C=x.length?x[x.length-1]:void 0;if(x.push(T),C?(T.direction!==C.direction||T.delta>C.delta||T.time>C.time+150)&&i.mousewheel.animateSlider(T):i.mousewheel.animateSlider(T),i.mousewheel.releaseScroll(T))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1}},animateSlider:function(e){var t=this,i=o();return!(this.params.mousewheel.thresholdDelta&&e.delta<this.params.mousewheel.thresholdDelta||this.params.mousewheel.thresholdTime&&_()-t.mousewheel.lastScrollTime<this.params.mousewheel.thresholdTime||!(e.delta>=6&&_()-t.mousewheel.lastScrollTime<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new i.Date).getTime(),1))},releaseScroll:function(e){var t=this,i=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges)return!0;return!1},enable:function(){var e=this,t=V.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;var i=e.$el;return"container"!==e.params.mousewheel.eventsTarget&&(i=m(e.params.mousewheel.eventsTarget)),i.on("mouseenter",e.mousewheel.handleMouseEnter),i.on("mouseleave",e.mousewheel.handleMouseLeave),i.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this,t=V.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;var i=e.$el;return"container"!==e.params.mousewheel.eventsTarget&&(i=m(e.params.mousewheel.eventsTarget)),i.off(t,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},U={toggleEl:function(e,t){e[t?"addClass":"removeClass"](this.params.navigation.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=t)},update:function(){var e=this,t=e.params.navigation,i=e.navigation.toggleEl;if(!e.params.loop){var n=e.navigation,a=n.$nextEl,s=n.$prevEl;s&&s.length>0&&(e.isBeginning?i(s,!0):i(s,!1),e.params.watchOverflow&&e.enabled&&s[e.isLocked?"addClass":"removeClass"](t.lockClass)),a&&a.length>0&&(e.isEnd?i(a,!0):i(a,!1),e.params.watchOverflow&&e.enabled&&a[e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,i=this,n=i.params.navigation;i.params.navigation=k(i.$el,i.params.navigation,i.params.createElements,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),(n.nextEl||n.prevEl)&&(n.nextEl&&(e=m(n.nextEl),i.params.uniqueNavElements&&"string"==typeof n.nextEl&&e.length>1&&1===i.$el.find(n.nextEl).length&&(e=i.$el.find(n.nextEl))),n.prevEl&&(t=m(n.prevEl),i.params.uniqueNavElements&&"string"==typeof n.prevEl&&t.length>1&&1===i.$el.find(n.prevEl).length&&(t=i.$el.find(n.prevEl))),e&&e.length>0&&e.on("click",i.navigation.onNextClick),t&&t.length>0&&t.on("click",i.navigation.onPrevClick),S(i.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}),i.enabled||(e&&e.addClass(n.lockClass),t&&t.addClass(n.lockClass)))},destroy:function(){var e=this,t=e.navigation,i=t.$nextEl,n=t.$prevEl;i&&i.length&&(i.off("click",e.navigation.onNextClick),i.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",e.navigation.onPrevClick),n.removeClass(e.params.navigation.disabledClass))}},G={update:function(){var e=this,t=e.rtl,i=e.params.pagination;if(i.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n,a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el,r=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((n=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>a-1-2*e.loopedSlides&&(n-=a-2*e.loopedSlides),n>r-1&&(n-=r),n<0&&"bullets"!==e.params.paginationType&&(n=r+n)):n=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var o,l,c,d=e.pagination.bullets;if(i.dynamicBullets&&(e.pagination.bulletSize=d.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),s.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=n-e.previousIndex,e.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=n-e.pagination.dynamicBulletIndex,c=((l=o+(Math.min(d.length,i.dynamicMainBullets)-1))+o)/2),d.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev "+i.bulletActiveClass+"-main"),s.length>1)d.each(function(e){var t=m(e),a=t.index();a===n&&t.addClass(i.bulletActiveClass),i.dynamicBullets&&(a>=o&&a<=l&&t.addClass(i.bulletActiveClass+"-main"),a===o&&t.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),a===l&&t.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))});else{var u=d.eq(n),h=u.index();if(u.addClass(i.bulletActiveClass),i.dynamicBullets){for(var p=d.eq(o),f=d.eq(l),g=o;g<=l;g+=1)d.eq(g).addClass(i.bulletActiveClass+"-main");if(e.params.loop)if(h>=d.length-i.dynamicMainBullets){for(var v=i.dynamicMainBullets;v>=0;v-=1)d.eq(d.length-v).addClass(i.bulletActiveClass+"-main");d.eq(d.length-i.dynamicMainBullets-1).addClass(i.bulletActiveClass+"-prev")}else p.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),f.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next");else p.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),f.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}}if(i.dynamicBullets){var y=Math.min(d.length,i.dynamicMainBullets+4),b=(e.pagination.bulletSize*y-e.pagination.bulletSize)/2-c*e.pagination.bulletSize,w=t?"right":"left";d.css(e.isHorizontal()?w:"top",b+"px")}}if("fraction"===i.type&&(s.find(P(i.currentClass)).text(i.formatFractionCurrent(n+1)),s.find(P(i.totalClass)).text(i.formatFractionTotal(r))),"progressbar"===i.type){var _;_=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var T=(n+1)/r,x=1,C=1;"horizontal"===_?x=T:C=T,s.find(P(i.progressbarFillClass)).transform("translate3d(0,0,0) scaleX("+x+") scaleY("+C+")").transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(s.html(i.renderCustom(e,n+1,r)),e.emit("paginationRender",s[0])):e.emit("paginationUpdate",s[0]),e.params.watchOverflow&&e.enabled&&s[e.isLocked?"addClass":"removeClass"](i.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,n=e.pagination.$el,a="";if("bullets"===t.type){var s=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&!e.params.loop&&s>i&&(s=i);for(var r=0;r<s;r+=1)t.renderBullet?a+=t.renderBullet.call(e,r,t.bulletClass):a+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";n.html(a),e.pagination.bullets=n.find(P(t.bulletClass))}"fraction"===t.type&&(a=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',n.html(a)),"progressbar"===t.type&&(a=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',n.html(a)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this;e.params.pagination=k(e.$el,e.params.pagination,e.params.createElements,{el:"swiper-pagination"});var t=e.params.pagination;if(t.el){var i=m(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click",P(t.bulletClass),function(t){t.preventDefault();var i=m(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)}),S(e.pagination,{$el:i,el:i[0]}),e.enabled||i.addClass(t.lockClass))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.pagination.$el;i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click",P(t.bulletClass))}}},X={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,i=e.rtlTranslate,n=e.progress,a=t.dragSize,s=t.trackSize,r=t.$dragEl,o=t.$el,l=e.params.scrollbar,c=a,d=(s-a)*n;i?(d=-d)>0?(c=a-d,d=0):-d+a>s&&(c=s+d):d<0?(c=a+d,d=0):d+a>s&&(c=s-d),e.isHorizontal()?(r.transform("translate3d("+d+"px, 0, 0)"),r[0].style.width=c+"px"):(r.transform("translate3d(0px, "+d+"px, 0)"),r[0].style.height=c+"px"),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout(function(){o[0].style.opacity=0,o.transition(400)},1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,i=t.$dragEl,n=t.$el;i[0].style.width="",i[0].style.height="";var a,s=e.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,r=e.size/e.virtualSize,o=r*(s/e.size);a="auto"===e.params.scrollbar.dragSize?s*r:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?i[0].style.width=a+"px":i[0].style.height=a+"px",n[0].style.display=r>=1?"none":"",e.params.scrollbar.hide&&(n[0].style.opacity=0),S(t,{trackSize:s,divider:r,moveDivider:o,dragSize:a}),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t,i=this,n=i.scrollbar,a=i.rtlTranslate,s=n.$el,r=n.dragSize,o=n.trackSize,l=n.dragStartPos;t=(n.getPointerPosition(e)-s.offset()[i.isHorizontal()?"left":"top"]-(null!==l?l:r/2))/(o-r),t=Math.max(Math.min(t,1),0),a&&(t=1-t);var c=i.minTranslate()+(i.maxTranslate()-i.minTranslate())*t;i.updateProgress(c),i.setTranslate(c),i.updateActiveIndex(),i.updateSlidesClasses()},onDragStart:function(e){var t=this,i=t.params.scrollbar,n=t.scrollbar,a=t.$wrapperEl,s=n.$el,r=n.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===r[0]||e.target===r?n.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.transition(100),r.transition(100),n.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),s.transition(0),i.hide&&s.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,i=t.scrollbar,n=t.$wrapperEl,a=i.$el,s=i.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,i.setDragPosition(e),n.transition(0),a.transition(0),s.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,i=t.params.scrollbar,n=t.scrollbar,a=t.$wrapperEl,s=n.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),a.transition("")),i.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=w(function(){s.css("opacity",0),s.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),i.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=s(),i=e.scrollbar,n=e.touchEventsTouch,a=e.touchEventsDesktop,r=e.params,o=e.support,l=i.$el[0],c=!(!o.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},d=!(!o.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};l&&(o.touch?(l.addEventListener(n.start,e.scrollbar.onDragStart,c),l.addEventListener(n.move,e.scrollbar.onDragMove,c),l.addEventListener(n.end,e.scrollbar.onDragEnd,d)):(l.addEventListener(a.start,e.scrollbar.onDragStart,c),t.addEventListener(a.move,e.scrollbar.onDragMove,c),t.addEventListener(a.end,e.scrollbar.onDragEnd,d)))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=s(),i=e.scrollbar,n=e.touchEventsTouch,a=e.touchEventsDesktop,r=e.params,o=e.support,l=i.$el[0],c=!(!o.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},d=!(!o.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};l&&(o.touch?(l.removeEventListener(n.start,e.scrollbar.onDragStart,c),l.removeEventListener(n.move,e.scrollbar.onDragMove,c),l.removeEventListener(n.end,e.scrollbar.onDragEnd,d)):(l.removeEventListener(a.start,e.scrollbar.onDragStart,c),t.removeEventListener(a.move,e.scrollbar.onDragMove,c),t.removeEventListener(a.end,e.scrollbar.onDragEnd,d)))}},init:function(){var e=this,t=e.scrollbar,i=e.$el;e.params.scrollbar=k(i,e.params.scrollbar,e.params.createElements,{el:"swiper-scrollbar"});var n=e.params.scrollbar;if(n.el){var a=m(n.el);e.params.uniqueNavElements&&"string"==typeof n.el&&a.length>1&&1===i.find(n.el).length&&(a=i.find(n.el));var s=a.find("."+e.params.scrollbar.dragClass);0===s.length&&(s=m('<div class="'+e.params.scrollbar.dragClass+'"></div>'),a.append(s)),S(t,{$el:a,el:a[0],$dragEl:s,dragEl:s[0]}),n.draggable&&t.enableDraggable(),a&&a[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}},destroy:function(){this.scrollbar.disableDraggable()}},K={setTransform:function(e,t){var i=this.rtl,n=m(e),a=i?-1:1,s=n.attr("data-swiper-parallax")||"0",r=n.attr("data-swiper-parallax-x"),o=n.attr("data-swiper-parallax-y"),l=n.attr("data-swiper-parallax-scale"),c=n.attr("data-swiper-parallax-opacity");if(r||o?(r=r||"0",o=o||"0"):this.isHorizontal()?(r=s,o="0"):(o=s,r="0"),r=r.indexOf("%")>=0?parseInt(r,10)*t*a+"%":r*t*a+"px",o=o.indexOf("%")>=0?parseInt(o,10)*t+"%":o*t+"px",null!=c){var d=c-(c-1)*(1-Math.abs(t));n[0].style.opacity=d}if(null==l)n.transform("translate3d("+r+", "+o+", 0px)");else{var u=l-(l-1)*(1-Math.abs(t));n.transform("translate3d("+r+", "+o+", 0px) scale("+u+")")}},setTranslate:function(){var e=this,t=e.$el,i=e.slides,n=e.progress,a=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t){e.parallax.setTransform(t,n)}),i.each(function(t,i){var s=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(s+=Math.ceil(i/2)-n*(a.length-1)),s=Math.min(Math.max(s,-1),1),m(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t){e.parallax.setTransform(t,s)})})},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t){var i=m(t),n=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),i.transition(n)})}},Z={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,a=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(n-t,2)+Math.pow(a-i,2))},onGestureStart:function(e){var t=this,i=t.support,n=t.params.zoom,a=t.zoom,s=a.gesture;if(a.fakeGestureTouched=!1,a.fakeGestureMoved=!1,!i.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;a.fakeGestureTouched=!0,s.scaleStart=Z.getDistanceBetweenTouches(e)}s.$slideEl&&s.$slideEl.length||(s.$slideEl=m(e.target).closest("."+t.params.slideClass),0===s.$slideEl.length&&(s.$slideEl=t.slides.eq(t.activeIndex)),s.$imageEl=s.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),s.$imageWrapEl=s.$imageEl.parent("."+n.containerClass),s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==s.$imageWrapEl.length)?(s.$imageEl&&s.$imageEl.transition(0),t.zoom.isScaling=!0):s.$imageEl=void 0},onGestureChange:function(e){var t=this,i=t.support,n=t.params.zoom,a=t.zoom,s=a.gesture;if(!i.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;a.fakeGestureMoved=!0,s.scaleMove=Z.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length?(i.gestures?a.scale=e.scale*a.currentScale:a.scale=s.scaleMove/s.scaleStart*a.currentScale,a.scale>s.maxRatio&&(a.scale=s.maxRatio-1+Math.pow(a.scale-s.maxRatio+1,.5)),a.scale<n.minRatio&&(a.scale=n.minRatio+1-Math.pow(n.minRatio-a.scale+1,.5)),s.$imageEl.transform("translate3d(0,0,0) scale("+a.scale+")")):"gesturechange"===e.type&&a.onGestureStart(e)},onGestureEnd:function(e){var t=this,i=t.device,n=t.support,a=t.params.zoom,s=t.zoom,r=s.gesture;if(!n.gestures){if(!s.fakeGestureTouched||!s.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!i.android)return;s.fakeGestureTouched=!1,s.fakeGestureMoved=!1}r.$imageEl&&0!==r.$imageEl.length&&(s.scale=Math.max(Math.min(s.scale,r.maxRatio),a.minRatio),r.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale("+s.scale+")"),s.currentScale=s.scale,s.isScaling=!1,1===s.scale&&(r.$slideEl=void 0))},onTouchStart:function(e){var t=this.device,i=this.zoom,n=i.gesture,a=i.image;n.$imageEl&&0!==n.$imageEl.length&&(a.isTouched||(t.android&&e.cancelable&&e.preventDefault(),a.isTouched=!0,a.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,a.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,i=t.zoom,n=i.gesture,a=i.image,s=i.velocity;if(n.$imageEl&&0!==n.$imageEl.length&&(t.allowClick=!1,a.isTouched&&n.$slideEl)){a.isMoved||(a.width=n.$imageEl[0].offsetWidth,a.height=n.$imageEl[0].offsetHeight,a.startX=T(n.$imageWrapEl[0],"x")||0,a.startY=T(n.$imageWrapEl[0],"y")||0,n.slideWidth=n.$slideEl[0].offsetWidth,n.slideHeight=n.$slideEl[0].offsetHeight,n.$imageWrapEl.transition(0));var r=a.width*i.scale,o=a.height*i.scale;if(!(r<n.slideWidth&&o<n.slideHeight)){if(a.minX=Math.min(n.slideWidth/2-r/2,0),a.maxX=-a.minX,a.minY=Math.min(n.slideHeight/2-o/2,0),a.maxY=-a.minY,a.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,a.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!a.isMoved&&!i.isScaling){if(t.isHorizontal()&&(Math.floor(a.minX)===Math.floor(a.startX)&&a.touchesCurrent.x<a.touchesStart.x||Math.floor(a.maxX)===Math.floor(a.startX)&&a.touchesCurrent.x>a.touchesStart.x))return void(a.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(a.minY)===Math.floor(a.startY)&&a.touchesCurrent.y<a.touchesStart.y||Math.floor(a.maxY)===Math.floor(a.startY)&&a.touchesCurrent.y>a.touchesStart.y))return void(a.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),a.isMoved=!0,a.currentX=a.touchesCurrent.x-a.touchesStart.x+a.startX,a.currentY=a.touchesCurrent.y-a.touchesStart.y+a.startY,a.currentX<a.minX&&(a.currentX=a.minX+1-Math.pow(a.minX-a.currentX+1,.8)),a.currentX>a.maxX&&(a.currentX=a.maxX-1+Math.pow(a.currentX-a.maxX+1,.8)),a.currentY<a.minY&&(a.currentY=a.minY+1-Math.pow(a.minY-a.currentY+1,.8)),a.currentY>a.maxY&&(a.currentY=a.maxY-1+Math.pow(a.currentY-a.maxY+1,.8)),s.prevPositionX||(s.prevPositionX=a.touchesCurrent.x),s.prevPositionY||(s.prevPositionY=a.touchesCurrent.y),s.prevTime||(s.prevTime=Date.now()),s.x=(a.touchesCurrent.x-s.prevPositionX)/(Date.now()-s.prevTime)/2,s.y=(a.touchesCurrent.y-s.prevPositionY)/(Date.now()-s.prevTime)/2,Math.abs(a.touchesCurrent.x-s.prevPositionX)<2&&(s.x=0),Math.abs(a.touchesCurrent.y-s.prevPositionY)<2&&(s.y=0),s.prevPositionX=a.touchesCurrent.x,s.prevPositionY=a.touchesCurrent.y,s.prevTime=Date.now(),n.$imageWrapEl.transform("translate3d("+a.currentX+"px, "+a.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,n=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var a=300,s=300,r=n.x*a,o=i.currentX+r,l=n.y*s,c=i.currentY+l;0!==n.x&&(a=Math.abs((o-i.currentX)/n.x)),0!==n.y&&(s=Math.abs((c-i.currentY)/n.y));var d=Math.max(a,s);i.currentX=o,i.currentY=c;var u=i.width*e.scale,h=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-u/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-h/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(d).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,i=t.gesture;i.$slideEl&&e.previousIndex!==e.activeIndex&&(i.$imageEl&&i.$imageEl.transform("translate3d(0,0,0) scale(1)"),i.$imageWrapEl&&i.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,i.$slideEl=void 0,i.$imageEl=void 0,i.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,n,a,s,r,l,c,d,u,h,p,f,g,v,y,b=this,w=o(),_=b.zoom,T=b.params.zoom,x=_.gesture,C=_.image;x.$slideEl||(e&&e.target&&(x.$slideEl=m(e.target).closest("."+b.params.slideClass)),x.$slideEl||(b.params.virtual&&b.params.virtual.enabled&&b.virtual?x.$slideEl=b.$wrapperEl.children("."+b.params.slideActiveClass):x.$slideEl=b.slides.eq(b.activeIndex)),x.$imageEl=x.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),x.$imageWrapEl=x.$imageEl.parent("."+T.containerClass)),x.$imageEl&&0!==x.$imageEl.length&&x.$imageWrapEl&&0!==x.$imageWrapEl.length&&(x.$slideEl.addClass(""+T.zoomedSlideClass),void 0===C.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=C.touchesStart.x,i=C.touchesStart.y),_.scale=x.$imageWrapEl.attr("data-swiper-zoom")||T.maxRatio,_.currentScale=x.$imageWrapEl.attr("data-swiper-zoom")||T.maxRatio,e?(v=x.$slideEl[0].offsetWidth,y=x.$slideEl[0].offsetHeight,n=x.$slideEl.offset().left+w.scrollX+v/2-t,a=x.$slideEl.offset().top+w.scrollY+y/2-i,l=x.$imageEl[0].offsetWidth,c=x.$imageEl[0].offsetHeight,d=l*_.scale,u=c*_.scale,f=-(h=Math.min(v/2-d/2,0)),g=-(p=Math.min(y/2-u/2,0)),(s=n*_.scale)<h&&(s=h),s>f&&(s=f),(r=a*_.scale)<p&&(r=p),r>g&&(r=g)):(s=0,r=0),x.$imageWrapEl.transition(300).transform("translate3d("+s+"px, "+r+"px,0)"),x.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+_.scale+")"))},out:function(){var e=this,t=e.zoom,i=e.params.zoom,n=t.gesture;n.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?n.$slideEl=e.$wrapperEl.children("."+e.params.slideActiveClass):n.$slideEl=e.slides.eq(e.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),n.$imageWrapEl=n.$imageEl.parent("."+i.containerClass)),n.$imageEl&&0!==n.$imageEl.length&&n.$imageWrapEl&&0!==n.$imageWrapEl.length&&(t.scale=1,t.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+i.zoomedSlideClass),n.$slideEl=void 0)},toggleGestures:function(e){var t=this,i=t.zoom,n=i.slideSelector,a=i.passiveListener;t.$wrapperEl[e]("gesturestart",n,i.onGestureStart,a),t.$wrapperEl[e]("gesturechange",n,i.onGestureChange,a),t.$wrapperEl[e]("gestureend",n,i.onGestureEnd,a)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){var e=this,t=e.support,i=e.zoom;if(!i.enabled){i.enabled=!0;var n=!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},a=!t.passiveListener||{passive:!1,capture:!0},s="."+e.params.slideClass;e.zoom.passiveListener=n,e.zoom.slideSelector=s,t.gestures?(e.$wrapperEl.on(e.touchEvents.start,e.zoom.enableGestures,n),e.$wrapperEl.on(e.touchEvents.end,e.zoom.disableGestures,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,s,i.onGestureStart,n),e.$wrapperEl.on(e.touchEvents.move,s,i.onGestureChange,a),e.$wrapperEl.on(e.touchEvents.end,s,i.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,s,i.onGestureEnd,n)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,i.onTouchMove,a)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){var i=e.support;e.zoom.enabled=!1;var n=!("touchstart"!==e.touchEvents.start||!i.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},a=!i.passiveListener||{passive:!1,capture:!0},s="."+e.params.slideClass;i.gestures?(e.$wrapperEl.off(e.touchEvents.start,e.zoom.enableGestures,n),e.$wrapperEl.off(e.touchEvents.end,e.zoom.disableGestures,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,s,t.onGestureStart,n),e.$wrapperEl.off(e.touchEvents.move,s,t.onGestureChange,a),e.$wrapperEl.off(e.touchEvents.end,s,t.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,s,t.onGestureEnd,n)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,a)}}},J={loadInSlide:function(e,t){void 0===t&&(t=!0);var i=this,n=i.params.lazy;if(void 0!==e&&0!==i.slides.length){var a=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):i.slides.eq(e),s=a.find("."+n.elementClass+":not(."+n.loadedClass+"):not(."+n.loadingClass+")");!a.hasClass(n.elementClass)||a.hasClass(n.loadedClass)||a.hasClass(n.loadingClass)||s.push(a[0]),0!==s.length&&s.each(function(e){var s=m(e);s.addClass(n.loadingClass);var r=s.attr("data-background"),o=s.attr("data-src"),l=s.attr("data-srcset"),c=s.attr("data-sizes"),d=s.parent("picture");i.loadImage(s[0],o||r,l,c,!1,function(){if(null!=i&&i&&(!i||i.params)&&!i.destroyed){if(r?(s.css("background-image",'url("'+r+'")'),s.removeAttr("data-background")):(l&&(s.attr("srcset",l),s.removeAttr("data-srcset")),c&&(s.attr("sizes",c),s.removeAttr("data-sizes")),d.length&&d.children("source").each(function(e){var t=m(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))}),o&&(s.attr("src",o),s.removeAttr("data-src"))),s.addClass(n.loadedClass).removeClass(n.loadingClass),a.find("."+n.preloaderClass).remove(),i.params.loop&&t){var e=a.attr("data-swiper-slide-index");if(a.hasClass(i.params.slideDuplicateClass)){var u=i.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(u.index(),!1)}else{var h=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');i.lazy.loadInSlide(h.index(),!1)}}i.emit("lazyImageReady",a[0],s[0]),i.params.autoHeight&&i.updateAutoHeight()}}),i.emit("lazyImageLoad",a[0],s[0])})}},load:function(){var e=this,t=e.$wrapperEl,i=e.params,n=e.slides,a=e.activeIndex,s=e.virtual&&i.virtual.enabled,r=i.lazy,o=i.slidesPerView;function l(e){if(s){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(n[e])return!0;return!1}function c(e){return s?m(e).attr("data-swiper-slide-index"):m(e).index()}if("auto"===o&&(o=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each(function(t){var i=s?m(t).attr("data-swiper-slide-index"):m(t).index();e.lazy.loadInSlide(i)});else if(o>1)for(var d=a;d<a+o;d+=1)l(d)&&e.lazy.loadInSlide(d);else e.lazy.loadInSlide(a);if(r.loadPrevNext)if(o>1||r.loadPrevNextAmount&&r.loadPrevNextAmount>1){for(var u=r.loadPrevNextAmount,h=o,p=Math.min(a+h+Math.max(u,h),n.length),f=Math.max(a-Math.max(h,u),0),g=a+o;g<p;g+=1)l(g)&&e.lazy.loadInSlide(g);for(var v=f;v<a;v+=1)l(v)&&e.lazy.loadInSlide(v)}else{var y=t.children("."+i.slideNextClass);y.length>0&&e.lazy.loadInSlide(c(y));var b=t.children("."+i.slidePrevClass);b.length>0&&e.lazy.loadInSlide(c(b))}},checkInViewOnLoad:function(){var e=o(),t=this;if(t&&!t.destroyed){var i=t.params.lazy.scrollingElement?m(t.params.lazy.scrollingElement):m(e),n=i[0]===e,a=n?e.innerWidth:i[0].offsetWidth,s=n?e.innerHeight:i[0].offsetHeight,r=t.$el.offset(),l=!1;t.rtlTranslate&&(r.left-=t.$el[0].scrollLeft);for(var c=[[r.left,r.top],[r.left+t.width,r.top],[r.left,r.top+t.height],[r.left+t.width,r.top+t.height]],d=0;d<c.length;d+=1){var u=c[d];if(u[0]>=0&&u[0]<=a&&u[1]>=0&&u[1]<=s){if(0===u[0]&&0===u[1])continue;l=!0}}var h=!("touchstart"!==t.touchEvents.start||!t.support.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1};l?(t.lazy.load(),i.off("scroll",t.lazy.checkInViewOnLoad,h)):t.lazy.scrollHandlerAttached||(t.lazy.scrollHandlerAttached=!0,i.on("scroll",t.lazy.checkInViewOnLoad,h))}}},ee={LinearSpline:function(e,t){var i,n,a,s,r;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(r=function(e,t){for(n=-1,i=e.length;i-n>1;)e[a=i+n>>1]<=t?n=a:i=a;return i}(this.x,e),s=r-1,(e-this.x[s])*(this.y[r]-this.y[s])/(this.x[r]-this.x[s])+this.y[s]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new ee.LinearSpline(t.slidesGrid,e.slidesGrid):new ee.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,n,a=this,s=a.controller.control,r=a.constructor;function o(e){var t=a.rtlTranslate?-a.translate:a.translate;"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(e),n=-a.controller.spline.interpolate(-t)),n&&"container"!==a.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(a.maxTranslate()-a.minTranslate()),n=(t-a.minTranslate())*i+e.minTranslate()),a.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,a),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(s))for(var l=0;l<s.length;l+=1)s[l]!==t&&s[l]instanceof r&&o(s[l]);else s instanceof r&&t!==s&&o(s)},setTransition:function(e,t){var i,n=this,a=n.constructor,s=n.controller.control;function r(t){t.setTransition(e,n),0!==e&&(t.transitionStart(),t.params.autoHeight&&w(function(){t.updateAutoHeight()}),t.$wrapperEl.transitionEnd(function(){s&&(t.params.loop&&"slide"===n.params.controller.by&&t.loopFix(),t.transitionEnd())}))}if(Array.isArray(s))for(i=0;i<s.length;i+=1)s[i]!==t&&s[i]instanceof a&&r(s[i]);else s instanceof a&&t!==s&&r(s)}},te={getRandomNumber:function(e){return void 0===e&&(e=16),"x".repeat(e).replace(/x/g,function(){return Math.round(16*Math.random()).toString(16)})},makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElRoleDescription:function(e,t){return e.attr("aria-roledescription",t),e},addElControls:function(e,t){return e.attr("aria-controls",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},addElId:function(e,t){return e.attr("id",t),e},addElLive:function(e,t){return e.attr("aria-live",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterOrSpaceKey:function(e){if(13===e.keyCode||32===e.keyCode){var t=this,i=t.params.a11y,n=m(e.target);t.navigation&&t.navigation.$nextEl&&n.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(i.lastSlideMessage):t.a11y.notify(i.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&n.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(i.firstSlideMessage):t.a11y.notify(i.prevSlideMessage)),t.pagination&&n.is(P(t.params.pagination.bulletClass))&&n[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop&&e.navigation){var t=e.navigation,i=t.$nextEl,n=t.$prevEl;n&&n.length>0&&(e.isBeginning?(e.a11y.disableEl(n),e.a11y.makeElNotFocusable(n)):(e.a11y.enableEl(n),e.a11y.makeElFocusable(n))),i&&i.length>0&&(e.isEnd?(e.a11y.disab