";var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+H+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),s.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(p.matchesSelector=ee.test(v=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&ue(function(e){p.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),u.push("!=",W)}),g=g.length&&new RegExp(g.join("|")),u=u.length&&new RegExp(u.join("|")),t=ee.test(s.compareDocumentPosition),y=t||ee.test(s.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return c=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===i?e==T||e.ownerDocument==b&&y(b,e)?-1:t==T||t.ownerDocument==b&&y(b,t)?1:l?F(l,e)-F(l,t):0:4&i?-1:1)}:function(e,t){if(e===t)return c=!0,0;var i,n=0,r=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!r||!o)return e==T?-1:t==T?1:r?-1:o?1:l?F(l,e)-F(l,t):0;if(r===o)return he(e,t);for(i=e;i=i.parentNode;)a.unshift(i);for(i=t;i=i.parentNode;)s.unshift(i);for(;a[n]===s[n];)n++;return n?he(a[n],s[n]):a[n]==b?-1:s[n]==b?1:0}),T},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(C(e),p.matchesSelector&&S&&!P[t+" "]&&(!u||!u.test(t))&&(!g||!g.test(t)))try{var i=v.call(e,t);if(i||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){P(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ne,d),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,d),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&U.test(i)&&(t=f(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ne,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=_[e+" "];return t||(t=new RegExp("(^|"+H+")"+e+"("+H+"|$)"))&&_(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(i,n,r){return function(e){var t=se.attr(e,i);return null==t?"!="===n:!n||(t+="","="===n?t===r:"!="===n?t!==r:"^="===n?r&&0===t.indexOf(r):"*="===n?r&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function M(e,i,n){return b(i)?k.grep(e,function(e,t){return!!i.call(e,t,e)!==n}):i.nodeType?k.grep(e,function(e){return e===i!==n}):"string"!=typeof i?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,i){var n,r;if(!e)return this;if(i=i||I,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==i.ready?i.ready(e):e(k):k.makeArray(e,this);if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:P.exec(e))||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:S,!0)),_.test(n[1])&&k.isPlainObject(t))for(n in t)b(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(r=S.getElementById(n[2]))&&(this[0]=r,this.length=1),this}).prototype=k.fn,I=k(S);var A=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),i=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,pe=S.createDocumentFragment().appendChild(S.createElement("div"));(ce=S.createElement("input")).setAttribute("type","radio"),ce.setAttribute("checked","checked"),ce.setAttribute("name","t"),pe.appendChild(ce),y.checkClone=pe.cloneNode(!0).cloneNode(!0).lastChild.checked,pe.innerHTML="",y.noCloneChecked=!!pe.cloneNode(!0).lastChild.defaultValue,pe.innerHTML="",y.option=!!pe.lastChild;var fe={thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};function me(e,t){var i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&E(e,t)?k.merge([e],i):i}function ge(e,t){for(var i=0,n=e.length;i",""]);var ve=/<|?\w+;/;function ye(e,t,i,n,r){for(var o,a,s,l,c,u,d=t.createDocumentFragment(),h=[],p=0,f=e.length;p\s*$/g;function Pe(e,t){return E(e,"table")&&E(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Ae(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function De(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var i,n,r,o,a,s;if(1===t.nodeType){if(U.hasData(e)&&(s=U.get(e).events))for(r in U.remove(t,"handle events"),s)for(i=0,n=s[r].length;i").attr(i.scriptAttrs||{}).prop({charset:i.scriptCharset,src:i.url}).on("load error",r=function(e){n.remove(),r=null,e&&t("error"===e.type?404:200,e.type)}),S.head.appendChild(n[0])},abort:function(){r&&r()}}});var Jt,ei=[],ti=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=ei.pop()||k.expando+"_"+Dt.guid++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,i){var n,r,o,a=!1!==e.jsonp&&(ti.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&ti.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return n=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(ti,"$1"+n):!1!==e.jsonp&&(e.url+=(Ot.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return o||k.error(n+" was not called"),o[0]},e.dataTypes[0]="json",r=T[n],T[n]=function(){o=arguments},i.always(function(){void 0===r?k(T).removeProp(n):T[n]=r,e[n]&&(e.jsonpCallback=t.jsonpCallback,ei.push(n)),o&&b(r)&&r(o[0]),o=r=void 0}),"script"}),y.createHTMLDocument=((Jt=S.implementation.createHTMLDocument("").body).innerHTML="",2===Jt.childNodes.length),k.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(y.createHTMLDocument?((n=(t=S.implementation.createHTMLDocument("")).createElement("base")).href=S.location.href,t.head.appendChild(n)):t=S),o=!i&&[],(r=_.exec(e))?[t.createElement(r[1])]:(r=ye([e],t,o),o&&o.length&&k(o).remove(),k.merge([],r.childNodes)));var n,r,o},k.fn.load=function(e,t,i){var n,r,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(n):e)}).always(i&&function(e,t){a.each(function(){i.apply(this,o||[e.responseText,t,e])})}),this},k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,i){var n,r,o,a,s,l,c=k.css(e,"position"),u=k(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),o=k.css(e,"top"),l=k.css(e,"left"),r=("absolute"===c||"fixed"===c)&&-1<(o+l).indexOf("auto")?(a=(n=u.position()).top,n.left):(a=parseFloat(o)||0,parseFloat(l)||0),b(t)&&(t=t.call(e,i,k.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+r),"using"in t?t.using.call(e,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),u.css(d))}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],r={top:0,left:0};if("fixed"===k.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((r=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),r.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-k.css(n,"marginTop",!0),left:t.left-r.left-k.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var o="pageYOffset"===r;k.fn[t]=function(e){return V(this,function(e,t,i){var n;return m(e)?n=e:9===e.nodeType&&(n=e.defaultView),void 0===i?n?n[r]:e[t]:void(n?n.scrollTo(o?n.pageXOffset:i,o?i:n.pageYOffset):e[t]=i)},t,e,arguments.length)}}),k.each(["top","left"],function(e,i){k.cssHooks[i]=Ge(y.pixelPosition,function(e,t){if(t)return t=Ue(e,i),qe.test(t)?k(e).position()[i]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(n,o){k.fn[o]=function(e,t){var i=arguments.length&&(n||"boolean"!=typeof e),r=n||(!0===e||!0===t?"margin":"border");return V(this,function(e,t,i){var n;return m(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(n=e.documentElement,Math.max(e.body["scroll"+a],n["scroll"+a],e.body["offset"+a],n["offset"+a],n["client"+a])):void 0===i?k.css(e,t,r):k.style(e,t,i,r)},s,i?e:void 0,i)}})}),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.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(e,i){k.fn[i]=function(e,t){return 0").attr("name",n.submitButton.name).val(u(n.submitButton).val()).appendTo(n.currentForm)),!(n.settings.submitHandler&&!n.settings.debug)||(t=n.settings.submitHandler.call(n,n.currentForm,i),e&&e.remove(),void 0!==t&&t)}return n.settings.debug&&i.preventDefault(),n.cancelSubmit?(n.cancelSubmit=!1,e()):n.form()?n.pendingRequest?!(n.formSubmitted=!0):e():(n.focusInvalid(),!1)})),n)}e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var e,t,i;return u(this[0]).is("form")?e=this.validate().form():(i=[],e=!0,t=u(this[0].form).validate(),this.each(function(){(e=t.element(this)&&e)||(i=i.concat(t.errorList))}),t.errorList=i),e},rules:function(e,t){var i,n,r,o,a,s,l=this[0],c=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=l&&(!l.form&&c&&(l.form=this.closest("form")[0],l.name=this.attr("name")),null!=l.form)){if(e)switch(i=u.data(l.form,"validator").settings,n=i.rules,r=u.validator.staticRules(l),e){case"add":u.extend(r,u.validator.normalizeRule(t)),delete r.messages,n[l.name]=r,t.messages&&(i.messages[l.name]=u.extend(i.messages[l.name],t.messages));break;case"remove":return t?(s={},u.each(t.split(/\s/),function(e,t){s[t]=r[t],delete r[t]}),s):(delete n[l.name],r)}return(o=u.validator.normalizeRules(u.extend({},u.validator.classRules(l),u.validator.attributeRules(l),u.validator.dataRules(l),u.validator.staticRules(l)),l)).required&&(a=o.required,delete o.required,o=u.extend({required:a},o)),o.remote&&(a=o.remote,delete o.remote,o=u.extend(o,{remote:a})),o}}});function i(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var n;u.extend(u.expr.pseudos||u.expr[":"],{blank:function(e){return!i(""+u(e).val())},filled:function(e){var t=u(e).val();return null!==t&&!!i(""+t)},unchecked:function(e){return!u(e).prop("checked")}}),u.validator=function(e,t){this.settings=u.extend(!0,{},u.validator.defaults,e),this.currentForm=t,this.init()},u.validator.format=function(i,e){return 1===arguments.length?function(){var e=u.makeArray(arguments);return e.unshift(i),u.validator.format.apply(this,e)}:(void 0===e||(2Warning: No message defined for "+e.name+""),n=/\$?\{(\d+)\}/g;return"function"==typeof i?i=i.call(this,t.parameters,e):n.test(i)&&(i=u.validator.format(i.replace(n,"{$1}"),t.parameters)),i},formatAndAdd:function(e,t){var i=this.defaultMessage(e,t);this.errorList.push({message:i,element:e,method:t.method}),this.errorMap[e.name]=i,this.submitted[e.name]=i},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){for(var e,t,i=0;this.errorList[i];i++)t=this.errorList[i],this.settings.highlight&&this.settings.highlight.call(this,t.element,this.settings.errorClass,this.settings.validClass),this.showLabel(t.element,t.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(i=0;this.successList[i];i++)this.showLabel(this.successList[i]);if(this.settings.unhighlight)for(i=0,e=this.validElements();e[i];i++)this.settings.unhighlight.call(this,e[i],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 u(this.errorList).map(function(){return this.element})},showLabel:function(e,t){var i,n,r,o,a=this.errorsFor(e),s=this.idOrName(e),l=u(e).attr("aria-describedby");a.length?(a.removeClass(this.settings.validClass).addClass(this.settings.errorClass),a.html(t)):(i=a=u("<"+this.settings.errorElement+">").attr("id",s+"-error").addClass(this.settings.errorClass).html(t||""),this.settings.wrapper&&(i=a.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(i):this.settings.errorPlacement?this.settings.errorPlacement.call(this,i,u(e)):i.insertAfter(e),a.is("label")?a.attr("for",s):0===a.parents("label[for='"+this.escapeCssMeta(s)+"']").length&&(r=a.attr("id"),l?l.match(new RegExp("\\b"+this.escapeCssMeta(r)+"\\b"))||(l+=" "+r):l=r,u(e).attr("aria-describedby",l),(n=this.groups[e.name])&&(o=this,u.each(o.groups,function(e,t){t===n&&u("[name='"+o.escapeCssMeta(e)+"']",o.currentForm).attr("aria-describedby",a.attr("id"))})))),!t&&this.settings.success&&(a.text(""),"string"==typeof this.settings.success?a.addClass(this.settings.success):this.settings.success(a,e)),this.toShow=this.toShow.add(a)},errorsFor:function(e){var t=this.escapeCssMeta(this.idOrName(e)),i=u(e).attr("aria-describedby"),n="label[for='"+t+"'], label[for='"+t+"'] *";return i&&(n=n+", #"+this.escapeCssMeta(i).replace(/\s+/g,", #")),this.errors().filter(n)},escapeCssMeta:function(e){return e.replace(/([\\!"#$%&'()*+,.\/:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(e){return this.groups[e.name]||!this.checkable(e)&&e.id||e.name},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name)),u(e).not(this.settings.ignore)[0]},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(e){return u(this.currentForm).find("[name='"+this.escapeCssMeta(e)+"']")},getLength:function(e,t){switch(t.nodeName.toLowerCase()){case"select":return u("option:selected",t).length;case"input":if(this.checkable(t))return this.findByName(t.name).filter(":checked").length}return e.length},depend:function(e,t){return!this.dependTypes[typeof e]||this.dependTypes[typeof e](e,t)},dependTypes:{boolean:function(e){return e},string:function(e,t){return!!u(e,t.form).length},function:function(e,t){return e(t)}},optional:function(e){var t=this.elementValue(e);return!u.validator.methods.required.call(this,t,e)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,u(e).addClass(this.settings.pendingClass),this.pending[e.name]=!0)},stopRequest:function(e,t){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],u(e).removeClass(this.settings.pendingClass),t&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(u(this.currentForm).submit(),this.submitButton&&u("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!t&&0===this.pendingRequest&&this.formSubmitted&&(u(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e,t){return t="string"==typeof t&&t||"remote",u.data(e,"previousValue")||u.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,{method:t})})},destroy:function(){this.resetForm(),u(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-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(e,t){e.constructor===String?this.classRuleSettings[e]=t:u.extend(this.classRuleSettings,e)},classRules:function(e){var t={},i=u(e).attr("class");return i&&u.each(i.split(" "),function(){this in u.validator.classRuleSettings&&u.extend(t,u.validator.classRuleSettings[this])}),t},normalizeAttributeRule:function(e,t,i,n){/min|max|step/.test(i)&&(null===t||/number|range|text/.test(t))&&(n=Number(n),isNaN(n)&&(n=void 0)),n||0===n?e[i]=n:t===i&&"range"!==t&&(e[i]=!0)},attributeRules:function(e){var t,i,n={},r=u(e),o=e.getAttribute("type");for(t in u.validator.methods)i="required"===t?(""===(i=e.getAttribute(t))&&(i=!0),!!i):r.attr(t),this.normalizeAttributeRule(n,o,t,i);return n.maxlength&&/-1|2147483647|524288/.test(n.maxlength)&&delete n.maxlength,n},dataRules:function(e){var t,i,n={},r=u(e),o=e.getAttribute("type");for(t in u.validator.methods)""===(i=r.data("rule"+t.charAt(0).toUpperCase()+t.substring(1).toLowerCase()))&&(i=!0),this.normalizeAttributeRule(n,o,t,i);return n},staticRules:function(e){var t={},i=u.data(e.form,"validator");return i.settings.rules&&(t=u.validator.normalizeRule(i.settings.rules[e.name])||{}),t},normalizeRules:function(n,r){return u.each(n,function(e,t){if(!1!==t){if(t.param||t.depends){var i=!0;switch(typeof t.depends){case"string":i=!!u(t.depends,r.form).length;break;case"function":i=t.depends.call(r,r)}i?n[e]=void 0===t.param||t.param:(u.data(r.form,"validator").resetElements(u(r)),delete n[e])}}else delete n[e]}),u.each(n,function(e,t){n[e]=u.isFunction(t)&&"normalizer"!==e?t(r):t}),u.each(["minlength","maxlength"],function(){n[this]&&(n[this]=Number(n[this]))}),u.each(["rangelength","range"],function(){var e;n[this]&&(u.isArray(n[this])?n[this]=[Number(n[this][0]),Number(n[this][1])]:"string"==typeof n[this]&&(e=n[this].replace(/[\[\]]/g,"").split(/[\s,]+/),n[this]=[Number(e[0]),Number(e[1])]))}),u.validator.autoCreateRanges&&(null!=n.min&&null!=n.max&&(n.range=[n.min,n.max],delete n.min,delete n.max),null!=n.minlength&&null!=n.maxlength&&(n.rangelength=[n.minlength,n.maxlength],delete n.minlength,delete n.maxlength)),n},normalizeRule:function(e){var t;return"string"==typeof e&&(t={},u.each(e.split(/\s/),function(){t[this]=!0}),e=t),e},addMethod:function(e,t,i){u.validator.methods[e]=t,u.validator.messages[e]=void 0!==i?i:u.validator.messages[e],t.length<3&&u.validator.addClassRules(e,u.validator.normalizeRule(e))},methods:{required:function(e,t,i){if(!this.depend(i,t))return"dependency-mismatch";if("select"!==t.nodeName.toLowerCase())return this.checkable(t)?0=i[0]&&n<=i[1]},min:function(e,t,i){return this.optional(t)||i<=e},max:function(e,t,i){return this.optional(t)||e<=i},range:function(e,t,i){return this.optional(t)||e>=i[0]&&e<=i[1]},step:function(e,t,i){function n(e){var t=(""+e).match(/(?:\.(\d+))?$/);return t&&t[1]?t[1].length:0}function r(e){return Math.round(e*Math.pow(10,o))}var o,a=u(t).attr("type"),s="Step attribute on input type "+a+" is not supported.",l=new RegExp("\\b"+a+"\\b"),c=!0;if(a&&!l.test(["text","number","range"].join()))throw new Error(s);return o=n(i),(n(e)>o||r(e)%r(i)!=0)&&(c=!1),this.optional(t)||c},equalTo:function(e,t,i){var n=u(i);return this.settings.onfocusout&&n.not(".validate-equalTo-blur").length&&n.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){u(t).valid()}),e===n.val()},remote:function(o,a,e,s){if(this.optional(a))return"dependency-mismatch";s="string"==typeof s&&s||"remote";var l,t,i,c=this.previousValue(a,s);return this.settings.messages[a.name]||(this.settings.messages[a.name]={}),c.originalMessage=c.originalMessage||this.settings.messages[a.name][s],this.settings.messages[a.name][s]=c.message,e="string"==typeof e?{url:e}:e,i=u.param(u.extend({data:o},e.data)),c.old===i?c.valid:(c.old=i,(l=this).startRequest(a),(t={})[a.name]=o,u.ajax(u.extend(!0,{mode:"abort",port:"validate"+a.name,dataType:"json",data:t,context:l.currentForm,success:function(e){var t,i,n,r=!0===e||"true"===e;l.settings.messages[a.name][s]=c.originalMessage,r?(n=l.formSubmitted,l.resetInternals(),l.toHide=l.errorsFor(a),l.formSubmitted=n,l.successList.push(a),l.invalid[a.name]=!1,l.showErrors()):(t={},i=e||l.defaultMessage(a,{method:s,parameters:o}),t[a.name]=c.message=i,l.invalid[a.name]=!0,l.showErrors(t)),c.valid=r,l.stopRequest(a,r)}},e)),"pending")}}});var r,o={};return u.ajaxPrefilter?u.ajaxPrefilter(function(e,t,i){var n=e.port;"abort"===e.mode&&(o[n]&&o[n].abort(),o[n]=i)}):(r=u.ajax,u.ajax=function(e){var t=("mode"in e?e:u.ajaxSettings).mode,i=("port"in e?e:u.ajaxSettings).port;return"abort"===t?(o[i]&&o[i].abort(),o[i]=r.apply(this,arguments),o[i]):r.apply(this,arguments)}),u}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,function(){"use strict";function o(e){return e&&"[object Function]"==={}.toString.call(e)}function x(e,t){if(1!==e.nodeType)return[];var i=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?i[t]:i}function f(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function m(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=x(e),i=t.overflow,n=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(i+r+n)?e:m(f(e))}function g(e){return e&&e.referenceNode?e.referenceNode:e}function v(e){return 11===e?$:10!==e&&$||q}function b(e){if(!e)return document.documentElement;for(var t=v(10)?document.body:null,i=e.offsetParent||null;i===t&&e.nextElementSibling;)i=(e=e.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===x(i,"position")?b(i):i:e?e.ownerDocument.documentElement:document.documentElement}function u(e){return null===e.parentNode?e:u(e.parentNode)}function y(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var i=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?e:t,r=i?t:e,o=document.createRange();o.setStart(n,0),o.setEnd(r,0);var a,s,l=o.commonAncestorContainer;if(e!==l&&t!==l||n.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&b(a.firstElementChild)!==a?b(l):l;var c=u(e);return c.host?y(c.host,t):y(e,u(t).host)}function w(e,t){var i="top"===(1=n.clientWidth&&i>=n.clientHeight}),d=0l[e]&&!n.escapeWithReference&&(i=F(u[t],l[e]-("right"===e?u.width:u.height))),R({},t,i)}};return c.forEach(function(e){var t=-1===["left","top"].indexOf(e)?"secondary":"primary";u=U({},u,d[t](e))}),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,i=t.popper,n=t.reference,r=e.placement.split("-")[0],o=z,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return i[s]o(n[s])&&(e.offsets.popper[l]=o(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var i;if(!L(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],o=e.offsets,a=o.popper,s=o.reference,l=-1!==["left","right"].indexOf(r),c=l?"height":"width",u=l?"Top":"Left",d=u.toLowerCase(),h=l?"left":"top",p=l?"bottom":"right",f=_(n)[c];s[p]-fa[p]&&(e.offsets.popper[d]+=s[d]+f-a[p]),e.offsets.popper=T(e.offsets.popper);var m=s[d]+s[c]/2-f/2,g=x(e.instance.popper),v=parseFloat(g["margin"+u]),y=parseFloat(g["border"+u+"Width"]),b=m-e.offsets.popper[d]-v-y,b=j(F(a[c]-f,b),0);return e.arrowElement=n,e.offsets.arrow=(R(i={},d,H(b)),R(i,h,""),i),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(g,v){if(e(g.instance.modifiers,"inner"))return g;if(g.flipped&&g.placement===g.originalPlacement)return g;var y=p(g.instance.popper,g.instance.reference,v.padding,v.boundariesElement,g.positionFixed),b=g.placement.split("-")[0],x=M(b),w=g.placement.split("-")[1]||"",C=[];switch(v.behavior){case Z:C=[b,x];break;case J:C=n(b);break;case ee:C=n(b,!0);break;default:C=v.behavior}return C.forEach(function(e,t){if(b!==e||C.length===t+1)return g;b=g.placement.split("-")[0],x=M(b);var i,n=g.offsets.popper,r=g.offsets.reference,o=z,a="left"===b&&o(n.right)>o(r.left)||"right"===b&&o(n.left)o(r.top)||"bottom"===b&&o(n.top)o(y.right),c=o(n.top)o(y.bottom),d="left"===b&&s||"right"===b&&l||"top"===b&&c||"bottom"===b&&u,h=-1!==["top","bottom"].indexOf(b),p=!!v.flipVariations&&(h&&"start"===w&&s||h&&"end"===w&&l||!h&&"start"===w&&c||!h&&"end"===w&&u),f=!!v.flipVariationsByContent&&(h&&"start"===w&&l||h&&"end"===w&&s||!h&&"start"===w&&u||!h&&"end"===w&&c),m=p||f;(a||d||m)&&(g.flipped=!0,(a||d)&&(b=C[t+1]),m&&(w="end"===(i=w)?"start":"start"===i?"end":i),g.placement=b+(w?"-"+w:""),g.offsets.popper=U({},g.offsets.popper,I(g.instance.popper,g.offsets.reference,g.placement)),g=A(g.instance.modifiers,g,"flip"))}),g},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,i=t.split("-")[0],n=e.offsets,r=n.popper,o=n.reference,a=-1!==["left","right"].indexOf(i),s=-1===["top","left"].indexOf(i);return r[a?"left":"top"]=o[i]-(s?r[a?"width":"height"]:0),e.placement=M(t),e.offsets.popper=T(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!L(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,i=P(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomi.right||t.top>i.bottom||t.rightthis._items.length-1||e<0))if(this._isSliding)f(this._element).one("slid.bs.carousel",function(){return t.to(e)});else{if(i===e)return this.pause(),void this.cycle();var n=idocument.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},j._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},j._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},re={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},oe=((Q=ae.prototype).enable=function(){this._isEnabled=!0},Q.disable=function(){this._isEnabled=!1},Q.toggleEnabled=function(){this._isEnabled=!this._isEnabled},Q.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,i=f(e.currentTarget).data(t);i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),f(e.currentTarget).data(t,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(f(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},Q.dispose=function(){clearTimeout(this._timeout),f.removeData(this.element,this.constructor.DATA_KEY),f(this.element).off(this.constructor.EVENT_KEY),f(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&f(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},Q.show=function(){var t=this;if("none"===f(this.element).css("display"))throw new Error("Please use show on visible elements");var e=f.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){f(this.element).trigger(e);var i=m.findShadowRoot(this.element),n=f.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!n)return;var r=this.getTipElement(),o=m.getUID(this.constructor.NAME);r.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&f(r).addClass("fade");var a="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,s=this._getAttachment(a);this.addAttachmentClass(s);var l=this._getContainer();f(r).data(this.constructor.DATA_KEY,this),f.contains(this.element.ownerDocument.documentElement,this.tip)||f(r).appendTo(l),f(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new d(this.element,r,this._getPopperConfig(s)),f(r).addClass("show"),"ontouchstart"in document.documentElement&&f(document.body).children().on("mouseover",null,f.noop);var c,u=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,f(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)};f(this.tip).hasClass("fade")?(c=m.getTransitionDurationFromElement(this.tip),f(this.tip).one(m.TRANSITION_END,u).emulateTransitionEnd(c)):u()}},Q.hide=function(e){function t(){"show"!==n._hoverState&&r.parentNode&&r.parentNode.removeChild(r),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),f(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()}var i,n=this,r=this.getTipElement(),o=f.Event(this.constructor.Event.HIDE);f(this.element).trigger(o),o.isDefaultPrevented()||(f(r).removeClass("show"),"ontouchstart"in document.documentElement&&f(document.body).children().off("mouseover",null,f.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,f(this.tip).hasClass("fade")?(i=m.getTransitionDurationFromElement(r),f(r).one(m.TRANSITION_END,t).emulateTransitionEnd(i)):t(),this._hoverState="")},Q.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},Q.isWithContent=function(){return Boolean(this.getTitle())},Q.addAttachmentClass=function(e){f(this.getTipElement()).addClass("bs-tooltip-"+e)},Q.getTipElement=function(){return this.tip=this.tip||f(this.config.template)[0],this.tip},Q.setContent=function(){var e=this.getTipElement();this.setElementContent(f(e.querySelectorAll(".tooltip-inner")),this.getTitle()),f(e).removeClass("fade show")},Q.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=G(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?f(t).parent().is(e)||e.empty().append(t):e.text(f(t).text())},Q.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},Q._getPopperConfig=function(e){var t=this;return a(a({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),this.config.popperConfig)},Q._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=a(a({},e.offsets),t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},Q._getContainer=function(){return!1===this.config.container?document.body:m.isElement(this.config.container)?f(this.config.container):f(document).find(this.config.container)},Q._getAttachment=function(e){return ie[e.toUpperCase()]},Q._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(e){var t,i;"click"===e?f(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(e){return n.toggle(e)}):"manual"!==e&&(t="hover"===e?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,i="hover"===e?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,f(n.element).on(t,n.config.selector,function(e){return n._enter(e)}).on(i,n.config.selector,function(e){return n._leave(e)}))}),this._hideModalHandler=function(){n.element&&n.hide()},f(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=a(a({},this.config),{},{trigger:"manual",selector:""}):this._fixTitle()},Q._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},Q._enter=function(e,t){var i=this.constructor.DATA_KEY;(t=t||f(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),f(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusin"===e.type?"focus":"hover"]=!0),f(t.getTipElement()).hasClass("show")||"show"===t._hoverState?t._hoverState="show":(clearTimeout(t._timeout),t._hoverState="show",t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){"show"===t._hoverState&&t.show()},t.config.delay.show):t.show())},Q._leave=function(e,t){var i=this.constructor.DATA_KEY;(t=t||f(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),f(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusout"===e.type?"focus":"hover"]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){"out"===t._hoverState&&t.hide()},t.config.delay.hide):t.hide())},Q._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},Q._getConfig=function(e){var t=f(this.element).data();return Object.keys(t).forEach(function(e){-1!==ee.indexOf(e)&&delete t[e]}),"number"==typeof(e=a(a(a({},this.constructor.Default),t),"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),m.typeCheckConfig(K,e,this.constructor.DefaultType),e.sanitize&&(e.template=G(e.template,e.whiteList,e.sanitizeFn)),e},Q._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},Q._cleanTipClass=function(){var e=f(this.getTipElement()),t=e.attr("class").match(J);null!==t&&t.length&&e.removeClass(t.join(""))},Q._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},Q._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(f(e).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},ae._jQueryInterface=function(i){return this.each(function(){var e=f(this).data("bs.tooltip"),t="object"==typeof i&&i;if((e||!/dispose|hide/.test(i))&&(e||(e=new ae(this,t),f(this).data("bs.tooltip",e)),"string"==typeof i)){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},o(ae,null,[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return ne}},{key:"NAME",get:function(){return K}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return re}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return te}}]),ae);function ae(e,t){if(void 0===d)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}f.fn[K]=oe._jQueryInterface,f.fn[K].Constructor=oe,f.fn[K].noConflict=function(){return f.fn[K]=Z,oe._jQueryInterface};var se="popover",le=f.fn[se],ce=new RegExp("(^|\\s)bs-popover\\S+","g"),ue=a(a({},oe.Default),{},{placement:"right",trigger:"click",content:"",template:''}),de=a(a({},oe.DefaultType),{},{content:"(string|element|function)"}),he={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},pe=function(e){var t,i;function n(){return e.apply(this,arguments)||this}i=e,(t=n).prototype=Object.create(i.prototype),(t.prototype.constructor=t).__proto__=i;var r=n.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(e){f(this.getTipElement()).addClass("bs-popover-"+e)},r.getTipElement=function(){return this.tip=this.tip||f(this.config.template)[0],this.tip},r.setContent=function(){var e=f(this.getTipElement());this.setElementContent(e.find(".popover-header"),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(".popover-body"),t),e.removeClass("fade show")},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var e=f(this.getTipElement()),t=e.attr("class").match(ce);null!==t&&0=this._offsets[r]&&(void 0===this._offsets[r+1]||e li > .active":".active",r=(r=f.makeArray(f(t).find(n)))[r.length-1]),o=f.Event("hide.bs.tab",{relatedTarget:this._element}),a=f.Event("show.bs.tab",{relatedTarget:r}),r&&f(r).trigger(o),f(this._element).trigger(a),a.isDefaultPrevented()||o.isDefaultPrevented()||(i&&(e=document.querySelector(i)),this._activate(this._element,t),s=function(){var e=f.Event("hidden.bs.tab",{relatedTarget:l._element}),t=f.Event("shown.bs.tab",{relatedTarget:r});f(r).trigger(e),f(l._element).trigger(t)},e?this._activate(e,e.parentNode,s):s()))},we.dispose=function(){f.removeData(this._element,"bs.tab"),this._element=null},we._activate=function(e,t,i){function n(){return o._transitionComplete(e,a,i)}var r,o=this,a=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?f(t).children(".active"):f(t).find("> li > .active"))[0],s=i&&a&&f(a).hasClass("fade");a&&s?(r=m.getTransitionDurationFromElement(a),f(a).removeClass("show").one(m.TRANSITION_END,n).emulateTransitionEnd(r)):n()},we._transitionComplete=function(e,t,i){var n,r,o;t&&(f(t).removeClass("active"),(n=f(t.parentNode).find("> .dropdown-menu .active")[0])&&f(n).removeClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)),f(e).addClass("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),m.reflow(e),e.classList.contains("fade")&&e.classList.add("show"),e.parentNode&&f(e.parentNode).hasClass("dropdown-menu")&&((r=f(e).closest(".dropdown")[0])&&(o=[].slice.call(r.querySelectorAll(".dropdown-toggle")),f(o).addClass("active")),e.setAttribute("aria-expanded",!0)),i&&i()},Se._jQueryInterface=function(i){return this.each(function(){var e=f(this),t=e.data("bs.tab");if(t||(t=new Se(this),e.data("bs.tab",t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},o(Se,null,[{key:"VERSION",get:function(){return"4.5.0"}}]),Se);function Se(e){this._element=e}f(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(e){e.preventDefault(),Te._jQueryInterface.call(f(this),"show")}),f.fn.tab=Te._jQueryInterface,f.fn.tab.Constructor=Te,f.fn.tab.noConflict=function(){return f.fn.tab=Ce,Te._jQueryInterface};var ke,Ee=f.fn.toast,_e={animation:"boolean",autohide:"boolean",delay:"number"},Me={animation:!0,autohide:!0,delay:500},Ie=((ke=Pe.prototype).show=function(){var e,t,i=this,n=f.Event("show.bs.toast");f(this._element).trigger(n),n.isDefaultPrevented()||(this._config.animation&&this._element.classList.add("fade"),e=function(){i._element.classList.remove("showing"),i._element.classList.add("show"),f(i._element).trigger("shown.bs.toast"),i._config.autohide&&(i._timeout=setTimeout(function(){i.hide()},i._config.delay))},this._element.classList.remove("hide"),m.reflow(this._element),this._element.classList.add("showing"),this._config.animation?(t=m.getTransitionDurationFromElement(this._element),f(this._element).one(m.TRANSITION_END,e).emulateTransitionEnd(t)):e())},ke.hide=function(){var e;this._element.classList.contains("show")&&(e=f.Event("hide.bs.toast"),f(this._element).trigger(e),e.isDefaultPrevented()||this._close())},ke.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains("show")&&this._element.classList.remove("show"),f(this._element).off("click.dismiss.bs.toast"),f.removeData(this._element,"bs.toast"),this._element=null,this._config=null},ke._getConfig=function(e){return e=a(a(a({},Me),f(this._element).data()),"object"==typeof e&&e?e:{}),m.typeCheckConfig("toast",e,this.constructor.DefaultType),e},ke._setListeners=function(){var e=this;f(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',function(){return e.hide()})},ke._close=function(){function e(){i._element.classList.add("hide"),f(i._element).trigger("hidden.bs.toast")}var t,i=this;this._element.classList.remove("show"),this._config.animation?(t=m.getTransitionDurationFromElement(this._element),f(this._element).one(m.TRANSITION_END,e).emulateTransitionEnd(t)):e()},Pe._jQueryInterface=function(i){return this.each(function(){var e=f(this),t=e.data("bs.toast");if(t||(t=new Pe(this,"object"==typeof i&&i),e.data("bs.toast",t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i](this)}})},o(Pe,null,[{key:"VERSION",get:function(){return"4.5.0"}},{key:"DefaultType",get:function(){return _e}},{key:"Default",get:function(){return Me}}]),Pe);function Pe(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}f.fn.toast=Ie._jQueryInterface,f.fn.toast.Constructor=Ie,f.fn.toast.noConflict=function(){return f.fn.toast=Ee,Ie._jQueryInterface},e.Alert=l,e.Button=p,e.Carousel=T,e.Collapse=P,e.Dropdown=z,e.Modal=$,e.Popover=pe,e.Scrollspy=be,e.Tab=Te,e.Toast=Ie,e.Tooltip=oe,e.Util=m,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Swiper=t()}(this,function(){"use strict";var m="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,ee="undefined"==typeof window?{document:m,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,l=function(e){for(var t=0;t")){var s="div";for(0===a.indexOf(":~]/)?(t||m).querySelectorAll(e.trim()):[m.getElementById(e.trim().split("#")[1])],n=0;nn.slides.length)break;r.push(n.slides.eq(a)[0])}else r.push(n.slides.eq(n.activeIndex)[0]);for(t=0;t=t.size)&&(t.visibleSlides.push(c),t.visibleSlidesIndexes.push(a),n.eq(a).addClass(i.slideVisibleClass))),c.progress=r?-u:u}t.visibleSlides=A(t.visibleSlides)}},updateProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,i=t.params,n=t.maxTranslate()-t.minTranslate(),r=t.progress,o=t.isBeginning,a=o,s=l=t.isEnd,l=0==n?o=!(r=0):(o=(r=(e-t.minTranslate())/n)<=0,1<=r);te.extend(t,{progress:r,isBeginning:o,isEnd:l}),(i.watchSlidesProgress||i.watchSlidesVisibility)&&t.updateSlidesProgress(e),o&&!a&&t.emit("reachBeginning toEdge"),l&&!s&&t.emit("reachEnd toEdge"),(a&&!o||s&&!l)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){var e,t=this.slides,i=this.params,n=this.$wrapperEl,r=this.activeIndex,o=this.realIndex,a=this.virtual&&i.virtual.enabled;t.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=a?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+r+'"]'):t.eq(r)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o+'"]').addClass(i.slideDuplicateActiveClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o+'"]').addClass(i.slideDuplicateActiveClass));var s=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===s.length&&(s=t.eq(0)).addClass(i.slideNextClass);var l=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===l.length&&(l=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(s.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),l.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i,n=this,r=n.rtlTranslate?n.translate:-n.translate,o=n.slidesGrid,a=n.snapGrid,s=n.params,l=n.activeIndex,c=n.realIndex,u=n.snapIndex,d=e;if(void 0===d){for(var h=0;h=o[h]&&r=o[h]&&r=o[h]&&(d=h);s.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}(t=0<=a.indexOf(r)?a.indexOf(r):Math.floor(d/s.slidesPerGroup))>=a.length&&(t=a.length-1),d!==l?(i=parseInt(n.slides.eq(d).attr("data-swiper-slide-index")||d,10),te.extend(n,{snapIndex:t,realIndex:i,previousIndex:l,activeIndex:d}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),c!==i&&n.emit("realIndexChange"),(n.initialized||n.runCallbacksOnInit)&&n.emit("slideChange")):t!==u&&(n.snapIndex=t,n.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,i=t.params,n=A(e.target).closest("."+i.slideClass)[0],r=!1;if(n)for(var o=0;o=s.length&&(h=s.length-1),(u||a.initialSlide||0)===(c||0)&&i&&r.emit("beforeSlideChangeStart");var p,f=-s[h];if(r.updateProgress(f),a.normalizeSlideIndex)for(var m=0;m=Math.floor(100*l[m])&&(o=m);if(r.initialized&&o!==u){if(!r.allowSlideNext&&fr.translate&&f>r.maxTranslate()&&(u||0)!==o)return!1}return p=ut.slides.length-t.loopedSlides+r/2?(t.loopFix(),o=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),te.nextTick(function(){t.slideTo(o)})):t.slideTo(o):o>t.slides.length-r?(t.loopFix(),o=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),te.nextTick(function(){t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}},C={loopCreate:function(){var n=this,e=n.params,t=n.$wrapperEl;t.children("."+e.slideClass+"."+e.slideDuplicateClass).remove();var r=t.children("."+e.slideClass);if(e.loopFillGroupWithBlank){var i=e.slidesPerGroup-r.length%e.slidesPerGroup;if(i!==e.slidesPerGroup){for(var o=0;or.length&&(n.loopedSlides=r.length);var s=[],l=[];r.each(function(e,t){var i=A(t);e=r.length-n.loopedSlides&&s.push(t),i.attr("data-swiper-slide-index",e)});for(var c=0;c=r.length-o)&&(e=-r.length+n+o,e+=o,t.slideTo(e,0,!1,!0)&&0!=u&&t.setTranslate((c?-t.translate:t.translate)-u)),t.allowSlidePrev=a,t.allowSlideNext=s},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},T={setGrabCursor:function(e){var t;ie.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||((t=this.el).style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab")},unsetGrabCursor:function(){ie.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}},S={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var n=0;n=ee.screen.width-o)||(te.extend(c,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=i,d.startY=n,c.touchStartTime=te.now(),l.allowClick=!0,l.updateSize(),l.swipeDirection=void 0,0r.startY&&t.translate>=t.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(sr.startX&&t.translate>=t.minTranslate())return;if(i.isTouchEvent&&m.activeElement&&a.target===m.activeElement&&A(a.target).is(i.formElements))return i.isMoved=!0,void(t.allowClick=!1);if(i.allowTouchCallbacks&&t.emit("touchMove",a),!(a.targetTouches&&1n.touchAngle:90-c>n.touchAngle)),i.isScrolling&&t.emit("touchMoveOpposite",a),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){t.allowClick=!1,a.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&a.stopPropagation(),i.isMoved||(n.loop&&t.loopFix(),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!n.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",a)),t.emit("sliderMove",a),i.isMoved=!0;var h=t.isHorizontal()?u:d;r.diff=h,h*=n.touchRatio,o&&(h=-h),t.swipeDirection=0t.minTranslate()?(p=!1,n.resistance&&(i.currentTranslate=t.minTranslate()-1+Math.pow(-t.minTranslate()+i.startTranslate+h,f))):h<0&&i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),0n.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=t.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}n.followFinger&&((n.freeMode||n.watchSlidesProgress||n.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),n.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[t.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[t.isHorizontal()?"currentX":"currentY"],time:te.now()})),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}}}}else i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",a)}.bind(e),e.onTouchEnd=function(e){var t=this,i=t.touchEventsData,n=t.params,r=t.touches,o=t.rtlTranslate,a=t.$wrapperEl,s=t.slidesGrid,l=t.snapGrid,c=e;if(c.originalEvent&&(c=c.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",c),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,d,h,p,f,m=te.now(),g=m-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(c),t.emit("tap",c),g<300&&300-t.maxTranslate())return void(t.slides.lengtht.minTranslate())n.freeModeMomentumBounce?(b-t.minTranslate()>T&&(b=t.minTranslate()+T),x=t.minTranslate(),C=!0,i.allowMomentumBounce=!0):b=t.minTranslate(),n.loop&&n.centeredSlides&&(w=!0);else if(n.freeModeSticky){for(var S,k=0;k-b){S=k;break}b=-(Math.abs(l[S]-b)=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var E=0,_=t.slidesSizesGrid[0],M=0;M=s[M]&&u=s[M]&&(E=M,_=s[s.length-1]-s[s.length-2]);var I=(u-s[E])/_;if(g>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(I>=n.longSwipesRatio?t.slideTo(E+n.slidesPerGroup):t.slideTo(E)),"prev"===t.swipeDirection&&(I>1-n.longSwipesRatio?t.slideTo(E+n.slidesPerGroup):t.slideTo(E))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(E+n.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(E)}}}.bind(e),e.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(e);var o,a="container"===t.touchEventsTarget?n:r,s=!!t.nested;ie.touch||!ie.pointerEvents&&!ie.prefixedPointerEvents?(ie.touch&&(o=!("touchstart"!==i.start||!ie.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1},a.addEventListener(i.start,e.onTouchStart,o),a.addEventListener(i.move,e.onTouchMove,ie.passiveListener?{passive:!1,capture:s}:s),a.addEventListener(i.end,e.onTouchEnd,o)),(t.simulateTouch&&!k.ios&&!k.android||t.simulateTouch&&!ie.touch&&k.ios)&&(a.addEventListener("mousedown",e.onTouchStart,!1),m.addEventListener("mousemove",e.onTouchMove,s),m.addEventListener("mouseup",e.onTouchEnd,!1))):(a.addEventListener(i.start,e.onTouchStart,!1),m.addEventListener(i.move,e.onTouchMove,s),m.addEventListener(i.end,e.onTouchEnd,!1)),(t.preventClicks||t.preventClicksPropagation)&&a.addEventListener("click",e.onClick,!0),e.on(k.ios||k.android?"resize orientationchange observerUpdate":"resize observerUpdate",E,!0)},detachEvents:function(){var e,t=this,i=t.params,n=t.touchEvents,r=t.el,o=t.wrapperEl,a="container"===i.touchEventsTarget?r:o,s=!!i.nested;ie.touch||!ie.pointerEvents&&!ie.prefixedPointerEvents?(ie.touch&&(e=!("onTouchStart"!==n.start||!ie.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1},a.removeEventListener(n.start,t.onTouchStart,e),a.removeEventListener(n.move,t.onTouchMove,s),a.removeEventListener(n.end,t.onTouchEnd,e)),(i.simulateTouch&&!k.ios&&!k.android||i.simulateTouch&&!ie.touch&&k.ios)&&(a.removeEventListener("mousedown",t.onTouchStart,!1),m.removeEventListener("mousemove",t.onTouchMove,s),m.removeEventListener("mouseup",t.onTouchEnd,!1))):(a.removeEventListener(n.start,t.onTouchStart,!1),m.removeEventListener(n.move,t.onTouchMove,s),m.removeEventListener(n.end,t.onTouchEnd,!1)),(i.preventClicks||i.preventClicksPropagation)&&a.removeEventListener("click",t.onClick,!0),t.off(k.ios||k.android?"resize orientationchange observerUpdate":"resize observerUpdate",E)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,i=e.initialized,n=e.loopedSlides;void 0===n&&(n=0);var r,o,a,s,l,c=e.params,u=c.breakpoints;!u||u&&0===Object.keys(u).length||(r=e.getBreakpoint(u))&&e.currentBreakpoint!==r&&((o=r in u?u[r]:void 0)&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach(function(e){var t=o[e];void 0!==t&&(o[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}),s=(a=o||e.originalParams).direction&&a.direction!==c.direction,l=c.loop&&(a.slidesPerView!==c.slidesPerView||s),s&&i&&e.changeDirection(),te.extend(e.params,a),te.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=r,l&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",a))},getBreakpoint:function(e){if(e){var t=!1,i=[];Object.keys(e).forEach(function(e){i.push(e)}),i.sort(function(e,t){return parseInt(e,10)-parseInt(t,10)});for(var n=0;n=ee.innerWidth&&!t&&(t=r)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.isLocked;e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),t&&t!==e.isLocked&&(e.isEnd=!1,e.navigation.update())}},classes:{addClasses:function(){var t=this.classNames,i=this.params,e=this.rtl,n=this.$el,r=[];r.push("initialized"),r.push(i.direction),i.freeMode&&r.push("free-mode"),ie.flexbox||r.push("no-flexbox"),i.autoHeight&&r.push("autoheight"),e&&r.push("rtl"),1'+e+"");return n.attr("data-swiper-slide-index")||n.attr("data-swiper-slide-index",t),i.cache&&(this.virtual.cache[t]=n),n},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;tMath.abs(a.pixelY)))return!0;r=a.pixelX*o}else{if(!(Math.abs(a.pixelY)>Math.abs(a.pixelX)))return!0;r=a.pixelY}else r=Math.abs(a.pixelX)>Math.abs(a.pixelY)?-a.pixelX*o:-a.pixelY;if(0===r)return!0;if(n.invert&&(r=-r),i.params.freeMode){i.params.loop&&i.loopFix();var s=i.getTranslate()+r*n.sensitivity,l=i.isBeginning,c=i.isEnd;if(s>=i.minTranslate()&&(s=i.minTranslate()),s<=i.maxTranslate()&&(s=i.maxTranslate()),i.setTransition(0),i.setTranslate(s),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!l&&i.isBeginning||!c&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky&&(clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=te.nextTick(function(){i.slideToClosest()},300)),i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),s===i.minTranslate()||s===i.maxTranslate())return!0}else{if(60l-1-2*e.loopedSlides&&(o-=l-2*e.loopedSlides),u-1r.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=r.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),d=o-e.pagination.dynamicBulletIndex,p=((h=d+(Math.min(v.length,r.dynamicMainBullets)-1))+d)/2),v.removeClass(r.bulletActiveClass+" "+r.bulletActiveClass+"-next "+r.bulletActiveClass+"-next-next "+r.bulletActiveClass+"-prev "+r.bulletActiveClass+"-prev-prev "+r.bulletActiveClass+"-main"),1'+t.bulletElement+">";n.html(r),e.pagination.bullets=n.find("."+t.bulletClass)}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):' / ',n.html(r)),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'',n.html(r)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e,i=this,t=i.params.pagination;!t.el||0!==(e=A(t.el)).length&&(i.params.uniqueNavElements&&"string"==typeof t.el&&1'),n.append(r)),te.extend(e,{$el:n,el:n[0],$dragEl:r,dragEl:r[0]}),i.draggable&&e.enableDraggable())},destroy:function(){this.scrollbar.disableDraggable()}},G={setTransform:function(e,t){var i,n,r=this.rtl,o=A(e),a=r?-1:1,s=o.attr("data-swiper-parallax")||"0",l=o.attr("data-swiper-parallax-x"),c=o.attr("data-swiper-parallax-y"),u=o.attr("data-swiper-parallax-scale"),d=o.attr("data-swiper-parallax-opacity");l||c?(l=l||"0",c=c||"0"):this.isHorizontal()?(l=s,c="0"):(c=s,l="0"),l=0<=l.indexOf("%")?parseInt(l,10)*t*a+"%":l*t*a+"px",c=0<=c.indexOf("%")?parseInt(c,10)*t+"%":c*t+"px",null!=d&&(i=d-(d-1)*(1-Math.abs(t)),o[0].style.opacity=i),null==u?o.transform("translate3d("+l+", "+c+", 0px)"):(n=u-(u-1)*(1-Math.abs(t)),o.transform("translate3d("+l+", "+c+", 0px) scale("+n+")"))},setTranslate:function(){var n=this,e=n.$el,t=n.slides,r=n.progress,o=n.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e,t){n.parallax.setTransform(t,r)}),t.each(function(e,t){var i=t.progress;1n.maxRatio&&(i.scale=n.maxRatio-1+Math.pow(i.scale-n.maxRatio+1,.5)),i.scalen.touchesStart.x))return void(n.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(n.minY)===Math.floor(n.startY)&&n.touchesCurrent.yn.touchesStart.y))return void(n.isTouched=!1)}e.preventDefault(),e.stopPropagation(),n.isMoved=!0,n.currentX=n.touchesCurrent.x-n.touchesStart.x+n.startX,n.currentY=n.touchesCurrent.y-n.touchesStart.y+n.startY,n.currentXn.maxX&&(n.currentX=n.maxX-1+Math.pow(n.currentX-n.maxX+1,.8)),n.currentYn.maxY&&(n.currentY=n.maxY-1+Math.pow(n.currentY-n.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=n.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=n.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(n.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(n.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(n.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(n.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=n.touchesCurrent.x,r.prevPositionY=n.touchesCurrent.y,r.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,n=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var r=300,o=300,a=n.x*r,s=i.currentX+a,l=n.y*o,c=i.currentY+l;0!==n.x&&(r=Math.abs((s-i.currentX)/n.x)),0!==n.y&&(o=Math.abs((c-i.currentY)/n.y));var u=Math.max(r,o);i.currentX=s,i.currentY=c;var d=i.width*e.scale,h=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-d/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-h/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(u).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,n,r,o,a,s,l,c,u,d,h,p,f,m,g,v=this.zoom,y=this.params.zoom,b=v.gesture,x=v.image;b.$slideEl||(b.$slideEl=this.clickedSlide?A(this.clickedSlide):this.slides.eq(this.activeIndex),b.$imageEl=b.$slideEl.find("img, svg, canvas"),b.$imageWrapEl=b.$imageEl.parent("."+y.containerClass)),b.$imageEl&&0!==b.$imageEl.length&&(b.$slideEl.addClass(""+y.zoomedSlideClass),i=void 0===x.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,"touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=x.touchesStart.x,x.touchesStart.y),v.scale=b.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,v.currentScale=b.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(m=b.$slideEl[0].offsetWidth,g=b.$slideEl[0].offsetHeight,n=b.$slideEl.offset().left+m/2-t,r=b.$slideEl.offset().top+g/2-i,s=b.$imageEl[0].offsetWidth,l=b.$imageEl[0].offsetHeight,c=s*v.scale,u=l*v.scale,p=-(d=Math.min(m/2-c/2,0)),f=-(h=Math.min(g/2-u/2,0)),(o=n*v.scale)>1]<=t?n=r:i=r;return i}(this.x,e),o=a-1,(e-this.x[o])*(this.y[a]-this.y[o])/(this.x[a]-this.x[o])+this.y[o]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new Z.LinearSpline(this.slidesGrid,e.slidesGrid):new Z.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,n,r=this,o=r.controller.control;function a(e){var t=r.rtlTranslate?-r.translate:r.translate;"slide"===r.params.controller.by&&(r.controller.getInterpolateFunction(e),n=-r.controller.spline.interpolate(-t)),n&&"container"!==r.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(r.maxTranslate()-r.minTranslate()),n=(t-r.minTranslate())*i+e.minTranslate()),r.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,r),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(o))for(var s=0;s'),n.append(e)),e.css({height:o+"px"})):0===(e=i.find(".swiper-cube-shadow")).length&&(e=A(''),i.append(e)));for(var p,f,m,g,v,y=0;y'),b.append(_)),0===M.length&&(M=A(''),b.append(M)),_.length&&(_[0].style.opacity=Math.max(-T,0)),M.length&&(M[0].style.opacity=Math.max(T,0)))}n.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),c.shadow&&(u?e.transform("translate3d(0px, "+(o/2+c.shadowOffset)+"px, "+-o/2+"px) rotateX(90deg) rotateZ(0deg) scale("+c.shadowScale+")"):(p=Math.abs(h)-90*Math.floor(Math.abs(h)/90),f=1.5-(Math.sin(2*p*Math.PI/360)/2+Math.cos(2*p*Math.PI/360)/2),m=c.shadowScale,g=c.shadowScale/f,v=c.shadowOffset,e.transform("scale3d("+m+", 1, "+g+") translate3d(0px, "+(a/2+v)+"px, "+-a/2/g+"px) rotateX(-90deg)")));var P=ne.isSafari||ne.isUiWebView?-l/2:0;n.transform("translate3d(0px,0,"+P+"px) rotateX("+(t.isHorizontal()?0:h)+"deg) rotateY("+(t.isHorizontal()?-h:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},ce={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,i=0;i'),n.append(o)),0===a.length&&(a=A(''),n.append(a)),o.length&&(o[0].style.opacity=Math.max(-r,0)),a.length&&(a[0].style.opacity=Math.max(r,0))),n.transform("translate3d("+c+"px, "+u+"px, 0px) rotateX("+l+"deg) rotateY("+s+"deg)")}},setTransition:function(e){var i,n=this,t=n.slides,r=n.activeIndex,o=n.$wrapperEl;t.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),n.params.virtualTranslate&&0!==e&&(i=!1,t.eq(r).transitionEnd(function(){if(!i&&n&&!n.destroyed){i=!0,n.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t'),p.append(w)),0===C.length&&(C=A(''),p.append(C)),w.length&&(w[0].style.opacity=0')}}),Object.keys(J).forEach(function(e){t.a11y[e]=J[e].bind(t)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){te.extend(this,{history:{init:re.init.bind(this),setHistory:re.setHistory.bind(this),setHistoryPopState:re.setHistoryPopState.bind(this),scrollToSlide:re.scrollToSlide.bind(this),destroy:re.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){te.extend(this,{hashNavigation:{initialized:!1,init:oe.init.bind(this),destroy:oe.destroy.bind(this),setHash:oe.setHash.bind(this),onHashCange:oe.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var t=this;te.extend(t,{autoplay:{running:!1,paused:!1,run:ae.run.bind(t),start:ae.start.bind(t),stop:ae.stop.bind(t),pause:ae.pause.bind(t),onTransitionEnd:function(e){t&&!t.destroyed&&t.$wrapperEl&&e.target===this&&(t.$wrapperEl[0].removeEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].removeEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){te.extend(this,{fadeEffect:{setTranslate:se.setTranslate.bind(this),setTransition:se.setTransition.bind(this)}})},on:{beforeInit:function(){var e;"fade"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"fade"),e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0},te.extend(this.params,e),te.extend(this.originalParams,e))},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){te.extend(this,{cubeEffect:{setTranslate:le.setTranslate.bind(this),setTransition:le.setTransition.bind(this)}})},on:{beforeInit:function(){var e;"cube"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d"),e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0},te.extend(this.params,e),te.extend(this.originalParams,e))},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){te.extend(this,{flipEffect:{setTranslate:ce.setTranslate.bind(this),setTransition:ce.setTransition.bind(this)}})},on:{beforeInit:function(){var e;"flip"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d"),e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0},te.extend(this.params,e),te.extend(this.originalParams,e))},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){te.extend(this,{coverflowEffect:{setTranslate:ue.setTranslate.bind(this),setTransition:ue.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){te.extend(this,{thumbs:{swiper:null,init:de.init.bind(this),update:de.update.bind(this),onThumbClick:de.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===L.use&&(L.use=L.Class.use,L.installModule=L.Class.installModule),L.use(he),L}),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,i,n,r){return jQuery.easing[jQuery.easing.def](e,t,i,n,r)},easeInQuad:function(e,t,i,n,r){return n*(t/=r)*t+i},easeOutQuad:function(e,t,i,n,r){return-n*(t/=r)*(t-2)+i},easeInOutQuad:function(e,t,i,n,r){return(t/=r/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},easeInCubic:function(e,t,i,n,r){return n*(t/=r)*t*t+i},easeOutCubic:function(e,t,i,n,r){return n*((t=t/r-1)*t*t+1)+i},easeInOutCubic:function(e,t,i,n,r){return(t/=r/2)<1?n/2*t*t*t+i:n/2*((t-=2)*t*t+2)+i},easeInQuart:function(e,t,i,n,r){return n*(t/=r)*t*t*t+i},easeOutQuart:function(e,t,i,n,r){return-n*((t=t/r-1)*t*t*t-1)+i},easeInOutQuart:function(e,t,i,n,r){return(t/=r/2)<1?n/2*t*t*t*t+i:-n/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(e,t,i,n,r){return n*(t/=r)*t*t*t*t+i},easeOutQuint:function(e,t,i,n,r){return n*((t=t/r-1)*t*t*t*t+1)+i},easeInOutQuint:function(e,t,i,n,r){return(t/=r/2)<1?n/2*t*t*t*t*t+i:n/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(e,t,i,n,r){return-n*Math.cos(t/r*(Math.PI/2))+n+i},easeOutSine:function(e,t,i,n,r){return n*Math.sin(t/r*(Math.PI/2))+i},easeInOutSine:function(e,t,i,n,r){return-n/2*(Math.cos(Math.PI*t/r)-1)+i},easeInExpo:function(e,t,i,n,r){return 0==t?i:n*Math.pow(2,10*(t/r-1))+i},easeOutExpo:function(e,t,i,n,r){return t==r?i+n:n*(1-Math.pow(2,-10*t/r))+i},easeInOutExpo:function(e,t,i,n,r){return 0==t?i:t==r?i+n:(t/=r/2)<1?n/2*Math.pow(2,10*(t-1))+i:n/2*(2-Math.pow(2,-10*--t))+i},easeInCirc:function(e,t,i,n,r){return-n*(Math.sqrt(1-(t/=r)*t)-1)+i},easeOutCirc:function(e,t,i,n,r){return n*Math.sqrt(1-(t=t/r-1)*t)+i},easeInOutCirc:function(e,t,i,n,r){return(t/=r/2)<1?-n/2*(Math.sqrt(1-t*t)-1)+i:n/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(e,t,i,n,r){var o=1.70158,a=0,s=n;return 0==t?i:1==(t/=r)?i+n:(a=a||.3*r,o=s