PageSourceSearch

https://welcome.ridgewaybenefice.org/wp-content/themes/gucherry-bl…/assets/dist/js/bundle.min.js?ver=1.1.6

js ridgewaybenefice.org collected 2026-10-02 11:43:44 UTC 188,749 bytes, 1 lines download raw bytes

1!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e(t.bootstrap={},t.jQuery)}(this,function(t,e){"use strict";function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function h(){return(h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}for(var o,i,s,a,l,c,d,u,p,f,g,m,v,y,_,w,b,x,E,T,C,S,k,D,I,z,A,N,O,L,M,P,H,j,R,W,B,$,F,U,Y,Q,K,q,X,V,Z,G,J,tt,et,it,nt,ot,st,rt,at,lt,ct,ht,dt,ut,pt,ft,gt,mt,vt,yt,_t,wt,bt,xt=function(n){var e=!1;function t(t){var e=this,i=!1;return n(this).one(l.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||l.triggerTransitionEnd(e)},t),this}var l={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");e&&"#"!==e||(e=t.getAttribute("href")||""),"#"===e.charAt(0)&&(e=function(t){return t="function"==typeof n.escapeSelector?n.escapeSelector(t).substr(1):t.replace(/(:|\.|\[|\]|,|=|@)/g,"\\$1")}(e));try{return 0<n(document).find(e).length?e:null}catch(t){return null}},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(e.end)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var o=i[n],s=e[n],r=s&&l.isElement(s)?"element":(a=s,{}.toString.call(a).match(/\s([a-zA-Z]+)/)[1].toLowerCase());if(!new RegExp(o).test(r))throw new Error(t.toUpperCase()+': Option "'+n+'" provided type "'+r+'" but expected type "'+o+'".')}var a}};return e=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},n.fn.emulateTransitionEnd=t,l.supportsTransitionEnd()&&(n.event.special[l.TRANSITION_END]={bindType:e.end,delegateType:e.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),l}(e=e&&e.hasOwnProperty("default")?e.default:e),Et=(i="alert",a="."+(s="bs.alert"),l=(o=e).fn[i],c={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+".data-api"},d="alert",u="fade",p="show",f=function(){function n(t){this._element=t}var t=n.prototype;return t.close=function(t){t=t||this._element;var e=this._getRootElement(t);this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},t.dispose=function(){o.removeData(this._element,s),this._element=null},t._getRootElement=function(t){var e=xt.getSelectorFromElement(t),i=!1;return e&&(i=o(e)[0]),i||(i=o(t).closest("."+d)[0]),i},t._triggerCloseEvent=function(t){var e=o.Event(c.CLOSE);return o(t).trigger(e),e},t._removeElement=function(e){var i=this;o(e).removeClass(p),xt.supportsTransitionEnd()&&o(e).hasClass(u)?o(e).one(xt.TRANSITION_END,function(t){return i._destroyElement(e,t)}).emulateTransitionEnd(150):this._destroyElement(e)},t._destroyElement=function(t){o(t).detach().trigger(c.CLOSED).remove()},n._jQueryInterface=function(i){return this.each(function(){var t=o(this),e=t.data(s);e||(e=new n(this),t.data(s,e)),"close"===i&&e[i](this)})},n._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},r(n,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),n}(),o(document).on(c.CLICK_DATA_API,'[data-dismiss="alert"]',f._handleDismiss(new f)),o.fn[i]=f._jQueryInterface,o.fn[i].Constructor=f,o.fn[i].noConflict=function(){return o.fn[i]=l,f._jQueryInterface},f),Tt=(m="button",y="."+(v="bs.button"),_=".data-api",w=(g=e).fn[m],b="active",x="btn",T='[data-toggle^="button"]',C='[data-toggle="buttons"]',S="input",k=".active",D=".btn",I={CLICK_DATA_API:"click"+y+_,FOCUS_BLUR_DATA_API:(E="focus")+y+_+" blur"+y+_},z=function(){function i(t){this._element=t}var t=i.prototype;return t.toggle=function(){var t=!0,e=!0,i=g(this._element).closest(C)[0];if(i){var n=g(this._element).find(S)[0];if(n){if("radio"===n.type)if(n.checked&&g(this._element).hasClass(b))t=!1;else{var o=g(i).find(k)[0];o&&g(o).removeClass(b)}if(t){if(n.hasAttribute("disabled")||i.hasAttribute("disabled")||n.classList.contains("disabled")||i.classList.contains("disabled"))return;n.checked=!g(this._element).hasClass(b),g(n).trigger("change")}n.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!g(this._element).hasClass(b)),t&&g(this._element).toggleClass(b)}
1,t.dispose=function(){g.removeData(this._element,v),this._element=null},i._jQueryInterface=function(e){return this.each(function(){var t=g(this).data(v);t||(t=new i(this),g(this).data(v,t)),"toggle"===e&&t[e]()})},r(i,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),i}(),g(document).on(I.CLICK_DATA_API,T,function(t){t.preventDefault();var e=t.target;g(e).hasClass(x)||(e=g(e).closest(D)),z._jQueryInterface.call(g(e),"toggle")}).on(I.FOCUS_BLUR_DATA_API,T,function(t){var e=g(t.target).closest(D)[0];g(e).toggleClass(E,/^focus(in)?$/.test(t.type))}),g.fn[m]=z._jQueryInterface,g.fn[m].Constructor=z,g.fn[m].noConflict=function(){return g.fn[m]=w,z._jQueryInterface},z),Ct=(N="carousel",L="."+(O="bs.carousel"),M=".data-api",P=(A=e).fn[N],H={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},j={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},R="next",W="prev",B="left",$="right",F={SLIDE:"slide"+L,SLID:"slid"+L,KEYDOWN:"keydown"+L,MOUSEENTER:"mouseenter"+L,MOUSELEAVE:"mouseleave"+L,TOUCHEND:"touchend"+L,LOAD_DATA_API:"load"+L+M,CLICK_DATA_API:"click"+L+M},U="carousel",Y="active",Q="slide",K="carousel-item-right",q="carousel-item-left",X="carousel-item-next",V="carousel-item-prev",Z=".active",G=".active.carousel-item",J=".carousel-item",tt=".carousel-item-next, .carousel-item-prev",et=".carousel-indicators",it="[data-slide], [data-slide-to]",nt='[data-ride="carousel"]',ot=function(){function s(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(e),this._element=A(t)[0],this._indicatorsElement=A(this._element).find(et)[0],this._addEventListeners()}var t=s.prototype;return t.next=function(){this._isSliding||this._slide(R)},t.nextWhenVisible=function(){!document.hidden&&A(this._element).is(":visible")&&"hidden"!==A(this._element).css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(W)},t.pause=function(t){t||(this._isPaused=!0),A(this._element).find(tt)[0]&&xt.supportsTransitionEnd()&&(xt.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(t){var e=this;this._activeElement=A(this._element).find(G)[0];var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)A(this._element).one(F.SLID,function(){return e.to(t)});else{if(i===t)return this.pause(),void this.cycle();var n=i<t?R:W;this._slide(n,this._items[t])}},t.dispose=function(){A(this._element).off(L),A.removeData(this._element,O),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(t){return t=h({},H,t),xt.typeCheckConfig(N,t,j),t},t._addEventListeners=function(){var e=this;this._config.keyboard&&A(this._element).on(F.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&(A(this._element).on(F.MOUSEENTER,function(t){return e.pause(t)}).on(F.MOUSELEAVE,function(t){return e.cycle(t)}),"ontouchstart"in document.documentElement&&A(this._element).on(F.TOUCHEND,function(){e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval)}))},t._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},t._getItemIndex=function(t){return this._items=A.makeArray(A(t).parent().find(J)),this._items.indexOf(t)},t._getItemByDirection=function(t,e){var i=t===R,n=t===W,o=this._getItemIndex(e),s=this._items.length-1;if((n&&0===o||i&&o===s)&&!this._config.wrap)return e;var r=(o+(t===W?-1:1))%this._items.length;return-1==r?this._items[this._items.length-1]:this._items[r]},t._triggerSlideEvent=function(t,e){var i=this._getItemIndex(t),n=this._getItemIndex(A(this._element).find(G)[0]),o=A.Event(F.SLIDE,{relatedTarget:t,direction:e,from:n,to:i});return A(this._element).trigger(o),o},t._setActiveIndicatorElement=function(t){if(this._indicatorsElement){A(this._indicatorsElement).find(Z).removeClass(Y);var e=this._indicatorsElement.children[this._getItemIndex(t)];e&&A(e).addClass(Y)}},t._slide=function(t,e){var i,n,o,s=this,r=A(this._element).find(G)[0],a=this._getItemIndex(r),l=e||r&&this._getItemByDirection(t,r),c=this._getItemIndex(l),h=Boolean(this._interval);if(o=t===R?(i=q,n=X,B):(i=K,n=V,$),l&&A(l).hasClass(Y))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).isDefaultPrevented()&&r&&l){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(l);var d=A.Event(F.SLID,{relatedTarget:l,direction:o,from:a,to:c});xt.supportsTransitionEnd()&&A(this._element).hasClass(Q)?(A(l).addClass(n),xt.reflow(l),A(r).addClass(i),A(l).addClass(i),A(r).one(xt.TRANSITION_END,function(){A(l).removeClass(i+" "+n).addClass(Y),A(r).removeClass(Y+" "+n+" "+i),s._isSli
1ding=!1,setTimeout(function(){return A(s._element).trigger(d)},0)}).emulateTransitionEnd(600)):(A(r).removeClass(Y),A(l).addClass(Y),this._isSliding=!1,A(this._element).trigger(d)),h&&this.cycle()}},s._jQueryInterface=function(n){return this.each(function(){var t=A(this).data(O),e=h({},H,A(this).data());"object"==typeof n&&(e=h({},e,n));var i="string"==typeof n?n:e.slide;if(t||(t=new s(this,e),A(this).data(O,t)),"number"==typeof n)t.to(n);else if("string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}else e.interval&&(t.pause(),t.cycle())})},s._dataApiClickHandler=function(t){var e=xt.getSelectorFromElement(this);if(e){var i=A(e)[0];if(i&&A(i).hasClass(U)){var n=h({},A(i).data(),A(this).data()),o=this.getAttribute("data-slide-to");o&&(n.interval=!1),s._jQueryInterface.call(A(i),n),o&&A(i).data(O).to(o),t.preventDefault()}}},r(s,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return H}}]),s}(),A(document).on(F.CLICK_DATA_API,it,ot._dataApiClickHandler),A(window).on(F.LOAD_DATA_API,function(){A(nt).each(function(){var t=A(this);ot._jQueryInterface.call(t,t.data())})}),A.fn[N]=ot._jQueryInterface,A.fn[N].Constructor=ot,A.fn[N].noConflict=function(){return A.fn[N]=P,ot._jQueryInterface},ot),St=(rt="collapse",lt="."+(at="bs.collapse"),ct=(st=e).fn[rt],ht={toggle:!0,parent:""},dt={toggle:"boolean",parent:"(string|element)"},ut={SHOW:"show"+lt,SHOWN:"shown"+lt,HIDE:"hide"+lt,HIDDEN:"hidden"+lt,CLICK_DATA_API:"click"+lt+".data-api"},pt="show",ft="collapse",gt="collapsing",mt="collapsed",vt="width",yt="height",_t=".show, .collapsing",wt='[data-toggle="collapse"]',bt=function(){function a(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=st.makeArray(st('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var i=st(wt),n=0;n<i.length;n++){var o=i[n],s=xt.getSelectorFromElement(o);null!==s&&0<st(s).filter(t).length&&(this._selector=s,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=a.prototype;return t.toggle=function(){st(this._element).hasClass(pt)?this.hide():this.show()},t.show=function(){var t,e,i=this;if(!this._isTransitioning&&!st(this._element).hasClass(pt)&&(this._parent&&0===(t=st.makeArray(st(this._parent).find(_t).filter('[data-parent="'+this._config.parent+'"]'))).length&&(t=null),!(t&&(e=st(t).not(this._selector).data(at))&&e._isTransitioning))){var n=st.Event(ut.SHOW);if(st(this._element).trigger(n),!n.isDefaultPrevented()){t&&(a._jQueryInterface.call(st(t).not(this._selector),"hide"),e||st(t).data(at,null));var o=this._getDimension();st(this._element).removeClass(ft).addClass(gt),(this._element.style[o]=0)<this._triggerArray.length&&st(this._triggerArray).removeClass(mt).attr("aria-expanded",!0),this.setTransitioning(!0);var s=function(){st(i._element).removeClass(gt).addClass(ft).addClass(pt),i._element.style[o]="",i.setTransitioning(!1),st(i._element).trigger(ut.SHOWN)};if(xt.supportsTransitionEnd()){var r="scroll"+(o[0].toUpperCase()+o.slice(1));st(this._element).one(xt.TRANSITION_END,s).emulateTransitionEnd(600),this._element.style[o]=this._element[r]+"px"}else s()}}},t.hide=function(){var t=this;if(!this._isTransitioning&&st(this._element).hasClass(pt)){var e=st.Event(ut.HIDE);if(st(this._element).trigger(e),!e.isDefaultPrevented()){var i=this._getDimension();if(this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",xt.reflow(this._element),st(this._element).addClass(gt).removeClass(ft).removeClass(pt),0<this._triggerArray.length)for(var n=0;n<this._triggerArray.length;n++){var o=this._triggerArray[n],s=xt.getSelectorFromElement(o);if(null!==s)st(s).hasClass(pt)||st(o).addClass(mt).attr("aria-expanded",!1)}this.setTransitioning(!0);var r=function(){t.setTransitioning(!1),st(t._element).removeClass(gt).addClass(ft).trigger(ut.HIDDEN)};this._element.style[i]="",xt.supportsTransitionEnd()?st(this._element).one(xt.TRANSITION_END,r).emulateTransitionEnd(600):r()}}},t.setTransitioning=function(t){this._isTransitioning=t},t.dispose=function(){st.removeData(this._element,at),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(t){return(t=h({},ht,t)).toggle=Boolean(t.toggle),xt.typeCheckConfig(rt,t,dt),t},t._getDimension=function(){return st(this._element).hasClass(vt)?vt:yt},t._getParent=function(){var i=this,t=null;xt.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=st(this._config.parent)[0];var e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return st(t).find(e).each(function(t,e){i._addAriaAndCollapsedClass(a._getTargetFromElement(e),[e])}),t},t._addAriaAndCollapsedClass=function(t,e){if(t){var i=st(t).hasClass(pt);0<e.length&&st(e).toggleClass(mt,!i).attr("aria-expanded",i)}},a._getTargetFromElement=function(t){var e=xt.getSelectorFromElement(t);return e?st(e)[0]:null},a._jQueryInterface=function(n){return this.each(function(){var t=st(this),e=t.data(at),i=h({},ht,t.data(),"object"==typeof n&&n);if(!e&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),e||(e=new a(this,i),t.data(at,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method n
1amed "'+n+'"');e[n]()}})},r(a,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return ht}}]),a}(),st(document).on(ut.CLICK_DATA_API,wt,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var i=st(this),e=xt.getSelectorFromElement(this);st(e).each(function(){var t=st(this),e=t.data(at)?"toggle":i.data();bt._jQueryInterface.call(t,e)})}),st.fn[rt]=bt._jQueryInterface,st.fn[rt].Constructor=bt,st.fn[rt].noConflict=function(){return st.fn[rt]=ct,bt._jQueryInterface},bt),kt="undefined"!=typeof window&&"undefined"!=typeof document,Dt=["Edge","Trident","Firefox"],It=0,zt=0;zt<Dt.length;zt+=1)if(kt&&0<=navigator.userAgent.indexOf(Dt[zt])){It=1;break}var At=kt&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},It))}};function Nt(t){return t&&"[object Function]"==={}.toString.call(t)}function Ot(t,e){if(1!==t.nodeType)return[];var i=getComputedStyle(t,null);return e?i[e]:i}function Lt(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function Mt(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Ot(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll)/.test(i+o+n)?t:Mt(Lt(t))}function Pt(t){var e=t&&t.offsetParent,i=e&&e.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(e.nodeName)&&"static"===Ot(e,"position")?Pt(e):e:t?t.ownerDocument.documentElement:document.documentElement}function Ht(t){return null!==t.parentNode?Ht(t.parentNode):t}function jt(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,o=i?e:t,s=document.createRange();s.setStart(n,0),s.setEnd(o,0);var r=s.commonAncestorContainer;if(t!==r&&e!==r||n.contains(o))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||Pt(t.firstElementChild)===t)}(r)?r:Pt(r);var a=Ht(t);return a.host?jt(a.host,e):jt(t,Ht(e).host)}function Rt(t){var e="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"!==i&&"HTML"!==i)return t[e];var n=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||n)[e]}function Wt(t,e){var i="x"===e?"Left":"Top",n="Left"==i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"],10)+parseFloat(t["border"+n+"Width"],10)}var Bt=void 0,$t=function(){return void 0===Bt&&(Bt=-1!==navigator.appVersion.indexOf("MSIE 10")),Bt};function Ft(t,e,i,n){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],$t()?i["offset"+t]+n["margin"+("Height"===t?"Top":"Left")]+n["margin"+("Height"===t?"Bottom":"Right")]:0)}function Ut(){var t=document.body,e=document.documentElement,i=$t()&&getComputedStyle(e);return{height:Ft("Height",t,e,i),width:Ft("Width",t,e,i)}}function Yt(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var Qt=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}(),Kt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};function qt(t){return Kt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function Xt(t){var e={};if($t())try{e=t.getBoundingClientRect();var i=Rt(t,"top"),n=Rt(t,"left");e.top+=i,e.left+=n,e.bottom+=i,e.right+=n}catch(t){}else e=t.getBoundingClientRect();var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},s="HTML"===t.nodeName?Ut():{},r=s.width||t.clientWidth||o.right-o.left,a=s.height||t.clientHeight||o.bottom-o.top,l=t.offsetWidth-r,c=t.offsetHeight-a;if(l||c){var h=Ot(t);l-=Wt(h,"x"),c-=Wt(h,"y"),o.width-=l,o.height-=c}return qt(o)}
1function Vt(t,e){var i=$t(),n="HTML"===e.nodeName,o=Xt(t),s=Xt(e),r=Mt(t),a=Ot(e),l=parseFloat(a.borderTopWidth,10),c=parseFloat(a.borderLeftWidth,10),h=qt({top:o.top-s.top-l,left:o.left-s.left-c,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!i&&n){var d=parseFloat(a.marginTop,10),u=parseFloat(a.marginLeft,10);h.top-=l-d,h.bottom-=l-d,h.left-=c-u,h.right-=c-u,h.marginTop=d,h.marginLeft=u}return(i?e.contains(r):e===r&&"BODY"!==r.nodeName)&&(h=function(t,e){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=Rt(e,"top"),o=Rt(e,"left"),s=i?-1:1;return t.top+=n*s,t.bottom+=n*s,t.left+=o*s,t.right+=o*s,t}(h,e)),h}function Zt(t,e,i,n){var o={top:0,left:0},s=jt(t,e);if("viewport"===n)o=function(t){var e=t.ownerDocument.documentElement,i=Vt(t,e),n=Math.max(e.clientWidth,window.innerWidth||0),o=Math.max(e.clientHeight,window.innerHeight||0),s=Rt(e),r=Rt(e,"left");return qt({top:s-i.top+i.marginTop,left:r-i.left+i.marginLeft,width:n,height:o})}(s);else{var r=void 0;"scrollParent"===n?"BODY"===(r=Mt(Lt(e))).nodeName&&(r=t.ownerDocument.documentElement):r="window"===n?t.ownerDocument.documentElement:n;var a=Vt(r,s);if("HTML"!==r.nodeName||function t(e){var i=e.nodeName;return"BODY"!==i&&"HTML"!==i&&("fixed"===Ot(e,"position")||t(Lt(e)))}(s))o=a;else{var l=Ut(),c=l.height,h=l.width;o.top+=a.top-a.marginTop,o.bottom=c+a.top,o.left+=a.left-a.marginLeft,o.right=h+a.left}}return o.left+=i,o.top+=i,o.right-=i,o.bottom-=i,o}function Gt(t,e,n,i,o){var s=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var r=Zt(n,i,s,o),a={top:{width:r.width,height:e.top-r.top},right:{width:r.right-e.right,height:r.height},bottom:{width:r.width,height:r.bottom-e.bottom},left:{width:e.left-r.left,height:r.height}},l=Object.keys(a).map(function(t){return Kt({key:t},a[t],{area:function(t){return t.width*t.height}(a[t])})}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),h=0<c.length?c[0].key:l[0].key,d=t.split("-")[1];return h+(d?"-"+d:"")}function Jt(t,e,i){return Vt(i,jt(e,i))}function te(t){var e=getComputedStyle(t),i=parseFloat(e.marginTop)+parseFloat(e.marginBottom),n=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function ee(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function ie(t,e,i){i=i.split("-")[0];var n=te(t),o={width:n.width,height:n.height},s=-1!==["right","left"].indexOf(i),r=s?"top":"left",a=s?"left":"top",l=s?"height":"width",c=s?"width":"height";return o[r]=e[r]+e[l]/2-n[l]/2,o[a]=i===a?e[a]-n[c]:e[ee(a)],o}function ne(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function oe(t,i,e){return(void 0===e?t:t.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===i});var n=ne(t,function(t){return t[e]===i});return t.indexOf(n)}(t,"name",e))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&Nt(e)&&(i.offsets.popper=qt(i.offsets.popper),i.offsets.reference=qt(i.offsets.reference),i=e(i,t))}),i}function se(t,i){return t.some(function(t){var e=t.name;return t.enabled&&e===i})}function re(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length-1;n++){var o=e[n],s=o?""+o+i:t;if(void 0!==document.body.style[s])return s}return null}function ae(t){var e=t.ownerDocument;return e?e.defaultView:window}function le(t,e,i,n){i.updateBound=n,ae(t).addEventListener("resize",i.updateBound,{passive:!0});var o=Mt(t);return function t(e,i,n,o){var s="BODY"===e.nodeName,r=s?e.ownerDocument.defaultView:e;r.addEventListener(i,n,{passive:!0}),s||t(Mt(r.parentNode),i,n,o),o.push(r)}(o,"scroll",i.updateBound,i.scrollParents),i.scrollElement=o,i.eventsEnabled=!0,i}function ce(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(t,e){return ae(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEac
vendor: 8,293 bytes, line 1
1h(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}(this.reference,this.state))}function he(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function de(i,n){Object.keys(n).forEach(function(t){var e="";-1!==["width","height","top","right","bottom","left"].indexOf(t)&&he(n[t])&&(e="px"),i.style[t]=n[t]+e})}function ue(t,e,i){var n=ne(t,function(t){return t.name===e}),o=!!n&&t.some(function(t){return t.name===i&&t.enabled&&t.order<n.order});if(!o){var s="`"+e+"`",r="`"+i+"`";console.warn(r+" modifier is required by "+s+" modifier in order to work, be sure to include it before "+s+"!")}return o}var pe=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],fe=pe.slice(3);function ge(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=fe.indexOf(t),n=fe.slice(i+1).concat(fe.slice(0,i));return e?n.reverse():n}var me="flip",ve="clockwise",ye="counterclockwise";function _e(t,o,s,e){var r=[0,0],a=-1!==["right","left"].indexOf(e),i=t.split(/(\+|\-)/).map(function(t){return t.trim()}),n=i.indexOf(ne(i,function(t){return-1!==t.search(/,|\s/)}));i[n]&&-1===i[n].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==n?[i.slice(0,n).concat([i[n].split(l)[0]]),[i[n].split(l)[1]].concat(i.slice(n+1))]:[i];return(c=c.map(function(t,e){var i=(1===e?!a:a)?"height":"width",n=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,n=!0,t):n?(t[t.length-1]+=e,n=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,i,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+o[1],r=o[2];if(!s)return t;if(0!==r.indexOf("%"))return"vh"!==r&&"vw"!==r?s:("vh"===r?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*s;var a=void 0;switch(r){case"%p":a=i;break;case"%":case"%r":default:a=n}return qt(a)[e]/100*s}(t,i,o,s)})})).forEach(function(i,n){i.forEach(function(t,e){he(t)&&(r[n]+=t*("-"===i[e-1]?-1:1))})}),r}var we={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,s=o.reference,r=o.popper,a=-1!==["bottom","top"].indexOf(i),l=a?"left":"top",c=a?"width":"height",h={start:Yt({},l,s[l]),end:Yt({},l,s[l]+s[c]-r[c])};t.offsets.popper=Kt({},r,h[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i=e.offset,n=t.placement,o=t.offsets,s=o.popper,r=o.reference,a=n.split("-")[0],l=void 0;return l=he(+i)?[+i,0]:_e(i,s,r,a),"left"===a?(s.top+=l[0],s.left-=l[1]):"right"===a?(s.top+=l[0],s.left+=l[1]):"top"===a?(s.left+=l[0],s.top-=l[1]):"bottom"===a&&(s.left+=l[0],s.top+=l[1]),t.popper=s,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,n){var e=n.boundariesElement||Pt(t.instance.popper);t.instance.reference===e&&(e=Pt(e));var o=Zt(t.instance.popper,t.instance.reference,n.padding,e);n.boundaries=o;var i=n.priority,s=t.offsets.popper,r={primary:function(t){var e=s[t];return s[t]<o[t]&&!n.escapeWithReference&&(e=Math.max(s[t],o[t])),Yt({},t,e)},secondary:function(t){var e="right"===t?"left":"top",i=s[e];return s[t]>o[t]&&!n.escapeWithReference&&(i=Math.min(s[e],o[t]-("right"===t?s.width:s.height))),Yt({},e,i)}};return i.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";s=Kt({},s,r[e](t))}),t.offsets.popper=s,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,o=t.placement.split("-")[0],s=Math.floor,r=-1!==["top","bottom"].indexOf(o),a=r?"right":"bottom",l=r?"left":"top",c=r?"width":"height";return i[a]<s(n[l])&&(t.offsets.popper[l]=s(n[l])-i[c]),i[l]>s(n[a])&&(t.offsets.popper[l]=s(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!ue(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],s=t.offsets,r=s.popper,a=s.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",h=l?"Top":"Left",d=h.toLowerCase(),u=l?"left":"top",p=l?"bottom":"right",f=te(n)[c];a[p]-f<r[d]&&(t.offsets.popper[d]-=r[d]-(a[p]-f)),a[d]+f>r[p]&&(t.offsets.popper[d]+=a[d]+f-r[p]),t.offsets.popper=qt(t.offsets.popper);var g=a[d]+a[c]/2-f/2,m=Ot(t.instance.popper),v=parseFloat(m["margin"+h],10),y=parseFloat(m["border"+h+"Width"],10),_=g-t.offsets.popper[d]-v-y;return _=Math.max(Math.min(r[c]-f,_),0),t.arrowElement=n,t.offsets.arrow=(Yt(i={},d,Math.round(_)),Yt(i,u,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(p,f){if(se(p.instance.modifiers,"inner"))return p;if(p.flipped&&p.placement===p.originalPlacement)return p;var g=Zt(p.instance.popper,p.instance.reference,f.padding,f.boundariesElement),m=p.placement.split("-")[0],v=ee(m),y=p.placement.split("-")[1]||"",_=[];switch(f.behavior){case me:_=[m,v];break;case ve:_=ge(m);break;case ye:_=ge(m,!0);break;default:_=f.behavior}return _.forEach(function(t,e){if(m!==t||_.length===e+1)return p;m=p.placement.split("-")[0],v=ee(m);var i=p.offsets.popper,n=p.offsets.reference,o=Math.floor,s="left"===m&&o(i.right)>o(n.left)||"right"===m&&o(i.left)<o(n.right)||"top"===m&&o(i.bottom)>o(n.top)||"bottom"===m&&o(i.top)<o(n.bottom),r=o(i.left)<o(g.left),a=o(i.right)>o(g.right),l=o(i.top)<o(g.top),c=o(i.bottom)>o(g.bottom),h="left"===m&&r||"right"===m&&a||"top"===m&&l||"bottom"===m&&c,d=-1!==["top","bottom"].indexOf(m),u=!!f.flipVariations&&(d&&"start"===y&&r||d&&"end"===y&&a||!d&&"start"===y&&l||!d&&"end"===y&&c);(s||h||u)&&(p.flipped=!0,(s||h)&&(m=_[e+1]),u&&(y=function(t){return"end"===t?"start":"start"===t?"end":t}(y)),p.placement=m+(y?"-"+y:""),p.offsets.popper=Kt({},p.offsets.popper,ie(p.instance.popper,p.offsets.reference,p.placement)),p=oe(p.instance.modifiers,p,"flip"))}),p},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,o=n.popper,s=n.reference,r=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return o[r?"left":"top"]=s[i]-(a?o[r?"width":"height"]:0),t.placement=ee(e),t.offsets.popper=qt(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!ue(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=ne(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var i=e.x,n=e.y,o=t.offsets.popper,s=ne(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==s&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var r=void 0!==s?s:e.gpuAcceleration,a=Xt(Pt(t.instance.popper)),l={position:o.position},c={left:Math.floor(o.left),top:Math.floor(o.top),bottom:Math.floor(o.bottom),right:Math.floor(o.right)},h="bottom"===i?"top":"bottom",d="right"===n?"left":"right",u=re("transform"),p=void 0,f=void 0;if(f="bottom"==h?-a.height+c.bottom:c.top,p="right"==d?-a.width+c.right:c.left,r&&u)l[u]="translate3d("+p+"px, "+f+"px, 0)",l[h]=0,l[d]=0,l.willChange="transform";else{var g="bottom"==h?-1:1,m="right"==d?-1:1;l[h]=f*g,l[d]=p*m,l.willChange=h+", "+d}var v={"x-placement":t.placement};return t.attributes=Kt({},v,t.attributes),t.styles=Kt({},l,t.styles),t.arrowStyles=Kt({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return de(t.instance.popper,t.styles),function(e,i){Object.keys(i).forEac
1h(function(t){!1!==i[t]?e.setAttribute(t,i[t]):e.removeAttribute(t)})}(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&de(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,o){var s=Jt(0,e,t),r=Gt(i.placement,s,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",r),de(e,{position:"absolute"}),i},gpuAcceleration:void 0}}},be=function(){function s(t,e){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=At(this.update.bind(this)),this.options=Kt({},s.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(Kt({},s.Defaults.modifiers,n.modifiers)).forEach(function(t){i.options.modifiers[t]=Kt({},s.Defaults.modifiers[t]||{},n.modifiers?n.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return Kt({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&Nt(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return Qt(s,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=Jt(this.state,this.popper,this.reference),t.placement=Gt(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=ie(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=oe(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,se(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[re("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=le(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return ce.call(this)}}]),s}();be.Utils=("undefined"!=typeof window?window:global).PopperUtils,be.placements=pe,be.Defaults=we;var xe,Ee,Te,Ce,Se,ke,De,Ie,ze,Ae,Ne,Oe,Le,Me,Pe,He,je,Re,We,Be,$e,Fe,Ue,Ye,Qe,Ke,qe,Xe,Ve,Ze,Ge,Je,ti,ei,ii,ni,oi,si,ri,ai,li,ci,hi,di,ui,pi,fi,gi,mi,vi,yi,_i,wi,bi,xi,Ei,Ti,Ci,Si,ki,Di,Ii,zi,Ai,Ni,Oi,Li,Mi,Pi,Hi,ji,Ri,Wi,Bi,$i,Fi,Ui,Yi,Qi,Ki,qi,Xi,Vi,Zi,Gi,Ji,tn,en,nn,on,sn,rn,an,ln,cn,hn,dn,un,pn,fn,gn,mn,vn,yn,_n,wn,bn,xn,En,Tn,Cn,Sn,kn,Dn,In,zn,An,Nn,On,Ln,Mn,Pn,Hn,jn,Rn,Wn,Bn,$n=(Ee="dropdown",Ce="."+(Te="bs.dropdown"),Se=".data-api",ke=(xe=e).fn[Ee],De=new RegExp("38|40|27"),Ie={HIDE:"hide"+Ce,HIDDEN:"hidden"+Ce,SHOW:"show"+Ce,SHOWN:"shown"+Ce,CLICK:"click"+Ce,CLICK_DATA_API:"click"+Ce+Se,KEYDOWN_DATA_API:"keydown"+Ce+Se,KEYUP_DATA_API:"keyup"+Ce+Se},ze="disabled",Ae="show",Ne="dropup",Oe="dropright",Le="dropleft",Me="dropdown-menu-right",Pe="dropdown-menu-left",He="position-static",je='[data-toggle="dropdown"]',Re=".dropdown form",We=".dropdown-menu",Be=".navbar-nav",$e=".dropdown-menu .dropdown-item:not(.disabled)",Fe="top-start",Ue="top-end",Ye="bottom-start",Qe="bottom-end",Ke="right-start",qe="left-start",Xe={offset:0,flip:!0,boundary:"scrollParent"},Ve={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},Ze=function(){function l(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=l.prototype;return t.toggle=function(){if(!this._element.disabled&&!xe(this._element).hasClass(ze)){var t=l._getParentFromElement(this._element),e=xe(this._menu).hasClass(Ae);if(l._clearMenus(),!e){var i={relatedTarget:this._element},n=xe.Event(Ie.SHOW,i);
1if(xe(t).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar){if(void 0===be)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");var o=this._element;xe(t).hasClass(Ne)&&(xe(this._menu).hasClass(Pe)||xe(this._menu).hasClass(Me))&&(o=t),"scrollParent"!==this._config.boundary&&xe(t).addClass(He),this._popper=new be(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===xe(t).closest(Be).length&&xe("body").children().on("mouseover",null,xe.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),xe(this._menu).toggleClass(Ae),xe(t).toggleClass(Ae).trigger(xe.Event(Ie.SHOWN,i))}}}},t.dispose=function(){xe.removeData(this._element,Te),xe(this._element).off(Ce),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;xe(this._element).on(Ie.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(t){return t=h({},this.constructor.Default,xe(this._element).data(),t),xt.typeCheckConfig(Ee,t,this.constructor.DefaultType),t},t._getMenuElement=function(){if(!this._menu){var t=l._getParentFromElement(this._element);this._menu=xe(t).find(We)[0]}return this._menu},t._getPlacement=function(){var t=xe(this._element).parent(),e=Ye;return t.hasClass(Ne)?(e=Fe,xe(this._menu).hasClass(Me)&&(e=Ue)):t.hasClass(Oe)?e=Ke:t.hasClass(Le)?e=qe:xe(this._menu).hasClass(Me)&&(e=Qe),e},t._detectNavbar=function(){return 0<xe(this._element).closest(".navbar").length},t._getPopperConfig=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=h({},t.offsets,e._config.offset(t.offsets)||{}),t}:t.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:t,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}},l._jQueryInterface=function(e){return this.each(function(){var t=xe(this).data(Te);if(t||(t=new l(this,"object"==typeof e?e:null),xe(this).data(Te,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},l._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=xe.makeArray(xe(je)),i=0;i<e.length;i++){var n=l._getParentFromElement(e[i]),o=xe(e[i]).data(Te),s={relatedTarget:e[i]};if(o){var r=o._menu;if(xe(n).hasClass(Ae)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&xe.contains(n,t.target))){var a=xe.Event(Ie.HIDE,s);xe(n).trigger(a),a.isDefaultPrevented()||("ontouchstart"in document.documentElement&&xe("body").children().off("mouseover",null,xe.noop),e[i].setAttribute("aria-expanded","false"),xe(r).removeClass(Ae),xe(n).removeClass(Ae).trigger(xe.Event(Ie.HIDDEN,s)))}}}},l._getParentFromElement=function(t){var e,i=xt.getSelectorFromElement(t);return i&&(e=xe(i)[0]),e||t.parentNode},l._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||xe(t.target).closest(We).length)):De.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!xe(this).hasClass(ze))){var e=l._getParentFromElement(this),i=xe(e).hasClass(Ae);if((i||27===t.which&&32===t.which)&&(!i||27!==t.which&&32!==t.which)){var n=xe(e).find($e).get();if(0!==n.length){var o=n.indexOf(t.target);38===t.which&&0<o&&o--,40===t.which&&o<n.length-1&&o++,o<0&&(o=0),n[o].focus()}}else{if(27===t.which){var s=xe(e).find(je)[0];xe(s).trigger("focus")}xe(this).trigger("click")}}},r(l,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return Xe}},{key:"DefaultType",get:function(){return Ve}}]),l}(),xe(document).on(Ie.KEYDOWN_DATA_API,je,Ze._dataApiKeydownHandler).on(Ie.KEYDOWN_DATA_API,We,Ze._dataApiKeydownHandler).on(Ie.CLICK_DATA_API+" "+Ie.KEYUP_DATA_API,Ze._clearMenus).on(Ie.CLICK_DATA_API,je,function(t){t.preventDefault(),t.stopPropagation(),Ze._jQueryInterface.call(xe(this),"toggle")}).on(Ie.CLICK_DATA_API,Re,function(t){t.stopPropagation()}),xe.fn[Ee]=Ze._jQueryInterface,xe.fn[Ee].Constructor=Ze,xe.fn[Ee].noConflict=function(){return xe.fn[Ee]=ke,Ze._jQueryInterface},Ze),Fn=(Je="modal",ei="."+(ti="bs.modal"),ii=(Ge=e).fn[Je],ni={backdrop:!0,keyboard:!0,focus:!0,show:!0},oi={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},si={HIDE:"hide"+ei,HIDDEN:"hidden"+ei,SHOW:"show"+ei,SHOWN:"shown"+ei,FOCUSIN:"focusin"+ei,RESIZE:"resize"+ei,CLICK_DISMISS:"click.dismiss"+ei,KEYDOWN_DISMISS:"keydown.dismiss"+ei,MOUSEUP_DISMISS:"mouseup.dismiss"+ei,MOUSEDOWN_DISMISS:"mousedown.dismiss"+ei,CLICK_DATA_API:"click"+ei+".data-api"},ri="modal-scrollbar-measure",ai="modal-backdrop",li="modal-open",ci="fade",hi="show",di=".modal
1-dialog",ui='[data-toggle="modal"]',pi='[data-dismiss="modal"]',fi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",gi=".sticky-top",mi=".navbar-toggler",vi=function(){function o(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=Ge(t).find(di)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}var t=o.prototype;return t.toggle=function(t){return this._isShown?this.hide():this.show(t)},t.show=function(t){var e=this;if(!this._isTransitioning&&!this._isShown){xt.supportsTransitionEnd()&&Ge(this._element).hasClass(ci)&&(this._isTransitioning=!0);var i=Ge.Event(si.SHOW,{relatedTarget:t});Ge(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),Ge(document.body).addClass(li),this._setEscapeEvent(),this._setResizeEvent(),Ge(this._element).on(si.CLICK_DISMISS,pi,function(t){return e.hide(t)}),Ge(this._dialog).on(si.MOUSEDOWN_DISMISS,function(){Ge(e._element).one(si.MOUSEUP_DISMISS,function(t){Ge(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},t.hide=function(t){var e=this;if(t&&t.preventDefault(),!this._isTransitioning&&this._isShown){var i=Ge.Event(si.HIDE);if(Ge(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var n=xt.supportsTransitionEnd()&&Ge(this._element).hasClass(ci);n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),Ge(document).off(si.FOCUSIN),Ge(this._element).removeClass(hi),Ge(this._element).off(si.CLICK_DISMISS),Ge(this._dialog).off(si.MOUSEDOWN_DISMISS),n?Ge(this._element).one(xt.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(300):this._hideModal()}}},t.dispose=function(){Ge.removeData(this._element,ti),Ge(window,document,this._element,this._backdrop).off(ei),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(t){return t=h({},ni,t),xt.typeCheckConfig(Je,t,oi),t},t._showElement=function(t){var e=this,i=xt.supportsTransitionEnd()&&Ge(this._element).hasClass(ci);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,i&&xt.reflow(this._element),Ge(this._element).addClass(hi),this._config.focus&&this._enforceFocus();function n(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,Ge(e._element).trigger(o)}var o=Ge.Event(si.SHOWN,{relatedTarget:t});i?Ge(this._dialog).one(xt.TRANSITION_END,n).emulateTransitionEnd(300):n()},t._enforceFocus=function(){var e=this;Ge(document).off(si.FOCUSIN).on(si.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===Ge(e._element).has(t.target).length&&e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?Ge(this._element).on(si.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||Ge(this._element).off(si.KEYDOWN_DISMISS)},t._setResizeEvent=function(){var e=this;this._isShown?Ge(window).on(si.RESIZE,function(t){return e.handleUpdate(t)}):Ge(window).off(si.RESIZE)},t._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,this._showBackdrop(function(){Ge(document.body).removeClass(li),t._resetAdjustments(),t._resetScrollbar(),Ge(t._element).trigger(si.HIDDEN)})},t._removeBackdrop=function(){this._backdrop&&(Ge(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(t){var e=this,i=Ge(this._element).hasClass(ci)?ci:"";if(this._isShown&&this._config.backdrop){var n=xt.supportsTransitionEnd()&&i;if(this._backdrop=document.createElement("div"),this._backdrop.className=ai,i&&Ge(this._backdrop).addClass(i),Ge(this._backdrop).appendTo(document.body),Ge(this._element).on(si.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),n&&xt.reflow(this._backdrop),Ge(this._backdrop).addClass(hi),!t)return;if(!n)return void t();Ge(this._backdrop).one(xt.TRANSITION_END,t).emulateTransitionEnd(150)}else if(!this._isShown&&this._backdrop){Ge(this._backdrop).removeClass(hi);var o=function(){e._removeBackdrop(),t&&t()};xt.supportsTransitionEnd()&&Ge(this._element).hasClass(ci)?Ge(this._backdrop).one(xt.TRANSITION_END,o).emulateTransitionEnd(150):o()}else t&&t()},t._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var o=this;if(this._isBodyOverflowing){Ge(fi).each(function(t,e){var i=Ge(e)[0].style.paddingRight,n=Ge(e).css("padding-right");Ge(e).data("padding-right",i).css("padding-right",parseFloat(n)+o._scrollbarWidth+"px")}),Ge(gi).each(function(t,e){var i=Ge(e)[0].style.marginRight,n=Ge(e).css("margin-right");Ge(e).data("margin-right",i).css("margin-right",parseFloat(n)-o._scrollbarWidth+"px")}),Ge(mi).each(function(t,e){var i=Ge(e)[0].style.marginRight,n=Ge(e).css("margin-right");Ge(e).data("margin-right",i).css("margin-right",parseFloat(n)+o._scrollbarWidth+"px")});var t=document.body.style.paddingRight,e=Ge("body").css("padding-right");Ge("body").data("padding-right",t).css("padding-right",parseFloat(e)+this._scrollbarWidth+"px")}},t._resetScrollbar=function(){Ge(fi).each(function(t,e){var i=Ge(e).data("padding-right");void 0!==i&&Ge(e).css("padding-right",i).removeData("padding-right")}),Ge(gi+", "+mi).each(function(t,e){var i=Ge(e).data("margin-right");void 0!==i&&Ge(e).css("margin-right",i).removeData("margin-right")});var t=Ge("body").data("padding-right");void 0!==t&&Ge("body").css("padding-right",t).removeData("padding-right")},t._getScrollbarWidth=function(){var t=document.createElement("div");t.className=ri,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},o._jQueryInterface=function(i,n){return this.each(function(){var t=Ge(this).data(ti),e=h({},o.Default,Ge(this).data(),"object"==typeof i&&i);if(t||(t=new o(this,e),Ge(this).data(ti,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method n
1amed "'+i+'"');t[i](n)}else e.show&&t.show(n)})},r(o,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return ni}}]),o}(),Ge(document).on(si.CLICK_DATA_API,ui,function(t){var e,i=this,n=xt.getSelectorFromElement(this);n&&(e=Ge(n)[0]);var o=Ge(e).data(ti)?"toggle":h({},Ge(e).data(),Ge(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=Ge(e).one(si.SHOW,function(t){t.isDefaultPrevented()||s.one(si.HIDDEN,function(){Ge(i).is(":visible")&&i.focus()})});vi._jQueryInterface.call(Ge(e),o,this)}),Ge.fn[Je]=vi._jQueryInterface,Ge.fn[Je].Constructor=vi,Ge.fn[Je].noConflict=function(){return Ge.fn[Je]=ii,vi._jQueryInterface},vi),Un=(_i="tooltip",bi="."+(wi="bs.tooltip"),xi=(yi=e).fn[_i],Ei="bs-tooltip",Ti=new RegExp("(^|\\s)"+Ei+"\\S+","g"),ki={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!(Si={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(Ci={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},Ii="out",zi={HIDE:"hide"+bi,HIDDEN:"hidden"+bi,SHOW:(Di="show")+bi,SHOWN:"shown"+bi,INSERTED:"inserted"+bi,CLICK:"click"+bi,FOCUSIN:"focusin"+bi,FOCUSOUT:"focusout"+bi,MOUSEENTER:"mouseenter"+bi,MOUSELEAVE:"mouseleave"+bi},Ai="fade",Ni="show",Oi=".tooltip-inner",Li=".arrow",Mi="hover",Pi="focus",Hi="click",ji="manual",Ri=function(){function c(t,e){if(void 0===be)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t=c.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,i=yi(t.currentTarget).data(e);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),yi(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(yi(this.getTipElement()).hasClass(Ni))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),yi.removeData(this.element,this.constructor.DATA_KEY),yi(this.element).off(this.constructor.EVENT_KEY),yi(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&yi(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===yi(this.element).css("display"))throw new Error("Please use show on visible elements");var t=yi.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){yi(this.element).trigger(t);var i=yi.contains(this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!i)return;var n=this.getTipElement(),o=xt.getUID(this.constructor.NAME);n.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&yi(n).addClass(Ai);var s="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,r=this._getAttachment(s);this.addAttachmentClass(r);var a=!1===this.config.container?document.body:yi(this.config.container);yi(n).data(this.constructor.DATA_KEY,this),yi.contains(this.element.ownerDocument.documentElement,this.tip)||yi(n).appendTo(a),yi(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new be(this.element,n,{placement:r,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:Li}
1,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),yi(n).addClass(Ni),"ontouchstart"in document.documentElement&&yi("body").children().on("mouseover",null,yi.noop);var l=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,yi(e.element).trigger(e.constructor.Event.SHOWN),t===Ii&&e._leave(null,e)};xt.supportsTransitionEnd()&&yi(this.tip).hasClass(Ai)?yi(this.tip).one(xt.TRANSITION_END,l).emulateTransitionEnd(c._TRANSITION_DURATION):l()}},t.hide=function(t){function e(){i._hoverState!==Di&&n.parentNode&&n.parentNode.removeChild(n),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),yi(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),t&&t()}var i=this,n=this.getTipElement(),o=yi.Event(this.constructor.Event.HIDE);yi(this.element).trigger(o),o.isDefaultPrevented()||(yi(n).removeClass(Ni),"ontouchstart"in document.documentElement&&yi("body").children().off("mouseover",null,yi.noop),this._activeTrigger[Hi]=!1,this._activeTrigger[Pi]=!1,this._activeTrigger[Mi]=!1,xt.supportsTransitionEnd()&&yi(this.tip).hasClass(Ai)?yi(n).one(xt.TRANSITION_END,e).emulateTransitionEnd(150):e(),this._hoverState="")},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){yi(this.getTipElement()).addClass(Ei+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||yi(this.config.template)[0],this.tip},t.setContent=function(){var t=yi(this.getTipElement());this.setElementContent(t.find(Oi),this.getTitle()),t.removeClass(Ai+" "+Ni)},t.setElementContent=function(t,e){var i=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?i?yi(e).parent().is(t)||t.empty().append(e):t.text(yi(e).text()):t[i?"html":"text"](e)},t.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},t._getAttachment=function(t){return Si[t.toUpperCase()]},t._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)yi(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(t!==ji){var e=t===Mi?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,i=t===Mi?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;yi(n.element).on(e,n.config.selector,function(t){return n._enter(t)}).on(i,n.config.selector,function(t){return n._leave(t)})}yi(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})}),this.config.selector?this.config=h({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!=t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||yi(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),yi(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?Pi:Mi]=!0),yi(e.getTipElement()).hasClass(Ni)||e._hoverState===Di?e._hoverState=Di:(clearTimeout(e._timeout),e._hoverState=Di,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Di&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||yi(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),yi(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?Pi:Mi]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=Ii,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===Ii&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){return"number"==typeof(t=h({},this.constructor.Default,yi(this.element).data(),t)).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),xt.typeCheckConfig(_i,t,this.constructor.DefaultType),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var t=yi(this.getTipElement()),e=t.attr("class").match(Ti);null!==e&&0<e.length&&t.removeClass(e.join(""))},t._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},t._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(yi(t).removeClass(Ai),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},c._jQueryInterface=function(i){return this.each(function(){var t=yi(this).data(wi),e="object"==typeof i&&i;if((t||!/dispose|hide/.test(i))&&(t||(t=new c(this,e),yi(this).data(wi,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method n
1amed "'+i+'"');t[i]()}})},r(c,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return ki}},{key:"NAME",get:function(){return _i}},{key:"DATA_KEY",get:function(){return wi}},{key:"Event",get:function(){return zi}},{key:"EVENT_KEY",get:function(){return bi}},{key:"DefaultType",get:function(){return Ci}}]),c}(),yi.fn[_i]=Ri._jQueryInterface,yi.fn[_i].Constructor=Ri,yi.fn[_i].noConflict=function(){return yi.fn[_i]=xi,Ri._jQueryInterface},Ri),Yn=(Bi="popover",Fi="."+($i="bs.popover"),Ui=(Wi=e).fn[Bi],Yi="bs-popover",Qi=new RegExp("(^|\\s)"+Yi+"\\S+","g"),Ki=h({},Un.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),qi=h({},Un.DefaultType,{content:"(string|element|function)"}),Xi="fade",Zi=".popover-header",Gi=".popover-body",Ji={HIDE:"hide"+Fi,HIDDEN:"hidden"+Fi,SHOW:(Vi="show")+Fi,SHOWN:"shown"+Fi,INSERTED:"inserted"+Fi,CLICK:"click"+Fi,FOCUSIN:"focusin"+Fi,FOCUSOUT:"focusout"+Fi,MOUSEENTER:"mouseenter"+Fi,MOUSELEAVE:"mouseleave"+Fi},tn=function(t){function n(){return t.apply(this,arguments)||this}!function(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}(n,t);var e=n.prototype;return e.isWithContent=function(){return this.getTitle()||this._getContent()},e.addAttachmentClass=function(t){Wi(this.getTipElement()).addClass(Yi+"-"+t)},e.getTipElement=function(){return this.tip=this.tip||Wi(this.config.template)[0],this.tip},e.setContent=function(){var t=Wi(this.getTipElement());this.setElementContent(t.find(Zi),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(Gi),e),t.removeClass(Xi+" "+Vi)},e._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},e._cleanTipClass=function(){var t=Wi(this.getTipElement()),e=t.attr("class").match(Qi);null!==e&&0<e.length&&t.removeClass(e.join(""))},n._jQueryInterface=function(i){return this.each(function(){var t=Wi(this).data($i),e="object"==typeof i?i:null;if((t||!/destroy|hide/.test(i))&&(t||(t=new n(this,e),Wi(this).data($i,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},r(n,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return Ki}},{key:"NAME",get:function(){return Bi}},{key:"DATA_KEY",get:function(){return $i}},{key:"Event",get:function(){return Ji}},{key:"EVENT_KEY",get:function(){return Fi}},{key:"DefaultType",get:function(){return qi}}]),n}(Un),Wi.fn[Bi]=tn._jQueryInterface,Wi.fn[Bi].Constructor=tn,Wi.fn[Bi].noConflict=function(){return Wi.fn[Bi]=Ui,tn._jQueryInterface},tn),Qn=(nn="scrollspy",sn="."+(on="bs.scrollspy"),rn=(en=e).fn[nn],an={offset:10,method:"auto",target:""},ln={offset:"number",method:"string",target:"(string|element)"},cn={ACTIVATE:"activate"+sn,SCROLL:"scroll"+sn,LOAD_DATA_API:"load"+sn+".data-api"},hn="dropdown-item",dn="active",un='[data-spy="scroll"]',pn=".active",fn=".nav, .list-group",gn=".nav-link",mn=".nav-item",vn=".list-group-item",yn=".dropdown",_n=".dropdown-item",wn=".dropdown-toggle",bn="offset",xn="position",En=function(){function i(t,e){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+gn+","+this._config.target+" "+vn+","+this._config.target+" "+_n,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,en(this._scrollElement).on(cn.SCROLL,function(t){return i._process(t)}),this.refresh(),this._process()}var t=i.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?bn:xn,o="auto"===this._config.method?t:this._config.method,s=o===xn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),en.makeArray(en(this._selector)).map(function(t){var e,i=xt.getSelectorFromElement(t);if(i&&(e=en(i)[0]),e){var n=e.getBoundingClientRect();if(n.width||n.height)return[en(e)[o]().top+s,i]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}
1).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.dispose=function(){en.removeData(this._element,on),en(this._scrollElement).off(sn),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(t){if("string"!=typeof(t=h({},an,t)).target){var e=en(t.target).attr("id");e||(e=xt.getUID(nn),en(t.target).attr("id",e)),t.target="#"+e}return xt.typeCheckConfig(nn,t,ln),t},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),i<=t){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",");t=t.map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'});var i=en(t.join(","));i.hasClass(hn)?(i.closest(yn).find(wn).addClass(dn),i.addClass(dn)):(i.addClass(dn),i.parents(fn).prev(gn+", "+vn).addClass(dn),i.parents(fn).prev(mn).children(gn).addClass(dn)),en(this._scrollElement).trigger(cn.ACTIVATE,{relatedTarget:e})},t._clear=function(){en(this._selector).filter(pn).removeClass(dn)},i._jQueryInterface=function(e){return this.each(function(){var t=en(this).data(on);if(t||(t=new i(this,"object"==typeof e&&e),en(this).data(on,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},r(i,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return an}}]),i}(),en(window).on(cn.LOAD_DATA_API,function(){for(var t=en.makeArray(en(un)),e=t.length;e--;){var i=en(t[e]);En._jQueryInterface.call(i,i.data())}}),en.fn[nn]=En._jQueryInterface,en.fn[nn].Constructor=En,en.fn[nn].noConflict=function(){return en.fn[nn]=rn,En._jQueryInterface},En),Kn=(Sn="."+(Cn="bs.tab"),kn=(Tn=e).fn.tab,Dn={HIDE:"hide"+Sn,HIDDEN:"hidden"+Sn,SHOW:"show"+Sn,SHOWN:"shown"+Sn,CLICK_DATA_API:"click"+Sn+".data-api"},In="dropdown-menu",zn="active",An="disabled",Nn="fade",On="show",Ln=".dropdown",Mn=".nav, .list-group",Pn=".active",Hn="> li > .active",jn='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Rn=".dropdown-toggle",Wn="> .dropdown-menu .active",Bn=function(){function n(t){this._element=t}var t=n.prototype;return t.show=function(){var i=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&Tn(this._element).hasClass(zn)||Tn(this._element).hasClass(An))){var t,n,e=Tn(this._element).closest(Mn)[0],o=xt.getSelectorFromElement(this._element);if(e){var s="UL"===e.nodeName?Hn:Pn;n=(n=Tn.makeArray(Tn(e).find(s)))[n.length-1]}var r=Tn.Event(Dn.HIDE,{relatedTarget:this._element}),a=Tn.Event(Dn.SHOW,{relatedTarget:n});if(n&&Tn(n).trigger(r),Tn(this._element).trigger(a),!a.isDefaultPrevented()&&!r.isDefaultPrevented()){o&&(t=Tn(o)[0]),this._activate(this._element,e);var l=function(){var t=Tn.Event(Dn.HIDDEN,{relatedTarget:i._element}),e=Tn.Event(Dn.SHOWN,{relatedTarget:n});Tn(n).trigger(t),Tn(i._element).trigger(e)};t?this._activate(t,t.parentNode,l):l()}}},t.dispose=function(){Tn.removeData(this._element,Cn),this._element=null},t._activate=function(t,e,i){function n(){return o._transitionComplete(t,s,i)}var o=this,s=("UL"===e.nodeName?Tn(e).find(Hn):Tn(e).children(Pn))[0],r=i&&xt.supportsTransitionEnd()&&s&&Tn(s).hasClass(Nn);s&&r?Tn(s).one(xt.TRANSITION_END,n).emulateTransitionEnd(150):n()}
1,t._transitionComplete=function(t,e,i){if(e){Tn(e).removeClass(On+" "+zn);var n=Tn(e.parentNode).find(Wn)[0];n&&Tn(n).removeClass(zn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(Tn(t).addClass(zn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),xt.reflow(t),Tn(t).addClass(On),t.parentNode&&Tn(t.parentNode).hasClass(In)){var o=Tn(t).closest(Ln)[0];o&&Tn(o).find(Rn).addClass(zn),t.setAttribute("aria-expanded",!0)}i&&i()},n._jQueryInterface=function(i){return this.each(function(){var t=Tn(this),e=t.data(Cn);if(e||(e=new n(this),t.data(Cn,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},r(n,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),n}(),Tn(document).on(Dn.CLICK_DATA_API,jn,function(t){t.preventDefault(),Bn._jQueryInterface.call(Tn(this),"show")}),Tn.fn.tab=Bn._jQueryInterface,Tn.fn.tab.Constructor=Bn,Tn.fn.tab.noConflict=function(){return Tn.fn.tab=kn,Bn._jQueryInterface},Bn);!function(t){if(void 0===t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(e),t.Util=xt,t.Alert=Et,t.Button=Tt,t.Carousel=Ct,t.Collapse=St,t.Dropdown=$n,t.Modal=Fn,t.Popover=Yn,t.Scrollspy=Qn,t.Tab=Kn,t.Tooltip=Un,Object.defineProperty(t,"__esModule",{value:!0})}),function(){var o,t,e,i,n,s;if((o=document.getElementById("site-navigation"))&&void 0!==(t=o.getElementsByTagName("button")[0]))if(void 0!==(e=o.getElementsByTagName("ul")[0])){for(e.setAttribute("aria-expanded","false"),-1===e.className.indexOf("nav-menu")&&(e.className+=" nav-menu"),t.onclick=function(){-1!==o.className.indexOf("toggled")?(o.className=o.className.replace(" toggled",""),t.setAttribute("aria-expanded","false"),e.setAttribute("aria-expanded","false")):(o.className+=" toggled",t.setAttribute("aria-expanded","true"),e.setAttribute("aria-expanded","true"))},n=0,s=(i=e.getElementsByTagName("a")).length;n<s;n++)i[n].addEventListener("focus",r,!0),i[n].addEventListener("blur",r,!0);!function(t){var e,i,n=o.querySelectorAll(".menu-item-has-children > a, .page_item_has_children > a");if("ontouchstart"in window)for(e=function(t){var e,i=this.parentNode;if(i.classList.contains("focus"))i.classList.remove("focus");else{for(t.preventDefault(),e=0;e<i.parentNode.children.length;++e)i!==i.parentNode.children[e]&&i.parentNode.children[e].classList.remove("focus");i.classList.add("focus")}},i=0;i<n.length;++i)n[i].addEventListener("touchstart",e,!1)}()}else t.style.display="none";function r(){for(var t=this;-1===t.className.indexOf("nav-menu");)"li"===t.tagName.toLowerCase()&&(-1!==t.className.indexOf("focus")?t.className=t.className.replace(" focus",""):t.className+=" focus"),t=t.parentElement}}(),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";var S=!1,k=!1,D=0,I=2e3,z=0,A=t,N=document,O=window,L=A(O),M=[];var P=O.requestAnimationFrame||O.webkitRequestAnimationFrame||O.mozRequestAnimationFrame||!1,H=O.cancelAnimationFrame||O.webkitCancelAnimationFrame||O.mozCancelAnimationFrame||!1;if(P)O.cancelAnimationFrame||(H=function(t){});else{var s=0;P=function(t,e){var i=(new Date).getTime(),n=Math.max(0,16-(i-s)),o=O.setTimeout(function(){t(i+n)},n);return s=i+n,o},H=function(t){O.clearTimeout(t)}}function a(t,e){var _=this;this.version="3.7.6",this.name="nicescroll",this.me=e;var w=A("body"),b=this.opt={doc:w,win:!1};if(A.extend(b,W),b.snapbackspeed=80,t)for(var i in b)void 0!==t[i]&&(b[i]=t[i]);if(b.disablemutationobserver&&(j=!1),this.doc=b.doc,this.iddoc=this.doc&&this.doc[0]&&this.doc[0].id||"",this.ispage=/^BODY|HTML/.test(b.win?b.win[0].nodeName:this.doc[0].nodeName),this.haswrapper=!1!==b.win,this.win=b.win||(this.ispage?L:this.doc),this.docscroll=this.ispage&&!this.haswrapper?L:this.win,this.body=w,this.viewport=!1,this.isfi
1xed=!1,this.iframe=!1,this.isiframe="IFRAME"==this.doc[0].nodeName&&"IFRAME"==this.win[0].nodeName,this.istextarea="TEXTAREA"==this.win[0].nodeName,this.forcescreen=!1,this.canshowonmouseevent="scroll"!=b.autohidemode,this.onmousedown=!1,this.onmouseup=!1,this.onmousemove=!1,this.onmousewheel=!1,this.onkeypress=!1,this.ongesturezoom=!1,this.onclick=!1,this.onscrollstart=!1,this.onscrollend=!1,this.onscrollcancel=!1,this.onzoomin=!1,this.onzoomout=!1,this.view=!1,this.page=!1,this.scroll={x:0,y:0},this.scrollratio={x:0,y:0},this.cursorheight=20,this.scrollvaluemax=0,"auto"==b.rtlmode){var n=this.win[0]==O?this.body:this.win,o=n.css("writing-mode")||n.css("-webkit-writing-mode")||n.css("-ms-writing-mode")||n.css("-moz-writing-mode");"horizontal-tb"==o||"lr-tb"==o||""===o?(this.isrtlmode="rtl"==n.css("direction"),this.isvertical=!1):(this.isrtlmode="vertical-rl"==o||"tb"==o||"tb-rl"==o||"rl-tb"==o,this.isvertical="vertical-rl"==o||"tb"==o||"tb-rl"==o)}else this.isrtlmode=!0===b.rtlmode,this.isvertical=!1;if(this.scrollrunning=!1,this.scrollmom=!1,this.observer=!1,this.observerremover=!1,(this.observerbody=!1)!==b.scrollbarid)this.id=b.scrollbarid;else for(;this.id="ascrail"+I++,N.getElementById(this.id););this.rail=!1,this.cursor=!1,this.cursorfreezed=!1,this.selectiondrag=!1,this.zoom=!1,this.zoomactive=!1,this.hasfocus=!1,this.hasmousefocus=!1,this.railslocked=!1,this.locked=!1,this.hidden=!1,this.cursoractive=!0,this.wheelprevented=!1,this.overflowx=b.overflowx,this.overflowy=b.overflowy,this.nativescrollingarea=!1,this.checkarea=0,this.events=[],this.saved={},this.delaylist={},this.synclist={},this.lastdeltax=0,this.lastdeltay=0,this.detected=function(){if(B)return B;var t=N.createElement("DIV"),s=t.style,e=navigator.userAgent,i=navigator.platform,r={};return r.haspointerlock="pointerLockElement"in N||"webkitPointerLockElement"in N||"mozPointerLockElement"in N,r.isopera="opera"in O,r.isopera12=r.isopera&&"getUserMedia"in navigator,r.isoperamini="[object OperaMini]"===Object.prototype.toString.call(O.operamini),r.isie="all"in N&&"attachEvent"in t&&!r.isopera,r.isieold=r.isie&&!("msInterpolationMode"in s),r.isie7=r.isie&&!r.isieold&&(!("documentMode"in N)||7===N.documentMode),r.isie8=r.isie&&"documentMode"in N&&8===N.documentMode,r.isie9=r.isie&&"performance"in O&&9===N.documentMode,r.isie10=r.isie&&"performance"in O&&10===N.documentMode,r.isie11="msRequestFullscreen"in t&&11<=N.documentMode,r.ismsedge="msCredentials"in O,r.ismozilla="MozAppearance"in s,r.iswebkit=!r.ismsedge&&"WebkitAppearance"in s,r.ischrome=r.iswebkit&&"chrome"in O,r.ischrome38=r.ischrome&&"touchAction"in s,r.ischrome22=!r.ischrome38&&r.ischrome&&r.haspointerlock,r.ischrome26=!r.ischrome38&&r.ischrome&&"transition"in s,r.cantouch="ontouchstart"in N.documentElement||"ontouchstart"in O,r.hasw3ctouch=!!O.PointerEvent&&(0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints),r.hasmstouch=!r.hasw3ctouch&&(O.MSPointerEvent||!1),r.ismac=/^mac$/i.test(i),r.isios=r.cantouch&&/iphone|ipad|ipod/i.test(i),r.isios4=r.isios&&!("seal"in Object),r.isios7=r.isios&&"webkitHidden"in N,r.isios8=r.isios&&"hidden"in N,r.isios10=r.isios&&O.Proxy,r.isandroid=/android/i.test(e),r.haseventlistener="addEventListener"in t,r.trstyle=!1,r.hastransform=!1,r.hastranslate3d=!1,r.transitionstyle=!1,r.hastransition=!1,r.transitionend=!1,r.trstyle="transform",r.hastransform="transform"in s||function(){for(var t=["msTransform","webkitTransform","MozTransform","OTransform"],e=0,i=t.length;e<i;e++)if(void 0!==s[t[e]]){r.trstyle=t[e];break}r.hastransform=!!r.trstyle}(),r.hastransform&&(s[r.trstyle]="translate3d(1px,2px,3px)",r.hastranslate3d=/translate3d/.test(s[r.trstyle])),r.transitionstyle="transition",r.prefixstyle="",r.transitionend="transitionend",r.hastransition="transition"in s||function(){r.transitionend=!1;for(var t=["webkitTransition","msTransition","MozTransition","OTransition","OTransition","KhtmlTransition"],e=["-webkit-","-ms-","-moz-","-o-","-o","-khtml-"],i=["webkitTransitionEnd","msTransitionEnd","transitionend","otransitionend","oTransitionEnd","KhtmlTransitionEnd"],n=0,o=t.length;n<o;n++)if(t[n]in s){r.transitionstyle=t[n],r.prefixstyle=e[n],r.transitionend=i[n];break}r.ischrome26&&(r.prefixstyle=e[1]),r.hastransition=r.transitionstyle}
vendor: 13,200 bytes, line 1
1(),r.cursorgrabvalue=function(){var t=["grab","-webkit-grab","-moz-grab"];(r.ischrome&&!r.ischrome38||r.isie)&&(t=[]);for(var e=0,i=t.length;e<i;e++){var n=t[e];if(s.cursor=n,s.cursor==n)return n}return"url(https://cdnjs.cloudflare.com/ajax/libs/slider-pro/1.3.0/css/images/openhand.cur),n-resize"}(),r.hasmousecapture="setCapture"in t,r.hasMutationObserver=!1!==j,t=null,B=r}();var x=A.extend({},this.detected);function h(t,e,i,n,o,s,r){this.st=t,this.ed=e,this.spd=i,this.p1=n||0,this.p2=o||1,this.p3=s||0,this.p4=r||1,this.ts=R(),this.df=e-t}function s(){var t=_.doc.css(x.trstyle);return!(!t||"matrix"!=t.substr(0,6))&&t.replace(/^.*\((.*)\)$/g,"$1").replace(/px/g,"").split(/, +/)}if(this.canhwscroll=x.hastransform&&b.hwacceleration,this.ishwscroll=this.canhwscroll&&_.haswrapper,this.isrtlmode?this.isvertical?this.hasreversehr=!(x.iswebkit||x.isie||x.isie11):this.hasreversehr=!(x.iswebkit||x.isie&&!x.isie10&&!x.isie11):this.hasreversehr=!1,this.istouchcapable=!1,(x.cantouch||!x.hasw3ctouch&&!x.hasmstouch)&&(!x.cantouch||x.isios||x.isandroid||!x.iswebkit&&!x.ismozilla)||(this.istouchcapable=!0),b.enablemouselockapi||(x.hasmousecapture=!1,x.haspointerlock=!1),this.debounced=function(t,e,i){_&&(_.delaylist[t]||!1||(_.delaylist[t]={h:P(function(){_.delaylist[t].fn.call(_),_.delaylist[t]=!1},i)},e.call(_)),_.delaylist[t].fn=e)},this.synched=function(t,e){_.synclist[t]?_.synclist[t]=e:(_.synclist[t]=e,P(function(){_&&(_.synclist[t]&&_.synclist[t].call(_),_.synclist[t]=null)}))},this.unsynched=function(t){_.synclist[t]&&(_.synclist[t]=!1)},this.css=function(t,e){for(var i in e)_.saved.css.push([t,i,t.css(i)]),t.css(i,e[i])},this.scrollTop=function(t){return void 0===t?_.getScrollTop():_.setScrollTop(t)},this.scrollLeft=function(t){return void 0===t?_.getScrollLeft():_.setScrollLeft(t)},h.prototype={B2:function(t){return 3*(1-t)*(1-t)*t},B3:function(t){return 3*(1-t)*t*t},B4:function(t){return t*t*t},getPos:function(){return(R()-this.ts)/this.spd},getNow:function(){var t=(R()-this.ts)/this.spd,e=this.B2(t)+this.B3(t)+this.B4(t);return 1<=t?this.ed:this.st+this.df*e|0},update:function(t,e){return this.st=this.getNow(),this.ed=t,this.spd=e,this.ts=R(),this.df=this.ed-this.st,this}},this.ishwscroll){this.doc.translate={x:0,y:0,tx:"0px",ty:"0px"},x.hastranslate3d&&x.isios&&this.doc.css("-webkit-backface-visibility","hidden"),this.getScrollTop=function(t){if(!t){var e=s();if(e)return 16==e.length?-e[13]:-e[5];if(_.timerscroll&&_.timerscroll.bz)return _.timerscroll.bz.getNow()}return _.doc.translate.y},this.getScrollLeft=function(t){if(!t){var e=s();if(e)return 16==e.length?-e[12]:-e[4];if(_.timerscroll&&_.timerscroll.bh)return _.timerscroll.bh.getNow()}return _.doc.translate.x},this.notifyScrollEvent=function(t){var e=N.createEvent("UIEvents");e.initUIEvent("scroll",!1,!1,O,1),e.niceevent=!0,t.dispatchEvent(e)};var r=this.isrtlmode?1:-1;x.hastranslate3d&&b.enabletranslate3d?(this.setScrollTop=function(t,e){_.doc.translate.y=t,_.doc.translate.ty=-1*t+"px",_.doc.css(x.trstyle,"translate3d("+_.doc.translate.tx+","+_.doc.translate.ty+",0)"),e||_.notifyScrollEvent(_.win[0])},this.setScrollLeft=function(t,e){_.doc.translate.x=t,_.doc.translate.tx=t*r+"px",_.doc.css(x.trstyle,"translate3d("+_.doc.translate.tx+","+_.doc.translate.ty+",0)"),e||_.notifyScrollEvent(_.win[0])}):(this.setScrollTop=function(t,e){_.doc.translate.y=t,_.doc.translate.ty=-1*t+"px",_.doc.css(x.trstyle,"translate("+_.doc.translate.tx+","+_.doc.translate.ty+")"),e||_.notifyScrollEvent(_.win[0])},this.setScrollLeft=function(t,e){_.doc.translate.x=t,_.doc.translate.tx=t*r+"px",_.doc.css(x.trstyle,"translate("+_.doc.translate.tx+","+_.doc.translate.ty+")"),e||_.notifyScrollEvent(_.win[0])})}else this.getScrollTop=function(){return _.docscroll.scrollTop()},this.setScrollTop=function(t){_.docscroll.scrollTop(t)},this.getScrollLeft=function(){return _.hasreversehr?_.detected.ismozilla?_.page.maxw-Math.abs(_.docscroll.scrollLeft()):_.page.maxw-_.docscroll.scrollLeft():_.docscroll.scrollLeft()},this.setScrollLeft=function(t){return setTimeout(function(){if(_)return _.hasreversehr&&(t=_.detected.ismozilla?-(_.page.maxw-t):_.page.maxw-t),_.docscroll.scrollLeft(t)},1)};this.getTarget=function(t){return!!t&&(t.target?t.target:!!t.srcElement&&t.srcElement)},this.hasParent=function(t,e){if(!t)return!1;for(var i=t.target||t.srcElement||t||!1;i&&i.id!=e;)i=i.parentNode||!1;return!1!==i};var a={thin:1,medium:3,thick:5};function l(t,e,i){var n=t.css(e),o=parseFloat(n);if(isNaN(o)){var s=3==(o=a[n]||0)?i?_.win.outerHeight()-_.win.innerHeight():_.win.outerWidth()-_.win.innerWidth():1;return _.isie8&&o&&(o+=1),s?o:0}return o}this.getDocumentScrollOffset=function(){return{top:O.pageYOffset||N.documentElement.scrollTop,left:O.pageXOffset||N.documentElement.scrollLeft}},this.getOffset=function(){if(_.isfixed){var t=_.win.offset(),e=_.getDocumentScrollOffset();return t.top-=e.top,t.left-=e.left,t}var i=_.win.offset();if(!_.viewport)return i;var n=_.viewport.offset();return{top:i.top-n.top,left:i.left-n.left}},this.updateScrollBar=function(t){var e,i;if(_.ishwscroll)_.rail.css({height:_.win.innerHeight()-(b.railpadding.top+b.railpadding.bottom)}),_.railh&&_.railh.css({width:_.win.innerWidth()-(b.railpadding.left+b.railpadding.right)});else{var n=_.getOffset();if((e={top:n.top,left:n.left-(b.railpadding.left+b.railpadding.right)}).top+=l(_.win,"border-top-width",!0),e.left+=_.rail.align?_.win.outerWidth()-l(_.win,"border-right-width")-_.rail.width:l(_.win,"border-left-width"),(i=b.railoffset)&&(i.top&&(e.top+=i.top),i.left&&(e.left+=i.left)),_.railslocked||_.rail.css({top:e.top,left:e.left,height:(t?t.h:_.win.innerHeight())-(b.railpadding.top+b.railpadding.bottom)}),_.zoom&&_.zoom.css({top:e.top+1,left:1==_.rail.align?e.left-20:e.left+_.rail.width+4}),_.railh&&!_.railslocked){e={top:n.top,left:n.left},(i=b.railhoffset)&&(i.top&&(e.top+=i.top),i.left&&(e.left+=i.left));var o=_.railh.align?e.top+l(_.win,"border-top-width",!0)+_.win.innerHeight()-_.railh.height:e.top+l(_.win,"border-top-width",!0),s=e.left+l(_.win,"border-left-width");_.railh.css({top:o-(b.railpadding.top+b.railpadding.bottom),left:s,width:_.railh.width})}}},this.doRailClick=function(t,e,i){var n,o,s,r;_.railslocked||(_.cancelEvent(t),"pageY"in t||(t.pageX=t.clientX+N.documentElement.scrollLeft,t.pageY=t.clientY+N.documentElement.scrollTop),e?(n=i?_.doScrollLeft:_.doScrollTop,s=i?(t.pageX-_.railh.offset().left-_.cursorwidth/2)*_.scrollratio.x:(t.pageY-_.rail.offset().top-_.cursorheight/2)*_.scrollratio.y,_.unsynched("relativexy"),n(0|s)):(n=i?_.doScrollLeftBy:_.doScrollBy,s=i?_.scroll.x:_.scroll.y,r=i?t.pageX-_.railh.offset().left:t.pageY-_.rail.offset().top,o=i?_.view.w:_.view.h,n(r<=s?o:-o)))},_.newscrolly=_.newscrollx=0,_.hasanimationframe="requestAnimationFrame"in O,_.hascancelanimationframe="cancelAnimationFrame"in O,_.hasborderbox=!1,this.init=function(){if(_.saved.css=[],x.isoperamini)return!0;if(x.isandroid&&!("hidden"in N))return!0;b.emulatetouch=b.emulatetouch||b.touchbehavior,_.hasborderbox=O.getComputedStyle&&"border-box"===O.getComputedStyle(N.body)["box-sizing"];var i={"overflow-y":"hidden"};if((x.isie11||x.isie10)&&(i["-ms-overflow-style"]="none"),_.ishwscroll&&(this.doc.css(x.transitionstyle,x.prefixstyle+"transform 0ms ease-out"),x.transitionend&&_.bind(_.doc,x.transitionend,_.onScrollTransitionEnd,!1)),_.zindex="auto",_.ispage||"auto"!=b.zindex?_.zindex=b.zindex:_.zindex=function(){var t=_.win;if("zIndex"in t)return t.zIndex();for(;0<t.length;){if(9==t[0].nodeType)return!1;var e=t.css("zIndex");if(!isNaN(e)&&0!==e)return parseInt(e);t=t.parent()}return!1}()||"auto",!_.ispage&&"auto"!=_.zindex&&_.zindex>z&&(z=_.zindex),_.isie&&0===_.zindex&&"auto"==b.zindex&&(_.zindex="auto"),!_.ispage||!x.isieold){var t=_.docscroll;_.ispage&&(t=_.haswrapper?_.win:_.doc),_.css(t,i),_.ispage&&(x.isie11||x.isie)&&_.css(A("html"),i),!x.isios||_.ispage||_.haswrapper||_.css(w,{"-webkit-overflow-scrolling":"touch"});var e=A(N.createElement("div"));e.css({position:"relative",top:0,float:"right",width:b.cursorwidth,height:0,"background-color":b.cursorcolor,border:b.cursorborder,"background-clip":"padding-box","-webkit-border-radius":b.cursorborderradius,"-moz-border-radius":b.cursorborderradius,"border-radius":b.cursorborderradius}),e.addClass("nicescroll-cursors"),_.cursor=e;var n=A(N.createElement("div"));n.attr("id",_.id),n.addClass("nicescroll-rails nicescroll-rails-vr");var o,s,r=["left","right","top","bottom"];for(var a in r)s=r[a],(o=b.railpadding[s]||0)&&n.css("padding-"+s,o+"px");n.append(e),n.width=Math.max(parseFloat(b.cursorwidth),e.outerWidth()),n.css({width:n.width+"px",zIndex:_.zindex,background:b.background,cursor:"default"}),n.visibility=!0,n.scrollable=!0,n.align="left"==b.railalign?0:1,_.rail=n;var l,c=_.rail.drag=!1;if(!b.boxzoom||_.ispage||x.isieold||(c=N.createElement("div"),_.bind(c,"click",_.doZoom),_.bind(c,"mouseenter",function(){_.zoom.css("opacity",b.cursoropacitymax)}),_.bind(c,"mouseleave",function(){_.zoom.css("opacity",b.cursoropacitymin)}),_.zoom=A(c),_.zoom.css({cursor:"pointer",zIndex:_.zindex,backgroundImage:"url("+b.scriptpath+"zoomico.png)",height:18,width:18,backgroundPosition:"0 0"}),b.dblclickzoom&&_.bind(_.win,"dblclick",_.doZoom),x.cantouch&&b.gesturezoom&&(_.ongesturezoom=function(t){return 1.5<t.scale&&_.doZoomIn(t),t.scale<.8&&_.doZoomOut(t),_.cancelEvent(t)},_.bind(_.win,"gestureend",_.ongesturezoom))),_.railh=!1,b.horizrailenabled&&(_.css(t,{overflowX:"hidden"}),(e=A(N.createElement("div"))).css({position:"absolute",top:0,height:b.cursorwidth,width:0,backgroundColor:b.cursorcolor,border:b.cursorborder,backgroundClip:"padding-box","-webkit-border-radius":b.cursorborderradius,"-moz-border-radius":b.cursorborderradius,"border-radius":b.cursorborderradius}),x.isieold&&e.css("overflow","hidden"),e.addClass("nicescroll-cursors"),_.cursorh=e,(l=A(N.createElement("div"))).attr("id",_.id+"-hr"),l.addClass("nicescroll-rails nicescroll-rails-hr"),l.height=Math.max(parseFloat(b.cursorwidth),e.outerHeight()),l.css({height:l.height+"px",zIndex:_.zindex,background:b.background}),l.append(e),l.visibility=!0,l.scrollable=!0,l.align="top"==b.railvalign?0:1,_.railh=l,_.railh.drag=!1),_.ispage)n.css({position:"fixed",top:0,height:"100%"}),n.css(n.align?{right:0}:{left:0}),_.body.append(n),_.railh&&(l.css({position:"fixed",left:0,width:"100%"}),l.css(l.align?{bottom:0}:{top:0}),_.body.append(l));else{if(_.ishwscroll){"static"==_.win.css("position")&&_.css(_.win,{position:"relative"});var h="HTML"==_.win[0].nodeName?_.body:_.win;A(h).scrollTop(0).scrollLeft(0),_.zoom&&(_.zoom.css({position:"absolute",top:1,right:0,"margin-right":n.width+4}),h.append(_.zoom)),n.css({position:"absolute",top:0}),n.css(n.align?{right:0}:{left:0}),h.append(n),l&&(l.css({position:"absolute",left:0,bottom:0}),l.css(l.align?{bottom:0}:{top:0}),h.append(l))}else{_.isfixed="fixed"==_.win.css("position");var d=_.isfixed?"fixed":"absolute";_.isfixed||(_.viewport=_.getViewport(_.win[0])),_.viewport&&(_.body=_.viewport,/fixed|absolute/.test(_.viewport.css("position"))||_.css(_.viewport,{position:"relative"})),n.css({position:d}),_.zoom&&_.zoom.css({position:d}),_.updateScrollBar(),_.body.append(n),_.zoom&&_.body.append(_.zoom),_.railh&&(l.css({position:d}),_.body.append(l))}x.isios&&_.css(_.win,{"-webkit-tap-highlight-color":"rgba(0,0,0,0)","-webkit-touch-callout":"none"}),b.disableoutline&&(x.isie&&_.win.attr("hideFocus","true"),x.iswebkit&&_.win.css("outline","none"))}if(!1===b.autohidemode?(_.autohidedom=!1,_.rail.css({opacity:b.cursoropacitymax}),_.railh&&_.railh.css({opacity:b.cursoropacitymax})):!0===b.autohidemode||"leave"===b.autohidemode?(_.autohidedom=A().add(_.rail),x.isie8&&(_.autohidedom=_.autohidedom.add(_.cursor)),_.railh&&(_.autohidedom=_.autohidedom.add(_.railh)),_.railh&&x.isie8&&(_.autohidedom=_.autohidedom.add(_.cursorh))):"scroll"==b.autohidemode?(_.autohidedom=A().add(_.rail),_.railh&&(_.autohidedom=_.autohidedom.add(_.railh))):"cursor"==b.autohidemode?(_.autohidedom=A().add(_.cursor),_.railh&&(_.autohidedom=_.autohidedom.add(_.cursorh))):"hidden"==b.autohidemode&&(_.autohidedom=!1,_.hide(),_.railslocked=!1),x.cantouch||_.istouchcapable||b.emulatetouch||x.hasmstouch){_.scrollmom=new $(_);_.ontouchstart=function(t){if(_.locked)return!1;if(t.pointerType&&("mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))return!1;if(_.hasmoving=!1,_.scrollmom.timer&&(_.triggerScrollEnd(),_.scrollmom.stop()),!_.railslocked){var e=_.getTarget(t);if(e)if(/INPUT/i.test(e.nodeName)&&/range/i.test(e.type))return _.stopPropagation(t);var i="mousedown"===t.type;if(!("clientX"in t)&&"changedTouches"in t&&(t.clientX=t.changedTouches[0].clientX,t.clientY=t.changedTouches[0].clientY),_.forcescreen){var n=t;(t={original:t.original?t.original:t}).clientX=n.screenX,t.clientY=n.screenY}if(_.rail.drag={x:t.clientX,y:t.clientY,sx:_.scroll.x,sy:_.scroll.y,st:_.getScrollTop(),sl:_.getScrollLeft(),pt:2,dl:!1,tg:e},_.ispage||!b.directionlockdeadzone)_.rail.drag.dl="f";else{var o=L.width(),s=L.height(),r=_.getContentSize(),a=r.h-s,l=r.w-o;_.rail.scrollable&&!_.railh.scrollable?_.rail.drag.ck=0<a&&"v":!_.rail.scrollable&&_.railh.scrollable?_.rail.drag.ck=0<l&&"h":_.rail.drag.ck=!1}
1if(b.emulatetouch&&_.isiframe&&x.isie){var c=_.win.position();_.rail.drag.x+=c.left,_.rail.drag.y+=c.top}if(_.hasmoving=!1,_.lastmouseup=!1,_.scrollmom.reset(t.clientX,t.clientY),e&&i){if(!/INPUT|SELECT|BUTTON|TEXTAREA/i.test(e.nodeName))return x.hasmousecapture&&e.setCapture(),b.emulatetouch?(e.onclick&&!e._onclick&&(e._onclick=e.onclick,e.onclick=function(t){if(_.hasmoving)return!1;e._onclick.call(this,t)}),_.cancelEvent(t)):_.stopPropagation(t);/SUBMIT|CANCEL|BUTTON/i.test(A(e).attr("type"))&&(_.preventclick={tg:e,click:!1})}}},_.ontouchend=function(t){if(!_.rail.drag)return!0;if(2==_.rail.drag.pt){if(t.pointerType&&("mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))return!1;_.rail.drag=!1;var e="mouseup"===t.type;if(_.hasmoving&&(_.scrollmom.doMomentum(),_.lastmouseup=!0,_.hideCursor(),x.hasmousecapture&&N.releaseCapture(),e))return _.cancelEvent(t)}else if(1==_.rail.drag.pt)return _.onmouseup(t)};var f=b.emulatetouch&&_.isiframe&&!x.hasmousecapture,g=.3*b.directionlockdeadzone|0;_.ontouchmove=function(t,e){if(!_.rail.drag)return!0;if(t.targetTouches&&b.preventmultitouchscrolling&&1<t.targetTouches.length)return!0;if(t.pointerType&&("mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))return!0;if(2!=_.rail.drag.pt)return 1==_.rail.drag.pt?_.onmousemove(t):void 0;var i,n;if("changedTouches"in t&&(t.clientX=t.changedTouches[0].clientX,t.clientY=t.changedTouches[0].clientY),n=i=0,f&&!e){var o=_.win.position();n=-o.left,i=-o.top}var s=t.clientY+i,r=s-_.rail.drag.y,a=t.clientX+n,l=a-_.rail.drag.x,c=_.rail.drag.st-r;if(_.ishwscroll&&b.bouncescroll)c<0?c=Math.round(c/2):c>_.page.maxh&&(c=_.page.maxh+Math.round((c-_.page.maxh)/2));else if(c<0?s=c=0:c>_.page.maxh&&(c=_.page.maxh,s=0),0===s&&!_.hasmoving)return _.ispage||(_.rail.drag=!1),!0;var h=_.getScrollLeft();if(_.railh&&_.railh.scrollable&&(h=_.isrtlmode?l-_.rail.drag.sl:_.rail.drag.sl-l,_.ishwscroll&&b.bouncescroll?h<0?h=Math.round(h/2):h>_.page.maxw&&(h=_.page.maxw+Math.round((h-_.page.maxw)/2)):(h<0&&(a=h=0),h>_.page.maxw&&(h=_.page.maxw,a=0))),!_.hasmoving){if(_.rail.drag.y===t.clientY&&_.rail.drag.x===t.clientX)return _.cancelEvent(t);var d=Math.abs(r),u=Math.abs(l),p=b.directionlockdeadzone;if(_.rail.drag.ck?"v"==_.rail.drag.ck?p<u&&d<=g?_.rail.drag=!1:p<d&&(_.rail.drag.dl="v"):"h"==_.rail.drag.ck&&(p<d&&u<=g?_.rail.drag=!1:p<u&&(_.rail.drag.dl="h")):p<d&&p<u?_.rail.drag.dl="f":p<d?_.rail.drag.dl=g<u?"f":"v":p<u&&(_.rail.drag.dl=g<d?"f":"h"),!_.rail.drag.dl)return _.cancelEvent(t);_.triggerScrollStart(t.clientX,t.clientY,0,0,0),_.hasmoving=!0}return _.preventclick&&!_.preventclick.click&&(_.preventclick.click=_.preventclick.tg.onclick||!1,_.preventclick.tg.onclick=_.onpreventclick),_.rail.drag.dl&&("v"==_.rail.drag.dl?h=_.rail.drag.sl:"h"==_.rail.drag.dl&&(c=_.rail.drag.st)),_.synched("touchmove",function(){_.rail.drag&&2==_.rail.drag.pt&&(_.prepareTransition&&_.resetTransition(),_.rail.scrollable&&_.setScrollTop(c),_.scrollmom.update(a,s),_.railh&&_.railh.scrollable?(_.setScrollLeft(h),_.showCursor(c,h)):_.showCursor(c),x.isie10&&N.selection.clear())}),_.cancelEvent(t)},_.ontouchstartCursor=function(t,e){if(!_.rail.drag||3==_.rail.drag.pt){if(_.locked)return _.cancelEvent(t);_.cancelScroll(),_.rail.drag={x:t.touches[0].clientX,y:t.touches[0].clientY,sx:_.scroll.x,sy:_.scroll.y,pt:3,hr:!!e};var i=_.getTarget(t);return!_.ispage&&x.hasmousecapture&&i.setCapture(),_.isiframe&&!x.hasmousecapture&&(_.saved.csspointerevents=_.doc.css("pointer-events"),_.css(_.doc,{"pointer-events":"none"})),_.cancelEvent(t)}},_.ontouchendCursor=function(t){if(_.rail.drag){if(x.hasmousecapture&&N.releaseCapture(),_.isiframe&&!x.hasmousecapture&&_.doc.css("pointer-events",_.saved.csspointerevents),3!=_.rail.drag.pt)return;return _.rail.drag=!1,_.cancelEvent(t)}},_.ontouchmoveCursor=function(t){if(_.rail.drag){if(3!=_.rail.drag.pt)return;if(_.cursorfreezed=!0,_.rail.drag.hr){_.scroll.x=_.rail.drag.sx+(t.touches[0].clientX-_.rail.drag.x),_.scroll.x<0&&(_.scroll.x=0);var e=_.scrollvaluemaxw;_.scroll.x>e&&(_.scroll.x=e)}else{_.scroll.y=_.rail.drag.sy+(t.touches[0].clientY-_.rail.drag.y),_.scroll.y<0&&(_.scroll.y=0);var i=_.scrollvaluemax;_.scroll.y>i&&(_.scroll.y=i)}return _.synched("touchmove",function(){_.rail.drag&&3==_.rail.drag.pt&&(_.showCursor(),_.rail.drag.hr?_.doScrollLeft(Math.round(_.scroll.x*_.scrollratio.x),b.cursordragspeed):_.doScrollTop(Math.round(_.scroll.y*_.scrollratio.y),b.cursordragspeed))}),_.cancelEvent(t)}}}if(_.onmousedown=function(t,e){if(!_.rail.drag||1==_.rail.drag.pt){if(_.railslocked)return _.cancelEvent(t);_.cancelScroll(),_.rail.drag={x:t.clientX,y:t.clientY,sx:_.scroll.x,sy:_.scroll.y,pt:1,hr:e||!1};var i=_.getTarget(t);return x.hasmousecapture&&i.setCapture(),_.isiframe&&!x.hasmousecapture&&(_.saved.csspointerevents=_.doc.css("pointer-events"),_.css(_.doc,{"pointer-events":"none"})),_.hasmoving=!1,_.cancelEvent(t)}},_.onmouseup=function(t){if(_.rail.drag)return 1!=_.rail.drag.pt||(x.hasmousecapture&&N.releaseCapture(),_.isiframe&&!x.hasmousecapture&&_.doc.
vendor: 31,166 bytes, line 1
1css("pointer-events",_.saved.csspointerevents),_.rail.drag=!1,_.cursorfreezed=!1,_.hasmoving&&_.triggerScrollEnd(),_.cancelEvent(t))},_.onmousemove=function(t){if(_.rail.drag){if(1!==_.rail.drag.pt)return;if(x.ischrome&&0===t.which)return _.onmouseup(t);if(_.cursorfreezed=!0,_.hasmoving||_.triggerScrollStart(t.clientX,t.clientY,0,0,0),_.hasmoving=!0,_.rail.drag.hr){_.scroll.x=_.rail.drag.sx+(t.clientX-_.rail.drag.x),_.scroll.x<0&&(_.scroll.x=0);var e=_.scrollvaluemaxw;_.scroll.x>e&&(_.scroll.x=e)}else{_.scroll.y=_.rail.drag.sy+(t.clientY-_.rail.drag.y),_.scroll.y<0&&(_.scroll.y=0);var i=_.scrollvaluemax;_.scroll.y>i&&(_.scroll.y=i)}return _.synched("mousemove",function(){_.cursorfreezed&&(_.showCursor(),_.rail.drag.hr?_.scrollLeft(Math.round(_.scroll.x*_.scrollratio.x)):_.scrollTop(Math.round(_.scroll.y*_.scrollratio.y)))}),_.cancelEvent(t)}_.checkarea=0},x.cantouch||b.emulatetouch)_.onpreventclick=function(t){if(_.preventclick)return _.preventclick.tg.onclick=_.preventclick.click,_.preventclick=!1,_.cancelEvent(t)},_.onclick=!x.isios&&function(t){return!_.lastmouseup||(_.lastmouseup=!1,_.cancelEvent(t))},b.grabcursorenabled&&x.cursorgrabvalue&&(_.css(_.ispage?_.doc:_.win,{cursor:x.cursorgrabvalue}),_.css(_.rail,{cursor:x.cursorgrabvalue}));else{var u=function(t){if(_.selectiondrag){if(t){var e=_.win.outerHeight(),i=t.pageY-_.selectiondrag.top;0<i&&i<e&&(i=0),e<=i&&(i-=e),_.selectiondrag.df=i}if(0!==_.selectiondrag.df){var n=-2*_.selectiondrag.df/6|0;_.doScrollBy(n),_.debounced("doselectionscroll",function(){u()},50)}}};_.hasTextSelected="getSelection"in N?function(){return 0<N.getSelection().rangeCount}:"selection"in N?function(){return"None"!=N.selection.type}:function(){return!1},_.onselectionstart=function(t){_.ispage||(_.selectiondrag=_.win.offset())},_.onselectionend=function(t){_.selectiondrag=!1},_.onselectiondrag=function(t){_.selectiondrag&&_.hasTextSelected()&&_.debounced("selectionscroll",function(){u(t)},250)}}if(x.hasw3ctouch?(_.css(_.ispage?A("html"):_.win,{"touch-action":"none"}),_.css(_.rail,{"touch-action":"none"}),_.css(_.cursor,{"touch-action":"none"}),_.bind(_.win,"pointerdown",_.ontouchstart),_.bind(N,"pointerup",_.ontouchend),_.delegate(N,"pointermove",_.ontouchmove)):x.hasmstouch?(_.css(_.ispage?A("html"):_.win,{"-ms-touch-action":"none"}),_.css(_.rail,{"-ms-touch-action":"none"}),_.css(_.cursor,{"-ms-touch-action":"none"}),_.bind(_.win,"MSPointerDown",_.ontouchstart),_.bind(N,"MSPointerUp",_.ontouchend),_.delegate(N,"MSPointerMove",_.ontouchmove),_.bind(_.cursor,"MSGestureHold",function(t){t.preventDefault()}),_.bind(_.cursor,"contextmenu",function(t){t.preventDefault()})):x.cantouch&&(_.bind(_.win,"touchstart",_.ontouchstart,!1,!0),_.bind(N,"touchend",_.ontouchend,!1,!0),_.bind(N,"touchcancel",_.ontouchend,!1,!0),_.delegate(N,"touchmove",_.ontouchmove,!1,!0)),b.emulatetouch&&(_.bind(_.win,"mousedown",_.ontouchstart,!1,!0),_.bind(N,"mouseup",_.ontouchend,!1,!0),_.bind(N,"mousemove",_.ontouchmove,!1,!0)),(b.cursordragontouch||!x.cantouch&&!b.emulatetouch)&&(_.rail.css({cursor:"default"}),_.railh&&_.railh.css({cursor:"default"}),_.jqbind(_.rail,"mouseenter",function(){if(!_.ispage&&!_.win.is(":visible"))return!1;_.canshowonmouseevent&&_.showCursor(),_.rail.active=!0}),_.jqbind(_.rail,"mouseleave",function(){_.rail.active=!1,_.rail.drag||_.hideCursor()}),b.sensitiverail&&(_.bind(_.rail,"click",function(t){_.doRailClick(t,!1,!1)}),_.bind(_.rail,"dblclick",function(t){_.doRailClick(t,!0,!1)}),_.bind(_.cursor,"click",function(t){_.cancelEvent(t)}),_.bind(_.cursor,"dblclick",function(t){_.cancelEvent(t)})),_.railh&&(_.jqbind(_.railh,"mouseenter",function(){if(!_.ispage&&!_.win.is(":visible"))return!1;_.canshowonmouseevent&&_.showCursor(),_.rail.active=!0}),_.jqbind(_.railh,"mouseleave",function(){_.rail.active=!1,_.rail.drag||_.hideCursor()}),b.sensitiverail&&(_.bind(_.railh,"click",function(t){_.doRailClick(t,!1,!0)}),_.bind(_.railh,"dblclick",function(t){_.doRailClick(t,!0,!0)}),_.bind(_.cursorh,"click",function(t){_.cancelEvent(t)}),_.bind(_.cursorh,"dblclick",function(t){_.cancelEvent(t)})))),b.cursordragontouch&&(this.istouchcapable||x.cantouch)&&(_.bind(_.cursor,"touchstart",_.ontouchstartCursor),_.bind(_.cursor,"touchmove",_.ontouchmoveCursor),_.bind(_.cursor,"touchend",_.ontouchendCursor),_.cursorh&&_.bind(_.cursorh,"touchstart",function(t){_.ontouchstartCursor(t,!0)}),_.cursorh&&_.bind(_.cursorh,"touchmove",_.ontouchmoveCursor),_.cursorh&&_.bind(_.cursorh,"touchend",_.ontouchendCursor)),b.emulatetouch||x.isandroid||x.isios?(_.bind(x.hasmousecapture?_.win:N,"mouseup",_.ontouchend),_.onclick&&_.bind(N,"click",_.onclick),b.cursordragontouch?(_.bind(_.cursor,"mousedown",_.onmousedown),_.bind(_.cursor,"mouseup",_.onmouseup),_.cursorh&&_.bind(_.cursorh,"mousedown",function(t){_.onmousedown(t,!0)}),_.cursorh&&_.bind(_.cursorh,"mouseup",_.onmouseup)):(_.bind(_.rail,"mousedown",function(t){t.preventDefault()}),_.railh&&_.bind(_.railh,"mousedown",function(t){t.preventDefault()}))):(_.bind(x.hasmousecapture?_.win:N,"mouseup",_.onmouseup),_.bind(N,"mousemove",_.onmousemove),_.onclick&&_.bind(N,"click",_.onclick),_.bind(_.cursor,"mousedown",_.onmousedown),_.bind(_.cursor,"mouseup",_.onmouseup),_.railh&&(_.bind(_.cursorh,"mousedown",function(t){_.onmousedown(t,!0)}),_.bind(_.cursorh,"mouseup",_.onmouseup)),!_.ispage&&b.enablescrollonselection&&(_.bind(_.win[0],"mousedown",_.onselectionstart),_.bind(N,"mouseup",_.onselectionend),_.bind(_.cursor,"mouseup",_.onselectionend),_.cursorh&&_.bind(_.cursorh,"mouseup",_.onselectionend),_.bind(N,"mousemove",_.onselectiondrag)),_.zoom&&(_.jqbind(_.zoom,"mouseenter",function(){_.canshowonmouseevent&&_.showCursor(),_.rail.active=!0}),_.jqbind(_.zoom,"mouseleave",function(){_.rail.active=!1,_.rail.drag||_.hideCursor()}))),b.enablemousewheel&&(_.isiframe||_.mousewheel(x.isie&&_.ispage?N:_.win,_.onmousewheel),_.mousewheel(_.rail,_.onmousewheel),_.railh&&_.mousewheel(_.railh,_.onmousewheelhr)),_.ispage||x.cantouch||/HTML|^BODY/.test(_.win[0].nodeName)||(_.win.attr("tabindex")||_.win.attr({tabindex:++D}),_.bind(_.win,"focus",function(t){S=_.getTarget(t).id||_.getTarget(t)||!1,_.hasfocus=!0,_.canshowonmouseevent&&_.noticeCursor()}),_.bind(_.win,"blur",function(t){S=!1,_.hasfocus=!1}),_.bind(_.win,"mouseenter",function(t){k=_.getTarget(t).id||_.getTarget(t)||!1,_.hasmousefocus=!0,_.canshowonmouseevent&&_.noticeCursor()}),_.bind(_.win,"mouseleave",function(t){k=!1,_.hasmousefocus=!1,_.rail.drag||_.hideCursor()})),_.onkeypress=function(t){if(_.railslocked&&0===_.page.maxh)return!0;t=t||O.event;var e=_.getTarget(t);if(e&&/INPUT|TEXTAREA|SELECT|OPTION/.test(e.nodeName)&&(!(e.getAttribute("type")||e.type||!1)||!/submit|button|cancel/i.tp))return!0;if(A(e).attr("contenteditable"))return!0;if(_.hasfocus||_.hasmousefocus&&!S||_.ispage&&!S&&!k){var i=t.keyCode;if(_.railslocked&&27!=i)return _.cancelEvent(t);var n=t.ctrlKey||!1,o=t.shiftKey||!1,s=!1;switch(i){case 38:case 63233:_.doScrollBy(72),s=!0;break;case 40:case 63235:_.doScrollBy(-72),s=!0;break;case 37:case 63232:_.railh&&(n?_.doScrollLeft(0):_.doScrollLeftBy(72),s=!0);break;case 39:case 63234:_.railh&&(n?_.doScrollLeft(_.page.maxw):_.doScrollLeftBy(-72),s=!0);break;case 33:case 63276:_.doScrollBy(_.view.h),s=!0;break;case 34:case 63277:_.doScrollBy(-_.view.h),s=!0;break;case 36:case 63273:_.railh&&n?_.doScrollPos(0,0):_.doScrollTo(0),s=!0;break;case 35:case 63275:_.railh&&n?_.doScrollPos(_.page.maxw,_.page.maxh):_.doScrollTo(_.page.maxh),s=!0;break;case 32:b.spacebarenabled&&(o?_.doScrollBy(_.view.h):_.doScrollBy(-_.view.h),s=!0);break;case 27:_.zoomactive&&(_.doZoom(),s=!0)}if(s)return _.cancelEvent(t)}},b.enablekeyboard&&_.bind(N,x.isopera&&!x.isopera12?"keypress":"keydown",_.onkeypress),_.bind(N,"keydown",function(t){(t.ctrlKey||!1)&&(_.wheelprevented=!0)}),_.bind(N,"keyup",function(t){t.ctrlKey||!1||(_.wheelprevented=!1)}),_.bind(O,"blur",function(t){_.wheelprevented=!1}),_.bind(O,"resize",_.onscreenresize),_.bind(O,"orientationchange",_.onscreenresize),_.bind(O,"load",_.lazyResize),x.ischrome&&!_.ispage&&!_.haswrapper){var p=_.win.attr("style"),m=parseFloat(_.win.css("width"))+1;_.win.css("width",m),_.synched("chromefix",function(){_.win.attr("style",p)})}if(_.onAttributeChange=function(t){_.lazyResize(_.isieold?250:30)},b.enableobserver&&(_.isie11||!1===j||(_.observerbody=new j(function(t){if(t.forEach(function(t){if("attributes"==t.type)return w.hasClass("modal-open")&&w.hasClass("modal-dialog")&&!A.contains(A(".modal-dialog")[0],_.doc[0])?_.hide():_.show()}),_.me.clientWidth!=_.page.width||_.me.clientHeight!=_.page.height)return _.lazyResize(30)}),_.observerbody.observe(N.body,{childList:!0,subtree:!0,characterData:!1,attributes:!0,attributeFilter:["class"]})),!_.ispage&&!_.haswrapper)){var v=_.win[0];!1!==j?(_.observer=new j(function(t){t.forEach(_.onAttributeChange)}),_.observer.observe(v,{childList:!0,characterData:!1,attributes:!0,subtree:!1}),_.observerremover=new j(function(t){t.forEach(function(t){if(0<t.removedNodes.length)for(var e in t.removedNodes)if(_&&t.removedNodes[e]===v)return _.remove()})}),_.observerremover.observe(v.parentNode,{childList:!0,characterData:!1,attributes:!1,subtree:!1})):(_.bind(v,x.isie&&!x.isie9?"propertychange":"DOMAttrModified",_.onAttributeChange),x.isie9&&v.attachEvent("onpropertychange",_.onAttributeChange),_.bind(v,"DOMNodeRemoved",function(t){t.target===v&&_.remove()}))}!_.ispage&&b.boxzoom&&_.bind(O,"resize",_.resizeZoom),_.istextarea&&(_.bind(_.win,"keydown",_.lazyResize),_.bind(_.win,"mouseup",_.lazyResize)),_.lazyResize(30)}if("IFRAME"==this.doc[0].nodeName){var y=function(){var e;_.iframexd=!1;try{(e="contentDocument"in this?this.contentDocument:this.contentWindow._doc).domain}catch(t){e=!(_.iframexd=!0)}if(_.iframexd)return"console"in O&&console.log("NiceScroll error: policy restriced iframe"),!0;if(_.forcescreen=!0,_.isiframe&&(_.iframe={doc:A(e),html:_.doc.contents().find("html")[0],body:_.doc.contents().find("body")[0]},_.getContentSize=function(){return{w:Math.max(_.iframe.html.scrollWidth,_.iframe.body.scrollWidth),h:Math.max(_.iframe.html.scrollHeight,_.iframe.body.scrollHeight)}},_.docscroll=A(_.iframe.body)),!x.isios&&b.iframeautoresize&&!_.isiframe){_.win.scrollTop(0),_.doc.height("");var t=Math.max(e.getElementsByTagName("html")[0].scrollHeight,e.body.scrollHeight);_.doc.height(t)}_.lazyResize(30),_.css(A(_.iframe.body),i),x.isios&&_.haswrapper&&_.css(A(e.body),{"-webkit-transform":"translate3d(0,0,0)"}),"contentWindow"in this?_.bind(this.contentWindow,"scroll",_.onscroll):_.bind(e,"scroll",_.onscroll),b.enablemousewheel&&_.mousewheel(e,_.onmousewheel),b.enablekeyboard&&_.bind(e,x.isopera?"keypress":"keydown",_.onkeypress),x.cantouch?(_.bind(e,"touchstart",_.ontouchstart),_.bind(e,"touchmove",_.ontouchmove)):b.emulatetouch&&(_.bind(e,"mousedown",_.ontouchstart),_.bind(e,"mousemove",function(t){return _.ontouchmove(t,!0)}),b.grabcursorenabled&&x.cursorgrabvalue&&_.css(A(e.body),{cursor:x.cursorgrabvalue})),_.bind(e,"mouseup",_.ontouchend),_.zoom&&(b.dblclickzoom&&_.bind(e,"dblclick",_.doZoom),_.ongesturezoom&&_.bind(e,"gestureend",_.ongesturezoom))};this.doc[0].readyState&&"complete"===this.doc[0].readyState&&setTimeout(function(){y.call(_.doc[0],!1)},500),_.bind(this.doc,"load",y)}},this.showCursor=function(t,e){if(_.cursortimeout&&(clearTimeout(_.cursortimeout),_.cursortimeout=0),_.rail){if(_.autohidedom&&(_.autohidedom.stop().css({opacity:b.cursoropacitymax}),_.cursoractive=!0),_.rail.drag&&1==_.rail.drag.pt||(void 0!==t&&!1!==t&&(_.scroll.y=t/_.scrollratio.y|0),void 0!==e&&(_.scroll.x=e/_.scrollratio.x|0)),_.cursor.css({height:_.cursorheight,top:_.scroll.y}),_.cursorh){var i=_.hasreversehr?_.scrollvaluemaxw-_.scroll.x:_.scroll.x;_.cursorh.css({width:_.cursorwidth,left:!_.rail.align&&_.rail.visibility?i+_.rail.width:i}),_.cursoractive=!0}_.zoom&&_.zoom.stop().css({opacity:b.cursoropacitymax})}},this.hideCursor=function(t){_.cursortimeout||_.rail&&_.autohidedom&&(_.hasmousefocus&&"leave"===b.autohidemode||(_.cursortimeout=setTimeout(function(){_.rail.active&&_.showonmouseevent||(_.autohidedom.stop().animate({opacity:b.cursoropacitymin}),_.zoom&&_.zoom.stop().animate({opacity:b.cursoropacitymin}),_.cursoractive=!1),_.cursortimeout=0},t||b.hidecursordelay)))},this.noticeCursor=function(t,e,i){_.showCursor(e,i),_.rail.active||_.hideCursor(t)},this.getContentSize=_.ispage?function(){return{w:Math.max(N.body.scrollWidth,N.documentElement.scrollWidth),h:Math.max(N.body.scrollHeight,N.documentElement.scrollHeight)}}:_.haswrapper?function(){return{w:_.doc[0].offsetWidth,h:_.doc[0].offsetHeight}}:function(){return{w:_.docscroll[0].scrollWidth,h:_.docscroll[0].scrollHeight}},this.onResize=function(t,e){if(!_||!_.win)return!1;var i=_.page.maxh,n=_.page.maxw,o=_.view.h,s=_.view.w;if(_.view={w:_.ispage?_.win.width():_.win[0].clientWidth,h:_.ispage?_.win.height():_.win[0].clientHeight},_.page=e||_.getContentSize(),_.page.maxh=Math.max(0,_.page.h-_.view.h),_.page.maxw=Math.max(0,_.page.w-_.view.w),_.page.maxh==i&&_.page.maxw==n&&_.view.w==s&&_.view.h==o){if(_.ispage)return _;var r=_.win.offset();if(_.lastposition){var a=_.lastposition;if(a.top==r.top&&a.left==r.left)return _}_.lastposition=r}return 0===_.page.maxh?(_.hideRail(),_.scrollvaluemax=0,_.scroll.y=0,_.scrollratio.y=0,_.cursorheight=0,_.setScrollTop(0),_.rail&&(_.rail.scrollable=!1)):(_.page.maxh-=b.railpadding.top+b.railpadding.bottom,_.rail.scrollable=!0),0===_.page.maxw?(_.hideRailHr(),_.scrollvaluemaxw=0,_.scroll.x=0,_.scrollratio.x=0,_.cursorwidth=0,_.setScrollLeft(0),_.railh&&(_.railh.scrollable=!1)):(_.page.maxw-=b.railpadding.left+b.railpadding.right,_.railh&&(_.railh.scrollable=b.horizrailenabled)),_.railslocked=_.locked||0===_.page.maxh&&0===_.page.maxw,_.railslocked?(_.ispage||_.updateScrollBar(_.view),!1):(_.hidden||(_.rail.visibility||_.showRail(),_.railh&&!_.railh.visibility&&_.showRailHr()),_.istextarea&&_.win.css("resize")&&"none"!=_.win.css("resize")&&(_.view.h-=20),_.cursorheight=Math.min(_.view.h,Math.round(_.view.h*(_.view.h/_.page.h))),_.cursorheight=b.cursorfixedheight?b.cursorfixedheight:Math.max(b.cursorminheight,_.cursorheight),_.cursorwidth=Math.min(_.view.w,Math.round(_.view.w*(_.view.w/_.page.w))),_.cursorwidth=b.cursorfixedheight?b.cursorfixedheight:Math.max(b.cursorminheight,_.cursorwidth),_.scrollvaluemax=_.view.h-_.cursorheight-(b.railpadding.top+b.railpadding.bottom),_.hasborderbox||(_.scrollvaluemax-=_.cursor[0].offsetHeight-_.cursor[0].clientHeight),_.railh&&(_.railh.width=0<_.page.maxh?_.rail.width:_.view.w,_.scrollvaluemaxw=_.railh.width-_.cursorwidth-(b.railpadding.left+b.railpadding.right)),_.ispage||_.updateScrollBar(_.view),_.scrollratio={x:_.page.maxw/_.scrollvaluemaxw,y:_.page.maxh/_.scrollvaluemax},_.getScrollTop()>_.page.maxh?_.doScrollTop(_.page.maxh):(_.scroll.y=_.getScrollTop()/_.scrollratio.y|0,_.scroll.x=_.getScrollLeft()/_.scrollratio.x|0,_.cursoractive&&_.noticeCursor()),_.scroll.y&&0===_.getScrollTop()&&_.doScrollTo(_.scroll.y*_.scrollratio.y|0),_)},this.resize=_.onResize;var c=0;function d(i,n,o,t){_._bind(i,n,function(t){var e={original:t=t||O.event,target:t.target||t.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"==t.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},stopImmediatePropagation:function(){t.stopImmediatePropagation?t.stopImmediatePropagation():t.cancelBubble=!0}};return"mousewheel"==n?(t.wheelDeltaX&&(e.deltaX=-.025*t.wheelDeltaX),t.wheelDeltaY&&(e.deltaY=-.025*t.wheelDeltaY),!e.deltaY&&!e.deltaX&&(e.deltaY=-.025*t.wheelDelta)):e.deltaY=t.detail,o.call(i,e)},t)}this.onscreenresize=function(t){clearTimeout(c);var e=!_.ispage&&!_.haswrapper;e&&_.hideRails(),c=setTimeout(function(){_&&(e&&_.showRails(),_.resize()),c=0},120)},this.lazyResize=function(t){return clearTimeout(c),t=isNaN(t)?240:t,c=setTimeout(function(){_&&_.resize(),c=0},t),_},this.jqbind=function(t,e,i){_.events.push({e:t,n:e,f:i,q:!0}),A(t).on(e,i)};var u=!(this.mousewheel=function(t,e,i){var n="jquery"in t?t[0]:t;if("onwheel"in N.createElement("div"))_._bind(n,"wheel",e,i||!1);else{var o=void 0!==N.onmousewheel?"mousewheel":"DOMMouseScroll";d(n,o,e,i||!1),"DOMMouseScroll"==o&&d(n,"MozMousePixelScroll",e,i||!1)}});if(x.haseventlistener){try{var p=Object.defineProperty({},"passive",{get:function(){u=!0}});O.addEventListener("test",null,p)}catch(t){}this.stopPropagation=function(t){return t&&(t=t.original?t.original:t).stopPropagation(),!1},this.cancelEvent=function(t){return t.cancelable&&t.preventDefault(),t.stopImmediatePropagation(),t.preventManipulation&&t.preventManipulation(),!1}}else Event.prototype.preventDefault=function(){this.returnValue=!1},Event.prototype.stopPropagation=function(){this.cancelBubble=!0},O.constructor.prototype.addEventListener=N.constructor.prototype.addEventListener=Element.prototype.addEventListener=function(t,e,i){this.attachEvent("on"+t,e)},O.constructor.prototype.removeEventListener=N.constructor.prototype.removeEventListener=Element.prototype.removeEventListener=function(t,e,i){this.detachEvent("on"+t,e)},this.cancelEvent=function(t){return(t=t||O.event)&&(t.cancelBubble=!0,t.cancel=!0,t.returnValue=!1),!1},this.stopPropagation=function(t){return(t=t||O.event)&&(t.cancelBubble=!0),!1};this.delegate=function(t,e,i,n,o){var s=M[e]||!1;s||(s={a:[],l:[],f:function(t){for(var e=s.l,i=!1,n=e.length-1;0<=n;n--)if(!1===(i=e[n].call(t.target,t)))return!1;return i}},_.bind(t,e,s.f,n,o),M[e]=s),_.ispage?(s.a=[_.id].concat(s.a),s.l=[i].concat(s.l)):(s.a.push(_.id),s.l.push(i))},this.undelegate=function(t,e,i,n,o){var s=M[e]||!1;if(s&&s.l)for(var r=0,a=s.l.length;r<a;r++)s.a[r]===_.id&&(s.a.splice(r),s.l.splice(r),0===s.a.length&&(_._unbind(t,e,s.l.f),M[e]=null))},this.bind=function(t,e,i,n,o){var s="jquery"in t?t[0]:t;_._bind(s,e,i,n||!1,o||!1)},this._bind=function(t,e,i,n,o){_.events.push({e:t,n:e,f:i,b:n,q:!1}),u&&o?t.addEventListener(e,i,{passive:!1,capture:n}):t.addEventListener(e,i,n||!1)},this._unbind=function(t,e,i,n){M[e]?_.undelegate(t,e,i,n):t.removeEventListener(e,i,n)},this.unbindAll=function(){for(var t=0;t<_.events.length;t++){var e=_.events[t];e.q?e.e.unbind(e.n,e.f):_._unbind(e.e,e.n,e.f,e.b)}},this.showRails=function(){return _.showRail().showRailHr()},this.showRail=function(){return 0===_.page.maxh||!_.ispage&&"none"==_.win.css("display")||(_.rail.visibility=!0,_.rail.css("display","block")),_},this.showRailHr=function(){return _.railh&&(0===_.page.maxw||!_.ispage&&"none"==_.win.css("display")||(_.railh.visibility=!0,_.railh.css("display","block"))),_},this.hideRails=function(){return _.hideRail().hideRailHr()},this.hideRail=function(){return _.rail.visibility=!1,_.rail.css("display","none"),_},this.hideRailHr=function(){return _.railh&&(_.railh.visibility=!1,_.railh.css("display","none")),_},this.show=function(){return _.hidden=!1,_.railslocked=!1,_.showRails()},this.hide=function(){return _.hidden=!0,_.railslocked=!0,_.hideRails()},this.toggle=function(){return _.hidden?_.show():_.hide()},this.remove=function(){for(var t in _.stop(),_.cursortimeout&&clearTimeout(_.cursortimeout),_.delaylist)_.delaylist[t]&&H(_.delaylist[t].h);_.doZoomOut(),_.unbindAll(),x.isie9&&_.win[0].detachEvent("onpropertychange",_.onAttributeChange),!1!==_.observer&&_.observer.disconnect(),!1!==_.observerremover&&_.observerremover.disconnect(),!1!==_.observerbody&&_.observerbody.disconnect(),_.events=null,_.cursor&&_.cursor.remove(),_.cursorh&&_.cursorh.remove(),_.rail&&_.rail.remove(),_.railh&&_.railh.remove(),_.zoom&&_.zoom.remove();for(var e=0;e<_.saved.css.length;e++){var i=_.saved.css[e];i[0].css(i[1],void 0===i[2]?"":i[2])}_.saved=!1,_.me.data("__nicescroll","");var n=A.nicescroll;for(var o in n.each(function(t){if(this&&this.id===_.id){delete n[t];for(var e=++t;e<n.length;e++,t++)n[t]=n[e];n.length--,n.length&&delete n[n.length]}}),_)_[o]=null,delete _[o];_=null},this.scrollstart=function(t){return this.onscrollstart=t,_},this.scrollend=function(t){return this.onscrollend=t,_},this.scrollcancel=function(t){return this.onscrollcancel=t,_},this.zoomin=function(t){return this.onzoomin=t,_},this.zoomout=function(t){return this.onzoomout=t,_},this.isScrollable=function(t){var e=t.target?t.target:t;if("OPTION"==e.nodeName)return!0;for(;e&&1==e.nodeType&&e!==this.me[0]&&!/^BODY|HTML/.test(e.nodeName);){var i=A(e),n=i.css("overflowY")||i.css("overflowX")||i.css("overflow")||"";if(/scroll|auto/.test(n))return e.clientHeight!=e.scrollHeight;e=!!e.parentNode&&e.parentNode}return!1},this.getViewport=function(t){for(var e=!(!t||!t.parentNode)&&t.parentNode;e&&1==e.nodeType&&!/^BODY|HTML/.test(e.nodeName);){var i=A(e);if(/fixed|absolute/.test(i.css("position")))return i;var n=i.css("overflowY")||i.css("overflowX")||i.css("overflow")||"";if(/scroll|auto/.test(n)&&e.clientHeight!=e.scrollHeight)return i;if(0<i.getNiceScroll().length)return i;e=!!e.parentNode&&e.parentNode}return!1},this.triggerScrollStart=function(t,e,i,n,o){if(_.onscrollstart){var s={type:"scrollstart",current:{x:t,y:e},request:{x:i,y:n},end:{x:_.newscrollx,y:_.newscrolly},speed:o};_.onscrollstart.call(_,s)}},this.triggerScrollEnd=function(){if(_.onscrollend){var t=_.getScrollLeft(),e=_.getScrollTop(),i={type:"scrollend",current:{x:t,y:e},end:{x:t,y:e}};_.onscrollend.call(_,i)}};var f=0,g=0,m=0,v=1;function y(t,e,i,n){_.scrollrunning||(_.newscrolly=_.getScrollTop(),_.newscrollx=_.getScrollLeft(),m=R());var o=R()-m;if(m=R(),350<o?v=1:v+=(2-v)/10,e=e*v|0,t=t*v|0){if(n)if(t<0){if(_.getScrollLeft()>=_.page.maxw)return!0}else if(_.getScrollLeft()<=0)return!0;var s=0<t?1:-1;g!==s&&(_.scrollmom&&_.scrollmom.stop(),_.newscrollx=_.getScrollLeft(),g=s),_.lastdeltax-=t}if(e){if(function(){var t=_.getScrollTop();if(e<0){if(t>=_.page.maxh)return!0}else if(t<=0)return!0}()){if(b.nativeparentscrolling&&i&&!_.ispage&&!_.zoomactive)return!0;var r=_.view.h>>1;e=_.newscrolly<-r?(_.newscrolly=-r,-1):_.newscrolly>_.page.maxh+r?(_.newscrolly=_.page.maxh+r,1):0}var a=0<e?1:-1;f!==a&&(_.scrollmom&&_.scrollmom.stop(),_.newscrolly=_.getScrollTop(),f=a),_.lastdeltay-=e}(e||t)&&_.synched("relativexy",function(){var t=_.lastdeltay+_.newscrolly;_.lastdeltay=0;var e=_.lastdeltax+_.newscrollx;_.lastdeltax=0,_.rail.drag||_.doScrollPos(e,t)})}var E=!1;function T(t,e,i){var n,o;if(!i&&E)return!0;(0===t.deltaMode?(n=-t.deltaX*(b.mousescrollstep/54)|0,o=-t.deltaY*(b.mousescrollstep/54)|0):1===t.deltaMode&&(n=-t.deltaX*b.mousescrollstep*50/80|0,o=-t.deltaY*b.mousescrollstep*50/80|0),e&&b.oneaxismousemode&&0===n&&o)&&(n=o,o=0,i&&(n<0?_.getScrollLeft()>=_.page.maxw:_.getScrollLeft()<=0)&&(o=n,n=0));if(_.isrtlmode&&(n=-n),!y(n,o,i,!0))return E=!1,t.stopImmediatePropagation(),t.preventDefault();i&&(E=!0)}if(this.onmousewheel=function(t){if(_.wheelprevented||_.locked)return!1;if(_.railslocked)return _.debounced("checkunlock",_.resize,250),!1;if(_.rail.drag)return _.cancelEvent(t);if("auto"===b.oneaxismousemode&&0!==t.deltaX&&(b.oneaxismousemode=!1),b.oneaxismousemode&&0===t.deltaX&&!_.rail.scrollable)return!_.railh||!_.railh.scrollable||_.onmousewheelhr(t);var e=R(),i=!1;if(b.preservenativescrolling&&_.checkarea+600<e&&(_.nativescrollingarea=_.isScrollable(t),i=!0),_.checkarea=e,_.nativescrollingarea)return!0;var n=T(t,!1,i);return n&&(_.checkarea=0),n},this.onmousewheelhr=function(t){if(!_.wheelprevented){if(_.railslocked||!_.railh.scrollable)return!0;if(_.rail.drag)return _.cancelEvent(t);var e=R(),i=!1;return b.preservenativescrolling&&_.checkarea+600<e&&(_.nativescrollingarea=_.isScrollable(t),i=!0),_.checkarea=e,!!_.nativescrollingarea||(_.railslocked?_.cancelEvent(t):T(t,!0,i))}},this.stop=function(){return _.cancelScroll(),_.scrollmon&&_.scrollmon.stop(),_.cursorfreezed=!1,_.scroll.y=Math.round(_.getScrollTop()*(1/_.scrollratio.y)),_.noticeCursor(),_},this.getTransitionSpeed=function(t){return 80+t/72*b.scrollspeed|0},b.smoothscroll)if(_.ishwscroll&&x.hastransition&&b.usetransition&&b.smoothscroll){var C="";this.resetTransition=function(){C="",_.doc.css(x.prefixstyle+"transition-duration","0ms")},this.prepareTransition=function(t,e){var i=e?t:_.getTransitionSpeed(t),n=i+"ms";return C!==n&&(C=n,_.doc.css(x.prefixstyle+"transition-duration",n)),i},this.doScrollLeft=function(t,e){var i=_.scrollrunning?_.newscrolly:_.getScrollTop();_.doScrollPos(t,i,e)},this.doScrollTop=function(t,e){var i=_.scrollrunning?_.newscrollx:_.getScrollLeft();_.doScrollPos(i,t,e)},this.cursorupdate={running:!1,start:function(){var t=this;if(!t.running){t.running=!0;var e=function(){t.running&&P(e),_.showCursor(_.getScrollTop(),_.getScrollLeft()),_.notifyScrollEvent(_.win[0])};P(e)}},stop:function(){this.running=!1}},this.doScrollPos=function(t,e,i){var n=_.getScrollTop(),o=_.getScrollLeft();if(((_.newscrolly-n)*(e-n)<0||(_.newscrollx-o)*(t-o)<0)&&_.cancelScroll(),b.bouncescroll?(e<0?e=e/2|0:e>_.page.maxh&&(e=_.page.maxh+(e-_.page.maxh)/2|0),t<0?t=t/2|0:t>_.page.maxw&&(t=_.page.maxw+(t-_.page.maxw)/2|0)):(e<0?e=0:e>_.page.maxh&&(e=_.page.maxh),t<0?t=0:t>_.page.maxw&&(t=_.page.maxw)),_.scrollrunning&&t==_.newscrollx&&e==_.newscrolly)return!1;_.newscrolly=e,_.newscrollx=t;var s=_.getScrollTop(),r=_.getScrollLeft(),a={};a.x=t-r,a.y=e-s;var l=0|Math.sqrt(a.x*a.x+a.y*a.y),c=_.prepareTransition(l);_.scrollrunning||(_.scrollrunning=!0,_.triggerScrollStart(r,s,t,e,c),_.cursorupdate.start()),_.scrollendtrapped=!0,x.transitionend||(_.scrollendtrapped&&clearTimeout(_.scrollendtrapped),_.scrollendtrapped=setTimeout(_.onScrollTransitionEnd,c)),_.setScrollTop(_.newscrolly),_.setScrollLeft(_.newscrollx)},this.cancelScroll=function(){if(!_.scrollendtrapped)return!0;var t=_.getScrollTop(),e=_.getScrollLeft();return _.scrollrunning=!1,x.transitionend||clearTimeout(x.transitionend),_.scrollendtrapped=!1,_.resetTransition(),_.setScrollTop(t),_.railh&&_.setScrollLeft(e),_.timerscroll&&_.timerscroll.tm&&clearInterval(_.timerscroll.tm),_.timerscroll=!1,_.cursorfreezed=!1,_.cursorupdate.stop(),_.showCursor(t,e),_},this.onScrollTransitionEnd=function(){if(_.scrollendtrapped){var t=_.getScrollTop(),e=_.getScrollLeft();if(t<0?t=0:t>_.page.maxh&&(t=_.page.maxh),e<0?e=0:e>_.page.maxw&&(e=_.page.maxw),t!=_.newscrolly||e!=_.newscrollx)return _.doScrollPos(e,t,b.snapbackspeed);_.scrollrunning&&_.triggerScrollEnd(),_.scrollrunning=!1,_.scrollendtrapped=!1,_.resetTransition(),_.timerscroll=!1,_.setScrollTop(t),_.railh&&_.setScrollLeft(e),_.cursorupdate.stop(),_.noticeCursor(!1,t,e),_.cursorfreezed=!1}}}else this.doScrollLeft=function(t,e){var i=_.scrollrunning?_.newscrolly:_.getScrollTop();_.doScrollPos(t,i,e)},this.doScrollTop=function(t,e){var i=_.scrollrunning?_.newscrollx:_.getScrollLeft();_.doScrollPos(i,t,e)},this.doScrollPos=function(t,e,i){var n=_.getScrollTop(),o=_.getScrollLeft();((_.newscrolly-n)*(e-n)<0||(_.newscrollx-o)*(t-o)<0)&&_.cancelScroll();var s=!1;if(_.bouncescroll&&_.rail.visibility||(e<0?s=!(e=0):e>_.page.maxh&&(e=_.page.maxh,s=!0)),_.bouncescroll&&_.railh.visibility||(t<0?s=!(t=0):t>_.page.maxw&&(t=_.page.maxw,s=!0)),_.scrollrunning&&_.newscrolly===e&&_.newscrollx===t)return!0;_.newscrolly=e,_.newscrollx=t,_.dst={},_.dst.x=t-o,_.dst.y=e-n,_.dst.px=o,_.dst.py=n;var r=0|Math.sqrt(_.dst.x*_.dst.x+_.dst.y*_.dst.y),a=_.getTransitionSpeed(r);_.bzscroll={};var l=s?1:.58;_.bzscroll.x=new h(o,_.newscrollx,a,0,0,l,1),_.bzscroll.y=new h(n,_.newscrolly,a,0,0,l,1);R();var c=function(){if(_.scrollrunning){var t=_.bzscroll.y.getPos();_.setScrollLeft(_.bzscroll.x.getNow()),_.setScrollTop(_.bzscroll.y.getNow()),t<=1?_.timer=P(c):(_.scrollrunning=!1,_.timer=0,_.triggerScrollEnd())}};_.scrollrunning||(_.triggerScrollStart(o,n,t,e,a),_.scrollrunning=!0,_.timer=P(c))},this.cancelScroll=function(){return _.timer&&H(_.timer),_.timer=0,_.bzscroll=!1,_.scrollrunning=!1,_};else this.doScrollLeft=function(t,e){var i=_.getScrollTop();_.doScrollPos(t,i,e)},this.doScrollTop=function(t,e){var i=_.getScrollLeft();_.doScrollPos(i,t,e)},this.doScrollPos=function(t,e,i){var n=t>_.page.maxw?_.page.maxw:t;n<0&&(n=0);var o=e>_.page.maxh?_.page.maxh:e;o<0&&(o=0),_.synched("scroll",function(){_.setScrollTop(o),_.setScrollLeft(n)})},this.cancelScroll=function(){};this.doScrollBy=function(t,e){y(0,t)},this.doScrollLeftBy=function(t,e){y(t,0)},this.doScrollTo=function(t,e){var i=e?Math.round(t*_.scrollratio.y):t;i<0?i=0:i>_.page.maxh&&(i=_.page.maxh),_.cursorfreezed=!1,_.doScrollTop(t)},this.checkContentSize=function(){var t=_.getContentSize();t.h==_.page.h&&t.w==_.page.w||_.resize(!1,t)},_.onscroll=function(t){_.rail.drag||_.cursorfreezed||_.synched("scroll",function(){_.scroll.y=Math.round(_.getScrollTop()/_.scrollratio.y),_.railh&&(_.scroll.x=Math.round(_.getScrollLeft()/_.scrollratio.x)),_.noticeCursor()})},_.bind(_.docscroll,"scroll",_.onscroll),this.doZoomIn=function(t){if(!_.zoomactive){_.zoomactive=!0,_.zoomrestore={style:{}};var e=["position","top","left","zIndex","backgroundColor","marginTop","marginBottom","marginLeft","marginRight"],i=_.win[0].style;for(var n in e){var o=e[n];_.zoomrestore.style[o]=void 0!==i[o]?i[o]:""}_.zoomrestore.style.width=_.win.css("width"),_.zoomrestore.style.height=_.win.css("height"),_.zoomrestore.padding={w:_.win.outerWidth()-_.win.width(),h:_.win.outerHeight()-_.win.height()},x.isios4&&(_.zoomrestore.scrollTop=L.scrollTop(),L.scrollTop(0)),_.win.css({position:x.isios4?"absolute":"fixed",top:0,left:0,zIndex:z+100,margin:0});var s=_.win.css("backgroundColor");return(""===s||/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(s))&&_.win.css("backgroundColor","#fff"),_.rail.css({zIndex:z+101}),_.zoom.css({zIndex:z+102}),_.zoom.css("backgroundPosition","0 -18px"),_.resizeZoom(),_.onzoomin&&_.onzoomin.call(_),_.cancelEvent(t)}},this.doZoomOut=function(t){if(_.zoomactive)return _.zoomactive=!1,_.win.css("margin",""),_.win.css(_.zoomrestore.style),x.isios4&&L.scrollTop(_.zoomrestore.scrollTop),_.rail.css({"z-index":_.zindex}),_.zoom.css({"z-index":_.zindex}),_.zoomrestore=!1,_.zoom.css("backgroundPosition","0 0"),_.onResize(),_.onzoomout&&_.onzoomout.call(_),_.cancelEvent(t)},this.doZoom=function(t){return _.zoomactive?_.doZoomOut(t):_.doZoomIn(t)},this.resizeZoom=function(){if(_.zoomactive){var t=_.getScrollTop();_.win.css({width:L.width()-_.zoomrestore.padding.w+"px",height:L.height()-_.zoomrestore.padding.h+"px"}),_.onResize(),_.setScrollTop(Math.min(_.page.maxh,t))}},this.init(),A.nicescroll.push(this)}var e,i,n,j=O.MutationObserver||O.WebKitMutationObserver||!1,R=Date.now||function(){return(new Date).getTime()},W={zindex:"auto",cursoropacitymin:0,cursoropacitymax:1,cursorcolor:"#424242",cursorwidth:"6px",cursorborder:"1px solid #fff",cursorborderradius:"5px",scrollspeed:40,mousescrollstep:27,touchbehavior:!1,emulatetouch:!1,hwacceleration:!0,usetransition:!0,boxzoom:!1,dblclickzoom:!0,gesturezoom:!0,grabcursorenabled:!0,autohidemode:!0,background:"",iframeautoresize:!0,cursorminheight:32,preservenativescrolling:!0,railoffset:!1,railhoffset:!1,bouncescroll:!0,spacebarenabled:!0,railpadding:{top:0,right:0,left:0,bottom:0},disableoutline:!0,horizrailenabled:!0,railalign:"right",railvalign:"bottom",enabletranslate3d:!0,enablemousewheel:!0,enablekeyboard:!0,smoothscroll:!0,sensitiverail:!0,enablemouselockapi:!0,cursorfixedheight:!1,directionlockdeadzone:6,hidecurs
1ordelay:400,nativeparentscrolling:!0,enablescrollonselection:!0,overflowx:!0,overflowy:!0,cursordragspeed:.3,rtlmode:"auto",cursordragontouch:!1,oneaxismousemode:"auto",scriptpath:(i=N.currentScript||!!(e=N.getElementsByTagName("script")).length&&e[e.length-1],n=i?i.src.split("?")[0]:"",0<n.split("/").length?n.split("/").slice(0,-1).join("/")+"/":""),preventmultitouchscrolling:!0,disablemutationobserver:!1,enableobserver:!0,scrollbarid:!1},B=!1,$=function(t){var g=this;this.nc=t,this.lastx=0,this.lasty=0,this.speedx=0,this.speedy=0,this.lasttime=0,this.steptime=0,this.snapx=!1,this.snapy=!1,this.demulx=0,this.demuly=0,this.lastscrollx=-1,this.lastscrolly=-1,this.chkx=0,this.chky=0,this.timer=0,this.reset=function(t,e){g.stop(),g.steptime=0,g.lasttime=R(),g.speedx=0,g.speedy=0,g.lastx=t,g.lasty=e,g.lastscrollx=-1,g.lastscrolly=-1},this.update=function(t,e){var i=R();g.steptime=i-g.lasttime,g.lasttime=i;var n=e-g.lasty,o=t-g.lastx,s=g.nc.getScrollTop()+n,r=g.nc.getScrollLeft()+o;g.snapx=r<0||r>g.nc.page.maxw,g.snapy=s<0||s>g.nc.page.maxh,g.speedx=o,g.speedy=n,g.lastx=t,g.lasty=e},this.stop=function(){g.nc.unsynched("domomentum2d"),g.timer&&clearTimeout(g.timer),g.timer=0,g.lastscrollx=-1,g.lastscrolly=-1},this.doSnapy=function(t,e){var i=!1;e<0?i=!(e=0):e>g.nc.page.maxh&&(e=g.nc.page.maxh,i=!0),t<0?i=!(t=0):t>g.nc.page.maxw&&(t=g.nc.page.maxw,i=!0),i?g.nc.doScrollPos(t,e,g.nc.opt.snapbackspeed):g.nc.triggerScrollEnd()},this.doMomentum=function(t){var e=R(),i=t?e+t:g.lasttime,n=g.nc.getScrollLeft(),o=g.nc.getScrollTop(),s=g.nc.page.maxh,r=g.nc.page.maxw;g.speedx=0<r?Math.min(60,g.speedx):0,g.speedy=0<s?Math.min(60,g.speedy):0;var a=i&&e-i<=60;(o<0||s<o||n<0||r<n)&&(a=!1);var l=!(!g.speedy||!a)&&g.speedy,c=!(!g.speedx||!a)&&g.speedx;if(l||c){var h=Math.max(16,g.steptime);if(50<h){var d=h/50;g.speedx*=d,g.speedy*=d,h=50}g.demulxy=0,g.lastscrollx=g.nc.getScrollLeft(),g.chkx=g.lastscrollx,g.lastscrolly=g.nc.getScrollTop(),g.chky=g.lastscrolly;var u=g.lastscrollx,p=g.lastscrolly,f=function(){var t=600<R()-e?.04:.02;g.speedx&&(u=Math.floor(g.lastscrollx-g.speedx*(1-g.demulxy)),((g.lastscrollx=u)<0||r<u)&&(t=.1)),g.speedy&&(p=Math.floor(g.lastscrolly-g.speedy*(1-g.demulxy)),((g.lastscrolly=p)<0||s<p)&&(t=.1)),g.demulxy=Math.min(1,g.demulxy+t),g.nc.synched("domomentum2d",function(){if(g.speedx){g.nc.getScrollLeft();g.chkx=u,g.nc.setScrollLeft(u)}if(g.speedy){g.nc.getScrollTop();g.chky=p,g.nc.setScrollTop(p)}g.timer||(g.nc.hideCursor(),g.doSnapy(u,p))}),g.demulxy<1?g.timer=setTimeout(f,h):(g.stop(),g.nc.hideCursor(),g.doSnapy(u,p))};f()}else g.doSnapy(g.nc.getScrollLeft(),g.nc.getScrollTop())}},o=t.fn.scrollTop;t.cssHooks.pageYOffset={get:function(t,e,i){var n=A.data(t,"__nicescroll")||!1;return n&&n.ishwscroll?n.getScrollTop():o.call(t)},set:function(t,e){var i=A.data(t,"__nicescroll")||!1;return i&&i.ishwscroll?i.setScrollTop(parseInt(e)):o.call(t,e),this}},t.fn.scrollTop=function(e){if(void 0!==e)return this.each(function(){var t=A.data(this,"__nicescroll")||!1;t&&t.ishwscroll?t.setScrollTop(parseInt(e)):o.call(A(this),e)});var t=this[0]&&A.data(this[0],"__nicescroll")||!1;return t&&t.ishwscroll?t.getScrollTop():o.call(this)};var r=t.fn.scrollLeft;A.cssHooks.pageXOffset={get:function(t,e,i){var n=A.data(t,"__nicescroll")||!1;return n&&n.ishwscroll?n.getScrollLeft():r.call(t)},set:function(t,e){var i=A.data(t,"__nicescroll")||!1;return i&&i.ishwscroll?i.setScrollLeft(parseInt(e)):r.call(t,e),this}},t.fn.scrollLeft=function(e){if(void 0!==e)return this.each(function(){var t=A.data(this,"__nicescroll")||!1;t&&t.ishwscroll?t.setScrollLeft(parseInt(e)):r.call(A(this),e)});var t=this[0]&&A.data(this[0],"__nicescroll")||!1;return t&&t.ishwscroll?t.getScrollLeft():r.call(this)};function l(t){var e=this;if(this.length=0,this.name="nicescrollarray",this.each=function(t){return A.each(e,t),e},this.push=function(t){e[e.length]=t,e.length++},this.eq=function(t){return e[t]},t)for(var i=0;i<t.length;i++){var n=A.data(t[i],"__nicescroll")||!1;n&&(this[this.length]=n,this.length++)}return this}!function(t,e,i){for(var n=0,o=e.length;n<o;n++)i(t,e[n])}(l.prototype,["show","hide","toggle","onResize","resize","remove","stop","doScrollPos"],function(t,e){t[e]=function(){var t=arguments;return this.each(function(){this[e].apply(this,t)})}}),t.fn.getNiceScroll=function(t){return void 0===t?new l(this):this[t]&&A.data(this[t],"__nicescroll")||!1},(t.expr.pseudos||t.expr[":"]).nicescroll=function(t){return void 0!==A.data(t,"__nicescroll")},A.fn.niceScroll=function(o,s){void 0!==s||"object"!=typeof o||"jquery"in o||(s=o,o=!1);var r=new l;return this.each(function(){var t=A(this),e=A.extend({},s);if(o){var i=A(o);e.doc=1<i.length?A(o,t):i,e.win=t}!("doc"in e)||"win"in e||(e.win=t);var n=t.data("__nicescroll")||!1;n||(e.doc=e.doc||t,n=new a(e,t),t.data("__nicescroll",n)),r.push(n)}),1===r.length?r[0]:r},O.NiceScroll={getjQuery:function(){return t}}
1,A.nicescroll||(A.nicescroll=new l,A.nicescroll.options=W)}),function(s){s.fn.niceSelect=function(t){if("string"==typeof t)return"update"==t?this.each(function(){var t=s(this),e=s(this).next(".nice-select"),i=e.hasClass("open");e.length&&(e.remove(),n(t),i&&t.next().trigger("click"))}):"destroy"==t?(this.each(function(){var t=s(this),e=s(this).next(".nice-select");e.length&&(e.remove(),t.css("display",""))}),0==s(".nice-select").length&&s(document).off(".nice_select")):console.log('Method "'+t+'" does not exist.'),this;function n(t){t.after(s("<div></div>").addClass("nice-select").addClass(t.attr("class")||"").addClass(t.attr("disabled")?"disabled":"").attr("tabindex",t.attr("disabled")?null:"0").html('<span class="current"></span><ul class="list"></ul>'));var n=t.next(),e=t.find("option"),i=t.find("option:selected");n.find(".current").html(i.data("display")||i.text()),e.each(function(t){var e=s(this),i=e.data("display");n.find("ul").append(s("<li></li>").attr("data-value",e.val()).attr("data-display",i||null).addClass("option"+(e.is(":selected")?" selected":"")+(e.is(":disabled")?" disabled":"")).html(e.text()))})}this.hide(),this.each(function(){var t=s(this);t.next().hasClass("nice-select")||n(t)}),s(document).off(".nice_select"),s(document).on("click.nice_select",".nice-select",function(t){var e=s(this);s(".nice-select").not(e).removeClass("open"),e.toggleClass("open"),e.hasClass("open")?(e.find(".option"),e.find(".focus").removeClass("focus"),e.find(".selected").addClass("focus")):e.focus()}),s(document).on("click.nice_select",function(t){0===s(t.target).closest(".nice-select").length&&s(".nice-select").removeClass("open").find(".option")}),s(document).on("click.nice_select",".nice-select .option:not(.disabled)",function(t){var e=s(this),i=e.closest(".nice-select");i.find(".selected").removeClass("selected"),e.addClass("selected");var n=e.data("display")||e.text();i.find(".current").text(n),i.prev("select").val(e.data("value")).trigger("change")}),s(document).on("keydown.nice_select",".nice-select",function(t){var e=s(this),i=s(e.find(".focus")||e.find(".list .option.selected"));if(32==t.keyCode||13==t.keyCode)return e.hasClass("open")?i.trigger("click"):e.trigger("click"),!1;if(40==t.keyCode){if(e.hasClass("open")){var n=i.nextAll(".option:not(.disabled)").first();0<n.length&&(e.find(".focus").removeClass("focus"),n.addClass("focus"))}else e.trigger("click");return!1}if(38==t.keyCode){if(e.hasClass("open")){var o=i.prevAll(".option:not(.disabled)").first();0<o.length&&(e.find(".focus").removeClass("focus"),o.addClass("focus"))}else e.trigger("click");return!1}if(27==t.keyCode)e.hasClass("open")&&e.trigger("click");else if(9==t.keyCode&&e.hasClass("open"))return!1});var e=document.createElement("a").style;return e.cssText="pointer-events:auto","auto"!==e.pointerEvents&&s("html").addClass("no-csspointerevents"),this}}(jQuery),function(l,i,o,s){function c(t,e){this.settings=null,this.options=l.extend({},c.Defaults,e),this.$element=l(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"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(t,e){this._handlers[e]=l.proxy(this[e],this)},this)),l.each(c.Plugins,l.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),l.each(c.Workers,l.proxy(function(t,e){this._pipe.push({filter:e.filter,run:l.proxy(e.run,this)})},this)),this.setup(),this.initialize()}c.Defaults={items:3,loop:!1,center:!1,rewind:!1,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:i,fallbackEasing:"swing",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"},c.Width={Default:"default",Inner:"inner",Outer:"outer"},c.Type={Event:"event",State:"state"},c.Plugins={},c.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.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(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,o={width:"auto","margin-left":n?e:"","margin-right":n?"":e};!i&&this.$stage.children().css(o),t.css=o}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,o=!this.settings.autoWidth,s=[];for(t.items={merge:!1,width:e};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=1<i||t.items.merge,s[n]=o?e*i:this._items[n].width();this._widths=s}},{filter:["items","settings"],run:function(){var t=[],e=this._items,i=this.settings,n=Math.max(2*i.items,4),o=2*Math.ceil(e.length/2),s=i.loop&&e.length?
vendor: 5,294 bytes, line 1
1i.rewind?n:Math.max(n,o):0,r="",a="";for(s/=2;0<s;)t.push(this.normalize(t.length/2,!0)),r+=e[t[t.length-1]][0].outerHTML,t.push(this.normalize(e.length-1-(t.length-1)/2,!0)),a=e[t[t.length-1]][0].outerHTML+a,s-=1;this._clones=t,l(r).addClass("cloned").appendTo(this.$stage),l(a).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,n=0,o=0,s=[];++i<e;)n=s[i-1]||0,o=this._widths[this.relative(i)]+this.settings.margin,s.push(n+o*t);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],n.eq(e).css(t.css);else i&&(t.css.width=t.items.width,n.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,n,o=this.settings.rtl?1:-1,s=2*this.settings.stagePadding,r=this.coordinates(this.current())+s,a=r+this.width()*o,l=[];for(i=0,n=this._coordinates.length;i<n;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+s*o,(this.op(t,"<=",r)&&this.op(t,">",a)||this.op(e,"<",r)&&this.op(e,">",a))&&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")}}],c.prototype.initialize=function(){var t,e,i;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:s,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t));this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},c.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,i=-1,n=null;t?(l.each(t,function(t){t<=e&&i<t&&(i=Number(t))}),"function"==typeof(n=l.extend({},this.options,t[i])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):n=l.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=i,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},c.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},c.prototype.prepare=function(t){var e=this.trigger("prepare",{content:t});return e.data||(e.data=l("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},c.prototype.update=function(){for(var t=0,e=this._pipe.length,i=l.proxy(function(t){return this[t]},this._invalidated),n={};t<e;)(this._invalidated.all||0<l.grep(this._pipe[t].filter,i).length)&&this._pipe[t].run(n),t++;this._invalidated={},!this.is("valid")&&this.enter("valid")},c.prototype.width=function(t){switch(t=t||c.Width.Default){case c.Width.Inner:case c.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},c.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")},c.prototype.onThrottledResize=function(){i.clearTimeout(this.resizeTimer),this.resizeTimer=i.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},c.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))}
vendor: 6,297 bytes, line 1
1,c.prototype.registerEventHandlers=function(){l.support.transition&&this.$stage.on(l.support.transition.end+".owl.core",l.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(i,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",l.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",l.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",l.proxy(this.onDragEnd,this)))},c.prototype.onDragStart=function(t){var e=null;3!==t.which&&(e=l.support.transform?{x:(e=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===e.length?12:4],y:e[16===e.length?13:5]}:(e=this.$stage.position(),{x:this.settings.rtl?e.left+this.$stage.width()-this.width()+this.settings.margin:e.left,y:e.top}),this.is("animating")&&(l.support.transform?this.animate(e.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=l(t.target),this._drag.stage.start=e,this._drag.stage.current=e,this._drag.pointer=this.pointer(t),l(o).on("mouseup.owl.core touchend.owl.core",l.proxy(this.onDragEnd,this)),l(o).one("mousemove.owl.core touchmove.owl.core",l.proxy(function(t){var e=this.difference(this._drag.pointer,this.pointer(t));l(o).on("mousemove.owl.core touchmove.owl.core",l.proxy(this.onDragMove,this)),Math.abs(e.x)<Math.abs(e.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},c.prototype.onDragMove=function(t){var e=null,i=null,n=null,o=this.difference(this._drag.pointer,this.pointer(t)),s=this.difference(this._drag.stage.start,o);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,s.x=((s.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),n=this.settings.pullDrag?-1*o.x/5:0,s.x=Math.max(Math.min(s.x,e+n),i+n)),this._drag.stage.current=s,this.animate(s.x))},c.prototype.onDragEnd=function(t){var e=this.difference(this._drag.pointer,this.pointer(t)),i=this._drag.stage.current,n=0<e.x^this.settings.rtl?"left":"right";l(o).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==e.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(i.x,0!==e.x?n:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=n,(3<Math.abs(e.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},c.prototype.closest=function(i,n){var o=-1,s=this.width(),r=this.coordinates();return this.settings.freeDrag||l.each(r,l.proxy(function(t,e){return"left"===n&&e-30<i&&i<e+30?o=t:"right"===n&&e-s-30<i&&i<e-s+30?o=t+1:this.op(i,"<",e)&&this.op(i,">",r[t+1]||e-s)&&(o="left"===n?t+1:t),-1===o},this)),this.settings.loop||(this.op(i,">",r[this.minimum()])?o=i=this.minimum():this.op(i,"<",r[this.maximum()])&&(o=i=this.maximum())),o},c.prototype.animate=function(t){var e=0<this.speed();this.is("animating")&&this.onTransitionEnd(),e&&(this.enter("animating"),this.trigger("translate")),l.support.transform3d&&l.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"}):e?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,l.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},c.prototype.is=function(t){return this._states.current[t]&&0<this._states.current[t]},c.prototype.current=function(t){if(t===s)return this._current;if(0===this._items.length)return s;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==s&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},c.prototype.invalidate=function(t){return"string"===l.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),l.map(this._invalidated,function(t,e){return e})},c.prototype.reset=function(t){(t=this.normalize(t))!==s&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},c.prototype.normalize=function(t,e){var i=this._items.length,n=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=s:(t<0||i+n<=t)&&(t=((t-n/2)%i+i)%i+n/2),t},c.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},c.prototype.maximum=function(t){var e,i,n,o=this.settings,s=this._coordinates.length;if(o.loop)s=this._clones.length/2+this._items.length-1;else if(o.autoWidth||o.merge){if(e=this._items.length)for(i=this._items[--e].width(),n=this.$element.width();e--&&!(n<(i+=this._items[e].width()+this.settings.margin)););s=e+1}else s=o.center?this._items.length-1:this._items.length-o.items;return t&&(s-=this._clones.length/2),Math.max(s,0)},c.prototype.minimum=function(t){return t?0:this._clones.length/2},c.prototype.items=function(t){return t===s?this._items.slice():(t=this.normalize(t,!0),this._items[t])},c.prototype.mergers=function(t){return t===s?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},c.prototype.clones=function(i){function n(t){return t%2==0?o+t/2:e-(t+1)/2}var e=this._clones.length/2,o=e+this._items.length;return i===s?l.map(this._clones,function(t,e){return n(e)}):l.map(this._clones,function(t,e){return t===i?n(e):null})},c.prototype.speed=function(t){return t!==s&&(this._speed=t),this._speed},c.prototype.coordinates=function(t){var e,i=1,n=t-1;return t===s?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(i=-1,n=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[n]||0))/2*i):e=this._coordinates[n]||0,e=Math.ceil(e))}
vendor: 8,425 bytes, line 1
1,c.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},c.prototype.to=function(t,e){var i=this.current(),n=null,o=t-this.relative(i),s=(0<o)-(o<0),r=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(o)>r/2&&(o+=-1*s*r),(n=(((t=i+o)-a)%r+r)%r+a)!==t&&n-o<=l&&0<n-o&&(i=n-o,t=n,this.reset(i))):t=this.settings.rewind?(t%(l+=1)+l)%l:Math.max(a,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},c.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},c.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},c.prototype.onTransitionEnd=function(t){if(t!==s&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},c.prototype.viewport=function(){var t;return this.options.responsiveBaseElement!==i?t=l(this.options.responsiveBaseElement).width():i.innerWidth?t=i.innerWidth:o.documentElement&&o.documentElement.clientWidth?t=o.documentElement.clientWidth:console.warn("Can not detect viewport width."),t},c.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:l(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(l.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.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")},c.prototype.add=function(t,e){var i=this.relative(this._current);e=e===s?this._items.length:this.normalize(e,!0),t=t instanceof jQuery?t:l(t),this.trigger("add",{content:t,position:e}),t=this.prepare(t),0===this._items.length||e===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[e-1].after(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[e].before(t),this._items.splice(e,0,t),this._mergers.splice(e,0,1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[i]&&this.reset(this._items[i].index()),this.invalidate("items"),this.trigger("added",{content:t,position:e})},c.prototype.remove=function(t){(t=this.normalize(t,!0))!==s&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},c.prototype.preloadAutoWidthImages=function(t){t.each(l.proxy(function(t,e){this.enter("pre-loading"),e=l(e),l(new Image).one("load",l.proxy(function(t){e.attr("src",t.target.src),e.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",e.attr("src")||e.attr("data-src")||e.attr("data-src-retina"))},this))},c.prototype.destroy=function(){for(var t in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),l(o).off(".owl.core"),!1!==this.settings.responsive&&(i.clearTimeout(this.resizeTimer),this.off(i,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[t].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")},c.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?i<t:t<i;case">":return n?t<i:i<t;case">=":return n?t<=i:i<=t;case"<=":return n?i<=t:t<=i}},c.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},c.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},c.prototype.trigger=function(t,e,i,n,o){var s={item:{count:this._items.length,index:this.current()}},r=l.camelCase(l.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},s,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:c.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[r]&&this.settings[r].call(this,a)),a},c.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===s&&(this._states.current[e]=0),this._states.current[e]++},this))},c.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},c.prototype.register=function(i){if(i.type===c.Type.Event){if(l.event.special[i.name]||(l.event.special[i.name]={}),!l.event.special[i.name].owl){var e=l.event.special[i.name]._default;l.event.special[i.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1<t.namespace.indexOf("owl"):e.apply(this,arguments)},l.event.special[i.name].owl=!0}}else i.type===c.Type.State&&(this._states.tags[i.name]?this._states.tags[i.name]=this._states.tags[i.name].concat(i.tags):this._states.tags[i.name]=i.tags,this._states.tags[i.name]=l.grep(this._states.tags[i.name],l.proxy(function(t,e){return l.inArray(t,this._states.tags[i.name])===e},this)))},c.prototype.suppress=function(t){l.each(t,l.proxy(function(t,e){this._supress[e]=!0},this))},c.prototype.release=function(t){l.each(t,l.proxy(function(t,e){delete this._supress[e]},this))},c.prototype.pointer=function(t){var e={x:null,y:null};return(t=(t=t.originalEvent||t||i.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(e.x=t.pageX,e.y=t.pageY):(e.x=t.clientX,e.y=t.clientY),e},c.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},c.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},l.fn.owlCarousel=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=l(this),i=t.data("owl.carousel");i||(i=new c(this,"object"==typeof e&&e),t.data("owl.carousel",i),l.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,e){i.register({type:c.Type.Event,name:e}),i.$element.on(e+".owl.carousel.core",l.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([e]),i[e].apply(this,[].slice.call(arguments,1)),this.release([e]))},i))})),"string"==typeof e&&"_"!==e.charAt(0)&&i[e].apply(i,n)})},l.fn.owlCarousel.Constructor=c}(window.Zepto||window.jQuery,window,document),function(e,i,t,n){var o=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},o.Defaults,this._core.options),this._core.$element.on(this._handlers)};o.Defaults={autoRefresh:!0,autoRefreshInterval:500},o.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=i.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},o.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},o.prototype.destroy=function(){var t,e;for(t in i.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=o}(window.Zepto||window.jQuery,window,document),function(a,s,t,e){var i=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":
vendor: 9,840 bytes, line 1
1a.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type))for(var e=this._core.settings,i=e.center&&Math.ceil(e.items/2)||e.items,n=e.center&&-1*i||0,o=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+n,s=this._core.clones().length,r=a.proxy(function(t,e){this.load(e)},this);n++<i;)this.load(s/2+this._core.relative(o)),s&&a.each(this._core.clones(this._core.relative(o)),r),o++},this)},this._core.options=a.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={lazyLoad:!1},i.prototype.load=function(t){var e=this._core.$stage.children().eq(t),i=e&&e.find(".owl-lazy");!i||-1<a.inArray(e.get(0),this._loaded)||(i.each(a.proxy(function(t,e){var i,n=a(e),o=1<s.devicePixelRatio&&n.attr("data-src-retina")||n.attr("data-src");this._core.trigger("load",{element:n,url:o},"lazy"),n.is("img")?n.one("load.owl.lazy",a.proxy(function(){n.css("opacity",1),this._core.trigger("loaded",{element:n,url:o},"lazy")},this)).attr("src",o):((i=new Image).onload=a.proxy(function(){n.css({"background-image":'url("'+o+'")',opacity:"1"}),this._core.trigger("loaded",{element:n,url:o},"lazy")},this),i.src=o)},this)),this._loaded.push(e.get(0)))},i.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=i}(window.Zepto||window.jQuery,window,document),function(s,t,e,i){var n=function(t){this._core=t,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()},this),"loaded.owl.lazy":s.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=s.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},n.prototype.update=function(){var t,e=this._core._current,i=e+this._core.settings.items,n=this._core.$stage.children().toArray().slice(e,i),o=[];s.each(n,function(t,e){o.push(s(e).height())}),t=Math.max.apply(null,o),this._core.$stage.parent().height(t).addClass(this._core.settings.autoHeightClass)},n.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},s.fn.owlCarousel.Constructor.Plugins.AutoHeight=n}(window.Zepto||window.jQuery,window,document),function(h,t,e,i){var n=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":h.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":h.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":h.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":h.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":h.proxy(function(t){if(t.namespace){var e=h(t.content).find(".owl-video");e.length&&(e.css("display","none"),this.fetch(e,h(t.content)))}},this)},this._core.options=h.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",h.proxy(function(t){this.play(t)},this))};n.Defaults={video:!1,videoHeight:!1,videoWidth:!1},n.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",n=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),o=t.attr("data-width")||this._core.settings.videoWidth,s=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");if(-1<(n=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))i="youtube";else if(-1<n[3].indexOf("vimeo"))i="vimeo";else{if(!(-1<n[3].indexOf("vzaar")))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[r]={type:i,id:n,width:o,height:s},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},n.prototype.thumbnail=function(e,t){function i(t){'<div class="owl-video-play-icon"></div>',n=c.lazyLoad?'<div class="owl-video-tn '+l+'" '+a+'="'+t+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(n),e.after('<div class="owl-video-play-icon"></div>')}var n,o,s=t.width&&t.height?'style="width:'+t.width+"px;height:"+t.height+'px;"':"",r=e.find("img"),a="src",l="",c=this._core.settings;if(e.wrap('<div class="owl-video-wrapper"'+s+"></div>"),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),r.length)return i(r.attr(a)),r.remove(),!1;"youtube"===t.type?(o="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",i(o)):"vimeo"===t.type?h.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t[0].thumbnail_large,i(o)}}):"vzaar"===t.type&&h.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t.framegrab_url,i(o)}})},n.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")},n.prototype.play=function(t){var e,i=h(t.target).closest("."+this._core.settings.itemClass),n=this._videos[i.attr("data-video")],o=n.width||"100%",s=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),i=this._core.items(this._core.relative(i.index())),this._core.reset(i.index()),"youtube"===n.type?e='<iframe width="'+o+'" height="'+s+'" src="//www.youtube.com/embed/'+n.id+"?autoplay=1&rel=0&v="+n.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===n.type?e='<iframe src="//player.vimeo.com/video/'+n.id+'?autoplay=1" width="'+o+'" height="'+s+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===n.type&&(e='<iframe frameborder="0"height="'+s+'"width="'+o+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+n.id+'/player?autoplay=true"></iframe>'),h('<div class="owl-video-frame">'+e+"</div>").insertAfter(i.find(".owl-video")),this._playing=i.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&h(t).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},h.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,window,document),function(r,t,e,i){var n=function(t){this.core=t,this.core.options=r.extend({},n.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":r.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":r.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":r.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};n.Defaults={animateOut:!1,animateIn:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&r.support.animation&&r.support.transition){this.core.speed(0);var t,e=r.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(r.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(s)),o&&n.one(r.support.animation.end,e).addClass("animated owl-animated-in").addClass(o))}},n.prototype.clear=function(t){r(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()},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},r.fn.owlCarousel.Constructor.Plugins.Animate=n}(window.Zepto||window.jQuery,window,document),function(n,o,e,t){var i=function(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":n.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()}
vendor: 11,106 bytes, line 1
1,this),"play.owl.autoplay":n.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":n.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=n.extend({},i.Defaults,this._core.options)};i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype._next=function(t){this._call=o.setTimeout(n.proxy(this._next,this,t),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("busy")||this._core.is("interacting")||e.hidden||this._core.next(t||this._core.settings.autoplaySpeed)},i.prototype.read=function(){return(new Date).getTime()-this._time},i.prototype.play=function(t,e){var i;this._core.is("rotating")||this._core.enter("rotating"),t=t||this._core.settings.autoplayTimeout,i=Math.min(this._time%(this._timeout||t),t),this._paused?(this._time=this.read(),this._paused=!1):o.clearTimeout(this._call),this._time+=this.read()%t-i,this._timeout=t,this._call=o.setTimeout(n.proxy(this._next,this,e),t-i)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,o.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,o.clearTimeout(this._call))},i.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},n.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(s,t,e,i){"use strict";var n=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":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+s(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":s.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":s.proxy(function(t){t.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":s.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=s.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers)};n.Defaults={nav:!1,navText:['<span aria-label="prev">&#x2039;</span>','<span aria-label="next">&#x203a;</span>'],navSpeed:!1,navElement:'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},n.prototype.initialize=function(){var t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?s(i.navContainer):s("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=s("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",s.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=s("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",s.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[s("<button>").addClass(i.dotClass).append(s("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?s(i.dotsContainer):s("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",s.proxy(function(t){var e=s(t.target).parent().is(this._controls.$absolute)?s(t.target).index():s(t.target).parent().index();t.preventDefault(),this.to(e,i.dotsSpeed)},this)),this._overrides)this._core[t]=s.proxy(this[t],this)},n.prototype.destroy=function(){var t,e,i,n;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&settings.navContainer?this._controls[e].html(""):this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},n.prototype.update=function(){var t,e,i=this._core.clones().length/2,n=i+this._core.items().length,o=this._core.maximum(!0),s=this._core.settings,r=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],t=i,e=0;t<n;t++){if(r<=e||0===e){if(this._pages.push({start:Math.min(o,t-i),end:t-i+r-1}),Math.min(o,t-i)===o)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},n.prototype.draw=function(){var t,e=this._core.settings,i=this._core.items().length<=e.items,n=this._core.relative(this._core.current()),o=e.loop||e.rewind;this._controls.$relative.toggleClass("disabled",!e.nav||i),e.nav&&(this._controls.$previous.toggleClass("disabled",!o&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!e.dots||i),e.dots&&(t=this._pages.length-this._controls.$absolute.children().length,e.dotsData&&0!=t?this._controls.$absolute.html(this._templates.join("")):0<t?this._controls.$absolute.append(new Array(1+t).join(this._templates[0])):t<0&&this._controls.$absolute.children().slice(t).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(s.inArray(this.current(),this._pages)).addClass("active"))},n.prototype.onTrigger=function(t){var e=this._core.settings;t.page={index:s.inArray(this.current(),this._pages),count:this._pages.length,size:e&&(e.center||e.autoWidth||e.dotsData?1:e.dotsEach||e.items)}},n.prototype.current=function(){var i=this._core.relative(this._core.current());return s.grep(this._pages,s.proxy(function(t,e){return t.start<=i&&t.end>=i},this)).pop()},n.prototype.getPosition=function(t){var e,i,n=this._core.settings;return"page"==n.slideBy?(e=s.inArray(this.current(),this._pages),i=this._pages.length,t?++e:--e,e=this._pages[(e%i+i)%i].start):(e=this._core.relative(this._core.current()),i=this._core.items().length,t?e+=n.slideBy:e-=n.slideBy),e},n.prototype.next=function(t){s.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},n.prototype.prev=function(t){s.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},n.prototype.to=function(t,e,i){var n;!i&&this._pages.length?(n=this._pages.length,s.proxy(this._overrides.to,this._core)(this._pages[(t%n+n)%n].start,e)):s.proxy(this._overrides.to,this._core)(t,e)},s.fn.owlCarousel.Constructor.Plugins.Navigation=n}(window.Zepto||window.jQuery,window,document),function(n,o,t,e){"use strict";var i=function(t){this._core=t,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":n.proxy(function(t){t.namespace&&"URLHash"===this._core.settings.startPosition&&n(o).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":n.proxy(function(t){if(t.namespace){var e=n(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!e)return;this._hashes[e]=t.content}},this),"changed.owl.carousel":n.proxy(function(t){if(t.namespace&&"position"===t.property.name){var i=this._core.items(this._core.relative(this._core.current())),e=n.map(this._hashes,function(t,e){return t===i?e:null}).join();if(!e||o.location.hash.slice(1)===e)return;o.location.hash=e}},this)},this._core.options=n.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers),n(o).on("hashchange.owl.navigation",n.proxy(function(t){var e=o.location.hash.substring(1),i=this._core.$stage.children(),n=this._hashes[e]&&i.index(this._hashes[e]);void 0!==n&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0)},this))};i.Defaults={URLhashListener:!1},i.prototype.destroy=function(){var t,e;for(t in n(o).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},n.fn.owlCarousel.Constructor.Plugins.Hash=i}(window.Zepto||window.jQuery,window,document),function(o,t,e,s){var r=o("<support>").get(0).style,a="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},n=function(){return!!h("transform")},l=function(){return!!h("perspective")},c=function(){return!!h("animation")};function h(t,i){var n=!1,e=t.charAt(0).toUpperCase()+t.slice(1);return o.each((t+" "+a.join(e+" ")+e).split(" "),function(t,e){if(r[e]!==s)return n=!i||e,!1}),n}function d(t){return h(t,!0)}(function(){return!!h("transition")})()&&(o.support.transition=new String(d("transition")),o.support.transition.end=i.transition.end[o.support.transition]),c()&&(o.support.animation=new String(d("animation")),o.support.animation.end=i.animation.end[o.support.animation]),n()&&(o.support.transform=new String(d("transform")),o.support.transform3d=l())}(window.Zepto||window.jQuery,window,document),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.retinajs=e()}(this,function(){"use strict";var t="undefined"!=typeof window,o=Math.round(t&&window.devicePixelRatio||1),n=/(\.[A-z]{3,4}\/?(\?.*)?)$/,s=/url\(('|")?([^)'"]+)('|")?\)/i,e="[data-rjs]",r="data-rjs-processed";function i(t){return Array.prototype.slice.call(t)}function a(t,e){var i=t.nodeName.toLowerCase(),n=document.createElement("img");n.addEventListener("load",function(){"img"===i?function(t){return t.hasAttribute("data-no-resize")||(0===t.offsetWidth&&0===t.offsetHeight?(t.setAttribute("width",t.naturalWi
1dth),t.setAttribute("height",t.naturalHeight)):(t.setAttribute("width",t.offsetWidth),t.setAttribute("height",t.offsetHeight))),t}(t).setAttribute("src",e):t.style.backgroundImage="url("+e+")"}),n.setAttribute("src",e),t.setAttribute(r,!0)}function l(t,e){var i=function(t){var e=parseInt(t,10);return o<e?o:e}(2<arguments.length&&void 0!==arguments[2]?arguments[2]:1);e&&1<i&&a(t,e.replace(n,"@"+i+"x$1"))}function c(t){(function(t){return t?"function"==typeof t.forEach?t:i(t):"undefined"!=typeof document?i(document.querySelectorAll(e)):[]})(t).forEach(function(t){if(!t.getAttribute(r)){var e="img"===t.nodeName.toLowerCase()?t.getAttribute("src"):function(t){return t.style.backgroundImage.replace(s,"$2")}(t),i=t.getAttribute("data-rjs"),n=!isNaN(parseInt(i,10));if(null===i)return;n?l(t,e,i):function(t,e,i){1<o&&a(t,i)}(t,0,i)}})}return t&&(window.addEventListener("load",function(){c()}),window.retinajs=c),c}),/(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(d){function t(){for(var t=u.scrollTop(),e=p.height(),i=e-g,n=i<t?i-t:0,o=0,s=f.length;o<s;o++){var r=f[o],a=r.stickyWrapper.offset().top-r.topSpacing-n;if(r.stickyWrapper.css("height",r.stickyElement.outerHeight()),t<=a)null!==r.currentTop&&(r.stickyElement.css({width:"",position:"",top:"","z-index":""}),r.stickyElement.parent().removeClass(r.className),r.stickyElement.trigger("sticky-end",[r]),r.currentTop=null);else{var l,c=e-r.stickyElement.outerHeight()-r.topSpacing-r.bottomSpacing-t-n;if(c<0?c+=r.topSpacing:c=r.topSpacing,r.currentTop!==c)r.getWidthFrom?(padding=r.stickyElement.innerWidth()-r.stickyElement.width(),l=d(r.getWidthFrom).width()-padding||null):r.widthFromWrapper&&(l=r.stickyWrapper.width()),null==l&&(l=r.stickyElement.width()),r.stickyElement.css("width",l).css("position","fixed").css("top",c).css("z-index",r.zIndex),r.stickyElement.parent().addClass(r.className),null===r.currentTop?r.stickyElement.trigger("sticky-start",[r]):r.stickyElement.trigger("sticky-update",[r]),r.currentTop===r.topSpacing&&r.currentTop>c||null===r.currentTop&&c<r.topSpacing?r.stickyElement.trigger("sticky-bottom-reached",[r]):null!==r.currentTop&&c===r.topSpacing&&r.currentTop<c&&r.stickyElement.trigger("sticky-bottom-unreached",[r]),r.currentTop=c;var h=r.stickyWrapper.parent();r.stickyElement.offset().top+r.stickyElement.outerHeight()>=h.offset().top+h.outerHeight()&&r.stickyElement.offset().top<=r.topSpacing?r.stickyElement.css("position","absolute").css("top","").css("bottom",0).css("z-index",""):r.stickyElement.css("position","fixed").css("top",c).css("bottom","").css("z-index",r.zIndex)}}}function e(){g=u.height();for(var t=0,e=f.length;t<e;t++){var i=f[t],n=null;i.getWidthFrom?i.responsiveWidth&&(n=d(i.getWidthFrom).width()):i.widthFromWrapper&&(n=i.stickyWrapper.width()),null!=n&&i.stickyElement.css("width",n)}}var i=Array.prototype.slice,n=Array.prototype.splice,a={topSpacing:0,bottomSpacing:0,className:"is-sticky",wrapperClassName:"sticky-wrapper",center:!1,getWidthFrom:"",widthFromWrapper:!0,responsiveWidth:!1,zIndex:"inherit"},u=d(window),p=d(document),f=[],g=u.height(),l={init:function(r){return this.each(function(){var t=d.extend({},a,r),e=d(this),i=e.attr("id"),n=i?i+"-"+a.wrapperClassName:a.wrapperClassName,o=d("<div></div>").attr("id",n).addClass(t.wrapperClassName);e.wrapAll(function(){if(0==d(this).parent("#"+n).length)return o});var s=e.parent();t.center&&s.css({width:e.outerWidth(),marginLeft:"auto",marginRight:"auto"}),"right"===e.css("float")&&e.css({float:"none"}).parent().css({float:"right"}),t.stickyElement=e,t.stickyWrapper=s,t.currentTop=null,f.push(t),l.setWrapperHeight(this),l.setupChangeListeners(this)})},setWrapperHeight:function(t){var e=d(t),i=e.parent();i&&i.css("height",e.outerHeight())},setupChangeListeners:function(e){window.MutationObserver?new window.MutationObserver(function(t){(t[0].addedNodes.length||t[0].removedNodes.length)&&l.setWrapperHeight(e)}).observe(e,{subtree:!0,childList:!0}):window.addEventListener?(e.addEventListener("DOMNodeInserted",function(){l.
1setWrapperHeight(e)},!1),e.addEventListener("DOMNodeRemoved",function(){l.setWrapperHeight(e)},!1)):window.attachEvent&&(e.attachEvent("onDOMNodeInserted",function(){l.setWrapperHeight(e)}),e.attachEvent("onDOMNodeRemoved",function(){l.setWrapperHeight(e)}))},update:t,unstick:function(t){return this.each(function(){for(var t=d(this),e=-1,i=f.length;0<i--;)f[i].stickyElement.get(0)===this&&(n.call(f,i,1),e=i);-1!==e&&(t.unwrap(),t.css({width:"",position:"",top:"",float:"","z-index":""}))})}};window.addEventListener?(window.addEventListener("scroll",t,!1),window.addEventListener("resize",e,!1)):window.attachEvent&&(window.attachEvent("onscroll",t),window.attachEvent("onresize",e)),d.fn.sticky=function(t){return l[t]?l[t].apply(this,i.call(arguments,1)):"object"!=typeof t&&t?void d.error("Method "+t+" does not exist on jQuery.sticky"):l.init.apply(this,arguments)},d.fn.unstick=function(t){return l[t]?l[t].apply(this,i.call(arguments,1)):"object"!=typeof t&&t?void d.error("Method "+t+" does not exist on jQuery.sticky"):l.unstick.apply(this,arguments)},d(function(){setTimeout(t,0)})}),function(b){b.fn.theiaStickySidebar=function(t){var e,i;function o(t,e){return!0===t.initialized||!(b("body").width()<t.minWidth)&&(function(_,t){_.initialized=!0,0===b("#theia-sticky-sidebar-stylesheet-"+_.namespace).length&&b("head").append(b('<style id="theia-sticky-sidebar-stylesheet-'+_.namespace+'">.theiaStickySidebar:after {content: ""; display: table; clear: both;}</style>'));t.each(function(){var t={};if(t.sidebar=b(this),t.options=_||{},t.container=b(t.options.containerSelector),0==t.container.length&&(t.container=t.sidebar.parent()),t.sidebar.parents().css("-webkit-transform","none"),t.sidebar.css({position:t.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),t.stickySidebar=t.sidebar.find(".theiaStickySidebar"),0==t.stickySidebar.length){var i=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i;t.sidebar.find("script").filter(function(t,e){return 0===e.type.length||e.type.match(i)}).remove(),t.stickySidebar=b("<div>").addClass("theiaStickySidebar").append(t.sidebar.children()),t.sidebar.append(t.stickySidebar)}t.marginBottom=parseInt(t.sidebar.css("margin-bottom")),t.paddingTop=parseInt(t.sidebar.css("padding-top")),t.paddingBottom=parseInt(t.sidebar.css("padding-bottom"));var e=t.stickySidebar.offset().top,n=t.stickySidebar.outerHeight();function y(){t.fixedScrollTop=0,t.sidebar.css({"min-height":"1px"}),t.stickySidebar.css({position:"static",width:"",transform:"none"})}t.stickySidebar.css("padding-top",1),t.stickySidebar.css("padding-bottom",1),e-=t.stickySidebar.offset().top,n=t.stickySidebar.outerHeight()-n-e,0==e?(t.stickySidebar.css("padding-top",0),t.stickySidebarPaddingTop=0):t.stickySidebarPaddingTop=1,0==n?(t.stickySidebar.css("padding-bottom",0),t.stickySidebarPaddingBottom=0):t.stickySidebarPaddingBottom=1,t.previousScrollTop=null,t.fixedScrollTop=0,y(),t.onScroll=function(t){if(t.stickySidebar.is(":visible"))if(b("body").width()<t.options.minWidth)y();else{if(t.options.disableOnResponsiveLayouts){var e=t.sidebar.outerWidth("none"==t.sidebar.css("float"));if(e+50>t.container.width())return void y()}var i=b(document).scrollTop(),n="static";if(i>=t.sidebar.offset().top+(t.paddingTop-t.options.additionalMarginTop)){var o,s=t.paddingTop+_.additionalMarginTop,r=t.paddingBottom+t.marginBottom+_.additionalMarginBottom,a=t.sidebar.offset().top,l=t.sidebar.offset().top+function(t){var e=t.height();return t.children().each(function(){e=Math.max(e,b(this).height())}),e}(t.container),c=0+_.additionalMarginTop,h=t.stickySidebar.outerHeight()+s+r<b(window).height();o=h?c+t.stickySidebar.outerHeight():b(window).height()-t.marginBottom-t.paddingBottom-_.additionalMarginBottom;var d=a-i+t.paddingTop,u=l-i-t.paddingBottom-t.marginBottom,p=t.stickySidebar.offset().top-i,f=t.previousScrollTop-i;"fixed"==t.stickySidebar.css("position")&&"modern"==t.options.sidebarBehavior&&(p+=f),"stick-to-top"==t.options.sidebarBehavior&&(p=_.additionalMarginTop),"stick-to-bottom"==t.options.sidebarBehavior&&(p=o-t.stickySidebar.outerHeight()),p=0<f?Math.min(p,c):Math.max(p,o-t.stickySidebar.outerHeight()),p=Math.max(p,d),p=Math.min(p,u-t.stickySidebar.outerHeight());var g=t.container.height()==t.stickySidebar.outerHeight();n=(g||p!=c)&&(g||p!=o-t.stickySidebar.outerHeight())?i+p-t.sidebar.offset().top-t.paddingTop<=_.additionalMarginTop?"static":"absolute":"fixed"}if("fixed"==n){var m=b(document).scrollLeft();t.stickySidebar.css({position:"fixed",width:w(t.stickySidebar)+"px",transform:"translateY("+p+"px)",left:t.sidebar.offset().left+parseInt(t.sidebar.css("padding-left"))-m+"px",to
1p:"0px"})}else if("absolute"==n){var v={};"absolute"!=t.stickySidebar.css("position")&&(v.position="absolute",v.transform="translateY("+(i+p-t.sidebar.offset().top-t.stickySidebarPaddingTop-t.stickySidebarPaddingBottom)+"px)",v.top="0px"),v.width=w(t.stickySidebar)+"px",v.left="",t.stickySidebar.css(v)}else"static"==n&&y();"static"!=n&&1==t.options.updateSidebarHeight&&t.sidebar.css({"min-height":t.stickySidebar.outerHeight()+t.stickySidebar.offset().top-t.sidebar.offset().top+t.paddingBottom}),t.previousScrollTop=i}},t.onScroll(t),b(document).on("scroll."+t.options.namespace,function(t){return function(){t.onScroll(t)}}(t)),b(window).on("resize."+t.options.namespace,function(t){return function(){t.stickySidebar.css({position:"static"}),t.onScroll(t)}}(t)),"undefined"!=typeof ResizeSensor&&new ResizeSensor(t.stickySidebar[0],function(t){return function(){t.onScroll(t)}}(t))})}(t,e),!0)}function w(t){var e;try{e=t[0].getBoundingClientRect().width}catch(t){}return void 0===e&&(e=t.width()),e}return(t=b.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,o(e=t,i=this)||(console.log("TSS: Body 
1width smaller than options.minWidth. Init is delayed."),b(document).on("scroll."+e.namespace,function(i,n){return function(t){var e=o(i,n);e&&b(this).unbind(t)}}(e,i)),b(window).on("resize."+e.namespace,function(i,n){return function(t){var e=o(i,n);e&&b(this).unbind(t)}}(e,i))),this}}(jQuery),function(s){"use strict";s(document).ready(function(){s("a.footer-btp").on("click",function(t){t.preventDefault()}),s("select").niceSelect(),s(".search-trigger, .close-search-overlay").click(function(t){t.preventDefault(),s(".search-wrapper").toggleClass("visible")});var t=s(".canvas-trigger"),e=s(".canvas-sidebar"),i=s(".site-overlay"),n=s(".close-canvas");function o(){e.removeClass("visible"),i.removeClass("visible"),s("body").removeClass("offcanvas-active")}t.on("click",function(){e.addClass("visible"),i.addClass("visible"),s("body").addClass("offcanvas-active")}),i.on("click",function(){o()}),n.on("click",function(){o()}),s(".canvas-sidebar").niceScroll({}),s(".menu-toggle").on("click",function(t){s("#site-navigation").slideToggle("medium"),s("body").toggleClass("menu-toggle-active")}),s("#site-navigation .menu-item-has-children").append('<span class="sub-toggle"> <i class="fa fa-caret-down" aria-hidden="true"></i> </span>'),s("#site-navigation .page_item_has_children").append('<span class="sub-toggle"> <i class="fa fa-caret-down" aria-hidden="true"></i> </span>'),s("#site-navigation .sub-toggle").on("click",function(){s(this).toggleClass("active-submenu"),s(this).parent(".menu-item-has-children").children("ul.sub-menu").first().slideToggle("medium"),s(this).parent(".page_item_has_children").children("ul.children").first().slideToggle("medium"),s(this).hasClass("active-submenu")?s(this).find(".fa").removeClass("fa-caret-down").addClass("fa-caret-up"):s(this).find(".fa").removeClass("fa-caret-up").addClass("fa-caret-down")}),window.matchMedia("(max-width: 991px)").matches?s(".col-lg-8").removeClass("sticky-portion"):s(".sticky-portion").theiaStickySidebar({additionalMarginTop:30}),s(".gc-banner-slider-s1").owlCarousel({items:1,loop:!0,lazyLoad:!1,margin:0,smartSpeed:1e3,nav:!1,dots:!0,autoplay:!0,autoplayTimeout:5e3,autoplayHoverPause:!0}),s(".is-gallery-format").owlCarousel({items:1,loop:!0,lazyLoad:!1,margin:0,smartSpeed:800,nav:!0,dots:!1,autoplay:!0,autoplayTimeout:4e3,autoplayHoverPause:!0}),s(window).on("scroll",function(){0!=s(this).scrollTop()?s("#gc-backtotop").fadeIn():s("#gc-backtotop").fadeOut()}),s("body").on("click","#gc-backtotop, .footer-btp",function(){return s("html, body").animate({scrollTop:0},1200),!1})})}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.