function ws_caption_slide(n,t,i,r){function u(n,t){var i,r=document.defaultView;return r&&r.getComputedStyle?(r=r.getComputedStyle(n,""))&&(i=r.getPropertyValue(t)):(i=t.replace(/\-\w/g,function(n){return n.charAt(1).toUpperCase()}),i=n.currentStyle?n.currentStyle[i]:n.style[i]),i}function e(n,t,i){for(var r=["padding-left","padding-right","border-left-width","border-right-width"],f=0,e=0;e<r.length;e++)f+=parseFloat(u(n,r[e]))||0;return r=parseFloat(u(n,"width"))||(n.offsetWidth||0)-f,t&&(r+=f),i&&(r+=(parseFloat(u(n,"margin-left"))||0)+(parseFloat(u(n,"margin-right"))||0)),r}function o(n,t,i){for(var r=["padding-top","padding-bottom","border-top-width","border-bottom-width"],f=0,e=0;e<r.length;e++)f+=parseFloat(u(n,r[e]))||0;return r=parseFloat(u(n,"height"))||(n.offsetHeight||0)-f,t&&(r+=f),i&&(r+=(parseFloat(u(n,"margin-top"))||0)+(parseFloat(u(n,"margin-bottom"))||0)),r}function s(n,t){var h={position:0,top:0,left:0,bottom:0,right:0},i,r,l;for(i in h)h[i]=n.get(0).style[i];n.show();r={width:e(n.get(0),1,1),height:o(n.get(0),1,1),float:n.css("float"),overflow:"hidden",opacity:0};for(i in h)r[i]=h[i]||u(n.get(0),i);i=f("<div><\/div>").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});n.wrap(i);i=n.parent();"static"==n.css("position")?(i.css({position:"relative"}),n.css({position:"relative"})):(f.extend(r,{position:n.css("position"),zIndex:n.css("z-index")}),n.css({position:"absolute",top:0,left:0,right:"auto",bottom:"auto"}));i.css(r).show();var s=t.direction||"left",r="up"==s||"down"==s?"top":"left",s="up"==s||"left"==s,c=t.distance||("top"==r?n.outerHeight(!0):n.outerWidth(!0));n.css(r,s?isNaN(c)?"-"+c:-c:c);l={};l[r]=(s?"+=":"-=")+c;i.animate({opacity:1},{duration:t.duration,easing:t.easing});n.animate(l,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){n.css(h);n.parent().replaceWith(n);t.complete&&t.complete()}})}var f=jQuery;t.stop(1,1).fadeOut(n.captionDuration/3,function(){r&&(t.html(r),s(t,{direction:"left",easing:"easeInOutExpo",complete:function(){t.get(0).filters&&t.get(0).style.removeAttribute("filter")},duration:n.captionDuration}))})}function ws_caption_parallax(n,t,i,r,u,f){var e=jQuery;t.parent().css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"});t.html(r).css("width","100%").stop(1,1);i.html(u).css("width","100%").stop(1,1),function(t,i,r,u,f,o){function s(t,i){return t.css(n.support.transform?{transform:"translate3d("+i+"px,0px,0px)"}:{marginLeft:i}).css("display","inline-block")}if(r=15,u=n.$this.width(),r*=u/100,n.prevIdx==n.curIdx)s(t,0).fadeIn(f/3),s(e(">div,>span",t),0);else{var a=e(">div",t),c=e(">div",i),v=e(">span",t),l=e(">span",i),y=r+u*(o?-1:1),p=r+u*(o?1:-1),h=(o?-1:1)*r;s(t,y).show();s(i,0).show();s(a,h);s(c,0);s(v,2*h);s(l,0);wowAnimate(function(n){n=e.easing.swing(n);s(t,(1-n)*y);s(i,n*p)},0,1,n.duration);wowAnimate(function(n){n*=.8;s(v,2*(1-n)*h);s(a,(1-n)*h);s(l,-2*n*h);s(c,n*-h)},0,1,n.duration,function(){l.css("opacity",0);c.css("opacity",0);wowAnimate(function(n){n=e.easing.easeOutCubic(1,n,0,1,1,1);var t=(1-.8)*h,i=-1.6*h,r=.8*-h;s(v,2*(1-n)*(1-.8)*h);s(a,(1-n)*t);s(l,(1-n)*i+-2*n*h);s(c,(1-n)*r+n*-h)},0,1,/Firefox/g.test(navigator.userAgent)?1500:n.delay)})}}(t,i,r,u,n.captionDuration,f)}function initSvgGradients(n){$ID=$(n).attr("id")+"-svg-gradient";$(n).find("svg linearGradient").attr("id",$ID);$(n).find("svg.gradient-element").each(function(){$(this).attr("stroke","url(#"+$ID+")");$(this).attr("fill","url(#"+$ID+")")})}function ws_blinds(n,t,i){var r=jQuery,s=r(this),o=n.parts||3,h=r(".ws_list",i),f=r("<div>").addClass("ws_effect ws_blinds").css({position:"absolute",width:"100%",height:"100%",left:0,top:0,"z-index":8}).hide().appendTo(i),c=r("<div>").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"}).appendTo(f),u=[],e;for(i=document.addEventListener,e=0;e<o;e++)u[e]=r("<div>").css({position:i?"relative":"absolute",display:i?"inline-block":"block",height:"100%",width:(100/o).toFixed(3)+"%",border:"none",margin:0,overflow:"hidden",top:0,left:i?0:(100*e/o).toFixed(3)+"%"}).appendTo(f);this.go=function(i,e,o){var l,a,y,v;for(void 0==o&&(o=e>i?1:0),f.find("img").stop(!0,!0),f.show(),l=r(t[e]),e={width:l.width()||n.width,height:l.height()||n.height},a=l.clone().css(e).appendTo(c),a.from={left:0},a.to={left:(o?-1:1)*a.width()*.5},n.support.transform&&(a.from={translate:[a.from.left,0,0]},a.to={translate:[a.to.left,0,0]}),h.hide(),wowAnimate(a,a.from,a.to,n.duration,.1*n.duration,"swing"),l=0;l<u.length;l++)y=u[l],v=r(t[i]).clone().css({position:"absolute",top:0}).css(e).appendTo(y),v.from={left:(o?1:-1)*v.width()-y.position().left},v.to={left:-y.position().left},n.support.transform&&(v.from={translate:[v.from.left,0,0]},v.to={translate:[v.to.left,0,0]}),wowAnimate(v,v.from,v.to,n.duration/(u.length+1)*(o?u.length-l+1:l+2),"swing",!o&&l==u.length-1||o&&!l?function(){s.trigger("effectEnd");f.hide().find("img").remove();a.remove()}:!1)}}var isBuilder;!function(n,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)}("undefined"!=typeof window?window:this,function(n,t){function ri(n){var t=n.length,r=i.type(n);return"function"===r||i.isWindow(n)?!1:1===n.nodeType&&t?!0:"array"===r||0===t||"number"==typeof t&&t>0&&t-1 in n}function ui(n,t,r){if(i.isFunction(t))return i.grep(n,function(n,i){return!!t.call(n,i,n)!==r});if(t.nodeType)return i.grep(n,function(n){return n===t!==r});if("string"==typeof t){if(re.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return i.inArray(n,t)>=0!==r})}function hr(n,t){do n=n[t];while(n&&1!==n.nodeType);return n}function ee(n){var t=fi[n]={};return i.each(n.match(h)||[],function(n,i){t[i]=!0}),t}function cr(){u.addEventListener?(u.removeEventListener("DOMContentLoaded",a,!1),n.removeEventListener("load",a,!1)):(u.detachEvent("onreadystatechange",a),n.detachEvent("onload",a))}function a(){(u.addEventListener||"load"===event.type||"complete"===u.readyState)&&(cr(),i.ready())}function yr(n,t,r){if(void 0===r&&1===n.nodeType){var u="data-"+t.replace(vr,"-$1").toLowerCase();if(r=n.getAttribute(u),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:ar.test(r)?i.parseJSON(r):r}catch(f){}i.data(n,t,r)}else r=void 0}return r}function ei(n){var t;for(t in n)if(("data"!==t||!i.isEmptyObject(n[t]))&&"toJSON"!==t)return!1;return!0}function pr(n,t,r,u){if(i.acceptData(n)){var s,e,h=i.expando,l=n.nodeType,o=l?i.cache:n,f=l?n[h]:n[h]&&h;if(f&&o[f]&&(u||o[f].data)||void 0!==r||"string"!=typeof t)return f||(f=l?n[h]=c.pop()||i.guid++:h),o[f]||(o[f]=l?{}:{toJSON:i.noop}),("object"==typeof t||"function"==typeof t)&&(u?o[f]=i.extend(o[f],t):o[f].data=i.extend(o[f].data,t)),e=o[f],u||(e.data||(e.data={}),e=e.data),void 0!==r&&(e[i.camelCase(t)]=r),"string"==typeof t?(s=e[t],null==s&&(s=e[i.camelCase(t)])):s=e,s}}function wr(n,t,u){if(i.acceptData(n)){var o,s,h=n.nodeType,f=h?i.cache:n,e=h?n[i.expando]:i.expando;if(f[e]){if(t&&(o=u?f[e]:f[e].data)){for(i.isArray(t)?t=t.concat(i.map(t,i.camelCase)):(t in o)?t=[t]:(t=i.camelCase(t),t=(t in o)?[t]:t.split(" ")),s=t.length;s--;)delete o[t[s]];if(u?!ei(o):!i.isEmptyObject(o))return}(u||(delete f[e].data,ei(f[e])))&&(h?i.cleanData([n],!0):r.deleteExpando||f!=f.window?delete f[e]:f[e]=null)}}}function vt(){return!0}function it(){return!1}function dr(){try{return u.activeElement}catch(n){}}function gr(n){var i=nu.split("|"),t=n.createDocumentFragment();if(t.createElement)while(i.length)t.createElement(i.pop());return t}function f(n,t){var e,u,s=0,r=typeof n.getElementsByTagName!==o?n.getElementsByTagName(t||"*"):typeof n.querySelectorAll!==o?n.querySelectorAll(t||"*"):void 0;if(!r)for(r=[],e=n.childNodes||n;null!=(u=e[s]);s++)!t||i.nodeName(u,t)?r.push(u):i.merge(r,f(u,t));return void 0===t||t&&i.nodeName(n,t)?i.merge([n],r):r}function we(n){oi.test(n.type)&&(n.defaultChecked=n.checked)}function eu(n,t){return i.nodeName(n,"table")&&i.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?n.getElementsByTagName("tbody")[0]||n.appendChild(n.ownerDocument.createElement("tbody")):n}function ou(n){return n.type=(null!==i.find.attr(n,"type"))+"/"+n.type,n}function su(n){var t=ve.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function li(n,t){for(var u,r=0;null!=(u=n[r]);r++)i._data(u,"globalEval",!t||i._data(t[r],"globalEval"))}function hu(n,t){if(1===t.nodeType&&i.hasData(n)){var u,f,o,s=i._data(n),r=i._data(t,s),e=s.events;if(e){delete r.handle;r.events={};for(u in e)for(f=0,o=e[u].length;o>f;f++)i.event.add(t,u,e[u][f])}r.data&&(r.data=i.extend({},r.data))}}function be(n,t){var u,e,f;if(1===t.nodeType){if(u=t.nodeName.toLowerCase(),!r.noCloneEvent&&t[i.expando]){f=i._data(t);for(e in f.events)i.removeEvent(t,e,f.handle);t.removeAttribute(i.expando)}"script"===u&&t.text!==n.text?(ou(t).text=n.text,su(t)):"object"===u?(t.parentNode&&(t.outerHTML=n.outerHTML),r.html5Clone&&n.innerHTML&&!i.trim(t.innerHTML)&&(t.innerHTML=n.innerHTML)):"input"===u&&oi.test(n.type)?(t.defaultChecked=t.checked=n.checked,t.value!==n.value&&(t.value=n.value)):"option"===u?t.defaultSelected=t.selected=n.defaultSelected:("input"===u||"textarea"===u)&&(t.defaultValue=n.defaultValue)}}function cu(t,r){var f,u=i(r.createElement(t)).appendTo(r.body),e=n.getDefaultComputedStyle&&(f=n.getDefaultComputedStyle(u[0]))?f.display:i.css(u[0],"display");return u.detach(),e}function yt(n){var r=u,t=ai[n];return t||(t=cu(n,r),"none"!==t&&t||(ot=(ot||i("<iframe frameborder='0' width='0' height='0'/>")).appendTo(r.documentElement),r=(ot[0].contentWindow||ot[0].contentDocument).document,r.write(),r.close(),t=cu(n,r),ot.detach()),ai[n]=t),t}function au(n,t){return{get:function(){var i=n();if(null!=i)return i?void delete this.get:(this.get=t).apply(this,arguments)}}}function pu(n,t){if(t in n)return t;for(var r=t.charAt(0).toUpperCase()+t.slice(1),u=t,i=yu.length;i--;)if(t=yu[i]+r,t in n)return t;return u}function wu(n,t){for(var f,r,o,e=[],u=0,s=n.length;s>u;u++)r=n[u],r.style&&(e[u]=i._data(r,"olddisplay"),f=r.style.display,t?(e[u]||"none"!==f||(r.style.display=""),""===r.style.display&&et(r)&&(e[u]=i._data(r,"olddisplay",yt(r.nodeName)))):(o=et(r),(f&&"none"!==f||!o)&&i._data(r,"olddisplay",o?f:i.css(r,"display"))));for(u=0;s>u;u++)r=n[u],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?e[u]||"":"none"));return n}function bu(n,t,i){var r=no.exec(t);return r?Math.max(0,r[1]-(i||0))+(r[2]||"px"):t}function ku(n,t,r,u,f){for(var e=r===(u?"border":"content")?4:"width"===t?1:0,o=0;4>e;e+=2)"margin"===r&&(o+=i.css(n,r+w[e],!0,f)),u?("content"===r&&(o-=i.css(n,"padding"+w[e],!0,f)),"margin"!==r&&(o-=i.css(n,"border"+w[e]+"Width",!0,f))):(o+=i.css(n,"padding"+w[e],!0,f),"padding"!==r&&(o+=i.css(n,"border"+w[e]+"Width",!0,f)));return o}function du(n,t,u){var o=!0,f="width"===t?n.offsetWidth:n.offsetHeight,e=k(n),s=r.boxSizing&&"border-box"===i.css(n,"boxSizing",!1,e);if(0>=f||null==f){if(f=d(n,t,e),(0>f||null==f)&&(f=n.style[t]),pt.test(f))return f;o=s&&(r.boxSizingReliable()||f===n.style[t]);f=parseFloat(f)||0}return f+ku(n,t,u||(s?"border":"content"),o,e)+"px"}function e(n,t,i,r,u){return new e.prototype.init(n,t,i,r,u)}function nf(){return setTimeout(function(){rt=void 0}),rt=i.now()}function kt(n,t){var r,i={height:n},u=0;for(t=t?1:0;4>u;u+=2-t)r=w[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function tf(n,t,i){for(var u,f=(st[t]||[]).concat(st["*"]),r=0,e=f.length;e>r;r++)if(u=f[r].call(i,t,n))return u}function fo(n,t,u){var f,a,p,v,s,w,h,b,l=this,y={},o=n.style,c=n.nodeType&&et(n),e=i._data(n,"fxshow");u.queue||(s=i._queueHooks(n,"fx"),null==s.unqueued&&(s.unqueued=0,w=s.empty.fire,s.empty.fire=function(){s.unqueued||w()}),s.unqueued++,l.always(function(){l.always(function(){s.unqueued--;i.queue(n,"fx").length||s.empty.fire()})}));1===n.nodeType&&("height"in t||"width"in t)&&(u.overflow=[o.overflow,o.overflowX,o.overflowY],h=i.css(n,"display"),b="none"===h?i._data(n,"olddisplay")||yt(n.nodeName):h,"inline"===b&&"none"===i.css(n,"float")&&(r.inlineBlockNeedsLayout&&"inline"!==yt(n.nodeName)?o.zoom=1:o.display="inline-block"));u.overflow&&(o.overflow="hidden",r.shrinkWrapBlocks()||l.always(function(){o.overflow=u.overflow[0];o.overflowX=u.overflow[1];o.overflowY=u.overflow[2]}));for(f in t)if(a=t[f],ro.exec(a)){if(delete t[f],p=p||"toggle"===a,a===(c?"hide":"show")){if("show"!==a||!e||void 0===e[f])continue;c=!0}y[f]=e&&e[f]||i.style(n,f)}else h=void 0;if(i.isEmptyObject(y))"inline"===("none"===h?yt(n.nodeName):h)&&(o.display=h);else{e?"hidden"in e&&(c=e.hidden):e=i._data(n,"fxshow",{});p&&(e.hidden=!c);c?i(n).show():l.done(function(){i(n).hide()});l.done(function(){var t;i._removeData(n,"fxshow");for(t in y)i.style(n,t,y[t])});for(f in y)v=tf(c?e[f]:0,f,l),f in e||(e[f]=v.start,c&&(v.end=v.start,v.start="width"===f||"height"===f?1:0))}}function eo(n,t){var r,f,e,u,o;for(r in n)if(f=i.camelCase(r),e=t[f],u=n[r],i.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function rf(n,t,r){var h,e,o=0,l=bt.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(e)return!1;for(var s=rt||nf(),t=Math.max(0,u.startTime+u.duration-s),h=t/u.duration||0,i=1-h,r=0,o=u.tweens.length;o>r;r++)u.tweens[r].run(i);return f.notifyWith(n,[u,i,t]),1>i&&o?t:(f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{}},r),originalProperties:t,originalOptions:r,startTime:rt||nf(),duration:r.duration,tweens:[],createTween:function(t,r){var f=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(f),f},stop:function(t){var i=0,r=t?u.tweens.length:0;if(e)return this;for(e=!0;r>i;i++)u.tweens[i].run(1);return t?f.resolveWith(n,[u,t]):f.rejectWith(n,[u,t]),this}}),s=u.props;for(eo(s,u.opts.specialEasing);l>o;o++)if(h=bt[o].call(u,n,s,u.opts))return h;return i.map(s,tf,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(c,{elem:n,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function af(n){return function(t,r){"string"!=typeof t&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(h)||[];if(i.isFunction(r))while(u=e[f++])"+"===u.charAt(0)?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function vf(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);return"string"!=typeof s||o||f[s]?o?!(h=s):void 0:(t.dataTypes.unshift(s),e(s),!1)}),h}var f={},o=n===bi;return e(t.dataTypes[0])||!f["*"]&&e("*")}function ki(n,t){var u,r,f=i.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function ao(n,t,i){for(var o,e,u,f,s=n.contents,r=n.dataTypes;"*"===r[0];)r.shift(),void 0===e&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(f in s)if(s[f]&&s[f].test(e)){r.unshift(f);break}if(r[0]in i)u=r[0];else{for(f in i){if(!r[0]||n.converters[f+" "+r[0]]){u=f;break}o||(o=f)}u=u||o}if(u)return(u!==r[0]&&r.unshift(u),i[u])}function vo(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift())if("*"===u)u=e;else if("*"!==e&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]])){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}function di(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||po.test(n)?u(n,i):di(n+"["+("object"==typeof i?t:"")+"]",i,r,u)});else if(r||"object"!==i.type(t))u(n,t);else for(f in t)di(n+"["+f+"]",t[f],r,u)}function pf(){try{return new n.XMLHttpRequest}catch(t){}}function go(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function wf(n){return i.isWindow(n)?n:9===n.nodeType?n.defaultView||n.parentWindow:!1}var c=[],l=c.slice,ir=c.concat,ii=c.push,rr=c.indexOf,ct={},df=ct.toString,tt=ct.hasOwnProperty,r={},ur="1.11.2",i=function(n,t){return new i.fn.init(n,t)},gf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ne=/^-ms-/,te=/-([\da-z])/gi,ie=function(n,t){return t.toUpperCase()},p,or,sr,h,fi,lt,o,lr,ar,vr,ot,ai,uf,ef,of,gt,gi,ti,nr,tr,bf,kf;i.fn=i.prototype={jquery:ur,constructor:i,selector:"",length:0,toArray:function(){return l.call(this)},get:function(n){return null!=n?0>n?this[n+this.length]:this[n]:l.call(this)},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t.context=this.context,t},each:function(n,t){return i.each(this,n,t)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(0>n?i:0);return this.pushStack(t>=0&&i>t?[this[t]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:ii,sort:c.sort,splice:c.splice};i.extend=i.fn.extend=function(){var r,e,t,f,o,s,n=arguments[0]||{},u=1,c=arguments.length,h=!1;for("boolean"==typeof n&&(h=n,n=arguments[u]||{},u++),"object"==typeof n||i.isFunction(n)||(n={}),u===c&&(n=this,u--);c>u;u++)if(null!=(o=arguments[u]))for(f in o)r=n[f],t=o[f],n!==t&&(h&&t&&(i.isPlainObject(t)||(e=i.isArray(t)))?(e?(e=!1,s=r&&i.isArray(r)?r:[]):s=r&&i.isPlainObject(r)?r:{},n[f]=i.extend(h,s,t)):void 0!==t&&(n[f]=t));return n};i.extend({expando:"jQuery"+(ur+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isFunction:function(n){return"function"===i.type(n)},isArray:Array.isArray||function(n){return"array"===i.type(n)},isWindow:function(n){return null!=n&&n==n.window},isNumeric:function(n){return!i.isArray(n)&&n-parseFloat(n)+1>=0},isEmptyObject:function(n){var t;for(t in n)return!1;return!0},isPlainObject:function(n){var t;if(!n||"object"!==i.type(n)||n.nodeType||i.isWindow(n))return!1;try{if(n.constructor&&!tt.call(n,"constructor")&&!tt.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(u){return!1}if(r.ownLast)for(t in n)return tt.call(n,t);for(t in n);return void 0===t||tt.call(n,t)},type:function(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?ct[df.call(n)]||"object":typeof n},globalEval:function(t){t&&i.trim(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(n){return n.replace(ne,"ms-").replace(te,ie)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,t,i){var u,r=0,f=n.length,e=ri(n);if(i){if(e){for(;f>r;r++)if(u=t.apply(n[r],i),u===!1)break}else for(r in n)if(u=t.apply(n[r],i),u===!1)break}else if(e){for(;f>r;r++)if(u=t.call(n[r],r,n[r]),u===!1)break}else for(r in n)if(u=t.call(n[r],r,n[r]),u===!1)break;return n},trim:function(n){return null==n?"":(n+"").replace(gf,"")},makeArray:function(n,t){var r=t||[];return null!=n&&(ri(Object(n))?i.merge(r,"string"==typeof n?[n]:n):ii.call(r,n)),r},inArray:function(n,t,i){var r;if(t){if(rr)return rr.call(t,n,i);for(r=t.length,i=i?0>i?Math.max(0,r+i):i:0;r>i;i++)if(i in t&&t[i]===n)return i}return-1},merge:function(n,t){for(var r=+t.length,i=0,u=n.length;r>i;)n[u++]=t[i++];if(r!==r)while(void 0!==t[i])n[u++]=t[i++];return n.length=u,n},grep:function(n,t,i){for(var u,f=[],r=0,e=n.length,o=!i;e>r;r++)u=!t(n[r],r),u!==o&&f.push(n[r]);return f},map:function(n,t,i){var u,r=0,e=n.length,o=ri(n),f=[];if(o)for(;e>r;r++)u=t(n[r],r,i),null!=u&&f.push(u);else for(r in n)u=t(n[r],r,i),null!=u&&f.push(u);return ir.apply([],f)},guid:1,proxy:function(n,t){var u,r,f;return"string"==typeof t&&(f=n[t],t=n,n=f),i.isFunction(n)?(u=l.call(arguments,2),r=function(){return n.apply(t||this,u.concat(l.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r):void 0},now:function(){return+new Date},support:r});i.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(n,t){ct["[object "+t+"]"]=t.toLowerCase()});p=function(n){function r(n,t,i,r){var p,s,a,c,w,y,d,v,nt,g;if((t?t.ownerDocument||t:h)!==o&&k(t),t=t||o,i=i||[],c=t.nodeType,"string"!=typeof n||!n||1!==c&&9!==c&&11!==c)return i;if(!r&&l){if(11!==c&&(p=hr.exec(n)))if(a=p[1]){if(9===c){if(s=t.getElementById(a),!s||!s.parentNode)return i;if(s.id===a)return i.push(s),i}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(a))&&et(t,s)&&s.id===a)return i.push(s),i}else{if(p[2])return b.apply(i,t.getElementsByTagName(n)),i;if((a=p[3])&&u.getElementsByClassName)return b.apply(i,t.getElementsByClassName(a)),i}if(u.qsa&&(!e||!e.test(n))){if(v=d=f,nt=t,g=1!==c&&n,1===c&&"object"!==t.nodeName.toLowerCase()){for(y=ft(n),(d=t.getAttribute("id"))?v=d.replace(cr,"\\$&"):t.setAttribute("id",v),v="[id='"+v+"'] ",w=y.length;w--;)y[w]=v+vt(y[w]);nt=dt.test(n)&&ti(t.parentNode)||t;g=y.join(",")}if(g)try{return b.apply(i,nt.querySelectorAll(g)),i}catch(tt){}finally{d||t.removeAttribute("id")}}}return oi(n.replace(lt,"$1"),t,i,r)}function gt(){function n(r,u){return i.push(r+" ")>t.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function c(n){return n[f]=!0,n}function v(n){var t=o.createElement("div");try{return!!n(t)}catch(i){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ni(n,i){for(var u=n.split("|"),r=n.length;r--;)t.attrHandle[u[r]]=i}function wi(n,t){var i=t&&n,r=i&&1===n.nodeType&&1===t.nodeType&&(~t.sourceIndex||li)-(~n.sourceIndex||li);if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function lr(n){return function(t){var i=t.nodeName.toLowerCase();return"input"===i&&t.type===n}}function ar(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function tt(n){return c(function(t){return t=+t,c(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ti(n){return n&&"undefined"!=typeof n.getElementsByTagName&&n}function bi(){}function vt(n){for(var t=0,r=n.length,i="";r>t;t++)i+=n[t].value;return i}function ii(n,t,i){var r=t.dir,u=i&&"parentNode"===r,e=ki++;return t.first?function(t,i,f){while(t=t[r])if(1===t.nodeType||u)return n(t,i,f)}:function(t,i,o){var s,h,c=[a,e];if(o){while(t=t[r])if((1===t.nodeType||u)&&n(t,i,o))return!0}else while(t=t[r])if(1===t.nodeType||u){if(h=t[f]||(t[f]={}),(s=h[r])&&s[0]===a&&s[1]===e)return c[2]=s[2];if(h[r]=c,c[2]=n(t,i,o))return!0}}}function ri(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function vr(n,t,i){for(var u=0,f=t.length;f>u;u++)r(n,t[u],i);return i}function yt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=null!=t;s>f;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),h&&t.push(f));return o}function ui(n,t,i,r,u,e){return r&&!r[f]&&(r=ui(r)),u&&!u[f]&&(u=ui(u,e)),c(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,k=f||vr(t||"*",o.nodeType?[o]:o,[]),v=!n||!f&&t?k:yt(k,p,n,o,s),h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=yt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?nt(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=yt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):b.apply(e,h)})}function fi(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=ii(function(n){return n===o},c,!0),a=ii(function(n){return nt(o,n)>-1},c,!0),e=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];s>i;i++)if(u=t.relative[n[i].type])e=[ii(ri(e),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[f]){for(r=++i;s>r;r++)if(t.relative[n[r].type])break;return ui(i>1&&ri(e),i>1&&vt(n.slice(0,i-1).concat({value:" "===n[i-2].type?"*":""})).replace(lt,"$1"),u,r>i&&fi(n.slice(i,r)),s>r&&fi(n=n.slice(r)),s>r&&vt(n))}e.push(u)}return ri(e)}function yr(n,i){var u=i.length>0,f=n.length>0,e=function(e,s,h,c,l){var y,d,w,k=0,v="0",g=e&&[],p=[],nt=ht,tt=e||f&&t.find.TAG("*",l),it=a+=null==nt?1:Math.random()||.1,rt=tt.length;for(l&&(ht=s!==o&&s);v!==rt&&null!=(y=tt[v]);v++){if(f&&y){for(d=0;w=n[d++];)if(w(y,s,h)){c.push(y);break}l&&(a=it)}u&&((y=!w&&y)&&k--,e&&g.push(y))}if(k+=v,u&&v!==k){for(d=0;w=i[d++];)w(g,p,s,h);if(e){if(k>0)while(v--)g[v]||p[v]||(p[v]=gi.call(c));p=yt(p)}b.apply(c,p);l&&!e&&p.length>0&&k+i.length>1&&r.uniqueSort(c)}return l&&(a=it,ht=nt),g};return u?c(e):e}var it,u,t,st,ei,ft,pt,oi,ht,w,rt,k,o,s,l,e,d,ct,et,f="sizzle"+1*new Date,h=n.document,a=0,ki=0,si=gt(),hi=gt(),ci=gt(),wt=function(n,t){return n===t&&(rt=!0),0},li=-2147483648,di={}.hasOwnProperty,g=[],gi=g.pop,nr=g.push,b=g.push,ai=g.slice,nt=function(n,t){for(var i=0,r=n.length;r>i;i++)if(n[i]===t)return i;return-1},bt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",i="[\\x20\\t\\r\\n\\f]",ut="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",vi=ut.replace("w","w#"),yi="\\["+i+"*("+ut+")(?:"+i+"*([*^$|!~]?=)"+i+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+vi+"))|)"+i+"*\\]",kt=":("+ut+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+yi+")*)|.*)\\)|)",tr=new RegExp(i+"+","g"),lt=new RegExp("^"+i+"+|((?:^|[^\\\\])(?:\\\\.)*)"+i+"+$","g"),ir=new RegExp("^"+i+"*,"+i+"*"),rr=new RegExp("^"+i+"*([>+~]|"+i+")"+i+"*"),ur=new RegExp("="+i+"*([^\\]'\"]*?)"+i+"*\\]","g"),fr=new RegExp(kt),er=new RegExp("^"+vi+"$"),at={ID:new RegExp("^#("+ut+")"),CLASS:new RegExp("^\\.("+ut+")"),TAG:new RegExp("^("+ut.replace("w","w*")+")"),ATTR:new RegExp("^"+yi),PSEUDO:new RegExp("^"+kt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+i+"*(even|odd|(([+-]|)(\\d*)n|)"+i+"*(?:([+-]|)"+i+"*(\\d+)|))"+i+"*\\)|)","i"),bool:new RegExp("^(?:"+bt+")$","i"),needsContext:new RegExp("^"+i+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+i+"*((?:-\\d)?\\d*)"+i+"*\\)|)(?=[^-]|$)","i")},or=/^(?:input|select|textarea|button)$/i,sr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,hr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,dt=/[+~]/,cr=/'|\\/g,y=new RegExp("\\\\([\\da-f]{1,6}"+i+"?|("+i+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},pi=function(){k()};try{b.apply(g=ai.call(h.childNodes),h.childNodes);g[h.childNodes.length].nodeType}catch(pr){b={apply:g.length?function(n,t){nr.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}u=r.support={};ei=r.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?"HTML"!==t.nodeName:!1};k=r.setDocument=function(n){var a,c,r=n?n.ownerDocument||n:h;return r!==o&&9===r.nodeType&&r.documentElement?(o=r,s=r.documentElement,c=r.defaultView,c&&c!==c.top&&(c.addEventListener?c.addEventListener("unload",pi,!1):c.attachEvent&&c.attachEvent("onunload",pi)),l=!ei(r),u.attributes=v(function(n){return n.className="i",!n.getAttribute("className")}),u.getElementsByTagName=v(function(n){return n.appendChild(r.createComment("")),!n.getElementsByTagName("*").length}),u.getElementsByClassName=ot.test(r.getElementsByClassName),u.getById=v(function(n){return s.appendChild(n).id=f,!r.getElementsByName||!r.getElementsByName(f).length}),u.getById?(t.find.ID=function(n,t){if("undefined"!=typeof t.getElementById&&l){var i=t.getElementById(n);return i&&i.parentNode?[i]:[]}},t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}}):(delete t.find.ID,t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i="undefined"!=typeof n.getAttributeNode&&n.getAttributeNode("id");return i&&i.value===t}}),t.find.TAG=u.getElementsByTagName?function(n,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(n):u.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if("*"===n){while(i=u[f++])1===i.nodeType&&r.push(i);return r}return u},t.find.CLASS=u.getElementsByClassName&&function(n,t){if(l)return t.getElementsByClassName(n)},d=[],e=[],(u.qsa=ot.test(r.querySelectorAll))&&(v(function(n){s.appendChild(n).innerHTML="<a id='"+f+"'><\/a><select id='"+f+"-\f]' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&e.push("[*^$]="+i+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||e.push("\\["+i+"*(?:value|"+bt+")");n.querySelectorAll("[id~="+f+"-]").length||e.push("~=");n.querySelectorAll(":checked").length||e.push(":checked");n.querySelectorAll("a#"+f+"+*").length||e.push(".#.+[+~]")}),v(function(n){var t=r.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&e.push("name"+i+"*[*^$|!~]?=");n.querySelectorAll(":enabled").length||e.push(":enabled",":disabled");n.querySelectorAll("*,:x");e.push(",.*:")})),(u.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&v(function(n){u.disconnectedMatch=ct.call(n,"div");ct.call(n,"[s!='']:x");d.push("!=",kt)}),e=e.length&&new RegExp(e.join("|")),d=d.length&&new RegExp(d.join("|")),a=ot.test(s.compareDocumentPosition),et=a||ot.test(s.contains)?function(n,t){var r=9===n.nodeType?n.documentElement:n,i=t&&t.parentNode;return n===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):n.compareDocumentPosition&&16&n.compareDocumentPosition(i)))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},wt=a?function(n,t){if(n===t)return rt=!0,0;var i=!n.compareDocumentPosition-!t.compareDocumentPosition;return i?i:(i=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1,1&i||!u.sortDetached&&t.compareDocumentPosition(n)===i?n===r||n.ownerDocument===h&&et(h,n)?-1:t===r||t.ownerDocument===h&&et(h,t)?1:w?nt(w,n)-nt(w,t):0:4&i?-1:1)}:function(n,t){if(n===t)return rt=!0,0;var i,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(!o||!s)return n===r?-1:t===r?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;if(o===s)return wi(n,t);for(i=n;i=i.parentNode;)f.unshift(i);for(i=t;i=i.parentNode;)e.unshift(i);while(f[u]===e[u])u++;return u?wi(f[u],e[u]):f[u]===h?-1:e[u]===h?1:0},r):o};r.matches=function(n,t){return r(n,null,null,t)};r.matchesSelector=function(n,t){if((n.ownerDocument||n)!==o&&k(n),t=t.replace(ur,"='$1']"),!(!u.matchesSelector||!l||d&&d.test(t)||e&&e.test(t)))try{var i=ct.call(n,t);if(i||u.disconnectedMatch||n.document&&11!==n.document.nodeType)return i}catch(f){}return r(t,o,null,[n]).length>0};r.contains=function(n,t){return(n.ownerDocument||n)!==o&&k(n),et(n,t)};r.attr=function(n,i){(n.ownerDocument||n)!==o&&k(n);var f=t.attrHandle[i.toLowerCase()],r=f&&di.call(t.attrHandle,i.toLowerCase())?f(n,i,!l):void 0;return void 0!==r?r:u.attributes||!l?n.getAttribute(i):(r=n.getAttributeNode(i))&&r.specified?r.value:null};r.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};r.uniqueSort=function(n){var r,f=[],t=0,i=0;if(rt=!u.detectDuplicates,w=!u.sortStable&&n.slice(0),n.sort(wt),rt){while(r=n[i++])r===n[i]&&(t=f.push(i));while(t--)n.splice(f[t],1)}return w=null,n};st=r.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(3===t||4===t)return n.nodeValue}else while(r=n[u++])i+=st(r);return i};t=r.selectors={cacheLength:50,createPseudo:c,match:at,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),"~="===n[2]&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),"nth"===n[1].slice(0,3)?(n[3]||r.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&r.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return at.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&fr.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return"*"===n?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=si[n+" "];return t||(t=new RegExp("(^|"+i+")"+n+"("+i+"|$)"))&&si(n,function(n){return t.test("string"==typeof n.className&&n.className||"undefined"!=typeof n.getAttribute&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(u){var f=r.attr(u,n);return null==f?"!="===t:t?(f+="","="===t?f===i:"!="===t?f!==i:"^="===t?i&&0===f.indexOf(i):"*="===t?i&&f.indexOf(i)>-1:"$="===t?i&&f.slice(-i.length)===i:"~="===t?(" "+f.replace(tr," ")+" ").indexOf(i)>-1:"|="===t?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s="nth"!==n.slice(0,3),o="last"!==n.slice(-4),e="of-type"===t;return 1===r&&0===u?function(n){return!!n.parentNode}:function(t,i,h){var v,k,c,l,y,w,b=s!==o?"nextSibling":"previousSibling",p=t.parentNode,g=e&&t.nodeName.toLowerCase(),d=!h&&!e;if(p){if(s){while(b){for(c=t;c=c[b];)if(e?c.nodeName.toLowerCase()===g:1===c.nodeType)return!1;w=b="only"===n&&!w&&"nextSibling"}return!0}if(w=[o?p.firstChild:p.lastChild],o&&d){for(k=p[f]||(p[f]={}),v=k[n]||[],y=v[0]===a&&v[1],l=v[0]===a&&v[2],c=y&&p.childNodes[y];c=++y&&c&&c[b]||(l=y=0)||w.pop();)if(1===c.nodeType&&++l&&c===t){k[n]=[a,y,l];break}}else if(d&&(v=(t[f]||(t[f]={}))[n])&&v[0]===a)l=v[1];else while(c=++y&&c&&c[b]||(l=y=0)||w.pop())if((e?c.nodeName.toLowerCase()===g:1===c.nodeType)&&++l&&(d&&((c[f]||(c[f]={}))[n]=[a,l]),c===t))break;return l-=u,l===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var e,u=t.pseudos[n]||t.setFilters[n.toLowerCase()]||r.error("unsupported pseudo: "+n);return u[f]?u(i):u.length>1?(e=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?c(function(n,t){for(var r,f=u(n,i),e=f.length;e--;)r=nt(n,f[e]),n[r]=!(t[r]=f[e])}):function(n){return u(n,0,e)}):u}},pseudos:{not:c(function(n){var t=[],r=[],i=pt(n.replace(lt,"$1"));return i[f]?c(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:c(function(n){return function(t){return r(n,t).length>0}}),contains:c(function(n){return n=n.replace(y,p),function(t){return(t.textContent||t.innerText||st(t)).indexOf(n)>-1}}),lang:c(function(n){return er.test(n||"")||r.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=l?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||0===i.indexOf(n+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===o.activeElement&&(!o.hasFocus||o.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:function(n){return n.disabled===!1},disabled:function(n){return n.disabled===!0},checked:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&!!n.checked||"option"===t&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return sr.test(n.nodeName)},input:function(n){return or.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&"button"===n.type||"button"===t},text:function(n){var t;return"input"===n.nodeName.toLowerCase()&&"text"===n.type&&(null==(t=n.getAttribute("type"))||"text"===t.toLowerCase())},first:tt(function(){return[0]}),last:tt(function(n,t){return[t-1]}),eq:tt(function(n,t,i){return[0>i?i+t:i]}),even:tt(function(n,t){for(var i=0;t>i;i+=2)n.push(i);return n}),odd:tt(function(n,t){for(var i=1;t>i;i+=2)n.push(i);return n}),lt:tt(function(n,t,i){for(var r=0>i?i+t:i;--r>=0;)n.push(r);return n}),gt:tt(function(n,t,i){for(var r=0>i?i+t:i;++r<t;)n.push(r);return n})}};t.pseudos.nth=t.pseudos.eq;for(it in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[it]=lr(it);for(it in{submit:!0,reset:!0})t.pseudos[it]=ar(it);return bi.prototype=t.filters=t.pseudos,t.setFilters=new bi,ft=r.tokenize=function(n,i){var e,f,s,o,u,h,c,l=hi[n+" "];if(l)return i?0:l.slice(0);for(u=n,h=[],c=t.preFilter;u;){(!e||(f=ir.exec(u)))&&(f&&(u=u.slice(f[0].length)||u),h.push(s=[]));e=!1;(f=rr.exec(u))&&(e=f.shift(),s.push({value:e,type:f[0].replace(lt," ")}),u=u.slice(e.length));for(o in t.filter)(f=at[o].exec(u))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),u=u.slice(e.length));if(!e)break}return i?u.length:u?r.error(n):hi(n,h).slice(0)},pt=r.compile=function(n,t){var r,u=[],e=[],i=ci[n+" "];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=fi(t[r]),i[f]?u.push(i):e.push(i);i=ci(n,yr(e,u));i.selector=n}return i},oi=r.select=function(n,i,r,f){var s,e,o,a,v,c="function"==typeof n&&n,h=!f&&ft(n=c.selector||n);if(r=r||[],1===h.length){if(e=h[0]=h[0].slice(0),e.length>2&&"ID"===(o=e[0]).type&&u.getById&&9===i.nodeType&&l&&t.relative[e[1].type]){if(i=(t.find.ID(o.matches[0].replace(y,p),i)||[])[0],!i)return r;c&&(i=i.parentNode);n=n.slice(e.shift().value.length)}for(s=at.needsContext.test(n)?0:e.length;s--;){if(o=e[s],t.relative[a=o.type])break;if((v=t.find[a])&&(f=v(o.matches[0].replace(y,p),dt.test(e[0].type)&&ti(i.parentNode)||i))){if(e.splice(s,1),n=f.length&&vt(e),!n)return b.apply(r,f),r;break}}}return(c||pt(n,h))(f,i,!l,r,dt.test(n)&&ti(i.parentNode)||i),r},u.sortStable=f.split("").sort(wt).join("")===f,u.detectDuplicates=!!rt,k(),u.sortDetached=v(function(n){return 1&n.compareDocumentPosition(o.createElement("div"))}),v(function(n){return n.innerHTML="<a href='#'><\/a>","#"===n.firstChild.getAttribute("href")})||ni("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,"type"===t.toLowerCase()?1:2)}),u.attributes&&v(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),""===n.firstChild.getAttribute("value")})||ni("value",function(n,t,i){if(!i&&"input"===n.nodeName.toLowerCase())return n.defaultValue}),v(function(n){return null==n.getAttribute("disabled")})||ni(bt,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),r}(n);i.find=p;i.expr=p.selectors;i.expr[":"]=i.expr.pseudos;i.unique=p.uniqueSort;i.text=p.getText;i.isXMLDoc=p.isXML;i.contains=p.contains;var fr=i.expr.match.needsContext,er=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,re=/^.[^:#\[\.,]*$/;i.filter=function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),1===t.length&&1===u.nodeType?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return 1===n.nodeType}))};i.fn.extend({find:function(n){var t,r=[],u=this,f=u.length;if("string"!=typeof n)return this.pushStack(i(n).filter(function(){for(t=0;f>t;t++)if(i.contains(u[t],this))return!0}));for(t=0;f>t;t++)i.find(n,u[t],r);return r=this.pushStack(f>1?i.unique(r):r),r.selector=this.selector?this.selector+" "+n:n,r},filter:function(n){return this.pushStack(ui(this,n||[],!1))},not:function(n){return this.pushStack(ui(this,n||[],!0))},is:function(n){return!!ui(this,"string"==typeof n&&fr.test(n)?i(n):n||[],!1).length}});var ft,u=n.document,ue=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,fe=i.fn.init=function(n,t){var r,f;if(!n)return this;if("string"==typeof n){if(r="<"===n.charAt(0)&&">"===n.charAt(n.length-1)&&n.length>=3?[null,n,null]:ue.exec(n),!r||!r[1]&&t)return!t||t.jquery?(t||ft).find(n):this.constructor(t).find(n);if(r[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:u,!0)),er.test(r[1])&&i.isPlainObject(t))for(r in t)i.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if(f=u.getElementById(r[2]),f&&f.parentNode){if(f.id!==r[2])return ft.find(n);this.length=1;this[0]=f}return this.context=u,this.selector=n,this}return n.nodeType?(this.context=this[0]=n,this.length=1,this):i.isFunction(n)?"undefined"!=typeof ft.ready?ft.ready(n):n(i):(void 0!==n.selector&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))};fe.prototype=i.fn;ft=i(u);or=/^(?:parents|prev(?:Until|All))/;sr={children:!0,contents:!0,next:!0,prev:!0};i.extend({dir:function(n,t,r){for(var f=[],u=n[t];u&&9!==u.nodeType&&(void 0===r||1!==u.nodeType||!i(u).is(r));)1===u.nodeType&&f.push(u),u=u[t];return f},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i}});i.fn.extend({has:function(n){var t,r=i(n,this),u=r.length;return this.filter(function(){for(t=0;u>t;t++)if(i.contains(this,r[t]))return!0})},closest:function(n,t){for(var r,f=0,o=this.length,u=[],e=fr.test(n)||"string"!=typeof n?i(n,t||this.context):0;o>f;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:1===r.nodeType&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.unique(u):u)},index:function(n){return n?"string"==typeof n?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.unique(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return hr(n,"nextSibling")},prev:function(n){return hr(n,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling((n.parentNode||{}).firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return i.nodeName(n,"iframe")?n.contentDocument||n.contentWindow.document:i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return"Until"!==n.slice(-5)&&(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),this.length>1&&(sr[n]||(f=i.unique(f)),or.test(n)&&(f=f.reverse())),this.pushStack(f)}});h=/\S+/g;fi={};i.Callbacks=function(n){n="string"==typeof n?fi[n]||ee(n):i.extend({},n);var o,u,h,f,e,c,t=[],r=!n.once&&[],l=function(i){for(u=n.memory&&i,h=!0,e=c||0,c=0,f=t.length,o=!0;t&&f>e;e++)if(t[e].apply(i[0],i[1])===!1&&n.stopOnFalse){u=!1;break}o=!1;t&&(r?r.length&&l(r.shift()):u?t=[]:s.disable())},s={add:function(){if(t){var r=t.length;!function e(r){i.each(r,function(r,u){var f=i.type(u);"function"===f?n.unique&&s.has(u)||t.push(u):u&&u.length&&"string"!==f&&e(u)})}(arguments);o?f=t.length:u&&(c=r,l(u))}return this},remove:function(){return t&&i.each(arguments,function(n,r){for(var u;(u=i.inArray(r,t,u))>-1;)t.splice(u,1),o&&(f>=u&&f--,e>=u&&e--)}),this},has:function(n){return n?i.inArray(n,t)>-1:!(!t||!t.length)},empty:function(){return t=[],f=0,this},disable:function(){return t=r=u=void 0,this},disabled:function(){return!t},lock:function(){return r=void 0,u||s.disable(),this},locked:function(){return!r},fireWith:function(n,i){return!t||h&&!r||(i=i||[],i=[n,i.slice?i.slice():i],o?r.push(i):l(i)),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!h}};return s};i.extend({Deferred:function(n){var u=[["resolve","done",i.Callbacks("once memory"),"resolved"],["reject","fail",i.Callbacks("once memory"),"rejected"],["notify","progress",i.Callbacks("memory")]],f="pending",r={state:function(){return f},always:function(){return t.done(arguments).fail(arguments),this},then:function(){var n=arguments;return i.Deferred(function(f){i.each(u,function(u,e){var o=i.isFunction(n[u])&&n[u];t[e[1]](function(){var n=o&&o.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().done(f.resolve).fail(f.reject).progress(f.notify):f[e[0]+"With"](this===r?f.promise():this,o?[n]:arguments)})});n=null}).promise()},promise:function(n){return null!=n?i.extend(n,r):r}},t={};return r.pipe=r.then,i.each(u,function(n,i){var e=i[2],o=i[3];r[i[1]]=e.add;o&&e.add(function(){f=o},u[1^n][2].disable,u[2][2].lock);t[i[0]]=function(){return t[i[0]+"With"](this===t?r:this,arguments),this};t[i[0]+"With"]=e.fireWith}),r.promise(t),n&&n.call(t,t),t},when:function(n){var t=0,u=l.call(arguments),r=u.length,e=1!==r||n&&i.isFunction(n.promise)?r:0,f=1===e?n:i.Deferred(),h=function(n,t,i){return function(r){t[n]=this;i[n]=arguments.length>1?l.call(arguments):r;i===o?f.notifyWith(t,i):--e||f.resolveWith(t,i)}},o,c,s;if(r>1)for(o=new Array(r),c=new Array(r),s=new Array(r);r>t;t++)u[t]&&i.isFunction(u[t].promise)?u[t].promise().done(h(t,s,u)).fail(f.reject).progress(h(t,c,o)):--e;return e||f.resolveWith(s,u),f.promise()}});i.fn.ready=function(n){return i.ready.promise().done(n),this};i.extend({isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){if(n===!0?!--i.readyWait:!i.isReady){if(!u.body)return setTimeout(i.ready);i.isReady=!0;n!==!0&&--i.readyWait>0||(lt.resolveWith(u,[i]),i.fn.triggerHandler&&(i(u).triggerHandler("ready"),i(u).off("ready")))}}});i.ready.promise=function(t){if(!lt)if(lt=i.Deferred(),"complete"===u.readyState)setTimeout(i.ready);else if(u.addEventListener)u.addEventListener("DOMContentLoaded",a,!1),n.addEventListener("load",a,!1);else{u.attachEvent("onreadystatechange",a);n.attachEvent("onload",a);var r=!1;try{r=null==n.frameElement&&u.documentElement}catch(e){}r&&r.doScroll&&!function f(){if(!i.isReady){try{r.doScroll("left")}catch(n){return setTimeout(f,50)}cr();i.ready()}}()}return lt.promise(t)};o="undefined";for(lr in i(r))break;r.ownLast="0"!==lr;r.inlineBlockNeedsLayout=!1;i(function(){var f,t,n,i;n=u.getElementsByTagName("body")[0];n&&n.style&&(t=u.createElement("div"),i=u.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),typeof t.style.zoom!==o&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",r.inlineBlockNeedsLayout=f=3===t.offsetWidth,f&&(n.style.zoom=1)),n.removeChild(i))}),function(){var n=u.createElement("div");if(null==r.deleteExpando){r.deleteExpando=!0;try{delete n.test}catch(t){r.deleteExpando=!1}}n=null}();i.acceptData=function(n){var t=i.noData[(n.nodeName+" ").toLowerCase()],r=+n.nodeType||1;return 1!==r&&9!==r?!1:!t||t!==!0&&n.getAttribute("classid")===t};ar=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/;vr=/([A-Z])/g;i.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!ei(n)},data:function(n,t,i){return pr(n,t,i)},removeData:function(n,t){return wr(n,t)},_data:function(n,t,i){return pr(n,t,i,!0)},_removeData:function(n,t){return wr(n,t,!0)}});i.fn.extend({data:function(n,t){var f,u,e,r=this[0],o=r&&r.attributes;if(void 0===n){if(this.length&&(e=i.data(r),1===r.nodeType&&!i._data(r,"parsedAttrs"))){for(f=o.length;f--;)o[f]&&(u=o[f].name,0===u.indexOf("data-")&&(u=i.camelCase(u.slice(5)),yr(r,u,e[u])));i._data(r,"parsedAttrs",!0)}return e}return"object"==typeof n?this.each(function(){i.data(this,n)}):arguments.length>1?this.each(function(){i.data(this,n,t)}):r?yr(r,n,i.data(r,n)):void 0},removeData:function(n){return this.each(function(){i.removeData(this,n)})}});i.extend({queue:function(n,t,r){var u;if(n)return(t=(t||"fx")+"queue",u=i._data(n,t),r&&(!u||i.isArray(r)?u=i._data(n,t,i.makeArray(r)):u.push(r)),u||[])},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};"inprogress"===u&&(u=r.shift(),e--);u&&("fx"===t&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var r=t+"queueHooks";return i._data(n,r)||i._data(n,r,{empty:i.Callbacks("once memory").add(function(){i._removeData(n,t+"queue");i._removeData(n,r)})})}});i.fn.extend({queue:function(n,t){var r=2;return"string"!=typeof n&&(t=n,n="fx",r--),arguments.length<r?i.queue(this[0],n):void 0===t?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);"fx"===n&&"inprogress"!==r[0]&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var r,f=1,e=i.Deferred(),u=this,o=this.length,s=function(){--f||e.resolveWith(u,[u])};for("string"!=typeof n&&(t=n,n=void 0),n=n||"fx";o--;)r=i._data(u[o],n+"queueHooks"),r&&r.empty&&(f++,r.empty.add(s));return s(),e.promise(t)}});var at=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=["Top","Right","Bottom","Left"],et=function(n,t){return n=t||n,"none"===i.css(n,"display")||!i.contains(n.ownerDocument,n)},b=i.access=function(n,t,r,u,f,e,o){var s=0,c=n.length,h=null==r;if("object"===i.type(r)){f=!0;for(s in r)i.access(n,t,s,r[s],!0,e,o)}else if(void 0!==u&&(f=!0,i.isFunction(u)||(o=!0),h&&(o?(t.call(n,u),t=null):(h=t,t=function(n,t,r){return h.call(i(n),r)})),t))for(;c>s;s++)t(n[s],r,o?u:u.call(n[s],s,t(n[s],r)));return f?n:h?t.call(n):c?t(n[0],r):e},oi=/^(?:checkbox|radio)$/i;!function(){var t=u.createElement("input"),n=u.createElement("div"),i=u.createDocumentFragment();if(n.innerHTML="  <link/><table><\/table><a href='/a'>a<\/a><input type='checkbox'/>",r.leadingWhitespace=3===n.firstChild.nodeType,r.tbody=!n.getElementsByTagName("tbody").length,r.htmlSerialize=!!n.getElementsByTagName("link").length,r.html5Clone="<:nav><\/:nav>"!==u.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,i.appendChild(t),r.appendChecked=t.checked,n.innerHTML="<textarea>x<\/textarea>",r.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue,i.appendChild(n),n.innerHTML="<input type='radio' checked='checked' name='t'/>",r.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,r.noCloneEvent=!0,n.attachEvent&&(n.attachEvent("onclick",function(){r.noCloneEvent=!1}),n.cloneNode(!0).click()),null==r.deleteExpando){r.deleteExpando=!0;try{delete n.test}catch(f){r.deleteExpando=!1}}}(),function(){var t,i,f=u.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})i="on"+t,(r[t+"Bubbles"]=i in n)||(f.setAttribute(i,"t"),r[t+"Bubbles"]=f.attributes[i].expando===!1);f=null}();var si=/^(?:input|select|textarea)$/i,oe=/^key/,se=/^(?:mouse|pointer|contextmenu)|click/,br=/^(?:focusinfocus|focusoutblur)$/,kr=/^([^.]*)(?:\.(.+)|)$/;i.event={global:{},add:function(n,t,r,u,f){var w,y,b,p,s,c,l,a,e,k,d,v=i._data(n);if(v){for(r.handler&&(p=r,r=p.handler,f=p.selector),r.guid||(r.guid=i.guid++),(y=v.events)||(y=v.events={}),(c=v.handle)||(c=v.handle=function(n){if(typeof i!==o&&(!n||i.event.triggered!==n.type))return i.event.dispatch.apply(c.elem,arguments)},c.elem=n),t=(t||"").match(h)||[""],b=t.length;b--;)w=kr.exec(t[b])||[],e=d=w[1],k=(w[2]||"").split(".").sort(),e&&(s=i.event.special[e]||{},e=(f?s.delegateType:s.bindType)||e,s=i.event.special[e]||{},l=i.extend({type:e,origType:d,data:u,handler:r,guid:r.guid,selector:f,needsContext:f&&i.expr.match.needsContext.test(f),namespace:k.join(".")},p),(a=y[e])||(a=y[e]=[],a.delegateCount=0,s.setup&&s.setup.call(n,u,k,c)!==!1||(n.addEventListener?n.addEventListener(e,c,!1):n.attachEvent&&n.attachEvent("on"+e,c))),s.add&&(s.add.call(n,l),l.handler.guid||(l.handler.guid=r.guid)),f?a.splice(a.delegateCount++,0,l):a.push(l),i.event.global[e]=!0);n=null}},remove:function(n,t,r,u,f){var y,o,s,b,p,a,c,l,e,w,k,v=i.hasData(n)&&i._data(n);if(v&&(a=v.events)){for(t=(t||"").match(h)||[""],p=t.length;p--;)if(s=kr.exec(t[p])||[],e=k=s[1],w=(s[2]||"").split(".").sort(),e){for(c=i.event.special[e]||{},e=(u?c.delegateType:c.bindType)||e,l=a[e]||[],s=s[2]&&new RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=y=l.length;y--;)o=l[y],!f&&k!==o.origType||r&&r.guid!==o.guid||s&&!s.test(o.namespace)||u&&u!==o.selector&&("**"!==u||!o.selector)||(l.splice(y,1),o.selector&&l.delegateCount--,c.remove&&c.remove.call(n,o));b&&!l.length&&(c.teardown&&c.teardown.call(n,w,v.handle)!==!1||i.removeEvent(n,e,v.handle),delete a[e])}else for(e in a)i.event.remove(n,e+t[p],r,u,!0);i.isEmptyObject(a)&&(delete v.handle,i._removeData(n,"events"))}},trigger:function(t,r,f,e){var l,a,o,p,c,h,w,y=[f||u],s=tt.call(t,"type")?t.type:t,v=tt.call(t,"namespace")?t.namespace.split("."):[];if(o=h=f=f||u,3!==f.nodeType&&8!==f.nodeType&&!br.test(s+i.event.triggered)&&(s.indexOf(".")>=0&&(v=s.split("."),s=v.shift(),v.sort()),a=s.indexOf(":")<0&&"on"+s,t=t[i.expando]?t:new i.Event(s,"object"==typeof t&&t),t.isTrigger=e?2:3,t.namespace=v.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=f),r=null==r?[t]:i.makeArray(r,[t]),c=i.event.special[s]||{},e||!c.trigger||c.trigger.apply(f,r)!==!1)){if(!e&&!c.noBubble&&!i.isWindow(f)){for(p=c.delegateType||s,br.test(p+s)||(o=o.parentNode);o;o=o.parentNode)y.push(o),h=o;h===(f.ownerDocument||u)&&y.push(h.defaultView||h.parentWindow||n)}for(w=0;(o=y[w++])&&!t.isPropagationStopped();)t.type=w>1?p:c.bindType||s,l=(i._data(o,"events")||{})[t.type]&&i._data(o,"handle"),l&&l.apply(o,r),l=a&&o[a],l&&l.apply&&i.acceptData(o)&&(t.result=l.apply(o,r),t.result===!1&&t.preventDefault());if(t.type=s,!e&&!t.isDefaultPrevented()&&(!c._default||c._default.apply(y.pop(),r)===!1)&&i.acceptData(f)&&a&&f[s]&&!i.isWindow(f)){h=f[a];h&&(f[a]=null);i.event.triggered=s;try{f[s]()}catch(b){}i.event.triggered=void 0;h&&(f[a]=h)}return t.result}},dispatch:function(n){n=i.event.fix(n);var e,f,t,r,o,s=[],h=l.call(arguments),c=(i._data(this,"events")||{})[n.type]||[],u=i.event.special[n.type]||{};if(h[0]=n,n.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,n)!==!1){for(s=i.event.handlers.call(this,n,c),e=0;(r=s[e++])&&!n.isPropagationStopped();)for(n.currentTarget=r.elem,o=0;(t=r.handlers[o++])&&!n.isImmediatePropagationStopped();)(!n.namespace_re||n.namespace_re.test(t.namespace))&&(n.handleObj=t,n.data=t.data,f=((i.event.special[t.origType]||{}).handle||t.handler).apply(r.elem,h),void 0!==f&&(n.result=f)===!1&&(n.preventDefault(),n.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,n),n.result}},handlers:function(n,t){var f,e,u,o,h=[],s=t.delegateCount,r=n.target;if(s&&r.nodeType&&(!n.button||"click"!==n.type))for(;r!=this;r=r.parentNode||this)if(1===r.nodeType&&(r.disabled!==!0||"click"!==n.type)){for(u=[],o=0;s>o;o++)e=t[o],f=e.selector+" ",void 0===u[f]&&(u[f]=e.needsContext?i(f,this).index(r)>=0:i.find(f,this,null,[r]).length),u[f]&&u.push(e);u.length&&h.push({elem:r,handlers:u})}return s<t.length&&h.push({elem:this,handlers:t.slice(s)}),h},fix:function(n){if(n[i.expando])return n;var e,o,s,r=n.type,f=n,t=this.fixHooks[r];for(t||(this.fixHooks[r]=t=se.test(r)?this.mouseHooks:oe.test(r)?this.keyHooks:{}),s=t.props?this.props.concat(t.props):this.props,n=new i.Event(f),e=s.length;e--;)o=s[e],n[o]=f[o];return n.target||(n.target=f.srcElement||u),3===n.target.nodeType&&(n.target=n.target.parentNode),n.metaKey=!!n.metaKey,t.filter?t.filter(n,f):n},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(n,t){return null==n.which&&(n.which=null!=t.charCode?t.charCode:t.keyCode),n}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,t){var i,e,r,f=t.button,o=t.fromElement;return null==n.pageX&&null!=t.clientX&&(e=n.target.ownerDocument||u,r=e.documentElement,i=e.body,n.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),n.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),!n.relatedTarget&&o&&(n.relatedTarget=o===n.target?t.toElement:o),n.which||void 0===f||(n.which=1&f?1:2&f?3:4&f?2:0),n}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==dr()&&this.focus)try{return this.focus(),!1}catch(n){}},delegateType:"focusin"},blur:{trigger:function(){if(this===dr()&&this.blur)return(this.blur(),!1)},delegateType:"focusout"},click:{trigger:function(){if(i.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return(this.click(),!1)},_default:function(n){return i.nodeName(n.target,"a")}},beforeunload:{postDispatch:function(n){void 0!==n.result&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}},simulate:function(n,t,r,u){var f=i.extend(new i.Event,r,{type:n,isSimulated:!0,originalEvent:{}});u?i.event.trigger(f,null,t):i.event.dispatch.call(t,f);f.isDefaultPrevented()&&r.preventDefault()}};i.removeEvent=u.removeEventListener?function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i,!1)}:function(n,t,i){var r="on"+t;n.detachEvent&&(typeof n[r]===o&&(n[r]=null),n.detachEvent(r,i))};i.Event=function(n,t){return this instanceof i.Event?(n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||void 0===n.defaultPrevented&&n.returnValue===!1?vt:it):this.type=n,t&&i.extend(this,t),this.timeStamp=n&&n.timeStamp||i.now(),void(this[i.expando]=!0)):new i.Event(n,t)};i.Event.prototype={isDefaultPrevented:it,isPropagationStopped:it,isImmediatePropagationStopped:it,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=vt;n&&(n.preventDefault?n.preventDefault():n.returnValue=!1)},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=vt;n&&(n.stopPropagation&&n.stopPropagation(),n.cancelBubble=!0)},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=vt;n&&n.stopImmediatePropagation&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return(!r||r!==f&&!i.contains(f,r))&&(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});r.submitBubbles||(i.event.special.submit={setup:function(){return i.nodeName(this,"form")?!1:void i.event.add(this,"click._submit keypress._submit",function(n){var r=n.target,t=i.nodeName(r,"input")||i.nodeName(r,"button")?r.form:void 0;t&&!i._data(t,"submitBubbles")&&(i.event.add(t,"submit._submit",function(n){n._submit_bubble=!0}),i._data(t,"submitBubbles",!0))})},postDispatch:function(n){n._submit_bubble&&(delete n._submit_bubble,this.parentNode&&!n.isTrigger&&i.event.simulate("submit",this.parentNode,n,!0))},teardown:function(){return i.nodeName(this,"form")?!1:void i.event.remove(this,"._submit")}});r.changeBubbles||(i.event.special.change={setup:function(){return si.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(i.event.add(this,"propertychange._change",function(n){"checked"===n.originalEvent.propertyName&&(this._just_changed=!0)}),i.event.add(this,"click._change",function(n){this._just_changed&&!n.isTrigger&&(this._just_changed=!1);i.event.simulate("change",this,n,!0)})),!1):void i.event.add(this,"beforeactivate._change",function(n){var t=n.target;si.test(t.nodeName)&&!i._data(t,"changeBubbles")&&(i.event.add(t,"change._change",function(n){!this.parentNode||n.isSimulated||n.isTrigger||i.event.simulate("change",this.parentNode,n,!0)}),i._data(t,"changeBubbles",!0))})},handle:function(n){var t=n.target;if(this!==t||n.isSimulated||n.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return n.handleObj.handler.apply(this,arguments)},teardown:function(){return i.event.remove(this,"._change"),!si.test(this.nodeName)}});r.focusinBubbles||i.each({focus:"focusin",blur:"focusout"},function(n,t){var r=function(n){i.event.simulate(t,n.target,i.event.fix(n),!0)};i.event.special[t]={setup:function(){var u=this.ownerDocument||this,f=i._data(u,t);f||u.addEventListener(n,r,!0);i._data(u,t,(f||0)+1)},teardown:function(){var u=this.ownerDocument||this,f=i._data(u,t)-1;f?i._data(u,t,f):(u.removeEventListener(n,r,!0),i._removeData(u,t))}}});i.fn.extend({on:function(n,t,r,u,f){var o,e;if("object"==typeof n){"string"!=typeof t&&(r=r||t,t=void 0);for(o in n)this.on(o,t,r,n[o],f);return this}if(null==r&&null==u?(u=t,r=t=void 0):null==u&&("string"==typeof t?(u=r,r=void 0):(u=r,r=t,t=void 0)),u===!1)u=it;else if(!u)return this;return 1===f&&(e=u,u=function(n){return i().off(n),e.apply(this,arguments)},u.guid=e.guid||(e.guid=i.guid++)),this.each(function(){i.event.add(this,n,u,r,t)})},one:function(n,t,i,r){return this.on(n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if("object"==typeof n){for(f in n)this.off(f,t,n[f]);return this}return(t===!1||"function"==typeof t)&&(r=t,t=void 0),r===!1&&(r=it),this.each(function(){i.event.remove(this,n,r,t)})},trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});var nu="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",he=/ jQuery\d+="(?:null|\d+)"/g,tu=new RegExp("<(?:"+nu+")[\\s/>]","i"),hi=/^\s+/,iu=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ru=/<([\w:]+)/,uu=/<tbody/i,ce=/<|&#?\w+;/,le=/<(?:script|style|link)/i,ae=/checked\s*(?:[^=]|=\s*.checked.)/i,fu=/^$|\/(?:java|ecma)script/i,ve=/^true\/(.*)/,ye=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,s={option:[1,"<select multiple='multiple'>","<\/select>"],legend:[1,"<fieldset>","<\/fieldset>"],area:[1,"<map>","<\/map>"],param:[1,"<object>","<\/object>"],thead:[1,"<table>","<\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],col:[2,"<table><tbody><\/tbody><colgroup>","<\/colgroup><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:r.htmlSerialize?[0,"",""]:[1,"X<div>","<\/div>"]},pe=gr(u),ci=pe.appendChild(u.createElement("div"));s.optgroup=s.option;s.tbody=s.tfoot=s.colgroup=s.caption=s.thead;s.th=s.td;i.extend({clone:function(n,t,u){var e,c,s,o,h,l=i.contains(n.ownerDocument,n);if(r.html5Clone||i.isXMLDoc(n)||!tu.test("<"+n.nodeName+">")?s=n.cloneNode(!0):(ci.innerHTML=n.outerHTML,ci.removeChild(s=ci.firstChild)),!(r.noCloneEvent&&r.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(e=f(s),h=f(n),o=0;null!=(c=h[o]);++o)e[o]&&be(c,e[o]);if(t)if(u)for(h=h||f(n),e=e||f(s),o=0;null!=(c=h[o]);o++)hu(c,e[o]);else hu(n,s);return e=f(s,"script"),e.length>0&&li(e,!l&&f(n,"script")),e=h=c=null,s},buildFragment:function(n,t,u,e){for(var c,o,b,h,p,w,a,k=n.length,v=gr(t),l=[],y=0;k>y;y++)if(o=n[y],o||0===o)if("object"===i.type(o))i.merge(l,o.nodeType?[o]:o);else if(ce.test(o)){for(h=h||v.appendChild(t.createElement("div")),p=(ru.exec(o)||["",""])[1].toLowerCase(),a=s[p]||s._default,h.innerHTML=a[1]+o.replace(iu,"<$1><\/$2>")+a[2],c=a[0];c--;)h=h.lastChild;if(!r.leadingWhitespace&&hi.test(o)&&l.push(t.createTextNode(hi.exec(o)[0])),!r.tbody)for(o="table"!==p||uu.test(o)?"<table>"!==a[1]||uu.test(o)?0:h:h.firstChild,c=o&&o.childNodes.length;c--;)i.nodeName(w=o.childNodes[c],"tbody")&&!w.childNodes.length&&o.removeChild(w);for(i.merge(l,h.childNodes),h.textContent="";h.firstChild;)h.removeChild(h.firstChild);h=v.lastChild}else l.push(t.createTextNode(o));for(h&&v.removeChild(h),r.appendChecked||i.grep(f(l,"input"),we),y=0;o=l[y++];)if((!e||-1===i.inArray(o,e))&&(b=i.contains(o.ownerDocument,o),h=f(v.appendChild(o),"script"),b&&li(h),u))for(c=0;o=h[c++];)fu.test(o.type||"")&&u.push(o);return h=null,v},cleanData:function(n,t){for(var u,e,f,s,a=0,h=i.expando,l=i.cache,v=r.deleteExpando,y=i.event.special;null!=(u=n[a]);a++)if((t||i.acceptData(u))&&(f=u[h],s=f&&l[f])){if(s.events)for(e in s.events)y[e]?i.event.remove(u,e):i.removeEvent(u,e,s.handle);l[f]&&(delete l[f],v?delete u[h]:typeof u.removeAttribute!==o?u.removeAttribute(h):u[h]=null,c.push(f))}}});i.fn.extend({text:function(n){return b(this,function(n){return void 0===n?i.text(this):this.empty().append((this[0]&&this[0].ownerDocument||u).createTextNode(n))},null,n,arguments.length)},append:function(){return this.domManip(arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=eu(this,n);t.appendChild(n)}})},prepend:function(){return this.domManip(arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=eu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},remove:function(n,t){for(var r,e=n?i.filter(n,this):this,u=0;null!=(r=e[u]);u++)t||1!==r.nodeType||i.cleanData(f(r)),r.parentNode&&(t&&i.contains(r.ownerDocument,r)&&li(f(r,"script")),r.parentNode.removeChild(r));return this},empty:function(){for(var n,t=0;null!=(n=this[t]);t++){for(1===n.nodeType&&i.cleanData(f(n,!1));n.firstChild;)n.removeChild(n.firstChild);n.options&&i.nodeName(n,"select")&&(n.options.length=0)}return this},clone:function(n,t){return n=null==n?!1:n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return b(this,function(n){var t=this[0]||{},u=0,e=this.length;if(void 0===n)return 1===t.nodeType?t.innerHTML.replace(he,""):void 0;if(!("string"!=typeof n||le.test(n)||!r.htmlSerialize&&tu.test(n)||!r.leadingWhitespace&&hi.test(n)||s[(ru.exec(n)||["",""])[1].toLowerCase()])){n=n.replace(iu,"<$1><\/$2>");try{for(;e>u;u++)t=this[u]||{},1===t.nodeType&&(i.cleanData(f(t,!1)),t.innerHTML=n);t=0}catch(o){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=arguments[0];return this.domManip(arguments,function(t){n=this.parentNode;i.cleanData(f(this));n&&n.replaceChild(t,this)}),n&&(n.length||n.nodeType)?this:this.remove()},detach:function(n){return this.remove(n,!0)},domManip:function(n,t){n=ir.apply([],n);var h,u,c,o,v,s,e=0,l=this.length,p=this,w=l-1,a=n[0],y=i.isFunction(a);if(y||l>1&&"string"==typeof a&&!r.checkClone&&ae.test(a))return this.each(function(i){var r=p.eq(i);y&&(n[0]=a.call(this,i,r.html()));r.domManip(n,t)});if(l&&(s=i.buildFragment(n,this[0].ownerDocument,!1,this),h=s.firstChild,1===s.childNodes.length&&(s=h),h)){for(o=i.map(f(s,"script"),ou),c=o.length;l>e;e++)u=s,e!==w&&(u=i.clone(u,!0,!0),c&&i.merge(o,f(u,"script"))),t.call(this[e],u,e);if(c)for(v=o[o.length-1].ownerDocument,i.map(o,su),e=0;c>e;e++)u=o[e],fu.test(u.type||"")&&!i._data(u,"globalEval")&&i.contains(v,u)&&(u.src?i._evalUrl&&i._evalUrl(u.src):i.globalEval((u.text||u.textContent||u.innerHTML||"").replace(ye,"")));s=h=null}return this}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,r=0,f=[],e=i(n),o=e.length-1;o>=r;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),ii.apply(f,u.get());return this.pushStack(f)}});ai={};!function(){var n;r.shrinkWrapBlocks=function(){if(null!=n)return n;n=!1;var t,i,r;return i=u.getElementsByTagName("body")[0],i&&i.style?(t=u.createElement("div"),r=u.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(r).appendChild(t),typeof t.style.zoom!==o&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(u.createElement("div")).style.width="5px",n=3!==t.offsetWidth),i.removeChild(r),n):void 0}}();var lu=/^margin/,pt=new RegExp("^("+at+")(?!px)[a-z%]+$","i"),k,d,ke=/^(top|right|bottom|left)$/;n.getComputedStyle?(k=function(t){return t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):n.getComputedStyle(t,null)},d=function(n,t,r){var e,o,s,u,f=n.style;return r=r||k(n),u=r?r.getPropertyValue(t)||r[t]:void 0,r&&(""!==u||i.contains(n.ownerDocument,n)||(u=i.style(n,t)),pt.test(u)&&lu.test(t)&&(e=f.width,o=f.minWidth,s=f.maxWidth,f.minWidth=f.maxWidth=f.width=u,u=r.width,f.width=e,f.minWidth=o,f.maxWidth=s)),void 0===u?u:u+""}):u.documentElement.currentStyle&&(k=function(n){return n.currentStyle},d=function(n,t,i){var o,f,e,r,u=n.style;return i=i||k(n),r=i?i[t]:void 0,null==r&&u&&u[t]&&(r=u[t]),pt.test(r)&&!ke.test(t)&&(o=u.left,f=n.runtimeStyle,e=f&&f.left,e&&(f.left=n.currentStyle.left),u.left="fontSize"===t?"1em":r,r=u.pixelLeft+"px",u.left=o,e&&(f.left=e)),void 0===r?r:r+""||"auto"});!function(){var f,t,l,o,s,e,h;if(f=u.createElement("div"),f.innerHTML="  <link/><table><\/table><a href='/a'>a<\/a><input type='checkbox'/>",l=f.getElementsByTagName("a")[0],t=l&&l.style){t.cssText="float:left;opacity:.5";r.opacity="0.5"===t.opacity;r.cssFloat=!!t.cssFloat;f.style.backgroundClip="content-box";f.cloneNode(!0).style.backgroundClip="";r.clearCloneStyle="content-box"===f.style.backgroundClip;r.boxSizing=""===t.boxSizing||""===t.MozBoxSizing||""===t.WebkitBoxSizing;i.extend(r,{reliableHiddenOffsets:function(){return null==e&&c(),e},boxSizingReliable:function(){return null==s&&c(),s},pixelPosition:function(){return null==o&&c(),o},reliableMarginRight:function(){return null==h&&c(),h}});function c(){var i,r,f,t;r=u.getElementsByTagName("body")[0];r&&r.style&&(i=u.createElement("div"),f=u.createElement("div"),f.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",r.appendChild(f).appendChild(i),i.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",o=s=!1,h=!0,n.getComputedStyle&&(o="1%"!==(n.getComputedStyle(i,null)||{}).top,s="4px"===(n.getComputedStyle(i,null)||{width:"4px"}).width,t=i.appendChild(u.createElement("div")),t.style.cssText=i.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",i.style.width="1px",h=!parseFloat((n.getComputedStyle(t,null)||{}).marginRight),i.removeChild(t)),i.innerHTML="<table><tr><td><\/td><td>t<\/td><\/tr><\/table>",t=i.getElementsByTagName("td"),t[0].style.cssText="margin:0;border:0;padding:0;display:none",e=0===t[0].offsetHeight,e&&(t[0].style.display="",t[1].style.display="none",e=0===t[0].offsetHeight),r.removeChild(f))}}}();i.swap=function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];f=i.apply(n,r||[]);for(u in t)n.style[u]=e[u];return f};var vi=/alpha\([^)]*\)/i,de=/opacity\s*=\s*([^)]*)/,ge=/^(none|table(?!-c[ea]).+)/,no=new RegExp("^("+at+")(.*)$","i"),to=new RegExp("^([+-])=("+at+")","i"),io={position:"absolute",visibility:"hidden",display:"block"},vu={letterSpacing:"0",fontWeight:"400"},yu=["Webkit","O","Moz","ms"];i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=d(n,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:r.cssFloat?"cssFloat":"styleFloat"},style:function(n,t,u,f){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var o,h,e,s=i.camelCase(t),c=n.style;if(t=i.cssProps[s]||(i.cssProps[s]=pu(c,s)),e=i.cssHooks[t]||i.cssHooks[s],void 0===u)return e&&"get"in e&&void 0!==(o=e.get(n,!1,f))?o:c[t];if(h=typeof u,"string"===h&&(o=to.exec(u))&&(u=(o[1]+1)*o[2]+parseFloat(i.css(n,t)),h="number"),null!=u&&u===u&&("number"!==h||i.cssNumber[s]||(u+="px"),r.clearCloneStyle||""!==u||0!==t.indexOf("background")||(c[t]="inherit"),!(e&&"set"in e&&void 0===(u=e.set(n,u,f)))))try{c[t]=u}catch(l){}}},css:function(n,t,r,u){var s,f,e,o=i.camelCase(t);return t=i.cssProps[o]||(i.cssProps[o]=pu(n.style,o)),e=i.cssHooks[t]||i.cssHooks[o],e&&"get"in e&&(f=e.get(n,!0,r)),void 0===f&&(f=d(n,t,u)),"normal"===f&&t in vu&&(f=vu[t]),""===r||r?(s=parseFloat(f),r===!0||i.isNumeric(s)?s||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return ge.test(i.css(n,"display"))&&0===n.offsetWidth?i.swap(n,io,function(){return du(n,t,u)}):du(n,t,u)},set:function(n,u,f){var e=f&&k(n);return bu(n,u,f?ku(n,t,f,r.boxSizing&&"border-box"===i.css(n,"boxSizing",!1,e),e):0)}}});r.opacity||(i.cssHooks.opacity={get:function(n,t){return de.test((t&&n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(n,t){var r=n.style,u=n.currentStyle,e=i.isNumeric(t)?"alpha(opacity="+100*t+")":"",f=u&&u.filter||r.filter||"";r.zoom=1;(t>=1||""===t)&&""===i.trim(f.replace(vi,""))&&r.removeAttribute&&(r.removeAttribute("filter"),""===t||u&&!u.filter)||(r.filter=vi.test(f)?f.replace(vi,e):f+" "+e)}});i.cssHooks.marginRight=au(r.reliableMarginRight,function(n,t){if(t)return i.swap(n,{display:"inline-block"},d,[n,"marginRight"])});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u="string"==typeof i?i.split(" "):[i];4>r;r++)f[n+w[r]+t]=u[r]||u[r-2]||u[0];return f}};lu.test(n)||(i.cssHooks[n+t].set=bu)});i.fn.extend({css:function(n,t){return b(this,function(n,t,r){var f,e,o={},u=0;if(i.isArray(t)){for(f=k(n),e=t.length;e>u;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return void 0!==r?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)},show:function(){return wu(this,!0)},hide:function(){return wu(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){et(this)?i(this).show():i(this).hide()})}});i.Tween=e;e.prototype={constructor:e,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||"swing";this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=e.propHooks[this.prop];return n&&n.get?n.get(this):e.propHooks._default.get(this)},run:function(n){var r,t=e.propHooks[this.prop];return this.pos=r=this.options.duration?i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):n,this.now=(this.end-this.start)*r+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),t&&t.set?t.set(this):e.propHooks._default.set(this),this}};e.prototype.init.prototype=e.prototype;e.propHooks={_default:{get:function(n){var t;return null==n.elem[n.prop]||n.elem.style&&null!=n.elem.style[n.prop]?(t=i.css(n.elem,n.prop,""),t&&"auto"!==t?t:0):n.elem[n.prop]},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.style&&(null!=n.elem.style[i.cssProps[n.prop]]||i.cssHooks[n.prop])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}};e.propHooks.scrollTop=e.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2}};i.fx=e.prototype.init;i.fx.step={};var rt,wt,ro=/^(?:toggle|show|hide)$/,gu=new RegExp("^(?:([+-])=|)("+at+")([a-z%]*)$","i"),uo=/queueHooks$/,bt=[fo],st={"*":[function(n,t){var f=this.createTween(n,t),s=f.cur(),r=gu.exec(t),e=r&&r[3]||(i.cssNumber[n]?"":"px"),u=(i.cssNumber[n]||"px"!==e&&+s)&&gu.exec(i.css(f.elem,n)),o=1,h=20;if(u&&u[3]!==e){e=e||u[3];r=r||[];u=+s||1;do o=o||".5",u/=o,i.style(f.elem,n,u+e);while(o!==(o=f.cur()/s)&&1!==o&&--h)}return r&&(u=f.start=+u||+s||0,f.unit=e,f.end=r[1]?u+(r[1]+1)*r[2]:+r[2]),f}]};i.Animation=i.extend(rf,{tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.split(" ");for(var r,u=0,f=n.length;f>u;u++)r=n[u],st[r]=st[r]||[],st[r].unshift(t)},prefilter:function(n,t){t?bt.unshift(n):bt.push(n)}});i.speed=function(n,t,r){var u=n&&"object"==typeof n?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return u.duration=i.fx.off?0:"number"==typeof u.duration?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,(null==u.queue||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){i.isFunction(u.old)&&u.old.call(this);u.queue&&i.dequeue(this,u.queue)},u};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(et).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,r,u){var o=i.isEmptyObject(n),e=i.speed(t,r,u),f=function(){var t=rf(this,i.extend({},n),e);(o||i._data(this,"finish"))&&t.stop(!0)};return f.finish=f,o||e.queue===!1?this.each(f):this.queue(e.queue,f)},stop:function(n,t,r){var u=function(n){var t=n.stop;delete n.stop;t(r)};return"string"!=typeof n&&(r=t,t=n,n=void 0),t&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var o=!0,t=null!=n&&n+"queueHooks",e=i.timers,f=i._data(this);if(t)f[t]&&f[t].stop&&u(f[t]);else for(t in f)f[t]&&f[t].stop&&uo.test(t)&&u(f[t]);for(t=e.length;t--;)e[t].elem!==this||null!=n&&e[t].queue!==n||(e[t].anim.stop(r),o=!1,e.splice(t,1));(o||!r)&&i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,f=i._data(this),r=f[n+"queue"],e=f[n+"queueHooks"],u=i.timers,o=r?r.length:0;for(f.finish=!0,i.queue(this,n,[]),e&&e.stop&&e.stop.call(this,!0),t=u.length;t--;)u[t].elem===this&&u[t].queue===n&&(u[t].anim.stop(!0),u.splice(t,1));for(t=0;o>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete f.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return null==n||"boolean"==typeof n?r.apply(this,arguments):this.animate(kt(t,!0),n,i,u)}});i.each({slideDown:kt("show"),slideUp:kt("hide"),slideToggle:kt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=i.timers,t=0;for(rt=i.now();t<n.length;t++)r=n[t],r()||n[t]!==r||n.splice(t--,1);n.length||i.fx.stop();rt=void 0};i.fx.timer=function(n){i.timers.push(n);n()?i.fx.start():i.timers.pop()};i.fx.interval=13;i.fx.start=function(){wt||(wt=setInterval(i.fx.tick,i.fx.interval))};i.fx.stop=function(){clearInterval(wt);wt=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(n,t){return n=i.fx?i.fx.speeds[n]||n:n,t=t||"fx",this.queue(t,function(t,i){var r=setTimeout(t,n);i.stop=function(){clearTimeout(r)}})},function(){var n,t,f,i,e;t=u.createElement("div");t.setAttribute("className","t");t.innerHTML="  <link/><table><\/table><a href='/a'>a<\/a><input type='checkbox'/>";i=t.getElementsByTagName("a")[0];f=u.createElement("select");e=f.appendChild(u.createElement("option"));n=t.getElementsByTagName("input")[0];i.style.cssText="top:1px";r.getSetAttribute="t"!==t.className;r.style=/top/.test(i.getAttribute("style"));r.hrefNormalized="/a"===i.getAttribute("href");r.checkOn=!!n.value;r.optSelected=e.selected;r.enctype=!!u.createElement("form").enctype;f.disabled=!0;r.optDisabled=!e.disabled;n=u.createElement("input");n.setAttribute("value","");r.input=""===n.getAttribute("value");n.value="t";n.setAttribute("type","radio");r.radioValue="t"===n.value}();uf=/\r/g;i.fn.extend({val:function(n){var t,r,f,u=this[0];return arguments.length?(f=i.isFunction(n),this.each(function(r){var u;1===this.nodeType&&(u=f?n.call(this,r,i(this).val()):n,null==u?u="":"number"==typeof u?u+="":i.isArray(u)&&(u=i.map(u,function(n){return null==n?"":n+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,u,"value")||(this.value=u))})):u?(t=i.valHooks[u.type]||i.valHooks[u.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(r=t.get(u,"value"))?r:(r=u.value,"string"==typeof r?r.replace(uf,""):null==r?"":r)):void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return null!=t?t:i.trim(i.text(n))}},select:{get:function(n){for(var o,t,s=n.options,u=n.selectedIndex,f="select-one"===n.type||0>u,h=f?null:[],c=f?u+1:s.length,e=0>u?c:f?u:0;c>e;e++)if(t=s[e],!(!t.selected&&e!==u||(r.optDisabled?t.disabled:null!==t.getAttribute("disabled"))||t.parentNode.disabled&&i.nodeName(t.parentNode,"optgroup"))){if(o=i(t).val(),f)return o;h.push(o)}return h},set:function(n,t){for(var f,r,u=n.options,o=i.makeArray(t),e=u.length;e--;)if(r=u[e],i.inArray(i.valHooks.option.get(r),o)>=0)try{r.selected=f=!0}catch(s){r.scrollHeight}else r.selected=!1;return f||(n.selectedIndex=-1),u}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>=0}};r.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});var ut,ff,v=i.expr.attrHandle,yi=/^(?:checked|selected)$/i,g=r.getSetAttribute,dt=r.input;i.fn.extend({attr:function(n,t){return b(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var u,f,e=n.nodeType;if(n&&3!==e&&8!==e&&2!==e)return typeof n.getAttribute===o?i.prop(n,t,r):(1===e&&i.isXMLDoc(n)||(t=t.toLowerCase(),u=i.attrHooks[t]||(i.expr.match.bool.test(t)?ff:ut)),void 0===r?u&&"get"in u&&null!==(f=u.get(n,t))?f:(f=i.find.attr(n,t),null==f?void 0:f):null!==r?u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:(n.setAttribute(t,r+""),r):void i.removeAttr(n,t))},removeAttr:function(n,t){var r,u,e=0,f=t&&t.match(h);if(f&&1===n.nodeType)while(r=f[e++])u=i.propFix[r]||r,i.expr.match.bool.test(r)?dt&&g||!yi.test(r)?n[u]=!1:n[i.camelCase("default-"+r)]=n[u]=!1:i.attr(n,r,""),n.removeAttribute(g?r:u)},attrHooks:{type:{set:function(n,t){if(!r.radioValue&&"radio"===t&&i.nodeName(n,"input")){var u=n.value;return n.setAttribute("type",t),u&&(n.value=u),t}}}}});ff={set:function(n,t,r){return t===!1?i.removeAttr(n,r):dt&&g||!yi.test(r)?n.setAttribute(!g&&i.propFix[r]||r,r):n[i.camelCase("default-"+r)]=n[r]=!0,r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=v[t]||i.find.attr;v[t]=dt&&g||!yi.test(t)?function(n,t,i){var u,f;return i||(f=v[t],v[t]=u,u=null!=r(n,t,i)?t.toLowerCase():null,v[t]=f),u}:function(n,t,r){if(!r)return n[i.camelCase("default-"+t)]?t.toLowerCase():null}});dt&&g||(i.attrHooks.value={set:function(n,t,r){return i.nodeName(n,"input")?void(n.defaultValue=t):ut&&ut.set(n,t,r)}});g||(ut={set:function(n,t,i){var r=n.getAttributeNode(i);return r||n.setAttributeNode(r=n.ownerDocument.createAttribute(i)),r.value=t+="","value"===i||t===n.getAttribute(i)?t:void 0}},v.id=v.name=v.coords=function(n,t,i){var r;if(!i)return(r=n.getAttributeNode(t))&&""!==r.value?r.value:null},i.valHooks.button={get:function(n,t){var i=n.getAttributeNode(t);if(i&&i.specified)return i.value},set:ut.set},i.attrHooks.contenteditable={set:function(n,t,i){ut.set(n,""===t?!1:t,i)}},i.each(["width","height"],function(n,t){i.attrHooks[t]={set:function(n,i){if(""===i)return(n.setAttribute(t,"auto"),i)}}}));r.style||(i.attrHooks.style={get:function(n){return n.style.cssText||void 0},set:function(n,t){return n.style.cssText=t+""}});ef=/^(?:input|select|textarea|button|object)$/i;of=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return b(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return n=i.propFix[n]||n,this.each(function(){try{this[n]=void 0;delete this[n]}catch(t){}})}});i.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(n,t,r){var f,u,o,e=n.nodeType;if(n&&3!==e&&8!==e&&2!==e)return o=1!==e||!i.isXMLDoc(n),o&&(t=i.propFix[t]||t,u=i.propHooks[t]),void 0!==r?u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:n[t]=r:u&&"get"in u&&null!==(f=u.get(n,t))?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):ef.test(n.nodeName)||of.test(n.nodeName)&&n.href?0:-1}}}});r.hrefNormalized||i.each(["href","src"],function(n,t){i.propHooks[t]={get:function(n){return n.getAttribute(t,4)}}});r.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});r.enctype||(i.propFix.enctype="encoding");gt=/[\t\r\n\f]/g;i.fn.extend({addClass:function(n){var o,t,r,u,s,f,e=0,c=this.length,l="string"==typeof n&&n;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(l)for(o=(n||"").match(h)||[];c>e;e++)if(t=this[e],r=1===t.nodeType&&(t.className?(" "+t.className+" ").replace(gt," "):" ")){for(s=0;u=o[s++];)r.indexOf(" "+u+" ")<0&&(r+=u+" ");f=i.trim(r);t.className!==f&&(t.className=f)}return this},removeClass:function(n){var o,t,r,u,s,f,e=0,c=this.length,l=0===arguments.length||"string"==typeof n&&n;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,this.className))});if(l)for(o=(n||"").match(h)||[];c>e;e++)if(t=this[e],r=1===t.nodeType&&(t.className?(" "+t.className+" ").replace(gt," "):"")){for(s=0;u=o[s++];)while(r.indexOf(" "+u+" ")>=0)r=r.replace(" "+u+" "," ");f=n?i.trim(r):"";t.className!==f&&(t.className=f)}return this},toggleClass:function(n,t){var r=typeof n;return"boolean"==typeof t&&"string"===r?t?this.addClass(n):this.removeClass(n):this.each(i.isFunction(n)?function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}:function(){if("string"===r)for(var t,f=0,u=i(this),e=n.match(h)||[];t=e[f++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else(r===o||"boolean"===r)&&(this.className&&i._data(this,"__className__",this.className),this.className=this.className||n===!1?"":i._data(this,"__className__")||"")})},hasClass:function(n){for(var i=" "+n+" ",t=0,r=this.length;r>t;t++)if(1===this[t].nodeType&&(" "+this[t].className+" ").replace(gt," ").indexOf(i)>=0)return!0;return!1}});i.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)},bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return 1===arguments.length?this.off(n,"**"):this.off(t,n||"**",i)}});var pi=i.now(),wi=/\?/,oo=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;i.parseJSON=function(t){if(n.JSON&&n.JSON.parse)return n.JSON.parse(t+"");var f,r=null,u=i.trim(t+"");return u&&!i.trim(u.replace(oo,function(n,t,i,u){return f&&t&&(r=0),0===r?n:(f=i||t,r+=!u-!i,"")}))?Function("return "+u)():i.error("Invalid JSON: "+t)};i.parseXML=function(t){var r,u;if(!t||"string"!=typeof t)return null;try{n.DOMParser?(u=new DOMParser,r=u.parseFromString(t,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(t))}catch(f){r=void 0}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+t),r};var nt,y,so=/#.*$/,sf=/([?&])_=[^&]*/,ho=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,co=/^(?:GET|HEAD)$/,lo=/^\/\//,hf=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,cf={},bi={},lf="*/".concat("*");try{y=location.href}catch(ns){y=u.createElement("a");y.href="";y=y.href}nt=hf.exec(y.toLowerCase())||[];i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:y,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(nt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":lf,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?ki(ki(n,i.ajaxSettings),t):ki(i.ajaxSettings,n)},ajaxPrefilter:af(cf),ajaxTransport:af(bi),ajax:function(n,t){function w(n,t,s,h){var v,it,nt,y,w,c=t;2!==e&&(e=2,k&&clearTimeout(k),a=void 0,b=h||"",u.readyState=n>0?4:0,v=n>=200&&300>n||304===n,s&&(y=ao(r,u,s)),y=vo(r,y,u,v),v?(r.ifModified&&(w=u.getResponseHeader("Last-Modified"),w&&(i.lastModified[f]=w),w=u.getResponseHeader("etag"),w&&(i.etag[f]=w)),204===n||"HEAD"===r.type?c="nocontent":304===n?c="notmodified":(c=y.state,it=y.data,nt=y.error,v=!nt)):(nt=c,(n||!c)&&(c="error",0>n&&(n=0))),u.status=n,u.statusText=(t||c)+"",v?g.resolveWith(o,[it,c,u]):g.rejectWith(o,[u,c,nt]),u.statusCode(p),p=void 0,l&&d.trigger(v?"ajaxSuccess":"ajaxError",[u,r,v?it:nt]),tt.fireWith(o,[u,c]),l&&(d.trigger("ajaxComplete",[u,r]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof n&&(t=n,n=void 0);t=t||{};var s,c,f,b,k,l,a,v,r=i.ajaxSetup({},t),o=r.context||r,d=r.context&&(o.nodeType||o.jquery)?i(o):i.event,g=i.Deferred(),tt=i.Callbacks("once memory"),p=r.statusCode||{},it={},rt={},e=0,ut="canceled",u={readyState:0,getResponseHeader:function(n){var t;if(2===e){if(!v)for(v={};t=ho.exec(b);)v[t[1].toLowerCase()]=t[2];t=v[n.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===e?b:null},setRequestHeader:function(n,t){var i=n.toLowerCase();return e||(n=rt[i]=rt[i]||n,it[n]=t),this},overrideMimeType:function(n){return e||(r.mimeType=n),this},statusCode:function(n){var t;if(n)if(2>e)for(t in n)p[t]=[p[t],n[t]];else u.always(n[u.status]);return this},abort:function(n){var t=n||ut;return a&&a.abort(t),w(0,t),this}};if(g.promise(u).complete=tt.add,u.success=u.done,u.error=u.fail,r.url=((n||r.url||y)+"").replace(so,"").replace(lo,nt[1]+"//"),r.type=t.method||t.type||r.method||r.type,r.dataTypes=i.trim(r.dataType||"*").toLowerCase().match(h)||[""],null==r.crossDomain&&(s=hf.exec(r.url.toLowerCase()),r.crossDomain=!(!s||s[1]===nt[1]&&s[2]===nt[2]&&(s[3]||("http:"===s[1]?"80":"443"))===(nt[3]||("http:"===nt[1]?"80":"443")))),r.data&&r.processData&&"string"!=typeof r.data&&(r.data=i.param(r.data,r.traditional)),vf(cf,r,t,u),2===e)return u;l=i.event&&r.global;l&&0==i.active++&&i.event.trigger("ajaxStart");r.type=r.type.toUpperCase();r.hasContent=!co.test(r.type);f=r.url;r.hasContent||(r.data&&(f=r.url+=(wi.test(f)?"&":"?")+r.data,delete r.data),r.cache===!1&&(r.url=sf.test(f)?f.replace(sf,"$1_="+pi++):f+(wi.test(f)?"&":"?")+"_="+pi++));r.ifModified&&(i.lastModified[f]&&u.setRequestHeader("If-Modified-Since",i.lastModified[f]),i.etag[f]&&u.setRequestHeader("If-None-Match",i.etag[f]));(r.data&&r.hasContent&&r.contentType!==!1||t.contentType)&&u.setRequestHeader("Content-Type",r.contentType);u.setRequestHeader("Accept",r.dataTypes[0]&&r.accepts[r.dataTypes[0]]?r.accepts[r.dataTypes[0]]+("*"!==r.dataTypes[0]?", "+lf+"; q=0.01":""):r.accepts["*"]);for(c in r.headers)u.setRequestHeader(c,r.headers[c]);if(r.beforeSend&&(r.beforeSend.call(o,u,r)===!1||2===e))return u.abort();ut="abort";for(c in{success:1,error:1,complete:1})u[c](r[c]);if(a=vf(bi,r,t,u)){u.readyState=1;l&&d.trigger("ajaxSend",[u,r]);r.async&&r.timeout>0&&(k=setTimeout(function(){u.abort("timeout")},r.timeout));try{e=1;a.send(it,w)}catch(ft){if(!(2>e))throw ft;w(-1,ft)}}else w(-1,"No Transport");return u},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,void 0,t,"script")}});i.each(["get","post"],function(n,t){i[t]=function(n,r,u,f){return i.isFunction(r)&&(f=f||u,u=r,r=void 0),i.ajax({url:n,type:t,dataType:f,data:r,success:u})}});i._evalUrl=function(n){return i.ajax({url:n,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})};i.fn.extend({wrapAll:function(n){if(i.isFunction(n))return this.each(function(t){i(this).wrapAll(n.call(this,t))});if(this[0]){var t=i(n,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]);t.map(function(){for(var n=this;n.firstChild&&1===n.firstChild.nodeType;)n=n.firstChild;return n}).append(this)}return this},wrapInner:function(n){return this.each(i.isFunction(n)?function(t){i(this).wrapInner(n.call(this,t))}:function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()}});i.expr.filters.hidden=function(n){return n.offsetWidth<=0&&n.offsetHeight<=0||!r.reliableHiddenOffsets()&&"none"===(n.style&&n.style.display||i.css(n,"display"))};i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)};var yo=/%20/g,po=/\[\]$/,yf=/\r?\n/g,wo=/^(?:submit|button|image|reset|file)$/i,bo=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,u=[],f=function(n,t){t=i.isFunction(t)?t():null==t?"":t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(void 0===t&&(t=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){f(this.name,this.value)});else for(r in n)di(r,n[r],t,f);return u.join("&").replace(yo,"+")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&bo.test(this.nodeName)&&!wo.test(n)&&(this.checked||!oi.test(n))}).map(function(n,t){var r=i(this).val();return null==r?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(yf,"\r\n")}}):{name:t.name,value:r.replace(yf,"\r\n")}}).get()}});i.ajaxSettings.xhr=void 0!==n.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&pf()||go()}:pf;var ko=0,ni={},ht=i.ajaxSettings.xhr();return n.attachEvent&&n.attachEvent("onunload",function(){for(var n in ni)ni[n](void 0,!0)}),r.cors=!!ht&&"withCredentials"in ht,ht=r.ajax=!!ht,ht&&i.ajaxTransport(function(n){if(!n.crossDomain||r.cors){var t;return{send:function(r,u){var e,f=n.xhr(),o=++ko;if(f.open(n.type,n.url,n.async,n.username,n.password),n.xhrFields)for(e in n.xhrFields)f[e]=n.xhrFields[e];n.mimeType&&f.overrideMimeType&&f.overrideMimeType(n.mimeType);n.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(e in r)void 0!==r[e]&&f.setRequestHeader(e,r[e]+"");f.send(n.hasContent&&n.data||null);t=function(r,e){var s,c,h;if(t&&(e||4===f.readyState))if(delete ni[o],t=void 0,f.onreadystatechange=i.noop,e)4!==f.readyState&&f.abort();else{h={};s=f.status;"string"==typeof f.responseText&&(h.text=f.responseText);try{c=f.statusText}catch(l){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=h.text?200:404}h&&u(s,c,h,f.getAllResponseHeaders())};n.async?4===f.readyState?setTimeout(t):f.onreadystatechange=ni[o]=t:t()},abort:function(){t&&t(void 0,!0)}}}}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){void 0===n.cache&&(n.cache=!1);n.crossDomain&&(n.type="GET",n.global=!1)}),i.ajaxTransport("script",function(n){if(n.crossDomain){var t,r=u.head||i("head")[0]||u.documentElement;return{send:function(i,f){t=u.createElement("script");t.async=!0;n.scriptCharset&&(t.charset=n.scriptCharset);t.src=n.url;t.onload=t.onreadystatechange=function(n,i){(i||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,i||f(200,"success"))};r.insertBefore(t,r.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}}),gi=[],ti=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=gi.pop()||i.expando+"_"+pi++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,u){var f,o,e,s=t.jsonp!==!1&&(ti.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ti.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return(f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ti,"$1"+f):t.jsonp!==!1&&(t.url+=(wi.test(t.url)?"&":"?")+t.jsonp+"="+f),t.converters["script json"]=function(){return e||i.error(f+" was not called"),e[0]},t.dataTypes[0]="json",o=n[f],n[f]=function(){e=arguments},u.always(function(){n[f]=o;t[f]&&(t.jsonpCallback=r.jsonpCallback,gi.push(f));e&&i.isFunction(o)&&o(e[0]);e=o=void 0}),"script")}),i.parseHTML=function(n,t,r){if(!n||"string"!=typeof n)return null;"boolean"==typeof t&&(r=t,t=!1);t=t||u;var f=er.exec(n),e=!r&&[];return f?[t.createElement(f[1])]:(f=i.buildFragment([n],t,e),e&&e.length&&i(e).remove(),i.merge([],f.childNodes))},nr=i.fn.load,i.fn.load=function(n,t,r){if("string"!=typeof n&&nr)return nr.apply(this,arguments);var u,o,s,f=this,e=n.indexOf(" ");return e>=0&&(u=i.trim(n.slice(e,n.length)),n=n.slice(0,e)),i.isFunction(t)?(r=t,t=void 0):t&&"object"==typeof t&&(s="POST"),f.length>0&&i.ajax({url:n,type:s,dataType:"html",data:t}).done(function(n){o=arguments;f.html(u?i("<div>").append(i.parseHTML(n)).find(u):n)}).complete(r&&function(n,t){f.each(r,o||[n.responseText,t,n])}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},tr=n.document.documentElement,i.offset={setOffset:function(n,t,r){var e,o,s,h,u,c,v,l=i.css(n,"position"),a=i(n),f={};"static"===l&&(n.style.position="relative");u=a.offset();s=i.css(n,"top");c=i.css(n,"left");v=("absolute"===l||"fixed"===l)&&i.inArray("auto",[s,c])>-1;v?(e=a.position(),h=e.top,o=e.left):(h=parseFloat(s)||0,o=parseFloat(c)||0);i.isFunction(t)&&(t=t.call(n,r,u));null!=t.top&&(f.top=t.top-u.top+h);null!=t.left&&(f.left=t.left-u.left+o);"using"in t?t.using.call(n,f):a.css(f)}},i.fn.extend({offset:function(n){if(arguments.length)return void 0===n?this:this.each(function(t){i.offset.setOffset(this,n,t)});var t,f,u={top:0,left:0},r=this[0],e=r&&r.ownerDocument;if(e)return t=e.documentElement,i.contains(t,r)?(typeof r.getBoundingClientRect!==o&&(u=r.getBoundingClientRect()),f=wf(e),{top:u.top+(f.pageYOffset||t.scrollTop)-(t.clientTop||0),left:u.left+(f.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):u},position:function(){if(this[0]){var n,r,t={top:0,left:0},u=this[0];return"fixed"===i.css(u,"position")?r=u.getBoundingClientRect():(n=this.offsetParent(),r=this.offset(),i.nodeName(n[0],"html")||(t=n.offset()),t.top+=i.css(n[0],"borderTopWidth",!0),t.left+=i.css(n[0],"borderLeftWidth",!0)),{top:r.top-t.top-i.css(u,"marginTop",!0),left:r.left-t.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||tr;n&&!i.nodeName(n,"html")&&"static"===i.css(n,"position");)n=n.offsetParent;return n||tr})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r=/Y/.test(t);i.fn[n]=function(u){return b(this,function(n,u,f){var e=wf(n);return void 0===f?e?t in e?e[t]:e.document.documentElement[u]:n[u]:void(e?e.scrollTo(r?i(e).scrollLeft():f,r?f:i(e).scrollTop()):n[u]=f)},n,u,arguments.length,null)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=au(r.pixelPosition,function(n,r){if(r)return(r=d(n,t),pt.test(r)?i(n).position()[t]+"px":r)})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(u,f){var e=arguments.length&&(r||"boolean"!=typeof u),o=r||(u===!0||f===!0?"margin":"border");return b(this,function(t,r,u){var f;return i.isWindow(t)?t.document.documentElement["client"+n]:9===t.nodeType?(f=t.documentElement,Math.max(t.body["scroll"+n],f["scroll"+n],t.body["offset"+n],f["offset"+n],f["client"+n])):void 0===u?i.css(t,r,o):i.style(t,r,u,o)},t,e?u:void 0,e,null)}})}),i.fn.size=function(){return this.length},i.fn.andSelf=i.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}),bf=n.jQuery,kf=n.$,i.noConflict=function(t){return n.$===i&&(n.$=kf),t&&n.jQuery===i&&(n.jQuery=bf),i},typeof t===o&&(n.jQuery=n.$=i),i}),function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.Popper=t()}(this,function(){"use strict";function ut(n){return n&&"[object Function]"==={}.toString.call(n)}function e(n,t){if(1!==n.nodeType)return[];var i=window.getComputedStyle(n,null);return t?i[t]:i}function y(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function o(n){if(!n||-1!==["HTML","BODY","#document"].indexOf(n.nodeName))return window.document.body;var t=e(n),i=t.overflow,r=t.overflowX,u=t.overflowY;return/(auto|scroll)/.test(i+u+r)?n:o(y(n))}function r(n){var t=n&&n.offsetParent,i=t&&t.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(t.nodeName)&&"static"===e(t,"position")?r(t):t:window.document.documentElement}function ri(n){var t=n.nodeName;return"BODY"!==t&&("HTML"===t||r(n.firstElementChild)===n)}function p(n){return null===n.parentNode?n:p(n.parentNode)}function h(n,t){var i,f;if(!n||!n.nodeType||!t||!t.nodeType)return window.document.documentElement;var e=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=e?n:t,s=e?t:n,u=document.createRange();return(u.setStart(o,0),u.setEnd(s,0),i=u.commonAncestorContainer,n!==i&&t!==i||o.contains(s))?ri(i)?i:r(i):(f=p(n),f.host?h(f.host,t):h(n,p(t).host))}function u(n){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top",t="top"===f?"scrollTop":"scrollLeft",i=n.nodeName,r,u;return"BODY"===i||"HTML"===i?(r=window.document.documentElement,u=window.document.scrollingElement||r,u[t]):n[t]}function ui(n,t){var e=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=u(t,"top"),f=u(t,"left"),i=e?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=f*i,n.right+=f*i,n}function ft(n,t){var i="x"===t?"Left":"Top",r="Left"==i?"Right":"Bottom";return+n["border"+i+"Width"].split("px")[0]+ +n["border"+r+"Width"].split("px")[0]}function et(n,t,r,u){return i(t["offset"+n],r["client"+n],r["offset"+n],l()?r["offset"+n]+u["margin"+("Height"===n?"Top":"Left")]+u["margin"+("Height"===n?"Bottom":"Right")]:0)}function ot(){var t=window.document.body,n=window.document.documentElement,i=l()&&window.getComputedStyle(n);return{height:et("Height",t,n,i),width:et("Width",t,n,i)}}function t(t){return n({},t,{right:t.left+t.width,bottom:t.top+t.height})}function w(n){var i={},f,o,c;if(l())try{i=n.getBoundingClientRect();f=u(n,"top");o=u(n,"left");i.top+=f;i.left+=o;i.bottom+=f;i.right+=o}catch(n){}else i=n.getBoundingClientRect();var r={left:i.left,top:i.top,width:i.right-i.left,height:i.bottom-i.top},a="HTML"===n.nodeName?ot():{},v=a.width||n.clientWidth||r.right-r.left,y=a.height||n.clientHeight||r.bottom-r.top,s=n.offsetWidth-v,h=n.offsetHeight-y;return(s||h)&&(c=e(n),s-=ft(c,"x"),h-=ft(c,"y"),r.width-=s,r.height-=h),t(r)}function b(n,i){var y=l(),b="HTML"===i.nodeName,u=w(n),p=w(i),c=o(n),f=e(i),a=+f.borderTopWidth.split("px")[0],v=+f.borderLeftWidth.split("px")[0],r=t({top:u.top-p.top-a,left:u.left-p.left-v,width:u.width,height:u.height}),s,h;return(r.marginTop=0,r.marginLeft=0,!y&&b)&&(s=+f.marginTop.split("px")[0],h=+f.marginLeft.split("px")[0],r.top-=a-s,r.bottom-=a-s,r.left-=v-h,r.right-=v-h,r.marginTop=s,r.marginLeft=h),(y?i.contains(c):i===c&&"BODY"!==c.nodeName)&&(r=ui(r,i)),r}function fi(n){var r=window.document.documentElement,f=b(n,r),e=i(r.clientWidth,window.innerWidth||0),o=i(r.clientHeight,window.innerHeight||0),s=u(r),h=u(r,"left"),c={top:s-f.top+f.marginTop,left:h-f.left+f.marginLeft,width:e,height:o};return t(c)}function st(n){var t=n.nodeName;return"BODY"===t||"HTML"===t?!1:"fixed"===e(n,"position")||st(y(n))}function k(n,t,i,r){var u={top:0,left:0},s=h(n,t),e,f;if("viewport"===r)u=fi(s);else if("scrollParent"===r?(e=o(y(n)),"BODY"===e.nodeName&&(e=window.document.documentElement)):e="window"===r?window.document.documentElement:r,f=b(e,s),"HTML"!==e.nodeName||st(s))u=f;else{var c=ot(),l=c.height,a=c.width;u.top+=f.top-f.marginTop;u.bottom=l+f.top;u.left+=f.left-f.marginLeft;u.right=a+f.left}return u.left+=i,u.top+=i,u.right-=i,u.bottom-=i,u}function ei(n){var t=n.width,i=n.height;return t*i}function ht(t,i,r,u,f){var l=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var e=k(r,u,l,f),o={top:{width:e.width,height:i.top-e.top},right:{width:e.right-i.right,height:e.height},bottom:{width:e.width,height:e.bottom-i.bottom},left:{width:i.left-e.left,height:e.height}},s=Object.keys(o).map(function(t){return n({key:t},o[t],{area:ei(o[t])})}).sort(function(n,t){return t.area-n.area}),h=s.filter(function(n){var t=n.width,i=n.height;return t>=r.clientWidth&&i>=r.clientHeight}),a=0<h.length?h[0].key:s[0].key,c=t.split("-")[1];return a+(c?"-"+c:"")}function ct(n,t,i){var r=h(t,i);return b(i,r)}function lt(n){var t=window.getComputedStyle(n),i=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:n.offsetWidth+r,height:n.offsetHeight+i}}function c(n){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(n){return t[n]})}function at(n,t,i){i=i.split("-")[0];var r=lt(n),e={width:r.width,height:r.height},u=-1!==["right","left"].indexOf(i),o=u?"top":"left",f=u?"left":"top",s=u?"height":"width",h=u?"width":"height";return e[o]=t[o]+t[s]/2-r[s]/2,e[f]=i===f?t[f]-r[h]:t[c(f)],e}function s(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function oi(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=s(n,function(n){return n[t]===i});return n.indexOf(r)}function vt(n,i,r){var u=void 0===r?n:n.slice(0,oi(n,"name",r));return u.forEach(function(n){n.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=n.function||n.fn;n.enabled&&ut(r)&&(i.offsets.popper=t(i.offsets.popper),i.offsets.reference=t(i.offsets.reference),i=r(i,n))}),i}function si(){if(!this.state.isDestroyed){var n={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=ct(this.state,this.popper,this.reference);n.placement=ht(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding);n.originalPlacement=n.placement;n.offsets.popper=at(this.popper,n.offsets.reference,n.placement);n.offsets.popper.position="absolute";n=vt(this.modifiers,n);this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}function yt(n,t){return n.some(function(n){var i=n.name,r=n.enabled;return r&&i===t})}function pt(n){for(var i,r,u=[!1,"ms","Webkit","Moz","O"],f=n.charAt(0).toUpperCase()+n.slice(1),t=0;t<u.length-1;t++)if(i=u[t],r=i?""+i+f:n,"undefined"!=typeof window.document.body.style[r])return r;return null}function hi(){return this.state.isDestroyed=!0,yt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[pt("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function wt(n,t,i,r){var f="BODY"===n.nodeName,u=f?window:n;u.addEventListener(t,i,{passive:!0});f||wt(o(u.parentNode),t,i,r);r.push(u)}function ci(n,t,i,r){i.updateBound=r;window.addEventListener("resize",i.updateBound,{passive:!0});var u=o(n);return wt(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function li(){this.state.eventsEnabled||(this.state=ci(this.reference,this.options,this.state,this.scheduleUpdate))}function ai(n,t){return window.removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(n){n.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function vi(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=ai(this.reference,this.state))}function d(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function g(n,t){Object.keys(t).forEach(function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&d(t[i])&&(r="px");n.style[i]=t[i]+r})}function yi(n,t){Object.keys(t).forEach(function(i){var r=t[i];!1===r?n.removeAttribute(i):n.setAttribute(i,t[i])})}function bt(n,t,i){var u=s(n,function(n){var i=n.name;return i===t}),f=!!u&&n.some(function(n){return n.name===i&&n.enabled&&n.order<u.order}),r;return f||(r="`"+t+"`",console.warn("`"+i+"` modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),f}function pi(n){return"end"===n?"start":"start"===n?"end":n}function kt(n){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1],t=it.indexOf(n),i=it.slice(t+1).concat(it.slice(0,t));return r?i.reverse():i}function wi(n,r,u,f){var h=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+h[1],e=h[2],s,c,l;if(!o)return n;if(0===e.indexOf("%")){switch(e){case"%p":s=u;break;case"%":case"%r":default:s=f}return c=t(s),c[r]/100*o}return"vh"===e||"vw"===e?(l="vh"===e?i(document.documentElement.clientHeight,window.innerHeight||0):i(document.documentElement.clientWidth,window.innerWidth||0),l/100*o):o}function bi(n,t,i,r){var h=[0,0],c=-1!==["right","left"].indexOf(r),u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(s(u,function(n){return-1!==n.search(/,|\s/)})),o,e;return u[f]&&-1===u[f].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),o=/\s*,\s*|\s+/,e=-1===f?[u]:[u.slice(0,f).concat([u[f].split(o)[0]]),[u[f].split(o)[1]].concat(u.slice(f+1))],e=e.map(function(n,r){var f=(1===r?!c:c)?"height":"width",u=!1;return n.reduce(function(n,t){return""===n[n.length-1]&&-1!==["+","-"].indexOf(t)?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return wi(n,f,t,i)})}),e.forEach(function(n,t){n.forEach(function(i,r){d(i)&&(h[t]+=i*("-"===n[r-1]?-1:1))})}),h}for(var dt=Math.min,f=Math.floor,i=Math.max,ki=["native code","[object MutationObserverConstructor]"],di=function(n){return ki.some(function(t){return-1<(n||"").toString().indexOf(t)})},gt="undefined"!=typeof window,ni=["Edge","Trident","Firefox"],ti=0,nt=0;nt<ni.length;nt+=1)if(gt&&0<=navigator.userAgent.indexOf(ni[nt])){ti=1;break}var tt,gi=gt&&di(window.MutationObserver),nr=gi?function(n){var t=!1,i=0,r=document.createElement("span"),u=new MutationObserver(function(){n();t=!1});return u.observe(r,{attributes:!0}),function(){t||(t=!0,r.setAttribute("x-index",i),++i)}}:function(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},ti))}},l=function(){return void 0==tt&&(tt=-1!==navigator.appVersion.indexOf("MSIE 10")),tt},tr=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},ir=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),a=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},n=Object.assign||function(n){for(var t,r,i=1;i<arguments.length;i++)for(r in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},ii=["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"],it=ii.slice(3),rt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},v=function(){function t(i,r){var u=this,f=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},e;tr(this,t);this.scheduleUpdate=function(){return requestAnimationFrame(u.update)};this.update=nr(this.update.bind(this));this.options=n({},t.Defaults,f);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=i.jquery?i[0]:i;this.popper=r.jquery?r[0]:r;this.options.modifiers={};Object.keys(n({},t.Defaults.modifiers,f.modifiers)).forEach(function(i){u.options.modifiers[i]=n({},t.Defaults.modifiers[i]||{},f.modifiers?f.modifiers[i]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(t){return n({name:t},u.options.modifiers[t])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){n.enabled&&ut(n.onLoad)&&n.onLoad(u.reference,u.popper,u.options,n,u.state)});this.update();e=this.options.eventsEnabled;e&&this.enableEventListeners();this.state.eventsEnabled=e}return ir(t,[{key:"update",value:function(){return si.call(this)}},{key:"destroy",value:function(){return hi.call(this)}},{key:"enableEventListeners",value:function(){return li.call(this)}},{key:"disableEventListeners",value:function(){return vi.call(this)}}]),t}();return v.Utils=("undefined"==typeof window?global:window).PopperUtils,v.placements=ii,v.Defaults={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var u=t.placement,c=u.split("-")[0],f=u.split("-")[1];if(f){var e=t.offsets,r=e.reference,o=e.popper,s=-1!==["bottom","top"].indexOf(c),i=s?"left":"top",h=s?"width":"height",l={start:a({},i,r[i]),end:a({},i,r[i]+r[h]-o[h])};t.offsets.popper=n({},o,l[f])}return t}},offset:{order:200,enabled:!0,fn:function(n,t){var r,f=t.offset,o=n.placement,e=n.offsets,i=e.popper,s=e.reference,u=o.split("-")[0];return r=d(+f)?[+f,0]:bi(f,i,s,u),"left"===u?(i.top+=r[0],i.left-=r[1]):"right"===u?(i.top+=r[0],i.left+=r[1]):"top"===u?(i.left+=r[0],i.top-=r[1]):"bottom"===u&&(i.left+=r[0],i.top+=r[1]),n.popper=i,n},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,u){var o=u.boundariesElement||r(t.instance.popper),e;t.instance.reference===o&&(o=r(o));e=k(t.instance.popper,t.instance.reference,u.padding,o);u.boundaries=e;var s=u.priority,f=t.offsets.popper,h={primary:function(n){var t=f[n];return f[n]<e[n]&&!u.escapeWithReference&&(t=i(f[n],e[n])),a({},n,t)},secondary:function(n){var t="right"===n?"left":"top",i=f[t];return f[n]>e[n]&&!u.escapeWithReference&&(i=dt(f[t],e[n]-("right"===n?f.width:f.height))),a({},t,i)}};return s.forEach(function(t){var i=-1===["left","top"].indexOf(t)?"secondary":"primary";f=n({},f,h[i](t))}),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(n){var s=n.offsets,u=s.popper,i=s.reference,h=n.placement.split("-")[0],r=f,e=-1!==["top","bottom"].indexOf(h),o=e?"right":"bottom",t=e?"left":"top",c=e?"width":"height";return u[o]<r(i[t])&&(n.offsets.popper[t]=r(i[t])-u[c]),u[t]>r(i[o])&&(n.offsets.popper[t]=r(i[o])),n}},arrow:{order:500,enabled:!0,fn:function(n,r){var f,y,l;if(!bt(n.instance.modifiers,"arrow","keepTogether"))return n;if(f=r.element,"string"==typeof f){if(f=n.instance.popper.querySelector(f),!f)return n}else if(!n.instance.popper.contains(f))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var p=n.placement.split("-")[0],v=n.offsets,s=v.popper,e=v.reference,h=-1!==["left","right"].indexOf(p),a=h?"height":"width",u=h?"top":"left",w=h?"left":"top",c=h?"bottom":"right",o=lt(f)[a];return e[c]-o<s[u]&&(n.offsets.popper[u]-=s[u]-(e[c]-o)),e[u]+o>s[c]&&(n.offsets.popper[u]+=e[u]+o-s[c]),y=e[u]+e[a]/2-o/2,l=y-t(n.offsets.popper)[u],l=i(dt(s[a]-o,l),0),n.arrowElement=f,n.offsets.arrow={},n.offsets.arrow[u]=Math.round(l),n.offsets.arrow[w]="",n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,i){if(yt(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var o=k(t.instance.popper,t.instance.reference,i.padding,i.boundariesElement),r=t.placement.split("-")[0],s=c(r),u=t.placement.split("-")[1]||"",e=[];switch(i.behavior){case rt.FLIP:e=[r,s];break;case rt.CLOCKWISE:e=kt(r);break;case rt.COUNTERCLOCKWISE:e=kt(r,!0);break;default:e=i.behavior}return e.forEach(function(h,l){if(r!==h||e.length===l+1)return t;r=t.placement.split("-")[0];s=c(r);var v=t.offsets.popper,y=t.offsets.reference,a=f,w="left"===r&&a(v.right)>a(y.left)||"right"===r&&a(v.left)<a(y.right)||"top"===r&&a(v.bottom)>a(y.top)||"bottom"===r&&a(v.top)<a(y.bottom),b=a(v.left)<a(o.left),k=a(v.right)>a(o.right),d=a(v.top)<a(o.top),g=a(v.bottom)>a(o.bottom),nt="left"===r&&b||"right"===r&&k||"top"===r&&d||"bottom"===r&&g,p=-1!==["top","bottom"].indexOf(r),tt=!!i.flipVariations&&(p&&"start"===u&&b||p&&"end"===u&&k||!p&&"start"===u&&d||!p&&"end"===u&&g);(w||nt||tt)&&(t.flipped=!0,(w||nt)&&(r=e[l+1]),tt&&(u=pi(u)),t.placement=r+(u?"-"+u:""),t.offsets.popper=n({},t.offsets.popper,at(t.instance.popper,t.offsets.reference,t.placement)),t=vt(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(n){var i=n.placement,u=i.split("-")[0],f=n.offsets,r=f.popper,o=f.reference,e=-1!==["left","right"].indexOf(u),s=-1===["top","left"].indexOf(u);return r[e?"left":"top"]=o[i]-(s?r[e?"width":"height"]:0),n.placement=c(i),n.offsets.popper=t(r),n}},hide:{order:800,enabled:!0,fn:function(n){if(!bt(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=s(n.instance.modifiers,function(n){return"preventOverflow"===n.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(!0===n.hide)return n;n.hide=!0;n.attributes["x-out-of-boundaries"]=""}else{if(!1===n.hide)return n;n.hide=!1;n.attributes["x-out-of-boundaries"]=!1}return n}},computeStyle:{order:850,enabled:!0,fn:function(t,i){var g=i.x,nt=i.y,e=t.offsets.popper,l=s(t.instance.modifiers,function(n){return"applyStyle"===n.name}).gpuAcceleration,b,k,d;void 0!==l&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,v,tt=void 0===l?i.gpuAcceleration:l,it=r(t.instance.popper),y=w(it),u={position:e.position},c={left:f(e.left),top:f(e.top),bottom:f(e.bottom),right:f(e.right)},o="bottom"===g?"top":"bottom",h="right"===nt?"left":"right",p=pt("transform");return(v="bottom"==o?-y.height+c.bottom:c.top,a="right"==h?-y.width+c.right:c.left,tt&&p)?(u[p]="translate3d("+a+"px, "+v+"px, 0)",u[o]=0,u[h]=0,u.willChange="transform"):(b="bottom"==o?-1:1,k="right"==h?-1:1,u[o]=v*b,u[h]=a*k,u.willChange=o+", "+h),d={"x-placement":t.placement},t.attributes=n({},d,t.attributes),t.styles=n({},u,t.styles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(n){return g(n.instance.popper,n.styles),yi(n.instance.popper,n.attributes),n.offsets.arrow&&g(n.arrowElement,n.offsets.arrow),n},onLoad:function(n,t,i,r,u){var f=ct(u,t,n),e=ht(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),g(t,{position:"absolute"}),i},gpuAcceleration:void 0}}},v});!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t(n.bootstrap={},n.jQuery,n.Popper)}(this,function(n,t,i){"use strict";function it(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function o(n,t,i){return t&&it(n.prototype,t),i&&it(n,i),n}function f(){return(f=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}t=t&&t.hasOwnProperty("default")?t.default:t;i=i&&i.hasOwnProperty("default")?i.default:i;var e,h,v,y,rt,p,ut,ft,et,s,u,c,w,b,k,ot,l,st,ht,g,ct,lt,at,nt,tt,a,r=function(n){function r(i){var u=this,r=!1;return n(this).one(t.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||t.triggerTransitionEnd(u)},i),this}var i=!1,t={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n},getSelectorFromElement:function(t){var r,i=t.getAttribute("data-target");i&&"#"!==i||(i=t.getAttribute("href")||"");"#"===i.charAt(0)&&(r=i,i=r="function"==typeof n.escapeSelector?n.escapeSelector(r).substr(1):r.replace(/(:|\.|\[|\]|,|=|@)/g,"\\$1"));try{return n(document).find(i).length>0?i:null}catch(n){return null}},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(i.end)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,i,r){var u,s;for(u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var e=r[u],f=i[u],o=f&&t.isElement(f)?"element":(s=f,{}.toString.call(s).match(/\s([a-zA-Z]+)/)[1].toLowerCase());if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+': Option "'+u+'" provided type "'+o+'" but expected type "'+e+'".');}}};return i=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},n.fn.emulateTransitionEnd=r,t.supportsTransitionEnd()&&(n.event.special[t.TRANSITION_END]={bindType:i.end,delegateType:i.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),t}(t),vt=(h="alert",y="."+(v="bs.alert"),rt=(e=t).fn[h],p={CLOSE:"close"+y,CLOSED:"closed"+y,CLICK_DATA_API:"click"+y+".data-api"},ut="alert",ft="fade",et="show",s=function(){function n(n){this._element=n}var t=n.prototype;return t.close=function(n){n=n||this._element;var t=this._getRootElement(n);this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){e.removeData(this._element,v);this._element=null},t._getRootElement=function(n){var i=r.getSelectorFromElement(n),t=!1;return i&&(t=e(i)[0]),t||(t=e(n).closest("."+ut)[0]),t},t._triggerCloseEvent=function(n){var t=e.Event(p.CLOSE);return e(n).trigger(t),t},t._removeElement=function(n){var t=this;e(n).removeClass(et);r.supportsTransitionEnd()&&e(n).hasClass(ft)?e(n).one(r.TRANSITION_END,function(i){return t._destroyElement(n,i)}).emulateTransitionEnd(150):this._destroyElement(n)},t._destroyElement=function(n){e(n).detach().trigger(p.CLOSED).remove()},n._jQueryInterface=function(t){return this.each(function(){var r=e(this),i=r.data(v);i||(i=new n(this),r.data(v,i));"close"===t&&i[t](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},o(n,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),n}(),e(document).on(p.CLICK_DATA_API,'[data-dismiss="alert"]',s._handleDismiss(new s)),e.fn[h]=s._jQueryInterface,e.fn[h].Constructor=s,e.fn[h].noConflict=function(){return e.fn[h]=rt,s._jQueryInterface},s),yt=(c="button",b="."+(w="bs.button"),k=".data-api",ot=(u=t).fn[c],l="active",st="btn",ht="focus",g='[data-toggle^="button"]',ct='[data-toggle="buttons"]',lt="input",at=".active",nt=".btn",tt={CLICK_DATA_API:"click"+b+k,FOCUS_BLUR_DATA_API:"focus"+b+k+" blur"+b+k},a=function(){function n(n){this._element=n}var t=n.prototype;return t.toggle=function(){var i=!0,f=!0,t=u(this._element).closest(ct)[0],n,r;if(t&&(n=u(this._element).find(lt)[0],n)){if("radio"===n.type&&(n.checked&&u(this._element).hasClass(l)?i=!1:(r=u(t).find(at)[0],r&&u(r).removeClass(l))),i){if(n.hasAttribute("disabled")||t.hasAttribute("disabled")||n.classList.contains("disabled")||t.classList.contains("disabled"))return;n.checked=!u(this._element).hasClass(l);u(n).trigger("change")}n.focus();f=!1}f&&this._element.setAttribute("aria-pressed",!u(this._element).hasClass(l));i&&u(this._element).toggleClass(l)},t.dispose=function(){u.removeData(this._element,w);this._element=null},n._jQueryInterface=function(t){return this.each(function(){var i=u(this).data(w);i||(i=new n(this),u(this).data(w,i));"toggle"===t&&i[t]()})},o(n,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),n}(),u(document).on(tt.CLICK_DATA_API,g,function(n){n.preventDefault();var t=n.target;u(t).hasClass(st)||(t=u(t).closest(nt));a._jQueryInterface.call(u(t),"toggle")}).on(tt.FOCUS_BLUR_DATA_API,g,function(n){var t=u(n.target).closest(nt)[0];u(t).toggleClass(ht,/^focus(in)?$/.test(n.type))}),u.fn[c]=a._jQueryInterface,u.fn[c].Constructor=a,u.fn[c].noConflict=function(){return u.fn[c]=ot,a._jQueryInterface},a),pt=function(n){var s="carousel",c="bs.carousel",t="."+c,y=n.fn[s],v={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},p={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},l="next",a="prev",w="left",b="right",i={SLIDE:"slide"+t,SLID:"slid"+t,KEYDOWN:"keydown"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t,TOUCHEND:"touchend"+t,LOAD_DATA_API:"load"+t+".data-api",CLICK_DATA_API:"click"+t+".data-api"},k="carousel",e="active",d="slide",g="carousel-item-right",nt="carousel-item-left",tt="carousel-item-next",it="carousel-item-prev",u={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},h=function(){function y(t,i){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this._config=this._getConfig(i);this._element=n(t)[0];this._indicatorsElement=n(this._element).find(u.INDICATORS)[0];this._addEventListeners()}var h=y.prototype;return h.next=function(){this._isSliding||this._slide(l)},h.nextWhenVisible=function(){!document.hidden&&n(this._element).is(":visible")&&"hidden"!==n(this._element).css("visibility")&&this.next()},h.prev=function(){this._isSliding||this._slide(a)},h.pause=function(t){t||(this._isPaused=!0);n(this._element).find(u.NEXT_PREV)[0]&&r.supportsTransitionEnd()&&(r.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},h.cycle=function(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},h.to=function(t){var e=this,r,f;if(this._activeElement=n(this._element).find(u.ACTIVE_ITEM)[0],r=this._getItemIndex(this._activeElement),!(t>this._items.length-1||t<0))if(this._isSliding)n(this._element).one(i.SLID,function(){return e.to(t)});else{if(r===t)return this.pause(),void this.cycle();f=t>r?l:a;this._slide(f,this._items[t])}},h.dispose=function(){n(this._element).off(t);n.removeData(this._element,c);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},h._getConfig=function(n){return n=f({},v,n),r.typeCheckConfig(s,n,p),n},h._addEventListeners=function(){var t=this;this._config.keyboard&&n(this._element).on(i.KEYDOWN,function(n){return t._keydown(n)});"hover"===this._config.pause&&(n(this._element).on(i.MOUSEENTER,function(n){return t.pause(n)}).on(i.MOUSELEAVE,function(n){return t.cycle(n)}),"ontouchstart"in document.documentElement&&n(this._element).on(i.TOUCHEND,function(){t.pause();t.touchTimeout&&clearTimeout(t.touchTimeout);t.touchTimeout=setTimeout(function(n){return t.cycle(n)},500+t._config.interval)}))},h._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case 37:n.preventDefault();this.prev();break;case 39:n.preventDefault();this.next()}},h._getItemIndex=function(t){return this._items=n.makeArray(n(t).parent().find(u.ITEM)),this._items.indexOf(t)},h._getItemByDirection=function(n,t){var u=n===l,f=n===a,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+(n===a?-1:1))%this._items.length,-1===r?this._items[this._items.length-1]:this._items[r])},h._triggerSlideEvent=function(t,r){var e=this._getItemIndex(t),o=this._getItemIndex(n(this._element).find(u.ACTIVE_ITEM)[0]),f=n.Event(i.SLIDE,{relatedTarget:t,direction:r,from:o,to:e});return n(this._element).trigger(f),f},h._setActiveIndicatorElement=function(t){if(this._indicatorsElement){n(this._indicatorsElement).find(u.ACTIVE).removeClass(e);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&n(i).addClass(e)}},h._slide=function(t,f){var h,c,a,y=this,s=n(this._element).find(u.ACTIVE_ITEM)[0],k=this._getItemIndex(s),o=f||s&&this._getItemByDirection(t,s),rt=this._getItemIndex(o),p=Boolean(this._interval),v;(t===l?(h=nt,c=tt,a=w):(h=g,c=it,a=b),o&&n(o).hasClass(e))?this._isSliding=!1:!this._triggerSlideEvent(o,a).isDefaultPrevented()&&s&&o&&(this._isSliding=!0,p&&this.pause(),this._setActiveIndicatorElement(o),v=n.Event(i.SLID,{relatedTarget:o,direction:a,from:k,to:rt}),r.supportsTransitionEnd()&&n(this._element).hasClass(d)?(n(o).addClass(c),r.reflow(o),n(s).addClass(h),n(o).addClass(h),n(s).one(r.TRANSITION_END,function(){n(o).removeClass(h+" "+c).addClass(e);n(s).removeClass(e+" "+c+" "+h);y._isSliding=!1;setTimeout(function(){return n(y._element).trigger(v)},0)}).emulateTransitionEnd(600)):(n(s).removeClass(e),n(o).addClass(e),this._isSliding=!1,n(this._element).trigger(v)),p&&this.cycle())},y._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(c),r=f({},v,n(this).data()),u;if("object"==typeof t&&(r=f({},r,t)),u="string"==typeof t?t:r.slide,i||(i=new y(this,r),n(this).data(c,i)),"number"==typeof t)i.to(t);else if("string"==typeof u){if("undefined"==typeof i[u])throw new TypeError('No method named "'+u+'"');i[u]()}else r.interval&&(i.pause(),i.cycle())})},y._dataApiClickHandler=function(t){var o=r.getSelectorFromElement(this),i,e,u;o&&(i=n(o)[0],i&&n(i).hasClass(k)&&(e=f({},n(i).data(),n(this).data()),u=this.getAttribute("data-slide-to"),u&&(e.interval=!1),y._jQueryInterface.call(n(i),e),u&&n(i).data(c).to(u),t.preventDefault()))},o(y,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return v}}]),y}();return n(document).on(i.CLICK_DATA_API,u.DATA_SLIDE,h._dataApiClickHandler),n(window).on(i.LOAD_DATA_API,function(){n(u.DATA_RIDE).each(function(){var t=n(this);h._jQueryInterface.call(t,t.data())})}),n.fn[s]=h._jQueryInterface,n.fn[s].Constructor=h,n.fn[s].noConflict=function(){return n.fn[s]=y,h._jQueryInterface},h}(t),wt=function(n){var u="collapse",t="bs.collapse",e="."+t,w=n.fn[u],a={toggle:!0,parent:""},b={toggle:"boolean",parent:"(string|element)"},s={SHOW:"show"+e,SHOWN:"shown"+e,HIDE:"hide"+e,HIDDEN:"hidden"+e,CLICK_DATA_API:"click"+e+".data-api"},i="show",c="collapse",l="collapsing",v="collapsed",p="width",k="height",y={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},h=function(){function h(t,i){var e,u,o,f;for(this._isTransitioning=!1,this._element=t,this._config=this._getConfig(i),this._triggerArray=n.makeArray(n('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]')),e=n(y.DATA_TOGGLE),u=0;u<e.length;u++)o=e[u],f=r.getSelectorFromElement(o),null!==f&&n(f).filter(t).length>0&&(this._selector=f,this._triggerArray.push(o));this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var e=h.prototype;return e.toggle=function(){n(this._element).hasClass(i)?this.hide():this.show()},e.show=function(){var u,o,e=this,a,f,p,w;this._isTransitioning||n(this._element).hasClass(i)||(this._parent&&0===(u=n.makeArray(n(this._parent).find(y.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length&&(u=null),u&&(o=n(u).not(this._selector).data(t))&&o._isTransitioning)||(a=n.Event(s.SHOW),(n(this._element).trigger(a),a.isDefaultPrevented())||(u&&(h._jQueryInterface.call(n(u).not(this._selector),"hide"),o||n(u).data(t,null)),f=this._getDimension(),n(this._element).removeClass(c).addClass(l),this._element.style[f]=0,this._triggerArray.length>0&&n(this._triggerArray).removeClass(v).attr("aria-expanded",!0),this.setTransitioning(!0),p=function(){n(e._element).removeClass(l).addClass(c).addClass(i);e._element.style[f]="";e.setTransitioning(!1);n(e._element).trigger(s.SHOWN)},r.supportsTransitionEnd()?(w="scroll"+(f[0].toUpperCase()+f.slice(1)),n(this._element).one(r.TRANSITION_END,p).emulateTransitionEnd(600),this._element.style[f]=this._element[w]+"px"):p()))},e.hide=function(){var a=this,f,t,u,e,o,h;if(!this._isTransitioning&&n(this._element).hasClass(i)&&(f=n.Event(s.HIDE),n(this._element).trigger(f),!f.isDefaultPrevented())){if(t=this._getDimension(),this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",r.reflow(this._element),n(this._element).addClass(l).removeClass(c).removeClass(i),this._triggerArray.length>0)for(u=0;u<this._triggerArray.length;u++)e=this._triggerArray[u],o=r.getSelectorFromElement(e),null!==o&&(n(o).hasClass(i)||n(e).addClass(v).attr("aria-expanded",!1));this.setTransitioning(!0);h=function(){a.setTransitioning(!1);n(a._element).removeClass(l).addClass(c).trigger(s.HIDDEN)};this._element.style[t]="";r.supportsTransitionEnd()?n(this._element).one(r.TRANSITION_END,h).emulateTransitionEnd(600):h()}},e.setTransitioning=function(n){this._isTransitioning=n},e.dispose=function(){n.removeData(this._element,t);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},e._getConfig=function(n){return(n=f({},a,n)).toggle=Boolean(n.toggle),r.typeCheckConfig(u,n,b),n},e._getDimension=function(){return n(this._element).hasClass(p)?p:k},e._getParent=function(){var u=this,t=null,i;return r.isElement(this._config.parent)?(t=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(t=this._config.parent[0])):t=n(this._config.parent)[0],i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',n(t).find(i).each(function(n,t){u._addAriaAndCollapsedClass(h._getTargetFromElement(t),[t])}),t},e._addAriaAndCollapsedClass=function(t,r){if(t){var u=n(t).hasClass(i);r.length>0&&n(r).toggleClass(v,!u).attr("aria-expanded",u)}},h._getTargetFromElement=function(t){var i=r.getSelectorFromElement(t);return i?n(i)[0]:null},h._jQueryInterface=function(i){return this.each(function(){var u=n(this),r=u.data(t),e=f({},a,u.data(),"object"==typeof i&&i);if(!r&&e.toggle&&/show|hide/.test(i)&&(e.toggle=!1),r||(r=new h(this,e),u.data(t,r)),"string"==typeof i){if("undefined"==typeof r[i])throw new TypeError('No method named "'+i+'"');r[i]()}})},o(h,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return a}}]),h}();return n(document).on(s.CLICK_DATA_API,y.DATA_TOGGLE,function(i){"A"===i.currentTarget.tagName&&i.preventDefault();var u=n(this),f=r.getSelectorFromElement(this);n(f).each(function(){var i=n(this),r=i.data(t)?"toggle":u.data();h._jQueryInterface.call(i,r)})}),n.fn[u]=h._jQueryInterface,n.fn[u].Constructor=h,n.fn[u].noConflict=function(){return n.fn[u]=w,h._jQueryInterface},h}(t),bt=function(n){var h="dropdown",c="bs.dropdown",u="."+c,a=".data-api",b=n.fn[h],k=new RegExp("38|40|27"),t={HIDE:"hide"+u,HIDDEN:"hidden"+u,SHOW:"show"+u,SHOWN:"shown"+u,CLICK:"click"+u,CLICK_DATA_API:"click"+u+a,KEYDOWN_DATA_API:"keydown"+u+a,KEYUP_DATA_API:"keyup"+u+a},p="disabled",s="show",w="dropup",d="dropright",g="dropleft",v="dropdown-menu-right",nt="dropdown-menu-left",tt="position-static",l='[data-toggle="dropdown"]',y=".dropdown-menu",it=".navbar-nav",rt=".dropdown-menu .dropdown-item:not(.disabled)",ut="top-start",ft="top-end",et="bottom-start",ot="bottom-end",st="right-start",ht="left-start",ct={offset:0,flip:!0,boundary:"scrollParent"},lt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},e=function(){function e(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var a=e.prototype;return a.toggle=function(){var r,h,u,f,o;if(!this._element.disabled&&!n(this._element).hasClass(p)&&(r=e._getParentFromElement(this._element),h=n(this._menu).hasClass(s),(e._clearMenus(),!h)&&(u={relatedTarget:this._element},f=n.Event(t.SHOW,u),n(r).trigger(f),!f.isDefaultPrevented()))){if(!this._inNavbar){if("undefined"==typeof i)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");o=this._element;n(r).hasClass(w)&&(n(this._menu).hasClass(nt)||n(this._menu).hasClass(v))&&(o=r);"scrollParent"!==this._config.boundary&&n(r).addClass(tt);this._popper=new i(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===n(r).closest(it).length&&n("body").children().on("mouseover",null,n.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);n(this._menu).toggleClass(s);n(r).toggleClass(s).trigger(n.Event(t.SHOWN,u))}},a.dispose=function(){n.removeData(this._element,c);n(this._element).off(u);this._element=null;this._menu=null;null!==this._popper&&(this._popper.destroy(),this._popper=null)},a.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},a._addEventListeners=function(){var i=this;n(this._element).on(t.CLICK,function(n){n.preventDefault();n.stopPropagation();i.toggle()})},a._getConfig=function(t){return t=f({},this.constructor.Default,n(this._element).data(),t),r.typeCheckConfig(h,t,this.constructor.DefaultType),t},a._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);this._menu=n(t).find(y)[0]}return this._menu},a._getPlacement=function(){var i=n(this._element).parent(),t=et;return i.hasClass(w)?(t=ut,n(this._menu).hasClass(v)&&(t=ft)):i.hasClass(d)?t=st:i.hasClass(g)?t=ht:n(this._menu).hasClass(v)&&(t=ot),t},a._detectNavbar=function(){return n(this._element).closest(".navbar").length>0},a._getPopperConfig=function(){var t=this,n={};return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=f({},n.offsets,t._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(c);if(i||(i=new e(this,"object"==typeof t?t:null),n(this).data(c,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},e._clearMenus=function(i){var u,r,v,o;if(!i||3!==i.which&&("keyup"!==i.type||9===i.which))for(u=n.makeArray(n(l)),r=0;r<u.length;r++){var f=e._getParentFromElement(u[r]),h=n(u[r]).data(c),a={relatedTarget:u[r]};h&&(v=h._menu,!n(f).hasClass(s)||i&&("click"===i.type&&/input|textarea/i.test(i.target.tagName)||"keyup"===i.type&&9===i.which)&&n.contains(f,i.target)||(o=n.Event(t.HIDE,a),n(f).trigger(o),o.isDefaultPrevented()||("ontouchstart"in document.documentElement&&n("body").children().off("mouseover",null,n.noop),u[r].setAttribute("aria-expanded","false"),n(v).removeClass(s),n(f).removeClass(s).trigger(n.Event(t.HIDDEN,a)))))}},e._getParentFromElement=function(t){var i,u=r.getSelectorFromElement(t);return u&&(i=n(u)[0]),i||t.parentNode},e._dataApiKeydownHandler=function(t){var u,f,r,i,o;(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||n(t.target).closest(y).length):!k.test(t.which))||(t.preventDefault(),t.stopPropagation(),this.disabled||n(this).hasClass(p))||(u=e._getParentFromElement(this),f=n(u).hasClass(s),(f||27===t.which&&32===t.which)&&(!f||27!==t.which&&32!==t.which)?(r=n(u).find(rt).get(),0!==r.length&&(i=r.indexOf(t.target),38===t.which&&i>0&&i--,40===t.which&&i<r.length-1&&i++,i<0&&(i=0),r[i].focus())):(27===t.which&&(o=n(u).find(l)[0],n(o).trigger("focus")),n(this).trigger("click")))},o(e,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return ct}},{key:"DefaultType",get:function(){return lt}}]),e}();return n(document).on(t.KEYDOWN_DATA_API,l,e._dataApiKeydownHandler).on(t.KEYDOWN_DATA_API,y,e._dataApiKeydownHandler).on(t.CLICK_DATA_API+" "+t.KEYUP_DATA_API,e._clearMenus).on(t.CLICK_DATA_API,l,function(t){t.preventDefault();t.stopPropagation();e._jQueryInterface.call(n(this),"toggle")}).on(t.CLICK_DATA_API,".dropdown form",function(n){n.stopPropagation()}),n.fn[h]=e._jQueryInterface,n.fn[h].Constructor=e,n.fn[h].noConflict=function(){return n.fn[h]=b,e._jQueryInterface},e}(t),kt=function(n){var v="modal",s="bs.modal",i="."+s,y=n.fn.modal,l={backdrop:!0,keyboard:!0,focus:!0,show:!0},p={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},t={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,FOCUSIN:"focusin"+i,RESIZE:"resize"+i,CLICK_DISMISS:"click.dismiss"+i,KEYDOWN_DISMISS:"keydown.dismiss"+i,MOUSEUP_DISMISS:"mouseup.dismiss"+i,MOUSEDOWN_DISMISS:"mousedown.dismiss"+i,CLICK_DATA_API:"click"+i+".data-api"},w="modal-scrollbar-measure",b="modal-backdrop",a="modal-open",e="fade",c="show",u={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},h=function(){function y(t,i){this._config=this._getConfig(i);this._element=t;this._dialog=n(t).find(u.DIALOG)[0];this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._originalBodyPadding=0;this._scrollbarWidth=0}var h=y.prototype;return h.toggle=function(n){return this._isShown?this.hide():this.show(n)},h.show=function(i){var f=this,o;this._isTransitioning||this._isShown||(r.supportsTransitionEnd()&&n(this._element).hasClass(e)&&(this._isTransitioning=!0),o=n.Event(t.SHOW,{relatedTarget:i}),n(this._element).trigger(o),this._isShown||o.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),n(document.body).addClass(a),this._setEscapeEvent(),this._setResizeEvent(),n(this._element).on(t.CLICK_DISMISS,u.DATA_DISMISS,function(n){return f.hide(n)}),n(this._dialog).on(t.MOUSEDOWN_DISMISS,function(){n(f._element).one(t.MOUSEUP_DISMISS,function(t){n(t.target).is(f._element)&&(f._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return f._showElement(i)})))},h.hide=function(i){var o=this,u,f;(i&&i.preventDefault(),!this._isTransitioning&&this._isShown)&&(u=n.Event(t.HIDE),(n(this._element).trigger(u),this._isShown&&!u.isDefaultPrevented())&&(this._isShown=!1,f=r.supportsTransitionEnd()&&n(this._element).hasClass(e),f&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),n(document).off(t.FOCUSIN),n(this._element).removeClass(c),n(this._element).off(t.CLICK_DISMISS),n(this._dialog).off(t.MOUSEDOWN_DISMISS),f?n(this._element).one(r.TRANSITION_END,function(n){return o._hideModal(n)}).emulateTransitionEnd(300):this._hideModal()))},h.dispose=function(){n.removeData(this._element,s);n(window,document,this._element,this._backdrop).off(i);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null},h.handleUpdate=function(){this._adjustDialog()},h._getConfig=function(n){return n=f({},l,n),r.typeCheckConfig(v,n,p),n},h._showElement=function(i){var u=this,o=r.supportsTransitionEnd()&&n(this._element).hasClass(e),s,f;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element);this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.scrollTop=0;o&&r.reflow(this._element);n(this._element).addClass(c);this._config.focus&&this._enforceFocus();s=n.Event(t.SHOWN,{relatedTarget:i});f=function(){u._config.focus&&u._element.focus();u._isTransitioning=!1;n(u._element).trigger(s)};o?n(this._dialog).one(r.TRANSITION_END,f).emulateTransitionEnd(300):f()},h._enforceFocus=function(){var i=this;n(document).off(t.FOCUSIN).on(t.FOCUSIN,function(t){document!==t.target&&i._element!==t.target&&0===n(i._element).has(t.target).length&&i._element.focus()})},h._setEscapeEvent=function(){var i=this;this._isShown&&this._config.keyboard?n(this._element).on(t.KEYDOWN_DISMISS,function(n){27===n.which&&(n.preventDefault(),i.hide())}):this._isShown||n(this._element).off(t.KEYDOWN_DISMISS)},h._setResizeEvent=function(){var i=this;this._isShown?n(window).on(t.RESIZE,function(n){return i.handleUpdate(n)}):n(window).off(t.RESIZE)},h._hideModal=function(){var i=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._isTransitioning=!1;this._showBackdrop(function(){n(document.body).removeClass(a);i._resetAdjustments();i._resetScrollbar();n(i._element).trigger(t.HIDDEN)})},h._removeBackdrop=function(){this._backdrop&&(n(this._backdrop).remove(),this._backdrop=null)},h._showBackdrop=function(i){var u=this,f=n(this._element).hasClass(e)?e:"",o,s;if(this._isShown&&this._config.backdrop){if(o=r.supportsTransitionEnd()&&f,this._backdrop=document.createElement("div"),this._backdrop.className=b,f&&n(this._backdrop).addClass(f),n(this._backdrop).appendTo(document.body),n(this._element).on(t.CLICK_DISMISS,function(n){u._ignoreBackdropClick?u._ignoreBackdropClick=!1:n.target===n.currentTarget&&("static"===u._config.backdrop?u._element.focus():u.hide())}),o&&r.reflow(this._backdrop),n(this._backdrop).addClass(c),!i)return;if(!o)return void i();n(this._backdrop).one(r.TRANSITION_END,i).emulateTransitionEnd(150)}else!this._isShown&&this._backdrop?(n(this._backdrop).removeClass(c),s=function(){u._removeBackdrop();i&&i()},r.supportsTransitionEnd()&&n(this._element).hasClass(e)?n(this._backdrop).one(r.TRANSITION_END,s).emulateTransitionEnd(150):s()):i&&i()},h._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},h._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},h._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},h._setScrollbar=function(){var t=this,i,r;this._isBodyOverflowing&&(n(u.FIXED_CONTENT).each(function(i,r){var u=n(r)[0].style.paddingRight,f=n(r).css("padding-right");n(r).data("padding-right",u).css("padding-right",parseFloat(f)+t._scrollbarWidth+"px")}),n(u.STICKY_CONTENT).each(function(i,r){var u=n(r)[0].style.marginRight,f=n(r).css("margin-right");n(r).data("margin-right",u).css("margin-right",parseFloat(f)-t._scrollbarWidth+"px")}),n(u.NAVBAR_TOGGLER).each(function(i,r){var u=n(r)[0].style.marginRight,f=n(r).css("margin-right");n(r).data("margin-right",u).css("margin-right",parseFloat(f)+t._scrollbarWidth+"px")}),i=document.body.style.paddingRight,r=n("body").css("padding-right"),n("body").data("padding-right",i).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px"))},h._resetScrollbar=function(){n(u.FIXED_CONTENT).each(function(t,i){var r=n(i).data("padding-right");"undefined"!=typeof r&&n(i).css("padding-right",r).removeData("padding-right")});n(u.STICKY_CONTENT+", "+u.NAVBAR_TOGGLER).each(function(t,i){var r=n(i).data("margin-right");"undefined"!=typeof r&&n(i).css("margin-right",r).removeData("margin-right")});var t=n("body").data("padding-right");"undefined"!=typeof t&&n("body").css("padding-right",t).removeData("padding-right")},h._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=w,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},y._jQueryInterface=function(t,i){return this.each(function(){var r=n(this).data(s),u=f({},y.Default,n(this).data(),"object"==typeof t&&t);if(r||(r=new y(this,u),n(this).data(s,r)),"string"==typeof t){if("undefined"==typeof r[t])throw new TypeError('No method named "'+t+'"');r[t](i)}else u.show&&r.show(i)})},o(y,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return l}}]),y}();return n(document).on(t.CLICK_DATA_API,u.DATA_TOGGLE,function(i){var u,e=this,o=r.getSelectorFromElement(this),c,l;o&&(u=n(o)[0]);c=n(u).data(s)?"toggle":f({},n(u).data(),n(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||i.preventDefault();l=n(u).one(t.SHOW,function(i){i.isDefaultPrevented()||l.one(t.HIDDEN,function(){n(e).is(":visible")&&e.focus()})});h._jQueryInterface.call(n(u),c,this)}),n.fn.modal=h._jQueryInterface,n.fn.modal.Constructor=h,n.fn.modal.noConflict=function(){return n.fn.modal=y,h._jQueryInterface},h}(t),d=function(n){var u="tooltip",l="bs.tooltip",t="."+l,p=n.fn[u],w=new RegExp("(^|\\s)bs-tooltip\\S+","g"),b={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},k={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},d={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"},e="show",v="out",g={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},s="fade",h="show",nt=".tooltip-inner",tt=".arrow",c="hover",y="focus",it="click",rt="manual",a=function(){function p(n,t){if("undefined"==typeof i)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var a=p.prototype;return a.enable=function(){this._isEnabled=!0},a.disable=function(){this._isEnabled=!1},a.toggleEnabled=function(){this._isEnabled=!this._isEnabled},a.toggle=function(t){if(this._isEnabled)if(t){var r=this.constructor.DATA_KEY,i=n(t.currentTarget).data(r);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(n(this.getTipElement()).hasClass(h))return void this._leave(null,this);this._enter(null,this)}},a.dispose=function(){clearTimeout(this._timeout);n.removeData(this.element,this.constructor.DATA_KEY);n(this.element).off(this.constructor.EVENT_KEY);n(this.element).closest(".modal").off("hide.bs.modal");this.tip&&n(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;null!==this._popper&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},a.show=function(){var t=this,f,l,u,e,a,o,y,c;if("none"===n(this.element).css("display"))throw new Error("Please use show on visible elements");if(f=n.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(n(this.element).trigger(f),l=n.contains(this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!l)return;u=this.getTipElement();e=r.getUID(this.constructor.NAME);u.setAttribute("id",e);this.element.setAttribute("aria-describedby",e);this.setContent();this.config.animation&&n(u).addClass(s);a="function"==typeof this.config.placement?this.config.placement.call(this,u,this.element):this.config.placement;o=this._getAttachment(a);this.addAttachmentClass(o);y=!1===this.config.container?document.body:n(this.config.container);n(u).data(this.constructor.DATA_KEY,this);n.contains(this.element.ownerDocument.documentElement,this.tip)||n(u).appendTo(y);n(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new i(this.element,u,{placement:o,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:tt},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){t._handlePopperPlacementChange(n)}});n(u).addClass(h);"ontouchstart"in document.documentElement&&n("body").children().on("mouseover",null,n.noop);c=function(){t.config.animation&&t._fixTransition();var i=t._hoverState;t._hoverState=null;n(t.element).trigger(t.constructor.Event.SHOWN);i===v&&t._leave(null,t)};r.supportsTransitionEnd()&&n(this.tip).hasClass(s)?n(this.tip).one(r.TRANSITION_END,c).emulateTransitionEnd(p._TRANSITION_DURATION):c()}},a.hide=function(t){var i=this,u=this.getTipElement(),f=n.Event(this.constructor.Event.HIDE),o=function(){i._hoverState!==e&&u.parentNode&&u.parentNode.removeChild(u);i._cleanTipClass();i.element.removeAttribute("aria-describedby");n(i.element).trigger(i.constructor.Event.HIDDEN);null!==i._popper&&i._popper.destroy();t&&t()};n(this.element).trigger(f);f.isDefaultPrevented()||(n(u).removeClass(h),"ontouchstart"in document.documentElement&&n("body").children().off("mouseover",null,n.noop),this._activeTrigger[it]=!1,this._activeTrigger[y]=!1,this._activeTrigger[c]=!1,r.supportsTransitionEnd()&&n(this.tip).hasClass(s)?n(u).one(r.TRANSITION_END,o).emulateTransitionEnd(150):o(),this._hoverState="")},a.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},a.isWithContent=function(){return Boolean(this.getTitle())},a.addAttachmentClass=function(t){n(this.getTipElement()).addClass("bs-tooltip-"+t)},a.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},a.setContent=function(){var t=n(this.getTipElement());this.setElementContent(t.find(nt),this.getTitle());t.removeClass(s+" "+h)},a.setElementContent=function(t,i){var r=this.config.html;"object"==typeof i&&(i.nodeType||i.jquery)?r?n(i).parent().is(t)||t.empty().append(i):t.text(n(i).text()):t[r?"html":"text"](i)},a.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),n},a._getAttachment=function(n){return k[n.toUpperCase()]},a._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)n(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(n){return t.toggle(n)});else if(i!==rt){var r=i===c?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,u=i===c?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;n(t.element).on(r,t.config.selector,function(n){return t._enter(n)}).on(u,t.config.selector,function(n){return t._leave(n)})}n(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})});this.config.selector?this.config=f({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},a._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==n)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},a._enter=function(t,i){var r=this.constructor.DATA_KEY;(i=i||n(t.currentTarget).data(r))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));t&&(i._activeTrigger["focusin"===t.type?y:c]=!0);n(i.getTipElement()).hasClass(h)||i._hoverState===e?i._hoverState=e:(clearTimeout(i._timeout),i._hoverState=e,i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){i._hoverState===e&&i.show()},i.config.delay.show):i.show())},a._leave=function(t,i){var r=this.constructor.DATA_KEY;(i=i||n(t.currentTarget).data(r))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));t&&(i._activeTrigger["focusout"===t.type?y:c]=!1);i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=v,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){i._hoverState===v&&i.hide()},i.config.delay.hide):i.hide())},a._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},a._getConfig=function(t){return"number"==typeof(t=f({},this.constructor.Default,n(this.element).data(),t)).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),r.typeCheckConfig(u,t,this.constructor.DefaultType),t},a._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},a._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(w);null!==t&&t.length>0&&i.removeClass(t.join(""))},a._handlePopperPlacementChange=function(n){this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},a._fixTransition=function(){var t=this.getTipElement(),i=this.config.animation;null===t.getAttribute("x-placement")&&(n(t).removeClass(s),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},p._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(l),r="object"==typeof t&&t;if((i||!/dispose|hide/.test(t))&&(i||(i=new p(this,r),n(this).data(l,i)),"string"==typeof t)){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},o(p,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return u}},{key:"DATA_KEY",get:function(){return l}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return b}}]),p}();return n.fn[u]=a._jQueryInterface,n.fn[u].Constructor=a,n.fn[u].noConflict=function(){return n.fn[u]=p,a._jQueryInterface},a}(t),dt=function(n){var i="popover",r="bs.popover",t="."+r,e=n.fn[i],s=new RegExp("(^|\\s)bs-popover\\S+","g"),h=f({},d.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>'}),c=f({},d.DefaultType,{content:"(string|element|function)"}),l="fade",a="show",v=".popover-header",y=".popover-body",p={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},u=function(u){function e(){return u.apply(this,arguments)||this}var w,b,f;return b=u,(w=e).prototype=Object.create(b.prototype),w.prototype.constructor=w,w.__proto__=b,f=e.prototype,f.isWithContent=function(){return this.getTitle()||this._getContent()},f.addAttachmentClass=function(t){n(this.getTipElement()).addClass("bs-popover-"+t)},f.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},f.setContent=function(){var i=n(this.getTipElement()),t;this.setElementContent(i.find(v),this.getTitle());t=this._getContent();"function"==typeof t&&(t=t.call(this.element));this.setElementContent(i.find(y),t);i.removeClass(l+" "+a)},f._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},f._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(s);null!==t&&t.length>0&&i.removeClass(t.join(""))},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(r),u="object"==typeof t?t:null;if((i||!/destroy|hide/.test(t))&&(i||(i=new e(this,u),n(this).data(r,i)),"string"==typeof t)){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},o(e,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return h}},{key:"NAME",get:function(){return i}},{key:"DATA_KEY",get:function(){return r}},{key:"Event",get:function(){return p}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return c}}]),e}(d);return n.fn[i]=u._jQueryInterface,n.fn[i].Constructor=u,n.fn[i].noConflict=function(){return n.fn[i]=e,u._jQueryInterface},u}(t),gt=function(n){var i="scrollspy",s="bs.scrollspy",h="."+s,v=n.fn[i],l={offset:10,method:"auto",target:""},y={offset:"number",method:"string",target:"(string|element)"},c={ACTIVATE:"activate"+h,SCROLL:"scroll"+h,LOAD_DATA_API:"load"+h+".data-api"},p="dropdown-item",u="active",t={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},w="offset",a="position",e=function(){function v(i,r){var u=this;this._element=i;this._scrollElement="BODY"===i.tagName?window:i;this._config=this._getConfig(r);this._selector=this._config.target+" "+t.NAV_LINKS+","+this._config.target+" "+t.LIST_ITEMS+","+this._config.target+" "+t.DROPDOWN_ITEMS;this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;n(this._scrollElement).on(c.SCROLL,function(n){return u._process(n)});this.refresh();this._process()}var e=v.prototype;return e.refresh=function(){var t=this,u=this._scrollElement===this._scrollElement.window?w:a,i="auto"===this._config.method?u:this._config.method,f=i===a?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();n.makeArray(n(this._selector)).map(function(t){var u,e=r.getSelectorFromElement(t),o;return(e&&(u=n(e)[0]),u)&&(o=u.getBoundingClientRect(),o.width||o.height)?[n(u)[i]().top+f,e]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(n){t._offsets.push(n[0]);t._targets.push(n[1])})},e.dispose=function(){n.removeData(this._element,s);n(this._scrollElement).off(h);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=f({},l,t)).target){var u=n(t.target).attr("id");u||(u=r.getUID(i),n(t.target).attr("id",u));t.target="#"+u}return r.typeCheckConfig(i,t,y),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,r=this._getScrollHeight(),u=this._config.offset+r-this._getOffsetHeight(),i,n;if(this._scrollHeight!==r&&this.refresh(),t>=u)i=this._targets[this._targets.length-1],this._activeTarget!==i&&this._activate(i);else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(n=this._offsets.length;n--;)this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&("undefined"==typeof this._offsets[n+1]||t<this._offsets[n+1])&&this._activate(this._targets[n])}},e._activate=function(i){var f,r;this._activeTarget=i;this._clear();f=this._selector.split(",");f=f.map(function(n){return n+'[data-target="'+i+'"],'+n+'[href="'+i+'"]'});r=n(f.join(","));r.hasClass(p)?(r.closest(t.DROPDOWN).find(t.DROPDOWN_TOGGLE).addClass(u),r.addClass(u)):(r.addClass(u),r.parents(t.NAV_LIST_GROUP).prev(t.NAV_LINKS+", "+t.LIST_ITEMS).addClass(u),r.parents(t.NAV_LIST_GROUP).prev(t.NAV_ITEMS).children(t.NAV_LINKS).addClass(u));n(this._scrollElement).trigger(c.ACTIVATE,{relatedTarget:i})},e._clear=function(){n(this._selector).filter(t.ACTIVE).removeClass(u)},v._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(s);if(i||(i=new v(this,"object"==typeof t&&t),n(this).data(s,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},o(v,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return l}}]),v}();return n(window).on(c.LOAD_DATA_API,function(){for(var u,i=n.makeArray(n(t.DATA_SPY)),r=i.length;r--;)u=n(i[r]),e._jQueryInterface.call(u,u.data())}),n.fn[i]=e._jQueryInterface,n.fn[i].Constructor=e,n.fn[i].noConflict=function(){return n.fn[i]=v,e._jQueryInterface},e}(t),ni=function(n){var f="bs.tab",e="."+f,l=n.fn.tab,t={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,CLICK_DATA_API:"click.bs.tab.data-api"},a="dropdown-menu",i="active",v="disabled",y="fade",s="show",p=".dropdown",w=".nav, .list-group",h=".active",c="> li > .active",b=".dropdown-toggle",k="> .dropdown-menu .active",u=function(){function u(n){this._element=n}var e=u.prototype;return e.show=function(){var y=this,e,u,f,o,p,s,l,a;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&n(this._element).hasClass(i)||n(this._element).hasClass(v)||(f=n(this._element).closest(w)[0],o=r.getSelectorFromElement(this._element),f&&(p="UL"===f.nodeName?c:h,u=(u=n.makeArray(n(f).find(p)))[u.length-1]),s=n.Event(t.HIDE,{relatedTarget:this._element}),l=n.Event(t.SHOW,{relatedTarget:u}),(u&&n(u).trigger(s),n(this._element).trigger(l),l.isDefaultPrevented()||s.isDefaultPrevented())||(o&&(e=n(o)[0]),this._activate(this._element,f),a=function(){var i=n.Event(t.HIDDEN,{relatedTarget:y._element}),r=n.Event(t.SHOWN,{relatedTarget:u});n(u).trigger(i);n(y._element).trigger(r)},e?this._activate(e,e.parentNode,a):a()))},e.dispose=function(){n.removeData(this._element,f);this._element=null},e._activate=function(t,i,u){var o=this,f=("UL"===i.nodeName?n(i).find(c):n(i).children(h))[0],s=u&&r.supportsTransitionEnd()&&f&&n(f).hasClass(y),e=function(){return o._transitionComplete(t,f,u)};f&&s?n(f).one(r.TRANSITION_END,e).emulateTransitionEnd(150):e()},e._transitionComplete=function(t,u,f){var e,o;u&&(n(u).removeClass(s+" "+i),e=n(u.parentNode).find(k)[0],e&&n(e).removeClass(i),"tab"===u.getAttribute("role")&&u.setAttribute("aria-selected",!1));(n(t).addClass(i),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),r.reflow(t),n(t).addClass(s),t.parentNode&&n(t.parentNode).hasClass(a))&&(o=n(t).closest(p)[0],o&&n(o).find(b).addClass(i),t.setAttribute("aria-expanded",!0));f&&f()},u._jQueryInterface=function(t){return this.each(function(){var r=n(this),i=r.data(f);if(i||(i=new u(this),r.data(f,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},o(u,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),u}();return n(document).on(t.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault();u._jQueryInterface.call(n(this),"show")}),n.fn.tab=u._jQueryInterface,n.fn.tab.Constructor=u,n.fn.tab.noConflict=function(){return n.fn.tab=l,u._jQueryInterface},u}(t);!function(n){if("undefined"==typeof n)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=n.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");}(t);n.Util=r;n.Alert=vt;n.Button=yt;n.Carousel=pt;n.Collapse=wt;n.Dropdown=bt;n.Modal=kt;n.Popover=dt;n.Scrollspy=gt;n.Tab=ni;n.Tooltip=d;Object.defineProperty(n,"__esModule",{value:!0})});jQuery(function(n){function o(r){"resize"===r.type&&(n(i.BODY).removeClass(t.DROPDOWN_OPEN),n(i.BASE).removeClass(t.OPENED).find(i.TOGGLER).each(function(){n(n(this).attr("data-target")).removeClass(t.IN).add(this).attr("aria-expanded","false")}));var u=n(this).scrollTop();n(i.BASE).each(function(){n(this).is(i.FIXED_TOP)&&(n(this).is(i.TRANSPARENT)&&!n(this).hasClass(t.OPENED)&&(u>0?n(this).removeClass(t.BG_COLOR):n(this).addClass(t.BG_COLOR)),u>0?n(this).addClass(t.SHORT):n(this).removeClass(t.SHORT))})}var e,u=".bs.navbar-dropdown",f=".data-api",r={COLLAPSE:"collapse"+u,CLICK_DATA_API:"click"+u+f,SCROLL_DATA_API:"scroll"+u+f,RESIZE_DATA_API:"resize"+u+f,COLLAPSE_SHOW:"show.bs.collapse",COLLAPSE_HIDE:"hide.bs.collapse",DROPDOWN_COLLAPSE:"collapse.bs.nav-dropdown"},t={IN:"in",OPENED:"opened",BG_COLOR:"bg-color",DROPDOWN_OPEN:"navbar-dropdown-open",SHORT:"navbar-short"},i={BODY:"body",BASE:".navbar-dropdown",TOGGLER:'.navbar-toggler[aria-expanded="true"]',TRANSPARENT:".transparent",FIXED_TOP:".navbar-fixed-top"};n(window).on(r.SCROLL_DATA_API+" "+r.RESIZE_DATA_API,function(n){clearTimeout(e);e=setTimeout(function(){o(n)},10)}).trigger(r.SCROLL_DATA_API);n(document).on(r.CLICK_DATA_API,i.BASE,function(n){n.targetWrapper=this}).on(r.COLLAPSE_SHOW+" "+r.COLLAPSE_HIDE,function(u){n(u.target).closest(i.BASE).each(function(){"show"==u.type?(n(i.BODY).addClass(t.DROPDOWN_OPEN),n(this).addClass(t.OPENED)):(n(i.BODY).removeClass(t.DROPDOWN_OPEN),n(this).removeClass(t.OPENED),n(window).trigger(r.SCROLL_DATA_API),n(this).trigger(r.COLLAPSE))})}).on(r.DROPDOWN_COLLAPSE,function(t){n(t.relatedTarget).closest(i.BASE).find(i.TOGGLER).trigger("click")})}),function(n){var o="navDropdown",s="bs.nav-dropdown",e="."+s,h=".data-api",l=n.fn[o],f={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,CLICK:"click"+e,READY:"ready"+e,COLLAPSE:"collapse"+e,LOAD_DATA_API:"load"+e+h,CLICK_DATA_API:"click"+e+h,RESIZE_DATA_API:"resize"+e+h,KEYDOWN_DATA_API:"keydown"+e+h,NAVBAR_COLLAPSE:"collapse.bs.navbar-dropdown"},r={ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40},a={XS:544,SM:768,MD:992,LG:1200,XL:1/0},u={BACKDROP:"dropdown-backdrop",DISABLED:"disabled",OPEN:"open",SM:"nav-dropdown-sm"},t={BASE:".nav-dropdown",DROPDOWN:".dropdown",DROPDOWN_MENU:".dropdown-menu",BACKDROP:"."+u.BACKDROP,DATA_BUTTON:"[data-button]",DATA_TOGGLE:'[data-toggle="dropdown-submenu"]',FORM_CHILD:".dropdown form"},c=function(){function i(t,i){"length"in t||(t=[t]);this.props={};this.length=t.length;i&&(this.prevItem=i,n.extend(this.props,i.props));for(var r=0;r<t.length;r++)this[r]=t[r]}return i.prototype.eq=function(n){return new i(this[n]?this[n]:[],this)},i.prototype.parent=function(){return new i(n(this).map(function(){var r=new i(this);return r.is(":upper")?null:n(r.is(":toggle")?this.parentNode.parentNode:this).closest(t.DROPDOWN).find(">"+t.DATA_TOGGLE)[0]}),this)},i.prototype.parents=function(r){var u=n(this).map(function(){return new i(this).is(":toggle")?this.parentNode:this}).parentsUntil(t.BASE,t.DROPDOWN);return":upper"===r&&(u=u.last()),u=u.find(">"+t.DATA_TOGGLE),new i(u,this)},i.prototype.children=function(r){var f=[];return n(this).each(function(){var e,s,o=new i(this);if(o.is(":root"))e=n(this);else{if(!o.is(":toggle"))return;e=n(this).parent().find(">"+t.DROPDOWN_MENU)}s=r?e.find("a"):o.is(":root")?e.find(">li>a"):e.find(">a, >"+t.DROPDOWN+">a");s.each(function(){r&&!this.offsetWidth&&!this.offsetHeight||this.disabled||n(this).is(t.DATA_BUTTON)||n(this).hasClass(u.DISABLED)||~n.inArray(this,f)||f.push(this)})}),new i(f,this)},i.prototype.root=function(){return new i(n(this).closest(t.BASE),this)},i.prototype.jump=function(t){var r,f,u;if(t=t||"next",!this.length)return new i([],this);if(f=this.eq(0),r=this.is(":flat")||f.is(":upper")?f.root().children(this.is(":flat")):f.parent().children(),u=n.inArray(this[0],r),!r.length||!~u)return new i([],this);if("next"==t){if(u+=1,u<r.length)return new i(r[u],this);t="first"}else if("prev"==t){if(u-=1,u>=0)return new i(r[u],this);t="last"}return"first"==t?new i(r[0],this):"last"==t?new i(r[r.length-1],this):new i([],this)},i.prototype.next=function(){return this.jump("next")},i.prototype.prev=function(){return this.jump("prev")},i.prototype.first=function(){return this.jump("first")},i.prototype.last=function(){return this.jump("last")},i.prototype.prop=function(t,i){return arguments.length?arguments.length>1?(this.props[t]=i,this):"object"==typeof arguments[0]?(n.extend(this.props,arguments[0]),this):t in this.props?this.props[t]:null:n.extend({},this.props)},i.prototype.removeProp=function(n){return delete this.props[n],this},i.prototype.is=function(i){for(var r=n(this),f=(i||"").split(/(?=[*#.\[:\s])/);i=f.pop();)switch(i){case":root":if(!r.is(t.BASE))return!1;break;case":upper":if(!r.parent().parent().is(t.BASE))return!1;break;case":opened":case":closed":if(":opened"==i!=r.parent().hasClass(u.OPEN))return!1;case":toggle":if(!r.is(t.DATA_TOGGLE))return!1;break;default:if(!this.props[i])return!1}return!0},i.prototype.open=function(){return this.is(":closed")&&this.click(),this},i.prototype.close=function(){return this.is(":opened")&&this.click(),this},i.prototype.focus=function(){return this.length&&this[0].focus(),this},i.prototype.click=function(){return this.length&&n(this[0]).trigger("click"),this},function(n){return new i(n)}}(),i=function(t){this._element=t;n(this._element).on(f.CLICK,this.toggle)};i.prototype.toggle=function(){var e,o,s;if(this.disabled||n(this).hasClass(u.DISABLED))return!1;var r=n(this.parentNode),h=r.hasClass(u.OPEN),c=i._isCollapsed(n(this).closest(t.BASE));return(i._clearMenus(n.Event("click",{target:this,data:{toggles:c?[this]:null}})),h)?!1:("ontouchstart"in document.documentElement&&!r.closest(t.DROPDOWN+"."+u.OPEN).length&&(e=document.createElement("div"),e.className=u.BACKDROP,n(e).insertBefore(n(this).closest(t.BASE)),n(e).on("click",i._clearMenus)),o={relatedTarget:this},s=n.Event(f.SHOW,o),r.trigger(s),s.isDefaultPrevented()?!1:(this.focus(),this.setAttribute("aria-expanded","true"),r.toggleClass(u.OPEN),r.trigger(n.Event(f.SHOWN,o)),!1))};i.prototype.dispose=function(){n.removeData(this._element,s);n(this._element).off(e);this._element=null};i._clearMenus=function(r){var h,c,y,l,o,e,s,a,v;if(r=r||{},3!==r.which){if(c=function(){return!1},r.target){if(this===document){if(n(r.target).is("a:not([disabled], ."+u.DISABLED+")"))h=n.Event(f.COLLAPSE,{relatedTarget:r.target});else if(y=r.targetWrapper&&n(r.targetWrapper).find(t.BASE)||n(r.target).closest(t.BASE),i._isCollapsed(y))return}else if(n(r.target).hasClass(u.BACKDROP)&&(l=n(r.target).next(),l.is(t.BASE)&&i._isCollapsed(l)))return;n(r.target).is(t.DATA_TOGGLE)?c=n(r.target.parentNode).parents(t.DROPDOWN).find(">"+t.DATA_TOGGLE):n(t.BACKDROP).remove()}for(o=r.data&&r.data.toggles&&n(r.data.toggles).parent().find(t.DATA_TOGGLE)||n.makeArray(n(t.DATA_TOGGLE).not(c)),e=0;e<o.length;e++)s=o[e].parentNode,a={relatedTarget:o[e]},!n(s).hasClass(u.OPEN)||"click"===r.type&&/input|textarea/i.test(r.target.tagName)&&n.contains(s,r.target)||(v=n.Event(f.HIDE,a),n(s).trigger(v),v.isDefaultPrevented()||(o[e].setAttribute("aria-expanded","false"),n(s).removeClass(u.OPEN).trigger(n.Event(f.HIDDEN,a))));h&&n(document).trigger(h)}};i._dataApiKeydownHandler=function(f){var h,l,a,e,o,s;if(!/input|textarea/i.test(f.target.tagName)){for(l in r)if(h=r[l]===f.which)break;if(h){if(f.preventDefault(),f.stopPropagation(),f.which==r.ESC)return i._isCollapsed(this)?void 0:(a=n(f.target).parents(t.DROPDOWN+"."+u.OPEN).last().find(">"+t.DATA_TOGGLE),i._clearMenus(),void a.trigger("focus"));"A"==f.target.tagName&&(e=c(f.target),(e.prop(":flat",i._isCollapsed(e.root())),e.is(":flat"))?f.which===r.DOWN||f.which===r.UP?e[f.which===r.UP?"prev":"next"]().focus():f.which===r.LEFT?e.is(":opened")?e.close():e.parent().close().focus():f.which===r.RIGHT&&e.is(":toggle")&&e.open():e.is(":upper")?f.which===r.LEFT||f.which===r.RIGHT?(e[f.which===r.LEFT?"prev":"next"]().focus().open(),e.is(":toggle")&&e.close()):f.which!==r.DOWN&&f.which!==r.UP||!e.is(":toggle")||e.children()[f.which===r.DOWN?"first":"last"]().focus():f.which===r.LEFT?(o=e.parent(),o.is(":upper")?o.close().prev().focus().open():o.focus().close()):f.which===r.RIGHT?(s=e.children(),s.length?(e.open(),s.first().focus()):e.parents(":upper").close().next().focus().open()):(f.which===r.DOWN||f.which===r.UP)&&e[f.which===r.UP?"prev":"next"]().focus())}}};i._isCollapsed=function(n){var t;return n.length&&(n=n[0]),n&&(t=/navbar-toggleable-(xs|sm|md|lg|xl)/.exec(n.className))&&window.innerWidth<a[t[1].toUpperCase()]};i._dataApiResizeHandler=function(){n(t.BASE).each(function(){var f=i._isCollapsed(this),r;n(this).find(t.DROPDOWN).removeClass(u.OPEN);n(this).find('[aria-expanded="true"]').attr("aria-expanded","false");r=n(t.BACKDROP)[0];r&&r.parentNode.removeChild(r);f!=n(this).hasClass(u.SM)&&(f?n(this).addClass(u.SM):n(this).removeClass(u.SM))})};n.fn[o]=function(t){return this.each(function(){var r=n(this).data(s);if(r||n(this).data(s,r=new i(this)),"string"==typeof t){if(void 0===r[t])throw new Error('No method named "'+t+'"');r[t].call(this)}})};n.fn[o].noConflict=function(){return n.fn[o]=l,this};n.fn[o].Constructor=i;n.fn[o].$$=c;n(window).on(f.RESIZE_DATA_API+" "+f.LOAD_DATA_API,i._dataApiResizeHandler);n(document).on(f.KEYDOWN_DATA_API,t.BASE,i._dataApiKeydownHandler).on(f.NAVBAR_COLLAPSE,i._clearMenus).on(f.CLICK_DATA_API,i._clearMenus).on(f.CLICK_DATA_API,t.DATA_TOGGLE,i.prototype.toggle).on(f.CLICK_DATA_API,t.FORM_CHILD,function(n){n.stopPropagation()});n(window).trigger(f.READY)}(jQuery);!function(n){"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],n):n("undefined"!=typeof module&&module.exports?require("jquery"):jQuery)}(function(n){"use strict";function ut(t){return!t||void 0!==t.allowPageScroll||void 0===t.swipe&&void 0===t.swipeStatus||(t.allowPageScroll=o),void 0!==t.click&&void 0===t.tap&&(t.tap=t.click),t||(t={}),t=n.extend({},n.fn.swipe.defaults,t),this.each(function(){var r=n(this),i=r.data(c);i||(i=new ft(this,t),r.data(c,i))})}function ft(ut,ft){function ki(t){var r,f,u,e;if(!(pu()||n(t.target).closest(ft.excludedElements,ot).length>0)&&(r=t.originalEvent?t.originalEvent:t,!r.pointerType||"mouse"!=r.pointerType||0!=ft.fallbackToMouseEvents))return u=r.touches,e=u?u[0]:r,st=rt,u?ct=u.length:ft.preventDefaultEvents!==!1&&t.preventDefault(),at=0,vt=null,yt=null,kt=null,lt=0,gt=0,ni=0,wt=1,bt=0,pi=ku(),dr(),ci(0,e),!u||ct===ft.fingers||ft.fingers===a||oi()?(sr=dt(),2==ct&&(ci(1,u[1]),gt=ni=fr(ht[0].start,ht[1].start)),(ft.swipeStatus||ft.pinchStatus)&&(f=pt(r,st))):f=!1,f===!1?(st=i,pt(r,st),f):(ft.hold&&(ei=setTimeout(n.proxy(function(){ot.trigger("hold",[r.target]);ft.hold&&(f=ft.hold.call(ot,r,r.target))},this),ft.longTapThreshold)),hi(!0),null)}function di(n){var f=n.originalEvent?n.originalEvent:n,e,h;if(st!==t&&st!==i&&!si()){var o,r=f.touches,c=r?r[0]:f,u=gr(c);(wi=dt(),r&&(ct=r.length),ft.hold&&clearTimeout(ei),st=s,2==ct&&(0==gt?(ci(1,r[1]),gt=ni=fr(ht[0].start,ht[1].start)):(gr(r[1]),ni=fr(ht[0].end,ht[1].end),kt=gu(ht[0].end,ht[1].end)),wt=du(gt,ni),bt=Math.abs(gt-ni)),ct===ft.fingers||ft.fingers===a||!r||oi())?(vt=iu(u.start,u.end),yt=iu(u.last,u.end),uu(n,yt),at=nf(u.start,u.end),lt=tu(),bu(vt,at),o=pt(f,st),!ft.triggerOnTouchEnd||ft.triggerOnTouchLeave)&&(e=!0,ft.triggerOnTouchLeave&&(h=rf(this),e=uf(u.end,h)),!ft.triggerOnTouchEnd&&e?st=tr(s):ft.triggerOnTouchLeave&&!e&&(st=tr(t)),st!=i&&st!=t||pt(f,st)):(st=i,pt(f,st));o===!1&&(st=i,pt(f,st))}}function gi(n){var r=n.originalEvent?n.originalEvent:n,u=r.touches;if(u){if(u.length&&!si())return yu(r),!0;if(u.length&&si())return!0}return si()&&(ct=hr),wi=dt(),lt=tu(),rr()||!ir()?(st=i,pt(r,st)):ft.triggerOnTouchEnd||ft.triggerOnTouchEnd===!1&&st===s?(ft.preventDefaultEvents!==!1&&n.preventDefault(),st=t,pt(r,st)):!ft.triggerOnTouchEnd&&br()?(st=t,ri(r,st,w)):st===s&&(st=i,pt(r,st)),hi(!1),null}function ii(){ct=0;wi=0;sr=0;gt=0;ni=0;wt=1;dr();hi(!1)}function nr(n){var i=n.originalEvent?n.originalEvent:n;ft.triggerOnTouchLeave&&(st=tr(t),pt(i,st))}function cr(){ot.unbind(vi,ki);ot.unbind(yi,ii);ot.unbind(er,di);ot.unbind(or,gi);ui&&ot.unbind(ui,nr);hi(!1)}function tr(n){var r=n,f=lr(),u=ir(),e=rr();return!f||e?r=i:!u||n!=s||ft.triggerOnTouchEnd&&!ft.triggerOnTouchLeave?!u&&n==t&&ft.triggerOnTouchLeave&&(r=i):r=t,r}function pt(n,r){var u,f=n.touches;return(eu()||yr())&&(u=ri(n,r,g)),(fu()||oi())&&u!==!1&&(u=ri(n,r,nt)),au()&&u!==!1?u=ri(n,r,tt):vu()&&u!==!1?u=ri(n,r,it):lu()&&u!==!1&&(u=ri(n,r,w)),r===i&&ii(n),r===t&&(f?f.length||ii(n):ii(n)),u}function ri(o,s,h){var c;if(h==g){if(ot.trigger("swipeStatus",[s,vt||null,at||0,lt||0,ct,ht,yt]),ft.swipeStatus&&(c=ft.swipeStatus.call(ot,o,s,vt||null,at||0,lt||0,ct,ht,yt),c===!1))return!1;if(s==t&&vr()){if(clearTimeout(fi),clearTimeout(ei),ot.trigger("swipe",[vt,at,lt,ct,ht,yt]),ft.swipe&&(c=ft.swipe.call(ot,o,vt,at,lt,ct,ht,yt),c===!1))return!1;switch(vt){case r:ot.trigger("swipeLeft",[vt,at,lt,ct,ht,yt]);ft.swipeLeft&&(c=ft.swipeLeft.call(ot,o,vt,at,lt,ct,ht,yt));break;case u:ot.trigger("swipeRight",[vt,at,lt,ct,ht,yt]);ft.swipeRight&&(c=ft.swipeRight.call(ot,o,vt,at,lt,ct,ht,yt));break;case f:ot.trigger("swipeUp",[vt,at,lt,ct,ht,yt]);ft.swipeUp&&(c=ft.swipeUp.call(ot,o,vt,at,lt,ct,ht,yt));break;case e:ot.trigger("swipeDown",[vt,at,lt,ct,ht,yt]);ft.swipeDown&&(c=ft.swipeDown.call(ot,o,vt,at,lt,ct,ht,yt))}}}if(h==nt){if(ot.trigger("pinchStatus",[s,kt||null,bt||0,lt||0,ct,wt,ht]),ft.pinchStatus&&(c=ft.pinchStatus.call(ot,o,s,kt||null,bt||0,lt||0,ct,wt,ht),c===!1))return!1;if(s==t&&ar())switch(kt){case y:ot.trigger("pinchIn",[kt||null,bt||0,lt||0,ct,wt,ht]);ft.pinchIn&&(c=ft.pinchIn.call(ot,o,kt||null,bt||0,lt||0,ct,wt,ht));break;case p:ot.trigger("pinchOut",[kt||null,bt||0,lt||0,ct,wt,ht]);ft.pinchOut&&(c=ft.pinchOut.call(ot,o,kt||null,bt||0,lt||0,ct,wt,ht))}}return h==w?s!==i&&s!==t||(clearTimeout(fi),clearTimeout(ei),ur()&&!su()?(ti=dt(),fi=setTimeout(n.proxy(function(){ti=null;ot.trigger("tap",[o.target]);ft.tap&&(c=ft.tap.call(ot,o,o.target))},this),ft.doubleTapThreshold)):(ti=null,ot.trigger("tap",[o.target]),ft.tap&&(c=ft.tap.call(ot,o,o.target)))):h==tt?s!==i&&s!==t||(clearTimeout(fi),clearTimeout(ei),ti=null,ot.trigger("doubletap",[o.target]),ft.doubleTap&&(c=ft.doubleTap.call(ot,o,o.target))):h==it&&(s!==i&&s!==t||(clearTimeout(fi),ti=null,ot.trigger("longtap",[o.target]),ft.longTap&&(c=ft.longTap.call(ot,o,o.target)))),c}function ir(){var n=!0;return null!==ft.threshold&&(n=at>=ft.threshold),n}function rr(){var n=!1;return null!==ft.cancelThreshold&&null!==vt&&(n=nu(vt)-at>=ft.cancelThreshold),n}function ru(){return null!==ft.pinchThreshold?bt>=ft.pinchThreshold:!0}function lr(){return ft.maxTimeThreshold?!(lt>=ft.maxTimeThreshold):!0}function uu(n,t){if(ft.preventDefaultEvents!==!1)if(ft.allowPageScroll===o)n.preventDefault();else{var i=ft.allowPageScroll===d;switch(t){case r:(ft.swipeLeft&&i||!i&&ft.allowPageScroll!=b)&&n.preventDefault();break;case u:(ft.swipeRight&&i||!i&&ft.allowPageScroll!=b)&&n.preventDefault();break;case f:(ft.swipeUp&&i||!i&&ft.allowPageScroll!=k)&&n.preventDefault();break;case e:(ft.swipeDown&&i||!i&&ft.allowPageScroll!=k)&&n.preventDefault()}}}function ar(){var n=pr(),t=wr(),i=ru();return n&&t&&i}function oi(){return!!(ft.pinchStatus||ft.pinchIn||ft.pinchOut)}function fu(){return!(!ar()||!oi())}function vr(){var n=lr(),t=ir(),i=pr(),r=wr(),u=rr();return!u&&r&&i&&t&&n}function yr(){return!!(ft.swipe||ft.swipeStatus||ft.swipeLeft||ft.swipeRight||ft.swipeUp||ft.swipeDown)}function eu(){return!(!vr()||!yr())}function pr(){return ct===ft.fingers||ft.fingers===a||!l}function wr(){return 0!==ht[0].end.x}function br(){return!!ft.tap}function ur(){return!!ft.doubleTap}function ou(){return!!ft.longTap}function kr(){if(null==ti)return!1;var n=dt();return ur()&&n-ti<=ft.doubleTapThreshold}function su(){return kr()}function hu(){return(1===ct||!l)&&(isNaN(at)||at<ft.threshold)}function cu(){return lt>ft.longTapThreshold&&et>at}function lu(){return!(!hu()||!br())}function au(){return!(!kr()||!ur())}function vu(){return!(!cu()||!ou())}function yu(n){bi=dt();hr=n.touches.length+1}function dr(){bi=0;hr=0}function si(){var n=!1,t;return bi&&(t=dt()-bi,t<=ft.fingerReleaseThreshold&&(n=!0)),n}function pu(){return!(ot.data(c+"_intouch")!==!0)}function hi(n){ot&&(n===!0?(ot.bind(er,di),ot.bind(or,gi),ui&&ot.bind(ui,nr)):(ot.unbind(er,di,!1),ot.unbind(or,gi,!1),ui&&ot.unbind(ui,nr,!1)),ot.data(c+"_intouch",n===!0))}function ci(n,t){var i={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return i.start.x=i.last.x=i.end.x=t.pageX||t.clientX,i.start.y=i.last.y=i.end.y=t.pageY||t.clientY,ht[n]=i,i}function gr(n){var i=void 0!==n.identifier?n.identifier:0,t=wu(i);return null===t&&(t=ci(i,n)),t.last.x=t.end.x,t.last.y=t.end.y,t.end.x=n.pageX||n.clientX,t.end.y=n.pageY||n.clientY,t}function wu(n){return ht[n]||null}function bu(n,t){n!=o&&(t=Math.max(t,nu(n)),pi[n].distance=t)}function nu(n){if(pi[n])return pi[n].distance}function ku(){var n={};return n[r]=li(r),n[u]=li(u),n[f]=li(f),n[e]=li(e),n}function li(n){return{direction:n,distance:0}}function tu(){return wi-sr}function fr(n,t){var i=Math.abs(n.x-t.x),r=Math.abs(n.y-t.y);return Math.round(Math.sqrt(i*i+r*r))}function du(n,t){var i=t/n*1;return i.toFixed(2)}function gu(){return 1>wt?p:y}function nf(n,t){return Math.round(Math.sqrt(Math.pow(t.x-n.x,2)+Math.pow(t.y-n.y,2)))}function tf(n,t){var r=n.x-t.x,u=t.y-n.y,f=Math.atan2(u,r),i=Math.round(180*f/Math.PI);return 0>i&&(i=360-Math.abs(i)),i}function iu(n,t){if(ff(n,t))return o;var i=tf(n,t);return 45>=i&&i>=0?r:360>=i&&i>=315?r:i>=135&&225>=i?u:i>45&&135>i?e:f}function dt(){var n=new Date;return n.getTime()}function rf(t){t=n(t);var i=t.offset();return{left:i.left,right:i.left+t.outerWidth(),top:i.top,bottom:i.top+t.outerHeight()}}function uf(n,t){return n.x>t.left&&n.x<t.right&&n.y>t.top&&n.y<t.bottom}function ff(n,t){return n.x==t.x&&n.y==t.y}var ft=n.extend({},ft),ai=l||h||!ft.fallbackToMouseEvents,vi=ai?h?v?"MSPointerDown":"pointerdown":"touchstart":"mousedown",er=ai?h?v?"MSPointerMove":"pointermove":"touchmove":"mousemove",or=ai?h?v?"MSPointerUp":"pointerup":"touchend":"mouseup",ui=ai?h?"mouseleave":null:"mouseleave",yi=h?v?"MSPointerCancel":"pointercancel":"touchcancel",at=0,vt=null,yt=null,lt=0,gt=0,ni=0,wt=1,bt=0,kt=0,pi=null,ot=n(ut),st="start",ct=0,ht={},sr=0,wi=0,bi=0,hr=0,ti=0,fi=null,ei=null;try{ot.bind(vi,ki);ot.bind(yi,ii)}catch(ef){n.error("events not supported "+vi+","+yi+" on jQuery.swipe")}this.enable=function(){return this.disable(),ot.bind(vi,ki),ot.bind(yi,ii),ot};this.disable=function(){return cr(),ot};this.destroy=function(){cr();ot.data(c,null);ot=null};this.option=function(t,i){if("object"==typeof t)ft=n.extend(ft,t);else if(void 0!==ft[t]){if(void 0===i)return ft[t];ft[t]=i}else{if(!t)return ft;n.error("Option "+t+" does not exist on jQuery.swipe.options")}return null}}var r="left",u="right",f="up",e="down",y="in",p="out",o="none",d="auto",g="swipe",nt="pinch",w="tap",tt="doubletap",it="longtap",b="horizontal",k="vertical",a="all",et=10,rt="start",s="move",t="end",i="cancel",l="ontouchstart"in window,v=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled&&!l,h=(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&!l,c="TouchSwipe";n.fn.swipe=function(t){var r=n(this),i=r.data(c);if(i&&"string"==typeof t){if(i[t])return i[t].apply(i,Array.prototype.slice.call(arguments,1));n.error("Method "+t+" does not exist on jQuery.swipe")}else if(i&&"object"==typeof t)i.option.apply(i,arguments);else if(!(i||"object"!=typeof t&&t))return ut.apply(this,arguments);return r};n.fn.swipe.version="1.6.18";n.fn.swipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:".noSwipe",preventDefaultEvents:!0};n.fn.swipe.phases={PHASE_START:rt,PHASE_MOVE:s,PHASE_END:t,PHASE_CANCEL:i};n.fn.swipe.directions={LEFT:r,RIGHT:u,UP:f,DOWN:e,IN:y,OUT:p};n.fn.swipe.pageScroll={NONE:o,HORIZONTAL:b,VERTICAL:k,AUTO:d};n.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:a}});!function(n){n.fn.viewportChecker=function(t){var i={classToAdd:"visible",classToRemove:"invisible",classToAddForFullView:"full-visible",removeClassAfterAnimation:!1,offset:100,repeat:!1,invertBottomOffset:!0,callbackFunction:function(){},scrollHorizontal:!1,scrollBox:window};n.extend(i,t);var u=this,r=n(i.scrollBox).height(),f=n(i.scrollBox).width();return this.checkElements=function(){var t,e;i.scrollHorizontal?(t=Math.max(n("html").scrollLeft(),n("body").scrollLeft(),n(window).scrollLeft()),e=t+f):(t=Math.max(n("html").scrollTop(),n("body").scrollTop(),n(window).scrollTop()),e=t+r);u.each(function(){var u=n(this),f={},o={};if(u.data("vp-add-class")&&(o.classToAdd=u.data("vp-add-class")),u.data("vp-remove-class")&&(o.classToRemove=u.data("vp-remove-class")),u.data("vp-add-class-full-view")&&(o.classToAddForFullView=u.data("vp-add-class-full-view")),u.data("vp-keep-add-class")&&(o.removeClassAfterAnimation=u.data("vp-remove-after-animation")),u.data("vp-offset")&&(o.offset=u.data("vp-offset")),u.data("vp-repeat")&&(o.repeat=u.data("vp-repeat")),u.data("vp-scrollHorizontal")&&(o.scrollHorizontal=u.data("vp-scrollHorizontal")),u.data("vp-invertBottomOffset")&&(o.scrollHorizontal=u.data("vp-invertBottomOffset")),n.extend(f,i),n.extend(f,o),!u.data("vp-animated")||f.repeat){0<String(f.offset).indexOf("%")&&(f.offset=parseInt(f.offset)/100*r);var o=f.scrollHorizontal?u.offset().left:u.offset().top,c=f.scrollHorizontal?o+u.width():o+u.height(),s=Math.round(o)+f.offset,h=f.scrollHorizontal?s+u.width():s+u.height();f.invertBottomOffset&&(h-=2*f.offset);s<e&&h>t?(u.removeClass(f.classToRemove),u.addClass(f.classToAdd),f.callbackFunction(u,"add"),c<=e&&o>=t?u.addClass(f.classToAddForFullView):u.removeClass(f.classToAddForFullView),u.data("vp-animated",!0),f.removeClassAfterAnimation&&u.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){u.removeClass(f.classToAdd)})):u.hasClass(f.classToAdd)&&f.repeat&&(u.removeClass(f.classToAdd+" "+f.classToAddForFullView),f.callbackFunction(u,"remove"),u.data("vp-animated",!1))}})},("ontouchstart"in window||"onmsgesturechange"in window)&&n(document).bind("touchmove MSPointerMove pointermove",this.checkElements),n(i.scrollBox).bind("load scroll",this.checkElements),n(window).resize(function(){r=n(i.scrollBox).height();f=n(i.scrollBox).width();u.checkElements()}),this.checkElements(),this}}(jQuery);isBuilder=$("html").hasClass("is-builder");isBuilder||$(".counters").each(function(){$(this).viewportChecker({callbackFunction:function(n){$("#"+n.attr("id")+" .count").each(function(){$(this).prop("Counter",0).animate({Counter:$(this).text()},{duration:3e3,easing:"swing",step:function(n){$(this).text(Math.ceil(n))}})})}})});jQuery.fn.wowSlider=function(n){function yt(n){return l.css({left:-n+"00%"})}function pt(n){return((n||0)+v)%v}function tr(t){if(window["ws_"+t]){var i=new window["ws_"+t](n,p,c);i.name="ws_"+t;s.push(i)}}function or(n,t){f?f.pause(n.curIndex,t):t()}function sr(n,t){f?f.play(n,0,t):t()}function li(n,t,r){k||(isNaN(n)&&(n=vi(i,v)),n=pt(n),i!=n&&(b?b.load(n,function(){ir(n,t,r)}):ir(n,t,r)))}function wt(n){for(var i="",t=0;t<n.length;t++)i+=String.fromCharCode(n.charCodeAt(t)^1+(n.length-t)%7);return i}function ir(u,f,e){if(!k){if(f)void 0!=e&&(ti=e^n.revers),yt(u);else{if(k)return;(function(i,u,f){ht=Math.floor(Math.random()*s.length);t(s[ht]).trigger("effectStart",{curIndex:i,nextIndex:u,cont:t("."+s[ht].name,r),start:function(){ti=void 0!=f?f^n.revers:!!(u>i)^n.revers?1:0;s[ht].go(u,i,ti)}})})(i,u,e);r.trigger(t.Event("go",{index:u}))}if(i=u,i!=n.stopOn||--n.loop||(n.autoPlay=0),n.onStep)n.onStep(u)}}function bt(){r.find(".ws_effect").fadeOut(200);yt(i).fadeIn(200).find("img").css({visibility:"visible"})}function ai(n,t,i,r,u,f){new hr(n,t,i,r,u,f)}function hr(i,u,f,e,o,s){var y,p,a,v,h=0,c=0,l=0;i[0]||(i=t(i));i.on((u?"mousedown ":"")+"touchstart",function(t){var i=t.originalEvent.touches?t.originalEvent.touches[0]:t;2==n.gestures&&r.addClass("ws_grabbing");h=0;i?(y=i.pageX,p=i.pageY,c=l=1,e&&(c=l=e(t))):c=l=0;t.originalEvent.touches||(t.preventDefault(),t.stopPropagation())});t(document).on((u?"mousemove ":"")+"touchmove",i,function(n){if(c){var t=n.originalEvent.touches?n.originalEvent.touches[0]:n;h=1;a=t.pageX-y;v=t.pageY-p;f&&f(n,a,v)}});t(document).on((u?"mouseup ":"")+"touchend",i,function(t){2==n.gestures&&r.removeClass("ws_grabbing");c&&(h&&o&&o(t,a,v),!h&&s&&s(t),h&&(t.preventDefault(),t.stopPropagation()),c=h=0)});i.on("click",function(n){l&&(n.preventDefault(),n.stopPropagation());l=0})}function rr(u,f,e){var h,s;d.length&&yr(u);o.length&&vr(u);n.controlsThumb&&n.controls&&lr(u);n.caption&&(h=fr(u),f=fr(f),s=n.captionEffect,(ot[t.type(s)]||ot[s]||ot.none)(t.extend({$this:r,curIdx:i,prevIdx:st,noDelay:e},n),at,gi,h,f,ti));et&&((u=t("A",it.get(u)).get(0))?(et.setAttribute("href",u.href),et.setAttribute("target",u.target),et.style.display="block"):et.style.display="none");n.responsive&&kt()}function ur(){ri&&(ri=0,setTimeout(function(){r.trigger(t.Event("stop",{}))},n.duration))}function cr(){ft();ur()}function nt(){ft();n.autoPlay?(ui=setTimeout(function(){wi||li(void 0,void 0,1)},n.delay),!ri&&n.autoPlay&&(ri=1,r.trigger(t.Event("start",{})))):ur()}function ft(){ui&&clearTimeout(ui);ui=null}function a(n,t,i){ft();n&&n.preventDefault();li(t,void 0,i);nt();oi&&e&&e.play()}function lr(i){var r=n.controlsThumb,u=r[i+1]||r[0],f=r[(i||r.length)-1];pr.attr("src",u);bi.css("transition","none");wr.attr("src",f);ki.css("transition","none");wowAnimate(t.merge(bi,ki),{opacity:1},{opacity:0},400,function(){bi.attr({src:u,style:""});ki.attr({src:f,style:""})})}function ar(){function ut(n){var f,r,u,e,h;if(!s)for(clearTimeout(nt),f=0;2>f;f++)if(f?(r=i.find("> a"),r=ei?i.width():t(r.get(0)).outerWidth(!0)*r.length):r=i.height(),u=o[f?"width":"height"](),e=u-r,0>e){if(u=(n[f?"pageX":"pageY"]-o.offset()[f?"left":"top"])/u,g==u)break;if(g=u,h=i.position()[f?"left":"top"],i.css({transition:"0ms linear",transform:"translate3d("+h.left+"px,"+h.top+"px,0)"}),i.stop(!0),0<lt){if(.2<u&&.8>u)break;e=.5>u?0:e-1;r=lt*Math.abs(h-e)/(Math.abs(u-.5)-.2)}else e*=Math.min(Math.max((u-.2)/.6,0),1),r=-lt*r/2;i.animate(f?{left:e}:{top:e},r,0<lt?"linear":"easeOutCubic")}else i.css(f?"left":"top",e/2)}var i,g,nt,s,tt,it,l,v,y,p,h,e;if(r.find(".ws_bullets a,.ws_thumbs a").click(function(n){a(n,t(this).index())}),o.length&&(o.hover(function(){di=1},function(){di=0}),i=o.find(">div"),o.css({overflow:"hidden"}),ei=o.width()<r.width(),o.bind("mousemove mouseover",ut),o.mouseout(function(){nt=setTimeout(function(){i.stop()},100)}),o.trigger("mousemove"),n.gestures&&ai(o,2==n.gestures,function(n,t,r){if(l>y||v>p)return!1;ei?(n=Math.min(Math.max(it+r,v-p),0),i.css("top",n)):(n=Math.min(Math.max(tt+t,l-y),0),i.css("left",n))},function(n){return s=1,n=i.find("> a"),l=o.width(),v=o.height(),y=t(n.get(0)).outerWidth(!0)*n.length,p=i.height(),tt=parseFloat(i.css("left"))||0,it=parseFloat(i.css("top"))||0,!0},function(){s=0},function(){s=0}),r.find(".ws_thumbs a").each(function(n,i){ai(i,0,0,function(n){return!!t(n.target).parents(".ws_thumbs").get(0)},function(){s=1},function(n){a(n,t(i).index())})})),d.length){var w=d.find(">div"),u=t("a",d),c=u.find("IMG");if(c.length){var rt=function(n){0>n&&(n=0);b&&b.loadTtip(n);t(u.get(h)).removeClass("ws_overbull");t(u.get(n)).addClass("ws_overbull");f.show();var r={left:u.get(n).offsetLeft-f.width()/2,"margin-top":u.get(n).offsetTop-u.get(0).offsetTop+"px","margin-bottom":-u.get(n).offsetTop+u.get(u.length-1).offsetTop+"px"},i=c.get(n),i={left:-i.offsetLeft+(t(i).outerWidth(!0)-t(i).outerWidth())/2};0>h?(f.css(r),k.css(i)):(document.all||(r.opacity=1),f.stop().animate(r,"fast"),k.stop().animate(i,"fast"));h=n},f=t('<div class="ws_bulframe"/>').appendTo(w),k=t("<div/>").css({width:c.length+1+"00%"}).appendTo(t("<div/>").appendTo(f));c.appendTo(k);t("<span/>").appendTo(f);h=-1;u.hover(function(){rt(t(this).index())});w.hover(function(){e&&(clearTimeout(e),e=0);rt(h)},function(){u.removeClass("ws_overbull");document.all?e||(e=setTimeout(function(){f.hide();e=0},400)):f.stop().animate({opacity:0},{duration:"fast",complete:function(){f.hide()}})});w.click(function(n){a(n,t(n.target).index())})}}}function vr(n){t("A",o).each(function(i){var u,e,s,f,r;if(i==n){if(i=t(this),i.addClass("ws_selthumb"),!di)for(u=o.find(">div"),e=i.position()||{},s=u.position()||{},f=0;1>=f;f++)f?(r=u.find("> a"),r=ei?u.width():t(r.get(0)).outerWidth(!0)*r.length):r=u.height(),r=o[f?"width":"height"]()-r,0>r?f?u.stop(!0).animate({left:-Math.max(Math.min(e.left,-s.left),e.left+i.outerWidth(!0)-o.width())}):u.stop(!0).animate({top:-Math.max(Math.min(e.top,0),e.top+i.outerHeight(!0)-o.height())}):u.css(f?"left":"top",r/2)}else t(this).removeClass("ws_selthumb")})}function yr(n){t("A",d).each(function(i){i==n?t(this).addClass("ws_selbull"):t(this).removeClass("ws_selbull")})}function fr(n){var i=it[n];return n=t("img",i).attr("title"),i=t(i).data("descr"),n.replace(/\s+/g,"")||(n=""),(n?"<span>"+n+"<\/span>":"")+(i?"<br><div>"+i+"<\/div>":"")}function er(){n.autoPlay=!n.autoPlay;n.autoPlay?(nt(),w.removeClass("ws_play"),w.addClass("ws_pause"),f&&f.start(i)):(dt.wsStop(),w.removeClass("ws_pause"),w.addClass("ws_play"))}function kt(){var u=hi?4:n.responsive,f=c.width()||n.width,o=t([p,gt.find("img"),ni.find("img")]),s,e,i;if(0<u&&document.addEventListener&&r.css("fontSize",Math.max(10*Math.min(f/n.width||1,1),4)),2==u&&(s=Math.max(f/n.width,1)-1,o.each(function(){t(this).css("marginTop",-n.height*s/2)})),3==u&&(e=window.innerHeight,i=n.width/n.height,heightCentering=i>f/e,r.css("height",e),o.each(function(){t(this).css({width:heightCentering?"auto":"100%",height:heightCentering?"100%":"auto",marginLeft:heightCentering?(f-e*i)/2:0,marginTop:heightCentering?0:(e-f/i)/2})})),4==u){var u=window.innerWidth,h=window.innerHeight,i=(r.width()||n.width)/(r.height()||n.height);r.css({maxWidth:i>u/h?"100%":i*h,height:""});o.each(function(){t(this).css({width:"100%",marginLeft:0,marginTop:0})})}else r.css({maxWidth:"",top:""})}var t=jQuery,r=this,dt=r.get(0),vi,et,p,s,h,ht,yi,rt,pi,ii,ct,fi,lt,di,ei,at,gi,nr,ot,e,oi,w,hi,vt,ut,ci;window.ws_basic=function(n,i,r){var u=t(this);this.go=function(t){r.find(".ws_list").css("transform","translate3d(0,0,0)").stop(!0).animate({left:t?-t+"00%":/Safari/.test(navigator.userAgent)?"0%":0},n.duration,"easeInOutExpo",function(){u.trigger("effectEnd")})}};n=t.extend({effect:"fade",prev:"",next:"",duration:1e3,delay:2e3,captionDuration:1e3,captionEffect:"none",width:960,height:360,thumbRate:1,gestures:2,caption:!0,controls:!0,controlsThumb:!1,keyboardControl:!1,scrollControl:!1,autoPlay:!0,autoPlayVideo:!1,responsive:1,support:jQuery.fn.wowSlider.support,stopOnHover:0,preventCopy:1},n);var tt=navigator.userAgent,c=t(".ws_images",r).css("overflow","visible"),u=t("<div>").appendTo(c).css({position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"}),l=c.find("ul").css("width","100%").wrap("<div class='ws_list'><\/div>").parent().appendTo(u);t("<div>").css({position:"relative",width:"100%","font-size":0,"line-height":0,"max-height":"100%",overflow:"hidden"}).append(c.find("li:first img:first").clone().css({width:"100%",visibility:"hidden"})).prependTo(c);l.css({position:"absolute",top:0,height:"100%",transform:/Firefox/.test(tt)?"":"translate3d(0,0,0)"});var b=n.images&&new wowsliderPreloader(this,n),it=c.find("li"),v=it.length;l.width();l.find("li").width();var u={position:"absolute",top:0,height:"100%",overflow:"hidden"},gt=t("<div>").addClass("ws_swipe_left").css(u).prependTo(l),ni=t("<div>").addClass("ws_swipe_right").css(u).appendTo(l);/MSIE/.test(tt)||/Trident/.test(tt)||/Safari/.test(tt)||/Firefox/.test(tt)?(u=Math.pow(10,Math.ceil(Math.LOG10E*Math.log(v))),l.css({width:u+"00%"}),it.css({width:100/u+"%"}),gt.css({width:100/u+"%",left:-100/u+"%"}),ni.css({width:100/u+"%",left:100*v/u+"%"})):(l.css({width:v+"00%",display:"table"}),it.css({display:"table-cell",float:"none",width:"auto"}),gt.css({width:100/v+"%",left:-100/v+"%"}),ni.css({width:100/v+"%",left:"100%"}));vi=n.onBeforeStep||function(n){return n+1};n.startSlide=pt(isNaN(n.startSlide)?vi(-1,v):n.startSlide);b&&b.load(n.startSlide,function(){});yt(n.startSlide);n.preventCopy&&(u=t('<div class="ws_cover"><a href="#" style="display:none;position:absolute;left:0;top:0;width:100%;height:100%"><\/a><\/div>').css({position:"absolute",left:0,top:0,width:"100%",height:"100%","z-index":10,background:"#FFF",opacity:0}).appendTo(c),et=u.find("A").get(0));p=[];t(".ws_frame",r);it.each(function(n){n=t(">img:first,>iframe:first,>iframe:first+img,>a:first,>div:first",this);for(var r=t("<div><\/div>"),i=0;i<this.childNodes.length;)this.childNodes[i]!=n.get(0)&&this.childNodes[i]!=n.get(1)?r.append(this.childNodes[i]):i++;t(this).data("descr")||(r.text().replace(/\s+/g,"")?t(this).data("descr",r.html().replace(/^\s+|\s+$/g,"")):t(this).data("descr",""));t(this).data("type",n[0].tagName);t(">iframe",this).css("opacity",0);p[p.length]=t(">a>img",this).get(0)||t(">iframe+img",this).get(0)||t(">*",this).get(0)});p=t(p);p.css("visibility","visible");gt.append(t(p[v-1]).clone());ni.append(t(p[0]).clone());s=[];n.effect=n.effect.replace(/\s+/g,"").split(",");for(h in n.effect)tr(n.effect[h]);s.length||tr("basic");var i=n.startSlide,st=i,f=!1,ti=1,k=0;if(t(s).bind("effectStart",function(n,r){k++;or(r,function(){bt();r.cont&&t(r.cont).stop().show().css("opacity",1);r.start&&r.start();st=i;i=r.nextIndex;rr(i,st,r.captionNoDelay)})}),t(s).bind("effectEnd",function(n,t){yt(i).stop(!0,!0).show();setTimeout(function(){sr(i,function(){k--;nt();f&&f.start(i)})},t?t.delay||0:0)}),n.loop=n.loop||Number.MAX_VALUE,n.stopOn=pt(n.stopOn),ht=Math.floor(Math.random()*s.length),2==n.gestures&&r.addClass("ws_gestures"),h=c,u=wt("$WmkT$")){n.gestures&&(yi=0,ai(c,2==n.gestures,function(t,r){ct=!!s[0].step;ft();l.stop(!0,!0);ii&&(k++,ii=0,ct||bt());yi=r;r>rt&&(r=rt);r<-rt&&(r=-rt);ct?s[0].step(i,r/rt):n.support.transform&&n.support.transition?l.css("transform","translate3d("+r+"px,0,0)"):l.css("left",pi+r)},function(n){var r=/ws_playpause|ws_prev|ws_next|ws_bullets/g.test(n.target.className)||t(n.target).parents(".ws_bullets").get(0);return(n=g?n.target==g[0]:0,r||n||f&&f.playing())?!1:(ii=1,rt=c.width(),pi=parseFloat(-i*rt)||0,oi&&e&&e.play(),!0)},function(r,u){var e;ii=0;var f=c.width(),o=pt(i+(0>u?1:-1)),h=f*u/Math.abs(u);10>Math.abs(yi)&&(o=i,h=0);e=200+200*(f-Math.abs(u))/f;k--;t(s[0]).trigger("effectStart",{curIndex:i,nextIndex:o,cont:ct?t(".ws_effect"):0,captionNoDelay:!0,start:function(){function i(){n.support.transform&&n.support.transition&&l.css({transition:"0ms",transform:/Firefox/.test(tt)?"":"translate3d(0,0,0)"});t(s[0]).trigger("effectEnd",{swipe:!0})}function r(){ct?u>f||u<-f?t(s[0]).trigger("effectEnd"):wowAnimate(function(n){s[0].step(st,(u+(f*(0<u?1:-1)-u)*n)/f)},0,1,e,function(){t(s[0]).trigger("effectEnd")}):n.support.transform&&n.support.transition?(l.css({transition:e+"ms ease-out",transform:"translate3d("+h+"px,0,0)"}),setTimeout(i,e)):l.animate({left:pi+h},e,i)}b?b.load(o,r):r()}})},function(){var n=t("A",it.get(i));n&&n.click()}));var d=r.find(".ws_bullets"),o=r.find(".ws_thumbs"),ri=n.autoPlay,ui,wi=!1,g=wt('8B"iucc9!jusv?+,unpuimggs)eji!"'),g=g+wt("uq}og<%vjwjvhhh?vfn`sosa8fhtviez8ckifo8dnir(wjxd=70t{9"),y=h||document.body;if(4>u.length&&(u=u.replace(/^\s+|\s+$/g,"")),h=u?t("<div>"):0,t(h).css({position:"absolute",padding:"0 0 0 0"}).appendTo(y),h&&document.all&&(fi=t("<iframe>"),fi.css({position:"absolute",left:0,top:0,width:"100%",height:"100%",filter:"alpha(opacity=0)",opacity:.01}),fi.attr({src:"javascript:false",scrolling:"no",framespacing:0,border:0,frameBorder:"no"}),h.append(fi)),t(h).css({zIndex:56,right:"15px",bottom:"15px"}).appendTo(y),g+=wt("uhcrm>bwuh=majeis<dqwm:aikp.d`joi}9Csngi?!<"),(g=h?t(g):h)&&(g.css({"font-weight":"normal","font-style":"normal",padding:"1px 5px",margin:"0 0 0 0","border-radius":"10px","-moz-border-radius":"10px",outline:"none",display:"none"}).html(u).bind("contextmenu",function(){return!1}).attr("target","_blank"),function(){if(!document.getElementById("wowslider_engine")){var n=document.createElement("div");n.id="wowslider_engine";n.style.position="absolute";n.style.left="-1000px";n.style.top="-1000px";n.style.opacity="0.1";n.innerHTML='<a href="http://wowslider.com">wowslider.com<\/a>';document.body.insertBefore(n,document.body.childNodes[0])}}()),h=t('<div class="ws_controls">').appendTo(c),d[0]&&d.appendTo(h),n.controls&&(u=t('<a href="#" class="ws_next"><span>'+n.next+"<i><\/i><b><\/b><\/span><\/a>"),y=t('<a href="#" class="ws_prev"><span>'+n.prev+"<i><\/i><b><\/b><\/span><\/a>"),h.append(u,y),u.bind("click",function(n){a(n,i+1,1)}),y.bind("click",function(n){a(n,i-1,0)}),/iPhone/.test(navigator.platform)&&(y.get(0).addEventListener("touchend",function(n){a(n,i-1,1)},!1),u.get(0).addEventListener("touchend",function(n){a(n,i+1,0)},!1)),n.controlsThumb))var pr=t('<img alt="" src="">').appendTo(u),bi=t('<img alt="" src="">').appendTo(u),wr=t('<img alt="" src="">').appendTo(y),ki=t('<img alt="" src="">').appendTo(y);if(lt=n.thumbRate,n.caption&&(at=t("<div class='ws-title' style='display:none'><\/div>"),gi=t("<div class='ws-title' style='display:none'><\/div>"),t("<div class='ws-title-wrapper'>").append(at,gi).appendTo(c),at.bind("mouseover",function(){f&&f.playing()||ft()}),at.bind("mouseout",function(){f&&f.playing()||nt()})),ot={none:function(n,t,i,r){nr&&clearTimeout(nr);nr=setTimeout(function(){t.html(r).show()},n.noDelay?0:n.duration/2)}},ot[n.captionEffect]||(ot[n.captionEffect]=window["ws_caption_"+n.captionEffect]),(d.length||o.length)&&ar(),rr(i,st,!0),n.stopOnHover&&(this.bind("mouseover",function(){f&&f.playing()||ft();wi=!0}),this.bind("mouseout",function(){f&&f.playing()||nt();wi=!1})),f&&f.playing()||nt(),e=r.find("audio").get(0),oi=n.autoPlay,e){if(t(e).insertAfter(r),window.Audio&&e.canPlayType&&e.canPlayType("audio/mp3"))e.loop="loop",n.autoPlay&&(e.autoplay="autoplay",setTimeout(function(){e.play()},100));else{var e=e.src,u=e.substring(0,e.length-/[^\\\/]+$/.exec(e)[0].length),si="wsSound"+Math.round(9999*Math.random());t("<div>").appendTo(r).get(0).id=si;y="wsSL"+Math.round(9999*Math.random());window[y]={onInit:function(){}};swfobject.createSWF({data:u+"player_mp3_js.swf",width:"1",height:"1"},{allowScriptAccess:"always",loop:!0,FlashVars:"listener="+y+"&loop=1&autoplay="+(n.autoPlay?1:0)+"&mp3="+e},si);e=0}r.bind("stop",function(){oi=!1;e?e.pause():t(si).SetVariable("method:pause","")});r.bind("start",function(){e?e.play():t(si).SetVariable("method:play","")})}if(dt.wsStart=li,dt.wsRestart=nt,dt.wsStop=cr,w=t('<a href="#" class="ws_playpause"><span><i><\/i><b><\/b><\/span><\/a>'),n.playPause&&(n.autoPlay?w.addClass("ws_pause"):w.addClass("ws_play"),w.click(function(){return er(),!1}),h.append(w)),n.keyboardControl)t(document).on("keyup",function(n){switch(n.which){case 32:er();break;case 37:a(n,i-1,0);break;case 39:a(n,i+1,1)}});if(n.scrollControl)r.on("DOMMouseScroll mousewheel",function(n){0>n.originalEvent.wheelDelta||0<n.originalEvent.detail?a(null,i+1,1):a(null,i-1,0)});return"function"==typeof wowsliderVideo&&(h=t('<div class="ws_video_btn"><div><\/div><\/div>').appendTo(c),f=new wowsliderVideo(r,n,bt),"undefined"!=typeof $f&&(f.vimeo(!0),f.start(i)),window.onYouTubeIframeAPIReady=function(){f.youtube(!0);f.start(i)},h.on("click touchend",function(){k||f.play(i,1)})),hi=0,n.fullScreen&&("undefined"!=typeof NoSleep&&(vt=new NoSleep),ut=function(){for(var r=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenchange"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitfullscreenchange"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitfullscreenchange"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozfullscreenchange"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","MSFullscreenChange"]],u={},t,n=0,i=r.length;n<i;n++)if((t=r[n])&&t[1]in document){for(n=0,i=t.length;n<i;n++)u[r[0][n]]=t[n];return u}return!1}(),ut&&(ci=0,document.addEventListener(ut.fullscreenchange,function(){document[ut.fullscreenElement]?hi=1:(ci&&(ci=0,r.unwrap()),hi=0);kt();s[0].step||bt()}),t("<a href='#' class='ws_fullscreen'><\/a>").on("click",function(n){/WOW Slider/g.test(tt)||(n.preventDefault(),document[ut.fullscreenElement]?(document[ut.exitFullscreen](),"undefined"!=typeof vt&&vt.disable()):(ci=1,r.wrap("<div class='ws_fs_wrapper'><\/div>").parent()[0][ut.requestFullscreen](),"undefined"!=typeof vt&&vt.enable()))}).appendTo(c))),n.responsive&&(t(kt),t(window).on("load resize",kt)),this}};jQuery.extend(jQuery.easing,{easeInOutExpo:function(n,t,i,r,u){return 0==t?i:t==u?i+r:1>(t/=u/2)?r/2*Math.pow(2,10*(t-1))+i:r/2*(-Math.pow(2,-10*--t)+2)+i},easeOutCirc:function(n,t,i,r,u){return r*Math.sqrt(1-(t=t/u-1)*t)+i},easeOutCubic:function(n,t,i,r,u){return r*((t=t/u-1)*t*t+1)+i},easeOutElastic1:function(n,t,i,r,u){n=Math.PI/2;var o=1.70158,f=0,e=r;return 0==t?i:1==(t/=u)?i+r:(f||(f=.3*u),e<Math.abs(r)?(e=r,o=f/4):o=f/n*Math.asin(r/e),e*Math.pow(2,-10*t)*Math.sin((t*u-o)*n/f)+r+i)},easeOutBack:function(n,t,i,r,u,f){return void 0==f&&(f=1.70158),r*((t=t/u-1)*t*((f+1)*t+f)+1)+i}});jQuery.fn.wowSlider.support={transform:function(){var n,t;return window.getComputedStyle?(n=document.createElement("div"),document.body.insertBefore(n,document.body.lastChild),n.style.transform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)",t=window.getComputedStyle(n).getPropertyValue("transform"),n.parentNode.removeChild(n),void 0!==t?"none"!==t:!1):!1}(),perspective:function(){for(var t="perspectiveProperty perspective WebkitPerspective MozPerspective OPerspective MsPerspective".split(" "),n=0;n<t.length;n++)if(void 0!==document.body.style[t[n]])return!!t[n];return!1}(),transition:function(){var n=(document.body||document.documentElement).style;return void 0!==n.transition||void 0!==n.WebkitTransition||void 0!==n.MozTransition||void 0!==n.MsTransition||void 0!==n.OTransition}()},function(n){window.wowAnimate=function(t,i,r,u,f,e,o){function l(n){function t(t){cancelAnimationFrame(t);n(1);o&&o()}var r=(new Date).getTime()+f,i=function(){var f=(new Date).getTime()-r;0>f&&(f=0);f=u?f/u:1;1>f?(n(f),requestAnimationFrame(i)):t(1)};return i(),{stop:t}}function c(n,t,i,r){var f,u,e;if("object"==typeof t){f={};for(u in t)f[u]=c(n,t[u],i[u],r);return f}u="";"string"==typeof t?u=t:"string"==typeof i&&(u=i);n:{e="px % in cm mm pt pc em ex ch rem vh vw vmin vmax deg rad grad turn".split(" ");for(f in e)if(-1<u.indexOf(e[f])){u=e[f];break n}u=s[n]?s[n]:""}return t=parseFloat(t),i=parseFloat(i),t+(i-t)*r+u}var h,s;if("undefined"!=typeof t&&(t.jquery||"function"==typeof t||(i=t.from,r=t.to,u=t.duration,f=t.delay,e=t.easing,o=t.callback,t=t.each||t.obj),h="num",t.jquery&&(h="obj"),"undefined"!=typeof t&&"undefined"!=typeof i&&"undefined"!=typeof r))return"function"==typeof f&&(o=f,f=0),"function"==typeof e&&(o=e,e=0),"string"==typeof f&&(e=f,f=0),u=u||0,f=f||0,e=e||0,o=o||0,s={opacity:0,top:"px",left:"px",right:"px",bottom:"px",width:"px",height:"px",translate:"px",rotate:"deg",rotateX:"deg",rotateY:"deg",scale:0},l(function(u){var f=e,l,o;if(u="linear"==f?u:"swing"==f?n.easing[f]?n.easing[f](u):u:n.easing[f]?n.easing[f](1,u,0,1,1,1):u,"num"===h)f=i+(r-i)*u,t(f);else{f={transform:""};for(l in i)if("undefined"!=typeof s[l]){o=c(l,i[l],r[l],u);switch(l){case"translate":f.transform+=" translate3d("+o[0]+","+o[1]+","+o[2]+")";break;case"rotate":f.transform+=" rotate("+o+")";break;case"rotateX":f.transform+=" rotateX("+o+")";break;case"rotateY":f.transform+=" rotateY("+o+")";break;case"scale":f.transform="object"==typeof o?f.transform+(" scale("+o[0]+", "+o[1]+")"):f.transform+(" scale("+o+")");break;default:f[l]=o}}""===f.transform&&delete f.transform;t.css(f)}})}}(jQuery);Date.now||(Date.now=function(){return(new Date).getTime()}),function(){for(var t,r,i=["webkit","moz"],n=0;n<i.length&&!window.requestAnimationFrame;++n)t=i[n],window.requestAnimationFrame=window[t+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"];!/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)&&window.requestAnimationFrame&&window.cancelAnimationFrame||(r=0,window.requestAnimationFrame=function(n){var t=Date.now(),i=Math.max(r+16,t);return setTimeout(function(){n(r=i)},i-t)},window.cancelAnimationFrame=clearTimeout)}(),function(){var n;window.ws_caption_fade=function(t,i,r,u){r=t.noDelay?0:(t.duration/2-t.captionDuration/3)/2;0>r&&(r=0);i.stop(1,1).delay(r).fadeOut(t.captionDuration/3);u&&(n&&clearTimeout(n),n=setTimeout(function(){i.stop(1,1).html(u);i.fadeIn(t.captionDuration,function(){this.filters&&this.style.removeAttribute("filter")})},t.noDelay?0:t.duration/2+r))}}(),function(){var n;window.ws_caption_move=function(t,i,r,u){var e=jQuery,f=[{left1:"100%",top2:"100%"},{left1:"80%",left2:"-50%"},{top1:"-100%",top2:"100%",distance:.7,easing:"easeOutBack"},{top1:"-80%",top2:"-80%",distance:.3,easing:"easeOutBack"},{top1:"-80%",left2:"80%"},{left1:"80%",left2:"80%"}],f=f[Math.floor(Math.random()*f.length)];r=t.noDelay?0:t.duration/2-t.captionDuration/3;0>r&&(r=0);i.stop(1,1).delay(r).fadeOut(t.captionDuration/3);u&&(n&&clearTimeout(n),n=setTimeout(function(){function h(n){var i=e(r[n]).css("opacity");e(r[n]).css({visibility:"visible"}).css({opacity:0}).animate({opacity:i},t.captionDuration,"easeOutCirc").animate({top:0,left:0},{duration:t.captionDuration,easing:f.easing||"easeOutElastic1",queue:!1})}var r,n,o,s;i.stop(1,1).html(u);r=i.find(">span,>div").get();e(r).css({position:"relative",visibility:"hidden"});i.show();for(n in f)/\%/.test(f[n])&&(f[n]=parseInt(f[n])/100,o=i.offset()[/left/.test(n)?"left":"top"],s=/left/.test(n)?"width":"height",f[n]=0>f[n]?f[n]*o:f[n]*(t.$this[s]()-i[s]()-o));e(r[0]).css({left:(f.left1||0)+"px",top:(f.top1||0)+"px"});e(r[1]).css({left:(f.left2||0)+"px",top:(f.top2||0)+"px"});h(0);setTimeout(function(){h(1)},t.captionDuration*(f.distance||.5))},t.noDelay?0:t.duration/2+r))}}(),function(){var n=jQuery,t;n.extend(n.easing,{easeInQuad:function(n,t,i,r,u){return r*(t/=u)*t+i},easeOutQuad:function(n,t,i,r,u){return-r*(t/=u)*(t-2)+i}});window.ws_caption_traces=function(i,r,u,f){function e(n){var t,i=parseInt;if(n=n.replace(/\s\s*/g,""),"transparent"==n&&(n="rgba(255,255,255,0)"),t=/^#([\da-fA-F]{2})([\da-fA-F]{2})([\da-fA-F]{2})/.exec(n))t=[i(t[1],16),i(t[2],16),i(t[3],16)];else if(t=/^#([\da-fA-F])([\da-fA-F])([\da-fA-F])/.exec(n))t=[17*i(t[1],16),17*i(t[2],16),17*i(t[3],16)];else if(t=/^rgba\(([\d]+),([\d]+),([\d]+),([\d]+|[\d]*.[\d]+)\)/.exec(n))t=[+t[1],+t[2],+t[3],+t[4]];else if(t=/^rgb\(([\d]+),([\d]+),([\d]+)\)/.exec(n))t=[+t[1],+t[2],+t[3]];else throw Error(n+" is not supported by $.parseColor");return isNaN(t[3])&&(t[3]=1),t.slice(0,3+!!l)}function h(t,i){var s,u,h;if(!t||!t.length)return t;for(var r=t.css("background-color"),f=t.css("color"),r=e(r),f=e(f),u=[r],o=0;3>o;o++)s=[Math.round(r[0]-(o+1)*(r[0]-f[0])/4),Math.round(r[1]-(o+1)*(r[1]-f[1])/4),Math.round(r[2]-(o+1)*(r[2]-f[2])/4)],4==r.length&&s.push(r[3]-(o+1)*(r[3]-f[3])/4),u.push(s);u.push(f);for(o in u)u[o]=(4==r.length?"rgba(":"rgb(")+u[o].join(",")+")";r=u||c;u={position:"absolute",top:0,left:0,bottom:0,right:0};f={};i.top?(u.top=-i.top*t.innerHeight(),f.height=100/r.length+"%"):i.left&&(u.position="absolute",f.height="100%",f.width=100/r.length+"%",0>i.left?(u.left=-i.left*t.innerWidth(),f.float="left"):(u.right=i.left*t.innerWidth(),f.float="right"));u=n('<i class="ws-colored-traces">').css(u);for(h in r)n("<i>").css({display:"block",background:r[h]}).css(f).appendTo(u);return t.append(u)}function o(t,r){var u={visibility:"visible"},e={},f={};r.top?(u.top=r.top*i.$this.height(),u.height=Math.abs(r.top)*i.$this.height(),e.top=0,f.height=t.height()):r.left&&(u.left=r.left*i.$this.width()*2,f.left=0,0>r.left?(e.left=u.left/2,u.width=i.$this.width(),f.width=t.width()+2):(u.width=t.width()+2,e.left=0,u.paddingLeft=i.$this.width(),f.paddingLeft=t.css("paddingLeft")));h(t,r).css(u).animate(e,{duration:.8*i.captionDuration,easing:"easeInQuad"}).animate(f,.8*i.captionDuration,"easeOutQuad",function(){var t=n(this);n(".ws-colored-traces",t).remove();t.css({height:"",width:"",overflow:"",top:"",left:"",paddingLeft:""})})}var c=["#fff","#ccc","#555","#000"],s=[[{top:-1},{left:1}],[{top:-1},{left:-1}],[{left:-1},{left:1}],[{left:1},{left:-1}]][Math.floor(4*Math.random())],l=function(){var t=n("<div>").css("backgroundColor","rgba(100,255,20,.5)");return/rgba/g.test(t.css("backgroundColor"))}();r.parent().css({position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"});u=i.noDelay?0:i.duration/2-i.captionDuration/1.5;0>u&&(u=0);r.stop(1,1).delay(u).fadeOut(i.captionDuration/3);f&&(t&&clearTimeout(t),t=setTimeout(function(){r.stop(1,1).html(f);var t=r.find(">span,>div").get();n(t).css({position:"relative",visibility:"hidden",verticalAlign:"top",overflow:"hidden"});r.show();o(n(t[0]),s[0]);setTimeout(function(){o(n(t[1]),s[1])},.3*i.captionDuration)},i.noDelay?0:i.duration/2+u))}}(),function(){function w(){var u,o;if(!k&&document.body){k=!0;var t=document.body,f=document.documentElement,i=window.innerHeight,s=t.scrollHeight;r=0<=document.compatMode.indexOf("CSS")?f:t;e=t;n.keyboardSupport&&window.addEventListener("keydown",ut,!1);top!=self?c=!0:ui&&s>i&&(t.offsetHeight<=i||f.offsetHeight<=i)&&(u=document.createElement("div"),u.style.cssText="position:absolute; z-index:-10000; top:0; left:0; right:0; height:"+r.scrollHeight+"px",document.body.appendChild(u),l=function(){o||(o=setTimeout(function(){u.style.height="0";u.style.height=r.scrollHeight+"px";o=null},500))},setTimeout(l,10),window.addEventListener("resize",l,!1),p=new ni(l),p.observe(t,{attributes:!0,childList:!0,characterData:!1}),r.offsetHeight<=i&&(i=document.createElement("div"),i.style.clear="both",t.appendChild(i)));n.fixedBackground||(t.style.backgroundAttachment="scroll",f.style.backgroundAttachment="scroll")}}function it(t,i,r){var u,e,f;bt(i,r);1!=n.accelerationMax&&(u=Date.now()-g,u<n.accelerationDelta&&(u=(1+50/u)/2,1<u&&(u=Math.min(u,n.accelerationMax),i*=u,r*=u)),g=Date.now());o.push({x:i,y:r,lastX:0>i?.99:-.99,lastY:0>r?.99:-.99,start:Date.now()});d||(e=t===document.body,f=function(u){u=Date.now();for(var a=0,v=0,l=0;l<o.length;l++){var c=o[l],s=u-c.start,y=s>=n.animationTime,h=y?1:s/n.animationTime;n.pulseAlgorithm&&(s=h,1<=s?h=1:0>=s?h=0:(1==n.pulseNormalize&&(n.pulseNormalize/=lt(1)),h=lt(s)));s=c.x*h-c.lastX>>0;h=c.y*h-c.lastY>>0;a+=s;v+=h;c.lastX+=s;c.lastY+=h;y&&(o.splice(l,1),l--)}e?window.scrollBy(a,v):(a&&(t.scrollLeft+=a),v&&(t.scrollTop+=v));i||r||(o=[]);o.length?wt(f,t,1e3/n.frameRate+1):d=!1},wt(f,t,0),d=!0)}function rt(t){var r,u,i;if(k||w(),r=t.target,t.defaultPrevented||t.ctrlKey||f(e,"embed")||f(r,"embed")&&/\.pdf/i.test(r.src)||f(e,"object")||r.shadowRoot)return!0;if(u=-t.wheelDeltaX||t.deltaX||0,i=-t.wheelDeltaY||t.deltaY||0,dt&&(t.wheelDeltaX&&s(t.wheelDeltaX,120)&&(u=-120*(t.wheelDeltaX/Math.abs(t.wheelDeltaX))),t.wheelDeltaY&&s(t.wheelDeltaY,120)&&(i=-120*(t.wheelDeltaY/Math.abs(t.wheelDeltaY)))),u||i||(i=-t.wheelDelta||0),1===t.deltaMode&&(u*=40,i*=40),r=ot(r),!r)return c&&tt?(Object.defineProperty(t,"target",{value:window.frameElement}),t=new t.constructor(t.type,t),parent.dispatchEvent(t)):!0;if(!n.touchpadSupport&&kt(i))return!0;1.2<Math.abs(u)&&(u*=n.stepSize/120);1.2<Math.abs(i)&&(i*=n.stepSize/120);it(r,u,i);t.preventDefault();et()}function ut(i){var u=i.target,s=i.ctrlKey||i.altKey||i.metaKey||i.shiftKey&&i.keyCode!==t.spacebar,o,r,h;if(document.body.contains(e)||(e=document.activeElement),r=/^(textarea|select|embed|object)$/i,o=/^(button|submit|radio|checkbox|file|color|image)$/i,!(r=i.defaultPrevented||r.test(u.nodeName)||f(u,"input")&&!o.test(u.type)||f(e,"video"))){if(r=i.target,h=!1,-1!=document.URL.indexOf("www.youtube.com/watch"))do if(h=r.classList&&r.classList.contains("html5-video-controls"))break;while(r=r.parentNode);r=h}if(r||u.isContentEditable||s||(f(u,"button")||f(u,"input")&&o.test(u.type))&&i.keyCode===t.spacebar||f(u,"input")&&"radio"==u.type&&gt[i.keyCode])return!0;if(r=u=0,s=ot(e),!s)return c&&tt?parent.keydown(i):!0;o=s.clientHeight;s==document.body&&(o=window.innerHeight);switch(i.keyCode){case t.up:r=-n.arrowScroll;break;case t.down:r=n.arrowScroll;break;case t.spacebar:r=i.shiftKey?1:-1;r=-r*o*.9;break;case t.pageup:r=.9*-o;break;case t.pagedown:r=.9*o;break;case t.home:r=-s.scrollTop;break;case t.end:o=s.scrollHeight-s.scrollTop-o;r=0<o?o+10:0;break;case t.left:u=-n.arrowScroll;break;case t.right:u=n.arrowScroll;break;default:return!0}it(s,u,r);i.preventDefault();et()}function ft(n){e=n.target}function et(){clearTimeout(yt);yt=setInterval(function(){nt={}},1e3)}function b(n,t){for(var i=n.length;i--;)nt[vt(n[i])]=t;return t}function ot(n){var i=[],u=document.body,f=r.scrollHeight,t;do{if(t=nt[vt(n)],t)return b(i,t);if(i.push(n),f===n.scrollHeight){if(t=st(r)&&st(u)||ht(r),c&&r.clientHeight+10<r.scrollHeight||!c&&t)return b(i,ti())}else if(n.clientHeight+10<n.scrollHeight&&ht(n))return b(i,n)}while(n=n.parentElement)}function st(n){return"hidden"!==getComputedStyle(n,"").getPropertyValue("overflow-y")}function ht(n){return n=getComputedStyle(n,"").getPropertyValue("overflow-y"),"scroll"===n||"auto"===n}function f(n,t){return(n.nodeName||"").toLowerCase()===t.toLowerCase()}function bt(n,t){n=0<n?1:-1;t=0<t?1:-1;(y.x!==n||y.y!==t)&&(y.x=n,y.y=t,o=[],g=0)}function kt(n){if(n)return u.length||(u=[n,n,n]),n=Math.abs(n),u.push(n),u.shift(),clearTimeout(pt),pt=setTimeout(function(){try{localStorage.SS_deltaBuffer=u.join(",")}catch(n){}},1e3),!ct(120)&&!ct(100)}function s(n,t){return Math.floor(n/t)==n/t}function ct(n){return s(u[0],n)&&s(u[1],n)&&s(u[2],n)}function lt(t){var i;return t*=n.pulseScale,1>t?i=t-(1-Math.exp(-t)):(i=Math.exp(-1),--t,t=1-Math.exp(-t),i+=t*(1-i)),i*n.pulseNormalize}function h(t){for(var i in t)at.hasOwnProperty(i)&&(n[i]=t[i])}var at={frameRate:150,animationTime:400,stepSize:100,pulseAlgorithm:!0,pulseScale:4,pulseNormalize:1,accelerationDelta:50,accelerationMax:3,keyboardSupport:!0,arrowScroll:50,touchpadSupport:!1,fixedBackground:!0,excluded:""},n=at,c=!1,y={x:0,y:0},k=!1,r=document.documentElement,e,p,l,u=[],dt=/^Mac/.test(navigator.platform),t={left:37,up:38,right:39,down:40,spacebar:32,pageup:33,pagedown:34,end:35,home:36},gt={37:1,38:1,39:1,40:1},o=[],d=!1,g=Date.now(),vt=function(){var n=0;return function(t){return t.uniqueID||(t.uniqueID=n++)}}(),nt={},yt,pt;if(window.localStorage&&localStorage.SS_deltaBuffer)try{u=localStorage.SS_deltaBuffer.split(",")}catch(fi){}var wt=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(n,t,i){window.setTimeout(n,i||1e3/60)}}(),ni=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,ti=function(){var n;return function(){var t,i;return n||(t=document.createElement("div"),t.style.cssText="height:10000px;width:1px;",document.body.appendChild(t),i=document.body.scrollTop,window.scrollBy(0,3),n=document.body.scrollTop!=i?document.body:document.documentElement,window.scrollBy(0,-3),document.body.removeChild(t)),n}}(),i=window.navigator.userAgent,a=/Edge/.test(i),tt=/chrome/i.test(i)&&!a,a=/safari/i.test(i)&&!a,ii=/mobile/i.test(i),ri=/Windows NT 6.1/i.test(i)&&/rv:11/i.test(i),ui=a&&(/Version\/8/i.test(i)||/Version\/9/i.test(i)),i=(tt||a||ri)&&!ii,v;"onwheel"in document.createElement("div")?v="wheel":"onmousewheel"in document.createElement("div")&&(v="mousewheel");v&&i&&(window.addEventListener(v,rt,!1),window.addEventListener("mousedown",ft,!1),window.addEventListener("load",w,!1));h.destroy=function(){p&&p.disconnect();window.removeEventListener(v,rt,!1);window.removeEventListener("mousedown",ft,!1);window.removeEventListener("keydown",ut,!1);window.removeEventListener("resize",l,!1);window.removeEventListener("load",w,!1)};window.SmoothScrollOptions&&h(window.SmoothScrollOptions);"function"==typeof define&&define.amd?define(function(){return h}):"object"==typeof exports?module.exports=h:window.SmoothScroll=h}();isBuilder=$("html").hasClass("is-builder");isBuilder?$(document).on("add.cards",function(n){$(n.target).hasClass("svg-gradient-elements")&&initSvgGradients(n.target)}).on("changeParameter.cards",function(n){$(n.target).hasClass("svg-gradient-elements")&&initSvgGradients(n.target)}):void 0===window.initGradientSvgPlugin&&(window.initGradientSvgPlugin=!0,$("section.svg-gradient-elements").each(function(){initSvgGradients($(this))})),function(n){"function"==typeof define&&define.amd?define(["jquery"],n):n(jQuery)}(function(n,t){function o(n,t){this.container=n;this.options=t;this.init()}function s(t,i){this.widget=t;this.options=n.extend({},i);this.detectService();this.service&&this.init()}function l(n){function u(n,t){return t.toUpper()}var r={},i,t;n=n.data();for(i in n)t=n[i],"yes"===t?t=!0:"no"===t&&(t=!1),r[i.replace(/-(\w)/g,u)]=t;return r}function r(n,t){return h(n,t,encodeURIComponent)}function h(n,t,i){return n.replace(/\{([^\}]+)\}/g,function(n,r){return r in t?i?i(t[r]):t[r]:n})}function f(n,t){var i="social-likes__"+n;return i+" "+i+"_"+t}function a(t,i){function r(e){"keydown"===e.type&&27!==e.which||n(e.target).closest(t).length||(t.removeClass("social-likes_opened"),u.off(f,r),n.isFunction(i)&&i())}var u=n(document),f="click touchstart keydown";u.on(f,r)}function v(n){if(document.documentElement.getBoundingClientRect){var i=parseInt(n.css("left"),10),r=parseInt(n.css("top"),10),t=n[0].getBoundingClientRect();10>t.left?n.css("left",10-t.left+i):t.right>window.innerWidth-10&&n.css("left",window.innerWidth-t.right-10+i);10>t.top?n.css("top",10-t.top+r):t.bottom>window.innerHeight-10&&n.css("top",window.innerHeight-t.bottom-10+r)}n.addClass("social-likes_opened")}var u="https:"===location.protocol?"https:":"http:",c="https:"===u,i={facebook:{counterUrl:"https://graph.facebook.com/fql?q=SELECT+total_count+FROM+link_stat+WHERE+url%3D%22{url}%22&callback=?",convertNumber:function(n){return n.data[0].total_count},popupUrl:"https://www.facebook.com/sharer/sharer.php?u={url}",popupWidth:600,popupHeight:500},twitter:{counterUrl:"https://cdn.api.twitter.com/1/urls/count.json?url={url}&callback=?",convertNumber:function(n){return n.count},popupUrl:"https://twitter.com/intent/tweet?url={url}&text={title}",popupWidth:600,popupHeight:450,click:function(){return/[\.\?:\-\u2013\u2014]\s*$/.test(this.options.title)||(this.options.title+=":"),!0}},mailru:{counterUrl:u+"//connect.mail.ru/share_count?url_list={url}&callback=1&func=?",convertNumber:function(n){for(var t in n)if(n.hasOwnProperty(t))return n[t].shares},popupUrl:u+"//connect.mail.ru/share?share_url={url}&title={title}",popupWidth:550,popupHeight:360},vkontakte:{counterUrl:"https://vk.com/share.php?act=count&url={url}&index={index}",counter:function(t,u){var f=i.vkontakte,e;f._||(f._=[],window.VK||(window.VK={}),window.VK.Share={count:function(n,t){f._[n].resolve(t)}});e=f._.length;f._.push(u);n.getScript(r(t,{index:e})).fail(u.reject)},popupUrl:u+"//vk.com/share.php?url={url}&title={title}",popupWidth:550,popupHeight:330},odnoklassniki:{counterUrl:c?t:"http://connect.ok.ru/dk?st.cmd=extLike&ref={url}&uid={index}",counter:function(t,u){var f=i.odnoklassniki,e;f._||(f._=[],window.ODKL||(window.ODKL={}),window.ODKL.updateCount=function(n,t){f._[n].resolve(t)});e=f._.length;f._.push(u);n.getScript(r(t,{index:e})).fail(u.reject)},popupUrl:"http://connect.ok.ru/dk?st.cmd=WidgetSharePreview&service=odnoklassniki&st.shareUrl={url}",popupWidth:550,popupHeight:360},plusone:{counterUrl:c?t:"http://share.yandex.ru/gpp.xml?url={url}",counter:function(t,u){var f=i.plusone;f._?u.reject():(window.services||(window.services={}),window.services.gplus={cb:function(n){"string"==typeof n&&(n=n.replace(/\D/g,""));f._.resolve(parseInt(n,10))}},f._=u,n.getScript(r(t)).fail(u.reject))},popupUrl:"https://plus.google.com/share?url={url}",popupWidth:700,popupHeight:500},pinterest:{counterUrl:u+"//api.pinterest.com/v1/urls/count.json?url={url}&callback=?",convertNumber:function(n){return n.count},popupUrl:u+"//pinterest.com/pin/create/button/?url={url}&description={title}",popupWidth:630,popupHeight:270}},e={promises:{},fetch:function(t,u,f){var h,o,s;return e.promises[t]||(e.promises[t]={}),h=e.promises[t],(f.forceUpdate||!h[u])&&(o=n.extend({},i[t],f),s=n.Deferred(),(t=o.counterUrl&&r(o.counterUrl,{url:u}))&&n.isFunction(o.counter)?o.counter(t,s):o.counterUrl?n.getJSON(t).done(function(t){try{var i=t;n.isFunction(o.convertNumber)&&(i=o.convertNumber(t));s.resolve(i)}catch(r){s.reject()}}).fail(s.reject):s.reject(),h[u]=s.promise()),h[u]}};n.fn.socialLikes=function(t){return this.each(function(){var i=n(this),r=i.data("social-likes");r?n.isPlainObject(t)&&r.update(t):(r=new o(i,n.extend({},n.fn.socialLikes.defaults,t,l(i))),i.data("social-likes",r))})};n.fn.socialLikes.defaults={url:window.location.href.replace(window.location.hash,""),title:document.title,counters:!0,zeroes:!1,wait:500,timeout:1e4,popupCheckInterval:500,singleTitle:"Share",initHtml:!0};o.prototype={init:function(){this.container.addClass("social-likes");this.single=this.container.hasClass("social-likes_single");this.initUserButtons();this.number=this.countersLeft=0;this.container.on("counter.social-likes",n.proxy(this.updateCounter,this));var t=this.container.children();this.makeSingleButton();this.buttons=[];t.each(n.proxy(function(t,i){var r=new s(n(i),this.options);this.buttons.push(r);r.options.counterUrl&&this.countersLeft++},this));this.options.counters?(this.timer=setTimeout(n.proxy(this.appear,this),this.options.wait),this.timeout=setTimeout(n.proxy(this.ready,this,!0),this.options.timeout)):this.appear()},initUserButtons:function(){!this.userButtonInited&&window.socialLikesButtons&&n.extend(!0,i,socialLikesButtons);this.userButtonInited=!0},makeSingleButton:function(){var t;if(this.single){t=this.container;t.addClass("social-likes_vertical");t.wrap(n("<div>",{"class":"social-likes_single-w"}));t.wrapInner(n("<div>",{"class":"social-likes__single-container"}));var r=t.parent(),i=n("<div>",{"class":f("widget","single")}),u=n(h('<div class="{buttonCls}"><span class="{iconCls}"><\/span>{title}<\/div>',{buttonCls:f("button","single"),iconCls:f("icon","single"),title:this.options.singleTitle}));i.append(u);r.append(i);i.on("click",function(){return i.toggleClass("social-likes__widget_active"),i.hasClass("social-likes__widget_active")?(t.css({left:-(t.width()-i.width())/2,top:-t.height()}),v(t),a(t,function(){i.removeClass("social-likes__widget_active")})):t.removeClass("social-likes_opened"),!1});this.widget=i}},update:function(t){if(t.forceUpdate||t.url!==this.options.url){this.number=0;this.countersLeft=this.buttons.length;this.widget&&this.widget.find(".social-likes__counter").remove();n.extend(this.options,t);for(var i=0;i<this.buttons.length;i++)this.buttons[i].update(t)}},updateCounter:function(n,t,i){i&&(this.number+=i,this.single&&this.getCounterElem().text(this.number));this.countersLeft--;0===this.countersLeft&&(this.appear(),this.ready())},appear:function(){this.container.addClass("social-likes_visible")},ready:function(n){this.timeout&&clearTimeout(this.timeout);this.container.addClass("social-likes_ready");n||this.container.trigger("ready.social-likes",this.number)},getCounterElem:function(){var t=this.widget.find(".social-likes__counter_single");return t.length||(t=n("<span>",{"class":f("counter","single")}),this.widget.append(t)),t}};s.prototype={init:function(){if(this.detectParams(),this.options.initHtml)this.initHtml();else this.widget.on("click",n.proxy(this.click,this));setTimeout(n.proxy(this.initCounter,this),0)},update:function(t){n.extend(this.options,{forceUpdate:!1},t);this.widget.find(".social-likes__counter").remove();this.initCounter()},detectService:function(){var t=this.widget.data("service"),f;if(!t){for(var r=this.widget[0],r=r.classList||r.className.split(" "),u=0;u<r.length;u++)if(f=r[u],i[f]){t=f;break}if(!t)return}this.service=t;n.extend(this.options,i[t])},detectParams:function(){var n=this.widget.data(),t;n.counter&&(t=parseInt(n.counter,10),isNaN(t)?this.options.counterUrl=n.counter:this.options.counterNumber=t);n.title&&(this.options.title=n.title);n.url&&(this.options.url=n.url)},initHtml:function(){var t=this.options,i=this.widget,u=i.find("a");if(u.length&&this.cloneDataAttrs(u,i),u=n("<span>",{"class":this.getElementClassNames("button"),text:i.text()}),t.clickUrl)t=r(t.clickUrl,{url:t.url,title:t.title}),t=n("<a>",{href:t}),this.cloneDataAttrs(i,t),i.replaceWith(t),this.widget=i=t;else i.on("click",n.proxy(this.click,this));i.removeClass(this.service);i.addClass(this.getElementClassNames("widget"));u.prepend(n("<span>",{"class":this.getElementClassNames("icon")}));i.empty().append(u);this.button=u},initCounter:function(){this.options.counters&&(this.options.counterNumber?this.updateCounter(this.options.counterNumber):e.fetch(this.service,this.options.url,{counterUrl:this.options.counterUrl,forceUpdate:this.options.forceUpdate}).always(n.proxy(this.updateCounter,this)))},cloneDataAttrs:function(n,t){var r=n.data(),i;for(i in r)r.hasOwnProperty(i)&&t.data(i,r[i])},getElementClassNames:function(n){return f(n,this.service)},updateCounter:function(t){t=parseInt(t,10)||0;var i={"class":this.getElementClassNames("counter"),text:t};t||this.options.zeroes||(i["class"]+=" social-likes__counter_empty",i.text="");i=n("<span>",i);this.widget.append(i);this.widget.trigger("counter.social-likes",[this.service,t])},click:function(t){var i=this.options,u=!0;return n.isFunction(i.click)&&(u=i.click.call(this,t)),u&&(t=r(i.popupUrl,{url:i.url,title:i.title}),t=this.addAdditionalParamsToUrl(t),this.openPopup(t,{width:i.popupWidth,height:i.popupHeight})),!1},addAdditionalParamsToUrl:function(t){var i=n.param(n.extend(this.widget.data(),this.options.data)),r;return n.isEmptyObject(i)?t:(r=-1===t.indexOf("?")?"?":"&",t+r+i)},openPopup:function(t,i){var e=Math.round(screen.width/2-i.width/2),u=0,r,f;screen.height>i.height&&(u=Math.round(screen.height/3-i.height/2));r=window.open(t,"sl_"+this.service,"left="+e+",top="+u+",width="+i.width+",height="+i.height+",personalbar=0,toolbar=0,scrollbars=1,resizable=1");r?(r.focus(),this.widget.trigger("popup_opened.social-likes",[this.service,r]),f=setInterval(n.proxy(function(){r.closed&&(clearInterval(f),this.widget.trigger("popup_closed.social-likes",this.service))},this),this.options.popupCheckInterval)):location.href=t}};n(function(){n(".social-likes").socialLikes()})}),function(n){function f(t){$ID=n(t).attr("id")+"-svg-gradient";n(t).find("svg linearGradient").attr("id",$ID);n(t).find("svg.gradient-element").each(function(){n(this).attr("stroke","url(#"+$ID+")");n(this).attr("fill","url(#"+$ID+")")})}function e(t,i,r){n(t).stop();var u=n(t).find(".animated-element");u.text(i);u.css({"white-space":"nowrap","z-index":0});n(t).css({position:"absolute",left:document.body.clientWidth,top:"calc(50% - "+n(t).height()/2+"px)"});n(t).animate({left:-n(t).width()},r,"linear",function(){n(this).css({left:document.body.clientWidth})});i=setInterval(function(){n(t).animate({left:-n(t).width()},r,"linear",function(){n(this).css({left:document.body.clientWidth})})},r);n(t).attr("id","interval"+i)}var t=n("html").hasClass("is-builder"),r,i,u;if(n.extend(n.easing,{easeInOutCubic:function(n,t,i,r,u){return 1>(t/=u/2)?r/2*t*t*t+i:r/2*((t-=2)*t*t+2)+i}}),n.fn.outerFind=function(n){return this.find(n).addBack(n)},n.fn.footerReveal=function(){function r(){t.outerHeight()<=u.outerHeight()?(t.css({"z-index":-999,position:"fixed",bottom:0}),t.css({width:i.outerWidth()}),i.css({"margin-bottom":t.outerHeight()})):(t.css({"z-index":"",position:"",bottom:""}),t.css({width:""}),i.css({"margin-bottom":""}))}var t=n(this),i=t.prev(),u=n(window);r();u.on("load resize",function(){r()});return this},function(n,t){var i=function(n,t,i){var r;return function(){var u=this,f=arguments;r?clearTimeout(r):i&&n.apply(u,f);r=setTimeout(function(){i||n.apply(u,f);r=null},t||100)}};jQuery.fn[t]=function(n){return n?this.bind("resize",i(n)):this.trigger(t)}}(jQuery,"smartresize"),n.isMobile=function(t){var i=[],r={blackberry:"BlackBerry",android:"Android",windows:"IEMobile",opera:"Opera Mini",ios:"iPhone|iPad|iPod"};return t="undefined"==n.type(t)?"*":t.toLowerCase(),"*"==t?i=n.map(r,function(n){return n}):t in r&&i.push(r[t]),!(!i.length||!navigator.userAgent.match(new RegExp(i.join("|"),"i")))},r=function(){var i=n('<div style="height: 50vh; position: absolute; top: -1000px; left: -1000px;">').appendTo("body"),t=i[0],r=parseInt(window.innerHeight/2,10),t=parseInt((window.getComputedStyle?getComputedStyle(t,null):t.currentStyle).height,10);return i.remove(),t==r}(),n(function(){function s(){n(this).css("height",9*n(this).parent().width()/16)}function u(t){setTimeout(function(){n(t).outerFind(".mbr-parallax-background").jarallax({speed:.6}).css("position","relative")},0)}function f(i){n(i).outerFind("[data-bg-video]").each(function(){var u=n(this).attr("data-bg-video"),i=u.match(/(http:\/\/|https:\/\/|)?(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(&\S+)?/),r=n('<div class="mbr-background-video-preview">').hide().css({backgroundSize:"cover",backgroundPosition:"center"}),f;n("> *:eq(0)",this).before(r);i&&(/youtube/g.test(i[3])||/vimeo/g.test(i[3]))?i&&/youtube/g.test(i[3])?(u="http"+("https:"===location.protocol?"s":"")+":",u+="//img.youtube.com/vi/"+i[6]+"/maxresdefault.jpg",n("<img>").on("load",function(){if(120===(this.naturalWidth||this.width)){var n=this.src.split("/").pop();switch(n){case"maxresdefault.jpg":this.src=this.src.replace(n,"sddefault.jpg");break;case"sddefault.jpg":this.src=this.src.replace(n,"hqdefault.jpg");break;default:t&&r.css("background-image",'url("images/no-video.jpg")').show()}}else r.css("background-image",'url("'+this.src+'")').show()}).attr("src",u),!n.fn.YTPlayer||t||n.isMobile()||n("> *:eq(1)",this).before('<div class="mbr-background-video"><\/div>').prev().YTPlayer({videoURL:i[6],containment:"self",showControls:!1,mute:!0})):i&&/vimeo/g.test(i[3])&&(f=new XMLHttpRequest,f.open("GET","https://vimeo.com/api/v2/video/"+i[6]+".json",!0),f.onreadystatechange=function(){if(4===this.readyState)if(200<=this.status&&400>this.status){var n=JSON.parse(this.responseText);r.css("background-image",'url("'+n[0].thumbnail_large+'")').show()}else t&&r.css("background-image",'url("images/no-video.jpg")').show()},f.send(),f=null,!n.fn.vimeo_player||t||n.isMobile()||n("> *:eq(1)",this).before('<div class="mbr-background-video"><\/div>').prev().vimeo_player({videoURL:u,containment:"self",showControls:!1,mute:!0})):t&&r.css("background-image",'url("images/video-placeholder.jpg")').show()})}n("html").addClass(n.isMobile()?"mobile":"desktop");n(window).scroll(function(){n(".mbr-navbar--sticky").each(function(){var t=10<n(window).scrollTop()?"addClass":"removeClass";n(this)[t]("mbr-navbar--stuck").not(".mbr-navbar--open")[t]("mbr-navbar--short")})});n.isMobile()&&navigator.userAgent.match(/Chrome/i)?function(t,i){var r=[t,t];r[i>t?0:1]=i;n(window).smartresize(function(){var t=n(window).height();0>n.inArray(t,r)&&(t=r[n(window).width()>t?1:0]);n(".mbr-section--full-height").css("height",t+"px")})}(n(window).width(),n(window).height()):r||(n(window).smartresize(function(){n(".mbr-section--full-height").css("height",n(window).height()+"px")}),n(document).on("add.cards",function(t){n("html").hasClass("mbr-site-loaded")&&n(t.target).outerFind(".mbr-section--full-height").length&&n(window).resize()}));n(window).smartresize(function(){n(".mbr-section--16by9").each(s)});n(document).on("add.cards changeParameter.cards",function(t){var i=n(t.target).outerFind(".mbr-section--16by9");i.length?i.attr("data-16by9","true").each(s):n(t.target).outerFind("[data-16by9]").css("height","").removeAttr("data-16by9")});n.fn.jarallax&&!n.isMobile()&&(n(window).on("update.parallax",function(){setTimeout(function(){var t=n(".mbr-parallax-background");t.jarallax("coverImage");t.jarallax("clipContainer");t.jarallax("onScroll")},0)}),t?(n(document).on("add.cards",function(t){u(t.target);n(window).trigger("update.parallax")}),n(document).on("changeParameter.cards",function(t,i,r,f){if("bg"===i)switch(n(t.target).jarallax("destroy").css("position",""),f){case"type":!0===r.parallax&&u(t.target);break;case"value":"image"===r.type&&!0===r.parallax&&u(t.target);break;case"parallax":!0===r.parallax&&u(t.target)}n(window).trigger("update.parallax")})):u(document.body),n(window).on("shown.bs.tab",function(){n(window).trigger("update.parallax")}));var e,o,h=0,i=null,c=!n.isMobile();n(window).scroll(function(){var t,u,r;o&&clearTimeout(o);t=n(window).scrollTop();u=t<=h||c;h=t;i&&(r=t>i.breakPoint,u?r!=i.fixed&&(c?(i.fixed=r,n(i.elm).toggleClass("is-fixed")):o=setTimeout(function(){i.fixed=r;n(i.elm).toggleClass("is-fixed")},40)):(i.fixed=!1,n(i.elm).removeClass("is-fixed")))});n(document).on("add.cards delete.cards",function(){e&&clearTimeout(e);e=setTimeout(function(){i&&(i.fixed=!1,n(i.elm).removeClass("is-fixed"));n(".mbr-fixed-top:first").each(function(){i={breakPoint:n(this).offset().top+3*n(this).height(),fixed:!1,elm:this};n(window).scroll()})},650)});n(window).smartresize(function(){n(".mbr-embedded-video").each(function(){n(this).height(n(this).width()*parseInt(n(this).attr("height")||315)/parseInt(n(this).attr("width")||560))})});n(document).on("add.cards",function(t){n("html").hasClass("mbr-site-loaded")&&n(t.target).outerFind("iframe").length&&n(window).resize()});if(t)n(document).on("add.cards",function(n){f(n.target)});else f(document.body);n(document).on("changeParameter.cards",function(t,i,r,u){if("bg"===i)switch(u){case"type":n(t.target).find(".mbr-background-video-preview").remove();"video"===r.type&&f(t.target);break;case"value":"video"===r.type&&(n(t.target).find(".mbr-background-video-preview").remove(),f(t.target))}});t||n("body > *:not(style, script)").trigger("add.cards");n("html").addClass("mbr-site-loaded");n(window).resize().scroll();t||n(document).click(function(t){var i,r;try{if(i=t.target,!n(i).parents().hasClass("carousel"))do if(i.hash){r=/#bottom|#top/g.test(i.hash);n(r?"body":i.hash).each(function(){t.preventDefault();var r=n(i).parents().hasClass("navbar-fixed-top")?60:0;0!=n(i).parents().find(".menu-top").length&&(r+=n(i).parents().find(".menu-top").innerHeight());r="#bottom"==i.hash?n(this).height()-n(window).height():n(this).offset().top-r;n(this).hasClass("panel-collapse")||n(this).hasClass("tab-pane")||n("html, body").stop().animate({scrollTop:r},800,"easeInOutCubic")});break}while(i=i.parentNode)}catch(u){}});n(".cols-same-height .mbr-figure").each(function(){function i(){var n,i;t.css({width:"",maxWidth:"",marginLeft:""});f&&u&&(n=f/u,r.addClass({position:"absolute",top:0,left:0,right:0,bottom:0}),i=e.height()/e.width(),i>n&&(n=100*(i-n)/n,t.css({width:n+100+"%",maxWidth:n+100+"%",marginLeft:-n/2+"%"})))}var r=n(this),t=r.children("img"),e=r.parent(),u=t[0].width,f=t[0].height;t.one("load",function(){u=t[0].width;f=t[0].height;i()});n(window).on("resize",i);i()})}),!t){if(n.fn.socialLikes)n(document).on("add.cards",function(t){n(t.target).outerFind(".mbr-social-likes").on("counter.social-likes",function(t,i,r){999<r&&n(".social-likes__counter",t.target).html(Math.floor(r/1e3)+"k")}).socialLikes({initHtml:!1})});n(document).on("add.cards",function(t){n(t.target).hasClass("mbr-reveal")&&n(t.target).footerReveal()});n(document).ready(function(){var i,r,t;if(!n.isMobile()&&n("input[name=animation]").length){i=function(n){var t=0;do t+=n.offsetTop||0,n=n.offsetParent;while(n);return t};n("input[name=animation]").remove();r=n("p, h1, h2, h3, h4, h5, a, button, small, img, li, blockquote, .mbr-author-name, em, label, input, textarea, .input-group, .iconbox, .btn-social, .mbr-figure, .mbr-map, .mbr-testimonial .card-block, .mbr-price-value, .mbr-price-figure, .dataTable, .dataTables_info").not(function(){return n(this).parents().is(".navbar, .mbr-arrow, footer, .iconbox, .mbr-slider, .mbr-gallery, .mbr-testimonial .card-block, #cookiesdirective, .mbr-wowslider, .accordion, .tab-content, .engine, #scrollToTop")}).addClass("hidden animated");t=n(window);t.on("scroll resize",function(){var t=document.documentElement.scrollTop||document.body.scrollTop,u=t+window.innerHeight-50;n.each(r,function(){var f=n(this),r=f[0],e=r.offsetHeight,r=i(r);if(r+e>=t&&r<=u&&f.hasClass("hidden"))f.removeClass("hidden").addClass("fadeInUp").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){f.removeClass("animated fadeInUp")})})});t.trigger("scroll")}});n(".nav-dropdown").length&&n(".nav-dropdown").swipe({swipeLeft:function(){n(".navbar-close").click()}})}if(n(document).ready(function(){if(n(".mbr-arrow-up").length){var t=n("#scrollToTop"),i=n("body,html"),r=n(window);t.css("display","none");r.scroll(function(){0<n(this).scrollTop()?t.fadeIn():t.fadeOut()});t.click(function(){return i.animate({scrollTop:0},400),!1})}}),!t)n(".mbr-arrow").on("click",function(t){t=n(t.target).closest("section").next();t.hasClass("engine")&&(t=t.closest("section").next());t=t.offset();n("html, body").stop().animate({scrollTop:t.top},800,"linear")});if(n("nav.navbar").length&&(i=n("nav.navbar").height(),n(".mbr-after-navbar.mbr-fullscreen").css("padding-top",i+"px")),!t&&(0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./)))n(document).on("add.cards",function(t){var i=n(t.target);if(i.hasClass("mbr-fullscreen"))n(window).on("load resize",function(){i.css("height","auto");i.outerHeight()<=n(window).height()&&i.css("height","1px")});(i.hasClass("mbr-slider")||i.hasClass("mbr-gallery"))&&(i.find(".carousel-indicators").addClass("ie-fix").find("li").css({display:"inline-block",width:"30px"}),i.hasClass("mbr-slider")&&i.find(".full-screen .slider-fullscreen-image").css("height","1px"))});n(document).ready(function(){if(!t){var i=function(t){var i=n(t).parents("section").find("iframe")[0],r=n(i).attr("src"),u;t.parents("section").css("z-index","1");-1!==r.indexOf("youtu")&&i.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");-1!==r.indexOf("vimeo")&&(u=new Vimeo.Player(n(i)),u.play());n(t).parents("section").find(n(t).attr("data-modal")).css("display","table").click(function(){-1!==r.indexOf("youtu")&&i.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");-1!==r.indexOf("vimeo")&&u.pause();n(this).css("display","none").off("click");t.parents("section").css("z-index","0")})};n(".modalWindow-video iframe").each(function(){var t=n(this).attr("data-src"),i;n(this).removeAttr("data-src");i=t.match(/(http:\/\/|https:\/\/|)?(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(&\S+)?/);-1!==t.indexOf("youtu")?n(this).attr("src","https://youtube.com/embed/"+i[6]+"?rel=0&enablejsapi=1"):-1!==t.indexOf("vimeo")&&n(this).attr("src","https://player.vimeo.com/video/"+i[6]+"?autoplay=0&loop=0")});n("[data-modal]").click(function(){i(n(this))})}});t||n.isMobile()||(i=n("section.menu"),u=n(window).width(),!i.find(".navbar").hasClass("collapsed")&&991<u&&(i.find("ul.navbar-nav li.dropdown").hover(function(){n(this).hasClass("open")||n(this).find("a")[0].click()},function(){n(this).hasClass("open")&&n(this).find("a")[0].click()}),i.find("ul.navbar-nav li.dropdown .dropdown-menu .dropdown").hover(function(){n(this).hasClass("open")||n(this).find("a")[0].click()},function(){n(this).hasClass("open")&&n(this).find("a")[0].click()})));t||("undefined"==typeof window.initPopupBtnPlugin&&0!=n(document.body).find("section.popup-btn-cards").length&&(window.initPopupBtnPlugin=!0,n("section.popup-btn-cards .card-wrapper").each(function(){n(this).addClass("popup-btn")})),"undefined"==typeof window.initTestimonialsPlugin&&0!=n(document.body).find(".testimonials-slider").length&&(window.initTestimonialsPlugin=!0,n(".testimonials-slider").each(function(){var t=n(this),i=t.attr("ID")+"-carousel";t.find(".carousel").attr("id",i);t.find(".carousel-controls a").attr("href","#"+i);t.find(".carousel-indicators li").attr("data-target","#"+i);n(t).find(".carousel-item:first").addClass("active")})),"undefined"==typeof window.initSwitchArrowPlugin&&(window.initSwitchArrowPlugin=!0,n(document).ready(function(){0!=n(".accordionStyles").length&&n('.accordionStyles .card-header a[role="button"]').each(function(){n(this).hasClass("collapsed")||n(this).addClass("collapsed")})}),n('.accordionStyles .card-header a[role="button"]').click(function(){var t=n(this).closest(".accordionStyles").attr("id");n(this).closest(".card").find(".panel-collapse").hasClass("collapsing")||(-1!=t.indexOf("toggle")?n(this).hasClass("collapsed")?n(this).find("span.sign").removeClass("mbri-arrow-down").addClass("mbri-arrow-up"):n(this).find("span.sign").removeClass("mbri-arrow-up").addClass("mbri-arrow-down"):-1!=t.indexOf("accordion")&&(n(this).closest(".accordionStyles ").children(".card").each(function(){n(this).find("span.sign").removeClass("mbri-arrow-up").addClass("mbri-arrow-down")}),n(this).hasClass("collapsed")&&n(this).find("span.sign").removeClass("mbri-arrow-down").addClass("mbri-arrow-up")))})),"undefined"==typeof window.initGradientSvgPlugin&&0!=n(document.body).find("section.svg-gradient-elements").length&&(window.initGradientSvgPlugin=!0,n("section.svg-gradient-elements").each(function(){f(n(this))})),"undefined"==typeof window.initAnimatedBgTextPlugin&&0!=n(document.body).find(".animated-text-background").length&&(window.initAnimatedBgTextPlugin=!0,n(".animated-text-background").each(function(){var t=1e3*(101-parseInt(n(this).find(".animated-element").attr("data-speed"))),i=n(this).find(".animated-element").attr("data-word");e(n(this),i,t)})),0!=n(".mbr-slider.carousel").length&&n(".mbr-slider.carousel").each(function(){var t=n(this),i=t.find(".carousel-control"),r=t.find(".carousel-indicators li");t.on("slide.bs.carousel",function(){i.bind("click",function(n){n.stopPropagation();n.preventDefault()});r.bind("click",function(n){n.stopPropagation();n.preventDefault()});t.carousel({keyboard:!1})}).on("slid.bs.carousel",function(){i.unbind("click");r.unbind("click");t.carousel({keyboard:!0});1<t.find(".carousel-item.active").length&&(t.find(".carousel-item.active").eq(1).removeClass("active"),t.find(".carousel-control li.active").eq(1).removeClass("active"))})}))}(jQuery);!function(){try{document.getElementsByClassName("engine")[0].getElementsByTagName("a")[0].removeAttribute("rel")}catch(t){}if(!document.getElementById("top-1")){var n=document.createElement("section");n.id="top-1";n.className="engine";n.innerHTML='<a href="https://mobirise.ws">Mobirise Website Builder<\/a> v4.8.6';document.body.insertBefore(n,document.body.childNodes[0])}}(),function(){function n(n){var t={};return"anim-type hidecontrols theme fullscreen timeout autoplay duration paddingtop paddingbottom showbullets height width responsive showcaptions captionseffect".split(" ").map(function(i){t[i]=n.attr("data-"+i)}),t}$(document).on("add.cards change.cards",function(t){var e,o,u;if($(t.target).hasClass("mbr-wowslider-container")){$(t.target).find(".mbr-wowslider-options").css("display","none");var s=$(t.target).closest("html").hasClass("is-builder"),i={},i=n($(t.target).find(".params")),f=$(t.target).find(".mbr-wowslider");"false"==i.showbullets&&$(t.target).find(".ws_bullets").css("display","none");e=!1;"true"!=i.autoplay||s||(e=!0);o=!1;"true"==i.showcaptions&&(o=!0);u=!1;("boundary"==i.theme||"dodgy"==i.theme)&&(u=[],$(".ws_bullets img").each(function(){u.push($(this).attr("src"))}));"utter"==i.theme&&(u=[],$(".ws_images img").each(function(){u.push($(this).attr("src"))}));f.css({"padding-top":1.5*+i.paddingtop+"rem","padding-bottom":1.5*+i.paddingbottom+"rem"});var h=0,l="ws_"+i["anim-type"],a=setInterval(function(){h++;(10<h||window[l])&&(clearInterval(a),$(t.target).find(".mbr-wowslider").wowSlider({effect:i["anim-type"],prev:"",next:"",duration:1e3*+i.duration,delay:1e3*+i.timeout,width:+i.width,height:+i.height,autoPlay:e,autoPlayVideo:!1,playPause:!0,stopOnHover:!1,loop:!1,bullets:1,caption:o,captionEffect:i.captionseffect,onStep:function(n){f.attr("data-cur-slide",n)},controls:!0,controlsThumb:u,responsive:+i.responsive,fullScreen:!1,gestures:2,onBeforeStep:0,images:0}))},100),r=$(t.target).attr("id"),c="style-"+r;$("head").find("#"+c).remove();text='<style id="'+c+'">';1==i.responsive&&(text+="#"+r+" .mbr-wowslider.boxed{max-width:"+i.width+"px;max-height:"+i.height+"px;margin:0 auto} \n",f.addClass("boxed"));2==i.responsive&&(text+="#"+r+" .mbr-wowslider.full-width{max-height:"+i.height+"px !important} \n",text+="#"+r+" .mbr-wowslider.full-width .ws_images>div>img{max-height:"+i.height+"px !important} \n",f.addClass("full-width"));"true"==i.hidecontrols&&(text+="#"+r+" .mbr-wowslider a.ws_next, #"+r+" a.ws_prev, #"+r+" .ws_playpause{display: none} \n",text+="#"+r+" .mbr-wowslider:hover a.ws_next, #"+r+" .mbr-wowslider:hover a.ws_prev, #"+r+"  .mbr-wowslider:hover .ws_playpause{display: block} \n");text+="<\/style>";$("head").append(text);s&&(f.css("cursor","pointer"),$(".ws_cover").on("click",function(){$(t.target).closest(".app-component").find(".component-params").click()}))}})}();jQuery(function(n){var t=function(){var r=("https:"==location.protocol?"https:":"http:")+"//formoid.net/api/push",u=function(){var t=(/MSIE (\d+)\./.exec(navigator.userAgent)||[0,0])[1];return 8==t||9==t&&"file:"!=location.protocol?function(t,i){var r=new XDomainRequest,u=n.Deferred();return r.open(i.type,t),r.onload=function(){u.resolve(this.responseText)},r.onerror=function(){u.reject()},r.send(i.data),u}:(n.support.cors=!0,n.ajax)}(),i=function(n,t){return(n="__"+n+"__",t.length)?(this[n]=t[0],this):this[n]},f=function(t,i,r){return n.each(r,function(n,r){t[r]=function(){return i[r].apply(i,arguments)}}),t},t=function(n){n=n||{};this.__email__=n.email||"";this.__title__=n.title||"";this.__data__=n.data||[]};return t.prototype.email=function(){return i.call(this,"email",arguments)},t.prototype.title=function(){return i.call(this,"title",arguments)},t.prototype.data=function(){return i.call(this,"data",arguments)},t.prototype.send=function(t,i){var e=f(n.Deferred(),this,["email","title","data","send"]);return i&&(i.call(this,e),"pending"!=e.state())?e:(u(r,{type:"POST",data:JSON.stringify({email:this.__email__,form:{title:this.__title__,data:arguments.length?t:this.__data__}})}).done(function(n){try{var t=JSON.parse(n);t.error?e.reject(t.error):e.resolve(t.response)}catch(i){e.reject("Incorrect server response.")}}).fail(function(){var n="Failed to query the server. ";n+="onLine"in navigator&&!navigator.onLine?"No connection to the Internet.":"Check the connection and try again.";e.reject(n)}),e)},{Form:function(n){return new t(n)}}}(),i=function(t){if(t.checkValidity)return t.checkValidity();var i=!0,r=n(t).val(),u=n(t).attr("type");return r?i=!("email"===u&&!/^([^@]+?)@(([a-z0-9]-*)*[a-z0-9]+\.)+([a-z0-9]+)$/i.test(r)):n(t).attr("required")&&(i=!1),n(t)[(i?"remove":"add")+"Class"]("form-invalid"),i};n('[data-form-type="formoid"]').each(function(){var o,r=n(this),f=r.is("form")?r:r.find("form"),u=r.find("[data-form-alert]"),s=r.is("[data-form-title]")?r:r.find("[data-form-title]"),e=r.find('[type="submit"]'),h=u.html();e.click(function(){f.addClass("form-active")});f.submit(function(c){if(c.preventDefault(),f.addClass("form-active"),!e.hasClass("btn-loading")){var l=!0,a=[];(o=o||t.Form({email:r.find("[data-form-email]").val(),title:s.attr("data-form-title")||s.text()}),u.html(""),r.find("[data-form-field]").each(function(){i(this)||(l=!1);a.push([n(this).attr("data-form-field")||n(this).attr("name"),n(this).val()])}),l)&&(e.addClass("btn-loading").prop("disabled",!0),o.send(a).done(function(t){f.removeClass("form-active");r.find("[data-form-field]").val("");u.removeAttr("hidden");u.append(n('<div class="alert alert-form alert-success text-xs-center"/>').text(h||t))}).fail(function(t){u.append(n('<div class="alert alert-form alert-danger text-xs-center"/>').text(t))}).always(function(){e.removeClass("btn-loading").prop("disabled",!1)}))}})})})