function loading(t){t?$("#loading").modal({keyboard:!1,backdrop:"static"}):$("#loading").modal("hide")}function btn(t,e){1==e?t.prop("disabled",!0).html("<i class='fal fa-spinner-third fa-spin'></i> 提交中..."):t.prop("disabled",!1).html(t.data("title"))}!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(T,t){"use strict";function m(t,e,n){var i,r=(e=e||Z).createElement("script");if(r.text=t,n)for(i in ct)n[i]&&(r[i]=n[i]);e.head.appendChild(r).parentNode.removeChild(r)}function g(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?it[rt.call(t)]||"object":typeof t}function a(t){var e=!!t&&"length"in t&&t.length,n=g(t);return!ut(t)&&!ht(t)&&("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t)}function u(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function e(t,n,i){return ut(n)?dt.grep(t,function(t,e){return!!n.call(t,e,t)!==i}):n.nodeType?dt.grep(t,function(t){return t===n!==i}):"string"!=typeof n?dt.grep(t,function(t){return-1<nt.call(n,t)!==i}):dt.filter(n,t,i)}function n(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function h(t){return t}function c(t){throw t}function l(t,e,n,i){var r;try{t&&ut(r=t.promise)?r.call(t).done(e).fail(n):t&&ut(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}function i(){Z.removeEventListener("DOMContentLoaded",i),T.removeEventListener("load",i),dt.ready()}function r(t,e){return e.toUpperCase()}function d(t){return t.replace(Dt,"ms-").replace(kt,r)}function s(){this.expando=dt.expando+s.uid++}function f(t,e,n){var i,r;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Nt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===(r=n)||"false"!==r&&("null"===r?null:r===+r+""?+r:Mt.test(r)?JSON.parse(r):r)}catch(t){}It.set(t,e,n)}else n=void 0;return n}function p(t,e,n,i){var r,s,o=20,a=i?function(){return i.cur()}:function(){return dt.css(t,e,"")},l=a(),u=n&&n[3]||(dt.cssNumber[e]?"":"px"),h=(dt.cssNumber[e]||"px"!==u&&+l)&&Pt.exec(dt.css(t,e));if(h&&h[3]!==u){for(l/=2,u=u||h[3],h=+l||1;o--;)dt.style(t,e,h+u),(1-s)*(1-(s=a()/l||.5))<=0&&(o=0),h/=s;h*=2,dt.style(t,e,h+u),n=n||[]}return n&&(h=+h||+l||0,r=n[1]?h+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=h,i.end=r)),r}function v(t,e){for(var n,i,r=[],s=0,o=t.length;s<o;s++)(i=t[s]).style&&(n=i.style.display,e?("none"===n&&(r[s]=At.get(i,"display")||null,r[s]||(i.style.display="")),""===i.style.display&&Rt(i)&&(r[s]=(c=u=l=void 0,u=(a=i).ownerDocument,h=a.nodeName,(c=Wt[h])||(l=u.body.appendChild(u.createElement(h)),c=dt.css(l,"display"),l.parentNode.removeChild(l),"none"===c&&(c="block"),Wt[h]=c)))):"none"!==n&&(r[s]="none",At.set(i,"display",n)));var a,l,u,h,c;for(s=0;s<o;s++)null!=r[s]&&(t[s].style.display=r[s]);return t}function y(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&u(t,e)?dt.merge([t],n):n}function _(t,e){for(var n=0,i=t.length;n<i;n++)At.set(t[n],"globalEval",!e||At.get(e[n],"globalEval"))}function w(t,e,n,i,r){for(var s,o,a,l,u,h,c=e.createDocumentFragment(),d=[],f=0,p=t.length;f<p;f++)if((s=t[f])||0===s)if("object"===g(s))dt.merge(d,s.nodeType?[s]:s);else if(Bt.test(s)){for(o=o||c.appendChild(e.createElement("div")),a=(zt.exec(s)||["",""])[1].toLowerCase(),l=Ft[a]||Ft._default,o.innerHTML=l[1]+dt.htmlPrefilter(s)+l[2],h=l[0];h--;)o=o.lastChild;dt.merge(d,o.childNodes),(o=c.firstChild).textContent=""}else d.push(e.createTextNode(s));for(c.textContent="",f=0;s=d[f++];)if(i&&-1<dt.inArray(s,i))r&&r.push(s);else if(u=dt.contains(s.ownerDocument,s),o=y(c.appendChild(s),"script"),u&&_(o),n)for(h=0;s=o[h++];)$t.test(s.type||"")&&n.push(s);return c}function o(){return!0}function b(){return!1}function x(){try{return Z.activeElement}catch(t){}}function C(t,e,n,i,r,s){var o,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)C(t,a,n,i,e[a],s);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=b;else if(!r)return t;return 1===s&&(o=r,(r=function(t){return dt().off(t),o.apply(this,arguments)}).guid=o.guid||(o.guid=dt.guid++)),t.each(function(){dt.event.add(this,e,r,i,n)})}function E(t,e){return u(t,"table")&&u(11!==e.nodeType?e:e.firstChild,"tr")&&dt(t).children("tbody")[0]||t}function S(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function D(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function k(t,e){var n,i,r,s,o,a,l,u;if(1===e.nodeType){if(At.hasData(t)&&(s=At.access(t),o=At.set(e,s),u=s.events))for(r in delete o.handle,o.events={},u)for(n=0,i=u[r].length;n<i;n++)dt.event.add(e,r,u[r][n]);It.hasData(t)&&(a=It.access(t),l=dt.extend({},a),It.set(e,l))}}function O(n,i,r,s){i=tt.apply([],i);var t,e,o,a,l,u,h=0,c=n.length,d=c-1,f=i[0],p=ut(f);if(p||1<c&&"string"==typeof f&&!lt.checkClone&&Jt.test(f))return n.each(function(t){var e=n.eq(t);p&&(i[0]=f.call(this,t,e.html())),O(e,i,r,s)});if(c&&(e=(t=w(i,n[0].ownerDocument,!1,n,s)).firstChild,1===t.childNodes.length&&(t=e),e||s)){for(a=(o=dt.map(y(t,"script"),S)).length;h<c;h++)l=t,h!==d&&(l=dt.clone(l,!0,!0),a&&dt.merge(o,y(l,"script"))),r.call(n[h],l,h);if(a)for(u=o[o.length-1].ownerDocument,dt.map(o,D),h=0;h<a;h++)l=o[h],$t.test(l.type||"")&&!At.access(l,"globalEval")&&dt.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?dt._evalUrl&&dt._evalUrl(l.src):m(l.textContent.replace(te,""),u,l))}return n}function A(t,e,n){for(var i,r=e?dt.filter(e,t):t,s=0;null!=(i=r[s]);s++)n||1!==i.nodeType||dt.cleanData(y(i)),i.parentNode&&(n&&dt.contains(i.ownerDocument,i)&&_(y(i,"script")),i.parentNode.removeChild(i));return t}function I(t,e,n){var i,r,s,o,a=t.style;return(n=n||ne(t))&&(""!==(o=n.getPropertyValue(e)||n[e])||dt.contains(t.ownerDocument,t)||(o=dt.style(t,e)),!lt.pixelBoxStyles()&&ee.test(o)&&ie.test(e)&&(i=a.width,r=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=n.width,a.width=i,a.minWidth=r,a.maxWidth=s)),void 0!==o?o+"":o}function M(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function N(t){var e=dt.cssProps[t];return e||(e=dt.cssProps[t]=function(t){if(t in ue)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=le.length;n--;)if((t=le[n]+e)in ue)return t}(t)||t),e}function L(t,e,n){var i=Pt.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function P(t,e,n,i,r,s){var o="width"===e?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(l+=dt.css(t,n+jt[o],!0,r)),i?("content"===n&&(l-=dt.css(t,"padding"+jt[o],!0,r)),"margin"!==n&&(l-=dt.css(t,"border"+jt[o]+"Width",!0,r))):(l+=dt.css(t,"padding"+jt[o],!0,r),"padding"!==n?l+=dt.css(t,"border"+jt[o]+"Width",!0,r):a+=dt.css(t,"border"+jt[o]+"Width",!0,r));return!i&&0<=s&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-s-l-a-.5))),l}function j(t,e,n){var i=ne(t),r=I(t,e,i),s="border-box"===dt.css(t,"boxSizing",!1,i),o=s;if(ee.test(r)){if(!n)return r;r="auto"}return o=o&&(lt.boxSizingReliable()||r===t.style[e]),("auto"===r||!parseFloat(r)&&"inline"===dt.css(t,"display",!1,i))&&(r=t["offset"+e[0].toUpperCase()+e.slice(1)],o=!0),(r=parseFloat(r)||0)+P(t,e,n||(s?"border":"content"),o,i,r)+"px"}function R(t,e,n,i,r){return new R.prototype.init(t,e,n,i,r)}function H(){ce&&(!1===Z.hidden&&T.requestAnimationFrame?T.requestAnimationFrame(H):T.setTimeout(H,dt.fx.interval),dt.fx.tick())}function W(){return T.setTimeout(function(){he=void 0}),he=Date.now()}function Y(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=jt[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function z(t,e,n){for(var i,r=($.tweeners[e]||[]).concat($.tweeners["*"]),s=0,o=r.length;s<o;s++)if(i=r[s].call(n,e,t))return i}function $(s,t,e){var n,o,i=0,r=$.prefilters.length,a=dt.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=he||W(),e=Math.max(0,u.startTime+u.duration-t),n=1-(e/u.duration||0),i=0,r=u.tweens.length;i<r;i++)u.tweens[i].run(n);return a.notifyWith(s,[u,n,e]),n<1&&r?e:(r||a.notifyWith(s,[u,1,0]),a.resolveWith(s,[u]),!1)},u=a.promise({elem:s,props:dt.extend({},t),opts:dt.extend(!0,{specialEasing:{},easing:dt.easing._default},e),originalProperties:t,originalOptions:e,startTime:he||W(),duration:e.duration,tweens:[],createTween:function(t,e){var n=dt.Tween(s,u.opts,t,e,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(n),n},stop:function(t){var e=0,n=t?u.tweens.length:0;if(o)return this;for(o=!0;e<n;e++)u.tweens[e].run(1);return t?(a.notifyWith(s,[u,1,0]),a.resolveWith(s,[u,t])):a.rejectWith(s,[u,t]),this}}),h=u.props;for(function(t,e){var n,i,r,s,o;for(n in t)if(r=e[i=d(n)],s=t[n],Array.isArray(s)&&(r=s[1],s=t[n]=s[0]),n!==i&&(t[i]=s,delete t[n]),(o=dt.cssHooks[i])&&"expand"in o)for(n in s=o.expand(s),delete t[i],s)n in t||(t[n]=s[n],e[n]=r);else e[i]=r}(h,u.opts.specialEasing);i<r;i++)if(n=$.prefilters[i].call(u,s,h,u.opts))return ut(n.stop)&&(dt._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)),n;return dt.map(h,z,u),ut(u.opts.start)&&u.opts.start.call(s,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),dt.fx.timer(dt.extend(l,{elem:s,anim:u,queue:u.opts.queue})),u}function F(t){return(t.match(Tt)||[]).join(" ")}function q(t){return t.getAttribute&&t.getAttribute("class")||""}function U(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(Tt)||[]}function B(n,t,i,r){var e;if(Array.isArray(t))dt.each(t,function(t,e){i||Se.test(n)?r(n,e):B(n+"["+("object"==typeof e&&null!=e?t:"")+"]",e,i,r)});else if(i||"object"!==g(t))r(n,t);else for(e in t)B(n+"["+e+"]",t[e],i,r)}function V(s){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,i=0,r=t.toLowerCase().match(Tt)||[];if(ut(e))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(s[n]=s[n]||[]).unshift(e)):(s[n]=s[n]||[]).push(e)}}function G(e,r,s,o){function a(t){var i;return l[t]=!0,dt.each(e[t]||[],function(t,e){var n=e(r,s,o);return"string"!=typeof n||u||l[n]?u?!(i=n):void 0:(r.dataTypes.unshift(n),a(n),!1)}),i}var l={},u=e===Re;return a(r.dataTypes[0])||!l["*"]&&a("*")}function Q(t,e){var n,i,r=dt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&dt.extend(!0,t,i),t}var K=[],Z=T.document,X=Object.getPrototypeOf,J=K.slice,tt=K.concat,et=K.push,nt=K.indexOf,it={},rt=it.toString,st=it.hasOwnProperty,ot=st.toString,at=ot.call(Object),lt={},ut=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},ht=function(t){return null!=t&&t===t.window},ct={type:!0,src:!0,noModule:!0},dt=function(t,e){return new dt.fn.init(t,e)},ft=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;dt.fn=dt.prototype={jquery:"3.3.1",constructor:dt,length:0,toArray:function(){return J.call(this)},get:function(t){return null==t?J.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=dt.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return dt.each(this,t)},map:function(n){return this.pushStack(dt.map(this,function(t,e){return n.call(t,e,t)}))},slice:function(){return this.pushStack(J.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:et,sort:K.sort,splice:K.splice},dt.extend=dt.fn.extend=function(){var t,e,n,i,r,s,o=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[a]||{},a++),"object"==typeof o||ut(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)n=o[e],o!==(i=t[e])&&(u&&i&&(dt.isPlainObject(i)||(r=Array.isArray(i)))?(r?(r=!1,s=n&&Array.isArray(n)?n:[]):s=n&&dt.isPlainObject(n)?n:{},o[e]=dt.extend(u,s,i)):void 0!==i&&(o[e]=i));return o},dt.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==rt.call(t)||(e=X(t))&&("function"!=typeof(n=st.call(e,"constructor")&&e.constructor)||ot.call(n)!==at))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t){m(t)},each:function(t,e){var n,i=0;if(a(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(ft,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(a(Object(t))?dt.merge(n,"string"==typeof t?[t]:t):et.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:nt.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,s=t.length,o=!n;r<s;r++)!e(t[r],r)!==o&&i.push(t[r]);return i},map:function(t,e,n){var i,r,s=0,o=[];if(a(t))for(i=t.length;s<i;s++)null!=(r=e(t[s],s,n))&&o.push(r);else for(s in t)null!=(r=e(t[s],s,n))&&o.push(r);return tt.apply([],o)},guid:1,support:lt}),"function"==typeof Symbol&&(dt.fn[Symbol.iterator]=K[Symbol.iterator]),dt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){it["[object "+e+"]"]=e.toLowerCase()});var pt=function(n){function w(t,e,n,i){var r,s,o,a,l,u,h,c=e&&e.ownerDocument,d=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return n;if(!i&&((e?e.ownerDocument||e:W)!==I&&A(e),e=e||I,N)){if(11!==d&&(l=mt.exec(t)))if(r=l[1]){if(9===d){if(!(o=e.getElementById(r)))return n;if(o.id===r)return n.push(o),n}else if(c&&(o=c.getElementById(r))&&R(e,o)&&o.id===r)return n.push(o),n}else{if(l[2])return K.apply(n,e.getElementsByTagName(t)),n;if((r=l[3])&&v.getElementsByClassName&&e.getElementsByClassName)return K.apply(n,e.getElementsByClassName(r)),n}if(v.qsa&&!q[t+" "]&&(!L||!L.test(t))){if(1!==d)c=e,h=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(_t,wt):e.setAttribute("id",a=H),s=(u=C(t)).length;s--;)u[s]="#"+a+" "+p(u[s]);h=u.join(","),c=gt.test(t)&&f(e.parentNode)||e}if(h)try{return K.apply(n,c.querySelectorAll(h)),n}catch(t){}finally{a===H&&e.removeAttribute("id")}}}return S(t.replace(st,"$1"),e,n,i)}function t(){var i=[];return function t(e,n){return i.push(e+" ")>x.cacheLength&&delete t[i.shift()],t[e+" "]=n}}function l(t){return t[H]=!0,t}function r(t){var e=I.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function e(t,e){for(var n=t.split("|"),i=n.length;i--;)x.attrHandle[n[i]]=e}function u(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function i(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function s(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}function o(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&xt(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function a(o){return l(function(s){return s=+s,l(function(t,e){for(var n,i=o([],t.length,s),r=i.length;r--;)t[n=i[r]]&&(t[n]=!(e[n]=t[n]))})})}function f(t){return t&&void 0!==t.getElementsByTagName&&t}function h(){}function p(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function c(a,t,e){var l=t.dir,u=t.next,h=u||l,c=e&&"parentNode"===h,d=z++;return t.first?function(t,e,n){for(;t=t[l];)if(1===t.nodeType||c)return a(t,e,n);return!1}:function(t,e,n){var i,r,s,o=[Y,d];if(n){for(;t=t[l];)if((1===t.nodeType||c)&&a(t,e,n))return!0}else for(;t=t[l];)if(1===t.nodeType||c)if(r=(s=t[H]||(t[H]={}))[t.uniqueID]||(s[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[l]||t;else{if((i=r[h])&&i[0]===Y&&i[1]===d)return o[2]=i[2];if((r[h]=o)[2]=a(t,e,n))return!0}return!1}}function d(r){return 1<r.length?function(t,e,n){for(var i=r.length;i--;)if(!r[i](t,e,n))return!1;return!0}:r[0]}function b(t,e,n,i,r){for(var s,o=[],a=0,l=t.length,u=null!=e;a<l;a++)(s=t[a])&&(n&&!n(s,i,r)||(o.push(s),u&&e.push(a)));return o}function y(f,p,m,g,v,t){return g&&!g[H]&&(g=y(g)),v&&!v[H]&&(v=y(v,t)),l(function(t,e,n,i){var r,s,o,a=[],l=[],u=e.length,h=t||function(t,e,n){for(var i=0,r=e.length;i<r;i++)w(t,e[i],n);return n}(p||"*",n.nodeType?[n]:n,[]),c=!f||!t&&p?h:b(h,a,f,n,i),d=m?v||(t?f:u||g)?[]:e:c;if(m&&m(c,d,n,i),g)for(r=b(d,l),g(r,[],n,i),s=r.length;s--;)(o=r[s])&&(d[l[s]]=!(c[l[s]]=o));if(t){if(v||f){if(v){for(r=[],s=d.length;s--;)(o=d[s])&&r.push(c[s]=o);v(null,d=[],r,i)}for(s=d.length;s--;)(o=d[s])&&-1<(r=v?X(t,o):a[s])&&(t[r]=!(e[r]=o))}}else d=b(d===e?d.splice(u,d.length):d),v?v(null,e,d,i):K.apply(e,d)})}function m(t){for(var r,e,n,i=t.length,s=x.relative[t[0].type],o=s||x.relative[" "],a=s?1:0,l=c(function(t){return t===r},o,!0),u=c(function(t){return-1<X(r,t)},o,!0),h=[function(t,e,n){var i=!s&&(n||e!==D)||((r=e).nodeType?l(t,e,n):u(t,e,n));return r=null,i}];a<i;a++)if(e=x.relative[t[a].type])h=[c(d(h),e)];else{if((e=x.filter[t[a].type].apply(null,t[a].matches))[H]){for(n=++a;n<i&&!x.relative[t[n].type];n++);return y(1<a&&d(h),1<a&&p(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(st,"$1"),e,a<n&&m(t.slice(a,n)),n<i&&m(t=t.slice(n)),n<i&&p(t))}h.push(e)}return d(h)}var g,v,x,_,T,C,E,S,D,k,O,A,I,M,N,L,P,j,R,H="sizzle"+1*new Date,W=n.document,Y=0,z=0,$=t(),F=t(),q=t(),U=function(t,e){return t===e&&(O=!0),0},B={}.hasOwnProperty,V=[],G=V.pop,Q=V.push,K=V.push,Z=V.slice,X=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",tt="[\\x20\\t\\r\\n\\f]",et="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",nt="\\["+tt+"*("+et+")(?:"+tt+"*([*^$|!~]?=)"+tt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+et+"))|)"+tt+"*\\]",it=":("+et+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+nt+")*)|.*)\\)|)",rt=new RegExp(tt+"+","g"),st=new RegExp("^"+tt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+tt+"+$","g"),ot=new RegExp("^"+tt+"*,"+tt+"*"),at=new RegExp("^"+tt+"*([>+~]|"+tt+")"+tt+"*"),lt=new RegExp("="+tt+"*([^\\]'\"]*?)"+tt+"*\\]","g"),ut=new RegExp(it),ht=new RegExp("^"+et+"$"),ct={ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),TAG:new RegExp("^("+et+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+it),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")},dt=/^(?:input|select|textarea|button)$/i,ft=/^h\d$/i,pt=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gt=/[+~]/,vt=new RegExp("\\\\([\\da-f]{1,6}"+tt+"?|("+tt+")|.)","ig"),yt=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},_t=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},bt=function(){A()},xt=c(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{K.apply(V=Z.call(W.childNodes),W.childNodes),V[W.childNodes.length].nodeType}catch(n){K={apply:V.length?function(t,e){Q.apply(t,Z.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}for(g in v=w.support={},T=w.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},A=w.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:W;return i!==I&&9===i.nodeType&&i.documentElement&&(M=(I=i).documentElement,N=!T(I),W!==I&&(n=I.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",bt,!1):n.attachEvent&&n.attachEvent("onunload",bt)),v.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),v.getElementsByTagName=r(function(t){return t.appendChild(I.createComment("")),!t.getElementsByTagName("*").length}),v.getElementsByClassName=pt.test(I.getElementsByClassName),v.getById=r(function(t){return M.appendChild(t).id=H,!I.getElementsByName||!I.getElementsByName(H).length}),v.getById?(x.filter.ID=function(t){var e=t.replace(vt,yt);return function(t){return t.getAttribute("id")===e}},x.find.ID=function(t,e){if(void 0!==e.getElementById&&N){var n=e.getElementById(t);return n?[n]:[]}}):(x.filter.ID=function(t){var n=t.replace(vt,yt);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===n}},x.find.ID=function(t,e){if(void 0!==e.getElementById&&N){var n,i,r,s=e.getElementById(t);if(s){if((n=s.getAttributeNode("id"))&&n.value===t)return[s];for(r=e.getElementsByName(t),i=0;s=r[i++];)if((n=s.getAttributeNode("id"))&&n.value===t)return[s]}return[]}}),x.find.TAG=v.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):v.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,s=e.getElementsByTagName(t);if("*"===t){for(;n=s[r++];)1===n.nodeType&&i.push(n);return i}return s},x.find.CLASS=v.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&N)return e.getElementsByClassName(t)},P=[],L=[],(v.qsa=pt.test(I.querySelectorAll))&&(r(function(t){M.appendChild(t).innerHTML="<a id='"+H+"'></a><select id='"+H+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&L.push("[*^$]="+tt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||L.push("\\["+tt+"*(?:value|"+J+")"),t.querySelectorAll("[id~="+H+"-]").length||L.push("~="),t.querySelectorAll(":checked").length||L.push(":checked"),t.querySelectorAll("a#"+H+"+*").length||L.push(".#.+[+~]")}),r(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=I.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&L.push("name"+tt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&L.push(":enabled",":disabled"),M.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&L.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),L.push(",.*:")})),(v.matchesSelector=pt.test(j=M.matches||M.webkitMatchesSelector||M.mozMatchesSelector||M.oMatchesSelector||M.msMatchesSelector))&&r(function(t){v.disconnectedMatch=j.call(t,"*"),j.call(t,"[s!='']:x"),P.push("!=",it)}),L=L.length&&new RegExp(L.join("|")),P=P.length&&new RegExp(P.join("|")),e=pt.test(M.compareDocumentPosition),R=e||pt.test(M.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=e?function(t,e){if(t===e)return O=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!v.sortDetached&&e.compareDocumentPosition(t)===n?t===I||t.ownerDocument===W&&R(W,t)?-1:e===I||e.ownerDocument===W&&R(W,e)?1:k?X(k,t)-X(k,e):0:4&n?-1:1)}:function(t,e){if(t===e)return O=!0,0;var n,i=0,r=t.parentNode,s=e.parentNode,o=[t],a=[e];if(!r||!s)return t===I?-1:e===I?1:r?-1:s?1:k?X(k,t)-X(k,e):0;if(r===s)return u(t,e);for(n=t;n=n.parentNode;)o.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;o[i]===a[i];)i++;return i?u(o[i],a[i]):o[i]===W?-1:a[i]===W?1:0}),I},w.matches=function(t,e){return w(t,null,null,e)},w.matchesSelector=function(t,e){if((t.ownerDocument||t)!==I&&A(t),e=e.replace(lt,"='$1']"),v.matchesSelector&&N&&!q[e+" "]&&(!P||!P.test(e))&&(!L||!L.test(e)))try{var n=j.call(t,e);if(n||v.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0<w(e,I,null,[t]).length},w.contains=function(t,e){return(t.ownerDocument||t)!==I&&A(t),R(t,e)},w.attr=function(t,e){(t.ownerDocument||t)!==I&&A(t);var n=x.attrHandle[e.toLowerCase()],i=n&&B.call(x.attrHandle,e.toLowerCase())?n(t,e,!N):void 0;return void 0!==i?i:v.attributes||!N?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},w.escape=function(t){return(t+"").replace(_t,wt)},w.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},w.uniqueSort=function(t){var e,n=[],i=0,r=0;if(O=!v.detectDuplicates,k=!v.sortStable&&t.slice(0),t.sort(U),O){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return k=null,t},_=w.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=_(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=_(e);return n},(x=w.selectors={cacheLength:50,createPseudo:l,match:ct,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(vt,yt),t[3]=(t[3]||t[4]||t[5]||"").replace(vt,yt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||w.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&w.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ct.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ut.test(n)&&(e=C(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(vt,yt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=$[t+" "];return e||(e=new RegExp("(^|"+tt+")"+t+"("+tt+"|$)"))&&$(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(n,i,r){return function(t){var e=w.attr(t,n);return null==e?"!="===i:!i||(e+="","="===i?e===r:"!="===i?e!==r:"^="===i?r&&0===e.indexOf(r):"*="===i?r&&-1<e.indexOf(r):"$="===i?r&&e.slice(-r.length)===r:"~="===i?-1<(" "+e.replace(rt," ")+" ").indexOf(r):"|="===i&&(e===r||e.slice(0,r.length+1)===r+"-"))}},CHILD:function(p,t,e,m,g){var v="nth"!==p.slice(0,3),y="last"!==p.slice(-4),_="of-type"===t;return 1===m&&0===g?function(t){return!!t.parentNode}:function(t,e,n){var i,r,s,o,a,l,u=v!==y?"nextSibling":"previousSibling",h=t.parentNode,c=_&&t.nodeName.toLowerCase(),d=!n&&!_,f=!1;if(h){if(v){for(;u;){for(o=t;o=o[u];)if(_?o.nodeName.toLowerCase()===c:1===o.nodeType)return!1;l=u="only"===p&&!l&&"nextSibling"}return!0}if(l=[y?h.firstChild:h.lastChild],y&&d){for(f=(a=(i=(r=(s=(o=h)[H]||(o[H]={}))[o.uniqueID]||(s[o.uniqueID]={}))[p]||[])[0]===Y&&i[1])&&i[2],o=a&&h.childNodes[a];o=++a&&o&&o[u]||(f=a=0)||l.pop();)if(1===o.nodeType&&++f&&o===t){r[p]=[Y,a,f];break}}else if(d&&(f=a=(i=(r=(s=(o=t)[H]||(o[H]={}))[o.uniqueID]||(s[o.uniqueID]={}))[p]||[])[0]===Y&&i[1]),!1===f)for(;(o=++a&&o&&o[u]||(f=a=0)||l.pop())&&((_?o.nodeName.toLowerCase()!==c:1!==o.nodeType)||!++f||(d&&((r=(s=o[H]||(o[H]={}))[o.uniqueID]||(s[o.uniqueID]={}))[p]=[Y,f]),o!==t)););return(f-=g)===m||f%m==0&&0<=f/m}}},PSEUDO:function(t,s){var e,o=x.pseudos[t]||x.setFilters[t.toLowerCase()]||w.error("unsupported pseudo: "+t);return o[H]?o(s):1<o.length?(e=[t,t,"",s],x.setFilters.hasOwnProperty(t.toLowerCase())?l(function(t,e){for(var n,i=o(t,s),r=i.length;r--;)t[n=X(t,i[r])]=!(e[n]=i[r])}):function(t){return o(t,0,e)}):o}},pseudos:{not:l(function(t){var i=[],r=[],a=E(t.replace(st,"$1"));return a[H]?l(function(t,e,n,i){for(var r,s=a(t,null,i,[]),o=t.length;o--;)(r=s[o])&&(t[o]=!(e[o]=r))}):function(t,e,n){return i[0]=t,a(i,null,n,r),i[0]=null,!r.pop()}}),has:l(function(e){return function(t){return 0<w(e,t).length}}),contains:l(function(e){return e=e.replace(vt,yt),function(t){return-1<(t.textContent||t.innerText||_(t)).indexOf(e)}}),lang:l(function(n){return ht.test(n||"")||w.error("unsupported lang: "+n),n=n.replace(vt,yt).toLowerCase(),function(t){var e;do{if(e=N?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===M},focus:function(t){return t===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:o(!1),disabled:o(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return ft.test(t.nodeName)},input:function(t){return dt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:a(function(){return[0]}),last:a(function(t,e){return[e-1]}),eq:a(function(t,e,n){return[n<0?n+e:n]}),even:a(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:a(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:a(function(t,e,n){for(var i=n<0?n+e:n;0<=--i;)t.push(i);return t}),gt:a(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[g]=i(g);for(g in{submit:!0,reset:!0})x.pseudos[g]=s(g);return h.prototype=x.filters=x.pseudos,x.setFilters=new h,C=w.tokenize=function(t,e){var n,i,r,s,o,a,l,u=F[t+" "];if(u)return e?0:u.slice(0);for(o=t,a=[],l=x.preFilter;o;){for(s in n&&!(i=ot.exec(o))||(i&&(o=o.slice(i[0].length)||o),a.push(r=[])),n=!1,(i=at.exec(o))&&(n=i.shift(),r.push({value:n,type:i[0].replace(st," ")}),o=o.slice(n.length)),x.filter)!(i=ct[s].exec(o))||l[s]&&!(i=l[s](i))||(n=i.shift(),r.push({value:n,type:s,matches:i}),o=o.slice(n.length));if(!n)break}return e?o.length:o?w.error(t):F(t,a).slice(0)},E=w.compile=function(t,e){var n,g,v,y,_,i,r=[],s=[],o=q[t+" "];if(!o){for(e||(e=C(t)),n=e.length;n--;)(o=m(e[n]))[H]?r.push(o):s.push(o);(o=q(t,(g=s,v=r,y=0<v.length,_=0<g.length,i=function(t,e,n,i,r){var s,o,a,l=0,u="0",h=t&&[],c=[],d=D,f=t||_&&x.find.TAG("*",r),p=Y+=null==d?1:Math.random()||.1,m=f.length;for(r&&(D=e===I||e||r);u!==m&&null!=(s=f[u]);u++){if(_&&s){for(o=0,e||s.ownerDocument===I||(A(s),n=!N);a=g[o++];)if(a(s,e||I,n)){i.push(s);break}r&&(Y=p)}y&&((s=!a&&s)&&l--,t&&h.push(s))}if(l+=u,y&&u!==l){for(o=0;a=v[o++];)a(h,c,e,n);if(t){if(0<l)for(;u--;)h[u]||c[u]||(c[u]=G.call(i));c=b(c)}K.apply(i,c),r&&!t&&0<c.length&&1<l+v.length&&w.uniqueSort(i)}return r&&(Y=p,D=d),h},y?l(i):i))).selector=t}return o},S=w.select=function(t,e,n,i){var r,s,o,a,l,u="function"==typeof t&&t,h=!i&&C(t=u.selector||t);if(n=n||[],1===h.length){if(2<(s=h[0]=h[0].slice(0)).length&&"ID"===(o=s[0]).type&&9===e.nodeType&&N&&x.relative[s[1].type]){if(!(e=(x.find.ID(o.matches[0].replace(vt,yt),e)||[])[0]))return n;u&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(r=ct.needsContext.test(t)?0:s.length;r--&&(o=s[r],!x.relative[a=o.type]);)if((l=x.find[a])&&(i=l(o.matches[0].replace(vt,yt),gt.test(s[0].type)&&f(e.parentNode)||e))){if(s.splice(r,1),!(t=i.length&&p(s)))return K.apply(n,i),n;break}}return(u||E(t,h))(i,e,!N,n,!e||gt.test(t)&&f(e.parentNode)||e),n},v.sortStable=H.split("").sort(U).join("")===H,v.detectDuplicates=!!O,A(),v.sortDetached=r(function(t){return 1&t.compareDocumentPosition(I.createElement("fieldset"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||e("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),v.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||e("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||e(J,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),w}(T);dt.find=pt,dt.expr=pt.selectors,dt.expr[":"]=dt.expr.pseudos,dt.uniqueSort=dt.unique=pt.uniqueSort,dt.text=pt.getText,dt.isXMLDoc=pt.isXML,dt.contains=pt.contains,dt.escapeSelector=pt.escape;var mt=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&dt(t).is(n))break;i.push(t)}return i},gt=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},vt=dt.expr.match.needsContext,yt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;dt.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?dt.find.matchesSelector(i,t)?[i]:[]:dt.find.matches(t,dt.grep(e,function(t){return 1===t.nodeType}))},dt.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(dt(t).filter(function(){for(e=0;e<i;e++)if(dt.contains(r[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)dt.find(t,r[e],n);return 1<i?dt.uniqueSort(n):n},filter:function(t){return this.pushStack(e(this,t||[],!1))},not:function(t){return this.pushStack(e(this,t||[],!0))},is:function(t){return!!e(this,"string"==typeof t&&vt.test(t)?dt(t):t||[],!1).length}});var _t,wt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(dt.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||_t,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:wt.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof dt?e[0]:e,dt.merge(this,dt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:Z,!0)),yt.test(i[1])&&dt.isPlainObject(e))for(i in e)ut(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=Z.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ut(t)?void 0!==n.ready?n.ready(t):t(dt):dt.makeArray(t,this)}).prototype=dt.fn,_t=dt(Z);var bt=/^(?:parents|prev(?:Until|All))/,xt={children:!0,contents:!0,next:!0,prev:!0};dt.fn.extend({has:function(t){var e=dt(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(dt.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,r=this.length,s=[],o="string"!=typeof t&&dt(t);if(!vt.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(o?-1<o.index(n):1===n.nodeType&&dt.find.matchesSelector(n,t))){s.push(n);break}return this.pushStack(1<s.length?dt.uniqueSort(s):s)},index:function(t){return t?"string"==typeof t?nt.call(dt(t),this[0]):nt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(dt.uniqueSort(dt.merge(this.get(),dt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),dt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return mt(t,"parentNode")},parentsUntil:function(t,e,n){return mt(t,"parentNode",n)},next:function(t){return n(t,"nextSibling")},prev:function(t){return n(t,"previousSibling")},nextAll:function(t){return mt(t,"nextSibling")},prevAll:function(t){return mt(t,"previousSibling")},nextUntil:function(t,e,n){return mt(t,"nextSibling",n)},prevUntil:function(t,e,n){return mt(t,"previousSibling",n)},siblings:function(t){return gt((t.parentNode||{}).firstChild,t)},children:function(t){return gt(t.firstChild)},contents:function(t){return u(t,"iframe")?t.contentDocument:(u(t,"template")&&(t=t.content||t),dt.merge([],t.childNodes))}},function(i,r){dt.fn[i]=function(t,e){var n=dt.map(this,r,t);return"Until"!==i.slice(-5)&&(e=t),e&&"string"==typeof e&&(n=dt.filter(e,n)),1<this.length&&(xt[i]||dt.uniqueSort(n),bt.test(i)&&n.reverse()),this.pushStack(n)}});var Tt=/[^\x20\t\r\n\f]+/g;dt.Callbacks=function(i){var t,n;i="string"==typeof i?(t=i,n={},dt.each(t.match(Tt)||[],function(t,e){n[e]=!0}),n):dt.extend({},i);var r,e,s,o,a=[],l=[],u=-1,h=function(){for(o=o||i.once,s=r=!0;l.length;u=-1)for(e=l.shift();++u<a.length;)!1===a[u].apply(e[0],e[1])&&i.stopOnFalse&&(u=a.length,e=!1);i.memory||(e=!1),r=!1,o&&(a=e?[]:"")},c={add:function(){return a&&(e&&!r&&(u=a.length-1,l.push(e)),function n(t){dt.each(t,function(t,e){ut(e)?i.unique&&c.has(e)||a.push(e):e&&e.length&&"string"!==g(e)&&n(e)})}(arguments),e&&!r&&h()),this},remove:function(){return dt.each(arguments,function(t,e){for(var n;-1<(n=dt.inArray(e,a,n));)a.splice(n,1),n<=u&&u--}),this},has:function(t){return t?-1<dt.inArray(t,a):0<a.length},empty:function(){return a&&(a=[]),this},disable:function(){return o=l=[],a=e="",this},disabled:function(){return!a},lock:function(){return o=l=[],e||r||(a=e=""),this},locked:function(){return!!o},fireWith:function(t,e){return o||(e=[t,(e=e||[]).slice?e.slice():e],l.push(e),r||h()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!s}};return c},dt.extend({Deferred:function(t){var s=[["notify","progress",dt.Callbacks("memory"),dt.Callbacks("memory"),2],["resolve","done",dt.Callbacks("once memory"),dt.Callbacks("once memory"),0,"resolved"],["reject","fail",dt.Callbacks("once memory"),dt.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var r=arguments;return dt.Deferred(function(i){dt.each(s,function(t,e){var n=ut(r[e[4]])&&r[e[4]];a[e[1]](function(){var t=n&&n.apply(this,arguments);t&&ut(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[e[0]+"With"](this,n?[t]:arguments)})}),r=null}).promise()},then:function(e,n,i){function l(r,s,o,a){return function(){var n=this,i=arguments,t=function(){var t,e;if(!(r<u)){if((t=o.apply(n,i))===s.promise())throw new TypeError("Thenable self-resolution");e=t&&("object"==typeof t||"function"==typeof t)&&t.then,ut(e)?a?e.call(t,l(u,s,h,a),l(u,s,c,a)):(u++,e.call(t,l(u,s,h,a),l(u,s,c,a),l(u,s,h,s.notifyWith))):(o!==h&&(n=void 0,i=[t]),(a||s.resolveWith)(n,i))}},e=a?t:function(){try{t()}catch(t){dt.Deferred.exceptionHook&&dt.Deferred.exceptionHook(t,e.stackTrace),u<=r+1&&(o!==c&&(n=void 0,i=[t]),s.rejectWith(n,i))}};r?e():(dt.Deferred.getStackHook&&(e.stackTrace=dt.Deferred.getStackHook()),T.setTimeout(e))}}var u=0;return dt.Deferred(function(t){s[0][3].add(l(0,t,ut(i)?i:h,t.notifyWith)),s[1][3].add(l(0,t,ut(e)?e:h)),s[2][3].add(l(0,t,ut(n)?n:c))}).promise()},promise:function(t){return null!=t?dt.extend(t,o):o}},a={};return dt.each(s,function(t,e){var n=e[2],i=e[5];o[e[1]]=n.add,i&&n.add(function(){r=i},s[3-t][2].disable,s[3-t][3].disable,s[0][2].lock,s[0][3].lock),n.add(e[3].fire),a[e[0]]=function(){return a[e[0]+"With"](this===a?void 0:this,arguments),this},a[e[0]+"With"]=n.fireWith}),o.promise(a),t&&t.call(a,a),a},when:function(t){var n=arguments.length,e=n,i=Array(e),r=J.call(arguments),s=dt.Deferred(),o=function(e){return function(t){i[e]=this,r[e]=1<arguments.length?J.call(arguments):t,--n||s.resolveWith(i,r)}};if(n<=1&&(l(t,s.done(o(e)).resolve,s.reject,!n),"pending"===s.state()||ut(r[e]&&r[e].then)))return s.then();for(;e--;)l(r[e],o(e),s.reject);return s.promise()}});var Ct=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;dt.Deferred.exceptionHook=function(t,e){T.console&&T.console.warn&&t&&Ct.test(t.name)&&T.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},dt.readyException=function(t){T.setTimeout(function(){throw t})};var Et=dt.Deferred();dt.fn.ready=function(t){return Et.then(t).catch(function(t){dt.readyException(t)}),this},dt.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--dt.readyWait:dt.isReady)||((dt.isReady=!0)!==t&&0<--dt.readyWait||Et.resolveWith(Z,[dt]))}}),dt.ready.then=Et.then,"complete"===Z.readyState||"loading"!==Z.readyState&&!Z.documentElement.doScroll?T.setTimeout(dt.ready):(Z.addEventListener("DOMContentLoaded",i),T.addEventListener("load",i));var St=function(t,e,n,i,r,s,o){var a=0,l=t.length,u=null==n;if("object"===g(n))for(a in r=!0,n)St(t,e,a,n[a],!0,s,o);else if(void 0!==i&&(r=!0,ut(i)||(o=!0),u&&(o?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(dt(t),n)})),e))for(;a<l;a++)e(t[a],n,o?i:i.call(t[a],a,e(t[a],n)));return r?t:u?e.call(t):l?e(t[0],n):s},Dt=/^-ms-/,kt=/-([a-z])/g,Ot=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};s.uid=1,s.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Ot(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[d(e)]=n;else for(i in e)r[d(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][d(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(d):(e=d(e))in i?[e]:e.match(Tt)||[]).length;for(;n--;)delete i[e[n]]}(void 0===e||dt.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!dt.isEmptyObject(e)}};var At=new s,It=new s,Mt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Nt=/[A-Z]/g;dt.extend({hasData:function(t){return It.hasData(t)||At.hasData(t)},data:function(t,e,n){return It.access(t,e,n)},removeData:function(t,e){It.remove(t,e)},_data:function(t,e,n){return At.access(t,e,n)},_removeData:function(t,e){At.remove(t,e)}}),dt.fn.extend({data:function(n,t){var e,i,r,s=this[0],o=s&&s.attributes;if(void 0===n){if(this.length&&(r=It.get(s),1===s.nodeType&&!At.get(s,"hasDataAttrs"))){for(e=o.length;e--;)o[e]&&0===(i=o[e].name).indexOf("data-")&&(i=d(i.slice(5)),f(s,i,r[i]));At.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof n?this.each(function(){It.set(this,n)}):St(this,function(t){var e;if(s&&void 0===t){if(void 0!==(e=It.get(s,n)))return e;if(void 0!==(e=f(s,n)))return e}else this.each(function(){It.set(this,n,t)})},null,t,1<arguments.length,null,!0)},removeData:function(t){return this.each(function(){It.remove(this,t)})}}),dt.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=At.get(t,e),n&&(!i||Array.isArray(n)?i=At.access(t,e,dt.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=dt.queue(t,e),i=n.length,r=n.shift(),s=dt._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete s.stop,r.call(t,function(){dt.dequeue(t,e)},s)),!i&&s&&s.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return At.get(t,n)||At.access(t,n,{empty:dt.Callbacks("once memory").add(function(){At.remove(t,[e+"queue",n])})})}}),dt.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),arguments.length<t?dt.queue(this[0],e):void 0===n?this:this.each(function(){var t=dt.queue(this,e,n);dt._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&dt.dequeue(this,e)})},dequeue:function(t){return this.each(function(){dt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=dt.Deferred(),s=this,o=this.length,a=function(){--i||r.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)(n=At.get(s[o],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(e)}});var Lt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Pt=new RegExp("^(?:([+-])=|)("+Lt+")([a-z%]*)$","i"),jt=["Top","Right","Bottom","Left"],Rt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&dt.contains(t.ownerDocument,t)&&"none"===dt.css(t,"display")},Ht=function(t,e,n,i){var r,s,o={};for(s in e)o[s]=t.style[s],t.style[s]=e[s];for(s in r=n.apply(t,i||[]),e)t.style[s]=o[s];return r},Wt={};dt.fn.extend({show:function(){return v(this,!0)},hide:function(){return v(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Rt(this)?dt(this).show():dt(this).hide()})}});var Yt=/^(?:checkbox|radio)$/i,zt=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,$t=/^$|^module$|\/(?:java|ecma)script/i,Ft={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ft.optgroup=Ft.option,Ft.tbody=Ft.tfoot=Ft.colgroup=Ft.caption=Ft.thead,Ft.th=Ft.td;var qt,Ut,Bt=/<|&#?\w+;/;qt=Z.createDocumentFragment().appendChild(Z.createElement("div")),(Ut=Z.createElement("input")).setAttribute("type","radio"),Ut.setAttribute("checked","checked"),Ut.setAttribute("name","t"),qt.appendChild(Ut),lt.checkClone=qt.cloneNode(!0).cloneNode(!0).lastChild.checked,qt.innerHTML="<textarea>x</textarea>",lt.noCloneChecked=!!qt.cloneNode(!0).lastChild.defaultValue;var Vt=Z.documentElement,Gt=/^key/,Qt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Kt=/^([^.]*)(?:\.(.+)|)/;dt.event={global:{},add:function(e,t,n,i,r){var s,o,a,l,u,h,c,d,f,p,m,g=At.get(e);if(g)for(n.handler&&(n=(s=n).handler,r=s.selector),r&&dt.find.matchesSelector(Vt,r),n.guid||(n.guid=dt.guid++),(l=g.events)||(l=g.events={}),(o=g.handle)||(o=g.handle=function(t){return void 0!==dt&&dt.event.triggered!==t.type?dt.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(Tt)||[""]).length;u--;)f=m=(a=Kt.exec(t[u])||[])[1],p=(a[2]||"").split(".").sort(),f&&(c=dt.event.special[f]||{},f=(r?c.delegateType:c.bindType)||f,c=dt.event.special[f]||{},h=dt.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&dt.expr.match.needsContext.test(r),namespace:p.join(".")},s),(d=l[f])||((d=l[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,i,p,o)||e.addEventListener&&e.addEventListener(f,o)),c.add&&(c.add.call(e,h),h.handler.guid||(h.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,h):d.push(h),dt.event.global[f]=!0)},remove:function(t,e,n,i,r){var s,o,a,l,u,h,c,d,f,p,m,g=At.hasData(t)&&At.get(t);if(g&&(l=g.events)){for(u=(e=(e||"").match(Tt)||[""]).length;u--;)if(f=m=(a=Kt.exec(e[u])||[])[1],p=(a[2]||"").split(".").sort(),f){for(c=dt.event.special[f]||{},d=l[f=(i?c.delegateType:c.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=d.length;s--;)h=d[s],!r&&m!==h.origType||n&&n.guid!==h.guid||a&&!a.test(h.namespace)||i&&i!==h.selector&&("**"!==i||!h.selector)||(d.splice(s,1),h.selector&&d.delegateCount--,c.remove&&c.remove.call(t,h));o&&!d.length&&(c.teardown&&!1!==c.teardown.call(t,p,g.handle)||dt.removeEvent(t,f,g.handle),delete l[f])}else for(f in l)dt.event.remove(t,f+e[u],n,i,!0);dt.isEmptyObject(l)&&At.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,s,o,a=dt.event.fix(t),l=new Array(arguments.length),u=(At.get(this,"events")||{})[a.type]||[],h=dt.event.special[a.type]||{};for(l[0]=a,e=1;e<arguments.length;e++)l[e]=arguments[e];if(a.delegateTarget=this,!h.preDispatch||!1!==h.preDispatch.call(this,a)){for(o=dt.event.handlers.call(this,a,u),e=0;(r=o[e++])&&!a.isPropagationStopped();)for(a.currentTarget=r.elem,n=0;(s=r.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(s.namespace)||(a.handleObj=s,a.data=s.data,void 0!==(i=((dt.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,l))&&!1===(a.result=i)&&(a.preventDefault(),a.stopPropagation()));return h.postDispatch&&h.postDispatch.call(this,a),a.result}},handlers:function(t,e){var n,i,r,s,o,a=[],l=e.delegateCount,u=t.target;if(l&&u.nodeType&&!("click"===t.type&&1<=t.button))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(s=[],o={},n=0;n<l;n++)void 0===o[r=(i=e[n]).selector+" "]&&(o[r]=i.needsContext?-1<dt(r,this).index(u):dt.find(r,this,null,[u]).length),o[r]&&s.push(i);s.length&&a.push({elem:u,handlers:s})}return u=this,l<e.length&&a.push({elem:u,handlers:e.slice(l)}),a},addProp:function(e,t){Object.defineProperty(dt.Event.prototype,e,{enumerable:!0,configurable:!0,get:ut(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(t){return t[dt.expando]?t:new dt.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==x()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===x()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&u(this,"input"))return this.click(),!1},_default:function(t){return u(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},dt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},dt.Event=function(t,e){if(!(this instanceof dt.Event))return new dt.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?o:b,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&dt.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[dt.expando]=!0},dt.Event.prototype={constructor:dt.Event,isDefaultPrevented:b,isPropagationStopped:b,isImmediatePropagationStopped:b,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=o,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=o,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=o,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},dt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Gt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&Qt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},dt.event.addProp),dt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,r){dt.event.special[t]={delegateType:r,bindType:r,handle:function(t){var e,n=t.relatedTarget,i=t.handleObj;return n&&(n===this||dt.contains(this,n))||(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=r),e}}}),dt.fn.extend({on:function(t,e,n,i){return C(this,t,e,n,i)},one:function(t,e,n,i){return C(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,dt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=b),this.each(function(){dt.event.remove(this,t,n,e)})}});var Zt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Xt=/<script|<style|<link/i,Jt=/checked\s*(?:[^=]|=\s*.checked.)/i,te=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;dt.extend({htmlPrefilter:function(t){return t.replace(Zt,"<$1></$2>")},clone:function(t,e,n){var i,r,s,o,a,l,u,h=t.cloneNode(!0),c=dt.contains(t.ownerDocument,t);if(!(lt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||dt.isXMLDoc(t)))for(o=y(h),i=0,r=(s=y(t)).length;i<r;i++)a=s[i],l=o[i],void 0,"input"===(u=l.nodeName.toLowerCase())&&Yt.test(a.type)?l.checked=a.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=a.defaultValue);if(e)if(n)for(s=s||y(t),o=o||y(h),i=0,r=s.length;i<r;i++)k(s[i],o[i]);else k(t,h);return 0<(o=y(h,"script")).length&&_(o,!c&&y(t,"script")),h},cleanData:function(t){for(var e,n,i,r=dt.event.special,s=0;void 0!==(n=t[s]);s++)if(Ot(n)){if(e=n[At.expando]){if(e.events)for(i in e.events)r[i]?dt.event.remove(n,i):dt.removeEvent(n,i,e.handle);n[At.expando]=void 0}n[It.expando]&&(n[It.expando]=void 0)}}}),dt.fn.extend({detach:function(t){return A(this,t,!0)},remove:function(t){return A(this,t)},text:function(t){return St(this,function(t){return void 0===t?dt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return O(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||E(this,t).appendChild(t)})},prepend:function(){return O(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=E(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return O(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return O(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(dt.cleanData(y(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return dt.clone(this,t,e)})},html:function(t){return St(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Xt.test(t)&&!Ft[(zt.exec(t)||["",""])[1].toLowerCase()]){t=dt.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(dt.cleanData(y(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var n=[];return O(this,arguments,function(t){var e=this.parentNode;dt.inArray(this,n)<0&&(dt.cleanData(y(this)),e&&e.replaceChild(t,this))},n)}}),dt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,o){dt.fn[t]=function(t){for(var e,n=[],i=dt(t),r=i.length-1,s=0;s<=r;s++)e=s===r?this:this.clone(!0),dt(i[s])[o](e),et.apply(n,e.get());return this.pushStack(n)}});var ee=new RegExp("^("+Lt+")(?!px)[a-z%]+$","i"),ne=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=T),e.getComputedStyle(t)},ie=new RegExp(jt.join("|"),"i");!function(){function t(){if(l){a.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Vt.appendChild(a).appendChild(l);var t=T.getComputedStyle(l);n="1%"!==t.top,o=12===e(t.marginLeft),l.style.right="60%",s=36===e(t.right),i=36===e(t.width),l.style.position="absolute",r=36===l.offsetWidth||"absolute",Vt.removeChild(a),l=null}}function e(t){return Math.round(parseFloat(t))}var n,i,r,s,o,a=Z.createElement("div"),l=Z.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",lt.clearCloneStyle="content-box"===l.style.backgroundClip,dt.extend(lt,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),o},scrollboxSize:function(){return t(),r}}))}();var re=/^(none|table(?!-c[ea]).+)/,se=/^--/,oe={position:"absolute",visibility:"hidden",display:"block"},ae={letterSpacing:"0",fontWeight:"400"},le=["Webkit","Moz","ms"],ue=Z.createElement("div").style;dt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=I(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,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:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,s,o,a=d(e),l=se.test(e),u=t.style;if(l||(e=N(a)),o=dt.cssHooks[e]||dt.cssHooks[a],void 0===n)return o&&"get"in o&&void 0!==(r=o.get(t,!1,i))?r:u[e];"string"==(s=typeof n)&&(r=Pt.exec(n))&&r[1]&&(n=p(t,e,r),s="number"),null!=n&&n==n&&("number"===s&&(n+=r&&r[3]||(dt.cssNumber[a]?"":"px")),lt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),o&&"set"in o&&void 0===(n=o.set(t,n,i))||(l?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,i){var r,s,o,a=d(e);return se.test(e)||(e=N(a)),(o=dt.cssHooks[e]||dt.cssHooks[a])&&"get"in o&&(r=o.get(t,!0,n)),void 0===r&&(r=I(t,e,i)),"normal"===r&&e in ae&&(r=ae[e]),""===n||n?(s=parseFloat(r),!0===n||isFinite(s)?s||0:r):r}}),dt.each(["height","width"],function(t,a){dt.cssHooks[a]={get:function(t,e,n){if(e)return!re.test(dt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?j(t,a,n):Ht(t,oe,function(){return j(t,a,n)})},set:function(t,e,n){var i,r=ne(t),s="border-box"===dt.css(t,"boxSizing",!1,r),o=n&&P(t,a,n,s,r);return s&&lt.scrollboxSize()===r.position&&(o-=Math.ceil(t["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(r[a])-P(t,a,"border",!1,r)-.5)),o&&(i=Pt.exec(e))&&"px"!==(i[3]||"px")&&(t.style[a]=e,e=dt.css(t,a)),L(0,e,o)}}}),dt.cssHooks.marginLeft=M(lt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(I(t,"marginLeft"))||t.getBoundingClientRect().left-Ht(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),dt.each({margin:"",padding:"",border:"Width"},function(r,s){dt.cssHooks[r+s]={expand:function(t){for(var e=0,n={},i="string"==typeof t?t.split(" "):[t];e<4;e++)n[r+jt[e]+s]=i[e]||i[e-2]||i[0];return n}},"margin"!==r&&(dt.cssHooks[r+s].set=L)}),dt.fn.extend({css:function(t,e){return St(this,function(t,e,n){var i,r,s={},o=0;if(Array.isArray(e)){for(i=ne(t),r=e.length;o<r;o++)s[e[o]]=dt.css(t,e[o],!1,i);return s}return void 0!==n?dt.style(t,e,n):dt.css(t,e)},t,e,1<arguments.length)}}),(dt.Tween=R).prototype={constructor:R,init:function(t,e,n,i,r,s){this.elem=t,this.prop=n,this.easing=r||dt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=s||(dt.cssNumber[n]?"":"px")},cur:function(){var t=R.propHooks[this.prop];return t&&t.get?t.get(this):R.propHooks._default.get(this)},run:function(t){var e,n=R.propHooks[this.prop];return this.options.duration?this.pos=e=dt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):R.propHooks._default.set(this),this}},R.prototype.init.prototype=R.prototype,R.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=dt.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){dt.fx.step[t.prop]?dt.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[dt.cssProps[t.prop]]&&!dt.cssHooks[t.prop]?t.elem[t.prop]=t.now:dt.style(t.elem,t.prop,t.now+t.unit)}}},R.propHooks.scrollTop=R.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},dt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},dt.fx=R.prototype.init,dt.fx.step={};var he,ce,de,fe,pe=/^(?:toggle|show|hide)$/,me=/queueHooks$/;dt.Animation=dt.extend($,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return p(n.elem,t,Pt.exec(e),n),n}]},tweener:function(t,e){ut(t)?(e=t,t=["*"]):t=t.match(Tt);for(var n,i=0,r=t.length;i<r;i++)n=t[i],$.tweeners[n]=$.tweeners[n]||[],$.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,r,s,o,a,l,u,h,c="width"in e||"height"in e,d=this,f={},p=t.style,m=t.nodeType&&Rt(t),g=At.get(t,"fxshow");for(i in n.queue||(null==(o=dt._queueHooks(t,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,d.always(function(){d.always(function(){o.unqueued--,dt.queue(t,"fx").length||o.empty.fire()})})),e)if(r=e[i],pe.test(r)){if(delete e[i],s=s||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}f[i]=g&&g[i]||dt.style(t,i)}if((l=!dt.isEmptyObject(e))||!dt.isEmptyObject(f))for(i in c&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=g&&g.display)&&(u=At.get(t,"display")),"none"===(h=dt.css(t,"display"))&&(u?h=u:(v([t],!0),u=t.style.display||u,h=dt.css(t,"display"),v([t]))),("inline"===h||"inline-block"===h&&null!=u)&&"none"===dt.css(t,"float")&&(l||(d.done(function(){p.display=u}),null==u&&(h=p.display,u="none"===h?"":h)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,f)l||(g?"hidden"in g&&(m=g.hidden):g=At.access(t,"fxshow",{display:u}),s&&(g.hidden=!m),m&&v([t],!0),d.done(function(){for(i in m||v([t]),At.remove(t,"fxshow"),f)dt.style(t,i,f[i])})),l=z(m?g[i]:0,i,d),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?$.prefilters.unshift(t):$.prefilters.push(t)}}),dt.speed=function(t,e,n){var i=t&&"object"==typeof t?dt.extend({},t):{complete:n||!n&&e||ut(t)&&t,duration:t,easing:n&&e||e&&!ut(e)&&e};return dt.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in dt.fx.speeds?i.duration=dt.fx.speeds[i.duration]:i.duration=dt.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){ut(i.old)&&i.old.call(this),i.queue&&dt.dequeue(this,i.queue)},i},dt.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Rt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(e,t,n,i){var r=dt.isEmptyObject(e),s=dt.speed(t,n,i),o=function(){var t=$(this,dt.extend({},e),s);(r||At.get(this,"finish"))&&t.stop(!0)};return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},stop:function(r,t,s){var o=function(t){var e=t.stop;delete t.stop,e(s)};return"string"!=typeof r&&(s=t,t=r,r=void 0),t&&!1!==r&&this.queue(r||"fx",[]),this.each(function(){var t=!0,e=null!=r&&r+"queueHooks",n=dt.timers,i=At.get(this);if(e)i[e]&&i[e].stop&&o(i[e]);else for(e in i)i[e]&&i[e].stop&&me.test(e)&&o(i[e]);for(e=n.length;e--;)n[e].elem!==this||null!=r&&n[e].queue!==r||(n[e].anim.stop(s),t=!1,n.splice(e,1));!t&&s||dt.dequeue(this,r)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var t,e=At.get(this),n=e[o+"queue"],i=e[o+"queueHooks"],r=dt.timers,s=n?n.length:0;for(e.finish=!0,dt.queue(this,o,[]),i&&i.stop&&i.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===o&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<s;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),dt.each(["toggle","show","hide"],function(t,i){var r=dt.fn[i];dt.fn[i]=function(t,e,n){return null==t||"boolean"==typeof t?r.apply(this,arguments):this.animate(Y(i,!0),t,e,n)}}),dt.each({slideDown:Y("show"),slideUp:Y("hide"),slideToggle:Y("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,i){dt.fn[t]=function(t,e,n){return this.animate(i,t,e,n)}}),dt.timers=[],dt.fx.tick=function(){var t,e=0,n=dt.timers;for(he=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||dt.fx.stop(),he=void 0},dt.fx.timer=function(t){dt.timers.push(t),dt.fx.start()},dt.fx.interval=13,dt.fx.start=function(){ce||(ce=!0,H())},dt.fx.stop=function(){ce=null},dt.fx.speeds={slow:600,fast:200,_default:400},dt.fn.delay=function(i,t){return i=dt.fx&&dt.fx.speeds[i]||i,t=t||"fx",this.queue(t,function(t,e){var n=T.setTimeout(t,i);e.stop=function(){T.clearTimeout(n)}})},de=Z.createElement("input"),fe=Z.createElement("select").appendChild(Z.createElement("option")),de.type="checkbox",lt.checkOn=""!==de.value,lt.optSelected=fe.selected,(de=Z.createElement("input")).value="t",de.type="radio",lt.radioValue="t"===de.value;var ge,ve=dt.expr.attrHandle;dt.fn.extend({attr:function(t,e){return St(this,dt.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){dt.removeAttr(this,t)})}}),dt.extend({attr:function(t,e,n){var i,r,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===t.getAttribute?dt.prop(t,e,n):(1===s&&dt.isXMLDoc(t)||(r=dt.attrHooks[e.toLowerCase()]||(dt.expr.match.bool.test(e)?ge:void 0)),void 0!==n?null===n?void dt.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=dt.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!lt.radioValue&&"radio"===e&&u(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(Tt);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),ge={set:function(t,e,n){return!1===e?dt.removeAttr(t,n):t.setAttribute(n,n),n}},dt.each(dt.expr.match.bool.source.match(/\w+/g),function(t,e){var o=ve[e]||dt.find.attr;ve[e]=function(t,e,n){var i,r,s=e.toLowerCase();return n||(r=ve[s],ve[s]=i,i=null!=o(t,e,n)?s:null,ve[s]=r),i}});var ye=/^(?:input|select|textarea|button)$/i,_e=/^(?:a|area)$/i;dt.fn.extend({prop:function(t,e){return St(this,dt.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[dt.propFix[t]||t]})}}),dt.extend({prop:function(t,e,n){var i,r,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&dt.isXMLDoc(t)||(e=dt.propFix[e]||e,r=dt.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=dt.find.attr(t,"tabindex");return e?parseInt(e,10):ye.test(t.nodeName)||_e.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),lt.optSelected||(dt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),dt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){dt.propFix[this.toLowerCase()]=this}),dt.fn.extend({addClass:function(e){var t,n,i,r,s,o,a,l=0;if(ut(e))return this.each(function(t){dt(this).addClass(e.call(this,t,q(this)))});if((t=U(e)).length)for(;n=this[l++];)if(r=q(n),i=1===n.nodeType&&" "+F(r)+" "){for(o=0;s=t[o++];)i.indexOf(" "+s+" ")<0&&(i+=s+" ");r!==(a=F(i))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,r,s,o,a,l=0;if(ut(e))return this.each(function(t){dt(this).removeClass(e.call(this,t,q(this)))});if(!arguments.length)return this.attr("class","");if((t=U(e)).length)for(;n=this[l++];)if(r=q(n),i=1===n.nodeType&&" "+F(r)+" "){for(o=0;s=t[o++];)for(;-1<i.indexOf(" "+s+" ");)i=i.replace(" "+s+" "," ");r!==(a=F(i))&&n.setAttribute("class",a)}return this},toggleClass:function(r,e){var s=typeof r,o="string"===s||Array.isArray(r);return"boolean"==typeof e&&o?e?this.addClass(r):this.removeClass(r):ut(r)?this.each(function(t){dt(this).toggleClass(r.call(this,t,q(this),e),e)}):this.each(function(){var t,e,n,i;if(o)for(e=0,n=dt(this),i=U(r);t=i[e++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else void 0!==r&&"boolean"!==s||((t=q(this))&&At.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===r?"":At.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+F(q(n))+" ").indexOf(e))return!0;return!1}});var we=/\r/g;dt.fn.extend({val:function(n){var i,t,r,e=this[0];return arguments.length?(r=ut(n),this.each(function(t){var e;1===this.nodeType&&(null==(e=r?n.call(this,t,dt(this).val()):n)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=dt.map(e,function(t){return null==t?"":t+""})),(i=dt.valHooks[this.type]||dt.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,e,"value")||(this.value=e))})):e?(i=dt.valHooks[e.type]||dt.valHooks[e.nodeName.toLowerCase()])&&"get"in i&&void 0!==(t=i.get(e,"value"))?t:"string"==typeof(t=e.value)?t.replace(we,""):null==t?"":t:void 0}}),dt.extend({valHooks:{option:{get:function(t){var e=dt.find.attr(t,"value");return null!=e?e:F(dt.text(t))}},select:{get:function(t){var e,n,i,r=t.options,s=t.selectedIndex,o="select-one"===t.type,a=o?null:[],l=o?s+1:r.length;for(i=s<0?l:o?s:0;i<l;i++)if(((n=r[i]).selected||i===s)&&!n.disabled&&(!n.parentNode.disabled||!u(n.parentNode,"optgroup"))){if(e=dt(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,s=dt.makeArray(e),o=r.length;o--;)((i=r[o]).selected=-1<dt.inArray(dt.valHooks.option.get(i),s))&&(n=!0);return n||(t.selectedIndex=-1),s}}}}),dt.each(["radio","checkbox"],function(){dt.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<dt.inArray(dt(t).val(),e)}},lt.checkOn||(dt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),lt.focusin="onfocusin"in T;var be=/^(?:focusinfocus|focusoutblur)$/,xe=function(t){t.stopPropagation()};dt.extend(dt.event,{trigger:function(t,e,n,i){var r,s,o,a,l,u,h,c,d=[n||Z],f=st.call(t,"type")?t.type:t,p=st.call(t,"namespace")?t.namespace.split("."):[];if(s=c=o=n=n||Z,3!==n.nodeType&&8!==n.nodeType&&!be.test(f+dt.event.triggered)&&(-1<f.indexOf(".")&&(f=(p=f.split(".")).shift(),p.sort()),l=f.indexOf(":")<0&&"on"+f,(t=t[dt.expando]?t:new dt.Event(f,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:dt.makeArray(e,[t]),h=dt.event.special[f]||{},i||!h.trigger||!1!==h.trigger.apply(n,e))){if(!i&&!h.noBubble&&!ht(n)){for(a=h.delegateType||f,be.test(a+f)||(s=s.parentNode);s;s=s.parentNode)d.push(s),o=s;o===(n.ownerDocument||Z)&&d.push(o.defaultView||o.parentWindow||T)}for(r=0;(s=d[r++])&&!t.isPropagationStopped();)c=s,t.type=1<r?a:h.bindType||f,(u=(At.get(s,"events")||{})[t.type]&&At.get(s,"handle"))&&u.apply(s,e),(u=l&&s[l])&&u.apply&&Ot(s)&&(t.result=u.apply(s,e),!1===t.result&&t.preventDefault());return t.type=f,i||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(d.pop(),e)||!Ot(n)||l&&ut(n[f])&&!ht(n)&&((o=n[l])&&(n[l]=null),dt.event.triggered=f,t.isPropagationStopped()&&c.addEventListener(f,xe),n[f](),t.isPropagationStopped()&&c.removeEventListener(f,xe),dt.event.triggered=void 0,o&&(n[l]=o)),t.result}},simulate:function(t,e,n){var i=dt.extend(new dt.Event,n,{type:t,isSimulated:!0});dt.event.trigger(i,null,e)}}),dt.fn.extend({trigger:function(t,e){return this.each(function(){dt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return dt.event.trigger(t,e,n,!0)}}),lt.focusin||dt.each({focus:"focusin",blur:"focusout"},function(n,i){var r=function(t){dt.event.simulate(i,t.target,dt.event.fix(t))};dt.event.special[i]={setup:function(){var t=this.ownerDocument||this,e=At.access(t,i);e||t.addEventListener(n,r,!0),At.access(t,i,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=At.access(t,i)-1;e?At.access(t,i,e):(t.removeEventListener(n,r,!0),At.remove(t,i))}}});var Te=T.location,Ce=Date.now(),Ee=/\?/;dt.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new T.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||dt.error("Invalid XML: "+t),e};var Se=/\[\]$/,De=/\r?\n/g,ke=/^(?:submit|button|image|reset|file)$/i,Oe=/^(?:input|select|textarea|keygen)/i;dt.param=function(t,e){var n,i=[],r=function(t,e){var n=ut(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(t)||t.jquery&&!dt.isPlainObject(t))dt.each(t,function(){r(this.name,this.value)});else for(n in t)B(n,t[n],e,r);return i.join("&")},dt.fn.extend({serialize:function(){return dt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=dt.prop(this,"elements");return t?dt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!dt(this).is(":disabled")&&Oe.test(this.nodeName)&&!ke.test(t)&&(this.checked||!Yt.test(t))}).map(function(t,e){var n=dt(this).val();return null==n?null:Array.isArray(n)?dt.map(n,function(t){return{name:e.name,value:t.replace(De,"\r\n")}}):{name:e.name,value:n.replace(De,"\r\n")}}).get()}});var Ae=/%20/g,Ie=/#.*$/,Me=/([?&])_=[^&]*/,Ne=/^(.*?):[ \t]*([^\r\n]*)$/gm,Le=/^(?:GET|HEAD)$/,Pe=/^\/\//,je={},Re={},He="*/".concat("*"),We=Z.createElement("a");We.href=Te.href,dt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Te.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Te.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":He,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":dt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Q(Q(t,dt.ajaxSettings),e):Q(dt.ajaxSettings,t)},ajaxPrefilter:V(je),ajaxTransport:V(Re),ajax:function(t,e){function n(t,e,n,i){var r,s,o,a,l,u=e;p||(p=!0,f&&T.clearTimeout(f),h=void 0,d=i||"",x.readyState=0<t?4:0,r=200<=t&&t<300||304===t,n&&(a=function(t,e,n){for(var i,r,s,o,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)s=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){s=r;break}o||(o=r)}s=s||o}if(s)return s!==l[0]&&l.unshift(s),n[s]}(g,x,n)),a=function(t,e,n,i){var r,s,o,a,l,u={},h=t.dataTypes.slice();if(h[1])for(o in t.converters)u[o.toLowerCase()]=t.converters[o];for(s=h.shift();s;)if(t.responseFields[s]&&(n[t.responseFields[s]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=h.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(o=u[l+" "+s]||u["* "+s]))for(r in u)if((a=r.split(" "))[1]===s&&(o=u[l+" "+a[0]]||u["* "+a[0]])){!0===o?o=u[r]:!0!==u[r]&&(s=a[0],h.unshift(a[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+l+" to "+s}}}return{state:"success",data:e}}(g,a,x,r),r?(g.ifModified&&((l=x.getResponseHeader("Last-Modified"))&&(dt.lastModified[c]=l),(l=x.getResponseHeader("etag"))&&(dt.etag[c]=l)),204===t||"HEAD"===g.type?u="nocontent":304===t?u="notmodified":(u=a.state,s=a.data,r=!(o=a.error))):(o=u,!t&&u||(u="error",t<0&&(t=0))),x.status=t,x.statusText=(e||u)+"",r?_.resolveWith(v,[s,u,x]):_.rejectWith(v,[x,u,o]),x.statusCode(b),b=void 0,m&&y.trigger(r?"ajaxSuccess":"ajaxError",[x,g,r?s:o]),w.fireWith(v,[x,u]),m&&(y.trigger("ajaxComplete",[x,g]),--dt.active||dt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var h,c,d,i,f,r,p,m,s,o,g=dt.ajaxSetup({},e),v=g.context||g,y=g.context&&(v.nodeType||v.jquery)?dt(v):dt.event,_=dt.Deferred(),w=dt.Callbacks("once memory"),b=g.statusCode||{},a={},l={},u="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(p){if(!i)for(i={};e=Ne.exec(d);)i[e[1].toLowerCase()]=e[2];e=i[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return p?d:null},setRequestHeader:function(t,e){return null==p&&(t=l[t.toLowerCase()]=l[t.toLowerCase()]||t,a[t]=e),this},overrideMimeType:function(t){return null==p&&(g.mimeType=t),this},statusCode:function(t){var e;if(t)if(p)x.always(t[x.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||u;return h&&h.abort(e),n(0,e),this}};if(_.promise(x),g.url=((t||g.url||Te.href)+"").replace(Pe,Te.protocol+"//"),g.type=e.method||e.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(Tt)||[""],null==g.crossDomain){r=Z.createElement("a");try{r.href=g.url,r.href=r.href,g.crossDomain=We.protocol+"//"+We.host!=r.protocol+"//"+r.host}catch(t){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=dt.param(g.data,g.traditional)),G(je,g,e,x),p)return x;for(s in(m=dt.event&&g.global)&&0==dt.active++&&dt.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Le.test(g.type),c=g.url.replace(Ie,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(Ae,"+")):(o=g.url.slice(c.length),g.data&&(g.processData||"string"==typeof g.data)&&(c+=(Ee.test(c)?"&":"?")+g.data,delete g.data),!1===g.cache&&(c=c.replace(Me,"$1"),o=(Ee.test(c)?"&":"?")+"_="+Ce+++o),g.url=c+o),g.ifModified&&(dt.lastModified[c]&&x.setRequestHeader("If-Modified-Since",dt.lastModified[c]),dt.etag[c]&&x.setRequestHeader("If-None-Match",dt.etag[c])),(g.data&&g.hasContent&&!1!==g.contentType||e.contentType)&&x.setRequestHeader("Content-Type",g.contentType),x.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+He+"; q=0.01":""):g.accepts["*"]),g.headers)x.setRequestHeader(s,g.headers[s]);if(g.beforeSend&&(!1===g.beforeSend.call(v,x,g)||p))return x.abort();if(u="abort",w.add(g.complete),x.done(g.success),x.fail(g.error),h=G(Re,g,e,x)){if(x.readyState=1,m&&y.trigger("ajaxSend",[x,g]),p)return x;g.async&&0<g.timeout&&(f=T.setTimeout(function(){x.abort("timeout")},g.timeout));try{p=!1,h.send(a,n)}catch(t){if(p)throw t;n(-1,t)}}else n(-1,"No Transport");return x},getJSON:function(t,e,n){return dt.get(t,e,n,"json")},getScript:function(t,e){return dt.get(t,void 0,e,"script")}}),dt.each(["get","post"],function(t,r){dt[r]=function(t,e,n,i){return ut(e)&&(i=i||n,n=e,e=void 0),dt.ajax(dt.extend({url:t,type:r,dataType:i,data:e,success:n},dt.isPlainObject(t)&&t))}}),dt._evalUrl=function(t){return dt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},dt.fn.extend({wrapAll:function(t){var e;return this[0]&&(ut(t)&&(t=t.call(this[0])),e=dt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(n){return ut(n)?this.each(function(t){dt(this).wrapInner(n.call(this,t))}):this.each(function(){var t=dt(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=ut(e);return this.each(function(t){dt(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(t){return this.parent(t).not("body").each(function(){dt(this).replaceWith(this.childNodes)}),this}}),dt.expr.pseudos.hidden=function(t){return!dt.expr.pseudos.visible(t)},dt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},dt.ajaxSettings.xhr=function(){try{return new T.XMLHttpRequest}catch(t){}};var Ye={0:200,1223:204},ze=dt.ajaxSettings.xhr();lt.cors=!!ze&&"withCredentials"in ze,lt.ajax=ze=!!ze,dt.ajaxTransport(function(r){var s,o;if(lt.cors||ze&&!r.crossDomain)return{send:function(t,e){var n,i=r.xhr();if(i.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(n in r.xhrFields)i[n]=r.xhrFields[n];for(n in r.mimeType&&i.overrideMimeType&&i.overrideMimeType(r.mimeType),r.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)i.setRequestHeader(n,t[n]);s=function(t){return function(){s&&(s=o=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===t?i.abort():"error"===t?"number"!=typeof i.status?e(0,"error"):e(i.status,i.statusText):e(Ye[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=s(),o=i.onerror=i.ontimeout=s("error"),void 0!==i.onabort?i.onabort=o:i.onreadystatechange=function(){4===i.readyState&&T.setTimeout(function(){s&&o()})},s=s("abort");try{i.send(r.hasContent&&r.data||null)}catch(t){if(s)throw t}},abort:function(){s&&s()}}}),dt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),dt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return dt.globalEval(t),t}}}),dt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),dt.ajaxTransport("script",function(n){var i,r;if(n.crossDomain)return{send:function(t,e){i=dt("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",r=function(t){i.remove(),r=null,t&&e("error"===t.type?404:200,t.type)}),Z.head.appendChild(i[0])},abort:function(){r&&r()}}});var $e,Fe=[],qe=/(=)\?(?=&|$)|\?\?/;dt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Fe.pop()||dt.expando+"_"+Ce++;return this[t]=!0,t}}),dt.ajaxPrefilter("json jsonp",function(t,e,n){var i,r,s,o=!1!==t.jsonp&&(qe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&qe.test(t.data)&&"data");if(o||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=ut(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o?t[o]=t[o].replace(qe,"$1"+i):!1!==t.jsonp&&(t.url+=(Ee.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||dt.error(i+" was not called"),s[0]},t.dataTypes[0]="json",r=T[i],T[i]=function(){s=arguments},n.always(function(){void 0===r?dt(T).removeProp(i):T[i]=r,t[i]&&(t.jsonpCallback=e.jsonpCallback,Fe.push(i)),s&&ut(r)&&r(s[0]),s=r=void 0}),"script"}),lt.createHTMLDocument=(($e=Z.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===$e.childNodes.length),dt.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(lt.createHTMLDocument?((i=(e=Z.implementation.createHTMLDocument("")).createElement("base")).href=Z.location.href,e.head.appendChild(i)):e=Z),s=!n&&[],(r=yt.exec(t))?[e.createElement(r[1])]:(r=w([t],e,s),s&&s.length&&dt(s).remove(),dt.merge([],r.childNodes)));var i,r,s},dt.fn.load=function(t,e,n){var i,r,s,o=this,a=t.indexOf(" ");return-1<a&&(i=F(t.slice(a)),t=t.slice(0,a)),ut(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),0<o.length&&dt.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){s=arguments,o.html(i?dt("<div>").append(dt.parseHTML(t)).find(i):t)}).always(n&&function(t,e){o.each(function(){n.apply(this,s||[t.responseText,e,t])})}),this},dt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){dt.fn[e]=function(t){return this.on(e,t)}}),dt.expr.pseudos.animated=function(e){return dt.grep(dt.timers,function(t){return e===t.elem}).length},dt.offset={setOffset:function(t,e,n){var i,r,s,o,a,l,u=dt.css(t,"position"),h=dt(t),c={};"static"===u&&(t.style.position="relative"),a=h.offset(),s=dt.css(t,"top"),l=dt.css(t,"left"),("absolute"===u||"fixed"===u)&&-1<(s+l).indexOf("auto")?(o=(i=h.position()).top,r=i.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),ut(e)&&(e=e.call(t,n,dt.extend({},a))),null!=e.top&&(c.top=e.top-a.top+o),null!=e.left&&(c.left=e.left-a.left+r),"using"in e?e.using.call(t,c):h.css(c)}},dt.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){dt.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===dt.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===dt.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=dt(t).offset()).top+=dt.css(t,"borderTopWidth",!0),r.left+=dt.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-dt.css(i,"marginTop",!0),left:e.left-r.left-dt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===dt.css(t,"position");)t=t.offsetParent;return t||Vt})}}),dt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,r){var s="pageYOffset"===r;dt.fn[e]=function(t){return St(this,function(t,e,n){var i;if(ht(t)?i=t:9===t.nodeType&&(i=t.defaultView),void 0===n)return i?i[r]:t[e];i?i.scrollTo(s?i.pageXOffset:n,s?n:i.pageYOffset):t[e]=n},e,t,arguments.length)}}),dt.each(["top","left"],function(t,n){dt.cssHooks[n]=M(lt.pixelPosition,function(t,e){if(e)return e=I(t,n),ee.test(e)?dt(t).position()[n]+"px":e})}),dt.each({Height:"height",Width:"width"},function(o,a){dt.each({padding:"inner"+o,content:a,"":"outer"+o},function(i,s){dt.fn[s]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),r=i||(!0===t||!0===e?"margin":"border");return St(this,function(t,e,n){var i;return ht(t)?0===s.indexOf("outer")?t["inner"+o]:t.document.documentElement["client"+o]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+o],i["scroll"+o],t.body["offset"+o],i["offset"+o],i["client"+o])):void 0===n?dt.css(t,e,r):dt.style(t,e,n,r)},a,n?t:void 0,n)}})}),dt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,n){dt.fn[n]=function(t,e){return 0<arguments.length?this.on(n,null,t,e):this.trigger(n)}}),dt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),dt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),dt.proxy=function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),ut(t))return i=J.call(arguments,2),(r=function(){return t.apply(e||this,i.concat(J.call(arguments)))}).guid=t.guid=t.guid||dt.guid++,r},dt.holdReady=function(t){t?dt.readyWait++:dt.ready(!0)},dt.isArray=Array.isArray,dt.parseJSON=JSON.parse,dt.nodeName=u,dt.isFunction=ut,dt.isWindow=ht,dt.camelCase=d,dt.type=g,dt.now=Date.now,dt.isNumeric=function(t){var e=dt.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return dt});var Ue=T.jQuery,Be=T.$;return dt.noConflict=function(t){return T.$===dt&&(T.$=Be),t&&T.jQuery===dt&&(T.jQuery=Ue),dt},t||(T.jQuery=T.$=dt),dt}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Popper=e()}(this,function(){"use strict";function o(t){return t&&"[object Function]"==={}.toString.call(t)}function w(t,e){if(1!==t.nodeType)return[];var n=getComputedStyle(t,null);return e?n[e]:n}function y(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function _(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=w(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/(auto|scroll)/.test(n+r+i)?t:_(y(t))}function b(t){var e=t&&t.offsetParent,n=e&&e.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(e.nodeName)&&"static"===w(e,"position")?b(e):e:t?t.ownerDocument.documentElement:document.documentElement}function h(t){return null===t.parentNode?t:h(t.parentNode)}function x(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,r=n?e:t,s=document.createRange();s.setStart(i,0),s.setEnd(r,0);var o,a,l=s.commonAncestorContainer;if(t!==l&&e!==l||i.contains(r))return"BODY"===(a=(o=l).nodeName)||"HTML"!==a&&b(o.firstElementChild)!==o?b(l):l;var u=h(t);return u.host?x(u.host,e):x(t,h(e).host)}function T(t){var e="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}return t[e]}function c(t,e){var n="x"===e?"Left":"Top",i="Left"==n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function i(t,e,n,i){return R(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],z()?n["offset"+t]+i["margin"+("Height"===t?"Top":"Left")]+i["margin"+("Height"===t?"Bottom":"Right")]:0)}function C(){var t=document.body,e=document.documentElement,n=z()&&getComputedStyle(e);return{height:i("Height",t,e,n),width:i("Width",t,e,n)}}function E(t){return U({},t,{right:t.left+t.width,bottom:t.top+t.height})}function S(t){var e={};if(z())try{e=t.getBoundingClientRect();var n=T(t,"top"),i=T(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}catch(t){}else e=t.getBoundingClientRect();var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},s="HTML"===t.nodeName?C():{},o=s.width||t.clientWidth||r.right-r.left,a=s.height||t.clientHeight||r.bottom-r.top,l=t.offsetWidth-o,u=t.offsetHeight-a;if(l||u){var h=w(t);l-=c(h,"x"),u-=c(h,"y"),r.width-=l,r.height-=u}return E(r)}function D(t,e){var n=z(),i="HTML"===e.nodeName,r=S(t),s=S(e),o=_(t),a=w(e),l=parseFloat(a.borderTopWidth,10),u=parseFloat(a.borderLeftWidth,10),h=E({top:r.top-s.top-l,left:r.left-s.left-u,width:r.width,height:r.height});if(h.marginTop=0,h.marginLeft=0,!n&&i){var c=parseFloat(a.marginTop,10),d=parseFloat(a.marginLeft,10);h.top-=l-c,h.bottom-=l-c,h.left-=u-d,h.right-=u-d,h.marginTop=c,h.marginLeft=d}return(n?e.contains(o):e===o&&"BODY"!==o.nodeName)&&(h=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=T(e,"top"),r=T(e,"left"),s=n?-1:1;return t.top+=i*s,t.bottom+=i*s,t.left+=r*s,t.right+=r*s,t}(h,e)),h}function d(t,e,n,i){var r,s,o,a,l,u,h,c={top:0,left:0},d=x(t,e);if("viewport"===i)s=(r=d).ownerDocument.documentElement,o=D(r,s),a=R(s.clientWidth,window.innerWidth||0),l=R(s.clientHeight,window.innerHeight||0),u=T(s),h=T(s,"left"),c=E({top:u-o.top+o.marginTop,left:h-o.left+o.marginLeft,width:a,height:l});else{var f;"scrollParent"===i?"BODY"===(f=_(y(e))).nodeName&&(f=t.ownerDocument.documentElement):f="window"===i?t.ownerDocument.documentElement:i;var p=D(f,d);if("HTML"!==f.nodeName||function t(e){var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===w(e,"position")||t(y(e)))}(d))c=p;else{var m=C(),g=m.height,v=m.width;c.top+=p.top-p.marginTop,c.bottom=g+p.top,c.left+=p.left-p.marginLeft,c.right=v+p.left}}return c.left+=n,c.top+=n,c.right-=n,c.bottom-=n,c}function a(t,e,i,n,r){var s=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var o=d(i,n,s,r),a={top:{width:o.width,height:e.top-o.top},right:{width:o.right-e.right,height:o.height},bottom:{width:o.width,height:o.bottom-e.bottom},left:{width:e.left-o.left,height:o.height}},l=Object.keys(a).map(function(t){return U({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight}),h=0<u.length?u[0].key:l[0].key,c=t.split("-")[1];return h+(c?"-"+c:"")}function l(t,e,n){return D(n,x(e,n))}function k(t){var e=getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),i=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function O(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function A(t,e,n){n=n.split("-")[0];var i=k(t),r={width:i.width,height:i.height},s=-1!==["right","left"].indexOf(n),o=s?"top":"left",a=s?"left":"top",l=s?"height":"width",u=s?"width":"height";return r[o]=e[o]+e[l]/2-i[l]/2,r[a]=n===a?e[a]-i[u]:e[O(a)],r}function I(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function M(t,n,e){return(void 0===e?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=I(t,function(t){return t[e]===n});return t.indexOf(i)}(t,"name",e))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&o(e)&&(n.offsets.popper=E(n.offsets.popper),n.offsets.reference=E(n.offsets.reference),n=e(n,t))}),n}function t(t,n){return t.some(function(t){var e=t.name;return t.enabled&&e===n})}function N(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length-1;i++){var r=e[i],s=r?""+r+n:t;if(void 0!==document.body.style[s])return s}return null}function s(t){var e=t.ownerDocument;return e?e.defaultView:window}function e(t,e,n,i){n.updateBound=i,s(t).addEventListener("resize",n.updateBound,{passive:!0});var r=_(t);return function t(e,n,i,r){var s="BODY"===e.nodeName,o=s?e.ownerDocument.defaultView:e;o.addEventListener(n,i,{passive:!0}),s||t(_(o.parentNode),n,i,r),r.push(o)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function n(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,s(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function f(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function u(n,i){Object.keys(i).forEach(function(t){var e="";-1!==["width","height","top","right","bottom","left"].indexOf(t)&&f(i[t])&&(e="px"),n.style[t]=i[t]+e})}function L(t,e,n){var i=I(t,function(t){return t.name===e}),r=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});if(!r){var s="`"+e+"`";console.warn("`"+n+"` modifier is required by "+s+" modifier in order to work, be sure to include it before "+s+"!")}return r}function r(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=V.indexOf(t),i=V.slice(n+1).concat(V.slice(0,n));return e?i.reverse():i}function p(t,r,s,e){var o=[0,0],a=-1!==["right","left"].indexOf(e),n=t.split(/(\+|\-)/).map(function(t){return t.trim()}),i=n.indexOf(I(n,function(t){return-1!==t.search(/,|\s/)}));n[i]&&-1===n[i].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1===i?[n]:[n.slice(0,i).concat([n[i].split(l)[0]]),[n[i].split(l)[1]].concat(n.slice(i+1))];return(u=u.map(function(t,e){var n=(1===e?!a:a)?"height":"width",i=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,i=!0,t):i?(t[t.length-1]+=e,i=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+r[1],o=r[2];if(!s)return t;if(0===o.indexOf("%")){var a;switch(o){case"%p":a=n;break;case"%":case"%r":default:a=i}return E(a)[e]/100*s}return"vh"===o||"vw"===o?("vh"===o?R(document.documentElement.clientHeight,window.innerHeight||0):R(document.documentElement.clientWidth,window.innerWidth||0))/100*s:s}(t,n,r,s)})})).forEach(function(n,i){n.forEach(function(t,e){f(t)&&(o[i]+=t*("-"===n[e-1]?-1:1))})}),o}for(var P=Math.min,j=Math.floor,R=Math.max,m="undefined"!=typeof window&&"undefined"!=typeof document,g=["Edge","Trident","Firefox"],v=0,H=0;H<g.length;H+=1)if(m&&0<=navigator.userAgent.indexOf(g[H])){v=1;break}var W,Y=m&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},v))}},z=function(){return null==W&&(W=-1!==navigator.appVersion.indexOf("MSIE 10")),W},$=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},F=function(){function i(t,e){for(var n,i=0;i<e.length;i++)(n=e[i]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}(),q=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},U=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},B=["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"],V=B.slice(3),G="flip",Q="clockwise",K="counterclockwise",Z=function(){function s(t,e){var n=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};$(this,s),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=Y(this.update.bind(this)),this.options=U({},s.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(U({},s.Defaults.modifiers,i.modifiers)).forEach(function(t){n.options.modifiers[t]=U({},s.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return U({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&o(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return F(s,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=l(this.state,this.popper,this.reference),t.placement=a(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=A(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=M(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,t(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[N("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=e(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return n.call(this)}}]),s}();return Z.Utils=("undefined"==typeof window?global:window).PopperUtils,Z.placements=B,Z.Defaults={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets,s=r.reference,o=r.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",u=a?"width":"height",h={start:q({},l,s[l]),end:q({},l,s[l]+s[u]-o[u])};t.offsets.popper=U({},o,h[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n,i=e.offset,r=t.placement,s=t.offsets,o=s.popper,a=s.reference,l=r.split("-")[0];return n=f(+i)?[+i,0]:p(i,o,a,l),"left"===l?(o.top+=n[0],o.left-=n[1]):"right"===l?(o.top+=n[0],o.left+=n[1]):"top"===l?(o.left+=n[0],o.top-=n[1]):"bottom"===l&&(o.left+=n[0],o.top+=n[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,i){var e=i.boundariesElement||b(t.instance.popper);t.instance.reference===e&&(e=b(e));var r=d(t.instance.popper,t.instance.reference,i.padding,e);i.boundaries=r;var n=i.priority,s=t.offsets.popper,o={primary:function(t){var e=s[t];return s[t]<r[t]&&!i.escapeWithReference&&(e=R(s[t],r[t])),q({},t,e)},secondary:function(t){var e="right"===t?"left":"top",n=s[e];return s[t]>r[t]&&!i.escapeWithReference&&(n=P(s[e],r[t]-("right"===t?s.width:s.height))),q({},e,n)}};return n.forEach(function(t){var e=-1===["left","top"].indexOf(t)?"secondary":"primary";s=U({},s,o[e](t))}),t.offsets.popper=s,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,r=t.placement.split("-")[0],s=j,o=-1!==["top","bottom"].indexOf(r),a=o?"right":"bottom",l=o?"left":"top",u=o?"width":"height";return n[a]<s(i[l])&&(t.offsets.popper[l]=s(i[l])-n[u]),n[l]>s(i[a])&&(t.offsets.popper[l]=s(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!L(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],s=t.offsets,o=s.popper,a=s.reference,l=-1!==["left","right"].indexOf(r),u=l?"height":"width",h=l?"Top":"Left",c=h.toLowerCase(),d=l?"left":"top",f=l?"bottom":"right",p=k(i)[u];a[f]-p<o[c]&&(t.offsets.popper[c]-=o[c]-(a[f]-p)),a[c]+p>o[f]&&(t.offsets.popper[c]+=a[c]+p-o[f]),t.offsets.popper=E(t.offsets.popper);var m=a[c]+a[u]/2-p/2,g=w(t.instance.popper),v=parseFloat(g["margin"+h],10),y=parseFloat(g["border"+h+"Width"],10),_=m-t.offsets.popper[c]-v-y;return _=R(P(o[u]-p,_),0),t.arrowElement=i,t.offsets.arrow=(q(n={},c,Math.round(_)),q(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(p,m){if(t(p.instance.modifiers,"inner"))return p;if(p.flipped&&p.placement===p.originalPlacement)return p;var g=d(p.instance.popper,p.instance.reference,m.padding,m.boundariesElement),v=p.placement.split("-")[0],y=O(v),_=p.placement.split("-")[1]||"",w=[];switch(m.behavior){case G:w=[v,y];break;case Q:w=r(v);break;case K:w=r(v,!0);break;default:w=m.behavior}return w.forEach(function(t,e){if(v!==t||w.length===e+1)return p;v=p.placement.split("-")[0],y=O(v);var n,i=p.offsets.popper,r=p.offsets.reference,s=j,o="left"===v&&s(i.right)>s(r.left)||"right"===v&&s(i.left)<s(r.right)||"top"===v&&s(i.bottom)>s(r.top)||"bottom"===v&&s(i.top)<s(r.bottom),a=s(i.left)<s(g.left),l=s(i.right)>s(g.right),u=s(i.top)<s(g.top),h=s(i.bottom)>s(g.bottom),c="left"===v&&a||"right"===v&&l||"top"===v&&u||"bottom"===v&&h,d=-1!==["top","bottom"].indexOf(v),f=!!m.flipVariations&&(d&&"start"===_&&a||d&&"end"===_&&l||!d&&"start"===_&&u||!d&&"end"===_&&h);(o||c||f)&&(p.flipped=!0,(o||c)&&(v=w[e+1]),f&&(_="end"===(n=_)?"start":"start"===n?"end":n),p.placement=v+(_?"-"+_:""),p.offsets.popper=U({},p.offsets.popper,A(p.instance.popper,p.offsets.reference,p.placement)),p=M(p.instance.modifiers,p,"flip"))}),p},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,r=i.popper,s=i.reference,o=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[o?"left":"top"]=s[n]-(a?r[o?"width":"height"]:0),t.placement=O(e),t.offsets.popper=E(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!L(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=I(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,r=t.offsets.popper,s=I(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==s&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var o,a,l=void 0===s?e.gpuAcceleration:s,u=S(b(t.instance.popper)),h={position:r.position},c={left:j(r.left),top:j(r.top),bottom:j(r.bottom),right:j(r.right)},d="bottom"===n?"top":"bottom",f="right"===i?"left":"right",p=N("transform");if(a="bottom"==d?-u.height+c.bottom:c.top,o="right"==f?-u.width+c.right:c.left,l&&p)h[p]="translate3d("+o+"px, "+a+"px, 0)",h[d]=0,h[f]=0,h.willChange="transform";else{var m="bottom"==d?-1:1,g="right"==f?-1:1;h[d]=a*m,h[f]=o*g,h.willChange=d+", "+f}var v={"x-placement":t.placement};return t.attributes=U({},v,t.attributes),t.styles=U({},h,t.styles),t.arrowStyles=U({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return u(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1===n[t]?e.removeAttribute(t):e.setAttribute(t,n[t])}),t.arrowElement&&Object.keys(t.arrowStyles).length&&u(t.arrowElement,t.arrowStyles),t;var e,n},onLoad:function(t,e,n,i,r){var s=l(0,e,t),o=a(n.placement,s,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",o),u(e,{position:"absolute"}),n},gpuAcceleration:void 0}}},Z}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e(t.bootstrap={},t.jQuery,t.Popper)}(this,function(t,e,h){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}e=e&&e.hasOwnProperty("default")?e.default:e,h=h&&h.hasOwnProperty("default")?h.default:h;var r,n,s,a,l,u,d,f,p,m,g,v,y,_,w,b,x,T,C,E,S,D,k,O,A,I,M,N,L,P,j,R,H,W,Y,z,$,F,q,U,B,V,G,Q,K,Z,X,J,tt,et,nt,it,rt,st,ot,at,lt,ut,ht,ct,dt,ft,pt,mt,gt,vt,yt,_t,wt,bt,xt,Tt,Ct,Et,St,Dt,kt,Ot,At,It,Mt,Nt,Lt,Pt,jt,Rt,Ht,Wt,Yt,zt,$t,Ft,qt,Ut,Bt,Vt,Gt,Qt,Kt,Zt,Xt,Jt,te,ee,ne,ie,re,se,oe,ae,le,ue,he,ce,de,fe,pe,me,ge,ve,ye,_e,we=(ve=e,ye=!1,_e={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e,n=t.getAttribute("data-target");n&&"#"!==n||(n=t.getAttribute("href")||""),"#"===n.charAt(0)&&(e=n,n=e="function"==typeof ve.escapeSelector?ve.escapeSelector(e).substr(1):e.replace(/(:|\.|\[|\]|,|=|@)/g,"\\$1"));try{return 0<ve(document).find(n).length?n:null}catch(t){return null}},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){ve(t).trigger(ye.end)},supportsTransitionEnd:function(){return Boolean(ye)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],s=e[i],o=s&&_e.isElement(s)?"element":(a=s,{}.toString.call(a).match(/\s([a-zA-Z]+)/)[1].toLowerCase());if(!new RegExp(r).test(o))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+o+'" but expected type "'+r+'".')}var a}},ye=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},ve.fn.emulateTransitionEnd=function(t){var e=this,n=!1;return ve(this).one(_e.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||_e.triggerTransitionEnd(e)},t),this},_e.supportsTransitionEnd()&&(ve.event.special[_e.TRANSITION_END]={bindType:ye.end,delegateType:ye.end,handle:function(t){if(ve(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),_e),be=(n="alert",a="."+(s="bs.alert"),l=(r=e).fn[n],u={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+".data-api"},"alert","fade","show",d=function(){function i(t){this._element=t}var t=i.prototype;return t.close=function(t){t=t||this._element;var e=this._getRootElement(t);this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},t.dispose=function(){r.removeData(this._element,s),this._element=null},t._getRootElement=function(t){var e=we.getSelectorFromElement(t),n=!1;return e&&(n=r(e)[0]),n||(n=r(t).closest(".alert")[0]),n},t._triggerCloseEvent=function(t){var e=r.Event(u.CLOSE);return r(t).trigger(e),e},t._removeElement=function(e){var n=this;r(e).removeClass("show"),we.supportsTransitionEnd()&&r(e).hasClass("fade")?r(e).one(we.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(150):this._destroyElement(e)},t._destroyElement=function(t){r(t).detach().trigger(u.CLOSED).remove()},i._jQueryInterface=function(n){return this.each(function(){var t=r(this),e=t.data(s);e||(e=new i(this),t.data(s,e)),"close"===n&&e[n](this)})},i._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},o(i,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),i}(),r(document).on(u.CLICK_DATA_API,'[data-dismiss="alert"]',d._handleDismiss(new d)),r.fn[n]=d._jQueryInterface,r.fn[n].Constructor=d,r.fn[n].noConflict=function(){return r.fn[n]=l,d._jQueryInterface},d),xe=(p="button",g="."+(m="bs.button"),v=".data-api",y=(f=e).fn[p],_="active","btn",w='[data-toggle^="button"]','[data-toggle="buttons"]',"input",".active",".btn",b={CLICK_DATA_API:"click"+g+v,FOCUS_BLUR_DATA_API:"focus"+g+v+" blur"+g+v},x=function(){function n(t){this._element=t}var t=n.prototype;return t.toggle=function(){var t=!0,e=!0,n=f(this._element).closest('[data-toggle="buttons"]')[0];if(n){var i=f(this._element).find("input")[0];if(i){if("radio"===i.type)if(i.checked&&f(this._element).hasClass(_))t=!1;else{var r=f(n).find(".active")[0];r&&f(r).removeClass(_)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!f(this._element).hasClass(_),f(i).trigger("change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!f(this._element).hasClass(_)),t&&f(this._element).toggleClass(_)},t.dispose=function(){f.removeData(this._element,m),this._element=null},n._jQueryInterface=function(e){return this.each(function(){var t=f(this).data(m);t||(t=new n(this),f(this).data(m,t)),"toggle"===e&&t[e]()})},o(n,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),n}(),f(document).on(b.CLICK_DATA_API,w,function(t){t.preventDefault();var e=t.target;f(e).hasClass("btn")||(e=f(e).closest(".btn")),x._jQueryInterface.call(f(e),"toggle")}).on(b.FOCUS_BLUR_DATA_API,w,function(t){var e=f(t.target).closest(".btn")[0];f(e).toggleClass("focus",/^focus(in)?$/.test(t.type))}),f.fn[p]=x._jQueryInterface,f.fn[p].Constructor=x,f.fn[p].noConflict=function(){return f.fn[p]=y,x._jQueryInterface},x),Te=(se="carousel",ae="."+(oe="bs.carousel"),le=(re=e).fn[se],ue={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},he={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},ce="next",de="prev",fe={SLIDE:"slide"+ae,SLID:"slid"+ae,KEYDOWN:"keydown"+ae,MOUSEENTER:"mouseenter"+ae,MOUSELEAVE:"mouseleave"+ae,TOUCHEND:"touchend"+ae,LOAD_DATA_API:"load"+ae+".data-api",CLICK_DATA_API:"click"+ae+".data-api"},pe="active",me={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"]'},ge=function(){function s(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(e),this._element=re(t)[0],this._indicatorsElement=re(this._element).find(me.INDICATORS)[0],this._addEventListeners()}var t=s.prototype;return t.next=function(){this._isSliding||this._slide(ce)},t.nextWhenVisible=function(){!document.hidden&&re(this._element).is(":visible")&&"hidden"!==re(this._element).css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(de)},t.pause=function(t){t||(this._isPaused=!0),re(this._element).find(me.NEXT_PREV)[0]&&we.supportsTransitionEnd()&&(we.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(t){var e=this;this._activeElement=re(this._element).find(me.ACTIVE_ITEM)[0];var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)re(this._element).one(fe.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=n<t?ce:de;this._slide(i,this._items[t])}},t.dispose=function(){re(this._element).off(ae),re.removeData(this._element,oe),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(t){return t=c({},ue,t),we.typeCheckConfig(se,t,he),t},t._addEventListeners=function(){var e=this;this._config.keyboard&&re(this._element).on(fe.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&(re(this._element).on(fe.MOUSEENTER,function(t){return e.pause(t)}).on(fe.MOUSELEAVE,function(t){return e.cycle(t)}),"ontouchstart"in document.documentElement&&re(this._element).on(fe.TOUCHEND,function(){e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval)}))},t._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},t._getItemIndex=function(t){return this._items=re.makeArray(re(t).parent().find(me.ITEM)),this._items.indexOf(t)},t._getItemByDirection=function(t,e){var n=t===ce,i=t===de,r=this._getItemIndex(e),s=this._items.length-1;if((i&&0===r||n&&r===s)&&!this._config.wrap)return e;var o=(r+(t===de?-1:1))%this._items.length;return-1===o?this._items[this._items.length-1]:this._items[o]},t._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(re(this._element).find(me.ACTIVE_ITEM)[0]),r=re.Event(fe.SLIDE,{relatedTarget:t,direction:e,from:i,to:n});return re(this._element).trigger(r),r},t._setActiveIndicatorElement=function(t){if(this._indicatorsElement){re(this._indicatorsElement).find(me.ACTIVE).removeClass(pe);var e=this._indicatorsElement.children[this._getItemIndex(t)];e&&re(e).addClass(pe)}},t._slide=function(t,e){var n,i,r,s=this,o=re(this._element).find(me.ACTIVE_ITEM)[0],a=this._getItemIndex(o),l=e||o&&this._getItemByDirection(t,o),u=this._getItemIndex(l),h=Boolean(this._interval);if(t===ce?(n="carousel-item-left",i="carousel-item-next",r="left"):(n="carousel-item-right",i="carousel-item-prev",r="right"),l&&re(l).hasClass(pe))this._isSliding=!1;else if(!this._triggerSlideEvent(l,r).isDefaultPrevented()&&o&&l){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(l);var c=re.Event(fe.SLID,{relatedTarget:l,direction:r,from:a,to:u});we.supportsTransitionEnd()&&re(this._element).hasClass("slide")?(re(l).addClass(i),we.reflow(l),re(o).addClass(n),re(l).addClass(n),re(o).one(we.TRANSITION_END,function(){re(l).removeClass(n+" "+i).addClass(pe),re(o).removeClass(pe+" "+i+" "+n),s._isSliding=!1,setTimeout(function(){return re(s._element).trigger(c)},0)}).emulateTransitionEnd(600)):(re(o).removeClass(pe),re(l).addClass(pe),this._isSliding=!1,re(this._element).trigger(c)),h&&this.cycle()}},s._jQueryInterface=function(i){return this.each(function(){var t=re(this).data(oe),e=c({},ue,re(this).data());"object"==typeof i&&(e=c({},e,i));var n="string"==typeof i?i:e.slide;if(t||(t=new s(this,e),re(this).data(oe,t)),"number"==typeof i)t.to(i);else if("string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}else e.interval&&(t.pause(),t.cycle())})},s._dataApiClickHandler=function(t){var e=we.getSelectorFromElement(this);if(e){var n=re(e)[0];if(n&&re(n).hasClass("carousel")){var i=c({},re(n).data(),re(this).data()),r=this.getAttribute("data-slide-to");r&&(i.interval=!1),s._jQueryInterface.call(re(n),i),r&&re(n).data(oe).to(r),t.preventDefault()}}},o(s,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return ue}}]),s}(),re(document).on(fe.CLICK_DATA_API,me.DATA_SLIDE,ge._dataApiClickHandler),re(window).on(fe.LOAD_DATA_API,function(){re(me.DATA_RIDE).each(function(){var t=re(this);ge._jQueryInterface.call(t,t.data())})}),re.fn[se]=ge._jQueryInterface,re.fn[se].Constructor=ge,re.fn[se].noConflict=function(){return re.fn[se]=le,ge._jQueryInterface},ge),Ce=(Ut="collapse",Vt="."+(Bt="bs.collapse"),Gt=(qt=e).fn[Ut],Qt={toggle:!0,parent:""},Kt={toggle:"boolean",parent:"(string|element)"},Zt={SHOW:"show"+Vt,SHOWN:"shown"+Vt,HIDE:"hide"+Vt,HIDDEN:"hidden"+Vt,CLICK_DATA_API:"click"+Vt+".data-api"},Xt="show",Jt="collapse",te="collapsing",ee="collapsed",ne={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},ie=function(){function a(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=qt.makeArray(qt('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=qt(ne.DATA_TOGGLE),i=0;i<n.length;i++){var r=n[i],s=we.getSelectorFromElement(r);null!==s&&0<qt(s).filter(t).length&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=a.prototype;return t.toggle=function(){qt(this._element).hasClass(Xt)?this.hide():this.show()},t.show=function(){var t,e,n=this;if(!(this._isTransitioning||qt(this._element).hasClass(Xt)||(this._parent&&0===(t=qt.makeArray(qt(this._parent).find(ne.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length&&(t=null),t&&(e=qt(t).not(this._selector).data(Bt))&&e._isTransitioning))){var i=qt.Event(Zt.SHOW);if(qt(this._element).trigger(i),!i.isDefaultPrevented()){t&&(a._jQueryInterface.call(qt(t).not(this._selector),"hide"),e||qt(t).data(Bt,null));var r=this._getDimension();qt(this._element).removeClass(Jt).addClass(te),(this._element.style[r]=0)<this._triggerArray.length&&qt(this._triggerArray).removeClass(ee).attr("aria-expanded",!0),this.setTransitioning(!0);var s=function(){qt(n._element).removeClass(te).addClass(Jt).addClass(Xt),n._element.style[r]="",n.setTransitioning(!1),qt(n._element).trigger(Zt.SHOWN)};if(we.supportsTransitionEnd()){var o="scroll"+(r[0].toUpperCase()+r.slice(1));qt(this._element).one(we.TRANSITION_END,s).emulateTransitionEnd(600),this._element.style[r]=this._element[o]+"px"}else s()}}},t.hide=function(){var t=this;if(!this._isTransitioning&&qt(this._element).hasClass(Xt)){var e=qt.Event(Zt.HIDE);if(qt(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();if(this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",we.reflow(this._element),qt(this._element).addClass(te).removeClass(Jt).removeClass(Xt),0<this._triggerArray.length)for(var i=0;i<this._triggerArray.length;i++){var r=this._triggerArray[i],s=we.getSelectorFromElement(r);null!==s&&(qt(s).hasClass(Xt)||qt(r).addClass(ee).attr("aria-expanded",!1))}this.setTransitioning(!0);var o=function(){t.setTransitioning(!1),qt(t._element).removeClass(te).addClass(Jt).trigger(Zt.HIDDEN)};this._element.style[n]="",we.supportsTransitionEnd()?qt(this._element).one(we.TRANSITION_END,o).emulateTransitionEnd(600):o()}}},t.setTransitioning=function(t){this._isTransitioning=t},t.dispose=function(){qt.removeData(this._element,Bt),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(t){return(t=c({},Qt,t)).toggle=Boolean(t.toggle),we.typeCheckConfig(Ut,t,Kt),t},t._getDimension=function(){return qt(this._element).hasClass("width")?"width":"height"},t._getParent=function(){var n=this,t=null;we.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=qt(this._config.parent)[0];var e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return qt(t).find(e).each(function(t,e){n._addAriaAndCollapsedClass(a._getTargetFromElement(e),[e])}),t},t._addAriaAndCollapsedClass=function(t,e){if(t){var n=qt(t).hasClass(Xt);0<e.length&&qt(e).toggleClass(ee,!n).attr("aria-expanded",n)}},a._getTargetFromElement=function(t){var e=we.getSelectorFromElement(t);return e?qt(e)[0]:null},a._jQueryInterface=function(i){return this.each(function(){var t=qt(this),e=t.data(Bt),n=c({},Qt,t.data(),"object"==typeof i&&i);if(!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||(e=new a(this,n),t.data(Bt,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},o(a,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return Qt}}]),a}(),qt(document).on(Zt.CLICK_DATA_API,ne.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var n=qt(this),e=we.getSelectorFromElement(this);qt(e).each(function(){var t=qt(this),e=t.data(Bt)?"toggle":n.data();ie._jQueryInterface.call(t,e)})}),qt.fn[Ut]=ie._jQueryInterface,qt.fn[Ut].Constructor=ie,qt.fn[Ut].noConflict=function(){return qt.fn[Ut]=Gt,ie._jQueryInterface},ie),Ee=(Ot="dropdown",It="."+(At="bs.dropdown"),Mt=".data-api",Nt=(kt=e).fn[Ot],Lt=new RegExp("38|40|27"),Pt={HIDE:"hide"+It,HIDDEN:"hidden"+It,SHOW:"show"+It,SHOWN:"shown"+It,CLICK:"click"+It,CLICK_DATA_API:"click"+It+Mt,KEYDOWN_DATA_API:"keydown"+It+Mt,KEYUP_DATA_API:"keyup"+It+Mt},jt="disabled",Rt="show",Ht="dropdown-menu-right",Wt='[data-toggle="dropdown"]',Yt=".dropdown-menu",zt={offset:0,flip:!0,boundary:"scrollParent"},$t={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},Ft=function(){function l(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=l.prototype;return t.toggle=function(){if(!this._element.disabled&&!kt(this._element).hasClass(jt)){var t=l._getParentFromElement(this._element),e=kt(this._menu).hasClass(Rt);if(l._clearMenus(),!e){var n={relatedTarget:this._element},i=kt.Event(Pt.SHOW,n);if(kt(t).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar){if(void 0===h)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");var r=this._element;kt(t).hasClass("dropup")&&(kt(this._menu).hasClass("dropdown-menu-left")||kt(this._menu).hasClass(Ht))&&(r=t),"scrollParent"!==this._config.boundary&&kt(t).addClass("position-static"),this._popper=new h(r,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===kt(t).closest(".navbar-nav").length&&kt("body").children().on("mouseover",null,kt.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),kt(this._menu).toggleClass(Rt),kt(t).toggleClass(Rt).trigger(kt.Event(Pt.SHOWN,n))}}}},t.dispose=function(){kt.removeData(this._element,At),kt(this._element).off(It),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;kt(this._element).on(Pt.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(t){return t=c({},this.constructor.Default,kt(this._element).data(),t),we.typeCheckConfig(Ot,t,this.constructor.DefaultType),t},t._getMenuElement=function(){if(!this._menu){var t=l._getParentFromElement(this._element);this._menu=kt(t).find(Yt)[0]}return this._menu},t._getPlacement=function(){var t=kt(this._element).parent(),e="bottom-start";return t.hasClass("dropup")?(e="top-start",kt(this._menu).hasClass(Ht)&&(e="top-end")):t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":kt(this._menu).hasClass(Ht)&&(e="bottom-end"),e},t._detectNavbar=function(){return 0<kt(this._element).closest(".navbar").length},t._getPopperConfig=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=c({},t.offsets,e._config.offset(t.offsets)||{}),t}:t.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:t,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}},l._jQueryInterface=function(e){return this.each(function(){var t=kt(this).data(At);if(t||(t=new l(this,"object"==typeof e?e:null),kt(this).data(At,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},l._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=kt.makeArray(kt(Wt)),n=0;n<e.length;n++){var i=l._getParentFromElement(e[n]),r=kt(e[n]).data(At),s={relatedTarget:e[n]};if(r){var o=r._menu;if(kt(i).hasClass(Rt)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&kt.contains(i,t.target))){var a=kt.Event(Pt.HIDE,s);kt(i).trigger(a),a.isDefaultPrevented()||("ontouchstart"in document.documentElement&&kt("body").children().off("mouseover",null,kt.noop),e[n].setAttribute("aria-expanded","false"),kt(o).removeClass(Rt),kt(i).removeClass(Rt).trigger(kt.Event(Pt.HIDDEN,s)))}}}},l._getParentFromElement=function(t){var e,n=we.getSelectorFromElement(t);return n&&(e=kt(n)[0]),e||t.parentNode},l._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||kt(t.target).closest(Yt).length)):Lt.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!kt(this).hasClass(jt))){var e=l._getParentFromElement(this),n=kt(e).hasClass(Rt);if((n||27===t.which&&32===t.which)&&(!n||27!==t.which&&32!==t.which)){var i=kt(e).find(".dropdown-menu .dropdown-item:not(.disabled)").get();if(0!==i.length){var r=i.indexOf(t.target);38===t.which&&0<r&&r--,40===t.which&&r<i.length-1&&r++,r<0&&(r=0),i[r].focus()}}else{if(27===t.which){var s=kt(e).find(Wt)[0];kt(s).trigger("focus")}kt(this).trigger("click")}}},o(l,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return zt}},{key:"DefaultType",get:function(){return $t}}]),l}(),kt(document).on(Pt.KEYDOWN_DATA_API,Wt,Ft._dataApiKeydownHandler).on(Pt.KEYDOWN_DATA_API,Yt,Ft._dataApiKeydownHandler).on(Pt.CLICK_DATA_API+" "+Pt.KEYUP_DATA_API,Ft._clearMenus).on(Pt.CLICK_DATA_API,Wt,function(t){t.preventDefault(),t.stopPropagation(),Ft._jQueryInterface.call(kt(this),"toggle")}).on(Pt.CLICK_DATA_API,".dropdown form",function(t){t.stopPropagation()}),kt.fn[Ot]=Ft._jQueryInterface,kt.fn[Ot].Constructor=Ft,kt.fn[Ot].noConflict=function(){return kt.fn[Ot]=Nt,Ft._jQueryInterface},Ft),Se=(yt="."+(vt="bs.modal"),_t=(gt=e).fn.modal,wt={backdrop:!0,keyboard:!0,focus:!0,show:!0},bt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},xt={HIDE:"hide"+yt,HIDDEN:"hidden"+yt,SHOW:"show"+yt,SHOWN:"shown"+yt,FOCUSIN:"focusin"+yt,RESIZE:"resize"+yt,CLICK_DISMISS:"click.dismiss"+yt,KEYDOWN_DISMISS:"keydown.dismiss"+yt,MOUSEUP_DISMISS:"mouseup.dismiss"+yt,MOUSEDOWN_DISMISS:"mousedown.dismiss"+yt,CLICK_DATA_API:"click"+yt+".data-api"},Tt="modal-open",Ct="fade",Et="show",St={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"},Dt=function(){function r(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=gt(t).find(St.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}var t=r.prototype;return t.toggle=function(t){return this._isShown?this.hide():this.show(t)},t.show=function(t){var e=this;if(!this._isTransitioning&&!this._isShown){we.supportsTransitionEnd()&&gt(this._element).hasClass(Ct)&&(this._isTransitioning=!0);var n=gt.Event(xt.SHOW,{relatedTarget:t});gt(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),gt(document.body).addClass(Tt),this._setEscapeEvent(),this._setResizeEvent(),gt(this._element).on(xt.CLICK_DISMISS,St.DATA_DISMISS,function(t){return e.hide(t)}),gt(this._dialog).on(xt.MOUSEDOWN_DISMISS,function(){gt(e._element).one(xt.MOUSEUP_DISMISS,function(t){gt(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},t.hide=function(t){var e=this;if(t&&t.preventDefault(),!this._isTransitioning&&this._isShown){var n=gt.Event(xt.HIDE);if(gt(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=we.supportsTransitionEnd()&&gt(this._element).hasClass(Ct);i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),gt(document).off(xt.FOCUSIN),gt(this._element).removeClass(Et),gt(this._element).off(xt.CLICK_DISMISS),gt(this._dialog).off(xt.MOUSEDOWN_DISMISS),i?gt(this._element).one(we.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(300):this._hideModal()}}},t.dispose=function(){gt.removeData(this._element,vt),gt(window,document,this._element,this._backdrop).off(yt),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(t){return t=c({},wt,t),we.typeCheckConfig("modal",t,bt),t},t._showElement=function(t){var e=this,n=we.supportsTransitionEnd()&&gt(this._element).hasClass(Ct);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,n&&we.reflow(this._element),gt(this._element).addClass(Et),this._config.focus&&this._enforceFocus();var i=gt.Event(xt.SHOWN,{relatedTarget:t}),r=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,gt(e._element).trigger(i)};n?gt(this._dialog).one(we.TRANSITION_END,r).emulateTransitionEnd(300):r()},t._enforceFocus=function(){var e=this;gt(document).off(xt.FOCUSIN).on(xt.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===gt(e._element).has(t.target).length&&e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?gt(this._element).on(xt.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||gt(this._element).off(xt.KEYDOWN_DISMISS)},t._setResizeEvent=function(){var e=this;this._isShown?gt(window).on(xt.RESIZE,function(t){return e.handleUpdate(t)}):gt(window).off(xt.RESIZE)},t._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,this._showBackdrop(function(){gt(document.body).removeClass(Tt),t._resetAdjustments(),t._resetScrollbar(),gt(t._element).trigger(xt.HIDDEN)})},t._removeBackdrop=function(){this._backdrop&&(gt(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(t){var e=this,n=gt(this._element).hasClass(Ct)?Ct:"";if(this._isShown&&this._config.backdrop){var i=we.supportsTransitionEnd()&&n;if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&gt(this._backdrop).addClass(n),gt(this._backdrop).appendTo(document.body),gt(this._element).on(xt.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),i&&we.reflow(this._backdrop),gt(this._backdrop).addClass(Et),!t)return;if(!i)return void t();gt(this._backdrop).one(we.TRANSITION_END,t).emulateTransitionEnd(150)}else if(!this._isShown&&this._backdrop){gt(this._backdrop).removeClass(Et);var r=function(){e._removeBackdrop(),t&&t()};we.supportsTransitionEnd()&&gt(this._element).hasClass(Ct)?gt(this._backdrop).one(we.TRANSITION_END,r).emulateTransitionEnd(150):r()}else t&&t()},t._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var r=this;if(this._isBodyOverflowing){gt(St.FIXED_CONTENT).each(function(t,e){var n=gt(e)[0].style.paddingRight,i=gt(e).css("padding-right");gt(e).data("padding-right",n).css("padding-right",parseFloat(i)+r._scrollbarWidth+"px")}),gt(St.STICKY_CONTENT).each(function(t,e){var n=gt(e)[0].style.marginRight,i=gt(e).css("margin-right");gt(e).data("margin-right",n).css("margin-right",parseFloat(i)-r._scrollbarWidth+"px")}),gt(St.NAVBAR_TOGGLER).each(function(t,e){var n=gt(e)[0].style.marginRight,i=gt(e).css("margin-right");gt(e).data("margin-right",n).css("margin-right",parseFloat(i)+r._scrollbarWidth+"px")});var t=document.body.style.paddingRight,e=gt("body").css("padding-right");gt("body").data("padding-right",t).css("padding-right",parseFloat(e)+this._scrollbarWidth+"px")}},t._resetScrollbar=function(){gt(St.FIXED_CONTENT).each(function(t,e){var n=gt(e).data("padding-right");void 0!==n&&gt(e).css("padding-right",n).removeData("padding-right")}),gt(St.STICKY_CONTENT+", "+St.NAVBAR_TOGGLER).each(function(t,e){var n=gt(e).data("margin-right");void 0!==n&&gt(e).css("margin-right",n).removeData("margin-right")});var t=gt("body").data("padding-right");void 0!==t&&gt("body").css("padding-right",t).removeData("padding-right")},t._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},r._jQueryInterface=function(n,i){return this.each(function(){var t=gt(this).data(vt),e=c({},r.Default,gt(this).data(),"object"==typeof n&&n);if(t||(t=new r(this,e),gt(this).data(vt,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](i)}else e.show&&t.show(i)})},o(r,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return wt}}]),r}(),gt(document).on(xt.CLICK_DATA_API,St.DATA_TOGGLE,function(t){var e,n=this,i=we.getSelectorFromElement(this);i&&(e=gt(i)[0]);var r=gt(e).data(vt)?"toggle":c({},gt(e).data(),gt(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=gt(e).one(xt.SHOW,function(t){t.isDefaultPrevented()||s.one(xt.HIDDEN,function(){gt(n).is(":visible")&&n.focus()})});Dt._jQueryInterface.call(gt(e),r,this)}),gt.fn.modal=Dt._jQueryInterface,gt.fn.modal.Constructor=Dt,gt.fn.modal.noConflict=function(){return gt.fn.modal=_t,Dt._jQueryInterface},Dt),De=(et="tooltip",it="."+(nt="bs.tooltip"),rt=(tt=e).fn[et],st=new RegExp("(^|\\s)bs-tooltip\\S+","g"),lt={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:!(at={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(ot={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},ht={HIDE:"hide"+it,HIDDEN:"hidden"+it,SHOW:(ut="show")+it,SHOWN:"shown"+it,INSERTED:"inserted"+it,CLICK:"click"+it,FOCUSIN:"focusin"+it,FOCUSOUT:"focusout"+it,MOUSEENTER:"mouseenter"+it,MOUSELEAVE:"mouseleave"+it},ct="fade",dt="show",ft="hover",pt="focus",mt=function(){function u(t,e){if(void 0===h)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t=u.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=tt(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),tt(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(tt(this.getTipElement()).hasClass(dt))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),tt.removeData(this.element,this.constructor.DATA_KEY),tt(this.element).off(this.constructor.EVENT_KEY),tt(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&tt(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===tt(this.element).css("display"))throw new Error("Please use show on visible elements");var t=tt.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){tt(this.element).trigger(t);var n=tt.contains(this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;var i=this.getTipElement(),r=we.getUID(this.constructor.NAME);i.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&tt(i).addClass(ct);var s="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,o=this._getAttachment(s);this.addAttachmentClass(o);var a=!1===this.config.container?document.body:tt(this.config.container);tt(i).data(this.constructor.DATA_KEY,this),tt.contains(this.element.ownerDocument.documentElement,this.tip)||tt(i).appendTo(a),tt(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new h(this.element,i,{placement:o,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),tt(i).addClass(dt),"ontouchstart"in document.documentElement&&tt("body").children().on("mouseover",null,tt.noop);var l=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,tt(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};we.supportsTransitionEnd()&&tt(this.tip).hasClass(ct)?tt(this.tip).one(we.TRANSITION_END,l).emulateTransitionEnd(u._TRANSITION_DURATION):l()}},t.hide=function(t){var e=this,n=this.getTipElement(),i=tt.Event(this.constructor.Event.HIDE),r=function(){e._hoverState!==ut&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),tt(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};tt(this.element).trigger(i),i.isDefaultPrevented()||(tt(n).removeClass(dt),"ontouchstart"in document.documentElement&&tt("body").children().off("mouseover",null,tt.noop),this._activeTrigger.click=!1,this._activeTrigger[pt]=!1,this._activeTrigger[ft]=!1,we.supportsTransitionEnd()&&tt(this.tip).hasClass(ct)?tt(n).one(we.TRANSITION_END,r).emulateTransitionEnd(150):r(),this._hoverState="")},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){tt(this.getTipElement()).addClass("bs-tooltip-"+t)},t.getTipElement=function(){return this.tip=this.tip||tt(this.config.template)[0],this.tip},t.setContent=function(){var t=tt(this.getTipElement());this.setElementContent(t.find(".tooltip-inner"),this.getTitle()),t.removeClass(ct+" "+dt)},t.setElementContent=function(t,e){var n=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?n?tt(e).parent().is(t)||t.empty().append(e):t.text(tt(e).text()):t[n?"html":"text"](e)},t.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},t._getAttachment=function(t){return at[t.toUpperCase()]},t._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)tt(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(t){return i.toggle(t)});else if("manual"!==t){var e=t===ft?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=t===ft?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;tt(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(n,i.config.selector,function(t){return i._leave(t)})}tt(i.element).closest(".modal").on("hide.bs.modal",function(){return i.hide()})}),this.config.selector?this.config=c({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||tt(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),tt(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?pt:ft]=!0),tt(e.getTipElement()).hasClass(dt)||e._hoverState===ut?e._hoverState=ut:(clearTimeout(e._timeout),e._hoverState=ut,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===ut&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||tt(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),tt(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?pt:ft]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){return"number"==typeof(t=c({},this.constructor.Default,tt(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()),we.typeCheckConfig(et,t,this.constructor.DefaultType),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var t=tt(this.getTipElement()),e=t.attr("class").match(st);null!==e&&0<e.length&&t.removeClass(e.join(""))},t._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},t._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(tt(t).removeClass(ct),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},u._jQueryInterface=function(n){return this.each(function(){var t=tt(this).data(nt),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new u(this,e),tt(this).data(nt,t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},o(u,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return lt}},{key:"NAME",get:function(){return et}},{key:"DATA_KEY",get:function(){return nt}},{key:"Event",get:function(){return ht}},{key:"EVENT_KEY",get:function(){return it}},{key:"DefaultType",get:function(){return ot}}]),u}(),tt.fn[et]=mt._jQueryInterface,tt.fn[et].Constructor=mt,tt.fn[et].noConflict=function(){return tt.fn[et]=rt,mt._jQueryInterface},mt),ke=(U="popover",V="."+(B="bs.popover"),G=(q=e).fn[U],Q=new RegExp("(^|\\s)bs-popover\\S+","g"),K=c({},De.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>'}),Z=c({},De.DefaultType,{content:"(string|element|function)"}),X={HIDE:"hide"+V,HIDDEN:"hidden"+V,SHOW:"show"+V,SHOWN:"shown"+V,INSERTED:"inserted"+V,CLICK:"click"+V,FOCUSIN:"focusin"+V,FOCUSOUT:"focusout"+V,MOUSEENTER:"mouseenter"+V,MOUSELEAVE:"mouseleave"+V},J=function(t){function i(){return t.apply(this,arguments)||this}var e,n;n=t,(e=i).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var r=i.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(t){q(this.getTipElement()).addClass("bs-popover-"+t)},r.getTipElement=function(){return this.tip=this.tip||q(this.config.template)[0],this.tip},r.setContent=function(){var t=q(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=q(this.getTipElement()),e=t.attr("class").match(Q);null!==e&&0<e.length&&t.removeClass(e.join(""))},i._jQueryInterface=function(n){return this.each(function(){var t=q(this).data(B),e="object"==typeof n?n:null;if((t||!/destroy|hide/.test(n))&&(t||(t=new i(this,e),q(this).data(B,t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},o(i,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return K}},{key:"NAME",get:function(){return U}},{key:"DATA_KEY",get:function(){return B}},{key:"Event",get:function(){return X}},{key:"EVENT_KEY",get:function(){return V}},{key:"DefaultType",get:function(){return Z}}]),i}(De),q.fn[U]=J._jQueryInterface,q.fn[U].Constructor=J,q.fn[U].noConflict=function(){return q.fn[U]=G,J._jQueryInterface},J),Oe=(N="scrollspy",P="."+(L="bs.scrollspy"),j=(M=e).fn[N],R={offset:10,method:"auto",target:""},H={offset:"number",method:"string",target:"(string|element)"},W={ACTIVATE:"activate"+P,SCROLL:"scroll"+P,LOAD_DATA_API:"load"+P+".data-api"},Y="active",z={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"},$="position",F=function(){function n(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+z.NAV_LINKS+","+this._config.target+" "+z.LIST_ITEMS+","+this._config.target+" "+z.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,M(this._scrollElement).on(W.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process()}var t=n.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":$,r="auto"===this._config.method?t:this._config.method,s=r===$?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),M.makeArray(M(this._selector)).map(function(t){var e,n=we.getSelectorFromElement(t);if(n&&(e=M(n)[0]),e){var i=e.getBoundingClientRect();if(i.width||i.height)return[M(e)[r]().top+s,n]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.dispose=function(){M.removeData(this._element,L),M(this._scrollElement).off(P),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(t){if("string"!=typeof(t=c({},R,t)).target){var e=M(t.target).attr("id");e||(e=we.getUID(N),M(t.target).attr("id",e)),t.target="#"+e}return we.typeCheckConfig(N,t,H),t},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),n<=t){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var r=this._offsets.length;r--;)this._activeTarget!==this._targets[r]&&t>=this._offsets[r]&&(void 0===this._offsets[r+1]||t<this._offsets[r+1])&&this._activate(this._targets[r])}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",");t=t.map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'});var n=M(t.join(","));n.hasClass("dropdown-item")?(n.closest(z.DROPDOWN).find(z.DROPDOWN_TOGGLE).addClass(Y),n.addClass(Y)):(n.addClass(Y),n.parents(z.NAV_LIST_GROUP).prev(z.NAV_LINKS+", "+z.LIST_ITEMS).addClass(Y),n.parents(z.NAV_LIST_GROUP).prev(z.NAV_ITEMS).children(z.NAV_LINKS).addClass(Y)),M(this._scrollElement).trigger(W.ACTIVATE,{relatedTarget:e})},t._clear=function(){M(this._selector).filter(z.ACTIVE).removeClass(Y)},n._jQueryInterface=function(e){return this.each(function(){var t=M(this).data(L);if(t||(t=new n(this,"object"==typeof e&&e),M(this).data(L,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},o(n,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return R}}]),n}(),M(window).on(W.LOAD_DATA_API,function(){for(var t=M.makeArray(M(z.DATA_SPY)),e=t.length;e--;){var n=M(t[e]);F._jQueryInterface.call(n,n.data())}}),M.fn[N]=F._jQueryInterface,M.fn[N].Constructor=F,M.fn[N].noConflict=function(){return M.fn[N]=j,F._jQueryInterface},F),Ae=(E="."+(C="bs.tab"),S=(T=e).fn.tab,D={HIDE:"hide"+E,HIDDEN:"hidden"+E,SHOW:"show"+E,SHOWN:"shown"+E,CLICK_DATA_API:"click.bs.tab.data-api"},k="active",O=".active",A="> li > .active",I=function(){function i(t){this._element=t}var t=i.prototype;return t.show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&T(this._element).hasClass(k)||T(this._element).hasClass("disabled"))){var t,i,e=T(this._element).closest(".nav, .list-group")[0],r=we.getSelectorFromElement(this._element);if(e){var s="UL"===e.nodeName?A:O;i=(i=T.makeArray(T(e).find(s)))[i.length-1]}var o=T.Event(D.HIDE,{relatedTarget:this._element}),a=T.Event(D.SHOW,{relatedTarget:i});if(i&&T(i).trigger(o),T(this._element).trigger(a),!a.isDefaultPrevented()&&!o.isDefaultPrevented()){r&&(t=T(r)[0]),this._activate(this._element,e);var l=function(){var t=T.Event(D.HIDDEN,{relatedTarget:n._element}),e=T.Event(D.SHOWN,{relatedTarget:i});T(i).trigger(t),T(n._element).trigger(e)};t?this._activate(t,t.parentNode,l):l()}}},t.dispose=function(){T.removeData(this._element,C),this._element=null},t._activate=function(t,e,n){var i=this,r=("UL"===e.nodeName?T(e).find(A):T(e).children(O))[0],s=n&&we.supportsTransitionEnd()&&r&&T(r).hasClass("fade"),o=function(){return i._transitionComplete(t,r,n)};r&&s?T(r).one(we.TRANSITION_END,o).emulateTransitionEnd(150):o()},t._transitionComplete=function(t,e,n){if(e){T(e).removeClass("show "+k);var i=T(e.parentNode).find("> .dropdown-menu .active")[0];i&&T(i).removeClass(k),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(T(t).addClass(k),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),we.reflow(t),T(t).addClass("show"),t.parentNode&&T(t.parentNode).hasClass("dropdown-menu")){var r=T(t).closest(".dropdown")[0];r&&T(r).find(".dropdown-toggle").addClass(k),t.setAttribute("aria-expanded",!0)}n&&n()},i._jQueryInterface=function(n){return this.each(function(){var t=T(this),e=t.data(C);if(e||(e=new i(this),t.data(C,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},o(i,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),i}(),T(document).on(D.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),I._jQueryInterface.call(T(this),"show")}),T.fn.tab=I._jQueryInterface,T.fn.tab.Constructor=I,T.fn.tab.noConflict=function(){return T.fn.tab=S,I._jQueryInterface},I);!function(t){if(void 0===t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(e),t.Util=we,t.Alert=be,t.Button=xe,t.Carousel=Te,t.Collapse=Ce,t.Dropdown=Ee,t.Modal=Se,t.Popover=ke,t.Scrollspy=Oe,t.Tab=Ae,t.Tooltip=De,Object.defineProperty(t,"__esModule",{value:!0})}),function(l){"use strict";function n(i){return this.each(function(){var t=l(this),e=t.data("bs.affix"),n="object"==typeof i&&i;e||t.data("bs.affix",e=new u(this,n)),"string"==typeof i&&e[i]()})}var u=function(t,e){this.options=l.extend({},u.DEFAULTS,e),this.$target=l(this.options.target).on("scroll.bs.affix.data-api",l.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",l.proxy(this.checkPositionWithEventLoop,this)),this.$element=l(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};u.VERSION="3.3.5",u.RESET="affix affix-top affix-bottom",u.DEFAULTS={offset:0,target:window},u.prototype.getState=function(t,e,n,i){var r=this.$target.scrollTop(),s=this.$element.offset(),o=this.$target.height();if(null!=n&&"top"==this.affixed)return r<n&&"top";if("bottom"==this.affixed)return null!=n?!(r+this.unpin<=s.top)&&"bottom":!(r+o<=t-i)&&"bottom";var a=null==this.affixed,l=a?r:s.top;return null!=n&&r<=n?"top":null!=i&&t-i<=l+(a?o:e)&&"bottom"},u.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(u.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},u.prototype.checkPositionWithEventLoop=function(){setTimeout(l.proxy(this.checkPosition,this),1)},u.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),e=this.options.offset,n=e.top,i=e.bottom,r=Math.max(l(document).height(),l(document.body).height());"object"!=typeof e&&(i=n=e),"function"==typeof n&&(n=e.top(this.$element)),"function"==typeof i&&(i=e.bottom(this.$element));var s=this.getState(r,t,n,i);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var o="affix"+(s?"-"+s:""),a=l.Event(o+".bs.affix");if(this.$element.trigger(a),a.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(u.RESET).addClass(o).trigger(o.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:r-t-i})}};var t=l.fn.affix;l.fn.affix=n,l.fn.affix.Constructor=u,l.fn.affix.noConflict=function(){return l.fn.affix=t,this},l(window).on("load",function(){l('[data-spy="affix"]').each(function(){var t=l(this),e=t.data();e.offset=e.offset||{},null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom),null!=e.offsetTop&&(e.offset.top=e.offsetTop),n.call(t,e)})})}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function d(){return Qt.apply(null,arguments)}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function l(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function u(t){return void 0===t}function h(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function c(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function f(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function p(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function m(t,e){for(var n in e)p(e,n)&&(t[n]=e[n]);return p(e,"toString")&&(t.toString=e.toString),p(e,"valueOf")&&(t.valueOf=e.valueOf),t}function g(t,e,n,i){return mt(t,e,n,i,!0).utc()}function v(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function y(t){if(null==t._isValid){var e=v(t),n=Kt.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function _(t){var e=g(NaN);return null!=t?m(v(e),t):v(e).userInvalidated=!0,e}function w(t,e){var n,i,r;if(u(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),u(e._i)||(t._i=e._i),u(e._f)||(t._f=e._f),u(e._l)||(t._l=e._l),u(e._strict)||(t._strict=e._strict),u(e._tzm)||(t._tzm=e._tzm),u(e._isUTC)||(t._isUTC=e._isUTC),u(e._offset)||(t._offset=e._offset),u(e._pf)||(t._pf=v(e)),u(e._locale)||(t._locale=e._locale),0<Xt.length)for(n=0;n<Xt.length;n++)u(r=e[i=Xt[n]])||(t[i]=r);return t}function b(t){w(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Jt&&(Jt=!0,d.updateOffset(this),Jt=!1)}function x(t){return t instanceof b||null!=t&&null!=t._isAMomentObject}function T(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function C(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=T(e)),n}function o(t,e,n){var i,r=Math.min(t.length,e.length),s=Math.abs(t.length-e.length),o=0;for(i=0;i<r;i++)(n&&t[i]!==e[i]||!n&&C(t[i])!==C(e[i]))&&o++;return o+s}function E(t){!1===d.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function t(r,s){var o=!0;return m(function(){if(null!=d.deprecationHandler&&d.deprecationHandler(null,r),o){for(var t,e=[],n=0;n<arguments.length;n++){if(t="","object"==typeof arguments[n]){for(var i in t+="\n["+n+"] ",arguments[0])t+=i+": "+arguments[0][i]+", ";t=t.slice(0,-2)}else t=arguments[n];e.push(t)}E(r+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack),o=!1}return s.apply(this,arguments)},s)}function s(t,e){null!=d.deprecationHandler&&d.deprecationHandler(t,e),te[t]||(E(e),te[t]=!0)}function S(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function D(t,e){var n,i=m({},t);for(n in e)p(e,n)&&(l(t[n])&&l(e[n])?(i[n]={},m(i[n],t[n]),m(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)p(t,n)&&!p(e,n)&&l(t[n])&&(i[n]=m({},i[n]));return i}function k(t){null!=t&&this.set(t)}function e(t,e){var n=t.toLowerCase();ee[n]=ee[n+"s"]=ee[e]=t}function O(t){return"string"==typeof t?ee[t]||ee[t.toLowerCase()]:void 0}function A(t){var e,n,i={};for(n in t)p(t,n)&&(e=O(n))&&(i[e]=t[n]);return i}function n(t,e){ne[t]=e}function I(t,e,n){var i=""+Math.abs(t),r=e-i.length;return(0<=t?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function i(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(oe[t]=r),e&&(oe[e[0]]=function(){return I(r.apply(this,arguments),e[1],e[2])}),n&&(oe[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function r(t,e){return t.isValid()?(e=M(e,t.localeData()),se[e]=se[e]||function(i){var t,r,e,s=i.match(ie);for(t=0,r=s.length;t<r;t++)oe[s[t]]?s[t]=oe[s[t]]:s[t]=(e=s[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(t){var e,n="";for(e=0;e<r;e++)n+=S(s[e])?s[e].call(t,i):s[e];return n}}(e),se[e](t)):t.localeData().invalidDate()}function M(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(re.lastIndex=0;0<=i&&re.test(t);)t=t.replace(re,n),re.lastIndex=0,i-=1;return t}function N(t,n,i){Te[t]=S(n)?n:function(t,e){return t&&i?i:n}}function L(t,e){return p(Te,t)?Te[t](e._strict,e._locale):new RegExp(P(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r})))}function P(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function j(t,n){var e,i=n;for("string"==typeof t&&(t=[t]),h(n)&&(i=function(t,e){e[n]=C(t)}),e=0;e<t.length;e++)Ce[t[e]]=i}function R(t,r){j(t,function(t,e,n,i){n._w=n._w||{},r(t,n._w,n,i)})}function H(t){return W(t)?366:365}function W(t){return t%4==0&&t%100!=0||t%400==0}function Y(e,n){return function(t){return null!=t?($(this,e,t),d.updateOffset(this,n),this):z(this,e)}}function z(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function $(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&W(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),F(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function F(t,e){if(isNaN(t)||isNaN(e))return NaN;var n,i=(e%(n=12)+n)%n;return t+=(e-i)/12,1===i?W(t)?29:28:31-i%7%2}function q(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=C(e);else if(!h(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),F(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function U(t){return null!=t?(q(this,t),d.updateOffset(this,!0),this):z(this,"Month")}function B(){function t(t,e){return e.length-t.length}var e,n,i=[],r=[],s=[];for(e=0;e<12;e++)n=g([2e3,e]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),s.push(this.months(n,"")),s.push(this.monthsShort(n,""));for(i.sort(t),r.sort(t),s.sort(t),e=0;e<12;e++)i[e]=P(i[e]),r[e]=P(r[e]);for(e=0;e<24;e++)s[e]=P(s[e]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function V(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&0<=t&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function G(t,e,n){var i=7+e-n;return-((7+V(t,0,i).getUTCDay()-e)%7)+i-1}function Q(t,e,n,i,r){var s,o,a=1+7*(e-1)+(7+n-i)%7+G(t,i,r);return a<=0?o=H(s=t-1)+a:a>H(t)?(s=t+1,o=a-H(t)):(s=t,o=a),{year:s,dayOfYear:o}}function K(t,e,n){var i,r,s=G(t.year(),e,n),o=Math.floor((t.dayOfYear()-s-1)/7)+1;return o<1?i=o+Z(r=t.year()-1,e,n):o>Z(t.year(),e,n)?(i=o-Z(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function Z(t,e,n){var i=G(t,e,n),r=G(t+1,e,n);return(H(t)-i+r)/7}function X(){function t(t,e){return e.length-t.length}var e,n,i,r,s,o=[],a=[],l=[],u=[];for(e=0;e<7;e++)n=g([2e3,1]).day(e),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),s=this.weekdays(n,""),o.push(i),a.push(r),l.push(s),u.push(i),u.push(r),u.push(s);for(o.sort(t),a.sort(t),l.sort(t),u.sort(t),e=0;e<7;e++)a[e]=P(a[e]),l[e]=P(l[e]),u[e]=P(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function J(){return this.hours()%12||12}function tt(t,e){i(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function et(t,e){return e._meridiemParse}function nt(t){return t?t.toLowerCase().replace("_","-"):t}function it(t){var e=null;if(!Ke[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=Ve._abbr,require("./locale/"+t),rt(e)}catch(t){}return Ke[t]}function rt(t,e){var n;return t&&(n=u(e)?ot(t):st(t,e))&&(Ve=n),Ve._abbr}function st(t,e){if(null!==e){var n=Qe;if(e.abbr=t,null!=Ke[t])s("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Ke[t]._config;else if(null!=e.parentLocale){if(null==Ke[e.parentLocale])return Ze[e.parentLocale]||(Ze[e.parentLocale]=[]),Ze[e.parentLocale].push({name:t,config:e}),null;n=Ke[e.parentLocale]._config}return Ke[t]=new k(D(n,e)),Ze[t]&&Ze[t].forEach(function(t){st(t.name,t.config)}),rt(t),Ke[t]}return delete Ke[t],null}function ot(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Ve;if(!a(t)){if(e=it(t))return e;t=[t]}return function(t){for(var e,n,i,r,s=0;s<t.length;){for(e=(r=nt(t[s]).split("-")).length,n=(n=nt(t[s+1]))?n.split("-"):null;0<e;){if(i=it(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&o(r,n,!0)>=e-1)break;e--}s++}return null}(t)}function at(t){var e,n=t._a;return n&&-2===v(t).overflow&&(e=n[Se]<0||11<n[Se]?Se:n[De]<1||n[De]>F(n[Ee],n[Se])?De:n[ke]<0||24<n[ke]||24===n[ke]&&(0!==n[Oe]||0!==n[Ae]||0!==n[Ie])?ke:n[Oe]<0||59<n[Oe]?Oe:n[Ae]<0||59<n[Ae]?Ae:n[Ie]<0||999<n[Ie]?Ie:-1,v(t)._overflowDayOfYear&&(e<Ee||De<e)&&(e=De),v(t)._overflowWeeks&&-1===e&&(e=Me),v(t)._overflowWeekday&&-1===e&&(e=Ne),v(t).overflow=e),t}function lt(t,e,n){return null!=t?t:null!=e?e:n}function ut(t){var e,n,i,r,s,o=[];if(!t._d){var a,l;for(a=t,l=new Date(d.now()),i=a._useUTC?[l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()]:[l.getFullYear(),l.getMonth(),l.getDate()],t._w&&null==t._a[De]&&null==t._a[Se]&&function(t){var e,n,i,r,s,o,a,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)s=1,o=4,n=lt(e.GG,t._a[Ee],K(gt(),1,4).year),i=lt(e.W,1),((r=lt(e.E,1))<1||7<r)&&(l=!0);else{s=t._locale._week.dow,o=t._locale._week.doy;var u=K(gt(),s,o);n=lt(e.gg,t._a[Ee],u.year),i=lt(e.w,u.week),null!=e.d?((r=e.d)<0||6<r)&&(l=!0):null!=e.e?(r=e.e+s,(e.e<0||6<e.e)&&(l=!0)):r=s}i<1||i>Z(n,s,o)?v(t)._overflowWeeks=!0:null!=l?v(t)._overflowWeekday=!0:(a=Q(n,i,r,s,o),t._a[Ee]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(s=lt(t._a[Ee],i[Ee]),(t._dayOfYear>H(s)||0===t._dayOfYear)&&(v(t)._overflowDayOfYear=!0),n=V(s,0,t._dayOfYear),t._a[Se]=n.getUTCMonth(),t._a[De]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=i[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ke]&&0===t._a[Oe]&&0===t._a[Ae]&&0===t._a[Ie]&&(t._nextDay=!0,t._a[ke]=0),t._d=(t._useUTC?V:function(t,e,n,i,r,s,o){var a=new Date(t,e,n,i,r,s,o);return t<100&&0<=t&&isFinite(a.getFullYear())&&a.setFullYear(t),a}).apply(null,o),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ke]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(v(t).weekdayMismatch=!0)}}function ht(t){var e,n,i,r,s,o,a=t._i,l=Xe.exec(a)||Je.exec(a);if(l){for(v(t).iso=!0,e=0,n=en.length;e<n;e++)if(en[e][1].exec(l[1])){r=en[e][0],i=!1!==en[e][2];break}if(null==r)return void(t._isValid=!1);if(l[3]){for(e=0,n=nn.length;e<n;e++)if(nn[e][1].exec(l[3])){s=(l[2]||" ")+nn[e][0];break}if(null==s)return void(t._isValid=!1)}if(!i&&null!=s)return void(t._isValid=!1);if(l[4]){if(!tn.exec(l[4]))return void(t._isValid=!1);o="Z"}t._f=r+(s||"")+(o||""),ft(t)}else t._isValid=!1}function ct(t,e,n,i,r,s){var o=[function(t){var e=parseInt(t,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(t),He.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return s&&o.push(parseInt(s,10)),o}function dt(t){var e,n,i,r=sn.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(r){var s=ct(r[4],r[3],r[2],r[5],r[6],r[7]);if(e=r[1],n=s,i=t,e&&$e.indexOf(e)!==new Date(n[0],n[1],n[2]).getDay()&&(v(i).weekdayMismatch=!0,!(i._isValid=!1)))return;t._a=s,t._tzm=function(t,e,n){if(t)return on[t];if(e)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(r[8],r[9],r[10]),t._d=V.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),v(t).rfc2822=!0}else t._isValid=!1}function ft(t){if(t._f!==d.ISO_8601)if(t._f!==d.RFC_2822){t._a=[],v(t).empty=!0;var e,n,i,r,s,o,a,l,u=""+t._i,h=u.length,c=0;for(i=M(t._f,t._locale).match(ie)||[],e=0;e<i.length;e++)r=i[e],(n=(u.match(L(r,t))||[])[0])&&(0<(s=u.substr(0,u.indexOf(n))).length&&v(t).unusedInput.push(s),u=u.slice(u.indexOf(n)+n.length),c+=n.length),oe[r]?(n?v(t).empty=!1:v(t).unusedTokens.push(r),o=r,l=t,null!=(a=n)&&p(Ce,o)&&Ce[o](a,l._a,l,o)):t._strict&&!n&&v(t).unusedTokens.push(r);v(t).charsLeftOver=h-c,0<u.length&&v(t).unusedInput.push(u),t._a[ke]<=12&&!0===v(t).bigHour&&0<t._a[ke]&&(v(t).bigHour=void 0),v(t).parsedDateParts=t._a.slice(0),v(t).meridiem=t._meridiem,t._a[ke]=function(t,e,n){var i;if(null==n)return e;return null!=t.meridiemHour?t.meridiemHour(e,n):(null!=t.isPM&&((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0)),e)}(t._locale,t._a[ke],t._meridiem),ut(t),at(t)}else dt(t);else ht(t)}function pt(t){var e,n,i,r,s=t._i,o=t._f;return t._locale=t._locale||ot(t._l),null===s||void 0===o&&""===s?_({nullInput:!0}):("string"==typeof s&&(t._i=s=t._locale.preparse(s)),x(s)?new b(at(s)):(c(s)?t._d=s:a(o)?function(t){var e,n,i,r,s;if(0===t._f.length)return v(t).invalidFormat=!0,t._d=new Date(NaN);for(r=0;r<t._f.length;r++)s=0,e=w({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],ft(e),y(e)&&(s+=v(e).charsLeftOver,s+=10*v(e).unusedTokens.length,v(e).score=s,(null==i||s<i)&&(i=s,n=e));m(t,n||e)}(t):o?ft(t):u(n=(e=t)._i)?e._d=new Date(d.now()):c(n)?e._d=new Date(n.valueOf()):"string"==typeof n?(i=e,null===(r=rn.exec(i._i))?(ht(i),!1===i._isValid&&(delete i._isValid,dt(i),!1===i._isValid&&(delete i._isValid,d.createFromInputFallback(i)))):i._d=new Date(+r[1])):a(n)?(e._a=f(n.slice(0),function(t){return parseInt(t,10)}),ut(e)):l(n)?function(t){if(!t._d){var e=A(t._i);t._a=f([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ut(t)}}(e):h(n)?e._d=new Date(n):d.createFromInputFallback(e),y(t)||(t._d=null),t))}function mt(t,e,n,i,r){var s,o={};return!0!==n&&!1!==n||(i=n,n=void 0),(l(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||a(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=t,o._f=e,o._strict=i,(s=new b(at(pt(o))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function gt(t,e,n,i){return mt(t,e,n,i,!1)}function vt(t,e){var n,i;if(1===e.length&&a(e[0])&&(e=e[0]),!e.length)return gt();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}function yt(t){var e=A(t),n=e.year||0,i=e.quarter||0,r=e.month||0,s=e.week||0,o=e.day||0,a=e.hour||0,l=e.minute||0,u=e.second||0,h=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===Le.call(un,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,i=0;i<un.length;++i)if(t[un[i]]){if(n)return!1;parseFloat(t[un[i]])!==C(t[un[i]])&&(n=!0)}return!0}(e),this._milliseconds=+h+1e3*u+6e4*l+1e3*a*60*60,this._days=+o+7*s,this._months=+r+3*i+12*n,this._data={},this._locale=ot(),this._bubble()}function _t(t){return t instanceof yt}function wt(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function bt(t,n){i(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+I(~~(t/60),2)+n+I(~~t%60,2)})}function xt(t,e){var n=(e||"").match(t);if(null===n)return null;var i=((n[n.length-1]||[])+"").match(hn)||["-",0,0],r=60*i[1]+C(i[2]);return 0===r?0:"+"===i[0]?r:-r}function Tt(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(x(t)||c(t)?t.valueOf():gt(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),d.updateOffset(n,!1),n):gt(t).local()}function Ct(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Et(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function St(t,e){var n,i,r,s=t,o=null;return _t(t)?s={ms:t._milliseconds,d:t._days,M:t._months}:h(t)?(s={},e?s[e]=t:s.milliseconds=t):(o=cn.exec(t))?(n="-"===o[1]?-1:1,s={y:0,d:C(o[De])*n,h:C(o[ke])*n,m:C(o[Oe])*n,s:C(o[Ae])*n,ms:C(wt(1e3*o[Ie]))*n}):(o=dn.exec(t))?(n="-"===o[1]?-1:(o[1],1),s={y:Dt(o[2],n),M:Dt(o[3],n),w:Dt(o[4],n),d:Dt(o[5],n),h:Dt(o[6],n),m:Dt(o[7],n),s:Dt(o[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(r=function(t,e){var n;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=Tt(e,t),t.isBefore(e)?n=kt(t,e):((n=kt(e,t)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(gt(s.from),gt(s.to)),(s={}).ms=r.milliseconds,s.M=r.months),i=new yt(s),_t(t)&&p(t,"_locale")&&(i._locale=t._locale),i}function Dt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function kt(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Ot(i,r){return function(t,e){var n;return null===e||isNaN(+e)||(s(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=t,t=e,e=n),At(this,St(t="string"==typeof t?+t:t,e),i),this}}function At(t,e,n,i){var r=e._milliseconds,s=wt(e._days),o=wt(e._months);t.isValid()&&(i=null==i||i,o&&q(t,z(t,"Month")+o*n),s&&$(t,"Date",z(t,"Date")+s*n),r&&t._d.setTime(t._d.valueOf()+r*n),i&&d.updateOffset(t,s||o))}function It(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(n+1,"months")-i)))||0}function Mt(t){var e;return void 0===t?this._locale._abbr:(null!=(e=ot(t))&&(this._locale=e),this)}function Nt(){return this._locale}function Lt(t,e){i(0,[t,t.length],0,e)}function Pt(t,e,n,i,r){var s;return null==t?K(this,i,r).year:((s=Z(t,i,r))<e&&(e=s),function(t,e,n,i,r){var s=Q(t,e,n,i,r),o=V(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}.call(this,t,e,n,i,r))}function jt(t,e){e[Ie]=C(1e3*("0."+t))}function Rt(t){return t}function Ht(t,e,n,i){var r=ot(),s=g().set(i,e);return r[n](s,t)}function Wt(t,e,n){if(h(t)&&(e=t,t=void 0),t=t||"",null!=e)return Ht(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Ht(t,i,n,"month");return r}function Yt(t,e,n,i){"boolean"==typeof t?h(e)&&(n=e,e=void 0):(e=t,t=!1,h(n=e)&&(n=e,e=void 0)),e=e||"";var r,s=ot(),o=t?s._week.dow:0;if(null!=n)return Ht(e,(n+o)%7,i,"day");var a=[];for(r=0;r<7;r++)a[r]=Ht(e,(r+o)%7,i,"day");return a}function zt(t,e,n,i){var r=St(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function $t(t){return t<0?Math.floor(t):Math.ceil(t)}function Ft(t){return 4800*t/146097}function qt(t){return 146097*t/4800}function Ut(t){return function(){return this.as(t)}}function Bt(t){return function(){return this.isValid()?this._data[t]:NaN}}function Vt(t){return(0<t)-(t<0)||+t}function Gt(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=zn(this._milliseconds)/1e3,i=zn(this._days),r=zn(this._months);e=T((t=T(n/60))/60),n%=60,t%=60;var s=T(r/12),o=r%=12,a=i,l=e,u=t,h=n?n.toFixed(3).replace(/\.?0+$/,""):"",c=this.asSeconds();if(!c)return"P0D";var d=c<0?"-":"",f=Vt(this._months)!==Vt(c)?"-":"",p=Vt(this._days)!==Vt(c)?"-":"",m=Vt(this._milliseconds)!==Vt(c)?"-":"";return d+"P"+(s?f+s+"Y":"")+(o?f+o+"M":"")+(a?p+a+"D":"")+(l||u||h?"T":"")+(l?m+l+"H":"")+(u?m+u+"M":"")+(h?m+h+"S":"")}var Qt,Kt;Kt=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1};var Zt,Xt=d.momentProperties=[],Jt=!1,te={};d.suppressDeprecationWarnings=!1,d.deprecationHandler=null,Zt=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)p(t,e)&&n.push(e);return n};var ee={},ne={},ie=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,se={},oe={},ae=/\d/,le=/\d\d/,ue=/\d{3}/,he=/\d{4}/,ce=/[+-]?\d{6}/,de=/\d\d?/,fe=/\d\d\d\d?/,pe=/\d\d\d\d\d\d?/,me=/\d{1,3}/,ge=/\d{1,4}/,ve=/[+-]?\d{1,6}/,ye=/\d+/,_e=/[+-]?\d+/,we=/Z|[+-]\d\d:?\d\d/gi,be=/Z|[+-]\d\d(?::?\d\d)?/gi,xe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Te={},Ce={},Ee=0,Se=1,De=2,ke=3,Oe=4,Ae=5,Ie=6,Me=7,Ne=8;i("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(0,["YYYYYY",6,!0],0,"year"),e("year","y"),n("year",1),N("Y",_e),N("YY",de,le),N("YYYY",ge,he),N("YYYYY",ve,ce),N("YYYYYY",ve,ce),j(["YYYYY","YYYYYY"],Ee),j("YYYY",function(t,e){e[Ee]=2===t.length?d.parseTwoDigitYear(t):C(t)}),j("YY",function(t,e){e[Ee]=d.parseTwoDigitYear(t)}),j("Y",function(t,e){e[Ee]=parseInt(t,10)}),d.parseTwoDigitYear=function(t){return C(t)+(68<C(t)?1900:2e3)};var Le,Pe=Y("FullYear",!0);Le=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),i("MMMM",0,0,function(t){return this.localeData().months(this,t)}),e("month","M"),n("month",8),N("M",de),N("MM",de,le),N("MMM",function(t,e){return e.monthsShortRegex(t)}),N("MMMM",function(t,e){return e.monthsRegex(t)}),j(["M","MM"],function(t,e){e[Se]=C(t)-1}),j(["MMM","MMMM"],function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[Se]=r:v(n).invalidMonth=t});var je=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),He="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),We=xe,Ye=xe;i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),e("week","w"),e("isoWeek","W"),n("week",5),n("isoWeek",5),N("w",de),N("ww",de,le),N("W",de),N("WW",de,le),R(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=C(t)});i("d",0,"do","day"),i("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),i("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),i("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),i("e",0,0,"weekday"),i("E",0,0,"isoWeekday"),e("day","d"),e("weekday","e"),e("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),N("d",de),N("e",de),N("E",de),N("dd",function(t,e){return e.weekdaysMinRegex(t)}),N("ddd",function(t,e){return e.weekdaysShortRegex(t)}),N("dddd",function(t,e){return e.weekdaysRegex(t)}),R(["dd","ddd","dddd"],function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:v(n).invalidWeekday=t}),R(["d","e","E"],function(t,e,n,i){e[i]=C(t)});var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),$e="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Fe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qe=xe,Ue=xe,Be=xe;i("H",["HH",2],0,"hour"),i("h",["hh",2],0,J),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+J.apply(this)+I(this.minutes(),2)}),i("hmmss",0,0,function(){return""+J.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+I(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)}),tt("a",!0),tt("A",!1),e("hour","h"),n("hour",13),N("a",et),N("A",et),N("H",de),N("h",de),N("k",de),N("HH",de,le),N("hh",de,le),N("kk",de,le),N("hmm",fe),N("hmmss",pe),N("Hmm",fe),N("Hmmss",pe),j(["H","HH"],ke),j(["k","kk"],function(t,e,n){var i=C(t);e[ke]=24===i?0:i}),j(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),j(["h","hh"],function(t,e,n){e[ke]=C(t),v(n).bigHour=!0}),j("hmm",function(t,e,n){var i=t.length-2;e[ke]=C(t.substr(0,i)),e[Oe]=C(t.substr(i)),v(n).bigHour=!0}),j("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[ke]=C(t.substr(0,i)),e[Oe]=C(t.substr(i,2)),e[Ae]=C(t.substr(r)),v(n).bigHour=!0}),j("Hmm",function(t,e,n){var i=t.length-2;e[ke]=C(t.substr(0,i)),e[Oe]=C(t.substr(i))}),j("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[ke]=C(t.substr(0,i)),e[Oe]=C(t.substr(i,2)),e[Ae]=C(t.substr(r))});var Ve,Ge=Y("Hours",!0),Qe={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:He,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:Fe,weekdaysShort:$e,meridiemParse:/[ap]\.?m?\.?/i},Ke={},Ze={},Xe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Je=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,tn=/Z|[+-]\d\d(?::?\d\d)?/,en=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],nn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],rn=/^\/?Date\((\-?\d+)/i,sn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,on={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};d.createFromInputFallback=t("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),d.ISO_8601=function(){},d.RFC_2822=function(){};var an=t("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=gt.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:_()}),ln=t("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=gt.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:_()}),un=["year","quarter","month","week","day","hour","minute","second","millisecond"];bt("Z",":"),bt("ZZ",""),N("Z",be),N("ZZ",be),j(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=xt(be,t)});var hn=/([\+\-]|\d\d)/gi;d.updateOffset=function(){};var cn=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,dn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;St.fn=yt.prototype,St.invalid=function(){return St(NaN)};var fn=Ot(1,"add"),pn=Ot(-1,"subtract");d.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",d.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var mn=t("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});i(0,["gg",2],0,function(){return this.weekYear()%100}),i(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Lt("gggg","weekYear"),Lt("ggggg","weekYear"),Lt("GGGG","isoWeekYear"),Lt("GGGGG","isoWeekYear"),e("weekYear","gg"),e("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),N("G",_e),N("g",_e),N("GG",de,le),N("gg",de,le),N("GGGG",ge,he),N("gggg",ge,he),N("GGGGG",ve,ce),N("ggggg",ve,ce),R(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=C(t)}),R(["gg","GG"],function(t,e,n,i){e[i]=d.parseTwoDigitYear(t)}),i("Q",0,"Qo","quarter"),e("quarter","Q"),n("quarter",7),N("Q",ae),j("Q",function(t,e){e[Se]=3*(C(t)-1)}),i("D",["DD",2],"Do","date"),e("date","D"),n("date",9),N("D",de),N("DD",de,le),N("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),j(["D","DD"],De),j("Do",function(t,e){e[De]=C(t.match(de)[0])});var gn=Y("Date",!0);i("DDD",["DDDD",3],"DDDo","dayOfYear"),e("dayOfYear","DDD"),n("dayOfYear",4),N("DDD",me),N("DDDD",ue),j(["DDD","DDDD"],function(t,e,n){n._dayOfYear=C(t)}),i("m",["mm",2],0,"minute"),e("minute","m"),n("minute",14),N("m",de),N("mm",de,le),j(["m","mm"],Oe);var vn=Y("Minutes",!1);i("s",["ss",2],0,"second"),e("second","s"),n("second",15),N("s",de),N("ss",de,le),j(["s","ss"],Ae);var yn,_n=Y("Seconds",!1);for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),e("millisecond","ms"),n("millisecond",16),N("S",me,ae),N("SS",me,le),N("SSS",me,ue),yn="SSSS";yn.length<=9;yn+="S")N(yn,ye);for(yn="S";yn.length<=9;yn+="S")j(yn,jt);var wn=Y("Milliseconds",!1);i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");var bn=b.prototype;bn.add=fn,bn.calendar=function(t,e){var n=t||gt(),i=Tt(n,this).startOf("day"),r=d.calendarFormat(this,i)||"sameElse",s=e&&(S(e[r])?e[r].call(this,n):e[r]);return this.format(s||this.localeData().calendar(r,this,gt(n)))},bn.clone=function(){return new b(this)},bn.diff=function(t,e,n){var i,r,s;if(!this.isValid())return NaN;if(!(i=Tt(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=O(e)){case"year":s=It(this,i)/12;break;case"month":s=It(this,i);break;case"quarter":s=It(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-r)/864e5;break;case"week":s=(this-i-r)/6048e5;break;default:s=this-i}return n?s:T(s)},bn.endOf=function(t){return void 0===(t=O(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},bn.format=function(t){t||(t=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var e=r(this,t);return this.localeData().postformat(e)},bn.from=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||gt(t).isValid())?St({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},bn.fromNow=function(t){return this.from(gt(),t)},bn.to=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||gt(t).isValid())?St({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},bn.toNow=function(t){return this.to(gt(),t)},bn.get=function(t){return S(this[t=O(t)])?this[t]():this},bn.invalidAt=function(){return v(this).overflow},bn.isAfter=function(t,e){var n=x(t)?t:gt(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=O(u(e)?"millisecond":e))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},bn.isBefore=function(t,e){var n=x(t)?t:gt(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=O(u(e)?"millisecond":e))?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},bn.isBetween=function(t,e,n,i){return("("===(i=i||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===i[1]?this.isBefore(e,n):!this.isAfter(e,n))},bn.isSame=function(t,e){var n,i=x(t)?t:gt(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=O(e||"millisecond"))?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},bn.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},bn.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},bn.isValid=function(){return y(this)},bn.lang=mn,bn.locale=Mt,bn.localeData=Nt,bn.max=ln,bn.min=an,bn.parsingFlags=function(){return m({},v(this))},bn.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e=[];for(var n in t)e.push({unit:n,priority:ne[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}(t=A(t)),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit]);else if(S(this[t=O(t)]))return this[t](e);return this},bn.startOf=function(t){switch(t=O(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},bn.subtract=pn,bn.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},bn.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},bn.toDate=function(){return new Date(this.valueOf())},bn.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||9999<n.year()?r(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",r(n,"Z")):r(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},bn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=e+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+r)},bn.toJSON=function(){return this.isValid()?this.toISOString():null},bn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},bn.unix=function(){return Math.floor(this.valueOf()/1e3)},bn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},bn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},bn.year=Pe,bn.isLeapYear=function(){return W(this.year())},bn.weekYear=function(t){return Pt.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},bn.isoWeekYear=function(t){return Pt.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},bn.quarter=bn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},bn.month=U,bn.daysInMonth=function(){return F(this.year(),this.month())},bn.week=bn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},bn.isoWeek=bn.isoWeeks=function(t){var e=K(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},bn.weeksInYear=function(){var t=this.localeData()._week;return Z(this.year(),t.dow,t.doy)},bn.isoWeeksInYear=function(){return Z(this.year(),1,4)},bn.date=gn,bn.day=bn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,n=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=n.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-i,"d")):i},bn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},bn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=(n=t,i=this.localeData(),"string"==typeof n?i.weekdaysParse(n)%7||7:isNaN(n)?null:n);return this.day(this.day()%7?e:e-7)}return this.day()||7;var n,i},bn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},bn.hour=bn.hours=Ge,bn.minute=bn.minutes=vn,bn.second=bn.seconds=_n,bn.millisecond=bn.milliseconds=wn,bn.utcOffset=function(t,e,n){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=xt(be,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=Ct(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?At(this,St(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Ct(this)},bn.utc=function(t){return this.utcOffset(0,t)},bn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ct(this),"m")),this},bn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=xt(we,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},bn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?gt(t).utcOffset():0,(this.utcOffset()-t)%60==0)},bn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},bn.isLocal=function(){return!!this.isValid()&&!this._isUTC},bn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},bn.isUtc=Et,bn.isUTC=Et,bn.zoneAbbr=function(){return this._isUTC?"UTC":""},bn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},bn.dates=t("dates accessor is deprecated. Use date instead.",gn),bn.months=t("months accessor is deprecated. Use month instead",U),bn.years=t("years accessor is deprecated. Use year instead",Pe),bn.zone=t("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),bn.isDSTShifted=t("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t={};if(w(t,this),(t=pt(t))._a){var e=t._isUTC?g(t._a):gt(t._a);this._isDSTShifted=this.isValid()&&0<o(t._a,e.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var xn=k.prototype;xn.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return S(i)?i.call(e,n):i},xn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},xn.invalidDate=function(){return this._invalidDate},xn.ordinal=function(t){return this._ordinal.replace("%d",t)},xn.preparse=Rt,xn.postformat=Rt,xn.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return S(r)?r(t,e,n,i):r.replace(/%d/i,t)},xn.pastFuture=function(t,e){var n=this._relativeTime[0<t?"future":"past"];return S(n)?n(e):n.replace(/%s/i,e)},xn.set=function(t){var e,n;for(n in t)S(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},xn.months=function(t,e){return t?a(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||je).test(e)?"format":"standalone"][t.month()]:a(this._months)?this._months:this._months.standalone},xn.monthsShort=function(t,e){return t?a(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[je.test(e)?"format":"standalone"][t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},xn.monthsParse=function(t,e,n){var i,r,s;if(this._monthsParseExact)return function(t,e,n){var i,r,s,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=g([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=Le.call(this._shortMonthsParse,o))?r:null:-1!==(r=Le.call(this._longMonthsParse,o))?r:null:"MMM"===e?-1!==(r=Le.call(this._shortMonthsParse,o))?r:-1!==(r=Le.call(this._longMonthsParse,o))?r:null:-1!==(r=Le.call(this._longMonthsParse,o))?r:-1!==(r=Le.call(this._shortMonthsParse,o))?r:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=g([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},xn.monthsRegex=function(t){return this._monthsParseExact?(p(this,"_monthsRegex")||B.call(this),t?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Ye),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},xn.monthsShortRegex=function(t){return this._monthsParseExact?(p(this,"_monthsRegex")||B.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=We),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},xn.week=function(t){return K(t,this._week.dow,this._week.doy).week},xn.firstDayOfYear=function(){return this._week.doy},xn.firstDayOfWeek=function(){return this._week.dow},xn.weekdays=function(t,e){return t?a(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone},xn.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},xn.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},xn.weekdaysParse=function(t,e,n){var i,r,s;if(this._weekdaysParseExact)return function(t,e,n){var i,r,s,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=g([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=Le.call(this._weekdaysParse,o))?r:null:"ddd"===e?-1!==(r=Le.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=Le.call(this._minWeekdaysParse,o))?r:null:"dddd"===e?-1!==(r=Le.call(this._weekdaysParse,o))?r:-1!==(r=Le.call(this._shortWeekdaysParse,o))?r:-1!==(r=Le.call(this._minWeekdaysParse,o))?r:null:"ddd"===e?-1!==(r=Le.call(this._shortWeekdaysParse,o))?r:-1!==(r=Le.call(this._weekdaysParse,o))?r:-1!==(r=Le.call(this._minWeekdaysParse,o))?r:null:-1!==(r=Le.call(this._minWeekdaysParse,o))?r:-1!==(r=Le.call(this._weekdaysParse,o))?r:-1!==(r=Le.call(this._shortWeekdaysParse,o))?r:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=g([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".",".?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},xn.weekdaysRegex=function(t){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||X.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=qe),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},xn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||X.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ue),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},xn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||X.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Be),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},xn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},xn.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},rt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===C(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),d.lang=t("moment.lang is deprecated. Use moment.locale instead.",rt),d.langData=t("moment.langData is deprecated. Use moment.localeData instead.",ot);var Tn=Math.abs,Cn=Ut("ms"),En=Ut("s"),Sn=Ut("m"),Dn=Ut("h"),kn=Ut("d"),On=Ut("w"),An=Ut("M"),In=Ut("y"),Mn=Bt("milliseconds"),Nn=Bt("seconds"),Ln=Bt("minutes"),Pn=Bt("hours"),jn=Bt("days"),Rn=Bt("months"),Hn=Bt("years"),Wn=Math.round,Yn={ss:44,s:45,m:45,h:22,d:26,M:11},zn=Math.abs,$n=yt.prototype;return $n.isValid=function(){return this._isValid},$n.abs=function(){var t=this._data;return this._milliseconds=Tn(this._milliseconds),this._days=Tn(this._days),this._months=Tn(this._months),t.milliseconds=Tn(t.milliseconds),t.seconds=Tn(t.seconds),t.minutes=Tn(t.minutes),t.hours=Tn(t.hours),t.months=Tn(t.months),t.years=Tn(t.years),this},$n.add=function(t,e){return zt(this,t,e,1)},$n.subtract=function(t,e){return zt(this,t,e,-1)},$n.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=O(t))||"year"===t)return e=this._days+i/864e5,n=this._months+Ft(e),"month"===t?n:n/12;switch(e=this._days+Math.round(qt(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},$n.asMilliseconds=Cn,$n.asSeconds=En,$n.asMinutes=Sn,$n.asHours=Dn,$n.asDays=kn,$n.asWeeks=On,$n.asMonths=An,$n.asYears=In,$n.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*C(this._months/12):NaN},$n._bubble=function(){var t,e,n,i,r,s=this._milliseconds,o=this._days,a=this._months,l=this._data;return 0<=s&&0<=o&&0<=a||s<=0&&o<=0&&a<=0||(s+=864e5*$t(qt(a)+o),a=o=0),l.milliseconds=s%1e3,t=T(s/1e3),l.seconds=t%60,e=T(t/60),l.minutes=e%60,n=T(e/60),l.hours=n%24,a+=r=T(Ft(o+=T(n/24))),o-=$t(qt(r)),i=T(a/12),a%=12,l.days=o,l.months=a,l.years=i,this},$n.clone=function(){return St(this)},$n.get=function(t){return t=O(t),this.isValid()?this[t+"s"]():NaN},$n.milliseconds=Mn,$n.seconds=Nn,$n.minutes=Ln,$n.hours=Pn,$n.days=jn,$n.weeks=function(){return T(this.days()/7)},$n.months=Rn,$n.years=Hn,$n.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e,n,i,r,s,o,a,l,u,h,c,d=this.localeData(),f=(n=!t,i=d,r=St(e=this).abs(),s=Wn(r.as("s")),o=Wn(r.as("m")),a=Wn(r.as("h")),l=Wn(r.as("d")),u=Wn(r.as("M")),h=Wn(r.as("y")),(c=s<=Yn.ss&&["s",s]||s<Yn.s&&["ss",s]||o<=1&&["m"]||o<Yn.m&&["mm",o]||a<=1&&["h"]||a<Yn.h&&["hh",a]||l<=1&&["d"]||l<Yn.d&&["dd",l]||u<=1&&["M"]||u<Yn.M&&["MM",u]||h<=1&&["y"]||["yy",h])[2]=n,c[3]=0<+e,c[4]=i,function(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}.apply(null,c));return t&&(f=d.pastFuture(+this,f)),d.postformat(f)},$n.toISOString=Gt,$n.toString=Gt,$n.toJSON=Gt,$n.locale=Mt,$n.localeData=Nt,$n.toIsoString=t("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Gt),$n.lang=mn,i("X",0,0,"unix"),i("x",0,0,"valueOf"),N("x",_e),N("X",/[+-]?\d+(\.\d{1,3})?/),j("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),j("x",function(t,e,n){n._d=new Date(C(t))}),d.version="2.20.1",Qt=gt,d.fn=bn,d.min=function(){return vt("isBefore",[].slice.call(arguments,0))},d.max=function(){return vt("isAfter",[].slice.call(arguments,0))},d.now=function(){return Date.now?Date.now():+new Date},d.utc=g,d.unix=function(t){return gt(1e3*t)},d.months=function(t,e){return Wt(t,e,"months")},d.isDate=c,d.locale=rt,d.invalid=_,d.duration=St,d.isMoment=x,d.weekdays=function(t,e,n){return Yt(t,e,n,"weekdays")},d.parseZone=function(){return gt.apply(null,arguments).parseZone()},d.localeData=ot,d.isDuration=_t,d.monthsShort=function(t,e){return Wt(t,e,"monthsShort")},d.weekdaysMin=function(t,e,n){return Yt(t,e,n,"weekdaysMin")},d.defineLocale=st,d.updateLocale=function(t,e){if(null!=e){var n,i,r=Qe;null!=(i=it(t))&&(r=i._config),(n=new k(e=D(r,e))).parentLocale=Ke[t],Ke[t]=n,rt(t)}else null!=Ke[t]&&(null!=Ke[t].parentLocale?Ke[t]=Ke[t].parentLocale:null!=Ke[t]&&delete Ke[t]);return Ke[t]},d.locales=function(){return Zt(Ke)},d.weekdaysShort=function(t,e,n){return Yt(t,e,n,"weekdaysShort")},d.normalizeUnits=O,d.relativeTimeRounding=function(t){return void 0===t?Wn:"function"==typeof t&&(Wn=t,!0)},d.relativeTimeThreshold=function(t,e){return void 0!==Yn[t]&&(void 0===e?Yn[t]:(Yn[t]=e,"s"===t&&(Yn.ss=e-1),!0))},d.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},d.prototype=bn,d.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},d.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:11<=t?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}}),d.locale("zh-cn"),d}),function(l,n,r,a){function u(t,e){this.settings=null,this.options=l.extend({},u.Defaults,e),this.$element=l(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(t,e){this._handlers[e]=l.proxy(this[e],this)},this)),l.each(u.Plugins,l.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),l.each(u.Workers,l.proxy(function(t,e){this._pipe.push({filter:e.filter,run:l.proxy(e.run,this)})},this)),this.setup(),this.initialize()}u.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:n,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},u.Width={Default:"default",Inner:"inner",Outer:"outer"},u.Type={Event:"event",State:"state"},u.Plugins={},u.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",n=!this.settings.autoWidth,i=this.settings.rtl,r={width:"auto","margin-left":i?e:"","margin-right":i?"":e};!n&&this.$stage.children().css(r),t.css=r}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=null,i=this._items.length,r=!this.settings.autoWidth,s=[];for(t.items={merge:!1,width:e};i--;)n=this._mergers[i],n=this.settings.mergeFit&&Math.min(n,this.settings.items)||n,t.items.merge=1<n||t.items.merge,s[i]=r?e*n:this._items[i].width();this._widths=s}},{filter:["items","settings"],run:function(){var t=[],e=this._items,n=this.settings,i=Math.max(2*n.items,4),r=2*Math.ceil(e.length/2),s=n.loop&&e.length?n.rewind?i:Math.max(i,r):0,o="",a="";for(s/=2;0<s;)t.push(this.normalize(t.length/2,!0)),o+=e[t[t.length-1]][0].outerHTML,t.push(this.normalize(e.length-1-(t.length-1)/2,!0)),a=e[t[t.length-1]][0].outerHTML+a,s-=1;this._clones=t,l(o).addClass("cloned").appendTo(this.$stage),l(a).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,n=-1,i=0,r=0,s=[];++n<e;)i=s[n-1]||0,r=this._widths[this.relative(n)]+this.settings.margin,s.push(i+r*t);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,n={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(n)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,n=!this.settings.autoWidth,i=this.$stage.children();if(n&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],i.eq(e).css(t.css);else n&&(t.css.width=t.items.width,i.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,n,i,r=this.settings.rtl?1:-1,s=2*this.settings.stagePadding,o=this.coordinates(this.current())+s,a=o+this.width()*r,l=[];for(n=0,i=this._coordinates.length;n<i;n++)t=this._coordinates[n-1]||0,e=Math.abs(this._coordinates[n])+s*r,(this.op(t,"<=",o)&&this.op(t,">",a)||this.op(e,"<",o)&&this.op(e,">",a))&&l.push(n);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],u.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(l("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},u.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");if(t.length)return this._items=t.get().map(function(t){return l(t)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},u.prototype.initialize=function(){var t,e,n;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:a,n=this.$element.children(e).width(),t.length&&n<=0&&this.preloadAutoWidthImages(t));this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},u.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},u.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,n=-1,i=null;t?(l.each(t,function(t){t<=e&&n<t&&(n=Number(t))}),"function"==typeof(i=l.extend({},this.options,t[n])).stagePadding&&(i.stagePadding=i.stagePadding()),delete i.responsive,i.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):i=l.extend({},this.options),this.trigger("change",{property:{name:"settings",value:i}}),this._breakpoint=n,this.settings=i,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},u.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},u.prototype.prepare=function(t){var e=this.trigger("prepare",{content:t});return e.data||(e.data=l("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},u.prototype.update=function(){for(var t=0,e=this._pipe.length,n=l.proxy(function(t){return this[t]},this._invalidated),i={};t<e;)(this._invalidated.all||0<l.grep(this._pipe[t].filter,n).length)&&this._pipe[t].run(i),t++;this._invalidated={},!this.is("valid")&&this.enter("valid")},u.prototype.width=function(t){switch(t=t||u.Width.Default){case u.Width.Inner:case u.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},u.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},u.prototype.onThrottledResize=function(){n.clearTimeout(this.resizeTimer),this.resizeTimer=n.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},u.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},u.prototype.registerEventHandlers=function(){l.support.transition&&this.$stage.on(l.support.transition.end+".owl.core",l.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(n,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",l.proxy(this.onDragEnd,this)))},u.prototype.onDragStart=function(t){var e=null;3!==t.which&&(l.support.transform?e={x:(e=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===e.length?12:4],y:e[16===e.length?13:5]}:(e=this.$stage.position(),e={x:this.settings.rtl?e.left+this.$stage.width()-this.width()+this.settings.margin:e.left,y:e.top}),this.is("animating")&&(l.support.transform?this.animate(e.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=l(t.target),this._drag.stage.start=e,this._drag.stage.current=e,this._drag.pointer=this.pointer(t),l(r).on("mouseup.owl.core touchend.owl.core",l.proxy(this.onDragEnd,this)),l(r).one("mousemove.owl.core touchmove.owl.core",l.proxy(function(t){var e=this.difference(this._drag.pointer,this.pointer(t));l(r).on("mousemove.owl.core touchmove.owl.core",l.proxy(this.onDragMove,this)),Math.abs(e.x)<Math.abs(e.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},u.prototype.onDragMove=function(t){var e=null,n=null,i=null,r=this.difference(this._drag.pointer,this.pointer(t)),s=this.difference(this._drag.stage.start,r);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-e,s.x=((s.x-e)%n+n)%n+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),i=this.settings.pullDrag?-1*r.x/5:0,s.x=Math.max(Math.min(s.x,e+i),n+i)),this._drag.stage.current=s,this.animate(s.x))},u.prototype.onDragEnd=function(t){var e=this.difference(this._drag.pointer,this.pointer(t)),n=this._drag.stage.current,i=0<e.x^this.settings.rtl?"left":"right";l(r).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==e.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(n.x,0!==e.x?i:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=i,(3<Math.abs(e.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},u.prototype.closest=function(n,i){var r=-1,s=this.width(),o=this.coordinates();return this.settings.freeDrag||l.each(o,l.proxy(function(t,e){return"left"===i&&e-30<n&&n<e+30?r=t:"right"===i&&e-s-30<n&&n<e-s+30?r=t+1:this.op(n,"<",e)&&this.op(n,">",o[t+1]!==a?o[t+1]:e-s)&&(r="left"===i?t+1:t),-1===r},this)),this.settings.loop||(this.op(n,">",o[this.minimum()])?r=n=this.minimum():this.op(n,"<",o[this.maximum()])&&(r=n=this.maximum())),r},u.prototype.animate=function(t){var e=0<this.speed();this.is("animating")&&this.onTransitionEnd(),e&&(this.enter("animating"),this.trigger("translate")),l.support.transform3d&&l.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):e?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,l.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},u.prototype.is=function(t){return this._states.current[t]&&0<this._states.current[t]},u.prototype.current=function(t){if(t===a)return this._current;if(0===this._items.length)return a;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==a&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},u.prototype.invalidate=function(t){return"string"===l.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),l.map(this._invalidated,function(t,e){return e})},u.prototype.reset=function(t){(t=this.normalize(t))!==a&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},u.prototype.normalize=function(t,e){var n=this._items.length,i=e?0:this._clones.length;return!this.isNumeric(t)||n<1?t=a:(t<0||n+i<=t)&&(t=((t-i/2)%n+n)%n+i/2),t},u.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},u.prototype.maximum=function(t){var e,n,i,r=this.settings,s=this._coordinates.length;if(r.loop)s=this._clones.length/2+this._items.length-1;else if(r.autoWidth||r.merge){if(e=this._items.length)for(n=this._items[--e].width(),i=this.$element.width();e--&&!((n+=this._items[e].width()+this.settings.margin)>i););s=e+1}else s=r.center?this._items.length-1:this._items.length-r.items;return t&&(s-=this._clones.length/2),Math.max(s,0)},u.prototype.minimum=function(t){return t?0:this._clones.length/2},u.prototype.items=function(t){return t===a?this._items.slice():(t=this.normalize(t,!0),this._items[t])},u.prototype.mergers=function(t){return t===a?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},u.prototype.clones=function(n){var e=this._clones.length/2,i=e+this._items.length,r=function(t){return t%2==0?i+t/2:e-(t+1)/2};return n===a?l.map(this._clones,function(t,e){return r(e)}):l.map(this._clones,function(t,e){return t===n?r(e):null})},u.prototype.speed=function(t){return t!==a&&(this._speed=t),this._speed},u.prototype.coordinates=function(t){var e,n=1,i=t-1;return t===a?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(n=-1,i=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[i]||0))/2*n):e=this._coordinates[i]||0,e=Math.ceil(e))},u.prototype.duration=function(t,e,n){return 0===n?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(n||this.settings.smartSpeed)},u.prototype.to=function(t,e){var n=this.current(),i=null,r=t-this.relative(n),s=(0<r)-(r<0),o=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(r)>o/2&&(r+=-1*s*o),(i=(((t=n+r)-a)%o+o)%o+a)!==t&&i-r<=l&&0<i-r&&(n=i-r,t=i,this.reset(n))):this.settings.rewind?t=(t%(l+=1)+l)%l:t=Math.max(a,Math.min(l,t)),this.speed(this.duration(n,t,e)),this.current(t),this.isVisible()&&this.update()},u.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},u.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},u.prototype.onTransitionEnd=function(t){if(t!==a&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},u.prototype.viewport=function(){var t;return this.options.responsiveBaseElement!==n?t=l(this.options.responsiveBaseElement).width():n.innerWidth?t=n.innerWidth:r.documentElement&&r.documentElement.clientWidth?t=r.documentElement.clientWidth:console.warn("Can not detect viewport width."),t},u.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:l(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(l.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},u.prototype.add=function(t,e){var n=this.relative(this._current);e=e===a?this._items.length:this.normalize(e,!0),t=t instanceof jQuery?t:l(t),this.trigger("add",{content:t,position:e}),t=this.prepare(t),0===this._items.length||e===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[e-1].after(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[e].before(t),this._items.splice(e,0,t),this._mergers.splice(e,0,1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:t,position:e})},u.prototype.remove=function(t){(t=this.normalize(t,!0))!==a&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},u.prototype.preloadAutoWidthImages=function(t){t.each(l.proxy(function(t,e){this.enter("pre-loading"),e=l(e),l(new Image).one("load",l.proxy(function(t){e.attr("src",t.target.src),e.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",e.attr("src")||e.attr("data-src")||e.attr("data-src-retina"))},this))},u.prototype.destroy=function(){for(var t in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),l(r).off(".owl.core"),!1!==this.settings.responsive&&(n.clearTimeout(this.resizeTimer),this.off(n,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[t].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},u.prototype.op=function(t,e,n){var i=this.settings.rtl;switch(e){case"<":return i?n<t:t<n;case">":return i?t<n:n<t;case">=":return i?t<=n:n<=t;case"<=":return i?n<=t:t<=n}},u.prototype.on=function(t,e,n,i){t.addEventListener?t.addEventListener(e,n,i):t.attachEvent&&t.attachEvent("on"+e,n)},u.prototype.off=function(t,e,n,i){t.removeEventListener?t.removeEventListener(e,n,i):t.detachEvent&&t.detachEvent("on"+e,n)},u.prototype.trigger=function(t,e,n,i,r){var s={item:{count:this._items.length,index:this.current()}},o=l.camelCase(l.grep(["on",t,n],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",n||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},s,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:u.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[o]&&this.settings[o].call(this,a)),a},u.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===a&&(this._states.current[e]=0),this._states.current[e]++},this))},u.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},u.prototype.register=function(n){if(n.type===u.Type.Event){if(l.event.special[n.name]||(l.event.special[n.name]={}),!l.event.special[n.name].owl){var e=l.event.special[n.name]._default;l.event.special[n.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1<t.namespace.indexOf("owl"):e.apply(this,arguments)},l.event.special[n.name].owl=!0}}else n.type===u.Type.State&&(this._states.tags[n.name]?this._states.tags[n.name]=this._states.tags[n.name].concat(n.tags):this._states.tags[n.name]=n.tags,this._states.tags[n.name]=l.grep(this._states.tags[n.name],l.proxy(function(t,e){return l.inArray(t,this._states.tags[n.name])===e},this)))},u.prototype.suppress=function(t){l.each(t,l.proxy(function(t,e){this._supress[e]=!0},this))},u.prototype.release=function(t){l.each(t,l.proxy(function(t,e){delete this._supress[e]},this))},u.prototype.pointer=function(t){var e={x:null,y:null};return(t=(t=t.originalEvent||t||n.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(e.x=t.pageX,e.y=t.pageY):(e.x=t.clientX,e.y=t.clientY),e},u.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},u.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},l.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=l(this),n=t.data("owl.carousel");n||(n=new u(this,"object"==typeof e&&e),t.data("owl.carousel",n),l.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,e){n.register({type:u.Type.Event,name:e}),n.$element.on(e+".owl.carousel.core",l.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([e]),n[e].apply(this,[].slice.call(arguments,1)),this.release([e]))},n))})),"string"==typeof e&&"_"!==e.charAt(0)&&n[e].apply(n,i)})},l.fn.owlCarousel.Constructor=u}(window.Zepto||window.jQuery,window,document),function(e,n,t,i){var r=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers)};r.Defaults={autoRefresh:!0,autoRefreshInterval:500},r.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=n.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},r.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},r.prototype.destroy=function(){var t,e;for(t in n.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=r}(window.Zepto||window.jQuery,window,document),function(a,s,t,e){var n=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type)){var e=this._core.settings,n=e.center&&Math.ceil(e.items/2)||e.items,i=e.center&&-1*n||0,r=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+i,s=this._core.clones().length,o=a.proxy(function(t,e){this.load(e)},this);for(0<e.lazyLoadEager&&(n+=e.lazyLoadEager,e.loop&&(r-=e.lazyLoadEager,n++));i++<n;)this.load(s/2+this._core.relative(r)),s&&a.each(this._core.clones(this._core.relative(r)),o),r++}},this)},this._core.options=a.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={lazyLoad:!1,lazyLoadEager:0},n.prototype.load=function(t){var e=this._core.$stage.children().eq(t),n=e&&e.find(".owl-lazy");!n||-1<a.inArray(e.get(0),this._loaded)||(n.each(a.proxy(function(t,e){var n,i=a(e),r=1<s.devicePixelRatio&&i.attr("data-src-retina")||i.attr("data-src")||i.attr("data-srcset");this._core.trigger("load",{element:i,url:r},"lazy"),i.is("img")?i.one("load.owl.lazy",a.proxy(function(){i.css("opacity",1),this._core.trigger("loaded",{element:i,url:r},"lazy")},this)).attr("src",r):i.is("source")?i.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:i,url:r},"lazy")},this)).attr("srcset",r):((n=new Image).onload=a.proxy(function(){i.css({"background-image":'url("'+r+'")',opacity:"1"}),this._core.trigger("loaded",{element:i,url:r},"lazy")},this),n.src=r)},this)),this._loaded.push(e.get(0)))},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.jQuery,window,document),function(o,n,t,e){var i=function(t){this._core=t,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()},this),"loaded.owl.lazy":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=o.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var e=this;o(n).on("load",function(){e._core.settings.autoHeight&&e.update()}),o(n).resize(function(){e._core.settings.autoHeight&&(null!=e._intervalId&&clearTimeout(e._intervalId),e._intervalId=setTimeout(function(){e.update()},250))})};i.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},i.prototype.update=function(){var t=this._core._current,e=t+this._core.settings.items,n=this._core.settings.lazyLoad,i=this._core.$stage.children().toArray().slice(t,e),r=[],s=0;o.each(i,function(t,e){r.push(o(e).height())}),(s=Math.max.apply(null,r))<=1&&n&&this._previousHeight&&(s=this._previousHeight),this._previousHeight=s,this._core.$stage.parent().height(s).addClass(this._core.settings.autoHeightClass)},i.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},o.fn.owlCarousel.Constructor.Plugins.AutoHeight=i}(window.Zepto||window.jQuery,window,document),function(h,t,e,n){var i=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":h.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":h.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":h.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":h.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":h.proxy(function(t){if(t.namespace){var e=h(t.content).find(".owl-video");e.length&&(e.css("display","none"),this.fetch(e,h(t.content)))}},this)},this._core.options=h.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",h.proxy(function(t){this.play(t)},this))};i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(t,e){var n=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",i=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),r=t.attr("data-width")||this._core.settings.videoWidth,s=t.attr("data-height")||this._core.settings.videoHeight,o=t.attr("href");if(!o)throw new Error("Missing video URL.");if(-1<(i=o.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))n="youtube";else if(-1<i[3].indexOf("vimeo"))n="vimeo";else{if(!(-1<i[3].indexOf("vzaar")))throw new Error("Video URL not supported.");n="vzaar"}i=i[6],this._videos[o]={type:n,id:i,width:r,height:s},e.attr("data-video",o),this.thumbnail(t,this._videos[o])},i.prototype.thumbnail=function(e,t){var n,i,r=t.width&&t.height?"width:"+t.width+"px;height:"+t.height+"px;":"",s=e.find("img"),o="src",a="",l=this._core.settings,u=function(t){'<div class="owl-video-play-icon"></div>',n=l.lazyLoad?h("<div/>",{class:"owl-video-tn "+a,srcType:t}):h("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+t+")"}),e.after(n),e.after('<div class="owl-video-play-icon"></div>')};if(e.wrap(h("<div/>",{class:"owl-video-wrapper",style:r})),this._core.settings.lazyLoad&&(o="data-src",a="owl-lazy"),s.length)return u(s.attr(o)),s.remove(),!1;"youtube"===t.type?(i="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",u(i)):"vimeo"===t.type?h.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){i=t[0].thumbnail_large,u(i)}}):"vzaar"===t.type&&h.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){i=t.framegrab_url,u(i)}})},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(t){var e,n=h(t.target).closest("."+this._core.settings.itemClass),i=this._videos[n.attr("data-video")],r=i.width||"100%",s=i.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),n=this._core.items(this._core.relative(n.index())),this._core.reset(n.index()),(e=h('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",s),e.attr("width",r),"youtube"===i.type?e.attr("src","//www.youtube.com/embed/"+i.id+"?autoplay=1&rel=0&v="+i.id):"vimeo"===i.type?e.attr("src","//player.vimeo.com/video/"+i.id+"?autoplay=1"):"vzaar"===i.type&&e.attr("src","//view.vzaar.com/"+i.id+"/player?autoplay=true"),h(e).wrap('<div class="owl-video-frame" />').insertAfter(n.find(".owl-video")),this._playing=n.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&h(t).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},h.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,window,document),function(o,t,e,n){var i=function(t){this.core=t,this.core.options=o.extend({},i.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":o.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":o.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":o.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};i.Defaults={animateOut:!1,animateIn:!1},i.prototype.swap=function(){if(1===this.core.settings.items&&o.support.animation&&o.support.transition){this.core.speed(0);var t,e=o.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),i=this.core.$stage.children().eq(this.next),r=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(o.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(s)),r&&i.one(o.support.animation.end,e).addClass("animated owl-animated-in").addClass(r))}},i.prototype.clear=function(t){o(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},i.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},o.fn.owlCarousel.Constructor.Plugins.Animate=i}(window.Zepto||window.jQuery,window,document),function(i,r,e,t){var n=function(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":i.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":i.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":i.proxy(function(t,e,n){t.namespace&&this.play(e,n)},this),"stop.owl.autoplay":i.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=i.extend({},n.Defaults,this._core.options)};n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype._next=function(t){this._call=r.setTimeout(i.proxy(this._next,this,t),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||e.hidden||this._core.next(t||this._core.settings.autoplaySpeed)},n.prototype.read=function(){return(new Date).getTime()-this._time},n.prototype.play=function(t,e){var n;this._core.is("rotating")||this._core.enter("rotating"),t=t||this._core.settings.autoplayTimeout,n=Math.min(this._time%(this._timeout||t),t),this._paused?(this._time=this.read(),this._paused=!1):r.clearTimeout(this._call),this._time+=this.read()%t-n,this._timeout=t,this._call=r.setTimeout(i.proxy(this._next,this,e),t-n)},n.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,r.clearTimeout(this._call),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,r.clearTimeout(this._call))},n.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.jQuery,window,document),function(s,t,e,n){"use strict";var i=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+s(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":s.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":s.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":s.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=s.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers)};i.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},i.prototype.initialize=function(){var t,n=this._core.settings;for(t in this._controls.$relative=(n.navContainer?s(n.navContainer):s("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=s("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",s.proxy(function(t){this.prev(n.navSpeed)},this)),this._controls.$next=s("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",s.proxy(function(t){this.next(n.navSpeed)},this)),n.dotsData||(this._templates=[s('<button role="button">').addClass(n.dotClass).append(s("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?s(n.dotsContainer):s("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",s.proxy(function(t){var e=s(t.target).parent().is(this._controls.$absolute)?s(t.target).index():s(t.target).parent().index();t.preventDefault(),this.to(e,n.dotsSpeed)},this)),this._overrides)this._core[t]=s.proxy(this[t],this)},i.prototype.destroy=function(){var t,e,n,i,r;for(t in r=this._core.settings,this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&r.navContainer?this._controls[e].html(""):this._controls[e].remove();for(i in this.overides)this._core[i]=this._overrides[i];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},i.prototype.update=function(){var t,e,n=this._core.clones().length/2,i=n+this._core.items().length,r=this._core.maximum(!0),s=this._core.settings,o=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],t=n,e=0;t<i;t++){if(o<=e||0===e){if(this._pages.push({start:Math.min(r,t-n),end:t-n+o-1}),Math.min(r,t-n)===r)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},i.prototype.draw=function(){var t,e=this._core.settings,n=this._core.items().length<=e.items,i=this._core.relative(this._core.current()),r=e.loop||e.rewind;this._controls.$relative.toggleClass("disabled",!e.nav||n),e.nav&&(this._controls.$previous.toggleClass("disabled",!r&&i<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!r&&i>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!e.dots||n),e.dots&&(t=this._pages.length-this._controls.$absolute.children().length,e.dotsData&&0!==t?this._controls.$absolute.html(this._templates.join("")):0<t?this._controls.$absolute.append(new Array(t+1).join(this._templates[0])):t<0&&this._controls.$absolute.children().slice(t).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(s.inArray(this.current(),this._pages)).addClass("active"))},i.prototype.onTrigger=function(t){var e=this._core.settings;t.page={index:s.inArray(this.current(),this._pages),count:this._pages.length,size:e&&(e.center||e.autoWidth||e.dotsData?1:e.dotsEach||e.items)}},i.prototype.current=function(){var n=this._core.relative(this._core.current());return s.grep(this._pages,s.proxy(function(t,e){return t.start<=n&&t.end>=n},this)).pop()},i.prototype.getPosition=function(t){var e,n,i=this._core.settings;return"page"==i.slideBy?(e=s.inArray(this.current(),this._pages),n=this._pages.length,t?++e:--e,e=this._pages[(e%n+n)%n].start):(e=this._core.relative(this._core.current()),n=this._core.items().length,t?e+=i.slideBy:e-=i.slideBy),e},i.prototype.next=function(t){s.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},i.prototype.prev=function(t){s.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},i.prototype.to=function(t,e,n){var i;!n&&this._pages.length?(i=this._pages.length,s.proxy(this._overrides.to,this._core)(this._pages[(t%i+i)%i].start,e)):s.proxy(this._overrides.to,this._core)(t,e)},s.fn.owlCarousel.Constructor.Plugins.Navigation=i}(window.Zepto||window.jQuery,window,document),function(i,r,t,e){"use strict";var n=function(t){this._core=t,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":i.proxy(function(t){t.namespace&&"URLHash"===this._core.settings.startPosition&&i(r).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":i.proxy(function(t){if(t.namespace){var e=i(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!e)return;this._hashes[e]=t.content}},this),"changed.owl.carousel":i.proxy(function(t){if(t.namespace&&"position"===t.property.name){var n=this._core.items(this._core.relative(this._core.current())),e=i.map(this._hashes,function(t,e){return t===n?e:null}).join();if(!e||r.location.hash.slice(1)===e)return;r.location.hash=e}},this)},this._core.options=i.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers),i(r).on("hashchange.owl.navigation",i.proxy(function(t){var e=r.location.hash.substring(1),n=this._core.$stage.children(),i=this._hashes[e]&&n.index(this._hashes[e]);void 0!==i&&i!==this._core.current()&&this._core.to(this._core.relative(i),!1,!0)},this))};n.Defaults={URLhashListener:!1},n.prototype.destroy=function(){var t,e;for(t in i(r).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.Hash=n}(window.Zepto||window.jQuery,window,document),function(r,t,e,s){function n(t,n){var i=!1,e=t.charAt(0).toUpperCase()+t.slice(1);return r.each((t+" "+a.join(e+" ")+e).split(" "),function(t,e){if(o[e]!==s)return i=!n||e,!1}),i}function i(t){return n(t,!0)}var o=r("<support>").get(0).style,a="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},u=function(){return!!n("transform")},h=function(){return!!n("perspective")},c=function(){return!!n("animation")};(function(){return!!n("transition")})()&&(r.support.transition=new String(i("transition")),r.support.transition.end=l.transition.end[r.support.transition]),c()&&(r.support.animation=new String(i("animation")),r.support.animation.end=l.animation.end[r.support.animation]),u()&&(r.support.transform=new String(i("transform")),r.support.transform3d=h())}(window.Zepto||window.jQuery,window,document),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(h){h.extend(h.fn,{validate:function(t){if(this.length){var i=h.data(this[0],"validator");return i||(this.attr("novalidate","novalidate"),i=new h.validator(t,this[0]),h.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",function(t){i.settings.submitHandler&&(i.submitButton=t.target),h(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==h(this).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.on("submit.validate",function(n){function t(){var t,e;return!i.settings.submitHandler||(i.submitButton&&(t=h("<input type='hidden'/>").attr("name",i.submitButton.name).val(h(i.submitButton).val()).appendTo(i.currentForm)),e=i.settings.submitHandler.call(i,i.currentForm,n),i.submitButton&&t.remove(),void 0!==e&&e)}return i.settings.debug&&n.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,t()):i.form()?i.pendingRequest?!(i.formSubmitted=!0):t():(i.focusInvalid(),!1)})),i)}t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,e,n;return h(this[0]).is("form")?t=this.validate().form():(n=[],t=!0,e=h(this[0].form).validate(),this.each(function(){(t=e.element(this)&&t)||(n=n.concat(e.errorList))}),e.errorList=n),t},rules:function(t,e){var n,i,r,s,o,a,l=this[0];if(null!=l&&null!=l.form){if(t)switch(i=(n=h.data(l.form,"validator").settings).rules,r=h.validator.staticRules(l),t){case"add":h.extend(r,h.validator.normalizeRule(e)),delete r.messages,i[l.name]=r,e.messages&&(n.messages[l.name]=h.extend(n.messages[l.name],e.messages));break;case"remove":return e?(a={},h.each(e.split(/\s/),function(t,e){a[e]=r[e],delete r[e],"required"===e&&h(l).removeAttr("aria-required")}),a):(delete i[l.name],r)}return(s=h.validator.normalizeRules(h.extend({},h.validator.classRules(l),h.validator.attributeRules(l),h.validator.dataRules(l),h.validator.staticRules(l)),l)).required&&(o=s.required,delete s.required,s=h.extend({required:o},s),h(l).attr("aria-required","true")),s.remote&&(o=s.remote,delete s.remote,s=h.extend(s,{remote:o})),s}}}),h.extend(h.expr.pseudos||h.expr[":"],{blank:function(t){return!h.trim(""+h(t).val())},filled:function(t){var e=h(t).val();return null!==e&&!!h.trim(""+e)},unchecked:function(t){return!h(t).prop("checked")}}),h.validator=function(t,e){this.settings=h.extend(!0,{},h.validator.defaults,t),this.currentForm=e,this.init()},h.validator.format=function(n,t){return 1===arguments.length?function(){var t=h.makeArray(arguments);return t.unshift(n),h.validator.format.apply(this,t)}:(void 0===t||(2<arguments.length&&t.constructor!==Array&&(t=h.makeArray(arguments).slice(1)),t.constructor!==Array&&(t=[t]),h.each(t,function(t,e){n=n.replace(new RegExp("\\{"+t+"\\}","g"),function(){return e})})),n)},h.extend(h.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:h([]),errorLabelContainer:h([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(t,e){9===e.which&&""===this.elementValue(t)||-1!==h.inArray(e.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(t.name in this.submitted||t.name in this.invalid)&&this.element(t)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(t,e,n){"radio"===t.type?this.findByName(t.name).addClass(e).removeClass(n):h(t).addClass(e).removeClass(n)},unhighlight:function(t,e,n){"radio"===t.type?this.findByName(t.name).removeClass(e).addClass(n):h(t).removeClass(e).addClass(n)}},setDefaults:function(t){h.extend(h.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:h.validator.format("Please enter no more than {0} characters."),minlength:h.validator.format("Please enter at least {0} characters."),rangelength:h.validator.format("Please enter a value between {0} and {1} characters long."),range:h.validator.format("Please enter a value between {0} and {1}."),max:h.validator.format("Please enter a value less than or equal to {0}."),min:h.validator.format("Please enter a value greater than or equal to {0}."),step:h.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function t(t){!this.form&&this.hasAttribute("contenteditable")&&(this.form=h(this).closest("form")[0]);var e=h.data(this.form,"validator"),n="on"+t.type.replace(/^validate/,""),i=e.settings;i[n]&&!h(this).is(i.ignore)&&i[n].call(e,this,t)}this.labelContainer=h(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||h(this.currentForm),this.containers=h(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var n,i=this.groups={};h.each(this.settings.groups,function(n,t){"string"==typeof t&&(t=t.split(/\s/)),h.each(t,function(t,e){i[e]=n})}),n=this.settings.rules,h.each(n,function(t,e){n[t]=h.validator.normalizeRule(e)}),h(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",t).on("click.validate","select, option, [type='radio'], [type='checkbox']",t),this.settings.invalidHandler&&h(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler),h(this.currentForm).find("[required], [data-rule-required], .required").attr("aria-required","true")},form:function(){return this.checkForm(),h.extend(this.submitted,this.errorMap),this.invalid=h.extend({},this.errorMap),this.valid()||h(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(t){var e,n,i=this.clean(t),r=this.validationTargetFor(i),s=this,o=!0;return void 0===r?delete this.invalid[i.name]:(this.prepareElement(r),this.currentElements=h(r),(n=this.groups[r.name])&&h.each(this.groups,function(t,e){e===n&&t!==r.name&&(i=s.validationTargetFor(s.clean(s.findByName(t))))&&i.name in s.invalid&&(s.currentElements.push(i),o=s.check(i)&&o)}),e=!1!==this.check(r),o=o&&e,this.invalid[r.name]=!e,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),h(t).attr("aria-invalid",!e)),o},showErrors:function(e){if(e){var n=this;h.extend(this.errorMap,e),this.errorList=h.map(this.errorMap,function(t,e){return{message:t,element:n.findByName(e)[0]}}),this.successList=h.grep(this.successList,function(t){return!(t.name in e)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){h.fn.resetForm&&h(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var t=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(t)},resetElements:function(t){var e;if(this.settings.unhighlight)for(e=0;t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,""),this.findByName(t[e].name).removeClass(this.settings.validClass);else t.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e,n=0;for(e in t)t[e]&&n++;return n},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(t){t.not(this.containers).text(""),this.addWrapper(t).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{h(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(t){}},findLastActive:function(){var e=this.lastActive;return e&&1===h.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var e=this,n={};return h(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var t=this.name||h(this).attr("name");return!t&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.hasAttribute("contenteditable")&&(this.form=h(this).closest("form")[0]),!(t in n||!e.objectLength(h(this).rules()))&&(n[t]=!0)})},clean:function(t){return h(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return h(this.settings.errorElement+"."+t,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=h([]),this.toHide=h([])},reset:function(){this.resetInternals(),this.currentElements=h([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(t){var e,n,i=h(t),r=t.type;return"radio"===r||"checkbox"===r?this.findByName(t.name).filter(":checked").val():"number"===r&&void 0!==t.validity?t.validity.badInput?"NaN":i.val():(e=t.hasAttribute("contenteditable")?i.text():i.val(),"file"===r?"C:\\fakepath\\"===e.substr(0,12)?e.substr(12):0<=(n=e.lastIndexOf("/"))?e.substr(n+1):0<=(n=e.lastIndexOf("\\"))?e.substr(n+1):e:"string"==typeof e?e.replace(/\r/g,""):e)},check:function(e){e=this.validationTargetFor(this.clean(e));var t,n,i,r=h(e).rules(),s=h.map(r,function(t,e){return e}).length,o=!1,a=this.elementValue(e);if("function"==typeof r.normalizer){if("string"!=typeof(a=r.normalizer.call(e,a)))throw new TypeError("The normalizer should return a string value.");delete r.normalizer}for(n in r){i={method:n,parameters:r[n]};try{if("dependency-mismatch"===(t=h.validator.methods[n].call(this,a,e,i.parameters))&&1===s){o=!0;continue}if(o=!1,"pending"===t)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!t)return this.formatAndAdd(e,i),!1}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+i.method+"' method.",t),t instanceof TypeError&&(t.message+=".  Exception occurred when checking element "+e.id+", check the '"+i.method+"' method."),t}}if(!o)return this.objectLength(r)&&this.successList.push(e),!0},customDataMessage:function(t,e){return h(t).data("msg"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase())||h(t).data("msg")},customMessage:function(t,e){var n=this.settings.messages[t];return n&&(n.constructor===String?n:n[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(t,e){"string"==typeof e&&(e={method:e});var n=this.findDefined(this.customMessage(t.name,e.method),this.customDataMessage(t,e.method),!this.settings.ignoreTitle&&t.title||void 0,h.validator.messages[e.method],"<strong>Warning: No message defined for "+t.name+"</strong>"),i=/\$?\{(\d+)\}/g;return"function"==typeof n?n=n.call(this,e.parameters,t):i.test(n)&&(n=h.validator.format(n.replace(i,"{$1}"),e.parameters)),n},formatAndAdd:function(t,e){var n=this.defaultMessage(t,e);this.errorList.push({message:n,element:t,method:e.method}),this.errorMap[t.name]=n,this.submitted[t.name]=n},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e,n;for(t=0;this.errorList[t];t++)n=this.errorList[t],this.settings.highlight&&this.settings.highlight.call(this,n.element,this.settings.errorClass,this.settings.validClass),this.showLabel(n.element,n.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return h(this.errorList).map(function(){return this.element})},showLabel:function(t,e){var n,i,r,s,o=this.errorsFor(t),a=this.idOrName(t),l=h(t).attr("aria-describedby");o.length?(o.removeClass(this.settings.validClass).addClass(this.settings.errorClass),o.html(e)):(n=o=h("<"+this.settings.errorElement+">").attr("id",a+"-error").addClass(this.settings.errorClass).html(e||""),this.settings.wrapper&&(n=o.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(n):this.settings.errorPlacement?this.settings.errorPlacement.call(this,n,h(t)):n.insertAfter(t),o.is("label")?o.attr("for",a):0===o.parents("label[for='"+this.escapeCssMeta(a)+"']").length&&(r=o.attr("id"),l?l.match(new RegExp("\\b"+this.escapeCssMeta(r)+"\\b"))||(l+=" "+r):l=r,h(t).attr("aria-describedby",l),(i=this.groups[t.name])&&(s=this,h.each(s.groups,function(t,e){e===i&&h("[name='"+s.escapeCssMeta(t)+"']",s.currentForm).attr("aria-describedby",o.attr("id"))})))),!e&&this.settings.success&&(o.text(""),"string"==typeof this.settings.success?o.addClass(this.settings.success):this.settings.success(o,t)),this.toShow=this.toShow.add(o)},errorsFor:function(t){var e=this.escapeCssMeta(this.idOrName(t)),n=h(t).attr("aria-describedby"),i="label[for='"+e+"'], label[for='"+e+"'] *";return n&&(i=i+", #"+this.escapeCssMeta(n).replace(/\s+/g,", #")),this.errors().filter(i)},escapeCssMeta:function(t){return t.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),h(t).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(t){return h(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,e){switch(e.nodeName.toLowerCase()){case"select":return h("option:selected",e).length;case"input":if(this.checkable(e))return this.findByName(e.name).filter(":checked").length}return t.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(t,e){return!!h(t,e.form).length},function:function(t,e){return t(e)}},optional:function(t){var e=this.elementValue(t);return!h.validator.methods.required.call(this,e,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,h(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,e){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],h(t).removeClass(this.settings.pendingClass),e&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(h(this.currentForm).submit(),this.formSubmitted=!1):!e&&0===this.pendingRequest&&this.formSubmitted&&(h(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t,e){return e="string"==typeof e&&e||"remote",h.data(t,"previousValue")||h.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:e})})},destroy:function(){this.resetForm(),h(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,e){t.constructor===String?this.classRuleSettings[t]=e:h.extend(this.classRuleSettings,t)},classRules:function(t){var e={},n=h(t).attr("class");return n&&h.each(n.split(" "),function(){this in h.validator.classRuleSettings&&h.extend(e,h.validator.classRuleSettings[this])}),e},normalizeAttributeRule:function(t,e,n,i){/min|max|step/.test(n)&&(null===e||/number|range|text/.test(e))&&(i=Number(i),isNaN(i)&&(i=void 0)),i||0===i?t[n]=i:e===n&&"range"!==e&&(t[n]=!0)},attributeRules:function(t){var e,n,i={},r=h(t),s=t.getAttribute("type");for(e in h.validator.methods)"required"===e?(""===(n=t.getAttribute(e))&&(n=!0),n=!!n):n=r.attr(e),this.normalizeAttributeRule(i,s,e,n);return i.maxlength&&/-1|2147483647|524288/.test(i.maxlength)&&delete i.maxlength,i},dataRules:function(t){var e,n,i={},r=h(t),s=t.getAttribute("type");for(e in h.validator.methods)n=r.data("rule"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase()),this.normalizeAttributeRule(i,s,e,n);return i},staticRules:function(t){var e={},n=h.data(t.form,"validator");return n.settings.rules&&(e=h.validator.normalizeRule(n.settings.rules[t.name])||{}),e},normalizeRules:function(i,r){return h.each(i,function(t,e){if(!1!==e){if(e.param||e.depends){var n=!0;switch(typeof e.depends){case"string":n=!!h(e.depends,r.form).length;break;case"function":n=e.depends.call(r,r)}n?i[t]=void 0===e.param||e.param:(h.data(r.form,"validator").resetElements(h(r)),delete i[t])}}else delete i[t]}),h.each(i,function(t,e){i[t]=h.isFunction(e)&&"normalizer"!==t?e(r):e}),h.each(["minlength","maxlength"],function(){i[this]&&(i[this]=Number(i[this]))}),h.each(["rangelength","range"],function(){var t;i[this]&&(h.isArray(i[this])?i[this]=[Number(i[this][0]),Number(i[this][1])]:"string"==typeof i[this]&&(t=i[this].replace(/[\[\]]/g,"").split(/[\s,]+/),i[this]=[Number(t[0]),Number(t[1])]))}),h.validator.autoCreateRanges&&(null!=i.min&&null!=i.max&&(i.range=[i.min,i.max],delete i.min,delete i.max),null!=i.minlength&&null!=i.maxlength&&(i.rangelength=[i.minlength,i.maxlength],delete i.minlength,delete i.maxlength)),i},normalizeRule:function(t){if("string"==typeof t){var e={};h.each(t.split(/\s/),function(){e[this]=!0}),t=e}return t},addMethod:function(t,e,n){h.validator.methods[t]=e,h.validator.messages[t]=void 0!==n?n:h.validator.messages[t],e.length<3&&h.validator.addClassRules(t,h.validator.normalizeRule(t))},methods:{required:function(t,e,n){if(!this.depend(n,e))return"dependency-mismatch";if("select"===e.nodeName.toLowerCase()){var i=h(e).val();return i&&0<i.length}return this.checkable(e)?0<this.getLength(t,e):0<t.length},email:function(t,e){return this.optional(e)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t)},date:function(t,e){return this.optional(e)||!/Invalid|NaN/.test(new Date(t).toString())},dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},minlength:function(t,e,n){var i=h.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||n<=i},maxlength:function(t,e,n){var i=h.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||i<=n},rangelength:function(t,e,n){var i=h.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||i>=n[0]&&i<=n[1]},min:function(t,e,n){return this.optional(e)||n<=t},max:function(t,e,n){return this.optional(e)||t<=n},range:function(t,e,n){return this.optional(e)||t>=n[0]&&t<=n[1]},step:function(t,e,n){var i,r=h(e).attr("type"),s="Step attribute on input type "+r+" is not supported.",o=new RegExp("\\b"+r+"\\b"),a=function(t){var e=(""+t).match(/(?:\.(\d+))?$/);return e&&e[1]?e[1].length:0},l=function(t){return Math.round(t*Math.pow(10,i))},u=!0;if(r&&!o.test(["text","number","range"].join()))throw new Error(s);return i=a(n),(a(t)>i||l(t)%l(n)!=0)&&(u=!1),this.optional(e)||u},equalTo:function(t,e,n){var i=h(n);return this.settings.onfocusout&&i.not(".validate-equalTo-blur").length&&i.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){h(e).valid()}),t===i.val()},remote:function(s,o,t,a){if(this.optional(o))return"dependency-mismatch";a="string"==typeof a&&a||"remote";var l,e,n,u=this.previousValue(o,a);return this.settings.messages[o.name]||(this.settings.messages[o.name]={}),u.originalMessage=u.originalMessage||this.settings.messages[o.name][a],this.settings.messages[o.name][a]=u.message,t="string"==typeof t&&{url:t}||t,n=h.param(h.extend({data:s},t.data)),u.old===n?u.valid:(u.old=n,(l=this).startRequest(o),(e={})[o.name]=s,h.ajax(h.extend(!0,{mode:"abort",port:"validate"+o.name,dataType:"json",data:e,context:l.currentForm,success:function(t){var e,n,i,r=!0===t||"true"===t;l.settings.messages[o.name][a]=u.originalMessage,r?(i=l.formSubmitted,l.resetInternals(),l.toHide=l.errorsFor(o),l.formSubmitted=i,l.successList.push(o),l.invalid[o.name]=!1,l.showErrors()):(e={},n=t||l.defaultMessage(o,{method:a,parameters:s}),e[o.name]=u.message=n,l.invalid[o.name]=!0,l.showErrors(e)),u.valid=r,l.stopRequest(o,r)}},t)),"pending")}}});var i,r={};return h.ajaxPrefilter?h.ajaxPrefilter(function(t,e,n){var i=t.port;"abort"===t.mode&&(r[i]&&r[i].abort(),r[i]=n)}):(i=h.ajax,h.ajax=function(t){var e=("mode"in t?t:h.ajaxSettings).mode,n=("port"in t?t:h.ajaxSettings).port;return"abort"===e?(r[n]&&r[n].abort(),r[n]=i.apply(this,arguments),r[n]):i.apply(this,arguments)}),h});var _extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};if(function(t,e){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.LazyLoad=e()}(this,function(){"use strict";var a=function(t,e){return t.getAttribute("data-"+e)},r=function(t){return t.filter(function(t){return!a(t,"was-processed")})},s=function(t,e){var n,i=new t(e);try{n=new CustomEvent("LazyLoad::Initialized",{detail:{instance:i}})}catch(t){(n=document.createEvent("CustomEvent")).initCustomEvent("LazyLoad::Initialized",!1,!1,{instance:i})}window.dispatchEvent(n)},l=function(t,e){var n=e.data_src,i=e.data_srcset,r=t.tagName,s=a(t,n);if("IMG"===r){!function(t,e){var n=e.data_srcset,i=t.parentNode;if(i&&"PICTURE"===i.tagName)for(var r,s=0;r=i.children[s];s+=1)if("SOURCE"===r.tagName){var o=a(r,n);o&&r.setAttribute("srcset",o)}}(t,e);var o=a(t,i);return o&&t.setAttribute("srcset",o),void(s&&t.setAttribute("src",s))}"IFRAME"!==r?s&&(t.style.backgroundImage='url("'+s+'")'):s&&t.setAttribute("src",s)},t="undefined"!=typeof window,n=t&&"IntersectionObserver"in window,o=t&&"classList"in document.createElement("p"),u=function(t,e){o?t.classList.add(e):t.className+=(t.className?" ":"")+e},h=function(t,e){t&&t(e)},c=function(t,e,n){t.removeEventListener("load",e),t.removeEventListener("error",n)},d=function(t,e,n){var i,r,s=t.target;i=s,r=n.class_loading,o?i.classList.remove(r):i.className=i.className.replace(new RegExp("(^|\\s+)"+r+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,""),u(s,e?n.class_loaded:n.class_error),h(e?n.callback_load:n.callback_error,s)},f=function(t,e){var n,i,r,s,o,a;h(e.callback_enter,t),-1<["IMG","IFRAME"].indexOf(t.tagName)&&(s=e,o=function t(e){d(e,!0,s),c(r,t,a)},a=function t(e){d(e,!1,s),c(r,o,t)},(r=t).addEventListener("load",o),r.addEventListener("error",a),u(t,e.class_loading)),l(t,e),n="was-processed",i=!0,t.setAttribute("data-"+n,i),h(e.callback_set,t)},e=function(t,e){var n;this._settings=(n={elements_selector:"img",container:document,threshold:300,data_src:"src",data_srcset:"srcset",class_loading:"loading",class_loaded:"loaded",class_error:"error",callback_load:null,callback_error:null,callback_set:null,callback_enter:null},_extends({},n,t)),this._setObserver(),this.update(e)};e.prototype={_setObserver:function(){var i=this;if(n){var t=this._settings,e={root:t.container===document?null:t.container,rootMargin:t.threshold+"px"};this._observer=new IntersectionObserver(function(t){t.forEach(function(t){if((n=t).isIntersecting||0<n.intersectionRatio){var e=t.target;f(e,i._settings),i._observer.unobserve(e)}var n}),i._elements=r(i._elements)},e)}},update:function(t){var e=this,n=this._settings,i=t||n.container.querySelectorAll(n.elements_selector);this._elements=r(Array.prototype.slice.call(i)),this._observer?this._elements.forEach(function(t){e._observer.observe(t)}):(this._elements.forEach(function(t){f(t,n)}),this._elements=r(this._elements))},destroy:function(){var e=this;this._observer&&(r(this._elements).forEach(function(t){e._observer.unobserve(t)}),this._observer=null),this._elements=null,this._settings=null}};var i=window.lazyLoadOptions;return t&&i&&function(t,e){if(e.length)for(var n,i=0;n=e[i];i+=1)s(t,n);else s(t,e)}(e,i),e}),function(e,n){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("jquery")):e.jQueryBridget=n(e,e.jQuery)}(window,function(t,e){"use strict";function n(u,r,h){(h=h||e||t.jQuery)&&(r.prototype.option||(r.prototype.option=function(t){h.isPlainObject(t)&&(this.options=h.extend(!0,this.options,t))}),h.fn[u]=function(t){if("string"==typeof t){var e=c.call(arguments,1);return o=e,l="$()."+u+'("'+(s=t)+'")',(n=this).each(function(t,e){var n=h.data(e,u);if(n){var i=n[s];if(i&&"_"!=s.charAt(0)){var r=i.apply(n,o);a=void 0===a?r:a}else d(l+" is not a valid method")}else d(u+" not initialized. Cannot call methods, i.e. "+l)}),void 0!==a?a:n}var n,s,o,a,l,i;return i=t,this.each(function(t,e){var n=h.data(e,u);n?(n.option(i),n._init()):(n=new r(e,i),h.data(e,u,n))}),this},i(h))}function i(t){!t||t&&t.bridget||(t.bridget=n)}var c=Array.prototype.slice,r=t.console,d=void 0===r?function(){}:function(t){r.error(t)};return i(e||t.jQuery),n}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},i=n[t]=n[t]||[];return-1==i.indexOf(e)&&i.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{};return(n[t]=n[t]||{})[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var i=n.indexOf(e);return-1!=i&&n.splice(i,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var i=this._onceEvents&&this._onceEvents[t],r=0;r<n.length;r++){var s=n[r];i&&i[s]&&(this.off(t,s),delete i[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return e()}):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function v(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function y(t){var e=getComputedStyle(t);return e||n("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}function _(t){if(function(){if(!T){T=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var e=document.body||document.documentElement;e.appendChild(t);var n=y(t);_.isBoxSizeOuter=w=200==v(n.width),e.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=y(t);if("none"==e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<x;e++)t[b[e]]=0;return t}();var n={};n.width=t.offsetWidth,n.height=t.offsetHeight;for(var i=n.isBorderBox="border-box"==e.boxSizing,r=0;r<x;r++){var s=b[r],o=e[s],a=parseFloat(o);n[s]=isNaN(a)?0:a}var l=n.paddingLeft+n.paddingRight,u=n.paddingTop+n.paddingBottom,h=n.marginLeft+n.marginRight,c=n.marginTop+n.marginBottom,d=n.borderLeftWidth+n.borderRightWidth,f=n.borderTopWidth+n.borderBottomWidth,p=i&&w,m=v(e.width);!1!==m&&(n.width=m+(p?0:l+d));var g=v(e.height);return!1!==g&&(n.height=g+(p?0:u+f)),n.innerWidth=n.width-(l+d),n.innerHeight=n.height-(u+f),n.outerWidth=n.width+h,n.outerHeight=n.height+c,n}}var w,n="undefined"==typeof console?function(){}:function(t){console.error(t)},b=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],x=b.length,T=!1;return _}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var n=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],n=0;n<e.length;n++){var i=e[n]+"MatchesSelector";if(t[i])return i}}();return function(t,e){return t[n](e)}}),function(e,n){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("desandro-matches-selector")):e.fizzyUIUtils=n(e,e.matchesSelector)}(window,function(u,s){var h={extend:function(t,e){for(var n in e)t[n]=e[n];return t},modulo:function(t,e){return(t%e+e)%e},makeArray:function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&"object"==typeof t&&"number"==typeof t.length)for(var n=0;n<t.length;n++)e.push(t[n]);else e.push(t);return e},removeFrom:function(t,e){var n=t.indexOf(e);-1!=n&&t.splice(n,1)},getParent:function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,s(t,e))return t},getQueryElement:function(t){return"string"==typeof t?document.querySelector(t):t},handleEvent:function(t){var e="on"+t.type;this[e]&&this[e](t)},filterFindElements:function(t,i){t=h.makeArray(t);var r=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!i)return void r.push(t);s(t,i)&&r.push(t);for(var e=t.querySelectorAll(i),n=0;n<e.length;n++)r.push(e[n])}}),r},debounceMethod:function(t,e,i){var r=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s];t&&clearTimeout(t);var e=arguments,n=this;this[s]=setTimeout(function(){r.apply(n,e),delete n[s]},i||100)}},docReady:function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},toDashed:function(t){return t.replace(/(.)([A-Z])/g,function(t,e,n){return e+"-"+n}).toLowerCase()}},c=u.console;return h.htmlInit=function(a,l){h.docReady(function(){var t=h.toDashed(l),r="data-"+t,e=document.querySelectorAll("["+r+"]"),n=document.querySelectorAll(".js-"+t),i=h.makeArray(e).concat(h.makeArray(n)),s=r+"-options",o=u.jQuery;i.forEach(function(e){var t,n=e.getAttribute(r)||e.getAttribute(s);try{t=n&&JSON.parse(n)}catch(t){return void(c&&c.error("Error parsing "+r+" on "+e.className+": "+t))}var i=new a(e,t);o&&o.data(e,l,i)})})},h}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var i=document.documentElement.style,r="string"==typeof i.transition?"transition":"WebkitTransition",s="string"==typeof i.transform?"transform":"WebkitTransform",o={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],a={transform:s,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"},l=n.prototype=Object.create(t.prototype);l.constructor=n,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.getSize=function(){this.size=e(this.element)},l.css=function(t){var e=this.element.style;for(var n in t){e[a[n]||n]=t[n]}},l.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),i=t[e?"left":"right"],r=t[n?"top":"bottom"],s=this.layout.size,o=-1!=i.indexOf("%")?parseFloat(i)/100*s.width:parseInt(i,10),a=-1!=r.indexOf("%")?parseFloat(r)/100*s.height:parseInt(r,10);o=isNaN(o)?0:o,a=isNaN(a)?0:a,o-=e?s.paddingLeft:s.paddingRight,a-=n?s.paddingTop:s.paddingBottom,this.position.x=o,this.position.y=a},l.layoutPosition=function(){var t=this.layout.size,e={},n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),r=n?"paddingLeft":"paddingRight",s=n?"left":"right",o=n?"right":"left",a=this.position.x+t[r];e[s]=this.getXValue(a),e[o]="";var l=i?"paddingTop":"paddingBottom",u=i?"top":"bottom",h=i?"bottom":"top",c=this.position.y+t[l];e[u]=this.getYValue(c),e[h]="",this.css(e),this.emitEvent("layout",[this])},l.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},l.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},l._transitionTo=function(t,e){this.getPosition();var n=this.position.x,i=this.position.y,r=parseInt(t,10),s=parseInt(e,10),o=r===this.position.x&&s===this.position.y;if(this.setPosition(t,e),!o||this.isTransitioning){var a=t-n,l=e-i,u={};u.transform=this.getTranslate(a,l),this.transition({to:u,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},l.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},l._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},l.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var n in t.onTransitionEnd)e.onEnd[n]=t.onTransitionEnd[n];for(n in t.to)e.ingProperties[n]=!0,t.isCleaning&&(e.clean[n]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var u="opacity,"+s.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});l.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:u,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(o,this,!1)}},l.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},l.onotransitionend=function(t){this.ontransitionend(t)};var h={"-webkit-transform":"transform"};l.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=h[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd)e.onEnd[n].call(this),delete e.onEnd[n];this.emitEvent("transitionEnd",[this])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(o,this,!1),this.isTransitioning=!1},l._removeStyles=function(t){var e={};for(var n in t)e[n]="";this.css(e)};var c={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(c)},l.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){return r&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},l.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var n in e)return n},l.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(r,s){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,n,i){return s(r,t,e,n,i)}):"object"==typeof module&&module.exports?module.exports=s(r,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):r.Outlayer=s(r,r.EvEmitter,r.getSize,r.fizzyUIUtils,r.Outlayer.Item)}(window,function(t,e,r,s,i){"use strict";function o(t,e){var n=s.getQueryElement(t);if(n){this.element=n,u&&(this.$element=u(this.element)),this.options=s.extend({},this.constructor.defaults),this.option(e);var i=++h;this.element.outlayerGUID=i,(c[i]=this)._create(),this._getOption("initLayout")&&this.layout()}else l&&l.error("Bad element for "+this.constructor.namespace+": "+(n||t))}function a(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e}var l=t.console,u=t.jQuery,n=function(){},h=0,c={};o.namespace="outlayer",o.Item=i,o.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var d=o.prototype;s.extend(d,e.prototype),d.option=function(t){s.extend(this.options,t)},d._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},o.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),s.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(t){for(var e=this._filterFindItemElements(t),n=this.constructor.Item,i=[],r=0;r<e.length;r++){var s=new n(e[r],this);i.push(s)}return i},d._filterFindItemElements=function(t){return s.filterFindElements(t,this.options.itemSelector)},d.getItemElements=function(){return this.items.map(function(t){return t.element})},d.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=r(this.element)},d._getMeasurement=function(t,e){var n,i=this.options[t];i?("string"==typeof i?n=this.element.querySelector(i):i instanceof HTMLElement&&(n=i),this[t]=n?r(n)[e]:i):this[t]=0},d.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},d._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},d._layoutItems=function(t,n){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=n||t.isLayoutInstant,i.push(e)},this),this._processLayoutQueue(i)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},d.updateStagger=function(){var t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),n=e&&e[1],i=e&&e[2];return n.length?(n=parseFloat(n))*(f[i]||1):0}(t),this.stagger)},d._positionItem=function(t,e,n,i,r){i?t.goTo(e,n):(t.stagger(r*this.stagger),t.moveTo(e,n))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},d._getContainerSize=n,d._setContainerMeasure=function(t,e){if(void 0!==t){var n=this.size;n.isBorderBox&&(t+=e?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},d._emitCompleteOnItems=function(e,t){function n(){r.dispatchEvent(e+"Complete",null,[t])}function i(){++o==s&&n()}var r=this,s=t.length;if(t&&s){var o=0;t.forEach(function(t){t.once(e,i)})}else n()},d.dispatchEvent=function(t,e,n){var i=e?[e].concat(n):n;if(this.emitEvent(t,i),u)if(this.$element=this.$element||u(this.element),e){var r=u.Event(e);r.type=t,this.$element.trigger(r,n)}else this.$element.trigger(t,n)},d.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},d.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},d.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},d.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){s.removeFrom(this.stamps,t),this.unignore(t)},this)},d._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=s.makeArray(t)):void 0},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},d._manageStamp=n,d._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,i=r(t);return{left:e.left-n.left-i.marginLeft,top:e.top-n.top-i.marginTop,right:n.right-e.right-i.marginRight,bottom:n.bottom-e.bottom-i.marginBottom}},d.handleEvent=s.handleEvent,d.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},s.debounceMethod(o,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var t=r(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},d.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},d.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},d.prepended=function(t){var e=this._itemize(t);if(e.length){var n=this.items.slice(0);this.items=e.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(n)}},d.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var n=this.updateStagger();t.forEach(function(t,e){t.stagger(e*n),t.reveal()})}},d.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var n=this.updateStagger();t.forEach(function(t,e){t.stagger(e*n),t.hide()})}},d.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},d.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},d.getItem=function(t){for(var e=0;e<this.items.length;e++){var n=this.items[e];if(n.element==t)return n}},d.getItems=function(t){t=s.makeArray(t);var n=[];return t.forEach(function(t){var e=this.getItem(t);e&&n.push(e)},this),n},d.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),s.removeFrom(this.items,t)},this)},d.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},o.data=function(t){var e=(t=s.getQueryElement(t))&&t.outlayerGUID;return e&&c[e]},o.create=function(t,e){var n=a(o);return n.defaults=s.extend({},o.defaults),s.extend(n.defaults,e),n.compatOptions=s.extend({},o.compatOptions),n.namespace=t,n.data=o.data,n.Item=a(i),s.htmlInit(n,t),u&&u.bridget&&u.bridget(t,n),n};var f={ms:1,s:1e3};return o.Item=i,o}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,u){var e=t.create("masonry");e.compatOptions.fitWidth="isFitWidth";var n=e.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],e=t&&t.element;this.columnWidth=e&&u(e).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,i=this.containerWidth+this.gutter,r=i/n,s=n-i%n;r=Math[s&&s<1?"round":"floor"](r),this.cols=Math.max(r,1)},n.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,e=u(t);this.containerWidth=e&&e.innerWidth},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,n=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var i=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](n,t),r={x:this.columnWidth*i.col,y:i.y},s=i.y+t.size.outerHeight,o=n+i.col,a=i.col;a<o;a++)this.colYs[a]=s;return r},n._getTopColPosition=function(t){var e=this._getTopColGroup(t),n=Math.min.apply(Math,e);return{col:e.indexOf(n),y:n}},n._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],n=this.cols+1-t,i=0;i<n;i++)e[i]=this._getColGroupY(i,t);return e},n._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var n=this.colYs.slice(t,t+e);return Math.max.apply(Math,n)},n._getHorizontalColPosition=function(t,e){var n=this.horizontalColIndex%this.cols;n=1<t&&n+t>this.cols?0:n;var i=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=i?n+t:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,t)}},n._manageStamp=function(t){var e=u(t),n=this._getElementOffset(t),i=this._getOption("originLeft")?n.left:n.right,r=i+e.outerWidth,s=Math.floor(i/this.columnWidth);s=Math.max(0,s);var o=Math.floor(r/this.columnWidth);o-=r%this.columnWidth?0:1,o=Math.min(this.cols-1,o);for(var a=(this._getOption("originTop")?n.top:n.bottom)+e.outerHeight,l=s;l<=o;l++)this.colYs[l]=Math.max(a,this.colYs[l])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},e}),function(f){f.fn.ajaxPagination=function(t){function r(){lazy=new LazyLoad({elements_selector:".masonry-lazy",callback_set:function(t){f(t).parent().addClass("masonry-lazy-loading")},callback_load:function(t){f(t).parent().removeClass("masonry-lazy-loading"),c.masonry("layout")},callback_error:function(t){f(t).parent().removeClass("masonry-lazy-loading").addClass("masonry-lazy-error"),c.masonry("layout")}})}function s(t){f("#ajax-tmp").load(t+" #"+d,function(t){var e=f("#ajax-tmp").find("#"+d).html(),n=f("#ajax-tmp").find("#"+d).data("next-url");if(c.hasClass("masonry-list")){var i=f(e);c.append(i).masonry("appended",i),r()}else c.append(e);c.data("next-url",n),$load.removeClass("ajax-loading"),f.isFunction(o.afterLoad)&&o.afterLoad})}if(0==this.length)return!1;var o=f.extend({spinner:"<i class='ajax-spinner'></i>",loadingText:"加载中...",completeText:"无更多内容",button:!1,scrollContainer:!1,offset:200,afterLoad:function(){}},t),a=o.spinner+(this.data("loading-text")?this.data("loading-text"):o.loadingText),l=this.data("complete-text")?this.data("complete-text"):o.completeText,e=this.data("button")?this.data("button"):o.button,u=this.data("offset")?this.data("offset"):o.offset;0==f("#ajax-tmp").length&&f("body").append(f("<div id='ajax-tmp'></div>").hide());var h=this.data("total"),c=this,d=f(this).attr("id");if(e||c.after("<div class='ajax-pagination'><div class='ajax-load-container'></div></div>"),e){$load=f(e);var n=$load.text();$load.addClass("ajax-pagination ajax-pagination-btn").html("<span class='ajax-load-container'></span><span class='ajax-load-btn-txt'>"+n+"</span>")}else $load=c.next(".ajax-pagination");if($loadContainer=$load.find(".ajax-load-container"),c.hasClass("masonry-list")&&(c.masonry({itemSelector:".masonry-item"}),r()),console.log(e),e)$load.on("click",function(t){t.preventDefault();var e=c.data("next-url");console.log("load"),$load.addClass("ajax-loading"),$loadContainer.html(a),s(e)});else{var i=o.scrollContainer?o.scrollContainer:window;f(i).on("scroll",function(){var t=c.children().length;if(console.log(t+"---"+h),h<=t)return $load.addClass("ajax-complete"),$loadContainer.html(l.replace("%total%",h)),!1;var e=f(this).scrollTop(),n=$load.offset().top;if(!$load.hasClass("ajax-loading")&&!$load.hasClass("ajax-complete")&&e>n-u-f(window).height()){var i=c.data("next-url");console.log("load"),$load.addClass("ajax-loading"),$loadContainer.html(a),s(i)}})}return this},f("[data-toggle='ajaxPagination']").ajaxPagination()}(jQuery),function(s){"use strict";var o,e,i,r,a="dotdotdot";s[a]&&"3.1.0"<s[a].version||(s[a]=function(t,e){this.$dot=t,this.api=["getInstance","truncate","restore","destroy","watch","unwatch"],this.opts=e;var n=this.$dot.data(a);return n&&n.destroy(),this.init(),this.truncate(),this.opts.watch&&this.watch(),this},s[a].version="3.1.0",s[a].uniqueId=0,s[a].defaults={ellipsis:"… ",callback:function(t){},truncate:"word",tolerance:0,keep:null,watch:"window",height:null},s[a].prototype={init:function(){this.watchTimeout=null,this.watchInterval=null,this.uniqueId=s[a].uniqueId++,this.originalContent=this.$dot.contents(),this.originalStyle=this.$dot.attr("style")||"","break-word"!==this.$dot.css("word-wrap")&&this.$dot.css("word-wrap","break-word"),"nowrap"===this.$dot.css("white-space")&&this.$dot.css("white-space","normal"),null===this.opts.height&&(this.opts.height=this._getMaxHeight())},getInstance:function(){return this},truncate:function(){var n=this;this.$inner=this.$dot.wrapInner("<div />").children().css({display:"block",height:"auto",width:"auto",border:"none",padding:0,margin:0}),this.$inner.contents().detach().end().append(this.originalContent.clone(!0)),this.$inner.find("script, style").addClass(o.keep),this.opts.keep&&this.$inner.find(this.opts.keep).addClass(o.keep),this.$inner.find("*").not("."+o.keep).add(this.$inner).contents().each(function(){var t=s(this);if(3==this.nodeType){if(t.parent().is("table, thead, tfoot, tr, dl, ul, ol, video"))return void t.remove();if(1<t.parent().contents().length){var e=s('<span class="'+o.text+'">'+n.__getTextContent(this)+"</span>").css({display:"inline",height:"auto",width:"auto",border:"none",padding:0,margin:0});t.replaceWith(e)}}else 8==this.nodeType&&t.remove()}),this.maxHeight=this._getMaxHeight();var t=this._truncateNode(this.$dot);return this.$dot[t?"addClass":"removeClass"](o.truncated),this.$inner.find("."+o.text).each(function(){s(this).replaceWith(s(this).contents())}),this.$inner.find("."+o.keep).removeClass(o.keep),this.$inner.replaceWith(this.$inner.contents()),this.$inner=null,this.opts.callback.call(this.$dot[0],t),t},restore:function(){this.unwatch(),this.$dot.contents().detach().end().append(this.originalContent).attr("style",this.originalStyle).removeClass(o.truncated)},destroy:function(){this.restore(),this.$dot.data(a,null)},watch:function(){var e=this;this.unwatch();var n={};"window"==this.opts.watch?r.on(i.resize+e.uniqueId,function(t){e.watchTimeout&&clearTimeout(e.watchTimeout),e.watchTimeout=setTimeout(function(){n=e._watchSizes(n,r,"width","height")},100)}):this.watchInterval=setInterval(function(){n=e._watchSizes(n,e.$dot,"innerWidth","innerHeight")},500)},unwatch:function(){r.off(i.resize+this.uniqueId),this.watchInterval&&clearInterval(this.watchInterval),this.watchTimeout&&clearTimeout(this.watchTimeout)},_api:function(){var n=this,i={};return s.each(this.api,function(t){var e=this;i[e]=function(){var t=n[e].apply(n,arguments);return void 0===t?i:t}}),i},_truncateNode:function(t){var n=this,i=!1,r=!1;return s(t.children().get().reverse()).not("."+o.keep).each(function(){s(this).contents()[0];var t=s(this);if(!i&&!t.hasClass(o.keep)){if(t.children().length)i=n._truncateNode(t);else if(!n._fits()||r){var e=s("<span>").css("display","none");if(t.replaceWith(e),t.detach(),n._fits()){if("node"==n.opts.truncate)return!0;e.replaceWith(t),(i=n._truncateWord(t))||(r=!0,t.detach())}else e.remove()}t.contents().length||t.remove()}}),i},_truncateWord:function(t){var e=t.contents()[0];if(!e)return!1;for(var n=this.__getTextContent(e),i=-1!==n.indexOf(" ")?" ":"　",r=n.split(i),s="",o=r.length;0<=o;o--){if(s=r.slice(0,o).join(i),0==o)return"letter"==this.opts.truncate&&(this.__setTextContent(e,r.slice(0,o+1).join(i)),this._truncateLetter(e));if(s.length&&(this.__setTextContent(e,this._addEllipsis(s)),this._fits()))return"letter"!=this.opts.truncate||(this.__setTextContent(e,r.slice(0,o+1).join(i)),this._truncateLetter(e))}return!1},_truncateLetter:function(t){for(var e=this.__getTextContent(t).split(""),n="",i=e.length;0<=i;i--)if((n=e.slice(0,i).join("")).length&&(this.__setTextContent(t,this._addEllipsis(n)),this._fits()))return!0;return!1},_fits:function(){return this.$inner.innerHeight()<=this.maxHeight+this.opts.tolerance},_addEllipsis:function(t){for(var e=[" ","　",",",";",".","!","?"];-1<s.inArray(t.slice(-1),e);)t=t.slice(0,-1);return t+=this.opts.ellipsis},_getMaxHeight:function(){if("number"==typeof this.opts.height)return this.opts.height;for(var t=["maxHeight","height"],e=0,n=0;n<t.length;n++)if("px"==(e=window.getComputedStyle(this.$dot[0])[t[n]]).slice(-2)){e=parseFloat(e);break}t=[];switch(this.$dot.css("boxSizing")){case"border-box":t.push("borderTopWidth"),t.push("borderBottomWidth");case"padding-box":t.push("paddingTop"),t.push("paddingBottom")}for(n=0;n<t.length;n++){var i=window.getComputedStyle(this.$dot[0])[t[n]];"px"==i.slice(-2)&&(e-=parseFloat(i))}return Math.max(e,0)},_watchSizes:function(t,e,n,i){if(this.$dot.is(":visible")){var r={width:e[n](),height:e[i]()};return t.width==r.width&&t.height==r.height||this.truncate(),r}return t},__getTextContent:function(t){for(var e=["nodeValue","textContent","innerText"],n=0;n<e.length;n++)if("string"==typeof t[e[n]])return t[e[n]];return""},__setTextContent:function(t,e){for(var n=["nodeValue","textContent","innerText"],i=0;i<n.length;i++)t[n[i]]=e}},s.fn[a]=function(t){return r=s(window),o={},e={},i={},s.each([o,e,i],function(t,i){i.add=function(t){for(var e=0,n=(t=t.split(" ")).length;e<n;e++)i[t[e]]=i.ddd(t[e])}}),o.ddd=function(t){return"ddd-"+t},o.add("truncated keep text"),e.ddd=function(t){return"ddd-"+t},e.add("text"),i.ddd=function(t){return t+".ddd"},i.add("resize"),t=s.extend(!0,{},s[a].defaults,t),this.each(function(){s(this).data(a,new s[a](s(this),t)._api())})})}(jQuery),window.Modernizr=function(t,e,n){function i(t,e){return typeof t===e}var r,s,o,a={},l=e.documentElement,u=e.createElement("modernizr"),h=u.style,c=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),d="http://www.w3.org/2000/svg",f={},p=[],m=p.slice,g={}.hasOwnProperty;for(var v in s=i(g,"undefined")||i(g.call,"undefined")?function(t,e){return e in t&&i(t.constructor.prototype[e],"undefined")}:function(t,e){return g.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(i){var r=this;if("function"!=typeof r)throw new TypeError;var s=m.call(arguments,1),o=function(){if(this instanceof o){var t=function(){};t.prototype=r.prototype;var e=new t,n=r.apply(e,s.concat(m.call(arguments)));return Object(n)===n?n:e}return r.apply(i,s.concat(m.call(arguments)))};return o}),f.inlinesvg=function(){var t=e.createElement("div");return t.innerHTML="<svg/>",(t.firstChild&&t.firstChild.namespaceURI)==d},f)s(f,v)&&(r=v.toLowerCase(),a[r]=f[v](),p.push((a[r]?"":"no-")+r));return a.addTest=function(t,e){if("object"==typeof t)for(var n in t)s(t,n)&&a.addTest(n,t[n]);else{if(t=t.toLowerCase(),void 0!==a[t])return a;e="function"==typeof e?e():e,"undefined"!=typeof enableClasses&&enableClasses&&(l.className+=" "+(e?"":"no-")+t),a[t]=e}return a},o="",h.cssText=o,u=null,a._version="2.8.3",a._prefixes=c,a}(0,this.document),!window.Modernizr._prefixes)throw Error("jquery-gray: Modernizr._prefixes not set!\n\nPlease add the necessary feature detects:\nhttps://github.com/karlhorky/gray#modernizr");Modernizr.addTest("cssfilters",function(){var t=document.createElement("div");return t.style.cssText=Modernizr._prefixes.join("filter:blur(2px); "),!!t.style.length&&(void 0===document.documentMode||9<document.documentMode)}),Modernizr.addTest("svgfilters",function(){var t=!1;try{t=void 0!==typeof SVGFEColorMatrixElement&&2==SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE}catch(t){}return t}),function(u,a){function e(t,e){var n;n=((e=e||{}).classes||{}).fade||r.classes.fade,e.fade=e.fade||-1<t.className.indexOf(n),this.element=t,this.elementId=s++,this.settings=u.extend({},r,e),this._defaults=r,this._name=i,this.init()}var i="gray",r={fade:!1,classes:{fade:"grayscale-fade"}},s=0;u.extend(e.prototype,{init:function(){var t;!Modernizr.cssfilters&&Modernizr.inlinesvg&&Modernizr.svgfilters&&(t=u(this.element),(this.cssFilterDeprecated(t)||this.settings.fade)&&this.switchImage(t))},cssFilterDeprecated:function(t){return"none"===t.css("filter")},elementType:function(t){return"IMG"===t.prop("tagName")?"Img":"Bg"},pxToNumber:function(t){return parseInt(t.replace("px",""))},getComputedStyle:function(t){for(var e={},n={},i=0,r=(e=a.getComputedStyle(t,null)).length;i<r;i++){var s=e[i],o=e.getPropertyValue(s);n[s]=o}return n},extractUrl:function(t){return startRegex=/^url\(["']?/,endRegex=/["']?\)$/,t.replace(startRegex,"").replace(endRegex,"")},positionToNegativeMargin:function(t){var e;return e=t.match(/^(-?\d+\S+)/)[0],"margin:"+t.match(/\s(-?\d+\S+)$/)[0]+" 0 0 "+e},getBgSize:function(t,e){var n,i,r,s,o,a;if((n=new Image).src=t,"auto"!==e&&"cover"!==e&&"contain"!==e&&"inherit"!==e){var l=u(this.element);i=n.width/n.height,s=parseInt((e.match(/^(\d+)px/)||[0,0])[1]),a=parseInt((e.match(/\s(\d+)px$/)||[0,0])[1]),r=l.height()*i,o=l.width()/i,s=s||r,a=a||o}return s||a?{width:s,height:a}:{width:n.width,height:n.height}},getImgParams:function(t){var e={};e.styles=this.getComputedStyle(t[0]);var n={top:this.pxToNumber(e.styles["padding-top"]),right:this.pxToNumber(e.styles["padding-right"]),bottom:this.pxToNumber(e.styles["padding-bottom"]),left:this.pxToNumber(e.styles["padding-left"])},i={top:this.pxToNumber(e.styles["border-top-width"]),right:this.pxToNumber(e.styles["border-right-width"]),bottom:this.pxToNumber(e.styles["border-bottom-width"]),left:this.pxToNumber(e.styles["border-left-width"])};return e.image={width:this.pxToNumber(e.styles.width),height:this.pxToNumber(e.styles.height)},e.svg={url:t[0].src,padding:n,borderWidth:i,width:e.image.width+n.left+n.right+i.left+i.right,height:e.image.height+n.top+n.bottom+i.top+i.bottom,offset:""},e},getBgParams:function(t){var e,n={};return e=this.extractUrl(t.css("background-image")),bgSize=this.getBgSize(e,t.css("background-size")),offset=this.positionToNegativeMargin(t.css("background-position")),n.styles=this.getComputedStyle(t[0]),n.svg=u.extend({url:e},bgSize,{offset:offset}),n.image={width:n.svg.width,height:n.svg.height},n},setStyles:function(t,e,n,i){return e.display="inline-block",e.overflow=e["overflow-x"]=e["overflow-y"]="hidden",e["background-image"]='url("'+n.url+'")',e["background-size"]=i.width+"px "+i.height+"px","Img"===t&&(e["background-repeat"]="no-repeat",e["background-position"]=n.padding.left+"px "+n.padding.top+"px",e.width=n.width,e.height=n.height),delete e.filter,e},addSVGFilterOnce:function(){$body=u("body"),$body.data("plugin_"+i+"_has_filter")||$body.data("plugin_"+i+"_has_filter","true").append('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="0" height="0" style="position:absolute"><defs><filter id="gray"><feColorMatrix type="saturate" values="0"/></filter></defs></svg>')},switchImage:function(t){var e,n,i,r,s,o;n=this["get"+(e=this.elementType(t))+"Params"](t),i=this.settings.fade?this.settings.classes.fade:"",r=t[0].alt?' aria-labelledby="gray-title-'+this.elementId+'"':"",s=t[0].alt?'<title id="gray-title-'+this.elementId+'">'+t[0].alt+"</title>":"",o=u('<div class="grayscale grayscale-replaced '+i+'"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 '+n.svg.width+" "+n.svg.height+'" width="'+n.svg.width+'" height="'+n.svg.height+'" style="'+n.svg.offset+'" role="img"'+r+">"+s+'<image filter="url(&quot;#gray&quot;)" x="0" y="0" width="'+n.image.width+'" height="'+n.image.height+'" preserveAspectRatio="none" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="'+n.svg.url+'" /></svg></div>'),n.styles=this.setStyles(e,n.styles,n.svg,n.image),o.css(n.styles),this.addSVGFilterOnce(),t.replaceWith(o)}}),u.fn[i]=function(t){return this.each(function(){u.data(this,"plugin_"+i)||u.data(this,"plugin_"+i,new e(this,t))}),this},u(a).on("load",function(){u(".grayscale:not(.grayscale-replaced)")[i]()})}(jQuery,window,document),$.validator&&($.validator.addMethod("mobile",function(t,e){return this.optional(e)||/^0?1[34578]\d{9}$/.test(t)},"手机号格式有误"),$.validator.addClassRules({mobile:{mobile:!0}})),$.extend($.validator.messages,{required:"必填字段",remote:"请修正该字段",email:"请输入正确格式的电子邮件",url:"请输入合法的网址",date:"请输入合法的日期",dateISO:"请输入合法的日期 (ISO).",number:"请输入合法的数字",digits:"只能输入整数",creditcard:"请输入合法的信用卡号",equalTo:"请再次输入相同的值",accept:"请输入拥有合法后缀名的字符串",maxlength:$.validator.format("长度最多是 {0} 的字符串"),minlength:$.validator.format("长度最少是 {0} 的字符串"),rangelength:$.validator.format("长度介于 {0} 和 {1} 之间的字符串"),range:$.validator.format("请输入一个介于 {0} 和 {1} 之间的值"),max:$.validator.format("请输入一个最大为 {0} 的值"),min:$.validator.format("请输入一个最小为 {0} 的值")}),jQuery(function(i){i(".form-validate").each(function(){var n=i(this);n.validate({errorElement:"span",errorClass:"msg-error",focusInvalid:!1,ignore:"",errorPlacement:function(t,e){i(e).closest(".form-group").find(".help-block").text(t.text());"phone"==i(e).attr("id")&&i("#getcode").prop("disabled",!0)},invalidHandler:function(t,e){n.data("validate",!1),console.log("error")},highlight:function(t){i(t).closest(".form-group").removeClass("has-success").addClass("has-error")},unhighlight:function(t){i(t).closest(".form-group").removeClass("has-error")},success:function(t,e){i(e).closest(".form-group").removeClass("has-error").addClass("has-success");i(e).closest(".form-group").find(".help-block").text("");"phone"==i(e).attr("id")&&i("#getcode").prop("disabled",!1)},submitHandler:function(t){n.data("validate",!0),n.data("ajax")||t[0].submit()}})}),i("[data-confirm]").on("click",function(){var t=i(this).data("msg"),e=i(this).data("confirm"),n=i(this).data("params");i("#confirm .msg").html(t),console.log("test"),i("#confirm").modal("show"),i.isFunction(window[e])&&i("#confirm .btn-ok").on("click",function(){window[e](n),i("#confirm").modal("hide")})}),i("#navbar").on("show.bs.collapse",function(){i(this).addClass("navbar-open"),i("body").addClass("modal-open")}),i("#navbar").on("hidden.bs.collapse",function(){i("body").removeClass("modal-open")}),i(".dropdown > a").on("click",function(t){i(t.target).hasClass("nav-open-sub")&&(t.preventDefault(),i(this).parent().toggleClass("dropdown-active"))}),0<i(".header-index").length&&i(window).on("scroll",function(){200<i(this).scrollTop()?i(".header-v3").removeClass("header-index"):i(".header-v3").addClass("header-index")}),i("[data-toggle=weixin]").popover({html:!0})});var notify={alert:function(t,e){$("#alert .msg").html(t),"object"==typeof e&&(e.title&&e.url&&$("#alert .btn-ok").attr("data-dismiss",null).text(e.title).attr("href",e.url),$.isFunction(e.ok)&&$("#alert").one("hide.bs.modal",e.ok)),$("#alert").modal("show")}};