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,s=Math.sin,a=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-a(e*r/2)},easeOutSine:function(e){return s(e*r/2)},easeInOutSine:function(e){return-(a(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)*s((10*e-10.75)*c)},easeOutElastic:function(e){return 0===e?0:1===e?1:i(2,-10*e)*s((10*e-.75)*c)+1},easeInOutElastic:function(e){return 0===e?0:1===e?1:e<.5?-i(2,20*e-10)*s((20*e-11.125)*d)/2:i(2,-20*e+10)*s((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="transitionend",t=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},i=e=>{const i=t(e);return i&&document.querySelector(i)?i:null},n=e=>{const i=t(e);return i?document.querySelector(i):null},s=t=>{t.dispatchEvent(new Event(e))},a=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),r=e=>a(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,o=(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}".`)})},l=e=>!(!a(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),c=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),d=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?d(e.parentNode):null},u=()=>{},p=e=>{e.offsetHeight},h=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},f=[],m=()=>"rtl"===document.documentElement.dir,g=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?(f.length||document.addEventListener("DOMContentLoaded",()=>{f.forEach(e=>e())}),f.push(t)):t()},v=e=>{"function"==typeof e&&e()},y=(t,i,n=!0)=>{if(!n)return void v(t);const a=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const n=Number.parseFloat(t),s=Number.parseFloat(i);return n||s?(t=t.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(i))):0})(i)+5;let r=!1;const o=({target:n})=>{n===i&&(r=!0,i.removeEventListener(e,o),v(t))};i.addEventListener(e,o),setTimeout(()=>{r||s(i)},a)},b=(e,t,i,n)=>{let s=e.indexOf(t);if(-1===s)return e[!i&&n?e.length-1:0];const a=e.length;return s+=i?1:-1,n&&(s=(s+a)%a),e[Math.max(0,Math.min(s,a-1))]},w=/[^.]*(?=\..*)\.|.*/,_=/\..*/,T=/::\d+$/,x={};let C=1;const S={mouseenter:"mouseover",mouseleave:"mouseout"},P=/^(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 k(e,t){return t&&`${t}::${C++}`||e.uidEvent||C++}function M(e){const t=k(e);return e.uidEvent=t,x[t]=x[t]||{},x[t]}function I(e,t,i=null){const n=Object.keys(e);for(let s=0,a=n.length;s(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[a,r,o]=O(t,i,n),l=M(e),c=l[o]||(l[o]={}),d=I(c,r,a?i:null);if(d)return void(d.oneOff=d.oneOff&&s);const u=k(r,t.replace(w,"")),p=a?function(e,t,i){return function n(s){const a=e.querySelectorAll(t);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(let o=a.length;o--;)if(a[o]===r)return s.delegateTarget=r,n.oneOff&&$.off(e,s.type,t,i),i.apply(r,[s]);return null}}(e,i,n):function(e,t){return function i(n){return n.delegateTarget=e,i.oneOff&&$.off(e,n.type,t),t.apply(e,[n])}}(e,i);p.delegationSelector=a?i:null,p.originalHandler=r,p.oneOff=s,p.uidEvent=u,c[u]=p,e.addEventListener(o,p,a)}function A(e,t,i,n,s){const a=I(t[i],n,s);a&&(e.removeEventListener(i,a,Boolean(s)),delete t[i][a.uidEvent])}function L(e){return e=e.replace(_,""),S[e]||e}const $={on(e,t,i,n){j(e,t,i,n,!1)},one(e,t,i,n){j(e,t,i,n,!0)},off(e,t,i,n){if("string"!=typeof t||!e)return;const[s,a,r]=O(t,i,n),o=r!==t,l=M(e),c=t.startsWith(".");if(void 0!==a){if(!l||!l[r])return;return void A(e,l,r,a,s?i:null)}c&&Object.keys(l).forEach(i=>{!function(e,t,i,n){const s=t[i]||{};Object.keys(s).forEach(a=>{if(a.includes(n)){const n=s[a];A(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(T,"");if(!o||t.includes(n)){const t=d[i];A(e,l,r,t.originalHandler,t.delegationSelector)}})},trigger(e,t,i){if("string"!=typeof t||!e)return null;const n=h(),s=L(t),a=t!==s,r=E.has(s);let o,l=!0,c=!0,d=!1,u=null;return a&&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(s,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,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=r(e))&&(this._element=e,Y.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Y.remove(this._element,this.constructor.DATA_KEY),$.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(e=>{this[e]=null})}_queueCallback(e,t,i=!0){y(e,t,i)}static getInstance(e){return Y.get(r(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.3"}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 i=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;$.on(document,i,`[data-bs-dismiss="${s}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),c(this))return;const a=n(this)||this.closest(`.${s}`);e.getOrCreateInstance(a)[t]()})};class B extends D{static get NAME(){return"alert"}close(){if($.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(),$.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=B.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(B,"close"),g(B);const Q='[data-bs-toggle="button"]';class R 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=R.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}function F(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function H(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}$.on(document,"click.bs.button.data-api",Q,e=>{e.preventDefault();const t=e.target.closest(Q);R.getOrCreateInstance(t).toggle()}),g(R);const q={setDataAttribute(e,t,i){e.setAttribute(`data-bs-${H(t)}`,i)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${H(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]=F(e.dataset[i])}),t},getDataAttribute:(e,t)=>F(e.getAttribute(`data-bs-${H(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})},W={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=>!c(e)&&l(e))}},V="carousel",U={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},G={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},X="next",K="prev",Z="left",J="right",ee={ArrowLeft:J,ArrowRight:Z},te="slid.bs.carousel",ie="active",ne=".active.carousel-item";class se 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=W.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 U}static get NAME(){return V}next(){this._slide(X)}nextWhenVisible(){!document.hidden&&l(this._element)&&this.next()}prev(){this._slide(K)}pause(e){e||(this._isPaused=!0),W.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(s(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=W.findOne(ne,this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void $.one(this._element,te,()=>this.to(e));if(t===e)return this.pause(),void this.cycle();const i=e>t?X:K;this._slide(i,this._items[e])}_getConfig(e){return e={...U,...q.getDataAttributes(this._element),..."object"==typeof e?e:{}},o(V,e,G),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?J:Z)}_addEventListeners(){this._config.keyboard&&$.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&($.on(this._element,"mouseenter.bs.carousel",e=>this.pause(e)),$.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),t=t=>{e(t)?this.touchStartX=t.clientX:this._pointerEvent||(this.touchStartX=t.touches[0].clientX)},i=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},n=t=>{e(t)&&(this.touchDeltaX=t.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))};W.find(".carousel-item img",this._element).forEach(e=>{$.on(e,"dragstart.bs.carousel",e=>e.preventDefault())}),this._pointerEvent?($.on(this._element,"pointerdown.bs.carousel",e=>t(e)),$.on(this._element,"pointerup.bs.carousel",e=>n(e)),this._element.classList.add("pointer-event")):($.on(this._element,"touchstart.bs.carousel",e=>t(e)),$.on(this._element,"touchmove.bs.carousel",e=>i(e)),$.on(this._element,"touchend.bs.carousel",e=>n(e)))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=ee[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?W.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const i=e===X;return b(this._items,t,i,this._config.wrap)}_triggerSlideEvent(e,t){const i=this._getItemIndex(e),n=this._getItemIndex(W.findOne(ne,this._element));return $.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:n,to:i})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=W.findOne(".active",this._indicatorsElement);t.classList.remove(ie),t.removeAttribute("aria-current");const i=W.find("[data-bs-target]",this._indicatorsElement);for(let t=0;t{$.trigger(this._element,te,{relatedTarget:a,direction:u,from:s,to:r})};if(this._element.classList.contains("slide")){a.classList.add(d),p(a),n.classList.add(c),a.classList.add(c);const e=()=>{a.classList.remove(c,d),a.classList.add(ie),n.classList.remove(ie,d,c),this._isSliding=!1,setTimeout(h,0)};this._queueCallback(e,n,!0)}else n.classList.remove(ie),a.classList.add(ie),this._isSliding=!1,h();o&&this.cycle()}_directionToOrder(e){return[J,Z].includes(e)?m()?e===Z?K:X:e===Z?X:K:e}_orderToDirection(e){return[X,K].includes(e)?m()?e===K?Z:J:e===K?J:Z:e}static carouselInterface(e,t){const i=se.getOrCreateInstance(e,t);let{_config:n}=i;"object"==typeof t&&(n={...n,...t});const s="string"==typeof t?t:n.slide;if("number"==typeof t)i.to(t);else if("string"==typeof s){if(void 0===i[s])throw new TypeError(`No method named "${s}"`);i[s]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(e){return this.each(function(){se.carouselInterface(this,e)})}static dataApiClickHandler(e){const t=n(this);if(!t||!t.classList.contains("carousel"))return;const i={...q.getDataAttributes(t),...q.getDataAttributes(this)},s=this.getAttribute("data-bs-slide-to");s&&(i.interval=!1),se.carouselInterface(t,i),s&&se.getInstance(t).to(s),e.preventDefault()}}$.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",se.dataApiClickHandler),$.on(window,"load.bs.carousel.data-api",()=>{const e=W.find('[data-bs-ride="carousel"]');for(let t=0,i=e.length;te===this._element);null!==s&&a.length&&(this._selector=s,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return re}static get NAME(){return ae}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=W.find(pe,this._config.parent);t=W.find(".collapse.show, .collapse.collapsing",this._config.parent).filter(t=>!e.includes(t))}const i=W.findOne(this._selector);if(t.length){const n=t.find(e=>i!==e);if((e=n?fe.getInstance(n):null)&&e._isTransitioning)return}if($.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach(t=>{i!==t&&fe.getOrCreateInstance(t,{toggle:!1}).hide(),e||Y.set(t,"bs.collapse",null)});const n=this._getDimension();this._element.classList.remove(ce),this._element.classList.add(de),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(de),this._element.classList.add(ce,le),this._element.style[n]="",$.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if($.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,p(this._element),this._element.classList.add(de),this._element.classList.remove(ce,le);const t=this._triggerArray.length;for(let e=0;e{this._isTransitioning=!1,this._element.classList.remove(de),this._element.classList.add(ce),$.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(e=this._element){return e.classList.contains(le)}_getConfig(e){return(e={...re,...q.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=r(e.parent),o(ae,e,oe),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=W.find(pe,this._config.parent);W.find(he,this._config.parent).filter(t=>!e.includes(t)).forEach(e=>{const t=n(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))})}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach(e=>{t?e.classList.remove(ue):e.classList.add(ue),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=fe.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}})}}$.on(document,"click.bs.collapse.data-api",he,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=i(this);W.find(t).forEach(e=>{fe.getOrCreateInstance(e,{toggle:!1}).toggle()})}),g(fe);var me="top",ge="bottom",ve="right",ye="left",be="auto",we=[me,ge,ve,ye],_e="start",Te="end",xe="clippingParents",Ce="viewport",Se="popper",Pe="reference",Ee=we.reduce(function(e,t){return e.concat([t+"-"+_e,t+"-"+Te])},[]),ke=[].concat(we,[be]).reduce(function(e,t){return e.concat([t,t+"-"+_e,t+"-"+Te])},[]),Me="beforeRead",Ie="afterRead",Oe="beforeMain",je="afterMain",Ae="beforeWrite",Le="afterWrite",$e=[Me,"read",Ie,Oe,"main",je,Ae,"write",Le];function ze(e){return e?(e.nodeName||"").toLowerCase():null}function Ye(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function De(e){return e instanceof Ye(e).Element||e instanceof Element}function Ne(e){return e instanceof Ye(e).HTMLElement||e instanceof HTMLElement}function Be(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ye(e).ShadowRoot||e instanceof ShadowRoot)}const Qe={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]||{},s=t.elements[e];Ne(s)&&ze(s)&&(Object.assign(s.style,i),Object.keys(n).forEach(function(e){var t=n[e];!1===t?s.removeAttribute(e):s.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],s=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce(function(e,t){return e[t]="",e},{});Ne(n)&&ze(n)&&(Object.assign(n.style,a),Object.keys(s).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]};function Re(e){return e.split("-")[0]}function Fe(e,t){var i=e.getBoundingClientRect();return{width:i.width/1,height:i.height/1,top:i.top/1,right:i.right/1,bottom:i.bottom/1,left:i.left/1,x:i.left/1,y:i.top/1}}function He(e){var t=Fe(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 qe(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&Be(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function We(e){return Ye(e).getComputedStyle(e)}function Ve(e){return["table","td","th"].indexOf(ze(e))>=0}function Ue(e){return((De(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ge(e){return"html"===ze(e)?e:e.assignedSlot||e.parentNode||(Be(e)?e.host:null)||Ue(e)}function Xe(e){return Ne(e)&&"fixed"!==We(e).position?e.offsetParent:null}function Ke(e){for(var t=Ye(e),i=Xe(e);i&&Ve(i)&&"static"===We(i).position;)i=Xe(i);return i&&("html"===ze(i)||"body"===ze(i)&&"static"===We(i).position)?t:i||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Ne(e)&&"fixed"===We(e).position)return null;for(var i=Ge(e);Ne(i)&&["html","body"].indexOf(ze(i))<0;){var n=We(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 Ze(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Je=Math.max,et=Math.min,tt=Math.round;function it(e,t,i){return Je(e,et(t,i))}function nt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function st(e,t){return t.reduce(function(t,i){return t[i]=e,t},{})}const at={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,n=e.name,s=e.options,a=i.elements.arrow,r=i.modifiersData.popperOffsets,o=Re(i.placement),l=Ze(o),c=[ye,ve].indexOf(o)>=0?"height":"width";if(a&&r){var d=function(e,t){return nt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:st(e,we))}(s.padding,i),u=He(a),p="y"===l?me:ye,h="y"===l?ge:ve,f=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],m=r[l]-i.rects.reference[l],g=Ke(a),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=f/2-m/2,b=d[p],w=v-u[c]-d[h],_=v/2-u[c]/2+y,T=it(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)))&&qe(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function rt(e){return e.split("-")[1]}var ot={top:"auto",right:"auto",bottom:"auto",left:"auto"};function lt(e){var t,i=e.popper,n=e.popperRect,s=e.placement,a=e.variation,r=e.offsets,o=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,u=!0===d?function(e){var t=e.x,i=e.y,n=window.devicePixelRatio||1;return{x:tt(tt(t*n)/n)||0,y:tt(tt(i*n)/n)||0}}(r):"function"==typeof d?d(r):r,p=u.x,h=void 0===p?0:p,f=u.y,m=void 0===f?0:f,g=r.hasOwnProperty("x"),v=r.hasOwnProperty("y"),y=ye,b=me,w=window;if(c){var _=Ke(i),T="clientHeight",x="clientWidth";_===Ye(i)&&"static"!==We(_=Ue(i)).position&&"absolute"===o&&(T="scrollHeight",x="scrollWidth"),_=_,s!==me&&(s!==ye&&s!==ve||a!==Te)||(b=ge,m-=_[T]-n.height,m*=l?1:-1),s!==ye&&(s!==me&&s!==ge||a!==Te)||(y=ve,h-=_[x]-n.width,h*=l?1:-1)}var C,S=Object.assign({position:o},c&&ot);return l?Object.assign({},S,((C={})[b]=v?"0":"",C[y]=g?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",C)):Object.assign({},S,((t={})[b]=v?m+"px":"",t[y]=g?h+"px":"",t.transform="",t))}const ct={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,n=i.gpuAcceleration,s=void 0===n||n,a=i.adaptive,r=void 0===a||a,o=i.roundOffsets,l=void 0===o||o,c={placement:Re(t.placement),variation:rt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,lt(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,lt(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:{}};var dt={passive:!0};const ut={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=e.options,s=n.scroll,a=void 0===s||s,r=n.resize,o=void 0===r||r,l=Ye(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(e){e.addEventListener("scroll",i.update,dt)}),o&&l.addEventListener("resize",i.update,dt),function(){a&&c.forEach(function(e){e.removeEventListener("scroll",i.update,dt)}),o&&l.removeEventListener("resize",i.update,dt)}},data:{}};var pt={left:"right",right:"left",bottom:"top",top:"bottom"};function ht(e){return e.replace(/left|right|bottom|top/g,function(e){return pt[e]})}var ft={start:"end",end:"start"};function mt(e){return e.replace(/start|end/g,function(e){return ft[e]})}function gt(e){var t=Ye(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function vt(e){return Fe(Ue(e)).left+gt(e).scrollLeft}function yt(e){var t=We(e),i=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function bt(e,t){var i;void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(ze(t))>=0?t.ownerDocument.body:Ne(t)&&yt(t)?t:e(Ge(t))}(e),s=n===(null==(i=e.ownerDocument)?void 0:i.body),a=Ye(n),r=s?[a].concat(a.visualViewport||[],yt(n)?n:[]):n,o=t.concat(r);return s?o:o.concat(bt(Ge(r)))}function wt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _t(e,t){return t===Ce?wt(function(e){var t=Ye(e),i=Ue(e),n=t.visualViewport,s=i.clientWidth,a=i.clientHeight,r=0,o=0;return n&&(s=n.width,a=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=n.offsetLeft,o=n.offsetTop)),{width:s,height:a,x:r+vt(e),y:o}}(e)):Ne(t)?function(e){var t=Fe(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):wt(function(e){var t,i=Ue(e),n=gt(e),s=null==(t=e.ownerDocument)?void 0:t.body,a=Je(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=Je(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),o=-n.scrollLeft+vt(e),l=-n.scrollTop;return"rtl"===We(s||i).direction&&(o+=Je(i.clientWidth,s?s.clientWidth:0)-a),{width:a,height:r,x:o,y:l}}(Ue(e)))}function Tt(e){var t,i=e.reference,n=e.element,s=e.placement,a=s?Re(s):null,r=s?rt(s):null,o=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(a){case me:t={x:o,y:i.y-n.height};break;case ge:t={x:o,y:i.y+i.height};break;case ve:t={x:i.x+i.width,y:l};break;case ye:t={x:i.x-n.width,y:l};break;default:t={x:i.x,y:i.y}}var c=a?Ze(a):null;if(null!=c){var d="y"===c?"height":"width";switch(r){case _e:t[c]=t[c]-(i[d]/2-n[d]/2);break;case Te:t[c]=t[c]+(i[d]/2-n[d]/2)}}return t}function xt(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=void 0===n?e.placement:n,a=i.boundary,r=void 0===a?xe:a,o=i.rootBoundary,l=void 0===o?Ce:o,c=i.elementContext,d=void 0===c?Se:c,u=i.altBoundary,p=void 0!==u&&u,h=i.padding,f=void 0===h?0:h,m=nt("number"!=typeof f?f:st(f,we)),g=d===Se?Pe:Se,v=e.rects.popper,y=e.elements[p?g:d],b=function(e,t,i){var n="clippingParents"===t?function(e){var t=bt(Ge(e)),i=["absolute","fixed"].indexOf(We(e).position)>=0&&Ne(e)?Ke(e):e;return De(i)?t.filter(function(e){return De(e)&&qe(e,i)&&"body"!==ze(e)}):[]}(e):[].concat(t),s=[].concat(n,[i]),a=s[0],r=s.reduce(function(t,i){var n=_t(e,i);return t.top=Je(n.top,t.top),t.right=et(n.right,t.right),t.bottom=et(n.bottom,t.bottom),t.left=Je(n.left,t.left),t},_t(e,a));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}(De(y)?y:y.contextElement||Ue(e.elements.popper),r,l),w=Fe(e.elements.reference),_=Tt({reference:w,element:v,strategy:"absolute",placement:s}),T=wt(Object.assign({},v,_)),x=d===Se?T:w,C={top:b.top-x.top+m.top,bottom:x.bottom-b.bottom+m.bottom,left:b.left-x.left+m.left,right:x.right-b.right+m.right},S=e.modifiersData.offset;if(d===Se&&S){var P=S[s];Object.keys(C).forEach(function(e){var t=[ve,ge].indexOf(e)>=0?1:-1,i=[me,ge].indexOf(e)>=0?"y":"x";C[e]+=P[i]*t})}return C}const Ct={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 s=i.mainAxis,a=void 0===s||s,r=i.altAxis,o=void 0===r||r,l=i.fallbackPlacements,c=i.padding,d=i.boundary,u=i.rootBoundary,p=i.altBoundary,h=i.flipVariations,f=void 0===h||h,m=i.allowedAutoPlacements,g=t.options.placement,v=Re(g),y=l||(v!==g&&f?function(e){if(Re(e)===be)return[];var t=ht(e);return[mt(e),t,mt(t)]}(g):[ht(g)]),b=[g].concat(y).reduce(function(e,i){return e.concat(Re(i)===be?function(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=i.boundary,a=i.rootBoundary,r=i.padding,o=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?ke:l,d=rt(n),u=d?o?Ee:Ee.filter(function(e){return rt(e)===d}):we,p=u.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=u);var h=p.reduce(function(t,i){return t[i]=xt(e,{placement:i,boundary:s,rootBoundary:a,padding:r})[Re(i)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[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=0,I=M?"width":"height",O=xt(t,{placement:P,boundary:d,rootBoundary:u,altBoundary:p,padding:c}),j=M?k?ve:ye:k?ge:me;w[I]>_[I]&&(j=ht(j));var A=ht(j),L=[];if(a&&L.push(O[E]<=0),o&&L.push(O[j]<=0,O[A]<=0),L.every(function(e){return e})){C=P,x=!1;break}T.set(P,L)}if(x)for(var $=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"},z=f?3:1;z>0&&"break"!==$(z);z--);t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function St(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 Pt(e){return[me,ve,ge,ye].some(function(t){return e[t]>=0})}const Et={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,r=xt(t,{elementContext:"reference"}),o=xt(t,{altBoundary:!0}),l=St(r,n),c=St(o,s,a),d=Pt(l),u=Pt(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})}},kt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,n=e.name,s=i.offset,a=void 0===s?[0,0]:s,r=ke.reduce(function(e,i){return e[i]=function(e,t,i){var n=Re(e),s=[ye,me].indexOf(n)>=0?-1:1,a="function"==typeof i?i(Object.assign({},t,{placement:e})):i,r=a[0],o=a[1];return r=r||0,o=(o||0)*s,[ye,ve].indexOf(n)>=0?{x:o,y:r}:{x:r,y:o}}(i,t.rects,a),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}},Mt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=Tt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},It={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name,s=i.mainAxis,a=void 0===s||s,r=i.altAxis,o=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,d=i.altBoundary,u=i.padding,p=i.tether,h=void 0===p||p,f=i.tetherOffset,m=void 0===f?0:f,g=xt(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),v=Re(t.placement),y=rt(t.placement),b=!y,w=Ze(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,P={x:0,y:0};if(T){if(a||o){var E="y"===w?me:ye,k="y"===w?ge:ve,M="y"===w?"height":"width",I=T[w],O=T[w]+g[E],j=T[w]-g[k],A=h?-C[M]/2:0,L=y===_e?x[M]:C[M],$=y===_e?-C[M]:-x[M],z=t.elements.arrow,Y=h&&z?He(z):{width:0,height:0},D=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},N=D[E],B=D[k],Q=it(0,x[M],Y[M]),R=b?x[M]/2-A-Q-N-S:L-Q-N-S,F=b?-x[M]/2+A+Q+B+S:$+Q+B+S,H=t.elements.arrow&&Ke(t.elements.arrow),q=H?"y"===w?H.clientTop||0:H.clientLeft||0:0,W=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,V=T[w]+R-W-q,U=T[w]+F-W;if(a){var G=it(h?et(O,V):O,I,h?Je(j,U):j);T[w]=G,P[w]=G-I}if(o){var X="x"===w?me:ye,K="x"===w?ge:ve,Z=T[_],J=Z+g[X],ee=Z-g[K],te=it(h?et(J,V):J,Z,h?Je(ee,U):ee);T[_]=te,P[_]=te-Z}}t.modifiersData[n]=P}},requiresIfExists:["offset"]};function Ot(e,t,i){void 0===i&&(i=!1);var n=Ne(t);Ne(t)&&function(e){var t=e.getBoundingClientRect();t.width,e.offsetWidth,t.height,e.offsetHeight}(t);var s,a,r=Ue(t),o=Fe(e),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!i)&&(("body"!==ze(t)||yt(r))&&(l=(s=t)!==Ye(s)&&Ne(s)?{scrollLeft:(a=s).scrollLeft,scrollTop:a.scrollTop}:gt(s)),Ne(t)?((c=Fe(t)).x+=t.clientLeft,c.y+=t.clientTop):r&&(c.x=vt(r))),{x:o.left+l.scrollLeft-c.x,y:o.top+l.scrollTop-c.y,width:o.width,height:o.height}}function jt(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(s){i.add(s.name),[].concat(s.requires||[],s.requiresIfExists||[]).forEach(function(n){if(!i.has(n)){var s=t.get(n);s&&e(s)}}),n.push(s)}(e)}),n}var At={placement:"bottom",modifiers:[],strategy:"absolute"};function Lt(){for(var e=arguments.length,t=new Array(e),i=0;i$.on(e,"mouseover",u)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ut),this._element.classList.add(Ut),$.trigger(this._element,"shown.bs.dropdown",e)}hide(){if(c(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){$.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>$.off(e,"mouseover",u)),this._popper&&this._popper.destroy(),this._menu.classList.remove(Ut),this._element.classList.remove(Ut),this._element.setAttribute("aria-expanded","false"),q.removeDataAttribute(this._menu,"popper"),$.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...q.getDataAttributes(this._element),...e},o(Bt,e,this.constructor.DefaultType),"object"==typeof e.reference&&!a(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Bt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(e){if(void 0===Nt)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=r(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=Dt(t,this._menu,i),n&&q.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(Ut)}_getMenuElement(){return W.next(this._element,Xt)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return ti;if(e.classList.contains("dropstart"))return ii;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?Zt:Kt:t?ei:Jt}_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=W.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(l);i.length&&b(i,t,e===Ht,!i.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=ai.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=W.find(Gt);for(let i=0,n=t.length;it+e),this._setElementAttributes(ri,"paddingRight",t=>t+e),this._setElementAttributes(oi,"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 s=window.getComputedStyle(e)[t];e.style[t]=`${i(Number.parseFloat(s))}px`})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(ri,"paddingRight"),this._resetElementAttributes(oi,"marginRight")}_saveInitialAttribute(e,t){const i=e.style[t];i&&q.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,e=>{const i=q.getDataAttribute(e,t);void 0===i?e.style.removeProperty(t):(q.removeDataAttribute(e,t),e.style[t]=i)})}_applyManipulationCallback(e,t){a(e)?t(e):W.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const ci={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},di={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},ui="show",pi="mousedown.bs.backdrop";class hi{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&p(this._getElement()),this._getElement().classList.add(ui),this._emulateAnimation(()=>{v(e)})):v(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(ui),this._emulateAnimation(()=>{this.dispose(),v(e)})):v(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={...ci,..."object"==typeof e?e:{}}).rootElement=r(e.rootElement),o("backdrop",e,di),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),$.on(this._getElement(),pi,()=>{v(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&($.off(this._element,pi),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){y(e,this._getElement(),this._config.isAnimated)}}const fi={trapElement:null,autofocus:!0},mi={trapElement:"element",autofocus:"boolean"},gi=".bs.focustrap",vi="backward";class yi{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(),$.off(document,gi),$.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),$.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,$.off(document,gi))}_handleFocusin(e){const{target:t}=e,{trapElement:i}=this._config;if(t===document||t===i||i.contains(t))return;const n=W.focusableChildren(i);0===n.length?i.focus():this._lastTabNavDirection===vi?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?vi:"forward")}_getConfig(e){return e={...fi,..."object"==typeof e?e:{}},o("focustrap",e,mi),e}}const bi="modal",wi="Escape",_i={backdrop:!0,keyboard:!0,focus:!0},Ti={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},xi="hidden.bs.modal",Ci="show.bs.modal",Si="resize.bs.modal",Pi="click.dismiss.bs.modal",Ei="keydown.dismiss.bs.modal",ki="mousedown.dismiss.bs.modal",Mi="modal-open",Ii="show",Oi="modal-static";class ji extends D{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=W.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 li}static get Default(){return _i}static get NAME(){return bi}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||$.trigger(this._element,Ci,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Mi),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),$.on(this._dialog,ki,()=>{$.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($.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(Ii),$.off(this._element,Pi),$.off(this._dialog,ki),this._queueCallback(()=>this._hideModal(),this._element,e)}dispose(){[window,this._dialog].forEach(e=>$.off(e,".bs.modal")),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new hi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new yi({trapElement:this._element})}_getConfig(e){return e={..._i,...q.getDataAttributes(this._element),..."object"==typeof e?e:{}},o(bi,e,Ti),e}_showElement(e){const t=this._isAnimated(),i=W.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&&p(this._element),this._element.classList.add(Ii),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,$.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,t)}_setEscapeEvent(){this._isShown?$.on(this._element,Ei,e=>{this._config.keyboard&&e.key===wi?(e.preventDefault(),this.hide()):this._config.keyboard||e.key!==wi||this._triggerBackdropTransition()}):$.off(this._element,Ei)}_setResizeEvent(){this._isShown?$.on(window,Si,()=>this._adjustDialog()):$.off(window,Si)}_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(Mi),this._resetAdjustments(),this._scrollBar.reset(),$.trigger(this._element,xi)})}_showBackdrop(e){$.on(this._element,Pi,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($.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(Oi)||(n||(i.overflowY="hidden"),e.add(Oi),this._queueCallback(()=>{e.remove(Oi),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&&!m()||i&&!e&&m())&&(this._element.style.paddingLeft=`${t}px`),(i&&!e&&!m()||!i&&e&&m())&&(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=ji.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](t)}})}}$.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(e){const t=n(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),$.one(t,Ci,e=>{e.defaultPrevented||$.one(t,xi,()=>{l(this)&&this.focus()})});const i=W.findOne(".modal.show");i&&ji.getInstance(i).hide(),ji.getOrCreateInstance(t).toggle(this)}),N(ji),g(ji);const Ai="offcanvas",Li={backdrop:!0,keyboard:!0,scroll:!1},$i={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},zi="show",Yi=".offcanvas.show",Di="hidden.bs.offcanvas";class Ni 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 Ai}static get Default(){return Li}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||$.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new li).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(zi),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),$.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&($.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(zi),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 li).reset(),$.trigger(this._element,Di)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...Li,...q.getDataAttributes(this._element),..."object"==typeof e?e:{}},o(Ai,e,$i),e}_initializeBackDrop(){return new hi({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new yi({trapElement:this._element})}_addEventListeners(){$.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=Ni.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)}})}}$.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){const t=n(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),c(this))return;$.one(t,Di,()=>{l(this)&&this.focus()});const i=W.findOne(Yi);i&&i!==t&&Ni.getInstance(i).hide(),Ni.getOrCreateInstance(t).toggle(this)}),$.on(window,"load.bs.offcanvas.data-api",()=>W.find(Yi).forEach(e=>Ni.getOrCreateInstance(e).show())),N(Ni),g(Ni);const Bi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Qi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Ri=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Fi=(e,t)=>{const i=e.nodeName.toLowerCase();if(t.includes(i))return!Bi.has(i)||Boolean(Qi.test(e.nodeValue)||Ri.test(e.nodeValue));const n=t.filter(e=>e instanceof RegExp);for(let e=0,t=n.length;e{Fi(e,r)||i.removeAttribute(e.nodeName)})}return n.body.innerHTML}const qi="tooltip",Wi=new Set(["sanitize","allowList","sanitizeFn"]),Vi={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)"},Ui={AUTO:"auto",TOP:"top",RIGHT:m()?"left":"right",BOTTOM:"bottom",LEFT:m()?"right":"left"},Gi={animation:!0,template:'',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},Xi={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"},Ki="fade",Zi="show",Ji="show",en="out",tn=".tooltip-inner",nn=".modal",sn="hide.bs.modal",an="hover",rn="focus";class on extends D{constructor(e,t){if(void 0===Nt)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 Gi}static get NAME(){return qi}static get Event(){return Xi}static get DefaultType(){return Vi}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(Zi))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),$.off(this._element.closest(nn),sn,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),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=$.trigger(this._element,this.constructor.Event.SHOW),t=d(this._element),i=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!i)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(tn).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const n=this.getTipElement(),s=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME);n.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this._config.animation&&n.classList.add(Ki);const a="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,r=this._getAttachment(a);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),$.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Dt(this._element,n,this._getPopperConfig(r)),n.classList.add(Zi);const l=this._resolvePossibleFunction(this._config.customClass);l&&n.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>{$.on(e,"mouseover",u)});const c=this.tip.classList.contains(Ki);this._queueCallback(()=>{const e=this._hoverState;this._hoverState=null,$.trigger(this._element,this.constructor.Event.SHOWN),e===en&&this._leave(null,this)},this.tip,c)}hide(){if(!this._popper)return;const e=this.getTipElement();if($.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(Zi),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>$.off(e,"mouseover",u)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains(Ki);this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==Ji&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),$.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())},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(Ki,Zi),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),tn)}_sanitizeAndSetContent(e,t,i){const n=W.findOne(i,e);t||!n?this.setElementContent(n,t):n.remove()}setElementContent(e,t){if(null!==e)return a(t)?(t=r(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=Hi(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 Ui[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(e=>{if("click"===e)$.on(this._element,this.constructor.Event.CLICK,this._config.selector,e=>this.toggle(e));else if("manual"!==e){const t=e===an?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=e===an?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;$.on(this._element,t,this._config.selector,e=>this._enter(e)),$.on(this._element,i,this._config.selector,e=>this._leave(e))}}),this._hideModalHandler=(()=>{this._element&&this.hide()}),$.on(this._element.closest(nn),sn,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?rn:an]=!0),t.getTipElement().classList.contains(Zi)||t._hoverState===Ji?t._hoverState=Ji:(clearTimeout(t._timeout),t._hoverState=Ji,t._config.delay&&t._config.delay.show?t._timeout=setTimeout(()=>{t._hoverState===Ji&&t.show()},t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?rn:an]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=en,t._config.delay&&t._config.delay.hide?t._timeout=setTimeout(()=>{t._hoverState===en&&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=q.getDataAttributes(this._element);return Object.keys(t).forEach(e=>{Wi.has(e)&&delete t[e]}),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:r(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()),o(qi,e,this.constructor.DefaultType),e.sanitize&&(e.template=Hi(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)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each(function(){const t=on.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}g(on);const ln={...on.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:''},cn={...on.DefaultType,content:"(string|element|function)"},dn={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 un extends on{static get Default(){return ln}static get NAME(){return"popover"}static get Event(){return dn}static get DefaultType(){return cn}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=un.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}g(un);const pn="scrollspy",hn={offset:10,method:"auto",target:""},fn={offset:"number",method:"string",target:"(string|element)"},mn="active",gn=".nav-link, .list-group-item, .dropdown-item",vn="position";class yn 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,$.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return hn}static get NAME(){return pn}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":vn,t="auto"===this._config.method?e:this._config.method,n=t===vn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),W.find(gn,this._config.target).map(e=>{const s=i(e),a=s?W.findOne(s):null;if(a){const e=a.getBoundingClientRect();if(e.width||e.height)return[q[t](a).top+n,s]}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(){$.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e={...hn,...q.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=r(e.target)||document.documentElement,o(pn,e,fn),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&&e0)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`${t}[data-bs-target="${e}"],${t}[href="${e}"]`),i=W.findOne(t.join(","),this._config.target);i.classList.add(mn),i.classList.contains("dropdown-item")?W.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(mn):W.parents(i,".nav, .list-group").forEach(e=>{W.prev(e,".nav-link, .list-group-item").forEach(e=>e.classList.add(mn)),W.prev(e,".nav-item").forEach(e=>{W.children(e,".nav-link").forEach(e=>e.classList.add(mn))})}),$.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){W.find(gn,this._config.target).filter(e=>e.classList.contains(mn)).forEach(e=>e.classList.remove(mn))}static jQueryInterface(e){return this.each(function(){const t=yn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}$.on(window,"load.bs.scrollspy.data-api",()=>{W.find('[data-bs-spy="scroll"]').forEach(e=>new yn(e))}),g(yn);const bn="active",wn="fade",_n="show",Tn=".active",xn=":scope > li > .active";class Cn extends D{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(bn))return;let e;const t=n(this._element),i=this._element.closest(".nav, .list-group");if(i){const t="UL"===i.nodeName||"OL"===i.nodeName?xn:Tn;e=(e=W.find(t,i))[e.length-1]}const s=e?$.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if($.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==s&&s.defaultPrevented)return;this._activate(this._element,i);const a=()=>{$.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),$.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,a):a()}_activate(e,t,i){const n=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?W.children(t,Tn):W.find(xn,t))[0],s=i&&n&&n.classList.contains(wn),a=()=>this._transitionComplete(e,n,i);n&&s?(n.classList.remove(_n),this._queueCallback(a,e,!0)):a()}_transitionComplete(e,t,i){if(t){t.classList.remove(bn);const e=W.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove(bn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(bn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),p(e),e.classList.contains(wn)&&e.classList.add(_n);let n=e.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&W.find(".dropdown-toggle",t).forEach(e=>e.classList.add(bn)),e.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(e){return this.each(function(){const t=Cn.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}$.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(),c(this)||Cn.getOrCreateInstance(this).show()}),g(Cn);const Sn="toast",Pn="hide",En="show",kn="showing",Mn={animation:"boolean",autohide:"boolean",delay:"number"},In={animation:!0,autohide:!0,delay:5e3};class On 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 Mn}static get Default(){return In}static get NAME(){return Sn}show(){$.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Pn),p(this._element),this._element.classList.add(En),this._element.classList.add(kn),this._queueCallback(()=>{this._element.classList.remove(kn),$.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains(En)&&($.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(kn),this._queueCallback(()=>{this._element.classList.add(Pn),this._element.classList.remove(kn),this._element.classList.remove(En),$.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(En)&&this._element.classList.remove(En),super.dispose()}_getConfig(e){return e={...In,...q.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},o(Sn,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(){$.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),$.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),$.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),$.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=On.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return N(On),g(On),{Alert:B,Button:R,Carousel:se,Collapse:fe,Dropdown:ai,Modal:ji,Offcanvas:Ni,Popover:un,ScrollSpy:yn,Tab:Cn,Toast:On,Tooltip:on}}),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,s=t.attr("data-active-class")||"",a=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 "+s).next().show(),t.find(".accordion-header").off("click").on("click",function(){if($(this).next().is(":hidden")){t.find(".accordion-header").removeClass("accordion-active "+s).next().slideUp("normal");let e=$(this);$(this).toggleClass("accordion-active "+s,!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"==a&&$(this).toggleClass("accordion-active "+s,!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,s;return i.submitButton&&(i.settings.submitHandler||i.formSubmitted)&&(n=e("").attr("name",i.submitButton.name).val(e(i.submitButton).val()).appendTo(i.currentForm)),!(i.settings.submitHandler&&!i.settings.debug)||(s=i.settings.submitHandler.call(i,i.currentForm,t),n&&n.remove(),void 0!==s&&s)}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,s,a,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,s=n.rules,a=e.validator.staticRules(c),t){case"add":e.extend(a,e.validator.normalizeRule(i)),delete a.messages,s[c.name]=a,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]=a[t],delete a[t]}),l):(delete s[c.name],a)}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 s=e.data(this.form,"validator"),a="on"+t.type.replace(/^validate/,""),r=s.settings;r[a]&&!e(this).is(r.ignore)&&r[a].call(s,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,s=this.groups={};e.each(this.settings.groups,function(t,i){"string"==typeof i&&(i=i.split(/\s/)),e.each(i,function(e,i){s[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,s=this.clean(t),a=this.validationTargetFor(s),r=this,o=!0;return void 0===a?delete this.invalid[s.name]:(this.prepareElement(a),this.currentElements=e(a),(n=this.groups[a.name])&&e.each(this.groups,function(e,t){t===n&&e!==a.name&&((s=r.validationTargetFor(r.clean(r.findByName(e))))&&s.name in r.invalid&&(r.currentElements.push(s),o=r.check(s)&&o))}),i=!1!==this.check(a),o=o&&i,this.invalid[a.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"),s=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),s&&(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,s=e(t),a=t.type,r=void 0!==s.attr("contenteditable")&&"false"!==s.attr("contenteditable");return"radio"===a||"checkbox"===a?this.findByName(t.name).filter(":checked").val():"number"===a&&void 0!==t.validity?t.validity.badInput?"NaN":s.val():(i=r?s.text():s.val(),"file"===a?"C:\\fakepath\\"===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,s,a,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?a=r.normalizer:"function"==typeof this.settings.normalizer&&(a=this.settings.normalizer),a&&(c=a.call(t,c),delete r.normalizer),r){s={method:n,parameters:r[n]};try{if("dependency-mismatch"===(i=e.validator.methods[n].call(this,c,t,s.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,s),!1}catch(e){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+s.method+"' method.",e),e instanceof TypeError&&(e.message+=". Exception occurred when checking element "+t.id+", check the '"+s.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;eWarning: No message defined for "+t.name+""),s=/\$?\{(\d+)\}/g;return"function"==typeof n?n=n.call(this,i.parameters,t):s.test(n)&&(n=e.validator.format(n.replace(s,"{$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,s,a,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&&(a=o.attr("id"),c?c.match(new RegExp("\\b"+this.escapeCssMeta(a)+"\\b"))||(c+=" "+a):c=a,e(t).attr("aria-describedby",c),(s=this.groups[t.name])&&(r=this,e.each(r.groups,function(t,i){i===s&&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"),s="label[for='"+i+"'], label[for='"+i+"'] *";return n&&(s=s+", #"+this.escapeCssMeta(n).replace(/\s+/g,", #")),this.errors().filter(s)},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,s={},a=e(t),r=t.getAttribute("type");for(i in e.validator.methods)"required"===i?(""===(n=t.getAttribute(i))&&(n=!0),n=!!n):n=a.attr(i),this.normalizeAttributeRule(s,r,i,n);return s.maxlength&&/-1|2147483647|524288/.test(s.maxlength)&&delete s.maxlength,s},dataRules:function(t){var i,n,s={},a=e(t),r=t.getAttribute("type");for(i in e.validator.methods)""===(n=a.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()))&&(n=!0),this.normalizeAttributeRule(s,r,i,n);return s},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,s){if(!1!==s){if(s.param||s.depends){var a=!0;switch(typeof s.depends){case"string":a=!!e(s.depends,i.form).length;break;case"function":a=s.depends.call(i,i)}a?t[n]=void 0===s.param||s.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 s=e(i).val();return s&&s.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 s,a=e(i).attr("type"),r="Step attribute on input type "+a+" is not supported.",o=new RegExp("\\b"+a+"\\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,s))},d=!0;if(a&&!o.test(["text","number","range"].join()))throw new Error(r);return s=l(n),(l(t)>s||c(t)%c(n)!=0)&&(d=!1),this.optional(i)||d},equalTo:function(t,i,n){var s=e(n);return this.settings.onfocusout&&s.not(".validate-equalTo-blur").length&&s.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){e(i).valid()}),t===s.val()},remote:function(t,i,n,s){if(this.optional(i))return"dependency-mismatch";s="string"==typeof s&&s||"remote";var a,r,o,l=this.previousValue(i,s);return this.settings.messages[i.name]||(this.settings.messages[i.name]={}),l.originalMessage=l.originalMessage||this.settings.messages[i.name][s],this.settings.messages[i.name][s]=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,a=this,this.startRequest(i),(r={})[i.name]=t,e.ajax(e.extend(!0,{mode:"abort",port:"validate"+i.name,dataType:"json",data:r,context:a.currentForm,success:function(e){var n,r,o,c=!0===e||"true"===e;a.settings.messages[i.name][s]=l.originalMessage,c?(o=a.formSubmitted,a.resetInternals(),a.toHide=a.errorsFor(i),a.formSubmitted=o,a.successList.push(i),a.invalid[i.name]=!1,a.showErrors()):(n={},r=e||a.defaultMessage(i,{method:s,parameters:t}),n[i.name]=l.message=r,a.invalid[i.name]=!0,a.showErrors(n)),l.valid=c,a.stopRequest(i,c)}},n)),"pending")}}});var i,n={};return e.ajaxPrefilter?e.ajaxPrefilter(function(e,t,i){var s=e.port;"abort"===e.mode&&(n[s]&&n[s].abort(),n[s]=i)}):(i=e.ajax,e.ajax=function(t){var s=("mode"in t?t:e.ajaxSettings).mode,a=("port"in t?t:e.ajaxSettings).port;return"abort"===s?(n[a]&&n[a].abort(),n[a]=i.apply(this,arguments),n[a]):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('').get(0).files,i.formdata=void 0!==window.FormData;var n=!!e.fn.prop;function s(t){var i=t.data;t.isDefaultPrevented()||(t.preventDefault(),e(t.target).closest("form").ajaxSubmit(i))}function a(t){var i=t.target,n=e(i);if(!n.is("[type=submit],[type=image]")){var s=n.closest("[type=submit]");if(0===s.length)return;i=s[0]}var a,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?(a=n.offset(),r.clk_x=t.pageX-a.left,r.clk_y=t.pageY-a.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,s,a,o){if(!this.length)return r("ajaxSubmit: skipping submit process - no element selected"),this;var l,c,d,u,p=this;"function"==typeof t?t={success:t}:"string"==typeof t||!1===t&&0',T)).css({position:"absolute",top:"-1000px",left:"-1000px"}),h=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{h.contentWindow.document.execCommand&&h.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 P(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 E=e("meta[name=csrf-token]").attr("content"),k=e("meta[name=csrf-param]").attr("content");function M(){var t=p.attr2("target"),i=p.attr2("action"),n=p.attr("enctype")||p.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)||p.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),o.timeout&&(b=setTimeout(function(){y=!0,L(C)},o.timeout));var s=[];try{if(o.extraData)for(var a in o.extraData)o.extraData.hasOwnProperty(a)&&(e.isPlainObject(o.extraData[a])&&o.extraData[a].hasOwnProperty("name")&&o.extraData[a].hasOwnProperty("value")?s.push(e('',T).val(o.extraData[a].value).appendTo(w)[0]):s.push(e('',T).val(o.extraData[a]).appendTo(w)[0]));o.iframeTarget||u.appendTo(x),h.attachEvent?h.attachEvent("onload",L):h.addEventListener("load",L,!1),setTimeout(function e(){try{var t=P(h).readyState;r("state = "+t),t&&"uninitialized"===t.toLowerCase()&&setTimeout(e,50)}catch(e){r("Server abort: ",e," (",e.name,")"),L(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):p.removeAttr("target"),e(s).remove()}}k&&E&&(o.extraData=o.extraData||{},o.extraData[k]=E),o.forceSync?M():setTimeout(M,10);var I,O,j,A=50;function L(t){if(!f.aborted&&!j){if((O=P(h))||(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){h.detachEvent?h.detachEvent("onload",L):h.removeEventListener("load",L,!1);var i,n="success";try{if(y)throw"timeout";var s="xml"===o.dataType||O.XMLDocument||e.isXMLDoc(O);if(r("isXml="+s),!s&&window.opera&&(null===O.body||!O.body.innerHTML)&&--A)return r("requeing onLoad callback, DOM not available"),void setTimeout(L,250);var a=O.body?O.body:O.documentElement;f.responseText=a?a.innerHTML:null,f.responseXML=O.XMLDocument?O.XMLDocument:O,s&&(o.dataType="xml"),f.getResponseHeader=function(e){return{"content-type":o.dataType}[e.toLowerCase()]},a&&(f.status=Number(a.getAttribute("status"))||f.status,f.statusText=a.getAttribute("statusText")||f.statusText);var l,d,p,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],p=O.getElementsByTagName("body")[0],d?f.responseText=d.textContent?d.textContent:d.innerText:p&&(f.responseText=p.textContent?p.textContent:p.innerText)):"xml"===m&&!f.responseXML&&f.responseText&&(f.responseXML=$(f.responseText));try{I=Y(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),j=!0,o.timeout&&clearTimeout(b),setTimeout(function(){o.iframeTarget?u.attr("src",o.iframeSrc):u.remove(),f.responseXML=null},100)}}}var $=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},z=e.parseJSON||function(e){return window.eval("("+e+")")},Y=function(t,i,n){var s=t.getResponseHeader("content-type")||"",a=("xml"===i||!i)&&0<=s.indexOf("xml"),r=a?t.responseXML:t.responseText;return a&&"parsererror"===r.documentElement.nodeName&&e.error&&e.error("parsererror"),n&&n.dataFilter&&(r=n.dataFilter(r,i)),"string"==typeof r&&(("json"===i||!i)&&0<=s.indexOf("json")?r=z(r):("script"===i||!i)&&0<=s.indexOf("javascript")&&e.globalEval(r)),r};return _}},e.fn.ajaxForm=function(t,i,n,o){if(("string"==typeof t||!1===t&&00?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('')):$(c).find(".form-process").fadeIn(),s&&n.removeClass(s+"-ready "+s+"-complete "+s+"-success "+s+"-error").addClass(s+"-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"==a?(t="error"==i.alert?"alert-danger":"alert-success",o.removeClass("alert-danger alert-success").addClass("alert "+t).html(i.message).slideDown(400)):"notify"==a&&(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 a=$(c).find(".selectpicker");a.length>0&&a.each(function(){$(this).selectpicker("val",""),$(this).selectpicker("deselectAll")}),$(c).find(".input-select2,select[data-selectsplitter-firstselect-selector]").change(),$(c).trigger("formSubmitSuccess",i),n.removeClass(s+"-error").addClass(s+"-success")}else $(c).trigger("formSubmitError",i),n.removeClass(s+"-success").addClass(s+"-error");s&&n.removeClass(s+"-processing").addClass(s+"-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),s=SEMICOLON_portfolioGetPrevItem(e);if(0==i){SEMICOLON_portfolioCloseItem(),$portfolioAjaxLoader.fadeIn();let t=$("#"+e).attr("data-loader");$portfolioDetailsContainer.load(t,{portid:e,portnext:n,portprev:s},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"),s=i.attr("data-animate-out"),a=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=a?Number(a)+500:500,s&&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),s&&setTimeout(function(){i.removeClass(n).addClass(s)},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 s(t,i){this.settings=null,this.options=e.extend({},s.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(s.Plugins,e.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),e.each(s.Workers,e.proxy(function(t,i){this._pipe.push({filter:i.filter,run:e.proxy(i.run,this)})},this)),this.setup(),this.initialize()}s.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"},s.Width={Default:"default",Inner:"inner",Outer:"outer"},s.Type={Event:"event",State:"state"},s.Plugins={},s.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,s={width:"auto","margin-left":n?t:"","margin-right":n?"":t};!i&&this.$stage.children().css(s),e.css=s}},{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,s=!this.settings.autoWidth,a=[];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,a[n]=s?t*i:this._items[n].width();this._widths=a}},{filter:["items","settings"],run:function(){var t=[],i=this._items,n=this.settings,s=Math.max(2*n.items,4),a=2*Math.ceil(i.length/2),r=n.loop&&i.length?n.rewind?s:Math.max(s,a):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,s=0,a=[];++i",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")}}],s.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("
",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},s.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)},s.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")},s.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},s.prototype.setup=function(){var t=this.viewport(),i=this.options.responsive,n=-1,s=null;i?(e.each(i,function(e){e<=t&&e>n&&(n=Number(e))}),"function"==typeof(s=e.extend({},this.options,i[n])).stagePadding&&(s.stagePadding=s.stagePadding()),delete s.responsive,s.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):s=e.extend({},this.options),this.trigger("change",{property:{name:"settings",value:s}}),this._breakpoint=n,this.settings=s,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},s.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},s.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},s.prototype.update=function(){for(var t=0,i=this._pipe.length,n=e.proxy(function(e){return this[e]},this._invalidated),s={};t0)&&this._pipe[t].run(s),t++;this._invalidated={},!this.is("valid")&&this.enter("valid")},s.prototype.width=function(e){switch(e=e||s.Width.Default){case s.Width.Inner:case s.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},s.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")},s.prototype.onThrottledResize=function(){t.clearTimeout(this.resizeTimer),this.resizeTimer=t.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},s.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")))},s.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)))},s.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)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(s.x,0!==n.x?a:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=a,(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"))},s.prototype.closest=function(t,i){var s=-1,a=this.width(),r=this.coordinates();return this.settings.freeDrag||e.each(r,e.proxy(function(e,o){return"left"===i&&t>o-30&&to-a-30&&t",r[e+1]!==n?r[e+1]:o-a)&&(s="left"===i?e+1:e),-1===s},this)),this.settings.loop||(this.op(t,">",r[this.minimum()])?s=t=this.minimum():this.op(t,"<",r[this.maximum()])&&(s=t=this.maximum())),s},s.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"})},s.prototype.is=function(e){return this._states.current[e]&&this._states.current[e]>0},s.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},s.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})},s.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"]))},s.prototype.normalize=function(e,t){var i=this._items.length,s=t?0:this._clones.length;return!this.isNumeric(e)||i<1?e=n:(e<0||e>=i+s)&&(e=((e-s/2)%i+i)%i+s/2),e},s.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},s.prototype.maximum=function(e){var t,i,n,s=this.settings,a=this._coordinates.length;if(s.loop)a=this._clones.length/2+this._items.length-1;else if(s.autoWidth||s.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););a=t+1}else a=s.center?this._items.length-1:this._items.length-s.items;return e&&(a-=this._clones.length/2),Math.max(a,0)},s.prototype.minimum=function(e){return e?0:this._clones.length/2},s.prototype.items=function(e){return e===n?this._items.slice():(e=this.normalize(e,!0),this._items[e])},s.prototype.mergers=function(e){return e===n?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},s.prototype.clones=function(t){var i=this._clones.length/2,s=i+this._items.length,a=function(e){return e%2==0?s+e/2:i-(e+1)/2};return t===n?e.map(this._clones,function(e,t){return a(t)}):e.map(this._clones,function(e,i){return e===t?a(i):null})},s.prototype.speed=function(e){return e!==n&&(this._speed=e),this._speed},s.prototype.coordinates=function(t){var i,s=1,a=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&&(s=-1,a=t+1),i=this._coordinates[t],i+=(this.width()-i+(this._coordinates[a]||0))/2*s):i=this._coordinates[a]||0,i=Math.ceil(i))},s.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)},s.prototype.to=function(e,t){var i=this.current(),n=null,s=e-this.relative(i),a=(s>0)-(s<0),r=this._items.length,o=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(s)>r/2&&(s+=-1*a*r),(n=(((e=i+s)-o)%r+r)%r+o)!==e&&n-s<=l&&n-s>0&&(i=n-s,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()},s.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},s.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},s.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")},s.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},s.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")},s.prototype.add=function(t,i){var s=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[s]&&this.reset(this._items[s].index()),this.invalidate("items"),this.trigger("added",{content:t,position:i})},s.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}))},s.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))},s.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")},s.prototype.op=function(e,t,i){var n=this.settings.rtl;switch(t){case"<":return n?e>i:e":return n?ei;case">=":return n?e<=i:e>=i;case"<=":return n?e>=i:e<=i}},s.prototype.on=function(e,t,i,n){e.addEventListener?e.addEventListener(t,i,n):e.attachEvent&&e.attachEvent("on"+t,i)},s.prototype.off=function(e,t,i,n){e.removeEventListener?e.removeEventListener(t,i,n):e.detachEvent&&e.detachEvent("on"+t,i)},s.prototype.trigger=function(t,i,n,a,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:s.Type.Event,name:t}),this.$element.trigger(c),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,c)),c},s.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))},s.prototype.leave=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]--},this))},s.prototype.register=function(t){if(t.type===s.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===s.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)))},s.prototype.suppress=function(t){e.each(t,e.proxy(function(e,t){this._supress[t]=!0},this))},s.prototype.release=function(t){e.each(t,e.proxy(function(e,t){delete this._supress[t]},this))},s.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},s.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},s.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),a=n.data("owl.carousel");a||(a=new s(this,"object"==typeof t&&t),n.data("owl.carousel",a),e.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,i){a.register({type:s.Type.Event,name:i}),a.$element.on(i+".owl.carousel.core",e.proxy(function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([i]),a[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},a))})),"string"==typeof t&&"_"!==t.charAt(0)&&a[t].apply(a,i)})},e.fn.owlCarousel.Constructor=s}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var s=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({},s.Defaults,this._core.options),this._core.$element.on(this._handlers)};s.Defaults={autoRefresh:!0,autoRefreshInterval:500},s.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=t.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},s.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())},s.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=s}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var s=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,s=i.center&&-1*n||0,a=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+s,r=this._core.clones().length,o=e.proxy(function(e,t){this.load(t)},this);for(i.lazyLoadEager>0&&(n+=i.lazyLoadEager,i.loop&&(a-=i.lazyLoadEager,n++));s++-1||(s.each(e.proxy(function(i,n){var s,a=e(n),r=t.devicePixelRatio>1&&a.attr("data-src-retina")||a.attr("data-src")||a.attr("data-srcset");this._core.trigger("load",{element:a,url:r},"lazy"),a.is("img")?a.one("load.owl.lazy",e.proxy(function(){a.css("opacity",1),this._core.trigger("loaded",{element:a,url:r},"lazy")},this)).attr("src",r):a.is("source")?a.one("load.owl.lazy",e.proxy(function(){this._core.trigger("loaded",{element:a,url:r},"lazy")},this)).attr("srcset",r):((s=new Image).onload=e.proxy(function(){a.css({"background-image":'url("'+r+'")',opacity:"1"}),this._core.trigger("loaded",{element:a,url:r},"lazy")},this),s.src=r)},this)),this._loaded.push(n.get(0)))},s.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=s}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var s=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({},s.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))})};s.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},s.prototype.update=function(){var t=this._core._current,i=t+this._core.settings.items,n=this._core.settings.lazyLoad,s=this._core.$stage.children().toArray().slice(t,i),a=[],r=0;e.each(s,function(t,i){a.push(e(i).height())}),(r=Math.max.apply(null,a))<=1&&n&&this._previousHeight&&(r=this._previousHeight),this._previousHeight=r,this._core.$stage.parent().height(r).addClass(this._core.settings.autoHeightClass)},s.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=s}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var s=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({},s.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))};s.Defaults={video:!1,videoHeight:!1,videoWidth:!1},s.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"),s=e.attr("data-width")||this._core.settings.videoWidth,a=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:s,height:a},t.attr("data-video",r),this.thumbnail(e,this._videos[r])},s.prototype.thumbnail=function(t,i){var n,s,a=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){'
',n=c.lazyLoad?e("
",{class:"owl-video-tn "+l,srcType:i}):e("
",{class:"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),t.after(n),t.after('
')};if(t.wrap(e("
",{class:"owl-video-wrapper",style:a})),this._core.settings.lazyLoad&&(o="data-src",l="owl-lazy"),r.length)return d(r.attr(o)),r.remove(),!1;"youtube"===i.type?(s="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",d(s)):"vimeo"===i.type?e.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){s=e[0].thumbnail_large,d(s)}}):"vzaar"===i.type&&e.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){s=e.framegrab_url,d(s)}})},s.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")},s.prototype.play=function(t){var i,n=e(t.target).closest("."+this._core.settings.itemClass),s=this._videos[n.attr("data-video")],a=s.width||"100%",r=s.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('')).attr("height",r),i.attr("width",a),"youtube"===s.type?i.attr("src","//www.youtube.com/embed/"+s.id+"?autoplay=1&rel=0&v="+s.id):"vimeo"===s.type?i.attr("src","//player.vimeo.com/video/"+s.id+"?autoplay=1"):"vzaar"===s.type&&i.attr("src","//view.vzaar.com/"+s.id+"/player?autoplay=true"),e(i).wrap('
').insertAfter(n.find(".owl-video")),this._playing=n.addClass("owl-video-playing"))},s.prototype.isInFullScreen=function(){var t=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return t&&e(t).parent().hasClass("owl-video-frame")},s.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=s}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var s=function(t){this.core=t,this.core.options=e.extend({},s.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)};s.Defaults={animateOut:!1,animateIn:!1},s.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),s=this.core.$stage.children().eq(this.next),a=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)),a&&s.one(e.support.animation.end,i).addClass("animated owl-animated-in").addClass(a))}},s.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()},s.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=s}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var s=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({},s.Defaults,this._core.options)};s.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},s.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)},s.prototype.read=function(){return(new Date).getTime()-this._time},s.prototype.play=function(i,n){var s;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,s=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-s,this._timeout=i,this._call=t.setTimeout(e.proxy(this._next,this,n),i-s)},s.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,t.clearTimeout(this._call),this._core.leave("rotating"))},s.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,t.clearTimeout(this._call))},s.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=s}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){"use strict";var s=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('
'+e(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},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({},s.Defaults,this._core.options),this.$element.on(this._handlers)};s.Defaults={nav:!1,navText:['',''],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},s.prototype.initialize=function(){var t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?e(i.navContainer):e("
").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('',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 s,a=l?n.data("magnificPopup"):n[0].magnificPopup,r=parseInt(arguments[1],10)||0;a.items?s=a.items[r]:(s=n,a.delegate&&(s=s.find(a.delegate)),s=s.eq(r)),t._openClick({mfpEl:s},n,a)}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 s=t.st.inline,a=e(i.src);if(a.length){var r=a[0].parentNode;r&&r.tagName&&(g||(m=s.hiddenClass,g=u(m),m="mfp-"+m),v=a.after(g).detach().removeClass(m)),t.updateStatus("ready")}else t.updateStatus("error",s.tNotFound),a=e("
");return i.inlineElement=a,a}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:'The content 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,s,a){var r={data:n,xhr:a};p("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"),p("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:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image 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,p("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],s=function(a){T&&clearInterval(T),T=setInterval(function(){n.naturalWidth>0?t._onImageHasSize(e):(i>200&&clearInterval(T),3==++i?s(10):40===i?s(50):100===i&&s(500))},a)};s(1)},getImage:function(i,n){var s=0,a=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,p("ImageLoadComplete")):++s<200?setTimeout(a,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",a).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 s,a,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,s={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},a="transition";return s["-webkit-"+a]=s["-moz-"+a]=s["-o-"+a]=s[a]=n,t.css(s),t},l=function(){t.content.css("visibility","visible")};d("BuildControls"+n,function(){if(t._allowZoom()){if(clearTimeout(s),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void l();(a=o(e)).css(t._getOffset()),t.wrap.append(a),s=setTimeout(function(){a.css(t._getOffset(!0)),s=setTimeout(function(){l(),setTimeout(function(){a.remove(),e=a=null,p("ZoomAnimationEnded")},16)},r)},16)}}),d("BeforeClose"+n,function(){if(t._allowZoom()){if(clearTimeout(s),t.st.removalDelay=r,!e){if(!(e=t._getItemToZoom()))return;a=o(e)}a.css(t._getOffset(!0)),t.wrap.append(a),t.content.css("visibility","hidden"),setTimeout(function(){a.css(t._getOffset())},16)}}),d("Close"+n,function(){t._allowZoom()&&(l(),a&&a.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(i){var n,s=(n=i?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),a=parseInt(n.css("padding-top"),10),r=parseInt(n.css("padding-bottom"),10);s.top-=e(window).scrollTop()-a;var o={width:n.width(),height:(l?n.innerHeight():n[0].offsetHeight)-r-a};return void 0===x&&(x=void 0!==document.createElement("p").style.MozTransform),x?o["-moz-transform"]=o.transform="translate("+s.left+"px,"+s.top+"px)":(o.left=s.left,o.top=s.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:'
',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 s=i.src,a=t.st.iframe;e.each(a.patterns,function(){if(s.indexOf(this.index)>-1)return this.id&&(s="string"==typeof this.id?s.substr(s.lastIndexOf(this.id)+this.id.length,s.length):this.id.call(this,s)),s=this.src.replace("%id%",s),!1});var r={};return a.srcAction&&(r[a.srcAction]=s),t._parseMarkup(n,r,i),t.updateStatus("ready"),n}}});var P=function(e){var i=t.items.length;return e>i-1?e-i:e<0?i+e:e},E=function(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',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,s=".mfp-gallery";if(t.direction=!0,!i||!i.enabled)return!1;a+=" mfp-gallery",d("Open"+s,function(){i.navigateByImgClick&&t.wrap.on("click"+s,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),n.on("keydown"+s,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),d("UpdateStatus"+s,function(e,i){i.text&&(i.text=E(i.text,t.currItem.index,t.items.length))}),d("MarkupParse"+s,function(e,n,s,a){var r=t.items.length;s.counter=r>1?E(i.tCounter,a.index,r):""}),d("BuildControls"+s,function(){if(t.items.length>1&&i.arrows&&!t.arrowLeft){var n=i.arrowMarkup,s=t.arrowLeft=e(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass("mfp-prevent-close"),a=t.arrowRight=e(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass("mfp-prevent-close");s.click(function(){t.prev()}),a.click(function(){t.next()}),t.container.append(s.add(a))}}),d("Change"+s,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),d("Close"+s,function(){n.off(s),t.wrap.off("click"+s),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=P(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=P(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),s=Math.min(i[1],t.items.length);for(e=1;e<=(t.direction?s:n);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?n:s);e++)t._preloadItem(t.index-e)},_preloadItem:function(i){if(i=P(i),!t.items[i].preloaded){var n=t.items[i];n.parsed||(n=t.parseEl(i)),p("LazyLoad",n),"image"===n.type&&(n.img=e('').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,p("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,s=$("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(),SEMICOLON.widget.cartQuantity()},open:function(){s.addClass("ohidden")},close:function(){s.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(),SEMICOLON.widget.cartQuantity()},open:function(){s.addClass("ohidden")},close:function(){s.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,s=e.attr("data-timeout"),a=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-escape-key")||"true",d=e.attr("data-cookies"),u=e.attr("data-cookie-path"),p=e.attr("data-cookie-expire");if("false"==d&&Cookies.remove(i),"true"==d){let e=Cookies.get(i);if(void 0!==e&&"0"==e)return!0}o="false"!=o,c="false"!=c,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,enableEscapeKey:c,removalDelay:500,callbacks:{open:function(){""!=a&&$(t).addClass(a+" animated")},beforeClose:function(){""!=r&&$(t).removeClass(a).addClass(r)},afterClose:function(){if(""==a&&""==r||$(t).removeClass(a+" "+r+" animated"),"true"==d){let e={};p&&(e.expires=Number(p)),u&&(e.path=u),Cookies.set(i,"0",e)}}}},0)},n),""!=s&&setTimeout(function(){$.magnificPopup.close()},n+Number(s))})},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.max6*(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 a,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,s){return new e.Color.fn.parse(t,i,n,s)},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={},p=e("

")[0],h=e.each;p.style.cssText="background-color:rgba(1,1,1,.5)",u.rgba=p.style.backgroundColor.indexOf("rgba")>-1,h(c,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),l.fn=e.extend(l.prototype,{parse:function(s,r,o,d){if(s===t)return this._rgba=[null,null,null,null],this;(s.jquery||s.nodeType)&&(s=e(s).css(r),r=t);var u=this,p=e.type(s),f=this._rgba=[];return r!==t&&(s=[s,r,o,d],p="array"),"string"===p?this.parse(n(s)||a._default):"array"===p?(h(c.rgba.props,function(e,t){f[t.idx]=i(s[t.idx],t)}),this):"object"===p?(h(c,s instanceof l?function(e,t){s[t.cache]&&(u[t.cache]=s[t.cache].slice())}:function(t,n){var a=n.cache;h(n.props,function(e,t){if(!u[a]&&n.to){if("alpha"===e||null==s[e])return;u[a]=n.to(u._rgba)}u[a][t.idx]=i(s[e],t,!0)}),u[a]&&e.inArray(null,u[a].slice(0,3))<0&&(u[a][3]=1,n.from&&(u._rgba=n.from(u[a])))}),this):void 0},is:function(e){var t=l(e),i=!0,n=this;return h(c,function(e,s){var a,r=t[s.cache];return r&&(a=n[s.cache]||s.to&&s.to(n._rgba)||[],h(s.props,function(e,t){return null!=r[t.idx]?i=r[t.idx]===a[t.idx]:void 0})),i}),i},_space:function(){var e=[],t=this;return h(c,function(i,n){t[n.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var n=l(e),s=n._space(),a=c[s],r=0===this.alpha()?l("transparent"):this,o=r[a.cache]||a.to(r._rgba),u=o.slice();return n=n[a.cache],h(a.props,function(e,s){var a=s.idx,r=o[a],l=n[a],c=d[s.type]||{};null!==l&&(null===r?u[a]=l:(c.mod&&(l-r>c.mod/2?r+=c.mod:r-l>c.mod/2&&(r-=c.mod)),u[a]=i((l-r)*t+r,s)))}),this[s](u)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),s=l(t)._rgba;return l(e.map(i,function(e,t){return(1-n)*s[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,s=e[1]/255,a=e[2]/255,r=e[3],o=Math.max(n,s,a),l=Math.min(n,s,a),c=o-l,d=o+l,u=.5*d;return t=l===o?0:n===o?60*(s-a)/c+360:s===o?60*(a-n)/c+120:60*(n-s)/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],a=e[3],r=.5>=n?n*(1+i):n+i-n*i,o=2*n-r;return[Math.round(255*s(o,r,t+1/3)),Math.round(255*s(o,r,t)),Math.round(255*s(o,r,t-1/3)),a]},h(c,function(n,s){var a=s.props,o=s.cache,c=s.to,d=s.from;l.fn[n]=function(n){if(c&&!this[o]&&(this[o]=c(this._rgba)),n===t)return this[o].slice();var s,r=e.type(n),u="array"===r||"object"===r?n:arguments,p=this[o].slice();return h(a,function(e,t){var n=u["object"===r?e:t.idx];null==n&&(n=p[t.idx]),p[t.idx]=i(n,t)}),d?((s=l(d(p)))[o]=p,s):l(p)},h(a,function(t,i){l.fn[t]||(l.fn[t]=function(s){var a,o=e.type(s),l="alpha"===t?this._hsla?"hsla":"rgba":n,c=this[l](),d=c[i.idx];return"undefined"===o?d:("function"===o&&(s=s.call(this,d),o=e.type(s)),null==s&&i.empty?this:("string"===o&&((a=r.exec(s))&&(s=d+parseFloat(a[2])*("+"===a[1]?1:-1))),c[i.idx]=s,this[l](c)))})})}),l.hook=function(t){var i=t.split(" ");h(i,function(t,i){e.cssHooks[i]={set:function(t,s){var a,r,o="";if("transparent"!==s&&("string"!==e.type(s)||(a=n(s)))){if(s=l(a||s),!u.rgba&&1!==s._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){}s=s.blend(o&&"transparent"!==o?o:"_default")}s=s.toRgbaString()}try{t.style[i]=s}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 h(["Top","Right","Bottom","Left"],function(i,n){t["border"+n+"Color"]=e}),t}},a=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),s=t.attr("data-offset")||SEMICOLON.initialize.topScrollOffset(),a=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"),p=t.attr("data-offset-xs");return p||(p=s),u||(u=p),d||(d=u),c||(c=d),l||(l=c),o||(o=l),$bodyLs.hasClass("device-xxl")?s=o:$bodyLs.hasClass("device-xl")?s=l:$bodyLs.hasClass("device-lg")?s=c:$bodyLs.hasClass("device-md")?s=d:$bodyLs.hasClass("device-sm")?s=u:$bodyLs.hasClass("device-xs")&&(s=p),i.offset=Number(s),i.speed=n,i.easing=a,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 a").append(' '),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 s=$(this);e.find("ul li").not(s.parents()).removeClass("active"),s.parent().children("ul").slideToggle(Number(t),i,function(){$(this).find("ul").hide(),$(this).find("li.active").removeClass("active")}),e.find("ul li > ul").not(s.parent().children("ul")).not(s.parents("ul")).slideUp(Number(t),i),s.parent("li:has(ul)").toggleClass("active"),n.preventDefault()})})},window.scwNotificationPlugin=window.scwNotificationPlugin||{},window.SEMICOLON_notificationInit=function(e){let t,i,n,s=e=e.filter(":not(.customjs)"),a=s.attr("data-notify-position")||"top-right",r=s.attr("data-notify-type"),o=s.attr("data-notify-msg")||"Please set a message!",l=s.attr("data-notify-timeout")||5e3,c=s.attr("data-notify-close")||"true",d=s.attr("data-notify-autohide")||"true",u="toast-"+Math.floor(1e4*Math.random()),p=s.attr("data-notify-trigger")||"self",h=s.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(a){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=''),d="true"==d;let m='

";"self"==p&&(h||(s.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=s.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]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return''+e+""}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+''+e.substring(1)+""});t.push('
  • ")}return t.join("")}function sm_format_twitter2(e){for(var t=[],i=0;i]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return''+e+""}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+''+e.substring(1)+""});t.push('")}return t.join("")}function sm_format_twitter3(e){for(var t=[],i=0;i]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return''+e+""}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+''+e.substring(1)+""});t.push('")}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,s=parseInt((n.getTime()-i)/1e3);return(s+=60*n.getTimezoneOffset())<60?"less than a minute ago":s<120?"about a minute ago":s<3600?parseInt(s/60).toString()+" minutes ago":s<7200?"about an hour ago":s<86400?"about "+parseInt(s/3600).toString()+" hours ago":s<172800?"1 day ago":parseInt(s/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 s=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(s.offset)},Number(s.speed),s.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")),s=i.offset().top-n.offset-5,a=windowEl.scrollTop();a>=s&&a0)||a&&this.length?(n.optionCheck.call(this,s)&&e("."+s.overlayClass).length<=0&&n.addOverlay.call(this,s),s.loading&&e("."+s.loadingClass).length<=0&&n.addLoading.call(this,s),this.each(function(){var a=this,r=e(this),o=e(window),l=e(document);r.data(i)||(s=e.extend({},s),r.data(i,{options:s}),s.timeout&&n.addTimer.call(a),s.onLoadEvent&&(t?(n.settings.timer&&clearTimeout(n.settings.timer),n.in.call(a)):o.on("load."+i,function(){n.settings.timer&&clearTimeout(n.settings.timer),n.in.call(a)})),o.on("pageshow."+i,function(e){e.originalEvent.persisted&&n.in.call(a)}),o.on("unload."+i,function(){}),l.on("click."+i,s.linkElement,function(t){t.preventDefault();var i=e(this),s=i.attr("href");2===t.which||t.metaKey||t.shiftKey||-1!==navigator.platform.toUpperCase().indexOf("WIN")&&t.ctrlKey?window.open(s,"_blank"):n.out.call(a,i,s)}))})):("console"in window||(window.console={},window.console.log=function(e){return e}),this.length||console.log("Animsition: Element does not exist on page."),a||console.log("Animsition: Does not support this browser."),n.destroy.call(this))},addOverlay:function(t){e(t.overlayParentElement).prepend('
    ')},addLoading:function(t){e(t.loadingParentElement).append('
    '+t.loadingInner+"
    ")},removeLoading:function(){var t=e(this).data(i).options;e(t.loadingParentElement).children("."+t.loadingClass).fadeOut().remove()},addTimer:function(){var t=this,s=e(this).data(i).options;n.settings.timer=setTimeout(function(){n.in.call(t),e(window).off("load."+i)},s.timeoutCountdown)},supportCheck:function(t){var i=e(this),n=t.browser,s=n.length,a=!1;0===s&&(a=!0);for(var r=0;s>r;r++)if("string"==typeof i.css(n[r])){a=!0;break}return a},optionCheck:function(t){var i=e(this);return!(!t.overlay&&!i.data(n.settings.data.overlay))},animationCheck:function(t,n,s){var a=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&&s?t=a.inClass:!n&&s?t=a.inDuration:n&&!s?t=a.outClass:n||s||(t=a.outDuration),t},in:function(){var t=this,s=e(this),a=s.data(i).options,r=s.data(n.settings.data.inDuration),o=s.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,a),u=s.data(i).outClass;a.loading&&n.removeLoading.call(t),u&&s.removeClass(u),d?n.inOverlay.call(t,c,l):n.inDefault.call(t,c,l)},inDefault:function(t,i){var s=e(this);s.css({"animation-duration":i+"ms"}).addClass(t).trigger(n.settings.events.inStart).animateCallback(function(){s.removeClass(t).css({opacity:1}).trigger(n.settings.events.inEnd)})},inOverlay:function(t,s){var a=e(this),r=a.data(i).options;a.css({opacity:1}).trigger(n.settings.events.inStart),e(r.overlayParentElement).children("."+r.overlayClass).css({"animation-duration":s+"ms"}).addClass(t).animateCallback(function(){a.trigger(n.settings.events.inEnd)})},out:function(t,s){var a=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),p=l||c,h=d||u,f=n.animationCheck.call(a,p,!0,!1),m=n.animationCheck.call(a,h,!1,!1),g=n.optionCheck.call(a,o);r.data(i).outClass=f,g?n.outOverlay.call(a,f,m,s):n.outDefault.call(a,f,m,s)},outDefault:function(t,s,a){var r=e(this),o=r.data(i).options;r.css({"animation-duration":s+1+"ms"}).addClass(t).trigger(n.settings.events.outStart).animateCallback(function(){r.trigger(n.settings.events.outEnd),o.transition(a)})},outOverlay:function(t,s,a){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":s+1+"ms"}).removeClass(c).addClass(t).trigger(n.settings.events.outStart).animateCallback(function(){r.trigger(n.settings.events.outEnd),o.transition(a)})},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",s=t.attr("data-animation-out")||"fadeOut",a=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"),p="",h="",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"'):(h=' style="background-color:'+d+';"',f=' style="border-color:'+d+';"')),p="2"==c?'
    ":"3"==c?'
    ":"4"==c?'
    ":"5"==c?'
    ":"6"==c?'
    ":"7"==c?'
    ":"8"==c?'
    ":"9"==c?'
    ":"10"==c?'
    ":"11"==c?'
    ":"12"==c?'
    ":"13"==c?'
    ":"14"==c?'
    ":'
    ",u||(u=p),u='
    '+u+"
    ",i.css({opacity:1}),i.animsition({inClass:n,outClass:s,inDuration:Number(a),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(s=t.documentElement,a=t.body,R(),ne=this,le=(i=i||{}).constants||{},i.easing)for(var n in i.easing)q[n]=i.easing[n];me=i.edgeStrategy||"set",re={beforerender:i.beforerender,render:i.render,keyframe:i.keyframe},(oe=!1!==i.forceHeight)&&(je=i.scale||1),ce=i.mobileDeceleration||x,ue=!1!==i.smoothScrolling,pe=i.smoothScrollingDuration||S,he={targetTop:ne.getScrollTop()},(Be=(i.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||e.opera)})())?((ae=t.getElementById(i.skrollrBody||C))&&ie(),W(),Pe(s,[y,_],[b])):Pe(s,[y,w],[b]),ne.refresh(),ye(e,"resize orientationchange",function(){var e=s.clientWidth,t=s.clientHeight;(t!==Ye||e!==ze)&&(Ye=t,ze=e,De=!0)});var r=F();return function e(){U(),ve=r(e)}(),ne}var s,a,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",p="touchcancel",h="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,P="center",E="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))?$/,j=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,A=/^(@?[a-z\-]+)\[(\w+)\]$/,L=/-([a-z0-9_])/g,$=function(e,t){return t.toUpperCase()},z=/[\-+]?[\d]*\.?[\d]+/g,Y=/\{\?\}/g,D=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,N=/[a-z\-]+-gradient/g,B="",Q="",R=function(){var e=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(c){var t=c(a,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,s=l.max(0,1e3/60-n);return e.setTimeout(function(){i=Me(),t()},s)}),t},H=function(){var t=e.cancelAnimationFrame||e[B.toLowerCase()+"CancelAnimationFrame"];return(Be||!t)&&(t=function(t){return e.clearTimeout(t)}),t},q={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,s,a=!1;for(e===i?(a=!0,se=[],Ne=0,e=t.getElementsByTagName("*")):e.length===i&&(e=[e]),n=0,s=e.length;s>n;n++){var r=e[n],o=r,l=[],c=ue,d=me,u=!1;if(a&&k in r&&delete r[k],r.attributes){for(var p=0,h=r.attributes.length;h>p;p++){var m=r.attributes[p];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(L,$)};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*je))}}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)!a&&k in r?(C=r[k],T=se[C].styleAttr,x=se[C].classAttr):(C=r[k]=Ne++,T=r.style.cssText,x=Se(r)),se[C]={element:r,styleAttr:T,classAttr:x,anchorTarget:o,keyFrames:l,smoothScrolling:c,edgeStrategy:d,emitEvents:u,lastFrameIndex:-1},Pe(r,[f],[])}}for(Te(),n=0,s=e.length;s>n;n++){var S=se[e[n][k]];S!==i&&(G(S),K(S))}return ne},n.prototype.relativeToAbsolute=function(e,t,i){var n=s.clientHeight,a=e.getBoundingClientRect(),r=a.top,o=a.bottom-a.top;return t===E?r-=n:t===P&&(r-=n/2),i===E?r+=o:i===P&&(r+=o/2),(r+=ne.getScrollTop())+.5|0},n.prototype.animateTo=function(e,t){t=t||{};var n=Me(),s=ne.getScrollTop(),a=t.duration===i?1e3:t.duration;return(de={startTop:s,topDiff:e-s,targetTop:e,duration:a,startTime:n,endTime:n+a,easing:q[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||s.scrollTop||a.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(),Pe(s,[b],[y,w,_]);for(var e=0,t=se.length;t>e;e++)te(se[e].element);s.style.overflow=a.style.overflow="",s.style.height=a.style.height="",ae&&r.setStyle(ae,"transform","none"),ne=i,ae=i,re=i,oe=i,Oe=0,je=1,le=i,ce=i,Ae="down",Le=-1,ze=0,Ye=0,De=!1,de=i,ue=i,pe=i,he=i,fe=i,Ne=0,me=i,Be=!1,Qe=0,ge=i};var W=function(){var n,r,o,c,f,m,g,v,y,b,w;ye(s,[d,u,p,h].join(" "),function(e){var s=e.changedTouches[0];for(c=e.target;3===c.nodeType;)c=c.parentNode;switch(f=s.clientY,m=s.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 p:case h:var a=r-f,_=o-m;if(49>_*_+a*a){if(!M.test(n.tagName)){n.focus();var T=t.createEvent("MouseEvents");T.initMouseEvent("click",!0,!0,e.view,1,s.screenX,s.screenY,s.clientX,s.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,P=ne.getScrollTop()-S,E=0;P>Oe?(E=(Oe-P)/S,P=Oe):0>P&&(E=-P/S,P=0),C*=1-E,ne.animateTo(P+.5|0,{easing:"outCubic",duration:C})}}),e.scrollTo(0,0),s.style.overflow=a.style.overflow="hidden"},V=function(e,t){for(var i=0,n=se.length;n>i;i++){var s,a,l=se[i],c=l.element,d=l.smoothScrolling?e:t,u=l.keyFrames,p=u.length,h=u[0],y=u[u.length-1],b=dy.frame,_=b?h:y,T=l.emitEvents,x=l.lastFrameIndex;if(b||w){if(b&&-1===l.edge||w&&1===l.edge)continue;switch(b?(Pe(c,[m],[v,g]),T&&x>-1&&(_e(c,h.eventType,Ae),l.lastFrameIndex=-1)):(Pe(c,[v],[m,g]),T&&p>x&&(_e(c,y.eventType,Ae),l.lastFrameIndex=p)),l.edge=b?-1:1,l.edgeStrategy){case"reset":te(c);continue;case"ease":d=_.frame;break;default:case"set":var C=_.props;for(s in C)o.call(C,s)&&(a=ee(C[s].value),0===s.indexOf("@")?c.setAttribute(s.substr(1),a):r.setStyle(c,s,a));continue}}else 0!==l.edge&&(Pe(c,[f,g],[m,v]),l.edge=0);for(var S=0;p-1>S;S++)if(d>=u[S].frame&&d<=u[S+1].frame){var P=u[S],E=u[S+1];for(s in P.props)if(o.call(P.props,s)){var k=(d-P.frame)/(E.frame-P.frame);k=P.props[s].easing(k),a=J(P.props[s].value,E.props[s].value,k),a=ee(a),0===s.indexOf("@")?c.setAttribute(s.substr(1),a):r.setStyle(c,s,a)}T&&x!==S&&(_e(c,"down"===Ae?P.eventType:E.eventType,Ae),l.lastFrameIndex=S);break}}},U=function(){De&&(De=!1,Te());var e,t,n=ne.getScrollTop(),s=Me();if(de)s>=de.endTime?(n=de.targetTop,e=de.done,de=i):(t=de.easing((s-de.startTime)/de.duration),n=de.startTop+t*de.topDiff|0),ne.setScrollTop(n,!0);else if(!fe){he.targetTop-n&&(he={startTop:Le,topDiff:n-Le,targetTop:n,startTime:$e,endTime:$e+pe}),s<=he.endTime&&(t=q.sqrt((s-he.startTime)/pe),n=he.startTop+t*he.topDiff|0)}if(fe||Le!==n){fe=!1;var a={curTop:n,lastTop:Le,maxTop:Oe,direction:Ae=n>Le?"down":Le>n?"up":Ae};!1!==(re.beforerender&&re.beforerender.call(ne,a))&&(V(n,ne.getScrollTop()),Be&&ae&&r.setStyle(ae,"transform","translate(0, "+-Qe+"px) "+ge),Le=n,re.render&&re.render.call(ne,a)),e&&e.call(ne,!1)}$e=s},G=function(e){for(var t=0,i=e.keyFrames.length;i>t;t++){for(var n,s,a,r,o=e.keyFrames[t],l={};null!==(r=j.exec(o.props));)a=r[1],s=r[2],null!==(n=a.match(A))?(a=n[1],n=n[2]):n=T,s=s.indexOf("!")?X(s):[s.slice(1)],l[a]={value:s,easing:q[n]};o.props=l}},X=function(e){var t=[];return D.lastIndex=0,e=e.replace(D,function(e){return e.replace(z,function(e){return e/255*100+"%"})}),Q&&(N.lastIndex=0,e=e.replace(N,function(e){return Q+e})),e=e.replace(z,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,s=e.length;if(s!==t.length)throw"Can't interpolate between \""+e[0]+'" and "'+t[0]+'"';var a=[e[0]];for(n=1;s>n;n++)a[n]=e[n]+(t[n]-e[n])*i;return a},ee=function(e){var t=1;return Y.lastIndex=0,e[0].replace(Y,function(){return e[t++]})},te=function(e,t){for(var i,n,s=0,a=(e=[].concat(e)).length;a>s;s++)n=e[s],(i=se[n[k]])&&(t?(n.style.cssText=i.dirtyStyleAttr,Pe(n,i.dirtyClassAttr)):(i.dirtyStyleAttr=n.style.cssText,i.dirtyClassAttr=Se(n),n.style.cssText=i.styleAttr,Pe(n,i.classAttr)))},ie=function(){ge="translateZ(0)",r.setStyle(ae,"transform",ge);var e=c(ae),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(L,$).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,se,ae,re,oe,le,ce,de,ue,pe,he,fe,me,ge,ve,ye=r.addEvent=function(t,i,n){for(var s,a=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++)s=i[r],t.addEventListener?t.addEventListener(s,n,!1):t.attachEvent("on"+s,a),Re.push({element:t,name:s,listener:n})},be=r.removeEvent=function(e,t,i){for(var n=0,s=(t=t.split(" ")).length;s>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&&(a.style.height=""),function(){var e,t,i,n,a,r,o,c,d,u,p,h=s.clientHeight,f=xe();for(c=0,d=se.length;d>c;c++)for(t=(e=se[c]).element,i=e.anchorTarget,a=0,r=(n=e.keyFrames).length;r>a;a++)u=(o=n[a]).offset,p=f[o.constant]||0,o.frame=u,o.isPercentage&&(u*=h,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+=p,oe&&!o.isEnd&&o.frame>Oe&&(Oe=o.frame);for(Oe=l.max(Oe,Ce()),c=0,d=se.length;d>c;c++){for(a=0,r=(n=(e=se[c]).keyFrames).length;r>a;a++)p=f[(o=n[a]).constant]||0,o.isEnd&&(o.frame=Oe-o.offset+p);e.keyFrames.sort(Ie)}}(),oe&&!Be&&(a.style.height=Oe+s.clientHeight+"px"),Be?ne.setScrollTop(l.min(ne.getScrollTop(),Oe)):ne.setScrollTop(e,!0),fe=!0},xe=function(){var e,t,i=s.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 ae&&(e=l.max(ae.offsetHeight,ae.scrollHeight)),l.max(e,a.scrollHeight,a.offsetHeight,s.scrollHeight,s.offsetHeight,s.clientHeight)-s.clientHeight},Se=function(t){var i="className";return e.SVGElement&&t instanceof e.SVGElement&&(t=t[i],i="baseVal"),t[i]},Pe=function(t,n,s){var a="className";if(e.SVGElement&&t instanceof e.SVGElement&&(t=t[a],a="baseVal"),s!==i){for(var r=t[a],o=0,l=s.length;l>o;o++)r=ke(r).replace(ke(s[o])," ");r=Ee(r);for(var c=0,d=n.length;d>c;c++)-1===ke(r).indexOf(ke(n[c]))&&(r+=" "+n[c]);t[a]=Ee(r)}else t[a]=n},Ee=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,je=1,Ae="down",Le=-1,$e=Me(),ze=0,Ye=0,De=!1,Ne=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 s=n.getContext("2d");n.width=n.height=t.size;var a=1;window.devicePixelRatio>1&&(a=window.devicePixelRatio,n.style.width=n.style.height=[t.size,"px"].join(""),n.width=n.height=t.size*a,s.scale(a,a)),s.translate(t.size/2,t.size/2),s.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));s.beginPath(),s.arc(0,0,r,0,2*Math.PI*i,n),s.strokeStyle=e,s.lineWidth=t,s.stroke()},l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},c=function(){t.scaleColor&&function(){var e,i;s.lineWidth=1,s.fillStyle=t.scaleColor,s.save();for(var n=24;n>0;--n)n%6==0?(i=t.scaleLength,e=0):(i=.6*t.scaleLength,e=t.scaleLength-i),s.fillRect(-t.size/2+e,0,i,1),s.rotate(Math.PI/12);s.restore()}(),t.trackColor&&o(t.trackColor,t.trackWidth||t.lineWidth,1)};this.getCanvas=function(){return n},this.getCtx=function(){return s},this.clear=function(){s.clearRect(t.size/-2,t.size/-2,t.size,t.size)},this.draw=function(e){var n;t.scaleColor||t.trackColor?s.getImageData&&s.putImageData?i?s.putImageData(i,0,0):(c(),i=s.getImageData(0,0,t.size*a,t.size*a)):(this.clear(),c()):this.clear(),s.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 s=function(){var a=Math.min(Date.now()-n,t.animate.duration),r=t.easing(this,a,e,i-e,t.animate.duration);this.draw(r),t.onStep(e,i,r),a>=t.animate.duration?t.onStop(e,i):l(s)}.bind(this);l(s)}.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,s){return 1>(t/=s/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 s={},a=0,r=function(){for(var t in this.el=e,this.options=s,n)n.hasOwnProperty(t)&&(s[t]=i&&void 0!==i[t]?i[t]:n[t],"function"==typeof s[t]&&(s[t]=s[t].bind(this)));"string"==typeof s.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[s.easing])?s.easing=jQuery.easing[s.easing]:s.easing=n.easing,"number"==typeof s.animate&&(s.animate={duration:s.animate,enabled:!0}),"boolean"!=typeof s.animate||s.animate||(s.animate={duration:1e3,enabled:s.animate}),this.renderer=new s.renderer(e,s),this.renderer.draw(a),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),s.animate.enabled?this.renderer.animate(a,e):this.renderer.draw(e),a=e,this}.bind(this),this.disableAnimation=function(){return s.animate.enabled=!1,this},this.enableAnimation=function(){return s.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,s=e.attr("data-color")||"#0093BF",a=e.attr("data-trackcolor")||"rgba(0,0,0,0.04)",r={size:Number(t),speed:Number(i),width:Number(n),color:s,trackcolor:a};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,s){t.find(".pts-left,.pts-right").removeClass(s).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(s),i.find(".pts-switch-content-right").removeClass("d-none")):(t.find(".pts-left").removeClass(n).addClass(s),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",s=$(t.attr("data-container"));SEMICOLON_pricingSwitcherFn(e,t,s,i,n),e.on("change",function(){SEMICOLON_pricingSwitcherFn(e,t,s,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,s){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")),s.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,s=e.attr("data-readmore-trigger")||".read-more-trigger",a=e.attr("data-readmore-trigger-open")||"Read More",r=e.attr("data-readmore-trigger-close")||"Read Less";(s=e.find(s)).html(a),n=Number(n),e.addClass("read-more-wrap").css({height:i,"-webkit-transition-duration":n+"ms","transition-duration":n+"ms"}).append('
    ');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"),s.off("click").on("click",function(){if(e.hasClass("read-more-wrap-open"))e.css({height:i}).removeClass("read-more-wrap-open"),setTimeout(function(){s.html(a)},n),"true"==l&&o.fadeIn(n);else{"false"==r&&s.remove();let i=t+s.outerHeight();e.css({height:i,overflow:""}).addClass("read-more-wrap-open"),setTimeout(function(){s.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),s=n.attr("data-shape")||"valley",a=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="",p="";a<100&&(a=100),e="width: calc( "+Number(a)+"% + 1.5px );",t="height: "+Number(r)+"px;",i="fill: "+o+";","true"==l&&(p="bottom"==c?"#"+d+".shape-divider { bottom: -"+(Number(r)-1)+"px; } ":"#"+d+".shape-divider { top: -"+(Number(r)-1)+"px; } ");let h=p+"#"+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(h)),n.attr("id",d),s){case"valley":u='';break;case"valley-2":u='';break;case"valley-3":u='';break;case"mountain":u='';break;case"mountain-2":u='';break;case"mountain-3":u='';break;case"mountain-4":u='';break;case"mountain-5":u='';break;case"mountains":u='';break;case"mountains-2":u='';break;case"mountains-3":u='';break;case"mountains-4":u='';break;case"plataeu":u='';break;case"plataeu-2":u='';break;case"hills":u='';break;case"hills-2":u='';break;case"hills-3":u='';break;case"hills-4":u='';break;case"cloud":u='';break;case"cloud-2":u='';break;case"cloud-3":u='';break;case"wave":u='';break;case"wave-2":u='';break;case"wave-3":u='';break;case"wave-4":u='';break;case"wave-5":u='';break;case"wave-6":u='';break;case"slant":u='';break;case"slant-2":u='';break;case"slant-3":u='';break;case"rounded":u='';break;case"rounded-2":u='';break;case"rounded-3":u='';break;case"rounded-4":u='';break;case"rounded-5":u='';break;case"triangle":u='';break;case"drops":u='';break;case"cliff":u='';break;case"zigzag":u='';break;case"illusion":u='';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().scwStickySidebar:after {content: ""; display: table; clear: both;}')),i.each(function(){function i(){s.fixedScrollTop=0,s.sidebar.css({"min-height":"1px"}),s.stickySidebar.css({position:"static",width:"",transform:"none"})}var s={};if(s.sidebar=e(this),s.options=t||{},s.container=e(s.options.containerSelector),0==s.container.length&&(s.container=s.sidebar.parent()),s.sidebar.parents().css("-webkit-transform","none"),s.sidebar.css({position:s.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),s.stickySidebar=s.sidebar.find(".scwStickySidebar"),0==s.stickySidebar.length){var a=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i;s.sidebar.find("script").filter(function(e,t){return 0===t.type.length||t.type.match(a)}).remove(),s.stickySidebar=e("
    ").addClass("scwStickySidebar").append(s.sidebar.children()),s.sidebar.append(s.stickySidebar)}s.marginBottom=parseInt(s.sidebar.css("margin-bottom")),s.paddingTop=parseInt(s.sidebar.css("padding-top")),s.paddingBottom=parseInt(s.sidebar.css("padding-bottom"));var r=s.stickySidebar.offset().top,o=s.stickySidebar.outerHeight();s.stickySidebar.css("padding-top",1),s.stickySidebar.css("padding-bottom",1),r-=s.stickySidebar.offset().top,o=s.stickySidebar.outerHeight()-o-r,0==r?(s.stickySidebar.css("padding-top",0),s.stickySidebarPaddingTop=0):s.stickySidebarPaddingTop=1,0==o?(s.stickySidebar.css("padding-bottom",0),s.stickySidebarPaddingBottom=0):s.stickySidebarPaddingBottom=1,s.previousScrollTop=null,s.fixedScrollTop=0,i(),s.onScroll=function(s){if(s.stickySidebar.is(":visible")){if(e("body").width()s.container.width())return void i()}var r=e(document).scrollTop(),o="static";if(r>=s.sidebar.offset().top+(s.paddingTop-s.options.additionalMarginTop)){var l,c=s.paddingTop+t.additionalMarginTop,d=s.paddingBottom+s.marginBottom+t.additionalMarginBottom,u=s.sidebar.offset().top,p=s.sidebar.offset().top+function(t){var i=t.height();return t.children().each(function(){i=Math.max(i,e(this).height())}),i}(s.container),h=0+t.additionalMarginTop,f=s.stickySidebar.outerHeight()+c+d0?Math.min(v,h):Math.max(v,l-s.stickySidebar.outerHeight()),v=Math.max(v,m),v=Math.min(v,g-s.stickySidebar.outerHeight());var b=s.container.height()==s.stickySidebar.outerHeight();o=!b&&v==h||!b&&v==l-s.stickySidebar.outerHeight()?"fixed":r+v-s.sidebar.offset().top-s.paddingTop<=t.additionalMarginTop?"static":"absolute"}if("fixed"==o){var w=e(document).scrollLeft();s.stickySidebar.css({position:"fixed",width:n(s.stickySidebar)+"px",transform:"translateY("+v+"px)",left:s.sidebar.offset().left+parseInt(s.sidebar.css("padding-left"))-w+"px",top:"0px"})}else if("absolute"==o){var _={};"absolute"!=s.stickySidebar.css("position")&&(_.position="absolute",_.transform="translateY("+(r+v-s.sidebar.offset().top-s.stickySidebarPaddingTop-s.stickySidebarPaddingBottom)+"px)",_.top="0px"),_.width=n(s.stickySidebar)+"px",_.left="",s.stickySidebar.css(_)}else"static"==o&&i();"static"!=o&&1==s.options.updateSidebarHeight&&s.sidebar.css({"min-height":s.stickySidebar.outerHeight()+s.stickySidebar.offset().top-s.sidebar.offset().top+s.paddingBottom}),s.previousScrollTop=r}},s.onScroll(s),e(document).on("scroll."+s.options.namespace,function(e){return function(){e.onScroll(e)}}(s)),e(window).on("resize."+s.options.namespace,function(e){return function(){e.stickySidebar.css({position:"static"}),e.onScroll(e)}}(s)),"undefined"!=typeof ResizeSensor&&new ResizeSensor(s.stickySidebar[0],function(e){return function(){e.onScroll(e)}}(s))})}(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(s){i(t,n)&&e(this).unbind(s)}}(t,n)),e(window).on("resize."+t.namespace,function(t,n){return function(s){i(t,n)&&e(this).unbind(s)}}(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
    ',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 a,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,a=e.offsetWidth,r=e.offsetHeight});d();var u=function(e,t,i){e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i)},p=function(){e.offsetWidth==a&&e.offsetHeight==r||e.resizedAttached&&e.resizedAttached.call(),d()};u(o,"scroll",p),u(c,"scroll",p)}var a=Object.prototype.toString.call(t),r="[object Array]"===a||"[object NodeList]"===a||"[object HTMLCollection]"===a||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements;if(r)for(var o=0,l=t.length;o')):$(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"==a?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"==s?(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){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(i,n){void 0===i&&(i={}),void 0===n&&(n={}),Object.keys(n).forEach(s=>{void 0===i[s]?i[s]=n[s]:e(n[s])&&e(i[s])&&Object.keys(n[s]).length>0&&t(i[s],n[s])})}const i={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function n(){const e="undefined"!=typeof document?document:{};return t(e,i),e}const s={document:i,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function a(){const e="undefined"!=typeof window?window:{};return t(e,s),e}class r extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function o(e){void 0===e&&(e=[]);const t=[];return e.forEach(e=>{Array.isArray(e)?t.push(...o(e)):t.push(e)}),t}function l(e,t){return Array.prototype.filter.call(e,t)}function c(e,t){const i=a(),s=n();let o=[];if(!t&&e instanceof r)return e;if(!e)return new r(o);if("string"==typeof e){const i=e.trim();if(i.indexOf("<")>=0&&i.indexOf(">")>=0){let e="div";0===i.indexOf("e.split(" ")));return this.forEach(e=>{e.classList.add(...n)}),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),i=0;ie.split(" ")));return this.forEach(e=>{e.classList.remove(...n)}),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),i=0;ie.split(" ")));return l(this,e=>n.filter(t=>e.classList.contains(t)).length>0).length>0},toggleClass:function(){for(var e=arguments.length,t=new Array(e),i=0;ie.split(" ")));this.forEach(e=>{n.forEach(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(let i=0;i=0;e-=1){const s=n[e];a&&s.listener===a||a&&s.listener&&s.listener.dom7proxy&&s.listener.dom7proxy===a?(i.removeEventListener(t,s.proxyListener,r),n.splice(e,1)):a||(i.removeEventListener(t,s.proxyListener,r),n.splice(e,1))}}}return this},trigger:function(){const e=a();for(var t=arguments.length,i=new Array(t),n=0;nt>0),s.dispatchEvent(t),s.dom7EventData=[],delete s.dom7EventData}}}return this},transitionEnd:function(e){const 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){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=a();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=a(),t=n(),i=this[0],s=i.getBoundingClientRect(),r=t.body,o=i.clientTop||r.clientTop||0,l=i.clientLeft||r.clientLeft||0,c=i===e?e.scrollY:i.scrollTop,d=i===e?e.scrollX:i.scrollLeft;return{top:s.top+c-o,left:s.left+d-l}}return null},css:function(e,t){const i=a();let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n{e.apply(t,[t,i])}),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;tt-1)return c([]);if(e<0){const i=t+e;return c(i<0?[]:[this[i]])}return c([this[e]])},append:function(){let e;const t=n();for(let i=0;i=0;s-=1)this[i].insertBefore(n.childNodes[s],this[i].childNodes[0])}else if(e instanceof r)for(s=0;s0?e?this[0].nextElementSibling&&c(this[0].nextElementSibling).is(e)?c([this[0].nextElementSibling]):c([]):this[0].nextElementSibling?c([this[0].nextElementSibling]):c([]):c([])},nextAll:function(e){const t=[];let i=this[0];if(!i)return c([]);for(;i.nextElementSibling;){const n=i.nextElementSibling;e?c(n).is(e)&&t.push(n):t.push(n),i=n}return c(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&c(t.previousElementSibling).is(e)?c([t.previousElementSibling]):c([]):t.previousElementSibling?c([t.previousElementSibling]):c([])}return c([])},prevAll:function(e){const t=[];let i=this[0];if(!i)return c([]);for(;i.previousElementSibling;){const n=i.previousElementSibling;e?c(n).is(e)&&t.push(n):t.push(n),i=n}return c(t)},parent:function(e){const t=[];for(let i=0;i6&&(s=s.split(", ").map(e=>e.replace(",",".")).join(", ")),r=new i.WebKitCSSMatrix("none"===s?"":s)):n=(r=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(s=i.WebKitCSSMatrix?r.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(s=i.WebKitCSSMatrix?r.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),s||0}function f(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function m(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function g(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let i=1;it.indexOf(e)<0);for(let t=0,s=i.length;tr?"next":"prev",u=(e,t)=>"next"===d&&e>=t||"prev"===d&&e<=t,p=()=>{o=(new Date).getTime(),null===l&&(l=o);const e=Math.max(Math.min((o-l)/c,1),0),a=.5-Math.cos(e*Math.PI)/2;let d=r+a*(i-r);if(u(d,i)&&(d=i),t.wrapperEl.scrollTo({[n]:d}),u(d,i))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:d})}),void s.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=s.requestAnimationFrame(p)};p()}let b,w,_;function T(){return b||(b=function(){const e=a(),t=n();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const i=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,i)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),b}function x(e){return void 0===e&&(e={}),w||(w=function(e){let{userAgent:t}=void 0===e?{}:e;const i=T(),n=a(),s=n.navigator.platform,r=t||n.navigator.userAgent,o={ios:!1,android:!1},l=n.screen.width,c=n.screen.height,d=r.match(/(Android);?[\s\/]+([\d.]+)?/);let u=r.match(/(iPad).*OS\s([\d_]+)/);const p=r.match(/(iPod)(.*OS\s([\d_]+))?/),h=!u&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===s;let m="MacIntel"===s;return!u&&m&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${c}`)>=0&&((u=r.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),m=!1),d&&!f&&(o.os="android",o.android=!0),(u||h||p)&&(o.os="ios",o.ios=!0),o}(e)),w}function C(){return _||(_=function(){const e=a();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),_}function S(e){let{swiper:t,runCallbacks:i,direction:n,step:s}=e;const{activeIndex:a,previousIndex:r}=t;let o=n;if(o||(o=a>r?"next":a1)&&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=s,e.allowSlideNext=n,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}Object.keys(d).forEach(e=>{Object.defineProperty(c.fn,e,{value:d[e],writable:!0})});let E=!1;function k(){}const M=(e,t)=>{const i=n(),{params:s,touchEvents:a,el:r,wrapperEl:o,device:l,support:c}=e,d=!!s.nested,u="on"===t?"addEventListener":"removeEventListener",p=t;if(c.touch){const t=!("touchstart"!==a.start||!c.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};r[u](a.start,e.onTouchStart,t),r[u](a.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:d}:d),r[u](a.end,e.onTouchEnd,t),a.cancel&&r[u](a.cancel,e.onTouchEnd,t)}else r[u](a.start,e.onTouchStart,!1),i[u](a.move,e.onTouchMove,d),i[u](a.end,e.onTouchEnd,!1);(s.preventClicks||s.preventClicksPropagation)&&r[u]("click",e.onClick,!0),s.cssMode&&o[u]("scroll",e.onScroll),s.updateOnWindowResize?e[p](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",P,!0):e[p]("observerUpdate",P,!0)};const I=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var O={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,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,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,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,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",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};function j(e,t){return function(i){void 0===i&&(i={});const n=Object.keys(i)[0],s=i[n];"object"==typeof s&&null!==s?(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===e[n]&&(e[n]={auto:!0}),n in e&&"enabled"in s?(!0===e[n]&&(e[n]={enabled:!0}),"object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),g(t,i)):g(t,i)):g(t,i)}}const A={eventsEmitter:{on(e,t,i){const n=this;if("function"!=typeof t)return n;const s=i?"unshift":"push";return e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][s](t)}),n},once(e,t,i){const n=this;if("function"!=typeof t)return n;function s(){n.off(e,s),s.__emitterProxy&&delete s.__emitterProxy;for(var i=arguments.length,a=new Array(i),r=0;r=0&&t.eventsAnyListeners.splice(i,1),t},off(e,t){const i=this;return i.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach((n,s)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(s,1)})}),i):i},emit(){const e=this;if(!e.eventsListeners)return e;let t,i,n;for(var s=arguments.length,a=new Array(s),r=0;r{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(n,[t,...i])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(e=>{e.apply(n,i)})}),e}},update:{updateSize:function(){const e=this;let t,i;const n=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n[0].clientWidth,i=void 0!==e.params.height&&null!==e.params.height?e.params.height:n[0].clientHeight,0===t&&e.isHorizontal()||0===i&&e.isVertical()||(t=t-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),i=i-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(i)&&(i=0),Object.assign(e,{width:t,height:i,size:e.isHorizontal()?t:i}))},updateSlides:function(){const 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)}const n=e.params,{$wrapperEl:s,size:a,rtlTranslate:r,wrongRTL:o}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,d=s.children(`.${e.params.slideClass}`),u=l?e.virtual.slides.length:d.length;let p=[];const h=[],f=[];let m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(e));let g=n.slidesOffsetAfter;"function"==typeof g&&(g=n.slidesOffsetAfter.call(e));const y=e.snapGrid.length,b=e.slidesGrid.length;let w=n.spaceBetween,_=-m,T=0,x=0;if(void 0===a)return;"string"==typeof w&&w.indexOf("%")>=0&&(w=parseFloat(w.replace("%",""))/100*a),e.virtualSize=-w,r?d.css({marginLeft:"",marginBottom:"",marginTop:""}):d.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&(v(e.wrapperEl,"--swiper-centered-offset-before",""),v(e.wrapperEl,"--swiper-centered-offset-after",""));const C=n.grid&&n.grid.rows>1&&e.grid;let S;C&&e.grid.initSlides(u);const P="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let s=0;s1&&p.push(e.virtualSize-a)}if(0===p.length&&(p=[0]),0!==n.spaceBetween){const i=e.isHorizontal()&&r?"marginLeft":t("marginRight");d.filter((e,t)=>!n.cssMode||t!==d.length-1).css({[i]:`${w}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;f.forEach(t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)});const t=(e-=n.spaceBetween)-a;p=p.map(e=>e<0?-m:e>t?t+g:e)}if(n.centerInsufficientSlides){let e=0;if(f.forEach(t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)}),(e-=n.spaceBetween){p[i]=e-t}),h.forEach((e,i)=>{h[i]=e+t})}}if(Object.assign(e,{slides:d,snapGrid:p,slidesGrid:h,slidesSizesGrid:f}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){v(e.wrapperEl,"--swiper-centered-offset-before",-p[0]+"px"),v(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],i=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+i)}if(u!==c&&e.emit("slidesLengthChange"),p.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==b&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,i=e.$el.hasClass(t);u<=n.maxBackfaceHiddenSlides?i||e.$el.addClass(t):i&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,i=[],n=t.virtual&&t.params.virtual.enabled;let s,a=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const r=e=>n?t.slides.filter(t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e)[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)t.visibleSlides.each(e=>{i.push(e)});else for(s=0;st.slides.length&&!n)break;i.push(r(e))}else i.push(r(t.activeIndex));for(s=0;sa?e:a}(a||0===a)&&t.$wrapperEl.css("height",`${a}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let i=0;i=0&&u1&&p<=t.size||u<=0&&p>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(e),n.eq(e).addClass(i.slideVisibleClass)),o.progress=s?-c:c,o.originalProgress=s?-d:d}t.visibleSlides=c(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:s,isBeginning:a,isEnd:r}=t;const o=a,l=r;0===n?(s=0,a=!0,r=!0):(a=(s=(e-t.minTranslate())/n)<=0,r=s>=1),Object.assign(t,{progress:s,isBeginning:a,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),a&&!o&&t.emit("reachBeginning toEdge"),r&&!l&&t.emit("reachEnd toEdge"),(o&&!a||l&&!r)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){const e=this,{slides:t,params:i,$wrapperEl:n,activeIndex:s,realIndex:a}=e,r=e.virtual&&i.virtual.enabled;let o;t.removeClass(`${i.slideActiveClass} ${i.slideNextClass} ${i.slidePrevClass} ${i.slideDuplicateActiveClass} ${i.slideDuplicateNextClass} ${i.slideDuplicatePrevClass}`),(o=r?e.$wrapperEl.find(`.${i.slideClass}[data-swiper-slide-index="${s}"]`):t.eq(s)).addClass(i.slideActiveClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${a}"]`).addClass(i.slideDuplicateActiveClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${a}"]`).addClass(i.slideDuplicateActiveClass));let l=o.nextAll(`.${i.slideClass}`).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=t.eq(0)).addClass(i.slideNextClass);let c=o.prevAll(`.${i.slideClass}`).eq(0).addClass(i.slidePrevClass);i.loop&&0===c.length&&(c=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(l.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass),c.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:n,snapGrid:s,params:a,activeIndex:r,realIndex:o,snapIndex:l}=t;let c,d=e;if(void 0===d){for(let e=0;e=n[e]&&i=n[e]&&i=n[e]&&(d=e);a.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(s.indexOf(i)>=0)c=s.indexOf(i);else{const e=Math.min(a.slidesPerGroupSkip,d);c=e+Math.floor((d-e)/a.slidesPerGroup)}if(c>=s.length&&(c=s.length-1),d===r)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const u=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10);Object.assign(t,{snapIndex:c,realIndex:u,previousIndex:r,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==u&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,i=t.params,n=c(e).closest(`.${i.slideClass}`)[0];let s,a=!1;if(n)for(let e=0;el?l:n&&e=l.length&&(g=l.length-1),(u||o.initialSlide||0)===(d||0)&&i&&a.emit("beforeSlideChangeStart");const v=-l[g];if(a.updateProgress(v),o.normalizeSlideIndex)for(let e=0;e=i&&t=i&&t=i&&(r=e)}if(a.initialized&&r!==u){if(!a.allowSlideNext&&va.translate&&v>a.maxTranslate()&&(u||0)!==r)return!1}let b;if(b=r>u?"next":r{a.wrapperEl.style.scrollSnapType="",a._swiperImmediateVirtual=!1})}else{if(!a.support.smoothScroll)return y({swiper:a,targetPosition:i,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(v),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(i,b),0===t?a.transitionEnd(i,b):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,b))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.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);const s=this;let a=e;return s.params.loop&&(a+=s.loopedSlides),s.slideTo(a,t,i,n)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this,{animating:s,enabled:a,params:r}=n;if(!a)return n;let o=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndexd(e));let h=r[p.indexOf(u)-1];if(void 0===h&&s.cssMode){let e;r.forEach((t,i)=>{u>=t&&(e=i)}),void 0!==e&&(h=r[e>0?e-1:e])}let f=0;if(void 0!==h&&((f=o.indexOf(h))<0&&(f=n.activeIndex-1),"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(f=f-n.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),s.rewind&&n.isBeginning){const s=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(s,e,t,i)}return n.slideTo(f,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);const s=this;let a=s.activeIndex;const r=Math.min(s.params.slidesPerGroupSkip,a),o=r+Math.floor((a-r)/s.params.slidesPerGroup),l=s.rtlTranslate?s.translate:-s.translate;if(l>=s.snapGrid[o]){const e=s.snapGrid[o];l-e>(s.snapGrid[o+1]-e)*n&&(a+=s.params.slidesPerGroup)}else{const e=s.snapGrid[o-1];l-e<=(s.snapGrid[o]-e)*n&&(a-=s.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,s.slidesGrid.length-1),s.slideTo(a,e,t,i)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:i}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let s,a=e.clickedIndex;if(t.loop){if(e.animating)return;s=parseInt(c(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?ae.slides.length-e.loopedSlides+n/2?(e.loopFix(),a=i.children(`.${t.slideClass}[data-swiper-slide-index="${s}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),u(()=>{e.slideTo(a)})):e.slideTo(a):a>e.slides.length-n?(e.loopFix(),a=i.children(`.${t.slideClass}[data-swiper-slide-index="${s}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),u(()=>{e.slideTo(a)})):e.slideTo(a)}else e.slideTo(a)}},loop:{loopCreate:function(){const e=this,t=n(),{params:i,$wrapperEl:s}=e,a=s.children().length>0?c(s.children()[0].parentNode):s;a.children(`.${i.slideClass}.${i.slideDuplicateClass}`).remove();let r=a.children(`.${i.slideClass}`);if(i.loopFillGroupWithBlank){const e=i.slidesPerGroup-r.length%i.slidesPerGroup;if(e!==i.slidesPerGroup){for(let n=0;nr.length&&(e.loopedSlides=r.length);const o=[],l=[];r.each((t,i)=>{const n=c(t);i=r.length-e.loopedSlides&&o.push(t),n.attr("data-swiper-slide-index",i)});for(let e=0;e=0;e-=1)a.prepend(c(o[e].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:i,loopedSlides:n,allowSlidePrev:s,allowSlideNext:a,snapGrid:r,rtlTranslate:o}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-r[t]-e.getTranslate();t=i.length-n&&(l=-i.length+t+n,l+=n,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)),e.allowSlidePrev=s,e.allowSlideNext=a,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:i}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),i.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;i.style.cursor="move",i.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:{attachEvents:function(){const e=this,t=n(),{params:i,support:s}=e;e.onTouchStart=function(e){const t=this,i=n(),s=a(),r=t.touchEventsData,{params:o,touches:l,enabled:d}=t;if(!d)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let u=e;u.originalEvent&&(u=u.originalEvent);let h=c(u.target);if("wrapper"===o.touchEventsTarget&&!h.closest(t.wrapperEl).length)return;if(r.isTouchEvent="touchstart"===u.type,!r.isTouchEvent&&"which"in u&&3===u.which)return;if(!r.isTouchEvent&&"button"in u&&u.button>0)return;if(r.isTouched&&r.isMoved)return;o.noSwipingClass&&""!==o.noSwipingClass&&u.target&&u.target.shadowRoot&&e.path&&e.path[0]&&(h=c(e.path[0]));const f=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,m=!(!u.target||!u.target.shadowRoot);if(o.noSwiping&&(m?function(e,t){return void 0===t&&(t=this),function t(i){return i&&i!==n()&&i!==a()?(i.assignedSlot&&(i=i.assignedSlot),i.closest(e)||t(i.getRootNode().host)):null}(t)}(f,u.target):h.closest(f)[0]))return void(t.allowClick=!0);if(o.swipeHandler&&!h.closest(o.swipeHandler)[0])return;l.currentX="touchstart"===u.type?u.targetTouches[0].pageX:u.pageX,l.currentY="touchstart"===u.type?u.targetTouches[0].pageY:u.pageY;const g=l.currentX,v=l.currentY,y=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,b=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(y&&(g<=b||g>=s.innerWidth-b)){if("prevent"!==y)return;e.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=g,l.startY=v,r.touchStartTime=p(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==u.type){let e=!0;h.is(r.focusableElements)&&(e=!1,"SELECT"===h[0].nodeName&&(r.isTouched=!1)),i.activeElement&&c(i.activeElement).is(r.focusableElements)&&i.activeElement!==h[0]&&i.activeElement.blur();const n=e&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!n||h[0].isContentEditable||u.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",u)}.bind(e),e.onTouchMove=function(e){const t=n(),i=this,s=i.touchEventsData,{params:a,touches:r,rtlTranslate:o,enabled:l}=i;if(!l)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),!s.isTouched)return void(s.startMoving&&s.isScrolling&&i.emit("touchMoveOpposite",d));if(s.isTouchEvent&&"touchmove"!==d.type)return;const u="touchmove"===d.type&&d.targetTouches&&(d.targetTouches[0]||d.changedTouches[0]),h="touchmove"===d.type?u.pageX:d.pageX,f="touchmove"===d.type?u.pageY:d.pageY;if(d.preventedByNestedSwiper)return r.startX=h,void(r.startY=f);if(!i.allowTouchMove)return c(d.target).is(s.focusableElements)||(i.allowClick=!1),void(s.isTouched&&(Object.assign(r,{startX:h,startY:f,currentX:h,currentY:f}),s.touchStartTime=p()));if(s.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(i.isVertical()){if(fr.startY&&i.translate>=i.minTranslate())return s.isTouched=!1,void(s.isMoved=!1)}else if(hr.startX&&i.translate>=i.minTranslate())return;if(s.isTouchEvent&&t.activeElement&&d.target===t.activeElement&&c(d.target).is(s.focusableElements))return s.isMoved=!0,void(i.allowClick=!1);if(s.allowTouchCallbacks&&i.emit("touchMove",d),d.targetTouches&&d.targetTouches.length>1)return;r.currentX=h,r.currentY=f;const m=r.currentX-r.startX,g=r.currentY-r.startY;if(i.params.threshold&&Math.sqrt(m**2+g**2)=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(m))/Math.PI,s.isScrolling=i.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(s.isScrolling&&i.emit("touchMoveOpposite",d),void 0===s.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(s.startMoving=!0)),s.isScrolling)return void(s.isTouched=!1);if(!s.startMoving)return;i.allowClick=!1,!a.cssMode&&d.cancelable&&d.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&d.stopPropagation(),s.isMoved||(a.loop&&!a.cssMode&&i.loopFix(),s.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),s.allowMomentumBounce=!1,!a.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",d)),i.emit("sliderMove",d),s.isMoved=!0;let v=i.isHorizontal()?m:g;r.diff=v,v*=a.touchRatio,o&&(v=-v),i.swipeDirection=v>0?"prev":"next",s.currentTranslate=v+s.startTranslate;let y=!0,b=a.resistanceRatio;if(a.touchReleaseOnEdges&&(b=0),v>0&&s.currentTranslate>i.minTranslate()?(y=!1,a.resistance&&(s.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+s.startTranslate+v)**b)):v<0&&s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),i.allowSlidePrev||i.allowSlideNext||(s.currentTranslate=s.startTranslate),a.threshold>0){if(!(Math.abs(v)>a.threshold||s.allowThresholdMove))return void(s.currentTranslate=s.startTranslate);if(!s.allowThresholdMove)return s.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,s.currentTranslate=s.startTranslate,void(r.diff=i.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&i.freeMode||a.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),i.params.freeMode&&a.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(s.currentTranslate),i.setTranslate(s.currentTranslate))}.bind(e),e.onTouchEnd=function(e){const t=this,i=t.touchEventsData,{params:n,touches:s,rtlTranslate:a,slidesGrid:r,enabled:o}=t;if(!o)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",l),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);const c=p(),d=c-i.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),d<300&&c-i.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(i.lastClickTime=p(),u(()=>{t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===s.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let h;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,h=n.followFinger?a?t.translate:-t.translate:-i.currentTranslate,n.cssMode)return;if(t.params.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});let f=0,m=t.slidesSizesGrid[0];for(let e=0;e=r[e]&&h=r[e]&&(f=e,m=r[r.length-1]-r[r.length-2])}let g=null,v=null;n.rewind&&(t.isBeginning?v=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const y=(h-r[f])/m,b=fn.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?g:f+b):t.slideTo(f)),"prev"===t.swipeDirection&&(y>1-n.longSwipesRatio?t.slideTo(f+b):null!==v&&y<0&&Math.abs(y)>n.longSwipesRatio?t.slideTo(v):t.slideTo(f))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||l.target!==t.navigation.nextEl&&l.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==g?g:f+b),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:f)):l.target===t.navigation.nextEl?t.slideTo(f+b):t.slideTo(f)}}.bind(e),i.cssMode&&(e.onScroll=function(){const e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;if(!n)return;let s;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const a=e.maxTranslate()-e.minTranslate();(s=0===a?0:(e.translate-e.minTranslate())/a)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}.bind(e)),e.onClick=function(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}.bind(e),s.touch&&!E&&(t.addEventListener("touchstart",k),E=!0),M(e,"on")},detachEvents:function(){M(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{activeIndex:t,initialized:i,loopedSlides:n=0,params:s,$el:a}=e,r=s.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const o=e.getBreakpoint(r,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const l=(o in r?r[o]:void 0)||e.originalParams,c=I(e,s),d=I(e,l),u=s.enabled;c&&!d?(a.removeClass(`${s.containerModifierClass}grid ${s.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&d&&(a.addClass(`${s.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===s.grid.fill)&&a.addClass(`${s.containerModifierClass}grid-column`),e.emitContainerClasses());const p=l.direction&&l.direction!==s.direction,h=s.loop&&(l.slidesPerView!==s.slidesPerView||p);p&&i&&e.changeDirection(),g(e.params,l);const f=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),u&&!f?e.disable():!u&&f&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",l),h&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t,i){if(void 0===t&&(t="window"),!e||"container"===t&&!i)return;let n=!1;const s=a(),r="window"===t?s.innerHeight:i.clientHeight,o=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:r*t,point:e}}return{value:e,point:e}});o.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;ei}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:i,rtl:n,$el:s,device:a,support:r}=e,o=function(e,t){const i=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(n=>{e[n]&&i.push(t+n)}):"string"==typeof e&&i.push(t+e)}),i}(["initialized",i.direction,{"pointer-events":!r.touch},{"free-mode":e.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:a.android},{ios:a.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides}],i.containerModifierClass);t.push(...o),s.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}},images:{loadImage:function(e,t,i,n,s,r){const o=a();let l;function d(){r&&r()}c(e).parent("picture")[0]||e.complete&&s?d():t?((l=new o.Image).onload=d,l.onerror=d,n&&(l.sizes=n),i&&(l.srcset=i),t&&(l.src=t)):d()},preloadImages:function(){const 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(let i=0;i1){const e=[];return c(t.el).each(i=>{const n=g({},t,{el:i});e.push(new $(n))}),e}const a=this;a.__swiper__=!0,a.support=T(),a.device=x({userAgent:t.userAgent}),a.browser=C(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],t.modules&&Array.isArray(t.modules)&&a.modules.push(...t.modules);const r={};a.modules.forEach(e=>{e({swiper:a,extendParams:j(t,r),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const o=g({},O,r);return a.params=g({},o,L,t),a.originalParams=g({},a.params),a.passedParams=g({},t),a.params&&a.params.on&&Object.keys(a.params.on).forEach(e=>{a.on(e,a.params.on[e])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),a.$=c,Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:c(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return a.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},a.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},a.support.touch||!a.params.simulateTouch?a.touchEventsTouch:a.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:a.params.focusableElements,lastClickTime:p(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const i=this;e=Math.min(Math.max(e,0),1);const n=i.minTranslate(),s=(i.maxTranslate()-n)*e+n;i.translateTo(s,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each(i=>{const n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:i,slides:n,slidesGrid:s,slidesSizesGrid:a,size:r,activeIndex:o}=this;let l=1;if(i.centeredSlides){let e,t=n[o].swiperSlideSize;for(let i=o+1;ir&&(e=!0));for(let i=o-1;i>=0;i-=1)n[i]&&!e&&(l+=1,(t+=n[i].swiperSlideSize)>r&&(e=!0))}else if("current"===e)for(let e=o+1;e=0;e-=1)s[o]-s[e]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")}changeDirection(e,t){void 0===t&&(t=!0);const 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(t=>{"vertical"===e?t.style.width="":t.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}mount(e){const t=this;if(t.mounted)return!0;const i=c(e||t.params.el);if(!(e=i[0]))return!1;e.swiper=t;const s=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=c(e.shadowRoot.querySelector(s()));return t.children=(e=>i.children(e)),t}return i.children(s())})();if(0===a.length&&t.params.createElements){const e=n().createElement("div");a=c(e),e.className=t.params.wrapperClass,i.append(e),i.children(`.${t.params.slideClass}`).each(e=>{a.append(e)})}return Object.assign(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}init(e){const t=this;return t.initialized?t:(!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)}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const i=this,{params:n,$el:s,$wrapperEl:a,slides:r}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),s.removeAttr("style"),a.removeAttr("style"),r&&r.length&&r.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(e=>{i.off(e)}),!1!==e&&(i.$el[0].swiper=null,function(e){const t=i;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}()),i.destroyed=!0),null}static extendDefaults(e){g(L,e)}static get extendedDefaults(){return L}static get defaults(){return O}static installModule(e){$.prototype.__modules__||($.prototype.__modules__=[]);const t=$.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>$.installModule(e)),$):($.installModule(e),$)}}function z(e,t,i,s){const a=n();return e.params.createElements&&Object.keys(s).forEach(n=>{if(!i[n]&&!0===i.auto){let r=e.$el.children(`.${s[n]}`)[0];r||((r=a.createElement("div")).className=s[n],e.$el.append(r)),i[n]=r,t[n]=r}}),i}function Y(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function D(e){const t=this,{$wrapperEl:i,params:n}=t;if(n.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;t=o)return void i.appendSlide(t);let l=r>e?r+1:r;const c=[];for(let t=o-1;t>=e;t-=1){const e=i.slides.eq(t);e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?r+t.length:r}else n.append(t);for(let e=0;e{if(i.params.effect!==t)return;i.classNames.push(`${i.params.containerModifierClass}${t}`),o&&o()&&i.classNames.push(`${i.params.containerModifierClass}3d`);const e=r?r():{};Object.assign(i.params,e),Object.assign(i.originalParams,e)}),n("setTranslate",()=>{i.params.effect===t&&s()}),n("setTransition",(e,n)=>{i.params.effect===t&&a(n)}),n("virtualUpdate",()=>{i.slides.length||(l=!0),requestAnimationFrame(()=>{l&&i.slides&&i.slides.length&&(s(),l=!1)})})}function H(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function q(e){let{swiper:t,duration:i,transformEl:n,allSlides:s}=e;const{slides:a,activeIndex:r,$wrapperEl:o}=t;if(t.params.virtualTranslate&&0!==i){let e,i=!1;(e=s?n?a.find(n):a:n?a.eq(r).find(n):a.eq(r)).transitionEnd(()=>{if(i)return;if(!t||t.destroyed)return;i=!0,t.animating=!1;const e=["webkitTransitionEnd","transitionend"];for(let t=0;t`),s.append(a)),a}Object.keys(A).forEach(e=>{Object.keys(A[e]).forEach(t=>{$.prototype[t]=A[e][t]})}),$.use([function(e){let{swiper:t,on:i,emit:n}=e;const s=a();let r=null,o=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},c=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};i("init",()=>{t.params.resizeObserver&&void 0!==s.ResizeObserver?t&&!t.destroyed&&t.initialized&&(r=new ResizeObserver(e=>{o=s.requestAnimationFrame(()=>{const{width:i,height:n}=t;let s=i,a=n;e.forEach(e=>{let{contentBoxSize:i,contentRect:n,target:r}=e;r&&r!==t.el||(s=n?n.width:(i[0]||i).inlineSize,a=n?n.height:(i[0]||i).blockSize)}),s===i&&a===n||l()})})).observe(t.el):(s.addEventListener("resize",l),s.addEventListener("orientationchange",c))}),i("destroy",()=>{o&&s.cancelAnimationFrame(o),r&&r.unobserve&&t.el&&(r.unobserve(t.el),r=null),s.removeEventListener("resize",l),s.removeEventListener("orientationchange",c)})},function(e){let{swiper:t,extendParams:i,on:n,emit:s}=e;const r=[],o=a(),l=function(e,t){void 0===t&&(t={});const i=new(o.MutationObserver||o.WebkitMutationObserver)(e=>{if(1===e.length)return void s("observerUpdate",e[0]);const t=function(){s("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(i)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(t.params.observer){if(t.params.observeParents){const e=t.$el.parents();for(let t=0;t{r.forEach(e=>{e.disconnect()}),r.splice(0,r.length)})}]);const V=[function(e){let t,{swiper:i,extendParams:n,on:s,emit:a}=e;function r(e,t){const n=i.params.virtual;if(n.cache&&i.virtual.cache[t])return i.virtual.cache[t];const s=n.renderSlide?c(n.renderSlide.call(i,e,t)):c(`
    ${e}
    `);return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",t),n.cache&&(i.virtual.cache[t]=s),s}function o(e){const{slidesPerView:t,slidesPerGroup:n,centeredSlides:s}=i.params,{addSlidesBefore:o,addSlidesAfter:l}=i.params.virtual,{from:c,to:d,slides:u,slidesGrid:p,offset:h}=i.virtual;i.params.cssMode||i.updateActiveIndex();const f=i.activeIndex||0;let m,g,v;m=i.rtlTranslate?"right":i.isHorizontal()?"left":"top",s?(g=Math.floor(t/2)+n+l,v=Math.floor(t/2)+n+o):(g=t+(n-1)+l,v=n+o);const y=Math.max((f||0)-v,0),b=Math.min((f||0)+g,u.length-1),w=(i.slidesGrid[y]||0)-(i.slidesGrid[0]||0);function _(){i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),i.lazy&&i.params.lazy.enabled&&i.lazy.load(),a("virtualUpdate")}if(Object.assign(i.virtual,{from:y,to:b,offset:w,slidesGrid:i.slidesGrid}),c===y&&d===b&&!e)return i.slidesGrid!==p&&w!==h&&i.slides.css(m,`${w}px`),i.updateProgress(),void a("virtualUpdate");if(i.params.virtual.renderExternal)return i.params.virtual.renderExternal.call(i,{offset:w,from:y,to:b,slides:function(){const e=[];for(let t=y;t<=b;t+=1)e.push(u[t]);return e}()}),void(i.params.virtual.renderExternalUpdate?_():a("virtualUpdate"));const T=[],x=[];if(e)i.$wrapperEl.find(`.${i.params.slideClass}`).remove();else for(let e=c;e<=d;e+=1)(eb)&&i.$wrapperEl.find(`.${i.params.slideClass}[data-swiper-slide-index="${e}"]`).remove();for(let t=0;t=y&&t<=b&&(void 0===d||e?x.push(t):(t>d&&x.push(t),t{i.$wrapperEl.append(r(u[e],e))}),T.sort((e,t)=>t-e).forEach(e=>{i.$wrapperEl.prepend(r(u[e],e))}),i.$wrapperEl.children(".swiper-slide").css(m,`${w}px`),_()}n({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),i.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},s("beforeInit",()=>{i.params.virtual.enabled&&(i.virtual.slides=i.params.virtual.slides,i.classNames.push(`${i.params.containerModifierClass}virtual`),i.params.watchSlidesProgress=!0,i.originalParams.watchSlidesProgress=!0,i.params.initialSlide||o())}),s("setTranslate",()=>{i.params.virtual.enabled&&(i.params.cssMode&&!i._immediateVirtual?(clearTimeout(t),t=setTimeout(()=>{o()},100)):o())}),s("init update resize",()=>{i.params.virtual.enabled&&i.params.cssMode&&v(i.wrapperEl,"--swiper-virtual-size",`${i.virtualSize}px`)}),Object.assign(i.virtual,{appendSlide:function(e){if("object"==typeof e&&"length"in e)for(let t=0;t{const n=e[i],a=n.attr("data-swiper-slide-index");a&&n.attr("data-swiper-slide-index",parseInt(a,10)+s),t[parseInt(i,10)+s]=n}),i.virtual.cache=t}o(!0),i.slideTo(n,0)},removeSlide:function(e){if(null==e)return;let t=i.activeIndex;if(Array.isArray(e))for(let n=e.length-1;n>=0;n-=1)i.virtual.slides.splice(e[n],1),i.params.virtual.cache&&delete i.virtual.cache[e[n]],e[n]0&&0===t.$el.parents(`.${t.params.slideActiveClass}`).length)return;const n=t.$el,s=n[0].clientWidth,a=n[0].clientHeight,r=l.innerWidth,o=l.innerHeight,c=t.$el.offset();i&&(c.left-=t.$el[0].scrollLeft);const d=[[c.left,c.top],[c.left+s,c.top],[c.left,c.top+a],[c.left+s,c.top+a]];for(let t=0;t=0&&i[0]<=r&&i[1]>=0&&i[1]<=o){if(0===i[0]&&0===i[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((c||d||u||p)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),((d||p)&&!i||(c||u)&&i)&&t.slideNext(),((c||u)&&!i||(d||p)&&i)&&t.slidePrev()):((c||d||h||f)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),(d||f)&&t.slideNext(),(c||h)&&t.slidePrev()),r("keyPress",s)}}function u(){t.keyboard.enabled||(c(o).on("keydown",d),t.keyboard.enabled=!0)}function p(){t.keyboard.enabled&&(c(o).off("keydown",d),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},i({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),s("init",()=>{t.params.keyboard.enabled&&u()}),s("destroy",()=>{t.keyboard.enabled&&p()}),Object.assign(t.keyboard,{enable:u,disable:p})},function(e){let{swiper:t,extendParams:i,on:n,emit:s}=e;const r=a();let o;i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),t.mousewheel={enabled:!1};let l,d=p();const h=[];function f(){t.enabled&&(t.mouseEntered=!0)}function m(){t.enabled&&(t.mouseEntered=!1)}function g(e){return!(t.params.mousewheel.thresholdDelta&&e.delta=6&&p()-d<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),s("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),s("scroll",e.raw)),d=(new r.Date).getTime(),1))}function v(e){let i=e,n=!0;if(!t.enabled)return;const a=t.params.mousewheel;t.params.cssMode&&i.preventDefault();let r=t.$el;if("container"!==t.params.mousewheel.eventsTarget&&(r=c(t.params.mousewheel.eventsTarget)),!t.mouseEntered&&!r[0].contains(i.target)&&!a.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);let d=0;const f=t.rtlTranslate?-1:1,m=function(e){let t=0,i=0,n=0,s=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,s=10*i,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=s,s=0),(n||s)&&e.deltaMode&&(1===e.deltaMode?(n*=40,s*=40):(n*=800,s*=800)),n&&!t&&(t=n<1?-1:1),s&&!i&&(i=s<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:s}}(i);if(a.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(m.pixelX)>Math.abs(m.pixelY)))return!0;d=-m.pixelX*f}else{if(!(Math.abs(m.pixelY)>Math.abs(m.pixelX)))return!0;d=-m.pixelY}else d=Math.abs(m.pixelX)>Math.abs(m.pixelY)?-m.pixelX*f:-m.pixelY;if(0===d)return!0;a.invert&&(d=-d);let v=t.getTranslate()+d*a.sensitivity;if(v>=t.minTranslate()&&(v=t.minTranslate()),v<=t.maxTranslate()&&(v=t.maxTranslate()),(n=!!t.params.loop||!(v===t.minTranslate()||v===t.maxTranslate()))&&t.params.nested&&i.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:p(),delta:Math.abs(d),direction:Math.sign(d)},n=l&&e.time=t.minTranslate()&&(r=t.minTranslate()),r<=t.maxTranslate()&&(r=t.maxTranslate()),t.setTransition(0),t.setTranslate(r),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!c&&t.isBeginning||!p&&t.isEnd)&&t.updateSlidesClasses(),t.params.freeMode.sticky){clearTimeout(o),o=void 0,h.length>=15&&h.shift();const i=h.length?h[h.length-1]:void 0,n=h[0];if(h.push(e),i&&(e.delta>i.delta||e.direction!==i.direction))h.splice(0);else if(h.length>=15&&e.time-n.time<500&&n.delta-e.delta>=1&&e.delta<=6){const i=d>0?.8:.2;l=e,h.splice(0),o=u(()=>{t.slideToClosest(t.params.speed,!0,void 0,i)},0)}o||(o=u(()=>{l=e,h.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)},500))}if(n||s("scroll",i),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),r===t.minTranslate()||r===t.maxTranslate())return!0}}else{const i={time:p(),delta:Math.abs(d),direction:Math.sign(d),raw:e};h.length>=2&&h.shift();const n=h.length?h[h.length-1]:void 0;if(h.push(i),n?(i.direction!==n.direction||i.delta>n.delta||i.time>n.time+150)&&g(i):g(i),function(e){const 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}(i))return!0}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1}function y(e){let i=t.$el;"container"!==t.params.mousewheel.eventsTarget&&(i=c(t.params.mousewheel.eventsTarget)),i[e]("mouseenter",f),i[e]("mouseleave",m),i[e]("wheel",v)}function b(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",v),!0):!t.mousewheel.enabled&&(y("on"),t.mousewheel.enabled=!0,!0)}function w(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,v),!0):!!t.mousewheel.enabled&&(y("off"),t.mousewheel.enabled=!1,!0)}n("init",()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&w(),t.params.mousewheel.enabled&&b()}),n("destroy",()=>{t.params.cssMode&&b(),t.mousewheel.enabled&&w()}),Object.assign(t.mousewheel,{enable:b,disable:w})},function(e){let{swiper:t,extendParams:i,on:n,emit:s}=e;function a(e){let i;return e&&(i=c(e),t.params.uniqueNavElements&&"string"==typeof e&&i.length>1&&1===t.$el.find(e).length&&(i=t.$el.find(e))),i}function r(e,i){const n=t.params.navigation;e&&e.length>0&&(e[i?"addClass":"removeClass"](n.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=i),t.params.watchOverflow&&t.enabled&&e[t.isLocked?"addClass":"removeClass"](n.lockClass))}function o(){if(t.params.loop)return;const{$nextEl:e,$prevEl:i}=t.navigation;r(i,t.isBeginning&&!t.params.rewind),r(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&t.slidePrev()}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&t.slideNext()}function u(){const e=t.params.navigation;if(t.params.navigation=z(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;const i=a(e.nextEl),n=a(e.prevEl);i&&i.length>0&&i.on("click",d),n&&n.length>0&&n.on("click",l),Object.assign(t.navigation,{$nextEl:i,nextEl:i&&i[0],$prevEl:n,prevEl:n&&n[0]}),t.enabled||(i&&i.addClass(e.lockClass),n&&n.addClass(e.lockClass))}function p(){const{$nextEl:e,$prevEl:i}=t.navigation;e&&e.length&&(e.off("click",d),e.removeClass(t.params.navigation.disabledClass)),i&&i.length&&(i.off("click",l),i.removeClass(t.params.navigation.disabledClass))}i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}}),t.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},n("init",()=>{u(),o()}),n("toEdge fromEdge lock unlock",()=>{o()}),n("destroy",()=>{p()}),n("enable disable",()=>{const{$nextEl:e,$prevEl:i}=t.navigation;e&&e[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass),i&&i[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass)}),n("click",(e,i)=>{const{$nextEl:n,$prevEl:a}=t.navigation,r=i.target;if(t.params.navigation.hideOnClick&&!c(r).is(a)&&!c(r).is(n)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===r||t.pagination.el.contains(r)))return;let e;n?e=n.hasClass(t.params.navigation.hiddenClass):a&&(e=a.hasClass(t.params.navigation.hiddenClass)),s(!0===e?"navigationShow":"navigationHide"),n&&n.toggleClass(t.params.navigation.hiddenClass),a&&a.toggleClass(t.params.navigation.hiddenClass)}}),Object.assign(t.navigation,{update:o,init:u,destroy:p})},function(e){let{swiper:t,extendParams:i,on:n,emit:s}=e;const a="swiper-pagination";let r;i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`}}),t.pagination={el:null,$el:null,bullets:[]};let o=0;function l(){return!t.params.pagination.el||!t.pagination.el||!t.pagination.$el||0===t.pagination.$el.length}function d(e,i){const{bulletActiveClass:n}=t.params.pagination;e[i]().addClass(`${n}-${i}`)[i]().addClass(`${n}-${i}-${i}`)}function u(){const e=t.rtl,i=t.params.pagination;if(l())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,a=t.pagination.$el;let u;const p=t.params.loop?Math.ceil((n-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?((u=Math.ceil((t.activeIndex-t.loopedSlides)/t.params.slidesPerGroup))>n-1-2*t.loopedSlides&&(u-=n-2*t.loopedSlides),u>p-1&&(u-=p),u<0&&"bullets"!==t.params.paginationType&&(u=p+u)):u=void 0!==t.snapIndex?t.snapIndex:t.activeIndex||0,"bullets"===i.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const n=t.pagination.bullets;let s,l,p;if(i.dynamicBullets&&(r=n.eq(0)[t.isHorizontal()?"outerWidth":"outerHeight"](!0),a.css(t.isHorizontal()?"width":"height",r*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==t.previousIndex&&((o+=u-(t.previousIndex-t.loopedSlides||0))>i.dynamicMainBullets-1?o=i.dynamicMainBullets-1:o<0&&(o=0)),s=Math.max(u-o,0),p=((l=s+(Math.min(n.length,i.dynamicMainBullets)-1))+s)/2),n.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${i.bulletActiveClass}${e}`).join(" ")),a.length>1)n.each(e=>{const t=c(e),n=t.index();n===u&&t.addClass(i.bulletActiveClass),i.dynamicBullets&&(n>=s&&n<=l&&t.addClass(`${i.bulletActiveClass}-main`),n===s&&d(t,"prev"),n===l&&d(t,"next"))});else{const e=n.eq(u),a=e.index();if(e.addClass(i.bulletActiveClass),i.dynamicBullets){const e=n.eq(s),r=n.eq(l);for(let e=s;e<=l;e+=1)n.eq(e).addClass(`${i.bulletActiveClass}-main`);if(t.params.loop)if(a>=n.length){for(let e=i.dynamicMainBullets;e>=0;e-=1)n.eq(n.length-e).addClass(`${i.bulletActiveClass}-main`);n.eq(n.length-i.dynamicMainBullets-1).addClass(`${i.bulletActiveClass}-prev`)}else d(e,"prev"),d(r,"next");else d(e,"prev"),d(r,"next")}}if(i.dynamicBullets){const s=Math.min(n.length,i.dynamicMainBullets+4),a=(r*s-r)/2-p*r,o=e?"right":"left";n.css(t.isHorizontal()?o:"top",`${a}px`)}}if("fraction"===i.type&&(a.find(Y(i.currentClass)).text(i.formatFractionCurrent(u+1)),a.find(Y(i.totalClass)).text(i.formatFractionTotal(p))),"progressbar"===i.type){let e;e=i.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const n=(u+1)/p;let s=1,r=1;"horizontal"===e?s=n:r=n,a.find(Y(i.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${s}) scaleY(${r})`).transition(t.params.speed)}"custom"===i.type&&i.renderCustom?(a.html(i.renderCustom(t,u+1,p)),s("paginationRender",a[0])):s("paginationUpdate",a[0]),t.params.watchOverflow&&t.enabled&&a[t.isLocked?"addClass":"removeClass"](i.lockClass)}function p(){const e=t.params.pagination;if(l())return;const i=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,n=t.pagination.$el;let a="";if("bullets"===e.type){let s=t.params.loop?Math.ceil((i-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&!t.params.loop&&s>i&&(s=i);for(let i=0;i`;n.html(a),t.pagination.bullets=n.find(Y(e.bulletClass))}"fraction"===e.type&&(a=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):` / `,n.html(a)),"progressbar"===e.type&&(a=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):``,n.html(a)),"custom"!==e.type&&s("paginationRender",t.pagination.$el[0])}function h(){t.params.pagination=z(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let i=c(e.el);0!==i.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&i.length>1&&((i=t.$el.find(e.el)).length>1&&(i=i.filter(e=>c(e).parents(".swiper")[0]===t.el))),"bullets"===e.type&&e.clickable&&i.addClass(e.clickableClass),i.addClass(e.modifierClass+e.type),i.addClass(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(i.addClass(`${e.modifierClass}${e.type}-dynamic`),o=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&i.addClass(e.progressbarOppositeClass),e.clickable&&i.on("click",Y(e.bulletClass),function(e){e.preventDefault();let i=c(this).index()*t.params.slidesPerGroup;t.params.loop&&(i+=t.loopedSlides),t.slideTo(i)}),Object.assign(t.pagination,{$el:i,el:i[0]}),t.enabled||i.addClass(e.lockClass))}function f(){const e=t.params.pagination;if(l())return;const i=t.pagination.$el;i.removeClass(e.hiddenClass),i.removeClass(e.modifierClass+e.type),i.removeClass(t.isHorizontal()?e.horizontalClass:e.verticalClass),t.pagination.bullets&&t.pagination.bullets.removeClass&&t.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&i.off("click",Y(e.bulletClass))}n("init",()=>{h(),p(),u()}),n("activeIndexChange",()=>{(t.params.loop||void 0===t.snapIndex)&&u()}),n("snapIndexChange",()=>{t.params.loop||u()}),n("slidesLengthChange",()=>{t.params.loop&&(p(),u())}),n("snapGridLengthChange",()=>{t.params.loop||(p(),u())}),n("destroy",()=>{f()}),n("enable disable",()=>{const{$el:e}=t.pagination;e&&e[t.enabled?"removeClass":"addClass"](t.params.pagination.lockClass)}),n("lock unlock",()=>{u()}),n("click",(e,i)=>{const n=i.target,{$el:a}=t.pagination;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&a.length>0&&!c(n).hasClass(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&n===t.navigation.nextEl||t.navigation.prevEl&&n===t.navigation.prevEl))return;const e=a.hasClass(t.params.pagination.hiddenClass);s(!0===e?"paginationShow":"paginationHide"),a.toggleClass(t.params.pagination.hiddenClass)}}),Object.assign(t.pagination,{render:p,update:u,init:h,destroy:f})},function(e){let{swiper:t,extendParams:i,on:s,emit:a}=e;const r=n();let o,l,d,p,h=!1,f=null,m=null;function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:i,progress:n}=t,{$dragEl:s,$el:a}=e,r=t.params.scrollbar;let o=l,c=(d-l)*n;i?(c=-c)>0?(o=l-c,c=0):-c+l>d&&(o=d+c):c<0?(o=l+c,c=0):c+l>d&&(o=d-c),t.isHorizontal()?(s.transform(`translate3d(${c}px, 0, 0)`),s[0].style.width=`${o}px`):(s.transform(`translate3d(0px, ${c}px, 0)`),s[0].style.height=`${o}px`),r.hide&&(clearTimeout(f),a[0].style.opacity=1,f=setTimeout(()=>{a[0].style.opacity=0,a.transition(400)},1e3))}function v(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{$dragEl:i,$el:n}=e;i[0].style.width="",i[0].style.height="",d=t.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,p=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),l="auto"===t.params.scrollbar.dragSize?d*p:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?i[0].style.width=`${l}px`:i[0].style.height=`${l}px`,n[0].style.display=p>=1?"none":"",t.params.scrollbar.hide&&(n[0].style.opacity=0),t.params.watchOverflow&&t.enabled&&e.$el[t.isLocked?"addClass":"removeClass"](t.params.scrollbar.lockClass)}function y(e){return t.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}function b(e){const{scrollbar:i,rtlTranslate:n}=t,{$el:s}=i;let a;a=(y(e)-s.offset()[t.isHorizontal()?"left":"top"]-(null!==o?o:l/2))/(d-l),a=Math.max(Math.min(a,1),0),n&&(a=1-a);const r=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*a;t.updateProgress(r),t.setTranslate(r),t.updateActiveIndex(),t.updateSlidesClasses()}function w(e){const i=t.params.scrollbar,{scrollbar:n,$wrapperEl:s}=t,{$el:r,$dragEl:l}=n;h=!0,o=e.target===l[0]||e.target===l?y(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),l.transition(100),b(e),clearTimeout(m),r.transition(0),i.hide&&r.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),a("scrollbarDragStart",e)}function _(e){const{scrollbar:i,$wrapperEl:n}=t,{$el:s,$dragEl:r}=i;h&&(e.preventDefault?e.preventDefault():e.returnValue=!1,b(e),n.transition(0),s.transition(0),r.transition(0),a("scrollbarDragMove",e))}function T(e){const i=t.params.scrollbar,{scrollbar:n,$wrapperEl:s}=t,{$el:r}=n;h&&(h=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),s.transition("")),i.hide&&(clearTimeout(m),m=u(()=>{r.css("opacity",0),r.transition(400)},1e3)),a("scrollbarDragEnd",e),i.snapOnRelease&&t.slideToClosest())}function x(e){const{scrollbar:i,touchEventsTouch:n,touchEventsDesktop:s,params:a,support:o}=t,l=i.$el[0],c=!(!o.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},d=!(!o.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};if(!l)return;const u="on"===e?"addEventListener":"removeEventListener";o.touch?(l[u](n.start,w,c),l[u](n.move,_,c),l[u](n.end,T,d)):(l[u](s.start,w,c),r[u](s.move,_,c),r[u](s.end,T,d))}function C(){const{scrollbar:e,$el:i}=t;t.params.scrollbar=z(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const n=t.params.scrollbar;if(!n.el)return;let s=c(n.el);t.params.uniqueNavElements&&"string"==typeof n.el&&s.length>1&&1===i.find(n.el).length&&(s=i.find(n.el));let a=s.find(`.${t.params.scrollbar.dragClass}`);0===a.length&&(a=c(`
    `),s.append(a)),Object.assign(e,{$el:s,el:s[0],$dragEl:a,dragEl:a[0]}),n.draggable&&t.params.scrollbar.el&&x("on"),s&&s[t.enabled?"removeClass":"addClass"](t.params.scrollbar.lockClass)}function S(){t.params.scrollbar.el&&x("off")}i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}}),t.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},s("init",()=>{C(),v(),g()}),s("update resize observerUpdate lock unlock",()=>{v()}),s("setTranslate",()=>{g()}),s("setTransition",(e,i)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)}(i)}),s("enable disable",()=>{const{$el:e}=t.scrollbar;e&&e[t.enabled?"removeClass":"addClass"](t.params.scrollbar.lockClass)}),s("destroy",()=>{S()}),Object.assign(t.scrollbar,{updateSize:v,setTranslate:g,init:C,destroy:S})},function(e){let{swiper:t,extendParams:i,on:n}=e;i({parallax:{enabled:!1}});const s=(e,i)=>{const{rtl:n}=t,s=c(e),a=n?-1:1,r=s.attr("data-swiper-parallax")||"0";let o=s.attr("data-swiper-parallax-x"),l=s.attr("data-swiper-parallax-y");const d=s.attr("data-swiper-parallax-scale"),u=s.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):t.isHorizontal()?(o=r,l="0"):(l=r,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*i*a+"%":o*i*a+"px",l=l.indexOf("%")>=0?parseInt(l,10)*i+"%":l*i+"px",null!=u){const e=u-(u-1)*(1-Math.abs(i));s[0].style.opacity=e}if(null==d)s.transform(`translate3d(${o}, ${l}, 0px)`);else{const e=d-(d-1)*(1-Math.abs(i));s.transform(`translate3d(${o}, ${l}, 0px) scale(${e})`)}},a=()=>{const{$el:e,slides:i,progress:n,snapGrid:a}=t;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(e=>{s(e,n)}),i.each((e,i)=>{let r=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(r+=Math.ceil(i/2)-n*(a.length-1)),r=Math.min(Math.max(r,-1),1),c(e).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(e=>{s(e,r)})})};n("beforeInit",()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)}),n("init",()=>{t.params.parallax.enabled&&a()}),n("setTranslate",()=>{t.params.parallax.enabled&&a()}),n("setTransition",(e,i)=>{t.params.parallax.enabled&&function(e){void 0===e&&(e=t.params.speed);const{$el:i}=t;i.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(t=>{const i=c(t);let n=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),i.transition(n)})}(i)})},function(e){let{swiper:t,extendParams:i,on:n,emit:s}=e;const r=a();i({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let o,l,d,u=1,p=!1;const f={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},m={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},g={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let v=1;function y(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,s=e.targetTouches[1].pageY;return Math.sqrt((n-t)**2+(s-i)**2)}function b(e){const i=t.support,n=t.params.zoom;if(l=!1,d=!1,!i.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;l=!0,f.scaleStart=y(e)}f.$slideEl&&f.$slideEl.length||(f.$slideEl=c(e.target).closest(`.${t.params.slideClass}`),0===f.$slideEl.length&&(f.$slideEl=t.slides.eq(t.activeIndex)),f.$imageEl=f.$slideEl.find(`.${n.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),f.$imageWrapEl=f.$imageEl.parent(`.${n.containerClass}`),f.maxRatio=f.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==f.$imageWrapEl.length)?(f.$imageEl&&f.$imageEl.transition(0),p=!0):f.$imageEl=void 0}function w(e){const i=t.support,n=t.params.zoom,s=t.zoom;if(!i.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;d=!0,f.scaleMove=y(e)}f.$imageEl&&0!==f.$imageEl.length?(i.gestures?s.scale=e.scale*u:s.scale=f.scaleMove/f.scaleStart*u,s.scale>f.maxRatio&&(s.scale=f.maxRatio-1+(s.scale-f.maxRatio+1)**.5),s.scalem.touchesStart.x))return void(m.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(m.minY)===Math.floor(m.startY)&&m.touchesCurrent.ym.touchesStart.y))return void(m.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),m.isMoved=!0,m.currentX=m.touchesCurrent.x-m.touchesStart.x+m.startX,m.currentY=m.touchesCurrent.y-m.touchesStart.y+m.startY,m.currentXm.maxX&&(m.currentX=m.maxX-1+(m.currentX-m.maxX+1)**.8),m.currentYm.maxY&&(m.currentY=m.maxY-1+(m.currentY-m.maxY+1)**.8),g.prevPositionX||(g.prevPositionX=m.touchesCurrent.x),g.prevPositionY||(g.prevPositionY=m.touchesCurrent.y),g.prevTime||(g.prevTime=Date.now()),g.x=(m.touchesCurrent.x-g.prevPositionX)/(Date.now()-g.prevTime)/2,g.y=(m.touchesCurrent.y-g.prevPositionY)/(Date.now()-g.prevTime)/2,Math.abs(m.touchesCurrent.x-g.prevPositionX)<2&&(g.x=0),Math.abs(m.touchesCurrent.y-g.prevPositionY)<2&&(g.y=0),g.prevPositionX=m.touchesCurrent.x,g.prevPositionY=m.touchesCurrent.y,g.prevTime=Date.now(),f.$imageWrapEl.transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}}function x(){const e=t.zoom;f.$slideEl&&t.previousIndex!==t.activeIndex&&(f.$imageEl&&f.$imageEl.transform("translate3d(0,0,0) scale(1)"),f.$imageWrapEl&&f.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,u=1,f.$slideEl=void 0,f.$imageEl=void 0,f.$imageWrapEl=void 0)}function C(e){const i=t.zoom,n=t.params.zoom;if(f.$slideEl||(e&&e.target&&(f.$slideEl=c(e.target).closest(`.${t.params.slideClass}`)),f.$slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?f.$slideEl=t.$wrapperEl.children(`.${t.params.slideActiveClass}`):f.$slideEl=t.slides.eq(t.activeIndex)),f.$imageEl=f.$slideEl.find(`.${n.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),f.$imageWrapEl=f.$imageEl.parent(`.${n.containerClass}`)),!f.$imageEl||0===f.$imageEl.length||!f.$imageWrapEl||0===f.$imageWrapEl.length)return;let s,a,o,l,d,p,h,g,v,y,b,w,_,T,x,C,S,P;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),f.$slideEl.addClass(`${n.zoomedSlideClass}`),void 0===m.touchesStart.x&&e?(s="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,a="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(s=m.touchesStart.x,a=m.touchesStart.y),i.scale=f.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,u=f.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,e?(S=f.$slideEl[0].offsetWidth,P=f.$slideEl[0].offsetHeight,d=(o=f.$slideEl.offset().left+r.scrollX)+S/2-s,p=(l=f.$slideEl.offset().top+r.scrollY)+P/2-a,v=f.$imageEl[0].offsetWidth,y=f.$imageEl[0].offsetHeight,b=v*i.scale,w=y*i.scale,x=-(_=Math.min(S/2-b/2,0)),C=-(T=Math.min(P/2-w/2,0)),(h=d*i.scale)<_&&(h=_),h>x&&(h=x),(g=p*i.scale)C&&(g=C)):(h=0,g=0),f.$imageWrapEl.transition(300).transform(`translate3d(${h}px, ${g}px,0)`),f.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${i.scale})`)}function S(){const e=t.zoom,i=t.params.zoom;f.$slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?f.$slideEl=t.$wrapperEl.children(`.${t.params.slideActiveClass}`):f.$slideEl=t.slides.eq(t.activeIndex),f.$imageEl=f.$slideEl.find(`.${i.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),f.$imageWrapEl=f.$imageEl.parent(`.${i.containerClass}`)),f.$imageEl&&0!==f.$imageEl.length&&f.$imageWrapEl&&0!==f.$imageWrapEl.length&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,u=1,f.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),f.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),f.$slideEl.removeClass(`${i.zoomedSlideClass}`),f.$slideEl=void 0)}function P(e){const i=t.zoom;i.scale&&1!==i.scale?S():C(e)}function E(){const e=t.support;return{passiveListener:!("touchstart"!==t.touchEvents.start||!e.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!e.passiveListener||{passive:!1,capture:!0}}}function k(){return`.${t.params.slideClass}`}function M(e){const{passiveListener:i}=E(),n=k();t.$wrapperEl[e]("gesturestart",n,b,i),t.$wrapperEl[e]("gesturechange",n,w,i),t.$wrapperEl[e]("gestureend",n,_,i)}function I(){o||(o=!0,M("on"))}function O(){o&&(o=!1,M("off"))}function j(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const i=t.support,{passiveListener:n,activeListenerWithCapture:s}=E(),a=k();i.gestures?(t.$wrapperEl.on(t.touchEvents.start,I,n),t.$wrapperEl.on(t.touchEvents.end,O,n)):"touchstart"===t.touchEvents.start&&(t.$wrapperEl.on(t.touchEvents.start,a,b,n),t.$wrapperEl.on(t.touchEvents.move,a,w,s),t.$wrapperEl.on(t.touchEvents.end,a,_,n),t.touchEvents.cancel&&t.$wrapperEl.on(t.touchEvents.cancel,a,_,n)),t.$wrapperEl.on(t.touchEvents.move,`.${t.params.zoom.containerClass}`,T,s)}function A(){const e=t.zoom;if(!e.enabled)return;const i=t.support;e.enabled=!1;const{passiveListener:n,activeListenerWithCapture:s}=E(),a=k();i.gestures?(t.$wrapperEl.off(t.touchEvents.start,I,n),t.$wrapperEl.off(t.touchEvents.end,O,n)):"touchstart"===t.touchEvents.start&&(t.$wrapperEl.off(t.touchEvents.start,a,b,n),t.$wrapperEl.off(t.touchEvents.move,a,w,s),t.$wrapperEl.off(t.touchEvents.end,a,_,n),t.touchEvents.cancel&&t.$wrapperEl.off(t.touchEvents.cancel,a,_,n)),t.$wrapperEl.off(t.touchEvents.move,`.${t.params.zoom.containerClass}`,T,s)}Object.defineProperty(t.zoom,"scale",{get:()=>v,set(e){if(v!==e){const t=f.$imageEl?f.$imageEl[0]:void 0,i=f.$slideEl?f.$slideEl[0]:void 0;s("zoomChange",e,t,i)}v=e}}),n("init",()=>{t.params.zoom.enabled&&j()}),n("destroy",()=>{A()}),n("touchStart",(e,i)=>{t.zoom.enabled&&function(e){const i=t.device;f.$imageEl&&0!==f.$imageEl.length&&(m.isTouched||(i.android&&e.cancelable&&e.preventDefault(),m.isTouched=!0,m.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,m.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))}(i)}),n("touchEnd",(e,i)=>{t.zoom.enabled&&function(){const e=t.zoom;if(!f.$imageEl||0===f.$imageEl.length)return;if(!m.isTouched||!m.isMoved)return m.isTouched=!1,void(m.isMoved=!1);m.isTouched=!1,m.isMoved=!1;let i=300,n=300;const s=g.x*i,a=m.currentX+s,r=g.y*n,o=m.currentY+r;0!==g.x&&(i=Math.abs((a-m.currentX)/g.x)),0!==g.y&&(n=Math.abs((o-m.currentY)/g.y));const l=Math.max(i,n);m.currentX=a,m.currentY=o;const c=m.width*e.scale,d=m.height*e.scale;m.minX=Math.min(f.slideWidth/2-c/2,0),m.maxX=-m.minX,m.minY=Math.min(f.slideHeight/2-d/2,0),m.maxY=-m.minY,m.currentX=Math.max(Math.min(m.currentX,m.maxX),m.minX),m.currentY=Math.max(Math.min(m.currentY,m.maxY),m.minY),f.$imageWrapEl.transition(l).transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}()}),n("doubleTap",(e,i)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&P(i)}),n("transitionEnd",()=>{t.zoom.enabled&&t.params.zoom.enabled&&x()}),n("slideChange",()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&x()}),Object.assign(t.zoom,{enable:j,disable:A,in:C,out:S,toggle:P})},function(e){let{swiper:t,extendParams:i,on:n,emit:s}=e;i({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),t.lazy={};let r=!1,o=!1;function l(e,i){void 0===i&&(i=!0);const n=t.params.lazy;if(void 0===e)return;if(0===t.slides.length)return;const a=t.virtual&&t.params.virtual.enabled?t.$wrapperEl.children(`.${t.params.slideClass}[data-swiper-slide-index="${e}"]`):t.slides.eq(e),r=a.find(`.${n.elementClass}:not(.${n.loadedClass}):not(.${n.loadingClass})`);!a.hasClass(n.elementClass)||a.hasClass(n.loadedClass)||a.hasClass(n.loadingClass)||r.push(a[0]),0!==r.length&&r.each(e=>{const r=c(e);r.addClass(n.loadingClass);const o=r.attr("data-background"),d=r.attr("data-src"),u=r.attr("data-srcset"),p=r.attr("data-sizes"),h=r.parent("picture");t.loadImage(r[0],d||o,u,p,!1,()=>{if(null!=t&&t&&(!t||t.params)&&!t.destroyed){if(o?(r.css("background-image",`url("${o}")`),r.removeAttr("data-background")):(u&&(r.attr("srcset",u),r.removeAttr("data-srcset")),p&&(r.attr("sizes",p),r.removeAttr("data-sizes")),h.length&&h.children("source").each(e=>{const t=c(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))}),d&&(r.attr("src",d),r.removeAttr("data-src"))),r.addClass(n.loadedClass).removeClass(n.loadingClass),a.find(`.${n.preloaderClass}`).remove(),t.params.loop&&i){const e=a.attr("data-swiper-slide-index");a.hasClass(t.params.slideDuplicateClass)?l(t.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${t.params.slideDuplicateClass})`).index(),!1):l(t.$wrapperEl.children(`.${t.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`).index(),!1)}s("lazyImageReady",a[0],r[0]),t.params.autoHeight&&t.updateAutoHeight()}}),s("lazyImageLoad",a[0],r[0])})}function d(){const{$wrapperEl:e,params:i,slides:n,activeIndex:s}=t,a=t.virtual&&i.virtual.enabled,r=i.lazy;let d=i.slidesPerView;function u(t){if(a){if(e.children(`.${i.slideClass}[data-swiper-slide-index="${t}"]`).length)return!0}else if(n[t])return!0;return!1}function p(e){return a?c(e).attr("data-swiper-slide-index"):c(e).index()}if("auto"===d&&(d=0),o||(o=!0),t.params.watchSlidesProgress)e.children(`.${i.slideVisibleClass}`).each(e=>{l(a?c(e).attr("data-swiper-slide-index"):c(e).index())});else if(d>1)for(let e=s;e1||r.loadPrevNextAmount&&r.loadPrevNextAmount>1){const e=r.loadPrevNextAmount,t=d,i=Math.min(s+t+Math.max(e,t),n.length),a=Math.max(s-Math.max(t,e),0);for(let e=s+d;e0&&l(p(t));const n=e.children(`.${i.slidePrevClass}`);n.length>0&&l(p(n))}}function u(){const e=a();if(!t||t.destroyed)return;const i=t.params.lazy.scrollingElement?c(t.params.lazy.scrollingElement):c(e),n=i[0]===e,s=n?e.innerWidth:i[0].offsetWidth,o=n?e.innerHeight:i[0].offsetHeight,l=t.$el.offset(),{rtlTranslate:p}=t;let h=!1;p&&(l.left-=t.$el[0].scrollLeft);const f=[[l.left,l.top],[l.left+t.width,l.top],[l.left,l.top+t.height],[l.left+t.width,l.top+t.height]];for(let e=0;e=0&&t[0]<=s&&t[1]>=0&&t[1]<=o){if(0===t[0]&&0===t[1])continue;h=!0}}const m=!("touchstart"!==t.touchEvents.start||!t.support.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1};h?(d(),i.off("scroll",u,m)):r||(r=!0,i.on("scroll",u,m))}n("beforeInit",()=>{t.params.lazy.enabled&&t.params.preloadImages&&(t.params.preloadImages=!1)}),n("init",()=>{t.params.lazy.enabled&&(t.params.lazy.checkInView?u():d())}),n("scroll",()=>{t.params.freeMode&&t.params.freeMode.enabled&&!t.params.freeMode.sticky&&d()}),n("scrollbarDragMove resize _freeModeNoMomentumRelease",()=>{t.params.lazy.enabled&&(t.params.lazy.checkInView?u():d())}),n("transitionStart",()=>{t.params.lazy.enabled&&(t.params.lazy.loadOnTransitionStart||!t.params.lazy.loadOnTransitionStart&&!o)&&(t.params.lazy.checkInView?u():d())}),n("transitionEnd",()=>{t.params.lazy.enabled&&!t.params.lazy.loadOnTransitionStart&&(t.params.lazy.checkInView?u():d())}),n("slideChange",()=>{const{lazy:e,cssMode:i,watchSlidesProgress:n,touchReleaseOnEdges:s,resistanceRatio:a}=t.params;e.enabled&&(i||n&&(s||0===a))&&d()}),Object.assign(t.lazy,{load:d,loadInSlide:l})},function(e){let{swiper:t,extendParams:i,on:n}=e;function s(e,t){const i=function(){let e,t,i;return(n,s)=>{for(t=-1,e=n.length;e-t>1;)n[i=e+t>>1]<=s?t=i:e=i;return e}}();let n,s;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(s=i(this.x,e),n=s-1,(e-this.x[n])*(this.y[s]-this.y[n])/(this.x[s]-this.x[n])+this.y[n]):0},this}function a(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}i({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},n("beforeInit",()=>{t.controller.control=t.params.controller.control}),n("update",()=>{a()}),n("resize",()=>{a()}),n("observerUpdate",()=>{a()}),n("setTranslate",(e,i,n)=>{t.controller.control&&t.controller.setTranslate(i,n)}),n("setTransition",(e,i,n)=>{t.controller.control&&t.controller.setTransition(i,n)}),Object.assign(t.controller,{setTranslate:function(e,i){const n=t.controller.control;let a,r;const o=t.constructor;function l(e){const i=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(function(e){t.controller.spline||(t.controller.spline=t.params.loop?new s(t.slidesGrid,e.slidesGrid):new s(t.snapGrid,e.snapGrid))}(e),r=-t.controller.spline.interpolate(-i)),r&&"container"!==t.params.controller.by||(a=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),r=(i-t.minTranslate())*a+e.minTranslate()),t.params.controller.inverse&&(r=e.maxTranslate()-r),e.updateProgress(r),e.setTranslate(r,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(n))for(let e=0;e{i.updateAutoHeight()}),i.$wrapperEl.transitionEnd(()=>{s&&(i.params.loop&&"slide"===t.params.controller.by&&i.loopFix(),i.transitionEnd())}))}if(Array.isArray(s))for(a=0;a{r(e),"BUTTON"!==e[0].tagName&&(l(e,"button"),e.on("keydown",f)),u(e,i),function(e,t){e.attr("aria-controls",t)}(e,t)},y=e=>{const i=e.target.closest(`.${t.params.slideClass}`);if(!i||!t.slides.includes(i))return;const n=t.slides.indexOf(i)===t.activeIndex,s=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(i);n||s||t.slideTo(t.slides.indexOf(i),0)};n("beforeInit",()=>{s=c(``)}),n("afterInit",()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;t.$el.append(s);const i=t.$el;e.containerRoleDescriptionMessage&&d(i,e.containerRoleDescriptionMessage),e.containerMessage&&u(i,e.containerMessage);const n=t.$wrapperEl,a=e.id||n.attr("id")||`swiper-wrapper-${r=16,void 0===r&&(r=16),"x".repeat(r).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}`;var r;const o=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var p;p=a,n.attr("id",p),function(e,t){n.attr("aria-live",t)}(0,o),e.itemRoleDescriptionMessage&&d(c(t.slides),e.itemRoleDescriptionMessage),l(c(t.slides),e.slideRole);const h=t.params.loop?t.slides.filter(e=>!e.classList.contains(t.params.slideDuplicateClass)).length:t.slides.length;let m,b;t.slides.each((i,n)=>{const s=c(i),a=t.params.loop?parseInt(s.attr("data-swiper-slide-index"),10):n;u(s,e.slideLabelMessage.replace(/\{\{index\}\}/,a+1).replace(/\{\{slidesLength\}\}/,h))}),t.navigation&&t.navigation.$nextEl&&(m=t.navigation.$nextEl),t.navigation&&t.navigation.$prevEl&&(b=t.navigation.$prevEl),m&&m.length&&v(m,a,e.nextSlideMessage),b&&b.length&&v(b,a,e.prevSlideMessage),g()&&t.pagination.$el.on("keydown",Y(t.params.pagination.bulletClass),f),t.$el.on("focus",y,!0)}()}),n("fromEdge toEdge afterInit lock unlock",()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{$nextEl:e,$prevEl:i}=t.navigation;i&&i.length>0&&(t.isBeginning?(p(i),o(i)):(h(i),r(i))),e&&e.length>0&&(t.isEnd?(p(e),o(e)):(h(e),r(e)))}()}),n("paginationUpdate",()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;m()&&t.pagination.bullets.each(i=>{const n=c(i);t.params.pagination.clickable&&(r(n),t.params.pagination.renderBullet||(l(n,"button"),u(n,e.paginationBulletMessage.replace(/\{\{index\}\}/,n.index()+1)))),n.is(`.${t.params.pagination.bulletActiveClass}`)?n.attr("aria-current","true"):n.removeAttr("aria-current")})}()}),n("destroy",()=>{t.params.a11y.enabled&&function(){let e,i;s&&s.length>0&&s.remove(),t.navigation&&t.navigation.$nextEl&&(e=t.navigation.$nextEl),t.navigation&&t.navigation.$prevEl&&(i=t.navigation.$prevEl),e&&e.off("keydown",f),i&&i.off("keydown",f),g()&&t.pagination.$el.off("keydown",Y(t.params.pagination.bulletClass),f),t.$el.off("focus",y,!0)}()})},function(e){let{swiper:t,extendParams:i,on:n}=e;i({history:{enabled:!1,root:"",replaceState:!1,key:"slides"}});let s=!1,r={};const o=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=e=>{const t=a();let i;const n=(i=e?new URL(e):t.location).pathname.slice(1).split("/").filter(e=>""!==e),s=n.length;return{key:n[s-2],value:n[s-1]}},c=(e,i)=>{const n=a();if(!s||!t.params.history.enabled)return;let r;r=t.params.url?new URL(t.params.url):n.location;const l=t.slides.eq(i);let c=o(l.attr("data-history"));if(t.params.history.root.length>0){let i=t.params.history.root;"/"===i[i.length-1]&&(i=i.slice(0,i.length-1)),c=`${i}/${e}/${c}`}else r.pathname.includes(e)||(c=`${e}/${c}`);const d=n.history.state;d&&d.value===c||(t.params.history.replaceState?n.history.replaceState({value:c},null,c):n.history.pushState({value:c},null,c))},d=(e,i,n)=>{if(i)for(let s=0,a=t.slides.length;s{r=l(t.params.url),d(t.params.speed,t.paths.value,!1)};n("init",()=>{t.params.history.enabled&&(()=>{const e=a();if(t.params.history){if(!e.history||!e.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);s=!0,((r=l(t.params.url)).key||r.value)&&(d(0,r.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",u))}})()}),n("destroy",()=>{t.params.history.enabled&&(()=>{const e=a();t.params.history.replaceState||e.removeEventListener("popstate",u)})()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{s&&c(t.params.history.key,t.activeIndex)}),n("slideChange",()=>{s&&t.params.cssMode&&c(t.params.history.key,t.activeIndex)})},function(e){let{swiper:t,extendParams:i,emit:s,on:r}=e,o=!1;const l=n(),d=a();i({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const u=()=>{s("hashChange");const e=l.location.hash.replace("#","");if(e!==t.slides.eq(t.activeIndex).attr("data-hash")){const i=t.$wrapperEl.children(`.${t.params.slideClass}[data-hash="${e}"]`).index();if(void 0===i)return;t.slideTo(i)}},p=()=>{if(o&&t.params.hashNavigation.enabled)if(t.params.hashNavigation.replaceState&&d.history&&d.history.replaceState)d.history.replaceState(null,null,`#${t.slides.eq(t.activeIndex).attr("data-hash")}`||""),s("hashSet");else{const e=t.slides.eq(t.activeIndex),i=e.attr("data-hash")||e.attr("data-history");l.location.hash=i||"",s("hashSet")}};r("init",()=>{t.params.hashNavigation.enabled&&(()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;o=!0;const e=l.location.hash.replace("#","");if(e){const i=0;for(let n=0,s=t.slides.length;n{t.params.hashNavigation.enabled&&t.params.hashNavigation.watchState&&c(d).off("hashchange",u)}),r("transitionEnd _freeModeNoMomentumRelease",()=>{o&&p()}),r("slideChange",()=>{o&&t.params.cssMode&&p()})},function(e){let t,{swiper:i,extendParams:s,on:a,emit:r}=e;function o(){const e=i.slides.eq(i.activeIndex);let n=i.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(n=e.attr("data-swiper-autoplay")||i.params.autoplay.delay),clearTimeout(t),t=u(()=>{let e;i.params.autoplay.reverseDirection?i.params.loop?(i.loopFix(),e=i.slidePrev(i.params.speed,!0,!0),r("autoplay")):i.isBeginning?i.params.autoplay.stopOnLastSlide?c():(e=i.slideTo(i.slides.length-1,i.params.speed,!0,!0),r("autoplay")):(e=i.slidePrev(i.params.speed,!0,!0),r("autoplay")):i.params.loop?(i.loopFix(),e=i.slideNext(i.params.speed,!0,!0),r("autoplay")):i.isEnd?i.params.autoplay.stopOnLastSlide?c():(e=i.slideTo(0,i.params.speed,!0,!0),r("autoplay")):(e=i.slideNext(i.params.speed,!0,!0),r("autoplay")),(i.params.cssMode&&i.autoplay.running||!1===e)&&o()},n)}function l(){return void 0===t&&!i.autoplay.running&&(i.autoplay.running=!0,r("autoplayStart"),o(),!0)}function c(){return!!i.autoplay.running&&void 0!==t&&(t&&(clearTimeout(t),t=void 0),i.autoplay.running=!1,r("autoplayStop"),!0)}function d(e){i.autoplay.running&&(i.autoplay.paused||(t&&clearTimeout(t),i.autoplay.paused=!0,0!==e&&i.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach(e=>{i.$wrapperEl[0].addEventListener(e,h)}):(i.autoplay.paused=!1,o())))}function p(){const e=n();"hidden"===e.visibilityState&&i.autoplay.running&&d(),"visible"===e.visibilityState&&i.autoplay.paused&&(o(),i.autoplay.paused=!1)}function h(e){i&&!i.destroyed&&i.$wrapperEl&&e.target===i.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(e=>{i.$wrapperEl[0].removeEventListener(e,h)}),i.autoplay.paused=!1,i.autoplay.running?o():c())}function f(){i.params.autoplay.disableOnInteraction?c():(r("autoplayPause"),d()),["transitionend","webkitTransitionEnd"].forEach(e=>{i.$wrapperEl[0].removeEventListener(e,h)})}function m(){i.params.autoplay.disableOnInteraction||(i.autoplay.paused=!1,r("autoplayResume"),o())}i.autoplay={running:!1,paused:!1},s({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),a("init",()=>{i.params.autoplay.enabled&&(l(),n().addEventListener("visibilitychange",p),i.params.autoplay.pauseOnMouseEnter&&(i.$el.on("mouseenter",f),i.$el.on("mouseleave",m)))}),a("beforeTransitionStart",(e,t,n)=>{i.autoplay.running&&(n||!i.params.autoplay.disableOnInteraction?i.autoplay.pause(t):c())}),a("sliderFirstMove",()=>{i.autoplay.running&&(i.params.autoplay.disableOnInteraction?c():d())}),a("touchEnd",()=>{i.params.cssMode&&i.autoplay.paused&&!i.params.autoplay.disableOnInteraction&&o()}),a("destroy",()=>{i.$el.off("mouseenter",f),i.$el.off("mouseleave",m),i.autoplay.running&&c(),n().removeEventListener("visibilitychange",p)}),Object.assign(i.autoplay,{pause:d,run:o,start:l,stop:c})},function(e){let{swiper:t,extendParams:i,on:n}=e;i({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let s=!1,a=!1;function r(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const i=e.clickedIndex,n=e.clickedSlide;if(n&&c(n).hasClass(t.params.thumbs.slideThumbActiveClass))return;if(null==i)return;let s;if(s=e.params.loop?parseInt(c(e.clickedSlide).attr("data-swiper-slide-index"),10):i,t.params.loop){let e=t.activeIndex;t.slides.eq(e).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,e=t.activeIndex);const i=t.slides.eq(e).prevAll(`[data-swiper-slide-index="${s}"]`).eq(0).index(),n=t.slides.eq(e).nextAll(`[data-swiper-slide-index="${s}"]`).eq(0).index();s=void 0===i?n:void 0===n?i:n-e1?n:l:n-lt.previousIndex?"next":"prev"}else o=(r=t.realIndex)>t.previousIndex?"next":"prev";a&&(r+="next"===o?s:-1*s),i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(r)<0&&(i.params.centeredSlides?r=r>l?r-Math.floor(n/2)+1:r+Math.floor(n/2)-1:r>l&&i.params.slidesPerGroup,i.slideTo(r,e?0:void 0))}let r=1;const o=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(r=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(r=1),r=Math.floor(r),i.slides.removeClass(o),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(let e=0;e{const{thumbs:e}=t.params;e&&e.swiper&&(o(),l(!0))}),n("slideChange update resize observerUpdate",()=>{l()}),n("setTransition",(e,i)=>{const n=t.thumbs.swiper;n&&!n.destroyed&&n.setTransition(i)}),n("beforeDestroy",()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&a&&e.destroy()}),Object.assign(t.thumbs,{init:o,update:l})},function(e){let{swiper:t,extendParams:i,emit:n,once:s}=e;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){const{touchEventsData:e,touches:i}=t;0===e.velocities.length&&e.velocities.push({position:i[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:i[t.isHorizontal()?"currentX":"currentY"],time:p()})},onTouchEnd:function(e){let{currentPos:i}=e;const{params:a,$wrapperEl:r,rtlTranslate:o,snapGrid:l,touchEventsData:c}=t,d=p()-c.touchStartTime;if(i<-t.minTranslate())t.slideTo(t.activeIndex);else if(i>-t.maxTranslate())t.slides.length1){const e=c.velocities.pop(),i=c.velocities.pop(),n=e.position-i.position,s=e.time-i.time;t.velocity=n/s,t.velocity/=2,Math.abs(t.velocity)150||p()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=a.freeMode.momentumVelocityRatio,c.velocities.length=0;let e=1e3*a.freeMode.momentumRatio;const i=t.velocity*e;let d=t.translate+i;o&&(d=-d);let u,h=!1;const f=20*Math.abs(t.velocity)*a.freeMode.momentumBounceRatio;let m;if(dt.minTranslate())a.freeMode.momentumBounce?(d-t.minTranslate()>f&&(d=t.minTranslate()+f),u=t.minTranslate(),h=!0,c.allowMomentumBounce=!0):d=t.minTranslate(),a.loop&&a.centeredSlides&&(m=!0);else if(a.freeMode.sticky){let e;for(let t=0;t-d){e=t;break}d=-(d=Math.abs(l[e]-d){t.loopFix()}),0!==t.velocity){if(e=o?Math.abs((-d-t.translate)/t.velocity):Math.abs((d-t.translate)/t.velocity),a.freeMode.sticky){const i=Math.abs((o?-d:d)-t.translate),n=t.slidesSizesGrid[t.activeIndex];e=i{t&&!t.destroyed&&c.allowMomentumBounce&&(n("momentumBounce"),t.setTransition(a.speed),setTimeout(()=>{t.setTranslate(u),r.transitionEnd(()=>{t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(n("_freeModeNoMomentumRelease"),t.updateProgress(d),t.setTransition(e),t.setTranslate(d),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,r.transitionEnd(()=>{t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(d),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(a.freeMode.sticky)return void t.slideToClosest();a.freeMode&&n("_freeModeNoMomentumRelease")}(!a.freeMode.momentum||d>=a.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})},function(e){let t,i,n,{swiper:s,extendParams:a}=e;a({grid:{rows:1,fill:"column"}}),s.grid={initSlides:e=>{const{slidesPerView:a}=s.params,{rows:r,fill:o}=s.params.grid;i=t/r,n=Math.floor(e/r),t=Math.floor(e/r)===e/r?e:Math.ceil(e/r)*r,"auto"!==a&&"row"===o&&(t=Math.max(t,a*r))},updateSlide:(e,a,r,o)=>{const{slidesPerGroup:l,spaceBetween:c}=s.params,{rows:d,fill:u}=s.params.grid;let p,h,f;if("row"===u&&l>1){const i=Math.floor(e/(l*d)),n=e-d*l*i,s=0===i?l:Math.min(Math.ceil((r-i*d*l)/d),l);p=(h=n-(f=Math.floor(n/s))*s+i*l)+f*t/d,a.css({"-webkit-order":p,order:p})}else"column"===u?(f=e-(h=Math.floor(e/d))*d,(h>n||h===n&&f===d-1)&&((f+=1)>=d&&(f=0,h+=1))):h=e-(f=Math.floor(e/i))*i;a.css(o("margin-top"),0!==f?c&&`${c}px`:"")},updateWrapperSize:(e,i,n)=>{const{spaceBetween:a,centeredSlides:r,roundLengths:o}=s.params,{rows:l}=s.params.grid;if(s.virtualSize=(e+a)*t,s.virtualSize=Math.ceil(s.virtualSize/l)-a,s.$wrapperEl.css({[n("width")]:`${s.virtualSize+a}px`}),r){i.splice(0,i.length);const e=[];for(let t=0;t{const{slides:e}=t,i=t.params.fadeEffect;for(let n=0;n{const{transformEl:i}=t.params.fadeEffect;(i?t.slides.find(i):t.slides).transition(e),q({swiper:t,duration:e,transformEl:i,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:i,on:n}=e;i({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}}),F({effect:"cube",swiper:t,on:n,setTranslate:()=>{const{$el:e,$wrapperEl:i,slides:n,width:s,height:a,rtlTranslate:r,size:o,browser:l}=t,d=t.params.cubeEffect,u=t.isHorizontal(),p=t.virtual&&t.params.virtual.enabled;let h,f=0;d.shadow&&(u?(0===(h=i.find(".swiper-cube-shadow")).length&&(h=c('
    '),i.append(h)),h.css({height:`${s}px`})):0===(h=e.find(".swiper-cube-shadow")).length&&(h=c('
    '),e.append(h)));for(let e=0;e-1&&(f=90*i+90*l,r&&(f=90*-i-90*l)),t.transform(v),d.slideShadows){let e=u?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),i=u?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===e.length&&(e=c(`
    `),t.append(e)),0===i.length&&(i=c(`
    `),t.append(i)),e.length&&(e[0].style.opacity=Math.max(-l,0)),i.length&&(i[0].style.opacity=Math.max(l,0))}}if(i.css({"-webkit-transform-origin":`50% 50% -${o/2}px`,"transform-origin":`50% 50% -${o/2}px`}),d.shadow)if(u)h.transform(`translate3d(0px, ${s/2+d.shadowOffset}px, ${-s/2}px) rotateX(90deg) rotateZ(0deg) scale(${d.shadowScale})`);else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),i=d.shadowScale,n=d.shadowScale/t,s=d.shadowOffset;h.transform(`scale3d(${i}, 1, ${n}) translate3d(0px, ${a/2+s}px, ${-a/2/n}px) rotateX(-90deg)`)}const m=l.isSafari||l.isWebView?-o/2:0;i.transform(`translate3d(0px,0,${m}px) rotateX(${t.isHorizontal()?0:f}deg) rotateY(${t.isHorizontal()?-f:0}deg)`)},setTransition:e=>{const{$el:i,slides:n}=t;n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&i.find(".swiper-cube-shadow").transition(e)},perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:t,extendParams:i,on:n}=e;i({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}}),F({effect:"flip",swiper:t,on:n,setTranslate:()=>{const{slides:e,rtlTranslate:i}=t,n=t.params.flipEffect;for(let s=0;s{const{transformEl:i}=t.params.flipEffect;(i?t.slides.find(i):t.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),q({swiper:t,duration:e,transformEl:i})},perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:i,on:n}=e;i({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),F({effect:"coverflow",swiper:t,on:n,setTranslate:()=>{const{width:e,height:i,slides:n,slidesSizesGrid:s}=t,a=t.params.coverflowEffect,r=t.isHorizontal(),o=t.translate,l=r?e/2-o:i/2-o,c=r?a.rotate:-a.rotate,d=a.depth;for(let e=0,t=n.length;e0?u:0),i.length&&(i[0].style.opacity=-u>0?-u:0)}}},setTransition:e=>{const{transformEl:i}=t.params.coverflowEffect;(i?t.slides.find(i):t.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:t,extendParams:i,on:n}=e;i({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const s=e=>"string"==typeof e?e:`${e}px`;F({effect:"creative",swiper:t,on:n,setTranslate:()=>{const{slides:e,$wrapperEl:i,slidesSizesGrid:n}=t,a=t.params.creativeEffect,{progressMultiplier:r}=a,o=t.params.centeredSlides;if(o){const e=n[0]/2-t.params.slidesOffsetBefore||0;i.transform(`translateX(calc(50% - ${e}px))`)}for(let i=0;i0&&(m=a.prev,f=!0),p.forEach((e,t)=>{p[t]=`calc(${e}px + (${s(m.translate[t])} * ${Math.abs(c*r)}))`}),h.forEach((e,t)=>{h[t]=m.rotate[t]*Math.abs(c*r)}),n[0].style.zIndex=-Math.abs(Math.round(l))+e.length;const g=p.join(", "),v=`rotateX(${h[0]}deg) rotateY(${h[1]}deg) rotateZ(${h[2]}deg)`,y=d<0?`scale(${1+(1-m.scale)*d*r})`:`scale(${1-(1-m.scale)*d*r})`,b=d<0?1+(1-m.opacity)*d*r:1-(1-m.opacity)*d*r,w=`translate3d(${g}) ${v} ${y}`;if(f&&m.shadow||!f){let e=n.children(".swiper-slide-shadow");if(0===e.length&&m.shadow&&(e=W(a,n)),e.length){const t=a.shadowPerProgress?c*(1/a.limitProgress):c;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const _=H(a,n);_.transform(w).css({opacity:b}),m.origin&&_.css("transform-origin",m.origin)}},setTransition:e=>{const{transformEl:i}=t.params.creativeEffect;(i?t.slides.find(i):t.slides).transition(e).find(".swiper-slide-shadow").transition(e),q({swiper:t,duration:e,transformEl:i,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:i,on:n}=e;i({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0}}),F({effect:"cards",swiper:t,on:n,setTranslate:()=>{const{slides:e,activeIndex:i}=t,n=t.params.cardsEffect,{startTranslate:s,isTouched:a}=t.touchEventsData,r=t.translate;for(let o=0;o0&&d<1&&(a||t.params.cssMode)&&r-1&&(a||t.params.cssMode)&&r>s;if(b||w){const e=(1-Math.abs((Math.abs(d)-.5)/.5))**.5;g+=-28*d*e,m+=-.5*e,v+=96*e,h=-25*e*Math.abs(d)+"%"}if(p=d<0?`calc(${p}px + (${v*Math.abs(d)}%))`:d>0?`calc(${p}px + (-${v*Math.abs(d)}%))`:`${p}px`,!t.isHorizontal()){const e=h;h=p,p=e}const _=d<0?""+(1+(1-m)*d):""+(1-(1-m)*d),T=`\n translate3d(${p}, ${h}, ${f}px)\n rotateZ(${n.rotate?g:0}deg)\n scale(${_})\n `;if(n.slideShadows){let e=l.find(".swiper-slide-shadow");0===e.length&&(e=W(n,l)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(d)-.5)/.5,0),1))}l[0].style.zIndex=-Math.abs(Math.round(c))+e.length,H(n,l).transform(T)}},setTransition:e=>{const{transformEl:i}=t.params.cardsEffect;(i?t.slides.find(i):t.slides).transition(e).find(".swiper-slide-shadow").transition(e),q({swiper:t,duration:e,transformEl:i})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}];return $.use(V),$}),window.SEMICOLON_swiperInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){if(!$(this).hasClass("swiper_wrapper"))return!0;if($(this).find(".swiper-slide").length<1)return!0;let e,t,i=$(this).filter(".swiper_wrapper"),n=i.attr("data-direction")||"horizontal",s=i.attr("data-speed")||300,a=i.attr("data-autoplay"),r=i.attr("data-hover"),o=i.attr("data-loop"),l=i.attr("data-start")||1,c=i.attr("data-effect")||"slide",d=i.attr("data-grab"),u=i.attr("data-parallax"),p=i.find(".slide-number-total"),h=i.find(".slide-number-current"),f=i.attr("data-video-autoplay"),m=i.attr("data-settings");a=a?Number(a):999999999,r="true"==r,o="true"==o,u="true"==u,d="false"!=d,f="false"!=f,l="random"===l?Math.floor(Math.random()*i.find(".swiper-slide:not(.swiper-slide-duplicate)").length):Number(l)-1,i.find(".swiper-pagination").length>0?(e=i.find(".swiper-pagination").get(0),t=!0):(e="",t=!1);let g=i.find(".slider-arrow-right").get(0),v=i.find(".slider-arrow-left").get(0),y=i.find(".swiper-scrollbar").get(0),b=new Swiper(i.find(".swiper-parent").get(0),{direction:n,speed:Number(s),autoplay:{delay:a,pauseOnMouseEnter:r},loop:o,initialSlide:l,effect:c,parallax:u,slidesPerView:1,grabCursor:d,pagination:{el:e,clickable:t},navigation:{prevEl:v,nextEl:g},scrollbar:{el:y},on:{afterInit:function(e){SEMICOLON.slider.sliderDimensions(),i.find(".yt-bg-player").attr("data-autoplay","false").removeClass("customjs"),SEMICOLON.widget.youtubeBgVideo({parent:$(e)});let t=$(".swiper-slide-active").find(".yt-bg-player.mb_YTPlayer:not(.customjs)");t.on("YTPReady",function(){setTimeout(function(){t.YTPPlay()},1e3)}),$(".swiper-slide-active [data-animate]").each(function(){let e=$(this),t=e.attr("data-delay"),i=0;if(i=t?Number(t)+750:750,!e.hasClass("animated")){e.addClass("not-animated");let t=e.attr("data-animate");setTimeout(function(){e.removeClass("not-animated").addClass(t+" animated")},i)}}),i.find("[data-animate]").each(function(){let e=$(this),t=e.attr("data-animate");if(e.parents(".swiper-slide").hasClass("swiper-slide-active"))return!0;e.removeClass("animated").removeClass(t).addClass("not-animated")}),SEMICOLON.slider.swiperSliderMenu()},transitionStart:function(e){h.length>0&&(1==o?h.html(Number(i.find(".swiper-slide.swiper-slide-active").attr("data-swiper-slide-index"))+1):h.html(b.activeIndex+1)),i.find("[data-animate]").each(function(){let e=$(this),t=e.attr("data-animate");if(e.parents(".swiper-slide").hasClass("swiper-slide-active"))return!0;e.removeClass("animated").removeClass(t).addClass("not-animated")}),SEMICOLON.slider.swiperSliderMenu()},transitionEnd:function(e){i.find(".swiper-slide").each(function(){let e=$(this);e.find("video").length>0&&1==f&&e.find("video").get(0).pause(),e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length>0&&e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPPause()}),i.find('.swiper-slide:not(".swiper-slide-active")').each(function(){let e=$(this);e.find("video").length>0&&0!=e.find("video").get(0).currentTime&&(e.find("video").get(0).currentTime=0),e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length>0&&e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPSeekTo(e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").attr("data-start"))}),i.find(".swiper-slide.swiper-slide-active").find("video").length>0&&1==f&&i.find(".swiper-slide.swiper-slide-active").find("video").get(0).play(),i.find(".swiper-slide.swiper-slide-active").find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length>0&&1==f&&i.find(".swiper-slide.swiper-slide-active").find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPPlay(),i.find(".swiper-slide.swiper-slide-active [data-animate]").each(function(){let e=$(this),t=e.attr("data-delay"),i=0;if(i=t?Number(t)+300:300,!e.hasClass("animated")){e.addClass("not-animated");let t=e.attr("data-animate");setTimeout(function(){e.removeClass("not-animated").addClass(t+" animated")},i)}})}}});h.length>0&&(1==o?h.html(b.realIndex+1):h.html(b.activeIndex+1)),p.length>0&&p.html(i.find(".swiper-slide:not(.swiper-slide-duplicate)").length),m&&(m=Function("return "+m)(),Object.keys(m).forEach(function(e,t){b.params[e]=m[e],b.update()}))})},function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){"use strict";e.ui=e.ui||{},e.ui.version="1.13.1";var t,i,n,s,a,r=0,o=Array.prototype.hasOwnProperty,l=Array.prototype.slice;e.cleanData=(t=e.cleanData,function(i){for(var n,s,a=0;null!=(s=i[a]);a++)(n=e._data(s,"events"))&&n.remove&&e(s).triggerHandler("remove");t(i)}),e.widget=function(t,i,n){var s,a,r,o={},l=t.split(".")[0],c=l+"-"+(t=t.split(".")[1]);return n||(n=i,i=e.Widget),Array.isArray(n)&&(n=e.extend.apply(null,[{}].concat(n))),e.expr.pseudos[c.toLowerCase()]=function(t){return!!e.data(t,c)},e[l]=e[l]||{},s=e[l][t],a=e[l][t]=function(e,t){if(!this||!this._createWidget)return new a(e,t);arguments.length&&this._createWidget(e,t)},e.extend(a,s,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),(r=new i).options=e.widget.extend({},r.options),e.each(n,function(e,t){function n(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}o[e]="function"==typeof t?function(){var e,i=this._super,a=this._superApply;return this._super=n,this._superApply=s,e=t.apply(this,arguments),this._super=i,this._superApply=a,e}:t}),a.prototype=e.widget.extend(r,{widgetEventPrefix:s&&r.widgetEventPrefix||t},o,{constructor:a,namespace:l,widgetName:t,widgetFullName:c}),s?(e.each(s._childConstructors,function(t,i){var n=i.prototype;e.widget(n.namespace+"."+n.widgetName,a,i._proto)}),delete s._childConstructors):i._childConstructors.push(a),e.widget.bridge(t,a),a},e.widget.extend=function(t){for(var i,n,s=l.call(arguments,1),a=0,r=s.length;a",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,i){i=e(i||this.defaultElement||this)[0],this.element=e(i),this.uuid=r++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},i!==this&&(e.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===i&&this.destroy()}}),this.document=e(i.style?i.ownerDocument:i.document||i),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,function(e,i){t._removeClass(i,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var n,s,a,r=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(r={},t=(n=t.split(".")).shift(),n.length){for(s=r[t]=e.widget.extend({},this.options[t]),a=0;a?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,i=this.tablist.children(":has(a[href])");t.disabled=e.map(i.filter(".ui-state-disabled"),function(e){return i.index(e)}),this._processTabs(),!1!==t.active&&this.anchors.length?this.active.length&&!e.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=e()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=e()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var t=this,i=this.tabs,n=this.anchors,s=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(t){e(this).is(".ui-state-disabled")&&t.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){e(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return e("a",this)[0]}).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=e(),this.anchors.each(function(i,n){var s,a,r,o=e(n).uniqueId().attr("id"),l=e(n).closest("li"),c=l.attr("aria-controls");t._isLocal(n)?(r=(s=n.hash).substring(1),a=t.element.find(t._sanitizeSelector(s))):(r=l.attr("aria-controls")||e({}).uniqueId()[0].id,(a=t.element.find(s="#"+r)).length||(a=t._createPanel(r)).insertAfter(t.panels[i-1]||t.tablist),a.attr("aria-live","polite")),a.length&&(t.panels=t.panels.add(a)),c&&l.data("ui-tabs-aria-controls",c),l.attr({"aria-controls":r,"aria-labelledby":o}),a.attr("aria-labelledby",o)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),i&&(this._off(i.not(this.tabs)),this._off(n.not(this.anchors)),this._off(s.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(t){return e("
    ").attr("id",t).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(t){var i,n;for(Array.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1),n=0;i=this.tabs[n];n++)i=e(i),!0===t||-1!==e.inArray(n,t)?(i.attr("aria-disabled","true"),this._addClass(i,null,"ui-state-disabled")):(i.removeAttr("aria-disabled"),this._removeClass(i,null,"ui-state-disabled"));this.options.disabled=t,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===t)},_setupEvents:function(t){var i={};t&&e.each(t.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var i,n=this.element.parent();"fill"===t?(i=n.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var t=e(this),n=t.css("position");"absolute"!==n&&"fixed"!==n&&(i-=t.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=e(this).outerHeight(!0)}),this.panels.each(function(){e(this).height(Math.max(0,i-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.panels.each(function(){i=Math.max(i,e(this).height("").height())}).height(i))},_eventHandler:function(t){var i=this.options,n=this.active,s=e(t.currentTarget).closest("li"),a=s[0]===n[0],r=a&&i.collapsible,o=r?e():this._getPanelForTab(s),l=n.length?this._getPanelForTab(n):e();n={oldTab:n,oldPanel:l,newTab:r?e():s,newPanel:o};t.preventDefault(),s.hasClass("ui-state-disabled")||s.hasClass("ui-tabs-loading")||this.running||a&&!i.collapsible||!1===this._trigger("beforeActivate",t,n)||(i.active=!r&&this.tabs.index(s),this.active=a?e():s,this.xhr&&this.xhr.abort(),l.length||o.length||e.error("jQuery UI Tabs: Mismatching fragment identifier."),o.length&&this.load(this.tabs.index(s),t),this._toggle(t,n))},_toggle:function(t,i){var n=this,s=i.newPanel,a=i.oldPanel;function r(){n.running=!1,n._trigger("activate",t,i)}function o(){n._addClass(i.newTab.closest("li"),"ui-tabs-active","ui-state-active"),s.length&&n.options.show?n._show(s,n.options.show,r):(s.show(),r())}this.running=!0,a.length&&this.options.hide?this._hide(a,this.options.hide,function(){n._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o()}):(this._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),a.hide(),o()),a.attr("aria-hidden","true"),i.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),s.length&&a.length?i.oldTab.attr("tabIndex",-1):s.length&&this.tabs.filter(function(){return 0===e(this).attr("tabIndex")}).attr("tabIndex",-1),s.attr("aria-hidden","false"),i.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(t){(t=this._findActive(t))[0]!==this.active[0]&&(t=(t=t.length?t:this.active).find(".ui-tabs-anchor")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:e.noop}))},_findActive:function(t){return!1===t?e():this.tabs.eq(t)},_getIndex:function(t){return"string"==typeof t?this.anchors.index(this.anchors.filter("[href$='"+e.escapeSelector(t)+"']")):t},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){e.data(this,"ui-tabs-destroy")?e(this).remove():e(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var t=e(this),i=t.data("ui-tabs-aria-controls");i?t.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(t){var i=this.options.disabled;!1!==i&&(i=void 0!==t&&(t=this._getIndex(t),Array.isArray(i)?e.map(i,function(e){return e!==t?e:null}):e.map(this.tabs,function(e,i){return i!==t?i:null})),this._setOptionDisabled(i))},disable:function(t){var i=this.options.disabled;if(!0!==i){if(void 0===t)i=!0;else{if(t=this._getIndex(t),-1!==e.inArray(t,i))return;i=Array.isArray(i)?e.merge([t],i).sort():[t]}this._setOptionDisabled(i)}},load:function(t,i){function n(e,t){"abort"===t&&s.panels.stop(!1,!0),s._removeClass(a,"ui-tabs-loading"),r.removeAttr("aria-busy"),e===s.xhr&&delete s.xhr}t=this._getIndex(t);var s=this,a=this.tabs.eq(t),r=(t=a.find(".ui-tabs-anchor"),this._getPanelForTab(a)),o={tab:a,panel:r};this._isLocal(t[0])||(this.xhr=e.ajax(this._ajaxSettings(t,i,o)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(a,"ui-tabs-loading"),r.attr("aria-busy","true"),this.xhr.done(function(e,t,a){setTimeout(function(){r.html(e),s._trigger("load",i,o),n(a,t)},1)}).fail(function(e,t){setTimeout(function(){n(e,t)},1)})))},_ajaxSettings:function(t,i,n){var s=this;return{url:t.attr("href").replace(/#.*$/,""),beforeSend:function(t,a){return s._trigger("beforeLoad",i,e.extend({jqXHR:t,ajaxSettings:a},n))}}},_getPanelForTab:function(t){return t=e(t).attr("aria-controls"),this.element.find(this._sanitizeSelector("#"+t))}}),!1!==e.uiBackCompat&&e.widget("ui.tabs",e.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),e.ui.tabs;var c=e,d={},u=d.toString,p=/^([\-+])=\s*(\d+\.?\d*)/,h=[{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})([a-f0-9]{2})?/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),e[4]?(parseInt(e[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([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),e[4]?(parseInt(e[4]+e[4],16)/255).toFixed(2):1]}},{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]]}}],f=c.Color=function(e,t,i,n){return new c.Color.fn.parse(e,t,i,n)},m={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"}}}},g={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},v=f.support={},y=c("

    ")[0],b=c.each;function w(e){return null==e?e+"":"object"==typeof e?d[u.call(e)]||"object":typeof e}function _(e,t,i){var n=g[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:Math.min(n.max,Math.max(0,e)))}function T(e){var t=f(),i=t._rgba=[];return e=e.toLowerCase(),b(h,function(n,s){var a=(a=s.re.exec(e))&&s.parse(a);s=s.space||"rgba";if(a)return a=t[s](a),t[m[s].cache]=a[m[s].cache],i=t._rgba=a._rgba,!1}),i.length?("0,0,0,0"===i.join()&&c.extend(i,L.transparent),t):L[e]}function x(e,t,i){return 6*(i=(i+1)%1)<1?e+(t-e)*i*6:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}y.style.cssText="background-color:rgba(1,1,1,.5)",v.rgba=-1c.mod/2?o+=c.mod:o-l>c.mod/2&&(o-=c.mod)),a[n]=_((l-o)*t+o,i)))}),this[i](a)},blend:function(e){if(1===this._rgba[3])return this;var t=this._rgba.slice(),i=t.pop(),n=f(e)._rgba;return f(c.map(t,function(e,t){return(1-i)*n[t]+i*e}))},toRgbaString:function(){var e="rgba(",t=c.map(this._rgba,function(e,t){return null!=e?e:2

    ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),s={width:t.width(),height:t.height()},a=document.activeElement;try{a.id}catch(n){a=document.body}return t.wrap(n),t[0]!==a&&!e.contains(t[0],a)||e(a).trigger("focus"),n=t.parent(),"static"===t.css("position")?(n.css({position:"relative"}),t.css({position:"relative"})):(e.extend(i,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,n){i[n]=t.css(n),isNaN(parseInt(i[n],10))&&(i[n]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(s),n.css(i).show()},removeWrapper:function(t){var i=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),t[0]!==i&&!e.contains(t[0],i)||e(i).trigger("focus")),t}}),e.extend(e.effects,{version:"1.13.1",define:function(t,i,n){return n||(n=i,i="effect"),e.effects.effect[t]=n,e.effects.effect[t].mode=i,n},scaledDimensions:function(e,t,i){if(0===t)return{height:0,width:0,outerHeight:0,outerWidth:0};var n="horizontal"!==i?(t||100)/100:1;t="vertical"!==i?(t||100)/100:1;return{height:e.height()*t,width:e.width()*n,outerHeight:e.outerHeight()*t,outerWidth:e.outerWidth()*n}},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,i){var n=e.queue();1").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight"),float:t.css("float")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"),t.data($+"placeholder",i)),t.css({position:n,left:s.left,top:s.top}),i},removePlaceholder:function(e){var t=$+"placeholder",i=e.data(t);i&&(i.remove(),e.removeData(t))},cleanUp:function(t){e.effects.restoreStyle(t),e.effects.removePlaceholder(t)},setTransition:function(t,i,n,s){return s=s||{},e.each(i,function(e,i){var a=t.cssUnit(i);0");c.appendTo("body").addClass(t.className).css({top:l.top-r,left:l.left-o,height:n.innerHeight(),width:n.innerWidth(),position:s?"fixed":"absolute"}).animate(a,t.duration,t.easing,function(){c.remove(),"function"==typeof i&&i()})}}),e.fx.step.clip=function(t){t.clipInit||(t.start=e(t.elem).cssClip(),"string"==typeof t.end&&(t.end=Q(t.end,t.elem)),t.clipInit=!0),e(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})},A={},e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,t){A[t]=function(t){return Math.pow(t,e+2)}}),e.extend(A,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;e<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(A,function(t,i){e.easing["easeIn"+t]=i,e.easing["easeOut"+t]=function(e){return 1-i(1-e)},e.easing["easeInOut"+t]=function(e){return e<.5?i(2*e)/2:1-i(-2*e+2)/2}}),e.effects,e.effects.define("fade","toggle",function(t,i){var n="show"===t.mode;e(this).css("opacity",n?0:1).animate({opacity:n?1:0},{queue:!1,duration:t.duration,easing:t.easing,complete:i})})}),window.SEMICOLON_tabsInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-action")||"click",i=e.attr("data-speed")||400,n=e.attr("data-active")||1;n-=1;let s=window.location.hash;$(s).length>0&&e.find(s).length>0&&(n=$(s).index()),e.tabs({event:t,active:Number(n),show:{effect:"fade",duration:Number(i)},activate:function(e,t){$(t.newPanel).find(".flexslider .slide").resize()}}),SEMICOLON_tabsResponsive(e),SEMICOLON_tabsResponsiveResizeInit(e),$(window).on("scwWindowResize",function(){SEMICOLON_tabsResponsiveResizeInit(e)})})},window.SEMICOLON_tabsResponsive=function(e){if((e=e.filter(".tabs-responsive")).length<1)return!0;e.each(function(){let e=$(this),t=e.find(".tab-nav"),i=e.find(".tab-container");t.children("li").each(function(){let e=$(this).children("a"),t=e.attr("href"),n=e.html();i.find(t).before('
    '+n+"
    ")})})},window.SEMICOLON_tabsResponsiveResizeInit=function(e){let t=$("body");if((e=e.filter(".tabs-responsive")).length<1)return!0;e.each(function(){let e=$(this),i=e.tabs("option","active")+1,n=e.attr("data-accordion-style");t.hasClass("device-sm")||t.hasClass("device-xs")?(e.find(".tab-nav").addClass("d-none"),e.find(".tab-container").addClass("accordion "+n).attr("data-active",i),e.find(".tab-content").addClass("accordion-content"),e.find(".accordion-header").removeClass("d-none"),SEMICOLON.widget.accordions({parent:e})):(t.hasClass("device-md")||t.hasClass("device-lg")||t.hasClass("device-xl"))&&(e.find(".tab-nav").removeClass("d-none"),e.find(".tab-container").removeClass("accordion "+n).attr("data-active",""),i=e.find(".acctitlec").next(".tab-content").index(),e.find(".tab-content").removeClass("accordion-content"),e.find(".accordion-header").addClass("d-none"),e.tabs("refresh"),i>0&&e.tabs("option","active",(i-1)/2))})},function(e){"use strict";function t(t,i){this.element=e(t),this.settings=e.extend({},n,i),this._defaults=n,this._init()}var i="Morphext",n={animation:"bounceIn",separator:",",speed:2e3,complete:e.noop};t.prototype={_init:function(){var t=this;this.phrases=[],this.element.addClass("morphext"),e.each(this.element.text().split(this.settings.separator),function(i,n){t.phrases.push(e.trim(n))}),this.index=-1,this.animate(),this.start()},animate:function(){this.index=++this.index%this.phrases.length,this.element[0].innerHTML=''+this.phrases[this.index]+"",e.isFunction(this.settings.complete)&&this.settings.complete.call(this)},start:function(){var e=this;this._interval=setInterval(function(){e.animate()},this.settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},e.fn[i]=function(n){return this.each(function(){e.data(this,"plugin_"+i)||e.data(this,"plugin_"+i,new t(this,n))})}}(jQuery),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Typed=t():e.Typed=t()}(this,function(){return function(e){function t(n){if(i[n])return i[n].exports;var s=i[n]={exports:{},id:n,loaded:!1};return e[n].call(s.exports,s,s.exports,t),s.loaded=!0,s.exports}var i={};return t.m=e,t.c=i,t.p="",t(0)}([function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var i=0;ie.length););var l=e.substring(0,t),c=e.substring(l.length+1,t+s),d=e.substring(t+s+1);e=l+c+d,s--}i.timeout=setTimeout(function(){i.toggleBlinking(!1),t>=e.length?i.doneTyping(e,t):i.keepTyping(e,t,s),i.temporaryPause&&(i.temporaryPause=!1,i.options.onTypingResumed(i.arrayPos,i))},n)},n))}},{key:"keepTyping",value:function(e,t,i){0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),t+=i;var n=e.substr(0,t);this.replaceText(n),this.typewrite(e,t)}},{key:"doneTyping",value:function(e,t){var i=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){i.backspace(e,t)},this.backDelay))}},{key:"backspace",value:function(e,t){var i=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var n=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){t=a.htmlParser.backSpaceHtmlChars(e,t,i);var n=e.substr(0,t);if(i.replaceText(n),i.smartBackspace){var s=i.strings[i.arrayPos+1];s&&n===s.substr(0,t)?i.stopNum=t:i.stopNum=0}t>i.stopNum?(t--,i.backspace(e,t)):t<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.options.onLastStringBackspaced(),i.shuffleStringsIfNeeded(),i.begin()):i.typewrite(i.strings[i.sequence[i.arrayPos]],t))},n)}else this.setPauseStatus(e,t,!1)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(e,t,i){this.pause.typewrite=i,this.pause.curString=e,this.pause.curStrPos=t}},{key:"toggleBlinking",value:function(e){this.cursor&&(this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(e){return Math.round(Math.random()*e/2)+e}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))}},{key:"initFadeOut",value:function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)},this.fadeOutDelay)}},{key:"replaceText",value:function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.el.innerHTML=e:this.el.textContent=e}},{key:"bindFocusEvents",value:function(){var e=this;this.isInput&&(this.el.addEventListener("focus",function(t){e.stop()}),this.el.addEventListener("blur",function(t){e.el.value&&0!==e.el.value.length||e.start()}))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),e}();t.default=r,e.exports=t.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t":";";e.substr(t+1).charAt(0)!==s&&!(++t+1>e.length););t++}return t}},{key:"backSpaceHtmlChars",value:function(e,t,i){if("html"!==i.contentType)return t;var n=e.substr(t).charAt(0);if(">"===n||";"===n){var s;for(s=">"===n?"<":"&";e.substr(t-1).charAt(0)!==s&&!(--t<0););t--}return t}}]),e}();t.default=n;var s=new n;t.htmlParser=s}])}),window.SEMICOLON_textRotatorInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-typed")||"false",i=e.find(".t-rotate"),n=e.attr("data-rotate")||"fade",s=e.attr("data-speed")||1200,a=e.attr("data-separator")||",";if("true"==t){let t=i.html().split(a),n=e.attr("data-loop")||"true",s=e.attr("data-shuffle"),r=e.attr("data-cursor")||"true",o=e.attr("data-speed")||50,l=e.attr("data-backspeed")||30,c=e.attr("data-backdelay");n="true"==n,s="true"==s,r="true"==r,i.html("").addClass("plugin-typed-init");new Typed(i.get(0),{strings:t,typeSpeed:Number(o),loop:n,shuffle:s,showCursor:r,backSpeed:Number(l),backDelay:Number(c)})}else{i.Morphext({animation:n,separator:a,speed:Number(s)})}})},window.scwTogglesPlugin=window.scwTogglesPlugin||{},window.SEMICOLON_togglesInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-speed")||300;"open"!=e.attr("data-state")?e.children(".toggle-content").hide():e.addClass("toggle-active").children(".toggle-content").slideDown(Number(t)),e.children(".toggle-header").off("click").on("click",function(){return e.toggleClass("toggle-active").children(".toggle-content").slideToggle(Number(t)),!0})})},window.SEMICOLON_twitterFeedInit=function(e){if(e.length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-username")||"twitter",i=e.attr("data-count")||3,n=e.attr("data-loader")||"include/twitter/tweets.php";$.getJSON(n+"?username="+t+"&count="+Number(i),function(t){e.hasClass("fslider")?e.find(".slider-wrap").html(sm_format_twitter3(t)).promise().done(function(){let t=setInterval(function(){e.find(".slide").length>1&&(e.removeClass("customjs"),setTimeout(function(){SEMICOLON.widget.loadFlexSlider()},500),clearInterval(t))},500)}):e.html(sm_format_twitter(t))})})};var ytp=ytp||{};let YTPRndSuffix=(new Date).getTime(),YTPTimerLabels={init:"YTPlayerInit_"+YTPRndSuffix,startPlaying:"YTPlayerStartPlay_"+YTPRndSuffix};function onYouTubeIframeAPIReady(){ytp.YTAPIReady||(ytp.YTAPIReady=!0,jQuery(document).trigger("YTAPIReady"))}let getYTPVideoID=function(e){let t,i;return e.indexOf("youtu.be")>0||e.indexOf("youtube.com/embed")>0?t=(i=(t=e.substr(e.lastIndexOf("/")+1,e.length)).indexOf("?list=")>0?t.substr(t.lastIndexOf("="),t.length):null)?t.substr(0,t.lastIndexOf("?")):t:e.indexOf("http")>-1?(t=e.match(/[\\?&]v=([^&#]*)/)[1],i=e.indexOf("list=")>0?e.match(/[\\?&]list=([^&#]*)/)[1]:null):i=(t=e.length>15?null:e)?null:e,{videoID:t,playlistID:i}};!function(jQuery,ytp){jQuery.mbYTPlayer={name:"jquery.mb.YTPlayer",version:"3.3.9",build:"7581",author:"Matteo Bicocchi (pupunzi)",apiKey:"",defaults:{videoURL:null,containment:"body",ratio:"auto",fadeOnStartTime:1e3,startAt:0,stopAt:0,autoPlay:!0,delayAtStart:1e3,coverImage:!1,loop:!0,addRaster:!1,mask:!1,opacity:1,quality:"hd1080",vol:50,mute:!1,showControls:!0,anchor:"center,center",showAnnotations:!1,cc_load_policy:!1,showYTLogo:!0,useOnMobile:!0,playOnlyIfVisible:!1,onScreenPercentage:30,goFullScreenOnPlay:!1,stopMovieOnBlur:!0,realFullscreen:!0,optimizeDisplay:!0,abundance:.3,gaTrack:!0,remember_last_time:!1,addFilters:!1,useNoCookie:!0,onReady:function(e){},onError:function(e,t){},onEnd:function(){}},controls:{play:"P",pause:"p",mute:"M",unmute:"A",onlyYT:"O",showSite:"R",ytLogo:"Y"},controlBar:null,locationProtocol:"https:",defaultFilters:{grayscale:{value:0,unit:"%"},hue_rotate:{value:0,unit:"deg"},invert:{value:0,unit:"%"},opacity:{value:0,unit:"%"},saturate:{value:0,unit:"%"},sepia:{value:0,unit:"%"},brightness:{value:0,unit:"%"},contrast:{value:0,unit:"%"},blur:{value:0,unit:"px"}},buildPlayer:function(options){if(ytp.YTAPIReady||void 0!==window.YT)setTimeout(function(){jQuery(document).trigger("YTAPIReady"),ytp.YTAPIReady=!0},100);else{jQuery("#YTAPI").remove();let e=jQuery("