// source --> https://www.larochebeaucourt.fr/wp-includes/js/jquery/jquery.min.js?ver=3.7.1 
/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;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,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,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(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===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]||I.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]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(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:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?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=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!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!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[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?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;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&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.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.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.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||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.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})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.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=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[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 "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
jQuery.noConflict();
// source --> https://www.larochebeaucourt.fr/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1 
/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={},r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});
// source --> https://www.larochebeaucourt.fr/wp-content/plugins/lbg_zoominoutslider/zoominoutslider/js/jquery.touchSwipe.min.js?ver=224eecded61822e685e79150a571c0fd 
/*!
 * @fileOverview TouchSwipe - jQuery Plugin
 * @version 1.6.18
 *
 * @author Matt Bryson http://www.github.com/mattbryson
 * @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
 * @see http://labs.rampinteractive.co.uk/touchSwipe/
 * @see http://plugins.jquery.com/project/touchSwipe
 * @license
 * Copyright (c) 2010-2015 Matt Bryson
 * Dual licensed under the MIT or GPL Version 2 licenses.
 *
 */
!function(factory){"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],factory):factory("undefined"!=typeof module&&module.exports?require("jquery"):jQuery)}(function($){"use strict";function init(options){return!options||void 0!==options.allowPageScroll||void 0===options.swipe&&void 0===options.swipeStatus||(options.allowPageScroll=NONE),void 0!==options.click&&void 0===options.tap&&(options.tap=options.click),options||(options={}),options=$.extend({},$.fn.swipe.defaults,options),this.each(function(){var $this=$(this),plugin=$this.data(PLUGIN_NS);plugin||(plugin=new TouchSwipe(this,options),$this.data(PLUGIN_NS,plugin))})}function TouchSwipe(element,options){function touchStart(jqEvent){if(!(getTouchInProgress()||$(jqEvent.target).closest(options.excludedElements,$element).length>0)){var event=jqEvent.originalEvent?jqEvent.originalEvent:jqEvent;if(!event.pointerType||"mouse"!=event.pointerType||0!=options.fallbackToMouseEvents){var ret,touches=event.touches,evt=touches?touches[0]:event;return phase=PHASE_START,touches?fingerCount=touches.length:options.preventDefaultEvents!==!1&&jqEvent.preventDefault(),distance=0,direction=null,currentDirection=null,pinchDirection=null,duration=0,startTouchesDistance=0,endTouchesDistance=0,pinchZoom=1,pinchDistance=0,maximumsMap=createMaximumsData(),cancelMultiFingerRelease(),createFingerData(0,evt),!touches||fingerCount===options.fingers||options.fingers===ALL_FINGERS||hasPinches()?(startTime=getTimeStamp(),2==fingerCount&&(createFingerData(1,touches[1]),startTouchesDistance=endTouchesDistance=calculateTouchesDistance(fingerData[0].start,fingerData[1].start)),(options.swipeStatus||options.pinchStatus)&&(ret=triggerHandler(event,phase))):ret=!1,ret===!1?(phase=PHASE_CANCEL,triggerHandler(event,phase),ret):(options.hold&&(holdTimeout=setTimeout($.proxy(function(){$element.trigger("hold",[event.target]),options.hold&&(ret=options.hold.call($element,event,event.target))},this),options.longTapThreshold)),setTouchInProgress(!0),null)}}}function touchMove(jqEvent){var event=jqEvent.originalEvent?jqEvent.originalEvent:jqEvent;if(phase!==PHASE_END&&phase!==PHASE_CANCEL&&!inMultiFingerRelease()){var ret,touches=event.touches,evt=touches?touches[0]:event,currentFinger=updateFingerData(evt);if(endTime=getTimeStamp(),touches&&(fingerCount=touches.length),options.hold&&clearTimeout(holdTimeout),phase=PHASE_MOVE,2==fingerCount&&(0==startTouchesDistance?(createFingerData(1,touches[1]),startTouchesDistance=endTouchesDistance=calculateTouchesDistance(fingerData[0].start,fingerData[1].start)):(updateFingerData(touches[1]),endTouchesDistance=calculateTouchesDistance(fingerData[0].end,fingerData[1].end),pinchDirection=calculatePinchDirection(fingerData[0].end,fingerData[1].end)),pinchZoom=calculatePinchZoom(startTouchesDistance,endTouchesDistance),pinchDistance=Math.abs(startTouchesDistance-endTouchesDistance)),fingerCount===options.fingers||options.fingers===ALL_FINGERS||!touches||hasPinches()){if(direction=calculateDirection(currentFinger.start,currentFinger.end),currentDirection=calculateDirection(currentFinger.last,currentFinger.end),validateDefaultEvent(jqEvent,currentDirection),distance=calculateDistance(currentFinger.start,currentFinger.end),duration=calculateDuration(),setMaxDistance(direction,distance),ret=triggerHandler(event,phase),!options.triggerOnTouchEnd||options.triggerOnTouchLeave){var inBounds=!0;if(options.triggerOnTouchLeave){var bounds=getbounds(this);inBounds=isInBounds(currentFinger.end,bounds)}!options.triggerOnTouchEnd&&inBounds?phase=getNextPhase(PHASE_MOVE):options.triggerOnTouchLeave&&!inBounds&&(phase=getNextPhase(PHASE_END)),phase!=PHASE_CANCEL&&phase!=PHASE_END||triggerHandler(event,phase)}}else phase=PHASE_CANCEL,triggerHandler(event,phase);ret===!1&&(phase=PHASE_CANCEL,triggerHandler(event,phase))}}function touchEnd(jqEvent){var event=jqEvent.originalEvent?jqEvent.originalEvent:jqEvent,touches=event.touches;if(touches){if(touches.length&&!inMultiFingerRelease())return startMultiFingerRelease(event),!0;if(touches.length&&inMultiFingerRelease())return!0}return inMultiFingerRelease()&&(fingerCount=fingerCountAtRelease),endTime=getTimeStamp(),duration=calculateDuration(),didSwipeBackToCancel()||!validateSwipeDistance()?(phase=PHASE_CANCEL,triggerHandler(event,phase)):options.triggerOnTouchEnd||options.triggerOnTouchEnd===!1&&phase===PHASE_MOVE?(options.preventDefaultEvents!==!1&&jqEvent.cancelable!==!1&&jqEvent.preventDefault(),phase=PHASE_END,triggerHandler(event,phase)):!options.triggerOnTouchEnd&&hasTap()?(phase=PHASE_END,triggerHandlerForGesture(event,phase,TAP)):phase===PHASE_MOVE&&(phase=PHASE_CANCEL,triggerHandler(event,phase)),setTouchInProgress(!1),null}function touchCancel(){fingerCount=0,endTime=0,startTime=0,startTouchesDistance=0,endTouchesDistance=0,pinchZoom=1,cancelMultiFingerRelease(),setTouchInProgress(!1)}function touchLeave(jqEvent){var event=jqEvent.originalEvent?jqEvent.originalEvent:jqEvent;options.triggerOnTouchLeave&&(phase=getNextPhase(PHASE_END),triggerHandler(event,phase))}function removeListeners(){$element.unbind(START_EV,touchStart),$element.unbind(CANCEL_EV,touchCancel),$element.unbind(MOVE_EV,touchMove),$element.unbind(END_EV,touchEnd),LEAVE_EV&&$element.unbind(LEAVE_EV,touchLeave),setTouchInProgress(!1)}function getNextPhase(currentPhase){var nextPhase=currentPhase,validTime=validateSwipeTime(),validDistance=validateSwipeDistance(),didCancel=didSwipeBackToCancel();return!validTime||didCancel?nextPhase=PHASE_CANCEL:!validDistance||currentPhase!=PHASE_MOVE||options.triggerOnTouchEnd&&!options.triggerOnTouchLeave?!validDistance&&currentPhase==PHASE_END&&options.triggerOnTouchLeave&&(nextPhase=PHASE_CANCEL):nextPhase=PHASE_END,nextPhase}function triggerHandler(event,phase){var ret,touches=event.touches;return(didSwipe()||hasSwipes())&&(ret=triggerHandlerForGesture(event,phase,SWIPE)),(didPinch()||hasPinches())&&ret!==!1&&(ret=triggerHandlerForGesture(event,phase,PINCH)),didDoubleTap()&&ret!==!1?ret=triggerHandlerForGesture(event,phase,DOUBLE_TAP):didLongTap()&&ret!==!1?ret=triggerHandlerForGesture(event,phase,LONG_TAP):didTap()&&ret!==!1&&(ret=triggerHandlerForGesture(event,phase,TAP)),phase===PHASE_CANCEL&&touchCancel(event),phase===PHASE_END&&(touches?touches.length||touchCancel(event):touchCancel(event)),ret}function triggerHandlerForGesture(event,phase,gesture){var ret;if(gesture==SWIPE){if($element.trigger("swipeStatus",[phase,direction||null,distance||0,duration||0,fingerCount,fingerData,currentDirection]),options.swipeStatus&&(ret=options.swipeStatus.call($element,event,phase,direction||null,distance||0,duration||0,fingerCount,fingerData,currentDirection),ret===!1))return!1;if(phase==PHASE_END&&validateSwipe()){if(clearTimeout(singleTapTimeout),clearTimeout(holdTimeout),$element.trigger("swipe",[direction,distance,duration,fingerCount,fingerData,currentDirection]),options.swipe&&(ret=options.swipe.call($element,event,direction,distance,duration,fingerCount,fingerData,currentDirection),ret===!1))return!1;switch(direction){case LEFT:$element.trigger("swipeLeft",[direction,distance,duration,fingerCount,fingerData,currentDirection]),options.swipeLeft&&(ret=options.swipeLeft.call($element,event,direction,distance,duration,fingerCount,fingerData,currentDirection));break;case RIGHT:$element.trigger("swipeRight",[direction,distance,duration,fingerCount,fingerData,currentDirection]),options.swipeRight&&(ret=options.swipeRight.call($element,event,direction,distance,duration,fingerCount,fingerData,currentDirection));break;case UP:$element.trigger("swipeUp",[direction,distance,duration,fingerCount,fingerData,currentDirection]),options.swipeUp&&(ret=options.swipeUp.call($element,event,direction,distance,duration,fingerCount,fingerData,currentDirection));break;case DOWN:$element.trigger("swipeDown",[direction,distance,duration,fingerCount,fingerData,currentDirection]),options.swipeDown&&(ret=options.swipeDown.call($element,event,direction,distance,duration,fingerCount,fingerData,currentDirection))}}}if(gesture==PINCH){if($element.trigger("pinchStatus",[phase,pinchDirection||null,pinchDistance||0,duration||0,fingerCount,pinchZoom,fingerData]),options.pinchStatus&&(ret=options.pinchStatus.call($element,event,phase,pinchDirection||null,pinchDistance||0,duration||0,fingerCount,pinchZoom,fingerData),ret===!1))return!1;if(phase==PHASE_END&&validatePinch())switch(pinchDirection){case IN:$element.trigger("pinchIn",[pinchDirection||null,pinchDistance||0,duration||0,fingerCount,pinchZoom,fingerData]),options.pinchIn&&(ret=options.pinchIn.call($element,event,pinchDirection||null,pinchDistance||0,duration||0,fingerCount,pinchZoom,fingerData));break;case OUT:$element.trigger("pinchOut",[pinchDirection||null,pinchDistance||0,duration||0,fingerCount,pinchZoom,fingerData]),options.pinchOut&&(ret=options.pinchOut.call($element,event,pinchDirection||null,pinchDistance||0,duration||0,fingerCount,pinchZoom,fingerData))}}return gesture==TAP?phase!==PHASE_CANCEL&&phase!==PHASE_END||(clearTimeout(singleTapTimeout),clearTimeout(holdTimeout),hasDoubleTap()&&!inDoubleTap()?(doubleTapStartTime=getTimeStamp(),singleTapTimeout=setTimeout($.proxy(function(){doubleTapStartTime=null,$element.trigger("tap",[event.target]),options.tap&&(ret=options.tap.call($element,event,event.target))},this),options.doubleTapThreshold)):(doubleTapStartTime=null,$element.trigger("tap",[event.target]),options.tap&&(ret=options.tap.call($element,event,event.target)))):gesture==DOUBLE_TAP?phase!==PHASE_CANCEL&&phase!==PHASE_END||(clearTimeout(singleTapTimeout),clearTimeout(holdTimeout),doubleTapStartTime=null,$element.trigger("doubletap",[event.target]),options.doubleTap&&(ret=options.doubleTap.call($element,event,event.target))):gesture==LONG_TAP&&(phase!==PHASE_CANCEL&&phase!==PHASE_END||(clearTimeout(singleTapTimeout),doubleTapStartTime=null,$element.trigger("longtap",[event.target]),options.longTap&&(ret=options.longTap.call($element,event,event.target)))),ret}function validateSwipeDistance(){var valid=!0;return null!==options.threshold&&(valid=distance>=options.threshold),valid}function didSwipeBackToCancel(){var cancelled=!1;return null!==options.cancelThreshold&&null!==direction&&(cancelled=getMaxDistance(direction)-distance>=options.cancelThreshold),cancelled}function validatePinchDistance(){return null===options.pinchThreshold||pinchDistance>=options.pinchThreshold}function validateSwipeTime(){var result;return result=!options.maxTimeThreshold||!(duration>=options.maxTimeThreshold)}function validateDefaultEvent(jqEvent,direction){if(options.preventDefaultEvents!==!1)if(options.allowPageScroll===NONE)jqEvent.preventDefault();else{var auto=options.allowPageScroll===AUTO;switch(direction){case LEFT:(options.swipeLeft&&auto||!auto&&options.allowPageScroll!=HORIZONTAL)&&jqEvent.preventDefault();break;case RIGHT:(options.swipeRight&&auto||!auto&&options.allowPageScroll!=HORIZONTAL)&&jqEvent.preventDefault();break;case UP:(options.swipeUp&&auto||!auto&&options.allowPageScroll!=VERTICAL)&&jqEvent.preventDefault();break;case DOWN:(options.swipeDown&&auto||!auto&&options.allowPageScroll!=VERTICAL)&&jqEvent.preventDefault();break;case NONE:}}}function validatePinch(){var hasCorrectFingerCount=validateFingers(),hasEndPoint=validateEndPoint(),hasCorrectDistance=validatePinchDistance();return hasCorrectFingerCount&&hasEndPoint&&hasCorrectDistance}function hasPinches(){return!!(options.pinchStatus||options.pinchIn||options.pinchOut)}function didPinch(){return!(!validatePinch()||!hasPinches())}function validateSwipe(){var hasValidTime=validateSwipeTime(),hasValidDistance=validateSwipeDistance(),hasCorrectFingerCount=validateFingers(),hasEndPoint=validateEndPoint(),didCancel=didSwipeBackToCancel(),valid=!didCancel&&hasEndPoint&&hasCorrectFingerCount&&hasValidDistance&&hasValidTime;return valid}function hasSwipes(){return!!(options.swipe||options.swipeStatus||options.swipeLeft||options.swipeRight||options.swipeUp||options.swipeDown)}function didSwipe(){return!(!validateSwipe()||!hasSwipes())}function validateFingers(){return fingerCount===options.fingers||options.fingers===ALL_FINGERS||!SUPPORTS_TOUCH}function validateEndPoint(){return 0!==fingerData[0].end.x}function hasTap(){return!!options.tap}function hasDoubleTap(){return!!options.doubleTap}function hasLongTap(){return!!options.longTap}function validateDoubleTap(){if(null==doubleTapStartTime)return!1;var now=getTimeStamp();return hasDoubleTap()&&now-doubleTapStartTime<=options.doubleTapThreshold}function inDoubleTap(){return validateDoubleTap()}function validateTap(){return(1===fingerCount||!SUPPORTS_TOUCH)&&(isNaN(distance)||distance<options.threshold)}function validateLongTap(){return duration>options.longTapThreshold&&distance<DOUBLE_TAP_THRESHOLD}function didTap(){return!(!validateTap()||!hasTap())}function didDoubleTap(){return!(!validateDoubleTap()||!hasDoubleTap())}function didLongTap(){return!(!validateLongTap()||!hasLongTap())}function startMultiFingerRelease(event){previousTouchEndTime=getTimeStamp(),fingerCountAtRelease=event.touches.length+1}function cancelMultiFingerRelease(){previousTouchEndTime=0,fingerCountAtRelease=0}function inMultiFingerRelease(){var withinThreshold=!1;if(previousTouchEndTime){var diff=getTimeStamp()-previousTouchEndTime;diff<=options.fingerReleaseThreshold&&(withinThreshold=!0)}return withinThreshold}function getTouchInProgress(){return!($element.data(PLUGIN_NS+"_intouch")!==!0)}function setTouchInProgress(val){$element&&(val===!0?($element.bind(MOVE_EV,touchMove),$element.bind(END_EV,touchEnd),LEAVE_EV&&$element.bind(LEAVE_EV,touchLeave)):($element.unbind(MOVE_EV,touchMove,!1),$element.unbind(END_EV,touchEnd,!1),LEAVE_EV&&$element.unbind(LEAVE_EV,touchLeave,!1)),$element.data(PLUGIN_NS+"_intouch",val===!0))}function createFingerData(id,evt){var f={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return f.start.x=f.last.x=f.end.x=evt.pageX||evt.clientX,f.start.y=f.last.y=f.end.y=evt.pageY||evt.clientY,fingerData[id]=f,f}function updateFingerData(evt){var id=void 0!==evt.identifier?evt.identifier:0,f=getFingerData(id);return null===f&&(f=createFingerData(id,evt)),f.last.x=f.end.x,f.last.y=f.end.y,f.end.x=evt.pageX||evt.clientX,f.end.y=evt.pageY||evt.clientY,f}function getFingerData(id){return fingerData[id]||null}function setMaxDistance(direction,distance){direction!=NONE&&(distance=Math.max(distance,getMaxDistance(direction)),maximumsMap[direction].distance=distance)}function getMaxDistance(direction){if(maximumsMap[direction])return maximumsMap[direction].distance}function createMaximumsData(){var maxData={};return maxData[LEFT]=createMaximumVO(LEFT),maxData[RIGHT]=createMaximumVO(RIGHT),maxData[UP]=createMaximumVO(UP),maxData[DOWN]=createMaximumVO(DOWN),maxData}function createMaximumVO(dir){return{direction:dir,distance:0}}function calculateDuration(){return endTime-startTime}function calculateTouchesDistance(startPoint,endPoint){var diffX=Math.abs(startPoint.x-endPoint.x),diffY=Math.abs(startPoint.y-endPoint.y);return Math.round(Math.sqrt(diffX*diffX+diffY*diffY))}function calculatePinchZoom(startDistance,endDistance){var percent=endDistance/startDistance*1;return percent.toFixed(2)}function calculatePinchDirection(){return pinchZoom<1?OUT:IN}function calculateDistance(startPoint,endPoint){return Math.round(Math.sqrt(Math.pow(endPoint.x-startPoint.x,2)+Math.pow(endPoint.y-startPoint.y,2)))}function calculateAngle(startPoint,endPoint){var x=startPoint.x-endPoint.x,y=endPoint.y-startPoint.y,r=Math.atan2(y,x),angle=Math.round(180*r/Math.PI);return angle<0&&(angle=360-Math.abs(angle)),angle}function calculateDirection(startPoint,endPoint){if(comparePoints(startPoint,endPoint))return NONE;var angle=calculateAngle(startPoint,endPoint);return angle<=45&&angle>=0?LEFT:angle<=360&&angle>=315?LEFT:angle>=135&&angle<=225?RIGHT:angle>45&&angle<135?DOWN:UP}function getTimeStamp(){var now=new Date;return now.getTime()}function getbounds(el){el=$(el);var offset=el.offset(),bounds={left:offset.left,right:offset.left+el.outerWidth(),top:offset.top,bottom:offset.top+el.outerHeight()};return bounds}function isInBounds(point,bounds){return point.x>bounds.left&&point.x<bounds.right&&point.y>bounds.top&&point.y<bounds.bottom}function comparePoints(pointA,pointB){return pointA.x==pointB.x&&pointA.y==pointB.y}var options=$.extend({},options),useTouchEvents=SUPPORTS_TOUCH||SUPPORTS_POINTER||!options.fallbackToMouseEvents,START_EV=useTouchEvents?SUPPORTS_POINTER?SUPPORTS_POINTER_IE10?"MSPointerDown":"pointerdown":"touchstart":"mousedown",MOVE_EV=useTouchEvents?SUPPORTS_POINTER?SUPPORTS_POINTER_IE10?"MSPointerMove":"pointermove":"touchmove":"mousemove",END_EV=useTouchEvents?SUPPORTS_POINTER?SUPPORTS_POINTER_IE10?"MSPointerUp":"pointerup":"touchend":"mouseup",LEAVE_EV=useTouchEvents?SUPPORTS_POINTER?"mouseleave":null:"mouseleave",CANCEL_EV=SUPPORTS_POINTER?SUPPORTS_POINTER_IE10?"MSPointerCancel":"pointercancel":"touchcancel",distance=0,direction=null,currentDirection=null,duration=0,startTouchesDistance=0,endTouchesDistance=0,pinchZoom=1,pinchDistance=0,pinchDirection=0,maximumsMap=null,$element=$(element),phase="start",fingerCount=0,fingerData={},startTime=0,endTime=0,previousTouchEndTime=0,fingerCountAtRelease=0,doubleTapStartTime=0,singleTapTimeout=null,holdTimeout=null;try{$element.bind(START_EV,touchStart),$element.bind(CANCEL_EV,touchCancel)}catch(e){$.error("events not supported "+START_EV+","+CANCEL_EV+" on jQuery.swipe")}this.enable=function(){return this.disable(),$element.bind(START_EV,touchStart),$element.bind(CANCEL_EV,touchCancel),$element},this.disable=function(){return removeListeners(),$element},this.destroy=function(){removeListeners(),$element.data(PLUGIN_NS,null),$element=null},this.option=function(property,value){if("object"==typeof property)options=$.extend(options,property);else if(void 0!==options[property]){if(void 0===value)return options[property];options[property]=value}else{if(!property)return options;$.error("Option "+property+" does not exist on jQuery.swipe.options")}return null}}var VERSION="1.6.18",LEFT="left",RIGHT="right",UP="up",DOWN="down",IN="in",OUT="out",NONE="none",AUTO="auto",SWIPE="swipe",PINCH="pinch",TAP="tap",DOUBLE_TAP="doubletap",LONG_TAP="longtap",HORIZONTAL="horizontal",VERTICAL="vertical",ALL_FINGERS="all",DOUBLE_TAP_THRESHOLD=10,PHASE_START="start",PHASE_MOVE="move",PHASE_END="end",PHASE_CANCEL="cancel",SUPPORTS_TOUCH="ontouchstart"in window,SUPPORTS_POINTER_IE10=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled&&!SUPPORTS_TOUCH,SUPPORTS_POINTER=(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&!SUPPORTS_TOUCH,PLUGIN_NS="TouchSwipe",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:".noSwipe",preventDefaultEvents:!0};$.fn.swipe=function(method){var $this=$(this),plugin=$this.data(PLUGIN_NS);if(plugin&&"string"==typeof method){if(plugin[method])return plugin[method].apply(plugin,Array.prototype.slice.call(arguments,1));$.error("Method "+method+" does not exist on jQuery.swipe")}else if(plugin&&"object"==typeof method)plugin.option.apply(plugin,arguments);else if(!(plugin||"object"!=typeof method&&method))return init.apply(this,arguments);return $this},$.fn.swipe.version=VERSION,$.fn.swipe.defaults=defaults,$.fn.swipe.phases={PHASE_START:PHASE_START,PHASE_MOVE:PHASE_MOVE,PHASE_END:PHASE_END,PHASE_CANCEL:PHASE_CANCEL},$.fn.swipe.directions={LEFT:LEFT,RIGHT:RIGHT,UP:UP,DOWN:DOWN,IN:IN,OUT:OUT},$.fn.swipe.pageScroll={NONE:NONE,HORIZONTAL:HORIZONTAL,VERTICAL:VERTICAL,AUTO:AUTO},$.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:ALL_FINGERS}});
// source --> https://www.larochebeaucourt.fr/wp-content/plugins/lbg_zoominoutslider/zoominoutslider/js/bannerscollection_zoominout.js?ver=224eecded61822e685e79150a571c0fd 
/*
 * Zoom In/Out Sliders Full Collection  v5.1.2
 *
 * Copyright 2012-2022, LambertGroup
 *
 */

 (function(f){function D(a){var b="cubic-bezier(0.250, 0.250, 0.750, 0.750)";switch(a){case "linear":b="cubic-bezier(0.250, 0.250, 0.750, 0.750)";break;case "swing":b="cubic-bezier(0.250, 0.100, 0.250, 1.000)";break;case "ease":b="cubic-bezier(0.250, 0.100, 0.250, 1.000)";break;case "ease-in":b="cubic-bezier(0.420, 0.000, 1.000, 1.000)";break;case "ease-out":b="cubic-bezier(0.000, 0.000, 0.580, 1.000)";break;case "ease-in-out":b="cubic-bezier(0.420, 0.000, 0.580, 1.000)";break;case "easeInQuad":b=
 "cubic-bezier(0.550, 0.085, 0.680, 0.530)";break;case "easeOutQuad":b="cubic-bezier(0.250, 0.460, 0.450, 0.940)";break;case "easeInOutQuad":case "easeInCubic":b="cubic-bezier(0.550, 0.055, 0.675, 0.190)";break;case "easeOutCubic":b="cubic-bezier(0.215, 0.610, 0.355, 1.000)";break;case "easeInOutCubic":b="cubic-bezier(0.645, 0.045, 0.355, 1.000)";break;case "easeInQuart":b="cubic-bezier(0.895, 0.030, 0.685, 0.220)";break;case "easeOutQuart":b="cubic-bezier(0.165, 0.840, 0.440, 1.000)";break;case "easeInOutQuart":b=
 "cubic-bezier(0.770, 0.000, 0.175, 1.000)";break;case "easeInQuint":b="cubic-bezier(0.755, 0.050, 0.855, 0.060)";break;case "easeOutQuint":b="cubic-bezier(0.230, 1.000, 0.320, 1.000)";break;case "easeInOutQuint":b="cubic-bezier(0.860, 0.000, 0.070, 1.000)";break;case "easeInSine":b="cubic-bezier(0.470, 0.000, 0.745, 0.715)";break;case "easeOutSine":b="cubic-bezier(0.390, 0.575, 0.565, 1.000)";break;case "easeInOutSine":b="cubic-bezier(0.445, 0.050, 0.550, 0.950)";break;case "easeInExpo":b="cubic-bezier(0.950, 0.050, 0.795, 0.035)";
 break;case "easeOutExpo":b="cubic-bezier(0.190, 1.000, 0.220, 1.000)";break;case "easeInOutExpo":b="cubic-bezier(1.000, 0.000, 0.000, 1.000)";break;case "easeInCirc":b="cubic-bezier(0.600, 0.040, 0.980, 0.335)";break;case "easeOutCirc":b="cubic-bezier(0.075, 0.820, 0.165, 1.000)";break;case "easeInOutCirc":b="cubic-bezier(0.785, 0.135, 0.150, 0.860)";break;case "easeInBack":b="cubic-bezier(0.600, -0.280, 0.735, 0.045)";break;case "easeOutBack":b="cubic-bezier(0.175, 0.885, 0.320, 1.275)";break;case "easeInOutBack":b=
 "cubic-bezier(0.680, -0.550, 0.265, 1.550)"}return b}function O(a){var b=K(),d=a;if(-1!=b&&10>b)switch(a){case "ease":d="swing";break;case "ease-in":d="easeInQuad";break;case "ease-out":d="easeOutQuad";break;case "ease-in-out":d="easeInOutQuad";break;default:d="swing"}return d}function ha(a){var b=!0;if(-1!=a.attr("class").indexOf("lbg1_xbottom")||-1!=a.attr("class").indexOf("lbg1_xright")||-1!=a.attr("class").indexOf("lbg1_xcenter"))b=!1;return b}function P(a,b){var d=a;a.find("div:first").is("div")&&
 (d=a.find("div:first"),d.hasClass("newFS")&&d.find("div:first").is("div")&&(d=d.find("div:first")));b.inner_div=d}function ua(a,b,d){var h=K(),l=d.origWidth/d.width;d.width100Proc&&d.height100Proc&&d.height>=d.width&&(l=d.origHeight/d.height);if(d.responsive){var e="";if(-1!=a.css("font-size").lastIndexOf("px")){var k=a.css("font-size").substr(0,a.css("font-size").lastIndexOf("px"));e+="font-size:"+k/l+"px;"}else-1!=a.css("font-size").lastIndexOf("em")&&(k=a.css("font-size").substr(0,a.css("font-size").lastIndexOf("em")),
 e+="font-size:"+k/l+"em;");-1!=a.css("line-height").lastIndexOf("px")?(k=a.css("line-height").substr(0,a.css("line-height").lastIndexOf("px")),e+="line-height:"+k/l+"px;"):-1!=a.css("line-height").lastIndexOf("em")&&(k=a.css("line-height").substr(0,a.css("line-height").lastIndexOf("em")),e+="line-height:"+k/l+"em;");a.wrapInner('<div class="newFS" style="'+e+'" />')}e=a.find("iframe:first");if(null!=e.width()&&d.responsive){theW=e.width();theH=e.height();if(""==b.iFrameArr[a.index()]||void 0==b.iFrameArr[a.index()])b.iFrameArr[a.index()]=
 theW+";"+theH;iFrameDimensions=b.iFrameArr[a.index()].split(";");e.css({width:parseInt(iFrameDimensions[0]/l,10),height:parseInt(iFrameDimensions[1]/l,10)})}var q=ha(a);e=a.attr("data-final-left");k=a.attr("data-final-top");d.responsive&&(e=parseInt(e/l,10),k=parseInt(k/l,10),d.width100Proc&&d.height100Proc&&d.height>=d.width&&768>=d.width&&!(a.hasAttrLike("class","^transp[0-9]+")||a.hasAttrLike("class","^texture[0-9]+")||a.hasAttrLike("class","^lbg1_.*center"))&&(e=10));var g=d.defaultEasing;""!=
 a.attr("data-easing")&&void 0!=a.attr("data-easing")&&(g=a.attr("data-easing"));g=O(g);var m=1;1==b.isVideoPlaying&&(m=0);P(a,b);""!=a.attr("data-css3-animation")&&void 0!=a.attr("data-css3-animation")&&b.inner_div.addClass(a.attr("data-css3-animation"));if(-1!=h&&10>h)a.stop().animate({opacity:m,left:e+"px",top:k+"px"},1E3*a.attr("data-duration"),g,function(){1==b.isVideoPlaying&&f(b.currentImg.attr("data-text-id")).children().css("opacity",0);if(void 0!=a.attr("data-intermediate-left")&&""!=a.attr("data-intermediate-left")||
 ""!=a.attr("data-intermediate-css3-animation")&&void 0!=a.attr("data-intermediate-css3-animation"))p=a.attr("data-intermediate-left"),n=a.attr("data-intermediate-top"),d.responsive&&(p=parseInt(p/l,10),n=parseInt(n/l,10),d.width100Proc&&d.height100Proc&&d.height>=d.width&&768>=d.width&&!(a.hasAttrLike("class","^transp[0-9]+")||a.hasAttrLike("class","^texture[0-9]+")||a.hasAttrLike("class","^lbg1_.*center"))&&(p=10)),b.timeouts_arr[b.timeouts_arr.length]=setTimeout(function(){P(a,b);""!=a.attr("data-intermediate-css3-animation")&&
 void 0!=a.attr("data-intermediate-css3-animation")&&(b.inner_div.removeClass(a.attr("data-css3-animation")),b.inner_div.addClass(a.attr("data-intermediate-css3-animation")));a.stop().animate({opacity:m,left:p+"px",top:n+"px"},1E3*a.attr("data-intermediate-duration"),O(a.attr("data-intermediate-easing")),function(){})},1E3*a.attr("data-intermediate-delay")),8==h&&a.find("img:first").is("img")&&a.find("img:first").animate({opacity:m},1E3*a.attr("data-intermediate-duration"),O(a.attr("data-intermediate-easing")),
 function(){})}),8==h&&a.find("img:first").is("img")&&a.find("img:first").animate({opacity:m},1E3*a.attr("data-duration"),g,function(){});else if(q&&a.css({opacity:m,"-webkit-transform":"translate("+e+"px,"+k+"px)","-moz-transform":"translate("+e+"px,"+k+"px)","-ms-transform":"translate("+e+"px,"+k+"px)","-o-transform":"translate("+e+"px,"+k+"px)",transform:"translate("+e+"px,"+k+"px)","-webkit-transition-duration":a.attr("data-duration")+"s","-moz-transition-duration":a.attr("data-duration")+"s",
 "-ms-transition-duration":a.attr("data-duration")+"s","-o-transition-duration":a.attr("data-duration")+"s","transition-duration":a.attr("data-duration")+"s","-webkit-transition-timing-function":D(g),"-moz-transition-timing-function":D(g),"-ms-transition-timing-function":D(g),"-o-transition-timing-function":D(g),"transition-timing-function":D(g)}),void 0!=a.attr("data-intermediate-left")&&""!=a.attr("data-intermediate-left")||""!=a.attr("data-intermediate-css3-animation")&&void 0!=a.attr("data-intermediate-css3-animation")){var p=
 a.attr("data-intermediate-left");var n=a.attr("data-intermediate-top");d.responsive&&(p=parseInt(p/l,10),n=parseInt(n/l,10),d.width100Proc&&d.height100Proc&&d.height>=d.width&&768>=d.width&&!(a.hasAttrLike("class","^transp[0-9]+")||a.hasAttrLike("class","^texture[0-9]+")||a.hasAttrLike("class","^lbg1_.*center"))&&(p=10));b.timeouts_arr[b.timeouts_arr.length]=setTimeout(function(){a.css({"-webkit-transform":"translate("+p+"px,"+n+"px)","-moz-transform":"translate("+p+"px,"+n+"px)","-ms-transform":"translate("+
 p+"px,"+n+"px)","-o-transform":"translate("+p+"px,"+n+"px)",transform:"translate("+p+"px,"+n+"px)","-webkit-transition-duration":a.attr("data-intermediate-duration")+"s","-moz-transition-duration":a.attr("data-intermediate-duration")+"s","-ms-transition-duration":a.attr("data-intermediate-duration")+"s","-o-transition-duration":a.attr("data-intermediate-duration")+"s","transition-duration":a.attr("data-intermediate-duration")+"s","-webkit-transition-timing-function":D(a.attr("data-intermediate-easing")),
 "-moz-transition-timing-function":D(a.attr("data-intermediate-easing")),"-ms-transition-timing-function":D(a.attr("data-intermediate-easing")),"-o-transition-timing-function":D(a.attr("data-intermediate-easing")),"transition-timing-function":D(a.attr("data-intermediate-easing"))});P(a,b);""!=a.attr("data-intermediate-css3-animation")&&void 0!=a.attr("data-intermediate-css3-animation")&&(b.inner_div.removeClass(a.attr("data-css3-animation")),b.inner_div.addClass(a.attr("data-intermediate-css3-animation")))},
 1E3*(parseFloat(a.attr("data-duration"))+parseFloat(a.attr("data-intermediate-delay"))))}}function M(a,b,d,h,l,e,k,q){var g=K();f(a.currentImg.attr("data-text-id")).css("display","block");b=f(b.attr("data-text-id")).children();var m,p,n=0,w=[];(k||q)&&f(".newFS",l).contents().unwrap();b.each(function(){w[n]=f(this);var t=w[n],u=ha(t);k||q?(k&&t.css({display:"none",opacity:0}),P(t,a),a.inner_div.removeClass(t.attr("data-css3-animation")),a.inner_div.removeClass(t.attr("data-intermediate-css3-animation")),
 a.inner_div.removeClass(t.attr("data-exit-css3-animation"))):t.css({display:"block"});m=t.attr("data-initial-left");p=t.attr("data-initial-top");d.responsive&&(m=parseInt(m/(d.origWidth/d.width),10),p=parseInt(p/(d.origWidth/d.width),10));u&&(-1!=g&&10>g?(t.css({opacity:parseFloat(t.attr("data-fade-start"))/100,left:m+"px",top:p+"px"}),8==g&&t.find("img:first").is("img")&&t.find("img:first").css("opacity",parseFloat(t.attr("data-fade-start"))/100)):t.css({opacity:parseFloat(t.attr("data-fade-start"))/
 100,"-webkit-transform":"translate("+m+"px,"+p+"px)","-moz-transform":"translate("+m+"px,"+p+"px)","-ms-transform":"translate("+m+"px,"+p+"px)","-o-transform":"translate("+m+"px,"+p+"px)",transform:"translate("+m+"px,"+p+"px)","-webkit-transition-duration":"0s","-moz-transition-duration":"0s","-ms-transition-duration":"0s","-o-transition-duration":"0s","transition-duration":"0s"}));k||(a.timeouts_arr[a.timeouts_arr.length]=setTimeout(function(){ua(t,a,d)},1E3*t.attr("data-delay")));n++})}function va(a,
 b,d,h){var l=K(),e=b.origWidth/b.width;b.width100Proc&&b.height100Proc&&b.height>=b.width&&(e=b.origHeight/b.height);var k=0,q=[];f(a.currentImg.attr("data-text-id")).children().each(function(){q[k]=f(this);var g=q[k],m=b.defaultExitLeft;void 0!=g.attr("data-exit-left")&&""!=g.attr("data-exit-left")&&(m=parseInt(g.attr("data-exit-left")/e,10));b.width100Proc&&b.height100Proc&&b.height>=b.width&&768>=b.width&&!(g.hasAttrLike("class","^transp[0-9]+")||g.hasAttrLike("class","^texture[0-9]+")||g.hasAttrLike("class",
 "^lbg1_.*center"))&&(m=10);var p=b.defaultExitTop;void 0!=g.attr("data-exit-top")&&""!=g.attr("data-exit-top")&&(p=parseInt(g.attr("data-exit-top")/e,10));var n=b.defaultExitDuration;void 0!=g.attr("data-exit-duration")&&""!=g.attr("data-exit-duration")&&(n=parseFloat(g.attr("data-exit-duration")));var w=b.defaultExitDelay;void 0!=g.attr("data-exit-delay")&&""!=g.attr("data-exit-delay")&&(w=parseFloat(g.attr("data-exit-delay")));var t=b.defaultExitFade;void 0!=g.attr("data-exit-fade")&&""!=g.attr("data-exit-fade")&&
 (t=parseFloat(g.attr("data-exit-fade")));var u=b.defaultExitEasing;void 0!=g.attr("data-exit-easing")&&""!=g.attr("data-exit-easing")&&(u=g.attr("data-exit-easing"));u=O(u);u=b.defaultExitOFF.toString();void 0!=g.attr("data-exit-off")&&""!=g.attr("data-exit-off")&&(u=g.attr("data-exit-off"));b.fadeSlides&&(u="false");"true"==u&&(n=0);var C=b.defaultExitEasing;""!=g.attr("data-exit-easing")&&void 0!=g.attr("data-exit-easing")&&(C=g.attr("data-exit-easing"));C=O(C);var v=g.find("iframe:first");null!=
 v.width()&&(v[0].src=v[0].src);P(g,a);""!=g.attr("data-exit-css3-animation")&&void 0!=g.attr("data-exit-css3-animation")&&(u="true",a.inner_div.removeClass(g.attr("data-css3-animation")),a.inner_div.removeClass(g.attr("data-intermediate-css3-animation")),a.inner_div.addClass(g.attr("data-exit-css3-animation")));0<n?a.timeouts_arr[a.timeouts_arr.length]=setTimeout(function(){-1!=l&&10>l?(g.stop().animate({opacity:t,left:m+"px",top:p+"px"},1E3*n,C,function(){}),8==l&&g.find("img:first").is("img")&&
 g.find("img:first").animate({opacity:t},1E3*n,C,function(){})):g.css({opacity:t,"-webkit-transform":"translate("+m+"px,"+p+"px)","-moz-transform":"translate("+m+"px,"+p+"px)","-ms-transform":"translate("+m+"px,"+p+"px)","-o-transform":"translate("+m+"px,"+p+"px)",transform:"translate("+m+"px,"+p+"px)","-webkit-transition-duration":n+"s","-moz-transition-duration":n+"s","-ms-transition-duration":n+"s","-o-transition-duration":n+"s","transition-duration":n+"s","-webkit-transition-timing-function":D(C),
 "-moz-transition-timing-function":D(C),"-ms-transition-timing-function":D(C),"-o-transition-timing-function":D(C),"transition-timing-function":D(C)})},1E3*w):"false"==u&&g.css({display:"none"});k++})}function S(a){if(a)for(var b in a)a[b]&&clearTimeout(a[b]);a.length=0}function ia(a){if(a)for(var b in a)a[b]&&clearInterval(a[b]);a.length=0}function wa(a,b){if(a)for(var d in a)a[d]&&(a[d]=function(){});a.length=0;b.rotationDurationArr.length=0}function Q(a,b,d,h,l){var e=K();-1==a&&(a=0);var k=f(l[a]);
 l=b.horizontalPosition;void 0!=k.attr("data-horizontalPosition")&&""!=k.attr("data-horizontalPosition")&&(l=k.attr("data-horizontalPosition"));var q=b.verticalPosition;void 0!=k.attr("data-verticalPosition")&&""!=k.attr("data-verticalPosition")&&(q=k.attr("data-verticalPosition"));var g=b.initialZoom;void 0!=k.attr("data-initialZoom")&&""!=k.attr("data-initialZoom")&&(g=Number(k.attr("data-initialZoom")));var m=b.finalZoom;void 0!=k.attr("data-finalZoom")&&""!=k.attr("data-finalZoom")&&(m=Number(k.attr("data-finalZoom")));
 h=h[a].split(";");b.responsive&&(h[0]/=b.origWidth/b.width,h[1]/=b.origWidth/b.width);if(b.width100Proc&&b.height100Proc&&h[1]*Math.min(m,g)<b.height){var p=b.height/Math.min(m,g);k=h[0]/h[1]*p;h[0]=k;h[1]=p}a=f("#contentHolderUnit_"+a,d).find("img:first");parseInt(m*h[0],10);parseInt(m*h[1],10);a.css({width:parseInt(g*h[0],10)+"px",height:parseInt(g*h[1],10)+"px"});switch(l){case "left":d=0;break;case "center":d=(b.width-parseInt(g*h[0],10))/2;break;case "right":d=b.width-parseInt(g*h[0],10);break;
 default:d=0}switch(q){case "top":g=-2;break;case "center":g=(b.height-parseInt(g*h[1],10))/2;break;case "bottom":g=b.height-parseInt(g*h[1],10)+2;break;default:g=0}a.css({left:parseInt(d,10)+"px",top:parseInt(g,10)+"px",opacity:b.initialOpacity});(-1==e||-1!=e&&10<=e)&&a.css({"-webkit-transform-origin":l+" "+q,"-moz-transform-origin":l+" "+q,"-ms-transform-origin":l+" "+q,"-o-transform-origin":l+" "+q,"transform-origin":l+" "+q})}function W(a,b,d,h,l){l=f(l[a.current_img_no]);var e=K(),k=b.horizontalPosition;
 void 0!=l.attr("data-horizontalPosition")&&""!=l.attr("data-horizontalPosition")&&(k=l.attr("data-horizontalPosition"));var q=b.verticalPosition;void 0!=l.attr("data-verticalPosition")&&""!=l.attr("data-verticalPosition")&&(q=l.attr("data-verticalPosition"));var g=b.duration;void 0!=l.attr("data-duration")&&""!=l.attr("data-duration")&&(g=Number(l.attr("data-duration")));var m=b.initialZoom;void 0!=l.attr("data-initialZoom")&&""!=l.attr("data-initialZoom")&&(m=Number(l.attr("data-initialZoom")));
 var p=b.finalZoom;void 0!=l.attr("data-finalZoom")&&""!=l.attr("data-finalZoom")&&(p=Number(l.attr("data-finalZoom")));a.current_imgInside=f("#contentHolderUnit_"+a.current_img_no,d).find("img:first");a.previous_imgInside=f("#contentHolderUnit_"+a.previous_current_img_no,d).find("img:first");var n=h[a.current_img_no].split(";");b.responsive&&(n[0]/=b.origWidth/b.width,n[1]/=b.origWidth/b.width);m!=p?-1!=e&&10>e?(b.width100Proc&&(g+=b.durationIEfix),a.curZoom=1,zoomStep=0,a.cur_marginLeft=0,a.cur_marginTop=
 0,-1!=e&&10>e&&clearInterval(a.msiInterval),a.msiInitialTime=(new Date).getTime(),a.msiInterval=setInterval(function(){nowx=(new Date).getTime();nowx-a.msiInitialTime>1E3*g?clearInterval(a.msiInterval):(zoomStep=(nowx-a.msiInitialTime)*Math.abs(m-p)/(1E3*g),a.curZoom=m<=p?1+zoomStep:1-zoomStep,"center"==k?a.cur_marginLeft=(1-a.curZoom)*m*n[0]/2:"right"==k&&(a.cur_marginLeft=(1-a.curZoom)*m*n[0]),"center"==q?a.cur_marginTop=(1-a.curZoom)*m*n[1]/2:"bottom"==q&&(a.cur_marginTop=(1-a.curZoom)*m*n[1]),
 a.current_imgInside.css({filter:'progid:DXImageTransform.Microsoft.Matrix(FilterType="bilinear",M11='+a.curZoom+", M12=0, M21=0, M22="+a.curZoom+", Dx="+a.cur_marginLeft+",Dy="+a.cur_marginTop+")"}))},25)):(d="",-1!=e&&11<=e&&(d=" rotate(0.1deg)"),h=p/m,b=b.zoomEasing,""!=l.attr("data-zoomEasing")&&void 0!=l.attr("data-zoomEasing")&&(b=l.attr("data-zoomEasing")),a.current_imgInside.css({"-webkit-transition-duration":g+"s","-moz-transition-duration":g+"s","-ms-transition-duration":g+"s","-o-transition-duration":g+
 "s","transition-duration":g+"s","-webkit-transition-timing-function":D(b),"-moz-transition-timing-function":D(b),"-ms-transition-timing-function":D(b),"-o-transition-timing-function":D(b),"transition-timing-function":D(b),"-webkit-transform":"scale("+h+")"+d,"-moz-transform":"scale("+h+")"+d,"-ms-transform":"scale("+h+")"+d,"-o-transform":"scale("+h+")",transform:"scale("+h+")"+d,perspective:"0","-webkit-perspective":"0"})):-1!=e&&10>e&&(clearInterval(a.msiInterval),a.current_imgInside.css("filter",
 'progid:DXImageTransform.Microsoft.Matrix(FilterType="bilinear",M11=1, M12=0, M21=0, M22=1, Dx=0, Dy=0)'))}function X(a,b){var d=(new Date).getTime();!a.mouseOverBanner&&b.showCircleTimer&&(a.ctx.clearRect(0,0,a.canvas.width,a.canvas.height),a.ctx.beginPath(),a.ctx.globalAlpha=b.behindCircleAlpha/100,a.ctx.arc(b.circleRadius+2*b.circleLineWidth,b.circleRadius+2*b.circleLineWidth,b.circleRadius,0,2*Math.PI,!1),a.ctx.lineWidth=b.circleLineWidth+2,a.ctx.strokeStyle=b.behindCircleColor,a.ctx.stroke(),
 a.ctx.beginPath(),a.ctx.globalAlpha=b.circleAlpha/100,a.ctx.arc(b.circleRadius+2*b.circleLineWidth,b.circleRadius+2*b.circleLineWidth,b.circleRadius,0,(a.timeElapsed+d-a.arcInitialTime)/1E3*2/a.autoPlay*Math.PI,!1),a.ctx.lineWidth=b.circleLineWidth,a.ctx.strokeStyle=b.circleColor,a.ctx.stroke())}function J(a,b,d,h,l,e,k,q,g,m,p,n,w,t,u,C){var v=K(),x=!0;if(!d.loop&&b.current_img_no+a>=b.total_images||!d.loop&&0>b.current_img_no+a)x=!1;x&&!b.slideIsRunning&&b.firstLoadingComplete&&(b.slideIsRunning=
 !0,S(b.timeouts_arr),ia(b.continuouseIntervalIDs),wa(b.rotationFunctionsArr,b),va(b,d,e,k),b.arcInitialTime=(new Date).getTime(),b.timeElapsed=0,d.showCircleTimer&&(clearInterval(b.intervalID),b.ctx.clearRect(0,0,b.canvas.width,b.canvas.height),b.ctx.beginPath(),b.ctx.globalAlpha=d.behindCircleAlpha/100,b.ctx.arc(d.circleRadius+2*d.circleLineWidth,d.circleRadius+2*d.circleLineWidth,d.circleRadius,0,2*Math.PI,!1),b.ctx.lineWidth=d.circleLineWidth+2,b.ctx.strokeStyle=d.behindCircleColor,b.ctx.stroke(),
 b.ctx.beginPath(),b.ctx.globalAlpha=d.circleAlpha/100,b.ctx.arc(d.circleRadius+2*d.circleLineWidth,d.circleRadius+2*d.circleLineWidth,d.circleRadius,0,0,!1),b.ctx.lineWidth=d.circleLineWidth,b.ctx.strokeStyle=d.circleColor,b.ctx.stroke(),b.intervalID=setInterval(function(){X(b,d)},125)),b.bottomNavClicked||(b.previous_current_img_no=b.current_img_no),"opportune"==d.skin&&f(h[b.current_img_no]).removeClass("bottomNavButtonON"),"opportune"!=d.skin&&f(n[b.current_img_no]).removeClass("thumbsHolder_ThumbON"),
 m.css("display","none"),d.shuffle&&!b.bottomNavClicked?ja(l,b,d):b.current_img_no=b.current_img_no+a>=b.total_images?0:0>b.current_img_no+a?b.total_images-1:b.current_img_no+a,b.bottomNavClicked=!1,ka(l,b,d),"opportune"==d.skin&&f(h[b.current_img_no]).addClass("bottomNavButtonON"),"opportune"!=d.skin&&(f(n[b.current_img_no]).addClass("thumbsHolder_ThumbON"),w.css("left").substr(0,w.css("left").lastIndexOf("px")),0===b.current_img_no||b.current_img_no===b.total_images-1?T(0,w,t,u,d,C,b):T(1001,w,t,
 u,d,C,b)),setTimeout(function(){b.currentImg=f(l[b.current_img_no]);W(b,d,g,p,l)},100),d.fadeSlides?(f("#contentHolderUnit_"+b.current_img_no,g).css({opacity:1,"z-index":0,display:"block"}),f("#contentHolderUnit_"+b.previous_current_img_no,g).css({"z-index":1,display:"block"}),f("#contentHolderUnit_"+b.previous_current_img_no,g).animate({opacity:0},1E3*d.scrollSlideDuration,d.scrollSlideEasing,function(){b.slideIsRunning=!1;d.fadeSlides&&(f("#contentHolderUnit_"+b.current_img_no,g).css({"z-index":1}),
 f("#contentHolderUnit_"+b.previous_current_img_no,g).css({"z-index":0,display:"none"}));"true"==b.currentImg.attr("data-video")&&m.css("display","block");f("#contentHolderUnit_"+b.previous_current_img_no,g).html(f(l[b.previous_current_img_no]).html());Q(b.previous_current_img_no,d,g,b.origImgsDimensions,l);S(b.timeouts_arr);M(b,f(l[b.previous_current_img_no]),d,e,g,k,!0,!1);M(b,b.currentImg,d,e,g,k,!1,!1);-1!=v&&10>v&&b.previous_imgInside.css("filter",'progid:DXImageTransform.Microsoft.Matrix(FilterType="bilinear",M11=1, M12=0, M21=0, M22=1, Dx=0, Dy=0)')})):
 q.animate({left:-1*b.current_img_no*d.width+"px"},1E3*d.scrollSlideDuration,d.scrollSlideEasing,function(){b.slideIsRunning=!1;"true"==b.currentImg.attr("data-video")&&m.css("display","block");f("#contentHolderUnit_"+b.previous_current_img_no,g).html(f(l[b.previous_current_img_no]).html());Q(b.previous_current_img_no,d,g,b.origImgsDimensions,l);S(b.timeouts_arr);M(b,f(l[b.previous_current_img_no]),d,e,g,k,!0,!1);M(b,b.currentImg,d,e,g,k,!1,!1);-1!=v&&10>v&&b.previous_imgInside.css("filter",'progid:DXImageTransform.Microsoft.Matrix(FilterType="bilinear",M11=1, M12=0, M21=0, M22=1, Dx=0, Dy=0)')}),
 d.shuffle&&!d.alwaysStartWithTheFirstSlide&&"hidden"==g.css("visibility")&&setTimeout(function(){g.css({visibility:"visible"})},570),0<b.autoPlay&&1<b.total_images&&!b.mouseOverBanner&&(b.timeoutID=setTimeout(function(){J(1,b,d,h,l,e,k,q,g,m,p,n,w,t,u,C)},1E3*b.autoPlay)))}function U(a,b,d,h,l){var e=h.origWidth/h.width;h.width100Proc&&h.height100Proc&&h.height>=h.width&&(e=h.origHeight/h.height);b=d.origImgsDimensions[b].split(";");h.responsive&&(b[0]/=e,b[1]/=e);a.width(b[0]);a.height(b[1]);l&&
 h.width100Proc&&h.height100Proc&&a.css({position:"relative",left:parseInt(h.width-a.width(),10)+"px",top:parseInt(h.height-a.height(),10)+"px"})}function xa(a,b,d,h,l,e,k){if(d.responsive){var q=f("#contentHolderUnit_"+a,l).find("img:first");null!=q.width()&&U(q,a,b,d,!0);var g=-1;f(f(h[a]).attr("data-text-id")).children().each(function(){g++;q=f(this).find("img:first");null!=q.width()&&U(q,f(h[a]).attr("data-text-id")+"-"+g,b,d,!1)});f(f(h[a]).attr("data-text-id")).css({width:d.width+"px",left:parseInt(a*
 d.width,10),top:k.css("top")})}}function T(a,b,d,h,l,e,k){var q=b.css("left").substr(0,b.css("left").lastIndexOf("px"));1===a||-1===a?(k.isCarouselScrolling=!0,b.css("opacity","0.5"),b.animate({opacity:1,left:"+="+a*k.carouselStep},500,"easeOutCubic",function(){la(k,b,d,h,l,e);k.isCarouselScrolling=!1})):q!=-1*Math.floor(k.current_img_no/l.numberOfThumbsPerScreen)*k.carouselStep&&(k.isCarouselScrolling=!0,b.css("opacity","0.5"),b.animate({opacity:1,left:-1*Math.floor(k.current_img_no/l.numberOfThumbsPerScreen)*
 k.carouselStep},500,"easeOutCubic",function(){la(k,b,d,h,l,e);k.isCarouselScrolling=!1}))}function la(a,b,d,h,l,e){currentCarouselLeft=b.css("left").substr(0,b.css("left").lastIndexOf("px"));0>currentCarouselLeft?d.hasClass("carouselLeftNavDisabled")&&d.removeClass("carouselLeftNavDisabled"):d.addClass("carouselLeftNavDisabled");Math.abs(currentCarouselLeft-a.carouselStep)<(e.width()+a.thumbMarginLeft)*a.total_images?h.hasClass("carouselRightNavDisabled")&&h.removeClass("carouselRightNavDisabled"):
 h.addClass("carouselRightNavDisabled")}function ma(a,b,d,h,l,e,k,q,g,m){if("opportune"!=b.skin){m.css({top:b.height+"px","margin-top":parseInt(b.thumbsWrapperMarginTop/(b.origWidth/b.width),10)+"px",height:parseInt(b.origthumbsHolderWrapperH/(b.origWidth/b.width),10)+"px"});e.css("background-position","0px "+(m.height()-b.origthumbsHolderWrapperH)/2+"px");k.css("background-position","0px "+(m.height()-b.origthumbsHolderWrapperH)/2+"px");g.css("width",b.width-e.width()-k.width());b.origWidthThumbsHolderVisibleWrapper=
 b.origWidth-e.width()-k.width();h.css({width:parseInt(b.origThumbW/(b.origWidthThumbsHolderVisibleWrapper/g.width()),10)+"px",height:parseInt(b.origThumbH/(b.origWidthThumbsHolderVisibleWrapper/g.width()),10)+"px"});b.numberOfThumbsPerScreen>=a.total_images&&g.css("left",parseInt((m.width()-(q.width()+a.thumbMarginLeft)*a.total_images)/2,10)+"px");f(".thumbsHolder_ThumbOFF",d).find("img:first").css({width:h.width()+"px",height:h.height()+"px","margin-top":parseInt((m.height()-h.height())/2,10)+"px"});
 a.thumbMarginLeft=Math.floor((m.width()-e.width()-k.width()-q.width()*b.numberOfThumbsPerScreen)/(b.numberOfThumbsPerScreen-1));var p=-1,n;l.children().each(function(){p++;n=f(this);n.css("background-position","center "+b.thumbsOnMarginTop/(b.origWidth/b.width)+"px");0>=p?n.css("margin-left",Math.floor((m.width()-e.width()-k.width()-(a.thumbMarginLeft+n.width())*(b.numberOfThumbsPerScreen-1)-n.width())/2)+"px"):n.css("margin-left",a.thumbMarginLeft+"px")});a.carouselStep=(q.width()+a.thumbMarginLeft)*
 b.numberOfThumbsPerScreen}}function ya(a,b,d,h,l,e,k,q,g,m,p,n,w,t,u,C,v,x,y,E,R,c){if(!(document.fullScreen||document.mozFullScreen||document.webkitIsFullScreen)&&(f(".bannerscollection_zoominout_texts",q).css({display:"none"}),b.fadeSlides&&f("#contentHolderUnit_"+a.current_img_no,q).css({"z-index":0,display:"none"}),n=0,n=h.parent().parent().width(),x=h.parent().parent().height(),b.responsiveRelativeToBrowser&&(n=f(window).width(),x=f(window).height()),b.width100Proc&&(b.width=n),b.height100Proc&&
 (b.height=x),b.origWidth!=n||b.width100Proc)){b.origWidth>n||b.width100Proc?b.width=n:b.width100Proc||(b.width=b.origWidth);b.height100Proc||(b.height=b.width/a.bannerRatio);q.width(b.width);q.height(b.height);e.width(b.width);e.height(b.height);k.width(b.width);k.height(b.height);l.css("margin-top",parseInt((b.height-v.height())/2,10)+"px");na(b,l);for(e=0;e<a.total_images;e++)xa(e,a,b,d,q,h,l);e=f(".contentHolderUnit",q);e.width(b.width);e.height(b.height);v=b.width*a.total_images;for(e=0;e<a.total_images;e++)Q(e,
 b,q,a.origImgsDimensions,d),n=b.fadeSlides?0:parseInt(e*b.width,10),f(f(d[e]).attr("data-text-id")).css({width:h.width()+"px",left:n,top:l.css("top")});k.width(v);"opportune"==b.skin?(y.css({left:parseInt((q.width()-y.width())/2,10)+"px",top:b.height+"px"}),b.width100Proc&&b.height100Proc||y.css("margin-top",parseInt(b.thumbsWrapperMarginTop/(b.origWidth/b.width),10)+"px")):ma(a,b,q,p,w,t,u,C,E,R);g.css({left:parseInt((b.width-g.width())/2,10)+"px",top:parseInt((b.height-g.height())/2,10)+"px"});
 clearTimeout(a.timeoutID);ia(a.continuouseIntervalIDs);1<a.total_images?c.click():(f("#contentHolderUnit_"+a.current_img_no,q).html(f(d[a.previous_current_img_no]).html()),Q(a.current_img_no,b,q,a.origImgsDimensions,d),S(a.timeouts_arr),M(a,a.currentImg,b,h,q,l,!1,!0),b.fadeSlides&&f("#contentHolderUnit_"+a.current_img_no,q).css({opacity:1,"z-index":0,display:"block"}),setTimeout(function(){W(a,b,q,m,d)},100))}}function K(){var a=-1;if("Microsoft Internet Explorer"==navigator.appName){var b=navigator.userAgent,
 d=/MSIE ([0-9]{1,}[.0-9]{0,})/;null!=d.exec(b)&&(a=parseFloat(RegExp.$1))}else"Netscape"==navigator.appName&&(b=navigator.userAgent,d=/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/,null!=d.exec(b)&&(a=parseFloat(RegExp.$1)));return parseInt(a,10)}function ka(a,b,d){b.autoPlay=d.autoPlay;void 0!=f(a[b.current_img_no]).attr("data-autoPlay")&&""!=f(a[b.current_img_no]).attr("data-autoPlay")&&(b.autoPlay=f(a[b.current_img_no]).attr("data-autoPlay"))}function na(a,b){0!=a.hideControlsUnder&&a.width<=a.hideControlsUnder?
 b.css({display:"none"}):b.css({display:"block"})}function ja(a,b,d){a=b.total_images;d=Math.floor(Math.random()*(a-0))+0;b.current_img_no==d&&(d=Math.floor(Math.random()*(a-0))+0);for(var h=0;-1!=b.random_arr.indexOf(d);)h++,d=2==h?a-1:Math.floor(Math.random()*(a-0))+0;b.random_arr.push(d);b.current_img_no=d;b.random_arr.length==b.total_images&&(b.random_arr=[],b.random_arr.push(d))}f.fn.hasAttrLike=function(a,b){b=new RegExp(b);var d=!1;this.filter(function(h){h=f(this).attr(a);if(!h)return!1;h=
 h.split(/\s/);d=!1;f.each(h,function(l,e){b.test(e)&&(d=!0)})});return d};f.fn.bannerscollection_zoominout=function(a){a=f.extend({},f.fn.bannerscollection_zoominout.defaults,a);return this.each(function(){var b=f(this),d=b.parent().width(),h=b.parent().height();a.responsiveRelativeToBrowser&&(d=f(window).width(),h=f(window).height());a.origWidth=a.width;a.width100Proc&&(a.width=d);a.origHeight=a.height;a.height100Proc&&(a.height=h);a.responsive&&(a.origWidth!=d||a.width100Proc)&&(a.width=a.origWidth>
 d||a.width100Proc?d:a.origWidth,a.height100Proc||(a.height=a.width/(a.origWidth/a.origHeight)));h=f("<div></div>").addClass("bannerscollection_zoominout").addClass(a.skin);var l=f('<div class="bannerControls">   <div class="leftNav"></div>   <div class="rightNav"></div>      </div>  <div class="contentHolderVisibleWrapper"><div class="contentHolder"></div></div>   <div class="playOver"></div>  <div class="thumbsHolderWrapper"><div class="thumbsHolderVisibleWrapper"><div class="thumbsHolder"></div></div></div> <canvas class="mycanvas"></canvas> <div class="play_pause"></div>');
 b.wrap(h);b.after(l);var e=b.parent(".bannerscollection_zoominout");a.setAsBg&&e.wrap('<div class="setAsBg" />');var k=f(".bannerControls",e),q=f(".contentHolderVisibleWrapper",e),g=f(".contentHolder",e);h=f('<div class="bottomNav"></div>');b.after(h);a.showAllControllers||k.css("display","none");var m=f(".leftNav",e),p=f(".rightNav",e),n=f(".play_pause",e);m.css("display","none");p.css("display","none");a.showNavArrows&&a.showOnInitNavArrows&&(m.css("display","block"),p.css("display","block"));na(a,
 k);var w=f(".bottomNav",e),t;"opportune"==a.skin&&(w.css({display:"block",top:a.height+"px"}),a.width100Proc&&a.height100Proc?w.css("margin-top",a.thumbsWrapperMarginTop+"px"):w.css("margin-top",a.thumbsWrapperMarginTop/(a.origWidth/a.width)+"px"));a.showBottomNav||w.css("display","none");a.showOnInitBottomNav||w.css("left","-5000px");var u=f(".thumbsHolderWrapper",e),C=f(".thumbsHolderVisibleWrapper",e),v=f(".thumbsHolder",e);var x=f('<div class="carouselLeftNav"></div>');var y=f('<div class="carouselRightNav"></div>');
 u.append(x);u.append(y);y.css("right","0");v.css("width",x.width()+"px");a.showBottomNav&&a.showOnInitBottomNav||u.css({opacity:0,display:"none"});"opportune"!=a.skin&&u.css("margin-top",parseInt(a.thumbsWrapperMarginTop/(a.origWidth/a.width),10)+"px");h=K();var E=f(".playOver",e),R=0;E.css({left:parseInt((a.width-E.width())/2,10)+"px",top:parseInt((a.height-E.height())/2,10)+"px"});var c={total_images:0,current_img_no:0,currentImg:0,previous_current_img_no:0,autoPlay:!1,slideIsRunning:!1,mouseOverBanner:!1,
 isVideoPlaying:!1,bottomNavClicked:!1,current_imgInside:"",previous_imgInside:"",windowWidth:0,carouselStep:0,thumbMarginLeft:0,timeoutID:"",intervalID:"",arcInitialTime:(new Date).getTime(),timeElapsed:0,origImgsDimensionsBGS:[],origImgsDimensions:[],canvas:"",ctx:"",timeouts_arr:[],continuouseIntervalIDs:[],rotationFunctionsArr:[],rotationDurationArr:[],iFrameArr:[],bannerRatio:a.origWidth/a.origHeight,msiInterval:"",msiInitialTime:(new Date).getTime(),curZoom:0,cur_marginLeft:0,cur_marginTop:0,
 firstLoadingComplete:!1,inner_div:"",random_arr:[],pauseOnMouseOver:!0,pauseButtonClicked:!1,pauseButtonOver:!1};c.canvas=f(".mycanvas",e)[0];c.canvas.width=2*a.circleRadius+4*a.circleLineWidth;c.canvas.height=2*a.circleRadius+4*a.circleLineWidth;l=f(".mycanvas",e).css("top").substring(0,f(".mycanvas",e).css("top").length-2);var Y=f(".mycanvas",e).css("right").substring(0,f(".mycanvas",e).css("right").length-2);l=parseInt(l,10)+parseInt((c.canvas.height-n.height())/2,10);Y=parseInt(Y,10)+parseInt((c.canvas.width-
 n.width())/2,10);n.css({top:l+"px",right:Y+"px"});c.autoPlay=a.autoPlay;-1!=h&&9>h&&(a.showCircleTimer=!1);a.showCircleTimer&&(c.ctx=c.canvas.getContext("2d"));var I=[],Z=0;a.shuffle&&!a.alwaysStartWithTheFirstSlide&&e.css({visibility:"hidden"});e.width(a.width);e.height(a.height);q.width(a.width);q.height(a.height);g.width(a.width);g.height(a.height);k.css("margin-top",parseInt((a.height-m.height())/2,10)+"px");a.centerPlugin&&e.css({margin:"0 auto"});h=b.find("ul:first");c.total_images=0;var B=
 h.children(),N,oa=0,L,V=0,pa=0,G,z,aa=0,qa=0,ba,ca,za='<img src="'+a.absUrl+'skins/empty.png" alt="" width="1" height="1" />',ra;B.each(function(){c.currentImg=f(this);c.currentImg.is("li")||(c.currentImg=c.currentImg.find("li:first"));if(c.currentImg.is("li")){c.total_images++;ba=0;ca="none";1==c.total_images&&(ba=1,ca="block");N=f('<div class="contentHolderUnit" rel="'+(c.total_images-1)+'" id="contentHolderUnit_'+(c.total_images-1)+'">'+c.currentImg.html()+"</div>");a.fadeSlides?N.css({position:"absolute",
 top:0,left:0,"z-index":ba,display:ca}):N.css({position:"relative","float":"left"});N.width(a.width);N.height(a.height);g.append(N);oa+=a.width;G=f("#contentHolderUnit_"+(c.total_images-1),e).find("img:first");null!=G.width()?(c.origImgsDimensions[c.total_images-1]=G.width()+";"+G.height(),a.responsive&&a.origWidth!=d&&U(G,c.total_images-1,c,a,!0)):(f("#contentHolderUnit_"+(c.total_images-1),e).prepend(za),c.origImgsDimensions[c.total_images-1]="1;1");c.current_img_no=c.total_images-1;G=f("#contentHolderUnit_"+
 c.current_img_no,e).find("img:first");I[c.total_images-1]=G.width()+";"+G.height();Q(c.total_images-1,a,e,c.origImgsDimensions,B);"opportune"==a.skin&&(L=f('<div class="bottomNavButtonOFF" rel="'+(c.total_images-1)+'"></div>'),w.append(L),V+=parseInt(L.css("padding-left").substring(0,L.css("padding-left").length-2),10)+L.width(),pa=parseInt((w.height()-parseInt(L.css("height").substring(0,L.css("height").length-2)))/2,10),L.css("margin-top",pa+"px"));if("opportune"!=a.skin){ra=f(B[c.total_images-
 1]).attr("data-bottom-thumb");z=f('<div class="thumbsHolder_ThumbOFF" rel="'+(c.total_images-1)+'"><img src="'+ra+'"></div>');v.append(z);if(0==a.origThumbW){R=Math.floor((a.origWidth-x.width()-y.width())/z.width());if(0==a.numberOfThumbsPerScreen||a.numberOfThumbsPerScreen>R)a.numberOfThumbsPerScreen=R;a.origThumbW=z.width();a.origThumbH=z.height();a.origthumbsHolderWrapperH=u.height();c.thumbMarginLeft=Math.floor((a.origWidth-x.width()-y.width()-z.width()*a.numberOfThumbsPerScreen)/(a.numberOfThumbsPerScreen-
 1))}v.css("width",v.width()+c.thumbMarginLeft+z.width()+"px");aa=parseInt((u.height()-parseInt(z.css("height").substring(0,z.css("height").length-2)))/2,10)}qa=a.fadeSlides?0:parseInt((c.total_images-1)*a.width,10);g.append(f(c.currentImg.attr("data-text-id")));f(c.currentImg.attr("data-text-id")).css({width:b.width()+"px",left:qa,top:k.css("top")});var r=-1;f(c.currentImg.attr("data-text-id")).children().each(function(){r++;G=f(this).find("img:first");null!=G.width()?(c.origImgsDimensions[c.currentImg.attr("data-text-id")+
 "-"+r]=G.width()+";"+G.height(),a.responsive&&a.origWidth!=d&&U(G,c.currentImg.attr("data-text-id")+"-"+r,c,a,!1)):c.origImgsDimensions[c.currentImg.attr("data-text-id")+"-"+r]=null})}});g.width(oa);w.width(V);a.showOnInitBottomNav&&w.css("left",parseInt((e.width()-V)/2,10)+"px");"opportune"!=a.skin&&(C.css({width:a.origWidth-x.width()-y.width(),left:x.width()+"px"}),c.carouselStep=(z.width()+c.thumbMarginLeft)*a.numberOfThumbsPerScreen,x.addClass("carouselLeftNavDisabled"),a.numberOfThumbsPerScreen>=
 c.total_images&&(y.addClass("carouselRightNavDisabled"),x.css("display","none"),y.css("display","none"),C.css("left",parseInt((u.width()-(z.width()+c.thumbMarginLeft)*c.total_images)/2,10)+"px")),u.css("top",a.height+"px"),f(".thumbsHolder_ThumbOFF",e).find("img:first").css("margin-top",aa+"px"),a.origthumbsHolder_MarginTop=aa);var F=f(".thumbsHolder_ThumbOFF",e);ma(c,a,e,F,v,x,y,z,C,u);f("iframe",e).each(function(){var r=f(this).attr("src"),A="?wmode=transparent";-1!=r.indexOf("?")&&(A="&wmode=transparent");
 f(this).attr("src",r+A)});c.current_img_no=0;a.shuffle&&(a.alwaysStartWithTheFirstSlide?c.random_arr.push(0):(c.current_img_no=-1,ja(B,c,a),c.previous_current_img_no=0,0==c.current_img_no&&e.css({visibility:"visible"})));c.currentImg=f(B[c.current_img_no]);e.find("img:first");a.enableTouchScreen&&e.swipe({swipe:function(r,A,da,sa,ea){c.effectIsRunning||(A="right"==A?-1:1,clearTimeout(c.timeoutID),J(A,c,a,H,B,b,k,g,e,E,I,F,v,x,y,z))}});a.showPauseButton?(f(".mycanvas",e).css({cursor:"pointer"}),f(".mycanvas",
 e).on("click",function(){if(n.hasClass("xplay")){if(n.removeClass("xplay"),c.pauseOnMouseOver=a.pauseOnMouseOver,c.pauseButtonClicked=!1,c.mouseOverBanner=!1,nowx=(new Date).getTime(),0<c.autoPlay&&1<c.total_images&&c.firstLoadingComplete){clearTimeout(c.timeoutID);c.arcInitialTime=(new Date).getTime();var r=parseInt(1E3*c.autoPlay-(c.timeElapsed+nowx-c.arcInitialTime),10);c.timeoutID=setTimeout(function(){J(1,c,a,H,B,b,k,g,e,E,I,F,v,x,y,z)},r);0==c.timeElapsed&&(clearInterval(c.intervalID),c.intervalID=
 setInterval(function(){X(c,a)},125))}}else n.addClass("xplay"),c.pauseOnMouseOver=!1,c.pauseButtonClicked=!0,c.mouseOverBanner=!0,clearTimeout(c.timeoutID),nowx=(new Date).getTime(),c.timeElapsed+=nowx-c.arcInitialTime}),f(".mycanvas",e).on("mouseenter",function(){c.pauseButtonOver=!0}),e.on("mouseleave",function(){c.pauseButtonOver=!1})):n.css({display:"none"});e.on("mouseenter",function(){a.pauseOnMouseOver&&1<c.total_images&&c.firstLoadingComplete&&!c.pauseButtonClicked&&(c.mouseOverBanner=!0,
 clearTimeout(c.timeoutID),nowx=(new Date).getTime(),c.timeElapsed+=nowx-c.arcInitialTime);a.autoHideNavArrows&&a.showNavArrows&&(m.css("display","block"),p.css("display","block"));a.autoHideBottomNav&&a.showBottomNav&&("opportune"==a.skin?w.css({display:"block",left:parseInt((e.width()-V)/2,10)+"px"}):0>a.thumbsWrapperMarginTop&&c.isVideoPlaying||!a.showBottomNav||(u.css({display:"block"}),u.stop().animate({opacity:1},500,"swing",function(){})))});e.on("mouseleave",function(){a.pauseOnMouseOver&&
 1<c.total_images&&c.firstLoadingComplete&&!c.pauseButtonClicked&&(c.mouseOverBanner=!1,nowx=(new Date).getTime());a.autoHideNavArrows&&a.showNavArrows&&!c.isVideoPlaying&&(m.css("display","none"),p.css("display","none"));a.autoHideBottomNav&&a.showBottomNav&&("opportune"==a.skin?w.css("display","none"):u.stop().animate({opacity:0},300,"swing",function(){}));if(0<c.autoPlay&&1<c.total_images&&!c.isVideoPlaying&&a.pauseOnMouseOver&&c.firstLoadingComplete&&!c.pauseButtonClicked){clearTimeout(c.timeoutID);
 c.arcInitialTime=(new Date).getTime();var r=parseInt(1E3*c.autoPlay-(c.timeElapsed+nowx-c.arcInitialTime),10);c.timeoutID=setTimeout(function(){J(1,c,a,H,B,b,k,g,e,E,I,F,v,x,y,z)},r)}});f(window).on("blur focus",function(r){if(f(this).data("prevType")!=r.type)switch(r.type){case "blur":1<c.total_images&&c.firstLoadingComplete&&!c.pauseButtonClicked&&(clearTimeout(c.timeoutID),r=(new Date).getTime(),c.timeElapsed+=r-c.arcInitialTime);break;case "focus":0<c.autoPlay&&1<c.total_images&&c.firstLoadingComplete&&
 !c.pauseButtonClicked&&(r=(new Date).getTime(),clearTimeout(c.timeoutID),c.arcInitialTime=(new Date).getTime(),r=parseInt(1E3*c.autoPlay-(c.timeElapsed+r-c.arcInitialTime),10),c.timeoutID=setTimeout(function(){J(1,c,a,H,B,b,k,g,e,E,I,F,v,x,y,z)},r))}});h=f(".contentHolderUnit",g);-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome")&&-1==navigator.userAgent.indexOf("Android")?h.css("z-index","1"):-1!=navigator.userAgent.indexOf("Chrome")&&-1==navigator.userAgent.indexOf("Android")&&
 h.css("z-index","1");h.on("click",function(){var r=f(this).attr("rel");"true"==f(B[c.current_img_no]).attr("data-video")&&(r!=c.current_img_no?c.isVideoPlaying=!1:(clearTimeout(c.timeoutID),G=f(this).find("img:first"),G.css("display","none"),E.css("display","none"),f(c.currentImg.attr("data-text-id")).children().css("opacity",0),c.isVideoPlaying=!0,0>a.thumbsWrapperMarginTop&&(u.css("display","none"),"opportune"==a.skin&&w.css("display","none")),a.showCircleTimer&&(clearInterval(c.intervalID),c.ctx.clearRect(0,
 0,c.canvas.width,c.canvas.height),c.ctx.beginPath(),c.ctx.globalAlpha=0,c.ctx.arc(a.circleRadius+2*a.circleLineWidth,a.circleRadius+2*a.circleLineWidth,a.circleRadius,0,0,!1),c.ctx.lineWidth=a.circleLineWidth+2,c.ctx.strokeStyle=a.behindCircleColor,c.ctx.stroke(),c.ctx.beginPath(),c.ctx.globalAlpha=0,c.ctx.arc(a.circleRadius+2*a.circleLineWidth,a.circleRadius+2*a.circleLineWidth,a.circleRadius,0,0,!1),c.ctx.lineWidth=a.circleLineWidth,c.ctx.strokeStyle=a.circleColor,c.ctx.stroke())));var A=f(B[c.current_img_no]);
 void 0!=A.attr("data-link")&&r==c.current_img_no&&""!=A.attr("data-link")&&(r=a.target,void 0!=A.attr("data-target")&&""!=A.attr("data-target")&&(r=A.attr("data-target")),"_blank"==r?window.open(A.attr("data-link")):window.location=A.attr("data-link"))});E.on("click",function(){E.css("display","none");clearTimeout(c.timeoutID);G=f("#contentHolderUnit_"+c.current_img_no,e).find("img:first");G.css("display","none");f(c.currentImg.attr("data-text-id")).children().css("opacity",0);c.isVideoPlaying=!0;
 0>a.thumbsWrapperMarginTop&&(u.css("display","none"),"opportune"==a.skin&&w.css("display","none"));a.showCircleTimer&&(clearInterval(c.intervalID),c.ctx.clearRect(0,0,c.canvas.width,c.canvas.height),c.ctx.beginPath(),c.ctx.globalAlpha=0,c.ctx.arc(a.circleRadius+2*a.circleLineWidth,a.circleRadius+2*a.circleLineWidth,a.circleRadius,0,0,!1),c.ctx.lineWidth=a.circleLineWidth+2,c.ctx.strokeStyle=a.behindCircleColor,c.ctx.stroke(),c.ctx.beginPath(),c.ctx.globalAlpha=0,c.ctx.arc(a.circleRadius+2*a.circleLineWidth,
 a.circleRadius+2*a.circleLineWidth,a.circleRadius,0,0,!1),c.ctx.lineWidth=a.circleLineWidth,c.ctx.strokeStyle=a.circleColor,c.ctx.stroke())});m.on("click",function(){c.slideIsRunning||(c.isVideoPlaying=!1,a.showBottomNav&&(u.css({opacity:1,display:"block"}),"opportune"==a.skin&&w.css("display","block")),clearTimeout(c.timeoutID),J(-1,c,a,H,B,b,k,g,e,E,I,F,v,x,y,z))});p.on("click",function(){c.slideIsRunning||(c.isVideoPlaying=!1,a.showBottomNav&&(u.css({opacity:1,display:"block"}),"opportune"==a.skin&&
 w.css("display","block")),clearTimeout(c.timeoutID),J(1,c,a,H,B,b,k,g,e,E,I,F,v,x,y,z))});var fa=!1;f(window).resize(function(){var r=K(),A=!0;-1!=r&&9==r&&0==c.windowWidth&&(A=!1);c.windowWidth==f(window).width()?A=!1:c.windowWidth=f(window).width();a.responsive&&A&&!c.slideIsRunning&&(!1!==fa&&clearTimeout(fa),fa=setTimeout(function(){ya(c,a,B,b,k,q,g,e,E,I,F,H,v,x,y,z,m,L,w,C,u,p)},300))});var H=f(".bottomNavButtonOFF",e);"opportune"==a.skin&&(H.on("click",function(){if(!c.slideIsRunning&&c.firstLoadingComplete){c.isVideoPlaying=
 !1;var r=f(this).attr("rel");c.current_img_no!=r&&(f(H[c.current_img_no]).removeClass("bottomNavButtonON"),c.previous_current_img_no=c.current_img_no,c.bottomNavClicked=!0,c.current_img_no=r-1,clearTimeout(c.timeoutID),J(1,c,a,H,B,b,k,g,e,E,I,F,v,x,y,z))}}),H.on("mouseenter",function(){var r=f(this),A=r.attr("rel");if(a.showPreviewThumbs){t=f('<div class="bottomOverThumb"></div>');r.append(t);var da=f(B[A]).attr("data-bottom-thumb"),sa=f(B[Z]).attr("data-bottom-thumb"),ea=80,ta=-80;Z>A&&(ea=-80,ta=
 80);t.html("");t.html('<div class="innerBottomOverThumb"><img src="'+sa+'"style="margin:0px;" id="oldThumb"><img src="'+da+'" style="margin-top:-80px; margin-left:'+ea+'px;" id="newThumb"></div>');f("#newThumb").stop().animate({marginLeft:"0px"},150,function(){t.html('<div class="innerBottomOverThumb"><img src="'+da+'"></div>')});f("#oldThumb").stop().animate({marginLeft:ta+"px"},150,function(){});Z=A}r.addClass("bottomNavButtonON")}),H.on("mouseleave",function(){var r=f(this),A=r.attr("rel");a.showPreviewThumbs&&
 t.remove();c.current_img_no!=A&&r.removeClass("bottomNavButtonON")}));F.on("mousedown",function(){if(!c.slideIsRunning&&c.firstLoadingComplete){c.isVideoPlaying=!1;var r=f(this).attr("rel");c.current_img_no!=r&&(f(F[c.current_img_no]).removeClass("thumbsHolder_ThumbON"),c.previous_current_img_no=c.current_img_no,c.bottomNavClicked=!0,c.current_img_no=r-1,clearTimeout(c.timeoutID),J(1,c,a,H,B,b,k,g,e,E,I,F,v,x,y,z))}});F.on("mouseup",function(){});F.on("mouseenter",function(){var r=f(this);r.attr("rel");
 r.addClass("thumbsHolder_ThumbON")});F.on("mouseleave",function(){var r=f(this),A=r.attr("rel");c.current_img_no!=A&&r.removeClass("thumbsHolder_ThumbON")});x.on("click",function(){c.isCarouselScrolling||(currentCarouselLeft=v.css("left").substr(0,v.css("left").lastIndexOf("px")),0>currentCarouselLeft&&T(1,v,x,y,a,z,c))});y.on("click",function(){c.isCarouselScrolling||(currentCarouselLeft=v.css("left").substr(0,v.css("left").lastIndexOf("px")),Math.abs(currentCarouselLeft-c.carouselStep)<(z.width()+
 c.thumbMarginLeft)*c.total_images&&T(-1,v,x,y,a,z,c))});"opportune"==a.skin&&f(H[c.current_img_no]).addClass("bottomNavButtonON");f(F[c.current_img_no]).addClass("thumbsHolder_ThumbON");ka(B,c,a);setTimeout(function(){f(".myloader",e).css("display","none");c.firstLoadingComplete=!0;1<c.total_images&&(c.arcInitialTime=(new Date).getTime(),c.mouseOverBanner=!1,c.timeElapsed=0);a.shuffle&&!a.alwaysStartWithTheFirstSlide&&0!=c.current_img_no?(c.previous_current_img_no=0,c.current_img_no--,c.bottomNavClicked=
 !0,clearTimeout(c.timeoutID),J(1,c,a,H,B,b,k,g,e,E,I,F,v,x,y,z)):(W(c,a,e,I,B),M(c,c.currentImg,a,b,e,k,!1,!1));0<c.autoPlay&&1<c.total_images&&(clearTimeout(c.timeoutID),a.showCircleTimer&&(c.intervalID=setInterval(function(){X(c,a)},125)),c.timeoutID=setTimeout(function(){J(1,c,a,H,B,b,k,g,e,E,I,F,v,x,y,z)},1E3*c.autoPlay))},1E3*a.myloaderTime);"true"==f(B[c.current_img_no]).attr("data-video")&&E.css("display","block")})};f.fn.bannerscollection_zoominout.defaults={skin:"opportune",width:918,height:382,
 width100Proc:!1,height100Proc:!1,autoPlay:10,shuffle:!1,alwaysStartWithTheFirstSlide:!1,fadeSlides:!0,loop:!0,setAsBg:!1,horizontalPosition:"center",verticalPosition:"center",initialZoom:1,finalZoom:.8,zoomEasing:"ease",duration:20,durationIEfix:30,initialOpacity:1,target:"_blank",pauseOnMouseOver:!0,showPauseButton:!0,showCircleTimer:!0,showCircleTimerIE8IE7:!1,circleRadius:13,circleLineWidth:2,circleColor:"#FFFFFF",circleAlpha:100,behindCircleColor:"#FFFFFF",behindCircleAlpha:20,responsive:!0,responsiveRelativeToBrowser:!0,
 centerPlugin:!1,numberOfThumbsPerScreen:0,thumbsOnMarginTop:20,thumbsWrapperMarginTop:20,showAllControllers:!0,showNavArrows:!0,showOnInitNavArrows:!0,autoHideNavArrows:!0,showBottomNav:!0,showOnInitBottomNav:!0,autoHideBottomNav:!1,showPreviewThumbs:!0,enableTouchScreen:!0,absUrl:"",scrollSlideDuration:.8,scrollSlideEasing:"easeOutQuad",defaultEasing:"swing",myloaderTime:2,hideControlsUnder:768,defaultExitLeft:0,defaultExitTop:0,defaultExitDuration:0,defaultExitDelay:0,defaultExitFade:1,defaultExitEasing:"swing",
 defaultExitOFF:!1,origWidth:0,origHeight:0,origThumbW:0,origThumbH:0,origthumbsHolderWrapperH:0,origthumbsHolder_MarginTop:0,windowOrientationScreenSize0:0,windowOrientationScreenSize90:0,windowOrientationScreenSize_90:0,windowCurOrientation:0}})(jQuery);
// source --> https://www.larochebeaucourt.fr/wp-content/plugins/gallery-showcase-pro/assets/less/less.min.js?ver=224eecded61822e685e79150a571c0fd 
/*!
 * Less - Leaner CSS v2.7.2
 * http://lesscss.org
 *
 * Copyright (c) 2009-2017, Alexis Sellier <self@cloudhead.net>
 * Licensed under the Apache-2.0 License.
 *
 */

/** * @license Apache-2.0
 */

!function(a){if ("object" == typeof exports && "undefined" != typeof module)module.exports = a(); else if ("function" == typeof define && define.amd)define([], a); else{var b; b = "undefined" != typeof window?window:"undefined" != typeof global?global:"undefined" != typeof self?self:this, b.less = a()}}(function(){return function a(b, c, d){function e(g, h){if (!c[g]){if (!b[g]){var i = "function" == typeof require && require; if (!h && i)return i(g, !0); if (f)return f(g, !0); var j = new Error("Cannot find module '" + g + "'"); throw j.code = "MODULE_NOT_FOUND", j}var k = c[g] = {exports:{}}; b[g][0].call(k.exports, function(a){var c = b[g][1][a]; return e(c?c:a)}, k, k.exports, a, b, c, d)}return c[g].exports}for (var f = "function" == typeof require && require, g = 0; g < d.length; g++)e(d[g]); return e}({1:[function(a, b, c){var d = a("./utils").addDataAttr, e = a("./browser"); b.exports = function(a, b){d(b, e.currentScript(a)), void 0 === b.isFileProtocol && (b.isFileProtocol = /^(file|(chrome|safari)(-extension)?|resource|qrc|app):/.test(a.location.protocol)), b.async = b.async || !1, b.fileAsync = b.fileAsync || !1, b.poll = b.poll || (b.isFileProtocol?1e3:1500), b.env = b.env || ("127.0.0.1" == a.location.hostname || "0.0.0.0" == a.location.hostname || "localhost" == a.location.hostname || a.location.port && a.location.port.length > 0 || b.isFileProtocol?"development":"production"); var c = /!dumpLineNumbers:(comments|mediaquery|all)/.exec(a.location.hash); c && (b.dumpLineNumbers = c[1]), void 0 === b.useFileCache && (b.useFileCache = !0), void 0 === b.onReady && (b.onReady = !0)}}, {"./browser":3, "./utils":10}], 2:[function(a, b, c){function d(a){a.filename && console.warn(a), e.async || h.removeChild(i)}a("promise/polyfill.js"); var e = window.less || {}; a("./add-default-options")(window, e); var f = b.exports = a("./index")(window, e); window.less = f; var g, h, i; e.onReady && (/!watch/.test(window.location.hash) && f.watch(), e.async || (g = "body { display: none !important }", h = document.head || document.getElementsByTagName("head")[0], i = document.createElement("style"), i.type = "text/css", i.styleSheet?i.styleSheet.cssText = g:i.appendChild(document.createTextNode(g)), h.appendChild(i)), f.registerStylesheetsImmediately(), f.pageLoadFinished = f.refresh("development" === f.env).then(d, d))}, {"./add-default-options":1, "./index":8, "promise/polyfill.js":97}], 3:[function(a, b, c){var d = a("./utils"); b.exports = {createCSS:function(a, b, c){var e = c.href || "", f = "less:" + (c.title || d.extractId(e)), g = a.getElementById(f), h = !1, i = a.createElement("style"); i.setAttribute("type", "text/css"), c.media && i.setAttribute("media", c.media), i.id = f, i.styleSheet || (i.appendChild(a.createTextNode(b)), h = null !== g && g.childNodes.length > 0 && i.childNodes.length > 0 && g.firstChild.nodeValue === i.firstChild.nodeValue); var j = a.getElementsByTagName("head")[0]; if (null === g || h === !1){var k = c && c.nextSibling || null; k?k.parentNode.insertBefore(i, k):j.appendChild(i)}if (g && h === !1 && g.parentNode.removeChild(g), i.styleSheet)try{i.styleSheet.cssText = b} catch (l){throw new Error("Couldn't reassign styleSheet.cssText.")}}, currentScript:function(a){var b = a.document; return b.currentScript || function(){var a = b.getElementsByTagName("script"); return a[a.length - 1]}()}}}, {"./utils":10}], 4:[function(a, b, c){b.exports = function(a, b, c){var d = null; if ("development" !== b.env)try{d = "undefined" == typeof a.localStorage?null:a.localStorage} catch (e){}return{setCSS:function(a, b, e, f){if (d){c.info("saving " + a + " to cache."); try{d.setItem(a, f), d.setItem(a + ":timestamp", b), e && d.setItem(a + ":vars", JSON.stringify(e))} catch (g){c.error('failed to save "' + a + '" to local storage for caching.')}}}, getCSS:function(a, b, c){var e = d && d.getItem(a), f = d && d.getItem(a + ":timestamp"), g = d && d.getItem(a + ":vars"); if (c = c || {}, f && b.lastModified && new Date(b.lastModified).valueOf() === new Date(f).valueOf() && (!c && !g || JSON.stringify(c) === g))return e}}}}, {}], 5:[function(a, b, c){var d = a("./utils"), e = a("./browser"); b.exports = function(a, b, c){function f(b, f){var g, h, i = "less-error-message:" + d.extractId(f || ""), j = '<li><label>{line}</label><pre class="{class}">{content}</pre></li>', k = a.document.createElement("div"), l = [], m = b.filename || f, n = m.match(/([^\/]+(\?.*)?)$/)[1]; k.id = i, k.className = "less-error-message", h = "<h3>" + (b.type || "Syntax") + "Error: " + (b.message || "There is an error in your .less file") + '</h3><p>in <a href="' + m + '">' + n + "</a> "; var o = function(a, b, c){void 0 !== a.extract[b] && l.push(j.replace(/\{line\}/, (parseInt(a.line, 10) || 0) + (b - 1)).replace(/\{class\}/, c).replace(/\{content\}/, a.extract[b]))}; b.extract && (o(b, 0, ""), o(b, 1, "line"), o(b, 2, ""), h += "on line " + b.line + ", column " + (b.column + 1) + ":</p><ul>" + l.join("") + "</ul>"), b.stack && (b.extract || c.logLevel >= 4) && (h += "<br/>Stack Trace</br />" + b.stack.split("\n").slice(1).join("<br/>")), k.innerHTML = h, e.createCSS(a.document, [".less-error-message ul, .less-error-message li {", "list-style-type: none;", "margin-right: 15px;", "padding: 4px 0;", "margin: 0;", "}", ".less-error-message label {", "font-size: 12px;", "margin-right: 15px;", "padding: 4px 0;", "color: #cc7777;", "}", ".less-error-message pre {", "color: #dd6666;", "padding: 4px 0;", "margin: 0;", "display: inline-block;", "}", ".less-error-message pre.line {", "color: #ff0000;", "}", ".less-error-message h3 {", "font-size: 20px;", "font-weight: bold;", "padding: 15px 0 5px 0;", "margin: 0;", "}", ".less-error-message a {", "color: #10a", "}", ".less-error-message .error {", "color: red;", "font-weight: bold;", "padding-bottom: 2px;", "border-bottom: 1px dashed red;", "}"].join("\n"), {title:"error-message"}), k.style.cssText = ["font-family: Arial, sans-serif", "border: 1px solid #e00", "background-color: #eee", "border-radius: 5px", "-webkit-border-radius: 5px", "-moz-border-radius: 5px", "color: #e00", "padding: 15px", "margin-bottom: 15px"].join(";"), "development" === c.env && (g = setInterval(function(){var b = a.document, c = b.body; c && (b.getElementById(i)?c.replaceChild(k, b.getElementById(i)):c.insertBefore(k, c.firstChild), clearInterval(g))}, 10))}function g(b){var c = a.document.getElementById("less-error-message:" + d.extractId(b)); c && c.parentNode.removeChild(c)}function h(a){}function i(a){c.errorReporting && "html" !== c.errorReporting?"console" === c.errorReporting?h(a):"function" == typeof c.errorReporting && c.errorReporting("remove", a):g(a)}function j(a, d){var e = "{line} {content}", f = a.filename || d, g = [], h = (a.type || "Syntax") + "Error: " + (a.message || "There is an error in your .less file") + " in " + f + " ", i = function(a, b, c){void 0 !== a.extract[b] && g.push(e.replace(/\{line\}/, (parseInt(a.line, 10) || 0) + (b - 1)).replace(/\{class\}/, c).replace(/\{content\}/, a.extract[b]))}; a.extract && (i(a, 0, ""), i(a, 1, "line"), i(a, 2, ""), h += "on line " + a.line + ", column " + (a.column + 1) + ":\n" + g.join("\n")), a.stack && (a.extract || c.logLevel >= 4) && (h += "\nStack Trace\n" + a.stack), b.logger.error(h)}function k(a, b){c.errorReporting && "html" !== c.errorReporting?"console" === c.errorReporting?j(a, b):"function" == typeof c.errorReporting && c.errorReporting("add", a, b):f(a, b)}return{add:k, remove:i}}}, {"./browser":3, "./utils":10}], 6:[function(a, b, c){b.exports = function(b, c){function d(){if (window.XMLHttpRequest && !("file:" === window.location.protocol && "ActiveXObject"in window))return new XMLHttpRequest; try{return new ActiveXObject("Microsoft.XMLHTTP")} catch (a){return c.error("browser doesn't support AJAX."), null}}var e = a("../less/environment/abstract-file-manager.js"), f = {}, g = function(){}; return g.prototype = new e, g.prototype.alwaysMakePathsAbsolute = function(){return!0}, g.prototype.join = function(a, b){return a?this.extractUrlParts(b, a).path:b}, g.prototype.doXHR = function(a, e, f, g){function h(b, c, d){b.status >= 200 && b.status < 300?c(b.responseText, b.getResponseHeader("Last-Modified")):"function" == typeof d && d(b.status, a)}var i = d(), j = !b.isFileProtocol || b.fileAsync; "function" == typeof i.overrideMimeType && i.overrideMimeType("text/css"), c.debug("XHR: Getting '" + a + "'"), i.open("GET", a, j), i.setRequestHeader("Accept", e || "text/x-less, text/css; q=0.9, */*; q=0.5"), i.send(null), b.isFileProtocol && !b.fileAsync?0 === i.status || i.status >= 200 && i.status < 300?f(i.responseText):g(i.status, a):j?i.onreadystatechange = function(){4 == i.readyState && h(i, f, g)}:h(i, f, g)}, g.prototype.supports = function(a, b, c, d){return!0}, g.prototype.clearFileCache = function(){f = {}}, g.prototype.loadFile = function(a, b, c, d, e){b && !this.isPathAbsolute(a) && (a = b + a), c = c || {}; var g = this.extractUrlParts(a, window.location.href), h = g.url; if (c.useFileCache && f[h])try{var i = f[h]; e(null, {contents:i, filename:h, webInfo:{lastModified:new Date}})} catch (j){e({filename:h, message:"Error loading file " + h + " error was " + j.message})} else this.doXHR(h, c.mime, function(a, b){f[h] = a, e(null, {contents:a, filename:h, webInfo:{lastModified:b}})}, function(a, b){e({type:"File", message:"'" + b + "' wasn't found (" + a + ")", href:h})})}, g}}, {"../less/environment/abstract-file-manager.js":15}], 7:[function(a, b, c){b.exports = function(){function b(){throw{type:"Runtime", message:"Image size functions are not supported in browser version of less"}}var c = a("./../less/functions/function-registry"), d = {"image-size":function(a){return b(this, a), - 1}, "image-width":function(a){return b(this, a), - 1}, "image-height":function(a){return b(this, a), - 1}}; c.addMultiple(d)}}, {"./../less/functions/function-registry":22}], 8:[function(a, b, c){var d = a("./utils").addDataAttr, e = a("./browser"); b.exports = function(b, c){function f(a){return c.postProcessor && "function" == typeof c.postProcessor && (a = c.postProcessor.call(a, a) || a), a}function g(a){var b = {}; for (var c in a)a.hasOwnProperty(c) && (b[c] = a[c]); return b}function h(a, b){var c = Array.prototype.slice.call(arguments, 2); return function(){var d = c.concat(Array.prototype.slice.call(arguments, 0)); return a.apply(b, d)}}function i(a){for (var b, d = m.getElementsByTagName("style"), e = 0; e < d.length; e++)if (b = d[e], b.type.match(t)){var f = g(c); f.modifyVars = a; var i = b.innerHTML || ""; f.filename = m.location.href.replace(/#.*$/, ""), n.render(i, f, h(function(a, b, c){b?r.add(b, "inline"):(a.type = "text/css", a.styleSheet?a.styleSheet.cssText = c.css:a.innerHTML = c.css)}, null, b))}}function j(a, b, e, h, i){function j(c){var d = c.contents, g = c.filename, i = c.webInfo, j = {currentDirectory:q.getPath(g), filename:g, rootFilename:g, relativeUrls:k.relativeUrls}; if (j.entryPath = j.currentDirectory, j.rootpath = k.rootpath || j.currentDirectory, i){i.remaining = h; var l = s.getCSS(g, i, k.modifyVars); if (!e && l)return i.local = !0, void b(null, l, d, a, i, g)}r.remove(g), k.rootFileInfo = j, n.render(d, k, function(c, e){c?(c.href = g, b(c)):(e.css = f(e.css), s.setCSS(a.href, i.lastModified, k.modifyVars, e.css), b(null, e.css, d, a, i, g))})}var k = g(c); d(k, a), k.mime = a.type, i && (k.modifyVars = i), q.loadFile(a.href, null, k, o, function(a, c){return a?void b(a):void j(c)})}function k(a, b, c){for (var d = 0; d < n.sheets.length; d++)j(n.sheets[d], a, b, n.sheets.length - (d + 1), c)}function l(){"development" === n.env && (n.watchTimer = setInterval(function(){n.watchMode && (q.clearFileCache(), k(function(a, c, d, f, g){a?r.add(a, a.href || f.href):c && e.createCSS(b.document, c, f)}))}, c.poll))}var m = b.document, n = a("../less")(); n.options = c; var o = n.environment, p = a("./file-manager")(c, n.logger), q = new p; o.addFileManager(q), n.FileManager = p, a("./log-listener")(n, c); var r = a("./error-reporting")(b, n, c), s = n.cache = c.cache || a("./cache")(b, c, n.logger); a("./image-size")(n.environment), c.functions && n.functions.functionRegistry.addMultiple(c.functions); var t = /^text\/(x-)?less$/; return n.watch = function(){return n.watchMode || (n.env = "development", l()), this.watchMode = !0, !0}, n.unwatch = function(){return clearInterval(n.watchTimer), this.watchMode = !1, !1}, n.registerStylesheetsImmediately = function(){var a = m.getElementsByTagName("link"); n.sheets = []; for (var b = 0; b < a.length; b++)("stylesheet/less" === a[b].rel || a[b].rel.match(/stylesheet/) && a[b].type.match(t)) && n.sheets.push(a[b])}, n.registerStylesheets = function(){return new Promise(function(a, b){n.registerStylesheetsImmediately(), a()})}, n.modifyVars = function(a){return n.refresh(!0, a, !1)}, n.refresh = function(a, c, d){return(a || d) && d !== !1 && q.clearFileCache(), new Promise(function(d, f){var g, h, j, l; g = h = new Date, l = n.sheets.length, 0 === l?(h = new Date, j = h - g, n.logger.info("Less has finished and no sheets were loaded."), d({startTime:g, endTime:h, totalMilliseconds:j, sheets:n.sheets.length})):k(function(a, c, i, k, m){return a?(r.add(a, a.href || k.href), void f(a)):(n.logger.info(m.local?"Loading " + k.href + " from cache.":"Rendered " + k.href + " successfully."), e.createCSS(b.document, c, k), n.logger.info("CSS for " + k.href + " generated in " + (new Date - h) + "ms"), l--, 0 === l && (j = new Date - g, n.logger.info("Less has finished. CSS generated in " + j + "ms"), d({startTime:g, endTime:h, totalMilliseconds:j, sheets:n.sheets.length})), void(h = new Date))}, a, c), i(c)})}, n.refreshStyles = i, n}}, {"../less":31, "./browser":3, "./cache":4, "./error-reporting":5, "./file-manager":6, "./image-size":7, "./log-listener":9, "./utils":10}], 9:[function(a, b, c){b.exports = function(a, b){var c = 4, d = 3, e = 2, f = 1; b.logLevel = "undefined" != typeof b.logLevel?b.logLevel:"development" === b.env?d:f, b.loggers || (b.loggers = [{debug:function(a){b.logLevel >= c && console.log(a)}, info:function(a){b.logLevel >= d && console.log(a)}, warn:function(a){b.logLevel >= e && console.warn(a)}, error:function(a){b.logLevel >= f && console.error(a)}}]); for (var g = 0; g < b.loggers.length; g++)a.logger.addListener(b.loggers[g])}}, {}], 10:[function(a, b, c){b.exports = {extractId:function(a){return a.replace(/^[a-z-]+:\/+?[^\/]+/, "").replace(/[\?\&]livereload=\w+/, "").replace(/^\//, "").replace(/\.[a-zA-Z]+$/, "").replace(/[^\.\w-]+/g, "-").replace(/\./g, ":")}, addDataAttr:function(a, b){for (var c in b.dataset)if (b.dataset.hasOwnProperty(c))if ("env" === c || "dumpLineNumbers" === c || "rootpath" === c || "errorReporting" === c)a[c] = b.dataset[c]; else try{a[c] = JSON.parse(b.dataset[c])} catch (d){}}}}, {}], 11:[function(a, b, c){var d = {}; b.exports = d; var e = function(a, b, c){if (a)for (var d = 0; d < c.length; d++)a.hasOwnProperty(c[d]) && (b[c[d]] = a[c[d]])}, f = ["paths", "relativeUrls", "rootpath", "strictImports", "insecure", "dumpLineNumbers", "compress", "syncImport", "chunkInput", "mime", "useFileCache", "processImports", "pluginManager"]; d.Parse = function(a){e(a, this, f), "string" == typeof this.paths && (this.paths = [this.paths])}; var g = ["paths", "compress", "ieCompat", "strictMath", "strictUnits", "sourceMap", "importMultiple", "urlArgs", "javascriptEnabled", "pluginManager", "importantScope"]; d.Eval = function(a, b){e(a, this, g), "string" == typeof this.paths && (this.paths = [this.paths]), this.frames = b || [], this.importantScope = this.importantScope || []}, d.Eval.prototype.inParenthesis = function(){this.parensStack || (this.parensStack = []), this.parensStack.push(!0)}, d.Eval.prototype.outOfParenthesis = function(){this.parensStack.pop()}, d.Eval.prototype.isMathOn = function(){return!this.strictMath || this.parensStack && this.parensStack.length}, d.Eval.prototype.isPathRelative = function(a){return!/^(?:[a-z-]+:|\/|#)/i.test(a)}, d.Eval.prototype.normalizePath = function(a){var b, c = a.split("/").reverse(); for (a = []; 0 !== c.length; )switch (b = c.pop()){case".":break; case"..":0 === a.length || ".." === a[a.length - 1]?a.push(b):a.pop(); break; default:a.push(b)}return a.join("/")}}, {}], 12:[function(a, b, c){b.exports = {aliceblue:"#f0f8ff", antiquewhite:"#faebd7", aqua:"#00ffff", aquamarine:"#7fffd4", azure:"#f0ffff", beige:"#f5f5dc", bisque:"#ffe4c4", black:"#000000", blanchedalmond:"#ffebcd", blue:"#0000ff", blueviolet:"#8a2be2", brown:"#a52a2a", burlywood:"#deb887", cadetblue:"#5f9ea0", chartreuse:"#7fff00", chocolate:"#d2691e", coral:"#ff7f50", cornflowerblue:"#6495ed", cornsilk:"#fff8dc", crimson:"#dc143c", cyan:"#00ffff", darkblue:"#00008b", darkcyan:"#008b8b", darkgoldenrod:"#b8860b", darkgray:"#a9a9a9", darkgrey:"#a9a9a9", darkgreen:"#006400", darkkhaki:"#bdb76b", darkmagenta:"#8b008b", darkolivegreen:"#556b2f", darkorange:"#ff8c00", darkorchid:"#9932cc", darkred:"#8b0000", darksalmon:"#e9967a", darkseagreen:"#8fbc8f", darkslateblue:"#483d8b", darkslategray:"#2f4f4f", darkslategrey:"#2f4f4f", darkturquoise:"#00ced1", darkviolet:"#9400d3", deeppink:"#ff1493", deepskyblue:"#00bfff", dimgray:"#696969", dimgrey:"#696969", dodgerblue:"#1e90ff", firebrick:"#b22222", floralwhite:"#fffaf0", forestgreen:"#228b22", fuchsia:"#ff00ff", gainsboro:"#dcdcdc", ghostwhite:"#f8f8ff", gold:"#ffd700", goldenrod:"#daa520", gray:"#808080", grey:"#808080", green:"#008000", greenyellow:"#adff2f", honeydew:"#f0fff0", hotpink:"#ff69b4", indianred:"#cd5c5c", indigo:"#4b0082", ivory:"#fffff0", khaki:"#f0e68c", lavender:"#e6e6fa", lavenderblush:"#fff0f5", lawngreen:"#7cfc00", lemonchiffon:"#fffacd", lightblue:"#add8e6", lightcoral:"#f08080", lightcyan:"#e0ffff", lightgoldenrodyellow:"#fafad2", lightgray:"#d3d3d3", lightgrey:"#d3d3d3", lightgreen:"#90ee90", lightpink:"#ffb6c1", lightsalmon:"#ffa07a", lightseagreen:"#20b2aa", lightskyblue:"#87cefa", lightslategray:"#778899", lightslategrey:"#778899", lightsteelblue:"#b0c4de", lightyellow:"#ffffe0", lime:"#00ff00", limegreen:"#32cd32", linen:"#faf0e6", magenta:"#ff00ff", maroon:"#800000", mediumaquamarine:"#66cdaa", mediumblue:"#0000cd", mediumorchid:"#ba55d3", mediumpurple:"#9370d8", mediumseagreen:"#3cb371", mediumslateblue:"#7b68ee", mediumspringgreen:"#00fa9a", mediumturquoise:"#48d1cc", mediumvioletred:"#c71585", midnightblue:"#191970", mintcream:"#f5fffa", mistyrose:"#ffe4e1", moccasin:"#ffe4b5", navajowhite:"#ffdead", navy:"#000080", oldlace:"#fdf5e6", olive:"#808000", olivedrab:"#6b8e23", orange:"#ffa500", orangered:"#ff4500", orchid:"#da70d6", palegoldenrod:"#eee8aa", palegreen:"#98fb98", paleturquoise:"#afeeee", palevioletred:"#d87093", papayawhip:"#ffefd5", peachpuff:"#ffdab9", peru:"#cd853f", pink:"#ffc0cb", plum:"#dda0dd", powderblue:"#b0e0e6", purple:"#800080", rebeccapurple:"#663399", red:"#ff0000", rosybrown:"#bc8f8f", royalblue:"#4169e1", saddlebrown:"#8b4513", salmon:"#fa8072", sandybrown:"#f4a460", seagreen:"#2e8b57", seashell:"#fff5ee", sienna:"#a0522d", silver:"#c0c0c0", skyblue:"#87ceeb", slateblue:"#6a5acd", slategray:"#708090", slategrey:"#708090", snow:"#fffafa", springgreen:"#00ff7f", steelblue:"#4682b4", tan:"#d2b48c", teal:"#008080", thistle:"#d8bfd8", tomato:"#ff6347", turquoise:"#40e0d0", violet:"#ee82ee", wheat:"#f5deb3", white:"#ffffff", whitesmoke:"#f5f5f5", yellow:"#ffff00", yellowgreen:"#9acd32"}}, {}], 13:[function(a, b, c){b.exports = {colors:a("./colors"), unitConversions:a("./unit-conversions")}}, {"./colors":12, "./unit-conversions":14}], 14:[function(a, b, c){b.exports = {length:{m:1, cm:.01, mm:.001, "in":.0254, px:.0254 / 96, pt:.0254 / 72, pc:.0254 / 72 * 12}, duration:{s:1, ms:.001}, angle:{rad:1 / (2 * Math.PI), deg:1 / 360, grad:.0025, turn:1}}}, {}], 15:[function(a, b, c){var d = function(){}; d.prototype.getPath = function(a){var b = a.lastIndexOf("?"); return b > 0 && (a = a.slice(0, b)), b = a.lastIndexOf("/"), b < 0 && (b = a.lastIndexOf("\\")), b < 0?"":a.slice(0, b + 1)}, d.prototype.tryAppendExtension = function(a, b){return/(\.[a-z]*$)|([\?;].*)$/.test(a)?a:a + b}, d.prototype.tryAppendLessExtension = function(a){return this.tryAppendExtension(a, ".less")}, d.prototype.supportsSync = function(){return!1}, d.prototype.alwaysMakePathsAbsolute = function(){return!1}, d.prototype.isPathAbsolute = function(a){return/^(?:[a-z-]+:|\/|\\|#)/i.test(a)}, d.prototype.join = function(a, b){return a?a + b:b}, d.prototype.pathDiff = function(a, b){var c, d, e, f, g = this.extractUrlParts(a), h = this.extractUrlParts(b), i = ""; if (g.hostPart !== h.hostPart)return""; for (d = Math.max(h.directories.length, g.directories.length), c = 0; c < d && h.directories[c] === g.directories[c]; c++); for (f = h.directories.slice(c), e = g.directories.slice(c), c = 0; c < f.length - 1; c++)i += "../"; for (c = 0; c < e.length - 1; c++)i += e[c] + "/"; return i}, d.prototype.extractUrlParts = function(a, b){var c, d, e = /^((?:[a-z-]+:)?\/{2}(?:[^\/\?#]*\/)|([\/\\]))?((?:[^\/\\\?#]*[\/\\])*)([^\/\\\?#]*)([#\?].*)?$/i, f = a.match(e), g = {}, h = []; if (!f)throw new Error("Could not parse sheet href - '" + a + "'"); if (b && (!f[1] || f[2])){if (d = b.match(e), !d)throw new Error("Could not parse page url - '" + b + "'"); f[1] = f[1] || d[1] || "", f[2] || (f[3] = d[3] + f[3])}if (f[3]){for (h = f[3].replace(/\\/g, "/").split("/"), c = 0; c < h.length; c++)"." === h[c] && (h.splice(c, 1), c -= 1); for (c = 0; c < h.length; c++)".." === h[c] && c > 0 && (h.splice(c - 1, 2), c -= 2)}return g.hostPart = f[1], g.directories = h, g.path = (f[1] || "") + h.join("/"), g.fileUrl = g.path + (f[4] || ""), g.url = g.fileUrl + (f[5] || ""), g}, b.exports = d}, {}], 16:[function(a, b, c){var d = a("../logger"), e = function(a, b){this.fileManagers = b || [], a = a || {}; for (var c = ["encodeBase64", "mimeLookup", "charsetLookup", "getSourceMapGenerator"], d = [], e = d.concat(c), f = 0; f < e.length; f++){var g = e[f], h = a[g]; h?this[g] = h.bind(a):f < d.length && this.warn("missing required function in environment - " + g)}}; e.prototype.getFileManager = function(a, b, c, e, f){a || d.warn("getFileManager called with no filename.. Please report this issue. continuing."), null == b && d.warn("getFileManager called with null directory.. Please report this issue. continuing."); var g = this.fileManagers; c.pluginManager && (g = [].concat(g).concat(c.pluginManager.getFileManagers())); for (var h = g.length - 1; h >= 0; h--){var i = g[h]; if (i[f?"supportsSync":"supports"](a, b, c, e))return i}return null}, e.prototype.addFileManager = function(a){this.fileManagers.push(a)}, e.prototype.clearFileManagers = function(){this.fileManagers = []}, b.exports = e}, {"../logger":33}], 17:[function(a, b, c){function d(a, b, c){var d, f, g, h, i = b.alpha, j = c.alpha, k = []; g = j + i * (1 - j); for (var l = 0; l < 3; l++)d = b.rgb[l] / 255, f = c.rgb[l] / 255, h = a(d, f), g && (h = (j * f + i * (d - j * (d + f - h))) / g), k[l] = 255 * h; return new e(k, g)}var e = a("../tree/color"), f = a("./function-registry"), g = {multiply:function(a, b){return a * b}, screen:function(a, b){return a + b - a * b}, overlay:function(a, b){return a *= 2, a <= 1?g.multiply(a, b):g.screen(a - 1, b)}, softlight:function(a, b){var c = 1, d = a; return b > .5 && (d = 1, c = a > .25?Math.sqrt(a):((16 * a - 12) * a + 4) * a), a - (1 - 2 * b) * d * (c - a)}, hardlight:function(a, b){return g.overlay(b, a)}, difference:function(a, b){return Math.abs(a - b)}, exclusion:function(a, b){return a + b - 2 * a * b}, average:function(a, b){return(a + b) / 2}, negation:function(a, b){return 1 - Math.abs(a + b - 1)}}; for (var h in g)g.hasOwnProperty(h) && (d[h] = d.bind(null, g[h])); f.addMultiple(d)}, {"../tree/color":50, "./function-registry":22}], 18:[function(a, b, c){function d(a){return Math.min(1, Math.max(0, a))}function e(a){return h.hsla(a.h, a.s, a.l, a.a)}function f(a){if (a instanceof i)return parseFloat(a.unit.is("%")?a.value / 100:a.value); if ("number" == typeof a)return a; throw{type:"Argument", message:"color functions take numbers as parameters"}}function g(a, b){return a instanceof i && a.unit.is("%")?parseFloat(a.value * b / 100):f(a)}var h, i = a("../tree/dimension"), j = a("../tree/color"), k = a("../tree/quoted"), l = a("../tree/anonymous"), m = a("./function-registry"); h = {rgb:function(a, b, c){return h.rgba(a, b, c, 1)}, rgba:function(a, b, c, d){var e = [a, b, c].map(function(a){return g(a, 255)}); return d = f(d), new j(e, d)}, hsl:function(a, b, c){return h.hsla(a, b, c, 1)}, hsla:function(a, b, c, e){function g(a){return a = a < 0?a + 1:a > 1?a - 1:a, 6 * a < 1?i + (j - i) * a * 6:2 * a < 1?j:3 * a < 2?i + (j - i) * (2 / 3 - a) * 6:i}var i, j; return a = f(a) % 360 / 360, b = d(f(b)), c = d(f(c)), e = d(f(e)), j = c <= .5?c * (b + 1):c + b - c * b, i = 2 * c - j, h.rgba(255 * g(a + 1 / 3), 255 * g(a), 255 * g(a - 1 / 3), e)}, hsv:function(a, b, c){return h.hsva(a, b, c, 1)}, hsva:function(a, b, c, d){a = f(a) % 360 / 360 * 360, b = f(b), c = f(c), d = f(d); var e, g; e = Math.floor(a / 60 % 6), g = a / 60 - e; var i = [c, c * (1 - b), c * (1 - g * b), c * (1 - (1 - g) * b)], j = [[0, 3, 1], [2, 0, 1], [1, 0, 3], [1, 2, 0], [3, 1, 0], [0, 1, 2]]; return h.rgba(255 * i[j[e][0]], 255 * i[j[e][1]], 255 * i[j[e][2]], d)}, hue:function(a){return new i(a.toHSL().h)}, saturation:function(a){return new i(100 * a.toHSL().s, "%")}, lightness:function(a){return new i(100 * a.toHSL().l, "%")}, hsvhue:function(a){return new i(a.toHSV().h)}, hsvsaturation:function(a){return new i(100 * a.toHSV().s, "%")}, hsvvalue:function(a){return new i(100 * a.toHSV().v, "%")}, red:function(a){return new i(a.rgb[0])}, green:function(a){return new i(a.rgb[1])}, blue:function(a){return new i(a.rgb[2])}, alpha:function(a){return new i(a.toHSL().a)}, luma:function(a){return new i(a.luma() * a.alpha * 100, "%")}, luminance:function(a){var b = .2126 * a.rgb[0] / 255 + .7152 * a.rgb[1] / 255 + .0722 * a.rgb[2] / 255; return new i(b * a.alpha * 100, "%")}, saturate:function(a, b, c){if (!a.rgb)return null; var f = a.toHSL(); return f.s += "undefined" != typeof c && "relative" === c.value?f.s * b.value / 100:b.value / 100, f.s = d(f.s), e(f)}, desaturate:function(a, b, c){var f = a.toHSL(); return f.s -= "undefined" != typeof c && "relative" === c.value?f.s * b.value / 100:b.value / 100, f.s = d(f.s), e(f)}, lighten:function(a, b, c){var f = a.toHSL(); return f.l += "undefined" != typeof c && "relative" === c.value?f.l * b.value / 100:b.value / 100, f.l = d(f.l), e(f)}, darken:function(a, b, c){var f = a.toHSL(); return f.l -= "undefined" != typeof c && "relative" === c.value?f.l * b.value / 100:b.value / 100, f.l = d(f.l), e(f)}, fadein:function(a, b, c){var f = a.toHSL(); return f.a += "undefined" != typeof c && "relative" === c.value?f.a * b.value / 100:b.value / 100, f.a = d(f.a), e(f)}, fadeout:function(a, b, c){var f = a.toHSL(); return f.a -= "undefined" != typeof c && "relative" === c.value?f.a * b.value / 100:b.value / 100, f.a = d(f.a), e(f)}, fade:function(a, b){var c = a.toHSL(); return c.a = b.value / 100, c.a = d(c.a), e(c)}, spin:function(a, b){var c = a.toHSL(), d = (c.h + b.value) % 360; return c.h = d < 0?360 + d:d, e(c)}, mix:function(a, b, c){a.toHSL && b.toHSL || (console.log(b.type), console.dir(b)), c || (c = new i(50)); var d = c.value / 100, e = 2 * d - 1, f = a.toHSL().a - b.toHSL().a, g = ((e * f == - 1?e:(e + f) / (1 + e * f)) + 1) / 2, h = 1 - g, k = [a.rgb[0] * g + b.rgb[0] * h, a.rgb[1] * g + b.rgb[1] * h, a.rgb[2] * g + b.rgb[2] * h], l = a.alpha * d + b.alpha * (1 - d); return new j(k, l)}, greyscale:function(a){return h.desaturate(a, new i(100))}, contrast:function(a, b, c, d){if (!a.rgb)return null; if ("undefined" == typeof c && (c = h.rgba(255, 255, 255, 1)), "undefined" == typeof b && (b = h.rgba(0, 0, 0, 1)), b.luma() > c.luma()){var e = c; c = b, b = e}return d = "undefined" == typeof d?.43:f(d), a.luma() < d?c:b}, argb:function(a){return new l(a.toARGB())}, color:function(a){if (a instanceof k && /^#([a-f0-9]{6}|[a-f0-9]{3})$/i.test(a.value))return new j(a.value.slice(1)); if (a instanceof j || (a = j.fromKeyword(a.value)))return a.value = void 0, a; throw{type:"Argument", message:"argument must be a color keyword or 3/6 digit hex e.g. #FFF"}}, tint:function(a, b){return h.mix(h.rgb(255, 255, 255), a, b)}, shade:function(a, b){return h.mix(h.rgb(0, 0, 0), a, b)}}, m.addMultiple(h)}, {"../tree/anonymous":46, "../tree/color":50, "../tree/dimension":56, "../tree/quoted":73, "./function-registry":22}], 19:[function(a, b, c){b.exports = function(b){var c = a("../tree/quoted"), d = a("../tree/url"), e = a("./function-registry"), f = function(a, b){return new d(b, a.index, a.currentFileInfo).eval(a.context)}, g = a("../logger"); e.add("data-uri", function(a, e){e || (e = a, a = null); var h = a && a.value, i = e.value, j = this.currentFileInfo, k = j.relativeUrls?j.currentDirectory:j.entryPath, l = i.indexOf("#"), m = ""; l !== - 1 && (m = i.slice(l), i = i.slice(0, l)); var n = b.getFileManager(i, k, this.context, b, !0); if (!n)return f(this, e); var o = !1; if (a)o = /;base64$/.test(h); else{if (h = b.mimeLookup(i), "image/svg+xml" === h)o = !1; else{var p = b.charsetLookup(h); o = ["US-ASCII", "UTF-8"].indexOf(p) < 0}o && (h += ";base64")}var q = n.loadFileSync(i, k, this.context, b); if (!q.contents)return g.warn("Skipped data-uri embedding of " + i + " because file not found"), f(this, e || a); var r = q.contents; if (o && !b.encodeBase64)return f(this, e); r = o?b.encodeBase64(r):encodeURIComponent(r); var s = "data:" + h + "," + r + m, t = 32768; return s.length >= t && this.context.ieCompat !== !1?(g.warn("Skipped data-uri embedding of " + i + " because its size (" + s.length + " characters) exceeds IE8-safe " + t + " characters!"), f(this, e || a)):new d(new c('"' + s + '"', s, (!1), this.index, this.currentFileInfo), this.index, this.currentFileInfo)})}}, {"../logger":33, "../tree/quoted":73, "../tree/url":80, "./function-registry":22}], 20:[function(a, b, c){var d = a("../tree/keyword"), e = a("./function-registry"), f = {eval:function(){var a = this.value_, b = this.error_; if (b)throw b; if (null != a)return a?d.True:d.False}, value:function(a){this.value_ = a}, error:function(a){this.error_ = a}, reset:function(){this.value_ = this.error_ = null}}; e.add("default", f.eval.bind(f)), b.exports = f}, {"../tree/keyword":65, "./function-registry":22}], 21:[function(a, b, c){var d = a("../tree/expression"), e = function(a, b, c, d){this.name = a.toLowerCase(), this.index = c, this.context = b, this.currentFileInfo = d, this.func = b.frames[0].functionRegistry.get(this.name)}; e.prototype.isValid = function(){return Boolean(this.func)}, e.prototype.call = function(a){return Array.isArray(a) && (a = a.filter(function(a){return"Comment" !== a.type}).map(function(a){if ("Expression" === a.type){var b = a.value.filter(function(a){return"Comment" !== a.type}); return 1 === b.length?b[0]:new d(b)}return a})), this.func.apply(this, a)}, b.exports = e}, {"../tree/expression":59}], 22:[function(a, b, c){function d(a){return{_data:{}, add:function(a, b){a = a.toLowerCase(), this._data.hasOwnProperty(a), this._data[a] = b}, addMultiple:function(a){Object.keys(a).forEach(function(b){this.add(b, a[b])}.bind(this))}, get:function(b){return this._data[b] || a && a.get(b)}, inherit:function(){return d(this)}}}b.exports = d(null)}, {}], 23:[function(a, b, c){b.exports = function(b){var c = {functionRegistry:a("./function-registry"), functionCaller:a("./function-caller")}; return a("./default"), a("./color"), a("./color-blending"), a("./data-uri")(b), a("./math"), a("./number"), a("./string"), a("./svg")(b), a("./types"), c}}, {"./color":18, "./color-blending":17, "./data-uri":19, "./default":20, "./function-caller":21, "./function-registry":22, "./math":25, "./number":26, "./string":27, "./svg":28, "./types":29}], 24:[function(a, b, c){var d = a("../tree/dimension"), e = function(){}; e._math = function(a, b, c){if (!(c instanceof d))throw{type:"Argument", message:"argument must be a number"}; return null == b?b = c.unit:c = c.unify(), new d(a(parseFloat(c.value)), b)}, b.exports = e}, {"../tree/dimension":56}], 25:[function(a, b, c){var d = a("./function-registry"), e = a("./math-helper.js"), f = {ceil:null, floor:null, sqrt:null, abs:null, tan:"", sin:"", cos:"", atan:"rad", asin:"rad", acos:"rad"}; for (var g in f)f.hasOwnProperty(g) && (f[g] = e._math.bind(null, Math[g], f[g])); f.round = function(a, b){var c = "undefined" == typeof b?0:b.value; return e._math(function(a){return a.toFixed(c)}, null, a)}, d.addMultiple(f)}, {"./function-registry":22, "./math-helper.js":24}], 26:[function(a, b, c){var d = a("../tree/dimension"), e = a("../tree/anonymous"), f = a("./function-registry"), g = a("./math-helper.js"), h = function(a, b){switch (b = Array.prototype.slice.call(b), b.length){case 0:throw{type:"Argument", message:"one or more arguments required"}}var c, f, g, h, i, j, k, l, m = [], n = {}; for (c = 0; c < b.length; c++)if (g = b[c], g instanceof d)if (h = "" === g.unit.toString() && void 0 !== l?new d(g.value, l).unify():g.unify(), j = "" === h.unit.toString() && void 0 !== k?k:h.unit.toString(), k = "" !== j && void 0 === k || "" !== j && "" === m[0].unify().unit.toString()?j:k, l = "" !== j && void 0 === l?g.unit.toString():l, f = void 0 !== n[""] && "" !== j && j === k?n[""]:n[j], void 0 !== f)i = "" === m[f].unit.toString() && void 0 !== l?new d(m[f].value, l).unify():m[f].unify(), (a && h.value < i.value || !a && h.value > i.value) && (m[f] = g); else{if (void 0 !== k && j !== k)throw{type:"Argument", message:"incompatible types"}; n[j] = m.length, m.push(g)} else Array.isArray(b[c].value) && Array.prototype.push.apply(b, Array.prototype.slice.call(b[c].value)); return 1 == m.length?m[0]:(b = m.map(function(a){return a.toCSS(this.context)}).join(this.context.compress?",":", "), new e((a?"min":"max") + "(" + b + ")"))}; f.addMultiple({min:function(){return h(!0, arguments)}, max:function(){return h(!1, arguments)}, convert:function(a, b){return a.convertTo(b.value)}, pi:function(){return new d(Math.PI)}, mod:function(a, b){return new d(a.value % b.value, a.unit)}, pow:function(a, b){if ("number" == typeof a && "number" == typeof b)a = new d(a), b = new d(b); else if (!(a instanceof d && b instanceof d))throw{type:"Argument", message:"arguments must be numbers"}; return new d(Math.pow(a.value, b.value), a.unit)}, percentage:function(a){var b = g._math(function(a){return 100 * a}, "%", a); return b}})}, {"../tree/anonymous":46, "../tree/dimension":56, "./function-registry":22, "./math-helper.js":24}], 27:[function(a, b, c){var d = a("../tree/quoted"), e = a("../tree/anonymous"), f = a("../tree/javascript"), g = a("./function-registry"); g.addMultiple({e:function(a){return new e(a instanceof f?a.evaluated:a.value)}, escape:function(a){return new e(encodeURI(a.value).replace(/=/g, "%3D").replace(/:/g, "%3A").replace(/#/g, "%23").replace(/;/g, "%3B").replace(/\(/g, "%28").replace(/\)/g, "%29"))}, replace:function(a, b, c, e){var f = a.value; return c = "Quoted" === c.type?c.value:c.toCSS(), f = f.replace(new RegExp(b.value, e?e.value:""), c), new d(a.quote || "", f, a.escaped)}, "%":function(a){for (var b = Array.prototype.slice.call(arguments, 1), c = a.value, e = 0; e < b.length; e++)c = c.replace(/%[sda]/i, function(a){var c = "Quoted" === b[e].type && a.match(/s/i)?b[e].value:b[e].toCSS(); return a.match(/[A-Z]$/)?encodeURIComponent(c):c}); return c = c.replace(/%%/g, "%"), new d(a.quote || "", c, a.escaped)}})}, {"../tree/anonymous":46, "../tree/javascript":63,
        "../tree/quoted":73, "./function-registry":22}], 28:[function(a, b, c){b.exports = function(b){var c = a("../tree/dimension"), d = a("../tree/color"), e = a("../tree/expression"), f = a("../tree/quoted"), g = a("../tree/url"), h = a("./function-registry"); h.add("svg-gradient", function(a){function b(){throw{type:"Argument", message:"svg-gradient expects direction, start_color [start_position], [color position,]..., end_color [end_position] or direction, color list"}}var h, i, j, k, l, m, n, o, p = "linear", q = 'x="0" y="0" width="1" height="1"', r = {compress:!1}, s = a.toCSS(r); switch (2 == arguments.length?(arguments[1].value.length < 2 && b(), h = arguments[1].value):arguments.length < 3?b():h = Array.prototype.slice.call(arguments, 1), s){case"to bottom":i = 'x1="0%" y1="0%" x2="0%" y2="100%"'; break; case"to right":i = 'x1="0%" y1="0%" x2="100%" y2="0%"'; break; case"to bottom right":i = 'x1="0%" y1="0%" x2="100%" y2="100%"'; break; case"to top right":i = 'x1="0%" y1="100%" x2="100%" y2="0%"'; break; case"ellipse":case"ellipse at center":p = "radial", i = 'cx="50%" cy="50%" r="75%"', q = 'x="-50" y="-50" width="101" height="101"'; break; default:throw{type:"Argument", message:"svg-gradient direction must be 'to bottom', 'to right', 'to bottom right', 'to top right' or 'ellipse at center'"}}for (j = '<?xml version="1.0" ?><svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><' + p + 'Gradient id="gradient" gradientUnits="userSpaceOnUse" ' + i + ">", k = 0; k < h.length; k += 1)h[k]instanceof e?(l = h[k].value[0], m = h[k].value[1]):(l = h[k], m = void 0), l instanceof d && ((0 === k || k + 1 === h.length) && void 0 === m || m instanceof c) || b(), n = m?m.toCSS(r):0 === k?"0%":"100%", o = l.alpha, j += '<stop offset="' + n + '" stop-color="' + l.toRGB() + '"' + (o < 1?' stop-opacity="' + o + '"':"") + "/>"; return j += "</" + p + "Gradient><rect " + q + ' fill="url(#gradient)" /></svg>', j = encodeURIComponent(j), j = "data:image/svg+xml," + j, new g(new f("'" + j + "'", j, (!1), this.index, this.currentFileInfo), this.index, this.currentFileInfo)})}}, {"../tree/color":50, "../tree/dimension":56, "../tree/expression":59, "../tree/quoted":73, "../tree/url":80, "./function-registry":22}], 29:[function(a, b, c){var d = a("../tree/keyword"), e = a("../tree/detached-ruleset"), f = a("../tree/dimension"), g = a("../tree/color"), h = a("../tree/quoted"), i = a("../tree/anonymous"), j = a("../tree/url"), k = a("../tree/operation"), l = a("./function-registry"), m = function(a, b){return a instanceof b?d.True:d.False}, n = function(a, b){if (void 0 === b)throw{type:"Argument", message:"missing the required second argument to isunit."}; if (b = "string" == typeof b.value?b.value:b, "string" != typeof b)throw{type:"Argument", message:"Second argument to isunit should be a unit or a string."}; return a instanceof f && a.unit.is(b)?d.True:d.False}, o = function(a){var b = Array.isArray(a.value)?a.value:Array(a); return b}; l.addMultiple({isruleset:function(a){return m(a, e)}, iscolor:function(a){return m(a, g)}, isnumber:function(a){return m(a, f)}, isstring:function(a){return m(a, h)}, iskeyword:function(a){return m(a, d)}, isurl:function(a){return m(a, j)}, ispixel:function(a){return n(a, "px")}, ispercentage:function(a){return n(a, "%")}, isem:function(a){return n(a, "em")}, isunit:n, unit:function(a, b){if (!(a instanceof f))throw{type:"Argument", message:"the first argument to unit must be a number" + (a instanceof k?". Have you forgotten parenthesis?":"")}; return b = b?b instanceof d?b.value:b.toCSS():"", new f(a.value, b)}, "get-unit":function(a){return new i(a.unit)}, extract:function(a, b){return b = b.value - 1, o(a)[b]}, length:function(a){return new f(o(a).length)}})}, {"../tree/anonymous":46, "../tree/color":50, "../tree/detached-ruleset":55, "../tree/dimension":56, "../tree/keyword":65, "../tree/operation":71, "../tree/quoted":73, "../tree/url":80, "./function-registry":22}], 30:[function(a, b, c){var d = a("./contexts"), e = a("./parser/parser"), f = a("./plugins/function-importer"); b.exports = function(a){var b = function(a, b){this.rootFilename = b.filename, this.paths = a.paths || [], this.contents = {}, this.contentsIgnoredChars = {}, this.mime = a.mime, this.error = null, this.context = a, this.queue = [], this.files = {}}; return b.prototype.push = function(b, c, g, h, i){var j = this; this.queue.push(b); var k = function(a, c, d){j.queue.splice(j.queue.indexOf(b), 1); var e = d === j.rootFilename; h.optional && a?i(null, {rules:[]}, !1, null):(j.files[d] = c, a && !j.error && (j.error = a), i(a, c, e, d))}, l = {relativeUrls:this.context.relativeUrls, entryPath:g.entryPath, rootpath:g.rootpath, rootFilename:g.rootFilename}, m = a.getFileManager(b, g.currentDirectory, this.context, a); if (!m)return void k({message:"Could not find a file-manager for " + b}); c && (b = m.tryAppendExtension(b, h.plugin?".js":".less")); var n = function(a){var b = a.filename, c = a.contents.replace(/^\uFEFF/, ""); l.currentDirectory = m.getPath(b), l.relativeUrls && (l.rootpath = m.join(j.context.rootpath || "", m.pathDiff(l.currentDirectory, l.entryPath)), !m.isPathAbsolute(l.rootpath) && m.alwaysMakePathsAbsolute() && (l.rootpath = m.join(l.entryPath, l.rootpath))), l.filename = b; var i = new d.Parse(j.context); i.processImports = !1, j.contents[b] = c, (g.reference || h.reference) && (l.reference = !0), h.plugin?new f(i, l).eval(c, function(a, c){k(a, c, b)}):h.inline?k(null, c, b):new e(i, j, l).parse(c, function(a, c){k(a, c, b)})}, o = m.loadFile(b, g.currentDirectory, this.context, a, function(a, b){a?k(a):n(b)}); o && o.then(n, k)}, b}}, {"./contexts":11, "./parser/parser":38, "./plugins/function-importer":40}], 31:[function(a, b, c){b.exports = function(b, c){var d, e, f, g, h, i = {version:[2, 7, 2], data:a("./data"), tree:a("./tree"), Environment:h = a("./environment/environment"), AbstractFileManager:a("./environment/abstract-file-manager"), environment:b = new h(b, c), visitors:a("./visitors"), Parser:a("./parser/parser"), functions:a("./functions")(b), contexts:a("./contexts"), SourceMapOutput:d = a("./source-map-output")(b), SourceMapBuilder:e = a("./source-map-builder")(d, b), ParseTree:f = a("./parse-tree")(e), ImportManager:g = a("./import-manager")(b), render:a("./render")(b, f, g), parse:a("./parse")(b, f, g), LessError:a("./less-error"), transformTree:a("./transform-tree"), utils:a("./utils"), PluginManager:a("./plugin-manager"), logger:a("./logger")}; return i}}, {"./contexts":11, "./data":13, "./environment/abstract-file-manager":15, "./environment/environment":16, "./functions":23, "./import-manager":30, "./less-error":32, "./logger":33, "./parse":35, "./parse-tree":34, "./parser/parser":38, "./plugin-manager":39, "./render":41, "./source-map-builder":42, "./source-map-output":43, "./transform-tree":44, "./tree":62, "./utils":83, "./visitors":87}], 32:[function(a, b, c){var d = a("./utils"), e = b.exports = function(a, b, c){Error.call(this); var e = a.filename || c; if (b && e){var f = b.contents[e], g = d.getLocation(a.index, f), h = g.line, i = g.column, j = a.call && d.getLocation(a.call, f).line, k = f.split("\n"); this.type = a.type || "Syntax", this.filename = e, this.index = a.index, this.line = "number" == typeof h?h + 1:null, this.callLine = j + 1, this.callExtract = k[j], this.column = i, this.extract = [k[h - 1], k[h], k[h + 1]]}this.message = a.message, this.stack = a.stack}; if ("undefined" == typeof Object.create){var f = function(){}; f.prototype = Error.prototype, e.prototype = new f} else e.prototype = Object.create(Error.prototype); e.prototype.constructor = e}, {"./utils":83}], 33:[function(a, b, c){b.exports = {error:function(a){this._fireEvent("error", a)}, warn:function(a){this._fireEvent("warn", a)}, info:function(a){this._fireEvent("info", a)}, debug:function(a){this._fireEvent("debug", a)}, addListener:function(a){this._listeners.push(a)}, removeListener:function(a){for (var b = 0; b < this._listeners.length; b++)if (this._listeners[b] === a)return void this._listeners.splice(b, 1)}, _fireEvent:function(a, b){for (var c = 0; c < this._listeners.length; c++){var d = this._listeners[c][a]; d && d(b)}}, _listeners:[]}}, {}], 34:[function(a, b, c){var d = a("./less-error"), e = a("./transform-tree"), f = a("./logger"); b.exports = function(a){var b = function(a, b){this.root = a, this.imports = b}; return b.prototype.toCSS = function(b){var c, g, h = {}; try{c = e(this.root, b)} catch (i){throw new d(i, this.imports)}try{var j = Boolean(b.compress); j && f.warn("The compress option has been deprecated. We recommend you use a dedicated css minifier, for instance see less-plugin-clean-css."); var k = {compress:j, dumpLineNumbers:b.dumpLineNumbers, strictUnits:Boolean(b.strictUnits), numPrecision:8}; b.sourceMap?(g = new a(b.sourceMap), h.css = g.toCSS(c, k, this.imports)):h.css = c.toCSS(k)} catch (i){throw new d(i, this.imports)}if (b.pluginManager)for (var l = b.pluginManager.getPostProcessors(), m = 0; m < l.length; m++)h.css = l[m].process(h.css, {sourceMap:g, options:b, imports:this.imports}); b.sourceMap && (h.map = g.getExternalSourceMap()), h.imports = []; for (var n in this.imports.files)this.imports.files.hasOwnProperty(n) && n !== this.imports.rootFilename && h.imports.push(n); return h}, b}}, {"./less-error":32, "./logger":33, "./transform-tree":44}], 35:[function(a, b, c){var d, e = a("./contexts"), f = a("./parser/parser"), g = a("./plugin-manager"); b.exports = function(b, c, h){var i = function(b, c, j){if (c = c || {}, "function" == typeof c && (j = c, c = {}), !j){d || (d = "undefined" == typeof Promise?a("promise"):Promise); var k = this; return new d(function(a, d){i.call(k, b, c, function(b, c){b?d(b):a(c)})})}var l, m, n = new g(this); if (n.addPlugins(c.plugins), c.pluginManager = n, l = new e.Parse(c), c.rootFileInfo)m = c.rootFileInfo; else{var o = c.filename || "input", p = o.replace(/[^\/\\]*$/, ""); m = {filename:o, relativeUrls:l.relativeUrls, rootpath:l.rootpath || "", currentDirectory:p, entryPath:p, rootFilename:o}, m.rootpath && "/" !== m.rootpath.slice( - 1) && (m.rootpath += "/")}var q = new h(l, m); new f(l, q, m).parse(b, function(a, b){return a?j(a):void j(null, b, q, c)}, c)}; return i}}, {"./contexts":11, "./parser/parser":38, "./plugin-manager":39, promise:void 0}], 36:[function(a, b, c){b.exports = function(a, b){function c(b){var c = h - q; c < 512 && !b || !c || (p.push(a.slice(q, h + 1)), q = h + 1)}var d, e, f, g, h, i, j, k, l, m = a.length, n = 0, o = 0, p = [], q = 0; for (h = 0; h < m; h++)if (j = a.charCodeAt(h), !(j >= 97 && j <= 122 || j < 34))switch (j){case 40:o++, e = h; continue; case 41:if (--o < 0)return b("missing opening `(`", h); continue; case 59:o || c(); continue; case 123:n++, d = h; continue; case 125:if (--n < 0)return b("missing opening `{`", h); n || o || c(); continue; case 92:if (h < m - 1){h++; continue}return b("unescaped `\\`", h); case 34:case 39:case 96:for (l = 0, i = h, h += 1; h < m; h++)if (k = a.charCodeAt(h), !(k > 96)){if (k == j){l = 1; break}if (92 == k){if (h == m - 1)return b("unescaped `\\`", h); h++}}if (l)continue; return b("unmatched `" + String.fromCharCode(j) + "`", i); case 47:if (o || h == m - 1)continue; if (k = a.charCodeAt(h + 1), 47 == k)for (h += 2; h < m && (k = a.charCodeAt(h), !(k <= 13) || 10 != k && 13 != k); h++); else if (42 == k){for (f = i = h, h += 2; h < m - 1 && (k = a.charCodeAt(h), 125 == k && (g = h), 42 != k || 47 != a.charCodeAt(h + 1)); h++); if (h == m - 1)return b("missing closing `*/`", i); h++}continue; case 42:if (h < m - 1 && 47 == a.charCodeAt(h + 1))return b("unmatched `/*`", h); continue}return 0 !== n?f > d && g > f?b("missing closing `}` or `*/`", d):b("missing closing `}`", d):0 !== o?b("missing closing `)`", e):(c(!0), p)}}, {}], 37:[function(a, b, c){var d = a("./chunker"); b.exports = function(){function a(d){for (var e, f, j, p = k.i, q = c, s = k.i - i, t = k.i + h.length - s, u = k.i += d, v = b; k.i < t; k.i++){if (e = v.charCodeAt(k.i), k.autoCommentAbsorb && e === r){if (f = v.charAt(k.i + 1), "/" === f){j = {index:k.i, isLineComment:!0}; var w = v.indexOf("\n", k.i + 2); w < 0 && (w = t), k.i = w, j.text = v.substr(j.index, k.i - j.index), k.commentStore.push(j); continue}if ("*" === f){var x = v.indexOf("*/", k.i + 2); if (x >= 0){j = {index:k.i, text:v.substr(k.i, x + 2 - k.i), isLineComment:!1}, k.i += j.text.length - 1, k.commentStore.push(j); continue}}break}if (e !== l && e !== n && e !== m && e !== o)break}if (h = h.slice(d + k.i - u + s), i = k.i, !h.length){if (c < g.length - 1)return h = g[++c], a(0), !0; k.finished = !0}return p !== k.i || q !== c}var b, c, e, f, g, h, i, j = [], k = {}, l = 32, m = 9, n = 10, o = 13, p = 43, q = 44, r = 47, s = 57; return k.save = function(){i = k.i, j.push({current:h, i:k.i, j:c})}, k.restore = function(a){(k.i > e || k.i === e && a && !f) && (e = k.i, f = a); var b = j.pop(); h = b.current, i = k.i = b.i, c = b.j}, k.forget = function(){j.pop()}, k.isWhitespace = function(a){var c = k.i + (a || 0), d = b.charCodeAt(c); return d === l || d === o || d === m || d === n}, k.$re = function(b){k.i > i && (h = h.slice(k.i - i), i = k.i); var c = b.exec(h); return c?(a(c[0].length), "string" == typeof c?c:1 === c.length?c[0]:c):null}, k.$char = function(c){return b.charAt(k.i) !== c?null:(a(1), c)}, k.$str = function(c){for (var d = c.length, e = 0; e < d; e++)if (b.charAt(k.i + e) !== c.charAt(e))return null; return a(d), c}, k.$quoted = function(){var c = b.charAt(k.i); if ("'" === c || '"' === c){for (var d = b.length, e = k.i, f = 1; f + e < d; f++){var g = b.charAt(f + e); switch (g){case"\\":f++; continue; case"\r":case"\n":break; case c:var h = b.substr(e, f + 1); return a(f + 1), h}}return null}}, k.autoCommentAbsorb = !0, k.commentStore = [], k.finished = !1, k.peek = function(a){if ("string" == typeof a){for (var c = 0; c < a.length; c++)if (b.charAt(k.i + c) !== a.charAt(c))return!1; return!0}return a.test(h)}, k.peekChar = function(a){return b.charAt(k.i) === a}, k.currentChar = function(){return b.charAt(k.i)}, k.getInput = function(){return b}, k.peekNotNumeric = function(){var a = b.charCodeAt(k.i); return a > s || a < p || a === r || a === q}, k.start = function(f, j, l){b = f, k.i = c = i = e = 0, g = j?d(f, l):[f], h = g[0], a(0)}, k.end = function(){var a, c = k.i >= b.length; return k.i < e && (a = f, k.i = e), {isFinished:c, furthest:k.i, furthestPossibleErrorMessage:a, furthestReachedEnd:k.i >= b.length - 1, furthestChar:b[k.i]}}, k}}, {"./chunker":36}], 38:[function(a, b, c){var d = a("../less-error"), e = a("../tree"), f = a("../visitors"), g = a("./parser-input"), h = a("../utils"), i = function j(a, b, c){function i(a, e){throw new d({index:o.i, filename:c.filename, type:e || "Syntax", message:a}, b)}function k(a, b, c){var d = a instanceof Function?a.call(n):o.$re(a); return d?d:void i(b || ("string" == typeof a?"expected '" + a + "' got '" + o.currentChar() + "'":"unexpected token"))}function l(a, b){return o.$char(a)?a:void i(b || "expected '" + a + "' got '" + o.currentChar() + "'")}function m(a){var b = c.filename; return{lineNumber:h.getLocation(a, o.getInput()).line + 1, fileName:b}}var n, o = g(); return{parse:function(g, h, i){var k, l, m, n, p = null, q = ""; if (l = i && i.globalVars?j.serializeVars(i.globalVars) + "\n":"", m = i && i.modifyVars?"\n" + j.serializeVars(i.modifyVars):"", a.pluginManager)for (var r = a.pluginManager.getPreProcessors(), s = 0; s < r.length; s++)g = r[s].process(g, {context:a, imports:b, fileInfo:c}); (l || i && i.banner) && (q = (i && i.banner?i.banner:"") + l, n = b.contentsIgnoredChars, n[c.filename] = n[c.filename] || 0, n[c.filename] += q.length), g = g.replace(/\r\n?/g, "\n"), g = q + g.replace(/^\uFEFF/, "") + m, b.contents[c.filename] = g; try{o.start(g, a.chunkInput, function(a, e){throw new d({index:e, type:"Parse", message:a, filename:c.filename}, b)}), k = new e.Ruleset(null, this.parsers.primary()), k.root = !0, k.firstRoot = !0} catch (t){return h(new d(t, b, c.filename))}var u = o.end(); if (!u.isFinished){var v = u.furthestPossibleErrorMessage; v || (v = "Unrecognised input", "}" === u.furthestChar?v += ". Possibly missing opening '{'":")" === u.furthestChar?v += ". Possibly missing opening '('":u.furthestReachedEnd && (v += ". Possibly missing something")), p = new d({type:"Parse", message:v, index:u.furthest, filename:c.filename}, b)}var w = function(a){return a = p || a || b.error, a?(a instanceof d || (a = new d(a, b, c.filename)), h(a)):h(null, k)}; return a.processImports === !1?w():void new f.ImportVisitor(b, w).run(k)}, parsers:n = {primary:function(){for (var a, b = this.mixin, c = []; ; ){for (; ; ){if (a = this.comment(), !a)break; c.push(a)}if (o.finished)break; if (o.peek("}"))break; if (a = this.extendRule())c = c.concat(a); else if (a = b.definition() || this.rule() || this.ruleset() || b.call() || this.rulesetCall() || this.entities.call() || this.directive())c.push(a); else{for (var d = !1; o.$char(";"); )d = !0; if (!d)break}}return c}, comment:function(){if (o.commentStore.length){var a = o.commentStore.shift(); return new e.Comment(a.text, a.isLineComment, a.index, c)}}, entities:{quoted:function(){var a, b = o.i, d = !1; return o.save(), o.$char("~") && (d = !0), (a = o.$quoted())?(o.forget(), new e.Quoted(a.charAt(0), a.substr(1, a.length - 2), d, b, c)):void o.restore()}, keyword:function(){var a = o.$char("%") || o.$re(/^[_A-Za-z-][_A-Za-z0-9-]*/); if (a)return e.Color.fromKeyword(a) || new e.Keyword(a)}, call:function(){var a, b, d, f, g = o.i; if (!o.peek(/^url\(/i))return o.save(), (a = o.$re(/^([\w-]+|%|progid:[\w\.]+)\(/))?(a = a[1], b = a.toLowerCase(), "alpha" === b && (f = n.alpha())?(o.forget(), f):(d = this.arguments(), o.$char(")")?(o.forget(), new e.Call(a, d, g, c)):void o.restore("Could not parse call arguments or missing ')'"))):void o.forget()}, arguments:function(){var a, b, c, d = [], f = [], g = []; for (o.save(); ; ){if (c = n.detachedRuleset() || this.assignment() || n.expression(), !c)break; b = c, c.value && 1 == c.value.length && (b = c.value[0]), b && g.push(b), f.push(b), o.$char(",") || (o.$char(";") || a) && (a = !0, g.length > 1 && (b = new e.Value(g)), d.push(b), g = [])}return o.forget(), a?d:f}, literal:function(){return this.dimension() || this.color() || this.quoted() || this.unicodeDescriptor()}, assignment:function(){var a, b; return o.save(), (a = o.$re(/^\w+(?=\s?=)/i)) && o.$char("=") && (b = n.entity())?(o.forget(), new e.Assignment(a, b)):void o.restore()}, url:function(){var a, b = o.i; return o.autoCommentAbsorb = !1, o.$str("url(")?(a = this.quoted() || this.variable() || o.$re(/^(?:(?:\\[\(\)'"])|[^\(\)'"])+/) || "", o.autoCommentAbsorb = !0, l(")"), new e.URL(null != a.value || a instanceof e.Variable?a:new e.Anonymous(a), b, c)):void(o.autoCommentAbsorb = !0)}, variable:function(){var a, b = o.i; if ("@" === o.currentChar() && (a = o.$re(/^@@?[\w-]+/)))return new e.Variable(a, b, c)}, variableCurly:function(){var a, b = o.i; if ("@" === o.currentChar() && (a = o.$re(/^@\{([\w-]+)\}/)))return new e.Variable("@" + a[1], b, c)}, color:function(){var a; if ("#" === o.currentChar() && (a = o.$re(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/))){var b = a.input.match(/^#([\w]+).*/); return b = b[1], b.match(/^[A-Fa-f0-9]+$/) || i("Invalid HEX color code"), new e.Color(a[1], (void 0), "#" + b)}}, colorKeyword:function(){o.save(); var a = o.autoCommentAbsorb; o.autoCommentAbsorb = !1; var b = o.$re(/^[_A-Za-z-][_A-Za-z0-9-]+/); if (o.autoCommentAbsorb = a, !b)return void o.forget(); o.restore(); var c = e.Color.fromKeyword(b); return c?(o.$str(b), c):void 0}, dimension:function(){if (!o.peekNotNumeric()){var a = o.$re(/^([+-]?\d*\.?\d+)(%|[a-z_]+)?/i); return a?new e.Dimension(a[1], a[2]):void 0}}, unicodeDescriptor:function(){var a; if (a = o.$re(/^U\+[0-9a-fA-F?]+(\-[0-9a-fA-F?]+)?/))return new e.UnicodeDescriptor(a[0])}, javascript:function(){var a, b = o.i; o.save(); var d = o.$char("~"), f = o.$char("`"); return f?(a = o.$re(/^[^`]*`/))?(o.forget(), new e.JavaScript(a.substr(0, a.length - 1), Boolean(d), b, c)):void o.restore("invalid javascript definition"):void o.restore()}}, variable:function(){var a; if ("@" === o.currentChar() && (a = o.$re(/^(@[\w-]+)\s*:/)))return a[1]}, rulesetCall:function(){var a; if ("@" === o.currentChar() && (a = o.$re(/^(@[\w-]+)\(\s*\)\s*;/)))return new e.RulesetCall(a[1])}, extend:function(a){var b, d, f, g, h, j = o.i; if (o.$str(a?"&:extend(":":extend(")){do{for (f = null, b = null; !(f = o.$re(/^(all)(?=\s*(\)|,))/)) && (d = this.element()); )b?b.push(d):b = [d]; f = f && f[1], b || i("Missing target selector for :extend()."), h = new e.Extend(new e.Selector(b), f, j, c), g?g.push(h):g = [h]}while (o.$char(",")); return k(/^\)/), a && k(/^;/), g}}, extendRule:function(){return this.extend(!0)}, mixin:{call:function(){var a, b, d, f, g, h, i = o.currentChar(), j = !1, k = o.i; if ("." === i || "#" === i){for (o.save(); ; ){if (a = o.i, f = o.$re(/^[#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/), !f)break; d = new e.Element(g, f, a, c), b?b.push(d):b = [d], g = o.$char(">")}return b && (o.$char("(") && (h = this.args(!0).args, l(")")), n.important() && (j = !0), n.end())?(o.forget(), new e.mixin.Call(b, h, k, c, j)):void o.restore()}}, args:function(a){var b, c, d, f, g, h, j, k = n.entities, l = {args:null, variadic:!1}, m = [], p = [], q = []; for (o.save(); ; ){if (a)h = n.detachedRuleset() || n.expression(); else{if (o.commentStore.length = 0, o.$str("...")){l.variadic = !0, o.$char(";") && !b && (b = !0), (b?p:q).push({variadic:!0}); break}h = k.variable() || k.literal() || k.keyword()}if (!h)break; f = null, h.throwAwayComments && h.throwAwayComments(), g = h; var r = null; if (a?h.value && 1 == h.value.length && (r = h.value[0]):r = h, r && r instanceof e.Variable)if (o.$char(":")){if (m.length > 0 && (b && i("Cannot mix ; and , as delimiter types"), c = !0), g = n.detachedRuleset() || n.expression(), !g){if (!a)return o.restore(), l.args = [], l; i("could not understand value for named argument")}f = d = r.name} else if (o.$str("...")){if (!a){l.variadic = !0, o.$char(";") && !b && (b = !0), (b?p:q).push({name:h.name, variadic:!0}); break}j = !0} else a || (d = f = r.name, g = null); g && m.push(g), q.push({name:f, value:g, expand:j}), o.$char(",") || (o.$char(";") || b) && (c && i("Cannot mix ; and , as delimiter types"), b = !0, m.length > 1 && (g = new e.Value(m)), p.push({name:d, value:g, expand:j}), d = null, m = [], c = !1)}return o.forget(), l.args = b?p:q, l}, definition:function(){var a, b, c, d, f = [], g = !1; if (!("." !== o.currentChar() && "#" !== o.currentChar() || o.peek(/^[^{]*\}/)))if (o.save(), b = o.$re(/^([#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+)\s*\(/)){a = b[1]; var h = this.args(!1); if (f = h.args, g = h.variadic, !o.$char(")"))return void o.restore("Missing closing ')'"); if (o.commentStore.length = 0, o.$str("when") && (d = k(n.conditions, "expected condition")), c = n.block())return o.forget(), new e.mixin.Definition(a, f, c, d, g); o.restore()} else o.forget()}}, entity:function(){var a = this.entities; return this.comment() || a.literal() || a.variable() || a.url() || a.call() || a.keyword() || a.javascript()}, end:function(){return o.$char(";") || o.peek("}")}, alpha:function(){var a; if (o.$re(/^opacity=/i))return a = o.$re(/^\d+/), a || (a = k(this.entities.variable, "Could not parse alpha")), l(")"), new e.Alpha(a)}, element:function(){var a, b, d, f = o.i; if (b = this.combinator(), a = o.$re(/^(?:\d+\.\d+|\d+)%/) || o.$re(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/) || o.$char("*") || o.$char("&") || this.attribute() || o.$re(/^\([^&()@]+\)/) || o.$re(/^[\.#:](?=@)/) || this.entities.variableCurly(), a || (o.save(), o.$char("(")?(d = this.selector()) && o.$char(")")?(a = new e.Paren(d), o.forget()):o.restore("Missing closing ')'"):o.forget()), a)return new e.Element(b, a, f, c)}, combinator:function(){var a = o.currentChar(); if ("/" === a){o.save(); var b = o.$re(/^\/[a-z]+\//i); if (b)return o.forget(), new e.Combinator(b); o.restore()}if (">" === a || "+" === a || "~" === a || "|" === a || "^" === a){for (o.i++, "^" === a && "^" === o.currentChar() && (a = "^^", o.i++); o.isWhitespace(); )o.i++; return new e.Combinator(a)}return new e.Combinator(o.isWhitespace( - 1)?" ":null)}, lessSelector:function(){return this.selector(!0)}, selector:function(a){for (var b, d, f, g, h, j, l, m = o.i; (a && (d = this.extend()) || a && (j = o.$str("when")) || (g = this.element())) && (j?l = k(this.conditions, "expected condition"):l?i("CSS guard can only be used at the end of selector"):d?h = h?h.concat(d):d:(h && i("Extend can only be used at the end of selector"), f = o.currentChar(), b?b.push(g):b = [g], g = null), "{" !== f && "}" !== f && ";" !== f && "," !== f && ")" !== f); ); return b?new e.Selector(b, h, l, m, c):void(h && i("Extend must be used to extend a selector, it cannot be used on its own"))}, attribute:function(){if (o.$char("[")){var a, b, c, d = this.entities; return(a = d.variableCurly()) || (a = k(/^(?:[_A-Za-z0-9-\*]*\|)?(?:[_A-Za-z0-9-]|\\.)+/)), c = o.$re(/^[|~*$^]?=/), c && (b = d.quoted() || o.$re(/^[0-9]+%/) || o.$re(/^[\w-]+/) || d.variableCurly()), l("]"), new e.Attribute(a, c, b)}}, block:function(){var a; if (o.$char("{") && (a = this.primary()) && o.$char("}"))return a}, blockRuleset:function(){var a = this.block(); return a && (a = new e.Ruleset(null, a)), a}, detachedRuleset:function(){var a = this.blockRuleset(); if (a)return new e.DetachedRuleset(a)}, ruleset:function(){var b, c, d, f; for (o.save(), a.dumpLineNumbers && (f = m(o.i)); ; ){if (c = this.lessSelector(), !c)break; if (b?b.push(c):b = [c], o.commentStore.length = 0, c.condition && b.length > 1 && i("Guards are only currently allowed on a single selector."), !o.$char(","))break; c.condition && i("Guards are only currently allowed on a single selector."), o.commentStore.length = 0}if (b && (d = this.block())){o.forget(); var g = new e.Ruleset(b, d, a.strictImports); return a.dumpLineNumbers && (g.debugInfo = f), g}o.restore()}, rule:function(b){var d, f, g, h, i, j = o.i, k = o.currentChar(); if ("." !== k && "#" !== k && "&" !== k && ":" !== k)if (o.save(), d = this.variable() || this.ruleProperty()){if (i = "string" == typeof d, i && (f = this.detachedRuleset()), o.commentStore.length = 0, !f){h = !i && d.length > 1 && d.pop().value; var l = !b && (a.compress || i); if (l && (f = this.value()), !f && (f = this.anonymousValue()))return o.forget(), new e.Rule(d, f, (!1), h, j, c); l || f || (f = this.value()), g = this.important()}if (f && this.end())return o.forget(), new e.Rule(d, f, g, h, j, c); if (o.restore(), f && !b)return this.rule(!0)} else o.forget()}, anonymousValue:function(){var a = o.$re(/^([^@+\/'"*`(;{}-]*);/); if (a)return new e.Anonymous(a[1])}, "import":function(){var a, b, d = o.i, f = o.$re(/^@import?\s+/); if (f){var g = (f?this.importOptions():null) || {}; if (a = this.entities.quoted() || this.entities.url())return b = this.mediaFeatures(), o.$char(";") || (o.i = d, i("missing semi-colon or unrecognised media features on import")), b = b && new e.Value(b), new e.Import(a, b, g, d, c); o.i = d, i("malformed import statement")}}, importOptions:function(){var a, b, c, d = {}; if (!o.$char("("))return null; do if (a = this.importOption()){switch (b = a, c = !0, b){case"css":b = "less", c = !1; break; case"once":b = "multiple", c = !1}if (d[b] = c, !o.$char(","))break}while (a); return l(")"), d}, importOption:function(){var a = o.$re(/^(less|css|multiple|once|inline|reference|optional)/); if (a)return a[1]}, mediaFeature:function(){var a, b, d = this.entities, f = []; o.save(); do a = d.keyword() || d.variable(), a?f.push(a):o.$char("(") && (b = this.property(), a = this.value(), o.$char(")")?b && a?f.push(new e.Paren(new e.Rule(b, a, null, null, o.i, c, (!0)))):a?f.push(new e.Paren(a)):i("badly formed media feature definition"):i("Missing closing ')'", "Parse")); while (a); if (o.forget(), f.length > 0)return new e.Expression(f)}, mediaFeatures:function(){var a, b = this.entities, c = []; do if (a = this.mediaFeature()){if (c.push(a), !o.$char(","))break} else if (a = b.variable(), a && (c.push(a), !o.$char(",")))break; while (a); return c.length > 0?c:null}, media:function(){var b, d, f, g, h = o.i; return a.dumpLineNumbers && (g = m(h)), o.save(), o.$str("@media")?(b = this.mediaFeatures(), d = this.block(), d || i("media definitions require block statements after any features"), o.forget(), f = new e.Media(d, b, h, c), a.dumpLineNumbers && (f.debugInfo = g), f):void o.restore()}, plugin:function(){var a, b = o.i, d = o.$re(/^@plugin?\s+/); if (d){var f = {plugin:!0}; if (a = this.entities.quoted() || this.entities.url())return o.$char(";") || (o.i = b, i("missing semi-colon on plugin")), new e.Import(a, null, f, b, c); o.i = b, i("malformed plugin statement")}}, directive:function(){var b, d, f, g, h, j, k, l = o.i, n = !0, p = !0; if ("@" === o.currentChar()){if (d = this["import"]() || this.plugin() || this.media())return d; if (o.save(), b = o.$re(/^@[a-z-]+/)){switch (g = b, "-" == b.charAt(1) && b.indexOf("-", 2) > 0 && (g = "@" + b.slice(b.indexOf("-", 2) + 1)), g){case"@charset":h = !0, n = !1; break; case"@namespace":j = !0, n = !1; break; case"@keyframes":case"@counter-style":h = !0; break; case"@document":case"@supports":k = !0, p = !1; break; default:k = !0}return o.commentStore.length = 0, h?(d = this.entity(), d || i("expected " + b + " identifier")):j?(d = this.expression(), d || i("expected " + b + " expression")):k && (d = (o.$re(/^[^{;]+/) || "").trim(), n = "{" == o.currentChar(), d && (d = new e.Anonymous(d))), n && (f = this.blockRuleset()), f || !n && d && o.$char(";")?(o.forget(), new e.Directive(b, d, f, l, c, a.dumpLineNumbers?m(l):null, p)):void o.restore("directive options not recognised")}}}, value:function(){var a, b = []; do if (a = this.expression(), a && (b.push(a), !o.$char(",")))break; while (a); if (b.length > 0)return new e.Value(b)}, important:function(){if ("!" === o.currentChar())return o.$re(/^! *important/)}, sub:function(){var a, b; return o.save(), o.$char("(")?(a = this.addition(), a && o.$char(")")?(o.forget(), b = new e.Expression([a]), b.parens = !0, b):void o.restore("Expected ')'")):void o.restore()}, multiplication:function(){var a, b, c, d, f; if (a = this.operand()){for (f = o.isWhitespace( - 1); ; ){if (o.peek(/^\/[*\/]/))break; if (o.save(), c = o.$char("/") || o.$char("*"), !c){o.forget(); break}if (b = this.operand(), !b){o.restore(); break}o.forget(), a.parensInOp = !0, b.parensInOp = !0, d = new e.Operation(c, [d || a, b], f), f = o.isWhitespace( - 1)}return d || a}}, addition:function(){var a, b, c, d, f; if (a = this.multiplication()){for (f = o.isWhitespace( - 1); ; ){if (c = o.$re(/^[-+]\s+/) || !f && (o.$char("+") || o.$char("-")), !c)break; if (b = this.multiplication(), !b)break; a.parensInOp = !0, b.parensInOp = !0, d = new e.Operation(c, [d || a, b], f), f = o.isWhitespace( - 1)}return d || a}}, conditions:function(){var a, b, c, d = o.i; if (a = this.condition()){for (; ; ){if (!o.peek(/^,\s*(not\s*)?\(/) || !o.$char(","))break; if (b = this.condition(), !b)break; c = new e.Condition("or", c || a, b, d)}return c || a}}, condition:function(){function a(){return o.$str("or")}var b, c, d; if (b = this.conditionAnd(this)){if (c = a()){if (d = this.condition(), !d)return; b = new e.Condition(c, b, d)}return b}}, conditionAnd:function(){function a(a){return a.negatedCondition() || a.parenthesisCondition()}function b(){return o.$str("and")}var c, d, f; if (c = a(this)){if (d = b()){if (f = this.conditionAnd(), !f)return; c = new e.Condition(d, c, f)}return c}}, negatedCondition:function(){if (o.$str("not")){var a = this.parenthesisCondition(); return a && (a.negate = !a.negate), a}}, parenthesisCondition:function(){function a(a){var b; return o.save(), (b = a.condition()) && o.$char(")")?(o.forget(), b):void o.restore()}var b; return o.save(), o.$str("(")?(b = a(this))?(o.forget(), b):(b = this.atomicCondition())?o.$char(")")?(o.forget(), b):void o.restore("expected ')' got '" + o.currentChar() + "'"):void o.restore():void o.restore()}, atomicCondition:function(){var a, b, c, d, f = this.entities, g = o.i; if (a = this.addition() || f.keyword() || f.quoted())return o.$char(">")?d = o.$char("=")?">=":">":o.$char("<")?d = o.$char("=")?"<=":"<":o.$char("=") && (d = o.$char(">")?"=>":o.$char("<")?"=<":"="), d?(b = this.addition() || f.keyword() || f.quoted(), b?c = new e.Condition(d, a, b, g, (!1)):i("expected expression")):c = new e.Condition("=", a, new e.Keyword("true"), g, (!1)), c}, operand:function(){var a, b = this.entities; o.peek(/^-[@\(]/) && (a = o.$char("-")); var c = this.sub() || b.dimension() || b.color() || b.variable() || b.call() || b.colorKeyword(); return a && (c.parensInOp = !0, c = new e.Negative(c)), c}, expression:function(){var a, b, c = []; do a = this.comment(), a?c.push(a):(a = this.addition() || this.entity(), a && (c.push(a), o.peek(/^\/[\/*]/) || (b = o.$char("/"), b && c.push(new e.Anonymous(b))))); while (a); if (c.length > 0)return new e.Expression(c)}, property:function(){var a = o.$re(/^(\*?-?[_a-zA-Z0-9-]+)\s*:/); if (a)return a[1]}, ruleProperty:function(){function a(a){var b = o.i, c = o.$re(a); if (c)return g.push(b), f.push(c[1])}var b, d, f = [], g = []; o.save(); var h = o.$re(/^([_a-zA-Z0-9-]+)\s*:/); if (h)return f = [new e.Keyword(h[1])], o.forget(), f; for (a(/^(\*?)/); ; )if (!a(/^((?:[\w-]+)|(?:@\{[\w-]+\}))/))break; if (f.length > 1 && a(/^((?:\+_|\+)?)\s*:/)){for (o.forget(), "" === f[0] && (f.shift(), g.shift()), d = 0; d < f.length; d++)b = f[d], f[d] = "@" !== b.charAt(0)?new e.Keyword(b):new e.Variable("@" + b.slice(2, - 1), g[d], c); return f}o.restore()}}}}; i.serializeVars = function(a){var b = ""; for (var c in a)if (Object.hasOwnProperty.call(a, c)){var d = a[c]; b += ("@" === c[0]?"":"@") + c + ": " + d + (";" === String(d).slice( - 1)?"":";")}return b}, b.exports = i}, {"../less-error":32, "../tree":62, "../utils":83, "../visitors":87, "./parser-input":37}], 39:[function(a, b, c){var d = function(a){this.less = a, this.visitors = [], this.preProcessors = [], this.postProcessors = [], this.installedPlugins = [], this.fileManagers = []}; d.prototype.addPlugins = function(a){if (a)for (var b = 0; b < a.length; b++)this.addPlugin(a[b])}, d.prototype.addPlugin = function(a){this.installedPlugins.push(a), a.install(this.less, this)}, d.prototype.addVisitor = function(a){this.visitors.push(a)}, d.prototype.addPreProcessor = function(a, b){var c; for (c = 0; c < this.preProcessors.length && !(this.preProcessors[c].priority >= b); c++); this.preProcessors.splice(c, 0, {preProcessor:a, priority:b})}, d.prototype.addPostProcessor = function(a, b){var c; for (c = 0; c < this.postProcessors.length && !(this.postProcessors[c].priority >= b); c++); this.postProcessors.splice(c, 0, {postProcessor:a, priority:b})}, d.prototype.addFileManager = function(a){this.fileManagers.push(a)}, d.prototype.getPreProcessors = function(){for (var a = [], b = 0; b < this.preProcessors.length; b++)a.push(this.preProcessors[b].preProcessor); return a}, d.prototype.getPostProcessors = function(){for (var a = [], b = 0; b < this.postProcessors.length; b++)a.push(this.postProcessors[b].postProcessor); return a}, d.prototype.getVisitors = function(){return this.visitors}, d.prototype.getFileManagers = function(){return this.fileManagers}, b.exports = d}, {}], 40:[function(a, b, c){var d = a("../less-error"), e = a("../tree"), f = b.exports = function(a, b){this.fileInfo = b}; f.prototype.eval = function(a, b){var c, f, g = {}; f = {add:function(a, b){g[a] = b}, addMultiple:function(a){Object.keys(a).forEach(function(b){g[b] = a[b]})}}; try{c = new Function("functions", "tree", "fileInfo", a),
        c(f, e, this.fileInfo)} catch (h){b(new d({message:"Plugin evaluation error: '" + h.name + ": " + h.message.replace(/["]/g, "'") + "'", filename:this.fileInfo.filename}), null)}b(null, {functions:g})}}, {"../less-error":32, "../tree":62}], 41:[function(a, b, c){var d; b.exports = function(b, c, e){var f = function(b, e, g){if ("function" == typeof e && (g = e, e = {}), !g){d || (d = "undefined" == typeof Promise?a("promise"):Promise); var h = this; return new d(function(a, c){f.call(h, b, e, function(b, d){b?c(b):a(d)})})}this.parse(b, e, function(a, b, d, e){if (a)return g(a); var f; try{var h = new c(b, d); f = h.toCSS(e)} catch (a){return g(a)}g(null, f)})}; return f}}, {promise:void 0}], 42:[function(a, b, c){b.exports = function(a, b){var c = function(a){this.options = a}; return c.prototype.toCSS = function(b, c, d){var e = new a({contentsIgnoredCharsMap:d.contentsIgnoredChars, rootNode:b, contentsMap:d.contents, sourceMapFilename:this.options.sourceMapFilename, sourceMapURL:this.options.sourceMapURL, outputFilename:this.options.sourceMapOutputFilename, sourceMapBasepath:this.options.sourceMapBasepath, sourceMapRootpath:this.options.sourceMapRootpath, outputSourceFiles:this.options.outputSourceFiles, sourceMapGenerator:this.options.sourceMapGenerator, sourceMapFileInline:this.options.sourceMapFileInline}), f = e.toCSS(c); return this.sourceMap = e.sourceMap, this.sourceMapURL = e.sourceMapURL, this.options.sourceMapInputFilename && (this.sourceMapInputFilename = e.normalizeFilename(this.options.sourceMapInputFilename)), f + this.getCSSAppendage()}, c.prototype.getCSSAppendage = function(){var a = this.sourceMapURL; if (this.options.sourceMapFileInline){if (void 0 === this.sourceMap)return""; a = "data:application/json;base64," + b.encodeBase64(this.sourceMap)}return a?"/*# sourceMappingURL=" + a + " */":""}, c.prototype.getExternalSourceMap = function(){return this.sourceMap}, c.prototype.setExternalSourceMap = function(a){this.sourceMap = a}, c.prototype.isInline = function(){return this.options.sourceMapFileInline}, c.prototype.getSourceMapURL = function(){return this.sourceMapURL}, c.prototype.getOutputFilename = function(){return this.options.sourceMapOutputFilename}, c.prototype.getInputFilename = function(){return this.sourceMapInputFilename}, c}}, {}], 43:[function(a, b, c){b.exports = function(a){var b = function(b){this._css = [], this._rootNode = b.rootNode, this._contentsMap = b.contentsMap, this._contentsIgnoredCharsMap = b.contentsIgnoredCharsMap, b.sourceMapFilename && (this._sourceMapFilename = b.sourceMapFilename.replace(/\\/g, "/")), this._outputFilename = b.outputFilename, this.sourceMapURL = b.sourceMapURL, b.sourceMapBasepath && (this._sourceMapBasepath = b.sourceMapBasepath.replace(/\\/g, "/")), b.sourceMapRootpath?(this._sourceMapRootpath = b.sourceMapRootpath.replace(/\\/g, "/"), "/" !== this._sourceMapRootpath.charAt(this._sourceMapRootpath.length - 1) && (this._sourceMapRootpath += "/")):this._sourceMapRootpath = "", this._outputSourceFiles = b.outputSourceFiles, this._sourceMapGeneratorConstructor = a.getSourceMapGenerator(), this._lineNumber = 0, this._column = 0}; return b.prototype.normalizeFilename = function(a){return a = a.replace(/\\/g, "/"), this._sourceMapBasepath && 0 === a.indexOf(this._sourceMapBasepath) && (a = a.substring(this._sourceMapBasepath.length), "\\" !== a.charAt(0) && "/" !== a.charAt(0) || (a = a.substring(1))), (this._sourceMapRootpath || "") + a}, b.prototype.add = function(a, b, c, d){if (a){var e, f, g, h, i; if (b){var j = this._contentsMap[b.filename]; this._contentsIgnoredCharsMap[b.filename] && (c -= this._contentsIgnoredCharsMap[b.filename], c < 0 && (c = 0), j = j.slice(this._contentsIgnoredCharsMap[b.filename])), j = j.substring(0, c), f = j.split("\n"), h = f[f.length - 1]}if (e = a.split("\n"), g = e[e.length - 1], b)if (d)for (i = 0; i < e.length; i++)this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber + i + 1, column:0 === i?this._column:0}, original:{line:f.length + i, column:0 === i?h.length:0}, source:this.normalizeFilename(b.filename)}); else this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber + 1, column:this._column}, original:{line:f.length, column:h.length}, source:this.normalizeFilename(b.filename)}); 1 === e.length?this._column += g.length:(this._lineNumber += e.length - 1, this._column = g.length), this._css.push(a)}}, b.prototype.isEmpty = function(){return 0 === this._css.length}, b.prototype.toCSS = function(a){if (this._sourceMapGenerator = new this._sourceMapGeneratorConstructor({file:this._outputFilename, sourceRoot:null}), this._outputSourceFiles)for (var b in this._contentsMap)if (this._contentsMap.hasOwnProperty(b)){var c = this._contentsMap[b]; this._contentsIgnoredCharsMap[b] && (c = c.slice(this._contentsIgnoredCharsMap[b])), this._sourceMapGenerator.setSourceContent(this.normalizeFilename(b), c)}if (this._rootNode.genCSS(a, this), this._css.length > 0){var d, e = JSON.stringify(this._sourceMapGenerator.toJSON()); this.sourceMapURL?d = this.sourceMapURL:this._sourceMapFilename && (d = this._sourceMapFilename), this.sourceMapURL = d, this.sourceMap = e}return this._css.join("")}, b}}, {}], 44:[function(a, b, c){var d = a("./contexts"), e = a("./visitors"), f = a("./tree"); b.exports = function(a, b){b = b || {}; var c, g = b.variables, h = new d.Eval(b); "object" != typeof g || Array.isArray(g) || (g = Object.keys(g).map(function(a){var b = g[a]; return b instanceof f.Value || (b instanceof f.Expression || (b = new f.Expression([b])), b = new f.Value([b])), new f.Rule("@" + a, b, (!1), null, 0)}), h.frames = [new f.Ruleset(null, g)]); var i, j = [], k = [new e.JoinSelectorVisitor, new e.MarkVisibleSelectorsVisitor((!0)), new e.ExtendVisitor, new e.ToCSSVisitor({compress:Boolean(b.compress)})]; if (b.pluginManager){var l = b.pluginManager.getVisitors(); for (i = 0; i < l.length; i++){var m = l[i]; m.isPreEvalVisitor?j.push(m):m.isPreVisitor?k.splice(0, 0, m):k.push(m)}}for (i = 0; i < j.length; i++)j[i].run(a); for (c = a.eval(h), i = 0; i < k.length; i++)k[i].run(c); return c}}, {"./contexts":11, "./tree":62, "./visitors":87}], 45:[function(a, b, c){var d = a("./node"), e = function(a){this.value = a}; e.prototype = new d, e.prototype.type = "Alpha", e.prototype.accept = function(a){this.value = a.visit(this.value)}, e.prototype.eval = function(a){return this.value.eval?new e(this.value.eval(a)):this}, e.prototype.genCSS = function(a, b){b.add("alpha(opacity="), this.value.genCSS?this.value.genCSS(a, b):b.add(this.value), b.add(")")}, b.exports = e}, {"./node":70}], 46:[function(a, b, c){var d = a("./node"), e = function(a, b, c, d, e, f){this.value = a, this.index = b, this.mapLines = d, this.currentFileInfo = c, this.rulesetLike = "undefined" != typeof e && e, this.allowRoot = !0, this.copyVisibilityInfo(f)}; e.prototype = new d, e.prototype.type = "Anonymous", e.prototype.eval = function(){return new e(this.value, this.index, this.currentFileInfo, this.mapLines, this.rulesetLike, this.visibilityInfo())}, e.prototype.compare = function(a){return a.toCSS && this.toCSS() === a.toCSS()?0:void 0}, e.prototype.isRulesetLike = function(){return this.rulesetLike}, e.prototype.genCSS = function(a, b){b.add(this.value, this.currentFileInfo, this.index, this.mapLines)}, b.exports = e}, {"./node":70}], 47:[function(a, b, c){var d = a("./node"), e = function(a, b){this.key = a, this.value = b}; e.prototype = new d, e.prototype.type = "Assignment", e.prototype.accept = function(a){this.value = a.visit(this.value)}, e.prototype.eval = function(a){return this.value.eval?new e(this.key, this.value.eval(a)):this}, e.prototype.genCSS = function(a, b){b.add(this.key + "="), this.value.genCSS?this.value.genCSS(a, b):b.add(this.value)}, b.exports = e}, {"./node":70}], 48:[function(a, b, c){var d = a("./node"), e = function(a, b, c){this.key = a, this.op = b, this.value = c}; e.prototype = new d, e.prototype.type = "Attribute", e.prototype.eval = function(a){return new e(this.key.eval?this.key.eval(a):this.key, this.op, this.value && this.value.eval?this.value.eval(a):this.value)}, e.prototype.genCSS = function(a, b){b.add(this.toCSS(a))}, e.prototype.toCSS = function(a){var b = this.key.toCSS?this.key.toCSS(a):this.key; return this.op && (b += this.op, b += this.value.toCSS?this.value.toCSS(a):this.value), "[" + b + "]"}, b.exports = e}, {"./node":70}], 49:[function(a, b, c){var d = a("./node"), e = a("../functions/function-caller"), f = function(a, b, c, d){this.name = a, this.args = b, this.index = c, this.currentFileInfo = d}; f.prototype = new d, f.prototype.type = "Call", f.prototype.accept = function(a){this.args && (this.args = a.visitArray(this.args))}, f.prototype.eval = function(a){var b, c = this.args.map(function(b){return b.eval(a)}), d = new e(this.name, a, this.index, this.currentFileInfo); if (d.isValid()){try{b = d.call(c)} catch (g){throw{type:g.type || "Runtime", message:"error evaluating function `" + this.name + "`" + (g.message?": " + g.message:""), index:this.index, filename:this.currentFileInfo.filename}}if (null != b)return b.index = this.index, b.currentFileInfo = this.currentFileInfo, b}return new f(this.name, c, this.index, this.currentFileInfo)}, f.prototype.genCSS = function(a, b){b.add(this.name + "(", this.currentFileInfo, this.index); for (var c = 0; c < this.args.length; c++)this.args[c].genCSS(a, b), c + 1 < this.args.length && b.add(", "); b.add(")")}, b.exports = f}, {"../functions/function-caller":21, "./node":70}], 50:[function(a, b, c){function d(a, b){return Math.min(Math.max(a, 0), b)}function e(a){return"#" + a.map(function(a){return a = d(Math.round(a), 255), (a < 16?"0":"") + a.toString(16)}).join("")}var f = a("./node"), g = a("../data/colors"), h = function(a, b, c){this.rgb = Array.isArray(a)?a:6 == a.length?a.match(/.{2}/g).map(function(a){return parseInt(a, 16)}):a.split("").map(function(a){return parseInt(a + a, 16)}), this.alpha = "number" == typeof b?b:1, "undefined" != typeof c && (this.value = c)}; h.prototype = new f, h.prototype.type = "Color", h.prototype.luma = function(){var a = this.rgb[0] / 255, b = this.rgb[1] / 255, c = this.rgb[2] / 255; return a = a <= .03928?a / 12.92:Math.pow((a + .055) / 1.055, 2.4), b = b <= .03928?b / 12.92:Math.pow((b + .055) / 1.055, 2.4), c = c <= .03928?c / 12.92:Math.pow((c + .055) / 1.055, 2.4), .2126 * a + .7152 * b + .0722 * c}, h.prototype.genCSS = function(a, b){b.add(this.toCSS(a))}, h.prototype.toCSS = function(a, b){var c, e, f = a && a.compress && !b; if (this.value)return this.value; if (e = this.fround(a, this.alpha), e < 1)return"rgba(" + this.rgb.map(function(a){return d(Math.round(a), 255)}).concat(d(e, 1)).join("," + (f?"":" ")) + ")"; if (c = this.toRGB(), f){var g = c.split(""); g[1] === g[2] && g[3] === g[4] && g[5] === g[6] && (c = "#" + g[1] + g[3] + g[5])}return c}, h.prototype.operate = function(a, b, c){for (var d = [], e = this.alpha * (1 - c.alpha) + c.alpha, f = 0; f < 3; f++)d[f] = this._operate(a, b, this.rgb[f], c.rgb[f]); return new h(d, e)}, h.prototype.toRGB = function(){return e(this.rgb)}, h.prototype.toHSL = function(){var a, b, c = this.rgb[0] / 255, d = this.rgb[1] / 255, e = this.rgb[2] / 255, f = this.alpha, g = Math.max(c, d, e), h = Math.min(c, d, e), i = (g + h) / 2, j = g - h; if (g === h)a = b = 0; else{switch (b = i > .5?j / (2 - g - h):j / (g + h), g){case c:a = (d - e) / j + (d < e?6:0); break; case d:a = (e - c) / j + 2; break; case e:a = (c - d) / j + 4}a /= 6}return{h:360 * a, s:b, l:i, a:f}}, h.prototype.toHSV = function(){var a, b, c = this.rgb[0] / 255, d = this.rgb[1] / 255, e = this.rgb[2] / 255, f = this.alpha, g = Math.max(c, d, e), h = Math.min(c, d, e), i = g, j = g - h; if (b = 0 === g?0:j / g, g === h)a = 0; else{switch (g){case c:a = (d - e) / j + (d < e?6:0); break; case d:a = (e - c) / j + 2; break; case e:a = (c - d) / j + 4}a /= 6}return{h:360 * a, s:b, v:i, a:f}}, h.prototype.toARGB = function(){return e([255 * this.alpha].concat(this.rgb))}, h.prototype.compare = function(a){return a.rgb && a.rgb[0] === this.rgb[0] && a.rgb[1] === this.rgb[1] && a.rgb[2] === this.rgb[2] && a.alpha === this.alpha?0:void 0}, h.fromKeyword = function(a){var b, c = a.toLowerCase(); if (g.hasOwnProperty(c)?b = new h(g[c].slice(1)):"transparent" === c && (b = new h([0, 0, 0], 0)), b)return b.value = a, b}, b.exports = h}, {"../data/colors":12, "./node":70}], 51:[function(a, b, c){var d = a("./node"), e = function(a){" " === a?(this.value = " ", this.emptyOrWhitespace = !0):(this.value = a?a.trim():"", this.emptyOrWhitespace = "" === this.value)}; e.prototype = new d, e.prototype.type = "Combinator"; var f = {"":!0, " ":!0, "|":!0}; e.prototype.genCSS = function(a, b){var c = a.compress || f[this.value]?"":" "; b.add(c + this.value + c)}, b.exports = e}, {"./node":70}], 52:[function(a, b, c){var d = a("./node"), e = a("./debug-info"), f = function(a, b, c, d){this.value = a, this.isLineComment = b, this.index = c, this.currentFileInfo = d, this.allowRoot = !0}; f.prototype = new d, f.prototype.type = "Comment", f.prototype.genCSS = function(a, b){this.debugInfo && b.add(e(a, this), this.currentFileInfo, this.index), b.add(this.value)}, f.prototype.isSilent = function(a){var b = a.compress && "!" !== this.value[2]; return this.isLineComment || b}, b.exports = f}, {"./debug-info":54, "./node":70}], 53:[function(a, b, c){var d = a("./node"), e = function(a, b, c, d, e){this.op = a.trim(), this.lvalue = b, this.rvalue = c, this.index = d, this.negate = e}; e.prototype = new d, e.prototype.type = "Condition", e.prototype.accept = function(a){this.lvalue = a.visit(this.lvalue), this.rvalue = a.visit(this.rvalue)}, e.prototype.eval = function(a){var b = function(a, b, c){switch (a){case"and":return b && c; case"or":return b || c; default:switch (d.compare(b, c)){case - 1:return"<" === a || "=<" === a || "<=" === a; case 0:return"=" === a || ">=" === a || "=<" === a || "<=" === a; case 1:return">" === a || ">=" === a; default:return!1}}}(this.op, this.lvalue.eval(a), this.rvalue.eval(a)); return this.negate?!b:b}, b.exports = e}, {"./node":70}], 54:[function(a, b, c){var d = function(a, b, c){var e = ""; if (a.dumpLineNumbers && !a.compress)switch (a.dumpLineNumbers){case"comments":e = d.asComment(b); break; case"mediaquery":e = d.asMediaQuery(b); break; case"all":e = d.asComment(b) + (c || "") + d.asMediaQuery(b)}return e}; d.asComment = function(a){return"/* line " + a.debugInfo.lineNumber + ", " + a.debugInfo.fileName + " */\n"}, d.asMediaQuery = function(a){var b = a.debugInfo.fileName; return/^[a-z]+:\/\//i.test(b) || (b = "file://" + b), "@media -sass-debug-info{filename{font-family:" + b.replace(/([.:\/\\])/g, function(a){return"\\" == a && (a = "/"), "\\" + a}) + "}line{font-family:\\00003" + a.debugInfo.lineNumber + "}}\n"}, b.exports = d}, {}], 55:[function(a, b, c){var d = a("./node"), e = a("../contexts"), f = function(a, b){this.ruleset = a, this.frames = b}; f.prototype = new d, f.prototype.type = "DetachedRuleset", f.prototype.evalFirst = !0, f.prototype.accept = function(a){this.ruleset = a.visit(this.ruleset)}, f.prototype.eval = function(a){var b = this.frames || a.frames.slice(0); return new f(this.ruleset, b)}, f.prototype.callEval = function(a){return this.ruleset.eval(this.frames?new e.Eval(a, this.frames.concat(a.frames)):a)}, b.exports = f}, {"../contexts":11, "./node":70}], 56:[function(a, b, c){var d = a("./node"), e = a("../data/unit-conversions"), f = a("./unit"), g = a("./color"), h = function(a, b){this.value = parseFloat(a), this.unit = b && b instanceof f?b:new f(b?[b]:void 0)}; h.prototype = new d, h.prototype.type = "Dimension", h.prototype.accept = function(a){this.unit = a.visit(this.unit)}, h.prototype.eval = function(a){return this}, h.prototype.toColor = function(){return new g([this.value, this.value, this.value])}, h.prototype.genCSS = function(a, b){if (a && a.strictUnits && !this.unit.isSingular())throw new Error("Multiple units in dimension. Correct the units or use the unit function. Bad unit: " + this.unit.toString()); var c = this.fround(a, this.value), d = String(c); if (0 !== c && c < 1e-6 && c > - 1e-6 && (d = c.toFixed(20).replace(/0+$/, "")), a && a.compress){if (0 === c && this.unit.isLength())return void b.add(d); c > 0 && c < 1 && (d = d.substr(1))}b.add(d), this.unit.genCSS(a, b)}, h.prototype.operate = function(a, b, c){var d = this._operate(a, b, this.value, c.value), e = this.unit.clone(); if ("+" === b || "-" === b)if (0 === e.numerator.length && 0 === e.denominator.length)e = c.unit.clone(), this.unit.backupUnit && (e.backupUnit = this.unit.backupUnit); else if (0 === c.unit.numerator.length && 0 === e.denominator.length); else{if (c = c.convertTo(this.unit.usedUnits()), a.strictUnits && c.unit.toString() !== e.toString())throw new Error("Incompatible units. Change the units or use the unit function. Bad units: '" + e.toString() + "' and '" + c.unit.toString() + "'."); d = this._operate(a, b, this.value, c.value)} else"*" === b?(e.numerator = e.numerator.concat(c.unit.numerator).sort(), e.denominator = e.denominator.concat(c.unit.denominator).sort(), e.cancel()):"/" === b && (e.numerator = e.numerator.concat(c.unit.denominator).sort(), e.denominator = e.denominator.concat(c.unit.numerator).sort(), e.cancel()); return new h(d, e)}, h.prototype.compare = function(a){var b, c; if (a instanceof h){if (this.unit.isEmpty() || a.unit.isEmpty())b = this, c = a; else if (b = this.unify(), c = a.unify(), 0 !== b.unit.compare(c.unit))return; return d.numericCompare(b.value, c.value)}}, h.prototype.unify = function(){return this.convertTo({length:"px", duration:"s", angle:"rad"})}, h.prototype.convertTo = function(a){var b, c, d, f, g, i = this.value, j = this.unit.clone(), k = {}; if ("string" == typeof a){for (b in e)e[b].hasOwnProperty(a) && (k = {}, k[b] = a); a = k}g = function(a, b){return d.hasOwnProperty(a)?(b?i /= d[a] / d[f]:i *= d[a] / d[f], f):a}; for (c in a)a.hasOwnProperty(c) && (f = a[c], d = e[c], j.map(g)); return j.cancel(), new h(i, j)}, b.exports = h}, {"../data/unit-conversions":14, "./color":50, "./node":70, "./unit":79}], 57:[function(a, b, c){var d = a("./node"), e = a("./selector"), f = a("./ruleset"), g = function(a, b, c, d, f, g, h, i){var j; if (this.name = a, this.value = b, c)for (Array.isArray(c)?this.rules = c:(this.rules = [c], this.rules[0].selectors = new e([], null, null, this.index, f).createEmptySelectors()), j = 0; j < this.rules.length; j++)this.rules[j].allowImports = !0; this.index = d, this.currentFileInfo = f, this.debugInfo = g, this.isRooted = h || !1, this.copyVisibilityInfo(i), this.allowRoot = !0}; g.prototype = new d, g.prototype.type = "Directive", g.prototype.accept = function(a){var b = this.value, c = this.rules; c && (this.rules = a.visitArray(c)), b && (this.value = a.visit(b))}, g.prototype.isRulesetLike = function(){return this.rules || !this.isCharset()}, g.prototype.isCharset = function(){return"@charset" === this.name}, g.prototype.genCSS = function(a, b){var c = this.value, d = this.rules; b.add(this.name, this.currentFileInfo, this.index), c && (b.add(" "), c.genCSS(a, b)), d?this.outputRuleset(a, b, d):b.add(";")}, g.prototype.eval = function(a){var b, c, d = this.value, e = this.rules; return b = a.mediaPath, c = a.mediaBlocks, a.mediaPath = [], a.mediaBlocks = [], d && (d = d.eval(a)), e && (e = [e[0].eval(a)], e[0].root = !0), a.mediaPath = b, a.mediaBlocks = c, new g(this.name, d, e, this.index, this.currentFileInfo, this.debugInfo, this.isRooted, this.visibilityInfo())}, g.prototype.variable = function(a){if (this.rules)return f.prototype.variable.call(this.rules[0], a)}, g.prototype.find = function(){if (this.rules)return f.prototype.find.apply(this.rules[0], arguments)}, g.prototype.rulesets = function(){if (this.rules)return f.prototype.rulesets.apply(this.rules[0])}, g.prototype.outputRuleset = function(a, b, c){var d, e = c.length; if (a.tabLevel = (0 | a.tabLevel) + 1, a.compress){for (b.add("{"), d = 0; d < e; d++)c[d].genCSS(a, b); return b.add("}"), void a.tabLevel--}var f = "\n" + Array(a.tabLevel).join("  "), g = f + "  "; if (e){for (b.add(" {" + g), c[0].genCSS(a, b), d = 1; d < e; d++)b.add(g), c[d].genCSS(a, b); b.add(f + "}")} else b.add(" {" + f + "}"); a.tabLevel--}, b.exports = g}, {"./node":70, "./ruleset":76, "./selector":77}], 58:[function(a, b, c){var d = a("./node"), e = a("./paren"), f = a("./combinator"), g = function(a, b, c, d, e){this.combinator = a instanceof f?a:new f(a), this.value = "string" == typeof b?b.trim():b?b:"", this.index = c, this.currentFileInfo = d, this.copyVisibilityInfo(e)}; g.prototype = new d, g.prototype.type = "Element", g.prototype.accept = function(a){var b = this.value; this.combinator = a.visit(this.combinator), "object" == typeof b && (this.value = a.visit(b))}, g.prototype.eval = function(a){return new g(this.combinator, this.value.eval?this.value.eval(a):this.value, this.index, this.currentFileInfo, this.visibilityInfo())}, g.prototype.clone = function(){return new g(this.combinator, this.value, this.index, this.currentFileInfo, this.visibilityInfo())}, g.prototype.genCSS = function(a, b){b.add(this.toCSS(a), this.currentFileInfo, this.index)}, g.prototype.toCSS = function(a){a = a || {}; var b = this.value, c = a.firstSelector; return b instanceof e && (a.firstSelector = !0), b = b.toCSS?b.toCSS(a):b, a.firstSelector = c, "" === b && "&" === this.combinator.value.charAt(0)?"":this.combinator.toCSS(a) + b}, b.exports = g}, {"./combinator":51, "./node":70, "./paren":72}], 59:[function(a, b, c){var d = a("./node"), e = a("./paren"), f = a("./comment"), g = function(a){if (this.value = a, !a)throw new Error("Expression requires an array parameter")}; g.prototype = new d, g.prototype.type = "Expression", g.prototype.accept = function(a){this.value = a.visitArray(this.value)}, g.prototype.eval = function(a){var b, c = this.parens && !this.parensInOp, d = !1; return c && a.inParenthesis(), this.value.length > 1?b = new g(this.value.map(function(b){return b.eval(a)})):1 === this.value.length?(this.value[0].parens && !this.value[0].parensInOp && (d = !0), b = this.value[0].eval(a)):b = this, c && a.outOfParenthesis(), this.parens && this.parensInOp && !a.isMathOn() && !d && (b = new e(b)), b}, g.prototype.genCSS = function(a, b){for (var c = 0; c < this.value.length; c++)this.value[c].genCSS(a, b), c + 1 < this.value.length && b.add(" ")}, g.prototype.throwAwayComments = function(){this.value = this.value.filter(function(a){return!(a instanceof f)})}, b.exports = g}, {"./comment":52, "./node":70, "./paren":72}], 60:[function(a, b, c){var d = a("./node"), e = a("./selector"), f = function g(a, b, c, d, e){switch (this.selector = a, this.option = b, this.index = c, this.object_id = g.next_id++, this.parent_ids = [this.object_id], this.currentFileInfo = d || {}, this.copyVisibilityInfo(e), this.allowRoot = !0, b){case"all":this.allowBefore = !0, this.allowAfter = !0; break; default:this.allowBefore = !1, this.allowAfter = !1}}; f.next_id = 0, f.prototype = new d, f.prototype.type = "Extend", f.prototype.accept = function(a){this.selector = a.visit(this.selector)}, f.prototype.eval = function(a){return new f(this.selector.eval(a), this.option, this.index, this.currentFileInfo, this.visibilityInfo())}, f.prototype.clone = function(a){return new f(this.selector, this.option, this.index, this.currentFileInfo, this.visibilityInfo())}, f.prototype.findSelfSelectors = function(a){var b, c, d = []; for (b = 0; b < a.length; b++)c = a[b].elements, b > 0 && c.length && "" === c[0].combinator.value && (c[0].combinator.value = " "), d = d.concat(a[b].elements); this.selfSelectors = [new e(d)], this.selfSelectors[0].copyVisibilityInfo(this.visibilityInfo())}, b.exports = f}, {"./node":70, "./selector":77}], 61:[function(a, b, c){var d = a("./node"), e = a("./media"), f = a("./url"), g = a("./quoted"), h = a("./ruleset"), i = a("./anonymous"), j = function(a, b, c, d, e, f){if (this.options = c, this.index = d, this.path = a, this.features = b, this.currentFileInfo = e, this.allowRoot = !0, void 0 !== this.options.less || this.options.inline)this.css = !this.options.less || this.options.inline; else{var g = this.getPath(); g && /[#\.\&\?\/]css([\?;].*)?$/.test(g) && (this.css = !0)}this.copyVisibilityInfo(f)}; j.prototype = new d, j.prototype.type = "Import", j.prototype.accept = function(a){this.features && (this.features = a.visit(this.features)), this.path = a.visit(this.path), this.options.plugin || this.options.inline || !this.root || (this.root = a.visit(this.root))}, j.prototype.genCSS = function(a, b){this.css && void 0 === this.path.currentFileInfo.reference && (b.add("@import ", this.currentFileInfo, this.index), this.path.genCSS(a, b), this.features && (b.add(" "), this.features.genCSS(a, b)), b.add(";"))}, j.prototype.getPath = function(){return this.path instanceof f?this.path.value.value:this.path.value}, j.prototype.isVariableImport = function(){var a = this.path; return a instanceof f && (a = a.value), !(a instanceof g) || a.containsVariables()}, j.prototype.evalForImport = function(a){var b = this.path; return b instanceof f && (b = b.value), new j(b.eval(a), this.features, this.options, this.index, this.currentFileInfo, this.visibilityInfo())}, j.prototype.evalPath = function(a){var b = this.path.eval(a), c = this.currentFileInfo && this.currentFileInfo.rootpath; if (!(b instanceof f)){if (c){var d = b.value; d && a.isPathRelative(d) && (b.value = c + d)}b.value = a.normalizePath(b.value)}return b}, j.prototype.eval = function(a){var b = this.doEval(a); return(this.options.reference || this.blocksVisibility()) && (b.length || 0 === b.length?b.forEach(function(a){a.addVisibilityBlock()}):b.addVisibilityBlock()), b}, j.prototype.doEval = function(a){var b, c, d = this.features && this.features.eval(a); if (this.options.plugin)return c = a.frames[0] && a.frames[0].functionRegistry, c && this.root && this.root.functions && c.addMultiple(this.root.functions), []; if (this.skip && ("function" == typeof this.skip && (this.skip = this.skip()), this.skip))return[]; if (this.options.inline){var f = new i(this.root, 0, {filename:this.importedFilename, reference:this.path.currentFileInfo && this.path.currentFileInfo.reference}, (!0), (!0)); return this.features?new e([f], this.features.value):[f]}if (this.css){var g = new j(this.evalPath(a), d, this.options, this.index); if (!g.css && this.error)throw this.error; return g}return b = new h(null, this.root.rules.slice(0)), b.evalImports(a), this.features?new e(b.rules, this.features.value):b.rules}, b.exports = j}, {"./anonymous":46, "./media":66, "./node":70, "./quoted":73, "./ruleset":76, "./url":80}], 62:[function(a, b, c){var d = {}; d.Node = a("./node"), d.Alpha = a("./alpha"), d.Color = a("./color"), d.Directive = a("./directive"), d.DetachedRuleset = a("./detached-ruleset"), d.Operation = a("./operation"), d.Dimension = a("./dimension"), d.Unit = a("./unit"), d.Keyword = a("./keyword"), d.Variable = a("./variable"), d.Ruleset = a("./ruleset"), d.Element = a("./element"), d.Attribute = a("./attribute"), d.Combinator = a("./combinator"), d.Selector = a("./selector"), d.Quoted = a("./quoted"), d.Expression = a("./expression"), d.Rule = a("./rule"), d.Call = a("./call"), d.URL = a("./url"), d.Import = a("./import"), d.mixin = {Call:a("./mixin-call"), Definition:a("./mixin-definition")}, d.Comment = a("./comment"), d.Anonymous = a("./anonymous"), d.Value = a("./value"), d.JavaScript = a("./javascript"), d.Assignment = a("./assignment"), d.Condition = a("./condition"), d.Paren = a("./paren"), d.Media = a("./media"), d.UnicodeDescriptor = a("./unicode-descriptor"), d.Negative = a("./negative"), d.Extend = a("./extend"), d.RulesetCall = a("./ruleset-call"), b.exports = d}, {"./alpha":45, "./anonymous":46, "./assignment":47, "./attribute":48, "./call":49, "./color":50, "./combinator":51, "./comment":52, "./condition":53, "./detached-ruleset":55, "./dimension":56, "./directive":57, "./element":58, "./expression":59, "./extend":60, "./import":61, "./javascript":63, "./keyword":65, "./media":66, "./mixin-call":67, "./mixin-definition":68, "./negative":69, "./node":70, "./operation":71, "./paren":72, "./quoted":73, "./rule":74, "./ruleset":76, "./ruleset-call":75, "./selector":77, "./unicode-descriptor":78, "./unit":79, "./url":80, "./value":81, "./variable":82}], 63:[function(a, b, c){var d = a("./js-eval-node"), e = a("./dimension"), f = a("./quoted"), g = a("./anonymous"), h = function(a, b, c, d){this.escaped = b, this.expression = a, this.index = c, this.currentFileInfo = d}; h.prototype = new d, h.prototype.type = "JavaScript", h.prototype.eval = function(a){var b = this.evaluateJavaScript(this.expression, a); return"number" == typeof b?new e(b):"string" == typeof b?new f('"' + b + '"', b, this.escaped, this.index):new g(Array.isArray(b)?b.join(", "):b)}, b.exports = h}, {"./anonymous":46, "./dimension":56, "./js-eval-node":64, "./quoted":73}], 64:[function(a, b, c){var d = a("./node"), e = a("./variable"), f = function(){}; f.prototype = new d, f.prototype.evaluateJavaScript = function(a, b){var c, d = this, f = {}; if (void 0 !== b.javascriptEnabled && !b.javascriptEnabled)throw{message:"You are using JavaScript, which has been disabled.", filename:this.currentFileInfo.filename, index:this.index}; a = a.replace(/@\{([\w-]+)\}/g, function(a, c){return d.jsify(new e("@" + c, d.index, d.currentFileInfo).eval(b))}); try{a = new Function("return (" + a + ")")} catch (g){throw{message:"JavaScript evaluation error: " + g.message + " from `" + a + "`", filename:this.currentFileInfo.filename, index:this.index}}var h = b.frames[0].variables(); for (var i in h)h.hasOwnProperty(i) && (f[i.slice(1)] = {value:h[i].value, toJS:function(){return this.value.eval(b).toCSS()}}); try{c = a.call(f)} catch (g){throw{message:"JavaScript evaluation error: '" + g.name + ": " + g.message.replace(/["]/g, "'") + "'", filename:this.currentFileInfo.filename, index:this.index}}return c}, f.prototype.jsify = function(a){return Array.isArray(a.value) && a.value.length > 1?"[" + a.value.map(function(a){return a.toCSS()}).join(", ") + "]":a.toCSS()}, b.exports = f}, {"./node":70, "./variable":82}], 65:[function(a, b, c){var d = a("./node"), e = function(a){this.value = a}; e.prototype = new d, e.prototype.type = "Keyword", e.prototype.genCSS = function(a, b){if ("%" === this.value)throw{type:"Syntax", message:"Invalid % without number"}; b.add(this.value)}, e.True = new e("true"), e.False = new e("false"), b.exports = e}, {"./node":70}], 66:[function(a, b, c){var d = a("./ruleset"), e = a("./value"), f = a("./selector"), g = a("./anonymous"), h = a("./expression"), i = a("./directive"), j = function(a, b, c, g, h){this.index = c, this.currentFileInfo = g; var i = new f([], null, null, this.index, this.currentFileInfo).createEmptySelectors(); this.features = new e(b), this.rules = [new d(i, a)], this.rules[0].allowImports = !0, this.copyVisibilityInfo(h), this.allowRoot = !0}; j.prototype = new i, j.prototype.type = "Media", j.prototype.isRulesetLike = !0, j.prototype.accept = function(a){this.features && (this.features = a.visit(this.features)), this.rules && (this.rules = a.visitArray(this.rules))}, j.prototype.genCSS = function(a, b){b.add("@media ", this.currentFileInfo, this.index), this.features.genCSS(a, b), this.outputRuleset(a, b, this.rules)}, j.prototype.eval = function(a){a.mediaBlocks || (a.mediaBlocks = [], a.mediaPath = []); var b = new j(null, [], this.index, this.currentFileInfo, this.visibilityInfo()); this.debugInfo && (this.rules[0].debugInfo = this.debugInfo, b.debugInfo = this.debugInfo); var c = !1; a.strictMath || (c = !0, a.strictMath = !0); try{b.features = this.features.eval(a)} finally{c && (a.strictMath = !1)}return a.mediaPath.push(b), a.mediaBlocks.push(b), this.rules[0].functionRegistry = a.frames[0].functionRegistry.inherit(), a.frames.unshift(this.rules[0]), b.rules = [this.rules[0].eval(a)], a.frames.shift(), a.mediaPath.pop(), 0 === a.mediaPath.length?b.evalTop(a):b.evalNested(a)}, j.prototype.evalTop = function(a){var b = this; if (a.mediaBlocks.length > 1){var c = new f([], null, null, this.index, this.currentFileInfo).createEmptySelectors(); b = new d(c, a.mediaBlocks), b.multiMedia = !0, b.copyVisibilityInfo(this.visibilityInfo())}return delete a.mediaBlocks, delete a.mediaPath, b}, j.prototype.evalNested = function(a){var b, c, f = a.mediaPath.concat([this]); for (b = 0; b < f.length; b++)c = f[b].features instanceof e?f[b].features.value:f[b].features, f[b] = Array.isArray(c)?c:[c]; return this.features = new e(this.permute(f).map(function(a){for (a = a.map(function(a){return a.toCSS?a:new g(a)}), b = a.length - 1; b > 0; b--)a.splice(b, 0, new g("and")); return new h(a)})), new d([], [])}, j.prototype.permute = function(a){if (0 === a.length)return[]; if (1 === a.length)return a[0]; for (var b = [], c = this.permute(a.slice(1)), d = 0; d < c.length; d++)for (var e = 0; e < a[0].length; e++)b.push([a[0][e]].concat(c[d])); return b}, j.prototype.bubbleSelectors = function(a){a && (this.rules = [new d(a.slice(0), [this.rules[0]])])}, b.exports = j}, {"./anonymous":46, "./directive":57, "./expression":59, "./ruleset":76, "./selector":77, "./value":81}], 67:[function(a, b, c){var d = a("./node"), e = a("./selector"), f = a("./mixin-definition"), g = a("../functions/default"), h = function(a, b, c, d, f){this.selector = new e(a), this.arguments = b || [], this.index = c, this.currentFileInfo = d, this.important = f, this.allowRoot = !0}; h.prototype = new d, h.prototype.type = "MixinCall", h.prototype.accept = function(a){this.selector && (this.selector = a.visit(this.selector)), this.arguments.length && (this.arguments = a.visitArray(this.arguments))}, h.prototype.eval = function(a){function b(b, c){var d, e, f; for (d = 0; d < 2; d++){for (x[d] = !0, g.value(d), e = 0; e < c.length && x[d]; e++)f = c[e], f.matchCondition && (x[d] = x[d] && f.matchCondition(null, a)); b.matchCondition && (x[d] = x[d] && b.matchCondition(t, a))}return x[0] || x[1]?x[0] != x[1]?x[1]?A:B:z:y}var c, d, e, h, i, j, k, l, m, n, o, p, q, r, s, t = [], u = [], v = !1, w = [], x = [], y = - 1, z = 0, A = 1, B = 2; for (j = 0; j < this.arguments.length; j++)if (h = this.arguments[j], i = h.value.eval(a), h.expand && Array.isArray(i.value))for (i = i.value, k = 0; k < i.length; k++)t.push({value:i[k]}); else t.push({name:h.name, value:i}); for (s = function(b){return b.matchArgs(null, a)}, j = 0; j < a.frames.length; j++)if ((c = a.frames[j].find(this.selector, null, s)).length > 0){for (n = !0, k = 0; k < c.length; k++){for (d = c[k].rule, e = c[k].path, m = !1, l = 0; l < a.frames.length; l++)if (!(d instanceof f) && d === (a.frames[l].originalRuleset || a.frames[l])){m = !0; break}m || d.matchArgs(t, a) && (o = {mixin:d, group:b(d, e)}, o.group !== y && w.push(o), v = !0)}for (g.reset(), q = [0, 0, 0], k = 0; k < w.length; k++)q[w[k].group]++; if (q[z] > 0)p = B; else if (p = A, q[A] + q[B] > 1)throw{type:"Runtime", message:"Ambiguous use of `default()` found when matching for `" + this.format(t) + "`", index:this.index, filename:this.currentFileInfo.filename}; for (k = 0; k < w.length; k++)if (o = w[k].group, o === z || o === p)try{d = w[k].mixin, d instanceof f || (r = d.originalRuleset || d, d = new f("", [], d.rules, null, (!1), null, r.visibilityInfo()), d.originalRuleset = r); var C = d.evalCall(a, t, this.important).rules; this._setVisibilityToReplacement(C), Array.prototype.push.apply(u, C)} catch (D){throw{message:D.message, index:this.index, filename:this.currentFileInfo.filename,
        stack:D.stack}}if (v)return u}throw n?{type:"Runtime", message:"No matching definition was found for `" + this.format(t) + "`", index:this.index, filename:this.currentFileInfo.filename}:{type:"Name", message:this.selector.toCSS().trim() + " is undefined", index:this.index, filename:this.currentFileInfo.filename}}, h.prototype._setVisibilityToReplacement = function(a){var b, c; if (this.blocksVisibility())for (b = 0; b < a.length; b++)c = a[b], c.addVisibilityBlock()}, h.prototype.format = function(a){return this.selector.toCSS().trim() + "(" + (a?a.map(function(a){var b = ""; return a.name && (b += a.name + ":"), b += a.value.toCSS?a.value.toCSS():"???"}).join(", "):"") + ")"}, b.exports = h}, {"../functions/default":20, "./mixin-definition":68, "./node":70, "./selector":77}], 68:[function(a, b, c){var d = a("./selector"), e = a("./element"), f = a("./ruleset"), g = a("./rule"), h = a("./expression"), i = a("../contexts"), j = function(a, b, c, f, g, h, i){this.name = a, this.selectors = [new d([new e(null, a, this.index, this.currentFileInfo)])], this.params = b, this.condition = f, this.variadic = g, this.arity = b.length, this.rules = c, this._lookups = {}; var j = []; this.required = b.reduce(function(a, b){return!b.name || b.name && !b.value?a + 1:(j.push(b.name), a)}, 0), this.optionalParameters = j, this.frames = h, this.copyVisibilityInfo(i), this.allowRoot = !0}; j.prototype = new f, j.prototype.type = "MixinDefinition", j.prototype.evalFirst = !0, j.prototype.accept = function(a){this.params && this.params.length && (this.params = a.visitArray(this.params)), this.rules = a.visitArray(this.rules), this.condition && (this.condition = a.visit(this.condition))}, j.prototype.evalParams = function(a, b, c, d){var e, j, k, l, m, n, o, p, q = new f(null, null), r = this.params.slice(0), s = 0; if (b.frames && b.frames[0] && b.frames[0].functionRegistry && (q.functionRegistry = b.frames[0].functionRegistry.inherit()), b = new i.Eval(b, [q].concat(b.frames)), c)for (c = c.slice(0), s = c.length, k = 0; k < s; k++)if (j = c[k], n = j && j.name){for (o = !1, l = 0; l < r.length; l++)if (!d[l] && n === r[l].name){d[l] = j.value.eval(a), q.prependRule(new g(n, j.value.eval(a))), o = !0; break}if (o){c.splice(k, 1), k--; continue}throw{type:"Runtime", message:"Named argument for " + this.name + " " + c[k].name + " not found"}}for (p = 0, k = 0; k < r.length; k++)if (!d[k]){if (j = c && c[p], n = r[k].name)if (r[k].variadic){for (e = [], l = p; l < s; l++)e.push(c[l].value.eval(a)); q.prependRule(new g(n, new h(e).eval(a)))} else{if (m = j && j.value)m = m.eval(a); else{if (!r[k].value)throw{type:"Runtime", message:"wrong number of arguments for " + this.name + " (" + s + " for " + this.arity + ")"}; m = r[k].value.eval(b), q.resetCache()}q.prependRule(new g(n, m)), d[k] = m}if (r[k].variadic && c)for (l = p; l < s; l++)d[l] = c[l].value.eval(a); p++}return q}, j.prototype.makeImportant = function(){var a = this.rules?this.rules.map(function(a){return a.makeImportant?a.makeImportant(!0):a}):this.rules, b = new j(this.name, this.params, a, this.condition, this.variadic, this.frames); return b}, j.prototype.eval = function(a){return new j(this.name, this.params, this.rules, this.condition, this.variadic, this.frames || a.frames.slice(0))}, j.prototype.evalCall = function(a, b, c){var d, e, j = [], k = this.frames?this.frames.concat(a.frames):a.frames, l = this.evalParams(a, new i.Eval(a, k), b, j); return l.prependRule(new g("@arguments", new h(j).eval(a))), d = this.rules.slice(0), e = new f(null, d), e.originalRuleset = this, e = e.eval(new i.Eval(a, [this, l].concat(k))), c && (e = e.makeImportant()), e}, j.prototype.matchCondition = function(a, b){return!(this.condition && !this.condition.eval(new i.Eval(b, [this.evalParams(b, new i.Eval(b, this.frames?this.frames.concat(b.frames):b.frames), a, [])].concat(this.frames || []).concat(b.frames))))}, j.prototype.matchArgs = function(a, b){var c, d = a && a.length || 0, e = this.optionalParameters, f = a?a.reduce(function(a, b){return e.indexOf(b.name) < 0?a + 1:a}, 0):0; if (this.variadic){if (f < this.required - 1)return!1} else{if (f < this.required)return!1; if (d > this.params.length)return!1}c = Math.min(f, this.arity); for (var g = 0; g < c; g++)if (!this.params[g].name && !this.params[g].variadic && a[g].value.eval(b).toCSS() != this.params[g].value.eval(b).toCSS())return!1; return!0}, b.exports = j}, {"../contexts":11, "./element":58, "./expression":59, "./rule":74, "./ruleset":76, "./selector":77}], 69:[function(a, b, c){var d = a("./node"), e = a("./operation"), f = a("./dimension"), g = function(a){this.value = a}; g.prototype = new d, g.prototype.type = "Negative", g.prototype.genCSS = function(a, b){b.add("-"), this.value.genCSS(a, b)}, g.prototype.eval = function(a){return a.isMathOn()?new e("*", [new f(( - 1)), this.value]).eval(a):new g(this.value.eval(a))}, b.exports = g}, {"./dimension":56, "./node":70, "./operation":71}], 70:[function(a, b, c){var d = function(){}; d.prototype.toCSS = function(a){var b = []; return this.genCSS(a, {add:function(a, c, d){b.push(a)}, isEmpty:function(){return 0 === b.length}}), b.join("")}, d.prototype.genCSS = function(a, b){b.add(this.value)}, d.prototype.accept = function(a){this.value = a.visit(this.value)}, d.prototype.eval = function(){return this}, d.prototype._operate = function(a, b, c, d){switch (b){case"+":return c + d; case"-":return c - d; case"*":return c * d; case"/":return c / d}}, d.prototype.fround = function(a, b){var c = a && a.numPrecision; return null == c?b:Number((b + 2e-16).toFixed(c))}, d.compare = function(a, b){if (a.compare && "Quoted" !== b.type && "Anonymous" !== b.type)return a.compare(b); if (b.compare)return - b.compare(a); if (a.type === b.type){if (a = a.value, b = b.value, !Array.isArray(a))return a === b?0:void 0; if (a.length === b.length){for (var c = 0; c < a.length; c++)if (0 !== d.compare(a[c], b[c]))return; return 0}}}, d.numericCompare = function(a, b){return a < b? - 1:a === b?0:a > b?1:void 0}, d.prototype.blocksVisibility = function(){return null == this.visibilityBlocks && (this.visibilityBlocks = 0), 0 !== this.visibilityBlocks}, d.prototype.addVisibilityBlock = function(){null == this.visibilityBlocks && (this.visibilityBlocks = 0), this.visibilityBlocks = this.visibilityBlocks + 1}, d.prototype.removeVisibilityBlock = function(){null == this.visibilityBlocks && (this.visibilityBlocks = 0), this.visibilityBlocks = this.visibilityBlocks - 1}, d.prototype.ensureVisibility = function(){this.nodeVisible = !0}, d.prototype.ensureInvisibility = function(){this.nodeVisible = !1}, d.prototype.isVisible = function(){return this.nodeVisible}, d.prototype.visibilityInfo = function(){return{visibilityBlocks:this.visibilityBlocks, nodeVisible:this.nodeVisible}}, d.prototype.copyVisibilityInfo = function(a){a && (this.visibilityBlocks = a.visibilityBlocks, this.nodeVisible = a.nodeVisible)}, b.exports = d}, {}], 71:[function(a, b, c){var d = a("./node"), e = a("./color"), f = a("./dimension"), g = function(a, b, c){this.op = a.trim(), this.operands = b, this.isSpaced = c}; g.prototype = new d, g.prototype.type = "Operation", g.prototype.accept = function(a){this.operands = a.visit(this.operands)}, g.prototype.eval = function(a){var b = this.operands[0].eval(a), c = this.operands[1].eval(a); if (a.isMathOn()){if (b instanceof f && c instanceof e && (b = b.toColor()), c instanceof f && b instanceof e && (c = c.toColor()), !b.operate)throw{type:"Operation", message:"Operation on an invalid type"}; return b.operate(a, this.op, c)}return new g(this.op, [b, c], this.isSpaced)}, g.prototype.genCSS = function(a, b){this.operands[0].genCSS(a, b), this.isSpaced && b.add(" "), b.add(this.op), this.isSpaced && b.add(" "), this.operands[1].genCSS(a, b)}, b.exports = g}, {"./color":50, "./dimension":56, "./node":70}], 72:[function(a, b, c){var d = a("./node"), e = function(a){this.value = a}; e.prototype = new d, e.prototype.type = "Paren", e.prototype.genCSS = function(a, b){b.add("("), this.value.genCSS(a, b), b.add(")")}, e.prototype.eval = function(a){return new e(this.value.eval(a))}, b.exports = e}, {"./node":70}], 73:[function(a, b, c){var d = a("./node"), e = a("./js-eval-node"), f = a("./variable"), g = function(a, b, c, d, e){this.escaped = null == c || c, this.value = b || "", this.quote = a.charAt(0), this.index = d, this.currentFileInfo = e}; g.prototype = new e, g.prototype.type = "Quoted", g.prototype.genCSS = function(a, b){this.escaped || b.add(this.quote, this.currentFileInfo, this.index), b.add(this.value), this.escaped || b.add(this.quote)}, g.prototype.containsVariables = function(){return this.value.match(/(`([^`]+)`)|@\{([\w-]+)\}/)}, g.prototype.eval = function(a){function b(a, b, c){var d = a; do a = d, d = a.replace(b, c); while (a !== d); return d}var c = this, d = this.value, e = function(b, d){return String(c.evaluateJavaScript(d, a))}, h = function(b, d){var e = new f("@" + d, c.index, c.currentFileInfo).eval(a, !0); return e instanceof g?e.value:e.toCSS()}; return d = b(d, /`([^`]+)`/g, e), d = b(d, /@\{([\w-]+)\}/g, h), new g(this.quote + d + this.quote, d, this.escaped, this.index, this.currentFileInfo)}, g.prototype.compare = function(a){return"Quoted" !== a.type || this.escaped || a.escaped?a.toCSS && this.toCSS() === a.toCSS()?0:void 0:d.numericCompare(this.value, a.value)}, b.exports = g}, {"./js-eval-node":64, "./node":70, "./variable":82}], 74:[function(a, b, c){function d(a, b){var c, d = "", e = b.length, f = {add:function(a){d += a}}; for (c = 0; c < e; c++)b[c].eval(a).genCSS(a, f); return d}var e = a("./node"), f = a("./value"), g = a("./keyword"), h = function(a, b, c, d, g, h, i, j){this.name = a, this.value = b instanceof e?b:new f([b]), this.important = c?" " + c.trim():"", this.merge = d, this.index = g, this.currentFileInfo = h, this.inline = i || !1, this.variable = void 0 !== j?j:a.charAt && "@" === a.charAt(0), this.allowRoot = !0}; h.prototype = new e, h.prototype.type = "Rule", h.prototype.genCSS = function(a, b){b.add(this.name + (a.compress?":":": "), this.currentFileInfo, this.index); try{this.value.genCSS(a, b)} catch (c){throw c.index = this.index, c.filename = this.currentFileInfo.filename, c}b.add(this.important + (this.inline || a.lastRule && a.compress?"":";"), this.currentFileInfo, this.index)}, h.prototype.eval = function(a){var b, c = !1, e = this.name, f = this.variable; "string" != typeof e && (e = 1 === e.length && e[0]instanceof g?e[0].value:d(a, e), f = !1), "font" !== e || a.strictMath || (c = !0, a.strictMath = !0); try{if (a.importantScope.push({}), b = this.value.eval(a), !this.variable && "DetachedRuleset" === b.type)throw{message:"Rulesets cannot be evaluated on a property.", index:this.index, filename:this.currentFileInfo.filename}; var i = this.important, j = a.importantScope.pop(); return!i && j.important && (i = j.important), new h(e, b, i, this.merge, this.index, this.currentFileInfo, this.inline, f)} catch (k){throw"number" != typeof k.index && (k.index = this.index, k.filename = this.currentFileInfo.filename), k} finally{c && (a.strictMath = !1)}}, h.prototype.makeImportant = function(){return new h(this.name, this.value, "!important", this.merge, this.index, this.currentFileInfo, this.inline)}, b.exports = h}, {"./keyword":65, "./node":70, "./value":81}], 75:[function(a, b, c){var d = a("./node"), e = a("./variable"), f = function(a){this.variable = a, this.allowRoot = !0}; f.prototype = new d, f.prototype.type = "RulesetCall", f.prototype.eval = function(a){var b = new e(this.variable).eval(a); return b.callEval(a)}, b.exports = f}, {"./node":70, "./variable":82}], 76:[function(a, b, c){var d = a("./node"), e = a("./rule"), f = a("./selector"), g = a("./element"), h = a("./paren"), i = a("../contexts"), j = a("../functions/function-registry"), k = a("../functions/default"), l = a("./debug-info"), m = function(a, b, c, d){this.selectors = a, this.rules = b, this._lookups = {}, this.strictImports = c, this.copyVisibilityInfo(d), this.allowRoot = !0}; m.prototype = new d, m.prototype.type = "Ruleset", m.prototype.isRuleset = !0, m.prototype.isRulesetLike = !0, m.prototype.accept = function(a){this.paths?this.paths = a.visitArray(this.paths, !0):this.selectors && (this.selectors = a.visitArray(this.selectors)), this.rules && this.rules.length && (this.rules = a.visitArray(this.rules))}, m.prototype.eval = function(a){var b, c, d, f, g = this.selectors, h = !1; if (g && (c = g.length)){for (b = [], k.error({type:"Syntax", message:"it is currently only allowed in parametric mixin guards,"}), f = 0; f < c; f++)d = g[f].eval(a), b.push(d), d.evaldCondition && (h = !0); k.reset()} else h = !0; var i, l, n = this.rules?this.rules.slice(0):null, o = new m(b, n, this.strictImports, this.visibilityInfo()); o.originalRuleset = this, o.root = this.root, o.firstRoot = this.firstRoot, o.allowImports = this.allowImports, this.debugInfo && (o.debugInfo = this.debugInfo), h || (n.length = 0), o.functionRegistry = function(a){for (var b, c = 0, d = a.length; c !== d; ++c)if (b = a[c].functionRegistry)return b; return j}(a.frames).inherit(); var p = a.frames; p.unshift(o); var q = a.selectors; q || (a.selectors = q = []), q.unshift(this.selectors), (o.root || o.allowImports || !o.strictImports) && o.evalImports(a); var r = o.rules, s = r?r.length:0; for (f = 0; f < s; f++)r[f].evalFirst && (r[f] = r[f].eval(a)); var t = a.mediaBlocks && a.mediaBlocks.length || 0; for (f = 0; f < s; f++)"MixinCall" === r[f].type?(n = r[f].eval(a).filter(function(a){return!(a instanceof e && a.variable) || !o.variable(a.name)}), r.splice.apply(r, [f, 1].concat(n)), s += n.length - 1, f += n.length - 1, o.resetCache()):"RulesetCall" === r[f].type && (n = r[f].eval(a).rules.filter(function(a){return!(a instanceof e && a.variable)}), r.splice.apply(r, [f, 1].concat(n)), s += n.length - 1, f += n.length - 1, o.resetCache()); for (f = 0; f < r.length; f++)i = r[f], i.evalFirst || (r[f] = i = i.eval?i.eval(a):i); for (f = 0; f < r.length; f++)if (i = r[f], i instanceof m && i.selectors && 1 === i.selectors.length && i.selectors[0].isJustParentSelector()){r.splice(f--, 1); for (var u = 0; u < i.rules.length; u++)l = i.rules[u], l.copyVisibilityInfo(i.visibilityInfo()), l instanceof e && l.variable || r.splice(++f, 0, l)}if (p.shift(), q.shift(), a.mediaBlocks)for (f = t; f < a.mediaBlocks.length; f++)a.mediaBlocks[f].bubbleSelectors(b); return o}, m.prototype.evalImports = function(a){var b, c, d = this.rules; if (d)for (b = 0; b < d.length; b++)"Import" === d[b].type && (c = d[b].eval(a), c && (c.length || 0 === c.length)?(d.splice.apply(d, [b, 1].concat(c)), b += c.length - 1):d.splice(b, 1, c), this.resetCache())}, m.prototype.makeImportant = function(){var a = new m(this.selectors, this.rules.map(function(a){return a.makeImportant?a.makeImportant():a}), this.strictImports, this.visibilityInfo()); return a}, m.prototype.matchArgs = function(a){return!a || 0 === a.length}, m.prototype.matchCondition = function(a, b){var c = this.selectors[this.selectors.length - 1]; return!!c.evaldCondition && !(c.condition && !c.condition.eval(new i.Eval(b, b.frames)))}, m.prototype.resetCache = function(){this._rulesets = null, this._variables = null, this._lookups = {}}, m.prototype.variables = function(){return this._variables || (this._variables = this.rules?this.rules.reduce(function(a, b){if (b instanceof e && b.variable === !0 && (a[b.name] = b), "Import" === b.type && b.root && b.root.variables){var c = b.root.variables(); for (var d in c)c.hasOwnProperty(d) && (a[d] = c[d])}return a}, {}):{}), this._variables}, m.prototype.variable = function(a){return this.variables()[a]}, m.prototype.rulesets = function(){if (!this.rules)return[]; var a, b, c = [], d = this.rules, e = d.length; for (a = 0; a < e; a++)b = d[a], b.isRuleset && c.push(b); return c}, m.prototype.prependRule = function(a){var b = this.rules; b?b.unshift(a):this.rules = [a]}, m.prototype.find = function(a, b, c){b = b || this; var d, e, g = [], h = a.toCSS(); return h in this._lookups?this._lookups[h]:(this.rulesets().forEach(function(h){if (h !== b)for (var i = 0; i < h.selectors.length; i++)if (d = a.match(h.selectors[i])){if (a.elements.length > d){if (!c || c(h)){e = h.find(new f(a.elements.slice(d)), b, c); for (var j = 0; j < e.length; ++j)e[j].path.push(h); Array.prototype.push.apply(g, e)}} else g.push({rule:h, path:[]}); break}}), this._lookups[h] = g, g)}, m.prototype.genCSS = function(a, b){function c(a){return"boolean" == typeof a.isRulesetLike?a.isRulesetLike:"function" == typeof a.isRulesetLike && a.isRulesetLike()}var d, e, f, g, h, i = [], j = []; a.tabLevel = a.tabLevel || 0, this.root || a.tabLevel++; var k, m = a.compress?"":Array(a.tabLevel + 1).join("  "), n = a.compress?"":Array(a.tabLevel).join("  "), o = 0, p = 0; for (d = 0; d < this.rules.length; d++)g = this.rules[d], "Comment" === g.type?(p === d && p++, j.push(g)):g.isCharset && g.isCharset()?(j.splice(o, 0, g), o++, p++):"Import" === g.type?(j.splice(p, 0, g), p++):j.push(g); if (j = i.concat(j), !this.root){f = l(a, this, n), f && (b.add(f), b.add(n)); var q, r = this.paths, s = r.length; for (k = a.compress?",":",\n" + n, d = 0; d < s; d++)if (h = r[d], q = h.length)for (d > 0 && b.add(k), a.firstSelector = !0, h[0].genCSS(a, b), a.firstSelector = !1, e = 1; e < q; e++)h[e].genCSS(a, b); b.add((a.compress?"{":" {\n") + m)}for (d = 0; d < j.length; d++){g = j[d], d + 1 === j.length && (a.lastRule = !0); var t = a.lastRule; c(g) && (a.lastRule = !1), g.genCSS?g.genCSS(a, b):g.value && b.add(g.value.toString()), a.lastRule = t, a.lastRule?a.lastRule = !1:b.add(a.compress?"":"\n" + m)}this.root || (b.add(a.compress?"}":"\n" + n + "}"), a.tabLevel--), b.isEmpty() || a.compress || !this.firstRoot || b.add("\n")}, m.prototype.joinSelectors = function(a, b, c){for (var d = 0; d < c.length; d++)this.joinSelector(a, b, c[d])}, m.prototype.joinSelector = function(a, b, c){function d(a, b){var c, d; if (0 === a.length)c = new h(a[0]); else{var e = []; for (d = 0; d < a.length; d++)e.push(new g(null, a[d], b.index, b.currentFileInfo)); c = new h(new f(e))}return c}function e(a, b){var c, d; return c = new g(null, a, b.index, b.currentFileInfo), d = new f([c])}function i(a, b, c, d){var e, f, h; if (e = [], a.length > 0?(e = a.slice(0), f = e.pop(), h = d.createDerived(f.elements.slice(0))):h = d.createDerived([]), b.length > 0){var i = c.combinator, j = b[0].elements[0]; i.emptyOrWhitespace && !j.combinator.emptyOrWhitespace && (i = j.combinator), h.elements.push(new g(i, j.value, c.index, c.currentFileInfo)), h.elements = h.elements.concat(b[0].elements.slice(1))}if (0 !== h.elements.length && e.push(h), b.length > 1){var k = b.slice(1); k = k.map(function(a){return a.createDerived(a.elements, [])}), e = e.concat(k)}return e}function j(a, b, c, d, e){var f; for (f = 0; f < a.length; f++){var g = i(a[f], b, c, d); e.push(g)}return e}function k(a, b){var c, d; if (0 !== a.length){if (0 === b.length)return void b.push([new f(a)]); for (c = 0; c < b.length; c++)d = b[c], d.length > 0?d[d.length - 1] = d[d.length - 1].createDerived(d[d.length - 1].elements.concat(a)):d.push(new f(a))}}function l(a, b, c){function f(a){var b; return"Paren" !== a.value.type?null:(b = a.value.value, "Selector" !== b.type?null:b)}var h, m, n, o, p, q, r, s, t, u, v = !1; for (o = [], p = [[]], h = 0; h < c.elements.length; h++)if (s = c.elements[h], "&" !== s.value){var w = f(s); if (null != w){k(o, p); var x, y = [], z = []; for (x = l(y, b, w), v = v || x, n = 0; n < y.length; n++){var A = e(d(y[n], s), s); j(p, [A], s, c, z)}p = z, o = []} else o.push(s)} else{for (v = !0, q = [], k(o, p), m = 0; m < p.length; m++)if (r = p[m], 0 === b.length)r.length > 0 && r[0].elements.push(new g(s.combinator, "", s.index, s.currentFileInfo)), q.push(r); else for (n = 0; n < b.length; n++){var B = i(r, b[n], s, c); q.push(B)}p = q, o = []}for (k(o, p), h = 0; h < p.length; h++)t = p[h].length, t > 0 && (a.push(p[h]), u = p[h][t - 1], p[h][t - 1] = u.createDerived(u.elements, c.extendList)); return v}function m(a, b){var c = b.createDerived(b.elements, b.extendList, b.evaldCondition); return c.copyVisibilityInfo(a), c}var n, o, p; if (o = [], p = l(o, b, c), !p)if (b.length > 0)for (o = [], n = 0; n < b.length; n++){var q = b[n].map(m.bind(this, c.visibilityInfo())); q.push(c), o.push(q)} else o = [[c]]; for (n = 0; n < o.length; n++)a.push(o[n])}, b.exports = m}, {"../contexts":11, "../functions/default":20, "../functions/function-registry":22, "./debug-info":54, "./element":58, "./node":70, "./paren":72, "./rule":74, "./selector":77}], 77:[function(a, b, c){var d = a("./node"), e = a("./element"), f = function(a, b, c, d, e, f){this.elements = a, this.extendList = b, this.condition = c, this.currentFileInfo = e || {}, c || (this.evaldCondition = !0), this.copyVisibilityInfo(f)}; f.prototype = new d, f.prototype.type = "Selector", f.prototype.accept = function(a){this.elements && (this.elements = a.visitArray(this.elements)), this.extendList && (this.extendList = a.visitArray(this.extendList)), this.condition && (this.condition = a.visit(this.condition))}, f.prototype.createDerived = function(a, b, c){var d = this.visibilityInfo(); c = null != c?c:this.evaldCondition; var e = new f(a, b || this.extendList, null, this.index, this.currentFileInfo, d); return e.evaldCondition = c, e.mediaEmpty = this.mediaEmpty, e}, f.prototype.createEmptySelectors = function(){var a = new e("", "&", this.index, this.currentFileInfo), b = [new f([a], null, null, this.index, this.currentFileInfo)]; return b[0].mediaEmpty = !0, b}, f.prototype.match = function(a){var b, c, d = this.elements, e = d.length; if (a.CacheElements(), b = a._elements.length, 0 === b || e < b)return 0; for (c = 0; c < b; c++)if (d[c].value !== a._elements[c])return 0; return b}, f.prototype.CacheElements = function(){if (!this._elements){var a = this.elements.map(function(a){return a.combinator.value + (a.value.value || a.value)}).join("").match(/[,&#\*\.\w-]([\w-]|(\\.))*/g); a?"&" === a[0] && a.shift():a = [], this._elements = a}}, f.prototype.isJustParentSelector = function(){return!this.mediaEmpty && 1 === this.elements.length && "&" === this.elements[0].value && (" " === this.elements[0].combinator.value || "" === this.elements[0].combinator.value)}, f.prototype.eval = function(a){var b = this.condition && this.condition.eval(a), c = this.elements, d = this.extendList; return c = c && c.map(function(b){return b.eval(a)}), d = d && d.map(function(b){return b.eval(a)}), this.createDerived(c, d, b)}, f.prototype.genCSS = function(a, b){var c, d; if (a && a.firstSelector || "" !== this.elements[0].combinator.value || b.add(" ", this.currentFileInfo, this.index), !this._css)for (c = 0; c < this.elements.length; c++)d = this.elements[c], d.genCSS(a, b)}, f.prototype.getIsOutput = function(){return this.evaldCondition}, b.exports = f}, {"./element":58, "./node":70}], 78:[function(a, b, c){var d = a("./node"), e = function(a){this.value = a}; e.prototype = new d, e.prototype.type = "UnicodeDescriptor", b.exports = e}, {"./node":70}], 79:[function(a, b, c){var d = a("./node"), e = a("../data/unit-conversions"), f = function(a, b, c){this.numerator = a?a.slice(0).sort():[], this.denominator = b?b.slice(0).sort():[], c?this.backupUnit = c:a && a.length && (this.backupUnit = a[0])}; f.prototype = new d, f.prototype.type = "Unit", f.prototype.clone = function(){return new f(this.numerator.slice(0), this.denominator.slice(0), this.backupUnit)}, f.prototype.genCSS = function(a, b){var c = a && a.strictUnits; 1 === this.numerator.length?b.add(this.numerator[0]):!c && this.backupUnit?b.add(this.backupUnit):!c && this.denominator.length && b.add(this.denominator[0])}, f.prototype.toString = function(){var a, b = this.numerator.join("*"); for (a = 0; a < this.denominator.length; a++)b += "/" + this.denominator[a]; return b}, f.prototype.compare = function(a){return this.is(a.toString())?0:void 0}, f.prototype.is = function(a){return this.toString().toUpperCase() === a.toUpperCase()}, f.prototype.isLength = function(){return Boolean(this.toCSS().match(/px|em|%|in|cm|mm|pc|pt|ex/))}, f.prototype.isEmpty = function(){return 0 === this.numerator.length && 0 === this.denominator.length}, f.prototype.isSingular = function(){return this.numerator.length <= 1 && 0 === this.denominator.length}, f.prototype.map = function(a){var b; for (b = 0; b < this.numerator.length; b++)this.numerator[b] = a(this.numerator[b], !1); for (b = 0; b < this.denominator.length; b++)this.denominator[b] = a(this.denominator[b], !0)}, f.prototype.usedUnits = function(){var a, b, c, d = {}; b = function(b){return a.hasOwnProperty(b) && !d[c] && (d[c] = b), b}; for (c in e)e.hasOwnProperty(c) && (a = e[c], this.map(b)); return d}, f.prototype.cancel = function(){var a, b, c = {}; for (b = 0; b < this.numerator.length; b++)a = this.numerator[b], c[a] = (c[a] || 0) + 1; for (b = 0; b < this.denominator.length; b++)a = this.denominator[b], c[a] = (c[a] || 0) - 1; this.numerator = [], this.denominator = []; for (a in c)if (c.hasOwnProperty(a)){var d = c[a]; if (d > 0)for (b = 0; b < d; b++)this.numerator.push(a); else if (d < 0)for (b = 0; b < - d; b++)this.denominator.push(a)}this.numerator.sort(), this.denominator.sort()}, b.exports = f}, {"../data/unit-conversions":14, "./node":70}], 80:[function(a, b, c){var d = a("./node"), e = function(a, b, c, d){this.value = a, this.currentFileInfo = c, this.index = b, this.isEvald = d}; e.prototype = new d, e.prototype.type = "Url", e.prototype.accept = function(a){this.value = a.visit(this.value)}, e.prototype.genCSS = function(a, b){b.add("url("), this.value.genCSS(a, b), b.add(")")}, e.prototype.eval = function(a){var b, c = this.value.eval(a); if (!this.isEvald && (b = this.currentFileInfo && this.currentFileInfo.rootpath, b && "string" == typeof c.value && a.isPathRelative(c.value) && (c.quote || (b = b.replace(/[\(\)'"\s]/g, function(a){return"\\" + a})), c.value = b + c.value), c.value = a.normalizePath(c.value), a.urlArgs && !c.value.match(/^\s*data:/))){var d = c.value.indexOf("?") === - 1?"?":"&", f = d + a.urlArgs; c.value.indexOf("#") !== - 1?c.value = c.value.replace("#", f + "#"):c.value += f}return new e(c, this.index, this.currentFileInfo, (!0))}, b.exports = e}, {"./node":70}], 81:[function(a, b, c){var d = a("./node"), e = function(a){if (this.value = a, !a)throw new Error("Value requires an array argument")}; e.prototype = new d, e.prototype.type = "Value", e.prototype.accept = function(a){this.value && (this.value = a.visitArray(this.value))}, e.prototype.eval = function(a){return 1 === this.value.length?this.value[0].eval(a):new e(this.value.map(function(b){return b.eval(a)}))}, e.prototype.genCSS = function(a, b){var c; for (c = 0; c < this.value.length; c++)this.value[c].genCSS(a, b), c + 1 < this.value.length && b.add(a && a.compress?",":", ")}, b.exports = e}, {"./node":70}], 82:[function(a, b, c){var d = a("./node"), e = function(a, b, c){this.name = a, this.index = b, this.currentFileInfo = c || {}}; e.prototype = new d, e.prototype.type = "Variable", e.prototype.eval = function(a){var b, c = this.name; if (0 === c.indexOf("@@") && (c = "@" + new e(c.slice(1), this.index, this.currentFileInfo).eval(a).value), this.evaluating)throw{type:"Name", message:"Recursive variable definition for " + c, filename:this.currentFileInfo.filename, index:this.index}; if (this.evaluating = !0, b = this.find(a.frames, function(b){var d = b.variable(c); if (d){if (d.important){var e = a.importantScope[a.importantScope.length - 1]; e.important = d.important}return d.value.eval(a)}}))return this.evaluating = !1, b; throw{type:"Name", message:"variable " + c + " is undefined", filename:this.currentFileInfo.filename, index:this.index}}, e.prototype.find = function(a, b){for (var c, d = 0; d < a.length; d++)if (c = b.call(a, a[d]))return c; return null}, b.exports = e}, {"./node":70}], 83:[function(a, b, c){b.exports = {getLocation:function(a, b){for (var c = a + 1, d = null, e = - 1; --c >= 0 && "\n" !== b.charAt(c); )e++; return"number" == typeof a && (d = (b.slice(0, a).match(/\n/g) || "").length), {line:d, column:e}}}}, {}], 84:[function(a, b, c){var d = a("../tree"), e = a("./visitor"), f = a("../logger"), g = function(){this._visitor = new e(this), this.contexts = [], this.allExtendsStack = [[]]}; g.prototype = {run:function(a){return a = this._visitor.visit(a), a.allExtends = this.allExtendsStack[0], a}, visitRule:function(a, b){b.visitDeeper = !1}, visitMixinDefinition:function(a, b){b.visitDeeper = !1}, visitRuleset:function(a, b){if (!a.root){var c, e, f, g, h = [], i = a.rules, j = i?i.length:0; for (c = 0; c < j; c++)a.rules[c]instanceof d.Extend && (h.push(i[c]), a.extendOnEveryPath = !0); var k = a.paths; for (c = 0; c < k.length; c++){var l = k[c], m = l[l.length - 1], n = m.extendList; for (g = n?n.slice(0).concat(h):h, g && (g = g.map(function(a){return a.clone()})), e = 0; e < g.length; e++)this.foundExtends = !0, f = g[e], f.findSelfSelectors(l), f.ruleset = a, 0 === e && (f.firstExtendOnThisSelectorPath = !0), this.allExtendsStack[this.allExtendsStack.length - 1].push(f)}this.contexts.push(a.selectors)}}, visitRulesetOut:function(a){a.root || (this.contexts.length = this.contexts.length - 1)}, visitMedia:function(a, b){a.allExtends = [], this.allExtendsStack.push(a.allExtends)}, visitMediaOut:function(a){this.allExtendsStack.length = this.allExtendsStack.length - 1}, visitDirective:function(a, b){a.allExtends = [], this.allExtendsStack.push(a.allExtends)}, visitDirectiveOut:function(a){this.allExtendsStack.length = this.allExtendsStack.length - 1}}; var h = function(){this._visitor = new e(this)}; h.prototype = {run:function(a){var b = new g; if (this.extendIndices = {}, b.run(a), !b.foundExtends)return a; a.allExtends = a.allExtends.concat(this.doExtendChaining(a.allExtends, a.allExtends)), this.allExtendsStack = [a.allExtends]; var c = this._visitor.visit(a); return this.checkExtendsForNonMatched(a.allExtends), c}, checkExtendsForNonMatched:function(a){var b = this.extendIndices; a.filter(function(a){return!a.hasFoundMatches && 1 == a.parent_ids.length}).forEach(function(a){var c = "_unknown_"; try{c = a.selector.toCSS({})} catch (d){}b[a.index + " " + c] || (b[a.index + " " + c] = !0, f.warn("extend '" + c + "' has no matches"))})}, doExtendChaining:function(a, b, c){var e, f, g, h, i, j, k, l, m = [], n = this; for (c = c || 0, e = 0; e < a.length; e++)for (f = 0; f < b.length; f++)j = a[e], k = b[f], j.parent_ids.indexOf(k.object_id) >= 0 || (i = [k.selfSelectors[0]], g = n.findMatch(j, i), g.length && (j.hasFoundMatches = !0, j.selfSelectors.forEach(function(a){var b = k.visibilityInfo(); h = n.extendSelector(g, i, a, j.isVisible()), l = new d.Extend(k.selector, k.option, 0, k.currentFileInfo, b), l.selfSelectors = h, h[h.length - 1].extendList = [l], m.push(l), l.ruleset = k.ruleset, l.parent_ids = l.parent_ids.concat(k.parent_ids, j.parent_ids), k.firstExtendOnThisSelectorPath && (l.firstExtendOnThisSelectorPath = !0, k.ruleset.paths.push(h))}))); if (m.length){if (this.extendChainCount++, c > 100){var o = "{unable to calculate}", p = "{unable to calculate}"; try{o = m[0].selfSelectors[0].toCSS(), p = m[0].selector.toCSS()} catch (q){}throw{message:"extend circular reference detected. One of the circular extends is currently:" + o + ":extend(" + p + ")"}}return m.concat(n.doExtendChaining(m, b, c + 1))}return m}, visitRule:function(a, b){b.visitDeeper = !1}, visitMixinDefinition:function(a, b){b.visitDeeper = !1}, visitSelector:function(a, b){b.visitDeeper = !1}, visitRuleset:function(a, b){if (!a.root){var c, d, e, f, g = this.allExtendsStack[this.allExtendsStack.length - 1], h = [], i = this; for (e = 0; e < g.length; e++)for (d = 0; d < a.paths.length; d++)if (f = a.paths[d], !a.extendOnEveryPath){var j = f[f.length - 1].extendList; j && j.length || (c = this.findMatch(g[e], f), c.length && (g[e].hasFoundMatches = !0, g[e].selfSelectors.forEach(function(a){var b; b = i.extendSelector(c, f, a, g[e].isVisible()), h.push(b)})))}a.paths = a.paths.concat(h)}}, findMatch:function(a, b){var c, d, e, f, g, h, i, j = this, k = a.selector.elements, l = [], m = []; for (c = 0; c < b.length; c++)for (d = b[c], e = 0; e < d.elements.length; e++)for (f = d.elements[e], (a.allowBefore || 0 === c && 0 === e) && l.push({pathIndex:c, index:e, matched:0, initialCombinator:f.combinator}), h = 0; h < l.length; h++)i = l[h], g = f.combinator.value, "" === g && 0 === e && (g = " "), !j.isElementValuesEqual(k[i.matched].value, f.value) || i.matched > 0 && k[i.matched].combinator.value !== g?i = null:i.matched++, i && (i.finished = i.matched === k.length, i.finished && !a.allowAfter && (e + 1 < d.elements.length || c + 1 < b.length) && (i = null)), i?i.finished && (i.length = k.length, i.endPathIndex = c, i.endPathElementIndex = e + 1, l.length = 0, m.push(i)):(l.splice(h, 1), h--); return m}, isElementValuesEqual:function(a, b){if ("string" == typeof a || "string" == typeof b)return a === b; if (a instanceof d.Attribute)return a.op === b.op && a.key === b.key && (a.value && b.value?(a = a.value.value || a.value, b = b.value.value || b.value, a === b):!a.value && !b.value); if (a = a.value, b = b.value, a instanceof d.Selector){if (!(b instanceof d.Selector) || a.elements.length !== b.elements.length)return!1; for (var c = 0; c < a.elements.length; c++){if (a.elements[c].combinator.value !== b.elements[c].combinator.value && (0 !== c || (a.elements[c].combinator.value || " ") !== (b.elements[c].combinator.value || " ")))return!1; if (!this.isElementValuesEqual(a.elements[c].value, b.elements[c].value))return!1}return!0}return!1}, extendSelector:function(a, b, c, e){var f, g, h, i, j, k = 0, l = 0, m = []; for (f = 0; f < a.length; f++)i = a[f], g = b[i.pathIndex], h = new d.Element(i.initialCombinator, c.elements[0].value, c.elements[0].index, c.elements[0].currentFileInfo), i.pathIndex > k && l > 0 && (m[m.length - 1].elements = m[m.length - 1].elements.concat(b[k].elements.slice(l)), l = 0, k++), j = g.elements.slice(l, i.index).concat([h]).concat(c.elements.slice(1)), k === i.pathIndex && f > 0?m[m.length - 1].elements = m[m.length - 1].elements.concat(j):(m = m.concat(b.slice(k, i.pathIndex)), m.push(new d.Selector(j))), k = i.endPathIndex, l = i.endPathElementIndex, l >= b[k].elements.length && (l = 0, k++); return k < b.length && l > 0 && (m[m.length - 1].elements = m[m.length - 1].elements.concat(b[k].elements.slice(l)), k++), m = m.concat(b.slice(k, b.length)), m = m.map(function(a){var b = a.createDerived(a.elements); return e?b.ensureVisibility():b.ensureInvisibility(), b})}, visitMedia:function(a, b){var c = a.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length - 1]); c = c.concat(this.doExtendChaining(c, a.allExtends)), this.allExtendsStack.push(c)}, visitMediaOut:function(a){var b = this.allExtendsStack.length - 1; this.allExtendsStack.length = b}, visitDirective:function(a, b){var c = a.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length - 1]); c = c.concat(this.doExtendChaining(c, a.allExtends)), this.allExtendsStack.push(c)}, visitDirectiveOut:function(a){var b = this.allExtendsStack.length - 1; this.allExtendsStack.length = b}}, b.exports = h}, {"../logger":33, "../tree":62, "./visitor":91}], 85:[function(a, b, c){function d(a){this.imports = [], this.variableImports = [], this._onSequencerEmpty = a, this._currentDepth = 0}d.prototype.addImport = function(a){var b = this, c = {callback:a, args:null, isReady:!1}; return this.imports.push(c), function(){c.args = Array.prototype.slice.call(arguments, 0), c.isReady = !0, b.tryRun()}}, d.prototype.addVariableImport = function(a){this.variableImports.push(a)}, d.prototype.tryRun = function(){this._currentDepth++; try{for (; ; ){for (; this.imports.length > 0; ){var a = this.imports[0]; if (!a.isReady)return;
        this.imports = this.imports.slice(1), a.callback.apply(null, a.args)}if (0 === this.variableImports.length)break; var b = this.variableImports[0]; this.variableImports = this.variableImports.slice(1), b()}} finally{this._currentDepth--}0 === this._currentDepth && this._onSequencerEmpty && this._onSequencerEmpty()}, b.exports = d}, {}], 86:[function(a, b, c){var d = a("../contexts"), e = a("./visitor"), f = a("./import-sequencer"), g = function(a, b){this._visitor = new e(this), this._importer = a, this._finish = b, this.context = new d.Eval, this.importCount = 0, this.onceFileDetectionMap = {}, this.recursionDetector = {}, this._sequencer = new f(this._onSequencerEmpty.bind(this))}; g.prototype = {isReplacing:!1, run:function(a){try{this._visitor.visit(a)} catch (b){this.error = b}this.isFinished = !0, this._sequencer.tryRun()}, _onSequencerEmpty:function(){this.isFinished && this._finish(this.error)}, visitImport:function(a, b){var c = a.options.inline; if (!a.css || c){var e = new d.Eval(this.context, this.context.frames.slice(0)), f = e.frames[0]; this.importCount++, a.isVariableImport()?this._sequencer.addVariableImport(this.processImportNode.bind(this, a, e, f)):this.processImportNode(a, e, f)}b.visitDeeper = !1}, processImportNode:function(a, b, c){var d, e = a.options.inline; try{d = a.evalForImport(b)} catch (f){f.filename || (f.index = a.index, f.filename = a.currentFileInfo.filename), a.css = !0, a.error = f}if (!d || d.css && !e)this.importCount--, this.isFinished && this._sequencer.tryRun(); else{d.options.multiple && (b.importMultiple = !0); for (var g = void 0 === d.css, h = 0; h < c.rules.length; h++)if (c.rules[h] === a){c.rules[h] = d; break}var i = this.onImported.bind(this, d, b), j = this._sequencer.addImport(i); this._importer.push(d.getPath(), g, d.currentFileInfo, d.options, j)}}, onImported:function(a, b, c, d, e, f){c && (c.filename || (c.index = a.index, c.filename = a.currentFileInfo.filename), this.error = c); var g = this, h = a.options.inline, i = a.options.plugin, j = a.options.optional, k = e || f in g.recursionDetector; if (b.importMultiple || (a.skip = !!k || function(){return f in g.onceFileDetectionMap || (g.onceFileDetectionMap[f] = !0, !1)}), !f && j && (a.skip = !0), d && (a.root = d, a.importedFilename = f, !h && !i && (b.importMultiple || !k))){g.recursionDetector[f] = !0; var l = this.context; this.context = b; try{this._visitor.visit(d)} catch (c){this.error = c}this.context = l}g.importCount--, g.isFinished && g._sequencer.tryRun()}, visitRule:function(a, b){"DetachedRuleset" === a.value.type?this.context.frames.unshift(a):b.visitDeeper = !1}, visitRuleOut:function(a){"DetachedRuleset" === a.value.type && this.context.frames.shift()}, visitDirective:function(a, b){this.context.frames.unshift(a)}, visitDirectiveOut:function(a){this.context.frames.shift()}, visitMixinDefinition:function(a, b){this.context.frames.unshift(a)}, visitMixinDefinitionOut:function(a){this.context.frames.shift()}, visitRuleset:function(a, b){this.context.frames.unshift(a)}, visitRulesetOut:function(a){this.context.frames.shift()}, visitMedia:function(a, b){this.context.frames.unshift(a.rules[0])}, visitMediaOut:function(a){this.context.frames.shift()}}, b.exports = g}, {"../contexts":11, "./import-sequencer":85, "./visitor":91}], 87:[function(a, b, c){var d = {Visitor:a("./visitor"), ImportVisitor:a("./import-visitor"), MarkVisibleSelectorsVisitor:a("./set-tree-visibility-visitor"), ExtendVisitor:a("./extend-visitor"), JoinSelectorVisitor:a("./join-selector-visitor"), ToCSSVisitor:a("./to-css-visitor")}; b.exports = d}, {"./extend-visitor":84, "./import-visitor":86, "./join-selector-visitor":88, "./set-tree-visibility-visitor":89, "./to-css-visitor":90, "./visitor":91}], 88:[function(a, b, c){var d = a("./visitor"), e = function(){this.contexts = [[]], this._visitor = new d(this)}; e.prototype = {run:function(a){return this._visitor.visit(a)}, visitRule:function(a, b){b.visitDeeper = !1}, visitMixinDefinition:function(a, b){b.visitDeeper = !1}, visitRuleset:function(a, b){var c, d = this.contexts[this.contexts.length - 1], e = []; this.contexts.push(e), a.root || (c = a.selectors, c && (c = c.filter(function(a){return a.getIsOutput()}), a.selectors = c.length?c:c = null, c && a.joinSelectors(e, d, c)), c || (a.rules = null), a.paths = e)}, visitRulesetOut:function(a){this.contexts.length = this.contexts.length - 1}, visitMedia:function(a, b){var c = this.contexts[this.contexts.length - 1]; a.rules[0].root = 0 === c.length || c[0].multiMedia}, visitDirective:function(a, b){var c = this.contexts[this.contexts.length - 1]; a.rules && a.rules.length && (a.rules[0].root = a.isRooted || 0 === c.length || null)}}, b.exports = e}, {"./visitor":91}], 89:[function(a, b, c){var d = function(a){this.visible = a}; d.prototype.run = function(a){this.visit(a)}, d.prototype.visitArray = function(a){if (!a)return a; var b, c = a.length; for (b = 0; b < c; b++)this.visit(a[b]); return a}, d.prototype.visit = function(a){return a?a.constructor === Array?this.visitArray(a):!a.blocksVisibility || a.blocksVisibility()?a:(this.visible?a.ensureVisibility():a.ensureInvisibility(), a.accept(this), a):a}, b.exports = d}, {}], 90:[function(a, b, c){var d = a("../tree"), e = a("./visitor"), f = function(a){this._visitor = new e(this), this._context = a}; f.prototype = {containsSilentNonBlockedChild:function(a){var b; if (null == a)return!1; for (var c = 0; c < a.length; c++)if (b = a[c], b.isSilent && b.isSilent(this._context) && !b.blocksVisibility())return!0; return!1}, keepOnlyVisibleChilds:function(a){null != a && null != a.rules && (a.rules = a.rules.filter(function(a){return a.isVisible()}))}, isEmpty:function(a){return null == a || null == a.rules || 0 === a.rules.length}, hasVisibleSelector:function(a){return null != a && null != a.paths && a.paths.length > 0}, resolveVisibility:function(a, b){if (!a.blocksVisibility()){if (this.isEmpty(a) && !this.containsSilentNonBlockedChild(b))return; return a}var c = a.rules[0]; if (this.keepOnlyVisibleChilds(c), !this.isEmpty(c))return a.ensureVisibility(), a.removeVisibilityBlock(), a}, isVisibleRuleset:function(a){return!!a.firstRoot || !this.isEmpty(a) && !(!a.root && !this.hasVisibleSelector(a))}}; var g = function(a){this._visitor = new e(this), this._context = a, this.utils = new f(a)}; g.prototype = {isReplacing:!0, run:function(a){return this._visitor.visit(a)}, visitRule:function(a, b){if (!a.blocksVisibility() && !a.variable)return a}, visitMixinDefinition:function(a, b){a.frames = []}, visitExtend:function(a, b){}, visitComment:function(a, b){if (!a.blocksVisibility() && !a.isSilent(this._context))return a}, visitMedia:function(a, b){var c = a.rules[0].rules; return a.accept(this._visitor), b.visitDeeper = !1, this.utils.resolveVisibility(a, c)}, visitImport:function(a, b){if (!a.blocksVisibility())return a}, visitDirective:function(a, b){return a.rules && a.rules.length?this.visitDirectiveWithBody(a, b):this.visitDirectiveWithoutBody(a, b)}, visitDirectiveWithBody:function(a, b){function c(a){var b = a.rules; return 1 === b.length && (!b[0].paths || 0 === b[0].paths.length)}function d(a){var b = a.rules; return c(a)?b[0].rules:b}var e = d(a); return a.accept(this._visitor), b.visitDeeper = !1, this.utils.isEmpty(a) || this._mergeRules(a.rules[0].rules), this.utils.resolveVisibility(a, e)}, visitDirectiveWithoutBody:function(a, b){if (!a.blocksVisibility()){if ("@charset" === a.name){if (this.charset){if (a.debugInfo){var c = new d.Comment("/* " + a.toCSS(this._context).replace(/\n/g, "") + " */\n"); return c.debugInfo = a.debugInfo, this._visitor.visit(c)}return}this.charset = !0}return a}}, checkValidNodes:function(a, b){if (a)for (var c = 0; c < a.length; c++){var e = a[c]; if (b && e instanceof d.Rule && !e.variable)throw{message:"Properties must be inside selector blocks. They cannot be in the root", index:e.index, filename:e.currentFileInfo && e.currentFileInfo.filename}; if (e instanceof d.Call)throw{message:"Function '" + e.name + "' is undefined", index:e.index, filename:e.currentFileInfo && e.currentFileInfo.filename}; if (e.type && !e.allowRoot)throw{message:e.type + " node returned by a function is not valid here", index:e.index, filename:e.currentFileInfo && e.currentFileInfo.filename}}}, visitRuleset:function(a, b){var c, d = []; if (this.checkValidNodes(a.rules, a.firstRoot), a.root)a.accept(this._visitor), b.visitDeeper = !1; else{this._compileRulesetPaths(a); for (var e = a.rules, f = e?e.length:0, g = 0; g < f; )c = e[g], c && c.rules?(d.push(this._visitor.visit(c)), e.splice(g, 1), f--):g++; f > 0?a.accept(this._visitor):a.rules = null, b.visitDeeper = !1}return a.rules && (this._mergeRules(a.rules), this._removeDuplicateRules(a.rules)), this.utils.isVisibleRuleset(a) && (a.ensureVisibility(), d.splice(0, 0, a)), 1 === d.length?d[0]:d}, _compileRulesetPaths:function(a){a.paths && (a.paths = a.paths.filter(function(a){var b; for (" " === a[0].elements[0].combinator.value && (a[0].elements[0].combinator = new d.Combinator("")), b = 0; b < a.length; b++)if (a[b].isVisible() && a[b].getIsOutput())return!0; return!1}))}, _removeDuplicateRules:function(a){if (a){var b, c, e, f = {}; for (e = a.length - 1; e >= 0; e--)if (c = a[e], c instanceof d.Rule)if (f[c.name]){b = f[c.name], b instanceof d.Rule && (b = f[c.name] = [f[c.name].toCSS(this._context)]); var g = c.toCSS(this._context); b.indexOf(g) !== - 1?a.splice(e, 1):b.push(g)} else f[c.name] = c}}, _mergeRules:function(a){if (a){for (var b, c, e, f = {}, g = 0; g < a.length; g++)c = a[g], c instanceof d.Rule && c.merge && (e = [c.name, c.important?"!":""].join(","), f[e]?a.splice(g--, 1):f[e] = [], f[e].push(c)); Object.keys(f).map(function(a){function e(a){return new d.Expression(a.map(function(a){return a.value}))}function g(a){return new d.Value(a.map(function(a){return a}))}if (b = f[a], b.length > 1){c = b[0]; var h = [], i = []; b.map(function(a){"+" === a.merge && (i.length > 0 && h.push(e(i)), i = []), i.push(a)}), h.push(e(i)), c.value = g(h)}})}}, visitAnonymous:function(a, b){if (!a.blocksVisibility())return a.accept(this._visitor), a}}, b.exports = g}, {"../tree":62, "./visitor":91}], 91:[function(a, b, c){function d(a){return a}function e(a, b){var c, d; for (c in a)if (a.hasOwnProperty(c))switch (d = a[c], typeof d){case"function":d.prototype && d.prototype.type && (d.prototype.typeIndex = b++); break; case"object":b = e(d, b)}return b}var f = a("../tree"), g = {visitDeeper:!0}, h = !1, i = function(a){this._implementation = a, this._visitFnCache = [], h || (e(f, 1), h = !0)}; i.prototype = {visit:function(a){if (!a)return a; var b = a.typeIndex; if (!b)return a; var c, e = this._visitFnCache, f = this._implementation, h = b << 1, i = 1 | h, j = e[h], k = e[i], l = g; if (l.visitDeeper = !0, j || (c = "visit" + a.type, j = f[c] || d, k = f[c + "Out"] || d, e[h] = j, e[i] = k), j !== d){var m = j.call(f, a, l); f.isReplacing && (a = m)}return l.visitDeeper && a && a.accept && a.accept(this), k != d && k.call(f, a), a}, visitArray:function(a, b){if (!a)return a; var c, d = a.length; if (b || !this._implementation.isReplacing){for (c = 0; c < d; c++)this.visit(a[c]); return a}var e = []; for (c = 0; c < d; c++){var f = this.visit(a[c]); void 0 !== f && (f.splice?f.length && this.flatten(f, e):e.push(f))}return e}, flatten:function(a, b){b || (b = []); var c, d, e, f, g, h; for (d = 0, c = a.length; d < c; d++)if (e = a[d], void 0 !== e)if (e.splice)for (g = 0, f = e.length; g < f; g++)h = e[g], void 0 !== h && (h.splice?h.length && this.flatten(h, b):b.push(h)); else b.push(e); return b}}, b.exports = i}, {"../tree":62}], 92:[function(a, b, c){"use strict"; function d(){if (i.length)throw i.shift()}function e(a){var b; b = h.length?h.pop():new f, b.task = a, g(b)}function f(){this.task = null}var g = a("./raw"), h = [], i = [], j = g.makeRequestCallFromTimer(d); b.exports = e, f.prototype.call = function(){try{this.task.call()} catch (a){e.onerror?e.onerror(a):(i.push(a), j())} finally{this.task = null, h[h.length] = this}}}, {"./raw":93}], 93:[function(a, b, c){(function(a){"use strict"; function c(a){h.length || (g(), i = !0), h[h.length] = a}function d(){for (; j < h.length; ){var a = j; if (j += 1, h[a].call(), j > k){for (var b = 0, c = h.length - j; b < c; b++)h[b] = h[b + j]; h.length -= j, j = 0}}h.length = 0, j = 0, i = !1}function e(a){var b = 1, c = new l(a), d = document.createTextNode(""); return c.observe(d, {characterData:!0}), function(){b = - b, d.data = b}}function f(a){return function(){function b(){clearTimeout(c), clearInterval(d), a()}var c = setTimeout(b, 0), d = setInterval(b, 50)}}b.exports = c; var g, h = [], i = !1, j = 0, k = 1024, l = a.MutationObserver || a.WebKitMutationObserver; g = "function" == typeof l?e(d):f(d), c.requestFlush = g, c.makeRequestCallFromTimer = f}).call(this, "undefined" != typeof global?global:"undefined" != typeof self?self:"undefined" != typeof window?window:{})}, {}], 94:[function(a, b, c){"use strict"; function d(){}function e(a){try{return a.then} catch (b){return r = b, s}}function f(a, b){try{return a(b)} catch (c){return r = c, s}}function g(a, b, c){try{a(b, c)} catch (d){return r = d, s}}function h(a){if ("object" != typeof this)throw new TypeError("Promises must be constructed via new"); if ("function" != typeof a)throw new TypeError("not a function"); this._45 = 0, this._81 = 0, this._65 = null, this._54 = null, a !== d && p(a, this)}function i(a, b, c){return new a.constructor(function(e, f){var g = new h(d); g.then(e, f), j(a, new o(b, c, g))})}function j(a, b){for (; 3 === a._81; )a = a._65; return h._10 && h._10(a), 0 === a._81?0 === a._45?(a._45 = 1, void(a._54 = b)):1 === a._45?(a._45 = 2, void(a._54 = [a._54, b])):void a._54.push(b):void k(a, b)}function k(a, b){q(function(){var c = 1 === a._81?b.onFulfilled:b.onRejected; if (null === c)return void(1 === a._81?l(b.promise, a._65):m(b.promise, a._65)); var d = f(c, a._65); d === s?m(b.promise, r):l(b.promise, d)})}function l(a, b){if (b === a)return m(a, new TypeError("A promise cannot be resolved with itself.")); if (b && ("object" == typeof b || "function" == typeof b)){var c = e(b); if (c === s)return m(a, r); if (c === a.then && b instanceof h)return a._81 = 3, a._65 = b, void n(a); if ("function" == typeof c)return void p(c.bind(b), a)}a._81 = 1, a._65 = b, n(a)}function m(a, b){a._81 = 2, a._65 = b, h._97 && h._97(a, b), n(a)}function n(a){if (1 === a._45 && (j(a, a._54), a._54 = null), 2 === a._45){for (var b = 0; b < a._54.length; b++)j(a, a._54[b]); a._54 = null}}function o(a, b, c){this.onFulfilled = "function" == typeof a?a:null, this.onRejected = "function" == typeof b?b:null, this.promise = c}function p(a, b){var c = !1, d = g(a, function(a){c || (c = !0, l(b, a))}, function(a){c || (c = !0, m(b, a))}); c || d !== s || (c = !0, m(b, r))}var q = a("asap/raw"), r = null, s = {}; b.exports = h, h._10 = null, h._97 = null, h._61 = d, h.prototype.then = function(a, b){if (this.constructor !== h)return i(this, a, b); var c = new h(d); return j(this, new o(a, b, c)), c}}, {"asap/raw":93}], 95:[function(a, b, c){"use strict"; function d(a){var b = new e(e._61); return b._81 = 1, b._65 = a, b}var e = a("./core.js"); b.exports = e; var f = d(!0), g = d(!1), h = d(null), i = d(void 0), j = d(0), k = d(""); e.resolve = function(a){if (a instanceof e)return a; if (null === a)return h; if (void 0 === a)return i; if (a === !0)return f; if (a === !1)return g; if (0 === a)return j; if ("" === a)return k; if ("object" == typeof a || "function" == typeof a)try{var b = a.then; if ("function" == typeof b)return new e(b.bind(a))} catch (c){return new e(function(a, b){b(c)})}return d(a)}, e.all = function(a){var b = Array.prototype.slice.call(a); return new e(function(a, c){function d(g, h){if (h && ("object" == typeof h || "function" == typeof h)){if (h instanceof e && h.then === e.prototype.then){for (; 3 === h._81; )h = h._65; return 1 === h._81?d(g, h._65):(2 === h._81 && c(h._65), void h.then(function(a){d(g, a)}, c))}var i = h.then; if ("function" == typeof i){var j = new e(i.bind(h)); return void j.then(function(a){d(g, a)}, c)}}b[g] = h, 0 === --f && a(b)}if (0 === b.length)return a([]); for (var f = b.length, g = 0; g < b.length; g++)d(g, b[g])})}, e.reject = function(a){return new e(function(b, c){c(a)})}, e.race = function(a){return new e(function(b, c){a.forEach(function(a){e.resolve(a).then(b, c)})})}, e.prototype["catch"] = function(a){return this.then(null, a)}}, {"./core.js":94}], 96:[function(a, b, c){"function" != typeof Promise.prototype.done && (Promise.prototype.done = function(a, b){var c = arguments.length?this.then.apply(this, arguments):this; c.then(null, function(a){setTimeout(function(){throw a}, 0)})})}, {}], 97:[function(a, b, c){a("asap"); "undefined" == typeof Promise && (Promise = a("./lib/core.js"), a("./lib/es6-extensions.js")), a("./polyfill-done.js")}, {"./lib/core.js":94, "./lib/es6-extensions.js":95, "./polyfill-done.js":96, asap:92}]}, {}, [2])(2)});
// source --> https://www.larochebeaucourt.fr/wp-content/plugins/gallery-showcase-pro/assets/js/owl.carousel.min.js?ver=224eecded61822e685e79150a571c0fd 
/* 
 * 	Core Owl Carousel CSS File
 *	v1.3.3
 */

"function" !== typeof Object.create && (Object.create = function(f){function g(){}g.prototype = f; return new g});
        (function(f, g, k){var l = {init:function(a, b){this.$elem = f(b); this.options = f.extend({}, f.fn.owlCarousel.options, this.$elem.data(), a); this.userOptions = a; this.loadContent()}, loadContent:function(){function a(a){var d, e = ""; if ("function" === typeof b.options.jsonSuccess)b.options.jsonSuccess.apply(this, [a]); else{for (d in a.owl)a.owl.hasOwnProperty(d) && (e += a.owl[d].item); b.$elem.html(e)}b.logIn()}var b = this, e; "function" === typeof b.options.beforeInit && b.options.beforeInit.apply(this, [b.$elem]); "string" === typeof b.options.jsonPath?
                (e = b.options.jsonPath, f.getJSON(e, a)):b.logIn()}, logIn:function(){this.$elem.data("owl-originalStyles", this.$elem.attr("style")); this.$elem.data("owl-originalClasses", this.$elem.attr("class")); this.$elem.css({opacity:0}); this.orignalItems = this.options.items; this.checkBrowser(); this.wrapperWidth = 0; this.checkVisible = null; this.setVars()}, setVars:function(){if (0 === this.$elem.children().length)return!1; this.baseClass(); this.eventTypes(); this.$userItems = this.$elem.children(); this.itemsAmount = this.$userItems.length;
                this.wrapItems(); this.$owlItems = this.$elem.find(".owl-item"); this.$owlWrapper = this.$elem.find(".owl-wrapper"); this.playDirection = "next"; this.prevItem = 0; this.prevArr = [0]; this.currentItem = 0; this.customEvents(); this.onStartup()}, onStartup:function(){this.updateItems(); this.calculateAll(); this.buildControls(); this.updateControls(); this.response(); this.moveEvents(); this.stopOnHover(); this.owlStatus(); !1 !== this.options.transitionStyle && this.transitionTypes(this.options.transitionStyle); !0 === this.options.autoPlay &&
                (this.options.autoPlay = 5E3); this.play(); this.$elem.find(".owl-wrapper").css("display", "block"); this.$elem.is(":visible")?this.$elem.css("opacity", 1):this.watchVisibility(); this.onstartup = !1; this.eachMoveUpdate(); "function" === typeof this.options.afterInit && this.options.afterInit.apply(this, [this.$elem])}, eachMoveUpdate:function(){!0 === this.options.lazyLoad && this.lazyLoad(); !0 === this.options.autoHeight && this.autoHeight(); this.onVisibleItems(); "function" === typeof this.options.afterAction && this.options.afterAction.apply(this,
        [this.$elem])}, updateVars:function(){"function" === typeof this.options.beforeUpdate && this.options.beforeUpdate.apply(this, [this.$elem]); this.watchVisibility(); this.updateItems(); this.calculateAll(); this.updatePosition(); this.updateControls(); this.eachMoveUpdate(); "function" === typeof this.options.afterUpdate && this.options.afterUpdate.apply(this, [this.$elem])}, reload:function(){var a = this; g.setTimeout(function(){a.updateVars()}, 0)}, watchVisibility:function(){var a = this; if (!1 === a.$elem.is(":visible"))a.$elem.css({opacity:0}),
                g.clearInterval(a.autoPlayInterval), g.clearInterval(a.checkVisible); else return!1; a.checkVisible = g.setInterval(function(){a.$elem.is(":visible") && (a.reload(), a.$elem.animate({opacity:1}, 200), g.clearInterval(a.checkVisible))}, 500)}, wrapItems:function(){this.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>'); this.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">'); this.wrapperOuter = this.$elem.find(".owl-wrapper-outer"); this.$elem.css("display", "block")},
                baseClass:function(){var a = this.$elem.hasClass(this.options.baseClass), b = this.$elem.hasClass(this.options.theme); a || this.$elem.addClass(this.options.baseClass); b || this.$elem.addClass(this.options.theme)}, updateItems:function(){var a, b; if (!1 === this.options.responsive)return!1; if (!0 === this.options.singleItem)return this.options.items = this.orignalItems = 1, this.options.itemsCustom = !1, this.options.itemsDesktop = !1, this.options.itemsDesktopSmall = !1, this.options.itemsTablet = !1, this.options.itemsTabletSmall =
                !1, this.options.itemsMobile = !1; a = f(this.options.responsiveBaseWidth).width(); a > (this.options.itemsDesktop[0] || this.orignalItems) && (this.options.items = this.orignalItems); if (!1 !== this.options.itemsCustom)for (this.options.itemsCustom.sort(function(a, b){return a[0] - b[0]}), b = 0; b < this.options.itemsCustom.length; b += 1)this.options.itemsCustom[b][0] <= a && (this.options.items = this.options.itemsCustom[b][1]); else a <= this.options.itemsDesktop[0] && !1 !== this.options.itemsDesktop && (this.options.items = this.options.itemsDesktop[1]),
                a <= this.options.itemsDesktopSmall[0] && !1 !== this.options.itemsDesktopSmall && (this.options.items = this.options.itemsDesktopSmall[1]), a <= this.options.itemsTablet[0] && !1 !== this.options.itemsTablet && (this.options.items = this.options.itemsTablet[1]), a <= this.options.itemsTabletSmall[0] && !1 !== this.options.itemsTabletSmall && (this.options.items = this.options.itemsTabletSmall[1]), a <= this.options.itemsMobile[0] && !1 !== this.options.itemsMobile && (this.options.items = this.options.itemsMobile[1]); this.options.items > this.itemsAmount &&
                !0 === this.options.itemsScaleUp && (this.options.items = this.itemsAmount)}, response:function(){var a = this, b, e; if (!0 !== a.options.responsive)return!1; e = f(g).width(); a.resizer = function(){f(g).width() !== e && (!1 !== a.options.autoPlay && g.clearInterval(a.autoPlayInterval), g.clearTimeout(b), b = g.setTimeout(function(){e = f(g).width(); a.updateVars()}, a.options.responsiveRefreshRate))}; f(g).resize(a.resizer)}, updatePosition:function(){this.jumpTo(this.currentItem); !1 !== this.options.autoPlay && this.checkAp()}, appendItemsSizes:function(){var a =
                this, b = 0, e = a.itemsAmount - a.options.items; a.$owlItems.each(function(c){var d = f(this); d.css({width:a.itemWidth}).data("owl-item", Number(c)); if (0 === c % a.options.items || c === e)c > e || (b += 1); d.data("owl-roundPages", b)})}, appendWrapperSizes:function(){this.$owlWrapper.css({width:this.$owlItems.length * this.itemWidth * 2, left:0}); this.appendItemsSizes()}, calculateAll:function(){this.calculateWidth(); this.appendWrapperSizes(); this.loops(); this.max()}, calculateWidth:function(){this.itemWidth = Math.round(this.$elem.width() /
                this.options.items)}, max:function(){var a = - 1 * (this.itemsAmount * this.itemWidth - this.options.items * this.itemWidth); this.options.items > this.itemsAmount?this.maximumPixels = a = this.maximumItem = 0:(this.maximumItem = this.itemsAmount - this.options.items, this.maximumPixels = a); return a}, min:function(){return 0}, loops:function(){var a = 0, b = 0, e, c; this.positionsInArray = [0]; this.pagesInArray = []; for (e = 0; e < this.itemsAmount; e += 1)b += this.itemWidth, this.positionsInArray.push( - b), !0 === this.options.scrollPerPage && (c = f(this.$owlItems[e]),
                c = c.data("owl-roundPages"), c !== a && (this.pagesInArray[a] = this.positionsInArray[e], a = c))}, buildControls:function(){if (!0 === this.options.navigation || !0 === this.options.pagination)this.owlControls = f('<div class="owl-controls"/>').toggleClass("clickable", !this.browser.isTouch).appendTo(this.$elem); !0 === this.options.pagination && this.buildPagination(); !0 === this.options.navigation && this.buildButtons()}, buildButtons:function(){var a = this, b = f('<div class="owl-buttons"/>'); a.owlControls.append(b); a.buttonPrev =
                f("<div/>", {"class":"owl-prev", html:a.options.navigationText[0] || ""}); a.buttonNext = f("<div/>", {"class":"owl-next", html:a.options.navigationText[1] || ""}); b.append(a.buttonPrev).append(a.buttonNext); b.on("touchstart.owlControls mousedown.owlControls", 'div[class^="owl"]', function(a){a.preventDefault()}); b.on("touchend.owlControls mouseup.owlControls", 'div[class^="owl"]', function(b){b.preventDefault(); f(this).hasClass("owl-next")?a.next():a.prev()})}, buildPagination:function(){var a = this; a.paginationWrapper =
                f('<div class="owl-pagination"/>'); a.owlControls.append(a.paginationWrapper); a.paginationWrapper.on("touchend.owlControls mouseup.owlControls", ".owl-page", function(b){b.preventDefault(); Number(f(this).data("owl-page")) !== a.currentItem && a.goTo(Number(f(this).data("owl-page")), !0)})}, updatePagination:function(){var a, b, e, c, d, g; if (!1 === this.options.pagination)return!1; this.paginationWrapper.html(""); a = 0; b = this.itemsAmount - this.itemsAmount % this.options.items; for (c = 0; c < this.itemsAmount; c += 1)0 === c % this.options.items &&
                (a += 1, b === c && (e = this.itemsAmount - this.options.items), d = f("<div/>", {"class":"owl-page"}), g = f("<span></span>", {text:!0 === this.options.paginationNumbers?a:"", "class":!0 === this.options.paginationNumbers?"owl-numbers":""}), d.append(g), d.data("owl-page", b === c?e:c), d.data("owl-roundPages", a), this.paginationWrapper.append(d)); this.checkPagination()}, checkPagination:function(){var a = this; if (!1 === a.options.pagination)return!1; a.paginationWrapper.find(".owl-page").each(function(){f(this).data("owl-roundPages") ===
                f(a.$owlItems[a.currentItem]).data("owl-roundPages") && (a.paginationWrapper.find(".owl-page").removeClass("active"), f(this).addClass("active"))})}, checkNavigation:function(){if (!1 === this.options.navigation)return!1; !1 === this.options.rewindNav && (0 === this.currentItem && 0 === this.maximumItem?(this.buttonPrev.addClass("disabled"), this.buttonNext.addClass("disabled")):0 === this.currentItem && 0 !== this.maximumItem?(this.buttonPrev.addClass("disabled"), this.buttonNext.removeClass("disabled")):this.currentItem ===
                this.maximumItem?(this.buttonPrev.removeClass("disabled"), this.buttonNext.addClass("disabled")):0 !== this.currentItem && this.currentItem !== this.maximumItem && (this.buttonPrev.removeClass("disabled"), this.buttonNext.removeClass("disabled")))}, updateControls:function(){this.updatePagination(); this.checkNavigation(); this.owlControls && (this.options.items >= this.itemsAmount?this.owlControls.hide():this.owlControls.show())}, destroyControls:function(){this.owlControls && this.owlControls.remove()}, next:function(a){if (this.isTransition)return!1;
                this.currentItem += !0 === this.options.scrollPerPage?this.options.items:1; if (this.currentItem > this.maximumItem + (!0 === this.options.scrollPerPage?this.options.items - 1:0))if (!0 === this.options.rewindNav)this.currentItem = 0, a = "rewind"; else return this.currentItem = this.maximumItem, !1; this.goTo(this.currentItem, a)}, prev:function(a){if (this.isTransition)return!1; this.currentItem = !0 === this.options.scrollPerPage && 0 < this.currentItem && this.currentItem < this.options.items?0:this.currentItem - (!0 === this.options.scrollPerPage?
                this.options.items:1); if (0 > this.currentItem)if (!0 === this.options.rewindNav)this.currentItem = this.maximumItem, a = "rewind"; else return this.currentItem = 0, !1; this.goTo(this.currentItem, a)}, goTo:function(a, b, e){var c = this; if (c.isTransition)return!1; "function" === typeof c.options.beforeMove && c.options.beforeMove.apply(this, [c.$elem]); a >= c.maximumItem?a = c.maximumItem:0 >= a && (a = 0); c.currentItem = c.owl.currentItem = a; if (!1 !== c.options.transitionStyle && "drag" !== e && 1 === c.options.items && !0 === c.browser.support3d)return c.swapSpeed(0),
                !0 === c.browser.support3d?c.transition3d(c.positionsInArray[a]):c.css2slide(c.positionsInArray[a], 1), c.afterGo(), c.singleItemTransition(), !1; a = c.positionsInArray[a]; !0 === c.browser.support3d?(c.isCss3Finish = !1, !0 === b?(c.swapSpeed("paginationSpeed"), g.setTimeout(function(){c.isCss3Finish = !0}, c.options.paginationSpeed)):"rewind" === b?(c.swapSpeed(c.options.rewindSpeed), g.setTimeout(function(){c.isCss3Finish = !0}, c.options.rewindSpeed)):(c.swapSpeed("slideSpeed"), g.setTimeout(function(){c.isCss3Finish = !0},
                c.options.slideSpeed)), c.transition3d(a)):!0 === b?c.css2slide(a, c.options.paginationSpeed):"rewind" === b?c.css2slide(a, c.options.rewindSpeed):c.css2slide(a, c.options.slideSpeed); c.afterGo()}, jumpTo:function(a){"function" === typeof this.options.beforeMove && this.options.beforeMove.apply(this, [this.$elem]); a >= this.maximumItem || - 1 === a?a = this.maximumItem:0 >= a && (a = 0); this.swapSpeed(0); !0 === this.browser.support3d?this.transition3d(this.positionsInArray[a]):this.css2slide(this.positionsInArray[a], 1); this.currentItem =
                this.owl.currentItem = a; this.afterGo()}, afterGo:function(){this.prevArr.push(this.currentItem); this.prevItem = this.owl.prevItem = this.prevArr[this.prevArr.length - 2]; this.prevArr.shift(0); this.prevItem !== this.currentItem && (this.checkPagination(), this.checkNavigation(), this.eachMoveUpdate(), !1 !== this.options.autoPlay && this.checkAp()); "function" === typeof this.options.afterMove && this.prevItem !== this.currentItem && this.options.afterMove.apply(this, [this.$elem])}, stop:function(){this.apStatus = "stop"; g.clearInterval(this.autoPlayInterval)},
                checkAp:function(){"stop" !== this.apStatus && this.play()}, play:function(){var a = this; a.apStatus = "play"; if (!1 === a.options.autoPlay)return!1; g.clearInterval(a.autoPlayInterval); a.autoPlayInterval = g.setInterval(function(){a.next(!0)}, a.options.autoPlay)}, swapSpeed:function(a){"slideSpeed" === a?this.$owlWrapper.css(this.addCssSpeed(this.options.slideSpeed)):"paginationSpeed" === a?this.$owlWrapper.css(this.addCssSpeed(this.options.paginationSpeed)):"string" !== typeof a && this.$owlWrapper.css(this.addCssSpeed(a))},
                addCssSpeed:function(a){return{"-webkit-transition":"all " + a + "ms ease", "-moz-transition":"all " + a + "ms ease", "-o-transition":"all " + a + "ms ease", transition:"all " + a + "ms ease"}}, removeTransition:function(){return{"-webkit-transition":"", "-moz-transition":"", "-o-transition":"", transition:""}}, doTranslate:function(a){return{"-webkit-transform":"translate3d(" + a + "px, 0px, 0px)", "-moz-transform":"translate3d(" + a + "px, 0px, 0px)", "-o-transform":"translate3d(" + a + "px, 0px, 0px)", "-ms-transform":"translate3d(" +
                a + "px, 0px, 0px)", transform:"translate3d(" + a + "px, 0px,0px)"}}, transition3d:function(a){this.$owlWrapper.css(this.doTranslate(a))}, css2move:function(a){this.$owlWrapper.css({left:a})}, css2slide:function(a, b){var e = this; e.isCssFinish = !1; e.$owlWrapper.stop(!0, !0).animate({left:a}, {duration:b || e.options.slideSpeed, complete:function(){e.isCssFinish = !0}})}, checkBrowser:function(){var a = k.createElement("div"); a.style.cssText = "  -moz-transform:translate3d(0px, 0px, 0px); -ms-transform:translate3d(0px, 0px, 0px); -o-transform:translate3d(0px, 0px, 0px); -webkit-transform:translate3d(0px, 0px, 0px); transform:translate3d(0px, 0px, 0px)";
                a = a.style.cssText.match(/translate3d\(0px, 0px, 0px\)/g); this.browser = {support3d:null !== a && 1 === a.length, isTouch:"ontouchstart"in g || g.navigator.msMaxTouchPoints}}, moveEvents:function(){if (!1 !== this.options.mouseDrag || !1 !== this.options.touchDrag)this.gestures(), this.disabledEvents()}, eventTypes:function(){var a = ["s", "e", "x"]; this.ev_types = {}; !0 === this.options.mouseDrag && !0 === this.options.touchDrag?a = ["touchstart.owl mousedown.owl", "touchmove.owl mousemove.owl", "touchend.owl touchcancel.owl mouseup.owl"]:
                !1 === this.options.mouseDrag && !0 === this.options.touchDrag?a = ["touchstart.owl", "touchmove.owl", "touchend.owl touchcancel.owl"]:!0 === this.options.mouseDrag && !1 === this.options.touchDrag && (a = ["mousedown.owl", "mousemove.owl", "mouseup.owl"]); this.ev_types.start = a[0]; this.ev_types.move = a[1]; this.ev_types.end = a[2]}, disabledEvents:function(){this.$elem.on("dragstart.owl", function(a){a.preventDefault()}); this.$elem.on("mousedown.disableTextSelect", function(a){return f(a.target).is("input, textarea, select, option")})},
                gestures:function(){function a(a){if (void 0 !== a.touches)return{x:a.touches[0].pageX, y:a.touches[0].pageY}; if (void 0 === a.touches){if (void 0 !== a.pageX)return{x:a.pageX, y:a.pageY}; if (void 0 === a.pageX)return{x:a.clientX, y:a.clientY}}}function b(a){"on" === a?(f(k).on(d.ev_types.move, e), f(k).on(d.ev_types.end, c)):"off" === a && (f(k).off(d.ev_types.move), f(k).off(d.ev_types.end))}function e(b){b = b.originalEvent || b || g.event; d.newPosX = a(b).x - h.offsetX; d.newPosY = a(b).y - h.offsetY; d.newRelativeX = d.newPosX - h.relativePos;
                        "function" === typeof d.options.startDragging && !0 !== h.dragging && 0 !== d.newRelativeX && (h.dragging = !0, d.options.startDragging.apply(d, [d.$elem])); (8 < d.newRelativeX || - 8 > d.newRelativeX) && !0 === d.browser.isTouch && (void 0 !== b.preventDefault?b.preventDefault():b.returnValue = !1, h.sliding = !0); (10 < d.newPosY || - 10 > d.newPosY) && !1 === h.sliding && f(k).off("touchmove.owl"); d.newPosX = Math.max(Math.min(d.newPosX, d.newRelativeX / 5), d.maximumPixels + d.newRelativeX / 5); !0 === d.browser.support3d?d.transition3d(d.newPosX):d.css2move(d.newPosX)}
                function c(a){a = a.originalEvent || a || g.event; var c; a.target = a.target || a.srcElement; h.dragging = !1; !0 !== d.browser.isTouch && d.$owlWrapper.removeClass("grabbing"); d.dragDirection = 0 > d.newRelativeX?d.owl.dragDirection = "left":d.owl.dragDirection = "right"; 0 !== d.newRelativeX && (c = d.getNewPosition(), d.goTo(c, !1, "drag"), h.targetElement === a.target && !0 !== d.browser.isTouch && (f(a.target).on("click.disable", function(a){a.stopImmediatePropagation(); a.stopPropagation(); a.preventDefault(); f(a.target).off("click.disable")}),
                        a = f._data(a.target, "events").click, c = a.pop(), a.splice(0, 0, c))); b("off")}var d = this, h = {offsetX:0, offsetY:0, baseElWidth:0, relativePos:0, position:null, minSwipe:null, maxSwipe:null, sliding:null, dargging:null, targetElement:null}; d.isCssFinish = !0; d.$elem.on(d.ev_types.start, ".owl-wrapper", function(c){c = c.originalEvent || c || g.event; var e; if (3 === c.which)return!1; if (!(d.itemsAmount <= d.options.items)){if (!1 === d.isCssFinish && !d.options.dragBeforeAnimFinish || !1 === d.isCss3Finish && !d.options.dragBeforeAnimFinish)return!1;
                        !1 !== d.options.autoPlay && g.clearInterval(d.autoPlayInterval); !0 === d.browser.isTouch || d.$owlWrapper.hasClass("grabbing") || d.$owlWrapper.addClass("grabbing"); d.newPosX = 0; d.newRelativeX = 0; f(this).css(d.removeTransition()); e = f(this).position(); h.relativePos = e.left; h.offsetX = a(c).x - e.left; h.offsetY = a(c).y - e.top; b("on"); h.sliding = !1; h.targetElement = c.target || c.srcElement}})}, getNewPosition:function(){var a = this.closestItem(); a > this.maximumItem?a = this.currentItem = this.maximumItem:0 <= this.newPosX && (this.currentItem =
                a = 0); return a}, closestItem:function(){var a = this, b = !0 === a.options.scrollPerPage?a.pagesInArray:a.positionsInArray, e = a.newPosX, c = null; f.each(b, function(d, g){e - a.itemWidth / 20 > b[d + 1] && e - a.itemWidth / 20 < g && "left" === a.moveDirection()?(c = g, a.currentItem = !0 === a.options.scrollPerPage?f.inArray(c, a.positionsInArray):d):e + a.itemWidth / 20 < g && e + a.itemWidth / 20 > (b[d + 1] || b[d] - a.itemWidth) && "right" === a.moveDirection() && (!0 === a.options.scrollPerPage?(c = b[d + 1] || b[b.length - 1], a.currentItem = f.inArray(c, a.positionsInArray)):
                (c = b[d + 1], a.currentItem = d + 1))}); return a.currentItem}, moveDirection:function(){var a; 0 > this.newRelativeX?(a = "right", this.playDirection = "next"):(a = "left", this.playDirection = "prev"); return a}, customEvents:function(){var a = this; a.$elem.on("owl.next", function(){a.next()}); a.$elem.on("owl.prev", function(){a.prev()}); a.$elem.on("owl.play", function(b, e){a.options.autoPlay = e; a.play(); a.hoverStatus = "play"}); a.$elem.on("owl.stop", function(){a.stop(); a.hoverStatus = "stop"}); a.$elem.on("owl.goTo", function(b, e){a.goTo(e)});
                a.$elem.on("owl.jumpTo", function(b, e){a.jumpTo(e)})}, stopOnHover:function(){var a = this; !0 === a.options.stopOnHover && !0 !== a.browser.isTouch && !1 !== a.options.autoPlay && (a.$elem.on("mouseover", function(){a.stop()}), a.$elem.on("mouseout", function(){"stop" !== a.hoverStatus && a.play()}))}, lazyLoad:function(){var a, b, e, c, d; if (!1 === this.options.lazyLoad)return!1; for (a = 0; a < this.itemsAmount; a += 1)b = f(this.$owlItems[a]), "loaded" !== b.data("owl-loaded") && (e = b.data("owl-item"), c = b.find(".lazyOwl"), "string" !== typeof c.data("src")?
                b.data("owl-loaded", "loaded"):(void 0 === b.data("owl-loaded") && (c.hide(), b.addClass("loading").data("owl-loaded", "checked")), (d = !0 === this.options.lazyFollow?e >= this.currentItem:!0) && e < this.currentItem + this.options.items && c.length && this.lazyPreload(b, c)))}, lazyPreload:function(a, b){function e(){a.data("owl-loaded", "loaded").removeClass("loading"); b.removeAttr("data-src"); "fade" === d.options.lazyEffect?b.fadeIn(400):b.show(); "function" === typeof d.options.afterLazyLoad && d.options.afterLazyLoad.apply(this,
        [d.$elem])}function c(){f += 1; d.completeImg(b.get(0)) || !0 === k?e():100 >= f?g.setTimeout(c, 100):e()}var d = this, f = 0, k; "DIV" === b.prop("tagName")?(b.css("background-image", "url(" + b.data("src") + ")"), k = !0):b[0].src = b.data("src"); c()}, autoHeight:function(){function a(){var a = f(e.$owlItems[e.currentItem]).height(); e.wrapperOuter.css("height", a + "px"); e.wrapperOuter.hasClass("autoHeight") || g.setTimeout(function(){e.wrapperOuter.addClass("autoHeight")}, 0)}function b(){d += 1; e.completeImg(c.get(0))?a():100 >= d?g.setTimeout(b,
                100):e.wrapperOuter.css("height", "")}var e = this, c = f(e.$owlItems[e.currentItem]).find("img"), d; void 0 !== c.get(0)?(d = 0, b()):a()}, completeImg:function(a){return!a.complete || "undefined" !== typeof a.naturalWidth && 0 === a.naturalWidth?!1:!0}, onVisibleItems:function(){var a; !0 === this.options.addClassActive && this.$owlItems.removeClass("active"); this.visibleItems = []; for (a = this.currentItem; a < this.currentItem + this.options.items; a += 1)this.visibleItems.push(a), !0 === this.options.addClassActive && f(this.$owlItems[a]).addClass("active");
                this.owl.visibleItems = this.visibleItems}, transitionTypes:function(a){this.outClass = "owl-" + a + "-out"; this.inClass = "owl-" + a + "-in"}, singleItemTransition:function(){var a = this, b = a.outClass, e = a.inClass, c = a.$owlItems.eq(a.currentItem), d = a.$owlItems.eq(a.prevItem), f = Math.abs(a.positionsInArray[a.currentItem]) + a.positionsInArray[a.prevItem], g = Math.abs(a.positionsInArray[a.currentItem]) + a.itemWidth / 2; a.isTransition = !0; a.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":g + "px", "-moz-perspective-origin":g +
                "px", "perspective-origin":g + "px"}); d.css({position:"relative", left:f + "px"}).addClass(b).on("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend", function(){a.endPrev = !0; d.off("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend"); a.clearTransStyle(d, b)}); c.addClass(e).on("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend", function(){a.endCurrent = !0; c.off("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend"); a.clearTransStyle(c, e)})}, clearTransStyle:function(a,
                b){a.css({position:"", left:""}).removeClass(b); this.endPrev && this.endCurrent && (this.$owlWrapper.removeClass("owl-origin"), this.isTransition = this.endCurrent = this.endPrev = !1)}, owlStatus:function(){this.owl = {userOptions:this.userOptions, baseElement:this.$elem, userItems:this.$userItems, owlItems:this.$owlItems, currentItem:this.currentItem, prevItem:this.prevItem, visibleItems:this.visibleItems, isTouch:this.browser.isTouch, browser:this.browser, dragDirection:this.dragDirection}}, clearEvents:function(){this.$elem.off(".owl owl mousedown.disableTextSelect");
                f(k).off(".owl owl"); f(g).off("resize", this.resizer)}, unWrap:function(){0 !== this.$elem.children().length && (this.$owlWrapper.unwrap(), this.$userItems.unwrap().unwrap(), this.owlControls && this.owlControls.remove()); this.clearEvents(); this.$elem.attr("style", this.$elem.data("owl-originalStyles") || "").attr("class", this.$elem.data("owl-originalClasses"))}, destroy:function(){this.stop(); g.clearInterval(this.checkVisible); this.unWrap(); this.$elem.removeData()}, reinit:function(a){a = f.extend({}, this.userOptions,
                a); this.unWrap(); this.init(a, this.$elem)}, addItem:function(a, b){var e; if (!a)return!1; if (0 === this.$elem.children().length)return this.$elem.append(a), this.setVars(), !1; this.unWrap(); e = void 0 === b || - 1 === b? - 1:b; e >= this.$userItems.length || - 1 === e?this.$userItems.eq( - 1).after(a):this.$userItems.eq(e).before(a); this.setVars()}, removeItem:function(a){if (0 === this.$elem.children().length)return!1; a = void 0 === a || - 1 === a? - 1:a; this.unWrap(); this.$userItems.eq(a).remove(); this.setVars()}}; f.fn.owlCarousel = function(a){return this.each(function(){if (!0 ===
                f(this).data("owl-init"))return!1; f(this).data("owl-init", !0); var b = Object.create(l); b.init(a, this); f.data(this, "owlCarousel", b)})}; f.fn.owlCarousel.options = {items:5, itemsCustom:!1, itemsDesktop:[1199, 4], itemsDesktopSmall:[979, 3], itemsTablet:[768, 2], itemsTabletSmall:!1, itemsMobile:[479, 1], singleItem:!1, itemsScaleUp:!1, slideSpeed:200, paginationSpeed:800, rewindSpeed:1E3, autoPlay:!1, stopOnHover:!1, navigation:!1, navigationText:["prev", "next"], rewindNav:!0, scrollPerPage:!1, pagination:!0, paginationNumbers:!1,
                responsive:!0, responsiveRefreshRate:200, responsiveBaseWidth:g, baseClass:"owl-carousel", theme:"owl-theme", lazyLoad:!1, lazyFollow:!0, lazyEffect:"fade", autoHeight:!1, jsonPath:!1, jsonSuccess:!1, dragBeforeAnimFinish:!0, mouseDrag:!0, touchDrag:!0, addClassActive:!1, transitionStyle:!1, beforeUpdate:!1, afterUpdate:!1, beforeInit:!1, afterInit:!1, beforeMove:!1, afterMove:!1, afterAction:!1, startDragging:!1, afterLazyLoad:!1}})(jQuery, window, document);
// source --> https://www.larochebeaucourt.fr/wp-content/plugins/gallery-showcase-pro/assets/js/jquery.fancybox.min.js?ver=224eecded61822e685e79150a571c0fd 
// ==================================================
// fancyBox v3.3.5
//
// Licensed GPLv3 for open source use
// or fancyBox Commercial License for commercial use
//
// http://fancyapps.com/fancybox/
// Copyright 2018 fancyApps
//
// ==================================================
!function(t, e, n, o){"use strict"; function i(t, e){var o, i, a = [], s = 0; t && t.isDefaultPrevented() || (t.preventDefault(), e = t && t.data?t.data.options:e || {}, o = e.$target || n(t.currentTarget), i = o.attr("data-fancybox") || "", i?(a = e.selector?n(e.selector):t.data?t.data.items:[], a = a.length?a.filter('[data-fancybox="' + i + '"]'):n('[data-fancybox="' + i + '"]'), s = a.index(o), s < 0 && (s = 0)):a = [o], n.fancybox.open(a, e, s))}if (t.console = t.console || {info:function(t){}}, n){if (n.fn.fancybox)return void console.info("fancyBox already initialized"); var a = {loop:!1, gutter:50, keyboard:!0, arrows:!0, infobar:!0, smallBtn:"auto", toolbar:"auto", buttons:["zoom", "thumbs", "close"], idleTime:3, protect:!1, modal:!1, image:{preload:!1}, ajax:{settings:{data:{fancybox:!0}}}, iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen allowtransparency="true" src=""></iframe>', preload:!0, css:{}, attr:{scrolling:"auto"}}, defaultType:"image", animationEffect:"zoom", animationDuration:366, zoomOpacity:"auto", transitionEffect:"fade", transitionDuration:366, slideClass:"", baseClass:"", baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span>&nbsp;/&nbsp;<span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"></div></div></div>', spinnerTpl:'<div class="fancybox-loading"></div>', errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>', btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg viewBox="0 0 40 40"><path d="M13,16 L20,23 L27,16 M20,7 L20,23 M10,24 L10,28 L30,28 L30,24" /></svg></a>', zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg viewBox="0 0 40 40"><path d="M18,17 m-8,0 a8,8 0 1,0 16,0 a8,8 0 1,0 -16,0 M24,22 L31,29" /></svg></button>', close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg viewBox="0 0 40 40"><path d="M10,10 L30,30 M30,10 L10,30" /></svg></button>', smallBtn:'<button data-fancybox-close class="fancybox-close-small" title="{{CLOSE}}"><svg viewBox="0 0 32 32"><path d="M10,10 L22,22 M22,10 L10,22"></path></svg></button>', arrowLeft:'<a data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}" href="javascript:;"><svg viewBox="0 0 40 40"><path d="M18,12 L10,20 L18,28 M10,20 L30,20"></path></svg></a>', arrowRight:'<a data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}" href="javascript:;"><svg viewBox="0 0 40 40"><path d="M10,20 L30,20 M22,12 L30,20 L22,28"></path></svg></a>'}, parentEl:"body", autoFocus:!1, backFocus:!0, trapFocus:!0, fullScreen:{autoStart:!1}, touch:{vertical:!0, momentum:!0}, hash:null, media:{}, slideShow:{autoStart:!1, speed:4e3}, thumbs:{autoStart:!1, hideOnClose:!0, parentEl:".fancybox-container", axis:"y"}, wheel:"auto", onInit:n.noop, beforeLoad:n.noop, afterLoad:n.noop, beforeShow:n.noop, afterShow:n.noop, beforeClose:n.noop, afterClose:n.noop, onActivate:n.noop, onDeactivate:n.noop, clickContent:function(t, e){return"image" === t.type && "zoom"}, clickSlide:"close", clickOutside:"close", dblclickContent:!1, dblclickSlide:!1, dblclickOutside:!1, mobile:{idleTime:!1, clickContent:function(t, e){return"image" === t.type && "toggleControls"}, clickSlide:function(t, e){return"image" === t.type?"toggleControls":"close"}, dblclickContent:function(t, e){return"image" === t.type && "zoom"}, dblclickSlide:function(t, e){return"image" === t.type && "zoom"}}, lang:"en", i18n:{en:{CLOSE:"Close", NEXT:"Next", PREV:"Previous", ERROR:"The requested content cannot be loaded. <br/> Please try again later.", PLAY_START:"Start slideshow", PLAY_STOP:"Pause slideshow", FULL_SCREEN:"Full screen", THUMBS:"Thumbnails", DOWNLOAD:"Download", SHARE:"Share", ZOOM:"Zoom"}, de:{CLOSE:"Schliessen", NEXT:"Weiter", PREV:"Zurück", ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.", PLAY_START:"Diaschau starten", PLAY_STOP:"Diaschau beenden", FULL_SCREEN:"Vollbild", THUMBS:"Vorschaubilder", DOWNLOAD:"Herunterladen", SHARE:"Teilen", ZOOM:"Maßstab"}}}, s = n(t), r = n(e), c = 0, l = function(t){return t && t.hasOwnProperty && t instanceof n}, d = function(){return t.requestAnimationFrame || t.webkitRequestAnimationFrame || t.mozRequestAnimationFrame || t.oRequestAnimationFrame || function(e){return t.setTimeout(e, 1e3 / 60)}}(), u = function(){var t, n = e.createElement("fakeelement"), i = {transition:"transitionend", OTransition:"oTransitionEnd", MozTransition:"transitionend", WebkitTransition:"webkitTransitionEnd"}; for (t in i)if (n.style[t] !== o)return i[t]; return"transitionend"}(), f = function(t){return t && t.length && t[0].offsetHeight}, p = function(t, e){var o = n.extend(!0, {}, t, e); return n.each(e, function(t, e){n.isArray(e) && (o[t] = e)}), o}, h = function(t, o, i){var a = this; a.opts = p({index:i}, n.fancybox.defaults), n.isPlainObject(o) && (a.opts = p(a.opts, o)), n.fancybox.isMobile && (a.opts = p(a.opts, a.opts.mobile)), a.id = a.opts.id || ++c, a.currIndex = parseInt(a.opts.index, 10) || 0, a.prevIndex = null, a.prevPos = null, a.currPos = 0, a.firstRun = !0, a.group = [], a.slides = {}, a.addContent(t), a.group.length && (a.$lastFocus = n(e.activeElement).trigger("blur"), a.init())}; n.extend(h.prototype, {init:function(){var i, a, s, r = this, c = r.group[r.currIndex], l = c.opts, d = n.fancybox.scrollbarWidth; n.fancybox.getInstance() || l.hideScrollbar === !1 || (n("body").addClass("fancybox-active"), !n.fancybox.isMobile && e.body.scrollHeight > t.innerHeight && (d === o && (i = n('<div style="width:100px;height:100px;overflow:scroll;" />').appendTo("body"), d = n.fancybox.scrollbarWidth = i[0].offsetWidth - i[0].clientWidth, i.remove()), n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar { margin-right: ' + d + "px; }</style>"), n("body").addClass("compensate-for-scrollbar"))), s = "", n.each(l.buttons, function(t, e){s += l.btnTpl[e] || ""}), a = n(r.translate(r, l.baseTpl.replace("{{buttons}}", s).replace("{{arrows}}", l.btnTpl.arrowLeft + l.btnTpl.arrowRight))).attr("id", "fancybox-container-" + r.id).addClass("fancybox-is-hidden").addClass(l.baseClass).data("FancyBox", r).appendTo(l.parentEl), r.$refs = {container:a}, ["bg", "inner", "infobar", "toolbar", "stage", "caption", "navigation"].forEach(function(t){r.$refs[t] = a.find(".fancybox-" + t)}), r.trigger("onInit"), r.activate(), r.jumpTo(r.currIndex)}, translate:function(t, e){var n = t.opts.i18n[t.opts.lang]; return e.replace(/\{\{(\w+)\}\}/g, function(t, e){var i = n[e]; return i === o?t:i})}, addContent:function(t){var e, i = this, a = n.makeArray(t); n.each(a, function(t, e){var a, s, r, c, l, d = {}, u = {}; n.isPlainObject(e)?(d = e, u = e.opts || e):"object" === n.type(e) && n(e).length?(a = n(e), u = a.data() || {}, u = n.extend(!0, {}, u, u.options), u.$orig = a, d.src = i.opts.src || u.src || a.attr("href"), d.type || d.src || (d.type = "inline", d.src = e)):d = {type:"html", src:e + ""}, d.opts = n.extend(!0, {}, i.opts, u), n.isArray(u.buttons) && (d.opts.buttons = u.buttons), s = d.type || d.opts.type, c = d.src || "", !s && c && ((r = c.match(/\.(mp4|mov|ogv)((\?|#).*)?$/i))?(s = "video", d.opts.videoFormat || (d.opts.videoFormat = "video/" + ("ogv" === r[1]?"ogg":r[1]))):c.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?s = "image":c.match(/\.(pdf)((\?|#).*)?$/i)?s = "iframe":"#" === c.charAt(0) && (s = "inline")), s?d.type = s:i.trigger("objectNeedsType", d), d.contentType || (d.contentType = n.inArray(d.type, ["html", "inline", "ajax"]) > - 1?"html":d.type), d.index = i.group.length, "auto" == d.opts.smallBtn && (d.opts.smallBtn = n.inArray(d.type, ["html", "inline", "ajax"]) > - 1), "auto" === d.opts.toolbar && (d.opts.toolbar = !d.opts.smallBtn), d.opts.$trigger && d.index === i.opts.index && (d.opts.$thumb = d.opts.$trigger.find("img:first")), d.opts.$thumb && d.opts.$thumb.length || !d.opts.$orig || (d.opts.$thumb = d.opts.$orig.find("img:first")), "function" === n.type(d.opts.caption) && (d.opts.caption = d.opts.caption.apply(e, [i, d])), "function" === n.type(i.opts.caption) && (d.opts.caption = i.opts.caption.apply(e, [i, d])), d.opts.caption instanceof n || (d.opts.caption = d.opts.caption === o?"":d.opts.caption + ""), "ajax" === d.type && (l = c.split(/\s+/, 2), l.length > 1 && (d.src = l.shift(), d.opts.filter = l.shift())), d.opts.modal && (d.opts = n.extend(!0, d.opts, {infobar:0, toolbar:0, smallBtn:0, keyboard:0, slideShow:0, fullScreen:0, thumbs:0, touch:0, clickContent:!1, clickSlide:!1, clickOutside:!1, dblclickContent:!1, dblclickSlide:!1, dblclickOutside:!1})), i.group.push(d)}), Object.keys(i.slides).length && (i.updateControls(), e = i.Thumbs, e && e.isActive && (e.create(), e.focus()))}, addEvents:function(){var o = this; o.removeEvents(), o.$refs.container.on("click.fb-close", "[data-fancybox-close]", function(t){t.stopPropagation(), t.preventDefault(), o.close(t)}).on("touchstart.fb-prev click.fb-prev", "[data-fancybox-prev]", function(t){t.stopPropagation(), t.preventDefault(), o.previous()}).on("touchstart.fb-next click.fb-next", "[data-fancybox-next]", function(t){t.stopPropagation(), t.preventDefault(), o.next()}).on("click.fb", "[data-fancybox-zoom]", function(t){o[o.isScaledDown()?"scaleToActual":"scaleToFit"]()}), s.on("orientationchange.fb resize.fb", function(t){t && t.originalEvent && "resize" === t.originalEvent.type?d(function(){o.update()}):(o.$refs.stage.hide(), setTimeout(function(){o.$refs.stage.show(), o.update()}, n.fancybox.isMobile?600:250))}), r.on("focusin.fb", function(t){var o = n.fancybox?n.fancybox.getInstance():null; o.isClosing || !o.current || !o.current.opts.trapFocus || n(t.target).hasClass("fancybox-container") || n(t.target).is(e) || o && "fixed" !== n(t.target).css("position") && !o.$refs.container.has(t.target).length && (t.stopPropagation(), o.focus())}), r.on("keydown.fb", function(t){var e = o.current, i = t.keyCode || t.which; if (e && e.opts.keyboard && !(t.ctrlKey || t.altKey || t.shiftKey || n(t.target).is("input") || n(t.target).is("textarea")))return 8 === i || 27 === i?(t.preventDefault(), void o.close(t)):37 === i || 38 === i?(t.preventDefault(), void o.previous()):39 === i || 40 === i?(t.preventDefault(), void o.next()):void o.trigger("afterKeydown", t, i)}), o.group[o.currIndex].opts.idleTime && (o.idleSecondsCounter = 0, r.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle", function(t){o.idleSecondsCounter = 0, o.isIdle && o.showControls(), o.isIdle = !1}), o.idleInterval = t.setInterval(function(){o.idleSecondsCounter++, o.idleSecondsCounter >= o.group[o.currIndex].opts.idleTime && !o.isDragging && (o.isIdle = !0, o.idleSecondsCounter = 0, o.hideControls())}, 1e3))}, removeEvents:function(){var e = this; s.off("orientationchange.fb resize.fb"), r.off("focusin.fb keydown.fb .fb-idle"), this.$refs.container.off(".fb-close .fb-prev .fb-next"), e.idleInterval && (t.clearInterval(e.idleInterval), e.idleInterval = null)}, previous:function(t){return this.jumpTo(this.currPos - 1, t)}, next:function(t){return this.jumpTo(this.currPos + 1, t)}, jumpTo:function(t, e){var i, a, s, r, c, l, d, u = this, p = u.group.length; if (!(u.isDragging || u.isClosing || u.isAnimating && u.firstRun)){if (t = parseInt(t, 10), a = u.current?u.current.opts.loop:u.opts.loop, !a && (t < 0 || t >= p))return!1; if (i = u.firstRun = !Object.keys(u.slides).length, !(p < 2 && !i && u.isDragging)){if (r = u.current, u.prevIndex = u.currIndex, u.prevPos = u.currPos, s = u.createSlide(t), p > 1 && ((a || s.index > 0) && u.createSlide(t - 1), (a || s.index < p - 1) && u.createSlide(t + 1)), u.current = s, u.currIndex = s.index, u.currPos = s.pos, u.trigger("beforeShow", i), u.updateControls(), l = n.fancybox.getTranslate(s.$slide), s.isMoved = (0 !== l.left || 0 !== l.top) && !s.$slide.hasClass("fancybox-animated"), s.forcedDuration = o, n.isNumeric(e)?s.forcedDuration = e:e = s.opts[i?"animationDuration":"transitionDuration"], e = parseInt(e, 10), i)return s.opts.animationEffect && e && u.$refs.container.css("transition-duration", e + "ms"), u.$refs.container.removeClass("fancybox-is-hidden"), f(u.$refs.container), u.$refs.container.addClass("fancybox-is-open"), f(u.$refs.container), s.$slide.addClass("fancybox-slide--previous"), u.loadSlide(s), s.$slide.removeClass("fancybox-slide--previous").addClass("fancybox-slide--current"), void u.preload("image"); n.each(u.slides, function(t, e){n.fancybox.stop(e.$slide)}), s.$slide.removeClass("fancybox-slide--next fancybox-slide--previous").addClass("fancybox-slide--current"), s.isMoved?(c = Math.round(s.$slide.width()), n.each(u.slides, function(t, o){var i = o.pos - s.pos; n.fancybox.animate(o.$slide, {top:0, left:i * c + i * o.opts.gutter}, e, function(){o.$slide.removeAttr("style").removeClass("fancybox-slide--next fancybox-slide--previous"), o.pos === u.currPos && (s.isMoved = !1, u.complete())})})):u.$refs.stage.children().removeAttr("style"), s.isLoaded?u.revealContent(s):u.loadSlide(s), u.preload("image"), r.pos !== s.pos && (d = "fancybox-slide--" + (r.pos > s.pos?"next":"previous"), r.$slide.removeClass("fancybox-slide--complete fancybox-slide--current fancybox-slide--next fancybox-slide--previous"), r.isComplete = !1, e && (s.isMoved || s.opts.transitionEffect) && (s.isMoved?r.$slide.addClass(d):(d = "fancybox-animated " + d + " fancybox-fx-" + s.opts.transitionEffect, n.fancybox.animate(r.$slide, d, e, function(){r.$slide.removeClass(d).removeAttr("style")}))))}}}, createSlide:function(t){var e, o, i = this; return o = t % i.group.length, o = o < 0?i.group.length + o:o, !i.slides[t] && i.group[o] && (e = n('<div class="fancybox-slide"></div>').appendTo(i.$refs.stage), i.slides[t] = n.extend(!0, {}, i.group[o], {pos:t, $slide:e, isLoaded:!1}), i.updateSlide(i.slides[t])), i.slides[t]}, scaleToActual:function(t, e, i){var a, s, r, c, l, d = this, u = d.current, f = u.$content, p = n.fancybox.getTranslate(u.$slide).width, h = n.fancybox.getTranslate(u.$slide).height, g = u.width, b = u.height; !d.isAnimating && f && "image" == u.type && u.isLoaded && !u.hasError && (n.fancybox.stop(f), d.isAnimating = !0, t = t === o?.5 * p:t, e = e === o?.5 * h:e, a = n.fancybox.getTranslate(f), a.top -= n.fancybox.getTranslate(u.$slide).top, a.left -= n.fancybox.getTranslate(u.$slide).left, c = g / a.width, l = b / a.height, s = .5 * p - .5 * g, r = .5 * h - .5 * b, g > p && (s = a.left * c - (t * c - t), s > 0 && (s = 0), s < p - g && (s = p - g)), b > h && (r = a.top * l - (e * l - e), r > 0 && (r = 0), r < h - b && (r = h - b)), d.updateCursor(g, b), n.fancybox.animate(f, {top:r, left:s, scaleX:c, scaleY:l}, i || 330, function(){d.isAnimating = !1}), d.SlideShow && d.SlideShow.isActive && d.SlideShow.stop())}, scaleToFit:function(t){var e, o = this, i = o.current, a = i.$content; !o.isAnimating && a && "image" == i.type && i.isLoaded && !i.hasError && (n.fancybox.stop(a), o.isAnimating = !0, e = o.getFitPos(i), o.updateCursor(e.width, e.height), n.fancybox.animate(a, {top:e.top, left:e.left, scaleX:e.width / a.width(), scaleY:e.height / a.height()}, t || 330, function(){o.isAnimating = !1}))}, getFitPos:function(t){var e, n, o, i, a, s = this, r = t.$content, c = t.width || t.opts.width, l = t.height || t.opts.height, d = {}; return!!(t.isLoaded && r && r.length) && (i = {top:parseInt(t.$slide.css("paddingTop"), 10), right:parseInt(t.$slide.css("paddingRight"), 10), bottom:parseInt(t.$slide.css("paddingBottom"), 10), left:parseInt(t.$slide.css("paddingLeft"), 10)}, e = parseInt(s.$refs.stage.width(), 10) - (i.left + i.right), n = parseInt(s.$refs.stage.height(), 10) - (i.top + i.bottom), c && l || (c = e, l = n), o = Math.min(1, e / c, n / l), c = Math.floor(o * c), l = Math.floor(o * l), "image" === t.type?(d.top = Math.floor(.5 * (n - l)) + i.top, d.left = Math.floor(.5 * (e - c)) + i.left):"video" === t.contentType && (a = t.opts.width && t.opts.height?c / l:t.opts.ratio || 16 / 9, l > c / a?l = c / a:c > l * a && (c = l * a)), d.width = c, d.height = l, d)}, update:function(){var t = this; n.each(t.slides, function(e, n){t.updateSlide(n)})}, updateSlide:function(t, e){var o = this, i = t && t.$content, a = t.width || t.opts.width, s = t.height || t.opts.height; i && (a || s || "video" === t.contentType) && !t.hasError && (n.fancybox.stop(i), n.fancybox.setTranslate(i, o.getFitPos(t)), t.pos === o.currPos && (o.isAnimating = !1, o.updateCursor())), t.$slide.trigger("refresh"), o.$refs.toolbar.toggleClass("compensate-for-scrollbar", t.$slide.get(0).scrollHeight > t.$slide.get(0).clientHeight), o.trigger("onUpdate", t)}, centerSlide:function(t, e){var i, a, s = this; s.current && (i = Math.round(t.$slide.width()), a = t.pos - s.current.pos, n.fancybox.animate(t.$slide, {top:0, left:a * i + a * t.opts.gutter, opacity:1}, e === o?0:e, null, !1))}, updateCursor:function(t, e){var o, i = this, a = i.current, s = i.$refs.container.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-drag fancybox-can-zoomOut"); a && !i.isClosing && (o = i.isZoomable(), s.toggleClass("fancybox-is-zoomable", o), n("[data-fancybox-zoom]").prop("disabled", !o), o && ("zoom" === a.opts.clickContent || n.isFunction(a.opts.clickContent) && "zoom" === a.opts.clickContent(a))?i.isScaledDown(t, e)?s.addClass("fancybox-can-zoomIn"):a.opts.touch?s.addClass("fancybox-can-drag"):s.addClass("fancybox-can-zoomOut"):a.opts.touch && "video" !== a.contentType && s.addClass("fancybox-can-drag"))}, isZoomable:function(){var t, e = this, n = e.current; if (n && !e.isClosing && "image" === n.type && !n.hasError){if (!n.isLoaded)return!0; if (t = e.getFitPos(n), n.width > t.width || n.height > t.height)return!0}return!1}, isScaledDown:function(t, e){var i = this, a = !1, s = i.current, r = s.$content; return t !== o && e !== o?a = t < s.width && e < s.height:r && (a = n.fancybox.getTranslate(r), a = a.width < s.width && a.height < s.height), a}, canPan:function(){var t, e = this, n = !1, o = e.current; return"image" === o.type && (t = o.$content) && !o.hasError && (n = e.getFitPos(o), n = Math.abs(t.width() - n.width) > 1 || Math.abs(t.height() - n.height) > 1), n}, loadSlide:function(t){var e, o, i, a = this; if (!t.isLoading && !t.isLoaded){switch (t.isLoading = !0, a.trigger("beforeLoad", t), e = t.type, o = t.$slide, o.off("refresh").trigger("onReset").addClass(t.opts.slideClass), e){case"image":a.setImage(t); break; case"iframe":a.setIframe(t); break; case"html":a.setContent(t, t.src || t.content); break; case"video":a.setContent(t, '<video class="fancybox-video" controls controlsList="nodownload"><source src="' + t.src + '" type="' + t.opts.videoFormat + "\">Your browser doesn't support HTML5 video</video"); break; case"inline":n(t.src).length?a.setContent(t, n(t.src)):a.setError(t); break; case"ajax":a.showLoading(t), i = n.ajax(n.extend({}, t.opts.ajax.settings, {url:t.src, success:function(e, n){"success" === n && a.setContent(t, e)}, error:function(e, n){e && "abort" !== n && a.setError(t)}})), o.one("onReset", function(){i.abort()}); break; default:a.setError(t)}return!0}}, setImage:function(e){var o, i, a, s, r, c = this, l = e.opts.srcset || e.opts.image.srcset; if (e.timouts = setTimeout(function(){var t = e.$image; !e.isLoading || t && t[0].complete || e.hasError || c.showLoading(e)}, 350), l){s = t.devicePixelRatio || 1, r = t.innerWidth * s, a = l.split(",").map(function(t){var e = {}; return t.trim().split(/\s+/).forEach(function(t, n){var o = parseInt(t.substring(0, t.length - 1), 10); return 0 === n?e.url = t:void(o && (e.value = o, e.postfix = t[t.length - 1]))}), e}), a.sort(function(t, e){return t.value - e.value}); for (var d = 0; d < a.length; d++){var u = a[d]; if ("w" === u.postfix && u.value >= r || "x" === u.postfix && u.value >= s){i = u; break}}!i && a.length && (i = a[a.length - 1]), i && (e.src = i.url, e.width && e.height && "w" == i.postfix && (e.height = e.width / e.height * i.value, e.width = i.value), e.opts.srcset = l)}e.$content = n('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide.addClass("fancybox-slide--image")), o = e.opts.thumb || !(!e.opts.$thumb || !e.opts.$thumb.length) && e.opts.$thumb.attr("src"), e.opts.preload !== !1 && e.opts.width && e.opts.height && o && (e.width = e.opts.width, e.height = e.opts.height, e.$ghost = n("<img />").one("error", function(){n(this).remove(), e.$ghost = null}).one("load", function(){c.afterLoad(e)}).addClass("fancybox-image").appendTo(e.$content).attr("src", o)), c.setBigImage(e)}, setBigImage:function(t){var e = this, o = n("<img />"); t.$image = o.one("error", function(){e.setError(t)}).one("load", function(){var n; t.$ghost || (e.resolveImageSlideSize(t, this.naturalWidth, this.naturalHeight), e.afterLoad(t)), t.timouts && (clearTimeout(t.timouts), t.timouts = null), e.isClosing || (t.opts.srcset && (n = t.opts.sizes, n && "auto" !== n || (n = (t.width / t.height > 1 && s.width() / s.height() > 1?"100":Math.round(t.width / t.height * 100)) + "vw"), o.attr("sizes", n).attr("srcset", t.opts.srcset)), t.$ghost && setTimeout(function(){t.$ghost && !e.isClosing && t.$ghost.hide()}, Math.min(300, Math.max(1e3, t.height / 1600))), e.hideLoading(t))}).addClass("fancybox-image").attr("src", t.src).appendTo(t.$content), (o[0].complete || "complete" == o[0].readyState) && o[0].naturalWidth && o[0].naturalHeight?o.trigger("load"):o[0].error && o.trigger("error")}, resolveImageSlideSize:function(t, e, n){var o = parseInt(t.opts.width, 10), i = parseInt(t.opts.height, 10); t.width = e, t.height = n, o > 0 && (t.width = o, t.height = Math.floor(o * n / e)), i > 0 && (t.width = Math.floor(i * e / n), t.height = i)}, setIframe:function(t){var e, i = this, a = t.opts.iframe, s = t.$slide; t.$content = n('<div class="fancybox-content' + (a.preload?" fancybox-is-hidden":"") + '"></div>').css(a.css).appendTo(s), s.addClass("fancybox-slide--" + t.contentType), t.$iframe = e = n(a.tpl.replace(/\{rnd\}/g, (new Date).getTime())).attr(a.attr).appendTo(t.$content), a.preload?(i.showLoading(t), e.on("load.fb error.fb", function(e){this.isReady = 1, t.$slide.trigger("refresh"), i.afterLoad(t)}), s.on("refresh.fb", function(){var n, i, s = t.$content, r = a.css.width, c = a.css.height; if (1 === e[0].isReady){try{n = e.contents(), i = n.find("body")} catch (t){}i && i.length && i.children().length && (s.css({width:"", height:""}), r === o && (r = Math.ceil(Math.max(i[0].clientWidth, i.outerWidth(!0)))), r && s.width(r), c === o && (c = Math.ceil(Math.max(i[0].clientHeight, i.outerHeight(!0)))), c && s.height(c)), s.removeClass("fancybox-is-hidden")}})):this.afterLoad(t), e.attr("src", t.src), s.one("onReset", function(){try{n(this).find("iframe").hide().unbind().attr("src", "//about:blank")} catch (t){}n(this).off("refresh.fb").empty(), t.isLoaded = !1})}, setContent:function(t, e){var o = this; o.isClosing || (o.hideLoading(t), t.$content && n.fancybox.stop(t.$content), t.$slide.empty(), l(e) && e.parent().length?(e.parent().parent(".fancybox-slide--inline").trigger("onReset"), t.$placeholder = n("<div>").hide().insertAfter(e), e.css("display", "inline-block")):t.hasError || ("string" === n.type(e) && (e = n("<div>").append(n.trim(e)).contents(), 3 === e[0].nodeType && (e = n("<div>").html(e))), t.opts.filter && (e = n("<div>").html(e).find(t.opts.filter))), t.$slide.one("onReset", function(){n(this).find("video,audio").trigger("pause"), t.$placeholder && (t.$placeholder.after(e.hide()).remove(), t.$placeholder = null), t.$smallBtn && (t.$smallBtn.remove(), t.$smallBtn = null), t.hasError || (n(this).empty(), t.isLoaded = !1)}), n(e).appendTo(t.$slide), n(e).is("video,audio") && (n(e).addClass("fancybox-video"), n(e).wrap("<div></div>"), t.contentType = "video", t.opts.width = t.opts.width || n(e).attr("width"), t.opts.height = t.opts.height || n(e).attr("height")), t.$content = t.$slide.children().filter("div,form,main,video,audio").first().addClass("fancybox-content"), t.$slide.addClass("fancybox-slide--" + t.contentType), this.afterLoad(t))}, setError:function(t){t.hasError = !0, t.$slide.trigger("onReset").removeClass("fancybox-slide--" + t.contentType).addClass("fancybox-slide--error"), t.contentType = "html", this.setContent(t, this.translate(t, t.opts.errorTpl)), t.pos === this.currPos && (this.isAnimating = !1)}, showLoading:function(t){var e = this; t = t || e.current, t && !t.$spinner && (t.$spinner = n(e.translate(e, e.opts.spinnerTpl)).appendTo(t.$slide))}, hideLoading:function(t){var e = this; t = t || e.current, t && t.$spinner && (t.$spinner.remove(), delete t.$spinner)}, afterLoad:function(t){var e = this; e.isClosing || (t.isLoading = !1, t.isLoaded = !0, e.trigger("afterLoad", t), e.hideLoading(t), t.pos === e.currPos && e.updateCursor(), !t.opts.smallBtn || t.$smallBtn && t.$smallBtn.length || (t.$smallBtn = n(e.translate(t, t.opts.btnTpl.smallBtn)).prependTo(t.$content)), t.opts.protect && t.$content && !t.hasError && (t.$content.on("contextmenu.fb", function(t){return 2 == t.button && t.preventDefault(), !0}), "image" === t.type && n('<div class="fancybox-spaceball"></div>').appendTo(t.$content)), e.revealContent(t))}, revealContent:function(t){var e, i, a, s, r = this, c = t.$slide, l = !1, d = !1; return e = t.opts[r.firstRun?"animationEffect":"transitionEffect"], a = t.opts[r.firstRun?"animationDuration":"transitionDuration"], a = parseInt(t.forcedDuration === o?a:t.forcedDuration, 10), t.pos === r.currPos && (t.isComplete?e = !1:r.isAnimating = !0), !t.isMoved && t.pos === r.currPos && a || (e = !1), "zoom" === e && (t.pos === r.currPos && a && "image" === t.type && !t.hasError && (d = r.getThumbPos(t))?l = r.getFitPos(t):e = "fade"), "zoom" === e?(l.scaleX = l.width / d.width, l.scaleY = l.height / d.height, s = t.opts.zoomOpacity, "auto" == s && (s = Math.abs(t.width / t.height - d.width / d.height) > .1), s && (d.opacity = .1, l.opacity = 1), n.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"), d), f(t.$content), void n.fancybox.animate(t.$content, l, a, function(){r.isAnimating = !1, r.complete()})):(r.updateSlide(t), e?(n.fancybox.stop(c), i = "fancybox-animated fancybox-slide--" + (t.pos >= r.prevPos?"next":"previous") + " fancybox-fx-" + e, c.removeAttr("style").removeClass("fancybox-slide--current fancybox-slide--next fancybox-slide--previous").addClass(i), t.$content.removeClass("fancybox-is-hidden"), f(c), void n.fancybox.animate(c, "fancybox-slide--current", a, function(e){c.removeClass(i).removeAttr("style"), t.pos === r.currPos && r.complete()}, !0)):(f(c), t.$content.removeClass("fancybox-is-hidden"), void(t.pos === r.currPos && r.complete())))}, getThumbPos:function(o){var i, a = this, s = !1, r = o.opts.$thumb, c = r && r.length && r[0].ownerDocument === e?r.offset():0, l = function(e){for (var o, i = e[0], a = i.getBoundingClientRect(), s = []; null !== i.parentElement; )"hidden" !== n(i.parentElement).css("overflow") && "auto" !== n(i.parentElement).css("overflow") || s.push(i.parentElement.getBoundingClientRect()), i = i.parentElement; return o = s.every(function(t){var e = Math.min(a.right, t.right) - Math.max(a.left, t.left), n = Math.min(a.bottom, t.bottom) - Math.max(a.top, t.top); return e > 0 && n > 0}), o && a.bottom > 0 && a.right > 0 && a.left < n(t).width() && a.top < n(t).height()}; return c && l(r) && (i = a.$refs.stage.offset(), s = {top:c.top - i.top + parseFloat(r.css("border-top-width") || 0), left:c.left - i.left + parseFloat(r.css("border-left-width") || 0), width:r.width(), height:r.height(), scaleX:1, scaleY:1}), s}, complete:function(){var t = this, o = t.current, i = {}; !o.isMoved && o.isLoaded && (o.isComplete || (o.isComplete = !0, o.$slide.siblings().trigger("onReset"), t.preload("inline"), f(o.$slide), o.$slide.addClass("fancybox-slide--complete"), n.each(t.slides, function(e, o){o.pos >= t.currPos - 1 && o.pos <= t.currPos + 1?i[o.pos] = o:o && (n.fancybox.stop(o.$slide), o.$slide.off().remove())}), t.slides = i), t.isAnimating = !1, t.updateCursor(), t.trigger("afterShow"), o.$slide.find("video,audio").filter(":visible:first").trigger("play"), (n(e.activeElement).is("[disabled]") || o.opts.autoFocus && "image" != o.type && "iframe" !== o.type) && t.focus())}, preload:function(t){var e = this, n = e.slides[e.currPos + 1], o = e.slides[e.currPos - 1]; n && n.type === t && e.loadSlide(n), o && o.type === t && e.loadSlide(o)}, focus:function(){var t, e = this.current; this.isClosing || e && e.isComplete && e.$content && (t = e.$content.find("input[autofocus]:enabled:visible:first"), t.length || (t = e.$content.find("button,:input,[tabindex],a").filter(":enabled:visible:first")), t = t && t.length?t:e.$content, t.trigger("focus"))}, activate:function(){var t = this; n(".fancybox-container").each(function(){var e = n(this).data("FancyBox"); e && e.id !== t.id && !e.isClosing && (e.trigger("onDeactivate"), e.removeEvents(), e.isVisible = !1)}), t.isVisible = !0, (t.current || t.isIdle) && (t.update(), t.updateControls()), t.trigger("onActivate"), t.addEvents()}, close:function(t, e){var o, i, a, s, r, c, l, p = this, h = p.current, g = function(){p.cleanUp(t)}; return!p.isClosing && (p.isClosing = !0, p.trigger("beforeClose", t) === !1?(p.isClosing = !1, d(function(){p.update()}), !1):(p.removeEvents(), h.timouts && clearTimeout(h.timouts), a = h.$content, o = h.opts.animationEffect, i = n.isNumeric(e)?e:o?h.opts.animationDuration:0, h.$slide.off(u).removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"), h.$slide.siblings().trigger("onReset").remove(), i && p.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing"), p.hideLoading(h), p.hideControls(), p.updateCursor(), "zoom" !== o || t !== !0 && a && i && "image" === h.type && !h.hasError && (l = p.getThumbPos(h)) || (o = "fade"), "zoom" === o?(n.fancybox.stop(a), s = n.fancybox.getTranslate(a), c = {top:s.top, left:s.left, scaleX:s.width / l.width, scaleY:s.height / l.height, width:l.width, height:l.height}, r = h.opts.zoomOpacity, "auto" == r && (r = Math.abs(h.width / h.height - l.width / l.height) > .1), r && (l.opacity = 0), n.fancybox.setTranslate(a, c), f(a), n.fancybox.animate(a, l, i, g), !0):(o && i?t === !0?setTimeout(g, i):n.fancybox.animate(h.$slide.removeClass("fancybox-slide--current"), "fancybox-animated fancybox-slide--previous fancybox-fx-" + o, i, g):g(), !0)))}, cleanUp:function(t){var e, o = this, i = n("body"); o.current.$slide.trigger("onReset"), o.$refs.container.empty().remove(), o.trigger("afterClose", t), o.$lastFocus && o.current.opts.backFocus && o.$lastFocus.trigger("focus"), o.current = null, e = n.fancybox.getInstance(), e?e.activate():(i.removeClass("fancybox-active compensate-for-scrollbar"), n("#fancybox-style-noscroll").remove())}, trigger:function(t, e){var o, i = Array.prototype.slice.call(arguments, 1), a = this, s = e && e.opts?e:a.current; return s?i.unshift(s):s = a, i.unshift(a), n.isFunction(s.opts[t]) && (o = s.opts[t].apply(s, i)), o === !1?o:void("afterClose" !== t && a.$refs?a.$refs.container.trigger(t + ".fb", i):r.trigger(t + ".fb", i))}, updateControls:function(t){var e = this, n = e.current, o = n.index, i = n.opts.caption, a = e.$refs.container, s = e.$refs.caption; n.$slide.trigger("refresh"), e.$caption = i && i.length?s.html(i):null, e.isHiddenControls || e.isIdle || e.showControls(), a.find("[data-fancybox-count]").html(e.group.length), a.find("[data-fancybox-index]").html(o + 1), a.find("[data-fancybox-prev]").toggleClass("disabled", !n.opts.loop && o <= 0), a.find("[data-fancybox-next]").toggleClass("disabled", !n.opts.loop && o >= e.group.length - 1), "image" === n.type?a.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href", n.opts.image.src || n.src).show():n.opts.toolbar && a.find("[data-fancybox-download],[data-fancybox-zoom]").hide()}, hideControls:function(){this.isHiddenControls = !0, this.$refs.container.removeClass("fancybox-show-infobar fancybox-show-toolbar fancybox-show-caption fancybox-show-nav")}, showControls:function(){var t = this, e = t.current?t.current.opts:t.opts, n = t.$refs.container; t.isHiddenControls = !1, t.idleSecondsCounter = 0, n.toggleClass("fancybox-show-toolbar", !(!e.toolbar || !e.buttons)).toggleClass("fancybox-show-infobar", !!(e.infobar && t.group.length > 1)).toggleClass("fancybox-show-nav", !!(e.arrows && t.group.length > 1)).toggleClass("fancybox-is-modal", !!e.modal), t.$caption?n.addClass("fancybox-show-caption "):n.removeClass("fancybox-show-caption")}, toggleControls:function(){this.isHiddenControls?this.showControls():this.hideControls()}}), n.fancybox = {version:"3.3.5", defaults:a, getInstance:function(t){var e = n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"), o = Array.prototype.slice.call(arguments, 1); return e instanceof h && ("string" === n.type(t)?e[t].apply(e, o):"function" === n.type(t) && t.apply(e, o), e)}, open:function(t, e, n){return new h(t, e, n)}, close:function(t){var e = this.getInstance(); e && (e.close(), t === !0 && this.close())}, destroy:function(){this.close(!0), r.add("body").off("click.fb-start", "**")}, isMobile:e.createTouch !== o && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent), use3d:function(){var n = e.createElement("div"); return t.getComputedStyle && t.getComputedStyle(n) && t.getComputedStyle(n).getPropertyValue("transform") && !(e.documentMode && e.documentMode < 11)}(), getTranslate:function(t){var e; return!(!t || !t.length) && (e = t[0].getBoundingClientRect(), {top:e.top || 0, left:e.left || 0, width:e.width, height:e.height, opacity:parseFloat(t.css("opacity"))})}, setTranslate:function(t, e){var n = "", i = {}; if (t && e)return e.left === o && e.top === o || (n = (e.left === o?t.position().left:e.left) + "px, " + (e.top === o?t.position().top:e.top) + "px", n = this.use3d?"translate3d(" + n + ", 0px)":"translate(" + n + ")"), e.scaleX !== o && e.scaleY !== o && (n = (n.length?n + " ":"") + "scale(" + e.scaleX + ", " + e.scaleY + ")"), n.length && (i.transform = n), e.opacity !== o && (i.opacity = e.opacity), e.width !== o && (i.width = e.width), e.height !== o && (i.height = e.height), t.css(i)}, animate:function(t, e, i, a, s){var r = !1; n.isFunction(i) && (a = i, i = null), n.isPlainObject(e) || t.removeAttr("style"), n.fancybox.stop(t), t.on(u, function(o){(!o || !o.originalEvent || t.is(o.originalEvent.target) && "z-index" != o.originalEvent.propertyName) && (n.fancybox.stop(t), r && n.fancybox.setTranslate(t, r),
        n.isPlainObject(e)?s === !1 && t.removeAttr("style"):s !== !0 && t.removeClass(e), n.isFunction(a) && a(o))}), n.isNumeric(i) && t.css("transition-duration", i + "ms"), n.isPlainObject(e)?(e.scaleX !== o && e.scaleY !== o && (r = n.extend({}, e, {width:t.width() * e.scaleX, height:t.height() * e.scaleY, scaleX:1, scaleY:1}), delete e.width, delete e.height, t.parent().hasClass("fancybox-slide--image") && t.parent().addClass("fancybox-is-scaling")), n.fancybox.setTranslate(t, e)):t.addClass(e), t.data("timer", setTimeout(function(){t.trigger("transitionend")}, i + 16))}, stop:function(t){t && t.length && (clearTimeout(t.data("timer")), t.off("transitionend").css("transition-duration", ""), t.parent().removeClass("fancybox-is-scaling"))}}, n.fn.fancybox = function(t){var e; return t = t || {}, e = t.selector || !1, e?n("body").off("click.fb-start", e).on("click.fb-start", e, {options:t}, i):this.off("click.fb-start").on("click.fb-start", {items:this, options:t}, i), this}, r.on("click.fb-start", "[data-fancybox]", i), r.on("click.fb-start", "[data-trigger]", function(t){i(t, {$target:n('[data-fancybox="' + n(t.currentTarget).attr("data-trigger") + '"]').eq(n(t.currentTarget).attr("data-index") || 0), $trigger:n(this)})})}}(window, document, window.jQuery || jQuery), function(t){"use strict"; var e = function(e, n, o){if (e)return o = o || "", "object" === t.type(o) && (o = t.param(o, !0)), t.each(n, function(t, n){e = e.replace("$" + t, n || "")}), o.length && (e += (e.indexOf("?") > 0?"&":"?") + o), e}, n = {youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i, params:{autoplay:1, autohide:1, fs:1, rel:0, hd:1, wmode:"transparent", enablejsapi:1, html5:1}, paramPlace:8, type:"iframe", url:"//www.youtube.com/embed/$4", thumb:"//img.youtube.com/vi/$4/hqdefault.jpg"}, vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/, params:{autoplay:1, hd:1, show_title:1, show_byline:1, show_portrait:0, fullscreen:1, api:1}, paramPlace:3, type:"iframe", url:"//player.vimeo.com/video/$2"}, instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i, type:"image", url:"//$1/p/$2/media/?size=l"}, gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i, type:"iframe", url:function(t){return"//maps.google." + t[2] + "/?ll=" + (t[9]?t[9] + "&z=" + Math.floor(t[10]) + (t[12]?t[12].replace(/^\//, "&"):""):t[12] + "").replace(/\?/, "&") + "&output=" + (t[12] && t[12].indexOf("layer=c") > 0?"svembed":"embed")}}, gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i, type:"iframe", url:function(t){return"//maps.google." + t[2] + "/maps?q=" + t[5].replace("query=", "q=").replace("api=1", "") + "&output=embed"}}}; t(document).on("objectNeedsType.fb", function(o, i, a){var s, r, c, l, d, u, f, p = a.src || "", h = !1; s = t.extend(!0, {}, n, a.opts.media), t.each(s, function(n, o){if (c = p.match(o.matcher)){if (h = o.type, f = n, u = {}, o.paramPlace && c[o.paramPlace]){d = c[o.paramPlace], "?" == d[0] && (d = d.substring(1)), d = d.split("&"); for (var i = 0; i < d.length; ++i){var s = d[i].split("=", 2); 2 == s.length && (u[s[0]] = decodeURIComponent(s[1].replace(/\+/g, " ")))}}return l = t.extend(!0, {}, o.params, a.opts[n], u), p = "function" === t.type(o.url)?o.url.call(this, c, l, a):e(o.url, c, l), r = "function" === t.type(o.thumb)?o.thumb.call(this, c, l, a):e(o.thumb, c), "youtube" === n?p = p.replace(/&t=((\d+)m)?(\d+)s/, function(t, e, n, o){return"&start=" + ((n?60 * parseInt(n, 10):0) + parseInt(o, 10))}):"vimeo" === n && (p = p.replace("&%23", "#")), !1}}), h?(a.opts.thumb || a.opts.$thumb && a.opts.$thumb.length || (a.opts.thumb = r), "iframe" === h && (a.opts = t.extend(!0, a.opts, {iframe:{preload:!1, attr:{scrolling:"no"}}})), t.extend(a, {type:h, src:p, origSrc:a.src, contentSource:f, contentType:"image" === h?"image":"gmap_place" == f || "gmap_search" == f?"map":"video"})):p && (a.type = a.opts.defaultType)})}(window.jQuery || jQuery), function(t, e, n){"use strict"; var o = function(){return t.requestAnimationFrame || t.webkitRequestAnimationFrame || t.mozRequestAnimationFrame || t.oRequestAnimationFrame || function(e){return t.setTimeout(e, 1e3 / 60)}}(), i = function(){return t.cancelAnimationFrame || t.webkitCancelAnimationFrame || t.mozCancelAnimationFrame || t.oCancelAnimationFrame || function(e){t.clearTimeout(e)}}(), a = function(e){var n = []; e = e.originalEvent || e || t.e, e = e.touches && e.touches.length?e.touches:e.changedTouches && e.changedTouches.length?e.changedTouches:[e]; for (var o in e)e[o].pageX?n.push({x:e[o].pageX, y:e[o].pageY}):e[o].clientX && n.push({x:e[o].clientX, y:e[o].clientY}); return n}, s = function(t, e, n){return e && t?"x" === n?t.x - e.x:"y" === n?t.y - e.y:Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)):0}, r = function(t){if (t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio') || n.isFunction(t.get(0).onclick) || t.data("selectable"))return!0; for (var e = 0, o = t[0].attributes, i = o.length; e < i; e++)if ("data-fancybox-" === o[e].nodeName.substr(0, 14))return!0; return!1}, c = function(e){var n = t.getComputedStyle(e)["overflow-y"], o = t.getComputedStyle(e)["overflow-x"], i = ("scroll" === n || "auto" === n) && e.scrollHeight > e.clientHeight, a = ("scroll" === o || "auto" === o) && e.scrollWidth > e.clientWidth; return i || a}, l = function(t){for (var e = !1; ; ){if (e = c(t.get(0)))break; if (t = t.parent(), !t.length || t.hasClass("fancybox-stage") || t.is("body"))break}return e}, d = function(t){var e = this; e.instance = t, e.$bg = t.$refs.bg, e.$stage = t.$refs.stage, e.$container = t.$refs.container, e.destroy(), e.$container.on("touchstart.fb.touch mousedown.fb.touch", n.proxy(e, "ontouchstart"))}; d.prototype.destroy = function(){this.$container.off(".fb.touch")}, d.prototype.ontouchstart = function(o){var i = this, c = n(o.target), d = i.instance, u = d.current, f = u.$content, p = "touchstart" == o.type; if (p && i.$container.off("mousedown.fb.touch"), (!o.originalEvent || 2 != o.originalEvent.button) && c.length && !r(c) && !r(c.parent()) && (c.is("img") || !(o.originalEvent.clientX > c[0].clientWidth + c.offset().left))){if (!u || d.isAnimating || d.isClosing)return o.stopPropagation(), void o.preventDefault(); if (i.realPoints = i.startPoints = a(o), i.startPoints.length){if (o.stopPropagation(), i.startEvent = o, i.canTap = !0, i.$target = c, i.$content = f, i.opts = u.opts.touch, i.isPanning = !1, i.isSwiping = !1, i.isZooming = !1, i.isScrolling = !1, i.startTime = (new Date).getTime(), i.distanceX = i.distanceY = i.distance = 0, i.canvasWidth = Math.round(u.$slide[0].clientWidth), i.canvasHeight = Math.round(u.$slide[0].clientHeight), i.contentLastPos = null, i.contentStartPos = n.fancybox.getTranslate(i.$content) || {top:0, left:0}, i.sliderStartPos = i.sliderLastPos || n.fancybox.getTranslate(u.$slide), i.stagePos = n.fancybox.getTranslate(d.$refs.stage), i.sliderStartPos.top -= i.stagePos.top, i.sliderStartPos.left -= i.stagePos.left, i.contentStartPos.top -= i.stagePos.top, i.contentStartPos.left -= i.stagePos.left, n(e).off(".fb.touch").on(p?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch", n.proxy(i, "ontouchend")).on(p?"touchmove.fb.touch":"mousemove.fb.touch", n.proxy(i, "ontouchmove")), n.fancybox.isMobile && e.addEventListener("scroll", i.onscroll, !0), !i.opts && !d.canPan() || !c.is(i.$stage) && !i.$stage.find(c).length)return void(c.is(".fancybox-image") && o.preventDefault()); n.fancybox.isMobile && (l(c) || l(c.parent())) || o.preventDefault(), (1 === i.startPoints.length || u.hasError) && (i.instance.canPan()?(n.fancybox.stop(i.$content), i.$content.css("transition-duration", ""), i.isPanning = !0):i.isSwiping = !0, i.$container.addClass("fancybox-controls--isGrabbing")), 2 === i.startPoints.length && "image" === u.type && (u.isLoaded || u.$ghost) && (i.canTap = !1, i.isSwiping = !1, i.isPanning = !1, i.isZooming = !0, n.fancybox.stop(i.$content), i.$content.css("transition-duration", ""), i.centerPointStartX = .5 * (i.startPoints[0].x + i.startPoints[1].x) - n(t).scrollLeft(), i.centerPointStartY = .5 * (i.startPoints[0].y + i.startPoints[1].y) - n(t).scrollTop(), i.percentageOfImageAtPinchPointX = (i.centerPointStartX - i.contentStartPos.left) / i.contentStartPos.width, i.percentageOfImageAtPinchPointY = (i.centerPointStartY - i.contentStartPos.top) / i.contentStartPos.height, i.startDistanceBetweenFingers = s(i.startPoints[0], i.startPoints[1]))}}}, d.prototype.onscroll = function(t){var n = this; n.isScrolling = !0, e.removeEventListener("scroll", n.onscroll, !0)}, d.prototype.ontouchmove = function(t){var e = this, o = n(t.target); return void 0 !== t.originalEvent.buttons && 0 === t.originalEvent.buttons?void e.ontouchend(t):e.isScrolling || !o.is(e.$stage) && !e.$stage.find(o).length?void(e.canTap = !1):(e.newPoints = a(t), void((e.opts || e.instance.canPan()) && e.newPoints.length && e.newPoints.length && (e.isSwiping && e.isSwiping === !0 || t.preventDefault(), e.distanceX = s(e.newPoints[0], e.startPoints[0], "x"), e.distanceY = s(e.newPoints[0], e.startPoints[0], "y"), e.distance = s(e.newPoints[0], e.startPoints[0]), e.distance > 0 && (e.isSwiping?e.onSwipe(t):e.isPanning?e.onPan():e.isZooming && e.onZoom()))))}, d.prototype.onSwipe = function(e){var a, s = this, r = s.isSwiping, c = s.sliderStartPos.left || 0; if (r !== !0)"x" == r && (s.distanceX > 0 && (s.instance.group.length < 2 || 0 === s.instance.current.index && !s.instance.current.opts.loop)?c += Math.pow(s.distanceX, .8):s.distanceX < 0 && (s.instance.group.length < 2 || s.instance.current.index === s.instance.group.length - 1 && !s.instance.current.opts.loop)?c -= Math.pow( - s.distanceX, .8):c += s.distanceX), s.sliderLastPos = {top:"x" == r?0:s.sliderStartPos.top + s.distanceY, left:c}, s.requestId && (i(s.requestId), s.requestId = null), s.requestId = o(function(){s.sliderLastPos && (n.each(s.instance.slides, function(t, e){var o = e.pos - s.instance.currPos; n.fancybox.setTranslate(e.$slide, {top:s.sliderLastPos.top, left:s.sliderLastPos.left + o * s.canvasWidth + o * e.opts.gutter})}), s.$container.addClass("fancybox-is-sliding"))}); else if (Math.abs(s.distance) > 10){if (s.canTap = !1, s.instance.group.length < 2 && s.opts.vertical?s.isSwiping = "y":s.instance.isDragging || s.opts.vertical === !1 || "auto" === s.opts.vertical && n(t).width() > 800?s.isSwiping = "x":(a = Math.abs(180 * Math.atan2(s.distanceY, s.distanceX) / Math.PI), s.isSwiping = a > 45 && a < 135?"y":"x"), s.canTap = !1, "y" === s.isSwiping && n.fancybox.isMobile && (l(s.$target) || l(s.$target.parent())))return void(s.isScrolling = !0); s.instance.isDragging = s.isSwiping, s.startPoints = s.newPoints, n.each(s.instance.slides, function(t, e){n.fancybox.stop(e.$slide), e.$slide.css("transition-duration", ""), e.inTransition = !1, e.pos === s.instance.current.pos && (s.sliderStartPos.left = n.fancybox.getTranslate(e.$slide).left - n.fancybox.getTranslate(s.instance.$refs.stage).left)}), s.instance.SlideShow && s.instance.SlideShow.isActive && s.instance.SlideShow.stop()}}, d.prototype.onPan = function(){var t = this; return s(t.newPoints[0], t.realPoints[0]) < (n.fancybox.isMobile?10:5)?void(t.startPoints = t.newPoints):(t.canTap = !1, t.contentLastPos = t.limitMovement(), t.requestId && (i(t.requestId), t.requestId = null), void(t.requestId = o(function(){n.fancybox.setTranslate(t.$content, t.contentLastPos)})))}, d.prototype.limitMovement = function(){var t, e, n, o, i, a, s = this, r = s.canvasWidth, c = s.canvasHeight, l = s.distanceX, d = s.distanceY, u = s.contentStartPos, f = u.left, p = u.top, h = u.width, g = u.height; return i = h > r?f + l:f, a = p + d, t = Math.max(0, .5 * r - .5 * h), e = Math.max(0, .5 * c - .5 * g), n = Math.min(r - h, .5 * r - .5 * h), o = Math.min(c - g, .5 * c - .5 * g), l > 0 && i > t && (i = t - 1 + Math.pow( - t + f + l, .8) || 0), l < 0 && i < n && (i = n + 1 - Math.pow(n - f - l, .8) || 0), d > 0 && a > e && (a = e - 1 + Math.pow( - e + p + d, .8) || 0), d < 0 && a < o && (a = o + 1 - Math.pow(o - p - d, .8) || 0), {top:a, left:i}}, d.prototype.limitPosition = function(t, e, n, o){var i = this, a = i.canvasWidth, s = i.canvasHeight; return n > a?(t = t > 0?0:t, t = t < a - n?a - n:t):t = Math.max(0, a / 2 - n / 2), o > s?(e = e > 0?0:e, e = e < s - o?s - o:e):e = Math.max(0, s / 2 - o / 2), {top:e, left:t}}, d.prototype.onZoom = function(){var e = this, a = e.contentStartPos, r = a.width, c = a.height, l = a.left, d = a.top, u = s(e.newPoints[0], e.newPoints[1]), f = u / e.startDistanceBetweenFingers, p = Math.floor(r * f), h = Math.floor(c * f), g = (r - p) * e.percentageOfImageAtPinchPointX, b = (c - h) * e.percentageOfImageAtPinchPointY, m = (e.newPoints[0].x + e.newPoints[1].x) / 2 - n(t).scrollLeft(), y = (e.newPoints[0].y + e.newPoints[1].y) / 2 - n(t).scrollTop(), v = m - e.centerPointStartX, x = y - e.centerPointStartY, w = l + (g + v), $ = d + (b + x), S = {top:$, left:w, scaleX:f, scaleY:f}; e.canTap = !1, e.newWidth = p, e.newHeight = h, e.contentLastPos = S, e.requestId && (i(e.requestId), e.requestId = null), e.requestId = o(function(){n.fancybox.setTranslate(e.$content, e.contentLastPos)})}, d.prototype.ontouchend = function(t){var o = this, s = Math.max((new Date).getTime() - o.startTime, 1), r = o.isSwiping, c = o.isPanning, l = o.isZooming, d = o.isScrolling; return o.endPoints = a(t), o.$container.removeClass("fancybox-controls--isGrabbing"), n(e).off(".fb.touch"), e.removeEventListener("scroll", o.onscroll, !0), o.requestId && (i(o.requestId), o.requestId = null), o.isSwiping = !1, o.isPanning = !1, o.isZooming = !1, o.isScrolling = !1, o.instance.isDragging = !1, o.canTap?o.onTap(t):(o.speed = 366, o.velocityX = o.distanceX / s * .5, o.velocityY = o.distanceY / s * .5, o.speedX = Math.max(.5 * o.speed, Math.min(1.5 * o.speed, 1 / Math.abs(o.velocityX) * o.speed)), void(c?o.endPanning():l?o.endZooming():o.endSwiping(r, d)))}, d.prototype.endSwiping = function(t, e){var o = this, i = !1, a = o.instance.group.length; o.sliderLastPos = null, "y" == t && !e && Math.abs(o.distanceY) > 50?(n.fancybox.animate(o.instance.current.$slide, {top:o.sliderStartPos.top + o.distanceY + 150 * o.velocityY, opacity:0}, 200), i = o.instance.close(!0, 200)):"x" == t && o.distanceX > 50 && a > 1?i = o.instance.previous(o.speedX):"x" == t && o.distanceX < - 50 && a > 1 && (i = o.instance.next(o.speedX)), i !== !1 || "x" != t && "y" != t || (e || a < 2?o.instance.centerSlide(o.instance.current, 150):o.instance.jumpTo(o.instance.current.index)), o.$container.removeClass("fancybox-is-sliding")}, d.prototype.endPanning = function(){var t, e, o, i = this; i.contentLastPos && (i.opts.momentum === !1?(t = i.contentLastPos.left, e = i.contentLastPos.top):(t = i.contentLastPos.left + i.velocityX * i.speed, e = i.contentLastPos.top + i.velocityY * i.speed), o = i.limitPosition(t, e, i.contentStartPos.width, i.contentStartPos.height), o.width = i.contentStartPos.width, o.height = i.contentStartPos.height, n.fancybox.animate(i.$content, o, 330))}, d.prototype.endZooming = function(){var t, e, o, i, a = this, s = a.instance.current, r = a.newWidth, c = a.newHeight; a.contentLastPos && (t = a.contentLastPos.left, e = a.contentLastPos.top, i = {top:e, left:t, width:r, height:c, scaleX:1, scaleY:1}, n.fancybox.setTranslate(a.$content, i), r < a.canvasWidth && c < a.canvasHeight?a.instance.scaleToFit(150):r > s.width || c > s.height?a.instance.scaleToActual(a.centerPointStartX, a.centerPointStartY, 150):(o = a.limitPosition(t, e, r, c), n.fancybox.setTranslate(a.$content, n.fancybox.getTranslate(a.$content)), n.fancybox.animate(a.$content, o, 150)))}, d.prototype.onTap = function(e){var o, i = this, s = n(e.target), r = i.instance, c = r.current, l = e && a(e) || i.startPoints, d = l[0]?l[0].x - n(t).scrollLeft() - i.stagePos.left:0, u = l[0]?l[0].y - n(t).scrollTop() - i.stagePos.top:0, f = function(t){var o = c.opts[t]; if (n.isFunction(o) && (o = o.apply(r, [c, e])), o)switch (o){case"close":r.close(i.startEvent); break; case"toggleControls":r.toggleControls(!0); break; case"next":r.next(); break; case"nextOrClose":r.group.length > 1?r.next():r.close(i.startEvent); break; case"zoom":"image" == c.type && (c.isLoaded || c.$ghost) && (r.canPan()?r.scaleToFit():r.isScaledDown()?r.scaleToActual(d, u):r.group.length < 2 && r.close(i.startEvent))}}; if ((!e.originalEvent || 2 != e.originalEvent.button) && (s.is("img") || !(d > s[0].clientWidth + s.offset().left))){if (s.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))o = "Outside"; else if (s.is(".fancybox-slide"))o = "Slide"; else{if (!r.current.$content || !r.current.$content.find(s).addBack().filter(s).length)return; o = "Content"}if (i.tapped){if (clearTimeout(i.tapped), i.tapped = null, Math.abs(d - i.tapX) > 50 || Math.abs(u - i.tapY) > 50)return this; f("dblclick" + o)} else i.tapX = d, i.tapY = u, c.opts["dblclick" + o] && c.opts["dblclick" + o] !== c.opts["click" + o]?i.tapped = setTimeout(function(){i.tapped = null, f("click" + o)}, 500):f("click" + o); return this}}, n(e).on("onActivate.fb", function(t, e){e && !e.Guestures && (e.Guestures = new d(e))})}(window, document, window.jQuery || jQuery), function(t, e){"use strict"; e.extend(!0, e.fancybox.defaults, {btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg viewBox="0 0 40 40"><path d="M13,12 L27,20 L13,27 Z" /><path d="M15,10 v19 M23,10 v19" /></svg></button>'}, slideShow:{autoStart:!1, speed:3e3}}); var n = function(t){this.instance = t, this.init()}; e.extend(n.prototype, {timer:null, isActive:!1, $button:null, init:function(){var t = this; t.$button = t.instance.$refs.toolbar.find("[data-fancybox-play]").on("click", function(){t.toggle()}), (t.instance.group.length < 2 || !t.instance.group[t.instance.currIndex].opts.slideShow) && t.$button.hide()}, set:function(t){var e = this; e.instance && e.instance.current && (t === !0 || e.instance.current.opts.loop || e.instance.currIndex < e.instance.group.length - 1)?e.timer = setTimeout(function(){e.isActive && e.instance.jumpTo((e.instance.currIndex + 1) % e.instance.group.length)}, e.instance.current.opts.slideShow.speed):(e.stop(), e.instance.idleSecondsCounter = 0, e.instance.showControls())}, clear:function(){var t = this; clearTimeout(t.timer), t.timer = null}, start:function(){var t = this, e = t.instance.current; e && (t.isActive = !0, t.$button.attr("title", e.opts.i18n[e.opts.lang].PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"), t.set(!0))}, stop:function(){var t = this, e = t.instance.current; t.clear(), t.$button.attr("title", e.opts.i18n[e.opts.lang].PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"), t.isActive = !1}, toggle:function(){var t = this; t.isActive?t.stop():t.start()}}), e(t).on({"onInit.fb":function(t, e){e && !e.SlideShow && (e.SlideShow = new n(e))}, "beforeShow.fb":function(t, e, n, o){var i = e && e.SlideShow; o?i && n.opts.slideShow.autoStart && i.start():i && i.isActive && i.clear()}, "afterShow.fb":function(t, e, n){var o = e && e.SlideShow; o && o.isActive && o.set()}, "afterKeydown.fb":function(n, o, i, a, s){var r = o && o.SlideShow; !r || !i.opts.slideShow || 80 !== s && 32 !== s || e(t.activeElement).is("button,a,input") || (a.preventDefault(), r.toggle())}, "beforeClose.fb onDeactivate.fb":function(t, e){var n = e && e.SlideShow; n && n.stop()}}), e(t).on("visibilitychange", function(){var n = e.fancybox.getInstance(), o = n && n.SlideShow; o && o.isActive && (t.hidden?o.clear():o.set())})}(document, window.jQuery || jQuery), function(t, e){"use strict"; var n = function(){for (var e = [["requestFullscreen", "exitFullscreen", "fullscreenElement", "fullscreenEnabled", "fullscreenchange", "fullscreenerror"], ["webkitRequestFullscreen", "webkitExitFullscreen", "webkitFullscreenElement", "webkitFullscreenEnabled", "webkitfullscreenchange", "webkitfullscreenerror"], ["webkitRequestFullScreen", "webkitCancelFullScreen", "webkitCurrentFullScreenElement", "webkitCancelFullScreen", "webkitfullscreenchange", "webkitfullscreenerror"], ["mozRequestFullScreen", "mozCancelFullScreen", "mozFullScreenElement", "mozFullScreenEnabled", "mozfullscreenchange", "mozfullscreenerror"], ["msRequestFullscreen", "msExitFullscreen", "msFullscreenElement", "msFullscreenEnabled", "MSFullscreenChange", "MSFullscreenError"]], n = {}, o = 0; o < e.length; o++){var i = e[o]; if (i && i[1]in t){for (var a = 0; a < i.length; a++)n[e[0][a]] = i[a]; return n}}return!1}(); if (!n)return void(e && e.fancybox && (e.fancybox.defaults.btnTpl.fullScreen = !1)); var o = {request:function(e){e = e || t.documentElement, e[n.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)}, exit:function(){t[n.exitFullscreen]()}, toggle:function(e){e = e || t.documentElement, this.isFullscreen()?this.exit():this.request(e)}, isFullscreen:function(){return Boolean(t[n.fullscreenElement])}, enabled:function(){return Boolean(t[n.fullscreenEnabled])}}; e.extend(!0, e.fancybox.defaults, {btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fullscreen" title="{{FULL_SCREEN}}"><svg viewBox="0 0 40 40"><path d="M9,12 v16 h22 v-16 h-22 v8" /></svg></button>'}, fullScreen:{autoStart:!1}}), e(t).on({"onInit.fb":function(t, e){var n; e && e.group[e.currIndex].opts.fullScreen?(n = e.$refs.container, n.on("click.fb-fullscreen", "[data-fancybox-fullscreen]", function(t){t.stopPropagation(), t.preventDefault(), o.toggle()}), e.opts.fullScreen && e.opts.fullScreen.autoStart === !0 && o.request(), e.FullScreen = o):e && e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide()}, "afterKeydown.fb":function(t, e, n, o, i){e && e.FullScreen && 70 === i && (o.preventDefault(), e.FullScreen.toggle())}, "beforeClose.fb":function(t, e){e && e.FullScreen && e.$refs.container.hasClass("fancybox-is-fullscreen") && o.exit()}}), e(t).on(n.fullscreenchange, function(){var t = o.isFullscreen(), n = e.fancybox.getInstance(); n && (n.current && "image" === n.current.type && n.isAnimating && (n.current.$content.css("transition", "none"), n.isAnimating = !1, n.update(!0, !0, 0)), n.trigger("onFullscreenChange", t), n.$refs.container.toggleClass("fancybox-is-fullscreen", t))})}(document, window.jQuery || jQuery), function(t, e){"use strict"; var n = "fancybox-thumbs", o = n + "-active", i = n + "-loading"; e.fancybox.defaults = e.extend(!0, {btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg viewBox="0 0 120 120"><path d="M30,30 h14 v14 h-14 Z M50,30 h14 v14 h-14 Z M70,30 h14 v14 h-14 Z M30,50 h14 v14 h-14 Z M50,50 h14 v14 h-14 Z M70,50 h14 v14 h-14 Z M30,70 h14 v14 h-14 Z M50,70 h14 v14 h-14 Z M70,70 h14 v14 h-14 Z" /></svg></button>'}, thumbs:{autoStart:!1, hideOnClose:!0, parentEl:".fancybox-container", axis:"y"}}, e.fancybox.defaults); var a = function(t){this.init(t)}; e.extend(a.prototype, {$button:null, $grid:null, $list:null, isVisible:!1, isActive:!1, init:function(t){var e, n, o = this; o.instance = t, t.Thumbs = o, o.opts = t.group[t.currIndex].opts.thumbs, e = t.group[0], e = e.opts.thumb || !(!e.opts.$thumb || !e.opts.$thumb.length) && e.opts.$thumb.attr("src"), t.group.length > 1 && (n = t.group[1], n = n.opts.thumb || !(!n.opts.$thumb || !n.opts.$thumb.length) && n.opts.$thumb.attr("src")), o.$button = t.$refs.toolbar.find("[data-fancybox-thumbs]"), o.opts && e && n && e && n?(o.$button.show().on("click", function(){o.toggle()}), o.isActive = !0):o.$button.hide()}, create:function(){var t, o = this, a = o.instance, s = o.opts.parentEl, r = []; o.$grid || (o.$grid = e('<div class="' + n + " " + n + "-" + o.opts.axis + '"></div>').appendTo(a.$refs.container.find(s).addBack().filter(s)), o.$grid.on("click", "li", function(){a.jumpTo(e(this).attr("data-index"))})), o.$list || (o.$list = e("<ul>").appendTo(o.$grid)), e.each(a.group, function(e, n){t = n.opts.thumb || (n.opts.$thumb?n.opts.$thumb.attr("src"):null), t || "image" !== n.type || (t = n.src), r.push('<li data-index="' + e + '" tabindex="0" class="' + i + '"' + (t && t.length?' style="background-image:url(' + t + ')" />':"") + "></li>")}), o.$list[0].innerHTML = r.join(""), "x" === o.opts.axis && o.$list.width(parseInt(o.$grid.css("padding-right"), 10) + a.group.length * o.$list.children().eq(0).outerWidth(!0))}, focus:function(t){var e, n, i = this, a = i.$list, s = i.$grid; i.instance.current && (e = a.children().removeClass(o).filter('[data-index="' + i.instance.current.index + '"]').addClass(o), n = e.position(), "y" === i.opts.axis && (n.top < 0 || n.top > a.height() - e.outerHeight())?a.stop().animate({scrollTop:a.scrollTop() + n.top}, t):"x" === i.opts.axis && (n.left < s.scrollLeft() || n.left > s.scrollLeft() + (s.width() - e.outerWidth())) && a.parent().stop().animate({scrollLeft:n.left}, t))}, update:function(){var t = this; t.instance.$refs.container.toggleClass("fancybox-show-thumbs", this.isVisible), t.isVisible?(t.$grid || t.create(), t.instance.trigger("onThumbsShow"), t.focus(0)):t.$grid && t.instance.trigger("onThumbsHide"), t.instance.update()}, hide:function(){this.isVisible = !1, this.update()}, show:function(){this.isVisible = !0, this.update()}, toggle:function(){this.isVisible = !this.isVisible, this.update()}}), e(t).on({"onInit.fb":function(t, e){var n; e && !e.Thumbs && (n = new a(e), n.isActive && n.opts.autoStart === !0 && n.show())}, "beforeShow.fb":function(t, e, n, o){var i = e && e.Thumbs; i && i.isVisible && i.focus(o?0:250)}, "afterKeydown.fb":function(t, e, n, o, i){var a = e && e.Thumbs; a && a.isActive && 71 === i && (o.preventDefault(), a.toggle())}, "beforeClose.fb":function(t, e){var n = e && e.Thumbs; n && n.isVisible && n.opts.hideOnClose !== !1 && n.$grid.hide()}})}(document, window.jQuery || jQuery), function(t, e){"use strict"; function n(t){var e = {"&":"&amp;", "<":"&lt;", ">":"&gt;", '"':"&quot;", "'":"&#39;", "/":"&#x2F;", "`":"&#x60;", "=":"&#x3D;"}; return String(t).replace(/[&<>"'`=\/]/g, function(t){return e[t]})}e.extend(!0, e.fancybox.defaults, {btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg viewBox="0 0 40 40"><path d="M6,30 C8,18 19,16 23,16 L23,16 L23,10 L33,20 L23,29 L23,24 C19,24 8,27 6,30 Z"></svg></button>'}, share:{url:function(t, e){return!t.currentHash && "inline" !== e.type && "html" !== e.type && (e.origSrc || e.src) || window.location}, tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" /></p></div>'}}), e(t).on("click", "[data-fancybox-share]", function(){var t, o, i = e.fancybox.getInstance(), a = i.current || null; a && ("function" === e.type(a.opts.share.url) && (t = a.opts.share.url.apply(a, [i, a])), o = a.opts.share.tpl.replace(/\{\{media\}\}/g, "image" === a.type?encodeURIComponent(a.src):"").replace(/\{\{url\}\}/g, encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g, n(t)).replace(/\{\{descr\}\}/g, i.$caption?encodeURIComponent(i.$caption.text()):""), e.fancybox.open({src:i.translate(i, o), type:"html", opts:{animationEffect:!1, afterLoad:function(t, e){i.$refs.container.one("beforeClose.fb", function(){t.close(null, 0)}), e.$content.find(".fancybox-share__links a").click(function(){return window.open(this.href, "Share", "width=550, height=450"), !1})}}}))})}(document, window.jQuery || jQuery), function(t, e, n){"use strict"; function o(){var t = e.location.hash.substr(1), n = t.split("-"), o = n.length > 1 && /^\+?\d+$/.test(n[n.length - 1])?parseInt(n.pop( - 1), 10) || 1:1, i = n.join("-"); return{hash:t, index:o < 1?1:o, gallery:i}}function i(t){var e; "" !== t.gallery && (e = n("[data-fancybox='" + n.escapeSelector(t.gallery) + "']").eq(t.index - 1).trigger("click.fb-start"))}function a(t){var e, n; return!!t && (e = t.current?t.current.opts:t.opts, n = e.hash || (e.$orig?e.$orig.data("fancybox"):""), "" !== n && n)}n.escapeSelector || (n.escapeSelector = function(t){var e = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g, n = function(t, e){return e?"\0" === t?"�":t.slice(0, - 1) + "\\" + t.charCodeAt(t.length - 1).toString(16) + " ":"\\" + t}; return(t + "").replace(e, n)}), n(function(){n.fancybox.defaults.hash !== !1 && (n(t).on({"onInit.fb":function(t, e){var n, i; e.group[e.currIndex].opts.hash !== !1 && (n = o(), i = a(e), i && n.gallery && i == n.gallery && (e.currIndex = n.index - 1))}, "beforeShow.fb":function(n, o, i, s){var r; i && i.opts.hash !== !1 && (r = a(o), r && (o.currentHash = r + (o.group.length > 1?"-" + (i.index + 1):""), e.location.hash !== "#" + o.currentHash && (o.origHash || (o.origHash = e.location.hash), o.hashTimer && clearTimeout(o.hashTimer), o.hashTimer = setTimeout(function(){"replaceState"in e.history?(e.history[s?"pushState":"replaceState"]({}, t.title, e.location.pathname + e.location.search + "#" + o.currentHash), s && (o.hasCreatedHistory = !0)):e.location.hash = o.currentHash, o.hashTimer = null}, 300))))}, "beforeClose.fb":function(n, o, i){var s; i.opts.hash !== !1 && (s = a(o), o.currentHash && o.hasCreatedHistory?e.history.back():o.currentHash && ("replaceState"in e.history?e.history.replaceState({}, t.title, e.location.pathname + e.location.search + (o.origHash || "")):e.location.hash = o.origHash), o.currentHash = null, clearTimeout(o.hashTimer))}}), n(e).on("hashchange.fb", function(){var t, e = o(); n.each(n(".fancybox-container").get().reverse(), function(e, o){var i = n(o).data("FancyBox"); if (i.currentHash)return t = i, !1}), t?!t.currentHash || t.currentHash === e.gallery + "-" + e.index || 1 === e.index && t.currentHash == e.gallery || (t.currentHash = null, t.close()):"" !== e.gallery && i(e)}), setTimeout(function(){n.fancybox.getInstance() || i(o())}, 50))})}(document, window, window.jQuery || jQuery), function(t, e){"use strict"; var n = (new Date).getTime(); e(t).on({"onInit.fb":function(t, e, o){e.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll", function(t){var o = e.current, i = (new Date).getTime(); e.group.length < 2 || o.opts.wheel === !1 || "auto" === o.opts.wheel && "image" !== o.type || (t.preventDefault(), t.stopPropagation(), o.$slide.hasClass("fancybox-animated") || (t = t.originalEvent || t, i - n < 250 || (n = i, e[( - t.deltaY || - t.deltaX || t.wheelDelta || - t.detail) < 0?"next":"previous"]())))})}})}(document, window.jQuery || jQuery);
// source --> https://www.larochebeaucourt.fr/wp-includes/js/imagesloaded.min.js?ver=5.0.0 
/*! This file is auto-generated */
/*!
 * imagesLoaded PACKAGED v5.0.0
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */
!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})),
/*!
 * imagesLoaded v5.0.0
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */
function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,s="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,s,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(h.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n}));
// source --> https://www.larochebeaucourt.fr/wp-includes/js/masonry.min.js?ver=4.2.2 
/*! This file is auto-generated */
/*!
 * Masonry PACKAGED v4.2.2
 * Cascading grid layout library
 * https://masonry.desandro.com
 * MIT License
 * by David DeSandro
 */

!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,r,a){function h(t,e,n){var o,r="$()."+i+'("'+e+'")';return t.each(function(t,h){var u=a.data(h,i);if(!u)return void s(i+" not initialized. Cannot call methods, i.e. "+r);var d=u[e];if(!d||"_"==e.charAt(0))return void s(r+" is not a valid method");var l=d.apply(u,n);o=void 0===o?l:o}),void 0!==o?o:t}function u(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new r(n,e),a.data(n,i,o))})}a=a||e||t.jQuery,a&&(r.prototype.option||(r.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=o.call(arguments,1);return h(this,t,e)}return u(this,t),this},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,r=t.console,s="undefined"==typeof r?function(){}:function(t){r.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||{};return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var r=i[o],s=n&&n[r];s&&(this.off(t,r),delete n[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=-1==t.indexOf("%")&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;u>e;e++){var i=h[e];t[i]=0}return t}function n(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function o(){if(!d){d=!0;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.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);s=200==Math.round(t(o.width)),r.isBoxSizeOuter=s,i.removeChild(e)}}function r(e){if(o(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var r=n(e);if("none"==r.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==r.boxSizing,l=0;u>l;l++){var c=h[l],f=r[c],m=parseFloat(f);a[c]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,y=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,z=a.borderTopWidth+a.borderBottomWidth,E=d&&s,b=t(r.width);b!==!1&&(a.width=b+(E?0:p+_));var x=t(r.height);return x!==!1&&(a.height=x+(E?0:g+z)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(g+z),a.outerWidth=a.width+y,a.outerHeight=a.height+v,a}}var s,a="undefined"==typeof console?e:function(t){console.error(t)},h=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=h.length,d=!1;return r}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i],o=n+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e};var n=Array.prototype.slice;i.makeArray=function(t){if(Array.isArray(t))return t;if(null===t||void 0===t)return[];var e="object"==typeof t&&"number"==typeof t.length;return e?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!n)return void o.push(t);e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}}),o},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var r=i.toDashed(n),s="data-"+r,a=document.querySelectorAll("["+s+"]"),h=document.querySelectorAll(".js-"+r),u=i.makeArray(a).concat(i.makeArray(h)),d=s+"-options",l=t.jQuery;u.forEach(function(t){var i,r=t.getAttribute(s)||t.getAttribute(d);try{i=r&&JSON.parse(r)}catch(a){return void(o&&o.error("Error parsing "+s+" on "+t.className+": "+a))}var h=new e(t,i);l&&l.data(t,n,h)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t){for(var e in t)return!1;return e=null,!0}function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var r=document.documentElement.style,s="string"==typeof r.transition?"transition":"WebkitTransition",a="string"==typeof r.transform?"transform":"WebkitTransform",h={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[s],u={transform:a,transition:s,transitionDuration:s+"Duration",transitionProperty:s+"Property",transitionDelay:s+"Delay"},d=n.prototype=Object.create(t.prototype);d.constructor=n,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var e=this.element.style;for(var i in t){var n=u[i]||i;e[n]=t[i]}},d.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],r=parseFloat(n),s=parseFloat(o),a=this.layout.size;-1!=n.indexOf("%")&&(r=r/100*a.width),-1!=o.indexOf("%")&&(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=e?a.paddingLeft:a.paddingRight,s-=i?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},d.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var h=n?"paddingTop":"paddingBottom",u=n?"top":"bottom",d=n?"bottom":"top",l=this.position.y+t[h];e[u]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),o&&!this.isTransitioning)return void this.layoutPosition();var r=t-i,s=e-n,a={};a.transform=this.getTranslate(r,s),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop");return t=i?t:-t,e=n?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l="opacity,"+o(a);d.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(h,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};d.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=c[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],i(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd){var o=e.onEnd[n];o.call(this),delete e.onEnd[n]}this.emitEvent("transitionEnd",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(f)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return s&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,r){return e(t,i,n,o,r)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";function r(t,e){var i=n.getQueryElement(t);if(!i)return void(h&&h.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,u&&(this.$element=u(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++l;this.element.outlayerGUID=o,c[o]=this,this._create();var r=this._getOption("initLayout");r&&this.layout()}function s(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],n=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var o=m[n]||1;return i*o}var h=t.console,u=t.jQuery,d=function(){},l=0,c={};r.namespace="outlayer",r.Item=o,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=r.prototype;n.extend(f,e.prototype),f.option=function(t){n.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=e[o],s=new i(r,this);n.push(s)}return n},f._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},f._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},f._getContainerSize=d,f._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.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"}},f._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){s++,s==r&&i()}var o=this,r=e.length;if(!e||!r)return void i();var s=0;e.forEach(function(e){e.once(t,n)})},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),u)if(this.$element=this.$element||u(this.element),e){var o=u.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n.makeArray(t)):void 0},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=d,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t),r={left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom};return r},f.handleEvent=n.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},n.debounceMethod(r,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=n.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&c[e]},r.create=function(t,e){var i=s(r);return i.defaults=n.extend({},r.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},r.compatOptions),i.namespace=t,i.data=r.data,i.Item=s(o),n.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var m={ms:1,s:1e3};return r.Item=o,r}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var n=i.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/n,s=n-o%n,a=s&&1>s?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},n.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,n=e(i);this.containerWidth=n&&n.innerWidth},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&1>e?"round":"ceil",n=Math[i](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var o=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",r=this[o](n,t),s={x:this.columnWidth*r.col,y:r.y},a=r.y+t.size.outerHeight,h=n+r.col,u=r.col;h>u;u++)this.colYs[u]=a;return s},n._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},n._getTopColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i>n;n++)e[n]=this._getColGroupY(n,t);return e},n._getColGroupY=function(t,e){if(2>e)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},n._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,n=t>1&&i+t>this.cols;i=n?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft"),r=o?n.left:n.right,s=r+i.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var h=Math.floor(s/this.columnWidth);h-=s%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var u=this._getOption("originTop"),d=(u?n.top:n.bottom)+i.outerHeight,l=a;h>=l;l++)this.colYs[l]=Math.max(d,this.colYs[l])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i});
// source --> https://www.larochebeaucourt.fr/wp-includes/js/jquery/jquery.masonry.min.js?ver=3.1.2b 
/*!
 * Masonry v2 shim
 * to maintain backwards compatibility
 * as of Masonry v3.1.2
 *
 * Cascading grid layout library
 * http://masonry.desandro.com
 * MIT License
 * by David DeSandro
 */
!function(a){"use strict";var b=a.Masonry;b.prototype._remapV2Options=function(){this._remapOption("gutterWidth","gutter"),this._remapOption("isResizable","isResizeBound"),this._remapOption("isRTL","isOriginLeft",function(a){return!a});var a=this.options.isAnimated;if(void 0!==a&&(this.options.transitionDuration=a?this.options.transitionDuration:0),void 0===a||a){var b=this.options.animationOptions,c=b&&b.duration;c&&(this.options.transitionDuration="string"==typeof c?c:c+"ms")}},b.prototype._remapOption=function(a,b,c){var d=this.options[a];void 0!==d&&(this.options[b]=c?c(d):d)};var c=b.prototype._create;b.prototype._create=function(){var a=this;this._remapV2Options(),c.apply(this,arguments),setTimeout(function(){jQuery(a.element).addClass("masonry")},0)};var d=b.prototype.layout;b.prototype.layout=function(){this._remapV2Options(),d.apply(this,arguments)};var e=b.prototype.option;b.prototype.option=function(){e.apply(this,arguments),this._remapV2Options()};var f=b.prototype._itemize;b.prototype._itemize=function(a){var b=f.apply(this,arguments);return jQuery(a).addClass("masonry-brick"),b};var g=b.prototype.measureColumns;b.prototype.measureColumns=function(){var a=this.options.columnWidth;a&&"function"==typeof a&&(this.getContainerWidth(),this.columnWidth=a(this.containerWidth)),g.apply(this,arguments)},b.prototype.reload=function(){this.reloadItems.apply(this,arguments),this.layout.apply(this)};var h=b.prototype.destroy;b.prototype.destroy=function(){var a=this.getItemElements();jQuery(this.element).removeClass("masonry"),jQuery(a).removeClass("masonry-brick"),h.apply(this,arguments)}}(window);
// source --> https://www.larochebeaucourt.fr/wp-content/plugins/gallery-showcase-pro/assets/js/script.js?ver=224eecded61822e685e79150a571c0fd 
jQuery(document).ready(function () {

    "use strict";

    itemHeight();

    jQuery("[data-fancybox]").fancybox({
        loop: true,
        titlePosition: 'inside',
        transitionIn: 'elastic',
        transitionOut: 'elastic',
        easingIn: 'easeOutBack',
        easingOut: 'easeInBack',
        thumbs: {
            autoStart: true
        },
        buttons: [
            'zoom',
            'close'
        ]
    });

    jQuery(".layout-cover.slider_layout").each(function (index) {
        var post_id = jQuery(this).data('post_slider_id');
        
        jQuery('.layout-cover.slider_layout.' + post_id).owlCarousel({
            items: jQuery('.layout-cover.slider_layout.' + post_id).data('clm_desktop'),
            itemsDesktop: [980, jQuery('.layout-cover.slider_layout.' + post_id).data('clm_small_desktop')],
            itemsTablet: [800, jQuery('.layout-cover.slider_layout.' + post_id).data('clm_tablet')],
            itemsMobile: [600, jQuery('.layout-cover.slider_layout.' + post_id).data('clm_mobile')],
            pagination: true,
            autoPlay: true,
            navigation: true,
            navigationText: [
                "<span></span>",
                "<span></span>"
            ],
        });
    });

    // Filter toggle active class
    jQuery('.filter-nav .nav-item ').on( 'click' , function (e) {
        e.preventDefault();

        // uniqID
        let id = '#' + jQuery(this).data('shortcode');

        // reset active class
        jQuery(id + ' .nav-item ').removeClass("active");

        // add active class to selected
        jQuery(this).addClass("active");

        // return needed to make function work
        return false;
    });

    // Filter For Grid and Masonry
    jQuery(".filter-nav .nav-item").on('click', function (e) {
        e.preventDefault();

        // uniqID
        let id = '#' + jQuery(this).data('shortcode');

        // layout type
        let LayoutType = jQuery(this).data('layout-type');

        // assigns class to selected item
        var selectedClass = jQuery(this).attr("data-filter");

        // get responsive column
        var clm_desktop = parseInt(jQuery(this).parent().next().attr("data-clm_desktop"));
        var clm_small_desktop = parseInt(jQuery(this).parent().next().attr("data-clm_small_desktop"));
        var clm_tablet = parseInt(jQuery(this).parent().next().attr("data-clm_tablet"));
        var clm_mobile = parseInt(jQuery(this).parent().next().attr("data-clm_mobile"));

        if(LayoutType != "slider_layout") {
            if (selectedClass == "all") {
                // fades in all portfolio items
                jQuery(id + " .gspwp-content").show(300);
            } else {
                // fades out all portfolio items
                jQuery(id + " .gspwp-content").hide(300);
    
                // fades in selected category
                jQuery(id + " .gspwp-content." + selectedClass).show(300);
            }
        }

        if (LayoutType == "masonry_layout") {

            var DeviceColumnNumber = clm_desktop + 1

            /**
             *  > 721px to <= 980px
             */
            if (window.matchMedia('(min-width:721px) and (max-width: 980px)').matches) {
                DeviceColumnNumber = clm_small_desktop
            }

            /**
             *  > 601px to <= 720px
             */
            if (window.matchMedia('(min-width: 768px) and (max-width: 1366px)').matches) {
                DeviceColumnNumber = clm_tablet
            }

            /**
             * <= 480px
             */
            if (window.matchMedia('screen and (max-width: 600px)').matches) {
                DeviceColumnNumber = clm_mobile
            }

            setTimeout(() => {
                jQuery('.masonry_layout').masonry({
                    itemSelector: '.gspwp-content',
                    isResizable: true,
                    columnWidth: DeviceColumnNumber,
                    isAnimated: true
                });
            }, 600);

        }
    });

    // Slider With filter filters 
    jQuery('.filter-nav .nav-item').on('click', function (e) {
        e.preventDefault();

        // uniqID
        let id = '#' + jQuery(this).data('shortcode');
        // filter cat
        let cat = jQuery(this).data('filter');
        // layout type
        let LayoutType = jQuery(this).data('layout-type');

        if (LayoutType == "slider_layout") {
            var elem;

            if (cat == 'all') {
                jQuery(id + ' .hold-filter-item .gspwp-content').each(function () {
                    var owl = jQuery(id + " .owl-carousel").data('owlCarousel');
                    elem = jQuery(this).parent().html();

                    owl.addItem(elem);
                    jQuery(this).parent().remove();
                });
            } else {
                jQuery(id + ' .hold-filter-item .gspwp-content.' + cat).each(function () {
                    var owl = jQuery(id + " .owl-carousel").data('owlCarousel');
                    elem = jQuery(this).parent().html();

                    owl.addItem(elem);
                    jQuery(this).parent().remove();
                });

                jQuery(id + ' .slider_layout .gspwp-content:not(.gspwp-content.' + cat + ')').each(function () {
                    var owl = jQuery(id + " .owl-carousel").data('owlCarousel');
                    var targetPos = jQuery(this).parent().index();
                    elem = jQuery(this).parent();

                    jQuery(elem).clone().appendTo(jQuery(id + ' .hold-filter-item'));
                    owl.removeItem(targetPos);
                });
            }
        }
    });

});

jQuery(window).resize(function () {
    itemHeight();
    gsAnimateElement();
    gsMasonry();
});

jQuery(window).load(function () {
    gsMasonry();
    gsAnimateElement();
});

jQuery(window).scroll(function () {
    gsAnimateElement();
});

function gsMasonry() {
    jQuery('.masonry_layout').imagesLoaded(function () {
        jQuery('.masonry_layout').masonry({
            itemSelector: '.gspwp-content',
            isResizable: true,
            columnWidth: 0,
            isAnimated: true
        });
    });
}

var windowHeight = jQuery(window).height();
function gsAnimateElement() {
    var windowTop;
    windowTop = jQuery(window).scrollTop(); // calculate distance from top of window
    // loop through each item to check when it animates
    jQuery('.gspwp_animate').each(function () {
        var gsElement = jQuery(this);
        if (gsElement.hasClass('animated')) {
            return true;
        } // if already animated skip to the next item
        var gsTopOffse = gsElement.offset().top; // element's distance from top of page in pixels
        if (windowTop > (gsTopOffse - (windowHeight * .99))) {
            // animate when top of the window is 3/4 above the element
            gsElement.addClass('animated');
            effect = gsElement.attr('data-effect');
            gsElement.addClass(effect);
        }
    });
}

function itemHeight() {
    jQuery('.inspirational.layla figure').each(function () {
        var $itemHeight = jQuery(this).height();
        $itemHeight = $itemHeight - 30;
        jQuery(this).css('height', $itemHeight + 'px');
    });
};
// source --> https://www.larochebeaucourt.fr/wp-content/plugins/cardoza-3d-tag-cloud/jquery.tagcanvas.min.js?ver=224eecded61822e685e79150a571c0fd 
/**
 * Copyright (C) 2010-2012 Graham Breach
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
/**
 * jQuery.tagcanvas 1.19
 * For more information, please contact <graham@goat1000.com>
 */
(function(T){var ac,ab,Q=Math.abs,t=Math.sin,l=Math.cos,E=Math.max,ag=Math.min,G={},I={},L={0:"0,",1:"17,",2:"34,",3:"51,",4:"68,",5:"85,",6:"102,",7:"119,",8:"136,",9:"153,",a:"170,",A:"170,",b:"187,",B:"187,",c:"204,",C:"204,",d:"221,",D:"221,",e:"238,",E:"238,",f:"255,",F:"255,"},f,U,e,n=document,D,d={};for(ac=0;ac<256;++ac){ab=ac.toString(16);if(ac<16){ab="0"+ab}I[ab]=I[ab.toUpperCase()]=ac.toString()+","}function Y(i){return typeof(i)!="undefined"}function b(i,j,ai){return isNaN(i)?ai:ag(ai,E(j,i))}function O(){return false}function S(j){var aj=j.length-1,ai,ak;while(aj){ak=~~(Math.random()*aj);ai=j[aj];j[aj]=j[ak];j[ak]=ai;--aj}}function q(aj,al,aq,an){var am,ap,j,ao,ar=[],ak=Math.PI*(3-Math.sqrt(5)),ai=2/aj;for(am=0;am<aj;++am){ap=am*ai-1+(ai/2);j=Math.sqrt(1-ap*ap);ao=am*ak;ar.push([l(ao)*j*al,ap*aq,t(ao)*j*an])}return ar}function af(ak,ai,an,au,ar){var at,av=[],al=Math.PI*(3-Math.sqrt(5)),aj=2/ak,aq,ap,ao,am;for(aq=0;aq<ak;++aq){ap=aq*aj-1+(aj/2);at=aq*al;ao=l(at);am=t(at);av.push(ai?[ap*an,ao*au,am*ar]:[ao*an,ap*au,am*ar])}return av}function K(ai,aj,am,at,aq,ao){var ar,au=[],ak=Math.PI*2/aj,ap,an,al;for(ap=0;ap<aj;++ap){ar=ap*ak;an=l(ar);al=t(ar);au.push(ai?[ao*am,an*at,al*aq]:[an*am,ao*at,al*aq])}return au}function A(aj,i,j,ai){return af(aj,0,i,j,ai)}function N(aj,i,j,ai){return af(aj,1,i,j,ai)}function y(ak,i,j,ai,aj){aj=isNaN(aj)?0:aj*1;return K(0,ak,i,j,ai,aj)}function J(ak,i,j,ai,aj){aj=isNaN(aj)?0:aj*1;return K(1,ak,i,j,ai,aj)}function s(al,i){var ak=al,aj,ai,j=(i*1).toPrecision(3)+")";if(al[0]==="#"){if(!G[al]){if(al.length===4){G[al]="rgba("+L[al[1]]+L[al[2]]+L[al[3]]}else{G[al]="rgba("+I[al.substr(1,2)]+I[al.substr(3,2)]+I[al.substr(5,2)]}}ak=G[al]+j}else{if(al.substr(0,4)==="rgb("||al.substr(0,4)==="hsl("){ak=(al.replace("(","a(").replace(")",","+j))}else{if(al.substr(0,5)==="rgba("||al.substr(0,5)==="hsla("){aj=al.lastIndexOf(",")+1,ai=al.indexOf(")");i*=parseFloat(al.substring(aj,ai));ak=al.substr(0,aj)+i.toPrecision(3)+")"}}}return ak}function k(i,j){if(window.G_vmlCanvasManager){return null}var ai=n.createElement("canvas");ai.width=i;ai.height=j;return ai}function z(){var j=k(3,3),aj,ai;if(!j){return false}aj=j.getContext("2d");aj.strokeStyle="#000";aj.shadowColor="#fff";aj.shadowBlur=3;aj.globalAlpha=0;aj.strokeRect(2,2,2,2);aj.globalAlpha=1;ai=aj.getImageData(2,2,1,1);j=null;return(ai.data[0]>0)}function ah(ap,j){var ai=1024,al=ap.weightGradient,ak,an,aj,ao,am;if(ap.gCanvas){an=ap.gCanvas.getContext("2d")}else{ap.gCanvas=ak=k(ai,1);if(!ak){return null}an=ak.getContext("2d");ao=an.createLinearGradient(0,0,ai,0);for(aj in al){ao.addColorStop(1-aj,al[aj])}an.fillStyle=ao;an.fillRect(0,0,ai,1)}am=an.getImageData(~~((ai-1)*j),0,1,1).data;return"rgba("+am[0]+","+am[1]+","+am[2]+","+(am[3]/255)+")"}function x(al,ak,ai,ao,am,an,j){var aj=(an||0)+(j&&j[0]<0?Q(j[0]):0),i=(an||0)+(j&&j[1]<0?Q(j[1]):0);al.font=ak;al.textBaseline="top";al.fillStyle=ai;am&&(al.shadowColor=am);an&&(al.shadowBlur=an);j&&(al.shadowOffsetX=j[0],al.shadowOffsetY=j[1]);al.fillText(ao,aj,i)}function p(av,am,aq,at,al,ai,ao,ap,j,au,ar){var aj=at+Q(j[0])+ap+ap,i=al+Q(j[1])+ap+ap,ak,an;ak=k(aj+au,i+ar);if(!ak){return null}an=ak.getContext("2d");x(an,am,ai,av,ao,ap,j);return ak}function aa(an,aq,ar,aj){var at=Q(aj[0]),ao=Q(aj[1]),ak=an.width+(at>ar?at+ar:ar*2),j=an.height+(ao>ar?ao+ar:ar*2),am=(ar||0)+(aj[0]<0?at:0),ai=(ar||0)+(aj[1]<0?ao:0),al,ap;al=k(ak,j);if(!al){return null}ap=al.getContext("2d");aq&&(ap.shadowColor=aq);ar&&(ap.shadowBlur=ar);aj&&(ap.shadowOffsetX=aj[0],ap.shadowOffsetY=aj[1]);ap.drawImage(an,am,ai,an.width,an.height);return al}function V(av,am,at){var au=parseInt(av.length*at),al=parseInt(at*2),aj=k(au,al),ap,j,ak,ao,ar,aq,ai,an;if(!aj){return null}ap=aj.getContext("2d");ap.fillStyle="#000";ap.fillRect(0,0,au,al);x(ap,at+"px "+am,"#fff",av);j=ap.getImageData(0,0,au,al);ak=j.width;ao=j.height;an={min:{x:ak,y:ao},max:{x:-1,y:-1}};for(aq=0;aq<ao;++aq){for(ar=0;ar<ak;++ar){ai=(aq*ak+ar)*4;if(j.data[ai+1]>0){if(ar<an.min.x){an.min.x=ar}if(ar>an.max.x){an.max.x=ar}if(aq<an.min.y){an.min.y=aq}if(aq>an.max.y){an.max.y=aq}}}}if(ak!=au){an.min.x*=(au/ak);an.max.x*=(au/ak)}if(ao!=al){an.min.y*=(au/ao);an.max.y*=(au/ao)}aj=null;return an}function v(i){return"'"+i.replace(/(\'|\")/g,"").replace(/\s*,\s*/g,"', '")+"'"}function C(i,j,ai){ai=ai||n;if(ai.addEventListener){ai.addEventListener(i,j,false)}else{ai.attachEvent("on"+i,j)}}function Z(al,an,ak,ai){var aj=ai.taglist,am=ai.imageScale,j;if(am&&!(an.width&&an.height)){C("load",function(){Z(al,an,ak,ai)},window);return}if(!al.complete){C("load",function(){Z(al,an,ak,ai)},al);return}an.width=an.width;an.height=an.height;if(am){al.width=an.width*am;al.height=an.height*am}ak.w=al.width;ak.h=al.height;if(ai.txtOpt&&ai.shadow){j=aa(al,ai.shadow,ai.shadowBlur,ai.shadowOffset);if(j){ak.image=j;ak.w=j.width;ak.h=j.height}}aj.push(ak)}function X(aj,ai){var j=n.defaultView,i=ai.replace(/\-([a-z])/g,function(ak){return ak.charAt(1).toUpperCase()});return(j&&j.getComputedStyle&&j.getComputedStyle(aj,null).getPropertyValue(ai))||(aj.currentStyle&&aj.currentStyle[i])}function B(ai,j){var i=1,aj;if(ai.weightFrom){i=1*(j.getAttribute(ai.weightFrom)||ai.textHeight)}else{if(aj=X(j,"font-size")){i=(aj.indexOf("px")>-1&&aj.replace("px","")*1)||(aj.indexOf("pt")>-1&&aj.replace("pt","")*1.25)||aj*3.3}else{ai.weight=false}}return i}function w(i){return i.target&&Y(i.target.id)?i.target.id:i.srcElement.parentNode.id}function H(j,ai){if(Y(j.offsetX)){return{x:j.offsetX,y:j.offsetY}}else{var i=T("#"+ai).offset();if(Y(j.changedTouches)){j=j.changedTouches[0]}if(j.pageX){return{x:j.pageX-i.left,y:j.pageY-i.top}}}return null}function m(ai){var j=ai.target||ai.fromElement.parentNode,i=u.tc[j.id];if(i){i.mx=i.my=-1;i.UnFreeze();i.EndDrag()}}function W(am){var aj,ai=u,j,al,ak=w(am);for(aj in ai.tc){j=ai.tc[aj];if(j.tttimer){clearTimeout(j.tttimer);j.tttimer=null}}if(ak&&ai.tc[ak]){j=ai.tc[ak];if(al=H(am,ak)){j.mx=al.x;j.my=al.y;j.Drag(am,al)}j.drawn=0}}function P(aj){var j=u,i=n.addEventListener?0:1,ai=w(aj);if(ai&&aj.button==i&&j.tc[ai]){j.tc[ai].BeginDrag(aj)}}function h(ak){var ai=u,j=n.addEventListener?0:1,aj=w(ak),i;if(aj&&ak.button==j&&ai.tc[aj]){i=ai.tc[aj];W(ak);if(!i.EndDrag()&&!i.touched){i.Clicked(ak)}}}function F(ai){var i=u,j=w(ai);if(j&&ai.changedTouches&&i.tc[j]){i.tc[j].touched=1;i.tc[j].BeginDrag(ai)}}function o(ai){var i=u,j=w(ai);if(j&&ai.changedTouches&&i.tc[j]){R(ai);if(!i.tc[j].EndDrag()){i.tc[j].Draw();i.tc[j].Clicked(ai)}}}function R(am){var aj,ai=u,j,al,ak=w(am);for(aj in ai.tc){j=ai.tc[aj];if(j.tttimer){clearTimeout(j.tttimer);j.tttimer=null}}if(ak&&ai.tc[ak]&&am.changedTouches){j=ai.tc[ak];if(al=H(am,ak)){j.mx=al.x;j.my=al.y;j.Drag(am,al)}j.drawn=0}}function ae(ai){var i=u,j=w(ai);if(j&&i.tc[j]){ai.cancelBubble=true;ai.returnValue=false;ai.preventDefault&&ai.preventDefault();i.tc[j].Wheel((ai.wheelDelta||ai.detail)>0)}}function r(){var ai=u.tc,j;for(j in ai){ai[j].Draw()}}function c(ai,i){var j=t(i),aj=l(i);return{x:ai.x,y:(ai.y*aj)+(ai.z*j),z:(ai.y*-j)+(ai.z*aj)}}function a(ai,i){var j=t(i),aj=l(i);return{x:(ai.x*aj)+(ai.z*-j),y:ai.y,z:(ai.x*j)+(ai.z*aj)}}function ad(ai,ap,ao,ak,an,al){var i,aj,am,j=ai.z1/(ai.z1+ai.z2+ap.z);i=ap.y*j*al;aj=ap.x*j*an;am=ai.z2+ap.z;return{x:aj,y:i,z:am}}function g(i){this.ts=new Date().valueOf();this.tc=i;this.x=this.y=this.w=this.h=this.sc=1;this.z=0;this.Draw=i.pulsateTo<1&&i.outlineMethod!="colour"?this.DrawPulsate:this.DrawSimple;this.SetMethod(i.outlineMethod)}f=g.prototype;f.SetMethod=function(ai){var j={block:["PreDraw","DrawBlock"],colour:["PreDraw","DrawColour"],outline:["PostDraw","DrawOutline"],classic:["LastDraw","DrawOutline"],none:["LastDraw"]},i=j[ai]||j.outline;if(ai=="none"){this.Draw=function(){return 1}}else{this.drawFunc=this[i[1]]}this[i[0]]=this.Draw};f.Update=function(ao,an,ap,al,am,j,ak,i){var ai=this.tc.outlineOffset,aj=2*ai;this.x=am*ao+ak-ai;this.y=am*an+i-ai;this.w=am*ap+aj;this.h=am*al+aj;this.sc=am;this.z=j.z};f.DrawOutline=function(al,i,ak,j,ai,aj){al.strokeStyle=aj;al.strokeRect(i,ak,j,ai)};f.DrawColour=function(aj,am,ak,an,ai,i,ao,j,al){return this[ao.image?"DrawColourImage":"DrawColourText"](aj,am,ak,an,ai,i,ao,j,al)};f.DrawColourText=function(ak,an,al,ao,ai,i,ap,j,am){var aj=ap.colour;ap.colour=i;ap.alpha=1;ap.Draw(ak,j,am);ap.colour=aj;return 1};f.DrawColourImage=function(an,aq,ao,ar,am,i,av,j,ap){var at=an.canvas,ak=~~E(aq,0),aj=~~E(ao,0),al=ag(at.width-ak,ar)+0.5|0,au=ag(at.height-aj,am)+0.5|0,ai;if(D){D.width=al,D.height=au}else{D=k(al,au)}if(!D){return this.SetMethod("outline")}ai=D.getContext("2d");ai.drawImage(at,ak,aj,al,au,0,0,al,au);an.clearRect(ak,aj,al,au);av.alpha=1;av.Draw(an,j,ap);an.setTransform(1,0,0,1,0,0);an.save();an.beginPath();an.rect(ak,aj,al,au);an.clip();an.globalCompositeOperation="source-in";an.fillStyle=i;an.fillRect(ak,aj,al,au);an.restore();an.globalCompositeOperation="destination-over";an.drawImage(D,0,0,al,au,ak,aj,al,au);an.globalCompositeOperation="source-over";return 1};f.DrawBlock=function(al,i,ak,j,ai,aj){al.fillStyle=aj;al.fillRect(i,ak,j,ai)};f.DrawSimple=function(ak,i,j,aj){var ai=this.tc;ak.setTransform(1,0,0,1,0,0);ak.strokeStyle=ai.outlineColour;ak.lineWidth=ai.outlineThickness;ak.shadowBlur=ak.shadowOffsetX=ak.shadowOffsetY=0;ak.globalAlpha=1;return this.drawFunc(ak,this.x,this.y,this.w,this.h,ai.outlineColour,i,j,aj)};f.DrawPulsate=function(al,i,j,aj){var ak=new Date().valueOf()-this.ts,ai=this.tc;al.setTransform(1,0,0,1,0,0);al.strokeStyle=ai.outlineColour;al.lineWidth=ai.outlineThickness;al.shadowBlur=al.shadowOffsetX=al.shadowOffsetY=0;al.globalAlpha=ai.pulsateTo+((1-ai.pulsateTo)*(0.5+(l(2*Math.PI*ak/(1000*ai.pulsateTime))/2)));return this.drawFunc(al,this.x,this.y,this.w,this.h,ai.outlineColour,i,j,aj)};f.Active=function(ai,i,j){return(i>=this.x&&j>=this.y&&i<=this.x+this.w&&j<=this.y+this.h)};f.PreDraw=f.PostDraw=f.LastDraw=O;function M(aj,i,am,ao,an,ak,j,ai){var al=aj.ctxt;this.tc=aj;this.image=i.src?i:null;this.name=i.src?"":i;this.title=am.title||null;this.a=am;this.p3d={x:ao[0]*aj.radius,y:ao[1]*aj.radius,z:ao[2]*aj.radius};this.x=this.y=0;this.w=an;this.h=ak;this.colour=j||aj.textColour;this.textFont=ai||aj.textFont;this.weight=this.sc=this.alpha=1;this.weighted=!aj.weight;this.outline=new g(aj);if(!this.image){this.textHeight=aj.textHeight;this.extents=V(this.name,this.textFont,this.textHeight);this.Measure(al,aj)}this.SetShadowColour=aj.shadowAlpha?this.SetShadowColourAlpha:this.SetShadowColourFixed;this.SetDraw(aj)}U=M.prototype;U.SetDraw=function(i){this.Draw=this.image?(i.ie>7?this.DrawImageIE:this.DrawImage):this.DrawText;i.noSelect&&(this.CheckActive=O)};U.Measure=function(am,j){this.h=this.extents?this.extents.max.y+this.extents.min.y:this.textHeight;am.font=this.font=this.textHeight+"px "+this.textFont;this.w=am.measureText(this.name).width;if(j.txtOpt){var aj=j.txtScale,ak=aj*this.textHeight,al=ak+"px "+this.textFont,ai=[aj*j.shadowOffset[0],aj*j.shadowOffset[1]],i;am.font=al;i=am.measureText(this.name).width;this.image=p(this.name,al,ak,i,aj*this.h,this.colour,j.shadow,aj*j.shadowBlur,ai,aj,aj);if(this.image){this.w=this.image.width/aj;this.h=this.image.height/aj}this.SetDraw(j);j.txtOpt=this.image}};U.SetWeight=function(i){if(!this.name.length){return}this.weight=i;this.Weight(this.tc.ctxt,this.tc);this.Measure(this.tc.ctxt,this.tc)};U.Weight=function(aj,ai){var j=this.weight,i=ai.weightMode;this.weighted=true;if(i=="colour"||i=="both"){this.colour=ah(ai,(j-ai.min_weight)/(ai.max_weight-ai.min_weight))}if(i=="size"||i=="both"){this.textHeight=j*ai.weightSize}this.extents=V(this.name,this.textFont,this.textHeight)};U.SetShadowColourFixed=function(ai,j,i){ai.shadowColor=j};U.SetShadowColourAlpha=function(ai,j,i){ai.shadowColor=s(j,i)};U.DrawText=function(am,j,ak){var ai=this.tc,i=this.x,al=this.y,aj=this.sc;am.globalAlpha=this.alpha;am.fillStyle=this.colour;ai.shadow&&this.SetShadowColour(am,ai.shadow,this.alpha);am.font=this.font;i+=(j/aj)-(this.w/2);al+=(ak/aj)-(this.h/2);am.setTransform(aj,0,0,aj,aj*i,aj*al);am.fillText(this.name,0,0)};U.DrawImage=function(ak,aq,aj){var an=this.x,al=this.y,ar=this.sc,j=this.image,ao=this.w,ai=this.h,am=this.alpha,ap=this.shadow;ak.globalAlpha=am;ak.fillStyle=this.colour;ap&&this.SetShadowColour(ak,ap,am);an+=(aq/ar)-(ao/2);al+=(aj/ar)-(ai/2);ak.setTransform(ar,0,0,ar,ar*an,ar*al);ak.drawImage(j,0,0,ao,ai)};U.DrawImageIE=function(ak,ao,aj){var j=this.image,ap=this.sc,an=j.width=this.w*ap,ai=j.height=this.h*ap,am=(this.x*ap)+ao-(an/2),al=(this.y*ap)+aj-(ai/2);ak.setTransform(1,0,0,1,0,0);ak.globalAlpha=this.alpha;ak.drawImage(j,am,al)};U.Calc=function(am,al){var i=a(this.p3d,am),aj=this.tc,ai=aj.minBrightness,j=aj.maxBrightness,ak=aj.max_radius;this.p3d=c(i,al);i=ad(aj,this.p3d,this.w,this.h,aj.stretchX,aj.stretchY);this.x=i.x;this.y=i.y;this.sc=(aj.z1+aj.z2-i.z)/aj.z2;this.alpha=b(ai+(j-ai)*(ak-this.p3d.z)/(2*ak),0,1)};U.CheckActive=function(aj,an,ai){var ao=this.tc,i=this.outline,am=this.w,j=this.h,al=this.x-am/2,ak=this.y-j/2;i.Update(al,ak,am,j,this.sc,this.p3d,an,ai);return i.Active(aj,ao.mx,ao.my)?i:null};U.Clicked=function(al){var j=this.a,ai=j.target,aj=j.href,i;if(ai!=""&&ai!="_self"){if(self.frames[ai]){self.frames[ai]=aj}else{try{if(top.frames[ai]){top.frames[ai]=aj;return}}catch(ak){}window.open(aj,ai)}return}if(n.createEvent){i=n.createEvent("MouseEvents");i.initMouseEvent("click",1,1,window,0,0,0,0,0,0,0,0,0,0,null);if(!j.dispatchEvent(i)){return}}else{if(j.fireEvent){if(!j.fireEvent("onclick")){return}}}n.location=aj};function u(){var j,ai={mx:-1,my:-1,z1:20000,z2:20000,z0:0.0002,freezeActive:false,freezeDecel:false,activeCursor:"pointer",pulsateTo:1,pulsateTime:3,reverse:false,depth:0.5,maxSpeed:0.05,minSpeed:0,decel:0.95,interval:20,initial:null,hideTags:true,minBrightness:0.1,maxBrightness:1,outlineColour:"#ffff99",outlineThickness:2,outlineOffset:5,outlineMethod:"outline",textColour:"#ff99ff",textHeight:15,textFont:"Helvetica, Arial, sans-serif",shadow:"#000",shadowBlur:0,shadowOffset:[0,0],zoom:1,weight:false,weightMode:"size",weightFrom:null,weightSize:1,weightGradient:{0:"#f00",0.33:"#ff0",0.66:"#0f0",1:"#00f"},txtOpt:true,txtScale:2,frontSelect:false,wheelZoom:true,zoomMin:0.3,zoomMax:3,zoomStep:0.05,shape:"sphere",lock:null,tooltip:null,tooltipDelay:300,tooltipClass:"tctooltip",radiusX:1,radiusY:1,radiusZ:1,stretchX:1,stretchY:1,offsetX:0,offsetY:0,shuffleTags:false,noSelect:false,noMouse:false,imageScale:1,paused:false,dragControl:false,dragThreshold:4,centreFunc:O};for(j in ai){this[j]=ai[j]}this.max_weight=0;this.min_weight=200}e=u.prototype;e.Draw=function(){if(this.paused){return}var al=this.canvas,aj=al.width,ar=al.height,au=0,ap=this.yaw,an=this.pitch,aq=aj/2+this.offsetX,ao=ar/2+this.offsetY,ay=this.ctxt,am,az,aw,ai=-1,ak=this.taglist,av=ak.length,j=this.frontSelect,at=(this.centreFunc==O);if(this.frozen&&this.drawn){return this.Animate(aj,ar)}ay.setTransform(1,0,0,1,0,0);this.active=null;for(aw=0;aw<av;++aw){ak[aw].Calc(ap,an)}ak=ak.sort(function(aA,i){return i.p3d.z-aA.p3d.z});for(aw=0;aw<av;++aw){az=ak[aw].CheckActive(ay,aq,ao);az=this.mx>=0&&this.my>=0&&ak[aw].CheckActive(ay,aq,ao);if(az&&az.sc>au&&(!j||az.z<=0)){am=az;am.index=ai=aw;au=az.sc}}this.active=am;if(!this.txtOpt&&this.shadow){ay.shadowBlur=this.shadowBlur;ay.shadowOffsetX=this.shadowOffset[0];ay.shadowOffsetY=this.shadowOffset[1]}ay.clearRect(0,0,aj,ar);for(aw=0;aw<av;++aw){if(!at&&ak[aw].p3d.z<=0){try{this.centreFunc(ay,aj,ar,aq,ao)}catch(ax){alert(ax);this.centreFunc=O}at=true}if(!(ai==aw&&am.PreDraw(ay,ak[aw],aq,ao))){ak[aw].Draw(ay,aq,ao)}ai==aw&&am.PostDraw(ay)}if(this.freezeActive&&am){this.Freeze()}else{this.UnFreeze();this.drawn=(av==this.listLength)}this.Animate(aj,ar);am&&am.LastDraw(ay);al.style.cursor=am?this.activeCursor:"";this.Tooltip(am,ak[ai])};e.TooltipNone=function(){};e.TooltipNative=function(j,i){this.canvas.title=j&&i.title?i.title:""};e.TooltipDiv=function(ak,j){var i=this,aj=i.ttdiv.style,ai="none";if(ak&&j.title){if(j.title!=i.ttdiv.innerHTML){aj.display=ai}i.ttdiv.innerHTML=j.title;j.title=i.ttdiv.innerHTML;if(aj.display==ai&&!i.tttimer){i.tttimer=setTimeout(function(){var al=T(i.canvas).offset();aj.display="block";aj.left=al.left+i.mx+"px";aj.top=al.top+i.my+24+"px";i.tttimer=null},i.tooltipDelay)}}else{aj.display=ai}};e.AnimatePosition=function(ai,ak){var j=this,i=j.mx,am=j.my,aj,al;if(!j.frozen&&i>=0&&am>=0&&i<ai&&am<ak){aj=j.maxSpeed,al=j.reverse?-1:1;j.lx||(j.yaw=al*((aj*2*i/ai)-aj));j.ly||(j.pitch=al*-((aj*2*am/ak)-aj));j.initial=null}else{if(!j.initial){if(j.frozen&&!j.freezeDecel){j.yaw=j.pitch=0}else{j.Decel(j)}}}};e.AnimateDrag=function(j,aj){var i=this,ai=100*i.maxSpeed/i.max_radius/i.zoom;if(i.dx||i.dy){i.lx||(i.yaw=i.dx*ai/i.stretchX);i.ly||(i.pitch=i.dy*-ai/i.stretchY);i.dx=i.dy=0;i.initial=null}else{if(!i.initial){i.Decel(i)}}};e.Freeze=function(){if(!this.frozen){this.preFreeze=[this.yaw,this.pitch];this.frozen=1;this.drawn=0}};e.UnFreeze=function(){if(this.frozen){this.yaw=this.preFreeze[0];this.pitch=this.preFreeze[1];this.frozen=0}};e.Decel=function(i){var ai=i.minSpeed,aj=Q(i.yaw),j=Q(i.pitch);if(!i.lx&&aj>ai){i.yaw=aj>i.z0?i.yaw*i.decel:0}if(!i.ly&&j>ai){i.pitch=j>i.z0?i.pitch*i.decel:0}};e.Zoom=function(i){this.z2=this.z1*(1/i);this.drawn=0};e.Clicked=function(aj){var ai=this.taglist,i=this.active;try{if(i&&ai[i.index]){ai[i.index].Clicked(aj)}}catch(j){}};e.Wheel=function(j){var ai=this.zoom+this.zoomStep*(j?1:-1);this.zoom=ag(this.zoomMax,E(this.zoomMin,ai));this.Zoom(this.zoom)};e.BeginDrag=function(i){this.down=H(i,this.canvas.id);i.cancelBubble=true;i.returnValue=false;i.preventDefault&&i.preventDefault()};e.Drag=function(ak,aj){if(this.dragControl&&this.down){var ai=this.dragThreshold*this.dragThreshold,j=aj.x-this.down.x,i=aj.y-this.down.y;if(this.dragging||j*j+i*i>ai){this.dx=j;this.dy=i;this.dragging=1;this.down=aj}}};e.EndDrag=function(j){var i=this.dragging;this.dragging=this.down=null;return i};e.Resume=function(){this.paused=false};e.Pause=function(){this.paused=true};u.tc={};u.Start=function(aj,ai,j){var i,ak=j?jQuery("#"+j):aj;if(n.all&&!j){return false}i=ak.find("a");if(Y(window.G_vmlCanvasManager)){aj.each(function(){T(aj)[0]=window.G_vmlCanvasManager.initElement(T(aj)[0])});ai.ie=parseFloat(navigator.appVersion.split("MSIE")[1])}if(!i.length||!aj[0].getContext||!aj[0].getContext("2d").fillText){return false}aj.each(function(){var ao,al,ar,av,aw,aq,au,at=[],ap,am,an={sphere:q,vcylinder:A,hcylinder:N,vring:y,hring:J};j||(i=T(this).find("a"));aq=new u;for(ao in ai){aq[ao]=ai[ao]}aq.z1=(19800/(Math.exp(aq.depth)*(1-1/Math.E)))+20000-19800/(1-1/Math.E);aq.z2=aq.z1/aq.zoom;aq.radius=ag(this.height,this.width)*0.37*(aq.z2+aq.z1)/aq.z1;aq.max_radius=aq.radius*E(aq.radiusX,E(aq.radiusY,aq.radiusZ));aq.yaw=aq.initial?aq.initial[0]*aq.maxSpeed:0;aq.pitch=aq.initial?aq.initial[1]*aq.maxSpeed:0;aq.canvas=T(this)[0];aq.ctxt=aq.canvas.getContext("2d");aq.textFont=aq.textFont&&v(aq.textFont);aq.textHeight*=1;aq.pulsateTo=b(aq.pulsateTo,0,1);aq.minBrightness=b(aq.minBrightness,0,1);aq.maxBrightness=b(aq.maxBrightness,aq.minBrightness,1);aq.ctxt.textBaseline="top";aq.lx=(aq.lock+"").indexOf("x")+1;aq.ly=(aq.lock+"").indexOf("y")+1;aq.frozen=0;aq.dx=aq.dy=0;aq.touched=0;aq.Animate=aq.dragControl?aq.AnimateDrag:aq.AnimatePosition;if(aq.shadowBlur||aq.shadowOffset[0]||aq.shadowOffset[1]){aq.ctxt.shadowColor=aq.shadow;aq.shadow=aq.ctxt.shadowColor;aq.shadowAlpha=z()}else{delete aq.shadow}aq.taglist=[];am=aq.shape.toString().split(/[(),]/);ap=am.shift();aq.shape=an[ap]||an.sphere;am=[i.length,aq.radiusX,aq.radiusY,aq.radiusZ].concat(am);al=aq.shape.apply(aq,am);aq.shuffleTags&&S(al);aq.listLength=i.length;for(ao=0;ao<i.length;++ao){ar=i[ao].getElementsByTagName("img");if(ar.length){av=new Image;av.src=ar[0].src;aw=new M(aq,av,i[ao],al[ao],1,1);Z(av,ar[0],aw,aq)}else{aq.taglist.push(new M(aq,i[ao].innerText||i[ao].textContent,i[ao],al[ao],2,aq.textHeight+2,aq.textColour||X(i[ao],"color"),aq.textFont||v(X(i[ao],"font-family"))))}if(aq.weight){au=B(aq,i[ao]);if(au>aq.max_weight){aq.max_weight=au}if(au<aq.min_weight){aq.min_weight=au}at.push(au)}}if(aq.weight=(aq.max_weight>aq.min_weight)){for(ao=0;ao<aq.taglist.length;++ao){aq.taglist[ao].SetWeight(at[ao])}}u.tc[T(this)[0].id]=aq;aq.Tooltip=(aq.tooltip=="native"?aq.TooltipNative:(aq.tooltip?aq.TooltipDiv:aq.TooltipNone));if(aq.tooltip){if(aq.tooltip=="native"){aq.Tooltip=aq.TooltipNative}else{aq.Tooltip=aq.TooltipDiv;if(!aq.ttdiv){aq.ttdiv=n.createElement("div");aq.ttdiv.className=aq.tooltipClass;aq.ttdiv.style.position="absolute";aq.ttdiv.style.zIndex=aq.canvas.style.zIndex+1;C("mouseover",function(ax){ax.target.style.display="none"},aq.ttdiv);n.body.appendChild(aq.ttdiv)}}}else{aq.Tooltip=aq.TooltipNone}if(!aq.noMouse&&!d[T(this)[0].id]){C("mousemove",W,this);C("mouseout",m,this);C("mouseup",h,this);if(aq.dragControl){C("mousedown",P,this);C("touchstart",F,this);C("touchend",o,this);C("touchcancel",o,this);C("touchmove",R,this);C("selectstart",O,this)}if(aq.wheelZoom){C("mousewheel",ae,this);C("DOMMouseScroll",ae,this)}d[T(this)[0].id]=1}if(j&&aq.hideTags){if(u.loaded){T(ak).hide()}else{C("load",function(){T(ak).hide()},window)}}ai.interval=ai.interval||aq.interval});return !!(u.started||(u.started=setInterval(r,ai.interval)))};jQuery.fn.tagcanvas=function(j,i){var ai={pause:function(){T(this).each(function(){u.tc[T(this)[0].id]&&u.tc[T(this)[0].id].Pause()})},resume:function(){T(this).each(function(){u.tc[T(this)[0].id]&&u.tc[T(this)[0].id].Resume()})}};if(typeof(j)=="string"&&ai[j]){ai[j].apply(this)}else{return u.Start(this,j,i)}};C("load",function(){u.loaded=1},window)})(jQuery);