function QR8bitByte(t){this.mode=QRMode.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,n=this.data.length;e<n;e++){var i=[],o=this.data.charCodeAt(e);65536<o?(i[0]=240|(1835008&o)>>>18,i[1]=128|(258048&o)>>>12,i[2]=128|(4032&o)>>>6,i[3]=128|63&o):2048<o?(i[0]=224|(61440&o)>>>12,i[1]=128|(4032&o)>>>6,i[2]=128|63&o):128<o?(i[0]=192|(1984&o)>>>6,i[1]=128|63&o):i[0]=o,this.parsedData.push(i)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function QRCodeModel(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(E,t){"use strict";var e=[],C=E.document,i=Object.getPrototypeOf,a=e.slice,m=e.concat,l=e.push,o=e.indexOf,n={},r=n.toString,g=n.hasOwnProperty,s=g.toString,c=s.call(Object),v={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},w=function(t){return null!=t&&t===t.window},u={type:!0,src:!0,noModule:!0};function _(t,e,n){var i,o=(e=e||C).createElement("script");if(o.text=t,n)for(i in u)n[i]&&(o[i]=n[i]);e.head.appendChild(o).parentNode.removeChild(o)}function b(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?n[r.call(t)]||"object":typeof t}var x=function(t,e){return new x.fn.init(t,e)},d=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function h(t){var e=!!t&&"length"in t&&t.length,n=b(t);return!y(t)&&!w(t)&&("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t)}x.fn=x.prototype={jquery:"3.3.1",constructor:x,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=x.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return x.each(this,t)},map:function(n){return this.pushStack(x.map(this,function(t,e){return n.call(t,e,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:e.sort,splice:e.splice},x.extend=x.fn.extend=function(){var t,e,n,i,o,r,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||y(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)n=s[e],s!==(i=t[e])&&(c&&i&&(x.isPlainObject(i)||(o=Array.isArray(i)))?(o?(o=!1,r=n&&Array.isArray(n)?n:[]):r=n&&x.isPlainObject(n)?n:{},s[e]=x.extend(c,r,i)):void 0!==i&&(s[e]=i));return s},x.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==r.call(t)||(e=i(t))&&("function"!=typeof(n=g.call(e,"constructor")&&e.constructor)||s.call(n)!==c))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t){_(t)},each:function(t,e){var n,i=0;if(h(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(d,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(h(Object(t))?x.merge(n,"string"==typeof t?[t]:t):l.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:o.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;i<n;i++)t[o++]=e[i];return t.length=o,t},grep:function(t,e,n){for(var i=[],o=0,r=t.length,s=!n;o<r;o++)!e(t[o],o)!==s&&i.push(t[o]);return i},map:function(t,e,n){var i,o,r=0,s=[];if(h(t))for(i=t.length;r<i;r++)null!=(o=e(t[r],r,n))&&s.push(o);else for(r in t)null!=(o=e(t[r],r,n))&&s.push(o);return m.apply([],s)},guid:1,support:v}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=e[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){n["[object "+e+"]"]=e.toLowerCase()});var p=function(n){var t,p,_,r,o,f,d,m,b,l,c,T,E,s,C,g,a,u,v,x="sizzle"+1*new Date,y=n.document,S=0,i=0,h=st(),w=st(),k=st(),I=function(t,e){return t===e&&(c=!0),0},A={}.hasOwnProperty,e=[],D=e.pop,$=e.push,L=e.push,O=e.slice,N=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",j="\\["+P+"*("+M+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+P+"*\\]",H=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+j+")*)|.*)\\)|)",z=new RegExp(P+"+","g"),B=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),W=new RegExp("^"+P+"*,"+P+"*"),q=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),F=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),Q=new RegExp(H),U=new RegExp("^"+M+"$"),V={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+j),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),tt=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},et=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,nt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},it=function(){T()},ot=yt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{L.apply(e=O.call(y.childNodes),y.childNodes),e[y.childNodes.length].nodeType}catch(n){L={apply:e.length?function(t,e){$.apply(t,O.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function rt(t,e,n,i){var o,r,s,a,l,c,u,d=e&&e.ownerDocument,h=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==h&&9!==h&&11!==h)return n;if(!i&&((e?e.ownerDocument||e:y)!==E&&T(e),e=e||E,C)){if(11!==h&&(l=X.exec(t)))if(o=l[1]){if(9===h){if(!(s=e.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(d&&(s=d.getElementById(o))&&v(e,s)&&s.id===o)return n.push(s),n}else{if(l[2])return L.apply(n,e.getElementsByTagName(t)),n;if((o=l[3])&&p.getElementsByClassName&&e.getElementsByClassName)return L.apply(n,e.getElementsByClassName(o)),n}if(p.qsa&&!k[t+" "]&&(!g||!g.test(t))){if(1!==h)d=e,u=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(et,nt):e.setAttribute("id",a=x),r=(c=f(t)).length;r--;)c[r]="#"+a+" "+vt(c[r]);u=c.join(","),d=J.test(t)&&mt(e.parentNode)||e}if(u)try{return L.apply(n,d.querySelectorAll(u)),n}catch(t){}finally{a===x&&e.removeAttribute("id")}}}return m(t.replace(B,"$1"),e,n,i)}function st(){var i=[];return function t(e,n){return i.push(e+" ")>_.cacheLength&&delete t[i.shift()],t[e+" "]=n}}function at(t){return t[x]=!0,t}function lt(t){var e=E.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ct(t,e){for(var n=t.split("|"),i=n.length;i--;)_.attrHandle[n[i]]=e}function ut(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function dt(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ht(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}function pt(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ot(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ft(s){return at(function(r){return r=+r,at(function(t,e){for(var n,i=s([],t.length,r),o=i.length;o--;)t[n=i[o]]&&(t[n]=!(e[n]=t[n]))})})}function mt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in p=rt.support={},o=rt.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},T=rt.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:y;return i!==E&&9===i.nodeType&&i.documentElement&&(s=(E=i).documentElement,C=!o(E),y!==E&&(n=E.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",it,!1):n.attachEvent&&n.attachEvent("onunload",it)),p.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),p.getElementsByTagName=lt(function(t){return t.appendChild(E.createComment("")),!t.getElementsByTagName("*").length}),p.getElementsByClassName=K.test(E.getElementsByClassName),p.getById=lt(function(t){return s.appendChild(t).id=x,!E.getElementsByName||!E.getElementsByName(x).length}),p.getById?(_.filter.ID=function(t){var e=t.replace(Z,tt);return function(t){return t.getAttribute("id")===e}},_.find.ID=function(t,e){if(void 0!==e.getElementById&&C){var n=e.getElementById(t);return n?[n]:[]}}):(_.filter.ID=function(t){var n=t.replace(Z,tt);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===n}},_.find.ID=function(t,e){if(void 0!==e.getElementById&&C){var n,i,o,r=e.getElementById(t);if(r){if((n=r.getAttributeNode("id"))&&n.value===t)return[r];for(o=e.getElementsByName(t),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===t)return[r]}return[]}}),_.find.TAG=p.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):p.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},_.find.CLASS=p.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&C)return e.getElementsByClassName(t)},a=[],g=[],(p.qsa=K.test(E.querySelectorAll))&&(lt(function(t){s.appendChild(t).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+R+")"),t.querySelectorAll("[id~="+x+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]")}),lt(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=E.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+P+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),s.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(p.matchesSelector=K.test(u=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&lt(function(t){p.disconnectedMatch=u.call(t,"*"),u.call(t,"[s!='']:x"),a.push("!=",H)}),g=g.length&&new RegExp(g.join("|")),a=a.length&&new RegExp(a.join("|")),e=K.test(s.compareDocumentPosition),v=e||K.test(s.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},I=e?function(t,e){if(t===e)return c=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!p.sortDetached&&e.compareDocumentPosition(t)===n?t===E||t.ownerDocument===y&&v(y,t)?-1:e===E||e.ownerDocument===y&&v(y,e)?1:l?N(l,t)-N(l,e):0:4&n?-1:1)}:function(t,e){if(t===e)return c=!0,0;var n,i=0,o=t.parentNode,r=e.parentNode,s=[t],a=[e];if(!o||!r)return t===E?-1:e===E?1:o?-1:r?1:l?N(l,t)-N(l,e):0;if(o===r)return ut(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?ut(s[i],a[i]):s[i]===y?-1:a[i]===y?1:0}),E},rt.matches=function(t,e){return rt(t,null,null,e)},rt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==E&&T(t),e=e.replace(F,"='$1']"),p.matchesSelector&&C&&!k[e+" "]&&(!a||!a.test(e))&&(!g||!g.test(e)))try{var n=u.call(t,e);if(n||p.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0<rt(e,E,null,[t]).length},rt.contains=function(t,e){return(t.ownerDocument||t)!==E&&T(t),v(t,e)},rt.attr=function(t,e){(t.ownerDocument||t)!==E&&T(t);var n=_.attrHandle[e.toLowerCase()],i=n&&A.call(_.attrHandle,e.toLowerCase())?n(t,e,!C):void 0;return void 0!==i?i:p.attributes||!C?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},rt.escape=function(t){return(t+"").replace(et,nt)},rt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},rt.uniqueSort=function(t){var e,n=[],i=0,o=0;if(c=!p.detectDuplicates,l=!p.sortStable&&t.slice(0),t.sort(I),c){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return l=null,t},r=rt.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=r(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=r(e);return n},(_=rt.selectors={cacheLength:50,createPseudo:at,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Z,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(Z,tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||rt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&rt.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return V.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&Q.test(n)&&(e=f(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Z,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=h[t+" "];return e||(e=new RegExp("(^|"+P+")"+t+"("+P+"|$)"))&&h(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(n,i,o){return function(t){var e=rt.attr(t,n);return null==e?"!="===i:!i||(e+="","="===i?e===o:"!="===i?e!==o:"^="===i?o&&0===e.indexOf(o):"*="===i?o&&-1<e.indexOf(o):"$="===i?o&&e.slice(-o.length)===o:"~="===i?-1<(" "+e.replace(z," ")+" ").indexOf(o):"|="===i&&(e===o||e.slice(0,o.length+1)===o+"-"))}},CHILD:function(f,t,e,m,g){var v="nth"!==f.slice(0,3),y="last"!==f.slice(-4),w="of-type"===t;return 1===m&&0===g?function(t){return!!t.parentNode}:function(t,e,n){var i,o,r,s,a,l,c=v!==y?"nextSibling":"previousSibling",u=t.parentNode,d=w&&t.nodeName.toLowerCase(),h=!n&&!w,p=!1;if(u){if(v){for(;c;){for(s=t;s=s[c];)if(w?s.nodeName.toLowerCase()===d:1===s.nodeType)return!1;l=c="only"===f&&!l&&"nextSibling"}return!0}if(l=[y?u.firstChild:u.lastChild],y&&h){for(p=(a=(i=(o=(r=(s=u)[x]||(s[x]={}))[s.uniqueID]||(r[s.uniqueID]={}))[f]||[])[0]===S&&i[1])&&i[2],s=a&&u.childNodes[a];s=++a&&s&&s[c]||(p=a=0)||l.pop();)if(1===s.nodeType&&++p&&s===t){o[f]=[S,a,p];break}}else if(h&&(p=a=(i=(o=(r=(s=t)[x]||(s[x]={}))[s.uniqueID]||(r[s.uniqueID]={}))[f]||[])[0]===S&&i[1]),!1===p)for(;(s=++a&&s&&s[c]||(p=a=0)||l.pop())&&((w?s.nodeName.toLowerCase()!==d:1!==s.nodeType)||!++p||(h&&((o=(r=s[x]||(s[x]={}))[s.uniqueID]||(r[s.uniqueID]={}))[f]=[S,p]),s!==t)););return(p-=g)===m||p%m==0&&0<=p/m}}},PSEUDO:function(t,r){var e,s=_.pseudos[t]||_.setFilters[t.toLowerCase()]||rt.error("unsupported pseudo: "+t);return s[x]?s(r):1<s.length?(e=[t,t,"",r],_.setFilters.hasOwnProperty(t.toLowerCase())?at(function(t,e){for(var n,i=s(t,r),o=i.length;o--;)t[n=N(t,i[o])]=!(e[n]=i[o])}):function(t){return s(t,0,e)}):s}},pseudos:{not:at(function(t){var i=[],o=[],a=d(t.replace(B,"$1"));return a[x]?at(function(t,e,n,i){for(var o,r=a(t,null,i,[]),s=t.length;s--;)(o=r[s])&&(t[s]=!(e[s]=o))}):function(t,e,n){return i[0]=t,a(i,null,n,o),i[0]=null,!o.pop()}}),has:at(function(e){return function(t){return 0<rt(e,t).length}}),contains:at(function(e){return e=e.replace(Z,tt),function(t){return-1<(t.textContent||t.innerText||r(t)).indexOf(e)}}),lang:at(function(n){return U.test(n||"")||rt.error("unsupported lang: "+n),n=n.replace(Z,tt).toLowerCase(),function(t){var e;do{if(e=C?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===s},focus:function(t){return t===E.activeElement&&(!E.hasFocus||E.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:pt(!1),disabled:pt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!_.pseudos.empty(t)},header:function(t){return Y.test(t.nodeName)},input:function(t){return G.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:ft(function(){return[0]}),last:ft(function(t,e){return[e-1]}),eq:ft(function(t,e,n){return[n<0?n+e:n]}),even:ft(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:ft(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:ft(function(t,e,n){for(var i=n<0?n+e:n;0<=--i;)t.push(i);return t}),gt:ft(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=_.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[t]=dt(t);for(t in{submit:!0,reset:!0})_.pseudos[t]=ht(t);function gt(){}function vt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function yt(a,t,e){var l=t.dir,c=t.next,u=c||l,d=e&&"parentNode"===u,h=i++;return t.first?function(t,e,n){for(;t=t[l];)if(1===t.nodeType||d)return a(t,e,n);return!1}:function(t,e,n){var i,o,r,s=[S,h];if(n){for(;t=t[l];)if((1===t.nodeType||d)&&a(t,e,n))return!0}else for(;t=t[l];)if(1===t.nodeType||d)if(o=(r=t[x]||(t[x]={}))[t.uniqueID]||(r[t.uniqueID]={}),c&&c===t.nodeName.toLowerCase())t=t[l]||t;else{if((i=o[u])&&i[0]===S&&i[1]===h)return s[2]=i[2];if((o[u]=s)[2]=a(t,e,n))return!0}return!1}}function wt(o){return 1<o.length?function(t,e,n){for(var i=o.length;i--;)if(!o[i](t,e,n))return!1;return!0}:o[0]}function _t(t,e,n,i,o){for(var r,s=[],a=0,l=t.length,c=null!=e;a<l;a++)(r=t[a])&&(n&&!n(r,i,o)||(s.push(r),c&&e.push(a)));return s}function bt(p,f,m,g,v,t){return g&&!g[x]&&(g=bt(g)),v&&!v[x]&&(v=bt(v,t)),at(function(t,e,n,i){var o,r,s,a=[],l=[],c=e.length,u=t||function(t,e,n){for(var i=0,o=e.length;i<o;i++)rt(t,e[i],n);return n}(f||"*",n.nodeType?[n]:n,[]),d=!p||!t&&f?u:_t(u,a,p,n,i),h=m?v||(t?p:c||g)?[]:e:d;if(m&&m(d,h,n,i),g)for(o=_t(h,l),g(o,[],n,i),r=o.length;r--;)(s=o[r])&&(h[l[r]]=!(d[l[r]]=s));if(t){if(v||p){if(v){for(o=[],r=h.length;r--;)(s=h[r])&&o.push(d[r]=s);v(null,h=[],o,i)}for(r=h.length;r--;)(s=h[r])&&-1<(o=v?N(t,s):a[r])&&(t[o]=!(e[o]=s))}}else h=_t(h===e?h.splice(c,h.length):h),v?v(null,e,h,i):L.apply(e,h)})}function Tt(t){for(var o,e,n,i=t.length,r=_.relative[t[0].type],s=r||_.relative[" "],a=r?1:0,l=yt(function(t){return t===o},s,!0),c=yt(function(t){return-1<N(o,t)},s,!0),u=[function(t,e,n){var i=!r&&(n||e!==b)||((o=e).nodeType?l(t,e,n):c(t,e,n));return o=null,i}];a<i;a++)if(e=_.relative[t[a].type])u=[yt(wt(u),e)];else{if((e=_.filter[t[a].type].apply(null,t[a].matches))[x]){for(n=++a;n<i&&!_.relative[t[n].type];n++);return bt(1<a&&wt(u),1<a&&vt(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(B,"$1"),e,a<n&&Tt(t.slice(a,n)),n<i&&Tt(t=t.slice(n)),n<i&&vt(t))}u.push(e)}return wt(u)}return gt.prototype=_.filters=_.pseudos,_.setFilters=new gt,f=rt.tokenize=function(t,e){var n,i,o,r,s,a,l,c=w[t+" "];if(c)return e?0:c.slice(0);for(s=t,a=[],l=_.preFilter;s;){for(r in n&&!(i=W.exec(s))||(i&&(s=s.slice(i[0].length)||s),a.push(o=[])),n=!1,(i=q.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(B," ")}),s=s.slice(n.length)),_.filter)!(i=V[r].exec(s))||l[r]&&!(i=l[r](i))||(n=i.shift(),o.push({value:n,type:r,matches:i}),s=s.slice(n.length));if(!n)break}return e?s.length:s?rt.error(t):w(t,a).slice(0)},d=rt.compile=function(t,e){var n,g,v,y,w,i,o=[],r=[],s=k[t+" "];if(!s){for(e||(e=f(t)),n=e.length;n--;)(s=Tt(e[n]))[x]?o.push(s):r.push(s);(s=k(t,(g=r,v=o,y=0<v.length,w=0<g.length,i=function(t,e,n,i,o){var r,s,a,l=0,c="0",u=t&&[],d=[],h=b,p=t||w&&_.find.TAG("*",o),f=S+=null==h?1:Math.random()||.1,m=p.length;for(o&&(b=e===E||e||o);c!==m&&null!=(r=p[c]);c++){if(w&&r){for(s=0,e||r.ownerDocument===E||(T(r),n=!C);a=g[s++];)if(a(r,e||E,n)){i.push(r);break}o&&(S=f)}y&&((r=!a&&r)&&l--,t&&u.push(r))}if(l+=c,y&&c!==l){for(s=0;a=v[s++];)a(u,d,e,n);if(t){if(0<l)for(;c--;)u[c]||d[c]||(d[c]=D.call(i));d=_t(d)}L.apply(i,d),o&&!t&&0<d.length&&1<l+v.length&&rt.uniqueSort(i)}return o&&(S=f,b=h),u},y?at(i):i))).selector=t}return s},m=rt.select=function(t,e,n,i){var o,r,s,a,l,c="function"==typeof t&&t,u=!i&&f(t=c.selector||t);if(n=n||[],1===u.length){if(2<(r=u[0]=u[0].slice(0)).length&&"ID"===(s=r[0]).type&&9===e.nodeType&&C&&_.relative[r[1].type]){if(!(e=(_.find.ID(s.matches[0].replace(Z,tt),e)||[])[0]))return n;c&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(o=V.needsContext.test(t)?0:r.length;o--&&(s=r[o],!_.relative[a=s.type]);)if((l=_.find[a])&&(i=l(s.matches[0].replace(Z,tt),J.test(r[0].type)&&mt(e.parentNode)||e))){if(r.splice(o,1),!(t=i.length&&vt(r)))return L.apply(n,i),n;break}}return(c||d(t,u))(i,e,!C,n,!e||J.test(t)&&mt(e.parentNode)||e),n},p.sortStable=x.split("").sort(I).join("")===x,p.detectDuplicates=!!c,T(),p.sortDetached=lt(function(t){return 1&t.compareDocumentPosition(E.createElement("fieldset"))}),lt(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ct("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),p.attributes&&lt(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ct("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),lt(function(t){return null==t.getAttribute("disabled")})||ct(R,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),rt}(E);x.find=p,x.expr=p.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=p.uniqueSort,x.text=p.getText,x.isXMLDoc=p.isXML,x.contains=p.contains,x.escapeSelector=p.escape;var f=function(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&x(t).is(n))break;i.push(t)}return i},T=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},S=x.expr.match.needsContext;function k(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function A(t,n,i){return y(n)?x.grep(t,function(t,e){return!!n.call(t,e,t)!==i}):n.nodeType?x.grep(t,function(t){return t===n!==i}):"string"!=typeof n?x.grep(t,function(t){return-1<o.call(n,t)!==i}):x.filter(n,t,i)}x.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?x.find.matchesSelector(i,t)?[i]:[]:x.find.matches(t,x.grep(e,function(t){return 1===t.nodeType}))},x.fn.extend({find:function(t){var e,n,i=this.length,o=this;if("string"!=typeof t)return this.pushStack(x(t).filter(function(){for(e=0;e<i;e++)if(x.contains(o[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)x.find(t,o[e],n);return 1<i?x.uniqueSort(n):n},filter:function(t){return this.pushStack(A(this,t||[],!1))},not:function(t){return this.pushStack(A(this,t||[],!0))},is:function(t){return!!A(this,"string"==typeof t&&S.test(t)?x(t):t||[],!1).length}});var D,$=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(t,e,n){var i,o;if(!t)return this;if(n=n||D,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:$.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof x?e[0]:e,x.merge(this,x.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:C,!0)),I.test(i[1])&&x.isPlainObject(e))for(i in e)y(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(o=C.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==n.ready?n.ready(t):t(x):x.makeArray(t,this)}).prototype=x.fn,D=x(C);var L=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function N(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}x.fn.extend({has:function(t){var e=x(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(x.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,o=this.length,r=[],s="string"!=typeof t&&x(t);if(!S.test(t))for(;i<o;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&x.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(1<r.length?x.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?o.call(x(t),this[0]):o.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),x.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return f(t,"parentNode")},parentsUntil:function(t,e,n){return f(t,"parentNode",n)},next:function(t){return N(t,"nextSibling")},prev:function(t){return N(t,"previousSibling")},nextAll:function(t){return f(t,"nextSibling")},prevAll:function(t){return f(t,"previousSibling")},nextUntil:function(t,e,n){return f(t,"nextSibling",n)},prevUntil:function(t,e,n){return f(t,"previousSibling",n)},siblings:function(t){return T((t.parentNode||{}).firstChild,t)},children:function(t){return T(t.firstChild)},contents:function(t){return k(t,"iframe")?t.contentDocument:(k(t,"template")&&(t=t.content||t),x.merge([],t.childNodes))}},function(i,o){x.fn[i]=function(t,e){var n=x.map(this,o,t);return"Until"!==i.slice(-5)&&(e=t),e&&"string"==typeof e&&(n=x.filter(e,n)),1<this.length&&(O[i]||x.uniqueSort(n),L.test(i)&&n.reverse()),this.pushStack(n)}});var R=/[^\x20\t\r\n\f]+/g;function P(t){return t}function M(t){throw t}function j(t,e,n,i){var o;try{t&&y(o=t.promise)?o.call(t).done(e).fail(n):t&&y(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}x.Callbacks=function(i){var t,n;i="string"==typeof i?(t=i,n={},x.each(t.match(R)||[],function(t,e){n[e]=!0}),n):x.extend({},i);var o,e,r,s,a=[],l=[],c=-1,u=function(){for(s=s||i.once,r=o=!0;l.length;c=-1)for(e=l.shift();++c<a.length;)!1===a[c].apply(e[0],e[1])&&i.stopOnFalse&&(c=a.length,e=!1);i.memory||(e=!1),o=!1,s&&(a=e?[]:"")},d={add:function(){return a&&(e&&!o&&(c=a.length-1,l.push(e)),function n(t){x.each(t,function(t,e){y(e)?i.unique&&d.has(e)||a.push(e):e&&e.length&&"string"!==b(e)&&n(e)})}(arguments),e&&!o&&u()),this},remove:function(){return x.each(arguments,function(t,e){for(var n;-1<(n=x.inArray(e,a,n));)a.splice(n,1),n<=c&&c--}),this},has:function(t){return t?-1<x.inArray(t,a):0<a.length},empty:function(){return a&&(a=[]),this},disable:function(){return s=l=[],a=e="",this},disabled:function(){return!a},lock:function(){return s=l=[],e||o||(a=e=""),this},locked:function(){return!!s},fireWith:function(t,e){return s||(e=[t,(e=e||[]).slice?e.slice():e],l.push(e),o||u()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},x.extend({Deferred:function(t){var r=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],o="pending",s={state:function(){return o},always:function(){return a.done(arguments).fail(arguments),this},catch:function(t){return s.then(null,t)},pipe:function(){var o=arguments;return x.Deferred(function(i){x.each(r,function(t,e){var n=y(o[e[4]])&&o[e[4]];a[e[1]](function(){var t=n&&n.apply(this,arguments);t&&y(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[e[0]+"With"](this,n?[t]:arguments)})}),o=null}).promise()},then:function(e,n,i){var l=0;function c(o,r,s,a){return function(){var n=this,i=arguments,t=function(){var t,e;if(!(o<l)){if((t=s.apply(n,i))===r.promise())throw new TypeError("Thenable self-resolution");e=t&&("object"==typeof t||"function"==typeof t)&&t.then,y(e)?a?e.call(t,c(l,r,P,a),c(l,r,M,a)):(l++,e.call(t,c(l,r,P,a),c(l,r,M,a),c(l,r,P,r.notifyWith))):(s!==P&&(n=void 0,i=[t]),(a||r.resolveWith)(n,i))}},e=a?t:function(){try{t()}catch(t){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(t,e.stackTrace),l<=o+1&&(s!==M&&(n=void 0,i=[t]),r.rejectWith(n,i))}};o?e():(x.Deferred.getStackHook&&(e.stackTrace=x.Deferred.getStackHook()),E.setTimeout(e))}}return x.Deferred(function(t){r[0][3].add(c(0,t,y(i)?i:P,t.notifyWith)),r[1][3].add(c(0,t,y(e)?e:P)),r[2][3].add(c(0,t,y(n)?n:M))}).promise()},promise:function(t){return null!=t?x.extend(t,s):s}},a={};return x.each(r,function(t,e){var n=e[2],i=e[5];s[e[1]]=n.add,i&&n.add(function(){o=i},r[3-t][2].disable,r[3-t][3].disable,r[0][2].lock,r[0][3].lock),n.add(e[3].fire),a[e[0]]=function(){return a[e[0]+"With"](this===a?void 0:this,arguments),this},a[e[0]+"With"]=n.fireWith}),s.promise(a),t&&t.call(a,a),a},when:function(t){var n=arguments.length,e=n,i=Array(e),o=a.call(arguments),r=x.Deferred(),s=function(e){return function(t){i[e]=this,o[e]=1<arguments.length?a.call(arguments):t,--n||r.resolveWith(i,o)}};if(n<=1&&(j(t,r.done(s(e)).resolve,r.reject,!n),"pending"===r.state()||y(o[e]&&o[e].then)))return r.then();for(;e--;)j(o[e],s(e),r.reject);return r.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(t,e){E.console&&E.console.warn&&t&&H.test(t.name)&&E.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},x.readyException=function(t){E.setTimeout(function(){throw t})};var z=x.Deferred();function B(){C.removeEventListener("DOMContentLoaded",B),E.removeEventListener("load",B),x.ready()}x.fn.ready=function(t){return z.then(t).catch(function(t){x.readyException(t)}),this},x.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--x.readyWait:x.isReady)||((x.isReady=!0)!==t&&0<--x.readyWait||z.resolveWith(C,[x]))}}),x.ready.then=z.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?E.setTimeout(x.ready):(C.addEventListener("DOMContentLoaded",B),E.addEventListener("load",B));var W=function(t,e,n,i,o,r,s){var a=0,l=t.length,c=null==n;if("object"===b(n))for(a in o=!0,n)W(t,e,a,n[a],!0,r,s);else if(void 0!==i&&(o=!0,y(i)||(s=!0),c&&(s?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(x(t),n)})),e))for(;a<l;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return o?t:c?e.call(t):l?e(t[0],n):r},q=/^-ms-/,F=/-([a-z])/g;function Q(t,e){return e.toUpperCase()}function U(t){return t.replace(q,"ms-").replace(F,Q)}var V=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function G(){this.expando=x.expando+G.uid++}G.uid=1,G.prototype={cache:function(t){var e=t[this.expando];return e||(e={},V(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,o=this.cache(t);if("string"==typeof e)o[U(e)]=n;else for(i in e)o[U(i)]=e[i];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][U(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(U):(e=U(e))in i?[e]:e.match(R)||[]).length;for(;n--;)delete i[e[n]]}(void 0===e||x.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!x.isEmptyObject(e)}};var Y=new G,K=new G,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function Z(t,e,n){var i,o;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(J,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===(o=n)||"false"!==o&&("null"===o?null:o===+o+""?+o:X.test(o)?JSON.parse(o):o)}catch(t){}K.set(t,e,n)}else n=void 0;return n}x.extend({hasData:function(t){return K.hasData(t)||Y.hasData(t)},data:function(t,e,n){return K.access(t,e,n)},removeData:function(t,e){K.remove(t,e)},_data:function(t,e,n){return Y.access(t,e,n)},_removeData:function(t,e){Y.remove(t,e)}}),x.fn.extend({data:function(n,t){var e,i,o,r=this[0],s=r&&r.attributes;if(void 0===n){if(this.length&&(o=K.get(r),1===r.nodeType&&!Y.get(r,"hasDataAttrs"))){for(e=s.length;e--;)s[e]&&0===(i=s[e].name).indexOf("data-")&&(i=U(i.slice(5)),Z(r,i,o[i]));Y.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof n?this.each(function(){K.set(this,n)}):W(this,function(t){var e;if(r&&void 0===t){if(void 0!==(e=K.get(r,n)))return e;if(void 0!==(e=Z(r,n)))return e}else this.each(function(){K.set(this,n,t)})},null,t,1<arguments.length,null,!0)},removeData:function(t){return this.each(function(){K.remove(this,t)})}}),x.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Y.get(t,e),n&&(!i||Array.isArray(n)?i=Y.access(t,e,x.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=x.queue(t,e),i=n.length,o=n.shift(),r=x._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,function(){x.dequeue(t,e)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Y.get(t,n)||Y.access(t,n,{empty:x.Callbacks("once memory").add(function(){Y.remove(t,[e+"queue",n])})})}}),x.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),arguments.length<t?x.queue(this[0],e):void 0===n?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(t){return this.each(function(){x.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,o=x.Deferred(),r=this,s=this.length,a=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=Y.get(r[s],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),o.promise(e)}});var tt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,et=new RegExp("^(?:([+-])=|)("+tt+")([a-z%]*)$","i"),nt=["Top","Right","Bottom","Left"],it=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&x.contains(t.ownerDocument,t)&&"none"===x.css(t,"display")},ot=function(t,e,n,i){var o,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];for(r in o=n.apply(t,i||[]),e)t.style[r]=s[r];return o};function rt(t,e,n,i){var o,r,s=20,a=i?function(){return i.cur()}:function(){return x.css(t,e,"")},l=a(),c=n&&n[3]||(x.cssNumber[e]?"":"px"),u=(x.cssNumber[e]||"px"!==c&&+l)&&et.exec(x.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)x.style(t,e,u+c),(1-r)*(1-(r=a()/l||.5))<=0&&(s=0),u/=r;u*=2,x.style(t,e,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}var st={};function at(t,e){for(var n,i,o=[],r=0,s=t.length;r<s;r++)(i=t[r]).style&&(n=i.style.display,e?("none"===n&&(o[r]=Y.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&it(i)&&(o[r]=(d=c=l=void 0,c=(a=i).ownerDocument,u=a.nodeName,(d=st[u])||(l=c.body.appendChild(c.createElement(u)),d=x.css(l,"display"),l.parentNode.removeChild(l),"none"===d&&(d="block"),st[u]=d)))):"none"!==n&&(o[r]="none",Y.set(i,"display",n)));var a,l,c,u,d;for(r=0;r<s;r++)null!=o[r]&&(t[r].style.display=o[r]);return t}x.fn.extend({show:function(){return at(this,!0)},hide:function(){return at(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){it(this)?x(this).show():x(this).hide()})}});var lt=/^(?:checkbox|radio)$/i,ct=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,ut=/^$|^module$|\/(?:java|ecma)script/i,dt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ht(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&k(t,e)?x.merge([t],n):n}function pt(t,e){for(var n=0,i=t.length;n<i;n++)Y.set(t[n],"globalEval",!e||Y.get(e[n],"globalEval"))}dt.optgroup=dt.option,dt.tbody=dt.tfoot=dt.colgroup=dt.caption=dt.thead,dt.th=dt.td;var ft,mt,gt=/<|&#?\w+;/;function vt(t,e,n,i,o){for(var r,s,a,l,c,u,d=e.createDocumentFragment(),h=[],p=0,f=t.length;p<f;p++)if((r=t[p])||0===r)if("object"===b(r))x.merge(h,r.nodeType?[r]:r);else if(gt.test(r)){for(s=s||d.appendChild(e.createElement("div")),a=(ct.exec(r)||["",""])[1].toLowerCase(),l=dt[a]||dt._default,s.innerHTML=l[1]+x.htmlPrefilter(r)+l[2],u=l[0];u--;)s=s.lastChild;x.merge(h,s.childNodes),(s=d.firstChild).textContent=""}else h.push(e.createTextNode(r));for(d.textContent="",p=0;r=h[p++];)if(i&&-1<x.inArray(r,i))o&&o.push(r);else if(c=x.contains(r.ownerDocument,r),s=ht(d.appendChild(r),"script"),c&&pt(s),n)for(u=0;r=s[u++];)ut.test(r.type||"")&&n.push(r);return d}ft=C.createDocumentFragment().appendChild(C.createElement("div")),(mt=C.createElement("input")).setAttribute("type","radio"),mt.setAttribute("checked","checked"),mt.setAttribute("name","t"),ft.appendChild(mt),v.checkClone=ft.cloneNode(!0).cloneNode(!0).lastChild.checked,ft.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!ft.cloneNode(!0).lastChild.defaultValue;var yt=C.documentElement,wt=/^key/,_t=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,bt=/^([^.]*)(?:\.(.+)|)/;function Tt(){return!0}function Et(){return!1}function Ct(){try{return C.activeElement}catch(t){}}function xt(t,e,n,i,o,r){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)xt(t,a,n,i,e[a],r);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=Et;else if(!o)return t;return 1===r&&(s=o,(o=function(t){return x().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=x.guid++)),t.each(function(){x.event.add(this,e,o,i,n)})}x.event={global:{},add:function(e,t,n,i,o){var r,s,a,l,c,u,d,h,p,f,m,g=Y.get(e);if(g)for(n.handler&&(n=(r=n).handler,o=r.selector),o&&x.find.matchesSelector(yt,o),n.guid||(n.guid=x.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(R)||[""]).length;c--;)p=m=(a=bt.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),p&&(d=x.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=x.event.special[p]||{},u=x.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:f.join(".")},r),(h=l[p])||((h=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,f,s)||e.addEventListener&&e.addEventListener(p,s)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,u):h.push(u),x.event.global[p]=!0)},remove:function(t,e,n,i,o){var r,s,a,l,c,u,d,h,p,f,m,g=Y.hasData(t)&&Y.get(t);if(g&&(l=g.events)){for(c=(e=(e||"").match(R)||[""]).length;c--;)if(p=m=(a=bt.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=x.event.special[p]||{},h=l[p=(i?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=h.length;r--;)u=h[r],!o&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(r,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(t,u));s&&!h.length&&(d.teardown&&!1!==d.teardown.call(t,f,g.handle)||x.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)x.event.remove(t,p+e[c],n,i,!0);x.isEmptyObject(l)&&Y.remove(t,"handle events")}},dispatch:function(t){var e,n,i,o,r,s,a=x.event.fix(t),l=new Array(arguments.length),c=(Y.get(this,"events")||{})[a.type]||[],u=x.event.special[a.type]||{};for(l[0]=a,e=1;e<arguments.length;e++)l[e]=arguments[e];if(a.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,a)){for(s=x.event.handlers.call(this,a,c),e=0;(o=s[e++])&&!a.isPropagationStopped();)for(a.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(r.namespace)||(a.handleObj=r,a.data=r.data,void 0!==(i=((x.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,l))&&!1===(a.result=i)&&(a.preventDefault(),a.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,a),a.result}},handlers:function(t,e){var n,i,o,r,s,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&1<=t.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(r=[],s={},n=0;n<l;n++)void 0===s[o=(i=e[n]).selector+" "]&&(s[o]=i.needsContext?-1<x(o,this).index(c):x.find(o,this,null,[c]).length),s[o]&&r.push(i);r.length&&a.push({elem:c,handlers:r})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(e,t){Object.defineProperty(x.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(t){return t[x.expando]?t:new x.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Ct()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Ct()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&k(this,"input"))return this.click(),!1},_default:function(t){return k(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},x.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},x.Event=function(t,e){if(!(this instanceof x.Event))return new x.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Tt:Et,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&x.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:Et,isPropagationStopped:Et,isImmediatePropagationStopped:Et,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Tt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Tt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Tt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&wt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&_t.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},x.event.addProp),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,o){x.event.special[t]={delegateType:o,bindType:o,handle:function(t){var e,n=t.relatedTarget,i=t.handleObj;return n&&(n===this||x.contains(this,n))||(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=o),e}}}),x.fn.extend({on:function(t,e,n,i){return xt(this,t,e,n,i)},one:function(t,e,n,i){return xt(this,t,e,n,i,1)},off:function(t,e,n){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,x(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Et),this.each(function(){x.event.remove(this,t,n,e)})}});var St=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,kt=/<script|<style|<link/i,It=/checked\s*(?:[^=]|=\s*.checked.)/i,At=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Dt(t,e){return k(t,"table")&&k(11!==e.nodeType?e:e.firstChild,"tr")&&x(t).children("tbody")[0]||t}function $t(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Lt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ot(t,e){var n,i,o,r,s,a,l,c;if(1===e.nodeType){if(Y.hasData(t)&&(r=Y.access(t),s=Y.set(e,r),c=r.events))for(o in delete s.handle,s.events={},c)for(n=0,i=c[o].length;n<i;n++)x.event.add(e,o,c[o][n]);K.hasData(t)&&(a=K.access(t),l=x.extend({},a),K.set(e,l))}}function Nt(n,i,o,r){i=m.apply([],i);var t,e,s,a,l,c,u=0,d=n.length,h=d-1,p=i[0],f=y(p);if(f||1<d&&"string"==typeof p&&!v.checkClone&&It.test(p))return n.each(function(t){var e=n.eq(t);f&&(i[0]=p.call(this,t,e.html())),Nt(e,i,o,r)});if(d&&(e=(t=vt(i,n[0].ownerDocument,!1,n,r)).firstChild,1===t.childNodes.length&&(t=e),e||r)){for(a=(s=x.map(ht(t,"script"),$t)).length;u<d;u++)l=t,u!==h&&(l=x.clone(l,!0,!0),a&&x.merge(s,ht(l,"script"))),o.call(n[u],l,u);if(a)for(c=s[s.length-1].ownerDocument,x.map(s,Lt),u=0;u<a;u++)l=s[u],ut.test(l.type||"")&&!Y.access(l,"globalEval")&&x.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?x._evalUrl&&x._evalUrl(l.src):_(l.textContent.replace(At,""),c,l))}return n}function Rt(t,e,n){for(var i,o=e?x.filter(e,t):t,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||x.cleanData(ht(i)),i.parentNode&&(n&&x.contains(i.ownerDocument,i)&&pt(ht(i,"script")),i.parentNode.removeChild(i));return t}x.extend({htmlPrefilter:function(t){return t.replace(St,"<$1></$2>")},clone:function(t,e,n){var i,o,r,s,a,l,c,u=t.cloneNode(!0),d=x.contains(t.ownerDocument,t);if(!(v.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||x.isXMLDoc(t)))for(s=ht(u),i=0,o=(r=ht(t)).length;i<o;i++)a=r[i],l=s[i],void 0,"input"===(c=l.nodeName.toLowerCase())&&lt.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(e)if(n)for(r=r||ht(t),s=s||ht(u),i=0,o=r.length;i<o;i++)Ot(r[i],s[i]);else Ot(t,u);return 0<(s=ht(u,"script")).length&&pt(s,!d&&ht(t,"script")),u},cleanData:function(t){for(var e,n,i,o=x.event.special,r=0;void 0!==(n=t[r]);r++)if(V(n)){if(e=n[Y.expando]){if(e.events)for(i in e.events)o[i]?x.event.remove(n,i):x.removeEvent(n,i,e.handle);n[Y.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),x.fn.extend({detach:function(t){return Rt(this,t,!0)},remove:function(t){return Rt(this,t)},text:function(t){return W(this,function(t){return void 0===t?x.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Nt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Dt(this,t).appendChild(t)})},prepend:function(){return Nt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Dt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Nt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Nt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(x.cleanData(ht(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return x.clone(this,t,e)})},html:function(t){return W(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!kt.test(t)&&!dt[(ct.exec(t)||["",""])[1].toLowerCase()]){t=x.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(x.cleanData(ht(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var n=[];return Nt(this,arguments,function(t){var e=this.parentNode;x.inArray(this,n)<0&&(x.cleanData(ht(this)),e&&e.replaceChild(t,this))},n)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,s){x.fn[t]=function(t){for(var e,n=[],i=x(t),o=i.length-1,r=0;r<=o;r++)e=r===o?this:this.clone(!0),x(i[r])[s](e),l.apply(n,e.get());return this.pushStack(n)}});var Pt=new RegExp("^("+tt+")(?!px)[a-z%]+$","i"),Mt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=E),e.getComputedStyle(t)},jt=new RegExp(nt.join("|"),"i");function Ht(t,e,n){var i,o,r,s,a=t.style;return(n=n||Mt(t))&&(""!==(s=n.getPropertyValue(e)||n[e])||x.contains(t.ownerDocument,t)||(s=x.style(t,e)),!v.pixelBoxStyles()&&Pt.test(s)&&jt.test(e)&&(i=a.width,o=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=o,a.maxWidth=r)),void 0!==s?s+"":s}function zt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(l){a.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",yt.appendChild(a).appendChild(l);var t=E.getComputedStyle(l);n="1%"!==t.top,s=12===e(t.marginLeft),l.style.right="60%",r=36===e(t.right),i=36===e(t.width),l.style.position="absolute",o=36===l.offsetWidth||"absolute",yt.removeChild(a),l=null}}function e(t){return Math.round(parseFloat(t))}var n,i,o,r,s,a=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===l.style.backgroundClip,x.extend(v,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),r},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),s},scrollboxSize:function(){return t(),o}}))}();var Bt=/^(none|table(?!-c[ea]).+)/,Wt=/^--/,qt={position:"absolute",visibility:"hidden",display:"block"},Ft={letterSpacing:"0",fontWeight:"400"},Qt=["Webkit","Moz","ms"],Ut=C.createElement("div").style;function Vt(t){var e=x.cssProps[t];return e||(e=x.cssProps[t]=function(t){if(t in Ut)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=Qt.length;n--;)if((t=Qt[n]+e)in Ut)return t}(t)||t),e}function Gt(t,e,n){var i=et.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function Yt(t,e,n,i,o,r){var s="width"===e?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=x.css(t,n+nt[s],!0,o)),i?("content"===n&&(l-=x.css(t,"padding"+nt[s],!0,o)),"margin"!==n&&(l-=x.css(t,"border"+nt[s]+"Width",!0,o))):(l+=x.css(t,"padding"+nt[s],!0,o),"padding"!==n?l+=x.css(t,"border"+nt[s]+"Width",!0,o):a+=x.css(t,"border"+nt[s]+"Width",!0,o));return!i&&0<=r&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))),l}function Kt(t,e,n){var i=Mt(t),o=Ht(t,e,i),r="border-box"===x.css(t,"boxSizing",!1,i),s=r;if(Pt.test(o)){if(!n)return o;o="auto"}return s=s&&(v.boxSizingReliable()||o===t.style[e]),("auto"===o||!parseFloat(o)&&"inline"===x.css(t,"display",!1,i))&&(o=t["offset"+e[0].toUpperCase()+e.slice(1)],s=!0),(o=parseFloat(o)||0)+Yt(t,e,n||(r?"border":"content"),s,i,o)+"px"}function Xt(t,e,n,i,o){return new Xt.prototype.init(t,e,n,i,o)}x.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Ht(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,s,a=U(e),l=Wt.test(e),c=t.style;if(l||(e=Vt(a)),s=x.cssHooks[e]||x.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(t,!1,i))?o:c[e];"string"==(r=typeof n)&&(o=et.exec(n))&&o[1]&&(n=rt(t,e,o),r="number"),null!=n&&n==n&&("number"===r&&(n+=o&&o[3]||(x.cssNumber[a]?"":"px")),v.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,i){var o,r,s,a=U(e);return Wt.test(e)||(e=Vt(a)),(s=x.cssHooks[e]||x.cssHooks[a])&&"get"in s&&(o=s.get(t,!0,n)),void 0===o&&(o=Ht(t,e,i)),"normal"===o&&e in Ft&&(o=Ft[e]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),x.each(["height","width"],function(t,a){x.cssHooks[a]={get:function(t,e,n){if(e)return!Bt.test(x.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?Kt(t,a,n):ot(t,qt,function(){return Kt(t,a,n)})},set:function(t,e,n){var i,o=Mt(t),r="border-box"===x.css(t,"boxSizing",!1,o),s=n&&Yt(t,a,n,r,o);return r&&v.scrollboxSize()===o.position&&(s-=Math.ceil(t["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(o[a])-Yt(t,a,"border",!1,o)-.5)),s&&(i=et.exec(e))&&"px"!==(i[3]||"px")&&(t.style[a]=e,e=x.css(t,a)),Gt(0,e,s)}}}),x.cssHooks.marginLeft=zt(v.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Ht(t,"marginLeft"))||t.getBoundingClientRect().left-ot(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(o,r){x.cssHooks[o+r]={expand:function(t){for(var e=0,n={},i="string"==typeof t?t.split(" "):[t];e<4;e++)n[o+nt[e]+r]=i[e]||i[e-2]||i[0];return n}},"margin"!==o&&(x.cssHooks[o+r].set=Gt)}),x.fn.extend({css:function(t,e){return W(this,function(t,e,n){var i,o,r={},s=0;if(Array.isArray(e)){for(i=Mt(t),o=e.length;s<o;s++)r[e[s]]=x.css(t,e[s],!1,i);return r}return void 0!==n?x.style(t,e,n):x.css(t,e)},t,e,1<arguments.length)}}),((x.Tween=Xt).prototype={constructor:Xt,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||x.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(x.cssNumber[n]?"":"px")},cur:function(){var t=Xt.propHooks[this.prop];return t&&t.get?t.get(this):Xt.propHooks._default.get(this)},run:function(t){var e,n=Xt.propHooks[this.prop];return this.options.duration?this.pos=e=x.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Xt.propHooks._default.set(this),this}}).init.prototype=Xt.prototype,(Xt.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=x.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){x.fx.step[t.prop]?x.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[x.cssProps[t.prop]]&&!x.cssHooks[t.prop]?t.elem[t.prop]=t.now:x.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=Xt.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},x.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},x.fx=Xt.prototype.init,x.fx.step={};var Jt,Zt,te,ee,ne=/^(?:toggle|show|hide)$/,ie=/queueHooks$/;function oe(){Zt&&(!1===C.hidden&&E.requestAnimationFrame?E.requestAnimationFrame(oe):E.setTimeout(oe,x.fx.interval),x.fx.tick())}function re(){return E.setTimeout(function(){Jt=void 0}),Jt=Date.now()}function se(t,e){var n,i=0,o={height:t};for(e=e?1:0;i<4;i+=2-e)o["margin"+(n=nt[i])]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function ae(t,e,n){for(var i,o=(le.tweeners[e]||[]).concat(le.tweeners["*"]),r=0,s=o.length;r<s;r++)if(i=o[r].call(n,e,t))return i}function le(r,t,e){var n,s,i=0,o=le.prefilters.length,a=x.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var t=Jt||re(),e=Math.max(0,c.startTime+c.duration-t),n=1-(e/c.duration||0),i=0,o=c.tweens.length;i<o;i++)c.tweens[i].run(n);return a.notifyWith(r,[c,n,e]),n<1&&o?e:(o||a.notifyWith(r,[c,1,0]),a.resolveWith(r,[c]),!1)},c=a.promise({elem:r,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},e),originalProperties:t,originalOptions:e,startTime:Jt||re(),duration:e.duration,tweens:[],createTween:function(t,e){var n=x.Tween(r,c.opts,t,e,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(n),n},stop:function(t){var e=0,n=t?c.tweens.length:0;if(s)return this;for(s=!0;e<n;e++)c.tweens[e].run(1);return t?(a.notifyWith(r,[c,1,0]),a.resolveWith(r,[c,t])):a.rejectWith(r,[c,t]),this}}),u=c.props;for(function(t,e){var n,i,o,r,s;for(n in t)if(o=e[i=U(n)],r=t[n],Array.isArray(r)&&(o=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),(s=x.cssHooks[i])&&"expand"in s)for(n in r=s.expand(r),delete t[i],r)n in t||(t[n]=r[n],e[n]=o);else e[i]=o}(u,c.opts.specialEasing);i<o;i++)if(n=le.prefilters[i].call(c,r,u,c.opts))return y(n.stop)&&(x._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return x.map(u,ae,c),y(c.opts.start)&&c.opts.start.call(r,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),x.fx.timer(x.extend(l,{elem:r,anim:c,queue:c.opts.queue})),c}x.Animation=x.extend(le,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return rt(n.elem,t,et.exec(e),n),n}]},tweener:function(t,e){y(t)?(e=t,t=["*"]):t=t.match(R);for(var n,i=0,o=t.length;i<o;i++)n=t[i],le.tweeners[n]=le.tweeners[n]||[],le.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,o,r,s,a,l,c,u,d="width"in e||"height"in e,h=this,p={},f=t.style,m=t.nodeType&&it(t),g=Y.get(t,"fxshow");for(i in n.queue||(null==(s=x._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always(function(){h.always(function(){s.unqueued--,x.queue(t,"fx").length||s.empty.fire()})})),e)if(o=e[i],ne.test(o)){if(delete e[i],r=r||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[i])continue;m=!0}p[i]=g&&g[i]||x.style(t,i)}if((l=!x.isEmptyObject(e))||!x.isEmptyObject(p))for(i in d&&1===t.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=g&&g.display)&&(c=Y.get(t,"display")),"none"===(u=x.css(t,"display"))&&(c?u=c:(at([t],!0),c=t.style.display||c,u=x.css(t,"display"),at([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===x.css(t,"float")&&(l||(h.done(function(){f.display=c}),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",h.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=Y.access(t,"fxshow",{display:c}),r&&(g.hidden=!m),m&&at([t],!0),h.done(function(){for(i in m||at([t]),Y.remove(t,"fxshow"),p)x.style(t,i,p[i])})),l=ae(m?g[i]:0,i,h),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?le.prefilters.unshift(t):le.prefilters.push(t)}}),x.speed=function(t,e,n){var i=t&&"object"==typeof t?x.extend({},t):{complete:n||!n&&e||y(t)&&t,duration:t,easing:n&&e||e&&!y(e)&&e};return x.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in x.fx.speeds?i.duration=x.fx.speeds[i.duration]:i.duration=x.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){y(i.old)&&i.old.call(this),i.queue&&x.dequeue(this,i.queue)},i},x.fn.extend({fadeTo:function(t,e,n,i){return this.filter(it).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(e,t,n,i){var o=x.isEmptyObject(e),r=x.speed(t,n,i),s=function(){var t=le(this,x.extend({},e),r);(o||Y.get(this,"finish"))&&t.stop(!0)};return s.finish=s,o||!1===r.queue?this.each(s):this.queue(r.queue,s)},stop:function(o,t,r){var s=function(t){var e=t.stop;delete t.stop,e(r)};return"string"!=typeof o&&(r=t,t=o,o=void 0),t&&!1!==o&&this.queue(o||"fx",[]),this.each(function(){var t=!0,e=null!=o&&o+"queueHooks",n=x.timers,i=Y.get(this);if(e)i[e]&&i[e].stop&&s(i[e]);else for(e in i)i[e]&&i[e].stop&&ie.test(e)&&s(i[e]);for(e=n.length;e--;)n[e].elem!==this||null!=o&&n[e].queue!==o||(n[e].anim.stop(r),t=!1,n.splice(e,1));!t&&r||x.dequeue(this,o)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var t,e=Y.get(this),n=e[s+"queue"],i=e[s+"queueHooks"],o=x.timers,r=n?n.length:0;for(e.finish=!0,x.queue(this,s,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===s&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<r;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),x.each(["toggle","show","hide"],function(t,i){var o=x.fn[i];x.fn[i]=function(t,e,n){return null==t||"boolean"==typeof t?o.apply(this,arguments):this.animate(se(i,!0),t,e,n)}}),x.each({slideDown:se("show"),slideUp:se("hide"),slideToggle:se("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,i){x.fn[t]=function(t,e,n){return this.animate(i,t,e,n)}}),x.timers=[],x.fx.tick=function(){var t,e=0,n=x.timers;for(Jt=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||x.fx.stop(),Jt=void 0},x.fx.timer=function(t){x.timers.push(t),x.fx.start()},x.fx.interval=13,x.fx.start=function(){Zt||(Zt=!0,oe())},x.fx.stop=function(){Zt=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(i,t){return i=x.fx&&x.fx.speeds[i]||i,t=t||"fx",this.queue(t,function(t,e){var n=E.setTimeout(t,i);e.stop=function(){E.clearTimeout(n)}})},te=C.createElement("input"),ee=C.createElement("select").appendChild(C.createElement("option")),te.type="checkbox",v.checkOn=""!==te.value,v.optSelected=ee.selected,(te=C.createElement("input")).value="t",te.type="radio",v.radioValue="t"===te.value;var ce,ue=x.expr.attrHandle;x.fn.extend({attr:function(t,e){return W(this,x.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){x.removeAttr(this,t)})}}),x.extend({attr:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?x.prop(t,e,n):(1===r&&x.isXMLDoc(t)||(o=x.attrHooks[e.toLowerCase()]||(x.expr.match.bool.test(e)?ce:void 0)),void 0!==n?null===n?void x.removeAttr(t,e):o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(i=o.get(t,e))?i:null==(i=x.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!v.radioValue&&"radio"===e&&k(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,o=e&&e.match(R);if(o&&1===t.nodeType)for(;n=o[i++];)t.removeAttribute(n)}}),ce={set:function(t,e,n){return!1===e?x.removeAttr(t,n):t.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(t,e){var s=ue[e]||x.find.attr;ue[e]=function(t,e,n){var i,o,r=e.toLowerCase();return n||(o=ue[r],ue[r]=i,i=null!=s(t,e,n)?r:null,ue[r]=o),i}});var de=/^(?:input|select|textarea|button)$/i,he=/^(?:a|area)$/i;function pe(t){return(t.match(R)||[]).join(" ")}function fe(t){return t.getAttribute&&t.getAttribute("class")||""}function me(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(R)||[]}x.fn.extend({prop:function(t,e){return W(this,x.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[x.propFix[t]||t]})}}),x.extend({prop:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&x.isXMLDoc(t)||(e=x.propFix[e]||e,o=x.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=x.find.attr(t,"tabindex");return e?parseInt(e,10):de.test(t.nodeName)||he.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(x.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(e){var t,n,i,o,r,s,a,l=0;if(y(e))return this.each(function(t){x(this).addClass(e.call(this,t,fe(this)))});if((t=me(e)).length)for(;n=this[l++];)if(o=fe(n),i=1===n.nodeType&&" "+pe(o)+" "){for(s=0;r=t[s++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");o!==(a=pe(i))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,o,r,s,a,l=0;if(y(e))return this.each(function(t){x(this).removeClass(e.call(this,t,fe(this)))});if(!arguments.length)return this.attr("class","");if((t=me(e)).length)for(;n=this[l++];)if(o=fe(n),i=1===n.nodeType&&" "+pe(o)+" "){for(s=0;r=t[s++];)for(;-1<i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");o!==(a=pe(i))&&n.setAttribute("class",a)}return this},toggleClass:function(o,e){var r=typeof o,s="string"===r||Array.isArray(o);return"boolean"==typeof e&&s?e?this.addClass(o):this.removeClass(o):y(o)?this.each(function(t){x(this).toggleClass(o.call(this,t,fe(this),e),e)}):this.each(function(){var t,e,n,i;if(s)for(e=0,n=x(this),i=me(o);t=i[e++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else void 0!==o&&"boolean"!==r||((t=fe(this))&&Y.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===o?"":Y.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+pe(fe(n))+" ").indexOf(e))return!0;return!1}});var ge=/\r/g;x.fn.extend({val:function(n){var i,t,o,e=this[0];return arguments.length?(o=y(n),this.each(function(t){var e;1===this.nodeType&&(null==(e=o?n.call(this,t,x(this).val()):n)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=x.map(e,function(t){return null==t?"":t+""})),(i=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,e,"value")||(this.value=e))})):e?(i=x.valHooks[e.type]||x.valHooks[e.nodeName.toLowerCase()])&&"get"in i&&void 0!==(t=i.get(e,"value"))?t:"string"==typeof(t=e.value)?t.replace(ge,""):null==t?"":t:void 0}}),x.extend({valHooks:{option:{get:function(t){var e=x.find.attr(t,"value");return null!=e?e:pe(x.text(t))}},select:{get:function(t){var e,n,i,o=t.options,r=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?r+1:o.length;for(i=r<0?l:s?r:0;i<l;i++)if(((n=o[i]).selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!k(n.parentNode,"optgroup"))){if(e=x(n).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var n,i,o=t.options,r=x.makeArray(e),s=o.length;s--;)((i=o[s]).selected=-1<x.inArray(x.valHooks.option.get(i),r))&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<x.inArray(x(t).val(),e)}},v.checkOn||(x.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),v.focusin="onfocusin"in E;var ve=/^(?:focusinfocus|focusoutblur)$/,ye=function(t){t.stopPropagation()};x.extend(x.event,{trigger:function(t,e,n,i){var o,r,s,a,l,c,u,d,h=[n||C],p=g.call(t,"type")?t.type:t,f=g.call(t,"namespace")?t.namespace.split("."):[];if(r=d=s=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!ve.test(p+x.event.triggered)&&(-1<p.indexOf(".")&&(p=(f=p.split(".")).shift(),f.sort()),l=p.indexOf(":")<0&&"on"+p,(t=t[x.expando]?t:new x.Event(p,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=f.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:x.makeArray(e,[t]),u=x.event.special[p]||{},i||!u.trigger||!1!==u.trigger.apply(n,e))){if(!i&&!u.noBubble&&!w(n)){for(a=u.delegateType||p,ve.test(a+p)||(r=r.parentNode);r;r=r.parentNode)h.push(r),s=r;s===(n.ownerDocument||C)&&h.push(s.defaultView||s.parentWindow||E)}for(o=0;(r=h[o++])&&!t.isPropagationStopped();)d=r,t.type=1<o?a:u.bindType||p,(c=(Y.get(r,"events")||{})[t.type]&&Y.get(r,"handle"))&&c.apply(r,e),(c=l&&r[l])&&c.apply&&V(r)&&(t.result=c.apply(r,e),!1===t.result&&t.preventDefault());return t.type=p,i||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(h.pop(),e)||!V(n)||l&&y(n[p])&&!w(n)&&((s=n[l])&&(n[l]=null),x.event.triggered=p,t.isPropagationStopped()&&d.addEventListener(p,ye),n[p](),t.isPropagationStopped()&&d.removeEventListener(p,ye),x.event.triggered=void 0,s&&(n[l]=s)),t.result}},simulate:function(t,e,n){var i=x.extend(new x.Event,n,{type:t,isSimulated:!0});x.event.trigger(i,null,e)}}),x.fn.extend({trigger:function(t,e){return this.each(function(){x.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return x.event.trigger(t,e,n,!0)}}),v.focusin||x.each({focus:"focusin",blur:"focusout"},function(n,i){var o=function(t){x.event.simulate(i,t.target,x.event.fix(t))};x.event.special[i]={setup:function(){var t=this.ownerDocument||this,e=Y.access(t,i);e||t.addEventListener(n,o,!0),Y.access(t,i,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=Y.access(t,i)-1;e?Y.access(t,i,e):(t.removeEventListener(n,o,!0),Y.remove(t,i))}}});var we=E.location,_e=Date.now(),be=/\?/;x.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new E.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+t),e};var Te=/\[\]$/,Ee=/\r?\n/g,Ce=/^(?:submit|button|image|reset|file)$/i,xe=/^(?:input|select|textarea|keygen)/i;function Se(n,t,i,o){var e;if(Array.isArray(t))x.each(t,function(t,e){i||Te.test(n)?o(n,e):Se(n+"["+("object"==typeof e&&null!=e?t:"")+"]",e,i,o)});else if(i||"object"!==b(t))o(n,t);else for(e in t)Se(n+"["+e+"]",t[e],i,o)}x.param=function(t,e){var n,i=[],o=function(t,e){var n=y(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(t)||t.jquery&&!x.isPlainObject(t))x.each(t,function(){o(this.name,this.value)});else for(n in t)Se(n,t[n],e,o);return i.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=x.prop(this,"elements");return t?x.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!x(this).is(":disabled")&&xe.test(this.nodeName)&&!Ce.test(t)&&(this.checked||!lt.test(t))}).map(function(t,e){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,function(t){return{name:e.name,value:t.replace(Ee,"\r\n")}}):{name:e.name,value:n.replace(Ee,"\r\n")}}).get()}});var ke=/%20/g,Ie=/#.*$/,Ae=/([?&])_=[^&]*/,De=/^(.*?):[ \t]*([^\r\n]*)$/gm,$e=/^(?:GET|HEAD)$/,Le=/^\/\//,Oe={},Ne={},Re="*/".concat("*"),Pe=C.createElement("a");function Me(r){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,i=0,o=t.toLowerCase().match(R)||[];if(y(e))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(r[n]=r[n]||[]).unshift(e)):(r[n]=r[n]||[]).push(e)}}function je(e,o,r,s){var a={},l=e===Ne;function c(t){var i;return a[t]=!0,x.each(e[t]||[],function(t,e){var n=e(o,r,s);return"string"!=typeof n||l||a[n]?l?!(i=n):void 0:(o.dataTypes.unshift(n),c(n),!1)}),i}return c(o.dataTypes[0])||!a["*"]&&c("*")}function He(t,e){var n,i,o=x.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i||(i={}))[n]=e[n]);return i&&x.extend(!0,t,i),t}Pe.href=we.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:we.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(we.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Re,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?He(He(t,x.ajaxSettings),e):He(x.ajaxSettings,t)},ajaxPrefilter:Me(Oe),ajaxTransport:Me(Ne),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var u,d,h,n,p,i,f,m,o,r,g=x.ajaxSetup({},e),v=g.context||g,y=g.context&&(v.nodeType||v.jquery)?x(v):x.event,w=x.Deferred(),_=x.Callbacks("once memory"),b=g.statusCode||{},s={},a={},l="canceled",T={readyState:0,getResponseHeader:function(t){var e;if(f){if(!n)for(n={};e=De.exec(h);)n[e[1].toLowerCase()]=e[2];e=n[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return f?h:null},setRequestHeader:function(t,e){return null==f&&(t=a[t.toLowerCase()]=a[t.toLowerCase()]||t,s[t]=e),this},overrideMimeType:function(t){return null==f&&(g.mimeType=t),this},statusCode:function(t){var e;if(t)if(f)T.always(t[T.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||l;return u&&u.abort(e),c(0,e),this}};if(w.promise(T),g.url=((t||g.url||we.href)+"").replace(Le,we.protocol+"//"),g.type=e.method||e.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(R)||[""],null==g.crossDomain){i=C.createElement("a");try{i.href=g.url,i.href=i.href,g.crossDomain=Pe.protocol+"//"+Pe.host!=i.protocol+"//"+i.host}catch(t){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=x.param(g.data,g.traditional)),je(Oe,g,e,T),f)return T;for(o in(m=x.event&&g.global)&&0==x.active++&&x.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!$e.test(g.type),d=g.url.replace(Ie,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(ke,"+")):(r=g.url.slice(d.length),g.data&&(g.processData||"string"==typeof g.data)&&(d+=(be.test(d)?"&":"?")+g.data,delete g.data),!1===g.cache&&(d=d.replace(Ae,"$1"),r=(be.test(d)?"&":"?")+"_="+_e+++r),g.url=d+r),g.ifModified&&(x.lastModified[d]&&T.setRequestHeader("If-Modified-Since",x.lastModified[d]),x.etag[d]&&T.setRequestHeader("If-None-Match",x.etag[d])),(g.data&&g.hasContent&&!1!==g.contentType||e.contentType)&&T.setRequestHeader("Content-Type",g.contentType),T.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+Re+"; q=0.01":""):g.accepts["*"]),g.headers)T.setRequestHeader(o,g.headers[o]);if(g.beforeSend&&(!1===g.beforeSend.call(v,T,g)||f))return T.abort();if(l="abort",_.add(g.complete),T.done(g.success),T.fail(g.error),u=je(Ne,g,e,T)){if(T.readyState=1,m&&y.trigger("ajaxSend",[T,g]),f)return T;g.async&&0<g.timeout&&(p=E.setTimeout(function(){T.abort("timeout")},g.timeout));try{f=!1,u.send(s,c)}catch(t){if(f)throw t;c(-1,t)}}else c(-1,"No Transport");function c(t,e,n,i){var o,r,s,a,l,c=e;f||(f=!0,p&&E.clearTimeout(p),u=void 0,h=i||"",T.readyState=0<t?4:0,o=200<=t&&t<300||304===t,n&&(a=function(t,e,n){for(var i,o,r,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}s||(s=o)}r=r||s}if(r)return r!==l[0]&&l.unshift(r),n[r]}(g,T,n)),a=function(t,e,n,i){var o,r,s,a,l,c={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(r=u.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=c[l+" "+r]||c["* "+r]))for(o in c)if((a=o.split(" "))[1]===r&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[o]:!0!==c[o]&&(r=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(g,a,T,o),o?(g.ifModified&&((l=T.getResponseHeader("Last-Modified"))&&(x.lastModified[d]=l),(l=T.getResponseHeader("etag"))&&(x.etag[d]=l)),204===t||"HEAD"===g.type?c="nocontent":304===t?c="notmodified":(c=a.state,r=a.data,o=!(s=a.error))):(s=c,!t&&c||(c="error",t<0&&(t=0))),T.status=t,T.statusText=(e||c)+"",o?w.resolveWith(v,[r,c,T]):w.rejectWith(v,[T,c,s]),T.statusCode(b),b=void 0,m&&y.trigger(o?"ajaxSuccess":"ajaxError",[T,g,o?r:s]),_.fireWith(v,[T,c]),m&&(y.trigger("ajaxComplete",[T,g]),--x.active||x.event.trigger("ajaxStop")))}return T},getJSON:function(t,e,n){return x.get(t,e,n,"json")},getScript:function(t,e){return x.get(t,void 0,e,"script")}}),x.each(["get","post"],function(t,o){x[o]=function(t,e,n,i){return y(e)&&(i=i||n,n=e,e=void 0),x.ajax(x.extend({url:t,type:o,dataType:i,data:e,success:n},x.isPlainObject(t)&&t))}}),x._evalUrl=function(t){return x.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},x.fn.extend({wrapAll:function(t){var e;return this[0]&&(y(t)&&(t=t.call(this[0])),e=x(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(n){return y(n)?this.each(function(t){x(this).wrapInner(n.call(this,t))}):this.each(function(){var t=x(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=y(e);return this.each(function(t){x(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(t){return this.parent(t).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(t){return!x.expr.pseudos.visible(t)},x.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new E.XMLHttpRequest}catch(t){}};var ze={0:200,1223:204},Be=x.ajaxSettings.xhr();v.cors=!!Be&&"withCredentials"in Be,v.ajax=Be=!!Be,x.ajaxTransport(function(o){var r,s;if(v.cors||Be&&!o.crossDomain)return{send:function(t,e){var n,i=o.xhr();if(i.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)i[n]=o.xhrFields[n];for(n in o.mimeType&&i.overrideMimeType&&i.overrideMimeType(o.mimeType),o.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)i.setRequestHeader(n,t[n]);r=function(t){return function(){r&&(r=s=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===t?i.abort():"error"===t?"number"!=typeof i.status?e(0,"error"):e(i.status,i.statusText):e(ze[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=r(),s=i.onerror=i.ontimeout=r("error"),void 0!==i.onabort?i.onabort=s:i.onreadystatechange=function(){4===i.readyState&&E.setTimeout(function(){r&&s()})},r=r("abort");try{i.send(o.hasContent&&o.data||null)}catch(t){if(r)throw t}},abort:function(){r&&r()}}}),x.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return x.globalEval(t),t}}}),x.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),x.ajaxTransport("script",function(n){var i,o;if(n.crossDomain)return{send:function(t,e){i=x("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(t){i.remove(),o=null,t&&e("error"===t.type?404:200,t.type)}),C.head.appendChild(i[0])},abort:function(){o&&o()}}});var We,qe=[],Fe=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=qe.pop()||x.expando+"_"+_e++;return this[t]=!0,t}}),x.ajaxPrefilter("json jsonp",function(t,e,n){var i,o,r,s=!1!==t.jsonp&&(Fe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Fe.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Fe,"$1"+i):!1!==t.jsonp&&(t.url+=(be.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return r||x.error(i+" was not called"),r[0]},t.dataTypes[0]="json",o=E[i],E[i]=function(){r=arguments},n.always(function(){void 0===o?x(E).removeProp(i):E[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,qe.push(i)),r&&y(o)&&o(r[0]),r=o=void 0}),"script"}),v.createHTMLDocument=((We=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===We.childNodes.length),x.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(v.createHTMLDocument?((i=(e=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,e.head.appendChild(i)):e=C),r=!n&&[],(o=I.exec(t))?[e.createElement(o[1])]:(o=vt([t],e,r),r&&r.length&&x(r).remove(),x.merge([],o.childNodes)));var i,o,r},x.fn.load=function(t,e,n){var i,o,r,s=this,a=t.indexOf(" ");return-1<a&&(i=pe(t.slice(a)),t=t.slice(0,a)),y(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),0<s.length&&x.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){r=arguments,s.html(i?x("<div>").append(x.parseHTML(t)).find(i):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,r||[t.responseText,e,t])})}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){x.fn[e]=function(t){return this.on(e,t)}}),x.expr.pseudos.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length},x.offset={setOffset:function(t,e,n){var i,o,r,s,a,l,c=x.css(t,"position"),u=x(t),d={};"static"===c&&(t.style.position="relative"),a=u.offset(),r=x.css(t,"top"),l=x.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(r+l).indexOf("auto")?(s=(i=u.position()).top,o=i.left):(s=parseFloat(r)||0,o=parseFloat(l)||0),y(e)&&(e=e.call(t,n,x.extend({},a))),null!=e.top&&(d.top=e.top-a.top+s),null!=e.left&&(d.left=e.left-a.left+o),"using"in e?e.using.call(t,d):u.css(d)}},x.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){x.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],o={top:0,left:0};if("fixed"===x.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===x.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((o=x(t).offset()).top+=x.css(t,"borderTopWidth",!0),o.left+=x.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-x.css(i,"marginTop",!0),left:e.left-o.left-x.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===x.css(t,"position");)t=t.offsetParent;return t||yt})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,o){var r="pageYOffset"===o;x.fn[e]=function(t){return W(this,function(t,e,n){var i;if(w(t)?i=t:9===t.nodeType&&(i=t.defaultView),void 0===n)return i?i[o]:t[e];i?i.scrollTo(r?i.pageXOffset:n,r?n:i.pageYOffset):t[e]=n},e,t,arguments.length)}}),x.each(["top","left"],function(t,n){x.cssHooks[n]=zt(v.pixelPosition,function(t,e){if(e)return e=Ht(t,n),Pt.test(e)?x(t).position()[n]+"px":e})}),x.each({Height:"height",Width:"width"},function(s,a){x.each({padding:"inner"+s,content:a,"":"outer"+s},function(i,r){x.fn[r]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),o=i||(!0===t||!0===e?"margin":"border");return W(this,function(t,e,n){var i;return w(t)?0===r.indexOf("outer")?t["inner"+s]:t.document.documentElement["client"+s]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+s],i["scroll"+s],t.body["offset"+s],i["offset"+s],i["client"+s])):void 0===n?x.css(t,e,o):x.style(t,e,n,o)},a,n?t:void 0,n)}})}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,n){x.fn[n]=function(t,e){return 0<arguments.length?this.on(n,null,t,e):this.trigger(n)}}),x.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),x.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),x.proxy=function(t,e){var n,i,o;if("string"==typeof e&&(n=t[e],e=t,t=n),y(t))return i=a.call(arguments,2),(o=function(){return t.apply(e||this,i.concat(a.call(arguments)))}).guid=t.guid=t.guid||x.guid++,o},x.holdReady=function(t){t?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=k,x.isFunction=y,x.isWindow=w,x.camelCase=U,x.type=b,x.now=Date.now,x.isNumeric=function(t){var e=x.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return x});var Qe=E.jQuery,Ue=E.$;return x.noConflict=function(t){return E.$===x&&(E.$=Ue),t&&E.jQuery===x&&(E.jQuery=Qe),x},t||(E.jQuery=E.$=x),x}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e(t.bootstrap={},t.jQuery,t.Popper)}(this,function(t,e,u){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function d(){return(d=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}e=e&&e.hasOwnProperty("default")?e.default:e,u=u&&u.hasOwnProperty("default")?u.default:u;var o,n,r,a,l,c,h,p,f,m,g,v,y,w,_,b,T,E,C,x,S,k,I,A,D,$,L,O,N,R,P,M,j,H,z,B,W,q,F,Q,U,V,G,Y,K,X,J,Z,tt,et,nt,it,ot,rt,st,at,lt,ct,ut,dt,ht,pt,ft,mt,gt,vt,yt,wt,_t,bt,Tt,Et,Ct,xt,St,kt,It,At,Dt,$t,Lt,Ot,Nt,Rt,Pt,Mt,jt,Ht,zt,Bt,Wt,qt,Ft,Qt,Ut,Vt,Gt,Yt,Kt,Xt,Jt,Zt,te,ee,ne,ie,oe,re,se,ae,le,ce,ue,de,he,pe,fe,me,ge,ve,ye,we,_e=(ve=e,ye=!1,we={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e,n=t.getAttribute("data-target");n&&"#"!==n||(n=t.getAttribute("href")||""),"#"===n.charAt(0)&&(e=n,n=e="function"==typeof ve.escapeSelector?ve.escapeSelector(e).substr(1):e.replace(/(:|\.|\[|\]|,|=|@)/g,"\\$1"));try{return 0<ve(document).find(n).length?n:null}catch(t){return null}},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){ve(t).trigger(ye.end)},supportsTransitionEnd:function(){return Boolean(ye)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=e[i],s=r&&we.isElement(r)?"element":(a=r,{}.toString.call(a).match(/\s([a-zA-Z]+)/)[1].toLowerCase());if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var a}},ye=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},ve.fn.emulateTransitionEnd=function(t){var e=this,n=!1;return ve(this).one(we.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||we.triggerTransitionEnd(e)},t),this},we.supportsTransitionEnd()&&(ve.event.special[we.TRANSITION_END]={bindType:ye.end,delegateType:ye.end,handle:function(t){if(ve(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),we),be=(n="alert",a="."+(r="bs.alert"),l=(o=e).fn[n],c={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+".data-api"},"alert","fade","show",h=function(){function i(t){this._element=t}var t=i.prototype;return t.close=function(t){t=t||this._element;var e=this._getRootElement(t);this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},t.dispose=function(){o.removeData(this._element,r),this._element=null},t._getRootElement=function(t){var e=_e.getSelectorFromElement(t),n=!1;return e&&(n=o(e)[0]),n||(n=o(t).closest(".alert")[0]),n},t._triggerCloseEvent=function(t){var e=o.Event(c.CLOSE);return o(t).trigger(e),e},t._removeElement=function(e){var n=this;o(e).removeClass("show"),_e.supportsTransitionEnd()&&o(e).hasClass("fade")?o(e).one(_e.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(150):this._destroyElement(e)},t._destroyElement=function(t){o(t).detach().trigger(c.CLOSED).remove()},i._jQueryInterface=function(n){return this.each(function(){var t=o(this),e=t.data(r);e||(e=new i(this),t.data(r,e)),"close"===n&&e[n](this)})},i._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},s(i,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),i}(),o(document).on(c.CLICK_DATA_API,'[data-dismiss="alert"]',h._handleDismiss(new h)),o.fn[n]=h._jQueryInterface,o.fn[n].Constructor=h,o.fn[n].noConflict=function(){return o.fn[n]=l,h._jQueryInterface},h),Te=(f="button",g="."+(m="bs.button"),v=".data-api",y=(p=e).fn[f],w="active","btn",_='[data-toggle^="button"]','[data-toggle="buttons"]',"input",".active",".btn",b={CLICK_DATA_API:"click"+g+v,FOCUS_BLUR_DATA_API:"focus"+g+v+" blur"+g+v},T=function(){function n(t){this._element=t}var t=n.prototype;return t.toggle=function(){var t=!0,e=!0,n=p(this._element).closest('[data-toggle="buttons"]')[0];if(n){var i=p(this._element).find("input")[0];if(i){if("radio"===i.type)if(i.checked&&p(this._element).hasClass(w))t=!1;else{var o=p(n).find(".active")[0];o&&p(o).removeClass(w)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!p(this._element).hasClass(w),p(i).trigger("change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!p(this._element).hasClass(w)),t&&p(this._element).toggleClass(w)},t.dispose=function(){p.removeData(this._element,m),this._element=null},n._jQueryInterface=function(e){return this.each(function(){var t=p(this).data(m);t||(t=new n(this),p(this).data(m,t)),"toggle"===e&&t[e]()})},s(n,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),n}(),p(document).on(b.CLICK_DATA_API,_,function(t){t.preventDefault();var e=t.target;p(e).hasClass("btn")||(e=p(e).closest(".btn")),T._jQueryInterface.call(p(e),"toggle")}).on(b.FOCUS_BLUR_DATA_API,_,function(t){var e=p(t.target).closest(".btn")[0];p(e).toggleClass("focus",/^focus(in)?$/.test(t.type))}),p.fn[f]=T._jQueryInterface,p.fn[f].Constructor=T,p.fn[f].noConflict=function(){return p.fn[f]=y,T._jQueryInterface},T),Ee=(re="carousel",ae="."+(se="bs.carousel"),le=(oe=e).fn[re],ce={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},ue={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},de="next",he="prev",pe={SLIDE:"slide"+ae,SLID:"slid"+ae,KEYDOWN:"keydown"+ae,MOUSEENTER:"mouseenter"+ae,MOUSELEAVE:"mouseleave"+ae,TOUCHEND:"touchend"+ae,LOAD_DATA_API:"load"+ae+".data-api",CLICK_DATA_API:"click"+ae+".data-api"},fe="active",me={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},ge=function(){function r(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(e),this._element=oe(t)[0],this._indicatorsElement=oe(this._element).find(me.INDICATORS)[0],this._addEventListeners()}var t=r.prototype;return t.next=function(){this._isSliding||this._slide(de)},t.nextWhenVisible=function(){!document.hidden&&oe(this._element).is(":visible")&&"hidden"!==oe(this._element).css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(he)},t.pause=function(t){t||(this._isPaused=!0),oe(this._element).find(me.NEXT_PREV)[0]&&_e.supportsTransitionEnd()&&(_e.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(t){var e=this;this._activeElement=oe(this._element).find(me.ACTIVE_ITEM)[0];var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)oe(this._element).one(pe.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=n<t?de:he;this._slide(i,this._items[t])}},t.dispose=function(){oe(this._element).off(ae),oe.removeData(this._element,se),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(t){return t=d({},ce,t),_e.typeCheckConfig(re,t,ue),t},t._addEventListeners=function(){var e=this;this._config.keyboard&&oe(this._element).on(pe.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&(oe(this._element).on(pe.MOUSEENTER,function(t){return e.pause(t)}).on(pe.MOUSELEAVE,function(t){return e.cycle(t)}),"ontouchstart"in document.documentElement&&oe(this._element).on(pe.TOUCHEND,function(){e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval)}))},t._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},t._getItemIndex=function(t){return this._items=oe.makeArray(oe(t).parent().find(me.ITEM)),this._items.indexOf(t)},t._getItemByDirection=function(t,e){var n=t===de,i=t===he,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+(t===he?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},t._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(oe(this._element).find(me.ACTIVE_ITEM)[0]),o=oe.Event(pe.SLIDE,{relatedTarget:t,direction:e,from:i,to:n});return oe(this._element).trigger(o),o},t._setActiveIndicatorElement=function(t){if(this._indicatorsElement){oe(this._indicatorsElement).find(me.ACTIVE).removeClass(fe);var e=this._indicatorsElement.children[this._getItemIndex(t)];e&&oe(e).addClass(fe)}},t._slide=function(t,e){var n,i,o,r=this,s=oe(this._element).find(me.ACTIVE_ITEM)[0],a=this._getItemIndex(s),l=e||s&&this._getItemByDirection(t,s),c=this._getItemIndex(l),u=Boolean(this._interval);if(t===de?(n="carousel-item-left",i="carousel-item-next",o="left"):(n="carousel-item-right",i="carousel-item-prev",o="right"),l&&oe(l).hasClass(fe))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).isDefaultPrevented()&&s&&l){this._isSliding=!0,u&&this.pause(),this._setActiveIndicatorElement(l);var d=oe.Event(pe.SLID,{relatedTarget:l,direction:o,from:a,to:c});_e.supportsTransitionEnd()&&oe(this._element).hasClass("slide")?(oe(l).addClass(i),_e.reflow(l),oe(s).addClass(n),oe(l).addClass(n),oe(s).one(_e.TRANSITION_END,function(){oe(l).removeClass(n+" "+i).addClass(fe),oe(s).removeClass(fe+" "+i+" "+n),r._isSliding=!1,setTimeout(function(){return oe(r._element).trigger(d)},0)}).emulateTransitionEnd(600)):(oe(s).removeClass(fe),oe(l).addClass(fe),this._isSliding=!1,oe(this._element).trigger(d)),u&&this.cycle()}},r._jQueryInterface=function(i){return this.each(function(){var t=oe(this).data(se),e=d({},ce,oe(this).data());"object"==typeof i&&(e=d({},e,i));var n="string"==typeof i?i:e.slide;if(t||(t=new r(this,e),oe(this).data(se,t)),"number"==typeof i)t.to(i);else if("string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}else e.interval&&(t.pause(),t.cycle())})},r._dataApiClickHandler=function(t){var e=_e.getSelectorFromElement(this);if(e){var n=oe(e)[0];if(n&&oe(n).hasClass("carousel")){var i=d({},oe(n).data(),oe(this).data()),o=this.getAttribute("data-slide-to");o&&(i.interval=!1),r._jQueryInterface.call(oe(n),i),o&&oe(n).data(se).to(o),t.preventDefault()}}},s(r,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return ce}}]),r}(),oe(document).on(pe.CLICK_DATA_API,me.DATA_SLIDE,ge._dataApiClickHandler),oe(window).on(pe.LOAD_DATA_API,function(){oe(me.DATA_RIDE).each(function(){var t=oe(this);ge._jQueryInterface.call(t,t.data())})}),oe.fn[re]=ge._jQueryInterface,oe.fn[re].Constructor=ge,oe.fn[re].noConflict=function(){return oe.fn[re]=le,ge._jQueryInterface},ge),Ce=(Qt="collapse",Vt="."+(Ut="bs.collapse"),Gt=(Ft=e).fn[Qt],Yt={toggle:!0,parent:""},Kt={toggle:"boolean",parent:"(string|element)"},Xt={SHOW:"show"+Vt,SHOWN:"shown"+Vt,HIDE:"hide"+Vt,HIDDEN:"hidden"+Vt,CLICK_DATA_API:"click"+Vt+".data-api"},Jt="show",Zt="collapse",te="collapsing",ee="collapsed",ne={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},ie=function(){function a(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=Ft.makeArray(Ft('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=Ft(ne.DATA_TOGGLE),i=0;i<n.length;i++){var o=n[i],r=_e.getSelectorFromElement(o);null!==r&&0<Ft(r).filter(t).length&&(this._selector=r,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=a.prototype;return t.toggle=function(){Ft(this._element).hasClass(Jt)?this.hide():this.show()},t.show=function(){var t,e,n=this;if(!(this._isTransitioning||Ft(this._element).hasClass(Jt)||(this._parent&&0===(t=Ft.makeArray(Ft(this._parent).find(ne.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length&&(t=null),t&&(e=Ft(t).not(this._selector).data(Ut))&&e._isTransitioning))){var i=Ft.Event(Xt.SHOW);if(Ft(this._element).trigger(i),!i.isDefaultPrevented()){t&&(a._jQueryInterface.call(Ft(t).not(this._selector),"hide"),e||Ft(t).data(Ut,null));var o=this._getDimension();Ft(this._element).removeClass(Zt).addClass(te),(this._element.style[o]=0)<this._triggerArray.length&&Ft(this._triggerArray).removeClass(ee).attr("aria-expanded",!0),this.setTransitioning(!0);var r=function(){Ft(n._element).removeClass(te).addClass(Zt).addClass(Jt),n._element.style[o]="",n.setTransitioning(!1),Ft(n._element).trigger(Xt.SHOWN)};if(_e.supportsTransitionEnd()){var s="scroll"+(o[0].toUpperCase()+o.slice(1));Ft(this._element).one(_e.TRANSITION_END,r).emulateTransitionEnd(600),this._element.style[o]=this._element[s]+"px"}else r()}}},t.hide=function(){var t=this;if(!this._isTransitioning&&Ft(this._element).hasClass(Jt)){var e=Ft.Event(Xt.HIDE);if(Ft(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();if(this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",_e.reflow(this._element),Ft(this._element).addClass(te).removeClass(Zt).removeClass(Jt),0<this._triggerArray.length)for(var i=0;i<this._triggerArray.length;i++){var o=this._triggerArray[i],r=_e.getSelectorFromElement(o);null!==r&&(Ft(r).hasClass(Jt)||Ft(o).addClass(ee).attr("aria-expanded",!1))}this.setTransitioning(!0);var s=function(){t.setTransitioning(!1),Ft(t._element).removeClass(te).addClass(Zt).trigger(Xt.HIDDEN)};this._element.style[n]="",_e.supportsTransitionEnd()?Ft(this._element).one(_e.TRANSITION_END,s).emulateTransitionEnd(600):s()}}},t.setTransitioning=function(t){this._isTransitioning=t},t.dispose=function(){Ft.removeData(this._element,Ut),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(t){return(t=d({},Yt,t)).toggle=Boolean(t.toggle),_e.typeCheckConfig(Qt,t,Kt),t},t._getDimension=function(){return Ft(this._element).hasClass("width")?"width":"height"},t._getParent=function(){var n=this,t=null;_e.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=Ft(this._config.parent)[0];var e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return Ft(t).find(e).each(function(t,e){n._addAriaAndCollapsedClass(a._getTargetFromElement(e),[e])}),t},t._addAriaAndCollapsedClass=function(t,e){if(t){var n=Ft(t).hasClass(Jt);0<e.length&&Ft(e).toggleClass(ee,!n).attr("aria-expanded",n)}},a._getTargetFromElement=function(t){var e=_e.getSelectorFromElement(t);return e?Ft(e)[0]:null},a._jQueryInterface=function(i){return this.each(function(){var t=Ft(this),e=t.data(Ut),n=d({},Yt,t.data(),"object"==typeof i&&i);if(!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||(e=new a(this,n),t.data(Ut,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},s(a,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return Yt}}]),a}(),Ft(document).on(Xt.CLICK_DATA_API,ne.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var n=Ft(this),e=_e.getSelectorFromElement(this);Ft(e).each(function(){var t=Ft(this),e=t.data(Ut)?"toggle":n.data();ie._jQueryInterface.call(t,e)})}),Ft.fn[Qt]=ie._jQueryInterface,Ft.fn[Qt].Constructor=ie,Ft.fn[Qt].noConflict=function(){return Ft.fn[Qt]=Gt,ie._jQueryInterface},ie),xe=(At="dropdown",$t="."+(Dt="bs.dropdown"),Lt=".data-api",Ot=(It=e).fn[At],Nt=new RegExp("38|40|27"),Rt={HIDE:"hide"+$t,HIDDEN:"hidden"+$t,SHOW:"show"+$t,SHOWN:"shown"+$t,CLICK:"click"+$t,CLICK_DATA_API:"click"+$t+Lt,KEYDOWN_DATA_API:"keydown"+$t+Lt,KEYUP_DATA_API:"keyup"+$t+Lt},Pt="disabled",Mt="show",jt="dropdown-menu-right",Ht='[data-toggle="dropdown"]',zt=".dropdown-menu",Bt={offset:0,flip:!0,boundary:"scrollParent"},Wt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},qt=function(){function l(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=l.prototype;return t.toggle=function(){if(!this._element.disabled&&!It(this._element).hasClass(Pt)){var t=l._getParentFromElement(this._element),e=It(this._menu).hasClass(Mt);if(l._clearMenus(),!e){var n={relatedTarget:this._element},i=It.Event(Rt.SHOW,n);if(It(t).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar){if(void 0===u)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");var o=this._element;It(t).hasClass("dropup")&&(It(this._menu).hasClass("dropdown-menu-left")||It(this._menu).hasClass(jt))&&(o=t),"scrollParent"!==this._config.boundary&&It(t).addClass("position-static"),this._popper=new u(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===It(t).closest(".navbar-nav").length&&It("body").children().on("mouseover",null,It.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),It(this._menu).toggleClass(Mt),It(t).toggleClass(Mt).trigger(It.Event(Rt.SHOWN,n))}}}},t.dispose=function(){It.removeData(this._element,Dt),It(this._element).off($t),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;It(this._element).on(Rt.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(t){return t=d({},this.constructor.Default,It(this._element).data(),t),_e.typeCheckConfig(At,t,this.constructor.DefaultType),t},t._getMenuElement=function(){if(!this._menu){var t=l._getParentFromElement(this._element);this._menu=It(t).find(zt)[0]}return this._menu},t._getPlacement=function(){var t=It(this._element).parent(),e="bottom-start";return t.hasClass("dropup")?(e="top-start",It(this._menu).hasClass(jt)&&(e="top-end")):t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":It(this._menu).hasClass(jt)&&(e="bottom-end"),e},t._detectNavbar=function(){return 0<It(this._element).closest(".navbar").length},t._getPopperConfig=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=d({},t.offsets,e._config.offset(t.offsets)||{}),t}:t.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:t,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}},l._jQueryInterface=function(e){return this.each(function(){var t=It(this).data(Dt);if(t||(t=new l(this,"object"==typeof e?e:null),It(this).data(Dt,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},l._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=It.makeArray(It(Ht)),n=0;n<e.length;n++){var i=l._getParentFromElement(e[n]),o=It(e[n]).data(Dt),r={relatedTarget:e[n]};if(o){var s=o._menu;if(It(i).hasClass(Mt)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&It.contains(i,t.target))){var a=It.Event(Rt.HIDE,r);It(i).trigger(a),a.isDefaultPrevented()||("ontouchstart"in document.documentElement&&It("body").children().off("mouseover",null,It.noop),e[n].setAttribute("aria-expanded","false"),It(s).removeClass(Mt),It(i).removeClass(Mt).trigger(It.Event(Rt.HIDDEN,r)))}}}},l._getParentFromElement=function(t){var e,n=_e.getSelectorFromElement(t);return n&&(e=It(n)[0]),e||t.parentNode},l._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||It(t.target).closest(zt).length)):Nt.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!It(this).hasClass(Pt))){var e=l._getParentFromElement(this),n=It(e).hasClass(Mt);if((n||27===t.which&&32===t.which)&&(!n||27!==t.which&&32!==t.which)){var i=It(e).find(".dropdown-menu .dropdown-item:not(.disabled)").get();if(0!==i.length){var o=i.indexOf(t.target);38===t.which&&0<o&&o--,40===t.which&&o<i.length-1&&o++,o<0&&(o=0),i[o].focus()}}else{if(27===t.which){var r=It(e).find(Ht)[0];It(r).trigger("focus")}It(this).trigger("click")}}},s(l,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return Bt}},{key:"DefaultType",get:function(){return Wt}}]),l}(),It(document).on(Rt.KEYDOWN_DATA_API,Ht,qt._dataApiKeydownHandler).on(Rt.KEYDOWN_DATA_API,zt,qt._dataApiKeydownHandler).on(Rt.CLICK_DATA_API+" "+Rt.KEYUP_DATA_API,qt._clearMenus).on(Rt.CLICK_DATA_API,Ht,function(t){t.preventDefault(),t.stopPropagation(),qt._jQueryInterface.call(It(this),"toggle")}).on(Rt.CLICK_DATA_API,".dropdown form",function(t){t.stopPropagation()}),It.fn[At]=qt._jQueryInterface,It.fn[At].Constructor=qt,It.fn[At].noConflict=function(){return It.fn[At]=Ot,qt._jQueryInterface},qt),Se=(yt="."+(vt="bs.modal"),wt=(gt=e).fn.modal,_t={backdrop:!0,keyboard:!0,focus:!0,show:!0},bt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Tt={HIDE:"hide"+yt,HIDDEN:"hidden"+yt,SHOW:"show"+yt,SHOWN:"shown"+yt,FOCUSIN:"focusin"+yt,RESIZE:"resize"+yt,CLICK_DISMISS:"click.dismiss"+yt,KEYDOWN_DISMISS:"keydown.dismiss"+yt,MOUSEUP_DISMISS:"mouseup.dismiss"+yt,MOUSEDOWN_DISMISS:"mousedown.dismiss"+yt,CLICK_DATA_API:"click"+yt+".data-api"},Et="modal-open",Ct="fade",xt="show",St={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},kt=function(){function o(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=gt(t).find(St.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}var t=o.prototype;return t.toggle=function(t){return this._isShown?this.hide():this.show(t)},t.show=function(t){var e=this;if(!this._isTransitioning&&!this._isShown){_e.supportsTransitionEnd()&&gt(this._element).hasClass(Ct)&&(this._isTransitioning=!0);var n=gt.Event(Tt.SHOW,{relatedTarget:t});gt(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),gt(document.body).addClass(Et),this._setEscapeEvent(),this._setResizeEvent(),gt(this._element).on(Tt.CLICK_DISMISS,St.DATA_DISMISS,function(t){return e.hide(t)}),gt(this._dialog).on(Tt.MOUSEDOWN_DISMISS,function(){gt(e._element).one(Tt.MOUSEUP_DISMISS,function(t){gt(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},t.hide=function(t){var e=this;if(t&&t.preventDefault(),!this._isTransitioning&&this._isShown){var n=gt.Event(Tt.HIDE);if(gt(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=_e.supportsTransitionEnd()&&gt(this._element).hasClass(Ct);i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),gt(document).off(Tt.FOCUSIN),gt(this._element).removeClass(xt),gt(this._element).off(Tt.CLICK_DISMISS),gt(this._dialog).off(Tt.MOUSEDOWN_DISMISS),i?gt(this._element).one(_e.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(300):this._hideModal()}}},t.dispose=function(){gt.removeData(this._element,vt),gt(window,document,this._element,this._backdrop).off(yt),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(t){return t=d({},_t,t),_e.typeCheckConfig("modal",t,bt),t},t._showElement=function(t){var e=this,n=_e.supportsTransitionEnd()&&gt(this._element).hasClass(Ct);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,n&&_e.reflow(this._element),gt(this._element).addClass(xt),this._config.focus&&this._enforceFocus();var i=gt.Event(Tt.SHOWN,{relatedTarget:t}),o=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,gt(e._element).trigger(i)};n?gt(this._dialog).one(_e.TRANSITION_END,o).emulateTransitionEnd(300):o()},t._enforceFocus=function(){var e=this;gt(document).off(Tt.FOCUSIN).on(Tt.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===gt(e._element).has(t.target).length&&e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?gt(this._element).on(Tt.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||gt(this._element).off(Tt.KEYDOWN_DISMISS)},t._setResizeEvent=function(){var e=this;this._isShown?gt(window).on(Tt.RESIZE,function(t){return e.handleUpdate(t)}):gt(window).off(Tt.RESIZE)},t._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,this._showBackdrop(function(){gt(document.body).removeClass(Et),t._resetAdjustments(),t._resetScrollbar(),gt(t._element).trigger(Tt.HIDDEN)})},t._removeBackdrop=function(){this._backdrop&&(gt(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(t){var e=this,n=gt(this._element).hasClass(Ct)?Ct:"";if(this._isShown&&this._config.backdrop){var i=_e.supportsTransitionEnd()&&n;if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&gt(this._backdrop).addClass(n),gt(this._backdrop).appendTo(document.body),gt(this._element).on(Tt.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),i&&_e.reflow(this._backdrop),gt(this._backdrop).addClass(xt),!t)return;if(!i)return void t();gt(this._backdrop).one(_e.TRANSITION_END,t).emulateTransitionEnd(150)}else if(!this._isShown&&this._backdrop){gt(this._backdrop).removeClass(xt);var o=function(){e._removeBackdrop(),t&&t()};_e.supportsTransitionEnd()&&gt(this._element).hasClass(Ct)?gt(this._backdrop).one(_e.TRANSITION_END,o).emulateTransitionEnd(150):o()}else t&&t()},t._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var o=this;if(this._isBodyOverflowing){gt(St.FIXED_CONTENT).each(function(t,e){var n=gt(e)[0].style.paddingRight,i=gt(e).css("padding-right");gt(e).data("padding-right",n).css("padding-right",parseFloat(i)+o._scrollbarWidth+"px")}),gt(St.STICKY_CONTENT).each(function(t,e){var n=gt(e)[0].style.marginRight,i=gt(e).css("margin-right");gt(e).data("margin-right",n).css("margin-right",parseFloat(i)-o._scrollbarWidth+"px")}),gt(St.NAVBAR_TOGGLER).each(function(t,e){var n=gt(e)[0].style.marginRight,i=gt(e).css("margin-right");gt(e).data("margin-right",n).css("margin-right",parseFloat(i)+o._scrollbarWidth+"px")});var t=document.body.style.paddingRight,e=gt("body").css("padding-right");gt("body").data("padding-right",t).css("padding-right",parseFloat(e)+this._scrollbarWidth+"px")}},t._resetScrollbar=function(){gt(St.FIXED_CONTENT).each(function(t,e){var n=gt(e).data("padding-right");void 0!==n&&gt(e).css("padding-right",n).removeData("padding-right")}),gt(St.STICKY_CONTENT+", "+St.NAVBAR_TOGGLER).each(function(t,e){var n=gt(e).data("margin-right");void 0!==n&&gt(e).css("margin-right",n).removeData("margin-right")});var t=gt("body").data("padding-right");void 0!==t&&gt("body").css("padding-right",t).removeData("padding-right")},t._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},o._jQueryInterface=function(n,i){return this.each(function(){var t=gt(this).data(vt),e=d({},o.Default,gt(this).data(),"object"==typeof n&&n);if(t||(t=new o(this,e),gt(this).data(vt,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](i)}else e.show&&t.show(i)})},s(o,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return _t}}]),o}(),gt(document).on(Tt.CLICK_DATA_API,St.DATA_TOGGLE,function(t){var e,n=this,i=_e.getSelectorFromElement(this);i&&(e=gt(i)[0]);var o=gt(e).data(vt)?"toggle":d({},gt(e).data(),gt(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var r=gt(e).one(Tt.SHOW,function(t){t.isDefaultPrevented()||r.one(Tt.HIDDEN,function(){gt(n).is(":visible")&&n.focus()})});kt._jQueryInterface.call(gt(e),o,this)}),gt.fn.modal=kt._jQueryInterface,gt.fn.modal.Constructor=kt,gt.fn.modal.noConflict=function(){return gt.fn.modal=wt,kt._jQueryInterface},kt),ke=(et="tooltip",it="."+(nt="bs.tooltip"),ot=(tt=e).fn[et],rt=new RegExp("(^|\\s)bs-tooltip\\S+","g"),lt={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!(at={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(st={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},ut={HIDE:"hide"+it,HIDDEN:"hidden"+it,SHOW:(ct="show")+it,SHOWN:"shown"+it,INSERTED:"inserted"+it,CLICK:"click"+it,FOCUSIN:"focusin"+it,FOCUSOUT:"focusout"+it,MOUSEENTER:"mouseenter"+it,MOUSELEAVE:"mouseleave"+it},dt="fade",ht="show",pt="hover",ft="focus",mt=function(){function c(t,e){if(void 0===u)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t=c.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=tt(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),tt(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(tt(this.getTipElement()).hasClass(ht))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),tt.removeData(this.element,this.constructor.DATA_KEY),tt(this.element).off(this.constructor.EVENT_KEY),tt(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&tt(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===tt(this.element).css("display"))throw new Error("Please use show on visible elements");var t=tt.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){tt(this.element).trigger(t);var n=tt.contains(this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;var i=this.getTipElement(),o=_e.getUID(this.constructor.NAME);i.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&tt(i).addClass(dt);var r="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,s=this._getAttachment(r);this.addAttachmentClass(s);var a=!1===this.config.container?document.body:tt(this.config.container);tt(i).data(this.constructor.DATA_KEY,this),tt.contains(this.element.ownerDocument.documentElement,this.tip)||tt(i).appendTo(a),tt(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new u(this.element,i,{placement:s,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),tt(i).addClass(ht),"ontouchstart"in document.documentElement&&tt("body").children().on("mouseover",null,tt.noop);var l=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,tt(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};_e.supportsTransitionEnd()&&tt(this.tip).hasClass(dt)?tt(this.tip).one(_e.TRANSITION_END,l).emulateTransitionEnd(c._TRANSITION_DURATION):l()}},t.hide=function(t){var e=this,n=this.getTipElement(),i=tt.Event(this.constructor.Event.HIDE),o=function(){e._hoverState!==ct&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),tt(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};tt(this.element).trigger(i),i.isDefaultPrevented()||(tt(n).removeClass(ht),"ontouchstart"in document.documentElement&&tt("body").children().off("mouseover",null,tt.noop),this._activeTrigger.click=!1,this._activeTrigger[ft]=!1,this._activeTrigger[pt]=!1,_e.supportsTransitionEnd()&&tt(this.tip).hasClass(dt)?tt(n).one(_e.TRANSITION_END,o).emulateTransitionEnd(150):o(),this._hoverState="")},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){tt(this.getTipElement()).addClass("bs-tooltip-"+t)},t.getTipElement=function(){return this.tip=this.tip||tt(this.config.template)[0],this.tip},t.setContent=function(){var t=tt(this.getTipElement());this.setElementContent(t.find(".tooltip-inner"),this.getTitle()),t.removeClass(dt+" "+ht)},t.setElementContent=function(t,e){var n=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?n?tt(e).parent().is(t)||t.empty().append(e):t.text(tt(e).text()):t[n?"html":"text"](e)},t.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},t._getAttachment=function(t){return at[t.toUpperCase()]},t._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)tt(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(t){return i.toggle(t)});else if("manual"!==t){var e=t===pt?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=t===pt?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;tt(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(n,i.config.selector,function(t){return i._leave(t)})}tt(i.element).closest(".modal").on("hide.bs.modal",function(){return i.hide()})}),this.config.selector?this.config=d({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||tt(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),tt(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?ft:pt]=!0),tt(e.getTipElement()).hasClass(ht)||e._hoverState===ct?e._hoverState=ct:(clearTimeout(e._timeout),e._hoverState=ct,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===ct&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||tt(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),tt(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?ft:pt]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){return"number"==typeof(t=d({},this.constructor.Default,tt(this.element).data(),t)).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),_e.typeCheckConfig(et,t,this.constructor.DefaultType),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var t=tt(this.getTipElement()),e=t.attr("class").match(rt);null!==e&&0<e.length&&t.removeClass(e.join(""))},t._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},t._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(tt(t).removeClass(dt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},c._jQueryInterface=function(n){return this.each(function(){var t=tt(this).data(nt),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new c(this,e),tt(this).data(nt,t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},s(c,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return lt}},{key:"NAME",get:function(){return et}},{key:"DATA_KEY",get:function(){return nt}},{key:"Event",get:function(){return ut}},{key:"EVENT_KEY",get:function(){return it}},{key:"DefaultType",get:function(){return st}}]),c}(),tt.fn[et]=mt._jQueryInterface,tt.fn[et].Constructor=mt,tt.fn[et].noConflict=function(){return tt.fn[et]=ot,mt._jQueryInterface},mt),Ie=(Q="popover",V="."+(U="bs.popover"),G=(F=e).fn[Q],Y=new RegExp("(^|\\s)bs-popover\\S+","g"),K=d({},ke.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),X=d({},ke.DefaultType,{content:"(string|element|function)"}),J={HIDE:"hide"+V,HIDDEN:"hidden"+V,SHOW:"show"+V,SHOWN:"shown"+V,INSERTED:"inserted"+V,CLICK:"click"+V,FOCUSIN:"focusin"+V,FOCUSOUT:"focusout"+V,MOUSEENTER:"mouseenter"+V,MOUSELEAVE:"mouseleave"+V},Z=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var o=i.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){F(this.getTipElement()).addClass("bs-popover-"+t)},o.getTipElement=function(){return this.tip=this.tip||F(this.config.template)[0],this.tip},o.setContent=function(){var t=F(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=F(this.getTipElement()),e=t.attr("class").match(Y);null!==e&&0<e.length&&t.removeClass(e.join(""))},i._jQueryInterface=function(n){return this.each(function(){var t=F(this).data(U),e="object"==typeof n?n:null;if((t||!/destroy|hide/.test(n))&&(t||(t=new i(this,e),F(this).data(U,t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return K}},{key:"NAME",get:function(){return Q}},{key:"DATA_KEY",get:function(){return U}},{key:"Event",get:function(){return J}},{key:"EVENT_KEY",get:function(){return V}},{key:"DefaultType",get:function(){return X}}]),i}(ke),F.fn[Q]=Z._jQueryInterface,F.fn[Q].Constructor=Z,F.fn[Q].noConflict=function(){return F.fn[Q]=G,Z._jQueryInterface},Z),Ae=(O="scrollspy",R="."+(N="bs.scrollspy"),P=(L=e).fn[O],M={offset:10,method:"auto",target:""},j={offset:"number",method:"string",target:"(string|element)"},H={ACTIVATE:"activate"+R,SCROLL:"scroll"+R,LOAD_DATA_API:"load"+R+".data-api"},z="active",B={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},W="position",q=function(){function n(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+B.NAV_LINKS+","+this._config.target+" "+B.LIST_ITEMS+","+this._config.target+" "+B.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,L(this._scrollElement).on(H.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process()}var t=n.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":W,o="auto"===this._config.method?t:this._config.method,r=o===W?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),L.makeArray(L(this._selector)).map(function(t){var e,n=_e.getSelectorFromElement(t);if(n&&(e=L(n)[0]),e){var i=e.getBoundingClientRect();if(i.width||i.height)return[L(e)[o]().top+r,n]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.dispose=function(){L.removeData(this._element,N),L(this._scrollElement).off(R),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(t){if("string"!=typeof(t=d({},M,t)).target){var e=L(t.target).attr("id");e||(e=_e.getUID(O),L(t.target).attr("id",e)),t.target="#"+e}return _e.typeCheckConfig(O,t,j),t},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),n<=t){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",");t=t.map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'});var n=L(t.join(","));n.hasClass("dropdown-item")?(n.closest(B.DROPDOWN).find(B.DROPDOWN_TOGGLE).addClass(z),n.addClass(z)):(n.addClass(z),n.parents(B.NAV_LIST_GROUP).prev(B.NAV_LINKS+", "+B.LIST_ITEMS).addClass(z),n.parents(B.NAV_LIST_GROUP).prev(B.NAV_ITEMS).children(B.NAV_LINKS).addClass(z)),L(this._scrollElement).trigger(H.ACTIVATE,{relatedTarget:e})},t._clear=function(){L(this._selector).filter(B.ACTIVE).removeClass(z)},n._jQueryInterface=function(e){return this.each(function(){var t=L(this).data(N);if(t||(t=new n(this,"object"==typeof e&&e),L(this).data(N,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},s(n,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return M}}]),n}(),L(window).on(H.LOAD_DATA_API,function(){for(var t=L.makeArray(L(B.DATA_SPY)),e=t.length;e--;){var n=L(t[e]);q._jQueryInterface.call(n,n.data())}}),L.fn[O]=q._jQueryInterface,L.fn[O].Constructor=q,L.fn[O].noConflict=function(){return L.fn[O]=P,q._jQueryInterface},q),De=(x="."+(C="bs.tab"),S=(E=e).fn.tab,k={HIDE:"hide"+x,HIDDEN:"hidden"+x,SHOW:"show"+x,SHOWN:"shown"+x,CLICK_DATA_API:"click.bs.tab.data-api"},I="active",A=".active",D="> li > .active",$=function(){function i(t){this._element=t}var t=i.prototype;return t.show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&E(this._element).hasClass(I)||E(this._element).hasClass("disabled"))){var t,i,e=E(this._element).closest(".nav, .list-group")[0],o=_e.getSelectorFromElement(this._element);if(e){var r="UL"===e.nodeName?D:A;i=(i=E.makeArray(E(e).find(r)))[i.length-1]}var s=E.Event(k.HIDE,{relatedTarget:this._element}),a=E.Event(k.SHOW,{relatedTarget:i});if(i&&E(i).trigger(s),E(this._element).trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){o&&(t=E(o)[0]),this._activate(this._element,e);var l=function(){var t=E.Event(k.HIDDEN,{relatedTarget:n._element}),e=E.Event(k.SHOWN,{relatedTarget:i});E(i).trigger(t),E(n._element).trigger(e)};t?this._activate(t,t.parentNode,l):l()}}},t.dispose=function(){E.removeData(this._element,C),this._element=null},t._activate=function(t,e,n){var i=this,o=("UL"===e.nodeName?E(e).find(D):E(e).children(A))[0],r=n&&_e.supportsTransitionEnd()&&o&&E(o).hasClass("fade"),s=function(){return i._transitionComplete(t,o,n)};o&&r?E(o).one(_e.TRANSITION_END,s).emulateTransitionEnd(150):s()},t._transitionComplete=function(t,e,n){if(e){E(e).removeClass("show "+I);var i=E(e.parentNode).find("> .dropdown-menu .active")[0];i&&E(i).removeClass(I),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(E(t).addClass(I),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),_e.reflow(t),E(t).addClass("show"),t.parentNode&&E(t.parentNode).hasClass("dropdown-menu")){var o=E(t).closest(".dropdown")[0];o&&E(o).find(".dropdown-toggle").addClass(I),t.setAttribute("aria-expanded",!0)}n&&n()},i._jQueryInterface=function(n){return this.each(function(){var t=E(this),e=t.data(C);if(e||(e=new i(this),t.data(C,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),i}(),E(document).on(k.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),$._jQueryInterface.call(E(this),"show")}),E.fn.tab=$._jQueryInterface,E.fn.tab.Constructor=$,E.fn.tab.noConflict=function(){return E.fn.tab=S,$._jQueryInterface},$);!function(t){if(void 0===t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(e),t.Util=_e,t.Alert=be,t.Button=Te,t.Carousel=Ee,t.Collapse=Ce,t.Dropdown=xe,t.Modal=Se,t.Popover=Ie,t.Scrollspy=Ae,t.Tab=De,t.Tooltip=ke,Object.defineProperty(t,"__esModule",{value:!0})}),function(m,g){"use strict";if("IntersectionObserver"in m&&"IntersectionObserverEntry"in m&&"intersectionRatio"in m.IntersectionObserverEntry.prototype)"isIntersecting"in m.IntersectionObserverEntry.prototype||Object.defineProperty(m.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return 0<this.intersectionRatio}});else{var e=[];t.prototype.THROTTLE_TIMEOUT=100,t.prototype.POLL_INTERVAL=null,t.prototype.USE_MUTATION_OBSERVER=!0,t.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},t.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},t.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},t.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},t.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||1<t)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},t.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},t.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(n(m,"resize",this._checkForIntersections,!0),n(g,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in m&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(g,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},t.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,i(m,"resize",this._checkForIntersections,!0),i(g,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},t.prototype._checkForIntersections=function(){var a=this._rootIsInDom(),l=a?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(t){var e=t.element,n=v(e),i=this._rootContainsTarget(e),o=t.entry,r=a&&i&&this._computeTargetAndRootIntersection(e,l),s=t.entry=new c({time:m.performance&&performance.now&&performance.now(),target:e,boundingClientRect:n,rootBounds:l,intersectionRect:r});o?a&&i?this._hasCrossedThreshold(o,s)&&this._queuedEntries.push(s):o&&o.isIntersecting&&this._queuedEntries.push(s):this._queuedEntries.push(s)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},t.prototype._computeTargetAndRootIntersection=function(t,e){if("none"!=m.getComputedStyle(t).display){for(var n,i,o,r,s,a,l,c,u=v(t),d=y(t),h=!1;!h;){var p=null,f=1==d.nodeType?m.getComputedStyle(d):{};if("none"==f.display)return;if(d==this.root||d==g?(h=!0,p=e):d!=g.body&&d!=g.documentElement&&"visible"!=f.overflow&&(p=v(d)),p&&(n=p,i=u,void 0,o=Math.max(n.top,i.top),r=Math.min(n.bottom,i.bottom),s=Math.max(n.left,i.left),a=Math.min(n.right,i.right),c=r-o,!(u=0<=(l=a-s)&&0<=c&&{top:o,bottom:r,left:s,right:a,width:l,height:c})))break;d=y(d)}return u}},t.prototype._getRootRect=function(){var t;if(this.root)t=v(this.root);else{var e=g.documentElement,n=g.body;t={top:0,left:0,right:e.clientWidth||n.clientWidth,width:e.clientWidth||n.clientWidth,bottom:e.clientHeight||n.clientHeight,height:e.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(t)},t.prototype._expandRectByRootMargin=function(n){var t=this._rootMarginValues.map(function(t,e){return"px"==t.unit?t.value:t.value*(e%2?n.width:n.height)/100}),e={top:n.top-t[0],right:n.right+t[1],bottom:n.bottom+t[2],left:n.left-t[3]};return e.width=e.right-e.left,e.height=e.bottom-e.top,e},t.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,i=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==i)for(var o=0;o<this.thresholds.length;o++){var r=this.thresholds[o];if(r==n||r==i||r<n!=r<i)return!0}},t.prototype._rootIsInDom=function(){return!this.root||o(g,this.root)},t.prototype._rootContainsTarget=function(t){return o(this.root||g,t)},t.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},t.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},m.IntersectionObserver=t,m.IntersectionObserverEntry=c}function c(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,i=this.intersectionRect,o=i.width*i.height;this.intersectionRatio=n?o/n:this.isIntersecting?1:0}function t(t,e){var n,i,o,r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),i=this.THROTTLE_TIMEOUT,o=null,function(){o||(o=setTimeout(function(){n(),o=null},i))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" ")}function n(t,e,n,i){"function"==typeof t.addEventListener?t.addEventListener(e,n,i||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function i(t,e,n,i){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,i||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function v(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function o(t,e){for(var n=e;n;){if(n==t)return!0;n=y(n)}return!1}function y(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e}}(window,document),function(e,n){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("jquery")):e.jQueryBridget=n(e,e.jQuery)}(window,function(t,e){"use strict";function n(c,o,u){(u=u||e||t.jQuery)&&(o.prototype.option||(o.prototype.option=function(t){u.isPlainObject(t)&&(this.options=u.extend(!0,this.options,t))}),u.fn[c]=function(t){if("string"==typeof t){var e=d.call(arguments,1);return s=e,l="$()."+c+'("'+(r=t)+'")',(n=this).each(function(t,e){var n=u.data(e,c);if(n){var i=n[r];if(i&&"_"!=r.charAt(0)){var o=i.apply(n,s);a=void 0===a?o:a}else h(l+" is not a valid method")}else h(c+" not initialized. Cannot call methods, i.e. "+l)}),void 0!==a?a:n}var n,r,s,a,l,i;return i=t,this.each(function(t,e){var n=u.data(e,c);n?(n.option(i),n._init()):(n=new o(e,i),u.data(e,c,n))}),this},i(u))}function i(t){!t||t&&t.bridget||(t.bridget=n)}var d=Array.prototype.slice,o=t.console,h=void 0===o?function(){}:function(t){o.error(t)};return i(e||t.jQuery),n}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},i=n[t]=n[t]||[];return-1==i.indexOf(e)&&i.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{};return(n[t]=n[t]||{})[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var i=n.indexOf(e);return-1!=i&&n.splice(i,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var i=this._onceEvents&&this._onceEvents[t],o=0;o<n.length;o++){var r=n[o];i&&i[r]&&(this.off(t,r),delete i[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function v(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function y(t){var e=getComputedStyle(t);return e||n("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function w(t){if(function(){if(!E){E=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var e=document.body||document.documentElement;e.appendChild(t);var n=y(t);_=200==Math.round(v(n.width)),w.isBoxSizeOuter=_,e.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=y(t);if("none"==e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<T;e++)t[b[e]]=0;return t}();var n={};n.width=t.offsetWidth,n.height=t.offsetHeight;for(var i=n.isBorderBox="border-box"==e.boxSizing,o=0;o<T;o++){var r=b[o],s=e[r],a=parseFloat(s);n[r]=isNaN(a)?0:a}var l=n.paddingLeft+n.paddingRight,c=n.paddingTop+n.paddingBottom,u=n.marginLeft+n.marginRight,d=n.marginTop+n.marginBottom,h=n.borderLeftWidth+n.borderRightWidth,p=n.borderTopWidth+n.borderBottomWidth,f=i&&_,m=v(e.width);!1!==m&&(n.width=m+(f?0:l+h));var g=v(e.height);return!1!==g&&(n.height=g+(f?0:c+p)),n.innerWidth=n.width-(l+h),n.innerHeight=n.height-(c+p),n.outerWidth=n.width+u,n.outerHeight=n.height+d,n}}var _,n="undefined"==typeof console?function(){}:function(t){},b=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],T=b.length,E=!1;return w}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var n=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],n=0;n<e.length;n++){var i=e[n]+"MatchesSelector";if(t[i])return i}}();return function(t,e){return t[n](e)}}),function(e,n){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("desandro-matches-selector")):e.fizzyUIUtils=n(e,e.matchesSelector)}(window,function(c,r){var u={extend:function(t,e){for(var n in e)t[n]=e[n];return t},modulo:function(t,e){return(t%e+e)%e}},e=Array.prototype.slice;u.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?e.call(t):[t]},u.removeFrom=function(t,e){var n=t.indexOf(e);-1!=n&&t.splice(n,1)},u.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,r(t,e))return t},u.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.filterFindElements=function(t,i){t=u.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!i)return void o.push(t);r(t,i)&&o.push(t);for(var e=t.querySelectorAll(i),n=0;n<e.length;n++)o.push(e[n])}}),o},u.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],r=e+"Timeout";t.prototype[e]=function(){var t=this[r];clearTimeout(t);var e=arguments,n=this;this[r]=setTimeout(function(){o.apply(n,e),delete n[r]},i)}},u.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},u.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,n){return e+"-"+n}).toLowerCase()};var d=c.console;return u.htmlInit=function(a,l){u.docReady(function(){var t=u.toDashed(l),o="data-"+t,e=document.querySelectorAll("["+o+"]"),n=document.querySelectorAll(".js-"+t),i=u.makeArray(e).concat(u.makeArray(n)),r=o+"-options",s=c.jQuery;i.forEach(function(e){var t,n=e.getAttribute(o)||e.getAttribute(r);try{t=n&&JSON.parse(n)}catch(t){return void(d&&d.error("Error parsing "+o+" on "+e.className+": "+t))}var i=new a(e,t);s&&s.data(e,l,i)})})},u}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var i=document.documentElement.style,o="string"==typeof i.transition?"transition":"WebkitTransition",r="string"==typeof i.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],a={transform:r,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"},l=n.prototype=Object.create(t.prototype);l.constructor=n,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.getSize=function(){this.size=e(this.element)},l.css=function(t){var e=this.element.style;for(var n in t){e[a[n]||n]=t[n]}},l.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),i=t[e?"left":"right"],o=t[n?"top":"bottom"],r=parseFloat(i),s=parseFloat(o),a=this.layout.size;-1!=i.indexOf("%")&&(r=r/100*a.width),-1!=o.indexOf("%")&&(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=e?a.paddingLeft:a.paddingRight,s-=n?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},l.layoutPosition=function(){var t=this.layout.size,e={},n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=n?"paddingLeft":"paddingRight",r=n?"left":"right",s=n?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var l=i?"paddingTop":"paddingBottom",c=i?"top":"bottom",u=i?"bottom":"top",d=this.position.y+t[l];e[c]=this.getYValue(d),e[u]="",this.css(e),this.emitEvent("layout",[this])},l.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},l.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},l._transitionTo=function(t,e){this.getPosition();var n=this.position.x,i=this.position.y,o=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!o||this.isTransitioning){var r=t-n,s=e-i,a={};a.transform=this.getTranslate(r,s),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},l.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},l._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},l.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var n in t.onTransitionEnd)e.onEnd[n]=t.onTransitionEnd[n];for(n in t.to)e.ingProperties[n]=!0,t.isCleaning&&(e.clean[n]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var c="opacity,"+r.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});l.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:c,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(s,this,!1)}},l.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},l.onotransitionend=function(t){this.ontransitionend(t)};var u={"-webkit-transform":"transform"};l.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=u[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd)e.onEnd[n].call(this),delete e.onEnd[n];this.emitEvent("transitionEnd",[this])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},l._removeStyles=function(t){var e={};for(var n in t)e[n]="";this.css(e)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(d)},l.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){return o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},l.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var n in e)return n},l.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(o,r){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,n,i){return r(o,t,e,n,i)}):"object"==typeof module&&module.exports?module.exports=r(o,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):o.Outlayer=r(o,o.EvEmitter,o.getSize,o.fizzyUIUtils,o.Outlayer.Item)}(window,function(t,e,o,r,i){"use strict";function s(t,e){var n=r.getQueryElement(t);if(n){this.element=n,c&&(this.$element=c(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(e);var i=++u;this.element.outlayerGUID=i,(d[i]=this)._create(),this._getOption("initLayout")&&this.layout()}else l&&l.error("Bad element for "+this.constructor.namespace+": "+(n||t))}function a(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}var l=t.console,c=t.jQuery,n=function(){},u=0,d={};s.namespace="outlayer",s.Item=i,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var h=s.prototype;r.extend(h,e.prototype),h.option=function(t){r.extend(this.options,t)},h._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),r.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(t){for(var e=this._filterFindItemElements(t),n=this.constructor.Item,i=[],o=0;o<e.length;o++){var r=new n(e[o],this);i.push(r)}return i},h._filterFindItemElements=function(t){return r.filterFindElements(t,this.options.itemSelector)},h.getItemElements=function(){return this.items.map(function(t){return t.element})},h.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},h._init=h.layout,h._resetLayout=function(){this.getSize()},h.getSize=function(){this.size=o(this.element)},h._getMeasurement=function(t,e){var n,i=this.options[t];i?("string"==typeof i?n=this.element.querySelector(i):i instanceof HTMLElement&&(n=i),this[t]=n?o(n)[e]:i):this[t]=0},h.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},h._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},h._layoutItems=function(t,n){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=n||t.isLayoutInstant,i.push(e)},this),this._processLayoutQueue(i)}},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},h.updateStagger=function(){var t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),n=e&&e[1],i=e&&e[2];return n.length?(n=parseFloat(n))*(p[i]||1):0}(t),this.stagger)},h._positionItem=function(t,e,n,i,o){i?t.goTo(e,n):(t.stagger(o*this.stagger),t.moveTo(e,n))},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},h._getContainerSize=n,h._setContainerMeasure=function(t,e){if(void 0!==t){var n=this.size;n.isBorderBox&&(t+=e?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},h._emitCompleteOnItems=function(e,t){function n(){o.dispatchEvent(e+"Complete",null,[t])}function i(){++s==r&&n()}var o=this,r=t.length;if(t&&r){var s=0;t.forEach(function(t){t.once(e,i)})}else n()},h.dispatchEvent=function(t,e,n){var i=e?[e].concat(n):n;if(this.emitEvent(t,i),c)if(this.$element=this.$element||c(this.element),e){var o=c.Event(e);o.type=t,this.$element.trigger(o,n)}else this.$element.trigger(t,n)},h.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},h.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},h.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},h.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){r.removeFrom(this.stamps,t),this.unignore(t)},this)},h._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),r.makeArray(t)},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},h._manageStamp=n,h._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,i=o(t);return{left:e.left-n.left-i.marginLeft,top:e.top-n.top-i.marginTop,right:n.right-e.right-i.marginRight,bottom:n.bottom-e.bottom-i.marginBottom}},h.handleEvent=r.handleEvent,h.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},h.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},h.onresize=function(){this.resize()},r.debounceMethod(s,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var t=o(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},h.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},h.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},h.prepended=function(t){var e=this._itemize(t);if(e.length){var n=this.items.slice(0);this.items=e.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(n)}},h.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var n=this.updateStagger();t.forEach(function(t,e){t.stagger(e*n),t.reveal()})}},h.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var n=this.updateStagger();t.forEach(function(t,e){t.stagger(e*n),t.hide()})}},h.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},h.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},h.getItem=function(t){for(var e=0;e<this.items.length;e++){var n=this.items[e];if(n.element==t)return n}},h.getItems=function(t){t=r.makeArray(t);var n=[];return t.forEach(function(t){var e=this.getItem(t);e&&n.push(e)},this),n},h.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),r.removeFrom(this.items,t)},this)},h.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete d[e],delete this.element.outlayerGUID,c&&c.removeData(this.element,this.constructor.namespace)},s.data=function(t){var e=(t=r.getQueryElement(t))&&t.outlayerGUID;return e&&d[e]},s.create=function(t,e){var n=a(s);return n.defaults=r.extend({},s.defaults),r.extend(n.defaults,e),n.compatOptions=r.extend({},s.compatOptions),n.namespace=t,n.data=s.data,n.Item=a(i),r.htmlInit(n,t),c&&c.bridget&&c.bridget(t,n),n};var p={ms:1,s:1e3};return s.Item=i,s}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var n=e.prototype=Object.create(t.Item.prototype),i=n._create;n._create=function(){this.id=this.layout.itemGUID++,i.call(this),this.sortData={}},n.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var n in t){var i=e[n];this.sortData[n]=i(this.element,this)}}};var o=n.destroy;return n.destroy=function(){o.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(e,n){"use strict";function i(t){(this.isotope=t)&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){o[t]=function(){return n.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var t=e(this.isotope.element);return this.isotope.size&&t&&t.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var n=t+e,i="outer"+e;if(this._getMeasurement(n,i),!this[n]){var o=this.getFirstItemSize();this[n]=o&&o[i]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return(n.prototype=Object.create(o)).constructor=n,e&&(n.options=e),i.modes[n.prototype.namespace=t]=n},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,c){var e=t.create("masonry");e.compatOptions.fitWidth="isFitWidth";var n=e.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],e=t&&t.element;this.columnWidth=e&&c(e).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,i=this.containerWidth+this.gutter,o=i/n,r=n-i%n;o=Math[r&&r<1?"round":"floor"](o),this.cols=Math.max(o,1)},n.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,e=c(t);this.containerWidth=e&&e.innerWidth},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,n=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var i=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](n,t),o={x:this.columnWidth*i.col,y:i.y},r=i.y+t.size.outerHeight,s=n+i.col,a=i.col;a<s;a++)this.colYs[a]=r;return o},n._getTopColPosition=function(t){var e=this._getTopColGroup(t),n=Math.min.apply(Math,e);return{col:e.indexOf(n),y:n}},n._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],n=this.cols+1-t,i=0;i<n;i++)e[i]=this._getColGroupY(i,t);return e},n._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var n=this.colYs.slice(t,t+e);return Math.max.apply(Math,n)},n._getHorizontalColPosition=function(t,e){var n=this.horizontalColIndex%this.cols;n=1<t&&n+t>this.cols?0:n;var i=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=i?n+t:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,t)}},n._manageStamp=function(t){var e=c(t),n=this._getElementOffset(t),i=this._getOption("originLeft")?n.left:n.right,o=i+e.outerWidth,r=Math.floor(i/this.columnWidth);r=Math.max(0,r);var s=Math.floor(o/this.columnWidth);s-=o%this.columnWidth?0:1,s=Math.min(this.cols-1,s);for(var a=(this._getOption("originTop")?n.top:n.bottom)+e.outerHeight,l=r;l<=s;l++)this.colYs[l]=Math.max(a,this.colYs[l])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var n=t.create("masonry"),i=n.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var r in e.prototype)o[r]||(i[r]=e.prototype[r]);var s=i.measureColumns;i.measureColumns=function(){this.items=this.isotope.filteredItems,s.call(this)};var a=i._getOption;return i._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},n}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),n=e.prototype;return n._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,n=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>n&&(this.x=0,this.y=this.maxY);var i={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,i},n._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),n=e.prototype;return n._resetLayout=function(){this.y=0},n._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,n=this.y;return this.y+=t.size.outerHeight,{x:e,y:n}},n._getContainerSize=function(){return{height:this.y}},e}),function(s,a){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(t,e,n,i,o,r){return a(s,t,e,n,i,o,r)}):"object"==typeof module&&module.exports?module.exports=a(s,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):s.Isotope=a(s,s.Outlayer,s.getSize,s.matchesSelector,s.fizzyUIUtils,s.Isotope.Item,s.Isotope.LayoutMode)}(window,function(t,n,e,i,r,o,s){var a=t.jQuery,c=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},u=n.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});u.Item=o,u.LayoutMode=s;var l=u.prototype;l._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),n.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],s.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,n.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=n.prototype._itemize.apply(this,arguments),e=0;e<t.length;e++){t[e].id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=s.modes[t],n=this.options[t]||{};this.options[t]=e.options?r.extend(e.options,n):n,this.modes[t]=new e(this)},l.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e},l._bindArrangeComplete=function(){function t(){e&&n&&i&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}var e,n,i,o=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){n=!0,t()}),this.once("revealComplete",function(){i=!0,t()})},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var n=[],i=[],o=[],r=this._getFilterTest(e),s=0;s<t.length;s++){var a=t[s];if(!a.isIgnored){var l=r(a);l&&n.push(a),l&&a.isHidden?i.push(a):l||a.isHidden||o.push(a)}}return{matches:n,needReveal:i,needHide:o}},l._getFilterTest=function(e){return a&&this.options.isJQueryFiltering?function(t){return a(t.element).is(e)}:"function"==typeof e?function(t){return e(t.element)}:function(t){return i(t.element,e)}},l.updateSortData=function(t){var e;t?(t=r.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var n=t[e];this._sorters[e]=d(n)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,n=0;e&&n<e;n++){t[n].updateSortData()}};var d=function(t){if("string"!=typeof t)return t;var e,n,i=c(t).split(" "),o=i[0],r=o.match(/^\[(.+)\]$/),s=r&&r[1],a=(n=o,(e=s)?function(t){return t.getAttribute(e)}:function(t){var e=t.querySelector(n);return e&&e.textContent}),l=u.sortDataParsers[i[1]];return l?function(t){return t&&l(a(t))}:function(t){return t&&a(t)}};u.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=r.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=(s=this.sortHistory,a=this.options.sortAscending,function(t,e){for(var n=0;n<s.length;n++){var i=s[n],o=t.sortData[i],r=e.sortData[i];if(r<o||o<r)return(r<o?1:-1)*((void 0!==a[i]?a[i]:a)?1:-1)}return 0});this.filteredItems.sort(e)}var s,a},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){n.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var n=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(n)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var n=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=n.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var n,i,o=e.length;for(n=0;n<o;n++)i=e[n],this.element.appendChild(i.element);var r=this._filter(e).matches;for(n=0;n<o;n++)e[n].isLayoutInstant=!0;for(this.arrange(),n=0;n<o;n++)delete e[n].isLayoutInstant;this.reveal(r)}};var h=l.remove;return l.remove=function(t){t=r.makeArray(t);var e=this.getItems(t);h.call(this,t);for(var n=e&&e.length,i=0;n&&i<n;i++){var o=e[i];r.removeFrom(this.filteredItems,o)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var n=this.options.transitionDuration;this.options.transitionDuration=0;var i=t.apply(this,e);return this.options.transitionDuration=n,i},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},u}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},i=n[t]=n[t]||[];return-1==i.indexOf(e)&&i.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{};return(n[t]=n[t]||{})[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var i=n.indexOf(e);return-1!=i&&n.splice(i,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var i=this._onceEvents&&this._onceEvents[t],o=0;o<n.length;o++){var r=n[o];i&&i[r]&&(this.off(t,r),delete i[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(e,n){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("ev-emitter")):e.imagesLoaded=n(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){function r(t,e){for(var n in e)t[n]=e[n];return t}function s(t,e,n){if(!(this instanceof s))return new s(t,e,n);var i,o=t;return"string"==typeof t&&(o=document.querySelectorAll(t)),o?(this.elements=(i=o,Array.isArray(i)?i:"object"==typeof i&&"number"==typeof i.length?c.call(i):[i]),this.options=r({},this.options),"function"==typeof e?n=e:r(this.options,e),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(this.check.bind(this))):void l.error("Bad element for imagesLoaded "+(o||t))}function n(t){this.img=t}function i(t,e){this.url=t,this.element=e,this.img=new Image}var a=e.jQuery,l=e.console,c=Array.prototype.slice;(s.prototype=Object.create(t.prototype)).options={},s.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},s.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&u[e]){for(var n=t.querySelectorAll("img"),i=0;i<n.length;i++){var o=n[i];this.addImage(o)}if("string"==typeof this.options.background){var r=t.querySelectorAll(this.options.background);for(i=0;i<r.length;i++){var s=r[i];this.addElementBackgroundImages(s)}}}};var u={1:!0,9:!0,11:!0};return s.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var n=/url\((['"])?(.*?)\1\)/gi,i=n.exec(e.backgroundImage);null!==i;){var o=i&&i[2];o&&this.addBackground(o,t),i=n.exec(e.backgroundImage)}},s.prototype.addImage=function(t){var e=new n(t);this.images.push(e)},s.prototype.addBackground=function(t,e){var n=new i(t,e);this.images.push(n)},s.prototype.check=function(){function e(t,e,n){setTimeout(function(){i.progress(t,e,n)})}var i=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},s.prototype.progress=function(t,e,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+n,t,e)},s.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},(n.prototype=Object.create(t.prototype)).check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},n.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},n.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},n.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},n.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},n.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(i.prototype=Object.create(n.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},i.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},i.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},s.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((a=t).fn.imagesLoaded=function(t,e){return new s(this,t,e).jqDeferred.promise(a(this))})},s.makeJQueryPlugin(),s}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(c){"use strict";var o,r=window.Slick||{};o=0,(r=function(t,e){var n,i=this;i.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:c(t),appendDots:c(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return c('<button type="button" />').text(e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},i.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},c.extend(i,i.initials),i.activeBreakpoint=null,i.animType=null,i.animProp=null,i.breakpoints=[],i.breakpointSettings=[],i.cssTransitions=!1,i.focussed=!1,i.interrupted=!1,i.hidden="hidden",i.paused=!0,i.positionProp=null,i.respondTo=null,i.rowCount=1,i.shouldClick=!0,i.$slider=c(t),i.$slidesCache=null,i.transformType=null,i.transitionType=null,i.visibilityChange="visibilitychange",i.windowWidth=0,i.windowTimer=null,n=c(t).data("slick")||{},i.options=c.extend({},i.defaults,e,n),i.currentSlide=i.options.initialSlide,i.originalSettings=i.options,void 0!==document.mozHidden?(i.hidden="mozHidden",i.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(i.hidden="webkitHidden",i.visibilityChange="webkitvisibilitychange"),i.autoPlay=c.proxy(i.autoPlay,i),i.autoPlayClear=c.proxy(i.autoPlayClear,i),i.autoPlayIterator=c.proxy(i.autoPlayIterator,i),i.changeSlide=c.proxy(i.changeSlide,i),i.clickHandler=c.proxy(i.clickHandler,i),i.selectHandler=c.proxy(i.selectHandler,i),i.setPosition=c.proxy(i.setPosition,i),i.swipeHandler=c.proxy(i.swipeHandler,i),i.dragHandler=c.proxy(i.dragHandler,i),i.keyHandler=c.proxy(i.keyHandler,i),i.instanceUid=o++,i.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,i.registerBreakpoints(),i.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},r.prototype.addSlide=r.prototype.slickAdd=function(t,e,n){var i=this;if("boolean"==typeof e)n=e,e=null;else if(e<0||e>=i.slideCount)return!1;i.unload(),"number"==typeof e?0===e&&0===i.$slides.length?c(t).appendTo(i.$slideTrack):n?c(t).insertBefore(i.$slides.eq(e)):c(t).insertAfter(i.$slides.eq(e)):!0===n?c(t).prependTo(i.$slideTrack):c(t).appendTo(i.$slideTrack),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slides.each(function(t,e){c(e).attr("data-slick-index",t)}),i.$slidesCache=i.$slides,i.reinit()},r.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},r.prototype.animateSlide=function(t,e){var n={},i=this;i.animateHeight(),!0===i.options.rtl&&!1===i.options.vertical&&(t=-t),!1===i.transformsEnabled?!1===i.options.vertical?i.$slideTrack.animate({left:t},i.options.speed,i.options.easing,e):i.$slideTrack.animate({top:t},i.options.speed,i.options.easing,e):!1===i.cssTransitions?(!0===i.options.rtl&&(i.currentLeft=-i.currentLeft),c({animStart:i.currentLeft}).animate({animStart:t},{duration:i.options.speed,easing:i.options.easing,step:function(t){t=Math.ceil(t),!1===i.options.vertical?n[i.animType]="translate("+t+"px, 0px)":n[i.animType]="translate(0px,"+t+"px)",i.$slideTrack.css(n)},complete:function(){e&&e.call()}})):(i.applyTransition(),t=Math.ceil(t),!1===i.options.vertical?n[i.animType]="translate3d("+t+"px, 0px, 0px)":n[i.animType]="translate3d(0px,"+t+"px, 0px)",i.$slideTrack.css(n),e&&setTimeout(function(){i.disableTransition(),e.call()},i.options.speed))},r.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t&&null!==t&&(t=c(t).not(this.$slider)),t},r.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=c(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},r.prototype.applyTransition=function(t){var e=this,n={};!1===e.options.fade?n[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:n[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(n):e.$slides.eq(t).css(n)},r.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},r.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},r.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},r.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=c(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=c(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},r.prototype.buildDots=function(){var t,e,n=this;if(!0===n.options.dots&&n.slideCount>n.options.slidesToShow){for(n.$slider.addClass("slick-dotted"),e=c("<ul />").addClass(n.options.dotsClass),t=0;t<=n.getDotCount();t+=1)e.append(c("<li />").append(n.options.customPaging.call(this,n,t)));n.$dots=e.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active")}},r.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,e){c(e).attr("data-slick-index",t).data("originalStyling",c(e).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?c('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),c("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},r.prototype.buildRows=function(){var t,e,n,i,o,r,s,a=this;if(i=document.createDocumentFragment(),r=a.$slider.children(),0<a.options.rows){for(s=a.options.slidesPerRow*a.options.rows,o=Math.ceil(r.length/s),t=0;t<o;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var c=document.createElement("div");for(n=0;n<a.options.slidesPerRow;n++){var u=t*s+(e*a.options.slidesPerRow+n);r.get(u)&&c.appendChild(r.get(u))}l.appendChild(c)}i.appendChild(l)}a.$slider.empty().append(i),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},r.prototype.checkResponsive=function(t,e){var n,i,o,r=this,s=!1,a=r.$slider.width(),l=window.innerWidth||c(window).width();if("window"===r.respondTo?o=l:"slider"===r.respondTo?o=a:"min"===r.respondTo&&(o=Math.min(l,a)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(n in i=null,r.breakpoints)r.breakpoints.hasOwnProperty(n)&&(!1===r.originalSettings.mobileFirst?o<r.breakpoints[n]&&(i=r.breakpoints[n]):o>r.breakpoints[n]&&(i=r.breakpoints[n]));null!==i?null!==r.activeBreakpoint?(i!==r.activeBreakpoint||e)&&(r.activeBreakpoint=i,"unslick"===r.breakpointSettings[i]?r.unslick(i):(r.options=c.extend({},r.originalSettings,r.breakpointSettings[i]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),s=i):(r.activeBreakpoint=i,"unslick"===r.breakpointSettings[i]?r.unslick(i):(r.options=c.extend({},r.originalSettings,r.breakpointSettings[i]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),s=i):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t),s=i),t||!1===s||r.$slider.trigger("breakpoint",[r,s])}},r.prototype.changeSlide=function(t,e){var n,i,o=this,r=c(t.currentTarget);switch(r.is("a")&&t.preventDefault(),r.is("li")||(r=r.closest("li")),n=o.slideCount%o.options.slidesToScroll!=0?0:(o.slideCount-o.currentSlide)%o.options.slidesToScroll,t.data.message){case"previous":i=0===n?o.options.slidesToScroll:o.options.slidesToShow-n,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide-i,!1,e);break;case"next":i=0===n?o.options.slidesToScroll:n,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide+i,!1,e);break;case"index":var s=0===t.data.index?0:t.data.index||r.index()*o.options.slidesToScroll;o.slideHandler(o.checkNavigable(s),!1,e),r.children().trigger("focus");break;default:return}},r.prototype.checkNavigable=function(t){var e,n;if(n=0,t>(e=this.getNavigableIndexes())[e.length-1])t=e[e.length-1];else for(var i in e){if(t<e[i]){t=n;break}n=e[i]}return t},r.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(c("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",c.proxy(t.interrupt,t,!0)).off("mouseleave.slick",c.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),c(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().off("click.slick",t.selectHandler),c(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),c(window).off("resize.slick.slick-"+t.instanceUid,t.resize),c("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),c(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},r.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",c.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",c.proxy(t.interrupt,t,!1))},r.prototype.cleanUpRows=function(){var t;0<this.options.rows&&((t=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(t))},r.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},r.prototype.destroy=function(t){var e=this;e.autoPlayClear(),e.touchObject={},e.cleanUpEvents(),c(".slick-cloned",e.$slider).detach(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.$prevArrow.length&&(e.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove()),e.$nextArrow&&e.$nextArrow.length&&(e.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove()),e.$slides&&(e.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){c(this).attr("style",c(this).data("originalStyling"))}),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.detach(),e.$list.detach(),e.$slider.append(e.$slides)),e.cleanUpRows(),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized"),e.$slider.removeClass("slick-dotted"),e.unslicked=!0,t||e.$slider.trigger("destroy",[e])},r.prototype.disableTransition=function(t){var e={};e[this.transitionType]="",!1===this.options.fade?this.$slideTrack.css(e):this.$slides.eq(t).css(e)},r.prototype.fadeSlide=function(t,e){var n=this;!1===n.cssTransitions?(n.$slides.eq(t).css({zIndex:n.options.zIndex}),n.$slides.eq(t).animate({opacity:1},n.options.speed,n.options.easing,e)):(n.applyTransition(t),n.$slides.eq(t).css({opacity:1,zIndex:n.options.zIndex}),e&&setTimeout(function(){n.disableTransition(t),e.call()},n.options.speed))},r.prototype.fadeSlideOut=function(t){var e=this;!1===e.cssTransitions?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},r.prototype.filterSlides=r.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},r.prototype.focusHandler=function(){var n=this;n.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(t){t.stopImmediatePropagation();var e=c(this);setTimeout(function(){n.options.pauseOnFocus&&(n.focussed=e.is(":focus"),n.autoPlay())},0)})},r.prototype.getCurrent=r.prototype.slickCurrentSlide=function(){return this.currentSlide},r.prototype.getDotCount=function(){var t=this,e=0,n=0,i=0;if(!0===t.options.infinite)if(t.slideCount<=t.options.slidesToShow)++i;else for(;e<t.slideCount;)++i,e=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)i=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++i,e=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else i=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return i-1},r.prototype.getLeft=function(t){var e,n,i,o,r=this,s=0;return r.slideOffset=0,n=r.$slides.first().outerHeight(!0),!0===r.options.infinite?(r.slideCount>r.options.slidesToShow&&(r.slideOffset=r.slideWidth*r.options.slidesToShow*-1,o=-1,!0===r.options.vertical&&!0===r.options.centerMode&&(2===r.options.slidesToShow?o=-1.5:1===r.options.slidesToShow&&(o=-2)),s=n*r.options.slidesToShow*o),r.slideCount%r.options.slidesToScroll!=0&&t+r.options.slidesToScroll>r.slideCount&&r.slideCount>r.options.slidesToShow&&(t>r.slideCount?(r.slideOffset=(r.options.slidesToShow-(t-r.slideCount))*r.slideWidth*-1,s=(r.options.slidesToShow-(t-r.slideCount))*n*-1):(r.slideOffset=r.slideCount%r.options.slidesToScroll*r.slideWidth*-1,s=r.slideCount%r.options.slidesToScroll*n*-1))):t+r.options.slidesToShow>r.slideCount&&(r.slideOffset=(t+r.options.slidesToShow-r.slideCount)*r.slideWidth,s=(t+r.options.slidesToShow-r.slideCount)*n),r.slideCount<=r.options.slidesToShow&&(s=r.slideOffset=0),!0===r.options.centerMode&&r.slideCount<=r.options.slidesToShow?r.slideOffset=r.slideWidth*Math.floor(r.options.slidesToShow)/2-r.slideWidth*r.slideCount/2:!0===r.options.centerMode&&!0===r.options.infinite?r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)-r.slideWidth:!0===r.options.centerMode&&(r.slideOffset=0,r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)),e=!1===r.options.vertical?t*r.slideWidth*-1+r.slideOffset:t*n*-1+s,!0===r.options.variableWidth&&(i=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(t):r.$slideTrack.children(".slick-slide").eq(t+r.options.slidesToShow),e=!0===r.options.rtl?i[0]?-1*(r.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,!0===r.options.centerMode&&(i=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(t):r.$slideTrack.children(".slick-slide").eq(t+r.options.slidesToShow+1),e=!0===r.options.rtl?i[0]?-1*(r.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,e+=(r.$list.width()-i.outerWidth())/2)),e},r.prototype.getOption=r.prototype.slickGetOption=function(t){return this.options[t]},r.prototype.getNavigableIndexes=function(){var t,e=this,n=0,i=0,o=[];for(!1===e.options.infinite?t=e.slideCount:(n=-1*e.options.slidesToScroll,i=-1*e.options.slidesToScroll,t=2*e.slideCount);n<t;)o.push(n),n=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return o},r.prototype.getSlick=function(){return this},r.prototype.getSlideCount=function(){var n,i,o=this;return i=!0===o.options.centerMode?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each(function(t,e){if(e.offsetLeft-i+c(e).outerWidth()/2>-1*o.swipeLeft)return n=e,!1}),Math.abs(c(n).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},r.prototype.goTo=r.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:parseInt(t)}},e)},r.prototype.init=function(t){var e=this;c(e.$slider).hasClass("slick-initialized")||(c(e.$slider).addClass("slick-initialized"),e.buildRows(),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots(),e.checkResponsive(!0),e.focusHandler()),t&&e.$slider.trigger("init",[e]),!0===e.options.accessibility&&e.initADA(),e.options.autoplay&&(e.paused=!1,e.autoPlay())},r.prototype.initADA=function(){var i=this,n=Math.ceil(i.slideCount/i.options.slidesToShow),o=i.getNavigableIndexes().filter(function(t){return 0<=t&&t<i.slideCount});i.$slides.add(i.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==i.$dots&&(i.$slides.not(i.$slideTrack.find(".slick-cloned")).each(function(t){var e=o.indexOf(t);if(c(this).attr({role:"tabpanel",id:"slick-slide"+i.instanceUid+t,tabindex:-1}),-1!==e){var n="slick-slide-control"+i.instanceUid+e;c("#"+n).length&&c(this).attr({"aria-describedby":n})}}),i.$dots.attr("role","tablist").find("li").each(function(t){var e=o[t];c(this).attr({role:"presentation"}),c(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+i.instanceUid+t,"aria-controls":"slick-slide"+i.instanceUid+e,"aria-label":t+1+" of "+n,"aria-selected":null,tabindex:"-1"})}).eq(i.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var t=i.currentSlide,e=t+i.options.slidesToShow;t<e;t++)i.options.focusOnChange?i.$slides.eq(t).attr({tabindex:"0"}):i.$slides.eq(t).removeAttr("tabindex");i.activateADA()},r.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow.on("keydown.slick",t.keyHandler),t.$nextArrow.on("keydown.slick",t.keyHandler)))},r.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&(c("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&t.slideCount>t.options.slidesToShow&&c("li",t.$dots).on("mouseenter.slick",c.proxy(t.interrupt,t,!0)).on("mouseleave.slick",c.proxy(t.interrupt,t,!1))},r.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",c.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",c.proxy(t.interrupt,t,!1)))},r.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),c(document).on(t.visibilityChange,c.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().on("click.slick",t.selectHandler),c(window).on("orientationchange.slick.slick-"+t.instanceUid,c.proxy(t.orientationChange,t)),c(window).on("resize.slick.slick-"+t.instanceUid,c.proxy(t.resize,t)),c("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),c(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),c(t.setPosition)},r.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},r.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},r.prototype.lazyLoad=function(){var t,e,n,r=this;function i(t){c("img[data-lazy]",t).each(function(){var t=c(this),e=c(this).attr("data-lazy"),n=c(this).attr("data-srcset"),i=c(this).attr("data-sizes")||r.$slider.attr("data-sizes"),o=document.createElement("img");o.onload=function(){t.animate({opacity:0},100,function(){n&&(t.attr("srcset",n),i&&t.attr("sizes",i)),t.attr("src",e).animate({opacity:1},200,function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,t,e])})},o.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,e])},o.src=e})}if(!0===r.options.centerMode?!0===r.options.infinite?n=(e=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(e=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),n=r.options.slidesToShow/2+1+2+r.currentSlide):(e=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,n=Math.ceil(e+r.options.slidesToShow),!0===r.options.fade&&(0<e&&e--,n<=r.slideCount&&n++)),t=r.$slider.find(".slick-slide").slice(e,n),"anticipated"===r.options.lazyLoad)for(var o=e-1,s=n,a=r.$slider.find(".slick-slide"),l=0;l<r.options.slidesToScroll;l++)o<0&&(o=r.slideCount-1),t=(t=t.add(a.eq(o))).add(a.eq(s)),o--,s++;i(t),r.slideCount<=r.options.slidesToShow?i(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?i(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&i(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow))},r.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},r.prototype.next=r.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},r.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},r.prototype.pause=r.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},r.prototype.play=r.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},r.prototype.postSlide=function(t){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.slideCount>e.options.slidesToShow&&e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),!0===e.options.accessibility&&(e.initADA(),e.options.focusOnChange&&c(e.$slides.get(e.currentSlide)).attr("tabindex",0).focus()))},r.prototype.prev=r.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},r.prototype.preventDefault=function(t){t.preventDefault()},r.prototype.progressiveLazyLoad=function(t){t=t||1;var e,n,i,o,r,s=this,a=c("img[data-lazy]",s.$slider);a.length?(e=a.first(),n=e.attr("data-lazy"),i=e.attr("data-srcset"),o=e.attr("data-sizes")||s.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){i&&(e.attr("srcset",i),o&&e.attr("sizes",o)),e.attr("src",n).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===s.options.adaptiveHeight&&s.setPosition(),s.$slider.trigger("lazyLoaded",[s,e,n]),s.progressiveLazyLoad()},r.onerror=function(){t<3?setTimeout(function(){s.progressiveLazyLoad(t+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,e,n]),s.progressiveLazyLoad())},r.src=n):s.$slider.trigger("allImagesLoaded",[s])},r.prototype.refresh=function(t){var e,n,i=this;n=i.slideCount-i.options.slidesToShow,!i.options.infinite&&i.currentSlide>n&&(i.currentSlide=n),i.slideCount<=i.options.slidesToShow&&(i.currentSlide=0),e=i.currentSlide,i.destroy(!0),c.extend(i,i.initials,{currentSlide:e}),i.init(),t||i.changeSlide({data:{message:"index",index:e}},!1)},r.prototype.registerBreakpoints=function(){var t,e,n,i=this,o=i.options.responsive||null;if("array"===c.type(o)&&o.length){for(t in i.respondTo=i.options.respondTo||"window",o)if(n=i.breakpoints.length-1,o.hasOwnProperty(t)){for(e=o[t].breakpoint;0<=n;)i.breakpoints[n]&&i.breakpoints[n]===e&&i.breakpoints.splice(n,1),n--;i.breakpoints.push(e),i.breakpointSettings[e]=o[t].settings}i.breakpoints.sort(function(t,e){return i.options.mobileFirst?t-e:e-t})}},r.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},r.prototype.resize=function(){var t=this;c(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=c(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},r.prototype.removeSlide=r.prototype.slickRemove=function(t,e,n){var i=this;if(t="boolean"==typeof t?!0===(e=t)?0:i.slideCount-1:!0===e?--t:t,i.slideCount<1||t<0||t>i.slideCount-1)return!1;i.unload(),!0===n?i.$slideTrack.children().remove():i.$slideTrack.children(this.options.slide).eq(t).remove(),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slidesCache=i.$slides,i.reinit()},r.prototype.setCSS=function(t){var e,n,i=this,o={};!0===i.options.rtl&&(t=-t),e="left"==i.positionProp?Math.ceil(t)+"px":"0px",n="top"==i.positionProp?Math.ceil(t)+"px":"0px",o[i.positionProp]=t,!1===i.transformsEnabled||(!(o={})===i.cssTransitions?o[i.animType]="translate("+e+", "+n+")":o[i.animType]="translate3d("+e+", "+n+", 0px)"),i.$slideTrack.css(o)},r.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},r.prototype.setFade=function(){var n,i=this;i.$slides.each(function(t,e){n=i.slideWidth*t*-1,!0===i.options.rtl?c(e).css({position:"relative",right:n,top:0,zIndex:i.options.zIndex-2,opacity:0}):c(e).css({position:"relative",left:n,top:0,zIndex:i.options.zIndex-2,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},r.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},r.prototype.setOption=r.prototype.slickSetOption=function(){var t,e,n,i,o,r=this,s=!1;if("object"===c.type(arguments[0])?(n=arguments[0],s=arguments[1],o="multiple"):"string"===c.type(arguments[0])&&(n=arguments[0],i=arguments[1],s=arguments[2],"responsive"===arguments[0]&&"array"===c.type(arguments[1])?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)r.options[n]=i;else if("multiple"===o)c.each(n,function(t,e){r.options[t]=e});else if("responsive"===o)for(e in i)if("array"!==c.type(r.options.responsive))r.options.responsive=[i[e]];else{for(t=r.options.responsive.length-1;0<=t;)r.options.responsive[t].breakpoint===i[e].breakpoint&&r.options.responsive.splice(t,1),t--;r.options.responsive.push(i[e])}s&&(r.unload(),r.reinit())},r.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},r.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},r.prototype.setSlideClasses=function(t){var e,n,i,o,r=this;if(n=r.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),r.$slides.eq(t).addClass("slick-current"),!0===r.options.centerMode){var s=r.options.slidesToShow%2==0?1:0;e=Math.floor(r.options.slidesToShow/2),!0===r.options.infinite&&(e<=t&&t<=r.slideCount-1-e?r.$slides.slice(t-e+s,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(i=r.options.slidesToShow+t,n.slice(i-e+1+s,i+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?n.eq(n.length-1-r.options.slidesToShow).addClass("slick-center"):t===r.slideCount-1&&n.eq(r.options.slidesToShow).addClass("slick-center")),r.$slides.eq(t).addClass("slick-center")}else 0<=t&&t<=r.slideCount-r.options.slidesToShow?r.$slides.slice(t,t+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):n.length<=r.options.slidesToShow?n.addClass("slick-active").attr("aria-hidden","false"):(o=r.slideCount%r.options.slidesToShow,i=!0===r.options.infinite?r.options.slidesToShow+t:t,r.options.slidesToShow==r.options.slidesToScroll&&r.slideCount-t<r.options.slidesToShow?n.slice(i-(r.options.slidesToShow-o),i+o).addClass("slick-active").attr("aria-hidden","false"):n.slice(i,i+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==r.options.lazyLoad&&"anticipated"!==r.options.lazyLoad||r.lazyLoad()},r.prototype.setupInfinite=function(){var t,e,n,i=this;if(!0===i.options.fade&&(i.options.centerMode=!1),!0===i.options.infinite&&!1===i.options.fade&&(e=null,i.slideCount>i.options.slidesToShow)){for(n=!0===i.options.centerMode?i.options.slidesToShow+1:i.options.slidesToShow,t=i.slideCount;t>i.slideCount-n;t-=1)e=t-1,c(i.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e-i.slideCount).prependTo(i.$slideTrack).addClass("slick-cloned");for(t=0;t<n+i.slideCount;t+=1)e=t,c(i.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e+i.slideCount).appendTo(i.$slideTrack).addClass("slick-cloned");i.$slideTrack.find(".slick-cloned").find("[id]").each(function(){c(this).attr("id","")})}},r.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},r.prototype.selectHandler=function(t){var e=c(t.target).is(".slick-slide")?c(t.target):c(t.target).parents(".slick-slide"),n=parseInt(e.attr("data-slick-index"));n||(n=0),this.slideCount<=this.options.slidesToShow?this.slideHandler(n,!1,!0):this.slideHandler(n)},r.prototype.slideHandler=function(t,e,n){var i,o,r,s,a,l,c=this;if(e=e||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===t))if(!1===e&&c.asNavFor(t),i=t,a=c.getLeft(i),s=c.getLeft(c.currentSlide),c.currentLeft=null===c.swipeLeft?s:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(t<0||t>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(i=c.currentSlide,!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(s,function(){c.postSlide(i)}):c.postSlide(i));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(t<0||t>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(i=c.currentSlide,!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(s,function(){c.postSlide(i)}):c.postSlide(i));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),o=i<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+i:i>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:i-c.slideCount:i,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,o]),r=c.currentSlide,c.currentSlide=o,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(l=(l=c.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==n?(c.fadeSlideOut(r),c.fadeSlide(o,function(){c.postSlide(o)})):c.postSlide(o),void c.animateHeight();!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(a,function(){c.postSlide(o)}):c.postSlide(o)}},r.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},r.prototype.swipeDirection=function(){var t,e,n,i;return t=this.touchObject.startX-this.touchObject.curX,e=this.touchObject.startY-this.touchObject.curY,n=Math.atan2(e,t),(i=Math.round(180*n/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&0<=i?!1===this.options.rtl?"left":"right":i<=360&&315<=i?!1===this.options.rtl?"left":"right":135<=i&&i<=225?!1===this.options.rtl?"right":"left":!0===this.options.verticalSwiping?35<=i&&i<=135?"down":"up":"vertical"},r.prototype.swipeEnd=function(t){var e,n,i=this;if(i.dragging=!1,i.swiping=!1,i.scrolling)return i.scrolling=!1;if(i.interrupted=!1,i.shouldClick=!(10<i.touchObject.swipeLength),void 0===i.touchObject.curX)return!1;if(!0===i.touchObject.edgeHit&&i.$slider.trigger("edge",[i,i.swipeDirection()]),i.touchObject.swipeLength>=i.touchObject.minSwipe){switch(n=i.swipeDirection()){case"left":case"down":e=i.options.swipeToSlide?i.checkNavigable(i.currentSlide+i.getSlideCount()):i.currentSlide+i.getSlideCount(),i.currentDirection=0;break;case"right":case"up":e=i.options.swipeToSlide?i.checkNavigable(i.currentSlide-i.getSlideCount()):i.currentSlide-i.getSlideCount(),i.currentDirection=1}"vertical"!=n&&(i.slideHandler(e),i.touchObject={},i.$slider.trigger("swipe",[i,n]))}else i.touchObject.startX!==i.touchObject.curX&&(i.slideHandler(i.currentSlide),i.touchObject={})},r.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},r.prototype.swipeMove=function(t){var e,n,i,o,r,s,a=this;return r=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!a.dragging||a.scrolling||r&&1!==r.length)&&(e=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==r?r[0].pageX:t.clientX,a.touchObject.curY=void 0!==r?r[0].pageY:t.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),s=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&4<s?!(a.scrolling=!0):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=s),n=a.swipeDirection(),void 0!==t.originalEvent&&4<a.touchObject.swipeLength&&(a.swiping=!0,t.preventDefault()),o=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(o=a.touchObject.curY>a.touchObject.startY?1:-1),i=a.touchObject.swipeLength,(a.touchObject.edgeHit=!1)===a.options.infinite&&(0===a.currentSlide&&"right"===n||a.currentSlide>=a.getDotCount()&&"left"===n)&&(i=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=e+i*o:a.swipeLeft=e+i*(a.$list.height()/a.listWidth)*o,!0===a.options.verticalSwiping&&(a.swipeLeft=e+i*o),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},r.prototype.swipeStart=function(t){var e,n=this;if(n.interrupted=!0,1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow)return!(n.touchObject={});void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=void 0!==e?e.pageX:t.clientX,n.touchObject.startY=n.touchObject.curY=void 0!==e?e.pageY:t.clientY,n.dragging=!0},r.prototype.unfilterSlides=r.prototype.slickUnfilter=function(){null!==this.$slidesCache&&(this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.appendTo(this.$slideTrack),this.reinit())},r.prototype.unload=function(){var t=this;c(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},r.prototype.unslick=function(t){this.$slider.trigger("unslick",[this,t]),this.destroy()},r.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode?(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},r.prototype.updateDots=function(){null!==this.$dots&&(this.$dots.find("li").removeClass("slick-active").end(),this.$dots.find("li").eq(Math.floor(this.currentSlide/this.options.slidesToScroll)).addClass("slick-active"))},r.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},c.fn.slick=function(){var t,e,n=arguments[0],i=Array.prototype.slice.call(arguments,1),o=this.length;for(t=0;t<o;t++)if("object"==typeof n||void 0===n?this[t].slick=new r(this[t],n):e=this[t].slick[n].apply(this[t].slick,i),void 0!==e)return e;return this}}),function(){("undefined"!=typeof exports&&null!==exports?exports:this).Lethargy=function(){function t(t,e,n,i){this.stability=null!=t?Math.abs(t):8,this.sensitivity=null!=e?1+Math.abs(e):100,this.tolerance=null!=n?1+Math.abs(n):1.1,this.delay=null!=i?i:150,this.lastUpDeltas=function(){var t,e,n;for(n=[],t=1,e=2*this.stability;1<=e?t<=e:e<=t;1<=e?t++:t--)n.push(null);return n}.call(this),this.lastDownDeltas=function(){var t,e,n;for(n=[],t=1,e=2*this.stability;1<=e?t<=e:e<=t;1<=e?t++:t--)n.push(null);return n}.call(this),this.deltasTimestamp=function(){var t,e,n;for(n=[],t=1,e=2*this.stability;1<=e?t<=e:e<=t;1<=e?t++:t--)n.push(null);return n}.call(this)}return t.prototype.check=function(t){var e;return null!=(t=t.originalEvent||t).wheelDelta?e=t.wheelDelta:null!=t.deltaY?e=-40*t.deltaY:(null!=t.detail||0===t.detail)&&(e=-40*t.detail),this.deltasTimestamp.push(Date.now()),this.deltasTimestamp.shift(),0<e?(this.lastUpDeltas.push(e),this.lastUpDeltas.shift(),this.isInertia(1)):(this.lastDownDeltas.push(e),this.lastDownDeltas.shift(),this.isInertia(-1))},t.prototype.isInertia=function(t){var e,n,i,o,r,s,a;return null===(e=-1===t?this.lastDownDeltas:this.lastUpDeltas)[0]?t:!(this.deltasTimestamp[2*this.stability-2]+this.delay>Date.now()&&e[0]===e[2*this.stability-1])&&(i=e.slice(0,this.stability),n=e.slice(this.stability,2*this.stability),a=i.reduce(function(t,e){return t+e}),r=n.reduce(function(t,e){return t+e}),s=a/i.length,o=r/n.length,Math.abs(s)<Math.abs(o*this.tolerance)&&this.sensitivity<Math.abs(o)&&t)},t.prototype.showLastUpDeltas=function(){return this.lastUpDeltas},t.prototype.showLastDownDeltas=function(){return this.lastDownDeltas},t}()}.call(this),function(t){"use strict";function e(){}function r(t,e){for(var n=t.length;n--;)if(t[n].listener===e)return n;return-1}function n(t){return function(){return this[t].apply(this,arguments)}}var i=e.prototype,o=t.EventEmitter;i.getListeners=function(t){var e,n,i=this._getEvents();if(t instanceof RegExp)for(n in e={},i)i.hasOwnProperty(n)&&t.test(n)&&(e[n]=i[n]);else e=i[t]||(i[t]=[]);return e},i.flattenListeners=function(t){var e,n=[];for(e=0;e<t.length;e+=1)n.push(t[e].listener);return n},i.getListenersAsObject=function(t){var e,n=this.getListeners(t);return n instanceof Array&&((e={})[t]=n),e||n},i.addListener=function(t,e){if(!function t(e){return"function"==typeof e||e instanceof RegExp||!(!e||"object"!=typeof e)&&t(e.listener)}(e))throw new TypeError("listener must be a function");var n,i=this.getListenersAsObject(t),o="object"==typeof e;for(n in i)i.hasOwnProperty(n)&&-1===r(i[n],e)&&i[n].push(o?e:{listener:e,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(t){return this.getListeners(t),this},i.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},i.removeListener=function(t,e){var n,i,o=this.getListenersAsObject(t);for(i in o)o.hasOwnProperty(i)&&(-1!==(n=r(o[i],e))&&o[i].splice(n,1));return this},i.off=n("removeListener"),i.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},i.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},i.manipulateListeners=function(t,e,n){var i,o,r=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(i=n.length;i--;)r.call(this,e,n[i]);else for(i in e)e.hasOwnProperty(i)&&(o=e[i])&&("function"==typeof o?r.call(this,i,o):s.call(this,i,o));return this},i.removeEvent=function(t){var e,n=typeof t,i=this._getEvents();if("string"===n)delete i[t];else if(t instanceof RegExp)for(e in i)i.hasOwnProperty(e)&&t.test(e)&&delete i[e];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(t,e){var n,i,o,r,s=this.getListenersAsObject(t);for(r in s)if(s.hasOwnProperty(r))for(n=s[r].slice(0),o=0;o<n.length;o++)!0===(i=n[o]).once&&this.removeListener(t,i.listener),i.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},i.trigger=n("emitEvent"),i.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},i.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},i._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return t.EventEmitter=o,e},"function"==typeof define&&define.amd?define(function(){return e}):"object"==typeof module&&module.exports?module.exports=e:t.EventEmitter=e}(this||{}),function(_){var b,T="mousewheel DOMMouseScroll wheel MozMousePixelScroll";"undefined"!=typeof Lethargy&&null!==Lethargy&&(b=new Lethargy);var E=function(){return Math.max(window.pageYOffset,window.document.body.scrollTop,window.document.documentElement.scrollTop)};_.smartscroll=function(t){var a=_.extend({},_.smartscroll.defaults,t);if(a.sectionSelector||(a.sectionSelector="."+a.sectionClass),("undefined"==typeof EventEmitter||null===EventEmitter||a.eventEmitter&&a.eventEmitter.constructor!==EventEmitter)&&(a.eventEmitter=null),a.bindSwipe)var s=null,l=null,e=function(t){var e=t.originalEvent||t;s=e.touches[0].clientX,l=e.touches[0].clientY},n=function(t){var e=t.originalEvent||t;if(s&&l){var n=e.touches[0].clientX,i=e.touches[0].clientY,o=s-n,r=l-i;Math.abs(o)>Math.abs(r)?0<o?a.eventEmitter.emitEvent("swipeLeft"):a.eventEmitter.emitEvent("swipeRight"):0<r?a.eventEmitter.emitEvent("swipeUp"):a.eventEmitter.emitEvent("swipeDown"),l=s=null}};var c,u,d=!1,h=[],i=!1,o=!1,r=window.location.hash,p=_(a.sectionWrapperSelector+":first"),f=function(){var n=[];c=Math.round(p.position().top+parseInt(p.css("paddingTop"),10)+parseInt(p.css("borderTopWidth"),10)+parseInt(p.css("marginTop"),10)),u=Math.round(c+p.height(),10),n.push(c),_(a.sectionSelector).each(function(t,e){n.push(Math.round(c+_(e).position().top+_(e).outerHeight()))}),h=n},m=function(t){for(var e=0;e<h.length;e+=1)if(t<=h[e])return e;return h.length},g=function(){var t;if(E()+_(window).height()/2<c)t=a.headerHash;else{var e=m(E()+_(window).height()/2);void 0!==e&&(t=_(a.sectionSelector+":nth-of-type("+e+")").data("hash"))}void 0!==t&&window.location.hash==="#"+t||(void 0===t&&(t=a.headerHash),a.keepHistory?window.location.hash=t:window.location.replace(window.location.href.split("#")[0]+"#"+t))},v=function(t,e){d||(d=!0,_("body,html").stop(!0,!0).animate({scrollTop:t},e,function(){if(d=!1,a.eventEmitter){var t=E(),e=m(t+_(window).height()/2);a.eventEmitter.emitEvent("scrollEnd",[e])}}))};this.scroll=function(t){if(h){var e,n=E();if(a.eventEmitter){e=m(n+_(window).height()/2);var i=t?e+1:e-1;a.eventEmitter.emitEvent("scrollStart",[i])}for(var o=0;o<h.length;o+=1)if(n<h[o])return v(t?h[o]:h[o-1]-_(window).height(),700),a.eventEmitter&&a.eventEmitter.emitEvent("scrollEnd",[e]),!1}};var y=function(){_(window).bind(T,function(t){var e=function(t){var e;if(b&&(e=b.check(t)),!d)if(b){if(1===e)return"up";if(-1===e)return"down"}else{if(0<t.originalEvent.wheelDelta||t.originalEvent.detail<0)return"up";if(t.originalEvent.wheelDelta<0||0<t.originalEvent.detail)return"down"}return!1}(t);a.dynamicHeight&&f();var n=E(),i=n+_(window).height();if(c<i&&n<=u){var o=m(n),r=m(n+_(window).height()/2);o===m(i)&&a.innerSectionScroll||(t.stopPropagation(),e&&("up"===e?(a.toptotop?v(h[r-2]+1,a.animationSpeed):v(h[r-1]-_(window).height(),a.animationSpeed),a.eventEmitter&&a.eventEmitter.emitEvent("scrollStart",[r-1])):"down"===e&&(v(h[r]+1,a.animationSpeed),a.eventEmitter&&a.eventEmitter.emitEvent("scrollStart",[r+1]))))}})};if(p.css({position:"relative"}),setTimeout(function(){if(f(),a.autoHash&&(null===a.eventEmitter||a.hashContinuousUpdate?_(window).bind("scroll",g):a.eventEmitter.addListener("scrollEnd",g)),a.initialScroll&&0<r.length){var t=_('[data-hash="'+r.substr(1)+'"]');0<t.length&&v(t[0].offsetTop+c,0)}},50),_(window).bind("resize",f),null!==a.breakpoint&&a.breakpoint===parseInt(a.breakpoint,10)&&0<a.breakpoint&&(i=!0),"vp"===a.mode)if(a.ie8){var w=function(){_(a.sectionSelector).css({height:_(window).height()})};w(),_(window).bind("resize",w)}else _(a.sectionSelector).css({height:"100vh"});return a.sectionScroll&&(i&&_(window).bind("resize",function(){if(_(window).width()<a.breakpoint){if(!o)return _(window).unbind(T),!(o=!0)}else o&&(y(),o=!1)}),y()),a.bindSwipe&&(_(window).on("touchstart",e),_(window).on("touchmove",n)),a.bindKeyboard&&_(window).on("keydown",function(t){var e=t.originalEvent||t;a.dynamicHeight&&f();var n,i=E(),o=i+_(window).height();if((n=E())+_(window).height()>c&&n<=u){var r=m(i),s=m(i+_(window).height()/2);if(r!==m(o)||!a.innerSectionScroll)switch(e.which){case 38:e.preventDefault(),e.stopPropagation(),a.toptotop?v(h[s-2]+1,a.animationSpeed):v(h[s-1]-_(window).height(),a.animationSpeed),a.eventEmitter&&a.eventEmitter.emitEvent("scrollStart",[s-1]);break;case 40:e.stopPropagation(),v(h[s]+1,a.animationSpeed),a.eventEmitter&&a.eventEmitter.emitEvent("scrollStart",[s+1])}}}),this},_.smartscroll.defaults={animationSpeed:700,autoHash:!0,breakpoint:null,initialScroll:!0,headerHash:"header",keepHistory:!1,mode:"vp",sectionClass:"section",sectionSelector:null,sectionScroll:!0,sectionWrapperSelector:".section-wrapper",eventEmitter:null,dynamicHeight:!1,ie8:!1,hashContinuousUpdate:!0,innerSectionScroll:!0,toptotop:!1,bindSwipe:!0,bindKeyboard:!0}}(jQuery),QR8bitByte.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,n=this.parsedData.length;e<n;e++)t.put(this.parsedData[e],8)}},QRCodeModel.prototype={addData:function(t){var e=new QR8bitByte(t);this.dataList.push(e),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[n][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,e),7<=this.typeNumber&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=QRCodeModel.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var i=-1;i<=7;i++)e+i<=-1||this.moduleCount<=e+i||(this.modules[t+n][e+i]=0<=n&&n<=6&&(0==i||6==i)||0<=i&&i<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=i&&i<=4)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var i=QRUtil.getLostPoint(this);(0==n||i<t)&&(t=i,e=n)}return e},createMovieClip:function(t,e,n){var i=t.createEmptyMovieClip(e,n);this.make();for(var o=0;o<this.modules.length;o++)for(var r=1*o,s=0;s<this.modules[o].length;s++){var a=1*s;this.modules[o][s]&&(i.beginFill(0,100),i.moveTo(a,r),i.lineTo(a+1,r),i.lineTo(a+1,r+1),i.lineTo(a,r+1),i.endFill())}return i},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=QRUtil.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var n=0;n<t.length;n++){var i=t[e],o=t[n];if(null==this.modules[i][o])for(var r=-2;r<=2;r++)for(var s=-2;s<=2;s++)this.modules[i+r][o+s]=-2==r||2==r||-2==s||2==s||0==r&&0==s}},setupTypeNumber:function(t){for(var e=QRUtil.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var i=!t&&1==(e>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=i}for(n=0;n<18;n++)i=!t&&1==(e>>n&1),this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=i},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,i=QRUtil.getBCHTypeInfo(n),o=0;o<15;o++){var r=!t&&1==(i>>o&1);o<6?this.modules[o][8]=r:o<8?this.modules[o+1][8]=r:this.modules[this.moduleCount-15+o][8]=r}for(o=0;o<15;o++)r=!t&&1==(i>>o&1),o<8?this.modules[8][this.moduleCount-o-1]=r:o<9?this.modules[8][15-o-1+1]=r:this.modules[8][15-o-1]=r;this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,i=this.moduleCount-1,o=7,r=0,s=this.moduleCount-1;0<s;s-=2)for(6==s&&s--;;){for(var a=0;a<2;a++)if(null==this.modules[i][s-a]){var l=!1;r<t.length&&(l=1==(t[r]>>>o&1)),QRUtil.getMask(e,i,s-a)&&(l=!l),this.modules[i][s-a]=l,-1==--o&&(r++,o=7)}if((i+=n)<0||this.moduleCount<=i){i-=n,n=-n;break}}}},QRCodeModel.PAD0=236,QRCodeModel.PAD1=17,QRCodeModel.createData=function(t,e,n){for(var i=QRRSBlock.getRSBlocks(t,e),o=new QRBitBuffer,r=0;r<n.length;r++){var s=n[r];o.put(s.mode,4),o.put(s.getLength(),QRUtil.getLengthInBits(s.mode,t)),s.write(o)}var a=0;for(r=0;r<i.length;r++)a+=i[r].dataCount;if(o.getLengthInBits()>8*a)throw new Error("code length overflow. ("+o.getLengthInBits()+">"+8*a+")");for(o.getLengthInBits()+4<=8*a&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*a||(o.put(QRCodeModel.PAD0,8),o.getLengthInBits()>=8*a));)o.put(QRCodeModel.PAD1,8);return QRCodeModel.createBytes(o,i)},QRCodeModel.createBytes=function(t,e){for(var n=0,i=0,o=0,r=new Array(e.length),s=new Array(e.length),a=0;a<e.length;a++){var l=e[a].dataCount,c=e[a].totalCount-l;i=Math.max(i,l),o=Math.max(o,c),r[a]=new Array(l);for(var u=0;u<r[a].length;u++)r[a][u]=255&t.buffer[u+n];n+=l;var d=QRUtil.getErrorCorrectPolynomial(c),h=new QRPolynomial(r[a],d.getLength()-1).mod(d);for(s[a]=new Array(d.getLength()-1),u=0;u<s[a].length;u++){var p=u+h.getLength()-s[a].length;s[a][u]=0<=p?h.get(p):0}}var f=0;for(u=0;u<e.length;u++)f+=e[u].totalCount;var m=new Array(f),g=0;for(u=0;u<i;u++)for(a=0;a<e.length;a++)u<r[a].length&&(m[g++]=r[a][u]);for(u=0;u<o;u++)for(a=0;a<e.length;a++)u<s[a].length&&(m[g++]=s[a][u]);return m};for(var QRMode={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},QRErrorCorrectLevel={L:1,M:0,Q:3,H:2},QRMaskPattern={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},QRUtil={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;0<=QRUtil.getBCHDigit(e)-QRUtil.getBCHDigit(QRUtil.G15);)e^=QRUtil.G15<<QRUtil.getBCHDigit(e)-QRUtil.getBCHDigit(QRUtil.G15);return(t<<10|e)^QRUtil.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;0<=QRUtil.getBCHDigit(e)-QRUtil.getBCHDigit(QRUtil.G18);)e^=QRUtil.G18<<QRUtil.getBCHDigit(e)-QRUtil.getBCHDigit(QRUtil.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return QRUtil.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case QRMaskPattern.PATTERN000:return(e+n)%2==0;case QRMaskPattern.PATTERN001:return e%2==0;case QRMaskPattern.PATTERN010:return n%3==0;case QRMaskPattern.PATTERN011:return(e+n)%3==0;case QRMaskPattern.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case QRMaskPattern.PATTERN101:return e*n%2+e*n%3==0;case QRMaskPattern.PATTERN110:return(e*n%2+e*n%3)%2==0;case QRMaskPattern.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new QRPolynomial([1],0),n=0;n<t;n++)e=e.multiply(new QRPolynomial([1,QRMath.gexp(n)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case QRMode.MODE_NUMBER:return 10;case QRMode.MODE_ALPHA_NUM:return 9;case QRMode.MODE_8BIT_BYTE:case QRMode.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case QRMode.MODE_NUMBER:return 12;case QRMode.MODE_ALPHA_NUM:return 11;case QRMode.MODE_8BIT_BYTE:return 16;case QRMode.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case QRMode.MODE_NUMBER:return 14;case QRMode.MODE_ALPHA_NUM:return 13;case QRMode.MODE_8BIT_BYTE:return 16;case QRMode.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),n=0,i=0;i<e;i++)for(var o=0;o<e;o++){for(var r=0,s=t.isDark(i,o),a=-1;a<=1;a++)if(!(i+a<0||e<=i+a))for(var l=-1;l<=1;l++)o+l<0||e<=o+l||0==a&&0==l||s==t.isDark(i+a,o+l)&&r++;5<r&&(n+=3+r-5)}for(i=0;i<e-1;i++)for(o=0;o<e-1;o++){var c=0;t.isDark(i,o)&&c++,t.isDark(i+1,o)&&c++,t.isDark(i,o+1)&&c++,t.isDark(i+1,o+1)&&c++,0!=c&&4!=c||(n+=3)}for(i=0;i<e;i++)for(o=0;o<e-6;o++)t.isDark(i,o)&&!t.isDark(i,o+1)&&t.isDark(i,o+2)&&t.isDark(i,o+3)&&t.isDark(i,o+4)&&!t.isDark(i,o+5)&&t.isDark(i,o+6)&&(n+=40);for(o=0;o<e;o++)for(i=0;i<e-6;i++)t.isDark(i,o)&&!t.isDark(i+1,o)&&t.isDark(i+2,o)&&t.isDark(i+3,o)&&t.isDark(i+4,o)&&!t.isDark(i+5,o)&&t.isDark(i+6,o)&&(n+=40);var u=0;for(o=0;o<e;o++)for(i=0;i<e;i++)t.isDark(i,o)&&u++;return n+Math.abs(100*u/e/e-50)/5*10}},QRMath={glog:function(t){if(t<1)throw new Error("glog("+t+")");return QRMath.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;256<=t;)t-=255;return QRMath.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},i=0;i<8;i++)QRMath.EXP_TABLE[i]=1<<i;for(i=8;i<256;i++)QRMath.EXP_TABLE[i]=QRMath.EXP_TABLE[i-4]^QRMath.EXP_TABLE[i-5]^QRMath.EXP_TABLE[i-6]^QRMath.EXP_TABLE[i-8];for(i=0;i<255;i++)QRMath.LOG_TABLE[QRMath.EXP_TABLE[i]]=i;function QRPolynomial(t,e){if(null==t.length)throw new Error(t.length+"/"+e);for(var n=0;n<t.length&&0==t[n];)n++;this.num=new Array(t.length-n+e);for(var i=0;i<t.length-n;i++)this.num[i]=t[i+n]}function QRRSBlock(t,e){this.totalCount=t,this.dataCount=e}function QRBitBuffer(){this.buffer=[],this.length=0}QRPolynomial.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),n=0;n<this.getLength();n++)for(var i=0;i<t.getLength();i++)e[n+i]^=QRMath.gexp(QRMath.glog(this.get(n))+QRMath.glog(t.get(i)));return new QRPolynomial(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=QRMath.glog(this.get(0))-QRMath.glog(t.get(0)),n=new Array(this.getLength()),i=0;i<this.getLength();i++)n[i]=this.get(i);for(i=0;i<t.getLength();i++)n[i]^=QRMath.gexp(QRMath.glog(t.get(i))+e);return new QRPolynomial(n,0).mod(t)}},QRRSBlock.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],QRRSBlock.getRSBlocks=function(t,e){var n=QRRSBlock.getRsBlockTable(t,e);if(null==n)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var i=n.length/3,o=[],r=0;r<i;r++)for(var s=n[3*r+0],a=n[3*r+1],l=n[3*r+2],c=0;c<s;c++)o.push(new QRRSBlock(a,l));return o},QRRSBlock.getRsBlockTable=function(t,e){switch(e){case QRErrorCorrectLevel.L:return QRRSBlock.RS_BLOCK_TABLE[4*(t-1)+0];case QRErrorCorrectLevel.M:return QRRSBlock.RS_BLOCK_TABLE[4*(t-1)+1];case QRErrorCorrectLevel.Q:return QRRSBlock.RS_BLOCK_TABLE[4*(t-1)+2];case QRErrorCorrectLevel.H:return QRRSBlock.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},QRBitBuffer.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var QRCodeLimitLength=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function QRCode(t){if(this.options={padding:4,width:256,height:256,typeNumber:4,color:"#000000",background:"#ffffff",ecl:"M"},"string"==typeof t&&(t={content:t}),t)for(var e in t)this.options[e]=t[e];if("string"!=typeof this.options.content)throw new Error("Expected 'content' as string!");if(0===this.options.content.length)throw new Error("Expected 'content' to be non-empty!");if(!(0<=this.options.padding))throw new Error("Expected 'padding' value to be non-negative!");if(!(0<this.options.width&&0<this.options.height))throw new Error("Expected 'width' or 'height' value to be higher than zero!");var n=this.options.content,i=function(t,e){for(var n=(l=t,void 0,(c=encodeURI(l).toString().replace(/\%[0-9a-fA-F]{2}/g,"a")).length+(c.length!=l?3:0)),i=1,o=0,r=0,s=QRCodeLimitLength.length;r<=s;r++){var a=QRCodeLimitLength[r];if(!a)throw new Error("Content too long: expected "+o+" but got "+n);switch(e){case"L":o=a[0];break;case"M":o=a[1];break;case"Q":o=a[2];break;case"H":o=a[3];break;default:throw new Error("Unknwon error correction level: "+e)}if(n<=o)break;i++}var l,c;if(i>QRCodeLimitLength.length)throw new Error("Content too long");return i}(n,this.options.ecl),o=function(t){switch(t){case"L":return QRErrorCorrectLevel.L;case"M":return QRErrorCorrectLevel.M;case"Q":return QRErrorCorrectLevel.Q;case"H":return QRErrorCorrectLevel.H;default:throw new Error("Unknwon error correction level: "+t)}}(this.options.ecl);this.qrcode=new QRCodeModel(i,o),this.qrcode.addData(n),this.qrcode.make()}QRCode.prototype.svg=function(t){var e=this.options||{},n=this.qrcode.modules;void 0===t&&(t={container:e.container||"svg"});for(var i=void 0===e.pretty||!!e.pretty,o=i?"  ":"",r=i?"\r\n":"",s=e.width,a=e.height,l=n.length,c=s/(l+2*e.padding),u=a/(l+2*e.padding),d=void 0!==e.join&&!!e.join,h=void 0!==e.swap&&!!e.swap,p=void 0===e.xmlDeclaration||!!e.xmlDeclaration,f=void 0!==e.predefined&&!!e.predefined,m=f?o+'<defs><path id="qrmodule" d="M0 0 h'+u+" v"+c+' H0 z" style="fill:'+e.color+';shape-rendering:crispEdges;" /></defs>'+r:"",g=o+'<rect x="0" y="0" width="'+s+'" height="'+a+'" style="fill:'+e.background+';shape-rendering:crispEdges;"/>'+r,v="",y="",w=0;w<l;w++)for(var _=0;_<l;_++)if(n[_][w]){var b=_*c+e.padding*c,T=w*u+e.padding*u;if(h){var E=b;b=T,T=E}if(d){var C=c+b,x=u+T;b=Number.isInteger(b)?Number(b):b.toFixed(2),T=Number.isInteger(T)?Number(T):T.toFixed(2),C=Number.isInteger(C)?Number(C):C.toFixed(2),y+="M"+b+","+T+" V"+(x=Number.isInteger(x)?Number(x):x.toFixed(2))+" H"+C+" V"+T+" H"+b+" Z "}else v+=f?o+'<use x="'+b.toString()+'" y="'+T.toString()+'" href="#qrmodule" />'+r:o+'<rect x="'+b.toString()+'" y="'+T.toString()+'" width="'+c+'" height="'+u+'" style="fill:'+e.color+';shape-rendering:crispEdges;"/>'+r}d&&(v=o+'<path x="0" y="0" style="fill:'+e.color+';shape-rendering:crispEdges;" d="'+y+'" />');var S="";switch(t.container){case"svg":p&&(S+='<?xml version="1.0" standalone="yes"?>'+r),S+='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="'+s+'" height="'+a+'">'+r,S+=m+g+v,S+="</svg>";break;case"svg-viewbox":p&&(S+='<?xml version="1.0" standalone="yes"?>'+r),S+='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 '+s+" "+a+'">'+r,S+=m+g+v,S+="</svg>";break;case"g":S+='<g width="'+s+'" height="'+a+'">'+r,S+=m+g+v,S+="</g>";break;default:S+=(m+g+v).replace(/^\s+/,"")}return S},QRCode.prototype.save=function(t,e){var n=this.svg();"function"!=typeof e&&(e=function(t,e){});try{require("fs").writeFile(t,n,e)}catch(t){e(t)}},"undefined"!=typeof module&&(module.exports=QRCode),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e():"function"==typeof define&&define.amd?define(e):e()}(0,function(){"use strict";function i(){}function r(t){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(t,this)}function o(n,i){for(;3===n._state;)n=n._value;0!==n._state?(n._handled=!0,r._immediateFn(function(){var t=1===n._state?i.onFulfilled:i.onRejected;if(null!==t){var e;try{e=t(n._value)}catch(t){return void a(i.promise,t)}s(i.promise,e)}else(1===n._state?s:a)(i.promise,n._value)})):n._deferreds.push(i)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void l(e);if("function"==typeof n)return void c((i=n,o=t,function(){i.apply(o,arguments)}),e)}e._state=1,e._value=t,l(e)}catch(t){a(e,t)}var i,o}function a(t,e){t._state=2,t._value=e,l(t)}function l(t){2===t._state&&0===t._deferreds.length&&r._immediateFn(function(){t._handled||r._unhandledRejectionFn(t._value)});for(var e=0,n=t._deferreds.length;e<n;e++)o(t,t._deferreds[e]);t._deferreds=null}function c(t,e){var n=!1;try{t(function(t){n||(n=!0,s(e,t))},function(t){n||(n=!0,a(e,t))})}catch(t){if(n)return;n=!0,a(e,t)}}var e=setTimeout;r.prototype.catch=function(t){return this.then(null,t)},r.prototype.then=function(t,e){var n=new this.constructor(i);return o(this,new function(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}(t,e,n)),n},r.prototype.finally=function(e){var n=this.constructor;return this.then(function(t){return n.resolve(e()).then(function(){return t})},function(t){return n.resolve(e()).then(function(){return n.reject(t)})})},r.all=function(e){return new r(function(i,o){function r(e,t){try{if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if("function"==typeof n)return void n.call(t,function(t){r(e,t)},o)}s[e]=t,0==--a&&i(s)}catch(t){o(t)}}if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var s=Array.prototype.slice.call(e);if(0===s.length)return i([]);for(var a=s.length,t=0;s.length>t;t++)r(t,s[t])})},r.resolve=function(e){return e&&"object"==typeof e&&e.constructor===r?e:new r(function(t){t(e)})},r.reject=function(n){return new r(function(t,e){e(n)})},r.race=function(o){return new r(function(t,e){for(var n=0,i=o.length;n<i;n++)o[n].then(t,e)})},r._immediateFn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){e(t,0)},r._unhandledRejectionFn=function(t){void 0!==console&&console};var t=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();t.Promise||(t.Promise=r)}),"undefined"==typeof smap&&(smap={}),document.documentElement.className=document.documentElement.className.replace(/\bno-js\b/g,"js"),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&document.documentElement.classList.add("is-ios"),smap.isTouchDevice=function(){return"ontouchstart"in window||navigator.msMaxTouchPoints},smap.htmlEntities=function(t){return String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},smap.getCurrentBreakpoint=function(){var t=window.getComputedStyle(document.body,":before").getPropertyValue("content");return'"'===t.charAt(0)&&(t=(t=t.slice(1)).slice(0,-1)),t},smap.getCurrentLanguage=function(){if(document.body)for(var t=document.body.className.split(" "),e=0;e<t.length;e++)if(-1<t[e].indexOf("lang-"))return t[e]},smap.getIconBGColor=function(t){var n=document.createElement("canvas").getContext("2d"),i=new Deferred,o=new Image;return o.onload=function(){o.onload=null,n.drawImage(o,0,0,3,3,0,0,3,3);var t=n.getImageData(1,1,1,1).data;(t=[].slice.call(t))[3]=t[3]/255,t[3]<1&&(t[3]=t[3].toFixed(2));var e="rgba("+t.join(",")+")";i.resolve(e)},o.src=t,i.promise};var Deferred=function(){var n={};return n.promise=new Promise(function(t,e){n.resolve=t,n.reject=e}),n};Array.prototype.unique=function(){var t,e={},n=[];for(t=0;t<this.length;t++)e[this[t]]=!0;for(t in e)n[n.length]=t;return n};var CONFIG={DEV:{REGISTERBOX:{REGISTER_FORM_URL:"https://test-stage.smapone.com/portal/Account/Register",LOGIN_FORM_URL:"https://test-stage.smapone.com/portal/Account/ExternalLogin?LoginOnly=False"},BRICKMODEL_URL:"https://platform.smapone.com/backend/intern/Bricks/",SMAPS_URL:"https://platform.smapone.com/backend/intern/Templates/Smaps?filter=%23Website",CSS_ICON_URL:"https://platform.smapone.com/CDN/css/sosymb.min.css"},LIVE:{REGISTERBOX:{REGISTER_FORM_URL:"https://platform.smapone.com/portal/Account/Register",LOGIN_FORM_URL:"https://platform.smapone.com/portal/Account/ExternalLogin?LoginOnly=False"},BRICKMODEL_URL:"https://platform.smapone.com/backend/intern/Bricks/",SMAPS_URL:"/uploads/smapone_apps.json",CSS_ICON_URL:"https://platform.smapone.com/CDN/css/sosymb.min.css"}};function replyComment(){$(document).on("click",".comment-btn.reply",function(t){var e=$(this).parent().attr("id");$("#"+e+" .comment-btn.reply").hide()})}function hashValue(){var t=window.location.hash;""!=t&&$("html, body").stop().animate({scrollTop:$(t).offset().top},2e3)}function isJsonString(t){try{JSON.parse(t)}catch(t){return!1}return!0}function submitComment(){$(document).on("submit",".tx_nsnewscomments #comment-form",function(t){$(".tx_nsnewscomments #captcha").val();var e=$(this).attr("action"),n=$(".tx_nsnewscomments #dataType").val();$(".active-comment-form").html();if(!t.isDefaultPrevented()){if(!validateField())return!1;$.ajax({type:"POST",url:e,dataType:n,cache:!0,data:$(this).serialize(),beforeSend:function(){$(".tx_nsnewscomments #submit").attr("disabled",!0),$(".tx_nsnewscomments #submit").css("cursor","default")},success:function(i){if(isJsonString(i)){var t=JSON.parse(i);"error"!==t.status&&"spam"!==t.status||($(".tx_nsnewscomments .thanksmsg, .tx_nsnewscomments .approve").hide(),$(".tx_nsnewscomments .errormsg").slideDown())}else $(".tx_nsnewscomments .errormsg").hide(),0==$(".tx_nsnewscomments #approval").val()?$(".tx_nsnewscomments #comments-list").load(location.href+" .tx_nsnewscomments #comments-list>*",function(t,e,n){"success"==e&&$.each(i,function(t,e){$(".tx_nsnewscomments .thanksmsg").slideDown()}),"error"==e&&alert("Error: "+n.status+" "+n.statusText)}):$(".tx_nsnewscomments .approve").slideDown()},error:function(t,e,n){alert(e+" "+n)},complete:function(t){$(".tx_nsnewscomments #comment-form")[0].reset(),document.getElementById("captcha")&&refreshCaptcha(),$(".tx_nsnewscomments #submit").attr("disabled",!1),$(".tx_nsnewscomments #submit").css("cursor","pointer"),addForm()}}),t.preventDefault()}}),$(document).on("click",".reply",function(t){var e=$(this).parent().attr("id"),n=$(".active-comment-form").html();$(".active-comment-form .comment-form")[0].reset(),$(".active-comment-form").html(""),$(".active-comment-form").removeClass("active-comment-form"),$(this).parent().parent().parent().parent().find("#reply-form-"+e).append(n),$(this).parent().parent().parent().parent().find("#reply-form-"+e).addClass("active-comment-form"),$("#comment-form-close-btn").show(),removeDefaultValidation(),$("html, body").stop().animate({scrollTop:$(".tx_nsnewscomments #reply-form-"+e).offset().top},1e3),$(".tx_nsnewscomments #parentId").val(e),onFocusValidation()}),$(document).on("click",".tx_nsnewscomments #comment-form-close-btn",function(t){var e=$("#parentId").val();$("#"+e+" .comment-btn.reply").show(),addForm()})}function addForm(){var t=$(".active-comment-form").html();$(".tx_nsnewscomments .active-comment-form").html(""),$(".tx_nsnewscomments .active-comment-form").removeClass("active-comment-form"),$(".tx_nsnewscomments #form-comment-view").html(t),$(".tx_nsnewscomments #form-comment-view").addClass("active-comment-form"),$(".tx_nsnewscomments #comment-form-close-btn").hide(),$(".tx_nsnewscomments #parentId").val(""),removeDefaultValidation(),onFocusValidation()}function validateField(){var t=1,e=document.getElementById("captcha");if($(".tx_nsnewscomments #name").val()){$.trim($(".tx_nsnewscomments #comment").val()).length;if(validateName($(".tx_nsnewscomments #name").val()))$(".tx_nsnewscomments #name").parent().removeClass("has-error");else{$(".tx_nsnewscomments #name_error_msg").show(),$(".tx_nsnewscomments #name_error").hide(),$(".tx_nsnewscomments #name").parent().addClass("has-error");t=0}}else{$(".tx_nsnewscomments #name").parent().addClass("has-error"),$(".tx_nsnewscomments #name_error").show();var t=0}if(""!==$(".tx_nsnewscomments #contact_me_by_fax_only").val()&&(t=0),$(".tx_nsnewscomments #email").val())if(validateEmail($(".tx_nsnewscomments #email").val()))$(".tx_nsnewscomments #email").parent().removeClass("has-error");else{$(".tx_nsnewscomments #email_error_msg").show(),$(".tx_nsnewscomments #email_error").hide(),$(".tx_nsnewscomments #email").parent().addClass("has-error");t=0}else{$(".tx_nsnewscomments #email").parent().addClass("has-error"),$(".tx_nsnewscomments #email_error").show(),$(".tx_nsnewscomments #email_error_msg").hide();t=0}if($(".tx_nsnewscomments #comment").val()){if(0==$.trim($(".tx_nsnewscomments #comment").val()).length){$(".tx_nsnewscomments #comment_error").show(),$(".tx_nsnewscomments #comment").parent().addClass("has-error");t=0}else $(".tx_nsnewscomments #comment").parent().removeClass("has-error")}else{$(".tx_nsnewscomments #comment").parent().addClass("has-error"),$(".tx_nsnewscomments #comment_error").show();t=0}if(e)if($(".tx_nsnewscomments #captcha").val())if("true"==validateCaptcha($(".tx_nsnewscomments #captcha").val()))$(".tx_nsnewscomments #captcha").parent().removeClass("has-error");else{$(".tx_nsnewscomments #captcha_valid_error").show(),$(".tx_nsnewscomments #captcha_error").hide(),$(".tx_nsnewscomments #captcha").parent().addClass("has-error");t=0}else{$(".tx_nsnewscomments #captcha").parent().addClass("has-error"),$(".tx_nsnewscomments #captcha_error").show(),$(".tx_nsnewscomments #captcha_valid_error").hide();t=0}if(1==t)return!0}function onFocusValidation(){$(".tx_nsnewscomments #name").focusout(function(){if(elementObj=$(this),""!=elementObj.val())if(validateName($(".tx_nsnewscomments #name").val()))elementObj.parent().removeClass("has-error"),$(".tx_nsnewscomments #name_error_msg").hide(),$(".tx_nsnewscomments #name_error").hide();else{$(".tx_nsnewscomments #name_error_msg").show(),$(".tx_nsnewscomments #name_error").hide(),$(".tx_nsnewscomments #name").parent().addClass("has-error")}else $(".tx_nsnewscomments #name").parent().addClass("has-error"),$(".tx_nsnewscomments #name_error").show(),$(".tx_nsnewscomments #name_error_msg").hide()}),$(".tx_nsnewscomments #email").focusout(function(){if(elementObj=$(this),""!=elementObj.val())if(validateEmail($(".tx_nsnewscomments #email").val()))elementObj.parent().removeClass("has-error"),$(".tx_nsnewscomments #email_error_msg").hide(),$(".tx_nsnewscomments #email_error").hide();else{$(".tx_nsnewscomments #email_error_msg").show(),$(".tx_nsnewscomments #email_error").hide(),$(".tx_nsnewscomments #email").parent().addClass("has-error")}else $(".tx_nsnewscomments #email").parent().addClass("has-error"),$(".tx_nsnewscomments #email_error").show(),$(".tx_nsnewscomments #email_error_msg").hide()}),$(".tx_nsnewscomments #comment").focusout(function(){if(elementObj=$(this),""!=elementObj.val())if(0==$.trim($(".tx_nsnewscomments #comment").val()).length){$(".tx_nsnewscomments #comment_error").show(),$(".tx_nsnewscomments #comment").parent().addClass("has-error")}else $(".tx_nsnewscomments #comment").parent().removeClass("has-error"),$(".tx_nsnewscomments #comment_error").hide(),$(".tx_nsnewscomments #comment_error_length").hide();else $(".tx_nsnewscomments #comment").parent().addClass("has-error"),$(".tx_nsnewscomments #comment_error").show()}),$(".tx_nsnewscomments #captcha").focusout(function(){if(elementObj=$(this),""!=elementObj.val())if(0==$.trim($(".tx_nsnewscomments #captcha").val()).length){$(".tx_nsnewscomments #captcha_error").show(),$(".tx_nsnewscomments #captcha").parent().addClass("has-error")}else $(".tx_nsnewscomments #captcha").parent().removeClass("has-error"),$(".tx_nsnewscomments #captcha_error").hide(),$(".tx_nsnewscomments #captcha_valid_error").hide();else $(".tx_nsnewscomments #captcha").parent().addClass("has-error"),$(".tx_nsnewscomments #captcha_error").show()})}function removeDefaultValidation(){$(".tx_nsnewscomments #name").parent().removeClass("has-error"),$(".tx_nsnewscomments #name_error").hide(),$(".tx_nsnewscomments #name_error_msg").hide(),$(".tx_nsnewscomments #email").parent().removeClass("has-error"),$(".tx_nsnewscomments #email_error").hide(),$(".tx_nsnewscomments #email_error_msg").hide(),$(".tx_nsnewscomments #comment").parent().removeClass("has-error"),$(".tx_nsnewscomments #comment_error").hide(),$(".tx_nsnewscomments #captcha").parent().removeClass("has-error"),$(".tx_nsnewscomments #captcha_error").hide(),$(".tx_nsnewscomments #captcha_valid_error").hide()}function validateCaptcha(t){var e="captcha="+t,n=$(".verification").val();return $.ajax({type:"POST",async:!1,url:n,data:e,success:function(t){},error:function(){alert("Captcha not Mathched")}}).responseText}function validateEmail(t){return/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/.test(t)}function validateName(t){return/^[a-zA-Z-,]+(\s{0,1}[a-zA-Z-, ])*$/.test(t)}function refreshCaptcha(){var t=document.images.captchaimg;t.src=t.src.substring(0,t.src.lastIndexOf("?"))+"?rand="+1e3*Math.random()}function decryptCharcode(t,e,n,i){return t+=i,0<i&&n<t?t=e+(t-n-1):i<0&&t<e&&(t=n-(e-t-1)),String.fromCharCode(t)}function decryptString(t,e){for(var n="",i=t.length,o=0;o<i;o++){var r=t.charCodeAt(o);n+=43<=r&&r<=58?decryptCharcode(r,43,58,e):64<=r&&r<=90?decryptCharcode(r,64,90,e):97<=r&&r<=122?decryptCharcode(r,97,122,e):t.charAt(o)}return n}function linkTo_UnCryptMailto(t){location.href=decryptString(t,3)}smap.CONFIG=CONFIG.LIVE,-1<window.location.host.indexOf("-dev.smapone.com")||-1<window.location.host.indexOf("localhost")?-1===window.location.search.indexOf("smapprod")&&(smap.CONFIG=CONFIG.DEV,smap.CONFIG.IS_DEV_SERVER=!0):-1<window.location.search.indexOf("smapdev")&&(smap.CONFIG=CONFIG.DEV,smap.CONFIG.IS_PROD_SERVER=!0),smap.LANGUAGES={DE:{APPS:{FILTER:{ALL_APPS:"Alle Apps",SMAP_OF_MONTH:"Smap des Monats",MOST_POPULAR_APP:"Beliebteste Apps"},DETAILS:{USED_MODULES:"Folgende Module werden verwendet:",LOAD_AND_TRY_OUT:"Diese App direkt auf Ihr Smartphone laden und ausprobieren.",OR:"oder",SEND_LINK:"Link als E-Mail zusenden.",DISCLAIMER:'Mit dem Zusenden akzeptieren Sie unsere <a href="/nutzungsbedingungen/" target="_blank">Nutzungsbedingungen</a> und <a href="/datenschutzhinweise/" target="_blank">Datenschutzhinweise</a>.'},SECTOR:"Branchen",LINK_APP_LABEL:"Diese App installieren",APP_CUSTOMIZE:"Sie wollen diese App nach Ihren Wünschen anpassen?<br />Kein Problem.",REGISTER_LABEL:"Kostenlos ausprobieren"},NEWSLIST:{UPDATE_DESCRIPTION_HEADLINE:"Neue Funktionen",FILTER_ALL:"Alle"}},EN:{APPS:{FILTER:{ALL_APPS:"All apps",SMAP_OF_MONTH:"Smap of the month",MOST_POPULAR_APP:"Most popular apps"},DETAILS:{USED_MODULES:"The following modules are used:",LOAD_AND_TRY_OUT:"Download this app directly to your smartphone and try it out.",OR:"or",SEND_LINK:"Send link as email.",DISCLAIMER:'By sending you accept our <a href="https://en.smapone.com/eula/" target="_blank">end user licence agreement</a> and <a href="https://en.smapone.com/privacy-policy/" target="_blank">privacy policy</a>.'},SECTOR:"Industry sectors",LINK_APP_LABEL:"Install this app",APP_CUSTOMIZE:"Do you want to customize this app according to your wishes?<br />No problem.",REGISTER_LABEL:"Try it for free"},NEWSLIST:{UPDATE_DESCRIPTION_HEADLINE:"New features",FILTER_ALL:"All"}}},smap.getTranslationsForLangauge=function(){return"lang-1"===smap.getCurrentLanguage()?smap.LANGUAGES.EN:smap.LANGUAGES.DE},smap.application=function(){var t=function(t){t.preventDefault();var e,n=$(t.target).closest(".container").parent();if(e=n.hasClass("bg-image-teaser")&&n.next("div").find(".smap-client-logo").length?n.next().next():n.next()){var i=e.offset().top-Math.max($("body > header > .navbar.fixed-top").outerHeight(),60);i-=$("#smap-cookie").length?$("#smap-cookie").outerHeight():0,$("html, body").stop().animate({scrollTop:i},700,"swing")}},e=function(t){t.preventDefault(),$(t.target).closest(".smap-pricebox--box").toggleClass("is-open")};return{initialize:function(){$("body").on("click",".arrow-next-section:not(.smap-vscrol-container .arrow-next-section)",t),$("body").on("click",".smap-pricebox-more",e),$(".smap-register-box--register-form").attr("action",smap.CONFIG.REGISTERBOX.REGISTER_FORM_URL),$(".smap-register-box--login-form").attr("action",smap.CONFIG.REGISTERBOX.LOGIN_FORM_URL)}}}(),jQuery(document).ready(function(){smap.application.initialize()}),$(function(){submitComment(),$(".tx_nsnewscomments").length&&hashValue(),onFocusValidation(),$parentCommentId="",replyComment(),jQuery.support.placeholder=!1,test=document.createElement("input"),"placeholder"in test&&(jQuery.support.placeholder=!0)}),smap.navigation=function(){var o,r,t=function(){0<$(window).scrollTop()?$("body").addClass("page-scrolled"):$("body").removeClass("page-scrolled")},e=function(){if("xs"!==smap.getCurrentBreakpoint()&&"sm"!==smap.getCurrentBreakpoint()){o.addClass("navbar-expand");var t=o.find(".navbar-nav"),e=o.find(" > .container").width(),n=t.outerWidth(),i=r.outerWidth();0==i&&(i=r.find("> img").attr("width")),e<i+n+15?(o.removeClass("navbar-expand"),$("body").removeClass("desktop-nav-shown")):$("body").addClass("desktop-nav-shown")}else o.removeClass("navbar-expand"),$("body").removeClass("desktop-nav-shown")};return{initialize:function(){o=$("body > header .navbar"),r=$(".navbar-brand"),window.addEventListener?window.addEventListener("scroll",t,{passive:!0}):window.attachEvent&&window.attachEvent("onscroll",t),r.imagesLoaded().progress(function(){e()}),$(window).on("resize",e),e(),t(),$("#smap-toggle-nav").on("show.bs.collapse",function(){$("body").attr("style","--smap-cookie-height: auto;"),$("#smap-cookie,.smap-teaser-fair").hide(),$(".try-out.hide-d-1, .contact").hide()}),$("#smap-toggle-nav").on("shown.bs.collapse",function(){$(".contact").attr("style","display: flex !important"),$(".try-out.hide-d-1").attr("style","display: block !important")}),$("#smap-toggle-nav").on("hide.bs.collapse",function(){$("body").attr("style","--smap-cookie-height: 140px;"),$("#smap-cookie,.smap-teaser-fair").show(),$(".try-out.hide-d-1, .contact").hide()}),$("#smap-toggle-nav").on("hide.bs.collapse",function(){$(".try-out.hide-d-1, .contact").attr("style","display: none !important")}),$("#smap-toggle-nav a.dropdown-item").on("click",function(t){t.stopPropagation()})}}}(),jQuery(document).ready(function(){smap.navigation.initialize()}),smap.newslist=function(){var i=function(t){for(var e=this.indexValue.listItem,n=jQuery('<div class="button-list">'),i=jQuery('<div class="smap-news-list--box-container"></div>'),o='<button class="btn active mb-1" data-filter="*"> '+smap.getTranslationsForLangauge().NEWSLIST.FILTER_ALL+" </button>",r="",s=[],a=0;a<t.length;a++)r+=l(t[a]),s=s.concat(t[a].category);for(s=s.unique(),a=0;a<s.length;a++)o+='<button class="btn mb-1" data-filter=".filter--'+s[a].replace(/ /g,"-").replace("/","-")+'">'+s[a]+"</button>";n.html(o),i.html(r),e.html(n),e.append(i),c(e.find(".smap-news-list--box-container"))},o=function(){},l=function(t){var e="",n="";return t.descriptionUpdate&&(e='<p class="text-small"><strong>'+smap.getTranslationsForLangauge().NEWSLIST.UPDATE_DESCRIPTION_HEADLINE+"</strong><br/>"+t.descriptionUpdate+"</p>"),t.marketingFlag&&(n='<i class="flag flag-'+t.marketingFlag.toLocaleLowerCase()+'">'+t.marketingFlag+"</i>"),'<div class="smap-news-list--box filter--'+t.category.toString().replace(/ /g,"-").replace(/,/g," filter--").replace("/","-")+'" data-name="'+t.displayName+'"><div class="bg-light-grey"><div class="header-box mb-2"><i class="sos '+t.icon+'"></i>'+t.displayName+n+'</div><p class="text-small">'+t.description+"</p>"+e+"</div></div>"},c=function(t){t.isotope({itemSelector:".smap-news-list--box",sortBy:"displayName",getSortData:{displayName:"[data-name]"}}).imagesLoaded().progress(function(){t.isotope("layout")})};return{initialize:function(){$("body").on("click",".smap-news-list .button-list .btn",function(t){t.preventDefault();var e=$(t.target).attr("data-filter"),n=$(t.target).closest(".smap-news-list").find(".smap-news-list--box-container");$(t.target).closest(".button-list").find(".btn.active").removeClass("active"),$(t.target).closest(".btn").addClass("active"),n.isotope({filter:e})}),$(".smap-news-list").each(function(t,e){if($(e).hasClass("smap-news-list--quote"))c($(e).find(".smap-news-list--box-container"));else{$("head").append('<link href="'+smap.CONFIG.CSS_ICON_URL+'" rel="stylesheet"/>');var n=-1==window.location.href.indexOf("support.smapone.com/en/")?"de-DE":"en-EN";0===window.location.host.indexOf("en-support")&&(n="en-EN"),$.ajax({dataType:"json",url:smap.CONFIG.BRICKMODEL_URL,indexValue:{listItem:$(e)},success:i,error:o,headers:{"Accept-Language":n}})}})}}}(),jQuery(document).ready(function(){smap.newslist.initialize()}),smap.appsnew=function(){var e,a,l,o=["date","order"],n="*",r=!1,s="",i=function(t){t.preventDefault();var e=$(t.target).closest(".smap-apps--preview-box"),n=e.next();a.find(".smap-apps--preview-box").removeClass("details-open"),a.find(".smap-apps--detail-box").removeClass("details-open"),a.find(".smap-apps--detail-box .form-container").html(""),e.addClass("details-open"),n.addClass("details-open");var i=l.find("form").attr("id").replace("SendLink-","sendLink-")+"-hidden-url";l.find("#"+i).val(n.data("url")),n.find(".form-container").html(l);var o=new QRCode({content:n.find(".qr-code-svg").data("url"),container:"svg-viewbox",background:"transparent",join:!0});n.find(".qr-code-svg").html(o.svg()),a.isotope({transitionDuration:400}),d();var r=smap.getCurrentBreakpoint(),s=a.data("isotope").items[e.index()].position.y+a.offset().top-Math.max($("body > header > .navbar.fixed-top").outerHeight(),60);s-=$("#smap-cookie").length?$("#smap-cookie").outerHeight():0,"xs"===r?s+=10:"sm"!==r&&"md"!==r||(s-=15),$("html, body").animate({scrollTop:s},400,"swing")},c=function(t){t.preventDefault(),n=$(t.target).attr("data-filter"),$(t.target).parent(".smap-filter").find(".smap-filter--item").removeClass("active"),$(t.target).addClass("active"),$(".smap-apps--detail-box.details-open .form-container").html(""),$(".smap-apps--detail-box.details-open,.smap-apps--preview-box.details-open").removeClass("details-open"),$(".apps-mobile-filter").html($(t.target).html()),window.location.hash=n.replace("*","").replace(".filter--","").replace(",.filter--",",").replace("hash-",""),a.isotope({sortBy:o,filter:n,transitionDuration:400}),d(),p()},u=function(t){t.preventDefault();var e=jQuery(t.target),n=e.serializeArray();n.push({name:e.find(".btn[type='submit']").attr("name"),value:e.find(".btn[type='submit']").val()}),jQuery.ajax({type:"POST",url:e.attr("data-ajaxuri"),async:!0,data:n,success:function(t){e.parents(".form-container").html(t)},error:function(t,e){}})},d=function(){var t=a.find(".smap-apps--detail-box.details-open");if(t.length){var e=a.find(".smap-apps--preview-box.details-open").position().left/a.width()*100,n=smap.getCurrentBreakpoint(),i="arrow-center arrow-right arrow-center-left arrow-center-right";s="","xs"!==n&&(r&&"xl"===n?72<e?s="arrow-right":48<e?s="arrow-center-right":23<e&&(s="arrow-center-left"):48<e?s="arrow-right":32<e&&(s="arrow-center")),i=i.replace(s,""),t.addClass(s),t.removeClass(i)}},h=function(t){t.preventDefault(),a.find(".smap-apps--detail-box,.smap-apps--preview-box").removeClass("details-open"),a.find(".smap-apps--detail-box .form-container").html(""),2<t.target.value.length?a.isotope({transitionDuration:400,sortBy:o,filter:$(".smap-isotope-item[data-search*='"+t.target.value.toLowerCase()+"']")}):a.isotope({transitionDuration:400,sortBy:o,filter:"*"}),p()},p=function(){0===a.data("isotope").filteredItems.length?$("#no-smap-found").show():$("#no-smap-found").hide()},t=function(t){e.html(t),(a=$(".smap-apps--box-container")).hasClass("smap-apps-new-selected")&&(r=!0),l=$("#smap-app-form"),function(t){o=!0===r?"order":o;var e=!0===r?1:0;a.isotope({layoutMode:"fitRows",itemSelector:".smap-isotope-item",sortBy:o,sortAscending:e,getSortData:{order:"[data-order] parseInt",orderdesc:"[data-orderdesc] parseInt",title:"[data-title]",date:"[data-date] parseInt"}}).imagesLoaded().progress(function(){a.isotope({transitionDuration:400})})}(),function(){if(window.location.hash){var t,e=window.location.hash.replace("#",""),n=Array();e=e.split(",");for(var i=0;i<e.length;++i)n[i]=".filter--"+e[i];(t=$('li[data-filter="'+n.join(",")+'"]')).length&&(t.addClass("active"),$(".apps-mobile-filter").html(t.html()),a.isotope({transitionDuration:400,sortBy:o,filter:t.attr("data-filter")}))}}(),$("body").on("click",".smap-apps--preview-box:not(.details-open)",i),$("body").on("click",".smap-filter .smap-filter--item",c),$("#smap-filter--search").bind("keyup",h),$("body").on("click",".smap-apps--detail-box .close",function(t){a.find(".smap-apps--detail-box,.smap-apps--preview-box").removeClass("details-open"),a.find(".smap-apps--detail-box .form-container").html(""),a.isotope({transitionDuration:400}),d()}),$("body").on("submit",".smap-apps--detail-box form",u),$(".smap-apps--sorting-select").click(function(){$(this).hasClass("open")?($(".smap-apps--dropdown").hide(),$(this).removeClass("open")):($(".smap-apps--dropdown").show(),$(this).addClass("open"))}),$(".smap-apps--sorting-select .dropdown-item").click(function(){$(".smap-apps--sorting-select .dropdown-item").removeClass("active"),$(this).addClass("active"),$("#smap-apps--sorting-selected").html($(this).html());var t=$(this).data("direction")?"order":"orderdesc";o=[$(this).data("sort"),t],a.isotope({transitionDuration:400,sortBy:o,sortAscending:$(this).data("direction")}),a.isotope("updateSortData").isotope({transitionDuration:400})})};return{initialize:function(){(e=$(".smap-apps-new")).length&&$.ajax({method:"post",dataType:"html",url:e.data("url"),data:{apps:e.data("apps")},success:t,headers:{"Accept-Language":"de-DE"}})}}}(),jQuery(document).ready(function(){smap.appsnew.initialize()}),smap.slider=function(a){function t(){var t,e;a(".slide.carousel .slides").each(function(){var t=!1,e=1,n=!1,i=a(this).parent().find(".carousel-control-prev"),o=a(this).parent().find(".carousel-control-next");a(this).closest(".slide.carousel").hasClass("adaptiveHeight")&&(t=!0),a(this).closest(".slide.carousel").hasClass("quote")&&(e=2,n=!0),(a(this).children().length<2||n&&a(this).children().length<3)&&(i.remove(),o.remove(),o=i=""),a(this).closest(".slide.carousel").hasClass("quote")?a(this).slick({slidesToShow:e,prevArrow:i,nextArrow:o,dots:!0,autoplay:!1,adaptiveHeight:t,responsive:[{breakpoint:1200,settings:{slidesToShow:1}}]}):a(this).slick({slidesToShow:e,prevArrow:i,nextArrow:o,dots:!0,autoplay:!1,adaptiveHeight:t,responsive:[{breakpoint:992,settings:{slidesToShow:1}}]}),a(this).closest(".slide.carousel").hasClass("autoplay")&&r(this)}),t=a(".slide.bubble"),e=3,t.each(function(){var t=a(this).find("> div");2===t.length||3===t.length?a(this).append(t.clone()):1===t.length&&(e=1)}),t.slick({centerMode:!0,centerPadding:0,variableWidth:!0,slidesToShow:e,arrows:!1,focusOnSelect:!0,draggable:!1}),t.each(function(){r(this)}),a(".slide.category .slider-nav").each(function(){var t,e,n,i,o=a(this).parent().find(".category-control-prev"),r=a(this).parent().find(".category-control-next"),s=a(this).find("> div").length;4===s?(t=3,i=[{breakpoint:580,settings:{variableWidth:n=e=!0}}]):s<=3?n=e=!(t=1):(t=5,n=e=!0),s<2&&(o.remove(),r.remove(),r=o=""),a(this).slick({prevArrow:o,nextArrow:r,slidesToShow:t,slidesToScroll:1,asNavFor:a(this).closest(".slide.category").find(".slider-for"),dots:!1,arrows:!0,centerMode:e,focusOnSelect:!0,variableWidth:n,responsive:i})}),a(".slide.category .slider-for").each(function(){a(this).slick({slidesToShow:1,slidesToScroll:1,arrows:!1,fade:!0,asNavFor:a(this).closest(".slide.category").find(".slider-nav")})})}function r(t){new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting,a(t.target).slick("slickPause")}.bind(this))},{rootMargin:"-120px 0px -120px 0px",threshold:0}).observe(t)}return a(t),{initialize:t}}(jQuery),smap.sliderVertical=function(){var t,i,o,r,s,e,a=function(t){for(var e=$('<div class="smap-vscroll-dots d-none"></div>'),n="",i=0;i<t.length;i++)n+='<div class="smap-vscroll-dot"><span>'+$(t[i]).find(".dot-title").text()+"</span></div>";return e.html(n),r.append(e),e},l=function(t,e){0<t&&t<e+1?(n(!0),s.children().removeClass("is-active"),s.children().eq(t-1).addClass("is-active")):n(!1)},n=function(t){t?s.is(":visible")||(s.removeClass("d-none"),s.stop(!0,!0).delay(200).animate({opacity:1},300)):s.is(":visible")&&s.stop(!0,!0).animate({opacity:0},300,function(){s.addClass("d-none")})},c=function(t){t.preventDefault(),i.scroll(!0)},u=function(t){t.preventDefault();var e=$(t.currentTarget).index(),n=r.find(".smap-vscroll").eq(e).offset().top;s.children().removeClass("is-active"),s.children().eq(e).addClass("is-active"),$("html, body").animate({scrollTop:n},"slow")},d=function(){"xs"!==(t=smap.getCurrentBreakpoint())&&"sm"!==t&&650<$(window).height()?($(o).removeClass("py-3 py-sm-4"),r?r.addClass("smap-vscrol-container"):i||function(){(r=$('<div class="smap-vscrol-container"></div>')).insertBefore($(o[0])),r.html(o),r.prev().length||r.parent().addClass("pt-0"),s=a(o);var t=new EventEmitter;t.addListener("scrollStart",function(t){l(t,o.length)}),i=$.smartscroll({mode:"set",autoHash:!1,initialScroll:!1,sectionWrapperSelector:".smap-vscrol-container",sectionClass:"smap-vscroll",headerHash:"top",breakpoint:768,eventEmitter:t}),r.find(".smap-vscroll").animate({opacity:1,"-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)"},200);var e=0;if($(o[o.length-1]).offset().top<$(window).scrollTop())e=o.length+1;else for(var n=o.length-1;0<=n;n--)if($(o[n]).offset().top-10<$(window).scrollTop()){e=n+1;break}l(e,o.length)}()):r&&(r.removeClass("smap-vscrol-container"),$(o).addClass("py-3 py-sm-4"))},h=function(t){r&&(clearTimeout(e),e=setTimeout(function(){r.offset().top>$(window).scrollTop()||r.offset().top+r.height()<$(window).scrollTop()+$(window).height()-10?n(!1):n(!0)},100))};return{initialize:function(){(o=$(".smap-vscroll")).length&&$(o[o.length-1]).addClass("is-last"),1<o.length&&($("body").on("click",".smap-vscrol-container .arrow-next-section",c),$("body").on("click",".smap-vscrol-container .smap-vscroll-dots .smap-vscroll-dot",u),$(window).on("resize",d),window.addEventListener?window.addEventListener("scroll",h,{passive:!0}):window.attachEvent&&window.attachEvent("onscroll",h),d(),function(){for(var t=new IntersectionObserver(function(t){t.forEach(function(t){var e=$(t.target).find("video");if(t.isIntersecting&&!e.hasClass("embed-responsive-item")){var n=smap.getCurrentBreakpoint();"xs"===n||"sm"===n?0<(e=$(t.target).find("video")).length&&e[0].play():(setTimeout(function(){$(t.target).addClass("show-content")},500),setTimeout(function(){0<e.length&&e[0].play()},900))}else $(t.target).removeClass("show-content"),0<e.length&&e[0].currentTime&&(e[0].pause(),e[0].currentTime=0)}.bind(this))},{rootMargin:"-120px 0px -120px 0px",threshold:0}),e=0;e<o.length;e++)t.observe(o[e])}())}}}(),jQuery(window).on("load",function(){smap.sliderVertical.initialize()}),smap.contentToggle=function(){var t=function(t){t.preventDefault(),$(t.target).closest(".content-toggle-container").toggleClass("details-shown")};return{initialize:function(){$("body").on("click",".btn.content-toggle",t),$(".content-toggle-container").each(function(t,e){var n=Math.max($(e).find("> .content-default").height(),$(e).find("> .content-detail").height());$(e).css("height",n+"px")})}}}(),jQuery(document).ready(function(){smap.contentToggle.initialize()}),smap.video=function(){var t=function(t){smap.getCurrentBreakpoint();var e,n,i="";t.preventDefault(),(e=$(t.currentTarget).data("yt-id"))||(e=o($(t.currentTarget).attr("href"))),(i=$(t.currentTarget).data("yt-title"))||(i=""),(n=$('<div class="modal fade smap-youtube-video__modal" tabindex="-1" role="dialog" aria-hidden="true"><div class="modal-dialog modal-lg has-bg-color bg-light-grey"><div class="modal-header"><h5 class="modal-title">'+i+'</h5><svg class="close-btn icon-small" data-dismiss="modal" aria-label="Close" viewBox="0 0 64 64"><use xlink:href="#svg-icon_close"></use></svg></div><div class="modal-body"><div class="modal-content smap-youtube-video__responsive"><iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/'+e+'?rel=0&amp;controls=1&amp;showinfo=0&amp;autoplay=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div></div></div></div>').appendTo("body")).modal("show"),n.on("hidden.bs.modal",function(t){$(t.currentTarget).modal("dispose"),$(t.currentTarget).remove()})},o=function(t){var e=t.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/);return e&&11==e[7].length?e[7]:""};return{initialize:function(){$("body").on("click",".smap-video-tutorials .button-list .btn",function(t){t.preventDefault();var e=$(t.target).attr("data-filter"),n=$(t.target).closest(".smap-video-tutorials").find("> .row");$(t.target).closest(".button-list").find(".btn.active").removeClass("active"),$(t.target).closest(".btn").addClass("active"),n.isotope({filter:e})}).on("click",".smap-youtube-link",t),$(".frame-type-bb_contentelements_video").each(function(){var t=0,e=$("header .navbar").height(),n=$(window).height();-1===document.cookie.indexOf("smapCookie=true")&&(t=$("#smap-cookie").height()),$(this).css("max-width",Math.floor((n-e-t-50)/.5625))}),$(".smap-video-tutorials > .row").each(function(t,e){$(e).isotope({layoutMode:"fitRows",itemSelector:".col"}).imagesLoaded().progress(function(){$(e).isotope("layout")})})}}}(),jQuery(document).ready(function(){smap.video.initialize()}),smap.teaser=function(t){function e(){t(window).on("resize",function(t){n()}),n()}function n(){t.each(t(".bg-image-teaser"),function(){t(this).next("div").find(".smap-client-logo").length&&setTimeout(function(){t(this).removeClass("mb-5 mb-lg-6").addClass("mb-3 mb-md-5 mb-lg-2"),t(this)[0].style.setProperty("--smap-client-logo-height",t(this).next("div").outerHeight()+"px")}.bind(this),75)})}return t(e),{initialize:e}}(jQuery),smap.teaserFair=function(){var e=function(t){t.preventDefault();var e=$(t.target).closest(".smap-teaser-fair");document.cookie="smapCookieTeaserFair=true; Path=/",e.animate({bottom:-1*e.outerHeight()+"px"},300,function(){e.remove()})};return{initialize:function(){var t=jQuery(".smap-teaser-fair");t.length&&(600<$(window).width()&&600<$(window).height()&&-1===document.cookie.indexOf("smapCookieTeaserFair=true")||-1!==document.cookie.indexOf("smapCookie=true")&&-1===document.cookie.indexOf("smapCookieTeaserFair=true")?($("body").on("click",".smap-teaser-fair .close",e),t.css("display","block")):t.remove())}}}(),jQuery(window).on("load",function(){smap.teaserFair.initialize()}),smap.form=function(n){var t;function e(){n(window),t=n(document),n(".smap-form").one("submit",function(){n(this).find(".actions").addClass("submitted")}),t.on("submit",".needs-validation",i)}function i(t){var e=n(t.currentTarget);e.find("input[type=email]").each(function(){n(this).attr("pattern","^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$")}),!1===e[0].checkValidity()&&(t.preventDefault(),t.stopPropagation()),e.addClass("was-validated")}return n(e),{initialize:e}}(jQuery),smap.releaseNotes=function(){var t=function(t){var e=window.location.hash.replace("#",""),n=$('a[data-filter=".releasenote-filter-'+e+'"]');$(".releasenote-filter-item.default").addClass("active"),e.length&&n.length&&($(".releasenote-filter-item").removeClass("active"),n.addClass("active"),$(".release-notes-list .releasenote-item").hide().filter(n.data("filter")).show()),$(".releasenote-filter-item").click(function(){$(".releasenote-filter-item").removeClass("active"),$(this).addClass("active"),$(".release-notes-list .releasenote-item").hide().filter($(this).data("filter")).show()})};return{initialize:function(){t()}}}(),jQuery(document).ready(function(){smap.releaseNotes.initialize()}),smap.stories=function(){var t=function(t){var e=window.location.hash.replace("#",""),n=$('a[data-filter=".stories-filter-'+e+'"]');$(".stories-filter-item.default").addClass("active"),e.length&&n.length&&($(".stories-filter-item").removeClass("active"),n.addClass("active"),$(".success-stories-list .stories-item").hide().filter(n.data("filter")).show()),$(".stories-filter-item").click(function(){$(".stories-filter-item").removeClass("active"),$(this).addClass("active"),$(".success-stories-list .stories-item").hide().filter($(this).data("filter")).show()})};return{initialize:function(){t()}}}(),jQuery(document).ready(function(){smap.stories.initialize()}),smap.custom={initialize:function(){var t;$(".press-box").length&&($(".press-box>div").hide(),$(".press-box>div:lt(7)").show(),$(".press-box").append('<div class="text-center"><a id="loadMorePress" href="javascript:void(0);" class="btn btn-yellow">mehr laden</a></div>'),$("#loadMorePress").click(function(){$(".press-box>div").show(),$(this).remove()})),t=$(document).height()-300-$(window).height()-$("body > footer").height(),$(window).scroll(function(){$(window).scrollTop()>=t&&($("#newsletterTargetBox").html('<iframe title="Newsletter" class="ktv2" src="https://klicktipp.s3.amazonaws.com/userimages/91560/forms/153308/3k58z24q0z8z3ec3.html" style="position:relative;display:inline-block;border:none;background:transparent none no-repeat scroll 0 0;margin:0;min-width:180px;max-width:233px;" width="100%" height="233" scrolling="no"></iframe>'),$(window).unbind("scroll"))})}},jQuery(document).ready(function(){smap.custom.initialize()}),smap.productUpdates=function(n){function t(){var e=n(".product-updates").find(".page-navigation .next a");e.length?n(".product-updates--load-more").click(function(){var t=e.attr("href");n(".product-updates .page-navigation").remove(),t=t.includes("type=654321")?t:t+"?type=654321",n(".product-updates--load-more").hide(),n(".product-updates--load-indicator").show(),n.ajax({method:"POST",url:t}).done(function(t){n(".product-updates--ajax-response").html(n(".product-updates--ajax-response").html()+n(t).find(".product-updates--ajax-response").html()+'<div class="page-navigation">'+n(t).find(".page-navigation").html()+"</div>"),(e=n(t).find(".page-navigation .next a")).length||n(".product-updates--load-more").remove(),n(".product-updates--load-more").show(),n(".product-updates--load-indicator").hide()})}):n(".product-updates--load-more").remove()}return n(t),{initialize:t}}(jQuery),smap.faq=function(t){function e(){window.location.hash}return jQuery(e),{initialize:e}}();
/*! Lazy Load 2.0.0-rc.2 - MIT license - Copyright 2007-2019 Mika Tuupola */
!function(t,e){"object"==typeof exports?module.exports=e(t):"function"==typeof define&&define.amd?define([],e):t.LazyLoad=e(t)}("undefined"!=typeof global?global:this.window||this.global,function(t){"use strict";function e(t,e){this.settings=s(r,e||{}),this.images=t||document.querySelectorAll(this.settings.selector),this.observer=null,this.init()}"function"==typeof define&&define.amd&&(t=window);const r={src:"data-src",srcset:"data-srcset",selector:".lazyload",root:null,rootMargin:"0px",threshold:0},s=function(){let t={},e=!1,r=0,o=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(e=arguments[0],r++);for(;r<o;r++)!function(r){for(let o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e&&"[object Object]"===Object.prototype.toString.call(r[o])?t[o]=s(!0,t[o],r[o]):t[o]=r[o])}(arguments[r]);return t};if(e.prototype={init:function(){if(!t.IntersectionObserver)return void this.loadImages();let e=this,r={root:this.settings.root,rootMargin:this.settings.rootMargin,threshold:[this.settings.threshold]};this.observer=new IntersectionObserver(function(t){Array.prototype.forEach.call(t,function(t){if(t.isIntersecting){e.observer.unobserve(t.target);let r=t.target.getAttribute(e.settings.src),s=t.target.getAttribute(e.settings.srcset);"img"===t.target.tagName.toLowerCase()?(r&&(t.target.src=r),s&&(t.target.srcset=s)):t.target.style.backgroundImage="url("+r+")"}})},r),Array.prototype.forEach.call(this.images,function(t){e.observer.observe(t)})},loadAndDestroy:function(){this.settings&&(this.loadImages(),this.destroy())},loadImages:function(){if(!this.settings)return;let t=this;Array.prototype.forEach.call(this.images,function(e){let r=e.getAttribute(t.settings.src),s=e.getAttribute(t.settings.srcset);"img"===e.tagName.toLowerCase()?(r&&(e.src=r),s&&(e.srcset=s)):e.style.backgroundImage="url('"+r+"')"})},destroy:function(){this.settings&&(this.observer.disconnect(),this.settings=null)}},t.lazyload=function(t,r){return new e(t,r)},t.jQuery){const r=t.jQuery;r.fn.lazyload=function(t){return t=t||{},t.attribute=t.attribute||"data-src",new e(r.makeArray(this),t),this}}return e});$(document).ready(function(){$("img.lazyload").lazyload()});class FaqSearch{constructor(){this.FaqSearch=$('#jpfaqSearch');this.FaqSearchContainers=$('.faq-listing');this.FaqCatContainers=$('.faq-cat-listing');this.FaqSearch.submit(()=>{return!1});this.openClose();this.FaqSearch.find('input').on('input',()=>{this.faqSearchInput()})}
faqSearchInput(){const searchFilter=this.FaqSearch.find('input').val();this.FaqSearchContainers.each(function(){$(this).find('.tx-jpfaq .faq-entry-item').each(function(){if($(this).text().search(new RegExp(searchFilter,'i'))<0){$(this).hide()}else{$(this).show()}})});this.FaqSearchContainers.each(function(){if($(this).find('.jpfaqList .faq-entry-item:visible').length){$(this).find('.jp-faq-header').show()}else{$(this).find('.jp-faq-header').hide()}});this.FaqCatContainers.each(function(){if($(this).find(' .faq-entry-item:visible').length){$(this).parent('.frame-default').find('> header').show()}else{$(this).parent('.frame-default').find('> header').hide()}})}
openClose(){var jpFaqToggleTrigger='ul.jpfaqList .toggleTrigger';var txJpfaq='.tx-jpfaq';var jpFaqListItem='ul.jpfaqList .faq-entry-item';var jpfaqShow='.jpfaqShowAll';var jpfaqHide='.jpfaqHideAll';$(jpFaqToggleTrigger).click(function(){var thisPlugin=$(this).closest(txJpfaq);$(this).next().toggleClass('active').slideToggle('fast');$(this).toggleClass('questionUnfolded');if($(thisPlugin).find(jpFaqListItem).children(':first-child').length==$(thisPlugin).find(jpFaqListItem).children(':first-child.questionUnfolded').length){$(thisPlugin).find(jpfaqShow).hide();$(thisPlugin).find(jpfaqHide).show()}else{$(thisPlugin).find(jpfaqHide).hide();$(thisPlugin).find(jpfaqShow).show()}})}}
new FaqSearch();$(document).ready(function(){jpFaqOpenEntry();jpFaqChangeHash()});function jpFaqChangeHash(){$('.toggleTrigger').click(function(){if($(this).hasClass('questionUnfolded')){var $idForHash=$(this).parent('.faq-entry-item').attr('id');if($idForHash){if(history.pushState){history.pushState(null,null,window.location.pathname+'#'+$idForHash)}else{window.location.hash='#'+$idForHash}}}})}
function jpFaqOpenEntry(){var $hash=window.location.hash,$faqEntry=$($hash);if($faqEntry.length){$faqEntry.find('.toggleTrigger').addClass('questionUnfolded');$faqEntry.find('.toggleTriggerContainer').addClass('active').show();$([document.documentElement,document.body]).animate({scrollTop:$faqEntry.offset().top-($('#top > .navbar').height()+20)},300)}}
$(window).on('hashchange',function(){jpFaqOpenEntry()});class Jobs{constructor(){if($('#tx-jobposting-pi1').length){this.filterCategories();this.filterLocations()}}
filterLocations(){let that=this;$('.job-location--filter-item').click(function(){if($(this).data('target')==='all'){$('.job-item').removeClass('hidden-location')}else{$('.job-item').not($(this).data('target')).addClass('hidden-location');$($(this).data('target')).removeClass('hidden-location')}
$('.job-location--filter-item').removeClass('active');$(this).addClass('active');that.noJobsFound();that.updateCategoryCounter($(this).data('target'))})}
updateCategoryCounter(location){let countAll=0,activeItem=!1;$('.job-category--filter-item').each(function(){let category=$(this).data('target'),locationCounter=(location==='all')?$(category).length:$(location+category).length;$(this).find('.jobs-counter').html(locationCounter);if($(this).hasClass('active')&&category!=='all'){$('.job-category--filter-active-item .jobs-counter').html(locationCounter);activeItem=!0}
countAll=countAll+locationCounter});$('.job-category--filter-item.first .jobs-counter').html(countAll);if(activeItem===!1){$('.job-category--filter-active-item .jobs-counter').html(countAll)}}
filterCategories(){let that=this;this.toggleDropdown();$('.job-category--filter-item').click(function(){that.closeDropdown();if($(this).data('target')==='all'){$('.job-item').removeClass('hidden-category')}else{$('.job-item').not($(this).data('target')).addClass('hidden-category');$($(this).data('target')).removeClass('hidden-category')}
$('.job-category--filter-item').removeClass('active');$('.job-category--filter-active-item').html($(this).html());$(this).addClass('active');that.noJobsFound()})}
toggleDropdown(){let that=this;$('.job-category--filter-title').click(function(){if($('.job-category--filter').hasClass('active')){that.closeDropdown()}else{that.openDropdown()}})}
closeDropdown(){$('.job-category--filter-title').removeClass('active');$('.job-category--filter').removeClass('active')}
openDropdown(){$('.job-category--filter-title').addClass('active');$('.job-category--filter').addClass('active')}
noJobsFound(){if($('.job-item:visible').length===0){$('.no-jobs-found').addClass('active')}else{$('.no-jobs-found').removeClass('active')}}}
new Jobs();(function(){function decryptCharcode(charCode,start,end,offset){charCode=charCode+offset;if(offset>0&&charCode>end){charCode=start+(charCode-end-1)}else if(offset<0&&charCode<start){charCode=end-(start-charCode-1)}
return String.fromCharCode(charCode)}
function decryptString(value,offset){var result='';for(var i=0;i<value.length;i++){var charCode=value.charCodeAt(i);if(charCode>=0x2B&&charCode<=0x3A){result+=decryptCharcode(charCode,0x2B,0x3A,offset)}else if(charCode>=0x40&&charCode<=0x5A){result+=decryptCharcode(charCode,0x40,0x5A,offset)}else if(charCode>=0x61&&charCode<=0x7A){result+=decryptCharcode(charCode,0x61,0x7A,offset)}else{result+=value.charAt(i)}}
return result}
function windowOpen(url,target,features){var windowRef=window.open(url,target,features);if(windowRef){windowRef.focus()}
return windowRef}
function delegateEvent(event,selector,callback){document.addEventListener(event,function(evt){for(var targetElement=evt.target;targetElement&&targetElement!==document;targetElement=targetElement.parentNode){if(targetElement.matches(selector)){callback.call(targetElement,evt,targetElement)}}})}
if(typeof window.linkTo_UnCryptMailto==='undefined'){window.linkTo_UnCryptMailto=function(value,offset){console.warn('Function linkTo_UnCryptMailto() is deprecated and will be remove in TYPO3 v12.0');if(value&&offset){document.location.href=decryptString(value,offset)}}}
delegateEvent('click','a[data-mailto-token][data-mailto-vector]',function(evt,evtTarget){evt.preventDefault();var dataset=evtTarget.dataset;var value=dataset.mailtoToken;var offset=parseInt(dataset.mailtoVector,10)*-1;document.location.href=decryptString(value,offset)});delegateEvent('click','a[data-window-url]',function(evt,evtTarget){evt.preventDefault();var dataset=evtTarget.dataset;var url=dataset.windowUrl;var target=dataset.windowTarget||null;var features=dataset.windowFeatures||null;windowOpen(url,target,features)})})();$(document).ready(function(){$(".navbar-toggler").click(function(){if($('.try-out-breakpoint-lg').hasClass('try-out-breakpoint-lg-hide')){$('.try-out-breakpoint-lg').removeClass('try-out-breakpoint-lg-hide')}else{$('.try-out-breakpoint-lg').addClass('try-out-breakpoint-lg-hide')}})});var HTMLvideo=document.querySelectorAll('.video-media-query')
function addSourceToHTMLvideo(element,src){var source=document.createElement('source');source.src=src;source.type='video/mp4';element.appendChild(source)}
function whichSizeHTMLvideo(element,src,mediaVariant){if(mediaVariant=='desktop'){addSourceToHTMLvideo(element,src.dataset.desktopVid)}else{addSourceToHTMLvideo(element,src.dataset.mobileVid)}}
function HTMLvideoSize(){if(HTMLvideo!==undefined){var mediaVariant=(window.innerWidth?window.innerWidth:$(window).width())>786?'desktop':'mobile';HTMLvideo.forEach(function(element,index){whichSizeHTMLvideo(element,element,mediaVariant)});window.addEventListener('resize',function(event){var checkIfMediaVariantHasChanged=(window.innerWidth?window.innerWidth:$(window).width())>786?'desktop':'mobile';if(mediaVariant!=checkIfMediaVariantHasChanged){mediaVariant=checkIfMediaVariantHasChanged;HTMLvideo.forEach(function(element,index){element.pause()
element.innerHTML='';whichSizeHTMLvideo(element,element,mediaVariant);element.load();element.play()})}},!0)}}
HTMLvideoSize();(function(){class cookiemanIframe{iframe=document.createElement("iframe");injected=!1;opened=!1;constructor(gtm,settingsId){this.gtm=gtm,this.settingsId=document.querySelectorAll(settingsId);this.getCookie().indexOf('mandatory')===0?this.injectGTM():this.openFrame();if(this.getCookie().length===0||this.getCookie().indexOf('marketing')===-1){this.injectNRICH(!0)}else{this.injectNRICH()}
this.openFrameOnClick()}
openFrameOnClick(){let that=this;if(typeof(this.settingsId)!='undefined'&&this.settingsId!=null){this.settingsId.forEach((link)=>{link.addEventListener('click',function(){document.cookie='CookieConsent=;domain=.smapone.com; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;';that.openFrame(1);that.iframe.style.display="block"})})}}
openFrame(timeout=2800){let that=this;setTimeout(function(){let urlPrefix='/';switch(window.location.hostname){case 'support-smapone.localhost':case 'support.smapone.com':if(window.location.pathname.indexOf('/en/')===0){urlPrefix='/en/'}
break;default:break}
that.iframe.setAttribute("src",urlPrefix+"cookiemanStandalone.html");that.iframe.setAttribute("id","cookiemanStandalone");document.body.appendChild(that.iframe);that.opened=!0;that.closeFrame()},timeout)}
closeFrame(){let that=this,eventMethod=window.addEventListener?"addEventListener":"attachEvent",eventTest=window[eventMethod],messageEvent=eventMethod==="attachEvent"?"onmessage":"message";eventTest(messageEvent,function(e){if(e.data==="closeIframe"||e.message==="closeIframe"){that.iframe.style.display="none";that.injectGTM()}})}
getCookie(name="CookieConsent="){let decodedCookie=decodeURIComponent(document.cookie),ca=decodedCookie.split(';');for(let i=0;i<ca.length;i++){let c=ca[i];while(c.charAt(0)==' '){c=c.substring(1)}
if(c.indexOf(name)===0){return c.substring(name.length,c.length).split('|')}}
return[]}
injectGTM(){let guid=this.getCookie('uniqueUserHash=')[0];window.dataLayer=Array.isArray(window.dataLayer)?window.dataLayer:[];window.dataLayer.push({gtm_userId:guid});if(this.getCookie().indexOf('marketing')!==-1&&this.injected===!1){(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=!0;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f)})(window,document,'script','dataLayer',this.gtm);this.injected=!0}}
injectNRICH(cookieless=!1){let script=document.createElement("script");script.type="text/javascript";if(cookieless){script.innerHTML="var config ={ cookieless: true, }; !function(n,a,t,i,f,y){n[t]=n[t]||function(){(n[t].q=n[t].q|| []).push(arguments)},n[t].l=1*new Date,f=a.createElement(i),f.async=true,y=a.getElementsByTagName(i)[0] ,f.src='https://serve.nrich.ai/tracker/assets/tracker.js?nto='+t,y.parentNode.insertBefore(f,y)} (window,document,'nt','script'),nt('load','ac8270a7-35bd-4634-ba1f-5a0bb98856e5', config);"}else{script.innerHTML="var config ={ cookieless: false,}; !function(n,a,t,i,f,y){n[t]=n[t]||function(){(n[t].q=n[t].q|| []).push(arguments)},n[t].l=1*new Date,f=a.createElement(i),f.async=true,y=a.getElementsByTagName(i)[0] ,f.src='https://serve.nrich.ai/tracker/assets/tracker.js?nto='+t,y.parentNode.insertBefore(f,y)} (window,document,'nt','script'),nt('load','ac8270a7-35bd-4634-ba1f-5a0bb98856e5', config);"}
document.getElementsByTagName('head')[0].appendChild(script)}}
let GtmID='';switch(window.location.hostname){case 'www.smapone.com':GtmID='GTM-PCCJFT';break;case 'support.smapone.com':GtmID='GTM-PCCJFT';break;case 'en.smapone.com':GtmID='GTM-PCCJFT';break;default:GtmID='GTM-5LKH7T';break}
new cookiemanIframe(GtmID,'.cookieman-open-settings-click-button')})()