if(function(t,e){"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){var e=[],T=_.document,u=e.slice,g=e.concat,a=e.push,o=e.indexOf,n={},i=n.toString,f=n.hasOwnProperty,m={},r="2.2.0",S=function(t,e){return new S.fn.init(t,e)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,l=/^-ms-/,c=/-([\da-z])/gi,h=function(t,e){return e.toUpperCase()};function p(t){var e=!!t&&"length"in t&&t.length,n=S.type(t);return"function"!==n&&!S.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&0+~]|"+z+")"+z+"*"),B=new RegExp("="+z+"*([^\\]'\"]*?)"+z+"*\\]","g"),U=new RegExp(R),Q=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,J=/'|\\/g,tt=new RegExp("\\\\([\\da-f]{1,6}"+z+"?|("+z+")|.)","ig"),et=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)},nt=function(){C()};try{j.apply(e=A.call(w.childNodes),w.childNodes),e[w.childNodes.length].nodeType}catch(t){j={apply:e.length?function(t,e){I.apply(t,A.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function it(t,e,n,i){var o,r,s,a,l,c,u,h,p=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)!==_&&C(e),e=e||_,T)){if(11!==d&&(c=G.exec(t)))if(o=c[1]){if(9===d){if(!(s=e.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(p&&(s=p.getElementById(o))&&y(e,s)&&s.id===o)return n.push(s),n}else{if(c[2])return j.apply(n,e.getElementsByTagName(t)),n;if((o=c[3])&&f.getElementsByClassName&&e.getElementsByClassName)return j.apply(n,e.getElementsByClassName(o)),n}if(f.qsa&&!E[t+" "]&&(!v||!v.test(t))){if(1!==d)p=e,h=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(J,"\\$&"):e.setAttribute("id",a=S),r=(u=g(t)).length,l=Q.test(a)?"#"+a:"[id='"+a+"']";r--;)u[r]=l+" "+ft(u[r]);h=u.join(","),p=K.test(t)&&pt(e.parentNode)||e}if(h)try{return j.apply(n,p.querySelectorAll(h)),n}catch(t){}finally{a===S&&e.removeAttribute("id")}}}return m(t.replace(F,"$1"),e,n,i)}function ot(){var i=[];return function t(e,n){return i.push(e+" ")>b.cacheLength&&delete t[i.shift()],t[e+" "]=n}}function rt(t){return t[S]=!0,t}function st(t){var e=_.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function at(t,e){for(var n=t.split("|"),i=n.length;i--;)b.attrHandle[n[i]]=e}function lt(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ct(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ut(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}function ht(s){return rt(function(r){return r=+r,rt(function(t,e){for(var n,i=s([],t.length,r),o=i.length;o--;)t[n=i[o]]&&(t[n]=!(e[n]=t[n]))})})}function pt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in f=it.support={},o=it.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},C=it.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:w;return i!==_&&9===i.nodeType&&i.documentElement&&(s=(_=i).documentElement,T=!o(_),(n=_.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",nt,!1):n.attachEvent&&n.attachEvent("onunload",nt)),f.attributes=st(function(t){return t.className="i",!t.getAttribute("className")}),f.getElementsByTagName=st(function(t){return t.appendChild(_.createComment("")),!t.getElementsByTagName("*").length}),f.getElementsByClassName=Y.test(_.getElementsByClassName),f.getById=st(function(t){return s.appendChild(t).id=S,!_.getElementsByName||!_.getElementsByName(S).length}),f.getById?(b.find.ID=function(t,e){if(void 0!==e.getElementById&&T){var n=e.getElementById(t);return n?[n]:[]}},b.filter.ID=function(t){var e=t.replace(tt,et);return function(t){return t.getAttribute("id")===e}}):(delete b.find.ID,b.filter.ID=function(t){var n=t.replace(tt,et);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===n}}),b.find.TAG=f.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):f.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"!==t)return r;for(;n=r[o++];)1===n.nodeType&&i.push(n);return i},b.find.CLASS=f.getElementsByClassName&&function(t,e){return void 0!==e.getElementsByClassName&&T?e.getElementsByClassName(t):void 0},a=[],v=[],(f.qsa=Y.test(_.querySelectorAll))&&(st(function(t){s.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+z+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||v.push("\\["+z+"*(?:value|"+P+")"),t.querySelectorAll("[id~="+S+"-]").length||v.push("~="),t.querySelectorAll(":checked").length||v.push(":checked"),t.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]")}),st(function(t){var e=_.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&v.push("name"+z+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),v.push(",.*:")})),(f.matchesSelector=Y.test(u=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&st(function(t){f.disconnectedMatch=u.call(t,"div"),u.call(t,"[s!='']:x"),a.push("!=",R)}),v=v.length&&new RegExp(v.join("|")),a=a.length&&new RegExp(a.join("|")),e=Y.test(s.compareDocumentPosition),y=e||Y.test(s.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},$=e?function(t,e){if(t===e)return c=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!f.sortDetached&&e.compareDocumentPosition(t)===n?t===_||t.ownerDocument===w&&y(w,t)?-1:e===_||e.ownerDocument===w&&y(w,e)?1:l?O(l,t)-O(l,e):0:4&n?-1:1)}:function(t,e){if(t===e)return c=!0,0;var n,i=0,o=t.parentNode,r=e.parentNode,s=[t],a=[e];if(!o||!r)return t===_?-1:e===_?1:o?-1:r?1:l?O(l,t)-O(l,e):0;if(o===r)return lt(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?lt(s[i],a[i]):s[i]===w?-1:a[i]===w?1:0}),_},it.matches=function(t,e){return it(t,null,null,e)},it.matchesSelector=function(t,e){if((t.ownerDocument||t)!==_&&C(t),e=e.replace(B,"='$1']"),f.matchesSelector&&T&&!E[e+" "]&&(!a||!a.test(e))&&(!v||!v.test(e)))try{var n=u.call(t,e);if(n||f.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(tt,et),t[3]=(t[3]||t[4]||t[5]||"").replace(tt,et),"~="===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]||it.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]&&it.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return V.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&U.test(n)&&(e=g(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(tt,et).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=p[t+" "];return e||(e=new RegExp("(^|"+z+")"+t+"("+z+"|$)"))&&p(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(n,i,o){return function(t){var e=it.attr(t,n);return null==e?"!="===i:!i||(e+="","="===i?e===o:"!="===i?e!==o:"^="===i?o&&0===e.indexOf(o):"*="===i?o&&-1(?:<\/\1>|)$/,x=/^.[^:#\[\.,]*$/;function C(t,n,i){if(S.isFunction(n))return S.grep(t,function(t,e){return!!n.call(t,e,t)!==i});if(n.nodeType)return S.grep(t,function(t){return t===n!==i});if("string"==typeof n){if(x.test(n))return S.filter(n,t,i);n=S.filter(n,t)}return S.grep(t,function(t){return-1)[^>]*|#([\w-]*))$/;(S.fn.init=function(t,e,n){var i,o;if(!t)return this;if(n=n||k,"string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):S.isFunction(t)?void 0!==n.ready?n.ready(t):t(S):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),S.makeArray(t,this));if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:E.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 S?e[0]:e,S.merge(this,S.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:T,!0)),b.test(i[1])&&S.isPlainObject(e))for(i in e)S.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(o=T.getElementById(i[2]))&&o.parentNode&&(this.length=1,this[0]=o),this.context=T,this.selector=t,this}).prototype=S.fn,k=S(T);var $=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function N(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}S.fn.extend({has:function(t){var e=S(t,this),n=e.length;return this.filter(function(){for(var t=0;t",""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function G(t,e){var n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&S.nodeName(t,e)?S.merge([t],n):n}function K(t,e){for(var n=0,i=t.length;nx",m.noCloneChecked=!!J.cloneNode(!0).lastChild.defaultValue;var it=/^key/,ot=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,rt=/^([^.]*)(?:\.(.+)|)/;function st(){return!0}function at(){return!1}function lt(){try{return T.activeElement}catch(t){}}function ct(t,e,n,i,o,r){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)ct(t,a,n,i,e[a],r);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=at;else if(!o)return this;return 1===r&&(s=o,(o=function(t){return S().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=S.guid++)),t.each(function(){S.event.add(this,e,o,i,n)})}S.event={global:{},add:function(e,t,n,i,o){var r,s,a,l,c,u,h,p,d,f,g,m=L.get(e);if(m)for(n.handler&&(n=(r=n).handler,o=r.selector),n.guid||(n.guid=S.guid++),(l=m.events)||(l=m.events={}),(s=m.handle)||(s=m.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(j)||[""]).length;c--;)d=g=(a=rt.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),d&&(h=S.event.special[d]||{},d=(o?h.delegateType:h.bindType)||d,h=S.event.special[d]||{},u=S.extend({type:d,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&S.expr.match.needsContext.test(o),namespace:f.join(".")},r),(p=l[d])||((p=l[d]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(e,i,f,s)||e.addEventListener&&e.addEventListener(d,s)),h.add&&(h.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),S.event.global[d]=!0)},remove:function(t,e,n,i,o){var r,s,a,l,c,u,h,p,d,f,g,m=L.hasData(t)&&L.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(j)||[""]).length;c--;)if(d=g=(a=rt.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),d){for(h=S.event.special[d]||{},p=l[d=(i?h.delegateType:h.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)u=p[r],!o&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(r,1),u.selector&&p.delegateCount--,h.remove&&h.remove.call(t,u));s&&!p.length&&(h.teardown&&!1!==h.teardown.call(t,f,m.handle)||S.removeEvent(t,d,m.handle),delete l[d])}else for(d in l)S.event.remove(t,d+e[c],n,i,!0);S.isEmptyObject(l)&&L.remove(t,"handle events")}},dispatch:function(t){t=S.event.fix(t);var e,n,i,o,r,s=[],a=u.call(arguments),l=(L.get(this,"events")||{})[t.type]||[],c=S.event.special[t.type]||{};if((a[0]=t).delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){for(s=S.event.handlers.call(this,t,l),e=0;(o=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!t.isImmediatePropagationStopped();)(!t.rnamespace||t.rnamespace.test(r.namespace))&&(t.handleObj=r,t.data=r.data,void 0!==(i=((S.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,a))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,o,r,s=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(i=[],n=0;n]*)\/>/gi,ht=/\s*$/g;function gt(t,e){return S.nodeName(t,"table")&&S.nodeName(11!==e.nodeType?e:e.firstChild,"tr")&&t.getElementsByTagName("tbody")[0]||t}function mt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function vt(t){var e=dt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function yt(t,e){var n,i,o,r,s,a,l,c;if(1===e.nodeType){if(L.hasData(t)&&(r=L.access(t),s=L.set(e,r),c=r.events))for(o in delete s.handle,s.events={},c)for(n=0,i=c[o].length;n")},clone:function(t,e,n){var i,o,r,s,a,l,c,u=t.cloneNode(!0),h=S.contains(t.ownerDocument,t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||S.isXMLDoc(t)))for(s=G(u),i=0,o=(r=G(t)).length;i")).appendTo(e.documentElement))[0].contentDocument).write(),e.close(),n=_t(t,e),xt.detach()),Ct[t]=n),n}var St=/^margin/,kt=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),Et=function(t){var e=t.ownerDocument.defaultView;return e.opener||(e=_),e.getComputedStyle(t)},$t=function(t,e,n,i){var o,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];for(r in o=n.apply(t,i||[]),e)t.style[r]=s[r];return o},Dt=T.documentElement;function Nt(t,e,n){var i,o,r,s,a=t.style;return(n=n||Et(t))&&(""!==(s=n.getPropertyValue(e)||n[e])||S.contains(t.ownerDocument,t)||(s=S.style(t,e)),!m.pixelMarginRight()&&kt.test(s)&&St.test(e)&&(i=a.width,o=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=o,a.maxWidth=r)),void 0!==s?s+"":s}function It(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}!function(){var e,n,i,o,r=T.createElement("div"),s=T.createElement("div");if(s.style){function t(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",Dt.appendChild(r);var t=_.getComputedStyle(s);e="1%"!==t.top,o="2px"===t.marginLeft,n="4px"===t.width,s.style.marginRight="50%",i="4px"===t.marginRight,Dt.removeChild(r)}s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===s.style.backgroundClip,r.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",r.appendChild(s),S.extend(m,{pixelPosition:function(){return t(),e},boxSizingReliable:function(){return null==n&&t(),n},pixelMarginRight:function(){return null==n&&t(),i},reliableMarginLeft:function(){return null==n&&t(),o},reliableMarginRight:function(){var t,e=s.appendChild(T.createElement("div"));return e.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",s.style.width="1px",Dt.appendChild(r),t=!parseFloat(_.getComputedStyle(e).marginRight),Dt.removeChild(r),s.removeChild(e),t}})}}();var jt=/^(none|table(?!-c[ea]).+)/,At={position:"absolute",visibility:"hidden",display:"block"},Ot={letterSpacing:"0",fontWeight:"400"},Pt=["Webkit","O","Moz","ms"],zt=T.createElement("div").style;function Lt(t){if(t in zt)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=Pt.length;n--;)if((t=Pt[n]+e)in zt)return t}function Ht(t,e,n){var i=W.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function Rt(t,e,n,i,o){for(var r=n===(i?"border":"content")?4:"width"===e?1:0,s=0;r<4;r+=2)"margin"===n&&(s+=S.css(t,n+B[r],!0,o)),i?("content"===n&&(s-=S.css(t,"padding"+B[r],!0,o)),"margin"!==n&&(s-=S.css(t,"border"+B[r]+"Width",!0,o))):(s+=S.css(t,"padding"+B[r],!0,o),"padding"!==n&&(s+=S.css(t,"border"+B[r]+"Width",!0,o)));return s}function Mt(t,e,n){var i=!0,o="width"===e?t.offsetWidth:t.offsetHeight,r=Et(t),s="border-box"===S.css(t,"boxSizing",!1,r);if(T.msFullscreenElement&&_.top!==_&&t.getClientRects().length&&(o=Math.round(100*t.getBoundingClientRect()[e])),o<=0||null==o){if(((o=Nt(t,e,r))<0||null==o)&&(o=t.style[e]),kt.test(o))return o;i=s&&(m.boxSizingReliable()||o===t.style[e]),o=parseFloat(o)||0}return o+Rt(t,e,n||(s?"border":"content"),i,r)+"px"}function Ft(t,e){for(var n,i,o,r=[],s=0,a=t.length;s").prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(t){i.remove(),o=null,t&&e("error"===t.type?404:200,t.type)}),T.head.appendChild(i[0])},abort:function(){o&&o()}}});var Ie,je=[],Ae=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=je.pop()||S.expando+"_"+ce++;return this[t]=!0,t}}),S.ajaxPrefilter("json jsonp",function(t,e,n){var i,o,r,s=!1!==t.jsonp&&(Ae.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ae.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=S.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ae,"$1"+i):!1!==t.jsonp&&(t.url+=(ue.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return r||S.error(i+" was not called"),r[0]},t.dataTypes[0]="json",o=_[i],_[i]=function(){r=arguments},n.always(function(){void 0===o?S(_).removeProp(i):_[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,je.push(i)),r&&S.isFunction(o)&&o(r[0]),r=o=void 0}),"script"):void 0}),m.createHTMLDocument=((Ie=T.implementation.createHTMLDocument("").body).innerHTML="
",2===Ie.childNodes.length),S.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||(m.createHTMLDocument?T.implementation.createHTMLDocument(""):T);var i=b.exec(t),o=!n&&[];return i?[e.createElement(i[1])]:(i=nt([t],e,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes))};var Oe=S.fn.load;function Pe(t){return S.isWindow(t)?t:9===t.nodeType&&t.defaultView}S.fn.load=function(t,e,n){if("string"!=typeof t&&Oe)return Oe.apply(this,arguments);var i,o,r,s=this,a=t.indexOf(" ");return-1").append(S.parseHTML(t)).find(i):t)}).always(n&&function(t,e){s.each(function(){n.apply(s,r||[t.responseText,e,t])})}),this},S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){S.fn[e]=function(t){return this.on(e,t)}}),S.expr.filters.animated=function(e){return S.grep(S.timers,function(t){return e===t.elem}).length},S.offset={setOffset:function(t,e,n){var i,o,r,s,a,l,c=S.css(t,"position"),u=S(t),h={};"static"===c&&(t.style.position="relative"),a=u.offset(),r=S.css(t,"top"),l=S.css(t,"left"),o=("absolute"===c||"fixed"===c)&&-1<(r+l).indexOf("auto")?(s=(i=u.position()).top,i.left):(s=parseFloat(r)||0,parseFloat(l)||0),S.isFunction(e)&&(e=e.call(t,n,S.extend({},a))),null!=e.top&&(h.top=e.top-a.top+s),null!=e.left&&(h.left=e.left-a.left+o),"using"in e?e.using.call(t,h):u.css(h)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){S.offset.setOffset(this,e,t)});var t,n,i=this[0],o={top:0,left:0},r=i&&i.ownerDocument;return r?(t=r.documentElement,S.contains(t,i)?(o=i.getBoundingClientRect(),n=Pe(r),{top:o.top+n.pageYOffset-t.clientTop,left:o.left+n.pageXOffset-t.clientLeft}):o):void 0},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===S.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),S.nodeName(t[0],"html")||(i=t.offset()),i.top+=S.css(t[0],"borderTopWidth",!0)-t.scrollTop(),i.left+=S.css(t[0],"borderLeftWidth",!0)-t.scrollLeft()),{top:e.top-i.top-S.css(n,"marginTop",!0),left:e.left-i.left-S.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===S.css(t,"position");)t=t.offsetParent;return t||Dt})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,o){var r="pageYOffset"===o;S.fn[e]=function(t){return O(this,function(t,e,n){var i=Pe(t);return void 0===n?i?i[o]:t[e]:void(i?i.scrollTo(r?i.pageXOffset:n,r?n:i.pageYOffset):t[e]=n)},e,t,arguments.length)}}),S.each(["top","left"],function(t,n){S.cssHooks[n]=It(m.pixelPosition,function(t,e){return e?(e=Nt(t,n),kt.test(e)?S(t).position()[n]+"px":e):void 0})}),S.each({Height:"height",Width:"width"},function(r,s){S.each({padding:"inner"+r,content:s,"":"outer"+r},function(i,t){S.fn[t]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),o=i||(!0===t||!0===e?"margin":"border");return O(this,function(t,e,n){var i;return S.isWindow(t)?t.document.documentElement["client"+r]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+r],i["scroll"+r],t.body["offset"+r],i["offset"+r],i["client"+r])):void 0===n?S.css(t,e,o):S.style(t,e,n,o)},s,n?t:void 0,n,null)}})}),S.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)},size:function(){return this.length}}),S.fn.andSelf=S.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var ze=_.jQuery,Le=_.$;return S.noConflict=function(t){return _.$===S&&(_.$=Le),t&&_.jQuery===S&&(_.jQuery=ze),S},t||(_.jQuery=_.$=S),S}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||3this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(ndocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},a.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},a.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},m.prototype.init=function(t,e,n){if(this.enabled=!0,this.type=t,this.$element=g(e),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&g(g.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),o=i.length;o--;){var r=i[o];if("click"==r)this.$element.on("click."+this.type,this.options.selector,g.proxy(this.toggle,this));else if("manual"!=r){var s="hover"==r?"mouseenter":"focusin",a="hover"==r?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,g.proxy(this.enter,this)),this.$element.on(a+"."+this.type,this.options.selector,g.proxy(this.leave,this))}}this.options.selector?this._options=g.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},m.prototype.getDefaults=function(){return m.DEFAULTS},m.prototype.getOptions=function(t){return(t=g.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},m.prototype.getDelegateOptions=function(){var n={},i=this.getDefaults();return this._options&&g.each(this._options,function(t,e){i[t]!=e&&(n[t]=e)}),n},m.prototype.enter=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget).data("bs."+this.type);return e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e)),t instanceof g.Event&&(e.inState["focusin"==t.type?"focus":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState?void(e.hoverState="in"):(clearTimeout(e.timeout),e.hoverState="in",e.options.delay&&e.options.delay.show?void(e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)):e.show())},m.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},m.prototype.leave=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e)),t instanceof g.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue())return clearTimeout(e.timeout),e.hoverState="out",e.options.delay&&e.options.delay.hide?void(e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)):e.hide()},m.prototype.show=function(){var t=g.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var e=g.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!e)return;var n=this,i=this.tip(),o=this.getUID(this.type);this.setContent(),i.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&i.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,s=/\s?auto?\s?/i,a=s.test(r);a&&(r=r.replace(s,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?i.appendTo(this.options.container):i.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var l=this.getPosition(),c=i[0].offsetWidth,u=i[0].offsetHeight;if(a){var h=r,p=this.getPosition(this.$viewport);r="bottom"==r&&l.bottom+u>p.bottom?"top":"top"==r&&l.top-up.width?"left":"left"==r&&l.left-cs.top+s.height&&(o.top=s.top+s.height-l)}else{var c=e.left-r,u=e.left+r+n;cs.right&&(o.left=s.left+s.width-u)}return o},m.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},m.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},m.prototype.tip=function(){if(!this.$tip&&(this.$tip=g(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},m.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},m.prototype.enable=function(){this.enabled=!0},m.prototype.disable=function(){this.enabled=!1},m.prototype.toggleEnabled=function(){this.enabled=!this.enabled},m.prototype.toggle=function(t){var e=this;t&&((e=g(t.currentTarget).data("bs."+this.type))||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e))),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},m.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var t=g.fn.tooltip;g.fn.tooltip=function(i){return this.each(function(){var t=g(this),e=t.data("bs.tooltip"),n="object"==typeof i&&i;!e&&/destroy|hide/.test(i)||(e||t.data("bs.tooltip",e=new m(this,n)),"string"==typeof i&&e[i]())})},g.fn.tooltip.Constructor=m,g.fn.tooltip.noConflict=function(){return g.fn.tooltip=t,this}}(jQuery),function(o){"use strict";var r=function(t,e){this.init("popover",t,e)};if(!o.fn.tooltip)throw new Error("Popover requires tooltip.js");r.VERSION="3.3.7",r.DEFAULTS=o.extend({},o.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),((r.prototype=o.extend({},o.fn.tooltip.Constructor.prototype)).constructor=r).prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=o.fn.popover;o.fn.popover=function(i){return this.each(function(){var t=o(this),e=t.data("bs.popover"),n="object"==typeof i&&i;!e&&/destroy|hide/.test(i)||(e||t.data("bs.popover",e=new r(this,n)),"string"==typeof i&&e[i]())})},o.fn.popover.Constructor=r,o.fn.popover.noConflict=function(){return o.fn.popover=t,this}}(jQuery),function(r){"use strict";function o(t,e){this.$body=r(document.body),this.$scrollElement=r(r(t).is(document.body)?window:t),this.options=r.extend({},o.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",r.proxy(this.process,this)),this.refresh(),this.process()}function e(i){return this.each(function(){var t=r(this),e=t.data("bs.scrollspy"),n="object"==typeof i&&i;e||t.data("bs.scrollspy",e=new o(this,n)),"string"==typeof i&&e[i]()})}o.VERSION="3.3.7",o.DEFAULTS={offset:10},o.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},o.prototype.refresh=function(){var t=this,i="offset",o=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),r.isWindow(this.$scrollElement[0])||(i="position",o=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=r(this),e=t.data("target")||t.attr("href"),n=/^#./.test(e)&&r(e);return n&&n.length&&n.is(":visible")&&[[n[i]().top+o,e]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},o.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,r=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),i<=e)return s!=(t=r[r.length-1])&&this.activate(t);if(s&&e=o[t]&&(void 0===o[t+1]||e .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}var o=e.find("> .active"),r=n&&a.support.transition&&(o.length&&o.hasClass("fade")||!!e.find("> .fade").length);o.length&&r?o.one("bsTransitionEnd",i).emulateTransitionEnd(s.TRANSITION_DURATION):i(),o.removeClass("in")};var t=a.fn.tab;a.fn.tab=e,a.fn.tab.Constructor=s,a.fn.tab.noConflict=function(){return a.fn.tab=t,this};var n=function(t){t.preventDefault(),e.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),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 c(this,n)),"string"==typeof i&&e[i]()})}var c=function(t,e){this.options=l.extend({},c.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()};c.VERSION="3.3.7",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(t,e,n,i){var o=this.$target.scrollTop(),r=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return o",i.insertBefore(n.lastChild,i.firstChild)}function p(){var t=v.elements;return"string"==typeof t?t.split(" "):t}function d(t){var e=m[t[u]];return e||(e={},g++,t[u]=g,m[g]=e),e}function o(t,e,n){return e||(e=s),a?e.createElement(t):(n||(n=d(e)),!(i=n.cache[t]?n.cache[t].cloneNode():c.test(t)?(n.cache[t]=n.createElem(t)).cloneNode():n.createElem(t)).canHaveChildren||l.test(t)||i.tagUrn?i:n.frag.appendChild(i));var i}function i(t){t||(t=s);var e,n,i=d(t);return!v.shivCSS||r||i.hasCSS||(i.hasCSS=!!h(t,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),a||(e=t,(n=i).cache||(n.cache={},n.createElem=e.createElement,n.createFrag=e.createDocumentFragment,n.frag=n.createFrag()),e.createElement=function(t){return v.shivMethods?o(t,e,n):n.createElem(t)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+p().join().replace(/[\w\-:]+/g,function(t){return n.createElem(t),n.frag.createElement(t),'c("'+t+'")'})+");return n}")(v,n.frag)),t}function f(t){for(var e,n=t.attributes,i=n.length,o=t.ownerDocument.createElement(b+":"+t.nodeName);i--;)(e=n[i]).specified&&o.setAttribute(e.nodeName,e.nodeValue);return o.style.cssText=t.style.cssText,o}function e(a){function l(){clearTimeout(t._removeSheetTimer),c&&c.removeNode(!0),c=null}var c,u,t=d(a),e=a.namespaces,n=a.parentWindow;return!x||a.printShived||(void 0===e[b]&&e.add(b),n.attachEvent("onbeforeprint",function(){l();for(var t,e,n,i=a.styleSheets,o=[],r=i.length,s=Array(r);r--;)s[r]=i[r];for(;n=s.pop();)if(!n.disabled&&w.test(n.media)){try{e=(t=n.imports).length}catch(t){e=0}for(r=0;r+~])("+p().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),r="$1"+b+"\\:$2";i--;)(e=n[i]=n[i].split("}"))[e.length-1]=e[e.length-1].replace(o,r),n[i]=e.join("}");return n.join("{")}(o.reverse().join("")),u=function(t){for(var e,n=t.getElementsByTagName("*"),i=n.length,o=RegExp("^(?:"+p().join("|")+")$","i"),r=[];i--;)e=n[i],o.test(e.nodeName)&&r.push(e.applyElement(f(e)));return r}(a),c=h(a,o)}),n.attachEvent("onafterprint",function(){(function(t){for(var e=t.length;e--;)t[e].removeNode()})(u),clearTimeout(t._removeSheetTimer),t._removeSheetTimer=setTimeout(l,500)}),a.printShived=!0),a}var r,a,n=t.html5||{},l=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,c=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,u="_html5shiv",g=0,m={};!function(){try{var t=s.createElement("a");t.innerHTML="",r="hidden"in t,a=1==t.childNodes.length||function(){s.createElement("a");var t=s.createDocumentFragment();return void 0===t.cloneNode||void 0===t.createDocumentFragment||void 0===t.createElement}()}catch(t){a=r=!0}}();var v={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==n.shivCSS,supportsUnknownElements:a,shivMethods:!1!==n.shivMethods,type:"default",shivDocument:i,createElement:o,createDocumentFragment:function(t,e){if(t||(t=s),a)return t.createDocumentFragment();for(var n=(e=e||d(t)).frag.cloneNode(),i=0,o=p(),r=o.length;i",a)||this.op(e,"<",s)&&this.op(e,">",a))&&l.push(n);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],c.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:r,n=this.$element.children(e).width(),t.length&&n<=0&&this.preloadAutoWidthImages(t));this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('
'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},c.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,n=-1,i=null;t?(l.each(t,function(t){t<=e&&n").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},c.prototype.update=function(){for(var t=0,e=this._pipe.length,n=l.proxy(function(t){return this[t]},this._invalidated),i={};t",s[t+1]||e-r)&&(o="left"===i?t+1:t),-1===o},this)),this.settings.loop||(this.op(n,">",s[this.minimum()])?o=n=this.minimum():this.op(n,"<",s[this.maximum()])&&(o=n=this.maximum())),o},c.prototype.animate=function(t){var e=0s/2&&(o+=-1*r*s),(i=(((t=n+o)-a)%s+s)%s+a)!==t&&i-o<=l&&0":return i?t=":return i?t<=n:n<=t;case"<=":return i?n<=t:t<=n}},c.prototype.on=function(t,e,n,i){t.addEventListener?t.addEventListener(e,n,i):t.attachEvent&&t.attachEvent("on"+e,n)},c.prototype.off=function(t,e,n,i){t.removeEventListener?t.removeEventListener(e,n,i):t.detachEvent&&t.detachEvent("on"+e,n)},c.prototype.trigger=function(t,e,n,i,o){var r={item:{count:this._items.length,index:this.current()}},s=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},r,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:c.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[s]&&this.settings[s].call(this,a)),a},c.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===r&&(this._states.current[e]=0),this._states.current[e]++},this))},c.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},c.prototype.register=function(n){if(n.type===c.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
',n=l.lazyLoad?'
':'
',e.after(n),e.after('
')};if(e.wrap('
"),this._core.settings.lazyLoad&&(s="data-src",a="owl-lazy"),r.length)return c(r.attr(s)),r.remove(),!1;"youtube"===t.type?(i="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",c(i)):"vimeo"===t.type?u.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){i=t[0].thumbnail_large,c(i)}}):"vzaar"===t.type&&u.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){i=t.framegrab_url,c(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=u(t.target).closest("."+this._core.settings.itemClass),i=this._videos[n.attr("data-video")],o=i.width||"100%",r=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()),"youtube"===i.type?e='':"vimeo"===i.type?e='':"vzaar"===i.type&&(e=''),u('
'+e+"
").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&&u(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)},u.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,window,document),function(s,t,e,n){var i=function(t){this.core=t,this.core.options=s.extend({},i.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":s.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":s.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":s.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&&s.support.animation&&s.support.transition){this.core.speed(0);var t,e=s.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),i=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(s.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(r)),o&&i.one(s.support.animation.end,e).addClass("animated owl-animated-in").addClass(o))}},i.prototype.clear=function(t){s(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)},s.fn.owlCarousel.Constructor.Plugins.Animate=i}(window.Zepto||window.jQuery,window,document),function(n,i,o,t){var e=function(t){this._core=t,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":n.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":n.proxy(function(t,e,n){t.namespace&&this.play(e,n)},this),"stop.owl.autoplay":n.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=n.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},e.prototype._getNextTimeout=function(t,e){return this._timeout&&i.clearTimeout(this._timeout),i.setTimeout(n.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||o.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},this),t||this._core.settings.autoplayTimeout)},e.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},e.prototype.stop=function(){this._core.is("rotating")&&(i.clearTimeout(this._timeout),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},e.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},n.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(r,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":r.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('
'+r(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":r.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":r.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":r.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":r.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":r.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=r.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers)};i.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",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?r(n.navContainer):r("
").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=r("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",r.proxy(function(t){this.prev(n.navSpeed)},this)),this._controls.$next=r("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",r.proxy(function(t){this.next(n.navSpeed)},this)),n.dotsData||(this._templates=[r("
").addClass(n.dotClass).append(r("")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?r(n.dotsContainer):r("
").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",r.proxy(function(t){var e=r(t.target).parent().is(this._controls.$absolute)?r(t.target).index():r(t.target).parent().index();t.preventDefault(),this.to(e,n.dotsSpeed)},this)),this._overrides)this._core[t]=r.proxy(this[t],this)},i.prototype.destroy=function(){var t,e,n,i;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)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,o=this._core.maximum(!0),r=this._core.settings,s=r.center||r.autoWidth||r.dotsData?1:r.dotsEach||r.items;if("page"!==r.slideBy&&(r.slideBy=Math.min(r.slideBy,r.items)),r.dots||"page"==r.slideBy)for(this._pages=[],t=n,e=0;t=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=n},this)).pop()},i.prototype.getPosition=function(t){var e,n,i=this._core.settings;return"page"==i.slideBy?(e=r.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){r.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},i.prototype.prev=function(t){r.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,r.proxy(this._overrides.to,this._core)(this._pages[(t%i+i)%i].start,e)):r.proxy(this._overrides.to,this._core)(t,e)},r.fn.owlCarousel.Constructor.Plugins.Navigation=i}(window.Zepto||window.jQuery,window,document),function(i,o,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(o).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||o.location.hash.slice(1)===e)return;o.location.hash=e}},this)},this._core.options=i.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers),i(o).on("hashchange.owl.navigation",i.proxy(function(t){var e=o.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(o).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.Hash=n}(window.Zepto||window.jQuery,window,document),function(o,t,e,r){function n(t,n){var i=!1,e=t.charAt(0).toUpperCase()+t.slice(1);return o.each((t+" "+a.join(e+" ")+e).split(" "),function(t,e){if(s[e]!==r)return i=!n||e,!1}),i}function i(t){return n(t,!0)}var s=o("").get(0).style,a="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},c=function(){return!!n("transform")},u=function(){return!!n("perspective")},h=function(){return!!n("animation")};(function(){return!!n("transition")})()&&(o.support.transition=new String(i("transition")),o.support.transition.end=l.transition.end[o.support.transition]),h()&&(o.support.animation=new String(i("animation")),o.support.animation.end=l.animation.end[o.support.animation]),c()&&(o.support.transform=new String(i("transform")),o.support.transform3d=u())}(window.Zepto||window.jQuery,window,document),function(u){var i=-1,o=-1,h=function(t){return parseFloat(t)||0},p=function(t){var e={byRow:!0,remove:!1,property:"height"};return"object"==typeof t&&(e=u.extend(e,t)),"boolean"==typeof t&&(e.byRow=t),"remove"===t&&(e.remove=!0),e},d=u.fn.matchHeight=function(t){if((t=p(t)).remove){var n=this;return this.css(t.property,""),u.each(d._groups,function(t,e){e.elements=e.elements.not(n)}),this}return this.length<=1||(d._groups.push({elements:this,options:t}),d._apply(this,t)),this};d._groups=[],d._throttle=80,d._maintainScroll=!1,d._beforeUpdate=null,d._afterUpdate=null,d._apply=function(t,e){var i,o,r=p(e),n=u(t),s=[n],a=u(window).scrollTop(),l=u("html").outerHeight(!0),c=n.parents().filter(":hidden");return c.css("display","block"),r.byRow&&(n.each(function(){var t=u(this),e="inline-block"===t.css("display")?"inline-block":"block";t.data("style-cache",t.attr("style")),t.css({display:e,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px"})}),i=null,o=[],u(n).each(function(){var t=u(this),e=t.offset().top-h(t.css("margin-top")),n=0i&&(i=t.outerHeight(!1)),t.css("display","")}),n.each(function(){var t=u(this),e=0;"border-box"!==t.css("box-sizing")&&(e+=h(t.css("border-top-width"))+h(t.css("border-bottom-width")),e+=h(t.css("padding-top"))+h(t.css("padding-bottom"))),t.css(r.property,i-e)}))}),c.css("display",""),d._maintainScroll&&u(window).scrollTop(a/l*u("html").outerHeight(!0)),this},d._applyDataApi=function(){var n={};u("[data-match-height], [data-mh]").each(function(){var t=u(this),e=t.attr("data-match-height")||t.attr("data-mh");n[e]=e in n?n[e].add(t):t}),u.each(n,function(){this.matchHeight(!0)})};var r=function(t){d._beforeUpdate&&d._beforeUpdate(t,d._groups),u.each(d._groups,function(){d._apply(this.elements,this.options)}),d._afterUpdate&&d._afterUpdate(t,d._groups)};d._update=function(t,e){if(e&&"resize"===e.type){var n=u(window).width();if(n===i)return;i=n}t?-1===o&&(o=setTimeout(function(){r(e),o=-1},d._throttle)):r(e)},u(d._applyDataApi),u(window).bind("load",function(t){d._update(!1,t)}),u(window).bind("resize orientationchange",function(t){d._update(!0,t)})}(jQuery),function(){var e,n,t=[].indexOf||function(t){for(var e=0,n=this.length;eo.oldScroll,n=e?o.forward:o.backward,l.each(i.waypoints[t],function(t,e){var n,i;return o.oldScroll<(n=e.offset)&&n<=o.newScroll?r.push(e):o.newScroll<(i=e.offset)&&i<=o.oldScroll?r.push(e):void 0}),r.sort(function(t,e){return t.offset-e.offset}),e||r.reverse(),l.each(r,function(t,e){if(e.options.continuous||t===r.length-1)return e.trigger([n])})}),this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},t.prototype.refresh=function(){var t,e,n,i=this;return n=l.isWindow(this.element),e=this.$element.offset(),this.doScroll(),t={horizontal:{contextOffset:n?0:e.left,contextScroll:n?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:n?0:e.top,contextScroll:n?0:this.oldScroll.y,contextDimension:n?l[y]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}},l.each(t,function(t,a){return l.each(i.waypoints[t],function(t,e){var n,i,o,r,s;if(n=e.options.offset,o=e.offset,i=l.isWindow(e.element)?0:e.$element.offset()[a.offsetProp],l.isFunction(n)?n=n.apply(e.element):"string"==typeof n&&(n=parseFloat(n),-1(s=a.oldScroll)&&s>=e.offset?e.trigger([a.forward]):null===o&&a.oldScroll>=e.offset?e.trigger([a.forward]):void 0})})},t.prototype.checkEmpty=function(){if(l.isEmptyObject(this.waypoints.horizontal)&&l.isEmptyObject(this.waypoints.vertical))return this.$element.unbind([d,f].join(" ")),delete h[this.id]},t}(),a=function(){function t(t,e,n){var i,o;"bottom-in-view"===(n=l.extend({},l.fn[v].defaults,n)).offset&&(n.offset=function(){var t;return t=l[y]("viewportHeight"),l.isWindow(e.element)||(t=e.$element.height()),t-l(this).outerHeight()}),this.$element=t,this.element=t[0],this.axis=n.horizontal?"horizontal":"vertical",this.callback=n.handler,this.context=e,this.enabled=n.enabled,this.id="waypoints"+g++,this.offset=null,this.options=n,e.waypoints[this.axis][this.id]=this,c[this.axis][this.id]=this,(i=null!=(o=t.data(m))?o:[]).push(this.id),t.data(m,i)}return t.prototype.trigger=function(t){if(this.enabled)return null!=this.callback&&this.callback.apply(this.element,t),this.options.triggerOnce?this.destroy():void 0},t.prototype.disable=function(){return this.enabled=!1},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0},t.prototype.destroy=function(){return delete c[this.axis][this.id],delete this.context.waypoints[this.axis][this.id],this.context.checkEmpty()},t.getWaypointsByElement=function(t){var e,n;return(n=l(t).data(m))?(e=l.extend({},c.horizontal,c.vertical),l.map(n,function(t){return e[t]})):[]},t}(),i={init:function(t,o){return null==o&&(o={}),null==o.handler&&(o.handler=t),this.each(function(){var t,e,n,i;return t=l(this),n=null!=(i=o.context)?i:l.fn[v].defaults.context,l.isWindow(n)||(n=t.closest(n)),n=l(n),(e=h[n.data(u)])||(e=new s(n)),new a(t,e,o)}),l[y]("refresh"),this},disable:function(){return i._invoke(this,"disable")},enable:function(){return i._invoke(this,"enable")},destroy:function(){return i._invoke(this,"destroy")},prev:function(t,e){return i._traverse.call(this,t,e,function(t,e,n){if(0t.oldScroll.y})},left:function(t){return null==t&&(t=r),p._filter(t,"horizontal",function(t,e){return e.offset<=t.oldScroll.x})},right:function(t){return null==t&&(t=r),p._filter(t,"horizontal",function(t,e){return e.offset>t.oldScroll.x})},enable:function(){return p._invoke("enable")},disable:function(){return p._invoke("disable")},destroy:function(){return p._invoke("destroy")},extendFn:function(t,e){return i[t]=e},_invoke:function(n){var t;return t=l.extend({},c.vertical,c.horizontal),l.each(t,function(t,e){return e[n](),!0})},_filter:function(t,e,n){var i,o;return(i=h[l(t).data(u)])?(o=[],l.each(i.waypoints[e],function(t,e){if(n(i,e))return o.push(e)}),o.sort(function(t,e){return t.offset-e.offset}),l.map(o,function(t){return t.element})):[]}},l[y]=function(){var t,e;return e=arguments[0],t=2<=arguments.length?w.call(arguments,1):[],p[e]?p[e].apply(null,t):p.aggregate.call(null,e)},l[y].settings={resizeThrottle:100,scrollThrottle:30},e.load(function(){return l[y]("refresh")})},"function"==typeof define&&define.amd?define("waypoints",["jquery"],function(t){return n(t,e)}):n(e.jQuery,e)}.call(this),function(n){"use strict";n.fn.counterUp=function(t){var e=n.extend({time:400,delay:10},t);return this.each(function(){var l=n(this),c=e;l.waypoint(function(){var t=[],e=c.time/c.delay,n=l.text(),i=/[0-9]+,[0-9]+/.test(n);n=n.replace(/,/g,"");/^[0-9]+$/.test(n);for(var o=/^[0-9]+\.[0-9]+$/.test(n),r=o?(n.split(".")[1]||[]).length:0,s=e;1<=s;s--){var a=parseInt(n/e*s);if(o&&(a=parseFloat(n/e*s).toFixed(r)),i)for(;/(\d+)(\d{3})/.test(a.toString());)a=a.toString().replace(/(\d+)(\d{3})/,"$1,$2");t.unshift(a)}l.data("counterup-nums",t),l.text("0");l.data("counterup-func",function(){l.text(l.data("counterup-nums").shift()),l.data("counterup-nums").length?setTimeout(l.data("counterup-func"),c.delay):(l.data("counterup-nums"),l.data("counterup-nums",null),l.data("counterup-func",null))}),setTimeout(l.data("counterup-func"),c.delay)},{offset:"100%",triggerOnce:!0})})}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(u){var h,i,p,o,d,e,l="Close",c="BeforeClose",f="MarkupParse",g="Open",m=".mfp",v="mfp-ready",n="mfp-removing",s="mfp-prevent-close",t=function(){},a=!!window.jQuery,y=u(window),w=function(t,e){h.ev.on("mfp"+t+m,e)},b=function(t,e,n,i){var o=document.createElement("div");return o.className="mfp-"+t,n&&(o.innerHTML=n),i?e&&e.appendChild(o):(o=u(o),e&&o.appendTo(e)),o},x=function(t,e){h.ev.triggerHandler("mfp"+t,e),h.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),h.st.callbacks[t]&&h.st.callbacks[t].apply(h,u.isArray(e)?e:[e]))},C=function(t){return t===e&&h.currTemplate.closeBtn||(h.currTemplate.closeBtn=u(h.st.closeMarkup.replace("%title%",h.st.tClose)),e=t),h.currTemplate.closeBtn},r=function(){u.magnificPopup.instance||((h=new t).init(),u.magnificPopup.instance=h)};t.prototype={constructor:t,init:function(){var t=navigator.appVersion;h.isLowIE=h.isIE8=document.all&&!document.addEventListener,h.isAndroid=/android/gi.test(t),h.isIOS=/iphone|ipad|ipod/gi.test(t),h.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),h.probablyMobile=h.isAndroid||h.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),p=u(document),h.popupsCache={}},open:function(t){var e;if(!1===t.isObj){h.items=t.items.toArray(),h.index=0;var n,i=t.items;for(e=0;e(t||y.height())},_setFocus:function(){(h.st.focus?h.content.find(h.st.focus).eq(0):h.wrap).focus()},_onFocusIn:function(t){return t.target===h.wrap[0]||u.contains(h.wrap[0],t.target)?void 0:(h._setFocus(),!1)},_parseMarkup:function(o,t,e){var r;e.data&&(t=u.extend(e.data,t)),x(f,[o,t,e]),u.each(t,function(t,e){if(void 0===e||!1===e)return!0;if(1<(r=t.split("_")).length){var n=o.find(m+"-"+r[0]);if(0").attr("src",e).attr("class",n.attr("class"))):n.attr(r[1],e)}}else o.find(m+"-"+t).html(e)})},_getScrollbarSize:function(){if(void 0===h.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),h.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return h.scrollbarSize}},u.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(t,e){return r(),(t=t?u.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return u.magnificPopup.instance&&u.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&(u.magnificPopup.defaults[t]=e.options),u.extend(this.proto,e.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},u.fn.magnificPopup=function(t){r();var e=u(this);if("string"==typeof t)if("open"===t){var n,i=a?e.data("magnificPopup"):e[0].magnificPopup,o=parseInt(arguments[1],10)||0;n=i.items?i.items[o]:(n=e,i.delegate&&(n=n.find(i.delegate)),n.eq(o)),h._openClick({mfpEl:n},e,i)}else h.isOpen&&h[t].apply(h,Array.prototype.slice.call(arguments,1));else t=u.extend(!0,{},t),a?e.data("magnificPopup",t):e[0].magnificPopup=t,h.addGroup(e,t);return e};var _,T,S,k="inline",E=function(){S&&(T.after(S.addClass(_)).detach(),S=null)};u.magnificPopup.registerModule(k,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){h.types.push(k),w(l+"."+k,function(){E()})},getInline:function(t,e){if(E(),t.src){var n=h.st.inline,i=u(t.src);if(i.length){var o=i[0].parentNode;o&&o.tagName&&(T||(_=n.hiddenClass,T=b(_),_="mfp-"+_),S=i.after(T).detach().removeClass(_)),h.updateStatus("ready")}else h.updateStatus("error",n.tNotFound),i=u("
");return t.inlineElement=i}return h.updateStatus("ready"),h._parseMarkup(e,{},t),e}}});var $,D="ajax",N=function(){$&&u(document.body).removeClass($)},I=function(){N(),h.req&&h.req.abort()};u.magnificPopup.registerModule(D,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){h.types.push(D),$=h.st.ajax.cursor,w(l+"."+D,I),w("BeforeChange."+D,I)},getAjax:function(o){$&&u(document.body).addClass($),h.updateStatus("loading");var t=u.extend({url:o.src,success:function(t,e,n){var i={data:t,xhr:n};x("ParseAjax",i),h.appendContent(u(i.data),D),o.finished=!0,N(),h._setFocus(),setTimeout(function(){h.wrap.addClass(v)},16),h.updateStatus("ready"),x("AjaxContentAdded")},error:function(){N(),o.finished=o.loadError=!0,h.updateStatus("error",h.st.ajax.tError.replace("%url%",o.src))}},h.st.ajax.settings);return h.req=u.ajax(t),""}}});var j;u.magnificPopup.registerModule("image",{options:{markup:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var t=h.st.image,e=".image";h.types.push("image"),w(g+e,function(){"image"===h.currItem.type&&t.cursor&&u(document.body).addClass(t.cursor)}),w(l+e,function(){t.cursor&&u(document.body).removeClass(t.cursor),y.off("resize"+m)}),w("Resize"+e,h.resizeImage),h.isLowIE&&w("AfterChange",h.resizeImage)},resizeImage:function(){var t=h.currItem;if(t&&t.img&&h.st.image.verticalFit){var e=0;h.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",h.wH-e)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,j&&clearInterval(j),t.isCheckingImgSize=!1,x("ImageHasSize",t),t.imgHidden&&(h.content&&h.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(e){var n=0,i=e.img[0],o=function(t){j&&clearInterval(j),j=setInterval(function(){return 0
',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){h.types.push(O),w("BeforeChange",function(t,e,n){e!==n&&(e===O?P():n===O&&P(!0))}),w(l+"."+O,function(){P()})},getIframe:function(t,e){var n=t.src,i=h.st.iframe;u.each(i.patterns,function(){return-1',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=h.st.gallery,t=".mfp-gallery";return h.direction=!0,!(!r||!r.enabled)&&(d+=" mfp-gallery",w(g+t,function(){r.navigateByImgClick&&h.wrap.on("click"+t,".mfp-img",function(){return 1=h.index,h.index=t,h.updateItemHTML()},preloadNearbyImages:function(){var t,e=h.st.gallery.preload,n=Math.min(e[0],h.items.length),i=Math.min(e[1],h.items.length);for(t=1;t<=(h.direction?i:n);t++)h._preloadItem(h.index+t);for(t=1;t<=(h.direction?n:i);t++)h._preloadItem(h.index-t)},_preloadItem:function(t){if(t=z(t),!h.items[t].preloaded){var e=h.items[t];e.parsed||(e=h.parseEl(t)),x("LazyLoad",e),"image"===e.type&&(e.img=u('').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,x("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0}}}});var H="retina";u.magnificPopup.registerModule(H,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(1 li > ul, .navigation-menu > li > ul").parent("li").addClass("hasmenu"),a(".sidenav-wrapper .nav > li.hasmenu, .navigation-menu > li.hasmenu").prepend(''),a(".navtrigger").on("click",function(){var t=a(this).parent("li").find("ul");if(a(t).is(":visible"))return a(this).removeClass("nav-open"),a(t).slideUp("normal"),!1;a(".navtrigger").removeClass("nav-open"),a(".sidenav-wrapper .nav > li > ul").slideUp("normal"),a(this).addClass("nav-open"),a(t).slideDown("normal")}),a(".search-trigger").on("click",function(){return a(".search-wrapper").addClass("open"),!1}),a(".close-search").on("click",function(){return a(".search-wrapper").removeClass("open"),!1}),a(".count-number").length&&a(".count-number").counterUp({delay:30,time:1e3}),0!==a(".progress-section").length){var e=!1;a(".progress-bar-value").hide(),0===a(l).scrollTop()&&!0===n(a(".progress-section"))?(s(),e=!0):!0===n(a(".progress-section"))&&(s(),e=!0),a(l).bind("scroll",function(){!1===e&&!0===n(a(".progress-section"))&&(s(),e=!0)})}function n(t){var e=a(l).scrollTop(),n=e+a(l).height(),i=a(t).offset().top;return i+a(t).height()<=n+a(t).height()&&i>=e-a(t).height()}function s(){setTimeout(function(){a(".progress-bar-value").each(function(){a(this).data("origWidth",a(this)[0].style.width).css("width","1%").show(),a(this).animate({width:a(this).data("origWidth")},1200)})},250)}a(".progress-bar-value").each(function(){var t=a(this).attr("data-percentage");a(this).css("width",""+t)}),a(".team-box, .project-box, .service-col, .feature-col").on("touchstart",function(t){fire(t)}),a('[data-toggle="tooltip"]').tooltip(),a(l).on("load",function(){a(".masonry").length&&a(".masonry").masonry({columnWidth:".grid-sizer",itemSelector:".grid-item",percentPosition:!0})}),a(".countdown").length&&a(".countdown").downCount({date:"06/10/2019 12:00:00",offset:10})})}(jQuery,window,document);