vendor: 10,297 bytes, line 1
1function setCookie(e,t,n){var i,o="";n&&((i=new Date).setTime(i.getTime()+60*n*60*1e3),o="; expires="+i.toUTCString()),document.cookie=e+"="+(t||"")+o+"; path=/"}function getCookie(e){for(var t=e+"=",n=document.cookie.split(";"),i=0;i<n.length;i++){for(var o=n[i];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return null}function callEventFacebook(e,t){return"undefined"!=typeof fbq&&(void 0!==t?fbq("track",e,t):fbq("track",e))}function callEventGoogleAnalytics(e,t,n,i){if("undefined"!=typeof gtag)return t=t||"Send",n={event_category:n=n||"Forms",event_label:e},void 0!==i&&(n.value=i),gtag("event",t,n)}function callEventGoogleAnalytics4(e,t){if("undefined"!=typeof gtag)return gtag("event",e,t)}!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)}("undefined"!=typeof window?window:this,function(_,L){"use strict";function y(e){return"function"==typeof e&&"number"!=typeof e.nodeType}function g(e){return null!=e&&e===e.window}var e=[],x=_.document,I=Object.getPrototypeOf,a=e.slice,q=e.concat,R=e.push,F=e.indexOf,z={},H=z.toString,U=z.hasOwnProperty,B=U.toString,W=B.call(Object),m={},V={type:!0,src:!0,noModule:!0};function Y(e,t,n){var i,o=(t=t||x).createElement("script");if(o.text=e,n)for(i in V)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function f(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?z[H.call(e)]||"object":typeof e}var t="3.3.1",C=function(e,t){return new C.fn.init(e,t)},Q=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function X(e){var t=!!e&&"length"in e&&e.length,n=f(e);return!y(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}C.fn=C.prototype={jquery:t,constructor:C,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){e=C.merge(this.constructor(),e);return e.prevObject=this,e},each:function(e){return C.each(this,e)},map:function(n){return this.pushStack(C.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:R,sort:e.sort,splice:e.splice},C.extend=C.fn.extend=function(){var e,t,n,i,o,s=arguments[0]||{},r=1,a=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[r]||{},r++),"object"==typeof s||y(s)||(s={}),r===a&&(s=this,r--);r<a;r++)if(null!=(e=arguments[r]))for(t in e)o=s[t],s!==(n=e[t])&&(l&&n&&(C.isPlainObject(n)||(i=Array.isArray(n)))?(o=i?(i=!1,o&&Array.isArray(o)?o:[]):o&&C.isPlainObject(o)?o:{},s[t]=C.extend(l,o,n)):void 0!==n&&(s[t]=n));return s},C.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){return!(!e||"[object Object]"!==H.call(e)||(e=I(e))&&("function"!=typeof(e=U.call(e,"constructor")&&e.constructor)||B.call(e)!==W))},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e){Y(e)},each:function(e,t){var n,i=0;if(X(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(Q,"")},makeArray:function(e,t){t=t||[];return null!=e&&(X(Object(e))?C.merge(t,"string"==typeof e?[e]:e):R.call(t,e)),t},inArray:function(e,t,n){return null==t?-1:F.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,s=e.length,r=!n;o<s;o++)!t(e[o],o)!=r&&i.push(e[o]);return i},map:function(e,t,n){var i,o,s=0,r=[];if(X(e))for(i=e.length;s<i;s++)null!=(o=t(e[s],s,n))&&r.push(o);else for(s in e)null!=(o=t(e[s],s,n))&&r.push(o);return q.apply([],r)},guid:1,support:m}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=e[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){z["[object "+t+"]"]=t.toLowerCase()});function i(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&C(e).is(n))break;i.push(e)}return i}function G(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var t=function(L){function d(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(65536+i):String.fromCharCode(i>>10|55296,1023&i|56320)}function I(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function q(){x()}var e,p,w,s,R,f,F,z,_,l,c,x,C,n,S,g,i,o,m,T="sizzle"+ +new Date,v=L.document,D=0,H=0,U=de(),B=de(),y=de(),W=function(e,t){return e===t&&(c=!0),0},V={}.hasOwnProperty,t=[],Y=t.pop,Q=t.push,k=t.push,X=t.slice,b=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},G="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",a="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",Z="\\["+r+"*("+a+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+a+"))|)"+r+"*\\]",K=":("+a+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Z+")*)|.*)\\)|)",J=new RegExp(r+"+","g"),E=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),ee=new RegExp("^"+r+"*,"+r+"*"),te=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),ne=new RegExp("="+r+"*([^\\]'\"]*?)"+r+"*\\]","g"),ie=new RegExp(K),oe=new RegExp("^"+a+"$"),h={ID:new RegExp("^#("+a+")"),CLASS:new RegExp("^\\.("+a+")"),TAG:new RegExp("^("+a+"|[*])"),ATTR:new RegExp("^"+Z),PSEUDO:new RegExp("^"+K),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+G+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},se=/^(?:input|select|textarea|button)$/i,re=/^h\d$/i,u=/^[^{]+\{\s*\[native \w/,ae=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,le=/[+~]/,$=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),ce=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ue=O(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{k.apply(t=X.call(v.childNodes),v.childNodes),t[v.childNodes.length].nodeType}catch(e){k={apply:t.length?function(e,t){Q.apply(e,X.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function A(e,t,n,i){var o,s,r,a,l,c,u,d=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!i&&((t?t.ownerDocument||t:v)!==C&&x(t),t=t||C,S)){if(11!==h&&(l=ae.exec(e)))if(o=l[1]){if(9===h){if(!(r=t.getElementById(o)))return n;if(r.id===o)return n.push(r),n}else if(d&&(r=d.getElementById(o))&&m(t,r)&&r.id===o)return n.push(r),n}else{if(l[2])return k.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&p.getElementsByClassName&&t.getElementsByClassName)return k.apply(n,t.getElementsByClassName(o)),n}if(p.qsa&&!y[e+" "]&&(!g||!g.test(e))){if(1!==h)d=t,u=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(ce,I):t.setAttribute("id",a=T),s=(c=f(e)).length;s--;)c[s]="#"+a+" "+M(c[s]);u=c.join(","),d=le.test(e)&&ge(t.parentNode)||t}if(u)try{return k.apply(n,d.querySelectorAll(u)),n}catch(e){}finally{a===T&&t.removeAttribute("id")}}}return z(e.replace(E,"$1"),t,n,i)}function de(){var n=[];function i(e,t){return n.push(e+" ")>w.cacheLength&&delete i[n.shift()],i[e+" "]=t}return i}function N(e){return e[T]=!0,e}function P(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function he(e,t){for(var n=e.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=t}function pe(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ue(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function j(r){return N(function(s){return s=+s,N(function(e,t){for(var n,i=r([],e.length,s),o=i.length;o--;)e[n=i[o]]&&(e[n]=!(t[n]=e[n]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in p=A.support={},R=A.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},x=A.setDocument=function(e){var e=e?e.ownerDocument||e:v;return e!==C&&9===e.nodeType&&e.documentElement&&(n=(C=e).documentElement,S=!R(C),v!==C&&(e=C.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",q,!1):e.attachEvent&&e.attachEvent("onunload",q)),p.attributes=P(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=P(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=u.test(C.getElementsByClassName),p.getById=P(function(e){return n.appendChild(e).id=T,!C.getElementsByName||!C.getElementsByName(T).length}),p.getById?(w.filter.ID=function(e){var t=e.replace($,d);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&S)return(t=t.getElementById(e))?[t]:[]}):(w.filter.ID=function(e){var t=e.replace($,d);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&S){var n,i,o,s=t.getElementById(e);if(s){if((n=s.getAttributeNode("id"))&&n.value===e)return[s];for(o=t.getElementsByName(e),i=0;s=o[i++];)if((n=s.getAttributeNode("id"))&&n.value===e)return[s]}return[]}}),w.find.TAG=p.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):p.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,s=t.getElementsByTagName(e);
vendor: 26,602 bytes, line 1
1if("*"!==e)return s;for(;n=s[o++];)1===n.nodeType&&i.push(n);return i},w.find.CLASS=p.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&S)return t.getElementsByClassName(e)},i=[],g=[],(p.qsa=u.test(C.querySelectorAll))&&(P(function(e){n.appendChild(e).innerHTML="<a id='"+T+"'></a><select id='"+T+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+r+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+r+"*(?:value|"+G+")"),e.querySelectorAll("[id~="+T+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+T+"+*").length||g.push(".#.+[+~]")}),P(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+r+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),n.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(p.matchesSelector=u.test(o=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.oMatchesSelector||n.msMatchesSelector))&&P(function(e){p.disconnectedMatch=o.call(e,"*"),o.call(e,"[s!='']:x"),i.push("!=",K)}),g=g.length&&new RegExp(g.join("|")),i=i.length&&new RegExp(i.join("|")),e=u.test(n.compareDocumentPosition),m=e||u.test(n.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},W=e?function(e,t){var n;return e===t?(c=!0,0):(n=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===v&&m(v,e)?-1:t===C||t.ownerDocument===v&&m(v,t)?1:l?b(l,e)-b(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,i=0,o=e.parentNode,s=t.parentNode,r=[e],a=[t];if(!o||!s)return e===C?-1:t===C?1:o?-1:s?1:l?b(l,e)-b(l,t):0;if(o===s)return pe(e,t);for(n=e;n=n.parentNode;)r.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;r[i]===a[i];)i++;return i?pe(r[i],a[i]):r[i]===v?-1:a[i]===v?1:0}),C},A.matches=function(e,t){return A(e,null,null,t)},A.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&x(e),t=t.replace(ne,"='$1']"),p.matchesSelector&&S&&!y[t+" "]&&(!i||!i.test(t))&&(!g||!g.test(t)))try{var n=o.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<A(t,C,null,[e]).length},A.contains=function(e,t){return(e.ownerDocument||e)!==C&&x(e),m(e,t)},A.attr=function(e,t){(e.ownerDocument||e)!==C&&x(e);var n=w.attrHandle[t.toLowerCase()],n=n&&V.call(w.attrHandle,t.toLowerCase())?n(e,t,!S):void 0;return void 0!==n?n:p.attributes||!S?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},A.escape=function(e){return(e+"").replace(ce,I)},A.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},A.uniqueSort=function(e){var t,n=[],i=0,o=0;if(c=!p.detectDuplicates,l=!p.sortStable&&e.slice(0),e.sort(W),c){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)e.splice(n[i],1)}return l=null,e},s=A.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=s(t);return n},(w=A.selectors={cacheLength:50,createPseudo:N,match:h,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,d),e[3]=(e[3]||e[4]||e[5]||"").replace($,d),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||A.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&A.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return h.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ie.test(n)&&(t=(t=f(n,!0))&&n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace($,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=U[e+" "];return t||(t=new RegExp("(^|"+r+")"+e+"("+r+"|$)"))&&U(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(e){e=A.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===i:"!="===n?e!==i:"^="===n?i&&0===e.indexOf(i):"*="===n?i&&-1<e.indexOf(i):"$="===n?i&&e.slice(-i.length)===i:"~="===n?-1<(" "+e.replace(J," ")+" ").indexOf(i):"|="===n&&(e===i||e.slice(0,i.length+1)===i+"-"))}},CHILD:function(f,e,t,g,m){var v="nth"!==f.slice(0,3),y="last"!==f.slice(-4),b="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var i,o,s,r,a,l,c=v!=y?"nextSibling":"previousSibling",u=e.parentNode,d=b&&e.nodeName.toLowerCase(),h=!n&&!b,p=!1;if(u){if(v){for(;c;){for(r=e;r=r[c];)if(b?r.nodeName.toLowerCase()===d:1===r.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=(s=(r=u)[T]||(r[T]={}))[r.uniqueID]||(s[r.uniqueID]={}))[f]||[])[0]===D&&i[1])&&i[2],r=a&&u.childNodes[a];r=++a&&r&&r[c]||(p=a=0,l.pop());)if(1===r.nodeType&&++p&&r===e){o[f]=[D,a,p];break}}else if(!1===(p=h?a=(i=(o=(s=(r=e)[T]||(r[T]={}))[r.uniqueID]||(s[r.uniqueID]={}))[f]||[])[0]===D&&i[1]:p))for(;(r=++a&&r&&r[c]||(p=a=0,l.pop()))&&((b?r.nodeName.toLowerCase()!==d:1!==r.nodeType)||!++p||(h&&((o=(s=r[T]||(r[T]={}))[r.uniqueID]||(s[r.uniqueID]={}))[f]=[D,p]),r!==e)););return(p-=m)===g||p%g==0&&0<=p/g}}},PSEUDO:function(e,s){var t,r=w.pseudos[e]||w.setFilters[e.toLowerCase()]||A.error("unsupported pseudo: "+e);return r[T]?r(s):1<r.length?(t=[e,e,"",s],w.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,t){for(var n,i=r(e,s),o=i.length;o--;)e[n=b(e,i[o])]=!(t[n]=i[o])}):function(e){return r(e,0,t)}):r}},pseudos:{not:N(function(e){var i=[],o=[],a=F(e.replace(E,"$1"));return a[T]?N(function(e,t,n,i){for(var o,s=a(e,null,i,[]),r=e.length;r--;)(o=s[r])&&(e[r]=!(t[r]=o))}):function(e,t,n){return i[0]=e,a(i,null,n,o),i[0]=null,!o.pop()}}),has:N(function(t){return function(e){return 0<A(t,e).length}}),contains:N(function(t){return t=t.replace($,d),function(e){return-1<(e.textContent||e.innerText||s(e)).indexOf(t)}}),lang:N(function(n){return oe.test(n||"")||A.error("unsupported lang: "+n),n=n.replace($,d).toLowerCase(),function(e){var t;do{if(t=S?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=L.location&&L.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===n},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:fe(!1),disabled:fe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return re.test(e.nodeName)},input:function(e){return se.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:j(function(){return[0]}),last:j(function(e,t){return[t-1]}),eq:j(function(e,t,n){return[n<0?n+t:n]}),even:j(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:j(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:j(function(e,t,n){for(var i=n<0?n+t:n;0<=--i;)e.push(i);return e}),gt:j(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})w.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}(e);function me(){}function M(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function O(r,e,t){var a=e.dir,l=e.next,c=l||a,u=t&&"parentNode"===c,d=H++;return e.first?function(e,t,n){for(;e=e[a];)if(1===e.nodeType||u)return r(e,t,n);return!1}:function(e,t,n){var i,o,s=[D,d];if(n){for(;e=e[a];)if((1===e.nodeType||u)&&r(e,t,n))return!0}else for(;e=e[a];)if(1===e.nodeType||u)if(o=(o=e[T]||(e[T]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[a]||e;else{if((i=o[c])&&i[0]===D&&i[1]===d)return s[2]=i[2];if((o[c]=s)[2]=r(e,t,n))return!0}return!1}}function ve(o){return 1<o.length?function(e,t,n){for(var i=o.length;i--;)if(!o[i](e,t,n))return!1;return!0}:o[0]}function ye(e,t,n,i,o){for(var s,r=[],a=0,l=e.length,c=null!=t;a<l;a++)!(s=e[a])||n&&!n(s,i,o)||(r.push(s),c&&t.push(a));return r}function be(p,f,g,m,v,e){return m&&!m[T]&&(m=be(m)),v&&!v[T]&&(v=be(v,e)),N(function(e,t,n,i){var o,s,r,a=[],l=[],c=t.length,u=e||function(e,t,n){for(var i=0,o=t.length;i<o;i++)A(e,t[i],n);return n}(f||"*",n.nodeType?[n]:n,[]),d=!p||!e&&f?u:ye(u,a,p,n,i),h=g?v||(e?p:c||m)?[]:t:d;if(g&&g(d,h,n,i),m)for(o=ye(h,l),m(o,[],n,i),s=o.length;s--;)(r=o[s])&&(h[l[s]]=!(d[l[s]]=r));if(e){if(v||p){if(v){for(o=[],s=h.length;s--;)(r=h[s])&&o.push(d[s]=r);v(null,h=[],o,i)}for(s=h.length;s--;)(r=h[s])&&-1<(o=v?b(e,r):a[s])&&(e[o]=!(t[o]=r))}}else h=ye(h===t?h.splice(c,h.length):h),v?v(null,t,h,i):k.apply(t,h)})}function we(m,v){function e(e,t,n,i,o){var s,r,a,l=0,c="0",u=e&&[],d=[],h=_,p=e||b&&w.find.TAG("*",o),f=D+=null==h?1:Math.random()||.1,g=p.length;for(o&&(_=t===C||t||o);c!==g&&null!=(s=p[c]);c++){if(b&&s){for(r=0,t||s.ownerDocument===C||(x(s),n=!S);a=m[r++];)if(a(s,t||C,n)){i.push(s);break}o&&(D=f)}y&&((s=!a&&s)&&l--,e)&&u.push(s)}if(l+=c,y&&c!==l){for(r=0;a=v[r++];)a(u,d,t,n);if(e){if(0<l)for(;c--;)u[c]||d[c]||(d[c]=Y.call(i));d=ye(d)}k.apply(i,d),o&&!e&&0<d.length&&1<l+v.length&&A.uniqueSort(i)}return o&&(D=f,_=h),u}var y=0<v.length,b=0<m.length;return y?N(e):e}return me.prototype=w.filters=w.pseudos,w.setFilters=new me,f=A.tokenize=function(e,t){var n,i,o,s,r,a,l,c=B[e+" "];if(c)return t?0:c.slice(0);for(r=e,a=[],l=w.preFilter;r;){for(s in n&&!(i=ee.exec(r))||(i&&(r=r.slice(i[0].length)||r),a.push(o=[])),n=!1,(i=te.exec(r))&&(n=i.shift(),o.push({value:n,type:i[0].replace(E," ")}),r=r.slice(n.length)),w.filter)!(i=h[s].exec(r))||l[s]&&!(i=l[s](i))||(n=i.shift(),o.push({value:n,type:s,matches:i}),r=r.slice(n.length));if(!n)break}return t?r.length:r?A.error(e):B(e,a).slice(0)},F=A.compile=function(e,t){var n,i=[],o=[],s=y[e+" "];if(!s){for(n=(t=t||f(e)).length;n--;)((s=function e(t){for(var i,n,o,s=t.length,r=w.relative[t[0].type],a=r||w.relative[" "],l=r?1:0,c=O(function(e){return e===i},a,!0),u=O(function(e){return-1<b(i,e)},a,!0),d=[function(e,t,n){return e=!r&&(n||t!==_)||((i=t).nodeType?c:u)(e,t,n),i=null,e}];l<s;l++)if(n=w.relative[t[l].type])d=[O(ve(d),n)];else{if((n=w.filter[t[l].type].apply(null,t[l].matches))[T]){for(o=++l;o<s&&!w.relative[t[o].type];o++);return be(1<l&&ve(d),1<l&&M(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(E,"$1"),n,l<o&&e(t.slice(l,o)),o<s&&e(t=t.slice(o)),o<s&&M(t))}d.push(n)}return ve(d)}(t[n]))[T]?i:o).push(s);(s=y(e,we(o,i))).selector=e}return s},z=A.select=function(e,t,n,i){var o,s,r,a,l,c="function"==typeof e&&e,u=!i&&f(e=c.selector||e);if(n=n||[],1===u.length){if(2<(s=u[0]=u[0].slice(0)).length&&"ID"===(r=s[0]).type&&9===t.nodeType&&S&&w.relative[s[1].type]){if(!(t=(w.find.ID(r.matches[0].replace($,d),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(o=h.needsContext.test(e)?0:s.length;o--&&(r=s[o],!w.relative[a=r.type]);)if((l=w.find[a])&&(i=l(r.matches[0].replace($,d),le.test(s[0].type)&&ge(t.parentNode)||t))){if(s.splice(o,1),e=i.length&&M(s))break;return k.apply(n,i),n}}return(c||F(e,u))(i,t,!S,n,!t||le.test(e)&&ge(t.parentNode)||t),n},p.sortStable=T.split("").sort(W).join("")===T,p.detectDuplicates=!!c,x(),p.sortDetached=P(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),P(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||he("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),p.attributes&&P(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||he("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),P(function(e){return null==e.getAttribute("disabled")})||he(G,function(e,t,n){if(!n)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),A}(_),Z=(C.find=t,C.expr=t.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=t.uniqueSort,C.text=t.getText,C.isXMLDoc=t.isXML,C.contains=t.contains,C.escapeSelector=t.escape,C.expr.match.needsContext);function l(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var K=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function J(e,n,i){return y(n)?C.grep(e,function(e,t){return!!n.call(e,t,e)!==i}):n.nodeType?C.grep(e,function(e){return e===n!==i}):"string"!=typeof n?C.grep(e,function(e){return-1<F.call(n,e)!==i}):C.filter(n,e,i)}C.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?C.find.matchesSelector(i,e)?[i]:[]:C.find.matches(e,C.grep(t,function(e){return 1===e.nodeType}))},C.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(C(e).filter(function(){for(t=0;t<i;t++)if(C.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)C.find(e,o[t],n);return 1<i?C.uniqueSort(n):n},filter:function(e){return this.pushStack(J(this,e||[],!1))},not:function(e){return this.pushStack(J(this,e||[],!0))},is:function(e){return!!J(this,"string"==typeof e&&Z.test(e)?C(e):e||[],!1).length}});var ee,te=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,ne=((C.fn.init=function(e,t,n){if(e){if(n=n||ee,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this);if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:te.exec(e))||!i[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(i[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:x,!0)),K.test(i[1])&&C.isPlainObject(t))for(var i in t)y(this[i])?this[i](t[i]):this.attr(i,t[i])}else(n=x.getElementById(i[2]))&&(this[0]=n,this.length=1)}return this}).prototype=C.fn,ee=C(x),/^(?:parents|prev(?:Until|All))/),ie={children:!0,contents:!0,next:!0,prev:!0};function oe(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(C.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,o=this.length,s=[],r="string"!=typeof e&&C(e);if(!Z.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(r?-1<r.index(n):1===n.nodeType&&C.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(1<s.length?C.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?F.call(C(e),this[0]):F.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return i(e,"parentNode")},parentsUntil:function(e,t,n){return i(e,"parentNode",n)},next:function(e){return oe(e,"nextSibling")},prev:function(e){return oe(e,"previousSibling")},nextAll:function(e){return i(e,"nextSibling")},prevAll:function(e){return i(e,"previousSibling")},nextUntil:function(e,t,n){return i(e,"nextSibling",n)},prevUntil:function(e,t,n){return i(e,"previousSibling",n)},siblings:function(e){return G((e.parentNode||{}).firstChild,e)},children:function(e){return G(e.firstChild)},contents:function(e){return l(e,"iframe")?e.contentDocument:(l(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},function(i,o){C.fn[i]=function(e,t){var n=C.map(this,o,e);return(t="Until"!==i.slice(-5)?e:t)&&"string"==typeof t&&(n=C.filter(t,n)),1<this.length&&(ie[i]||C.uniqueSort(n),ne.test(i))&&n.reverse(),this.pushStack(n)}});var S=/[^\x20\t\r\n\f]+/g;function u(e){return e}function se(e){throw e}function re(e,t,n,i){var o;try{e&&y(o=e.promise)?o.call(e).done(t).fail(n):e&&y(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}C.Callbacks=function(i){var e,n;i="string"==typeof i?(e=i,n={},C.each(e.match(S)||[],function(e,t){n[t]=!0}),n):C.extend({},i);function o(){for(a=a||i.once,r=s=!0;c.length;u=-1)for(t=c.shift();++u<l.length;)!1===l[u].apply(t[0],t[1])&&i.stopOnFalse&&(u=l.length,t=!1);i.memory||(t=!1),s=!1,a&&(l=t?[]:"")}var s,t,r,a,l=[],c=[],u=-1,d={add:function(){return l&&(t&&!s&&(u=l.length-1,c.push(t)),function n(e){C.each(e,function(e,t){y(t)?i.unique&&d.has(t)||l.push(t):t&&t.length&&"string"!==f(t)&&n(t)})}(arguments),t)&&!s&&o(),this},remove:function(){return C.each(arguments,function(e,t){for(var n;-1<(n=C.inArray(t,l,n));)l.splice(n,1),n<=u&&u--}),this},has:function(e){return e?-1<C.inArray(e,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return a=c=[],l=t="",this},disabled:function(){return!l},lock:function(){return a=c=[],t||s||(l=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],c.push(t),s)||o(),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},C.extend({Deferred:function(e){var s=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],o="pending",r={state:function(){return o},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var o=arguments;return C.Deferred(function(i){C.each(s,function(e,t){var n=y(o[t[4]])&&o[t[4]];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&y(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this,n?[e]:arguments)})}),o=null}).promise()},then:function(t,n,i){var l=0;function c(o,s,r,a){return function(){function e(){var e,t;if(!(o<l)){if((e=r.apply(n,i))===s.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,y(t)?a?t.call(e,c(l,s,u,a),c(l,s,se,a)):(l++,t.call(e,c(l,s,u,a),c(l,s,se,a),c(l,s,u,s.notifyWith))):(r!==u&&(n=void 0,i=[e]),(a||s.resolveWith)(n,i))}}var n=this,i=arguments,t=a?e:function(){try{e()}catch(e){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(e,t.stackTrace),l<=o+1&&(r!==se&&(n=void 0,i=[e]),s.rejectWith(n,i))}};o?t():(C.Deferred.getStackHook&&(t.stackTrace=C.Deferred.getStackHook()),_.setTimeout(t))}}return C.Deferred(function(e){s[0][3].add(c(0,e,y(i)?i:u,e.notifyWith)),s[1][3].add(c(0,e,y(t)?t:u)),s[2][3].add(c(0,e,y(n)?n:se))}).promise()},promise:function(e){return null!=e?C.extend(e,r):r}},a={};return C.each(s,function(e,t){var n=t[2],i=t[5];r[t[1]]=n.add,i&&n.add(function(){o=i},s[3-e][2].disable,s[3-e][3].disable,s[0][2].lock,s[0][3].lock),n.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=n.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(e){function t(t){return function(e){o[t]=this,s[t]=1<arguments.length?a.call(arguments):e,--n||r.resolveWith(o,s)}}var n=arguments.length,i=n,o=Array(i),s=a.call(arguments),r=C.Deferred();if(n<=1&&(re(e,r.done(t(i)).resolve,r.reject,!n),"pending"===r.state()||y(s[i]&&s[i].then)))return r.then();for(;i--;)re(s[i],t(i),r.reject);return r.promise()}});var ae=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/,le=(C.Deferred.exceptionHook=function(e,t){_.console&&_.console.warn&&e&&ae.test(e.name)&&_.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){_.setTimeout(function(){throw e})},C.Deferred());function ce(){x.removeEventListener("DOMContentLoaded",ce),_.removeEventListener("load",ce),C.ready()}C.fn.ready=function(e){return le.then(e).catch(function(e){C.readyException(e)}),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0)!==e&&0<--C.readyWait||le.resolveWith(x,[C])}}),C.ready.then=le.then,"complete"===x.readyState||"loading"!==x.readyState&&!x.documentElement.doScroll?_.setTimeout(C.ready):(x.addEventListener("DOMContentLoaded",ce),_.addEventListener("load",ce));function d(e,t,n,i,o,s,r){var a=0,l=e.length,c=null==n;if("object"===f(n))for(a in o=!0,n)d(e,t,a,n[a],!0,s,r);else if(void 0!==i&&(o=!0,y(i)||(r=!0),t=c?r?(t.call(e,i),null):(c=t,function(e,t,n){return c.call(C(e),n)}):t))for(;a<l;a++)t(e[a],n,r?i:i.call(e[a],a,t(e[a],n)));return o?e:c?t.call(e):l?t(e[0],n):s}var ue=/^-ms-/,de=/-([a-z])/g;function he(e,t){return t.toUpperCase()}function b(e){return e.replace(ue,"ms-").replace(de,he)}function pe(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function n(){this.expando=C.expando+n.uid++}n.uid=1,n.prototype={cache:function(e){var t=e[this.expando];return t||(t={},pe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[b(t)]=n;else for(i in t)o[b(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][b(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(b):(t=b(t))in i?[t]:t.match(S)||[]).length;for(;n--;)delete i[t[n]]}void 0!==t&&!C.isEmptyObject(i)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&&!C.isEmptyObject(e)}};var v=new n,c=new n,fe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ge=/[A-Z]/g;function me(e,t,n){var i,o;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(ge,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===(o=n)||"false"!==o&&("null"===o?null:o===+o+""?+o:fe.test(o)?JSON.parse(o):o)}catch(e){}c.set(e,t,n)}else n=void 0;return n}C.extend({hasData:function(e){return c.hasData(e)||v.hasData(e)},data:function(e,t,n){return c.access(e,t,n)},removeData:function(e,t){c.remove(e,t)},_data:function(e,t,n){return v.access(e,t,n)},_removeData:function(e,t){v.remove(e,t)}}),C.fn.extend({data:function(n,e){var t,i,o,s=this[0],r=s&&s.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){c.set(this,n)}):d(this,function(e){var t;if(s&&void 0===e)return void 0!==(t=c.get(s,n))||void 0!==(t=me(s,n))?t:void 0;this.each(function(){c.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(o=c.get(s),1===s.nodeType)&&!v.get(s,"hasDataAttrs")){for(t=r.length;t--;)r[t]&&0===(i=r[t].name).indexOf("data-")&&(i=b(i.slice(5)),me(s,i,o[i]));v.set(s,"hasDataAttrs",!0)}return o},removeData:function(e){return this.each(function(){c.remove(this,e)})}}),C.extend({queue:function(e,t,n){var i;if(e)return i=v.get(e,t=(t||"fx")+"queue"),n&&(!i||Array.isArray(n)?i=v.access(e,t,C.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),i=n.length,o=n.shift(),s=C._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete s.stop,o.call(e,function(){C.dequeue(e,t)},s)),!i&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v.get(e,n)||v.access(e,n,{empty:C.Callbacks("once memory").add(function(){v.remove(e,[t+"queue",n])})})}}),C.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?C.queue(this[0],t):void 0===n?this:this.each(function(){var e=C.queue(this,t,n);C._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&C.dequeue(this,t)})},dequeue:function(e){return this.each(function(){C.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--o||s.resolveWith(r,[r])}var i,o=1,s=C.Deferred(),r=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(i=v.get(r[a],e+"queueHooks"))&&i.empty&&(o++,i.empty.add(n));return n(),s.promise(t)}});function ve(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&C.contains(e.ownerDocument,e)&&"none"===C.css(e,"display")}function ye(e,t,n,i){var o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];for(o in n=n.apply(e,i||[]),t)e.style[o]=s[o];return n}var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,h=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),p=["Top","Right","Bottom","Left"];function be(e,t,n,i){var o,s,r=20,a=i?function(){return i.cur()}:function(){return C.css(e,t,"")},l=a(),c=n&&n[3]||(C.cssNumber[t]?"":"px"),u=(C.cssNumber[t]||"px"!==c&&+l)&&h.exec(C.css(e,t));if(u&&u[3]!==c){for(c=c||u[3],u=+(l/=2)||1;r--;)C.style(e,t,u+c),(1-s)*(1-(s=a()/l||.5))<=0&&(r=0),u/=s;C.style(e,t,(u*=2)+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 we={};function w(e,t){for(var n,i,o,s,r,a=[],l=0,c=e.length;l<c;l++)(i=e[l]).style&&(n=i.style.display,t?("none"===n&&(a[l]=v.get(i,"display")||null,a[l]||(i.style.display="")),""===i.style.display&&ve(i)&&(a[l]=(r=s=void 0,s=(o=i).ownerDocument,o=o.nodeName,(r=we[o])||(s=s.body.appendChild(s.createElement(o)),r=C.css(s,"dis
1play"),s.parentNode.removeChild(s),we[o]=r="none"===r?"block":r),r))):"none"!==n&&(a[l]="none",v.set(i,"display",n)));for(l=0;l<c;l++)null!=a[l]&&(e[l].style.display=a[l]);return e}C.fn.extend({show:function(){return w(this,!0)},hide:function(){return w(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ve(this)?C(this).show():C(this).hide()})}});var _e=/^(?:checkbox|radio)$/i,xe=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i,T={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 D(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&l(e,t)?C.merge([e],n):n}function Se(e,t){for(var n=0,i=e.length;n<i;n++)v.set(e[n],"globalEval",!t||v.get(t[n],"globalEval"))}T.optgroup=T.option,T.tbody=T.tfoot=T.colgroup=T.caption=T.thead,T.th=T.td;var Te=/<|&#?\w+;/;function De(e,t,n,i,o){for(var s,r,a,l,c,u=t.createDocumentFragment(),d=[],h=0,p=e.length;h<p;h++)if((s=e[h])||0===s)if("object"===f(s))C.merge(d,s.nodeType?[s]:s);else if(Te.test(s)){for(r=r||u.appendChild(t.createElement("div")),a=(xe.exec(s)||["",""])[1].toLowerCase(),a=T[a]||T._default,r.innerHTML=a[1]+C.htmlPrefilter(s)+a[2],c=a[0];c--;)r=r.lastChild;C.merge(d,r.childNodes),(r=u.firstChild).textContent=""}else d.push(t.createTextNode(s));for(u.textContent="",h=0;s=d[h++];)if(i&&-1<C.inArray(s,i))o&&o.push(s);else if(l=C.contains(s.ownerDocument,s),r=D(u.appendChild(s),"script"),l&&Se(r),n)for(c=0;s=r[c++];)Ce.test(s.type||"")&&n.push(s);return u}t=x.createDocumentFragment().appendChild(x.createElement("div")),(N=x.createElement("input")).setAttribute("type","radio"),N.setAttribute("checked","checked"),N.setAttribute("name","t"),t.appendChild(N),m.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue;var ke=x.documentElement,Ee=/^key/,$e=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ae=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function k(){return!1}function Pe(){try{return x.activeElement}catch(e){}}function je(e,t,n,i,o,s){var r,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)je(e,a,n,i,t[a],s);return e}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=k;else if(!o)return e;return 1===s&&(r=o,(o=function(e){return C().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=C.guid++)),e.each(function(){C.event.add(this,t,o,i,n)})}C.event={global:{},add:function(t,e,n,i,o){var s,r,a,l,c,u,d,h,p,f=v.get(t);if(f)for(n.handler&&(n=(s=n).handler,o=s.selector),o&&C.find.matchesSelector(ke,o),n.guid||(n.guid=C.guid++),a=(a=f.events)||(f.events={}),r=(r=f.handle)||(f.handle=function(e){return void 0!==C&&C.event.triggered!==e.type?C.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(S)||[""]).length;l--;)d=p=(h=Ae.exec(e[l])||[])[1],h=(h[2]||"").split(".").sort(),d&&(c=C.event.special[d]||{},d=(o?c.delegateType:c.bindType)||d,c=C.event.special[d]||{},p=C.extend({type:d,origType:p,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&C.expr.match.needsContext.test(o),namespace:h.join(".")},s),(u=a[d])||((u=a[d]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,i,h,r))||t.addEventListener&&t.addEventListener(d,r),c.add&&(c.add.call(t,p),p.handler.guid||(p.handler.guid=n.guid)),o?u.splice(u.delegateCount++,0,p):u.push(p),C.event.global[d]=!0)},remove:function(e,t,n,i,o){var s,r,a,l,c,u,d,h,p,f,g,m=v.hasData(e)&&v.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(S)||[""]).length;c--;)if(p=g=(a=Ae.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=C.event.special[p]||{},h=l[p=(i?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=h.length;s--;)u=h[s],!o&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(s,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));r&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,m.handle)||C.removeEvent(e,p,m.handle),delete l[p])}else for(p in l)C.event.remove(e,p+t[c],n,i,!0);C.isEmptyObject(l)&&v.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,s,r=C.event.fix(e),a=new Array(arguments.length),e=(v.get(this,"events")||{})[r.type]||[],l=C.event.special[r.type]||{};for(a[0]=r,t=1;t<arguments.length;t++)a[t]=arguments[t];if(r.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,r)){for(s=C.event.handlers.call(this,r,e),t=0;(i=s[t++])&&!r.isPropagationStopped();)for(r.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!r.isImmediatePropagationStopped();
vendor: 3,307 bytes, line 1
1)r.rnamespace&&!r.rnamespace.test(o.namespace)||(r.handleObj=o,r.data=o.data,void 0!==(o=((C.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(r.result=o)&&(r.preventDefault(),r.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,r),r.result}},handlers:function(e,t){var n,i,o,s,r,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(s=[],r={},n=0;n<l;n++)void 0===r[o=(i=t[n]).selector+" "]&&(r[o]=i.needsContext?-1<C(o,this).index(c):C.find(o,this,null,[c]).length),r[o]&&s.push(i);s.length&&a.push({elem:c,handlers:s})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(t,e){Object.defineProperty(C.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[C.expando]?e:new C.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Pe()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Pe()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&l(this,"input"))return this.click(),!1},_default:function(e){return l(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},C.Event=function(e,t){if(!(this instanceof C.Event))return new C.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:k,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},C.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(e){var t=e.button;return null==e.which&&Ee.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&$e.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},C.event.addProp),C.each({mouseenter:"mouseover",mouseleave:"mou
1seout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){C.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||C.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=o),t}}}),C.fn.extend({on:function(e,t,n,i){return je(this,e,t,n,i)},one:function(e,t,n,i){return je(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)i=e.handleObj,C(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler);else{if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=k),this.each(function(){C.event.remove(this,e,n,t)});for(o in e)this.off(o,t,e[o])}return this}});var Me=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Oe=/<script|<style|<link/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,Ie=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function qe(e,t){return l(e,"table")&&l(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function Re(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Fe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function ze(e,t){var n,i,o,s,r,a;if(1===t.nodeType){if(v.hasData(e)&&(s=v.access(e),r=v.set(t,s),a=s.events))for(o in delete r.handle,r.events={},a)for(n=0,i=a[o].length;n<i;n++)C.event.add(t,o,a[o][n]);c.hasData(e)&&(s=c.access(e),r=C.extend({},s),c.set(t,r))}}function E(n,i,o,s){i=q.apply([],i);var e,t,r,a,l,c,u=0,d=n.length,h=d-1,p=i[0],f=y(p);if(f||1<d&&"string"==typeof p&&!m.checkClone&&Le.test(p))return n.each(function(e){var t=n.eq(e);f&&(i[0]=p.call(this,e,t.html())),E(t,i,o,s)});if(d&&(t=(e=De(i,n[0].ownerDocument,!1,n,s)).firstChild,1===e.childNodes.length&&(e=t),t||s)){for(a=(r=C.map(D(e,"script"),Re)).length;u<d;u++)l=e,u!==h&&(l=C.clone(l,!0,!0),a)&&C.merge(r,D(l,"script")),o.call(n[u],l,u);if(a)for(c=r[r.length-1].ownerDocument,C.map(r,Fe),u=0;u<a;u++)l=r[u],Ce.test(l.type||"")&&!v.access(l,"globalEval")&&C.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?C._evalUrl&&C._evalUrl(l.src):Y(l.textContent.replace(Ie,""),c,l))}return n}function He(e,t,n){for(var i,o=t?C.filter(t,e):e,s=0;null!=(i=o[s]);s++)n||1!==i.nodeType||C.cleanData(D(i)),i.parentNode&&(n&&C.contains(i.ownerDocument,i)&&Se(D(i,"script")),i.parentNode.removeChild(i));return e}C.extend({htmlPrefilter:function(e){return e.replace(Me,"<$1></$2>")},clone:function(e,t,n){var i,o,s,r,a,l,c,u=e.cloneNode(!0),d=C.contains(e.ownerDocument,e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(r=D(u),i=0,o=(s=D(e)).length;i<o;i++)a=s[i],l=r[i],c=void 0,"input"===(c=l.nodeName.toLowerCase())&&_e.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(t)if(n)for(s=s||D(e),r=r||D(u),i=0,o=s.length;i<o;i++)ze(s[i],r[i]);else ze(e,u);return 0<(r=D(u,"script")).length&&Se(r,!d&&D(e,"script")),u},cleanData:function(e){for(var t,n,i,o=C.event.special,s=0;void 0!==(n=e[s]);
vendor: 4,702 bytes, line 1
1s++)if(pe(n)){if(t=n[v.expando]){if(t.events)for(i in t.events)o[i]?C.event.remove(n,i):C.removeEvent(n,i,t.handle);n[v.expando]=void 0}n[c.expando]&&(n[c.expando]=void 0)}}}),C.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return d(this,function(e){return void 0===e?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return E(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||qe(this,e).appendChild(e)})},prepend:function(){return E(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=qe(this,e)).insertBefore(e,t.firstChild)})},before:function(){return E(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return E(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(D(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return C.clone(this,e,t)})},html:function(e){return d(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!T[(xe.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(C.cleanData(D(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return E(this,arguments,function(e){var t=this.parentNode;C.inArray(this,n)<0&&(C.cleanData(D(this)),t)&&t.replaceChild(e,this)},n)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,r){C.fn[e]=function(e){for(var t,n=[],i=C(e),o=i.length-1,s=0;s<=o;s++)t=s===o?this:this.clone(!0),C(i[s])[r](t),R.apply(n,t.get());return this.pushStack(n)}});function Ue(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:_).getComputedStyle(e)}var Be,We,Ve,Ye,Qe,Xe,o,Ge=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),Ze=new RegExp(p.join("|"),"i");function s(){var e;o&&(Xe.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",o.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ke.appendChild(Xe).appendChild(o),e=_.getComputedStyle(o),Be="1%"!==e.top,Qe=12===Ke(e.marginLeft),o.style.right="60%",Ye=36===Ke(e.right),We=36===Ke(e.width),o.style.position="absolute",Ve=36===o.offsetWidth||"absolute",ke.removeChild(Xe),o=null)}function Ke(e){return Math.round(parseFloat(e))}function $(e,t,n){var i,o,s=e.style;return(n=n||Ue(e))&&(""!==(o=n.getPropertyValue(t)||n[t])||C.contains(e.ownerDocument,e)||(o=C.style(e,t)),!m.pixelBoxStyles())&&Ge.test(o)&&Ze.test(t)&&(e=s.width,t=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=e,s.minWidth=t,s.maxWidth=i),void 0!==o?o+"":o}function Je(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}Xe=x.createElement("div"),(o=x.createElement("div")).style&&(o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===o.style.backgroundClip,C.extend(m,{boxSizingReliable:function(){return s(),We},pixelBoxStyles:function(){return s(),Ye},pixelPosition:function(){return s(),Be},reliableMarginLeft:function(){return s(),Qe},scrollboxSize:function(){return s(),Ve}}));var et=/^(none|table(?!-c[ea]).+)/,tt=/^--/,nt={position:"absolute",visibility:"hidden",display:"block"},it={letterSpacing:"0",fontWeight:"400"},ot=["Webkit","Moz","ms"],st=x.createElement("div").style;function rt(e){return C.cssProps[e]||(C.cssProps[e]=function(e){if(e in st)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=ot.length;n--;)if((e=ot[n]+t)in st)return e}(e)||e)}function at(e,t,n){var i=h.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function lt(e,t,n,i,o,s){var r="width"===t?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;r<4;r+=2)"margin"===n&&(l+=C.css(e,n+p[r],!0,o)),i?("content"===n&&(l-=C.css(e,"padding"+p[r],!0,o)),"margin"!==n&&(l-=C.css(e,"border"+p[r]+"Width",!0,o))):(l+=C.css(e,"padding"+p[r],!0,o),"padding"!==n?l+=C.css(e,"border"+p[r]+"Width",!0,o):a+=C.css(e,"border"+p[r]+"Width",!0,o));return!i&&0<=s&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-a-.5))),l}function ct(e,t,n){var i=Ue(e),o=$(e,t,i),s="border-box"===C.css(e,"boxSizing",!1,i),r
1=s;if(Ge.test(o)){if(!n)return o;o="auto"}return r=r&&(m.boxSizingReliable()||o===e.style[t]),"auto"!==o&&(parseFloat(o)||"inline"!==C.css(e,"display",!1,i))||(o=e["offset"+t[0].toUpperCase()+t.slice(1)],r=!0),(o=parseFloat(o)||0)+lt(e,t,n||(s?"border":"content"),r,i,o)+"px"}function r(e,t,n,i,o){return new r.prototype.init(e,t,n,i,o)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=$(e,"opacity"))?"1":t}}},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(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,s,r,a=b(t),l=tt.test(t),c=e.style;if(l||(t=rt(a)),r=C.cssHooks[t]||C.cssHooks[a],void 0===n)return r&&"get"in r&&void 0!==(o=r.get(e,!1,i))?o:c[t];"string"===(s=typeof n)&&(o=h.exec(n))&&o[1]&&(n=be(e,t,o),s="number"),null==n||n!=n||("number"===s&&(n+=o&&o[3]||(C.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),r&&"set"in r&&void 0===(n=r.set(e,n,i)))||(l?c.setProperty(t,n):c[t]=n)}},css:function(e,t,n,i){var o,s=b(t);return tt.test(t)||(t=rt(s)),"normal"===(o=void 0===(o=(s=C.cssHooks[t]||C.cssHooks[s])&&"get"in s?s.get(e,!0,n):o)?$(e,t,i):o)&&t in it&&(o=it[t]),(""===n||n)&&(s=parseFloat(o),!0===n||isFinite(s))?s||0:o}}),C.each(["height","width"],function(e,s){C.cssHooks[s]={get:function(e,t,n){if(t)return!et.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,s,n):ye(e,nt,function(){return ct(e,s,n)})},set:function(e,t,n){var i=Ue(e),o="border-box"===C.css(e,"boxSizing",!1,i),n=n&<(e,s,n,o,i);return o&&m.scrollboxSize()===i.position&&(n-=Math.ceil(e["offset"+s[0].toUpperCase()+s.slice(1)]-parseFloat(i[s])-lt(e,s,"border",!1,i)-.5)),n&&(o=h.exec(t))&&"px"!==(o[3]||"px")&&(e.style[s]=t,t=C.css(e,s)),at(0,t,n)}}}),C.cssHooks.marginLeft=Je(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat($(e,"marginLeft"))||e.getBoundingClientRect().left-ye(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(o,s){C.cssHooks[o+s]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[o+p[t]+s]=i[t]||i[t-2]||i[0];return n}}
vendor: 4,290 bytes, line 1
1,"margin"!==o&&(C.cssHooks[o+s].set=at)}),C.fn.extend({css:function(e,t){return d(this,function(e,t,n){var i,o,s={},r=0;if(Array.isArray(t)){for(i=Ue(e),o=t.length;r<o;r++)s[t[r]]=C.css(e,t[r],!1,i);return s}return void 0!==n?C.style(e,t,n):C.css(e,t)},e,t,1<arguments.length)}}),((C.Tween=r).prototype={constructor:r,init:function(e,t,n,i,o,s){this.elem=e,this.prop=n,this.easing=o||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=s||(C.cssNumber[n]?"":"px")},cur:function(){var e=r.propHooks[this.prop];return(e&&e.get?e:r.propHooks._default).get(this)},run:function(e){var t,n=r.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:r.propHooks._default).set(this),this}}).init.prototype=r.prototype,(r.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=C.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[C.cssProps[e.prop]]&&!C.cssHooks[e.prop]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=r.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=r.prototype.init,C.fx.step={};var A,ut,N,dt=/^(?:toggle|show|hide)$/,ht=/queueHooks$/;function pt(){ut&&(!1===x.hidden&&_.requestAnimationFrame?_.requestAnimationFrame(pt):_.setTimeout(pt,C.fx.interval),C.fx.tick())}function ft(){return _.setTimeout(function(){A=void 0}),A=Date.now()}function gt(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=p[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function mt(e,t,n){for(var i,o=(P.tweeners[t]||[]).concat(P.tweeners["*"]),s=0,r=o.length;s<r;s++)if(i=o[s].call(n,t,e))return i}function P(o,e,t){var n,s,i,r,a,l,c,u=0,d=P.prefilters.length,h=C.Deferred().always(function(){delete p.elem}),p=function(){if(!s){for(var e=A||ft(),e=Math.max(0,f.startTime+f.duration-e),t=1-(e/f.duration||0),n=0,i=f.tweens.length;n<i;n++)f.tweens[n].run(t);if(h.notifyWith(o,[f,t,e]),t<1&&i)return e;i||h.notifyWith(o,[f,1,0]),h.resolveWith(o,[f])}return!1},f=h.promise({elem:o,props:C.extend({},e),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},t),originalProperties:e,originalOptions:t,startTime:A||ft(),duration:t.duration,tweens:[],createTween:function(e,t){t=C.Tween(o,f.opts,e,t,f.opts.specialEasing[e]||f.opts.easing);return f.tweens.push(t),t},stop:function(e){var t=0,n=e?f.tweens.length:0;if(!s){for(s=!0;t<n;t++)f.tweens[t].run(1);e?(h.notifyWith(o,[f,1,0]),h.resolveWith(o,[f,e])):h.rejectWith(o,[f,e])}return this}}),g=f.props,m=g,v=f.opts.specialEasing;for(i in m)if(a=v[r=b(i)],l=m[i],Array.isArray(l)&&(a=l[1],l=m[i]=l[0]),i!==r&&(m[r]=l,delete m[i]),(c=C.cssHooks[r])&&"expand"in c)for(i in l=c.expand(l),delete m[r],l)i in m||(m[i]=l[i],v[i]=a);else v[r]=a;for(;u<d;u++)if(n=P.prefilters[u].call(f,o,g,f.opts))return y(n.stop)&&(C._queueHooks(f.elem,f.opts.queue).stop=n.stop.bind(n)),n;return C.map(g,mt,f),y(f.opts.start)&&f.opts.start.call(o,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),C.fx.timer(C.extend(p,{elem:o,anim:f,queue:f.opts.queue})),f}C.Animation=C.extend(P,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return be(n.elem,e,h.exec(t),n),n}]},tweener:function(e,t){for(var n,i=0,o=(e=y(e)?(t=e,["*"]):e.match(S)).length;i<o;i++)n=e[i],P.tweeners[n]=P.tweeners[n]||[],P.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,o,s,r,a,l,c,u="width"in t||"height"in t,d=this,h={},p=e.style,f=e.nodeType&&ve(e),g=v.get(e,"fxshow");for(i in n.queue||(null==(r=C._queueHooks(e,"fx")).unqueued&&(r.unqueued=0,a=r.empty.fire,r.empty.fire=function(){r.unqueued||a()}),r.unqueued++,d.always(function(){d.always(function(){r.unqueued--,C.queue(e,"fx").length||r.empty.fire()})})),t)if(o=t[i],dt.test(o)){if(delete t[i],s=s||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||
vendor: 21,081 bytes, line 1
1!g||void 0===g[i])continue;f=!0}h[i]=g&&g[i]||C.style(e,i)}if((l=!C.isEmptyObject(t))||!C.isEmptyObject(h))for(i in u&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=g&&g.display)&&(c=v.get(e,"display")),"none"===(u=C.css(e,"display"))&&(c?u=c:(w([e],!0),c=e.style.display||c,u=C.css(e,"display"),w([e]))),"inline"===u||"inline-block"===u&&null!=c)&&"none"===C.css(e,"float")&&(l||(d.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block"),n.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,h)l||(g?"hidden"in g&&(f=g.hidden):g=v.access(e,"fxshow",{display:c}),s&&(g.hidden=!f),f&&w([e],!0),d.done(function(){for(i in f||w([e]),v.remove(e,"fxshow"),h)C.style(e,i,h[i])})),l=mt(f?g[i]:0,i,d),i in g||(g[i]=l.start,f&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?P.prefilters.unshift(e):P.prefilters.push(e)}}),C.speed=function(e,t,n){var i=e&&"object"==typeof e?C.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return C.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in C.fx.speeds?i.duration=C.fx.speeds[i.duration]:i.duration=C.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&&C.dequeue(this,i.queue)},i},C.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ve).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){function o(){var e=P(this,C.extend({},t),r);(s||v.get(this,"finish"))&&e.stop(!0)}var s=C.isEmptyObject(t),r=C.speed(e,n,i);return o.finish=o,s||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(o,e,s){function r(e){var t=e.stop;delete e.stop,t(s)}return"string"!=typeof o&&(s=e,e=o,o=void 0),e&&!1!==o&&this.queue(o||"fx",[]),this.each(function(){var e=!0,t=null!=o&&o+"queueHooks",n=C.timers,i=v.get(this);if(t)i[t]&&i[t].stop&&r(i[t]);else for(t in i)i[t]&&i[t].stop&&ht.test(t)&&r(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=o&&n[t].queue!==o||(n[t].anim.stop(s),e=!1,n.splice(t,1));!e&&s||C.dequeue(this,o)})},finish:function(r){return!1!==r&&(r=r||"fx"),this.each(function(){var e,t=v.get(this),n=t[r+"queue"],i=t[r+"queueHooks"],o=C.timers,s=n?n.length:0;for(t.finish=!0,C.queue(this,r,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===r&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),C.each(["toggle","show","hide"],function(e,i){var o=C.fn[i];C.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?o.apply(this,arguments):this.animate(gt(i,!0),e,t,n)}}),C.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){C.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),C.timers=[],C.fx.tick=function(){var e,t=0,n=C.timers;for(A=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||C.fx.stop(),A=void 0},C.fx.timer=function(e){C.timers.push(e),C.fx.start()},C.fx.interval=13,C.fx.start=function(){ut||(ut=!0,pt())},C.fx.stop=function(){ut=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(i,e){return i=C.fx&&C.fx.speeds[i]||i,this.queue(e=e||"fx",function(e,t){var n=_.setTimeout(e,i);t.stop=function(){_.clearTimeout(n)}})},N=x.createElement("input"),t=x.createElement("select").appendChild(x.createElement("option")),N.type="checkbox",m.checkOn=""!==N.value,m.optSelected=t.selected,(N=x.createElement("input")).value="t",N.type="radio",m.radioValue="t"===N.value;var vt,j=C.expr.attrHandle,yt=(C.fn.extend({attr:function(e,t){return d(this,C.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){C.removeAttr(this,e)})}}),C.extend({attr:function(e,t,n){var i,o,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?C.prop(e,t,n):(1===s&&C.isXMLDoc(e)||(o=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?vt:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):!(o&&"get"in o&&null!==(i=o.get(e,t)))&&null==(i=C.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){var n;if(!m.radioValue&&"radio"===t&&l(e,"input"))return n=e.value,e.setAttribute("type",t),n&&(e.value=n),t}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(S);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),vt={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(e,t){var r=j[t]||C.find.attr;j[t]=function(e,t,n){var i,o,s=t.toLowerCase();return n||(o=j[s],j[s]=i,i=null!=r(e,t,n)?s:null,j[s]=o),i}}),/^(?:input|select|textarea|button)$/i),bt=/^(?:a|area)$/i;function M(e){return(e.match(S)||[]).join(" ")}function O(e){return e.getAttribute&&e.getAttribute("class")||""}function wt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(S)||[]}C.fn.extend({prop:function(e,t){return d(this,C.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[C.propFix[e]||e]})}}),C.extend({prop:function(e,t,n){var i,o,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&C.isXMLDoc(e)||(t=C.propFix[t]||t,o=C.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):yt.test(e.nodeName)||bt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(C.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode)&&e.parentNode.selectedIndex}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(t){var e,n,i,o,s,r,a=0;if(y(t))return this.each(function(e){C(this).addClass(t.call(this,e,O(this)))});if((e=wt(t)).length)for(;n=this[a++];)if(r=O(n),i=1===n.nodeType&&" "+M(r)+" "){for(s=0;o=e[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(r=M(i))&&n.setAttribute("class",r)}return this},removeClass:function(t){var e,n,i,o,s,r,a=0;if(y(t))return this.each(function(e){C(this).removeClass(t.call(this,e,O(this)))});if(!arguments.length)return this.attr("class","");if((e=wt(t)).length)for(;n=this[a++];)if(r=O(n),i=1===n.nodeType&&" "+M(r)+" "){for(s=0;o=e[s++];)for(;-1<i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");r!==(r=M(i))&&n.setAttribute("class",r)}return this},toggleClass:function(o,t){var s=typeof o,r="string"==s||Array.isArray(o);return"boolean"==typeof t&&r?t?this.addClass(o):this.removeClass(o):y(o)?this.each(function(e){C(this).toggleClass(o.call(this,e,O(this),t),t)}):this.each(function(){var e,t,n,i;if(r)for(t=0,n=C(this),i=wt(o);e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==o&&"boolean"!=s||((e=O(this))&&v.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==o&&v.get(this,"__className__")||""))})},hasClass:function(e){for(var t,n=0,i=" "+e+" ";t=this[n++];)if(1===t.nodeType&&-1<(" "+M(O(t))+" ").indexOf(i))return!0;return!1}});function _t(e){e.stopPropagation()}var xt=/\r/g,Ct=(C.fn.extend({val:function(t){var n,e,i,o=this[0];return arguments.length?(i=y(t),this.each(function(e){1!==this.nodeType||(null==(e=i?t.call(this,e,C(this).val()):t)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=C.map(e,function(e){return null==e?"":e+""})),(n=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value"))||(this.value=e)})):o?(n=C.valHooks[o.type]||C.valHooks[o.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(o,"value"))?e:"string"==typeof(e=o.value)?e.replace(xt,""):null==e?"":e:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:M(C.text(e))}},select:{get:function(e){for(var t,n=e.options,i=e.selectedIndex,o="select-one"===e.type,s=o?null:[],r=o?i+1:n.length,a=i<0?r:o?i:0;a<r;a++)if(((t=n[a]).selected||a===i)&&!t.disabled&&(!t.parentNode.disabled||!l(t.parentNode,"optgroup"))){if(t=C(t).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,i,o=e.options,s=C.makeArray(t),r=o.length;r--;)((i=o[r]).selected=-1<C.inArray(C.valHooks.option.get(i),s))&&(n=!0);return n||(e.selectedIndex=-1),s}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<C.inArray(C(e).val(),t)}},m.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),m.focusin="onfocusin"in _,/^(?:focusinfocus|focusoutblur)$/),St=(C.extend(C.event,{trigger:function(e,t,n,i){var o,s,r,a,l,c,u,d=[n||x],h=U.call(e,"type")?e.type:e,p=U.call(e,"namespace")?e.namespace.split("."):[],f=u=s=n=n||x;if(3!==n.nodeType&&8!==n.nodeType&&!Ct.test(h+C.event.triggered)&&(-1<h.indexOf(".")&&(h=(p=h.split(".")).shift(),p.sort()),a=h.indexOf(":")<0&&"on"+h,(e=e[C.expando]?e:new C.Event(h,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:C.makeArray(t,[e]),c=C.event.special[h]||{},i||!c.trigger||!1!==c.trigger.apply(n,t))){if(!i&&!c.noBubble&&!g(n)){for(r=c.delegateType||h,Ct.test(r+h)||(f=f.parentNode);f;f=f.parentNode)d.push(f),s=f;s===(n.ownerDocument||x)&&d.push(s.defaultView||s.parentWindow||_)}for(o=0;(f=d[o++])&&!e.isPropagationStopped();)u=f,e.type=1<o?r:c.bindType||h,(l=(v.get(f,"events")||{})[e.type]&&v.get(f,"handle"))&&l.apply(f,t),(l=a&&f[a])&&l.apply&&pe(f)&&(e.result=l.apply(f,t),!1===e.result)&&e.preventDefault();return e.type=h,i||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),t)||!pe(n)||a&&y(n[h])&&!g(n)&&((s=n[a])&&(n[a]=null),C.event.triggered=h,e.isPropagationStopped()&&u.addEventListener(h,_t),n[h](),e.isPropagationStopped()&&u.removeEventListener(h,_t),C.event.triggered=void 0,s)&&(n[a]=s),e.result}},simulate:function(e,t,n){n=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(n,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each(function(){C.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}}),m.focusin||C.each({focus:"focusin",blur:"focusout"},function(n,i){function o(e){C.event.simulate(i,e.target,C.event.fix(e))}C.event.special[i]={setup:function(){var e=this.ownerDocument||this,t=v.access(e,i);t||e.addEventListener(n,o,!0),v.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=v.access(e,i)-1;t?v.access(e,i,t):(e.removeEventListener(n,o,!0),v.remove(e,i))}}}),_.location),Tt=Date.now(),Dt=/\?/,kt=(C.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new _.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+e),t},/\[\]$/),Et=/\r?\n/g,$t=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;C.param=function(e,t){function n(e,t){t=y(t)?t():t,o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==t?"":t)}var i,o=[];if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,function(){n(this.name,this.value)});else for(i in e)!function n(i,e,o,s){if(Array.isArray(e))C.each(e,function(e,t){o||kt.test(i)?s(i,t):n(i+"["+("object"==typeof t&&null!=t?e:"")+"]",t,o,s)});else if(o||"object"!==f(e))s(i,e);else for(var t in e)n(i+"["+t+"]",e[t],o,s)}(i,e[i],t,n);return o.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&At.test(this.nodeName)&&!$t.test(e)&&(this.checked||!_e.test(e))}).map(function(e,t){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,function(e){return{name:t.name,value:e.replace(Et,"\r\n")}}):{name:t.name,value:n.replace(Et,"\r\n")}}).get()}});var Nt=/%20/g,Pt=/#.*$/,jt=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ot=/^(?:GET|HEAD)$/,Lt=/^\/\//,It={},qt={},Rt="*/".concat("*"),Ft=x.createElement("a");function zt(s){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,o=e.toLowerCase().match(S)||[];if(y(t))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(s[n]=s[n]||[]).unshift(t)):(s[n]=s[n]||[]).push(t)}}function Ht(t,i,o,s){var r={},a=t===qt;function l(e){var n;return r[e]=!0,C.each(t[e]||[],function(e,t){t=t(i,o,s);return"string"!=typeof t||a||r[t]?a?!(n=t):void 0:(i.dataTypes.unshift(t),l(t),!1)}),n}return l(i.dataTypes[0])||!r["*"]&&l("*")}function Ut(e,t){var n,i,o=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i=i||{})[n]=t[n]);return i&&C.extend(!0,e,i),e}Ft.href=St.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Rt,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":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,C.ajaxSettings),t):Ut(C.ajaxSettings,e)},ajaxPrefilter:zt(It),ajaxTransport:zt(qt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,c,u,n,d,h,p,i,f=C.ajaxSetup({},t=t||{}),g=f.context||f,m=f.context&&(g.nodeType||g.jquery)?C(g):C.event,v=C.Deferred(),y=C.Callbacks("once memory"),b=f.statusCode||{},o={},s={},r="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n)for(n={};t=Mt.exec(u);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return h?u:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,o[e]=t),this},overrideMimeType:function(e){return null==h&&(f.mimeType=e),this},statusCode:function(e){if(e)if(h)w.always(e[w.status]);else for(var t in e)b[t]=[b[t],e[t]];return this},abort:function(e){e=e||r;return l&&l.abort(e),a(0,e),this}};if(v.promise(w),f.url=((e||f.url||St.href)+"").replace(Lt,St.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(S)||[""],null==f.crossDomain){e=x.createElement("a");try{e.href=f.url,e.href=e.href,f.crossDomain=Ft.protocol+"//"+Ft.host!=e.protocol+"//"+e.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=C.param(f.data,f.traditional)),Ht(It,f,t,w),!h){for(i in(p=C.event&&f.global)&&0==C.active++&&C.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Ot.test(f.type),c=f.url.replace(Pt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Nt,"+")):(e=f.url.slice(c.length),f.data&&(f.processData||"string"==typeof f.data)&&(c+=(Dt.test(c)?"&":"?")+f.data,delete f.data),!1===f.cache&&(c=c.replace(jt,"$1"),e=(Dt.test(c)?"&":"?")+"_="+Tt+++e),f.url=c+e),f.ifModified&&(C.lastModified[c]&&w.setRequestHeader("If-Modified-Since",C.lastModified[c]),C.etag[c])&&w.setRequestHeader("If-None-Match",C.etag[c]),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&w.setRequestHeader("Content-Type",f.contentType),w.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Rt+"; q=0.01":""):f.accepts["*"]),f.headers)w.setRequestHeader(i,f.headers[i]);if(f.beforeSend&&(!1===f.beforeSend.call(g,w,f)||h))return w.abort();if(r="abort",y.add(f.complete),w.done(f.success),w.fail(f.error),l=Ht(qt,f,t,w)){if(w.readyState=1,p&&m.trigger("ajaxSend",[w,f]),h)return w;f.async&&0<f.timeout&&(d=_.setTimeout(function(){w.abort("timeout")},f.timeout));try{h=!1,l.send(o,a)}catch(e){if(h)throw e;a(-1,e)}}else a(-1,"No Transport")}return w;function a(e,t,n,i){var o,s,r,a=t;h||(h=!0,d&&_.clearTimeout(d),l=void 0,u=i||"",w.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(r=function(e,t,n){for(var i,o,s,r,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.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)s=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){s=o;break}r=r||o}s=s||r}if(s)return s!==l[0]&&l.unshift(s),n[s]}(f,w,n)),r=function(e,t,n,i){var o,s,r,a,l,c={},u=e.dataTypes.slice();if(u[1])for(r in e.converters)c[r.toLowerCase()]=e.converters[r];for(s=u.shift();s;)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(r=c[l+" "+s]||c["* "+s]))for(o in c)if((a=o.split(" "))[1]===s&&(r=c[l+" "+a[0]]||c["* "+a[0]])){!0===r?r=c[o]:!0!==c[o]&&(s=a[0],u.unshift(a[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}(f,r,w,i),i?(f.ifModified&&((n=w.getResponseHeader("Last-Modified"))&&(C.lastModified[c]=n),n=w.getResponseHeader("etag"))&&(C.etag[c]=n),204===e||"HEAD"===f.type?a="nocontent":304===e?a="notmodified":(a=r.state,o=r.data,i=!(s=r.error))):(s=a,!e&&a||(a="error",e<0&&(e=0))),w.status=e,w.statusText=(t||a)+"",i?v.resolveWith(g,[o,a,w]):v.rejectWith(g,[w,a,s]),w.statusCode(b),b=void 0,p&&m.trigger(i?"ajaxSuccess":"ajaxError",[w,f,i?o:s]),y.fireWith(g,[w,a]),p&&(m.trigger("ajaxComplete",[w,f]),--C.active||C.event.trigger("ajaxStop")))}},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],function(e,o){C[o]=function(e,t,n,i){return y(t)&&(i=i||n,n=t,t=void 0),C.ajax(C.extend({url:e,type:o,dataType:i,data:t,success:n},C.isPlainObject(e)&&e))}}),C._evalUrl=function(e){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},C.fn.extend({wrapAll:function(e){return this[0]&&(y(e)&&(e=e.call(this[0])),e=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return y(n)?this.each(function(e){C(this).wrapInner(n.call(this,e))}):this.each(function(){var e=C(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=y(t);return this.each(function(e){C(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new _.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},Wt=C.ajaxSettings.xhr(),Vt=(m.cors=!!Wt&&"withCredentials"in Wt,m.ajax=Wt=!!Wt,C.ajaxTransport(function(o){var s,r;if(m.cors||Wt&&!o.crossDomain)return{send:function(e,t){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||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);s=function(e){return function(){s&&(s=r=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!=typeof i.status?t(0,"error"):t(i.status,i.statusText):t(Bt[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=s(),r=i.onerror=i.ontimeout=s("error"),void 0!==i.onabort?i.onabort=r:i.onreadystatechange=function(){4===i.readyState&&_.setTimeout(function(){s&&r()})},s=s("abort");try{i.send(o.hasContent&&o.data||null)}catch(e){if(s)throw e}},abort:function(){s&&s()}}}),C.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),C.ajaxTransport("script",function(n){var i,o;if(n.crossDomain)return{send:function(e,t){i=C("<script>
1").prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(e){i.remove(),o=null,e&&t("error"===e.type?404:200,e.type)}),x.head.appendChild(i[0])},abort:function(){o&&o()}}}),[]),Yt=/(=)\?(?=&|$)|\?\?/,Qt=(C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Vt.pop()||C.expando+"_"+Tt++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",function(e,t,n){var i,o,s,r=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(r||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,r?e[r]=e[r].replace(Yt,"$1"+i):!1!==e.jsonp&&(e.url+=(Dt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return s||C.error(i+" was not called"),s[0]},e.dataTypes[0]="json",o=_[i],_[i]=function(){s=arguments},n.always(function(){void 0===o?C(_).removeProp(i):_[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,Vt.push(i)),s&&y(o)&&o(s[0]),s=o=void 0}),"script"}),m.createHTMLDocument=((e=x.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===e.childNodes.length),C.parseHTML=function(e,t,n){var i;return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((i=(t=x.implementation.createHTMLDocument("")).createElement("base")).href=x.location.href,t.head.appendChild(i)):t=x),i=!n&&[],(n=K.exec(e))?[t.createElement(n[1])]:(n=De([e],t,i),i&&i.length&&C(i).remove(),C.merge([],n.childNodes)))},C.fn.load=function(e,t,n){var i,o,s,r=this,a=e.indexOf(" ");return-1<a&&(i=M(e.slice(a)),e=e.slice(0,a)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<r.length&&C.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){s=arguments,r.html(i?C("<div>").append(C.parseHTML(e)).find(i):e)}).always(n&&function(e,t){r.each(function(){n.apply(this,s||[e.responseText,t,e])})}),this},C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){C.fn[t]=function(e){return this.on(t,e)}}),C.expr.pseudos.animated=function(t){return C.grep(C.timers,function(e){return t===e.elem}).length},C.offset={setOffset:function(e,t,n){var i,o,s,r,a=C.css(e,"position"),l=C(e),c={};"static"===a&&(e.style.position="relative"),s=l.offset(),i=C.css(e,"top"),r=C.css(e,"left"),a=("absolute"===a||"fixed"===a)&&-1<(i+r).indexOf("auto")?(o=(a=l.position()).top,a.left):(o=parseFloat(i)||0,parseFloat(r)||0),null!=(t=y(t)?t.call(e,n,C.extend({},s)):t).top&&(c.top=t.top-s.top+o),null!=t.left&&(c.left=t.left-s.left+a),"using"in t?t.using.call(e,c):l.css(c)}},C.fn.extend({offset:function(t){var e,n;return arguments.length?void 0===t?this:this.each(function(e){C.offset.setOffset(this,t,e)}):(n=this[0])?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],o={top:0,left:0};if("fixed"===C.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===C.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((o=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),o.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-C.css(i,"marginTop",!0),left:t.left-o.left-C.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||ke})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var s="pageYOffset"===o;C.fn[t]=function(e){return d(this,function(e,t,n){var i;if(g(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===n)return i?i[o]:e[t];i?i.scrollTo(s?i.pageXOffset:n,s?n:i.pageYOffset):e[t]=n},t,e,arguments.length)}}),C.each(["top","left"],function(e,n){C.cssHooks[n]=Je(m.pixelPosition,function(e,t){if(t)return t=$(e,n),Ge.test(t)?C(e).position()[n]+"px":t})}),C.each({Height:"height",Width:"width"},function(r,a){C.each({padding:"inner"+r,content:a,"":"outer"+r},function(i,s){C.fn[s]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),o=i||(!0===e||!0===t?"margin":"border");return d(this,function(e,t,n){var i;return g(e)?0===s.indexOf("outer")?e["inner"+r]:e.document.documentElement["client"+r]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+r],i["scroll"+r],e.body["offset"+r],i["offset"+r],i["client"+r])):void 0===n?C.css(e,t,o):C.style(e,t,n,o)},a,n?e:void 0,n)}})}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){C.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),C.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),C.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),C.proxy=function(e,t){var n,i;if("string"==typeof t&&(i=e[t],t=e,e=i),y(e))return n=a.call(arguments,2),(i=function(){return e.apply(t||this,n.concat(a.call(arguments)))}).guid=e.guid=e.guid||C.guid++,i},C.holdReady=function(e){e?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=l,C.isFunction=y,C.isWindow=g,C.camel
1Case=b,C.type=f,C.now=Date.now,C.isNumeric=function(e){var t=C.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return C}),_.jQuery),Xt=_.$;return C.noConflict=function(e){return _.$===C&&(_.$=Xt),e&&_.jQuery===C&&(_.jQuery=Qt),C},L||(_.jQuery=_.$=C),C}),function(c,r,f,g){"use strict";var o,a,s,u,d,h,i,e;function n(e){var t=f(e.currentTarget),n=e.data?e.data.options:{},i=t.attr("data-fancybox")||"",o=0,s=[];e.isDefaultPrevented()||(e.preventDefault(),i?(o=(s=(s=n.selector?f(n.selector):e.data?e.data.items:[]).length?s.filter('[data-fancybox="'+i+'"]'):f('[data-fancybox="'+i+'"]')).index(t))<0&&(o=0):s=[t],f.fancybox.open(s,n,o))}f&&(f.fn.fancybox?"console"in c&&console.log("fancyBox already initialized"):(e={loop:!1,margin:[44,0],gutter:50,keyboard:!0,arrows:!0,infobar:!0,toolbar:!0,buttons:["slideShow","fullScreen","thumbs","share","close"],idleTime:3,smallBtn:"auto",protect:!1,modal:!1,image:{preload:"auto"},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen allowtransparency="true" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},defaultType:"image",animationEffect:"zoom",animationDuration:500,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption-wrap"><div class="fancybox-caption"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}<p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}"><svg viewBox="0 0 40 40"><path d="M20,23 L20,8 L20,23 L13,16 L20,23 L27,16 L20,23 M26,28 L13,28 L27,28 L14,28" /></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg viewBox="0 0 40 40"><path d="M 18,17 m-8,0 a 8,8 0 1,0 16,0 a 8,8 0 1,0 -16,0 M25,23 L31,29 L25,23" /></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg viewBox="0 0 40 40"><path d="M10,10 L30,30 M30,10 L10,30" /></svg></button>',smallBtn:'<button data-fancybox-close class="fancybox-close-small" title="{{CLOSE}}"></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><svg viewBox="0 0 40 40"><path d="M10,20 L30,20 L10,20 L18,28 L10,20 L18,12 L10,20"></path></svg></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><svg viewBox="0 0 40 40"><path d="M30,20 L10,20 L30,20 L22,28 L30,20 L22,12 L30,20"></path></svg></button>'},parentEl:"body",autoFocus:!1,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:4e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeClose:f.noop,afterClose:f.noop,onActivate:f.noop,onDeactivate:f.noop,clickContent:function(e,t){return"image"===e.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{idleTime:!1,margin:0,clickContent:function(e,t){return"image"===e.type&&"toggleControls"},clickSlide:function(e,t){return"image"===e.type?"toggleControls":"close"},dblclickContent:function(e,t){return"image"===e.type&&"zoom"},dblclickSlide:function(e,t){return"image"===e.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schliessen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/>
1 Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"MaÃstab"}}},o=f(c),a=f(r),s=0,u=c.requestAnimationFrame||c.webkitRequestAnimationFrame||c.mozRequestAnimationFrame||c.oRequestAnimationFrame||function(e){return c.setTimeout(e,1e3/60)},d=function(){var e,t=r.createElement("fakeelement"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in n)if(t.style[e]!==g)return n[e];return"transitionend"}(),h=function(e){return e&&e.length&&e[0].offsetHeight},f.extend((i=function(e,t,n){var i=this;i.opts=f.extend(!0,{index:n},f.fancybox.defaults,t||{}),f.fancybox.isMobile&&(i.opts=f.extend(!0,{},i.opts,i.opts.mobile)),t&&f.isArray(t.buttons)&&(i.opts.buttons=t.buttons),i.id=i.opts.id||++s,i.group=[],i.currIndex=parseInt(i.opts.index,10)||0,i.prevIndex=null,i.prevPos=null,i.currPos=0,i.firstRun=null,i.createGroup(e),i.group.length&&(i.$lastFocus=f(r.activeElement).blur(),i.slides={},i.init())}).prototype,{init:function(){var t,n,i=this,e=i.group[i.currIndex],o=e.opts,s=f.fancybox.scrollbarWidth;i.scrollTop=a.scrollTop(),i.scrollLeft=a.scrollLeft(),f.fancybox.getInstance()||(f("body").addClass("fancybox-active"),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!c.MSStream?"image"!==e.type&&f("body").css("top",-1*f("body").scrollTop()).addClass("fancybox-iosfix"):!f.fancybox.isMobile&&r.body.scrollHeight>c.innerHeight&&(s===g&&(e=f('<div style="width:50px;height:50px;overflow:scroll;" />').appendTo("body"),s=f.fancybox.scrollbarWidth=e[0].offsetWidth-e[0].clientWidth,e.remove()),f("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar { margin-right: '+s+"px; }</style>"),f("body").addClass("compensate-for-scrollbar"))),n="",f.each(o.buttons,function(e,t){n+=o.btnTpl[t]||""}),t=f(i.translate(i,o.baseTpl.replace("{{buttons}}",n).replace("{{arrows}}",o.btnTpl.arrowLeft+o.btnTpl.arrowRight))).attr("id","fancybox-container-"+i.id).addClass("fancybox-is-hidden").addClass(o.baseClass).data("FancyBox",i).appendTo(o.parentEl),i.$refs={container:t},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(e){i.$refs[e]=t.find(".fancybox-"+e)}),i.trigger("onInit"),i.activate(),i.jumpTo(i.currIndex)},translate:function(e,t){var n=e.opts.i18n[e.opts.lang];return t.replace(/\{\{(\w+)\}\}/g,function(e,t){t=n[t];return t===g?e:t})},createGroup:function(e){var r=this,e=f.makeArray(e);f.each(e,function(e,t){var n,i,o={},s={};f.isPlainObject(t)?s=(o=t).opts||t:"object"===f.type(t)&&f(t).length?(s=(n=f(t)).data(),(s=f.extend({},s,s.options||{})).$orig=n,o.src=s.src||n.attr("href"),o.type||o.src||(o.type="inline",o.src=t)):o={type:"html",src:t+""},o.opts=f.extend(!0,{},r.opts,s),f.isArray(s.buttons)&&(o.opts.buttons=s.buttons),n=o.type||o.opts.type,s=o.src||"",!n&&s&&(s.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?n="image":s.match(/\.(pdf)((\?|#).*)?$/i)?n="pdf":(i=s.match(/\.(mp4|mov|ogv)((\?|#).*)?$/i))?(n="video",o.opts.videoFormat||(o.opts.videoFormat="video/"+("ogv"===i[1]?"ogg":i[1]))):"#"===s.charAt(0)&&(n="inline")),n?o.type=n:r.trigger("objectNeedsType",o),o.index=r.group.length,o.opts.$orig&&!o.opts.$orig.length&&delete o.opts.$orig,!o.opts.$thumb&&o.opts.$orig&&(o.opts.$thumb=o.opts.$orig.find("img:first")),o.opts.$thumb&&!o.opts.$thumb.length&&delete o.opts.$thumb,"function"===f.type(o.opts.caption)&&(o.opts.caption=o.opts.caption.apply(t,[r,o])),"function"===f.type(r.opts.caption)&&(o.opts.caption=r.opts.caption.apply(t,[r,o])),o.opts.caption instanceof f||(o.opts.caption=o.opts.caption===g?"":o.opts.caption+""),"ajax"===n&&1<(i=s.split(/\s+/,2)).length&&(o.src=i.shift(),o.opts.filter=i.shift()),"auto"==o.opts.smallBtn&&(-1<f.inArray(n,["html","inline","ajax"])?(o.opts.toolbar=!1,o.opts.smallBtn=!0):o.opts.smallBtn=!1),"pdf"===n&&(o.type="iframe",o.opts.iframe.preload=!1),o.opts.modal&&(o.opts=f.extend(!0,o.opts,{infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),r.group.push(o)})},addEvents:function(){var i=this;i.removeEvents(),i.$refs.container.on("click.fb-close","[data-fancybox-close]",function(e){e.stopPropagation(),e.preventDefault(),i.close(e)}).on("click.fb-prev touchend.fb-prev","[data-fancybox-prev]",function(e){e.stopPropagation(),e.preventDefault(),i.previous()}).on("click.fb-next touchend.fb-next","[data-fancybox-next]",function(e){e.stopPropagation(),e.preventDefault(),i.next()}).on("click.fb","[data-fancybox-zoom]",function(e){i[i.isScaledDown()?"scaleToActual":"scaleToFit"]()}),o.on("orientationchange.fb resize.fb",function(e){e&&e.originalEvent&&"resize"===e.originalEvent.type?u(function(){i.update()}):(i.$refs.stage.hide(),setTimeout(function(){i.$refs.stage.show(),i.update()},600))}),a.on("focusin.fb",function(e){var t=f.fancybox?f.fancybox.getInstance():null;t.isClosing||!t.current||!t.current.opts.trapFocus||f(e.target).hasClass("fancybox-container")||f(e.target).is(r)||t&&"fixed"!==f(e.target).css("position")&&!t.$refs.container.has(e.target).length&&(e.stopPropagation(),t.focus(),o.scrollTop(i.scrollTop).scrollLeft(i.scrollLeft))}),a.on("keydown.fb",function(e){var t=i.current,n=e.keyCode||e.which;t&&t.opts.keyboard&&(f(e.target).is("input")||f(e.target).is("textarea")||(8===n||27===n?(e.preventDefault(),i.close(e)):37===n||38===n?(e.preventDefault(),i.previous()):39===n||40===n?(e.preventDefault(),i.next()):i.trigger("afterKeydown",e,n)))}),i.group[i.currIndex].opts.idleTime&&(i.idleSecondsCounter=0,a.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(e){i.idleSecondsCounter=0,i.isIdle&&i.showControls(),i.isIdle=!1}),i.idleInterval=c.setInterval(function(){i.idleSecondsCounter++,i.idleSecondsCounter>=i.group[i.currIndex].opts.idleTime&&!i.isDragging&&(i.isIdle=!0,i.idleSecondsCounter=0,i.hideControls())},1e3))},removeEvents:function(){o.off("orientationchange.fb resize.fb"),a.off("focusin.fb keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),this.idleInterval&&(c.clearInterval(this.idleInterval),this.idleInterval=null)},previous:function(e){return this.jumpTo(this.currPos-1,e)},next:function(e){return this.jumpTo(this.currPos+1,e)},jumpTo:function(e,i,t){var n,o,s,r,a,l,c=this,u=c.group.length;if(!(c.isDragging||c.isClosing||c.isAnimating&&c.firstRun)){if(e=parseInt(e,10),!(a=(c.current||c).opts.loop)&&(e<0||u<=e))return!1;n=c.firstRun=null===c.firstRun,u<2&&!n&&c.isDragging||(s=c.current,c.prevIndex=c.currIndex,c.prevPos=c.currPos,o=c.createSlide(e),1<u&&((a||0<o.index)&&c.createSlide(e-1),a||o.index<u-1)&&c.createSlide(e+1),c.current=o,c.currIndex=o.index,c.currPos=o.pos,c.trigger("beforeShow",n),c.updateControls(),a=f.fancybox.getTranslate(o.$slide),o.isMoved=(0!==a.left||0!==a.top)&&!o.$slide.hasClass("fancybox-animated"),o.forcedDuration=g,f.isNumeric(i)?o.forcedDuration=i:i=o.opts[n?"animationDuration":"transitionDuration"],i=parseInt(i,10),n?(o.opts.animationEffect&&i&&c.$refs.container.css("transition-duration",i+"ms"),c.$refs.container.removeClass("fancybox-is-hidden"),h(c.$refs.container),c.$refs.container.addClass("fancybox-is-open"),o.$slide.addClass("fancybox-slide--current"),c.loadSlide(o),c.preload("image")):(f.each(c.slides,function(e,t){f.fancybox.stop(t.$slide)}),o.$slide.removeClass("fancybox-slide--next fancybox-slide--previous").addClass("fancybox-slide--current"),o.isMoved?(r=Math.round(o.$slide.width()),f.each(c.slides,function(e,t){var n=t.pos-o.pos;f.fancybox.animate(t.$slide,{top:0,left:n*r+n*t.opts.gutter},i,function(){t.$slide.removeAttr("style").removeClass("fancybox-slide--next fancybox-slide--previous"),t.pos===c.currPos&&(o.isMoved=!1,c.complete())})})):c.$refs.stage.children().removeAttr("style"),o.isLoaded?c.revealContent(o):c.loadSlide(o),c.preload("image"),s.pos!==o.pos&&(l="fancybox-slide--"+(s.pos>o.pos?"next":"previous"),s.$slide.removeClass("fancybox-slide--complete fancybox-slide--current fancybox-slide--next fancybox-slide--previous"),s.isComplete=!1,i)&&(o.isMoved||o.opts.transitionEffect)&&(o.isMoved?s.$slide.addClass(l):(l="fancybox-animated "+l+" fancybox-fx-"+o.opts.transitionEffect,f.fancybox.animate(s.$slide,l,i,function(){s.$slide.removeClass(l).removeAttr("style")})))))}},createSlide:function(e){var t,n=this,i=e%n.group.length;return i=i<0?n.group.length+i:i,!n.slides[e]&&n.group[i]&&(t=f('<div class="fancybox-slide"></div>').appendTo(n.$refs.stage),n.slides[e]=f.extend(!0,{},n.group[i],{pos:e,$slide:t,isLoaded:!1}),n.updateSlide(n.slides[e])),n.slides[e]},scaleToActual:function(e,t,n){var i,o,s,r,a=this,l=a.current,c=l.$content,u=parseInt(l.$slide.width(),10),d=parseInt(l.$slide.height(),10),h=l.width,p=l.height;"image"!=l.type||l.hasError||!c||a.isAnimating||(f.fancybox.stop(c),a.isAnimating=!0,e=e===g?.5*u:e,t=t===g?.5*d:t,s=h/(l=f.fancybox.getTranslate(c)).width,r=p/l.height,i=.5*u-.5*h,o=.5*d-.5*p,u<h&&(i=0<(i=l.left*s-(e*s-e))?0:i)<u-h&&(i=u-h),d<p&&(o=0<(o=l.top*r-(t*r-t))?0:o)<d-p&&(o=d-p),a.updateCursor(h,p),f.fancybox.animate(c,{top:o,left:i,scaleX:s,scaleY:r},n||330,function(){a.isAnimating=!1}),a.SlideShow&&a.SlideShow.isActive&&a.SlideShow.stop())},scaleToFit:function(e){var t=this,n=t.current,i=n.$content;"image"!=n.type||n.hasError||!i||t.isAnimating||(f.fancybox.stop(i),t.isAnimating=!0,n=t.getFitPos(n),t.updateCursor(n.width,n.height),f.fancybox.animate(i,{top:n.top,left
1:n.left,scaleX:n.width/i.width(),scaleY:n.height/i.height()},e||330,function(){t.isAnimating=!1}))},getFitPos:function(e){var t,n,i=e.$content,o=e.width,s=e.height,e=e.opts.margin;return!(!i||!i.length||!o&&!s)&&(2==(e="number"===f.type(e)?[e,e]:e).length&&(e=[e[0],e[1],e[0],e[1]]),i=parseInt(this.$refs.stage.width(),10)-(e[1]+e[3]),t=parseInt(this.$refs.stage.height(),10)-(e[0]+e[2]),n=Math.min(1,i/o,t/s),o=Math.floor(n*o),n=Math.floor(n*s),{top:Math.floor(.5*(t-n))+e[0],left:Math.floor(.5*(i-o))+e[3],width:o,height:n})},update:function(){var n=this;f.each(n.slides,function(e,t){n.updateSlide(t)})},updateSlide:function(e,t){var n=this,i=e&&e.$content;i&&(e.width||e.height)&&(n.isAnimating=!1,f.fancybox.stop(i),f.fancybox.setTranslate(i,n.getFitPos(e)),e.pos===n.currPos)&&n.updateCursor(),e.$slide.trigger("refresh"),n.trigger("onUpdate",e)},centerSlide:function(e,t){var n,i;this.current&&(n=Math.round(e.$slide.width()),i=e.pos-this.current.pos,f.fancybox.animate(e.$slide,{top:0,left:i*n+i*e.opts.gutter,opacity:1},t===g?0:t,null,!1))},updateCursor:function(e,t){var n=this,i=n.$refs.container.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-drag fancybox-can-zoomOut");n.current&&!n.isClosing&&(n.isZoomable()?(i.addClass("fancybox-is-zoomable"),(e!==g&&t!==g?e<n.current.width&&t<n.current.height:n.isScaledDown())?i.addClass("fancybox-can-zoomIn"):n.current.opts.touch?i.addClass("fancybox-can-drag"):i.addClass("fancybox-can-zoomOut")):n.current.opts.touch&&i.addClass("fancybox-can-drag"))},isZoomable:function(){var e,t=this.current;if(t&&!this.isClosing)return!!("image"===t.type&&t.isLoaded&&!t.hasError&&("zoom"===t.opts.clickContent||f.isFunction(t.opts.clickContent)&&"zoom"===t.opts.clickContent(t))&&(e=this.getFitPos(t),t.width>e.width||t.height>e.height))},isScaledDown:function(){var e=this.current,t=e.$content,n=!1;return n=t?(n=f.fancybox.getTranslate(t)).width<e.width||n.height<e.height:n},canPan:function(){var e=this.current,t=e.$content,n=!1;return t&&(n=this.getFitPos(e),n=1<Math.abs(t.width()-n.width)||1<Math.abs(t.height()-n.height)),n},loadSlide:function(n){var e,t,i,o=this;if(!n.isLoading&&!n.isLoaded){switch(n.isLoading=!0,o.trigger("beforeLoad",n),e=n.type,(t=n.$slide).off("refresh").trigger("onReset").addClass("fancybox-slide--"+(e||"unknown")).addClass(n.opts.slideClass),e){case"image":o.setImage(n);break;case"iframe":o.setIframe(n);break;case"html":o.setContent(n,n.src||n.content);break;case"inline":f(n.src).length?o.setContent(n,f(n.src)):o.setError(n);break;case"ajax":o.showLoading(n),i=f.ajax(f.extend({},n.opts.ajax.settings,{url:n.src,success:function(e,t){"success"===t&&o.setContent(n,e)},error:function(e,t){e&&"abort"!==t&&o.setError(n)}})),t.one("onReset",function(){i.abort()});break;case"video":o.setContent(n,'<video controls><source src="'+n.src+'" type="'+n.opts.videoFormat+"\">Your browser doesn't support HTML5 video</video>");break;default:o.setError(n)}return!0}},setImage:function(e){var t,n,i,o,s=this,r=e.opts.srcset||e.opts.image.srcset;if(r){i=c.devicePixelRatio||1,o=c.innerWidth*i,(n=r.split(",").map(function(e){var i={};return e.trim().split(/\s+/).forEach(function(e,t){var n=parseInt(e.substring(0,e.length-1),10);if(0===t)return i.url=e;n&&(i.value=n,i.postfix=e[e.length-1])}),i})).sort(function(e,t){return e.value-t.value});for(var a=0;a<n.length;a++){var l=n[a];if("w"===l.postfix&&l.value>=o||"x"===l.postfix&&l.value>=i){t=l;break}}(t=!t&&n.length?n[n.length-1]:t)&&(e.src=t.url,e.width)&&e.height&&"w"==t.postfix&&(e.height=e.width/e.height*t.value,e.width=t.value)}e.$content=f('<div class="fancybox-image-wrap"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&(e.opts.thumb||e.opts.$thumb)?(e.width=e.opts.width,e.height=e.opts.height,e.$ghost=f("<img />").one("error",function(){f(this).remove(),e.$ghost=null,s.setBigImage(e)}).one("load",function(){s.afterLoad(e),s.setBigImage(e)}).addClass("fancybox-image").appendTo(e.$content).attr("src",e.opts.thumb||e.opts.$thumb.attr("src"))):s.setBigImage(e)},setBigImage:function(e){var t=this,n=f("<img />");e.$image=n.one("error",function(){t.setError(e)}).one("load",function(){clearTimeout(e.timouts),e.timouts=null,t.isClosing||(e.width=e.opts.width||this.naturalWi
1dth,e.height=e.opts.height||this.naturalHeight,e.opts.image.srcset&&n.attr("sizes","100vw").attr("srcset",e.opts.image.srcset),t.hideLoading(e),e.$ghost?e.timouts=setTimeout(function(){e.timouts=null,e.$ghost.hide()},Math.min(300,Math.max(1e3,e.height/1600))):t.afterLoad(e))}).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content),(n[0].complete||"complete"==n[0].readyState)&&n[0].naturalWidth&&n[0].naturalHeight?n.trigger("load"):n[0].error?n.trigger("error"):e.timouts=setTimeout(function(){n[0].complete||e.hasError||t.showLoading(e)},100)},setIframe:function(s){var r,t=this,a=s.opts.iframe,e=s.$slide;s.$content=f('<div class="fancybox-content'+(a.preload?" fancybox-is-hidden":"")+'"></div>').css(a.css).appendTo(e),r=f(a.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(a.attr).appendTo(s.$content),a.preload?(t.showLoading(s),r.on("load.fb error.fb",function(e){this.isReady=1,s.$slide.trigger("refresh"),t.afterLoad(s)}),e.on("refresh.fb",function(){var e,t,n=s.$content,i=a.css.width,o=a.css.height;if(1===r[0].isReady){try{t=r.contents().find("body")}catch(e){}t&&t.length&&(i===g&&(e=r[0].contentWindow.document.documentElement.scrollWidth,i=Math.ceil(t.outerWidth(!0)+(n.width()-e)),i+=n.outerWidth()-n.innerWidth()),o===g&&(o=Math.ceil(t.outerHeight(!0)),o+=n.outerHeight()-n.innerHeight()),i&&n.width(i),o)&&n.height(o),n.removeClass("fancybox-is-hidden")}})):this.afterLoad(s),r.attr("src",s.src),!0===s.opts.smallBtn&&s.$content.prepend(t.translate(s,s.opts.btnTpl.smallBtn)),e.one("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank")}catch(e){}f(this).empty(),s.isLoaded=!1})},setContent:function(e,t){var n;this.isClosing||(this.hideLoading(e),e.$slide.empty(),(n=t)&&n.hasOwnProperty&&n instanceof f&&t.parent().length?(t.parent(".fancybox-slide--inline").trigger("onReset"),e.$placeholder=f("<div></div>").hide().insertAfter(t),t.css("display","inline-block")):e.hasError||("string"===f.type(t)&&3===(t=f("<div>").append(f.trim(t)).contents())[0].nodeType&&(t=f("<div>").html(t)),e.opts.filter&&(t=f("<div>").html(t).find(e.opts.filter))),e.$slide.one("onReset",function(){f(this).find("video,audio").trigger("pause"),e.$placeholder&&(e.$placeholder.after(t.hide()).remove(),e.$placeholder=null),e.$smallBtn&&(e.$smallBtn.remove(),e.$smallBtn=null),e.hasError||(f(this).empty(),e.isLoaded=!1)}),e.$content=f(t).appendTo(e.$slide),this.afterLoad(e))},setError:function(e){e.hasError=!0,e.$slide.removeClass("fancybox-slide--"+e.type),this.setContent(e,this.translate(e,e.opts.errorTpl))},showLoading:function(e){(e=e||this.current)&&!e.$spinner&&(e.$spinner=f(this.opts.spinnerTpl).appendTo(e.$slide))},hideLoading:function(e){(e=e||this.current)&&e.$spinner&&(e.$spinner.remove(),delete e.$spinner)},afterLoad:function(e){var t=this;t.isClosing||(e.isLoading=!1,e.isLoaded=!0,t.trigger("afterLoad",e),t.hideLoading(e),e.opts.smallBtn&&!e.$smallBtn&&(e.$smallBtn=f(t.translate(e,e.opts.btnTpl.smallBtn)).appendTo(e.$content.filter("div,form").first())),e.opts.protect&&e.$content&&!e.hasError&&(e.$content.on("contextmenu.fb",function(e){return 2==e.button&&e.preventDefault(),!0}),"image"===e.type)&&f('<div class="fancybox-spaceball"></div>').appendTo(e.$content),t.revealContent(e))},revealContent:function(t){var n,e,i,o=this,s=t.$slide,r=!1,a=t.opts[o.firstRun?"animationEffect":"transitionEffect"],l=t.opts[o.firstRun?"animationDuration":"transitionDuration"];l=parseInt(t.forcedDuration===g?l:t.forcedDuration,10),"zoom"===(a="zoom"!==(a=!t.isMoved&&t.pos===o.currPos&&l?a:!1)||t.pos===o.currPos&&l&&"image"===t.type&&!t.hasError&&(r=o.getThumbPos(t))?a:"fade")?((i=o.getFitPos(t)).scaleX=i.width/r.width,i.scaleY=i.height/r.height,delete i.width,delete i.height,(e="auto"==(e=t.opts.zoomOpacity)?.1<Math.abs(t.width/t.height-r.width/r.height):e)&&(r.opacity=.1,i.opacity=1),f.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),r),h(t.$content),f.fancybox.animate(t.$content,i,l,function(){o.complete()})):(o.updateSlide(t),a?(f.fancybox.stop(s),n="fancybox-animated fancybox-slide--"+(t.pos>=o.prevPos?"next":"previous")+" fancybox-fx-"+a,s.removeAttr("style").removeClass("fancybox-slide--current fancybox-slide--next fancybox-slide--previous").addClass(n),t.$content.removeClass("fancybox-is-hidden"),h(s),f.fancybox.animate(s,"fancybox-slide--current",l,function(e){s.removeClass(n).removeAttr("style"),t.pos===o.currPos&&o.complete()},!0)):(h(s),t.$content.removeClass("fancybox-is-hidden"),t.pos===o.currPos&&o.complete()))},getThumbPos:function(e){var t,n=!1,e=e.opts.$thumb,i=e?e.offset():0;return i&&e[0].ownerDocument===r&&function(e){for(var t=e[0],n=t.getBoundingClientRect(),i=[];null!==t.parentElement;)"hidden"!==f(t.parentElement).css("overflow")&&"auto"!==f(t.parentElement).css("overflow")||i.push(t.parentElement.getBoundingClientRect()),t=t.parentElement;return i.every(function(e){var t=Math.min(n.right,e.right)-Math.max(n.left,e.left),e=
1Math.min(n.bottom,e.bottom)-Math.max(n.top,e.top);return 0<t&&0<e})&&0<n.bottom&&0<n.right&&n.left<f(c).width()&&n.top<f(c).height()}(e)&&(t=this.$refs.stage.offset(),n={top:i.top-t.top+parseFloat(e.css("border-top-width")||0),left:i.left-t.left+parseFloat(e.css("border-left-width")||0),width:e.width(),height:e.height(),scaleX:1,scaleY:1}),n},complete:function(){var n=this,e=n.current,i={};!e.isMoved&&e.isLoaded&&!e.isComplete&&(e.isComplete=!0,e.$slide.siblings().trigger("onReset"),n.preload("inline"),h(e.$slide),e.$slide.addClass("fancybox-slide--complete"),f.each(n.slides,function(e,t){t.pos>=n.currPos-1&&t.pos<=n.currPos+1?i[t.pos]=t:t&&(f.fancybox.stop(t.$slide),t.$slide.off().remove())}),n.slides=i,n.updateCursor(),n.trigger("afterShow"),e.$slide.find("video,audio").first().trigger("play"),f(r.activeElement).is("[disabled]")||e.opts.autoFocus&&"image"!=e.type&&"iframe"!==e.type)&&n.focus()},preload:function(e){var t=this,n=t.slides[t.currPos+1],i=t.slides[t.currPos-1];n&&n.type===e&&t.loadSlide(n),i&&i.type===e&&t.loadSlide(i)},focus:function(){var e,t=this.current;this.isClosing||(t&&t.isComplete&&((e=t.$slide.find("input[autofocus]:enabled:visible:first")).length||(e=t.$slide.find("button,:input,[tabindex],a").filter(":enabled:visible:first"))),(e=e&&e.length?e:this.$refs.container).focus())},activate:function(){var t=this;f(".fancybox-container").each(function(){var e=f(this).data("FancyBox");e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)}),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(e,t){function n(){a.cleanUp(e)}var i,o,s,r,a=this,l=a.current;return!a.isClosing&&(!(a.isClosing=!0)===a.trigger("beforeClose",e)?(a.isClosing=!1,u(function(){a.update()}),!1):(a.removeEvents(),l.timouts&&clearTimeout(l.timouts),s=l.$content,i=l.opts.animationEffect,t=f.isNumeric(t)?t:i?l.opts.animationDuration:0,l.$slide.off(d).removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),l.$slide.siblings().trigger("onReset").remove(),t&&a.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing"),a.hideLoading(l),a.hideControls(),a.updateCursor(),"zoom"===(i="zoom"!==i||!0!==e&&s&&t&&"image"===l.type&&!l.hasError&&(r=a.getThumbPos(l))?i:"fade")?(f.fancybox.stop(s),(s=f.fancybox.getTranslate(s)).width=s.width*s.scaleX,s.height=s.height*s.scaleY,(o="auto"==(o=l.opts.zoomOpacity)?.1<Math.abs(l.width/l.height-r.width/r.height):o)&&(r.opacity=0),s.scaleX=s.width/r.width,s.scaleY=s.height/r.height,s.width=r.width,s.height=r.height,f.fancybox.setTranslate(l.$content,s),h(l.$content),f.fancybox.animate(l.$content,r,t,n)):i&&t?!0===e?setTimeout(n,t):f.fancybox.animate(l.$slide.removeClass("fancybox-slide--current"),"fancybox-animated fancybox-slide--previous fancybox-fx-"+i,t,n):n(),!0))},cleanUp:function(e){var t=this,n=f("body");t.current.$slide.trigger("onReset"),t.$refs.container.empty().remove(),t.trigger("afterClose",e),t.$lastFocus&&t.current.opts.backFocus&&t.$lastFocus.focus(),t.current=null,(e=f.fancybox.getInstance())?e.activate():(o.scrollTop(t.scrollTop).scrollLeft(t.scrollLeft),n.removeClass("fancybox-active compensate-for-scrollbar"),n.hasClass("fancybox-iosfix")&&(e=parseInt(r.body.style.top,10),n.removeClass("fancybox-iosfix").css("top","").scrollTop(-1*e)),f("#fancybox-style-noscroll").remove())},trigger:function(e,t){var n,i=Array.prototype.slice.call(arguments,1),o=this,t=t&&t.opts?t:o.current;if(t?i.unshift(t):t=o,i.unshift(o),!1===(n=f.isFunction(t.opts[e])?t.opts[e].apply(t,i):n))return n;("afterClose"!==e&&o.$refs?o.$refs.container:a).trigger(e+".fb",i)},updateControls:function(e){var t=this,n=t.current,i=n.index,o=n.opts.caption,s=t.$refs.container,r=t.$refs.caption;n.$slide.trigger("refresh"),t.$caption=o&&o.length?r.html(o):null,t.isHiddenControls||t.isIdle||t.showControls(),s.find("[data-fancybox-count]").html(t.group.length),s.find("[data-fancybox-index]").html(i+1),s.find("[data-fancybox-prev]").prop("disabled",!n.opts.loop&&i<=0),s.find("[data-fancybox-next]").prop("disabled",!n.opts.loop&&i>=t.group.length-1),"image"===n.type?s.find("[data-fancybox-download]").attr("href",n.opts.image.src||n.src).show():s.find("[data-fancybox-download],[data-fancybox-zoom]").hide()}
1,hideControls:function(){this.isHiddenControls=!0,this.$refs.container.removeClass("fancybox-show-infobar fancybox-show-toolbar fancybox-show-caption fancybox-show-nav")},showControls:function(){var e=this,t=(e.current||e).opts,n=e.$refs.container;e.isHiddenControls=!1,e.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!t.toolbar||!t.buttons)).toggleClass("fancybox-show-infobar",!!(t.infobar&&1<e.group.length)).toggleClass("fancybox-show-nav",!!(t.arrows&&1<e.group.length)).toggleClass("fancybox-is-modal",!!t.modal),e.$caption?n.addClass("fancybox-show-caption "):n.removeClass("fancybox-show-caption")},toggleControls:function(){this.isHiddenControls?this.showControls():this.hideControls()}}),f.fancybox={version:"3.2.10",defaults:e,getInstance:function(e){var t=f('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),n=Array.prototype.slice.call(arguments,1);return t instanceof i&&("string"===f.type(e)?t[e].apply(t,n):"function"===f.type(e)&&e.apply(t,n),t)},open:function(e,t,n){return new i(e,t,n)},close:function(e){var t=this.getInstance();t&&(t.close(),!0===e)&&this.close()},destroy:function(){this.close(!0),a.off("click.fb-start")},isMobile:r.createTouch!==g&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(e=r.createElement("div"),c.getComputedStyle&&c.getComputedStyle(e).getPropertyValue("transform")&&!(r.documentMode&&r.documentMode<11)),getTranslate:function(e){var t,n;return!(!e||!e.length)&&((t=(t=e.eq(0).css("transform"))&&-1!==t.indexOf("matrix")?(t=(t=t.split("(")[1]).split(")")[0]).split(","):[]).length?t=(t=10<t.length?[t[13],t[12],t[0],t[5]]:[t[5],t[4],t[0],t[3]]).map(parseFloat):(t=[0,0,1,1],(n=/\.*translate\((.*)px,(.*)px\)/i.exec(e.eq(0).attr("style")))&&(t[0]=parseFloat(n[2]),t[1]=parseFloat(n[1]))),{top:t[0],left:t[1],scaleX:t[2],scaleY:t[3],opacity:parseFloat(e.css("opacity")),width:e.width(),height:e.height()})},setTranslate:function(e,t){var n="",i={};if(e&&t)return t.left===g&&t.top===g||(n=(t.left===g?e.position():t).left+"px, "+(t.top===g?e.position():t).top+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),(n=t.scaleX!==g&&t.scaleY!==g?(n.length?n+" ":"")+"scale("+t.scaleX+", "+t.scaleY+")":n).length&&(i.transform=n),t.opacity!==g&&(i.opacity=t.opacity),t.width!==g&&(i.width=t.width),t.height!==g&&(i.height=t.height),e.css(i)},animate:function(t,n,e,i,o){f.isFunction(e)&&(i=e,e=null),f.isPlainObject(n)||t.removeAttr("style"),t.on(d,function(e){(!e||!e.originalEvent||t.is(e.originalEvent.target)&&"z-index"!=e.originalEvent.propertyName)&&(f.fancybox.stop(t),f.isPlainObject(n)?(n.scaleX!==g&&n.scaleY!==g&&(t.css("transition-duration",""),n.width=Math.round(t.width()*n.scaleX),n.height=Math.round(t.height()*n.scaleY),n.scaleX=1,n.scaleY=1,f.fancybox.setTranslate(t,n)),!1===o&&t.removeAttr("style")):!0!==o&&t.removeClass(n),f.isFunction(i))&&i(e)}),f.isNumeric(e)&&t.css("transition-duration",e+"ms"),f.isPlainObject(n)?f.fancybox.setTranslate(t,n):t.addClass(n),n.scaleX&&t.hasClass("fancybox-image-wrap")&&t.parent().addClass("fancybox-is-scaling"),t.data("timer",setTimeout(function(){t.trigger("transitionend")},e+16))},stop:function(e){clearTimeout(e.data("timer")),e.off("transitionend").css("transition-duration",""),e.hasClass("fancybox-image-wrap")&&e.parent().removeClass("fancybox-is-scaling")}},f.fn.fancybox=function(e){var t;return(t=(e=e||{}).selector||!1)?f("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},n):this.off("click.fb-start").on("click.fb-start",{items:this,options:e},n),this},a.on("click.fb-start","[data-fancybox]",n)))}(window,document,window.jQuery||jQuery),function(h){"use strict";function p(n,e,t){if(n)return"object"===h.type(t=t||"")&&(t=h.param(t,!0)),h.each(e,function(e,t){n=n.replace("$"+e,t||"")}),t.length&&(n+=(0<n.indexOf("?")?"&":"?")+t),n}var f={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"//www.youtube.com/embed/$4",thumb:"//img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1,api:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},metacafe:{matcher:/metacafe.com\/watch\/(\d+)\/(.*)?/,type:"iframe",url:"//www.metacafe.com/embed/$1/?ap=1"},dailymotion:{matcher:/dailymotion.com\/video\/(.*)\/?(.*)/,params:{additionalInfos:0,autoStart:1},type:"iframe",url:"//www.dailymotion.com/embed/video/$1"},vine:{matcher:/vine.co\/v\/([a-zA-Z0-9\?\=\-]+)/,type:"iframe",url:"//vine.co/v/$1/embed/simple"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12])+"&output="+(e[12]&&0<e[12].indexOf("layer=c")?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/maps?q="+e[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}};h(document).on("objectNeedsType.fb",function(e,t,o){var s,r,a,l,c,n,u=o.src||"",d=!1,i=h.extend(!0,{},f,o.opts.media);h.each(i,function(e,t){if(r=u.match(t.matcher)){if(d=t.type,c={},t.paramPlace&&r[t.paramPlace]){l=(l="?"==(l=r[t.paramPlace])[0]?l.substring(1):l).split("&");for(var n=0;n<l.length;++n){var i=l[n].split("=",2);2==i.length&&(c[i[0]]=decodeURIComponent(i[1].replace(/\+/g," ")))}}return a=h.extend(!0,{},t.params,o.opts[e],c),u="function"===h.type(t.url)?t.url.call(this,r,a,o):p(t.url,r,a),s="function"===h.type(t.thumb)?t.thumb.call(this,r,a,o):p(t.thumb,r),"vimeo"===e&&(u=u.replace("&%23","#")),!1}}),d?(o.src=u,o.type=d,o.opts.thumb||o.opts.$thumb&&o.opts.$thumb.length||(o.opts.thumb=s),"iframe"===d&&(h.extend(!0,o.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}}),o.contentProvider=n,o.opts.slideClass+=" fancybox-slide--video")):u&&(o.type=o.opts.defaultType)})}(window.jQuery||jQuery),function(u,a,d){"use strict";function h(e){var t,n=[];for(t in e=(e=e.originalEvent||e||u.e).touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e])e[t].pageX?n.push({x:e[t].pageX,y:e[t].pageY}):e[t].clientX&&n.push({x:e[t].clientX,y:e[t].clientY});return n}function p(e,t,n){return t&&e?"x"===n?e.x-t.x:"y"===n?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function l(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea')||d.isFunction(e.get(0).onclick)||e.data("selectable"))return 1;for(var t=0,n=e[0].attributes,i=n.length;t<i;t++)if("data-fancybox-"===n[t].nodeName.substr(0,14))return 1}function c(e){for(var t,n,i,o=!1;(t=e.get(0),i=n=i=n=void 0,n=u.getComputedStyle(t)["overflow-y"],i=u.getComputedStyle(t)["overflow-x"],n=("scroll"===n||"auto"===n)&&t.scrollHeight>t.clientHeight,i=("scroll"===i||"auto"===i)&&t.scrollWidth>
1t.clientWidth,!(o=n||i))&&((e=e.parent()).length&&!e.hasClass("fancybox-stage")&&!e.is("body")););return o}function n(e){var t=this;t.instance=e,t.$bg=e.$refs.bg,t.$stage=e.$refs.stage,t.$container=e.$refs.container,t.destroy(),t.$container.on("touchstart.fb.touch mousedown.fb.touch",d.proxy(t,"ontouchstart"))}var f=u.requestAnimationFrame||u.webkitRequestAnimationFrame||u.mozRequestAnimationFrame||u.oRequestAnimationFrame||function(e){return u.setTimeout(e,1e3/60)},g=u.cancelAnimationFrame||u.webkitCancelAnimationFrame||u.mozCancelAnimationFrame||u.oCancelAnimationFrame||function(e){u.clearTimeout(e)};n.prototype.destroy=function(){this.$container.off(".fb.touch")},n.prototype.ontouchstart=function(e){var t=this,n=d(e.target),i=t.instance,o=i.current,s=o.$content,r="touchstart"==e.type;r&&t.$container.off("mousedown.fb.touch"),e.originalEvent&&2==e.originalEvent.button||!n.length||l(n)||l(n.parent())||!n.is("img")&&e.originalEvent.clientX>n[0].clientWidth+n.offset().left||(!o||t.instance.isAnimating||t.instance.isClosing?(e.stopPropagation(),e.preventDefault()):(t.realPoints=t.startPoints=h(e),t.startPoints&&(e.stopPropagation(),t.startEvent=e,t.canTap=!0,t.$target=n,t.$content=s,t.opts=o.opts.touch,t.isPanning=!1,t.isSwiping=!1,t.isZooming=!1,t.isScrolling=!1,t.sliderStartPos=t.sliderLastPos||{top:0,left:0},t.contentStartPos=d.fancybox.getTranslate(t.$content),t.contentLastPos=null,t.startTime=(new Date).getTime(),t.distanceX=t.distanceY=t.distance=0,t.canvasWidth=Math.round(o.$slide[0].clientWidth),t.canvasHeight=Math.round(o.$slide[0].clientHeight),d(a).off(".fb.touch").on(r?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",d.proxy(t,"ontouchend")).on(r?"touchmove.fb.touch":"mousemove.fb.touch",d.proxy(t,"ontouchmove")),d.fancybox.isMobile&&a.addEventListener("scroll",t.onscroll,!0),!t.opts&&!i.canPan()||!n.is(t.$stage)&&!t.$stage.find(n).length?n.is("img")&&e.preventDefault():(d.fancybox.isMobile&&(c(n)||c(n.parent()))||e.preventDefault(),1===t.startPoints.length&&("image"===o.type&&(t.contentStartPos.width>t.canvasWidth+1||t.contentStartPos.height>t.canvasHeight+1)?(d.fancybox.stop(t.$content),t.$content.css("transition-duration",""),t.isPanning=!0):t.isSwiping=!0,t.$container.addClass("fancybox-controls--isGrabbing")),2!==t.startPoints.length||i.isAnimating||o.hasError||"image"!==o.type||!o.isLoaded&&!o.$ghost||(t.canTap=!1,t.isSwiping=!1,t.isPanning=!1,t.isZooming=!0,d.fancybox.stop(t.$content),t.$content.css("transition-duration",""),t.centerPointStartX=.5*(t.startPoints[0].x+t.startPoints[1].x)-d(u).scrollLeft(),t.centerPointStartY=.5*(t.startPoints[0].y+t.startPoints[1].y)-d(u).scrollTop(),t.percentageOfImageAtPinchPointX=(t.centerPointStartX-t.contentStartPos.left)/t.contentStartPos.width,t.percentageOfImageAtPinchPointY=(t.centerPointStartY-t.contentStartPos.top)/t.contentStartPos.height,t.startDistanceBetweenFingers=p(t.startPoints[0],t.startPoints[1]))))))},n.prototype.onscroll=function(e){self.isScrolling=!0},n.prototype.ontouchmove=function(e){var t=this,n=d(e.target);t.isScrolling||!n.is(t.$stage)&&!t.$stage.find(n).length?t.canTap=!1:(t.newPoints=h(e),(t.opts||t.instance.canPan())&&t.newPoints&&t.newPoints.length&&(t.isSwiping&&!0===t.isSwiping||e.preventDefault(),t.distanceX=p(t.newPoints[0],t.startPoints[0],"x"),t.distanceY=p(t.newPoints[0],t.startPoints[0],"y"),t.distance=p(t.newPoints[0],t.startPoints[0]),0<t.distance)&&(t.isSwiping?t.onSwipe(e):t.isPanning?t.onPan():t.isZooming&&t.onZoom()))},n.prototype.onSwipe=function(e){var t,i=this,n=i.isSwiping,o=i.sliderStartPos.left||0;if(!0===n){if(10<Math.abs(i.distance)){if(i.canTap=!1,i.instance.group.length<2&&i.opts.vertical?i.isSwiping="y":i.instance.isDragging||!1===i.opts.vertical||"auto"===i.opts.vertical&&800<d(u).width()?i.isSwiping="x":(t=Math.abs(180*Math.atan2(i.distanceY,i.distanceX)/Math.PI),i.isSwiping=45<t&&t<135?"y":"x"),i.canTap=!1,"y"===i.isSwiping&&d.fancybox.isMobile&&(c(i.$target)||c(i.$target.parent())))return void(i.isScrolling=!0);i.instance.isDragging=i.isSwiping,i.startPoints=i.newPoints,d.each(i.instance.slides,function(e,t){d.fancybox.stop(t.$slide),t.$slide.css("transition-duration",""),t.inTransition=!1,t.pos===i.instance.current.pos&&(i.sliderStartPos.left=d.fancybox.getTranslate(t.$slide).left)}),i.instance.SlideShow&&i.instance.SlideShow.isActive&&i.instance.SlideShow.stop()}}else"x"==n&&(0<i.distanceX&&(i.instance.group.length<2||0===i.instance.current.index&&!i.instance.current.opts.loop)?o+=Math.pow(i.distanceX,.8):i.distanceX<0&&(i.instance.group.length<2||i.instance.current.index===i.instance.group.length-1&&!i.instance.current.opts.loop)?o-=Math.pow(-i.distanceX,.8):o+=i.distanceX),i.sliderLastPos={top:"x"==n?0:i.sliderStartPos.top+i.distanceY,left:o},i.requestId&&(g(i.requestId),i.requestId=null),i.requestId=f(function(){i.sliderLastPos&&(d.each(i.instance.slides,function(e,t){var n=t.pos-i.instance.currPos;
1d.fancybox.setTranslate(t.$slide,{top:i.sliderLastPos.top,left:i.sliderLastPos.left+n*i.canvasWidth+n*t.opts.gutter})}),i.$container.addClass("fancybox-is-sliding"))})},n.prototype.onPan=function(){var e=this;p(e.newPoints[0],e.realPoints[0])<(d.fancybox.isMobile?10:5)?e.startPoints=e.newPoints:(e.canTap=!1,e.contentLastPos=e.limitMovement(),e.requestId&&(g(e.requestId),e.requestId=null),e.requestId=f(function(){d.fancybox.setTranslate(e.$content,e.contentLastPos)}))},n.prototype.limitMovement=function(){var e=this,t=e.canvasWidth,n=e.canvasHeight,i=e.distanceX,o=e.distanceY,e=e.contentStartPos,s=e.left,r=e.top,a=e.width,l=e.height,c=t<a?s+i:s,u=r+o,d=Math.max(0,.5*t-.5*a),h=Math.max(0,.5*n-.5*l),p=Math.min(t-a,.5*t-.5*a),f=Math.min(n-l,.5*n-.5*l);return t<a&&(0<i&&d<c&&(c=d-1+Math.pow(-d+s+i,.8)||0),i<0)&&c<p&&(c=p+1-Math.pow(p-s-i,.8)||0),{top:u=n<l&&(0<o&&h<u&&(u=h-1+Math.pow(-h+r+o,.8)||0),o<0)&&u<f?f+1-Math.pow(f-r-o,.8)||0:u,left:c,scaleX:e.scaleX,scaleY:e.scaleY}},n.prototype.limitPosition=function(e,t,n,i){var o=this.canvasWidth,s=this.canvasHeight;return e=o<n?(e=0<e?0:e)<o-n?o-n:e:Math.max(0,o/2-n/2),{top:t=s<i?(t=0<t?0:t)<s-i?s-i:t:Math.max(0,s/2-i/2),left:e}},n.prototype.onZoom=function(){var e=this,t=e.contentStartPos.width,n=e.contentStartPos.height,i=e.contentStartPos.left,o=e.contentStartPos.top,s=p(e.newPoints[0],e.newPoints[1])/e.startDistanceBetweenFingers,r=Math.floor(t*s),a=Math.floor(n*s),t=(t-r)*e.percentageOfImageAtPinchPointX,n=(n-a)*e.percentageOfImageAtPinchPointY,l=(e.newPoints[0].x+e.newPoints[1].x)/2-d(u).scrollLeft(),c=(e.newPoints[0].y+e.newPoints[1].y)/2-d(u).scrollTop(),l=l-e.centerPointStartX,o={top:o+(n+(c-e.centerPointStartY)),left:i+(t+l),scaleX:e.contentStartPos.scaleX*s,scaleY:e.contentStartPos.scaleY*s};e.canTap=!1,e.newWidth=r,e.newHeight=a,e.contentLastPos=o,e.requestId&&(g(e.requestId),e.requestId=null),e.requestId=f(function(){d.fancybox.setTranslate(e.$content,e.contentLastPos)})},n.prototype.ontouchend=function(e){var t=this,n=Math.max((new Date).getTime()-t.startTime,1),i=t.isSwiping,o=t.isPanning,s=t.isZooming,r=t.isScrolling;if(t.endPoints=h(e),t.$container.removeClass("fancybox-controls--isGrabbing"),d(a).off(".fb.touch"),a.removeEventListener("scroll",t.onscroll,!0),t.requestId&&(g(t.requestId),t.requestId=null),t.isSwiping=!1,t.isPanning=!1,t.isZooming=!1,t.isScrolling=!1,t.instance.isDragging=!1,t.canTap)return t.onTap(e);t.speed=366,t.velocityX=t.distanceX/n*.5,t.velocityY=t.distanceY/n*.5,t.speedX=Math.max(.5*t.speed,Math.min(1.5*t.speed,1/Math.abs(t.velocityX)*t.speed)),o?t.endPanning():s?t.endZooming():t.endSwiping(i,r)},n.prototype.endSwiping=function(e,t){var n=this,i=!1,o=n.instance.group.length;n.sliderLastPos=null,"y"==e&&!t&&50<Math.abs(n.distanceY)?(d.fancybox.animate(n.instance.current.$slide,{top:n.sliderStartPos.top+n.distanceY+150*n.velocityY,opacity:0},150),i=n.instance.close(!0,300)):"x"==e&&50<n.distanceX&&1<o?i=n.instance.previous(n.speedX):"x"==e&&n.distanceX<-50&&1<o&&(i=n.instance.next(n.speedX)),!1!==i||"x"!=e&&"y"!=e||(t||o<2?n.instance.centerSlide(n.instance.current,150):n.instance.jumpTo(n.instance.current.index)),n.$container.removeClass("fancybox-is-sliding")},n.prototype.endPanning=function(){var e,t,n=this;n.contentLastPos&&(e=!1===n.opts.momentum?(t=n.contentLastPos.left,n.contentLastPos.top):(t=n.contentLastPos.left+n.velocityX*n.speed,n.contentLastPos.top+n.velocityY*n.speed),(t=n.limitPosition(t,e,n.contentStartPos.width,n.contentStartPos.height)).width=n.contentStartPos.width,t.height=n.contentStartPos.height,d.fancybox.animate(n.$content,t,330))},n.prototype.endZooming=function(){var e,t,n=this,i=n.instance.current,o=n.newWidth,s=n.newHeight;n.contentLastPos&&(e=n.contentLastPos.left,t=n.contentLastPos.top,d.fancybox.setTranslate(n.$content,{top:t,left:e,width:o,height:s,scaleX:1,scaleY:1}),o<n.canvasWidth&&s<n.canvasHeight?n.instance.scaleToFit(150):o>i.width||s>i.height?n.instance.scaleToActual(n.centerPointStartX,n.centerPointStartY,150):(i=n.limitPosition(e,t,o,s),d.fancybox.setTranslate(n.content,d.fancybox.getTranslate(n.$content)),d.fancybox.animate(n.$content,i,150)))},n.prototype.onTap=function(t){function e(e){if(e=r.opts[e],e=d.isFunction(e)?e.apply(s,[r,t]):e)switch(e){case"close"
1:s.close(i.startEvent);break;case"toggleControls":s.toggleControls(!0);break;case"next":s.next();break;case"nextOrClose":1<s.group.length?s.next():s.close(i.startEvent);break;case"zoom":"image"==r.type&&(r.isLoaded||r.$ghost)&&(s.canPan()?s.scaleToFit():s.isScaledDown()?s.scaleToActual(l,c):s.group.length<2&&s.close(i.startEvent))}}var n,i=this,o=d(t.target),s=i.instance,r=s.current,a=t&&h(t)||i.startPoints,l=a[0]?a[0].x-i.$stage.offset().left:0,c=a[0]?a[0].y-i.$stage.offset().top:0;if((!t.originalEvent||2!=t.originalEvent.button)&&(o.is("img")||!(l>o[0].clientWidth+o.offset().left))){if(o.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))n="Outside";else if(o.is(".fancybox-slide"))n="Slide";else{if(!s.current.$content||!s.current.$content.find(o).addBack().filter(o).length)return;n="Content"}if(i.tapped){if(clearTimeout(i.tapped),i.tapped=null,50<Math.abs(l-i.tapX)||50<Math.abs(c-i.tapY))return this;e("dblclick"+n)}else i.tapX=l,i.tapY=c,r.opts["dblclick"+n]&&r.opts["dblclick"+n]!==r.opts["click"+n]?i.tapped=setTimeout(function(){i.tapped=null,e("click"+n)},500):e("click"+n);return this}},d(a).on("onActivate.fb",function(e,t){t&&!t.Guestures&&(t.Guestures=new n(t))})}(window,document,window.jQuery||jQuery),function(s,r){"use strict";r.extend(!0,r.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg viewBox="0 0 40 40"><path d="M13,12 L27,20 L13,27 Z" /><path d="M15,10 v19 M23,10 v19" /></svg></button>'},slideShow:{autoStart:!1,speed:3e3}});function n(e){this.instance=e,this.init()}r.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var e=this;e.$button=e.instance.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){e.toggle()}),(e.instance.group.length<2||!e.instance.group[e.instance.currIndex].opts.slideShow)&&e.$button.hide()},set:function(e){var t=this;t.instance&&t.instance.current&&(!0===e||t.instance.current.opts.loop||t.instance.currIndex<t.instance.group.length-1)?t.timer=setTimeout(function(){t.isActive&&t.instance.jumpTo((t.instance.currIndex+1)%t.instance.group.length)},t.instance.current.opts.slideShow.speed):(t.stop(),t.instance.idleSecondsCounter=0,t.instance.showControls())},clear:function(){clearTimeout(this.timer),this.timer=null},start:function(){var e=this.instance.current;e&&(this.isActive=!0,this.$button.attr("title",e.opts.i18n[e.opts.lang].PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),this.set(!0))},stop:function(){var e=this.instance.current;this.clear(),this.$button.attr("title",e.opts.i18n[e.opts.lang].PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),this.isActive=!1},toggle:function(){this.isActive?this.stop():this.start()}}),r(s).on({"onInit.fb":function(e,t){t&&!t.SlideShow&&(t.SlideShow=new n(t))},"beforeShow.fb":function(e,t,n,i){t=t&&t.SlideShow;i?t&&n.opts.slideShow.autoStart&&t.start():t&&t.isActive&&t.clear()},"afterShow.fb":function(e,t,n){t=t&&t.SlideShow;t&&t.isActive&&t.set()},"afterKeydown.fb":function(e,t,n,i,o){t=t&&t.SlideShow;!t||!n.opts.slideShow||80!==o&&32!==o||r(s.activeElement).is("button,a,input")||(i.preventDefault(),t.toggle())},"beforeClose.fb onDeactivate.fb":function(e,t){t=t&&t.SlideShow;t&&t.stop()}}),r(s).on("visibilitychange",function(){var e=r.fancybox.getInstance(),e=e&&e.SlideShow;e&&e.isActive&&(s.hidden?e.clear():e.set())})}(document,window.jQuery||jQuery),function(s,n){"use strict";var i,t=function(){for(var e,t,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i={},o=0;o<n.length;o++)if((e=n[o])&&e[1]in s){for(t=0;t<e.length;t++)i[n[0][t]]=e[t];return i}return!1}();t?(i={request:function(e){(e=e||s.documentElement)[t.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){s[t.exitFullscreen]()},toggle:function(e){e=e||s.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(s[t.fullscreenElement])},enabled:function(){return Boolean(s[t.fullscreenEnabled])}},n.extend(!0,n.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fullscreen" title="{{FULL_SCREEN}}"><svg viewBox="0 0 40 40"><path d="M9,12 h22 v16 h-22 v-16 v16 h22 v-16 Z" /></svg></button>'},fullScreen:{autoStart:!1}}),n(s).on({"onInit.fb":function(e,t){var n;t&&t.group[t.currIndex].opts.fullScreen?((n=t.$refs.container).on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(e){e.stopPropagation(),e.preventDefault(),i.toggle(n[0])}),t.opts.fullScreen&&!0===t.opts.fullScreen.autoStart&&i.request(n[0]),t.FullScreen=i):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide()},"afterKeydown.fb":function(e,t,n,i,o){t&&t.FullScreen&&70===o&&(i.preventDefault(),t.FullScreen.toggle(t.$refs.container[0]))},"beforeClose.fb":function(e){e&&e.FullScreen&&i.exit()}}),n(s).on(t.fullscreenchange,function(){var e=i.isFullscreen(),t=n.fancybox.getInstance();t&&(t.current&&"image"===t.current.type&&t.isAnimating&&(t.current.$content.css("transition","none"),t.isAnimating=!1,t.update(!0,!0,0)),t.trigger("onFullscreenChange",e),t.$refs.container.toggleClass("fancybox-is-fullscreen",e))})):n&&n.fancybox&&(n.fancybox.defaults.btnTpl.fullScreen=!1)}(document,window.jQuery||jQuery),function(e,r){"use strict";r.fancybox.defaults=r.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg viewBox="0 0 120 120"><path d="M30,30 h14 v14 h-14 Z M50,30 h14 v14 h-14 Z M70,30 h14 v14 h-14 Z M30,50 h14 v14 h-14 Z M50,50 h14 v14 h-14 Z M70,50 h14 v14 h-14 Z M30,70 h14 v14 h-14 Z M50,70 h14 v14 h-14 Z M70,70 h14 v14 h-14 Z" /></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},r.fancybox.defaults);function n(e){this.init(e)}r.extend(n.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(e){var t=this,n=((t.instance=e).Thumbs=t,e.group[0]),i=e.group[1];t.opts=e.group[e.currIndex].opts.thumbs,t.$button=e.$refs.toolbar.find("[data-fancybox-thumbs]"),t.opts&&n&&i&&("image"==n.type||n.opts.thumb||n.opts.$thumb)&&("image"==i.type||i.opts.thumb||i.opts.$thumb)?(t.$button.show().on("click",function(){t.toggle(
1)}),t.isActive=!0):t.$button.hide()},create:function(){var n,i,e=this,t=e.instance,o=e.opts.parentEl;e.$grid=r('<div class="fancybox-thumbs fancybox-thumbs-'+e.opts.axis+'"></div>').appendTo(t.$refs.container.find(o).addBack().filter(o)),n="<ul>",r.each(t.group,function(e,t){(i=(i=t.opts.thumb||(t.opts.$thumb?t.opts.$thumb.attr("src"):null))||"image"!==t.type?i:t.src)&&i.length&&(n+='<li data-index="'+e+'" tabindex="0" class="fancybox-thumbs-loading"><img data-src="'+i+'" /></li>')}),n+="</ul>",e.$list=r(n).appendTo(e.$grid).on("click","li",function(){t.jumpTo(r(this).data("index"))}),e.$list.find("img").hide().one("load",function(){var e=r(this).parent().removeClass("fancybox-thumbs-loading"),t=e.outerWidth(),e=e.outerHeight(),n=this.naturalWidth||this.width,i=this.naturalHeight||this.height,o=n/t,s=i/e;1<=o&&1<=s&&(s<o?(n/=s,i=e):(n=t,i/=o)),r(this).css({width:Math.floor(n),height:Math.floor(i),"margin-top":e<i?Math.floor(.3*e-.3*i):Math.floor(.5*e-.5*i),"margin-left":Math.floor(.5*t-.5*n)}).show()}).each(function(){this.src=r(this).data("src")}),"x"===e.opts.axis&&e.$list.width(parseInt(e.$grid.css("padding-right"))+t.group.length*e.$list.children().eq(0).outerWidth(!0)+"px")},focus:function(e){var t,n,i=this,o=i.$list;i.instance.current&&(n=(t=o.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+i.instance.current.index+'"]').addClass("fancybox-thumbs-active")).position(),"y"===i.opts.axis&&(n.top<0||n.top>o.height()-t.outerHeight())?o.stop().animate({scrollTop:o.scrollTop()+n.top},e):"x"===i.opts.axis&&(n.left<o.parent().scrollLeft()||n.left>o.parent().scrollLeft()+(o.parent().width()-t.outerWidth()))&&o.parent().stop().animate({scrollLeft:n.left},e))},update:function(){this.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.instance.trigger("onThumbsShow"),this.focus(0)):this.$grid&&this.instance.trigger("onThumbsHide"),this.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),r(e).on({"onInit.fb":function(e,t){t&&!t.Thumbs&&(t=new n(t)).isActive&&!0===t.opts.autoStart&&t.show()},"beforeShow.fb":function(e,t,n,i){t=t&&t.Thumbs;t&&t.isVisible&&t.focus(i?0:250)},"afterKeydown.fb":function(e,t,n,i,o){t=t&&t.Thumbs;t&&t.isActive&&71===o&&(i.preventDefault(),t.toggle())},"beforeClose.fb":function(e,t){t=t&&t.Thumbs;t&&t.isVisible&&!1!==t.opts.hideOnClose&&t.$grid.hide()}})}(document,window.jQuery),function(e,i){"use strict";i.extend(!0,i.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg viewBox="0 0 40 40"><path d="M6,30 C8,18 19,16 23,16 L23,16 L23,10 L33,20 L23,29 L23,24 C19,24 8,27 6,30 Z"></svg></button>'},share:{tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p class="fancybox-share__links"><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" /></p></div>'}}),i(e).on("click","[data-fancybox-share]",function(){var e,t,n=i.fancybox.getInstance();n&&(e=!1===n.current.opts.hash?n.current.src:window.location,e=n.current.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===n.current.type?encodeURIComponent(n.current.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(e)).replace(/\{\{url_raw\}\}/g,(t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},String(e).replace(/[&<>"'`=\/]/g,function(e){return t[e]}))).replace(/\{\{descr\}\}/g,n.$caption?encodeURIComponent(n.$caption.text()):""),i.fancybox.open({src:n.translate(n,e),type:"html",opts:{animationEffect:"fade",animationDuration:250,afterLoad:function(e,t){t.$content.find(".fancybox-share__links a").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})}}}))})}(document,window.jQuery||jQuery),function(o,s,r){"use strict";r.escapeSelector||(r.escapeSelector=function(e){return(e+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e})});var a=!0,l=null,c=null;function u(){var e=s.location.hash.substr(1),t=e.split("-"),n=1<t.length&&/^\+?\d+$/.test(t[t.length-1])&&parseInt(t.pop(-1),10)||1;return{hash:e,index:n=n<1?1:n,gallery:t.join("-")}}function t(e){var t;""!==e.gallery&&(t=(t=r("[data-fancybox='"+r.escapeSelector(e.gallery)+"']").eq(e.index-1)).length?t:r("#"+r.escapeSelector(e.gallery))).length&&(a=!1,t.trigger("click"))}function d(e){return!!e&&((e=(e.current||e).opts).hash||(e.$orig?e.$orig.data("fancybox"):""))}r(function(){!1!==r.fancybox.defaults.hash&&(r(o).on({"onInit.fb":function(e,t){var n,i;!1!==t.group[t.currIndex].opts.hash&&(n=u(),i=d(t))&&n.gallery&&i==n.gallery&&(t.currIndex=n.index-1)},"beforeShow.fb":function(e,t,n){var i;n&&!1!==n.opts.hash&&(i=d(t))&&""!==i&&(s.location.hash.indexOf(i)<0&&(t.opts.origHash=s.location.hash),l=i+(1<t.group.length?"-"+(n.index+1):""),"replaceState"in s.history?(c&&clearTimeout(c),c=setTimeout(function(){s.history[a?"pushState":"replaceState"]({},o.title,s.location.pathname+s.location.search+"#"+l),c=null,a=!1},300)):s.location.hash=l)},"beforeClose.fb":function(e,t,n){var i;c&&clearTimeout(c),!1!==n.opts.hash&&(n=d(t),i=t&&t.opts.origHash?t.opts.origHash:"",n&&""!==n&&("replaceState"in history?s.history.replaceState({},o.title,s.location.pathname+s.location.search+i):(s.location.hash=i,r(s).scrollTop(t.scrollTop).scrollLeft(t.scrollLeft))),l=null)}}),r(s).on("hashchange.fb",function(){var e=u();r.fancybox.getInstance()?!l||l===e.gallery+"-"+e.index||1===e.index&&l==e.gallery||(l=null,r.fancybox.close()):""!==e.gallery&&t(e)}),setTimeout(function(){t(u())},50))})}(document,window,window.jQuery||jQuery),function(e,t){"use strict";var o=(new Date).getTime();t(e).on({"onInit.fb":function(e,i,t){i.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(e){var t=i.current,n=(new Date).getTime();i.group.length<1||!1===t.opts.wheel||"auto"===t.opts.wheel&&"image"!==t.type||(e.preventDefault(),e.stopPropagation(),t.$slide.hasClass("fancybox-animated"))||(e=e.originalEvent||e,n-o<250)||(o=n,i[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())})}})}(document,window.jQuery||jQuery),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,function(){"use strict";for(var e="undefined"!=typeof window&&"undefined"!=typeof document,t=["Edge","Trident","Firefox"],n=0,i=0;i<t.length;i+=1)if(e&&0<=navigator.userAgent.indexOf(t[i])){n=1;break}var L=e&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},n))}};function r(e){return e&&"[object Function]"==={}.toString.call(e)}function d(e,t){return 1!==e.nodeType?[]:(e=getComputedStyle(e,null),t?e[t]:e)}
1function h(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function p(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=d(e),n=t.overflow,i=t.overflowX,t=t.overflowY;return/(auto|scroll)/.test(n+t+i)?e:p(h(e))}function u(e){var t=e&&e.offsetParent,n=t&&t.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(t.nodeName)&&"static"===d(t,"position")?u(t):t:(e?e.ownerDocument:document).documentElement}function s(e){return null!==e.parentNode?s(e.parentNode):e}function f(e,t){var n,i,o;return e&&e.nodeType&&t&&t.nodeType?(i=(o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING)?e:t,o=o?t:e,(n=document.createRange()).setStart(i,0),n.setEnd(o,0),e!==(n=n.commonAncestorContainer)&&t!==n||i.contains(o)?"BODY"===(o=(i=n).nodeName)||"HTML"!==o&&u(i.firstElementChild)!==i?u(n):n:(o=s(e)).host?f(o.host,t):f(e,s(t).host)):document.documentElement}function g(e,t){var t="top"===(1<arguments.length&&void 0!==t?t:"top")?"scrollTop":"scrollLeft",n=e.nodeName;return("BODY"===n||"HTML"===n?(n=e.ownerDocument.documentElement,e.ownerDocument.scrollingElement||n):e)[t]}function o(e,t){var t="x"===t?"Left":"Top",n="Left"==t?"Right":"Bottom";return parseFloat(e["border"+t+"Width"],10)+parseFloat(e["border"+n+"Width"],10)}var a=void 0,c=function(){return a=void 0===a?-1!==navigator.appVersion.indexOf("MSIE 10"):a};function l(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],c()?n["offset"+e]+i["margin"+("Height"===e?"Top":"Left")]+i["margin"+("Height"===e?"Bottom":"Right")]:0)}function m(){var e=document.body,t=document.documentElement,n=c()&&getComputedStyle(t);return{height:l("Height",e,t,n),width:l("Width",e,t,n)}}var v=function(e,t,n){return t&&y(e.prototype,t),n&&y(e,n),e};function y(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,i=arguments[t];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e};function _(e){return w({},e,{right:e.left+e.width,bottom:e.top+e.height})}function x(e){var t={};if(c())try{var t=e.getBoundingClientRect(),n=g(e,"top"),i=g(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}catch(e){}else t=e.getBoundingClientRect();n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?m():{},t=i.width||e.clientWidth||n.right-n.left,i=i.height||e.clientHeight||n.bottom-n.top,t=e.offsetWidth-t,i=e.offsetHeight-i;return(t||i)&&(t-=o(e=d(e),"x"),i-=o(e,"y"),n.width-=t,n.height-=i),_(n)}function C(e,t){var n=c(),i="HTML"===t.nodeName,o=x(e),s=x(t),e=p(e),r=d(t),a=parseFloat(r.borderTopWidth,10),l=parseFloat(r.borderLeftWidth,10),s=_({top:o.top-s.top-a,left:o.left-s.left-l,width:o.width,height:o.height});return s.marginTop=0,s.marginLeft=0,!n&&i&&(o=parseFloat(r.marginTop,10),i=parseFloat(r.marginLeft,10),s.top-=a-o,s.bottom-=a-o,s.left-=l-i,s.right-=l-i,s.marginTop=o,s.marginLeft=i),s=(n?t.contains(e):t===e&&"BODY"!==e.nodeName)?function(e,t,n){var n=2<arguments.length&&void 0!==n&&n,i=g(t,"top"),t=g(t,"left"),n=n?-1:1;return e.top+=i*n,e.bottom+=i*n,e.left+=t*n,e.right+=t*n,e}(s,t):s}function S(e,t,n,i){var o,s,r,a,l,c={top:0,left:0},u=f(e,t);return"viewport"===i?(s=(o=u).ownerDocument.documentElement,o=C(o,s),r=Math.max(s.clientWidth,window.innerWidth||0),a=Math.max(s.clientHeight,window.innerHeight||0),l=g(s),s=g(s,"left"),c=_({top:l-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:r,height:a})):(l=void 0,"scrollParent"===i?"BODY"===(l=p(h(t))).nodeName&&(l=e.ownerDocument.documentElement):l="window"===i?e.ownerDocument.documentElement:i,s=C(l,u),"HTML"!==l.nodeName||function e(t){var n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===d(t,"position")||e(h(t)))}(u)?c=s:(r=(o=m()).height,a=o.width,c.top+=s.top-s.marginTop,c.bottom=r+s.top,c.left+=s.left-s.marginLeft,c.right=a+s.left)),c.left+=n,c.top+=n,c.right-=n,c.bottom-=n,c}function T(e,t,n,i,o,s){var r,s=5<arguments.length&&void 0!==s?s:0;return-1===e.indexOf("auto")?e:(i=S(n,i,s,o),r={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},(0<(o=(s=Object.keys(r).map(function(e){return w({key:e},r[e],{area:(e=r[e]).width*e.height})}).sort(function(e,t){return t.area-e.area})).filter(function(e){var t=e.width,e=e.height;return t>=n.clientWidth&&e>=n.clientHeight})).length?o:s)[0].key+((t=e.split("-")[1])?"-"+t:""))}function D(e,t,n){return C(n,f(t,n))}function k(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),t=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+t,height:e.offsetHeight+n}}
1function E(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function $(e,t,n){n=n.split("-")[0];var e=k(e),i={width:e.width,height:e.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",r=o?"left":"top",a=o?"height":"width",o=o?"width":"height";return i[s]=t[s]+t[a]/2-e[a]/2,i[r]=n===r?t[r]-e[o]:t[E(r)],i}function A(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function N(e,n,t){var i,o;return(void 0===t?e:e.slice(0,(e=e,i="name",o=t,Array.prototype.findIndex?e.findIndex(function(e){return e[i]===o}):(t=A(e,function(e){return e[i]===o}),e.indexOf(t))))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e.function||e.fn;e.enabled&&r(t)&&(n.offsets.popper=_(n.offsets.popper),n.offsets.reference=_(n.offsets.reference),n=t(n,e))}),n}function I(e,n){return e.some(function(e){var t=e.name;return e.enabled&&t===n})}function q(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length-1;i++){var o=t[i],o=o?""+o+n:e;if(void 0!==document.body.style[o])return o}return null}function R(e){e=e.ownerDocument;return e?e.defaultView:window}function F(e,t,n,i){n.updateBound=i,R(e).addEventListener("resize",n.updateBound,{passive:!0});i=p(e);return function e(t,n,i,o){var s="BODY"===t.nodeName,t=s?t.ownerDocument.defaultView:t;t.addEventListener(n,i,{passive:!0}),s||e(p(t.parentNode),n,i,o),o.push(t)}(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function z(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,R(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function P(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}
1function j(n,i){Object.keys(i).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&P(i[e])&&(t="px"),n.style[e]=i[e]+t})}function H(e,t,n){var i,o=A(e,function(e){return e.name===t}),e=!!o&&e.some(function(e){return e.name===n&&e.enabled&&e.order<o.order});return e||(i="`"+t+"`",console.warn("`"+n+"`"+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")),e}var U=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],M=U.slice(3);function B(e,t){t=1<arguments.length&&void 0!==t&&t,e=M.indexOf(e),e=M.slice(e+1).concat(M.slice(0,e));return t?e.reverse():e}var W="flip",V="clockwise",Y="counterclockwise";function Q(e,a,l,t){var o=[0,0],i=-1!==["right","left"].indexOf(t),t=e.split(/(\+|\-)/).map(function(e){return e.trim()}),e=t.indexOf(A(t,function(e){return-1!==e.search(/,|\s/)})),n=(t[e]&&-1===t[e].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),/\s*,\s*|\s+/);return(-1!==e?[t.slice(0,e).concat([t[e].split(n)[0]]),[t[e].split(n)[1]].concat(t.slice(e+1))]:[t]).map(function(e,t){var r=(1===t?!i:i)?"height":"width",n=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,n=!0,e):n?(e[e.length-1]+=t,n=!1,e):e.concat(t)},[]).map(function(e){return t=r,n=a,i=l,o=+(s=(e=e).match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],s=s[2],o?0===s.indexOf("%")?_("%p"===s?n:i)[t]/100*o:"vh"===s||"vw"===s?("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o:e;var t,n,i,o,s})}).forEach(function(n,i){n.forEach(function(e,t){P(e)&&(o[i]+=e*("-"===n[t-1]?-1:1))})}),o}var X={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t,n,i,o=e.placement,s=o.split("-")[0];return(o=o.split("-")[1])&&(t=(n=e.offsets).reference,n=n.popper,i=(s=-1!==["bottom","top"].indexOf(s))?"width":"height",s={start:b({},s=s?"left":"top",t[s]),end:b({},s,t[s]+t[i]-n[i])},e.offsets.popper=w({},n,s[o])),e}},offset:{order:200,enabled:!0,fn:function(e,t){var t=t.offset,n=e.placement,i=(o=e.offsets).popper,o=o.reference,n=n.split("-")[0],s=void 0,s=P(+t)?[+t,0]:Q(t,i,o,n);return"left"===n?(i.top+=s[0],i.left-=s[1]):"right"===n?(i.top+=s[0],i.left+=s[1]):"top"===n?(i.left+=s[0],i.top-=s[1]):"bottom"===n&&(i.left+=s[0],i.top+=s[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,i){var t=i.boundariesElement||u(e.instance.popper),o=(e.instance.reference===t&&(t=u(t)),S(e.instance.popper,e.instance.reference,i.padding,t)),t=(i.boundaries=o,i.priority),s=e.offsets.popper,n={primary:function(e){var t=s[e];return s[e]<o[e]&&!i.escapeWithReference&&(t=Math.max(s[e],o[e])),b({},e,t)},secondary:function(e){var t="right"===e?"left":"top",n=s[t];return s[e]>o[e]&&!i.escapeWithReference&&(n=Math.min(s[t],o[e]-("right"===e?s.width:s.height))),b({},t,n)}};return t.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";s=w({},s,n[t](e))}),e.offsets.popper=s,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=(n=e.offsets).popper,n=n.reference,i=e.placement.split("-")[0],o=Math.floor,s=(i=-1!==["top","bottom"].indexOf(i))?"right":"bottom",r=i?"left":"top",i=i?"width":"height";return t[s]<o(n[r])&&(e.offsets.popper[r]=o(n[r])-t[i]),t[r]>o(n[s])&&(e.offsets.popper[r]=o(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(H(e.instance.modifiers,"arrow","keepTogether")){t=t.element;if("string"==typeof t){if(!(t=e.instance.popper.querySelector(t)))return e}else if(!e.instance.popper.contains(t))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var n=e.placement.split("-")[0],i=e.offsets,o=i.popper,i=i.reference,n=-1!==["left","right"].indexOf(n),s=n?"height":"width",r=n?"Top":"Left",a=r.toLowerCase(),l=n?"left":"top",n=n?"bottom":"right",c=k(t)[s],n=(i[n]-c<o[a]&&(e.offsets.popper[a]-=o[a]-(i[n]-c)),i[a]+c>o[n]&&(e.offsets.popper[a]+=i[a]+c-o[n]),e.offsets.popper=_(e.offsets.popper),i[a]+i[s]/2-c/2),i=d(e.instance.popper),u=parseFloat(i["margin"+r],10),i=parseFloat(i["border"+r+"Width"],10),r=n-e.offsets.popper[a]-u-i,r=Math.max(Math.min(o[s]-c,r),0);e.arrowElement=t,e.offsets.arrow=(b(n={},a,Math.round(r)),b(n,l,""),n)}return e},element:"[x-arrow]"}
1,flip:{order:600,enabled:!0,fn:function(l,c){if(!(I(l.instance.modifiers,"inner")||l.flipped&&l.placement===l.originalPlacement)){var u=S(l.instance.popper,l.instance.reference,c.padding,c.boundariesElement),d=l.placement.split("-")[0],h=E(d),p=l.placement.split("-")[1]||"",f=[];switch(c.behavior){case W:f=[d,h];break;case V:f=B(d);break;case Y:f=B(d,!0);break;default:f=c.behavior}f.forEach(function(e,t){if(d!==e||f.length===t+1)return l;d=l.placement.split("-")[0],h=E(d);var e=l.offsets.popper,n=l.offsets.reference,i=Math.floor,n="left"===d&&i(e.right)>i(n.left)||"right"===d&&i(e.left)<i(n.right)||"top"===d&&i(e.bottom)>i(n.top)||"bottom"===d&&i(e.top)<i(n.bottom),o=i(e.left)<i(u.left),s=i(e.right)>i(u.right),r=i(e.top)<i(u.top),e=i(e.bottom)>i(u.bottom),i="left"===d&&o||"right"===d&&s||"top"===d&&r||"bottom"===d&&e,a=-1!==["top","bottom"].indexOf(d),o=!!c.flipVariations&&(a&&"start"===p&&o||a&&"end"===p&&s||!a&&"start"===p&&r||!a&&"end"===p&&e);(n||i||o)&&(l.flipped=!0,(n||i)&&(d=f[t+1]),o&&(p="end"===(s=p)?"start":"start"===s?"end":s),l.placement=d+(p?"-"+p:""),l.offsets.popper=w({},l.offsets.popper,$(l.instance.popper,l.offsets.reference,l.placement)),l=N(l.instance.modifiers,l,"flip"))})}return l},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=(o=e.offsets).popper,o=o.reference,s=-1!==["left","right"].indexOf(n),r=-1===["top","left"].indexOf(n);return i[s?"left":"top"]=o[n]-(r?i[s?"width":"height"]:0),e.placement=E(t),e.offsets.popper=_(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(H(e.instance.modifiers,"hide","preventOverflow")){var t=e.offsets.reference,n=A(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,o=e.offsets.popper,s=(void 0!==(s=A(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration)&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"),void 0!==s?s:t.gpuAcceleration),t=x(u(e.instance.popper)),r={position:o.position},o={left:Math.floor(o.left),top:Math.floor(o.top),bottom:Math.floor(o.bottom),right:Math.floor(o.right)},n="bottom"===n?"top":"bottom",i="right"===i?"left":"right",a=q("transform"),l=void 0,c=void 0,c="bottom"==n?-t.height+o.bottom:o.top,l="right"==i?-t.width+o.right:o.left,o=(s&&a?(r[a]="translate3d("+l+"px, "+c+"px, 0)",r[n]=0,r[i]=0,r.willChange="transform"):(t="right"==i?-1:1,r[n]=c*("bottom"==n?-1:1),r[i]=l*t,r.willChange=n+", "+i),{"x-placement":e.placement});return e.attributes=w({},o,e.attributes),e.styles=w({},r,e.styles),e.arrowStyles=w({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return j(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&j(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,o){var s=D(0,t,e),s=T(n.placement,s,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",s),j(t,{position:"absolute"}),n},gpuAcceleration:void 0}}},v=(v(O,[{key:"update",value:function(){return function(){var e;this.state.isDestroyed||((e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=D(this.state,this.popper,this.reference),e.placement=T(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.offsets.popper=$(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position="absolute",e=N(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,I(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[q("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return z.call(this)}}]),O);function O(e,t){var n=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=this,s=O;if(!(o instanceof s))throw new TypeError("Cannot call a class as a function");this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=L(this.update.bind(this)),this.options=w({},O.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(w({}
1,O.Defaults.modifiers,i.modifiers)).forEach(function(e){n.options.modifiers[e]=w({},O.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return w({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&r(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update();o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return v.Utils=("undefined"!=typeof window?window:global).PopperUtils,v.placements=U,v.Defaults=X,v}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).Util=t(e.jQuery)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=t(e),n="transitionend";function i(e){var t=this,n=!1;return o.default(this).one(r.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||r.triggerTransitionEnd(t)},e),this}var r={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");t&&"#"!==t||(t=(e=e.getAttribute("href"))&&"#"!==e?e.trim():"");try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){var t,n,i;return e&&(t=o.default(e).css("transition-duration"),e=o.default(e).css("transition-delay"),n=parseFloat(t),i=parseFloat(e),n||i)?(t=t.split(",")[0],e=e.split(",")[0],1e3*(parseFloat(t)+parseFloat(e))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){o.default(e).trigger(n)},supportsTransitionEnd:function(){return Boolean(n)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],s=t[i],s=s&&r.isElement(s)?"element":null==(s=s)?""+s:{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}},findShadowRoot:function(e){var t;return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?r.findShadowRoot(e.parentNode):null:null},jQueryDetection:function(){if(void 0===o.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=o.default.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")}};return r.jQueryDetection(),o.default.fn.emulateTransitionEnd=i,o.default.event.special[r.TRANSITION_END]={bindType:n,delegateType:n,handle:function(e){if(o.default(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},r}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","./util"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).Collapse=t(e.jQuery,e.Util)}(this,function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(e),l=n(t);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,i=arguments[t];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}var a="collapse",c="bs.collapse",s=r.default.fn[a],u={toggle:!0,parent:""},d={toggle:"boolean",parent:"(string|element)"},h="show",p="collapse",f="collapsing",g="collapsed",m='[data-toggle="collapse"]',v=function(){function s(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(m)),i=0,o=n.length;i<o;i++){var s=n[i],r=l.default.getSelectorFromElement(s),a=[].slice.call(document.querySelectorAll(r)).filter(function(e){return e===t});null!==r&&0<a.length&&(this._selector=r,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e,t,n=s.prototype;return n.toggle=function(){r.default(this._element).hasClass(h)?this.hide():this.show()},n.show=function(){var e,t,n,i,o=this;this._isTransitioning||r.default(this._element).hasClass(h)||(e=this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(e){return"string"==typeof o._config.parent?e.getAttribute("data-parent")===o._config.parent:e.classList.contains(p)})).length?null:e)&&(i=r.default(e).not(this._selector).data(c))&&i._isTransitioning||(n=r.default.Event("show.bs.collapse"),r.default(this._element).trigger(n),n.isDefaultPrevented())||(e&&(s._jQueryInterface.call(r.default(e).not(this._selector),"hide"),i||r.default(e).data(c,null)),t=this._getDimension(),r.default(this._element).removeClass(p).addClass(f),this._element.style[t]=0,this._triggerArray.length&&r.default(this._triggerArray).removeClass(g).attr("aria-expanded",!0),this.setTransitioning(!0),n="scroll"+(t[0].toUpperCase()+t.slice(1)),i=l.default.getTransitionDurationFromElement(this._element),r.default(this._element).one(l.default.TRANSITION_END,function(){r.default(o._element).removeClass(f).addClass(p+" "+h),o._element.style[t]="",o.setTransitioning(!1),r.default(o._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(i),this._element.style[t]=this._element[n]+"px")},n.hide=function(){var e=this;if(!this._isTransitioning&&r.default(this._element).hasClass(h)){var t=r.default.Event("hide.bs.collapse");if(r.default(this._element).trigger(t),!t.isDefaultPrevented()){var t=this._getDimension(),n=(this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",l.default.reflow(this._element),r.default(this._element).addClass(f).removeClass(p+" "+h),this._triggerArray.length);if(0<n)for(var i=0;i<n;i++){var o=this._triggerArray[i],s=l.default.getSelectorFromElement(o);null===s||r.default([].slice.call(document.querySelectorAll(s))).hasClass(h)||r.default(o).addClass(g).attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[t]="";t=l.default.getTransitionDurationFromElement(this._element);r.default(this._element).one(l.default.TRANSITION_END,function(){e.setTransitioning(!1),r.default(e._element).removeClass(f).addClass(p).trigger("hidden.bs.collapse")}).emulateTransitionEnd(t)}}},n.setTransitioning=function(e){this._isTransitioning=e},n.dispose=function(){r.default.removeData(this._element,c),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},n._getConfig=function(e){return(e=o({},u,e)).toggle=Boolean(e.toggle),l.default.typeCheckConfig(a,e,d),e},n._getDimension=function(){return r.default(this._element).hasClass("width")?"width":"height"},n._getParent=function(){var e,n=this,t=(l.default.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent),'[data-toggle="collapse"][data-parent="'+this._config.parent+'"]'),t=[].slice.call(e.querySelectorAll(t));return r.default(t).each(function(e,t){n._addAriaAndCollapsedClass(s._getTargetFromElement(t),[t])}),e},n._addAriaAndCollapsedClass=function(e,t){e=r.default(e).hasClass(h);t.length&&r.default(t).toggleClass(g,!e).attr("aria-expanded",e)},s._getTargetFromElement=function(e){e=l.default.getSelectorFromElement(e);return e?document.querySelector(e):null},s._jQueryInterface=function(i){return this.each(function(){var e=r.default(this),t=e.data(c),n=o({},u,e.data(),"object"==typeof i&&i?i:{});if(!t&&n.toggle&&"string"==typeof i&&/show|hide/.test(i)&&(n.toggle=!1),t||(t=new s(this,n),e.data(c,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method n
1amed "'+i+'"');t[i]()}})},n=s,t=[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return u}}],(e=null)&&i(n.prototype,e),t&&i(n,t),s}();return r.default(document).on("click.bs.collapse.data-api",m,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=r.default(this),e=l.default.getSelectorFromElement(this),e=[].slice.call(document.querySelectorAll(e));r.default(e).each(function(){var e=r.default(this),t=e.data(c)?"toggle":n.data();v._jQueryInterface.call(e,t)})}),r.default.fn[a]=v._jQueryInterface,r.default.fn[a].Constructor=v,r.default.fn[a].noConflict=function(){return r.default.fn[a]=s,v._jQueryInterface},v}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("popper.js"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","popper.js","./util"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).Tooltip=t(e.jQuery,e.Popper,e.Util)}(this,function(e,t,n){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(e),r=i(t),a=i(n);function l(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,i=arguments[t];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}var u=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],e={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},d=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,h=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function p(e,s,t){if(0===e.length)return e;if(t&&"function"==typeof t)return t(e);for(var t=(new window.DOMParser).parseFromString(e,"text/html"),r=Object.keys(s),a=[].slice.call(t.body.querySelectorAll("*")),n=function(e,t){var n=a[e],e=n.nodeName.toLowerCase();if(-1===r.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var i=[].slice.call(n.attributes),o=[].concat(s["*"]||[],s[e]||[]);i.forEach(function(e){!function(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===u.indexOf(n)||Boolean(e.nodeValue.match(d)||e.nodeValue.match(h));for(var i=t.filter(function(e){return e instanceof RegExp}),o=0,s=i.length;o<s;o++)if(n.match(i[o]))return 1}(e,o)&&n.removeAttribute(e.nodeName)})},i=0,o=a.length;i<o;i++)n(i);return t.body.innerHTML}var f="tooltip",g="bs.tooltip",m="."+g,o=s.default.fn[f],v="bs-tooltip",y=new RegExp("(^|\\s)"+v+"\\S+","g"),b=["sanitize","whiteList","sanitizeFn"],w={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},_={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},x={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:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:e,popperConfig:null},C="show",S={HIDE:"hide"+m,HIDDEN:"hidden"+m,SHOW:"show"+m,SHOWN:"shown"+m,INSERTED:"inserted"+m,CLICK:"click"+m,FOCUSIN:"focusin"+m,FOCUSOUT:"focusout"+m,MOUSEENTER:"mouseenter"+m,MOUSELEAVE:"mouseleave"+m},T="fade",D="show",k="hover",E="focus",$=function(){function o(e,t){if(void 0===r.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var e,t,n=o.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(e){var t,n;this._isEnabled&&(e?(t=this.constructor.DATA_KEY,(n=s.default(e.currentTarget).data(t))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),s.default(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):s.default(this.getTipElement()).hasClass(D)?this._leave(null,this):this._enter(null,this))},n.dispose=function(){clearTimeout(this._timeout),s.default.removeData(this.element,this.constructor.DATA_KEY),s.default(this.element).off(this.constructor.EVENT_KEY),s.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&s.default(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},n.show=function(){var t=this;if("none"===s.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e,n,i=s.default.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(s.default(this.element).trigger(i),n=a.default.findShadowRoot(this.element),n=s.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element),!i.isDefaultPrevented())&&n&&(i=this.getTipElement(),n=a.default.getUID(this.constructor.NAME),i.setAttribute("id",n),this.element.setAttribute("aria-describedby",n),this.setContent(),this.config.animation&&s.default(i).addClass(T),n="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,n=this._getAttachment(n),this.addAttachmentClass(n),e=this._getContainer(),s.default(i).data(this.constructor.DATA_KEY,this),s.default.contains(this.element.ownerDocument.documentElement,this.tip)||s.default(i).appendTo(e),s.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new r.default(this.element,i,this._getPopperConfig(n)),s.default(i).addClass(D),s.default(i).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&s.default(document.body).children().on("mouseover",null,s.default.noop),e=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,s.default(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)},s.default(this.tip).hasClass(T)?(n=a.default.getTransitionDurationFromElement(this.tip),s.default(this.tip).one(a.default.TRANSITION_END,e).emulateTransitionEnd(n)):e())},n.hide=function(e){function t(){n._hoverState!==C&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),s.default(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()}var n=this,i=this.getTipElement(),o=s.default.Event(this.constructor.Event.HIDE);s.default(this.element).trigger(o),o.isDefaultPrevented()||(s.default(i).removeClass(D),"ontouchstart"in document.documentElement&&s.default(document.body).children().off("mouseover",null,s.default.noop),this._activeTrigger.click=!1,this._activeTrigger[E]=!1,this._activeTrigger[k]=!1,s.default(this.tip).hasClass(T)?(o=a.default.getTransitionDurationFromElement(i),s.default(i).one(a.default.TRANSITION_END,t).emulateTransitionEnd(o)):t(),this._hoverState="")},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(e){s.default(this.getTipElement()).addClass(v+"-"+e)},n.getTipElement=function(){return this.tip=this.tip||s.default(this.config.template)[0],this.tip},n.setContent=function(){var e=this.getTipElement();this.setElementContent(s.default(e.querySelectorAll(".tooltip-inner")),this.getTitle()),s.default(e).removeClass(T+" "+D)},n.setElementContent=function(e,t){"object"==typeof t&&(t.nodeType||t.jquery)?this.config.html?s.default(t).parent().is(e)||e.empty().append(t):e.text(s.default(t).text()):this.config.html?(this.config.sanitize&&(t=p(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t)},n.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},n._getPopperConfig=function(e){var t=this;return c({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"}
1,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},this.config.popperConfig)},n._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=c({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},n._getContainer=function(){return!1===this.config.container?document.body:a.default.isElement(this.config.container)?s.default(this.config.container):s.default(document).find(this.config.container)},n._getAttachment=function(e){return _[e.toUpperCase()]},n._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(e){var t;"click"===e?s.default(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(e){return n.toggle(e)}):"manual"!==e&&(t=e===k?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,e=e===k?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,s.default(n.element).on(t,n.config.selector,function(e){return n._enter(e)}).on(e,n.config.selector,function(e){return n._leave(e)}))}),this._hideModalHandler=function(){n.element&&n.hide()},s.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=c({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||s.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),s.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?E:k]=!0),s.default(t.getTipElement()).hasClass(D)||t._hoverState===C?t._hoverState=C:(clearTimeout(t._timeout),t._hoverState=C,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===C&&t.show()},t.config.delay.show):t.show())},n._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||s.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),s.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?E:k]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){"out"===t._hoverState&&t.hide()},t.config.delay.hide):t.hide())},n._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},n._getConfig=function(e){var t=s.default(this.element).data();return Object.keys(t).forEach(function(e){-1!==b.indexOf(e)&&delete t[e]}),"number"==typeof(e=c({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),a.default.typeCheckConfig(f,e,this.constructor.DefaultType),e.sanitize&&(e.template=p(e.template,e.whiteList,e.sanitizeFn)),e},n._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},n._cleanTipClass=function(){var e=s.default(this.getTipElement()),t=e.attr("class").match(y);null!==t&&t.length&&e.removeClass(t.join(""))},n._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},n._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(s.default(e).removeClass(T),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},o._jQueryInterface=function(i){return this.each(function(){var e=s.default(this),t=e.data(g),n="object"==typeof i&&i;if((t||!/dispose|hide/.test(i))&&(t||(t=new o(this,n),e.data(g,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method n
1amed "'+i+'"');t[i]()}})},n=o,t=[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return x}},{key:"NAME",get:function(){return f}},{key:"DATA_KEY",get:function(){return g}},{key:"Event",get:function(){return S}},{key:"EVENT_KEY",get:function(){return m}},{key:"DefaultType",get:function(){return w}}],(e=null)&&l(n.prototype,e),t&&l(n,t),o}();return s.default.fn[f]=$._jQueryInterface,s.default.fn[f].Constructor=$,s.default.fn[f].noConflict=function(){return s.default.fn[f]=o,$._jQueryInterface},$}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("popper.js"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","popper.js","./util"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).Dropdown=t(e.jQuery,e.Popper,e.Util)}(this,function(e,t,n){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=i(e),o=i(t),s=i(n);function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,i=arguments[t];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}var l="dropdown",d="bs.dropdown",h="."+d,e=".data-api",c=u.default.fn[l],p=new RegExp("38|40|27"),f="hide"+h,g="hidden"+h,t="click"+h+e,n="keydown"+h+e,m="disabled",v="show",y="dropdown-menu-right",b='[data-toggle="dropdown"]',w=".dropdown-menu",_={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},x={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},C=function(){function c(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e,t,n=c.prototype;return n.toggle=function(){var e;this._element.disabled||u.default(this._element).hasClass(m)||(e=u.default(this._menu).hasClass(v),c._clearMenus(),e)||this.show(!0)},n.show=function(e){if(void 0===e&&(e=!1),!(this._element.disabled||u.default(this._element).hasClass(m)||u.default(this._menu).hasClass(v))){var t={relatedTarget:this._element},n=u.default.Event("show.bs.dropdown",t),i=c._getParentFromElement(this._element);if(u.default(i).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar&&e){if(void 0===o.default)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");n=this._element;"parent"===this._config.reference?n=i:s.default.isElement(this._config.reference)&&(n=this._config.reference,void 0!==this._config.reference.jquery)&&(n=this._config.reference[0]),"scrollParent"!==this._config.boundary&&u.default(i).addClass("position-static"),this._popper=new o.default(n,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===u.default(i).closest(".navbar-nav").length&&u.default(document.body).children().on("mouseover",null,u.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),u.default(this._menu).toggleClass(v),u.default(i).toggleClass(v).trigger(u.default.Event("shown.bs.dropdown",t))}}},n.hide=function(){var e,t,n;this._element.disabled||u.default(this._element).hasClass(m)||!u.default(this._menu).hasClass(v)||(e={relatedTarget:this._element},t=u.default.Event(f,e),n=c._getParentFromElement(this._element),u.default(n).trigger(t),t.isDefaultPrevented())||(this._popper&&this._popper.destroy(),u.default(this._menu).toggleClass(v),u.default(n).toggleClass(v).trigger(u.default.Event(g,e)))},n.dispose=function(){u.default.removeData(this._element,d),u.default(this._element).off(h),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},n.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},n._addEventListeners=function(){var t=this;u.default(this._element).on("click.bs.dropdown",function(e){e.preventDefault(),e.stopPropagation(),t.toggle(
1)})},n._getConfig=function(e){return e=a({},this.constructor.Default,u.default(this._element).data(),e),s.default.typeCheckConfig(l,e,this.constructor.DefaultType),e},n._getMenuElement=function(){var e;return this._menu||(e=c._getParentFromElement(this._element))&&(this._menu=e.querySelector(w)),this._menu},n._getPlacement=function(){var e=u.default(this._element.parentNode),t="bottom-start";return e.hasClass("dropup")?t=u.default(this._menu).hasClass(y)?"top-end":"top-start":e.hasClass("dropright")?t="right-start":e.hasClass("dropleft")?t="left-start":u.default(this._menu).hasClass(y)&&(t="bottom-end"),t},n._detectNavbar=function(){return 0<u.default(this._element).closest(".navbar").length},n._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=a({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},n._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),a({},e,this._config.popperConfig)},c._jQueryInterface=function(t){return this.each(function(){var e=u.default(this).data(d);if(e||(e=new c(this,"object"==typeof t?t:null),u.default(this).data(d,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},c._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var t=[].slice.call(document.querySelectorAll(b)),n=0,i=t.length;n<i;n++){var o,s,r=c._getParentFromElement(t[n]),a=u.default(t[n]).data(d),l={relatedTarget:t[n]};e&&"click"===e.type&&(l.clickEvent=e),a&&(o=a._menu,!u.default(r).hasClass(v)||e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&u.default.contains(r,e.target)||(s=u.default.Event(f,l),u.default(r).trigger(s),s.isDefaultPrevented())||("ontouchstart"in document.documentElement&&u.default(document.body).children().off("mouseover",null,u.default.noop),t[n].setAttribute("aria-expanded","false"),a._popper&&a._popper.destroy(),u.default(o).removeClass(v),u.default(r).removeClass(v).trigger(u.default.Event(g,l))))}},c._getParentFromElement=function(e){var t,n=s.default.getSelectorFromElement(e);return(t=n?document.querySelector(n):t)||e.parentNode},c._dataApiKeydownHandler=function(e){var t,n,i;(/input|textarea/i.test(e.target.tagName)?32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||u.default(e.target).closest(w).length):!p.test(e.which))||this.disabled||u.default(this).hasClass(m)||(t=c._getParentFromElement(this),!(n=u.default(t).hasClass(v))&&27===e.which)||(e.preventDefault(),e.stopPropagation(),n&&27!==e.which&&32!==e.which?0!==(n=[].slice.call(t.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(e){return u.default(e).is(":visible")})).length&&(i=n.indexOf(e.target),38===e.which&&0<i&&i--,40===e.which&&i<n.length-1&&i++,n[i=i<0?0:i].focus()):(27===e.which&&u.default(t.querySelector(b)).trigger("focus"),u.default(this).trigger("click")))},n=c,t=[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return _}},{key:"DefaultType",get:function(){return x}}],(e=null)&&r(n.prototype,e),t&&r(n,t),c}();return u.default(document).on(n,b,C._dataApiKeydownHandler).on(n,w,C._dataApiKeydownHandler).on(t+" keyup.bs.dropdown.data-api",C._clearMenus).on(t,b,function(e){e.preventDefault(),e.stopPropagation(),C._jQueryInterface.call(u.default(this),"toggle")}).on(t,".dropdown form",function(e){e.stopPropagation()}),u.default.fn[l]=C._jQueryInterface,u.default.fn[l].Constructor=C,u.default.fn[l].noConflict=function(){return u.default.fn[l]=c,C._jQueryInterface},C}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","./util"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).Tab=t(e.jQuery,e.Util)}(this,function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(e),l=n(t);function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var s="bs.tab",i=a.default.fn.tab,c="active",u=".active",d="> li > .active",r=function(){function i(e){this._element=e}var e,t,n=i.prototype;return n.show=function(){var e,t,n,i,o,s,r=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&a.default(this._element).hasClass(c)||a.default(this._element).hasClass("disabled")||(t=a.default(this._element).closest(".
1nav, .list-group")[0],n=l.default.getSelectorFromElement(this._element),t&&(o="UL"===t.nodeName||"OL"===t.nodeName?d:u,i=(i=a.default.makeArray(a.default(t).find(o)))[i.length-1]),o=a.default.Event("hide.bs.tab",{relatedTarget:this._element}),s=a.default.Event("show.bs.tab",{relatedTarget:i}),i&&a.default(i).trigger(o),a.default(this._element).trigger(s),s.isDefaultPrevented())||o.isDefaultPrevented()||(n&&(e=document.querySelector(n)),this._activate(this._element,t),s=function(){var e=a.default.Event("hidden.bs.tab",{relatedTarget:r._element}),t=a.default.Event("shown.bs.tab",{relatedTarget:i});a.default(i).trigger(e),a.default(r._element).trigger(t)},e?this._activate(e,e.parentNode,s):s())},n.dispose=function(){a.default.removeData(this._element,s),this._element=null},n._activate=function(e,t,n){function i(){return o._transitionComplete(e,s,n)}var o=this,s=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?a.default(t).children(u):a.default(t).find(d))[0],t=n&&s&&a.default(s).hasClass("fade");s&&t?(t=l.default.getTransitionDurationFromElement(s),a.default(s).removeClass("show").one(l.default.TRANSITION_END,i).emulateTransitionEnd(t)):i()},n._transitionComplete=function(e,t,n){var i;t&&(a.default(t).removeClass(c),(i=a.default(t.parentNode).find("> .dropdown-menu .active")[0])&&a.default(i).removeClass(c),"tab"===t.getAttribute("role"))&&t.setAttribute("aria-selected",!1),a.default(e).addClass(c),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),l.default.reflow(e),e.classList.contains("fade")&&e.classList.add("show"),e.parentNode&&a.default(e.parentNode).hasClass("dropdown-menu")&&((i=a.default(e).closest(".dropdown")[0])&&(t=[].slice.call(i.querySelectorAll(".dropdown-toggle")),a.default(t).addClass(c)),e.setAttribute("aria-expanded",!0)),n&&n()},i._jQueryInterface=function(n){return this.each(function(){var e=a.default(this),t=e.data(s);if(t||(t=new i(this),e.data(s,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},n=i,t=[{key:"VERSION",get:function(){return"4.6.0"}}],(e=null)&&o(n.prototype,e),t&&o(n,t),i}();return a.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(e){e.preventDefault(),r._jQueryInterface.call(a.default(this),"show")}),a.default.fn.tab=r._jQueryInterface,a.default.fn.tab.Constructor=r,a.default.fn.tab.noConflict=function(){return a.default.fn.tab=i,r._jQueryInterface},r}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).Button=t(e.jQuery)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=t(e);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var n="button",r="bs.button",o=s.default.fn[n],l="active",e='[data-toggle^="button"]',c='input:not([type="hidden"])',a=function(){function o(e){this._element=e,this.shouldAvoidTriggerChange=!1}var e,t,n=o.prototype;return n.toggle=function(){var e,t=!0,n=!0,i=s.default(this._element).closest('[data-toggle="buttons"]')[0];i&&(e=this._element.querySelector(c))&&("radio"===e.type&&(e.checked&&this._element.classList.contains(l)?t=!1:(i=i.querySelector(".active"))&&s.default(i).removeClass(l)),t&&("checkbox"!==e.type&&"radio"!==e.type||(e.checked=!this._element.classList.contains(l)),this.shouldAvoidTriggerChange||s.default(e).trigger("change")),e.focus(),n=!1),this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(l)),t&&s.default(this._element).toggleClass(l))},n.dispose=function(){s.default.removeData(this._element,r),this._element=null},o._jQueryInterface=function(n,i){return this.each(function(){var e=s.default(this),t=e.data(r);t||(t=new o(this),e.data(r,t)),t.shouldAvoidTriggerChange=i,"toggle"===n&&t[n]()})},n=o,t=[{key:"VERSION",get:function(){return"4.6.0"}}],(e=null)&&i(n.prototype,e),t&&i(n,t),o}();return s.default(document).on("click.bs.button.data-api",e,function(e){var t,n=e.target,i=n;!(n=s.default(n).hasClass("btn")?n:s.default(n).closest(".btn")[0])||n.hasAttribute("disabled")||n.classList.contains("disabled")||(t=n.querySelector(c))&&(t.hasAttribute("disabled")||t.classList.contains("disabled"))?e.preventDefault():"INPUT"!==i.tagName&&"LABEL"===n.tagName||a._jQueryInterface.call(s.default(n),"toggle","INPUT"===i.tagName)}).on("focus.bs.button.data-api blur.bs.button.data-api",e,function(e){var t=s.default(e.target).closest(".btn")[0];s.default(t).toggleClass("focus",/^focus(in)?$/.test(e.type))}),s.default(window).on("load.bs.button.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),t=0,n=e.length;t<n;t++){var i=e[t],o=i.querySelector(c);
1o.checked||o.hasAttribute("checked")?i.classList.add(l):i.classList.remove(l)}for(var s=0,r=(e=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;s<r;s++){var a=e[s];"true"===a.getAttribute("aria-pressed")?a.classList.add(l):a.classList.remove(l)}}),s.default.fn[n]=a._jQueryInterface,s.default.fn[n].Constructor=a,s.default.fn[n].noConflict=function(){return s.default.fn[n]=o,a._jQueryInterface},a}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","./util"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).Modal=t(e.jQuery,e.Util)}(this,function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(e),a=n(t);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,i=arguments[t];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}var l="modal",c="bs.modal",u="."+c,o=r.default.fn[l],d={backdrop:!0,keyboard:!0,focus:!0,show:!0},h={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},p="hidden"+u,f="show"+u,g="focusin"+u,m="resize"+u,v="click.dismiss"+u,y="keydown.dismiss"+u,b="mousedown.dismiss"+u,w="modal-open",_="fade",x="show",C="modal-static",S=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",T=".sticky-top",D=function(){function o(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e,t,n=o.prototype;return n.toggle=function(e){return this._isShown?this.hide():this.show(e)},n.show=function(e){var t,n=this;this._isShown||this._isTransitioning||(r.default(this._element).hasClass(_)&&(this._isTransitioning=!0),t=r.default.Event(f,{relatedTarget:e}),r.default(this._element).trigger(t),this._isShown)||t.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),r.default(this._element).on(v,'[data-dismiss="modal"]',function(e){return n.hide(e)}),r.default(this._dialog).on(b,function(){r.default(n._element).one("mouseup.dismiss.bs.modal",function(e){r.default(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(e)}))},n.hide=function(e){var t=this;e&&e.preventDefault(),this._isShown&&!this._isTransitioning&&(e=r.default.Event("hide.bs.modal"),r.default(this._element).trigger(e),this._isShown)&&!e.isDefaultPrevented()&&(this._isShown=!1,(e=r.default(this._element).hasClass(_))&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),r.default(document).off(g),r.default(this._element).removeClass(x),r.default(this._element).off(v),r.default(this._dialog).off(b),e?(e=a.default.getTransitionDurationFromElement(this._element),r.default(this._element).one(a.default.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(e)):this._hideModal())},n.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return r.default(e).off(u)}),r.default(document).off(g),r.default.removeData(this._element,c),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(e){return e=s({},d,e),a.default.typeCheckConfig(l,e,h),e},n._triggerBackdropTransition=function(){var e,t,n=this,i=r.default.Event("hidePrevented.bs.modal");r.default(this._element).trigger(i),i.isDefaultPrevented()||((e=this._element.scrollHeight>document.documentElement.clientHeight)||(this._element.style.overflowY="hidden"),this._element.classList.add(C),t=a.default.getTransitionDurationFromElement(this._dialog),r.default(this._element).off(a.default.TRANSITION_END),r.default(this._element).one(a.default.TRANSITION_END,function(){n._element.classList.remove(C),e||r.default(n._element).one(a.default.TRANSITION_END,function(){n._element.style.overflowY=""}).emulateTransitionEnd(n._element,t)}).emulateTransitionEnd(t),this._element.focus())},n._showElement=function(e){function t(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,r.default(n._element).trigger(s)}var n=this,i=r.default(this._element).hasClass(_),o=this._dialog?this._dialog.querySelector(".modal-body"):null,s=(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.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),r.default(this._dialog).hasClass("modal-dialog-scrollable")&&o?o.scrollTop=0:this._element.scrollTop=0,i&&a.default.reflow(this._element),r.default(this._element).addClass(x),this._config.focus&&this._enforceFocus(),r.default.Event("shown.bs.modal",{relatedTarget:e}));i?(o=a.default.getTransitionDurationFromElement(this._dialog),r.default(this._dialog).one(a.default.TRANSITION_END,t).emulateTransitionEnd(o)):t()},n._enforceFocus=function(){var t=this;r.default(document).off(g).on(g,function(e){document!==e.target&&t._element!==e.target&&0===r.default(t._element).has(e.target).length&&t._element.focus()})},n._setEscapeEvent=function(){var t=this;this._isShown?r.default(this._element).on(y,function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()}):this._isShown||r.default(this._element).off(y)},n._setResizeEvent=function(){var t=this;this._isShown?r.default(window).on(m,function(e){return t.handleUpdate(e)}):r.default(window).off(m)},n._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){r.default(document.body).removeClass(w),e._resetAdjustments(),e._resetScrollbar(),r.default(e._element).trigger(p)})},n._removeBackdrop=function(){this._backdrop&&(r.default(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(e){var t,n=this,i=r.default(this._element).hasClass(_)?_:"";this._isShown&&this._config.backdrop?(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),r.default(this._backdrop).appendTo(document.body),r.default(this._element).on(v,function(e){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===n._config.backdrop?n._triggerBackdropTransition():n.hide())}),i&&a.default.reflow(this._backdrop),r.default(this._backdrop).addClass(x),e&&(i?(i=a.default.getTransitionDurationFromElement(this._backdrop),r.default(this._backdrop).one(a.default.TRANSITION_END,e).emulateTransitionEnd(i)):e())):!this._isShown&&this._backdrop?(r.default(this._backdrop).removeClass(x),i=function(){n._removeBackdrop(),e&&e()},r.default(this._element).hasClass(_)?(t=a.default.getTransitionDurationFromElement(this._backdrop),r.default(this._backdrop).one(a.default.TRANSITION_END,i).emulateTransitionEnd(t)):i()):e&&e()},n._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var e,t,o=this;this._isBodyOverflowing&&(e=[].slice.call(document.querySelectorAll(S)),t=[].slice.call(document.querySelectorAll(T)),r.default(e).each(function(e,t){var n=t.style.paddingRight,i=r.default(t).css("padding-right");r.default(t).data("padding-right",n).css("padding-right",parseFloat(i)+o._scrollbarWidth+"px")}),r.default(t).each(function(e,t){var n=t.style.marginRight,i=r.default(t).css("margin-right");r.default(t).data("margin-right",n).css("margin-right",parseFloat(i)-o._scrollbarWidth+"px")}),e=document.body.style.paddingRight,t=r.default(document.body).css("padding-right"),r.default(document.body).data("padding-right",e).css("padding-right",parseFloat(t)+this._scrollbarWidth+"px")),r.default(document.body).addClass(w)},n._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(S)),e=(r.default(e).each(function(e,t){var n=r.default(t).data("padding-right");r.default(t).removeData("padding-right"),t.style.paddingRight=n||""}),[].slice.call(document.querySelectorAll(T))),e=(r.default(e).each(function(e,t){var n=r.default(t).data("margin-right");void 0!==n&&r.default(t).css("margin-right",n).removeData("margin-right")}),r.default(document.body).data("padding-right"));r.default(document.body).removeData("padding-right"),document.body.style.paddingRight=e||""},n._getScrollbarWidth=function(){var e=document.createElement("div"),t=(e.className="modal-scrollbar-measure",document.body.appendChild(e),e.getBoundingClientRect().width-e.clientWidth);return document.body.removeChild(e),t},o._jQueryInterface=function(n,i){return this.each(function(){var e=r.default(this).data(c),t=s({},d,r.default(this).data(),"object"==typeof n&&n?n:{});if(e||(e=new o(this,t),r.default(this).data(c,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method n
1amed "'+n+'"');e[n](i)}else t.show&&e.show(i)})},n=o,t=[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return d}}],(e=null)&&i(n.prototype,e),t&&i(n,t),o}();return r.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var t,n=this,i=a.default.getSelectorFromElement(this),i=(i&&(t=document.querySelector(i)),r.default(t).data(c)?"toggle":s({},r.default(t).data(),r.default(this).data())),o=("A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault(),r.default(t).one(f,function(e){e.isDefaultPrevented()||o.one(p,function(){r.default(n).is(":visible")&&n.focus()})}));D._jQueryInterface.call(r.default(t),i,this)}),r.default.fn[l]=D._jQueryInterface,r.default.fn[l].Constructor=D,r.default.fn[l].noConflict=function(){return r.default.fn[l]=o,D._jQueryInterface},D}),function(l,n,i,s){function c(e,t){this.settings=null,this.options=l.extend({},c.Defaults,t),this.$element=l(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(e,t){this._handlers[t]=l.proxy(this[t],this)},this)),l.each(c.Plugins,l.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),l.each(c.Workers,l.proxy(function(e,t){this._pipe.push({filter:t.filter,run:l.proxy(t.run,this)})},this)),this.setup(),this.initialize()}c.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:n,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},c.Width={Default:"default",Inner:"inner",Outer:"outer"},c.Type={Event:"event",State:"state"},c.Plugins={},c.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(e){var t=this.settings.margin||"",n=!this.settings.autoWidth,i=this.settings.rtl,i={width:"auto","margin-left":i?t:"","margin-right":i?"":t};n||this.$stage.children().css(i),e.css=i}},{filter:["width","items","settings"],run:function(e){var t,n=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=this._items.length,o=!this.settings.autoWidth,s=[];for(e.items={merge:!1,width:n};i--;)t=this._mergers[i],t=this.settings.mergeFit&&Math.min(t,this.settings.items)||t,e.items.merge=1<t||e.items.merge,s[i]=o?n*t:this._items[i].width();this._widths=s}},{filter:["items","settings"],run:function(){var e=[],t=this._items,n=this.settings,i=Math.max(2*n.items,4),o=2*Math.ceil(t.length/2),s=n.loop&&t.length?n.rewind?i:Math.max(i,o):0,r="",a="";for(s/=2;s--;)e.push(this.normalize(e.length/2,!0)),r+=t[e[e.length-1]][0].outerHTML,e.push(this.normalize(t.length-1-(e.length-1)/2,!0)),a=t[e[e.length-1]][0].outerHTML+a;this._clones=e,l(r).addClass("cloned").appendTo(this.$stage),l(a).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var e,t,n=this.settings.rtl?1:-1,i=this._clones.length+this._items.length,o=-1,s=[];++o<i;)e=s[o-1]||0,t=this._widths[this.relative(o)]+this.settings.margin,s.push(e+t*n);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var e=this.settings.stagePadding,t=this._coordinates,t={width:Math.ceil(Math.abs(t[t.length-1]))+2*e,"padding-left":e||"","padding-right":e||""};this.$stage.css(t)}},{filter:["width","items","settings"],run:function(e){var t=this._coordinates.length,n=!this.settings.autoWidth,i=this.$stage.children();if(n&&e.items.merge)for(;t--;)e.css.width=this._widths[this.relative(t)],i.eq(t).css(e.css);else n&&(e.css.width=e.items.width,i.css(e.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(e){e.current=e.current?this.$stage.children().index(e.current):0,e.current=Math.max(this.minimum(),Math.min(this.maximum(),e.current)),this.reset(e.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){for(var e,t,n=this.settings.rtl?1:-1,i=2*this.settings.stagePadding,o=this.coordinates(this.current())+i,s=o+this.width()*n,r=[],a=0,l=this._coordinates.length;a<l;a++)e=this._coordinates[a-1]||0,t=Math.abs(this._coordinates[a])+i*n,(this.op(e,"<=",o)&&this.op(e,">",s)||this.op(t,"<",o)&&this.op(t,">",s))&&r.push(a);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+r.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],c.prototype.initialize=function(){var e,t;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(e=this.$element.find("img"),t=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:s,t=this.$element.children(t).width(),e.length)&&t<=0&&this.preloadAutoWidthImages(e),this.$element.addClass(this.options.loadingClass),this.$stage=l("
1<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},c.prototype.setup=function(){var t=this.viewport(),e=this.options.responsive,n=-1,i=null;e?(l.each(e,function(e){e<=t&&n<e&&(n=Number(e))}),"function"==typeof(i=l.extend({},this.options,e[n])).stagePadding&&(i.stagePadding=i.stagePadding()),delete i.responsive,i.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):i=l.extend({},this.options),this.trigger("change",{property:{name:"settings",value:i}}),this._breakpoint=n,this.settings=i,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},c.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},c.prototype.prepare=function(e){var t=this.trigger("prepare",{content:e});return t.data||(t.data=l("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:t.data}),t.data},c.prototype.update=function(){for(var e=0,t=this._pipe.length,n=l.proxy(function(e){return this[e]},this._invalidated),i={};e<t;)(this._invalidated.all||0<l.grep(this._pipe[e].filter,n).length)&&this._pipe[e].run(i),e++;this._invalidated={},this.is("valid")||this.enter("valid")},c.prototype.width=function(e){switch(e=e||c.Width.Default){case c.Width.Inner:case c.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},c.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},c.prototype.onThrottledResize=function(){n.clearTimeout(this.resizeTimer),this.resizeTimer=n.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},c.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},c.prototype.registerEventHandlers=function(){l.support.transition&&this.$stage.on(l.support.transition.end+".owl.core",l.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(n,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",l.proxy(this.onDragEnd,this)))},c.prototype.onDragStart=function(e){var t=null;3!==e.which&&(t=l.support.transform?{x:(t=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===t.length?12:4],y:t[16===t.length?13:5]}:(t=this.$stage.position(),{x:this.settings.rtl?t.left+this.$stage.width()-this.width()+this.settings.margin:t.left,y:t.top}),this.is("animating")&&(l.support.transform?this.animate(t.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=l(e.target),this._drag.stage.start=t,this._drag.stage.current=t,this._drag.pointer=this.pointer(e),l(i).on("mouseup.owl.core touchend.owl.core",l.proxy(this.onDragEnd,this)),l(i).one("mousemove.owl.core touchmove.owl.core",l.proxy(function(e){var t=this.difference(this._drag.pointer,this.pointer(e));l(i).on("mousemove.owl.core touchmove.owl.core",l.proxy(this.onDragMove,this)),Math.abs(t.x)<Math.abs(t.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},c.prototype.onDragMove=function(e){var t=null,n=null,i=this.difference(this._drag.pointer,this.pointer(e)),o=this.difference(this._drag.stage.start,i);this.is("dragging")&&(e.preventDefault(),this.settings.loop?(t=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-t,o.x=((o.x-t)%n+n)%n+t):(t=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),e=this.settings.pullDrag?-1*i.x/5:0,o.x=Math.max(Math.min(o.x,t+e),n+e)),this._drag.stage.current=o,this.animate(o.x))},c.prototype.onDragEnd=function(e){var e=this.difference(this._drag.pointer,this.pointer(e)),t=this._drag.stage.current,n=0<e.x^this.settings.rtl?"left":"right";l(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==e.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(t.x,0!==e.x?n:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=n,3<Math.abs(e.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1}),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},c.prototype.closest=function(n,i){var o=-1,s=this.width(),r=this.coordinates();return this.settings.freeDrag||l.each(r,l.proxy(function(e,t){return"left"===i&&t-30<n&&n<t+30?o=e:"r
1ight"===i&&t-s-30<n&&n<t-s+30?o=e+1:this.op(n,"<",t)&&this.op(n,">",r[e+1]||t-s)&&(o="left"===i?e+1:e),-1===o},this)),this.settings.loop||(this.op(n,">",r[this.minimum()])?o=n=this.minimum():this.op(n,"<",r[this.maximum()])&&(o=n=this.maximum())),o},c.prototype.animate=function(e){var t=0<this.speed();this.is("animating")&&this.onTransitionEnd(),t&&(this.enter("animating"),this.trigger("translate")),l.support.transform3d&&l.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"}):t?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,l.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},c.prototype.is=function(e){return this._states.current[e]&&0<this._states.current[e]},c.prototype.current=function(e){if(e!==s){if(0===this._items.length)return s;var t;e=this.normalize(e),this._current!==e&&((t=this.trigger("change",{property:{name:"position",value:e}})).data!==s&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}}))}return this._current},c.prototype.invalidate=function(e){return"string"===l.type(e)&&(this._invalidated[e]=!0,this.is("valid"))&&this.leave("valid"),l.map(this._invalidated,function(e,t){return t})},c.prototype.reset=function(e){(e=this.normalize(e))!==s&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},c.prototype.normalize=function(e,t){var n=this._items.length,t=t?0:this._clones.length;return!this.isNumeric(e)||n<1?e=s:(e<0||n+t<=e)&&(e=((e-t/2)%n+n)%n+t/2),e},c.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},c.prototype.maximum=function(e){var t,n,i,o=this.settings,s=this._coordinates.length;if(o.loop)s=this._clones.length/2+this._items.length-1;else if(o.autoWidth||o.merge){for(t=this._items.length,n=this._items[--t].width(),i=this.$element.width();t--&&!(i<(n+=this._items[t].width()+this.settings.margin)););s=t+1}else s=o.center?this._items.length-1:this._items.length-o.items;return e&&(s-=this._clones.length/2),Math.max(s,0)},c.prototype.minimum=function(e){return e?0:this._clones.length/2},c.prototype.items=function(e){return e===s?this._items.slice():(e=this.normalize(e,!0),this._items[e])},c.prototype.mergers=function(e){return e===s?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},c.prototype.clones=function(n){function i(e){return e%2==0?o+e/2:t-(e+1)/2}var t=this._clones.length/2,o=t+this._items.length;return n===s?l.map(this._clones,function(e,t){return i(t)}):l.map(this._clones,function(e,t){return e===n?i(t):null})},c.prototype.speed=function(e){return e!==s&&(this._speed=e),this._speed},c.prototype.coordinates=function(e){var t,n=1,i=e-1;return e===s?l.map(this._coordinates,l.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(n=-1,i=e+1),t=this._coordinates[e],t+=(this.width()-t+(this._coordinates[i]||0))/2*n):t=this._coordinates[i]||0,Math.ceil(t))},c.prototype.duration=function(e,t,n){return 0===n?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(n||this.settings.smartSpeed)},c.prototype.to=function(e,t){var n=this.current(),i=e-this.relative(n),o=(0<i)-(i<0),s=this._items.length,r=this.minimum(),a=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(i)>s/2&&(i+=-1*o*s),(o=(((e=n+i)-r)%s+s)%s+r)!==e&&o-i<=a&&0<o-i&&this.reset(n=(e=o)-i)):e=this.settings.rewind?(e%(a+=1)+a)%a:Math.max(r,Math.min(a,e)),this.speed(this.duration(n,e,t)),this.current(e),this.$element.is(":visible")&&this.update()},c.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},c.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},c.prototype.onTransitionEnd=function(e){if(e!==s&&(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},c.prototype.viewport=function(){var e;return this.options.responsiveBaseElement!==n?e=l(this.options.responsiveBaseElement).width():n.innerWidth?e=n.innerWidth:i.documentElement&&i.documentElement.clientWidth?e=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),e},c.prototype.replace=function(e){this.$stage.empty(),this._items=[],e=e&&(e instanceof jQuery?e:l(e)),(e=this.settings.nestedItemSelector?e.find("."+this.settings.nestedItemSelector):e).filter(function(){return 1===this.nodeType}).each(l.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},c.prototype.add=function(e,t){var n=this.relative(this._current);t=t===s?this._items.length:this.normalize(t,!0),e=e instanceof jQuery?e:l(e),this.trigger("add",{content:e,position:t}),e=this.prepare(e),0===this._items.length||t===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[t-1].after(e),this._items.push(e),this._mergers.push(+e.f
vendor: 4,381 bytes, line 1
1ind("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[t].before(e),this._items.splice(t,0,e),this._mergers.splice(t,0,+e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:e,position:t})},c.prototype.remove=function(e){(e=this.normalize(e,!0))!==s&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},c.prototype.preloadAutoWidthImages=function(e){e.each(l.proxy(function(e,t){this.enter("pre-loading"),t=l(t),l(new Image).one("load",l.proxy(function(e){t.attr("src",e.target.src),t.css("opacity",1),this.leave("pre-loading"),this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",t.attr("src")||t.attr("data-src")||t.attr("data-src-retina"))},this))},c.prototype.destroy=function(){for(var e in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),l(i).off(".owl.core"),!1!==this.settings.responsive&&(n.clearTimeout(this.resizeTimer),this.off(n,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[e].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},c.prototype.op=function(e,t,n){var i=this.settings.rtl;switch(t){case"<":return i?n<e:e<n;case">":return i?e<n:n<e;case">=":return i?e<=n:n<=e;case"<=":return i?n<=e:e<=n}},c.prototype.on=function(e,t,n,i){e.addEventListener?e.addEventListener(t,n,i):e.attachEvent&&e.attachEvent("on"+t,n)},c.prototype.off=function(e,t,n,i){e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent&&e.detachEvent("on"+t,n)},c.prototype.trigger=function(e,t,n,i,o){var s={item:{count:this._items.length,index:this.current()}},r=l.camelCase(l.grep(["on",e,n],function(e){return e}).join("-").toLowerCase()),a=l.Event([e,"owl",n||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},s,t));return this._supress[e]||(l.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(a)}),this.register({type:c.Type.Event,name:e}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[r]&&this.settings[r].call(this,a)),a},c.prototype.enter=function(e){l.each([e].concat(this._states.tags[e]||[]),l.proxy(function(e,t){this._states.current[t]===s&&(this._states.current[t]=0),this._states.current[t]++},this))},c.prototype.leave=function(e){l.each([e].concat(this._states.tags[e]||[]),l.proxy(function(e,t){this._states.current[t]--},this))},c.prototype.register=function(n){var t;n.type===c.Type.Event?(l.event.special[n.name]||(l.event.special[n.name]={}),l.event.special[n.name].owl||(t=l.event.special[n.name]._default,l.event.special[n.name]._default=function(e){return!t||!t.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&-1<e.namespace.indexOf("owl"):t.apply(this,arguments)},l.event.special[n.name].owl=!0)):n.type===c.Type.State&&(this._states.tags[n.name]?this._states.tags[n.name]=this._states.tags[n.name].concat(n.tags):this._states.tags[n.name]=n.tags,this._states.tags[n.name]=l.grep(this._states.tags[n.name],l.proxy(function(e,t){return l.inArray(e,this._states.tags[n.name])===t},this)))},c.prototype.suppress=function(e){l.each(e,l.proxy(function(e,t){this._supress[t]=!0},this))},c.prototype.release=function(e){l.each(e,l.proxy(function(e,t){delete this._supress[t]},this))},c.prototype.pointer=function(e){var t={x:null,y:null};return(e=(e=e.originalEvent||e||n.event).touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e).pageX?(t.x=e.pageX,t.y=e.pageY):(t.x=e.clientX,t.y=e.clientY),t},c.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},c.prototype.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},l.fn.owlCarousel=function(t){var i=Array.prototype.slice.call(arguments,1
vendor: 22,488 bytes, line 1
1);return this.each(function(){var e=l(this),n=e.data("owl.carousel");n||(n=new c(this,"object"==typeof t&&t),e.data("owl.carousel",n),l.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,t){n.register({type:c.Type.Event,name:t}),n.$element.on(t+".owl.carousel.core",l.proxy(function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([t]),n[t].apply(this,[].slice.call(arguments,1)),this.release([t]))},n))})),"string"==typeof t&&"_"!==t.charAt(0)&&n[t].apply(n,i)})},l.fn.owlCarousel.Constructor=c}(window.Zepto||window.jQuery,window,document),function(t,n){function i(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)}i.Defaults={autoRefresh:!0,autoRefreshInterval:500},i.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=n.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},i.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible)&&this._core.invalidate("width")&&this._core.refresh()},i.prototype.destroy=function(){var e,t;for(e in n.clearInterval(this._interval),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=i}(window.Zepto||window.jQuery,window,document),function(a,o){function t(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type))for(var t=this._core.settings,n=t.center&&Math.ceil(t.items/2)||t.items,i=t.center&&-1*n||0,o=(e.property&&void 0!==e.property.value?e.property.value:this._core.current())+i,s=this._core.clones().length,r=a.proxy(function(e,t){this.load(t)},this);i++<n;)this.load(s/2+this._core.relative(o)),s&&a.each(this._core.clones(this._core.relative(o)),r),o++},this)},this._core.options=a.extend({},t.Defaults,this._core.options),this._core.$element.on(this._handlers)}t.Defaults={lazyLoad:!1},t.prototype.load=function(e){var e=this._core.$stage.children().eq(e),t=e&&e.find(".owl-lazy");!t||-1<a.inArray(e.get(0),this._loaded)||(t.each(a.proxy(function(e,t){var n=a(t),i=1<o.devicePixelRatio&&n.attr("data-src-retina")||n.attr("data-src");this._core.trigger("load",{element:n,url:i},"lazy"),n.is("img")?n.one("load.owl.lazy",a.proxy(function(){n.css("opacity",1),this._core.trigger("loaded",{element:n,url:i},"lazy")},this)).attr("src",i):((t=new Image).onload=a.proxy(function(){n.css({"background-image":'url("'+i+'")',opacity:"1"}),this._core.trigger("loaded",{element:n,url:i},"lazy")},this),t.src=i)},this)),this._loaded.push(e.get(0)))},t.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=t}(window.Zepto||window.jQuery,window,document),function(i){function t(e){this._core=e,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":i.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":i.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&"position"==e.property.name&&this.update()},this),"loaded.owl.lazy":i.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=i.extend({},t.Defaults,this._core.options),this._core.$element.on(this._handlers)}t.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},t.prototype.update=function(){var e=this._core._current,t=e+this._core.settings.items,e=this._core.$stage.children().toArray().slice(e,t),n=[];i.each(e,function(e,t){n.push(i(t).height())}),t=Math.max.apply(null,n),this._core.$stage.parent().height(t).addClass(this._core.settings.autoHeightClass)},t.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},i.fn.owlCarousel.Constructor.Plugins.AutoHeight=t}(window.Zepto||window.jQuery,(window,document)),function(u,t){function n(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":u.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":u.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":u.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":u.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":u.proxy(function(e){var t;e.namespace&&(t=u(e.content).find(".owl-video")).length&&(t.css("display","none"),this.fetch(t,u(e.content)))},this)},this._core.options=u.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",u.proxy(function(e){this.play(e)},this))}n.Defaults={video:!1,videoHeight:!1,videoWidth:!1},n.prototype.fetch=function(e,t){var n=e.attr("data-vimeo-id")?"vimeo":e.attr("data-vzaar-id")?"vzaar":"youtube",i=e.attr("data-vimeo-id")||e.attr("data-youtube-id")||e.attr("data-vzaar-id"),o=e.attr("data-width")||this._core.settings.videoWidth,s=e.attr("data-height")||this._core.settings.videoHeight,r=e.attr("href");if(!r)throw new Error("Missing video URL.");if(-1<(i=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))n="youtube";else if(-1<i[3].indexOf("vimeo"))n="vimeo";else{if(!(-1<i[3].indexOf("vzaar")))throw new Error("Video URL not supported.");n="vzaar"}i=i[6],this._videos[r]={type:n,id:i,width:o,height:s},t.attr("data-video",r),this.thumbnail(e,this._videos[r])},n.prototype.thumbnail=function(t,e){function n(e){i=c.lazyLoad?'<div class="owl-video-tn '+l+'" '+a+'="'+e+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+e+')"></div>',t.after(i),t.after('<div class="owl-video-play-icon"></div>')}var i,o,s=e.width&&e.height?'style="width:'+e.width+"px;height:"+e.height+'px;"':"",r=t.find("img"),a="src",l="",c=this._core.settings;if(t.wrap('<div class="owl-video-wrapper"'+s+"></div>"),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),r.length)return n(r.attr(a)),r.remove(),!1;"youtube"===e.type?(o="//img.youtube.com/vi/"+e.id+"/hqdefault.jpg",n(o)):"vimeo"===e.type?u.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+e.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){o=e[0].thumbnail_large,n(o)}}):"vzaar"===e.type&&u.ajax({type:"GET",url:"//vzaar.com/api/videos/"+e.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){o=e.framegrab_url,n(o)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(e){var t,e=u(e.target).closest("."+this._core.settings.itemClass),n=this._videos[e.attr("data-video")],i=n.width||"100%",o=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),"youtube"===n.type?t='<iframe width="'+i+'" height="'+o+'" src="//www.youtube.com/embed/'+n.id+"?autoplay=1&rel=0&v="+n.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===n.type?t='<iframe src="//player.vimeo.com/video/'+n.id+'?autoplay=1" width="'+i+'" height="'+o+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===n.type&&(t='<iframe frameborder="0"height="'+o+'"width="'+i+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+n.id+'/player?autoplay=true"></iframe>'),u('<div class="owl-video-frame">'+t+"</div>").insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var e=t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement;return e&&u(e).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var e,t;for(e in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},u.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,(window,document)),function(r){function t(e){this.core=e,this.core.options=r.extend({},t.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":r.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":r.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":r.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)}t.Defaults={animateOut:!1,animateIn:!1},t.prototype.swap=function(){var e,t,n,i,o,s;1===this.core.settings.items&&r.support.animation&&r.support.transition&&(this.core.speed(0),t=r.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),i=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,s=this.core.settings.animateOut,this.core.current()!==this.previous)&&(s&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(r.support.animation.end,t).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(s)),o)&&i.one(r.support.animation.end,t).addClass("animated owl-animated-in").addClass(o)},t.prototype.clear=function(e){r(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},t.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},r.fn.owlCarousel.Constructor.Plugins.Animate=t}(window.Zepto||window.jQuery,(window,document)),function(n,i,o){function t(e){this._core=e,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":n.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":n.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":n.proxy(function(e,t,n){e.namespace&&this.play(t,n)},this),"stop.owl.autoplay":n.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=n.extend({},t.Defaults,this._core.options)}t.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},t.prototype.play=function(e,t){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},t.prototype._getNextTimeout=function(e,t){return this._timeout&&i.clearTimeout(this._timeout),i.setTimeout(n.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||o.hidden||this._core.next(t||this._core.settings.autoplaySpeed)},this),e||this._core.settings.autoplayTimeout)},t.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},t.prototype.stop=function(){this._core.is("rotating")&&(i.clearTimeout(this._timeout),this._core.leave("rotating"))},t.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},t.prototype.destroy=function(){var e,t;for(e in this.stop(),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},n.fn.owlCarousel.Constructor.Plugins.autoplay=t}(window.Zepto||window.jQuery,window,document),function(o){"use strict";function t(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":o.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+o(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":o.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":o.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":o.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":o.proxy(function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":o.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=o.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers)}t.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},t.prototype.initialize=function(){var e,n=this._core.settings;for(e in this._controls.$relative=(n.navContainer?o(n.navContainer):o("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=o("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",o.proxy(function(e){this.prev(n.navSpeed)},this)),this._controls.$next=o("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",o.proxy(function(e){this.next(n.navSpeed)},this)),n.dotsData||(this._templates=[o("<div>").addClass(n.dotClass).append(o("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?o(n.dotsContainer):o("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",o.proxy(function(e){var t=(o(e.target).parent().is(this._controls.$absolute)?o(e.target):o(e.target).parent()).index();e.preventDefault(),this.to(t,n.dotsSpeed)},this)),this._overrides)this._core[e]=o.proxy(this[e],this)},t.prototype.destroy=function(){var e,t,n,i;for(e in this._handlers)this.$element.off(e,this._handlers[e]);for(t in this._controls)this._controls[t].remove();for(i in this.overides)this._core[i]=this._overrides[i];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.prototype.update=function(){var e,t,n=this._core.clones().length/2,i=n+this._core.items().length,o=this._core.maximum(!0),s=this._core.settings,r=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],e=n,t=0;e<i;e++){if(r<=t||0===t){if(this._pages.push({start:Math.min(o,e-n),end:e-n+r-1}),Math.min(o,e-n)===o)break;t=0,0}t+=this._core.mergers(this._core.relative(e))}},t.prototype.draw=function(){var e=this._core.settings,t=this._core.items().length<=e.items,n=this._core.relative(this._core.current()),i=e.loop||e.rewind;this._controls.$relative.toggleClass("disabled",!e.nav||t),e.nav&&(this._controls.$previous.toggleClass("disabled",!i&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!i&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!e.dots||t),e.dots&&(i=this._pages.length-this._controls.$absolute.children().length,e.dotsData&&0!=i?this._controls.$absolute.html(this._templates.join("")):0<i?this._controls.$absolute.append(new Array(1+i).join(this._templates[0])):i<0&&this._controls.$absolute.children().slice(i).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(o.inArray(this.current(),this._pages)).addClass("active"))},t.prototype.onTrigger=function(e){var t=this._core.settings;e.page={index:o.inArray(this.current(),this._pages),count:this._pages.length,size:t&&(t.center||t.autoWidth||t.dotsData?1:t.dotsEach||t.items)}},t.prototype.current=function(){var n=this._core.relative(this._core.current());return o.grep(this._pages,o.proxy(function(e,t){return e.start<=n&&e.end>=n},this)).pop()},t.prototype.getPosition=function(e){var t,n,i=this._core.settings;return"page"==i.slideBy?(t=o.inArray(this.current(),this._pages),n=this._pages.length,e?++t:--t,t=this._pages[(t%n+n)%n].start):(t=this._core.relative(this._core.current()),n=this._core.items().length,e?t+=i.slideBy:t-=i.slideBy),t},t.prototype.next=function(e){o.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},t.prototype.prev=function(e){o.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},t.prototype.to=function(e,t,n){!n&&this._pages.length?(n=this._pages.length,o.proxy(this._overrides.to,this._core)(this._pages[(e%n+n)%n].start,t)):o.proxy(this._overrides.to,this._core)(e,t)},o.fn.owlCarousel.Constructor.Plugins.Navigation=t}(window.Zepto||window.jQuery,(window,document)),function(i,o){"use strict";function t(e){this._core=e,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":i.proxy(function(e){e.namespace&&"URLHash"===this._core.settings.startPosition&&i(o).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":i.proxy(function(e){var t;e.namespace&&(t=i(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash"))&&(this._hashes[t]=e.content)},this),"changed.owl.carousel":i.proxy(function(e){var n;e.namespace&&"position"===e.property.name&&(n=this._core.items(this._core.relative(this._core.current())),e=i.map(this._hashes,function(e,t){return e===n?t:null}).join())&&o.location.hash.slice(1)!==e&&(o.location.hash=e)},this)},this._core.options=i.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers),i(o).on("hashchange.owl.navigation",i.proxy(function(e){var t=o.location.hash.substring(1),n=this._core.$stage.children(),n=this._hashes[t]&&n.index(this._hashes[t]);void 0!==n&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0)},this))}t.Defaults={URLhashListener:!1},t.prototype.destroy=function(){var e,t;for(e in i(o).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},i.fn.owlCarousel.Constructor.Plugins.Hash=t}(window.Zepto||window.jQuery,window,document),function(o){var s=o("<support>").get(0).style,r="Webkit Moz O ms".split(" "),e={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},t=function(){return!!a("transform")},n=function(){return!!a("perspective")},i=function(){return!!a("animation")};function a(e,n){var i=!1,t=e.charAt(0).toUpperCase()+e.slice(1);return o.each((e+" "+r.join(t+" ")+t).split(" "),function(e,t){if(void 0!==s[t])return i=!n||t,!1}),i}function l(e){return a(e,!0)}!function(){return!!a("transition")}()||(o.support.transition=new String(l("transition")),o.support.transition.end=e.transition.end[o.support.transition]),i()&&(o.support.animation=new String(l("animation")),o.support.animation.end=e.animation.end[o.support.animation]),t()&&(o.support.transform=new String(l("transform")),o.support.transform3d=n())}(window.Zepto||window.jQuery,(window,document)),function(e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():window.noUiSlider=e()}(function(){"use strict";var ne="11.1.0";function r(e){return null!=e}function ie(e){e.preventDefault()}function d(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function oe(e,t,n){0<n&&(ae(e,t),setTimeout(function(){le(e,t)},n))}function se(e){return Math.max(Math.min(e,100),0)}function re(e){return Array.isArray(e)?e:[e]}function t(e){e=(e=String(e)).split(".");return 1<e.length?e[1].length:0}function ae(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function le(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function ce(e){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(e.compatMode||"");return{x:t?window.pageXOffset:(n?e.documentElement:e.body).scrollLeft,y:t?windo
1w.pageYOffset:(n?e.documentElement:e.body).scrollTop}}function h(e,t){return 100/(t-e)}function p(e,t){return 100*t/(e[1]-e[0])}function a(e,t){for(var n=1;e>=t[n];)n+=1;return n}function n(e,t,n){var i,o,s;return n>=e.slice(-1)[0]?100:(s=a(n,e),i=e[s-1],e=e[s],o=t[s-1],t=t[s],o+(s=n,p(n=[i,e],n[0]<0?s+Math.abs(n[0]):s-n[0])/h(o,t)))}function i(e,t,n,i){var o,s,r;return 100===i?i:(s=e[(o=a(i,e))-1],r=e[o],n?(r-s)/2<i-s?r:s:t[o-1]?e[o-1]+(n=i-e[o-1],r=t[o-1],Math.round(n/r)*r):i)}function o(e,t,n){this.xPct=[],this.xVal=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.xHighestCompleteStep=[],this.snap=t;var i,o,s,r,a=[];for(i in e)e.hasOwnProperty(i)&&a.push([e[i],i]);for(a.length&&"object"==typeof a[0][0]?a.sort(function(e,t){return e[0][0]-t[0][0]}):a.sort(function(e,t){return e[0]-t[0]}),i=0;i<a.length;i++){u=c=l=void 0;var l=a[i][1],c=a[i][0],u=this;if("number"==typeof c&&(c=[c]),!Array.isArray(c))throw new Error("noUiSlider ("+ne+"): 'range' contains invalid value.");if(!d(l="min"===l?0:"max"===l?100:parseFloat(l))||!d(c[0]))throw new Error("noUiSlider ("+ne+"): 'range' value isn't numeric.");u.xPct.push(l),u.xVal.push(c[0]),l?u.xSteps.push(!isNaN(c[1])&&c[1]):isNaN(c[1])||(u.xSteps[0]=c[1]),u.xHighestCompleteStep.push(0)}for(this.xNumSteps=this.xSteps.slice(0),i=0;i<this.xNumSteps.length;i++)o=i,s=this.xNumSteps[i],r=this,s&&(r.xSteps[o]=p([r.xVal[o],r.xVal[o+1]],s)/h(r.xPct[o],r.xPct[o+1]),s=(r.xVal[o+1]-r.xVal[o])/r.xNumSteps[o],s=Math.ceil(Number(s.toFixed(3))-1),s=r.xVal[o]+r.xNumSteps[o]*s,r.xHighestCompleteStep[o]=s)}o.prototype.getMargin=function(e){var t=this.xNumSteps[0];if(t&&e/t%1!=0)throw new Error("noUiSlider ("+ne+"): 'limit', 'margin' and 'padding' must be divisible by step.");return 2===this.xPct.length&&p(this.xVal,e)},o.prototype.toStepping=function(e){return e=n(this.xVal,this.xPct,e)},o.prototype.fromStepping=function(e){return t=this.xVal,n=this.xPct,100<=(e=e)?t.slice(-1)[0]:(s=a(e,n),i=t[s-1],t=t[s],o=n[s-1],n=n[s],(e-o)*h(o,n)*((s=[i,t])[1]-s[0])/100+s[0]);var t,n,i,o,s},o.prototype.getStep=function(e){return e=i(this.xPct,this.xSteps,this.snap,e)},o.prototype.getNearbySteps=function(e){e=a(e,this.xPct);return{stepBefore:{startValue:this.xVal[e-2],step:this.xNumSteps[e-2],highestStep:this.xHighestCompleteStep[e-2]},thisStep:{startValue:this.xVal[e-1],step:this.xNumSteps[e-1],highestStep:this.xHighestCompleteStep[e-1]},stepAfter:{startValue:this.xVal[+e],step:this.xNumSteps[+e],highestStep:this.xHighestCompleteStep[+e]}}},o.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(t);return Math.max.apply(null,e)},o.prototype.convert=function(e){return this.getStep(this.toStepping(e))};var l={to:function(e){return void 0!==e&&e.toFixed(2)},from:Number};function s(e){if("object"!=typeof(e=e)||"function"!=typeof e.to||"function"!=typeof e.from)throw new Error("noUiSlider ("+ne+"): 'format' requires 'to' and 'from' methods.")}function c(e,t){if(!d(t))throw new Error("noUiSlider ("+ne+"): 'step' is not numeric.");e.singleStep=t}function u(e,t){if("object"!=typeof t||Array.isArray(t))throw new Error("noUiSlider ("+ne+"): 'range' is not an object.");if(void 0===t.min||void 0===t.max)throw new Error("noUiSlider ("+ne+"): Missing 'min' or 'max' in 'range'.");if(t.min===t.max)throw new Error("noUiSlider ("+ne+"): 'range' 'min' and 'max' cannot be equal.");e.spectrum=new o(t,e.snap,e.singleStep)}function f(e,t){if(t=re(t),!Array.isArray(t)||!t.length)throw new Error("noUiSlider ("+ne+"): 'start' option is incorrect.");e.handles=t.length,e.start=t}function g(e,t){if("boolean"!=typeof(e.snap=t))throw new Error("noUiSlider ("+ne+"): 'snap' option must be a boolean.")}function m(e,t){if("boolean"!=typeof(e.animate=t))throw new Error("noUiSlider ("+ne+"): 'animate' option must be a boolean.")}function v(e,t){if("number"!=typeof(e.animationDuration=t))throw new Error("noUiSlider ("+ne+"): 'animationDuration' option must be a number.")}function y(e,t){var n,i=[!1];if("lower"===t?t=[!0,!1]:"upper"===t&&(t=[!1,!0]),!0===t||!1===t){for(n=1;n<e.handles;n++)i.push(t);i.push(!1)}else{if(!Array.isArray(t)||!t.length||t.length!==e.handles+1)throw new Error("noUiSlider ("+ne+"): 'connect' option doesn't match handle count.");i=t}e.connect=i}function b(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider ("+ne+"): 'orientation' option is invali
1d.")}}function w(e,t){if(!d(t))throw new Error("noUiSlider ("+ne+"): 'margin' option must be numeric.");if(0!==t&&(e.margin=e.spectrum.getMargin(t),!e.margin))throw new Error("noUiSlider ("+ne+"): 'margin' option is only supported on linear sliders.")}function _(e,t){if(!d(t))throw new Error("noUiSlider ("+ne+"): 'limit' option must be numeric.");if(e.limit=e.spectrum.getMargin(t),!e.limit||e.handles<2)throw new Error("noUiSlider ("+ne+"): 'limit' option is only supported on linear sliders with 2 or more handles.")}function x(e,t){if(!d(t)&&!Array.isArray(t))throw new Error("noUiSlider ("+ne+"): 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(t)&&2!==t.length&&!d(t[0])&&!d(t[1]))throw new Error("noUiSlider ("+ne+"): 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==t){if(Array.isArray(t)||(t=[t,t]),!(e.padding=[e.spectrum.getMargin(t[0]),e.spectrum.getMargin(t[1])])===e.padding[0]||!1===e.padding[1])throw new Error("noUiSlider ("+ne+"): 'padding' option is only supported on linear sliders.");if(e.padding[0]<0||e.padding[1]<0)throw new Error("noUiSlider ("+ne+"): 'padding' option must be a positive number(s).");if(100<=e.padding[0]+e.padding[1])throw new Error("noUiSlider ("+ne+"): 'padding' option must not exceed 100% of the range.")}}function C(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider ("+ne+"): 'direction' option was not recognized.")}}function S(e,t){if("string"!=typeof t)throw new Error("noUiSlider ("+ne+"): 'behaviour' must be a string containing options.");var n=0<=t.indexOf("tap"),i=0<=t.indexOf("drag"),o=0<=t.indexOf("fixed"),s=0<=t.indexOf("snap"),t=0<=t.indexOf("hover");if(o){if(2!==e.handles)throw new Error("noUiSlider ("+ne+"): 'fixed' behaviour must be used with 2 handles");w(e,e.start[1]-e.start[0])}e.events={tap:n||s,drag:i,fixed:o,snap:s,hover:t}}function T(e,t){if(!1!==t)if(!0===t){e.tooltips=[];for(var n=0;n<e.handles;n++)e.tooltips.push(!0)}else{if(e.tooltips=re(t),e.tooltips.length!==e.handles)throw new Error("noUiSlider ("+ne+"): must pass a formatter for all handles.");e.tooltips.forEach(function(e){if("boolean"!=typeof e&&("object"!=typeof e||"function"!=typeof e.to))throw new Error("noUiSlider ("+ne+"): 'tooltips' must be passed a formatter or 'false'.")})}}function D(e,t){s(e.ariaFormat=t)}function k(e,t){s(e.format=t)}function E(e,t){if("string"!=typeof t&&!1!==t)throw new Error("noUiSlider ("+ne+"): 'cssPrefix' must be a string or `false`.");e.cssPrefix=t}function $(e,t){if("object"!=typeof t)throw new Error("noUiSlider ("+ne+"): 'cssClasses' must be an object.");if("string"==typeof e.cssPrefix)for(var n in e.cssClasses={},t)t.hasOwnProperty(n)&&(e.cssClasses[n]=e.cssPrefix+t[n]);else e.cssClasses=t}function ue(t){var n={margin:0,limit:0,padding:0,animate:!0,animationDuration:300,ariaFormat:l,format:l},i={step:{r:!1,t:c},start:{r:!0,t:f},connect:{r:!0,t:y},direction:{r:!0,t:C},snap:{r:!1,t:g},animate:{r:!1,t:m},animationDuration:{r:!1,t:v},range:{r:!0,t:u},orientation:{r:!1,t:b},margin:{r:!1,t:w},limit:{r:!1,t:_},padding:{r:!1,t:x},behaviour:{r:!0,t:S},ariaFormat:{r:!1,t:D},format:{r:!1,t:k},tooltips:{r:!1,t:T},cssPrefix:{r:!0,t:E}
1,cssClasses:{r:!0,t:$}},o={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",cssPrefix:"noUi-",cssClasses:{target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"}},e=(t.format&&!t.ariaFormat&&(t.ariaFormat=t.format),Object.keys(i).forEach(function(e){if(!r(t[e])&&void 0===o[e]){if(i[e].r)throw new Error("noUiSlider ("+ne+"): '"+e+"' is required.");return!0}i[e].t(n,(r(t[e])?t:o)[e])}),n.pips=t.pips,document.createElement("div")),s=void 0!==e.style.msTransform,e=void 0!==e.style.transform;n.transformRule=e?"transform":s?"msTransform":"webkitTransform";return n.style=[["left","top"],["right","bottom"]][n.dir][n.ort],n}function A(e,h,s){var o,a,r,l,c,u,i,d=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},L=window.CSS&&CSS.supports&&CSS.supports("touch-action","none")&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}(),v=e,p=[],f=[],g=0,y=h.spectrum,m=[],b={},w=e.ownerDocument,_=w.documentElement,x=w.body,I="rtl"===w.dir||1===h.ort?0:100;function C(e,t){var n=w.createElement("div");return t&&ae(n,t),e.appendChild(n),n}function q(e,t){return!!t&&C(e,h.cssClasses.connect)}function R(e,t){return!!h.tooltips[t]&&C(e.firstChild,h.cssClasses.tooltip)}function F(i,o,s){var r=w.createElement("div"),a=[h.cssClasses.valueNormal,h.cssClasses.valueLarge,h.cssClasses.valueSub],l=[h.cssClasses.markerNormal,h.cssClasses.markerLarge,h.cssClasses.markerSub],c=[h.cssClasses.valueHorizontal,h.cssClasses.valueVertical],u=[h.cssClasses.markerHorizontal,h.cssClasses.markerVertical];function d(e,t){var n=t===h.cssClasses.value;return t+" "+(n?c:u)[h.ort]+" "+(n?a:l)[e]}return ae(r,h.cssClasses.pips),ae(r,0===h.ort?h.cssClasses.pipsHorizontal:h.cssClasse
1s.pipsVertical),Object.keys(i).forEach(function(e){var t,n;(t=i[e=e])[1]=t[1]&&o?o(t[0],t[1]):t[1],(n=C(r,!1)).className=d(t[1],h.cssClasses.marker),n.style[h.style]=e+"%",t[1]&&((n=C(r,!1)).className=d(t[1],h.cssClasses.value),n.setAttribute("data-value",t[0]),n.style[h.style]=e+"%",n.innerText=s.to(t[0]))}),r}function z(){var e;c&&((e=c).parentElement.removeChild(e),c=null)}function S(e){z();var u,d,h,p,f,g,m,t=e.mode,n=e.density||1,i=e.filter||!1,o=function(e,t,n){if("range"===e||"steps"===e)return y.xVal;if("count"===e){if(t<2)throw new Error("noUiSlider ("+ne+"): 'values' (>= 2) required for mode 'count'.");var i=t-1,o=100/i;for(t=[];i--;)t[i]=i*o;t.push(100),e="positions"}return"positions"===e?t.map(function(e){return y.fromStepping(n?y.getStep(e):e)}):"values"===e?n?t.map(function(e){return y.fromStepping(y.getStep(y.toStepping(e)))}):t:void 0}(t,e.values||!1,e.stepped||!1),o=(u=n,d=t,h=o,p={},n=y.xVal[0],t=y.xVal[y.xVal.length-1],g=f=!1,m=0,(h=h.slice().sort(function(e,t){return e-t}).filter(function(e){return!this[e]&&(this[e]=!0)},{}))[0]!==n&&(h.unshift(n),f=!0),h[h.length-1]!==t&&(h.push(t),g=!0),h.forEach(function(e,t){var n,i,o,s,r,a,l=h[t+1],c=(c="steps"===d?y.xNumSteps[t]:c)||l-e;if(!1!==e&&void 0!==l)for(c=Math.max(c,1e-7),n=e;n<=l;n=+(n+c).toFixed(7)){for(a=(s=(o=y.toStepping(n))-m)/(r=Math.round(s/u)),i=1;i<=r;i+=1)p[(m+i*a).toFixed(5)]=["x",0];s=-1<h.indexOf(n)?1:"steps"===d?2:0,!t&&f&&(s=0),n===l&&g||(p[o.toFixed(5)]=[n,s]),m=o}}),p),n=e.format||{to:Math.round};return c=v.appendChild(F(o,i,n))}function H(){var e=o.getBoundingClientRect(),t="offset"+["Width","Height"][h.ort];return 0===h.ort?e.width||o[t]:e.height||o[t]}function T(i,o,s,r){function t(e){var t,n;return!!(e=function(e,t,n){var i,o=0===e.type.indexOf("touch"),s=0===e.type.indexOf("mouse"),r=0===e.type.indexOf("pointer");0===e.type.indexOf("MSPointer")&&(r=!0);if(o){o=function(e){return e.target===n||n.contains(e.target)};if("touchstart"===e.type){var a=Array.prototype.filter.call(e.touches,o);if(1<a.length)return!1;i=a[0].pageX,a=a[0].pageY}else{o=Array.prototype.find.call(e.changedTouches,o);if(!o)return!1;i=o.pageX,a=o.pageY}}t=t||ce(w),(s||r)&&(i=e.clientX+t.x,a=e.clientY+t.y);return e.pageOffset=t,e.points=[i,a],e.cursor=s||r,e}(e,r.pageOffset,r.target||o))&&!(v.hasAttribute("disabled")&&!r.doNotReject||(t=v,n=h.cssClasses.tap,(t.classList?t.classList.contains(n):new RegExp("\\b"+n+"\\b").test(t.className))&&!r.doNotReject)||i===d.start&&void 0!==e.buttons&&1<e.buttons||r.hover&&e.buttons)&&(L||e.preventDefault(),e.calcPoint=e.points[h.ort],void s(e,r))}var n=[];return i.split(" ").forEach(function(e){o.addEventListener(e,t,!!L&&{passive:!0}),n.push([e,t])}),n}function U(e){var t,n,i=se(100*(e-(e=o,i=h.ort,t=e.getBoundingClientRect(),n=(e=e.ownerDocument).documentElement,e=ce(e),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(e.x=0),i?t.top+e.y-n.clientTop:t.left+e.x-n.clientLeft))/H());return h.dir?100-i:i}function B(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&D(e,t)}function W(e,t){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==t.buttonsProperty)return D(e,t);e=(h.dir?-1:1)*(e.calcPoint-t.startCalcPoint);Q(0<e,100*e/t.baseSize,t.locations,t.handleNumbers)}function D(e,t){t.handle&&(le(t.handle,h.cssClasses.active),--g),t.listeners.forEach(function(e){_.removeEventListener(e[0],e[1])}),0===g&&(le(v,h.cssClasses.drag),G(),e.cursor)&&(x.style.cursor="",x.removeEventListener("selectstart",ie)),t.handleNumbers.forEach(function(e){E("change",e),E("set",e),E("end",e)})}function k(e,t){if(1===t.handleNumbers.length){var n=a[t.handleNumbers[0]];if(n.hasAttribute("disabled"))return!1;n=n.children[0],g+=1,ae(n,h.cssClasses.active)}e.stopPropagation();var i=[],o=T(d.move,_,W,{target:e.target,handle:n,listeners:i,startCalcPoint:e.calcPoint,baseSize:H(),pageOffset:e.pageOffset,handleNumbers:t.handleNumbers,buttonsProperty:e.buttons,locations:p.slice()}),s=T(d.end,_,D,{target:e.target,handle:n,listeners:i,doNotReject:!0,handleNumbers:t.handleNumbers}),n=T("mouseout",_,B,{target:e.target,handle:n,listeners:i,doNotReject:!0,handleNumbers:t.handleNumbers});i.push.apply(i,o.concat(s,n)),e.cursor&&(x.style.cursor=getComputedStyle(e.target).cursor,1<a.length&&ae(v,h.cssClasse
1s.drag),x.addEventListener("selectstart",ie,!1)),t.handleNumbers.forEach(function(e){E("start",e)})}function V(e){e.stopPropagation();var n,i,o,t=U(e.calcPoint),s=(n=t,o=!(i=100),a.forEach(function(e,t){!e.hasAttribute("disabled")&&((e=Math.abs(p[t]-n))<i||100===e&&100===i)&&(o=t,i=e)}),o);if(!1===s)return!1;h.events.snap||oe(v,h.cssClasses.tap,h.animationDuration),N(s,t,!0,!0),G(),E("slide",s,!0),E("update",s,!0),E("change",s,!0),E("set",s,!0),h.events.snap&&k(e,{handleNumbers:[s]})}function Y(e){var e=U(e.calcPoint),e=y.getStep(e),t=y.fromStepping(e);Object.keys(b).forEach(function(e){"hover"===e.split(".")[0]&&b[e].forEach(function(e){e.call(l,t)})})}function t(e,t){b[e]=b[e]||[],b[e].push(t),"update"===e.split(".")[0]&&a.forEach(function(e,t){E("update",t)})}function E(n,i,o){Object.keys(b).forEach(function(e){var t=e.split(".")[0];n===t&&b[e].forEach(function(e){e.call(l,m.map(h.format.to),i,m.slice(),o||!1,p.slice())})})}function $(e,t,n,i,o,s){return 1<a.length&&(i&&0<t&&(n=Math.max(n,e[t-1]+h.margin)),o)&&t<a.length-1&&(n=Math.min(n,e[t+1]-h.margin)),1<a.length&&h.limit&&(i&&0<t&&(n=Math.min(n,e[t-1]+h.limit)),o)&&t<a.length-1&&(n=Math.max(n,e[t+1]-h.limit)),h.padding&&(0===t&&(n=Math.max(n,h.padding[0])),t===a.length-1)&&(n=Math.min(n,100-h.padding[1])),!((n=se(n=y.getStep(n)))===e[t]&&!s)&&n}function A(e,t){var n=h.ort;return(n?t:e)+", "+(n?e:t)}function Q(e,n,i,t){var o=i.slice(),s=[!e,e],r=[e,!e],a=(t=t.slice(),e&&t.reverse(),1<t.length?t.forEach(function(e,t){t=$(o,e,o[e]+n,s[t],r[t],!1);!1===t?n=0:(n=t-o[e],o[e]=t)}):s=r=[!0],!1);t.forEach(function(e,t){a=N(e,i[e]+n,s[t],r[t])||a}),a&&t.forEach(function(e){E("update",e),E("slide",e)})}function X(e,t){return h.dir?100-e-t:e}function G(){f.forEach(function(e){var t=50<p[e]?-1:1,t=3+(a.length+t*e);a[e].style.zIndex=t})}function N(e,t,n,i){return!1!==(t=$(p,e,t,n,i,!1))&&(n=t,p[i=e]=n,m[i]=y.fromStepping(n),n="translate("+A(X(n,0)-I+"%","0")+")",a[i].style[h.transformRule]=n,Z(i),Z(i+1),!0)}function Z(e){var t,n;r[e]&&(n=100,t="translate("+A(X(t=(t=0)!==e?p[e-1]:t,n=(n=e!==r.length-1?p[e]:n)-t)+"%","0")+")",n="scale("+A(n/100,"1")+")",r[e].style[h.transformRule]=t+" "+n)}function P(e,t){var n=re(e),e=void 0===p[0];t=void 0===t||!!t,h.animate&&!e&&oe(v,h.cssClasses.tap,h.animationDuration),f.forEach(function(e){var t;N(e,(t=n[e],e=e,null===t||!1===t||void 0===t||("number"==typeof t&&(t=String(t)),t=h.format.from(t),!1===(t=y.toStepping(t)))||isNaN(t)?p[e]:t),!0,!1)}),f.forEach(function(e){N(e,p[e],!0,!0)}),G(),f.forEach(function(e){E("update",e),null!==n[e]&&t&&E("set",e)})}function K(){var e=m.map(h.format.to);return 1===e.length?e[0]:e}ae(e=v,h.cssClasses.target),0===h.dir?ae(e,h.cssClasses.ltr):ae(e,h.cssClasses.rtl),0===h.ort?ae(e,h.cssClasses.horizontal):ae(e,h.cssClasses.vertical),o=C(e,h.cssClasses.base);var J=h.connect,ee=o,te=C(ee,h.cssClasses.connects);a=[],(r=[]).push(q(te,J[0]));for(var n,j,M,O=0;O<h.handles;O++)a.push((j=O,M=void 0,n=C(n=ee,h.cssClasses.origin),(M=C(n,h.cssClasses.handle)).setAttribute("data-handle",j),M.setAttribute("tabindex","0"),M.setAttribute("role","slider"),M.setAttribute("aria-orientation",h.ort?"vertical":"horizontal"),0===j?ae(M,h.cssClasses.handleLower):j===h.handles-1&&ae(M,h.cssClasses.handleUpper),n)),f[O]=O,r.push(q(te,J[O+1]));return(u=h.events).fixed||a.forEach(function(e,t){T(d.start,e.children[0],k,{handleNumbers:[t]})}),u.tap&&T(d.start,o,V,{}),u.hover&&T(d.move,o,Y,{hover:!0}),u.drag&&r.forEach(function(e,t){var n,i,o;!1!==e&&0!==t&&t!==r.length-1&&(n=a[t-1],i=a[t],o=[e],ae(e,h.cssClasses.draggable),u.fixed&&(o.push(n.children[0]),o.push(i.children[0])),o.forEach(function(e){T(d.start,e,k,{handles:[n,i],handleNumbers:[t-1,t]})}))}),P(h.start),l={destroy:function(){for(var e in h.cssClasses)h.cssClasse
1s.hasOwnProperty(e)&&le(v,h.cssClasses[e]);for(;v.firstChild;)v.removeChild(v.firstChild);delete v.noUiSlider},steps:function(){return p.map(function(e,t){var n=y.getNearbySteps(e),t=m[t],i=n.thisStep.step,o=null,t=(!1!==i&&t+i>n.stepAfter.startValue&&(i=n.stepAfter.startValue-t),o=t>n.thisStep.startValue?n.thisStep.step:!1!==n.stepBefore.step&&t-n.stepBefore.highestStep,100===e?i=null:0===e&&(o=null),y.countStepDecimals());return null!==i&&!1!==i&&(i=Number(i.toFixed(t))),[o=null!==o&&!1!==o?Number(o.toFixed(t)):o,i]})},on:t,off:function(e){var i=e&&e.split(".")[0],o=i&&e.substring(i.length);Object.keys(b).forEach(function(e){var t=e.split(".")[0],n=e.substring(t.length);i&&i!==t||o&&o!==n||delete b[e]})},get:K,set:P,reset:function(e){P(h.start,e)},__moveHandles:function(e,t,n){Q(e,t,p,n)},options:s,updateOptions:function(t,e){var n=K(),i=["margin","limit","padding","range","animate","snap","step","format"],o=(i.forEach(function(e){void 0!==t[e]&&(s[e]=t[e])}),ue(s));i.forEach(function(e){void 0!==t[e]&&(h[e]=o[e])}),y=o.spectrum,h.margin=o.margin,h.limit=o.limit,h.padding=o.padding,h.pips&&S(h.pips),p=[],P(t.start||n,e)},target:v,removePips:z,pips:S},h.pips&&S(h.pips),h.tooltips&&(i=a.map(R),t("update",function(e,t,n){i[t]&&(e=e[t],!0!==h.tooltips[t]&&(e=h.tooltips[t].to(n[t])),i[t].innerHTML=e)})),t("update",function(e,t,s,n,r){f.forEach(function(e){var t=a[e],n=$(p,e,0,!0,!0,!0),i=$(p,e,100,!0,!0,!0),o=r[e],e=h.ariaFormat.to(s[e]);t.children[0].setAttribute("aria-valuemin",n.toFixed(1)),t.children[0].setAttribute("aria-valuemax",i.toFixed(1)),t.children[0].setAttribute("aria-valuenow",o.toFixed(1)),t.children[0].setAttribute("aria-valuetext",e)})}),l}return{version:ne,create:function(e,t){if(!e||!e.nodeName)throw new Error("noUiSlider ("+ne+"): create requires a single element, got: "+e);if(e.noUiSlider)throw new Error("noUiSlider ("+ne+"): Slider was already initialized.");return t=A(e,ue(t),t),e.noUiSlider=t}}}),function(a){"use strict";function o(e,t,n){var i;void 0===e.selectionStart?(e.focus(),(i=e.createTextRange()).collapse(!0),i.moveEnd("character",n),i.moveStart("character",t),i.select()):(e.selectionStart=t,e.selectionEnd=n)}function h(e,t){"string"==typeof e[t]&&(e[t]*=1)}function s(e,t){n=e,i=t,a.each(i,function(e,t){"function"==typeof t?i[e]=t(n,i,e):"function"==typeof n.autoNumeric[t]&&(i[e]=n.autoNumeric[t](n,i,e))}),t.oEvent=null,t.tagList=["B","CAPTION","CITE","CODE","DD","DEL","DIV","DFN","DT","EM","H1","H2","H3","H4","H5","H6","INS","KDB","LABEL","LI","OUTPUT","P","Q","S","SAMPLE","SPAN","STRONG","TD","TH","U","VAR"];var n,i,o,s,e=t.vMax.toString().split("."),r=t.vMin||0===t.vMin?t.vMin.toString().split("."):[],e=(h(t,"vMax"),h(t,"vMin"),h(t,"mDec"),t.allowLeading=!0,t.aNeg=t.vMin<0?"-":"",e[0]=e[0].replace("-",""),r[0]=r[0].replace("-",""),t.mInt=Math.max(e[0].length,r[0].length,1),null===t.mDec&&(s=o=0,e[1]&&(o=e[1].length),r[1]&&(s=r[1].length),t.mDec=Math.max(o,s)),null===t.altDec&&0<t.mDec&&("."===t.aDec&&","!==t.aSep?t.altDec=",":","===t.aDec&&"."!==t.aSep&&(t.altDec=".")),t.aNeg?"([-\\"+t.aNeg+"]?)":"(-?)"),r=(t.aNegRegAutoStrip=e,t.skipFirstAutoStrip=new RegExp(e+"[^-"+(t.aNeg?"\\"+t.aNeg:"")+"\\"+t.aDec+"\\d].*?(\\d|\\"+t.aDec+"\\d)"),t.skipLastAutoStrip=new RegExp("(\\d\\"+t.aDec+"?)[^\\"+t.aDec+"\\d]\\D*$"),"-"+t.aNum+"\\"+t.aDec);return t.allowedAutoStrip=new RegExp("[^"+r+"]","gi"),t.numRegAutoStrip=new RegExp(e+"(?:\\"+t.aDec+"?(\\d+\\"+t.aDec+"\\d+)|(\\d*(?:\\"+t.aDec+"\\d*)?))"),t}function r(e,t,n){if(t.aSign)for(;-1<e.indexOf(t.aSign);)e=e.replace(t.aSign,"");e=(e=(e=e.replace(t.skipFirstAutoStrip,"$1$2")).replace(t.skipLastAutoStrip,"$1")).replace(t.allowedAutoStrip,"");var i,o=(e=t.altDec?e.replace(t.altDec,t.aDec):e).match(t.numRegAutoStrip);return e=o?[o[1],o[2],o[3]].join(""):"","allow"!==t.lZero&&"keep"!==t.lZero||"strip"===n||(o=[],i="",-1!==(o=e.split(t.aDec))[0].indexOf("-")&&(o[0]=o[0].replace(i="-","")),o[0].length>t.mInt&&"0"===o[0].charAt(0)&&(o[0]=o[0].slice(1)),e=i+o.join(t.aDec)),(n&&"deny"===t.lZero||n&&"allow"===t.lZero&&!1===t.allowLeading)&&(i="^"+t.aNegRegAutoStrip+"0*(\\d"+("leading"===n?")":"|$)"),i=new RegExp(i),e=e.replace(i,"$1$2")),e}
1function l(e,t,n){return t=t.split(","),"set"===n||"focusout"===n?(e=e.replace("-",""),e=t[0]+e+t[1]):"get"!==n&&"focusin"!==n&&"pageLoad"!==n||e.charAt(0)!==t[0]||(e=(e=e.replace(t[0],"-")).replace(t[1],"")),e}function i(e,t,n){var i;return e=t&&n&&(i=e.split(t))[1]&&i[1].length>n?0<n?(i[1]=i[1].substring(0,n),i.join(t)):i[0]:e}function c(e,t,n){return t&&"."!==t&&(e=e.replace(t,".")),(e=n&&"-"!==n?e.replace(n,"-"):e).match(/\d/)||(e+="0"),e}function u(e,t){var n=e.indexOf("."),i=+e;return-1!==n&&(i<1e-6&&-1<i?e=(e=(e=(e=+e)<1e-6&&0<e?(e=(e+10).toString()).substring(1):e)<0&&-1<e?"-"+(e=(e-10).toString()).substring(2):e).toString():void 0!==(n=e.split("."))[1]&&(e=0==+n[1]?n[0]:(n[1]=n[1].replace(/0*$/,""),n.join(".")))),"keep"===t.lZero?e:e.replace(/^0*(\d)/,"$1")}function d(e,t,n){return n&&"-"!==n&&(e=e.replace("-",n)),e=t&&"."!==t?e.replace(".",t):e}function p(e,t){e=+(e=c(e=i(e=r(e,t),t.aDec,t.mDec),t.aDec,t.aNeg));return"set"===t.oEvent&&(e<t.vMin||e>t.vMax)&&a.error("The value ("+e+") from the 'set' method falls outside of the vMin / vMax range"),e>=t.vMin&&e<=t.vMax}function f(e,t,n){return""===e||e===t.aNeg?"zero"===t.wEmpty?e+"0":"sign"===t.wEmpty||n?e+t.aSign:e:null}function g(e,t){var n=(e=r(e,t)).replace(",","."),i=f(e,t,!0);if(null!==i)return i;var o="",o=2===t.dGroup?/(\d)((\d)(\d{2}?)+)$/:4===t.dGroup?/(\d)((\d{4}?)+)$/:/(\d)((\d{3}?)+)$/,i=e.split(t.aDec),s=(i=t.altDec&&1===i.length?e.split(t.altDec):i)[0];if(t.aSep)for(;o.test(s);)s=s.replace(o,"$1"+t.aSep+"$2");return e=0!==t.mDec&&1<i.length?(i[1].length>t.mDec&&(i[1]=i[1].substring(0,t.mDec)),s+t.aDec+i[1]):s,t.aSign&&(i=-1!==e.indexOf(t.aNeg),e=e.replace(t.aNeg,""),e="p"===t.pSign?t.aSign+e:e+t.aSign,i)&&(e=t.aNeg+e),e="set"===t.oEvent&&n<0&&null!==t.nBracket?l(e,t.nBracket,t.oEvent):e}function m(e,t){e=""===e?"0":e.toString(),h(t,"mDec");function n(e){var t=0===r?/(\.[1-9]*)0*$/:1===r?/(\.\d[1-9]*)0*$/:new RegExp("(\\.\\d{"+r+"}[1-9]*)0*$");return e=e.replace(t,"$1"),e=0===r?e.replace(/\.$/,""):e}var i="",o=0,s="",r="boolean"==typeof t.aPad||null===t.aPad?t.aPad?t.mDec:0:+t.aPad,a=((e="-"===e.charAt(0)?e.replace(s="-",""):e).match(/^\d/)||(e="0"+e),"-"===s&&0==+e&&(s=""),(e=0<+e&&"keep"!==t.lZero||0<e.length&&"allow"===t.lZero?e.replace(/^0*(\d)/,"$1"):e).lastIndexOf(".")),l=-1===a?e.length-1:a,c=e.length-1-l;if(c<=t.mDec){if(i=e,c<r)for(-1===a&&(i+=".");c<r;){var u="000000".substring(0,r-c);i+=u,c+=u.length}else r<c?i=n(i):0===c&&0===r&&(i=i.replace(/\.$/,""));return s+i}var l=a+t.mDec,a=+e.charAt(l+1),d=e.substring(0,l+1).split(""),e="."===e.charAt(l)?e.charAt(l-1)%2:e.charAt(l)%2;if(4<a&&"S"===t.mRound||4<a&&"A"===t.mRound&&""===s||5<a&&"A"===t.mRound&&"-"===s||5<a&&"s"===t.mRound||5<a&&"a"===t.mRound&&""===s||4<a&&"a"===t.mRound&&"-"===s||5<a&&"B"===t.mRound||5==a&&"B"===t.mRound&&1==e||0<a&&"C"===t.mRound&&""===s||0<a&&"F"===t.mRound&&"-"===s||0<a&&"U"===t.mRound)for(o=d.length-1;0<=o;--o)if("."!==d[o]){if(d[o]=+d[o]+1,d[o]<10)break;0<o&&(d[o]="0")}return 0==+(i=n((d=d.slice(0,l+1)).join("")))?i:s+i}function v(e,t){this.settings=t,this.that=e,this.$that=a(e),this.formatted=!1,this.settingsClone=s(this.$that,this.settings),this.value=e.value}function y(e){return"string"==typeof e&&(e="#"+(e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]")).replace(/(:|\.)/g,"\\$1")),a(e)}function b(e,t,n){var i=e.data("autoNumeric"),o=(i||e.data("autoNumeric",i={}),i.holder);return(void 0===o&&t||n)&&(o=new v(e.get(0),t),i.holder=o),o}v.prototype={init:function(e){var t,n,i;this.value=this.that.value,this.settingsClone=s(this.$that,this.settings),this.ctrlKey=e.ctrlKey,this.cmdKey=e.metaKey,this.shiftKey=e.shiftKey,this.selection=(t=this.that,i={},void 0===t.selectionStart?(t.focus(),n=document.selection.createRange(),i.length=n.text.length,n.moveStart("character",-t.value.length),i.end=n.text.length,i.start=i.end-i.length):(i.start=t.selectionStart,i.end=t.selectionEnd,i.length=i.end-i.start),i),"keydown"!==e.type&&"keyup"!==e.type||(this.kdCode=e.keyCode),this.which=e.which,this.processed=!1,this.formatted=!1},setSelection:function(e,t,n){e=Math.max(e,0),t=Math.min(t,this.that.value.length),this.selection={start:e,end:t,length:t-e},void 0!==n&&!n||o(this.that,e,t)},setPosition:function(e,t){this.setSelection(e,e,t)},getBeforeAfter:function(){var e=this.value;return[e.substring(0,this.selection.start),e.substring(this.selection.end,e.length)]},getBeforeAfterStriped:function(){var e=this.getBeforeAfter();return e[0]=r(e[0],this.settingsClone),e[1]=r(e[1],this.settingsClone),e},normalizeParts:function(e,t){var n,i=this.settingsClone,o=!!(t=r(t,i)).match(/^\d/)||"leading",o=(""!==(e=r(e,i,o))&&e!==i.aNeg||"deny"!==i.lZero||""<t&&(t=t.replace(/^0*(\d)/,"$1")),e+t);return i.aDec&&(n=o.match(new RegExp("^"+i.aNegRegAutoStrip+"\\"+i.aDec)))&&(o=(e=e.replace(n[1],n[1]+"0"))+t),"zero"!==i.wEmpty||o!==i.aNeg&&""!==o||(e+="0"),[e,t]},setValueParts:function(e,t){var n=this.settingsClone,e=this.normalizeParts(e,t),t=e.join(""),e=e[0].length;
1return!!p(t,n)&&(e>(t=i(t,n.aDec,n.mDec)).length&&(e=t.length),this.value=t,this.setPosition(e,!1),!0)},signPosition:function(){var e=this.settingsClone,t=e.aSign,n=this.that;return t?(t=t.length,"p"===e.pSign?e.aNeg&&n.value&&n.value.charAt(0)===e.aNeg?[1,t+1]:[0,t]:[(e=n.value.length)-t,e]):[1e3,-1]},expandSelectionOnSign:function(e){var t=this.signPosition(),n=this.selection;n.start<t[1]&&n.end>t[0]&&((n.start<t[0]||n.end>t[1])&&this.value.substring(Math.max(n.start,t[0]),Math.min(n.end,t[1])).match(/^\s*$/)?n.start<t[0]?this.setSelection(n.start,t[0],e):this.setSelection(t[1],n.end,e):this.setSelection(Math.min(n.start,t[0]),Math.max(n.end,t[1]),e))},checkPaste:function(){var e,t;void 0!==this.valuePartsBeforePaste&&(e=this.getBeforeAfter(),t=this.valuePartsBeforePaste,delete this.valuePartsBeforePaste,e[0]=e[0].substr(0,t[0].length)+r(e[0].substr(t[0].length),this.settingsClone),this.setValueParts(e[0],e[1])||(this.value=t.join(""),this.setPosition(t[0].length,!1)))},skipAllways:function(e){var t=this.kdCode,n=this.which,i=this.ctrlKey,o=this.cmdKey,s=this.shiftKey;return(i||o)&&"keyup"===e.type&&void 0!==this.valuePartsBeforePaste||s&&45===t?(this.checkPaste(),!1):112<=t&&t<=123||91<=t&&t<=93||9<=t&&t<=31||t<8&&(0===n||n===t)||144===t||145===t||45===t||!(!i&&!o||65!==t)||(!i&&!o||67!==t&&86!==t&&88!==t?!(!i&&!o)||(37===t||39===t?(s=this.settingsClone.aSep,n=this.selection.start,i=this.that.value,"keydown"===e.type&&s&&!this.shiftKey&&(37===t&&i.charAt(n-2)===s?this.setPosition(n-1):39===t&&i.charAt(n+1)===s&&this.setPosition(n+1)),!0):34<=t&&t<=40):("keydown"===e.type&&this.expandSelectionOnSign(),86!==t&&45!==t||("keydown"===e.type||"keypress"===e.type?void 0===this.valuePartsBeforePaste&&(this.valuePartsBeforePaste=this.getBeforeAfter()):this.checkPaste()),"keydown"===e.type||"keypress"===e.type||67===t))},processAllways:function(){var e;return(8===this.kdCode||46===this.kdCode)&&(this.selection.length?(this.expandSelectionOnSign(!1),e=this.getBeforeAfterStriped()):(e=this.getBeforeAfterStriped(),8===this.kdCode?e[0]=e[0].substring(0,e[0].length-1):e[1]=e[1].substring(1,e[1].length)),this.setValueParts(e[0],e[1]),!0)},processKeypress:function(){var e=this.settingsClone,t=String.fromCharCode(this.which),n=this.getBeforeAfterStriped(),i=n[0],n=n[1];return t===e.aDec||e.altDec&&t===e.altDec||("."===t||","===t)&&110===this.kdCode?e.mDec&&e.aDec&&(e.aNeg&&-1<n.indexOf(e.aNeg)||-1<i.indexOf(e.aDec)||0<n.indexOf(e.aDec)||(0===n.indexOf(e.aDec)&&(n=n.substr(1)),this.setValueParts(i+e.aDec,n))):"-"===t||"+"===t?e.aNeg&&(""===i&&-1<n.indexOf(e.aNeg)&&(i=e.aNeg,n=n.substring(1,n.length)),i=i.charAt(0)===e.aNeg?i.substring(1,i.length):"-"===t?e.aNeg+i:i,this.setValueParts(i,n)):"0"<=t&&t<="9"&&(e.aNeg&&""===i&&-1<n.indexOf(e.aNeg)&&(i=e.aNeg,n=n.substring(1,n.length)),e.vMax<=0&&e.vMin<e.vMax&&-1===this.value.indexOf(e.aNeg)&&"0"!==t&&(i=e.aNeg+i),this.setValueParts(i+t,n)),!0},formatQuick:function(){var e=this.settingsClone,t=this.getBeforeAfterStriped(),n=this.value,n=((""===e.aSep||""!==e.aSep&&-1===n.indexOf(e.aSep))&&(""===e.aSign||""!==e.aSign&&-1===n.indexOf(e.aSign))&&(i=[],r="",-1<(i=n.split(e.aDec))[0].indexOf("-")&&(i[0]=i[0].replace(r="-",""),t[0]=t[0].replace("-","")),i[0].length>e.mInt&&"0"===t[0].charAt(0)&&(t[0]=t[0].slice(1)),t[0]=r+t[0]),g(this.value,this.settingsClone)),i=n.length;if(n){for(var o=t[0].split(""),s=0;s<o.length;s+=1)o[s].match("\\d")||(o[s]="\\"+o[s]);var r=new RegExp("^.*?"+o.join(".*?")),t=n.match(r);t?(0===(i=t[0].length)&&n.charAt(0)!==e.aNeg||1===i&&n.charAt(0)===e.aNeg)&&e.aSign&&"p"===e.pSign&&(i=this.settingsClone.aSign.length+("-"===n.charAt(0)?1:0)):e.aSign&&"s"===e.pSign&&(i-=e.aSign.length)}this.that.value=n,this.setPosition(i),this.formatted=!0}};var t={init:function(i){return this.each(function(){var s=a(this),e=s.data("autoNumeric"),t=s.data();if("object"==typeof e)return this;if((e=a.extend({},{aNum:"0123456789",aSep:",",dGroup:"3",aDec:".",altDec:null,aSign:"",pSign:"p",vMax:"999999999.99",vMin:"0.00",mDec:null,mRound:"S",aPad:!0,nBracket:null,wEmpty:"empty",lZero:"allow",aForm:!0,onSomeEvent:function(){}},t,i)).aDec===e.aSep)return a.error("autoNumeric will not function properly when the decimal character aDec: '"+e.aDec+"' and thousand separator aSep: '"+e.aSep+"' are the same character"),this;s.data("autoNumeric",e),e.lastSetValue="",e.runOnce=!1;var n=b(s,e);if(-1===a.inArray(s.prop("tagName"),e.tagList)&&"INPUT"!==s.prop("tagName"))return a.error("The <"+s.prop("tagName")+"> is not supported by autoNumeric()"),this;!1===e.runOnce&&e.aForm&&(s.is("input[type=text], input[type=hidden], input:not([type])")&&(t=!0,""===s[0].value&&"empty"===e.wEmpty&&(s[0].value="",t=!1),""===s[0].value&&"sign"===e.wEmpty&&(s[0].value=e.aSign,t=!1),t)&&s.autoNumeric("set",s.val()),-1!==a.inArray(s.prop("tagName"),e.tagList))&&""!==s.text()&&s.autoNumeric("set",s.text()),e.runOnce=!0,s.is("input[type=text], input[type=hidden], input:not([type])")&&(s.on("keydown.autoNumeric",function(e){return(n=b(s)).settings.aDec===n.settings.aSep?(a.error("autoNumeric will not function properly when the decimal character aDec: '"+n.settings.aDec+"' and thousand separator aSep: '"+n.settings.aSep+"' are the same character"),this):n.that.readOnly||(n.init(e),n.settings.oEvent="keydown",n.skipAllways(e))?n.processed=!0:n.processAllways()?(n.processed=!0,n.formatQuick(),e.preventDefault(),!1):!(n.formatted=!1)}),s.on("keypress.autoNumeric",function(e){var t=b(s),n=t.processed;return t.init(e),t.settings.oEvent="keypress",!!t.skipAllways(e)||(n?(e.preventDefault(),!1):t.processAllways()||t.processKeypress()?(t.formatQuick(),e.preventDefault(),!1):void(t.formatted=!1))}),s.on("keyup.autoNumeric",function(e){var t=b(s),e=(t.init(e),t.settings.oEvent="keyup",t.ski
1pAllways(e));return t.kdCode=0,delete t.valuePartsBeforePaste,s[0].value===t.settings.aSign&&("s"===t.settings.pSign?o(this,0,0):o(this,t.settings.aSign.length,t.settings.aSign.length)),!!e||""===this.value||void(t.formatted||t.formatQuick())}),s.on("focusin.autoNumeric",function(){var e=b(s),t=(e.settingsClone.oEvent="focusin",null!==e.settingsClone.nBracket&&(t=s.val(),s.val(l(t,e.settingsClone.nBracket,e.settingsClone.oEvent))),e.inVal=s.val(),f(e.inVal,e.settingsClone,!0));null!==t&&(s.val(t),"s"===e.settings.pSign?o(this,0,0):o(this,e.settings.aSign.length,e.settings.aSign.length))}),s.on("focusout.autoNumeric",function(){var e=b(s),t=e.settingsClone,n=s.val(),i=n,o=(e.settingsClone.oEvent="focusout",""),o=("allow"===t.lZero&&(t.allowLeading=!1,o="leading"),""!==n&&(n=null===f(n=r(n,t,o),t)&&p(n,t,s[0])?d(n=m(n=c(n,t.aDec,t.aNeg),t),t.aDec,t.aNeg):""),f(n,t,!1));(o=null===o?g(n,t):o)!==i&&s.val(o),o!==e.inVal&&(s.change(),delete e.inVal),null!==t.nBracket&&s.autoNumeric("get")<0&&(e.settingsClone.oEvent="focusout",s.val(l(s.val(),t.nBracket,t.oEvent)))}))})},destroy:function(){return a(this).each(function(){var e=a(this);e.off(".autoNumeric"),e.removeData("autoNumeric")})},update:function(i){return a(this).each(function(){var e,t=y(a(this)),n=t.data("autoNumeric");return"object"!=typeof n?(a.error("You must initialize autoNumeric('init', {options}) prior to calling the 'update' method"),this):(e=t.autoNumeric("get"),b(t,n=a.extend(n,i),!0),n.aDec===n.aSep?(a.error("autoNumeric will not function properly when the decimal character aDec: '"+n.aDec+"' and thousand separator aSep: '"+n.aSep+"' are the same character"),this):(t.data("autoNumeric",n),""!==t.val()||""!==t.text()?t.autoNumeric("set",e):void 0))})},set:function(o){return a(this).each(function(){var e=y(a(this)),t=e.data("autoNumeric"),n=o.toString(),i=o.toString();return"object"!=typeof t?(a.error("You must initialize autoNumeric('init', {options}) prior to calling the 'set' method"),this):(i!==e.attr("value")&&i!==e.text()||!1!==t.runOnce||(n=n.replace(",",".")),i!==e.attr("value")&&"INPUT"===e.prop("tagName")&&!1===t.runOnce&&(n=r(n,t)),a.isNumeric(+n)?(n=u(n,t),t.oEvent="set",(t.lastSetValue=n).toString(),n=g(n=p(n=d(n=""!==n?m(n,t):n,t.aDec,t.aNeg),t)?n:m("",t),t),e.is("input[type=text], input[type=hidden], input:not([type])")?e.val(n):-1!==a.inArray(e.prop("tagName"),t.tagList)?e.text(n):(a.error("The <"+e.prop("tagName")+"> is not supported by autoNumeric()"),!1)):"")})},get:function(){var e=y(a(this)),t=e.data("autoNumeric");if("object"!=typeof t)return a.error("You must initialize autoNumeric('init', {options}) prior to calling the 'get' method"),this;t.oEvent="get";var n="";if(e.is("input[type=text], input[type=hidden], input:not([type])"))n=e.eq(0).val();else{if(-1===a.inArray(e.prop("tagName"),t.tagList))return a.error("The <"+e.prop("tagName")+"> is not supported by autoNumeric()"),!1;n=e.eq(0).text()}return""===n&&"empty"===t.wEmpty||n===t.aSign&&("sign"===t.wEmpty||"empty"===t.wEmpty)?"":(null!==t.nBracket&&""!==n&&(n=l(n,t.nBracket,t.oEvent)),0==+(n=c(n=!t.runOnce&&!1!==t.aForm?n:r(n,t),t.aDec,t.aNeg))&&"keep"!==t.lZero&&(n="0"),"keep"!==t.lZero?u(n,t):n)},getString:function(){for(var e=!1,t=y(a(this)).serialize().split("&"),n=0;n<t.length;n+=1){var i=t[n].split("=");"object"==typeof a('*[name="'+decodeURIComponent(i[0])+'"]').data("autoNumeric")&&null!==i[1]&&void 0!==a('*[name="'+decodeURIComponent(i[0])+'"]').data("autoNumeric")&&(i[1]=a('input[name="'+decodeURIComponent(i[0])+'"]').autoNumeric("get"),t[n]=i.join("="),e=!0)}return!0===e?t.join("&"):(a.error("You must initialize autoNumeric('init', {options}) prior to calling the 'getString' method"),this)},getArray:function(){var n=!1,e=y(a(this)).serializeArray();return a.each(e,function(e,t){"object"==typeof a('*[name="'+decodeURIComponent(t.name)+'"]').data("autoNumeric")&&(""!==t.value&&void 0!==a('*[name="'+decodeURIComponent(t.name)+'"]').data("autoNumeric")&&(t.value=a('input[name="'+decodeURIComponent(t.name)+'"]').autoNumeric("get").toString()),n=!0)}),!0===n?e:(a.error("You must initialize autoNumeric('init', {options}) prior to calling the 'getArray' method"),this)},getSettings:function(){return y(a(this)).eq(0).data("autoNumeric")}};a.fn.autoNumeric=function(e){return t[e]?t[e].apply(this,Array.prototype.slice.call(arguments,1
1)):"object"!=typeof e&&e?void a.error('Method "'+e+'" is not supported by autoNumeric()'):t.init.apply(this,arguments)}}(jQuery),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports&&"function"==typeof require?require("jquery"):jQuery)}(function(h){"use strict";function s(e,t){var n=this;n.element=e,n.el=h(e),n.suggestions=[],n.badQueries=[],n.selectedIndex=-1,n.currentValue=n.element.value,n.timeoutId=null,n.cachedResponse={},n.onChangeTimeout=null,n.onChange=null,n.isLocal=!1,n.suggestionsContainer=null,n.noSuggestionsContainer=null,n.options=h.extend(!0,{},s.defaults,t),n.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"},n.hint=null,n.hintValue="",n.selection=null,n.initialize(),n.setOptions(t)}var n={escapeRegExChars:function(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},createNode:function(e){var t=document.createElement("div");return t.className=e,t.style.position="absolute",t.style.display="none",t}},i=27,o=9,r=13,a=38,l=39,c=40,e=h.noop;s.utils=n,(h.Autocomplete=s).defaults={ajaxSettings:{},autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:function(e,t){return t?(t="("+n.escapeRegExChars(t)+")",e.value.replace(new RegExp(t,"gi"),"<strong>$1</strong>").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/<(\/?strong)>/g,"<$1>")):e.value},formatGroup:function(e,t){return'<div class="autocomplete-group">'+t+"</div>"},delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:e,onSearchComplete:e,onSearchError:e,preserveInput:!1,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:function(e,t,n){return-1!==e.value.toLowerCase().indexOf(n)},paramName:"query",transformResult:function(e){return"string"==typeof e?h.parseJSON(e):e},showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1},s.prototype={initialize:function(){var e,t=this,n="."+t.classes.suggestion,i=t.classes.selected,o=t.options;t.element.setAttribute("autocomplete","off"),t.noSuggestionsContainer=h('<div class="autocomplete-no-suggestion"></div>').html(this.options.noSuggestionNotice).get(0),t.suggestionsContainer=s.utils.createNode(o.containerClass),(e=h(t.suggestionsContainer)).appendTo(o.appendTo||"body"),"auto"!==o.width&&e.css("width",o.width),e.on("mouseover.autocomplete",n,function(){t.activate(h(this).data("index"))}),e.on("mouseout.autocomplete",function(){t.selectedIndex=-1,e.children("."+i).removeClass(i)}),e.on("click.autocomplete",n,function(){t.select(h(this).data("index"))}),e.on("click.autocomplete",function(){clearTimeout(t.blurTimeoutId)}),t.fixPositionCapture=function(){t.visible&&t.fixPosition()},h(window).on("resize.autocomplete",t.fixPositionCapture),t.el.on("keydown.autocomplete",function(e){t.onKeyPress(e)}),t.el.on("keyup.autocomplete",function(e){t.onKeyUp(e)}),t.el.on("blur.autocomplete",function(){t.onBlur()}),t.el.on("focus.autocomplete",function(){t.onFocus()}),t.el.on("change.autocomplete",function(e){t.onKeyUp(e)}),t.el.on("input.autocomplete",function(e){t.onKeyUp(e)})},onFocus:function(){this.fixPosition(),this.el.val().length>=this.options.minChars&&this.onValueChange()},onBlur:function(){var e=this;e.blurTimeoutId=setTimeout(function(){e.hide()},200)},abortAjax:function(){this.currentRequest&&(this.currentRequest.abort(),this.currentRequest=null)},setOptions:function(e){e=h.extend({},this.options,e);this.isLocal=Array.isArray(e.lookup),this.isLocal&&(e.lookup=this.verifySuggestionsFormat(e.lookup)),e.orientation=this.validateOrientation(e.orientation,"bottom"),h(this.suggestionsContainer).css({"max-height":e.maxHeight+"px",width:e.width+"px","z-index":e.zIndex}),this.options=e},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){this.disabled=!0,clearTimeout(this.onChangeTimeout),this.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var e,t,n,i,o,s,r,a,l=h(this.suggestionsContainer),c=l.parent().get(0);c!==document.body&&!this.options.forceFixPosition||(s=this.options.orientation,e=l.outerHeight(),t=this.el.outerHeight(),n={top:(r=this.el.offset()).top,left
1:r.left},"auto"===s&&(a=h(window).height(),i=-(o=h(window).scrollTop())+r.top-e,o=o+a-(r.top+t+e),s=Math.max(i,o)===i?"top":"bottom"),n.top+="top"===s?-e:t,c!==document.body&&(a=l.css("opacity"),this.visible||l.css("opacity",0).show(),r=l.offsetParent().offset(),n.top-=r.top,n.top+=c.scrollTop,n.left-=r.left,this.visible||l.css("opacity",a).hide()),"auto"===this.options.width&&(n.width=this.el.outerWidth()+"px"),l.css(n))},isCursorAtEnd:function(){var e=this.el.val().length,t=this.element.selectionStart;return"number"==typeof t?t===e:!document.selection||((t=document.selection.createRange()).moveStart("character",-e),e===t.text.length)},onKeyPress:function(e){var t=this;if(t.disabled||t.visible||e.which!==c||!t.currentValue){if(!t.disabled&&t.visible){switch(e.which){case i:t.el.val(t.currentValue),t.hide();break;case l:if(t.hint&&t.options.onHint&&t.isCursorAtEnd()){t.selectHint();break}return;case o:if(t.hint&&t.options.onHint)return void t.selectHint();if(-1===t.selectedIndex)return void t.hide();if(t.select(t.selectedIndex),!1===t.options.tabDisabled)return;break;case r:if(-1===t.selectedIndex)return void t.hide();t.select(t.selectedIndex);break;case a:t.moveUp();break;case c:t.moveDown();break;default:return}e.stopImmediatePropagation(),e.preventDefault()}}else t.suggest()},onKeyUp:function(e){var t=this;if(!t.disabled){switch(e.which){case a:case c:return}clearTimeout(t.onChangeTimeout),t.currentValue!==t.el.val()&&(t.findBestHint(),0<t.options.deferRequestBy?t.onChangeTimeout=setTimeout(function(){t.onValueChange()},t.options.deferRequestBy):t.onValueChange())}},onValueChange:function(){var e,t,n,i;if(!this.ignoreValueChange)return t=(e=this).options,n=e.el.val(),i=e.getQuery(n),e.selection&&e.currentValue!==i&&(e.selection=null,(t.onInvalidateSelection||h.noop).call(e.element)),clearTimeout(e.onChangeTimeout),e.currentValue=n,e.selectedIndex=-1,t.triggerSelectOnValidInput&&e.isExactMatch(i)?void e.select(0):void(i.length<t.minChars?e.hide():e.getSuggestions(i));this.ignoreValueChange=!1},isExactMatch:function(e){var t=this.suggestions;return 1===t.length&&t[0].value.toLowerCase()===e.toLowerCase()},getQuery:function(e){var t=this.options.delimiter;return t?(t=e.split(t),h.trim(t[t.length-1])):e},getSuggestionsLocal:function(t){var e=this.options,n=t.toLowerCase(),i=e.lookupFilter,o=parseInt(e.lookupLimit,10),e={suggestions:h.grep(e.lookup,function(e){return i(e,t,n)})};return o&&e.suggestions.length>o&&(e.suggestions=e.suggestions.slice(0,o)),e},getSuggestions:function(i){var e,t,n,o=this,s=o.options,r=s.serviceUrl;s.params[s.paramName]=i,!1!==s.onSearchStart.call(o.element,s.params)&&(e=s.ignoreParams?null:s.params,h.isFunction(s.lookup)?s.lookup(i,function(e){o.suggestions=e.suggestions,o.suggest(),s.onSearchComplete.call(o.element,i,e.suggestions)}):(n=o.isLocal?o.getSuggestionsLocal(i):(h.isFunction(r)&&(r=r.call(o.element,i)),t=r+"?"+h.param(e||{}),o.cachedResponse[t]))&&Array.isArray(n.suggestions)?(o.suggestions=n.suggestions,o.suggest(),s.onSearchComplete.call(o.element,i,n.suggestions)):o.isBadQuery(i)?s.onSearchComplete.call(o.element,i,[]):(o.abortAjax(),n={url:r,data:e,type:s.type,dataType:s.dataType},h.extend(n,s.ajaxSettings),o.currentRequest=h.ajax(n).done(function(e){o.currentRequest=null,e=s.transformResult(e,i),o.processResponse(e,i,t),s.onSearchComplete.call(o.element,i,e.suggestions)}).fail(function(e,t,n){s.onSearchError.call(o.element,i,e,t,n)})))},isBadQuery:function(e){if(this.options.preventBadQueries)for(var t=this.badQueries,n=t.length;n--;)if(0===e.indexOf(t[n]))return!0;return!1},hide:function(){var e=this,t=h(e.suggestionsContainer);h.isFunction(e.options.onHide)&&e.visible&&e.options.onHide.call(e.element,t),e.visible=!1,e.selectedIndex=-1,clearTimeout(e.onChangeTimeout),h(e.suggestionsContainer).hide(),e.signalHint(null)},suggest:function(){var o,e,s,r,a,l,c,t,n,i,u,d;if(this.suggestions.length)return s=(e=this).options,r=s.groupBy,a=s.formatResult,l=e.getQuery(e.currentValue),c=e.classes.suggestion,t=e.classes.selected,n=h(e.suggestionsContainer),i=h(e.noSuggestionsContainer),u=s.beforeRender,d="",s.triggerSelectOnValidInput&&e.isExactMatch(l)?void e.select(0):(h.each(e.suggestions,function(e,t){var n,i;r&&(d+=(i=(n=t).data[r],o===i?"":(o=i,s.formatGroup(n,o)))),d+='<div class="'+c+'" data-index="'+e+'">'+a(t,l,e)+"</div>"}),this.adjustContainerWidth(),i.detach(),n.html(d),h.isFunction(u)&&u.call(e.element,n,e.suggestions),e.fixPosition(),n.show(),s.autoSelectFirst&&(e.selectedIndex=0,n.scrollTop(0),n.children("."+c).first().addClass(t)),e.visible=!0,void e.findBestHint());this.options.showNoSuggestionNotice?this.noSuggestions():this.hide()},noSuggestions:function(){var e=this.options.beforeRender,t=h(this.suggestionsContainer),n=h(this.noSuggestionsContainer);this.adjustContainerWidth(),n.detach(),t.empty(),t.append(n),h.isFunction(e)&&e.call(this.element,t,this.suggestions),this.fixPosition(),t.show(),this.visible=!0},adjustContainerWidth:function(){var e,t=this.options,n=h(this.suggestionsContainer);"auto"===t.width?(e=this.el.outerWidth(),n.css("width",0<e?e:300)):"flex"===t.width&&n.css("width","")},findBestHint:function(){var i=this.el.val().toLowerCase(),o=null;i&&(h.each(this.suggestions,function(e,t){var n=0===t.value.toLowerCase().indexOf(i);return n&&(o=t),!n}),this.signalHint(o))},signalHint:function(e){var t="";e&&(t=this.currentValue+e.value.substr(this.currentValue.length)),this.hintValue!==t&&(this.hintValue=t,this.hint=e,(this.options.onHint||h.noop)(t))},verifySuggestionsFormat:function(e){return e.length&&"string"==typeof e[0]?h.map(e,function(e){return{value:e,data:null}}):e},validateOrientation:function(e,t){return e=h.trim(e||"").toLowerCase(),e=-1===h.inArray(e,["auto","bottom","top"])?t:e},processResponse:function(e,t,n){var i=this.options;e.suggestions=this.verifySuggestionsFormat(e.suggestions),i.noCache||(this.cachedResponse[n]=e,i.preventBadQueries&&!e.suggestions.length&&this.badQueries.push(t)),t===this.getQuery(this.currentValue)&&(this.suggestions=e.suggestions,this.suggest())},activate:function(e){var t=this.classes.selected,n=h(this.suggestionsContainer),i=n.find("."+this.classes.suggestion);return n.find("."+t).removeClass(t),this.selectedIndex=e,-1!==this.selectedIndex&&i.length>this.selectedIndex?(n=i.get(this.selectedIndex),h(n).addClass(t),n):null},selectHint:function(){var e=h.inArray(this.hint,this.suggestions);this.select(e)},select:function(e){this.hide(),this.onSelect(e)},moveUp:function(){var e=this;if(-1!==e.selectedIndex)return 0===e.selectedIndex?(h(e.suggestionsContainer).children("."+e.classes.suggestion).first().removeClass(e.classes.selected),e.selectedIndex=-1,e.ignoreValueChange=!1,e.el.val(e.currentValue),void e.findBestHint()):void e.adjustScroll(e.selectedIndex-1)},moveDown:function(){this.selectedIndex!==this.suggestions.length-1&&this.adjustScroll(this.selectedIndex+1)},adjustScroll:function(e){var t,n,i,o=this,s=o.activate(e);s&&(t=h(s).outerHeight(),s=s.offsetTop,i=(n=h(o.suggestionsContainer).scrollTop())+o.options.maxHeight-t,s<n?h(o.suggestionsContainer).scrollTop(s):i<s&&h(o.suggestionsContainer).scrollTop(s-o.options.maxHeight+t),o.options.preserveInput||(o.ignoreValueChange=!0,o.el.val(o.getValue(o.suggestions[e].value))),o.signalHint(null))},onSelect:function(e){var t=this,n=t.options.onSelect,e=t.suggestions[e];t.currentValue=t.getValue(e.value),t.currentValue===t.el.val()||t.options.preserveInput||t.el.val(t.currentValue),t.signalHint(null),t.suggestions=[],t.selection=e,h.isFunction(n)&&n.call(t.element,e)},getValue:function(e){var t,n=this.options.delimiter;return!n||1===(n=(t=this.currentValue).split(n)).length?e:t.substr(0,t.length-n[n.length-1].length)+e},dispose:function(){this.el.off(".autocomplete").removeData("autocomplete"),h(window).off("resize.autocomplete",this.fixPositionCapture),h(this.suggestionsContainer).remove()}},h.fn.devbridgeAutocomplete=function(n,i){var o="autocomplete";return arguments.length?this.each(function(){var e=h(this),t=e.data(o);"string"==typeof n?t&&"function"==typeof t[n]&&t[n](i):(t&&t.dis
vendor: 4,500 bytes, line 1
1pose&&t.dispose(),t=new s(this,n),e.data(o,t))}):this.first().data(o)},h.fn.autocomplete||(h.fn.autocomplete=h.fn.devbridgeAutocomplete)}),function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t),t}:n(jQuery)}(function(t){(u=t&&t.fn&&t.fn.select2&&t.fn.select2.amd?t.fn.select2.amd:u)&&u.requirejs||(u?e=u:u={},g={},m={},v={},y={},n=Object.prototype.hasOwnProperty,i=[].slice,b=/\.js$/,p=function(e,t){var n,i,o=c(e),s=o[0],t=t[1];return e=o[1],s&&(n=x(s=l(s,t))),s?e=n&&n.normalize?n.normalize(e,(i=t,function(e){return l(e,i)})):l(e,t):(s=(o=c(e=l(e,t)))[0],e=o[1],s&&(n=x(s))),{f:s?s+"!"+e:e,n:e,pr:s,p:n}},f={require:function(e){return _(e)},exports:function(e){var t=g[e];return void 0!==t?t:g[e]={}},module:function(e){return{id:e,uri:"",exports:g[e],config:(t=e,function(){return v&&v.config&&v.config[t]||{}})};var t}},s=function(e,t,n,i){var o,s,r,a,l,c=[],u=typeof n,d=C(i=i||e);if("undefined"==u||"function"==u){for(t=!t.length&&n.length?["require","exports","module"]:t,a=0;a<t.length;a+=1)if("require"===(s=(r=p(t[a],d)).f))c[a]=f.require(e);else if("exports"===s)c[a]=f.exports(e),l=!0;else if("module"===s)o=c[a]=f.module(e);else if(w(g,s)||w(m,s)||w(y,s))c[a]=x(s);else{if(!r.p)throw new Error(e+" missing "+s);r.p.load(r.n,_(i,!0),function(t){return function(e){g[t]=e}}(s),{}),c[a]=g[s]}u=n?n.apply(g[e],c):void 0,e&&(o&&o.exports!==h&&o.exports!==g[e]?g[e]=o.exports:u===h&&l||(g[e]=u))}else e&&(g[e]=n)},o=e=r=function(e,t,n,i,o){if("string"==typeof e)return f[e]?f[e](t):x(p(e,C(t)).f);if(!e.splice){if((v=e).deps&&r(v.deps,v.callback),!t)return;t.splice?(e=t,t=n,n=null):e=h}return t=t||function(){},"function"==typeof n&&(n=i,i=o),i?s(h,e,t,n):setTimeout(function(){s(h,e,t,n)},4),r},r.config=function(e){return r(e)},o._defined=g,(a=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),w(g,e)||w(m,e)||(m[e]=[e,t,n])}).amd={jQuery:!0},u.requirejs=o,u.require=e,u.define=a),u.define("almond",function(){}),u.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),u.define("select2/utils",["jquery"],function(s){var i={};function c(e){var t,n=e.prototype,i=[];for(t in n)"function"==typeof n[t]&&"constructor"!==t&&i.push(t);return i}i.Extend=function(e,t){var n,i={}.hasOwnProperty;function o(){this.constructor=e}for(n in t)i.call(t,n)&&(e[n]=t[n]);return o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype,e},i.Decorate=function(i,o){var e=c(o),t=c(i);function s(){var e=Array.prototype.unshift,t=o.prototype.constructor.length,n=i.prototype.constructor;0<t&&(e.call(arguments,i.prototype.constructor),n=o.prototype.constructor),n.apply(this,arguments)}o.displayName=i.displayName,s.prototype=new function(){this.constructor=s};for(var n=0;n<t.length;n++){var r=t[n];s.prototype[r]=i.prototype[r]}for(var a=0;a<e.length;a++){var l=e[a];s.prototype[l]=function(e){var t=function(){},n=(e in s.prototype&&(t=s.prototype[e]),o.prototype[e]);return function(){return Array.prototype.unshift.call(arguments,t),n.apply(this,arguments)}}(l)}return s};function e(){this.listeners={}}e.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},e.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},0===(n=null==n?[]:n).length&&n.push({}),(n[0]._type=e)in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},e.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},i.Observable=e,i.generateChars=function(e){for(var t="",n=0;n<e;n++)t+=Math.floor(36*Math.random()).toString(36);return t},i.bind=function(e,t){return function(){e.apply(t,arguments)}},i._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var o=0;o<n.length;o++){var s=n[o];(s=s.substring(0,1).toLowerCase()+s.substring(1))in i||(i[s]={}),o==n.length-1&&(i[s]=e[t]),i=i[s]}delete e[t]}}return e},i.hasScroll=function(e,t){var n=s(t),i=t.style.overflowX,o=t.style.overflowY;
1return(i!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===i||"scroll"===o||n.innerHeight()<t.scrollHeight||n.innerWidth()<t.scrollWidth)},i.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},i.appendMany=function(e,t){var n;"1.7"===s.fn.jquery.substr(0,3)&&(n=s(),s.map(t,function(e){n=n.add(e)}),t=n),e.append(t)},i.__cache={};var n=0;return i.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++n),t=n.toString())),t},i.StoreData=function(e,t,n){e=i.GetUniqueElementId(e);i.__cache[e]||(i.__cache[e]={}),i.__cache[e][t]=n},i.GetData=function(e,t){var n=i.GetUniqueElementId(e);return t?i.__cache[n]&&null!=i.__cache[n][t]?i.__cache[n][t]:s(e).data(t):i.__cache[n]},i.RemoveData=function(e){e=i.GetUniqueElementId(e);null!=i.__cache[e]&&delete i.__cache[e]},i}),u.define("select2/results",["jquery","./utils"],function(u,d){function i(e,t,n){this.$element=e,this.data=n,this.options=t,i.__super__.constructor.call(this)}return d.Extend(i,d.Observable),i.prototype.render=function(){var e=u('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup"),n=(this.clear(),this.hideLoading(),u('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>')),i=this.options.get("translations").get(e.message);n.append(t(i(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(e){this.hideLoading();var t=[];if(null==e.results||0===e.results.length)0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"});else{e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],i=this.option(i);t.push(i)}this.$results.append(t)}},i.prototype.position=function(e,t){t.find(".select2-results").append(e)},i.prototype.sort=function(e){return this.options.get("sorter")(e)},i.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");(0<t.length?t:e).first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var t=this;this.data.current(function(e){var i=u.map(e,function(e){return e.id.toString()});t.$results.find(".select2-results__option[aria-selected]").each(function(){var e=u(this),t=d.GetData(this,"data"),n=""+t.id;null!=t.element&&t.element.selected||null==t.element&&-1<u.inArray(n,i)?e.attr("aria-selected","true"):e.attr("aria-selected","false")})})},i.prototype.showLoading=function(e){this.hideLoading();e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},e=this.option(e);e.className+=" loading-results",this.$results.prepend(e)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(e){var t,n=document.createElement("li"),i=(n.className="select2-results__option",{role:"treeitem","aria-selected":"false"});for(t in e.disabled&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==e.id&&delete i["aria-selected"],null!=e._resultId&&(n.id=e._resultId),e.title&&(n.title=e.title),e.children&&(i.role="group",i["aria-label"]=e.text,delete i["aria-selected"]),i)n.setAttribute(t,i[t]);if(e.children){for(var o=u(n),s=document.createElement("strong"),r=(s.className="select2-results__group",u(s),this.template(e,s),[]),a=0;a<e.children.length;a++){var l=e.children[a],l=this.option(l);r.push(l)}var c=u("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});c.append(r),o.append(s),o.append(c)}else this.template(e,n);return d.StoreData(n,"data",e),n},i.prototype.bind=function(t,e){var o=this,n=t.id+"-results";this.$results.attr("id",n),t.on("results:all",function(e){o.clear(),o.append(e.data),t.isOpen()&&(o.setClasses(),o.highlightFirstItem())}),t.on("results:append",function(e){o.append(e.data),t.isOpen()&&o.setClasses()}),t.on("query",function(e){o.hideMessages(),o.showLoading(e)}
vendor: 4,799 bytes, line 1
1),t.on("select",function(){t.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect"))&&o.highlightFirstItem()}),t.on("unselect",function(){t.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect"))&&o.highlightFirstItem()}),t.on("open",function(){o.$results.attr("aria-expanded","true"),o.$results.attr("aria-hidden","false"),o.setClasses(),o.ensureHighlightVisible()}),t.on("close",function(){o.$results.attr("aria-expanded","false"),o.$results.attr("aria-hidden","true"),o.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=o.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e,t=o.getHighlightedResults();0!==t.length&&(e=d.GetData(t[0],"data"),"true"==t.attr("aria-selected")?o.trigger("close",{}):o.trigger("select",{data:e}))}),t.on("results:previous",function(){var e,t=o.getHighlightedResults(),n=o.$results.find("[aria-selected]"),i=n.index(t);i<=0||(i=i-1,0===t.length&&(i=0),(t=n.eq(i)).trigger("mouseenter"),n=o.$results.offset().top,t=t.offset().top,e=o.$results.scrollTop()+(t-n),0===i?o.$results.scrollTop(0):t-n<0&&o.$results.scrollTop(e))}),t.on("results:next",function(){var e,t,n=o.getHighlightedResults(),i=o.$results.find("[aria-selected]"),n=i.index(n)+1;n>=i.length||((i=i.eq(n)).trigger("mouseenter"),e=o.$results.offset().top+o.$results.outerHeight(!1),i=i.offset().top+i.outerHeight(!1),t=o.$results.scrollTop()+i-e,0===n?o.$results.scrollTop(0):e<i&&o.$results.scrollTop(t))}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.on("results:message",function(e){o.displayMessage(e)}),u.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=o.$results.scrollTop(),n=o.$results.get(0).scrollHeight-t+e.deltaY,t=0<e.deltaY&&t-e.deltaY<=0,n=e.deltaY<0&&n<=o.$results.height();t?(o.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):n&&(o.$results.scrollTop(o.$results.get(0).scrollHeight-o.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var t=u(this),n=d.GetData(this,"data");"true"===t.attr("aria-selected")?o.options.get("multiple")?o.trigger("unselect",{originalEvent:e,data:n}):o.trigger("close",{}):o.trigger("select",{originalEvent:e,data:n})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(e){var t=d.GetData(this,"data");o.getHighlightedResults().removeClass("select2-results__option--highlighted"),o.trigger("results:focus",{data:t,element:u(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var e,t,n,i,o=this.getHighlightedResults();0!==o.length&&(e=this.$results.find("[aria-selected]").index(o),t=this.$results.offset().top,i=o.offset().top,n=this.$results.scrollTop()+(i-t),i=i-t,n-=2*o.outerHeight(!1),e<=2?this.$results.scrollTop(0):(i>this.$results.outerHeight()||i<0)&&this.$results.scrollTop(n))},i.prototype.template=function(e,t){var n=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),n=n(e,t);null==n?t.style.display="none":"string"==typeof n?t.innerHTML=i(n):u(t).append(n)},i}),u.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),u.define("select2/selection/base",["jquery","../utils","../keys"],function(n,i,o){function s(e,t){this.$element=e,this.options=t,s.__super__.constructor.call(this)}return i.Extend(s,i.Observable),s.prototype.render=function(){var e=n('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=i.GetData(this.$element[0],"old-tabindex")?this._tabindex=i.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),this.$selection=e},s.prototype.bind=function(e,t){var n=this,i=(e.id,e.id+"-results");this.container=e,this.$selection.on("focus",function(e){n.trigger("focus",e)}),this.$selection.on("blur",function(e){n._handleBlur(e)}),this.$selection.on("keydown",function(e){n.trigger("keypress",e),e.which===o.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){n.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){n.update(e.data)}),e.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",i),n._attachCloseHandler(e)}),e.on("close",function(){n.$selection.attr("aria-expanded","fal
1se"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),window.setTimeout(function(){n.$selection.focus()},0),n._detachCloseHandler(e)}),e.on("enable",function(){n.$selection.attr("tabindex",n._tabindex)}),e.on("disable",function(){n.$selection.attr("tabindex","-1")})},s.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||n.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)},1)},s.prototype._attachCloseHandler=function(e){n(document.body).on("mousedown.select2."+e.id,function(e){var t=n(e.target).closest(".select2");n(".select2.select2-container--open").each(function(){n(this);this!=t[0]&&i.GetData(this,"element").select2("close")})})},s.prototype._detachCloseHandler=function(e){n(document.body).off("mousedown.select2."+e.id)},s.prototype.position=function(e,t){t.find(".selection").append(e)},s.prototype.destroy=function(){this._detachCloseHandler(this.container)},s.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},s}),u.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,i){function o(){o.__super__.constructor.apply(this,arguments)}return n.Extend(o,t),o.prototype.render=function(){var e=o.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},o.prototype.bind=function(t,e){var n=this,i=(o.__super__.bind.apply(this,arguments),t.id+"-container");this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),t.on("focus",function(e){t.isOpen()||n.$selection.focus()})},o.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},o.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},o.prototype.selectionContainer=function(){return e("<span></span>")},o.prototype.update=function(e){var t,n;0===e.length?this.clear():(e=e[0],t=this.$selection.find(".select2-selection__rendered"),n=this.display(e,t),t.empty().append(n),t.attr("title",e.title||e.text))},o}),u.define("select2/selection/multiple",["jquery","./base","../utils"],function(i,e,a){function o(e,t){o.__super__.constructor.apply(this,arguments)}return a.Extend(o,e),o.prototype.render=function(){var e=o.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},o.prototype.bind=function(e,t){var n=this;o.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){n.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){var t;n.options.get("disabled")||(t=i(this).parent(),t=a.GetData(t[0],"data"),n.trigger("unselect",{originalEvent:e,data:t}))})},o.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},o.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},o.prototype.selectionContainer=function(){return i('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},o.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=0;n<e.length;n++){var i=e[n],o=this.selectionContainer(),s=this.display(i,o);o.append(s),o.attr("title",i.title||i.text),a.StoreData(o[0],"data",i),t.push(o)}var r=this.$selection.find(".select2-selection__rendered");a.appendMany(r,t)}},o}),u.define("select2/selection/placeholder",["../utils"],function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return t="string"==typeof t?{id:"",text:t}:t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(1<t.length||n)return e.call(this,t);this.clear();n=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(n)},t}
1),u.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(n,i,a){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},e.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();var i=a.GetData(n[0],"data"),o=this.$element.val(),s=(this.$element.val(this.placeholder.id),{data:i});if(this.trigger("clear",s),s.prevented)this.$element.val(o);else{for(var r=0;r<i.length;r++)if(s={data:i[r]},this.trigger("unselect",s),s.prevented)return void this.$element.val(o);this.$element.trigger("change"),this.trigger("toggle",{})}}}},e.prototype._handleKeyboardClear=function(e,t,n){n.isOpen()||t.which!=i.DELETE&&t.which!=i.BACKSPACE||this._handleClear(t)},e.prototype.update=function(e,t){e.call(this,t),0<this.$selection.find(".select2-selection__placeholder").length||0===t.length||(e=this.options.get("translations").get("removeAllItems"),e=n('<span class="select2-selection__clear" title="'+e()+'">×</span>'),a.StoreData(e[0],"data",t),this.$selection.find(".select2-selection__rendered").prepend(e))},e}),u.define("select2/selection/search",["jquery","../utils","../keys"],function(n,s,r){function e(e,t,n){e.call(this,t,n)}return e.prototype.render=function(e){var t=n('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>'),t=(this.$searchContainer=t,this.$search=t.find("input"),e.call(this));return this._transferTabIndex(),t},e.prototype.bind=function(e,t,n){var i=this,e=(e.call(this,t,n),t.on("open",function(){i.$search.trigger("focus")}),t.on("close",function(){i.$search.val(""),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")}),t.on("enable",function(){i.$search.prop("disabled",!1),i._transferTabIndex()}),t.on("disable",function(){i.$search.prop("disabled",!0)}),t.on("focus",function(e){i.$search.trigger("focus")}),t.on("results:focus",function(e){i.$search.attr("aria-activedescendant",e.id)}),this.$selection.on("focusin",".select2-search--inline",function(e){i.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){i._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){var t;e.stopPropagation(),i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented(),e.which===r.BACKSPACE&&""===i.$search.val()&&0<(t=i.$searchContainer.prev(".select2-selection__choice")).length&&(t=s.GetData(t[0],"data"),i.searchRemoveChoice(t),e.preventDefault())}),document.documentMode),o=e&&e<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){o?i.$selection.off("input.search input.searchcheck"):i.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){var t;o&&"input"===e.type?i.$selection.off("input.search input.searchcheck"):(t=e.which)!=r.SHIFT&&t!=r.CTRL&&t!=r.ALT&&t!=r.TAB&&i.handleSearch(e)})},e.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},e.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&(this.$element.find("[data-select2-tag]").length?this.$element:this.$search).focus()},e.prototype.handleSearch=function(){var e;this.resizeSearch(),this._keyUpPrevented||(e=this.$search.val(),this.trigger("query",{term:e})),this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";e=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").innerWidth():.75*(this.$search.val().length+1)+"em",this.$search.css("width",e)},e}),u.define("select2/selection/eventRelay",["jquery"],function(r){function e(){}return e.prototype.bind=function(e,t,n){var i=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],s=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,n),t.on("*",function(e,t){var n;-1!==r.inArray(e,o)&&(n=r.Event("select2:"+e,{params:t=t||{}}
vendor: 4,947 bytes, line 1
1),i.$element.trigger(n),-1!==r.inArray(e,s))&&(t.prevented=n.isDefaultPrevented())})},e}),u.define("select2/translation",["jquery","require"],function(t,n){function i(e){this.dict=e||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(e){return this.dict[e]},i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},i._cache={},i.loadPath=function(e){var t;return e in i._cache||(t=n(e),i._cache[e]=t),new i(i._cache[e])},i}),u.define("select2/diacritics",[],function(){return{"â¶":"A","A":"A","Ã":"A","Ã":"A","Ã":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ä":"A","Ä":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ç ":"A","Ã":"A","Ç":"A","Ả":"A","Ã
":"A","Ǻ":"A","Ç":"A","È":"A","È":"A","Ạ":"A","Ậ":"A","Ặ":"A","á¸":"A","Ä":"A","Ⱥ":"A","Ɐ":"A","ê²":"AA","Ã":"AE","Ǽ":"AE","Ç¢":"AE","ê´":"AO","ê¶":"AU","ê¸":"AV","êº":"AV","ê¼":"AY","â·":"B","ï¼¢":"B","á¸":"B","á¸":"B","á¸":"B","É":"B","Æ":"B","Æ":"B","â¸":"C","ï¼£":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ã":"C","á¸":"C","Æ":"C","È»":"C","ê¾":"C","â¹":"D","D":"D","á¸":"D","Ä":"D","á¸":"D","á¸":"D","á¸":"D","á¸":"D","Ä":"D","Æ":"D","Æ":"D","Æ":"D","ê¹":"D","DZ":"DZ","Ç":"DZ","Dz":"Dz","Ç
":"Dz","âº":"E","ï¼¥":"E","Ã":"E","Ã":"E","Ã":"E","á»":"E","Ế":"E","á»":"E","á»":"E","Ẽ":"E","Ä":"E","á¸":"E","á¸":"E","Ä":"E","Ä":"E","Ã":"E","Ẻ":"E","Ä":"E","È":"E","È":"E","Ẹ":"E","á»":"E","Ȩ":"E","á¸":"E","Ä":"E","á¸":"E","á¸":"E","Æ":"E","Æ":"E","â»":"F","F":"F","á¸":"F","Æ":"F","ê»":"F","â¼":"G","ï¼§":"G","Ç´":"G","Ä":"G","Ḡ":"G","Ä":"G","Ä ":"G","Ǧ":"G","Ä¢":"G","Ǥ":"G","Æ":"G","ê ":"G","ê½":"G","ê¾":"G","â½":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","È":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","â±§":"H","â±µ":"H","ê":"H","â¾":"I","I":"I","Ã":"I","Ã":"I","Ã":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ã":"I","Ḯ":"I","á»":"I","Ç":"I","È":"I","È":"I","á»":"I","Ä®":"I","Ḭ":"I","Æ":"I","â¿":"J","J":"J","Ä´":"J","É":"J","â":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Æ":"K","Ⱪ":"K","ê":"K","ê":"K","ê":"K","ê¢":"K","â":"L","L":"L","Ä¿":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ä»":"L","Ḽ":"L","Ḻ":"L","Å":"L","Ƚ":"L","â±¢":"L","â± ":"L","ê":"L","ê":"L","ê":"L","Ç":"LJ","Ç":"Lj","â":"M","ï¼":"M","Ḿ":"M","á¹":"M","á¹":"M","â±®":"M","Æ":"M","â":"N","ï¼®":"N","Ǹ":"N","Å":"N","Ã":"N","á¹":"N","Å":"N","á¹":"N","Å
":"N","á¹":"N","á¹":"N","È ":"N","Æ":"N","ê":"N","ê¤":"N","Ç":"NJ","Ç":"Nj","â":"O","O":"O","Ã":"O","Ã":"O","Ã":"O","á»":"O","á»":"O","á»":"O","á»":"O","Ã":"O","á¹":"O","Ȭ":"O","á¹":"O","Å":"O","á¹":"O","á¹":"O","Å":"O","È®":"O","Ȱ":"O","Ã":"O","Ȫ":"O","á»":"O","Å":"O","Ç":"O","È":"O","È":"O","Æ ":"O","á»":"O","á»":"O","á» ":"O","á»":"O","Ợ":"O","á»":"O","á»":"O","Ǫ":"O","Ǭ":"O","Ã":"O","Ǿ":"O","Æ":"O","Æ":"O","ê":"O","ê":"O","Å":"OE","Æ¢":"OI","ê":"OO","È¢":"OU","â
":"P","ï¼°":"P","á¹":"P","á¹":"P","Ƥ":"P","â±£":"P","ê":"P","ê":"P","ê":"P","â":"Q","ï¼±":"Q","ê":"Q","ê":"Q","É":"Q","â":"R","ï¼²":"R","Å":"R","á¹":"R","Å":"R","È":"R","È":"R","á¹":"R","á¹":"R","Å":"R","á¹":"R","É":"R","Ɽ":"R","ê":"R","ê¦":"R","ê":"R","â":"S","ï¼³":"S","áº":"S","Å":"S","Ṥ":"S","Å":"S","á¹ ":"S","Å ":"S","Ṧ":"S","á¹¢":"S","Ṩ":"S","È":"S","Å":"S","â±¾":"S","ê¨":"S","ê":"S","â":"T","ï¼´":"T","Ṫ":"T","Ť":"T","Ṭ":"T","È":"T","Å¢":"T","á¹°":"T","á¹®":"T","Ŧ":"T","Ƭ":"T","Æ®":"T","Ⱦ":"T","ê":"T","ê¨":"TZ","â":"U","ï¼µ":"U","Ã":"U","Ã":"U","Ã":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ã":"U","Ç":"U","Ç":"U","Ç":"U","Ç":"U","Ủ":"U","Å®":"U","Ű":"U","Ç":"U","È":"U","È":"U","Ư":"U","Ừ":"U","Ứ":"U","á»®":"U","Ử":"U","á»°":"U","Ụ":"U","á¹²":"U","Ų":"U","á¹¶":"U","á¹´":"U","É":"U","â":"V","ï¼¶":"V","á¹¼":"V","á¹¾":"V","Ʋ":"V","ê":"V","É
":"V","ê ":"VY","â":"W","ï¼·":"W","áº":"W","áº":"W","Å´":"W","áº":"W","áº":"W","áº":"W","â±²":"W","â":"X","X":"X","áº":"X","áº":"X","â":"Y","ï¼¹":"Y","Ỳ":"Y","Ã":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","áº":"Y","Ÿ":"Y","á»¶":"Y","á»´":"Y","Ƴ":"Y","É":"Y","Ỿ":"Y","â":"Z","Z":"Z","Ź":"Z","áº":"Z","Å»":"Z","Ž":"Z","áº":"Z","áº":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","ê¢":"Z","â":"a","ï½":"a","áº":"a","à ":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","Ä":"a","Ä":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","Ç¡":"a","ä":"a","Ç":"a","ả":"a","Ã¥":"a","Ç»":"a","Ç":"a","È":"a","È":"a","ạ":"a","áº":"a","ặ":"a","á¸":"a","Ä
":"a","â±¥":"a","É":"a","ê³":"aa","æ":"ae","ǽ":"ae","Ç£":"ae","êµ":"ao","ê·":"au","ê¹":"av","ê»":"av","ê½":"ay","â":"b","ï½":"b","á¸":"b","á¸
":"b","á¸":"b","Æ":"b","Æ":"b","É":"b","â":"c","ï½":"c","Ä":"
1c","Ä":"c","Ä":"c","Ä":"c","ç":"c","á¸":"c","Æ":"c","ȼ":"c","ê¿":"c","â":"c","â":"d","ï½":"d","á¸":"d","Ä":"d","á¸":"d","á¸":"d","á¸":"d","á¸":"d","Ä":"d","Æ":"d","É":"d","É":"d","êº":"d","dz":"dz","Ç":"dz","â":"e","ï½
":"e","è":"e","é":"e","ê":"e","á»":"e","ế":"e","á»
":"e","á»":"e","ẽ":"e","Ä":"e","á¸":"e","á¸":"e","Ä":"e","Ä":"e","ë":"e","ẻ":"e","Ä":"e","È
":"e","È":"e","ẹ":"e","á»":"e","È©":"e","á¸":"e","Ä":"e","á¸":"e","á¸":"e","É":"e","É":"e","Ç":"e","â":"f","ï½":"f","á¸":"f","Æ":"f","ê¼":"f","â":"g","ï½":"g","ǵ":"g","Ä":"g","ḡ":"g","Ä":"g","Ä¡":"g","ǧ":"g","Ä£":"g","Ç¥":"g","É ":"g","ê¡":"g","áµ¹":"g","ê¿":"g","â":"h","ï½":"h","Ä¥":"h","ḣ":"h","ḧ":"h","È":"h","ḥ":"h","ḩ":"h","ḫ":"h","áº":"h","ħ":"h","ⱨ":"h","â±¶":"h","É¥":"h","Æ":"hv","â":"i","ï½":"i","ì":"i","Ã":"i","î":"i","Ä©":"i","Ä«":"i","Ä":"i","ï":"i","ḯ":"i","á»":"i","Ç":"i","È":"i","È":"i","á»":"i","į":"i","á¸":"i","ɨ":"i","ı":"i","â":"j","ï½":"j","ĵ":"j","ǰ":"j","É":"j","â":"k","ï½":"k","ḱ":"k","Ç©":"k","ḳ":"k","Ä·":"k","ḵ":"k","Æ":"k","ⱪ":"k","ê":"k","ê":"k","ê
":"k","ê£":"k","â":"l","ï½":"l","Å":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","Å¿":"l","Å":"l","Æ":"l","É«":"l","ⱡ":"l","ê":"l","ê":"l","ê":"l","Ç":"lj","â":"m","ï½":"m","ḿ":"m","á¹":"m","á¹":"m","ɱ":"m","ɯ":"m","â":"n","ï½":"n","ǹ":"n","Å":"n","ñ":"n","á¹
":"n","Å":"n","á¹":"n","Å":"n","á¹":"n","á¹":"n","Æ":"n","ɲ":"n","Å":"n","ê":"n","ê¥":"n","Ç":"nj","â":"o","ï½":"o","ò":"o","ó":"o","ô":"o","á»":"o","á»":"o","á»":"o","á»":"o","õ":"o","á¹":"o","È":"o","á¹":"o","Å":"o","á¹":"o","á¹":"o","Å":"o","ȯ":"o","ȱ":"o","ö":"o","È«":"o","á»":"o","Å":"o","Ç":"o","È":"o","È":"o","Æ¡":"o","á»":"o","á»":"o","ỡ":"o","á»":"o","ợ":"o","á»":"o","á»":"o","Ç«":"o","Ç":"o","ø":"o","Ç¿":"o","É":"o","ê":"o","ê":"o","ɵ":"o","Å":"oe","Æ£":"oi","È£":"ou","ê":"oo","â":"p","ï½":"p","á¹":"p","á¹":"p","Æ¥":"p","áµ½":"p","ê":"p","ê":"p","ê":"p","â ":"q","ï½":"q","É":"q","ê":"q","ê":"q","â¡":"r","ï½":"r","Å":"r","á¹":"r","Å":"r","È":"r","È":"r","á¹":"r","á¹":"r","Å":"r","á¹":"r","É":"r","ɽ":"r","ê":"r","ê§":"r","ê":"r","â¢":"s","ï½":"s","Ã":"s","Å":"s","á¹¥":"s","Å":"s","ṡ":"s","Å¡":"s","á¹§":"s","á¹£":"s","ṩ":"s","È":"s","Å":"s","È¿":"s","ê©":"s","ê
":"s","áº":"s","â£":"t","ï½":"t","ṫ":"t","áº":"t","Å¥":"t","á¹":"t","È":"t","Å£":"t","á¹±":"t","ṯ":"t","ŧ":"t","Æ":"t","Ê":"t","ⱦ":"t","ê":"t","ê©":"tz","â¤":"u","ï½":"u","ù":"u","ú":"u","û":"u","Å©":"u","á¹¹":"u","Å«":"u","á¹»":"u","Å":"u","ü":"u","Ç":"u","Ç":"u","Ç":"u","Ç":"u","á»§":"u","ů":"u","ű":"u","Ç":"u","È":"u","È":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","á»":"u","á»±":"u","ụ":"u","á¹³":"u","ų":"u","á¹·":"u","á¹µ":"u","Ê":"u","â¥":"v","ï½":"v","á¹½":"v","ṿ":"v","Ê":"v","ê":"v","Ê":"v","ê¡":"vy","â¦":"w","ï½":"w","áº":"w","áº":"w","ŵ":"w","áº":"w","áº
":"w","áº":"w","áº":"w","â±³":"w","â§":"x","ï½":"x","áº":"x","áº":"x","â¨":"y","ï½":"y","ỳ":"y","ý":"y","Å·":"y","ỹ":"y","ȳ":"y","áº":"y","ÿ":"y","á»·":"y","áº":"y","ỵ":"y","Æ´":"y","É":"y","ỿ":"y","â©":"z","ï½":"z","ź":"z","áº":"z","ż":"z","ž":"z","áº":"z","áº":"z","ƶ":"z","È¥":"z","É":"z","ⱬ":"z","ê£":"z","Î":"Î","Î":"Î","Î":"Î","Î":"Î","Ϊ":"Î","Î":"Î","Î":"Î¥","Ϋ":"Î¥","Î":"Ω","ά":"α","Î":"ε","ή":"η","ί":"ι","Ï":"ι","Î":"ι","Ï":"ο","Ï":"Ï
","Ï":"Ï
","ΰ":"Ï
","Ï":"Ï","Ï":"Ï","â":"'"}}),u.define("select2/data/base",["../utils"],function(n){function i(e,t){i.__super__.constructor.call(this)}return n.Extend(i,n.Observable),i.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},i.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},i.prototype.bind=function(e,t){},i.prototype.destroy=function(){},i.prototype.generateResultId=function(e,t){e=e.id+"-result-";return e+=n.generateChars(4),null!=t.id?e+="-"+t.id.toString():e+="-"+n.generateChars(4),e},i}),u.define("select2/data/select",["./base","../utils","jquery"],function(e,r,a){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return r.Extend(n,e),n.prototype.current=function(e){var t=[],n=this;this.$element.find(":selected").each(function(){var e=a(this),e=n.item(e);t.push(e)}),e(t)},n.prototype.select=function(o){var e,s=this;o.selected=!0,a(o.element).is("option")?(o.element.selected=!0,this.$element.trigger("change")):this.$element.prop("multiple")?this.current(function(e){var t=[];(o=[o]).push.apply(o,e);for(var n=0;n<o.length;n++){var i=o[n].id;-1===a.inArray(i,t)&&t.push(i)}s.$element.val(t),s.$element.trigger("change")}):(e=o.id,this.$element.val(e),this.$element.trigger("change"))},n.prototype.unselect=function(o){var s=this;this.$element.prop("multiple")&&(o.selected=!1,a(o.element).is("option")?(o.element.selected=!1,this.$element.trigger("change")):this.current(function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n].id;i!==o.id&&-1===a.inArray(i,t)&&t.push(i)}s.$element.val(t),s.$element.trigger("change")}))},n.prototype.bind=function(e,t){var n=this;(this.container=e).on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){r.RemoveData(this)})},n.prototype.query=function(t,e){var n=[],i=this;this.$element.children().each(function(){var e=a(this);(e.is("option")||e.is("optgroup"))&&(e=i.item(e),null!==(e=i.matches(t,e)))&&n.push(e)}),e({results:n})},n.prototype.addOptions=function(e){r.appendMany(this.$element,e)},n.prototype.option=function(e){e.children?(t=document.createElement("optgroup")).label=e.text:void 0!==(t=document.createElement("option")).textContent?t.textContent=e.text:t.innerText=e.text,void 0!==e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var t,n=a(t),e=this._normalizeItem(e);return e.element=t,r.StoreData(t,"data",e),n},n.prototype.item=function(e){var t={};if(null==(t=r.GetData(e[0],"data"))){if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){for(var t={text:e.prop("label"),children:[],title:e.prop("title")},n=e.children("option"),i=[],o=0;o<n.length;o++){var s=a(n[o]),s=this.item(s);i.push(s)}t.children=i}(t=this._normalizeItem(t)).element=e[0],r.StoreData(e[0],"data",t)}return t},n.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e});return null!=(e=a.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),a.extend({},{selected:!1,disabled:!1},e)},n.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},n}),u.define("select2/data/array",["./select","../utils","jquery"],function(e,c,u){function i(e,t){var n=t.get("data")||[];i.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return c.Extend(i,e),i.prototype.select=function(n){var e;0===this.$element.find("option").filter(function(e,t){return t.value==n.id.toString()}).length&&(e=this.option(n),this.addOptions(e)),i.__super__.select.call(this,n)},i.prototype.convertToOptions=function(e){var t=this,n=this.$element.find("option"),i=n.map(function(){return t.item(u(this)).id}).get(),o=[];for(var s=0;s<e.length;s++){var r,a,l=this._normalizeItem(e[s]);0<=u.inArray(l.id,i)?(r=n.filter(function(e){return function(){return u(this).val()==e.id}}(l)),a=this.item(r),a=u.extend(!0,{},l,a),a=this.option(a),r.replaceWith(a)):(r=this.option(l),l.children&&(a=this.convertToOptions(l.children),c.appendMany(r,a)),o.push(r))}return o},i}),u.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,s){function n(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype._applyDefaults=function(e){return s.extend({},{data:function(e){return s.extend({},e,{q:e.term})}
1,transport:function(e,t,n){e=s.ajax(e);return e.then(t),e.fail(n),e}},e,!0)},n.prototype.processResults=function(e){return e},n.prototype.query=function(t,n){var i=this,o=(null!=this._request&&(s.isFunction(this._request.abort)&&this._request.abort(),this._request=null),s.extend({type:"GET"},this.ajaxOptions));function e(){var e=o.transport(o,function(e){e=i.processResults(e,t);i.options.get("debug")&&window.console&&console.error&&(e&&e.results&&s.isArray(e.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),n(e)},function(){"status"in e&&(0===e.status||"0"===e.status)||i.trigger("results:message",{message:"errorLoading"})});i._request=e}"function"==typeof o.url&&(o.url=o.url.call(this.$element,t)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(e,this.ajaxOptions.delay)):e()},n}),u.define("select2/data/tags",["jquery"],function(a){function e(e,t,n){var i=n.get("tags"),o=n.get("createTag"),o=(void 0!==o&&(this.createTag=o),n.get("insertTag"));if(void 0!==o&&(this.insertTag=o),e.call(this,t,n),a.isArray(i))for(var s=0;s<i.length;s++){var r=i[s],r=this._normalizeItem(r),r=this.option(r);this.$element.append(r)}}return e.prototype.query=function(e,c,u){var d=this;this._removeOldTags(),null==c.term||null!=c.page?e.call(this,c,u):e.call(this,c,function e(t,n){for(var i=t.results,o=0;o<i.length;o++){var s=i[o],r=null!=s.children&&!e({results:s.children},!0);if((s.text||"").toUpperCase()===(c.term||"").toUpperCase()||r)return!n&&(t.data=i,void u(t))}if(n)return!0;var a,l=d.createTag(c);null!=l&&((a=d.option(l)).attr("data-select2-tag",!0),d.addOptions([a]),d.insertTag(i,l)),t.results=i,u(t)})},e.prototype.createTag=function(e,t){t=a.trim(t.term);return""===t?null:{id:t,text:t}},e.prototype.insertTag=function(e,t,n){t.unshift(n)},e.prototype._removeOldTags=function(e){this._lastTag;this.$element.find("option[data-select2-tag]").each(function(){this.selected||a(this).remove()})},e}),u.define("select2/data/tokenizer",["jquery"],function(c){function e(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,t,n){var i=this;t.term=t.term||"";var o=this.tokenizer(t,this.options,function(e){var t=i._normalizeItem(e);i.$element.find("option").filter(function(){return c(this).val()===t.id}).length||((e=i.option(t)).attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([e])),i.trigger("select",{data:t})});o.term!==t.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.focus()),t.term=o.term),e.call(this,t,n)},e.prototype.tokenizer=function(e,t,n,i){for(var o=n.get("tokenSeparators")||[],s=t.term,r=0,a=this.createTag||function(e){return{id:e.term,text:e.term}};r<s.length;){var l=s[r];-1===c.inArray(l,o)?r++:(l=s.substr(0,r),null==(l=a(c.extend({},t,{term:l})))?r++:(i(l),s=s.substr(r+1)||"",r=0))}return{term:s}},e}),u.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),u.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",0<this.maximumInputLength&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),u.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.query=function(t,n,i){var o=this;this.current(function(e){e=null!=e?e.length:0;0<o.maximumSelectionLength&&e>=o.maximumSelectionLength?o.trigger("results:message",{message:"maximumSelected",args:{maximum:o.maximumSelectionLength}}):t.call(o,n,i)})},e}),u.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),u.define("select2/dropdown/search",["jquery","../utils"],function(o,e){function t(){}return t.prototype.render=function(e){var e=e.call(this),t=o('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=t,this.$search=t.find("input"),e.prepend(t),e},t.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),this.$search.on("keydown",function(e){i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(e){o(this).off("keyup")}),this.$search.on("keyup input",function(e){i.handleSearch(e)}),t.on("open",function(){i.$search.attr("tabindex",0),i.$search.focus(),window.setTimeout(function(){i.$search.focus()},0)}),t.on("close",function(){i.$search.attr("tabindex",-1),i.$search.val(""),i.$search.blur()}),t.on("focus",function(){t.isOpen()||i.$search.focus()}),t.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(i.showSearch(e)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))})},t.prototype.handleSearch=function(e){var t;this._keyUpPrevented||(t=this.$search.val(),this.trigger("query",{term:t})),this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t}),u.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return t="string"==typeof t?{id:"",text:t}:t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;0<=i;i--){var o=t[i];this.placeholder.id===o.id&&n.splice(i,1)}return n},e}),u.define("select2/dropdown/infiniteScroll",["jquery"],function(o){function e(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&this.$results.append(this.$loadingMore)},e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("query",function(e){i.lastParams=e,i.loading=!0}),t.on("query:append",function(e){i.lastParams=e,i.loading=!0}),this.$results.on("scroll",function(){var e=o.contains(document.documentElement,i.$loadingMore[0]);!i.loading&&e&&(e=i.$results.offset().top+i.$results.outerHeight(!1),i.$loadingMore.offset().top+i.$loadingMore.outerHeight(!1)<=e+50)&&i.loadMore()})},e.prototype.loadMore=function(){this.loading=!0;var e=o.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=o('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e}),u.define("select2/dropdown/attachBody",["jquery","../utils"],function(c,r){function e(e,t,n){this.$dropdownParent=n.get("dropdownParent")||c(document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this,o=!1;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),o||(o=!0,t.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),t.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}))}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},e.prototype.render=function(e){var t=c("<span></span>"),e=e.call(this);return t.append(e),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.prototype._attachPositioningHandler=function(e,t){var n=this,i="scroll.
1select2."+t.id,o="resize.select2."+t.id,t="orientationchange.select2."+t.id,s=this.$container.parents().filter(r.hasScroll);s.each(function(){r.StoreData(this,"select2-scroll-position",{x:c(this).scrollLeft(),y:c(this).scrollTop()})}),s.on(i,function(e){var t=r.GetData(this,"select2-scroll-position");c(this).scrollTop(t.y)}),c(window).on(i+" "+o+" "+t,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n="scroll.select2."+t.id,i="resize.select2."+t.id,t="orientationchange.select2."+t.id;this.$container.parents().filter(r.hasScroll).off(n),c(window).off(n+" "+i+" "+t)},e.prototype._positionDropdown=function(){var e=c(window),t=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),i=null,o=this.$container.offset(),s=(o.bottom=o.top+this.$container.outerHeight(!1),{height:this.$container.outerHeight(!1)});s.top=o.top,s.bottom=o.top+s.height;var r=this.$dropdown.outerHeight(!1),a=e.scrollTop(),e=e.scrollTop()+e.height(),a=a<o.top-r,e=e>o.bottom+r,o={left:o.left,top:s.bottom},l=this.$dropdownParent,l=(l="static"===l.css("position")?l.offsetParent():l).offset();o.top-=l.top,o.left-=l.left,t||n||(i="below"),e||!a||t?!a&&e&&t&&(i="below"):i="above",("above"==i||t&&"below"!==i)&&(o.top=s.top-l.top-r),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(o)},e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),u.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,i=0;i<t.length;i++){var o=t[i];o.children?n+=e(o.children):n++}return n}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),u.define("select2/dropdown/selectOnClose",["../utils"],function(n){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(e){i._handleSelectOnClose(e)})},e.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){t=t.originalSelect2Event;if("select"===t._type||"unselect"===t._type)return}var t=this.getHighlightedResults();t.length<1||null!=(t=n.GetData(t[0],"data")).element&&t.element.selected||null==t.element&&t.selected||this.trigger("select",{data:t})},e}),u.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e}),u.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var e=e.input.length-e.maximum,t="Please delete "+e+" character";return 1!=e&&(t+="s"),t},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more resultsâ¦"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searchingâ¦"},removeAllItems:function(){return"Remove all items"}}}),u.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(l,c,u,d,h,p,f,g,m,v,y,t,b,w,_,x,C,S,T,D,k,E,$,A,N,P,j,M,e){function n(){this.reset()}return n.prototype.apply=function(t){if(null==(t=l.extend(!0,{},this.defaults,t)).dataAdapter&&(null!=t.ajax?t.dataAdapter=_:null!=t.data?t.dataAdapter=w:t.dataAdapter=b,0<t.minimumInputLength&&(t.dataAdapter=v.Decorate(t.dataAdapter,S)),0<t.maximumInputLength&&(t.dataAdapter=v.Decorate(t.dataAdapter,T)),0<t.maximumSelectionLength&&(t.dataAdapter=v.Decorate(t.dataAdapter,D)),t.tags&&(t.dataAdapter=v.Decorate(t.dataAdapter,x)),null==t.tokenSeparators&&null==t.tokenizer||(t.dataAdapter=v.Decorate(t.dataAdapter,C)),null!=t.query&&(r=c(t.amdBase+"compat/query"),t.dataAdapter=v.Decorate(t.dataAdapter,r)),null!=t.initSelection)&&(r=c(t.amdBase+"compat/initSelection"),t.dataAdapter=v.Decorate(t.dataAdapter,r)),null==t.resultsAdapter&&(t.resultsAdapter=u,null!=t.ajax&&(t.resultsAdapter=v.Decorate(t.resultsAdapter,A)),null!=t.placeholder&&(t.resultsAdapter=v.Decorate(t.resultsAdapter,$)),t.selectOnClose)&&(t.resultsAdapter=v.Decorate(t.resultsAdapter,j)),null==t.dropdownAdapter&&(t.multiple?t.dropdownAdapter=k:(r=v.Decorate(k,E),t.dropdownAdapter=r),0!==t.minimumResultsForSearch&&(t.dropdownAdapter=v.Decorate(t.dropdownAdapter,P)),t.closeOnSelect&&(t.dropdownAdapter=v.Decorate(t.dropdownAdapter,M)),null==t.dropdownCssClass&&null==t.dropdownCss&&null==t.adaptDropdownCssClass||(r=c(t.amdBase+"compat/dropdownCss"),t.dropdownAdapter=v.Decorate(t.dropdownAdapter,r)),t.dropdownAdapter=v.Decorate(t.dropdownAdapter,N)),null==t.selectionAdapter&&(t.multiple?t.selectionAdapter=h:t.selectionAdapter=d,null!=t.placeholder&&(t.selectionAdapter=v.Decorate(t.selectionAdapter,p)),t.allowClear&&(t.selectionAdapter=v.Decorate(t.selectionAdapter,f)),t.multiple&&(t.selectionAdapter=v.Decorate(t.selectionAdapter,g)),null==t.containerCssClass&&null==t.containerCss&&null==t.adaptContainerCssClass||(r=c(t.amdBase+"compat/containerCss"),t.selectionAdapter=v.Decorate(t.selectionAdapter,r)),t.selectionAdapter=v.Decorate(t.selectionAdapter,m)),"string"==typeof t.language&&(0<t.language.indexOf("-")?(r=t.language.split("-")[0],t.language=[t.language,r]):t.language=[t.language]),l.isArray(t.language)){for(var e=new y,n=(t.language.push("en"),t.language),i=0;i<n.length;i++){var o=n[i],s={};
1try{s=y.loadPath(o)}catch(e){try{o=this.defaults.amdLanguageBase+o,s=y.loadPath(o)}catch(e){t.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+o+'" could not be automatically loaded. A fallback will be used instead.');continue}}e.extend(s)}t.translations=e}else{var r=y.loadPath(this.defaults.amdLanguageBase+"en"),a=new y(t.language);a.extend(r),t.translations=a}return t},n.prototype.reset=function(){function a(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return t[e]||e})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:v.escapeMarkup,language:e,matcher:function e(t,n){if(""===l.trim(t.term))return n;if(n.children&&0<n.children.length){for(var i=l.extend(!0,{},n),o=n.children.length-1;0<=o;o--)null==e(t,n.children[o])&&i.children.splice(o,1);return 0<i.children.length?i:e(t,i)}var s=a(n.text).toUpperCase(),r=a(t.term).toUpperCase();return-1<s.indexOf(r)?n:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},n.prototype.set=function(e,t){var n={},e=(n[l.camelCase(e)]=t,v._convertData(n));l.extend(!0,this.defaults,e)},new n}),u.define("select2/options",["require","jquery","./defaults","./utils"],function(n,c,i,u){function e(e,t){this.options=e,null!=t&&this.fromElement(t),this.options=i.apply(this.options),t&&t.is("input")&&(e=n(this.get("amdBase")+"compat/inputData"),this.options.dataAdapter=u.Decorate(this.options.dataAdapter,e))}return e.prototype.fromElement=function(e){var t=["select2"],n=(null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.language&&(e.prop("lang")?this.options.language=e.prop("lang").toLowerCase():e.closest("[lang]").prop("lang")&&(this.options.language=e.closest("[lang]").prop("lang"))),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),u.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),u.StoreData(e[0],"data",u.GetData(e[0],"select2Tags")),u.StoreData(e[0],"tags",!0)),u.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",u.GetData(e[0],"ajaxUrl")),u.StoreData(e[0],"ajax-Url",u.GetData(e[0],"ajaxUrl"))),{});function i(e,t){return t.toUpperCase()}for(var o=0;o<e[0].attributes.length;o++){var s,r=e[0].attributes[o].name;"data-"==r.substr(0,"data-".length)&&(r=r.substring("data-".length),s=u.GetData(e[0],r),n[r.replace(/-([a-z])/g,i)]=s)}c.fn.jquery&&"1."==c.fn.jquery.substr(0,2)&&e[0].dataset&&(n=c.extend(!0,{},e[0].dataset,n));var a,l=c.extend(!0,{},u.GetData(e[0]),n);for(a in l=u._convertData(l))-1<c.inArray(a,t)||(c.isPlainObject(this.options[a])?c.extend(this.options[a],l[a]):this.options[a]=l[a]);return this},e.prototype.get=function(e){return this.options[e]},e.prototype.set=function(e,t){this.options[e]=t},e}),u.define("select2/core",["jquery","./options","./utils","./keys"],function(o,s,r,i){function a(e,t){null!=r.GetData(e[0],"select2")&&r.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),this.options=new s(t=t||{},e),a.__super__.constructor.call(this);var t=e.attr("tabindex")||0,t=(r.StoreData(e[0],"old-tabindex",t),e.attr("tabindex","-1"),this.options.get("dataAdapter")),t=(this.dataAdapter=new t(e,this.options),this.render()),n=(this._placeContainer(t),this.options.get("selectionAdapter")),n=(this.selection=new n(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,t),this.options.get("dropdownAdapter")),n=(this.dropdown=new n(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,t),this.options.get("resultsAdapter")),i=(this.results=new n(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown),this);this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){i.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),r.StoreData(e[0],"select2",this),e.data("select2",this)}return r.Extend(a,r.Observable),a.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+r.generateChars(2):r.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},a.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},a.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t)return null!=(i=this._resolveWidth(e,"style"))?i:this._resolveWidth(e,"element");
1if("element"==t)return(i=e.outerWidth(!1))<=0?"auto":i+"px";if("style"!=t)return t;var i=e.attr("style");if("string"==typeof i)for(var o=i.split(";"),s=0,r=o.length;s<r;s+=1){var a=o[s].replace(/\s/g,"").match(n);if(null!==a&&1<=a.length)return a[1]}return null},a.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},a.prototype._registerDomEvents=function(){var t=this,e=(this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=r.bind(this._syncAttributes,this),this._syncS=r.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA),window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver);null!=e?(this._observer=new e(function(e){o.each(e,t._syncA),o.each(e,t._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},a.prototype._registerDataEvents=function(){var n=this;this.dataAdapter.on("*",function(e,t){n.trigger(e,t)})},a.prototype._registerSelectionEvents=function(){var n=this,i=["toggle","focus"];this.selection.on("toggle",function(){n.toggleDropdown()}),this.selection.on("focus",function(e){n.focus(e)}),this.selection.on("*",function(e,t){-1===o.inArray(e,i)&&n.trigger(e,t)})},a.prototype._registerDropdownEvents=function(){var n=this;this.dropdown.on("*",function(e,t){n.trigger(e,t)})},a.prototype._registerResultsEvents=function(){var n=this;this.results.on("*",function(e,t){n.trigger(e,t)})},a.prototype._registerEvents=function(){var n=this;this.on("open",function(){n.$container.addClass("select2-container--open")}),this.on("close",function(){n.$container.removeClass("select2-container--open")}),this.on("enable",function(){n.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){n.$container.addClass("select2-container--disabled")}),this.on("blur",function(){n.$container.removeClass("select2-container--focus")}),this.on("query",function(t){n.isOpen()||n.trigger("open",{}),this.dataAdapter.query(t,function(e){n.trigger("results:all",{data:e,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(e){n.trigger("results:append",{data:e,query:t})})}),this.on("keypress",function(e){var t=e.which;n.isOpen()?t===i.ESC||t===i.TAB||t===i.UP&&e.altKey?(n.close(),e.preventDefault()):t===i.ENTER?(n.trigger("results:select",{}),e.preventDefault()):t===i.SPACE&&e.ctrlKey?(n.trigger("results:toggle",{}),e.preventDefault()):t===i.UP?(n.trigger("results:previous",{}),e.preventDefault()):t===i.DOWN&&(n.trigger("results:next",{}),e.preventDefault()):(t===i.ENTER||t===i.SPACE||t===i.DOWN&&e.altKey)&&(n.open(),e.preventDefault())})},a.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},a.prototype._syncSubtree=function(e,t){var n=!1,i=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&0<t.addedNodes.length)for(var o=0;o<t.addedNodes.length;o++)t.addedNodes[o].selected&&(n=!0);else t.removedNodes&&0<t.removedNodes.length&&(n=!0);else n=!0;n&&this.dataAdapter.current(function(e){i.trigger("selection:update",{data:e})})}},a.prototype.trigger=function(e,t){var n=a.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in i){var o={prevented:!1,name:e,args:t};if(n.call(this,i[e],o),o.prevented)return void(t.prevented=!0)}n.call(this,e,t)},a.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},a.prototype.open=function(){this.isOpen()||this.trigger("query",{})},a.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},a.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},a.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")}
1,a.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},a.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.');e=!(e=null!=e&&0!==e.length?e:[!0])[0];this.$element.prop("disabled",e)},a.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},a.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();e=e[0];o.isArray(e)&&(e=o.map(e,function(e){return e.toString()})),this.$element.val(e).trigger("change")},a.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",r.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),r.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},a.prototype.render=function(){var e=o('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),r.StoreData(e[0],"element",this.$element),e},a}),u.define("select2/compat/utils",["jquery"],function(r){return{syncCssClasses:function(e,t,n){var i,o=[],s=r.trim(e.attr("class"));s&&r((s=""+s).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&o.push(this)}),(s=r.trim(t.attr("class")))&&r((s=""+s).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(i=n(this))&&o.push(i)}),e.attr("class",o.join(" "))}}}),u.define("select2/compat/containerCss",["jquery","./utils"],function(s,r){function a(e){return null}function e(){}return e.prototype.render=function(e){var n,e=e.call(this),t=this.options.get("containerCssClass")||"",i=(s.isFunction(t)&&(t=t(this.$element)),this.options.get("adaptContainerCssClass")),o=(i=i||a,-1!==t.indexOf(":all:")&&(t=t.replace(":all:",""),n=i,i=function(e){var t=n(e);return null!=t?t+" "+e:e}),this.options.get("containerCss")||{});return s.isFunction(o)&&(o=o(this.$element)),r.syncCssClasses(e,this.$element,i),e.css(o),e.addClass(t),e},e}),u.define("select2/compat/dropdownCss",["jquery","./utils"],function(s,r){function a(e){return null}function e(){}return e.prototype.render=function(e){var n,e=e.call(this),t=this.options.get("dropdownCssClass")||"",i=(s.isFunction(t)&&(t=t(this.$element)),this.options.get("adaptDropdownCssClass")),o=(i=i||a,-1!==t.indexOf(":all:")&&(t=t.replace(":all:",""),n=i,i=function(e){var t=n(e);return null!=t?t+" "+e:e}),this.options.get("dropdownCss")||{});return s.isFunction(o)&&(o=o(this.$element)),r.syncCssClasses(e,this.$element,i),e.css(o),e.addClass(t),e},e}),u.define("select2/compat/initSelection",["jquery"],function(i){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated
1in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,e.call(this,t,n)}return e.prototype.current=function(e,t){var n=this;this._isInitialized?e.call(this,t):this.initSelection.call(null,this.$element,function(e){n._isInitialized=!0,i.isArray(e)||(e=[e]),t(e)})},e}),u.define("select2/compat/inputData",["jquery","../utils"],function(s,n){function e(e,t,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===t.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,n)}return e.prototype.current=function(e,t){for(var n=[],i=0;i<this._currentData.length;i++){var o=this._currentData[i];n.push.apply(n,function e(t,n){var i=[];return t.selected||-1!==s.inArray(t.id,n)?(t.selected=!0,i.push(t)):t.selected=!1,t.children&&i.push.apply(i,e(t.children,n)),i}(o,this.$element.val().split(this._valueSeparator)))}t(n)},e.prototype.select=function(e,t){var n;this.options.get("multiple")?(n=this.$element.val(),n+=this._valueSeparator+t.id,this.$element.val(n)):(this.current(function(e){s.map(e,function(e){e.selected=!1})}),this.$element.val(t.id)),this.$element.trigger("change")},e.prototype.unselect=function(e,o){var s=this;o.selected=!1,this.current(function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];o.id!=i.id&&t.push(i.id)}
vendor: 5,227 bytes, line 1
1s.$element.val(t.join(s._valueSeparator)),s.$element.trigger("change")})},e.prototype.query=function(e,t,n){for(var i=[],o=0;o<this._currentData.length;o++){var s=this._currentData[o],s=this.matches(t,s);null!==s&&i.push(s)}n({results:i})},e.prototype.addOptions=function(e,t){t=s.map(t,function(e){return n.GetData(e[0],"data")});this._currentData.push.apply(this._currentData,t)},e}),u.define("select2/compat/matcher",["jquery"],function(r){return function(s){return function(e,t){var n=r.extend(!0,{},t);if(null==e.term||""===r.trim(e.term))return n;if(t.children){for(var i=t.children.length-1;0<=i;i--){var o=t.children[i];s(e.term,o.text,o)||n.children.splice(i,1)}if(0<n.children.length)return n}return s(e.term,t.text,t)?n:null}}}),u.define("select2/compat/query",[],function(){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n,this.options.get("query").call(null,t)},e}),u.define("select2/dropdown/attachContainer",[],function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){n.find(".dropdown-wrapper").append(t),t.addClass("select2-dropdown--below"),n.addClass("select2-container--below")},e}),u.define("select2/dropdown/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),u.define("select2/selection/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),o=function(c){var u,d,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],t="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],h=Array.prototype.slice;if(c.event.fixHooks)for(var n=e.length;n;)c.event.fixHooks[e[--n]]=c.event.mouseHooks;var p=c.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=t.length;e;)this.addEventListener(t[--e],i,!1);else this.onmousewheel=i;c.data(this,"mousewheel-line-height",p.getLineHeight(this)),c.data(this,"mousewheel-page-height",p.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=t.length;e;)this.removeEventListener(t[--e],i,!1);else this.onmousewheel=null;c.removeData(this,"mousewheel-line-height"),c.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var e=c(e),t=e["offsetParent"in c.fn?"offsetParent":"parent"]();return t.length||(t=c("body")),parseInt(t.css("fontSize"),10)||parseInt(e.css("fontSize"),10)||16},getPageHeight:function(e){return c(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function i(e){var t,n=e||window.event,i=h.call(arguments,1),o=0,s=0,r=0,a=0,l=0;if((e=c.event.fix(n)).type="mousewheel","detail"in n&&(r=-1*n.detail),"wheelDelta"in n&&(r=n.wheelDelta),"wheelDeltaY"in n&&(r=n.wheelDeltaY),"wheelDeltaX"in n&&(s=-1*n.wheelDeltaX),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(s=-1*r,r=0),o=0===r?s:r,"deltaY"in n&&(o=r=-1*n.deltaY),"deltaX"in n&&(s=n.deltaX,0===r)&&(o=-1*s),0!==r||0!==s)return 1===n.deltaMode?(o*=t=c.data(this,"mousewheel-line-height"),r*=t,s*=t):2===n.deltaMode&&(o*=t=c.data(this,"mousewheel-page-height"),r*=t,s*=t),t=Math.max(Math.abs(r),Math.abs(s)),(!d||t<d)&&g(n,d=t)&&(d/=40),g(n,t)&&(o/=40,s/=40,r/=40),o=Math[1<=o?"floor":"ceil"](o/d),s=Math[1<=s?"floor":"ceil"](s/d),r=Math[1<=r?"floor":"ceil"](r/d),p.settings.normalizeOffset&&this.getBoundingClientRect&&(n=this.getBoundingClientRect(),a=e.clientX-n.left,l=e.clientY-n.top),e.deltaX=s,e.deltaY=r,e.deltaFactor=d,e.offsetX=a,e.offsetY=l,e.deltaMode=0,i.unshift(e,o,s,r),u&&clearTimeout(u),u=setTimeout(f,200),(c.event.dispatch||c.event.handle).apply(this,i)}function f(){d=null}function g(e,t){return p.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}c.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof u.define&&u.define.amd?u.define("jquery-mousewheel",["jquery"],o):"object"==typeof exports?module.exports=o:o(t),u.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(o,e,s,t,r){var a;return null==o.fn.select2&&(a=["open","close","destroy"],o.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var e=o.extend(!0,{},t);new s(o(this),e)}),this;var n,i;if("string"==typeof t)return i=Array.prototype.slice.call(arguments,1
1),this.each(function(){var e=r.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=e[t].apply(e,i)}),-1<o.inArray(t,a)?this:n;throw new Error("Invalid arguments for Select2: "+t)}),null==o.fn.select2.defaults&&(o.fn.select2.defaults=t),s});var e,h,s,r,p,f,g,m,v,y,n,i,b,o,a={define:u.define,require:u.require};function w(e,t){return n.call(e,t)}function l(e,t){var n,i,o,s,r,a,l,c,u,d,h=t&&t.split("/"),p=v.map,f=p&&p["*"]||{};if(e){for(t=(e=e.split("/")).length-1,v.nodeIdCompat&&b.test(e[t])&&(e[t]=e[t].replace(b,"")),"."===e[0].charAt(0)&&h&&(e=h.slice(0,h.length-1).concat(e)),c=0;c<e.length;c++)"."===(d=e[c])?(e.splice(c,1),--c):".."!==d||0===c||1===c&&".."===e[2]||".."===e[c-1]||0<c&&(e.splice(c-1,2),c-=2);e=e.join("/")}if((h||f)&&p){for(c=(n=e.split("/")).length;0<c;--c){if(i=n.slice(0,c).join("/"),h)for(u=h.length;0<u;--u)if(o=(o=p[h.slice(0,u).join("/")])&&o[i]){s=o,r=c;break}if(s)break;!a&&f&&f[i]&&(a=f[i],l=c)}!s&&a&&(s=a,r=l),s&&(n.splice(0,r,s),e=n.join("/"))}return e}function _(t,n){return function(){var e=i.call(arguments,0);return"string"!=typeof e[0]&&1===e.length&&e.push(null),r.apply(h,e.concat([t,n]))}}function x(e){var t;if(w(m,e)&&(t=m[e],delete m[e],y[e]=!0,s.apply(h,t)),w(g,e)||w(y,e))return g[e];throw new Error("No "+e)}function c(e){var t,n=e?e.indexOf("!"):-1;return-1<n&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function C(e){return e?c(e):[]}var u=a.require("jquery.select2");return t.fn.select2.amd=a,u}),function(){var e;(e=jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd?jQuery.fn.select2.amd:e).define("select2/i18n/cs",[],function(){function t(e,t){switch(e){case 2:return t?"dva":"dvÄ";case 3:return"tÅi";case 4:return"ÄtyÅi"}return""}return{errorLoading:function(){return"Výsledky nemohly být naÄteny."},inputTooLong:function(e){e=e.input.length-e.maximum;return 1==e?"ProsÃm, zadejte o jeden znak ménÄ.":e<=4?"ProsÃm, zadejte o "+t(e,!0)+" znaky ménÄ.":"ProsÃm, zadejte o "+e+" znaků ménÄ."},inputTooShort:function(e){e=e.minimum-e.input.length;return 1==e?"ProsÃm, zadejte jeÅ¡tÄ jeden znak.":e<=4?"ProsÃm, zadejte jeÅ¡tÄ dalšà "+t(e,!0)+" znaky.":"ProsÃm, zadejte jeÅ¡tÄ dalÅ¡Ãch "+e+" znaků."},loadingMore:function(){return"NaÄÃtajà se dalšà výsledkyâ¦"},maximumSelected:function(e){e=e.maximum;return 1==e?"Můžete zvolit jen jednu položku.":e<=4?"Můžete zvolit maximálnÄ "+t(e,!1)+" položky.":"Můžete zvolit maximálnÄ "+e+" položek."},noResults:function(){return"Nenalezeny žádné položky."},searching:function(){return"VyhledávánÃâ¦"},removeAllItems:function(){return"OdstraÅte vÅ¡echny položky"}}}),e.define,e.require}(),function(){var e;(e=jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd?jQuery.fn.select2.amd:e).define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var e=e.input.length-e.maximum,t="Please delete "+e+" character";return 1!=e&&(t+="s"),t},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more resultsâ¦"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searchingâ¦"},removeAllItems:function(){return"Remove all items"}}}),e.define,e.require}(),function(){var e;(e=jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd?jQuery.fn.select2.amd:e).define("select2/i18n/de",[],function(){return{errorLoading:function(){return"Die Ergebnisse konnten nicht geladen werden."},inputTooLong:function(e){return"Bitte "+(e.input.length-e.maximum)+" Zeichen weniger eingeben"},inputTooShort:function(e){return"Bitte "+(e.minimum-e.input.length)+" Zeichen mehr eingeben"},loadingMore:function(){return"Lade mehr Ergebnisseâ¦"},maximumSelected:function(e){var t="Sie können nur "+e.maximum+" Eintr";return 1===e.maximum?t+="ag":t+="äge",t+=" auswählen"},noResults:function(){return"Keine Ãbereinstimmungen gefunden"},searching:function(){return"Sucheâ¦"},removeAllItems:function(){return"Entferne alle Gegenstände"}}}),e.define,e.require}(),function(){var e;(e=jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd?jQuery.fn.select2.amd:e).define("select2/i18n/sk",[],function(){var t={2:function(e){return e?"dva":"dve"},3:function(){return"tri"},4:function(){return"Å¡tyri"}};
1return{errorLoading:function(){return"Výsledky sa nepodarilo naÄÃtaÅ¥."},inputTooLong:function(e){e=e.input.length-e.maximum;return 1==e?"ProsÃm, zadajte o jeden znak menej":2<=e&&e<=4?"ProsÃm, zadajte o "+t[e](!0)+" znaky menej":"ProsÃm, zadajte o "+e+" znakov menej"},inputTooShort:function(e){e=e.minimum-e.input.length;return 1==e?"ProsÃm, zadajte eÅ¡te jeden znak":e<=4?"ProsÃm, zadajte eÅ¡te ÄalÅ¡ie "+t[e](!0)+" znaky":"ProsÃm, zadajte eÅ¡te ÄalÅ¡Ãch "+e+" znakov"},loadingMore:function(){return"NaÄÃtanie ÄalÅ¡Ãch výsledkovâ¦"},maximumSelected:function(e){return 1==e.maximum?"Môžete zvoliÅ¥ len jednu položku":2<=e.maximum&&e.maximum<=4?"Môžete zvoliÅ¥ najviac "+t[e.maximum](!1)+" položky":"Môžete zvoliÅ¥ najviac "+e.maximum+" položiek"},noResults:function(){return"NenaÅ¡li sa žiadne položky"},searching:function(){return"Vyhľadávanieâ¦"},removeAllItems:function(){return"OdstráÅte vÅ¡etky položky"}}}),e.define,e.require}(),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(_,x){function C(){return new Date(Date.UTC.apply(Date,arguments))}function S(){var e=new Date;return C(e.getFullYear(),e.getMonth(),e.getDate())}function s(e,t){return e.getUTCFullYear()===t.getUTCFullYear()&&e.getUTCMonth()===t.getUTCMonth()&&e.getUTCDate()===t.getUTCDate()}function e(e,t){return function(){return t!==x&&_.fn.datepicker.deprecated(t),this[e].apply(this,arguments)}}function T(e,t){_.data(e,"datepicker",this),this._events=[],this._secondaryEvents=[],this._process_options(t),this.dates=new n,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=_(e),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=!!this.element.hasClass("date")&&this.element.find(".add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn"),this.component&&0===this.component.length&&(this.component=!1),this.isInline=!this.component&&this.element.is("div"),this.picker=_(k.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.o.calendarWeeks&&this.picker.find(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(e,t){return Number(t)+1}),this._process_options({startDate:this._o.startDate,endDate:this._o.endDate,daysOfWeekDisabled:this.o.daysOfWeekDisabled,daysOfWeekHighlighted:this.o.daysOfWeekHighlighted,datesDisabled:this.o.datesDisabled}),this._allow_update=!1,this.setViewMode(this.o.startView),this._allow_update=!0,this.fillDow(),this.fillMonths(),this.update(),this.isInline&&this.show()}function l(e,t){_.data(e,"datepicker",this),this.element=_(e),this.inputs=_.map(t.inputs,function(e){return e.jquery?e[0]:e}),delete t.inputs,this.keepEmptyValues=t.keepEmptyValues,delete t.keepEmptyValues,o.call(_(this.inputs),t).on("changeDate",_.proxy(this.dateUpdated,this)),this.pickers=_.map(this.inputs,function(e){return _.data(e,"datepicker")}),this.updateDates()}t={get:function(e){return this.slice(e)[0]},contains:function(e){for(var t=e&&e.valueOf(),n=0,i=this.length;n<i;n++)if(0<=this[n].valueOf()-t&&this[n].valueOf()-t<864e5)return n;return-1},remove:function(e){this.splice(e,1)},replace:function(e){e&&(_.isArray(e)||(e=[e]),this.clear(),this.push.apply(this,e))},clear:function(){this.length=0},copy:function(){var e=new n;return e.replace(this),e}};var t,n=function(){var e=[];return e.push.apply(e,arguments),_.extend(e,t),e},i=(T.prototype={constructor:T,_resolveViewName:function(n){return _.each(k.viewModes,function(e,t){if(n===e||-1!==_.inArray(n,t.names))return n=e,!1}),n},_resolveDaysOfWeek:function(e){return _.isArray(e)||(e=e.split(/[,\s]*/)),_.map(e,Number)},_check_template:function(e){try{return e===x||""===e?!1:(e.match(/[<>]/g)||[]).length<=0||0<_(e).length}catch(e){return!1}},_process_options:function(e){this._o=_.extend({},this._o,e);var t,n,i=this.o=_.extend({},this._o),e=i.language,o=(D[e]||(e=e.split("-")[0],D[e])||(e=c.language),i.language=e,i.startView=this._resolveViewName(i.startView),i.minViewMode=this._resolveViewName(i.minViewMode),i.maxViewMode=this._resolveViewName(i.maxViewMode),i.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,i.startView)),!0!==i.multidate&&(i.multidate=Number(i.multidate)||!1,!1!==i.multidate)&&(i.multidate=Math.max(0,i.multidate)),i.multidateSeparator=String(i.multidateSeparator),i.weekStart%=7,i.weekEnd=(i.weekStart+6)%7,k.parseFormat(i.format)),s=(i.startDate!==-1/0&&(i.startDate?i.startDate instanceof Date?i.startDate=this._local_to_utc(this._zero_time(i.startDate)):i.startDate=k.parseDate(i.startDate,o,i.language,i.assumeNearbyYear):i.startDate=-1/0),i.endDate!==1/0&&(i.endDate?i.endDate instanceof Date?i.endDate=this._local_to_utc(this._zero_time(i.endDate)):i.endDate=k.parseDate(i.endDate,o,i.language,i.assumeNearbyYear):i.endDate=1/0),i.daysOfWeekDisabled=this._resolveDaysOfWeek(i.daysOfWeekDisabled||[]),i.daysOfWeekHighlighted=this._resolveDaysOfWeek(i.daysOfWeekHighlighted||[]),i.datesDisabled=i.datesDisabled||[],_.isArray(i.datesDisabled)||(i.datesDisabled=i.datesDisabled.split(",")),i.datesDisabled=_.map(i.datesDisabled,function(e){return k.parseDate(e,o,i.language,i.assumeNearbyYear)}),String(i.orientation).toLowerCase().split(/\s+/g)),e=i.orientation.toLowerCase(),s=_.grep(s,function(e){return/^auto|left|right|top|bottom$/.test(e)});if(i.orientation={x:"auto",y:"auto"},e&&"auto"!==e)if(1===s.length)switch(s[0]){case"top":case"bottom":i.orientation.y=s[0];break;case"left":case"right":i.orientation.x=s[0]}else e=_.grep(s,function(e){return/^left|right$/.test(e)}),i.orientation.x=e[0]||"auto",e=_.grep(s,function(e){return/^top|bottom$/.test(e)}),i.orientation.y=e[0]||"auto";i.defaultViewDate instanceof Date||"string"==typeof i.defaultViewDate?i.defaultViewDate=k.parseDate(i.defaultViewDate,o,i.language,i.assumeNearbyYear):i.defaultViewDate?(e=i.defaultViewDate.year||(new Date).getFullYear(),t=i.defaultViewDate.month||0,n=i.defaultViewDate.day||1,i.defaultViewDate=C(e,t,n)):i.defaultViewDate=S()},_applyEvents:function(e){for(var t,n,i,o=0;o<e.length;o++)t=e[o][0],2===e[o].length?(n=x,i=e[o][1]):3===e[o].length&&(n=e[o][1],i=e[o][2]),t.on(i,n)},_unapplyEvents:function(e){for(var t,n,i,o=0;o<e.length;o++)t=e[o][0],2===e[o].length?(i=x,n=e[o][1]):3===e[o].length&&(i=e[o][1],n=e[o][2]),t.off(n,i)},_buildEvents:function(){var e={keyup:_.proxy(function(e){-1===_.inArray(e.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:_.proxy(this.keydown,this),paste:_.proxy(this.paste,this)};!0===this.o.showOnFocus&&(e.focus=_.proxy(this.show,this)),this.isInput?this._events=[[this.element,e]]:this.component&&this.inputField.length?this._events=[[this.inputField,e],[this.component,{click:_.proxy(this.show,this)}]]:this._events=[[this.element,{click:_.proxy(this.show,this),keydown:_.proxy(this.keydown,this)}]],this._events.push([this.element,"*",{blur:_.proxy(function(e){this._focused_from=e.target},this)}],[this.element,{blur:_.proxy(function(e){this._focused_from=e.target},this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":_.proxy(function(e){this.update(e.date)},this)}]),this._secondaryEvents=[[this.picker,{click:_.proxy(this.click,this)}],[this.picker,".prev, .next",{click:_.proxy(this.navArrowsClick,this)}],[this.picker,".day:not(.disabled)",{click:_.proxy(this.dayCellClick,this)}],[_(window),{resize:_.proxy(this.place,this)}],[_(document),{"mousedown touchstart":_.proxy(function(e){this.element.is(e.target)||this.element.find(e.target).length||this.picker.is(e.target)||this.picker.find(e.target).length||this.isInline||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(e,t){t=t||this.dates.get(-1),t=this._utc_to_local(t);this.element.trigger({type:e,date:t,viewMode:this.viewMode,dates:_.map(this.dates,this._utc_to_local),format:_.proxy(function(e,t){0===arguments.length?(e=this.dates.length-1,t=this.o.format):"string"==typeof e&&(t=e,e=this.dates.length-1),t=t||this.o.format;var n=this.dates.get(e);return k.formatDate(n,t,this.o.language)},this)})},show:function(){if(!(this.inputField.is(":disabled")||this.inputField.prop("readonly")&&!1===this.o.enableOnReadonly))return this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&_(this.element).blur(),this},hide:function(){return this.isInline||!this.picker.is(":visible")||(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.setViewMode(this.o.startView),this.o.forceParse&&this.inputField.val()&&this.setValue(),this._trigger("hide")),this},destroy:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(e){var t;if(e.originalEvent.clipboardData&&e.originalEvent.clipboardData.types&&-1!==_.inArray("text/plain",e.originalEvent.clipboardData.types))t=e.originalEvent.clipboardData.getData("text/plain");else{if(!window.clipboardData)return;t=window.clipboardData.getData("Text")}this.setDate(t),this.update(),e.preventDefault()},_utc_to_local:function(e){var t;return e&&((t=new Date(e.getTime()+6e4*e.getTimezoneOffset())).getTimezoneOffset()!==e.getTimezoneOffset()?new Date(e.getTime()+6e4*t.getTimezoneOffset()):t)},_local_to_utc:function(e){return e&&new Date(e.getTime()-6e4*e.getTimezoneOffset())},_zero_time:function(e){return e&&new Date(e.getFullYear(),e.getMonth(),e.getDate())},_zero_utc_time:function(e){return e&&C(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())},getDates:function(){return _.map(this.dates,this._utc_to_local)},getUTCDates:function(){return _.map(this.dates,function(e){return new Date(e)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var e=this.dates.get(-1);return e!==x?new Date(e):null},clearDates:function(){this.inputField.val(""),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()},setDates:function(){var e=_.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,e),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var e=_.isArray(arguments[0])?arguments[0]:arguments;return this.setDates.apply(this,_.map(e,this._utc_to_local)),this},setDate:e("setDates"),setUTCDate:e("setUTCDates"),remove:e("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"),setValue:function(){var e=this.getFormattedDate();return this.inputField.val(e),this},getFormattedDate:function(t){t===x&&(t=this.o.format);var n=this.o.language;return _.map(this.dates,function(e){return k.formatDate(e,t,n)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(e){return this._process_options({startDate:e}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(e){return this._process_options({endDate:e}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(e){return this._process_options({daysOfWeekDisabled:e}),this.update(),this},setDaysOfWeekHighlighted:function(e){return this._process_options({daysOfWeekHighlighted:e}),this.update(),this},setDatesDisabled:function(e){return this._process_options({datesDisabled:e}),this.update(),this},place:function(){var e,t,n,i,o,s,r,a,l,c,u;return this.isInline||(e=this.picker.outerWidth(),t=this.picker.outerHeight(),n=(c=_(this.o.container)).width(),i=("body"===this.o.container?_(document):c).scrollTop(),c=c.offset(),o=[0],this.element.parents().each(function(){var e=_(this).css("z-index");"auto"!==e&&0!==Number(e)&&o.push(Number(e))}),s=Math.max.apply(Math,o)+this.o.zIndexOffset,u=(this.component?this.component.parent():this.element).offset(),r=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),a=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),l=u.left-c.left,c=u.top-c.top,"body"!==this.o.container&&(c+=i),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(l-=e-a)):u.left<0?(this.picker.addClass("datepicker-orient-left"),l-=u.left-10):n<l+e?(this.picker.addClass("datepicker-orient-right"),l+=a-e):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left"),"auto"===(u
1=this.o.orientation.y)&&(u=-i+c-t<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+u),"top"===u?c-=t+parseInt(this.picker.css("padding-top")):c+=r,this.o.rtl?this.picker.css({top:c,right:n-(l+a),zIndex:s}):this.picker.css({top:c,left:l,zIndex:s})),this},_allow_update:!0,update:function(){var e,n,t;return this._allow_update&&(e=this.dates.copy(),t=!(n=[]),arguments.length?(_.each(arguments,_.proxy(function(e,t){t instanceof Date&&(t=this._local_to_utc(t)),n.push(t)},this)),t=!0):(n=(n=this.isInput?this.element.val():this.element.data("date")||this.inputField.val())&&this.o.multidate?n.split(this.o.multidateSeparator):[n],delete this.element.data().date),n=_.map(n,_.proxy(function(e){return k.parseDate(e,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),n=_.grep(n,_.proxy(function(e){return!this.dateWithinRange(e)||!e},this),!0),this.dates.replace(n),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),t?(this.setValue(),this.element.change()):this.dates.length&&String(e)!==String(this.dates)&&t&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&e.length&&(this._trigger("clearDate"),this.element.change()),this.fill()),this},fillDow:function(){if(this.o.showWeekDays){var e=this.o.weekStart,t="<tr>";for(this.o.calendarWeeks&&(t+='<th class="cw"> </th>');e<this.o.weekStart+7;)t+='<th class="dow',-1!==_.inArray(e,this.o.daysOfWeekDisabled)&&(t+=" disabled"),t+='">'+D[this.o.language].daysMin[e++%7]+"</th>";t+="</tr>",this.picker.find(".datepicker-days thead").append(t)}},fillMonths:function(){for(var e=this._utc_to_local(this.viewDate),t="",n=0;n<12;n++)t+='<span class="month'+(e&&e.getMonth()===n?" focused":"")+'">'+D[this.o.language].monthsShort[n]+"</span>";this.picker.find(".datepicker-months td").html(t)},setRange:function(e){e&&e.length?this.range=_.map(e,function(e){return e.valueOf()}):delete this.range,this.fill()},getClassNames:function(e){var t=[],n=this.viewDate.getUTCFullYear(),i=this.viewDate.getUTCMonth(),o=S();return e.getUTCFullYear()<n||e.getUTCFullYear()===n&&e.getUTCMonth()<i?t.push("old"):(e.getUTCFullYear()>n||e.getUTCFullYear()===n&&e.getUTCMonth()>i)&&t.push("new"),this.focusDate&&e.valueOf()===this.focusDate.valueOf()&&t.push("focused"),this.o.todayHighlight&&s(e,o)&&t.push("today"),-1!==this.dates.contains(e)&&t.push("active"),this.dateWithinRange(e)||t.push("disabled"),this.dateIsDisabled(e)&&t.push("disabled","disabled-date"),-1!==_.inArray(e.getUTCDay(),this.o.daysOfWeekHighlighted)&&t.push("highlighted"),this.range&&(e>this.range[0]&&e<this.range[this.range.length-1]&&t.push("range"),-1!==_.inArray(e.valueOf(),this.range)&&t.push("selected"),e.valueOf()===this.range[0]&&t.push("range-start"),e.valueOf()===this.range[this.range.length-1])&&t.push("range-end"),t},_fill_yearsView:function(e,t,n,i,o,s,r){for(var a,l,c,u="",d=n/10,e=this.picker.find(e),h=Math.floor(i/n)*n,p=h+9*d,f=Math.floor(this.viewDate.getFullYear()/d)*d,g=_.map(this.dates,function(e){return Math.floor(e.getUTCFullYear()/d)*d}),m=h-d;m<=p+d;m+=d)a=[t],l=null,m===h-d?a.push("old"):m===p+d&&a.push("new"),-1!==_.inArray(m,g)&&a.push("active"),(m<o||s<m)&&a.push("disabled"),m===f&&a.push("focused"),r!==_.noop&&((c=r(new Date(m,0,1)))===x?c={}:"boolean"==typeof c?c={enabled:c}:"string"==typeof c&&(c={classes:c}),!1===c.enabled&&a.push("disabled"),c.classes&&(a=a.concat(c.classes.split(/\s+/))),c.tooltip)&&(l=c.tooltip),u+='<span class="'+a.join(" ")+'"'+(l?' title="'+l+'"':"")+">"+m+"</span>";e.find(".datepicker-switch").text(h+"-"+p),e.find("td").html(u)},fill:function(){var e,t,n=new Date(this.viewDate),i=n.getUTCFullYear(),o=n.getUTCMonth(),s=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,r=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,a=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,c=D[this.o.language].today||D.en.today||"",u=D[this.o.language].clear||D.en.clear||"",d=D[this.o.language].titleFormat||D.en.titleFormat,h=S(),h=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&h>=this.o.startDate&&h<=this.o.endDate&&!this.weekOfDateIsDisabled(h);if(!isNaN(i)&&!isNaN(o)){this.picker.find(".datepicker-days .datepicker-switch").text(k.formatDate(n,d,this.o.language)),this.picker.find("tfoot .today").text(c).css("display",h?"table-cell":"none"),this.picker.find("tfoot .clear").text(u).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var p=C(i,o,0),n=p.getUTCDate(),f=(p.setUTCDate(n-(p.getUTCDay()-this.o.weekStart+7)%7),new Date(p));p.getUTCFullYear()<100&&f.setUTCFullYear(p.getUTCFullYear()),f.setUTCDate(f.getUTCDate()+42);for(var g,f=f.valueOf(),m=[];p.valueOf()<f;
1){(g=p.getUTCDay())===this.o.weekStart&&(m.push("<tr>"),this.o.calendarWeeks)&&(v=new Date(+p+(this.o.weekStart-g-7)%7*864e5),v=new Date(Number(v)+(11-v.getUTCDay())%7*864e5),y=new Date(Number(y=C(v.getUTCFullYear(),0,1))+(11-y.getUTCDay())%7*864e5),m.push('<td class="cw">'+((v-y)/864e5/7+1)+"</td>")),(v=this.getClassNames(p)).push("day");var v,y=p.getUTCDate();this.o.beforeShowDay!==_.noop&&((t=this.o.beforeShowDay(this._utc_to_local(p)))===x?t={}:"boolean"==typeof t?t={enabled:t}:"string"==typeof t&&(t={classes:t}),!1===t.enabled&&v.push("disabled"),t.classes&&(v=v.concat(t.classes.split(/\s+/))),t.tooltip&&(e=t.tooltip),t.content)&&(y=t.content),v=_.isFunction(_.uniqueSort)?_.uniqueSort(v):_.unique(v),m.push('<td class="'+v.join(" ")+'"'+(e?' title="'+e+'"':"")+' data-date="'+p.getTime().toString()+'">'+y+"</td>"),e=null,g===this.o.weekEnd&&m.push("</tr>"),p.setUTCDate(p.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(m.join(""));var b,d=D[this.o.language].monthsTitle||D.en.monthsTitle||"Months",w=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?d:i).end().find("tbody span").removeClass("active");_.each(this.dates,function(e,t){t.getUTCFullYear()===i&&w.eq(t.getUTCMonth()).addClass("active")}),(i<s||a<i)&&w.addClass("disabled"),i===s&&w.slice(0,r).addClass("disabled"),i===a&&w.slice(l+1).addClass("disabled"),this.o.beforeShowMonth!==_.noop&&(b=this,_.each(w,function(e,t){e=new Date(i,e,1),e=b.o.beforeShowMonth(e);e===x?e={}:"boolean"==typeof e?e={enabled:e}:"string"==typeof e&&(e={classes:e}),!1!==e.enabled||_(t).hasClass("disabled")||_(t).addClass("disabled"),e.classes&&_(t).addClass(e.classes),e.tooltip&&_(t).prop("title",e.tooltip)})),this._fill_yearsView(".datepicker-years","year",10,i,s,a,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,i,s,a,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,i,s,a,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var e,t,n=new Date(this.viewDate),i=n.getUTCFullYear(),o=n.getUTCMonth(),s=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,r=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,a=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,c=1;switch(this.viewMode){case 4:c*=10;case 3:c*=10;case 2:c*=10;case 1:e=Math.floor(i/c)*c<=s,t=Math.floor(i/c)*c+c>a;break;case 0:e=i<=s&&o<=r,t=a<=i&&l<=o}this.picker.find(".prev").toggleClass("disabled",e),this.picker.find(".next").toggleClass("disabled",t)}},click:function(e){var t,n;e.preventDefault(),e.stopPropagation(),(e=_(e.target)).hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),e.hasClass("today")&&!e.hasClass("day")&&(this.setViewMode(0),this._setDate(S(),"linked"===this.o.todayBtn?null:"view")),e.hasClass("clear")&&this.clearDates(),e.hasClass("disabled")||(e.hasClass("month")||e.hasClass("year")||e.hasClass("decade")||e.hasClass("century"))&&(this.viewDate.setUTCDate(1),1===this.viewMode?(n=e.parent().find("span").index(e),t=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(n)):(n=0,t=Number(e.text()),this.viewDate.setUTCFullYear(t)),this._trigger(k.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(C(t,n,1)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(e){e=_(e.currentTarget).data("date"),e=new Date(e);this.o.updateViewDate&&(e.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),e.getUTCMonth()!==this.viewDate.getUTCMonth())&&this._trigger("changeMonth",this.viewDate),this._setDate(e)},navArrowsClick:function(e){e=_(e.currentTarget).hasClass("prev")?-1:1;0!==this.viewMode&&(e*=12*k.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,e),this._trigger(k.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(e){var t=this.dates.contains(e);if(e||this.dates.clear(),-1!==t?(!0===this.o.multidate||1<this.o.multidate||this.o.toggleActive)&&this.dates.remove(t):(!1===this.o.multidate&&this.dates.clear(),this.dates.push(e)),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(e,t){t&&"date"!==t||this._toggle_multidate(e&&new Date(e)),(!t&&this.o.updateViewDate||"view"===t)&&(this.viewDate=e&&new Date(e)),this.fill(),this.setValue(),t&&"view"===t||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||t&&"date"!==t||this.hide()},moveDay:function(e,t){var n=new Date(e);return n.setUTCDate(e.getUTCDate()+t),n},moveWeek:function(e,t){return this.moveDay(e,7*t)},moveMonth:function(e,t){if(!(n=e)||isNaN(n.getTime()))return this.o.defaultViewDate;var n;if(!t)return e;var i,o,s=new Date(e.valueOf()),r=s.getUTCDate(),a=s.getUTCMonth(),l=Math.abs(t);if(t=0<t?1:-1,1===l)o=-1===t?function(){return s.getUTCMonth()===a}:function(){return s.getUTCMonth()!==i},i=a+t,s.setUTCMonth(i),i=(i+12)%12;else{for(var c=0;c<l;c++)s=this.moveMonth(s,t);i=s.getUTCMonth(),s.setUTCDate(r),o=function(){return i!==s.getUTCMonth()}}for(;o();)s.setUTCDate(--r),s.setUTCMonth(i);return s},moveYear:function(e,t){return this.moveMonth(e,12*t)},moveAvailableDate:function(e,t,n){do{if(e=this[n](e,t),!this.dateWithinRange(e))return!1}while(n="moveDay",this.dateIsDisabled(e));return e},weekOfDateIsDisabled:function(e){return-1!==_.inArray(e.getUTCDay(),this.o.daysOfWeekDisabled)},dateIsDisabled:function(t){return this.weekOfDateIsDisabled(t)||0<_.grep(this.o.datesDisabled,function(e){return s(t,e)}).length},dateWithinRange:function(e){return e>=this.o.startDate&&e<=this.o.endDate},keydown:function(e){if(this.picker.is(":visible")){var t,n,i=!1,o=this.focusDate||this.viewDate;switch(e.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),e.preventDefault(),e.stopPropagation();break;case 37:case 38:case 39:case 40:this.o.keyboardNavigation&&7!==this.o.daysOfWeekDisabled.length&&(t=37===e.ke
1yCode||38===e.keyCode?-1:1,0===this.viewMode?e.ctrlKey?(n=this.moveAvailableDate(o,t,"moveYear"))&&this._trigger("changeYear",this.viewDate):e.shiftKey?(n=this.moveAvailableDate(o,t,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===e.keyCode||39===e.keyCode?n=this.moveAvailableDate(o,t,"moveDay"):this.weekOfDateIsDisabled(o)||(n=this.moveAvailableDate(o,t,"moveWeek")):1===this.viewMode?(38!==e.keyCode&&40!==e.keyCode||(t*=4),n=this.moveAvailableDate(o,t,"moveMonth")):2===this.viewMode&&(38!==e.keyCode&&40!==e.keyCode||(t*=4),n=this.moveAvailableDate(o,t,"moveYear")),n)&&(this.focusDate=this.viewDate=n,this.setValue(),this.fill(),e.preventDefault());break;case 13:this.o.forceParse&&(o=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(o),i=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible"))&&(e.preventDefault(),e.stopPropagation(),this.o.autoclose)&&this.hide();break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}i&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))}else 40!==e.keyCode&&27!==e.keyCode||(this.show(),e.stopPropagation())},setViewMode:function(e){this.viewMode=e,this.picker.children("div").hide().filter(".datepicker-"+k.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}},l.prototype={updateDates:function(){this.dates=_.map(this.pickers,function(e){return e.getUTCDate()}),this.updateRanges()},updateRanges:function(){var n=_.map(this.dates,function(e){return e.valueOf()});_.each(this.pickers,function(e,t){t.setRange(n)})},clearDates:function(){_.each(this.pickers,function(e,t){t.clearDates()})},dateUpdated:function(e){if(!this.updating){this.updating=!0;var n=_.data(e.target,"datepicker");if(n!==x){var i=n.getUTCDate(),o=this.keepEmptyValues,e=_.inArray(e.target,this.inputs),t=e-1,s=e+1,r=this.inputs.length;if(-1!==e){if(_.each(this.pickers,function(e,t){t.getUTCDate()||t!==n&&o||t.setUTCDate(i)}),i<this.dates[t])for(;0<=t&&i<this.dates[t];)this.pickers[t--].setUTCDate(i);else if(i>this.dates[s])for(;s<r&&i>this.dates[s];)this.pickers[s++].setUTCDate(i);this.updateDates(),delete this.updating}}}},destroy:function(){_.map(this.pickers,function(e){e.destroy()}),_(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:e("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")},_.fn.datepicker),o=function(s){var r,a=Array.apply(null,arguments);if(a.shift(),this.each(function(){var e,t,n=_(this),i=n.data("datepicker"),o="object"==typeof s&&s;i||(e=function(e,t){function n(e,t){return t.toLowerCase()}var i,o,s=_(e).data(),r={},a=new RegExp("^"+t.toLowerCase()+"([A-Z])");for(o in t=new RegExp("^"+t.toLowerCase()),s)t.test(o)&&(i=o.replace(a,n),r[i]=s[o]);return r}(this,"date"),t=function(e){var n,i={};if(D[e]||(e=e.split("-")[0],D[e]))return n=D[e],_.each(u,function(e,t){t in n&&(i[t]=n[t])}),i}(_.extend({},c,e,o).language),t=_.extend({},c,t,e,o),i=new(n.hasClass("input-daterange")||t.inputs?(_.extend(t,{inputs:t.inputs||n.find("input").toArray()}),l):T)(this,t),n.data("datepicker",i)),"string"==typeof s&&"function"==typeof i[s]&&(r=i[s].apply(i,a))}),r===x||r instanceof T||r instanceof l)return this;if(1<this.length)throw new Error("Using only allowed for the collection of a single element ("+s+" function)");return r},c=(_.fn.datepicker=o,_.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:_.noop,beforeShowMonth:_.noop,beforeShowYear:_.noop,beforeShowDecade:_.noop,beforeShowCentury:_.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"},showWeekDays:!0}),u=_.fn.datepicker.locale_opts=["format","rtl","weekStart"],D=(_.fn.datepicker.Constructor=T,_.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}}),k={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(e){if("function"==typeof e.toValue&&"function"==typeof e.toDisplay)return e;var t=e.replace(this.validParts,"\0").split("\0"),e=e.match(this.validParts);if(t&&t.length&&e&&0!==e.length)return{separators:t,parts:e};throw new Error("Invalid date format.")},parseDate:function(e,t,n,i){function o(){var e=this.slice(0,h[b].length),t=h[b].slice(0,e.length);return e.toLowerCase()===t.toLowerCase()}if(!e)return x;if(!(e instanceof Date)){if((t="string"==typeof t?k.parseFormat(t):t).toValue)return t.toValue(e,t,n);var s,r,a,l={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},c={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(e=e in c?c[e]:e)){for(h=e.match(/([\-+]\d+)([dmwy])/gi),e=new Date,b=0;b<h.length;b++)s=h[b].match(/([\-+]\d+)([dmwy])/i),r=Number(s[1]),a=l[s[2].toLowerCase()],e=T.prototype[a](e,r);return T.prototype._zero_utc_time(e)}var u,d,h=e&&e.match(this.nonpunctuation)||[],p={},f=["yyyy","yy","M","MM","m","mm","d","dd"],g={yyyy:function(e,t){return e.setUTCFullYear(i?(!0===(e=i)&&(e=10),(n=t)<100&&(n+=2e3)>(new Date).getFullYear()+e&&(n-=100),n):t);var n},m:function(e,t){if(!isNaN(e)){for(--t;t<0;)t+=12;for(e.setUTCMonth(t%=12);e.getUTCMonth()!==t;)e.setUTCDate(e.getUTCDate()-1)}return e},d:function(e,t){return e.setUTCDate(t)}},m=(g.yy=g.yyyy,g.M=g.MM=g.mm=g.m,g.dd=g.d,e=S(),t.parts.slice());if(h.length!==m.length&&(m=_(m).filter(function(e,t){return-1!==_.inArray(t,f)}).toArray()),h.length===m.length){for(var v,y,b=0,w=m.length;b<w;b++){if(u=parseInt(h[b],10),s=m[b],isNaN(u))switch(s){case"MM":d=_(D[n].months).filter(o),u=_.inArray(d[0],D[n].months)+1;break;case"M":d=_(D[n].monthsShort).filter(o),u=_.inArray(d[0],D[n].monthsShort)+1}p[s]=u}for(b=0;b<f.length;b++)(y=f[b])in p&&!isNaN(p[y])&&(v=new Date(e),g[y](v,p[y]),isNaN(v)||(e=v))}}return e},formatDate:function(e,t,n){if(!e)return"";if((t="string"==typeof t?k.parseFormat(t):t).toDisplay)return t.toDisplay(e,t,n);var i={d:e.getUTCDate(),D:D[n].daysShort[e.getUTCDay()],DD:D[n].days[e.getUTCDay()],m:e.getUTCMonth()+1,M:D[n].monthsShort[e.getUTCMonth()],MM:D[n].months[e.getUTCMonth()],yy:e.getUTCFullYear().toString().substring(2),yyyy:e.getUTCFullYear()};i.dd=(i.d<10?"0":"")+i.d,i.mm=(i.m<10?"0":"")+i.m,e=[];for(var o=_.extend([],t.separators),s=0,r=t.parts.length;s<=r;s++)o.length&&e.push(o.shift()),e.push(i[t.parts[s]]);return e.join("")},headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"></th></tr><tr><th class="prev">'+c.templates.leftArrow+'</th><th colspan="5" class="datepicker-switch"></th><th class="next">'+c.templates.rightArrow+"</th></tr></thead>",contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};k.template='<div class="datepicker"><div class="datepicker-days"><table class="table-condensed">'+k.headTemplate+"<tbody></tbody>"+k.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+k.headTemplate+k.contTemplate+k.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+k.headTemplate+k.contTemplate+k.footTemplate+'</table></div><div class="datepicker-decades"><table class="table-condensed">'+k.headTemplate+k.contTemplate+k.footTemplate+'</table></div><div class="datepicker-centuries"><table class="table-condensed">'+k.headTemplate+k.contTemplate+k.footTemplate+"</table></div></div>",_.fn.datepicker.DPGlobal=k,_.fn.datepicker.noConflict=function(){return _.fn.datepicker=i,this},_.fn.datepicker.version="1.9.0",_.fn.datepicker.deprecated=function(e){var t=window.console;t&&t.warn&&t.warn("DEPRECATED: "+e)},_(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(e){var t=_(this);t.data("datepicker")||(e.preventDefault(),o.call(t,"show"))}),_(function(){o.call(_('[data-provide="datepicker-inline"]'))})}),jQuery.fn.datepicker.dates.cs={days:["NedÄle","PondÄlÃ","Ãterý","StÅeda","Ätvrtek","Pátek","Sobota"],daysShort:["Ned","Pon","Ãte","StÅ","Ätv","Pát","Sob"],daysMin:["Ne","Po","Ãt","St","Ät","Pá","So"],months:["Leden","Ãnor","BÅezen","Duben","KvÄten","Äerven","Äervenec","Srpen","ZáÅÃ","ÅÃjen","Listopad","Prosinec"],monthsShort:["Led","Ãno","BÅe","Dub","KvÄ","Äer","Änc","Srp","ZáÅ","ÅÃj","Lis","Pro"],today:"Dnes",clear:"Vymazat",weekStart:1,format:"dd.m.yyyy"},jQuery.fn.datepicker.dates.de={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],daysShort:["So","Mo","Di","Mi","Do","Fr","Sa"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute",monthsTitle:"Monate",clear:"Löschen",
1weekStart:1,format:"dd.mm.yyyy"},function(n){n(document).on("click",".checkAll",function(e){e.preventDefault();var e=n(this).data("checkall"),t=n(this).data("checkall-state");t?n(e).prop("checked",!1):n(e).prop("checked",!0),n(this).data("checkall-state",!t)})}(jQuery),$(function(){e=3==NS2.LANG_ID?"de":2==NS2.LANG_ID?"en":"cs";var e,t=$(".input-group.date");0<t.length&&(1==t.data("all")?t.datepicker({language:e,autoclose:!0,orientation:"bottom"}):t.datepicker({startDate:"+infinity",language:e,autoclose:!0,orientation:"bottom"}))}),$(function(){function t(){var e,t,n;$(".date--to")&&$(".date--from")&&(e=$(".date--from"),t=$(".date--to"),e.datepicker("getDate"))&&(n=t.datepicker("getDate"),(newDateTo=new Date(e.datepicker("getDate"))).setDate(newDateTo.getDate()+1),t.datepicker("setStartDate",newDateTo),n&&newDateTo>n&&t.datepicker("setDate",newDateTo),t.hasClass("date--to--setMaxDate"))&&((newDateToMax=new Date(e.datepicker("getDate"))).setDate(newDateToMax.getDate()+30),t.datepicker("setEndDate",newDateToMax))}t(),$(".date--from").datepicker().on("changeDate",function(e){t()})}),function(n){var i={starCover:".detail__rating",starSelector:".detail__rating li",starClassEmpty:"icon-star-empty",starClassFull:"icon-star",originalState:[]};n(i.starSelector).each(function(){i.originalState.push(n(this).find(".icon").hasClass(i.starClassFull))});n(document).on("mouseenter",i.starSelector,function(){var e=parseInt(n(this).data("number"));n(i.starSelector+":lt("+e+")").find(".icon").removeClass(i.starClassEmpty).addClass(i.starClassFull),n(i.starSelector+":gt("+(e-1)+")").find(".icon").removeClass(i.starClassFull).addClass(i.starClassEmpty)}),n(document).on("mouseleave",i.starCover,function(){n.each(i.originalState,function(e,t){n(i.starSelector+":eq("+e+")").find(".icon").removeClass(i.starClassEmpty+" "+i.starClassFull).addClass(t?i.starClassFull:i.starClassEmpty)})}),n(document).on("click",i.starSelector,function(e){e.preventDefault(),n.post(window.location.href,{savePageDetailVote:!0,number:parseInt(n(this).data("number")),page_id:n(i.starCover).data("id")},function(e){0<e&&(i.originalState=[!1,!1,!1,!1,!1]);for(var t=0;t+.5<=e;++t)i.originalState[t]=!0})})}(jQuery),jQuery(function(e){var t,n;void 0!==NS2.LANG_URL&&(t="undefined"!=typeof httpPath?httpPath:NS2.PATH_HTTP_FRAMEWORK,n="undefined"!=typeof langUrl?langUrl:NS2.LANG_URL,e.getScript(t+"languages/javascript/fancybox/fancybox-"+n+".js")),e.fancybox.defaults.hash=!1,e.fancybox.defaults.touch=!1,e.fancybox.defaults.iframe.tpl='<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allow="geolocation; autoplay; fullscreen" src=""></iframe>',e.fancybox.defaults.buttons=["slideShow","fullScreen","close"]}),$(document).on("submit","form.sendWithAJAX",function(e){e.preventDefault();var t=$(this).closest(".modal, .modalSendMail"),n=null;fancyboxElm=$("#"+$(this).closest(".template").attr("id")),t.append('<div class="loader"><div></div></div>'),(n=$(this).closest(".modal").find(".loader")).show(),$.ajax({dataType:"json",type:"POST",data:$(this).serialize(),url:$(this).attr("action"),success:function(e){n.remove(),e.message&&(t.find(".modal__message").html(e.message),e.success&&t.find(".modal__heading, .modal__perex, form").hide(),$.fancybox.update(),$.fancybox.reposition()),e.messages&&(t.find(".modal__message").html('<div class="alert alert-'+(1==e.success?"success":"danger")+'">'+e.messages+"</div>"),e.success&&("undefined"!=typeof gtag&>ag("event","Send",{event_category:"Forms",event_label:"PÅihlášenà k odbÄru"}),t.find(".modal__heading, .modal__perex, form").hide()),$.fancybox.update(),$.fancybox.reposition()),e.refreshOnSuccess&&location.reload()},error:function(){n.remove()}})}),$(document).ready(function(){$("input[name=pismenko]").attr("value","a"),$(".overeni").hide(),$(".overeni").parent().hide()}),$(function(){$(document).on("submit",".formModal:not(.noAjax) form",function(e){e.preventDefault();var e=$(this),n=e.is("form")?e:e.find("form"),i=e.find(".formModal__message"),o=e.find(".loader"),s=e.data("return-type")?e.data("return-type"):"json",r=e.data("return-msg")?e.data("return-msg"):"",a=!!e.data("redir-success")&&e.data("redir-success"),l=!!e.data("gaevent"),c=!!e.data("ga4event"),u=e.data("gaevent-label")?e.data("gaevent-label"):"",d=e.data("gaevent-value")?e.data("gaevent-value"):"",h=e.data("gaevent-name")?e.data("gaevent-name"):"",p=e.data("gaevent-params")?$.parseJSON(decodeURIComponent(e.data("gaevent-params"))):"",f=!!e.data("fbevent"),g=e.data("fbevent-name")?e.data("fbevent-name"):"";e.data("closereload")&&$(document).on("afterClose.fb",function(){location.reload()}),o.stop().fadeIn(),$.post(n.attr("action"),n.serialize(),function(e){var t;o.stop().fadeOut(),"json"==s?void 0!==e.message&&(i.html('<p class="alert alert-'+(e.status?"success":"danger")+'">'+e.message+"</p>"),e.status)&&(n.find(".form-group").hide(),l&&callEventGoogleAnalytics(u,null,null,d),f&&callEventFacebook(g),
1c)&&callEventGoogleAnalytics4(h,p):"html"==s&&(t=$("<div />"),$(e).appendTo(t),0<$(t).find(r).length?(i.empty(),$(t).find(r).appendTo(i),($(e).find(r).hasClass("ui-state-default")||$(e).find(r).hasClass("alert-success"))&&(n.find(".form-group").hide(),l&&callEventGoogleAnalytics(u,null,null,d),f&&callEventFacebook(g),c)&&callEventGoogleAnalytics4(h,p)):!1!==a&&(c&&callEventGoogleAnalytics4(h,p),document.location.replace(a)))},s)})}),$(function(){function n(e){0==e?$(t).removeAttr("required").closest(".form-group").hide():($(t).filter(function(){return"f_cart_registration_dic"!=$(this).attr("id")}).attr("required","required"),$(t).closest(".form-group").show())}var t=["#f_cart_registration_firma","#f_cart_registration_ic","#f_cart_registration_dic"].join(", "),i=($(document).on("change",".formRegistration__subjektType input",function(e){var t=$(this).filter(function(){return $(this).is(":checked")}).val();n(t)}),$(document).ready(function(){0<$(".formRegistration__subjektType").length?$(".formRegistration__subjektType input:checked").trigger("change"):0<$(".formRegistration input[name=subjekt_type]").length&&n($(".formRegistration input[name=subjekt_type]").val())}),["#f_cart_registration_d_jmeno","#f_cart_registration_d_prijmeni","#f_cart_registration_d_ulice","#f_cart_registration_d_obec","#f_cart_registration_d_psc","#f_cart_registration_d_stat"].join(", "));$(document).on("change","#f_cart_registration_dodaci_udaje",function(e){$(this).is(":checked")?$(i).attr("required","required"):$(i).removeAttr("required")}),$(document).ready(function(){$("#f_cart_registration_dodaci_udaje").trigger("change")}),$(document).on("change","#f_cart_registration_type",function(e){$(this).is(":checked")?$("#f_cart_registration_password, #f_cart_registration_password_repeat").attr("required","required"):$("#f_cart_registration_password, #f_cart_registration_password_repeat").removeAttr("required")}),$(document).on("submit",".formRegistrationEmail",function(e){e.preventDefault();var t=$(this),n=t.find("input"),i=t.find(".loader");i.stop().fadeIn(),$(".formLogin, .formRegistration").hide(),$.post(t.attr("action"),t.serialize(),function(e){0==e?(n.addClass("is-valid"),$(".formRegistration").show().find("[type=email]").val(n.val()),$(".formRegistration").find("#f_cart_registration_jmeno").focus(),t.hide()):(n.addClass("is-invalid"),0<e?($(".invalid-feedback.email-is-exists").show(),$(".invalid-feedback.email-format-error").hide(),$(".formLogin").show().find("[type=email]").val(n.val()),$(".formLogin").find("[type=password]").focus()):($(".invalid-feedback.email-format-error").show(),$(".invalid-feedback.email-is-exists").hide())),i.stop().fadeOut()})})}),function(o){o.newsletterSubscribe=function(e){var t="undefined"!=typeof idLang?idLang:NS2.LANG_ID,n="undefined"!=typeof httpPath?httpPath:NS2.PATH_HTTP_FRAMEWORK,i="undefined"!=typeof idTree?idTree:NS2.TREE_ID;defaults={url:n+"ajax/presentation/newsletter/newsletter-subscribe.php?lang_id="+t+"&tree_id="+i,formSelector:".formSubscribe",formInputSelector:".formSubscribe__input",messagesSelector:".formSubscribe__msg",loaderSelector:".loader",callBack:function(e){var t=this;o(t.messagesSelector).html(function(){return e.success?(o(t.formInputSelector).val(""),"undefined"!=typeof gtag&>ag("event","Send",{event_category:"Forms",event_label:"PÅihlášenà k odbÄru"}),'<div class="alert alert-success">'+e.messages+"</div>"):'<div class="alert alert-danger">'+e.messages+"</div>"})}},o.extend(defaults,e),o(document).on("submit",defaults.formSelector,function(e){e.preventDefault();var t=o(this).closest(defaults.formSelector);return t.find(defaults.loaderSelector).fadeIn(),o.post(defaults.url,o(this).serialize(),function(e){t.find(defaults.loaderSelector).stop().fadeOut(),defaults.callBack(e)},"json"),!1})},o.newsletterSubscribe()}(jQuery||Zepto),$(function(){var e=".need-validated",o=/^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$/i;$(document).on("blur keyup change",e+" [required]",function(e){var t=$(this).get(0).checkValidity(),n=$(this).closest(".form-group"),i=!1;!1===(t=$(this).is("[type=email]")?o.test($(this).val()):t)?($(this).addClass("is-invalid").removeClass("is-valid"),0<n.find(".invali
1d-feedback").length&&(i=n.find(".invalid-feedback"))):($(this).addClass("is-valid").removeClass("is-invalid"),0<n.find(".valid-feedback").length&&(i=n.find(".valid-feedback"))),!1!==i&&(n.find(".invalid-feedback, .valid-feedback").hide(),i.show())}),$(document).on("submit",e,function(e){!1===$(this).get(0).checkValidity()&&(e.preventDefault(),e.stopPropagation()),$(this).addClass("was-validated")})}),$(function(){$(document).on("change",".custom-file-input",function(){var e=$(this).val().split("\\").pop(),t=$(this).siblings(".custom-file-label"),n=$(this).data("max-filesize");$(this).get(0).files[0].size>n?($(this).val(""),void 0!==t.data("default-title")&&t.removeClass("selected").html(t.data("default-title")),alert(NS2.LANGS.get("forms_msg_error_file_upload_maxsize"))):(void 0===t.data("default-title")&&t.data("default-title",t.html()),""===e?t.removeClass("selected").html(t.data("default-title")):t.addClass("selected").html(e))}),$(document).on("change",".custom-select",function(){var e=$(this).find("option:selected"),t=$(this).closest(".form-group").find(".form-control");0<e.length&&0<t.length&&(1===e.data("select-jine")?t.removeClass("d-none").focus():t.addClass("d-none"))}),$(document).ready(function(){$("option[data-select-jine]").closest("select").trigger("change")})}),function(t){function i(e,t){var n=new Date,i=n.getTime();n.setTime(i+=31536e8),document.cookie=e+"="+t+"; path=/; expires="+n.toUTCString()+"; SameSite=None;"+("https:"==document.location.protocol?" Secure":"")}function n(){t(".cookiePolicy").fadeOut("fast",function(){t(this).addClass("cookiePolicy--hidden"),t("body").removeClass("is-cookiePolicy-visible").addClass("is-cookiePolicy-hidden")})}function e(e){return e=o[e],(e=document.cookie.match("(^|;) ?"+e+"=([^;]*)(;|$)"))?unescape(e[2]):null}var o=["nsgConsent","nsgConsentStat","nsgConsentMark"];t.nsgConsent=function(){return{get:e,set:function(e,t){return n={gtag:["denied","granted"],fbq:["revoke","grant"]},t=1==(t=t)?1:0,1==(e=1==(e=e)?1:2)?(void 0===NS2.STATS||void 0!==NS2.STATS&&0==NS2.STATS)&&("undefined"!=typeof gtag&>ag("consent","update",{analytics_storage:n.gtag[t]}),"undefined"!=typeof loadHotjar&&loadHotjar(),"undefined"!=typeof heureka)&&heureka("set_user_consent",t):2==e&&("undefined"!=typeof gtag&>ag("consent","update",{ad_storage:n.gtag[t],ad_user_data:n.gtag[t],ad_personalization:n.gtag[t]}),"undefined"!=typeof fbq&&fbq("consent",n.fbq[t]),"undefined"!=typeof rc&&(rc.consent=t),"undefined"!=typeof loadEdrone)&&loadEdrone(),i(o[0],(new Date).getTime()),void i(o[e],t);var n}}},t(document).on("click",".cookiePolicy__handler",function(e){return e.preventDefault(),t.nsgConsent().set(1,1),t.nsgConsent().set(2,1),n(),!1}),t(document).on("click",".cookiePolicy__reject",function(e){return e.preventDefault(),t.nsgConsent().set(1,0),t.nsgConsent().set(2,0),n(),!1}),t(document).on("change",".detailCookieConsent__statistic [type=radio]",function(){var e=0==t(this).val()?0:1;t.nsgConsent().set(1,e)}),t(document).on("change",".detailCookieConsent__marketing [type=radio]",function(){var e=0==t(this).val()?0:1;t.nsgConsent().set(2,e)}),t(document).on("submit",".detailCookieConsent form",function(e){e.preventDefault();e=0==t(".detailCookieConsent__statistic [type=radio]:checked").val()?0:1;return t.nsgConsent().set(1,e),e=0==t(".detailCookieConsent__marketing [type=radio]:checked").val()?0:1,t.nsgConsent().set(2,e),n(),t(".detailCookieConsent__msgSave").show(),t([document.documentElement,document.body]).scrollTop(t(".detailCookieConsent").offset().top),!1}),null==t.nsgConsent().get(0)?(t("body").addClass("is-cookiePolicy-visible"),t(".cookiePolicy").removeClass("cookiePolicy--hidden")):t("body").addClass("is-cookiePolicy-hidden")}(jQuery),$(document).ready(function(){function e(){100<window.pageYOffset?$(".linkToTop").show("slow"):$(".linkToTop").hide("slow")}$(".linkToTop").on("click",function(){window.scrollTo({top:0,left:0,behavior:"smooth"})}),window.addEventListener("scroll",function(){e()}),e()}),$(document).ready(function(){0<$(".menuSidebar__collapse").length&&($(".menuSidebar__toggle").on("click",function(){$(".menuMain__collapse").hasClass("show")&&$(".menuMain__collapse").removeClass("show")}),$(".menuMain__toggle").on("click",function(){$(".menuSidebar__collapse").hasClass("show")&&$(".menuSidebar__collapse").removeClass("show")}))}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".scroll-play-video");const t=new IntersectionObserver(e=>
1{e.forEach(e=>{var t=e.target;e.isIntersecting?t.play():(t.pause(),t.currentTime=0)})},{threshold:.5});e.forEach(e=>{t.observe(e)})}),$(document).ready(function(){0<$(".formSearch__input").length&&$(".formSearch__input").each(function(){var e=$(this).closest("form").find(".loader"),t="undefined"!=typeof httpPath?httpPath:NS2.PATH_HTTP;$(this).on("focus",function(){""!=$(this).val()&&$(this).select()}),$(this).devbridgeAutocomplete({serviceUrl:t+"ajax/presentation/custom/171/search-autocomplete.php?lang_id="+("undefined"!=typeof idLang?idLang:NS2.LANG_ID),triggerSelectOnValidInput:!1,preventBadQueries:!1,maxHeight:"800",width:$(this).outerWidth()+100,lookupLimit:10,showNoSuggestionNotice:!0,beforeRender:function(e){$(e).addClass("autocomplete")},onSearchStart:function(){e.show()},onSearchComplete:function(){e.hide()},formatResult:function(e){var t=void 0!==e.category?e.category:"";return"product"==t?'<div class="loop loopAutocomplete loopAutocomplete--product"><div class="loopAutocomplete__img"><img src='+e.image+' class="img-fluid"></div><div class="loopAutocomplete__content"><span class="loopAutocomplete__heading">'+e.value+'</span><span class="loopAutocomplete__price">'+(void 0!==e.price?e.price:"")+'</span><span class="loopAutocomplete__availability'+(0!=e.delivery_date_hours?" text-danger":" text-success")+'">'+(void 0!==e.delivery_date_name?e.delivery_date_name:"")+"</span></div></div>":"category"==t?'<div class="loop loopAutocomplete loopAutocomplete--category"><div class="loopAutocomplete__content"><span class="loopAutocomplete__heading">'+e.value+"</span></div></div>":"page"==t?'<div class="loop loopAutocomplete loopAutocomplete--page"><div class="loopAutocomplete__content"><span class="loopAutocomplete__heading">'+e.value+"</span></div></div>":"more"==t?'<div class="loop loopAutocomplete loopAutocomplete--more"><div class="loopAutocomplete__content"><button class="btn btn-primary">'+e.value+"</button></div></div>":"heading"==e.category?'<div class="loop loopAutocomplete loopAutocomplete--other"><div class="loopAutocomplete__content"><span class="fw-bold fs-2 text-success">'+e.value+"</span></div></div>":'<div class="loop loopAutocomplete loopAutocomplete--other"><div class="loopAutocomplete__content"><span class="loopAutocomplete__heading">'+e.value+"</span></div></div>"},noSuggestionNotice:'<div class="loop loopAutocomplete loopAutocomplete--other"><div class="loopAutocomplete__content"><span class="loopAutocomplete__heading">'+NS2.LANGS.get("search_autocomplete_msg_empty")+"</span></div></div>",onSelect:function(e){document.location.href=e.openLink}})})}),$(function(){0<$(".sendPageLink").length&&$(document).on("click",".sendPageLink",function(e){e.preventDefault(),$("#modalSendMail").find(".modal__heading, .modal__perex, form").show(),$("#modalSendMail .modal__message").html(""),$.fancybox.open({src:"#modalSendMail",type:"inline"})})}),$(function(){1<$(".slideshowTree .slideshow__slides > *").length&&$(".slideshowTree .slideshow__slides").addClass("owl-carousel").owlCarousel({items:1,dots:!0,dotsContainer:".slideshowTree .slideshow__paging",lazyLoad:!0,loop:!0,autoplay:!0,autoplayTimeout:6e3,autoplayHoverPause:!0})}),$(function(){1<$(".slideshowUpoutavky > *").length&&$(".slideshowUpoutavky").addClass("owl-carousel").owlCarousel({items:3,dots:!1,lazyLoad:!0,loop:!0,autoplay:!0,margin:30,autoplayHoverPause:!0,mouseDrag:!0,nav:!0,autoplayTimeout:5e3,navText:["<span class='icon icon-chevron-left'></span>","<span class='icon icon-chevron-right'></span>"],responsive:{0:{items:1},768:{items:2},1170:{items:3}}})});var _do_tlacitko_click_factory=function(e,t,n){"1"==NS2.LANG_ID&&t.attr("href").length&&(gtag("event",n),t.is("[target]")||(e.preventDefault(),setTimeout(function(){window.location.href=t.attr("href")},200)))};$(document).on("click","a.actionLink--ubytovani-seznam",function(e){_do_tlacitko_click_factory(e,$(this),"ubytovani_seznam"),"1"==NS2.LANG_ID&&"undefined"!=typeof fbq&&fbq("track","SubmitApplication")}),$(document).on("click","a.btn-send-event",function(e){_do_tlacitko_click_factory(e,$(this),$(this).data("label"))}),$(document).on("keydown",".actionLink--ubytovani-filtr",function(e){13==(e.keyCode||e.which)&&e.preventDefault()}),$(document).on("click",".actionLink--ubytovani-filtrovat",function(){var e,t;""!=$("#f_terminOd").val()&&""!=$("#f_terminDo").val()&&($(".actionLink--ubytovani-filtr").attr("target","_blank"),gtag("event","ubytovani_poptavka_odchod"),"1"==NS2.LANG_ID)&&(e=document.cookie.split("; ").find(e=>e.startsWith("nsgConsentMark=")&&"1"==e.split("=")[1])?1:0,(t=document.createElement("script")).type="text/javascript",t.src="https://c.seznam.cz/js/rc.js",t.onload=function(){window.sznIVA.IS.updateIdentities({eid:null}),window.rc.conversionHit({id:100052172,value:null,consent:e})},document.head.appendChild(t),"undefined"!=typeof fbq)&&fbq("track","SubmitApplication")}),$(document).on("submit",".actionLink--ubytovani-filtr",function(e){}),$(function(){$('[data-toggle="tooltip"]').tooltip()}),$(document).ready(function(){0<$("#selChildrenSearchLine1").length&&$("#selChildrenSearchLine1").change(function(){var e=$
1("#selChildrenSearchLine1").val();if(0<e){$(".ubytovaniPageDetail__vekDeti").removeClass("d-none");for(var t=1;t<7;t++)t<=e?$("#f_vekDeti"+t).removeClass("d-none"):($("#f_vekDeti"+t).addClass("d-none"),$("#f_vekDeti"+t).val(""))}else $(".ubytovaniPageDetail__vekDeti").addClass("d-none"),$(".ubytovaniPageDetail__vekDeti__input").val("")})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.