function fontchange(t){baseFont+=t,$(".c-news-detail .b-maincontent p, .c-news-detail .desc, .c-news-detail .entry p").css("font-size",baseFont+"px"),savecookie("fontsize",baseFont)}function fontdefault(){$(window).width()>767?($(".c-news-detail .b-maincontent p, .c-news-detail .desc, .c-news-detail .entry p").css("font-size","19px"),savecookie("fontsize",19)):($(".c-news-detail .b-maincontent p, .c-news-detail .desc, .c-news-detail .entry p").css("font-size","18px"),savecookie("fontsize",18))}function getcookie(t){var e;return(e=new RegExp("(?:^|; )"+encodeURIComponent(t)+"=([^;]*)").exec(document.cookie))?e[1]:null}function savecookie(t,e){var i,n=new Date;n.setTime(n.getTime()+31536e6),i="; expires="+n.toGMTString(),document.cookie=t+"="+e+i+"; path=/;"}!function(t,e,i){function n(i){var n=e.console;s[i]||(s[i]=!0,t.migrateWarnings.push(i),n&&n.warn&&!t.migrateMute&&(n.warn("JQMIGRATE: "+i),t.migrateTrace&&n.trace&&n.trace()))}function o(e,i,o,s){if(Object.defineProperty)try{return void Object.defineProperty(e,i,{configurable:!0,enumerable:!0,get:function(){return n(s),o},set:function(t){n(s),o=t}})}catch(t){}t._definePropertyBroken=!0,e[i]=o}t.migrateVersion="1.4.1";var s={};t.migrateWarnings=[],e.console&&e.console.log&&e.console.log("JQMIGRATE: Migrate is installed"+(t.migrateMute?"":" with logging active")+", version "+t.migrateVersion),void 0===t.migrateTrace&&(t.migrateTrace=!0),t.migrateReset=function(){s={},t.migrateWarnings.length=0},"BackCompat"===document.compatMode&&n("jQuery is not compatible with Quirks Mode");var r=t("<input/>",{size:1}).attr("size")&&t.attrFn,a=t.attr,l=t.attrHooks.value&&t.attrHooks.value.get||function(){return null},c=t.attrHooks.value&&t.attrHooks.value.set||function(){},h=/^(?:input|button)$/i,u=/^[238]$/,d=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;o(t,"attrFn",r||{},"jQuery.attrFn is deprecated"),t.attr=function(e,i,o,s){var l=i.toLowerCase(),c=e&&e.nodeType;return s&&(a.length<4&&n("jQuery.fn.attr( props, pass ) is deprecated"),e&&!u.test(c)&&(r?i in r:t.isFunction(t.fn[i])))?t(e)[i](o):("type"===i&&void 0!==o&&h.test(e.nodeName)&&e.parentNode&&n("Can't change the 'type' of an input or button in IE 6/7/8"),!t.attrHooks[l]&&d.test(l)&&(t.attrHooks[l]={get:function(e,i){var n,o=t.prop(e,i);return!0===o||"boolean"!=typeof o&&(n=e.getAttributeNode(i))&&!1!==n.nodeValue?i.toLowerCase():void 0},set:function(e,i,n){var o;return!1===i?t.removeAttr(e,n):((o=t.propFix[n]||n)in e&&(e[o]=!0),e.setAttribute(n,n.toLowerCase())),n}},f.test(l)&&n("jQuery.fn.attr('"+l+"') might use property instead of attribute")),a.call(t,e,i,o))},t.attrHooks.value={get:function(t,e){var i=(t.nodeName||"").toLowerCase();return"button"===i?l.apply(this,arguments):("input"!==i&&"option"!==i&&n("jQuery.fn.attr('value') no longer gets properties"),e in t?t.value:null)},set:function(t,e){var i=(t.nodeName||"").toLowerCase();if("button"===i)return c.apply(this,arguments);"input"!==i&&"option"!==i&&n("jQuery.fn.attr('value', val) no longer sets properties"),t.value=e}};var p,g,m=t.fn.init,v=t.find,_=t.parseJSON,y=/^\s*</,w=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,b=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,C=/^([^<]*)(<[\w\W]+>)([^>]*)$/;t.fn.init=function(e,i,o){var s,r;return e&&"string"==typeof e&&!t.isPlainObject(i)&&(s=C.exec(t.trim(e)))&&s[0]&&(y.test(e)||n("$(html) HTML strings must start with '<' character"),s[3]&&n("$(html) HTML text after last tag is ignored"),"#"===s[0].charAt(0)&&(n("HTML string cannot start with a '#' character"),t.error("JQMIGRATE: Invalid selector string (XSS)")),i&&i.context&&i.context.nodeType&&(i=i.context),t.parseHTML)?m.call(this,t.parseHTML(s[2],i&&i.ownerDocument||i||document,!0),i,o):(r=m.apply(this,arguments),e&&void 0!==e.selector?(r.selector=e.selector,r.context=e.context):(r.selector="string"==typeof e?e:"",e&&(r.context=e.nodeType?e:i||document)),r)},t.fn.init.prototype=t.fn,t.find=function(t){var e=Array.prototype.slice.call(arguments);if("string"==typeof t&&w.test(t))try{document.querySelector(t)}catch(i){t=t.replace(b,function(t,e,i,n){return"["+e+i+'"'+n+'"]'});try{document.querySelector(t),n("Attribute selector with '#' must be quoted: "+e[0]),e[0]=t}catch(t){n("Attribute selector with '#' was not fixed: "+e[0])}}return v.apply(this,e)};var x;for(x in v)Object.prototype.hasOwnProperty.call(v,x)&&(t.find[x]=v[x]);t.parseJSON=function(t){return t?_.apply(this,arguments):(n("jQuery.parseJSON requires a valid JSON string"),null)},t.uaMatch=function(t){t=t.toLowerCase();var e=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}},t.browser||(g={},(p=t.uaMatch(navigator.userAgent)).browser&&(g[p.browser]=!0,g.version=p.version),g.chrome?g.webkit=!0:g.webkit&&(g.safari=!0),t.browser=g),o(t,"browser",t.browser,"jQuery.browser is deprecated"),t.boxModel=t.support.boxModel="CSS1Compat"===document.compatMode,o(t,"boxModel",t.boxModel,"jQuery.boxModel is deprecated"),o(t.support,"boxModel",t.support.boxModel,"jQuery.support.boxModel is deprecated"),t.sub=function(){function e(t,i){return new e.fn.init(t,i)}t.extend(!0,e,this),e.superclass=this,(e.fn=e.prototype=this()).constructor=e,e.sub=this.sub,e.fn.init=function(n,o){var s=t.fn.init.call(this,n,o,i);return s instanceof e?s:e(s)},e.fn.init.prototype=e.fn;var i=e(document);return n("jQuery.sub() is deprecated"),e},t.fn.size=function(){return n("jQuery.fn.size() is deprecated; use the .length property"),this.length};var E=!1;t.swap&&t.each(["height","width","reliableMarginRight"],function(e,i){var n=t.cssHooks[i]&&t.cssHooks[i].get;n&&(t.cssHooks[i].get=function(){var t;return E=!0,t=n.apply(this,arguments),E=!1,t})}),t.swap=function(t,e,i,o){var s,r,a={};E||n("jQuery.swap() is undocumented and deprecated");for(r in e)a[r]=t.style[r],t.style[r]=e[r];s=i.apply(t,o||[]);for(r in e)t.style[r]=a[r];return s},t.ajaxSetup({converters:{"text json":t.parseJSON}});var T=t.fn.data;t.fn.data=function(e){var i,o,s=this[0];return!s||"events"!==e||1!==arguments.length||(i=t.data(s,e),o=t._data(s,e),void 0!==i&&i!==o||void 0===o)?T.apply(this,arguments):(n("Use of jQuery.fn.data('events') is deprecated"),o)};var $=/\/(java|ecma)script/i;t.clean||(t.clean=function(e,i,o,s){i=(i=!(i=i||document).nodeType&&i[0]||i).ownerDocument||i,n("jQuery.clean() is deprecated");var r,a,l,c,h=[];if(t.merge(h,t.buildFragment(e,i).childNodes),o)for(l=function(t){if(!t.type||$.test(t.type))return s?s.push(t.parentNode?t.parentNode.removeChild(t):t):o.appendChild(t)},r=0;null!=(a=h[r]);r++)t.nodeName(a,"script")&&l(a)||(o.appendChild(a),void 0!==a.getElementsByTagName&&(c=t.grep(t.merge([],a.getElementsByTagName("script")),l),h.splice.apply(h,[r+1,0].concat(c)),r+=c.length));return h});var S=t.event.add,k=t.event.remove,D=t.event.trigger,A=t.fn.toggle,j=t.fn.live,N=t.fn.die,O=t.fn.load,I="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",z=new RegExp("\\b(?:"+I+")\\b"),L=/(?:^|\s)hover(\.\S+|)\b/,H=function(e){return"string"!=typeof e||t.event.special.hover?e:(L.test(e)&&n("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),e&&e.replace(L,"mouseenter$1 mouseleave$1"))};t.event.props&&"attrChange"!==t.event.props[0]&&t.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),t.event.dispatch&&o(t.event,"handle",t.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),t.event.add=function(t,e,i,o,s){t!==document&&z.test(e)&&n("AJAX events should be attached to document: "+e),S.call(this,t,H(e||""),i,o,s)},t.event.remove=function(t,e,i,n,o){k.call(this,t,H(e)||"",i,n,o)},t.each(["load","unload","error"],function(e,i){t.fn[i]=function(){var t=Array.prototype.slice.call(arguments,0);return"load"===i&&"string"==typeof t[0]?O.apply(this,t):(n("jQuery.fn."+i+"() is deprecated"),t.splice(0,0,i),arguments.length?this.bind.apply(this,t):(this.triggerHandler.apply(this,t),this))}}),t.fn.toggle=function(e,i){if(!t.isFunction(e)||!t.isFunction(i))return A.apply(this,arguments);n("jQuery.fn.toggle(handler, handler...) is deprecated");var o=arguments,s=e.guid||t.guid++,r=0,a=function(i){var n=(t._data(this,"lastToggle"+e.guid)||0)%r;return t._data(this,"lastToggle"+e.guid,n+1),i.preventDefault(),o[n].apply(this,arguments)||!1};for(a.guid=s;r<o.length;)o[r++].guid=s;return this.click(a)},t.fn.live=function(e,i,o){return n("jQuery.fn.live() is deprecated"),j?j.apply(this,arguments):(t(this.context).on(e,this.selector,i,o),this)},t.fn.die=function(e,i){return n("jQuery.fn.die() is deprecated"),N?N.apply(this,arguments):(t(this.context).off(e,this.selector||"**",i),this)},t.event.trigger=function(t,e,i,o){return i||z.test(t)||n("Global events are undocumented and deprecated"),D.call(this,t,e,i||document,o)},t.each(I.split("|"),function(e,i){t.event.special[i]={setup:function(){var e=this;return e!==document&&(t.event.add(document,i+"."+t.guid,function(){t.event.trigger(i,Array.prototype.slice.call(arguments,1),e,!0)}),t._data(this,i,t.guid++)),!1},teardown:function(){return this!==document&&t.event.remove(document,i+"."+t._data(this,i)),!1}}}),t.event.special.ready={setup:function(){this===document&&n("'ready' event is deprecated")}};var P=t.fn.andSelf||t.fn.addBack,M=t.fn.find;if(t.fn.andSelf=function(){return n("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),P.apply(this,arguments)},t.fn.find=function(t){var e=M.apply(this,arguments);return e.context=this.context,e.selector=this.selector?this.selector+" "+t:t,e},t.Callbacks){var R=t.Deferred,F=[["resolve","done",t.Callbacks("once memory"),t.Callbacks("once memory"),"resolved"],["reject","fail",t.Callbacks("once memory"),t.Callbacks("once memory"),"rejected"],["notify","progress",t.Callbacks("memory"),t.Callbacks("memory")]];t.Deferred=function(e){var i=R(),o=i.promise();return i.pipe=o.pipe=function(){var e=arguments;return n("deferred.pipe() is deprecated"),t.Deferred(function(n){t.each(F,function(s,r){var a=t.isFunction(e[s])&&e[s];i[r[1]](function(){var e=a&&a.apply(this,arguments);e&&t.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[r[0]+"With"](this===o?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},i.isResolved=function(){return n("deferred.isResolved is deprecated"),"resolved"===i.state()},i.isRejected=function(){return n("deferred.isRejected is deprecated"),"rejected"===i.state()},e&&e.call(i,i),i}}}(jQuery,window),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Popper=e()}(this,function(){"use strict";function t(t){return t&&"[object Function]"==={}.toString.call(t)}function e(t,e){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?i[e]:i}function i(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function n(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var o=e(t),s=o.overflow,r=o.overflowX,a=o.overflowY;return/(auto|scroll|overlay)/.test(s+a+r)?t:n(i(t))}function o(t){return 11===t?V:10===t?Y:V||Y}function s(t){if(!t)return document.documentElement;for(var i=o(10)?document.body:null,n=t.offsetParent||null;n===i&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===e(n,"position")?s(n):n:t?t.ownerDocument.documentElement:document.documentElement}function r(t){return null===t.parentNode?t:r(t.parentNode)}function a(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,l=document.createRange();l.setStart(n,0),l.setEnd(o,0);var c=l.commonAncestorContainer;if(t!==c&&e!==c||n.contains(o))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||s(t.firstElementChild)===t)}(c)?c:s(c);var h=r(t);return h.host?a(h.host,e):a(t,r(e).host)}function l(t){var e="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var n=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||n)[e]}return t[e]}function c(t,e){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=l(e,"top"),o=l(e,"left"),s=i?-1:1;return t.top+=n*s,t.bottom+=n*s,t.left+=o*s,t.right+=o*s,t}function h(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)}function u(t,e,i,n){return F(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],o(10)?parseInt(i["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function d(t){var e=t.body,i=t.documentElement,n=o(10)&&getComputedStyle(i);return{height:u("Height",e,i,n),width:u("Width",e,i,n)}}function f(t){return G({},t,{right:t.left+t.width,bottom:t.top+t.height})}function p(t){var i={};try{if(o(10)){i=t.getBoundingClientRect();var n=l(t,"top"),s=l(t,"left");i.top+=n,i.left+=s,i.bottom+=n,i.right+=s}else i=t.getBoundingClientRect()}catch(t){}var r={left:i.left,top:i.top,width:i.right-i.left,height:i.bottom-i.top},a="HTML"===t.nodeName?d(t.ownerDocument):{},c=a.width||t.clientWidth||r.right-r.left,u=a.height||t.clientHeight||r.bottom-r.top,p=t.offsetWidth-c,g=t.offsetHeight-u;if(p||g){var m=e(t);p-=h(m,"x"),g-=h(m,"y"),r.width-=p,r.height-=g}return f(r)}function g(t,i){var s=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=o(10),a="HTML"===i.nodeName,l=p(t),h=p(i),u=n(t),d=e(i),g=parseFloat(d.borderTopWidth,10),m=parseFloat(d.borderLeftWidth,10);s&&a&&(h.top=F(h.top,0),h.left=F(h.left,0));var v=f({top:l.top-h.top-g,left:l.left-h.left-m,width:l.width,height:l.height});if(v.marginTop=0,v.marginLeft=0,!r&&a){var _=parseFloat(d.marginTop,10),y=parseFloat(d.marginLeft,10);v.top-=g-_,v.bottom-=g-_,v.left-=m-y,v.right-=m-y,v.marginTop=_,v.marginLeft=y}return(r&&!s?i.contains(u):i===u&&"BODY"!==u.nodeName)&&(v=c(v,i)),v}function m(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,n=g(t,i),o=F(i.clientWidth,window.innerWidth||0),s=F(i.clientHeight,window.innerHeight||0),r=e?0:l(i),a=e?0:l(i,"left");return f({top:r-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:s})}function v(t){var n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===e(t,"position")||v(i(t)))}function _(t){if(!t||!t.parentElement||o())return document.documentElement;for(var i=t.parentElement;i&&"none"===e(i,"transform");)i=i.parentElement;return i||document.documentElement}function y(t,e,o,s){var r=4<arguments.length&&void 0!==arguments[4]&&arguments[4],l={top:0,left:0},c=r?_(t):a(t,e);if("viewport"===s)l=m(c,r);else{var h;"scrollParent"===s?"BODY"===(h=n(i(e))).nodeName&&(h=t.ownerDocument.documentElement):h="window"===s?t.ownerDocument.documentElement:s;var u=g(h,c,r);if("HTML"!==h.nodeName||v(c))l=u;else{var f=d(t.ownerDocument),p=f.height,y=f.width;l.top+=u.top-u.marginTop,l.bottom=p+u.top,l.left+=u.left-u.marginLeft,l.right=y+u.left}}var w="number"==typeof(o=o||0);return l.left+=w?o:o.left||0,l.top+=w?o:o.top||0,l.right-=w?o:o.right||0,l.bottom-=w?o:o.bottom||0,l}function w(t,e,i,n,o){var s=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var r=y(i,n,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 G({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,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight}),h=0<c.length?c[0].key:l[0].key,u=t.split("-")[1];return h+(u?"-"+u:"")}function b(t,e,i){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return g(i,n?_(e):a(e,i),n)}function C(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function x(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 E(t,e,i){i=i.split("-")[0];var n=C(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[x(a)],o}function T(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function $(e,i,n){return(void 0===n?e:e.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===i});var n=T(t,function(t){return t[e]===i});return t.indexOf(n)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&t(n)&&(i.offsets.popper=f(i.offsets.popper),i.offsets.reference=f(i.offsets.reference),i=n(i,e))}),i}function S(t,e){return t.some(function(t){var i=t.name;return t.enabled&&i===e})}function k(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],s=o?""+o+i:t;if(void 0!==document.body.style[s])return s}return null}function D(t){var e=t.ownerDocument;return e?e.defaultView:window}function A(t,e,i,o){var s="BODY"===t.nodeName,r=s?t.ownerDocument.defaultView:t;r.addEventListener(e,i,{passive:!0}),s||A(n(r.parentNode),e,i,o),o.push(r)}function j(){this.state.eventsEnabled||(this.state=function(t,e,i,o){i.updateBound=o,D(t).addEventListener("resize",i.updateBound,{passive:!0});var s=n(t);return A(s,"scroll",i.updateBound,i.scrollParents),i.scrollElement=s,i.eventsEnabled=!0,i}(this.reference,this.options,this.state,this.scheduleUpdate))}function N(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(t,e){return D(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}(this.reference,this.state))}function O(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function I(t,e){Object.keys(e).forEach(function(i){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&O(e[i])&&(n="px"),t.style[i]=e[i]+n})}function z(t,e,i){var n=T(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+"`";console.warn("`"+i+"` modifier is required by "+s+" modifier in order to work, be sure to include it before "+s+"!")}return o}function L(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=et.indexOf(t),n=et.slice(i+1).concat(et.slice(0,i));return e?n.reverse():n}function H(t,e,i,n){var o=[0,0],s=-1!==["right","left"].indexOf(n),r=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=r.indexOf(T(r,function(t){return-1!==t.search(/,|\s/)}));r[a]&&-1===r[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1===a?[r]:[r.slice(0,a).concat([r[a].split(l)[0]]),[r[a].split(l)[1]].concat(r.slice(a+1))];return(c=c.map(function(t,n){var o=(1===n?!s:s)?"height":"width",r=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,r=!0,t):r?(t[t.length-1]+=e,r=!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("%")){var a;switch(r){case"%p":a=i;break;case"%":case"%r":default:a=n}return f(a)[e]/100*s}if("vh"===r||"vw"===r)return("vh"===r?F(document.documentElement.clientHeight,window.innerHeight||0):F(document.documentElement.clientWidth,window.innerWidth||0))/100*s;return s}(t,o,e,i)})})).forEach(function(t,e){t.forEach(function(i,n){O(i)&&(o[e]+=i*("-"===t[n-1]?-1:1))})}),o}for(var P=Math.min,M=Math.floor,R=Math.round,F=Math.max,B="undefined"!=typeof window&&"undefined"!=typeof document,W=["Edge","Trident","Firefox"],Q=0,q=0;q<W.length;q+=1)if(B&&0<=navigator.userAgent.indexOf(W[q])){Q=1;break}var U=B&&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()},Q))}},V=B&&!(!window.MSInputMethodContext||!document.documentMode),Y=B&&/MSIE 10/.test(navigator.userAgent),X=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},K=function(){function t(t,e){for(var i,n=0;n<e.length;n++)i=e[n],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Z=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},G=Object.assign||function(t){for(var e,i=1;i<arguments.length;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},J=B&&/Firefox/i.test(navigator.userAgent),tt=["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"],et=tt.slice(3),it={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},nt=function(){function e(i,n){var o=this,s=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};X(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=U(this.update.bind(this)),this.options=G({},e.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=i&&i.jquery?i[0]:i,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(G({},e.Defaults.modifiers,s.modifiers)).forEach(function(t){o.options.modifiers[t]=G({},e.Defaults.modifiers[t]||{},s.modifiers?s.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return G({name:t},o.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(e){e.enabled&&t(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return K(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=b(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=w(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.positionFixed=this.options.positionFixed,t.offsets.popper=E(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=$(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,S(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[k("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return j.call(this)}},{key:"disableEventListeners",value:function(){return N.call(this)}}]),e}();return nt.Utils=("undefined"==typeof window?global:window).PopperUtils,nt.placements=tt,nt.Defaults={placement:"bottom",positionFixed:!1,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:Z({},l,s[l]),end:Z({},l,s[l]+s[c]-r[c])};t.offsets.popper=G({},r,h[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i,n=e.offset,o=t.placement,s=t.offsets,r=s.popper,a=s.reference,l=o.split("-")[0];return i=O(+n)?[+n,0]:H(n,r,a,l),"left"===l?(r.top+=i[0],r.left-=i[1]):"right"===l?(r.top+=i[0],r.left+=i[1]):"top"===l?(r.left+=i[0],r.top-=i[1]):"bottom"===l&&(r.left+=i[0],r.top+=i[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var i=e.boundariesElement||s(t.instance.popper);t.instance.reference===i&&(i=s(i));var n=k("transform"),o=t.instance.popper.style,r=o.top,a=o.left,l=o[n];o.top="",o.left="",o[n]="";var c=y(t.instance.popper,t.instance.reference,e.padding,i,t.positionFixed);o.top=r,o.left=a,o[n]=l,e.boundaries=c;var h=e.priority,u=t.offsets.popper,d={primary:function(t){var i=u[t];return u[t]<c[t]&&!e.escapeWithReference&&(i=F(u[t],c[t])),Z({},t,i)},secondary:function(t){var i="right"===t?"left":"top",n=u[i];return u[t]>c[t]&&!e.escapeWithReference&&(n=P(u[i],c[t]-("right"===t?u.width:u.height))),Z({},i,n)}};return h.forEach(function(t){var e=-1===["left","top"].indexOf(t)?"secondary":"primary";u=G({},u,d[e](t))}),t.offsets.popper=u,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=M,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,i){var n;if(!z(t.instance.modifiers,"arrow","keepTogether"))return t;var o=i.element;if("string"==typeof o){if(!(o=t.instance.popper.querySelector(o)))return t}else if(!t.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var s=t.placement.split("-")[0],r=t.offsets,a=r.popper,l=r.reference,c=-1!==["left","right"].indexOf(s),h=c?"height":"width",u=c?"Top":"Left",d=u.toLowerCase(),p=c?"left":"top",g=c?"bottom":"right",m=C(o)[h];l[g]-m<a[d]&&(t.offsets.popper[d]-=a[d]-(l[g]-m)),l[d]+m>a[g]&&(t.offsets.popper[d]+=l[d]+m-a[g]),t.offsets.popper=f(t.offsets.popper);var v=l[d]+l[h]/2-m/2,_=e(t.instance.popper),y=parseFloat(_["margin"+u],10),w=parseFloat(_["border"+u+"Width"],10),b=v-t.offsets.popper[d]-y-w;return b=F(P(a[h]-m,b),0),t.arrowElement=o,t.offsets.arrow=(n={},Z(n,d,R(b)),Z(n,p,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(S(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=y(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=x(n),s=t.placement.split("-")[1]||"",r=[];switch(e.behavior){case it.FLIP:r=[n,o];break;case it.CLOCKWISE:r=L(n);break;case it.COUNTERCLOCKWISE:r=L(n,!0);break;default:r=e.behavior}return r.forEach(function(a,l){if(n!==a||r.length===l+1)return t;n=t.placement.split("-")[0],o=x(n);var c=t.offsets.popper,h=t.offsets.reference,u=M,d="left"===n&&u(c.right)>u(h.left)||"right"===n&&u(c.left)<u(h.right)||"top"===n&&u(c.bottom)>u(h.top)||"bottom"===n&&u(c.top)<u(h.bottom),f=u(c.left)<u(i.left),p=u(c.right)>u(i.right),g=u(c.top)<u(i.top),m=u(c.bottom)>u(i.bottom),v="left"===n&&f||"right"===n&&p||"top"===n&&g||"bottom"===n&&m,_=-1!==["top","bottom"].indexOf(n),y=!!e.flipVariations&&(_&&"start"===s&&f||_&&"end"===s&&p||!_&&"start"===s&&g||!_&&"end"===s&&m);(d||v||y)&&(t.flipped=!0,(d||v)&&(n=r[l+1]),y&&(s=function(t){return"end"===t?"start":"start"===t?"end":t}(s)),t.placement=n+(s?"-"+s:""),t.offsets.popper=G({},t.offsets.popper,E(t.instance.popper,t.offsets.reference,t.placement)),t=$(t.instance.modifiers,t,"flip"))}),t},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=x(e),t.offsets.popper=f(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!z(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=T(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,r=T(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,l,c=void 0===r?e.gpuAcceleration:r,h=s(t.instance.popper),u=p(h),d={position:o.position},f=function(t,e){var i=t.offsets,n=i.popper,o=i.reference,s=-1!==["left","right"].indexOf(t.placement),r=-1!==t.placement.indexOf("-"),a=o.width%2==n.width%2,l=1==o.width%2&&1==n.width%2,c=function(t){return t},h=e?s||r||a?R:M:c,u=e?R:c;return{left:h(l&&!r&&e?n.left-1:n.left),top:u(n.top),bottom:u(n.bottom),right:h(n.right)}}(t,2>window.devicePixelRatio||!J),g="bottom"===i?"top":"bottom",m="right"===n?"left":"right",v=k("transform");if(l="bottom"==g?"HTML"===h.nodeName?-h.clientHeight+f.bottom:-u.height+f.bottom:f.top,a="right"==m?"HTML"===h.nodeName?-h.clientWidth+f.right:-u.width+f.right:f.left,c&&v)d[v]="translate3d("+a+"px, "+l+"px, 0)",d[g]=0,d[m]=0,d.willChange="transform";else{var _="bottom"==g?-1:1,y="right"==m?-1:1;d[g]=l*_,d[m]=a*y,d.willChange=g+", "+m}var w={"x-placement":t.placement};return t.attributes=G({},w,t.attributes),t.styles=G({},d,t.styles),t.arrowStyles=G({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return I(t.instance.popper,t.styles),function(t,e){Object.keys(e).forEach(function(i){!1===e[i]?t.removeAttribute(i):t.setAttribute(i,e[i])})}(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&I(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,o){var s=b(o,e,t,i.positionFixed),r=w(i.placement,s,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",r),I(e,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},nt}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap={},t.jQuery,t.Popper)}(this,function(t,e,i){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function o(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 s(t,e,i){return e&&o(t.prototype,e),i&&o(t,i),t}function r(){return(r=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)}function a(t,e,i){if(0===t.length)return t;if(i&&"function"==typeof i)return i(t);for(var n=(new window.DOMParser).parseFromString(t,"text/html"),o=Object.keys(e),s=[].slice.call(n.body.querySelectorAll("*")),r=function(t,i){var n=s[t],r=n.nodeName.toLowerCase();if(-1===o.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var a=[].slice.call(n.attributes),l=[].concat(e["*"]||[],e[r]||[]);a.forEach(function(t){(function(t,e){var i=t.nodeName.toLowerCase();if(-1!==e.indexOf(i))return-1===H.indexOf(i)||Boolean(t.nodeValue.match(P)||t.nodeValue.match(M));for(var n=e.filter(function(t){return t instanceof RegExp}),o=0,s=n.length;o<s;o++)if(i.match(n[o]))return!0;return!1})(t,l)||n.removeAttribute(t.nodeName)})},a=0,l=s.length;a<l;a++)r(a);return n.body.innerHTML}var l=n(e),c=n(i),h={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var i=t.getAttribute("href");e=i&&"#"!==i?i.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=l.default(t).css("transition-duration"),i=l.default(t).css("transition-delay"),n=parseFloat(e),o=parseFloat(i);return n||o?(e=e.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(e)+parseFloat(i))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){l.default(t).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},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&&h.isElement(s)?"element":null===(a=s)||void 0===a?""+a:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(r))throw new Error(t.toUpperCase()+': Option "'+n+'" provided type "'+r+'" but expected type "'+o+'".')}var a},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?h.findShadowRoot(t.parentNode):null},jQueryDetection:function(){if(void 0===l.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=l.default.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};h.jQueryDetection(),l.default.fn.emulateTransitionEnd=function(t){var e=this,i=!1;return l.default(this).one(h.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||h.triggerTransitionEnd(e)},t),this},l.default.event.special[h.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(t){if(l.default(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var u="alert",d=l.default.fn[u],f=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){l.default.removeData(this._element,"bs.alert"),this._element=null},e._getRootElement=function(t){var e=h.getSelectorFromElement(t),i=!1;return e&&(i=document.querySelector(e)),i||(i=l.default(t).closest(".alert")[0]),i},e._triggerCloseEvent=function(t){var e=l.default.Event("close.bs.alert");return l.default(t).trigger(e),e},e._removeElement=function(t){var e=this;if(l.default(t).removeClass("show"),l.default(t).hasClass("fade")){var i=h.getTransitionDurationFromElement(t);l.default(t).one(h.TRANSITION_END,function(i){return e._destroyElement(t,i)}).emulateTransitionEnd(i)}else this._destroyElement(t)},e._destroyElement=function(t){l.default(t).detach().trigger("closed.bs.alert").remove()},t._jQueryInterface=function(e){return this.each(function(){var i=l.default(this),n=i.data("bs.alert");n||(n=new t(this),i.data("bs.alert",n)),"close"===e&&n[e](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},s(t,null,[{key:"VERSION",get:function(){return"4.6.0"}}]),t}();l.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',f._handleDismiss(new f)),l.default.fn[u]=f._jQueryInterface,l.default.fn[u].Constructor=f,l.default.fn[u].noConflict=function(){return l.default.fn[u]=d,f._jQueryInterface};var p=l.default.fn.button,g=function(){function t(t){this._element=t,this.shouldAvoidTriggerChange=!1}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,i=l.default(this._element).closest('[data-toggle="buttons"]')[0];if(i){var n=this._element.querySelector('input:not([type="hidden"])');if(n){if("radio"===n.type)if(n.checked&&this._element.classList.contains("active"))t=!1;else{var o=i.querySelector(".active");o&&l.default(o).removeClass("active")}t&&("checkbox"!==n.type&&"radio"!==n.type||(n.checked=!this._element.classList.contains("active")),this.shouldAvoidTriggerChange||l.default(n).trigger("change")),n.focus(),e=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),t&&l.default(this._element).toggleClass("active"))},e.dispose=function(){l.default.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(e,i){return this.each(function(){var n=l.default(this),o=n.data("bs.button");o||(o=new t(this),n.data("bs.button",o)),o.shouldAvoidTriggerChange=i,"toggle"===e&&o[e]()})},s(t,null,[{key:"VERSION",get:function(){return"4.6.0"}}]),t}();l.default(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=t.target,i=e;if(l.default(e).hasClass("btn")||(e=l.default(e).closest(".btn")[0]),!e||e.hasAttribute("disabled")||e.classList.contains("disabled"))t.preventDefault();else{var n=e.querySelector('input:not([type="hidden"])');if(n&&(n.hasAttribute("disabled")||n.classList.contains("disabled")))return void t.preventDefault();"INPUT"!==i.tagName&&"LABEL"===e.tagName||g._jQueryInterface.call(l.default(e),"toggle","INPUT"===i.tagName)}}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=l.default(t.target).closest(".btn")[0];l.default(e).toggleClass("focus",/^focus(in)?$/.test(t.type))}),l.default(window).on("load.bs.button.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,i=t.length;e<i;e++){var n=t[e],o=n.querySelector('input:not([type="hidden"])');o.checked||o.hasAttribute("checked")?n.classList.add("active"):n.classList.remove("active")}for(var s=0,r=(t=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;s<r;s++){var a=t[s];"true"===a.getAttribute("aria-pressed")?a.classList.add("active"):a.classList.remove("active")}}),l.default.fn.button=g._jQueryInterface,l.default.fn.button.Constructor=g,l.default.fn.button.noConflict=function(){return l.default.fn.button=p,g._jQueryInterface};var m="carousel",v=l.default.fn[m],_={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},y={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},w={TOUCH:"touch",PEN:"pen"},b=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide("next")},e.nextWhenVisible=function(){var t=l.default(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide("prev")},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(h.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(".active.carousel-item");var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)l.default(this._element).one("slid.bs.carousel",function(){return e.to(t)});else{if(i===t)return this.pause(),void this.cycle();var n=t>i?"next":"prev";this._slide(n,this._items[t])}},e.dispose=function(){l.default(this._element).off(".bs.carousel"),l.default.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=r({},_,t),h.typeCheckConfig(m,t,y),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&l.default(this._element).on("keydown.bs.carousel",function(e){return t._keydown(e)}),"hover"===this._config.pause&&l.default(this._element).on("mouseenter.bs.carousel",function(e){return t.pause(e)}).on("mouseleave.bs.carousel",function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&w[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){t._pointerEvent&&w[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};l.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",function(t){return t.preventDefault()}),this._pointerEvent?(l.default(this._element).on("pointerdown.bs.carousel",function(t){return e(t)}),l.default(this._element).on("pointerup.bs.carousel",function(t){return i(t)}),this._element.classList.add("pointer-event")):(l.default(this._element).on("touchstart.bs.carousel",function(t){return e(t)}),l.default(this._element).on("touchmove.bs.carousel",function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)}),l.default(this._element).on("touchend.bs.carousel",function(t){return i(t)}))}},e._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()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var i="next"===t,n="prev"===t,o=this._getItemIndex(e),s=this._items.length-1;if((n&&0===o||i&&o===s)&&!this._config.wrap)return e;var r=(o+("prev"===t?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]},e._triggerSlideEvent=function(t,e){var i=this._getItemIndex(t),n=this._getItemIndex(this._element.querySelector(".active.carousel-item")),o=l.default.Event("slide.bs.carousel",{relatedTarget:t,direction:e,from:n,to:i});return l.default(this._element).trigger(o),o},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));l.default(e).removeClass("active");var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&l.default(i).addClass("active")}},e._updateInterval=function(){var t=this._activeElement||this._element.querySelector(".active.carousel-item");if(t){var e=parseInt(t.getAttribute("data-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}},e._slide=function(t,e){var i,n,o,s=this,r=this._element.querySelector(".active.carousel-item"),a=this._getItemIndex(r),c=e||r&&this._getItemByDirection(t,r),u=this._getItemIndex(c),d=Boolean(this._interval);if("next"===t?(i="carousel-item-left",n="carousel-item-next",o="left"):(i="carousel-item-right",n="carousel-item-prev",o="right"),c&&l.default(c).hasClass("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(c,o).isDefaultPrevented()&&r&&c){this._isSliding=!0,d&&this.pause(),this._setActiveIndicatorElement(c),this._activeElement=c;var f=l.default.Event("slid.bs.carousel",{relatedTarget:c,direction:o,from:a,to:u});if(l.default(this._element).hasClass("slide")){l.default(c).addClass(n),h.reflow(c),l.default(r).addClass(i),l.default(c).addClass(i);var p=h.getTransitionDurationFromElement(r);l.default(r).one(h.TRANSITION_END,function(){l.default(c).removeClass(i+" "+n).addClass("active"),l.default(r).removeClass("active "+n+" "+i),s._isSliding=!1,setTimeout(function(){return l.default(s._element).trigger(f)},0)}).emulateTransitionEnd(p)}else l.default(r).removeClass("active"),l.default(c).addClass("active"),this._isSliding=!1,l.default(this._element).trigger(f);d&&this.cycle()}},t._jQueryInterface=function(e){return this.each(function(){var i=l.default(this).data("bs.carousel"),n=r({},_,l.default(this).data());"object"==typeof e&&(n=r({},n,e));var o="string"==typeof e?e:n.slide;if(i||(i=new t(this,n),l.default(this).data("bs.carousel",i)),"number"==typeof e)i.to(e);else if("string"==typeof o){if(void 0===i[o])throw new TypeError('No method named "'+o+'"');i[o]()}else n.interval&&n.ride&&(i.pause(),i.cycle())})},t._dataApiClickHandler=function(e){var i=h.getSelectorFromElement(this);if(i){var n=l.default(i)[0];if(n&&l.default(n).hasClass("carousel")){var o=r({},l.default(n).data(),l.default(this).data()),s=this.getAttribute("data-slide-to");s&&(o.interval=!1),t._jQueryInterface.call(l.default(n),o),s&&l.default(n).data("bs.carousel").to(s),e.preventDefault()}}},s(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return _}}]),t}();l.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",b._dataApiClickHandler),l.default(window).on("load.bs.carousel.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),e=0,i=t.length;e<i;e++){var n=l.default(t[e]);b._jQueryInterface.call(n,n.data())}}),l.default.fn[m]=b._jQueryInterface,l.default.fn[m].Constructor=b,l.default.fn[m].noConflict=function(){return l.default.fn[m]=v,b._jQueryInterface};var C="collapse",x=l.default.fn[C],E={toggle:!0,parent:""},T={toggle:"boolean",parent:"(string|element)"},$=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var i=[].slice.call(document.querySelectorAll('[data-toggle="collapse"]')),n=0,o=i.length;n<o;n++){var s=i[n],r=h.getSelectorFromElement(s),a=[].slice.call(document.querySelectorAll(r)).filter(function(e){return e===t});null!==r&&a.length>0&&(this._selector=r,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){l.default(this._element).hasClass("show")?this.hide():this.show()},e.show=function(){var e,i,n=this;if(!(this._isTransitioning||l.default(this._element).hasClass("show")||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(t){return"string"==typeof n._config.parent?t.getAttribute("data-parent")===n._config.parent:t.classList.contains("collapse")})).length&&(e=null),e&&(i=l.default(e).not(this._selector).data("bs.collapse"))&&i._isTransitioning))){var o=l.default.Event("show.bs.collapse");if(l.default(this._element).trigger(o),!o.isDefaultPrevented()){e&&(t._jQueryInterface.call(l.default(e).not(this._selector),"hide"),i||l.default(e).data("bs.collapse",null));var s=this._getDimension();l.default(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[s]=0,this._triggerArray.length&&l.default(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0);var r="scroll"+(s[0].toUpperCase()+s.slice(1)),a=h.getTransitionDurationFromElement(this._element);l.default(this._element).one(h.TRANSITION_END,function(){l.default(n._element).removeClass("collapsing").addClass("collapse show"),n._element.style[s]="",n.setTransitioning(!1),l.default(n._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(a),this._element.style[s]=this._element[r]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&l.default(this._element).hasClass("show")){var e=l.default.Event("hide.bs.collapse");if(l.default(this._element).trigger(e),!e.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",h.reflow(this._element),l.default(this._element).addClass("collapsing").removeClass("collapse show");var n=this._triggerArray.length;if(n>0)for(var o=0;o<n;o++){var s=this._triggerArray[o],r=h.getSelectorFromElement(s);null!==r&&(l.default([].slice.call(document.querySelectorAll(r))).hasClass("show")||l.default(s).addClass("collapsed").attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[i]="";var a=h.getTransitionDurationFromElement(this._element);l.default(this._element).one(h.TRANSITION_END,function(){t.setTransitioning(!1),l.default(t._element).removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")}).emulateTransitionEnd(a)}}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){l.default.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=r({},E,t)).toggle=Boolean(t.toggle),h.typeCheckConfig(C,t,T),t},e._getDimension=function(){return l.default(this._element).hasClass("width")?"width":"height"},e._getParent=function(){var e,i=this;h.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var n='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',o=[].slice.call(e.querySelectorAll(n));return l.default(o).each(function(e,n){i._addAriaAndCollapsedClass(t._getTargetFromElement(n),[n])}),e},e._addAriaAndCollapsedClass=function(t,e){var i=l.default(t).hasClass("show");e.length&&l.default(e).toggleClass("collapsed",!i).attr("aria-expanded",i)},t._getTargetFromElement=function(t){var e=h.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(e){return this.each(function(){var i=l.default(this),n=i.data("bs.collapse"),o=r({},E,i.data(),"object"==typeof e&&e?e:{});if(!n&&o.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(o.toggle=!1),n||(n=new t(this,o),i.data("bs.collapse",n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},s(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return E}}]),t}();l.default(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=l.default(this),i=h.getSelectorFromElement(this),n=[].slice.call(document.querySelectorAll(i));l.default(n).each(function(){var t=l.default(this),i=t.data("bs.collapse")?"toggle":e.data();$._jQueryInterface.call(t,i)})}),l.default.fn[C]=$._jQueryInterface,l.default.fn[C].Constructor=$,l.default.fn[C].noConflict=function(){return l.default.fn[C]=x,$._jQueryInterface};var S="dropdown",k=l.default.fn[S],D=new RegExp("38|40|27"),A={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},j={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},N=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=t.prototype;return e.toggle=function(){if(!this._element.disabled&&!l.default(this._element).hasClass("disabled")){var e=l.default(this._menu).hasClass("show");t._clearMenus(),e||this.show(!0)}},e.show=function(e){if(void 0===e&&(e=!1),!(this._element.disabled||l.default(this._element).hasClass("disabled")||l.default(this._menu).hasClass("show"))){var i={relatedTarget:this._element},n=l.default.Event("show.bs.dropdown",i),o=t._getParentFromElement(this._element);if(l.default(o).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar&&e){if(void 0===c.default)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var s=this._element;"parent"===this._config.reference?s=o:h.isElement(this._config.reference)&&(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])),"scrollParent"!==this._config.boundary&&l.default(o).addClass("position-static"),this._popper=new c.default(s,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===l.default(o).closest(".navbar-nav").length&&l.default(document.body).children().on("mouseover",null,l.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),l.default(this._menu).toggleClass("show"),l.default(o).toggleClass("show").trigger(l.default.Event("shown.bs.dropdown",i))}}},e.hide=function(){if(!this._element.disabled&&!l.default(this._element).hasClass("disabled")&&l.default(this._menu).hasClass("show")){var e={relatedTarget:this._element},i=l.default.Event("hide.bs.dropdown",e),n=t._getParentFromElement(this._element);l.default(n).trigger(i),i.isDefaultPrevented()||(this._popper&&this._popper.destroy(),l.default(this._menu).toggleClass("show"),l.default(n).toggleClass("show").trigger(l.default.Event("hidden.bs.dropdown",e)))}},e.dispose=function(){l.default.removeData(this._element,"bs.dropdown"),l.default(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;l.default(this._element).on("click.bs.dropdown",function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},e._getConfig=function(t){return t=r({},this.constructor.Default,l.default(this._element).data(),t),h.typeCheckConfig(S,t,this.constructor.DefaultType),t},e._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(".dropdown-menu"))}return this._menu},e._getPlacement=function(){var t=l.default(this._element.parentNode),e="bottom-start";return t.hasClass("dropup")?e=l.default(this._menu).hasClass("dropdown-menu-right")?"top-end":"top-start":t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":l.default(this._menu).hasClass("dropdown-menu-right")&&(e="bottom-end"),e},e._detectNavbar=function(){return l.default(this._element).closest(".navbar").length>0},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),r({},t,this._config.popperConfig)},t._jQueryInterface=function(e){return this.each(function(){var i=l.default(this).data("bs.dropdown");if(i||(i=new t(this,"object"==typeof e?e:null),l.default(this).data("bs.dropdown",i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var i=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),n=0,o=i.length;n<o;n++){var s=t._getParentFromElement(i[n]),r=l.default(i[n]).data("bs.dropdown"),a={relatedTarget:i[n]};if(e&&"click"===e.type&&(a.clickEvent=e),r){var c=r._menu;if(l.default(s).hasClass("show")&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&l.default.contains(s,e.target))){var h=l.default.Event("hide.bs.dropdown",a);l.default(s).trigger(h),h.isDefaultPrevented()||("ontouchstart"in document.documentElement&&l.default(document.body).children().off("mouseover",null,l.default.noop),i[n].setAttribute("aria-expanded","false"),r._popper&&r._popper.destroy(),l.default(c).removeClass("show"),l.default(s).removeClass("show").trigger(l.default.Event("hidden.bs.dropdown",a)))}}}},t._getParentFromElement=function(t){var e,i=h.getSelectorFromElement(t);return i&&(e=document.querySelector(i)),e||t.parentNode},t._dataApiKeydownHandler=function(e){if(!(/input|textarea/i.test(e.target.tagName)?32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||l.default(e.target).closest(".dropdown-menu").length):!D.test(e.which))&&!this.disabled&&!l.default(this).hasClass("disabled")){var i=t._getParentFromElement(this),n=l.default(i).hasClass("show");if(n||27!==e.which){if(e.preventDefault(),e.stopPropagation(),!n||27===e.which||32===e.which)return 27===e.which&&l.default(i.querySelector('[data-toggle="dropdown"]')).trigger("focus"),void l.default(this).trigger("click");var o=[].slice.call(i.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(t){return l.default(t).is(":visible")});if(0!==o.length){var s=o.indexOf(e.target);38===e.which&&s>0&&s--,40===e.which&&s<o.length-1&&s++,s<0&&(s=0),o[s].focus()}}}},s(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return A}},{key:"DefaultType",get:function(){return j}}]),t}();l.default(document).on("keydown.bs.dropdown.data-api",'[data-toggle="dropdown"]',N._dataApiKeydownHandler).on("keydown.bs.dropdown.data-api",".dropdown-menu",N._dataApiKeydownHandler).on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api",N._clearMenus).on("click.bs.dropdown.data-api",'[data-toggle="dropdown"]',function(t){t.preventDefault(),t.stopPropagation(),N._jQueryInterface.call(l.default(this),"toggle")}).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}),l.default.fn[S]=N._jQueryInterface,l.default.fn[S].Constructor=N,l.default.fn[S].noConflict=function(){return l.default.fn[S]=k,N._jQueryInterface};var O=l.default.fn.modal,I={backdrop:!0,keyboard:!0,focus:!0,show:!0},z={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},L=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){l.default(this._element).hasClass("fade")&&(this._isTransitioning=!0);var i=l.default.Event("show.bs.modal",{relatedTarget:t});l.default(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),l.default(this._element).on("click.dismiss.bs.modal",'[data-dismiss="modal"]',function(t){return e.hide(t)}),l.default(this._dialog).on("mousedown.dismiss.bs.modal",function(){l.default(e._element).one("mouseup.dismiss.bs.modal",function(t){l.default(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},e.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var i=l.default.Event("hide.bs.modal");if(l.default(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var n=l.default(this._element).hasClass("fade");if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),l.default(document).off("focusin.bs.modal"),l.default(this._element).removeClass("show"),l.default(this._element).off("click.dismiss.bs.modal"),l.default(this._dialog).off("mousedown.dismiss.bs.modal"),n){var o=h.getTransitionDurationFromElement(this._element);l.default(this._element).one(h.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(o)}else this._hideModal()}}},e.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return l.default(t).off(".bs.modal")}),l.default(document).off("focusin.bs.modal"),l.default.removeData(this._element,"bs.modal"),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=r({},I,t),h.typeCheckConfig("modal",t,z),t},e._triggerBackdropTransition=function(){var t=this,e=l.default.Event("hidePrevented.bs.modal");if(l.default(this._element).trigger(e),!e.isDefaultPrevented()){var i=this._element.scrollHeight>document.documentElement.clientHeight;i||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var n=h.getTransitionDurationFromElement(this._dialog);l.default(this._element).off(h.TRANSITION_END),l.default(this._element).one(h.TRANSITION_END,function(){t._element.classList.remove("modal-static"),i||l.default(t._element).one(h.TRANSITION_END,function(){t._element.style.overflowY=""}).emulateTransitionEnd(t._element,n)}).emulateTransitionEnd(n),this._element.focus()}},e._showElement=function(t){var e=this,i=l.default(this._element).hasClass("fade"),n=this._dialog?this._dialog.querySelector(".modal-body"):null;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.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),l.default(this._dialog).hasClass("modal-dialog-scrollable")&&n?n.scrollTop=0:this._element.scrollTop=0,i&&h.reflow(this._element),l.default(this._element).addClass("show"),this._config.focus&&this._enforceFocus();var o=l.default.Event("shown.bs.modal",{relatedTarget:t}),s=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,l.default(e._element).trigger(o)};if(i){var r=h.getTransitionDurationFromElement(this._dialog);l.default(this._dialog).one(h.TRANSITION_END,s).emulateTransitionEnd(r)}else s()},e._enforceFocus=function(){var t=this;l.default(document).off("focusin.bs.modal").on("focusin.bs.modal",function(e){document!==e.target&&t._element!==e.target&&0===l.default(t._element).has(e.target).length&&t._element.focus()})},e._setEscapeEvent=function(){var t=this;this._isShown?l.default(this._element).on("keydown.dismiss.bs.modal",function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()}):this._isShown||l.default(this._element).off("keydown.dismiss.bs.modal")},e._setResizeEvent=function(){var t=this;this._isShown?l.default(window).on("resize.bs.modal",function(e){return t.handleUpdate(e)}):l.default(window).off("resize.bs.modal")},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){l.default(document.body).removeClass("modal-open"),t._resetAdjustments(),t._resetScrollbar(),l.default(t._element).trigger("hidden.bs.modal")})},e._removeBackdrop=function(){this._backdrop&&(l.default(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,i=l.default(this._element).hasClass("fade")?"fade":"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),l.default(this._backdrop).appendTo(document.body),l.default(this._element).on("click.dismiss.bs.modal",function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._triggerBackdropTransition():e.hide())}),i&&h.reflow(this._backdrop),l.default(this._backdrop).addClass("show"),!t)return;if(!i)return void t();var n=h.getTransitionDurationFromElement(this._backdrop);l.default(this._backdrop).one(h.TRANSITION_END,t).emulateTransitionEnd(n)}else if(!this._isShown&&this._backdrop){l.default(this._backdrop).removeClass("show");var o=function(){e._removeBackdrop(),t&&t()};if(l.default(this._element).hasClass("fade")){var s=h.getTransitionDurationFromElement(this._backdrop);l.default(this._backdrop).one(h.TRANSITION_END,o).emulateTransitionEnd(s)}else o()}else t&&t()},e._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")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),i=[].slice.call(document.querySelectorAll(".sticky-top"));l.default(e).each(function(e,i){var n=i.style.paddingRight,o=l.default(i).css("padding-right");l.default(i).data("padding-right",n).css("padding-right",parseFloat(o)+t._scrollbarWidth+"px")}),l.default(i).each(function(e,i){var n=i.style.marginRight,o=l.default(i).css("margin-right");l.default(i).data("margin-right",n).css("margin-right",parseFloat(o)-t._scrollbarWidth+"px")});var n=document.body.style.paddingRight,o=l.default(document.body).css("padding-right");l.default(document.body).data("padding-right",n).css("padding-right",parseFloat(o)+this._scrollbarWidth+"px")}l.default(document.body).addClass("modal-open")},e._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top"));l.default(t).each(function(t,e){var i=l.default(e).data("padding-right");l.default(e).removeData("padding-right"),e.style.paddingRight=i||""});var e=[].slice.call(document.querySelectorAll(".sticky-top"));l.default(e).each(function(t,e){var i=l.default(e).data("margin-right");void 0!==i&&l.default(e).css("margin-right",i).removeData("margin-right")});var i=l.default(document.body).data("padding-right");l.default(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(e,i){return this.each(function(){var n=l.default(this).data("bs.modal"),o=r({},I,l.default(this).data(),"object"==typeof e&&e?e:{});if(n||(n=new t(this,o),l.default(this).data("bs.modal",n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e](i)}else o.show&&n.show(i)})},s(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return I}}]),t}();l.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e,i=this,n=h.getSelectorFromElement(this);n&&(e=document.querySelector(n));var o=l.default(e).data("bs.modal")?"toggle":r({},l.default(e).data(),l.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=l.default(e).one("show.bs.modal",function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",function(){l.default(i).is(":visible")&&i.focus()})});L._jQueryInterface.call(l.default(e),o,this)}),l.default.fn.modal=L._jQueryInterface,l.default.fn.modal.Constructor=L,l.default.fn.modal.noConflict=function(){return l.default.fn.modal=O,L._jQueryInterface};var H=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],P=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,M=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,R="tooltip",F=l.default.fn[R],B=new RegExp("(^|\\s)bs-tooltip\\S+","g"),W=["sanitize","whiteList","sanitizeFn"],Q={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},q={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},U={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:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},V={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Y=function(){function t(t,e){if(void 0===c.default)throw new TypeError("Bootstrap's tooltips require Popper (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 e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,i=l.default(t.currentTarget).data(e);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),l.default(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(l.default(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),l.default.removeData(this.element,this.constructor.DATA_KEY),l.default(this.element).off(this.constructor.EVENT_KEY),l.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&l.default(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},e.show=function(){var t=this;if("none"===l.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e=l.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){l.default(this.element).trigger(e);var i=h.findShadowRoot(this.element),n=l.default.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!n)return;var o=this.getTipElement(),s=h.getUID(this.constructor.NAME);o.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&l.default(o).addClass("fade");var r="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(r);this.addAttachmentClass(a);var u=this._getContainer();l.default(o).data(this.constructor.DATA_KEY,this),l.default.contains(this.element.ownerDocument.documentElement,this.tip)||l.default(o).appendTo(u),l.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new c.default(this.element,o,this._getPopperConfig(a)),l.default(o).addClass("show"),l.default(o).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&l.default(document.body).children().on("mouseover",null,l.default.noop);var d=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,l.default(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)};if(l.default(this.tip).hasClass("fade")){var f=h.getTransitionDurationFromElement(this.tip);l.default(this.tip).one(h.TRANSITION_END,d).emulateTransitionEnd(f)}else d()}},e.hide=function(t){var e=this,i=this.getTipElement(),n=l.default.Event(this.constructor.Event.HIDE),o=function(){"show"!==e._hoverState&&i.parentNode&&i.parentNode.removeChild(i),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),l.default(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(l.default(this.element).trigger(n),!n.isDefaultPrevented()){if(l.default(i).removeClass("show"),"ontouchstart"in document.documentElement&&l.default(document.body).children().off("mouseover",null,l.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,l.default(this.tip).hasClass("fade")){var s=h.getTransitionDurationFromElement(i);l.default(i).one(h.TRANSITION_END,o).emulateTransitionEnd(s)}else o();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){l.default(this.getTipElement()).addClass("bs-tooltip-"+t)},e.getTipElement=function(){return this.tip=this.tip||l.default(this.config.template)[0],this.tip},e.setContent=function(){var t=this.getTipElement();this.setElementContent(l.default(t.querySelectorAll(".tooltip-inner")),this.getTitle()),l.default(t).removeClass("fade show")},e.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=a(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?l.default(e).parent().is(t)||t.empty().append(e):t.text(l.default(e).text())},e.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},e._getPopperConfig=function(t){var e=this;return r({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:h.isElement(this.config.container)?l.default(this.config.container):l.default(document).find(this.config.container)},e._getAttachment=function(t){return q[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)l.default(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if("manual"!==e){var i="hover"===e?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,n="hover"===e?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;l.default(t.element).on(i,t.config.selector,function(e){return t._enter(e)}).on(n,t.config.selector,function(e){return t._leave(e)})}}),this._hideModalHandler=function(){t.element&&t.hide()},l.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._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",""))},e._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||l.default(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),l.default(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),l.default(e.getTipElement()).hasClass("show")||"show"===e._hoverState?e._hoverState="show":(clearTimeout(e._timeout),e._hoverState="show",e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){"show"===e._hoverState&&e.show()},e.config.delay.show):e.show())},e._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||l.default(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),l.default(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?"focus":"hover"]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){var e=l.default(this.element).data();return Object.keys(e).forEach(function(t){-1!==W.indexOf(t)&&delete e[t]}),"number"==typeof(t=r({},this.constructor.Default,e,"object"==typeof t&&t?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()),h.typeCheckConfig(R,t,this.constructor.DefaultType),t.sanitize&&(t.template=a(t.template,t.whiteList,t.sanitizeFn)),t},e._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},e._cleanTipClass=function(){var t=l.default(this.getTipElement()),e=t.attr("class").match(B);null!==e&&e.length&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(l.default(t).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each(function(){var i=l.default(this),n=i.data("bs.tooltip"),o="object"==typeof e&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,o),i.data("bs.tooltip",n)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},s(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return U}},{key:"NAME",get:function(){return R}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return V}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Q}}]),t}();l.default.fn[R]=Y._jQueryInterface,l.default.fn[R].Constructor=Y,l.default.fn[R].noConflict=function(){return l.default.fn[R]=F,Y._jQueryInterface};var X="popover",K=l.default.fn[X],Z=new RegExp("(^|\\s)bs-popover\\S+","g"),G=r({},Y.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>'}),J=r({},Y.DefaultType,{content:"(string|element|function)"}),tt={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},et=function(t){function e(){return t.apply(this,arguments)||this}var i,n;n=t,(i=e).prototype=Object.create(n.prototype),i.prototype.constructor=i,i.__proto__=n;var o=e.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){l.default(this.getTipElement()).addClass("bs-popover-"+t)},o.getTipElement=function(){return this.tip=this.tip||l.default(this.config.template)[0],this.tip},o.setContent=function(){var t=l.default(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=l.default(this.getTipElement()),e=t.attr("class").match(Z);null!==e&&e.length>0&&t.removeClass(e.join(""))},e._jQueryInterface=function(t){return this.each(function(){var i=l.default(this).data("bs.popover"),n="object"==typeof t?t:null;if((i||!/dispose|hide/.test(t))&&(i||(i=new e(this,n),l.default(this).data("bs.popover",i)),"string"==typeof t)){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},s(e,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return G}},{key:"NAME",get:function(){return X}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return tt}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return J}}]),e}(Y);l.default.fn[X]=et._jQueryInterface,l.default.fn[X].Constructor=et,l.default.fn[X].noConflict=function(){return l.default.fn[X]=K,et._jQueryInterface};var it="scrollspy",nt=l.default.fn[it],ot={offset:10,method:"auto",target:""},st={offset:"number",method:"string",target:"(string|element)"},rt=function(){function t(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+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,l.default(this._scrollElement).on("scroll.bs.scrollspy",function(t){return i._process(t)}),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?e:this._config.method,n="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var e,o=h.getSelectorFromElement(t);if(o&&(e=document.querySelector(o)),e){var s=e.getBoundingClientRect();if(s.width||s.height)return[l.default(e)[i]().top+n,o]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function(){l.default.removeData(this._element,"bs.scrollspy"),l.default(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=r({},ot,"object"==typeof t&&t?t:{})).target&&h.isElement(t.target)){var e=l.default(t.target).attr("id");e||(e=h.getUID(it),l.default(t.target).attr("id",e)),t.target="#"+e}return h.typeCheckConfig(it,t,st),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._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(),t>=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>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])}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),i=l.default([].slice.call(document.querySelectorAll(e.join(","))));i.hasClass("dropdown-item")?(i.closest(".dropdown").find(".dropdown-toggle").addClass("active"),i.addClass("active")):(i.addClass("active"),i.parents(".nav, .list-group").prev(".nav-link, .list-group-item").addClass("active"),i.parents(".nav, .list-group").prev(".nav-item").children(".nav-link").addClass("active")),l.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains("active")}).forEach(function(t){return t.classList.remove("active")})},t._jQueryInterface=function(e){return this.each(function(){var i=l.default(this).data("bs.scrollspy");if(i||(i=new t(this,"object"==typeof e&&e),l.default(this).data("bs.scrollspy",i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},s(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return ot}}]),t}();l.default(window).on("load.bs.scrollspy.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),e=t.length;e--;){var i=l.default(t[e]);rt._jQueryInterface.call(i,i.data())}}),l.default.fn[it]=rt._jQueryInterface,l.default.fn[it].Constructor=rt,l.default.fn[it].noConflict=function(){return l.default.fn[it]=nt,rt._jQueryInterface};var at=l.default.fn.tab,lt=function(){function t(t){this._element=t}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&l.default(this._element).hasClass("active")||l.default(this._element).hasClass("disabled"))){var e,i,n=l.default(this._element).closest(".nav, .list-group")[0],o=h.getSelectorFromElement(this._element);if(n){var s="UL"===n.nodeName||"OL"===n.nodeName?"> li > .active":".active";i=(i=l.default.makeArray(l.default(n).find(s)))[i.length-1]}var r=l.default.Event("hide.bs.tab",{relatedTarget:this._element}),a=l.default.Event("show.bs.tab",{relatedTarget:i});if(i&&l.default(i).trigger(r),l.default(this._element).trigger(a),!a.isDefaultPrevented()&&!r.isDefaultPrevented()){o&&(e=document.querySelector(o)),this._activate(this._element,n);var c=function(){var e=l.default.Event("hidden.bs.tab",{relatedTarget:t._element}),n=l.default.Event("shown.bs.tab",{relatedTarget:i});l.default(i).trigger(e),l.default(t._element).trigger(n)};e?this._activate(e,e.parentNode,c):c()}}},e.dispose=function(){l.default.removeData(this._element,"bs.tab"),this._element=null},e._activate=function(t,e,i){var n=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?l.default(e).children(".active"):l.default(e).find("> li > .active"))[0],s=i&&o&&l.default(o).hasClass("fade"),r=function(){return n._transitionComplete(t,o,i)};if(o&&s){var a=h.getTransitionDurationFromElement(o);l.default(o).removeClass("show").one(h.TRANSITION_END,r).emulateTransitionEnd(a)}else r()},e._transitionComplete=function(t,e,i){if(e){l.default(e).removeClass("active");var n=l.default(e.parentNode).find("> .dropdown-menu .active")[0];n&&l.default(n).removeClass("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(l.default(t).addClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),h.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&l.default(t.parentNode).hasClass("dropdown-menu")){var o=l.default(t).closest(".dropdown")[0];if(o){var s=[].slice.call(o.querySelectorAll(".dropdown-toggle"));l.default(s).addClass("active")}t.setAttribute("aria-expanded",!0)}i&&i()},t._jQueryInterface=function(e){return this.each(function(){var i=l.default(this),n=i.data("bs.tab");if(n||(n=new t(this),i.data("bs.tab",n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},s(t,null,[{key:"VERSION",get:function(){return"4.6.0"}}]),t}();l.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),lt._jQueryInterface.call(l.default(this),"show")}),l.default.fn.tab=lt._jQueryInterface,l.default.fn.tab.Constructor=lt,l.default.fn.tab.noConflict=function(){return l.default.fn.tab=at,lt._jQueryInterface};var ct=l.default.fn.toast,ht={animation:"boolean",autohide:"boolean",delay:"number"},ut={animation:!0,autohide:!0,delay:500},dt=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var e=t.prototype;return e.show=function(){var t=this,e=l.default.Event("show.bs.toast");if(l.default(this._element).trigger(e),!e.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var i=function(){t._element.classList.remove("showing"),t._element.classList.add("show"),l.default(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout(function(){t.hide()},t._config.delay))};if(this._element.classList.remove("hide"),h.reflow(this._element),this._element.classList.add("showing"),this._config.animation){var n=h.getTransitionDurationFromElement(this._element);l.default(this._element).one(h.TRANSITION_END,i).emulateTransitionEnd(n)}else i()}},e.hide=function(){if(this._element.classList.contains("show")){var t=l.default.Event("hide.bs.toast");l.default(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},e.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),l.default(this._element).off("click.dismiss.bs.toast"),l.default.removeData(this._element,"bs.toast"),this._element=null,this._config=null},e._getConfig=function(t){return t=r({},ut,l.default(this._element).data(),"object"==typeof t&&t?t:{}),h.typeCheckConfig("toast",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;l.default(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',function(){return t.hide()})},e._close=function(){var t=this,e=function(){t._element.classList.add("hide"),l.default(t._element).trigger("hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){var i=h.getTransitionDurationFromElement(this._element);l.default(this._element).one(h.TRANSITION_END,e).emulateTransitionEnd(i)}else e()},e._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(e){return this.each(function(){var i=l.default(this),n=i.data("bs.toast");if(n||(n=new t(this,"object"==typeof e&&e),i.data("bs.toast",n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e](this)}})},s(t,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"DefaultType",get:function(){return ht}},{key:"Default",get:function(){return ut}}]),t}();l.default.fn.toast=dt._jQueryInterface,l.default.fn.toast.Constructor=dt,l.default.fn.toast.noConflict=function(){return l.default.fn.toast=ct,dt._jQueryInterface},t.Alert=f,t.Button=g,t.Carousel=b,t.Collapse=$,t.Dropdown=N,t.Modal=L,t.Popover=et,t.Scrollspy=rt,t.Tab=lt,t.Toast=dt,t.Tooltip=Y,t.Util=h,Object.defineProperty(t,"__esModule",{value:!0})}),function(t,e,i,n){function o(e,i){this.settings=null,this.options=t.extend({},o.Defaults,i),this.$element=t(e),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"]}},t.each(["onResize","onThrottledResize"],t.proxy(function(e,i){this._handlers[i]=t.proxy(this[i],this)},this)),t.each(o.Plugins,t.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),t.each(o.Workers,t.proxy(function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})},this)),this.setup(),this.initialize()}o.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},o.Width={Default:"default",Inner:"inner",Outer:"outer"},o.Type={Event:"event",State:"state"},o.Plugins={},o.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=i>1||t.items.merge,s[n]=o?e*i:this._items[n].width();this._widths=s}},{filter:["items","settings"],run:function(){var e=[],i=this._items,n=this.settings,o=Math.max(2*n.items,4),s=2*Math.ceil(i.length/2),r=n.loop&&i.length?n.rewind?o:Math.max(o,s):0,a="",l="";for(r/=2;r>0;)e.push(this.normalize(e.length/2,!0)),a+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),l=i[e[e.length-1]][0].outerHTML+l,r-=1;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(l).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")}}],o.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(t("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},o.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");if(e.length)return this._items=e.get().map(function(e){return t(e)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},o.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var t,e,i;t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:n,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t)}this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},o.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},o.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,n=-1,o=null;i?(t.each(i,function(t){t<=e&&t>n&&(n=Number(t))}),"function"==typeof(o=t.extend({},this.options,i[n])).stagePadding&&(o.stagePadding=o.stagePadding()),delete o.responsive,o.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):o=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:o}}),this._breakpoint=n,this.settings=o,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},o.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},o.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},o.prototype.update=function(){for(var e=0,i=this._pipe.length,n=t.proxy(function(t){return this[t]},this._invalidated),o={};e<i;)(this._invalidated.all||t.grep(this._pipe[e].filter,n).length>0)&&this._pipe[e].run(o),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},o.prototype.width=function(t){switch(t=t||o.Width.Default){case o.Width.Inner:case o.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},o.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")},o.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},o.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},o.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.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",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},o.prototype.onDragStart=function(e){var n=null;3!==e.which&&(t.support.transform?(n=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),n={x:n[16===n.length?12:4],y:n[16===n.length?13:5]}):(n=this.$stage.position(),n={x:this.settings.rtl?n.left+this.$stage.width()-this.width()+this.settings.margin:n.left,y:n.top}),this.is("animating")&&(t.support.transform?this.animate(n.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=n,this._drag.stage.current=n,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy(function(e){var n=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(n.x)<Math.abs(n.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},o.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))},o.prototype.onDragEnd=function(e){var n=this.difference(this._drag.pointer,this.pointer(e)),o=this._drag.stage.current,s=n.x>0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==n.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(o.x,0!==n.x?s:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=s,(Math.abs(n.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},o.prototype.closest=function(e,i){var o=-1,s=this.width(),r=this.coordinates();return this.settings.freeDrag||t.each(r,t.proxy(function(t,a){return"left"===i&&e>a-30&&e<a+30?o=t:"right"===i&&e>a-s-30&&e<a-s+30?o=t+1:this.op(e,"<",a)&&this.op(e,">",r[t+1]!==n?r[t+1]:a-s)&&(o="left"===i?t+1:t),-1===o},this)),this.settings.loop||(this.op(e,">",r[this.minimum()])?o=e=this.minimum():this.op(e,"<",r[this.maximum()])&&(o=e=this.maximum())),o},o.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},o.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},o.prototype.current=function(t){if(t===n)return this._current;if(0===this._items.length)return n;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==n&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},o.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,function(t,e){return e})},o.prototype.reset=function(t){(t=this.normalize(t))!==n&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},o.prototype.normalize=function(t,e){var i=this._items.length,o=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=n:(t<0||t>=i+o)&&(t=((t-o/2)%i+i)%i+o/2),t},o.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},o.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--&&!((i+=this._items[e].width()+this.settings.margin)>n););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)},o.prototype.minimum=function(t){return t?0:this._clones.length/2},o.prototype.items=function(t){return t===n?this._items.slice():(t=this.normalize(t,!0),this._items[t])},o.prototype.mergers=function(t){return t===n?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},o.prototype.clones=function(e){var i=this._clones.length/2,o=i+this._items.length,s=function(t){return t%2==0?o+t/2:i-(t+1)/2};return e===n?t.map(this._clones,function(t,e){return s(e)}):t.map(this._clones,function(t,i){return t===e?s(i):null})},o.prototype.speed=function(t){return t!==n&&(this._speed=t),this._speed},o.prototype.coordinates=function(e){var i,o=1,s=e-1;return e===n?t.map(this._coordinates,t.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(o=-1,s=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[s]||0))/2*o):i=this._coordinates[s]||0,i=Math.ceil(i))},o.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)},o.prototype.to=function(t,e){var i=this.current(),n=null,o=t-this.relative(i),s=(o>0)-(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),t=i+o,(n=((t-a)%r+r)%r+a)!==t&&n-o<=l&&n-o>0&&(i=n-o,t=n,this.reset(i))):this.settings.rewind?(l+=1,t=(t%l+l)%l):t=Math.max(a,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.isVisible()&&this.update()},o.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},o.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},o.prototype.onTransitionEnd=function(t){if(t!==n&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},o.prototype.viewport=function(){var n;return this.options.responsiveBaseElement!==e?n=t(this.options.responsiveBaseElement).width():e.innerWidth?n=e.innerWidth:i.documentElement&&i.documentElement.clientWidth?n=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),n},o.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter(function(){return 1===this.nodeType}).each(t.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")},o.prototype.add=function(e,i){var o=this.relative(this._current);i=i===n?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[o]&&this.reset(this._items[o].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},o.prototype.remove=function(t){(t=this.normalize(t,!0))!==n&&(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}))},o.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy(function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy(function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))},o.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize));for(var n in this._plugins)this._plugins[n].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},o.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?t>i:t<i;case">":return n?t<i:t>i;case">=":return n?t<=i:t>=i;case"<=":return n?t>=i:t<=i}},o.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},o.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},o.prototype.trigger=function(e,i,n,s,r){var a={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,n],function(t){return t}).join("-").toLowerCase()),c=t.Event([e,"owl",n||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,i));return this._supress[e]||(t.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(c)}),this.register({type:o.Type.Event,name:e}),this.$element.trigger(c),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,c)),c},o.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]===n&&(this._states.current[e]=0),this._states.current[e]++},this))},o.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]--},this))},o.prototype.register=function(e){if(e.type===o.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===o.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy(function(i,n){return t.inArray(i,this._states.tags[e.name])===n},this)))},o.prototype.suppress=function(e){t.each(e,t.proxy(function(t,e){this._supress[e]=!0},this))},o.prototype.release=function(e){t.each(e,t.proxy(function(t,e){delete this._supress[e]},this))},o.prototype.pointer=function(t){var i={x:null,y:null};return t=t.originalEvent||t||e.event,(t=t.touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},o.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},o.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=t(this),s=n.data("owl.carousel");s||(s=new o(this,"object"==typeof e&&e),n.data("owl.carousel",s),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,i){s.register({type:o.Type.Event,name:i}),s.$element.on(i+".owl.carousel.core",t.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),s[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},s))})),"string"==typeof e&&"_"!==e.charAt(0)&&s[e].apply(s,i)})},t.fn.owlCarousel.Constructor=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.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.isVisible(),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},o.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},o.prototype.destroy=function(){var t,i;e.clearInterval(this._interval);for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var i=this._core.settings,n=i.center&&Math.ceil(i.items/2)||i.items,o=i.center&&-1*n||0,s=(e.property&&void 0!==e.property.value?e.property.value:this._core.current())+o,r=this._core.clones().length,a=t.proxy(function(t,e){this.load(e)},this);for(i.lazyLoadEager>0&&(n+=i.lazyLoadEager,i.loop&&(s-=i.lazyLoadEager,n++));o++<n;)this.load(r/2+this._core.relative(s)),r&&t.each(this._core.clones(this._core.relative(s)),a),s++}},this)},this._core.options=t.extend({},o.Defaults,this._core.options),this._core.$element.on(this._handlers)};o.Defaults={lazyLoad:!1,lazyLoadEager:0},o.prototype.load=function(i){var n=this._core.$stage.children().eq(i),o=n&&n.find(".owl-lazy");!o||t.inArray(n.get(0),this._loaded)>-1||(o.each(t.proxy(function(i,n){var o,s=t(n),r=e.devicePixelRatio>1&&s.attr("data-src-retina")||s.attr("data-src")||s.attr("data-srcset");this._core.trigger("load",{element:s,url:r},"lazy"),s.is("img")?s.one("load.owl.lazy",t.proxy(function(){s.css("opacity",1),this._core.trigger("loaded",{element:s,url:r},"lazy")},this)).attr("src",r):s.is("source")?s.one("load.owl.lazy",t.proxy(function(){this._core.trigger("loaded",{element:s,url:r},"lazy")},this)).attr("srcset",r):(o=new Image,o.onload=t.proxy(function(){s.css({"background-image":'url("'+r+'")',opacity:"1"}),this._core.trigger("loaded",{element:s,url:r},"lazy")},this),o.src=r)},this)),this._loaded.push(n.get(0)))},o.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)},t.fn.owlCarousel.Constructor.Plugins.Lazy=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function(i){this._core=i,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()},this),"loaded.owl.lazy":t.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=t.extend({},o.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var n=this;t(e).on("load",function(){n._core.settings.autoHeight&&n.update()}),t(e).resize(function(){n._core.settings.autoHeight&&(null!=n._intervalId&&clearTimeout(n._intervalId),n._intervalId=setTimeout(function(){n.update()},250))})};o.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},o.prototype.update=function(){var e=this._core._current,i=e+this._core.settings.items,n=this._core.settings.lazyLoad,o=this._core.$stage.children().toArray().slice(e,i),s=[],r=0;t.each(o,function(e,i){s.push(t(i).height())}),(r=Math.max.apply(null,s))<=1&&n&&this._previousHeight&&(r=this._previousHeight),this._previousHeight=r,this._core.$stage.parent().height(r).addClass(this._core.settings.autoHeightClass)},o.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)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}},this)},this._core.options=t.extend({},o.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy(function(t){this.play(t)},this))};o.Defaults={video:!1,videoHeight:!1,videoWidth:!1},o.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((n=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(n[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(n[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[r]={type:i,id:n,width:o,height:s},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},o.prototype.thumbnail=function(e,i){var n,o,s,r=i.width&&i.height?"width:"+i.width+"px;height:"+i.height+"px;":"",a=e.find("img"),l="src",c="",h=this._core.settings,u=function(i){o='<div class="owl-video-play-icon"></div>',n=h.lazyLoad?t("<div/>",{class:"owl-video-tn "+c,srcType:i}):t("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),e.after(n),e.after(o)};if(e.wrap(t("<div/>",{class:"owl-video-wrapper",style:r})),this._core.settings.lazyLoad&&(l="data-src",c="owl-lazy"),a.length)return u(a.attr(l)),a.remove(),!1;"youtube"===i.type?(s="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",u(s)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t[0].thumbnail_large,u(s)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t.framegrab_url,u(s)}})},o.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")},o.prototype.play=function(e){var i,n=t(e.target).closest("."+this._core.settings.itemClass),o=this._videos[n.attr("data-video")],s=o.width||"100%",r=o.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),n=this._core.items(this._core.relative(n.index())),this._core.reset(n.index()),(i=t('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",r),i.attr("width",s),"youtube"===o.type?i.attr("src","//www.youtube.com/embed/"+o.id+"?autoplay=1&rel=0&v="+o.id):"vimeo"===o.type?i.attr("src","//player.vimeo.com/video/"+o.id+"?autoplay=1"):"vzaar"===o.type&&i.attr("src","//view.vzaar.com/"+o.id+"/player?autoplay=true"),t(i).wrap('<div class="owl-video-frame" />').insertAfter(n.find(".owl-video")),this._playing=n.addClass("owl-video-playing"))},o.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},o.prototype.destroy=function(){var t,e;this._core.$element.off("click.owl.video");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)},t.fn.owlCarousel.Constructor.Plugins.Video=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function(e){this.core=e,this.core.options=t.extend({},o.Defaults,this.core.options),this.swapping=!0,this.previous=n,this.next=n,this.handlers={"change.owl.carousel":t.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":t.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":t.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};o.Defaults={animateOut:!1,animateIn:!1},o.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),o=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(r)),s&&o.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(s))}},o.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},o.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)},t.fn.owlCarousel.Constructor.Plugins.Animate=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":t.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":t.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":t.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":t.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},o.Defaults,this._core.options)};o.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},o.prototype._next=function(n){this._call=e.setTimeout(t.proxy(this._next,this,n),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplaySpeed)},o.prototype.read=function(){return(new Date).getTime()-this._time},o.prototype.play=function(i,n){var o;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,o=Math.min(this._time%(this._timeout||i),i),this._paused?(this._time=this.read(),this._paused=!1):e.clearTimeout(this._call),this._time+=this.read()%i-o,this._timeout=i,this._call=e.setTimeout(t.proxy(this._next,this,n),i-o)},o.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,e.clearTimeout(this._call),this._core.leave("rotating"))},o.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,e.clearTimeout(this._call))},o.prototype.destroy=function(){var t,e;this.stop();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)},t.fn.owlCarousel.Constructor.Plugins.autoplay=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var o=function(e){this._core=e,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":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":t.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":t.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=t.extend({},o.Defaults,this._core.options),this.$element.on(this._handlers)};o.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},o.prototype.initialize=function(){var e,i=this._core.settings;this._controls.$relative=(i.navContainer?t(i.navContainer):t("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[t('<button role="button">').addClass(i.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",t.proxy(function(e){var n=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(n,i.dotsSpeed)},this));for(e in this._overrides)this._core[e]=t.proxy(this[e],this)},o.prototype.destroy=function(){var t,e,i,n,o;o=this._core.settings;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&o.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)},o.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,0;t<n;t++){if(e>=r||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))}},o.prototype.draw=function(){var e,i=this._core.settings,n=this._core.items().length<=i.items,o=this._core.relative(this._core.current()),s=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||n),i.nav&&(this._controls.$previous.toggleClass("disabled",!s&&o<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!s&&o>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||n),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},o.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},o.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t,i){return t.start<=e&&t.end>=e},this)).pop()},o.prototype.getPosition=function(e){var i,n,o=this._core.settings;return"page"==o.slideBy?(i=t.inArray(this.current(),this._pages),n=this._pages.length,e?++i:--i,i=this._pages[(i%n+n)%n].start):(i=this._core.relative(this._core.current()),n=this._core.items().length,e?i+=o.slideBy:i-=o.slideBy),i},o.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},o.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},o.prototype.to=function(e,i,n){var o;!n&&this._pages.length?(o=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%o+o)%o].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var o=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}},this),"changed.owl.carousel":t.proxy(function(i){if(i.namespace&&"position"===i.property.name){var n=this._core.items(this._core.relative(this._core.current())),o=t.map(this._hashes,function(t,e){return t===n?e:null}).join();if(!o||e.location.hash.slice(1)===o)return;e.location.hash=o}},this)},this._core.options=t.extend({},o.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(t){var i=e.location.hash.substring(1),n=this._core.$stage.children(),o=this._hashes[i]&&n.index(this._hashes[i]);void 0!==o&&o!==this._core.current()&&this._core.to(this._core.relative(o),!1,!0)},this))};o.Defaults={URLhashListener:!1},o.prototype.destroy=function(){var i,n;t(e).off("hashchange.owl.navigation");for(i in this._handlers)this._core.$element.off(i,this._handlers[i]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){function o(e,i){var o=!1,s=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+a.join(s+" ")+s).split(" "),function(t,e){if(r[e]!==n)return o=!i||e,!1}),o}function s(t){return o(t,!0)}var r=t("<support>").get(0).style,a="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},c={csstransforms:function(){return!!o("transform")},csstransforms3d:function(){return!!o("perspective")},csstransitions:function(){return!!o("transition")},cssanimations:function(){return!!o("animation")}};c.csstransitions()&&(t.support.transition=new String(s("transition")),t.support.transition.end=l.transition.end[t.support.transition]),c.cssanimations()&&(t.support.animation=new String(s("animation")),t.support.animation.end=l.animation.end[t.support.animation]),c.csstransforms()&&(t.support.transform=new String(s("transform")),t.support.transform3d=c.csstransforms3d())}(window.Zepto||window.jQuery,window,document),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e=-1,i=-1,n=function(t){return parseFloat(t)||0},o=function(e){var i=null,o=[];return t(e).each(function(){var e=t(this),s=e.offset().top-n(e.css("margin-top")),r=o.length>0?o[o.length-1]:null;null===r?o.push(e):Math.floor(Math.abs(i-s))<=1?o[o.length-1]=r.add(e):o.push(e),i=s}),o},s=function(e){var i={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?t.extend(i,e):("boolean"==typeof e?i.byRow=e:"remove"===e&&(i.remove=!0),i)},r=t.fn.matchHeight=function(e){var i=s(e);if(i.remove){var n=this;return this.css(i.property,""),t.each(r._groups,function(t,e){e.elements=e.elements.not(n)}),this}return this.length<=1&&!i.target?this:(r._groups.push({elements:this,options:i}),r._apply(this,i),this)};r.version="0.7.2",r._groups=[],r._throttle=80,r._maintainScroll=!1,r._beforeUpdate=null,r._afterUpdate=null,r._rows=o,r._parse=n,r._parseOptions=s,r._apply=function(e,i){var a=s(i),l=t(e),c=[l],h=t(window).scrollTop(),u=t("html").outerHeight(!0),d=l.parents().filter(":hidden");return d.each(function(){var e=t(this);e.data("style-cache",e.attr("style"))}),d.css("display","block"),a.byRow&&!a.target&&(l.each(function(){var e=t(this),i=e.css("display");"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block"),e.data("style-cache",e.attr("style")),e.css({display:i,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),c=o(l),l.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||"")})),t.each(c,function(e,i){var o=t(i),s=0;if(a.target)s=a.target.outerHeight(!1);else{if(a.byRow&&o.length<=1)return void o.css(a.property,"");o.each(function(){var e=t(this),i=e.attr("style"),n=e.css("display");"inline-block"!==n&&"flex"!==n&&"inline-flex"!==n&&(n="block");var o={display:n};o[a.property]="",e.css(o),e.outerHeight(!1)>s&&(s=e.outerHeight(!1)),i?e.attr("style",i):e.css("display","")})}o.each(function(){var e=t(this),i=0;a.target&&e.is(a.target)||("border-box"!==e.css("box-sizing")&&(i+=n(e.css("border-top-width"))+n(e.css("border-bottom-width")),i+=n(e.css("padding-top"))+n(e.css("padding-bottom"))),e.css(a.property,s-i+"px"))})}),d.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||null)}),r._maintainScroll&&t(window).scrollTop(h/u*t("html").outerHeight(!0)),this},r._applyDataApi=function(){var e={};t("[data-match-height], [data-mh]").each(function(){var i=t(this),n=i.attr("data-mh")||i.attr("data-match-height");e[n]=n in e?e[n].add(i):i}),t.each(e,function(){this.matchHeight(!0)})};var a=function(e){r._beforeUpdate&&r._beforeUpdate(e,r._groups),t.each(r._groups,function(){r._apply(this.elements,this.options)}),r._afterUpdate&&r._afterUpdate(e,r._groups)};r._update=function(n,o){if(o&&"resize"===o.type){var s=t(window).width();if(s===e)return;e=s}n?-1===i&&(i=setTimeout(function(){a(o),i=-1},r._throttle)):a(o)},t(r._applyDataApi);var l=t.fn.on?"on":"bind";t(window)[l]("load",function(t){r._update(!1,t)}),t(window)[l]("resize orientationchange",function(t){r._update(!0,t)})}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):e(t.jQuery)}(this,function(t){"use strict";function e(e){if(n.webkit&&!e)return{height:0,width:0};if(!n.data.outer){var i={border:"none","box-sizing":"content-box",height:"200px",margin:"0",padding:"0",width:"200px"};n.data.inner=t("<div>").css(t.extend({},i)),n.data.outer=t("<div>").css(t.extend({left:"-1000px",overflow:"scroll",position:"absolute",top:"-1000px"},i)).append(n.data.inner).appendTo("body")}return n.data.outer.scrollLeft(1e3).scrollTop(1e3),{height:Math.ceil(n.data.outer.offset().top-n.data.inner.offset().top||0),width:Math.ceil(n.data.outer.offset().left-n.data.inner.offset().left||0)}}function i(t){var e=t.originalEvent;return(!e.axis||e.axis!==e.HORIZONTAL_AXIS)&&!e.wheelDeltaX}var n={data:{index:0,name:"scrollbar"},macosx:/mac/i.test(navigator.platform),mobile:/android|webos|iphone|ipad|ipod|blackberry/i.test(navigator.userAgent),overlay:null,scroll:null,scrolls:[],webkit:/webkit/i.test(navigator.userAgent)&&!/edge\/\d+/i.test(navigator.userAgent)};n.scrolls.add=function(t){this.remove(t).push(t)},n.scrolls.remove=function(e){for(;t.inArray(e,this)>=0;)this.splice(t.inArray(e,this),1);return this};var o={autoScrollSize:!0,autoUpdate:!0,debug:!1,disableBodyScroll:!1,duration:200,ignoreMobile:!1,ignoreOverlay:!1,scrollStep:30,showArrows:!1,stepScrolling:!0,scrollx:null,scrolly:null,onDestroy:null,onInit:null,onScroll:null,onUpdate:null},s=function(i){n.scroll||(n.overlay=function(){var t=e(!0);return!(t.height||t.width)}(),n.scroll=e(),a(),t(window).resize(function(){var t=!1;if(n.scroll&&(n.scroll.height||n.scroll.width)){var i=e();(i.height!==n.scroll.height||i.width!==n.scroll.width)&&(n.scroll=i,t=!0)}a(t)})),this.container=i,this.namespace=".scrollbar_"+n.data.index++,this.options=t.extend({},o,window.jQueryScrollbarOptions||{}),this.scrollTo=null,this.scrollx={},this.scrolly={},i.data(n.data.name,this),n.scrolls.add(this)};s.prototype={destroy:function(){if(this.wrapper){this.container.removeData(n.data.name),n.scrolls.remove(this);var e=this.container.scrollLeft(),i=this.container.scrollTop();this.container.insertBefore(this.wrapper).css({height:"",margin:"","max-height":""}).removeClass("scroll-content scroll-scrollx_visible scroll-scrolly_visible").off(this.namespace).scrollLeft(e).scrollTop(i),this.scrollx.scroll.removeClass("scroll-scrollx_visible").find("div").andSelf().off(this.namespace),this.scrolly.scroll.removeClass("scroll-scrolly_visible").find("div").andSelf().off(this.namespace),this.wrapper.remove(),t(document).add("body").off(this.namespace),t.isFunction(this.options.onDestroy)&&this.options.onDestroy.apply(this,[this.container])}},init:function(e){var o=this,s=this.container,r=this.containerWrapper||s,a=this.namespace,l=t.extend(this.options,e||{}),c={x:this.scrollx,y:this.scrolly},h=this.wrapper,u={scrollLeft:s.scrollLeft(),scrollTop:s.scrollTop()};if(n.mobile&&l.ignoreMobile||n.overlay&&l.ignoreOverlay||n.macosx&&!n.webkit)return!1;if(h)r.css({height:"auto","margin-bottom":-1*n.scroll.height+"px","margin-right":-1*n.scroll.width+"px","max-height":""});else{if(this.wrapper=h=t("<div>").addClass("scroll-wrapper").addClass(s.attr("class")).css("position","absolute"==s.css("position")?"absolute":"relative").insertBefore(s).append(s),s.is("textarea")&&(this.containerWrapper=r=t("<div>").insertBefore(s).append(s),h.addClass("scroll-textarea")),r.addClass("scroll-content").css({height:"auto","margin-bottom":-1*n.scroll.height+"px","margin-right":-1*n.scroll.width+"px","max-height":""}),s.on("scroll"+a,function(e){t.isFunction(l.onScroll)&&l.onScroll.call(o,{maxScroll:c.y.maxScrollOffset,scroll:s.scrollTop(),size:c.y.size,visible:c.y.visible},{maxScroll:c.x.maxScrollOffset,scroll:s.scrollLeft(),size:c.x.size,visible:c.x.visible}),c.x.isVisible&&c.x.scroll.bar.css("left",s.scrollLeft()*c.x.kx+"px"),c.y.isVisible&&c.y.scroll.bar.css("top",s.scrollTop()*c.y.kx+"px")}),h.on("scroll"+a,function(){h.scrollTop(0).scrollLeft(0)}),l.disableBodyScroll){var d=function(t){i(t)?c.y.isVisible&&c.y.mousewheel(t):c.x.isVisible&&c.x.mousewheel(t)};h.on("MozMousePixelScroll"+a,d),h.on("mousewheel"+a,d),n.mobile&&h.on("touchstart"+a,function(e){var i=e.originalEvent.touches&&e.originalEvent.touches[0]||e,n={pageX:i.pageX,pageY:i.pageY},o={left:s.scrollLeft(),top:s.scrollTop()};t(document).on("touchmove"+a,function(t){var e=t.originalEvent.targetTouches&&t.originalEvent.targetTouches[0]||t;s.scrollLeft(o.left+n.pageX-e.pageX),s.scrollTop(o.top+n.pageY-e.pageY),t.preventDefault()}),t(document).on("touchend"+a,function(){t(document).off(a)})})}t.isFunction(l.onInit)&&l.onInit.apply(this,[s])}t.each(c,function(e,n){var r=null,h=1,u="x"===e?"scrollLeft":"scrollTop",d=l.scrollStep,f=function(){var t=s[u]();s[u](t+d),1==h&&t+d>=p&&(t=s[u]()),-1==h&&p>=t+d&&(t=s[u]()),s[u]()==t&&r&&r()},p=0;n.scroll||(n.scroll=o._getScroll(l["scroll"+e]).addClass("scroll-"+e),l.showArrows&&n.scroll.addClass("scroll-element_arrows_visible"),n.mousewheel=function(t){if(!n.isVisible||"x"===e&&i(t))return!0;if("y"===e&&!i(t))return c.x.mousewheel(t),!0;var r=-1*t.originalEvent.wheelDelta||t.originalEvent.detail,a=n.size-n.visible-n.offset;return(r>0&&a>p||0>r&&p>0)&&(0>(p+=r)&&(p=0),p>a&&(p=a),o.scrollTo=o.scrollTo||{},o.scrollTo[u]=p,setTimeout(function(){o.scrollTo&&(s.stop().animate(o.scrollTo,240,"linear",function(){p=s[u]()}),o.scrollTo=null)},1)),t.preventDefault(),!1},n.scroll.on("MozMousePixelScroll"+a,n.mousewheel).on("mousewheel"+a,n.mousewheel).on("mouseenter"+a,function(){p=s[u]()}),n.scroll.find(".scroll-arrow, .scroll-element_track").on("mousedown"+a,function(i){if(1!=i.which)return!0;h=1;var a={eventOffset:i["x"===e?"pageX":"pageY"],maxScrollValue:n.size-n.visible-n.offset,scrollbarOffset:n.scroll.bar.offset()["x"===e?"left":"top"],scrollbarSize:n.scroll.bar["x"===e?"outerWidth":"outerHeight"]()},c=0,g=0;return t(this).hasClass("scroll-arrow")?(h=t(this).hasClass("scroll-arrow_more")?1:-1,d=l.scrollStep*h,p=h>0?a.maxScrollValue:0):(h=a.eventOffset>a.scrollbarOffset+a.scrollbarSize?1:a.eventOffset<a.scrollbarOffset?-1:0,d=Math.round(.75*n.visible)*h,p=a.eventOffset-a.scrollbarOffset-(l.stepScrolling?1==h?a.scrollbarSize:0:Math.round(a.scrollbarSize/2)),p=s[u]()+p/n.kx),o.scrollTo=o.scrollTo||{},o.scrollTo[u]=l.stepScrolling?s[u]()+d:p,l.stepScrolling&&(r=function(){p=s[u](),clearInterval(g),clearTimeout(c),c=0,g=0},c=setTimeout(function(){g=setInterval(f,40)},l.duration+100)),setTimeout(function(){o.scrollTo&&(s.animate(o.scrollTo,l.duration),o.scrollTo=null)},1),o._handleMouseDown(r,i)}),n.scroll.bar.on("mousedown"+a,function(i){if(1!=i.which)return!0;var r=i["x"===e?"pageX":"pageY"],l=s[u]();return n.scroll.addClass("scroll-draggable"),t(document).on("mousemove"+a,function(t){var i=parseInt((t["x"===e?"pageX":"pageY"]-r)/n.kx,10);s[u](l+i)}),o._handleMouseDown(function(){n.scroll.removeClass("scroll-draggable"),p=s[u]()},i)}))}),t.each(c,function(t,e){var i="scroll-scroll"+t+"_visible",n="x"==t?c.y:c.x;e.scroll.removeClass(i),n.scroll.removeClass(i),r.removeClass(i)}),t.each(c,function(e,i){t.extend(i,"x"==e?{offset:parseInt(s.css("left"),10)||0,size:s.prop("scrollWidth"),visible:h.width()}:{offset:parseInt(s.css("top"),10)||0,size:s.prop("scrollHeight"),visible:h.height()})}),this._updateScroll("x",this.scrollx),this._updateScroll("y",this.scrolly),t.isFunction(l.onUpdate)&&l.onUpdate.apply(this,[s]),t.each(c,function(t,e){var i="x"===t?"left":"top",n="x"===t?"outerWidth":"outerHeight",o="x"===t?"width":"height",r=parseInt(s.css(i),10)||0,a=e.size,c=e.visible+r,h=e.scroll.size[n]()+(parseInt(e.scroll.size.css(i),10)||0);l.autoScrollSize&&(e.scrollbarSize=parseInt(h*c/a,10),e.scroll.bar.css(o,e.scrollbarSize+"px")),e.scrollbarSize=e.scroll.bar[n](),e.kx=(h-e.scrollbarSize)/(a-c)||1,e.maxScrollOffset=a-c}),s.scrollLeft(u.scrollLeft).scrollTop(u.scrollTop).trigger("scroll")},_getScroll:function(e){var i={advanced:['<div class="scroll-element">','<div class="scroll-element_corner"></div>','<div class="scroll-arrow scroll-arrow_less"></div>','<div class="scroll-arrow scroll-arrow_more"></div>','<div class="scroll-element_outer">','<div class="scroll-element_size"></div>','<div class="scroll-element_inner-wrapper">','<div class="scroll-element_inner scroll-element_track">','<div class="scroll-element_inner-bottom"></div>',"</div>","</div>",'<div class="scroll-bar">','<div class="scroll-bar_body">','<div class="scroll-bar_body-inner"></div>',"</div>",'<div class="scroll-bar_bottom"></div>','<div class="scroll-bar_center"></div>',"</div>","</div>","</div>"].join(""),simple:['<div class="scroll-element">','<div class="scroll-element_outer">','<div class="scroll-element_size"></div>','<div class="scroll-element_track"></div>','<div class="scroll-bar"></div>',"</div>","</div>"].join("")};return i[e]&&(e=i[e]),e||(e=i.simple),e="string"==typeof e?t(e).appendTo(this.wrapper):t(e),t.extend(e,{bar:e.find(".scroll-bar"),size:e.find(".scroll-element_size"),track:e.find(".scroll-element_track")}),e},_handleMouseDown:function(e,i){var n=this.namespace;return t(document).on("blur"+n,function(){t(document).add("body").off(n),e&&e()}),t(document).on("dragstart"+n,function(t){return t.preventDefault(),!1}),t(document).on("mouseup"+n,function(){t(document).add("body").off(n),e&&e()}),t("body").on("selectstart"+n,function(t){return t.preventDefault(),!1}),i&&i.preventDefault(),!1},_updateScroll:function(e,i){var o=this.container,s=this.containerWrapper||o,r="scroll-scroll"+e+"_visible",a="x"===e?this.scrolly:this.scrollx,l=parseInt(this.container.css("x"===e?"left":"top"),10)||0,c=this.wrapper,h=i.size,u=i.visible+l;i.isVisible=h-u>1,i.isVisible?(i.scroll.addClass(r),a.scroll.addClass(r),s.addClass(r)):(i.scroll.removeClass(r),a.scroll.removeClass(r),s.removeClass(r)),"y"===e&&(o.is("textarea")||u>h?s.css({height:u+n.scroll.height+"px","max-height":"none"}):s.css({"max-height":u+n.scroll.height+"px"})),(i.size!=o.prop("scrollWidth")||a.size!=o.prop("scrollHeight")||i.visible!=c.width()||a.visible!=c.height()||i.offset!=(parseInt(o.css("left"),10)||0)||a.offset!=(parseInt(o.css("top"),10)||0))&&(t.extend(this.scrollx,{offset:parseInt(o.css("left"),10)||0,size:o.prop("scrollWidth"),visible:c.width()}),t.extend(this.scrolly,{offset:parseInt(o.css("top"),10)||0,size:this.container.prop("scrollHeight"),visible:c.height()}),this._updateScroll("x"===e?"y":"x",a))}};var r=s;t.fn.scrollbar=function(e,i){return"string"!=typeof e&&(i=e,e="init"),void 0===i&&(i=[]),t.isArray(i)||(i=[i]),this.not("body, .scroll-wrapper").each(function(){var o=t(this),s=o.data(n.data.name);(s||"init"===e)&&(s||(s=new r(o)),s[e]&&s[e].apply(s,i))}),this},t.fn.scrollbar.options=o;var a=function(){var t=0,e=0;return function(i){var o,s,r,l,c,h,u;for(o=0;o<n.scrolls.length;o++)l=n.scrolls[o],s=l.container,r=l.options,c=l.wrapper,h=l.scrollx,u=l.scrolly,(i||r.autoUpdate&&c&&c.is(":visible")&&(s.prop("scrollWidth")!=h.size||s.prop("scrollHeight")!=u.size||c.width()!=h.visible||c.height()!=u.visible))&&(l.init(),r.debug&&(window.console&&console.log({scrollHeight:s.prop("scrollHeight")+":"+l.scrolly.size,scrollWidth:s.prop("scrollWidth")+":"+l.scrollx.size,visibleHeight:c.height()+":"+l.scrolly.visible,visibleWidth:c.width()+":"+l.scrollx.visible},!0),e++));clearTimeout(t),t=setTimeout(a,300)}}();window.angular&&function(t){t.module("jQueryScrollbar",[]).provider("jQueryScrollbar",function(){var e=o;return{setOptions:function(i){t.extend(e,i)},$get:function(){return{options:t.copy(e)}}}}).directive("jqueryScrollbar",["jQueryScrollbar","$parse",function(t,e){return{restrict:"AC",link:function(i,n,o){var s=e(o.jqueryScrollbar)(i);n.scrollbar(s||t.options).on("$destroy",function(){n.scrollbar("destroy")})}}}])}(window.angular)}),function(t){"use strict";var e=t(window),i=function(t,e,i){var n=0;return function(){var o;return o=new Date,0>=i-(o-n)?(n=o,t.apply(e,arguments)):void 0}},n=0,o=function(t){var e=(n++).toString();return function(){return this.cache[e]||(this.cache[e]=t.apply(this)),this.cache[e]}},s=function(){function n(n,o){this.$el=n,this.$el.css({width:this.$el.width()}),this.$wrapper=o.wrapper,"static"===this.$wrapper.css("position")&&this.$wrapper.css("position","relative"),this.sentinel=t("<div></div>").css({position:o.ignore?"absolute":"relative",top:0,height:0}),this.$el.before(this.sentinel),this.offsetTop=o.offsetTop||0,this.offsetBottom=o.offsetBottom||0,this.position=o.position||"top",this.ignore=o.ignore,this.ignore&&this.$el.css({position:"absolute",top:0}),this.handler=i("bottom"==this.position?this.onScrollBottom:this.onScrollTop,this,o.throttle||10),e.on("scroll",this.handler),e.on("resize",this.handler),this.handler()}return t.extend(n.prototype,{state:"top",same:!1,onScrollTop:function(){if(this.cache={},this.ignore||!(this.same||"top"===this.state&&this.isSameHeight())){var t,e=this.getScrollTop()+this.offsetTop;t=e<this.getSentinelTop()?"top":e+this.getOuterHeight()>this.getSentinelBottom()?"bottom":"fixed",(this.state!==t||"fixed"!==t)&&this.transferTo(t)}else this.same=!0},onScrollBottom:function(){if(this.cache={},this.ignore||!(this.same||"top"===this.state&&this.isSameHeight())){var t,i;t=(i=this.getScrollTop()+e.height())>this.getSentinelBottom()?"bottom":i-this.getOuterHeight()<this.getSentinelTop()?"top":"fixed",(this.state!==t||"fixed"!==t)&&this.transferTo(t)}else this.same=!0},transferTo:function(t){this.state=t;var e;e="top"===this.state?{position:this.ignore?"absolute":"relative",top:0,bottom:""}:"bottom"===this.state?{position:"absolute",top:this.getWrapperHeight()-this.getOuterHeight(),bottom:""}:"bottom"===this.position?{position:"fixed",top:"",bottom:this.offsetBottom}:{position:"fixed",top:this.offsetTop,bottom:""},this.$el.css(e)},isSameHeight:function(){return this.getSentinelBottom()-this.getBottom()-this.offsetBottom<50},getScrollTop:o(function(){return e.scrollTop()}),getWrapperHeight:o(function(){return this.$wrapper.outerHeight()}),getOuterHeight:o(function(){return this.$el.outerHeight(!0)+this.offsetBottom}),getSentinelTop:o(function(){return this.sentinel.offset().top}),getSentinelBottom:o(function(){return this.$wrapper.offset().top+this.getWrapperHeight()+parseInt(this.$wrapper.css("margin-top"),10)}),getBottom:o(function(){return this.$el.offset().top+this.getOuterHeight()}),destroy:function(){this.$el&&(this.transferTo("top"),this.$el=this.$wrapper=null,e.off("scroll",this.handler),e.off("resize",this.handler))}}),n}();t.fn.scrollChaser=function(e){e||(e={}),e.wrapper?e.wrapper instanceof t||(e.wrapper=t(e.wrapper)):e.wrapper=t(document.body),this.scrollChaser=new s(this,e);var i=this,n=this.remove;return this.remove=function(){i.scrollChaser.destroy(),n.apply(i,arguments)},this},t.fn.outerHeight||(t.fn.outerHeight=function(t){var e=this.height();return t||(e-=parseInt(this.css("margin-bottom"),10),e-=parseInt(this.css("margin-top"),10)),e})}(window.jQuery||window.Zepto),function(t,e,i,n){var o=t(e);t.fn.lazyload=function(n){function s(){var e=0;a.each(function(){var i=t(this);if(!l.skip_invisible||i.is(":visible"))if(t.abovethetop(this,l)||t.leftofbegin(this,l));else if(t.belowthefold(this,l)||t.rightoffold(this,l)){if(++e>l.failure_limit)return!1}else i.trigger("appear"),e=0})}var r,a=this,l={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:e,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return n&&(void 0!==n.failurelimit&&(n.failure_limit=n.failurelimit,delete n.failurelimit),void 0!==n.effectspeed&&(n.effect_speed=n.effectspeed,delete n.effectspeed),t.extend(l,n)),r=void 0===l.container||l.container===e?o:t(l.container),0===l.event.indexOf("scroll")&&r.bind(l.event,function(){return s()}),this.each(function(){var e=this,i=t(e);e.loaded=!1,void 0!==i.attr("src")&&!1!==i.attr("src")||i.is("img")&&i.attr("src",l.placeholder),i.one("appear",function(){if(!this.loaded){if(l.appear){var n=a.length;l.appear.call(e,n,l)}t("<img />").bind("load",function(){var n=i.attr("data-"+l.data_attribute);i.hide(),i.is("img")?i.attr("src",n):i.css("background-image","url('"+n+"')"),i[l.effect](l.effect_speed),e.loaded=!0;var o=t.grep(a,function(t){return!t.loaded});if(a=t(o),l.load){var s=a.length;l.load.call(e,s,l)}}).attr("src",i.attr("data-"+l.data_attribute))}}),0!==l.event.indexOf("scroll")&&i.bind(l.event,function(){e.loaded||i.trigger("appear")})}),o.bind("resize",function(){s()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&o.bind("pageshow",function(e){e.originalEvent&&e.originalEvent.persisted&&a.each(function(){t(this).trigger("appear")})}),t(i).ready(function(){s()}),this},t.belowthefold=function(i,n){return(void 0===n.container||n.container===e?(e.innerHeight?e.innerHeight:o.height())+o.scrollTop():t(n.container).offset().top+t(n.container).height())<=t(i).offset().top-n.threshold},t.rightoffold=function(i,n){return(void 0===n.container||n.container===e?o.width()+o.scrollLeft():t(n.container).offset().left+t(n.container).width())<=t(i).offset().left-n.threshold},t.abovethetop=function(i,n){return(void 0===n.container||n.container===e?o.scrollTop():t(n.container).offset().top)>=t(i).offset().top+n.threshold+t(i).height()},t.leftofbegin=function(i,n){return(void 0===n.container||n.container===e?o.scrollLeft():t(n.container).offset().left)>=t(i).offset().left+n.threshold+t(i).width()},t.inviewport=function(e,i){return!(t.rightoffold(e,i)||t.leftofbegin(e,i)||t.belowthefold(e,i)||t.abovethetop(e,i))},t.extend(t.expr[":"],{"below-the-fold":function(e){return t.belowthefold(e,{threshold:0})},"above-the-top":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-screen":function(e){return t.rightoffold(e,{threshold:0})},"left-of-screen":function(e){return!t.rightoffold(e,{threshold:0})},"in-viewport":function(e){return t.inviewport(e,{threshold:0})},"above-the-fold":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-fold":function(e){return t.rightoffold(e,{threshold:0})},"left-of-fold":function(e){return!t.rightoffold(e,{threshold:0})}})}(jQuery,window,document),$(function(){$(".c-news-topmore").length>0&&$(".c-news-topmore img.lazy").lazyload({effect:"fadeIn",threshold:200,data_attribute:"src"}),$(".c-head__right").length>0&&$(".c-head__right img.lazy").lazyload({effect:"fadeIn",threshold:200,data_attribute:"src"}),$(".c-leader-list").length>0&&$(".c-leader-list img.lazy").lazyload({effect:"fadeIn",threshold:200,data_attribute:"src"}),$(".l-sidebar").length>0&&$(".l-sidebar img.lazy").lazyload({effect:"fadeIn",threshold:200,data_attribute:"src"}),$("img.lazy").lazyload({effect:"fadeIn",threshold:200,data_attribute:"src"})}),$(function(){$(document).ready(function(){$(".js-menu-expand").length>0&&$(".js-menu-expand").click(function(t){t.preventDefault();var e=$(".c-mega-menu");e.hasClass("active")?($(this).removeClass("active"),e.removeClass("active")):($(this).addClass("active"),e.addClass("active"))}),$(".js-mega-close").length>0&&$(".js-mega-close").click(function(t){t.preventDefault();$(".c-mega-menu").removeClass("active"),$(".c-menu-expand").removeClass("active")})})}),$(function(){$(document).ready(function(){if($(".c-search-wrapper").length>0){var t=$(".c-search-wrapper");$(".js-search-expand").click(function(e){e.preventDefault(),t.addClass("active")}),$(".js-search-close").click(function(e){t.removeClass("active")})}})}),$(function(){$(document).ready(function(){$(window).width();var t=$(".l-nav"),e=$("body"),i=($(".c-menu-outer"),$(".c-nav-inner__height").height()),n=0;if($(".c-header-banner").length>0){n=$(".c-header-banner").height()}var o=n+i;t.length>0&&$(window).scroll(function(){if($(this).scrollTop()>o&&(t.addClass("has-fixed"),e.addClass("has-padding"),$(".c-header-sticky").length>0)){(i=$(".c-header-sticky")).addClass("has-fixed")}if($(this).scrollTop()<=o&&(t.removeClass("has-fixed"),e.removeClass("has-padding"),$(".c-header-sticky").length>0)){var i=$(".c-header-sticky");i.removeClass("has-fixed")}})})}),$(function(){$(document).ready(function(){var t=$(window).width();t>991&&$(".scrollbar-outer").length>0&&$(".scrollbar-outer").scrollbar(),t>991&&$(".scrollbar-macosx").length>0&&$(".scrollbar-macosx").scrollbar()})}),$(function(){$(document).ready(function(){$(".js-sticky-scroll").length>0&&$(".js-sticky-scroll").each(function(){var t=$(this).parent().parent();$(this).scrollChaser({wrapper:t,offsetTop:71})})})}),$(function(){$(document).ready(function(){$(window).scroll(function(){if($(".js-share-scroll").length>0){var t=$(".js-share-scroll"),e=t.height(),i=t.parent(),n=i.height(),o=i.offset().top,s=$(".c-news-detail").height(),r=o+n+15+s-e,a=n+15+s-e;$(this).scrollTop()>r?(t.addClass("has-ab"),t.css({top:a+"px"})):(t.removeClass("has-ab"),t.css({top:"60px"})),$(this).scrollTop()>o?t.addClass("has-fixed"):(t.removeClass("has-fixed"),t.css({top:"8px"}))}})})}),$(function(){$(document).ready(function(){$(".c-author-page").length>0&&$(".js-page-copy").click(function(t){t.preventDefault();var e=$(window).width();e<992&&($(".c-author-page__mobile-pop").addClass("active"),setTimeout(function(){$(".c-author-page__mobile-pop").removeClass("active")},2e3));var i=$("<input>");$("body").append(i),i.val($("#url-copy").text()).select(),document.execCommand("copy"),i.remove(),e>991&&$("#liveToast").toast("show")})})}),$(function(){$(document).ready(function(){$(".c-comments").length>0&&$(".js-scroll-comment").click(function(t){t.preventDefault();var e=$(".c-comments").offset().top;$("html, body").animate({scrollTop:e-90},700)})})}),$(function(){$(document).ready(function(){$(".c-comment-click").length>0&&$(".c-comment-click").click(function(t){t.preventDefault();$(".c-video-outer .c-comments").show(),$(this).hide()})})}),$(function(){$(document).ready(function(){$(".js-gotop").length>0&&($(window).scroll(function(){$(this).scrollTop()>150?$(".js-gotop").fadeIn():$(".js-gotop").fadeOut()}),$(".js-gotop").click(function(t){t.preventDefault(),$("html, body").animate({scrollTop:$("body").offset().top},700)}))})}),$(function(){$(document).ready(function(){$("#widget-weather").length>0&&($("#widget-weather .current-city").click(function(t){$("#widget-weather").addClass("expanded"),t.stopPropagation()}),$(document).click(function(t){$(t.target).is("#widget-weather .filter, #widget-weather .filter *")||$("#widget-weather").removeClass("expanded")}))})}),$(function(){$(document).ready(function(){$("#widget-weather-inpage").length>0&&($("#widget-weather-inpage .current-city").click(function(t){$("#widget-weather-inpage").addClass("expanded"),t.stopPropagation()}),$(document).click(function(t){$(t.target).is("#widget-weather-inpage .filter, #widget-weather-inpage .filter *")||$("#widget-weather-inpage").removeClass("expanded")}))})}),$(function(){$(document).ready(function(){$(".js-newspaper-slider").length>0&&$(".js-newspaper-slider").owlCarousel({loop:!1,responsiveClass:!1,nav:!1,dots:!1,autoplay:!1,autoHeight:!1,autoplayTimeout:6e3,autoplaySpeed:1e3,autoplayHoverPause:!0,navText:!1,lazyLoad:!0,margin:0,responsive:{0:{items:2,autoWidth:!0},768:{items:3,autoWidth:!1},992:{items:4,autoWidth:!1}}})})}),$(function(){$(document).ready(function(){$(".js-slider-over-3").length>0&&$(".js-slider-over-3").owlCarousel({loop:!1,responsiveClass:!1,nav:!1,dots:!1,autoplay:!1,autoHeight:!1,autoplayTimeout:6e3,autoplaySpeed:1e3,autoplayHoverPause:!0,navText:!1,lazyLoad:!0,responsive:{0:{items:2,margin:15},768:{items:3,margin:20},1200:{items:3,margin:28}}})})}),$(function(){$(document).ready(function(){$(".js-slider-over-4").length>0&&$(".js-slider-over-4").owlCarousel({responsiveClass:!1,nav:!1,dots:!1,autoplay:!1,autoHeight:!1,autoplayTimeout:6e3,autoplaySpeed:1e3,autoplayHoverPause:!0,navText:!1,lazyLoad:!0,responsive:{0:{items:2,margin:15,loop:!0},768:{items:3,margin:20,loop:!1},992:{items:4,margin:20,loop:!1},1200:{items:4,margin:24,loop:!1}}})})}),$(function(){$(document).ready(function(){$(".js-slider-over-5").length>0&&$(".js-slider-over-5").owlCarousel({loop:!1,responsiveClass:!1,nav:!1,dots:!1,autoplay:!1,autoHeight:!1,autoplayTimeout:6e3,autoplaySpeed:1e3,autoplayHoverPause:!0,navText:!1,lazyLoad:!0,responsive:{0:{items:2,margin:15},768:{items:3,margin:20},992:{items:4,margin:20},1200:{items:5,margin:24}}})})}),$(function(){$(document).ready(function(){$('[data-toggle="tooltip"]').tooltip()})}),$(function(){$(document).ready(function(){$(".c-topic-head__title").length>0&&$(".c-topic-head__title").attr("data-small-text",$(".c-topic-head__title").text().length>30)})}),$(function(){$(document).ready(function(){$(".c-topic-info-tabs").length>0&&$(".c-topic-info-tabs .c-topic-info-tabs__title ul li a").click(function(t){t.preventDefault();var e=$(this).attr("href"),i=$(this).parent(),n=$(this).parent().parent().parent().parent();i.hasClass("active")||($(".c-topic-info-tabs__title ul li.active",n).removeClass("active"),$(".c-topic-info-tabs__pane.active",n).removeClass("active").hide(),i.addClass("active"),$(e).addClass("active").show())})})}),$(function(){$(document).ready(function(){$(".js-topic-other-slider").length>0&&$(".js-topic-other-slider").owlCarousel({loop:!1,responsiveClass:!1,nav:!0,dots:!0,autoplay:!1,autoHeight:!1,autoplayTimeout:6e3,autoplaySpeed:1e3,autoplayHoverPause:!0,navText:!1,lazyLoad:!0,responsive:{0:{items:2,margin:10},768:{items:4,margin:20},1200:{items:5,margin:30},1600:{items:5,margin:40}}})})}),$(function(){$(document).ready(function(){$(".js-statistics-slider").length>0&&$(".js-statistics-slider").owlCarousel({loop:!1,responsiveClass:!1,nav:!0,dots:!0,autoplay:!1,autoHeight:!1,autoplayTimeout:6e3,autoplaySpeed:1e3,autoplayHoverPause:!0,navText:!1,responsive:{0:{items:2,margin:10},768:{items:4,margin:20},1200:{items:5,margin:30},1600:{items:5,margin:40}}})})});var baseFont=18,viewportGlobal=$(window).width();viewportGlobal>767&&(baseFont=19),$(function(){$(document).ready(function(){if($(".c-font-box").length>0){var t=$(".c-font-box");$(".js-font-dropdown").click(function(e){e.preventDefault(),t.addClass("active")}),$(".js-font-close").click(function(e){t.removeClass("active")}),$(".c-font-box .plus").off("click").on("click",function(){fontchange(1)}),$(".c-font-box .minus").off("click").on("click",function(){fontchange(-1)}),$(".c-font-box .font").off("click").on("click",function(){fontdefault()})}})}),$(function(){$(document).ready(function(){if($(".c-font-box-horizontal").length>0){var t=$(".c-font-box-horizontal");$(".js-font-horizontal").click(function(t){t.preventDefault();$(this).parent().addClass("active")}),$(".js-font-horizontal-close").click(function(e){t.parent().removeClass("active")}),$(".c-font-box-horizontal .plus").off("click").on("click",function(){fontchange(1)}),$(".c-font-box-horizontal .minus").off("click").on("click",function(){fontchange(-1)}),$(".c-font-box-horizontal .font").off("click").on("click",function(){fontdefault()})}})}),$(function(){$(document).ready(function(){$(".js-online-scroll").length>0&&$(".js-online-scroll").click(function(t){t.preventDefault();var e=$(this).attr("href");$("html, body").animate({scrollTop:$(e).offset().top-170},700)})})}),$(function(){$(document).ready(function(){$(".js-online-tab").length>0&&$(".js-online-tab").click(function(t){t.preventDefault();var e=$(this).attr("href"),i=$(this).parent(),n=$(this).parent().parent().parent().parent();i.hasClass("active")||($(".c-online-tabs__title ul li.active",n).removeClass("active"),$(".c-online-tabs__pane.active",n).removeClass("active").hide(),i.addClass("active"),$(e).addClass("active").show())})})}),$(function(){$(document).ready(function(){$(".c-list-live").length>0&&$(".js-sort-content").click(function(t){t.preventDefault();var e=$(this).attr("data-sort");console.log(e);var i=$(this).parent(),n=$(this).parent().parent().parent(),o=$(".c-list-live");i.hasClass("active")||($("ul li.active",n).removeClass("active"),i.addClass("active"),"is-desc"==e&&o.removeClass("is-asc").addClass("is-desc"),"is-asc"==e&&o.removeClass("is-desc").addClass("is-asc"))})})}),$(function(){$(document).ready(function(){$(".js-jump-to").length>0&&$(".js-jump-to").click(function(t){t.preventDefault();var e=$(this).attr("href");$("html, body").animate({scrollTop:$(e).offset().top},700)})})}),$(function(){$(document).ready(function(){$(".c-smart-menu").length>0&&$(window).scroll(function(){$(this).scrollTop()>150?$(".c-smart-menu").addClass("active"):$(".c-smart-menu").removeClass("active")})})}),$(function(){$(document).ready(function(){$(".c-book-foot").length>0&&$(".c-book-cover").click(function(t){t.preventDefault();var e=$(this).parent();e.hasClass("active")?($(this).removeClass("active"),e.removeClass("active")):($(this).addClass("active"),e.addClass("active"))})})}),$(function(){$(document).ready(function(){$(".js-program-slider").length>0&&$(".js-program-slider").owlCarousel({loop:!1,responsiveClass:!1,nav:!0,dots:!1,autoplay:!1,autoHeight:!1,autoplayTimeout:6e3,autoplaySpeed:1e3,autoplayHoverPause:!0,navText:!1,autoWidth:!0,responsive:{0:{items:3,margin:16},768:{items:5,margin:20},992:{items:6,margin:20},1200:{items:8,margin:24}}})})});