/* modernizr 3.6.0 (Custom Build) | MIT * * https://modernizr.com/download/?-input-inputtypes-webp-setclasses !*/ !function(x,L,G){function b(a,c){return typeof a===c}function j(){var c,l,f,a,d,g,h;for(var m in J){if(J.hasOwnProperty(m)){if(c=[],l=J[m],l.name&&(c.push(l.name.toLowerCase()),l.options&&l.options.aliases&&l.options.aliases.length)){for(f=0;fh;h++){I.setAttribute("type",c=f[h]),g="text"!==I.type&&"style" in I,g&&(I.value=n,I.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(c)&&I.style.WebkitAppearance!==G?(y.appendChild(I),d=L.defaultView,g=d.getComputedStyle&&"textfield"!==d.getComputedStyle(I,null).WebkitAppearance&&0!==I.offsetHeight,y.removeChild(I)):/^(search|tel)$/.test(c)||(g=/^(url|email)$/.test(c)?I.checkValidity&&I.checkValidity()===!1:I.value!=n)),E[f[h]]=!!g}return E}(q);var B;!function(){var a={}.hasOwnProperty;B=b(a,"undefined")||b(a.call,"undefined")?function(c,d){return d in c&&b(c.constructor.prototype[d],"undefined")}:function(d,c){return a.call(d,c)}}(),M._l={},M.on=function(a,c){this._l[a]||(this._l[a]=[]),this._l[a].push(c),F.hasOwnProperty(a)&&setTimeout(function(){F._trigger(a,F[a])},0)},M._trigger=function(a,d){if(this._l[a]){var c=this._l[a];setTimeout(function(){var g,f;for(g=0;gd;d++){O[e[d]]=!!(e[d] in I)}return O.list&&(O.list=!(!H("datalist")||!x.HTMLDataListElement)),O}(z),j(),C(D),delete M.addTest,delete M.addAsyncTest;for(var N=0;N+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(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(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,j=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function qe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),c.css(f))}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=$e(y.pixelPosition,function(e,t){if(t)return t=Be(e,n),Me.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.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,n){S.fn[n]=function(e,t){return 0this.$items.length-1||j<0)){return this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(j)}):h==j?this.pause().cycle():this.slide(hdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},d.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},d.prototype.checkScrollbar=function(){var f=window.innerWidth;if(!f){var a=document.documentElement.getBoundingClientRect();f=a.right-Math.abs(a.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:s},j.prototype.init=function(z,l,m){if(this.enabled=!0,this.type=z,this.$element=d(l),this.options=this.getOptions(m),this.$viewport=this.options.viewport&&d(document).find(d.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 w=this.options.trigger.split(" "),u=w.length;u--;){var y=w[u];if("click"==y){this.$element.on("click."+this.type,this.options.selector,d.proxy(this.toggle,this))}else{if("manual"!=y){var g="hover"==y?"mouseenter":"focusin",x="hover"==y?"mouseleave":"focusout";this.$element.on(g+"."+this.type,this.options.selector,d.proxy(this.enter,this)),this.$element.on(x+"."+this.type,this.options.selector,d.proxy(this.leave,this))}}}this.options.selector?this._options=d.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},j.prototype.getDefaults=function(){return j.DEFAULTS},j.prototype.getOptions=function(l){var a=this.$element.data();for(var g in a){a.hasOwnProperty(g)&&-1!==d.inArray(g,p)&&delete a[g]}return(l=d.extend({},this.getDefaults(),a,l)).delay&&"number"==typeof l.delay&&(l.delay={show:l.delay,hide:l.delay}),l.sanitize&&(l.template=k(l.template,l.whiteList,l.sanitizeFn)),l},j.prototype.getDelegateOptions=function(){var a={},e=this.getDefaults();return this._options&&d.each(this._options,function(i,g){e[i]!=g&&(a[i]=g)}),a},j.prototype.enter=function(g){var a=g instanceof this.constructor?g:d(g.currentTarget).data("bs."+this.type);if(a||(a=new this.constructor(g.currentTarget,this.getDelegateOptions()),d(g.currentTarget).data("bs."+this.type,a)),g instanceof d.Event&&(a.inState["focusin"==g.type?"focus":"hover"]=!0),a.tip().hasClass("in")||"in"==a.hoverState){a.hoverState="in"}else{if(clearTimeout(a.timeout),a.hoverState="in",!a.options.delay||!a.options.delay.show){return a.show()}a.timeout=setTimeout(function(){"in"==a.hoverState&&a.show()},a.options.delay.show)}},j.prototype.isInStateTrue=function(){for(var a in this.inState){if(this.inState[a]){return !0}}return !1},j.prototype.leave=function(g){var a=g instanceof this.constructor?g:d(g.currentTarget).data("bs."+this.type);if(a||(a=new this.constructor(g.currentTarget,this.getDelegateOptions()),d(g.currentTarget).data("bs."+this.type,a)),g instanceof d.Event&&(a.inState["focusout"==g.type?"focus":"hover"]=!1),!a.isInStateTrue()){if(clearTimeout(a.timeout),a.hoverState="out",!a.options.delay||!a.options.delay.hide){return a.hide()}a.timeout=setTimeout(function(){"out"==a.hoverState&&a.hide()},a.options.delay.hide)}},j.prototype.show=function(){var H=d.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(H);var x=d.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(H.isDefaultPrevented()||!x){return}var A=this,D=this.tip(),C=this.getUID(this.type);this.setContent(),D.attr("id",C),this.$element.attr("aria-describedby",C),this.options.animation&&D.addClass("fade");var G="function"==typeof this.options.placement?this.options.placement.call(this,D[0],this.$element[0]):this.options.placement,g=/\s?auto?\s?/i,F=g.test(G);F&&(G=G.replace(g,"")||"top"),D.detach().css({top:0,left:0,display:"block"}).addClass(G).data("bs."+this.type,this),this.options.container?D.appendTo(d(document).find(this.options.container)):D.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var B=this.getPosition(),z=D[0].offsetWidth,w=D[0].offsetHeight;if(F){var E=G,m=this.getPosition(this.$viewport);G="bottom"==G&&B.bottom+w>m.bottom?"top":"top"==G&&B.top-wm.width?"left":"left"==G&&B.left-zg.top+g.height&&(z.top=g.top+g.height-y)}else{var w=u.left-C,m=u.left+C+x;wg.right&&(z.left=g.left+g.width-m)}return z},j.prototype.getTitle=function(){var g=this.$element,a=this.options;return g.attr("data-original-title")||("function"==typeof a.title?a.title.call(g[0]):a.title)},j.prototype.getUID=function(a){for(;a+=~~(1000000*Math.random()),document.getElementById(a);){}return a},j.prototype.tip=function(){if(!this.$tip&&(this.$tip=d(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},j.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},j.prototype.enable=function(){this.enabled=!0},j.prototype.disable=function(){this.enabled=!1},j.prototype.toggleEnabled=function(){this.enabled=!this.enabled},j.prototype.toggle=function(g){var a=this;g&&((a=d(g.currentTarget).data("bs."+this.type))||(a=new this.constructor(g.currentTarget,this.getDelegateOptions()),d(g.currentTarget).data("bs."+this.type,a))),g?(a.inState.click=!a.inState.click,a.isInStateTrue()?a.enter(a):a.leave(a)):a.tip().hasClass("in")?a.leave(a):a.enter(a)},j.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null,a.$element=null})},j.prototype.sanitizeHtml=function(a){return k(a,this.options.whiteList,this.options.sanitizeFn)};var c=d.fn.tooltip;d.fn.tooltip=function f(a){return this.each(function(){var m=d(this),g=m.data("bs.tooltip"),l="object"==typeof a&&a;!g&&/destroy|hide/.test(a)||(g||m.data("bs.tooltip",g=new j(this,l)),"string"==typeof a&&g[a]())})},d.fn.tooltip.Constructor=j,d.fn.tooltip.noConflict=function(){return d.fn.tooltip=c,this}}(jQuery),function(b){var c=function(g,f){this.init("popover",g,f)};if(!b.fn.tooltip){throw new Error("Popover requires tooltip.js")}c.VERSION="3.4.1",c.DEFAULTS=b.extend({},b.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),((c.prototype=b.extend({},b.fn.tooltip.Constructor.prototype)).constructor=c).prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var j=this.tip(),f=this.getTitle(),g=this.getContent();if(this.options.html){var h=typeof g;this.options.sanitize&&(f=this.sanitizeHtml(f),"string"===h&&(g=this.sanitizeHtml(g))),j.find(".popover-title").html(f),j.find(".popover-content").children().detach().end()["string"===h?"html":"append"](g)}else{j.find(".popover-title").text(f),j.find(".popover-content").children().detach().end().text(g)}j.removeClass("fade top bottom left right in"),j.find(".popover-title").html()||j.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var g=this.$element,f=this.options;return g.attr("data-content")||("function"==typeof f.content?f.content.call(g[0]):f.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=b.fn.popover;b.fn.popover=function a(e){return this.each(function(){var h=b(this),f=h.data("bs.popover"),g="object"==typeof e&&e;!f&&/destroy|hide/.test(e)||(f||h.data("bs.popover",f=new c(this,g)),"string"==typeof e&&f[e]())})},b.fn.popover.Constructor=c,b.fn.popover.noConflict=function(){return b.fn.popover=d,this}}(jQuery),function(c){function b(g,f){this.$body=c(document.body),this.$scrollElement=c(g).is(document.body)?c(window):c(g),this.options=c.extend({},b.DEFAULTS,f),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",c.proxy(this.process,this)),this.refresh(),this.process()}function a(e){return this.each(function(){var h=c(this),f=h.data("bs.scrollspy"),g="object"==typeof e&&e;f||h.data("bs.scrollspy",f=new b(this,g)),"string"==typeof e&&f[e]()})}b.VERSION="3.4.1",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var g=this,f="offset",e=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),c.isWindow(this.$scrollElement[0])||(f="position",e=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var k=c(this),h=k.data("target")||k.attr("href"),j=/^#./.test(h)&&c(h);return j&&j.length&&j.is(":visible")&&[[j[f]().top+e,h]]||null}).sort(function(i,h){return i[0]-h[0]}).each(function(){g.offsets.push(this[0]),g.targets.push(this[1])})},b.prototype.process=function(){var m,g=this.$scrollElement.scrollTop()+this.options.offset,h=this.getScrollHeight(),k=this.options.offset+h-this.$scrollElement.height(),j=this.offsets,l=this.targets,f=this.activeTarget;if(this.scrollHeight!=h&&this.refresh(),k<=g){return f!=(m=l[l.length-1])&&this.activate(m)}if(f&&g=j[m]&&(j[m+1]===undefined||g .active"),j=h&&f.support.transition&&(k.length&&k.hasClass("fade")||!!a.find("> .fade").length);function l(){k.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),m.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),j?(m[0].offsetWidth,m.addClass("in")):m.removeClass("fade"),m.parent(".dropdown-menu").length&&m.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),h&&h()}k.length&&j?k.one("bsTransitionEnd",l).emulateTransitionEnd(b.TRANSITION_DURATION):l(),k.removeClass("in")};var g=f.fn.tab;f.fn.tab=c,f.fn.tab.Constructor=b,f.fn.tab.noConflict=function(){return f.fn.tab=g,this};var d=function(a){a.preventDefault(),c.call(f(this),"show")};f(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',d).on("click.bs.tab.data-api",'[data-toggle="pill"]',d)}(jQuery),function(c){var a=function(h,f){this.options=c.extend({},a.DEFAULTS,f);var g=this.options.target===a.DEFAULTS.target?c(this.options.target):c(document).find(this.options.target);this.$target=g.on("scroll.bs.affix.data-api",c.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",c.proxy(this.checkPositionWithEventLoop,this)),this.$element=c(h),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function b(e){return this.each(function(){var h=c(this),f=h.data("bs.affix"),g="object"==typeof e&&e;f||h.data("bs.affix",f=new a(this,g)),"string"==typeof e&&f[e]()})}a.VERSION="3.4.1",a.RESET="affix affix-top affix-bottom",a.DEFAULTS={offset:0,target:window},a.prototype.getState=function(u,g,h,m){var k=this.$target.scrollTop(),q=this.$element.offset(),f=this.$target.height();if(null!=h&&"top"==this.affixed){return k0){if(g[o]()!==q){g[o](q)}p=g}else{p=g[o]()}return p},calculateCaretPosition:function(){var x=g.data("mask-previus-value")||"",v=l.getMasked(),o=l.getCaret();if(x!==v){var p=g.data("mask-previus-caret-pos")||0,w=v.length,y=x.length,s=0,r=0,t=0,u=0,q=0;for(q=o;q=0;q--){if(!l.maskDigitPosMap[q]){break}s++}for(q=o-1;q>=0;q--){if(l.maskDigitPosMap[q]){t++}}for(q=p-1;q>=0;q--){if(l.maskDigitPosMapOld[q]){u++}}if(o>y){o=w*10}else{if(p>=o&&p!==y){if(!l.maskDigitPosMapOld[o]){var n=o;o-=u-t;o-=s;if(l.maskDigitPosMap[o]){o=n}}}else{if(o>p){o+=t-u;o+=r}}}}return o},behaviour:function(o){o=o||window.event;l.invalid=[];var p=g.data("mask-keycode");if(a.inArray(p,h.byPassKeys)===-1){var q=l.getMasked(),n=l.getCaret();setTimeout(function(){l.setCaret(l.calculateCaretPosition())},10);l.val(q);l.setCaret(n);return l.callbacks(o)}},getMasked:function(C,F){var o=[],I=F===undefined?l.val():F+"",t=0,y=i.length,E=0,H=I.length,A=1,n="push",B=-1,w=0,x=[],q,p;if(k.reverse){n="unshift";A=-1;q=0;t=y-1;E=H-1;p=function(){return t>-1&&E>-1}}else{q=y-1;p=function(){return t0,[r,q,g,l.invalid,k])}};g=a(g);var h=this,j=l.val(),m;i=typeof i==="function"?i(l.val(),undefined,g,k):i;h.mask=i;h.options=k;h.remove=function(){var n=l.getCaret();l.destroyEvents();l.val(h.getCleanVal());l.setCaret(n);return g};h.getCleanVal=function(){return l.getMasked(true)};h.getMaskedVal=function(n){return l.getMasked(false,n)};h.init=function(q){q=q||false;k=k||{};h.clearIfNotMatch=a.jMaskGlobals.clearIfNotMatch;h.byPassKeys=a.jMaskGlobals.byPassKeys;h.translation=a.extend({},a.jMaskGlobals.translation,k.translation);h=a.extend(true,{},h,k);m=l.getRegexMask();if(q){l.events();l.val(l.getMasked())}else{if(k.placeholder){g.attr("placeholder",k.placeholder)}if(g.data("mask")){g.attr("autocomplete","off")}for(var o=0,p=true;o",header:"",footer:"",closeButton:"",form:"
",inputs:{text:"",textarea:"",email:"",select:"",checkbox:"
",date:"",time:"",number:"",password:""}};var d={locale:"en",backdrop:"static",animate:true,className:null,closeButton:true,show:true,container:"body"};var f={};function b(q){var r=h[d.locale];return r?r[q]:h.en[q]}function l(s,r,q){s.stopPropagation();s.preventDefault();var t=a.isFunction(q)&&q.call(r,s)===false;if(!t){r.modal("hide")}}function g(r){var q,s=0;for(q in r){s++}return s}function e(q,s){var r=0;a.each(q,function(t,u){s(t,u,r++)})}function m(r){var q;var s;if(typeof r!=="object"){throw new Error("Please supply an object of options")}if(!r.message){throw new Error("Please specify a message")}r=a.extend({},d,r);if(!r.buttons){r.buttons={}}q=r.buttons;s=g(q);e(q,function(v,t,u){if(a.isFunction(t)){t=q[v]={callback:t}}if(a.type(t)!=="object"){throw new Error("button with key "+v+" must be an object")}if(!t.label){t.label=v}if(!t.className){if(s<=2&&u===s-1){t.className="btn-primary"}else{t.className="btn-default"}}});return r}function i(r,t){var q=r.length;var s={};if(q<1||q>2){throw new Error("Invalid argument length")}if(q===2||typeof r[0]==="string"){s[t[0]]=r[0];s[t[1]]=r[1]}else{s=r[0]}return s}function j(r,q,s){return a.extend(true,{},r,i(q,s))}function k(s,t,u,q){var r={className:"bootbox-"+s,buttons:c.apply(null,t)};return p(j(r,q,u),t)}function c(){var r={};for(var s=0,t=arguments.length;s").attr("label",B.group)}A=t[B.group]}A.append("")});e(t,function(z,A){u.append(A)});u.val(w.value);break;case"checkbox":var y=a.isArray(w.value)?w.value:[w.value];v=w.inputOptions||[];if(!v.length){throw new Error("prompt with checkbox requires options")}if(!v[0].value||!v[0].text){throw new Error("given options in wrong format")}u=a("
");e(v,function(z,B){var A=a(n.inputs[w.inputType]);A.find("input").attr("value",B.value);A.find("label").append(B.text);e(y,function(C,D){if(D===B.value){A.find("input").prop("checked",true)}});u.append(A)});break}if(w.placeholder){u.attr("placeholder",w.placeholder)}if(w.pattern){u.attr("pattern",w.pattern)}if(w.maxlength){u.attr("maxlength",w.maxlength)}s.append(u);s.on("submit",function(z){z.preventDefault();z.stopPropagation();r.find(".btn-primary").click()});r=f.dialog(w);r.off("shown.bs.modal");r.on("shown.bs.modal",function(){u.focus()});if(x===true){r.modal("show")}return r};f.dialog=function(x){x=m(x);var v=a(n.dialog);var w=v.find(".modal-dialog");var q=v.find(".modal-body");var r=x.buttons;var s="";var t={onEscape:x.onEscape};if(a.fn.modal===o){throw new Error("$.fn.modal is not defined; please double check you have included the Bootstrap JavaScript library. See http://getbootstrap.com/javascript/ for more details.")}e(r,function(z,y){s+="";t[z]=y.callback});q.find(".bootbox-body").html(x.message);if(x.animate===true){v.addClass("fade")}if(x.className){v.addClass(x.className)}if(x.size==="large"){w.addClass("modal-lg")}else{if(x.size==="small"){w.addClass("modal-sm")}}if(x.title){q.before(n.header)}if(x.closeButton){var u=a(n.closeButton);if(x.title){v.find(".modal-header").prepend(u)}else{u.css("margin-top","-10px").prependTo(q)}}if(x.title){v.find(".modal-title").html(x.title)}if(s.length){q.after(n.footer);v.find(".modal-footer").html(s)}v.on("hidden.bs.modal",function(y){if(y.target===this){v.remove()}});v.on("shown.bs.modal",function(){v.find(".btn-primary:first").focus()});if(x.backdrop!=="static"){v.on("click.dismiss.bs.modal",function(y){if(v.children(".modal-backdrop").length){y.currentTarget=v.children(".modal-backdrop").get(0)}if(y.target!==y.currentTarget){return}v.trigger("escape.close.bb")})}v.on("escape.close.bb",function(y){if(t.onEscape){l(y,v,t.onEscape)}});v.on("click",".modal-footer button",function(z){var y=a(this).data("bb-handler");l(z,v,t[y])});v.on("click",".bootbox-close-button",function(y){l(y,v,t.onEscape)});v.on("keyup",function(y){if(y.which===27){v.trigger("escape.close.bb")}});a(x.container).append(v);v.modal({backdrop:x.backdrop?"static":false,keyboard:false,show:false});if(x.show){v.modal("show")}return v};f.setDefaults=function(){var q={};if(arguments.length===2){q[arguments[0]]=arguments[1]}else{q=arguments[0]}a.extend(d,q)};f.hideAll=function(){a(".bootbox").modal("hide");return f};var h={bg_BG:{OK:"Ок",CANCEL:"Отказ",CONFIRM:"Потвърждавам"},br:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Sim"},cs:{OK:"OK",CANCEL:"Zrušit",CONFIRM:"Potvrdit"},da:{OK:"OK",CANCEL:"Annuller",CONFIRM:"Accepter"},de:{OK:"OK",CANCEL:"Abbrechen",CONFIRM:"Akzeptieren"},el:{OK:"Εντάξει",CANCEL:"Ακύρωση",CONFIRM:"Επιβεβαίωση"},en:{OK:"OK",CANCEL:"Cancel",CONFIRM:"OK"},es:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Aceptar"},et:{OK:"OK",CANCEL:"Katkesta",CONFIRM:"OK"},fa:{OK:"قبول",CANCEL:"لغو",CONFIRM:"تایید"},fi:{OK:"OK",CANCEL:"Peruuta",CONFIRM:"OK"},fr:{OK:"OK",CANCEL:"Annuler",CONFIRM:"D'accord"},he:{OK:"אישור",CANCEL:"ביטול",CONFIRM:"אישור"},hu:{OK:"OK",CANCEL:"Mégsem",CONFIRM:"Megerősít"},hr:{OK:"OK",CANCEL:"Odustani",CONFIRM:"Potvrdi"},id:{OK:"OK",CANCEL:"Batal",CONFIRM:"OK"},it:{OK:"OK",CANCEL:"Annulla",CONFIRM:"Conferma"},ja:{OK:"OK",CANCEL:"キャンセル",CONFIRM:"確認"},lt:{OK:"Gerai",CANCEL:"Atšaukti",CONFIRM:"Patvirtinti"},lv:{OK:"Labi",CANCEL:"Atcelt",CONFIRM:"Apstiprināt"},nl:{OK:"OK",CANCEL:"Annuleren",CONFIRM:"Accepteren"},no:{OK:"OK",CANCEL:"Avbryt",CONFIRM:"OK"},pl:{OK:"OK",CANCEL:"Anuluj",CONFIRM:"Potwierdź"},pt:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Confirmar"},ru:{OK:"OK",CANCEL:"Отмена",CONFIRM:"Применить"},sq:{OK:"OK",CANCEL:"Anulo",CONFIRM:"Prano"},sv:{OK:"OK",CANCEL:"Avbryt",CONFIRM:"OK"},th:{OK:"ตกลง",CANCEL:"ยกเลิก",CONFIRM:"ยืนยัน"},tr:{OK:"Tamam",CANCEL:"İptal",CONFIRM:"Onayla"},zh_CN:{OK:"OK",CANCEL:"取消",CONFIRM:"确认"},zh_TW:{OK:"OK",CANCEL:"取消",CONFIRM:"確認"}};f.addLocale=function(q,r){a.each(["OK","CANCEL","CONFIRM"],function(s,t){if(!r[t]){throw new Error("Please supply a translation for '"+t+"'")}});h[q]={OK:r.OK,CANCEL:r.CANCEL,CONFIRM:r.CONFIRM};return f};f.removeLocale=function(q){delete h[q];return f};f.setLocale=function(q){return f.setDefaults("locale",q)};f.init=function(q){return init(q||a)};return f}));(function(a){a.fn.belowthefold=function(d){var b=a(window).height()+a(window).scrollTop(),c=a(this).map(function(){return b<=a(this).offset().top-((d&&d.threshold)||0)});return c.length===1?c[0]:c.get()};a.fn.abovethetop=function(c){var d=a(window).scrollTop(),b=a(this).map(function(){return d>=a(this).offset().top+a(this).height()-((c&&c.threshold)||0)});return b.length===1?b[0]:b.get()};a.fn.rightofscreen=function(d){var b=a(window).width()+a(window).scrollLeft(),c=a(this).map(function(){return b<=a(this).offset().left-((d&&d.threshold)||0)});return c.length===1?c[0]:c.get()};a.fn.leftofscreen=function(d){var b=a(window).scrollLeft(),c=a(this).map(function(){return b>=a(this).offset().left+a(this).width()-((d&&d.threshold)||0)});return c.length===1?c[0]:c.get()};a.fn.inviewport=function(c){var b=a(this).map(function(){return a(this).is(":visible")&&!a.fn.rightofscreen.call(this,c)&&!a.fn.leftofscreen.call(this,c)&&!a.fn.belowthefold.call(this,c)&&!a.fn.abovethetop.call(this,c)});return b.length===1?b[0]:b.get()};a.extend(a.expr[":"],{"below-the-fold":function(b,c,d){return a.fn.belowthefold.call(b,{threshold:0})},"above-the-top":function(b,c,d){return a.fn.abovethetop.call(b,{threshold:0})},"left-of-screen":function(b,c,d){return a.fn.leftofscreen.call(b,{threshold:0})},"right-of-screen":function(b,c,d){return a.fn.rightofscreen.call(b,{threshold:0})},"in-viewport":function(b,c,d){return a.fn.inviewport.call(b,{threshold:0})}})})(jQuery);!function(g){function h(b){return"undefined"==typeof b.which?!0:"number"==typeof b.which&&b.which>0?!b.ctrlKey&&!b.metaKey&&!b.altKey&&8!=b.which&&9!=b.which&&13!=b.which&&16!=b.which&&17!=b.which&&20!=b.which&&27!=b.which:!1}function i(a){var d=g(a);d.prop("disabled")||d.closest(".form-group").addClass("is-focused")}function j(d,e){var f;return f=d.hasClass("checkbox-inline")||d.hasClass("radio-inline")?d:d.closest(".checkbox").length?d.closest(".checkbox"):d.closest(".radio"),f.toggleClass("disabled",e)}function k(a){var c=!1;(a.is(g.material.options.checkboxElements)||a.is(g.material.options.radioElements))&&(c=!0),a.closest("label").hover(function(){var d=g(this).find("input"),e=d.prop("disabled");c&&j(g(this),e),e||i(d)},function(){l(g(this).find("input"))})}function l(a){g(a).closest(".form-group").removeClass("is-focused")}g.expr[":"].notmdproc=function(a){return g(a).data("mdproc")?!1:!0},g.material={options:{validate:!0,input:!0,ripples:!0,checkbox:!0,togglebutton:!0,radio:!0,arrive:!0,autofill:!1,withRipples:[".btn:not(.btn-link)",".card-image",".navbar a:not(.withoutripple)",".dropdown-menu a",".nav-tabs a:not(.withoutripple)",".withripple",".pagination li:not(.active):not(.disabled) a:not(.withoutripple)"].join(","),inputElements:"input.form-control, textarea.form-control, select.form-control",checkboxElements:".checkbox > label > input[type=checkbox], label.checkbox-inline > input[type=checkbox]",togglebuttonElements:".togglebutton > label > input[type=checkbox]",radioElements:".radio > label > input[type=radio], label.radio-inline > input[type=radio]"},checkbox:function(a){var d=g(a?a:this.options.checkboxElements).filter(":notmdproc").data("mdproc",!0).after("");k(d)},togglebutton:function(a){var d=g(a?a:this.options.togglebuttonElements).filter(":notmdproc").data("mdproc",!0).after("");k(d)},radio:function(a){var d=g(a?a:this.options.radioElements).filter(":notmdproc").data("mdproc",!0).after("");k(d)},input:function(a){g(a?a:this.options.inputElements).filter(":notmdproc").data("mdproc",!0).each(function(){var m=g(this),n=m.closest(".form-group");0!==n.length||"hidden"===m.attr("type")||m.attr("hidden")||(m.wrap("
"),n=m.closest(".form-group")),m.attr("data-hint")&&(m.after("

"+m.attr("data-hint")+"

"),m.removeAttr("data-hint"));var o={"input-lg":"form-group-lg","input-sm":"form-group-sm"};if(g.each(o,function(b,c){m.hasClass(b)&&(m.removeClass(b),n.addClass(c))}),m.hasClass("floating-label")){var p=m.attr("placeholder");m.attr("placeholder",null).removeClass("floating-label");var q=m.attr("id"),r="";q&&(r="for='"+q+"'"),n.addClass("label-floating"),m.after("")}(null===m.val()||"undefined"==m.val()||""===m.val())&&n.addClass("is-empty"),n.find("input[type=file]").length>0&&n.addClass("is-fileinput")})},attachInputEventHandlers:function(){var a=this.options.validate;g(document).on("keydown paste",".form-control",function(b){h(b)&&g(this).closest(".form-group").removeClass("is-empty")}).on("keyup change",".form-control",function(){var d=g(this),f=d.closest(".form-group"),m="undefined"==typeof d[0].checkValidity||d[0].checkValidity();""===d.val()?f.addClass("is-empty"):f.removeClass("is-empty"),a&&(m?f.removeClass("has-error"):f.addClass("has-error"))}).on("focus",".form-control, .form-group.is-fileinput",function(){i(this)}).on("blur",".form-control, .form-group.is-fileinput",function(){l(this)}).on("change",".form-group input",function(){var e=g(this);if("file"!=e.attr("type")){var f=e.closest(".form-group"),m=e.val();m?f.removeClass("is-empty"):f.addClass("is-empty")}}).on("change",".form-group.is-fileinput input[type='file']",function(){var e=g(this),f=e.closest(".form-group"),m="";g.each(this.files,function(c,d){m+=d.name+", "}),m=m.substring(0,m.length-2),m?f.removeClass("is-empty"):f.addClass("is-empty"),f.find("input.form-control[readonly]").val(m)})},ripples:function(a){g(a?a:this.options.withRipples).ripples()},autofill:function(){var a=setInterval(function(){g("input[type!=checkbox]").each(function(){var c=g(this);c.val()&&c.val()!==c.attr("value")&&c.trigger("change")})},100);setTimeout(function(){clearInterval(a)},10000)},attachAutofillEventHandlers:function(){var a;g(document).on("focus","input",function(){var b=g(this).parents("form").find("input").not("[type=file]");a=setInterval(function(){b.each(function(){var c=g(this);c.val()!==c.attr("value")&&c.trigger("change")})},100)}).on("blur",".form-group input",function(){clearInterval(a)})},init:function(a){this.options=g.extend({},this.options,a);var d=g(document);g.fn.ripples&&this.options.ripples&&this.ripples(),this.options.input&&(this.input(),this.attachInputEventHandlers()),this.options.checkbox&&this.checkbox(),this.options.togglebutton&&this.togglebutton(),this.options.radio&&this.radio(),this.options.autofill&&(this.autofill(),this.attachAutofillEventHandlers()),document.arrive&&this.options.arrive&&(g.fn.ripples&&this.options.ripples&&d.arrive(this.options.withRipples,function(){g.material.ripples(g(this))}),this.options.input&&d.arrive(this.options.inputElements,function(){g.material.input(g(this))}),this.options.checkbox&&d.arrive(this.options.checkboxElements,function(){g.material.checkbox(g(this))}),this.options.radio&&d.arrive(this.options.radioElements,function(){g.material.radio(g(this))}),this.options.togglebutton&&d.arrive(this.options.togglebuttonElements,function(){g.material.togglebutton(g(this))}))}}}(jQuery);!function(i,j,k,l){function m(a,d){o=this,this.element=i(a),this.options=i.extend({},p,d),this._defaults=p,this._name=n,this.init()}var n="ripples",o=null,p={};m.prototype.init=function(){var a=this.element;a.on("mousedown touchstart",function(b){if(!o.isTouch()||"mousedown"!==b.type){a.find(".ripple-container").length||a.append('
');var c=a.children(".ripple-container"),g=o.getRelY(c,b),q=o.getRelX(c,b);if(g||q){var r=o.getRipplesColor(a),s=i("
");s.addClass("ripple").css({left:q,top:g,"background-color":r}),c.append(s),function(){return j.getComputedStyle(s[0]).opacity}(),o.rippleOn(a,s),setTimeout(function(){o.rippleEnd(s)},500),a.on("mouseup mouseleave touchend",function(){s.data("mousedown","off"),"off"===s.data("animating")&&o.rippleOut(s)})}}})},m.prototype.getNewSize=function(c,d){return Math.max(c.outerWidth(),c.outerHeight())/d.outerWidth()*2.5},m.prototype.getRelX=function(d,e){var f=d.offset();return o.isTouch()?(e=e.originalEvent,1===e.touches.length?e.touches[0].pageX-f.left:!1):e.pageX-f.left},m.prototype.getRelY=function(d,e){var f=d.offset();return o.isTouch()?(e=e.originalEvent,1===e.touches.length?e.touches[0].pageY-f.top:!1):e.pageY-f.top},m.prototype.getRipplesColor=function(b){var d=b.data("ripple-color")?b.data("ripple-color"):j.getComputedStyle(b[0]).color;return d},m.prototype.hasTransitionSupport=function(){var c=k.body||k.documentElement,d=c.style,f=d.transition!==l||d.WebkitTransition!==l||d.MozTransition!==l||d.MsTransition!==l||d.OTransition!==l;return f},m.prototype.isTouch=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},m.prototype.rippleEnd=function(b){b.data("animating","off"),"off"===b.data("mousedown")&&o.rippleOut(b)},m.prototype.rippleOut=function(b){b.off(),o.hasTransitionSupport()?b.addClass("ripple-out"):b.animate({opacity:0},100,function(){b.trigger("transitionend")}),b.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){b.remove()})},m.prototype.rippleOn=function(d,e){var f=o.getNewSize(d,e);o.hasTransitionSupport()?e.css({"-ms-transform":"scale("+f+")","-moz-transform":"scale("+f+")","-webkit-transform":"scale("+f+")",transform:"scale("+f+")"}).addClass("ripple-on").data("animating","on").data("mousedown","on"):e.animate({width:2*Math.max(d.outerWidth(),d.outerHeight()),height:2*Math.max(d.outerWidth(),d.outerHeight()),"margin-left":-1*Math.max(d.outerWidth(),d.outerHeight()),"margin-top":-1*Math.max(d.outerWidth(),d.outerHeight()),opacity:0.2},500,function(){e.trigger("transitionend")})},i.fn.ripples=function(a){return this.each(function(){i.data(this,"plugin_"+n)||i.data(this,"plugin_"+n,new m(this,a))})}}(jQuery,window,document);(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof exports==="object"){module.exports=a(require("jquery"))}else{a(jQuery)}}}(function(a){var b={options:{optionClass:"",dropdownClass:"",autoinit:false,callback:false,lazyload:true,onSelected:false,destroy:function(c){this.destroy(c)},dynamicOptLabel:"Add a new option...",optionIndex:0},dropdownIndex:0,init:function(f){if(f){f=a.extend(b.options,f)}else{f=b.options}function d(l){if(l.data("dropdownjs")||!l.is("select")){return}var s=l.attr("multiple"),q=l.attr("data-dynamic-opts"),j=a(),g=a("
"),h=l.attr("id")?a("label[for='"+l.attr("id")+"']"):null;g.addClass("dropdownjs").addClass(f.dropdownClass);g.data("select",l);var k=a('');if(h&&h.attr("id")){k.attr("aria-labelledby='"+h.attr("id")+"'")}if(a.material){k.data("mdproc",true)}g.append(k);var o=a('
    ');o.data("select",l);a.each([].slice.call(l.get(0).attributes).filter(function(i){return i&&i.name&&i.name.indexOf("aria")===0}),function(){g.attr(this.name,this.value)});if(h&&h.attr("id")){o.attr("aria-labelledby='"+h.attr("id")+"'")}g.append(o);k.attr("placeholder",l.attr("placeholder"));var u=g.find("li");if(!s){var m;if(l.find(":selected").length){m=l.find(":selected").last()}else{m=l.find("option, li").first()}b._select(g,m)}else{var v=[],w=l.val();for(var r in w){v.push(w[r])}if(v.length>0){var n=g.find(function(){return a.inArray(a(this).data("value"),v)!==-1});n.removeClass("selected");b._select(g,n)}}k.addClass(l[0].className);l.hide().attr("data-dropdownjs",true);l.after(g);if(!f.lazyload){e(l)}if(f.callback){f.callback(g)}k.on("keydown",function(x){var i=g.find(".selected"),y=false;if(x.which===38){b._select(g,i.prev());y=true}else{if(x.which===40){b._select(g,i.next());y=true}else{if(x.which===13){l.change();k.removeClass("focus").blur();y=true}}}if(y){return false}});k.on("blur",function(){setTimeout(function(){var i=document.activeElement,x=o.get(0);if(o.is(":visible")&&x!==i&&x!==i.parentNode){k.removeClass("focus")}},100)});o.on("click","li:not(.dropdownjs-add)",function(i){b._select(g,a(this));l.change()});o.on("keydown","li:not(.dropdownjs-add)",function(i){if(i.which===27){a(".dropdownjs > ul > li").attr("tabindex",-1);return k.removeClass("focus").blur()}if(i.which===32&&!a(i.target).is("input")){b._select(g,a(this));return false}});o.on("focus","li:not(.dropdownjs-add)",function(){if(l.is(":disabled")){return}k.addClass("focus")});if(q&&q.length){j.on("keydown",function(x){if(x.which!==13){return}var i=a("