/*!
 * rbjQuer JavaScript Library v1.11.3
 * http://rbjquer.com/
 *
 * Includes rbSizzl.js
 * http://sizzlejs.com/
 *
 * Copyright 2005, 2014 rbjQuer Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://rbjquer.org/license
 *
 * Date: 2015-04-28T16:19Z
 */
((e,t)=>{"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("rbjQuer requires a window with a document")}:t(e)})("undefined"!=typeof window?window:this,function(h,F){function O(e,t){return t.toUpperCase()}var d=[],c=d.slice,B=d.concat,P=d.push,R=d.indexOf,n={},W=n.toString,m=n.hasOwnProperty,g={},e="1.11.3",w=function(e,t){return new w.fn.init(e,t)},$=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,z=/^-ms-/,I=/-([\da-z])/gi;function X(e){var t="length"in e&&e.length,n=w.type(e);return"function"!==n&&!w.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}w.fn=w.prototype={rbjquer:e,constructor:w,selector:"",length:0,toArray:function(){return c.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:c.call(this)},pushStack:function(e){e=w.merge(this.constructor(),e);return e.prevObject=this,e.context=this.context,e},each:function(e,t){return w.each(this,e,t)},map:function(n){return this.pushStack(w.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(c.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(null)},push:P,sort:d.sort,splice:d.splice},w.extend=w.fn.extend=function(){var e,t,n,r,i,o=arguments[0]||{},a=1,s=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[a]||{},a++),"object"==typeof o||w.isFunction(o)||(o={}),a===s&&(o=this,a--);a<s;a++)if(null!=(r=arguments[a]))for(n in r)i=o[n],o!==(t=r[n])&&(l&&t&&(w.isPlainObject(t)||(e=w.isArray(t)))?(i=e?(e=!1,i&&w.isArray(i)?i:[]):i&&w.isPlainObject(i)?i:{},o[n]=w.extend(l,i,t)):void 0!==t&&(o[n]=t));return o},w.extend({expando:"rbjQuer"+(e+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===w.type(e)},isArray:Array.isArray||function(e){return"array"===w.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!w.isArray(e)&&0<=e-parseFloat(e)+1},isEmptyObject:function(e){for(var t in e)return!1;return!0},isPlainObject:function(e){if(!e||"object"!==w.type(e)||e.nodeType||w.isWindow(e))return!1;try{if(e.constructor&&!m.call(e,"constructor")&&!m.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(g.ownLast)for(var t in e)return m.call(e,t);for(t in e);return void 0===t||m.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[W.call(e)]||"object":typeof e},globalEval:function(e){e&&w.trim(e)&&(h.execScript||function(e){h.eval.call(h,e)})(e)},camelCase:function(e){return e.replace(z,"ms-").replace(I,O)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r=0,i=e.length,o=X(e);if(n){if(o)for(;r<i&&!1!==t.apply(e[r],n);r++);else for(r in e)if(!1===t.apply(e[r],n))break}else if(o)for(;r<i&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace($,"")},makeArray:function(e,t){t=t||[];return null!=e&&(X(Object(e))?w.merge(t,"string"==typeof e?[e]:e):P.call(t,e)),t},inArray:function(e,t,n){var r;if(t){if(R)return R.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;)e[i++]=t[r++];if(n!=n)for(;void 0!==t[r];)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!=a&&r.push(e[i]);return r},map:function(e,t,n){var r,i=0,o=e.length,a=[];if(X(e))for(;i<o;i++)null!=(r=t(e[i],i,n))&&a.push(r);else for(i in e)null!=(r=t(e[i],i,n))&&a.push(r);return B.apply([],a)},guid:1,proxy:function(e,t){var n,r;if("string"==typeof t&&(r=e[t],t=e,e=r),w.isFunction(e))return n=c.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(c.call(arguments)))}).guid=e.guid=e.guid||w.guid++,r},now:function(){return+new Date},support:g}),w.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var e=
/*!
 * rbSizzl CSS Selector Engine v2.2.0-pre
 * http://sizzlejs.com/
 *
 * Copyright 2008, 2014 rbjQuer Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://rbjquer.org/license
 *
 * Date: 2014-12-16
 */
(n=>{function d(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(65536+r):String.fromCharCode(r>>10|55296,1023&r|56320)}function F(){h()}var e,f,x,o,O,p,B,P,w,u,c,h,T,t,m,g,r,i,y,b="sizzle"+ +new Date,v=n.document,C=0,R=0,W=ce(),$=ce(),z=ce(),I=function(e,t){return e===t&&(c=!0),0},X={}.hasOwnProperty,a=[],U=a.pop,V=a.push,N=a.push,J=a.slice,E=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Y="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",s="[\\x20\\t\\r\\n\\f]",l="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",G=l.replace("w","w#"),Q="\\["+s+"*("+l+")(?:"+s+"*([*^$|!~]?=)"+s+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+G+"))|)"+s+"*\\]",K=":("+l+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Q+")*)|.*)\\)|)",Z=new RegExp(s+"+","g"),k=new RegExp("^"+s+"+|((?:^|[^\\\\])(?:\\\\.)*)"+s+"+$","g"),ee=new RegExp("^"+s+"*,"+s+"*"),te=new RegExp("^"+s+"*([>+~]|"+s+")"+s+"*"),ne=new RegExp("="+s+"*([^\\]'\"]*?)"+s+"*\\]","g"),re=new RegExp(K),ie=new RegExp("^"+G+"$"),S={ID:new RegExp("^#("+l+")"),CLASS:new RegExp("^\\.("+l+")"),TAG:new RegExp("^("+l.replace("w","w*")+")"),ATTR:new RegExp("^"+Q),PSEUDO:new RegExp("^"+K),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+s+"*(even|odd|(([+-]|)(\\d*)n|)"+s+"*(?:([+-]|)"+s+"*(\\d+)|))"+s+"*\\)|)","i"),bool:new RegExp("^(?:"+Y+")$","i"),needsContext:new RegExp("^"+s+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+s+"*((?:-\\d)?\\d*)"+s+"*\\)|)(?=[^-]|$)","i")},oe=/^(?:input|select|textarea|button)$/i,ae=/^h\d$/i,A=/^[^{]+\{\s*\[native \w/,se=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,le=/[+~]/,ue=/'|\\/g,D=new RegExp("\\\\([\\da-f]{1,6}"+s+"?|("+s+")|.)","ig");try{N.apply(a=J.call(v.childNodes),v.childNodes),a[v.childNodes.length].nodeType}catch(e){N={apply:a.length?function(e,t){V.apply(e,J.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function j(e,t,n,r){var i,o,a,s,l,u,c;if((t?t.ownerDocument||t:v)!==T&&h(t),n=n||[],i=(t=t||T).nodeType,"string"!=typeof e||!e||1!==i&&9!==i&&11!==i)return n;if(!r&&m){if(11!==i&&(u=se.exec(e)))if(c=u[1]){if(9===i){if(!(s=t.getElementById(c))||!s.parentNode)return n;if(s.id===c)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(c))&&y(t,s)&&s.id===c)return n.push(s),n}else{if(u[2])return N.apply(n,t.getElementsByTagName(e)),n;if((c=u[3])&&f.getElementsByClassName)return N.apply(n,t.getElementsByClassName(c)),n}if(f.qsa&&(!g||!g.test(e))){if(l=s=b,u=t,c=1!==i&&e,1===i&&"object"!==t.nodeName.toLowerCase()){for(a=p(e),(s=t.getAttribute("id"))?l=s.replace(ue,"\\$&"):t.setAttribute("id",l),l="[id='"+l+"'] ",o=a.length;o--;)a[o]=l+_(a[o]);u=le.test(e)&&pe(t.parentNode)||t,c=a.join(",")}if(c)try{return N.apply(n,u.querySelectorAll(c)),n}catch(e){}finally{s||t.removeAttribute("id")}}}return P(e.replace(k,"$1"),t,n,r)}function ce(){var n=[];function r(e,t){return n.push(e+" ")>x.cacheLength&&delete r[n.shift()],r[e+" "]=t}return r}function L(e){return e[b]=!0,e}function H(e){var t=T.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function de(e,t){for(var n=e.split("|"),r=e.length;r--;)x.attrHandle[n[r]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function q(a){return L(function(o){return o=+o,L(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function pe(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in f=j.support={},O=j.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},h=j.setDocument=function(e){var l=e?e.ownerDocument||e:v;return l!==T&&9===l.nodeType&&l.documentElement?(t=(T=l).documentElement,(e=l.defaultView)&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",F,!1):e.attachEvent&&e.attachEvent("onunload",F)),m=!O(l),f.attributes=H(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=H(function(e){return e.appendChild(l.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=A.test(l.getElementsByClassName),f.getById=H(function(e){return t.appendChild(e).id=b,!l.getElementsByName||!l.getElementsByName(b).length}),f.getById?(x.find.ID=function(e,t){if(void 0!==t.getElementById&&m)return(t=t.getElementById(e))&&t.parentNode?[t]:[]},x.filter.ID=function(e){var t=e.replace(D,d);return function(e){return e.getAttribute("id")===t}}):(delete x.find.ID,x.filter.ID=function(e){var t=e.replace(D,d);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}}),x.find.TAG=f.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},x.find.CLASS=f.getElementsByClassName&&function(e,t){if(m)return t.getElementsByClassName(e)},r=[],g=[],(f.qsa=A.test(l.querySelectorAll))&&(H(function(e){t.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\f]' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+s+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+s+"*(?:value|"+Y+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]")}),H(function(e){var t=l.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+s+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(f.matchesSelector=A.test(i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector))&&H(function(e){f.disconnectedMatch=i.call(e,"div"),i.call(e,"[s!='']:x"),r.push("!=",K)}),g=g.length&&new RegExp(g.join("|")),r=r.length&&new RegExp(r.join("|")),e=A.test(t.compareDocumentPosition),y=e||A.test(t.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},I=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)||!f.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument===v&&y(v,e)?-1:t===l||t.ownerDocument===v&&y(v,t)?1:u?E(u,e)-E(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===l?-1:t===l?1:i?-1:o?1:u?E(u,e)-E(u,t):0;if(i===o)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?fe(a[r],s[r]):a[r]===v?-1:s[r]===v?1:0},l):T},j.matches=function(e,t){return j(e,null,null,t)},j.matchesSelector=function(e,t){if((e.ownerDocument||e)!==T&&h(e),t=t.replace(ne,"='$1']"),f.matchesSelector&&m&&(!r||!r.test(t))&&(!g||!g.test(t)))try{var n=i.call(e,t);if(n||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<j(t,T,null,[e]).length},j.contains=function(e,t){return(e.ownerDocument||e)!==T&&h(e),y(e,t)},j.attr=function(e,t){(e.ownerDocument||e)!==T&&h(e);var n=x.attrHandle[t.toLowerCase()],n=n&&X.call(x.attrHandle,t.toLowerCase())?n(e,t,!m):void 0;return void 0!==n?n:f.attributes||!m?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},j.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},j.uniqueSort=function(e){var t,n=[],r=0,i=0;if(c=!f.detectDuplicates,u=!f.sortStable&&e.slice(0),e.sort(I),c){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return u=null,e},o=j.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(x=j.selectors={cacheLength:50,createPseudo:L,match:S,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,d),e[3]=(e[3]||e[4]||e[5]||"").replace(D,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]||j.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]&&j.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return S.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&re.test(n)&&(t=(t=p(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,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+s+")"+e+"("+s+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=j.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1<e.indexOf(r):"$="===n?r&&e.slice(-r.length)===r:"~="===n?-1<(" "+e.replace(Z," ")+" ").indexOf(r):"|="===n&&(e===r||e.slice(0,r.length+1)===r+"-"))}},CHILD:function(p,e,t,h,m){var g="nth"!==p.slice(0,3),y="last"!==p.slice(-4),v="of-type"===e;return 1===h&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,l,u=g!=y?"nextSibling":"previousSibling",c=e.parentNode,d=v&&e.nodeName.toLowerCase(),f=!n&&!v;if(c){if(g){for(;u;){for(o=e;o=o[u];)if(v?o.nodeName.toLowerCase()===d:1===o.nodeType)return!1;l=u="only"===p&&!l&&"nextSibling"}return!0}if(l=[y?c.firstChild:c.lastChild],y&&f){for(s=(r=(i=c[b]||(c[b]={}))[p]||[])[0]===C&&r[1],a=r[0]===C&&r[2],o=s&&c.childNodes[s];o=++s&&o&&o[u]||(a=s=0,l.pop());)if(1===o.nodeType&&++a&&o===e){i[p]=[C,s,a];break}}else if(f&&(r=(e[b]||(e[b]={}))[p])&&r[0]===C)a=r[1];else for(;(o=++s&&o&&o[u]||(a=s=0,l.pop()))&&((v?o.nodeName.toLowerCase()!==d:1!==o.nodeType)||!++a||(f&&((o[b]||(o[b]={}))[p]=[C,a]),o!==e)););return(a-=m)===h||a%h==0&&0<=a/h}}},PSEUDO:function(e,o){var t,a=x.pseudos[e]||x.setFilters[e.toLowerCase()]||j.error("unsupported pseudo: "+e);return a[b]?a(o):1<a.length?(t=[e,e,"",o],x.setFilters.hasOwnProperty(e.toLowerCase())?L(function(e,t){for(var n,r=a(e,o),i=r.length;i--;)e[n=E(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:L(function(e){var r=[],i=[],s=B(e.replace(k,"$1"));return s[b]?L(function(e,t,n,r){for(var i,o=s(e,null,r,[]),a=e.length;a--;)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:L(function(t){return function(e){return 0<j(t,e).length}}),contains:L(function(t){return t=t.replace(D,d),function(e){return-1<(e.textContent||e.innerText||o(e)).indexOf(t)}}),lang:L(function(n){return ie.test(n||"")||j.error("unsupported lang: "+n),n=n.replace(D,d).toLowerCase(),function(e){var t;do{if(t=m?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=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===t},focus:function(e){return e===T.activeElement&&(!T.hasFocus||T.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},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!x.pseudos.empty(e)},header:function(e){return ae.test(e.nodeName)},input:function(e){return oe.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:q(function(){return[0]}),last:q(function(e,t){return[t-1]}),eq:q(function(e,t,n){return[n<0?n+t:n]}),even:q(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:q(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:q(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:q(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[e]=(t=>function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t})(e);for(e in{submit:!0,reset:!0})x.pseudos[e]=(n=>function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n})(e);function he(){}function _(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(a,e,t){var s=e.dir,l=t&&"parentNode"===s,u=R++;return e.first?function(e,t,n){for(;e=e[s];)if(1===e.nodeType||l)return a(e,t,n)}:function(e,t,n){var r,i,o=[C,u];if(n){for(;e=e[s];)if((1===e.nodeType||l)&&a(e,t,n))return!0}else for(;e=e[s];)if(1===e.nodeType||l){if((r=(i=e[b]||(e[b]={}))[s])&&r[0]===C&&r[1]===u)return o[2]=r[2];if((i[s]=o)[2]=a(e,t,n))return!0}}}function ge(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function M(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)!(o=e[s])||n&&!n(o,r,i)||(a.push(o),u&&t.push(s));return a}function ye(p,h,m,g,y,e){return g&&!g[b]&&(g=ye(g)),y&&!y[b]&&(y=ye(y,e)),L(function(e,t,n,r){var i,o,a,s=[],l=[],u=t.length,c=e||((e,t,n)=>{for(var r=0,i=t.length;r<i;r++)j(e,t[r],n);return n})(h||"*",n.nodeType?[n]:n,[]),d=!p||!e&&h?c:M(c,s,p,n,r),f=m?y||(e?p:u||g)?[]:t:d;if(m&&m(d,f,n,r),g)for(i=M(f,l),g(i,[],n,r),o=i.length;o--;)(a=i[o])&&(f[l[o]]=!(d[l[o]]=a));if(e){if(y||p){if(y){for(i=[],o=f.length;o--;)(a=f[o])&&i.push(d[o]=a);y(null,f=[],i,r)}for(o=f.length;o--;)(a=f[o])&&-1<(i=y?E(e,a):s[o])&&(e[i]=!(t[i]=a))}}else f=M(f===t?f.splice(u,f.length):f),y?y(null,t,f,r):N.apply(t,f)})}function ve(g,y){function e(e,t,n,r,i){var o,a,s,l=0,u="0",c=e&&[],d=[],f=w,p=e||b&&x.find.TAG("*",i),h=C+=null==f?1:Math.random()||.1,m=p.length;for(i&&(w=t!==T&&t);u!==m&&null!=(o=p[u]);u++){if(b&&o){for(a=0;s=g[a++];)if(s(o,t,n)){r.push(o);break}i&&(C=h)}v&&((o=!s&&o)&&l--,e)&&c.push(o)}if(l+=u,v&&u!==l){for(a=0;s=y[a++];)s(c,d,t,n);if(e){if(0<l)for(;u--;)c[u]||d[u]||(d[u]=U.call(r));d=M(d)}N.apply(r,d),i&&!e&&0<d.length&&1<l+y.length&&j.uniqueSort(r)}return i&&(C=h,w=f),c}var v=0<y.length,b=0<g.length;return v?L(e):e}return he.prototype=x.filters=x.pseudos,x.setFilters=new he,p=j.tokenize=function(e,t){var n,r,i,o,a,s,l,u=$[e+" "];if(u)return t?0:u.slice(0);for(a=e,s=[],l=x.preFilter;a;){for(o in n&&!(r=ee.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=te.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(k," ")}),a=a.slice(n.length)),x.filter)!(r=S[o].exec(a))||l[o]&&!(r=l[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?j.error(e):$(e,s).slice(0)},B=j.compile=function(e,t){var n,r=[],i=[],o=z[e+" "];if(!o){for(n=(t=t||p(e)).length;n--;)((o=function e(t){for(var r,n,i,o=t.length,a=x.relative[t[0].type],s=a||x.relative[" "],l=a?1:0,u=me(function(e){return e===r},s,!0),c=me(function(e){return-1<E(r,e)},s,!0),d=[function(e,t,n){return e=!a&&(n||t!==w)||((r=t).nodeType?u:c)(e,t,n),r=null,e}];l<o;l++)if(n=x.relative[t[l].type])d=[me(ge(d),n)];else{if((n=x.filter[t[l].type].apply(null,t[l].matches))[b]){for(i=++l;i<o&&!x.relative[t[i].type];i++);return ye(1<l&&ge(d),1<l&&_(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(k,"$1"),n,l<i&&e(t.slice(l,i)),i<o&&e(t=t.slice(i)),i<o&&_(t))}d.push(n)}return ge(d)}(t[n]))[b]?r:i).push(o);(o=z(e,ve(i,r))).selector=e}return o},P=j.select=function(e,t,n,r){var i,o,a,s,l,u="function"==typeof e&&e,c=!r&&p(e=u.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&f.getById&&9===t.nodeType&&m&&x.relative[o[1].type]){if(!(t=(x.find.ID(a.matches[0].replace(D,d),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=S.needsContext.test(e)?0:o.length;i--&&(a=o[i],!x.relative[s=a.type]);)if((l=x.find[s])&&(r=l(a.matches[0].replace(D,d),le.test(o[0].type)&&pe(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&_(o))break;return N.apply(n,r),n}}return(u||B(e,c))(r,t,!m,n,le.test(e)&&pe(t.parentNode)||t),n},f.sortStable=b.split("").sort(I).join("")===b,f.detectDuplicates=!!c,h(),f.sortDetached=H(function(e){return 1&e.compareDocumentPosition(T.createElement("div"))}),H(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&H(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),H(function(e){return null==e.getAttribute("disabled")})||de(Y,function(e,t,n){if(!n)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),j})(h),U=(w.find=e,w.expr=e.selectors,w.expr[":"]=w.expr.pseudos,w.unique=e.uniqueSort,w.text=e.getText,w.isXMLDoc=e.isXML,w.contains=e.contains,w.expr.match.needsContext),V=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,J=/^.[^:#\[\.,]*$/;function Y(e,n,r){if(w.isFunction(n))return w.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return w.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(J.test(n))return w.filter(n,e,r);n=w.filter(n,e)}return w.grep(e,function(e){return 0<=w.inArray(e,n)!==r})}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<i;t++)if(w.contains(r[t],this))return!0}));for(t=0;t<i;t++)w.find(e,r[t],n);return(n=this.pushStack(1<i?w.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(Y(this,e||[],!1))},not:function(e){return this.pushStack(Y(this,e||[],!0))},is:function(e){return!!Y(this,"string"==typeof e&&U.test(e)?w(e):e||[],!1).length}});var i,y=h.document,G=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,Q=((w.fn.init=function(e,t){var n,r;if(e){if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):w.isFunction(e)?void 0!==i.ready?i.ready(e):e(w):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),w.makeArray(e,this));if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:G.exec(e))||!n[1]&&t)return(!t||t.rbjquer?t||i:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),V.test(n[1])&&w.isPlainObject(t))for(n in t)w.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n])}else{if((r=y.getElementById(n[2]))&&r.parentNode){if(r.id!==n[2])return i.find(e);this.length=1,this[0]=r}this.context=y,this.selector=e}}return this}).prototype=w.fn,i=w(y),/^(?:parents|prev(?:Until|All))/),K={children:!0,contents:!0,next:!0,prev:!0};function Z(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.extend({dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(void 0===n||1!==i.nodeType||!w(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),w.fn.extend({has:function(e){var t,n=w(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(w.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=U.test(e)||"string"!=typeof e?w(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?w.unique(o):o)},index:function(e){return e?"string"==typeof e?w.inArray(this[0],w(e)):w.inArray(e.rbjquer?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.unique(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return w.dir(e,"parentNode")},parentsUntil:function(e,t,n){return w.dir(e,"parentNode",n)},next:function(e){return Z(e,"nextSibling")},prev:function(e){return Z(e,"previousSibling")},nextAll:function(e){return w.dir(e,"nextSibling")},prevAll:function(e){return w.dir(e,"previousSibling")},nextUntil:function(e,t,n){return w.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return w.dir(e,"previousSibling",n)},siblings:function(e){return w.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return w.sibling(e.firstChild)},contents:function(e){return w.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:w.merge([],e.childNodes)}},function(r,i){w.fn[r]=function(e,t){var n=w.map(this,i,e);return(t="Until"!==r.slice(-5)?e:t)&&"string"==typeof t&&(n=w.filter(t,n)),1<this.length&&(K[r]||(n=w.unique(n)),Q.test(r))&&(n=n.reverse()),this.pushStack(n)}});var t,T=/\S+/g,ee={};function te(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",r,!1),h.removeEventListener("load",r,!1)):(y.detachEvent("onreadystatechange",r),h.detachEvent("onload",r))}function r(){!y.addEventListener&&"load"!==event.type&&"complete"!==y.readyState||(te(),w.ready())}w.Callbacks=function(i){var e,n;i="string"==typeof i?ee[i]||(n=ee[e=i]={},w.each(e.match(T)||[],function(e,t){n[t]=!0}),n):w.extend({},i);function r(e){for(t=i.memory&&e,a=!0,l=u||0,u=0,s=c.length,o=!0;c&&l<s;l++)if(!1===c[l].apply(e[0],e[1])&&i.stopOnFalse){t=!1;break}o=!1,c&&(d?d.length&&r(d.shift()):t?c=[]:f.disable())}var o,t,a,s,l,u,c=[],d=!i.once&&[],f={add:function(){var e;return c&&(e=c.length,function r(e){w.each(e,function(e,t){var n=w.type(t);"function"===n?i.unique&&f.has(t)||c.push(t):t&&t.length&&"string"!==n&&r(t)})}(arguments),o?s=c.length:t&&(u=e,r(t))),this},remove:function(){return c&&w.each(arguments,function(e,t){for(var n;-1<(n=w.inArray(t,c,n));)c.splice(n,1),o&&(n<=s&&s--,n<=l)&&l--}),this},has:function(e){return e?-1<w.inArray(e,c):!(!c||!c.length)},empty:function(){return c=[],s=0,this},disable:function(){return c=d=t=void 0,this},disabled:function(){return!c},lock:function(){return d=void 0,t||f.disable(),this},locked:function(){return!d},fireWith:function(e,t){return!c||a&&!d||(t=[e,(t=t||[]).slice?t.slice():t],o?d.push(t):r(t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!a}};return f},w.extend({Deferred:function(e){var o=[["resolve","done",w.Callbacks("once memory"),"resolved"],["reject","fail",w.Callbacks("once memory"),"rejected"],["notify","progress",w.Callbacks("memory")]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var i=arguments;return w.Deferred(function(r){w.each(o,function(e,t){var n=w.isFunction(i[e])&&i[e];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&w.isFunction(e.promise)?e.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[t[0]+"With"](this===a?r.promise():this,n?[e]:arguments)})}),i=null}).promise()},promise:function(e){return null!=e?w.extend(e,a):a}},s={};return a.pipe=a.then,w.each(o,function(e,t){var n=t[2],r=t[3];a[t[1]]=n.add,r&&n.add(function(){i=r},o[1^e][2].disable,o[2][2].lock),s[t[0]]=function(){return s[t[0]+"With"](this===s?a:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){function t(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?c.call(arguments):e,r===i?u.notifyWith(n,r):--l||u.resolveWith(n,r)}}var i,n,r,o=0,a=c.call(arguments),s=a.length,l=1!==s||e&&w.isFunction(e.promise)?s:0,u=1===l?e:w.Deferred();if(1<s)for(i=new Array(s),n=new Array(s),r=new Array(s);o<s;o++)a[o]&&w.isFunction(a[o].promise)?a[o].promise().done(t(o,r,a)).fail(u.reject).progress(t(o,n,i)):--l;return l||u.resolveWith(r,a),u.promise()}}),w.fn.ready=function(e){return w.ready.promise().done(e),this},w.extend({isReady:!1,readyWait:1,holdReady:function(e){e?w.readyWait++:w.ready(!0)},ready:function(e){if(!0===e?!--w.readyWait:!w.isReady){if(!y.body)return setTimeout(w.ready);(w.isReady=!0)!==e&&0<--w.readyWait||(t.resolveWith(y,[w]),w.fn.triggerHandler&&(w(y).triggerHandler("ready"),w(y).off("ready")))}}}),w.ready.promise=function(e){if(!t)if(t=w.Deferred(),"complete"===y.readyState)setTimeout(w.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",r,!1),h.addEventListener("load",r,!1);else{y.attachEvent("onreadystatechange",r),h.attachEvent("onload",r);var n=!1;try{n=null==h.frameElement&&y.documentElement}catch(e){}n&&n.doScroll&&!function t(){if(!w.isReady){try{n.doScroll("left")}catch(e){return setTimeout(t,50)}te(),w.ready()}}()}return t.promise(e)};var ne,v="undefined";for(ne in w(g))break;g.ownLast="0"!==ne,g.inlineBlockNeedsLayout=!1,w(function(){var e,t,n=y.getElementsByTagName("body")[0];n&&n.style&&(e=y.createElement("div"),(t=y.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(t).appendChild(e),typeof e.style.zoom!=v&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",g.inlineBlockNeedsLayout=e=3===e.offsetWidth,e)&&(n.style.zoom=1),n.removeChild(t))});e=y.createElement("div");if(null==g.deleteExpando){g.deleteExpando=!0;try{delete e.test}catch(e){g.deleteExpando=!1}}w.acceptData=function(e){var t=w.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)};var re=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ie=/([A-Z])/g;function oe(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(ie,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:re.test(n)?w.parseJSON(n):n)}catch(e){}w.data(e,t,n)}else n=void 0}return n}function ae(e){for(var t in e)if(("data"!==t||!w.isEmptyObject(e[t]))&&"toJSON"!==t)return;return 1}function se(e,t,n,r){if(w.acceptData(e)){var i,o=w.expando,a=e.nodeType,s=a?w.cache:e,l=a?e[o]:e[o]&&o;if(l&&s[l]&&(r||s[l].data)||void 0!==n||"string"!=typeof t)return s[l=l||(a?e[o]=d.pop()||w.guid++:o)]||(s[l]=a?{}:{toJSON:w.noop}),"object"!=typeof t&&"function"!=typeof t||(r?s[l]=w.extend(s[l],t):s[l].data=w.extend(s[l].data,t)),e=s[l],r||(e.data||(e.data={}),e=e.data),void 0!==n&&(e[w.camelCase(t)]=n),"string"==typeof t?null==(i=e[t])&&(i=e[w.camelCase(t)]):i=e,i}}function le(e,t,n){if(w.acceptData(e)){var r,i,o=e.nodeType,a=o?w.cache:e,s=o?e[w.expando]:w.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){i=(t=w.isArray(t)?t.concat(w.map(t,w.camelCase)):t in r||(t=w.camelCase(t))in r?[t]:t.split(" ")).length;for(;i--;)delete r[t[i]];if(n?!ae(r):!w.isEmptyObject(r))return}(n||(delete a[s].data,ae(a[s])))&&(o?w.cleanData([e],!0):g.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}w.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?w.cache[e[w.expando]]:e[w.expando])&&!ae(e)},data:function(e,t,n){return se(e,t,n)},removeData:function(e,t){return le(e,t)},_data:function(e,t,n){return se(e,t,n,!0)},_removeData:function(e,t){return le(e,t,!0)}}),w.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0!==e)return"object"==typeof e?this.each(function(){w.data(this,e)}):1<arguments.length?this.each(function(){w.data(this,e,t)}):o?oe(o,e,w.data(o,e)):void 0;if(this.length&&(i=w.data(o),1===o.nodeType)&&!w._data(o,"parsedAttrs")){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&oe(o,r=w.camelCase(r.slice(5)),i[r]);w._data(o,"parsedAttrs",!0)}return i},removeData:function(e){return this.each(function(){w.removeData(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return r=w._data(e,t=(t||"fx")+"queue"),n&&(!r||w.isArray(n)?r=w._data(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){w.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return w._data(e,n)||w._data(e,n,{empty:w.Callbacks("once memory").add(function(){w._removeData(e,t+"queue"),w._removeData(e,n)})})}}),w.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?w.queue(this[0],t):void 0===n?this:this.each(function(){var e=w.queue(this,t,n);w._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&w.dequeue(this,t)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--i||o.resolveWith(a,[a])}var r,i=1,o=w.Deferred(),a=this,s=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(r=w._data(a[s],e+"queueHooks"))&&r.empty&&(i++,r.empty.add(n));return n(),o.promise(t)}});function b(e,t){return"none"===w.css(e=t||e,"display")||!w.contains(e.ownerDocument,e)}var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,s=["Top","Right","Bottom","Left"],l=w.access=function(e,t,n,r,i,o,a){var s=0,l=e.length,u=null==n;if("object"===w.type(n))for(s in i=!0,n)w.access(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,w.isFunction(r)||(a=!0),t=u?a?(t.call(e,r),null):(u=t,function(e,t,n){return u.call(w(e),n)}):t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):l?t(e[0],n):o},ue=/^(?:checkbox|radio)$/i,o=y.createElement("input"),a=y.createElement("div"),u=y.createDocumentFragment();if(a.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",g.leadingWhitespace=3===a.firstChild.nodeType,g.tbody=!a.getElementsByTagName("tbody").length,g.htmlSerialize=!!a.getElementsByTagName("link").length,g.html5Clone="<:nav></:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,o.type="checkbox",o.checked=!0,u.appendChild(o),g.appendChecked=o.checked,a.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,u.appendChild(a),a.innerHTML="<input type='radio' checked='checked' name='t'/>",g.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,g.noCloneEvent=!0,a.attachEvent&&(a.attachEvent("onclick",function(){g.noCloneEvent=!1}),a.cloneNode(!0).click()),null==g.deleteExpando){g.deleteExpando=!0;try{delete a.test}catch(e){g.deleteExpando=!1}}var f,ce,de=y.createElement("div");for(f in{submit:!0,change:!0,focusin:!0})(g[f+"Bubbles"]=(ce="on"+f)in h)||(de.setAttribute(ce,"t"),g[f+"Bubbles"]=!1===de.attributes[ce].expando);var fe=/^(?:input|select|textarea)$/i,pe=/^key/,he=/^(?:mouse|pointer|contextmenu)|click/,me=/^(?:focusinfocus|focusoutblur)$/,ge=/^([^.]*)(?:\.(.+)|)$/;function ye(){return!0}function p(){return!1}function ve(){try{return y.activeElement}catch(e){}}function be(e){var t=xe.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,d,f,p,h=w._data(e);if(h)for(n.handler&&(n=(s=n).handler,i=s.selector),n.guid||(n.guid=w.guid++),o=(o=h.events)||(h.events={}),(u=h.handle)||((u=h.handle=function(e){return typeof w==v||e&&w.event.triggered===e.type?void 0:w.event.dispatch.apply(u.elem,arguments)}).elem=e),a=(t=(t||"").match(T)||[""]).length;a--;)d=p=(f=ge.exec(t[a])||[])[1],f=(f[2]||"").split(".").sort(),d&&(l=w.event.special[d]||{},d=(i?l.delegateType:l.bindType)||d,l=w.event.special[d]||{},p=w.extend({type:d,origType:p,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:f.join(".")},s),(c=o[d])||((c=o[d]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(e,r,f,u))||(e.addEventListener?e.addEventListener(d,u,!1):e.attachEvent&&e.attachEvent("on"+d,u)),l.add&&(l.add.call(e,p),p.handler.guid||(p.handler.guid=n.guid)),i?c.splice(c.delegateCount++,0,p):c.push(p),w.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,u,c,d,f,p,h,m,g=w.hasData(e)&&w._data(e);if(g&&(c=g.events)){for(u=(t=(t||"").match(T)||[""]).length;u--;)if(p=m=(s=ge.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=w.event.special[p]||{},f=c[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;o--;)a=f[o],!i&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,d.remove&&d.remove.call(e,a));l&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||w.removeEvent(e,p,g.handle),delete c[p])}else for(p in c)w.event.remove(e,p+t[u],n,r,!0);w.isEmptyObject(c)&&(delete g.handle,w._removeData(e,"events"))}},trigger:function(e,t,n,r){var i,o,a,s,l,u,c=[n||y],d=m.call(e,"type")?e.type:e,f=m.call(e,"namespace")?e.namespace.split("."):[],p=l=n=n||y;if(3!==n.nodeType&&8!==n.nodeType&&!me.test(d+w.event.triggered)&&(0<=d.indexOf(".")&&(d=(f=d.split(".")).shift(),f.sort()),o=d.indexOf(":")<0&&"on"+d,(e=e[w.expando]?e:new w.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=f.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:w.makeArray(t,[e]),s=w.event.special[d]||{},r||!s.trigger||!1!==s.trigger.apply(n,t))){if(!r&&!s.noBubble&&!w.isWindow(n)){for(a=s.delegateType||d,me.test(a+d)||(p=p.parentNode);p;p=p.parentNode)c.push(p),l=p;l===(n.ownerDocument||y)&&c.push(l.defaultView||l.parentWindow||h)}for(u=0;(p=c[u++])&&!e.isPropagationStopped();)e.type=1<u?a:s.bindType||d,(i=(w._data(p,"events")||{})[e.type]&&w._data(p,"handle"))&&i.apply(p,t),(i=o&&p[o])&&i.apply&&w.acceptData(p)&&(e.result=i.apply(p,t),!1===e.result)&&e.preventDefault();if(e.type=d,!r&&!e.isDefaultPrevented()&&(!s._default||!1===s._default.apply(c.pop(),t))&&w.acceptData(n)&&o&&n[d]&&!w.isWindow(n)){(l=n[o])&&(n[o]=null),w.event.triggered=d;try{n[d]()}catch(e){}w.event.triggered=void 0,l&&(n[o]=l)}return e.result}},dispatch:function(e){e=w.event.fix(e);var t,n,r,i,o,a=c.call(arguments),s=(w._data(this,"events")||{})[e.type]||[],l=w.event.special[e.type]||{};if((a[0]=e).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(o=w.event.handlers.call(this,e,s),t=0;(r=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,i=0;(n=r.handlers[i++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(n.namespace)||(e.handleObj=n,e.data=n.data,void 0!==(n=((w.event.special[n.origType]||{}).handle||n.handler).apply(r.elem,a))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],o=0;o<s;o++)void 0===i[n=(r=t[o]).selector+" "]&&(i[n]=r.needsContext?0<=w(n,this).index(l):w.find(n,this,null,[l]).length),i[n]&&i.push(r);i.length&&a.push({elem:l,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[w.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=he.test(i)?this.mouseHooks:pe.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new w.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=o.srcElement||y),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i=t.button,o=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=(n=e.target.ownerDocument||y).documentElement,n=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&o&&(e.relatedTarget=o===e.target?t.toElement:o),e.which||void 0===i||(e.which=1&i?1:2&i?3:4&i?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ve()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===ve()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(w.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return w.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){e=w.extend(new w.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?w.event.trigger(e,null,t):w.event.dispatch.call(t,e),e.isDefaultPrevented()&&n.preventDefault()}},w.removeEvent=y.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){t="on"+t;e.detachEvent&&(typeof e[t]==v&&(e[t]=null),e.detachEvent(t,n))},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ye:p):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||w.now(),this[w.expando]=!0},w.Event.prototype={isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ye,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ye,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ye,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){w.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||w.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),g.submitBubbles||(w.event.special.submit={setup:function(){if(w.nodeName(this,"form"))return!1;w.event.add(this,"click._submit keypress._submit",function(e){e=e.target,e=w.nodeName(e,"input")||w.nodeName(e,"button")?e.form:void 0;e&&!w._data(e,"submitBubbles")&&(w.event.add(e,"submit._submit",function(e){e._submit_bubble=!0}),w._data(e,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode)&&!e.isTrigger&&w.event.simulate("submit",this.parentNode,e,!0)},teardown:function(){if(w.nodeName(this,"form"))return!1;w.event.remove(this,"._submit")}}),g.changeBubbles||(w.event.special.change={setup:function(){if(fe.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(w.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),w.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),w.event.simulate("change",this,e,!0)})),!1;w.event.add(this,"beforeactivate._change",function(e){e=e.target;fe.test(e.nodeName)&&!w._data(e,"changeBubbles")&&(w.event.add(e,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||w.event.simulate("change",this.parentNode,e,!0)}),w._data(e,"changeBubbles",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return w.event.remove(this,"._change"),!fe.test(this.nodeName)}}),g.focusinBubbles||w.each({focus:"focusin",blur:"focusout"},function(n,r){function i(e){w.event.simulate(r,e.target,w.event.fix(e),!0)}w.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=w._data(e,r);t||e.addEventListener(n,i,!0),w._data(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=w._data(e,r)-1;t?w._data(e,r,t):(e.removeEventListener(n,i,!0),w._removeData(e,r))}}}),w.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){for(o in"string"!=typeof t&&(n=n||t,t=void 0),e)this.on(o,t,n,e[o],i);return this}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),!1===r)r=p;else if(!r)return this;return 1===i&&(a=r,(r=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),this.each(function(){w.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)r=e.handleObj,w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler);else{if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=p),this.each(function(){w.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i])}return this},trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}});var xe="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",we=/ rbjQuer\d+="(?:null|\d+)"/g,Te=new RegExp("<(?:"+xe+")[\\s/>]","i"),Ce=/^\s+/,Ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ee=/<([\w:]+)/,ke=/<tbody/i,Se=/<|&#?\w+;/,Ae=/<(?:script|style|link)/i,De=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^$|\/(?:java|ecma)script/i,Le=/^true\/(.*)/,He=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,x={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:g.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},qe=be(y).appendChild(y.createElement("div"));function C(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!=v?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!=v?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||w.nodeName(r,t)?o.push(r):w.merge(o,C(r,t));return void 0===t||t&&w.nodeName(e,t)?w.merge([e],o):o}function _e(e){ue.test(e.type)&&(e.defaultChecked=e.checked)}function Me(e,t){return w.nodeName(e,"table")&&w.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Fe(e){return e.type=(null!==w.find.attr(e,"type"))+"/"+e.type,e}function Oe(e){var t=Le.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Be(e,t){for(var n,r=0;null!=(n=e[r]);r++)w._data(n,"globalEval",!t||w._data(t[r],"globalEval"))}function Pe(e,t){if(1===t.nodeType&&w.hasData(e)){var n,r,i,e=w._data(e),o=w._data(t,e),a=e.events;if(a)for(n in delete o.handle,o.events={},a)for(r=0,i=a[n].length;r<i;r++)w.event.add(t,n,a[n][r]);o.data&&(o.data=w.extend({},o.data))}}x.optgroup=x.option,x.tbody=x.tfoot=x.colgroup=x.caption=x.thead,x.th=x.td,w.extend({clone:function(e,t,n){var r,i,o,a,s,l=w.contains(e.ownerDocument,e);if(g.html5Clone||w.isXMLDoc(e)||!Te.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(qe.innerHTML=e.outerHTML,qe.removeChild(o=qe.firstChild)),!(g.noCloneEvent&&g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(r=C(o),s=C(e),a=0;null!=(i=s[a]);++a)if(r[a]){d=c=u=p=f=void 0;var u,c,d,f=i,p=r[a];if(1===p.nodeType){if(u=p.nodeName.toLowerCase(),!g.noCloneEvent&&p[w.expando]){for(c in(d=w._data(p)).events)w.removeEvent(p,c,d.handle);p.removeAttribute(w.expando)}"script"===u&&p.text!==f.text?(Fe(p).text=f.text,Oe(p)):"object"===u?(p.parentNode&&(p.outerHTML=f.outerHTML),g.html5Clone&&f.innerHTML&&!w.trim(p.innerHTML)&&(p.innerHTML=f.innerHTML)):"input"===u&&ue.test(f.type)?(p.defaultChecked=p.checked=f.checked,p.value!==f.value&&(p.value=f.value)):"option"===u?p.defaultSelected=p.selected=f.defaultSelected:"input"!==u&&"textarea"!==u||(p.defaultValue=f.defaultValue)}}if(t)if(n)for(s=s||C(e),r=r||C(o),a=0;null!=(i=s[a]);a++)Pe(i,r[a]);else Pe(e,o);return 0<(r=C(o,"script")).length&&Be(r,!l&&C(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,l,u,c,d=e.length,f=be(t),p=[],h=0;h<d;h++)if((o=e[h])||0===o)if("object"===w.type(o))w.merge(p,o.nodeType?[o]:o);else if(Se.test(o)){for(s=s||f.appendChild(t.createElement("div")),l=(Ee.exec(o)||["",""])[1].toLowerCase(),s.innerHTML=(c=x[l]||x._default)[1]+o.replace(Ne,"<$1></$2>")+c[2],i=c[0];i--;)s=s.lastChild;if(!g.leadingWhitespace&&Ce.test(o)&&p.push(t.createTextNode(Ce.exec(o)[0])),!g.tbody)for(i=(o="table"!==l||ke.test(o)?"<table>"!==c[1]||ke.test(o)?0:s:s.firstChild)&&o.childNodes.length;i--;)w.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(w.merge(p,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=f.lastChild}else p.push(t.createTextNode(o));for(s&&f.removeChild(s),g.appendChecked||w.grep(C(p,"input"),_e),h=0;o=p[h++];)if((!r||-1===w.inArray(o,r))&&(a=w.contains(o.ownerDocument,o),s=C(f.appendChild(o),"script"),a&&Be(s),n))for(i=0;o=s[i++];)je.test(o.type||"")&&n.push(o);return s=null,f},cleanData:function(e,t){for(var n,r,i,o,a=0,s=w.expando,l=w.cache,u=g.deleteExpando,c=w.event.special;null!=(n=e[a]);a++)if((t||w.acceptData(n))&&(o=(i=n[s])&&l[i])){if(o.events)for(r in o.events)c[r]?w.event.remove(n,r):w.removeEvent(n,r,o.handle);l[i]&&(delete l[i],u?delete n[s]:typeof n.removeAttribute!=v?n.removeAttribute(s):n[s]=null,d.push(i))}}}),w.fn.extend({text:function(e){return l(this,function(e){return void 0===e?w.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=Me(this,e)).insertBefore(e,t.firstChild)})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?w.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||w.cleanData(C(n)),n.parentNode&&(t&&w.contains(n.ownerDocument,n)&&Be(C(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&w.cleanData(C(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&w.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return l(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(we,""):void 0;if("string"==typeof e&&!Ae.test(e)&&(g.htmlSerialize||!Te.test(e))&&(g.leadingWhitespace||!Ce.test(e))&&!x[(Ee.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Ne,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(C(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,w.cleanData(C(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(n,r){n=B.apply([],n);var e,t,i,o,a,s,l=0,u=this.length,c=this,d=u-1,f=n[0],p=w.isFunction(f);if(p||1<u&&"string"==typeof f&&!g.checkClone&&De.test(f))return this.each(function(e){var t=c.eq(e);p&&(n[0]=f.call(this,e,t.html())),t.domManip(n,r)});if(u&&(e=(s=w.buildFragment(n,this[0].ownerDocument,!1,this)).firstChild,1===s.childNodes.length&&(s=e),e)){for(i=(o=w.map(C(s,"script"),Fe)).length;l<u;l++)t=s,l!==d&&(t=w.clone(t,!0,!0),i)&&w.merge(o,C(t,"script")),r.call(this[l],t,l);if(i)for(a=o[o.length-1].ownerDocument,w.map(o,Oe),l=0;l<i;l++)t=o[l],je.test(t.type||"")&&!w._data(t,"globalEval")&&w.contains(a,t)&&(t.src?w._evalUrl&&w._evalUrl(t.src):w.globalEval((t.text||t.textContent||t.innerHTML||"").replace(He,"")));s=null}return this}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){w.fn[e]=function(e){for(var t,n=0,r=[],i=w(e),o=i.length-1;n<=o;n++)t=n===o?this:this.clone(!0),w(i[n])[a](t),P.apply(r,t.get());return this.pushStack(r)}});var Re,N,We={};function $e(e,t){e=w(t.createElement(e)).appendTo(t.body),t=h.getDefaultComputedStyle&&(t=h.getDefaultComputedStyle(e[0]))?t.display:w.css(e[0],"display");return e.detach(),t}function ze(e){var t=y,n=We[e];return n||("none"!==(n=$e(e,t))&&n||((t=((Re=(Re||w("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||Re[0].contentDocument).document).write(),t.close(),n=$e(e,t),Re.detach()),We[e]=n),n}g.shrinkWrapBlocks=function(){var e,t,n;return null!=N?N:(N=!1,(t=y.getElementsByTagName("body")[0])&&t.style?(e=y.createElement("div"),(n=y.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),typeof e.style.zoom!=v&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(y.createElement("div")).style.width="5px",N=3!==e.offsetWidth),t.removeChild(n),N):void 0)};var E,k,Ie,Xe,Ue,Ve,Je=/^margin/,Ye=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),Ge=/^(top|right|bottom|left)$/;function Qe(t,n){return{get:function(){var e=t();if(null!=e){if(!e)return(this.get=n).apply(this,arguments);delete this.get}}}}function Ke(){var e,t,n,r=y.getElementsByTagName("body")[0];r&&r.style&&(e=y.createElement("div"),(t=y.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",r.appendChild(t).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",Ie=Xe=!1,Ve=!0,h.getComputedStyle&&(Ie="1%"!==(h.getComputedStyle(e,null)||{}).top,Xe="4px"===(h.getComputedStyle(e,null)||{width:"4px"}).width,(n=e.appendChild(y.createElement("div"))).style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",e.style.width="1px",Ve=!parseFloat((h.getComputedStyle(n,null)||{}).marginRight),e.removeChild(n)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(n=e.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(Ue=0===n[0].offsetHeight)&&(n[0].style.display="",n[1].style.display="none",Ue=0===n[0].offsetHeight),r.removeChild(t))}h.getComputedStyle?(E=function(e){return(e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView:h).getComputedStyle(e,null)},k=function(e,t,n){var r,i=e.style,o=(n=n||E(e))?n.getPropertyValue(t)||n[t]:void 0;return n&&(""!==o||w.contains(e.ownerDocument,e)||(o=w.style(e,t)),Ye.test(o))&&Je.test(t)&&(e=i.width,t=i.minWidth,r=i.maxWidth,i.minWidth=i.maxWidth=i.width=o,o=n.width,i.width=e,i.minWidth=t,i.maxWidth=r),void 0===o?o:o+""}):y.documentElement.currentStyle&&(E=function(e){return e.currentStyle},k=function(e,t,n){var r,i,o,a=e.style;return null==(n=(n=n||E(e))?n[t]:void 0)&&a&&a[t]&&(n=a[t]),Ye.test(n)&&!Ge.test(t)&&(r=a.left,(o=(i=e.runtimeStyle)&&i.left)&&(i.left=e.currentStyle.left),a.left="fontSize"===t?"1em":n,n=a.pixelLeft+"px",a.left=r,o)&&(i.left=o),void 0===n?n:n+""||"auto"}),(o=y.createElement("div")).innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",(u=(u=o.getElementsByTagName("a")[0])&&u.style)&&(u.cssText="float:left;opacity:.5",g.opacity="0.5"===u.opacity,g.cssFloat=!!u.cssFloat,o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===o.style.backgroundClip,g.boxSizing=""===u.boxSizing||""===u.MozBoxSizing||""===u.WebkitBoxSizing,w.extend(g,{reliableHiddenOffsets:function(){return null==Ue&&Ke(),Ue},boxSizingReliable:function(){return null==Xe&&Ke(),Xe},pixelPosition:function(){return null==Ie&&Ke(),Ie},reliableMarginRight:function(){return null==Ve&&Ke(),Ve}})),w.swap=function(e,t,n,r){var i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in n=n.apply(e,r||[]),t)e.style[i]=o[i];return n};var Ze=/alpha\([^)]*\)/i,et=/opacity\s*=\s*([^)]*)/,tt=/^(none|table(?!-c[ea]).+)/,nt=new RegExp("^("+e+")(.*)$","i"),rt=new RegExp("^([+-])=("+e+")","i"),it={position:"absolute",visibility:"hidden",display:"block"},ot={letterSpacing:"0",fontWeight:"400"},at=["Webkit","O","Moz","ms"];function st(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=at.length;i--;)if((t=at[i]+n)in e)return t;return r}function lt(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)(r=e[a]).style&&(o[a]=w._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&b(r)&&(o[a]=w._data(r,"olddisplay",ze(r.nodeName)))):(i=b(r),(n&&"none"!==n||!i)&&w._data(r,"olddisplay",i?n:w.css(r,"display"))));for(a=0;a<s;a++)!(r=e[a]).style||t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none");return e}function ut(e,t,n){var r=nt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function ct(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=w.css(e,n+s[o],!0,i)),r?("content"===n&&(a-=w.css(e,"padding"+s[o],!0,i)),"margin"!==n&&(a-=w.css(e,"border"+s[o]+"Width",!0,i))):(a+=w.css(e,"padding"+s[o],!0,i),"padding"!==n&&(a+=w.css(e,"border"+s[o]+"Width",!0,i)));return a}function dt(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=E(e),a=g.boxSizing&&"border-box"===w.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=k(e,t,o))<0||null==i)&&(i=e.style[t]),Ye.test(i))return i;r=a&&(g.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+ct(e,t,n||(a?"border":"content"),r,o)+"px"}function S(e,t,n,r,i){return new S.prototype.init(e,t,n,r,i)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=k(e,"opacity"))?"1":t}}},cssNumber:{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:{float:g.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=w.camelCase(t),l=e.style;if(t=w.cssProps[s]||(w.cssProps[s]=st(l,s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];if("string"===(o=typeof n)&&(i=rt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(w.css(e,t)),o="number"),null!=n&&n==n&&("number"!==o||w.cssNumber[s]||(n+="px"),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{l[t]=n}catch(e){}}},css:function(e,t,n,r){var i,o=w.camelCase(t);return t=w.cssProps[o]||(w.cssProps[o]=st(e.style,o)),"normal"===(i=void 0===(i=(o=w.cssHooks[t]||w.cssHooks[o])&&"get"in o?o.get(e,!0,n):i)?k(e,t,r):i)&&t in ot&&(i=ot[t]),(""===n||n)&&(o=parseFloat(i),!0===n||w.isNumeric(o))?o||0:i}}),w.each(["height","width"],function(e,i){w.cssHooks[i]={get:function(e,t,n){if(t)return tt.test(w.css(e,"display"))&&0===e.offsetWidth?w.swap(e,it,function(){return dt(e,i,n)}):dt(e,i,n)},set:function(e,t,n){var r=n&&E(e);return ut(0,t,n?ct(e,i,n,g.boxSizing&&"border-box"===w.css(e,"boxSizing",!1,r),r):0)}}}),g.opacity||(w.cssHooks.opacity={get:function(e,t){return et.test((t&&e.currentStyle?e.currentStyle:e.style).filter||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,e=e.currentStyle,r=w.isNumeric(t)?"alpha(opacity="+100*t+")":"",i=e&&e.filter||n.filter||"";((n.zoom=1)<=t||""===t)&&""===w.trim(i.replace(Ze,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||e&&!e.filter)||(n.filter=Ze.test(i)?i.replace(Ze,r):i+" "+r)}}),w.cssHooks.marginRight=Qe(g.reliableMarginRight,function(e,t){if(t)return w.swap(e,{display:"inline-block"},k,[e,"marginRight"])}),w.each({margin:"",padding:"",border:"Width"},function(i,o){w.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+s[t]+o]=r[t]||r[t-2]||r[0];return n}},Je.test(i)||(w.cssHooks[i+o].set=ut)}),w.fn.extend({css:function(e,t){return l(this,function(e,t,n){var r,i,o={},a=0;if(w.isArray(t)){for(r=E(e),i=t.length;a<i;a++)o[t[a]]=w.css(e,t[a],!1,r);return o}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,1<arguments.length)},show:function(){return lt(this,!0)},hide:function(){return lt(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){b(this)?w(this).show():w(this).hide()})}}),((w.Tween=S).prototype={constructor:S,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=S.propHooks[this.prop];return(e&&e.get?e:S.propHooks._default).get(this)},run:function(e){var t,n=S.propHooks[this.prop];return this.options.duration?this.pos=t=w.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:S.propHooks._default).set(this),this}}).init.prototype=S.prototype,(S.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[w.cssProps[e.prop]]||w.cssHooks[e.prop])?w.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}}).scrollTop=S.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},w.fx=S.prototype.init,w.fx.step={};var A,ft,D,pt=/^(?:toggle|show|hide)$/,ht=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),mt=/queueHooks$/,gt=[function(t,e,n){var r,i,o,a,s,l,u,c=this,d={},f=t.style,p=t.nodeType&&b(t),h=w._data(t,"fxshow");n.queue||(null==(s=w._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,c.always(function(){c.always(function(){s.unqueued--,w.queue(t,"fx").length||s.empty.fire()})}));1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],u=w.css(t,"display"),"inline"===("none"===u?w._data(t,"olddisplay")||ze(t.nodeName):u))&&"none"===w.css(t,"float")&&(g.inlineBlockNeedsLayout&&"inline"!==ze(t.nodeName)?f.zoom=1:f.display="inline-block");n.overflow&&(f.overflow="hidden",g.shrinkWrapBlocks()||c.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(r in e)if(i=e[r],pt.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(p?"hide":"show")){if("show"!==i||!h||void 0===h[r])continue;p=!0}d[r]=h&&h[r]||w.style(t,r)}else u=void 0;if(w.isEmptyObject(d))"inline"===("none"===u?ze(t.nodeName):u)&&(f.display=u);else for(r in h?"hidden"in h&&(p=h.hidden):h=w._data(t,"fxshow",{}),o&&(h.hidden=!p),p?w(t).show():c.done(function(){w(t).hide()}),c.done(function(){for(var e in w._removeData(t,"fxshow"),d)w.style(t,e,d[e])}),d)a=bt(p?h[r]:0,r,c),r in h||(h[r]=a.start,p&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}],j={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),t=ht.exec(t),i=t&&t[3]||(w.cssNumber[e]?"":"px"),o=(w.cssNumber[e]||"px"!==i&&+r)&&ht.exec(w.css(n.elem,e)),a=1,s=20;if(o&&o[3]!==i)for(i=i||o[3],t=t||[],o=+r||1;o/=a=a||".5",w.style(n.elem,e,o+i),a!==(a=n.cur()/r)&&1!==a&&--s;);return t&&(o=n.start=+o||+r||0,n.unit=i,n.end=t[1]?o+(t[1]+1)*t[2]:+t[2]),n}]};function yt(){return setTimeout(function(){A=void 0}),A=w.now()}function vt(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=s[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function bt(e,t,n){for(var r,i=(j[t]||[]).concat(j["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function xt(i,e,t){var n,o,r,a,s,l,u,c=0,d=gt.length,f=w.Deferred().always(function(){delete p.elem}),p=function(){if(o)return!1;for(var e=A||yt(),e=Math.max(0,h.startTime+h.duration-e),t=1-(e/h.duration||0),n=0,r=h.tweens.length;n<r;n++)h.tweens[n].run(t);return f.notifyWith(i,[h,t,e]),t<1&&r?e:(f.resolveWith(i,[h]),!1)},h=f.promise({elem:i,props:w.extend({},e),opts:w.extend(!0,{specialEasing:{}},t),originalProperties:e,originalOptions:t,startTime:A||yt(),duration:t.duration,tweens:[],createTween:function(e,t){t=w.Tween(i,h.opts,e,t,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(t),t},stop:function(e){var t=0,n=e?h.tweens.length:0;if(!o){for(o=!0;t<n;t++)h.tweens[t].run(1);e?f.resolveWith(i,[h,e]):f.rejectWith(i,[h,e])}return this}}),m=h.props,g=m,y=h.opts.specialEasing;for(r in g)if(s=y[a=w.camelCase(r)],l=g[r],w.isArray(l)&&(s=l[1],l=g[r]=l[0]),r!==a&&(g[a]=l,delete g[r]),(u=w.cssHooks[a])&&"expand"in u)for(r in l=u.expand(l),delete g[a],l)r in g||(g[r]=l[r],y[r]=s);else y[a]=s;for(;c<d;c++)if(n=gt[c].call(h,i,m,h.opts))return n;return w.map(m,bt,h),w.isFunction(h.opts.start)&&h.opts.start.call(i,h),w.fx.timer(w.extend(p,{elem:i,anim:h,queue:h.opts.queue})),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always)}w.Animation=w.extend(xt,{tweener:function(e,t){for(var n,r=0,i=(e=w.isFunction(e)?(t=e,["*"]):e.split(" ")).length;r<i;r++)n=e[r],j[n]=j[n]||[],j[n].unshift(t)},prefilter:function(e,t){t?gt.unshift(e):gt.push(e)}}),w.speed=function(e,t,n){var r=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||w.isFunction(e)&&e,duration:e,easing:n&&t||t&&!w.isFunction(t)&&t};return r.duration=w.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in w.fx.speeds?w.fx.speeds[r.duration]:w.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){w.isFunction(r.old)&&r.old.call(this),r.queue&&w.dequeue(this,r.queue)},r},w.fn.extend({fadeTo:function(e,t,n,r){return this.filter(b).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){function i(){var e=xt(this,w.extend({},t),a);(o||w._data(this,"finish"))&&e.stop(!0)}var o=w.isEmptyObject(t),a=w.speed(e,n,r);return i.finish=i,o||!1===a.queue?this.each(i):this.queue(a.queue,i)},stop:function(i,e,o){function a(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=w.timers,r=w._data(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&mt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||w.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=w._data(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=w.timers,o=n?n.length:0;for(t.finish=!0,w.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),w.each(["toggle","show","hide"],function(e,r){var i=w.fn[r];w.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(vt(r,!0),e,t,n)}}),w.each({slideDown:vt("show"),slideUp:vt("hide"),slideToggle:vt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){w.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),w.timers=[],w.fx.tick=function(){var e,t=w.timers,n=0;for(A=w.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||w.fx.stop(),A=void 0},w.fx.timer=function(e){w.timers.push(e),e()?w.fx.start():w.timers.pop()},w.fx.interval=13,w.fx.start=function(){ft=ft||setInterval(w.fx.tick,w.fx.interval)},w.fx.stop=function(){clearInterval(ft),ft=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(r,e){return r=w.fx&&w.fx.speeds[r]||r,this.queue(e=e||"fx",function(e,t){var n=setTimeout(e,r);t.stop=function(){clearTimeout(n)}})},(a=y.createElement("div")).setAttribute("className","t"),a.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",o=a.getElementsByTagName("a")[0],e=(u=y.createElement("select")).appendChild(y.createElement("option")),D=a.getElementsByTagName("input")[0],o.style.cssText="top:1px",g.getSetAttribute="t"!==a.className,g.style=/top/.test(o.getAttribute("style")),g.hrefNormalized="/a"===o.getAttribute("href"),g.checkOn=!!D.value,g.optSelected=e.selected,g.enctype=!!y.createElement("form").enctype,u.disabled=!0,g.optDisabled=!e.disabled,(D=y.createElement("input")).setAttribute("value",""),g.input=""===D.getAttribute("value"),D.value="t",D.setAttribute("type","radio"),g.radioValue="t"===D.value;var wt=/\r/g;w.fn.extend({val:function(t){var n,e,r,i=this[0];return arguments.length?(r=w.isFunction(t),this.each(function(e){1!==this.nodeType||(null==(e=r?t.call(this,e,w(this).val()):t)?e="":"number"==typeof e?e+="":w.isArray(e)&&(e=w.map(e,function(e){return null==e?"":e+""})),(n=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value"))||(this.value=e)})):i?(n=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(wt,""):null==e?"":e:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:w.trim(w.text(e))}},select:{get:function(e){for(var t,n=e.options,r=e.selectedIndex,i="select-one"===e.type||r<0,o=i?null:[],a=i?r+1:n.length,s=r<0?a:i?r:0;s<a;s++)if(((t=n[s]).selected||s===r)&&(g.optDisabled?!t.disabled:null===t.getAttribute("disabled"))&&(!t.parentNode.disabled||!w.nodeName(t.parentNode,"optgroup"))){if(t=w(t).val(),i)return t;o.push(t)}return o},set:function(e,t){for(var n,r,i=e.options,o=w.makeArray(t),a=i.length;a--;)if(r=i[a],0<=w.inArray(w.valHooks.option.get(r),o))try{r.selected=n=!0}catch(e){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(w.isArray(t))return e.checked=0<=w.inArray(w(e).val(),t)}},g.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var L,Tt,H=w.expr.attrHandle,Ct=/^(?:checked|selected)$/i,q=g.getSetAttribute,Nt=g.input,Et=(w.fn.extend({attr:function(e,t){return l(this,w.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute==v?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(t=t.toLowerCase(),r=w.attrHooks[t]||(w.expr.match.bool.test(t)?Tt:L)),void 0===n?!(r&&"get"in r&&null!==(i=r.get(e,t)))&&null==(i=w.find.attr(e,t))?void 0:i:null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):void w.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)for(;n=o[i++];)r=w.propFix[n]||n,w.expr.match.bool.test(n)?Nt&&q||!Ct.test(n)?e[r]=!1:e[w.camelCase("default-"+n)]=e[r]=!1:w.attr(e,n,""),e.removeAttribute(q?n:r)},attrHooks:{type:{set:function(e,t){var n;if(!g.radioValue&&"radio"===t&&w.nodeName(e,"input"))return n=e.value,e.setAttribute("type",t),n&&(e.value=n),t}}}}),Tt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):Nt&&q||!Ct.test(n)?e.setAttribute(!q&&w.propFix[n]||n,n):e[w.camelCase("default-"+n)]=e[n]=!0,n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var o=H[t]||w.find.attr;H[t]=Nt&&q||!Ct.test(t)?function(e,t,n){var r,i;return n||(i=H[t],H[t]=r,r=null!=o(e,t,n)?t.toLowerCase():null,H[t]=i),r}:function(e,t,n){if(!n)return e[w.camelCase("default-"+t)]?t.toLowerCase():null}}),Nt&&q||(w.attrHooks.value={set:function(e,t,n){if(!w.nodeName(e,"input"))return L&&L.set(e,t,n);e.defaultValue=t}}),q||(L={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},H.id=H.name=H.coords=function(e,t,n){if(!n)return(n=e.getAttributeNode(t))&&""!==n.value?n.value:null},w.valHooks.button={get:function(e,t){e=e.getAttributeNode(t);if(e&&e.specified)return e.value},set:L.set},w.attrHooks.contenteditable={set:function(e,t,n){L.set(e,""!==t&&t,n)}},w.each(["width","height"],function(e,n){w.attrHooks[n]={set:function(e,t){if(""===t)return e.setAttribute(n,"auto"),t}}})),g.style||(w.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}}),/^(?:input|select|textarea|button|object)$/i),kt=/^(?:a|area)$/i,St=(w.fn.extend({prop:function(e,t){return l(this,w.prop,e,t,1<arguments.length)},removeProp:function(e){return e=w.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),w.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!w.isXMLDoc(e))&&(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):Et.test(e.nodeName)||kt.test(e.nodeName)&&e.href?0:-1}}}}),g.hrefNormalized||w.each(["href","src"],function(e,t){w.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),g.optSelected||(w.propHooks.selected={get:function(e){e=e.parentNode;return e&&(e.selectedIndex,e.parentNode)&&e.parentNode.selectedIndex,null}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),g.enctype||(w.propFix.enctype="encoding"),/[\t\r\n\f]/g),At=(w.fn.extend({addClass:function(t){var e,n,r,i,o,a,s=0,l=this.length,u="string"==typeof t&&t;if(w.isFunction(t))return this.each(function(e){w(this).addClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(T)||[];s<l;s++)if(r=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(St," "):" ")){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=w.trim(r),n.className!==a&&(n.className=a)}return this},removeClass:function(t){var e,n,r,i,o,a,s=0,l=this.length,u=0===arguments.length||"string"==typeof t&&t;if(w.isFunction(t))return this.each(function(e){w(this).removeClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(T)||[];s<l;s++)if(r=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(St," "):"")){for(o=0;i=e[o++];)for(;0<=r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");a=t?w.trim(r):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(i,t){var o=typeof i;return"boolean"==typeof t&&"string"==o?t?this.addClass(i):this.removeClass(i):w.isFunction(i)?this.each(function(e){w(this).toggleClass(i.call(this,e,this.className,t),t)}):this.each(function(){if("string"==o)for(var e,t=0,n=w(this),r=i.match(T)||[];e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else o!=v&&"boolean"!=o||(this.className&&w._data(this,"__className__",this.className),this.className=!this.className&&!1!==i&&w._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(St," ").indexOf(t))return!0;return!1}}),w.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){w.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),w.now()),Dt=/\?/,jt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;w.parseJSON=function(e){var i,o,t;return h.JSON&&h.JSON.parse?h.JSON.parse(e+""):(o=null,(t=w.trim(e+""))&&!w.trim(t.replace(jt,function(e,t,n,r){return 0===(o=i&&t?0:o)?e:(i=n||t,o+=!r-!n,"")}))?Function("return "+t)():w.error("Invalid JSON: "+e))},w.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{h.DOMParser?t=(new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(e){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+e),t};var _,M,Lt=/#.*$/,Ht=/([?&])_=[^&]*/,qt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,_t=/^(?:GET|HEAD)$/,Mt=/^\/\//,Ft=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ot={},Bt={},Pt="*/".concat("*");try{M=location.href}catch(e){(M=y.createElement("a")).href="",M=M.href}function Rt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(T)||[];if(w.isFunction(t))for(;n=i[r++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Wt(t,r,i,o){var a={},s=t===Bt;function l(e){var n;return a[e]=!0,w.each(t[e]||[],function(e,t){t=t(r,i,o);return"string"!=typeof t||s||a[t]?s?!(n=t):void 0:(r.dataTypes.unshift(t),l(t),!1)}),n}return l(r.dataTypes[0])||!a["*"]&&l("*")}function $t(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n=n||{})[r]=t[r]);return n&&w.extend(!0,e,n),e}_=Ft.exec(M.toLowerCase())||[],w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:M,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(_[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":w.parseJSON,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,w.ajaxSettings),t):$t(w.ajaxSettings,e)},ajaxPrefilter:Rt(Ot),ajaxTransport:Rt(Bt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var n,l,u,c,d,f,r,p=w.ajaxSetup({},t=t||{}),h=p.context||p,m=p.context&&(h.nodeType||h.rbjquer)?w(h):w.event,g=w.Deferred(),y=w.Callbacks("once memory"),v=p.statusCode||{},i={},o={},b=0,a="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!r)for(r={};t=qt.exec(u);)r[t[1].toLowerCase()]=t[2];t=r[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?u:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=o[n]=o[n]||e,i[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){if(e)if(b<2)for(var t in e)v[t]=[v[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){e=e||a;return f&&f.abort(e),s(0,e),this}};if(g.promise(x).complete=y.add,x.success=x.done,x.error=x.fail,p.url=((e||p.url||M)+"").replace(Lt,"").replace(Mt,_[1]+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=w.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain&&(e=Ft.exec(p.url.toLowerCase()),p.crossDomain=!(!e||e[1]===_[1]&&e[2]===_[2]&&(e[3]||("http:"===e[1]?"80":"443"))===(_[3]||("http:"===_[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=w.param(p.data,p.traditional)),Wt(Ot,p,t,x),2!==b){for(n in(d=w.event&&p.global)&&0==w.active++&&w.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!_t.test(p.type),l=p.url,p.hasContent||(p.data&&(l=p.url+=(Dt.test(l)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=Ht.test(l)?l.replace(Ht,"$1_="+At++):l+(Dt.test(l)?"&":"?")+"_="+At++)),p.ifModified&&(w.lastModified[l]&&x.setRequestHeader("If-Modified-Since",w.lastModified[l]),w.etag[l])&&x.setRequestHeader("If-None-Match",w.etag[l]),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&x.setRequestHeader("Content-Type",p.contentType),x.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Pt+"; q=0.01":""):p.accepts["*"]),p.headers)x.setRequestHeader(n,p.headers[n]);if(p.beforeSend&&(!1===p.beforeSend.call(h,x,p)||2===b))return x.abort();for(n in a="abort",{success:1,error:1,complete:1})x[n](p[n]);if(f=Wt(Bt,p,t,x)){x.readyState=1,d&&m.trigger("ajaxSend",[x,p]),p.async&&0<p.timeout&&(c=setTimeout(function(){x.abort("timeout")},p.timeout));try{b=1,f.send(i,s)}catch(e){if(!(b<2))throw e;s(-1,e)}}else s(-1,"No Transport")}return x;function s(e,t,n,r){var i,o,a,s=t;2!==b&&(b=2,c&&clearTimeout(c),f=void 0,u=r||"",x.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(a=((e,t,n)=>{for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}r=r||a}o=o||r}if(o)return o!==l[0]&&l.unshift(o),n[o]})(p,x,n)),a=((e,t,n,r)=>{var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}})(p,a,x,r),r?(p.ifModified&&((n=x.getResponseHeader("Last-Modified"))&&(w.lastModified[l]=n),n=x.getResponseHeader("etag"))&&(w.etag[l]=n),204===e||"HEAD"===p.type?s="nocontent":304===e?s="notmodified":(s=a.state,i=a.data,r=!(o=a.error))):(o=s,!e&&s||(s="error",e<0&&(e=0))),x.status=e,x.statusText=(t||s)+"",r?g.resolveWith(h,[i,s,x]):g.rejectWith(h,[x,s,o]),x.statusCode(v),v=void 0,d&&m.trigger(r?"ajaxSuccess":"ajaxError",[x,p,r?i:o]),y.fireWith(h,[x,s]),d)&&(m.trigger("ajaxComplete",[x,p]),--w.active||w.event.trigger("ajaxStop"))}},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,i){w[i]=function(e,t,n,r){return w.isFunction(t)&&(r=r||n,n=t,t=void 0),w.ajax({url:e,type:i,dataType:r,data:t,success:n})}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},w.fn.extend({wrapAll:function(t){var e;return w.isFunction(t)?this.each(function(e){w(this).wrapAll(t.call(this,e))}):(this[0]&&(e=w(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)),this)},wrapInner:function(n){return w.isFunction(n)?this.each(function(e){w(this).wrapInner(n.call(this,e))}):this.each(function(){var e=w(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=w.isFunction(t);return this.each(function(e){w(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){w.nodeName(this,"body")||w(this).replaceWith(this.childNodes)}).end()}}),w.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!g.reliableHiddenOffsets()&&"none"===(e.style&&e.style.display||w.css(e,"display"))},w.expr.filters.visible=function(e){return!w.expr.filters.hidden(e)};var zt=/%20/g,It=/\[\]$/,Xt=/\r?\n/g,Ut=/^(?:submit|button|image|reset|file)$/i,Vt=/^(?:input|select|textarea|keygen)/i;w.param=function(e,t){function n(e,t){t=w.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var r,i=[];if(void 0===t&&(t=w.ajaxSettings&&w.ajaxSettings.traditional),w.isArray(e)||e.rbjquer&&!w.isPlainObject(e))w.each(e,function(){n(this.name,this.value)});else for(r in e)!function n(r,e,i,o){if(w.isArray(e))w.each(e,function(e,t){i||It.test(r)?o(r,t):n(r+"["+("object"==typeof t?e:"")+"]",t,i,o)});else if(i||"object"!==w.type(e))o(r,e);else for(var t in e)n(r+"["+t+"]",e[t],i,o)}(r,e[r],t,n);return i.join("&").replace(zt,"+")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&Vt.test(this.nodeName)&&!Ut.test(e)&&(this.checked||!ue.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:w.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Xt,"\r\n")}}):{name:t.name,value:n.replace(Xt,"\r\n")}}).get()}}),w.ajaxSettings.xhr=void 0!==h.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Gt()||(()=>{try{return new h.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}})()}:Gt;var Jt=0,Yt={},a=w.ajaxSettings.xhr();function Gt(){try{return new h.XMLHttpRequest}catch(e){}}h.attachEvent&&h.attachEvent("onunload",function(){for(var e in Yt)Yt[e](void 0,!0)}),g.cors=!!a&&"withCredentials"in a,(g.ajax=!!a)&&w.ajaxTransport(function(l){var u;if(!l.crossDomain||g.cors)return{send:function(e,o){var t,a=l.xhr(),s=++Jt;if(a.open(l.type,l.url,l.async,l.username,l.password),l.xhrFields)for(t in l.xhrFields)a[t]=l.xhrFields[t];for(t in l.mimeType&&a.overrideMimeType&&a.overrideMimeType(l.mimeType),l.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)void 0!==e[t]&&a.setRequestHeader(t,e[t]+"");a.send(l.hasContent&&l.data||null),u=function(e,t){var n,r,i;if(u&&(t||4===a.readyState))if(delete Yt[s],u=void 0,a.onreadystatechange=w.noop,t)4!==a.readyState&&a.abort();else{i={},n=a.status,"string"==typeof a.responseText&&(i.text=a.responseText);try{r=a.statusText}catch(e){r=""}n||!l.isLocal||l.crossDomain?1223===n&&(n=204):n=i.text?200:404}i&&o(n,r,i,a.getAllResponseHeaders())},l.async?4===a.readyState?setTimeout(u):a.onreadystatechange=Yt[s]=u:u()},abort:function(){u&&u(void 0,!0)}}}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),w.ajaxTransport("script",function(t){var r,i;if(t.crossDomain)return i=y.head||w("head")[0]||y.documentElement,{send:function(e,n){(r=y.createElement("script")).async=!0,t.scriptCharset&&(r.charset=t.scriptCharset),r.src=t.url,r.onload=r.onreadystatechange=function(e,t){!t&&r.readyState&&!/loaded|complete/.test(r.readyState)||(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),r=null,t)||n(200,"success")},i.insertBefore(r,i.firstChild)},abort:function(){r&&r.onload(void 0,!0)}}});var Qt=[],Kt=/(=)\?(?=&|$)|\?\?/,Zt=(w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Qt.pop()||w.expando+"_"+At++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Kt.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=w.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Kt,"$1"+r):!1!==e.jsonp&&(e.url+=(Dt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||w.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=h[r],h[r]=function(){o=arguments},n.always(function(){h[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Qt.push(r)),o&&w.isFunction(i)&&i(o[0]),o=i=void 0}),"script"}),w.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||y;var r=V.exec(e),n=!n&&[];return r?[t.createElement(r[1])]:(r=w.buildFragment([e],t,n),n&&n.length&&w(n).remove(),w.merge([],r.childNodes))},w.fn.load),en=(w.fn.load=function(e,t,n){var r,i,o,a,s;return"string"!=typeof e&&Zt?Zt.apply(this,arguments):(a=this,0<=(s=e.indexOf(" "))&&(r=w.trim(e.slice(s,e.length)),e=e.slice(0,s)),w.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<a.length&&w.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?w("<div>").append(w.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this)},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.filters.animated=function(t){return w.grep(w.timers,function(e){return t===e.elem}).length},h.document.documentElement);function tn(e){return w.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}w.offset={setOffset:function(e,t,n){var r,i,o,a,s=w.css(e,"position"),l=w(e),u={};"static"===s&&(e.style.position="relative"),o=l.offset(),r=w.css(e,"top"),a=w.css(e,"left"),s=("absolute"===s||"fixed"===s)&&-1<w.inArray("auto",[r,a])?(i=(s=l.position()).top,s.left):(i=parseFloat(r)||0,parseFloat(a)||0),null!=(t=w.isFunction(t)?t.call(e,n,o):t).top&&(u.top=t.top-o.top+i),null!=t.left&&(u.left=t.left-o.left+s),"using"in t?t.using.call(e,u):l.css(u)}},w.fn.extend({offset:function(t){var e,n,r,i;return arguments.length?void 0===t?this:this.each(function(e){w.offset.setOffset(this,t,e)}):(n={top:0,left:0},(i=(r=this[0])&&r.ownerDocument)?(e=i.documentElement,w.contains(e,r)?(typeof r.getBoundingClientRect!=v&&(n=r.getBoundingClientRect()),r=tn(i),{top:n.top+(r.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(r.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):n):void 0)},position:function(){var e,t,n,r;if(this[0])return n={top:0,left:0},r=this[0],"fixed"===w.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),(n=w.nodeName(e[0],"html")?n:e.offset()).top+=w.css(e[0],"borderTopWidth",!0),n.left+=w.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-w.css(r,"marginTop",!0),left:t.left-n.left-w.css(r,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||en;e&&!w.nodeName(e,"html")&&"static"===w.css(e,"position");)e=e.offsetParent;return e||en})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o=/Y/.test(i);w.fn[t]=function(e){return l(this,function(e,t,n){var r=tn(e);if(void 0===n)return r?i in r?r[i]:r.document.documentElement[t]:e[t];r?r.scrollTo(o?w(r).scrollLeft():n,o?n:w(r).scrollTop()):e[t]=n},t,e,arguments.length,null)}}),w.each(["top","left"],function(e,n){w.cssHooks[n]=Qe(g.pixelPosition,function(e,t){if(t)return t=k(e,n),Ye.test(t)?w(e).position()[n]+"px":t})}),w.each({Height:"height",Width:"width"},function(o,a){w.each({padding:"inner"+o,content:a,"":"outer"+o},function(r,e){w.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return l(this,function(e,t,n){var r;return w.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):void 0===n?w.css(e,t,i):w.style(e,t,n,i)},a,n?e:void 0,n,null)}})}),w.fn.size=function(){return this.length},w.fn.andSelf=w.fn.addBack,"function"==typeof define&&define.amd&&define("rbjquer",[],function(){return w});var nn=h.rbjQuer,rn=h.$;return w.noConflict=function(e){return h.$===w&&(h.$=rn),e&&h.rbjQuer===w&&(h.rbjQuer=nn),w},typeof F==v&&(h.rbjQuer=h.$=w),w});
var roboEffectClass=(()=>{function t(){}return(t.prototype.constructor=t).prototype.addEffect=function(t){},t.prototype.trigger=function(t){t.settings.effectType;BaseEffect.addEffect(t)},new t})((window,window.rbjQuer||window.jQuery));
/*
*      RoboGallery Script Version: 3 BaseEffect
*      Copyright (c) 2014-2019, Robosoft. All rights reserved.
*      Available only in  https://robosoft.co/robogallery/ 
*/
var BaseEffect=((c,h)=>{function e(){}return((e.prototype=Object.create(roboEffectClass)).constructor=e).prototype.addEffect=function(p){var l,d,e,f,v;0!=p.container_settings.thumbnailOverlay&&($container=p.$container,l=p.settings,d=p.animation,(e=p.container.find(p.itemSelector+":not([data-set-overlay-for-hover-effect])").attr("data-set-overlay-for-hover-effect","yes")).find(".thumbnail-overlay").wrapInner("<div class='aligment'><div class='aligment'></div></div>"),e.each(function(){var e,t,o,a,r=c(this),s=r.find(p.boxImageSelector),i=p.container_settings.overlayEffect;"push-up"==(i=s.data("overlay-effect")!=h?s.data("overlay-effect"):i)||"push-down"==i||"push-up-100%"==i||"push-down-100%"==i?(e=s.find(".rbs-img-thumbnail-container"),a=s.find(".thumbnail-overlay").css("position","relative"),"push-up-100%"!=i&&"push-down-100%"!=i||a.outerHeight(e.outerHeight(!1)),e=a.outerHeight(!1),t=c('<div class="wrapper-for-some-effects"></div>'),"push-up"==i||"push-up-100%"==i?a.appendTo(s):"push-down"!=i&&"push-down-100%"!=i||(a.prependTo(s),t.css("margin-top",-e)),s.wrapInner(t)):"reveal-top"==i||"reveal-top-100%"==i?(r.addClass("position-reveal-effect"),o=r.find(".thumbnail-overlay").css("top",0),"reveal-top-100%"==i&&o.css("height","100%")):"reveal-bottom"==i||"reveal-bottom-100%"==i?(r.addClass("position-reveal-effect").addClass("position-bottom-reveal-effect"),o=r.find(".thumbnail-overlay").css("bottom",0),"reveal-bottom-100%"==i&&o.css("height","100%")):"direction"==i.substr(0,9)?r.find(".thumbnail-overlay").css("height","100%"):"fade"==i&&((a=r.find(".thumbnail-overlay").hide()).css({height:"100%",top:"0",left:"0"}),a.find(".fa").css({scale:1.4}))}),$container.on("mouseenter.hoverdir, mouseleave.hoverdir",p.boxImageSelector,function(e){var t,o,a,r,s,i,n;0!=l.thumbnailOverlay&&(t=c(this),o=l.overlayEffect,t.data("overlay-effect")!=h&&(o=t.data("overlay-effect")),a=e.type,n=t.find(".rbs-img-thumbnail-container"),i=(r=t.find(".thumbnail-overlay")).outerHeight(!1),"push-up"==o||"push-up-100%"==o?(s=t.find("div.wrapper-for-some-effects"),"mouseenter"===a?s.stop().show()[d]({"margin-top":-i},l.overlaySpeed,l.overlayEasing):s.stop()[d]({"margin-top":0},l.overlaySpeed,l.overlayEasing)):"push-down"==o||"push-down-100%"==o?(s=t.find("div.wrapper-for-some-effects"),"mouseenter"===a?s.stop().show()[d]({"margin-top":0},l.overlaySpeed,l.overlayEasing):s.stop()[d]({"margin-top":-i},l.overlaySpeed,l.overlayEasing)):"reveal-top"==o||"reveal-top-100%"==o?"mouseenter"===a?n.stop().show()[d]({"margin-top":i},l.overlaySpeed,l.overlayEasing):n.stop()[d]({"margin-top":0},l.overlaySpeed,l.overlayEasing):"reveal-bottom"==o||"reveal-bottom-100%"==o?"mouseenter"===a?n.stop().show()[d]({"margin-top":-i},l.overlaySpeed,l.overlayEasing):n.stop()[d]({"margin-top":0},l.overlaySpeed,l.overlayEasing):"direction"==o.substr(0,9)?(s=f(t,{x:e.pageX,y:e.pageY}),"direction-top"==o?s=0:"direction-bottom"==o?s=2:"direction-right"==o?s=1:"direction-left"==o&&(s=3),i=v(s,t),"mouseenter"==a?(r.css({left:i.from,top:i.to}),r.stop().show().fadeTo(0,1,function(){c(this).stop()[p.animation]({left:0,top:0},l.overlaySpeed,l.overlayEasing)})):"direction-aware-fade"==o?r.fadeOut(700):r.stop()[d]({left:i.from,top:i.to},l.overlaySpeed,l.overlayEasing)):"fade"==o&&("mouseenter"==a?(r.stop().fadeOut(0),r.stop().fadeIn(l.overlaySpeed)):(r.stop().fadeIn(0),r.stop().fadeOut(l.overlaySpeed)),n=r.find(".fa"),"mouseenter"==a?(n.css({scale:1.4}),n[d]({scale:1},200)):(n.css({scale:1}),n[d]({scale:1.4},200))))}),f=function(e,t){var o=e.width(),a=e.height(),r=(t.x-e.offset().left-o/2)*(a<o?a/o:1),t=(t.y-e.offset().top-a/2)*(o<a?o/a:1);return Math.round((Math.atan2(t,r)*(180/Math.PI)+180)/90+3)%4},v=function(e,t){var o,a;switch(e){case 0:a=(l.reverse,o=0,-t.height());break;case 1:a=(o=l.reverse?-t.width():t.width(),0);break;case 2:a=l.reverse?(o=0,-t.height()):(o=0,t.height());break;case 3:a=(o=l.reverse?t.width():-t.width(),0)}return{from:o,to:a}})},new e})((window,window.rbjQuer||window.jQuery));
/*!
 * eventie v1.0.5
 * event binding helper
 *   eventie.bind( elem, 'click', myFn )
 *   eventie.unbind( elem, 'click', myFn )
 * MIT license
 */

(function(e){function n(){}function r(e){function r(t){if(t.prototype.option){return}t.prototype.option=function(t){if(!e.isPlainObject(t)){return}this.options=e.extend(true,this.options,t)}}function s(n,r){e.fn[n]=function(s){if(typeof s==="string"){var o=t.call(arguments,1);for(var u=0,a=this.length;u<a;u++){var f=this[u];var l=e.data(f,n);if(!l){i("cannot call methods on "+n+" prior to initialization; "+"attempted to call '"+s+"'");continue}if(!e.isFunction(l[s])||s.charAt(0)==="_"){i("no such method '"+s+"' for "+n+" instance");continue}var c=l[s].apply(l,o);if(c!==undefined){return c}}return this}else{return this.each(function(){var t=e.data(this,n);if(t){t.option(s);t._init()}else{t=new r(this,s);e.data(this,n,t)}})}}}if(!e){return}var i=typeof console==="undefined"?n:function(e){console.error(e)};e.bridget=function(e,t){r(t);s(e,t)};return e.bridget}var t=Array.prototype.slice;if(typeof define==="function"&&define.amd){define("rbjquer-bridget/rbjquer.bridget",["rbjquer"],r)}else{r(e.rbjQuer)}})(window);(function(e){function r(t){var n=e.event;n.target=n.target||n.srcElement||t;return n}var t=document.documentElement;var n=function(){};if(t.addEventListener){n=function(e,t,n){e.addEventListener(t,n,false)}}else if(t.attachEvent){n=function(e,t,n){e[t+n]=n.handleEvent?function(){var t=r(e);n.handleEvent.call(n,t)}:function(){var t=r(e);n.call(e,t)};e.attachEvent("on"+t,e[t+n])}}var i=function(){};if(t.removeEventListener){i=function(e,t,n){e.removeEventListener(t,n,false)}}else if(t.detachEvent){i=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(r){e[t+n]=undefined}}}var s={bind:n,unbind:i};if(typeof define==="function"&&define.amd){define("eventie/eventie",s)}else if(typeof exports==="object"){module.exports=s}else{e.eventie=s}})(this);(function(e){function r(e){if(typeof e!=="function"){return}if(r.isReady){e()}else{n.push(e)}}function i(e){var i=e.type==="readystatechange"&&t.readyState!=="complete";if(r.isReady||i){return}r.isReady=true;for(var s=0,o=n.length;s<o;s++){var u=n[s];u()}}function s(n){n.bind(t,"DOMContentLoaded",i);n.bind(t,"readystatechange",i);n.bind(e,"load",i);return r}var t=e.document;var n=[];r.isReady=false;if(typeof define==="function"&&define.amd){r.isReady=typeof requirejs==="function";define("doc-ready/doc-ready",["eventie/eventie"],s)}else{e.docReady=s(e.eventie)}})(this);(function(){function e(){}function i(e,t){var n=e.length;while(n--){if(e[n].listener===t){return n}}return-1}function s(e){return function(){return this[e].apply(this,arguments)}}var t=e.prototype;var n=this;var r=n.EventEmitter;t.getListeners=function(t){var n=this._getEvents();var r;var i;if(t instanceof RegExp){r={};for(i in n){if(n.hasOwnProperty(i)&&t.test(i)){r[i]=n[i]}}}else{r=n[t]||(n[t]=[])}return r};t.flattenListeners=function(t){var n=[];var r;for(r=0;r<t.length;r+=1){n.push(t[r].listener)}return n};t.getListenersAsObject=function(t){var n=this.getListeners(t);var r;if(n instanceof Array){r={};r[t]=n}return r||n};t.addListener=function(t,n){var r=this.getListenersAsObject(t);var s=typeof n==="object";var o;for(o in r){if(r.hasOwnProperty(o)&&i(r[o],n)===-1){r[o].push(s?n:{listener:n,once:false})}}return this};t.on=s("addListener");t.addOnceListener=function(t,n){return this.addListener(t,{listener:n,once:true})};t.once=s("addOnceListener");t.defineEvent=function(t){this.getListeners(t);return this};t.defineEvents=function(t){for(var n=0;n<t.length;n+=1){this.defineEvent(t[n])}return this};t.removeListener=function(t,n){var r=this.getListenersAsObject(t);var s;var o;for(o in r){if(r.hasOwnProperty(o)){s=i(r[o],n);if(s!==-1){r[o].splice(s,1)}}}return this};t.off=s("removeListener");t.addListeners=function(t,n){return this.manipulateListeners(false,t,n)};t.removeListeners=function(t,n){return this.manipulateListeners(true,t,n)};t.manipulateListeners=function(t,n,r){var i;var s;var o=t?this.removeListener:this.addListener;var u=t?this.removeListeners:this.addListeners;if(typeof n==="object"&&!(n instanceof RegExp)){for(i in n){if(n.hasOwnProperty(i)&&(s=n[i])){if(typeof s==="function"){o.call(this,i,s)}else{u.call(this,i,s)}}}}else{i=r.length;while(i--){o.call(this,n,r[i])}}return this};t.removeEvent=function(t){var n=typeof t;var r=this._getEvents();var i;if(n==="string"){delete r[t]}else if(t instanceof RegExp){for(i in r){if(r.hasOwnProperty(i)&&t.test(i)){delete r[i]}}}else{delete this._events}return this};t.removeAllListeners=s("removeEvent");t.emitEvent=function(t,n){var r=this.getListenersAsObject(t);var i;var s;var o;var u;for(o in r){if(r.hasOwnProperty(o)){s=r[o].length;while(s--){i=r[o][s];if(i.once===true){this.removeListener(t,i.listener)}u=i.listener.apply(this,n||[]);if(u===this._getOnceReturnValue()){this.removeListener(t,i.listener)}}}}return this};t.trigger=s("emitEvent");t.emit=function(t){var n=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,n)};t.setOnceReturnValue=function(t){this._onceReturnValue=t;return this};t._getOnceReturnValue=function(){if(this.hasOwnProperty("_onceReturnValue")){return this._onceReturnValue}else{return true}};t._getEvents=function(){return this._events||(this._events={})};e.noConflict=function(){n.EventEmitter=r;return e};if(typeof define==="function"&&define.amd){define("eventEmitter/EventEmitter",[],function(){return e})}else if(typeof module==="object"&&module.exports){module.exports=e}else{this.EventEmitter=e}}).call(this);(function(e){function r(e){if(!e){return}if(typeof n[e]==="string"){return e}e=e.charAt(0).toUpperCase()+e.slice(1);var r;for(var i=0,s=t.length;i<s;i++){r=t[i]+e;if(typeof n[r]==="string"){return r}}}var t="Webkit Moz ms Ms O".split(" ");var n=document.documentElement.style;if(typeof define==="function"&&define.amd){define("get-style-property/get-style-property",[],function(){return r})}else if(typeof exports==="object"){module.exports=r}else{e.getStyleProperty=r}})(window);(function(e,t){function i(e){var t=parseFloat(e);var n=e.indexOf("%")===-1&&!isNaN(t);return n&&t}function o(){var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0};for(var t=0,n=s.length;t<n;t++){var r=s[t];e[r]=0}return e}function u(e){function a(e){if(typeof e==="string"){e=document.querySelector(e)}if(!e||typeof e!=="object"||!e.nodeType){return}var n=r(e);if(n.display==="none"){return o()}var a={};a.width=e.offsetWidth;a.height=e.offsetHeight;var l=a.isBorderBox=!!(t&&n[t]&&n[t]==="border-box");for(var c=0,h=s.length;c<h;c++){var p=s[c];var d=n[p];d=f(e,d);var v=parseFloat(d);a[p]=!isNaN(v)?v:0}var m=a.paddingLeft+a.paddingRight;var g=a.paddingTop+a.paddingBottom;var y=a.marginLeft+a.marginRight;var b=a.marginTop+a.marginBottom;var w=a.borderLeftWidth+a.borderRightWidth;var E=a.borderTopWidth+a.borderBottomWidth;var S=l&&u;var x=i(n.width);if(x!==false){a.width=x+(S?0:m+w)}var T=i(n.height);if(T!==false){a.height=T+(S?0:g+E)}a.innerWidth=a.width-(m+w);a.innerHeight=a.height-(g+E);a.outerWidth=a.width+y;a.outerHeight=a.height+b;return a}function f(e,t){if(n||t.indexOf("%")===-1){return t}var r=e.style;var i=r.left;var s=e.runtimeStyle;var o=s&&s.left;if(o){s.left=e.currentStyle.left}r.left=t;t=r.pixelLeft;r.left=i;if(o){s.left=o}return t}var t=e("boxSizing");var u;(function(){if(!t){return}var e=document.createElement("div");e.style.width="200px";e.style.padding="1px 2px 3px 4px";e.style.borderStyle="solid";e.style.borderWidth="1px 2px 3px 4px";e.style[t]="border-box";var n=document.body||document.documentElement;n.appendChild(e);var s=r(e);u=i(s.width)===200;n.removeChild(e)})();return a}var n=e.getComputedStyle;var r=n?function(e){return n(e,null)}:function(e){return e.currentStyle};var s=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];if(typeof define==="function"&&define.amd){define("get-size/get-size",["get-style-property/get-style-property"],u)}else if(typeof exports==="object"){module.exports=u(require("get-style-property"))}else{e.getSize=u(e.getStyleProperty)}})(window);(function(e,t){function r(e,t){return e[n](t)}function i(e){if(e.parentNode){return}var t=document.createDocumentFragment();t.appendChild(e)}function s(e,t){i(e);var n=e.parentNode.querySelectorAll(t);for(var r=0,s=n.length;r<s;r++){if(n[r]===e){return true}}return false}function o(e,t){i(e);return r(e,t)}var n=function(){if(t.matchesSelector){return"matchesSelector"}var e=["webkit","moz","ms","o"];for(var n=0,r=e.length;n<r;n++){var i=e[n];var s=i+"MatchesSelector";if(t[s]){return s}}}();var u;if(n){var a=document.createElement("div");var f=r(a,"div");u=f?r:o}else{u=s}if(typeof define==="function"&&define.amd){define("matches-selector/matches-selector",[],function(){return u})}else{window.matchesSelector=u}})(this,Element.prototype);(function(e){function r(e,t){for(var n in t){e[n]=t[n]}return e}function i(e){for(var t in e){return false}t=null;return true}function s(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}function o(e,t,o){function d(e,t){if(!e){return}this.element=e;this.layout=t;this.position={x:0,y:0};this._create()}var u=o("transition");var a=o("transform");var f=u&&a;var l=!!o("perspective");var c={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[u];var h=["transform","transition","transitionDuration","transitionProperty"];var p=function(){var e={};for(var t=0,n=h.length;t<n;t++){var r=h[t];var i=o(r);if(i&&i!==r){e[r]=i}}return e}();r(d.prototype,e.prototype);d.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}};this.css({position:"absolute"})};d.prototype.handleEvent=function(e){var t="on"+e.type;if(this[t]){this[t](e)}};d.prototype.getSize=function(){this.size=t(this.element)};d.prototype.css=function(e){var t=this.element.style;for(var n in e){var r=p[n]||n;t[r]=e[n]}};d.prototype.getPosition=function(){var e=n(this.element);var t=this.layout.options;var r=t.isOriginLeft;var i=t.isOriginTop;var s=parseInt(e[r?"left":"right"],10);var o=parseInt(e[i?"top":"bottom"],10);s=isNaN(s)?0:s;o=isNaN(o)?0:o;var u=this.layout.size;s-=r?u.paddingLeft:u.paddingRight;o-=i?u.paddingTop:u.paddingBottom;this.position.x=s;this.position.y=o};d.prototype.layoutPosition=function(){var e=this.layout.size;var t=this.layout.options;var n={};if(t.isOriginLeft){n.left=this.position.x+e.paddingLeft+"px";n.right=""}else{n.right=this.position.x+e.paddingRight+"px";n.left=""}if(t.isOriginTop){n.top=this.position.y+e.paddingTop+"px";n.bottom=""}else{n.bottom=this.position.y+e.paddingBottom+"px";n.top=""}this.css(n);this.emitEvent("layout",[this])};var v=l?function(e,t){return"translate3d("+e+"px, "+t+"px, 0)"}:function(e,t){return"translate("+e+"px, "+t+"px)"};d.prototype._transitionTo=function(e,t){this.getPosition();var n=this.position.x;var r=this.position.y;var i=parseInt(e,10);var s=parseInt(t,10);var o=i===this.position.x&&s===this.position.y;this.setPosition(e,t);if(o&&!this.isTransitioning){this.layoutPosition();return}var u=e-n;var a=t-r;var f={};var l=this.layout.options;u=l.isOriginLeft?u:-u;a=l.isOriginTop?a:-a;f.transform=v(u,a);this.transition({to:f,onTransitionEnd:{transform:this.layoutPosition},isCleaning:true})};d.prototype.goTo=function(e,t){this.setPosition(e,t);this.layoutPosition()};d.prototype.moveTo=f?d.prototype._transitionTo:d.prototype.goTo;d.prototype.setPosition=function(e,t){this.position.x=parseInt(e,10);this.position.y=parseInt(t,10)};d.prototype._nonTransition=function(e){this.css(e.to);if(e.isCleaning){this._removeStyles(e.to)}for(var t in e.onTransitionEnd){e.onTransitionEnd[t].call(this)}};d.prototype._transition=function(e){if(!parseFloat(this.layout.options.transitionDuration)){this._nonTransition(e);return}var t=this._transn;for(var n in e.onTransitionEnd){t.onEnd[n]=e.onTransitionEnd[n]}for(n in e.to){t.ingProperties[n]=true;if(e.isCleaning){t.clean[n]=true}}if(e.from){this.css(e.from);var r=this.element.offsetHeight;r=null}this.enableTransition(e.to);this.css(e.to);this.isTransitioning=true};var m=a&&s(a)+",opacity";d.prototype.enableTransition=function(){if(this.isTransitioning){return}this.css({transitionProperty:m,transitionDuration:this.layout.options.transitionDuration});this.element.addEventListener(c,this,false)};d.prototype.transition=d.prototype[u?"_transition":"_nonTransition"];d.prototype.onwebkitTransitionEnd=function(e){this.ontransitionend(e)};d.prototype.onotransitionend=function(e){this.ontransitionend(e)};var g={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};d.prototype.ontransitionend=function(e){if(e.target!==this.element){return}var t=this._transn;var n=g[e.propertyName]||e.propertyName;delete t.ingProperties[n];if(i(t.ingProperties)){this.disableTransition()}if(n in t.clean){this.element.style[e.propertyName]="";delete t.clean[n]}if(n in t.onEnd){var r=t.onEnd[n];r.call(this);delete t.onEnd[n]}this.emitEvent("transitionEnd",[this])};d.prototype.disableTransition=function(){this.removeTransitionStyles();this.element.removeEventListener(c,this,false);this.isTransitioning=false};d.prototype._removeStyles=function(e){var t={};for(var n in e){t[n]=""}this.css(t)};var y={transitionProperty:"",transitionDuration:""};d.prototype.removeTransitionStyles=function(){this.css(y)};d.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element);this.emitEvent("remove",[this])};d.prototype.remove=function(){if(!u||!parseFloat(this.layout.options.transitionDuration)){this.removeElem();return}var e=this;this.on("transitionEnd",function(){e.removeElem();return true});this.hide()};d.prototype.reveal=function(){delete this.isHidden;this.css({display:""});var e=this.layout.options;this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:true})};d.prototype.hide=function(){this.isHidden=true;this.css({display:""});var e=this.layout.options;this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:true,onTransitionEnd:{opacity:function(){if(this.isHidden){this.css({display:"none"})}}}})};d.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})};return d}var t=e.getComputedStyle;var n=t?function(e){return t(e,null)}:function(e){return e.currentStyle};if(typeof define==="function"&&define.amd){define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property"],o)}else{e.Outlayer={};e.Outlayer.Item=o(e.EventEmitter,e.getSize,e.getStyleProperty)}})(window);(function(e){function s(e,t){for(var n in t){e[n]=t[n]}return e}function u(e){return o.call(e)==="[object Array]"}function a(e){var t=[];if(u(e)){t=e}else if(e&&typeof e.length==="number"){for(var n=0,r=e.length;n<r;n++){t.push(e[n])}}else{t.push(e)}return t}function c(e,t){var n=l(t,e);if(n!==-1){t.splice(n,1)}}function h(e){return e.replace(/(.)([A-Z])/g,function(e,t,n){return t+"-"+n}).toLowerCase()}function p(o,u,l,p,d,v){function y(e,r){if(typeof e==="string"){e=t.querySelector(e)}if(!e||!f(e)){if(n){n.error("Bad "+this.constructor.namespace+" element: "+e)}return}this.element=e;this.options=s({},this.constructor.defaults);this.option(r);var i=++m;this.element.outlayerGUID=i;g[i]=this;this._create();if(this.options.isInitLayout){this.layout()}}var m=0;var g={};y.namespace="outlayer";y.Item=v;y.defaults={containerStyle:{position:"relative"},isInitLayout:true,isOriginLeft:true,isOriginTop:true,isResizeBound:true,isResizingContainer:true,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};s(y.prototype,l.prototype);y.prototype.option=function(e){s(this.options,e)};y.prototype._create=function(){this.reloadItems();this.stamps=[];this.stamp(this.options.stamp);s(this.element.style,this.options.containerStyle);if(this.options.isResizeBound){this.bindResize()}};y.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)};y.prototype._itemize=function(e){var t=this._filterFindItemElements(e);var n=this.constructor.Item;var r=[];for(var i=0,s=t.length;i<s;i++){var o=t[i];var u=new n(o,this);r.push(u)}return r};y.prototype._filterFindItemElements=function(e){e=a(e);var t=this.options.itemSelector;var n=[];for(var r=0,i=e.length;r<i;r++){var s=e[r];if(!f(s)){continue}if(t){if(d(s,t)){n.push(s)}var o=s.querySelectorAll(t);for(var u=0,l=o.length;u<l;u++){n.push(o[u])}}else{n.push(s)}}return n};y.prototype.getItemElements=function(){var e=[];for(var t=0,n=this.items.length;t<n;t++){e.push(this.items[t].element)}return e};y.prototype.layout=function(){this._resetLayout();this._manageStamps();var e=this.options.isLayoutInstant!==undefined?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,e);this._isLayoutInited=true};y.prototype._init=y.prototype.layout;y.prototype._resetLayout=function(){this.getSize()};y.prototype.getSize=function(){this.size=p(this.element)};y.prototype._getMeasurement=function(e,t){var n=this.options[e];var r;if(!n){this[e]=0}else{if(typeof n==="string"){r=this.element.querySelector(n)}else if(f(n)){r=n}this[e]=r?p(r)[t]:n}};y.prototype.layoutItems=function(e,t){e=this._getItemsForLayout(e);this._layoutItems(e,t);this._postLayout()};y.prototype._getItemsForLayout=function(e){var t=[];for(var n=0,r=e.length;n<r;n++){var i=e[n];if(!i.isIgnored){t.push(i)}}return t};y.prototype._layoutItems=function(e,t){function r(){n.emitEvent("layoutComplete",[n,e])}var n=this;if(!e||!e.length){r();return}this._itemsOn(e,"layout",r);var i=[];for(var s=0,o=e.length;s<o;s++){var u=e[s];var a=this._getItemLayoutPosition(u);a.item=u;a.isInstant=t||u.isLayoutInstant;i.push(a)}this._processLayoutQueue(i)};y.prototype._getItemLayoutPosition=function(){return{x:0,y:0}};y.prototype._processLayoutQueue=function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];this._positionItem(r.item,r.x,r.y,r.isInstant)}};y.prototype._positionItem=function(e,t,n,r){if(r){e.goTo(t,n)}else{e.moveTo(t,n)}};y.prototype._postLayout=function(){this.resizeContainer()};y.prototype.resizeContainer=function(){if(!this.options.isResizingContainer){return}var e=this._getContainerSize();if(e){this._setContainerMeasure(e.width,true);this._setContainerMeasure(e.height,false)}};y.prototype._getContainerSize=i;y.prototype._setContainerMeasure=function(e,t){if(e===undefined){return}var n=this.size;if(n.isBorderBox){e+=t?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth}e=Math.max(e,0);this.element.style[t?"width":"height"]=e+"px"};y.prototype._itemsOn=function(e,t,n){function o(){r++;if(r===i){n.call(s)}return true}var r=0;var i=e.length;var s=this;for(var u=0,a=e.length;u<a;u++){var f=e[u];f.on(t,o)}};y.prototype.ignore=function(e){var t=this.getItem(e);if(t){t.isIgnored=true}};y.prototype.unignore=function(e){var t=this.getItem(e);if(t){delete t.isIgnored}};y.prototype.stamp=function(e){e=this._find(e);if(!e){return}this.stamps=this.stamps.concat(e);for(var t=0,n=e.length;t<n;t++){var r=e[t];this.ignore(r)}};y.prototype.unstamp=function(e){e=this._find(e);if(!e){return}for(var t=0,n=e.length;t<n;t++){var r=e[t];c(r,this.stamps);this.unignore(r)}};y.prototype._find=function(e){if(!e){return}if(typeof e==="string"){e=this.element.querySelectorAll(e)}e=a(e);return e};y.prototype._manageStamps=function(){if(!this.stamps||!this.stamps.length){return}this._getBoundingRect();for(var e=0,t=this.stamps.length;e<t;e++){var n=this.stamps[e];this._manageStamp(n)}};y.prototype._getBoundingRect=function(){var e=this.element.getBoundingClientRect();var t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}};y.prototype._manageStamp=i;y.prototype._getElementOffset=function(e){var t=e.getBoundingClientRect();var n=this._boundingRect;var r=p(e);var i={left:t.left-n.left-r.marginLeft,top:t.top-n.top-r.marginTop,right:n.right-t.right-r.marginRight,bottom:n.bottom-t.bottom-r.marginBottom};return i};y.prototype.handleEvent=function(e){var t="on"+e.type;if(this[t]){this[t](e)}};y.prototype.bindResize=function(){if(this.isResizeBound){return}o.bind(e,"resize",this);this.isResizeBound=true};y.prototype.unbindResize=function(){if(this.isResizeBound){o.unbind(e,"resize",this)}this.isResizeBound=false};y.prototype.onresize=function(){function t(){e.resize();delete e.resizeTimeout}if(this.resizeTimeout){clearTimeout(this.resizeTimeout)}var e=this;this.resizeTimeout=setTimeout(t,100)};y.prototype.resize=function(){if(!this.isResizeBound||!this.needsResizeLayout()){return}this.layout()};y.prototype.needsResizeLayout=function(){var e=p(this.element);var t=this.size&&e;return t&&e.innerWidth!==this.size.innerWidth};y.prototype.addItems=function(e){var t=this._itemize(e);if(t.length){this.items=this.items.concat(t)}return t};y.prototype.appended=function(e){var t=this.addItems(e);if(!t.length){return}this.layoutItems(t,true);this.reveal(t)};y.prototype.prepended=function(e){var t=this._itemize(e);if(!t.length){return}var n=this.items.slice(0);this.items=t.concat(n);this._resetLayout();this._manageStamps();this.layoutItems(t,true);this.reveal(t);this.layoutItems(n)};y.prototype.reveal=function(e){var t=e&&e.length;if(!t){return}for(var n=0;n<t;n++){var r=e[n];r.reveal()}};y.prototype.hide=function(e){var t=e&&e.length;if(!t){return}for(var n=0;n<t;n++){var r=e[n];r.hide()}};y.prototype.getItem=function(e){for(var t=0,n=this.items.length;t<n;t++){var r=this.items[t];if(r.element===e){return r}}};y.prototype.getItems=function(e){if(!e||!e.length){return}var t=[];for(var n=0,r=e.length;n<r;n++){var i=e[n];var s=this.getItem(i);if(s){t.push(s)}}return t};y.prototype.remove=function(e){e=a(e);var t=this.getItems(e);if(!t||!t.length){return}this._itemsOn(t,"remove",function(){this.emitEvent("removeComplete",[this,t])});for(var n=0,r=t.length;n<r;n++){var i=t[n];i.remove();c(i,this.items)}};y.prototype.destroy=function(){var e=this.element.style;e.height="";e.position="";e.width="";for(var t=0,n=this.items.length;t<n;t++){var i=this.items[t];i.destroy()}this.unbindResize();delete this.element.outlayerGUID;if(r){r.removeData(this.element,this.constructor.namespace)}};y.data=function(e){var t=e&&e.outlayerGUID;return t&&g[t]};y.create=function(e,i){function o(){y.apply(this,arguments)}if(Object.create){o.prototype=Object.create(y.prototype)}else{s(o.prototype,y.prototype)}o.prototype.constructor=o;o.defaults=s({},y.defaults);s(o.defaults,i);o.prototype.settings={};o.namespace=e;o.data=y.data;o.Item=function(){v.apply(this,arguments)};o.Item.prototype=new v;u(function(){var i=h(e);var s=t.querySelectorAll(".js-"+i);var u="data-"+i+"-options";for(var a=0,f=s.length;a<f;a++){var l=s[a];var c=l.getAttribute(u);var p;try{p=c&&JSON.parse(c)}catch(d){if(n){n.error("Error parsing "+u+" on "+l.nodeName.toLowerCase()+(l.id?"#"+l.id:"")+": "+d)}continue}var v=new o(l,p);if(r){r.data(l,e,v)}}});if(r&&r.bridget){r.bridget(e,o)}return o};y.Item=v;return y}var t=e.document;var n=e.console;var r=e.rbjQuer;var i=function(){};var o=Object.prototype.toString;var f=typeof HTMLElement==="object"?function(t){return t instanceof HTMLElement}:function(t){return t&&typeof t==="object"&&t.nodeType===1&&typeof t.nodeName==="string"};var l=Array.prototype.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){for(var n=0,r=e.length;n<r;n++){if(e[n]===t){return n}}return-1};if(typeof define==="function"&&define.amd){define("outlayer/outlayer",["eventie/eventie","doc-ready/doc-ready","eventEmitter/EventEmitter","get-size/get-size","matches-selector/matches-selector","./item"],p)}else{e.Outlayer=p(e.eventie,e.docReady,e.EventEmitter,e.getSize,e.matchesSelector,e.Outlayer.Item)}})(window);(function(e){function t(e){function t(){e.Item.apply(this,arguments)}t.prototype=new e.Item;t.prototype._create=function(){this.id=this.layout.itemGUID++;e.Item.prototype._create.call(this);this.sortData={}};t.prototype.updateSortData=function(){if(this.isIgnored){return}this.sortData.id=this.id;this.sortData["original-order"]=this.id;this.sortData.random=Math.random();var e=this.layout.options.getSortData;var t=this.layout._sorters;for(var n in e){var r=t[n];this.sortData[n]=r(this.element,this)}};return t}if(typeof define==="function"&&define.amd){define("eveMB/js/item",["outlayer/outlayer"],t)}else{e.EveMB=e.EveMB||{};e.EveMB.Item=t(e.Outlayer)}})(window);(function(e){function t(e,t){function n(e){this.eveMB=e;if(e){this.options=e.options[this.namespace];this.element=e.element;this.items=e.filteredItems;this.size=e.size}}(function(){function o(e){return function(){return t.prototype[e].apply(this.eveMB,arguments)}}var e=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"];for(var r=0,i=e.length;r<i;r++){var s=e[r];n.prototype[s]=o(s)}})();n.prototype.needsVerticalResizeLayout=function(){var t=e(this.eveMB.element);var n=this.eveMB.size&&t;return n&&t.innerHeight!==this.eveMB.size.innerHeight};n.prototype._getMeasurement=function(){this.eveMB._getMeasurement.apply(this,arguments)};n.prototype.getColumnWidth=function(){this.getSegmentSize("column","Width")};n.prototype.getRowHeight=function(){this.getSegmentSize("row","Height")};n.prototype.getSegmentSize=function(e,t){var n=e+t;var r="outer"+t;this._getMeasurement(n,r);if(this[n]){return}var i=this.getFirstItemSize();this[n]=i&&i[r]||this.eveMB.size["inner"+t]};n.prototype.getFirstItemSize=function(){var t=this.eveMB.filteredItems[0];return t&&t.element&&e(t.element)};n.prototype.layout=function(){this.eveMB.layout.apply(this.eveMB,arguments)};n.prototype.getSize=function(){this.eveMB.getSize();this.size=this.eveMB.size};n.modes={};n.create=function(e,t){function r(){n.apply(this,arguments)}r.prototype=new n;if(t){r.options=t}r.prototype.namespace=e;n.modes[e]=r;return r};return n}if(typeof define==="function"&&define.amd){define("eveMB/js/layout-mode",["get-size/get-size","outlayer/outlayer"],t)}else{e.EveMB=e.EveMB||{};e.EveMB.LayoutMode=t(e.getSize,e.Outlayer)}})(window);(function(e){function n(e,n){var r=e.create("masonry");r.prototype._resetLayout=function(){this.getSize();this._getMeasurement("columnWidth","outerWidth");this._getMeasurement("gutter","outerWidth");this.measureColumns();var e=this.cols;this.colYs=[];while(e--){this.colYs.push(0)}this.maxY=0};r.prototype.measureColumns=function(){this.getContainerWidth();if(!this.columnWidth){var e=this.items[0];var t=e&&e.element;this.columnWidth=t&&n(t).outerWidth||this.containerWidth}this.columnWidth+=this.gutter;this.cols=Math.floor((this.containerWidth+this.gutter)/this.columnWidth);this.cols=Math.max(this.cols,1)};r.prototype.getContainerWidth=function(){var e=this.options.isFitWidth?this.element.parentNode:this.element;var t=n(e);this.containerWidth=t&&t.innerWidth};r.prototype._getItemLayoutPosition=function(e){e.getSize();var n=e.size.outerWidth%this.columnWidth;var r=n&&n<1?"round":"ceil";var i=Math[r](e.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);var s=this._getColGroup(i);var o=Math.min.apply(Math,s);var u=t(s,o);var a={x:this.columnWidth*u,y:o};var f=o+e.size.outerHeight;var l=this.cols+1-s.length;for(var c=0;c<l;c++){this.colYs[u+c]=f}return a};r.prototype._getColGroup=function(e){if(e<2){return this.colYs}var t=[];var n=this.cols+1-e;for(var r=0;r<n;r++){var i=this.colYs.slice(r,r+e);t[r]=Math.max.apply(Math,i)}return t};r.prototype._manageStamp=function(e){var t=n(e);var r=this._getElementOffset(e);var i=this.options.isOriginLeft?r.left:r.right;var s=i+t.outerWidth;var o=Math.floor(i/this.columnWidth);o=Math.max(0,o);var u=Math.floor(s/this.columnWidth);u-=s%this.columnWidth?0:1;u=Math.min(this.cols-1,u);var a=(this.options.isOriginTop?r.top:r.bottom)+t.outerHeight;for(var f=o;f<=u;f++){this.colYs[f]=Math.max(a,this.colYs[f])}};r.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};if(this.options.isFitWidth){e.width=this._getContainerFitWidth()}return e};r.prototype._getContainerFitWidth=function(){var e=0;var t=this.cols;while(--t){if(this.colYs[t]!==0){break}e++}return(this.cols-e)*this.columnWidth-this.gutter};r.prototype.needsResizeLayout=function(){var e=this.containerWidth;this.getContainerWidth();return e!==this.containerWidth};return r}var t=Array.prototype.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];if(i===t){return n}}return-1};if(typeof define==="function"&&define.amd){define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],n)}else{e.Masonry=n(e.Outlayer,e.getSize)}})(window);(function(e){function t(e,t){for(var n in t){e[n]=t[n]}return e}function n(e,n){var r=e.create("masonry");var i=r.prototype._getElementOffset;var s=r.prototype.layout;var o=r.prototype._getMeasurement;t(r.prototype,n.prototype);r.prototype._getElementOffset=i;r.prototype.layout=s;r.prototype._getMeasurement=o;var u=r.prototype.measureColumns;r.prototype.measureColumns=function(){this.items=this.eveMB.filteredItems;u.call(this)};var a=r.prototype._manageStamp;r.prototype._manageStamp=function(){this.options.isOriginLeft=this.eveMB.options.isOriginLeft;this.options.isOriginTop=this.eveMB.options.isOriginTop;a.apply(this,arguments)};return r}if(typeof define==="function"&&define.amd){define("eveMB/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],n)}else{n(e.EveMB.LayoutMode,e.Masonry)}})(window);(function(e){function t(e){var t=e.create("fitRows");t.prototype._resetLayout=function(){this.x=0;this.y=0;this.maxY=0};t.prototype._getItemLayoutPosition=function(e){e.getSize();if(this.x!==0&&e.size.outerWidth+this.x>this.eveMB.size.innerWidth){this.x=0;this.y=this.maxY}var t={x:this.x,y:this.y};this.maxY=Math.max(this.maxY,this.y+e.size.outerHeight);this.x+=e.size.outerWidth;return t};t.prototype._getContainerSize=function(){return{height:this.maxY}};return t}if(typeof define==="function"&&define.amd){define("eveMB/js/layout-modes/fit-rows",["../layout-mode"],t)}else{t(e.EveMB.LayoutMode)}})(window);(function(e){function t(e){var t=e.create("vertical",{horizontalAlignment:0});t.prototype._resetLayout=function(){this.y=0};t.prototype._getItemLayoutPosition=function(e){e.getSize();var t=(this.eveMB.size.innerWidth-e.size.outerWidth)*this.options.horizontalAlignment;var n=this.y;this.y+=e.size.outerHeight;return{x:t,y:n}};t.prototype._getContainerSize=function(){return{height:this.y}};return t}if(typeof define==="function"&&define.amd){define("eveMB/js/layout-modes/vertical",["../layout-mode"],t)}else{t(e.EveMB.LayoutMode)}})(window);(function(e){function n(e,t){for(var n in t){e[n]=t[n]}return e}function u(e){return o.call(e)==="[object Array]"}function f(e){var t=[];if(u(e)){t=e}else if(e&&typeof e.length==="number"){for(var n=0,r=e.length;n<r;n++){t.push(e[n])}}else{t.push(e)}return t}function l(e,t){var n=a(t,e);if(n!==-1){t.splice(n,1)}}function c(e,i,o,u,a){function p(e,t){return function(r,i){for(var s=0,o=e.length;s<o;s++){var u=e[s];var a=r.sortData[u];var f=i.sortData[u];if(a>f||a<f){var l=t[u]!==undefined?t[u]:t;var c=l?1:-1;return(a>f?1:-1)*c}}return 0}}var c=e.create("eveMB",{layoutMode:"masonry",isJQueryFiltering:true,sortAscending:true});c.Item=u;c.LayoutMode=a;c.prototype._create=function(){this.itemGUID=0;this._sorters={};this._getSorters();e.prototype._create.call(this);this.modes={};this.filteredItems=this.items;this.sortHistory=["original-order"];for(var t in a.modes){this._initLayoutMode(t)}};c.prototype.reloadItems=function(){this.itemGUID=0;e.prototype.reloadItems.call(this)};c.prototype._itemize=function(){var t=e.prototype._itemize.apply(this,arguments);for(var n=0,r=t.length;n<r;n++){var i=t[n];i.id=this.itemGUID++}this._updateItemsSortData(t);return t};c.prototype._initLayoutMode=function(e){var t=a.modes[e];var r=this.options[e]||{};this.options[e]=t.options?n(t.options,r):r;this.modes[e]=new t(this)};c.prototype.layout=function(){if(!this._isLayoutInited&&this.options.isInitLayout){this.arrange();return}this._layout()};c.prototype._layout=function(){var e=this._getIsInstant();this._resetLayout();this._manageStamps();this.layoutItems(this.filteredItems,e);this._isLayoutInited=true};c.prototype.arrange=function(e){this.option(e);this._getIsInstant();this.filteredItems=this._filter(this.items);this._sort();this._layout()};c.prototype._init=c.prototype.arrange;c.prototype._getIsInstant=function(){var e=this.options.isLayoutInstant!==undefined?this.options.isLayoutInstant:!this._isLayoutInited;this._isInstant=e;return e};c.prototype._filter=function(e){function c(){l.reveal(r);l.hide(i)}var t=this.options.filter;t=t||"*";var n=[];var r=[];var i=[];var s=this._getFilterTest(t);for(var o=0,u=e.length;o<u;o++){var a=e[o];if(a.isIgnored){continue}var f=s(a);if(f){n.push(a)}if(f&&a.isHidden){r.push(a)}else if(!f&&!a.isHidden){i.push(a)}}var l=this;if(this._isInstant){this._noTransition(c)}else{c()}return n};c.prototype._getFilterTest=function(e){if(t&&this.options.isJQueryFiltering){return function(n){return t(n.element).is(e)}}if(typeof e==="function"){return function(t){return e(t.element)}}return function(t){return o(t.element,e)}};c.prototype.updateSortData=function(e){this._getSorters();e=f(e);var t=this.getItems(e);t=t.length?t:this.items;this._updateItemsSortData(t)};c.prototype._getSorters=function(){var e=this.options.getSortData;for(var t in e){var n=e[t];this._sorters[t]=h(n)}};c.prototype._updateItemsSortData=function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];r.updateSortData()}};var h=function(){function e(e){if(typeof e!=="string"){return e}var n=r(e).split(" ");var i=n[0];var s=i.match(/^\[(.+)\]$/);var o=s&&s[1];var u=t(o,i);var a=c.sortDataParsers[n[1]];e=a?function(e){return e&&a(u(e))}:function(e){return e&&u(e)};return e}function t(e,t){var n;if(e){n=function(t){return t.getAttribute(e)}}else{n=function(e){var n=e.querySelector(t);return n&&s(n)}}return n}return e}();c.sortDataParsers={parseInt:function(e){return parseInt(e,10)},parseFloat:function(e){return parseFloat(e)}};c.prototype._sort=function(){var e=this.options.sortBy;if(!e){return}var t=[].concat.apply(e,this.sortHistory);var n=p(t,this.options.sortAscending);this.filteredItems.sort(n);if(e!==this.sortHistory[0]){this.sortHistory.unshift(e)}};c.prototype._mode=function(){var e=this.options.layoutMode;var t=this.modes[e];if(!t){throw new Error("No layout mode: "+e)}t.options=this.options[e];return t};c.prototype._resetLayout=function(){e.prototype._resetLayout.call(this);this._mode()._resetLayout()};c.prototype._getItemLayoutPosition=function(e){return this._mode()._getItemLayoutPosition(e)};c.prototype._manageStamp=function(e){this._mode()._manageStamp(e)};c.prototype._getContainerSize=function(){return this._mode()._getContainerSize()};c.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()};c.prototype.appended=function(e){var t=this.addItems(e);if(!t.length){return}var n=this._filterRevealAdded(t);this.filteredItems=this.filteredItems.concat(n)};c.prototype.prepended=function(e){var t=this._itemize(e);if(!t.length){return}var n=this.items.slice(0);this.items=t.concat(n);this._resetLayout();this._manageStamps();var r=this._filterRevealAdded(t);this.layoutItems(n);this.filteredItems=r.concat(this.filteredItems)};c.prototype._filterRevealAdded=function(e){var t=this._noTransition(function(){return this._filter(e)});this.layoutItems(t,true);this.reveal(t);return e};c.prototype.insert=function(e){var t=this.addItems(e);if(!t.length){return}var n,r;var i=t.length;for(n=0;n<i;n++){r=t[n];this.element.appendChild(r.element)}var s=this._filter(t);this._noTransition(function(){this.hide(s)});for(n=0;n<i;n++){t[n].isLayoutInstant=true}this.arrange();for(n=0;n<i;n++){delete t[n].isLayoutInstant}this.reveal(s)};var d=c.prototype.remove;c.prototype.remove=function(e){e=f(e);var t=this.getItems(e);d.call(this,e);if(!t||!t.length){return}for(var n=0,r=t.length;n<r;n++){var i=t[n];l(i,this.filteredItems)}};c.prototype._noTransition=function(e){var t=this.options.transitionDuration;this.options.transitionDuration=0;var n=e.call(this);this.options.transitionDuration=t;return n};return c}var t=e.rbjQuer;var r=String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(/^\s+|\s+$/g,"")};var i=document.documentElement;var s=i.textContent?function(e){return e.textContent}:function(e){return e.innerText};var o=Object.prototype.toString;var a=Array.prototype.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){for(var n=0,r=e.length;n<r;n++){if(e[n]===t){return n}}return-1};if(typeof define==="function"&&define.amd){define(["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","eveMB/js/item","eveMB/js/layout-mode","eveMB/js/layout-modes/masonry","eveMB/js/layout-modes/fit-rows","eveMB/js/layout-modes/vertical"],c)}else{e.EveMB=c(e.Outlayer,e.getSize,e.matchesSelector,e.EveMB.Item,e.EveMB.LayoutMode)}})(window)
;
/*!
 * imagesLoaded PACKAGED v3
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */
(function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],n.once===!0&&this.removeListener(e,n.listener),o=n.listener.apply(this,t||[]),o===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=o,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var o={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof exports?module.exports=t(e,require("eventEmitter"),require("eventie")):e.imagesLoadedMB=t(e,e.EventEmitter,e.eventie)}(this,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"===d.call(e)}function o(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;i>n;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred);var r=this;setTimeout(function(){r.check()})}function c(e){this.img=e}function f(e){this.src=e,v[e]=this}var a=e.rbjQuer,u=e.console,h=u!==void 0,d=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);for(var i=n.querySelectorAll("img"),r=0,o=i.length;o>r;r++){var s=i[r];this.addImage(s)}}},s.prototype.addImage=function(e){var t=new c(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&h&&u.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return this.complete(),void 0;for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},a&&(a.fn.imagesLoadedMB=function(e,t){var n=new s(this,e,t);return n.jqDeferred.promise(a(this))}),c.prototype=new t,c.prototype.check=function(){var e=v[this.img.src]||new f(this.img.src);if(e.isConfirmed)return this.confirm(e.isLoaded,"cached was confirmed"),void 0;if(this.img.complete&&void 0!==this.img.naturalWidth)return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0;var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return f.prototype=new t,f.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},f.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},f.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},f.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},f.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},f.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s});

/*!
 * rbjQuer Transit - CSS3 transitions and transformations
 * (c) 2012 Rico Sta. Cruz
 * MIT Licensed.
 *
 * http://ricostacruz.com/rbjquer.transit
 * http://github.com/rstacruz/rbjquer.transit
 */

(function(k){k.transit={version:"0.9.9",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:true,useTransitionEnd:false};var d=document.createElement("div");var q={};function b(v){if(v in d.style){return v}var u=["Moz","Webkit","O","ms"];var r=v.charAt(0).toUpperCase()+v.substr(1);for(var t=0;t<u.length;++t){var s=u[t]+r;if(s in d.style){return s}}}function e(){d.style[q.transform]="";d.style[q.transform]="rotateY(90deg)";return d.style[q.transform]!==""}var a=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;q.transition=b("transition");q.transitionDelay=b("transitionDelay");q.transform=b("transform");q.transformOrigin=b("transformOrigin");q.filter=b("Filter");q.transform3d=e();var i={transition:"transitionend",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"};var f=q.transitionEnd=i[q.transition]||null;for(var p in q){if(q.hasOwnProperty(p)&&typeof k.support[p]==="undefined"){k.support[p]=q[p]}}d=null;k.cssEase={_default:"ease","in":"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeInCubic:"cubic-bezier(.550,.055,.675,.190)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"};k.cssHooks["transit:transform"]={get:function(r){return k(r).data("transform")||new j()},set:function(s,r){var t=r;if(!(t instanceof j)){t=new j(t)}if(q.transform==="WebkitTransform"&&!a){s.style[q.transform]=t.toString(true)}else{s.style[q.transform]=t.toString()}k(s).data("transform",t)}};k.cssHooks.transform={set:k.cssHooks["transit:transform"].set};k.cssHooks.filter={get:function(r){return r.style[q.filter]},set:function(r,s){r.style[q.filter]=s}};if(k.fn.rbjquer<"1.8"){k.cssHooks.transformOrigin={get:function(r){return r.style[q.transformOrigin]},set:function(r,s){r.style[q.transformOrigin]=s}};k.cssHooks.transition={get:function(r){return r.style[q.transition]},set:function(r,s){r.style[q.transition]=s}}}n("scale");n("scaleX");n("scaleY");n("translate");n("rotate");n("rotateX");n("rotateY");n("rotate3d");n("perspective");n("skewX");n("skewY");n("x",true);n("y",true);function j(r){if(typeof r==="string"){this.parse(r)}return this}j.prototype={setFromString:function(t,s){var r=(typeof s==="string")?s.split(","):(s.constructor===Array)?s:[s];r.unshift(t);j.prototype.set.apply(this,r)},set:function(s){var r=Array.prototype.slice.apply(arguments,[1]);if(this.setter[s]){this.setter[s].apply(this,r)}else{this[s]=r.join(",")}},get:function(r){if(this.getter[r]){return this.getter[r].apply(this)}else{return this[r]||0}},setter:{rotate:function(r){this.rotate=o(r,"deg")},rotateX:function(r){this.rotateX=o(r,"deg")},rotateY:function(r){this.rotateY=o(r,"deg")},scale:function(r,s){if(s===undefined){s=r}this.scale=r+","+s},skewX:function(r){this.skewX=o(r,"deg")},skewY:function(r){this.skewY=o(r,"deg")},perspective:function(r){this.perspective=o(r,"px")},x:function(r){this.set("translate",r,null)},y:function(r){this.set("translate",null,r)},translate:function(r,s){if(this._translateX===undefined){this._translateX=0}if(this._translateY===undefined){this._translateY=0}if(r!==null&&r!==undefined){this._translateX=o(r,"px")}if(s!==null&&s!==undefined){this._translateY=o(s,"px")}this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var r=(this.scale||"1,1").split(",");if(r[0]){r[0]=parseFloat(r[0])}if(r[1]){r[1]=parseFloat(r[1])}return(r[0]===r[1])?r[0]:r},rotate3d:function(){var t=(this.rotate3d||"0,0,0,0deg").split(",");for(var r=0;r<=3;++r){if(t[r]){t[r]=parseFloat(t[r])}}if(t[3]){t[3]=o(t[3],"deg")}return t}},parse:function(s){var r=this;s.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(t,v,u){r.setFromString(v,u)})},toString:function(t){var s=[];for(var r in this){if(this.hasOwnProperty(r)){if((!q.transform3d)&&((r==="rotateX")||(r==="rotateY")||(r==="perspective")||(r==="transformOrigin"))){continue}if(r[0]!=="_"){if(t&&(r==="scale")){s.push(r+"3d("+this[r]+",1)")}else{if(t&&(r==="translate")){s.push(r+"3d("+this[r]+",0)")}else{s.push(r+"("+this[r]+")")}}}}}return s.join(" ")}};function m(s,r,t){if(r===true){s.queue(t)}else{if(r){s.queue(r,t)}else{s.each(function(){t.call(this)})}}}function h(s){var r=[];k.each(s,function(t){t=k.camelCase(t);t=k.transit.propertyMap[t]||k.cssProps[t]||t;t=c(t);if(q[t]){t=c(q[t])}if(k.inArray(t,r)===-1){r.push(t)}});return r}function g(s,v,x,r){var t=h(s);if(k.cssEase[x]){x=k.cssEase[x]}var w=""+l(v)+" "+x;if(parseInt(r,10)>0){w+=" "+l(r)}var u=[];k.each(t,function(z,y){u.push(y+" "+w)});return u.join(", ")}k.fn.transition=k.fn.transit=function(A,t,z,D){var E=this;var v=0;var x=true;var r=rbjQuer.extend(true,{},A);if(typeof t==="function"){D=t;t=undefined}if(typeof t==="object"){z=t.easing;v=t.delay||0;x=typeof t.queue==="undefined"?true:t.queue;D=t.complete;t=t.duration}if(typeof z==="function"){D=z;z=undefined}if(typeof r.easing!=="undefined"){z=r.easing;delete r.easing}if(typeof r.duration!=="undefined"){t=r.duration;delete r.duration}if(typeof r.complete!=="undefined"){D=r.complete;delete r.complete}if(typeof r.queue!=="undefined"){x=r.queue;delete r.queue}if(typeof r.delay!=="undefined"){v=r.delay;delete r.delay}if(typeof t==="undefined"){t=k.fx.speeds._default}if(typeof z==="undefined"){z=k.cssEase._default}t=l(t);var F=g(r,t,z,v);var C=k.transit.enabled&&q.transition;var u=C?(parseInt(t,10)+parseInt(v,10)):0;if(u===0){var B=function(G){E.css(r);if(D){D.apply(E)}if(G){G()}};m(E,x,B);return E}var y={};var s=function(I){var H=false;var G=function(){if(H){E.unbind(f,G)}if(u>0){E.each(function(){this.style[q.transition]=(y[this]||null)})}if(typeof D==="function"){D.apply(E)}if(typeof I==="function"){I()}};if((u>0)&&(f)&&(k.transit.useTransitionEnd)){H=true;E.bind(f,G)}else{window.setTimeout(G,u)}E.each(function(){if(u>0){this.style[q.transition]=F}k(this).css(A)})};var w=function(G){this.offsetWidth;s(G)};m(E,x,w);return this};function n(s,r){if(!r){k.cssNumber[s]=true}k.transit.propertyMap[s]=q.transform;k.cssHooks[s]={get:function(v){var u=k(v).css("transit:transform");return u.get(s)},set:function(v,w){var u=k(v).css("transit:transform");u.setFromString(s,w);k(v).css({"transit:transform":u})}}}function c(r){return r.replace(/([A-Z])/g,function(s){return"-"+s.toLowerCase()})}function o(s,r){if((typeof s==="string")&&(!s.match(/^[\-0-9\.]+$/))){return s}else{return""+s+r}}function l(s){var r=s;if(typeof r==="string"&&(!r.match(/^[\-0-9\.]+/))){r=k.fx.speeds[r]||k.fx.speeds._default}return o(r,"ms")}k.transit.getTransitionValue=g})(rbjQuer);

/*
 * rbjQuer Easing v1.3 - http://gsgd.co.uk/sandbox/rbjquer/easing/
 *
 * Uses the built in easing capabilities added In rbjQuer 1.1
 * to offer multiple easing options
 *
 * TERMS OF USE - rbjQuer Easing
 * 
 * Open source under the BSD License. 
 * 
 * Copyright © 2008 George McGinley Smith
 * All rights reserved.
*/

rbjQuer.easing.jswing=rbjQuer.easing.swing,rbjQuer.extend(rbjQuer.easing,{def:"easeOutQuad",swing:function(a,b,c,d,e){return rbjQuer.easing[rbjQuer.easing.def](a,b,c,d,e)},easeInQuad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeInOutQuad:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b+c:-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b+c:d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c},easeOutQuart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b*b+c:-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b*b*b+c:d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return 0==b?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){return 0==b?c:b==e?c+d:(b/=e/2)<1?d/2*Math.pow(2,10*(b-1))+c:d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)*b)+c},easeInOutCirc:function(a,b,c,d,e){return(b/=e/2)<1?-d/2*(Math.sqrt(1-b*b)-1)+c:d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(0==b)return c;if(1==(b/=e))return c+d;if(g||(g=.3*e),h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return-(h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g))+c},easeOutElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(0==b)return c;if(1==(b/=e))return c+d;if(g||(g=.3*e),h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return h*Math.pow(2,-10*b)*Math.sin((b*e-f)*2*Math.PI/g)+d+c},easeInOutElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(0==b)return c;if(2==(b/=e/2))return c+d;if(g||(g=e*.3*1.5),h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return 1>b?-.5*h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)+c:.5*h*Math.pow(2,-10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)+d+c},easeInBack:function(a,b,c,d,e,f){return void 0==f&&(f=1.70158),d*(b/=e)*b*((f+1)*b-f)+c},easeOutBack:function(a,b,c,d,e,f){return void 0==f&&(f=1.70158),d*((b=b/e-1)*b*((f+1)*b+f)+1)+c},easeInOutBack:function(a,b,c,d,e,f){return void 0==f&&(f=1.70158),(b/=e/2)<1?d/2*b*b*(((f*=1.525)+1)*b-f)+c:d/2*((b-=2)*b*(((f*=1.525)+1)*b+f)+2)+c},easeInBounce:function(a,b,c,d,e){return d-rbjQuer.easing.easeOutBounce(a,e-b,0,d,e)+c},easeOutBounce:function(a,b,c,d,e){return(b/=e)<1/2.75?d*7.5625*b*b+c:2/2.75>b?d*(7.5625*(b-=1.5/2.75)*b+.75)+c:2.5/2.75>b?d*(7.5625*(b-=2.25/2.75)*b+.9375)+c:d*(7.5625*(b-=2.625/2.75)*b+.984375)+c},easeInOutBounce:function(a,b,c,d,e){return e/2>b?.5*rbjQuer.easing.easeInBounce(a,2*b,0,d,e)+c:.5*rbjQuer.easing.easeOutBounce(a,2*b-e,0,d,e)+.5*d+c}});


/*
rbjQuer Waypoints - v2
Copyright (c) 2011-2014 Caleb Troughton
Dual licensed under the MIT license and GPL license.
https://github.com/imakewebthings/rbjquer-waypoints/blob/master/licenses.txt
*/
(function(){var t=[].indexOf||function(t){for(var e=0,n=this.length;e<n;e++){if(e in this&&this[e]===t)return e}return-1},e=[].slice;(function(t,e){if(typeof define==="function"&&define.amd){return define("waypoints",["rbjquer"],function(n){return e(n,t)})}else{return e(t.rbjQuer,t)}})(this,function(n,r){var i,o,l,s,f,u,c,a,h,d,p,y,v,w,g,m;i=n(r);a=t.call(r,"ontouchstart")>=0;s={horizontal:{},vertical:{}};f=1;c={};u="waypoints-context-id";p="resize.waypoints";y="scroll.waypoints";v=1;w="waypoints-waypoint-ids";g="waypoint";m="waypoints";o=function(){function t(t){var e=this;this.$element=t;this.element=t[0];this.didResize=false;this.didScroll=false;this.id="context"+f++;this.oldScroll={x:t.scrollLeft(),y:t.scrollTop()};this.waypoints={horizontal:{},vertical:{}};this.element[u]=this.id;c[this.id]=this;t.bind(y,function(){var t;if(!(e.didScroll||a)){e.didScroll=true;t=function(){e.doScroll();return e.didScroll=false};return r.setTimeout(t,n[m].settings.scrollThrottle)}});t.bind(p,function(){var t;if(!e.didResize){e.didResize=true;t=function(){n[m]("refresh");return e.didResize=false};return r.setTimeout(t,n[m].settings.resizeThrottle)}})}t.prototype.doScroll=function(){var t,e=this;t={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};if(a&&(!t.vertical.oldScroll||!t.vertical.newScroll)){n[m]("refresh")}n.each(t,function(t,r){var i,o,l;l=[];o=r.newScroll>r.oldScroll;i=o?r.forward:r.backward;n.each(e.waypoints[t],function(t,e){var n,i;if(r.oldScroll<(n=e.offset)&&n<=r.newScroll){return l.push(e)}else if(r.newScroll<(i=e.offset)&&i<=r.oldScroll){return l.push(e)}});l.sort(function(t,e){return t.offset-e.offset});if(!o){l.reverse()}return n.each(l,function(t,e){if(e.options.continuous||t===l.length-1){return e.trigger([i])}})});return this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}};t.prototype.refresh=function(){var t,e,r,i=this;r=n.isWindow(this.element);e=this.$element.offset();this.doScroll();t={horizontal:{contextOffset:r?0:e.left,contextScroll:r?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:r?0:e.top,contextScroll:r?0:this.oldScroll.y,contextDimension:r?n[m]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};return n.each(t,function(t,e){return n.each(i.waypoints[t],function(t,r){var i,o,l,s,f;i=r.options.offset;l=r.offset;o=n.isWindow(r.element)?0:r.$element.offset()[e.offsetProp];if(n.isFunction(i)){i=i.apply(r.element)}else if(typeof i==="string"){i=parseFloat(i);if(r.options.offset.indexOf("%")>-1){i=Math.ceil(e.contextDimension*i/100)}}r.offset=o-e.contextOffset+e.contextScroll-i;if(r.options.onlyOnScroll&&l!=null||!r.enabled){return}if(l!==null&&l<(s=e.oldScroll)&&s<=r.offset){return r.trigger([e.backward])}else if(l!==null&&l>(f=e.oldScroll)&&f>=r.offset){return r.trigger([e.forward])}else if(l===null&&e.oldScroll>=r.offset){return r.trigger([e.forward])}})})};t.prototype.checkEmpty=function(){if(n.isEmptyObject(this.waypoints.horizontal)&&n.isEmptyObject(this.waypoints.vertical)){this.$element.unbind([p,y].join(" "));return delete c[this.id]}};return t}();l=function(){function t(t,e,r){var i,o;r=n.extend({},n.fn[g].defaults,r);if(r.offset==="bottom-in-view"){r.offset=function(){var t;t=n[m]("viewportHeight");if(!n.isWindow(e.element)){t=e.$element.height()}return t-n(this).outerHeight()}}this.$element=t;this.element=t[0];this.axis=r.horizontal?"horizontal":"vertical";this.callback=r.handler;this.context=e;this.enabled=r.enabled;this.id="waypoints"+v++;this.offset=null;this.options=r;e.waypoints[this.axis][this.id]=this;s[this.axis][this.id]=this;i=(o=this.element[w])!=null?o:[];i.push(this.id);this.element[w]=i}t.prototype.trigger=function(t){if(!this.enabled){return}if(this.callback!=null){this.callback.apply(this.element,t)}if(this.options.triggerOnce){return this.destroy()}};t.prototype.disable=function(){return this.enabled=false};t.prototype.enable=function(){this.context.refresh();return this.enabled=true};t.prototype.destroy=function(){delete s[this.axis][this.id];delete this.context.waypoints[this.axis][this.id];return this.context.checkEmpty()};t.getWaypointsByElement=function(t){var e,r;r=t[w];if(!r){return[]}e=n.extend({},s.horizontal,s.vertical);return n.map(r,function(t){return e[t]})};return t}();d={init:function(t,e){var r;if(e==null){e={}}if((r=e.handler)==null){e.handler=t}this.each(function(){var t,r,i,s;t=n(this);i=(s=e.context)!=null?s:n.fn[g].defaults.context;if(!n.isWindow(i)){i=t.closest(i)}i=n(i);r=c[i[0][u]];if(!r){r=new o(i)}return new l(t,r,e)});n[m]("refresh");return this},disable:function(){return d._invoke.call(this,"disable")},enable:function(){return d._invoke.call(this,"enable")},destroy:function(){return d._invoke.call(this,"destroy")},prev:function(t,e){return d._traverse.call(this,t,e,function(t,e,n){if(e>0){return t.push(n[e-1])}})},next:function(t,e){return d._traverse.call(this,t,e,function(t,e,n){if(e<n.length-1){return t.push(n[e+1])}})},_traverse:function(t,e,i){var o,l;if(t==null){t="vertical"}if(e==null){e=r}l=h.aggregate(e);o=[];this.each(function(){var e;e=n.inArray(this,l[t]);return i(o,e,l[t])});return this.pushStack(o)},_invoke:function(t){this.each(function(){var e;e=l.getWaypointsByElement(this);return n.each(e,function(e,n){n[t]();return true})});return this}};n.fn[g]=function(){var t,r;r=arguments[0],t=2<=arguments.length?e.call(arguments,1):[];if(d[r]){return d[r].apply(this,t)}else if(n.isFunction(r)){return d.init.apply(this,arguments)}else if(n.isPlainObject(r)){return d.init.apply(this,[null,r])}else if(!r){return n.error("rbjQuer Waypoints needs a callback function or handler option.")}else{return n.error("The "+r+" method does not exist in rbjQuer Waypoints.")}};n.fn[g].defaults={context:r,continuous:true,enabled:true,horizontal:false,offset:0,triggerOnce:false};h={refresh:function(){return n.each(c,function(t,e){return e.refresh()})},viewportHeight:function(){var t;return(t=r.innerHeight)!=null?t:i.height()},aggregate:function(t){var e,r,i;e=s;if(t){e=(i=c[n(t)[0][u]])!=null?i.waypoints:void 0}if(!e){return[]}r={horizontal:[],vertical:[]};n.each(r,function(t,i){n.each(e[t],function(t,e){return i.push(e)});i.sort(function(t,e){return t.offset-e.offset});r[t]=n.map(i,function(t){return t.element});return r[t]=n.unique(r[t])});return r},above:function(t){if(t==null){t=r}return h._filter(t,"vertical",function(t,e){return e.offset<=t.oldScroll.y})},below:function(t){if(t==null){t=r}return h._filter(t,"vertical",function(t,e){return e.offset>t.oldScroll.y})},left:function(t){if(t==null){t=r}return h._filter(t,"horizontal",function(t,e){return e.offset<=t.oldScroll.x})},right:function(t){if(t==null){t=r}return h._filter(t,"horizontal",function(t,e){return e.offset>t.oldScroll.x})},enable:function(){return h._invoke("enable")},disable:function(){return h._invoke("disable")},destroy:function(){return h._invoke("destroy")},extendFn:function(t,e){return d[t]=e},_invoke:function(t){var e;e=n.extend({},s.vertical,s.horizontal);return n.each(e,function(e,n){n[t]();return true})},_filter:function(t,e,r){var i,o;i=c[n(t)[0][u]];if(!i){return[]}o=[];n.each(i.waypoints[e],function(t,e){if(r(i,e)){return o.push(e)}});o.sort(function(t,e){return t.offset-e.offset});return n.map(o,function(t){return t.element})}};n[m]=function(){var t,n;n=arguments[0],t=2<=arguments.length?e.call(arguments,1):[];if(h[n]){return h[n].apply(null,t)}else{return h.aggregate.call(null,n)}};n[m].settings={resizeThrottle:100,scrollThrottle:30};return i.load(function(){return n[m]("refresh")})})}).call(this);


/* Modernizr 2 | MIT & BSD
 * Build: http://modernizr.com/download/#-csstransitions-testprop-testallprops-domprefixes
 */
;window.ModernizrL=function(a,b,c){function w(a){i.cssText=a}function x(a,b){return w(prefixes.join(a+";")+(b||""))}function y(a,b){return typeof a===b}function z(a,b){return!!~(""+a).indexOf(b)}function A(a,b){for(var d in a){var e=a[d];if(!z(e,"-")&&i[e]!==c)return b=="pfx"?e:!0}return!1}function B(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:y(f,"function")?f.bind(d||b):f}return!1}function C(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+m.join(d+" ")+d).split(" ");return y(b,"string")||y(b,"undefined")?A(e,b):(e=(a+" "+n.join(d+" ")+d).split(" "),B(e,b,c))}var d="2.8.2",e={},f=b.documentElement,g="modernizrl",h=b.createElement(g),i=h.style,j,k={}.toString,l="Webkit Moz O ms",m=l.split(" "),n=l.toLowerCase().split(" "),o={},p={},q={},r=[],s=r.slice,t,u={}.hasOwnProperty,v;!y(u,"undefined")&&!y(u.call,"undefined")?v=function(a,b){return u.call(a,b)}:v=function(a,b){return b in a&&y(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=s.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(s.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(s.call(arguments)))};return e}),o.csstransitions=function(){return C("transition")};for(var D in o)v(o,D)&&(t=D.toLowerCase(),e[t]=o[D](),r.push((e[t]?"":"no-")+t));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)v(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof enableClasses!="undefined"&&enableClasses&&(f.className+=" "+(b?"":"no-")+a),e[a]=b}return e},w(""),h=j=null,e._version=d,e._domPrefixes=n,e._cssomPrefixes=m,e.testProp=function(a){return A([a])},e.testAllProps=C,e}(this,this.document);
/*! Magnific Popup - v1.0.0 - 2015-01-03
* http://dimsemenov.com/plugins/magnific-popup/
* Copyright (c) 2015 Dmitry Semenov; */
(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.rbjQuer||window.jQuery||window.Zepto)})(function(c){function e(){}function d(e,t){m.ev.on(n+e+b,t)}function u(e,t,n,o){var i=document.createElement("div");return i.className="mfp-"+e,n&&(i.innerHTML=n),o?t&&t.appendChild(i):(i=c(i),t&&i.appendTo(t)),i}function p(e,t){m.ev.triggerHandler(n+e,t),m.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),m.st.callbacks[e])&&m.st.callbacks[e].apply(m,Array.isArray(t)?t:[t])}function f(e){return e===j&&m.currTemplate.closeBtn||(m.currTemplate.closeBtn=c(m.st.closeMarkup.replace("%title%",m.st.tClose)),j=e),m.currTemplate.closeBtn}function r(){c.magnificPopup.instance||((m=new e).init(),c.magnificPopup.instance=m)}function H(){v&&(l.after(v.addClass(s)).detach(),v=null)}function i(){t&&c(document.body).removeClass(t)}function L(){i(),m.req&&m.req.abort()}var m,o,g,a,h,j,s,l,v,t,C="Close",N="BeforeClose",y="MarkupParse",w="Open",W="Change",n="mfp",b="."+n,I="mfp-ready",R="mfp-removing",x="mfp-prevent-close",k=!!window.jQuery,T=c(window),E=(c.magnificPopup={instance:null,proto:e.prototype={constructor:e,init:function(){var e=navigator.appVersion;m.isIE7=-1!==e.indexOf("MSIE 7."),m.isIE8=-1!==e.indexOf("MSIE 8."),m.isLowIE=m.isIE7||m.isIE8,m.isAndroid=/android/gi.test(e),m.isIOS=/iphone|ipad|ipod/gi.test(e),m.supportsTransition=(()=>{var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1})(),m.probablyMobile=m.isAndroid||m.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),g=c(document),m.popupsCache={}},open:function(e){if(!1===e.isObj){m.items=e.items.toArray(),m.index=0;for(var t,n=e.items,o=0;o<n.length;o++)if((t=(t=n[o]).parsed?t.el[0]:t)===e.el[0]){m.index=o;break}}else m.items=Array.isArray(e.items)?e.items:[e.items],m.index=e.index||0;var i=e.items[m.index];if(!c(i).hasClass("mfp-link")){if(!m.isOpen){m.types=[],h="",e.mainEl&&e.mainEl.length?m.ev=e.mainEl.eq(0):m.ev=g,e.key?(m.popupsCache[e.key]||(m.popupsCache[e.key]={}),m.currTemplate=m.popupsCache[e.key]):m.currTemplate={},m.st=c.extend(!0,{},c.magnificPopup.defaults,e),m.fixedContentPos="auto"===m.st.fixedContentPos?!m.probablyMobile:m.st.fixedContentPos,m.st.modal&&(m.st.closeOnContentClick=!1,m.st.closeOnBgClick=!1,m.st.showCloseBtn=!1,m.st.enableEscapeKey=!1),m.bgOverlay||(m.bgOverlay=u("bg").on("click"+b,function(){m.close()}),m.wrap=u("wrap").attr("tabindex",-1).on("click"+b,function(e){m._checkIfClose(e.target)&&m.close()}),m.container=u("container",m.wrap)),m.contentContainer=u("content"),m.st.preloader&&(m.preloader=u("preloader",m.container,m.st.tLoading)),m.st.protectionEnable&&(m.container[0].oncontextmenu=function(e){return e.preventDefault(),!1},m.container[0].onselectionstart=function(e){return e.preventDefault(),!1},m.container[0].ondragstart=function(e){return e.preventDefault(),!1});var r=c.magnificPopup.modules;for(o=0;o<r.length;o++){var a=(a=r[o]).charAt(0).toUpperCase()+a.slice(1);m["init"+a].call(m)}p("BeforeOpen"),m.st.showCloseBtn&&(m.st.closeBtnInside?(d(y,function(e,t,n,o){n.close_replaceWith=f(o.type)}),h+=" mfp-close-btn-in"):m.wrap.append(f())),m.st.alignTop&&(h+=" mfp-align-top"),m.fixedContentPos?m.wrap.css({overflow:m.st.overflowY,overflowX:"hidden",overflowY:m.st.overflowY}):m.wrap.css({top:T.scrollTop(),position:"absolute"}),!1!==m.st.fixedBgPos&&("auto"!==m.st.fixedBgPos||m.fixedContentPos)||m.bgOverlay.css({height:g.height(),position:"absolute"}),m.st.enableEscapeKey&&g.on("keyup"+b,function(e){27===e.keyCode&&m.close()}),T.on("resize"+b,function(){m.updateSize()}),m.st.closeOnContentClick||(h+=" mfp-auto-cursor"),h&&m.wrap.addClass(h);var i=m.wH=T.height(),s={},l=(m.fixedContentPos&&m._hasScrollBar(i)&&(l=m._getScrollbarSize())&&(s.marginRight=l),m.fixedContentPos&&(m.isIE7?c("body, html").css("overflow","hidden"):s.overflow="hidden"),m.st.mainClass);return m.isIE7&&(l+=" mfp-ie7"),l&&m._addClassToMFP(l),m.updateItemHTML(),p("BuildControls"),c("html").css(s),m.bgOverlay.add(m.wrap).prependTo(m.st.prependTo||c(document.body)),m._lastFocusedEl=document.activeElement,setTimeout(function(){m.content?(m._addClassToMFP(I),m._setFocus()):m.bgOverlay.addClass(I),g.on("focusin"+b,m._onFocusIn)},16),m.isOpen=!0,m.updateSize(i),p(w),e}m.updateItemHTML()}},close:function(){m.isOpen&&(p(N),m.isOpen=!1,m.st.removalDelay&&!m.isLowIE&&m.supportsTransition?(m._addClassToMFP(R),setTimeout(function(){m._close()},m.st.removalDelay)):m._close())},_close:function(){p(C);var e=R+" "+I+" ";m.bgOverlay.detach(),m.wrap.detach(),m.container.empty(),m.st.mainClass&&(e+=m.st.mainClass+" "),m._removeClassFromMFP(e),m.fixedContentPos&&(e={marginRight:""},m.isIE7?c("body, html").css("overflow",""):e.overflow="",c("html").css(e)),g.off("keyup.mfp focusin"+b),m.ev.off(b),m.wrap.attr("class","mfp-wrap").removeAttr("style"),m.bgOverlay.attr("class","mfp-bg"),m.container.attr("class","mfp-container"),!m.st.showCloseBtn||m.st.closeBtnInside&&!0!==m.currTemplate[m.currItem.type]||m.currTemplate.closeBtn&&m.currTemplate.closeBtn.detach(),m._lastFocusedEl&&c(m._lastFocusedEl).trigger("focus"),m.currItem=null,m.content=null,m.currTemplate=null,m.prevHeight=0,p("AfterClose")},updateSize:function(e){var t;m.isIOS?(t=document.documentElement.clientWidth/window.innerWidth,m.wrap.css("height",t=window.innerHeight*t),m.wH=t):m.wH=e||T.height(),m.fixedContentPos||m.wrap.css("height",m.wH),p("Resize")},updateItemHTML:function(){var e=m.items[m.index],t=(m.contentContainer.detach(),m.content&&m.content.detach(),(e=e.parsed?e:m.parseEl(m.index)).type),n=(p("BeforeChange",[m.currItem?m.currItem.type:"",t]),m.currItem=e,m.currTemplate[t]||(n=!!m.st[t]&&m.st[t].markup,p("FirstMarkupParse",n),m.currTemplate[t]=!n||c(n)),a&&a!==e.type&&m.container.removeClass("mfp-"+a+"-holder"),m["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,m.currTemplate[t]));m.appendContent(n,t),e.preloaded=!0,p(W,e),a=e.type,m.container.prepend(m.contentContainer),p("AfterChange")},appendContent:function(e,t){(m.content=e)?m.st.showCloseBtn&&m.st.closeBtnInside&&!0===m.currTemplate[t]?m.content.find(".mfp-close").length||m.content.append(f()):m.content=e:m.content="",p("BeforeAppend"),m.container.addClass("mfp-"+t+"-holder"),m.contentContainer.append(m.content)},parseEl:function(e){var t,n=m.items[e];if((n=n.tagName?{el:c(n)}:(t=n.type,{data:n,src:n.src})).el){for(var o=m.types,i=0;i<o.length;i++)if(n.el.hasClass("mfp-"+o[i])){t=o[i];break}var r=n.el.attr("data-mfp-src");n.src=(e=>{let t=e,n=e;for(;t=(n=t).replace(/javascript\:/gi,""),n!==t;);return n})(r),n.src||(n.src=n.el.attr("href"))}return n.type=t||m.st.type||"inline",n.index=e,n.parsed=!0,m.items[e]=n,p("ElementParse",n),m.items[e]},addGroup:function(t,n){function e(e){e.mfpEl=this,m._openClick(e,t,n)}var o="click.magnificPopup";(n=n||{}).mainEl=t,n.items?(n.isObj=!0,t.off(o).on(o,e)):(n.isObj=!1,n.delegate?t.off(o).on(o,n.delegate,e):(n.items=t).off(o).on(o,e))},_openClick:function(e,t,n){if((void 0!==n.midClick?n:c.magnificPopup.defaults).midClick||2!==e.which&&!e.ctrlKey&&!e.metaKey){var o=(void 0!==n.disableOn?n:c.magnificPopup.defaults).disableOn;if(o)if("function"==typeof o){if(!o.call(m))return!0}else if(T.width()<o)return!0;e.type&&(e.preventDefault(),m.isOpen)&&e.stopPropagation(),n.el=c(e.mfpEl),n.delegate&&(n.items=t.find(n.delegate)),m.open(n)}},updateStatus:function(e,t){var n;m.preloader&&(o!==e&&m.container.removeClass("mfp-s-"+o),n={status:e,text:t=t||"loading"!==e?t:m.st.tLoading},p("UpdateStatus",n),e=n.status,m.preloader.html(t=n.text),m.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),m.container.addClass("mfp-s-"+e),o=e)},_checkIfClose:function(e){if(!c(e).hasClass(x)){var t=m.st.closeOnContentClick,n=m.st.closeOnBgClick;if(t&&n)return!0;if(!m.content||c(e).hasClass("mfp-close")||m.preloader&&e===m.preloader[0])return!0;if(e===m.content[0]||c.contains(m.content[0],e)){if(t)return!0}else if(n&&c.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){m.bgOverlay.addClass(e),m.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),m.wrap.removeClass(e)},_hasScrollBar:function(e){return(m.isIE7?g.height():document.body.scrollHeight)>(e||T.height())},_setFocus:function(){(m.st.focus?m.content.find(m.st.focus).eq(0):m.wrap).trigger("focus")},_onFocusIn:function(e){if(e.target!==m.wrap[0]&&!c.contains(m.wrap[0],e.target))return m._setFocus(),!1},_parseMarkup:function(i,e,t){var r;t.data&&(e=c.extend(t.data,e)),p(y,[i,e,t]),c.each(e,function(e,t){if(void 0===t||!1===t)return!0;var n,o;1<(r=e.split("_")).length?0<(n=i.find(b+"-"+r[0])).length&&("replaceWith"===(o=r[1])?n[0]!==t[0]&&n.replaceWith(t):"img"===o?n.is("img")?n.attr("src",t):n.replaceWith('<img src="'+t+'" class="'+n.attr("class")+'" />'):n.attr(r[1],t)):i.find(b+"-"+e).html(t)})},_getScrollbarSize:function(){var e;return void 0===m.scrollbarSize&&((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),m.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),m.scrollbarSize}},modules:[],open:function(e,t){return r(),(e=e?c.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(c.magnificPopup.defaults[e]=t.options),c.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading...",protectionEnable:!1}},c.fn.magnificPopup=function(e){r();var t,n,o,i=c(this);return"string"==typeof e?"open"===e?(t=k?i.data("magnificPopup"):i[0].magnificPopup,n=parseInt(arguments[1],10)||0,o=t.items?t.items[n]:(o=i,(o=t.delegate?o.find(t.delegate):o).eq(n)),m._openClick({mfpEl:o},i,t)):m.isOpen&&m[e].apply(m,Array.prototype.slice.call(arguments,1)):(e=c.extend(!0,{},e),k?i.data("magnificPopup",e):i[0].magnificPopup=e,m.addGroup(i,e)),i},"inline"),_=(c.magnificPopup.registerModule(E,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){m.types.push(E),d(C+"."+E,function(){H()})},getInline:function(e,t){var n,o,i;return H(),e.src?(n=m.st.inline,(o=c(e.src)).length?((i=o[0].parentNode)&&i.tagName&&(l||(s=n.hiddenClass,l=u(s),s="mfp-"+s),v=o.after(l).detach().removeClass(s)),m.updateStatus("ready")):(m.updateStatus("error",n.tNotFound),o=c("<div>")),e.inlineElement=o):(m.updateStatus("ready"),m._parseMarkup(t,{},e),t)}}}),"ajax");c.magnificPopup.registerModule(_,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){m.types.push(_),t=m.st.ajax.cursor,d(C+"."+_,L),d("BeforeChange."+_,L)},getAjax:function(o){t&&c(document.body).addClass(t),m.updateStatus("loading");var e=c.extend({url:o.src,success:function(e,t,n){e={data:e,xhr:n};p("ParseAjax",e),m.appendContent(c(e.data),_),o.finished=!0,i(),m._setFocus(),setTimeout(function(){m.wrap.addClass(I)},16),m.updateStatus("ready"),p("AjaxContentAdded")},error:function(){i(),o.finished=o.loadError=!0,m.updateStatus("error",m.st.ajax.tError.replace("%url%",o.src))}},m.st.ajax.settings);return m.req=c.ajax(e),""}}});var S;c.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=m.st.image,t=".image";m.types.push("image"),d(w+t,function(){"image"===m.currItem.type&&e.cursor&&c(document.body).addClass(e.cursor)}),d(C+t,function(){e.cursor&&c(document.body).removeClass(e.cursor),T.off("resize"+b)}),d("Resize"+t,m.resizeImage),m.isLowIE&&d("AfterChange",m.resizeImage)},resizeImage:function(){var e,t=m.currItem;t&&t.img&&m.st.image.verticalFit&&(e=0,m.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",m.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,S&&clearInterval(S),e.isCheckingImgSize=!1,p("ImageHasSize",e),e.imgHidden)&&(m.content&&m.content.removeClass("mfp-loading"),e.imgHidden=!1)},findImageSize:function(t){function n(e){S&&clearInterval(S),S=setInterval(function(){0<i.naturalWidth?m._onImageHasSize(t):(200<o&&clearInterval(S),3===++o?n(10):40===o?n(50):100===o&&n(500))},e)}var o=0,i=t.img[0];n(1)},getImage:function(e,t){var n,o,i,r,a,s=e.el;if(!s.length||!s.hasClass("mfp-link"))return n=0,o=function(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===m.currItem&&(m._onImageHasSize(e),m.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,p("ImageLoadComplete")):++n<200?setTimeout(o,100):i())},i=function(){e&&(e.img.off(".mfploader"),e===m.currItem&&(m._onImageHasSize(e),m.updateStatus("error",r.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)},r=m.st.image,(s=t.find(".mfp-img")).length&&((a=document.createElement("img")).className="mfp-img",e.el&&e.el.find("img").length&&(a.alt=e.el.find("img").attr("alt")),e.img=c(a).on("load.mfploader",o).on("error.mfploader",i),a.src=e.src,s.is("img")&&(e.img=e.img.clone()),0<(a=e.img[0]).naturalWidth?e.hasSize=!0:a.width||(e.hasSize=!1)),m._parseMarkup(t,{title:(e=>{if(e.data&&void 0!==e.data.title)return e.data.title;var t=m.st.image.titleSrc;if(t){if("function"==typeof t)return t.call(m,e);if(e.el)return e.el.attr(t)||""}return""})(e),img_replaceWith:e.img},e),m.resizeImage(),e.hasSize?(S&&clearInterval(S),e.loadError?(t.addClass("mfp-loading"),m.updateStatus("error",r.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),m.updateStatus("ready"))):(m.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),m.findImageSize(e))),t;m.close()}}});function P(e){var t;m.currTemplate[A]&&(t=m.currTemplate[A].find("iframe")).length&&(e||(t[0].src="//about:blank"),m.isIE8)&&t.css("display",e?"block":"none")}function z(e){var t=m.items.length;return t-1<e?e-t:e<0?t+e:e}function Z(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)}c.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,t,n,o,i,r,a=m.st.zoom,s=".zoom";a.enabled&&m.supportsTransition&&(t=a.duration,n=function(e){var e=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),t="all "+a.duration/1e3+"s "+a.easing,n={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return n["-webkit-"+o]=n["-moz-"+o]=n["-o-"+o]=n[o]=t,e.css(n),e},o=function(){m.content.css("visibility","visible")},d("BuildControls"+s,function(){m._allowZoom()&&(clearTimeout(i),m.content.css("visibility","hidden"),(e=m._getItemToZoom())?((r=n(e)).css(m._getOffset()),m.wrap.append(r),i=setTimeout(function(){r.css(m._getOffset(!0)),i=setTimeout(function(){o(),setTimeout(function(){r.remove(),e=r=null,p("ZoomAnimationEnded")},16)},t)},16)):o())}),d(N+s,function(){if(m._allowZoom()){if(clearTimeout(i),m.st.removalDelay=t,!e){if(!(e=m._getItemToZoom()))return;r=n(e)}r.css(m._getOffset(!0)),m.wrap.append(r),m.content.css("visibility","hidden"),setTimeout(function(){r.css(m._getOffset())},16)}}),d(C+s,function(){m._allowZoom()&&(o(),r&&r.remove(),e=null)}))},_allowZoom:function(){return"image"===m.currItem.type},_getItemToZoom:function(){return!!m.currItem.hasSize&&m.currItem.img},_getOffset:function(e){var e=e?m.currItem.img:m.st.zoom.opener(m.currItem.el||m.currItem),t=e.offset(),n=parseInt(e.css("padding-top"),10),o=parseInt(e.css("padding-bottom"),10),e=(t.top-=c(window).scrollTop()-n,{width:e.width(),height:(k?e.innerHeight():e[0].offsetHeight)-o-n});return(O=void 0===O?void 0!==document.createElement("p").style.MozTransform:O)?e["-moz-transform"]=e.transform="translate("+t.left+"px,"+t.top+"px)":(e.left=t.left,e.top=t.top),e}}});var O,M,B,A="iframe",F=(c.magnificPopup.registerModule(A,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){m.types.push(A),d("BeforeChange",function(e,t,n){t!==n&&(t===A?P():n===A&&P(!0))}),d(C+"."+A,function(){P()})},getIframe:function(e,t){var n=e.src,o=m.st.iframe,i=(c.each(o.patterns,function(){if(-1<n.indexOf(this.index))return this.id&&(n="string"==typeof this.id?n.substr(n.lastIndexOf(this.id)+this.id.length,n.length):this.id.call(this,n)),n=this.src.replace("%id%",n),!1}),{});return o.srcAction&&(i[o.srcAction]=n),m._parseMarkup(t,i,e),m.updateStatus("ready"),t}}}),c.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=m.st.gallery,e=".mfp-gallery",o=Boolean(c.fn.mfpFastClick);if(m.direction=!0,!r||!r.enabled)return!1;h+=" mfp-gallery",d(w+e,function(){r.navigateByImgClick&&m.wrap.on("click"+e,".mfp-img",function(){if(1<m.items.length)return m.next(),!1}),g.on("keydown"+e,function(e){37===e.keyCode?m.prev():39===e.keyCode&&m.next()})}),d("UpdateStatus"+e,function(e,t){t.text&&(t.text=Z(t.text,m.currItem.index,m.items.length))}),d(y+e,function(e,t,n,o){var i=m.items.length;n.counter=1<i?Z(r.tCounter,o.index,i):""}),d("BuildControls"+e,function(){var e,t,n;1<m.items.length&&r.arrows&&!m.arrowLeft&&(t=r.arrowMarkup,e=m.arrowLeft=c(t.replace(/%title%/gi,r.tPrev).replace(/%dir%/gi,"left")).addClass(x),t=m.arrowRight=c(t.replace(/%title%/gi,r.tNext).replace(/%dir%/gi,"right")).addClass(x),e[n=o?"mfpFastClick":"click"](function(){m.prev()}),t[n](function(){m.next()}),m.isIE7&&(u("b",e[0],!1,!0),u("a",e[0],!1,!0),u("b",t[0],!1,!0),u("a",t[0],!1,!0)),m.container.append(e.add(t)))}),d(W+e,function(){m._preloadTimeout&&clearTimeout(m._preloadTimeout),m._preloadTimeout=setTimeout(function(){m.preloadNearbyImages(),m._preloadTimeout=null},16)}),d(C+e,function(){g.off(e),m.wrap.off("click"+e),m.arrowLeft&&o&&m.arrowLeft.add(m.arrowRight).destroyMfpFastClick(),m.arrowRight=m.arrowLeft=null})},next:function(){m.direction=!0,m.index=z(m.index+1),m.updateItemHTML()},prev:function(){m.direction=!1,m.index=z(m.index-1),m.updateItemHTML()},goTo:function(e){m.direction=e>=m.index,m.index=e,m.updateItemHTML()},preloadNearbyImages:function(){for(var e=m.st.gallery.preload,t=Math.min(e[0],m.items.length),n=Math.min(e[1],m.items.length),o=1;o<=(m.direction?n:t);o++)m._preloadItem(m.index+o);for(o=1;o<=(m.direction?t:n);o++)m._preloadItem(m.index-o)},_preloadItem:function(e){var t;e=z(e),m.items[e].preloaded||((t=m.items[e]).parsed||(t=m.parseEl(e)),p("LazyLoad",t),"image"===t.type&&(t.img=c('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,p("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0)}}}),"retina");function q(){T.off("touchmove"+B+" touchend"+B)}c.magnificPopup.registerModule(F,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var n,o;1<window.devicePixelRatio&&(n=m.st.retina,o=n.ratio,1<(o=isNaN(o)?o():o))&&(d("ImageHasSize."+F,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/o,width:"100%"})}),d("ElementParse."+F,function(e,t){t.src=n.replaceSrc(t,o)}))}}}),M="ontouchstart"in window,B=".mfpFastClick",c.fn.mfpFastClick=function(l){return c(this).each(function(){var t,n,o,i,r,a,s,e=c(this);M&&e.on("touchstart"+B,function(e){r=!1,s=1,a=(e.originalEvent||e).touches[0],o=a.clientX,i=a.clientY,T.on("touchmove"+B,function(e){a=(e.originalEvent||e).touches,s=a.length,a=a[0],(10<Math.abs(a.clientX-o)||10<Math.abs(a.clientY-i))&&(r=!0,q())}).on("touchend"+B,function(e){q(),r||1<s||(t=!0,e.preventDefault(),clearTimeout(n),n=setTimeout(function(){t=!1},1e3),l())})}),e.on("click"+B,function(){t||l()})})},c.fn.destroyMfpFastClick=function(){c(this).off("touchstart"+B+" click"+B),M&&T.off("touchmove"+B+" touchend"+B)},r()});
/* 
 * @fileOverview TouchSwipe - jQuery Plugin
 * @version 1.6.15
 * @author Matt Bryson http://www.github.com/mattbryson
 * Copyright (c) 2010-2015 Matt Bryson
 * Dual licensed under the MIT or GPL Version 2 licenses.
 */
(e=>{"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):"undefined"!=typeof module&&module.exports?e(require("jquery")):e(window.rbjQuer||window.jQuery)})(function(oe){var ue="left",se="right",ce="up",pe="down",he="in",de="out",fe="none",ge="auto",we="swipe",ve="pinch",Te="tap",be="doubletap",ye="longtap",Ee="horizontal",me="vertical",xe="all",Se=10,Oe="start",Me="move",De="end",Pe="cancel",Le="ontouchstart"in window,Re=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled&&!Le,ke=(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&!Le,je="TouchSwipe";function r(N,u){var u=oe.extend({},u),e=Le||ke||!u.fallbackToMouseEvents,t=e?ke?Re?"MSPointerDown":"pointerdown":"touchstart":"mousedown",n=e?ke?Re?"MSPointerMove":"pointermove":"touchmove":"mousemove",r=e?ke?Re?"MSPointerUp":"pointerup":"touchend":"mouseup",i=!e||ke?"mouseleave":null,l=ke?Re?"MSPointerCancel":"pointercancel":"touchcancel",s=0,c=null,p=null,h=0,d=0,f=0,g=1,w=0,v=0,T=null,a=oe(N),b="start",y=0,E={},o=0,m=0,x=0,H=0,S=0,O=null,M=null;try{a.bind(t,Q),a.bind(l,D)}catch(e){oe.error("events not supported "+t+","+l+" on jQuery.swipe")}function Q(e){var t,n,r,i;if(!0!==a.data(je+"_intouch")&&!(0<oe(e.target).closest(u.excludedElements,a).length))return i=(r=(t=e.originalEvent||e).touches)?r[0]:t,b=Oe,r?y=r.length:!1!==u.preventDefaultEvents&&e.preventDefault(),v=p=c=null,g=1,w=f=d=h=s=0,(e={})[ue]=I(ue),e[se]=I(se),e[ce]=I(ce),e[pe]=I(pe),T=e,te(),A(0,i),!r||y===u.fingers||u.fingers===xe||R()?(o=U(),2==y&&(A(1,r[1]),d=f=le(E[0].start,E[1].start)),(u.swipeStatus||u.pinchStatus)&&(n=P(t,b))):n=!1,!1===n?(P(t,b=Pe),n):(u.hold&&(M=setTimeout(oe.proxy(function(){a.trigger("hold",[t.target]),u.hold&&(n=u.hold.call(a,t,t.target))},this),u.longTapThreshold)),j(!0),null)}function _(e){var t=e.originalEvent||e;if(b!==De&&b!==Pe&&!k()){var n,r=t.touches,i=ne(r?r[0]:t);if(m=U(),r&&(y=r.length),u.hold&&clearTimeout(M),b=Me,2==y&&(0==d?(A(1,r[1]),d=f=le(E[0].start,E[1].start)):(ne(r[1]),f=le(E[0].end,E[1].end),E[0].end,E[1].end,v=g<1?de:he),g=(f/d*1).toFixed(2),w=Math.abs(d-f)),y===u.fingers||u.fingers===xe||!r||R()){c=ae(i.start,i.end),p=ae(i.last,i.end);var l,a=e,r=p;if(!1!==u.preventDefaultEvents)if(u.allowPageScroll===fe)a.preventDefault();else{var o=u.allowPageScroll===ge;switch(r){case ue:(u.swipeLeft&&o||!o&&u.allowPageScroll!=Ee)&&a.preventDefault();break;case se:(u.swipeRight&&o||!o&&u.allowPageScroll!=Ee)&&a.preventDefault();break;case ce:(u.swipeUp&&o||!o&&u.allowPageScroll!=me)&&a.preventDefault();break;case pe:(u.swipeDown&&o||!o&&u.allowPageScroll!=me)&&a.preventDefault()}}e=i.start,r=i.end,s=Math.round(Math.sqrt(Math.pow(r.x-e.x,2)+Math.pow(r.y-e.y,2))),h=ie(),r=c,e=s,e=Math.max(e,re(r)),T[r].distance=e,n=P(t,b),u.triggerOnTouchEnd&&!u.triggerOnTouchLeave||(r=!0,u.triggerOnTouchLeave&&(l={left:(l=(e=oe(e=this)).offset()).left,right:l.left+e.outerWidth(),top:l.top,bottom:l.top+e.outerHeight()},e=i.end,i=l,r=e.x>i.left&&e.x<i.right&&e.y>i.top&&e.y<i.bottom),!u.triggerOnTouchEnd&&r?b=X(Me):u.triggerOnTouchLeave&&!r&&(b=X(De)),b!=Pe&&b!=De)||P(t,b)}else P(t,b=Pe);!1===n&&P(t,b=Pe)}}function q(e){var t,n=e.originalEvent||e,r=n.touches;if(r){if(r.length&&!k())return t=n,x=U(),H=t.touches.length+1,!0;if(r.length&&k())return!0}return k()&&(y=H),m=U(),h=ie(),V()||!Y()?P(n,b=Pe):u.triggerOnTouchEnd||0==u.triggerOnTouchEnd&&b===Me?(!1!==u.preventDefaultEvents&&e.preventDefault(),P(n,b=De)):!u.triggerOnTouchEnd&&K()?L(n,b=De,Te):b===Me&&P(n,b=Pe),j(!1),null}function D(){f=d=o=m=y=0,te(),j(!(g=1))}function C(e){e=e.originalEvent||e;u.triggerOnTouchLeave&&P(e,b=X(De))}function F(){a.unbind(t,Q),a.unbind(l,D),a.unbind(n,_),a.unbind(r,q),i&&a.unbind(i,C),j(!1)}function X(e){var t=e,n=W(),r=Y(),i=V();return!n||i?t=Pe:!r||e!=Me||u.triggerOnTouchEnd&&!u.triggerOnTouchLeave?!r&&e==De&&u.triggerOnTouchLeave&&(t=Pe):t=De,t}function P(e,t){var n,r=e.touches;return(G()&&Z()||Z())&&(n=L(e,t,we)),(z()&&R()||R())&&!1!==n&&(n=L(e,t,ve)),ee()&&$()&&!1!==n?n=L(e,t,be):h>u.longTapThreshold&&s<Se&&u.longTap&&!1!==n?n=L(e,t,ye):1!==y&&Le||!(isNaN(s)||s<u.threshold)||!K()||!1===n||(n=L(e,t,Te)),t===Pe&&(Z()&&(n=L(e,t,we)),R()&&(n=L(e,t,ve)),D()),t!==De||r&&r.length||D(),n}function L(e,t,n){var r;if(n==we){if(a.trigger("swipeStatus",[t,c||null,s||0,h||0,y,E,p]),u.swipeStatus&&!1===(r=u.swipeStatus.call(a,e,t,c||null,s||0,h||0,y,E,p)))return!1;if(t==De&&G()){if(clearTimeout(O),clearTimeout(M),a.trigger("swipe",[c,s,h,y,E,p]),u.swipe&&!1===(r=u.swipe.call(a,e,c,s,h,y,E,p)))return!1;switch(c){case ue:a.trigger("swipeLeft",[c,s,h,y,E,p]),u.swipeLeft&&(r=u.swipeLeft.call(a,e,c,s,h,y,E,p));break;case se:a.trigger("swipeRight",[c,s,h,y,E,p]),u.swipeRight&&(r=u.swipeRight.call(a,e,c,s,h,y,E,p));break;case ce:a.trigger("swipeUp",[c,s,h,y,E,p]),u.swipeUp&&(r=u.swipeUp.call(a,e,c,s,h,y,E,p));break;case pe:a.trigger("swipeDown",[c,s,h,y,E,p]),u.swipeDown&&(r=u.swipeDown.call(a,e,c,s,h,y,E,p))}}}if(n==ve){if(a.trigger("pinchStatus",[t,v||null,w||0,h||0,y,g,E]),u.pinchStatus&&!1===(r=u.pinchStatus.call(a,e,t,v||null,w||0,h||0,y,g,E)))return!1;if(t==De&&z())switch(v){case he:a.trigger("pinchIn",[v||null,w||0,h||0,y,g,E]),u.pinchIn&&(r=u.pinchIn.call(a,e,v||null,w||0,h||0,y,g,E));break;case de:a.trigger("pinchOut",[v||null,w||0,h||0,y,g,E]),u.pinchOut&&(r=u.pinchOut.call(a,e,v||null,w||0,h||0,y,g,E))}}return n==Te?t!==Pe&&t!==De||(clearTimeout(O),clearTimeout(M),$()&&!ee()?(S=U(),O=setTimeout(oe.proxy(function(){S=null,a.trigger("tap",[e.target]),u.tap&&(r=u.tap.call(a,e,e.target))},this),u.doubleTapThreshold)):(S=null,a.trigger("tap",[e.target]),u.tap&&(r=u.tap.call(a,e,e.target)))):n==be?t!==Pe&&t!==De||(clearTimeout(O),clearTimeout(M),S=null,a.trigger("doubletap",[e.target]),u.doubleTap&&(r=u.doubleTap.call(a,e,e.target))):n!=ye||t!==Pe&&t!==De||(clearTimeout(O),S=null,a.trigger("longtap",[e.target]),u.longTap&&(r=u.longTap.call(a,e,e.target))),r}function Y(){var e=!0;return e=null!==u.threshold?s>=u.threshold:e}function V(){var e=!1;return e=null!==u.cancelThreshold&&null!==c?re(c)-s>=u.cancelThreshold:e}function W(){var e=!(u.maxTimeThreshold&&h>=u.maxTimeThreshold);return e}function z(){var e=B(),t=J(),n=null===u.pinchThreshold||w>=u.pinchThreshold;return e&&t&&n}function R(){return u.pinchStatus||u.pinchIn||u.pinchOut}function G(){var e=W(),t=Y(),n=B(),r=J();return!V()&&r&&n&&t&&e}function Z(){return u.swipe||u.swipeStatus||u.swipeLeft||u.swipeRight||u.swipeUp||u.swipeDown}function B(){return y===u.fingers||u.fingers===xe||!Le}function J(){return 0!==E[0].end.x}function K(){return!!u.tap}function $(){return!!u.doubleTap}function ee(){var e;return null!=S&&(e=U(),$())&&e-S<=u.doubleTapThreshold}function te(){H=x=0}function k(){var e=!1;return e=x&&U()-x<=u.fingerReleaseThreshold?!0:e}function j(e){a&&(!0===e?(a.bind(n,_),a.bind(r,q),i&&a.bind(i,C)):(a.unbind(n,_,!1),a.unbind(r,q,!1),i&&a.unbind(i,C,!1)),a.data(je+"_intouch",!0===e))}function A(e,t){var n={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return n.start.x=n.last.x=n.end.x=t.pageX||t.clientX,n.start.y=n.last.y=n.end.y=t.pageY||t.clientY,E[e]=n}function ne(e){var t=void 0!==e.identifier?e.identifier:0,n=E[t]||null;return(n=null===n?A(t,e):n).last.x=n.end.x,n.last.y=n.end.y,n.end.x=e.pageX||e.clientX,n.end.y=e.pageY||e.clientY,n}function re(e){if(T[e])return T[e].distance}function I(e){return{direction:e,distance:0}}function ie(){return m-o}function le(e,t){var n=Math.abs(e.x-t.x),e=Math.abs(e.y-t.y);return Math.round(Math.sqrt(n*n+e*e))}function ae(e,t){var n,r;n=t,r=(e=e).x-t.x,n=Math.atan2(t.y-e.y,r),e=(e=Math.round(180*n/Math.PI))<0?360-Math.abs(e):e;return e<=45&&0<=e||e<=360&&315<=e?ue:135<=e&&e<=225?se:45<e&&e<135?pe:ce}function U(){return(new Date).getTime()}this.enable=function(){return a.bind(t,Q),a.bind(l,D),a},this.disable=function(){return F(),a},this.destroy=function(){F(),a.data(je,null),a=null},this.option=function(e,t){if("object"==typeof e)u=oe.extend(u,e);else if(void 0!==u[e]){if(void 0===t)return u[e];u[e]=t}else{if(!e)return u;oe.error("Option "+e+" does not exist on jQuery.swipe.options")}return null}}oe.fn.swipe=function(e){var t=oe(this),n=t.data(je);if(n&&"string"==typeof e){if(n[e])return n[e].apply(this,Array.prototype.slice.call(arguments,1));oe.error("Method "+e+" does not exist on jQuery.swipe")}else if(n&&"object"==typeof e)n.option.apply(this,arguments);else if(!(n||"object"!=typeof e&&e))return function(n){!n||void 0!==n.allowPageScroll||void 0===n.swipe&&void 0===n.swipeStatus||(n.allowPageScroll=fe);void 0!==n.click&&void 0===n.tap&&(n.tap=n.click);n=n||{};return n=oe.extend({},oe.fn.swipe.defaults,n),this.each(function(){var e,t=oe(this);t.data(je)||(e=new r(this,n),t.data(je,e))})}.apply(this,arguments);return t},oe.fn.swipe.version="1.6.15",oe.fn.swipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:"label, button, input, select, textarea, a, .noSwipe",preventDefaultEvents:!0},oe.fn.swipe.phases={PHASE_START:Oe,PHASE_MOVE:Me,PHASE_END:De,PHASE_CANCEL:Pe},oe.fn.swipe.directions={LEFT:ue,RIGHT:se,UP:ce,DOWN:pe,IN:he,OUT:de},oe.fn.swipe.pageScroll={NONE:fe,HORIZONTAL:Ee,VERTICAL:me,AUTO:ge},oe.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:xe}});
/*
 	stackgrid.adem.js - adwm.co    
	Licensed under the MIT license - http://opensource.org/licenses/MIT
	Copyright (C) 2015 Andrew Prasetya
*/
((W,S,P)=>{function n(t,e){var m=S.extend({},S.fn.collagePlus.defaults,e),f=S(t).addClass("rbs-imges-container"),p=".rbs-img",g=".rbs-img-image",o="rbs-img",u="rbs-img-hidden",h=ModernizrL.csstransitions?"transition":"animate",i={},n=0,s=("default"==m.overlayEasing&&(m.overlayEasing="transition"==h?"_default":"swing"),S('<div class="rbs-imges-load-more button"></div>').insertAfter(f));s.wrap('<div class="rbs_gallery_button  rbs_gallery_button_bottom"></div>'),s.addClass(m.loadMoreClass),m.debug&&console.log(f.attr("id")+"Init LoadMore After create "),m.resolutions.sort(function(t,e){return t.maxWidth-e.maxWidth}),f.data("settings",m),f.css({"margin-left":-m.horizontalSpaceBetweenBoxes}),f.find(p).removeClass(o).addClass(u);var t=(e=S(m.sortContainer).find(m.sort).filter(".selected")).attr("data-sort-by"),e=M(e);function b(o,n){function i(t){var e=S(t.img),i=e.parents(".image-with-dimensions");i[0]!=P&&(t.isLoaded?e.fadeIn(400,function(){i.removeClass("image-with-dimensions")}):(i.removeClass("image-with-dimensions"),e.hide(),i.addClass("broken-image-here")))}o.find(p).find(g+":not([data-imageconverted])").each(function(){var t=S(this),e=t.find("div[data-thumbnail]").eq(0),i=t.find("div[data-popup]").eq(0),a=e.data("thumbnail");e[0]==P&&(a=(e=i).data("popup")),(0!=n||0!=o.data("settings").waitForAllThumbsNoMatterWhat||e.data("width")==P&&e.data("height")==P)&&(t.attr("data-imageconverted","yes"),(i=e.attr("title"))==P&&(i=a),(t=S('<img style="margin:auto !important;" alt="" title="" src="'+a+'" />')).attr("title",i),t.attr("alt",i),1==n&&(t.attr("data-dont-wait-for-me","yes"),e.addClass("image-with-dimensions"),o.data("settings").waitUntilThumbLoads)&&t.hide(),e.addClass("rbs-img-thumbnail-container").prepend(t))}),1==n&&o.find(".image-with-dimensions").imagesLoadedMB().always(function(t){for(index in t.images)i(t.images[index])}).progress(function(t,e){i(e)})}function v(n){n.find(p).each(function(){var t=S(this),e=t.find(g),i=e.find("div[data-thumbnail]").eq(0),a=e.find("div[data-popup]").eq(0),a=(i[0]==P&&(i=a),t.css("display")),o=("none"==a&&t.css("margin-top",99999999999999).show(),2*n.data("settings").borderSize);e.width(i.width()-o),e.height(i.height()-o),"none"==a&&t.css("margin-top",0).hide()})}function w(o){o.find(p).find(g).each(function(){var t=S(this),e=t.find("div[data-thumbnail]").eq(0),i=t.find("div[data-popup]").eq(0),i=(e[0]==P&&(e=i),parseFloat(e.data("width"))),a=parseFloat(e.data("height")),t=t.parents(p).width()-o.data("settings").horizontalSpaceBetweenBoxes,a=a*t/i;e.css("width",t),e.data("width")==P&&e.data("height")==P||e.css("height",Math.floor(a))})}function r(t,e,a){var i=t.find(p),o="auto"==e?Math.floor((t.width()-1)/a):e;t.find(".rbs-imges-grid-sizer").css("width",o),i.each(function(t){var e=S(this),i=e.data("columns");i!=P&&parseInt(a)>=parseInt(i)?e.css("width",o*parseInt(i)):e.css("width",o)})}function y(t){var e,i,a,o=!1;for(e in t.data("settings").resolutions){var n=t.data("settings").resolutions[e];if(n.maxWidth>=(a=i=void 0,a="inner","innerWidth"in(i=W)||(a="client",i=document.documentElement||document.body),[i[a+"Width"],i[a+"Height"]][0])){r(t,n.columnWidth,n.columns),o=!0;break}}0==o&&r(t,t.data("settings").columnWidth,t.data("settings").columns)}function d(t,e){f.addClass("filtering-isotope"),l(t,e),t=f.find(p+", ."+u),e=x(),t.filter(e).removeClass("hidden-rbs-imges-by-filter").addClass("visible-rbs-imges-by-filter"),t.not(e).addClass("hidden-rbs-imges-by-filter").removeClass("visible-rbs-imges-by-filter"),a()}function a(){(0<c().not(".rbs-img-loaded").length?C:B)();var t=c().length;t<m.minBoxesPerFilter&&0<k().length&&L(m.minBoxesPerFilter-t)}function l(t,e){i[e]=t,f.eveMB({filter:(t=>{for(var e in t)(a=t[e])==P&&(t[e]="*");var i="";for(e in t){var a=t[e];(""==i||i.split(",").length<a.split(",").length)&&(i=e)}var o=t[i];for(e in t)if(e!=i)for(var n=t[e].split(","),s=0;s<n.length;s++){for(var r=o.split(","),d=[],l=0;l<r.length;l++)"*"==r[l]&&"*"==n[s]?n[s]="":("*"==n[s]&&(n[s]=""),"*"==r[l]&&(r[l]="")),d.push(r[l]+n[s]);o=d.join(",")}return o})(i)})}function c(){var t=f.find(p),e=x();return t="*"!=e?t.filter(e):t}function x(){var t=f.data("eveMB").options.filter;return t=""!=t&&t!=P?t:"*"}function k(t){var e=f.find("."+u),i=x();return e="*"!=i&&t==P?e.filter(i):e}function C(){m.debug&&console.log(f.attr("id")+" run function loading"),s.html(m.LoadingWord),s.removeClass("rbs-imges-load-more"),s.addClass("rbs-imges-loading")}function B(){m.debug&&console.log(f.attr("id")+" run function fixLoadMoreButton"),s.removeClass("rbs-imges-load-more"),s.removeClass("rbs-imges-loading"),s.removeClass("rbs-imges-no-more-entries"),0<k().length?(s.html(m.loadMoreWord),s.addClass("rbs-imges-load-more")):(s.html(m.noMoreEntriesWord),s.addClass("rbs-imges-no-more-entries"))}function L(i,t){var a;m.debug&&console.log(f.attr("id")+" run function loadMore  - 1"),1==s.hasClass("rbs-imges-no-more-entries")?m.debug&&console.log(f.attr("id")+" run function loadMore  - no more entries "):(m.debug&&console.log(f.attr("id")+" run function loadMore - 2"),m.debug&&console.log(f.attr("id")+" run function startLoading"),n++,C(),a=[],k(t).each(function(t){var e=S(this);t+1<=i?(e.removeClass(u).addClass(o),e.hide(),a.push(this)):m.debug&&console.log(f.attr("id")+" run function loadMore - hiddenBoxesWaitingToLoad = 0")}),f.eveMB("insert",S(a),function(){m.debug&&console.log(f.attr("id")+" run insert (newboxes) ",a),n--,m.debug&&console.log(f.attr("id")+" run function FinishLoading (loadingsCounter)="+n),0==n?B():n<=0&&(console.log("loadingsCounter was fixed"),B()),f.eveMB("layout")}))}if(f.append('<div class="rbs-imges-grid-sizer"></div>'),f.eveMB({itemSelector:p,masonry:{columnWidth:".rbs-imges-grid-sizer"},getSortData:m.getSortData,sortBy:t,sortAscending:e}),m.debug&&console.log(f.attr("id")+"Init addPOPUPTriger  function"),m.debug&&console.log(f.attr("id")+"Init convertDivs  function"),m.debug&&console.log(f.attr("id")+"Init setDimensionsToImageContainer function"),S.extend(EveMB.prototype,{resize:function(){var i,t=S(this.element);y(t),w(t),v(t),(i=t).find(p).each(function(){var t=S(this).find(g),e=i.data("settings").overlayEffect;"direction"==(e=t.data("overlay-effect")!=P?t.data("overlay-effect"):e).substr(0,9)&&t.find(".thumbnail-overlay").hide()}),i.eveMB("layout"),this.isResizeBound&&this.needsResizeLayout()&&this.layout()}}),S.extend(EveMB.prototype,{_setContainerMeasure:function(t,e){var i;t!==P&&((i=this.size).isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px",i=S(this.element),S.waypoints("refresh"),i.addClass("lazy-load-ready"),i.removeClass("filtering-isotope"))}}),S.extend(EveMB.prototype,{insert:function(t,i){var a=this.addItems(t);if(a.length){for(var e,o=S(this.element),n=o.find("."+u)[0],s=a.length,r=0;r<s;r++)e=a[r],n!=P?this.element.insertBefore(e.element,n):this.element.appendChild(e.element);var d,l=function(t){var e=S(t.img),i=e.parents("div[data-thumbnail], div[data-popup]");0==t.isLoaded&&(e.hide(),i.addClass("broken-image-here"))},c=this;t=o,d=S('<div class="rbs-img-container"></div').css({"margin-left":t.data("settings").horizontalSpaceBetweenBoxes,"margin-bottom":t.data("settings").verticalSpaceBetweenBoxes}),t.find(p+":not([data-wrapper-added])").attr("data-wrapper-added","yes").wrapInner(d),y(o),w(o),o.find(p+", ."+u).find(g+":not([data-popupTrigger])").each(function(){var t=S(this),e=t.find("div[data-popup]").eq(0),i=(t.attr("data-popupTrigger","yes"),"mfp-image"),t=("iframe"==e.data("type")?i="mfp-iframe":"inline"==e.data("type")?i="mfp-inline":"ajax"==e.data("type")?i="mfp-ajax":"link"==e.data("type")?i="mfp-link":"blanklink"==e.data("type")&&(i="mfp-blanklink"),t.find(".rbs-lightbox").addBack(".rbs-lightbox"));t.attr("data-mfp-src",e.data("popup")).addClass(i),e.attr("title")!=P&&t.attr("mfp-title",e.attr("title")),e.attr("data-alt")!=P&&t.attr("mfp-alt",e.attr("data-alt"))}),b(o,!1),o.find("img:not([data-dont-wait-for-me])").imagesLoadedMB().always(function(){var t;for(index in 0==m.waitForAllThumbsNoMatterWhat&&b(o,!0),o.find(p).addClass("rbs-img-loaded"),!function(){var t=this._filter(a);for(this._noTransition(function(){this.hide(t)}),r=0;r<s;r++)a[r].isLayoutInstant=!0;for(this.arrange(),r=0;r<s;r++)delete a[r].isLayoutInstant;this.reveal(t)}.call(c),v(o),t={container:t=o,container_settings:o.data("settings"),settings:m,$container:f,itemSelector:p,boxImageSelector:g,animation:h},roboEffectClass.trigger(t),"function"==typeof i&&i(),c.images){var e=c.images[index];l(e)}}).progress(function(t,e){l(e)})}}}),L(m.boxesToLoadStart,!0),s.on("click",function(){L(m.boxesToLoad)}),m.lazyLoad){m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad");let e=1;f.waypoint(function(t){f.hasClass("lazy-load-ready")&&(m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad initLazyLoad",e),"down"==t)&&0==f.hasClass("filtering-isotope")&&1!=e&&(m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad call"),f.removeClass("lazy-load-ready"),L(m.boxesToLoad))},{context:W,continuous:!0,enabled:!0,horizontal:!1,offset:"bottom-in-view",triggerOnce:!1}),e=0}function I(i){var t;i!=P&&(t=f.find("."+o+", ."+u),""==i?t.addClass("search-match"):(t.removeClass("search-match"),f.find(m.searchTarget).each(function(){var t=S(this),e=t.parents("."+o+", ."+u);-1!==t.text().toLowerCase().indexOf(i.toLowerCase())&&e.addClass("search-match")})),setTimeout(function(){d(".search-match","search")},100))}function M(t){var e=t.data("sort-ascending");return e==P&&(e=!0),t.data("sort-toggle")&&1==t.data("sort-toggle")&&t.data("sort-ascending",!e),e}function T(){var t;return"#!"!=location.hash.substr(0,2)?null:{hash:t=location.href.split("#!")[1],src:t}}function z(){var i,a,t=S.magnificPopup.instance;t&&(!(i=T())&&t.isOpen?t.close():i&&(t.isOpen&&t.currItem&&t.currItem.el.parents(".rbs-imges-container").attr("id")==i.id?t.currItem.el.attr("data-mfp-src")!=i.src&&(a=null,S.each(t.items,function(t,e){if((e.parsed?e.el:S(e)).attr("data-mfp-src")==i.src)return a=t,!1}),null!==a)&&t.goTo(a):f.filter('[id="'+i.id+'"]').find('.rbs-lightbox[data-mfp-src="'+i.src+'"]').trigger("click")))}function _(t){W.open(t,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200)}return(t=S(m.filterContainer)).find(m.filter).on("click",function(t){var e=S(this),i=e.parents(m.filterContainer);i.find(m.filter).removeClass(m.filterContainerSelectClass),e.addClass(m.filterContainerSelectClass);var a="filter";d(e.attr("data-filter"),a=i.data("id")!=P?i.data("id"):a),t.preventDefault(),s.is(".rbs-imges-no-more-entries")||s.trigger("click")}),t.each(function(){var t,e=S(this),i=e.find(m.filter).filter(".selected");i[0]!=P&&(t="filter",l(i.attr("data-filter"),t=e.data("id")!=P?e.data("id"):t))}),a(),I(S(m.search).val()),S(m.search).on("keyup",function(){I(S(this).val())}),S(m.sortContainer).find(m.sort).on("click",function(t){var e=S(this),i=(e.parents(m.sortContainer).find(m.sort).removeClass("selected"),e.addClass("selected"),e.attr("data-sort-by"));f.eveMB({sortBy:i,sortAscending:M(e)}),t.preventDefault()}),e=".rbs-lightbox[data-mfp-src]",m.considerFilteringInPopup&&(e=p+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src], ."+u+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src]"),m.showOnlyLoadedBoxesInPopup&&(e=p+":visible .rbs-lightbox[data-mfp-src]"),m.magnificPopup&&(t={delegate:e,type:"image",removalDelay:200,closeOnContentClick:!1,alignTop:m.alignTop,preload:m.preload,mainClass:"my-mfp-slide-bottom",gallery:{enabled:m.gallery},protectionEnable:m.protectionEnable,closeMarkup:'<button title="%title%" class="mfp-close"></button>',titleSrc:"title",iframe:{patterns:{youtube:{index:"youtube.com/",id:"v=",src:"https://www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"https://player.vimeo.com/video/%id%?autoplay=1"}},markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe><div class="mfp-bottom-bar" style="margin-top:4px;"><div class="mfp-title"></div><div class="mfp-counter"></div></div></div>'},callbacks:{change:function(){var o=S(this.currItem.el);return o.is(".mfp-link")?(W.location.href=S(this.currItem).attr("src"),!1):o.is(".mfp-blanklink")?(W.open(S(this.currItem).attr("src")),setTimeout(function(){S.magnificPopup.instance.close()},5),!1):(setTimeout(function(){m.descBox&&(S(".mfp-desc-block").remove(),void 0!==(t=o.attr("data-descbox")))&&(S(".mfp-img").after("<div class='mfp-desc-block "+m.descBoxClass+"'></div>"),S(".mfp-img").next(".mfp-desc-block").text(t)),o.attr("mfp-title")==P||m.hideTitle?S(".mfp-title").text(""):S(".mfp-title").text(o.attr("mfp-title"));var t=o.attr("data-mfp-src"),e=(m.hideSourceImage&&S(".mfp-title").append('<a class="image-source-link rrr" href="'+t+'" target="_blank"></a>'),location.href),i=(location.href.replace(location.hash,""),o.attr("mfp-title")),a=o.attr("mfp-alt");""==a&&(a=i),S(".mfp-img").attr("alt",a),(m.facebook||m.twitter||m.googleplus||m.pinterest||m.vk)&&(a=S("<div class='rbs-imges-social-container'></div>"),m.facebook&&a.append("<div class='rbs-imges-facebook fa fa-facebook-square' data-src="+t+" data-url='"+e+"'><div class='robo_gallery_hide_block'></div></div>"),m.twitter&&a.append("<div class='rbs-imges-twitter fa fa-twitter-square'  data-src="+t+" data-url='"+e+"'><div class='robo_gallery_hide_block'></div></div>"),m.googleplus&&a.append("<div class='rbs-imges-googleplus fa fa-google-plus-square'  data-src="+t+" data-url='"+e+"'></div>"),m.pinterest&&a.append("<div class='rbs-imges-pinterest fa fa-pinterest-square' data-src='"+t+"' data-url='"+e+"' ><div class='robo_gallery_hide_block'></div></div>"),m.vk&&a.append("<div class='rbs-imges-vk fa fa-vk' data-src='"+t+"' data-url='"+e+"' ><div class='robo_gallery_hide_block'></div></div>"),a.find(".robo_gallery_hide_block").text(i),S(".mfp-title").append(a))},5),void(m.deepLinking&&(location.hash="#!"+o.attr("data-mfp-src"))))},beforeOpen:function(){S("body").addClass("robo-lightbox-id"+m.id).swipe("enable"),this.container.data("scrollTop",parseInt(S(W).scrollTop()))},open:function(){S("html, body").scrollTop(this.container.data("scrollTop"))},close:function(){S("body").removeClass("robo-lightbox-id"+m.id).swipe("disable"),m.deepLinking&&(W.location.hash="#!")}}},S.extend(t,m.lightboxOptions),f.magnificPopup(t)),m.deepLinking&&((e=T())&&f.find('.rbs-lightbox[data-mfp-src="'+e.src+'"]').trigger("click"),W.addEventListener?W.addEventListener("hashchange",z,!1):W.attachEvent&&W.attachEvent("onhashchange",z)),S("body").on("click","div.rbs-imges-facebook",function(){var t=S(this),e=encodeURIComponent(t.find("div").text()),i=encodeURIComponent(t.data("url")),t=encodeURIComponent(t.data("src"));_("https://www.facebook.com/sharer/sharer.php?u="+i+"&picture="+t+"&title="+e)}),S("body").on("click","div.rbs-imges-twitter",function(){var t=S(this),e=encodeURIComponent(t.data("url")),t=encodeURIComponent(t.find("div").text());_("https://twitter.com/intent/tweet?url="+e+"&text="+t)}),S("body").on("click","div.rbs-imges-googleplus",function(){var t=S(this),t=encodeURIComponent(t.data("url"));_("https://plus.google.com/share?url="+t)}),S("body").on("click","div.rbs-imges-pinterest",function(){var t=S(this),e=encodeURIComponent(t.data("url")),i=encodeURIComponent(t.data("src")),t=encodeURIComponent(t.find("div").text());_("http://pinterest.com/pin/create/button/?url="+e+"&media="+i+"&description="+t)}),S("body").on("click","div.rbs-imges-vk",function(){var t=S(this),e=encodeURIComponent(t.data("url")),i=encodeURIComponent(t.data("src")),t=encodeURIComponent(t.find("div").text());_("http://vk.com/share.php?url="+e+"&image="+i+"&title="+t)}),this}function t(t){var e,i=t.find(".rbs-imges-drop-down-menu"),a=t.find(".rbs-imges-drop-down-header");function o(){i.hide()}function n(){i.show()}function s(){var t=i.find(".selected"),t=t.length?t.parents("li"):i.children().first();a.html(t.clone().find("a").append('<span class="fa fa-sort-desc"></span>').end().html())}function r(t){t.preventDefault(),t.stopPropagation(),S(this).parents("li").siblings("li").find("a").removeClass("selected").end().end().find("a").addClass("selected"),s()}s(),t=!1,e=navigator.userAgent||navigator.vendor||W.opera,((t=!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))||t)?(S("body").on("click",function(){i.is(":visible")&&o()}),a.on("click",function(t){t.stopPropagation(),(i.is(":visible")?o:n)()}),i.find("> li > *")):(a.on("mouseout",o).on("mouseover",n),i.find("> li > *").on("mouseout",o).on("mouseover",n))).on("click",r),a.on("click","a",function(t){t.preventDefault()})}S.fn.collagePlus=function(o){return this.each(function(t,e){var i=S(this);if(i.data("collagePlus"))return i.data("collagePlus");var a=new n(this,o);i.data("collagePlus",a),S(".thumbnail-overlay a",this).on("click",function(t){t.preventDefault();t=S(this).attr("href");return"_blank"==S(this).attr("target")?W.open(t,"_blank"):location.href=t,!1})})},S.fn.collagePlus.defaults={debug:!1,boxesToLoadStart:8,boxesToLoad:4,minBoxesPerFilter:0,lazyLoad:!0,horizontalSpaceBetweenBoxes:15,verticalSpaceBetweenBoxes:15,columnWidth:"auto",columns:3,borderSize:0,resolutions:[{maxWidth:960,columnWidth:"auto",columns:3},{maxWidth:650,columnWidth:"auto",columns:2},{maxWidth:450,columnWidth:"auto",columns:1}],filterContainer:"#filter",filterContainerSelectClass:"active",filter:"a",search:"",searchTarget:".rbs-img-title",sortContainer:"",sort:"a",getSortData:{title:".rbs-img-title",text:".rbs-img-text"},waitUntilThumbLoads:!0,waitForAllThumbsNoMatterWhat:!1,thumbnailOverlay:!0,overlayEffect:"fade",overlaySpeed:200,overlayEasing:"default",showOnlyLoadedBoxesInPopup:!1,considerFilteringInPopup:!0,deepLinking:!1,gallery:!0,LoadingWord:"Loading...",loadMoreWord:"Load More",loadMoreClass:"",noMoreEntriesWord:"No More Entries",alignTop:!1,preload:[0,2],magnificPopup:!0,facebook:!1,twitter:!1,googleplus:!1,pinterest:!1,vk:!1,hideTitle:!1,hideCounter:!1,lightboxOptions:{},hideSourceImage:!1,touch:!0,descBox:!1,descBoxClass:"",descBoxSource:"",id:0,protectionEnable:!1,effectType:"baseEffect",effectStyle:!1},S(".rbs-imges-drop-down").each(function(){t(S(this))})})(window,window.rbjQuer||window.jQuery);
/*
*      RoboGallery Script Version: 1.0
*      Copyright (c) 2014-2019, Robosoft. All rights reserved.
*      Available only in  https://robosoft.co/robogallery/ 
*/
{function robo_gallery_js_check_mobile(){var e,o=!1;return e=navigator.userAgent||navigator.vendor||window.opera,o=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4))?!0:o}}((n,r,l)=>{r(".robo_gallery").on("click",".rbs-lightbox.mfp-link",function(e){e.preventDefault(),n.location.href=r(this).data("mfp-src")}),r(".robo_gallery").each(function(){var e=n[r(this).data("options")],e=r.extend({},e);e.noHoverOnMobile&&robo_gallery_js_check_mobile()&&(e.thumbnailOverlay=!1),r(this).on("beforeInitGallery",function(e){e.preventDefault(),console.log("beforeInitGallery")}),r(e.mainContainer).css("display","block"),e.filterContainer!=l&&r(e.filterContainer).css("display","block");r(e.loadingContainer).css("display","none");var o=r(this).collagePlus(e),i={threshold:50},a="swipeRight",t="swipeLeft";e.touchRtl&&(a="swipeLeft",t="swipeRight"),i[t]=function(e,o,i,a,t){r(".mfp-arrow-left").magnificPopup("prev")},i[a]=function(){r(".mfp-arrow-right").magnificPopup("next")},r("body").swipe(i),r("body").swipe("disable"),e.roboGalleryDelay!=l&&0<e.roboGalleryDelay&&setTimeout(function(){o.eveMB("resize")},e.roboGalleryDelay)})})(window,window.rbjQuer||window.jQuery);