PageSourceSearch

https://www.e-novelec.fr/themes/cmd_2020/cache/v_88_9a4c594a2f4d0b3a3e0147ef19e1b403.js

js e-novelec.fr collected 2026-10-08 12:26:18 UTC 1,018,059 bytes, 1,856 lines download raw bytes

vendor: 6,781 bytes, lines 1-2
1/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
2!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k="".trim,l={},m="1.11.0",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(l.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:k&&!k.call("\ufeff\xa0")?function(a){return null==a?"":k.call(a)}:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||n.guid++,e):void 0},now:function(){return+new Date},support:l}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s="sizzle"+-new Date,t=a.document,u=0,v=0,w=eb(),x=eb(),y=eb(),z=function(a,b){return a===b&&(j=!0),0},A="undefined",B=1<<31,C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=D.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",K="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",M=L.replace("w","w#"),N="\\["+K+"*("+L+")"+K+"*(?:([*^$|!~]?=)"+K+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+M+")|)|)"+K+"*\\]",O=":("+L+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+N.replace(3,8)+")*)|.*)\\)|)",P=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g"),Q=new RegExp("^"+K+"*,"+K+"*"),R=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(O),U=new RegExp("^"+M+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L.replace("w","w*")+")"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=/'|\\/g,ab=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),bb=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{G.apply(D=H.call(t.childNodes),t.childNodes),D[t.childNodes.length].nodeType}catch(cb){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function db(a,b,d,e){var f,g,h,i,j,m,p,q,u,v;if((b?b.ownerDocument||b:t)!==l&&k(b),b=b||l,d=d||[],!a||"string"!=typeof a)return d;if(1!==(i=b.nodeType)&&9!==i)return[];if(n&&!e){if(f=Z.exec(a))if(h=f[1]){if(9===i){if(g=b.getElementById(h),!g||!g.parentNode)return d;
vendor: 4,236 bytes, line 2
2if(g.id===h)return d.push(g),d}else if(b.ownerDocument&&(g=b.ownerDocument.getElementById(h))&&r(b,g)&&g.id===h)return d.push(g),d}else{if(f[2])return G.apply(d,b.getElementsByTagName(a)),d;if((h=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(h)),d}if(c.qsa&&(!o||!o.test(a))){if(q=p=s,u=b,v=9===i&&a,1===i&&"object"!==b.nodeName.toLowerCase()){m=ob(a),(p=b.getAttribute("id"))?q=p.replace(_,"\\$&"):b.setAttribute("id",q),q="[id='"+q+"'] ",j=m.length;while(j--)m[j]=q+pb(m[j]);u=$.test(a)&&mb(b.parentNode)||b,v=m.join(",")}if(v)try{return G.apply(d,u.querySelectorAll(v)),d}catch(w){}finally{p||b.removeAttribute("id")}}}return xb(a.replace(P,"$1"),b,d,e)}function eb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function fb(a){return a[s]=!0,a}function gb(a){var b=l.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function hb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function ib(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||B)-(~a.sourceIndex||B);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function jb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function kb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function lb(a){return fb(function(b){return b=+b,fb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function mb(a){return a&&typeof a.getElementsByTagName!==A&&a}c=db.support={},f=db.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},k=db.setDocument=function(a){var b,e=a?a.ownerDocument||a:t,g=e.defaultView;return e!==l&&9===e.nodeType&&e.documentElement?(l=e,m=e.documentElement,n=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){k()},!1):g.attachEvent&&g.attachEvent("onunload",function(){k()})),c.attributes=gb(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=gb(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(e.getElementsByClassName)&&gb(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=gb(function(a){return m.appendChild(a).id=s,!e.getElementsByName||!e.getElementsByName(s).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==A&&n){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ab,bb);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ab,bb);return function(a){var c=typeof a.getAttributeNode!==A&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==A?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==A&&n?b.getElementsByClassName(a):void 0},p=[],o=[],(c.qsa=Y.test(e.querySelectorAll))&&(gb(function(a){a.innerHTML="<select t=''><option selected=''></option></select>",a.querySelectorAll("[t^='']").length&&o.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||o.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll(":checked").length||o.push(":checked")}),gb(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&o.push("name"+K+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||o.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),o.push(",.*:")})),(c.matchesSelector=Y.test(q=m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&gb(function(a){c.disconnectedMatch=q.call(a,"div"),q.call(a,"[s!='']:x"),p.push("!=",O)}
vendor: 10,444 bytes, line 2
2),o=o.length&&new RegExp(o.join("|")),p=p.length&&new RegExp(p.join("|")),b=Y.test(m.compareDocumentPosition),r=b||Y.test(m.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},z=b?function(a,b){if(a===b)return j=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===t&&r(t,a)?-1:b===e||b.ownerDocument===t&&r(t,b)?1:i?I.call(i,a)-I.call(i,b):0:4&d?-1:1)}:function(a,b){if(a===b)return j=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],k=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:i?I.call(i,a)-I.call(i,b):0;if(f===g)return ib(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)k.unshift(c);while(h[d]===k[d])d++;return d?ib(h[d],k[d]):h[d]===t?-1:k[d]===t?1:0},e):l},db.matches=function(a,b){return db(a,null,null,b)},db.matchesSelector=function(a,b){if((a.ownerDocument||a)!==l&&k(a),b=b.replace(S,"='$1']"),!(!c.matchesSelector||!n||p&&p.test(b)||o&&o.test(b)))try{var d=q.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return db(b,l,null,[a]).length>0},db.contains=function(a,b){return(a.ownerDocument||a)!==l&&k(a),r(a,b)},db.attr=function(a,b){(a.ownerDocument||a)!==l&&k(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!n):void 0;return void 0!==f?f:c.attributes||!n?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},db.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},db.uniqueSort=function(a){var b,d=[],e=0,f=0;if(j=!c.detectDuplicates,i=!c.sortStable&&a.slice(0),a.sort(z),j){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return i=null,a},e=db.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=db.selectors={cacheLength:50,createPseudo:fb,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ab,bb),a[3]=(a[4]||a[5]||"").replace(ab,bb),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||db.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&db.error(a[0]),a},PSEUDO:function(a){var b,c=!a[5]&&a[2];return V.CHILD.test(a[0])?null:(a[3]&&void 0!==a[4]?a[2]=a[4]:c&&T.test(c)&&(b=ob(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ab,bb).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=w[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&w(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==A&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=db.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),t=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&t){k=q[s]||(q[s]={}),j=k[a]||[],n=j[0]===u&&j[1],m=j[0]===u&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[u,n,m];break}}else if(t&&(j=(b[s]||(b[s]={}))[a])&&j[0]===u)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(t&&((l[s]||(l[s]={}))[a]=[u,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||db.error("unsupported pseudo: "+a);return e[s]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?fb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:fb(function(a){var b=[],c=[],d=g(a.replace(P,"$1"));return d[s]?fb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:fb(function(a){return function(b){return db(a,b).length>0}}),contains:fb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:fb(function(a){return U.test(a||"")||db.error("unsupported lang: "+a),a=a.replace(ab,bb).toLowerCase(),function(b){var c;do if(c=n?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===m},focus:function(a){return a===l.activeElement&&(!l.hasFocus||l.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:lb(function(){return[0]}),last:lb(function(a,b){return[b-1]}),eq:lb(function(a,b,c){return[0>c?c+b:c]}),even:lb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:lb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:lb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:lb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=jb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=kb(b);function nb(){}nb.prototype=d.filters=d.pseudos,d.setFilters=new nb;function ob(a,b){var c,e,f,g,h,i,j,k=x[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=Q.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=R.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(P," ")}),h=h.slice(c.length));for(g in d.filter)!(e=V[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?db.error(a):x(a,i).slice(0)}function pb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function qb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=v++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[u,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[s]||(b[s]={}),(h=i[d])&&h[0]===u&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function rb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function sb(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function tb(a,b,c,d,e,f){return d&&!d[s]&&(d=tb(d)),e&&!e[s]&&(e=tb(e,f)),fb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||wb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:sb(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=sb(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=sb(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ub(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],i=g||d.relative[" "],j=g?1:0,k=qb(function(a){return a===b},i,!0),l=qb(function(a){return I.call(b,a)>-1},i,!0),m=[function(a,c,d){return!g&&(d||c!==h)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>j;j++)if(c=d.relative[a[j].type])m=[qb(rb(m),c)];else{if(c=d.filter[a[j].type].apply(null,a[j].matches),c[s]){for(e=++j;f>e;e++)if(d.relative[a[e].type])break;return tb(j>1&&rb(m),j>1&&pb(a.slice(0,j-1).concat({value:" "===a[j-2].type?"*":""})).replace(P,"$1"),c,e>j&&ub(a.slice(j,e)),f>e&&ub(a=a.slice(e)),f>e&&pb(a))}m.push(c)}return rb(m)}function vb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,i,j,k){var m,n,o,p=0,q="0",r=f&&[],s=[],t=h,v=f||e&&d.find.TAG("*",k),w=u+=null==t?1:Math.random()||.1,x=v.length;for(k&&(h=g!==l&&g);q!==x&&null!=(m=v[q]);q++){if(e&&m){n=0;while(o=a[n++])if(o(m,g,i)){j.push(m);break}k&&(u=w)}c&&((m=!o&&m)&&p--,f&&r.push(m))}if(p+=q,c&&q!==p){n=0;while(o=b[n++])o(r,s,g,i);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=E.call(j));s=sb(s)}G.apply(j,s),k&&!f&&s.length>0&&p+b.length>1&&db.uniqueSort(j)}return k&&(u=w,h=t),r};return c?fb(f):f}g=db.compile=function(a,b){var c,d=[],e=[],f=y[a+" "];if(!f){b||(b=ob(a)),c=b.length;while(c--)f=ub(b[c]),f[s]?d.push(f):e.push(f);f=y(a,vb(e,d))}return f};function wb(a,b,c){for(var d=0,e=b.length;e>d;d++)db(a,b[d],c);return c}function xb(a,b,e,f){var h,i,j,k,l,m=ob(a);if(!f&&1===m.length){if(i=m[0]=m[0].slice(0),i.length>2&&"ID"===(j=i[0]).type&&c.getById&&9===b.nodeType&&n&&d.relative[i[
vendor: 10,705 bytes, line 2
21].type]){if(b=(d.find.ID(j.matches[0].replace(ab,bb),b)||[])[0],!b)return e;a=a.slice(i.shift().value.length)}h=V.needsContext.test(a)?0:i.length;while(h--){if(j=i[h],d.relative[k=j.type])break;if((l=d.find[k])&&(f=l(j.matches[0].replace(ab,bb),$.test(i[0].type)&&mb(b.parentNode)||b))){if(i.splice(h,1),a=f.length&&pb(i),!a)return G.apply(e,f),e;break}}}return g(a,m)(f,b,!n,e,$.test(a)&&mb(b.parentNode)||b),e}return c.sortStable=s.split("").sort(z).join("")===s,c.detectDuplicates=!!j,k(),c.sortDetached=gb(function(a){return 1&a.compareDocumentPosition(l.createElement("div"))}),gb(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||hb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&gb(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||hb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),gb(function(a){return null==a.getAttribute("disabled")})||hb(J,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),db}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;e>b;b++)if(n.contains(d[b],this))return!0}));for(b=0;e>b;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=a.document,A=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,B=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:A.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:z,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=z.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return y.find(a);this.length=1,this[0]=d}return this.context=z,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};B.prototype=n.fn,y=n(z);var C=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!n(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function E(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return E(a,"nextSibling")},prev:function(a){return E(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return n.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(D[a]||(e=n.unique(e)),C.test(a)&&(e=e.reverse())),this.pushStack(e)}});var F=/\S+/g,G={};function H(a){var b=G[a]={};return n.each(a.match(F)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?G[a]||H(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&n.each(arguments,function(a,c){var d;while((d=n.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){if(a===!0?!--n.readyWait:!n.isReady){if(!z.body)return setTimeout(n.ready);n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(z,[n]),n.fn.trigger&&n(z).trigger("ready").off("ready"))}}});function J(){z.addEventListener?(z.removeEventListener("DOMContentLoaded",K,!1),a.removeEventListener("load",K,!1)):(z.detachEvent("onreadystatechange",K),a.detachEvent("onload",K))}function K(){(z.addEventListener||"load"===event.type||"complete"===z.readyState)&&(J(),n.ready())}n.ready.promise=function(b){if(!I)if(I=n.Deferred(),"complete"===z.readyState)setTimeout(n.ready);else if(z.addEventListener)z.addEventListener("DOMContentLoaded",K,!1),a.addEventListener("load",K,!1);else{z.attachEvent("onreadystatechange",K),a.attachEvent("onload",K);var c=!1;try{c=null==a.frameElement&&z.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!n.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}J(),n.ready()}}()}return I.promise(b)};var L="undefined",M;for(M in n(l))break;l.ownLast="0"!==M,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c=z.getElementsByTagName("body")[0];c&&(a=z.createElement("div"),a.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",b=z.createElement("div"),c.appendChild(a).appendChild(b),typeof b.style.zoom!==L&&(b.style.cssText="border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1",(l.inlineBlockNeedsLayout=3===b.offsetWidth)&&(c.style.zoom=1)),c.removeChild(a),a=b=null)}),function(){var a=z.createElement("div");if(null==l.deleteExpando){l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}}a=null}(),n.acceptData=function(a){var b=n.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(O,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}n.data(a,b,c)}else c=void 0}return c}function Q(a){var b;for(b in a)if(("data"!==b||!n.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function R(a,b,d,e){if(n.acceptData(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}
vendor: 4,335 bytes, lines 2-3
2:{toJSON:n.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[n.camelCase(b)])):f=g,f
3}}function S(a,b,c){if(n.acceptData(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!Q(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,Q(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}n.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?n.cache[a[n.expando]]:a[n.expando],!!a&&!Q(a)},data:function(a,b,c){return R(a,b,c)},removeData:function(a,b){return S(a,b)},_data:function(a,b,c){return R(a,b,c,!0)},_removeData:function(a,b){return S(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,"parsedAttrs"))){c=g.length;while(c--)d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d]));n._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?P(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks("once memory").add(function(){n._removeData(a,b+"queue"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=n._data(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var T=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,U=["Top","Right","Bottom","Left"],V=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)},W=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},X=/^(?:checkbox|radio)$/i;!function(){var a=z.createDocumentFragment(),b=z.createElement("div"),c=z.createElement("input");if(b.setAttribute("className","t"),b.innerHTML="  <link/><table></table><a href='/a'>a</a>",l.leadingWhitespace=3===b.firstChild.nodeType,l.tbody=!b.getElementsByTagName("tbody").length,l.htmlSerialize=!!b.getElementsByTagName("link").length,l.html5Clone="<:nav></:nav>"!==z.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,a.appendChild(c),l.appendChecked=c.checked,b.innerHTML="<textarea>x</textarea>",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,a.appendChild(b),b.innerHTML="<input type='radio' checked='checked' name='t'/>",l.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){l.noCloneEvent=!1}),b.cloneNode(!0).click()),null==l.deleteExpando){l.deleteExpando=!0;try{delete b.test}catch(d){l.deleteExpando=!1}}a=b=c=null}(),function(){var b,c,d=z.createElement("div");
vendor: 22,119 bytes, line 3
3for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),l[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var Y=/^(?:input|select|textarea)$/i,Z=/^key/,$=/^(?:mouse|contextmenu)|click/,_=/^(?:focusinfocus|focusoutblur)$/,ab=/^([^.]*)(?:\.(.+)|)$/;function bb(){return!0}function cb(){return!1}function db(){try{return z.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof n===L||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(F)||[""],h=b.length;while(h--)f=ab.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||"").match(F)||[""],j=b.length;while(j--)if(h=ab.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,m,o=[d||z],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||z,3!==d.nodeType&&8!==d.nodeType&&!_.test(p+n.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[n.expando]?b:new n.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),k=n.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!n.isWindow(d)){for(i=k.delegateType||p,_.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||z)&&o.push(l.defaultView||l.parentWindow||a)}m=0;while((h=o[m++])&&!b.isPropagationStopped())b.type=m>1?i:k.bindType||p,f=(n._data(h,"events")||{})[b.type]&&n._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&n.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&n.acceptData(d)&&g&&d[p]&&!n.isWindow(d)){l=d[g],l&&(d[g]=null),n.event.triggered=p;try{d[p]()}catch(r){}n.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((n.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?n(c,this).index(i)>=0:n.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[n.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=$.test(e)?this.mouseHooks:Z.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new n.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=f.srcElement||z),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,g.filter?g.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button,g=b.fromElement;return null==a.pageX&&null!=b.clientX&&(d=a.target.ownerDocument||z,e=d.documentElement,c=d.body,a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&g&&(a.relatedTarget=g===a.target?b.toElement:g),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==db()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===db()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return n.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=n.extend(new n.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?n.event.trigger(e,null,b):n.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=z.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]===L&&(a[d]=null),a.detachEvent(d,c))},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&(a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault())?bb:cb):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={isDefaultPrevented:cb,isPropagationStopped:cb,isImmediatePropagationStopped:cb,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=bb,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=bb,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=bb,this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!n.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),l.submitBubbles||(n.event.special.submit={setup:function(){return n.nodeName(this,"form")?!1:void n.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=n.nodeName(b,"input")||n.nodeName(b,"button")?b.form:void 0;c&&!n._data(c,"submitBubbles")&&(n.event.add(c,"submit._submit",function(a){a._submit_bubble=!0}),n._data(c,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&n.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return n.nodeName(this,"form")?!1:void n.event.remove(this,"._submit")}}),l.changeBubbles||(n.event.special.change={setup:function(){return Y.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(n.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),n.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),n.event.simulate("change",this,a,!0)})),!1):void n.event.add(this,"beforeactivate._change",function(a){var b=a.target;Y.test(b.nodeName)&&!n._data(b,"changeBubbles")&&(n.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||n.event.simulate("change",this.parentNode,a,!0)}),n._data(b,"changeBubbles",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return n.event.remove(this,"._change"),!Y.test(this.nodeName)}}),l.focusinBubbles||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a),!0)};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=n._data(d,b);e||d.addEventListener(a,c,!0),n._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=n._data(d,b)-1;e?n._data(d,b,e):(d.removeEventListener(a,c,!0),n._removeData(d,b))}}}),n.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(f in a)this.on(f,b,c,a[f],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=cb;else if(!d)return this;return 1===e&&(g=d,d=function(a){return n().off(a),g.apply(this,arguments)},d.guid=g.guid||(g.guid=n.guid++)),this.each(function(){n.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=cb),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});function eb(a){var b=fb.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}var fb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gb=/ jQuery\d+="(?:null|\d+)"/g,hb=new RegExp("<(?:"+fb+")[\\s/>]","i"),ib=/^\s+/,jb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,kb=/<([\w:]+)/,lb=/<tbody/i,mb=/<|&#?\w+;/,nb=/<(?:script|style|link)/i,ob=/checked\s*(?:[^=]|=\s*.checked.)/i,pb=/^$|\/(?:java|ecma)script/i,qb=/^true\/(.*)/,rb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,sb={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:l.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},tb=eb(z),ub=tb.appendChild(z.createElement("div"));sb.optgroup=sb.option,sb.tbody=sb.tfoot=sb.colgroup=sb.caption=sb.thead,sb.th=sb.td;function vb(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==L?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==L?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,vb(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function wb(a){X.test(a.type)&&(a.defaultChecked=a.checked)}function xb(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function yb(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function zb(a){var b=qb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ab(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}function Bb(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Cb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}"script"===c&&b.text!==a.text?(yb(b).text=a.text,zb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&X.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}n.extend({clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!hb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(ub.innerHTML=a.outerHTML,ub.removeChild(f=ub.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=vb(f),h=vb(a),g=0;null!=(e=h[g]);++g)d[g]&&Cb(e,d[g]);if(b)if(c)for(h=h||vb(a),d=d||vb(f),g=0;null!=(e=h[g]);g++)Bb(e,d[g]);else Bb(a,f);return d=vb(f,"script"),d.length>0&&Ab(d,!i&&vb(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k,m=a.length,o=eb(b),p=[],q=0;m>q;q++)if(f=a[q],f||0===f)if("object"===n.type(f))n.merge(p,f.nodeType?[f]:f);else if(mb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(kb.exec(f)||["",""])[1].toLowerCase(),k=sb[i]||sb._default,h.innerHTML=k[1]+f.replace(jb,"<$1></$2>")+k[2],e=k[0];while(e--)h=h.lastChild;if(!l.leadingWhitespace&&ib.test(f)&&p.push(b.createTextNode(ib.exec(f)[0])),!l.tbody){f="table"!==i||lb.test(f)?"<table>"!==k[1]||lb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)n.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}n.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),l.appendChecked||n.grep(vb(p,"input"),wb),q=0;while(f=p[q++])if((!d||-1===n.inArray(f,d))&&(g=n.contains(f.ownerDocument,f),h=vb(o.appendChild(f),"script"),g&&Ab(h),c)){e=0;while(f=h[e++])pb.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.deleteExpando,m=n.event.special;null!=(d=a[h]);h++)if((b||n.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k?delete d[i]:typeof d.removeAttribute!==L?d.removeAttribute(i):d[i]=null,c.push(f))}}}),n.fn.extend({text:function(a){return W(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||z).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=xb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=xb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(vb(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&Ab(vb(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(vb(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return W(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(gb,""):void 0;if(!("string"!=typeof a||nb.test(a)||!l.htmlSerialize&&hb.test(a)||!l.leadingWhitespace&&ib.test(a)||sb[(kb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(jb,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(vb(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(vb(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,k=this.length,m=this,o=k-1,p=a[0],q=n.isFunction(p);if(q||k>1&&"string"==typeof p&&!l.checkClone&&ob.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(k&&(i=n.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=n.map(vb(i,"script"),yb),f=g.length;k>j;j++)d=i,j!==o&&(d=n.clone(d,!0,!0),f&&n.merge(g,vb(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,n.map(g,zb),j=0;f>j;j++)d=g[j],pb.test(d.type||"")&&!n._data(d,"globalEval")&&n.contains(h,d)&&(d.src?n._evalUrl&&n._evalUrl(d.src):n.globalEval((d.text||d.textContent||d.innerHTML||"").replace(rb,"")));i=c=null}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],g=n(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),n(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Db,Eb={};function Fb(b,c){var d=n(c.createElement(b)).appendTo(c.body),e=a.getDefaultComputedStyle?a.getDefaultComputedStyle(d[0]).display:n.css(d[0],"display");return d.detach(),e}function Gb(a){var b=z,c=Eb[a];return c||(c=Fb(a,b),"none"!==c&&c||(Db=(Db||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Db[0].contentWindow||Db[0].contentDocument).document,b.write(),b.close(),c=Fb(a,b),Db.detach()),Eb[a]=c),c}!function(){var a,b,c=z.createElement("div"),d="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";c.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=c.getElementsByTagName("a")[0],a.style.cssText="float:left;opacity:.5",l.opacity=/^0.5/.test(a.style.opacity),l.cssFloat=!!a.style.cssFloat,c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===c.style.backgroundClip,a=c=null,l.shrinkWrapBlocks=function(){var a,c,e,f;if(null==b){if(a=z.getElementsByTagName("body")[0],!a)return;f="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",c=z.createElement("div"),e=z.createElement("div"),a.appendChild(c).appendChild(e),b=!1,typeof e.style.zoom!==L&&(e.style.cssText=d+";width:1px;padding:1px;zoom:1",e.innerHTML="<div></div>",e.firstChild.style.width="5px",b=3!==e.offsetWidth),a.removeChild(c),a=c=e=null}return b}}();var Hb=/^margin/,Ib=new RegExp("^("+T+")(?!px)[a-z%]+$","i"),Jb,Kb,Lb=/^(top|right|bottom|left)$/;a.getComputedStyle?(Jb=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)},Kb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Jb(a),g=c?c.getPropertyValue(b)||c[b]:void 0,c&&(""!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),Ib.test(g)&&Hb.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0===g?g:g+""}):z.documentElement.currentStyle&&(Jb=function(a){return a.currentStyle},Kb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Jb(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Ib.test(g)&&!Lb.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Mb(a,b){return{get:function(){var c=a();if(null!=c)return c?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h=z.createElement("div"),i="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",j="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";h.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",b=h.getElementsByTagName("a")[0],b.style.cssText="float:left;opacity:.5",l.opacity=/^0.5/.test(b.style.opacity),l.cssFloat=!!b.style.cssFloat,h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===h.style.backgroundClip,b=h=null,n.extend(l,{reliableHiddenOffsets:function(){if(null!=c)return c;var a,b,d,e=z.createElement("div"),f=z.getElementsByTagName("body")[0];if(f)return e.setAttribute("className","t"),e.innerHTML="  <link/><table></table><a href='/a'>a</a>
vendor: 9,513 bytes, lines 3-4
3<input type='checkbox'/>",a=z.createElement("div"),a.style.cssText=i,f.appendChild(a).appendChild(e),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",b=e.getElementsByTagName("td"),b[0].style.cssText="padding:0;margin:0;border:0;display:none",d=0===b[0].offsetHeight,b[0].style.display="",b[1].style.display="none",c=d&&0===b[0].offsetHeight,f.removeChild(a),e=f=null,c},boxSizing:function(){return null==d&&k(),d},boxSizingReliable:function(){return null==e&&k(),e},pixelPosition:function(){return null==f&&k(),f},reliableMarginRight:function(){var b,c,d,e;if(null==g&&a.getComputedStyle){if(b=z.getElementsByTagName("body")[0],!b)return;c=z.createElement("div"),d=z.createElement("div"),c.style.cssText=i,b.appendChild(c).appendChild(d),e=d.appendChild(z.createElement("div")),e.style.cssText=d.style.cssText=j,e.style.marginRight=e.style.width="0",d.style.width="1px",g=!parseFloat((a.getComputedStyle(e,null)||{}).marginRight),b.removeChild(c)}return g}});function k(){var b,c,h=z.getElementsByTagName("body")[0];h&&(b=z.createElement("div"),c=z.createElement("div"),b.style.cssText=i,h.appendChild(b).appendChild(c),c.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%",n.swap(h,null!=h.style.zoom?{zoom:1}:{},function(){d=4===c.offsetWidth}),e=!0,f=!1,g=!0,a.getComputedStyle&&(f="1%"!==(a.getComputedStyle(c,null)||{}).top,e="4px"===(a.getComputedStyle(c,null)||{width:"4px"}).width),h.removeChild(b),c=h=null)}}(),n.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var Nb=/alpha\([^)]*\)/i,Ob=/opacity\s*=\s*([^)]*)/,Pb=/^(none|table(?!-c[ea]).+)/,Qb=new RegExp("^("+T+")(.*)$","i"),Rb=new RegExp("^([+-])=("+T+")","i"),Sb={position:"absolute",visibility:"hidden",display:"block"},Tb={letterSpacing:0,fontWeight:400},Ub=["Webkit","O","Moz","ms"];function Vb(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=Ub.length;while(e--)if(b=Ub[e]+c,b in a)return b;return d}function Wb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=n._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&V(d)&&(f[g]=n._data(d,"olddisplay",Gb(d.nodeName)))):f[g]||(e=V(d),(c&&"none"!==c||!e)&&n._data(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function Xb(a,b,c){var d=Qb.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Yb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+U[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+U[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+U[f]+"Width",!0,e))):(g+=n.css(a,"padding"+U[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+U[f]+"Width",!0,e)));return g}function Zb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Jb(a),g=l.boxSizing()&&"border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Kb(a,b,f),(0>e||null==e)&&(e=a.style[b]),Ib.test(e))return e;d=g&&(l.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Yb(a,b,c||(g?"border":"content"),d,f)+"px"}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Kb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":l.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;if(b=n.cssProps[h]||(n.cssProps[h]=Vb(i,h)),g=n.cssHooks[b]||n.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=Rb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(n.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||n.cssNumber[h]||(c+="px"),l.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]="",i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Vb(a.style,h)),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Kb(a,b,d)),"normal"===f&&b in Tb&&(f=Tb[b]),""===c||c?(e=parseFloat(f),c===!0||n.isNumeric(e)?e||0:f):f}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?0===a.offsetWidth&&Pb.test(n.css(a,"display"))?n.swap(a,Sb,function(){return Zb(a,b,d)}):Zb(a,b,d):void 0},set:function(a,c,d){var e=d&&Jb(a);return Xb(a,c,d?Yb(a,b,d,l.boxSizing()&&"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),l.opacity||(n.cssHooks.opacity={get:function(a,b){return Ob.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=n.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===n.trim(f.replace(Nb,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Nb.test(f)?f.replace(Nb,e):f+" "+e)}}),n.cssHooks.marginRight=Mb(l.reliableMarginRight,function(a,b){return b?n.swap(a,{display:"inline-block"},Kb,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+U[d]+b]=f[d]||f[d-2]||f[0];return e}},Hb.test(a)||(n.cssHooks[a+b].set=Xb)}),n.fn.extend({css:function(a,b){return W(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=Jb(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)
4},a,b,arguments.length>1)},show:function(){return Wb(this,!0)},hide:function(){return Wb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){V(this)?n(this).show():n(this).hide()})}});function $b(a,b,c,d,e){return new $b.prototype.init(a,b,c,d,e)}n.Tween=$b,$b.prototype={constructor:$b,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=$b.propHooks[this.prop];return a&&a.get?a.get(this):$b.propHooks._default.get(this)},run:function(a){var b,c=$b.propHooks[this.prop];return this.pos=b=this.options.duration?n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):$b.propHooks._default.set(this),this}},$b.prototype.init.prototype=$b.prototype,$b.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[n.cssProps[a.prop]]||n.cssHooks[a.prop])?n.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},$b.propHooks.scrollTop=$b.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},n.fx=$b.prototype.init,n.fx.step={};var _b,ac,bc=/^(?:toggle|show|hide)$/,cc=new RegExp("^(?:([+-])=|)("+T+")([a-z%]*)$","i"),dc=/queueHooks$/,ec=[jc],fc={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=cc.exec(b),f=e&&e[3]||(n.cssNumber[a]?"":"px"),g=(n.cssNumber[a]||"px"!==f&&+d)&&cc.exec(n.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,n.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function gc(){return setTimeout(function(){_b=void 0}),_b=n.now()}function hc(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=U[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function ic(a,b,c){for(var d,e=(fc[b]||[]).concat(fc["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function jc(a,b,c){var d,e,f,g,h,i,j,k,m=this,o={},p=a.style,q=a.nodeType&&V(a),r=n._data(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,m.always(function(){m.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=n.css(a,"display"),k=Gb(a.nodeName),"none"===j&&(j=k),"inline"===j&&"none"===n.css(a,"float")&&(l.inlineBlockNeedsLayout&&"inline"!==k?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",l.shrinkWrapBlocks()||m.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],bc.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||n.style(a,d)}if(!n.isEmptyObject(o)){r?"hidden"in r&&(q=r.hidden):r=n._data(a,"fxshow",{}),f&&(r.hidden=!q),q?n(a).show():m.done(function(){n(a).hide()}),m.done(function(){var b;n._removeData(a,"fxshow");for(b in o)n.style(a,b,o[b])});for(d in o)g=ic(q?r[d]:0,d,m),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function kc(a,b){var c,d,e,f,g;
vendor: 28,247 bytes, line 4
4for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function lc(a,b,c){var d,e,f=0,g=ec.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=_b||gc(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:_b||gc(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(kc(k,j.opts.specialEasing);g>f;f++)if(d=ec[f].call(j,a,k,j.opts))return d;return n.map(k,ic,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(lc,{tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],fc[c]=fc[c]||[],fc[c].unshift(b)},prefilter:function(a,b){b?ec.unshift(a):ec.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(V).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=lc(this,n.extend({},a),f);(e||n._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=n._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&dc.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=n._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(hc(b,!0),a,d,e)}}),n.each({slideDown:hc("show"),slideUp:hc("hide"),slideToggle:hc("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=n.timers,c=0;for(_b=n.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||n.fx.stop(),_b=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){ac||(ac=setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){clearInterval(ac),ac=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(a,b){return a=n.fx?n.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a,b,c,d,e=z.createElement("div");e.setAttribute("className","t"),e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=e.getElementsByTagName("a")[0],c=z.createElement("select"),d=c.appendChild(z.createElement("option")),b=e.getElementsByTagName("input")[0],a.style.cssText="top:1px",l.getSetAttribute="t"!==e.className,l.style=/top/.test(a.getAttribute("style")),l.hrefNormalized="/a"===a.getAttribute("href"),l.checkOn=!!b.value,l.optSelected=d.selected,l.enctype=!!z.createElement("form").enctype,c.disabled=!0,l.optDisabled=!d.disabled,b=z.createElement("input"),b.setAttribute("value",""),l.input=""===b.getAttribute("value"),b.value="t",b.setAttribute("type","radio"),l.radioValue="t"===b.value,a=b=c=d=e=null}();var mc=/\r/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(mc,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.text(a)}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(l.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)if(d=e[g],n.inArray(n.valHooks.option.get(d),f)>=0)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>=0:void 0}},l.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var nc,oc,pc=n.expr.attrHandle,qc=/^(?:checked|selected)$/i,rc=l.getSetAttribute,sc=l.input;n.fn.extend({attr:function(a,b){return W(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===L?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),d=n.attrHooks[b]||(n.expr.match.bool.test(b)?oc:nc)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void n.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(F);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)?sc&&rc||!qc.test(c)?a[d]=!1:a[n.camelCase("default-"+c)]=a[d]=!1:n.attr(a,c,""),a.removeAttribute(rc?c:d)},attrHooks:{type:{set:function(a,b){if(!l.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),oc={set:function(a,b,c){return b===!1?n.removeAttr(a,c):sc&&rc||!qc.test(c)?a.setAttribute(!rc&&n.propFix[c]||c,c):a[n.camelCase("default-"+c)]=a[c]=!0,c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=pc[b]||n.find.attr;pc[b]=sc&&rc||!qc.test(b)?function(a,b,d){var e,f;return d||(f=pc[b],pc[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,pc[b]=f),e}:function(a,b,c){return c?void 0:a[n.camelCase("default-"+b)]?b.toLowerCase():null}}),sc&&rc||(n.attrHooks.value={set:function(a,b,c){return n.nodeName(a,"input")?void(a.defaultValue=b):nc&&nc.set(a,b,c)}}),rc||(nc={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},pc.id=pc.name=pc.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},n.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:nc.set},n.attrHooks.contenteditable={set:function(a,b,c){nc.set(a,""===b?!1:b,c)}},n.each(["width","height"],function(a,b){n.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),l.style||(n.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var tc=/^(?:input|select|textarea|button|object)$/i,uc=/^(?:a|area)$/i;n.fn.extend({prop:function(a,b){return W(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return a=n.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),n.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!n.isXMLDoc(a),f&&(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=n.find.attr(a,"tabindex");return b?parseInt(b,10):tc.test(a.nodeName)||uc.test(a.nodeName)&&a.href?0:-1}}}}),l.hrefNormalized||n.each(["href","src"],function(a,b){n.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),l.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this}),l.enctype||(n.propFix.enctype="encoding");var vc=/[\t\r\n\f]/g;n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j="string"==typeof a&&a;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(F)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(vc," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=n.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j=0===arguments.length||"string"==typeof a&&a;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(F)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(vc," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?n.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(n.isFunction(a)?function(c){n(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=n(this),f=a.match(F)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===L||"boolean"===c)&&(this.className&&n._data(this,"__className__",this.className),this.className=this.className||a===!1?"":n._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(vc," ").indexOf(b)>=0)return!0;return!1}}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var wc=n.now(),xc=/\?/,yc=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;n.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=n.trim(b+"");return e&&!n.trim(e.replace(yc,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():n.error("Invalid JSON: "+b)},n.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||n.error("Invalid XML: "+b),c};var zc,Ac,Bc=/#.*$/,Cc=/([?&])_=[^&]*/,Dc=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ec=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Fc=/^(?:GET|HEAD)$/,Gc=/^\/\//,Hc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ic={},Jc={},Kc="*/".concat("*");try{Ac=location.href}catch(Lc){Ac=z.createElement("a"),Ac.href="",Ac=Ac.href}zc=Hc.exec(Ac.toLowerCase())||[];function Mc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(F)||[];if(n.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Nc(a,b,c,d){var e={},f=a===Jc;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Oc(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&n.extend(!0,a,c),a}function Pc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Qc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ac,type:"GET",isLocal:Ec.test(zc[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Oc(Oc(a,n.ajaxSettings),b):Oc(n.ajaxSettings,a)},ajaxPrefilter:Mc(Ic),ajaxTransport:Mc(Jc),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=n.ajaxSetup({},b),l=k.context||k,m=k.context&&(l.nodeType||l.jquery)?n(l):n.event,o=n.Deferred(),p=n.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!j){j={};while(b=Dc.exec(f))j[b[1].toLowerCase()]=b[2]}b=j[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return i&&i.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||Ac)+"").replace(Bc,"").replace(Gc,zc[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=n.trim(k.dataType||"*").toLowerCase().match(F)||[""],null==k.crossDomain&&(c=Hc.exec(k.url.toLowerCase()),k.crossDomain=!(!c||c[1]===zc[1]&&c[2]===zc[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(zc[3]||("http:"===zc[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=n.param(k.data,k.traditional)),Nc(Ic,k,b,v),2===t)return v;h=k.global,h&&0===n.active++&&n.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!Fc.test(k.type),e=k.url,k.hasContent||(k.data&&(e=k.url+=(xc.test(e)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=Cc.test(e)?e.replace(Cc,"$1_="+wc++):e+(xc.test(e)?"&":"?")+"_="+wc++)),k.ifModified&&(n.lastModified[e]&&v.setRequestHeader("If-Modified-Since",n.lastModified[e]),n.etag[e]&&v.setRequestHeader("If-None-Match",n.etag[e])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+Kc+"; q=0.01":""):k.accepts["*"]);for(d in k.headers)v.setRequestHeader(d,k.headers[d]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(d in{success:1,error:1,complete:1})v[d](k[d]);if(i=Nc(Jc,k,b,v)){v.readyState=1,h&&m.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,c,d){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),i=void 0,f=d||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,c&&(u=Pc(k,v,c)),u=Qc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(n.lastModified[e]=w),w=v.getResponseHeader("etag"),w&&(n.etag[e]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,h&&m.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),h&&(m.trigger("ajaxComplete",[v,k]),--n.active||n.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){if(n.isFunction(a))return this.each(function(b){n(this).wrapAll(a.call(this,b))});if(this[0]){var b=n(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(n.isFunction(a)?function(b){n(this).wrapInner(a.call(this,b))}:function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!l.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||n.css(a,"display"))},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var Rc=/%20/g,Sc=/\[\]$/,Tc=/\r?\n/g,Uc=/^(?:submit|button|image|reset|file)$/i,Vc=/^(?:input|select|textarea|keygen)/i;function Wc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||Sc.test(a)?d(a,e):Wc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Wc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Wc(c,a[c],b,e);return d.join("&").replace(Rc,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&Vc.test(this.nodeName)&&!Uc.test(a)&&(this.checked||!X.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(Tc,"\r\n")}}):{name:b.name,value:c.replace(Tc,"\r\n")}}).get()}}),n.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&$c()||_c()}:$c;var Xc=0,Yc={},Zc=n.ajaxSettings.xhr();a.ActiveXObject&&n(a).on("unload",function(){for(var a in Yc)Yc[a](void 0,!0)}),l.cors=!!Zc&&"withCredentials"in Zc,Zc=l.ajax=!!Zc,Zc&&n.ajaxTransport(function(a){if(!a.crossDomain||l.cors){var b;return{send:function(c,d){var e,f=a.xhr(),g=++Xc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)void 0!==c[e]&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null),b=function(c,e){var h,i,j;if(b&&(e||4===f.readyState))if(delete Yc[g],b=void 0,f.onreadystatechange=n.noop,e)4!==f.readyState&&f.abort();else{j={},h=f.status,"string"==typeof f.responseText&&(j.text=f.responseText);try{i=f.statusText}catch(k){i=""}h||!a.isLocal||a.crossDomain?1223===h&&(h=204):h=j.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=Yc[g]=b:b()},abort:function(){b&&b(void 0,!0)}}}});function $c(){try{return new a.XMLHttpRequest}catch(b){}}function _c(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=z.head||n("head")[0]||z.documentElement;return{send:function(d,e){b=z.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var ad=[],bd=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=ad.pop()||n.expando+"_"+wc++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(bd.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&bd.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(bd,"$1"+e):b.jsonp!==!1&&(b.url+=(xc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,ad.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||z;var d=v.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=n.buildFragment([a],b,e),e&&e.length&&n(e).remove(),n.merge([],d.childNodes))};var cd=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&cd)return cd.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=a.slice(h,a.length),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(f="POST"),g.length>0&&n.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};var dd=a.document.documentElement;function ed(a){return n.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&n.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,n.contains(b,e)?(typeof e.getBoundingClientRect!==L&&(d=e.getBoundingClientRect()),c=ed(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===n.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(c=a.offset()),c.top+=n.css(a[0],"borderTopWidth",!0),c.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-n.css(d,"marginTop",!0),left:b.left-c.left-n.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||dd;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||dd})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);n.fn[a]=function(d){return W(this,function(a,d,e){var f=ed(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?n(f).scrollLeft():e,c?e:n(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=Mb(l.pixelPosition,function(a,c){return c?(c=Kb(a,b),Ib.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return W(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var fd=a.jQuery,gd=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=gd),b&&a.jQuery===n&&(a.jQuery=fd),n},typeof b===L&&(a.jQuery=a.$=n),n});
vendor: 4,950 bytes, lines 4-6
4
5/*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */
6jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e("<input/>",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].c
6oncat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);;jQuery.easing['jswing']=jQuery.easing['swing'];jQuery.extend(jQuery.easing,{def:'easeOutQuad',swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d);},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b;},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b;},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b;},easeInCubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b;},easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b;},easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b;},easeInQuart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b;},easeOutQuart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b;},easeInOutQuart:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b;},easeInQuint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b;},easeOutQuint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b;},easeInOutQuint:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b;},easeInSine:function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b;},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b;},easeInOutSine:function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b;},easeInExpo:function(x,t,b,c,d){return(t==0)?b:c*Math.pow(2,10*(t/d-1))+b;},easeOutExpo:function(x,t,b,c,d){return(t==d)?b+c:c*(-Math.pow(2,-10*t/d)+1)+b;},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b;},easeInCirc:function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b;},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b;},easeInOutCirc:function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b;},easeInElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;
6if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4;}
7else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;},easeOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4;}
8else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b;},easeInOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4;}
9else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b;},easeInBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b;},easeOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b;},easeInOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b;},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b;},easeOutBounce:function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b;}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b;}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b;}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b;}},easeInOutBounce:function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b;}});;function formatedNumberToFloat(price,currencyFormat,currencySign)
10{price=price.replace(currencySign,'');if(currencyFormat===1)
11return parseFloat(price.replace(',','').replace(' ',''));else if(currencyFormat===2)
12return parseFloat(price.replace(' ','').replace(',','.'));else if(currencyFormat===3)
13return parseFloat(price.replace('.','').replace(' ','').replace(',','.'));else if(currencyFormat===4)
14return parseFloat(price.replace(',','').replace(' ',''));return price;}
15function formatNumber(value,numberOfDecimal,thousenSeparator,virgule)
16{value=value.toFixed(numberOfDecimal);var val_string=value+'';var tmp=val_string.split('.');var abs_val_string=(tmp.length===2)?tmp[0]:val_string;var deci_string=('0.'+(tmp.length===2?tmp[1]:0)).substr(2);var nb=abs_val_string.length;for(var i=1;i<4;i++)
17if(value>=Math.pow(10,(3*i)))
18abs_val_string=abs_val_string.substring(0,nb-(3*i))+thousenSeparator+abs_val_string.substring(nb-(3*i));if(parseInt(numberOfDecimal)===0)
19return abs_val_string;return abs_val_string+virgule+(deci_string>0?deci_string:'00');}
20function formatCurrency(price,currencyFormat,currencySign,currencyBlank)
21{var blank='';price=parseFloat(price).toFixed(10);price=ps_round(price,priceDisplayPrecision);if(currencyBlank>0)
22blank=' ';if(currencyFormat==1)
23return currencySign+blank+formatNumber(price,priceDisplayPrecision,',','.');if(currencyFormat==2)
24return(formatNumber(price,priceDisplayPrecision,' ',',')+blank+currencySign);if(currencyFormat==3)
25return(currencySign+blank+formatNumber(price,priceDisplayPrecision,'.',','));if(currencyFormat==4)
26return(formatNumber(price,priceDisplayPrecision,',','.')+blank+currencySign);if(currencyFormat==5)
27return(currencySign+blank+formatNumber(price,priceDisplayPrecision,'\'','.'));return price;}
28function ps_round_helper(value,mode)
29{if(value>=0.0)
30{tmp_value=Math.floor(value+0.5);if((mode==3&&value==(-0.5+tmp_value))||(mode==4&&value==(0.5+2*Math.floor(tmp_value/2.0)))||(mode==5&&value==(0.5+2*Math.floor(tmp_value/2.0)-1.0)))
31tmp_value-=1.0;}
32else
33{tmp_value=Math.ceil(value-0.5);if((mode==3&&value==(0.5+tmp_value))||(mode==4&&value==(-0.5+2*Math.ceil(tmp_value/2.0)))||(mode==5&&value==(-0.5+2*Math.ceil(tmp_value/2.0)+1.0)))
34tmp_value+=1.0;}
35return tmp_value;}
36function ps_log10(value)
37{return Math.log(value)/Math.LN10;}
38function ps_round_half_up(value,precision)
39{var mul=Math.pow(10,precision);var val=value*mul;var next_digit=Math.floor(val*10)-10*Math.floor(val);if(next_digit>=5)
40val=Math.ceil(val);else
41val=Math.floor(val);return val/mul;}
42function ps_round(value,places)
43{if(typeof(roundMode)==='undefined')
44roundMode=2;if(typeof(places)==='undefined')
45places=2;var method=roundMode;if(method===0)
46return ceilf(value,places);else if(method===1)
47return floorf(value,places);else if(method===2)
48return ps_round_half_up(value,places);else if(method==3||method==4||method==5)
49{var precision_places=14-Math.floor(ps_log10(Math.abs(value)));var f1=Math.pow(10,Math.abs(places));if(precision_places>places&&precision_places-places<15)
50{var f2=Math.pow(10,Math.abs(precision_places));if(precision_places>=0)
51tmp_value=value*f2;else
52tmp_value=value/f2;tmp_value=ps_round_helper(tmp_value,roundMode);f2=Math.pow(10,Math.abs(places-precision_places));tmp_value/=f2;}
53else
54{if(places>=0)
55tmp_value=value*f1;else
56tmp_value=value/f1;if(Math.abs(tmp_value)>=1e15)
57return value;}
58tmp_value=ps_round_helper(tmp_value,roundMode);if(places>0)
59tmp_value=tmp_value/f1;else
60tmp_value=tmp_value*f1;return tmp_value;}}
61function autoUrl(name,dest)
62{var loc;var id_list;id_list=document.getElementById(name);loc=id_list.options[id_list.selectedIndex].value;if(loc!=0)
63location.href=dest+loc;return;}
64function autoUrlNoList(name,dest)
65{var loc;loc=document.getElementById(name).checked;location.href=dest+(loc==true?1:0);return;}
66function toggle(e,show)
67{e.style.display=show?'':'none';}
68function toggleMultiple(tab)
69{var len=tab.length;for(var i=0;i<len;i++)
70if(tab[i].style)
71toggle(tab[i],tab[i].style.display=='none');}
72function showElemFromSelect(select_id,elem_id)
73{var select=document.getElementById(select_id);for(var i=0;i<select.length;++i)
74{var elem=document.getElementById(elem_id+select.options[i].value);if(elem!=null)
75toggle(elem,i==select.selectedIndex);}}
76function openCloseAllDiv(name,option)
77{var tab=$('*[name='+name+']');for(var i=0;i<tab.length;++i)
78toggle(tab[i],option);}
79function toggleDiv(name,option)
80{$('*[name='+name+']').each(function(){if(option=='open')
81{$('#buttonall').data('status','close');$(this).hide();}
82else
83{$('#buttonall').data('status','open');$(this).show();}})}
84function toggleButtonValue(id_button,text1,text2)
85{if($('#'+id_button).find('i').first().hasClass('process-icon-compress'))
86{$('#'+id_button).find('i').first().removeClass('process-icon-compress').addClass('process-icon-expand');$('#'+id_button).find('span').first().html(text1);}
87else
88{$('#'+id_button).find('i').first().removeClass('process-icon-expand').addClass('process-icon-compress');$('#'+id_button).find('span').first().html(text2);}}
89function toggleElemValue(id_button,text1,text2)
90{var obj=document.getElementById(id_button);if(obj)
91obj.value=((!obj.value||obj.value==text2)?text1:text2);}
92function addBookmark(url,title)
93{if(window.sidebar&&window.sidebar.addPanel)
94return window.sidebar.addPanel(title,url,"");else if(window.external&&('AddFavorite'in window.external))
95return window.external.AddFavorite(url,title);}
96function writeBookmarkLink(url,title,text,img)
97{var insert='';if(img)
98insert=writeBookmarkLinkObject(url,title,'<img src="'+img+'" alt="'+escape(text)+'" title="'+removeQuotes(text)+'" />')+'&nbsp';insert+=writeBookmarkLinkObject(url,title,text);if(window.sidebar||window.opera&&window.print||(window.external&&('AddFavorite'in window.external)))
99$('.add_bookmark, #header_link_bookmark').append(insert);}
100function writeBookmarkLinkObject(url,title,insert)
101{if(window.sidebar||window.external)
102return('<a href="javascript:addBookmark(\''+escape(url)+'\', \''+removeQuotes(title)+'\')">'+insert+'</a>');else if(window.opera&&window.print)
103return('<a rel="sidebar" href="'+escape(url)+'" title="'+removeQuotes(title)+'">'+insert+'</a>');return('');}
104function checkCustomizations()
105{var pattern=new RegExp(' ?filled ?');if(typeof customizationFields!='undefined')
106for(var i=0;i<customizationFields.length;i++)
107{if(parseInt(customizationFields[i][1])==1&&($('#'+customizationFields[i][0]).html()==''||$('#'+customizationFields[i][0]).text()!=$('#'+customizationFields[i][0]).val())&&!pattern.test($('#'+customizationFields[i][0]).attr('class')))
108return false;}
109return true;}
110function emptyCustomizations()
111{customizationId=null;if(typeof(customizationFields)=='undefined')return;$('.customization_block .success').fadeOut(function(){$(this).remove();});$('.customization_block .error').fadeOut(function(){$(this).remove();});for(var i=0;i<customizationFields.length;i++)
112{$('#'+customizationFields[i][0]).html('');$('#'+customizationFields[i][0]).val('');}}
113function ceilf(value,precision)
114{if(typeof(precision)==='undefined')
115precision=0;var precisionFactor=precision===0?1:Math.pow(10,precision);var tmp=value*precisionFactor;var tmp2=tmp.toString();if(tmp2[tmp2.length-1]===0)
116return value;return Math.ceil(value*precisionFactor)/precisionFactor;}
117function floorf(value,precision)
118{if(typeof(precision)==='undefined')
119precision=0;var precisionFactor=precision===0?1:Math.pow(10,precision);var tmp=value*precisionFactor;var tmp2=tmp.toString();if(tmp2[tmp2.length-1]===0)
120return value;return Math.floor(value*precisionFactor)/precisionFactor;}
121function setCurrency(id_currency)
122{$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:baseDir+'index.php'+'?rand='+new Date().getTime(),data:'controller=change-currency&id_currency='+parseInt(id_currency),success:function(msg)
123{location.reload(true);}});}
124function isArrowKey(k_ev)
125{var unicode=k_ev.keyCode?k_ev.keyCode:k_ev.charCode;if(unicode>=37&&unicode<=40)
126return true;return false;}
127function removeQuotes(value)
128{value=value.replace(/\\"/g,'');value=value.replace(/"/g,'');value=value.replace(/\\'/g,'');value=value.replace(/'/g,'');return value;}
129function sprintf(format)
130{for(var i=1;i<arguments.length;i++)
131format=format.replace(/%s/,arguments[i]);return format;}
132function fancyMsgBox(msg,title)
133{if(title)msg="<h2>"+title+"</h2><p>"+msg+"</p>";msg+="<br/><p class=\"submit\" style=\"text-align:right; padding-bottom: 0\"><input class=\"button\" type=\"button\" value=\"OK\" onclick=\"$.fancybox.close();\" /></p>";if(!!$.prototype.fancybox)
134$.fancybox(msg,{'autoDimensions':false,'autoSize':false,'width':500,'height':'auto','o
134penEffect':'none','closeEffect':'none'});}
135function fancyChooseBox(question,title,buttons,otherParams)
136{var msg,funcName,action;msg='';if(title)
137msg="<h2>"+title+"</h2><p>"+question+"</p>";msg+="<br/><p class=\"submit\" style=\"text-align:right; padding-bottom: 0\">";var i=0;for(var caption in buttons){if(!buttons.hasOwnProperty(caption))continue;funcName=buttons[caption];if(typeof otherParams=='undefined')otherParams=0;otherParams=escape(JSON.stringify(otherParams));action=funcName?"$.fancybox.close();window['"+funcName+"'](JSON.parse(unescape('"+otherParams+"')), "+i+")":"$.fancybox.close()";msg+='<button type="submit" class="button btn-default button-medium" style="margin-right: 5px;" value="true" onclick="'+action+'" >';msg+='<span>'+caption+'</span></button>'
138i++;}
139msg+="</p>";if(!!$.prototype.fancybox)
140$.fancybox(msg,{'autoDimensions':false,'width':500,'height':'auto','openEffect':'none','closeEffect':'none'});}
141function toggleLayer(whichLayer,flag)
142{if(!flag)
143$(whichLayer).hide();else
144$(whichLayer).show();}
145function openCloseLayer(whichLayer,action)
146{if(!action)
147{if($(whichLayer).css('display')=='none')
148$(whichLayer).show();else
149$(whichLayer).hide();}
150else if(action=='open')
151$(whichLayer).show();else if(action=='close')
152$(whichLayer).hide();}
153function updateTextWithEffect(jQueryElement,text,velocity,effect1,effect2,newClass)
154{if(jQueryElement.text()!==text)
155{if(effect1==='fade')
156jQueryElement.fadeOut(velocity,function(){$(this).addClass(newClass);if(effect2==='fade')$(this).text(text).fadeIn(velocity);else if(effect2==='slide')$(this).text(text).slideDown(velocity);else if(effect2==='show')$(this).text(text).show(velocity,function(){});});else if(effect1==='slide')
157jQueryElement.slideUp(velocity,function(){$(this).addClass(newClass);if(effect2==='fade')$(this).text(text).fadeIn(velocity);else if(effect2==='slide')$(this).text(text).slideDown(velocity);else if(effect2==='show')$(this).text(text).show(velocity);});else if(effect1==='hide')
158jQueryElement.hide(velocity,function(){$(this).addClass(newClass);if(effect2==='fade')$(this).text(text).fadeIn(velocity);else if(effect2==='slide')$(this).text(text).slideDown(velocity);else if(effect2==='show')$(this).text(text).show(velocity);});}}
159function dbg(value)
160{var active=false;var firefox=true;if(active)
161if(firefox)
162console.log(value);else
163alert(value);}
164function print_r(element,limit,depth)
165{depth=depth?depth:0;limit=limit?limit:1;returnString='<ol>';for(property in element)
166{if(property!='domConfig')
167{returnString+='<li><strong>'+property+'</strong> <small>('+(typeof element[property])+')</small>';if(typeof element[property]=='number'||typeof element[property]=='boolean')
168returnString+=' : <em>'+element[property]+'</em>';if(typeof element[property]=='string'&&element[property])
169returnString+=': <div style="background:#C9C9C9;border:1px solid black; overflow:auto;"><code>'+
170element[property].replace(/</g,'&amp;lt;').replace(/>/g,'&amp;gt;')+'</code></div>';if((typeof element[property]=='object')&&(depth<limit))
171returnString+=print_r(element[property],limit,(depth+1));returnString+='</li>';}}
172returnString+='</ol>';if(depth==0)
173{winpop=window.open("","","width=800,height=600,scrollbars,resizable");
173winpop.document.write('<pre>'+returnString+'</pre>');winpop.document.close();}
174return returnString;}
175function in_array(value,array)
176{for(var i in array)
177if((array[i]+'')===(value+''))
178return true;return false;}
179function isCleanHtml(content)
180{var events='onmousedown|onmousemove|onmmouseup|onmouseover|onmouseout|onload|onunload|onfocus|onblur|onchange';events+='|onsubmit|ondblclick|onclick|onkeydown|onkeyup|onkeypress|onmouseenter|onmouseleave|onerror|onselect|onreset|onabort|ondragdrop|onresize|onactivate|onafterprint|onmoveend';events+='|onafterupdate|onbeforeactivate|onbeforecopy|onbeforecut|onbeforedeactivate|onbeforeeditfocus|onbeforepaste|onbeforeprint|onbeforeunload|onbeforeupdate|onmove';events+='|onbounce|oncellchange|oncontextmenu|oncontrolselect|oncopy|oncut|ondataavailable|ondatasetchanged|ondatasetcomplete|ondeactivate|ondrag|ondragend|ondragenter|onmousewheel';events+='|ondragleave|ondragover|ondragstart|ondrop|onerrorupdate|onfilterchange|onfinish|onfocusin|onfocusout|onhashchange|onhelp|oninput|onlosecapture|onmessage|onmouseup|onmovestart';events+='|onoffline|ononline|onpaste|onpropertychange|onreadystatechange|onresizeend|onresizestart|onrowenter|onrowexit|onrowsdelete|onrowsinserted|onscroll|onsearch|onselectionchange';events+='|onselectstart|onstart|onstop';var script1=/<[\s]*script/im;var script2=new RegExp('('+events+')[\s]*=','im');var script3=/.*script\:/im;var script4=/<[\s]*(i?frame|embed|object)/im;if(script1.test(content)||script2.test(content)||script3.test(content)||script4.test(content))
181return false;return true;}
182function getStorageAvailable(){test='foo';storage=window.localStorage||window.sessionStorage;try{storage.setItem(test,test);storage.removeItem(test);return storage;}
183catch(error){return null;}}
184$(document).ready(function()
185{$('form').submit(function(){$(this).find('.hideOnSubmit').hide();});$.fn.checkboxChange=function(fnChecked,fnUnchecked){if($(this).prop('checked')&&fnChecked)
186fnChecked.call(this);else if(fnUnchecked)
187fnUnchecked.call(this);if(!$(this).attr('eventCheckboxChange'))
188{$(this).on('change',function(){$(this).checkboxChange(fnChecked,fnUnchecked);});$(this).attr('eventCheckboxChange',true);}};$('a._blank, a.js-new-window').attr('target','_blank');});;var responsiveflag=false;if(typeof comparedProductsIds==="undefined"){var comparedProductsIds=[];}
189$(document).ready(function(){highdpiInit();responsiveResize();floatHeader();$(window).resize(responsiveResize);backtotop();$('.verticalmenu .dropdown-toggle').prop('disabled',true);$('.verticalmenu .dropdown-toggle').data('toggle','');$(".verticalmenu .caret").click(function(){var $parent=$(this).parent();$parent.toggleClass('open')
190return false;});if($(document).width()>990)$('.verticalmenu').addClass('active-hover');else $('.verticalmenu').removeClass('active-hover');$(window).resize(menuleftResize);if(navigator.userAgent.match(/Android/i))
191{var viewport=document.querySelector('meta[name="viewport"]');viewport.setAttribute('content','initial-scale=1.0,maximum-scale=1.0,user-scalable=0,width=device-width,height=device-height');window.scrollTo(0,1);}
192if(typeof quickView!=='undefined'&&quickView)
193quick_view();dropDown();if(typeof page_name!='undefined'&&!in_array(page_name,['index','product']))
194{bindGrid();$(document).on('change','.selectProductSort',function(e){if(typeof request!='undefined'&&request)
195var requestSortProducts=request;var splitData=$(this).val().split(':');var url='';if(typeof requestSortProducts!='undefined'&&requestSortProducts)
196{url+=requestSortProducts;if(typeof splitData[0]!=='undefined'&&splitData[0])
197{url+=(requestSortProducts.indexOf('?')<0?'?':'&')+'orderby='+splitData[0];if(typeof splitData[1]!=='undefined'&&splitData[1])
198url+='&orderway='+splitData[1];}
199document.location.href=url;}});$(document).on('change','select[name="n"]',function(){$(this.form).submit();});$(document).on('change','select[name="currency_payment"]',function(){setCurrency($(this).val());});}
200$(document).on('change','select[name="manufacturer_list"], select[name="supplier_list"]',function(){if(this.value!='')
201location.href=this.value;});$(document).on('click','.back',function(e){e.preventDefault();history.back();});jQuery.curCSS=jQuery.css;if(!!$.prototype.cluetip)
202$('a.cluetip').cluetip({local:true,cursor:'pointer',dropShadow:false,dropShadowSteps:0,showTitle:false,tracking:true,sticky:false,mouseOutClose:true,fx:{open:'fadeIn',openSpeed:'fast'}}).css('opacity',0.8);if(typeof(FancyboxI18nClose)!=='undefined'&&typeof(FancyboxI18nNext)!=='undefined'&&typeof(FancyboxI18nPrev)!=='undefined'&&!!$.prototype.fancybox)
203$.extend($.fancybox.defaults.tpl,{closeBtn:'<a title="'+FancyboxI18nClose+'" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="'+FancyboxI18nNext+'" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="'+FancyboxI18nPrev+'" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'});$(".alert.alert-danger").on('click',this,function(e){if(e.offsetX>=16&&e.offsetX<=39&&e.offsetY>=16&&e.offsetY<=34)
204$(this).fadeOut();});$('.btn-group.search-focus').bind('click',function(e){if($(this).hasClass('active')){$('.nav-search').removeClass('open');$(this).removeClass('active');}else{$(this).addClass('active');$('.nav-search').addClass('open');$('.nav-search .input-group input[type="text"]').focus();}});});function menuleftResize(removeOpen){if($(document).width()>990)
205{$('.verticalmenu .dropdown').removeClass('open');$('.verticalmenu').addClass('active-hover');}else{$('.verticalmenu').removeClass('active-hover');}}
206function scrollSliderBarMenu(){var menuElement=$(".float-vertical");var columnElement=null;var maxWindowSize=990;if($(menuElement).hasClass('float-vertical-right'))
207columnElement=$("#right_column");else if($(menuElement).hasClass('float-vertical-left'))
208columnElement=$("#left_column");if($(columnElement).length&&$(window).width()>=maxWindowSize)showOrHideSliderBarMenu(columnElement,menuElement,1);$(".float-vertical-button").click(function(){if($(menuElement).hasClass('active'))sh
208owOrHideSliderBarMenu(columnElement,menuElement,0);else showOrHideSliderBarMenu(columnElement,menuElement,1);});var lastWidth=$(window).width();$(window).resize(function(){if($(window).width()!=lastWidth){if($(window).width()<maxWindowSize){if($(menuElement).hasClass('active'))showOrHideSliderBarMenu(columnElement,menuElement,0);}else{if($(columnElement).length&&!$(menuElement).hasClass('active'))showOrHideSliderBarMenu(columnElement,menuElement,1);}
209lastWidth=$(window).width();}});}
210function showOrHideSliderBarMenu(columnElement,menuElement,active){if(active){$(menuElement).addClass('active');if($(columnElement).length&&$(window).width()>=990)
211columnElement.css('padding-top',($('.block_content',$(menuElement)).height())+'px');}else{$(menuElement).removeClass('active');if($(columnElement).length)columnElement.css('padding-top','');}}
212function highdpiInit()
213{if(typeof highDPI==='undefined')
214return;if(highDPI&&$('.replace-2x').css('font-size')=="1px")
215{var els=$("img.replace-2x").get();for(var i=0;i<els.length;i++)
216{src=els[i].src;extension=src.substr((src.lastIndexOf('.')+1));src=src.replace("."+extension,"2x."+extension);var img=new Image();img.src=src;img.height!=0?els[i].src=src:els[i].src=els[i].src;}}}
217function scrollCompensate()
218{var inner=document.createElement('p');inner.style.width="100%";inner.style.height="200px";var outer=document.createElement('div');outer.style.position="absolute";outer.style.top="0px";outer.style.left="0px";outer.style.visibility="hidden";outer.style.width="200px";outer.style.height="150px";outer.style.overflow="hidden";outer.appendChild(inner);document.body.appendChild(outer);var w1=inner.offsetWidth;outer.style.overflow='scroll';var w2=inner.offsetWidth;if(w1==w2)w2=outer.clientWidth;document.body.removeChild(outer);return(w1-w2);}
219function responsiveResize()
220{compensante=scrollCompensate();if(($(window).width()+scrollCompensate())<=768&&responsiveflag==false)
221{accordion('enable');accordionFooter('enable');responsiveflag=true;}
222else if(($(window).width()+scrollCompensate())>=769)
223{accordion('disable');accordionFooter('disable');responsiveflag=false;if(typeof bindUniform!=='undefined')
224bindUniform();}}
225function quick_view()
226{$(document).on('click','.quick-view:visible, .quick-view-mobile:visible',function(e){e.preventDefault();if(this.rel)
227var url=this.rel;else
228var url=$(this).data('link');var anchor='';if(url.indexOf('#')!=-1)
229{anchor=url.substring(url.indexOf('#'),url.length);url=url.substring(0,url.indexOf('#'));}
230if(url.indexOf('?')!=-1)
231url+='&';else
232url+='?';if(!!$.prototype.fancybox)
233$.fancybox({'padding':0,'width':1087,'height':610,'type':'iframe','href':url+'content_only=1'+anchor});});}
234function bindGrid()
235{var storage=false;if(typeof(getStorageAvailable)!=='undefined'){storage=getStorageAvailable();}
236if(!storage){return;}
237var view=$.totalStorage('display');if(!view&&(typeof displayList!='undefined')&&displayList)
238view='list';gridType="grid";if($("#page").data("type")!='undefined')gridType=$("#page").data("type");if(view&&view!=gridType)display(view);else display(gridType);$(document).on('click','#grid',function(e){e.preventDefault();display('grid');$.totalStorage('display','grid');});$(document).on('click','#list',function(e){e.preventDefault();display('list');$.totalStorage('display','list');});}
239function display(view)
240{$('.display').find('div').removeClass('selected');$('.display').find('div#'+view).addClass('selected');classGrid="col-xs-12 col-sm-6 col-md-4";if($("#page").data("column")!='undefined')classGrid=$("#page").data("column");if(view=='list')
241{$('.product_list').removeClass('grid').addClass('list');$('.product_list > div').removeClass(classGrid).addClass('col-xs-12');$('.product_list > div').each(function(index,element){html='';html='<div class="product-container product-block"><div class="row">';html+='<div class="left-block col-md-4 col-sm-4">'+$(element).find('.left-block').html()+'</div>';html+='<div class="right-block col-md-8 col-sm-8">'+$(element).find('.right-block').html()+'</div>';html+='</div></div>';$(element).html(html);});$('.display').find('li#list').addClass('selected');$('.display').find('li#grid').removeAttr('class');}
242else
243{$('div.product_list').removeClass('list').addClass('grid');$('.product_list > div').removeClass('col-xs-12').addClass(classGrid);$('.product_list > div').each(function(index,element){html='';html+='<div class="product-container product-block">';html+='<div class="left-block">'+$(element).find('.left-block').html()+'</div>';html+='<div class="right-block">'+$(element).find('.right-block').html()+'</div>';html+='</div>';$(element).html(html);});$('.display').find('li#grid').addClass('selected');$('.display').find('li#list').removeAttr('class');}
244if(typeof addEffectProducts=='function'){addEffectProducts();}}
245function dropDown()
246{elementClick='#header .current';elementSlide='ul.toogle_content';activeClass='active';$(elementClick).on('click',function(e){e.stopPropagation();var subUl=$(this).next(elementSlide);
246if(subUl.is(':hidden'))
247{subUl.slideDown();$(this).addClass(activeClass);}
248else
249{subUl.slideUp();$(this).removeClass(activeClass);}
250$(elementClick).not(this).next(elementSlide).slideUp();$(elementClick).not(this).removeClass(activeClass);e.preventDefault();});$(elementSlide).on('click',function(e){e.stopPropagation();});$(document).on('click',function(e){e.stopPropagation();var elementHide=$(elementClick).next(elementSlide);$(elementHide).slideUp();$(elementClick).removeClass('active');});}
251function accordionFooter(status)
252{if(status=='enable')
253{$('#footer .footer-block h4').on('click',function(e){$(this).toggleClass('active').parent().find('.toggle-footer').stop().slideToggle('medium');e.preventDefault();})
254$('#footer').addClass('accordion').find('.toggle-footer').slideUp('fast');}
255else
256{$('.footer-block h4').removeClass('active').off().parent().find('.toggle-footer').removeAttr('style').slideDown('fast');$('#footer').removeClass('accordion');}}
257function accordion(status)
258{if(status=='enable')
259{var accordion_selector='#right_column .block .title_block, #left_column .block .title_block, #left_column #newsletter_block_left h4,'+'#left_column .shopping_cart > a:first-child, #right_column .shopping_cart > a:first-child';$(accordion_selector).on('click',function(e){$(this).toggleClass('active').parent().find('.block_content').stop().slideToggle('medium');});if(page_name!="index"){$('#right_column, #left_column').addClass('accordion').find('.block .block_content').slideUp('fast');}
260if(typeof(ajaxCart)!=='undefined')
261ajaxCart.collapse();}
262else
263{$('#right_column .block .title_block, #left_column .block .title_block, #left_column #newsletter_block_left h4').removeClass('active').off().parent().find('.block_content').removeAttr('style').slideDown('fast');$('#left_column, #right_column').removeClass('accordion');}}
264function bindUniform()
265{if(!!$.prototype.uniform)
266$("select.form-control,input[type='radio'],input[type='checkbox']").not(".not_uniform").uniform();}
267function processFloatHeader(headerAdd,scroolAction){if(headerAdd){$("#header").addClass("navbar-fixed-top");var hideheight=$("#header").height()+120;$("#page").css("padding-top",$("#header").height());setTimeout(function(){$("#page").css("padding-top",$("#header").height());},200);}else{$("#header").removeClass("navbar-fixed-top");$("#page").css("padding-top",'');}
268var pos=$(window).scrollTop();if(scroolAction&&pos>=hideheight){$("#topbar").addClass('hide-bar');$(".hide-bar").css("margin-top",-$("#topbar").height());$("#header-main").addClass("mini-navbar");}else{$("#topbar").removeClass('hide-bar');$("#topbar").css("margin-top",0);$("#header-main").removeClass("mini-navbar");}}
269function floatHeader(){if(!$("body").hasClass("keep-header")||$(window).width()<=990){return;}
270$(window).resize(function(){if($(window).width()<=990)
271{processFloatHeader(0,0);}
272else if($(window).width()>990)
273{if($("body").hasClass("keep-header"))
274processFloatHeader(1,1);}});var headerScrollTimer;$(window).scroll(function(){if(headerScrollTimer){window.clearTimeout(headerScrollTimer);}
275headerScrollTimer=window.setTimeout(function(){if(!$("body").hasClass("keep-header"))return;if($(window).width()>990){processFloatHeader(1,1);}},100);});}
276function backtotop(){$("#back-top").hide();$(function(){$(window).scroll(function(){if($(this).scrollTop()>100){$('#back-top').fadeIn();}else{$('#back-top').fadeOut();}});$('#back-top a').click(function(){$('body,html').animate({scrollTop:0},800);return false;});});};/**
277* bootstrap.js v3.0.0 by @fat and @mdo
278* Copyright 2013 Twitter Inc.
279* http://www.apache.org/licenses/LICENSE-2.0
280*/
281if(!jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(window.jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(
vendor: 25,811 bytes, line 281
281d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]');if(a.length){var b=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change");"radio"===b.prop("type")&&a.find(".active").removeClass("active")}this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(window.jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(window.jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b),f.trigger(d=a.Event("show.bs.dropdown")),d.isDefaultPrevented())return;f.toggleClass("open").trigger("shown.bs.dropdown")}return e.focus(),!1}},f.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var f=c(d),g=f.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&f.find(e).focus(),d.click();var h=a("[role=menu] li:not(.divider):visible a",f);if(h.length){var i=h.index(h.filter(":focus"));38==b.keyCode&&i>0&&i--,40==b.keyCode&&i<h.length-1&&i++,~i||(i=0),h.eq(i).focus()}}}};var g=a.fn.dropdown;a.fn.dropdown=function(b){return this.each(function(){var c=a(this),d=c.data("dropdown");d||c.data("dropdown",d=new f(this)),"string"==typeof b&&d[b].call(c)})},a.fn.dropdown.Constructor=f,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=g,this},a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",e,f.prototype.toggle).on("keydown.bs.dropdown.data-api",e+", [role=menu]",f.prototype.keydown)}(window.jQuery),+function(a){"use strict";var b=function(b,c){this.options=c,this.$element=a(b).on("click.dismiss.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)};b.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},b.prototype.toggle=function(a){return this[this.isShown?"hide":"show"](a)},b.prototype.show=function(b){var c=this,d=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(d),this.isShown||d.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.backdrop(function(){var d=a.support.transition&&c.$element.hasClass("fade");c.$element.parent().length||c.$element.appendTo(document.body),c.$element.show(),d&&c.$element[0].offsetWidth,c.$element.addClass("in").attr("aria-hidden",!1),c.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:b});d?c.$element.one(a.support.transition.end,function(){c.$element.focus().trigger(e)}).emulateTransitionEnd(300):c.$element.focus().trigger(e)}))},b.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one(a.support.transition.end,a.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},b.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.focus()},this))},b.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},b.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.removeBackdrop(),a.$element.trigger("hidden.bs.modal")})},b.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},b.prototype.backdrop=function(b){var c=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var d=a.support.transition&&c;if(this.$backdrop=a('<div class="modal-backdrop '+c+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),d&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;d?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()):b&&b()};var c=a.fn.modal;a.fn.modal=function(c,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},b.DEFAULTS,e.data(),"object"==typeof c&&c);f||e.data("bs.modal",f=new b(this,g)),"string"==typeof c?f[c](d):g.show&&f.show(d)})},a.fn.modal.Constructor=b,a.fn.modal.noConflict=function(){return a.fn.modal=c,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(b){var c=a(this),d=c.attr("href"),e=a(c.attr("data-target")||d&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("modal")?"toggle":a.extend({remote:!/#/.test(d)&&d},e.data(),c.data());b.preventDefault(),e.modal(f,this).one("hide",function(){c.is(":visible")&&c.focus()})}),a(document).on("shown.bs.modal",".modal",function(){a(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){a(document.body).removeClass("modal-open")})}(window.jQuery),+function(a){"use strict";var b=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};b.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},b.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focus",i="hover"==g?"mouseleave":"blur";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},b.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},b.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.options.delay&&c.options.delay.show?(c.hoverState="in",c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show),void 0):c.show()},b.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.options.delay&&c.options.delay.hide?(c.hoverState="out",c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide),void 0):c.hide()},b.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(b),b.isDefaultPrevented())return;var c=this.tip();this.setContent(),this.options.animation&&c.addClass("fade");var d="function"==typeof this.options.placement?this.options.placement.call(this,c[0],this.$element[0]):this.options.placement,e=/\s?auto?\s?/i,f=e.test(d);f&&(d=d.replace(e,"")||"top"),c.detach().css({top:0,left:0,display:"block"}).addClass(d),this.options.container?c.appendTo(this.options.container):c.insertAfter(this.$element);var g=this.getPosition(),h=c[0].offsetWidth,i=c[0].offsetHeight;if(f){var j=this.$element.parent(),k=d,l=document.documentElement.scrollTop||document.body.scrollTop,m="body"==this.options.container?window.innerWidth:j.outerWidth(),n="body"==this.options.container?window.innerHeight:j.outerHeight(),o="body"==this.options.container?0:j.offset().left;d="bottom"==d&&g.top+g.height+i-l>n?"top":"top"==d&&g.top-l-i<0?"bottom":"right"==d&&g.right+h>m?"left":"left"==d&&g.left-h<o?"right":d,c.removeClass(k).addClass(d)}var p=this.getCalculatedOffset(d,g,h,i);this.applyPlacement(p,d),this.$element.trigger("shown.bs."+this.type)}},b.prototype.applyPlacement=function(a,b){var c,d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),a.top=a.top+g,a.left=a.left+h,d.offset(a).addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;if("top"==b&&j!=f&&(c=!0,a.top=a.top+f-j),/bottom|top/.test(b)){var k=0;a.left<0&&(k=-2*a.left,a.left=0,d.offset(a),i=d[0].offsetWidth,j=d[0].offsetHeight),this.replaceArrow(k-e+i,i,"left")}else this.replaceArrow(j-f,j,"top");c&&d.offset(a)},b.prototype.replaceArrow=function(a,b,c){this.arrow().css(c,a?50*(1-a/b)+"%":"")},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},b.prototype.hide=function(){function b(){c.detach()}var c=this.tip(),d=a.Event("hide.bs."+this.type);return this.$element.trigger(d),d.isDefaultPrevented()?void 0:(c.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?c.one(a.support.transition.end,b).emulateTransitionEnd(150):b(),this.$element.trigger("hidden.bs."+this.type),this)},b.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},b.prototype.hasContent=function(){return this.getTitle()},b.prototype.getPosition=function(){var b=this.$element[0];return a.extend({},"function"==typeof b.getBoundingClientRect?b.getBoundingClientRect():{width:b.offsetWidth,height:b.offsetHeight},this.$element.offset())},b.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},b.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},b.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},b.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},b.prototype.enable=function(){this.enabled=!0},b.prototype.disable=function(){this.enabled=!1},b.prototype.toggleEnabled=function(){this.enabled=!this.enabled},b.prototype.toggle=function(b){var c=b?a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;c.tip().hasClass("in")?c.leave(c):c.enter(c)},b.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var c=a.fn.tooltip;a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof c&&c;e||d.data("bs.tooltip",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=c,this}}(window.jQuery),+function(a){"use strict";var b=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");b.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(window.jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.attr("data-target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;
281e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(window.jQuery);/*
282 * TotalStorage
283 *
284 * Copyright (c) 2012 Jared Novack & Upstatement (upstatement.com)
285 * Dual licensed under the MIT and GPL licenses:
286 * http://www.opensource.org/licenses/mit-license.php
287 * http://www.gnu.org/licenses/gpl.html
288 *
289 * Total Storage is the conceptual the love child of jStorage by Andris Reinman, 
290 * and Cookie by Klaus Hartl -- though this is not connected to either project.
291 *
292 * @name $.totalStorage
293 * @cat Plugins/Cookie
294 * @author Jared Novack/[email protected]
295 * @version 1.1.2
296 * @url http://upstatement.com/blog/2012/01/jquery-local-storage-done-right-and-easy/
297 */
298(function($){var ls=window.localStorage;var supported;if(typeof ls=='undefined'||typeof window.JSON=='undefined'){supported=false;}else{supported=true;}
299$.totalStorage=function(key,value,options){return $.totalStorage.impl.init(key,value);}
300$.totalStorage.setItem=function(key,value){return $.totalStorage.impl.setItem(key,value);}
301$.totalStorage.getItem=function(key){return $.totalStorage.impl.getItem(key);}
302$.totalStorage.getAll=function(){return $.totalStorage.impl.getAll();}
303$.totalStorage.deleteItem=function(key){return $.totalStorage.impl.deleteItem(key);}
304$.totalStorage.impl={init:function(key,value){if(typeof value!='undefined'){return this.setItem(key,value);}else{return this.getItem(key);}},setItem:function(key,value){if(!supported){try{$.cookie(key,value);return value;}catch(e){console.log('Local Storage not supported by this browser. Install the cookie plugin on your site to take advantage of the same functionality. You can get it at https://github.com/carhartl/jquery-cookie');}}
305var saver=JSON.stringify(value);ls.setItem(key,saver);return this.parseResult(saver);},getItem:function(key){if(!supported){try{return this.parseResult($.cookie(key));}catch(e){return null;}}
306return this.parseResult(ls.getItem(key));},deleteItem:function(key){if(!supported){try{$.cookie(key,null);return true;}catch(e){return false;}}
307ls.removeItem(key);return true;},getAll:function(){var items=new Array();if(!supported){try{var pairs=document.cookie.split(";");for(var i=0;i<pairs.length;i++){var pair=pairs[i].split('=');var key=pair[0];items.push({key:key,value:this.parseResult($.cookie(key))});}}catch(e){return null;}}else{for(var i in ls){if(i.length){items.push({key:i,value:this.parseResult(ls.getItem(i))});}}}
308return items;},parseResult:function(res){var ret;try{ret=JSON.parse(res);if(ret=='true'){ret=true;}
309if(ret=='false'){ret=false;}
310if(parseFloat(ret)==ret&&typeof ret!="object"){ret=parseFloat(ret);}}catch(e){}
311return ret;}}})(jQuery);
312;(function(wind,$,undef){"use strict";function attrOrProp($el){var args=Array.prototype.slice.call(arguments,1);if($el.prop){return $el.prop.apply($el,args);}
313return $el.attr.apply($el,args);}
314function bindMany($el,options,events){var name,namespaced;for(name in events){if(events.hasOwnProperty(name)){namespaced=name.replace(/ |$/g,options.eventNamespace);$el.bind(namespaced,events[name]);}}}
315function bindUi($el,$target,options){bindMany($el,options,{focus:function(){$target.addClass(options.focusClass);},blur:function(){$target.removeClass(options.focusClass);$target.removeClass(options.activeClass);},mouseenter:function(){$target.addClass(options.hoverClass);},mouseleave:function(){$target.removeClass(options.hoverClass);$target.removeClass(options.activeClass);},"mousedown touchbegin":function(){if(!$el.is(":disabled")){$target.addClass(options.activeClass);}},"mouseup touchend":function(){$target.removeClass(options.activeClass);}});}
316function classClearStandard($el,options){$el.removeClass(options.hoverClass+" "+options.focusClass+" "+options.activeClass);}
317function classUpdate($el,className,enabled){if(enabled){$el.addClass(className);}else{$el.removeClass(className);}}
318function classUpdateChecked($tag,$el,options){var c="checked",isChecked=$el.is(":"+c);if($el.prop){$el.prop(c,isChecked);}else{if(isChecked){$el.attr(c,c);}else{$el.removeAttr(c);}}
319classUpdate($tag,options.checkedClass,isChecked);}
320function classUpdateDisabled($tag,$el,options){classUpdate($tag,options.disabledClass,$el.is(":disabled"));}
321function divSpanWrap($el,$container,method){switch(method){case"after":$el.after($container);return $el.next();case"before":$el.before($container);return $el.prev();case"wrap":$el.wrap($container);return $el.parent();}
322return null;}
323function divSpan($el,options,divSpanConfig){var $div,$span,id;if(!divSpanConfig){divSpanConfig={};}
324divSpanConfig=$.extend({bind:{},divClass:null,divWrap:"wrap",spanClass:null,spanHtml:null,spanWrap:"wrap"},divSpanConfig);$div=$('<div />');$span=$('<span />');if(options.autoHide&&$el.is(':hidden')&&$el.css('display')==='none'){$div.hide();}
325if(divSpanConfig.divClass){$div.addClass(divSpanConfig.divClass);}
326if(options.wrapperClass){$div.addClass(options.wrapperClass);}
327if(divSpanConfig.spanClass){$span.addClass(divSpanConfig.spanClass);}
328id=attrOrProp($el,'id');if(options.useID&&id){attrOrProp($div,'id',options.idPrefix+'-'+id);}
329if(divSpanConfig.spanHtml){$span.html(divSpanConfig.spanHtml);}
330$div=divSpanWrap($el,$div,divSpanConfig.divWrap);$span=divSpanWrap($el,$span,divSpanConfig.spanWrap);classUpdateDisabled($div,$el,options);return{div:$div,span:$span};}
331function wrapWithWrapperClass($el,options){var $span;if(!options.wrapperClass){return null;}
332$span=$('<span />').addClass(options.wrapperClass);$span=divSpanWrap($el,$span,"wrap");return $span;}
333function highContrast(){var c,$div,el,rgb;rgb='rgb(120,2,153)';$div=$('<div style="width:0;height:0;color:'+rgb+'">');$('body').append($div);el=$div.get(0);if(wind.getComputedStyle){c=wind.getComputedStyle(el,'').color;}else{c=(el.currentStyle||el.style||{}).color;}
334$div.remove();return c.replace(/ /g,'')!==rgb;}
335function htmlify(text){if(!text){return"";}
336return $('<span />').text(text).html();}
337function isMsie(){return navigator.cpuClass&&!navigator.product;}
338function isMsieSevenOrNewer(){if(wind.XMLHttpRequest!==undefined){return true;}
339return false;}
340function isMultiselect($el){var elSize;if($el[0].multiple){return true;}
341elSize=attrOrProp($el,"size");if(!elSize||elSize<=1){return false;}
342return true;}
343function returnFalse(){return false;}
344function noSelect($elem,options){var none='none';bindMany($elem,options,{'selectstart dragstart mousedown':returnFalse});$elem.css({MozUserSelect:none,msUserSelect:none,webkitUserSelect:none,userSelect:none});}
345function setFilename($el,$filenameTag,options){var filename=$el.val();if(filename===""){filename=options.fileDefaultHtml;}else{filename=filename.split(/[\/\\]+/);filename=filename[(filename.length-1)];}
346$filenameTag.text(filename);}
347function swap($elements,newCss,callback){var restore,item;restore=[];$elements.each(function(){var name;for(name in newCss){if(Object.prototype.hasOwnProperty.call(newCss,name)){restore.push({el:this,name:name,old:this.style[name]});this.style[name]=newCss[name];}}});callback();while(restore.length){item=restore.pop();item.el.style[item.name]=item.old;}}
348function sizingInvisible($el,callback){var targets;targets=$el.parents();targets.push($el[0]);targets=targets.not(':visible');swap(targets,{visibility:"hidden",display:"block",position:"absolute"},callback);}
349function unwrapUnwrapUnbindFunction($el,options){return function(){$el.unwrap().unwrap().unbind(options.eventNamespace);};}
350var allowStyling=true,highContrastTest=false,uniformHandlers=[{match:function($el){return $el.is("a, button, :submit, :reset, input[type='button']");},apply:function($el,options){var $div,defaultSpanHtml,ds,getHtml,doingClickEvent;defaultSpanHtml=options.submitDefaultHtml;if($el.is(":reset")){defaultSpanHtml=options.resetDefaultHtml;}
351if($el.is("a, button")){getHtml=function(){return $el.html()||defaultSpanHtml;};}else{getHtml=function(){return htmlify(attrOrProp($el,"value"))||defaultSpanHtml;};}
352ds=divSpan($el,options,{divClass:options.buttonClass,spanHtml:getHtml()});$div=ds.div;bindUi($el,$div,options);doingClickEvent=false;bindMany($div,options,{"click touchend":function(){var ev,res,target,href;if(doingClickEvent){return;}
353if($el.is(':disabled')){return;}
354doingClickEvent=true;if($el[0].dispatchEvent){ev=document.createEvent("MouseEvents");ev.initEvent("click",true,true);res=$el[0].dispatchEvent(ev);if($el.is('a')&&res){target=attrOrProp($el,'target');href=attrOrProp($el,'href');if(!target||target==='_self'){document.location.href=href;}else{wind.open(href,target);}}}else{$el.click();}
355doingClickEvent=false;}});noSelect($div,options);return{remove:function(){$div.after($el);$div.remove();$el.unbind(options.eventNamespace);return $el;},update:function(){classClearStandard($div,options);classUpdateDisabled($div,$el,options);$el.detach();ds.span.html(getHtml()).append($el);}};}},{match:function($el){return $el.is(":checkbox");},apply:function($el,options){var ds,$div,$span;ds=divSpan($el,options,{divClass:options.checkboxClass});$div=ds.div;$span=ds.span;bindUi($el,$div,options);bindMany($el,options,{"click touchend":function(){classUpdateChecked($span,$el,options);}});classUpdateChecked($span,$el,options);return{remove:unwrapUnwrapUnbindFunction($el,options),update:function(){classClearStandard($div,options);$span.removeClass(options.checkedClass);classUpdateChecked($span,$el,options);classUpdateDisabled($div,$el,options);}};}},{match:function($el){return $el.is(":file");},apply:function($el,options){var ds,$div,$filename,$button;ds=divSpan($el,options,{divClass:options.fileClass,spanClass:options.fileButtonClass,spanHtml:options.fileButtonHtml,spanWrap:"after"});$div=ds.div;$button=ds.span;$filename=$("<span />").html(options.fileDefaultHtml);$filename.addClass(options.filenameClass);$filename=divSpanWrap($el,$filename,"after");if(!attrOrProp($el,"size")){attrOrProp($el,"size",$div.width()/10);}
356function filenameUpdate(){setFilename($el,$filename,options);}
357bindUi($el,$div,options);filenameUpdate();if(isMsie()){bindMany($el,options,{click:function(){$el.trigger("change");setTimeout(filenameUpdate,0);}});}else{bindMany($el,options,{change:filenameUpdate});}
358noSelect($filename,options);noSelect($button,options);return{remove:function(){$filename.remove();$button.remove();return $el.unwrap().unbind(options.eventNamespace);},update:function(){classClearStandard($div,options);setFilename($el,$filename,options);classUpdateDisabled($div,$el,options);}};}},{match:function($el){if($el.is("input")){var t=(" "+attrOrProp($el,"type")+" ").toLowerCase(),allowed=" color date datetime datetime-local email month number password search tel text time url week ";return allowed.indexOf(t)>=0;}
359return false;},apply:function($el,options){var elType,$wrapper;elType=attrOrProp($el,"type");$el.addClass(options.inputClass);$wrapper=wrapWithWrapperClass($el,options);bindUi($el,$el,options);if(options.inputAddTypeAsClass){$el.addClass(elType);}
360return{remove:function(){$el.removeClass(options.inputClass);if(options.inputAddTypeAsClass){$el.removeClass(elType);}
361if($wrapper){$el.unwrap();}},update:returnFalse};}},{match:function($el){return $el.is(":radio");},apply:function($el,options){var ds,$div,$span;ds=divSpan($el,options,{divClass:options.radioClass});$div=ds.div;$span=ds.span;bindUi($el,$div,options);bindMany($el,options,{"click touchend":function(){$.uniform.update($(':radio[name="'+attrOrProp($el,"name")+'"]'));}});classUpdateChecked($span,$el,options);return{remove:unwrapUnwrapUnbindFunction($el,options),update:function(){classClearStandard($div,options);classUpdateChecked($span,$el,options);classUpdateDisabled($div,$el,options);}};}},{match:function($el){if($el.is("select")&&!isMultiselect($el)){return true;}
362return false;},apply:function($el,options){var ds,$div,$span,origElemWidth;if(options.selectAutoWidth){sizingInvisible($el,function(){origElemWidth=$el.
362width();});}
363ds=divSpan($el,options,{divClass:options.selectClass,spanHtml:($el.find(":selected:first")||$el.find("option:first")).html(),spanWrap:"before"});$div=ds.div;$span=ds.span;if(options.selectAutoWidth){sizingInvisible($el,function(){swap($([$span[0],$div[0]]),{display:"block"},function(){var spanPad;spanPad=$span.outerWidth()-$span.width();$div.width(origElemWidth);$span.width(origElemWidth-spanPad);});});}else{$div.addClass('fixedWidth');}
364bindUi($el,$div,options);bindMany($el,options,{change:function(){$span.html($el.find(":selected").html());$div.removeClass(options.activeClass);},"click touchend":function(){var selHtml=$el.find(":selected").html();if($span.html()!==selHtml){$el.trigger('change');}},keyup:function(){$span.html($el.find(":selected").html());}});noSelect($span,options);return{remove:function(){$span.remove();$el.unwrap().unbind(options.eventNamespace);return $el;},update:function(){if(options.selectAutoWidth){$.uniform.restore($el);$el.uniform(options);}else{classClearStandard($div,options);$span.html($el.find(":selected").html());classUpdateDisabled($div,$el,options);}}};}},{match:function($el){if($el.is("select")&&isMultiselect($el)){return true;}
365return false;},apply:function($el,options){var $wrapper;$el.addClass(options.selectMultiClass);$wrapper=wrapWithWrapperClass($el,options);bindUi($el,$el,options);return{remove:function(){$el.removeClass(options.selectMultiClass);if($wrapper){$el.unwrap();}},update:returnFalse};}},{match:function($el){return $el.is("textarea");},apply:function($el,options){var $wrapper;$el.addClass(options.textareaClass);$wrapper=wrapWithWrapperClass($el,options);bindUi($el,$el,options);return{remove:function(){$el.removeClass(options.textareaClass);if($wrapper){$el.unwrap();}},update:returnFalse};}}];if(isMsie()&&!isMsieSevenOrNewer()){allowStyling=false;}
366$.uniform={defaults:{activeClass:"active",autoHide:true,buttonClass:"button",checkboxClass:"checker",checkedClass:"checked",disabledClass:"disabled",eventNamespace:".uniform",fileButtonClass:"action",fileButtonHtml:"Choose File",fileClass:"uploader",fileDefaultHtml:"No file selected",filenameClass:"filename",focusClass:"focus",hoverClass:"hover",idPrefix:"uniform",inputAddTypeAsClass:true,inputClass:"uniform-input",radioClass:"radio",resetDefaultHtml:"Reset",resetSelector:false,selectAutoWidth:true,selectClass:"selector",selectMultiClass:"uniform-multiselect",submitDefaultHtml:"Submit",textareaClass:"uniform",useID:true,wrapperClass:null},elements:[]};$.fn.uniform=function(options){return true;var el=this;options=$.extend({},$.uniform.defaults,options);if(!highContrastTest){highContrastTest=true;if(highContrast()){allowStyling=false;}}
367if(!allowStyling){return this;}
368if(options.resetSelector){$(options.resetSelector).mouseup(function(){wind.setTimeout(function(){$.uniform.update(el);}
368,10);});}
369return this.each(function(){var $el=$(this),i,handler,callbacks;if($el.data("uniformed")){$.uniform.update($el);return;}
370for(i=0;i<uniformHandlers.length;i=i+1){handler=uniformHandlers[i];if(handler.match($el,options)){callbacks=handler.apply($el,options);$el.data("uniformed",callbacks);$.uniform.elements.push($el.get(0));return;}}});};$.uniform.restore=$.fn.uniform.restore=function(elem){return true;if(elem===undef){elem=$.uniform.elements;}
371$(elem).each(function(){var $el=$(this),index,elementData;elementData=$el.data("uniformed");if(!elementData){return;}
372elementData.remove();index=$.inArray(this,$.uniform.elements);if(index>=0){$.uniform.elements.splice(index,1);}
373$el.removeData("uniformed");});};$.uniform.update=$.fn.uniform.update=function(elem){return true;if(elem===undef){elem=$.uniform.elements;}
374$(elem).each(function(){var $el=$(this),elementData;elementData=$el.data("uniformed");if(!elementData){return;}
375elementData.update($el,elementData.options);});};}(this,jQuery));jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,i,n,a){return jQuery.easing[jQuery.easing.def](t,e,i,n,a)},easeInQuad:function(t,e,i,n,a){return n*(e/=a)*e+i},easeOutQuad:function(t,e,i,n,a){return-n*(e/=a)*(e-2)+i},easeInOutQuad:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},easeInCubic:function(t,e,i,n,a){return n*(e/=a)*e*e+i},easeOutCubic:function(t,e,i,n,a){return n*((e=e/a-1)*e*e+1)+i},easeInOutCubic:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e*e+i:n/2*((e-=2)*e*e+2)+i},easeInQuart:function(t,e,i,n,a){return n*(e/=a)*e*e*e+i},easeOutQuart:function(t,e,i,n,a){return-n*((e=e/a-1)*e*e*e-1)+i},easeInOutQuart:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e*e*e+i:-n/2*((e-=2)*e*e*e-2)+i},easeInQuint:function(t,e,i,n,a){return n*(e/=a)*e*e*e*e+i},easeOutQuint:function(t,e,i,n,a){return n*((e=e/a-1)*e*e*e*e+1)+i},easeInOutQuint:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e*e*e*e+i:n/2*((e-=2)*e*e*e*e+2)+i},easeInSine:function(t,e,i,n,a){return-n*Math.cos(e/a*(Math.PI/2))+n+i},easeOutSine:function(t,e,i,n,a){return n*Math.sin(e/a*(Math.PI/2))+i},easeInOutSine:function(t,e,i,n,a){return-n/2*(Math.cos(Math.PI*e/a)-1)+i},easeInExpo:function(t,e,i,n,a){return 0==e?i:n*Math.pow(2,10*(e/a-1))+i},easeOutExpo:function(t,e,i,n,a){return e==a?i+n:n*(-Math.pow(2,-10*e/a)+1)+i},easeInOutExpo:function(t,e,i,n,a){return 0==e?i:e==a?i+n:(e/=a/2)<1?n/2*Math.pow(2,10*(e-1))+i:n/2*(-Math.pow(2,-10*--e)+2)+i},easeInCirc:function(t,e,i,n,a){return-n*(Math.sqrt(1-(e/=a)*e)-1)+i},easeOutCirc:function(t,e,i,n,a){return n*Math.sqrt(1-(e=e/a-1)*e)+i},easeInOutCirc:function(t,e,i,n,a){return(e/=a/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+i:n/2*(Math.sqrt(1-(e-=2)*e)+1)+i},easeInElastic:function(t,e,i,n,a){var r=1.70158,o=0,s=n;if(0==e)return i;if(1==(e/=a))return i+n;if(o||(o=.3*a),s<Math.abs(n)){s=n;var r=o/4}else var r=o/(2*Math.PI)*Math.asin(n/s);return-(s*Math.pow(2,10*(e-=1))*Math.sin(2*(e*a-r)*Math.PI/o))+i},easeOutElastic:function(t,e,i,n,a){var r=1.70158,o=0,s=n;if(0==e)return i;if(1==(e/=a))return i+n;if(o||(o=.3*a),s<Math.abs(n)){s=n;var r=o/4}else var r=o/(2*Math.PI)*Math.asin(n/s);return s*Math.pow(2,-10*e)*Math.sin(2*(e*a-r)*Math.PI/o)+n+i},easeInOutElastic:function(t,e,i,n,a){var r=1.70158,o=0,s=n;if(0==e)return i;if(2==(e/=a/2))return i+n;if(o||(o=.3*a*1.5),s<Math.abs(n)){s=n;var r=o/4}else var r=o/(2*Math.PI)*Math.asin(n/s);return 1>e?-.5*s*Math.pow(2,10*(e-=1))*Math.sin(2*(e*a-r)*Math.PI/o)+i:s*Math.pow(2,-10*(e-=1))*Math.sin(2*(e*a-r)*Math.PI/o)*.5+n+i},easeInBack:function(t,e,i,n,a,r){return void 0==r&&(r=1.70158),n*(e/=a)*e*((r+1)*e-r)+i},easeOutBack:function(t,e,i,n,a,r){return void 0==r&&(r=1.70158),n*((e=e/a-1)*e*((r+1)*e+r)+1)+i},easeInOutBack:function(t,e,i,n,a,r){return void 0==r&&(r=1.70158),(e/=a/2)<1?n/2*e*e*(((r*=1.525)+1)*e-r)+i:n/2*((e-=2)*e*(((r*=1.525)+1)*e+r)+2)+i},easeInBounce:function(t,e,i,n,a){return n-jQuery.easing.easeOutBounce(t,a-e,0,n,a)+i},easeOutBounce:function(t,e,i,n,a){return(e/=a)<1/2.75?7.5625*n*e*e+i:2/2.75>e?n*(7.5625*(e-=1.5/2.75)*e+.75)+i:2.5/2.75>
vendor: 35,752 bytes, lines 375-376
375e?n*(7.5625*(e-=2.25/2.75)*e+.9375)+i:n*(7.5625*(e-=2.625/2.75)*e+.984375)+i},easeInOutBounce:function(t,e,i,n,a){return a/2>e?.5*jQuery.easing.easeInBounce(t,2*e,0,n,a)+i:.5*jQuery.easing.easeOutBounce(t,2*e-a,0,n,a)+.5*n+i}}),jQuery.extend(jQuery.easing,{easeInOutMaterial:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e+i:n/4*((e-=2)*e*e+2)+i}}),!function(t){function e(t){var e=t.length,n=i.type(t);return"function"===n||i.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}if(!t.jQuery){var i=function(t,e){return new i.fn.init(t,e)};i.isWindow=function(t){return null!=t&&t==t.window},i.type=function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?a[o.call(t)]||"object":typeof t},i.isArray=Array.isArray||function(t){return"array"===i.type(t)},i.isPlainObject=function(t){var e;if(!t||"object"!==i.type(t)||t.nodeType||i.isWindow(t))return!1;try{if(t.constructor&&!r.call(t,"constructor")&&!r.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}for(e in t);return void 0===e||r.call(t,e)},i.each=function(t,i,n){var a,r=0,o=t.length,s=e(t);if(n){if(s)for(;o>r&&(a=i.apply(t[r],n),a!==!1);r++);else for(r in t)if(a=i.apply(t[r],n),a===!1)break}else if(s)for(;o>r&&(a=i.call(t[r],r,t[r]),a!==!1);r++);else for(r in t)if(a=i.call(t[r],r,t[r]),a===!1)break;return t},i.data=function(t,e,a){if(void 0===a){var r=t[i.expando],o=r&&n[r];if(void 0===e)return o;if(o&&e in o)return o[e]}else if(void 0!==e){var r=t[i.expando]||(t[i.expando]=++i.uuid);return n[r]=n[r]||{},n[r][e]=a,a}},i.removeData=function(t,e){var a=t[i.expando],r=a&&n[a];r&&i.each(e,function(t,e){delete r[e]})},i.extend=function(){var t,e,n,a,r,o,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"!=typeof s&&"function"!==i.type(s)&&(s={}),l===u&&(s=this,l--);u>l;l++)if(null!=(r=arguments[l]))for(a in r)t=s[a],n=r[a],s!==n&&(c&&n&&(i.isPlainObject(n)||(e=i.isArray(n)))?(e?(e=!1,o=t&&i.isArray(t)?t:[]):o=t&&i.isPlainObject(t)?t:{},s[a]=i.extend(c,o,n)):void 0!==n&&(s[a]=n));return s},i.queue=function(t,n,a){function r(t,i){var n=i||[];return null!=t&&(e(Object(t))?!function(t,e){for(var i=+e.length,n=0,a=t.length;i>n;)t[a++]=e[n++];if(i!==i)for(;void 0!==e[n];)t[a++]=e[n++];return t.length=a,t}(n,"string"==typeof t?[t]:t):[].push.call(n,t)),n}if(t){n=(n||"fx")+"queue";var o=i.data(t,n);return a?(!o||i.isArray(a)?o=i.data(t,n,r(a)):o.push(a),o):o||[]}},i.dequeue=function(t,e){i.each(t.nodeType?[t]:t,function(t,n){e=e||"fx";var a=i.queue(n,e),r=a.shift();"inprogress"===r&&(r=a.shift()),r&&("fx"===e&&a.unshift("inprogress"),r.call(n,function(){i.dequeue(n,e)}))})},i.fn=i.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function t(){for(var t=this.offsetParent||document;t&&"html"===!t.nodeType.toLowerCase&&"static"===t.style.position;)t=t.offsetParent;return t||document}var e=this[0],t=t.apply(e),n=this.offset(),a=/^(?:body|html)$/i.test(t.nodeName)?{top:0,left:0}:i(t).offset();return n.top-=parseFloat(e.style.marginTop)||0,n.left-=parseFloat(e.style.marginLeft)||0,t.style&&(a.top+=parseFloat(t.style.borderTopWidth)||0,a.left+=parseFloat(t.style.borderLeftWidth)||0),{top:n.top-a.top,left:n.left-a.left}}};var n={};i.expando="velocity"+(new Date).getTime(),i.uuid=0;for(var a={},r=a.hasOwnProperty,o=a.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),l=0;l<s.length;l++)a["[object "+s[l]+"]"]=s[l].toLowerCase();i.fn.init.prototype=i.fn,t.Velocity={Utilities:i}}}(window),function(t){"object"==typeof module&&"object"==typeof module.exports?module.exports=t():"function"==typeof define&&define.amd?define(t):t()}(function(){return function(t,e,i,n){function a(t){for(var e=-1,i=t?t.length:0,n=[];++e<i;){var a=t[e];a&&n.push(a)}return n}function r(t){return v.isWrapped(t)?t=[].slice.call(t):v.isNode(t)&&(t=[t]),t}function o(t){var e=p.data(t,"velocity");return null===e?n:e}function s(t){return function(e){return Math.round(e*t)*(1/t)}}function l(t,i,n,a){function r(t,e){return 1-3*e+3*t}function o(t,e){return 3*e-6*t}function s(t){return 3*t}function l(t,e,i){return((r(e,i)*t+o(e,i))*t+s(e))*t}function u(t,e,i){return 3*r(e,i)*t*t+2*o(e,i)*t+s(e)}function c(e,i){for(var a=0;v>a;++a){var r=u(i,t,n);if(0===r)return i;var o=l(i,t,n)-e;i-=o/r}return i}function d(){for(var e=0;b>e;++e)k[e]=l(e*w,t,n)}function p(e,i,a){var r,o,s=0;do o=i+(a-i)/2,r=l(o,t,n)-e,r>0?a=o:i=o;while(Math.abs(r)>m&&++s<y);return o}function f(e){for(var i=0,a=1,r=b-1;a!=r&&k[a]<=e;++a)i+=w;--a;var o=(e-k[a])/(k[a+1]-k[a]),s=i+o*w,l=u(s,t,n);return l>=g?c(e,s):0==l?s:p(e,i,i+w)}function h(){S=!0,(t!=i||n!=a)&&d()}var v=4,g=.001,m=1e-7,y=10,b=11,w=1/(b-1),x="Float32Array"in e;if(4!==arguments.length)return!1;for(var C=0;4>C;++C)if("number"!=typeof arguments[C]||isNaN(arguments[C])||!isFinite(arguments[C]))return!1;t=Math.min(t,1),n=Math.min(n,1),t=Math.max(t,0),n=Math.max(n,0);var k=x?new Float32Array(b):new Array(b),S=!1,T=function(e){return S||h(),t===i&&n===a?e:0===e?0:1===e?1:l(f(e),i,a)};T.getControlPoints=function(){return[{x:t,y:i},{x:n,y:a}]};var O="generateBezier("+[t,i,n,a]+")";return T.toString=function(){return O},T}function u(t,e){var i=t;return v.isString(t)?b.Easings[t]||(i=!1):i=v.isArray(t)&&1===t.length?s.apply(null,t):v.isArray(t)&&2===t.length?w.apply(null,t.concat([e])):v.isArray(t)&&4===t.length?l.apply(null,t):!1,i===!1&&(i=b.Easings[b.defaults.easing]?b.defaults.easing:y),i}function c(t){if(t){var e=(new Date).getTime(),i=b.State.calls.length;i>1e4&&(b.State.calls=a(b.State.calls));for(var r=0;i>r;r++)if(b.State.calls[r]){var s=b.State.calls[r],l=s[0],u=s[2],f=s[3],h=!!f,g=null;f||(f=b.State.calls[r][3]=e-16);for(var m=Math.min((e-f)/u.duration,1),y=0,w=l.length;w>y;y++){var C=l[y],S=C.element;if(o(S)){var T=!1;if(u.display!==n&&null!==u.display&&"none"!==u.display){if("flex"===u.display){var O=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];p.each(O,function(t,e){x.setPropertyValue(S,"display",e)})}x.setPropertyValue(S,"display",u.display)}u.visibility!==n&&"hidden"!==u.visibility&&x.setPropertyValue(S,"visibility",u.visibility);for(var P in C)if("element"!==P){var A,E=C[P],q=v.isString(E.easing)?b.Easings[E.easing]:E.easing;if(1===m)A=E.endValue;else{var M=E.endValue-E.startValue;if(A=E.startValue+M*q(m,u,M),!h&&A===E.currentValue)continue}if(E.currentValue=A,"tween"===P)g=A;else{if(x.Hooks.registered[P]){var I=x.Hooks.getRoot(P),_=o(S).rootPropertyValueCache[I];_&&(E.rootPropertyValue=_)}var V=x.setPropertyValue(S,P,E.currentValue+(0===parseFloat(A)?"":E.unitType),E.rootPropertyValue,E.scrollData);x.Hooks.registered[P]&&(o(S).rootPropertyValueCache[I]=x.Normalizations.registered[I]?x.Normalizations.registered[I]("extract",null,V[1]):V[1]),"transform"===V[0]&&(T=!0)}}u.mobileHA&&o(S).transformCache.translate3d===n&&(o(S).transformCache.translate3d="(0px, 0px, 0px)",T=!0),T&&x.flushTransformCache(S)}}u.display!==n&&"none"!==u.display&&(b.State.calls[r][2].display=!1),u.visibility!==n&&"hidden"!==u.visibility&&(b.State.calls[r][2].visibility=!1),u.progress&&u.progress.call(s[1],s[1],m,Math.max(0,f+u.duration-e),f,g),1===m&&d(r)}}b.State.isTicking&&k(c)}function d(t,e){if(!b.State.calls[t])return!1;for(var i=b.State.calls[t][0],a=b.State.calls[t][1],r=b.State.calls[t][2],s=b.State.calls[t][4],l=!1,u=0,c=i.length;c>u;u++){var d=i[u].element;if(e||r.loop||("none"===r.display&&x.setPropertyValue(d,"display",r.display),"hidden"===r.visibility&&x.setPropertyValue(d,"visibility",r.visibility)),r.loop!==!0&&(p.queue(d)[1]===n||!/\.velocityQueueEntryFlag/i.test(p.queue(d)[1]))&&o(d)){o(d).isAnimating=!1,o(d).rootPropertyValueCache={};var f=!1;p.each(x.Lists.transforms3D,function(t,e){var i=/^scale/.test(e)?1:0,a=o(d).transformCache[e];o(d).transformCache[e]!==n&&new RegExp("^\\("+i+"[^.]").test(a)&&(f=!0,delete o(d).transformCache[e])}),r.mobileHA&&(f=!0,delete o(d).transformCache.translate3d),f&&x.flushTransformCache(d),x.Values.removeClass(d,"velocity-animating")}if(!e&&r.complete&&!r.loop&&u===c-1)try{r.complete.call(a,a)}catch(h){setTimeout(function(){throw h},1)}s&&r.loop!==!0&&s(a),o(d)&&r.loop===!0&&!e&&(p.each(o(d).tweensContainer,function(t,e){/^rotate/.test(t)&&360===parseFloat(e.endValue)&&(e.endValue=0,e.startValue=360),/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),b(d,"reverse",{loop:!0,delay:r.delay})),r.queue!==!1&&p.dequeue(d,r.queue)}b.State.calls[t]=!1;for(var v=0,g=b.State.calls.length;g>v;v++)if(b.State.calls[v]!==!1){l=!0;break}l===!1&&(b.State.isTicking=!1,delete b.State.calls,b.State.calls=[])}var p,f=function(){if(i.documentMode)return i.documentMode;for(var t=7;t>4;t--){var e=i.createElement("div");if(e.innerHTML="<!--[if IE "+t+"]><span></span><![endif]-->",e.getElementsByTagName("span").length)return e=null,t}return n}(),h=function(){var t=0;return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(e){var i,n=(new Date).getTime();return i=Math.max(0,16-(n-t)),t=n+i,setTimeout(function(){e(n+i)},i)}}(),v={isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isNodeList:function(t){return"object"==typeof t&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(t))&&t.length!==n&&(0===t.length||"object"==typeof t[0]&&t[0].nodeType>0)},isWrapped:function(t){return t&&(t.jquery||e.Zepto&&e.Zepto.zepto.isZ(t))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)return!1;return!0}},g=!1;if(t.fn&&t.fn.jquery?(p=t,g=!0):p=e.Velocity.Utilities,8>=f&&!g)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(7>=f)return void(jQuery.fn.velocity=jQuery.fn.animate);var m=400,y="swing",b={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:i.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:p,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:m,easing:y,begin:n,complete:n,progress:n,display:n,visibility:n,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(t){p.data(t,"velocity",{isSVG:v.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};e.pageYOffset!==n?(b.State.scrollAnchor=e,b.State.scrollPropertyLeft="pageXOffset",b.State.scrollPropertyTop="pageYOffset"):(b.State.scrollAnchor=i.documentElement||i.body.parentNode||i.body,b.State.scrollPropertyLeft="scrollLeft",b.State.scrollPropertyTop="scrollTop");var w=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,i,n){var a={x:e.x+n.dx*i,v:e.v+n.dv*i,tension:e.tension,friction:e.friction};return{dx:a.v,dv:t(a)}}function i(i,n){var a={dx:i.v,dv:t(i)},r=e(i,.5*n,a),o=e(i,.5*n,r),s=e(i,n,o),l=1/6*(a.dx+2*(r.dx+o.dx)+s.dx),u=1/6*(a.dv+2*(r.dv+o.dv)+s.dv);return i.x=i.x+l*n,i.v=i.v+u*n,i}return function n(t,e,a){var r,o,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0,d=1e-4,p=.016;for(t=parseFloat(t)||500,e=parseFloat(e)||20,a=a||null,l.tension=t,l.friction=e,r=null!==a,r?(c=n(t,e),o=c/a*p):o=p;s=i(s||l,o),u.push(1+s.x),c+=16,Math.abs(s.x)>d&&Math.abs(s.v)>d;);return r?function(t){return u[t*(u.length-1)|0]}:c}}();b.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},p.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(t,e){b.Easings[e[0]]=l.apply(null,e[1])});var x=b.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<x.Lists.colors.length;t++){var e="color"===x.Lists.colors[t]?"0 0 0 1":"255 255 255 1";x.Hooks.templates[x.Lists.colors[t]]=["Red Green Blue Alpha",e]}var i,n,a;if(f)for(i in x.Hooks.templates){n=x.Hooks.templates[i],a=n[0].split(" ");var r=n[1].match(x.RegEx.valueSplit);"Color"===a[0]&&(a.push(a.shift()),r.push(r.shift()),x.Hooks.templates[i]=[a.join(" "),r.join(" ")])}for(i in x.Hooks.templates){n=x.Hooks.templates[i],a=n[0].split(" ");for(var t in a){var o=i+a[t],s=t;x.Hooks.registered[o]=[i,s]}}},getRoot:function(t){var e=x.Hooks.registered[t];return e?e[0]:t},cleanRootPropertyValue:function(t,e){return x.RegEx.valueUnwrap.test(e)&&(e=e.match(x.RegEx.valueUnwrap)[1]),x.Values.isCSSNullValue(e)&&(e=x.Hooks.templates[t][1]),e},extractValue:function(t,e){var i=x.Hooks.registered[t];if(i){var n=i[0],a=i[1];return e=x.Hooks.cleanRootPropertyValue(n,e),e.toString().match(x.RegEx.valueSplit)[a]}return e},injectValue:function(t,e,i){var n=x.Hooks.registered[t];if(n){var a,r,o=n[0],s=n[1];return i=x.Hooks.cleanRootPropertyValue(o,i),a=i.toString().match(x.RegEx.valueSplit),a[s]=e,r=a.join(" ")}return i}},Normalizations:{registered:{clip:function(t,e,i){switch(t){case"name":return"clip";case"extract":var n;return x.RegEx.wrappedValueAlreadyExtracted.test(i)?n=i:(n=i.toString().match(x.RegEx.valueUnwrap),n=n?n[1].replace(/,(\s+)?/g," "):i),n;case"inject":return"rect("+i+")"}},blur:function(t,e,i){switch(t){case"name":return b.State.isFirefox?"filter":"-webkit-filter";case"extract":var n=parseFloat(i);if(!n&&0!==n){var a=i.toString().match(/blur\(([0-9]+[A-z]+)\)/i);n=a?a[1]:0}return n;case"inject":return parseFloat(i)?"blur("+i+")":"none"}},opacity:function(t,e,i){if(8>=f)switch(t){case"name":return"filter";case"extract":var n=i.toString().match(/alpha\(opacity=(.*)\)/i);return i=n?n[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(i)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(i),10)+")"}else switch(t){case"name":return"opacity";case"extract":return i;case"inject":return i}}},register:function(){9>=f||b.State.isGingerbread||(x.Lists.transformsBase=x.Lists.transformsBase.concat(x.Lists.transforms3D));for(var t=0;t<x.Lists.transformsBase.length;t++)!function(){var e=x.Lists.transformsBase[t];x.Normalizations.registered[e]=function(t,i,a){switch(t){case"name":return"transform";case"extract":return o(i)===n||o(i).transformCache[e]===n?/^scale/i.test(e)?1:0:o(i).transformCache[e].replace(/[()]/g,"");case"inject":var r=!1;switch(e.substr(0,e.length-1)){case"translate":r=!/(%|px|em|rem|vw|vh|\d)$/i.test(a);break;case"scal":case"scale":b.State.isAndroid&&o(i).transformCache[e]===n&&1>a&&(a=1),r=!/(\d)$/i.test(a);break;case"skew":r=!/(deg|\d)$/i.test(a);break;case"rotate":r=!/(deg|\d)$/i.test(a)}return r||(o(i).transformCache[e]="("+a+")"),o(i).transformCache[e]}}}();for(var t=0;t<x.Lists.colors.length;t++)!function(){var e=x.Lists.colors[t];x.Normalizations.registered[e]=function(t,i,a){switch(t){case"name":return e;case"extract":var r;if(x.RegEx.wrappedValueAlreadyExtracted.test(a))r=a;else{var o,s={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(a)?o=s[a]!==n?s[a]:s.black:x.RegEx.isHex.test(a)?o="rgb("+x.Values.hexToRgb(a).join(" ")+")":/^rgba?\(/i.test(a)||(o=s.black),r=(o||a).toString().match(x.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=f||3!==r.split(" ").length||(r+=" 1"),r;case"inject":return 8>=f?4===a.split(" ").length&&(a=a.split(/\s+/).slice(0,3).join(" ")):3===a.split(" ").length&&(a+=" 1"),(8>=f?"rgb":"rgba")+"("+a.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(f||b.State.isAndroid&&!b.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(b.State.prefixMatches[t])return[b.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],i=0,n=e.length;n>i;i++){var a;if(a=0===i?t:e[i]+t.replace(/^\w/,function(t){return t.toUpperCase()}),v.isString(b.State.prefixElement.style[a]))return b.State.prefixMatches[t]=a,[a,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e,i=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return t=t.replace(i,function(t,e,i,n){return e+e+i+i+n+n}),e=n.exec(t),e?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return 0==t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){t.classList?t.classList.add(e):t.className+=(t.className.length?" ":"")+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(t,i,a,r){function s(t,i){function a(){u&&x.setPropertyValue(t,"display","none")}var l=0;if(8>=f)l=p.css(t,i);else{var u=!1;if(/^(width|height)$/.test(i)&&0===x.getPropertyValue(t,"display")&&(u=!0,x.setPropertyValue(t,"display",x.Values.getDisplayType(t))),!r){if("height"===i&&"border-box"!==x.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var c=t.offsetHeight-(parseFloat(x.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(x.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(x.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(x.getPropertyValue(t,"paddingBottom"))||0);return a(),c}if("width"===i&&"border-box"!==x.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var d=t.offsetWidth-(parseFloat(x.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(x.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(x.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(x.getPropertyValue(t,"paddingRight"))||0);return a(),d}}var h;h=o(t)===n?e.getComputedStyle(t,null):o(t).computedStyle?o(t).computedStyle:o(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===i&&(i="borderTopColor"),l=9===f&&"filter"===i?h.getPropertyValue(i):h[i],(""===l||null===l)&&(l=t.style[i]),a()}if("auto"===l&&/^(top|right|bottom|left)$/i.test(i)){var v=s(t,"position");("fixed"===v||"absolute"===v&&/top|left/i.test(i))&&(l=p(t).position()[i]+"px")}return l}var l;if(x.Hooks.registered[i]){var u=i,c=x.Hooks.getRoot(u);a===n&&(a=x.getPropertyValue(t,x.Names.prefixCheck(c)[0])),x.Normalizations.registered[c]&&(a=x.Normalizations.registered[c]("extract",t,a)),l=x.Hooks.extractValue(u,a)}else if(x.Normalizations.registered[i]){var d,h;d=x.Normalizations.registered[i]("name",t),"transform"!==d&&(h=s(t,x.Names.prefixCheck(d)[0]),x.Values.isCSSNullValue(h)&&x.Hooks.templates[i]&&(h=x.Hooks.templates[i][1])),l=x.Normalizations.registered[i]("extract",t,h)}if(!/^[\d-]/.test(l))if(o(t)&&o(t).isSVG&&x.Names.SVGAttribute(i))if(/^(height|width)$/i.test(i))try{l=t.getBBox()[i]}catch(v){l=0}else l=t.getAttribute(i);else l=s(t,x.Names.prefixCheck(i)[0]);return x.Values.isCSSNullValue(l)&&(l=0),b.debug>=2&&console.log("Get "+i+": "+l),l},setPropertyValue:function(t,i,n,a,r){var s=i;if("scroll"===i)r.container?r.container["scroll"+r.direction]=n:"Left"===r.direction?e.scrollTo(n,r.alternateValue):e.scrollTo(r.alternateValue,n);else if(x.Normalizations.registered[i]&&"transform"===x.Normalizations.registered[i]("name",t))x.Normalizations.registered[i]("inject",t,n),s="transform",n=o(t).transformCache[i];else{if(x.Hooks.registered[i]){var l=i,u=x.Hooks.getRoot(i);a=a||x.getPropertyValue(t,u),n=x.Hooks.injectValue(l,n,a),i=u}if(x.Normalizations.registered[i]&&(n=x.Normalizations.registered[i]("inject",t,n),i=x.Normalizations.registered[i]("name",t)),s=x.Names.prefixCheck(i)[0],8>=f)try{t.style[s]=n}catch(c){b.debug&&console.log("Browser does not support ["+n+"] for ["+s+"]")}else o(t)&&o(t).isSVG&&x.Names.SVGAttribute(i)?t.setAttribute(i,n):t.style[s]=n;b.debug>=2&&console.log("Set "+i+" ("+s+"): "+n)}return[s,n]},flushTransformCache:function(t){function e(e){return parseFloat(x.getPropertyValue(t,e))}var i="";if((f||b.State.isAndroid&&!b.State.isChrome)&&o(t).isSVG){var n={translate:[e("translateX"),e("translateY")],skewX:[e("skewX")],skewY:[e("skewY")],scale:1!==e("scale")?[e("scale"),e("scale")]:[e("scaleX"),e("scaleY")],rotate:[e("rotateZ"),0,0]};p.each(o(t).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),n[t]&&(i+=t+"("+n[t].join(" ")+") ",delete n[t])})}else{var a,r;p.each(o(t).transformCache,function(e){return a=o(t).transformCache[e],"transformPerspective"===e?(r=a,!0):(9===f&&"rotateZ"===e&&(e="rotate"),void(i+=e+a+" "))}),r&&(i="perspective"+r+" "+i)}x.setPropertyValue(t,"transform",i)}};x.Hooks.register(),x.Normalizations.register(),b.hook=function(t,e,i){var a=n;return t=r(t),p.each(t,function(t,r){if(o(r)===n&&b.init(r),i===n)a===n&&(a=b.CSS.getPropertyValue(r,e));else{var s=b.CSS.setPropertyValue(r,e,i);"transform"===s[0]&&b.CSS.flushTransformCache(r),a=s}}),a};var C=function(){function t(){return s?P.promise||null:l}function a(){function t(){function t(t,e){var i=n,a=n,o=n;return v.isArray(t)?(i=t[0],!v.isArray(t[1])&&/^[\d-]/.test(t[1])||v.isFunction(t[1])||x.RegEx.isHex.test(t[1])?o=t[1]:(v.isString(t[1])&&!x.RegEx.isHex.test(t[1])||v.isArray(t[1]))&&(a=e?t[1]:u(t[1],s.duration),t[2]!==n&&(o=t[2]))):i=t,e||(a=a||s.easing),v.isFunction(i)&&(i=i.call(r,S,k)),v.isFunction(o)&&(o=o.call(r,S,k)),[i||0,a,o]}function d(t,e){var i,n;return n=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(t){return i=t,""}),i||(i=x.Values.getUnitType(t)),[n,i]}function f(){var t={myParent:r.parentNode||i.body,position:x.getPropertyValue(r,"position"),fontSize:x.getPropertyValue(r,"fontSize")},n=t.position===V.lastPosition&&t.myParent===V.lastParent,a=t.fontSize===V.lastFontSize;V.lastParent=t.myParent,V.lastPosition=t.position,V.lastFontSize=t.fontSize;var s=100,l={};if(a&&n)l.emToPx=V.lastEmToPx,l.percentToPxWidth=V.lastPercentToPxWidth,l.percentToPxHeight=V.lastPercentToPxHeight;else{var u=o(r).isSVG?i.createElementNS("http://www.w3.org/2000/svg","rect"):i.createElement("div");b.init(u),t.myParent.appendChild(u),p.each(["overflow","overflowX","overflowY"],function(t,e){b.CSS.setPropertyValue(u,e,"hidden")}),b.CSS.setPropertyValue(u,"position",t.position),b.CSS.setPropertyValue(u,"fontSize",t.fontSize),b.CSS.setPropertyValue(u,"boxSizing","content-box"),p.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){b.CSS.setPropertyValue(u,e,s+"%")}),b.CSS.setPropertyValue(u,"paddingLeft",s+"em"),l.percentToPxWidth=V.lastPercentToPxWidth=(parseFloat(x.getPropertyValue(u,"width",null,!0))||1)/s,l.percentToPxHeight=V.lastPercentToPxHeight=(parseFloat(x.getPropertyValue(u,"height",null,!0))||1)/s,l.emToPx=V.lastEmToPx=(parseFloat(x.getPropertyValue(u,"paddingLeft"))||1)/s,t.myParent.removeChild(u)}return null===V.remToPx&&(V.remToPx=parseFloat(x.getPropertyValue(i.body,"fontSize"))||16),null===V.vwToPx&&(V.vwToPx=parseFloat(e.innerWidth)/100,V.vhToPx=parseFloat(e.innerHeight)/100),l.remToPx=V.remToPx,l.vwToPx=V.vwToPx,l.vhToPx=V.vhToPx,b.debug>=1&&console.log("Unit ratios: "+JSON.stringify(l),r),l}if(s.begin&&0===S)try{s.begin.call(h,h)}catch(m){setTimeout(function(){throw m},1)}if("scroll"===A){var w,C,T,O=/^x$/i.test(s.axis)?"Left":"Top",E=parseFloat(s.offset)||0;s.container?v.isWrapped(s.container)||v.isNode(s.container)?(s.container=s.container[0]||s.container,w=s.container["scroll"+O],T=w+p(r).position()[O.toLowerCase()]+E):s.container=null:(w=b.State.scrollAnchor[b.State["scrollProperty"+O]],C=b.State.scrollAnchor[b.State["scrollProperty"+("Left"===O?"Top":"Left")]],T=p(r).offset()[O.toLowerCase()]+E),l={scroll:{rootPropertyValue:!1,startValue:w,currentValue:w,endValue:T,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:O,alternateValue:C}},element:r},b.debug&&console.log("tweensContainer (scroll): ",l.scroll,r)}else if("reverse"===A){if(!o(r).tweensContainer)return void p.dequeue(r,s.queue);"none"===o(r).opts.display&&(o(r).opts.display="auto"),"hidden"===o(r).opts.visibility&&(o(r).opts.visibility="visible"),o(r).opts.loop=!1,o(r).opts.begin=null,o(r).opts.complete=null,y.easing||delete s.easing,y.duration||delete s.duration,s=p.extend({},o(r).opts,s);var q=p.extend(!0,{},o(r).tweensContainer);for(var M in q)if("element"!==M){var I=q[M].startValue;q[M].startValue=q[M].currentValue=q[M].endValue,q[M].endValue=I,v.isEmptyObject(y)||(q[M].easing=s.easing),b.debug&&console.log("reverse tweensContainer ("+M+"): "+JSON.stringify(q[M]),r)}l=q}else if("start"===A){var q;o(r).tweensContainer&&o(r).isAnimating===!0&&(q=o(r).tweensContainer),p.each(g,function(e,i){if(RegExp("^"+x.Lists.colors.join("$|^")+"$").test(e)){var a=t(i,!0),r=a[0],o=a[1],s=a[2];if(x.RegEx.isHex.test(r)){for(var l=["Red","Green","Blue"],u=x.Values.hexToRgb(r),c=s?x.Values.hexToRgb(s):n,d=0;d<l.length;d++){var p=[u[d]];o&&p.push(o),c!==n&&p.push(c[d]),g[e+l[d]]=p}delete g[e]}}});for(var _ in g){var j=t(g[_]),D=j[0],z=j[1],Q=j[2];_=x.Names.camelCase(_);var L=x.Hooks.getRoot(_),F=!1;if(o(r).isSVG||"tween"===L||x.Names.prefixCheck(L)[1]!==!1||x.Normalizations.registered[L]!==n){(s.display!==n&&null!==s.display&&"none"!==s.display||s.visibility!==n&&"hidden"!==s.visibility)&&/opacity|filter/.test(_)&&!Q&&0!==D&&(Q=0),s._cacheValues&&q&&q[_]?(Q===n&&(Q=q[_].endValue+q[_].unitType),F=o(r).rootPropertyValueCache[L]):x.Hooks.registered[_]?Q===n?(F=x.getPropertyValue(r,L),Q=x.getPropertyValue(r,_,F)):F=x.Hooks.templates[L][1]:Q===n&&(Q=x.getPropertyValue(r,_));var N,W,R,X=!1;if(N=d(_,Q),Q=N[0],R=N[1],N=d(_,D),D=N[0].replace(/^([+-\/*])=/,function(t,e){return X=e,""}),W=N[1],Q=parseFloat(Q)||0,D=parseFloat(D)||0,"%"===W&&(/^(fontSize|lineHeight)$/.test(_)?(D/=100,W="em"):/^scale/.test(_)?(D/=100,W=""):/(Red|Green|Blue)$/i.test(_)&&(D=D/100*255,W="")),/[\/*]/.test(X))W=R;else if(R!==W&&0!==Q)if(0===D)W=R;else{a=a||f();var H=/margin|padding|left|right|width|text|word|letter/i.test(_)||/X$/.test(_)||"x"===_?"x":"y";switch(R){case"%":Q*="x"===H?a.percentToPxWidth:a.percentToPxHeight;break;case"px":break;default:Q*=a[R+"ToPx"]}switch(W){case"%":Q*=1/("x"===H?a.percentToPxWidth:a.percentToPxHeight);break;case"px":break;default:Q*=1/a[W+"ToPx"]
376}}switch(X){case"+":D=Q+D;break;case"-":D=Q-D;break;case"*":D=Q*D;break;case"/":D=Q/D}l[_]={rootPropertyValue:F,startValue:Q,currentValue:Q,endValue:D,unitType:W,easing:z},b.debug&&console.log("tweensContainer ("+_+"): "+JSON.stringify(l[_]),r)}else b.debug&&console.log("Skipping ["+L+"] due to a lack of browser support.")}l.element=r}l.element&&(x.Values.addClass(r,"velocity-animating"),$.push(l),""===s.queue&&(o(r).tweensContainer=l,o(r).opts=s),o(r).isAnimating=!0,S===k-1?(b.State.calls.push([$,h,s,null,P.resolver]),b.State.isTicking===!1&&(b.State.isTicking=!0,c())):S++)}var a,r=this,s=p.extend({},b.defaults,y),l={};switch(o(r)===n&&b.init(r),parseFloat(s.delay)&&s.queue!==!1&&p.queue(r,s.queue,function(t){b.velocityQueueEntryFlag=!0,o(r).delayTimer={setTimeout:setTimeout(t,parseFloat(s.delay)),next:t}}),s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=m;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}b.mock!==!1&&(b.mock===!0?s.duration=s.delay=1:(s.duration*=parseFloat(b.mock)||1,s.delay*=parseFloat(b.mock)||1)),s.easing=u(s.easing,s.duration),s.begin&&!v.isFunction(s.begin)&&(s.begin=null),s.progress&&!v.isFunction(s.progress)&&(s.progress=null),s.complete&&!v.isFunction(s.complete)&&(s.complete=null),s.display!==n&&null!==s.display&&(s.display=s.display.toString().toLowerCase(),"auto"===s.display&&(s.display=b.CSS.Values.getDisplayType(r))),s.visibility!==n&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase()),s.mobileHA=s.mobileHA&&b.State.isMobile&&!b.State.isGingerbread,s.queue===!1?s.delay?setTimeout(t,s.delay):t():p.queue(r,s.queue,function(e,i){return i===!0?(P.promise&&P.resolver(h),!0):(b.velocityQueueEntryFlag=!0,void t(e))}),""!==s.queue&&"fx"!==s.queue||"inprogress"===p.queue(r)[0]||p.dequeue(r)}var s,l,f,h,g,y,w=arguments[0]&&(arguments[0].p||p.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||v.isString(arguments[0].properties));if(v.isWrapped(this)?(s=!1,f=0,h=this,l=this):(s=!0,f=1,h=w?arguments[0].elements||arguments[0].e:arguments[0]),h=r(h)){w?(g=arguments[0].properties||arguments[0].p,y=arguments[0].options||arguments[0].o):(g=arguments[f],y=arguments[f+1]);var k=h.length,S=0;if(!/^(stop|finish)$/i.test(g)&&!p.isPlainObject(y)){var T=f+1;y={};for(var O=T;O<arguments.length;O++)v.isArray(arguments[O])||!/^(fast|normal|slow)$/i.test(arguments[O])&&!/^\d/.test(arguments[O])?v.isString(arguments[O])||v.isArray(arguments[O])?y.easing=arguments[O]:v.isFunction(arguments[O])&&(y.complete=arguments[O]):y.duration=arguments[O]}var P={promise:null,resolver:null,rejecter:null};s&&b.Promise&&(P.promise=new b.Promise(function(t,e){P.resolver=t,P.rejecter=e}));var A;switch(g){case"scroll":A="scroll";break;case"reverse":A="reverse";break;case"finish":case"stop":p.each(h,function(t,e){o(e)&&o(e).delayTimer&&(clearTimeout(o(e).delayTimer.setTimeout),o(e).delayTimer.next&&o(e).delayTimer.next(),delete o(e).delayTimer)});var E=[];return p.each(b.State.calls,function(t,e){e&&p.each(e[1],function(i,a){var r=y===n?"":y;return r===!0||e[2].queue===r||y===n&&e[2].queue===!1?void p.each(h,function(i,n){n===a&&((y===!0||v.isString(y))&&(p.each(p.queue(n,v.isString(y)?y:""),function(t,e){v.isFunction(e)&&e(null,!0)}),p.queue(n,v.isString(y)?y:"",[])),"stop"===g?(o(n)&&o(n).tweensContainer&&r!==!1&&p.each(o(n).tweensContainer,function(t,e){e.endValue=e.currentValue}),E.push(t)):"finish"===g&&(e[2].duration=1))}):!0})}),"stop"===g&&(p.each(E,function(t,e){d(e,!0)}),P.promise&&P.resolver(h)),t();default:if(!p.isPlainObject(g)||v.isEmptyObject(g)){if(v.isString(g)&&b.Redirects[g]){var q=p.extend({},y),M=q.duration,I=q.delay||0;return q.backwards===!0&&(h=p.extend(!0,[],h).reverse()),p.each(h,function(t,e){parseFloat(q.stagger)?q.delay=I+parseFloat(q.stagger)*t:v.isFunction(q.stagger)&&(q.delay=I+q.stagger.call(e,t,k)),q.drag&&(q.duration=parseFloat(M)||(/^(callout|transition)/.test(g)?1e3:m),q.duration=Math.max(q.duration*(q.backwards?1-t/k:(t+1)/k),.75*q.duration,200)),b.Redirects[g].call(e,e,q||{},t,k,h,P.promise?P:n)}),t()}var _="Velocity: First argument ("+g+") was not a property map, a known action, or a registered redirect. Aborting.";return P.promise?P.rejecter(new Error(_)):console.log(_),t()}A="start"}var V={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},$=[];p.each(h,function(t,e){v.isNode(e)&&a.call(e)});var j,q=p.extend({},b.defaults,y);if(q.loop=parseInt(q.loop),j=2*q.loop-1,q.loop)for(var D=0;j>D;D++){var z={delay:q.delay,progress:q.progress};D===j-1&&(z.display=q.display,z.visibility=q.visibility,z.complete=q.complete),C(h,"reverse",z)}return t()}};b=p.extend(C,b),b.animate=C;var k=e.requestAnimationFrame||h;return b.State.isMobile||i.hidden===n||i.addEventListener("visibilitychange",function(){i.hidden?(k=function(t){return setTimeout(function(){t(!0)},16)},c()):k=e.requestAnimationFrame||h}),t.Velocity=b,t!==e&&(t.fn.velocity=C,t.fn.velocity.defaults=b.defaults),p.each(["Down","Up"],function(t,e){b.Redirects["slide"+e]=function(t,i,a,r,o,s){var l=p.extend({},i),u=l.begin,c=l.complete,d={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},f={};l.display===n&&(l.display="Down"===e?"inline"===b.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),l.begin=function(){u&&u.call(o,o);for(var i in d){f[i]=t.style[i];var n=b.CSS.getPropertyValue(t,i);d[i]="Down"===e?[n,0]:[0,n]}f.overflow=t.style.overflow,t.style.overflow="hidden"},l.complete=function(){for(var e in f)t.style[e]=f[e];c&&c.call(o,o),s&&s.resolver(o)},b(t,d,l)}}),p.each(["In","Out"],function(t,e){b.Redirects["fade"+e]=function(t,i,a,r,o,s){var l=p.extend({},i),u={opacity:"In"===e?1:0},c=l.complete;l.complete=a!==r-1?l.begin=null:function(){c&&c.call(o,o),s&&s.resolver(o)},l.display===n&&(l.display="In"===e?"auto":"none"),b(this,u,l)}}),b}(window.jQuery||window.Zepto||window,window,document)}),!function(t,e,i,n){"use strict";function a(t,e,i){return setTimeout(c(t,i),e)}function r(t,e,i){return Array.isArray(t)?(o(t,i[e],i),!0):!1}function o(t,e,i){var a;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==n)for(a=0;a<t.length;)e.call(i,t[a],a,t),a++;else for(a in t)t.hasOwnProperty(a)&&e.call(i,t[a],a,t)}function s(t,e,i){for(var a=Object.keys(e),r=0;r<a.length;)(!i||i&&t[a[r]]===n)&&(t[a[r]]=e[a[r]]),r++;return t}function l(t,e){return s(t,e,!0)}function u(t,e,i){var n,a=e.prototype;n=t.prototype=Object.create(a),n.constructor=t,n._super=a,i&&s(n,i)}function c(t,e){return function(){return t.apply(e,arguments)}}function d(t,e){return typeof t==ce?t.apply(e?e[0]||n:n,e):t}function p(t,e){return t===n?e:t}function f(t,e,i){o(m(e),function(e){t.addEventListener(e,i,!1)})}
vendor: 17,984 bytes, line 376
376function h(t,e,i){o(m(e),function(e){t.removeEventListener(e,i,!1)})}function v(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function g(t,e){return t.indexOf(e)>-1}function m(t){return t.trim().split(/\s+/g)}function y(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var n=0;n<t.length;){if(i&&t[n][i]==e||!i&&t[n]===e)return n;n++}return-1}function b(t){return Array.prototype.slice.call(t,0)}function w(t,e,i){for(var n=[],a=[],r=0;r<t.length;){var o=e?t[r][e]:t[r];y(a,o)<0&&n.push(t[r]),a[r]=o,r++}return i&&(n=e?n.sort(function(t,i){return t[e]>i[e]}):n.sort()),n}function x(t,e){for(var i,a,r=e[0].toUpperCase()+e.slice(1),o=0;o<le.length;){if(i=le[o],a=i?i+r:e,a in t)return a;o++}return n}function C(){return he++}function k(t){var e=t.ownerDocument;return e.defaultView||e.parentWindow}function S(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){d(t.options.enable,[t])&&i.handler(e)},this.init()}function T(t){var e,i=t.options.inputClass;return new(e=i?i:me?Q:ye?N:ge?R:z)(t,O)}function O(t,e,i){var n=i.pointers.length,a=i.changedPointers.length,r=e&Se&&0===n-a,o=e&(Oe|Pe)&&0===n-a;i.isFirst=!!r,i.isFinal=!!o,r&&(t.session={}),i.eventType=e,P(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function P(t,e){var i=t.session,n=e.pointers,a=n.length;i.firstInput||(i.firstInput=q(e)),a>1&&!i.firstMultiple?i.firstMultiple=q(e):1===a&&(i.firstMultiple=!1);var r=i.firstInput,o=i.firstMultiple,s=o?o.center:r.center,l=e.center=M(n);e.timeStamp=fe(),e.deltaTime=e.timeStamp-r.timeStamp,e.angle=$(s,l),e.distance=V(s,l),A(i,e),e.offsetDirection=_(e.deltaX,e.deltaY),e.scale=o?D(o.pointers,n):1,e.rotation=o?j(o.pointers,n):0,E(i,e);var u=t.element;v(e.srcEvent.target,u)&&(u=e.srcEvent.target),e.target=u}function A(t,e){var i=e.center,n=t.offsetDelta||{},a=t.prevDelta||{},r=t.prevInput||{};(e.eventType===Se||r.eventType===Oe)&&(a=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=a.x+(i.x-n.x),e.deltaY=a.y+(i.y-n.y)}function E(t,e){var i,a,r,o,s=t.lastInterval||e,l=e.timeStamp-s.timeStamp;if(e.eventType!=Pe&&(l>ke||s.velocity===n)){var u=s.deltaX-e.deltaX,c=s.deltaY-e.deltaY,d=I(l,u,c);a=d.x,r=d.y,i=pe(d.x)>pe(d.y)?d.x:d.y,o=_(u,c),t.lastInterval=e}else i=s.velocity,a=s.velocityX,r=s.velocityY,o=s.direction;e.velocity=i,e.velocityX=a,e.velocityY=r,e.direction=o}function q(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:de(t.pointers[i].clientX),clientY:de(t.pointers[i].clientY)},i++;return{timeStamp:fe(),pointers:e,center:M(e),deltaX:t.deltaX,deltaY:t.deltaY}}function M(t){var e=t.length;if(1===e)return{x:de(t[0].clientX),y:de(t[0].clientY)};for(var i=0,n=0,a=0;e>a;)i+=t[a].clientX,n+=t[a].clientY,a++;return{x:de(i/e),y:de(n/e)}}function I(t,e,i){return{x:e/t||0,y:i/t||0}}function _(t,e){return t===e?Ae:pe(t)>=pe(e)?t>0?Ee:qe:e>0?Me:Ie}function V(t,e,i){i||(i=je);var n=e[i[0]]-t[i[0]],a=e[i[1]]-t[i[1]];return Math.sqrt(n*n+a*a)}function $(t,e,i){i||(i=je);var n=e[i[0]]-t[i[0]],a=e[i[1]]-t[i[1]];return 180*Math.atan2(a,n)/Math.PI}function j(t,e){return $(e[1],e[0],De)-$(t[1],t[0],De)}function D(t,e){return V(e[0],e[1],De)/V(t[0],t[1],De)}function z(){this.evEl=Qe,this.evWin=Le,this.allow=!0,this.pressed=!1,S.apply(this,arguments)}function Q(){this.evEl=We,this.evWin=Re,S.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function L(){this.evTarget=He,this.evWin=Ye,this.started=!1,S.apply(this,arguments)}function F(t,e){var i=b(t.touches),n=b(t.changedTouches);return e&(Oe|Pe)&&(i=w(i.concat(n),"identifier",!0)),[i,n]}function N(){this.evTarget=Ge,this.targetIds={},S.apply(this,arguments)}function W(t,e){var i=b(t.touches),n=this.targetIds;if(e&(Se|Te)&&1===i.length)return n[i[0].identifier]=!0,[i,i];var a,r,o=b(t.changedTouches),s=[],l=this.target;if(r=i.filter(function(t){return v(t.target,l)}),e===Se)for(a=0;a<r.length;)n[r[a].identifier]=!0,a++;for(a=0;a<o.length;)n[o[a].identifier]&&s.push(o[a]),e&(Oe|Pe)&&delete n[o[a].identifier],a++;return s.length?[w(r.concat(s),"identifier",!0),s]:void 0}function R(){S.apply(this,arguments);var t=c(this.handler,this);this.touch=new N(this.manager,t),this.mouse=new z(this.manager,t)}function X(t,e){this.manager=t,this.set(e)}function H(t){if(g(t,ei))return ei;var e=g(t,ii),i=g(t,ni);return e&&i?ii+" "+ni:e||i?e?ii:ni:g(t,ti)?ti:Ke}function Y(t){this.id=C(),this.manager=null,this.options=l(t||{},this.defaults),this.options.enable=p(this.options.enable,!0),this.state=ai,this.simultaneous={},this.requireFail=[]}function B(t){return t&ui?"cancel":t&si?"end":t&oi?"move":t&ri?"start":""}function G(t){return t==Ie?"down":t==Me?"up":t==Ee?"left":t==qe?"right":""}function U(t,e){var i=e.manager;return i?i.get(t):t}function Z(){Y.apply(this,arguments)}function J(){Z.apply(this,arguments),this.pX=null,this.pY=null}function K(){Z.apply(this,arguments)}function te(){Y.apply(this,arguments),this._timer=null,this._input=null}function ee(){Z.apply(this,arguments)}function ie(){Z.apply(this,arguments)}function ne(){Y.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function ae(t,e){return e=e||{},e.recognizers=p(e.recognizers,ae.defaults.preset),new re(t,e)}function re(t,e){e=e||{},this.options=l(e,ae.defaults),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=T(this),this.touchAction=new X(this,this.options.touchAction),oe(this,!0),o(e.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function oe(t,e){var i=t.element;o(t.options.cssProps,function(t,n){i.style[x(i.style,n)]=e?t:""})}function se(t,i){var n=e.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=i,i.target.dispatchEvent(n)}var le=["","webkit","moz","MS","ms","o"],ue=e.createElement("div"),ce="function",de=Math.round,pe=Math.abs,fe=Date.now,he=1,ve=/mobile|tablet|ip(ad|hone|od)|android/i,ge="ontouchstart"in t,me=x(t,"PointerEvent")!==n,ye=ge&&ve.test(navigator.userAgent),be="touch",we="pen",xe="mouse",Ce="kinect",ke=25,Se=1,Te=2,Oe=4,Pe=8,Ae=1,Ee=2,qe=4,Me=8,Ie=16,_e=Ee|qe,Ve=Me|Ie,$e=_e|Ve,je=["x","y"],De=["clientX","clientY"];S.prototype={handler:function(){},init:function(){this.evEl&&f(this.element,this.evEl,this.domHandler),this.evTarget&&f(this.target,this.evTarget,this.domHandler),this.evWin&&f(k(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&h(this.element,this.evEl,this.domHandler),this.evTarget&&h(this.target,this.evTarget,this.domHandler),this.evWin&&h(k(this.element),this.evWin,this.domHandler)}};var ze={mousedown:Se,mousemove:Te,mouseup:Oe},Qe="mousedown",Le="mousemove mouseup";u(z,S,{handler:function(t){var e=ze[t.type];e&Se&&0===t.button&&(this.pressed=!0),e&Te&&1!==t.which&&(e=Oe),this.pressed&&this.allow&&(e&Oe&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:xe,srcEvent:t}))}});var Fe={pointerdown:Se,pointermove:Te,pointerup:Oe,pointercancel:Pe,pointerout:Pe},Ne={2:be,3:we,4:xe,5:Ce},We="pointerdown",Re="pointermove pointerup pointercancel";t.MSPointerEvent&&(We="MSPointerDown",Re="MSPointerMove MSPointerUp MSPointerCancel"),u(Q,S,{handler:function(t){var e=this.store,i=!1,n=t.type.toLowerCase().replace("ms",""),a=Fe[n],r=Ne[t.pointerType]||t.pointerType,o=r==be,s=y(e,t.pointerId,"pointerId");a&Se&&(0===t.button||o)?0>s&&(e.push(t),s=e.length-1):a&(Oe|Pe)&&(i=!0),0>s||(e[s]=t,this.callback(this.manager,a,{pointers:e,changedPointers:[t],pointerType:r,srcEvent:t}),i&&e.splice(s,1))}});var Xe={touchstart:Se,touchmove:Te,touchend:Oe,touchcancel:Pe},He="touchstart",Ye="touchstart touchmove touchend touchcancel";u(L,S,{handler:function(t){var e=Xe[t.type];if(e===Se&&(this.started=!0),this.started){var i=F.call(this,t,e);e&(Oe|Pe)&&0===i[0].length-i[1].length&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:be,srcEvent:t})}}});var Be={touchstart:Se,touchmove:Te,touchend:Oe,touchcancel:Pe},Ge="touchstart touchmove touchend touchcancel";u(N,S,{handler:function(t){var e=Be[t.type],i=W.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:be,srcEvent:t})}}),u(R,S,{handler:function(t,e,i){var n=i.pointerType==be,a=i.pointerType==xe;if(n)this.mouse.allow=!1;else if(a&&!this.mouse.allow)return;e&(Oe|Pe)&&(this.mouse.allow=!0),this.callback(t,e,i)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Ue=x(ue.style,"touchAction"),Ze=Ue!==n,Je="compute",Ke="auto",ti="manipulation",ei="none",ii="pan-x",ni="pan-y";X.prototype={set:function(t){t==Je&&(t=this.compute()),Ze&&(this.manager.element.style[Ue]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return o(this.manager.recognizers,function(e){d(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),H(t.join(" "))},preventDefaults:function(t){if(!Ze){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var n=this.actions,a=g(n,ei),r=g(n,ni),o=g(n,ii);return a||r&&i&_e||o&&i&Ve?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var ai=1,ri=2,oi=4,si=8,li=si,ui=16,ci=32;Y.prototype={defaults:{},set:function(t){return s(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(r(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=U(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return r(t,"dropRecognizeWith",this)?this:(t=U(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(r(t,"requireFailure",this))return this;var e=this.requireFail;return t=U(t,this),-1===y(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(r(t,"dropRequireFailure",this))return this;t=U(t,this);var e=y(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){i.manager.emit(i.options.event+(e?B(n):""),t)}var i=this,n=this.state;si>n&&e(!0),e(),n>=si&&e(!0)},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=ci)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(ci|ai)))return!1;t++}return!0},recognize:function(t){var e=s({},t);return d(this.options.enable,[this,e])?(this.state&(li|ui|ci)&&(this.state=ai),this.state=this.process(e),void(this.state&(ri|oi|si|ui)&&this.tryEmit(e))):(this.reset(),void(this.state=ci))},process:function(){},getTouchAction:function(){},reset:function(){}},u(Z,Y,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,i=t.eventType,n=e&(ri|oi),a=this.attrTest(t);return n&&(i&Pe||!a)?e|ui:n||a?i&Oe?e|si:e&ri?e|oi:ri:ci}}),u(J,Z,{defaults:{event:"pan",threshold:10,pointers:1,direction:$e},getTouchAction:function(){var t=this.options.direction,e=[];return t&_e&&e.push(ni),t&Ve&&e.push(ii),e},directionTest:function(t){var e=this.options,i=!0,n=t.distance,a=t.direction,r=t.deltaX,o=t.deltaY;return a&e.direction||(e.direction&_e?(a=0===r?Ae:0>r?Ee:qe,i=r!=this.pX,n=Math.abs(t.deltaX)):(a=0===o?Ae:0>o?Me:Ie,i=o!=this.pY,n=Math.abs(t.deltaY))),t.direction=a,i&&n>e.threshold&&a&e.direction},attrTest:function(t){return Z.prototype.attrTest.call(this,t)&&(this.state&ri||!(this.state&ri)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=G(t.direction);e&&this.manager.emit(this.options.event+e,t),this._super.emit.call(this,t)}}),u(K,Z,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[ei]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&ri)},emit:function(t){if(this._super.emit.call(this,t),1!==t.scale){var e=t.scale<1?"in":"out";this.manager.emit(this.options.event+e,t)}}}),u(te,Y,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return[Ke]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!n||!i||t.eventType&(Oe|Pe)&&!r)this.reset();else if(t.eventType&Se)this.reset(),this._timer=a(function(){this.state=li,this.tryEmit()},e.time,this);else if(t.eventType&Oe)return li;return ci},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===li&&(t&&t.eventType&Oe?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=fe(),this.manager.emit(this.options.event,this._input)))}}),u(ee,Z,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[ei]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&ri)}}),u(ie,Z,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:_e|Ve,pointers:1},getTouchAction:function(){return J.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(_e|Ve)?e=t.velocity:i&_e?e=t.velocityX:i&Ve&&(e=t.velocityY),this._super.attrTest.call(this,t)&&i&t.direction&&t.distance>this.options.threshold&&pe(e)>this.options.velocity&&t.eventType&Oe},emit:function(t){var e=G(t.direction);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),u(ne,Y,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return[ti]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&Se&&0===this.count)return this.failTimeout();if(n&&r&&i){if(t.eventType!=Oe)return this.failTimeout();var o=this.pTime?t.timeStamp-this.pTime<e.interval:!0,s=!this.pCenter||V(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,s&&o?this.count+=1:this.count=1,this._input=t;var l=this.count%e.taps;if(0===l)return this.hasRequireFailures()?(this._timer=a(function(){this.state=li,this.tryEmit()},e.interval,this),ri):li}return ci},failTimeout:function(){return this._timer=a(function(){this.state=ci},this.options.interval,this),ci},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==li&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),ae.VERSION="2.0.4",ae.defaults={domEvents:!1,touchAction:Je,enable:!0,inputTarget:null,inputClass:null,preset:[[ee,{enable:!1}],[K,{enable:!1},["rotate"]],[ie,{direction:_e}],[J,{direction:_e},["swipe"]],[ne],[ne,{event:"doubletap",taps:2},["tap"]],[te]],cssProps:{userSelect:"default",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var di=1,pi=2;re.prototype={set:function(t){return s(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?pi:di},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var i,n=this.recognizers,a=e.curRecognizer;(!a||a&&a.state&li)&&(a=e.curRecognizer=null);for(var r=0;r<n.length;)i=n[r],e.stopped===pi||a&&i!=a&&!i.canRecognizeWith(a)?i.reset():i.recognize(t),!a&&i.state&(ri|oi|si)&&(a=e.curRecognizer=i),r++}},get:function(t){if(t instanceof Y)return t;for(var e=this.recognizers,i=0;i<e.length;i++)if(e[i].options.event==t)return e[i];return null},add:function(t){if(r(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(r(t,"remove",this))return this;var e=this.recognizers;return t=this.get(t),e.splice(y(e,t),1),this.touchAction.update(),this},on:function(t,e){var i=this.handlers;return o(m(t),function(t){i[t]=i[t]||[],i[t].push(e)}),this},off:function(t,e){var i=this.handlers;return o(m(t),function(t){e?i[t].splice(y(i[t],e),1):delete i[t]}),this},emit:function(t,e){this.options.domEvents&&se(t,e);var i=this.handlers[t]&&this.handlers[t].slice();if(i&&i.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var n=0;n<i.length;)i[n](e),n++}},destroy:function(){this.element&&oe(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},s(ae,{INPUT_START:Se,INPUT_MOVE:Te,INPUT_END:Oe,INPUT_CANCEL:Pe,STATE_POSSIBLE:ai,STATE_BEGAN:ri,STATE_CHANGED:oi,STATE_ENDED:si,STATE_RECOGNIZED:li,STATE_CANCELLED:ui,STATE_FAILED:ci,DIRECTION_NONE:Ae,DIRECTION_LEFT:Ee,DIRECTION_RIGHT:qe,DIRECTION_UP:Me,DIRECTION_DOWN:Ie,DIRECTION_HORIZONTAL:_e,DIRECTION_VERTICAL:Ve,DIRECTION_ALL:$e,Manager:re,Input:S,TouchAction:X,TouchInput:N,MouseInput:z,PointerEventInput:Q,TouchMouseInput:R,SingleTouchInput:L,Recognizer:Y,AttrRecognizer:Z,Tap:ne,Pan:J,Swipe:ie,Pinch:K,Rotate:ee,Press:te,on:f,off:h,each:o,merge:l,extend:s,inherit:u,bindFn:c,prefixed:x}),typeof define==ce&&define.amd?define(function(){return ae}):"undefined"!=typeof module&&module.exports?module.exports=ae:t[i]=ae}(window,document,"Hammer"),function(t){"function"==typeof define&&define.amd?define(["jquery","hammerjs"],t):"object"==typeof exports?t(require("jquery"),require("hammerjs")):t(jQuery,Hammer)}(function(t,e){function i(i,n){var a=t(i);a.data("hammer")||a.data("hammer",new e(a[0],n))}t.fn.hammer=function(t){return this.each(function(){i(this,t)})},e.Manager.prototype.emit=function(e){return function(i,n){e.call(this,i,n),t(this.element).trigger({type:i,gesture:n})}}(e.Manager.prototype.emit)}),Materialize={},Materialize.guid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}
376return function(){return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}}(),Materialize.elementOrParentIsFixed=function(t){var e=$(t),i=e.add(e.parents()),n=!1;return i.each(function(){return"fixed"===$(this).css("position")?(n=!0,!1):void 0}),n};var Vel;Vel=$?$.Velocity:Velocity,function(t){t.fn.collapsible=function(e){var i={accordion:void 0};return e=t.extend(i,e),this.each(function(){function i(e){s=o.find("> li > .collapsible-header"),e.hasClass("active")?e.parent().addClass("active"):e.parent().removeClass("active"),e.parent().hasClass("active")?e.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}):e.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}),s.not(e).removeClass("active").parent().removeClass("active"),s.not(e).parent().children(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}})}function n(e){e.hasClass("active")?e.parent().addClass("active"):e.parent().removeClass("active"),e.parent().hasClass("active")?e.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}):e.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}})}function a(t){var e=r(t);return e.length>0}function r(t){return t.closest("li > .collapsible-header")}var o=t(this),s=t(this).find("> li > .collapsible-header"),l=o.data("collapsible");o.off("click.collapse",".collapsible-header"),s.off("click.collapse"),e.accordion||"accordion"===l||void 0===l?(s=o.find("> li > .collapsible-header"),s.on("click.collapse",function(e){var n=t(e.target);a(n)&&(n=r(n)),n.toggleClass("active"),i(n)}),i(s.filter(".active").first())):s.each(function(){t(this).on("click.collapse",function(e){var i=t(e.target);a(i)&&(i=r(i)),i.toggleClass("active"),n(i)}),t(this).hasClass("active")&&n(t(this))})})},t(document).ready(function(){t(".collapsible").collapsible()})}(jQuery),function(t){t.fn.scrollTo=function(e){return t(this).scrollTop(t(this).scrollTop()-t(this).offset().top+t(e).offset().top),this},t.fn.dropdown=function(e){var i={inDuration:300,outDuration:225,constrain_width:!0,hover:!1,gutter:0,belowOrigin:!1};this.each(function(){function n(){void 0!==o.data("induration")&&(s.inDuration=o.data("inDuration")),void 0!==o.data("outduration")&&(s.outDuration=o.data("outDuration")),void 0!==o.data("constrainwidth")&&(s.constrain_width=o.data("constrainwidth")),void 0!==o.data("hover")&&(s.hover=o.data("hover")),void 0!==o.data("gutter")&&(s.gutter=o.data("gutter")),void 0!==o.data("beloworigin")&&(s.belowOrigin=o.data("beloworigin"))}function a(){n(),l.addClass("active"),s.constrain_width===!0&&l.css("width",o.outerWidth());var e=0;s.belowOrigin===!0&&(e=o.height());var i=o.offset().left,a=0,r=s.gutter;i+l.innerWidth()>t(window).width()&&(a=o.innerWidth()-l.innerWidth(),r=-1*r),l.css({position:"absolute",top:o.position().top+e,left:o.position().left+a+r}),l.stop(!0,!0).css("opacity",0).slideDown({queue:!1,duration:s.inDuration,easing:"easeOutCubic",complete:function(){t(this).css("height","")}}).animate({opacity:1},{queue:!1,duration:s.inDuration,easing:"easeOutSine"})}function r(){l.fadeOut(s.outDuration),l.removeClass("active")}var o=t(this),s=t.extend({},i,e),l=t("#"+o.attr("data-activates"));if(n(),o.after(l),s.hover){var u=!1;o.unbind("click."+o.attr("id")),o.on("mouseenter",function(){u===!1&&(a(),u=!0)}),o.on("mouseleave",function(e){var i=e.toElement||e.relatedTarget;t(i).closest(".dropdown-content").is(l)||(l.stop(!0,!0),r(),u=!1)}),l.on("mouseleave",function(e){var i=e.toElement||e.relatedTarget;t(i).closest(".dropdown-button").is(o)||(l.stop(!0,!0),r(),u=!1)})}else o.unbind("click."+o.attr("id")),o.bind("click."+o.attr("id"),function(e){o[0]==e.currentTarget&&0===t(e.target).closest(".dropdown-content").length?(e.preventDefault(),a()):o.hasClass("active")&&(r(),t(document).unbind("click."+l.attr("id"))),l.hasClass("active")&&t(document).bind("click."+l.attr("id"),function(e){!l.is(e.target)&&!o.is(e.target)&&!o.find(e.target).length>0&&(r(),t(document).unbind("click."+l.attr("id")))})});o.on("open",a),o.on("close",r)})},t(document).ready(function(){t(".dropdown-button").dropdown()})}(jQuery),function(t){var e=0,i=0,n=function(){return i++,"materialize-lean-overlay-"+i};t.fn.extend({openModal:function(i){t("body").css("overflow","hidden");var a={opacity:.5,in_duration:350,out_duration:250,ready:void 0,complete:void 0,dism
376issible:!0,starting_top:"4%"},r=n(),o=t(this),s=t('<div class="lean-overlay"></div>'),l=++e;s.attr("id",r).css("z-index",1e3+2*l),o.data("overlay-id",r).css("z-index",1e3+2*l+1),t("body").append(s),i=t.extend(a,i),i.dismissible&&(s.click(function(){o.closeModal(i)}),t(document).on("keyup.leanModal"+r,function(t){27===t.keyCode&&o.closeModal(i)})),o.find(".modal-close").on("click.close",function(){o.closeModal(i)}),s.css({display:"block",opacity:0}),o.css({display:"block",opacity:0}),s.velocity({opacity:i.opacity},{duration:i.in_duration,queue:!1,ease:"easeOutCubic"}),o.data("associated-overlay",s[0]),o.hasClass("bottom-sheet")?o.velocity({bottom:"0",opacity:1},{duration:i.in_duration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof i.ready&&i.ready()}}):(t.Velocity.hook(o,"scaleX",.7),o.css({top:i.starting_top}),o.velocity({top:"10%",opacity:1,scaleX:"1"},{duration:i.in_duration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof i.ready&&i.ready()}}))}}),t.fn.extend({closeModal:function(i){var n={out_duration:250,complete:void 0},a=t(this),r=a.data("overlay-id"),o=t("#"+r);i=t.extend(n,i),t("body").css("overflow",""),a.find(".modal-close").off("click.close"),t(document).off("keyup.leanModal"+r),o.velocity({opacity:0},{duration:i.out_duration,queue:!1,ease:"easeOutQuart"}),a.hasClass("bottom-sheet")?a.velocity({bottom:"-100%",opacity:0}
376,{duration:i.out_duration,queue:!1,ease:"easeOutCubic",complete:function(){o.css({display:"none"}),"function"==typeof i.complete&&i.complete(),o.remove(),e--}}):a.velocity({top:i.starting_top,opacity:0,scaleX:.7},{duration:i.out_duration,complete:function(){t(this).css("display","none"),"function"==typeof i.complete&&i.complete(),o.remove(),e--}})}}),t.fn.extend({leanModal:function(e){return this.each(function(){var i={starting_top:"4%"},n=t.extend(i,e);t(this).click(function(e){n.starting_top=(t(this).offset().top-t(window).scrollTop())/1.15;var i=t(this).attr("href")||"#"+t(this).data("target");t(i).openModal(n),e.preventDefault()})})}})}(jQuery),function(t){t.fn.materialbox=function(){return this.each(function(){function e(){n=!1;var e=o.parent(".material-placeholder"),a=(window.innerWidth,window.innerHeight,o.data("width")),s=o.data("height");o.velocity("stop",!0),t("#materialbox-overlay").velocity("stop",!0),t(".materialbox-caption").velocity("stop",!0),t("#materialbox-overlay").velocity({opacity:0},{duration:r,queue:!1,easing:"easeOutQuad",complete:function(){i=!1,t(this).remove()
377}}),o.velocity({width:a,height:s,left:0,top:0},{duration:r,queue:!1,easing:"easeOutQuad"}),t(".materialbox-caption").velocity({opacity:0},{duration:r,queue:!1,easing:"easeOutQuad",complete:function(){e.css({height:"",width:"",position:"",top:"",left:""}),o.css({height:"",top:"",left:"",width:"","max-width":"",position:"","z-index":""}),o.removeClass("active"),n=!0,t(this).remove()}})}if(!t(this).hasClass("initialized")){t(this).addClass("initialized");var i=!1,n=!0,a=275,r=200,o=t(this),s=t("<div></div>").addClass("material-placeholder");o.wrap(s),o.on("click",function(){var r=o.parent(".material-placeholder"),s=window.innerWidth,l=window.innerHeight,u=o.width(),c=o.height();if(n===!1)return e(),!1;if(i&&n===!0)return e(),!1;n=!1,o.addClass("active"),i=!0,r.css({width:r[0].getBoundingClientRect().width,height:r[0].getBoundingClientRect().height,position:"relative",top:0,left:0}),o.css({position:"absolute","z-index":1e3}).data("width",u).data("height",c);var d=t('<div id="materialbox-overlay"></div>').css({opacity:0}).click(function(){n===!0&&e()});if(t("body").append(d),d.velocity({opacity:1},{duration:a,queue:!1,easing:"easeOutQuad"}),""!==o.data("caption")){var p=t('<div class="materialbox-caption"></div>');p.text(o.data("caption")),t("body").append(p),p.css({display:"inline"}),p.velocity({opacity:1},{duration:a,queue:!1,easing:"easeOutQuad"})}var f=0,h=u/s,v=c/l,g=0,m=0;h>v?(f=c/u,g=.9*s,m=.9*s*f):(f=u/c,g=.9*l*f,m=.9*l),o.hasClass("responsive-img")?o.velocity({"max-width":g,width:u},{duration:0,queue:!1,complete:function(){o.css({left:0,top:0}).velocity({height:m,width:g,left:t(document).scrollLeft()+s/2-o.parent(".material-placeholder").offset().left-g/2,top:t(document).scrollTop()+l/2-o.parent(".material-placeholder").offset().top-m/2},{duration:a,queue:!1,easing:"easeOutQuad",complete:function(){n=!0}})}}):o.css("left",0).css("top",0).velocity({height:m,width:g,left:t(document).scrollLeft()+s/2-o.parent(".material-placeholder").offset().left-g/2,top:t(document).scrollTop()+l/2-o.parent(".material-placeholder").offset().top-m/2},{duration:a,queue:!1,easing:"easeOutQuad",complete:function(){n=!0}})}),t(window).scroll(function(){i&&e()}),t(document).keyup(function(t){27===t.keyCode&&n===!0&&i&&e()})}})},t(document).ready(function(){t(".materialboxed").materialbox()})}(jQuery),function(t){t.fn.parallax=function(){var e=t(window).width();return this.each(function(){function i(i){var a;a=601>e?n.height()>0?n.height():n.children("img").height():n.height()>0?n.height():500;var r=n.children("img").first(),o=r.height(),s=o-a,l=n.offset().top+a,u=n.offset().top,c=t(window).scrollTop(),d=window.innerHeight,p=c+d,f=(p-u)/(a+d),h=Math.round(s*f);i&&r.css("display","block"),l>c&&c+d>u&&r.css("transform","translate3D(-50%,"+h+"px, 0)")}var n=t(this);n.addClass("parallax"),n.children("img").one("load",function(){i(!0)}).each(function(){this.complete&&t(this).load()}),t(window).scroll(function(){e=t(window).width(),i(!1)}),t(window).resize(function(){e=t(window).width(),i(!1)})})}}(jQuery),function(t){var e={init:function(){return this.each(function(){{var e=t(this);t(window).width()}e.width("100%");var i=t(this).children("li").length;e.children("li").each(function(){t(this).width(100/i+"%")});var n,a,r=e.find("li.tab a"),o=e.width(),s=e.find("li").first().outerWidth(),l=0;n=t(r.filter('[href="'+location.hash+'"]')),0===n.length&&(n=t(this).find("li.tab a.active").first()),0===n.length&&(n=t(this).find("li.tab a").first()),n.addClass("active"),l=r.index(n),0>l&&(l=0),a=t(n[0].hash),e.append('<div class="indicator"></div>');
377var u=e.find(".indicator");e.is(":visible")&&(u.css({right:o-(l+1)*s}),u.css({left:l*s})),t(window).resize(function(){o=e.width(),s=e.find("li").first().outerWidth(),0>l&&(l=0),0!==s&&0!==o&&(u.css({right:o-(l+1)*s}),u.css({left:l*s}))}),r.not(n).each(function(){t(this.hash).hide()}),e.on("click","a",function(i){if(t(this).parent().hasClass("disabled"))return void i.preventDefault();o=e.width(),s=e.find("li").first().outerWidth(),n.removeClass("active"),a.hide(),n=t(this),a=t(this.hash),r=e.find("li.tab a"),n.addClass("active");var c=l;l=r.index(t(this)),0>l&&(l=0),a.show(),l-c>=0?(u.velocity({right:o-(l+1)*s},{duration:300,queue:!1,easing:"easeOutQuad"}),u.velocity({left:l*s},{duration:300,queue:!1,easing:"easeOutQuad",delay:90})):(u.velocity({left:l*s},{duration:300,queue:!1,easing:"easeOutQuad"}),u.velocity({right:o-(l+1)*s},{duration:300,queue:!1,easing:"easeOutQuad",delay:90})),i.preventDefault()})})},select_tab:function(t){this.find('a[href="#'+t+'"]').trigger("click")}};t.fn.tabs=function(i){return e[i]?e[i].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof i&&i?void t.error("Method "+i+" does not exist on jQuery.tooltip"):e.init.apply(this,arguments)},t(document).ready(function(){t("ul.tabs").tabs()})}(jQuery),function(t){t.fn.tooltip=function(e){var i=null,n=!1,a=null,r=5,o={delay:350};return e=t.extend(o,e),t(".material-tooltip").remove(),this.each(function(){var o=t(this),s=t("<span></span>").text(o.attr("data-tooltip")),l=t("<div></div>");l.addClass("material-tooltip").append(s),l.appendTo(t("body"));var u=t("<div></div>").addClass("backdrop");u.appendTo(l),u.css({top:0,left:0}),t(this).off("mouseenter mouseleave"),t(this).on({mouseenter:function(){var t=o.data("delay");t=void 0===t||""===t?e.delay:t,i=0,a=setInterval(function(){if(i+=10,i>=t&&n===!1){n=!0,l.css({display:"block",left:"0px",top:"0px"}),l.children("span").text(o.attr("data-tooltip"));var e=o.outerWidth(),a=o.outerHeight(),s=o.attr("data-position"),c=l.outerHeight(),d=l.outerWidth(),p="0px",f="0px",h=8;"top"===s?(l.css({top:o.offset().top-c-r,left:o.offset().left+e/2-d/2}),p="-10px",u.css({borderRadius:"14px 14px 0 0",transformOrigin:"50% 90%",marginTop:c,marginLeft:d/2-u.width()/2})):"left"===s?(l.css({top:o.offset().top+a/2-c/2,left:o.offset().left-d-r}),f="-10px",u.css({width:"14px",height:"14px",borderRadius:"14px 0 0 14px",transformOrigin:"95% 50%",marginTop:c/2,marginLeft:d})):"right"===s?(l.css({top:o.offset().top+a/2-c/2,left:o.offset().left+e+r}),f="+10px",u.css({width:"14px",height:"14px",borderRadius:"0 14px 14px 0",transformOrigin:"5% 50%",marginTop:c/2,marginLeft:"0px"})):(l.css({top:o.offset().top+o.outerHeight()+r,left:o.offset().left+e/2-d/2}),p="+10px",u.css({marginLeft:d/2-u.width()/2})),h=d/8,8>h&&(h=8),("right"===s||"left"===s)&&(h=d/10,6>h&&(h=6)),l.velocity({opacity:1,marginTop:p,marginLeft:f},{duration:350,queue:!1}),u.css({display:"block"}).velocity({opacity:1},{duration:55,delay:0,queue:!1}).velocity({scale:h},{duration:300,delay:0,queue:!1,easing:"easeInOutQuad"})}},10)},mouseleave:function(){clearInterval(a),i=0,l.velocity({opacity:0,marginTop:0,marginLeft:0},{duration:225,queue:!1,delay:275}),u.velocity({opacity:0,scale:1},{duration:225,delay:275,queue:!1,complete:function(){u.css("display","none"),l.css("display","none"),n=!1}})}})})},t(document).ready(function(){t(".tooltipped").tooltip()})}(jQuery),function(t){"use strict";function e(t){return null!==t&&t===t.window}function i(t){return e(t)?t:9===t.nodeType&&t.defaultView}function n(t){var e,n,a={top:0,left:0},r=t&&t.ownerDocument;return e=r.documentElement,"undefined"!=typeof t.getBoundingClientRect&&(a=t.getBoundingClientRect()),n=i(r),{top:a.top+n.pageYOffset-e.clientTop,left:a.left+n.pageXOffset-e.clientLeft}}function a(t){var e="";for(var i in t)t.hasOwnProperty(i)&&(e+=i+":"+t[i]+";");return e}function r(t){if(c.allowEvent(t)===!1)return null;for(var e=null,i=t.target||t.srcElement;null!==i.parentElement;){if(!(i instanceof SVGElement||-1===i.className.indexOf("waves-effect"))){e=i;break}if(i.classList.contains("waves-effect")){e=i;break}i=i.parentElement}return e}function o(e){var i=r(e);null!==i&&(u.show(e,i),"ontouchstart"in t&&(i.addEventListener("touchend",u.hide,!1),i.addEventListener("touchcancel",u.hide,!1)),i.addEventListener("mouseup",u.hide,!1),i.addEventListener("mouseleave",u.hide,!1))}var s=s||{},l=document.querySelectorAll.bind(document),u={duration:750,show:function(t,e){if(2===t.button)return!1;var i=e||this,r=document.createElement("div");r.className="waves-ripple",i.appendChild(r);var o=n(i),s=t.pageY-o.top,l=t.pageX-o.left,c="scale("+i.clientWidth/100*10+")";"touches"in t&&(s=t.touches[0].pageY-o.top,l=t.touches[0].pageX-o.left),r.setAttribute("data-hold",Date.now()),r.setAttribute("data-scale",c),r.setAttribute("data-x",l),r.setAttribute("data-y",s);var d={top:s+"px",left:l+"px"};r.className=r.className+" waves-notransition",r.setAttribute("style",a(d)),r.className=r.className.replace("waves-notransition",""),d["-webkit-transform"]=c,d["-moz-transform"]=c,d["-ms-transform"]=c,d["-o-transform"]=c,d.transform=c,d.opacity="1",d["-webkit-transition-duration"]=u.duration+"ms",d["-moz-transition-duration"]=u.duration+"ms",d["-o-transition-duration"]=u.duration+"ms",d["transition-duration"]=u.duration+"ms",d["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",d["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",d["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",d["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",r.setAttribute("style",a(d))},hide:function(t){c.touchup(t);var e=this,i=(1.4*e.clientWidth,null),n=e.getElementsByClassName("waves-ripple");if(!(n.length>0))return!1;i=n[n.length-1];var r=i.getAttribute("data-x"),o=i.getAttribute("data-y"),s=i.getAttribute("data-scale"),l=Date.now()-Number(i.getAttribute("data-hold")),d=350-l;0>d&&(d=0),setTimeout(function(){var t={top:o+"px",left:r+"px",opacity:"0","-webkit-transition-duration":u.duration+"ms","-moz-transition-duration":u.duration+"ms","-o-transition-duration":u.duration+"ms","transition-duration":u.duration+"ms","-webkit-transform":s,"-moz-transform":s,"-ms-transform":s,"-o-transform":s,transform:s};i.setAttribute("style",a(t)),setTimeout(function(){try{e.removeChild(i)}catch(t){return!1}},u.duration)},d)},wrapInput:function(t){for(var e=0;e<t.length;e++){var i=t[e];if("input"===i.tagName.toLowerCase()){var n=i.parentNode;if("i"===n.tagName.toLowerCase()&&-1!==n.className.indexOf("waves-effect"))continue;var a=document.createElement("i");a.className=i.className+" waves-input-wrapper";var r=i.getAttribute("style");r||(r=""),a.setAttribute("style",r),i.className="waves-button-input",i.removeAttribute("style"),n.replaceChild(a,i),a.appendChild(i)}}}},c={touches:0,allowEvent:function(t){var e=!0;return"touchstart"===t.type?c.touches+=1:"touchend"===t.type||"touchcancel"===t.type?setTimeout(function(){c.touches>0&&(c.touches-=1)},500):"mousedown"===t.type&&c.touches>0&&(e=!1),e},touchup:function(t){c.allowEvent(t)}};s.displayEffect=function(e){e=e||{},"duration"in e&&(u.duration=e.duration),u.wrapInput(l(".waves-effect")),"ontouchstart"in t&&document.body.addEventListener("touchstart",o,!1),document.body.addEventListener("mousedown",o,!1)}
377,s.attach=function(e){"input"===e.tagName.toLowerCase()&&(u.wrapInput([e]),e=e.parentElement),"ontouchstart"in t&&e.addEventListener("touchstart",o,!1),e.addEventListener("mousedown",o,!1)},t.Waves=s,document.addEventListener("DOMContentLoaded",function(){s.displayEffect()},!1)}(window),Materialize.toast=function(t,e,i,n){function a(t){var e=document.createElement("div");if(e.classList.add("toast"),i)for(var a=i.split(" "),r=0,o=a.length;o>r;r++)e.classList.add(a[r]);e.innerHTML=t;var s=new Hammer(e,{prevent_default:!1});return s.on("pan",function(t){var i=t.deltaX,n=80;e.classList.contains("panning")||e.classList.add("panning");var a=1-Math.abs(i/n);0>a&&(a=0),Vel(e,{left:i,opacity:a},{duration:50,queue:!1,easing:"easeOutQuad"})}),s.on("panend",function(t){var i=t.deltaX,a=80;Math.abs(i)>a?Vel(e,{marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof n&&n(),e.parentNode.removeChild(e)}}):(e.classList.remove("panning"),Vel(e,{left:0,opacity:1},{duration:300,easing:"easeOutExpo",queue:!1}))}),e}i=i||"";var r=document.getElementById("toast-container");null===r&&(r=document.createElement("div"),r.id="toast-container",document.body.appendChild(r));var o=a(t);t&&r.appendChild(o),o.style.top="35px",o.style.opacity=0,Vel(o,{top:"0px",opacity:1},{duration:300,easing:"easeOutCubic",queue:!1});var s=e,l=setInterval(function(){null===o.parentNode&&window.clearInterval(l),o.classList.contains("panning")||(s-=20),0>=s&&(Vel(o,{opacity:0,marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof n&&n(),this[0].parentNode.removeChild(this[0])}}),window.clearInterval(l))},20)},function(t){var e={init:function(e){var i={menuWidth:240,edge:"left",closeOnClick:!1};e=t.extend(i,e),t(this).each(function(){function i(i){r=!1,o=!1,t("body").css("overflow",""),t("#sidenav-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),"left"===e.edge?(t(".drag-target").css({width:"",right:"",left:"0"}),a.velocity({left:-1*(e.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){i===!0&&(a.removeAttr("style"),a.css("width",e.menuWidth))}})):(t(".drag-target").css({width:"",right:"0",left:""}),a.velocity({right:-1*(e.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){i===!0&&(a.removeAttr("style"),a.css("width",e.menuWidth))}}))}var n=t(this),a=t("#"+n.attr("data-activates"));240!=e.menuWidth&&a.css("width",e.menuWidth),t("body").append(t('<div class="drag-target"></div>')),"left"==e.edge?(a.css("left",-1*(e.menuWidth+10)),t(".drag-target").css({left:0})):(a.addClass("right-aligned").css("right",-1*(e.menuWidth+10)).css("left",""),t(".drag-target").css({right:0})),a.hasClass("fixed")&&window.innerWidth>992&&a.css("left",0),a.hasClass("fixed")&&t(window).resize(function(){window.innerWidth>992?0!==t("#sidenav-overlay").css("opacity")&&o?i(!0):(a.removeAttr("style"),a.css("width",e.menuWidth)):o===!1&&("left"===e.edge?a.css("left",-1*(e.menuWidth+10)):a.css("right",-1*(e.menuWidth+10)))}),e.closeOnClick===!0&&a.on("click.itemclick","a:not(.collapsible-header)",function(){i()});var r=!1,o=!1;t(".drag-target").on("click",function(){i()}),t(".drag-target").hammer({prevent_default:!1}).bind("pan",function(n){if("touch"==n.gesture.pointerType){{var r=(n.gesture.direction,n.gesture.center.x);n.gesture.center.y,n.gesture.velocityX}if(t("body").css("overflow","hidden"),0===t("#sidenav-overlay").length){var s=t('<div id="sidenav-overlay"></div>');s.css("opacity",0).click(function(){i()}),t("body").append(s)}if("left"===e.edge&&(r>e.menuWidth?r=e.menuWidth:0>r&&(r=0)),"left"===e.edge)r<e.menuWidth/2?o=!1:r>=e.menuWidth/2&&(o=!0),a.css("left",r-e.menuWidth);else{r<window.innerWidth-e.menuWidth/2?o=!0:r>=window.innerWidth-e.menuWidth/2&&(o=!1);var l=-1*(r-e.menuWidth/2);l>0&&(l=0),a.css("right",l)}var u;"left"===e.edge?(u=r/e.menuWidth,t("#sidenav-overlay").velocity({opacity:u},{duration:50,queue:!1,easing:"easeOutQuad"})):(u=Math.abs((r-window.innerWidth)/e.menuWidth),t("#sidenav-overlay").velocity({opacity:u},{duration:50,queue:!1,easing:"easeOutQuad"}))}}).bind("panend",function(i){if("touch"==i.gesture.pointerType){var n=i.gesture.velocityX;r=!1,"left"===e.edge?o&&.3>=n||-.5>n?(a.velocity({left:0},{duration:300,queue:!1,easing:"easeOutQuad"}),t("#sidenav-overlay").velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),t(".drag-target").css({width:"50%",right:0,left:""})):(!o||n>.3)&&(t("body").css("overflow",""),a.velocity({left:-1*(e.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutQuad"}),t("#sidenav-overlay").velocity({opacity:0}
377,{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),t(".drag-target").css({width:"10px",right:"",left:0})):o&&n>=-.3||n>.5?(a.velocity({right:0},{duration:300,queue:!1,easing:"easeOutQuad"}),t("#sidenav-overlay").velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),t(".drag-target").css({width:"50%",right:"",left:0})):(!o||-.3>n)&&(t("body").css("overflow",""),a.velocity({right:-1*(e.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutQuad"}),t("#sidenav-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),t(".drag-target").css({width:"10px",right:0,left:""}))}}),n.click(function(){if(o===!0)o=!1,r=!1,i();else{t("body").css("overflow","hidden"),"left"===e.edge?(t(".drag-target").css({width:"50%",right:0,left:""}),a.velocity({left:0},{duration:300,queue:!1,easing:"easeOutQuad"})):(t(".drag-target").css({width:"50%",right:"",left:0}),a.velocity({right:0},{duration:300,queue:!1,easing:"easeOutQuad"}),a.css("left",""));var n=t('<div id="sidenav-overlay"></div>');n.css("opacity",0).click(function(){o=!1,r=!1,i(),n.velocity({opacity:0},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}})}),t("body").append(n),n.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){o=!0,r=!1}})}return!1})})},show:function(){this.trigger("click")},hide:function(){t("#sidenav-overlay").trigger("click")}};t.fn.sideNav=function(i){return e[i]?e[i].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof i&&i?void t.error("Method "+i+" does not exist on jQuery.sideNav"):e.init.apply(this,arguments)}}(jQuery),function(t){function e(e,i,n,a){var r=t();return t.each(o,function(t,o){if(o.height()>0){var s=o.offset().top,l=o.offset().left,u=l+o.width(),c=s+o.height(),d=!(l>i||a>u||s>n||e>c);d&&r.push(o)}}),r}function i(){++u;var i=r.scrollTop(),n=r.scrollLeft(),a=n+r.width(),o=i+r.height(),l=e(i+c.top+200,a+c.right,o+c.bottom,n+c.left);t.each(l,function(t,e){var i=e.data("scrollSpy:ticks");"number"!=typeof i&&e.triggerHandler("scrollSpy:enter"),e.data("scrollSpy:ticks",u)}),t.each(s,function(t,e){var i=e.data("scrollSpy:ticks");"number"==typeof i&&i!==u&&(e.triggerHandler("scrollSpy:exit"),e.data("scrollSpy:ticks",null))}),s=l}function n(){r.trigger("scrollSpy:winSize")}function a(t,e,i){var n,a,r,o=null,s=0;i||(i={});var l=function(){s=i.leading===!1?0:d(),o=null,r=t.apply(n,a),n=a=null};return function(){var u=d();s||i.leading!==!1||(s=u);var c=e-(u-s);return n=this,a=arguments,0>=c?(clearTimeout(o),o=null,s=u,r=t.apply(n,a),n=a=null):o||i.trailing===!1||(o=setTimeout(l,c)),r}}var r=t(window),o=[],s=[],l=!1,u=0,c={top:0,right:0,bottom:0,left:0},d=Date.now||function(){return(new Date).getTime()};t.scrollSpy=function(e,n){var s=[];e=t(e),e.each(function(e,i){o.push(t(i)),t(i).data("scrollSpy:id",e),t("a[href=#"+t(i).attr("id")+"]").click(function(e){e.preventDefault();var i=t(this.hash).offset().top+1;t("html, body").animate({scrollTop:i-200},{duration:400,queue:!1,easing:"easeOutCubic"})})}),n=n||{throttle:100},c.top=n.offsetTop||0,c.right=n.offsetRight||0,c.bottom=n.offsetBottom||0,c.left=n.offsetLeft||0;var u=a(i,n.throttle||100),d=function(){t(document).ready(u)};return l||(r.on("scroll",d),r.on("resize",d),l=!0),setTimeout(d,0),e.on("scrollSpy:enter",function(){s=t.grep(s,function(t){return 0!=t.height()});var e=t(this);s[0]?(t("a[href=#"+s[0].attr("id")+"]").removeClass("active"),e.data("scrollSpy:id")<s[0].data("scrollSpy:id")?s.unshift(t(this)):s.push(t(this))):s.push(t(this)),t("a[href=#"+s[0].attr("id")+"]").addClass("active")}),e.on("scrollSpy:exit",function(){if(s=t.grep(s,function(t){return 0!=t.height()}),s[0]){t("a[href=#"+s[0].attr("id")+"]").removeClass("active");var e=t(this);s=t.grep(s,function(t){return t.attr("id")!=e.attr("id")}),s[0]&&t("a[href=#"+s[0].attr("id")+"]").addClass("active")}}),e},t.winSizeSpy=function(e){return t.winSizeSpy=function(){return r},e=e||{throttle:100},r.on("resize",a(n,e.throttle||100))},t.fn.scrollSpy=function(e){return t.scrollSpy(t(this),e)}}(jQuery),function(t){t(document).ready(function(){function e(e){var i=e.css("font-family"),a=e.css("font-size");
377a&&n.css("font-size",a),i&&n.css("font-family",i),"off"===e.attr("wrap")&&n.css("overflow-wrap","normal").css("white-space","pre"),n.text(e.val()+"\n");var r=n.html().replace(/\n/g,"<br>");n.html(r),e.is(":visible")?n.css("width",e.width()):n.css("width",t(window).width()/2),e.css("height",n.height())}Materialize.updateTextFields=function(){var e="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea";t(e).each(function(e,i){t(i).val().length>0||void 0!==t(this).attr("placeholder")||t(i)[0].validity.badInput===!0?t(this).siblings("label, i").addClass("active"):t(this).siblings("label, i").removeClass("active")})};var i="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea";t("input[autofocus]").siblings("label, i").addClass("active"),t(document).on("change",i,function(){(0!==t(this).val().length||void 0!==t(this).attr("placeholder"))&&t(this).siblings("label, i").addClass("active")}),t(document).ready(function(){Materialize.updateTextFields()}),t(document).on("reset",function(e){var n=t(e.target);n.is("form")&&(n.find(i).removeClass("valid").removeClass("invalid"),n.find(i).each(function(){""===t(this).attr("value")&&t(this).siblings("label, i").removeClass("active")}),n.find("select.initialized").each(function(){var t=n.find("option[selected]").text();n.siblings("input.select-dropdown").val(t)}))}),t(document).on("focus",i,function(){t(this).siblings("label, i").addClass("active")}),t(document).on("blur",i,function(){var e=t(this);0===e.val().length&&e[0].validity.badInput!==!0&&void 0===e.attr("placeholder")&&e.siblings("label, i").removeClass("active")});var n=t(".hiddendiv").first();n.length||(n=t('<div class="hiddendiv common"></div>'),t("body").append(n));var a=".materialize-textarea";t(a).each(function(){var i=t(this);i.val().length&&e(i)}),t("body").on("keyup keydown",a,function(){e(t(this))}),t(".file-field").each(function(){var e=t(this).find("input.file-path");t(this).find('input[type="file"]').change(function(){e.val(t(this)[0].files[0].name),e.trigger("change")})});var r,o="input[type=range]",s=!1;t(o).each(function(){var e=t('<span class="thumb"><span class="value"></span></span>');t(this).after(e)});var l=".range-field";t(document).on("change",o,function(){var e=t(this).siblings(".thumb");e.find(".value").html(t(this).val())}),t(document).on("mousedown touchstart",o,function(e){var i=t(this).siblings(".thumb");i.length<=0&&(i=t('<span class="thumb"><span class="value"></span></span>'),t(this).append(i)),i.find(".value").html(t(this).val()),s=!0,t(this).addClass("active"),i.hasClass("active")||i.velocity({height:"30px",width:"30px",top:"-20px",marginLeft:"-15px"},{duration:300,easing:"easeOutExpo"}),r=void 0===e.pageX||null===e.pageX?e.originalEvent.touches[0].pageX-t(this).offset().left:e.pageX-t(this).offset().left;var n=t(this).outerWidth();0>r?r=0:r>n&&(r=n),i.addClass("active").css("left",r),i.find(".value").html(t(this).val())}),t(document).on("mouseup touchend",l,function(){s=!1,t(this).removeClass("active")}),t(document).on("mousemove touchmove",l,function(e){var i,n=t(this).children(".thumb");if(s){n.hasClass("active")||n.velocity({height:"30px",width:"30px",top:"-20px",marginLeft:"-15px"},{duration:300,easing:"easeOutExpo"}),i=void 0===e.pageX||null===e.pageX?e.originalEvent.touches[0].pageX-t(this).offset().left:e.pageX-t(this).offset().left;var a=t(this).outerWidth();0>i?i=0:i>a&&(i=a),n.addClass("active").css("left",i)}}),t(document).on("mouseout touchleave",l,function(){if(!s){var e=t(this).children(".thumb");e.hasClass("active")&&e.velocity({height:"0",width:"0",top:"10px",marginLeft:"-6px"},{duration:100}),e.removeClass("active")}})}),t.fn.material_select=function(e){t(this).each(function(){if($select=t(this),!$select.hasClass("browser-default")){var i=$select.data("select-id");if(i&&($select.parent().find("i").remove(),$select.parent().find("input").remove(),$select.unwrap(),t("ul#select-options-"+i).remove()),"destroy"===e)return void $
377select.data("select-id",null).removeClass("initialized");var n=Materialize.guid();$select.data("select-id",n);var a=t('<div class="select-wrapper"></div>');a.addClass($select.attr("class"));var r,o=t('<ul id="select-options-'+n+'" class="dropdown-content select-dropdown"></ul>'),s=$select.children("option");r=void 0!==$select.find("option:selected")?$select.find("option:selected"):o.first(),s.each(function(){o.append(t('<li class="'+(t(this).is(":disabled")?"disabled":"")+'"><span>'+t(this).html()+"</span></li>"))}),o.find("li").each(function(i){var n=$select;t(this).click(function(){t(this).hasClass("disabled")||(n.find("option").eq(i).prop("selected",!0),n.trigger("change"),n.siblings("input.select-dropdown").val(t(this).text()),"undefined"!=typeof e&&e())})}),$select.wrap(a);var l=t('<span class="caret">&#9660;</span>');$select.is(":disabled")&&l.addClass("disabled");var u=t('<input type="text" class="select-dropdown" readonly="true" '+($select.is(":disabled")?"disabled":"")+' data-activates="select-options-'+n+'" value="'+r.html()+'"/>');$select.before(u),u.before(l),t("body").append(o),$select.is(":disabled")||u.dropdown({hover:!1}),$select.attr("tabindex")&&t(u[0]).attr("tabindex",$select.attr("tabindex")),$select.addClass("initialized"),u.on("focus",function(){t(this).trigger("open"),r=t(this).val(),selectedOption=o.find("li").filter(function(){return t(this).text().toLowerCase()===r.toLowerCase()})[0],activateOption(o,selectedOption)}),u.on("blur",function(){t(this).trigger("close")}),activateOption=function(e,i){e.find("li.active").removeClass("active"),t(i).addClass("active"),e.scrollTo(i)},filterQuery=[],onKeyDown=function(e){if(9==e.which)return void u.trigger("close");if(40==e.which&&!o.is(":visible"))return void u.trigger("open");if(13!=e.which||o.is(":visible")){e.preventDefault(),letter=String.fromCharCode(e.which).toLowerCase();var i=[9,13,27,38,40];letter&&-1===i.indexOf(e.which)&&(filterQuery.push(letter),string=filterQuery.join(""),newOption=o.find("li").filter(function(){return 0===t(this).text().toLowerCase().indexOf(string)}
377)[0],newOption&&activateOption(o,newOption)),13==e.which&&(activeOption=o.find("li.active:not(.disabled)")[0],activeOption&&(t(activeOption).trigger("click"),u.trigger("close"))),40==e.which&&(newOption=o.find("li.active").next("li:not(.disabled)")[0],newOption&&activateOption(o,newOption)),27==e.which&&u.trigger("close"),38==e.which&&(newOption=o.find("li.active").prev("li:not(.disabled)")[0],newOption&&activateOption(o,newOption)),setTimeout(function(){filterQuery=[]},1e3)}},u.on("keydown",onKeyDown)}})}}(jQuery),function(t){var e={init:function(e){var i={indicators:!0,height:400,transition:500,interval:6e3};return e=t.extend(i,e),this.each(function(){function i(t,e){t.hasClass("center-align")?t.velocity({opacity:0,translateY:-100},{duration:e,queue:!1}):t.hasClass("right-align")?t.velocity({opacity:0,translateX:100},{duration:e,queue:!1}):t.hasClass("left-align")&&t.velocity({opacity:0,translateX:-100},{duration:e,queue:!1})}function n(t){t>=s.length?t=0:0>t&&(t=s.length-1),l=o.find(".active").index(),l!=t&&(a=s.eq(l),$caption=a.find(".caption"),a.removeClass("active"),a.velocity({opacity:0},{duration:e.transition,queue:!1,easing:"easeOutQuad",complete:function(){s.not(".active").velocity({opacity:0,translateX:0,translateY:0},{duration:0,queue:!1})}}),i($caption,e.transition),e.indicators&&u.eq(l).removeClass("active"),s.eq(t).velocity({opacity:1},{duration:e.transition,queue:!1,easing:"easeOutQuad"}),s.eq(t).find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:e.transition,delay:e.transition,queue:!1,easing:"easeOutQuad"}),s.eq(t).addClass("active"),e.indicators&&u.eq(t).addClass("active"))}var a,r=t(this),o=r.find("ul.slides").first(),s=o.find("li"),l=o.find(".active").index();if(-1!=l&&(a=s.eq(l)),r.hasClass("fullscreen")||(r.height(e.indicators?e.height+40:e.height),o.height(e.height)),s.find(".caption").each(function(){i(t(this),0)}),s.find("img").each(function(){t(this).css("background-image","url("+t(this).attr("src")+")"),t(this).attr("src","data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==")}),e.indicators){var u=t('<ul class="indicators"></ul>');s.each(function(){var i=t('<li class="indicator-item"></li>');i.click(function(){var i=o.parent(),a=i.find(t(this)).index();n(a),clearInterval($interval),$interval=setInterval(function(){l=o.find(".active").index(),s.length==l+1?l=0:l+=1,n(l)},e.transition+e.interval)}),u.append(i)}),r.append(u),u=r.find("ul.indicators").find("li.indicator-item")}a?a.show():(s.first().addClass("active").velocity({opacity:1},{duration:e.transition,queue:!1,easing:"easeOutQuad"}),l=0,a=s.eq(l),e.indicators&&u.eq(l).addClass("active")),a.find("img").each(function(){a.find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:e.transition,queue:!1,easing:"easeOutQuad"})}),$interval=setInterval(function(){l=o.find(".active").index(),n(l+1)},e.transition+e.interval);var c=!1,d=!1,p=!1;r.hammer({prevent_default:!1}).bind("pan",function(t){if("touch"===t.gesture.pointerType){clearInterval($interval);var e=t.gesture.direction,i=t.gesture.deltaX,n=t.gesture.velocityX;$curr_slide=o.find(".active"),$curr_slide.velocity({translateX:i},{duration:50,queue:!1,easing:"easeOutQuad"}),4===e&&(i>r.innerWidth()/2||-.65>n)?p=!0:2===e&&(i<-1*r.innerWidth()/2||n>.65)&&(d=!0);var a;d&&(a=$curr_slide.next(),0===a.length&&(a=s.first()),a.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"})),p&&(a=$curr_slide.prev(),0===a.length&&(a=s.last()),a.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"}))}}).bind("panend",function(t){"touch"===t.gesture.pointerType&&($curr_slide=o.find(".active"),c=!1,curr_index=o.find(".active").index(),p||d?d?(n(curr_index+1),$curr_slide.velocity({translateX:-1*r.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})):p&&(n(curr_index-1),$curr_slide.velocity({translateX:r.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})):$curr_slide.velocity({translateX:0},{duration:300,queue:!1,easing:"easeOutQuad"}),d=!1,p=!1,clearInterval($interval),$interval=setInterval(function(){l=o.find(".active").index(),s.length==l+1?l=0:l+=1,n(l)},e.transition+e.interval))}),r.on("sliderPause",function(){clearInterval($interval)}),r.on("sliderStart",function(){clearInterval($interval),$interval=setInterval(function(){l=o.find(".active").index(),s.length==l+1?l=0:l+=1,n(l)},e.transition+e.interval)})})},pause:function(){t(this).trigger("sliderPause")},start:function(){t(this).trigger("sliderStart")}};t.fn.slider=function(i){return e[i]?e[i].apply(this,Array.prototype.slice.call(arguments,1
377)):"object"!=typeof i&&i?void t.error("Method "+i+" does not exist on jQuery.tooltip"):e.init.apply(this,arguments)}}(jQuery),function(t){t(document).ready(function(){t(document).on("click.card",".card",function(e){t(this).find(".card-reveal").length&&(t(e.target).is(t(".card-reveal .card-title"))||t(e.target).is(t(".card-reveal .card-title i"))?t(this).find(".card-reveal").velocity({translateY:0},{duration:225,queue:!1,easing:"easeInOutQuad",complete:function(){t(this).css({display:"none"})}}):(t(e.target).is(t(".card .activator"))||t(e.target).is(t(".card .activator i")))&&t(this).find(".card-reveal").css({display:"block"}).velocity("stop",!1).velocity({translateY:"-100%"},{duration:300,queue:!1,easing:"easeInOutQuad"}))})})}(jQuery),function(t){t(document).ready(function(){t.fn.pushpin=function(e){var i={top:0,bottom:1/0,offset:0};return e=t.extend(i,e),$index=0,this.each(function(){function i(t){t.removeClass("pin-top"),t.removeClass("pinned"),t.removeClass("pin-bottom")}function n(n,a){n.each(function(){e.top<=a&&e.bottom>=a&&!t(this).hasClass("pinned")&&(i(t(this)),t(this).css("top",e.offset),t(this).addClass("pinned")),a<e.top&&!t(this).hasClass("pin-top")&&(i(t(this)),t(this).css("top",0),t(this).addClass("pin-top")),a>e.bottom&&!t(this).hasClass("pin-bottom")&&(i(t(this)),t(this).addClass("pin-bottom"),t(this).css("top",e.bottom-o))
378})}var a=Materialize.guid(),r=t(this),o=t(this).offset().top;n(r,t(window).scrollTop()),t(window).on("scroll."+a,function(){var i=t(window).scrollTop()+e.offset;n(r,i)})})}})}(jQuery),function(t){t(document).ready(function(){t.fn.reverse=[].reverse,t(document).on("mouseenter.fixedActionBtn",".fixed-action-btn",function(){var i=t(this);e(i)}),t(document).on("mouseleave.fixedActionBtn",".fixed-action-btn",function(){var e=t(this);i(e)})}),t.fn.extend({openFAB:function(){var i=t(this);e(i)},closeFAB:function(){i($this)}});var e=function(e){if($this=e,$this.hasClass("active")===!1){$this.addClass("active"),$this.find("ul .btn-floating").velocity({scaleY:".4",scaleX:".4",translateY:"40px"},{duration:0});var i=0;$this.find("ul .btn-floating").reverse().each(function(){t(this).velocity({opacity:"1",scaleX:"1",scaleY:"1",translateY:"0"},{duration:80,delay:i}),i+=40})}},i=function(t){$this=t,$this.removeClass("active");$this.find("ul .btn-floating").velocity("stop",!0),$this.find("ul .btn-floating").velocity({opacity:"0",scaleX:".4",scaleY:".4",translateY:"40px"},{duration:80})}}(jQuery),function(t){Materialize.fadeInImage=function(e){var i=t(e);i.css({opacity:0}),t(i).velocity({opacity:1},{duration:650,queue:!1,easing:"easeOutSine"}),t(i).velocity({opacity:1},{duration:1300,queue:!1,easing:"swing",step:function(e,i){i.start=100;var n=e/100,a=150-(100-e)/1.75;100>a&&(a=100),e>=0&&t(this).css({"-webkit-filter":"grayscale("+n+")brightness("+a+"%)",filter:"grayscale("+n+")brightness("+a+"%)"})}})},Materialize.showStaggeredList=function(e){var i=0;t(e).find("li").velocity({translateX:"-100px"},{duration:0}),t(e).find("li").each(function(){t(this).velocity({opacity:"1",translateX:"0"},{duration:800,delay:i,easing:[60,10]}),i+=120})},t(document).ready(function(){var e=!1,i=!1;t(".dismissable").each(function(){t(this).hammer({prevent_default:!1}).bind("pan",function(n){if("touch"===n.gesture.pointerType){var a=t(this),r=n.gesture.direction,o=n.gesture.deltaX,s=n.gesture.velocityX;a.velocity({translateX:o},{duration:50,queue:!1,easing:"easeOutQuad"}),4===r&&(o>a.innerWidth()/2||-.75>s)&&(e=!0),2===r&&(o<-1*a.innerWidth()/2||s>.75)&&(i=!0)}}).bind("panend",function(n){if(Math.abs(n.gesture.deltaX)<t(this).innerWidth()/2&&(i=!1,e=!1),"touch"===n.gesture.pointerType){var a=t(this);if(e||i){var r;r=e?a.innerWidth():-1*a.innerWidth(),a.velocity({translateX:r},{duration:100,queue:!1,easing:"easeOutQuad",complete:function(){a.css("border","none"),a.velocity({height:0,padding:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){a.remove()}})}})}else a.velocity({translateX:0},{duration:100,queue:!1,easing:"easeOutQuad"});e=!1,i=!1}})})})}(jQuery),function(){Materialize.scrollFire=function(t){var e=!1;window.addEventListener("scroll",function(){e=!0}),setInterval(function(){if(e){e=!1;for(var i=window.pageYOffset+window.innerHeight,n=0;n<t.length;n++){var a=t[n],r=a.selector,o=a.offset,s=a.callback,l=document.querySelector(r);if(null!==l){var u=l.getBoundingClientRect().top+document.body.scrollTop;if(i>u+o&&a.done!==!0){var c=new Function(s);c(),a.done=!0}}}}},100)}}(jQuery),function(t){"function"==typeof define&&define.amd?define("picker",["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):this.Picker=t(jQuery)}
378(function(t){function e(r,o,l,d){function p(){return e._.node("div",e._.node("div",e._.node("div",e._.node("div",S.component.nodes(b.open),x.box),x.wrap),x.frame),x.holder)}function f(){C.data(o,S).addClass(x.input).attr("tabindex",-1).val(C.data("value")?S.get("select",w.format):r.value),w.editable||C.on("focus."+b.id+" click."+b.id,function(t){t.preventDefault(),S.$root[0].focus()}).on("keydown."+b.id,g),a(r,{haspopup:!0,expanded:!1,readonly:!1,owns:r.id+"_root"})}function h(){S.$root.on({keydown:g,focusin:function(t){S.$root.removeClass(x.focused),t.stopPropagation()},"mousedown click":function(e){var i=e.target;i!=S.$root.children()[0]&&(e.stopPropagation(),"mousedown"!=e.type||t(i).is("input, select, textarea, button, option")||(e.preventDefault(),S.$root[0].focus()))}}).on({focus:function(){C.addClass(x.target)},blur:function(){C.removeClass(x.target)}}).on("focus.toOpen",m).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var e=t(this),i=e.data(),n=e.hasClass(x.navDisabled)||e.hasClass(x.disabled),a=s();a=a&&(a.type||a.href),(n||a&&!t.contains(S.$root[0],a))&&S.$root[0].focus(),!n&&i.nav?S.set("highlight",S.component.item.highlight,{nav:i.nav}):!n&&"pick"in i?S.set("select",i.pick):i.clear?S.clear().close(!0):i.close&&S.close(!0)}),a(S.$root[0],"hidden",!0)}function v(){var e;w.hiddenName===!0?(e=r.name,r.name=""):(e=["string"==typeof w.hiddenPrefix?w.hiddenPrefix:"","string"==typeof w.hiddenSuffix?w.hiddenSuffix:"_submit"],e=e[0]+r.name+e[1]),S._hidden=t('<input type=hidden name="'+e+'"'+(C.data("value")||r.value?' value="'+S.get("select",w.formatSubmit)+'"':"")+">")[0],C.on("change."+b.id,function(){S._hidden.value=r.value?S.get("select",w.formatSubmit):""}),w.container?t(w.container).append(S._hidden):C.after(S._hidden)}function g(t){var e=t.keyCode,i=/^(8|46)$/.test(e);return 27==e?(S.close(),!1):void((32==e||i||!b.open&&S.component.key[e])&&(t.preventDefault(),t.stopPropagation(),i?S.clear().close():S.open()))}function m(t){t.stopPropagation(),"focus"==t.type&&S.$root.addClass(x.focused),S.open()}if(!r)return e;var y=!1,b={id:r.id||"P"+Math.abs(~~(Math.random()*new Date))},w=l?t.extend(!0,{},l.defaults,d):d||{},x=t.extend({},e.klasses(),w.klass),C=t(r),k=function(){return this.start()},S=k.prototype={constructor:k,$node:C,start:function(){return b&&b.start?S:(b.methods={},b.start=!0,b.open=!1,b.type=r.type,r.autofocus=r==s(),r.readOnly=!w.editable,r.id=r.id||b.id,"text"!=r.type&&(r.type="text"),S.component=new l(S,w),S.$root=t(e._.node("div",p(),x.picker,'id="'+r.id+'_root" tabindex="0"')),h(),w.formatSubmit&&v(),f(),w.container?t(w.container).append(S.$root):C.after(S.$root),S.on({start:S.component.onStart,render:S.component.onRender,stop:S.component.onStop,open:S.component.onOpen,close:S.component.onClose,set:S.component.onSet}).on({start:w.onStart,render:w.onRender,stop:w.onStop,open:w.onOpen,close:w.onClose,set:w.onSet}),y=i(S.$root.children()[0]),r.autofocus&&S.open(),S.trigger("start").trigger("render"))},render:function(t){return t?S.$root.html(p()):S.$root.find("."+x.box).html(S.component.nodes(b.open)),S.trigger("render")},stop:function(){return b.start?(S.close(),S._hidden&&S._hidden.parentNode.removeChild(S._hidden),S.$root.remove(),C.removeClass(x.input).removeData(o),setTimeout(function(){C.off("."+b.id)},0),r.type=b.type,r.readOnly=!1,S.trigger("stop"),b.methods={},b.start=!1,S):S},open:function(i){return b.open?S:(C.addClass(x.active),a(r,"expanded",!0),setTimeout(function(){S.$root.addClass(x.opened),a(S.$root[0],"hidden",!1)},0),i!==!1&&(b.open=!0,y&&c.css("overflow","hidden").css("padding-right","+="+n()),S.$root[0].focus(),u.on("click."+b.id+" focusin."+b.id,function(t){var e=t.target;e!=r&&e!=document&&3!=t.which&&S.close(e===S.$root.children()[0])}).on("keydown."+b.id,function(i){var n=i.keyCode,a=S.component.key[n],r=i.target;27==n?S.close(!0):r!=S.$root[0]||!a&&13!=n?t.contains(S.$root[0],r)&&13==n&&(i.preventDefault(),r.click()):(i.preventDefault(),a?e._.trigger(S.component.key.go,S,[e._.trigger(a)]):S.$root.find("."+x.highlighted).hasClass(x.disabled)||S.set("select",S.component.item.highlight).close())})),S.trigger("open"))},close:function(t){return t&&(S.$root.off("focus.toOpen")[0].focus(),setTimeout(function(){S.$root.on("focus.toOpen",m)},0)),C.removeClass(x.active),a(r,"expanded",!1),setTimeout(function(){S.$root.removeClass(x.opened+" "+x.focused),a(S.$root[0],"hidden",!0)},0),b.open?(b.open=!1,y&&c.css("overflow","").css("padding-right","-="+n()),u.off("."+b.id),S.trigger("close")):S},clear:function(t){return S.set("clear",null,t)},set:function(e,i,n){var a,r,o=t.isPlainObject(e),s=o?e:{};if(n=o&&t.isPlainObject(i)?i:n||{},e){o||(s[e]=i);for(a in s)r=s[a],a in S.component.item&&(void 0===r&&(r=null),S.component.set(a,r,n)),("select"==a||"clear"==a)&&C.val("clear"==a?"":S.get(a,w.format)).trigger("change");S.render()}
378return n.muted?S:S.trigger("set",s)},get:function(t,i){if(t=t||"value",null!=b[t])return b[t];if("valueSubmit"==t){if(S._hidden)return S._hidden.value;t="value"}if("value"==t)return r.value;if(t in S.component.item){if("string"==typeof i){var n=S.component.get(t);return n?e._.trigger(S.component.formats.toString,S.component,[i,n]):""}return S.component.get(t)}},on:function(e,i,n){var a,r,o=t.isPlainObject(e),s=o?e:{};if(e){o||(s[e]=i);for(a in s)r=s[a],n&&(a="_"+a),b.methods[a]=b.methods[a]||[],b.methods[a].push(r)}return S},off:function(){var t,e,i=arguments;for(t=0,namesCount=i.length;namesCount>t;t+=1)e=i[t],e in b.methods&&delete b.methods[e];return S},trigger:function(t,i){var n=function(t){var n=b.methods[t];n&&n.map(function(t){e._.trigger(t,S,[i])})};return n("_"+t),n(t),S}};return new k}function i(t){var e,i="position";return t.currentStyle?e=t.currentStyle[i]:window.getComputedStyle&&(e=getComputedStyle(t)[i]),"fixed"==e}function n(){if(c.height()<=l.height())return 0;var e=t('<div style="visibility:hidden;width:100px" />').appendTo("body"),i=e[0].offsetWidth;e.css("overflow","scroll");var n=t('<div style="width:100%" />').appendTo(e),a=n[0].offsetWidth;return e.remove(),i-a}function a(e,i,n){if(t.isPlainObject(i))for(var a in i)r(e,a,i[a]);else r(e,i,n)}function r(t,e,i){t.setAttribute(("role"==e?"":"aria-")+e,i)}function o(e,i){t.isPlainObject(e)||(e={attribute:i}),i="";for(var n in e){var a=("role"==n?"":"aria-")+n,r=e[n];i+=null==r?"":a+'="'+e[n]+'"'}return i}function s(){try{return document.activeElement}catch(t){}}var l=t(window),u=t(document),c=t(document.documentElement);return e.klasses=function(t){return t=t||"picker",{picker:t,opened:t+"--opened",focused:t+"--focused",input:t+"__input",active:t+"__input--active",target:t+"__input--target",holder:t+"__holder",frame:t+"__frame",wrap:t+"__wrap",box:t+"__box"}},e._={group:function(t){for(var i,n="",a=e._.trigger(t.min,t);a<=e._.trigger(t.max,t,[a]);a+=t.i)i=e._.trigger(t.item,t,[a]),n+=e._.node(t.node,i[0],i[1],i[2]);return n},node:function(e,i,n,a){return i?(i=t.isArray(i)?i.join(""):i,n=n?' class="'+n+'"':"",a=a?" "+a:"","<"+e+n+a+">"+i+"</"+e+">"):""},lead:function(t){return(10>t?"0":"")+t},trigger:function(t,e,i){return"function"==typeof t?t.apply(e,i||[]):t},digits:function(t){return/\d/.test(t[1])?2:1},isDate:function(t){return{}.toString.call(t).indexOf("Date")>-1&&this.isInteger(t.getDate())},isInteger:function(t){return{}.toString.call(t).indexOf("Number")>-1&&t%1===0},ariaAttr:o},e.extend=function(i,n){t.fn[i]=function(a,r){var o=this.data(i);return"picker"==a?o:o&&"string"==typeof a?e._.trigger(o[a],o,[r]):this.each(function(){var r=t(this);r.data(i)||new e(this,i,n,a)})},t.fn[i].defaults=n.defaults},e}),function(t){"function"==typeof define&&define.amd?define(["picker","jquery"],t):"object"==typeof exports?module.exports=t(require("./picker.js"),require("jquery")):t(Picker,jQuery)}(function(t,e){function i(t,e){var i=this,n=t.$node[0],a=n.value,r=t.$node.data("value"),o=r||a,s=r?e.formatSubmit:e.format,l=function(){return n.currentStyle?"rtl"==n.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction};i.settings=e,i.$node=t.$node,i.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},i.item={},i.item.clear=null,i.item.disable=(e.disable||[]).slice(0),i.item.enable=-function(t){return t[0]===!0?t.shift():-1}(i.item.disable),i.set("min",e.min).set("max",e.max).set("now"),o?i.set("select",o,{format:s}):i.set("select",null).set("highlight",i.item.now),i.key={40:7,38:-7,39:function(){return l()?-1:1},37:function(){return l()?1:-1},go:function(t){var e=i.item.highlight,n=new Date(e.year,e.month,e.date+t);i.set("highlight",n,{interval:t}),this.render()}},t.on("render",function(){t.$root.find("."+e.klass.selectMonth).on("change",function(){var i=this.value;i&&(t.set("highlight",[t.get("view").year,i,t.get("highlight").date]),t.$root.find("."+e.klass.selectMonth).trigger("focus"))}),t.$root.find("."+e.klass.selectYear).on("change",function(){var i=this.value;i&&(t.set("highlight",[i,t.get("view").month,t.get("highlight").date]),t.$root.find("."+e.klass.selectYear).trigger("focus"))})},1).on("open",function(){var n="";i.disabled(i.get("now"))&&(n=":not(."+e.klass.buttonToday+")"),t.$root.find("button"+n+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)}var n=7,a=6,r=t._;
378i.prototype.set=function(t,e,i){var n=this,a=n.item;return null===e?("clear"==t&&(t="select"),a[t]=e,n):(a["enable"==t?"disable":"flip"==t?"enable":t]=n.queue[t].split(" ").map(function(a){return e=n[a](t,e,i)}).pop(),"select"==t?n.set("highlight",a.select,i):"highlight"==t?n.set("view",a.highlight,i):t.match(/^(flip|min|max|disable|enable)$/)&&(a.select&&n.disabled(a.select)&&n.set("select",a.select,i),a.highlight&&n.disabled(a.highlight)&&n.set("highlight",a.highlight,i)),n)},i.prototype.get=function(t){return this.item[t]},i.prototype.create=function(t,i,n){var a,o=this;return i=void 0===i?t:i,i==-1/0||1/0==i?a=i:e.isPlainObject(i)&&r.isInteger(i.pick)?i=i.obj:e.isArray(i)?(i=new Date(i[0],i[1],i[2]),i=r.isDate(i)?i:o.create().obj):i=r.isInteger(i)||r.isDate(i)?o.normalize(new Date(i),n):o.now(t,i,n),{year:a||i.getFullYear(),month:a||i.getMonth(),date:a||i.getDate(),day:a||i.getDay(),obj:a||i,pick:a||i.getTime()}},i.prototype.createRange=function(t,i){var n=this,a=function(t){return t===!0||e.isArray(t)||r.isDate(t)?n.create(t):t};return r.isInteger(t)||(t=a(t)),r.isInteger(i)||(i=a(i)),r.isInteger(t)&&e.isPlainObject(i)?t=[i.year,i.month,i.date+t]:r.isInteger(i)&&e.isPlainObject(t)&&(i=[t.year,t.month,t.date+i]),{from:a(t),to:a(i)}},i.prototype.withinRange=function(t,e){return t=this.createRange(t.from,t.to),e.pick>=t.from.pick&&e.pick<=t.to.pick},i.prototype.overlapRanges=function(t,e){var i=this;return t=i.createRange(t.from,t.to),e=i.createRange(e.from,e.to),i.withinRange(t,e.from)||i.withinRange(t,e.to)||i.withinRange(e,t.from)||i.withinRange(e,t.to)},i.prototype.now=function(t,e,i){return e=new Date,i&&i.rel&&e.setDate(e.getDate()+i.rel),this.normalize(e,i)},i.prototype.navigate=function(t,i,n){var a,r,o,s,l=e.isArray(i),u=e.isPlainObject(i),c=this.item.view;if(l||u){for(u?(r=i.year,o=i.month,s=i.date):(r=+i[0],o=+i[1],s=+i[2]),n&&n.nav&&c&&c.month!==o&&(r=c.year,o=c.month),a=new Date(r,o+(n&&n.nav?n.nav:0),1),r=a.getFullYear(),o=a.getMonth();new Date(r,o,s).getMonth()!==o;)s-=1;i=[r,o,s]}return i},i.prototype.normalize=function(t){return t.setHours(0,0,0,0),t},i.prototype.measure=function(t,e){var i=this;return e?"string"==typeof e?e=i.parse(t,e):r.isInteger(e)&&(e=i.now(t,e,{rel:e})):e="min"==t?-1/0:1/0,e},i.prototype.viewset=function(t,e){return this.create([e.year,e.month,1])},i.prototype.validate=function(t,i,n){var a,o,s,l,u=this,c=i,d=n&&n.interval?n.interval:1,p=-1===u.item.enable,f=u.item.min,h=u.item.max,v=p&&u.item.disable.filter(function(t){if(e.isArray(t)){var n=u.create(t).pick;n<i.pick?a=!0:n>i.pick&&(o=!0)}return r.isInteger(t)}).length;if((!n||!n.nav)&&(!p&&u.disabled(i)||p&&u.disabled(i)&&(v||a||o)||!p&&(i.pick<=f.pick||i.pick>=h.pick)))for(p&&!v&&(!o&&d>0||!a&&0>d)&&(d*=-1);u.disabled(i)&&(Math.abs(d)>1&&(i.month<c.month||i.month>c.month)&&(i=c,d=d>0?1:-1),i.pick<=f.pick?(s=!0,d=1,i=u.create([f.year,f.month,f.date+(i.pick===f.pick?0:-1)])):i.pick>=h.pick&&(l=!0,d=-1,i=u.create([h.year,h.month,h.date+(i.pick===h.pick?0:1)])),!s||!l);)i=u.create([i.year,i.month,i.date+d]);return i},i.prototype.disabled=function(t){var i=this,n=i.item.disable.filter(function(n){return r.isInteger(n)?t.day===(i.settings.firstDay?n:n-1)%7:e.isArray(n)||r.isDate(n)?t.pick===i.create(n).pick:e.isPlainObject(n)?i.withinRange(n,t):void 0});return n=n.length&&!n.filter(function(t){return e.isArray(t)&&"inverted"==t[3]||e.isPlainObject(t)&&t.inverted}).length,-1===i.item.enable?!n:n||t.pick<i.item.min.pick||t.pick>i.item.max.pick},i.prototype.parse=function(t,e,i){var n=this,a={};return e&&"string"==typeof e?(i&&i.format||(i=i||{},i.format=n.settings.format),n.formats.toArray(i.format).map(function(t){var i=n.formats[t],o=i?r.trigger(i,n,[e,a]):t.replace(/^!/,"").length;i&&(a[t]=e.substr(0,o)),e=e.substr(o)}),[a.yyyy||a.yy,+(a.mm||a.m)-1,a.dd||a.d]):e},i.prototype.formats=function(){function t(t,e,i){var n=t.match(/\w+/)[0];return i.mm||i.m||(i.m=e.indexOf(n)+1),n.length}function e(t){return t.match(/\w+/)[0].length}return{d:function(t,e){return t?r.digits(t):e.date},dd:function(t,e){return t?2:r.lead(e.date)},ddd:function(t,i){return t?e(t):this.settings.weekdaysShort[i.day]},dddd:function(t,i){return t?e(t):this.settings.weekdaysFull[i.day]},m:function(t,e){return t?r.digits(t):e.month+1},mm:function(t,e){return t?2:r.lead(e.month+1)},mmm:function(e,i){var n=this.settings.monthsShort;return e?t(e,n,i):n[i.month]},mmmm:function(e,i){var n=this.settings.monthsFull;return e?t(e,n,i):n[i.month]},yy:function(t,e){return t?2:(""+e.year).slice(2)},yyyy:function(t,e){return t?4:e.year},toArray:function(t){return t.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(t,e){var i=this;return i.formats.toArray(t).map(function(t){return r.trigger(i.formats[t],i,[0,e])||t.replace(/^!/,"")}).join("")}}}(),i.prototype.isDateExact=function(t,i){var n=this;return r.isInteger(t)&&r.isInteger(i)||"boolean"==typeof t&&"boolean"==typeof i?t===i:(r.isDate(t)||e.isArray(t))&&(r.isDate(i)||e.isArray(i))?n.create(t).pick===n.create(i).pick:e.isPlainObject(t)&&e.isPlainObject(i)?n.isDateExact(t.from,i.from)&&n.isDateExact(t.to,i.to):!1},i.prototype.isDateOverlap=function(t,i){var n=this,a=n.settings.firstDay?1:0;return r.isInteger(t)&&(r.isDate(i)||e.isArray(i))?(t=t%7+a,t===n.create(i).day+1):r.isInteger(i)&&(r.isDate(t)||e.isArray(t))?(i=i%7+a,i===n.create(t).day+1):e.isPlainObject(t)&&e.isPlainObject(i)?n.overlapRanges(t,i):!1},i.prototype.flipEnable=function(t){var e=this.item;e.enable=t||(-1==e.enable?1:-1)},i.prototype.deactivate=function(t,i){var n=this,a=n.item.disable.slice(0);return"flip"==i?n.flipEnable():i===!1?(n.flipEnable(1),a=[]):i===!0?(n.flipEnable(-1),a=[]):i.map(function(t){for(var i,o=0;o<a.length;o+=1)if(n.isDateExact(t,a[o])){i=!0;break}i||(r.isInteger(t)||r.isDate(t)||e.isArray(t)||e.isPlainObject(t)&&t.from&&t.to)&&a.push(t)}),a},i.prototype.activate=function(t,i){var n=this,a=n.item.disable,o=a.length;return"flip"==i?n.flipEnable():i===!0?(n.flipEnable(1),a=[]):i===!1?(n.flipEnable(-1),a=[]):i.map(function(t){var i,s,l,u;for(l=0;o>l;l+=1){if(s=a[l],n.isDateExact(s,t)){i=a[l]=null,u=!0;break}if(n.isDateOverlap(s,t)){e.isPlainObject(t)?(t.inverted=!0,i=t):e.isArray(t)?(i=t,i[3]||i.push("inverted")):r.isDate(t)&&(i=[t.getFullYear(),t.getMonth(),t.getDate(),"inverted"]);break}}if(i)for(l=0;o>l;l+=1)if(n.isDateExact(a[l],t)){a[l]=null;break}if(u)for(l=0;o>l;l+=1)if(n.isDateOverlap(a[l],t)){a[l]=null;break}i&&a.push(i)}),a.filter(function(t){return null!=t})},i.prototype.nodes=function(t){var e=this,i=e.settings,o=e.item,s=o.now,l=o.select,u=o.highlight,c=o.view,d=o.disable,p=o.min,f=o.max,h=function(t,e){return i.firstDay&&(t.push(t.shift()),e.push(e.shift())),r.node("thead",r.node("tr",r.group({min:0,max:n-1,i:1,node:"th",item:function(n){return[t[n],i.klass.weekdays,'scope=col title="'+e[n]+'"']}})))}((i.showWeekdaysFull?i.weekdaysFull:i.weekdaysLetter).slice(0),i.weekdaysFull.slice(0)),v=function(t){return r.node("div"," ",i.klass["nav"+(t?"Next":"Prev")]+(t&&c.year>=f.year&&c.month>=f.month||!t&&c.year<=p.year&&c.month<=p.month?" "+i.klass.navDisabled:""),"data-nav="+(t||-1)+" "+r.ariaAttr({role:"button",controls:e.$node[0].id+"_table"})+' title="'+(t?i.labelMonthNext:i.labelMonthPrev)+'"')},g=function(n){var a=i.showMonthsShort?i.monthsShort:i.monthsFull;return"short_months"==n&&(a=i.monthsShort),i.selectMonths&&void 0==n?r.node("select",r.group({min:0,max:11,i:1,node:"option",item:function(t){return[a[t],0,"value="+t+(c.month==t?" selected":"")+(c.year==p.year&&t<p.month||c.year==f.year&&t>f.month?" disabled":"")]}}),i.klass.selectMonth+" browser-default",(t?"":"disabled")+" "+r.ariaAttr({controls:e.$node[0].id+"_table"})+' title="'+i.labelMonthSelect+'"'):"short_months"==n?null!=l?r.node("div",a[l.month]):r.node("div",a[c.month]):r.node("div",a[c.month],i.klass.month)},m=function(n){var a=c.year,o=i.selectYears===!0?5:~~(i.selectYears/2);if(o){var s=p.year,l=f.year,u=a-o,d=a+o;if(s>u&&(d+=s-u,u=s),d>l){var h=u-s,v=d-l;u-=h>v?v:h,d=l}if(i.selectYears&&void 0==n)return r.node("select",r.group({min:u,max:d,i:1,node:"option",item:function(t){return[t,0,"value="+t+(a==t?" selected":"")]}}),i.klass.selectYear+" browser-default",(t?"":"disabled")+" "+r.ariaAttr({controls:e.$node[0].id+"_table"})+' title="'+i.labelYearSelect+'"')}return"raw"==n?r.node("div",a):r.node("div",a,i.klass.year)};return createDayLabel=function(){return null!=l?r.node("div",l.date):r.node("div",s.date)},createWeekdayLabel=function(){var t;t=null!=l?l.day:s.day;var e=i.weekdaysFull[t];return e},r.node("div",r.node("div",createWeekdayLabel(),"picker__weekday-display")+r.node("div",g("short_months"),i.klass.month_display)+r.node("div",createDayLabel(),i.klass.day_display)+r.node("div",m("raw"),i.klass.year_display),i.klass.date_display)+r.node("div",r.node("div",(i.selectYears?g()+m():g()+m())+v()+v(1),i.klass.header)+r.node("table",h+r.node("tbody",r.group({min:0,max:a-1,i:1,node:"tr",item:function(t){var a=i.firstDay&&0===e.create([c.year,c.month,1]).day?-7:0;return[r.group({min:n*t-c.day+a+1,max:function(){return this.min+n-1},i:1,node:"td",item:function(t){t=e.create([c.year,c.month,t+(i.firstDay?1:0)]);var n=l&&l.pick==t.pick,a=u&&u.pick==t.pick,o=d&&e.disabled(t)||t.pick<p.pick||t.pick>f.pick,h=r.trigger(e.formats.toString,e,[i.format,t]);return[r.node("div",t.date,function(e){return e.push(c.month==t.month?i.klass.infocus:i.klass.outfocus),s.pick==t.pick&&e.push(i.klass.now),n&&e.push(i.klass.selected),a&&e.push(i.klass.highlighted),o&&e.push(i.klass.disabled),e.join(" ")}([i.klass.day]),"data-pick="+t.pick+" "+r.ariaAttr({role:"gridcell",label:h,selected:n&&e.$node.val()===h?!0:null,activedescendant:a?!0:null,disabled:o?!0:null})),"",r.ariaAttr({role:"presentation"})]}})]}}
378)),i.klass.table,'id="'+e.$node[0].id+'_table" '+r.ariaAttr({role:"grid",controls:e.$node[0].id,readonly:!0})),i.klass.calendar_container)+r.node("div",r.node("button",i.today,"btn-flat picker__today","type=button data-pick="+s.pick+(t&&!e.disabled(s)?"":" disabled")+" "+r.ariaAttr({controls:e.$node[0].id}))+r.node("button",i.clear,"btn-flat picker__clear","type=button data-clear=1"+(t?"":" disabled")+" "+r.ariaAttr({controls:e.$node[0].id}))+r.node("button",i.close,"btn-flat picker__close","type=button data-close=true "+(t?"":" disabled")+" "+r.ariaAttr({controls:e.$node[0].id})),i.klass.footer)},i.defaults=function(t){return{labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysLetter:["S","M","T","W","T","F","S"],today:"Today",clear:"Clear",close:"Close",format:"d mmmm, yyyy",klass:{table:t+"table",header:t+"header",date_display:t+"date-display",day_display:t+"day-display",month_display:t+"month-display",year_display:t+"year-display",calendar_container:t+"calendar-container",navPrev:t+"nav--prev",navNext:t+"nav--next",navDisabled:t+"nav--disabled",month:t+"month",year:t+"year",selectMonth:t+"select--month",selectYear:t+"select--year",weekdays:t+"weekday",day:t+"day",disabled:t+"day--disabled",selected:t+"day--selected",highlighted:t+"day--highlighted",now:t+"day--today",infocus:t+"day--infocus",outfocus:t+"day--outfocus",footer:t+"footer",buttonClear:t+"button--clear",buttonToday:t+"button--today",buttonClose:t+"button--close"}}}(t.klasses().picker+"__"),t.extend("pickadate",i)}),function(t){function e(){var e=+t(this).attr("length"),i=+t(this).val().length,n=e>=i;t(this).parent().find('span[class="character-counter"]').html(i+"/"+e),a(n,t(this))}function i(e){var i=t("<span/>").addClass("character-counter").css("float","right").css("font-size","12px").css("height",1);e.parent().append(i)}function n(){t(this).parent().find('span[class="character-counter"]').html("")}function a(t,e){var i=e.hasClass("invalid");t&&i?e.removeClass("invalid"):t||i||(e.removeClass("valid"),e.addClass("invalid"))}t.fn.characterCounter=function(){return this.each(function(){var a=void 0!==t(this).attr("length");a&&(t(this).on("input",e),t(this).on("focus",e),t(this).on("blur",n),i(t(this)))})},t(document).ready(function(){t("input, textarea").characterCounter()})}(jQuery);;/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
379(function(r,G,f,v){var J=f("html"),n=f(r),p=f(G),b=f.fancybox=function(){b.open.apply(this,arguments)},I=navigator.userAgent.match(/msie/i),B=null,s=G.createTouch!==v,t=function(a){return a&&a.hasOwnProperty&&a instanceof f},q=function(a){return a&&"string"===f.type(a)},E=function(a){return q(a)&&0<a.indexOf("%")},l=function(a,d){var e=parseInt(a,10)||0;d&&E(a)&&(e*=b.getViewport()[d]/100);return Math.ceil(e)},w=function(a,b){return l(a,b)+"px"};f.extend(b,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!s,fitToView:!0,aspectRatio:!1,topRatio:0.5,leftRatio:0.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3E3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+
380(I?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,
vendor: 16,709 bytes, line 380
380skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=t(a)?f(a).get():[a]),f.each(a,function(e,c){var k={},g,h,j,m,l;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),t(c)?(k={href:c.data("fancybox-href")||c.attr("href"),title:c.data("fancybox-title")||c.attr("title"),isDom:!0,element:c},f.metadata&&f.extend(!0,k,c.metadata())):k=c);g=d.href||k.href||(q(c)?c:null);h=d.title!==v?d.title:k.title||"";m=(j=d.content||k.content)?"html":d.type||k.type;!m&&k.isDom&&(m=c.data("fancybox-type"),m||(m=(m=c.prop("class").match(/fancybox\.(\w+)/))?m[1]:null));q(g)&&(m||(b.isImage(g)?m="image":b.isSWF(g)?m="swf":"#"===g.charAt(0)?m="inline":q(c)&&(m="html",j=c)),"ajax"===m&&(l=g.split(/\s+/,2),g=l.shift(),l=l.shift()));j||("inline"===m?g?j=f(q(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):k.isDom&&(j=c):"html"===m?j=g:!m&&(!g&&k.isDom)&&(m="inline",j=c));f.extend(k,{href:g,type:m,content:j,title:h,selector:l});a[e]=k}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==v&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1!==b.trigger("onCancel")&&(b.hideLoading(),b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(),b.coming=null,b.current||b._afterZoomOut(a))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(!b.isOpen||!0===a?(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut()):(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&&(b.player.timer=setTimeout(b.next,b.current.playSpeed))},c=function(){d();p.unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};if(!0===a||!b.player.isActive&&!1!==a){if(b.current&&(b.current.loop||b.current.index<b.group.length-1))b.player.isActive=!0,p.bind({"onCancel.player beforeClose.player":c,"onUpdate.player":e,"beforeLoad.player":d}),e(),b.trigger("onPlayStart")}else c()},next:function(a){var d=b.current;d&&(q(a)||(a=d.direction.next),b.jumpto(d.index+1,a,"next"))},prev:function(a){var d=b.current;d&&(q(a)||(a=d.direction.prev),b.jumpto(d.index-1,a,"prev"))},jumpto:function(a,d,e){var c=b.current;c&&(a=l(a),b.direction=d||c.direction[a>=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==v&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,k;c&&(k=b._getPosition(d),a&&"scroll"===a.type?(delete k.position,c.stop(!0,!0).animate(k,200)):(c.css(k),e.pos=f.extend({},e.dim,k)))},update:function(a){var d=a&&a.type,e=!d||"orientationchange"===d;e&&(clearTimeout(B),B=null);b.isOpen&&!B&&(B=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),B=null)},e&&!s?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,s&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"),b.trigger("onUpdate")),b.update())},hideLoading:function(){p.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('<div id="fancybox-loading"><div></div></div>').click(b.cancel).appendTo("body");p.bind("keydown.loading",function(a){if(27===(a.which||a.keyCode))a.preventDefault(),b.cancel()});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}))},getViewport:function(){var a=b.current&&b.current.locked||!1,d={x:n.scrollLeft(),y:n.scrollTop()};a?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=s&&r.innerWidth?r.innerWidth:n.width(),d.h=s&&r.innerHeight?r.innerHeight:n.height());return d},unbindEvents:function(){b.wrap&&t(b.wrap)&&b.wrap.unbind(".fb");p.unbind(".fb");n.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(n.bind("orientationchange.fb"+(s?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&p.bind("keydown.fb",function(e){var c=e.which||e.keyCode,k=e.target||e.srcElement;if(27===c&&b.coming)return!1;!e.ctrlKey&&(!e.altKey&&!e.shiftKey&&!e.metaKey&&(!k||!k.type&&!f(k).is("[contenteditable]")))&&f.each(d,function(d,k){if(1<a.group.length&&k[c]!==v)return b[d](k[c]),e.preventDefault(),!1;if(-1<f.inArray(c,k))return b[d](),e.preventDefault(),!1})}),f.fn.mousewheel&&a.mouseWheel&&b.wrap.bind("mousewheel.fb",function(d,c,k,g){for(var h=f(d.target||null),j=!1;h.length&&!j&&!h.is(".fancybox-skin")&&!h.is(".fancybox-wrap");)j=h[0]&&!(h[0].style.overflow&&"hidden"===h[0].style.overflow)&&(h[0].clientWidth&&h[0].scrollWidth>h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();if(0!==c&&!j&&1<b.group.length&&!a.canShrink){if(0<g||0<k)b.prev(0<g?"down":"left");else if(0>g||0>k)b.next(0>g?"up":"right");d.preventDefault()}}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,e){if(e&&b.helpers[d]&&f.isFunction(b.helpers[d][a]))b.helpers[d][a](f.extend(!0,{},b.helpers[d].defaults,e),c)});p.trigger(a)}},isImage:function(a){return q(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(a){return q(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=l(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&&(d.padding=[c,c,c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=!0;if("image"===c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio=!0);"iframe"===c&&s&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(s?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,w(d.padding[a]))});b.trigger("onReady");if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href");"image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width=this.width/b.opts.pixelRatio;b.coming.height=this.height/b.opts.pixelRatio;b._afterLoad()};a.onerror=function(){this.onload=this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming,d=f(a.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",s?"auto":a.iframe.scrolling).attr("src",a.href);f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);s||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload||b._afterLoad()},_preloadImages:function(){var a=b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload,e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,k,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove());b.unbindEvents();e=a.content;c=a.type;k=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case"inline":case"ajax":case"html":a.selector?e=f("<div>").html(e).find(a.selector):t(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('<div class="fancybox-placeholder"></div>').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder",!1)}));break;case"image":e=a.tpl.image.replace("{href}",g);break;case"swf":e='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+g+'"></param>',h="",f.each(a.swf,function(a,b){e+='<param name="'+a+'" value="'+b+'"></param>';h+=" "+a+'="'+b+'"'}),e+='<embed src="'+g+'" type="application/x-shockwave-flash" width="100%" height="100%"'+h+"></embed></object>"}(!t(e)||!e.parent().is(a.inner))&&a.inner.append(e);b.trigger("beforeShow");a.inner.css("overflow","yes"===k?"scroll":"no"===k?"hidden":k);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(b.isOpened){if(d.prevMethod)b.transitions[d.prevMethod]()}else f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,k=b.skin,g=b.inner,h=b.current,c=h.width,j=h.height,m=h.minWidth,u=h.minHeight,n=h.maxWidth,p=h.maxHeight,s=h.scrolling,q=h.scrollOutside?h.scrollbarWidth:0,x=h.margin,y=l(x[1]+x[3]),r=l(x[0]+x[2]),v,z,t,C,A,F,B,D,H;e.add(k).add(g).width("auto").height("auto").removeClass("fancybox-tmp");x=l(k.outerWidth(!0)-k.width());v=l(k.outerHeight(!0)-k.height());z=y+x;t=r+v;C=E(c)?(a.w-z)*l(c)/100:c;A=E(j)?(a.h-t)*l(j)/100:j;if("iframe"===h.type){if(H=h.content,h.autoHeight&&1===H.data("ready"))try{H[0].contentWindow.document.location&&(g.width(C).height(9999),F=H.contents().find("body"),q&&F.css("overflow-x","hidden"),A=F.outerHeight(!0))}catch(G){}}else if(h.autoWidth||h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(C),h.autoHeight||g.height(A),h.autoWidth&&(C=g.width()),h.autoHeight&&(A=g.height()),g.removeClass("fancybox-tmp");c=l(C);j=l(A);D=C/A;m=l(E(m)?l(m,"w")-z:m);n=l(E(n)?l(n,"w")-z:n);u=l(E(u)?l(u,"h")-t:u);p=l(E(p)?l(p,"h")-t:p);F=n;B=p;h.fitToView&&(n=Math.min(a.w-z,n),p=Math.min(a.h-t,p));z=a.w-y;r=a.h-r;h.aspectRatio?(c>n&&(c=n,j=l(c/D)),j>p&&(j=p,c=l(j*D)),c<m&&(c=m,j=l(c/D)),j<u&&(j=u,c=l(j*D))):(c=Math.max(m,Math.min(c,n)),h.autoHeight&&"iframe"!==h.type&&(g.width(c),j=g.height()),j=Math.max(u,Math.min(j,p)));if(h.fitToView)if(g.width(c).height(j),e.width(c+x),a=e.width(),y=e.height(),h.aspectRatio)for(;(a>z||y>r)&&(c>m&&j>u)&&!(19<d++);)j=Math.max(u,Math.min(p,j-10)),c=l(j*D),c<m&&(c=m,j=l(c/D)),c>n&&(c=n,j=l(c/D)),g.width(c).height(j),e.width(c+x),a=e.width(),y=e.height();else c=Math.max(m,Math.min(c,c-(a-z))),j=Math.max(u,Math.min(j,j-(y-r)));q&&("auto"===s&&j<A&&c+x+q<z)&&(c+=q);g.width(c).height(j);e.width(c+x);a=e.width();y=e.height();e=(a>z||y>r)&&c>m&&j>u;c=h.aspectRatio?c<F&&j<B&&c<C&&j<A:(c<F||j<B)&&(c<C||j<A);f.extend(h,{dim:{width:w(a),height:w(y)},origWidth:C,origHeight:A,canShrink:e,canExpand:c,wPadding:x,hPadding:v,wrapSpace:y-k.outerHeight(!0),skinSpace:k.height()-j});!H&&(h.autoHeight&&j>u&&j<p&&!c)&&g.height("auto")},_getPosition:function(a){var d=b.current,e=b.getViewport(),c=d.margin,f=b.wrap.width()+c[1]+c[3],g=b.wrap.height()+c[0]+c[2],c={position:"absolute",top:c[0],left:c[3]};d.autoCenter&&d.fixed&&!a&&g<=e.h&&f<=e.w?c.position="fixed":d.locked||(c.top+=e.y,c.left+=e.x);c.top=w(Math.max(c.top,c.top+(e.h-g)*d.topRatio));c.left=w(Math.max(c.left,c.left+(e.w-f)*d.leftRatio));return c},_afterZoomIn:function(){var a=b.current;a&&(b.isOpen=b.isOpened=!0,b.wrap.css("overflow","visible").addClass("fancybox-opened"),b.update(),(a.closeClick||a.nextClick&&1<b.group.length)&&b.inner.css("cursor","pointer").bind("click.fb",function(d){!f(d.target).is("a")&&!f(d.target).parent().is("a")&&(d.preventDefault(),b[a.closeClick?"close":"next"]())}),a.closeBtn&&f(a.tpl.closeBtn).appendTo(b.skin).bind("click.fb",function(a){a.preventDefault();b.close()}),a.arrows&&1<b.group.length&&((a.loop||0<a.index)&&f(a.tpl.prev).appendTo(b.outer).bind("click.fb",b.prev),(a.loop||a.index<b.group.length-1)&&f(a.tpl.next).appendTo(b.outer).bind("click.fb",b.next)),b.trigger("afterShow"),!a.loop&&a.index===a.group.length-1?b.play(!1):b.opts.autoPlay&&!b.player.isActive&&(b.opts.autoPlay=!1,b.play()))},_afterZoomOut:function(a){a=a||b.current;f(".fancybox-wrap").trigger("onReset").remove();f.extend(b,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null});b.trigger("afterClose",a)}});b.transitions={getOrigPosition:function(){var a=b.current,d=a.element,e=a.orig,c={},f=50,g=50,h=a.hPadding,j=a.wPadding,m=b.getViewport();!e&&(a.isDom&&d.is(":visible"))&&(e=d.find("img:first"),e.length||(e=d));t(e)?(c=e.offset(),e.is("img")&&(f=e.outerWidth(),g=e.outerHeight())):(c.top=m.y+(m.h-g)*a.topRatio,c.left=m.x+(m.w-f)*a.leftRatio);if("fixed"===b.wrap.css("position")||a.locked)c.top-=m.y,c.left-=m.x;return c={top:w(c.top-h*a.topRatio),left:w(c.left-j*a.leftRatio),width:w(f+j),height:w(g+h)}},step:function(a,d){var e,c,f=d.prop;c=b.current;var g=c.wrapSpace,h=c.skinSpace;if("width"===f||"height"===f)e=d.end===d.start?1:(a-d.start)/(d.end-d.start),b.isClosing&&(e=1-e),c="width"===f?c.wPadding:c.hPadding,c=a-c,b.skin[f](l("width"===f?c:c-g*e)),b.inner[f](l("width"===f?c:c-g*e-h*e))},zoomIn:function(){var a=b.current,d=a.pos,e=a.openEffect,c="elastic"===e,k=f.extend({opacity:1},d);delete k.position;c?(d=this.getOrigPosition(),a.openOpacity&&(d.opacity=0.1)):"fade"===e&&(d.opacity=0.1);b.wrap.css(d).animate(k,{duration:"none"===e?0:a.openSpeed,easing:a.openEasing,step:c?this.step:null,complete:b._afterZoomIn})},zoomOut:function(){var a=b.current,d=a.closeEffect,e="elastic"===d,c={opacity:0.1};e&&(c=this.getOrigPosition(),a.closeOpacity&&(c.opacity=0.1));b.wrap.animate(c,{duration:"none"===d?0:a.closeSpeed,easing:a.closeEasing,step:e?this.step:null,complete:b._afterZoomOut})},changeIn:function(){var a=b.current,d=a.nextEffect,e=a.pos,c={opacity:1},f=b.direction,g;e.opacity=0.1;"elastic"===d&&(g="down"===f||"up"===f?"top":"left","down"===f||"right"===f?(e[g]=w(l(e[g])-200),c[g]="+=200px"):(e[g]=w(l(e[g])+200),c[g]="-=200px"));"none"===d?b._afterZoomIn():b.wrap.css(e).animate(c,{duration:a.nextSpeed,easing:a.nextEasing,complete:b._afterZoomIn})},changeOut:function(){var a=b.previous,d=a.prevEffect,e={opacity:0.1},c=b.direction;"elastic"===d&&(e["down"===c||"up"===c?"top":"left"]=("up"===c||"left"===c?"-":"+")+"=200px");a.wrap.animate(e,{duration:"none"===d?0:a.prevSpeed,easing:a.prevEasing,complete:function(){f(this).trigger("onReset").remove()}})}};b.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!s,fixed:!0},overlay:null,fixed:!1,el:f("html"),create:function(a){a=f.extend({},this.defaults,a);this.overlay&&this.close();this.overlay=f('<div class="fancybox-overlay"></div>').appendTo(b.coming?b.coming.parent:a.parent);this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(n.bind("resize.overlay",f.proxy(this.update,this)),this.update());
380a.closeClick&&this.overlay.bind("click.overlay",function(a){if(f(a.target).hasClass("fancybox-overlay"))return b.isActive?b.close():d.close(),!1});this.overlay.css(a.css).show()},close:function(){var a,b;n.unbind("resize.overlay");this.el.hasClass("fancybox-lock")&&(f(".fancybox-margin").removeClass("fancybox-margin"),a=n.scrollTop(),b=n.scrollLeft(),this.el.removeClass("fancybox-lock"),n.scrollTop(a).scrollLeft(b));f(".fancybox-overlay").remove().hide();f.extend(this,{overlay:null,fixed:!1})},update:function(){var a="100%",b;this.overlay.width(a).height("100%");I?(b=Math.max(G.documentElement.offsetWidth,G.body.offsetWidth),p.width()>b&&(a=p.width())):p.width()>n.width()&&(a=p.width());this.overlay.width(a).height(p.height())},onReady:function(a,b){var e=this.overlay;f(".fancybox-overlay").stop(!0,!0);e||this.create(a);a.locked&&(this.fixed&&b.fixed)&&(e||(this.margin=p.height()>n.height()?f("html").css("margin-right").replace("px",""):!1),b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){var e,c;b.locked&&(!1!==this.margin&&(f("*").filter(function(){return"fixed"===f(this).css("position")&&!f(this).hasClass("fancybox-overlay")&&!f(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),e=n.scrollTop(),c=n.scrollLeft(),this.el.addClass("fancybox-lock"),n.scrollTop(e).scrollLeft(c));this.open(a)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!b.coming&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(a){var d=b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(q(e)&&""!==f.trim(e)){d=f('<div class="fancybox-title fancybox-title-'+c+'-wrap">'+e+"</div>");switch(c){case"inside":c=b.skin;break;case"outside":c=b.wrap;break;case"over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),I&&d.width(d.width()),d.wrapInner('<span class="child"></span>'),b.current.margin[2]+=Math.abs(l(d.css("margin-bottom")))}d["top"===a.position?"prependTo":"appendTo"](c)}}};f.fn.fancybox=function(a){var d,e=f(this),c=this.selector||"",k=function(g){var h=f(this).blur(),j=d,k,l;!g.ctrlKey&&(!g.altKey&&!g.shiftKey&&!g.metaKey)&&!h.is(".fancybox-wrap")&&(k=a.groupAttr||"data-fancybox-group",l=h.attr(k),l||(k="rel",l=h.get(0)[k]),l&&(""!==l&&"nofollow"!==l)&&(h=c.length?f(c):e,h=h.filter("["+k+'="'+l+'"]'),j=h.index(this)),a.index=j,!1!==b.o
380pen(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;!c||!1===a.live?e.unbind("click.fb-start").bind("click.fb-start",k):p.undelegate(c,"click.fb-start").delegate(c+":not('.fancybox-item, .fancybox-nav')","click.fb-start",k);this.filter("[data-fancybox-start=1]").trigger("click");return this};p.ready(function(){var a,d;f.scrollbarWidth===v&&(f.scrollbarWidth=function(){var a=f('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),b=a.children(),b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});if(f.support.fixedPosition===v){a=f.support;d=f('<div style="position:fixed;top:20px;"></div>').appendTo("body");var e=20===d[0].offsetTop||15===d[0].offsetTop;d.remove();a.fixedPosition=e}f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")});a=f(r).width();J.addClass("fancybox-lock-test");d=f(r).width();J.removeClass("fancybox-lock-test");f("<style type='text/css'>.fancybox-margin{margin-right:"+(d-a)+"px;}</style>").appendTo("head")})})(window,document,jQuery);;$(document).ready(function(){if(typeof ad!=='undefined'&&ad&&typeof adtoken!=='undefined'&&adtoken)
381{$(document).on('click','input[name=publish_button]',function(e){e.preventDefault();submitPublishCMS(ad,0,adtoken);});$(document).on('click','input[name=lnk_view]',function(e){e.preventDefault();submitPublishCMS(ad,1,adtoken);});}});function submitPublishCMS(url,redirect,token)
382{var id_cms=$('#admin-action-cms-id').val();$.ajaxSetup({async:false});$.post(url+'/index.php',{action:'PublishCMS',id_cms:id_cms,status:1,redirect:redirect,ajax:1,tab:'AdminCmsContent',token:token},function(data)
383{if(data.indexOf('error')===-1)
384document.location.href=data;});return true;};;$(document).ready(function(){ajaxCart.overrideButtonsInThePage();$(document).on('click','.block_cart_collapse',function(e){e.preventDefault();ajaxCart.collapse();});$(document).on('click','.block_cart_expand',function(e){e.preventDefault();ajaxCart.expand();});var current_timestamp=parseInt(new Date().getTime()/1000);if(typeof $('.ajax_cart_quantity').html()=='undefined'||(typeof generated_date!='undefined'&&generated_date!=null&&(parseInt(generated_date)+30)<current_timestamp))
385ajaxCart.refresh();var cart_block=new HoverWatcher('#header .cart_block');var shopping_cart=new HoverWatcher('#header .shopping_cart');var is_touch_enabled=false;if('ontouchstart'in document.documentElement)
386is_touch_enabled=true;$(document).on('click','#header .shopping_cart > a:first',function(e){e.preventDefault();e.stopPropagation();if(is_touch_enabled)
387{if($(this).next('.cart_block:visible').length&&!cart_block.isHoveringOver())
388$("#header .cart_block").stop(true,true).slideUp(450);else if(ajaxCart.nb_total_products>0||parseInt($('.ajax_cart_quantity').html())>0)
389$("#header .cart_block").stop(true,true).slideDown(450);return;}
390else
391window.location.href=$(this).attr('href');});$("#header .shopping_cart a:first").hover(function(){if(ajaxCart.nb_total_products>0||parseInt($('.ajax_cart_quantity').html())>0)
392$("#header .cart_block").stop(true,true).slideDown(450);},function(){setTimeout(function(){if(!shopping_cart.isHoveringOver()&&!cart_block.isHoveringOver())
393$("#header .cart_block").stop(true,true).slideUp(450);},200);});$("#header .cart_block").hover(function(){},function(){setTimeout(function(){if(!shopping_cart.isHoveringOver())
394$("#header .cart_block").stop(true,true).slideUp(450);},200);});$(document).on('click','.delete_voucher',function(e){e.preventDefault();$.ajax({type:'POST',headers:{"cache-control":"no-cache"},async:true,cache:false,url:$(this).attr('href')+'?rand='+new Date().getTime()});$(this).parent().parent().remove();ajaxCart.refresh();if($('body').attr('id')=='order'||$('body').attr('id')=='order-opc')
395{if(typeof(updateAddressSelection)!='undefined')
396updateAddressSelection();else
397location.reload();}});$(document).on('click','#cart_navigation input',function(e){$(this).prop('disabled','disabled').addClass('disabled');$(this).closest("form").get(0).submit();});$(document).on('click','#layer_cart .cross, #layer_cart .continue, .layer_cart_overlay',function(e){e.preventDefault();$('.layer_cart_overlay').hide();$('#layer_cart').fadeOut('fast');});
397$('#columns #layer_cart, #columns .layer_cart_overlay').detach().prependTo('#columns');});var ajaxCart={nb_total_products:0,overrideButtonsInThePage:function(){$(document).off('click','.ajax_add_to_cart_button').on('click','.ajax_add_to_cart_button',function(e){e.preventDefault();var idProduct=parseInt($(this).data('id-product'));var idProductAttribute=parseInt($(this).data('id-product-attribute'));var minimalQuantity=parseInt($(this).data('minimal_quantity'));if(!minimalQuantity)
398minimalQuantity=1;if($(this).prop('disabled')!='disabled')
399ajaxCart.add(idProduct,idProductAttribute,false,this,minimalQuantity);});if($('.cart_block').length){$(document).off('click','#add_to_cart button').on('click','#add_to_cart button',function(e){e.preventDefault();ajaxCart.add($('#product_page_product_id').val(),$('#idCombination').val(),true,null,$('#quantity_wanted').val(),null);});}
400$(document).off('click','.cart_block_list .ajax_cart_block_remove_link').on('click','.cart_block_list .ajax_cart_block_remove_link',function(e){e.preventDefault();var customizationId=0;var productId=0;var productAttributeId=0;var customizableProductDiv=$($(this).parent().parent()).find("div[data-id^=deleteCustomizableProduct_]");var idAddressDelivery=false;if(customizableProductDiv&&$(customizableProductDiv).length)
401{var ids=customizableProductDiv.data('id').split('_');if(typeof(ids[1])!='undefined')
402{customizationId=parseInt(ids[1]);productId=parseInt(ids[2]);if(typeof(ids[3])!='undefined')
403productAttributeId=parseInt(ids[3]);if(typeof(ids[4])!='undefined')
404idAddressDelivery=parseInt(ids[4]);}}
405if(!customizationId)
406{var firstCut=$(this).parent().parent().data('id').replace('cart_block_product_','');firstCut=firstCut.replace('deleteCustomizableProduct_','');ids=firstCut.split('_');productId=parseInt(ids[0]);if(typeof(ids[1])!='undefined')
407productAttributeId=parseInt(ids[1]);if(typeof(ids[2])!='undefined')
408idAddressDelivery=parseInt(ids[2]);}
409ajaxCart.remove(productId,productAttributeId,customizationId,idAddressDelivery);});},expand:function(){if($('.cart_block_list').hasClass('collapsed'))
410{$('.cart_block_list.collapsed').slideDown({duration:450,complete:function(){$(this).parent().show();$(this).addClass('expanded').removeClass('collapsed');}});$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:baseDir+'modules/blockcart/blockcart-set-collapse.php'+'?rand='+new Date().getTime(),async:true,cache:false,data:'ajax_blockcart_display=expand',complete:function(){$('.block_cart_expand').fadeOut('fast',function(){$('.block_cart_collapse').fadeIn('fast');});}});}},collapse:function(){if($('.cart_block_list').hasClass('expanded'))
411{$('.cart_block_list.expanded').slideUp('slow',function(){$(this).addClass('collapsed').removeClass('expanded');});$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:baseDir+'modules/blockcart/blockcart-set-collapse.php'+'?rand='+new Date().getTime(),async:true,cache:false,data:'ajax_blockcart_display=collapse'+'&rand='+new Date().getTime(),complete:function(){$('.block_cart_collapse').fadeOut('fast',function(){$('.block_cart_expand').fadeIn('fast');});}});}},refresh:function(){$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:(typeof(baseUri)!=='undefined')?baseUri+'?rand='+new Date().getTime():'',async:true,cache:false,dataType:"json",data:(typeof(static_token)!=='undefined')?'controller=cart&ajax=true&token='+static_token:'',success:function(jsonData)
412{ajaxCart.updateCart(jsonData);}});},updateCartInformation:function(jsonData,addedFromProductPage){ajaxCart.updateCart(jsonData);if(addedFromProductPage)
413{$('#add_to_cart button').removeProp('disabled').removeClass('disabled');if(!jsonData.hasError||jsonData.hasError==false)
414$('#add_to_cart button').addClass('added');else
415$('#add_to_cart button').removeClass('added');}
416else
417$('.ajax_add_to_cart_button').removeProp('disabled');},updateFancyBox:function(){},add:function(idProduct,idCombination,addedFromProductPage,callerElement,quantity,whishlist){if(addedFromProductPage&&!checkCustomizations())
418{if(contentOnly)
419{var productUrl=window.document.location.href+'';var data=productUrl.replace('content_only=1','');window.parent.document.location.href=data;return;}
420if(!!$.prototype.fancybox)
421$.fancybox.open([{type:'inline',autoScale:true,minHeight:30,content:'<p class="fancybox-error">'+fieldRequired+'</p>'}],{padding:0});else
422alert(fieldRequired);return;}
423if(addedFromProductPage)
424{$('#add_to_cart button').prop('disabled','disabled').addClass('disabled');$('.filled').removeClass('filled');}
425else
426$(callerElement).prop('disabled','disabled');
426if($('.cart_block_list').hasClass('collapsed'))
427this.expand();$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:baseUri+'?rand='+new Date().getTime(),async:true,cache:false,dataType:"json",data:'controller=cart&add=1&ajax=true&qty='+((quantity&&quantity!=null)?quantity:'1')+'&id_product='+idProduct+'&token='+static_token+((parseInt(idCombination)&&idCombination!=null)?'&ipa='+parseInt(idCombination):''+'&id_customization='+((typeof customizationId!=='undefined')?customizationId:0)),success:function(jsonData,textStatus,jqXHR)
428{if(whishlist&&!jsonData.errors)
429WishlistAddProductCart(whishlist[0],idProduct,idCombination,whishlist[1]);if(!jsonData.hasError)
430{if(contentOnly)
431window.parent.ajaxCart.updateCartInformation(jsonData,addedFromProductPage);else
432ajaxCart.updateCartInformation(jsonData,addedFromProductPage);if(jsonData.crossSelling)
433$('.crossseling').html(jsonData.crossSelling);if(idCombination)
434$(jsonData.products).each(function(){if(this.id!=undefined&&this.id==parseInt(idProduct)&&this.idCombination==parseInt(idCombination))
435if(contentOnly)
436window.parent.ajaxCart.updateLayer(this);else
437ajaxCart.updateLayer(this);});else
438$(jsonData.products).each(function(){if(this.id!=undefined&&this.id==parseInt(idProduct))
439if(contentOnly)
440window.parent.ajaxCart.updateLayer(this);else
441ajaxCart.updateLayer(this);});if(contentOnly)
442parent.$.fancybox.close();}
443else
444{if(contentOnly)
445window.parent.ajaxCart.updateCart(jsonData);else
446ajaxCart.updateCart(jsonData);if(addedFromProductPage)
447$('#add_to_cart button').removeProp('disabled').removeClass('disabled');else
448$(callerElement).removeProp('disabled');}
449emptyCustomizations();},error:function(XMLHttpRequest,textStatus,errorThrown)
450{var error="Impossible to add the product to the cart.<br/>textStatus: '"+textStatus+"'<br/>errorThrown: '"+errorThrown+"'<br/>responseText:<br/>"+XMLHttpRequest.responseText;if(!!$.prototype.fancybox)
451$.fancybox.open([{type:'inline',autoScale:true,minHeight:30,content:'<p class="fancybox-error">'+error+'</p>'}],{padding:0});else
452alert(error);if(addedFromProductPage)
453$('#add_to_cart button').removeProp('disabled').removeClass('disabled');else
454$(callerElement).removeProp('disabled');}});},remove:function(idProduct,idCombination,customizationId,idAddressDelivery){$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:baseUri+'?rand='+new Date().getTime(),async:true,cache:false,dataType:"json",data:'controller=cart&delete=1&id_product='+idProduct+'&ipa='+((idCombination!=null&&parseInt(idCombination))?idCombination:'')+((customizationId&&customizationId!=null)?'&id_customization='+customizationId:'')+'&id_address_delivery='+idAddressDelivery+'&token='+static_token+'&ajax=true',success:function(jsonData){ajaxCart.updateCart(jsonData);if($('body').attr('id')=='order'||$('body').attr('id')=='order-opc')
455deleteProductFromSummary(idProduct+'_'+idCombination+'_'+customizationId+'_'+idAddressDelivery);},error:function()
456{var error='ERROR: unable to delete the product';if(!!$.prototype.fancybox)
457{$.fancybox.open([{type:'inline',autoScale:true,minHeight:30,content:error}],{padding:0});}
458else
459alert(error);}});},hideOldProducts:function(jsonData){if($('.cart_block_list:first dl.products').length>0)
460{var removedProductId=null;var removedProductData=null;var removedProductDomId=null;$('.cart_block_list:first dl.products dt').each(function(){var domIdProduct=$(this).data('id');var firstCut=domIdProduct.replace('cart_block_product_','');var ids=firstCut.split('_');var stayInTheCart=false;for(aProduct in jsonData.products)
461{if(jsonData.products[aProduct]['id']==ids[0]&&(!ids[1]||jsonData.products[aProduct]['idCombination']==ids[1]))
462{stayInTheCart=true;ajaxCart.hideOldProductCustomizations(jsonData.products[aProduct],domIdProduct);}}
463if(!stayInTheCart)
464{removedProductId=$(this).data('id');if(removedProductId!=null)
465{var firstCut=removedProductId.replace('cart_block_product_','');var ids=firstCut.split('_');$('dt[data-id="'+removedProductId+'"]').addClass('strike').fadeTo('slow',0,function(){$(this).slideUp('slow',function(){$(this).remove();if($('.cart_block:first dl.products dt').length==0)
466{$('.ajax_cart_quantity').html('0');
466$("#header .cart_block").stop(true,true).slideUp(200);$('.cart_block_no_products:hidden').slideDown(450);$('.cart_block dl.products').remove();}});});$('dd[data-id="cart_block_combination_of_'+ids[0]+(ids[1]?'_'+ids[1]:'')+(ids[2]?'_'+ids[2]:'')+'"]').fadeTo('fast',0,function(){$(this).slideUp('fast',function(){$(this).remove();});});}}});}},hideOldProductCustomizations:function(product,domIdProduct){var customizationList=$('ul[data-id="customization_'+product['id']+'_'+product['idCombination']+'"]');if(customizationList.length>0)
467{$(customizationList).find("li").each(function(){$(this).find("div").each(function(){var customizationDiv=$(this).data('id');var tmp=customizationDiv.replace('deleteCustomizableProduct_','');var ids=tmp.split('_');if((parseInt(product.idCombination)==parseInt(ids[2]))&&!ajaxCart.doesCustomizationStillExist(product,ids[0]))
468$('div[data-id="'+customizationDiv+'"]').parent().addClass('strike').fadeTo('slow',0,function(){$(this).slideUp('slow');$(this).remove();});});});}
469var removeLinks=$('.deleteCustomizableProduct[data-id="'+domIdProduct+'"]').find('.ajax_cart_block_remove_link');if(!product.hasCustomizedDatas&&!removeLinks.length)
470$('div[data-id="'+domIdProduct+'"]'+' span.remove_link').html('<a class="ajax_cart_block_remove_link" rel="nofollow" href="'+baseUri+'?controller=cart&amp;delete=1&amp;id_product='+product['id']+'&amp;ipa='+product['idCombination']+'&amp;token='+static_token+'"> </a>');if(product.is_gift)
471$('div[data-id="'+domIdProduct+'"]'+' span.remove_link').html('');},doesCustomizationStillExist:function(product,customizationId){var exists=false;$(product.customizedDatas).each(function(){if(this.customizationId==customizationId)
472{exists=true;return false;}});return(exists);},refreshVouchers:function(jsonData){if(typeof(jsonData.discounts)=='undefined'||jsonData.discounts.length==0)
473$('.vouchers').hide();else
474{$('.vouchers tbody').html('');for(i=0;i<jsonData.discounts.length;i++)
475{if(parseFloat(jsonData.discounts[i].price_float)>0)
476{var delete_link='';if(jsonData.discounts[i].code.length)
477delete_link='<a class="delete_voucher" href="'+jsonData.discounts[i].link+'" title="'+delete_txt+'"><i class="fa fa-trash-o"></i></a>';$('.vouchers tbody').append($('<tr class="bloc_cart_voucher" data-id="bloc_cart_voucher_'+jsonData.discounts[i].id+'">'
478+' <td class="quantity">1x</td>'
479+' <td class="name" title="'+jsonData.discounts[i].description+'">'+jsonData.discounts[i].name+'</td>'
480+' <td class="price">-'+jsonData.discounts[i].price+'</td>'
481+' <td class="delete">'+delete_link+'</td>'
482+'</tr>'));}}
483$('.vouchers').show();}},updateProductQuantity:function(product,quantity){$('dt[data-id=cart_block_product_'+product.id+'_'+(product.idCombination?product.idCombination:'0')+'_'+(product.idAddressDelivery?product.idAddressDelivery:'0')+'] .quantity').fadeTo('fast',0,function(){$(this).text(quantity);$(this).fadeTo('fast',1,function(){$(this).fadeTo('fast',0,function(){$(this).fadeTo('fast',1,function(){$(this).fadeTo('fast',0,function(){$(this).fadeTo('fast',1);});});});});});},displayNewProducts:function(jsonData){$(jsonData.products).each(function(){if(this.id!=undefined)
484{if($('.cart_block:first dl.products').length==0)
485{$('.cart_block_no_products').before('<dl class="products"></dl>');$('.cart_block_no_products').hide();}
486var domIdProduct=this.id+'_'+(this.idCombination?this.idCombination:'0')+'_'+(this.idAddressDelivery?this.idAddressDelivery:'0');var domIdProductAttribute=this.id+'_'+(this.idCombination?this.idCombination:'0');if($('dt[data-id="cart_block_product_'+domIdProduct+'"]').length==0)
487{var productId=parseInt(this.id);var productAttributeId=(this.hasAttributes?parseInt(this.attributes):0);var content='<dt class="unvisible" data-id="cart_block_product_'+domIdProduct+'">';var name=$.trim($('<span />').html(this.name).text());name=(name.length>12?name.substring(0,10)+'...':name);content+='<a class="cart-images" href="'+this.link+'" title="'+name+'"><img  src="'+this.image_cart+'" alt="'+this.name+'"></a>';content+='<div class="cart-info"><div class="product-name">'+'<span class="quantity-formated"><span class="quantity">'+this.quantity+'</span>&nbsp;x&nbsp;</span><a href="'+this.link+'" title="'+this.name+'" class="cart_block_product_name">'+name+'</a></div>';if(this.hasAttributes)
488content+='<div class="product-atributes"><a href="'+this.link+'" title="'+this.name+'">'+this.attributes+'</a></div>';if(typeof(freeProductTranslation)!='undefined')
489content+='<span class="price">'+(parseFloat(this.price_float)>
4890?this.priceByLine:freeProductTranslation)+'</span></div>';if(typeof(this.is_gift)=='undefined'||this.is_gift==0)
490content+='<span class="remove_link"><a rel="nofollow" class="ajax_cart_block_remove_link" href="'+baseUri+'?controller=cart&amp;delete=1&amp;id_product='+productId+'&amp;token='+static_token+(this.hasAttributes?'&amp;ipa='+parseInt(this.idCombination):'')+'"> <i class="fa fa-trash-o"></i></a></span>';else
491content+='<span class="remove_link"></span>';content+='</dt>';if(this.hasAttributes)
492content+='<dd data-id="cart_block_combination_of_'+domIdProduct+'" class="unvisible">';if(this.hasCustomizedDatas)
493content+=ajaxCart.displayNewCustomizedDatas(this);if(this.hasAttributes)content+='</dd>';$('.cart_block dl.products').append(content);}
494else
495{var jsonProduct=this;if($.trim($('dt[data-id="cart_block_product_'+domIdProduct+'"] .quantity').html())!=jsonProduct.quantity||$.trim($('dt[data-id="cart_block_product_'+domIdProduct+'"] .price').html())!=jsonProduct.priceByLine)
496{if(!this.is_gift)
497$('dt[data-id="cart_block_product_'+domIdProduct+'"] .price').text(jsonProduct.priceByLine);else
498$('dt[data-id="cart_block_product_'+domIdProduct+'"] .price').html(freeProductTranslation);ajaxCart.updateProductQuantity(jsonProduct,jsonProduct.quantity);if(jsonProduct.hasCustomizedDatas)
499{customizationFormatedDatas=ajaxCart.displayNewCustomizedDatas(jsonProduct);if(!$('ul[data-id="customization_'+domIdProductAttribute+'"]').length)
500{if(jsonProduct.hasAttributes)
501$('dd[data-id="cart_block_combination_of_'+domIdProduct+'"]').append(customizationFormatedDatas);else
502$('.cart_block dl.products').append(customizationFormatedDatas);}
503else
504{$('ul[data-id="customization_'+domIdProductAttribute+'"]').html('');$('ul[data-id="customization_'+domIdProductAttribute+'"]').append(customizationFormatedDatas);}}}}
505$('.cart_block dl.products .unvisible').slideDown(450).removeClass('unvisible');var removeLinks=$('dt[data-id="cart_block_product_'+domIdProduct+'"]').find('a.ajax_cart_block_remove_link');if(this.hasCustomizedDatas&&removeLinks.length)
506$(removeLinks).each(function(){$(this).remove();});}});},displayNewCustomizedDatas:function(product){var content='';var productId=parseInt(product.id);var productAttributeId=typeof(product.idCombination)=='undefined'?0:p
506arseInt(product.idCombination);var hasAlreadyCustomizations=$('ul[data-id="customization_'+productId+'_'+productAttributeId+'"]').length;if(!hasAlreadyCustomizations)
507{if(!product.hasAttributes)
508content+='<dd data-id="cart_block_combination_of_'+productId+'" class="unvisible">';if($('ul[data-id="customization_'+productId+'_'+productAttributeId+'"]').val()==undefined)
509content+='<ul class="cart_block_customizations" data-id="customization_'+productId+'_'+productAttributeId+'">';}
510$(product.customizedDatas).each(function(){var done=0;customizationId=parseInt(this.customizationId);productAttributeId=typeof(product.idCombination)=='undefined'?0:parseInt(product.idCombination);content+='<li name="customization"><div class="deleteCustomizableProduct" data-id="deleteCustomizableProduct_'+customizationId+'_'+productId+'_'+(productAttributeId?productAttributeId:'0')+'"><a rel="nofollow" class="ajax_cart_block_remove_link" href="'+baseUri+'?controller=cart&amp;delete=1&amp;id_product='+productId+'&amp;ipa='+productAttributeId+'&amp;id_customization='+customizationId+'&amp;token='+static_token+'"> <i class="fa fa-trash-o"></i></a></div>';$(this.datas).each(function(){if(this['type']==CUSTOMIZE_TEXTFIELD)
511{$(this.datas).each(function(){if(this['index']==0)
512{content+=' '+this.truncatedValue.replace(/<br \/>/g,' ');done=1;return false;}})}});if(!done)
513content+=customizationIdMessage+customizationId;if(!hasAlreadyCustomizations)content+='</li>';if(customizationId)
514{$('#uploadable_files li div.customizationUploadBrowse img').remove();$('#text_fields input').attr('value','');}});if(!hasAlreadyCustomizations)
515{content+='</ul>';if(!product.hasAttributes)content+='</dd>';}
516return(content);},updateLayer:function(product){$('#layer_cart_product_title').text(product.name);$('#layer_cart_product_attributes').text('');if(product.hasAttributes&&product.hasAttributes==true)
517$('#layer_cart_product_attributes').html(product.attributes);$('#layer_cart_product_price').text(product.price);$('#layer_cart_product_quantity').text(product.quantity);$('.layer_cart_img').html('<img class="layer_cart_img img-responsive" src="'+product.image+'" alt="'+product.name+'" title="'+product.name+'" />');var n=parseInt($(window).scrollTop())+'px';$('.layer_cart_overlay').css('width','100%');$('.layer_cart_overlay').css('height','100%');$('.layer_cart_overlay').show();if($('body').hasClass("keep-header")&&$(window).width()>990)
518$('#layer_cart').css({'top':'120px'}).fadeIn('fast');else
519$('#layer_cart').css({'top':n}).fadeIn('fast');crossselling_serialScroll();},updateCart:function(jsonData){if(jsonData.hasError)
520{var errors='';for(error in jsonData.errors)
521if(error!='indexOf')
522errors+=$('<div />').html(jsonData.errors[error]).text()+"\n";if(!!$.prototype.fancybox)
523$.fancybox.open([{type:'inline',autoScale:true,minHeight:30,content:'<p class="fancybox-error">'+errors+'</p>'}],{padding:0});else
524alert(errors);}
525else
526{ajaxCart.updateCartEverywhere(jsonData);ajaxCart.hideOldProducts(jsonData);ajaxCart.displayNewProducts(jsonData);ajaxCart.refreshVouchers(jsonData);$('.cart_block .products dt').removeClass('first_item').removeClass('last_item').removeClass('item');$('.cart_block .products dt:first').addClass('first_item');$('.cart_block .products dt:not(:first,:last)').addClass('item');$('.cart_block .products dt:last').addClass('last_item');}},updateCartEverywhere:function(jsonData){$('.ajax_cart_total').text($.trim(jsonData.productTotal));if(typeof hasDeliveryAddress=='undefined')
527hasDeliveryAddress=false;if(parseFloat(jsonData.shippingCostFloat)>0)
528$('.ajax_cart_shipping_cost').text(jsonData.shippingCost).parent().find('.unvisible').show();else if((hasDeliveryAddress||typeof(orderProcess)!=='undefined'&&orderProcess=='order-opc')&&typeof(freeShippingTranslation)!='undefined')
529$('.ajax_cart_shipping_cost').html(freeShippingTranslation);else if((typeof toBeDetermined!=='undefined')&&!hasDeliveryAddress)
530$('.ajax_cart_shipping_cost').html(toBeDetermined);if(!jsonData.shippingCostFloat&&!jsonData.free_ship)
531$('.ajax_cart_shipping_cost').parent().find('.unvisible').hide();else if(hasDeliveryAddress&&!jsonData.isVirtualCart)
532$('.ajax_cart_shipping_cost').parent().find('.unvisible').show();$('.ajax_cart_tax_cost').text(jsonData.taxCost);$('.cart_block_wrapping_cost').text(jsonData.wrappingCost);$('.ajax_block_cart_total').text(jsonData.total);$('.ajax_block_products_total').text(jsonData.productTotal);$('.ajax_total_price_wt').text(jsonData.total_price_wt);if(parseFloat(jsonData.freeShippingFloat)>0)
533{$('.ajax_cart_free_shipping').html(jsonData.freeShipping);$('.freeshipping').fadeIn(0);}
534else if(parseFloat(jsonData.freeShippingFloat)==0)
535$('.freeshipping').fadeOut(0);this.nb_total_products=jsonData.nbTotalProducts;if(parseInt(jsonData.nbTotalProducts)>0)
536{$('.ajax_cart_no_product').hide();$('.ajax_cart_quantity').text(jsonData.nbTotalProducts);$('.ajax_cart_quantity').fadeIn('slow');$('.ajax_cart_total').fadeIn('slow');if(parseInt(jsonData.nbTotalProducts)>1)
537{$('.ajax_cart_product_txt').each(function(){$(this).hide();});$('.ajax_cart_product_txt_s').each(function(){$(this).show();});}
538else
539{$('.ajax_cart_product_txt').each(function(){$(this).show();});$('.ajax_cart_product_txt_s').each(function(){$(this).hide();});}}
540else
541{$('.ajax_cart_quantity, .ajax_cart_product_txt_s, .ajax_cart_product_txt, .ajax_cart_total').each(function(){$(this).hide();});$('.ajax_cart_no_product').show('slow');}}};function HoverWatcher(selector)
542{this.hovering=false;var self=this;this.isHoveringOver=function(){return self.hovering;}
543$(selector).hover(function(){self.hovering=true;},function(){self.hovering=false;})}
544function crossselling_serialScroll()
545{if(!!$.prototype.bxSlider)
546$('#blockcart_caroucel').bxSlider({minSlides:2,maxSlides:4,slideWidth:178,slideMargin:20,moveSlides:1,infiniteLoop:false,hideControlOnEnd:true,pager:false});};;(function(k){'use strict';k(['jquery'],function($){var j=$.scrollTo=function(a,b,c){return $(window).scrollTo(a,b,c)};j.defaults={axis:'xy',duration:0,limit:!0};j.window=function(a){return $(window)._scrollable()};$.fn._scrollable=function(){return this.map(function(){var a=this,isWin=!a.nodeName||$.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!isWin)return a;var b=(a.contentWindow||a).document||a.ownerDocument||a;return/webkit/i.test(navigator.userAgent)||b.compatMode=='BackCompat'?b.body:b.documentElement})};$.fn.scrollTo=function(f,g,h){if(typeof g=='object'){h=g;g=0}if(typeof h=='function')h={onAfter:h};if(f=='max')f=9e9;h=$.extend({},j.defaults,h);g=g||h.duration;h.queue=h.queue&&h.axis.length>1;if(h.queue)g/=2;h.offset=both(h.offset);h.over=both(h.over);return this._scrollable().each(function(){if(f==null)return;var d=this,$elem=$(d),targ=f,toff,attr={},win=$elem.is('html,body');switch(typeof targ){case'number':case'string':if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(targ)){targ=both(targ);break}targ=win?$(targ):$(targ,this);if(!targ.length)return;case'object':if(targ.is||targ.style)toff=(targ=$(targ)).offset()}
546var e=$.isFunction(h.offset)&&h.offset(d,targ)||h.offset;$.each(h.axis.split(''),function(i,a){var b=a=='x'?'Left':'Top',pos=b.toLowerCase(),key='scroll'+b,old=d[key],max=j.max(d,a);if(toff){attr[key]=toff[pos]+(win?0:old-$elem.offset()[pos]);if(h.margin){attr[key]-=parseInt(targ.css('margin'+b))||0;attr[key]-=parseInt(targ.css('border'+b+'Width'))||0}attr[key]+=e[pos]||0;if(h.over[pos])attr[key]+=targ[a=='x'?'width':'height']()*h.over[pos]}else{var c=targ[pos];attr[key]=c.slice&&c.slice(-1)=='%'?parseFloat(c)/100*max:c}if(h.limit&&/^\d+$/.test(attr[key]))attr[key]=attr[key]<=0?0:Math.min(attr[key],max);if(!i&&h.queue){if(old!=attr[key])animate(h.onAfterFirst);delete attr[key]}});animate(h.onAfter);function animate(a){$elem.animate(attr,g,h.easing,a&&function(){a.call(this,targ,h)})}}).end()};j.max=function(a,b){var c=b=='x'?'Width':'Height',scroll='scroll'+c;if(!$(a).is('html,body'))return a[scroll]-$(a)[c.toLowerCase()]();var d='client'+c,html=a.ownerDocument.documentElement,body=a.ownerDocument.body;return Math.max(html[scroll],body[scroll])-Math.min(html[d],body[d])};function both(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}return j})}(typeof define==='function'&&define.amd?define:function(a,b){if(typeof module!=='undefined'&&module.exports){module.exports=b(require('jquery'))}else{b(jQuery)}}));;(function(a){var b=a.serialScroll=function(c){return a(window).serialScroll(c)};
546b.defaults={duration:1e3,axis:"x",event:"click",start:0,step:1,lock:!0,cycle:!0,constant:!0};a.fn.serialScroll=function(c){return this.each(function(){var t=a.extend({},b.defaults,c),s=t.event,i=t.step,r=t.lazy,e=t.target?this:document,u=a(t.target||this,e),p=u[0],m=t.items,h=t.start,g=t.interval,k=t.navigation,l;if(!r){m=d()}if(t.force){f({},h)}a(t.prev||[],e).bind(s,-i,q);a(t.next||[],e).bind(s,i,q);if(!p.ssbound){u.bind("prev.serialScroll",-i,q).bind("next.serialScroll",i,q).bind("goto.serialScroll",f)}if(g){u.bind("start.serialScroll",function(v){if(!g){o();g=!0;n()}}).bind("stop.serialScroll",function(){o();g=!1})}u.bind("notify.serialScroll",function(x,w){var v=j(w);if(v>-1){h=v}});p.ssbound=!0;if(t.jump){(r?u:d()).bind(s,function(v){f(v,j(v.target))})}if(k){k=a(k,e).bind(s,function(v){v.data=Math.round(d().length/k.length)*k.index(this);f(v,this)})}function q(v){v.data+=h;f(v,this)}function f(B,z){if(!isNaN(z)){B.data=z;z=p}var C=B.data,v,D=B.type,A=t.exclude?d().slice(0,-t.exclude):d(),y=A.length,w=A[C],x=t.duration;if(D){B.preventDefault()}if(g){o();l=setTimeout(n,t.interval)}if(!w){v=C<0?0:y-1;if(h!=v){C=v}else{if(!t.cycle){return}else{C=y-v-1}}w=A[C]}if(!w||t.lock&&u.is(":animated")||D&&t.onBefore&&t.onBefore(B,w,u,d(),C)===!1){return}if(t.stop){u.queue("fx",[]).stop()}if(t.constant){x=Math.abs(x/i*(h-C))}u.scrollTo(w,x,t).trigger("notify.serialScroll",[C])}function n(){u.trigger("next.serialScroll")}function o(){clearTimeout(l)}function d(){return a(m,p)}function j(w){if(!isNaN(w)){return w}var x=d(),v;while((v=x.index(w))==-1&&w!=p){w=w.parentNode}return v}})}})(jQuery);;!function(t){var e={},s={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},onSliderResize:function(){}};t.fn.bxSlider=function(n){if(0==this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(n)}),this;var o={},r=this;e.el=this;var a=t(window).width(),l=t(window).height(),d=function(){o.settings=t.extend({},s,n),o.settings.slideWidth=parseInt(o.settings.slideWidth),o.children=r.children(o.settings.slideSelector),o.children.length<o.settings.minSlides&&(o.settings.minSlides=o.children.length),o.children.length<o.settings.maxSlides&&(o.settings.maxSlides=o.children.length),o.settings.randomStart&&(o.settings.startSlide=Math.floor(Math.random()*o.children.length)),o.active={index:o.settings.startSlide},o.carousel=o.settings.minSlides>1||o.settings.maxSlides>1,o.carousel&&(o.settings.preloadImages="all"),o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.interval=null,o.animProp="vertical"==o.settings.mode?"top":"left",o.usingCSS=o.settings.useCSS&&"fade"!=o.settings.mode&&function(){var t=document.createElement("div"),e=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return o.cssPrefix=e[i].replace("Perspective","").toLowerCase(),o.animProp="-"+o.cssPrefix+"-transform",!0;return!1}(),"vertical"==o.settings.mode&&(o.settings.maxSlides=o.settings.minSlides),r.data("origStyle",r.attr("style")),r.children(o.settings.slideSelector).each(function(){t(this).data("origStyle",t(this).attr("style"))}),c()},c=function(){r.wrap('<div class="bx-wrapper"><div class="bx-viewport"></div></div>'),o.viewport=r.parent(),o.loader=t('<div class="bx-loading" />'),o.viewport.prepend(o.loader),r.css({width:"horizontal"==o.settings.mode?100*o.children.length+215+"%":"auto",position:"relative"}),o.usingCSS&&o.settings.easing?r.css("-"+o.cssPrefix+"-transition-timing-function",o.settings.easing):o.settings.easing||(o.settings.easing="swing"),f(),o.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),o.viewport.parent().css({maxWidth:p()}),o.settings.pager||o.viewport.parent().css({margin:"0 auto 0px"}
546),o.children.css({"float":"horizontal"==o.settings.mode?"left":"none",listStyle:"none",position:"relative"}),o.children.css("width",u()),"horizontal"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginRight",o.settings.slideMargin),"vertical"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginBottom",o.settings.slideMargin),"fade"==o.settings.mode&&(o.children.css({position:"absolute",zIndex:0,display:"none"}),o.children.eq(o.settings.startSlide).css({zIndex:o.settings.slideZIndex,display:"block"})),o.controls.el=t('<div class="bx-controls" />'),o.settings.captions&&P(),o.active.last=o.settings.startSlide==x()-1,o.settings.video&&r.fitVids();var e=o.children.eq(o.settings.startSlide);"all"==o.settings.preloadImages&&(e=o.children),o.settings.ticker?o.settings.pager=!1:(o.settings.pager&&T(),o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&E(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),g(e,h)},g=function(e,i){var s=e.find("img, iframe").length;if(0==s)return i(),void 0;var n=0;e.find("img, iframe").each(function(){t(this).one("load",function(){++n==s&&i()}).each(function(){this.complete&&t(this).load()})})},h=function(){if(o.settings.infiniteLoop&&"fade"!=o.settings.mode&&!o.settings.ticker){var e="vertical"==o.settings.mode?o.settings.minSlides:o.settings.maxSlides,i=o.children.slice(0,e).clone().addClass("bx-clone"),s=o.children.slice(-e).clone().addClass("bx-clone");r.append(i).prepend(s)}o.loader.remove(),S(),"vertical"==o.settings.mode&&(o.settings.adaptiveHeight=!0),o.viewport.height(v()),r.redrawSlider(),o.settings.onSliderLoad(o.active.index),o.initialized=!0,o.settings.responsive&&t(window).bind("resize",Z),o.settings.auto&&o.settings.autoStart&&H(),o.settings.ticker&&L(),o.settings.pager&&q(o.settings.startSlide),o.settings.controls&&W(),o.settings.touchEnabled&&!o.settings.ticker&&O()},v=function(){var e=0,s=t();if("vertical"==o.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var n=1==o.settings.moveSlides?o.active.index:o.active.index*m();for(s=o.children.eq(n),i=1;i<=o.settings.maxSlides-1;i++)s=n+i>=o.children.length?s.add(o.children.eq(i-1)):s.add(o.children.eq(n+i))}else s=o.children.eq(o.active.index);else s=o.children;return"vertical"==o.settings.mode?(s.each(function(){e+=t(this).outerHeight()}),o.settings.slideMargin>0&&(e+=o.settings.slideMargin*(o.settings.minSlides-1))):e=Math.max.apply(Math,s.map(function(){return t(this).outerHeight(!1)}).get()),e},p=function(){var t="100%";return o.settings.slideWidth>0&&(t="horizontal"==o.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),t},u=function(){var t=o.settings.slideWidth,e=o.viewport.width();return 0==o.settings.slideWidth||o.settings.slideWidth>e&&!o.carousel||"vertical"==o.settings.mode?t=e:o.settings.maxSlides>1&&"horizontal"==o.settings.mode&&(e>o.maxThreshold||e<o.minThreshold&&(t=(e-o.settings.slideMargin*(o.settings.minSlides-1))/o.settings.minSlides)),t},f=function(){var t=1;if("horizontal"==o.settings.mode&&o.settings.slideWidth>0)if(o.viewport.width()<o.minThreshold)t=o.settings.minSlides;else if(o.viewport.width()>o.maxThreshold)t=o.settings.maxSlides;else{var e=o.children.first().width();t=Math.floor(o.viewport.width()/e)}else"vertical"==o.settings.mode&&(t=o.settings.minSlides);return t},x=function(){var t=0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)t=o.children.length/m();else for(var e=0,i=0;e<o.children.length;)++t,e=i+f(),i+=o.settings.moveSlides<=f()?o.settings.moveSlides:f();else t=Math.ceil(o.children.length/f());return t},m=function(){return o.settings.moveSlides>0&&o.settings.moveSlides<=f()?o.settings.moveSlides:f()},S=function(){if(o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop){if("horizontal"==o.settings.mode){var t=o.children.last(),e=t.position();b(-(e.left-(o.viewport.width()-t.width())),"reset",0)}else if("vertical"==o.settings.mode){var i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position();b(-e.top,"reset",0)}}else{var e=o.children.eq(o.active.index*m()).position();o.active.index==x()-1&&(o.active.last=!0),void 0!=e&&("horizontal"==o.settings.mode?b(-e.left,"reset",0):"vertical"==o.settings.mode&&b(-e.top,"reset",0))}}
546,b=function(t,e,i,s){if(o.usingCSS){var n="vertical"==o.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)";r.css("-"+o.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"==e?(r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),D()})):"reset"==e?r.css(o.animProp,n):"ticker"==e&&(r.css("-"+o.cssPrefix+"-transition-timing-function","linear"),r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),b(s.resetValue,"reset",0),N()}))}else{var a={};a[o.animProp]=t,"slide"==e?r.animate(a,i,o.settings.easing,function(){D()}):"reset"==e?r.css(o.animProp,t):"ticker"==e&&r.animate(a,speed,"linear",function(){b(s.resetValue,"reset",0),N()})}},w=function(){for(var e="",i=x(),s=0;i>s;s++){var n="";o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(n=o.settings.buildPager(s),o.pagerEl.addClass("bx-custom-pager")):(n=s+1,o.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+s+'" class="bx-pager-link">'+n+"</a></div>"}o.pagerEl.html(e)},T=function(){o.settings.pagerCustom?o.pagerEl=t(o.settings.pagerCustom):(o.pagerEl=t('<div class="bx-pager" />'),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass("bx-has-pager").append(o.pagerEl),w()),o.pagerEl.on("click","a",I)},C=function(){o.controls.next=t('<a class="bx-next" href="">'+o.settings.nextText+"</a>"),o.controls.prev=t('<a class="bx-prev" href="">'+o.settings.prevText+"</a>"),o.controls.next.bind("click",y),o.controls.prev.bind("click",z),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=t('<div class="bx-controls-direction" />'),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass("bx-has-controls-direction").append(o.controls.directionEl))},E=function(){o.controls.start=t('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+o.settings.startText+"</a></div>"),o.controls.stop=t('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+o.settings.stopText+"</a></div>"),o.controls.autoEl=t('<div class="bx-controls-auto" />'),o.controls.autoEl.on("click",".bx-start",k),o.controls.autoEl.on("click",".bx-stop",M),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass("bx-has-controls-auto").append(o.controls.autoEl),A(o.settings.autoStart?"stop":"start")},P=function(){o.children.each(function(){var e=t(this).find("img:first").attr("title");void 0!=e&&(""+e).length&&t(this).append('<div class="bx-caption"><span>'+e+"</span></div>")})},y=function(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},z=function(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},k=function(t){r.startAuto(),t.preventDefault()},M=function(t){r.stopAuto(),t.preventDefault()},I=function(e){o.settings.auto&&r.stopAuto();var i=t(e.currentTarget),s=parseInt(i.attr("data-slide-index"));s!=o.active.index&&r.goToSlide(s),e.preventDefault()},q=function(e){var i=o.children.length;return"short"==o.settings.pagerType?(o.settings.maxSlides>1&&(i=Math.ceil(o.children.length/o.settings.maxSlides)),o.pagerEl.html(e+1+o.settings.pagerShortSeparator+i),void 0):(o.pagerEl.find("a").removeClass("active"),o.pagerEl.each(function(i,s){t(s).find("a").eq(e).addClass("active")}),void 0)},D=function(){if(o.settings.infiniteLoop){var t="";0==o.active.index?t=o.children.eq(0).position():o.active.index==x()-1&&o.carousel?t=o.children.eq((x()-1)*m()).position():o.active.index==o.children.length-1&&(t=o.children.eq(o.children.length-1).position()),t&&("horizontal"==o.settings.mode?b(-t.left,"reset",0):"vertical"==o.settings.mode&&b(-t.top,"reset",0))}o.working=!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},A=function(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[t]):(o.controls.autoEl.find("a").removeClass("active"),o.controls.autoEl.find("a:not(.bx-"+t+")").addClass("active"))},W=function(){1==x()?(o.controls.prev.addClass("disabled"),o.controls.next.addClass("disabled")):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0==o.active.index?(o.controls.prev.addClass("disabled"),o.controls.next.removeClass("disabled")):o.active.index==x()-1?(o.controls.next.addClass("disabled"),o.controls.prev.removeClass("disabled")):(o.controls.prev.removeClass("disabled"),o.controls.next.removeClass("disabled")))},H=function(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPaused=null)})},L=function(){var e=0;if("next"==o.settings.autoDirection)r.append(o.children.clone().addClass("bx-clone"));else{r.prepend(o.children.clone().addClass("bx-clone"));var i=o.children.first().position();e="horizontal"==o.settings.mode?-i.left:-i.top}b(e,"reset",0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e=0;o.children.each(function(){e+="horizontal"==o.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});
546var i=o.settings.speed/e,s="horizontal"==o.settings.mode?"left":"top",n=i*(e-Math.abs(parseInt(r.css(s))));N(n)}),N()},N=function(t){speed=t?t:o.settings.speed;var e={left:0,top:0},i={left:0,top:0};"next"==o.settings.autoDirection?e=r.find(".bx-clone").first().position():i=o.children.first().position();var s="horizontal"==o.settings.mode?-e.left:-e.top,n="horizontal"==o.settings.mode?-i.left:-i.top,a={resetValue:n};b(s,"ticker",speed,a)},O=function(){o.touch={start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind("touchstart",X)},X=function(t){if(o.working)t.preventDefault();else{o.touch.originalPos=r.position();var e=t.originalEvent;o.touch.start.x=e.changedTouches[0].pageX,o.touch.start.y=e.changedTouches[0].pageY,o.viewport.bind("touchmove",Y),o.viewport.bind("touchend",V)}},Y=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-o.touch.start.x),s=Math.abs(e.changedTouches[0].pageY-o.touch.start.y);if(3*i>s&&o.settings.preventDefaultSwipeX?t.preventDefault():3*s>i&&o.settings.preventDefaultSwipeY&&t.preventDefault(),"fade"!=o.settings.mode&&o.settings.oneToOneTouch){var n=0;if("horizontal"==o.settings.mode){var r=e.changedTouches[0].pageX-o.touch.start.x;n=o.touch.originalPos.left+r}else{var r=e.changedTouches[0].pageY-o.touch.start.y;n=o.touch.originalPos.top+r}b(n,"reset",0)}},V=function(t){o.viewport.unbind("touchmove",Y);var e=t.originalEvent,i=0;if(o.touch.end.x=e.changedTouches[0].pageX,o.touch.end.y=e.changedTouches[0].pageY,"fade"==o.settings.mode){var s=Math.abs(o.touch.start.x-o.touch.end.x);s>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var s=0;"horizontal"==o.settings.mode?(s=o.touch.end.x-o.touch.start.x,i=o.touch.originalPos.left):(s=o.touch.end.y-o.touch.start.y,i=o.touch.originalPos.top),!o.settings.infiniteLoop&&(0==o.active.index&&s>0||o.active.last&&0>s)?b(i,"reset",200):Math.abs(s)>=o.settings.swipeThreshold?(0>s?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,"reset",200)}o.viewport.unbind("touchend",V)},Z=function(){var e=t(window).width(),i=t(window).height();(a!=e||l!=i)&&(a=e,l=i,r.redrawSlider(),o.settings.onSliderResize.call(r,o.active.index))};return r.goToSlide=function(e,i){if(!o.working&&o.active.index!=e)if(o.working=!0,o.oldIndex=o.active.index,o.active.index=0>e?x()-1:e>=x()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),"next"==i?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):"prev"==i&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.last=o.active.index>=x()-1,o.settings.pager&&q(o.active.index),o.settings.controls&&W(),"fade"==o.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed),o.children.filter(":visible").fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css("zIndex",o.settings.slideZIndex+1).fadeIn(o.settings.speed,function(){t(this).css("zIndex",o.settings.slideZIndex),D()});else{o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed);var s=0,n={left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if("horizontal"==o.settings.mode){var a=o.children.eq(o.children.length-1);n=a.position(),s=o.viewport.width()-a.outerWidth()}else{var l=o.children.length-o.settings.minSlides;n=o.children.eq(l).position()}else if(o.carousel&&o.active.last&&"prev"==i){var d=1==o.settings.moveSlides?o.settings.maxSlides-m():(x()-1)*m()-(o.children.length-o.settings.maxSlides),a=r.children(".bx-clone").eq(d);n=a.position()}else if("next"==i&&0==o.active.index)n=r.find("> .bx-clone").eq(o.settings.maxSlides).position(),o.active.last=!1;else if(e>=0){var c=e*m();n=o.children.eq(c).position()}if("undefined"!=typeof n){var g="horizontal"==o.settings.mode?-(n.left-s):-n.top;b(g,"slide",o.settings.speed)}}},r.goToNextSlide=function(){if(o.settings.infiniteLoop||!o.active.last){var t=parseInt(o.active.index)+1;r.goToSlide(t,"next")}},r.goToPrevSlide=function(){if(o.settings.infiniteLoop||0!=o.active.index){var t=parseInt(o.active.index)-1;r.goToSlide(t,"prev")}},r.startAuto=function(t){o.interval||(o.interval=setInterval(function(){"next"==o.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&1!=t&&A("stop"))},r.stopAuto=function(t){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&1!=t&&A("start"))},r.getCurrentSlide=function(){return o.active.index},r.getCurrentSlideElement=function(){return o.children.eq(o.active.index)},r.getSlideCount=function(){return o.children.length},r.redrawSlider=function(){o.children.add(r.find(".bx-clone")).outerWidth(u()),o.viewport.css("height",v()),o.settings.ticker||S(),o.active.last&&(o.active.index=x()-1),o.active.index>=x()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(w(),q(o.active.index))},r.destroySlider=function(){o.initialized&&(o.initialized=!1,t(".bx-clone",this).remove(),o.children.each(function(){void 0!=t(this).data("origStyle")?t(this).attr("style",t(this).data("origStyle")):t(this).removeAttr("style")}),void 0!=t(this).data("origStyle")?this.attr("style",t(this).data("origStyle")):t(this).removeAttr("style"),t(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.settings.controls&&o.pagerEl.remove(),t(".bx-caption",this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&t(window).unbind("resize",Z))},r.reloadSlider=function(t){void 0!=t&&(n=t),r.destroySlider(),d()},d(),this}}(jQuery);;$(document).ready(function(){$('ul.tree.dhtml').hide();if(!$('ul.tree.dhtml').hasClass('dynamized'))
547{$('ul.tree.dhtml ul').prev().before("<span class='grower OPEN'> </span>");$('ul.tree.dhtml ul li:last-child, ul.tree.dhtml li:last-child').addClass('last');$('ul.tree.dhtml span.grower.OPEN').addClass('CLOSE').removeClass('OPEN').parent().find('ul:first').hide();$('ul.tree.dhtml').show();$('ul.tree.dhtml .selected').parents().each(function(){if($(this).is('ul'))
548toggleBranch($(this).prev().prev(),true);});toggleBranch($('ul.tree.dhtml .selected').prev(),true);$('ul.tree.dhtml span.grower').click(function(){toggleBranch($(this));});$('ul.tree.dhtml').addClass('dynamized');$('ul.tree.dhtml').removeClass('dhtml');$('ul.tree.dynamized').removeClass('tree');}});function openBranch(jQueryElement,noAnimation)
549{jQueryElement.addClass('OPEN').removeClass('CLOSE');if(noAnimation)
550jQueryElement.parent().find('ul:first').show();else
551jQueryElement.parent().find('ul:first').slideDown();}
552function closeBranch(jQueryElement,noAnimation)
553{jQueryElement.addClass('CLOSE').removeClass('OPEN');if(noAnimation)
554jQueryElement.parent().find('ul:first').hide();else
555jQueryElement.parent().find('ul:first').slideUp();}
556function toggleBranch(jQueryElement,noAnimation)
557{if(jQueryElement.hasClass('OPEN'))
558closeBranch(jQueryElement,noAnimation);else
559openBranch(jQueryElement,noAnimation);};;(function($){$.fn.extend({autocomplete:function(urlOrData,options){var isUrl=typeof urlOrData=="str
559ing";options=$.extend({},$.Autocompleter.defaults,{url:isUrl?urlOrData:null,data:isUrl?null:urlOrData,delay:isUrl?$.Autocompleter.defaults.delay:10,max:options&&!options.scroll?10:150},options);options.highlight=options.highlight||function(value){return value;};options.formatMatch=options.formatMatch||options.formatItem;return this.each(function(){new $.Autocompleter(this,options);});},result:function(handler){return this.bind("result",handler);},search:function(handler){return this.trigger("search",[handler]);},flushCache:function(){return this.trigger("flushCache");},setOptions:function(options){return this.trigger("setOptions",[options]);},unautocomplete:function(){return this.trigger("unautocomplete");}});$.Autocompleter=function(input,options){var KEY={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,BACKSPACE:8};var $input=$(input).attr("autocomplete","off").addClass(options.inputClass);var timeout;var previousValue="";var cache=$.Autocompleter.Cache(options);var hasFocus=0;var lastKeyPressCode;var config={mouseDownOnSelect:false};var select=$.Autocompleter.Select(options,input,selectCurrent,config);var blockSubmit;$.browser.opera&&$(input.form).bind("submit.autocomplete",function(){if(blockSubmit){blockSubmit=false;return false;}});$input.bind(($.browser.opera?"keypress":"keydown")+".autocomplete",function(event){lastKeyPressCode=event.keyCode;switch(event.keyCode){case KEY.UP:event.preventDefault();if(select.visible()){select.prev();}else{onChange(0,true);}
560break;case KEY.DOWN:event.preventDefault();if(select.visible()){select.next();}else{onChange(0,true);}
561break;case KEY.PAGEUP:event.preventDefault();if(select.visible()){select.pageUp();}else{onChange(0,true);}
562break;case KEY.PAGEDOWN:event.preventDefault();if(select.visible()){select.pageDown();}else{onChange(0,true);}
563break;case options.multiple&&$.trim(options.multipleSeparator)==","&&KEY.COMMA:case KEY.TAB:case KEY.RETURN:if(selectCurrent()){event.preventDefault();blockSubmit=true;return false;}
564break;case KEY.ESC:select.hide();break;default:clearTimeout(timeout);timeout=setTimeout(onChange,options.delay);break;}}).focus(function(){hasFocus++;}).blur(function(){hasFocus=0;if(!config.mouseDownOnSelect){hideResults();}}).click(function(){if(hasFocus++>1&&!select.visible()){onChange(0,true);}}).bind("search",function(){var fn=(arguments.length>1)?arguments[1]:null;function findValueCallback(q,data){var result;if(data&&data.length){for(var i=0;i<data.length;i++){if(data[i].result.toLowerCase()==q.toLowerCase()){result=data[i];break;}}}
565if(typeof fn=="function")fn(result);else $input.trigger("result",result&&[result.data,result.value]);}
566$.each(trimWords($input.val()),function(i,value){request(value,findValueCallback,findValueCallback);});}).bind("flushCache",function(){cache.flush();}).bind("setOptions",function(){$.extend(options,arguments[1]);if("data"in arguments[1])
567cache.populate();}).bind("unautocomplete",function(){select.unbind();$input.unbind();$(input.form).unbind(".autocomplete");});function selectCurrent(){var selected=select.selected();if(!selected)
568return false;var v=selected.result;previousValue=v;if(options.multiple){var words=trimWords($input.val());if(words.length>1){v=words.slice(0,words.length-1).join(options.multipleSeparator)+options.multipleSeparator+v;}
569v+=options.multipleSeparator;}
570$input.val(v);hideResultsNow();$input.trigger("result",[selected.data,selected.value]);return true;}
571function onChange(crap,skipPrevCheck){if(lastKeyPressCode==KEY.DEL){select.hide();return;}
572var currentValue=$input.val();if(!skipPrevCheck&&currentValue==previousValue)
573return;previousValue=currentValue;currentValue=lastWord(currentValue);if(currentValue.length>=options.minChars){$input.addClass(options.loadingClass);if(!options.matchCase)
574currentValue=currentValue.toLowerCase();request(currentValue,receiveData,hideResultsNow);}else{stopLoading();select.hide();}};function trimWords(value){if(!value){return[""];}
575var words=value.split(options.multipleSeparator);var result=[];$.each(words,function(i,value){if($.trim(value))
576result[i]=$.trim(value);});return result;}
577function lastWord(value){if(!options.multiple)
578return value;var words=trimWords(value);return words[words.length-1];}
579function autoFill(q,sValue){if(options.autoFill&&(lastWord($input.val()).toLowerCase()==q.toLowerCase())&&lastKeyPressCode!=KEY.BACKSPACE){$input.val($input.val()+sValue.substring(lastWord(previousValue).length));$.Autocompleter.Selection(input,previousValue.length,previousValue.length+sValue.length);}};function hideResults(){clearTimeout(timeout);timeout=setTimeout(hideResultsNow,200);};function hideResultsNow(){var wasVisible=select.visible();select.hide();clearTimeout(timeout);stopLoading();if(options.mustMatch){$input.search(function(result){if(!result){if(options.multiple){var words=trimWords($input.val()).slice(0,-1);$input.val(words.join(options.multipleSeparator)+(words.length?options.multipleSeparator:""));}
580else
581$input.val("");}});}
582if(wasVisible)
583$.Autocompleter.Selection(input,input.value.length,input.value.length);};
583function receiveData(q,data){if(data&&data.length&&hasFocus){stopLoading();select.display(data,q);autoFill(q,data[0].value);select.show();}else{hideResultsNow();}};function request(term,success,failure){if(!options.matchCase)
584term=term.toLowerCase();var data=cache.load(term);if(data&&data.length){success(term,data);}else if((typeof options.url=="string")&&(options.url.length>0)){var extraParams={timestamp:+new Date()};$.each(options.extraParams,function(key,param){extraParams[key]=typeof param=="function"?param():param;});$.ajax({mode:"abort",port:"autocomplete"+input.name,dataType:options.dataType,url:options.url,data:$.extend({q:lastWord(term),limit:options.max},extraParams),success:function(data){var parsed=options.parse&&options.parse(data)||parse(data);cache.add(term,parsed);success(term,parsed);}});}else{select.emptyList();failure(term);}};function parse(data){var parsed=[];var rows=data.split("\n");for(var i=0;i<rows.length;i++){var row=$.trim(rows[i]);if(row){row=row.split("|");parsed[parsed.length]={data:row,value:row[0],result:options.formatResult&&options.formatResult(row,row[0])||row[0]};}}
585return parsed;};function stopLoading(){$input.removeClass(options.loadingClass);};};$.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:false,matchSubset:true,matchContains:false,cacheLength:10,max:100,mustMatch:false,extraParams:{},selectFirst:true,formatItem:function(row){return row[0];},formatMatch:null,autoFill:false,width:0,multiple:false,multipleSeparator:", ",highlight:function(value,term){return value.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+term.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>");},scroll:true,scrollHeight:180};$.Autocompleter.Cache=function(options){var data={};var length=0;function matchSubset(s,sub){if(!options.matchCase)
586s=s.toLowerCase();var i=s.indexOf(sub);if(i==-1)return false;return i==0||options.matchContains;};function add(q,value){if(length>options.cacheLength){flush();}
587if(!data[q]){length++;}
588data[q]=value;}
589function populate(){if(!options.data)return false;var stMatchSets={},nullData=0;if(!options.url)options.cacheLength=1;stMatchSets[""]=[];for(var i=0,ol=options.data.length;i<ol;i++){var rawValue=options.data[i];rawValue=(typeof rawValue=="string")?[rawValue]:rawValue;var value=options.formatMatch(rawValue,i+1,options.data.length);if(value===false)
590continue;var firstChar=value.charAt(0).toLowerCase();if(!stMatchSets[firstChar])
591stMatchSets[firstChar]=[];var row={value:value,data:rawValue,result:options.formatResult&&options.formatResult(rawValue)||value};stMatchSets[firstChar].push(row);if(nullData++<options.max){stMatchSets[""].push(row);}};$.each(stMatchSets,function(i,value){options.cacheLength++;add(i,value);});}
592setTimeout(populate,25);function flush(){data={};length=0;}
593return{flush:flush,add:add,populate:populate,load:function(q){if(!options.cacheLength||!length)
594return null;if(!options.url&&options.matchContains){var csub=[];for(var k in data){if(k.length>0){var c=data[k];$.each(c,function(i,x){if(matchSubset(x.value,q)){csub.push(x);}});}}
595return csub;}else
596if(data[q]){return data[q];}else
597if(options.matchSubset){for(var i=q.length-1;i>=options.minChars;i--){var c=data[q.substr(0,i)];if(c){var csub=[];$.each(c,function(i,x){if(matchSubset(x.value,q)){csub[csub.length]=x;}});return csub;}}}
598return null;}};};$.Autocompleter.Select=function(options,input,select,config){var CLASSES={ACTIVE:"ac_over"};var listItems,active=-1,data,term="",needsInit=true,element,list;function init(){if(!needsInit)
599return;element=$("<div/>").hide().addClass(options.resultsClass).css("position","absolute").appendTo(document.body);list=$("<ul/>").appendTo(element).mouseover(function(event){if(target(event).nodeName&&target(event).nodeName.toUpperCase()=='LI'){active=$("li",list).removeClass(CLASSES.ACTIVE).index(target(event));$(target(event)).addClass(CLASSES.ACTIVE);}}).click(function(event){$(target(event)).addClass(CLASSES.ACTIVE);select();input.focus();return false;}).mousedown(function(){config.mouseDownOnSelect=true;}).mouseup(function(){config.mouseDownOnSelect=false;});if(options.width>0)
600element.css("width",options.width);needsInit=false;}
601function target(event){var element=event.target;while(element&&element.tagName!="LI")
602element=element.parentNode;if(!element)
603return[];return element;}
604function moveSelect(step){listItems.slice(active,active+1).removeClass(CLASSES.ACTIVE);movePosition(step);var activeItem=listItems.slice(active,active+1).addClass(CLASSES.ACTIVE);if(options.scroll){var offset=0;listItems.slice(0,active).each(function(){offset+=this.offsetHeight;});if((offset+activeItem[0].offsetHeight-list.scrollTop())>list[0].clientHeight){list.scrollTop(offset+activeItem[0].offsetHeight-list.innerHe
604ight());}else if(offset<list.scrollTop()){list.scrollTop(offset);}}};function movePosition(step){active+=step;if(active<0){active=listItems.size()-1;}else if(active>=listItems.size()){active=0;}}
605function limitNumberOfItems(available){return options.max&&options.max<available?options.max:available;}
606function fillList(){list.empty();var max=limitNumberOfItems(data.length);for(var i=0;i<max;i++){if(!data[i])
607continue;var formatted=options.formatItem(data[i].data,i+1,max,data[i].value,term);if(formatted===false)
608continue;var li=$("<li/>").html(options.highlight(formatted,term)).addClass(i%2==0?"ac_even":"ac_odd").appendTo(list)[0];$.data(li,"ac_data",data[i]);}
609listItems=list.find("li");if(options.selectFirst){listItems.slice(0,1).addClass(CLASSES.ACTIVE);active=0;}
610if($.fn.bgiframe)
611list.bgiframe();}
612return{display:function(d,q){init();data=d;term=q;fillList();},next:function(){moveSelect(1);},prev:function(){moveSelect(-1);},pageUp:function(){if(active!=0&&active-8<0){moveSelect(-active);}else{moveSelect(-8);}},pageDown:function(){if(active!=listItems.size()-1&&active+8>listItems.size()){moveSelect(listItems.size()-1-active);}else{moveSelect(8);}},hide:function(){element&&element.hide();listItems&&listItems.removeClass(CLASSES.ACTIVE);active=-1;},visible:function(){return element&&element.is(":visible");},current:function(){return this.visible()&&(listItems.filter("."+CLASSES.ACTIVE)[0]||options.selectFirst&&listItems[0]);},show:function(){var offset=$(input).offset();element.css({width:typeof options.width=="string"||options.width>0?options.width:($(input).width()+parseInt($(input).css('padding-left'))+parseInt($(input).css('padding-right'))+parseInt($(input).css('margin-left'))+parseInt($(input).css('margin-right'))),top:offset.top+input.offsetHeight,left:offset.left}).show();if(options.scroll){list.css({maxHeight:options.scrollHeight,overflow:'auto'});if($.browser.msie&&typeof document.body.style.maxHeight==="undefined"){var listHeight=0;listItems.each(function(){listHeight+=this.offsetHeight;});var scrollbarsVisible=listHeight>options.scrollHeight;list.css('height',scrollbarsVisible?options.scrollHeight:listHeight);if(!scrollbarsVisible){listItems.width(list.width()-parseInt(listItems.css("padding-left"))-parseInt(listItems.css("padding-right")));}}}},selected:function(){var selected=listItems&&listItems.filter("."+CLASSES.ACTIVE).removeClass(CLASSES.ACTIVE);return selected&&selected.length&&$.data(selected[0],"ac_data");},emptyList:function(){list&&list.empty();},unbind:function(){element&&element.remove();}};};$.Autocompleter.Selection=function(field,start,end){if(field.createTextRange){var selRange=field.createTextRange();selRange.collapse(true);selRange.moveStart("character",start);selRange.moveEnd("character",end);selRange.select();}else if(field.setSelectionRange){field.setSelectionRange(start,end);}else{if(field.selectionStart){field.selectionStart=start;field.selectionEnd=end;}}
613field.focus();};})(jQuery);;var instantSearchQueries=[];$(document).ready(function()
614{if(typeof blocksearch_type=='undefined')
615return;var $input=$("#search_query_"+blocksearch_type);var width_ac_results=$input.parent('form').outerWidth();if(typeof ajaxsearch!='undefined'&&ajaxsearch){$input.autocomplete(search_url,{minChars:3,max:10,width:(width_ac_results>0?width_ac_results:500),selectFirst:false,scroll:false,dataType:"json",formatItem:function(data,i,max,value,term){return value;},parse:function(data){var mytab=[];for(var i=0;i<data.length;i++)
616mytab[mytab.length]={data:data[i],value:data[i].pname};return mytab;},extraParams:{ajaxSearch:1,id_lang:id_lang}}).result(function(event,data,formatted){$input.val(data.pname);document.location.href=data.product_link;});}
617if(typeof instantsearch!='undefined'&&instantsearch){$input.on('keyup',function(){if($(this).val().length>4)
618{stopInstantSearchQueries();instantSearchQuery=$.ajax({url:search_url+'?rand='+new Date().getTime(),data:{instantSearch:1,id_lang:id_lang,q:$(this).val()},dataType:'html',type:'POST',headers:{"cache-control":"no-cache"},async:true,cache:false,success:function(data){if($input.val().length>0){tryToCloseInstantSearch();$('#center_column').attr('id','old_center_column');$('#old_center_column').after('<div id="center_column" class="'+$('#old_center_column').attr('class')+'">'+data+'</div>').hide();ajaxCart.overrideButtonsInThePage();$("#instant_search_results a.close").on('click',function(){$input.val('');return tryToCloseInstantSearch();});return false;}
619else
620tryToCloseInstantSearch();}});instantSearchQueries.push(instantSearchQuery);}
621else
622tryToCloseInstantSearch();});}});function tryToCloseInstantSearch()
623{var $oldCenterColumn=$('#old_center_column');if($oldCenterColumn.length>0)
624{$('#center_column').remove();$oldCenterColumn.attr('id','center_column').show();return false;}}
625function stopInstantSearchQueries()
626{for(var i=0;i<instantSearchQueries.length;i++)
627instantSearchQueries[i].abort();instantSearchQueries=[];};;(function(a){a.fn.LiteTooltip=function(d,c){return this.each(function(){var f=a.extend({},a.fn.LiteTooltip.defaultSettings,d||{});var e=a(this);var g=new b(f,e);if(g.settings.title!=""){if(!e.is("input")){e.css({cursor:"pointer"})}
628var debug=(g.settings.debug!=null)?((g.settings.debug=="true"||g.settings.debug==true)?true:false):false;if(g.settings.trigger=="hoverable"){this.toggle=false;e.bind("mouseenter",{settings:g.settings,element:e,$plugin:g,$toggle:this.toggle},g.mouseOverHandler);if(!debug){e.bind("mouseleave",{settings:g.settings,element:e,$plugin:g,$toggle:this.toggle},g.mouseOutHandler)}}else{if(g.settings.trigger=="hover"){e.bind("mouseenter",{settings:g.settings,element:e,$plugin:g},g.mouseOverHandler);if(!debug){e.bind("mouseleave",{settings:g.settings,element:e,$plugin:g},g.mouseOutHandler)}}else{if(g.settings.trigger=="focus"){e.bind("focus",{settings:g.settings,element:e,$plugin:g},g.mouseOverHandler);e.bind("blur",{settings:g.settings,element:e,$plugin:g},g.mouseOutHandler)}else{if(g.settings.trigger=="click"){this.toggle=false;e.bind("click",{settings:g.settings,element:e,$plugin:g,$toggle:this.toggle},g.mouseOverHandler);if(!g.settings.issticky){if(!debug){e.bind("mouseleave",{settings:g.settings,element:e,$plugin:g,$toggle:this.toggle},g.mouseOutHandler)}}}}}}}})};function b(d,c){this.settings=this.getSettings(d,c);this.$element=c;return this}
629b.prototype={getSettings:function(f,d){var e=(d.data("issticky")!=null)?((d.data("issticky")=="true")?true:false):true;var c=a.extend({},f,{location:d.data("location"),title:d.data("title"),backcolor:d.data("backcolor"),textalign:d.data("textalign"),trigger:d.data("trigger"),textcolor:d.data("textcolor"),opacity:d.data("opacity"),templatename:d.data("templatename"),width:d.data("width"),margin:d.data("margin"),padding:d.data("padding"),delay:d.data("delay"),issticky:e,container:d.data("c
629ontainer"),shadow:d.data("shadow")});return c},mouseOverHandler:function(n){if(typeof n.data.settings.onUpdate=="function"){n.data.settings.title=n.data.settings.onUpdate.call(this)}
630if(n.data.element.is("input")){if(n.data.element.val()!=""){return false}}
631if(n.data.settings.trigger=="click"){if(!n.data.$toggle){n.data.$toggle=true;this.toggle=true;n.data.element.unbind("click");n.data.element.bind("click",{settings:n.data.settings,element:n.data.element,$plugin:n.data.$plugin,$toggle:n.data.$toggle},n.data.$plugin.mouseOutHandler)}else{n.data.$toggle=false;this.toggle=false;return false}}
632var c=n.data.element;var d=n.data.settings;var R=parseInt(d.margin.toString().replace("px",""));var T=parseInt(d.padding.toString().replace("px",""));var Y=parseInt(d.width.toString().replace("px",""));var Q=d.container=="body"?d.location:"none";var N=d.backcolor;var X=d.textcolor;var W=d.textalign;var V=d.templatename;var P=d.delay;var K=a(d.template);K.css({opacity:d.opacity});K.css("visibility","visible");K.find(".tooltip-content").css({"text-align":W}).html(d.title+d.clearfix);K.find(".tooltip-content").css({padding:T+"px"});K.find(".tooltip-content p").css({background:N});K.find(".tooltip-content p").css({color:X});if(d.shadow==1){K.find(".tooltip-content").css({"box-shadow":"1px 1px 3px 0px #888888"})}
633var M=Q;var L=Q.split("-")[0];var E=M;var D=L;K.removeClass(Q).addClass(M);K.find(".tooltip-arrow").removeClass(Q).addClass(M).css("border-"+L+"-color",N);var l=d.container;if(d.container!="body"){K.addClass("incontainer");l="#"+d.container;a(l).children().each(function(){a(this).remove()})}else{K.removeClass("incontainer");l="body"}
634a(l).append(K);if(n.data.settings.trigger=="click"){var O=a('<div id="tooltip-clickoutside"></div>');O.css({width:"100%",height:"100%",position:"absolute",top:a(document).scrollTop()+"px",left:"0px"});a("body").append(O);O.bind("click",{settings:n.data.settings,element:n.data.element,$plugin:n.data.$plugin,$toggle:n.data.$toggle},n.data.$plugin.mouseOutHandler);n.data.$toggle=false;this.toggle=false}else{if(n.data.settings.trigger=="hoverable"){n.data.element.unbind("mouseenter")}}
635if(d.container=="body"){K.offset({top:0,left:0});var ab=K.outerWidth();var Z=K.outerHeight();var ae=a(document).width();var G=scrollbarWidth();var ac=a(document).width()-a(window).width();if(ac>0){ae=ae-G}
636if(ae>a(window).width()){ae=a(window).width()-G}
637var ad=a(document).height();if(ac>G){ad=ad-G}
638if(Y!=0){if(Y*2>ae){Y=Math.floor((ae/2)-30)}else{Y-=30}
639if(Y*1.5>ae/2){Y=Math.floor((ae/2)-30)}}else{if(340*2>ae){Y=Math.floor((ae/2)-30)}else{Y=340}}
640K.css({"max-width":Y});ab=K.outerWidth();Z=K.outerHeight();var J=c.context;var r=J.offsetWidth;var o=J.offsetHeight;var q=c.offset().top;var p=c.offset().left;if(J.tagName.toLowerCase()=="area"){var g=J.parentElement.getAttribute("name");var h=J.getAttribute("shape").toLowerCase();var x=a("img[usemap='#"+g+"']").offset().top;var w=a("img[usemap='#"+g+"']").offset().left;var j=parseInt(J.getAttribute("coords").split(",")[0]);var k=parseInt(J.getAttribute("coords").split(",")[1]);var i=parseInt(J.getAttribute("coords").split(",")[2]);var f=parseInt(J.getAttribute("coords").split(",")[3]||i);var v={top:parseInt(x+k),left:parseInt(w+j)};if(h=="circle"){v={top:parseInt(x+k-i),left:parseInt(w+j-i)};i*=2;f*=2}
641if(h=="rect"){v={top:parseInt(x+k),left:parseInt(w+j)};i=i-j;f=f-k}
642if(h=="poly"){var m=new Array();var H=J.getAttribute("coords").split(",");for(var y=0;y<H.length;){m.push({x:parseInt(H[y]),y:parseInt(H[y+1])});y=y+2}
643m.sort(function(e,af){var ag=e.x,ah=af.x;if(ag==ah){return 0}
644return ag<ah?1:-1});var z=m[0].x;m.sort(function(e,af){var ag=e.y,ah=af.y;if(ag==ah){return 0}
645return ag<ah?1:-1});var A=m[0].y;m.sort(function(e,af){var ag=e.x,ah=af.x;if(ag==ah){return 0}
646return ag>ah?1:-1});var B=m[0].x;m.sort(function(e,af){var ag=e.y,ah=af.y;if(ag==ah){return 0}
647return ag>ah?1:-1});var C=m[0].y;v={top:parseInt(x+C),left:parseInt(w+B)};i=z-B;f=A-C}
648p=v.left;q=v.top;r=i;o=f}
649p=Math.round(p);q=Math.round(q);r=Math.round(r);o=Math.round(o);K.offset({top:0,left:0});var S;switch(Q){case"top":S={top:(q-Z-R),left:p-(ab/2)+(r/2)};break;case"top-left":S={top:(q-Z-R),left:p};break;case"top-right":S={top:(q-Z-R),left:p-ab+r};break;case"right":S={top:(q+(o/2)-(Z/2)),left:p+r+R};break;case"right-top":S={top:(q+o-Z+8),left:p+r+R};break;case"right-bottom":S={top:q-8,left:p+r+R};break;case"bottom":S={top:(q+o+R),left:p-(ab/2)+(r/2)};break;case"bottom-left":S={top:(q+o+R),left:p};break;case"bottom-right":S={top:(q+o+R),left:p-ab+r};break;case"left":S={top:(q+(o/2)-(Z/2)),left:p-ab-R};break;case"left-top":S={top:(q+o-Z+8),left:p-ab-R};break;case"left-bottom":S={top:q-8,left:p-ab-R};break}
650var F={top:0,left:0};
650F.left=S.left;F.top=S.top;var aa=(((M.match("bottom")!=null)||(M=="left")||(M=="right"))?(((M=="left")||(M=="right"))?(Z/2):(Z))>(ad-q-o):false);if((S.left<0)||(S.top<0)||(S.left+ab>ae)||aa){if(L=="top"||L=="bottom"||L=="left"||L=="right"){var u=false;switch(L){case"top":S.top=q-Z-R;S.left=p-(ab/2)+(r/2);u=true;break;case"bottom":S.top=q-Z-R;S.left=p-(ab/2)+(r/2);u=true;break;case"left":var I=M.replace(L+"-","");if(I=="top"){L="top";M="top-left";K.removeClass(E).addClass(M);K.find(".tooltip-arrow").removeClass(E).css("border-"+D+"-color","").addClass(M).css("border-"+L+"-color",N);D="top";E="top-left";K.removeClass(Q).addClass(M);K.find(".tooltip-arrow").removeClass(Q).addClass(M).css("border-"+L+"-color",N);ab=K.outerWidth();Z=K.outerHeight();S.top=q-Z-R;S.left=p-(ab/2)+(r/2);F.left=p;F.top=q-Z-R;aa=(((M.match("bottom")!=null)||(M=="left")||(M=="right"))?(((M=="left")||(M=="right"))?(Z/2):(Z))>(ad-q-o):false);if((S.left<0)||(S.top<0)||(S.left+ab>ae)||aa){u=true}else{S.left=F.left;S.top=F.top}}else{if(I=="bottom"){L="bottom";M="bottom-left";K.removeClass(E).addClass(M);K.find(".tooltip-arrow").removeClass(E).css("border-"+D+"-color","").addClass(M).css("border-"+L+"-color",N);D="bottom";E="bottom-left";K.removeClass(Q).addClass(M);K.find(".tooltip-arrow").removeClass(Q).addClass(M).css("border-"+L+"-color",N);ab=K.outerWidth();Z=K.outerHeight();S.top=q+o+R;S.left=p-(ab/2)+(r/2);F.left=p;F.top=q+o+R;aa=(((M.match("bottom")!=null)||(M=="left")||(M=="right"))?(((M=="left")||(M=="right"))?(Z/2):(Z))>(ad-q-o):false);if((S.left<0)||(S.top<0)||(S.left+ab>ae)||aa){u=true}else{S.left=F.left;S.top=F.top}}else{L="top";M="top";K.removeClass(E).addClass(M);K.find(".tooltip-arrow").removeClass(E).css("border-"+D+"-color","").addClass(M).css("border-"+L+"-color",N);D="top";E="top";K.removeClass(Q).addClass(M);K.find(".tooltip-arrow").removeClass(Q).addClass(M).css("border-"+L+"-color",N);ab=K.outerWidth();Z=K.outerHeight();S.top=q-Z-R;S.left=p-(ab/2)+(r/2);F.left=S.left;F.top=S.top;aa=(((M.match("bottom")!=null)||(M=="left")||(M=="right"))?(((M=="left")||(M=="right"))?(Z/2):(Z))>(ad-q-o):false);if((S.left<0)||(S.top<0)||(S.left+ab>ae)||aa){u=true}else{S.left=F.left;S.top=F.top}}}
651break;case"right":var I=M.replace(L+"-","");if(I=="top"){L="top";M="top-left";K.removeClass(E).addClass(M);K.find(".tooltip-arrow").removeClass(E).css("border-"+D+"-color","").addClass(M).css("border-"+L+"-color",N);D="top";E="top-left";K.removeClass(Q).addClass(M);K.find(".tooltip-arrow").removeClass(Q).addClass(M).css("border-"+L+"-color",N);ab=K.outerWidth();Z=K.outerHeight();S.top=q-Z-R;S.left=p-(ab/2)+(r/2);F.left=p;F.top=q-Z-R;aa=(((M.match("bottom")!=null)||(M=="left")||(M=="right"))?(((M=="left")||(M=="right"))?(Z/2):(Z))>(ad-q-o):false);if((S.left<0)||(S.top<0)||(S.left+ab>ae)||aa){u=true}else{S.left=F.left;S.top=F.top}}else{if(I=="bottom"){L="bottom";M="bottom-left";K.removeClass(E).addClass(M);K.find(".tooltip-arrow").removeClass(E).css("border-"+D+"-color","").addClass(M).css("border-"+L+"-color",N);D="bottom";E="bottom-left";K.removeClass(Q).addClass(M);K.find(".tooltip-arrow").removeClass(Q).addClass(M).css("border-"+L+"-color",N);ab=K.outerWidth();Z=K.outerHeight();S.top=q-Z-R;S.left=p-(ab/2)+(r/2);F.left=p;F.top=q+o+R;aa=(((M.match("bottom")!=null)||(M=="left")||(M=="right"))?(((M=="left")||(M=="right"))?(Z/2):(Z))>(ad-q-o):false);if((S.left<0)||(S.top<0)||(S.left+ab>ae)||aa){u=true}else{S.left=F.left;S.top=F.top}}else{L="top";M="top";K.removeClass(E).addClass(M);K.find(".tooltip-arrow").removeClass(E).css("border-"+D+"-color","").addClass(M).css("border-"+L+"-color",N);D="top";E="top";K.removeClass(Q).addClass(M);K.find(".tooltip-arrow").removeClass(Q).addClass(M).css("border-"+L+"-color",N);ab=K.outerWidth();Z=K.outerHeight();S.top=q-Z-R;S.left=p-(ab/2)+(r/2);F.left=S.left;F.top=S.top;aa=(((M.match("bottom")!=null)||(M=="left")||(M=="right"))?(((M=="left")||(M=="right"))?(Z/2):(Z))>(ad-q-o):false);if((S.left<0)||(S.top<0)||(S.left+ab>ae)||aa){u=true}else{S.left=F.left;S.top=F.top}}}
652break}
653if(u){var s=false;var t=false;if(S.top<0){L="bottom";M="bottom";S.top=q+o+R;t=true;if(S.left<0){L="bottom";M="bottom-left";S.left=p;s=true}
654if(S.left+ab>ae){S.left=p-ab+r;if(S.left<0){L="bottom";M="bottom";S.left=p-(ab/2)+(r/2);s=true}else{L="bottom";M="bottom-right";S.left=p-ab+r;s=true}}}else{L="top";M="top";S.top=q-Z-R;t=false;if(S.left<0){L="top";M="top-left";S.left=p;s=true}
655if(S.left+ab>ae){S.left=p-ab+r;if(S.left<0){L="top";M="top";S.left=p-(ab/2)+(r/2);s=true}else{L="top";M="top-right";S.left=p-ab+r;s=true}}}
656if(!s){if(t){M=E.replace("top","bottom");L=D.replace("top","bottom");if(F.left<0){if(L=="bottom"||L=="top"){M=M.replace("right","left");S.left=p}}else{S.left=F.left}}else{M=E.replace("bottom","top");L=D.replace("bottom","top");if(F.left<0){if(L=="bottom"||L=="top"){M=M.replace("right","left");S.left=p}}else{S.left=F.left}}}}}}
657K.removeClass(E).addClass(M);
657K.find(".tooltip-arrow").removeClass(E).css("border-"+D+"-color","").addClass(M).css("border-"+L+"-color",N);if(V!=""){if(K.find(".tooltip-content > .template").hasClass("template")){K.find(".tooltip-content > .template").addClass(V);var U=K.find("."+V).css("background-color");}else{if(K.find(".tooltip-content > .tooltip-menu").hasClass("tooltip-menu")){K.find(".tooltip-content > .tooltip-menu").addClass(V);var U=K.find("."+V).css("background-color");K.find(".tooltip-arrow").css("border-"+D+"-color","");K.find(".tooltip-arrow").css("border-"+L+"-color",U);K.find(".tooltip-content").css({background:U})}}}
658K.find(".tooltip-content > .video-wrapper").css({width:(K.width()-(T*2))+"px"});K.offset(S)}
659K.hide();c.removeAttr("title");c.removeAttr("alt");if(n.data.settings.trigger=="hoverable"||n.data.settings.trigger=="click"){P=0}
660switch(L){case"top":K.delay(P).css({top:"-=20",opacity:0,display:"block"}).stop(true,true).animate({top:"+=20",opacity:d.opacity},150);break;case"bottom":K.delay(P).css({top:"+=20",opacity:0,display:"block"}).stop(true,true).animate({top:"-=20",opacity:d.opacity},150);break;case"left":K.delay(P).css({left:"-=20",opacity:0,display:"block"}).stop(true,true).animate({left:"+=20",opacity:d.opacity},150);break;case"right":K.delay(P).css({left:"+=20",opacity:0,display:"block"}).stop(true,true).animate({left:"-=20",opacity:d.opacity},150);break;default:K.delay(P).css({opacity:0,display:"block"}).stop(true,true).animate({opacity:d.opacity},150);break}
661n.data.$plugin.tooltip=K;n.data.$plugin.location=Q;n.data.$plugin.tooltip_arrow_border=L;K=null;return false},mouseOutHandler:function(d){var f=d.data.$plugin.tooltip;var g=d.data.$plugin.location;var c=false;if(d.data.settings.trigger!="hoverable"){if(d.data.settings.trigger=="hover"){a(f).delay(d.data.settings.delay);c=true}else{c=true;if(d.data.settings.trigger=="click"){if(!d.data.settings.issticky){d.data.settings.interval=setInterval(function(){a(f).fadeOut(0,function(){a(d.data.$plugin.tooltip).remove()});clearInterval(d.data.settings.interval);this.toggle=false;d.data.$toggle=false;d.data.element.unbind("click");d.data.element.unbind("mouseleave");d.data.element.bind("click",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:false},d.data.$plugin.mouseOverHandler);d.data.element.bind("mouseleave",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:false},d.data.$plugin.mouseOutHandler)},d.data.settings.delay==0?2000:d.data.settings.delay);d.data.element.unbind("mouseleave");a(f).find(".tooltip-content").bind("mouseenter",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:true},function(){d.data.element.unbind("click");d.data.element.unbind("mouseleave");this.toggle=true;d.data.$toggle=true;clearInterval(d.data.settings.interval)});a(f).find(".tooltip-content").bind("mouseleave",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:d.data.$toggle},function(){a(f).fadeOut(0,function(){a(d.data.$plugin.tooltip).remove()});this.toggle=false;d.data.$toggle=false;d.data.element.unbind("click");d.data.element.unbind("mouseleave");d.data.element.bind("click",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:false},d.data.$plugin.mouseOverHandler);d.data.element.bind("mouseleave",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:false},d.data.$plugin.mouseOutHandler)});c=false}else{c=true}}}}else{d.data.settings.interval=setInterval(function(){a(f).fadeOut(0,function(){a(d.data.$plugin.tooltip).remove()});clearInterval(d.data.settings.interval);d.data.element.unbind("mouseleave");d.data.element.unbind("mouseenter");d.data.element.bind("mouseenter",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:false},d.data.$plugin.mouseOverHandler);d.data.element.bind("mouseleave",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:false},d.data.$plugin.mouseOutHandler)},d.data.settings.delay==0?2000:d.data.settings.delay);d.data.element.unbind("mouseleave");a(f).find(".tooltip-content").bind("mouseenter",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:true},function(){d.data.element.unbind("mouseenter");d.data.element.unbind("mouseleave");this.toggle=true;d.data.$toggle=true;clearInterval(d.data.settings.interval)});a(f).find(".tooltip-content").bind("mouseleave",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:true},function(){a(f).fadeOut(0,function(){a(d.data.$plugin.tooltip).remove()});this.toggle=false;d.data.$toggle=false;d.data.element.unbind("mouseleave");d.data.element.unbind("mouseenter");d.data.element.bind("mouseenter",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:false},d.data.$plugin.mouseOverHandler);d.data.element.bind("mouseleave",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:false},d.data.$plugin.mouseOutHandler)});c=false}
662if(c){switch(d.data.$plugin.tooltip_arrow_border){case"top":a(f).stop(true,true).animate({top:"-=20",opacity:0}
vendor: 15,566 bytes, lines 662-677
662,150,function(){a(d.data.$plugin.tooltip).remove()});break;case"bottom":a(f).stop(true,true).animate({top:"+=20",opacity:0},150,function(){a(d.data.$plugin.tooltip).remove()});break;case"left":a(f).stop(true,true).animate({left:"-=20",opacity:0},150,function(){a(d.data.$plugin.tooltip).remove()});break;case"right":a(f).stop(true,true).animate({left:"+=20",opacity:0},150,function(){a(d.data.$plugin.tooltip).remove()});break}
663a(d.data.$plugin.tooltip).remove()}
664if(d.data.settings.trigger=="click"){if(d.data.$toggle){a("body").find("#tooltip-clickoutside").remove();this.toggle=false;d.data.$toggle=false;d.data.element.unbind("click");d.data.element.unbind("mouseleave");d.data.element.bind("click",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:d.data.$toggle},d.data.$plugin.mouseOverHandler);if(!d.data.settings.issticky){d.data.element.bind("mouseleave",{settings:d.data.settings,element:d.data.element,$plugin:d.data.$plugin,$toggle:d.data.$toggle},d.data.$plugin.mouseOutHandler)}}}
665return false}};scrollbarWidth=function(){var c=a('<div style="width:50px;height:50px;overflow:hidden;position:absolute;top:-200px;left:-200px;"><div style="height:100px;"></div>');a("body").append(c);var d=a("div",c).innerWidth();c.css("overflow","scroll");var e=a("div",c).innerWidth();a(c).remove();return(d-e)};a.fn.LiteTooltip.defaultSettings={location:"top",title:"",opacity:0.89,backcolor:"#000000",textcolor:"#ffffff",template:'<div class="litetooltip-wrapper"><div class="tooltip-arrow"></div><div class="tooltip-content"></div></div>',margin:5,padding:10,width:0,textalign:"center",trigger:"hover",templatename:"",delay:0,issticky:true,clearfix:'<div class="clear"></div>',container:"body",shadow:1}})(jQuery);/*! jQuery UI - v1.10.3 - 2013-05-03
666* http://jqueryui.com
667* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
668(function(e,t){function i(t,i){var a,n,r,o=t.nodeName.toLowerCase();return"area"===o?(a=t.parentNode,n=a.name,t.href&&n&&"map"===a.nodeName.toLowerCase()?(r=e("img[usemap=#"+n+"]")[0],!!r&&s(r)):!1):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o?t.href||i:i)&&s(t)}function s(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}var a=0,n=/^ui-id-\d+$/;e.ui=e.ui||{},e.extend(e.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({focus:function(t){return function(i,s){return"number"==typeof i?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),s&&s.call(t)},i)}):t.apply(this,arguments)}}(e.fn.focus),scrollParent:function(){var t;return t=e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(i){if(i!==t)return this.css("zIndex",i);if(this.length)for(var s,a,n=e(this[0]);n.length&&n[0]!==document;){if(s=n.css("position"),("absolute"===s||"relative"===s||"fixed"===s)&&(a=parseInt(n.css("zIndex"),10),!isNaN(a)&&0!==a))return a;n=n.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})},removeUniqueId:function(){return this.each(function(){n.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,s){return!!e.data(t,s[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var s=e.attr(t,"tabindex"),a=isNaN(s);return(a||s>=0)&&i(t,!a)}}),e("<a>").outerWidth(1).jquery||e.each(["Width","Height"],function(i,s){function a(t,i,s,a){return e.each(n,function(){i-=parseFloat(e.css(t,"padding"+this))||0,s&&(i-=parseFloat(e.css(t,"border"+this+"Width"))||0),a&&(i-=parseFloat(e.css(t,"margin"+this))||0)}),i}var n="Width"===s?["Left","Right"]:["Top","Bottom"],r=s.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+s]=function(i){return i===t?o["inner"+s].call(this):this.each(function(){e(this).css(r,a(this,i)+"px")})},e.fn["outer"+s]=function(t,i){return"number"!=typeof t?o["outer"+s].call(this,t):this.each(function(){e(this).css(r,a(this,t,!0,i)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,e.camelCase(i)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.support.selectstart="onselectstart"in document.createElement("div"),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,i,s){var a,n=e.ui[t].prototype;for(a in s)n.plugins[a]=n.plugins[a]||[],n.plugins[a].push([i,s[a]])},call:function(e,t,i){var s,a=e.plugins[t];if(a&&e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType)for(s=0;a.length>s;s++)e.options[a[s][0]]&&a[s][1].apply(e.element,i)}},hasScroll:function(t,i){if("hidden"===e(t).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",a=!1;return t[s]>0?!0:(t[s]=1,a=t[s]>0,t[s]=0,a)}})})(jQuery);/*! jQuery UI - v1.10.3 - 2013-05-03
669* http://jqueryui.com
670* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
671(function(e,t){var i=0,s=Array.prototype.slice,n=e.cleanData;e.cleanData=function(t){for(var i,s=0;null!=(i=t[s]);s++)try{e(i).triggerHandler("remove")}catch(a){}n(t)},e.widget=function(i,s,n){var a,r,o,h,l={},u=i.split(".")[0];i=i.split(".")[1],a=u+"-"+i,n||(n=s,s=e.Widget),e.expr[":"][a.toLowerCase()]=function(t){return!!e.data(t,a)},e[u]=e[u]||{},r=e[u][i],o=e[u][i]=function(e,i){return this._createWidget?(arguments.length&&this._createWidget(e,i),t):new o(e,i)},e.extend(o,r,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),h=new s,h.options=e.widget.extend({},h.options),e.each(n,function(i,n){return e.isFunction(n)?(l[i]=function(){var e=function(){return s.prototype[i].apply(this,arguments)},t=function(e){return s.prototype[i].apply(this,e)};return function(){var i,s=this._super,a=this._superApply;return this._super=e,this._superApply=t,i=n.apply(this,arguments),this._super=s,this._superApply=a,i}}(),t):(l[i]=n,t)}),o.prototype=e.widget.extend(h,{widgetEventPrefix:r?h.widgetEventPrefix:i},l,{constructor:o,namespace:u,widgetName:i,widgetFullName:a}),r?(e.each(r._childConstructors,function(t,i){var s=i.prototype;e.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete r._childConstructors):s._childConstructors.push(o),e.widget.bridge(i,o)},e.widget.extend=function(i){for(var n,a,r=s.call(arguments,1),o=0,h=r.length;h>o;o++)for(n in r[o])a=r[o][n],r[o].hasOwnProperty(n)&&a!==t&&(i[n]=e.isPlainObject(a)?e.isPlainObject(i[n])?e.widget.extend({},i[n],a):e.widget.extend({},a):a);return i},e.widget.bridge=function(i,n){var a=n.prototype.widgetFullName||i;e.fn[i]=function(r){var o="string"==typeof r,h=s.call(arguments,1),l=this;return r=!o&&h.length?e.widget.extend.apply(null,[r].concat(h)):r,o?this.each(function(){var s,n=e.data(this,a);return n?e.isFunction(n[r])&&"_"!==r.charAt(0)?(s=n[r].apply(n,h),s!==n&&s!==t?(l=s&&s.jquery?l.pushStack(s.get()):s,!1):t):e.error("no such method '"+r+"' for "+i+" widget instance"):e.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+r+"'")}):this.each(function(){var t=e.data(this,a);t?t.option(r||{})._init():e.data(this,a,new n(r,this))}),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,s){s=e(s||this.defaultElement||this)[0],this.element=e(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),s!==this&&(e.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===s&&this.destroy()}}),this.document=e(s.style?s.ownerDocument:s.document||s),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(i,s){var n,a,r,o=i;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof i)if(o={},n=i.split("."),i=n.shift(),n.length){for(a=o[i]=e.widget.extend({},this.options[i]),r=0;n.length-1>r;r++)a[n[r]]=a[n[r]]||{},a=a[n[r]];if(i=n.pop(),s===t)return a[i]===t?null:a[i];a[i]=s}else{if(s===t)return this.options[i]===t?null:this.options[i];o[i]=s}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!t).attr("aria-disabled",t),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,s,n){var a,r=this;"boolean"!=typeof i&&(n=s,s=i,i=!1),n?(s=a=e(s),this.bindings=this.bindings.add(s)):(n=s,s=this.element,a=this.widget()),e.each(n,function(n,o){function h(){return i||r.options.disabled!==!0&&!e(this).hasClass("ui-state-disabled")?("string"==typeof o?r[o]:o).apply(r,arguments):t}"string"!=typeof o&&(h.guid=o.guid=o.guid||h.guid||e.guid++);var l=n.match(/^(\w+)\s*(.*)$/),u=l[1]+r.eventNamespace,c=l[2];c?a.delegate(c,u,h):s.bind(u,h)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(t).undelegate(t)},_delay:function(e,t){function i(){return("string"==typeof e?s[e]:e).apply(s,arguments)}var s=this;return setTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,s){var n,a,r=this.options[t];if(s=s||{},i=e.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],a=i.originalEvent)for(n in a)n in i||(i[n]=a[n]);return this.element.trigger(i,s),!(e.isFunction(r)&&r.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(s,n,a){"string"==typeof n&&(n={effect:n});var r,o=n?n===!0||"number"==typeof n?i:n.effect||i:t;n=n||{},"number"==typeof n&&(n={duration:n}),r=!e.isEmptyObject(n),n.complete=a,n.delay&&s.delay(n.delay),r&&e.effects&&e.effects.effect[o]?s[t](n):o!==t&&s[o]?s[o](n.duration,n.easing,a):s.queue(function(i){e(this)[t](),a&&a.call(s[0]),i()})}})})(jQuery);/*! jQuery UI - v1.10.3 - 2013-05-03
672* http://jqueryui.com
673* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
674(function(e){var t=!1;e(document).mouseup(function(){t=!1}),e.widget("ui.mouse",{version:"1.10.3",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(i){return!0===e.data(i.target,t.widgetName+".preventClickEvent")?(e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):undefined}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!t){this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var s=this,n=1===i.which,a="string"==typeof this.options.cancel&&i.target.nodeName?e(i.target).closest(this.options.cancel).length:!1;return n&&!a&&this._mouseCapture(i)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){s.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=this._mouseStart(i)!==!1,!this._mouseStarted)?(i.preventDefault(),!0):(!0===e.data(i.target,this.widgetName+".preventClickEvent")&&e.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return s._mouseMove(e)},this._mouseUpDelegate=function(e){return s._mouseUp(e)},e(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),t=!0,!0)):!0}},_mouseMove:function(t){return e.ui.ie&&(!document.documentMode||9>document.documentMode)&&!t.button?this._mouseUp(t):this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){return e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})(jQuery);/*! jQuery UI - v1.10.3 - 2013-05-03
675* http://jqueryui.com
676* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
677(function(t){var e=5;t.widget("ui.slider",t.ui.mouse,{version:"1.10.3
vendor: 9,999 bytes, line 677
677",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+" ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,s=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),a="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",o=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;i>e;e++)o.push(a);this.handles=n.add(t(o.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,i="";e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=t("<div></div>").appendTo(this.element),i="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(i+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):this.range=t([])},_setupEvents:function(){var t=this.handles.add(this.range).filter("a");this._off(t),this._on(t,this._handleEvents),this._hoverable(t),this._focusable(t)},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var i,s,n,a,o,r,h,l,u=this,c=this.options;return c.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(s-u.values(e));(n>i||n===i&&(e===u._lastChangedValue||u.values(e)===c.min))&&(n=i,a=t(this),o=e)}),r=this._start(e,o),r===!1?!1:(this._mouseSliding=!0,this._handleIndex=o,a.addClass("ui-state-active").focus(),h=a.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-h.left-a.width()/2,top:e.pageY-h.top-a.height()/2-(parseInt(a.css("borderTopWidth"),10)||0)-(parseInt(a.css("borderBottomWidth"),10)||0)+(parseInt(a.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,o,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,s,n,a;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valueMax()-this._valueMin(),a=this._valueMin()+s*n,this._trimAlignValue(a)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("start",t,i)},_slide:function(t,e,i){var s,n,a;this.options.values&&this.options.values.length?(s=this.values(e?0:1),2===this.options.values.length&&this.options.range===!0&&(0===e&&i>s||1===e&&s>i)&&(i=s),i!==this.values(e)&&(n=this.values(),n[e]=i,a=this._trigger("slide",t,{handle:this.handles[e],value:i,values:n}),s=this.values(e?0:1),a!==!1&&this.values(e,i,!0))):i!==this.value()&&(a=this._trigger("slide",t,{handle:this.handles[e],value:i}),a!==!1&&this.value(i))},_stop:function(t,e){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("stop",t,i)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._lastChangedValue=e,this._trigger("change",t,i)}},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0),undefined):this._value()},values:function(e,i){var s,n,a;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),this._change(null,e),undefined;if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(e):this.value();for(s=this.options.values,n=arguments[0],a=0;s.length>a;a+=1)s[a]=this._trimAlignValue(n[a]),this._change(null,a);this._refreshValue()},_setOption:function(e,i){var s,n=0;switch("range"===e&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(n=this.options.values.length),t.Widget.prototype._setOption.apply(this,arguments),e){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=0;n>s;s+=1)this._change(null,s);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,s;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(t){if(this._valueMin()>=t)return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,s=t-i;return 2*Math.abs(i)>=e&&(s+=i>0?e:-e),parseFloat(s.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,s,n,a,o=this.options.range,r=this.options,h=this,l=this._animateOff?!1:r.animate,u={};this.options.values&&this.options.values.length?this.handles.each(function(s){i=100*((h.values(s)-h._valueMin())/(h._valueMax()-h._valueMin())),u["horizontal"===h.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[l?"animate":"css"](u,r.animate),h.options.range===!0&&("horizontal"===h.orientation?(0===s&&h.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===s&&h.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(s=this.value(),n=this._valueMin(),a=this._valueMax(),i=a!==n?100*((s-n)/(a-n)):0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](u,r.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===o&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:r.animate}),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===o&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:r.animate}))},_handleEvents:{keydown:function(i){var s,n,a,o,r=t(i.target).data("ui-slider-handle-index");switch(i.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i.preventDefault(),!this._keySliding&&(this._keySliding=!0,t(i.target).addClass("ui-state-active"),s=this._start(i,r),s===!1))return}switch(o=this.options.step,n=a=this.options.values&&this.options.values.length?this.values(r):this.value(),i.keyCode){case t.ui.keyCode.HOME:a=this._valueMin();break;case t.ui.keyCode.END:a=this._valueMax();break;case t.ui.keyCode.PAGE_UP:a=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.PAGE_DOWN:a=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax())return;a=this._trimAlignValue(n+o);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin())return;a=this._trimAlignValue(n-o)}this._slide(i,r,a)},click:function(t){t.preventDefault()},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),t(e.target).removeClass("ui-state-active"))}}})})(jQuery);
677;var LeoImage360=(function(){var s,u;s=u=(function(){var N={version:"v3.3-b5",UUID:0,storage:{},$uuid:function(R){return(R.$J_UUID||(R.$J_UUID=++H.UUID))},getStorage:function(R){return(H.storage[R]||(H.storage[R]={}))},$F:function(){},$false:function(){return false},$true:function(){return true},stylesId:"mjs-"+Math.floor(Math.random()*new Date().getTime()),defined:function(R){return(undefined!=R)},ifndef:function(S,R){return(undefined!=S)?S:R},exists:function(R){return!!(R)},jTypeOf:function(R){if(!H.defined(R)){return false}
678if(R.$J_TYPE){return R.$J_TYPE}
679if(!!R.nodeType){if(1==R.nodeType){return"element"}
680if(3==R.nodeType){return"textnode"}}
681if(R.length&&R.item){return"collection"}
682if(R.length&&R.callee){return"arguments"}
683if((R instanceof window.Object||R instanceof window.Function)&&R.constructor===H.Class){return"class"}
684if(R instanceof window.Array){return"array"}
685if(R instanceof window.Function){return"function"}
686if(R instanceof window.String){return"string"}
687if(H.browser.trident){if(H.defined(R.cancelBubble)){return"event"}}else{if(R===window.event||R.constructor==window.Event||R.constructor==window.MouseEvent||R.constructor==window.UIEvent||R.constructor==window.KeyboardEvent||R.constructor==window.KeyEvent){return"event"}}
688if(R instanceof window.Date){return"date"}
689if(R instanceof window.RegExp){return"regexp"}
690if(R===window){return"window"}
691if(R===document){return"document"}
692return typeof(R)},extend:function(W,V){if(!(W instanceof window.Array)){W=[W]}
693if(!V){return W[0]}
694for(var U=0,S=W.length;U<S;U++){if(!H.defined(W)){continue}
695for(var T in V){if(!Object.prototype.hasOwnProperty.call(V,T)){continue}
696try{W[U][T]=V[T]}catch(R){}}}
697return W[0]},implement:function(V,U){if(!(V instanceof window.Array)){V=[V]}
698for(var T=0,R=V.length;T<R;T++){if(!H.defined(V[T])){continue}
699if(!V[T].prototype){continue}
700for(var S in(U||{})){if(!V[T].prototype[S]){V[T].prototype[S]=U[S]}}}
701return V[0]},nativize:function(T,S){if(!H.defined(T)){return T}
702for(var R in(S||{})){if(!T[R]){T[R]=S[R]}}
703return T},$try:function(){for(var S=0,R=arguments.length;S<R;S++){try{return arguments[S]()}catch(T){}}
704return null},$A:function(T){if(!H.defined(T)){return H.$([])}
705if(T.toArray){return H.$(T.toArray())}
706if(T.item){var S=T.length||0,R=new Array(S);while(S--){R[S]=T[S]}
707return H.$(R)}
708return H.$(Array.prototype.slice.call(T))},now:function(){return new Date().getTime()},detach:function(V){var T;switch(H.jTypeOf(V)){case"object":T={};for(var U in V){T[U]=H.detach(V[U])}
709break;case"array":T=[];for(var S=0,R=V.length;S<R;S++){T[S]=H.detach(V[S])}
710break;default:return V}
711return H.$(T)},$:function(T){var R=true;if(!H.defined(T)){return null}
712if(T.$J_EXT){return T}
713switch(H.jTypeOf(T)){case"array":T=H.nativize(T,H.extend(H.Array,{$J_EXT:H.$F}));T.jEach=T.forEach;return T;break;case"string":var S=document.getElementById(T);if(H.defined(S)){return H.$(S)}
714return null;break;case"window":case"document":H.$uuid(T);T=H.extend(T,H.Doc);break;case"element":H.$uuid(T);T=H.extend(T,H.Element);break;case"event":T=H.extend(T,H.Event);break;case"textnode":case"function":case"array":case"date":default:R=false;break}
715if(R){return H.extend(T,{$J_EXT:H.$F})}else{return T}},$new:function(R,T,S){return H.$(H.doc.createElement(R)).setProps(T||{}).jSetCss(S||{})},addCSS:function(S,U,Y){var V,T,W,X=[],R=-1;Y||(Y=H.stylesId);V=H.$(Y)||H.$new("style",{id:Y,type:"text/css"}).jAppendTo((document.head||document.body),"top");T=V.sheet||V.styleSheet;if("string"!=H.jTypeOf(U)){for(var W in U){X.push(W+":"+U[W])}
716U=X.join(";")}
717if(T.insertRule){R=T.insertRule(S+" {"+U+"}",T.cssRules.length)}else{R=T.addRule(S,U)}
718return R},removeCSS:function(U,R){var T,S;T=H.$(U);if("element"!==H.jTypeOf(T)){return}
719S=T.sheet||T.styleSheet;if(S.deleteRule){S.deleteRule(R)}else{if(S.removeRule){S.removeRule(R)}}},generateUUID:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(T){var S=Math.random()*16|0,R=T=="x"?S:(S&3|8);return R.toString(16)}).toUpperCase()},getAbsoluteURL:(function(){var R;return function(S){if(!R){R=document.createElement("a")}
720R.setAttribute("href",S);return("!!"+R.href).replace("!!","")}})(),getHashCode:function(T){var U=0,R=T.length;for(var S=0;S<R;++S){U=31*U+T.charCodeAt(S);U%=4294967296}
721return U}};var H=N;var I=N.$;if(!window.leoimageJS){window.leoimageJS=N;window.$mjs=N.$}
722H.Array={$J_TYPE:"array",indexOf:function(U,V){var R=this.length;for(var S=this.length,T=(V<0)?Math.max(0,S+V):V||0;T<S;T++){if(this[T]===U){return T}}
723return-1},contains:function(R,S){return this.indexOf(R,S)!=-1}
723,forEach:function(R,U){for(var T=0,S=this.length;T<S;T++){if(T in this){R.call(U,this[T],T,this)}}},filter:function(R,W){var V=[];for(var U=0,S=this.length;U<S;U++){if(U in this){var T=this[U];if(R.call(W,this[U],U,this)){V.push(T)}}}
724return V},map:function(R,V){var U=[];for(var T=0,S=this.length;T<S;T++){if(T in this){U[T]=R.call(V,this[T],T,this)}}
725return U}};H.implement(String,{$J_TYPE:"string",jTrim:function(){return this.replace(/^\s+|\s+$/g,"")},eq:function(R,S){return(S||false)?(this.toString()===R.toString()):(this.toLowerCase().toString()===R.toLowerCase().toString())},jCamelize:function(){return this.replace(/-\D/g,function(R){return R.charAt(1).toUpperCase()})},dashize:function(){return this.replace(/[A-Z]/g,function(R){return("-"+R.charAt(0).toLowerCase())})},jToInt:function(R){return parseInt(this,R||10)},toFloat:function(){return parseFloat(this)},jToBool:function(){return!this.replace(/true/i,"").jTrim()},has:function(S,R){R=R||"";return(R+this+R).indexOf(R+S+R)>-1}});N.implement(Function,{$J_TYPE:"function",jBind:function(){var S=H.$A(arguments),R=this,T=S.shift();return function(){return R.apply(T||null,S.concat(H.$A(arguments)))}},jBindAsEvent:function(){var S=H.$A(arguments),R=this,T=S.shift();return function(U){return R.apply(T||null,H.$([U||(H.browser.ieMode?window.event:null)]).concat(S))}},jDelay:function(){var S=H.$A(arguments),R=this,T=S.shift();return window.setTimeout(function(){return R.apply(R,S)},T||0)},jDefer:function(){var S=H.$A(arguments),R=this;return function(){return R.jDelay.apply(R,S)}},interval:function(){var S=H.$A(arguments),R=this,T=S.shift();return window.setInterval(function(){return R.apply(R,S)},T||0)}});var O={},G=navigator.userAgent.toLowerCase(),F=G.match(/(webkit|gecko|trident|presto)\/(\d+\.?\d*)/i),K=G.match(/(edge|opr)\/(\d+\.?\d*)/i)||G.match(/(crios|chrome|safari|firefox|opera|opr)\/(\d+\.?\d*)/i),M=G.match(/version\/(\d+\.?\d*)/i),B=document.documentElement.style;function C(S){var R=S.charAt(0).toUpperCase()+S.slice(1);return S in B||("Webkit"+R)in B||("Moz"+R)in B||("ms"+R)in B||("O"+R)in B}
726H.browser={features:{xpath:!!(document.evaluate),air:!!(window.runtime),query:!!(document.querySelector),fullScreen:!!(document.fullscreenEnabled||document.msFullscreenEnabled||document.exitFullscreen||document.cancelFullScreen||document.webkitexitFullscreen||document.webkitCancelFullScreen||document.mozCancelFullScreen||document.oCancelFullScreen||document.msCancelFullScreen),xhr2:!!(window.ProgressEvent)&&!!(window.FormData)&&(window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest),transition:C("transition"),transform:C("transform"),perspective:C("perspective"),animation:C("animation"),requestAnimationFrame:false,multibackground:false,cssFilters:false,canvas:false,svg:(function(){return document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")})()},touchScreen:function(){return"ontouchstart"in window||(window.DocumentTouch&&document instanceof DocumentTouch)||(navigator.maxTouchPoints>0)||(navigator.msMaxTouchPoints>0)}(),mobile:G.match(/(android|bb\d+|meego).+|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od|ad)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/)?true:false,engine:(F&&F[1])?F[1].toLowerCase():(window.opera)?"presto":!!(window.ActiveXObject)?"trident":(undefined!==document.getBoxObjectFor||null!=window.mozInnerScreenY)?"gecko":(null!==window.WebKitPoint||!navigator.taintEnabled)?"webkit":"unknown",version:(F&&F[2])?parseFloat(F[2]):0,uaName:(K&&K[1])?K[1].toLowerCase():"",uaVersion:(K&&K[2])?parseFloat(K[2]):0,cssPrefix:"",cssDomPrefix:"",domPrefix:"",ieMode:0,platform:G.match(/ip(?:ad|od|hone)/)?"ios":(G.match(/(?:webos|android)/)||navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),backCompat:document.compatMode&&"backcompat"==document.compatMode.toLowerCase(),scrollbarsWidth:0,getDoc:function(){return(document.compatMode&&"backcompat"==document.compatMode.toLowerCase())?document.body:document.documentElement},requestAnimationFrame:window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||undefined,cancelAnimationFrame:window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||window.webkitCancelRequestAnimationFrame||undefined,ready:false,onready:function(){if(H.browser.ready){return}
727var U,T;H.browser.ready=true;H.body=H.$(document.body);H.win=H.$(window);try{var S=H.$new("div").jSetCss({width:100,height:100,overflow:"scroll",position:"absolute",top:-9999}).jAppendTo(document.body);H.browser.scrollbarsWidth=S.offsetWidth-S.clientWidth;S.jRemove()}catch(R){}
728try{U=H.$new("div");T=U.style;T.cssText="background:url(https://),url(https://),red url(https://)";H.browser.features.multibackground=(/(url\s*\(.*?){3}/).test(T.background);T=null;U=null}catch(R){}
729if(!H.browser.cssTransformProp){H.browser.cssTransformProp=H.normalizeCSS("transform").dashize()}
730try{U=H.$new("div");U.style.cssText=H.normalizeCSS("filter").dashize()+":blur(2px);";H.browser.features.cssFilters=!!U.style.length&&(!H.browser.ieMode||H.browser.ieMode>9);U=null}catch(R){}
731if(!H.browser.features.cssFilters){H.$(document.documentElement).jAddClass("no-cssfilters-leoimage")}
732try{H.browser.features.canvas=(function(){var V=H.$new("canvas");return!!(V.getContext&&V.getContext("2d"))})()}catch(R){}
733if(undefined===window.TransitionEvent&&undefined!==window.WebKitTransitionEvent){O.transitionend="webkitTransitionEnd"}
734H.Doc.jCallEvent.call(H.$(document),"domready")}};(function(){var W=[],V,U,S;function R(){return!!(arguments.callee.caller)}
735switch(H.browser.engine){case"trident":if(!H.browser.version){H.browser.version=!!(window.XMLHttpRequest)?3:2}
736break;case"gecko":H.browser.version=(K&&K[2])?parseFloat(K[2]):0;break}
737H.browser[H.browser.engine]=true;if(K&&"crios"===K[1]){H.browser.uaName="chrome"}
738if(!!window.chrome){H.browser.chrome=true}
739if(K&&"opr"===K[1]){H.browser.uaName="opera";H.browser.opera=true}
740if("safari"===H.browser.uaName&&(M&&M[1])){H.browser.uaVersion=parseFloat(M[
7401])}
741if("android"==H.browser.platform&&H.browser.webkit&&(M&&M[1])){H.browser.androidBrowser=true}
742V=({gecko:["-moz-","Moz","moz"],webkit:["-webkit-","Webkit","webkit"],trident:["-ms-","ms","ms"],presto:["-o-","O","o"]})[H.browser.engine]||["","",""];H.browser.cssPrefix=V[0];H.browser.cssDomPrefix=V[1];H.browser.domPrefix=V[2];H.browser.ieMode=(!H.browser.trident)?undefined:(document.documentMode)?document.documentMode:function(){var X=0;if(H.browser.backCompat){return 5}
743switch(H.browser.version){case 2:X=6;break;case 3:X=7;break}
744return X}();W.push(H.browser.platform+"-leoimage");if(H.browser.mobile){W.push("mobile-leoimage")}
745if(H.browser.androidBrowser){W.push("android-browser-leoimage")}
746if(H.browser.ieMode){H.browser.uaName="ie";H.browser.uaVersion=H.browser.ieMode;W.push("ie"+H.browser.ieMode+"-leoimage");for(U=11;U>H.browser.ieMode;U--){W.push("lt-ie"+U+"-leoimage")}}
747if(H.browser.webkit&&H.browser.version<536){H.browser.features.fullScreen=false}
748if(H.browser.requestAnimationFrame){H.browser.requestAnimationFrame.call(window,function(){H.browser.features.requestAnimationFrame=true})}
749if(H.browser.features.svg){W.push("svg-leoimage")}else{W.push("no-svg-leoimage")}
750S=(document.documentElement.className||"").match(/\S+/g)||[];document.documentElement.className=H.$(S).concat(W).join(" ");try{document.documentElement.setAttribute("data-leoimage-ua",H.browser.uaName);document.documentElement.setAttribute("data-leoimage-ua-ver",H.browser.uaVersion)}catch(T){}
751if(H.browser.ieMode&&H.browser.ieMode<9){document.createElement("figure");document.createElement("figcaption")}})();(function(){H.browser.fullScreen={capable:H.browser.features.fullScreen,enabled:function(){return!!(document.fullscreenElement||document[H.browser.domPrefix+"FullscreenElement"]||document.fullScreen||document.webkitIsFullScreen||document[H.browser.domPrefix+"FullScreen"])},request:function(R,S){S||(S={});if(this.capable){H.$(document).jAddEvent(this.changeEventName,this.onchange=function(T){if(this.enabled()){S.onEnter&&S.onEnter()}else{H.$(document).jRemoveEvent(this.changeEventName,this.onchange);S.onExit&&S.onExit()}}.jBindAsEvent(this));H.$(document).jAddEvent(this.errorEventName,this.onerror=function(T){S.fallback&&S.fallback();H.$(document).jRemoveEvent(this.errorEventName,this.onerror)}.jBindAsEvent(this));(R[H.browser.domPrefix+"RequestFullscreen"]||R[H.browser.domPrefix+"RequestFullScreen"]||R.requestFullscreen||function(){}).call(R)}else{if(S.fallback){S.fallback()}}},cancel:(document.exitFullscreen||document.cancelFullScreen||document[H.browser.domPrefix+"ExitFullscreen"]||document[H.browser.domPrefix+"CancelFullScreen"]||function(){}).jBind(document),changeEventName:document.msExitFullscreen?"MSFullscreenChange":(document.exitFullscreen?"":H.browser.domPrefix)+"fullscreenchange",errorEventName:document.msExitFullscreen?"MSFullscreenError":(document.exitFullscreen?"":H.browser.domPrefix)+"fullscreenerror",prefix:H.browser.domPrefix,activeElement:null}})();var Q=/\S+/g,E=/^(border(Top|Bottom|Left|Right)Width)|((padding|margin)(Top|Bottom|Left|Right))$/,J={"float":("undefined"===typeof(B.styleFloat))?"cssFloat":"styleFloat"},L={fontWeight:true,lineHeight:true,opacity:true,zIndex:true,zoom:true},D=(window.getComputedStyle)?function(T,R){var S=window.getComputedStyle(T,null);return S?S.getPropertyValue(R)||S[R]:null}:function(U,S){var T=U.currentStyle,R=null;R=T?T[S]:null;if(null==R&&U.style&&U.style[S]){R=U.style[S]}
752return R};function P(T){var R,S;S=(H.browser.webkit&&"filter"==T)?false:(T in B);if(!S){R=H.browser.cssDomPrefix+T.charAt(0).toUpperCase()+T.slice(1);if(R in B){return R}}
753return T}
754H.normalizeCSS=P;H.Element={jHasClass:function(R){return!(R||"").has(" ")&&(this.className||"").has(R," ")},jAddClass:function(V){var S=(this.className||"").match(Q)||[],U=(V||"").match(Q)||[],R=U.length,T=0;for(;T<R;T++){if(!H.$(S).contains(U[T])){S.push(U[T])}}
755this.className=S.join(" ");return this},jRemoveClass:function(W){var S=(this.className||"").match(Q)||[],V=(W||"").match(Q)||[],R=V.length,U=0,T;for(;U<R;U++){if((T=H.$(S).indexOf(V[U]))>-1){S.splice(T,1)}}
756this.className=W?S.join(" "):"";return this},jToggleClass:function(R){return this.jHasClass(R)?this.jRemoveClass(R):this.jAddClass(R)},jGetCss:function(S){var T=S.jCamelize(),R=null;S=J[T]||(J[T]=P(T));R=D(this,S);if("auto"===R){R=null}
757if(null!==R){if("opacity"==S){return H.defined(R)?parseFloat(R):1}
758if(E.test(S)){R=parseInt(R,10)?R:"0px"}}
759return R},jSetCssProp:function(S,R){var U=S.jCamelize();try{if("opacity"==S){this.jSetOpacity(R);return this}
760S=J[U]||(J[U]=P(U));this.style[S]=R+(("number"==H.jTypeOf(R)&&!L[U])?"px":"")}catch(T){}
761return this},jSetCss:function(S){for(var R in S){this.jSetCssProp(R,S[R])}
762return this},jGetStyles:function(){var R={};H.$A(arguments).jEach(function(S){R[S]=this.jGetCss(S)},this);return R},jSetOpacity:function(T,R){var S;R=R||false;this.style.opacity=T;T=parseInt(parseFloat(T)*100);if(R){if(0===T){if("hidden"!=this.style.visibility){this.style.visibility="hidden"}}else{if("visible"!=this.style.visibility){this.style.visibility="visible"}}}
763if(H.browser.ieMode&&H.browser.ieMode<9){if(!isNaN(T)){if(!~this.style.filter.indexOf("Alpha")){this.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(Opacity="+T+")"}else{this.style.filter=this.style.filter.replace(/Opacity=\d*/i,"Opacity="+T)}}else{this.style.filter=this.style.filter.replace(/progid:DXImageTransform.Microsoft.Alpha\(Opacity=\d*\)/i,"").jTrim();if(""===this.style.filter){this.style.removeAttribute("filter")}}}
764return this},setProps:function(R){for(var S in R){if("class"===S){this.jAddClass(""+R[S])}else{this.setAttribute(S,""+R[S])}}
765return this},jGetTransitionDuration:function(){var S=0,R=0;S=this.jGetCss("transition-duration");R=this.jGetCss("transition-delay");S=S.indexOf("ms")>-1?parseFloat(S):S.indexOf("s")>-1?parseFloat(S)*1000:0;R=R.indexOf("ms")>-1?parseFloat(R):R.indexOf("s")>-1?parseFloat(R)*1000:0;return S+R},hide:function(){return this.jSetCss({display:"none",visibility:"hidden"})},show:function(){return this.jSetCss({display:"",visibility:"visible"})},jGetSize:function(){return{width:this.offsetWidth,height:this.offsetHeight}},getInnerSize:function(S){var R=this.jGetSize();R.width-=(parseFloat(this.jGetCss("border-left-width")||0)+parseFloat(this.jGetCss("border-right-width")||0));R.height-=(parseFloat(this.jGetCss("border-top-width")||0)+parseFloat(this.jGetCss("border-bottom-width")||0));if(!S){R.width-=(parseFloat(this.jGetCss("padding-left")||0)+parseFloat(this.jGetCss("padding-right")||0));R.height-=(parseFloat(this.jGetCss("padding-top")||0)+parseFloat(this.jGetCss("padding-bottom")||0))}
766return R},jGetScroll:function(){return{top:this.scrollTop,left:this.scrollLeft}},jGetFullScroll:function(){var R=this,S={top:0,left:0};do{S.left+=R.scrollLeft||0;S.top+=R.scrollTop||0;R=R.parentNode}while(R);return S},jGetPosition:function(){var V=this,S=0,U=0;if(H.defined(document.documentElement.getBoundingClientRect)){var R=this.getBoundingClientRect(),T=H.$(document).jGetScroll(),W=H.browser.getDoc();return{top:R.top+T.y-W.clientTop,left:R.left+T.x-W.clientLeft}}
767do{S+=V.offsetLeft||0;U+=V.offsetTop||0;V=V.offsetParent}while(V&&!(/^(?:body|html)$/i).test(V.tagName));return{top:U,left:S}},jGetRect:function(){var S=this.jGetPosition();var R=this.jGetSize();return{top:S.top,bottom:S.top+R.height,left:S.left,right:S.left+R.width}},changeContent:function(S){try{this.innerHTML=S}catch(R){this.innerText=S}
768return this},jRemove:function(){return(this.parentNode)?this.parentNode.removeChild(this):this},kill:function(){H.$A(this.childNodes).jEach(function(R){if(3==R.nodeType||8==R.nodeType){return}
769H.$(R).kill()});this.jRemove();this.jClearEvents();if(this.$J_UUID){H.storage[this.$J_UUID]=null;delete H.storage[this.$J_UUID]}
770return null},append:function(T,S){S=S||"bottom";var R=this.firstChild;("top"==S&&R)?this.insertBefore(T,R):this.appendChild(T);return this},jAppendTo:function(T,S){var R=H.$(T).append(this,S);return this},enclose:function(R){this.append(R.parentNode.replaceChild(this,R));return this},hasChild:function(R){if("element"!==H.jTypeOf("string"==H.jTypeOf(R)?R=document.getElementById(R):R)){return false}
771return(this==R)?false:(this.contains&&!(H.browser.webkit419))?(this.contains(R)):(this.compareDocumentPosition)?!!(this.compareDocumentPosition(R)&16):H.$A(this.byTag(R.tagName)).contains(R)}};H.Element.jGetStyle=H.Element.jGetCss;H.Element.jSetStyle=H.Element.jSetCss;if(!window.Element){window.Element=H.$F;if(H.browser.engine.webkit){window.document.createElement("iframe")}
772window.Element.prototype=(H.browser.engine.webkit)?window["[[DOMElement.prototype]]"]:{}}
773H.implement(window.Element,{$J_TYPE:"element"});H.Doc={jGetSize:function(){if(H.browser.touchScreen||H.browser.presto925||H.browser.webkit419){return{width:window.innerWidth,height:window.innerHeight}}
774return{width:H.browser.getDoc().clientWidth,height:H.browser.getDoc().clientHeight}},jGetScroll:function(){return{x:window.pageXOffset||H.browser.getDoc().scrollLeft,y:window.pageYOffset||H.browser.getDoc().scrollTop}},jGetFullSize:function(){var R=this.jGetSize();return{width:Math.max(H.browser.getDoc().scrollWidth,R.width),height:Math.max(H.browser.getDoc().scrollHeight,R.height)}}};H.extend(document,{$J_TYPE:"document"});H.extend(window,{$J_TYPE:"window"});H.extend([H.Element,H.Doc],{jFetch:function(U,S){var R=H.getStorage(this.$J_UUID),T=R[U];if(undefined!==S&&undefined===T){T=R[U]=S}
775return(H.defined(T)?T:null)},jStore:function(T,S){var R=H.getStorage(this.$J_UUID);R[T]=S;return this},jDel:function(S){var R=H.getStorage(this.$J_UUID);delete R[S];return this}});if(!(window.HTMLElement&&window.HTMLElement.prototype&&window.HTMLElement.prototype.getElementsByClassName)){H.extend([H.Element,H.Doc],{getElementsByClassName:function(R){return H.$A(this.getElementsByTagName("*")).filter(function(T){try{return(1==T.nodeType&&T.className.has(R," "))}catch(S){}})}})}
776H.extend([H.Element,H.Doc],{byClass:function(){return this.getElementsByClassName(arguments[0])},byTag:function(){return this.getElementsByTagName(arguments[0])}});if(H.browser.fullScreen.capable&&!document.requestFullScreen){H.Element.requestFullScreen=function(){H.browser.fullScreen.request(this)}}
777H.Event={$J_TYPE:"event",isQueueStopped:H.$false,stop:function(){return this.stopDistribution().stopDefaults()},stopDistribution:function(){if(this.stopPropagation){this.stopPropagation()}else{this.cancelBubble=true}
778return this},stopDefaults:function(){if(this.preventDefault){this.preventDefault()}else{this.returnValue=false}
779return this},stopQueue:function(){this.isQueueStopped=H.$true;return this},getClientXY:function(){var S,R;S=((/touch/i).test(this.type))?this.changedTouches[0]:this;return(!H.defined(S))?{x:0,y:0}:{x:S.clientX,y:S.clientY}},jGetPageXY:function(){var S,R;S=((/touch/i).test(this.type))?this.changedTouches[0]:this;return(!H.defined(S))?{x:0,y:0}:{x:S.pageX||S.clientX+H.browser.getDoc().scrollLeft,y:S.pageY||S.clientY+H.browser.getDoc().scrollTop}},getTarget:function(){var R=this.target||this.srcElement;while(R&&3==R.nodeType){R=R.parentNode}
780return R},getRelated:function(){var S=null;switch(this.type){case"mouseover":case"pointerover":case"MSPointerOver":S=this.relatedTarget||this.fromElement;break;case"mouseout":case"pointerout":case"MSPointerOut":S=this.relatedTarget||this.toElement;break;default:return S}
781try{while(S&&3==S.nodeType){S=S.parentNode}}catch(R){S=null}
782return S},getButton:function(){if(!this.which&&this.button!==undefined){return(this.button&1?1:(this.button&2?3:(this.button&4?2:0)))}
783return this.which},isTouchEvent:function(){return(this.pointerType&&("touch"===this.pointerType||this.pointerType===this.MSPOINTER_TYPE_TOUCH))||(/touch/i).test(this.type)},isPrimaryTouch:function(){return this.pointerType?(("touch"===this.pointerType||this.MSPOINTER_TYPE_TOUCH===this.pointerType)&&this.isPrimary):1===this.changedTouches.length&&(this.targetTouches.length?this.targetTouches[0].identifier==this.changedTouches[0].identifier:true)}};H._event_add_="addEventListener";H._event_del_="removeEventListener";H._event_prefix_="";if(!document.addEventListener){H._event_add_="attachEvent";H._event_del_="detachEvent";H._event_prefix_="on"}
784H.Event.Custom={type:"",x:null,y:null,timeStamp:null,button:null,target:null,relatedTarget:null,$J_TYPE:"event.custom",isQueueStopped:H.$false,events:H.$([]),pushToEvents:function(R){var S=R;this.events.push(S)},stop:function(){return this.stopDistribution().stopDefaults()},stopDistribution:function(){this.events.jEach(function(S){try{S.stopDistribution()}catch(R){}});return this},stopDefaults:function(){this.events.jEach(function(S){try{S.stopDefaults()}catch(R){}});return this},stopQueue:function(){this.isQueueStopped=H.$true;return this},getClientXY:function(){return{x:this.clientX,y:this.clientY}},jGetPageXY:function(){return{x:this.x,y:this.y}},getTarget:function(){return this.target},getRelated:function(){return this.relatedTarget},getButton:function(){return this.button},getOriginalTarget:function(){return this.events.length>0?this.events[0].getTarget():undefined}};H.extend([H.Element,H.Doc],{jAddEvent:function(T,V,W,Z){var Y,R,U,X,S;if("string"==H.jTypeOf(T)){S=T.split(" ");if(S.length>1){T=S}}
785if(H.jTypeOf(T)=="array"){H.$(T).jEach(this.jAddEvent.jBindAsEvent(this,V,W,Z));return this}
786if(!T||!V||H.jTypeOf(T)!="string"||H.jTypeOf(V)!="function"){return this}
787if(T=="domready"&&H.browser.ready){V.call(this);return this}
788T=O[T]||T;W=parseInt(W||50);if(!V.$J_EUID){V.$J_EUID=Math.floor(Math.random()*H.now())}
789Y=H.Doc.jFetch.call(this,"_EVENTS_",{});R=Y[T];if(!R){Y[T]=R=H.$([]);U=this;if(H.Event.Custom[T]){H.Event.Custom[T].handler.add.call(this,Z)}else{R.handle=function(aa){aa=H.extend(aa||window.e,{$J_TYPE:"event"});H.Doc.jCallEvent.call(U,T,H.$(aa))};this[H._event_add_](H._event_prefix_+T,R.handle,false)}}
790X={type:T,fn:V,priority:W,euid:V.$J_EUID};R.push(X);R.sort(function(ab,aa){return ab.priority-aa.priority});return this},jRemoveEvent:function(X){var V=H.Doc.jFetch.call(this,"_EVENTS_",{}),T,R,S,Y,W,U;W=arguments.length>1?arguments[1]:-100;if("string"==H.jTypeOf(X)){U=X.split(" ");if(U.length>1){X=U}}
791if(H.jTypeOf(X)=="array"){H.$(X).jEach(this.jRemoveEvent.jBindAsEvent(this,W));return this}
792X=O[X]||X;
792if(!X||H.jTypeOf(X)!="string"||!V||!V[X]){return this}
793T=V[X]||[];for(S=0;S<T.length;S++){R=T[S];if(-100==W||!!W&&W.$J_EUID===R.euid){Y=T.splice(S--,1)}}
794if(0===T.length){if(H.Event.Custom[X]){H.Event.Custom[X].handler.jRemove.call(this)}else{this[H._event_del_](H._event_prefix_+X,T.handle,false)}
795delete V[X]}
796return this},jCallEvent:function(V,X){var U=H.Doc.jFetch.call(this,"_EVENTS_",{}),T,R,S;V=O[V]||V;if(!V||H.jTypeOf(V)!="string"||!U||!U[V]){return this}
797try{X=H.extend(X||{},{type:V})}catch(W){}
798if(undefined===X.timeStamp){X.timeStamp=H.now()}
799T=U[V]||[];for(S=0;S<T.length&&!(X.isQueueStopped&&X.isQueueStopped());S++){T[S].fn.call(this,X)}},jRaiseEvent:function(S,R){var V=("domready"==S)?false:true,U=this,T;S=O[S]||S;if(!V){H.Doc.jCallEvent.call(this,S);return this}
800if(U===document&&document.createEvent&&!U.dispatchEvent){U=document.documentElement}
801if(document.createEvent){T=document.createEvent(S);T.initEvent(R,true,true)}else{T=document.createEventObject();T.eventType=S}
802if(document.createEvent){U.dispatchEvent(T)}else{U.fireEvent("on"+R,T)}
803return T},jClearEvents:function(){var S=H.Doc.jFetch.call(this,"_EVENTS_");if(!S){return this}
804for(var R in S){H.Doc.jRemoveEvent.call(this,R)}
805H.Doc.jDel.call(this,"_EVENTS_");return this}});(function(R){if("complete"===document.readyState){return R.browser.onready.jDelay(1)}
806if(R.browser.webkit&&R.browser.version<420){(function(){(R.$(["loaded","complete"]).contains(document.readyState))?R.browser.onready():arguments.callee.jDelay(50)})()}else{if(R.browser.trident&&R.browser.ieMode<9&&window==top){(function(){(R.$try(function(){R.browser.getDoc().doScroll("left");return true}))?R.browser.onready():arguments.callee.jDelay(50)})()}else{R.Doc.jAddEvent.call(R.$(document),"DOMContentLoaded",R.browser.onready);R.Doc.jAddEvent.call(R.$(window),"load",R.browser.onready)}}})(N);H.Class=function(){var V=null,S=H.$A(arguments);if("class"==H.jTypeOf(S[0])){V=S.shift()}
807var R=function(){for(var Y in this){this[Y]=H.detach(this[Y])}
808if(this.constructor.$parent){this.$parent={};var aa=this.constructor.$parent;for(var Z in aa){var X=aa[Z];switch(H.jTypeOf(X)){case"function":this.$parent[Z]=H.Class.wrap(this,X);break;case"object":this.$parent[Z]=H.detach(X);break;case"array":this.$parent[Z]=H.detach(X);break}}}
809var W=(this.init)?this.init.apply(this,arguments):this;delete this.caller;return W};if(!R.prototype.init){R.prototype.init=H.$F}
810if(V){var U=function(){};U.prototype=V.prototype;R.prototype=new U;R.$parent={};for(var T in V.prototype){R.$parent[T]=V.prototype[T]}}else{R.$parent=null}
811R.constructor=H.Class;R.prototype.constructor=R;H.extend(R.prototype,S[0]);H.extend(R,{$J_TYPE:"class"});return R};N.Class.wrap=function(R,S){return function(){var U=this.caller;var T=S.apply(R,arguments);return T}};(function(U){var T=U.$;var R=5,S=300;U.Event.Custom.btnclick=new U.Class(U.extend(U.Event.Custom,{type:"btnclick",init:function(X,W){var V=W.jGetPageXY();this.x=V.x;this.y=V.y;this.clientX=W.clientX;this.clientY=W.clientY;this.timeStamp=W.timeStamp;this.button=W.getButton();this.target=X;this.pushToEvents(W)}}));U.Event.Custom.btnclick.handler={options:{threshold:S,button:1},add:function(V){this.jStore("event:btnclick:options",U.extend(U.detach(U.Event.Custom.btnclick.handler.options),V||{}));this.jAddEvent("mousedown",U.Event.Custom.btnclick.handler.handle,1);this.jAddEvent("mouseup",U.Event.Custom.btnclick.handler.handle,1);this.jAddEvent("click",U.Event.Custom.btnclick.handler.onclick,1);if(U.browser.trident&&U.browser.ieMode<9){this.jAddEvent("dblclick",U.Event.Custom.btnclick.handler.handle,1)}},jRemove:function(){this.jRemoveEvent("mousedown",U.Event.Custom.btnclick.handler.handle);this.jRemoveEvent("mouseup",U.Event.Custom.btnclick.handler.handle);this.jRemoveEvent("click",U.Event.Custom.btnclick.handler.onclick);if(U.browser.trident&&U.browser.ieMode<9){this.jRemoveEvent("dblclick",U.Event.Custom.btnclick.handler.handle)}},onclick:function(V){V.stopDefaults()},handle:function(Y){var X,V,W;V=this.jFetch("event:btnclick:options");if(Y.type!="dblclick"&&Y.getButton()!=V.button){return}
812if(this.jFetch("event:btnclick:ignore")){this.jDel("event:btnclick:ignore");return}
813if("mousedown"==Y.type){X=new U.Event.Custom.btnclick(this,Y);this.jStore("event:btnclick:btnclickEvent",X)}else{if("mouseup"==Y.type){X=this.jFetch("event:btnclick:btnclickEvent");if(!X){return}
814W=Y.jGetPageXY();this.jDel("event:btnclick:btnclickEvent");X.pushToEvents(Y);
814if(Y.timeStamp-X.timeStamp<=V.threshold&&Math.sqrt(Math.pow(W.x-X.x,2)+Math.pow(W.y-X.y,2))<=R){this.jCallEvent("btnclick",X)}
815document.jCallEvent("mouseup",Y)}else{if(Y.type=="dblclick"){X=new U.Event.Custom.btnclick(this,Y);this.jCallEvent("btnclick",X)}}}}}})(N);(function(S){var R=S.$;S.Event.Custom.mousedrag=new S.Class(S.extend(S.Event.Custom,{type:"mousedrag",state:"dragstart",dragged:false,init:function(W,V,U){var T=V.jGetPageXY();this.x=T.x;this.y=T.y;this.clientX=V.clientX;this.clientY=V.clientY;this.timeStamp=V.timeStamp;this.button=V.getButton();this.target=W;this.pushToEvents(V);this.state=U}}));S.Event.Custom.mousedrag.handler={add:function(){var U=S.Event.Custom.mousedrag.handler.handleMouseMove.jBindAsEvent(this),T=S.Event.Custom.mousedrag.handler.handleMouseUp.jBindAsEvent(this);this.jAddEvent("mousedown",S.Event.Custom.mousedrag.handler.handleMouseDown,1);this.jAddEvent("mouseup",S.Event.Custom.mousedrag.handler.handleMouseUp,1);document.jAddEvent("mousemove",U,1);document.jAddEvent("mouseup",T,1);this.jStore("event:mousedrag:listeners:document:move",U);this.jStore("event:mousedrag:listeners:document:end",T)},jRemove:function(){this.jRemoveEvent("mousedown",S.Event.Custom.mousedrag.handler.handleMouseDown);this.jRemoveEvent("mouseup",S.Event.Custom.mousedrag.handler.handleMouseUp);R(document).jRemoveEvent("mousemove",this.jFetch("event:mousedrag:listeners:document:move")||S.$F);R(document).jRemoveEvent("mouseup",this.jFetch("event:mousedrag:listeners:document:end")||S.$F);this.jDel("event:mousedrag:listeners:document:move");this.jDel("event:mousedrag:listeners:document:end")},handleMouseDown:function(U){var T;if(1!=U.getButton()){return}
816T=new S.Event.Custom.mousedrag(this,U,"dragstart");this.jStore("event:mousedrag:dragstart",T)},handleMouseUp:function(U){var T;T=this.jFetch("event:mousedrag:dragstart");if(!T){return}
817U.stopDefaults();T=new S.Event.Custom.mousedrag(this,U,"dragend");this.jDel("event:mousedrag:dragstart");this.jCallEvent("mousedrag",T)},handleMouseMove:function(U){var T;T=this.jFetch("event:mousedrag:dragstart");if(!T){return}
818U.stopDefaults();if(!T.dragged){T.dragged=true;this.jCallEvent("mousedrag",T)}
819T=new S.Event.Custom.mousedrag(this,U,"dragmove");this.jCallEvent("mousedrag",T)}}})(N);(function(S){var R=S.$;S.Event.Custom.dblbtnclick=new S.Class(S.extend(S.Event.Custom,{type:"dblbtnclick",timedout:false,tm:null,init:function(V,U){var T=U.jGetPageXY();this.x=T.x;this.y=T.y;this.clientX=U.clientX;this.clientY=U.clientY;this.timeStamp=U.timeStamp;this.button=U.getButton();this.target=V;this.pushToEvents(U)}}));S.Event.Custom.dblbtnclick.handler={options:{threshold:200},add:function(T){this.jStore("event:dblbtnclick:options",S.extend(S.detach(S.Event.Custom.dblbtnclick.handler.options),T||{}));this.jAddEvent("btnclick",S.Event.Custom.dblbtnclick.handler.handle,1)},jRemove:function(){this.jRemoveEvent("btnclick",S.Event.Custom.dblbtnclick.handler.handle)},handle:function(V){var U,T;U=this.jFetch("event:dblbtnclick:event");T=this.jFetch("event:dblbtnclick:options");if(!U){U=new S.Event.Custom.dblbtnclick(this,V);U.tm=setTimeout(function(){U.timedout=true;V.isQueueStopped=S.$false;this.jCallEvent("btnclick",V);this.jDel("event:dblbtnclick:event")}.jBind(this),T.threshold+10);this.jStore("event:dblbtnclick:event",U);V.stopQueue()}else{clearTimeout(U.tm);this.jDel("event:dblbtnclick:event");if(!U.timedout){U.pushToEvents(V);V.stopQueue().stop();this.jCallEvent("dblbtnclick",U)}else{}}}}})(N);(function(X){var W=X.$;function R(Y){return Y.pointerType?(("touch"===Y.pointerType||Y.MSPOINTER_TYPE_TOUCH===Y.pointerType)&&Y.isPrimary):1===Y.changedTouches.length&&(Y.targetTouches.length?Y.targetTouches[0].identifier==Y.changedTouches[0].identifier:true)}
820function T(Y){if(Y.pointerType){return("touch"===Y.pointerType||Y.MSPOINTER_TYPE_TOUCH===Y.pointerType)?Y.pointerId:null}else{return Y.changedTouches[0].identifier}}
821function U(Y){if(Y.pointerType){return("touch"===Y.pointerType||Y.MSPOINTER_TYPE_TOUCH===Y.pointerType)?Y:null}else{return Y.changedTouches[0]}}
822X.Event.Custom.tap=new X.Class(X.extend(X.Event.Custom,{type:"tap",
822id:null,init:function(Z,Y){var aa=U(Y);this.id=aa.pointerId||aa.identifier;this.x=aa.pageX;this.y=aa.pageY;this.pageX=aa.pageX;this.pageY=aa.pageY;this.clientX=aa.clientX;this.clientY=aa.clientY;this.timeStamp=Y.timeStamp;this.button=0;this.target=Z;this.pushToEvents(Y)}}));var S=10,V=200;X.Event.Custom.tap.handler={add:function(Y){this.jAddEvent(["touchstart",window.navigator.pointerEnabled?"pointerdown":"MSPointerDown"],X.Event.Custom.tap.handler.onTouchStart,1);this.jAddEvent(["touchend",window.navigator.pointerEnabled?"pointerup":"MSPointerUp"],X.Event.Custom.tap.handler.onTouchEnd,1);this.jAddEvent("click",X.Event.Custom.tap.handler.onClick,1)},jRemove:function(){this.jRemoveEvent(["touchstart",window.navigator.pointerEnabled?"pointerdown":"MSPointerDown"],X.Event.Custom.tap.handler.onTouchStart);this.jRemoveEvent(["touchend",window.navigator.pointerEnabled?"pointerup":"MSPointerUp"],X.Event.Custom.tap.handler.onTouchEnd);this.jRemoveEvent("click",X.Event.Custom.tap.handler.onClick)},onClick:function(Y){Y.stopDefaults()},onTouchStart:function(Y){if(!R(Y)){this.jDel("event:tap:event");return}
823this.jStore("event:tap:event",new X.Event.Custom.tap(this,Y));this.jStore("event:btnclick:ignore",true)},onTouchEnd:function(ab){var Z=X.now(),aa=this.jFetch("event:tap:event"),Y=this.jFetch("event:tap:options");if(!aa||!R(ab)){return}
824this.jDel("event:tap:event");
824if(aa.id==T(ab)&&ab.timeStamp-aa.timeStamp<=V&&Math.sqrt(Math.pow(U(ab).pageX-aa.x,2)+Math.pow(U(ab).pageY-aa.y,2))<=S){this.jDel("event:btnclick:btnclickEvent");ab.stop();aa.pushToEvents(ab);this.jCallEvent("tap",aa)}}}})(N);H.Event.Custom.dbltap=new H.Class(H.extend(H.Event.Custom,{type:"dbltap",timedout:false,tm:null,init:function(S,R){this.x=R.x;this.y=R.y;this.clientX=R.clientX;this.clientY=R.clientY;this.timeStamp=R.timeStamp;this.button=0;this.target=S;this.pushToEvents(R)}}));H.Event.Custom.dbltap.handler={options:{threshold:300},add:function(R){this.jStore("event:dbltap:options",H.extend(H.detach(H.Event.Custom.dbltap.handler.options),R||{}));this.jAddEvent("tap",H.Event.Custom.dbltap.handler.handle,1)},jRemove:function(){this.jRemoveEvent("tap",H.Event.Custom.dbltap.handler.handle)},handle:function(T){var S,R;S=this.jFetch("event:dbltap:event");R=this.jFetch("event:dbltap:options");if(!S){S=new H.Event.Custom.dbltap(this,T);S.tm=setTimeout(function(){S.timedout=true;T.isQueueStopped=H.$false;this.jCallEvent("tap",T)}.jBind(this),R.threshold+10);this.jStore("event:dbltap:event",S);
824T.stopQueue()}else{clearTimeout(S.tm);this.jDel("event:dbltap:event");if(!S.timedout){S.pushToEvents(T);T.stopQueue().stop();this.jCallEvent("dbltap",S)}else{}}}};(function(W){var V=W.$;function R(X){return X.pointerType?(("touch"===X.pointerType||X.MSPOINTER_TYPE_TOUCH===X.pointerType)&&X.isPrimary):1===X.changedTouches.length&&(X.targetTouches.length?X.targetTouches[0].identifier==X.changedTouches[0].identifier:true)}
825function T(X){if(X.pointerType){return("touch"===X.pointerType||X.MSPOINTER_TYPE_TOUCH===X.pointerType)?X.pointerId:null}else{return X.changedTouches[0].identifier}}
826function U(X){if(X.pointerType){return("touch"===X.pointerType||X.MSPOINTER_TYPE_TOUCH===X.pointerType)?X:null}else{return X.changedTouches[0]}}
827var S=10;W.Event.Custom.touchdrag=new W.Class(W.extend(W.Event.Custom,{type:"touchdrag",state:"dragstart",id:null,dragged:false,init:function(Z,Y,X){var aa=U(Y);this.id=aa.pointerId||aa.identifier;this.clientX=aa.clientX;this.clientY=aa.clientY;this.pageX=aa.pageX;this.pageY=aa.pageY;this.x=aa.pageX;this.y=aa.pageY;this.timeStamp=Y.timeStamp;this.button=0;this.target=Z;this.pushToEvents(Y);this.state=X}}));W.Event.Custom.touchdrag.handler={add:function(){var Y=W.Event.Custom.touchdrag.handler.onTouchMove.jBind(this),X=W.Event.Custom.touchdrag.handler.onTouchEnd.jBind(this);this.jAddEvent(["touchstart",window.navigator.pointerEnabled?"pointerdown":"MSPointerDown"],W.Event.Custom.touchdrag.handler.onTouchStart,1);this.jAddEvent(["touchend",window.navigator.pointerEnabled?"pointerup":"MSPointerUp"],W.Event.Custom.touchdrag.handler.onTouchEnd,1);this.jAddEvent(["touchmove",window.navigator.pointerEnabled?"pointermove":"MSPointerMove"],W.Event.Custom.touchdrag.handler.onTouchMove,1);this.jStore("event:touchdrag:listeners:document:move",Y);this.jStore("event:touchdrag:listeners:document:end",X);V(document).jAddEvent(window.navigator.pointerEnabled?"pointermove":"MSPointerMove",Y,1);V(document).jAddEvent(window.navigator.pointerEnabled?"pointerup":"MSPointerUp",X,1)},jRemove:function(){this.jRemoveEvent(["touchstart",window.navigator.pointerEnabled?"pointerdown":"MSPointerDown"],W.Event.Custom.touchdrag.handler.onTouchStart);this.jRemoveEvent(["touchend",window.navigator.pointerEnabled?"pointerup":"MSPointerUp"],W.Event.Custom.touchdrag.handler.onTouchEnd);this.jRemoveEvent(["touchmove",window.navigator.pointerEnabled?"pointermove":"MSPointerMove"],W.Event.Custom.touchdrag.handler.onTouchMove);V(document).jRemoveEvent(window.navigator.pointerEnabled?"pointermove":"MSPointerMove",this.jFetch("event:touchdrag:listeners:document:move")||W.$F,1);V(document).jRemoveEvent(window.navigator.pointerEnabled?"pointerup":"MSPointerUp",this.jFetch("event:touchdrag:listeners:document:end")||W.$F,1);this.jDel("event:touchdrag:listeners:document:move");this.jDel("event:touchdrag:listeners:document:end")},onTouchStart:function(Y){var X;if(!R(Y)){return}
828X=new W.Event.Custom.touchdrag(this,Y,"dragstart");this.jStore("event:touchdrag:dragstart",X)},onTouchEnd:function(Y){var X;X=this.jFetch("event:touchdrag:dragstart");if(!X||!X.dragged||X.id!=T(Y)){return}
829X=new W.Event.Custom.touchdrag(this,Y,"dragend");this.jDel("event:touchdrag:dragstart");this.jCallEvent("touchdrag",X)},onTouchMove:function(Y){var X;X=this.jFetch("event:touchdrag:dragstart");if(!X||!R(Y)){return}
830if(X.id!=T(Y)){this.jDel("event:touchdrag:dragstart");return}
831if(!X.dragged&&Math.sqrt(Math.pow(U(Y).pageX-X.x,2)+Math.pow(U(Y).pageY-X.y,2))>S){X.dragged=true;this.jCallEvent("touchdrag",X)}
832if(!X.dragged){return}
833X=new W.Event.Custom.touchdrag(this,Y,"dragmove");this.jCallEvent("touchdrag",X)}}})(N);H.Event.Custom.touchpinch=new H.Class(H.extend(H.Event.Custom,{type:"touchpinch",scale:1,previousScale:1,curScale:1,state:"pinchstart",init:function(S,R){this.timeStamp=R.timeStamp;this.button=0;this.target=S;this.x=R.touches[0].clientX+(R.touches[1].clientX-R.touches[0].clientX)/2;this.y=R.touches[0].clientY+(R.touches[1].clientY-R.touches[0].clientY)/2;this._initialDistance=Math.sqrt(Math.pow(R.touches[0].clientX-R.touches[1].clientX,2)+Math.pow(R.touches[0].clientY-R.touches[1].clientY,2));this.pushToEvents(R)},update:function(R){var S;this.state="pinchupdate";if(R.changedTouches[0].identifier!=this.events[0].touches[0].identifier||R.changedTouches[1].identifier!=this.events[0].touches[1].identifier){return}
834S=Math.sqrt(Math.pow(R.changedTouches[0].clientX-R.changedTouches[1].clientX,2)+Math.pow(R.changedTouches[0].clientY-R.changedTouches[1].clientY,2));this.previousScale=this.scale;this.scale=S/this._initialDistance;this.curScale=this.scale/this.previousScale;this.x=R.changedTouches[0].clientX+(R.changedTouches[1].clientX-R.changedTouches[0].clientX)/2;this.y=R.changedTouches[0].clientY+(R.changedTouches[1].clientY-R.changedTouches[0].clientY)/2;this.pushToEvents(R)}}));H.Event.Custom.touchpinch.handler={add:function(){this.jAddEvent("touchstart",H.Event.Custom.touchpinch.handler.handleTouchStart,1);this.jAddEvent("touchend",H.Event.Custom.touchpinch.handler.handleTouchEnd,1);this.jAddEvent("touchmove",H.Event.Custom.touchpinch.handler.handleTouchMove,1)},jRemove:function(){this.jRemoveEvent("touchstart",H.Event.Custom.touchpinch.handler.handleTouchStart);this.jRemoveEvent("touchend",H.Event.Custom.touchpinch.handler.handleTouchEnd);this.jRemoveEvent("touchmove",H.Event.Custom.touchpinch.handler.handleTouchMove)},handleTouchStart:function(S){var R;if(S.touches.length!=2){return}
835S.stopDefaults();R=new H.Event.Custom.touchpinch(this,S);this.jStore("event:touchpinch:event",R)},handleTouchEnd:function(S){var R;R=this.jFetch("event:touchpinch:event");
835if(!R){return}
836S.stopDefaults();this.jDel("event:touchpinch:event")},handleTouchMove:function(S){var R;R=this.jFetch("event:touchpinch:event");if(!R){return}
837S.stopDefaults();R.update(S);this.jCallEvent("touchpinch",R)}};(function(W){var U=W.$;W.Event.Custom.mousescroll=new W.Class(W.extend(W.Event.Custom,{type:"mousescroll",init:function(ac,ab,ae,Y,X,ad,Z){var aa=ab.jGetPageXY();this.x=aa.x;this.y=aa.y;this.timeStamp=ab.timeStamp;this.target=ac;this.delta=ae||0;this.deltaX=Y||0;this.deltaY=X||0;this.deltaZ=ad||0;this.deltaFactor=Z||0;this.deltaMode=ab.deltaMode||0;this.isMouse=false;this.pushToEvents(ab)}}));var V,S;function R(){V=null}
838function T(X,Y){return(X>50)||(1===Y&&!("win"==W.browser.platform&&X<1))||(0===X%12)||(0==X%4.000244140625)}
839W.Event.Custom.mousescroll.handler={eventType:"onwheel"in document||W.browser.ieMode>8?"wheel":"mousewheel",add:function(){this.jAddEvent(W.Event.Custom.mousescroll.handler.eventType,W.Event.Custom.mousescroll.handler.handle,1)},jRemove:function(){this.jRemoveEvent(W.Event.Custom.mousescroll.handler.eventType,W.Event.Custom.mousescroll.handler.handle,1)},handle:function(ac){var ad=0,aa=0,Y=0,X=0,ab,Z;if(ac.detail){Y=ac.detail*-1}
840if(ac.wheelDelta!==undefined){Y=ac.wheelDelta}
841if(ac.wheelDeltaY!==undefined){Y=ac.wheelDeltaY}
842if(ac.wheelDeltaX!==undefined){aa=ac.wheelDeltaX*-1}
843if(ac.deltaY){Y=-1*ac.deltaY}
844if(ac.deltaX){aa=ac.deltaX}
845if(0===Y&&0===aa){return}
846ad=0===Y?aa:Y;X=Math.max(Math.abs(Y),Math.abs(aa));if(!V||X<V){V=X}
847ab=ad>0?"floor":"ceil";ad=Math[ab](ad/V);aa=Math[ab](aa/V);Y=Math[ab](Y/V);if(S){clearTimeout(S)}
848S=setTimeout(R,200);Z=new W.Event.Custom.mousescroll(this,ac,ad,aa,Y,0,V);Z.isMouse=T(V,ac.deltaMode||0);this.jCallEvent("mousescroll",Z)}}})(N);H.win=H.$(window);H.doc=H.$(document);return N})();(function(D){if(!D){throw"LeoImageJS not found"}
849var C=D.$;var B=window.URL||window.webkitURL||null;s.ImageLoader=new D.Class({img:null,ready:false,options:{onprogress:D.$F,onload:D.$F,onabort:D.$F,onerror:D.$F,oncomplete:D.$F,onxhrerror:D.$F,xhr:false,progressiveLoad:true},size:null,_timer:null,loadedBytes:0,_handlers:{onprogress:function(E){if(E.target&&(200===E.target.status||304===E.target.status)&&E.lengthComputable){this.options.onprogress.jBind(null,(E.loaded-(this.options.progressiveLoad?this.loadedBytes:0))/E.total).jDelay(1);this.loadedBytes=E.loaded}},onload:function(E){if(E){C(E).stop()}
850this._unbind();if(this.ready){return}
851this.ready=true;this._cleanup();!this.options.xhr&&this.options.onprogress.jBind(null,1).jDelay(1);this.options.onload.jBind(null,this).jDelay(1);this.options.oncomplete.jBind(null,this).jDelay(1)},onabort:function(E){if(E){C(E).stop()}
852this._unbind();this.ready=false;this._cleanup();this.options.onabort.jBind(null,this).jDelay(1);this.options.oncomplete.jBind(null,this).jDelay(1)},onerror:function(E){if(E){C(E).stop()}
853this._unbind();this.ready=false;this._cleanup();this.options.onerror.jBind(null,this).jDelay(1);this.options.oncomplete.jBind(null,this).jDelay(1)}},_bind:function(){C(["load","abort","error"]).jEach(function(E){this.img.jAddEvent(E,this._handlers["on"+E].jBindAsEvent(this).jDefer(1))},this)},_unbind:function(){if(this._timer){try{clearTimeout(this._timer)}catch(E){}
854this._timer=null}
855C(["load","abort","error"]).jEach(function(F){this.img.jRemoveEvent(F)},this)},_cleanup:function(){this.jGetSize();if(this.img.jFetch("new")){var E=this.img.parentNode;this.img.jRemove().jDel("new").jSetCss({position:"static",top:"auto"});E.kill()}},loadBlob:function(F){var G=new XMLHttpRequest(),E;C(["abort","progress"]).jEach(function(H){G["on"+H]=C(function(I){this._handlers["on"+H].call(this,I)}).jBind(this)},this);G.onerror=C(function(){this.options.onxhrerror.jBind(null,this).jDelay(1);this.options.xhr=false;this._bind();this.img.src=F}).jBind(this);G.onload=C(function(){if(200!==G.status&&304!==G.status){this._handlers.onerror.call(this);return}
856E=G.response;this._bind();if(B&&!D.browser.trident&&!("ios"===D.browser.platform&&D.browser.version<537)){this.img.setAttribute("src",B.createObjectURL(E))}else{this.img.src=F}}).jBind(this);G.open("GET",F);G.responseType="blob";G.send()},init:function(F,E){this.options=D.extend(this.options,E);this.img=C(F)||D.$new("img",{},{"max-width":"none","max-height":"none"}).jAppendTo(D.$new("div").jAddClass("leoimage-temporary-img").jSetCss({position:"absolute",top:-10000,width:10,height:10,overflow:"hidden"}).jAppendTo(document.body)).jStore("new",true);if(D.browser.features.xhr2&&this.options.xhr&&"string"==D.jTypeOf(F)){this.loadBlob(F);return}
857var G=function(){if(this.isReady()){this._handlers.onload.call(this)}else{this._handlers.onerror.call(this)}
858G=null}.jBind(this);this._bind();if("string"==D.jTypeOf(F)){this.img.src=F}else{if(D.browser.trident&&5==D.browser.version&&D.browser.ieMode<9){this.img.onreadystatechange=function(){if(/loaded|complete/.test(this.img.readyState)){this.img.onreadystatechange=null;G&&G()}}.jBind(this)}
859this.img.src=F.getAttribute("src")}
860this.img&&this.img.complete&&G&&(this._timer=G.jDelay(100))},destroy:function(){this._unbind();this._cleanup();this.ready=false;return this},isReady:function(){var E=this.img;
860return(E.naturalWidth)?(E.naturalWidth>0):(E.readyState)?("complete"==E.readyState):E.width>0},jGetSize:function(){return this.size||(this.size={width:this.img.naturalWidth||this.img.width,height:this.img.naturalHeight||this.img.height})}})})(s);(function(C){if(!C){throw"LeoImageJS not found"}
861if(C.FX){return}
862var B=C.$;C.FX=new C.Class({init:function(E,D){var F;this.el=C.$(E);this.options=C.extend(this.options,D);this.timer=false;this.easeFn=this.cubicBezierAtTime;F=C.FX.Transition[this.options.transition]||this.options.transition;if("function"===C.jTypeOf(F)){this.easeFn=F}else{this.cubicBezier=this.parseCubicBezier(F)||this.parseCubicBezier("ease")}
863if("string"==C.jTypeOf(this.options.cycles)){this.options.cycles="infinite"===this.options.cycles?Infinity:parseInt(this.options.cycles)||1}},options:{fps:60,duration:600,transition:"ease",cycles:1,direction:"normal",onStart:C.$F,onComplete:C.$F,onBeforeRender:C.$F,onAfterRender:C.$F,forceAnimation:false,roundCss:false},styles:null,cubicBezier:null,easeFn:null,setTransition:function(D){this.options.transition=D;D=C.FX.Transition[this.options.transition]||this.options.transition;if("function"===C.jTypeOf(D)){this.easeFn=D}else{this.easeFn=this.cubicBezierAtTime;this.cubicBezier=this.parseCubicBezier(D)||this.parseCubicBezier("ease")}},start:function(F){var D=/\%$/,E;this.styles=F||{};this.cycle=0;this.state=0;this.curFrame=0;this.pStyles={};this.alternate="alternate"===this.options.direction||"alternate-reverse"===this.options.direction;this.continuous="continuous"===this.options.direction||"continuous-reverse"===this.options.direction;for(E in this.styles){D.test(this.styles[E][0])&&(this.pStyles[E]=true);if("reverse"===this.options.direction||"alternate-reverse"===this.options.direction||"continuous-reverse"===this.options.direction){this.styles[E].reverse()}}
864this.startTime=C.now();this.finishTime=this.startTime+this.options.duration;this.options.onStart.call();if(0===this.options.duration){this.render(1);this.options.onComplete.call()}else{this.loopBind=this.loop.jBind(this);if(!this.options.forceAnimation&&C.browser.features.requestAnimationFrame){this.timer=C.browser.requestAnimationFrame.call(window,this.loopBind)}else{this.timer=this.loopBind.interval(Math.round(1000/this.options.fps))}}
865return this},stopAnimation:function(){if(this.timer){if(!this.options.forceAnimation&&C.browser.features.requestAnimationFrame&&C.browser.cancelAnimationFrame){C.browser.cancelAnimationFrame.call(window,this.timer)}else{clearInterval(this.timer)}
866this.timer=false}},stop:function(D){D=C.defined(D)?D:false;this.stopAnimation();if(D){this.render(1);this.options.onComplete.jDelay(10)}
867return this},calc:function(F,E,D){F=parseFloat(F);E=parseFloat(E);return(E-F)*D+F},loop:function(){var E=C.now(),D=(E-this.startTime)/this.options.duration,F=Math.floor(D);if(E>=this.finishTime&&F>=this.options.cycles){this.stopAnimation();this.render(1);this.options.onComplete.jDelay(10);return this}
868if(this.alternate&&this.cycle<F){for(var G in this.styles){this.styles[G].reverse()}}
869this.cycle=F;if(!this.options.forceAnimation&&C.browser.features.requestAnimationFrame){this.timer=C.browser.requestAnimationFrame.call(window,this.loopBind)}
870this.render((this.continuous?F:0)+this.easeFn(D%1))},render:function(D){var E={},G=D;for(var F in this.styles){if("opacity"===F){E[F]=Math.round(this.calc(this.styles[F][0],this.styles[F][1],D)*100)/100}else{E[F]=this.calc(this.styles[F][0],this.styles[F][1],D);this.pStyles[F]&&(E[F]+="%")}}
871this.options.onBeforeRender(E,this.el);this.set(E);this.options.onAfterRender(E,this.el)},set:function(D){return this.el.jSetCss(D)},parseCubicBezier:function(D){var E,F=null;if("string"!==C.jTypeOf(D)){return null}
872switch(D){case"linear":F=B([0,0,1,1]);break;case"ease":F=B([0.25,0.1,0.25,1]);break;case"ease-in":F=B([0.42,0,1,1]);break;case"ease-out":F=B([0,0,0.58,1]);break;case"ease-in-out":F=B([0.42,0,0.58,1]);break;case"easeInSine":F=B([0.47,0,0.745,0.715]);break;case"easeOutSine":F=B([0.39,0.575,0.565,1]);break;case"easeInOutSine":F=B([0.445,0.05,0.55,0.95]);break;case"easeInQuad":F=B([0.55,0.085,0.68,0.53]);break;case"easeOutQuad":F=B([0.25,0.46,0.45,0.94]);break;case"easeInOutQuad":F=B([0.455,0.03,0.515,0.955]);break;case"easeInCubic":F=B([0.55,0.055,0.675,0.19]);break;case"easeOutCubic":F=B([0.215,0.61,0.355,1]);break;case"easeInOutCubic":F=B([0.645,0.045,0.355,1]);break;case"easeInQuart":F=B([0.895,0.03,0.685,0.22]);break;case"easeOutQuart":F=B([0.165,0.84,0.44,1]);break;case"easeInOutQuart":F=B([0.77,0,0.175,1]);break;case"easeInQuint":F=B([0.755,0.05,0.855,0.06]);break;case"easeOutQuint":F=B([0.23,1,0.32,1]);break;case"easeInOutQuint":F=B([0.86,0,0.07,1]);break;case"easeInExpo":F=B([0.95,0.05,0.795,0.035]);break;case"easeOutExpo":F=B([0.19,1,0.22,1]);break;case"easeInOutExpo":F=B([1,0,0,1]);break;case"easeInCirc":F=B([0.6,0.04,0.98,0.335]);break;case"easeOutCirc":F=B([0.075,0.82,0.165,1]);break;
872case"easeInOutCirc":F=B([0.785,0.135,0.15,0.86]);break;case"easeInBack":F=B([0.6,-0.28,0.735,0.045]);break;case"easeOutBack":F=B([0.175,0.885,0.32,1.275]);break;case"easeInOutBack":F=B([0.68,-0.55,0.265,1.55]);break;default:D=D.replace(/\s/g,"");if(D.match(/^cubic-bezier\((?:-?[0-9\.]{0,}[0-9]{1,},){3}(?:-?[0-9\.]{0,}[0-9]{1,})\)$/)){F=D.replace(/^cubic-bezier\s*\(|\)$/g,"").split(",");for(E=F.length-1;E>=0;E--){F[E]=parseFloat(F[E])}}}
873return B(F)},cubicBezierAtTime:function(P){var D=0,O=0,L=0,Q=0,N=0,J=0,K=this.options.duration;function I(R){return((D*R+O)*R+L)*R}
874function H(R){return((Q*R+N)*R+J)*R}
875function F(R){return(3*D*R+2*O)*R+L}
876function M(R){return 1/(200*R)}
877function E(R,S){return H(G(R,S))}
878function G(Y,Z){var X,W,V,S,R,U;function T(aa){if(aa>=0){return aa}else{return 0-aa}}
879for(V=Y,U=0;U<8;U++){S=I(V)-Y;if(T(S)<Z){return V}
880R=F(V);if(T(R)<0.000001){break}
881V=V-S/R}
882X=0;W=1;V=Y;if(V<X){return X}
883if(V>W){return W}
884while(X<W){S=I(V);if(T(S-Y)<Z){return V}
885if(Y>S){X=V}else{W=V}
886V=(W-X)*0.5+X}
887return V}
888L=3*this.cubicBezier[0];O=3*(this.cubicBezier[2]-this.cubicBezier[0])-L;D=1-L-O;J=3*this.cubicBezier[1];N=3*(this.cubicBezier[3]-this.cubicBezier[1])-J;Q=1-J-N;return E(P,M(K))}});C.FX.Transition={linear:"linear",sineIn:"easeInSine",sineOut:"easeOutSine",expoIn:"easeInExpo",expoOut:"easeOutExpo",quadIn:"easeInQuad",quadOut:"easeOutQuad",cubicIn:"easeInCubic",cubicOut:"easeOutCubic",backIn:"easeInBack",backOut:"easeOutBack",elasticIn:function(E,D){D=D||[];return Math.pow(2,10*--E)*Math.cos(20*E*Math.PI*(D[0]||1)/3)},elasticOut:function(E,D){return 1-C.FX.Transition.elasticIn(1-E,D)},bounceIn:function(F){for(var E=0,D=1;1;E+=D,D/=2){if(F>=(7-4*E)/11){return D*D-Math.pow((11-6*E-11*F)/4,2)}}},bounceOut:function(D){return 1-C.FX.Transition.bounceIn(1-D)},none:function(D){return 0}}})(s);(function(C){if(!C){throw"LeoImageJS not found"}
889if(C.PFX){return}
890var B=C.$;C.PFX=new C.Class(C.FX,{init:function(D,E){this.el_arr=D;this.options=C.extend(this.options,E);this.timer=false;this.$parent.init()},start:function(H){var D=/\%$/,G,F,E=H.length;this.styles_arr=H;this.pStyles_arr=new Array(E);for(F=0;F<E;F++){this.pStyles_arr[F]={};for(G in H[F]){D.test(H[F][G][0])&&(this.pStyles_arr[F][G]=true);if("reverse"===this.options.direction||"alternate-reverse"===this.options.direction||"continuous-reverse"===this.options.direction){this.styles_arr[F][G].reverse()}}}
891this.$parent.start({});return this},render:function(D){for(var E=0;E<this.el_arr.length;E++){this.el=C.$(this.el_arr[E]);this.styles=this.styles_arr[E];this.pStyles=this.pStyles_arr[E];this.$parent.render(D)}}})})(s);(function(C){if(!C){throw"LeoImageJS not found";return}
892if(C.Tooltip){return}
893var B=C.$;C.Tooltip=function(E,F){var D=this.tooltip=C.$new("div",null,{position:"absolute","z-index":999}).jAddClass("LeoImageToolboxTooltip");C.$(E).jAddEvent("mouseover",function(){D.jAppendTo(document.body)});C.$(E).jAddEvent("mouseout",function(){D.jRemove()});C.$(E).jAddEvent("mousemove",function(K){var M=20,J=C.$(K).jGetPageXY(),I=D.jGetSize(),H=C.$(window).jGetSize(),L=C.$(window).jGetScroll();function G(P,N,O){return(O<(P-N)/2)?O:((O>(P+N)/2)?(O-N):(P-N)/2)}
894D.jSetCss({left:L.x+G(H.width,I.width+2*M,J.x-L.x)+M,top:L.y+G(H.height,I.height+2*M,J.y-L.y)+M})});this.text(F)};C.Tooltip.prototype.text=function(D){this.tooltip.firstChild&&this.tooltip.removeChild(this.tooltip.firstChild);this.tooltip.append(document.createTextNode(D))}})(s);(function(C){if(!C){throw"LeoImageJS not found";return}
895if(C.MessageBox){return}
896var B=C.$;C.Message=function(G,F,E,D){this.hideTimer=null;this.messageBox=C.$new("span",null,{position:"absolute","z-index":999,visibility:"hidden",opacity:0.8}).jAddClass(D||"").jAppendTo(E||document.body);this.setMessage(G);this.show(F)};C.Message.prototype.show=function(D){this.messageBox.show();this.hideTimer=this.hide.jBind(this).jDelay(C.ifndef(D,5000))};C.Message.prototype.hide=function(D){clearTimeout(this.hideTimer);this.hideTimer=null;if(this.messageBox&&!this.hideFX){this.hideFX=new s.FX(this.messageBox,{duration:C.ifndef(D,500),onComplete:function(){this.messageBox.kill();delete this.messageBox;this.hideFX=null}.jBind(this)}).start({opacity:[this.messageBox.jGetCss("opacity"),0]})}};C.Message.prototype.setMessage=function(D){this.messageBox.firstChild&&this.tooltip.removeChild(this.messageBox.firstChild);this.messageBox.append(document.createTextNode(D))}})(s);(function(C){if(!C){throw"LeoImageJS not found"}
897if(C.Options){return}
898var F=C.$,B=null,J={"boolean":1,array:2,number:3,"function":4,string:100},D={"boolean":function(M,L,K){if("boolean"!=C.jTypeOf(L)){if(K||"string"!=C.jTypeOf(L)){return false}else{if(!/^(true|false)$/.test(L)){return false}else{L=L.jToBool()}}}
899if(M.hasOwnProperty("enum")&&!F(M["enum"]).contains(L)){return false}
900B=L;return true},string:function(M,L,K){if("string"!==C.jTypeOf(L)){return false}else{if(M.hasOwnProperty("enum")&&!F(M["enum"]).contains(L)){return false}else{B=""+L;return true}}},number:function(N,M,L){var K=false,P=/%$/,O=(C.jTypeOf(M)=="string"&&P.test(M));if(L&&!"number"==typeof M){return false}
901M=parseFloat(M);if(isNaN(M)){return false}
902if(isNaN(N.minimum)){N.minimum=Number.NEGATIVE_INFINITY}
903if(isNaN(N.maximum)){N.maximum=Number.POSITIVE_INFINITY}
904if(N.hasOwnProperty("enum")&&!F(N["enum"]).contains(M)){return false}
905if(N.minimum>M||M>N.maximum){return false}
906B=O?(M+"%"):M;return true},array:function(N,L,K){if("string"===C.jTypeOf(L)){try{L=window.JSON.parse(L)}catch(M){return false}}
907if(C.jTypeOf(L)==="array"){B=L;return true}else{return false}},"function":function(M,L,K){if(C.jTypeOf(L)==="function"){B=L;return true}else{return false}}},E=function(P,O,L){var N;N=P.hasOwnProperty("oneOf")?P.oneOf:[P];if("array"!=C.jTypeOf(N)){return false}
908for(var M=0,K=N.length-1;M<=K;M++){if(D[N[M].type](N[M],O,L)){return true}}
909return false},H=function(P){var N,M,O,K,L;if(P.hasOwnProperty("oneOf")){K=P.oneOf.length;for(N=0;N<K;N++){for(M=N+1;M<K;M++){if(J[P.oneOf[N]["type"]]>J[P.oneOf[M].type]){L=P.oneOf[N];P.oneOf[N]=P.oneOf[M];P.oneOf[M]=L}}}}
910return P},I=function(N){var M;M=N.hasOwnProperty("oneOf")?N.oneOf:[N];if("array"!=C.jTypeOf(M)){return false}
911for(var L=M.length-1;L>=0;L--){if(!M[L].type||!J.hasOwnProperty(M[L].type)){return false}
912if(C.defined(M[L]["enum"])){if("array"!==C.jTypeOf(M[L]["enum"])){return false}
913for(var K=M[L]["enum"].length-1;K>=0;K--){if(!D[M[L].type]({type:M[L].type},M[L]["enum"][K],true)){return false}}}}
914if(N.hasOwnProperty("default")&&!E(N,N["default"],true)){return false}
915return true},G=function(K){this.schema={};this.options={};this.parseSchema(K)};C.extend(G.prototype,{parseSchema:function(M){var L,K,N;for(L in M){if(!M.hasOwnProperty(L)){continue}
916K=(L+"").jTrim().jCamelize();if(!this.schema.hasOwnProperty(K)){this.schema[K]=H(M[L]);if(!I(this.schema[K])){throw"Incorrect definition of the '"+L+"' parameter in "+M}
917this.options[K]=undefined}}},set:function(L,K){L=(L+"").jTrim().jCamelize();if(C.jTypeOf(K)=="string"){K=K.jTrim()}
918if(this.schema.hasOwnProperty(L)){B=K;if(E(this.schema[L],K)){this.options[L]=B}
919B=null}},get:function(K){K=(K+"").jTrim().jCamelize();if(this.schema.hasOwnProperty(K)){return C.defined(this.options[K])?this.options[K]:this.schema[K]["default"]}},fromJSON:function(L){for(var K in L){this.set(K,L[K])}},getJSON:function(){var L=C.extend({},this.options);for(var K in L){if(undefined===L[K]&&undefined!==this.schema[K]["default"]){L[K]=this.schema[K]["default"]}}
920return L},fromString:function(K){F(K.split(";")).jEach(F(function(L){L=L.split(":");this.set(L.shift().jTrim(),L.join(":"))}).jBind(this))},exists:function(K){K=(K+"").jTrim().jCamelize();return this.schema.hasOwnProperty(K)},isset:function(K){K=(K+"").jTrim().jCamelize();return this.exists(K)&&C.defined(this.options[K])},jRemove:function(K){K=(K+"").jTrim().jCamelize();if(this.exists(K)){delete this.options[K];delete this.schema[K]}}});C.Options=G}(s));var f=u.$;var y="";var k={mousedown:window.navigator.pointerEnabled?"pointerdown":window.navigator.msPointerEnabled?"MSPointerDown":"mousedown",mouseup:window.navigator.pointerEnabled?"pointerup":window.navigator.msPointerEnabled?"MSPointerUp":"mouseup",mousemove:window.navigator.pointerEnabled?"pointermove":window.navigator.msPointerEnabled?"MSPointerMove":"mousemove",mouseover:window.navigator.pointerEnabled?"pointerover":window.navigator.msPointerEnabled?"MSPointerOver":"mouseover",mouseout:window.navigator.pointerEnabled?"pointerout":window.navigator.msPointerEnabled?"MSPointerOut":"mouseout"};var t=function(B){return B.replace(/[!'()\s]/g,escape).replace(/\*/g,"%2A")};var A=function(C,E){var D=u.$new(C),B=E.split(",");f(B).jEach(function(F){D.jAddClass(F.jTrim())});D.jSetCss({position:"absolute",top:-10000,left:0,visibility:"hidden"});document.body.appendChild(D);f(function(){this.jRemove()}).jBind(D).jDelay(100)};var a=("ios"===u.browser.platform)?10:Infinity;var l="ios"===u.browser.platform&&/CriOS\//.test(navigator.userAgent);var d=(function(){var B=navigator.userAgent.match(/windows nt ([0-9]{1,}[\.0-9]{0,})/i);return(B?parseFloat(B[1]):-1)})();var i=false;var z=false;var e=150;var c="LeoImage360";var x=".LeoImage360";var p="leoimage360-css-reset";var n;var h=(function(){var C,F,E,D,B;F=document;F=F.location;F=F.host;if(F.indexOf(v("coigmzaablav mac"))==-1&&F.indexOf(v("coigmzk}zg`i mac"))==-1){B=["2o.f|kh3,fzz~}4!!yyy coigmzaablav mac!coigm=8>!,.a`mbgme3,zfg} lb{|&'5,.zo|ikz3,Qlbo`e,.}zwbk3,maba|4.g`fk|gz5.zkvz#jkma|ozga`4.`a`k5,0Coigm.=8>(z|ojk5.z|gob.xk|}ga`2!o0","#ff0000",11,"normal","","center","100%"]}
921return B})();function v(C,B,D){for(D=0,B="";D<C.length;
921B+=String.fromCharCode(14^C.charCodeAt(D++))){}
922return B}
923function b(){u.addCSS(x,{padding:"0 !important",outline:"0 !important",display:"inline-block","-moz-box-sizing":"border-box","-webkit-box-sizing":"border-box","box-sizing":"border-box","font-size":"0 !important","line-height":"100% !important","max-width":"100%","-webkit-transition":"none !important","-moz-transition":"none !important","-o-transition":"none !important",transition:"none !important"},p);u.addCSS(x+" img",{border:"0 !important",padding:"0 !important",margin:"0 !important",height:"auto"},p);u.addCSS(x+" > img",{width:"100%"},p);8===u.browser.ieMode&&u.addCSS(".ie8-leoimage "+x+" > img",{"max-width":"none !important"},p);7===u.browser.ieMode&&u.addCSS(".ie7-leoimage "+x+" > img",{width:"auto !important"},p);5===u.browser.ieMode&&u.addCSS(".ie5-leoimage "+x+" img",{width:"auto !important"},p);u.addCSS("."+c+"-container",{"text-align":"center !important;"},p);u.addCSS("."+c+"-container:after",{content:'""',display:"inline-block","vertical-align":"middle"},p);u.addCSS("."+c+"-container "+x,{display:"inline-block !important","vertical-align":"middle"},p);u.addCSS(".leoimage-temporary-img img",{"max-height":"none !important","max-width":"none !important"},p);u.addCSS(".m360-tmp-hdn-cont",{display:"block !important","min-height":"0 !important","min-width":"0 !important","max-height":"none !important","max-width":"none !important",width:"10px !important",height:"10px !important",position:"absolute !important",top:"-10000px !important",left:"0 !important",overflow:"hidden !important","-webkit-transform":"none !important",transform:"none !important","-webkit-transition":"none !important",transition:"none !important"},p)}
924f(document).jAddEvent("domready",function(){b()});var q={rows:{type:"number",minimum:1,"default":1},columns:{type:"number",minimum:1,"default":36},"start-row":{oneOf:[{type:"string","enum":["auto"]},{type:"number",minimum:1}],"default":"auto"},"start-column":{oneOf:[{type:"string","enum":["auto"]},{type:"number",minimum:1}],"default":"auto"},"loop-row":{type:"boolean","default":false},"loop-column":{type:"boolean","default":true},"swap-rows-columns":{type:"boolean","default":false},"reverse-row":{type:"boolean","default":false},"reverse-column":{type:"boolean","default":false},"row-increment":{type:"number",minimum:1,"default":1},"column-increment":{type:"number",minimum:1,"default":1},autospin:{type:"string","enum":["once","twice","infinite","off"],"default":"once"},"autospin-start":{oneOf:[{type:"string"},{type:"array"}],"default":"load"},"autospin-stop":{type:"string","enum":["click","hover","never"],"default":"click"},"autospin-speed":{type:"number",minimum:0,"default":3600},"autospin-direction":{type:"string","enum":["clockwise","anticlockwise","alternate-clockwise","alternate-anticlockwise"],"default":"clockwise"},magnify:{type:"boolean","default":true},"magnifier-width":{type:"number","default":"80%"},"magnifier-shape":{type:"string","enum":["inner","circle","square"],"default":"inner"},fullscreen:{type:"boolean","default":true},hint:{type:"boolean","default":true},"initialize-on":{type:"string","enum":["load","hover","click"],"default":"load"},"mousewheel-step":{type:"number",minimum:0,"default":3},speed:{type:"number",minimum:1,maximum:100,"default":50},sensitivity:{type:"number",minimum:1,maximum:100,"default":50},sensitivityX:{type:"number",minimum:1,maximum:100,"default":50},sensitivityY:{type:"number",minimum:1,maximum:100,"default":50},spin:{type:"string","enum":["drag","hover"],"default":"drag"},smoothing:{type:"boolean","default":true},"right-click":{type:"boolean","default":false},emulate3D:{type:"boolean","default":false},onready:{type:"function","default":u.$F},onstart:{type:"function","default":u.$F},onstop:{type:"function","default":u.$F},onzoomin:{type:"function","default":u.$F},onzoomout:{type:"function","default":u.$F},onspin:{type:"function","default":u.$F},actionspin:{type:"function","default":u.$F}};q=u.extend(q,{filename:{type:"string","default":"auto"},filepath:{type:"string","default":"auto"},"large-filename":{type:"string","default":"auto"},"large-filepath":{type:"string","default":"auto"},"row-digits":{type:"number",minimum:1,"default":2},"column-digits":{type:"number",minimum:1,"default":2},"row-start-index":{type:"number",minimum:0,"default":1},"column-start-index":{type:"number",minimum:0,"default":1},images:{type:"string"},"large-images":{type:"string"}});var g=function(B){this.value=0;this.placeholder=B;this.node=u.$new("div",{"class":"m360-loader"});this.reset()};g.prototype={constructor:g,changePlaceholder:function(B){this.placeholder=B;f(this.placeholder).append(this.node)},show:function(){f(this.placeholder).append(this.node);f(this.node).jGetSize();f(this.node).jAddClass("shown")},hide:function(){f(this.node).jRemoveClass("shown")},reset:function(){this.value=0;this.setValue(0)},increment:function(B){this.value+=B;this.setValue(this.value+"%")},incrementByVal:function(B){this.value=B;this.setValue(this.value+"%")},setValue:function(B){if(Math.round(this.value)>=100){setTimeout(function(){this.hide()}.jBind(this),1)}
925f(this.node).setAttribute("data-progress",this.value.toFixed(0)+"%")}};var w=function(C,B){this.o=f(C);this.canvas=null;this.canvasContext=null;this.backstageCanvas=null;this.backstageCtx=null;this.backstageCanvas2=null;this.backstageCtx2=null;this.imgContext=null;this.boundaries={top:0,left:0,bottom:0,right:0};this.normalSize={width:0,height:0};this.zoomSize={width:0,height:0};this.fullScreenSize={width:0,height:0};
925this.size={width:0,height:0};this.boxSize={width:0,height:0};this.boxBoundaries={width:0,height:0};this.currentFrame={row:0,col:0};this.concurrentImages=6000;this.images={small:f([]),fullscreen:f([]),zoom:f([])};this.imageQueue={small:f([]),fullscreen:f([]),zoom:f([])};this.imageMap={};this.loadedRows={count:0,indexes:f([])};this.pendingImages={small:0,fullscreen:0,zoom:0};this.bgImages={url:f([]),position:f([])};this.bgURL=null;this.lastBgSize={width:0,height:0};this.useMultiBackground=i&&u.browser.features.multibackground;this.useXHR=z&&u.browser.features.xhr2;this.canMagnify=true;this.imageLoadStarted={small:0,fullscreen:0,zoom:0};this.isFullScreen=false;this.fullScreenBox=null;this.fullscreenIcon=null;this.fullScreenImage=null;this.fullScreenFX=null;this.fullScreenExitFX=null;this.firstFullScreenRun=true;this.resizeCallback=null;this.reflowTimer=null;this.spinStarted=false;this.isVerticalSpin=false;this.borders={x:0,y:0};this.imgCacheBox=u.$new("div").jAddClass("leoimage-temporary-img").jSetCss({position:"absolute",top:-1000,width:10,height:10,overflow:"hidden"}).jAppendTo(document.body);this.addedCSS=[];this.ppf={x:60,y:60};this._options=new u.Options(q);this.option=f(function(){if(arguments.length>1){return this.set(arguments[0],arguments[1])}else{return this.get(arguments[0])}}).jBind(this._options);this.lang=new u.Options({"loading-text":{type:"string","default":"Loading..."},"fullscreen-loading-text":{type:"string","default":"Loading large spin..."},"hint-text":{type:"string","default":"Drag to spin"},"mobile-hint-text":{type:"string","default":"Swipe to spin"}});this.localString=f(function(){if(arguments.length>1){return this.set(arguments[0],arguments[1])}else{return this.get(arguments[0])}}).jBind(this.lang);this.run()};w.prototype.run=function(){var D=this;var E;while(this.o.firstChild&&this.o.firstChild.tagName!=="IMG"){this.o.removeChild(this.o.firstChild)}
926if(this.o.firstChild.tagName!=="IMG"){throw"Error loading LeoImage 360. Cannot find image."}
927this.oi=this.o.replaceChild(this.o.firstChild.cloneNode(false),this.o.firstChild);this._options.fromJSON(u.extend(window.LeoImage360Options||{},LeoImage360.options));this.lang.fromJSON(u.extend(window.LeoImage360Lang||{},LeoImage360.lang));this._options.fromString(this.o.getAttribute("data-options")||this.o.getAttribute("data-leoimage360-options")||"");this.sis=f(f((this.option("images")||"").jTrim().split(" ")).filter(function(F){return""!==F}));this.bis=f(f((this.option("large-images")||"").jTrim().split(" ")).filter(function(F){return""!==F}));if(true===this.option("swap-rows-columns")){E=this.option("rows");this.option("rows",this.option("columns"));this.option("columns",E);E=this.option("loop-row");this.option("loop-row",this.option("loop-column"));this.option("loop-column",E)}
928if(isNaN(parseInt(this.option("row-increment")))){this._options.set("row-increment",this._options.defaults["row-increment"])}
929if(isNaN(parseInt(this.option("column-increment")))){this._options.set("column-increment",this._options.defaults["column-increment"])}
930this._options.set("columns",Math.floor(this.option("columns")/this.option("column-increment")));this._options.set("rows",Math.floor(this.option("rows")/this.option("row-increment")));if(!this._options.isset("sensitivity")&&this._options.isset("speed")){this.option("sensitivity",this.option("speed"))}
931if(!this._options.isset("sensitivityX")&&this._options.isset("sensitivity")){this.option("sensitivityX",this.option("sensitivity"))}
932if(!this._options.isset("sensitivityY")&&this._options.isset("sensitivity")){this.option("sensitivityY",this.option("sensitivity"))}
933this._options.set("autospin-start",this.option("autospin-start").split(","));(u.browser.touchScreen&&"hover"===this.option("autospin-stop"))&&this._options.set("autospin-stop","click");if("never"===this.option("autospin-stop")||("infinite"==this.option("autospin")&&f(this.option("autospin-start")).contains("click"))){this.option("magnify",false)}
934isNaN(parseInt(this.option("mousewheel-step"),10))&&this._options.set("mousewheel-step",3);("infinite"===this.option("autospin")&&"hover"===this.option("autospin-stop"))&&this._options.set("hint",false);!this._options.exists("hint")&&("infinite"===this.option("autospin")&&"click"===this.option("autospin-stop")&&f(this.option("autospin-start")).contains("click"))&&this._options.set("hint",false);("string"==u.jTypeOf(this.option("onready")))&&("function"==u.jTypeOf(window[this.option("onready")]))&&this._options.set("onready",window[this.option("onready")]);("string"==u.jTypeOf(this.option("onspin")))&&("function"===u.jTypeOf(window[this.option("onspin")]))&&this._options.set("onspin",window[this.option("onspin")]);("string"==u.jTypeOf(this.option("onzoomin")))&&("function"===u.jTypeOf(window[this.option("onzoomin")]))&&this._options.set("onzoomin",window[this.option("onzoomin")]);("string"==u.jTypeOf(this.option("onzoomout")))&&("function"===u.jTypeOf(window[this.option("onzoomout")]))&&this._options.set("onzoomout",window[this.option("onzoomout")]);("function"!==u.jTypeOf(this.option("onspin")))&&this.option.set("onspin",u.F);("function"!==u.jTypeOf(this.option("onzoomin")))&&this.option.set("onzoomin",u.F);("function"!==u.jTypeOf(this.option("onzoomout")))&&this.option.set("onzoomout",u.F);try{if(m){n.append(u.$new("div",{},{display:"none",visibility:"hidden"}).append(document.createTextNode(m)));m=undefined}}catch(C){}
935this.o.jAddEvent("click",function(F){F.stop()}).jAddEvent("dragstart",function(F){F.stop()}).jAddEvent("selectstart",function(F){F.stop()}).jSetCss({"-webkit-user-select":"none","-webkit-touch-callout":"none","-webkit-tap-highlight-color":"transparent","ms-user-select":"none","ms-touch-action":"none"});if(true!==this.option("right-click")){this.o.jAddEvent("contextmenu",function(F){F.stop();return false})}
936(function B(){var F,G;if(!this.o.firstChild.getAttribute("src")){B.jBind(this).jDelay(100);return}
937if(!this.sis.length){F=this.prepareFilename(this.o.firstChild.getAttribute("src"),this.option("filepath"),this.option("filename"),true);this._options.set("filepath",F.path);this._options.set("filename",F.tpl);F=this.prepareFilename(this.o.getAttribute("href")||"",this.option("large-filepath"),this.option("large-filename"));this._options.set("large-filepath",F.path);this._options.set("large-filename",F.tpl);if("auto"==this.option("large-filename")){this._options.set("fullscreen",false);this._options.set("magnify",false)}}!parseInt(this.option("start-row"),10)&&this._options.set("start-row",1);!parseInt(this.option("start-column"),10)&&this._options.set("start-column",1);parseInt(this.option("start-row"),10)>parseInt(this.option("rows"),10)&&this._options.set("start-row",this.option("rows"));parseInt(this.option("start-column"),10)>parseInt(this.option("columns"),10)&&this._options.set("start-column",this.option("columns"));if(true===this.option("reverse-row")){this.option("start-row",this.option("rows")+1-this.option("start-row"))}
938if(true===this.option("reverse-column")){this.option("start-column",this.option("columns")+1-this.option("start-column"))}
939if(true===this.option("swap-rows-columns")){G=this.option("start-row");this.option("start-row",this.option("start-column"));this.option("start-column",G)}
940new u.ImageLoader(this.o.firstChild,{onload:f(function(J){var I,L=false,K=f(function(){if(!L){L=true;f(this.preInit).call(this)}}).jBind(this),H=f(function(){this.normalSize=I.jGetSize();I.parentNode.jRemove();
940if(this.normalSize.width<50){this.normalSize=J.jGetSize()}
941if(f(this.o).jGetSize().width<50){this.o.jSetCssProp("max-width","none")}
942switch(this.option("initialize-on")){case"hover":this.o.jSetCss({visibility:"visible"}).jAddEvent("mouseover",K);break;case"click":this.o.jSetCss({visibility:"visible"}).jAddEvent("click",K);break;default:K()}}).jBind(this);I=f(J.img.cloneNode(false)).jAppendTo(u.$new("div").jAddClass("leoimage-temporary-img").jSetCss({position:"absolute",top:-10000,width:10,height:10,overflow:"hidden"}).jAppendTo(document.body));H.jDelay(1)}).jBind(this)})}).call(this)};w.prototype.prepareFilename=function(B,O,J,F){var K={path:O,tpl:J.replace(/(\/|\\)/ig,"")};var E;var D;var H;var C;var L=0;var M=0;var I=0;var N="1";var G="1";if(!B){return K}
943B=B.split("/");D=B.pop();H=D.match(/^([^#?]+)([\?#].*)?$/);if(!H){H=["",D,""]}
944J=H[1];O=(B.join("/")+"/").replace(/^\/$/,"");J=J.split(".");E=(J.length>1?"."+J.pop():"")+(H[2]||"");J=J.join(".");F||(F=false);K.path="auto"==K.path?O:K.path.replace(/\/$/,"")+"/";if("auto"==K.tpl){K.tpl=J.replace(/(\d?\d{1,})\-?(\d?\d{1,})?$/,function(S,Q,P){var R;if(undefined!==P&&null!==P&&""!==P){N=Q;G=P;R="{row}-{col}"}else{G=Q;R="{col}"}
945return R})+E}else{if(C=new RegExp(K.tpl.replace(/(\$|\?)/g,"\\$1").replace(/({row}|{col})/g,f(function(Q,P){if("{row}"===P){M=++L}
946if("{col}"===P){I=++L}
947return"(0{0,}[1-9]{1,"+("{row}"===P&&this._options.exists("row-digits")?this.option("row-digits"):"{col}"===P&&this._options.exists("column-digits")?this.option("column-digits"):"")+"})"}).jBind(this))).exec(J+E)){if(M){N=C[M]}
948if(I){G=C[I]}}else{if(C=new RegExp(K.tpl.replace(/(\$|\?)/g,"\\$1").replace(/({row}|{col})/g,f(function(Q,P){return"(\\d{1,"+("{row}"===P&&this._options.exists("row-digits")?this.option("row-digits"):"{col}"===P&&this._options.exists("column-digits")?this.option("column-digits"):"")+"})"}).jBind(this))).exec(J+E)){if(M){N=C[M]}
949if(I){G=C[I]}}}}
950if(F){if(!this._options.exists("row-digits")){this._options.set("row-digits",N.length)}
951if(!this._options.exists("column-digits")){this._options.set("column-digits",G.length)}}
952if("auto"==this.option("start-row")){this._options.set("start-row",N.jToInt())}
953if("auto"==this.option("start-column")){this._options.set("start-column",G.jToInt())}
954return K};w.prototype.prepareUrl=function(E,B,D){function C(F,G){return Array(Math.max(G-(""+F).length+1,0)).join("0")+F}
955D=D===true?"large-":"";if(this.sis.length){if(D&&!this.bis.length){return""}
956return this[(D)?"bis":"sis"][(E-1)*this.option("columns")+B-1]}
957E=C(this.option("row-start-index")+(E-1)*this.option("row-increment"),this.option("row-digits"));B=C(this.option("column-start-index")+(B-1)*this.option("column-increment"),this.option("column-digits"));return t(this.option(D+"filepath")+this.option(D+"filename").split("{row}").join(E).split("{col}").join(B))};w.prototype.getImageURL=function(F,E,D){var B=null,C="";D||(D="small");B=this.getImageInfo(F,E,D);B&&(C=B.url);return C};w.prototype.getImageInfo=function(E,D,C){var B=null,F;C||(C="small");if(true===this.option("swap-rows-columns")){F=E;E=D;D=F}
958(true===this.option("reverse-row"))&&(E=this.option("rows")+1-E);(true===this.option("reverse-column"))&&(D=this.option("columns")+1-D);B={url:this.prepareUrl(E,D,"fullscreen"===C||"zoom"===C),left:0,top:0};return B||null};w.prototype.onImageLoadProgress=function(D,C,B){if(f(this.imageMap[C]).filter(function(E){return("small"!==D||this.isVerticalSpin||E.row===this.option("start-row")-1)},this).length){this.progressBar.increment(B*this.progressBar.step)}};w.prototype.onImageLoaded=function(E,D,H){var G=f([]),B,C=1,F=function(J,I){return J-I};this.pendingImages[E]--;if(this.useMultiBackground){C=this.bgImages.url.push('url("'+H.img.getAttribute("src")+'")');this.bgImages.position.push("0px -10000px");if(!l||"fullscreen"!==E){this.bgURL=this.bgImages.url.join(",")}}
959if(!this.useMultiBackground&&!this.imageMap[D].URLCached){if(!u.browser.features.canvas){this.imgCacheBox.append(H.img)}
960this.imageMap[D].URLCached=true}
961f(f(this.imageMap[D]).filter(function(I){return I.type===E})).jEach(function(K,J,I){K.img.framesOnImage=I.length;K.img.bgIndex=C-1;K.img.bgURL="url('"+H.img.getAttribute("src")+"')";K.img.complete=true;K.img.loaded=H.ready;K.img.cachedObject=H.img;G.contains(K.row)||G.push(K.row)});this.onImageLoadProgress(E,D,1);if("small"==E){f(G).jEach(function(I){if(!f(this.images[E][I]).filter(function(J){return J.complete!==true}).length){this.loadedRows.count++;this.loadedRows.indexes.push(I);this.loadedRows.indexes.sort(F);this.current&&this.checkJumpRowCol(this.currentFrame.row,this.currentFrame.col);
961if((l&&this.useMultiBackground)||this.isVerticalSpin?(!this.imageQueue[E].length&&0===this.pendingImages[E]):I===this.option("start-row")-1){setTimeout(function(){this.progressBar.hide();this.init()}.jBind(this),1)}}},this)}
962if(!(l&&this.useMultiBackground)&&this.isFullScreen&&"fullscreen"==E){this.jump_(this.currentFrame.row,this.currentFrame.col)}
963if(!this.imageQueue[E].length){if((l&&this.useMultiBackground)&&this.isFullScreen&&"fullscreen"==E&&0===this.pendingImages[E]){this.bgURL=this.bgImages.url.join(",");this.jump_(this.currentFrame.row,this.currentFrame.col)}
964return}
965if(this.pendingImages[E]<this.concurrentImages&&this.imageQueue[E].length){this.pendingImages[E]++;D=this.imageQueue[E].shift();new u.ImageLoader(D,{xhr:this.useXHR,oncomplete:this.onImageLoaded.jBind(this,E,D)})}};w.prototype.preloadImages=function(E,J,C){E||(E="small");var G=this.option("columns"),K=this.option("rows"),D=0,H,F,I,B;F=J;H=C;this.images[E]=new Array(K);do{this.images[E][F-1]=new Array(G);do{I=this.getImageInfo(F,H,E);if(!this.imageQueue[E].contains(I.url)){("small"==E&&(F==J||this.isVerticalSpin))&&D++;this.imageQueue[E].push(I.url)}
966I.left*=-1;I.top*=-1;I.bgIndex=0;I.framesOnImage=1;I.loaded=false;I.complete=false;this.images[E][F-1][H-1]=I;this.imageMap[I.url]||(this.imageMap[I.url]=f([]));this.imageMap[I.url].push({row:F-1,type:E,img:this.images[E][F-1][H-1]});--H<1&&(H=G)}while(H!=C);--F<1&&(F=K)}while(F!=J);if(this.imageQueue[E].length===K*G){this.useXHR=false}
967this.progressBar.step=100/("small"==E?D:this.imageQueue[E].length);this.progressBar.show(E==="small"?"center":"auto",(this.useXHR||100!==this.progressBar.step)?true:false);this.imageLoadStarted[E]=u.now();while(this.pendingImages[E]<G&&this.imageQueue[E].length){B=this.imageQueue[E].shift();new u.ImageLoader(B,{xhr:this.useXHR,oncomplete:this.onImageLoaded.jBind(this,E,B),onxhrerror:f(function(){if(100===this.progressBar.step){this.progressBar.setIncrementalStyle(false)}}).jBind(this)});this.pendingImages[E]++}};w.prototype.preInit=function(D){var C={},B=null;if(!D&&(this.option("fullscreen")||this.option("magnify"))){new u.ImageLoader(this.prepareUrl(1,1,true),{onload:f(function(F){this.zoomSize=F.jGetSize();this.fullScreenSize=F.jGetSize()}).jBind(this),onerror:f(function(F){this._options.set("fullscreen",false);this._options.set("magnify",false)}).jBind(this),oncomplete:f(function(F){this.preInit(true)}).jBind(this)});return}
968this.isVerticalSpin=(1===this.option("columns")&&this.option("rows")>1);this.size=f(this.o.firstChild).jGetSize();if(0===this.size.height){this.preInit.jBind(this,true).jDelay(500);return}
969C={id:"m360-box-"+Math.floor(Math.random()*u.now())};B=u.addCSS("#"+C.id+":after",{"padding-bottom":(this.normalSize.height/this.normalSize.width)*100+"% !important"},p);if(B>-1){this.addedCSS.push(B)}
970this.wrapper=u.$new("div",C).jAddClass(c+"-container").jSetCss({display:"inline-block",overflow:"hidden",position:"relative","text-align":"center",width:"100%","max-width":this.normalSize.width,}).enclose(this.o.jSetCss({display:"inline-block",visibility:"visible",overflow:"hidden",position:"relative","vertical-align":"middle","text-decoration":"none",color:"#000","background-repeat":"no-repeat"}));this.o.firstChild.jSetCss({width:"100%"});if(u.browser.trident&&u.browser.ieMode<9){this.o.jSetCss({"background-image":"none",filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod="scale", src="'+t(this.o.firstChild.getAttribute("src"))+'")'})}
971this.o.jSetCss({"backface-visibility":"hidden",transform:"translate3d(0,0,0)"});this.size=f(this.o).jGetSize();if(u.browser.features.canvas){this.backstageCanvas=u.$new("canvas");this.backstageCtx=this.backstageCanvas.getContext("2d");this.backstageCanvas2=u.$new("canvas");this.backstageCtx2=this.backstageCanvas2.getContext("2d");this.canvas=u.$new("canvas").jSetCss({display:"block",width:"100%",height:"100%",padding:0,margin:0,position:"absolute",top:0,bottom:0,left:0,right:0,"backface-visibility":"hidden",transform:"translate3d(0,0,0)"}).jAppendTo(this.o);this.canvasContext=this.canvas.getContext("2d");this.canvas.width=this.size.width;this.canvas.height=this.size.height}else{this.imgContext=u.$new("img",{src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"}).jSetCss({display:"block",width:"100%",border:0,padding:0,margin:0,position:"absolute",top:0,bottom:0,left:0,right:0,"backface-visibility":"hidden",transform:"translate3d(0,
9710,0)"}).jAppendTo(this.o)}
972this.boundaries=this.o.jGetRect();if(5===u.browser.ieMode||"border-box"===(this.o.jGetCss("box-sizing")||this.o.jGetCss("-moz-box-sizing"))){this.borders.x=parseFloat(this.o.jGetCss("border-left-width")||"0")+parseFloat(this.o.jGetCss("border-right-width")||"0");this.borders.y=parseFloat(this.o.jGetCss("border-top-width")||"0")+parseFloat(this.o.jGetCss("border-bottom-width")||"0")}
973if(5===u.browser.ieMode){this.wrapper.jSetCss({width:this.normalSize.width+this.borders.x,display:"inline"})}
974this.boxSize=this.wrapper.jGetSize();this.boxBoundaries=this.wrapper.jGetRect();this.resizeCallback=function(){clearTimeout(this.reflowTimer);this.reflowTimer=f(this.reflow).jBind(this).jDelay(10)}.jBind(this);f(window).jAddEvent("resize",this.resizeCallback);if(!u.browser.touchScreen||!u.browser.mobile){this.wrapper.jAddClass("desktop");this.o.jAddClass("desktop")}
975if(this.isVerticalSpin){this.o.jAddClass("m360-spin-y")}else{if((1===this.option("rows")&&this.option("columns")>1)){this.o.jAddClass("m360-spin-x")}}
976this.progressBar=new g(this.o);this.preloadImages("small",this.option("start-row"),this.option("start-column"))};w.prototype.init=function(D){if(!D){this.current={row:1,col:1,tmp:{row:1,col:1}};this.jump(this.option("start-row")-1,this.option("start-column")-1);this.init.jBind(this,true).jDelay(300);return}
977this.o.firstChild.jSetOpacity(0);var M={x:0,y:0};var K={x:0,y:0};var I=this;this.ppf={x:this.size.width/this.option("columns")/Math.pow(this.option("sensitivityX")/50,2),y:this.size.height/this.option("rows")/Math.pow(this.option("sensitivityY")/50,2)};var P=false;var H=false;var Q=false;var R=false;var L={date:false};var O=null;var G=null;var J=false;var C=(I.isVerticalSpin||(I.option("loop-row")&&!I.option("loop-column")))?"rows":"columns";if(!this._options.exists("autospin-speed")||!isFinite(this.option("autospin-speed"))){this.option("autospin-speed",Math.min(e*parseInt(this.option(C),10),this._options.defaults["autospin-speed"]))}
978this._autospin={invoked:false,infinite:("infinite"==this.option("autospin")),cancelable:("never"!=this.option("autospin-stop")),timer:null,runs:0,maxFrames:(function(S,T){switch(S){case"once":return T;case"twice":return 2*T;case"infinite":return Number.MAX_VALUE;default:return 0}})(this.option("autospin"),this.option(C)),frames:0,playedFrames:0,alternate:/^alternate\-(anti)?clockwise$/.test(this.option("autospin-direction")),fn:(function(T,S){if(this._autospin.alternate){S*=(++this._autospin.playedFrames%this.option(C)?-1:0)*(Math.floor(this._autospin.playedFrames/this.option(C))%2||-1)}
979if("rows"===C){this.jump(this.currentFrame.row+S,this.currentFrame.col)}else{this.jump(this.currentFrame.row,this.currentFrame.col+S)}
980(--this._autospin.frames>0)&&(this._autospin.timer=this._autospin.fn.jDelay(T))||this._autospin.onpause()}).jBind(this,this.option("autospin-speed")/this.option(C),(/^(alternate\-)?anticlockwise$/.test(this.option("autospin-direction"))?-1:1)),play:function(S){this.frames=S||this.maxFrames;this.playedFrames=("rows"===C)?I.currentFrame.row:I.currentFrame.col;clearTimeout(this.timer);if(this.frames>0){this.timer=this.fn.jDelay(1);this.runs++;if(I.hintBox){I.hideHintBox()}}},pause:function(S){this.timer&&clearTimeout(this.timer);if(this.frames>0){this.frames=0;this.onpause(S)}},onpause:function(S){if(true!==S&&this._autospin.runs<2&&this.option("rows")*this.option("columns")>1&&this.option("hint")){this.setupHint()}}.jBind(this)};this.o.jSetCss({outline:"none"});this.mMoveEvent=function(V){if((/touch/i).test(V.type)&&V.touches.length>1){return true}
981if(H||R){if(!R){E(V);P=true}else{return true}}
982var U=V.jGetPageXY(),T=U.x-M.x,X=U.y-M.y,S=T>0?Math.floor(T/I.ppf.x):Math.ceil(T/I.ppf.x),W=X>0?Math.floor(X/I.ppf.y):Math.ceil(X/I.ppf.y);if(I.option("spin")=="hover"||I.option("spin")=="drag"&&P){clearTimeout(O);if(!Q&&f(V).isTouchEvent()){if(I.option("columns")>1&&Math.abs(T)>1&&Math.abs(T)>Math.abs(X)||I.option("rows")>1&&Math.abs(X)>1&&Math.abs(X)<a){f(V).stopDefaults()}else{P=false;return}}
983Q=true;if(I.option("rows")>1&&Math.abs(X)>=I.ppf.y){M.y=M.y+W*I.ppf.y;I.jump(I.current.row+W,I.current.col)}
984if(I.option("columns")>1&&I.option("rows")<=1){if(Math.abs(T)>=I.ppf.x){M.x=M.x+S*I.ppf.x;M.y=U.y;I.jump(I.current.row,I.current.col+(0-S))}else{if(Math.abs(X)>=I.ppf.y){M.x=U.x;M.y=M.y+W*I.ppf.y;I.jump(I.current.row,I.current.col+(0-W))}}}else{if(I.option("columns")>1&&Math.abs(T)>=I.ppf.x){M.x=M.x+S*I.ppf.x;I.jump(I.current.row,I.current.col+(0-S))}}
985O=setTimeout(function(Y){this.spos=Y;this.date=u.now()}.jBind(L,U),50)}
986return false};if(this._autospin.cancelable){f(this.option("spin")=="drag"?document:this.o).jAddEvent(k.mousemove,this.mMoveEvent);if(u.browser.touchScreen){f(this.option("spin")=="drag"?document:this.o).jAddEvent("touchmove",this.mMoveEvent)}}
987this.mHoverEvent=function(S){if(S.pointerType&&("touch"===S.pointerType||S.pointerType===S.MSPOINTER_TYPE_TOUCH)){return true}
988if(H||R){H&&I.magnifier.div.show()&&I.magnifier.animate(S);return false}
989if(I._autospin.frames>0&&"hover"==I.option("autospin-stop")){I._autospin.pause()}else{!I._autospin.invoked&&f(I.option("autospin-start")).contains("hover")&&(I._autospin.invoked=!I._autospin.infinite)&&I._autospin.play()}
990M=S.jGetPageXY();"hover"==I.option("spin")&&(I.spinStarted=true);return false};if(this._autospin.cancelable){this.o.jAddEvent(k.mouseover,this.mHoverEvent)}
991this.mOutEvent=function(S){if(S.pointerType&&("touch"===S.pointerType||S.pointerType===S.MSPOINTER_TYPE_TOUCH)){return true}
992if(I.o.hasChild(S.getRelated())){return true}
993if(I._autospin.infinite&&"hover"==I.option("autospin-stop")){if(H){if
993(I.magnifier.div.hasChild(S.getRelated())){return true}
994E(S)}
995I._autospin.play()}else{}
996return false};if(this._autospin.cancelable){this.o.jAddEvent(k.mouseout,this.mOutEvent)}
997this.mDownEvent=function(T){var S=T.isTouchEvent();if(3==T.getButton()){return true}
998if(I.hintBox){I.hideHintBox()}
999if((/touch/i).test(T.type)&&T.touches.length>1){return true}
1000M=T.jGetPageXY();K=T.jGetPageXY();K.autospinStopped=false;if(H){if(S){I.magnifier.delta.x=I.magnifier.x+I.boxSize.width/I.magnifier.ratio.x/2-(I.boxBoundaries.right-T.jGetPageXY().x);I.magnifier.delta.y=I.magnifier.y+I.boxSize.height/I.magnifier.ratio.y/2-(I.boxBoundaries.bottom-T.jGetPageXY().y)}}
1001L.spos=T.jGetPageXY();L.date=u.now();I.option("spin")=="drag"&&(M=T.jGetPageXY());if(H||R){!S&&(R=false);return true}
1002if(I._autospin.frames>0&&"click"==I.option("autospin-stop")){K.autospinStopped=true;I._autospin.pause();T.stopDefaults()}
1003P=true;Q=false;I.option("spin")=="drag"&&(I.spinStarted=true)&&(M=T.jGetPageXY());return false};if(this._autospin.cancelable){if(!u.browser.mobile||!u.browser.touchScreen){this.o.jAddEvent(k.mousedown,this.mDownEvent)}
1004if(u.browser.touchScreen&&this.mDownEvent){this.o.jAddEvent("touchstart",this.mDownEvent)}}
1005this.mDocUpEvent=function(T){var S=(T.pointerType&&("touch"===T.pointerType||T.pointerType===T.MSPOINTER_TYPE_TOUCH))||(/touch/i).test(T.type);if(3==T.getButton()){return true}
1006if(H||R||!P){return}
1007L.moved=Q;I._checkDragFrames(L,T.jGetPageXY(),M);P=false;Q=false};if(this._autospin.cancelable){f(document).jAddEvent(k.mouseup,this.mDocUpEvent);if(u.browser.touchScreen){f(document).jAddEvent("touchend",this.mDocUpEvent)}
1008f(document).jAddEvent(k.mouseout,function(S){if(null===S.getRelated()||document.documentElement===S.getRelated()){P=false}})}
1009this.mUpEvent=function(U){var S=(U.pointerType&&("touch"===U.pointerType||U.pointerType===U.MSPOINTER_TYPE_TOUCH))||(/touch/i).test(U.type),T=U.jGetPageXY();if(0==Math.abs(T.x-K.x)&&0==Math.abs(T.y-K.y)){if(!H&&!R){if(K.autospinStopped){return}
1010if(!I._autospin.invoked&&I._autospin.frames<1&&f(I.option("autospin-start")).contains("click")){I._autospin.invoked=!I._autospin.infinite;I._autospin.play();return false}}
1011if(I.option("magnify")){Q=false;E(U)}
1012return false}
1013if(H||R||!P){return false}
1014L.moved=Q;I._checkDragFrames(L,U.jGetPageXY(),M);P=false;Q=false;return false};if(this._autospin.cancelable){if(!u.browser.mobile||!u.browser.touchScreen){this.o.jAddEvent(k.mouseup,this.mUpEvent)}
1015if(u.browser.touchScreen){this.o.jAddEvent("touchend",this.mUpEvent)}}
1016if(this._autospin.cancelable&&this.option("mousewheel-step")>0){this.o.jAddEvent("mousescroll",function(S){var T;if(I._autospin&&I._autospin.frames>0){I._autospin.pause(true)}
1017if(H||R||I._autospin.frames>0){return}
1018f(S).stop();T=Math.abs(S.deltaY)<Math.abs(S.deltaX)?S.deltaX:S.deltaY;T=S.isMouse?((T/Math.abs(T))*I.option("mousewheel-step")):(T*(8/54));clearTimeout(G);if(!J){J=true;I.spinStarted=true}
1019if(I.isVerticalSpin||(I.option("loop-row")&&!I.option("loop-column"))){I.jump(I.current.row+(S.isMouse?-1:1)*T,I.current.col,S.isMouse,300)}else{if(S.isMouse||I.option("rows")<2||Math.abs(S.deltaY)<Math.abs(S.deltaX)){I.jump(I.current.row,I.current.col+T,S.isMouse,300)}else{I.jump(I.current.row+(S.isMouse?-1:1)*T,I.current.col,S.isMouse,300)}}
1020G=setTimeout(function(U){J=false},200)})}
1021if(this._autospin.cancelable&&!("infinite"==this.option("autospin")&&f(this.option("autospin-start")).contains("click"))&&this.option("magnify")){H=false;if("inner"!=this.option("magnifier-shape")){var B=""+this.option("magnifier-width");if(B.match(/\%$/i)){B=Math.round(this.size.width*parseInt(B)/100)}else{B=parseInt(B)}}
1022this.o.jAddClass("zoom-in");this.magnifier={div:u.$new("div",null,{position:"absolute","z-index":9999,left:0,top:0,width:(B||this.boxSize.width)+"px",height:(B||this.boxSize.height)+"px","background-repeat":"no-repeat","border-radius":("circle"!=I.option("magnifier-shape"))?0:B/2}).jAddEvent("dragstart selectstart",function(S){S.stop()}),image:null,ratio:{x:0,y:0},pos:{x:0,y:0},delta:{x:0,y:0},size:{width:(B||this.boxSize.width),height:(B||this.boxSize.height)},ddx:0,ddy:0,fadeFX:null,moveTimer:null,startTime:null,spin:this,start:function(T,U,S){if
1022(!I.canMagnify){return}
1023if("inner"==I.option("magnifier-shape")){this.ratio.x=I.zoomSize.width/I.boxSize.width;this.ratio.y=I.zoomSize.height/I.boxSize.height}else{this.ratio.x=I.zoomSize.width/I.size.width;this.ratio.y=I.zoomSize.height/I.size.height}
1024H=true;P=false;if("inner"==I.option("magnifier-shape")){this.size=I.zoomSize;this.div.jSetCss({width:"100%",height:"100%"})}
1025this.image=f(T.img);this.image.jSetCss({width:I.zoomSize.width,height:I.zoomSize.height}).jAppendTo(this.div);this.div.jSetOpacity(0);this.div.jAppendTo(I.isFullScreen?I.fullScreenBox:I.wrapper);I.o.jRemoveClass("zoom-in");this.animate(null,U,S);this.fadeFX.stop();this.fadeFX.options.duration=400;this.fadeFX.options.onComplete=function(){I.option("onzoomin").call(null,I.o)};this.fadeFX.start({opacity:[0,1]});this.registerEvents()},stop:function(S){this.unRegisterEvents();H=false;R=false;this.fadeFX.stop();this.fadeFX.options.onComplete=function(){clearTimeout(I.magnifier.moveTimer);I.magnifier.moveTimer=null;I.magnifier.image.jRemove();I.magnifier.div.jRemove();I.magnifier.pos={x:0,y:0};I.magnifier.delta={x:0,y:0};I.magnifier.ddx=0;I.magnifier.ddy=0;I.o.jAddClass("zoom-in");I.option("onzoomout").call(null,I.o)};this.fadeFX.options.duration=200;this.fadeFX.start({opacity:[this.fadeFX.el.jGetCss("opacity"),0]})},animate:function(W,V,U){if(!H){return}
1026var T,X,S=U||(W&&W.isTouchEvent())||false;if(W){if(S&&!W.isPrimaryTouch()){return}
1027f(W).stopDefaults()}
1028V=V||W.jGetPageXY();if(V.x>I.boxBoundaries.right||V.x<I.boxBoundaries.left||V.y>I.boxBoundaries.bottom||V.y<I.boxBoundaries.top){return}
1029if(W&&S){W.stop()}
1030this.touchEvent=S;if("inner"===I.option("magnifier-shape")){V.x-=this.delta.x;V.y-=this.delta.y;if(this.ratio.x<=1){T=I.boxSize.width/2;T-=I.boxSize.width/this.ratio.x/2}else{T=(W&&S)?(I.boxBoundaries.right-V.x):V.x-I.boxBoundaries.left;T-=I.boxSize.width/this.ratio.x/2;T=Math.max(0,Math.min(T,I.boxSize.width-I.boxSize.width/this.ratio.x))}
1031if(this.ratio.y<=1){X=I.boxSize.height/2;X-=I.boxSize.height/this.ratio.y/2}else{X=(W&&S)?(I.boxBoundaries.bottom-V.y):V.y-I.boxBoundaries.top;X-=I.boxSize.height/this.ratio.y/2;X=Math.max(0,Math.min(X,I.boxSize.height-I.boxSize.height/this.ratio.y))}}else{T=V.x;X=V.y}
1032this.x=T;this.y=X;if(!this.moveTimer){this.move(1)}},move:function(V){var Y,X,aa,Z,W,U,T,S;isFinite(V)||(V=0.2);if("inner"!=I.option("magnifier-shape")){clearTimeout(this.moveTimer);this.moveTimer=null;Y=this.x;X=this.y;W=Math.round(Y-this.size.width/2)-I.boxBoundaries.left;U=Math.round(X-this.size.height/2)-I.boxBoundaries.top;if(this.touchEvent){U-=this.size.height/2+22}
1033T=Math.round(0-((Y-I.boundaries.left-I.borders.x)*this.ratio.x-(this.size.width/2)));S=Math.round(0-((X-I.boundaries.top-I.borders.y)*this.ratio.y-(this.size.height/2)))}else{aa=Math.ceil((this.x-this.ddx)*V);Z=Math.ceil((this.y-this.ddy)*V);if(!aa&&!Z){clearTimeout(this.moveTimer);this.moveTimer=null;return}
1034this.ddx+=aa;this.ddy+=Z;W=0;U=0;T=-(this.ddx*(this.size.width/I.boxSize.width));S=-(this.ddy*(this.size.height/I.boxSize.height))}
1035if(H){this.div.jSetCss({left:W,top:U});this.image.jSetCss(u.browser.features.transform?9===u.browser.ieMode||u.browser.presto?{top:0,left:0,transform:"translate("+T+"px,"+S+"px)"}:{top:0,left:0,transform:"translate3d("+T+"px,"+S+"px, 0)"}:{left:T,top:S})}
1036if("inner"==I.option("magnifier-shape")){this.moveTimer=setTimeout(this.moveBind,40)}},registerEvents:function(){var S=I.isFullScreen?I.fullScreenBox:I.wrapper;if(I._autospin.cancelable){if(!u.browser.mobile||!u.browser.touchScreen){S.jAddEvent(k.mousedown,I.mDownEvent);S.jAddEvent(k.mouseup,I.mUpEvent)}
1037S.jAddEvent(k.mousemove,this.animateBind);if(u.browser.touchScreen){S.jAddEvent("touchstart",I.mDownEvent);S.jAddEvent("touchend",I.mUpEvent);S.jAddEvent("touchmove",this.animateBind)}}},unRegisterEvents:function(){var S=I.isFullScreen?I.fullScreenBox:I.wrapper;if(I._autospin.cancelable){if(!u.browser.mobile||!u.browser.touchScreen){S.jRemoveEvent(k.mousedown,I.mDownEvent);S.jRemoveEvent(k.mouseup,I.mUpEvent)}
1038S.jRemoveEvent(k.mousemove,this.animateBind);if(u.browser.touchScreen){S.jRemoveEvent("touchstart",I.mDownEvent);S.jRemoveEvent("touchend",I.mUpEvent);S.jRemoveEvent("touchmove",this.animateBind)}}}};this.magnifier.fadeFX=new u.FX(this.magnifier.div);this.magnifier.animateBind=this.magnifier.animate.jBindAsEvent(this.magnifier);this.magnifier.moveBind=this.magnifier.move.jBind(this.magnifier);this.magnifier.div.jAddClass("m360-magnifier").jAddClass("m360-magnifier-"+this.option("magnifier-shape"));if("inner"!=this.option("magnifier-shape")){I.magnifier.div.jAddEvent("mousescroll",function(U){var T=U.isMouse?5:8/54,S;f(U).stop();T=(100+T*Math.abs(U.delta))/100;if(U.delta<0){T=1/T}
1039S=Math.max(100,Math.round(I.magnifier.size.width*T));
1039S=Math.min(S,I.size.width);this.jSetCss({width:S,height:S,"border-radius":("circle"!=I.option("magnifier-shape"))?0:S/2});I.magnifier.size=this.jGetSize();I.magnifier.move(1)})}
1040var F=this.loader=u.$new("div").jAddClass("m360-magnifier-loader-holder").append(u.$new("div").jAddClass("m360-loader")).jAddEvent(k.mousedown+" "+k.mousemove,function(S){S.stopDistribution()});F.toggle=function(S){if(S){F.timer=setTimeout(function(){I.o.append(F)},400)}else{if(F.timer){clearTimeout(F.timer);F.timer=false}
1041(I.o===this.parentNode)&&I.o.removeChild(F)}};function E(X,T){var W,V,U,S=false;if(Q){return}
1042if(!I.canMagnify){return}
1043if(u.jTypeOf(X)=="event"){S=(X.pointerType&&("touch"===X.pointerType||X.pointerType===X.MSPOINTER_TYPE_TOUCH))||(/touch/i).test(X.type);if((U=f(X.getTarget())).jHasClass("icon")){if(H&&U.jHasClass("magnify")){return}
1044if(!H&&U.jHasClass("spin")){return}}
1045X.stop()}
1046if(H&&T){return}
1047if(!H&&false==T){return}
1048if(H&&!T){I.magnifier.stop(u.jTypeOf(X)=="event"?X.jGetPageXY():null);U&&U.jHasClass("spin")&&I._autospin.infinite&&I._autospin.play()}else{W=I.checkJumpRowCol(I.current.row,I.current.col);V=(u.jTypeOf(X)=="event")?X.jGetPageXY():X;F&&F.toggle(true);R=true;P=false;I._autospin.pause();new u.ImageLoader(I.getImageURL(W.row+1,W.col+1,"zoom"),{onload:f(function(Z,Y){I.resizeCallback();I.magnifier.start(Y,V,Z)}).jBind(null,S),onerror:function(){R=false},oncomplete:function(){F&&F.toggle(false)}})}
1049return false}
1050this._showM=E.jBind(this,{x:I.boxBoundaries.left+(I.boxBoundaries.right-I.boxBoundaries.left)/2,y:I.boxBoundaries.top+(I.boxBoundaries.bottom-I.boxBoundaries.top)/2},true);this._hideM=E.jBind(this,null,false)}
1051if(this._autospin.cancelable&&this.option("fullscreen")){this.fullscreenIcon=u.$new("button").jAddClass("m360-icon m360-icon-fullscreen-open").jAddEvent(k.mousedown,function(S){S.stopDistribution()}).jAddEvent("click",function(S){if(3==S.getButton()){return true}
1052S.stop();this.enterFullscreen();return false}.jBindAsEvent(this)).jAppendTo(this.wrapper);u.browser.touchScreen&&this.fullscreenIcon.jAddEvent("touchstart",function(S){S.stopDistribution()})}
1053this.resizeCallback();if(this._autospin.maxFrames>0&&f(this.option("autospin-start")).contains("load")){this._autospin.play()}else{this.jump(this.currentFrame.row,this.currentFrame.col);if(this.option("rows")*this.option("columns")>1&&this.option("hint")&&this._autospin.cancelable){this.setupHint()}}
1054var N=f(this.o).jFetch("cr");if(N){f(this.o).append(N)}
1055("function"==u.jTypeOf(this.option("onready")))&&this.option("onready").call(null,this.o)};w.prototype._checkDragFrames=function(F,E,G){if(!this.option("smoothing")||!F.date){return}
1056var D=u.now()-F.date;F.date=false;if(D<=0){return}
1057if(D<50){D=50}
1058var C=0.01;ppf=this.ppf,loopR=this.option("loop-row")&&this.loadedRows.count==this.option("rows"),loopC=this.option("loop-column"),dx=E.x-F.spos.x,dy=E.y-F.spos.y;function B(K){var L=K=="x"?dx:dy;var H=L/D;var J=(H/2)*(H/C);var I;if(K=="x"){if(Math.abs(dx)<Math.abs(dy)){I=J-(F.spos.x-G.x)}else{I=Math.abs(L+(L>0?J:(0-J)))-Math.abs(F.spos.x-G.x);I=L>0?(0-I):I}}else{if(!loopR||Math.abs(dx)>=Math.abs(dy)){I=J-(F.spos.y-G.y)}else{I=Math.abs(L+(L>0?J:(0-J)))-Math.abs(F.spos.y-G.y);I=L>0?(0-I):I}}
1059I/=ppf[K];return I>0?Math.floor(I):Math.ceil(I)}
1060this.jump(this.current.row+B("y"),this.current.col+B("x"),true,2*Math.abs(Math.floor(Math.max(Math.abs(dx),Math.abs(dy))/D/C)))};w.prototype.jump=function(E,C,B,D){this.current.row=E;this.current.col=C;this.fx&&this.fx.stop();if(!B){this.current.tmp.row=E;this.current.tmp.col=C;this.jump_(E,C);return}
1061this.fx=new u.FX(this.o,{duration:D,transition:u.FX.Transition.quadOut,onBeforeRender:(function(F){this.current.tmp.col=F.col;this.current.tmp.row=F.row;this.jump_(F.row,F.col)}).jBind(this)}).start({col:[this.current.tmp.col,C],row:[this.current.tmp.row,E]})};w.prototype.checkJumpRowCol=function(E,C){var B,D;E=Math.round(E);C=Math.round(C);if(this.option("loop-row")){E%=this.option("rows");E<0&&(E+=this.option("rows"))}
1062if(this.loadedRows.indexes.contains(E)){E=this.loadedRows.indexes.indexOf(E)}else{var B=(E-this.currentFrame.row)/Math.abs(E-this.currentFrame.row);var D=this.loadedRows.indexes.filter(function(F){return(F-E)*B>0});E=D.length?this.loadedRows.indexes.indexOf(D[(B<0)?D.length-1:0]):(!this.option("loop-row")||this.loadedRows.count<this.option("rows"))?this.loadedRows.indexes.indexOf(this.currentFrame.row):(B<0?this.loadedRows.count-1:0)}
1063if(!this.option("loop-column")&&(!this._autospin||this._autospin.frames<1)){C>(this.option("columns")-1)&&(C=this.option("columns")-1);C<0&&(C=0)}
1064C%=this.option("columns");C<0&&(C+=this.option("columns"));(!this.option("loop-column"))&&(this.current.col=C);this.currentFrame={row:this.loadedRows.indexes[E],col:C};if(!this.option("loop-row")||this.loadedRows.count<this.option("rows")){this.current.row=this.currentFrame.row}
1065return u.detach(this.currentFrame)};w.prototype.jump_=function(F,B){var D=this.checkJumpRowCol(F,B),E,C,G;F=D.row;B=D.col;E=this.images.small[F][B];
1065if(this.isFullScreen&&!(l&&this.useMultiBackground&&this.imageQueue.fullscreen.length)&&this.images.fullscreen[F]&&this.images.fullscreen[F][B]&&this.images.fullscreen[F][B].loaded){E=this.images.fullscreen[F][B]}
1066if(!E.loaded){return}
1067if(u.browser.features.canvas){this.ctxDraw(E.cachedObject)}else{this.imgContext.src=E.url}
1068this.option("actionspin").call(null,this.o,B);if(this.spinStarted&&(!this.lastFrame||this.lastFrame.row!=F||this.lastFrame.col!=B)){this.option("onspin").call(null,this.o);this.spinStarted=false;if(this.hintBox){this.hideHintBox()}}
1069this.lastFrame=D};w.prototype.ctxDraw=function(D){var C=0,H=this.size.width,F=this.size.height,B=D.naturalWidth,G=D.naturalHeight;if((window.devicePixelRatio||1)>=2&&((B*G)/(H*F)>=2)){H*=2;F*=2}
1070C=Math.ceil(Math.log(Math.max(D.naturalWidth/H,D.naturalHeight/F))/Math.LN2);this.backstageCanvas.width=B;this.backstageCanvas.height=G;this.backstageCanvas2.width=B;this.backstageCanvas2.height=G;this.backstageCtx.drawImage(D,0,0,B,G);for(var E=C-1;E>0;E--){this.backstageCanvas2.width*=0.5;this.backstageCanvas2.height*=0.5;this.backstageCtx2.drawImage(this.backstageCanvas,0,0,this.backstageCanvas.width,this.backstageCanvas.height,0,0,this.backstageCanvas2.width,this.backstageCanvas2.height);this.backstageCanvas.width*=0.5;this.backstageCanvas.height*=0.5;this.backstageCtx.drawImage(this.backstageCanvas2,0,0,this.backstageCanvas2.width,this.backstageCanvas2.height,0,0,this.backstageCanvas.width,this.backstageCanvas.height)}
1071this.canvas.width=H;this.canvas.height=F;this.canvasContext.drawImage(this.backstageCanvas,0,0,this.backstageCanvas.width,this.backstageCanvas.height,0,0,this.canvas.width,this.canvas.height)};w.prototype.reflow=function(){var B,D,C;this.boundaries=this.o.jGetRect();this.boxSize=this.wrapper.jGetSize();this.boxBoundaries=this.wrapper.jGetRect();if(this.isFullScreen){D=f(document).jGetSize();C=this.fullScreenSize.width/this.fullScreenSize.height;if(u.browser.trident&&u.browser.backCompat){this.fullScreenBox.jSetCss({width:D.width,height:D.height})}
1072this.boxSize=this.fullScreenBox.jGetSize();this.boxBoundaries=this.fullScreenBox.jGetRect();this.o.jSetCss(this.adjustFSSize(D))}
1073B=f(this.o).jGetSize();if(this.isFullScreen&&11==u.browser.ieMode&&window.parent!==window.window){this.boxSize.width=this.fullScreenBox.clientWidth;this.boxSize.height=this.fullScreenBox.clientHeight;B.width=this.o.clientWidth;B.height=this.o.clientHeight}
1074if(B.width<=0||B.height<=0){return}
1075B.width-=this.borders.x;B.height-=this.borders.y;this.size=B;if(this.option("magnify")){if((this.size.width*this.size.height)/(this.zoomSize.width*this.zoomSize.height)>0.8){this._hideM&&this._hideM();this.canMagnify=false;this.o.jRemoveClass("zoom-in")}else{this.canMagnify=true;this.o.jAddClass("zoom-in")}}
1076this.ppf={x:this.size.width/this.option("columns")/Math.pow(this.option("sensitivityX")/50,2),y:this.size.height/this.option("rows")/Math.pow(this.option("sensitivityY")/50,2)};if(this.current){this.jump_(this.current.row,this.current.col)}};w.prototype.spin=function(B){(this._hideM)&&this._hideM();if(this.hintBox){this.hideHintBox()}
1077this.spinStarted=true;(B||null)?this.jump(this.current.row,this.current.col+B,true,100*(Math.log(Math.abs(B)/Math.log(2)))):this._autospin.play(Number.MAX_VALUE)};w.prototype.rotate=function(B,C){if(!B){B=0}
1078if(!C){C=0}
1079if(!B&&!C){return}
1080if(this._hideM){this._hideM()}
1081if(this.hintBox){this.hideHintBox()}
1082this.spinStarted=true;this.jump(this.current.row+C,this.current.col+B,true,100*(Math.log(Math.max(Math.abs(B),Math.abs(C))/Math.log(2))))};w.prototype.rotateX=function(B){this.rotate(B,0)};w.prototype.rotateY=function(B){this.rotate(0,B)};w.prototype.magnify=function(B){(u.defined(B)?B:true)?this._showM&&this._showM():this._hideM&&this._hideM()};w.prototype.stop=function(){var D,B,E,C=window.URL||window.webkitURL||null;if(this._autospin&&this._autospin.frames>0){this._autospin.pause()}
1083if(this.isFullScreen){this.o.firstChild.jSetCss({});this.o.jSetCss({width:"",height:"100%","max-height":"","max-width":""}).jAppendTo(this.wrapper)}
1084if(this.fullScreenBox){if(this.fullScreenScrollCallback){f(window).jRemoveEvent("scroll",this.fullScreenScrollCallback)}
1085if(this.fullScreenScrollCallbackTimer){clearTimeout(this.fullScreenScrollCallbackTimer)}
1086this.fullScreenBox.kill();this.fullScreenBox=null}
1087if(this.magnifier&&this.magnifier.div){this.magnifier.div.kill();this.magnifier=null}
1088if(this.fullscreenIcon){this.fullscreenIcon.kill();this.fullscreenIcon=null}
1089f(window).jRemoveEvent("resize",this.resizeCallback);clearTimeout(this.reflowTimer);this.reflowTimer=null;this.o.jClearEvents();while(this.o.firstChild!=this.o.lastChild){this.o.removeChild(this.o.lastChild)}
1090if(this.option("spin")=="drag"){f(document).jRemoveEvent([k.mousemove,"touchmove"],this.mMoveEvent)}
1091f(document).jRemoveEvent([k.mouseup,k.mouseout,"touchend"],this.mDocUpEvent);this.o.replaceChild(this.oi,this.o.firstChild);this.o.jSetCssProp("background","");this.o.jRemoveClass("zoom-in");
1091if(this.wrapper){this.wrapper.parentNode.replaceChild(this.o,this.wrapper);this.wrapper.kill();this.wrapper=null}
1092for(D=0,B=this.addedCSS.length;D<B;D++){u.removeCSS("leoimage360-css",this.addedCSS[D])}
1093f(this.imgCacheBox).jRemove();if(C){for(E in this.imageMap){f(this.imageMap[E]).jEach(function(G){var F=G.img.bgURL.replace(/^url\s*\(\s*["']?/,"").replace(/["']?\s*\)$/,"");if(/^blob\:/.test(F)){C.revokeObjectURL(F)}})}}};w.prototype.enterFullscreen=function(){if(!this._autospin.cancelable||!this.option("fullscreen")){return}
1094this._hideM&&this._hideM();var E=f(document).jGetSize(),D=f(window).jGetScroll(),C=f(document).jGetFullSize(),B=window.parent!==window.window;if(B){if(C.height<=E.height){D.y=this.boxBoundaries.top}
1095E.height=Math.min(E.height,this.fullScreenSize.height);if(E.height+D.y>C.height){E.width-=u.browser.scrollbarsWidth}}
1096if(!this.fullScreenBox){this.fullScreenBox=u.$new("div",{},{display:"block",overflow:"hidden",position:"absolute",zIndex:20000,"text-align":"center","vertical-align":"middle",opacity:1,width:this.boxSize.width,height:this.boxSize.height,top:this.boxBoundaries.top,left:this.boxBoundaries.left}).jAddClass(c+"-fullscreen");if(!u.browser.touchScreen||!u.browser.mobile){this.fullScreenBox.jAddClass("desktop")}
1097if(u.browser.ieMode){this.fullScreenBox.jAddClass("leoimage-for-ie"+u.browser.ieMode)}
1098if(u.browser.ieMode&&u.browser.ieMode<8){this.fullScreenBox.append(u.$new("span",null,{display:"inline-block",height:"100%",width:1,"vertical-align":"middle"}))}
1099this.adjustFSSize=function(I){var F,H,G=this.fullScreenSize.width/this.fullScreenSize.height;F=Math.min(this.fullScreenSize.width,I.width*0.98);H=Math.min(this.fullScreenSize.height,I.height*0.98);if(F/H>G){F=H*G}else{if(F/H<=G){H=F/G}}
1100return{width:Math.floor(F),height:Math.floor(H)}};if(u.browser.trident&&u.browser.backCompat){this.fullScreenScrollCallback=function(){var F=f(window).jGetScroll(),G=this.fullScreenBox.jGetPosition();this.fullScreenScrollCallbackTimer&&clearTimeout(this.fullScreenScrollCallbackTimer);this.fullScreenScrollCallbackTimer=setTimeout(function(){new u.FX(this.fullScreenBox,{duration:250}).start({top:[G.top,F.y],left:[G.left,F.x]})}.jBind(this),300)}.jBind(this)}
1101if(this._autospin.cancelable){if(!u.browser.mobile||!u.browser.touchScreen){this.fullScreenBox.jAddEvent(k.mousedown,this.mDownEvent);this.fullScreenBox.jAddEvent(k.mouseup,this.mUpEvent)}
1102if(u.browser.touchScreen){this.fullScreenBox.jAddEvent("touchstart",this.mDownEvent);this.fullScreenBox.jAddEvent("touchend",this.mUpEvent)}}}
1103this.fullScreenImage||(this.fullScreenImage=f(this.o.firstChild.cloneNode(false)).jSetCss({position:"relative","z-index":1}));this.fullScreenImage.jSetCss({"margin-top":"-100%","margin-left":"100%"}).jSetOpacity(0);if(E.width/E.height>this.fullScreenSize.width/this.fullScreenSize.height){this.fullScreenImage.jSetCss({width:"auto",height:"98%","max-height":this.fullScreenSize.height,display:"inline-block","vertical-align":"middle"})}else{this.fullScreenImage.jSetCss({width:"98%","max-width":this.fullScreenSize.width,height:"auto",display:"inline-block","vertical-align":"middle"})}
1104this.fullScreenBox.jAppendTo(document.body).append(this.fullScreenImage);this.fullScreenBox.show();this.o.jSetCss({"max-width":this.fullScreenSize.width,"max-height":this.fullScreenSize.height,width:this.fullScreenImage.jGetSize().width+this.borders.x,height:"auto","background-size":this.fullScreenImage.jGetSize().width+"px "+this.fullScreenImage.jGetSize().height+"px","z-index":2}).jAppendTo(this.fullScreenBox,"top");s.browser.features.fullScreen&&this.fullScreenBox.jSetOpacity(1);s.browser.fullScreen.request(this.fullScreenBox,{onEnter:this.onEnteredFullScreen.jBind(this),onExit:this.onExitFullScreen.jBind(this),fallback:function(){this.fullScreenFX||(this.fullScreenFX=new u.FX(this.fullScreenBox,{duration:400,transition:u.FX.Transition.expoOut,onStart:(function(){this.fullScreenBox.jSetCss({width:this.boxSize.width,height:this.boxSize.height,top:this.boxBoundaries.top,left:this.boxBoundaries.left}).jAppendTo(document.body)}).jBind(this),onAfterRender:(function(F){this.o.jSetCss(this.fullScreenImage.jGetSize());this.size=this.o.jGetSize();this.jump_(this.current.row,this.current.col)}
1104).jBind(this),onComplete:(function(){this.onEnteredFullScreen(true)}).jBind(this)}));this.fullScreenFX.start({width:[this.boxSize.width,E.width],height:[this.boxSize.height,E.height],top:[this.boxBoundaries.top,0+D.y],left:[this.boxBoundaries.left,0+D.x],opacity:[0,1]})}.jBind(this)})};w.prototype.onEnteredFullScreen=function(I){var G,B,E=0,H=0,C=window.parent!==window.window,J,D=this.getCurrentFrame();if(I&&!this.isFullScreen&&!C&&!(u.browser.trident&&u.browser.backCompat)){this.fullScreenBox.jSetCss({display:"block",position:"fixed",top:0,bottom:0,left:0,right:0,width:"auto",height:"auto"})}
1105this.isFullScreen=true;this.o.firstChild.jSetCss({width:"100%",height:"auto","max-width":this.fullScreenSize.width,"max-height":this.fullScreenSize.height});this.resizeCallback();if(this.firstFullScreenRun){setTimeout((function(){this.progressBar.reset();this.progressBar.changePlaceholder(this.fullScreenBox);this.preloadImages("fullscreen",this.currentFrame.row+1,this.currentFrame.col+1)}).jBind(this),1);this.firstFullScreenRun=false}
1106this.jump_(this.current.row,this.current.col);if(this.fullScreenScrollCallback){f(window).jAddEvent("scroll",this.fullScreenScrollCallback)}
1107if(!this.leaveFSButton){this.leaveFSButton=u.$new("button").jAddClass("m360-icon m360-icon-fullscreen-close").jAppendTo(this.fullScreenBox).jAddEvent(k.mousedown,function(K){K.stopDistribution()}).jAddEvent("click",function(L){var K;if(3==L.getButton()){return true}
1108L.stop();if(K=this.fullScreenBox.jFetch("fullscreen:pseudo:event:keydown")){u.doc.jRemoveEvent("keydown",K);this.fullScreenBox.jDel("fullscreen:pseudo:event:keydown")}
1109this.exitFullscreen();return false}.jBindAsEvent(this));u.browser.touchScreen&&this.leaveFSButton.jAddEvent("touchstart",function(K){K.stopDistribution()})}
1110this.leaveFSButton.show();if(I){var F=function(K){if(K.keyCode==27){u.doc.jRemoveEvent("keydown",F);this.exitFullscreen()}}.jBindAsEvent(this);this.fullScreenBox.jStore("fullscreen:pseudo:event:keydown",F);u.doc.jAddEvent("keydown",F);!u.browser.touchScreen&&(this.leaveFSMessage=new u.Message("Press ESC key to leave full-screen",4000,this.fullScreenBox,c+"-message"))}
1111this.fullscreenIcon.hide()};w.prototype.exitFullscreen=function(){var D=this.fullScreenBox.jGetSize(),C=this.fullScreenBox.jGetRect(),B=this.checkJumpRowCol(this.current.row,this.current.col);this.leaveFSMessage&&this.leaveFSMessage.hide(0);this._hideM&&this._hideM();if(D.width/D.height>this.fullScreenSize.width/this.fullScreenSize.height){this.fullScreenImage.jSetCss({width:"auto",height:"98%","max-height":this.fullScreenSize.height,display:"inline-block","vertical-align":"middle"})}else{this.fullScreenImage.jSetCss({width:"98%","max-width":this.fullScreenSize.width,height:"auto",display:"inline-block","vertical-align":"middle"})}
1112if(s.browser.fullScreen.capable&&s.browser.fullScreen.enabled()){s.browser.fullScreen.cancel()}else{this.leaveFSButton.hide();this.fullScreenExitFX||(this.fullScreenExitFX=new u.FX(this.fullScreenBox,{duration:300,transition:u.FX.Transition.expoOut,onStart:(function(){this.isFullScreen=false;this.fullScreenBox.jSetCss({position:"absolute"}).jAppendTo(document.body)}).jBind(this),onAfterRender:(function(E){this.o.jSetCss(this.fullScreenImage.jGetSize());this.size=this.o.jGetSize();this.jump_(this.current.row,this.current.col)}).jBind(this),onComplete:(function(){this.onExitFullScreen(true)}).jBind(this)}));this.fullScreenExitFX.start({width:[D.width,this.boxSize.width],height:[D.height,this.boxSize.height],top:[0+C.top,this.boxBoundaries.top],left:[0+C.left,this.boxBoundaries.left],opacity:[1,0.5]})}};w.prototype.onExitFullScreen=function(C){var B,D=this.getCurrentFrame();if(!this.fullScreenBox){return}
1113this.fullscreenProgressBox&&this.fullscreenProgressBox.jRemove()&&delete this.fullscreenProgressBox;if(this.fullScreenScrollCallback){f(window).jRemoveEvent("scroll",this.fullScreenScrollCallback)}
1114this.isFullScreen=false;this.o.jAppendTo(this.wrapper).jSetOpacity(0).jSetCss({width:"",height:"","max-height":"","max-width":"100%","z-index":""});this.o.firstChild.jSetCss({width:"",height:"","max-width":"","max-height":""});this.resizeCallback();this.leaveFSButton.hide();this.fullscreenIcon.show();this.o.jSetOpacity(1);this.fullScreenBox.hide()};w.prototype.setupHint=function(){if(!this.hintBox){this.hintBox=u.$new("div",{"class":"m360-hint"});this.hintMessage=u.$new("span",{"class":"m360-hint-message"}).append(document.createTextNode(this.localString(u.browser.touchScreen?"mobile-hint-text":"hint-text"))).jAppendTo(this.hintBox);f(this.hintBox).jAppendTo(this.o)}
1115if(this.option("mousewheel-step")>0){var B=function(D){this.o.jRemoveEvent("mousescroll",B);this.hideHintBox()}.jBindAsEvent(this);this.o.jAddEvent("mousescroll",B)}
1116if("hover"===this.option("spin")){var C=function(){this.hideHintBox();this.o.jRemoveEvent("mousemove",C)}.jBindAsEvent(this);this.o.jAddEvent("mousemove",C)}};w.prototype.hideHintBox=function(){if(!this.hintBox||this.hintBox.hidding){return}
1117this.hintBox.hidding=true;new u.FX(this.hintBox,{duration:200,onComplete:function(){this.hintBox.jRemove();delete this.hintBox}.jBind(this)}).start({opacity:[this.hintBox.jGetCss("opacity"),0]})};w.prototype.getCurrentFrame=function(){var B=this.checkJumpRowCol(this.current.row,this.current.col);B.row++;B.col++;return B};var m=function(){return"mgctlbxN$M360 mgctlbxV$"+"v4.6.5".replace("v","")+" mgctlbxL$"+"m".toUpperCase()+((window.mgctlbx$Pltm&&"string"==u.jTypeOf(window.mgctlbx$Pltm))?" mgctlbxP$"+window.mgctlbx$Pltm.toLowerCase():"")};var j=f([]);var o={version:"v4.6.5 for LeoImageToolbox.com",options:{},lang:{},callbacks:{},start:function(C){var B=null;u.$A((C?[f(C)]:document.byClass("LeoImage360"))).jEach((function(D){if(f(D)){!j.filter(function(E){return E.o===D}).length&&j.push(B=new w(D))}}).jBind(this));return B},stop:function(E){var C,D,B;if(E){(D=r(E))&&(D=j.splice(j.indexOf(D),1))&&D[0].stop()&&(delete D[0]);return}
1118while(C=j.length){D=j.splice(C-1,1);D[0].stop();delete D[0]}},spin:function(D,C){var B;(B=r(D))&&B.spin(C)},jump:function(D,C){var B=null;if(B=r(D)){B._hideM&&B._hideM();B.hintBox&&B.hideHintBox();B.jump(B.current.row+C,B.current.col)}},pause:function(C){var B;(B=r(C))&&B._autospin.pause()},magnifyOn:function(C){var B;(B=r(C))&&B.magnify(true)},magnifyOff:function(C){var B;(B=r(C))&&B.magnify(false)},fullscreen:function(C){var B;(B=r(C))&&B.enterFullscreen()},getCurrentFrame:function(D){var B,C=null;if(B=r(D)){C=B.getCurrentFrame();C.column=C.col;delete C.col}
1119return C},setCurrentFrame:function(D,row,col){var B,C=null;if(B=r(D)){B.jump(row,col);return true;}
1120return false},registerCallback:function(B,C){o.callbacks[B]=C}};function r(D){var C=[],B=null;(D&&(B=f(D)))&&(C=j.filter(function(E){return E.o===B}));return C.length?C[0]:null}
1121f(document).jAddEvent("domready",function(){m=m();n=u.$new("div",{"class":"m360-tmp-hdn-cont"}).jAppendTo(document.body);o.start()});return o}
vendor: 12,133 bytes, lines 1121-1417
1121)();/**
1122 *	Generated by CoffeeScript 1.6.2
1123 *	jQuery Waypoints - v2.0.3
1124 *	Copyright (c) 2011-2013 Caleb Troughton
1125 *	Dual licensed under the MIT license and GPL license.
1126 *	https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
1127 *
1128 **/
1129(function() {
1130    var t = [].indexOf || function(t) {
1131        for (var e = 0, n = this.length; e < n; e++) {
1132            if (e in this && this[e] === t)
1133                return e
1134        }
1135        return-1
1136    }, e = [].slice;
1137    (function(t, e) {
1138        if (typeof define === "function" && define.amd) {
1139            return define("waypoints", ["jquery"], function(n) {
1140                return e(n, t)
1141            })
1142        } else {
1143            return e(t.jQuery, t)
1144        }
1145    })(this, function(n, r) {
1146        var i, o, l, s, f, u, a, c, h, d, p, y, v, w, g, m;
1147        i = n(r);
1148        c = t.call(r, "ontouchstart") >= 0;
1149        s = {horizontal: {}, vertical: {}};
1150        f = 1;
1151        a = {};
1152        u = "waypoints-context-id";
1153        p = "resize.waypoints";
1154        y = "scroll.waypoints";
1155        v = 1;
1156        w = "waypoints-waypoint-ids";
1157        g = "waypoint";
1158        m = "waypoints";
1159        o = function() {
1160            function t(t) {
1161                var e = this;
1162                this.$element = t;
1163                this.element = t[0];
1164                this.didResize = false;
1165                this.didScroll = false;
1166                this.id = "context" + f++;
1167                this.oldScroll = {x: t.scrollLeft(), y: t.scrollTop()};
1168                this.waypoints = {horizontal: {}, vertical: {}};
1169                t.data(u, this.id);
1170                a[this.id] = this;
1171                t.bind(y, function() {
1172                    var t;
1173                    if (!(e.didScroll || c)) {
1174                        e.didScroll = true;
1175                        t = function() {
1176                            e.doScroll();
1177                            return e.didScroll = false
1178                        };
1179                        return r.setTimeout(t, n[m].settings.scrollThrottle)
1180                    }
1181                });
1182                t.bind(p, function() {
1183                    var t;
1184                    if (!e.didResize) {
1185                        e.didResize = true;
1186                        t = function() {
1187                            n[m]("refresh");
1188                            return e.didResize = false
1189                        };
1190                        return r.setTimeout(t, n[m].settings.resizeThrottle)
1191                    }
1192                })
1193            }
1194            t.prototype.doScroll = function() {
1195                var t, e = this;
1196                t = {horizontal: {newScroll: this.$element.scrollLeft(), oldScroll: this.oldScroll.x, forward: "right", backward: "left"}, vertical: {newScroll: this.$element.scrollTop(), oldScroll: this.oldScroll.y, forward: "down", backward: "up"}};
1197                if (c && (!t.vertical.oldScroll || !t.vertical.newScroll)) {
1198                    n[m]("refresh")
1199                }
1200                n.each(t, function(t, r) {
1201                    var i, o, l;
1202                    l = [];
1203                    o = r.newScroll > r.oldScroll;
1204                    i = o ? r.forward : r.backward;
1205                    n.each(e.waypoints[t], function(t, e) {
1206                        var n, i;
1207                        if (r.oldScroll < (n = e.offset) && n <= r.newScroll) {
1208                            return l.push(e)
1209                        } else if (r.newScroll < (i = e.offset) && i <= r.oldScroll) {
1210                            return l.push(e)
1211                        }
1212                    });
1213                    l.sort(function(t, e) {
1214                        return t.offset - e.offset
1215                    });
1216                    if (!o) {
1217                        l.reverse()
1218                    }
1219                    return n.each(l, function(t, e) {
1220                        if (e.options.continuous || t === l.length - 1) {
1221                            return e.trigger([i])
1222                        }
1223                    })
1224                });
1225                return this.oldScroll = {x: t.horizontal.newScroll, y: t.vertical.newScroll}
1226            };
1227            t.prototype.refresh = function() {
1228                var t, e, r, i = this;
1229                r = n.isWindow(this.element);
1230                e = this.$element.offset();
1231                this.doScroll();
1232                t = {horizontal: {contextOffset: r ? 0 : e.left, contextScroll: r ? 0 : this.oldScroll.x, contextDimension: this.$element.width(), oldScroll: this.oldScroll.x, forward: "right", backward: "left", offsetProp: "left"}, vertical: {contextOffset: r ? 0 : e.top, contextScroll: r ? 0 : this.oldScroll.y, contextDimension: r ? n[m]("viewportHeight") : this.$element.height(), oldScroll: this.oldScroll.y, forward: "down", backward: "up", offsetProp: "top"}};
1233                return n.each(t, function(t, e) {
1234                    return n.each(i.waypoints[t], function(t, r) {
1235                        var i, o, l, s, f;
1236                        i = r.options.offset;
1237                        l = r.offset;
1238                        o = n.isWindow(r.element) ? 0 : r.$element.offset()[e.offsetProp];
1239                        if (n.isFunction(i)) {
1240                            i = i.apply(r.element)
1241                        } else if (typeof i === "string") {
1242                            i = parseFloat(i);
1243                            if (r.options.offset.indexOf("%") > -1) {
1244                                i = Math.ceil(e.contextDimension * i / 100)
1245                            }
1246                        }
1247                        r.offset = o - e.contextOffset + e.contextScroll - i;
1248                        if (r.options.onlyOnScroll && l != null || !r.enabled) {
1249                            return
1250                        }
1251                        if (l !== null && l < (s = e.oldScroll) && s <= r.offset) {
1252                            return r.trigger([e.backward])
1253                        } else if (l !== null && l > (f = e.oldScroll) && f >= r.offset) {
1254                            return r.trigger([e.forward])
1255                        } else if (l === null && e.oldScroll >= r.offset) {
1256                            return r.trigger([e.forward])
1257                        }
1258                    })
1259                })
1260            };
1261            t.prototype.checkEmpty = function() {
1262                if (n.isEmptyObject(this.waypoints.horizontal) && n.isEmptyObject(this.waypoints.vertical)) {
1263                    this.$element.unbind([p, y].join(" "));
1264                    return delete a[this.id]
1265                }
1266            };
1267            return t
1268        }();
1269        l = function() {
1270            function t(t, e, r) {
1271                var i, o;
1272                r = n.extend({}, n.fn[g].defaults, r);
1273                if (r.offset === "bottom-in-view") {
1274                    r.offset = function() {
1275                        var t;
1276                        t = n[m]("viewportHeight");
1277                        if (!n.isWindow(e.element)) {
1278                            t = e.$element.height()
1279                        }
1280                        return t - n(this).outerHeight()
1281                    }
1282                }
1283                this.$element = t;
1284                this.element = t[0];
1285                this.axis = r.horizontal ? "horizontal" : "vertical";
1286                this.callback = r.handler;
1287                this.context = e;
1288                this.enabled = r.enabled;
1289                this.id = "waypoints" + v++;
1290                this.offset = null;
1291                this.options = r;
1292                e.waypoints[this.axis][this.id] = this;
1293                s[this.axis][this.id] = this;
1294                i = (o = t.data(w)) != null ? o : [];
1295                i.push(this.id);
1296                t.data(w, i)
1297            }
1298            t.prototype.trigger = function(t) {
1299                if (!this.enabled) {
1300                    return
1301                }
1302                if (this.callback != null) {
1303                    this.callback.apply(this.element, t)
1304                }
1305                if (this.options.triggerOnce) {
1306                    return this.destroy()
1307                }
1308            };
1309            t.prototype.disable = function() {
1310                return this.enabled = false
1311            };
1312            t.prototype.enable = function() {
1313                this.context.refresh();
1314                return this.enabled = true
1315            };
1316            t.prototype.destroy = function() {
1317                delete s[this.axis][this.id];
1318                delete this.context.waypoints[this.axis][this.id];
1319                return this.context.checkEmpty()
1320            };
1321            t.getWaypointsByElement = function(t) {
1322                var e, r;
1323                r = n(t).data(w);
1324                if (!r) {
1325                    return[]
1326                }
1327                e = n.extend({}, s.horizontal, s.vertical);
1328                return n.map(r, function(t) {
1329                    return e[t]
1330                })
1331            };
1332            return t
1333        }();
1334        d = {init: function(t, e) {
1335                var r;
1336                if (e == null) {
1337                    e = {}
1338                }
1339                if ((r = e.handler) == null) {
1340                    e.handler = t
1341                }
1342                this.each(function() {
1343                    var t, r, i, s;
1344                    t = n(this);
1345                    i = (s = e.context) != null ? s : n.fn[g].defaults.context;
1346                    if (!n.isWindow(i)) {
1347                        i = t.closest(i)
1348                    }
1349                    i = n(i);
1350                    r = a[i.data(u)];
1351                    if (!r) {
1352                        r = new o(i)
1353                    }
1354                    return new l(t, r, e)
1355                });
1356                n[m]("refresh");
1357                return this
1358            }, disable: function() {
1359                return d._invoke(this, "disable")
1360            }, enable: function() {
1361                return d._invoke(this, "enable")
1362            }, destroy: function() {
1363                return d._invoke(this, "destroy")
1364            }, prev: function(t, e) {
1365                return d._traverse.call(this, t, e, function(t, e, n) {
1366                    if (e > 0) {
1367                        return t.push(n[e - 1])
1368                    }
1369                })
1370            }, next: function(t, e) {
1371                return d._traverse.call(this, t, e, function(t, e, n) {
1372                    if (e < n.length - 1) {
1373                        return t.push(n[e + 1])
1374                    }
1375                })
1376            }, _traverse: function(t, e, i) {
1377                var o, l;
1378                if (t == null) {
1379                    t = "vertical"
1380                }
1381                if (e == null) {
1382                    e = r
1383                }
1384                l = h.aggregate(e);
1385                o = [];
1386                this.each(function() {
1387                    var e;
1388                    e = n.inArray(this, l[t]);
1389                    return i(o, e, l[t])
1390                });
1391                return this.pushStack(o)
1392            }, _invoke: function(t, e) {
1393                t.each(function() {
1394                    var t;
1395                    t = l.getWaypointsByElement(this);
1396                    return n.each(t, function(t, n) {
1397                        n[e]();
1398                        return true
1399                    })
1400                });
1401                return this
1402            }};
1403        n.fn[g] = function() {
1404            var t, r;
1405            r = arguments[0], t = 2 <= arguments.length ? e.call(arguments, 1) : [];
1406            if (d[r]) {
1407                return d[r].apply(this, t)
1408            } else if (n.isFunction(r)) {
1409                return d.init.apply(this, arguments)
1410            } else if (n.isPlainObject(r)) {
1411                return d.init.apply(this, [null, r])
1412            } else if (!r) {
1413                return n.error("jQuery Waypoints needs a callback function or handler option.")
1414            } else {
1415                return n.error("The " + r + " method does not exist in jQuery Waypoints.")
1416            }
1417        };
1418        n.fn[g].defaults = {context: r, continuous: true, enabled: true, horizontal: false, offset: 0, triggerOnce: false};
1419        h = {refresh: function() {
1420                return n.each(a, function(t, e) {
1421                    return e.refresh()
1422                })
1423            }, viewportHeight: function() {
1424                var t;
1425                return(t = r.innerHeight) != null ? t : i.height()
1426            }, aggregate: function(t) {
1427                var e, r, i;
1428                e = s;
1429                if (t) {
1430                    e = (i = a[n(t).data(u)]) != null ? i.waypoints : void 0
1431                }
1432                if (!e) {
1433                    return[]
1434                }
1435                r = {horizontal: [], vertical: []};
1436                n.each(r, function(t, i) {
1437                    n.each(e[t], function(t, e) {
1438                        return i.push(e)
1439                    });
1440                    i.sort(function(t, e) {
1441                        return t.offset - e.offset
1442                    });
1443                    r[t] = n.map(i, function(t) {
1444                        return t.element
1445                    });
1446                    return r[t] = n.unique(r[t])
1447                });
1448                return r
1449            }, above: function(t) {
1450                if (t == null) {
1451                    t = r
1452                }
1453                return h._filter(t, "vertical", function(t, e) {
1454                    return e.offset <= t.oldScroll.y
1455                })
1456            }, below: function(t) {
1457                if (t == null) {
1458                    t = r
1459                }
1460                return h._filter(t, "vertical", function(t, e) {
1461                    return e.offset > t.oldScroll.y
1462                })
1463            }, left: function(t) {
1464                if (t == null) {
1465                    t = r
1466                }
1467                return h._filter(t, "horizontal", function(t, e) {
1468                    return e.offset <= t.oldScroll.x
1469                })
1470            }, right: function(t) {
1471                if (t == null) {
1472                    t = r
1473                }
1474                return h._filter(t, "horizontal", function(t, e) {
1475                    return e.offset > t.oldScroll.x
1476                })
1477            }, enable: function() {
1478                return h._invoke("enable")
1479            }, disable: function() {
1480                return h._invoke("disable")
1481            }, destroy: function() {
1482                return h._invoke("destroy")
1483            }, extendFn: function(t, e) {
1484                return d[t] = e
1485            }, _invoke: function(t) {
1486                var e;
1487                e = n.extend({}, s.vertical, s.horizontal);
1488                return n.each(e, function(e, n) {
1489                    n[t]();
1490                    return true
1491                })
1492            }, _filter: function(t, e, r) {
1493                var i, o;
1494                i = a[n(t).data(u)];
1495                if (!i) {
1496                    return[]
1497                }
1498                o = [];
1499                n.each(i.waypoints[e], function(t, e) {
1500                    if (r(i, e)) {
1501                        return o.push(e)
1502                    }
1503                });
1504                o.sort(function(t, e) {
1505                    return t.offset - e.offset
1506                });
1507                return n.map(o, function(t) {
1508                    return t.element
1509                })
1510            }};
1511        n[m] = function() {
1512            var t, n;
1513            n = arguments[0], t = 2 <= arguments.length ? e.call(arguments, 1) : [];
1514            if (h[n]) {
1515                return h[n].apply(null, t)
1516            } else {
1517                return h.aggregate.call(null, n)
1518            }
1519        };
1520        n[m].settings = {resizeThrottle: 100, scrollThrottle: 30};
1521        return i.load(function() {
1522            return n[m]("refresh")
1523        })
1524    })
1525}).call(this);/**
1526 *  @Website: apollotheme.com - prestashop template provider
1527 *  @author Apollotheme <[email protected]>
1528 *  @copyright  2007-2016 Apollotheme
1529 *  @description: 
1530 */
1531
1532// Generated by CoffeeScript 1.3.3
1533(function(){var e,t;e=function(){function e(e,t){var n,r;this.options={target:"instafeed",get:"popular",resolution:"thumbnail",sortBy:"none",links:!0,mock:!1,useHttp:!1};if(typeof e=="object")for(n in e)r=e[n],this.options[n]=r;this.context=t!=null?t:this,this.unique=this._genKey()}return e.prototype.hasNext=function(){return typeof this.context.nextUrl=="string"&&this.context.nextUrl.length>0},e.prototype.next=function(){return this.hasNext()?this.run(this.context.nextUrl):!1},e.prototype.run=function(t){var n,r,i;
1533if(typeof this.options.clientId!="string"&&typeof this.options.accessToken!="string")throw new Error("Missing clientId or accessToken.");if(typeof this.options.accessToken!="string"&&typeof this.options.clientId!="string")throw new Error("Missing clientId or accessToken.");return this.options.before!=null&&typeof this.options.before=="function"&&this.options.before.call(this),typeof document!="undefined"&&document!==null&&(i=document.createElement("script"),i.id="instafeed-fetcher",i.src=t||this._buildUrl(),n=document.getElementsByTagName("head"),n[0].appendChild(i),r="instafeedCache"+this.unique,window[r]=new e(this.options,this),window[r].unique=this.unique),!0},e.prototype.parse=function(e){var t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w,E,S;if(typeof e!="object"){if(this.options.error!=null&&typeof this.options.error=="function")return this.options.error.call(this,"Invalid JSON data"),!1;throw new Error("Invalid JSON response")}if(e.meta.code!==200){if(this.options.error!=null&&typeof this.options.error=="function")return this.options.error.call(this,e.meta.error_message),!1;throw new Error("Error from Instagram: "+e.meta.error_message)}if(e.data.length===0){if(this.options.error!=null&&typeof this.options.error=="function")return this.options.error.call(this,"No images were returned from Instagram"),!1;throw new Error("No images were returned from Instagram")}this.options.success!=null&&typeof this.options.success=="function"&&this.options.success.call(this,e),this.context.nextUrl="",e.pagination!=null&&(this.context.nextUrl=e.pagination.next_url);if(this.options.sortBy!=="none"){this.options.sortBy==="random"?d=["","random"]:d=this.options.sortBy.split("-"),p=d[0]==="least"?!0:!1;switch(d[1]){case"random":e.data.sort(function(){return.5-Math.random()});break;case"recent":e.data=this._sortBy(e.data,"created_time",p);break;case"liked":e.data=this._sortBy(e.data,"likes.count",p);break;case"commented":e.data=this._sortBy(e.data,"comments.count",p);break;default:throw new Error("Invalid option for sortBy: '"+this.options.sortBy+"'.")}}if(typeof document!="undefined"&&document!==null&&this.options.mock===!1){a=e.data,this.options.limit!=null&&a.length>this.options.limit&&(a=a.slice(0,this.options.limit+1||9e9)),n=document.createDocumentFragment(),this.options.filter!=null&&typeof this.options.filter=="function"&&(a=this._filter(a,this.options.filter));if(this.options.template!=null&&typeof this.options.template=="string"){i="",o="",l="",v=document.createElement("div");for(m=0,b=a.length;m<b;m++)s=a[m],u=s.images[this.options.resolution].url,this.options.useHttp||(u=u.replace("http://","//")),o=this._makeTemplate(this.options.template,{model:s,id:s.id,link:s.link,image:u,caption:this._getObjectProperty(s,"caption.text"),likes:s.likes.count,comments:s.comments.count,location:this._getObjectProperty(s,"location.name")}),i+=o;v.innerHTML=i,S=[].slice.call(v.childNodes);for(g=0,w=S.length;g<w;g++)h=S[g],n.appendChild(h)}else for(y=0,E=a.length;y<E;y++)s=a[y],f=document.createElement("img"),u=s.images[this.options.resolution].url,this.options.useHttp||(u=u.replace("http://","//")),f.src=u,this.options.links===!0?(t=document.createElement("a"),t.href=s.link,t.appendChild(f),n.appendChild(t)):(t=document.createElement("a"),t.href=this.options.links,t.appendChild(f),n.appendChild(t));document.getElementById(this.options.target).appendChild(n),r=document.getElementsByTagName("head")[0],r.removeChild(document.getElementById("instafeed-fetcher")),c="instafeedCache"+this.unique,window[c]=void 0;try{delete window[c]}catch(x){}}return this.options.after!=null&&typeof this.options.after=="function"&&this.options.after.call(this),!0},e.prototype._buildUrl=function(){var e,t,n;e="https://api.instagram.com/v1";switch(this.options.get){case"popular":t="media/popular";break;case"tagged":if(typeof this.options.tagName!="string")throw new Error("No tag name specified. Use the 'tagName' option.");t="tags/"+this.options.tagName+"/media/recent";break;case"location":if(typeof this.options.locationId!="number")throw new Error("No location specified. Use the 'locationId' option.");t="locations/"+this.options.locationId+"/media/recent";break;case"user":if(typeof this.options.userId!="number")throw new Error("No user specified. Use the 'userId' option.");
1533if(typeof this.options.accessToken!="string")throw new Error("No access token. Use the 'accessToken' option.");t="users/"+this.options.userId+"/media/recent";break;default:throw new Error("Invalid option for get: '"+this.options.get+"'.")}return n=""+e+"/"+t,this.options.accessToken!=null?n+="?access_token="+this.options.accessToken:n+="?client_id="+this.options.clientId,this.options.limit!=null&&(n+="&count="+this.options.limit),n+="&callback=instafeedCache"+this.unique+".parse",n},e.prototype._genKey=function(){var e;return e=function(){return((1+Math.random())*65536|0).toString(16).substring(1)},""+e()+e()+e()+e()},e.prototype._makeTemplate=function(e,t){var n,r,i,s,o;r=/(?:\{{2})([\w\[\]\.]+)(?:\}{2})/,n=e;while(r.test(n))i=n.match(r)[1],s=(o=this._getObjectProperty(t,i))!=null?o:"",n=n.replace(r,""+s);return n},e.prototype._getObjectProperty=function(e,t){var n,r;t=t.replace(/\[(\w+)\]/g,".$1"),r=t.split(".");while(r.length){n=r.shift();if(!(e!=null&&n in e))return null;e=e[n]}return e},e.prototype._sortBy=function(e,t,n){var r;return r=function(e,r){var i,s;return i=this._getObjectProperty(e,t),s=this._getObjectProperty(r,t),n?i>s?1:-1:i<s?1:-1},e.sort(r.bind(this)),e},e.prototype._filter=function(e,t){var n,r,i,s,o;n=[],i=function(e){if(t(e))return n.push(e)};for(s=0,o=e.length;s<o;s++)r=e[s],i(r);return n},e}(),t=typeof exports!="undefined"&&exports!==null?exports:window,t.Instafeed=e}).call(this);;/*!
1534 * Stellar.js v0.6.2
1535 * http://markdalgleish.com/projects/stellar.js
1536 *
1537 * Copyright 2014, Mark Dalgleish
1538 * This content is released under the MIT license
1539 * http://markdalgleish.mit-license.org
1540 */
1541;(function($,window,document,undefined){var pluginName='stellar',defaults={scrollProperty:'scroll',positionProperty:'position',horizontalScrolling:true,verticalScrolling:true,horizontalOffset:0,verticalOffset:0,responsive:false,parallaxBackgrounds:true,parallaxElements:true,hideDistantElements:true,hideElement:function($elem){$elem.hide();},showElement:function($elem){$elem.show();}},scrollProperty={scroll:{getLeft:function($elem){return $elem.scrollLeft();},setLeft:function($elem,val){$elem.scrollLeft(val);},getTop:function($elem){return $elem.scrollTop();},setTop:function($elem,val){$elem.scrollTop(val);}},position:{getLeft:function($elem){return parseInt($elem.css('left'),10)*-1;},getTop:function($elem){return parseInt($elem.css('top'),10)*-1;}},margin:{getLeft:function($elem){return parseInt($elem.css('margin-left'),10)*-1;},getTop:function($elem){return parseInt($elem.css('margin-top'),10)*-1;}},transform:{getLeft:function($elem){var computedTransform=getComputedStyle($elem[0])[prefixedTransform];return(computedTransform!=='none'?parseInt(computedTransform.match(/(-?[0-9]+)/g)[4],10)*-1:0);},getTop:function($elem){var computedTransform=getComputedStyle($elem[0])[prefixedTransform];return(computedTransform!=='none'?parseInt(computedTransform.match(/(-?[0-9]+)/g)[5],10)*-1:0);}}},positionProperty={position:{setLeft:function($elem,left){$elem.css('left',left);},setTop:function($elem,top){$elem.css('top',top);}},transform:{setPosition:function($elem,left,startingLeft,top,startingTop){$elem[0].style[prefixedTransform]='translate3d('+(left-startingLeft)+'px, '+(top-startingTop)+'px, 0)';}}},vendorPrefix=(function(){var prefixes=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/,style=$('script')[0].style,prefix='',prop;for(prop in style){if(prefixes.test(prop)){prefix=prop.match(prefixes)[0];break;}}
1542if('WebkitOpacity'in style){prefix='Webkit';}
1543if('KhtmlOpacity'in style){prefix='Khtml';}
1544return function(property){return prefix+(prefix.length>0?property.charAt(0).toUpperCase()+property.slice(1):property);};}()),prefixedTransform=vendorPrefix('transform'),supportsBackgroundPositionXY=$('<div />',{style:'background:#fff'}).css('background-position-x')!==undefined,setBackgroundPosition=(supportsBackgroundPositionXY?function($elem,x,y){$elem.css({'background-position-x':x,'background-position-y':y});}:function($elem,x,y){$elem.css('background-position',x+' '+y);}),getBackgroundPosition=(supportsBackgroundPositionXY?function($elem){return[$elem.css('background-position-x'),$elem.css('background-position-y')];}:function($elem){return $elem.css('background-position').split(' ');}),requestAnimFrame=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){setTimeout(callback,1000/60);});function Plugin(element,options){this.element=element;this.options=$.extend({},defaults,options);this._defaults=defaults;this._name=pluginName;this.init();}
1545Plugin.prototype={init:function(){this.options.name=pluginName+'_'+Math.floor(Math.random()*1e9);this._defineElements();this._defineGetters();this._defineSetters();
vendor: 13,392 bytes, lines 1545-1563
1545this._handleWindowLoadAndResize();this._detectViewport();this.refresh({firstLoad:true});if(this.options.scrollProperty==='scroll'){this._handleScrollEvent();}else{this._startAnimationLoop();}},_defineElements:function(){if(this.element===document.body)this.element=window;this.$scrollElement=$(this.element);this.$element=(this.element===window?$('body'):this.$scrollElement);this.$viewportElement=(this.options.viewportElement!==undefined?$(this.options.viewportElement):(this.$scrollElement[0]===window||this.options.scrollProperty==='scroll'?this.$scrollElement:this.$scrollElement.parent()));},_defineGetters:function(){var self=this,scrollPropertyAdapter=scrollProperty[self.options.scrollProperty];this._getScrollLeft=function(){return scrollPropertyAdapter.getLeft(self.$scrollElement);};this._getScrollTop=function(){return scrollPropertyAdapter.getTop(self.$scrollElement);};},_defineSetters:function(){var self=this,scrollPropertyAdapter=scrollProperty[self.options.scrollProperty],positionPropertyAdapter=positionProperty[self.options.positionProperty],setScrollLeft=scrollPropertyAdapter.setLeft,setScrollTop=scrollPropertyAdapter.setTop;this._setScrollLeft=(typeof setScrollLeft==='function'?function(val){setScrollLeft(self.$scrollElement,val);}:$.noop);this._setScrollTop=(typeof setScrollTop==='function'?function(val){setScrollTop(self.$scrollElement,val);}:$.noop);this._setPosition=positionPropertyAdapter.setPosition||function($elem,left,startingLeft,top,startingTop){if(self.options.horizontalScrolling){positionPropertyAdapter.setLeft($elem,left,startingLeft);}
1546if(self.options.verticalScrolling){positionPropertyAdapter.setTop($elem,top,startingTop);}};},_handleWindowLoadAndResize:function(){var self=this,$window=$(window);if(self.options.responsive){$window.bind('load.'+this.name,function(){self.refresh();});}
1547$window.bind('resize.'+this.name,function(){self._detectViewport();if(self.options.responsive){self.refresh();}});},refresh:function(options){var self=this,oldLeft=self._getScrollLeft(),oldTop=self._getScrollTop();if(!options||!options.firstLoad){this._reset();}
1548this._setScrollLeft(0);this._setScrollTop(0);this._setOffsets();this._findParticles();this._findBackgrounds();if(options&&options.firstLoad&&/WebKit/.test(navigator.userAgent)){$(window).load(function(){var oldLeft=self._getScrollLeft(),oldTop=self._getScrollTop();self._setScrollLeft(oldLeft+1);self._setScrollTop(oldTop+1);self._setScrollLeft(oldLeft);self._setScrollTop(oldTop);});}
1549this._setScrollLeft(oldLeft);this._setScrollTop(oldTop);},_detectViewport:function(){var viewportOffsets=this.$viewportElement.offset(),hasOffsets=viewportOffsets!==null&&viewportOffsets!==undefined;this.viewportWidth=this.$viewportElement.width();this.viewportHeight=this.$viewportElement.height();this.viewportOffsetTop=(hasOffsets?viewportOffsets.top:0);this.viewportOffsetLeft=(hasOffsets?viewportOffsets.left:0);},_findParticles:function(){var self=this,scrollLeft=this._getScrollLeft(),scrollTop=this._getScrollTop();if(this.particles!==undefined){for(var i=this.particles.length-1;i>=0;i--){this.particles[i].$element.data('stellar-elementIsActive',undefined);}}
1550this.particles=[];if(!this.options.parallaxElements)return;this.$element.find('[data-stellar-ratio]').each(function(i){var $this=$(this),horizontalOffset,verticalOffset,positionLeft,positionTop,marginLeft,marginTop,$offsetParent,offsetLeft,offsetTop,parentOffsetLeft=0,parentOffsetTop=0,tempParentOffsetLeft=0,tempParentOffsetTop=0;if(!$this.data('stellar-elementIsActive')){$this.data('stellar-elementIsActive',this);}else if($this.data('stellar-elementIsActive')!==this){return;}
1551self.options.showElement($this);if(!$this.data('stellar-startingLeft')){$this.data('stellar-startingLeft',$this.css('left'));$this.data('stellar-startingTop',$this.css('top'));}else{$this.css('left',$this.data('stellar-startingLeft'));$this.css('top',$this.data('stellar-startingTop'));}
1552positionLeft=$this.position().left;positionTop=$this.position().top;marginLeft=($this.css('margin-left')==='auto')?0:parseInt($this.css('margin-left'),10);marginTop=($this.css('margin-top')==='auto')?0:parseInt($this.css('margin-top'),10);offsetLeft=$this.offset().left-marginLeft;offsetTop=$this.offset().top-marginTop;$this.parents().each(function(){var $this=$(this);if($this.data('stellar-offset-parent')===true){parentOffsetLeft=tempParentOffsetLeft;parentOffsetTop=tempParentOffsetTop;$offsetParent=$this;return false;}else{tempParentOffsetLeft+=$this.position().left;tempParentOffsetTop+=$this.position().top;}});horizontalOffset=($this.data('stellar-horizontal-offset')!==undefined?$this.data('stellar-horizontal-offset'):($offsetParent!==undefined&&$offsetParent.data('stellar-horizontal-offset')!==undefined?$offsetParent.data('stellar-horizontal-offset'):self.horizontalOffset));verticalOffset=($this.data('stellar-vertical-offset')!==undefined?$this.data('stellar-vertical-offset'):($offsetParent!==undefined&&$offsetParent.data('stellar-vertical-offset')!==undefined?$offsetParent.data('stellar-vertical-offset'):self.verticalOffset));self.particles.push({$element:$this,$offsetParent:$offsetParent,isFixed:$this.css('position')==='fixed',horizontalOffset:horizontalOffset,verticalOffset:verticalOffset,startingPositionLeft:positionLeft,startingPositionTop:positionTop,startingOffsetLeft:offsetLeft,startingOffsetTop:offsetTop,parentOffsetLeft:parentOffsetLeft,parentOffsetTop:parentOffsetTop,stellarRatio:($this.data('stellar-ratio')!==undefined?$this.data('stellar-ratio'):1),width:$this.outerWidth(true),height:$this.outerHeight(true),isHidden:false});});},_findBackgrounds:function(){var self=this,scrollLeft=this._getScrollLeft(),scrollTop=this._getScrollTop(),$backgroundElements;this.backgrounds=[];if(!this.options.parallaxBackgrounds)return;$backgroundElements=this.$element.find('[data-stellar-background-ratio]');if(this.$element.data('stellar-background-ratio')){$backgroundElements=$backgroundElements.add(this.$element);}
1553$backgroundElements.each(function(){var $this=$(this),backgroundPosition=getBackgroundPosition($this),horizontalOffset,verticalOffset,positionLeft,positionTop,marginLeft,marginTop,offsetLeft,offsetTop,$offsetParent,parentOffsetLeft=0,parentOffsetTop=0,tempParentOffsetLeft=0,tempParentOffsetTop=0;if(!$this.data('stellar-backgroundIsActive')){$this.data('stellar-backgroundIsActive',this);}else if($this.data('stellar-backgroundIsActive')!==this){return;}
1554if(!$this.data('stellar-backgroundStartingLeft')){$this.data('stellar-backgroundStartingLeft',backgroundPosition[0]);$this.data('stellar-backgroundStartingTop',backgroundPosition[1]);}else{setBackgroundPosition($this,$this.data('stellar-backgroundStartingLeft'),$this.data('stellar-backgroundStartingTop'));}
1555marginLeft=($this.css('margin-left')==='auto')?0:parseInt($this.css('margin-left'),10);marginTop=($this.css('margin-top')==='auto')?0:parseInt($this.css('margin-top'),10);offsetLeft=$this.offset().left-marginLeft-scrollLeft;offsetTop=$this.offset().top-marginTop-scrollTop;$this.parents().each(function(){var $this=$(this);if($this.data('stellar-offset-parent')===true){parentOffsetLeft=tempParentOffsetLeft;parentOffsetTop=tempParentOffsetTop;$offsetParent=$this;return false;}else{tempParentOffsetLeft+=$this.position().left;tempParentOffsetTop+=$this.position().top;}});horizontalOffset=($this.data('stellar-horizontal-offset')!==undefined?$this.data('stellar-horizontal-offset'):($offsetParent!==undefined&&$offsetParent.data('stellar-horizontal-offset')!==undefined?$offsetParent.data('stellar-horizontal-offset'):self.horizontalOffset));verticalOffset=($this.data('stellar-vertical-offset')!==undefined?$this.data('stellar-vertical-offset'):($offsetParent!==undefined&&$offsetParent.data('stellar-vertical-offset')!==undefined?$offsetParent.data('stellar-vertical-offset'):self.verticalOffset));self.backgrounds.push({$element:$this,$offsetParent:$offsetParent,isFixed:$this.css('background-attachment')==='fixed',horizontalOffset:horizontalOffset,verticalOffset:verticalOffset,startingValueLeft:backgroundPosition[0],startingValueTop:backgroundPosition[1],startingBackgroundPositionLeft:(isNaN(parseInt(backgroundPosition[0],10))?0:parseInt(backgroundPosition[0],10)),startingBackgroundPositionTop:(isNaN(parseInt(backgroundPosition[1],10))?0:parseInt(backgroundPosition[1],10)),startingPositionLeft:$this.position().left,startingPositionTop:$this.position().top,startingOffsetLeft:offsetLeft,startingOffsetTop:offsetTop,parentOffsetLeft:parentOffsetLeft,parentOffsetTop:parentOffsetTop,stellarRatio:($this.data('stellar-background-ratio')===undefined?1:$this.data('stellar-background-ratio'))});});},_reset:function(){var particle,startingPositionLeft,startingPositionTop,background,i;for(i=this.particles.length-1;i>=0;i--){particle=this.particles[i];startingPositionLeft=particle.$element.data('stellar-startingLeft');startingPositionTop=particle.$element.data('stellar-startingTop');this._setPosition(particle.$element,startingPositionLeft,startingPositionLeft,startingPositionTop,startingPositionTop);this.options.showElement(particle.$element);particle.$element.data('stellar-startingLeft',null).data('stellar-elementIsActive',null).data('stellar-backgroundIsActive',null);}
1556for(i=this.backgrounds.length-1;i>=0;i--){background=this.backgrounds[i];background.$element.data('stellar-backgroundStartingLeft',null).data('stellar-backgroundStartingTop',null);setBackgroundPosition(background.$element,background.startingValueLeft,background.startingValueTop);}},destroy:function(){this._reset();this.$scrollElement.unbind('resize.'+this.name).unbind('scroll.'+this.name);this._animationLoop=$.noop;$(window).unbind('load.'+this.name).unbind('resize.'+this.name);},_setOffsets:function(){var self=this,$window=$(window);$window.unbind('resize.horizontal-'+this.name).unbind('resize.vertical-'+this.name);if(typeof this.options.horizontalOffset==='function'){this.horizontalOffset=this.options.horizontalOffset();$window.bind('resize.horizontal-'+this.name,function(){self.horizontalOffset=self.options.horizontalOffset();});}else{this.horizontalOffset=this.options.horizontalOffset;}
1557if(typeof this.options.verticalOffset==='function'){this.verticalOffset=this.options.verticalOffset();$window.bind('resize.vertical-'+this.name,function(){self.verticalOffset=self.options.verticalOffset();});}else{this.verticalOffset=this.options.verticalOffset;}},_repositionElements:function(){var scrollLeft=this._getScrollLeft(),scrollTop=this._getScrollTop(),horizontalOffset,verticalOffset,particle,fixedRatioOffset,background,bgLeft,bgTop,isVisibleVertical=true,isVisibleHorizontal=true,newPositionLeft,newPositionTop,newOffsetLeft,newOffsetTop,i;if(this.currentScrollLeft===scrollLeft&&this.currentScrollTop===scrollTop&&this.currentWidth===this.viewportWidth&&this.currentHeight===this.viewportHeight){return;}else{this.currentScrollLeft=scrollLeft;this.currentScrollTop=scrollTop;this.currentWidth=this.viewportWidth;this.currentHeight=this.viewportHeight;}
1558for(i=this.particles.length-1;i>=0;i--){particle=this.particles[i];fixedRatioOffset=(particle.isFixed?1:0);if(this.options.horizontalScrolling){newPositionLeft=(scrollLeft+particle.horizontalOffset+this.viewportOffsetLeft+particle.startingPositionLeft-particle.startingOffsetLeft+particle.parentOffsetLeft)*-(particle.stellarRatio+fixedRatioOffset-1)+particle.startingPositionLeft;newOffsetLeft=newPositionLeft-particle.startingPositionLeft+particle.startingOffsetLeft;}else{newPositionLeft=particle.startingPositionLeft;newOffsetLeft=particle.startingOffsetLeft;}
1559if(this.options.verticalScrolling){newPositionTop=(scrollTop+particle.verticalOffset+this.viewportOffsetTop+particle.startingPositionTop-particle.startingOffsetTop+particle.parentOffsetTop)*-(particle.stellarRatio+fixedRatioOffset-1)+particle.startingPositionTop;newOffsetTop=newPositionTop-particle.startingPositionTop+particle.startingOffsetTop;}else{newPositionTop=particle.startingPositionTop;newOffsetTop=particle.startingOffsetTop;}
1560if(this.options.hideDistantElements){isVisibleHorizontal=!this.options.horizontalScrolling||newOffsetLeft+particle.width>(particle.isFixed?0:scrollLeft)&&newOffsetLeft<(particle.isFixed?0:scrollLeft)+this.viewportWidth+this.viewportOffsetLeft;isVisibleVertical=!this.options.verticalScrolling||newOffsetTop+particle.height>(particle.isFixed?0:scrollTop)&&newOffsetTop<(particle.isFixed?0:scrollTop)+this.viewportHeight+this.viewportOffsetTop;}
1561if(isVisibleHorizontal&&isVisibleVertical){if(particle.isHidden){this.options.showElement(particle.$element);particle.isHidden=false;}
1562this._setPosition(particle.$element,newPositionLeft,particle.startingPositionLeft,newPositionTop,particle.startingPositionTop);}else{if(!particle.isHidden){this.options.hideElement(particle.$element);particle.isHidden=true;}}}
1563for(i=this.backgrounds.length-1;i>=0;i--){background=this.backgrounds[i];fixedRatioOffset=(background.isFixed?0:1);bgLeft=(this.options.horizontalScrolling?(scrollLeft+background.horizontalOffset-this.viewportOffsetLeft-background.startingOffsetLeft+background.parentOffsetLeft-background.startingBackgroundPositionLeft)*(fixedRatioOffset-background.stellarRatio)+'px':background.startingValueLeft);bgTop=(this.options.verticalScrolling?(scrollTop+background.verticalOffset-this.viewportOffsetTop-background.startingOffsetTop+background.parentOffsetTop-background.startingBackgroun
1563dPositionTop)*(fixedRatioOffset-background.stellarRatio)+'px':background.startingValueTop);setBackgroundPosition(background.$element,bgLeft,bgTop);}},_handleScrollEvent:function(){var self=this,ticking=false;var update=function(){self._repositionElements();ticking=false;};var requestTick=function(){if(!ticking){requestAnimFrame(update);ticking=true;}};this.$scrollElement.bind('scroll.'+this.name,requestTick);requestTick();},_startAnimationLoop:function(){var self=this;this._animationLoop=function(){requestAnimFrame(self._animationLoop);self._repositionElements();};this._animationLoop();}};$.fn[pluginName]=function(options){var args=arguments;if(options===undefined||typeof options==='object'){return this.each(function(){if(!$.data(this,'plugin_'+pluginName)){$.data(this,'plugin_'+pluginName,new Plugin(this,options));}});}else if(typeof options==='string'&&options[0]!=='_'&&options!=='init'){return this.each(function(){var instance=$.data(this,'plugin_'+pluginName);if(instance instanceof Plugin&&typeof instance[options]==='function'){instance[options].apply(instance,Array.prototype.slice.call(args,1));}
1564if(options==='destroy'){$.data(this,'plugin_'+pluginName,null);}});}};$[pluginName]=function(options){var $window=$(window);return $window.stellar.apply($window,Array.prototype.slice.call(arguments,0));};$[pluginName].scrollProperty=scrollProperty;$[pluginName].positionProperty=positionProperty;window.Stellar=Plugin;}(jQuery,this,document));;if(typeof Object.create!=="function"){Object.create=function(obj){function F(){}
1565F.prototype=obj;return new F();};}
1566(function($,window,document){var Carousel={init:function(options,el){var base=this;base.$elem=$(el);base.options=$.extend({},$.fn.owlCarousel.options,base.$elem.data(),options);base.userOptions=options;base.loadContent();},loadContent:function(){var base=this,url;function getData(data){var i,content="";if(typeof base.options.jsonSuccess==="function"){base.options.jsonSuccess.apply(this,[data]);}else{for(i in data.owl){if(data.owl.hasOwnProperty(i)){content+=data.owl[i].item;}}
1567base.$elem.html(content);}
1568base.logIn();}
1569if(typeof base.options.beforeInit==="function"){base.options.beforeInit.apply(this,[base.$elem]);}
1570if(typeof base.options.jsonPath==="string"){url=base.options.jsonPath;$.getJSON(url,getData);}else{base.logIn();}},logIn:function(){var base=this;base.$elem.data({"owl-originalStyles":base.$elem.attr("style"),"owl-originalClasses":base.$elem.attr("class")});base.orignalItems=base.options.items;base.checkBrowser();base.wrapperWidth=0;base.checkVisible=null;base.setVars();},setVars:function(){var base=this;if(base.$elem.children().length===0){return false;}
1571base.baseClass();base.eventTypes();base.$userItems=base.$elem.children();base.itemsAmount=base.$userItems.length;base.wrapItems();base.$owlItems=base.$elem.find(".owl-item");base.$owlWrapper=base.$elem.find(".owl-wrapper");base.playDirection="next";base.prevItem=0;base.prevArr=[0];base.currentItem=0;base.customEvents();base.onStartup();},onStartup:function(){var base=this;base.updateItems();base.calculateAll();base.buildControls();base.updateControls();base.response();base.moveEvents();base.stopOnHover();base.owlStatus();if(base.options.transitionStyle!==false){base.transitionTypes(base.options.transitionStyle);}
1572if(base.options.autoPlay===true){base.options.autoPlay=5000;}
1573base.play();base.$elem.find(".owl-wrapper").css("display","block");if(!base.$elem.is(":visible")){base.watchVisibility();}else{}
1574base.onstartup=false;base.eachMoveUpdate();if(typeof base.options.afterInit==="function"){base.options.afterInit.apply(this,[base.$elem]);}},eachMoveUpdate:function(){var base=this;if(base.options.lazyLoad===true){base.lazyLoad();}
1575if(base.options.autoHeight===true){base.autoHeight();}
1576base.onVisibleItems();if(typeof base.options.afterAction==="function"){base.options.afterAction.apply(this,[base.$elem]);}},updateVars:function(){var base=this;if(typeof base.options.beforeUpdate==="function"){base.options.beforeUpdate.apply(this,[base.$elem]);}
1577base.watchVisibility();base.updateItems();base.calculateAll();base.updatePosition();base.updateControls();base.eachMoveUpdate();if(typeof base.options.afterUpdate==="function"){base.options.afterUpdate.apply(this,[base.$elem]);}},reload:function(){var base=this;window.setTimeout(function(){base.updateVars();},0);},watchVisibility:function(){var base=this;if(base.$elem.is(":visible")===false){window.clearInterval(base.autoPlayInterval);window.clearInterval(base.checkVisible);}else{return false;}
1578base.checkVisible=window.setInterval(function(){if(base.$elem.is(":visible")){base.reload();window.clearInterval(base.checkVisible);}},500);},wrapItems:function(){var base=this;base.$userItems.wrapAll("<div class=\"owl-wrapper\">").wrap("<div class=\"owl-item\"></div>");base.$elem.find(".owl-wrapper").wrap("<div class=\"owl-wrapper-outer\">");base.wrapperOuter=base.$elem.find(".owl-wrapper-outer");},baseClass:function(){var base=this,hasBaseClass=base.$elem.hasClass(base.options.baseClass),hasThemeClass=base.$elem.hasClass(base.options.theme);
1578if(!hasBaseClass){base.$elem.addClass(base.options.baseClass);}
1579if(!hasThemeClass){base.$elem.addClass(base.options.theme);}},updateItems:function(){var base=this,width,i;if(base.options.responsive===false){return false;}
1580if(base.options.singleItem===true){base.options.items=base.orignalItems=1;base.options.itemsCustom=false;base.options.itemsDesktop=false;base.options.itemsDesktopSmall=false;base.options.itemsTablet=false;base.options.itemsTabletSmall=false;base.options.itemsMobile=false;return false;}
1581width=$(base.options.responsiveBaseWidth).width();if(width>(base.options.itemsDesktop[0]||base.orignalItems)){base.options.items=base.orignalItems;}
1582if(base.options.itemsCustom!==false){base.options.itemsCustom.sort(function(a,b){return a[0]-b[0];});for(i=0;i<base.options.itemsCustom.length;i+=1){if(base.options.itemsCustom[i][0]<=width){base.options.items=base.options.itemsCustom[i][1];}}}else{if(width<=base.options.itemsDesktop[0]&&base.options.itemsDesktop!==false){base.options.items=base.options.itemsDesktop[1];}
1583if(width<=base.options.itemsDesktopSmall[0]&&base.options.itemsDesktopSmall!==false){base.options.items=base.options.itemsDesktopSmall[1];}
1584if(width<=base.options.itemsTablet[0]&&base.options.itemsTablet!==false){base.options.items=base.options.itemsTablet[1];}
1585if(width<=base.options.itemsTabletSmall[0]&&base.options.itemsTabletSmall!==false){base.options.items=base.options.itemsTabletSmall[1];}
1586if(width<=base.options.itemsMobile[0]&&base.options.itemsMobile!==false){base.options.items=base.options.itemsMobile[1];}}
1587if(base.options.items>base.itemsAmount&&base.options.itemsScaleUp===true){base.options.items=base.itemsAmount;}},response:function(){var base=this,smallDelay,lastWindowWidth;
1587if(base.options.responsive!==true){return false;}
1588lastWindowWidth=$(window).width();base.resizer=function(){if($(window).width()!==lastWindowWidth){if(base.options.autoPlay!==false){window.clearInterval(base.autoPlayInterval);}
1589window.clearTimeout(smallDelay);smallDelay=window.setTimeout(function(){lastWindowWidth=$(window).width();base.updateVars();},base.options.responsiveRefreshRate);}};$(window).resize(base.resizer);},updatePosition:function(){var base=this;base.jumpTo(base.currentItem);if(base.options.autoPlay!==false){base.checkAp();}},appendItemsSizes:function(){var base=this,roundPages=0,lastItem=base.itemsAmount-base.options.items;base.$owlItems.each(function(index){var $this=$(this);$this.css({"width":base.itemWidth}).data("owl-item",Number(index));if(index%base.options.items===0||index===lastItem){if(!(index>lastItem)){roundPages+=1;}}
1590$this.data("owl-roundPages",roundPages);});},appendWrapperSizes:function(){var base=this,width=base.$owlItems.length*base.itemWidth,cssObj;base.options['direction']=="rtl"?cssObj={"right":0,direction:"rtl"}:cssObj={"left":0};base.$owlWrapper.css({"width":width*2});base.appendItemsSizes();},calculateAll:function(){var base=this;base.calculateWidth();base.appendWrapperSizes();base.loops();base.max();},calculateWidth:function(){var base=this;base.itemWidth=Math.round(base.$elem.width()/base.options.items);},max:function(){var base=this,maximum=((base.itemsAmount*base.itemWidth)-base.options.items*base.itemWidth)*-1;if(base.options.items>base.itemsAmount){base.maximumItem=0;maximum=0;base.maximumPixels=0;}else{base.maximumItem=base.itemsAmount-base.options.items;base.maximumPixels=maximum;}
1591return maximum;},min:function(){return 0;},loops:function(){var base=this,prev=0,elWidth=0,i,item,roundPageNum;base.positionsInArray=[0];base.pagesInArray=[];for(i=0;i<base.itemsAmount;i+=1){elWidth+=base.itemWidth;base.positionsInArray.push(-elWidth);if(base.options.scrollPerPage===true){item=$(base.$owlItems[i]);roundPageNum=item.data("owl-roundPages");if(roundPageNum!==prev){base.pagesInArray[prev]=base.positionsInArray[i];prev=roundPageNum;}}}},buildControls:function(){var base=this;if(base.options.navigation===true||base.options.pagination===true){base.owlControls=$("<div class=\"owl-controls\"/>").toggleClass("clickable",!base.browser.isTouch).appendTo(base.$elem);}
1592if(base.options.pagination===true){base.buildPagination();}
1593if(base.options.navigation===true){base.buildButtons();}},buildButtons:function(){var base=this,buttonsWrapper=$("<div class=\"owl-buttons\"/>");base.owlControls.append(buttonsWrapper);base.buttonPrev=$("<div/>",{"class":"owl-prev","html":base.options.navigationText[0]||""});base.buttonNext=$("<div/>",{"class":"owl-next","html":base.options.navigationText[1]||""});buttonsWrapper.append(base.buttonPrev).append(base.buttonNext);buttonsWrapper.on("touchstart.owlControls mousedown.owlControls","div[class^=\"owl\"]",function(event){event.preventDefault();});buttonsWrapper.on("touchend.owlControls mouseup.owlControls","div[class^=\"owl\"]",function(event){event.preventDefault();if($(this).hasClass("owl-next")){base.next();}else{base.prev();}});},buildPagination:function(){var base=this;base.paginationWrapper=$("<div class=\"owl-pagination\"/>");base.owlControls.append(base.paginationWrapper);base.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(event){event.preventDefault();if(Number($(this).data("owl-page"))!==base.currentItem){base.goTo(Number($(this).data("owl-page")),true);}});},updatePagination:function(){var base=this,counter,lastPage,lastItem,i,paginationButton,paginationButtonInner;if(base.options.pagination===false){return false;}
1594base.paginationWrapper.html("");counter=0;lastPage=base.itemsAmount-base.itemsAmount%base.options.items;for(i=0;i<base.itemsAmount;i+=1){if(i%base.options.items===0){counter+=1;if(lastPage===i){lastItem=base.itemsAmount-base.options.items;}
1595paginationButton=$("<div/>",{"class":"owl-page"});paginationButtonInner=$("<span></span>",{"text":base.options.paginationNumbers===true?counter:"","class":base.options.paginationNumbers===true?"owl-numbers":""});paginationButton.append(paginationButtonInner);paginationButton.data("owl-page",lastPage===i?lastItem:i);paginationButton.data("owl-roundPages",counter);base.paginationWrapper.append(paginationButton);}}
1596base.checkPagination();},checkPagination:function(){var base=this;if(base.options.pagination===false){return false;}
1597base.paginationWrapper.find(".owl-page").each(function(){if($(this).data("owl-roundPages")===$(base.$owlItems[base.currentItem]).data("owl-roundPages")){base.paginationWrapper.find(".owl-page").removeClass("active");$(this).addClass("active");}});},checkNavigation:function(){var base=this;if(base.options.navigation===false){return false;}
1598if(base.options.rewindNav===false){if(base.currentItem===0&&base.maximumItem===0){base.buttonPrev.addClass("disabled");base.buttonNext.addClass("disabled");}else if(base.currentItem===0&&base.maximumItem!==0){base.buttonPrev.addClass("disabled");base.buttonNext.removeClass("disabled");}else if(base.currentItem===base.maximumItem){base.buttonPrev.removeClass("disabled");base.buttonNext.addClass("disabled");}else if(base.currentItem!==0&&base.currentItem!==base.maximumItem){base.buttonPrev.removeClass("disabled");base.buttonNext.removeClass("disabled");}}},updateControls:function(){var base=this;base.updatePagination();base.checkNavigation();if(base.owlControls){if(base.options.items>=base.itemsAmount){base.owlControls.hide();}else{base.owlControls.show();}}},destroyControls:function(){var base=this;if(base.owlControls){base.owlControls.remove();}},next:function(speed){var base=this;if(base.isTransition){return false;}
1599base.currentItem+=base.options.scrollPerPage===true?base.options.items:1;if(base.currentItem>base.maximumItem+(base.options.scrollPerPage===true?(base.options.items-1):0)){if
1599(base.options.rewindNav===true){base.currentItem=0;speed="rewind";}else{base.currentItem=base.maximumItem;return false;}}
1600base.goTo(base.currentItem,speed);},prev:function(speed){var base=this;if(base.isTransition){return false;}
1601if(base.options.scrollPerPage===true&&base.currentItem>0&&base.currentItem<base.options.items){base.currentItem=0;}else{base.currentItem-=base.options.scrollPerPage===true?base.options.items:1;}
1602if(base.currentItem<0){if(base.options.rewindNav===true){base.currentItem=base.maximumItem;speed="rewind";}else{base.currentItem=0;return false;}}
1603base.goTo(base.currentItem,speed);},goTo:function(position,speed,drag){var base=this,goToPixel;if(base.isTransition){return false;}
1604if(typeof base.options.beforeMove==="function"){base.options.beforeMove.apply(this,[base.$elem]);}
1605if(position>=base.maximumItem){position=base.maximumItem;}else if(position<=0){position=0;}
1606base.currentItem=base.owl.currentItem=position;if(base.options.transitionStyle!==false&&drag!=="drag"&&base.options.items===1&&base.browser.support3d===true){base.swapSpeed(0);if(base.browser.support3d===true){base.transition3d(base.positionsInArray[position]);}else{base.css2slide(base.positionsInArray[position],1);}
1607base.afterGo();base.singleItemTransition();return false;}
1608goToPixel=base.positionsInArray[position];if(base.browser.support3d===true){base.isCss3Finish=false;if(speed===true){base.swapSpeed("paginationSpeed");window.setTimeout(function(){base.isCss3Finish=true;},base.options.paginationSpeed);}else if(speed==="rewind"){base.swapSpeed(base.options.rewindSpeed);window.setTimeout(function(){base.isCss3Finish=true;},base.options.rewindSpeed);}else{base.swapSpeed("slideSpeed");window.setTimeout(function(){base.isCss3Finish=true;},base.options.slideSpeed);}
1609base.transition3d(goToPixel);}else{if(speed===true){base.css2slide(goToPixel,base.options.paginationSpeed);}else if(speed==="rewind"){base.css2slide(goToPixel,base.options.rewindSpeed);}else{base.css2slide(goToPixel,base.options.slideSpeed);}}
1610base.afterGo();},jumpTo:function(position){var base=this;if(typeof base.options.beforeMove==="function"){base.options.beforeMove.apply(this,[base.$elem]);}
1611if(position>=base.maximumItem||position===-1){position=base.maximumItem;}else if(position<=0){position=0;}
1612base.swapSpeed(0);if(base.browser.support3d===true){base.transition3d(base.positionsInArray[position]);}else{base.css2slide(base.positionsInArray[position],1);}
1613base.currentItem=base.owl.currentItem=position;base.afterGo();},afterGo:function(){var base=this;base.prevArr.push(base.currentItem);base.prevItem=base.owl.prevItem=base.prevArr[base.prevArr.length-2];base.prevArr.shift(0);if(base.prevItem!==base.currentItem){base.checkPagination();base.checkNavigation();base.eachMoveUpdate();if(base.options.autoPlay!==false){base.checkAp();}}
1614if(typeof base.options.afterMove==="function"&&base.prevItem!==base.currentItem){base.options.afterMove.apply(this,[base.$elem]);}},stop:function(){var base=this;base.apStatus="stop";window.clearInterval(base.autoPlayInterval);},checkAp:function(){var base=this;if(base.apStatus!=="stop"){base.play();}},play:function(){var base=this;base.apStatus="play";if(base.options.autoPlay===false){return false;}
1615window.clearInterval(base.autoPlayInterval);base.autoPlayInterval=window.setInterval(function(){base.next(true);},base.options.autoPlay);},swapSpeed:function(action){var base=this;if(action==="slideSpeed"){base.$owlWrapper.css(base.addCssSpeed(base.options.slideSpeed));}else if(action==="paginationSpeed"){base.$owlWrapper.css(base.addCssSpeed(base.options.paginationSpeed));}else if(typeof action!=="string"){base.$owlWrapper.css(base.addCssSpeed(action));}},addCssSpeed:function(speed){return{"-webkit-transition":"all "+speed+"ms ease","-moz-transition":"all "+speed+"ms ease","-o-transition":"all "+speed+"ms ease","transition":"all "+speed+"ms ease"};},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"","transition":""};},doTranslate:function(pixels){var base=this;base.options['direction']=="rtl"?pixels=-pixels:pixels=pixels;return{"-webkit-transform":"translate3d("+pixels+"px, 0px, 0px)","-moz-transform":"translate3d("+pixels+"px, 0px, 0px)","-o-transform":"translate3d("+pixels+"px, 0px, 0px)","-ms-transform":"translate3d("+pixels+"px, 0px, 0px)","transform":"translate3d("+pixels+"px, 0px,0px)"};},transition3d:function(value){var base=this;base.$owlWrapper.css(base.doTranslate(value));},css2move:function(value){var base=this,cssObj;base.options['direction']=="rtl"?cssObj={"right":value}:cssObj={"left":value};base.$owlWrapper.css(cssObj);},css2slide:function(value,speed){var base=this,cssObj;base.options['direction']=="rtl"?cssObj={"right":value}:cssObj={"left":value};base.isCssFinish=false;base.$owlWrapper.stop(true,true).animate(cssObj,{duration:speed||base.options.slideSpeed,complete:function(){base.isCssFinish=true;}});},checkBrowser:function(){var base=this,translate3D="translate3d(0px, 0px, 0px)",tempElem=document.createElement("div"),regex,asSupport,support3d,isTouch;tempElem.style.cssText="  -moz-transform:"+translate3D+"; -ms-transform:"+translate3D+"; -o-transform:"+translate3D+"; -webkit-transform:"+translate3D+"; transform:"+translate3D;regex=/translate3d\(0px, 0px, 0px\)/g;asSupport=tempElem.style.cssText.match(regex);support3d=(asSupport!==null&&asSupport.length===1);isTouch="ontouchstart"in window||window.navigator.msMaxTouchPoints;base.browser={"support3d":support3d,"isTouch":isTouch};},moveEvents:function(){var base=this;if(base.options.mouseDrag!==false||base.options.touchDrag!==false){base.gestures();base.disabledEvents();}},eventTypes:function(){var base=this,types=["s","e","x"];base.ev_types={};if(base.options.mouseDrag===true&&base.options.touchDrag===true){types=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"];}else if(base.options.mouseDrag===false&&base.options.touchDrag===true){types=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"];}else if(base.options.mouseDrag===true&&base.options.touchDrag===false){types=["mousedown.owl","mousemove.owl","mouseup.owl"];}
1616base.ev_types.start=types[0];base.ev_types.move=types[1];base.ev_types.end=types[2];},disabledEvents:function(){var base=this;base.$elem.on("dragstart.owl",function(event){event.preventDefault();});base.$elem.on("mousedown.disableTextSelect",function(e){});},gestures:function(){var base=this,locals={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};base.isCssFinish=true;function getTouches(event){if(event.touches!==undefined){return{x:event.touches[0].pageX,y:event.touches[0].pageY};}
1617if(event.touches===undefined){if(event.pageX!==undefined){return{x:event.pageX,y:event.pageY};}
1618if(event.pageX===undefined){return{x:event.clientX,y:event.clientY};}}}
1619function swapEvents(type){if(type==="on"){$(document).on(base.ev_types.move,dragMove);$(document).on(base.ev_types.end,dragEnd);}else if(type==="off"){$(document).off(base.ev_types.move);$(document).off(base.ev_types.end);}}
1620function dragStart(event){var ev=event.originalEvent||event||window.event,position;if(ev.which===3){return false;}
1621if(base.itemsAmount<=base.options.items){return;}
1622if(base.isCssFinish===false&&!base.options.dragBeforeAnimFinish){return false;}
1623if(base.isCss3Finish===false&&!base.options.dragBeforeAnimFinish){return false;}
1624if(base.options.autoPlay!==false){window.clearInterval(base.autoPlayInterval);}
1625if(base.browser.isTouch!==true&&!base.$owlWrapper.hasClass("grabbing")){base.$owlWrapper.addClass("grabbing");}
1626base.newPosX=0;base.newRelativeX=0;$(this).css(base.removeTransition());position=$(this).position();if(base.options['direction']=="rtl"){positionRight=base.$owlItems.eq(0).width()*base.currentItem;locals.relativePos=positionRight;
1626locals.offsetX=-getTouches(ev).x+positionRight;}
1627else{locals.relativePos=position.left;locals.offsetX=getTouches(ev).x-position.left;}
1628locals.offsetY=getTouches(ev).y-position.top;swapEvents("on");locals.sliding=false;locals.targetElement=ev.target||ev.srcElement;}
1629function dragMove(event){var ev=event.originalEvent||event||window.event,minSwipe;if(base.options['direction']=="rtl"){base.newPosX=-getTouches(ev).x-locals.offsetX;base.newPosY=getTouches(ev).y-locals.offsetY;base.newRelativeX=base.newPosX+locals.relativePos;}
1630else{base.newPosX=getTouches(ev).x-locals.offsetX;base.newPosY=getTouches(ev).y-locals.offsetY;base.newRelativeX=base.newPosX-locals.relativePos;}
1631if(typeof base.options.startDragging==="function"&&locals.dragging!==true&&base.newRelativeX!==0){locals.dragging=true;base.options.startDragging.apply(base,[base.$elem]);}
1632if((base.newRelativeX>8||base.newRelativeX<-8)&&(base.browser.isTouch===true)){if(ev.preventDefault!==undefined){ev.preventDefault();}else{ev.returnValue=false;}
1633locals.sliding=true;}
1634if((base.newPosY>10||base.newPosY<-10)&&locals.sliding===false){$(document).off("touchmove.owl");}
1635minSwipe=function(){return base.newRelativeX/5;};maxSwipe=function(){return base.maximumPixels+base.newRelativeX/5;};base.newPosX=Math.max(Math.min(base.newPosX,minSwipe()),maxSwipe());if(base.browser.support3d===true){base.transition3d(base.newPosX);}else{base.css2move(base.newPosX);}}
1636function dragEnd(event){var ev=event.originalEvent||event||window.event,newPosition,handlers,owlStopEvent;ev.target=ev.target||ev.srcElement;locals.dragging=false;if(base.browser.isTouch!==true){base.$owlWrapper.removeClass("grabbing");}
1637if(base.options['direction']=="rtl"){if(base.newRelativeX<0){base.dragDirection=base.owl.dragDirection="right";}
1638else{base.dragDirection=base.owl.dragDirection="left";}}
1639else{if(base.newRelativeX<0){base.dragDirection=base.owl.dragDirection="left";}
1640else{base.dragDirection=base.owl.dragDirection="right";}}
1641if(base.newRelativeX!==0){newPosition=base.getNewPosition();base.goTo(newPosition,false,"drag");if(locals.targetElement===ev.target&&base.browser.isTouch!==true){$(ev.target).on("click.disable",function(ev){ev.stopImmediatePropagation();ev.stopPropagation();ev.preventDefault();$(ev.target).off("click.disable");});handlers=$._data(ev.target,"events").click;owlStopEvent=handlers.pop();handlers.splice(0,0,owlStopEvent);}}
1642swapEvents("off");}
1643base.$elem.on(base.ev_types.start,".owl-wrapper",dragStart);},getNewPosition:function(){var base=this,newPosition=base.closestItem();if(newPosition>base.maximumItem){base.currentItem=base.maximumItem;newPosition=base.maximumItem;}else if(base.newPosX>=0){newPosition=0;base.currentItem=0;}
1644return newPosition;},closestItem:function(){var base=this,array=base.options.scrollPerPage===true?base.pagesInArray:base.positionsInArray,goal=base.newPosX,closest=null;$.each(array,function(i,v){if(goal-(base.itemWidth/20)>array[i+1]&&goal-(base.itemWidth/20)<v&&base.moveDirection()==="left"){closest=v;if(base.options.scrollPerPage===true){base.currentItem=$.inArray(closest,base.positionsInArray);}else{base.currentItem=i;}}else if(goal+(base.itemWidth/20)<v&&goal+(base.itemWidth/20)>(array[i+1]||array[i]-base.itemWidth)&&base.moveDirection()==="right"){if(base.options.scrollPerPage===true){closest=array[i+1]||array[array.length-1];base.currentItem=$.inArray(closest,base.positionsInArray);}else{closest=array[i+1];base.currentItem=i+1;}}});return base.currentItem;},moveDirection:function(){var base=this,direction;if(base.newRelativeX<0){direction="right";base.playDirection="next";}else{direction="left";base.playDirection="prev";}
1645return direction;},customEvents:function(){var base=this;base.$elem.on("owl.next",function(){base.next();});base.$elem.on("owl.prev",function(){base.prev();});base.$elem.on("owl.play",function(event,speed){base.options.autoPlay=speed;base.play();base.hoverStatus="play";});base.$elem.on("owl.stop",function(){base.stop();base.hoverStatus="stop";});base.$elem.on("owl.goTo",function(event,item){base.goTo(item);});
1645base.$elem.on("owl.jumpTo",function(event,item){base.jumpTo(item);});},stopOnHover:function(){var base=this;if(base.options.stopOnHover===true&&base.browser.isTouch!==true&&base.options.autoPlay!==false){base.$elem.on("mouseover",function(){base.stop();});base.$elem.on("mouseout",function(){if(base.hoverStatus!=="stop"){base.play();}});}},lazyLoad:function(){var base=this,i,$item,itemNumber,$lazyImg,follow;if(base.options.lazyLoad===false){return false;}
1646for(i=0;i<base.itemsAmount;i+=1){$item=$(base.$owlItems[i]);if($item.data("owl-loaded")==="loaded"){continue;}
1647itemNumber=$item.data("owl-item");$lazyImg=$item.find(".lazyOwl");if(typeof $lazyImg.data("src")!=="string"){$item.data("owl-loaded","loaded");continue;}
1648if($item.data("owl-loaded")===undefined){$lazyImg.hide();$item.addClass("loading").data("owl-loaded","checked");}
1649if(base.options.lazyFollow===true){follow=itemNumber>=base.currentItem;}else{follow=true;}
1650if(follow&&itemNumber<base.currentItem+base.options.items&&$lazyImg.length){$lazyImg.each(function(){base.lazyPreload($item,$(this));});}}},lazyPreload:function($item,$lazyImg){var base=this,iterations=0,isBackgroundImg;if($lazyImg.prop("tagName")==="DIV"){$lazyImg.css("background-image","url("+$lazyImg.data("src")+")");isBackgroundImg=true;}else{$lazyImg[0].src=$lazyImg.data("src");}
1651function showImage(){$item.data("owl-loaded","loaded").removeClass("loading");$lazyImg.removeAttr("data-src");if(base.options.lazyEffect==="fade"){$lazyImg.fadeIn(400);}else{$lazyImg.show();}
1652if(typeof base.options.afterLazyLoad==="function"){base.options.afterLazyLoad.apply(this,[base.$elem]);}}
1653function checkLazyImage(){iterations+=1;if(base.completeImg($lazyImg.get(0))||isBackgroundImg===true){showImage();}else if(iterations<=100){window.setTimeout(checkLazyImage,100);}else{showImage();}}
1654checkLazyImage();},autoHeight:function(){var base=this,$currentimg=$(base.$owlItems[base.currentItem]).find("img"),iterations;function addHeight(){var $currentItem=$(base.$owlItems[base.currentItem]).height();base.wrapperOuter.css("height",$currentItem+"px");if(!base.wrapperOuter.hasClass("autoHeight")){window.setTimeout(function(){base.wrapperOuter.addClass("autoHeight");},0);}}
1655function checkImage(){iterations+=1;if(base.completeImg($currentimg.get(0))){addHeight();}else if(iterations<=100){window.setTimeout(checkImage,100);}else{base.wrapperOuter.css("height","");}}
1656if($currentimg.get(0)!==undefined){iterations=0;checkImage();}else{addHeight();}},completeImg:function(img){var naturalWidthType;if(!img.complete){return false;}
1657naturalWidthType=typeof img.naturalWidth;if(naturalWidthType!=="undefined"&&img.naturalWidth===0){return false;}
1658return true;},onVisibleItems:function(){var base=this,i;if(base.options.addClassActive===true){base.$owlItems.removeClass("active");}
1659base.visibleItems=[];for(i=base.currentItem;i<base.currentItem+base.options.items;i+=1){base.visibleItems.push(i);if(base.options.addClassActive===true){$(base.$owlItems[i]).addClass("active");}}
1660base.owl.visibleItems=base.visibleItems;},transitionTypes:function(className){var base=this;base.outClass="owl-"+className+"-out";base.inClass="owl-"+className+"-in";},singleItemTransition:function(){var base=this,outClass=base.outClass,inClass=base.inClass,$currentItem=base.$owlItems.eq(base.currentItem),$prevItem=base.$owlItems.eq(base.prevItem),prevPos=Math.abs(base.positionsInArray[base.currentItem])+base.positionsInArray[base.prevItem],origin=Math.abs(base.positionsInArray[base.currentItem])+base.itemWidth/2,animEnd='webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend';base.isTransition=true;base.$owlWrapper.addClass('owl-origin').css({"-webkit-transform-origin":origin+"px","-moz-perspective-origin":origin+"px","perspective-origin":origin+"px"});function transStyles(prevPos){return{"position":"relative","left":prevPos+"px"};}
1661$prevItem.css(transStyles(prevPos,10)).addClass(outClass).on(animEnd,function(){base.endPrev=true;$prevItem.off(animEnd);base.clearTransStyle($prevItem,outClass);});$currentItem.addClass(inClass).on(animEnd,function(){base.endCurrent=true;$currentItem.off(animEnd);base.clearTransStyle($currentItem,inClass);});},clearTransStyle:function(item,classToRemove){var base=this;item.css({"position":"","left":""}).removeClass(classToRemove);if(base.endPrev&&base.endCurrent){base.$owlWrapper.removeClass('owl-origin');base.endPrev=false;base.endCurrent=false;base.isTransition=false;}},owlStatus:function(){var base=this;base.owl={"userOptions":base.userOptions,"baseElement":base.$elem,"userItems":base.$userItems,"owlItems":base.$owlItems,"currentItem":base.currentItem,"prevItem":base.prevItem,"visibleItems":base.visibleItems,"isTouch":base.browser.isTouch,"browser":base.browser,"dragDirection":base.dragDirection};},clearEvents:function(){var base=this;base.$elem.off(".owl owl mousedown.disableTextSelect");$(document).off(".owl owl");$(window).off("resize",base.resizer);},unWrap:function(){var base=this;if(base.$elem.children().length!==0){base.$owlWrapper.unwrap();base.$userItems.unwrap().unwrap();if(base.owlControls){base.owlControls.remove();}}
1662base.clearEvents();base.$elem.attr({style:base.$elem.data("owl-originalStyles")||"",class:base.$elem.data("owl-originalClasses")});},destroy:function(){var base=this;base.stop();window.clearInterval(base.checkVisible);base.unWrap();base.$elem.removeData();},reinit:function(newOptions){var base=this,options=$.extend({},base.userOptions,newOptions);base.unWrap();base.init(options,base.$elem);},addItem:function(htmlString,targetPosition){var base=this,position;if(!htmlString){return false;}
1663if(base.$elem.children().length===0){base.$elem.append(htmlString);base.setVars();return false;}
1664base.unWrap();if(targetPosition===undefined||targetPosition===-1){position=-1;}else{position=targetPosition;}
1665if(position>=base.$userItems.length||position===-1){base.$userItems.eq(-1).after(htmlString);}else{base.$userItems.eq(position).before(htmlString);}
1666base.setVars();},removeItem:function(targetPosition){var base=this,position;if(base.$elem.children().length===0){return false;}
1667if(targetPosition===undefined||targetPosition===-1){position=-1;}else{position=targetPosition;}
1668base.unWrap();base.$userItems.eq(position).remove();base.setVars();}};$.fn.owlCarousel=function(options){return this.each(function(){if($(this).data("owl-init")===true){return false;}
1669$(this).data("owl-init",true);
1669var carousel=Object.create(Carousel);carousel.init(options,this);$.data(this,"owlCarousel",carousel);});};$.fn.owlCarousel.options={direction:'ltr',items:5,itemsCustom:false,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:false,itemsMobile:[479,1],singleItem:false,itemsScaleUp:false,slideSpeed:200,paginationSpeed:800,rewindSpeed:1000,autoPlay:false,stopOnHover:false,navigation:false,navigationText:["prev","next"],rewindNav:true,scrollPerPage:false,pagination:true,paginationNumbers:false,responsive:true,responsiveRefreshRate:200,responsiveBaseWidth:window,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:false,lazyFollow:true,lazyEffect:"fade",autoHeight:false,jsonPath:false,jsonSuccess:false,dragBeforeAnimFinish:true,mouseDrag:true,touchDrag:true,addClassActive:false,transitionStyle:false,beforeUpdate:false,afterUpdate:false,beforeInit:false,afterInit:false,beforeMove:false,afterMove:false,afterAction:false,startDragging:false,afterLazyLoad:false};}(jQuery,window,document));;(function(){$.fn.lofCountDown=function(options){return this.each(function(){new $.lofCountDown(this,options);});}
1670$.lofCountDown=function(obj,options){this.options=$.extend({autoStart:true,LeadingZero:true,DisplayFormat:"<div>%%D%% Days</div><div>%%H%% Hours</div><div>%%M%% Minutes</div><div>%%S%% Seconds</div>",FinishMessage:"Expired",CountActive:true,TargetDate:null},options||{});if(this.options.TargetDate==null||this.options.TargetDate==''){return;}
1671this.timer=null;this.element=obj;this.CountStepper=-1;this.CountStepper=Math.ceil(this.CountStepper);this.SetTimeOutPeriod=(Math.abs(this.CountStepper)-1)*1000+990;var dthen=new Date(this.options.TargetDate);var dnow=new Date();if(this.CountStepper>0){ddiff=new Date(dnow-dthen);}
1672else{ddiff=new Date(dthen-dnow);}
1673gsecs=Math.floor(ddiff.valueOf()/1000);this.CountBack(gsecs,this);};$.lofCountDown.fn=$.lofCountDown.prototype;$.lofCountDown.fn.extend=$.lofCountDown.extend=$.extend;$.lofCountDown.fn.extend({calculateDate:function(secs,num1,num2){var s=((Math.floor(secs/num1))%num2).toString();if(this.options.LeadingZero&&s.length<2){s="0"+s;}
1674return"<b>"+s+"</b>";},CountBack:function(secs,self){if(secs<0){self.element.innerHTML='<div class="lof-labelexpired"> '+self.options.FinishMessage+"</div>";return;}
1675clearInterval(self.timer);DisplayStr=self.options.DisplayFormat.replace(/%%D%%/g,self.calculateDate(secs,86400,100000));DisplayStr=DisplayStr.replace(/%%H%%/g,self.calculateDate(secs,3600,24));DisplayStr=DisplayStr.replace(/%%M%%/g,self.calculateDate(secs,60,60));DisplayStr=DisplayStr.replace(/%%S%%/g,self.calculateDate(secs,1,60));self.element.innerHTML=DisplayStr;if(self.options.CountActive){self.timer=null;self.timer=setTimeout(function(){self.CountBack((secs+self.CountStepper),self);},(self.SetTimeOutPeriod));}}})})(jQuery);;(function($){$.LeoCustomAjax=function(){this.leoData='leoajax=1';};$.LeoCustomAjax.prototype={processAjax:function(){var myElement=this;if(leoOption.productNumber&&$(".leo-qty").length)
1676myElement.getCategoryList();else if($(".leo-qty").length)
1677$(".leo-qty").remove();if(leoOption.productInfo&&$(".leo-more-info").length)
1678myElement.getProductListInfo();else if($(".leo-more-info").length)
1679$(".leo-more-info").remove();if(leoOption.productTran&&$(".product-additional").length)
1680myElement.getProductListTran();else if($(".product-additional").length)
1681$(".product-additional").remove();if(leoOption.productCdown&&$(".leo-more-cdown").length)
1682myElement.getProductCdownInfo();else if($(".leo-more-cdown").length)
1683$(".leo-more-cdown").remove();if(leoOption.productCdown&&$(".leo-more-color").length)
1684myElement.getProductColorInfo();else if($(".leo-more-color").length)
1685$(".leo-more-color").remove();if($('.ap-total-wishlist').length||$('.ap-total-compare').length)
1686{myElement.getCountWishlistCompare();}
1687if(myElement.leoData!="leoajax=1"){$.ajax({type:'POST',headers:{"cache-control":"no-cache"},url:baseDir+'modules/appagebuilder/apajax.php'+'?rand='+new Date().getTime(),async:true,cache:false,dataType:"json",data:myElement.leoData,success:function(jsonData){if(jsonData){if(jsonData.cat){for(i=0;i<jsonData.cat.length;i++){var str=jsonData.cat[i].total;var label=$("#leo-cat-"+jsonData.cat[i].id_category).data("str");if(typeof label!="undefined"){str+="<span>"+label+"</span>";}
1688$("#leo-cat-"+jsonData.cat[i].id_category).html(str);$("#leo-cat-"+jsonData.cat[i].id_category).show();}
1689$('.leo-qty').each(function(){if($(this).html()=='')
1690{$(this).html('0');$(this).show();}})}
1691if(jsonData.pro_info){var listProduct=new Array();for(i=0;i<jsonData.pro_info.length;i++){listProduct[jsonData.pro_info[i].id]=jsonData.pro_info[i].content;}
1692$(".leo-more-info").each(function(){$(this).html(listProduct[$(this).data("idproduct")]);});addEffectProducts();}
1693if(jsonData.pro_cdown){var listProduct=new Array();for(i=0;i<jsonData.pro_cdown.length;i++){listProduct[jsonData.pro_cdown[i].id]=jsonData.pro_cdown[i].content;}
1694$(".leo-more-cdown").each(function(){$(this).html(listProduct[$(this).data("idproduct")]);});}
1695if(jsonData.pro_color){var listProduct=new Array();for(i=0;i<jsonData.pro_color.length;i++){listProduct[jsonData.pro_color[i].id]=jsonData.pro_color[i].content;}
1696$(".leo-more-color").each(function(){$(this).html(listProduct[$(this).data("idproduct")]);});}
1697if(jsonData.pro_add){var listProductImg=new Array();var listProductName=new Array();for(i=0;i<jsonData.pro_add.length;i++){listProductImg[jsonData.pro_add[i].id]=jsonData.pro_add[i].content;listProductName[jsonData.pro_add[i].id]=jsonData.pro_add[i].name;}
1698iw=360;ih=360;if(typeof leoOption.homeWidth!=='undefined'){iw=leoOption.homeWidth;ih=leoOption.homeheight;}else{iw=$('.product_img_link .img-responsive').first().attr('width');ih=$('.product_img_link .img-responsive').first().attr('height');}
1699$(".product-additional").each(function(){if(listProductImg[$(this).data("idproduct")]){var str_image=listProductImg[$(this).data("idproduct")];var src_image=str_image.replace('home_default','home_default');var name_image=listProductName[$(this).data("idproduct")];$(this).html('<img class="img-responsive" title="'+name_image+'" alt="'+name_image+'" src="'+src_image+'" width="'+iw+'" height="'+ih+'"/>');}});}
1700if(jsonData.wishlist_products)
1701{$('.ap-total-wishlist').text(jsonData.wishlist_products);}
1702else
1703{$('.ap-total-wishlist').text('0');}
1704if(jsonData.compared_products)
1705{$('.ap-total-compare').text(jsonData.compared_products);}
1706else
1707{$('.ap-total-compare').text('0');}}},error:function(){}});}},getCountWishlistCompare:function()
1708{this.leoData+='&wishlist_compare=1';},getCategoryList:function(){var leoCatList="";$(".leo-qty").each(function(){if(leoCatList)
1709leoCatList+=","+$(this).attr("id");else
1710leoCatList=$(this).attr("id");});if(leoCatList){leoCatList=leoCatList.replace(/leo-cat-/g,"");this.leoData+='&cat_list='+leoCatList;}
1711return false;},getProductListInfo:function(){var leoProInfo="";$(".leo-more-info").each(function(){if(!leoProInfo)
1712leoProInfo+=$(this).data("idproduct");else
1713leoProInfo+=","+$(this).data("idproduct");});if(leoProInfo){this.leoData+='&pro_info='+leoProInfo;}
1714return false;},getProductCdownInfo:function(){var leoProCdown="";$(".leo-more-cdown").each(function(){if(!leoProCdown)
1715leoProCdown+=$(this).data("idproduct");else
1716leoProCdown+=","+$(this).data("idproduct");});if(leoProCdown){this.leoData+='&pro_cdown='+leoProCdown;}
1717return false;},getProductColorInfo:function(){var leoProColor="";$(".leo-more-color").each(function(){if(!leoProColor)
1718leoProColor+=$(this).data("idproduct");else
1719leoProColor+=","+$(this).data("idproduct");});if(leoProColor){this.leoData+='&pro_color='+leoProColor;}
1720return false;},getProductListTran:function(){var leoAdditional="";$(".product-additional").each(function(){if(!leoAdditional)
1721leoAdditional+=$(this).data("idproduct");else
1722leoAdditional+=","+$(this).data("idproduct");});if(leoAdditional){this.leoData+='&pro_add='+leoAdditional;}
1723return false;}};}(jQuery));function addJSProduct(currentProduct){$('.thumbs_list_'+currentProduct).serialScroll({items:'li:visible',prev:'.view_scroll_left_'+currentProduct,next:'.view_scroll_right_'+currentProduct,axis:'y',offset:0,start:0,stop:true,duration:700,step:1,lazy:true,lock:false,force:false,cycle:false});$('.thumbs_list_'+currentProduct).trigger('goto',1);$('.thumbs_list_'+currentProduct).trigger('goto',0);}
1724function addEffectProducts(){if(typeof(leoOption)!='undefined'&&leoOption.productInfo){$(".leo-more-info").each(function(){addJSProduct($(this).data("idproduct"));});addEffectProduct();}}
1725function addEffectProduct(){var speed=800;var effect="easeInOutQuad";$(".leo-more-info").each(function(){var leo_preview=this;$(leo_preview).find(".leo-hover-image").each(function(){$(this).mouseover(function(){var big_image=$(this).attr("rel");imgElement=$(leo_preview).parent().find(".product_img_link img").first();if(!imgElement.length){imgElement=$(leo_preview).parent().find(".product_image img").first();}
1726if(imgElement.length){$(imgElement).stop().animate({opacity:0}
1726,{duration:speed,easing:effect});$(imgElement).first().attr("src",big_image);$(imgElement).first().attr("data-rel",big_image);$(imgElement).stop().animate({opacity:1},{duration:speed,easing:effect});}});});$('.thickbox-ajax-'+$(this).data("idproduct")).fancybox({'hideOnContentClick':true,'transitionIn':'elastic','transitionOut':'elastic'});});}
1727function addEffOneImg(){var speed=800;var effect="easeInOutQuad";$(".product-additional").each(function(){if($(this).find("img").length){var leo_hover_image=$(this).parent().find("img").first();var leo_preview=$(this);$(this).parent().mouseenter(function(){$(this).find("img").first().stop().animate({opacity:0},{duration:speed,easing:effect});$(leo_preview).stop().animate({opacity:1},{duration:speed,easing:effect});});$(this).parent().mouseleave(function(){$(this).find("img").first().stop().animate({opacity:1},{duration:speed,easing:effect});$(leo_preview).stop().animate({opacity:0},{duration:speed,easing:effect});});}});}
1728function log(message){console.log(message);}
1729function onScrollInit(items){items.each(function(){var osElement=$(this);var animation=$(osElement).data("animation");var osAnimationDelay=$(osElement).data("animation-delay");osElement.css({"-webkit-animation-delay":osAnimationDelay,"-moz-animation-delay":osAnimationDelay,"animation-delay":osAnimationDelay});osElement.waypoint(function(){osElement.addClass("animated").addClass(animation);},{triggerOnce:true,offset:'90%'});});}
1730function initializeGmap(map,data,markers,nameGmap,zoom){map=new google.maps.Map(document.getElementById(nameGmap),{center:new google.maps.LatLng(latitude,longitude),zoom:zoom,mapTypeId:'roadmap'});if(data.length>0)
1731{setTimeout(createMarkers(map,markers,data),1500);}
1732else
1733{markers[0]=new google.maps.Marker({position:new google.maps.LatLng(latitude,longitude),animation:google.maps.Animation.DROP,map:map,});}};function createMarkers(map,markers,data){for(var i=0;i<data.length;i++){var obj=data[i];var lg=parseFloat(obj.longitude);var lt=parseFloat(obj.latitude);var name=obj.name;var address=obj.address;var other=obj.other;var id_store=obj.id_store;var has_store_picture=obj.has_store_picture;var latlng=new google.maps.LatLng(lt,lg);
1733var html="<div style='min-width:200px;'><b>"+name+"</b><br/>"+address;html+=(has_store_picture?"<br /><br /><p><img src='"+img_store_dir+parseInt(id_store)+".jpg' alt='' /></p>":"");html+=other+"<a href='http://maps.google.com/maps?saddr=&daddr="+latlng+"' target='_blank'>"+translation_5+"<\/a>";html+="</div>";infowindow=new google.maps.InfoWindow({content:"loading..."});var marker=new google.maps.Marker({position:new google.maps.LatLng(lt,lg),animation:google.maps.Animation.DROP,map:map,icon:img_ps_dir+logo_store,title:obj.name,html:html});google.maps.event.addListener(marker,"click",function(){infowindow.setContent(this.html);infowindow.open(map,this);});markers[i]=marker;}}
1734function synSize(name){var obj=$("#"+name);var div=$(obj).closest(".gmap-cover");var gmap=$(div).find(".gmap");$(obj).height($(gmap).height());}
1735$(function(){$(".btn-show-more").click(function(){var page=parseInt($(this).data('page'));var btn=$(this);var config=$(this).closest(".ApProductList").find(".apconfig").val();btn.button("loading");$.ajax({headers:{"cache-control":"no-cache"},url:baseDir+'modules/appagebuilder/apajax.php',async:true,cache:false,dataType:"Json",data:{"config":config,"p":page},success:function(response){var boxCover=$(btn).closest(".box-show-more");if(!response.is_more){$(boxCover).removeClass("open");}
1736if(response.html){$(boxCover).prev().append(response.html);}
1737$(btn).data("page",(page+1));}}).always(function(){btn.button("reset");});});$(".has-animation").each(function(){onScrollInit($(this));});});(function($){window.addRule=function(selector,styles,sheet){styles=(function(styles){if(typeof styles==="string")return styles;var clone="";for(var prop in styles){if(styles.hasOwnProperty(prop)){var val=styles[prop];prop=prop.replace(/([A-Z])/g,"-$1").toLowerCase();clone+=prop+":"+(prop==="content"?'"'+val+'"':val)+"; ";}}
1738return clone;}(styles));try{sheet=sheet||document.styleSheets[document.styleSheets.length-1];if(sheet.insertRule)
1739{if(sheet.cssRules!==null&&sheet.cssRules.length!==0)
1740sheet.insertRule(selector+" {"+styles+"}",sheet.cssRules.length);}
1741else if(sheet.addRule)sheet.addRule(selector,styles);}
1742catch(err){var style=(function(){var style=document.createElement("style");style.appendChild(document.createTextNode(""));document.head.appendChild(style);return style;})();style.sheet.insertRule(selector+" {"+styles+"}",0);}
1743return this;};if($)$.fn.addRule=function(styles,sheet){addRule(this.selector,styles,sheet);return this;};}(this.jQuery||this.Zepto));function apPopupForm(){if($.totalStorage('apnewletter'))return;$.fancybox({'content':$(".ap-popup").html(),afterClose:function(event,ui){$.totalStorage('apnewletter','1');}});}
1744$(document).ready(function(){if($('.ap-popup').length){if($('.ap-popup').hasClass('index-only')&&$('body').attr('id')=='index')
1745apPopupForm();else
1746apPopupForm();}
1747$(".has-bg.bg-fullwidth").each(function(){id="#"+$(this).attr("id");bg=$(this).data("bg");$(id+":before").addRule({background:bg});});if(typeof stellar!=='undefined'&&stellar)
1748$.stellar({horizontalScrolling:false});currentPosX=[];currentPosY=[];$("div[data-mouse-parallax-strength]").each(function(){currentPos=$(this).css("background-position");if(typeof currentPos=="string")
1749{currentPosArray=currentPos.split(" ");}else
1750{currentPosArray=[$(this).css("background-position-x"),$(this).css("background-position-y")];}
1751currentPosX[$(this).data("mouse-parallax-rid")]=parseFloat(currentPosArray[0]);currentPosY[$(this).data("mouse-parallax-rid")]=parseFloat(currentPosArray[1]);$(this).mousemove(function(e){newPosX=currentPosX[$(this).data("mouse-parallax-rid")];newPosY=currentPosY[$(this).data("mouse-parallax-rid")];if($(this).data("mouse-parallax-axis")!="axis-y"){mparallaxPageX=e.pageX-$(this).offset().left;if($(this).hasClass("full-bg-screen"))
1752{mparallaxPageX=mparallaxPageX-1000;}
1753newPosX=(mparallaxPageX*$(this).data("mouse-parallax-strength")*-1)+newPosX;}
1754if($(this).data("mouse-parallax-axis")!="axis-x"){mparallaxPageY=e.pageY-$(this).offset().top;newPosY=mparallaxPageY*$(this).data("mouse-parallax-strength")*-1;}
1755$(this).css("background-position",newPosX+"px "+newPosY+"px");});});var ytIframeId;var ytVideoId;function onYouTubeIframeAPIReady(){$("div.iframe-youtube-api-tag").each(function(){ytIframeId=$(this).attr("id");ytVideoId=$(this).data("youtube-video-id");new YT.Player(ytIframeId,{videoId:ytVideoId,width:"100%",height:"100%",playerVars:{autoplay:1,controls:0,disablekb:1,fs:0,cc_load_policy:0,iv_load_policy:3,modestbranding:0,rel:0,showinfo:0,start:0},events:{"onReady":function(event){event.target.mute();setInterval(function(){event.target.seekTo(0);},(event.target.getDuration()-1)*1000);}}});});}
1756onYouTubeIframeAPIReady();if(typeof MediaElementPlayer!=='undefined'){var player1=new MediaElementPlayer('#special-youtube-video1');var player2=new MediaElementPlayer('#special-youtube-video2');
1756if(player1)
1757{var auto_find=setInterval(function(){if($('#video-1 .mejs-overlay-play').html())
1758{$('#video-1 .mejs-overlay-play>.mejs-overlay-button').before('<div class="video-name">'+$('#special-youtube-video1').data('name')+'</div>');$('#video-1 .mejs-overlay-play').append('<div class="video-description">Watch video and <span>subscribe us<span></div>');clearInterval(auto_find);}},500);}
1759if(player2)
1760{var auto_find1=setInterval(function(){if($('#video-2 .mejs-overlay-play').html())
1761{$('#video-2 .mejs-overlay-play>.mejs-overlay-button').before('<div class="video-name">'+$('#special-youtube-video2').data('name')+'</div>');$('#video-2 .mejs-overlay-play').append('<div class="video-description">Watch video and <span>subscribe us<span></div>');clearInterval(auto_find1);}},500);}}
1762current_url=window.location.href;$('.apconfig').each(function(){param=$(this).data('type');value=$(this).data('id');var re=new RegExp("([?|&])"+param+"=.*?(&|$)","i");if(current_url.match(re))
1763$(this).attr('href',current_url.replace(re,'$1'+param+"="+value+'$2'));else{if(current_url.indexOf('?')==-1)
1764$(this).attr('href',current_url+'?'+param+"="+value);else
1765$(this).attr('href',current_url+'&'+param+"="+value);}});$(window).resize(function(){if($('.tab-pane .owl-carousel').length)
1766{$('.tab-pane .owl-carousel').each(function(index,element){if(!$(element).parents('.tab-pane').hasClass('active')&&typeof($(element).data('owlCarousel'))!=="undefined")
1767{var w_owl_active_tab=$(element).parents('.tab-pane').siblings('.active').find('.owl-carousel').width();$(element).width(w_owl_active_tab);$(element).data('owlCarousel').updateVars();$(element).width('auto');}});}})});$(document).ready(function(){if(typeof approfile_multilang_url!="undefined"){$.each(approfile_multilang_url,function(index,profile){var url_search=baseDir+profile.iso_code;var url_change=baseDir+profile.iso_code+'/'+profile.friendly_url+'.html';$('#first-languages a').each(function(){var lang_href=$(this).attr('href');if(lang_href.indexOf(url_search)>-1)
1768{$(this).attr('href',url_change);}});});}});;(function(a){var b="0.3.4",c="hasOwnProperty",d=/[\.\/]/,e="*",f=function(){},g=function(a,b){return a-b},h,i,j={n:{}},k=function(a,b){var c=j,d=i,e=Array.prototype.slice.call(arguments,2),f=k.listeners(a),l=0,m=!1,n,o=[],p={},q=[],r=h,s=[];h=a,i=0;for(var t=0,u=f.length;t<u;t++)"zIndex"in f[t]&&(o.push(f[t].zIndex),f[t].zIndex<0&&(p[f[t].zIndex]=f[t]));o.sort(g);while(o[l]<0){n=p[o[l++]],q.push(n.apply(b,e));if(i){i=d;return q}}for(t=0;t<u;t++){n=f[t];if("zIndex"in n)if(n.zIndex==o[l]){q.push(n.apply(b,e));if(i)break;do{l++,n=p[o[l]],n&&q.push(n.apply(b,e));if(i)break}while(n)}else p[n.zIndex]=n;else{q.push(n.apply(b,e));if(i)break}}i=d,h=r;return q.length?q:null};k.listeners=function(a){var b=a.split(d),c=j,f,g,h,i,k,l,m,n,o=[c],p=[];for(i=0,k=b.length;i<k;i++){n=[];for(l=0,m=o.length;l<m;l++){c=o[l].n,g=[c[b[i]],c[e]],h=2;while(h--)f=g[h],f&&(n.push(f),p=p.concat(f.f||[]))}o=n}return p},k.on=function(a,b){var c=a.split(d),e=j;for(var g=0,h=c.length;g<h;g++)e=e.n,!e[c[g]]&&(e[c[g]]={n:{}}),e=e[c[g]];e.f=e.f||[];for(g=0,h=e.f.length;g<h;g++)if(e.f[g]==b)return f;e.f.push(b);return function(a){+a==+a&&(b.zIndex=+a)}},k.stop=function(){i=1},k.nt=function(a){if(a)return(new RegExp("(?:\\.|\\/|^)"+a+"(?:\\.|\\/|$)")).test(h);return h},k.off=k.unbind=function(a,b){var f=a.split(d),g,h,i,k,l,m,n,o=[j];for(k=0,l=f.length;k<l;k++)for(m=0;m<o.length;m+=i.length-2){i=[m,1],g=o[m].n;if(f[k]!=e)g[f[k]]&&i.push(g[f[k]]);else for(h in g)g[c](h)&&i.push(g[h]);o.splice.apply(o,i)}for(k=0,l=o.length;k<l;k++){g=o[k];while(g.n){if(b){if(g.f){for(m=0,n=g.f.length;m<n;m++)if(g.f[m]==b){g.f.splice(m,1);break}!g.f.length&&delete g.f}for(h in g.n)if(g.n[c](h)&&g.n[h].f){var p=g.n[h].f;for(m=0,n=p.length;m<n;m++)if(p[m]==b){p.splice(m,1);break}!p.length&&delete g.n[h].f}}else{delete g.f;for(h in g.n)g.n[c](h)&&g.n[h].f&&delete g.n[h].f}g=g.n}}},k.once=function(a,b){var c=function(){var d=b.apply(this,arguments);k.unbind(a,c);return d};return k.on(a,c)},k.version=b,k.toString=function(){return"You are running Eve "+b},typeof module!="undefined"&&module.exports?module.exports=k:typeof define!="undefined"?define("eve",[],function(){return k}):a.eve=k})(this),function(){function cF(a){for(var b=0;b<cy.length;b++)cy[b].el.paper==a&&cy.splice(b--,1)}function cE(b,d,e,f,h,i){e=Q(e);var j,k,l,m=[],o,p,q,t=b.ms,u={},v={},w={};if(f)for(y=0,z=cy.length;y<z;y++){var x=cy[y];if(x.el.id==d.id&&x.anim==b){x.percent!=e?(cy.splice(y,1),l=1):k=x,d.attr(x.totalOrigin);break}}else f=+v;for(var y=0,z=b.percents.length;y<z;y++){if(b.percents[y]==e||b.percents[y]>f*b.top){e=b.percents[y],p=b.percents[y-1]||0,t=t/b.top*(e-p),o=b.percents[y+1],j=b.anim[e];break}f&&d.attr(b.anim[b.percents[y]])}if(!!j){if(!k){for(var A in j)if(j[g](A))if(U[g](A)||d.paper.customAttributes[g](A)){u[A]=d.attr(A),u[A]==null&&(u[A]=T[A]),v[A]=j[A];switch(U[A]){case C:w[A]=(v[A]-u[A])/t;break;case"colour":u[A]=a.getRGB(u[A]);var B=a.getRGB(v[A]);w[A]={r:(B.r-u[A].r)/t,g:(B.g-u[A].g)/t,b:(B.b-u[A].b)/t};break;case"path":var D=bR(u[A],v[A]),E=D[1];u[A]=D[0],w[A]=[];for(y=0,z=u[A].length;y<z;y++){w[A][y]=[0];for(var F=1,G=u[A][y].length;F<G;F++)w[A][y][F]=(E[y][F]-u[A][y][F])/t}break;case"transform":var H=d._,I=ca(H[A],v[A]);if(I){u[A]=I.from,v[A]=I.to,w[A]=[],w[A].real=!0;for(y=0,z=u[A].length;y<z;y++){w[A][y]=[u[A][y][0]];for(F=1,G=u[A][y].length;F<G;F++)w[A][y][F]=(v[A][y][F]-u[A][y][F])/t}}else{var J=d.matrix||new cb,K={_:{transform:H.transform},getBBox:function(){return d.getBBox(1)}};u[A]=[J.a,J.b,J.c,J.d,J.e,J.f],b$(K,v[A]),v[A]=K._.transform,w[A]=[(K.matrix.a-J.a)/t,(K.matrix.b-J.b)/t,(K.matrix.c-J.c)/t,(K.matrix.d-J.d)/t,(K.matrix.e-J.e)/t,(K.matrix.f-J.f)/t]}break;case"csv":var L=r(j[A])[s](c),M=r(u[A])[s](c);if(A=="clip-rect"){u[A]=M,w[A]=[],y=M.length;while(y--)w[A][y]=(L[y]-u[A][y])/t}v[A]=L;break;default:L=[][n](j[A]),M=[][n](u[A]),w[A]=[],y=d.paper.customAttributes[A].length;while(y--)w[A][y]=((L[y]||0)-(M[y]||0))/t}}var O=j.easing,P=a.easing_formulas[O];if(!P){P=r(O).match(N);
1768if(P&&P.length==5){var R=P;P=function(a){return cC(a,+R[1],+R[2],+R[3],+R[4],t)}}else P=bf}q=j.start||b.start||+(new Date),x={anim:b,percent:e,timestamp:q,start:q+(b.del||0),status:0,initstatus:f||0,stop:!1,ms:t,easing:P,from:u,diff:w,to:v,el:d,callback:j.callback,prev:p,next:o,repeat:i||b.times,origin:d.attr(),totalOrigin:h},cy.push(x);if(f&&!k&&!l){x.stop=!0,x.start=new Date-t*f;if(cy.length==1)return cA()}l&&(x.start=new Date-x.ms*f),cy.length==1&&cz(cA)}else k.initstatus=f,k.start=new Date-k.ms*f;eve("raphael.anim.start."+d.id,d,b)}}function cD(a,b){var c=[],d={};this.ms=b,this.times=1;if(a){for(var e in a)a[g](e)&&(d[Q(e)]=a[e],c.push(Q(e)));c.sort(bd)}this.anim=d,this.top=c[c.length-1],this.percents=c}function cC(a,b,c,d,e,f){function o(a,b){var c,d,e,f,j,k;for(e=a,k=0;k<8;k++){f=m(e)-a;if(z(f)<b)return e;j=(3*i*e+2*h)*e+g;if(z(j)<1e-6)break;e=e-f/j}c=0,d=1,e=a;if(e<c)return c;if(e>d)return d;while(c<d){f=m(e);if(z(f-a)<b)return e;a>f?c=e:d=e,e=(d-c)/2+c}return e}function n(a,b){var c=o(a,b);return((l*c+k)*c+j)*c}function m(a){return((i*a+h)*a+g)*a}var g=3*b,h=3*(d-b)-g,i=1-g-h,j=3*c,k=3*(e-c)-j,l=1-j-k;return n(a,1/(200*f))}function cq(){return this.x+q+this.y+q+this.width+" × "+this.height}function cp(){return this.x+q+this.y}function cb(a,b,c,d,e,f){a!=null?(this.a=+a,this.b=+b,this.c=+c,this.d=+d,this.e=+e,this.f=+f):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}function bH(b,c,d){b=a._path2curve(b),c=a._path2curve(c);var e,f,g,h,i,j,k,l,m,n,o=d?0:[];for(var p=0,q=b.length;p<q;p++){var r=b[p];if(r[0]=="M")e=i=r[1],f=j=r[2];else{r[0]=="C"?(m=[e,f].concat(r.slice(1)),e=m[6],f=m[7]):(m=[e,f,e,f,i,j,i,j],e=i,f=j);for(var s=0,t=c.length;s<t;s++){var u=c[s];if(u[0]=="M")g=k=u[1],h=l=u[2];else{u[0]=="C"?(n=[g,h].concat(u.slice(1)),g=n[6],h=n[7]):(n=[g,h,g,h,k,l,k,l],g=k,h=l);var v=bG(m,n,d);if(d)o+=v;else{for(var w=0,x=v.length;w<x;w++)v[w].segment1=p,v[w].segment2=s,v[w].bez1=m,v[w].bez2=n;o=o.concat(v)}}}}}return o}function bG(b,c,d){var e=a.bezierBBox(b),f=a.bezierBBox(c);if(!a.isBBoxIntersect(e,f))return d?0:[];var g=bB.apply(0,b),h=bB.apply(0,c),i=~~(g/5),j=~~(h/5),k=[],l=[],m={},n=d?0:[];for(var o=0;o<i+1;o++){var p=a.findDotsAtSegment.apply(a,b.concat(o/i));k.push({x:p.x,y:p.y,t:o/i})}for(o=0;o<j+1;o++)p=a.findDotsAtSegment.apply(a,c.concat(o/j)),l.push({x:p.x,y:p.y,t:o/j});for(o=0;o<i;o++)for(var q=0;q<j;q++){var r=k[o],s=k[o+1],t=l[q],u=l[q+1],v=z(s.x-r.x)<.001?"y":"x",w=z(u.x-t.x)<.001?"y":"x",x=bD(r.x,r.y,s.x,s.y,t.x,t.y,u.x,u.y);if(x){if(m[x.x.toFixed(4)]==x.y.toFixed(4))continue;m[x.x.toFixed(4)]=x.y.toFixed(4);var y=r.t+z((x[v]-r[v])/(s[v]-r[v]))*(s.t-r.t),A=t.t+z((x[w]-t[w])/(u[w]-t[w]))*(u.t-t.t);y>=0&&y<=1&&A>=0&&A<=1&&(d?n++:n.push({x:x.x,y:x.y,t1:y,t2:A}))}}return n}function bF(a,b){return bG(a,b,1)}function bE(a,b){return bG(a,b)}function bD(a,b,c,d,e,f,g,h){if(!(x(a,c)<y(e,g)||y(a,c)>x(e,g)||x(b,d)<y(f,h)||y(b,d)>x(f,h))){var i=(a*d-b*c)*(e-g)-(a-c)*(e*h-f*g),j=(a*d-b*c)*(f-h)-(b-d)*(e*h-f*g),k=(a-c)*(f-h)-(b-d)*(e-g);if(!k)return;var l=i/k,m=j/k,n=+l.toFixed(2),o=+m.toFixed(2);if(n<+y(a,c).toFixed(2)||n>+x(a,c).toFixed(2)||n<+y(e,g).toFixed(2)||n>+x(e,g).toFixed(2)||o<+y(b,d).toFixed(2)||o>+x(b,d).toFixed(2)||o<+y(f,h).toFixed(2)||o>+x(f,h).toFixed(2))return;return{x:l,y:m}}}function bC(a,b,c,d,e,f,g,h,i){if(!(i<0||bB(a,b,c,d,e,f,g,h)<i)){var j=1,k=j/2,l=j-k,m,n=.01;m=bB(a,b,c,d,e,f,g,h,l);while(z(m-i)>n)k/=2,l+=(m<i?1:-1)*k,m=bB(a,b,c,d,e,f,g,h,l);return l}}function bB(a,b,c,d,e,f,g,h,i){i==null&&(i=1),i=i>1?1:i<0?0:i;var j=i/2,k=12,l=[-0.1252,.1252,-0.3678,.3678,-0.5873,.5873,-0.7699,.7699,-0.9041,.9041,-0.9816,.9816],m=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],n=0;for(var o=0;o<k;o++){var p=j*l[o]+j,q=bA(p,a,c,e,g),r=bA(p,b,d,f,h),s=q*q+r*r;n+=m[o]*w.sqrt(s)}return j*n}function bA(a,b,c,d,e){var f=-3*b+9*c-9*d+3*e,g=a*f+6*b-12*c+6*d;return a*g-3*b+3*c}function by(a,b){var c=[];for(var d=0,e=a.length;e-2*!b>d;d+=2){var f=[{x:+a[d-2],y:+a[d-1]},{x:+a[d],y:+a[d+1]},{x:+a[d+2],y:+a[d+3]},{x:+a[d+4],y:+a[d+5]}];b?d?e-4==d?f[3]={x:+a[0],y:+a[1]}:e-2==d&&(f[2]={x:+a[0],y:+a[1]},f[3]={x:+a[2],y:+a[3]}):f[0]={x:+a[e-2],y:+a[e-1]}:e-4==d?f[3]=f[2]:d||(f[0]={x:+a[d],y:+a[d+1]}),c.push(["C",(-f[0].x+6*f[1].x+f[2].x)/6,(-f[0].y+6*f[1].y+f[2].y)/6,(f[1].x+6*f[2].x-f[3].x)/6,(f[1].y+6*f[2].y-f[3].y)/6,f[2].x,f[2].y])}return c}function bx(){return this.hex}function bv(a,b,c){function d(){var e=Array.prototype.slice.call(arguments,0),f=e.join("␀"),h=d.cache=d.cache||{},i=d.count=d.count||[];if(h[g](f)){bu(i,f);return c?c(h[f]):h[f]}i.length>=1e3&&delete h[i.shift()],i.push(f),h[f]=a[m](b,e);return c?c(h[f]):h[f]}return d}function bu(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return a.push(a.splice(c,1)[0])}function bm(a){if(Object(a)!==a)return a;var b=new a.constructor;for(var c in a)a[g](c)&&(b[c]=bm(a[c]));return b}function a(c){if(a.is(c,"function"))return b?c():eve.on("raphael.DOMload",c);if(a.is(c,E))return a._engine.create[m](a,c.splice(0,3+a.is(c[0],C))).add(c);var d=Array.prototype.slice.call(arguments,0);if(a.is(d[d.length-1],"function")){var e=d.pop();return b?e.call(a._engine.create[m](a,d)):eve.on("raphael.DOMload",function(){e.call(a._engine.create[m](a,d))})}return a._engine.create[m](a,arguments)}a.version="2.1.0",a.eve=eve;var b,c=/[, ]+/,d={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},e=/\{(\d+)\}/g,f="prototype",g="hasOwnProperty",h={doc:document,win:window},i={was:Object.prototype[g].call(h.win,"Raphael"),is:h.win.Raphael},j=function(){this.ca=this.customAttributes={}},k,l="appendChild",m="apply",n="concat",o="createTouch"in h.doc,p="",q=" ",r=String,s="split",t="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[s](q),u={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},v=r.prototype.toLowerCase,w=Math,x=w.max,y=w.min,z=w.abs,A=w.pow,B=w.PI,C="number",D="string",E="array",F="toString",G="fill",H=Object.prototype.toString,I={},J="push",K=a._ISURL=/^url\(['"]?([^\)]+?)['"]?\)$/i,L=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i,M={NaN:1,Infinity:1,"-Infinity":1}
1768,N=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,O=w.round,P="setAttribute",Q=parseFloat,R=parseInt,S=r.prototype.toUpperCase,T=a._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0},U=a._availableAnimAttrs={blur:C,"clip-rect":"csv",cx:C,cy:C,fill:"colour","fill-opacity":C,"font-size":C,height:C,opacity:C,path:"path",r:C,rx:C,ry:C,stroke:"colour","stroke-opacity":C,"stroke-width":C,transform:"transform",width:C,x:C,y:C},V=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]/g,W=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,X={hs:1,rg:1},Y=/,?([achlmqrstvxz]),?/gi,Z=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/ig,$=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/ig,_=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/ig,ba=a._radial_gradient=/^r(?:\(([^,]+?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*([^\)]+?)\))?/,bb={},bc=function(a,b){return a.key-b.key},bd=function(a,b){return Q(a)-Q(b)},be=function(){},bf=function(a){return a},bg=a._rectPath=function(a,b,c,d,e){if(e)return[["M",a+e,b],["l",c-e*2,0],["a",e,e,0,0,1,e,e],["l",0,d-e*2],["a",e,e,0,0,1,-e,e],["l",e*2-c,0],["a",e,e,0,0,1,-e,-e],["l",0,e*2-d],["a",e,e,0,0,1,e,-e],["z"]];return[["M",a,b],["l",c,0],["l",0,d],["l",-c,0],["z"]]},bh=function(a,b,c,d){d==null&&(d=c);return[["M",a,b],["m",0,-d],["a",c,d,0,1,1,0,2*d],["a",c,d,0,1,1,0,-2*d],["z"]]},bi=a._getPath={path:function(a){return a.attr("path")},circle:function(a){var b=a.attrs;return bh(b.cx,b.cy,b.r)},ellipse:function(a){var b=a.attrs;return bh(b.cx,b.cy,b.rx,b.ry)},rect:function(a){var b=a.attrs;return bg(b.x,b.y,b.width,b.height,b.r)},image:function(a){var b=a.attrs;return bg(b.x,b.y,b.width,b.height)},text:function(a){var b=a._getBBox();return bg(b.x,b.y,b.width,b.height)}},bj=a.mapPath=function(a,b){if(!b)return a;var c,d,e,f,g,h,i;a=bR(a);for(e=0,g=a.length;e<g;e++){i=a[e];for(f=1,h=i.length;f<h;f+=2)c=b.x(i[f],i[f+1]),d=b.y(i[f],i[f+1]),i[f]=c,i[f+1]=d}return a};a._g=h,a.type=h.win.SVGAngle||h.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML";if(a.type=="VML"){var bk=h.doc.createElement("div"),bl;bk.innerHTML='<v:shape adj="1"/>',bl=bk.firstChild,bl.style.behavior="url(#default#VML)";if(!bl||typeof bl.adj!="object")return a.type=p;bk=null}a.svg=!(a.vml=a.type=="VML"),a._Paper=j,a.fn=k=j.prototype=a.prototype,a._id=0,a._oid=0,a.is=function(a,b){b=v.call(b);if(b=="finite")return!M[g](+a);if(b=="array")return a instanceof Array;return b=="null"&&a===null||b==typeof a&&a!==null||b=="object"&&a===Object(a)||b=="array"&&Array.isArray&&Array.isArray(a)||H.call(a).slice(8,-1).toLowerCase()==b},a.angle=function(b,c,d,e,f,g){if(f==null){var h=b-d,i=c-e;if(!h&&!i)return 0;return(180+w.atan2(-i,-h)*180/B+360)%360}return a.angle(b,c,f,g)-a.angle(d,e,f,g)},a.rad=function(a){return a%360*B/180},a.deg=function(a){return a*180/B%360},a.snapTo=function(b,c,d){d=a.is(d,"finite")?d:10;if(a.is(b,E)){var e=b.length;while(e--)if(z(b[e]-c)<=d)return b[e]}else{b=+b;var f=c%b;if(f<d)return c-f;if(f>b-d)return c-f+b}return c};var bn=a.createUUID=function(a,b){return function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(a,b).toUpperCase()}}(/[xy]/g,function(a){var b=w.random()*16|0,c=a=="x"?b:b&3|8;return c.toString(16)});a.setWindow=function(b){eve("raphael.setWindow",a,h.win,b),h.win=b,h.doc=h.win.document,a._engine.initWin&&a._engine.initWin(h.win)};var bo=function(b){if(a.vml){var c=/^\s+|\s+$/g,d;try{var e=new ActiveXObject("htmlfile");e.write("<body>"),e.close(),d=e.body}catch(f){d=createPopup().document.body}var g=d.createTextRange();bo=bv(function(a){try{d.style.color=r(a).replace(c,p);var b=g.queryCommandValue("ForeColor");b=(b&255)<<16|b&65280|(b&16711680)>>>16;return"#"+("000000"+b.toString(16)).slice(-6)}catch(e){return"none"}})}else{var i=h.doc.createElement("i");i.title="Raphaël Colour Picker",i.style.display="none",h.doc.body.appendChild(i),bo=bv(function(a){i.style.color=a;return h.doc.defaultView.getComputedStyle(i,p).getPropertyValue("color")})}return bo(b)},bp=function(){return"hsb("+[this.h,this.s,this.b]+")"},bq=function(){return"hsl("+[this.h,this.s,this.l]+")"},br=function(){return this.hex},bs=function(b,c,d){c==null&&a.is(b,"object")&&"r"in b&&"g"in b&&"b"in b&&(d=b.b,c=b.g,b=b.r);if(c==null&&a.is(b,D)){var e=a.getRGB(b);b=e.r,c=e.g,d=e.b}if(b>1||c>1||d>1)b/=255,c/=255,d/=255;return[b,c,d]},bt=function(b,c,d,e){b*=255,c*=255,d*=255;var f={r:b,g:c,b:d,hex:a.rgb(b,c,d),toString:br};a.is(e,"finite")&&(f.opacity=e);return f};a.color=function(b){var c;a.is(b,"object")&&"h"in b&&"s"in b&&"b"in b?(c=a.hsb2rgb(b),b.r=c.r,b.g=c.g,b.b=c.b,b.hex=c.hex):a.is(b,"object")&&"h"in b&&"s"in b&&"l"in b?(c=a.hsl2rgb(b),b.r=c.r,b.g=c.g,b.b=c.b,b.hex=c.hex):(a.is(b,"string")&&(b=a.getRGB(b)),a.is(b,"object")&&"r"in b&&"g"in b&&"b"in b?(c=a.rgb2hsl(b),b.h=c.h,b.s=c.s,b.l=c.l,c=a.rgb2hsb(b),b.v=c.b):(b={hex:"none"},b.r=b.g=b.b=b.h=b.s=b.v=b.l=-1)),b.toString=br;return b},a.hsb2rgb=function(a,b,c,d){this.is(a,"object")&&"h"in a&&"s"in a&&"b"in a&&(c=a.b,b=a.s,a=a.h,d=a.o),a*=360;var e,f,g,h,i;a=a%360/60,i=c*b,h=i*(1-z(a%2-1)),e=f=g=c-i,a=~~a,e+=[i,h,0,0,h,i][a],f+=[h,i,i,h,0,0][a],g+=[0,0,h,i,i,h][a];return bt(e,f,g,d)},a.hsl2rgb=function(a,b,c,d){this.is(a,"object")&&"h"in a&&"s"in a&&"l"in a&&(c=a.l,b=a.s,a=a.h);if(a>1||b>1||c>1)a/=360,b/=100,c/=100;a*=360;var e,f,g,h,i;a=a%360/60,i=2*b*(c<.5?c:1-c),h=i*(1-z(a%2-1)),e=f=g=c-i/2,a=~~a,e+=[i,h,0,0,h,i][a],f+=[h,i,i,h,0,0][a],g+=[0,0,h,i,i,h][a];return bt(e,f,g,d)},a.rgb2hsb=function(a,b,c){c=bs(a,b,c),a=c[0],b=c[1],c=c[2];var d,e,f,g;f=x(a,b,c),g=f-y(a,b,c),d=g==0?null:f==a?(b-c)/g:f==b?(c-a)/g+2:(a-b)/g+4,d=(d+360)%6*60/360,e=g==0?0:g/f;return{h:d,s:e,b:f,toString:bp}},a.rgb2hsl=function(a,b,c){c=bs(a,b,c),a=c[0],b=c[1],c=c[2];var d,e,f,g,h,i;g=x(a,b,c),h=y(a,b,c),i=g-h,d=i==0?null:g==a?(b-c)/i:g==b?(c-a)/i+2:(a-b)/i+4,d=(d+360)%6*60/360,f=(g+h)/2,e=i==0?0:f<.5?i/(2*f):i/(2-2*f);return{h:d,s:e,l:f,toString:bq}},a._path2string=function(){return this.join(",").replace(Y,"$1")}
1768;var bw=a._preload=function(a,b){var c=h.doc.createElement("img");c.style.cssText="position:absolute;left:-9999em;top:-9999em",c.onload=function(){b.call(this),this.onload=null,h.doc.body.removeChild(this)},c.onerror=function(){h.doc.body.removeChild(this)},h.doc.body.appendChild(c),c.src=a};a.getRGB=bv(function(b){if(!b||!!((b=r(b)).indexOf("-")+1))return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:bx};if(b=="none")return{r:-1,g:-1,b:-1,hex:"none",toString:bx};!X[g](b.toLowerCase().substring(0,2))&&b.charAt()!="#"&&(b=bo(b));var c,d,e,f,h,i,j,k=b.match(L);if(k){k[2]&&(f=R(k[2].substring(5),16),e=R(k[2].substring(3,5),16),d=R(k[2].substring(1,3),16)),k[3]&&(f=R((i=k[3].charAt(3))+i,16),e=R((i=k[3].charAt(2))+i,16),d=R((i=k[3].charAt(1))+i,16)),k[4]&&(j=k[4][s](W),d=Q(j[0]),j[0].slice(-1)=="%"&&(d*=2.55),e=Q(j[1]),j[1].slice(-1)=="%"&&(e*=2.55),f=Q(j[2]),j[2].slice(-1)=="%"&&(f*=2.55),k[1].toLowerCase().slice(0,4)=="rgba"&&(h=Q(j[3])),j[3]&&j[3].slice(-1)=="%"&&(h/=100));if(k[5]){j=k[5][s](W),d=Q(j[0]),j[0].slice(-1)=="%"&&(d*=2.55),e=Q(j[1]),j[1].slice(-1)=="%"&&(e*=2.55),f=Q(j[2]),j[2].slice(-1)=="%"&&(f*=2.55),(j[0].slice(-3)=="deg"||j[0].slice(-1)=="°")&&(d/=360),k[1].toLowerCase().slice(0,4)=="hsba"&&(h=Q(j[3])),j[3]&&j[3].slice(-1)=="%"&&(h/=100);return a.hsb2rgb(d,e,f,h)}if(k[6]){j=k[6][s](W),d=Q(j[0]),j[0].slice(-1)=="%"&&(d*=2.55),e=Q(j[1]),j[1].slice(-1)=="%"&&(e*=2.55),f=Q(j[2]),j[2].slice(-1)=="%"&&(f*=2.55),(j[0].slice(-3)=="deg"||j[0].slice(-1)=="°")&&(d/=360),k[1].toLowerCase().slice(0,4)=="hsla"&&(h=Q(j[3])),j[3]&&j[3].slice(-1)=="%"&&(h/=100);return a.hsl2rgb(d,e,f,h)}k={r:d,g:e,b:f,toString:bx},k.hex="#"+(16777216|f|e<<8|d<<16).toString(16).slice(1),a.is(h,"finite")&&(k.opacity=h);return k}return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:bx}},a),a.hsb=bv(function(b,c,d){return a.hsb2rgb(b,c,d).hex}),a.hsl=bv(function(b,c,d){return a.hsl2rgb(b,c,d).hex}),a.rgb=bv(function(a,b,c){return"#"+(16777216|c|b<<8|a<<16).toString(16).slice(1)}),a.getColor=function(a){var b=this.getColor.start=this.getColor.start||{h:0,s:1,b:a||.75},c=this.hsb2rgb(b.h,b.s,b.b);b.h+=.075,b.h>1&&(b.h=0,b.s-=.2,b.s<=0&&(this.getColor.start={h:0,s:1,b:b.b}));return c.hex},a.getColor.reset=function(){delete this.start},a.parsePathString=function(b){if(!b)return null;var c=bz(b);if(c.arr)return bJ(c.arr);var d={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},e=[];a.is(b,E)&&a.is(b[0],E)&&(e=bJ(b)),e.length||r(b).replace(Z,function(a,b,c){var f=[],g=b.toLowerCase();c.replace(_,function(a,b){b&&f.push(+b)}),g=="m"&&f.length>2&&(e.push([b][n](f.splice(0,2))),g="l",b=b=="m"?"l":"L");if(g=="r")e.push([b][n](f));else while(f.length>=d[g]){e.push([b][n](f.splice(0,d[g])));if(!d[g])break}}),e.toString=a._path2string,c.arr=bJ(e);return e},a.parseTransformString=bv(function(b){if(!b)return null;var c={r:3,s:4,t:2,m:6},d=[];a.is(b,E)&&a.is(b[0],E)&&(d=bJ(b)),d.length||r(b).replace($,function(a,b,c){var e=[],f=v.call(b);c.replace(_,function(a,b){b&&e.push(+b)}),d.push([b][n](e))}),d.toString=a._path2string;return d});var bz=function(a){var b=bz.ps=bz.ps||{};b[a]?b[a].sleep=100:b[a]={sleep:100},setTimeout(function(){for(var c in b)b[g](c)&&c!=a&&(b[c].sleep--,!b[c].sleep&&delete b[c])});return b[a]};a.findDotsAtSegment=function(a,b,c,d,e,f,g,h,i){var j=1-i,k=A(j,3),l=A(j,2),m=i*i,n=m*i,o=k*a+l*3*i*c+j*3*i*i*e+n*g,p=k*b+l*3*i*d+j*3*i*i*f+n*h,q=a+2*i*(c-a)+m*(e-2*c+a),r=b+2*i*(d-b)+m*(f-2*d+b),s=c+2*i*(e-c)+m*(g-2*e+c),t=d+2*i*(f-d)+m*(h-2*f+d),u=j*a+i*c,v=j*b+i*d,x=j*e+i*g,y=j*f+i*h,z=90-w.atan2(q-s,r-t)*180/B;(q>s||r<t)&&(z+=180);return{x:o,y:p,m:{x:q,y:r},n:{x:s,y:t},start:{x:u,y:v},end:{x:x,y:y},alpha:z}},a.bezierBBox=function(b,c,d,e,f,g,h,i){a.is(b,"array")||(b=[b,c,d,e,f,g,h,i]);var j=bQ.apply(null,b);return{x:j.min.x,y:j.min.y,x2:j.max.x,y2:j.max.y,width:j.max.x-j.min.x,height:j.max.y-j.min.y}},a.isPointInsideBBox=function(a,b,c){return b>=a.x&&b<=a.x2&&c>=a.y&&c<=a.y2},a.isBBoxIntersect=function(b,c){var d=a.isPointInsideBBox;return d(c,b.x,b.y)||d(c,b.x2,b.y)||d(c,b.x,b.y2)||d(c,b.x2,b.y2)||d(b,c.x,c.y)||d(b,c.x2,c.y)||d(b,c.x,c.y2)||d(b,c.x2,c.y2)||(b.x<c.x2&&b.x>c.x||c.x<b.x2&&c.x>b.x)&&(b.y<c.y2&&b.y>c.y||c.y<b.y2&&c.y>b.y)},a.pathIntersection=function(a,b){return bH(a,b)},a.pathIntersectionNumber=function(a,b){return bH(a,b,1)},a.isPointInsidePath=function(b,c,d){var e=a.pathBBox(b);return a.isPointInsideBBox(e,c,d)&&bH(b,[["M",c,d],["H",e.x2+10]],1)%2==1},a._removedFactory=function(a){return function(){eve("raphael.log",null,"Raphaël: you are calling to method “"+a+"” of removed object",a)}};var bI=a.pathBBox=function(a){var b=bz(a);if(b.bbox)return b.bbox;if(!a)return{x:0,y:0,width:0,height:0,x2:0,y2:0};a=bR(a);var c=0,d=0,e=[],f=[],g;for(var h=0,i=a.length;h<i;h++){g=a[h];if(g[0]=="M")c=g[1],d=g[2],e.push(c),f.push(d);else{var j=bQ(c,d,g[1],g[2],g[3],g[4],g[5],g[6]);e=e[n](j.min.x,j.max.x),f=f[n](j.min.y,j.max.y),c=g[5],d=g[6]}}var k=y[m](0,e),l=y[m](0,f),o=x[m](0,e),p=x[m](0,f),q={x:k,y:l,x2:o,y2:p,width:o-k,height:p-l};b.bbox=bm(q);return q},bJ=function(b){var c=bm(b);c.toString=a._path2string;return c},bK=a._pathToRelative=function(b){var c=bz(b);if(c.rel)return bJ(c.rel);if(!a.is(b,E)||!a.is(b&&b[0],E))b=a.parsePathString(b);var d=[],e=0,f=0,g=0,h=0,i=0;b[0][0]=="M"&&(e=b[0][1],f=b[0][2],g=e,h=f,i++,d.push(["M",e,f]));for(var j=i,k=b.length;j<k;j++){var l=d[j]=[],m=b[j];if(m[0]!=v.call(m[0])){l[0]=v.call(m[0]);switch(l[0]){case"a":l[1]=m[1],l[2]=m[2],l[3]=m[3],l[4]=m[4],l[5]=m[5],l[6]=+(m[6]-e).toFixed(3),l[7]=+(m[7]-f).toFixed(3);break;case"v":l[1]=+(m[1]-f).toFixed(3);break;case"m":g=m[1],h=m[2];default:for(var n=1,o=m.length;n<o;n++)l[n]=+(m[n]-(n%2?e:f)).toFixed(3)}}else{l=d[j]=[],m[0]=="m"&&(g=m[1]+e,h=m[2]+f);for(var p=0,q=m.length;p<q;p++)d[j][p]=m[p]}var r=d[j].length;switch(d[j][0]){case"z":e=g,f=h;break;case"h":e+=+d[j][r-1];break;case"v":f+=+d[j][r-1];break;default:e+=+d[j][r-2],f+=+d[j][r-1]}}d.toString=a._path2string,c.rel=bJ(d);return d},bL=a._pathToAbsolute=function(b){var c=bz(b);if(c.abs)return bJ(c.abs);if(!a.is(b,E)||!a.is(b&&b[0],E))b=a.parsePathString(b);if(!b||!b.length)return[["M",0,0]];var d=[],e=0,f=0,g=0,h=0,i=0;b[0][0]=="M"&&(e=+b[0][1],f=+b[0][2],g=e,h=f,i++,d[0]=["M",e,f]);var j=b.length==3&&b[0][0]=="M"&&b[1][0].toUpperCase()=="R"&&b[2][0].toUpperCase()=="Z";for(var k,l,m=i,o=b.length;m<o;m++){d.push(k=[]),l=b[m];
1768if(l[0]!=S.call(l[0])){k[0]=S.call(l[0]);switch(k[0]){case"A":k[1]=l[1],k[2]=l[2],k[3]=l[3],k[4]=l[4],k[5]=l[5],k[6]=+(l[6]+e),k[7]=+(l[7]+f);break;case"V":k[1]=+l[1]+f;break;case"H":k[1]=+l[1]+e;break;case"R":var p=[e,f][n](l.slice(1));for(var q=2,r=p.length;q<r;q++)p[q]=+p[q]+e,p[++q]=+p[q]+f;d.pop(),d=d[n](by(p,j));break;case"M":g=+l[1]+e,h=+l[2]+f;default:for(q=1,r=l.length;q<r;q++)k[q]=+l[q]+(q%2?e:f)}}else if(l[0]=="R")p=[e,f][n](l.slice(1)),d.pop(),d=d[n](by(p,j)),k=["R"][n](l.slice(-2));else for(var s=0,t=l.length;s<t;s++)k[s]=l[s];switch(k[0]){case"Z":e=g,f=h;break;case"H":e=k[1];break;case"V":f=k[1];break;case"M":g=k[k.length-2],h=k[k.length-1];default:e=k[k.length-2],f=k[k.length-1]}}d.toString=a._path2string,c.abs=bJ(d);return d},bM=function(a,b,c,d){return[a,b,c,d,c,d]},bN=function(a,b,c,d,e,f){var g=1/3,h=2/3;return[g*a+h*c,g*b+h*d,g*e+h*c,g*f+h*d,e,f]},bO=function(a,b,c,d,e,f,g,h,i,j){var k=B*120/180,l=B/180*(+e||0),m=[],o,p=bv(function(a,b,c){var d=a*w.cos(c)-b*w.sin(c),e=a*w.sin(c)+b*w.cos(c);return{x:d,y:e}});if(!j){o=p(a,b,-l),a=o.x,b=o.y,o=p(h,i,-l),h=o.x,i=o.y;var q=w.cos(B/180*e),r=w.sin(B/180*e),t=(a-h)/2,u=(b-i)/2,v=t*t/(c*c)+u*u/(d*d);v>1&&(v=w.sqrt(v),c=v*c,d=v*d);var x=c*c,y=d*d,A=(f==g?-1:1)*w.sqrt(z((x*y-x*u*u-y*t*t)/(x*u*u+y*t*t))),C=A*c*u/d+(a+h)/2,D=A*-d*t/c+(b+i)/2,E=w.asin(((b-D)/d).toFixed(9)),F=w.asin(((i-D)/d).toFixed(9));E=a<C?B-E:E,F=h<C?B-F:F,E<0&&(E=B*2+E),F<0&&(F=B*2+F),g&&E>F&&(E=E-B*2),!g&&F>E&&(F=F-B*2)}else E=j[0],F=j[1],C=j[2],D=j[3];var G=F-E;if(z(G)>k){var H=F,I=h,J=i;F=E+k*(g&&F>E?1:-1),h=C+c*w.cos(F),i=D+d*w.sin(F),m=bO(h,i,c,d,e,0,g,I,J,[F,H,C,D])}G=F-E;var K=w.cos(E),L=w.sin(E),M=w.cos(F),N=w.sin(F),O=w.tan(G/4),P=4/3*c*O,Q=4/3*d*O,R=[a,b],S=[a+P*L,b-Q*K],T=[h+P*N,i-Q*M],U=[h,i];S[0]=2*R[0]-S[0],S[1]=2*R[1]-S[1];if(j)return[S,T,U][n](m);m=[S,T,U][n](m).join()[s](",");var V=[];for(var W=0,X=m.length;W<X;W++)V[W]=W%2?p(m[W-1],m[W],l).y:p(m[W],m[W+1],l).x;return V},bP=function(a,b,c,d,e,f,g,h,i){var j=1-i;return{x:A(j,3)*a+A(j,2)*3*i*c+j*3*i*i*e+A(i,3)*g,y:A(j,3)*b+A(j,2)*3*i*d+j*3*i*i*f+A(i,3)*h}},bQ=bv(function(a,b,c,d,e,f,g,h){var i=e-2*c+a-(g-2*e+c),j=2*(c-a)-2*(e-c),k=a-c,l=(-j+w.sqrt(j*j-4*i*k))/2/i,n=(-j-w.sqrt(j*j-4*i*k))/2/i,o=[b,h],p=[a,g],q;z(l)>"1e12"&&(l=.5),z(n)>"1e12"&&(n=.5),l>0&&l<1&&(q=bP(a,b,c,d,e,f,g,h,l),p.push(q.x),o.push(q.y)),n>0&&n<1&&(q=bP(a,b,c,d,e,f,g,h,n),p.push(q.x),o.push(q.y)),i=f-2*d+b-(h-2*f+d),j=2*(d-b)-2*(f-d),k=b-d,l=(-j+w.sqrt(j*j-4*i*k))/2/i,n=(-j-w.sqrt(j*j-4*i*k))/2/i,z(l)>"1e12"&&(l=.5),z(n)>"1e12"&&(n=.5),l>0&&l<1&&(q=bP(a,b,c,d,e,f,g,h,l),p.push(q.x),o.push(q.y)),n>0&&n<1&&(q=bP(a,b,c,d,e,f,g,h,n),p.push(q.x),o.push(q.y));return{min:{x:y[m](0,p),y:y[m](0,o)},max:{x:x[m](0,p),y:x[m](0,o)}}}),bR=a._path2curve=bv(function(a,b){var c=!b&&bz(a);if(!b&&c.curve)return bJ(c.curve);var d=bL(a),e=b&&bL(b),f={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},g={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},h=function(a,b){var c,d;if(!a)return["C",b.x,b.y,b.x,b.y,b.x,b.y];!(a[0]in{T:1,Q:1})&&(b.qx=b.qy=null);switch(a[0]){case"M":b.X=a[1],b.Y=a[2];break;case"A":a=["C"][n](bO[m](0,[b.x,b.y][n](a.slice(1))));break;case"S":c=b.x+(b.x-(b.bx||b.x)),d=b.y+(b.y-(b.by||b.y)),a=["C",c,d][n](a.slice(1));break;case"T":b.qx=b.x+(b.x-(b.qx||b.x)),b.qy=b.y+(b.y-(b.qy||b.y)),a=["C"][n](bN(b.x,b.y,b.qx,b.qy,a[1],a[2]));break;case"Q":b.qx=a[1],b.qy=a[2],a=["C"][n](bN(b.x,b.y,a[1],a[2],a[3],a[4]));break;case"L":a=["C"][n](bM(b.x,b.y,a[1],a[2]));break;case"H":a=["C"][n](bM(b.x,b.y,a[1],b.y));break;case"V":a=["C"][n](bM(b.x,b.y,b.x,a[1]));break;case"Z":a=["C"][n](bM(b.x,b.y,b.X,b.Y))}return a},i=function(a,b){if(a[b].length>7){a[b].shift();var c=a[b];while(c.length)a.splice(b++,0,["C"][n](c.splice(0,6)));a.splice(b,1),l=x(d.length,e&&e.length||0)}},j=function(a,b,c,f,g){a&&b&&a[g][0]=="M"&&b[g][0]!="M"&&(b.splice(g,0,["M",f.x,f.y]),c.bx=0,c.by=0,c.x=a[g][1],c.y=a[g][2],l=x(d.length,e&&e.length||0))};for(var k=0,l=x(d.length,e&&e.length||0);k<l;k++){d[k]=h(d[k],f),i(d,k),e&&(e[k]=h(e[k],g)),e&&i(e,k),j(d,e,f,g,k),j(e,d,g,f,k);var o=d[k],p=e&&e[k],q=o.length,r=e&&p.length;f.x=o[q-2],f.y=o[q-1],f.bx=Q(o[q-4])||f.x,f.by=Q(o[q-3])||f.y,g.bx=e&&(Q(p[r-4])||g.x),g.by=e&&(Q(p[r-3])||g.y),g.x=e&&p[r-2],g.y=e&&p[r-1]}e||(c.curve=bJ(d));return e?[d,e]:d},null,bJ),bS=a._parseDots=bv(function(b){var c=[];for(var d=0,e=b.length;d<e;d++){var f={},g=b[d].match(/^([^:]*):?([\d\.]*)/);f.color=a.getRGB(g[1]);if(f.color.error)return null;f.color=f.color.hex,g[2]&&(f.offset=g[2]+"%"),c.push(f)}for(d=1,e=c.length-1;d<e;d++)if(!c[d].offset){var h=Q(c[d-1].offset||0),i=0;for(var j=d+1;j<e;j++)if(c[j].offset){i=c[j].offset;break}i||(i=100,j=e),i=Q(i);var k=(i-h)/(j-d+1);for(;d<j;d++)h+=k,c[d].offset=h+"%"}return c}),bT=a._tear=function(a,b){a==b.top&&(b.top=a.prev),a==b.bottom&&(b.bottom=a.next),a.next&&(a.next.prev=a.prev),a.prev&&(a.prev.next=a.next)},bU=a._tofront=function(a,b){b.top!==a&&(bT(a,b),a.next=null,a.prev=b.top,b.top.next=a,b.top=a)},bV=a._toback=function(a,b){b.bottom!==a&&(bT(a,b),a.next=b.bottom,a.prev=null,b.bottom.prev=a,b.bottom=a)},bW=a._insertafter=function(a,b,c){bT(a,c),b==c.top&&(c.top=a),b.next&&(b.next.prev=a
1768),a.next=b.next,a.prev=b,b.next=a},bX=a._insertbefore=function(a,b,c){bT(a,c),b==c.bottom&&(c.bottom=a),b.prev&&(b.prev.next=a),a.prev=b.prev,b.prev=a,a.next=b},bY=a.toMatrix=function(a,b){var c=bI(a),d={_:{transform:p},getBBox:function(){return c}};b$(d,b);return d.matrix},bZ=a.transformPath=function(a,b){return bj(a,bY(a,b))},b$=a._extractTransform=function(b,c){if(c==null)return b._.transform;c=r(c).replace(/\.{3}|\u2026/g,b._.transform||p);var d=a.parseTransformString(c),e=0,f=0,g=0,h=1,i=1,j=b._,k=new cb;j.transform=d||[];if(d)for(var l=0,m=d.length;l<m;l++){var n=d[l],o=n.length,q=r(n[0]).toLowerCase(),s=n[0]!=q,t=s?k.invert():0,u,v,w,x,y;q=="t"&&o==3?s?(u=t.x(0,0),v=t.y(0,0),w=t.x(n[1],n[2]),x=t.y(n[1],n[2]),k.translate(w-u,x-v)):k.translate(n[1],n[2]):q=="r"?o==2?(y=y||b.getBBox(1),k.rotate(n[1],y.x+y.width/2,y.y+y.height/2),e+=n[1]):o==4&&(s?(w=t.x(n[2],n[3]),x=t.y(n[2],n[3]),k.rotate(n[1],w,x)):k.rotate(n[1],n[2],n[3]),e+=n[1]):q=="s"?o==2||o==3?(y=y||b.getBBox(1),k.scale(n[1],n[o-1],y.x+y.width/2,y.y+y.height/2),h*=n[1],i*=n[o-1]):o==5&&(s?(w=t.x(n[3],n[4]),x=t.y(n[3],n[4]),k.scale(n[1],n[2],w,x)):k.scale(n[1],n[2],n[3],n[4]),h*=n[1],i*=n[2]):q=="m"&&o==7&&k.add(n[1],n[2],n[3],n[4],n[5],n[6]),j.dirtyT=1,b.matrix=k}b.matrix=k,j.sx=h,j.sy=i,j.deg=e,j.dx=f=k.e,j.dy=g=k.f,h==1&&i==1&&!e&&j.bbox?(j.bbox.x+=+f,j.bbox.y+=+g):j.dirtyT=1},b_=function(a){var b=a[0];switch(b.toLowerCase()){case"t":return[b,0,0];case"m":return[b,1,0,0,1,0,0];case"r":return a.length==4?[b,0,a[2],a[3]]:[b,0];case"s":return a.length==5?[b,1,1,a[3],a[4]]:a.length==3?[b,1,1]:[b,1]}}
1768,ca=a._equaliseTransform=function(b,c){c=r(c).replace(/\.{3}|\u2026/g,b),b=a.parseTransformString(b)||[],c=a.parseTransformString(c)||[];var d=x(b.length,c.length),e=[],f=[],g=0,h,i,j,k;for(;g<d;g++){j=b[g]||b_(c[g]),k=c[g]||b_(j);if(j[0]!=k[0]||j[0].toLowerCase()=="r"&&(j[2]!=k[2]||j[3]!=k[3])||j[0].toLowerCase()=="s"&&(j[3]!=k[3]||j[4]!=k[4]))return;e[g]=[],f[g]=[];for(h=0,i=x(j.length,k.length);h<i;h++)h in j&&(e[g][h]=j[h]),h in k&&(f[g][h]=k[h])}return{from:e,to:f}};a._getContainer=function(b,c,d,e){var f;f=e==null&&!a.is(b,"object")?h.doc.getElementById(b):b;if(f!=null){if(f.tagName)return c==null?{container:f,width:f.style.pixelWidth||f.offsetWidth,height:f.style.pixelHeight||f.offsetHeight}:{container:f,width:c,height:d};return{container:1,x:b,y:c,width:d,height:e}}},a.pathToRelative=bK,a._engine={},a.path2curve=bR,a.matrix=function(a,b,c,d,e,f){return new cb(a,b,c,d,e,f)},function(b){function d(a){var b=w.sqrt(c(a));a[0]&&(a[0]/=b),a[1]&&(a[1]/=b)}function c(a){return a[0]*a[0]+a[1]*a[1]}b.add=function(a,b,c,d,e,f){var g=[[],[],[]],h=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],i=[[a,c,e],[b,d,f],[0,0,1]],j,k,l,m;a&&a instanceof cb&&(i=[[a.a,a.c,a.e],[a.b,a.d,a.f],[0,0,1]]);for(j=0;j<3;j++)for(k=0;k<3;k++){m=0;for(l=0;l<3;l++)m+=h[j][l]*i[l][k];g[j][k]=m}this.a=g[0][0],this.b=g[1][0],this.c=g[0][1],this.d=g[1][1],this.e=g[0][2],this.f=g[1][2]},b.invert=function(){var a=this,b=a.a*a.d-a.b*a.c;return new cb(a.d/b,-a.b/b,-a.c/b,a.a/b,(a.c*a.f-a.d*a.e)/b,(a.b*a.e-a.a*a.f)/b)},b.clone=function(){return new cb(this.a,this.b,this.c,this.d,this.e,this.f)},b.translate=function(a,b){this.add(1,0,0,1,a,b)},b.scale=function(a,b,c,d){b==null&&(b=a),(c||d)&&this.add(1,0,0,1,c,d),this.add(a,0,0,b,0,0),(c||d)&&this.add(1,0,0,1,-c,-d)},b.rotate=function(b,c,d){b=a.rad(b),c=c||0,d=d||0;var e=+w.cos(b).toFixed(9),f=+w.sin(b).toFixed(9);this.add(e,f,-f,e,c,d),this.add(1,0,0,1,-c,-d)},b.x=function(a,b){return a*this.a+b*this.c+this.e},b.y=function(a,b){return a*this.b+b*this.d+this.f},b.get=function(a){return+this[r.fromCharCode(97+a)].toFixed(4)},b.toString=function(){return a.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()},b.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"},b.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},b.split=function(){var b={};b.dx=this.e,b.dy=this.f;var e=[[this.a,this.c],[this.b,this.d]];b.scalex=w.sqrt(c(e[0])),d(e[0]),b.shear=e[0][0]*e[1][0]+e[0][1]*e[1][1],e[1]=[e[1][0]-e[0][0]*b.shear,e[1][1]-e[0][1]*b.shear],b.scaley=w.sqrt(c(e[1])),d(e[1]),b.shear/=b.scaley;var f=-e[0][1],g=e[1][1];g<0?(b.rotate=a.deg(w.acos(g)),f<0&&(b.rotate=360-b.rotate)):b.rotate=a.deg(w.asin(f)),b.isSimple=!+b.shear.toFixed(9)&&(b.scalex.toFixed(9)==b.scaley.toFixed(9)||!b.rotate),b.isSuperSimple=!+b.shear.toFixed(9)&&b.scalex.toFixed(9)==b.scaley.toFixed(9)&&!b.rotate,b.noRotation=!+b.shear.toFixed(9)&&!b.rotate;return b},b.toTransformString=function(a){var b=a||this[s]();if(b.isSimple){b.scalex=+b.scalex.toFixed(4),b.scaley=+b.scaley.toFixed(4),b.rotate=+b.rotate.toFixed(4);return(b.dx||b.dy?"t"+[b.dx,b.dy]:p)+(b.scalex!=1||b.scaley!=1?"s"+[b.scalex,b.scaley,0,0]:p)+(b.rotate?"r"+[b.rotate,0,0]:p)}return"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(cb.prototype);var cc=navigator.userAgent.match(/Version\/(.*?)\s/)||navigator.userAgent.match(/Chrome\/(\d+)/);navigator.vendor=="Apple Computer, Inc."&&(cc&&cc[1]<4||navigator.platform.slice(0,2)=="iP")||navigator.vendor=="Google Inc."&&cc&&cc[1]<8?k.safari=function(){var a=this.rect(-99,-99,this.width+99,this.height+99).attr({stroke:"none"});setTimeout(function(){a.remove()})}:k.safari=be;var cd=function(){this.returnValue=!1},ce=function(){return this.originalEvent.preventDefault()},cf=function(){this.cancelBubble=!0},cg=function(){return this.originalEvent.stopPropagation()},ch=function(){if(h.doc.addEventListener)return function(a,b,c,d){var e=o&&u[b]?u[b]:b,f=function(e){var f=h.doc.documentElement.scrollTop||h.doc.body.scrollTop,i=h.doc.documentElement.scrollLeft||h.doc.body.scrollLeft,j=e.clientX+i,k=e.clientY+f;if(o&&u[g](b))for(var l=0,m=e.targetTouches&&e.targetTouches.length;l<m;l++)if(e.targetTouches[l].target==a){var n=e;e=e.targetTouches[l],e.originalEvent=n,e.preventDefault=ce,e.stopPropagation=cg;break}return c.call(d,e,j,k)};a.addEventListener(e,f,!1);return function(){a.removeEventListener(e,f,!1);return!0}};if(h.doc.attachEvent)return function(a,b,c,d){var e=function(a){a=a||h.win.event;var b=h.doc.documentElement.scrollTop||h.doc.body.scrollTop,e=h.doc.documentElement.scrollLeft||h.doc.body.scrollLeft,f=a.clientX+e,g=a.clientY+b;a.preventDefault=a.preventDefault||cd,a.stopPropagation=a.stopPropagation||cf;return c.call(d,a,f,g)};a.attachEvent("on"+b,e);var f=function(){a.detachEvent("on"+b,e);return!0};return f}}
1768(),ci=[],cj=function(a){var b=a.clientX,c=a.clientY,d=h.doc.documentElement.scrollTop||h.doc.body.scrollTop,e=h.doc.documentElement.scrollLeft||h.doc.body.scrollLeft,f,g=ci.length;while(g--){f=ci[g];if(o){var i=a.touches.length,j;while(i--){j=a.touches[i];if(j.identifier==f.el._drag.id){b=j.clientX,c=j.clientY,(a.originalEvent?a.originalEvent:a).preventDefault();break}}}else a.preventDefault();var k=f.el.node,l,m=k.nextSibling,n=k.parentNode,p=k.style.display;h.win.opera&&n.removeChild(k),k.style.display="none",l=f.el.paper.getElementByPoint(b,c),k.style.display=p,h.win.opera&&(m?n.insertBefore(k,m):n.appendChild(k)),l&&eve("raphael.drag.over."+f.el.id,f.el,l),b+=e,c+=d,eve("raphael.drag.move."+f.el.id,f.move_scope||f.el,b-f.el._drag.x,c-f.el._drag.y,b,c,a)}},ck=function(b){a.unmousemove(cj).unmouseup(ck);var c=ci.length,d;while(c--)d=ci[c],d.el._drag={},eve("raphael.drag.end."+d.el.id,d.end_scope||d.start_scope||d.move_scope||d.el,b);ci=[]},cl=a.el={};for(var cm=t.length;cm--;)(function(b){a[b]=cl[b]=function(c,d){a.is(c,"function")&&(this.events=this.events||[],this.events.push({name:b,f:c,unbind:ch(this.shape||this.node||h.doc,b,c,d||this)}));return this},a["un"+b]=cl["un"+b]=function(a){var c=this.events||[],d=c.length;while(d--)if(c[d].name==b&&c[d].f==a){c[d].unbind(),c.splice(d,1),!c.length&&delete this.events;return this}return this}})(t[cm]);cl.data=function(b,c){var d=bb[this.id]=bb[this.id]||{};if(arguments.length==1){if(a.is(b,"object")){for(var e in b)b[g](e)&&this.data(e,b[e]);return this}eve("raphael.data.get."+this.id,this,d[b],b);return d[b]}d[b]=c,eve("raphael.data.set."+this.id,this,c,b);return this},cl.removeData=function(a){a==null?bb[this.id]={}:bb[this.id]&&delete bb[this.id][a];return this},cl.hover=function(a,b,c,d){return this.mouseover(a,c).mouseout(b,d||c)},cl.unhover=function(a,b){return this.unmouseover(a).unmouseout(b)};var cn=[];cl.drag=function(b,c,d,e,f,g){function i(i){(i.originalEvent||i).preventDefault();var j=h.doc.documentElement.scrollTop||h.doc.body.scrollTop,k=h.doc.documentElement.scrollLeft||h.doc.body.scrollLeft;this._drag.x=i.clientX+k,this._drag.y=i.clientY+j,this._drag.id=i.identifier,!ci.length&&a.mousemove(cj).mouseup(ck),ci.push({el:this,move_scope:e,start_scope:f,end_scope:g}),c&&eve.on("raphael.drag.start."+this.id,c),b&&eve.on("raphael.drag.move."+this.id,b),d&&eve.on("raphael.drag.end."+this.id,d),eve("raphael.drag.start."+this.id,f||e||this,i.clientX+k,i.clientY+j,i)}this._drag={},cn.push({el:this,start:i}),this.mousedown(i);return this},cl.onDragOver=function(a){a?eve.on("raphael.drag.over."+this.id,a):eve.unbind("raphael.drag.over."+this.id)},cl.undrag=function(){var b=cn.length;while(b--)cn[b].el==this&&(this.unmousedown(cn[b].start),cn.splice(b,1),eve.unbind("raphael.drag.*."+this.id));!cn.length&&a.unmousemove(cj).unmouseup(ck)},k.circle=function(b,c,d){var e=a._engine.circle(this,b||0,c||0,d||0);this.__set__&&this.__set__.push(e);return e},k.rect=function(b,c,d,e,f){var g=a._engine.rect(this,b||0,c||0,d||0,e||0,f||0);this.__set__&&this.__set__.push(g);return g},k.ellipse=function(b,c,d,e){var f=a._engine.ellipse(this,b||0,c||0,d||0,e||0);this.__set__&&this.__set__.push(f);return f},k.path=function(b){b&&!a.is(b,D)&&!a.is(b[0],E)&&(b+=p);var c=a._engine.path(a.format[m](a,arguments),this);this.__set__&&this.__set__.push(c);return c},k.image=function(b,c,d,e,f){var g=a._engine.image(this,b||"about:blank",c||0,d||0,e||0,f||0);this.__set__&&this.__set__.push(g);return g},k.text=function(b,c,d){var e=a._engine.text(this,b||0,c||0,r(d));this.__set__&&this.__set__.push(e);return e},k.set=function(b){!a.is(b,"array")&&(b=Array.prototype.splice.call(arguments,0,arguments.length));var c=new cG(b);this.__set__&&this.__set__.push(c);return c},k.setStart=function(a){this.__set__=a||this.set()},k.setFinish=function(a){var b=this.__set__;delete this.__set__;return b},k.setSize=function(b,c){return a._engine.setSize.call(this,b,c)},k.setViewBox=function(b,c,d,e,f){return a._engine.setViewBox.call(this,b,c,d,e,f)},k.top=k.bottom=null,k.raphael=a;var co=function(a){var b=a.getBoundingClientRect(),c=a.ownerDocument,d=c.body,e=c.documentElement,f=e.clientTop||d.clientTop||0,g=e.clientLeft||d.clientLeft||0,i=b.to
1768p+(h.win.pageYOffset||e.scrollTop||d.scrollTop)-f,j=b.left+(h.win.pageXOffset||e.scrollLeft||d.scrollLeft)-g;return{y:i,x:j}};k.getElementByPoint=function(a,b){var c=this,d=c.canvas,e=h.doc.elementFromPoint(a,b);if(h.win.opera&&e.tagName=="svg"){var f=co(d),g=d.createSVGRect();g.x=a-f.x,g.y=b-f.y,g.width=g.height=1;var i=d.getIntersectionList(g,null);i.length&&(e=i[i.length-1])}if(!e)return null;while(e.parentNode&&e!=d.parentNode&&!e.raphael)e=e.parentNode;e==c.canvas.parentNode&&(e=d),e=e&&e.raphael?c.getById(e.raphaelid):null;return e},k.getById=function(a){var b=this.bottom;while(b){if(b.id==a)return b;b=b.next}return null},k.forEach=function(a,b){var c=this.bottom;while(c){if(a.call(b,c)===!1)return this;c=c.next}return this},k.getElementsByPoint=function(a,b){var c=this.set();this.forEach(function(d){d.isPointInside(a,b)&&c.push(d)});return c},cl.isPointInside=function(b,c){var d=this.realPath=this.realPath||bi[this.type](this);return a.isPointInsidePath(d,b,c)},cl.getBBox=function(a){if(this.removed)return{};var b=this._;if(a){if(b.dirty||!b.bboxwt)this.realPath=bi[this.type](this),b.bboxwt=bI(this.realPath),b.bboxwt.toString=cq,b.dirty=0;return b.bboxwt}if(b.dirty||b.dirtyT||!b.bbox){if(b.dirty||!this.realPath)b.bboxwt=0,this.realPath=bi[this.type](this);b.bbox=bI(bj(this.realPath,this.matrix)),b.bbox.toString=cq,b.dirty=b.dirtyT=0}return b.bbox},cl.clone=function(){if(this.removed)return null;var a=this.paper[this.type]().attr(this.attr());this.__set__&&this.__set__.push(a);return a},cl.glow=function(a){if(this.type=="text")return null;a=a||{};var b={width:(a.width||10)+(+this.attr("stroke-width")||1),fill:a.fill||!1,opacity:a.opacity||.5,offsetx:a.offsetx||0,offsety:a.offsety||0,color:a.color||"#000"},c=b.width/2,d=this.paper,e=d.set(),f=this.realPath||bi[this.type](this);f=this.matrix?bj(f,this.matrix):f;for(var g=1;g<c+1;g++)e.push(d.path(f).attr({stroke:b.color,fill:b.fill?b.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(b.width/c*g).toFixed(3),opacity:+(b.opacity/c).toFixed(3)}));return e.insertBefore(this).translate(b.offsetx,b.offsety)};var cr={},cs=function(b,c,d,e,f,g,h,i,j){return j==null?bB(b,c,d,e,f,g,h,i):a.findDotsAtSegment(b,c,d,e,f,g,h,i,bC(b,c,d,e,f,g,h,i,j))},ct=function(b,c){return function(d,e,f){d=bR(d);var g,h,i,j,k="",l={},m,n=0;for(var o=0,p=d.length;o<p;o++){i=d[o];if(i[0]=="M")g=+i[1],h=+i[2];else{j=cs(g,h,i[1],i[2],i[3],i[4],i[5],i[6]);if(n+j>e){if(c&&!l.start){m=cs(g,h,i[1],i[2],i[3],i[4],i[5],i[6],e-n),k+=["C"+m.start.x,m.start.y,m.m.x,m.m.y,m.x,m.y];if(f)return k;l.start=k,k=["M"+m.x,m.y+"C"+m.n.x,m.n.y,m.end.x,m.end.y,i[5],i[6]].join(),n+=j,g=+i[5],h=+i[6];continue}if(!b&&!c){m=cs(g,h,i[1],i[2],i[3],i[4],i[5],i[6],e-n);return{x:m.x,y:m.y,alpha:m.alpha}}}n+=j,g=+i[5],h=+i[6]}k+=i.shift()+i}l.end=k,m=b?n:c?l:a.findDotsAtSegment(g,h,i[0],i[1],i[2],i[3],i[4],i[5],1),m.alpha&&(m={x:m.x,y:m.y,alpha:m.alpha});return m}},cu=ct(1),cv=ct(),cw=ct(0,1);a.getTotalLength=cu,a.getPointAtLength=cv,a.getSubpath=function(a,b,c){if(this.getTotalLength(a)-c<1e-6)return cw(a,b).end;var d=cw(a,c,1);return b?cw(d,b).end:d},cl.getTotalLength=function(){if(this.type=="path"){if(this.node.getTotalLength)return this.node.getTotalLength();return cu(this.attrs.path)}},cl.getPointAtLength=function(a){if(this.type=="path")return cv(this.attrs.path,a)},cl.getSubpath=function(b,c){if(this.type=="path")return a.getSubpath(this.attrs.path,b,c)};var cx=a.easing_formulas={linear:function(a){return a},"<":function(a){return A(a,1.7)},">":function(a){return A(a,.48)},"<>":function(a){var b=.48-a/1.04,c=w.sqrt(.1734+b*b),d=c-b,e=A(z(d),1/3)*(d<0?-1:1),f=-c-b,g=A(z(f),1/3)*(f<0?-1:1),h=e+g+.5;return(1-h)*3*h*h+h*h*h},backIn:function(a){var b=1.70158;return a*a*((b+1)*a-b)},backOut:function(a){a=a-1;var b=1.70158;return a*a*((b+1)*a+b)+1},elastic:function(a){if(a==!!a)return a;return A(2,-10*a)*w.sin((a-.075)*2*B/.3)+1},bounce:function(a){var b=7.5625,c=2.75,d;a<1/c?d=b*a*a:a<2/c?(a-=1.5/c,d=b*a*a+.75):a<2.5/c?(a-=2.25/c,d=b*a*a+.9375):(a-=2.625/c,d=b*a*a+.984375);return d}};cx.easeIn=cx["ease-in"]=cx["<"],cx.easeOut=cx["ease-out"]=cx[">"],cx.easeInOut=cx["ease-in-out"]=cx["<>"],cx["back-in"]=cx.backIn,cx["back-out"]=cx.backOut;var cy=[],cz=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){setTimeout(a,16)},cA=function(){var b=+(new Date),c=0;for(;c<cy.length;c++){var d=cy[c];if(d.el.removed||d.paused)continue;var e=b-d.start,f=d.ms,h=d.easing,i=d.from,j=d.diff,k=d.to,l=d.t,m=d.el,o={},p,r={},s;d.initstatus?(e=(d.initstatus*d.anim.top-d.prev)/(d.percent-d.prev)*f,d.status=d.initstatus,delete d.initstatus,d.stop&&cy.splice(c--,1)):d.status=(d.prev+(d.percent-d.prev)*(e/f))/d.anim.top;if(e<0)continue;if(e<f){var t=h(e/f);for(var u in i)if(i[g](u)){switch(U[u]){case C:p=+i[u]+t*f*j[u];break;case"colour":p="rgb("+[cB(O(i[u].r+t*f*j[u].r)),cB(O(i[u].g+t*f*j[u].g)),cB(O(i[u].b+t*f*j[u].b))].join(",")+")";break;case"path":p=[];for(var v=0,w=i[u].length;v<w;v++){p[v]=[i[u][v][0]];for(var x=1,y=i[u][v].length;x<y;x++)p[v][x]=+i[u][v][x]+t*f*j[u][v][x];p[v]=p[v].join(q)}p=p.join(q);break;case"transform":if(j[u].real){p=[];for(v=0,w=i[u].length;v<w;v++){p[v]=[i[u][v][0]];for(x=1,y=i[u][v].length;x<y;x++)p[v][x]=i[u][v][x]+t*f*j[u][v][x]}}else{var z=function(a){return+i[u][a]+t*f*j[u][a]};p=[["m",z(0),z(1),z(2),z(3),z(4),z(5)]]}break;case"csv":if(u=="clip-rect"){p=[],v=4;while(v--)p[v]=+i[u][v]+t*f*j[u][v]}break;default:var A=[][n](i[u]);p=[],v=m.paper.customAttributes[u].length;while(v--)p[v]=+A[v]+t*f*j[u][v]}o[u]=p}m.attr(o),function(a,b,c){setTimeout(function(){eve("raphael.anim.frame."+a,b,c)})}(m.id,m,d.anim)}else{(function(b,c,d){setTimeout(function(){eve("raphael.anim.frame."+c.id,c,d),eve("raphael.anim.finish."+c.id,c,d),a.is(b,"function")&&b.call(c)})})(d.callback,m,d.anim),m.attr(k),cy.splice(c--,1);if(d.repeat>1&&!d.next){for(s in k)k[g](s)&&(r[s]=d.totalOrigin[s]);d.el.attr(r),cE(d.anim,d.el,d.anim.percents[0],null,d.totalOrigin,d.repeat-1)}d.next&&!d.stop&&cE(d.anim,d.el,d.next,null,d.totalOrigin,d.repeat)}}a.svg&&m&&m.paper&&m.paper.safari(),cy.length&&cz(cA)},cB=function(a){return a>255?255:a<0?0:a};cl.animateWith=function(b,c,d,e,f,g){var h=this;if(h.removed){g&&g.call(h);return h}var i=d instanceof cD?d:a.animation(d,e,f,g),j,k;cE(i,h,i.percents[0],null,h.attr());for(var l=0,m=cy.length;l<m;l++)if(cy[l].anim==c&&cy[l].el==b){cy[m-1].start=cy[l].start;break}return h},cl.onAnimation=function(a){a?eve.on("raphael.anim.frame."+this.id,a):eve.unbind("raphael.anim.frame."+this.id
1768);return this},cD.prototype.delay=function(a){var b=new cD(this.anim,this.ms);b.times=this.times,b.del=+a||0;return b},cD.prototype.repeat=function(a){var b=new cD(this.anim,this.ms);b.del=this.del,b.times=w.floor(x(a,0))||1;return b},a.animation=function(b,c,d,e){if(b instanceof cD)return b;if(a.is(d,"function")||!d)e=e||d||null,d=null;b=Object(b),c=+c||0;var f={},h,i;for(i in b)b[g](i)&&Q(i)!=i&&Q(i)+"%"!=i&&(h=!0,f[i]=b[i]);if(!h)return new cD(b,c);d&&(f.easing=d),e&&(f.callback=e);return new cD({100:f},c)},cl.animate=function(b,c,d,e){var f=this;if(f.removed){e&&e.call(f);return f}var g=b instanceof cD?b:a.animation(b,c,d,e);cE(g,f,g.percents[0],null,f.attr());return f},cl.setTime=function(a,b){a&&b!=null&&this.status(a,y(b,a.ms)/a.ms);return this},cl.status=function(a,b){var c=[],d=0,e,f;if(b!=null){cE(a,this,-1,y(b,1));return this}e=cy.length;for(;d<e;d++){f=cy[d];if(f.el.id==this.id&&(!a||f.anim==a)){if(a)return f.status;c.push({anim:f.anim,status:f.status})}}if(a)return 0;return c},cl.pause=function(a){for(var b=0;b<cy.length;b++)cy[b].el.id==this.id&&(!a||cy[b].anim==a)&&eve("raphael.anim.pause."+this.id,this,cy[b].anim)!==!1&&(cy[b].paused=!0);return this},cl.resume=function(a){for(var b=0;b<cy.length;b++)if(cy[b].el.id==this.id&&(!a||cy[b].anim==a)){var c=cy[b];eve("raphael.anim.resume."+this.id,this,c.anim)!==!1&&(delete c.paused,this.status(c.anim,c.status))}return this},cl.stop=function(a){for(var b=0;b<cy.length;b++)cy[b].el.id==this.id&&(!a||cy[b].anim==a)&&eve("raphael.anim.stop."+this.id,this,cy[b].anim)!==!1&&cy.splice(b--,1);return this},eve.on("raphael.remove",cF),eve.on("raphael.clear",cF),cl.toString=function(){return"Raphaël’s object"};var cG=function(a){this.items=[],this.length=0,this.type="set";if(a)for(var b=0,c=a.length;b<c;b++)a[b]&&(a[b].constructor==cl.constructor||a[b].constructor==cG)&&(this[this.items.length]=this.items[this.items.length]=a[b],this.length++)},cH=cG.prototype;cH.push=function(){var a,b;for(var c=0,d=arguments.length;c<d;c++)a=arguments[c],a&&(a.constructor==cl.constructor||a.constructor==cG)&&(b=this.items.length,this[b]=this.items[b]=a,this.length++);return this},cH.pop=function(){this.length&&delete this[this.length--];return this.items.pop()},cH.forEach=function(a,b){for(var c=0,d=this.items.length;c<d;c++)if(a.call(b,this.items[c],c)===!1)return this;return this};for(var cI in cl)cl[g](cI)&&(cH[cI]=function(a){return function(){var b=arguments;return this.forEach(function(c){c[a][m](c,b)})}}(cI));cH.attr=function(b,c){if(b&&a.is(b,E)&&a.is(b[0],"object"))for(var d=0,e=b.length;d<e;d++)this.items[d].attr(b[d]);else for(var f=0,g=this.items.length;f<g;f++)this.items[f].attr(b,c);return this},cH.clear=function(){while(this.length)this.pop()},cH.splice=function(a,b,c){a=a<0?x(this.length+a,0):a,b=x(0,y(this.length-a,b));var d=[],e=[],f=[],g;for(g=2;g<arguments.length;g++)f.push(arguments[g]);for(g=0;g<b;g++)e.push(this[a+g]);for(;g<this.length-a;g++)d.push(this[a+g]);var h=f.length;for(g=0;g<h+d.length;g++)this.items[a+g]=this[a+g]=g<h?f[g]:d[g-h];g=this.items.length=this.length-=b-h;while(this[g])delete this[g++];return new cG(e)},cH.exclude=function(a){for(var b=0,c=this.length;b<c;b++)if(this[b]==a){this.splice(b,1);return!0}}
1768,cH.animate=function(b,c,d,e){(a.is(d,"function")||!d)&&(e=d||null);var f=this.items.length,g=f,h,i=this,j;if(!f)return this;e&&(j=function(){!--f&&e.call(i)}),d=a.is(d,D)?d:j;var k=a.animation(b,c,d,j);h=this.items[--g].animate(k);while(g--)this.items[g]&&!this.items[g].removed&&this.items[g].animateWith(h,k,k);return this},cH.insertAfter=function(a){var b=this.items.length;while(b--)this.items[b].insertAfter(a);return this},cH.getBBox=function(){var a=[],b=[],c=[],d=[];for(var e=this.items.length;e--;)if(!this.items[e].removed){var f=this.items[e].getBBox();a.push(f.x),b.push(f.y),c.push(f.x+f.width),d.push(f.y+f.height)}a=y[m](0,a),b=y[m](0,b),c=x[m](0,c),d=x[m](0,d);return{x:a,y:b,x2:c,y2:d,width:c-a,height:d-b}},cH.clone=function(a){a=new cG;for(var b=0,c=this.items.length;b<c;b++)a.push(this.items[b].clone());return a},cH.toString=function(){return"Raphaël‘s set"},a.registerFont=function(a){if(!a.face)return a;this.fonts=this.fonts||{};var b={w:a.w,face:{},glyphs:{}},c=a.face["font-family"];for(var d in a.face)a.face[g](d)&&(b.face[d]=a.face[d]);this.fonts[c]?this.fonts[c].push(b):this.fonts[c]=[b];if(!a.svg){b.face["units-per-em"]=R(a.face["units-per-em"],10);for(var e in a.glyphs)if(a.glyphs[g](e)){var f=a.glyphs[e];b.glyphs[e]={w:f.w,k:{},d:f.d&&"M"+f.d.replace(/[mlcxtrv]/g,function(a){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[a]||"M"})+"z"};if(f.k)for(var h in f.k)f[g](h)&&(b.glyphs[e].k[h]=f.k[h])}}return a},k.getFont=function(b,c,d,e){e=e||"normal",d=d||"normal",c=+c||{normal:400,bold:700,lighter:300,bolder:800}[c]||400;if(!!a.fonts){var f=a.fonts[b];if(!f){var h=new RegExp("(^|\\s)"+b.replace(/[^\w\d\s+!~.:_-]/g,p)+"(\\s|$)","i");for(var i in a.fonts)if(a.fonts[g](i)&&h.test(i)){f=a.fonts[i];break}}var j;if(f)for(var k=0,l=f.length;k<l;k++){j=f[k];if(j.face["font-weight"]==c&&(j.face["font-style"]==d||!j.face["font-style"])&&j.face["font-stretch"]==e)break}return j}},k.print=function(b,d,e,f,g,h,i){h=h||"middle",i=x(y(i||0,1),-1);var j=r(e)[s](p),k=0,l=0,m=p,n;a.is(f,e)&&(f=this.getFont(f));if(f){n=(g||16)/f.face["units-per-em"];var o=f.face.bbox[s](c),q=+o[0],t=o[3]-o[1],u=0,v=+o[1]+(h=="baseline"?t+ +f.face.descent:t/2);for(var w=0,z=j.length;w<z;w++){if(j[w]=="\n")k=0,B=0,l=0,u+=t;else{var A=l&&f.glyphs[j[w-1]]||{},B=f.glyphs[j[w]];k+=l?(A.w||f.w)+(A.k&&A.k[j[w]]||0)+f.w*i:0,l=1}B&&B.d&&(m+=a.transformPath(B.d,["t",k*n,u*n,"s",n,n,q,v,"t",(b-q)/n,(d-v)/n]))}}return this.path(m).attr({fill:"#000",stroke:"none"})},k.add=function(b){if(a.is(b,"array")){var c=this.set(),e=0,f=b.length,h;for(;e<f;e++)h=b[e]||{},d[g](h.type)&&c.push(this[h.type]().attr(h))}return c},a.format=function(b,c){var d=a.is(c,E)?[0][n](c):arguments;b&&a.is(b,D)&&d.length-1&&(b=b.replace(e,function(a,b){return d[++b]==null?p:d[b]}));return b||p},a.fullfill=function(){var a=/\{([^\}]+)\}/g,b=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,c=function(a,c,d){var e=d;c.replace(b,function(a,b,c,d,f){b=b||d,e&&(b in e&&(e=e[b]),typeof e=="function"&&f&&(e=e()))}),e=(e==null||e==d?a:e)+"";return e};return function(b,d){return String(b).replace(a,function(a,b){return c(a,b,d)})}}(),a.ninja=function(){i.was?h.win.Raphael=i.is:delete Raphael;return a},a.st=cH,function(b,c,d){function e(){/in/.test(b.readyState)?setTimeout(e,9):a.eve("raphael.DOMload")}b.readyState==null&&b.addEventListener&&(b.addEventListener(c,d=function(){b.removeEventListener(c,d,!1),b.readyState="complete"},!1),b.readyState="loading"),e()}(document,"DOMContentLoaded"),i.was?h.win.Raphael=a:Raphael=a,eve.on("raphael.DOMload",function(){b=!0})}(),window.Raphael.svg&&function(a){var b="hasOwnProperty",c=String,d=parseFloat,e=parseInt,f=Math,g=f.max,h=f.abs,i=f.pow,j=/[, ]+/,k=a.eve,l="",m=" ",n="http://www.w3.org/1999/xlink",o={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},p={};a.toString=function(){return"Your browser supports SVG.\nYou are running Raphaël "+this.version};var q=function(d,e){if(e){typeof d=="string"&&(d=q(d));for(var f in e)e[b](f)&&(f.substring(0,6)=="xlink:"?d.setAttributeNS(n,f.substring(6),c(e[f])):d.setAttribute(f,c(e[f])))}else d=a._g.doc.createElementNS("http://www.w3.org/2000/svg",d),d.style&&(d.style.webkitTapHighlightColor="rgba(0,0,0,0)");return d},r=function(b,e){var j="linear",k=b.id+e,m=.5,n=.5,o=b.node,p=b.paper,r=o.style,s=a._g.doc.getElementById(k);if(!s){e=c(e).replace(a._radial_gradient,function(a,b,c){j="radial";if(b&&c){m=d(b),n=d(c);var e=(n>.5)*2-1;i(m-.5,2)+i(n-.5,2)>.25&&(n=f.sqrt(.25-i(m-.5,2))*e+.5)&&n!=.5&&(n=n.toFixed(5)-1e-5*e)}return l}),e=e.split(/\s*\-\s*/);if(j=="linear"){var t=e.shift();t=-d(t);if(isNaN(t))return null;var u=[0,0,f.cos(a.rad(t)),f.sin(a.rad(t))],v=1/(g(h(u[2]),h(u[3]))||1);u[2]*=v,u[3]*=v,u[2]<0&&(u[0]=-u[2],u[2]=0),u[3]<0&&(u[1]=-u[3],u[3]=0)}var w=a._parseDots(e);if(!w)return null;
1768k=k.replace(/[\(\)\s,\xb0#]/g,"_"),b.gradient&&k!=b.gradient.id&&(p.defs.removeChild(b.gradient),delete b.gradient);if(!b.gradient){s=q(j+"Gradient",{id:k}),b.gradient=s,q(s,j=="radial"?{fx:m,fy:n}:{x1:u[0],y1:u[1],x2:u[2],y2:u[3],gradientTransform:b.matrix.invert()}),p.defs.appendChild(s);for(var x=0,y=w.length;x<y;x++)s.appendChild(q("stop",{offset:w[x].offset?w[x].offset:x?"100%":"0%","stop-color":w[x].color||"#fff"}))}}q(o,{fill:"url(#"+k+")",opacity:1,"fill-opacity":1}),r.fill=l,r.opacity=1,r.fillOpacity=1;return 1},s=function(a){var b=a.getBBox(1);q(a.pattern,{patternTransform:a.matrix.invert()+" translate("+b.x+","+b.y+")"})},t=function(d,e,f){if(d.type=="path"){var g=c(e).toLowerCase().split("-"),h=d.paper,i=f?"end":"start",j=d.node,k=d.attrs,m=k["stroke-width"],n=g.length,r="classic",s,t,u,v,w,x=3,y=3,z=5;while(n--)switch(g[n]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":r=g[n];break;case"wide":y=5;break;case"narrow":y=2;break;case"long":x=5;break;case"short":x=2}r=="open"?(x+=2,y+=2,z+=2,u=1,v=f?4:1,w={fill:"none",stroke:k.stroke}):(v=u=x/2,w={fill:k.stroke,stroke:"none"}),d._.arrows?f?(d._.arrows.endPath&&p[d._.arrows.endPath]--,d._.arrows.endMarker&&p[d._.arrows.endMarker]--):(d._.arrows.startPath&&p[d._.arrows.startPath]--,d._.arrows.startMarker&&p[d._.arrows.startMarker]--):d._.arrows={};if(r!="none"){var A="raphael-marker-"+r,B="raphael-marker-"+i+r+x+y;a._g.doc.getElementById(A)?p[A]++:(h.defs.appendChild(q(q("path"),{"stroke-linecap":"round",d:o[r],id:A})),p[A]=1);var C=a._g.doc.getElementById(B),D;C?(p[B]++,D=C.getElementsByTagName("use")[0]):(C=q(q("marker"),{id:B,markerHeight:y,markerWidth:x,orient:"auto",refX:v,refY:y/2}),D=q(q("use"),{"xlink:href":"#"+A,transform:(f?"rotate(180 "+x/2+" "+y/2+") ":l)+"scale("+x/z+","+y/z+")","stroke-width":(1/((x/z+y/z)/2)).toFixed(4)}),C.appendChild(D),h.defs.appendChild(C),p[B]=1),q(D,w);var F=u*(r!="diamond"&&r!="oval");f?(s=d._.arrows.startdx*m||0,t=a.getTotalLength(k.path)-F*m):(s=F*m,t=a.getTotalLength(k.path)-(d._.arrows.enddx*m||0)),w={},w["marker-"+i]="url(#"+B+")";if(t||s)w.d=Raphael.getSubpath(k.path,s,t);q(j,w),d._.arrows[i+"Path"]=A,d._.arrows[i+"Marker"]=B,d._.arrows[i+"dx"]=F,d._.arrows[i+"Type"]=r,d._.arrows[i+"String"]=e}else f?(s=d._.arrows.startdx*m||0,t=a.getTotalLength(k.path)-s):(s=0,t=a.getTotalLength(k.path)-(d._.arrows.enddx*m||0)),d._.arrows[i+"Path"]&&q(j,{d:Raphael.getSubpath(k.path,s,t)}),delete d._.arrows[i+"Path"],delete d._.arrows[i+"Marker"],delete d._.arrows[i+"dx"],delete d._.arrows[i+"Type"],delete d._.arrows[i+"String"];for(w in p)if(p[b](w)&&!p[w]){var G=a._g.doc.getElementById(w);G&&G.parentNode.removeChild(G)}}},u={"":[0],none:[0],"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},v=function(a,b,d){b=u[c(b).toLowerCase()];if(b){var e=a.attrs["stroke-width"]||"1",f={round:e,square:e,butt:0}[a.attrs["stroke-linecap"]||d["stroke-linecap"]]||0,g=[],h=b.length;while(h--)g[h]=b[h]*e+(h%2?1:-1)*f;q(a.node,{"stroke-dasharray":g.join(",")})}},w=function(d,f){var i=d.node,k=d.attrs,m=i.style.visibility;i.style.visibility="hidden";for(var o in f)if(f[b](o)){if(!a._availableAttrs[b](o))continue;var p=f[o];k[o]=p;switch(o){case"blur":d.blur(p);break;case"href":case"title":case"target":var u=i.parentNode;if(u.tagName.toLowerCase()!="a"){var w=q("a");u.insertBefore(w,i),w.appendChild(i),u=w}o=="target"?u.setAttributeNS(n,"show",p=="blank"?"new":p):u.setAttributeNS(n,o,p);break;case"cursor":i.style.cursor=p;break;case"transform":d.transform(p);break;case"arrow-start":t(d,p);break;case"arrow-end":t(d,p,1);break;case"clip-rect":var x=c(p).split(j);if(x.length==4){d.clip&&d.clip.parentNode.parentNode.removeChild(d.clip.parentNode);var z=q("clipPath"),A=q("rect");z.id=a.createUUID(),q(A,{x:x[0],y:x[1],width:x[2],height:x[3]}),z.appendChild(A),d.paper.defs.appendChild(z),q(i,{"clip-path":"url(#"+z.id+")"}),d.clip=A}if(!p){var B=i.getAttribute("clip-path");if(B){var C=a._g.doc.getElementById(B.replace(/(^url\(#|\)$)/g,l));C&&C.parentNode.removeChild(C),q(i,{"clip-path":l}),delete d.clip}}break;case"path":d.type=="path"&&(q(i,{d:p?k.path=a._pathToAbsolute(p):"M0,
17680"}),d._.dirty=1,d._.arrows&&("startString"in d._.arrows&&t(d,d._.arrows.startString),"endString"in d._.arrows&&t(d,d._.arrows.endString,1)));break;case"width":i.setAttribute(o,p),d._.dirty=1;if(k.fx)o="x",p=k.x;else break;case"x":k.fx&&(p=-k.x-(k.width||0));case"rx":if(o=="rx"&&d.type=="rect")break;case"cx":i.setAttribute(o,p),d.pattern&&s(d),d._.dirty=1;break;case"height":i.setAttribute(o,p),d._.dirty=1;if(k.fy)o="y",p=k.y;else break;case"y":k.fy&&(p=-k.y-(k.height||0));case"ry":if(o=="ry"&&d.type=="rect")break;case"cy":i.setAttribute(o,p),d.pattern&&s(d),d._.dirty=1;break;case"r":d.type=="rect"?q(i,{rx:p,ry:p}):i.setAttribute(o,p),d._.dirty=1;break;case"src":d.type=="image"&&i.setAttributeNS(n,"href",p);break;case"stroke-width":if(d._.sx!=1||d._.sy!=1)p/=g(h(d._.sx),h(d._.sy))||1;d.paper._vbSize&&(p*=d.paper._vbSize),i.setAttribute(o,p),k["stroke-dasharray"]&&v(d,k["stroke-dasharray"],f),d._.arrows&&("startString"in d._.arrows&&t(d,d._.arrows.startString),"endString"in d._.arrows&&t(d,d._.arrows.endString,1));break;case"stroke-dasharray":v(d,p,f);break;case"fill":var D=c(p).match(a._ISURL);if(D){z=q("pattern");var F=q("image");z.id=a.createUUID(),q(z,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),q(F,{x:0,y:0,"xlink:href":D[1]}),z.appendChild(F),function(b){a._preload(D[1],function(){var a=this.offsetWidth,c=this.offsetHeight;q(b,{width:a,height:c}),q(F,{width:a,height:c}),d.paper.safari()})}(z),d.paper.defs.appendChild(z),q(i,{fill:"url(#"+z.id+")"}),d.pattern=z,d.pattern&&s(d);break}var G=a.getRGB(p);if(!G.error)delete f.gradient,delete k.gradient,!a.is(k.opacity,"undefined")&&a.is(f.opacity,"undefined")&&q(i,{opacity:k.opacity}),!a.is(k["fill-opacity"],"undefined")&&a.is(f["fill-opacity"],"undefined")&&q(i,{"fill-opacity":k["fill-opacity"]});else if((d.type=="circle"||d.type=="ellipse"||c(p).charAt()!="r")&&r(d,p)){if("opacity"in k||"fill-opacity"in k){var H=a._g.doc.getElementById(i.getAttribute("fill").replace(/^url\(#|\)$/g,l));if(H){var I=H.getElementsByTagName("stop");q(I[I.length-1],{"stop-opacity":("opacity"in k?k.opacity:1)*("fill-opacity"in k?k["fill-opacity"]:1)})}}k.gradient=p,k.fill="none";break}G[b]("opacity")&&q(i,{"fill-opacity":G.opacity>1?G.opacity/100:G.opacity});case"stroke":G=a.getRGB(p),i.setAttribute(o,G.hex),o=="stroke"&&G[b]("opacity")&&q(i,{"stroke-opacity":G.opacity>1?G.opacity/100:G.opacity}),o=="stroke"&&d._.arrows&&("startString"in d._.arrows&&t(d,d._.arrows.startString),"endString"in d._.arrows&&t(d,d._.arrows.endString,1));break;case"gradient":(d.type=="circle"||d.type=="ellipse"||c(p).charAt()!="r")&&r(d,p);break;case"opacity":k.gradient&&!k[b]("stroke-opacity")&&q(i,{"stroke-opacity":p>1?p/100:p});case"fill-opacity":if(k.gradient){H=a._g.doc.getElementById(i.getAttribute("fill").replace(/^url\(#|\)$/g,l)),H&&(I=H.getElementsByTagName("stop"),q(I[I.length-1],{"stop-opacity":p}));break};default:o=="font-size"&&(p=e(p,10)+"px");var J=o.replace(/(\-.)/g,function(a){return a.substring(1).toUpperCase()});i.style[J]=p,d._.dirty=1,i.setAttribute(o,p)}}y(d,f),i.style.visibility=m},x=1.2,y=function(d,f){if(d.type=="text"&&!!(f[b]("text")||f[b]("font")||f[b]("font-size")||f[b]("x")||f[b]("y"))){var g=d.attrs,h=d.node,i=h.firstChild?e(a._g.doc.defaultView.getComputedStyle(h.firstChild,l).getPropertyValue("font-size"),10):10;if(f[b]("text")){g.text=f.text;while(h.firstChild)h.removeChild(h.firstChild);var j=c(f.text).split("\n"),k=[],m;for(var n=0,o=j.length;n<o;n++)m=q("tspan"),n&&q(m,{dy:i*x,x:g.x}),m.appendChild(a._g.doc.createTextNode(j[n])),h.appendChild(m),k[n]=m}else{k=h.getElementsByTagName("tspan");for(n=0,o=k.length;n<o;n++)n?q(k[n],{dy:i*x,x:g.x}):q(k[0],{dy:0})}q(h,{x:g.x,y:g.y}),d._.dirty=1;var p=d._getBBox(),r=g.y-(p.y+p.height/2);r&&a.is(r,"finite")&&q(k[0],{dy:r})}},z=function(b,c){var d=0,e=0;this[0]=this.node=b,b.raphael=!0,this.id=a._oid++,b.raphaelid=this.id,this.matrix=a.matrix(),this.realPath=null,this.paper=c,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!c.bottom&&(c.bottom=this),this.prev=c.top,c.top&&(c.top.next=this),c.top=this,this.next=null},A=a.el;z.prototype=A,A.constructor=z,a._engine.path=function(a,b){var c=q("path");b.canvas&&b.canvas.appendChild(c);var d=new z(c,b);
1768d.type="path",w(d,{fill:"none",stroke:"#000",path:a});return d},A.rotate=function(a,b,e){if(this.removed)return this;a=c(a).split(j),a.length-1&&(b=d(a[1]),e=d(a[2])),a=d(a[0]),e==null&&(b=e);if(b==null||e==null){var f=this.getBBox(1);b=f.x+f.width/2,e=f.y+f.height/2}this.transform(this._.transform.concat([["r",a,b,e]]));return this},A.scale=function(a,b,e,f){if(this.removed)return this;a=c(a).split(j),a.length-1&&(b=d(a[1]),e=d(a[2]),f=d(a[3])),a=d(a[0]),b==null&&(b=a),f==null&&(e=f);if(e==null||f==null)var g=this.getBBox(1);e=e==null?g.x+g.width/2:e,f=f==null?g.y+g.height/2:f,this.transform(this._.transform.concat([["s",a,b,e,f]]));return this},A.translate=function(a,b){if(this.removed)return this;a=c(a).split(j),a.length-1&&(b=d(a[1])),a=d(a[0])||0,b=+b||0,this.transform(this._.transform.concat([["t",a,b]]));return this},A.transform=function(c){var d=this._;if(c==null)return d.transform;a._extractTransform(this,c),this.clip&&q(this.clip,{transform:this.matrix.invert()}),this.pattern&&s(this),this.node&&q(this.node,{transform:this.matrix});if(d.sx!=1||d.sy!=1){var e=this.attrs[b]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":e})}return this},A.hide=function(){!this.removed&&this.paper.safari(this.node.style.display="none");return this},A.show=function(){!this.removed&&this.paper.safari(this.node.style.display="");return this},A.remove=function(){if(!this.removed&&!!this.node.parentNode){var b=this.paper;b.__set__&&b.__set__.exclude(this),k.unbind("raphael.*.*."+this.id),this.gradient&&b.defs.removeChild(this.gradient),a._tear(this,b),this.node.parentNode.tagName.toLowerCase()=="a"?this.node.parentNode.parentNode.removeChild(this.node.parentNode):this.node.parentNode.removeChild(this.node);for(var c in this)this[c]=typeof this[c]=="function"?a._removedFactory(c):null;this.removed=!0}},A._getBBox=function(){if(this.node.style.display=="none"){this.show();var a=!0}var b={};try{b=this.node.getBBox()}catch(c){}finally{b=b||{}}a&&this.hide();return b},A.attr=function(c,d){if(this.removed)return this;if(c==null){var e={};for(var f in this.attrs)this.attrs[b](f)&&(e[f]=this.attrs[f]);e.gradient&&e.fill=="none"&&(e.fill=e.gradient)&&delete e.gradient,e.transform=this._.transform;return e}if(d==null&&a.is(c,"string")){if(c=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;if(c=="transform")return this._.transform;var g=c.split(j),h={};for(var i=0,l=g.length;i<l;i++)c=g[i],c in this.attrs?h[c]=this.attrs[c]:a.is(this.paper.customAttributes[c],"function")?h[c]=this.paper.customAttributes[c].def:h[c]=a._availableAttrs[c];return l-1?h:h[g[0]]}if(d==null&&a.is(c,"array")){h={};for(i=0,l=c.length;i<l;i++)h[c[i]]=this.attr(c[i]);return h}if(d!=null){var m={};m[c]=d}else c!=null&&a.is(c,"object")&&(m=c);for(var n in m)k("raphael.attr."+n+"."+this.id,this,m[n]);for(n in this.paper.customAttributes)if(this.paper.customAttributes[b](n)&&m[b](n)&&a.is(this.paper.customAttributes[n],"function")){var o=this.paper.customAttributes[n].apply(this,[].concat(m[n]));this.attrs[n]=m[n];for(var p in o)o[b](p)&&(m[p]=o[p])}w(this,m);return this},A.toFront=function(){if(this.removed)return this;this.node.parentNode.tagName.toLowerCase()=="a"?this.node.parentNode.parentNode.appendChild(this.node.parentNode):this.node.parentNode.appendChild(this.node);var b=this.paper;b.top!=this&&a._tofront(this,b);return this},A.toBack=function(){if(this.removed)return this;var b=this.node.parentNode;b.tagName.toLowerCase()=="a"?b.parentNode.insertBefore(this.node.parentNode,this.node.parentNode.parentNode.firstChild):b.firstChild!=this.node&&b.insertBefore(this.node,this.node.parentNode.firstChild),a._toback(this,this.paper);var c=this.paper;return this},A.insertAfter=function(b){if(this.removed)return this;var c=b.node||b[b.length-1].node;c.nextSibling?c.parentNode.insertBefore(this.node,c.nextSibling):c.parentNode.appendChild(this.node),a._insertafter(this,b,this.paper);return this},A.insertBefore=function(b){if(this.removed)return this;var c=b.node||b[0].node;c.parentNode.insertBefore(this.node,c),a._insertbefore(this,b,this.paper);return this},A.blur=function(b){var c=this;if(+b!==0){var d=q("filter"),e=q("feGaussianBlur");c.attrs.blur=b,d.id=a.createUUID(),q(e,{stdDeviation:+b||1.5}),d.appendChild(e),c.paper.defs.appendChild(d),c._blur=d,q(c.node,{filter:"url
1768(#"+d.id+")"})}else c._blur&&(c._blur.parentNode.removeChild(c._blur),delete c._blur,delete c.attrs.blur),c.node.removeAttribute("filter")},a._engine.circle=function(a,b,c,d){var e=q("circle");a.canvas&&a.canvas.appendChild(e);var f=new z(e,a);f.attrs={cx:b,cy:c,r:d,fill:"none",stroke:"#000"},f.type="circle",q(e,f.attrs);return f},a._engine.rect=function(a,b,c,d,e,f){var g=q("rect");a.canvas&&a.canvas.appendChild(g);var h=new z(g,a);h.attrs={x:b,y:c,width:d,height:e,r:f||0,rx:f||0,ry:f||0,fill:"none",stroke:"#000"},h.type="rect",q(g,h.attrs);return h},a._engine.ellipse=function(a,b,c,d,e){var f=q("ellipse");a.canvas&&a.canvas.appendChild(f);var g=new z(f,a);g.attrs={cx:b,cy:c,rx:d,ry:e,fill:"none",stroke:"#000"},g.type="ellipse",q(f,g.attrs);return g},a._engine.image=function(a,b,c,d,e,f){var g=q("image");q(g,{x:c,y:d,width:e,height:f,preserveAspectRatio:"none"}),g.setAttributeNS(n,"href",b),a.canvas&&a.canvas.appendChild(g);var h=new z(g,a);h.attrs={x:c,y:d,width:e,height:f,src:b},h.type="image";return h},a._engine.text=function(b,c,d,e){var f=q("text");b.canvas&&b.canvas.appendChild(f);var g=new z(f,b);g.attrs={x:c,y:d,"text-anchor":"middle",text:e,font:a._availableAttrs.font,stroke:"none",fill:"#000"},g.type="text",w(g,g.attrs);return g},a._engine.setSize=function(a,b){this.width=a||this.width,this.height=b||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox);return this},a._engine.create=function(){var b=a._getContainer.apply(0,arguments),c=b&&b.container,d=b.x,e=b.y,f=b.width,g=b.height;if(!c)throw new Error("SVG container not found.");var h=q("svg"),i="overflow:hidden;",j;d=d||0,e=e||0,f=f||512,g=g||342,q(h,{height:g,version:1.1,width:f,xmlns:"http://www.w3.org/2000/svg"}),c==1?(h.style.cssText=i+"position:absolute;left:"+d+"px;top:"+e+"px",a._g.doc.body.appendChild(h),j=1):(h.style.cssText=i+"position:relative",c.firstChild?c.insertBefore(h,c.firstChild):c.appendChild(h)),c=new a._Paper,c.width=f,c.height=g,c.canvas=h,c.clear(),c._left=c._top=0,j&&(c.renderfix=function(){}),c.renderfix();return c},a._engine.setViewBox=function(a,b,c,d,e){k("raphael.setViewBox",this,this._viewBox,[a,b,c,d,e]);var f=g(c/this.width,d/this.height),h=this.top,i=e?"meet":"xMinYMin",j,l;a==null?(this._vbSize&&(f=1),delete this._vbSize,j="0 0 "+this.width+m+this.height):(this._vbSize=f,j=a+m+b+m+c+m+d
1768),q(this.canvas,{viewBox:j,preserveAspectRatio:i});while(f&&h)l="stroke-width"in h.attrs?h.attrs["stroke-width"]:1,h.attr({"stroke-width":l}),h._.dirty=1,h._.dirtyT=1,h=h.prev;this._viewBox=[a,b,c,d,!!e];return this},a.prototype.renderfix=function(){var a=this.canvas,b=a.style,c;try{c=a.getScreenCTM()||a.createSVGMatrix()}catch(d){c=a.createSVGMatrix()}var e=-c.e%1,f=-c.f%1;if(e||f)e&&(this._left=(this._left+e)%1,b.left=this._left+"px"),f&&(this._top=(this._top+f)%1,b.top=this._top+"px")},a.prototype.clear=function(){a.eve("raphael.clear",this);var b=this.canvas;while(b.firstChild)b.removeChild(b.firstChild);this.bottom=this.top=null,(this.desc=q("desc")).appendChild(a._g.doc.createTextNode("Created with Raphaël "+a.version)),b.appendChild(this.desc),b.appendChild(this.defs=q("defs"))},a.prototype.remove=function(){k("raphael.remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas);for(var b in this)this[b]=typeof this[b]=="function"?a._removedFactory(b):null};var B=a.st;for(var C in A)A[b](C)&&!B[b](C)&&(B[C]=function(a){return function(){var b=arguments;return this.forEach(function(c){c[a].apply(c,b)})}}(C))}(window.Raphael),window.Raphael.vml&&function(a){var b="hasOwnProperty",c=String,d=parseFloat,e=Math,f=e.round,g=e.max,h=e.min,i=e.abs,j="fill",k=/[, ]+/,l=a.eve,m=" progid:DXImageTransform.Microsoft",n=" ",o="",p={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},q=/([clmz]),?([^clmz]*)/gi,r=/ progid:\S+Blur\([^\)]+\)/g,s=/-?[^,\s-]+/g,t="position:absolute;left:0;top:0;width:1px;height:1px",u=21600,v={path:1,rect:1,image:1},w={circle:1,ellipse:1},x=function(b){var d=/[ahqstv]/ig,e=a._pathToAbsolute;c(b).match(d)&&(e=a._path2curve),d=/[clmz]/g;if(e==a._pathToAbsolute&&!c(b).match(d)){var g=c(b).replace(q,function(a,b,c){var d=[],e=b.toLowerCase()=="m",g=p[b];c.replace(s,function(a){e&&d.length==2&&(g+=d+p[b=="m"?"l":"L"],d=[]),d.push(f(a*u))});return g+d});return g}var h=e(b),i,j;g=[];for(var k=0,l=h.length;k<l;k++){i=h[k],j=h[k][0].toLowerCase(),j=="z"&&(j="x");for(var m=1,r=i.length;m<r;m++)j+=f(i[m]*u)+(m!=r-1?",":o);g.push(j)}return g.join(n)},y=function(b,c,d){var e=a.matrix();e.rotate(-b,.5,.5);return{dx:e.x(c,d),dy:e.y(c,d)}},z=function(a,b,c,d,e,f){var g=a._,h=a.matrix,k=g.fillpos,l=a.node,m=l.style,o=1,p="",q,r=u/b,s=u/c;m.visibility="hidden";if(!!b&&!!c){l.coordsize=i(r)+n+i(s),m.rotation=f*(b*c<0?-1:1);if(f){var t=y(f,d,e);d=t.dx,e=t.dy}b<0&&(p+="x"),c<0&&(p+=" y")&&(o=-1),m.flip=p,l.coordorigin=d*-r+n+e*-s;if(k||g.fillsize){var v=l.getElementsByTagName(j);v=v&&v[0],l.removeChild(v),k&&(t=y(f,h.x(k[0],k[1]),h.y(k[0],k[1])),v.position=t.dx*o+n+t.dy*o),g.fillsize&&(v.size=g.fillsize[0]*i(b)+n+g.fillsize[1]*i(c)),l.appendChild(v)}m.visibility="visible"}};a.toString=function(){return"Your browser doesn’t support SVG. Falling down to VML.\nYou are running Raphaël "+this.version};var A=function(a,b,d){var e=c(b).toLowerCase().split("-"),f=d?"end":"start",g=e.length,h="classic",i="medium",j="medium";while(g--)switch(e[g]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":h=e[g];break;case"wide":case"narrow":j=e[g];break;case"long":case"short":i=e[g]}var k=a.node.getElementsByTagName("stroke")[0];k[f+"arrow"]=h,k[f+"arrowlength"]=i,k[f+"arrowwidth"]=j},B=function(e,i){e.attrs=e.attrs||{};var l=e.node,m=e.attrs,p=l.style,q,r=v[e.type]&&(i.x!=m.x||i.y!=m.y||i.width!=m.width||i.height!=m.height||i.cx!=m.cx||i.cy!=m.cy||i.rx!=m.rx||i.ry!=m.ry||i.r!=m.r),s=w[e.type]&&(m.cx!=i.cx||m.cy!=i.cy||m.r!=i.r||m.rx!=i.rx||m.ry!=i.ry),t=e;for(var y in i)i[b](y)&&(m[y]=i[y]);r&&(m.path=a._getPath[e.type](e),e._.dirty=1),i.href&&(l.href=i.href),i.title&&(l.title=i.title),i.target&&(l.target=i.target),i.cursor&&(p.cursor=i.cursor),"blur"in i&&e.blur(i.blur);if(i.path&&e.type=="path"||r)l.path=x(~c(m.path).toLowerCase().indexOf("r")?a._pathToAbsolute(m.path):m.path),e.type=="image"&&(e._.fillpos=[m.x,m.y],e._.fillsize=[m.width,m.height],z(e,1,1,0,0,0));"transform"in i&&e.transform(i.transform);if(s){var B=+m.cx,D=+m.cy,E=+m.rx||+m.r||0,G=+m.ry||+m.r||0;l.path=a.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",f((B-E)*u),f((D-G)*u),f((B+E)*u),f((D+G)*u),f(B*u))}if("clip-rect"in i){var H=c(i["clip-rect"]).split(k);if(H.length==4){H[2]=+H[2]+ +H[0],H[3]=+H[3]+ +H[1];var I=l.clipRect||a._g.doc.createElement("div"),J=I.style;J.clip=a.format("rect({1}px {2}px {3}px {0}px)",H),l.clipRect||(J.position="absolute",J.top=0,J.left=0,J.width=e.paper.width+"px",J.height=e.paper.height+"px",l.parentNode.insertBefore(I,l),I.appendChild(l),l.clipRect=I)}
1768i["clip-rect"]||l.clipRect&&(l.clipRect.style.clip="auto")}if(e.textpath){var K=e.textpath.style;i.font&&(K.font=i.font),i["font-family"]&&(K.fontFamily='"'+i["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,o)+'"'),i["font-size"]&&(K.fontSize=i["font-size"]),i["font-weight"]&&(K.fontWeight=i["font-weight"]),i["font-style"]&&(K.fontStyle=i["font-style"])}"arrow-start"in i&&A(t,i["arrow-start"]),"arrow-end"in i&&A(t,i["arrow-end"],1);if(i.opacity!=null||i["stroke-width"]!=null||i.fill!=null||i.src!=null||i.stroke!=null||i["stroke-width"]!=null||i["stroke-opacity"]!=null||i["fill-opacity"]!=null||i["stroke-dasharray"]!=null||i["stroke-miterlimit"]!=null||i["stroke-linejoin"]!=null||i["stroke-linecap"]!=null){var L=l.getElementsByTagName(j),M=!1;L=L&&L[0],!L&&(M=L=F(j)),e.type=="image"&&i.src&&(L.src=i.src),i.fill&&(L.on=!0);if(L.on==null||i.fill=="none"||i.fill===null)L.on=!1;if(L.on&&i.fill){var N=c(i.fill).match(a._ISURL);if(N){L.parentNode==l&&l.removeChild(L),L.rotate=!0,L.src=N[1],L.type="tile";var O=e.getBBox(1);L.position=O.x+n+O.y,e._.fillpos=[O.x,O.y],a._preload(N[1],function(){e._.fillsize=[this.offsetWidth,this.offsetHeight]})}else L.color=a.getRGB(i.fill).hex,L.src=o,L.type="solid",a.getRGB(i.fill).error&&(t.type in{circle:1,ellipse:1}||c(i.fill).charAt()!="r")&&C(t,i.fill,L)&&(m.fill="none",m.gradient=i.fill,L.rotate=!1)}if("fill-opacity"in i||"opacity"in i){var P=((+m["fill-opacity"]+1||2)-1)*((+m.opacity+1||2)-1)*((+a.getRGB(i.fill).o+1||2)-1);P=h(g(P,0),1),L.opacity=P,L.src&&(L.color="none")}l.appendChild(L);var Q=l.getElementsByTagName("stroke")&&l.getElementsByTagName("stroke")[0],T=!1;!Q&&(T=Q=F("stroke"));if(i.stroke&&i.stroke!="none"||i["stroke-width"]||i["stroke-opacity"]!=null||i["stroke-dasharray"]||i["stroke-miterlimit"]||i["stroke-linejoin"]||i["stroke-linecap"])Q.on=!0;(i.stroke=="none"||i.stroke===null||Q.on==null||i.stroke==0||i["stroke-width"]==0)&&(Q.on=!1);var U=a.getRGB(i.stroke);Q.on&&i.stroke&&(Q.color=U.hex),P=((+m["stroke-opacity"]+1||2)-1)*((+m.opacity+1||2)-1)*((+U.o+1||2)-1);var V=(d(i["stroke-width"])||1)*.75;P=h(g(P,0),1),i["stroke-width"]==null&&(V=m["stroke-width"]),i["stroke-width"]&&(Q.weight=V),V&&V<1&&(P*=V)&&(Q.weight=1),Q.opacity=P,i["stroke-linejoin"]&&(Q.joinstyle=i["stroke-linejoin"]||"miter"),Q.miterlimit=i["stroke-miterlimit"]||8,i["stroke-linecap"]&&(Q.endcap=i["stroke-linecap"]=="butt"?"flat":i["stroke-linecap"]=="square"?"square":"round");if(i["stroke-dasharray"]){var W={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};Q.dashstyle=W[b](i["stroke-dasharray"])?W[i["stroke-dasharray"]]:o}T&&l.appendChild(Q)}if(t.type=="text"){t.paper.canvas.style.display=o;var X=t.paper.span,Y=100,Z=m.font&&m.font.match(/\d+(?:\.\d*)?(?=px)/);p=X.style,m.font&&(p.font=m.font),m["font-family"]&&(p.fontFamily=m["font-family"]),m["font-weight"]&&(p.fontWeight=m["font-weight"]),m["font-style"]&&(p.fontStyle=m["font-style"]),Z=d(m["font-size"]||Z&&Z[0])||10,p.fontSize=Z*Y+"px",t.textpath.string&&(X.innerHTML=c(t.textpath.string).replace(/</g,"&#60;").replace(/&/g,"&#38;").replace(/\n/g,"<br>"));var $=X.getBoundingClientRect();t.W=m.w=($.right-$.left)/Y,t.H=m.h=($.bottom-$.top)/Y,t.X=m.x,t.Y=m.y+t.H/2,("x"in i||"y"in i)&&(t.path.v=a.format("m{0},{1}l{2},{1}",f(m.x*u),f(m.y*u),f(m.x*u)+1));var _=["x","y","text","font","font-family","font-weight","font-style","font-size"];for(var ba=0,bb=_.length;ba<bb;ba++)if(_[ba]in i){t._.dirty=1;break}switch(m["text-anchor"]){case"start":t.textpath.style["v-text-align"]="left",t.bbx=t.W/2;break;case"end":t.textpath.style["v-text-align"]="right",t.bbx=-t.W/2;break;default:t.textpath.style["v-text-align"]="center",t.bbx=0}t.textpath.style["v-text-kern"]=!0}},C=function(b,f,g){b.attrs=b.attrs||{};var h=b.attrs,i=Math.pow,j,k,l="linear",m=".5 .5";b.attrs.gradient=f,f=c(f).replace(a._radial_gradient,function(a,b,c){l="radial",b&&c&&(b=d(b),c=d(c),i(b-.5,2)+i(c-.5,2)>.25&&(c=e.sqrt(.25-i(b-.5,2))*((c>.5)*2-1)+.5),m=b+n+c);return o}
1768),f=f.split(/\s*\-\s*/);if(l=="linear"){var p=f.shift();p=-d(p);if(isNaN(p))return null}var q=a._parseDots(f);if(!q)return null;b=b.shape||b.node;if(q.length){b.removeChild(g),g.on=!0,g.method="none",g.color=q[0].color,g.color2=q[q.length-1].color;var r=[];for(var s=0,t=q.length;s<t;s++)q[s].offset&&r.push(q[s].offset+n+q[s].color);g.colors=r.length?r.join():"0% "+g.color,l=="radial"?(g.type="gradientTitle",g.focus="100%",g.focussize="0 0",g.focusposition=m,g.angle=0):(g.type="gradient",g.angle=(270-p)%360),b.appendChild(g)}return 1},D=function(b,c){this[0]=this.node=b,b.raphael=!0,this.id=a._oid++,b.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=c,this.matrix=a.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!c.bottom&&(c.bottom=this),this.prev=c.top,c.top&&(c.top.next=this),c.top=this,this.next=null},E=a.el;D.prototype=E,E.constructor=D,E.transform=function(b){if(b==null)return this._.transform;var d=this.paper._viewBoxShift,e=d?"s"+[d.scale,d.scale]+"-1-1t"+[d.dx,d.dy]:o,f;d&&(f=b=c(b).replace(/\.{3}|\u2026/g,this._.transform||o)),a._extractTransform(this,e+b);var g=this.matrix.clone(),h=this.skew,i=this.node,j,k=~c(this.attrs.fill).indexOf("-"),l=!c(this.attrs.fill).indexOf("url(");g.translate(-0.5,-0.5);if(l||k||this.type=="image"){h.matrix="1 0 0 1",h.offset="0 0",j=g.split();if(k&&j.noRotation||!j.isSimple){i.style.filter=g.toFilter();var m=this.getBBox(),p=this.getBBox(1),q=m.x-p.x,r=m.y-p.y;i.coordorigin=q*-u+n+r*-u,z(this,1,1,q,r,0)}else i.style.filter=o,z(this,j.scalex,j.scaley,j.dx,j.dy,j.rotate)}else i.style.filter=o,h.matrix=c(g),h.offset=g.offset();f&&(this._.transform=f);return this},E.rotate=function(a,b,e){if(this.removed)return this;if(a!=null){a=c(a).split(k),a.length-1&&(b=d(a[1]),e=d(a[2])),a=d(a[0]),e==null&&(b=e);if(b==null||e==null){var f=this.getBBox(1);b=f.x+f.width/2,e=f.y+f.height/2}this._.dirtyT=1,this.transform(this._.transform.concat([["r",a,b,e]]));return this}},E.translate=function(a,b){if(this.removed)return this;a=c(a).split(k),a.length-1&&(b=d(a[1])),a=d(a[0])||0,b=+b||0,this._.bbox&&(this._.bbox.x+=a,this._.bbox.y+=b),this.transform(this._.transform.concat([["t",a,b]]));return this},E.scale=function(a,b,e,f){if(this.removed)return this;a=c(a).split(k),a.length-1&&(b=d(a[1]),e=d(a[2]),f=d(a[3]),isNaN(e)&&(e=null),isNaN(f)&&(f=null)),a=d(a[0]),b==null&&(b=a),f==null&&(e=f);if(e==null||f==null)var g=this.getBBox(1);e=e==null?g.x+g.width/2:e,f=f==null?g.y+g.height/2:f,this.transform(this._.transform.concat([["s",a,b,e,f]])),this._.dirtyT=1;return this},E.hide=function(){!this.removed&&(this.node.style.display="none");return this},E.show=function(){!this.removed&&(this.node.style.display=o);return this},E._getBBox=function(){if(this.removed)return{};return{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}},E.remove=function(){if(!this.removed&&!!this.node.parentNode){this.paper.__set__&&this.paper.__set__.exclude(this),a.eve.unbind("raphael.*.*."+this.id),a._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape);for(var b in this)this[b]=typeof this[b]=="function"?a._removedFactory(b):null;this.removed=!0}},E.attr=function(c,d){if(this.removed)return this;if(c==null){var e={};for(var f in this.attrs)this.attrs[b](f)&&(e[f]=this.attrs[f]);e.gradient&&e.fill=="none"&&(e.fill=e.gradient)&&delete e.gradient,e.transform=this._.transform;return e}if(d==null&&a.is(c,"string")){if(c==j&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;var g=c.split(k),h={};for(var i=0,m=g.length;i<m;i++)c=g[i],c in this.attrs?h[c]=this.attrs[c]:a.is(this.paper.customAttributes[c],"function")?h[c]=this.paper.customAttributes[c].def:h[c]=a._availableAttrs[c];return m-1?h:h[g[0]]}if(this.attrs&&d==null&&a.is(c,"array")){h={};for(i=0,m=c.length;i<m;i++)h[c[i]]=this.attr(c[i]);return h}var n;d!=null&&(n={},n[c]=d),d==null&&a.is(c,"object")&&(n=c);for(var o in n)l("raphael.attr."+o+"."+this.id,this,n[o]);if(n){for(o in this.paper.customAttributes)if(this.paper.customAttributes[b](o)&&n[b](o)&&a.is(this.paper.customAttributes[o],"function")){var p=this.paper.customAttributes[o].apply(this,[].concat(n[o]));this.attrs[o]=n[o];for(var q in p)p[b](q)&&(n[q]=p[q])}n.text&&this.type=="text"&&(this.textpath.string=n.text),B(this,n)}return this},E.toFront=function(){!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&a._tofront(this,this.paper);return this},E.toBack=function(){if(this.removed)return this;this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),a._toback(this,this.paper));return this},E.insertAfter=function(b){if(this.removed)return this;b.constructor==a.st.constructor&&(b=b[b.length-1]),b.node.nextSibling?b.node.parentNode.insertBefore(this.node,b.node.nextSibling):b.node.parentNode.appendChild(this.node),a._insertafter(this,b,this.paper);return this},E.insertBefore=function(b){if(this.removed)return this;b.constructor==a.st.constructor&&(b=b[0]),b.node.parentNode.insertBefore(this.node,b.node),a._insertbefore(this,b,this.paper);return this},E.blur=function(b){var c=this.node.runtimeStyle,d=c.filter;d=d.replace(r,o),+b!==0?(this.attrs.blur=b,c.filter=d+n+m+".Blur(pixelradius="+(+b||1.5)+")",c.margin=a.format("-{0}px 0 0 -{0}px",f(+b||1.5))):(c.filter=d,c.margin=0,delete this.attrs.blur)},a._engine.path=function(a,b){var c=F("shape");c.style.cssText=t,c.coordsize=u+n+u,c.coordorigin=b.coordorigin;var d=new D(c,b),e={fill:"none",stroke:"#000"};a&&(e.path=a),d.type="path",d.path=[],d.Path=o,B(d,e),b.canvas.appendChild(c);var f=F("skew");f.on=!0,c.appendChild(f),d.skew=f,d.transform(o);return d},a._engine.rect=function(b,c,d,e,f,g){var h=a._rectPath(c,d,e,f,g),i=b.path(h),j=i.attrs;i.X=j.x=c,i.Y=j.y=d,i.W=j.width=e,i.H=j.height=f,j.r=g,j.path=h,i.type="rect";return i},a._engine.ellipse=function(a,b,c,d,e){var f=a.path(),g=f.attrs;f.X=b-d,f.Y=c-e,f.W=d*2,f.H=e*2,f.type="ellipse",B(f,{cx:b,cy:c,rx:d,ry:e});return f},a._engine.circle=function(a,b,c,d){var e=a.path(),f=e.attrs;e.X=b-d,e.Y=c-d,e.W=e.H=d*2,e.type="circle",B(e,{cx:b,cy:c,r:d});return e},a._engine.image=function(b,c,d,e,f,g){var h=a._rectPath(d,e,f,g),i=b.path(h).attr({stroke:"none"}),k=i.attrs,l=i.node,m=l.getElementsByTagName(j)[0];k.src=c,i.X=k.x=d,i.Y=k.y=e,i.W=k.width=f,i.H=k.height=g,k.path=h,i.type="image",m.parentNode==l&&l.removeChild(m),m.rotate=!0,m.src=c,m.type="tile",i._.fillpos=[d,e],i._.fillsize=[f,g],l.appendChild(m),z(i,1,1,0,0,0);return i},a._engine.text=function(b,d,e,g){var h=F("shape"),i=F("path"),j=F("textpath");d=d||0,e=e||0,g=g||"",i.v=a.format("m{0},{1}l{2},{1}",f(d*u),f(e*u),f(d*u)+1),i.textpathok=!0,j.string=c(g),j.on=!0,h.style.cssText=t,h.coordsize=u+n+u,h.coordorigin="0 0";var k=new D(h,b),l={fill:"#000",stroke:"none",font:a._availableAttrs.font,text:g};k.shape=h,k.path=i,k.textpath=j,k.type="text",k.attrs.text=c(g),k.attrs.x=d,k.attrs.y=e,k.attrs.w=1,k.attrs.h=1,B(k,l),h.appendChild(j),h.appendChild(i),b.canvas.appendChild(h);var m=F("skew");m.on=!0,h.appendChild(m),k.skew=m,k.transform(o);return k},a._engine.setSize=function(b,c){var d=this.canvas.style;this.width=b,this.height=c,b==+b&&(b+="px"),c==+c&&(c+="px"),d.width=b,d.height=c,d.clip="rect(0 "+b+" "+c+" 0)",this._viewBox&&a._engine.setViewBox.apply(this,this._viewBox);return this},a._engine.setViewBox=function(b,c,d,e,f){a.eve("raphael.setViewBox",this,this._viewBox,[b,c,d,e,f]);var h=this.width,i=this.height,j=1/g(d/h,e/i),k,l;f&&(k=i/e,l=h/d,d*k<h&&(b-=(h-d*k)/2/k),e*l<i&&(c-=(i-e*l)/2/l)),this._viewBox=[b,c,d,e,!!f],this._viewBoxShift={dx:-b,dy:-c,scale:j},this.forEach(function(a){a.transform("...")});return this};var F;a._engine.initWin=function(a){var b=a.document;b.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)");try{!b.namespaces.rvml&&b.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),F=function(a){return b.createElement("<rvml:"+a+' class="rvml">')}}catch(c){F=function(a){return b.createElement("<"+a+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},a._engine.initWin(a._g.win),a._engine.create=function(){var b=a._getContainer.apply(0,arguments),c=b.container,d=b.height,e,f=b.width,g=b.x,h=b.y;if(!c)throw new Error("VML container not found.");var i=new a._Paper,j=i.canvas=a._g.doc.createElement("div"),k=j.style;g=g||0,h=h||0,f=f||512,d=d||342,i.width=f,i.height=d,f==+f&&(f+="px"),d==+d&&(d+="px"),i.coordsize=u*1e3+n+u*1e3,i.coordorigin="0 0",i.span=a._g.doc.createElement("span"),i.span.style.cssText="position:absolute;
1768left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",j.appendChild(i.span),k.cssText=a.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",f,d),c==1?(a._g.doc.body.appendChild(j),k.left=g+"px",k.top=h+"px",k.position="absolute"):c.firstChild?c.insertBefore(j,c.firstChild):c.appendChild(j),i.renderfix=function(){};return i},a.prototype.clear=function(){a.eve("raphael.clear",this),this.canvas.innerHTML=o,this.span=a._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},a.prototype.remove=function(){a.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas);for(var b in this)this[b]=typeof this[b]=="function"?a._removedFactory(b):null;return!0};var G=a.st;for(var H in E)E[b](H)&&!G[b](H)&&(G[H]=function(a){return function(){var b=arguments;return this.forEach(function(c){c[a].apply(c,b)})}}(H))}(window.Raphael);;(function($,window,undefined){var iView=function(el,options){var iv=this;iv.options=options;iv.sliderContent=el,iv.sliderInner=iv.sliderContent.html();iv.sliderContent.html("<div class='iviewSlider'>"+iv.sliderInner+"</div>");iv.slider=$('.iviewSlider',iv.sliderContent);iv.slider.css('position','relative');iv.slider.css('height',options.height+'px');iv.defs={slide:0,total:0,image:'',images:[],width:iv.sliderContent.width(),height:iv.sliderContent.height(),timer:options.timer.toLowerCase(),lock:false,paused:(options.autoAdvance)?false:true,time:options.pauseTime,easing:options.easing};iv.disableSelection(iv.slider[0]);iv.slides=iv.slider.children();iv.slides.each(function(i){var slide=$(this);iv.defs.images.push(slide.data("leo_image"));if(slide.data("leo_thumbnail"))iv.defs.images.push(slide.data("leo_thumbnail"));slide.css('display','none');if(slide.data("leo_type")=="video"){var element=slide.children().eq(0),video=$('<div class="iview-video-show"><div class="iview-video-container"><a class="iview-video-close" title="'+options.closeLabel+'">&#735;</a></div></div>');slide.append(video);element.appendTo($('div.iview-video-container',video));video.css({width:'100%',height:iv.defs.height,top:'-'+iv.defs.height+'px'}).hide();slide.addClass('iview-video').css({'cursor':'pointer'});}
1769iv.defs.total++;}).css({width:iv.defs.width,height:iv.defs.height});iv.sliderContent.append('<div class="iview-preloader"><div></div></div>');var iviewPreloader=$('.iview-preloader',iv.sliderContent);var preloaderBar=$('div',iviewPreloader);iviewPreloader.css({top:((iv.defs.height/2)-(iviewPreloader.height()/2))+'px',left:((iv.defs.width/2)-(iviewPreloader.width()/2))+'px'});iv.sliderContent.append('<div class="iview-timer"><div></div></div>');iv.iviewTimer=$('.iview-timer',iv.sliderContent);iv.iviewTimer.hide();$('.tp-caption',iv.slider).each(function(i){var caption=$(this);caption.html('<div class="caption-contain">'+caption.html()+'</div>');});options.startSlide=(options.randomStart)?Math.floor(Math.random()*iv.defs.total):options.startSlide;options.startSlide=(options.startSlide>0&&options.startSlide>=iv.defs.total)?iv.defs.total-1:options.startSlide;iv.defs.slide=options.startSlide;iv.defs.image=iv.slides.eq(iv.defs.slide);iv.defs.time=(iv.defs.image.data('leo_pausetime'))?iv.defs.image.data('leo_pausetime'):options.pauseTime;iv.defs.easing=(iv.defs.image.data('leo_easing'))?iv.defs.image.data('leo_easing'):options.easing;iv.pieDegree=0;var padding=options.timerPadding,diameter=options.timerDiameter,stroke=options.timerStroke;if(iv.defs.total>1&&iv.defs.timer!="bar"){stroke=(iv.defs.timer=="360bar")?options.timerStroke:0;var width=(diameter+(padding*2)+(stroke*2)),height=width,r=Raphael(iv.iviewTimer[0],width,height);iv.R=(diameter/2);var param={stroke:options.timerBg,"stroke-width":(stroke+(padding*2))},param2={stroke:options.timerColor,"stroke-width":stroke,"stroke-linecap":"round"},param3={fill:options.timerColor,stroke:'none',"stroke-width":0},bgParam={fill:options.timerBg,stroke:'none',"stroke-width":0};r.customAttributes.arc=function(value,R){var total=360,alpha=360/total*value,a=(90-alpha)*Math.PI/180,cx=((diameter/2)+padding+stroke),cy=((diameter/2)+padding+stroke),x=cx+R*Math.cos(a),y=cy-R*Math.sin(a),path;if(total==value){path=[["M",cx,cy-R],["A",R,R,0,1,1,299.99,cy-R]];}else{path=[["M",cx,cy-R],["A",R,R,0,+(alpha>180),1,x,y]];}
1770return{path:path};};r.customAttributes.segment=function(angle,R){var a1=-90;R=R-1;angle=(a1+angle);var flag=(angle-a1)>180,x=((diameter/2)+padding),y=((diameter/2)+padding);a1=(a1%360)*Math.PI/180;angle=(angle%360)*Math.PI/180;return{path:[["M",x,y],["l",R*Math.cos(a1),R*Math.sin(a1)],["A",R,R,0,+flag,1,x+R*Math.cos(angle),y+R*Math.sin(angle)],["z"]]};};if(iv.defs.total>1&&iv.defs.timer=="pie"){r.circle(iv.R+padding,iv.R+padding,iv.R+padding-1).attr(bgParam);}
1771iv.timerBgPath=r.path().attr(param),iv.timerPath=r.path().attr(param2),iv.pieTimer=r.path().attr(param3);}
1772iv.barTimer=$('div',iv.iviewTimer);if(iv.defs.total>1&&iv.defs.timer=="360bar"){iv.timerBgPath.attr({arc:[359.9,iv.R]});}
1773if(iv.defs.timer=="bar"){iv.iviewTimer.css({opacity:options.timerOpacity,width:diameter,height:stroke,border:options.timerBarStroke+'px '+options.timerBarStrokeColor+' '+options.timerBarStrokeStyle,padding:padding,background:options.timerBg});iv.barTimer.css({width:0,height:stroke,background:options.timerColor,'float':'left'});}else{iv.iviewTimer.css({opacity:options.timerOpacity,width:width,height:height});}
1774iv.setTimerPosition();new ImagePreload(iv.defs.images,function(i){var percent=(i*10);preloaderBar.stop().animate({width:percent+'%'});},function(){preloaderBar.stop().animate({width:'100%'},function(){iviewPreloader.remove();iv.startSlider();options.onAfterLoad.call(this);});});iv.sliderContent.bind('swipeleft',function(){if(iv.defs.lock)return false;
1774iv.cleanTimer();iv.goTo('next');}).bind('swiperight',function(){if(iv.defs.lock)return false;iv.cleanTimer();iv.defs.slide-=2;iv.goTo('prev');});if(options.keyboardNav){$(document).bind('keyup.iView',function(event){if(event.keyCode=='37'){if(iv.defs.lock)return false;iv.cleanTimer();iv.defs.slide-=2;iv.goTo('prev');}
1775if(event.keyCode=='39'){if(iv.defs.lock)return false;iv.cleanTimer();iv.goTo('next');}});}
1776iv.iviewTimer.live('click',function(){if(iv.iviewTimer.hasClass('paused')){iv.playSlider();}else{iv.stopSlider();}});iv.sliderContent.bind('leo_pause',function(){iv.stopSlider();});iv.sliderContent.bind('leo_play',function(){iv.playSlider();});iv.sliderContent.bind('leo_previous',function(){if(iv.defs.lock)return false;iv.cleanTimer();iv.defs.slide-=2;iv.goTo('prev');});iv.sliderContent.bind('leo_next',function(){if(iv.defs.lock)return false;iv.cleanTimer();iv.goTo('next');});iv.sliderContent.bind('leo_goSlide',function(event,slide){if(iv.defs.lock||iv.defs.slide==slide)return false;if($(this).hasClass('active'))return false;iv.cleanTimer();if(iv.defs.image.data('leo_background')=='image'){iv.slider.css('background','url("'+iv.defs.image.data('leo_image')+'") no-repeat');iv.slider.css('background-size','100%');}
1777if(iv.defs.image.data('leo_background')=='color'){if(iv.defs.image.data('leo_background_color')!=undefined){iv.slider.css('background-color',iv.defs.image.data('leo_background_color'));}}
1778iv.defs.slide=slide-1;iv.goTo('control');});iv.sliderContent.bind('resize',function(){t=$(this),tW=t.width(),tH=t.height(),width=iv.slider.width(),height=iv.slider.height();if(iv.defs.width!=tW){iv.options.customWidth
1779if(width<=iv.options.customWidth){width=iv.options.customWidth;$('.iviewSlider').width(iv.options.customWidth);}
1780if(tW>iv.options.customWidth+5){$('.iviewSlider').css('width','100%');}
1781var ratio=(tW/width);if(ratio>0.985){ratio=1;}
1782newHeight=Math.round(iv.defs.height*ratio);if(iv.options.rtl==true){iv.slider.css({'-webkit-transform-origin':'100% 0','-moz-transform-origin':'100% 0','-o-transform-origin':'100% 0','-ms-transform-origin':'100% 0','transform-origin':'100% 0','-webkit-transform':'scale('+ratio+')','-moz-transform':'scale('+ratio+')','-o-transform':'scale('+ratio+')','-ms-transform':'scale('+ratio+')','transform':'scale('+ratio+')'});}else{iv.slider.css({'-webkit-transform-origin':'0 0','-moz-transform-origin':'0 0','-o-transform-origin':'0 0','-ms-transform-origin':'0 0','transform-origin':'0 0','-webkit-transform':'scale('+ratio+')','-moz-transform':'scale('+ratio+')','-o-transform':'scale('+ratio+')','-ms-transform':'scale('+ratio+')','transform':'scale('+ratio+')'});}
1783t.css({height:newHeight});iv.defs.width=tW;iv.setTimerPosition();}});$('.iview-video',iv.slider).click(function(e){var t=$(this),video=$('.iview-video-show',t);if(!$(e.target).hasClass('iview-video-close')&&!$(e.target).hasClass('tp-caption')&&!$(e.target).parents().hasClass('tp-caption')){video.show().animate({top:0},1000,'easeOutBounce');iv.sliderContent.trigger('leo_pause');}});$('.iview-video-close',iv.slider).click(function(){var video=$(this).parents('.iview-video-show'),iframe=$('iframe',video),src=iframe.attr('src');iframe.removeAttr('src').attr('src',src);video.animate({top:'-'+iv.defs.height+'px'},1000,'easeOutBounce',function(){video.hide();iv.sliderContent.trigger('leo_play');});});};iView.prototype={timer:null,startSlider:function(){var iv=this;var img=new Image();img.src=iv.slides.eq(0).data('leo_image');imgWidth=img.width;if(imgWidth!=iv.defs.width){iv.defs.width=imgWidth;iv.sliderContent.trigger('resize');}
1784iv.iviewTimer.show();iv.slides.eq(iv.defs.slide).css('display','block');if(iv.defs.image.data('leo_background')=='image'){iv.slider.css('background','url("'+iv.defs.image.data('leo_image')+'") no-repeat');iv.slider.css('background-size','100%');}
1785if(iv.defs.image.data('leo_background')=='color'){if(iv.defs.image.data('leo_background_color')!=undefined){iv.slider.css('background-color',iv.defs.image.data('leo_background_color'));}}
1786iv.setCaption(iv.options);iv.iviewTimer.addClass('paused').attr('title',iv.options.playLabel);
1786if(iv.options.autoAdvance&&iv.defs.total>1){iv.iviewTimer.removeClass('paused').attr('title',iv.options.pauseLabel);iv.setTimer();}
1787if(iv.options.directionNav){iv.sliderContent.append('<div class="iview-directionNav"><a class="iview-prevNav" title="'+iv.options.previousLabel+'">'+iv.options.previousLabel+'</a><a class="iview-nextNav" title="'+iv.options.nextLabel+'">'+iv.options.nextLabel+'</a></div>');$('.iview-directionNav',iv.sliderContent).css({opacity:iv.options.directionNavHoverOpacity});iv.sliderContent.hover(function(){$('.iview-directionNav',iv.sliderContent).stop().animate({opacity:1},300);},function(){$('.iview-directionNav',iv.sliderContent).stop().animate({opacity:iv.options.directionNavHoverOpacity},300);});$('a.iview-prevNav',iv.sliderContent).live('click',function(){if(iv.defs.lock)return false;iv.cleanTimer();iv.defs.slide-=2;iv.goTo('prev');});$('a.iview-nextNav',iv.sliderContent).live('click',function(){if(iv.defs.lock)return false;iv.cleanTimer();iv.goTo('next');});}
1788if(iv.options.controlNav){if(iv.options.controlNavThumbs){var class_navigation='iview-thumbnail';}else{var class_navigation='iview-bullet';}
1789var iviewControl='<div class="iview-controlNav '+class_navigation+'">',iviewTooltip='';if(!iv.options.directionNav&&iv.options.controlNavNextPrev)iviewControl+='<a class="iview-controlPrevNav" title="'+iv.options.previousLabel+'">'+iv.options.previousLabel+'</a>';if(iv.options.customHtmlBullet){iviewControl+='<div class="iview-items customHtmlBullet"><ul>';}else{iviewControl+='<div class="iview-items"><ul>';}
1790for(var i=0;i<iv.defs.total;i++){var slide=iv.slides.eq(i);iviewControl+='<li>';if(iv.options.controlNavThumbs){var thumb=(slide.data('leo_thumbnail'))?slide.data('leo_thumbnail'):slide.data('leo_image');iviewControl+='<a class="iview-control" rel="'+i+'"><img src="'+thumb+'" /></a>';}else{var thumb=(slide.data('leo_thumbnail'))?slide.data('leo_thumbnail'):slide.data('leo_image');var bullet_number='<span>'+(i+1)+'</span>';var bullet_class=iv.getSlideData(slide,'leo_bullet_class');var bullet_description=iv.getSlideData(slide,'leo_bullet_description');iviewControl+='<a class="iview-control '+bullet_class+'" rel="'+i+'">'+bullet_number+' '+bullet_description+'</a>';if(iv.options.controlNavTooltip)iviewTooltip+='<div rel="'+i+'"><img src="'+thumb+'" /></div>';}
1791iviewControl+='</li>';}
1792iviewControl+='</ul></div>';if(!iv.options.directionNav&&iv.options.controlNavNextPrev)iviewControl+='<a class="iview-controlNextNav" title="'+iv.options.nextLabel+'">'+iv.options.nextLabel+'</a>';iviewControl+='</div>';if(!iv.options.controlNavThumbs&&iv.options.controlNavTooltip)iviewControl+='<div class="iview-tooltip"><div class="holder"><div class="container">'+iviewTooltip+'</div></div></div>';iv.sliderContent.append(iviewControl);$('.iview-controlNav a.iview-control:eq('+iv.defs.slide+')',iv.sliderContent).addClass('active');$('a.iview-controlPrevNav',iv.sliderContent).live('click',function(){if(iv.defs.lock)return false;iv.cleanTimer();iv.defs.slide-=2;iv.goTo('prev');});$('a.iview-controlNextNav',iv.sliderContent).live('click',function(){if(iv.defs.lock)return false;iv.cleanTimer();iv.goTo('next');});$('.iview-controlNav a.iview-control',iv.sliderContent).live('click',function(){if(iv.defs.lock)return false;if($(this).hasClass('active'))return false;iv.cleanTimer();if(iv.defs.image.data('leo_background')=='image'){iv.slider.css('background','url("'+iv.defs.image.data('leo_image')+'") no-repeat');iv.slider.css('background-size','100%');}
1793if(iv.defs.image.data('leo_background')=='color'){if(iv.defs.image.data('leo_background_color')!=undefined){iv.slider.css('background-color',iv.defs.image.data('leo_background_color'));}}
1794iv.defs.slide=$(this).attr('rel')-1;iv.goTo('control');});$('.iview-controlNav',iv.sliderContent).css({opacity:iv.options.controlNavHoverOpacity});iv.sliderContent.hover(function(){$('.iview-controlNav',iv.sliderContent).stop().animate({opacity:1},300);iv.sliderContent.addClass('iview-hover');},function(){$('.iview-controlNav',iv.sliderContent).stop().animate({opacity:iv.options.controlNavHoverOpacity},300);iv.sliderContent.removeClass('iview-hover');});var tooltipTimer=null;$('.iview-controlNav a.iview-control',iv.sliderContent).hover(function(e){var t=$(this),i=t.attr('rel'),tooltip=$('.iview-tooltip',iv.sliderContent),holder=$('div.holder',tooltip),x=t.offset().left-iv.sliderContent.offset().left-(tooltip.outerWidth()/2)+iv.options.tooltipX,y=t.offset().top-iv.sliderContent.offset().top-tooltip.outerHeight()+iv.options.tooltipY,imD=$('div[rel='+i+']')
1795scrollLeft=(i*imD.width());tooltip.stop().animate({left:x,top:y,opacity:1},300);if(tooltip.not(':visible'))tooltip.fadeIn(300);holder.stop().animate({scrollLeft:scrollLeft},300);clearTimeout(tooltipTimer);},function(e){var tooltip=$('.iview-tooltip',iv.sliderContent);tooltipTimer=setTimeout(function(){tooltip.animate({opacity:0}
1795,300,function(){tooltip.hide();});},200);});}
1796iv.sliderContent.bind('mouseover.iView mousemove.iView',function(){if(iv.options.pauseOnHover&&!iv.defs.paused)iv.cleanTimer();iv.sliderContent.addClass('iview-hover');}).bind('mouseout.iView',function(){if(iv.options.pauseOnHover&&!iv.defs.paused&&iv.timer==null&&iv.pieDegree<=359&&iv.options.autoAdvance)iv.setTimer();iv.sliderContent.removeClass('iview-hover');});},getSlideData:function(slide,param){var result='';if(slide.data(param)!==undefined){return slide.data(param);}
1797return result;},setCaption:function(){var iv=this,slide=iv.slides.eq(iv.defs.slide),captions=$('.tp-caption',slide),timeEx=0;captions.each(function(i){var caption=$(this),fx=(caption.data('transition'))?$.trim(caption.data('transition').toLowerCase()):"fade",speed=(caption.data('speed'))?caption.data('speed'):iv.options.captionSpeed,easing=(caption.data('easing'))?caption.data('easing'):iv.options.captionEasing,x=(caption.data('x')!="undefined")?caption.data('x'):"center",y=(caption.data('y')!="undefined")?caption.data('y'):"center",w=(caption.data('width'))?caption.data('width'):caption.outerWidth()+1,h=(caption.data('height'))?caption.data('height'):caption.outerHeight(),oW=caption.outerWidth(),oH=caption.outerHeight();if(x=="center")x=((iv.defs.width/2)-(oW/2));if(y=="center")y=((iv.defs.height/2)-(oH/2));var captionContain=$('.caption-contain',caption);caption.css({opacity:0});captionContain.css({opacity:0,position:'relative',width:w,height:h});
1797switch(fx){case"wipedown":caption.css({top:(y-h),left:x});captionContain.css({top:(h+(h*3)),left:0});break;case"wipeup":caption.css({top:(y+h),left:x});captionContain.css({top:(h-(h*3)),left:0});break;case"wiperight":caption.css({top:y,left:(x-w)});captionContain.css({top:0,left:(w+(w*2))});break;case"wipeleft":caption.css({top:y,left:(x+w)});captionContain.css({top:0,left:(w-(w*2))});break;case"fade":caption.css({top:y,left:x});captionContain.css({top:0,left:0});break;case"expanddown":caption.css({top:y,left:x,height:0});captionContain.css({top:(h+(h*3)),left:0});break;case"expandup":caption.css({top:(y+h),left:x,height:0});captionContain.css({top:(h-(h*3)),left:0});break;case"expandright":caption.css({top:y,left:x,width:0});captionContain.css({top:0,left:(w+(w*2))});break;case"expandleft":caption.css({top:y,left:(x+w),width:0});captionContain.css({top:0,left:(w-(w*2))});break;}
1798setTimeout(function(){caption.animate({opacity:iv.options.captionOpacity,top:y,left:x,width:w,height:h},speed,easing,function(){});},timeEx);setTimeout(function(){captionContain.animate({opacity:iv.options.captionOpacity,top:0,left:0},speed,easing);},(timeEx+100));timeEx+=250;});},processTimer:function(){var iv=this;if(iv.defs.timer=="360bar"){var degree=(iv.pieDegree==0)?0:iv.pieDegree+.9;if(iv.timerPath!=undefined){iv.timerPath.attr({arc:[degree,iv.R]});}}else if(iv.defs.timer=="pie"){var degree=(iv.pieDegree==0)?0:iv.pieDegree+.9;if(iv.timerPath!=undefined){iv.pieTimer.attr({segment:[degree,iv.R]});}}else{iv.barTimer.css({width:((iv.pieDegree/360)*100)+'%'});}
1799iv.pieDegree+=3;},transitionEnd:function(iv){iv.options.onAfterChange.call(this);iv.defs.lock=false;iv.slides.css('display','none');iv.slides.eq(iv.defs.slide).show();if(iv.defs.image.data('leo_background')=='image'){iv.slider.css('background','url("'+iv.defs.image.data('leo_image')+'") no-repeat');iv.slider.css('background-size','100%');}
1800if(iv.defs.image.data('leo_background')=='color'){if(iv.defs.image.data('leo_background_color')!=undefined){iv.slider.css('background-color',iv.defs.image.data('leo_background_color'));}}
1801$('.iview-strip, .iview-block','.iviewSlider').remove();iv.defs.time=(iv.defs.image.data('leo_pausetime'))?iv.defs.image.data('leo_pausetime'):iv.options.pauseTime;iv.iviewTimer.animate({opacity:iv.options.timerOpacity});iv.pieDegree=0;iv.processTimer();iv.setCaption(iv.options);if(iv.timer==null&&!iv.defs.paused)iv.timer=setInterval(function(){iv.timerCall(iv);},(iv.defs.time/120));},addStrips:function(vertical,opts){var iv=this;opts=(opts)?opts:iv.options;for(var i=0;i<opts.strips;i++){var stripWidth=Math.round(iv.slider.width()/opts.strips),stripHeight=Math.round(iv.slider.height()/opts.strips),bgPosition='-'+((stripWidth+(i*stripWidth))-stripWidth)+'px 0%',top=((vertical)?(stripHeight*i)+'px':'0px'),left=((vertical)?'0px':(stripWidth*i)+'px');if(vertical)bgPosition='0% -'+((stripHeight+(i*stripHeight))-stripHeight)+'px';if(i==opts.strips-1){var width=((vertical)?'0px':(iv.slider.width()-(stripWidth*i))+'px'),height=((vertical)?(iv.slider.height()-(stripHeight*i))+'px':'0px');}else{var width=((vertical)?'0px':stripWidth+'px'),height=((vertical)?stripHeight+'px':'0px');}
1802if(iv.defs.image.data('leo_background')=='image'){var strip=$('<div class="iview-strip"></div>').css({width:width,height:height,top:top,left:left,background:'url("'+iv.defs.image.data('leo_image')+'") no-repeat '+bgPosition,"background-size":"100%",opacity:0}
1802);}
1803if(iv.defs.image.data('leo_background')=='color'){var strip=$('<div class="iview-strip"></div>').css({width:width,height:height,top:top,left:left,"background-size":"100%",opacity:0});}
1804iv.slider.append(strip);}},addBlocks:function(){var iv=this,blockWidth=Math.round(iv.slider.width()/iv.options.blockCols),blockHeight=Math.round(iv.slider.height()/iv.options.blockRows);for(var rows=0;rows<iv.options.blockRows;rows++){for(var columns=0;columns<iv.options.blockCols;columns++){var top=(rows*blockHeight)+'px',left=(columns*blockWidth)+'px',width=blockWidth+'px',height=blockHeight+'px',bgPosition='-'+((blockWidth+(columns*blockWidth))-blockWidth)+'px -'+((blockHeight+(rows*blockHeight))-blockHeight)+'px';if(columns==iv.options.blockCols-1)width=(iv.slider.width()-(blockWidth*columns))+'px';if(iv.defs.image.data('leo_background')=='image'){var block=$('<div class="iview-block"></div>').css({width:blockWidth+'px',height:blockHeight+'px',top:(rows*blockHeight)+'px',left:(columns*blockWidth)+'px',background:'url("'+iv.defs.image.data('leo_image')+'") no-repeat '+bgPosition,"background-size":"100%",opacity:0}
1804);}
1805if(iv.defs.image.data('leo_background')=='color'){var block=$('<div class="iview-block"></div>').css({width:blockWidth+'px',height:blockHeight+'px',top:(rows*blockHeight)+'px',left:(columns*blockWidth)+'px',background:'url("'+iv.defs.image.data('leo_image')+'") no-repeat '+bgPosition,"background-size":"100%",opacity:0});}
1806iv.slider.append(block);}}},runTransition:function(fx){var iv=this;switch(fx){case'strip-up-right':case'strip-up-left':iv.addStrips();var timeDelay=0;i=0,strips=$('.iview-strip',iv.slider);if(fx=='strip-up-left')strips=$('.iview-strip',iv.slider).reverse();strips.each(function(){var strip=$(this);strip.css({top:'',bottom:'0px'});setTimeout(function(){strip.animate({height:'100%',opacity:'1.0'},iv.options.animationSpeed,iv.defs.easing,function(){if(i==iv.options.strips-1)iv.transitionEnd(iv);i++;});},(100+timeDelay));timeDelay+=50;});break;case'strip-down':case'strip-down-right':case'strip-down-left':iv.addStrips();var timeDelay=0,i=0,strips=$('.iview-strip',iv.slider);if(fx=='strip-down-left')strips=$('.iview-strip',iv.slider).reverse();strips.each(function(){var strip=$(this);strip.css({bottom:'',top:'0px'});setTimeout(function(){strip.animate({height:'100%',opacity:'1.0'},iv.options.animationSpeed,iv.defs.easing,function(){if(i==iv.options.strips-1)iv.transitionEnd(iv);i++;});},(100+timeDelay));timeDelay+=50;});break;case'strip-left-right':case'strip-left-right-up':case'strip-left-right-down':iv.addStrips(true);var timeDelay=0,i=0,v=0,strips=$('.iview-strip',iv.slider);if(fx=='strip-left-right-down')strips=$('.iview-strip',iv.slider).reverse();strips.each(function(){var strip=$(this);if(i==0){strip.css({right:'',left:'0px'});i++;}else{strip.css({left:'',right:'0px'});i=0;}
1807setTimeout(function(){strip.animate({width:'100%',opacity:'1.0'},iv.options.animationSpeed,iv.defs.easing,function(){if(v==iv.options.strips-1)iv.transitionEnd(iv);v++;});},(100+timeDelay));timeDelay+=50;});break;case'strip-up-down':case'strip-up-down-right':case'strip-up-down-left':iv.addStrips();var timeDelay=0,i=0,v=0,strips=$('.iview-strip',iv.slider);if(fx=='strip-up-down-left')strips=$('.iview-strip',iv.slider).reverse();strips.each(function(){var strip=$(this);if(i==0){strip.css({bottom:'',top:'0px'});i++;}else{strip.css({top:'',bottom:'0px'});i=0;}
1808setTimeout(function(){strip.animate({height:'100%',opacity:'1.0'},iv.options.animationSpeed,iv.defs.easing,function(){if(v==iv.options.strips-1)iv.transitionEnd(iv);v++;});},(100+timeDelay));timeDelay+=50;});break;case'left-curtain':case'right-curtain':case'top-curtain':case'bottom-curtain':if(fx=='left-curtain'||fx=='right-curtain')iv.addStrips();else iv.addStrips(true);var timeDelay=0,i=0,strips=$('.iview-strip',iv.slider);if(fx=='right-curtain'||fx=='bottom-curtain')strips=$('.iview-strip',iv.slider).reverse();strips.each(function(){var strip=$(this);var width=strip.width();var height=strip.height();if(fx=='left-curtain'||fx=='right-curtain')strip.css({top:'0px',height:'100%',width:'0px'});else strip.css({left:'0px',height:'0px',width:'100%'});setTimeout(function(){if(fx=='left-curtain'||fx=='right-curtain')strip.animate({width:width,opacity:'1.0'},iv.options.animationSpeed,iv.defs.easing,function(){if(i==iv.options.strips-1)iv.transitionEnd(iv);i++;});else strip.animate({height:height,opacity:'1.0'},iv.options.animationSpeed,iv.defs.easing,function(){if(i==iv.options.strips-1)iv.transitionEnd(iv);i++;});},(100+timeDelay));timeDelay+=50;});break;case'strip-up-right':case'strip-up-left':iv.addStrips();var timeDelay=0,i=0,strips=$('.iview-strip',iv.slider);if(fx=='strip-up-left')strips=$('.iview-strip',iv.slider).reverse();strips.each(function(){var strip=$(this);strip.css({'bottom':'0px'});setTimeout(function(){strip.animate({height:'100%',opacity:'1.0'},iv.options.animationSpeed,iv.defs.easing,function(){if(i==iv.options.strips-1)iv.transitionEnd(iv);i++;});},(100+timeDelay));timeDelay+=50;});break;case'strip-left-fade':case'strip-right-fade':case'strip-top-fade':case'strip-bottom-fade':if(fx=='strip-left-fade'||fx=='strip-right-fade')iv.addStrips();else iv.addStrips(true);var timeDelay=0,i=0,strips=$('.iview-strip',iv.slider);if(fx=='strip-right-fade'||fx=='strip-bottom-fade')strips=$('.iview-strip',iv.slider).reverse();strips.each(function(){var strip=$(this);var width=strip.width();var height=strip.height();if(fx=='strip-left-fade'||fx=='strip-right-fade')strip.css({top:'0px',height:'100%',width:width});
1808else strip.css({left:'0px',height:height,width:'100%'});setTimeout(function(){strip.animate({opacity:'1.0'},iv.options.animationSpeed*1.7,iv.defs.easing,function(){if(i==iv.options.strips-1)iv.transitionEnd(iv);i++;});},(100+timeDelay));timeDelay+=35;});break;case'slide-in-up':case'slide-in-down':opts={strips:1};iv.addStrips(false,opts);var strip=$('.iview-strip:first',iv.slider),top=0;if(fx=='slide-in-up')top='-'+iv.defs.height+'px';else top=iv.defs.height+'px';strip.css({top:top,'height':'100%','width':'100%',});strip.animate({'top':'0px',opacity:1},(iv.options.animationSpeed*2),iv.defs.easing,function(){iv.transitionEnd(iv);});break;case'zigzag-top':case'zigzag-bottom':case'zigzag-grow-top':case'zigzag-grow-bottom':case'zigzag-drop-top':case'zigzag-drop-bottom':iv.addBlocks();var totalBlocks=(iv.options.blockCols*iv.options.blockRows),timeDelay=0,blockToArr=new Array(),blocks=$('.iview-block',iv.slider);for(var rows=0;rows<iv.options.blockRows;rows++){var odd=(rows%2),start=(rows*iv.options.blockCols),end=((rows+1)*iv.options.blockCols);if(odd==1){for(var columns=end-1;columns>=start;columns--){blockToArr.push($(blocks[columns]));}}else{for(var columns=start;columns<end;columns++){blockToArr.push($(blocks[columns]));}}}
1809if(fx=='zigzag-bottom'||fx=='zigzag-grow-bottom'||fx=='zigzag-drop-bottom')blockToArr.reverse();blocks.each(function(i){var block=$(blockToArr[i]),h=block.height(),w=block.width(),top=block.css('top');if(fx=='zigzag-grow-top'||fx=='zigzag-grow-bottom')block.width(0).height(0);else if(fx=='zigzag-drop-top'||fx=='zigzag-drop-bottom')block.css({top:'-=50'});setTimeout(function(){if(fx=='zigzag-grow-top'||fx=='zigzag-grow-bottom')block.animate({opacity:'1',height:h,width:w},iv.options.animationSpeed,iv.defs.easing,function(){if(i==totalBlocks-1)iv.transitionEnd(iv);});else if(fx=='zigzag-drop-top'||fx=='zigzag-drop-bottom')block.animate({top:top,opacity:'1'},iv.options.animationSpeed,iv.defs.easing,function(){if(i==totalBlocks-1)iv.transitionEnd(iv);});else block.animate({opacity:'1'},(iv.options.animationSpeed*2),'easeInOutExpo',function(){if(i==totalBlocks-1)iv.transitionEnd(iv);});},(100+timeDelay));timeDelay+=20;});break;case'block-fade':case'block-fade-reverse':case'block-expand':case'block-expand-reverse':iv.addBlocks();var totalBlocks=(iv.options.blockCols*iv.options.blockRows),i=0,timeDelay=0;var rowIndex=0;var colIndex=0;var blockToArr=new Array();blockToArr[rowIndex]=new Array();var blocks=$('.iview-block',iv.slider);if(fx=='block-fade-reverse'||fx=='block-expand-reverse'){blocks=$('.iview-block',iv.slider).reverse();}
1810blocks.each(function(){blockToArr[rowIndex][colIndex]=$(this);colIndex++;if(colIndex==iv.options.blockCols){rowIndex++;colIndex=0;blockToArr[rowIndex]=new Array();}});for(var columns=0;columns<(iv.options.blockCols*2);columns++){var Col=columns;for(var rows=0;rows<iv.options.blockRows;rows++){if(Col>=0&&Col<iv.options.blockCols){(function(){var block=$(blockToArr[rows][Col]);var w=block.width();var h=block.height();if(fx=='block-expand'||fx=='block-expand-reverse'){block.width(0).height(0);}
1811setTimeout(function(){block.animate({opacity:'1',width:w,height:h},iv.options.animationSpeed/1.3,iv.defs.easing,function(){if(i==totalBlocks-1)iv.transitionEnd(iv);i++;});},(100+timeDelay));})();}
1812Col--;}
1813timeDelay+=100;}
1814break;case'block-random':case'block-expand-random':case'block-drop-random':iv.addBlocks();var totalBlocks=(iv.options.blockCols*iv.options.blockRows),timeDelay=0;var blocks=iv.shuffle($('.iview-block',iv.slider));blocks.each(function(i){var block=$(this),h=block.height(),w=block.width(),top=block.css('top');if(fx=='block-expand-random')block.width(0).height(0);if(fx=='block-drop-random')block.css({top:'-=50'});setTimeout(function(){block.animate({top:top,opacity:'1',height:h,width:w},iv.options.animationSpeed,iv.defs.easing,function(){if(i==totalBlocks-1)iv.transitionEnd(iv);});},(100+timeDelay));timeDelay+=20;});break;case'slide-in-right':case'slide-in-left':case'fade':default:opts={strips:1};iv.addStrips(false,opts);var strip=$('.iview-strip:first',iv.slider);strip.css({'height':'100%','width':'100%',});if(fx=='slide-in-right')strip.css({'height':'100%','width':'100%','left':iv.defs.width+'px','right':''});else if(fx=='slide-in-left')strip.css({'left':'-'+iv.defs.width+'px'});strip.animate({left:'0px',opacity:1},(iv.options.animationSpeed*2),iv.defs.easing,function(){iv.transitionEnd(iv);});break;}},shuffle:function(oldArray){var newArray=oldArray.slice();var len=newArray.length;var i=len;while(i--){var p=parseInt(Math.random()*len);var t=newArray[i];newArray[i]=newArray[p];newArray[p]=t;}
1815return newArray;},timerCall:function(iv){iv.processTimer();if(iv.pieDegree>
1815=360){iv.cleanTimer();iv.goTo(false);}},setTimer:function(){var iv=this;iv.timer=setInterval(function(){iv.timerCall(iv);},(iv.defs.time/120));},cleanTimer:function(){var iv=this;clearInterval(iv.timer);iv.timer=null;},goTo:function(action){var iv=this;if(iv.defs&&(iv.defs.slide==iv.defs.total-1)){iv.options.onLastSlide.call(this);}
1816iv.cleanTimer();iv.iviewTimer.animate({opacity:0});iv.options.onBeforeChange.call(this);if(!action){if(iv.defs.image.data('leo_background')=='image'){iv.slider.css('background','url("'+iv.defs.image.data('leo_image')+'") no-repeat');iv.slider.css('background-size','100%');}
1817if(iv.defs.image.data('leo_background')=='color'){if(iv.defs.image.data('leo_background_color')!=undefined){iv.slider.css('background-color',iv.defs.image.data('leo_background_color'));}}}else{if(action=='prev'||action=='next'){if(iv.defs.image.data('leo_background')=='image'){iv.slider.css('background','url("'+iv.defs.image.data('leo_image')+'") no-repeat');iv.slider.css('background-size','100%');}
1818if(iv.defs.image.data('leo_background')=='color'){if(iv.defs.image.data('leo_background_color')!=undefined){iv.slider.css('background-color',iv.defs.image.data('leo_background_color'));}}}}
1819iv.defs.slide++;if(iv.defs.slide==iv.defs.total){iv.defs.slide=0;iv.options.onSlideShowEnd.call(this);}
1820if(iv.defs.slide<0)iv.defs.slide=(iv.defs.total-1);iv.defs.image=iv.slides.eq(iv.defs.slide);if(iv.options.timer_show==1)
1821{iv.playSlider();$('.iview-timer').hide();}
1822if(iv.options.timer_show==2)
1823{iv.stopSlider();$('.iview-timer').hide();}
1824if(iv.options.timer_show==3)
1825{$('.iview-timer').show();iv.playSlider();}
1826if(iv.defs.image.data('leo_type')=="video")
1827{$('.iview-video',iv.slider).trigger('click');$('.iview-video-close').hide();$('.iview-timer').hide();}
1828if(iv.defs.image.data('autoplay')==true)
1829{var current_video=$('.iviewSlider').children().eq(iv.defs.slide);var video_src=$("iframe",current_video).attr('src');$("iframe",current_video).attr('src',video_src+'&autoplay=1');}
1830if(iv.options.controlNav){$('.iview-controlNav a.iview-control',iv.sliderContent).removeClass('active');$('.iview-controlNav a.iview-control:eq('+iv.defs.slide+')',iv.sliderContent).addClass('active');}
1831var fx=iv.options.fx;if(iv.options.fx.toLowerCase()=='random'){var transitions=new Array('left-curtain','right-curtain','top-curtain','bottom-curtain','strip-down-right','strip-down-left','strip-up-right','strip-up-left','strip-up-down','strip-up-down-left','strip-left-right','strip-left-right-down','slide-in-right','slide-in-left','slide-in-up','slide-in-down','fade','strip-left-fade','strip-right-fade','strip-top-fade','strip-bottom-fade');fx=transitions[Math.floor(Math.random()*(transitions.length+1))];if(fx==undefined)fx='fade';fx=$.trim(fx.toLowerCase());}
1832if(iv.options.fx.indexOf(',')!=-1){var transitions=iv.options.fx.split(',');fx=transitions[Math.floor(Math.random()*(transitions.length))];if(fx==undefined)fx='fade';fx=$.trim(fx.toLowerCase());}
1833if(iv.defs.image.data('leo_transition')){var transitions=iv.defs.image.data('leo_transition').split(',');fx=transitions[Math.floor(Math.random()*(transitions.length))];fx=$.trim(fx.toLowerCase());}
1834iv.defs.easing=(iv.defs.image.data('leo_easing'))?iv.defs.image.data('leo_easing'):iv.options.easing;iv.defs.lock=true;iv.runTransition(fx);},playSlider:function(){var iv=this;if(iv.timer==null&&iv.defs.paused){iv.iviewTimer.removeClass('paused').attr('title',iv.options.pauseLabel);iv.setTimer();iv.defs.paused=false;iv.options.onPlay.call(this);}},stopSlider:function(){var iv=this;iv.iviewTimer.addClass('paused').attr('title',iv.options.playLabel);iv.cleanTimer();iv.defs.paused=true;iv.options.onPause.call(this);},setTimerPosition:function(){var iv=this,position=iv.options.timerPosition.toLowerCase().split('-');for(var i=0;i<position.length;i++){if(position[i]=='top'){iv.iviewTimer.css({top:iv.options.timerY+'px',bottom:''});}else if(position[i]=='middle'){iv.iviewTimer.css({top:(iv.options.timerY+(iv.defs.height/2)-(iv.options.timerDiameter/2))+'px',bottom:''});}else if(position[i]=='bottom'){iv.iviewTimer.css({bottom:iv.options.timerY+'px',top:''});}else if(position[i]=='left'){iv.iviewTimer.css({left:iv.options.timerX+'px',right:''});}else if(position[i]=='center'){iv.iviewTimer.css({left:(iv.options.timerX+(iv.defs.width/2)-(iv.options.timerDiameter/2))+'px',right:''});}else if(position[i]=='right'){iv.iviewTimer.css({right:iv.options.timerX+'px',left:''});}}},disableSelection:function(target){if(typeof target.onselectstart!="undefined")target.onselectstart=function(){return false;};else if(typeof target.style.MozUserSelect!="undefined")target.style.MozUserSelect="none";else if(typeof target.style.webkitUserSelect!="undefined")target.style.webkitUserSelect="none";else if(typeof target.style.userSelect!="undefined")target.style.userSelect="none";else target.onmousedown=function(){return false;};target.unselectable="on";},isTouch:function(){return!!('ontouchstart'in window);}};var ImagePreload=function(p_aImages,p_pfnPercent,p_pfnFinished){this.m_pfnPercent=p_pfnPercent;this.m_pfnFinished=p_pfnFinished;this.m_nLoaded=0;this.m_nProcessed=0;this.m_aImages=new Array;this.m_nICount=p_aImages.length;for(var i=0;i<p_aImages.length;i++)this.Preload(p_aImages[i])};ImagePreload.prototype={Preload:function(p_oImage){var oImage=new Image;this.m_aImages.push(oImage);oImage.onload=ImagePreload.prototype.OnLoad;oImage.onerror=ImagePreload.prototype.OnError;oImage.onabort=ImagePreload.prototype.OnAbort;oImage.oImagePreload=this;oImage.bLoaded=false;oImage.source=p_oImage;oImage.src=p_oImage},OnComplete:function(){this.m_nProcessed++;if(this.m_nProcessed==this.m_nICount)this.m_pfnFinished();else this.m_pfnPercent(Math.round((this.m_nProcessed/this.m_nICount)*10))},OnLoad:function(){this.bLoaded=true;this.oImagePreload.m_nLoaded++;this.oImagePreload.OnComplete()},OnError:function(){this.bError=true;this.oImagePreload.OnComplete()},OnAbort:function(){this.bAbort=true;this.oImagePreload.OnComplete()}}
1835$.fn.iView=function(options){options=jQuery.extend({fx:'random',easing:'easeOutQuad',strips:20,blockCols:10,blockRows:5,animationSpeed:500,pauseTime:5000,startSlide:0,directionNav:true,directionNavHoverOpacity:0.6,controlNav:false,controlNavNextPrev:true,controlNavHoverOpacity:0.6,controlNavThumbs:false,controlNavTooltip:true,captionSpeed:500,captionEasing:'easeInOutSine',captionOpacity:1,autoAdvance:true,keyboardNav:true,touchNav:true,pauseOnHover:false,nextLabel:"Next",previousLabel:"Previous",playLabel:"Play",pauseLabel:"Pause",closeLabel:"Close",randomStart:false,timer:'Pie',timerBg:'#000',timerColor:'#EEE',timerOpacity:0.5,timerDiameter:30,timerPadding:4,timerStroke:3,timerBarStroke:1,timerBarStrokeColor:'#EEE',timerBarStrokeStyle:'solid',timerPosition:'top-right',timerX:10,timerY:10,tooltipX:5,tooltipY:-5,onBeforeChange:function(){},onAfterChange:function(){},onAfterLoad:function(){},onLastSlide:function(){},onSlideShowEnd:function(){},onPause:function(){},onPlay:function(){}},options);$(this).each(function(){var el=$(this);new iView(el,options);});};$.fn.reverse=[].reverse;var elems=$([]),jq_resize=$.resize=$.extend($.resize,{}),timeout_id,str_setTimeout="setTimeout",str_resize="resize",str_data=str_resize+"-special-event",str_delay="delay",str_throttle="throttleWindow";jq_resize[str_delay]=250;jq_resize[str_throttle]=true;$.event.special[str_resize]={setup:function(){if(!jq_resize[str_throttle]&&this[str_setTimeout]){return false}
1836var elem=$(this);elems=elems.add(elem);$.data(this,str_data,{w:elem.width(),h:elem.height()});if(elems.length===1){loopy()}},teardown:function(){if(!jq_resize[str_throttle]&&this[str_setTimeout]){return false}
1837var elem=$(this);elems=elems.not(elem);elem.removeData(str_data);if(!elems.length){clearTimeout(timeout_id)}},add:function(handleObj){if(!jq_resize[str_throttle]&&this[str_setTimeout]){return false}
1838var old_handler;function new_handler(e,w,h){var elem=$(this),data=$.data(this,str_data);
1838if(data!==undefined){data.w=w!==undefined?w:elem.width();data.h=h!==undefined?h:elem.height();}
1839old_handler.apply(this,arguments)}
1840if($.isFunction(handleObj)){old_handler=handleObj;return new_handler}else{old_handler=handleObj.handler;handleObj.handler=new_handler}}};function loopy(){timeout_id=window[str_setTimeout](function(){elems.each(function(){var elem=$(this),width=elem.width(),height=elem.height(),data=$.data(this,str_data);if(width!==data.w||height!==data.h){elem.trigger(str_resize,[data.w=width,data.h=height])}});loopy()},jq_resize[str_delay])}
1841var supportTouch=!!('ontouchstart'in window),touchStartEvent=supportTouch?"touchstart":"mousedown",touchStopEvent=supportTouch?"touchend":"mouseup",touchMoveEvent=supportTouch?"touchmove":"mousemove";$.event.special.swipe={scrollSupressionThreshold:10,durationThreshold:1000,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,setup:function(){var thisObject=this,$this=$(thisObject);$this.bind(touchStartEvent,function(event){var data=event.originalEvent.touches?event.originalEvent.touches[0]:event,start={time:(new Date()).getTime(),coords:[data.pageX,data.pageY],origin:$(event.target)},stop;function moveHandler(event){if(!start){return;}
1842var data=event.originalEvent.touches?event.originalEvent.touches[0]:event;stop={time:(new Date()).getTime(),coords:[data.pageX,data.pageY]};if(Math.abs(start.coords[0]-stop.coords[0])>$.event.special.swipe.scrollSupressionThreshold){event.preventDefault();}}
1843$this.bind(touchMoveEvent,moveHandler).one(touchStopEvent,function(event){$this.unbind(touchMoveEvent,moveHandler);if(start&&stop){if(stop.time-start.time<$.event.special.swipe.durationThreshold&&Math.abs(start.coords[0]-stop.coords[0])>$.event.special.swipe.horizontalDistanceThreshold&&Math.abs(start.coords[1]-stop.coords[1])<$.event.special.swipe.verticalDistanceThreshold){start.origin.trigger("swipe").trigger(start.coords[0]>stop.coords[0]?"swipeleft":"swiperight");}}
1844start=stop=undefined;});});}};$.each({swipeleft:"swipe",swiperight:"swipe"},function(event,sourceEvent){$.event.special[event]={setup:function(){$(this).bind(sourceEvent,$.noop);}};});})(jQuery,this);;if(typeof LS_Meta==='object'&&LS_Meta.fixGSAP){var LS_oldGS=window.GreenSockGlobals,LS_oldGSQueue=window._gsQueue,LS_oldGSDefine=window._gsDefine;window._gsDefine=null,delete window._gsDefine;var LS_GSAP=window.GreenSockGlobals={};}
1845var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(a,b,c){var d=function(a){var b,c=[],d=a.length;for(b=0;b!==d;c.push(a[b++]));return c},e=function(a,b,c){var d,e,f=a.cycle;for(d in f)e=f[d],a[d]="function"==typeof e?e(c,b[c]):e[c%e.length];delete a.cycle},f=function(a,b,d){c.call(this,a,b,d),this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=f.prototype.render},g=1e-10,h=c._internals,i=h.isSelector,j=h.isArray,k=f.prototype=c.to({},.1,{}),l=[];f.version="1.19.0",k.constructor=f,k.kill()._gc=!1,f.killTweensOf=f.killDelayedCallsTo=c.killTweensOf,f.getTweensOf=c.getTweensOf,f.lagSmoothing=c.lagSmoothing,f.ticker=c.ticker,f.render=c.render,k.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),c.prototype.invalidate.call(this)},k.updateTo=function(a,b){var d,e=this.ratio,f=this.vars.immediateRender||a.immediateRender;b&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(d in a)this.vars[d]=a[d];if(this._initted||f)if(b)this._initted=!1,f&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&c._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var g=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(g,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||f)for(var h,i=1/(1-e),j=this._firstPT;j;)h=j.s+j.c,j.c*=i,j.s=h-j.c,j=j._next;return this},k.render=function(a,b,c){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var d,e,f,i,j,k,l,m,n=this._dirty?this.totalDuration():this._totalDuration,o=this._time,p=this._totalTime,q=this._cycle,r=this._duration,s=this._rawPrevTime;if(a>=n-1e-7?(this._totalTime=n,this._cycle=this._repeat,this._yoyo&&0!==(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=r,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(d=!0,e="onComplete",c=c||this._timeline.autoRemoveChildren),0===r&&(this._initted||!this.vars.lazy||c)&&(this._startTime===this._timeline._duration&&(a=0),(0>s||0>=a&&a>=-1e-7||s===g&&"isPause"!==this.data)&&s!==a&&(c=!0,s>g&&(e="onReverseComplete")),this._rawPrevTime=m=!b||a||s===a?a:g)):1e-7>a?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==p||0===r&&s>0)&&(e="onReverseComplete",d=this._reversed),0>a&&(this._active=!1,0===r&&(this._initted||!this.vars.lazy||c)&&(s>=0&&(c=!0),this._rawPrevTime=m=!b||a||s===a?a:g)),this._initted||(c=!0)):(this._totalTime=this._time=a,0!==this._repeat&&(i=r+this._repeatDelay,this._cycle=this._totalTime/i>>0,0!==this._cycle&&this._cycle===this._totalTime/i&&a>=p&&this._cycle--,this._time=this._totalTime-this._cycle*i,this._yoyo&&0!==(1&this._cycle)&&(this._time=r-this._time),this._time>r?this._time=r:this._time<0&&(this._time=0)),this._easeType?(j=this._time/r,k=this._easeType,l=this._easePower,(1===k||3===k&&j>=.5)&&(j=1-j),3===k&&(j*=2),1===l?j*=j:2===l?j*=j*j:3===l?j*=j*j*j:4===l&&(j*=j*j*j*j),1===k?this.ratio=1-j:2===k?this.ratio=j:this._time/r<.5?this.ratio=j/2:this.ratio=1-j/2):this.ratio=this._ease.getRatio(this._time/r)),o===this._time&&!c&&q===this._cycle)return void(p!==this._totalTime&&this._onUpdate&&(b||this._callback("onUp
1845date")));if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!c&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=o,this._totalTime=p,this._rawPrevTime=s,this._cycle=q,h.lazyTweens.push(this),void(this._lazy=[a,b]);this._time&&!d?this.ratio=this._ease.getRatio(this._time/r):d&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&a>=0&&(this._active=!0),0===p&&(2===this._initted&&a>0&&this._init(),this._startAt&&(a>=0?this._startAt.render(a,b,c):e||(e="_dummyGS")),this.vars.onStart&&(0!==this._totalTime||0===r)&&(b||this._callback("onStart"))),f=this._firstPT;f;)f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next;this._onUpdate&&(0>a&&this._startAt&&this._startTime&&this._startAt.render(a,b,c),b||(this._totalTime!==p||e)&&this._callback("onUpdate")),this._cycle!==q&&(b||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),e&&(!this._gc||c)&&(0>a&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(a,b,c),d&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this._callback(e),0===r&&this._rawPrevTime===g&&m!==g&&(this._rawPrevTime=0))},f.to=function(a,b,c){return new f(a,b,c)},f.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,new f(a,b,c)},f.fromTo=function(a,b,c,d){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,new f(a,b,d)},f.staggerTo=f.allTo=function(a,b,g,h,k,m,n){h=h||0;var o,p,q,r,s=0,t=[],u=function(){g.onComplete&&g.onComplete.apply(g.onCompleteScope||this,arguments),k.apply(n||g.callbackScope||this,m||l)},v=g.cycle,w=g.startAt&&g.startAt.cycle;for(j(a)||("string"==typeof a&&(a=c.selector(a)||a),i(a)&&(a=d(a))),a=a||[],0>h&&(a=d(a),a.reverse(),h*=-1),o=a.length-1,q=0;o>=q;q++){p={};for(r in g)p[r]=g[r];if(v&&(e(p,a,q),null!=p.duration&&(b=p.duration,delete p.duration)),w){w=p.startAt={};for(r in g.startAt)w[r]=g.startAt[r];e(p.startAt,a,q)}p.delay=s+(p.delay||0),q===o&&k&&(p.onComplete=u),t[q]=new f(a[q],b,p),s+=h}return t},f.staggerFrom=f.allFrom=function(a,b,c,d,e,g,h){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,f.staggerTo(a,b,c,d,e,g,h)},f.staggerFromTo=f.allFromTo=function(a,b,c,d,e,g,h,i){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,f.staggerTo(a,b,d,e,g,h,i)},f.delayedCall=function(a,b,c,d,e){return new f(b,0,{delay:a,onComplete:b,onCompleteParams:c,callbackScope:d,onReverseComplete:b,onReverseCompleteParams:c,immediateRender:!1,useFrames:e,overwrite:0})},f.set=function(a,b){return new f(a,0,b)},f.isTweening=function(a){return c.getTweensOf(a,!0).length>0};var m=function(a,b){for(var d=[],e=0,f=a._first;f;)f instanceof c?d[e++]=f:(b&&(d[e++]=f),d=d.concat(m(f,b)),e=d.length),f=f._next;return d},n=f.getAllTweens=function(b){return m(a._rootTimeline,b).concat(m(a._rootFramesTimeline,b))};f.killAll=function(a,c,d,e){null==c&&(c=!0),null==d&&(d=!0);var f,g,h,i=n(0!=e),j=i.length,k=c&&d&&e;for(h=0;j>h;h++)g=i[h],(k||g instanceof b||(f=g.target===g.vars.onComplete)&&d||c&&!f)&&(a?g.totalTime(g._reversed?0:g.totalDuration()):g._enabled(!1,!1))},f.killChildTweensOf=function(a,b){if(null!=a){var e,g,k,l,m,n=h.tweenLookup;if("string"==typeof a&&(a=c.selector(a)||a),i(a)&&(a=d(a)),j(a))for(l=a.length;--l>-1;)f.killChildTweensOf(a[l],b);else{e=[];for(k in n)for(g=n[k].target.parentNode;g;)g===a&&(e=e.concat(n[k].tweens)),g=g.parentNode;for(m=e.length,l=0;m>l;l++)b&&e[l].totalTime(e[l].totalDuration()),e[l]._enabled(!1,!1)}}};var o=function(a,c,d,e){c=c!==!1,d=d!==!1,e=e!==!1;for(var f,g,h=n(e),i=c&&d&&e,j=h.length;--j>-1;)g=h[j],(i||g instanceof b||(f=g.target===g.vars.onComplete)&&d||c&&!f)&&g.paused(a)};return f.pauseAll=function(a,b,c){o(!0,a,b,c)},f.resumeAll=function(a,b,c){o(!1,a,b,c)},f.globalTimeScale=function(b){var d=a._rootTimeline,e=c.ticker.time;return arguments.length?(b=b||g,d._startTime=e-(e-d._startTime)*d._timeScale/b,d=a._rootFramesTimeline,e=c.ticker.frame,d._startTime=e-(e-d._startTime)*d._timeScale/b,d._timeScale=a._rootTimeline._timeScale=b,b):d._timeScale},k.progress=function(a,b){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),b):this._time/this.duration()},k.totalProgress=function(a,b){return arguments.length?this.totalTime(this.totalDuration()*a,b):this._totalTime/this.totalDuration()},k.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),a>this._duration&&(a=this._duration),this._yoyo&&0!==(1&this._cycle)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(a,b)):this._time},k.duration=function(b){return arguments.length?a.prototype.duration.call(this,b):this._duration},k.totalDuration=function(a){return arguments.length?-1===this._repeat?this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},k.repeat=function(a){return arguments.length?(this._repeat=a,this._uncache(!0)):this._repeat},k.repeatDelay=function(a){return arguments.length?(this._repeatDelay=a,this._uncache(!0)):this._repeatDelay},k.yoyo=function(a){return arguments.length?(this._yoyo=a,this):this._yoyo},f},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(a,b,c){var d=function(a){b.call(this,a),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUp
vendor: 8,080 bytes, line 1845
1845date;var c,d,e=this.vars;for(d in e)c=e[d],i(c)&&-1!==c.join("").indexOf("{self}")&&(e[d]=this._swapSelfInParams(c));i(e.tweens)&&this.add(e.tweens,0,e.align,e.stagger)},e=1e-10,f=c._internals,g=d._internals={},h=f.isSelector,i=f.isArray,j=f.lazyTweens,k=f.lazyRender,l=_gsScope._gsDefine.globals,m=function(a){var b,c={};for(b in a)c[b]=a[b];return c},n=function(a,b,c){var d,e,f=a.cycle;for(d in f)e=f[d],a[d]="function"==typeof e?e.call(b[c],c):e[c%e.length];delete a.cycle},o=g.pauseCallback=function(){},p=function(a){var b,c=[],d=a.length;for(b=0;b!==d;c.push(a[b++]));return c},q=d.prototype=new b;return d.version="1.19.0",q.constructor=d,q.kill()._gc=q._forcingPlayhead=q._hasPause=!1,q.to=function(a,b,d,e){var f=d.repeat&&l.TweenMax||c;return b?this.add(new f(a,b,d),e):this.set(a,d,e)},q.from=function(a,b,d,e){return this.add((d.repeat&&l.TweenMax||c).from(a,b,d),e)},q.fromTo=function(a,b,d,e,f){var g=e.repeat&&l.TweenMax||c;return b?this.add(g.fromTo(a,b,d,e),f):this.set(a,e,f)},q.staggerTo=function(a,b,e,f,g,i,j,k){var l,o,q=new d({onComplete:i,onCompleteParams:j,callbackScope:k,smoothChildTiming:this.smoothChildTiming}),r=e.cycle;for("string"==typeof a&&(a=c.selector(a)||a),a=a||[],h(a)&&(a=p(a)),f=f||0,0>f&&(a=p(a),a.reverse(),f*=-1),o=0;o<a.length;o++)l=m(e),l.startAt&&(l.startAt=m(l.startAt),l.startAt.cycle&&n(l.startAt,a,o)),r&&(n(l,a,o),null!=l.duration&&(b=l.duration,delete l.duration)),q.to(a[o],b,l,o*f);return this.add(q,g)},q.staggerFrom=function(a,b,c,d,e,f,g,h){return c.immediateRender=0!=c.immediateRender,c.runBackwards=!0,this.staggerTo(a,b,c,d,e,f,g,h)},q.staggerFromTo=function(a,b,c,d,e,f,g,h,i){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,this.staggerTo(a,b,d,e,f,g,h,i)},q.call=function(a,b,d,e){return this.add(c.delayedCall(0,a,b,d),e)},q.set=function(a,b,d){return d=this._parseTimeOrLabel(d,0,!0),null==b.immediateRender&&(b.immediateRender=d===this._time&&!this._paused),this.add(new c(a,0,b),d)},d.exportRoot=function(a,b){a=a||{},null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var e,f,g=new d(a),h=g._timeline;for(null==b&&(b=!0),h._remove(g,!0),g._startTime=0,g._rawPrevTime=g._time=g._totalTime=h._time,e=h._first;e;)f=e._next,b&&e instanceof c&&e.target===e.vars.onComplete||g.add(e,e._startTime-e._delay),e=f;return h.add(g,0),g},q.add=function(e,f,g,h){var j,k,l,m,n,o;if("number"!=typeof f&&(f=this._parseTimeOrLabel(f,0,!0,e)),!(e instanceof a)){if(e instanceof Array||e&&e.push&&i(e)){for(g=g||"normal",h=h||0,j=f,k=e.length,l=0;k>l;l++)i(m=e[l])&&(m=new d({tweens:m})),this.add(m,j),"string"!=typeof m&&"function"!=typeof m&&("sequence"===g?j=m._startTime+m.totalDuration()/m._timeScale:"start"===g&&(m._startTime-=m.delay())),j+=h;return this._uncache(!0)}if("string"==typeof e)return this.addLabel(e,f);if("function"!=typeof e)throw"Cannot add "+e+" into the timeline; it is not a tween, timeline, function, or string.";e=c.delayedCall(0,e)}if(b.prototype.add.call(this,e,f),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(n=this,o=n.rawTime()>e._startTime;n._timeline;)o&&n._timeline.smoothChildTiming?n.totalTime(n._totalTime,!0):n._gc&&n._enabled(!0,!1),n=n._timeline;return this},q.remove=function(b){if(b instanceof a){this._remove(b,!1);var c=b._timeline=b.vars.useFrames?a._rootFramesTimeline:a._rootTimeline;return b._startTime=(b._paused?b._pauseTime:c._time)-(b._reversed?b.totalDuration()-b._totalTime:b._totalTime)/b._timeScale,this}if(b instanceof Array||b&&b.push&&i(b)){for(var d=b.length;--d>-1;)this.remove(b[d]);return this}return"string"==typeof b?this.removeLabel(b):this.kill(null,b)},q._remove=function(a,c){b.prototype._remove.call(this,a,c);var d=this._last;return d?this._time>d._startTime+d._totalDuration/d._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},q.append=function(a,b){return this.add(a,this._parseTimeOrLabel(null,b,!0,a))},q.insert=q.insertMultiple=function(a,b,c,d){return this.add(a,b||0,c,d)},q.appendMultiple=function(a,b,c,d){return this.add(a,this._parseTimeOrLabel(null,b,!0,a),c,d)},q.addLabel=function(a,b){return this._labels[a]=this._parseTimeOrLabel(b),this},q.addPause=function(a,b,d,e){var f=c.delayedCall(0,o,d,e||this);return f.vars.onComplete=f.vars.onReverseComplete=b,f.data="isPause",this._hasPause=!0,this.add(f,a)},q.removeLabel=function(a){return delete this._labels[a],this},q.getLabelTime=function(a){return null!=this._labels[a]?this._labels[a]:-1},q._parseTimeOrLabel=function(b,c,d,e){var f;if(e instanceof a&&e.timeline===this)this.remove(e);else if(e&&(e instanceof Array||e.push&&i(e)))for(f=e.length;--f>-1;)e[f]instanceof a&&e[f].timeline===this&&this.remove(e[f]);if("string"==typeof c)return this._parseTimeOrLabel(c,d&&"number"==typeof b&&null==this._labels[c]?b-this.duration():0,d);if(c=c||0,"string"!=typeof b||!isNaN(b)&&null==this._labels[b])null==b&&(b=this.duration());else{if(f=b.indexOf("="),-1===f)return null==this._labels[b]?d?this._labels[b]=this.duration()+c:c:this._labels[b]+c;c=parseInt(b.charAt(f-1)+"1",10)*Number(b.substr(f+1)),b=f>1?this._parseTimeOrLabel(b.substr(0,f-1),0,d):this.duration()}return Number(b)+c},q.seek=function(a,b){return this.totalTime("number"==typeof a?a:this._parseTimeOrLabel(a),b!==!1)},q.stop=function(){return this.paused(!0)},q.gotoAndPlay=function(a,b){return this.play(a,b)},q.gotoAndStop=function(a,b){return this.pause(a,b)},q.render=function(a,b,c){this._gc&&this._enabled(!0,!1);var d,f,g,h,i,l,m,n=this._dirty?this.totalDuration():this._totalDuration,o=this._time,p=this._startTime,q=this._timeScale,r=this._paused;if(a>=n-1e-7)this._totalTime=this._time=n,this._reversed||this._hasPausedChild()||(f=!0,h="onComplete",i=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=a&&a>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===e)&&this._rawPrevTime!==a&&this._first&&(i=!0,this._rawPrevTime>e&&(h="onReverseComplete"))),this._rawPrevTime=this._duration||!b||a||this._rawPrevTime===a?a:e,a=n+1e-4;else if(1e-7>a)if(this._totalTime=this._time=0,(0!==o||0===this._duration&&this._rawPrevTime!==e&&(this._rawPrevTime>0||0>a&&this._rawPrevTime>=0))&&(h="onReverseComplete",f=this._reversed),0>a)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(i=f=!0,h="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(i=!0),this._rawPrevTime=a;else{if(this._rawPrevTime=this._duration||!b||a||this._rawPrevTime===a?a:e,0===a&&f)for(d=this._first;d&&0===d._startTime;)d._duration||(f=!1),d=d._next;a=0,this._initted||(i=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!b){if(a>=o)for(d=this._first;d&&d._startTime<=a&&!l;)d._duration||"isPause"!==d.data||d.ratio||0===d._startTime&&0===this._rawPrevTime||(l=d),d=d._next;else for(d=this._last;d&&d._startTime>=a&&!l;)d._duration||"isPause"===d.data&&d._rawPrevTime>0&&(l=d),d=d._prev;l&&(this._time=a=l._startTime,this._totalTime=a+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=a}if(this._time!==o&&this._first||c||i||l){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==o&&a>0&&(this._active=!0),0===o&&this.vars.onStart&&(0===this._time&&this._duration||b||this._callback("onStart")),m=this._time,m>=o)for(d=this._first;d&&(g=d._next,m===this._time&&(!this._paused||r));)(d._active||d._startTime<=m&&!d._paused&&!d._gc)&&(l===d&&this.pause(),d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)),d=g;else for(d=this._last;d&&(g=d._prev,m===this._time&&(!this._paused||r));){if(d._active||d._startTime<=o&&!d._paused&&!d._gc){if(l===d){for(l=d._prev;l&&l.endTime()>this._time;)l.render(l._reversed?l.totalDuration()-(a-l._startTime)*l._timeScale:(a-l._startTime)*l._timeScale,b,c),l=l._prev;l=null,this.pause()}d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)}d=g}
vendor: 7,593 bytes, line 1845
1845this._onUpdate&&(b||(j.length&&k(),this._callback("onUpdate"))),h&&(this._gc||(p===this._startTime||q!==this._timeScale)&&(0===this._time||n>=this.totalDuration())&&(f&&(j.length&&k(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[h]&&this._callback(h)))}},q._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof d&&a._hasPausedChild())return!0;a=a._next}return!1},q.getChildren=function(a,b,d,e){e=e||-9999999999;for(var f=[],g=this._first,h=0;g;)g._startTime<e||(g instanceof c?b!==!1&&(f[h++]=g):(d!==!1&&(f[h++]=g),a!==!1&&(f=f.concat(g.getChildren(!0,b,d)),h=f.length))),g=g._next;return f},q.getTweensOf=function(a,b){var d,e,f=this._gc,g=[],h=0;for(f&&this._enabled(!0,!0),d=c.getTweensOf(a),e=d.length;--e>-1;)(d[e].timeline===this||b&&this._contains(d[e]))&&(g[h++]=d[e]);return f&&this._enabled(!1,!0),g},q.recent=function(){return this._recent},q._contains=function(a){for(var b=a.timeline;b;){if(b===this)return!0;b=b.timeline}return!1},q.shiftChildren=function(a,b,c){c=c||0;for(var d,e=this._first,f=this._labels;e;)e._startTime>=c&&(e._startTime+=a),e=e._next;if(b)for(d in f)f[d]>=c&&(f[d]+=a);return this._uncache(!0)},q._kill=function(a,b){if(!a&&!b)return this._enabled(!1,!1);for(var c=b?this.getTweensOf(b):this.getChildren(!0,!0,!1),d=c.length,e=!1;--d>-1;)c[d]._kill(a,b)&&(e=!0);return e},q.clear=function(a){var b=this.getChildren(!1,!0,!0),c=b.length;for(this._time=this._totalTime=0;--c>-1;)b[c]._enabled(!1,!1);return a!==!1&&(this._labels={}),this._uncache(!0)},q.invalidate=function(){for(var b=this._first;b;)b.invalidate(),b=b._next;return a.prototype.invalidate.call(this)},q._enabled=function(a,c){if(a===this._gc)for(var d=this._first;d;)d._enabled(a,!0),d=d._next;return b.prototype._enabled.call(this,a,c)},q.totalTime=function(b,c,d){this._forcingPlayhead=!0;var e=a.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,e},q.duration=function(a){return arguments.length?(0!==this.duration()&&0!==a&&this.timeScale(this._duration/a),this):(this._dirty&&this.totalDuration(),this._duration)},q.totalDuration=function(a){if(!arguments.length){if(this._dirty){for(var b,c,d=0,e=this._last,f=999999999999;e;)b=e._prev,e._dirty&&e.totalDuration(),e._startTime>f&&this._sortChildren&&!e._paused?this.add(e,e._startTime-e._delay):f=e._startTime,e._startTime<0&&!e._paused&&(d-=e._startTime,this._timeline.smoothChildTiming&&(this._startTime+=e._startTime/this._timeScale),this.shiftChildren(-e._startTime,!1,-9999999999),f=0),c=e._startTime+e._totalDuration/e._timeScale,c>d&&(d=c),e=b;this._duration=this._totalDuration=d,this._dirty=!1}return this._totalDuration}return a&&this.totalDuration()?this.timeScale(this._totalDuration/a):this},q.paused=function(b){if(!b)for(var c=this._first,d=this._time;c;)c._startTime===d&&"isPause"===c.data&&(c._rawPrevTime=0),c=c._next;return a.prototype.paused.apply(this,arguments)},q.usesFrames=function(){for(var b=this._timeline;b._timeline;)b=b._timeline;return b===a._rootFramesTimeline},q.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},d},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(a,b,c){var d=function(b){a.call(this,b),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},e=1e-10,f=b._internals,g=f.lazyTweens,h=f.lazyRender,i=_gsScope._gsDefine.globals,j=new c(null,null,1,0),k=d.prototype=new a;return k.constructor=d,k.kill()._gc=!1,d.version="1.19.0",k.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),a.prototype.invalidate.call(this)},k.addCallback=function(a,c,d,e){return this.add(b.delayedCall(0,a,d,e),c)},k.removeCallback=function(a,b){if(a)if(null==b)this._kill(null,a);else for(var c=this.getTweensOf(a,!1),d=c.length,e=this._parseTimeOrLabel(b);--d>-1;)c[d]._startTime===e&&c[d]._enabled(!1,!1);return this},k.removePause=function(b){return this.removeCallback(a._internals.pauseCallback,b)},k.tweenTo=function(a,c){c=c||{};var d,e,f,g={ease:j,useFrames:this.usesFrames(),immediateRender:!1},h=c.repeat&&i.TweenMax||b;for(e in c)g[e]=c[e];return g.time=this._parseTimeOrLabel(a),d=Math.abs(Number(g.time)-this._time)/this._timeScale||.001,f=new h(this,d,g),g.onStart=function(){f.target.paused(!0),f.vars.time!==f.target.time()&&d===f.duration()&&f.duration(Math.abs(f.vars.time-f.target.time())/f.target._timeScale),c.onStart&&f._callback("onStart")},f},k.tweenFromTo=function(a,b,c){c=c||{},a=this._parseTimeOrLabel(a),c.startAt={onComplete:this.seek,onCompleteParams:[a],callbackScope:this},c.immediateRender=c.immediateRender!==!1;var d=this.tweenTo(b,c);return d.duration(Math.abs(d.vars.time-a)/this._timeScale||.001)},k.render=function(a,b,c){this._gc&&this._enabled(!0,!1);var d,f,i,j,k,l,m,n,o=this._dirty?this.totalDuration():this._totalDuration,p=this._duration,q=this._time,r=this._totalTime,s=this._startTime,t=this._timeScale,u=this._rawPrevTime,v=this._paused,w=this._cycle;if(a>=o-1e-7)this._locked||(this._totalTime=o,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(f=!0,j="onComplete",k=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=a&&a>=-1e-7||0>u||u===e)&&u!==a&&this._first&&(k=!0,u>e&&(j="onReverseComplete"))),this._rawPrevTime=this._duration||!b||a||this._rawPrevTime===a?a:e,this._yoyo&&0!==(1&this._cycle)?this._time=a=0:(this._time=p,a=p+1e-4);else if(1e-7>a)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==q||0===p&&u!==e&&(u>0||0>a&&u>=0)&&!this._locked)&&(j="onReverseComplete",f=this._reversed),0>a)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(k=f=!0,j="onReverseComplete"):u>=0&&this._first&&(k=!0),this._rawPrevTime=a;else{if(this._rawPrevTime=p||!b||a||this._rawPrevTime===a?a:e,0===a&&f)for(d=this._first;d&&0===d._startTime;)d._duration||(f=!1),d=d._next;a=0,this._initted||(k=!0)}else if(0===p&&0>u&&(k=!0),this._time=this._rawPrevTime=a,this._locked||(this._totalTime=a,0!==this._repeat&&(l=p+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&a>=r&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!==(1&this._cycle)&&(this._time=p-this._time),this._time>p?(this._time=p,a=p+1e-4):this._time<0?this._time=a=0:a=this._time)),this._hasPause&&!this._forcingPlayhead&&!b){if(a=this._time,a>=q)for(d=this._first;d&&d._startTime<=a&&!m;)d._duration||"isPause"!==d.data||d.ratio||0===d._startTime&&0===this._rawPrevTime||(m=d),d=d._next;else for(d=this._last;d&&d._startTime>=a&&!m;)d._duration||"isPause"===d.data&&d._rawPrevTime>0&&(m=d),d=d._prev;m&&(this._time=a=m._startTime,this._totalTime=a+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==w&&!this._locked){var x=this._yoyo&&0!==(1&w),y=x===(this._yoyo&&0!==(1&this._cycle)),z=this._totalTime,A=this._cycle,B=this._rawPrevTime,C=this._time;if(this._totalTime=w*p,this._cycle<w?x=!x:this._totalTime+=p,this._time=q,this._rawPrevTime=0===p?u-1e-4:u,this._cycle=w,this._locked=!0,q=x?0:p,this.render(q,b,0===p),b||this._gc||this.vars.onRepeat&&this._callback("onRepeat"),q!==this._time)return;if(y&&(q=x?p+1e-4:-1e-4,this.render(q,!0,!1)),this._locked=!1,this._paused&&!v)return;this._time=C,this._totalTime=z,this._cycle=A,this._rawPrevTime=B}if(!(this._time!==q&&this._first||c||k||m))return void(r!==this._totalTime&&this._onUpdate&&(b||this._callback("onUp
1845date")));if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==r&&a>0&&(this._active=!0),0===r&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||b||this._callback("onStart")),n=this._time,n>=q)for(d=this._first;d&&(i=d._next,n===this._time&&(!this._paused||v));)(d._active||d._startTime<=this._time&&!d._paused&&!d._gc)&&(m===d&&this.pause(),d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)),d=i;else for(d=this._last;d&&(i=d._prev,n===this._time&&(!this._paused||v));){if(d._active||d._startTime<=q&&!d._paused&&!d._gc){if(m===d){for(m=d._prev;m&&m.endTime()>this._time;)m.render(m._reversed?m.totalDuration()-(a-m._startTime)*m._timeScale:(a-m._startTime)*m._timeScale,b,c),m=m._prev;m=null,this.pause()}d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)}d=i}this._onUpdate&&(b||(g.length&&h(),this._callback("onUpdate"))),j&&(this._locked||this._gc||(s===this._startTime||t!==this._timeScale)&&(0===this._time||o>=this.totalDuration())&&(f&&(g.length&&h(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[j]&&this._callback(j)))},k.getActive=function(a,b,c){null==a&&(a=!0),null==b&&(b=!0),null==c&&(c=!1);var d,e,f=[],g=this.getChildren(a,b,c),h=0,i=g.length;for(d=0;i>d;d++)e=g[d],e.isActive()&&(f[h++]=e);return f},k.getLabelAfter=function(a){a||0!==a&&(a=this._time);var b,c=this.getLabelsArray(),d=c.length;for(b=0;d>b;b++)if(c[b].time>a)return c[b].name;return null},k.getLabelBefore=function(a){null==a&&(a=this._time);for(var b=this.getLabelsArray(),c=b.length;--c>-1;)if(b[c].time<a)return b[c].name;return null},k.getLabelsArray=function(){var a,b=[],c=0;for(a in this._labels)b[c++]={time:this._labels[a],name:a};return b.sort(function(a,b){return a.time-b.time}),b},k.progress=function(a,b){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),b):this._time/this.duration()},k.totalProgress=function(a,b){return arguments.length?this.totalTime(this.totalDuration()*a,b):this._totalTime/this.totalDuration()},k.totalDuration=function(b){return arguments.length?-1!==this._repeat&&b?this.timeScale(this.totalDuration()/b):this:(this._dirty&&(a.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},k.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),a>this._duration&&(a=this._duration),this._yoyo&&0!==(1&this._cycle)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(a,b)):this._time},k.repeat=function(a){return arguments.length?(this._repeat=a,this._uncache(!0)):this._repeat},k.repeatDelay=function(a){return arguments.length?(this._repeatDelay=a,this._uncache(!0)):this._repeatDelay},k.yoyo=function(a){return arguments.length?(this._yoyo=a,this):this._yoyo},k.currentLabel=function(a){return arguments.length?this.seek(a,!0):this.getLabelBefore(this._time+1e-8)},d},!0),function(){var a=180/Math.PI,b=[],c=[],d=[],e={},f=_gsScope._gsDefine.globals,g=function(a,b,c,d){c===d&&(c=d-(d-b)/1e6),a===b&&(b=a+(c-a)/1e6),this.a=a,this.b=b,this.c=c,this.d=d,this.da=d-a,this.ca=c-a,this.ba=b-a},h=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",i=function(a,b,c,d){var e={a:a},f={},g={},h={c:d},i=(a+b)/2,j=(b+c)/2,k=(c+d)/2,l=(i+j)/2,m=(j+k)/2,n=(m-l)/8;return e.b=i+(a-i)/4,f.b=l+n,e.c=f.a=(e.b+f.b)/2,f.c=g.a=(l+m)/2,g.b=m-n,h.b=k+(d-k)/4,g.c=h.a=(g.b+h.b)/2,[e,f,g,h]},j=function(a,e,f,g,h){var j,k,l,m,n,o,p,q,r,s,t,u,v,w=a.length-1,x=0,y=a[0].a;for(j=0;w>j;j++)n=a[x],k=n.a,l=n.d,m=a[x+1].d,h?(t=b[j],u=c[j],v=(u+t)*e*.25/(g?.5:d[j]||.5),o=l-(l-k)*(g?.5*e:0!==t?v/t:0),p=l+(m-l)*(g?.5*e:0!==u?v/u
vendor: 52,672 bytes, line 1845
1845:0),q=l-(o+((p-o)*(3*t/(t+u)+.5)/4||0))):(o=l-(l-k)*e*.5,p=l+(m-l)*e*.5,q=l-(o+p)/2),o+=q,p+=q,n.c=r=o,0!==j?n.b=y:n.b=y=n.a+.6*(n.c-n.a),n.da=l-k,n.ca=r-k,n.ba=y-k,f?(s=i(k,y,r,l),a.splice(x,1,s[0],s[1],s[2],s[3]),x+=4):x++,y=p;n=a[x],n.b=y,n.c=y+.4*(n.d-y),n.da=n.d-n.a,n.ca=n.c-n.a,n.ba=y-n.a,f&&(s=i(n.a,y,n.c,n.d),a.splice(x,1,s[0],s[1],s[2],s[3]))},k=function(a,d,e,f){var h,i,j,k,l,m,n=[];if(f)for(a=[f].concat(a),i=a.length;--i>-1;)"string"==typeof(m=a[i][d])&&"="===m.charAt(1)&&(a[i][d]=f[d]+Number(m.charAt(0)+m.substr(2)));if(h=a.length-2,0>h)return n[0]=new g(a[0][d],0,0,a[-1>h?0:1][d]),n;for(i=0;h>i;i++)j=a[i][d],k=a[i+1][d],n[i]=new g(j,0,0,k),e&&(l=a[i+2][d],b[i]=(b[i]||0)+(k-j)*(k-j),c[i]=(c[i]||0)+(l-k)*(l-k));return n[i]=new g(a[i][d],0,0,a[i+1][d]),n},l=function(a,f,g,i,l,m){var n,o,p,q,r,s,t,u,v={},w=[],x=m||a[0];l="string"==typeof l?","+l+",":h,null==f&&(f=1);for(o in a[0])w.push(o);if(a.length>1){for(u=a[a.length-1],t=!0,n=w.length;--n>-1;)if(o=w[n],Math.abs(x[o]-u[o])>.05){t=!1;break}t&&(a=a.concat(),m&&a.unshift(m),a.push(a[1]),m=a[a.length-3])}for(b.length=c.length=d.length=0,n=w.length;--n>-1;)o=w[n],e[o]=-1!==l.indexOf(","+o+","),v[o]=k(a,o,e[o],m);for(n=b.length;--n>-1;)b[n]=Math.sqrt(b[n]),c[n]=Math.sqrt(c[n]);if(!i){for(n=w.length;--n>-1;)if(e[o])for(p=v[w[n]],s=p.length-1,q=0;s>q;q++)r=p[q+1].da/c[q]+p[q].da/b[q]||0,d[q]=(d[q]||0)+r*r;for(n=d.length;--n>-1;)d[n]=Math.sqrt(d[n])}for(n=w.length,q=g?4:1;--n>-1;)o=w[n],p=v[o],j(p,f,g,i,e[o]),t&&(p.splice(0,q),p.splice(p.length-q,q));return v},m=function(a,b,c){b=b||"soft";var d,e,f,h,i,j,k,l,m,n,o,p={},q="cubic"===b?3:2,r="soft"===b,s=[];if(r&&c&&(a=[c].concat(a)),null==a||a.length<q+1)throw"invalid Bezier data";for(m in a[0])s.push(m);for(j=s.length;--j>-1;){for(m=s[j],p[m]=i=[],n=0,l=a.length,k=0;l>k;k++)d=null==c?a[k][m]:"string"==typeof(o=a[k][m])&&"="===o.charAt(1)?c[m]+Number(o.charAt(0)+o.substr(2)):Number(o),r&&k>1&&l-1>k&&(i[n++]=(d+i[n-2])/2),i[n++]=d;for(l=n-q+1,n=0,k=0;l>k;k+=q)d=i[k],e=i[k+1],f=i[k+2],h=2===q?0:i[k+3],i[n++]=o=3===q?new g(d,e,f,h):new g(d,(2*e+d)/3,(2*e+f)/3,f);i.length=n}return p},n=function(a,b,c){for(var d,e,f,g,h,i,j,k,l,m,n,o=1/c,p=a.length;--p>-1;)for(m=a[p],f=m.a,g=m.d-f,h=m.c-f,i=m.b-f,d=e=0,k=1;c>=k;k++)j=o*k,l=1-j,d=e-(e=(j*j*g+3*l*(j*h+l*i))*j),n=p*c+k-1,b[n]=(b[n]||0)+d*d},o=function(a,b){b=b>>0||6;var c,d,e,f,g=[],h=[],i=0,j=0,k=b-1,l=[],m=[];for(c in a)n(a[c],g,b);for(e=g.length,d=0;e>d;d++)i+=Math.sqrt(g[d]),f=d%b,m[f]=i,f===k&&(j+=i,f=d/b>>0,l[f]=m,h[f]=j,i=0,m=[]);return{length:j,lengths:h,segments:l}},p=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.7",API:2,global:!0,init:function(a,b,c){this._target=a,b instanceof Array&&(b={values:b}),this._func={},this._mod={},this._props=[],this._timeRes=null==b.timeResolution?6:parseInt(b.timeResolution,10);var d,e,f,g,h,i=b.values||[],j={},k=i[0],n=b.autoRotate||c.vars.orientToBezier;this._autoRotate=n?n instanceof Array?n:[["x","y","rotation",n===!0?0:Number(n)||0]]:null;for(d in k)this._props.push(d);for(f=this._props.length;--f>-1;)d=this._props[f],this._overwriteProps.push(d),e=this._func[d]="function"==typeof a[d],j[d]=e?a[d.indexOf("set")||"function"!=typeof a["get"+d.substr(3)]?d:"get"+d.substr(3)]():parseFloat(a[d]),h||j[d]!==i[0][d]&&(h=j);if(this._beziers="cubic"!==b.type&&"quadratic"!==b.type&&"soft"!==b.type?l(i,isNaN(b.curviness)?1:b.curviness,!1,"thruBasic"===b.type,b.correlate,h):m(i,b.type,j),this._segCount=this._beziers[d].length,this._timeRes){var p=o(this._beziers,this._timeRes);this._length=p.length,this._lengths=p.lengths,this._segments=p.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(n=this._autoRotate)for(this._initialRotations=[],n[0]instanceof Array||(this._autoRotate=n=[n]),f=n.length;--f>-1;){for(g=0;3>g;g++)d=n[f][g],this._func[d]="function"==typeof a[d]?a[d.indexOf("set")||"function"!=typeof a["get"+d.substr(3)]?d:"get"+d.substr(3)]:!1;d=n[f][2],this._initialRotations[f]=(this._func[d]?this._func[d].call(this._target):this._target[d])||0,this._overwriteProps.push(d)}return this._startRatio=c.vars.runBackwards?1:0,!0},set:function(b){var c,d,e,f,g,h,i,j,k,l,m=this._segCount,n=this._func,o=this._target,p=b!==this._startRatio;if(this._timeRes){if(k=this._lengths,l=this._curSeg,b*=this._length,e=this._li,b>this._l2&&m-1>e){for(j=m-1;j>e&&(this._l2=k[++e])<=b;);this._l1=k[e-1],this._li=e,this._curSeg=l=this._segments[e],this._s2=l[this._s1=this._si=0]}else if(b<this._l1&&e>0){for(;e>0&&(this._l1=k[--e])>=b;);0===e&&b<this._l1?this._l1=0:e++,this._l2=k[e],this._li=e,this._curSeg=l=this._segments[e],this._s1=l[(this._si=l.length-1)-1]||0,this._s2=l[this._si]}if(c=e,b-=this._l1,e=this._si,b>this._s2&&e<l.length-1){for(j=l.length-1;j>e&&(this._s2=l[++e])<=b;);this._s1=l[e-1],this._si=e}else if(b<this._s1&&e>0){for(;e>0&&(this._s1=l[--e])>=b;);0===e&&b<this._s1?this._s1=0:e++,this._s2=l[e],this._si=e}h=(e+(b-this._s1)/(this._s2-this._s1))*this._prec||0}else c=0>b?0:b>=1?m-1:m*b>>0,h=(b-c*(1/m))*m;for(d=1-h,e=this._props.length;--e>-1;)f=this._props[e],g=this._beziers[f][c],i=(h*h*g.da+3*d*(h*g.ca+d*g.ba))*h+g.a,this._mod[f]&&(i=this._mod[f](i,o)),n[f]?o[f](i):o[f]=i;if(this._autoRotate){var q,r,s,t,u,v,w,x=this._autoRotate;for(e=x.length;--e>-1;)f=x[e][2],v=x[e][3]||0,w=x[e][4]===!0?1:a,g=this._beziers[x[e][0]],q=this._beziers[x[e][1]],g&&q&&(g=g[c],q=q[c],r=g.a+(g.b-g.a)*h,t=g.b+(g.c-g.b)*h,r+=(t-r)*h,t+=(g.c+(g.d-g.c)*h-t)*h,s=q.a+(q.b-q.a)*h,u=q.b+(q.c-q.b)*h,s+=(u-s)*h,u+=(q.c+(q.d-q.c)*h-u)*h,i=p?Math.atan2(u-s,t-r)*w+v:this._initialRotations[e],this._mod[f]&&(i=this._mod[f](i,o)),n[f]?o[f](i):o[f]=i)}}}),q=p.prototype;p.bezierThrough=l,p.cubicToQuadratic=i,p._autoCSS=!0,p.quadraticToCubic=function(a,b,c){return new g(a,(2*b+a)/3,(2*b+c)/3,c)},p._cssRegister=function(){var a=f.CSSPlugin;if(a){var b=a._internals,c=b._parseToProxy,d=b._setPluginRatio,e=b.CSSPropTween;b._registerComplexSpecialProp("bezier",{parser:function(a,b,f,g,h,i){b instanceof Array&&(b={values:b}),i=new p;var j,k,l,m=b.values,n=m.length-1,o=[],q={};if(0>n)return h;for(j=0;n>=j;j++)l=c(a,m[j],g,h,i,n!==j),o[j]=l.end;for(k in b)q[k]=b[k];return q.values=o,h=new e(a,"bezier",0,0,l.pt,2),h.data=l,h.plugin=i,h.setRatio=d,0===q.autoRotate&&(q.autoRotate=!0),!q.autoRotate||q.autoRotate instanceof Array||(j=q.autoRotate===!0?0:Number(q.autoRotate),q.autoRotate=null!=l.end.left?[["left","top","rotation",j,!1]]:null!=l.end.x?[["x","y","rotation",j,!1]]:!1),q.autoRotate&&(g._transform||g._enableTransforms(!1),l.autoRotate=g._target._gsTransform,l.proxy.rotation=l.autoRotate.rotation||0,g._overwriteProps.push("rotation")),i._onInitTween(l.proxy,q,g._tween),h}})}},q._mod=function(a){for(var b,c=this._overwriteProps,d=c.length;--d>-1;)b=a[c[d]],b&&"function"==typeof b&&(this._mod[c[d]]=b)},q._kill=function(a){var b,c,d=this._props;for(b in this._beziers)if(b in a)for(delete this._beziers[b],delete this._func[b],c=d.length;--c>-1;)d[c]===b&&d.splice(c,1);if(d=this._autoRotate)for(c=d.length;--c>-1;)a[d[c][2]]&&d.splice(c,1);return this._super._kill.call(this,a)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(a,b){var c,d,e,f,g=function(){a.call(this,"css"),this._overwriteProps.length=0,this.setRatio=g.prototype.setRatio},h=_gsScope._gsDefine.globals,i={},j=g.prototype=new a("css");j.constructor=g,g.version="1.19.0",g.API=2,g.defaultTransformPerspective=0,g.defaultSkewType="compensated",g.defaultSmoothOrigin=!0,j="px",g.suffixMap={top:j,right:j,bottom:j,left:j,width:j,height:j,fontSize:j,padding:j,margin:j,perspective:j,lineHeight:""};var k,l,m,n,o,p,q,r,s=/(?:\-|\.|\b)(\d|\.|e\-)+/g,t=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,u=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,v=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,x=/opacity *= *([^)]*)/i,y=/opacity:([^;]*)/i,z=/alpha\(opacity *=.+?\)/i,A=/^(rgb|hsl)/,B=/([A-Z])/g,C=/-([a-z])/gi,D=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,E=function(a,b){return b.toUpperCase()},F=/(?:Left|Right|Width)/i,G=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,H=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=/,(?=[^\)]*(?:\(|$))/gi,J=/[\s,\(]/i,K=Math.PI/180,L=180/Math.PI,M={},N=document,O=function(a){return N.createElementNS?N.createElementNS("http://www.w3.org/1999/xhtml",a):N.createElement(a)},P=O("div"),Q=O("img"),R=g._internals={_specialProps:i},S=navigator.userAgent,T=function(){var a=S.indexOf("Android"),b=O("a");return m=-1!==S.indexOf("Safari")&&-1===S.indexOf("Chrome")&&(-1===a||Number(S.substr(a+8,1))>3),o=m&&Number(S.substr(S.indexOf("Version/")+8,1))<6,n=-1!==S.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(S)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(S))&&(p=parseFloat(RegExp.$1)),b?(b.style.cssText="top:1px;opacity:.55;",/^0.55/.test(b.style.opacity)):!1}(),U=function(a){return x.test("string"==typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},V=function(a){window.console&&console.log(a)},W="",X="",Y=function(a,b){b=b||P;var c,d,e=b.style;if(void 0!==e[a])return a;for(a=a.charAt(0).toUpperCase()+a.substr(1),c=["O","Moz","ms","Ms","Webkit"],d=5;--d>-1&&void 0===e[c[d]+a];);return d>=0?(X=3===d?"ms":c[d],W="-"+X.toLowerCase()+"-",X+a):null},Z=N.defaultView?N.defaultView.getComputedStyle:function(){},$=g.getStyle=function(a,b,c,d,e){var f;return T||"opacity"!==b?(!d&&a.style[b]?f=a.style[b]:(c=c||Z(a))?f=c[b]||c.getPropertyValue(b)||c.getPropertyValue(b.replace(B,"-$1").toLowerCase()):a.currentStyle&&(f=a.currentStyle[b]),null==e||f&&"none"!==f&&"auto"!==f&&"auto auto"!==f?f:e):U(a)},_=R.convertToPixels=function(a,c,d,e,f){if("px"===e||!e)return d;if("auto"===e||!d)return 0;var h,i,j,k=F.test(c),l=a,m=P.style,n=0>d,o=1===d;if(n&&(d=-d),o&&(d*=100),"%"===e&&-1!==c.indexOf("border"))h=d/100*(k?a.clientWidth:a.clientHeight);else{if(m.cssText="border:0 solid red;position:"+$(a,"position")+";line-height:0;","%"!==e&&l.appendChild&&"v"!==e.charAt(0)&&"rem"!==e)m[k?"borderLeftWidth":"borderTopWidth"]=d+e;else{if(l=a.parentNode||N.body,i=l._gsCache,j=b.ticker.frame,i&&k&&i.time===j)return i.width*d/100;m[k?"width":"height"]=d+e}l.appendChild(P),h=parseFloat(P[k?"offsetWidth":"offsetHeight"]),l.removeChild(P),k&&"%"===e&&g.cacheWidths!==!1&&(i=l._gsCache=l._gsCache||{},i.time=j,i.width=h/d*100),0!==h||f||(h=_(a,c,d,e,!0))}return o&&(h/=100),n?-h:h},aa=R.calculateOffset=function(a,b,c){if("absolute"!==$(a,"position",c))return 0;var d="left"===b?"Left":"Top",e=$(a,"margin"+d,c);return a["offset"+d]-(_(a,b,parseFloat(e),e.replace(w,""))||0)},ba=function(a,b){var c,d,e,f={};if(b=b||Z(a,null))if(c=b.length)for(;--c>-1;)e=b[c],(-1===e.indexOf("-transform")||Ca===e)&&(f[e.replace(C,E)]=b.getPropertyValue(e));else for(c in b)(-1===c.indexOf("Transform")||Ba===c)&&(f[c]=b[c]);else if(b=a.currentStyle||a.style)for(c in b)"string"==typeof c&&void 0===f[c]&&(f[c.replace(C,E)]=b[c]);return T||(f.opacity=U(a)),d=Pa(a,b,!1),f.rotation=d.rotation,f.skewX=d.skewX,f.scaleX=d.scaleX,f.scaleY=d.scaleY,f.x=d.x,f.y=d.y,Ea&&(f.z=d.z,f.rotationX=d.rotationX,f.rotationY=d.rotationY,f.scaleZ=d.scaleZ),f.filters&&delete f.filters,f},ca=function(a,b,c,d,e){var f,g,h,i={},j=a.style;for(g in c)"cssText"!==g&&"length"!==g&&isNaN(g)&&(b[g]!==(f=c[g])||e&&e[g])&&-1===g.indexOf("Origin")&&("number"==typeof f||"string"==typeof f)&&(i[g]="auto"!==f||"left"!==g&&"top"!==g?""!==f&&"auto"!==f&&"none"!==f||"string"!=typeof b[g]||""===b[g].replace(v,"")?f:0:aa(a,g),void 0!==j[g]&&(h=new ra(j,g,j[g],h)));if(d)for(g in d)"className"!==g&&(i[g]=d[g]);return{difs:i,firstMPT:h}},da={width:["Left","Right"],height:["Top","Bottom"]},ea=["marginLeft","marginRight","marginTop","marginBottom"],fa=function(a,b,c){if("svg"===(a.nodeName+"").toLowerCase())return(c||Z(a))[b]||0;if(a.getBBox&&Ma(a))return a.getBBox()[b]||0;var d=parseFloat("width"===b?a.offsetWidth:a.offsetHeight),e=da[b],f=e.length;for(c=c||Z(a,null);--f>-1;)d-=parseFloat($(a,"padding"+e[f],c,!0))||0,d-=parseFloat($(a,"border"+e[f]+"Width",c,!0))||0;return d},ga=function(a,b){if("contain"===a||"auto"===a||"auto auto"===a)return a+" ";(null==a||""===a)&&(a="0 0");var c,d=a.split(" "),e=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":d[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":d[1];if(d.length>3&&!b){for(d=a.split(", ").join(",").split(","),a=[],c=0;c<d.length;c++)a.push(ga(d[c]));return a.join(",")}return null==f?f="center"===e?"50%":"0":"center"===f&&(f="50%"),("center"===e||isNaN(parseFloat(e))&&-1===(e+"").indexOf("="))&&(e="50%"),a=e+" "+f+(d.length>2?" "+d[2]:""),b&&(b.oxp=-1!==e.indexOf("%"),b.oyp=-1!==f.indexOf("%"),b.oxr="="===e.charAt(1),b.oyr="="===f.charAt(1),b.ox=parseFloat(e.replace(v,"")),b.oy=parseFloat(f.replace(v,"")),b.v=a),b||a},ha=function(a,b){return"function"==typeof a&&(a=a(r,q)),"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)||0},ia=function(a,b){return"function"==typeof a&&(a=a(r,q)),null==a?b:"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2))+b:parseFloat(a)||0},ja=function(a,b,c,d){var e,f,g,h,i,j=1e-6;return"function"==typeof a&&(a=a(r,q)),null==a?h=b:"number"==typeof a?h=a:(e=360,f=a.split("_"),i="="===a.charAt(1),g=(i?parseInt(a.charAt(0)+"1",10)*parseFloat(f[0].substr(2)):parseFloat(f[0]))*(-1===a.indexOf("rad")?1:L)-(i?0:b),f.length&&(d&&(d[c]=b+g),-1!==a.indexOf("short")&&(g%=e,g!==g%(e/2)&&(g=0>g?g+e:g-e)),-1!==a.indexOf("_cw")&&0>g?g=(g+9999999999*e)%e-(g/e|0)*e:-1!==a.indexOf("ccw")&&g>0&&(g=(g-9999999999*e)%e-(g/e|0)*e)),h=b+g),j>h&&h>-j&&(h=0),h},ka={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},la=function(a,b,c){return a=0>a?a+1:a>1?a-1:a,255*(1>6*a?b+(c-b)*a*6:.5>a?c:2>3*a?b+(c-b)*(2/3-a)*6:b)+.5|0},ma=g.parseColor=function(a,b){var c,d,e,f,g,h,i,j,k,l,m;if(a)if("number"==typeof a)c=[a>>16,a>>8&255,255&a];else{if(","===a.charAt(a.length-1)&&(a=a.substr(0,a.length-1)),ka[a])c=ka[a];else if("#"===a.charAt(0))4===a.length&&(d=a.charAt(1),e=a.charAt(2),f=a.charAt(3),a="#"+d+d+e+e+f+f),a=parseInt(a.substr(1),16),c=[a>>16,a>>8&255,255&a];else if("hsl"===a.substr(0,3))if(c=m=a.match(s),b){if(-1!==a.indexOf("="))return a.match(t)}else g=Number(c[0])%360/360,h=Number(c[1])/100,i=Number(c[2])/100,e=.5>=i?i*(h+1):i+h-i*h,d=2*i-e,c.length>3&&(c[3]=Number(a[3])),c[0]=la(g+1/3,d,e),c[1]=la(g,d,e),c[2]=la(g-1/3,d,e);else c=a.match(s)||ka.transparent;c[0]=Number(c[0]),c[1]=Number(c[1]),c[2]=Number(c[2]),c.length>3&&(c[3]=Number(c[3]))}else c=ka.black;return b&&!m&&(d=c[0]/255,e=c[1]/255,f=c[2]/255,j=Math.max(d,e,f),k=Math.min(d,e,f),i=(j+k)/2,j===k?g=h=0:(l=j-k,h=i>.5?l/(2-j-k):l/(j+k),g=j===d?(e-f)/l+(f>e?6:0):j===e?(f-d)/l+2:(d-e)/l+4,g*=60),c[0]=g+.5|0,c[1]=100*h+.5|0,c[2]=100*i+.5|0),c},na=function(a,b){var c,d,e,f=a.match(oa)||[],g=0,h=f.length?"":a;for(c=0;c<f.length;c++)d=f[c],e=a.substr(g,a.indexOf(d,g)-g),g+=e.length+d.length,d=ma(d,b),3===d.length&&d.push(1),h+=e+(b?"hsla("+d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:"rgba("+d.join(","))+")";return h+a.substr(g)},oa="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(j in ka)oa+="|"+j+"\\b";oa=new RegExp(oa+")","gi"),g.colorStringFilter=function(a){var b,c=a[0]+a[1];oa.test(c)&&(b=-1!==c.indexOf("hsl(")||-1!==c.indexOf("hsla("),a[0]=na(a[0],b),a[1]=na(a[1],b)),oa.lastIndex=0},b.defaultStringFilter||(b.defaultStringFilter=g.colorStringFilter);var pa=function(a,b,c,d){if(null==a)return function(a){return a};var e,f=b?(a.match(oa)||[""])[0]:"",g=a.split(f).join("").match(u)||[],h=a.substr(0,a.indexOf(g[0])),i=")"===a.charAt(a.length-1)?")":"",j=-1!==a.indexOf(" ")?" ":",",k=g.length,l=k>0?g[0].replace(s,""):"";return k?e=b?function(a){var b,m,n,o;if("number"==typeof a)a+=l;else if(d&&I.test(a)){for(o=a.replace(I,"|").split("|"),n=0;n<o.length;n++)o[n]=e(o[n]);return o.join(",")}if(b=(a.match(oa)||[f])[0],m=a.split(b).join("").match(u)||[],n=m.length,k>n--)for(;++n<k;)m[n]=c?m[(n-1)/2|0]:g[n];return h+m.join(j)+j+b+i+(-1!==a.indexOf("inset")?" inset":"")}:function(a){var b,f,m;if("number"==typeof a)a+=l;else if(d&&I.test(a)){for(f=a.replace(I,"|").split("|"),m=0;m<f.length;m++)f[m]=e(f[m]);return f.join(",")}if(b=a.match(u)||[],m=b.length,k>m--)for(;++m<k;)b[m]=c?b[(m-1)/2|0]:g[m];return h+b.join(j)+i}:function(a){return a}},qa=function(a){return a=a.split(","),function(b,c,d,e,f,g,h){var i,j=(c+"").split(" ");for(h={},i=0;4>i;i++)h[a[i]]=j[i]=j[i]||j[(i-1)/2>>0];return e.parse(b,h,f,g)}},ra=(R._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b,c,d,e,f,g=this.data,h=g.proxy,i=g.firstMPT,j=1e-6;i;)b=h[i.v],i.r?b=Math.round(b):j>b&&b>-j&&(b=0),i.t[i.p]=b,i=i._next;if(g.autoRotate&&(g.autoRotate.rotation=g.mod?g.mod(h.rotation,this.t):h.rotation),1===a||0===a)for(i=g.firstMPT,f=1===a?"e":"b";i;){if(c=i.t,c.type){if(1===c.type){for(e=c.xs0+c.s+c.xs1,d=1;d<c.l;d++)e+=c["xn"+d]+c["xs"+(d+1)];c[f]=e}}else c[f]=c.s+c.xs0;i=i._next}},function(a,b,c,d,e){this.t=a,this.p=b,this.v=c,this.r=e,d&&(d._prev=this,this._next=d)}),sa=(R._parseToProxy=function(a,b,c,d,e,f){var g,h,i,j,k,l=d,m={},n={},o=c._transform,p=M;for(c._transform=null,M=b,d=k=c.parse(a,b,d,e),M=p,f&&(c._transform=o,l&&(l._prev=null,l._prev&&(l._prev._next=null)));d&&d!==l;){if(d.type<=1&&(h=d.p,n[h]=d.s+d.c,m[h]=d.s,f||(j=new ra(d,"s",h,j,d.r),d.c=0),1===d.type))for(g=d.l;--g>0;)i="xn"+g,h=d.p+"_"+i,n[h]=d.data[i],m[h]=d[i],f||(j=new ra(d,i,h,j,d.rxp[i]));d=d._next}return{proxy:m,end:n,firstMPT:j,pt:k}},R.CSSPropTween=function(a,b,d,e,g,h,i,j,k,l,m){this.t=a,this.p=b,this.s=d,this.c=e,this.n=i||b,a instanceof sa||f.push(this.n),this.r=j,this.type=h||0,k&&(this.pr=k,c=!0),this.b=void 0===l?d:l,this.e=void 0===m?d+e:m,g&&(this._next=g,g._prev=this)}),ta=function(a,b,c,d,e,f){var g=new sa(a,b,c,d-c,e,-1,f);return g.b=c,g.e=g.xs0=d,g},ua=g.parseComplex=function(a,b,c,d,e,f,h,i,j,l){c=c||f||"","function"==typeof d&&(d=d(r,q)),h=new sa(a,b,0,0,h,l?2:1,null,!1,i,c,d),d+="",e&&oa.test(d+c)&&(d=[c,d],g.colorStringFilter(d),c=d[0],d=d[1]);var m,n,o,p,u,v,w,x,y,z,A,B,C,D=c.split(", ").join(",").split(" "),E=d.split(", ").join(",").split(" "),F=D.length,G=k!==!1;for((-1!==d.indexOf(",")||-1!==c.indexOf(","))&&(D=D.join(" ").replace(I,", ").split(" "),E=E.join(" ").replace(I,", ").split(" "),F=D.length),F!==E.length&&(D=(f||"").split(" "),F=D.length),h.plugin=j,h.setRatio=l,oa.lastIndex=0,m=0;F>m;m++)if(p=D[m],u=E[m],x=parseFloat(p),x||0===x)h.appendXtra("",x,ha(u,x),u.replace(t,""),G&&-1!==u.indexOf("px"),!0);else if(e&&oa.test(p))B=u.indexOf(")")+1,B=")"+(B?u.substr(B):""),C=-1!==u.indexOf("hsl")&&T,p=ma(p,C),u=ma(u,C),y=p.length+u.length>6,y&&!T&&0===u[3]?(h["xs"+h.l]+=h.l?" transparent":"transparent",h.e=h.e.split(E[m]).join("transparent")):(T||(y=!1),C?h.appendXtra(y?"hsla(":"hsl(",p[0],ha(u[0],p[0]),",",!1,!0).appendXtra("",p[1],ha(u[1],p[1]),"%,",!1).appendXtra("",p[2],ha(u[2],p[2]),y?"%,":"%"+B,!1):h.appendXtra(y?"rgba(":"rgb(",p[0],u[0]-p[0],",",!0,!0).appendXtra("",p[1],u[1]-p[1],",",!0).appendXtra("",p[2],u[2]-p[2],y?",":B,!0),y&&(p=p.length<4?1:p[3],h.appendXtra("",p,(u.length<4?1:u[3])-p,B,!1))),oa.lastIndex=0;else if(v=p.match(s)){if(w=u.match(t),!w||w.length!==v.length)return h;for(o=0,n=0;n<v.length;n++)A=v[n],z=p.indexOf(A,o),h.appendXtra(p.substr(o,z-o),Number(A),ha(w[n],A),"",G&&"px"===p.substr(z+A.length,2),0===n),o=z+A.length;h["xs"+h.l]+=p.substr(o)}else h["xs"+h.l]+=h.l||h["xs"+h.l]?" "+u:u;if(-1!==d.indexOf("=")&&h.data){for(B=h.xs0+h.data.s,m=1;m<h.l;m++)B+=h["xs"+m]+h.data["xn"+m];h.e=B+h["xs"+m]}return h.l||(h.type=-1,h.xs0=h.e),h.xfirst||h},va=9;for(j=sa.prototype,j.l=j.pr=0;--va>0;)j["xn"+va]=0,j["xs"+va]="";j.xs0="",j._next=j._prev=j.xfirst=j.data=j.plugin=j.setRatio=j.rxp=null,j.appendXtra=function(a,b,c,d,e,f){var g=this,h=g.l;return g["xs"+h]+=f&&(h||g["xs"+h])?" "+a:a||"",c||0===h||g.plugin?(g.l++,g.type=g.setRatio?2:1,g["xs"+g.l]=d||"",h>0?(g.data["xn"+h]=b+c,g.rxp["xn"+h]=e,g["xn"+h]=b,g.plugin||(g.xfirst=new sa(g,"xn"+h,b,c,g.xfirst||g,0,g.n,e,g.pr),g.xfirst.xs0=0),g):(g.data={s:b+c},g.rxp={},g.s=b,g.c=c,g.r=e,g)):(g["xs"+h]+=b+(d||""),g)};var wa=function(a,b){b=b||{},this.p=b.prefix?Y(a)||a:a,i[a]=i[this.p]=this,this.format=b.formatter||pa(b.defaultValue,b.color,b.collapsible,b.multi),b.parser&&(this.parse=b.parser),this.clrs=b.color,this.multi=b.multi,this.keyword=b.keyword,this.dflt=b.defaultValue,this.pr=b.priority||0},xa=R._registerComplexSpecialProp=function(a,b,c){"object"!=typeof b&&(b={parser:c});var d,e,f=a.split(","),g=b.defaultValue;for(c=c||[g],d=0;d<f.length;d++)b.prefix=0===d&&b.prefix,b.defaultValue=c[d]||g,e=new wa(f[d],b)},ya=R._registerPluginProp=function(a){if(!i[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";xa(a,{parser:function(a,c,d,e,f,g,j){var k=h.com.greensock.plugins[b];return k?(k._cssRegister(),i[d].parse(a,c,d,e,f,g,j)):(V("Error: "+b+" js file not loaded."),f)}})}};j=wa.prototype,j.parseComplex=function(a,b,c,d,e,f){var g,h,i,j,k,l,m=this.keyword;if(this.multi&&(I.test(c)||I.test(b)?(h=b.replace(I,"|").split("|"),i=c.replace(I,"|").split("|")):m&&(h=[b],i=[c])),i){for(j=i.length>h.length?i.length:h.length,g=0;j>g;g++)b=h[g]=h[g]||this.dflt,c=i[g]=i[g]||this.dflt,m&&(k=b.indexOf(m),l=c.indexOf(m),k!==l&&(-1===l?h[g]=h[g].split(m).join(""):-1===k&&(h[g]+=" "+m)));b=h.join(", "),c=i.join(", ")}return ua(a,this.p,b,c,this.clrs,this.dflt,d,this.pr,e,f)},j.parse=function(a,b,c,d,f,g,h){return this.parseComplex(a.style,this.format($(a,this.p,e,!1,this.dflt)),this.format(b),f,g)},g.registerSpecialProp=function(a,b,c){xa(a,{parser:function(a,d,e,f,g,h,i){var j=new sa(a,e,0,0,g,2,e,!1,c);return j.plugin=h,j.setRatio=b(a,d,f._tween,e),j},priority:c})},g.useSVGTransformAttr=m||n;var za,Aa="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ba=Y("transform"),Ca=W+"transform",Da=Y("transformOrigin"),Ea=null!==Y("perspective"),Fa=R.Transform=function(){this.perspective=parseFloat(g.defaultTransformPerspective)||0,this.force3D=g.defaultForce3D!==!1&&Ea?g.defaultForce3D||"auto":!1},Ga=window.SVGElement,Ha=function(a,b,c){var d,e=N.createElementNS("http://www.w3.org/2000/svg",a),f=/([a-z])([A-Z])/g;for(d in c)e.setAttributeNS(null,d.replace(f,"$1-$2").toLowerCase(),c[d]);return b.appendChild(e),e},Ia=N.documentElement,Ja=function(){var a,b,c,d=p||/Android/i.test(S)&&!window.chrome;return N.createElementNS&&!d&&(a=Ha("svg",Ia),b=Ha("rect",a,{width:100,height:50,x:100}),c=b.getBoundingClientRect().width,b.style[Da]="50% 50%",b.style[Ba]="scaleX(0.5)",d=c===b.getBoundingClientRect().width&&!(n&&Ea),Ia.removeChild(a)),d}(),Ka=function(a,b,c,d,e,f){var h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=a._gsTransform,w=Oa(a,!0);v&&(t=v.xOrigin,u=v.yOrigin),(!d||(h=d.split(" ")).length<2)&&(n=a.getBBox(),b=ga(b).split(" "),h=[(-1!==b[0].indexOf("%")?parseFloat(b[0])/100*n.width:parseFloat(b[0]))+n.x,(-1!==b[1].indexOf("%")?parseFloat(b[1])/100*n.height:parseFloat(b[1]))+n.y]),c.xOrigin=k=parseFloat(h[0]),c.yOrigin=l=parseFloat(h[1]),d&&w!==Na&&(m=w[0],n=w[1],o=w[2],p=w[3],q=w[4],r=w[5],s=m*p-n*o,i=k*(p/s)+l*(-o/s)+(o*r-p*q)/s,j=k*(-n/s)+l*(m/s)-(m*r-n*q)/s,k=c.xOrigin=h[0]=i,l=c.yOrigin=h[1]=j),v&&(f&&(c.xOffset=v.xOffset,c.yOffset=v.yOffset,v=c),e||e!==!1&&g.defaultSmoothOrigin!==!1?(i=k-t,j=l-u,v.xOffset+=i*w[0]+j*w[2]-i,v.yOffset+=i*w[1]+j*w[3]-j):v.xOffset=v.yOffset=0),f||a.setAttribute("data-svg-origin",h.join(" "))},La=function(a){try{return a.getBBox()}catch(a){}},Ma=function(a){return!!(Ga&&a.getBBox&&a.getCTM&&La(a)&&(!a.parentNode||a.parentNode.getBBox&&a.parentNode.getCTM))},Na=[1,0,0,1,0,0],Oa=function(a,b){var c,d,e,f,g,h,i=a._gsTransform||new Fa,j=1e5,k=a.style;if(Ba?d=$(a,Ca,null,!0):a.currentStyle&&(d=a.currentStyle.filter.match(G),d=d&&4===d.length?[d[0].substr(4),Number(d[2].substr(4)),Number(d[1].substr(4)),d[3].substr(4),i.x||0,i.y||0].join(","):""),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,c&&Ba&&((h="none"===Z(a).display)||!a.parentNode)&&(h&&(f=k.display,k.display="block"),a.parentNode||(g=1,Ia.appendChild(a)),d=$(a,Ca,null,!0),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,f?k.display=f:h&&Ta(k,"display"),g&&Ia.removeChild(a)),(i.svg||a.getBBox&&Ma(a))&&(c&&-1!==(k[Ba]+"").indexOf("matrix")&&(d=k[Ba],c=0),e=a.getAttribute("transform"),c&&e&&(-1!==e.indexOf("matrix")?(d=e,c=0):-1!==e.indexOf("translate")&&(d="matrix(1,0,0,1,"+e.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",c=0))),c)return Na;for(e=(d||"").match(s)||[],va=e.length;--va>-1;)f=Number(e[va]),e[va]=(g=f-(f|=0))?(g*j+(0>g?-.5:.5)|0)/j+f:f;return b&&e.length>6?[e[0],e[1],e[4],e[5],e[12],e[13]]:e},Pa=R.getTransform=function(a,c,d,e){if(a._gsTransform&&d&&!e)return a._gsTransform;var f,h,i,j,k,l,m=d?a._gsTransform||new Fa:new Fa,n=m.scaleX<0,o=2e-5,p=1e5,q=Ea?parseFloat($(a,Da,c,!1,"0 0 0").split(" ")[2])||m.zOrigin||0:0,r=parseFloat(g.defaultTransformPerspective)||0;if(m.svg=!(!a.getBBox||!Ma(a)),m.svg&&(Ka(a,$(a,Da,c,!1,"50% 50%")+"",m,a.getAttribute("data-svg-origin")),za=g.useSVGTransformAttr||Ja),f=Oa(a),f!==Na){if(16===f.length){var s,t,u,v,w,x=f[0],y=f[1],z=f[2],A=f[3],B=f[4],C=f[5],D=f[6],E=f[7],F=f[8],G=f[9],H=f[10],I=f[12],J=f[13],K=f[14],M=f[11],N=Math.atan2(D,H);m.zOrigin&&(K=-m.zOrigin,I=F*K-f[12],J=G*K-f[13],K=H*K+m.zOrigin-f[14]),m.rotationX=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),s=B*v+F*w,t=C*v+G*w,u=D*v+H*w,F=B*-w+F*v,G=C*-w+G*v,H=D*-w+H*v,M=E*-w+M*v,B=s,C=t,D=u),N=Math.atan2(-z,H),m.rotationY=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),s=x*v-F*w,t=y*v-G*w,u=z*v-H*w,G=y*w+G*v,H=z*w+H*v,M=A*w+M*v,x=s,y=t,z=u),N=Math.atan2(y,x),m.rotation=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),x=x*v+B*w,t=y*v+C*w,C=y*-w+C*v,D=z*-w+D*v,y=t),m.rotationX&&Math.abs(m.rotationX)+Math.abs(m.rotation)>359.9&&(m.rotationX=m.rotation=0,m.rotationY=180-m.rotationY),m.scaleX=(Math.sqrt(x*x+y*y)*p+.5|0)/p,m.scaleY=(Math.sqrt(C*C+G*G)*p+.5|0)/p,m.scaleZ=(Math.sqrt(D*D+H*H)*p+.5|0)/p,m.rotationX||m.rotationY?m.skewX=0:(m.skewX=B||C?Math.atan2(B,C)*L+m.rotation:m.skewX||0,Math.abs(m.skewX)>90&&Math.abs(m.skewX)<270&&(n?(m.scaleX*=-1,m.skewX+=m.rotation<=0?180:-180,m.rotation+=m.rotation<=0?180:-180):(m.scaleY*=-1,m.skewX+=m.skewX<=0?180:-180))),m.perspective=M?1/(0>M?-M:M):0,m.x=I,m.y=J,m.z=K,m.svg&&(m.x-=m.xOrigin-(m.xOrigin*x-m.yOrigin*B),m.y-=m.yOrigin-(m.yOrigin*y-m.xOrigin*C))}else if(!Ea||e||!f.length||m.x!==f[4]||m.y!==f[5]||!m.rotationX&&!m.rotationY){var O=f.length>=6,P=O?f[0]:1,Q=f[1]||0,R=f[2]||0,S=O?f[3]:1;m.x=f[4]||0,m.y=f[5]||0,i=Math.sqrt(P*P+Q*Q),j=Math.sqrt(S*S+R*R),k=P||Q?Math.atan2(Q,P)*L:m.rotation||0,l=R||S?Math.atan2(R,S)*L+k:m.skewX||0,Math.abs(l)>90&&Math.abs(l)<270&&(n?(i*=-1,l+=0>=k?180:-180,k+=0>=k?180:-180):(j*=-1,l+=0>=l?180:-180)),m.scaleX=i,m.scaleY=j,m.rotation=k,m.skewX=l,Ea&&(m.rotationX=m.rotationY=m.z=0,m.perspective=r,m.scaleZ=1),m.svg&&(m.x-=m.xOrigin-(m.xOrigin*P+m.yOrigin*R),m.y-=m.yOrigin-(m.xOrigin*Q+m.yOrigin*S))}m.zOrigin=q;for(h in m)m[h]<o&&m[h]>-o&&(m[h]=0)}return d&&(a._gsTransform=m,m.svg&&(za&&a.style[Ba]?b.delayedCall(.001,function(){Ta(a.style,Ba)}):!za&&a.getAttribute("transform")&&b.delayedCall(.001,function(){a.removeAttribute("transform")}))),m},Qa=function(a){var b,c,d=this.data,e=-d.rotation*K,f=e+d.skewX*K,g=1e5,h=(Math.cos(e)*d.scaleX*g|0)/g,i=(Math.sin(e)*d.scaleX*g|0)/g,j=(Math.sin(f)*-d.scaleY*g|0)/g,k=(Math.cos(f)*d.scaleY*g|0)/g,l=this.t.style,m=this.t.currentStyle;if(m){c=i,i=-j,j=-c,b=m.filter,l.filter="";var n,o,q=this.t.offsetWidth,r=this.t.offsetHeight,s="absolute"!==m.position,t="progid:DXImageTransform.Microsoft.Matrix(M11="+h+", M12="+i+", M21="+j+", M22="+k,u=d.x+q*d.xPercent/100,v=d.y+r*d.yPercent/100;if(null!=d.ox&&(n=(d.oxp?q*d.ox*.01:d.ox)-q/2,o=(d.oyp?r*d.oy*.01:d.oy)-r/2,u+=n-(n*h+o*i),v+=o-(n*j+o*k)),s?(n=q/2,o=r/2,t+=", Dx="+(n-(n*h+o*i)+u)+", Dy="+(o-(n*j+o*k)+v)+")"):t+=", sizingMethod='auto expand')",-1!==b.indexOf("DXImageTransform.Microsoft.Matrix(")?l.filter=b.replace(H,t):l.filter=t+" "+b,(0===a||1===a)&&1===h&&0===i&&0===j&&1===k&&(s&&-1===t.indexOf("Dx=0, Dy=0")||x.test(b)&&100!==parseFloat(RegExp.$1)||-1===b.indexOf(b.indexOf("Alpha"))&&l.removeAttribute("filter")),!s){var y,z,A,B=8>p?1:-1;for(n=d.ieOffsetX||0,o=d.ieOffsetY||0,d.ieOffsetX=Math.round((q-((0>h?-h:h)*q+(0>i?-i:i)*r))/2+u),d.ieOffsetY=Math.round((r-((0>k?-k:k)*r+(0>j?-j:j)*q))/2+v),va=0;4>va;va++)z=ea[va],y=m[z],c=-1!==y.indexOf("px")?parseFloat(y):_(this.t,z,parseFloat(y),y.replace(w,""))||0,A=c!==d[z]?2>va?-d.ieOffsetX:-d.ieOffsetY:2>va?n-d.ieOffsetX:o-d.ieOffsetY,l[z]=(d[z]=Math.round(c-A*(0===va||2===va?1:B)))+"px"}}},Ra=R.set3DTransformRatio=R.setTransformRatio=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,o,p,q,r,s,t,u,v,w,x,y,z=this.data,A=this.t.style,B=z.rotation,C=z.rotationX,D=z.rotationY,E=z.scaleX,F=z.scaleY,G=z.scaleZ,H=z.x,I=z.y,J=z.z,L=z.svg,M=z.perspective,N=z.force3D;if(((1===a||0===a)&&"auto"===N&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!N)&&!J&&!M&&!D&&!C&&1===G||za&&L||!Ea)return void(B||z.skewX||L?(B*=K,x=z.skewX*K,y=1e5,b=Math.cos(B)*E,e=Math.sin(B)*E,c=Math.sin(B-x)*-F,f=Math.cos(B-x)*F,x&&"simple"===z.skewType&&(s=Math.tan(x-z.skewY*K),s=Math.sqrt(1+s*s),c*=s,f*=s,z.skewY&&(s=Math.tan(z.skewY*K),s=Math.sqrt(1+s*s),b*=s,e*=s)),L&&(H+=z.xOrigin-(z.xOrigin*b+z.yOrigin*c)+z.xOffset,I+=z.yOrigin-(z.xOrigin*e+z.yOrigin*f)+z.yOffset,za&&(z.xPercent||z.yPercent)&&(p=this.t.getBBox(),H+=.01*z.xPercent*p.width,I+=.01*z.yPercent*p.height),p=1e-6,p>H&&H>-p&&(H=0),p>I&&I>-p&&(I=0)),u=(b*y|0)/y+","+(e*y|0)/y+","+(c*y|0)/y+","+(f*y|0)/y+","+H+","+I+")",L&&za?this.t.setAttribute("transform","matrix("+u):A[Ba]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix(":"matrix(")+u):A[Ba]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix(":"matrix(")+E+",0,0,"+F+","+H+","+I+")");if(n&&(p=1e-4,p>E&&E>-p&&(E=G=2e-5),p>F&&F>-p&&(F=G=2e-5),!M||z.z||z.rotationX||z.rotationY||(M=0)),B||z.skewX)B*=K,q=b=Math.cos(B),r=e=Math.sin(B),z.skewX&&(B-=z.skewX*K,q=Math.cos(B),r=Math.sin(B),"simple"===z.skewType&&(s=Math.tan((z.skewX-z.skewY)*K),s=Math.sqrt(1+s*s),q*=s,r*=s,z.skewY&&(s=Math.tan(z.skewY*K),s=Math.sqrt(1+s*s),b*=s,e*=s))),c=-r,f=q;else{if(!(D||C||1!==G||M||L))return void(A[Ba]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) translate3d(":"translate3d(")+H+"px,"+I+"px,"+J+"px)"+(1!==E||1!==F?" scale("+E+","+F+")":""));b=f=1,c=e=0}j=1,d=g=h=i=k=l=0,m=M?-1/M:0,o=z.zOrigin,p=1e-6,v=",",w="0",B=D*K,B&&(q=Math.cos(B),r=Math.sin(B),h=-r,k=m*-r,d=b*r,g=e*r,j=q,m*=q,b*=q,e*=q),B=C*K,B&&(q=Math.cos(B),r=Math.sin(B),s=c*q+d*r,t=f*q+g*r,i=j*r,l=m*r,d=c*-r+d*q,g=f*-r+g*q,j*=q,m*=q,c=s,f=t),1!==G&&(d*=G,g*=G,j*=G,m*=G),1!==F&&(c*=F,f*=F,i*=F,l*=F),1!==E&&(b*=E,e*=E,h*=E,k*=E),(o||L)&&(o&&(H+=d*-o,I+=g*-o,J+=j*-o+o),L&&(H+=z.xOrigin-(z.xOrigin*b+z.yOrigin*c)+z.xOffset,I+=z.yOrigin-(z.xOrigin*e+z.yOrigin*f)+z.yOffset),p>H&&H>-p&&(H=w),p>I&&I>-p&&(I=w),p>J&&J>-p&&(J=0)),u=z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix3d(":"matrix3d(",u+=(p>b&&b>-p?w:b)+v+(p>e&&e>-p?w:e)+v+(p>h&&h>-p?w:h),u+=v+(p>k&&k>-p?w:k)+v+(p>c&&c>-p?w:c)+v+(p>f&&f>-p?w:f),C||D||1!==G?(u+=v+(p>i&&i>-p?w:i)+v+(p>l&&l>-p?w:l)+v+(p>d&&d>-p?w:d),u+=v+(p>g&&g>-p?w:g)+v+(p>j&&j>-p?w:j)+v+(p>m&&m>-p?w:m)+v):u+=",0,0,0,0,1,0,",u+=H+v+I+v+J+v+(M?1+-J/M:1)+")",A[Ba]=u};j=Fa.prototype,j.x=j.y=j.z=j.skewX=j.skewY=j.rotation=j.rotationX=j.rotationY=j.zOrigin=j.xPercent=j.yPercent=j.xOffset=j.yOffset=0,j.scaleX=j.scaleY=j.scaleZ=1,xa("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(a,b,c,d,f,h,i){if(d._lastParsedTransform===i)return f;d._lastParsedTransform=i;var j;"function"==typeof i[c]&&(j=i[c],i[c]=b);var k,l,m,n,o,p,s,t,u,v=a._gsTransform,w=a.style,x=1e-6,y=Aa.length,z=i,A={},B="transformOrigin",C=Pa(a,e,!0,z.parseTransform),D=z.transform&&("function"==typeof z.transform?z.transform(r,q):z.transform);if(d._transform=C,D&&"string"==typeof D&&Ba)l=P.style,l[Ba]=D,l.display="block",l.position="absolute",N.body.appendChild(P),k=Pa(P,null,!1),C.svg&&(p=C.xOrigin,s=C.yOrigin,k.x-=C.xOffset,k.y-=C.yOffset,(z.transformOrigin||z.svgOrigin)&&(D={},Ka(a,ga(z.transformOrigin),D,z.svgOrigin,z.smoothOrigin,!0),p=D.xOrigin,s=D.yOrigin,k.x-=D.xOffset-C.xOffset,k.y-=D.yOffset-C.yOffset),(p||s)&&(t=Oa(P,!0),k.x-=p-(p*t[0]+s*t[2]),k.y-=s-(p*t[1]+s*t[3]))),N.body.removeChild(P),k.perspective||(k.perspective=C.perspective),null!=z.xPercent&&(k.xPercent=ia(z.xPercent,C.xPercent)),null!=z.yPercent&&(k.yPercent=ia(z.yPercent,C.yPercent));else if("object"==typeof z){if(k={scaleX:ia(null!=z.scaleX?z.scaleX:z.scale,C.scaleX),scaleY:ia(null!=z.scaleY?z.scaleY:z.scale,C.scaleY),scaleZ:ia(z.scaleZ,C.scaleZ),x:ia(z.x,C.x),y:ia(z.y,C.y),z:ia(z.z,C.z),xPercent:ia(z.xPercent,C.xPercent),yPercent:ia(z.yPercent,C.yPercent),perspective:ia(z.transformPerspective,C.perspective)},o=z.directionalRotation,null!=o)if("object"==typeof o)for(l in o)z[l]=o[l];else z.rotation=o;"string"==typeof z.x&&-1!==z.x.indexOf("%")&&(k.x=0,k.xPercent=ia(z.x,C.xPercent)),"string"==typeof z.y&&-1!==z.y.indexOf("%")&&(k.y=0,k.yPercent=ia(z.y,C.yPercent)),k.rotation=ja("rotation"in z?z.rotation:"shortRotation"in z?z.shortRotation+"_short":"rotationZ"in z?z.rotationZ:C.rotation-C.skewY,C.rotation-C.skewY,"rotation",A),Ea&&(k.rotationX=ja("rotationX"in z?z.rotationX:"shortRotationX"in z?z.shortRotationX+"_short":C.rotationX||0,C.rotationX,"rotationX",A),k.rotationY=ja("rotationY"in z?z.rotationY:"shortRotationY"in z?z.shortRotationY+"_short":C.rotationY||0,C.rotationY,"rotationY",A)),k.skewX=ja(z.skewX,C.skewX-C.skewY),(k.skewY=ja(z.skewY,C.skewY))&&(k.skewX+=k.skewY,k.rotation+=k.skewY)}for(Ea&&null!=z.force3D&&(C.force3D=z.force3D,n=!0),C.skewType=z.skewType||C.skewType||g.defaultSkewType,m=C.force3D||C.z||C.rotationX||C.rotationY||k.z||k.rotationX||k.rotationY||k.perspective,m||null==z.scale||(k.scaleZ=1);--y>-1;)u=Aa[y],D=k[u]-C[u],(D>x||-x>D||null!=z[u]||null!=M[u])&&(n=!0,f=new sa(C,u,C[u],D,f),u in A&&(f.e=A[u]),f.xs0=0,f.plugin=h,d._overwriteProps.push(f.n));return D=z.transformOrigin,C.svg&&(D||z.svgOrigin)&&(p=C.xOffset,s=C.yOffset,Ka(a,ga(D),k,z.svgOrigin,z.smoothOrigin),f=ta(C,"xOrigin",(v?C:k).xOrigin,k.xOrigin,f,B),f=ta(C,"yOrigin",(v?C:k).yOrigin,k.yOrigin,f,B),(p!==C.xOffset||s!==C.yOffset)&&(f=ta(C,"xOffset",v?p:C.xOffset,C.xOffset,f,B),f=ta(C,"yOffset",v?s:C.yOffset,C.yOffset,f,B)),D=za?null:"0px 0px"),(D||Ea&&m&&C.zOrigin)&&(Ba?(n=!0,u=Da,D=(D||$(a,u,e,!1,"50% 50%"))+"",f=new sa(w,u,0,0,f,-1,B),f.b=w[u],f.plugin=h,Ea?(l=C.zOrigin,D=D.split(" "),C.zOrigin=(D.length>2&&(0===l||"0px"!==D[2])?parseFloat(D[2]):l)||0,f.xs0=f.e=D[0]+" "+(D[1]||"50%")+" 0px",f=new sa(C,"zOrigin",0,0,f,-1,f.n),f.b=l,f.xs0=f.e=C.zOrigin):f.xs0=f.e=D):ga(D+"",C)),n&&(d._transformType=C.svg&&za||!m&&3!==this._transformType?2:3),j&&(i[c]=j),f},prefix:!0}),xa("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),xa("borderRadius",{defaultValue:"0px",parser:function(a,b,c,f,g,h){b=this.format(b);var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],z=a.style;for(q=parseFloat(a.offsetWidth),r=parseFloat(a.offsetHeight),i=b.split(" "),j=0;j<y.length;j++)this.p.indexOf("border")&&(y[j]=Y(y[j])),m=l=$(a,y[j],e,!1,"0px"),-1!==m.indexOf(" ")&&(l=m.split(" "),m=l[0],l=l[1]),n=k=i[j],o=parseFloat(m),t=m.substr((o+"").length),u="="===n.charAt(1),u?(p=parseInt(n.charAt(0)+"1",10),n=n.substr(2),p*=parseFloat(n),s=n.substr((p+"").length-(0>p?1:0))||""):(p=parseFloat(n),s=n.substr((p+"").length)),""===s&&(s=d[c]||t),s!==t&&(v=_(a,"borderLeft",o,t),w=_(a,"borderTop",o,t),"%"===s?(m=v/q*100+"%",l=w/r*100+"%"):"em"===s?(x=_(a,"borderLeft",1,"em"),m=v/x+"em",l=w/x+"em"):(m=v+"px",l=w+"px"),u&&(n=parseFloat(m)+p+s,k=parseFloat(l)+p+s)),g=ua(z,y[j],m+" "+l,n+" "+k,!1,"0px",g);return g},prefix:!0,formatter:pa("0px 0px 0px 0px",!1,!0)}),xa("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(a,b,c,d,f,g){return ua(a.style,c,this.format($(a,c,e,!1,"0px 0px")),this.format(b),!1,"0px",f)},prefix:!0,formatter:pa("0px 0px",!1,!0)}),xa("backgroundPosition",{defaultValue:"0 0",parser:function(a,b,c,d,f,g){var h,i,j,k,l,m,n="background-position",o=e||Z(a,null),q=this.format((o?p?o.getPropertyValue(n+"-x")+" "+o.getPropertyValue(n+"-y"):o.getPropertyValue(n):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0"),r=this.format(b);if(-1!==q.indexOf("%")!=(-1!==r.indexOf("%"))&&r.split(",").length<2&&(m=$(a,"backgroundImage").replace(D,""),m&&"none"!==m)){for(h=q.split(" "),i=r.split(" "),Q.setAttribute("src",m),j=2;--j>-1;)q=h[j],k=-1!==q.indexOf("%"),k!==(-1!==i[j].indexOf("%"))&&(l=0===j?a.offsetWidth-Q.width:a.offsetHeight-Q.height,h[j]=k?parseFloat(q)/100*l+"px":parseFloat(q)/l*100+"%");q=h.join(" ")}return this.parseComplex(a.style,q,r,f,g)},formatter:ga}),xa("backgroundSize",{defaultValue:"0 0",formatter:function(a){return a+="",ga(-1===a.indexOf(" ")?a+" "+a:a)}}),xa("perspective",{defaultValue:"0px",prefix:!0}),xa("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),xa("transformStyle",{prefix:!0}),xa("backfaceVisibility",{prefix:!0}),xa("userSelect",{prefix:!0}),xa("margin",{parser:qa("marginTop,marginRight,marginBottom,marginLeft")}),xa("padding",{parser:qa("paddingTop,paddingRight,paddingBottom,paddingLeft")}),xa("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(a,b,c,d,f,g){var h,i,j;return 9>p?(i=a.currentStyle,j=8>p?" ":",",h="rect("+i.clipTop+j+i.clipRight+j+i.clipBottom+j+i.clipLeft+")",b=this.format(b).split(",").join(j)):(h=this.format($(a,this.p,e,!1,this.dflt)),b=this.format(b)),this.parseComplex(a.style,h,b,f,g)}}),xa("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),xa("autoRound,strictUnits",{parser:function(a,b,c,d,e){return e}}),xa("border",{defaultValue:"0px solid #000",parser:function(a,b,c,d,f,g){var h=$(a,"borderTopWidth",e,!1,"0px"),i=this.format(b).split(" "),j=i[0].replace(w,"");return"px"!==j&&(h=parseFloat(h)/_(a,"borderTopWidth",1,j)+j),this.parseComplex(a.style,this.format(h+" "+$(a,"borderTopStyle",e,!1,"solid")+" "+$(a,"borderTopColor",e,!1,"#000")),i.join(" "),f,g)},color:!0,formatter:function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(oa)||["#000"])[0]}}),xa("borderWidth",{parser:qa("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),xa("float,cssFloat,styleFloat",{parser:function(a,b,c,d,e,f){var g=a.style,h="cssFloat"in g?"cssFloat":"styleFloat";return new sa(g,h,0,0,e,-1,c,!1,0,g[h],b)}});var Sa=function(a){var b,c=this.t,d=c.filter||$(this.data,"filter")||"",e=this.s+this.c*a|0;100===e&&(-1===d.indexOf("atrix(")&&-1===d.indexOf("radient(")&&-1===d.indexOf("oader(")?(c.removeAttribute("filter"),b=!$(this.data,"filter")):(c.filter=d.replace(z,""),b=!0)),b||(this.xn1&&(c.filter=d=d||"alpha(opacity="+e+")"),-1===d.indexOf("pacity")?0===e&&this.xn1||(c.filter=d+" alpha(opacity="+e+")"):c.filter=d.replace(x,"opacity="+e))};xa("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(a,b,c,d,f,g){var h=parseFloat($(a,"opacity",e,!1,"1")),i=a.style,j="autoAlpha"===c;return"string"==typeof b&&"="===b.charAt(1)&&(b=("-"===b.charAt(0)?-1:1)*parseFloat(b.substr(2))+h),j&&1===h&&"hidden"===$(a,"visibility",e)&&0!==b&&(h=0),T?f=new sa(i,"opacity",h,b-h,f):(f=new sa(i,"opacity",100*h,100*(b-h),f),f.xn1=j?1:0,i.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=g,f.setRatio=Sa),j&&(f=new sa(i,"visibility",0,0,f,-1,null,!1,0,0!==h?"inherit":"hidden",0===b?"hidden":"inherit"),f.xs0="inherit",d._overwriteProps.push(f.n),d._overwriteProps.push(c)),f}});var Ta=function(a,b){b&&(a.removeProperty?(("ms"===b.substr(0,2)||"webkit"===b.substr(0,6))&&(b="-"+b),a.removeProperty(b.replace(B,"-$1").toLowerCase())):a.removeAttribute(b))},Ua=function(a){if(this.t._gsClassPT=this,1===a||0===a){this.t.setAttribute("class",0===a?this.b:this.e);for(var b=this.data,c=this.t.style;b;)b.v?c[b.p]=b.v:Ta(c,b.p),b=b._next;1===a&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};xa("className",{parser:function(a,b,d,f,g,h,i){var j,k,l,m,n,o=a.getAttribute("class")||"",p=a.style.cssText;if(g=f._classNamePT=new sa(a,d,0,0,g,2),g.setRatio=Ua,g.pr=-11,c=!0,g.b=o,k=ba(a,e),l=a._gsClassPT){for(m={},n=l.data;n;)m[n.p]=1,n=n._next;l.setRatio(1)}return a._gsClassPT=g,g.e="="!==b.charAt(1)?b:o.replace(new RegExp("(?:\\s|^)"+b.substr(2)+"(?![\\w-])"),"")+("+"===b.charAt(0)?" "+b.substr(2):""),a.setAttribute("class",g.e),j=ca(a,k,ba(a),i,m),a.setAttribute("class",o),g.data=j.firstMPT,a.style.cssText=p,g=g.xfirst=f.parse(a,j.difs,g,h)}});var Va=function(a){if((1===a||0===a)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var b,c,d,e,f,g=this.t.style,h=i.transform.parse;if("all"===this.e)g.cssText="",e=!0;else for(b=this.e.split(" ").join("").split(","),d=b.length;--d>-1;)c=b[d],i[c]&&(i[c].parse===h?e=!0:c="transformOrigin"===c?Da:i[c].p),Ta(g,c);e&&(Ta(g,Ba),f=this.t._gsTransform,f&&(f.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(xa("clearProps",{parser:function(a,b,d,e,f){return f=new sa(a,d,0,0,f,2),f.setRatio=Va,f.e=b,f.pr=-10,f.data=e._tween,c=!0,f}}),j="bezier,throwProps,physicsProps,physics2D".split(","),va=j.length;va--;)ya(j[va]);j=g.prototype,j._firstPT=j._lastParsedTransform=j._transform=null,j._onInitTween=function(a,b,h,j){if(!a.nodeType)return!1;this._target=q=a,this._tween=h,this._vars=b,r=j,k=b.autoRound,c=!1,d=b.suffixMap||g.suffixMap,e=Z(a,""),f=this._overwriteProps;var n,p,s,t,u,v,w,x,z,A=a.style;if(l&&""===A.zIndex&&(n=$(a,"zIndex",e),("auto"===n||""===n)&&this._addLazySet(A,"zIndex",0)),"string"==typeof b&&(t=A.cssText,n=ba(a,e),A.cssText=t+";"+b,n=ca(a,n,ba(a)).difs,!T&&y.test(b)&&(n.opacity=parseFloat(RegExp.$1)),b=n,A.cssText=t),b.className?this._firstPT=p=i.className.parse(a,b.className,"className",this,null,null,b):this._firstPT=p=this.parse(a,b,null),this._transformType){for(z=3===this._transformType,Ba?m&&(l=!0,""===A.zIndex&&(w=$(a,"zIndex",e),("auto"===w||""===w)&&this._addLazySet(A,"zIndex",0)),o&&this._addLazySet(A,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(z?"visible":"hidden"))):A.zoom=1,s=p;s&&s._next;)s=s._next;x=new sa(a,"transform",0,0,null,2),this._linkCSSP(x,null,s),x.setRatio=Ba?Ra:Qa,x.data=this._transform||Pa(a,e,!0),x.tween=h,x.pr=-1,f.pop()}if(c){for(;p;){for(v=p._next,s=t;s&&s.pr>p.pr;)s=s._next;(p._prev=s?s._prev:u)?p._prev._next=p:t=p,(p._next=s)?s._prev=p:u=p,p=v}this._firstPT=t}return!0},j.parse=function(a,b,c,f){var g,h,j,l,m,n,o,p,s,t,u=a.style;for(g in b)n=b[g],"function"==typeof n&&(n=n(r,q)),h=i[g],h?c=h.parse(a,n,g,this,c,f,b):(m=$(a,g,e)+"",s="string"==typeof n,"color"===g||"fill"===g||"stroke"===g||-1!==g.indexOf("Color")||s&&A.test(n)?(s||(n=ma(n),n=(n.length>3?"rgba(":"rgb(")+n.join(",")+")"),c=ua(u,g,m,n,!0,"transparent",c,0,f)):s&&J.test(n)?c=ua(u,g,m,n,!0,null,c,0,f):(j=parseFloat(m),o=j||0===j?m.substr((j+"").length):"",(""===m||"auto"===m)&&("width"===g||"height"===g?(j=fa(a,g,e),o="px"):"left"===g||"top"===g?(j=aa(a,g,e),o="px"):(j="opacity"!==g?0:1,o="")),t=s&&"="===n.charAt(1),t?(l=parseInt(n.charAt(0)+"1",10),n=n.substr(2),l*=parseFloat(n),p=n.replace(w,"")):(l=parseFloat(n),p=s?n.replace(w,""):""),""===p&&(p=g in d?d[g]:o),n=l||0===l?(t?l+j:l)+p:b[g],o!==p&&""!==p&&(l||0===l)&&j&&(j=_(a,g,j,o),"%"===p?(j/=_(a,g,100,"%")/100,b.strictUnits!==!0&&(m=j+"%")):"em"===p||"rem"===p||"vw"===p||"vh"===p?j/=_(a,g,1,p):"px"!==p&&(l=_(a,g,l,p),p="px"),t&&(l||0===l)&&(n=l+j+p)),t&&(l+=j),!j&&0!==j||!l&&0!==l?void 0!==u[g]&&(n||n+""!="NaN"&&null!=n)?(c=new sa(u,g,l||j||0,0,c,-1,g,!1,0,m,n),c.xs0="none"!==n||"display"!==g&&-1===g.indexOf("Style")?n:m):V("invalid "+g+" tween value: "+b[g]):(c=new sa(u,g,j,l-j,c,0,g,k!==!1&&("px"===p||"zIndex"===g),0,m,n),c.xs0=p))),f&&c&&!c.plugin&&(c.plugin=f);return c},j.setRatio=function(a){var b,c,d,e=this._firstPT,f=1e-6;if(1!==a||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(a||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;e;){if(b=e.c*a+e.s,e.r?b=Math.round(b):f>b&&b>-f&&(b=0),e.type)if(1===e.type)if(d=e.l,2===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2;else if(3===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{for(c=e.xs0+b+e.xs1,d=1;d<e.l;d++)c+=e["xn"+d]+e["xs"+(d+1)];e.t[e.p]=c}else-1===e.type?e.t[e.p]=e.xs0:e.setRatio&&e.setRatio(a);else e.t[e.p]=b+e.xs0;e=e._next}else for(;e;)2!==e.type?e.t[e.p]=e.b:e.setRatio(a),e=e._next;else for(;e;){if(2!==e.type)if(e.r&&-1!==e.type)if(b=Math.round(e.s+e.c),e.type){if(1===e.type){for(d=e.l,c=e.xs0+b+e.xs1,d=1;d<e.l;d++)c+=e["xn"+d]+e["xs"+(d+1)];e.t[e.p]=c}}else e.t[e.p]=b+e.xs0;else e.t[e.p]=e.e;else e.setRatio(a);e=e._next}},j._enableTransforms=function(a){this._transform=this._transform||Pa(this._target,e,!0),this._transformType=this._transform.svg&&za||!a&&3!==this._transformType?2:3};var Wa=function(a){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};j._addLazySet=function(a,b,c){var d=this._firstPT=new sa(a,b,0,0,this._firstPT,2);d.e=c,d.setRatio=Wa,d.data=this},j._linkCSSP=function(a,b,c,d){return a&&(b&&(b._prev=a),a._next&&(a._next._prev=a._prev),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next,d=!0),c?c._next=a:d||null!==this._firstPT||(this._firstPT=a),a._next=b,a._prev=c),a},j._mod=function(a){for(var b=this._firstPT;b;)"function"==typeof a[b.p]&&a[b.p]===Math.round&&(b.r=1),b=b._next},j._kill=function(b){var c,d,e,f=b;if(b.autoAlpha||b.alpha){f={};for(d in b)f[d]=b[d];f.opacity=1,f.autoAlpha&&(f.visibility=1)}for(b.className&&(c=this._classNamePT)&&(e=c.xfirst,e&&e._prev?this._linkCSSP(e._prev,c._next,e._prev._prev):e===this._firstPT&&(this._firstPT=c._next),c._next&&this._linkCSSP(c._next,c._next._next,e._prev),this._classNamePT=null),c=this._firstPT;c;)c.plugin&&c.plugin!==d&&c.plugin._kill&&(c.plugin._kill(b),d=c.plugin),c=c._next;return a.prototype._kill.call(this,f)};var Xa=function(a,b,c){var d,e,f,g;if(a.slice)for(e=a.length;--e>-1;)Xa(a[e],b,c);else for(d=a.childNodes,e=d.length;--e>-1;)f=d[e],g=f.type,f.style&&(b.push(ba(f)),c&&c.push(f)),1!==g&&9!==g&&11!==g||!f.childNodes.length||Xa(f,b,c)};return g.cascadeTo=function(a,c,d){var e,f,g,h,i=b.to(a,c,d),j=[i],k=[],l=[],m=[],n=b._internals.reservedProps;for(a=i._targets||i.target,Xa(a,k,m),i.render(c,!0,!0),Xa(a,l),i.render(0,!0,!0),i._enabled(!0),e=m.length;--e>-1;)if(f=ca(m[e],k[e],l[e]),f.firstMPT){f=f.difs;for(g in d)n[g]&&(f[g]=d[g]);h={};for(g in f)h[g]=k[e][g];j.push(b.fromTo(m[e],c,h,f))}return j},a.activate([g]),g},!0),function(){var a=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.6.0",priority:-1,API:2,init:function(a,b,c){return this._tween=c,!0}}),b=function(a){for(;a;)a.f||a.blob||(a.m=Math.round),a=a._next},c=a.prototype;c._onInitAllProps=function(){for(var a,c,d,e=this._tween,f=e.vars.roundProps.join?e.vars.roundProps:e.vars.roundProps.split(","),g=f.length,h={},i=e._propLookup.roundProps;--g>-1;)h[f[g]]=Math.round;for(g=f.length;--g>-1;)for(a=f[g],c=e._firstPT;c;)d=c._next,c.pg?c.t._mod(h):c.n===a&&(2===c.f&&c.t?b(c.t._firstPT):(this._add(c.t,a,c.s,c.c),d&&(d._prev=c._prev),c._prev?c._prev._next=d:e._firstPT===c&&(e._firstPT=d),c._next=c._prev=null,e._propLookup[a]=i)),c=d;return!1},c._add=function(a,b,c,d){this._addTween(a,b,c,c+d,b,Math.round),this._overwriteProps.push(b)}}(),function(){_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.0",init:function(a,b,c,d){var e,f;if("function"!=typeof a.setAttribute)return!1;for(e in b)f=b[e],"function"==typeof f&&(f=f(d,a)),this._addTween(a,"setAttribute",a.getAttribute(e)+"",f+"",e,!1,e),this._overwriteProps.push(e);return!0}})}(),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.0",API:2,init:function(a,b,c,d){"object"!=typeof b&&(b={rotation:b}),this.finals={};var e,f,g,h,i,j,k=b.useRadians===!0?2*Math.PI:360,l=1e-6;for(e in b)"useRadians"!==e&&(h=b[e],"function"==typeof h&&(h=h(d,a)),j=(h+"").split("_"),f=j[0],g=parseFloat("function"!=typeof a[e]?a[e]:a[e.indexOf("set")||"function"!=typeof a["get"+e.substr(3)]?e:"get"+e.substr(3)]()),h=this.finals[e]="string"==typeof f&&"="===f.charAt(1)?g+parseInt(f.charAt(0)+"1",10)*Number(f.substr(2)):Number(f)||0,i=h-g,j.length&&(f=j.join("_"),-1!==f.indexOf("short")&&(i%=k,i!==i%(k/2)&&(i=0>i?i+k:i-k)),-1!==f.indexOf("_cw")&&0>i?i=(i+9999999999*k)%k-(i/k|0)*k:-1!==f.indexOf("ccw")&&i>0&&(i=(i-9999999999*k)%k-(i/k|0)*k)),(i>l||-l>i)&&(this._addTween(a,e,g,g+i,e),this._overwriteProps.push(e)));return!0},set:function(a){var b;if(1!==a)this._super.setRatio.call(this,a);else for(b=this._firstPT;b;)b.f?b.t[b.p](this.finals[b.p]):b.t[b.p]=this.finals[b.p],b=b._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(a){var b,c,d,e=_gsScope.GreenSockGlobals||_gsScope,f=e.com.greensock,g=2*Math.PI,h=Math.PI/2,i=f._class,j=function(b,c){var d=i("easing."+b,function(){},!0),e=d.prototype=new a;return e.constructor=d,e.getRatio=c,d},k=a.register||function(){},l=function(a,b,c,d,e){var f=i("easing."+a,{easeOut:new b,easeIn:new c,easeInOut:new d},!0);return k(f,a),f},m=function(a,b,c){this.t=a,this.v=b,c&&(this.next=c,c.prev=this,this.c=c.v-b,this.gap=c.t-a)},n=function(b,c){var d=i("easing."+b,function(a){this._p1=a||0===a?a:1.70158,this._p2=1.525*this._p1},!0),e=d.prototype=new a;return e.constructor=d,e.getRatio=c,e.config=function(a){return new d(a)},d},o=l("Back",n("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),n("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),n("BackInOut",function(a){return(a*=2)<1?.5*a*a*((this._p2+1)*a-this._p2):.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)})),p=i("easing.SlowMo",function(a,b,c){b=b||0===b?b:.7,null==a?a=.7:a>1&&(a=1),this._p=1!==a?b:0,this._p1=(1-a)/2,this._p2=a,this._p3=this._p1+this._p2,this._calcEnd=c===!0},!0),q=p.prototype=new a;return q.constructor=p,q.getRatio=function(a){var b=a+(.5-a)*this._p;return a<this._p1?this._calcEnd?1-(a=1-a/this._p1)*a:b-(a=1-a/this._p1)*a*a*a*b:a>this._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b},p.ease=new p(.7,.7),q.config=p.config=function(a,b,c){return new p(a,b,c)},b=i("easing.SteppedEase",function(a){a=a||1,this._p1=1/a,this._p2=a+1},!0),q=b.prototype=new a,q.constructor=b,q.getRatio=function(a){return 0>a?a=0:a>=1&&(a=.999999999),(this._p2*a>>0)*this._p1},q.config=b.config=function(a){return new b(a)},c=i("easing.RoughEase",function(b){b=b||{};for(var c,d,e,f,g,h,i=b.taper||"none",j=[],k=0,l=0|(b.points||20),n=l,o=b.randomize!==!1,p=b.clamp===!0,q=b.template instanceof a?b.template:null,r="number"==typeof b.strength?.4*b.strength:.4;--n>-1;)c=o?Math.random():1/l*n,d=q?q.getRatio(c):c,"none"===i?e=r:"out"===i?(f=1-c,e=f*f*r):"in"===i?e=c*c*r:.5>c?(f=2*c,e=f*f*.5*r):(f=2*(1-c),e=f*f*.5*r),o?d+=Math.random()*e-.5*e:n%2?d+=.5*e:d-=.5*e,p&&(d>1?d=1:0>d&&(d=0)),j[k++]={x:c,y:d};for(j.sort(function(a,b){return a.x-b.x}),h=new m(1,1,null),n=l;--n>-1;)g=j[n],h=new m(g.x,g.y,h);this._prev=new m(0,0,0!==h.t?h:h.next)},!0),q=c.prototype=new a,q.constructor=c,q.getRatio=function(a){var b=this._prev;if(a>b.t){for(;b.next&&a>=b.t;)b=b.next;b=b.prev}else for(;b.prev&&a<=b.t;)b=b.prev;return this._prev=b,b.v+(a-b.t)/b.gap*b.c},q.config=function(a){return new c(a)},c.ease=new c,l("Bounce",j("BounceOut",function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375}),j("BounceIn",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:2/2.75>a?1-(7.5625*(a-=1.5/2.75)*a+.75):2.5/2.75>
vendor: 26,609 bytes, line 1845
1845a?1-(7.5625*(a-=2.25/2.75)*a+.9375):1-(7.5625*(a-=2.625/2.75)*a+.984375)}),j("BounceInOut",function(a){var b=.5>a;return a=b?1-2*a:2*a-1,a=1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375,b?.5*(1-a):.5*a+.5})),l("Circ",j("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),j("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),j("CircInOut",function(a){return(a*=2)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)})),d=function(b,c,d){var e=i("easing."+b,function(a,b){this._p1=a>=1?a:1,this._p2=(b||d)/(1>a?a:1),this._p3=this._p2/g*(Math.asin(1/this._p1)||0),this._p2=g/this._p2},!0),f=e.prototype=new a;return f.constructor=e,f.getRatio=c,f.config=function(a,b){return new e(a,b)},e},l("Elastic",d("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*this._p2)+1},.3),d("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*this._p2))},.3),d("ElasticInOut",function(a){return(a*=2)<1?-.5*(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*this._p2)):this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*this._p2)*.5+1},.45)),l("Expo",j("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),j("ExpoIn",function(a){return Math.pow(2,10*(a-1))-.001}),j("ExpoInOut",function(a){return(a*=2)<1?.5*Math.pow(2,10*(a-1)):.5*(2-Math.pow(2,-10*(a-1)))})),l("Sine",j("SineOut",function(a){return Math.sin(a*h)}),j("SineIn",function(a){return-Math.cos(a*h)+1}),j("SineInOut",function(a){return-.5*(Math.cos(Math.PI*a)-1)})),i("easing.EaseLookup",{find:function(b){return a.map[b]}},!0),k(e.SlowMo,"SlowMo","ease,"),k(c,"RoughEase","ease,"),k(b,"SteppedEase","ease,"),o},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(a,b){"use strict";var c={},d=a.GreenSockGlobals=a.GreenSockGlobals||a;if(!d.TweenLite){var e,f,g,h,i,j=function(a){var b,c=a.split("."),e=d;for(b=0;b<c.length;b++)e[c[b]]=e=e[c[b]]||{};return e},k=j("com.greensock"),l=1e-10,m=function(a){var b,c=[],d=a.length;for(b=0;b!==d;c.push(a[b++]));return c},n=function(){},o=function(){var a=Object.prototype.toString,b=a.call([]);return function(c){return null!=c&&(c instanceof Array||"object"==typeof c&&!!c.push&&a.call(c)===b)}}(),p={},q=function(e,f,g,h){this.sc=p[e]?p[e].sc:[],p[e]=this,this.gsClass=null,this.func=g;var i=[];this.check=function(k){for(var l,m,n,o,r,s=f.length,t=s;--s>-1;)(l=p[f[s]]||new q(f[s],[])).gsClass?(i[s]=l.gsClass,t--):k&&l.sc.push(this);if(0===t&&g){if(m=("com.greensock."+e).split("."),n=m.pop(),o=j(m.join("."))[n]=this.gsClass=g.apply(g,i),h)if(d[n]=c[n]=o,r="undefined"!=typeof module&&module.exports,!r&&"function"==typeof define&&define.amd)define((a.GreenSockAMDPath?a.GreenSockAMDPath+"/":"")+e.split(".").pop(),[],function(){return o});else if(r)if(e===b){module.exports=c[b]=o;for(s in c)o[s]=c[s]}else c[b]&&(c[b][n]=o);for(s=0;s<this.sc.length;s++)this.sc[s].check()}},this.check(!0)},r=a._gsDefine=function(a,b,c,d){return new q(a,b,c,d)},s=k._class=function(a,b,c){return b=b||function(){},r(a,[],function(){return b},c),b};r.globals=d;var t=[0,0,1,1],u=s("easing.Ease",function(a,b,c,d){this._func=a,this._type=c||0,this._power=d||0,this._params=b?t.concat(b):t},!0),v=u.map={},w=u.register=function(a,b,c,d){for(var e,f,g,h,i=b.split(","),j=i.length,l=(c||"easeIn,easeOut,easeInOut").split(",");--j>-1;)for(f=i[j],e=d?s("easing."+f,null,!0):k.easing[f]||{},g=l.length;--g>-1;)h=l[g],v[f+"."+h]=v[h+f]=e[h]=a.getRatio?a:a[h]||new a};for(g=u.prototype,g._calcEnd=!1,g.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:.5>a?2*a:2*(1-a);return 1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d),1===b?1-d:2===b?d:.5>a?d/2:1-d/2},e=["Linear","Quad","Cubic","Quart","Quint,Strong"],f=e.length;--f>-1;)g=e[f]+",Power"+f,w(new u(null,null,1,f),g,"easeOut",!0),w(new u(null,null,2,f),g,"easeIn"+(0===f?",easeNone":"")),w(new u(null,null,3,f),g,"easeInOut");v.linear=k.easing.Linear.easeIn,v.swing=k.easing.Quad.easeInOut;var x=s("events.EventDispatcher",function(a){this._listeners={},this._eventTarget=a||this});g=x.prototype,g.addEventListener=function(a,b,c,d,e){e=e||0;var f,g,j=this._listeners[a],k=0;for(this!==h||i||h.wake(),null==j&&(this._listeners[a]=j=[]),g=j.length;--g>-1;)f=j[g],f.c===b&&f.s===c?j.splice(g,1):0===k&&f.pr<e&&(k=g+1);j.splice(k,0,{c:b,s:c,up:d,pr:e})},g.removeEventListener=function(a,b){var c,d=this._listeners[a];if(d)for(c=d.length;--c>-1;)if(d[c].c===b)return void d.splice(c,1)},g.dispatchEvent=function(a){var b,c,d,e=this._listeners[a];if(e)for(b=e.length,b>1&&(e=e.slice(0)),c=this._eventTarget;--b>-1;)d=e[b],d&&(d.up?d.c.call(d.s||c,{type:a,target:c}):d.c.call(d.s||c))};var y=a.requestAnimationFrame,z=a.cancelAnimationFrame,A=Date.now||function(){return(new Date).getTime()},B=A();for(e=["ms","moz","webkit","o"],f=e.length;--f>-1&&!y;)y=a[e[f]+"RequestAnimationFrame"],z=a[e[f]+"CancelAnimationFrame"]||a[e[f]+"CancelRequestAnimationFrame"];s("Ticker",function(a,b){var c,d,e,f,g,j=this,k=A(),m=b!==!1&&y?"auto":!1,o=500,p=33,q="tick",r=function(a){var b,h,i=A()-B;i>o&&(k+=i-p),B+=i,j.time=(B-k)/1e3,b=j.time-g,(!c||b>0||a===!0)&&(j.frame++,g+=b+(b>=f?.004:f-b),h=!0),a!==!0&&(e=d(r)),h&&j.dispatchEvent(q)};x.call(j),j.time=j.frame=0,j.tick=function(){r(!0)},j.lagSmoothing=function(a,b){o=a||1/l,p=Math.min(b,o,0)},j.sleep=function(){null!=e&&(m&&z?z(e):clearTimeout(e),d=n,e=null,j===h&&(i=!1))},j.wake=function(a){null!==e?j.sleep():a?k+=-B+(B=A()):j.frame>10&&(B=A()-o+5),d=0===c?n:m&&y?y:function(a){return setTimeout(a,1e3*(g-j.time)+1|0)},j===h&&(i=!0),r(2)},j.fps=function(a){return arguments.length?(c=a,f=1/(c||60),g=this.time+f,void j.wake()):c},j.useRAF=function(a){return arguments.length?(j.sleep(),m=a,void j.fps(c)):m},j.fps(a),setTimeout(function(){"auto"===m&&j.frame<5&&"hidden"!==document.visibilityState&&j.useRAF(!1)},1500)}),g=k.Ticker.prototype=new k.events.EventDispatcher,g.constructor=k.Ticker;var C=s("core.Animation",function(a,b){if(this.vars=b=b||{},this._duration=this._totalDuration=a||0,this._delay=Number(b.delay)||0,this._timeScale=1,this._active=b.immediateRender===!0,this.data=b.data,this._reversed=b.reversed===!0,V){i||h.wake();var c=this.vars.useFrames?U:V;c.add(this,c._time),this.vars.paused&&this.paused(!0)}});h=C.ticker=new k.Ticker,g=C.prototype,g._dirty=g._gc=g._initted=g._paused=!1,g._totalTime=g._time=0,g._rawPrevTime=-1,g._next=g._last=g._onUpdate=g._timeline=g.timeline=null,g._paused=!1;var D=function(){i&&A()-B>2e3&&h.wake(),setTimeout(D,2e3)};D(),g.play=function(a,b){return null!=a&&this.seek(a,b),this.reversed(!1).paused(!1)},g.pause=function(a,b){return null!=a&&this.seek(a,b),this.paused(!0)},g.resume=function(a,b){return null!=a&&this.seek(a,b),this.paused(!1)},g.seek=function(a,b){return this.totalTime(Number(a),b!==!1)},g.restart=function(a,b){return this.reversed(!1).paused(!1).totalTime(a?-this._delay:0,b!==!1,!0)},g.reverse=function(a,b){return null!=a&&this.seek(a||this.totalDuration(),b),this.reversed(!0).paused(!1)},g.render=function(a,b,c){},g.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},g.isActive=function(){var a,b=this._timeline,c=this._startTime;return!b||!this._gc&&!this._paused&&b.isActive()&&(a=b.rawTime())>=c&&a<c+this.totalDuration()/this._timeScale},g._enabled=function(a,b){return i||h.wake(),this._gc=!a,this._active=this.isActive(),b!==!0&&(a&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!a&&this.timeline&&this._timeline._remove(this,!0)),!1},g._kill=function(a,b){return this._enabled(!1,!1)},g.kill=function(a,b){return this._kill(a,b),this},g._uncache=function(a){for(var b=a?this:this.timeline;b;)b._dirty=!0,b=b.timeline;return this},g._swapSelfInParams=function(a){for(var b=a.length,c=a.concat();--b>-1;)"{self}"===a[b]&&(c[b]=this);return c},g._callback=function(a){var b=this.vars,c=b[a],d=b[a+"Params"],e=b[a+"Scope"]||b.callbackScope||this,f=d?d.length:0;switch(f){case 0:c.call(e);break;case 1:c.call(e,d[0]);break;case 2:c.call(e,d[0],d[1]);break;default:c.apply(e,d)}},g.eventCallback=function(a,b,c,d){if("on"===(a||"").substr(0,2)){var e=this.vars;if(1===arguments.length)return e[a];null==b?delete e[a]:(e[a]=b,e[a+"Params"]=o(c)&&-1!==c.join("").indexOf("{self}")?this._swapSelfInParams(c):c,e[a+"Scope"]=d),"onUpdate"===a&&(this._onUpdate=b)}return this},g.delay=function(a){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay),this._delay=a,this):this._delay},g.duration=function(a){return arguments.length?(this._duration=this._totalDuration=a,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==a&&this.totalTime(this._totalTime*(a/this._duration),!0),this):(this._dirty=!1,this._duration)},g.totalDuration=function(a){return this._dirty=!1,arguments.length?this.duration(a):this._totalDuration},g.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(a>this._duration?this._duration:a,b)):this._time},g.totalTime=function(a,b,c){if(i||h.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>a&&!c&&(a+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var d=this._totalDuration,e=this._timeline;if(a>d&&!c&&(a=d),this._startTime=(this._paused?this._pauseTime:e._time)-(this._reversed?d-a:a)/this._timeScale,e._dirty||this._uncache(!1),e._timeline)for(;e._timeline;)e._timeline._time!==(e._startTime+e._totalTime)/e._timeScale&&e.totalTime(e._totalTime,!0),e=e._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==a||0===this._duration)&&(I.length&&X(),this.render(a,b,!1),I.length&&X())}return this},g.progress=g.totalProgress=function(a,b){var c=this.duration();return arguments.length?this.totalTime(c*a,b):c?this._time/c:this.ratio},g.startTime=function(a){return arguments.length?(a!==this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,a-this._delay)),this):this._startTime},g.endTime=function(a){return this._startTime+(0!=a?this.totalDuration():this.duration())/this._timeScale},g.timeScale=function(a){if(!arguments.length)return this._timeScale;if(a=a||l,this._timeline&&this._timeline.smoothChildTiming){var b=this._pauseTime,c=b||0===b?b:this._timeline.totalTime();this._startTime=c-(c-this._startTime)*this._timeScale/a}return this._timeScale=a,this._uncache(!1)},g.reversed=function(a){return arguments.length?(a!=this._reversed&&(this._reversed=a,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},g.paused=function(a){if(!arguments.length)return this._paused;var b,c,d=this._timeline;return a!=this._paused&&d&&(i||a||h.wake(),b=d.rawTime(),c=b-this._pauseTime,!a&&d.smoothChildTiming&&(this._startTime+=c,this._uncache(!1)),this._pauseTime=a?b:null,this._paused=a,this._active=this.isActive(),!a&&0!==c&&this._initted&&this.duration()&&(b=d.smoothChildTiming?this._totalTime:(b-this._startTime)/this._timeScale,this.render(b,b===this._totalTime,!0))),this._gc&&!a&&this._enabled(!0,!1),this};var E=s("core.SimpleTimeline",function(a){C.call(this,0,a),this.autoRemoveChildren=this.smoothChildTiming=!0});g=E.prototype=new C,g.constructor=E,g.kill()._gc=!1,g._first=g._last=g._recent=null,g._sortChildren=!1,g.add=g.insert=function(a,b,c,d){var e,f;if(a._startTime=Number(b||0)+a._delay,a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale),a.timeline&&a.timeline._remove(a,!0),a.timeline=a._timeline=this,a._gc&&a._enabled(!0,!0),e=this._last,this._sortChildren)for(f=a._startTime;e&&e._startTime>f;)e=e._prev;return e?(a._next=e._next,e._next=a):(a._next=this._first,this._first=a),a._next?a._next._prev=a:this._last=a,a._prev=e,this._recent=a,this._timeline&&this._uncache(!0),this},g._remove=function(a,b){return a.timeline===this&&(b||a._enabled(!1,!0),a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=a._prev:this._last===a&&(this._last=a._prev),a._next=a._prev=a.timeline=null,a===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},g.render=function(a,b,c){var d,e=this._first;for(this._totalTime=this._time=this._rawPrevTime=a;e;)d=e._next,(e._active||a>=e._startTime&&!e._paused)&&(e._reversed?e.render((e._dirty?e.totalDuration():e._totalDuration)-(a-e._startTime)*e._timeScale,b,c):e.render((a-e._startTime)*e._timeScale,b,c)),e=d},g.rawTime=function(){return i||h.wake(),this._totalTime};var F=s("TweenLite",function(b,c,d){if(C.call(this,c,d),this.render=F.prototype.render,null==b)throw"Cannot tween a null target.";this.target=b="string"!=typeof b?b:F.selector(b)||b;var e,f,g,h=b.jquery||b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType),i=this.vars.overwrite;if(this._overwrite=i=null==i?T[F.defaultOverwrite]:"number"==typeof i?i>>0:T[i],(h||b instanceof Array||b.push&&o(b))&&"number"!=typeof b[0])for(this._targets=g=m(b),this._propLookup=[],this._siblings=[],e=0;e<g.length;e++)f=g[e],f?"string"!=typeof f?f.length&&f!==a&&f[0]&&(f[0]===a||f[0].nodeType&&f[0].style&&!f.nodeType)?(g.splice(e--,1),this._targets=g=g.concat(m(f))):(this._siblings[e]=Y(f,this,!1),1===i&&this._siblings[e].length>1&&$(f,this,null,1,this._siblings[e])):(f=g[e--]=F.selector(f),"string"==typeof f&&g.splice(e+1,1)):g.splice(e--,1);else this._propLookup={},this._siblings=Y(b,this,!1),1===i&&this._siblings.length>1&&$(b,this,null,1,this._siblings);(this.vars.immediateRender||0===c&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-l,this.render(Math.min(0,-this._delay)))},!0),G=function(b){return b&&b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType);},H=function(a,b){var c,d={};for(c in a)S[c]||c in b&&"transform"!==c&&"x"!==c&&"y"!==c&&"width"!==c&&"height"!==c&&"className"!==c&&"border"!==c||!(!P[c]||P[c]&&P[c]._autoCSS)||(d[c]=a[c],delete a[c]);a.css=d};g=F.prototype=new C,g.constructor=F,g.kill()._gc=!1,g.ratio=0,g._firstPT=g._targets=g._overwrittenProps=g._startAt=null,g._notifyPluginsOfEnabled=g._lazy=!1,F.version="1.19.0",F.defaultEase=g._ease=new u(null,null,1,1),F.defaultOverwrite="auto",F.ticker=h,F.autoSleep=120,F.lagSmoothing=function(a,b){h.lagSmoothing(a,b)},F.selector=a.$||a.jQuery||function(b){var c=a.$||a.jQuery;return c?(F.selector=c,c(b)):"undefined"==typeof document?b:document.querySelectorAll?document.querySelectorAll(b):document.getElementById("#"===b.charAt(0)?b.substr(1):b)};var I=[],J={},K=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,L=function(a){for(var b,c=this._firstPT,d=1e-6;c;)b=c.blob?a?this.join(""):this.start:c.c*a+c.s,c.m?b=c.m(b,this._target||c.t):d>b&&b>-d&&(b=0),c.f?c.fp?c.t[c.p](c.fp,b):c.t[c.p](b):c.t[c.p]=b,c=c._next},M=function(a,b,c,d){var e,f,g,h,i,j,k,l=[a,b],m=0,n="",o=0;for(l.start=a,c&&(c(l),a=l[0],b=l[1]),l.length=0,e=a.match(K)||[],f=b.match(K)||[],d&&(d._next=null,d.blob=1,l._firstPT=l._applyPT=d),i=f.length,h=0;i>h;h++)k=f[h],j=b.substr(m,b.indexOf(k,m)-m),n+=j||!h?j:",",m+=j.length,o?o=(o+1)%5:"rgba("===j.substr(-5)&&(o=1),k===e[h]||e.length<=h?n+=k:(n&&(l.push(n),n=""),g=parseFloat(e[h]),l.push(g),l._firstPT={_next:l._firstPT,t:l,p:l.length-1,s:g,c:("="===k.charAt(1)?parseInt(k.charAt(0)+"1",10)*parseFloat(k.substr(2)):parseFloat(k)-g)||0,f:0,m:o&&4>o?Math.round:0}),m+=k.length;return n+=b.substr(m),n&&l.push(n),l.setRatio=L,l},N=function(a,b,c,d,e,f,g,h,i){"function"==typeof d&&(d=d(i||0,a));var j,k,l="get"===c?a[b]:c,m=typeof a[b],n="string"==typeof d&&"="===d.charAt(1),o={t:a,p:b,s:l,f:"function"===m,pg:0,n:e||b,m:f?"function"==typeof f?f:Math.round:0,pr:0,c:n?parseInt(d.charAt(0)+"1",10)*parseFloat(d.substr(2)):parseFloat(d)-l||0};return"number"!==m&&("function"===m&&"get"===c&&(k=b.indexOf("set")||"function"!=typeof a["get"+b.substr(3)]?b:"get"+b.substr(3),o.s=l=g?a[k](g):a[k]()),"string"==typeof l&&(g||isNaN(l))?(o.fp=g,j=M(l,d,h||F.defaultStringFilter,o),o={t:j,p:"setRatio",s:0,c:1,f:2,pg:0,n:e||b,pr:0,m:0}):n||(o.s=parseFloat(l),o.c=parseFloat(d)-o.s||0)),o.c?((o._next=this._firstPT)&&(o._next._prev=o),this._firstPT=o,o):void 0},O=F._internals={isArray:o,isSelector:G,lazyTweens:I,blobDif:M},P=F._plugins={},Q=O.tweenLookup={},R=0,S=O.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1},T={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},U=C._rootFramesTimeline=new E,V=C._rootTimeline=new E,W=30,X=O.lazyRender=function(){var a,b=I.length;for(J={};--b>-1;)a=I[b],a&&a._lazy!==!1&&(a.render(a._lazy[0],a._lazy[1],!0),a._lazy=!1);I.length=0};V._startTime=h.time,U._startTime=h.frame,V._active=U._active=!0,setTimeout(X,1),C._updateRoot=F.render=function(){var a,b,c;if(I.length&&X(),V.render((h.time-V._startTime)*V._timeScale,!1,!1),U.render((h.frame-U._startTime)*U._timeScale,!1,!1),I.length&&X(),h.frame>=W){W=h.frame+(parseInt(F.autoSleep,10)||120);for(c in Q){for(b=Q[c].tweens,a=b.length;--a>-1;)b[a]._gc&&b.splice(a,1);0===b.length&&delete Q[c]}if(c=V._first,(!c||c._paused)&&F.autoSleep&&!U._first&&1===h._listeners.tick.length){for(;c&&c._paused;)c=c._next;c||h.sleep()}}},h.addEventListener("tick",C._updateRoot);var Y=function(a,b,c){var d,e,f=a._gsTweenID;if(Q[f||(a._gsTweenID=f="t"+R++)]||(Q[f]={target:a,tweens:[]}),b&&(d=Q[f].tweens,d[e=d.length]=b,c))for(;--e>-1;)d[e]===b&&d.splice(e,1);return Q[f].tweens},Z=function(a,b,c,d){var e,f,g=a.vars.onOverwrite;return g&&(e=g(a,b,c,d)),g=F.onOverwrite,g&&(f=g(a,b,c,d)),e!==!1&&f!==!1},$=function(a,b,c,d,e){var f,g,h,i;if(1===d||d>=4){for(i=e.length,f=0;i>f;f++)if((h=e[f])!==b)h._gc||h._kill(null,a,b)&&(g=!0);else if(5===d)break;return g}var j,k=b._startTime+l,m=[],n=0,o=0===b._duration;for(f=e.length;--f>-1;)(h=e[f])===b||h._gc||h._paused||(h._timeline!==b._timeline?(j=j||_(b,0,o),0===_(h,j,o)&&(m[n++]=h)):h._startTime<=k&&h._startTime+h.totalDuration()/h._timeScale>k&&((o||!h._initted)&&k-h._startTime<=2e-10||(m[n++]=h)));for(f=n;--f>-1;)if(h=m[f],2===d&&h._kill(c,a,b)&&(g=!0),2!==d||!h._firstPT&&h._initted){if(2!==d&&!Z(h,b))continue;h._enabled(!1,!1)&&(g=!0)}return g},_=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){if(f+=d._startTime,e*=d._timeScale,d._paused)return-100;d=d._timeline}return f/=e,f>b?f-b:c&&f===b||!a._initted&&2*l>f-b?l:(f+=a.totalDuration()/a._timeScale/e)>b+l?0:f-b-l};g._init=function(){var a,b,c,d,e,f,g=this.vars,h=this._overwrittenProps,i=this._duration,j=!!g.immediateRender,k=g.ease;if(g.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),e={};for(d in g.startAt)e[d]=g.startAt[d];if(e.overwrite=!1,e.immediateRender=!0,e.lazy=j&&g.lazy!==!1,e.startAt=e.delay=null,this._startAt=F.to(this.target,0,e),j)if(this._time>0)this._startAt=null;else if(0!==i)return}else if(g.runBackwards&&0!==i)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(j=!1),c={};for(d in g)S[d]&&"autoCSS"!==d||(c[d]=g[d]);if(c.overwrite=0,c.data="isFromStart",c.lazy=j&&g.lazy!==!1,c.immediateRender=j,this._startAt=F.to(this.target,0,c),j){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=k=k?k instanceof u?k:"function"==typeof k?new u(k,g.easeParams):v[k]||F.defaultEase:F.defaultEase,g.easeParams instanceof Array&&k.config&&(this._ease=k.config.apply(k,g.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(f=this._targets.length,a=0;f>a;a++)this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],h?h[a]:null,a)&&(b=!0);else b=this._initProps(this.target,this._propLookup,this._siblings,h,0);if(b&&F._onPluginEvent("_onInitAllProps",this),h&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),g.runBackwards)for(c=this._firstPT;c;)c.s+=c.c,c.c=-c.c,c=c._next;this._onUpdate=g.onUpdate,this._initted=!0},g._initProps=function(b,c,d,e,f){var g,h,i,j,k,l;if(null==b)return!1;J[b._gsTweenID]&&X(),this.vars.css||b.style&&b!==a&&b.nodeType&&P.css&&this.vars.autoCSS!==!1&&H(this.vars,b);for(g in this.vars)if(l=this.vars[g],S[g])l&&(l instanceof Array||l.push&&o(l))&&-1!==l.join("").indexOf("{self}")&&(this.vars[g]=l=this._swapSelfInParams(l,this));else if(P[g]&&(j=new P[g])._onInitTween(b,this.vars[g],this,f)){for(this._firstPT=k={_next:this._firstPT,t:j,p:"setRatio",s:0,c:1,f:1,n:g,pg:1,pr:j._priority,m:0},h=j._overwriteProps.length;--h>-1;)c[j._overwriteProps[h]]=this._firstPT;(j._priority||j._onInitAllProps)&&(i=!0),(j._onDisable||j._onEnable)&&(this._notifyPluginsOfEnabled=!0),k._next&&(k._next._prev=k)}else c[g]=N.call(this,b,g,"get",l,g,0,null,this.vars.stringFilter,f);return e&&this._kill(e,b)?this._initProps(b,c,d,e,f):this._overwrite>1&&this._firstPT&&d.length>1&&$(b,this,c,this._overwrite,d)?(this._kill(c,b),this._initProps(b,c,d,e,f)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(J[b._gsTweenID]=!0),i)},g.render=function(a,b,c){var d,e,f,g,h=this._time,i=this._duration,j=this._rawPrevTime;if(a>=i-1e-7)this._totalTime=this._time=i,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(d=!0,e="onComplete",c=c||this._timeline.autoRemoveChildren),0===i&&(this._initted||!this.vars.lazy||c)&&(this._startTime===this._timeline._duration&&(a=0),(0>j||0>=a&&a>=-1e-7||j===l&&"isPause"!==this.data)&&j!==a&&(c=!0,j>l&&(e="onReverseComplete")),this._rawPrevTime=g=!b||a||j===a?a:l);else if(1e-7>a)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==h||0===i&&j>0)&&(e="onReverseComplete",d=this._reversed),0>a&&(this._active=!1,0===i&&(this._initted||!this.vars.lazy||c)&&(j>=0&&(j!==l||"isPause"!==this.data)&&(c=!0),this._rawPrevTime=g=!b||a||j===a?a:l)),this._initted||(c=!0);else if(this._totalTime=this._time=a,this._easeType){var k=a/i,m=this._easeType,n=this._easePower;(1===m||3===m&&k>=.5)&&(k=1-k),3===m&&(k*=2),1===n?k*=k:2===n?k*=k*k:3===n?k*=k*k*k:4===n&&(k*=k*k*k*k),1===m?this.ratio=1-k:2===m?this.ratio=k:.5>a/i?this.ratio=k/2:this.ratio=1-k/2}else this.ratio=this._ease.getRatio(a/i);if(this._time!==h||c){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!c&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=h,this._rawPrevTime=j,I.push(this),void(this._lazy=[a,b]);this._time&&!d?this.ratio=this._ease.getRatio(this._time/i):d&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==h&&a>=0&&(this._active=!0),0===h&&(this._startAt&&(a>=0?this._startAt.render(a,b,c):e||(e="_dummyGS")),this.vars.onStart&&(0!==this._time||0===i)&&(b||this._callback("onStart"))),f=this._firstPT;f;)f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next;this._onUpdate&&(0>a&&this._startAt&&a!==-1e-4&&this._startAt.render(a,b,c),b||(this._time!==h||d||c)&&this._callback("onUpdate")),e&&(!this._gc||c)&&(0>a&&this._startAt&&!this._onUpdate&&a!==-1e-4&&this._startAt.render(a,b,c),d&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this._callback(e),0===i&&this._rawPrevTime===l&&g!==l&&(this._rawPrevTime=0))}},g._kill=function(a,b,c){if("all"===a&&(a=null),null==a&&(null==b||b===this.target))return this._lazy=!1,this._enabled(!1,!1);b="string"!=typeof b?b||this._targets||this.target:F.selector(b)||b;var d,e,f,g,h,i,j,k,l,m=c&&this._time&&c._startTime===this._startTime&&this._timeline===c._timeline;if((o(b)||G(b))&&"number"!=typeof b[0])for(d=b.length;--d>-1;)this._kill(a,b[d],c)&&(i=!0);else{if(this._targets){for(d=this._targets.length;--d>-1;)if(b===this._targets[d]){h=this._propLookup[d]||{},this._overwrittenProps=this._overwrittenProps||[],e=this._overwrittenProps[d]=a?this._overwrittenProps[d]||{}:"all";break}}else{if(b!==this.target)return!1;h=this._propLookup,e=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(h){if(j=a||h,k=a!==e&&"all"!==e&&a!==h&&("object"!=typeof a||!a._tempKill),c&&(F.onOverwrite||this.vars.onOverwrite)){for(f in j)h[f]&&(l||(l=[]),l.push(f));if((l||!a)&&!Z(this,c,b,l))return!1}for(f in j)(g=h[f])&&(m&&(g.f?g.t[g.p](g.s):g.t[g.p]=g.s,i=!0),g.pg&&g.t._kill(j)&&(i=!0),g.pg&&0!==g.t._overwriteProps.length||(g._prev?g._prev._next=g._next:g===this._firstPT&&(this._firstPT=g._next),g._next&&(g._next._prev=g._prev),g._next=g._prev=null),delete h[f]),k&&(e[f]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return i},g.invalidate=function(){return this._notifyPluginsOfEnabled&&F._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],C.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-l,this.render(Math.min(0,-this._delay))),this},g._enabled=function(a,b){if(i||h.wake(),a&&this._gc){var c,d=this._targets;if(d)for(c=d.length;--c>-1;)this._siblings[c]=Y(d[c],this,!0);else this._siblings=Y(this.target,this,!0)}return C.prototype._enabled.call(this,a,b),this._notifyPluginsOfEnabled&&this._firstPT?F._onPluginEvent(a?"_onEnable":"_onDisable",this):!1},F.to=function(a,b,c){return new F(a,b,c)},F.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,new F(a,b,c)},F.fromTo=function(a,b,c,d){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,new F(a,b,d)},F.delayedCall=function(a,b,c,d,e){return new F(b,0,{delay:a,onComplete:b,onCompleteParams:c,callbackScope:d,onReverseComplete:b,onReverseCompleteParams:c,immediateRender:!1,lazy:!1,useFrames:e,overwrite:0})},F.set=function(a,b){return new F(a,0,b)},F.getTweensOf=function(a,b){if(null==a)return[];a="string"!=typeof a?a:F.selector(a)||a;var c,d,e,f;if((o(a)||G(a))&&"number"!=typeof a[0]){for(c=a.length,d=[];--c>-1;
1845)d=d.concat(F.getTweensOf(a[c],b));for(c=d.length;--c>-1;)for(f=d[c],e=c;--e>-1;)f===d[e]&&d.splice(c,1)}else for(d=Y(a).concat(),c=d.length;--c>-1;)(d[c]._gc||b&&!d[c].isActive())&&d.splice(c,1);return d},F.killTweensOf=F.killDelayedCallsTo=function(a,b,c){"object"==typeof b&&(c=b,b=!1);for(var d=F.getTweensOf(a,b),e=d.length;--e>-1;)d[e]._kill(c,a)};var aa=s("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(","),this._propName=this._overwriteProps[0],this._priority=b||0,this._super=aa.prototype},!0);if(g=aa.prototype,aa.version="1.19.0",aa.API=2,g._firstPT=null,g._addTween=N,g.setRatio=L,g._kill=function(a){var b,c=this._overwriteProps,d=this._firstPT;if(null!=a[this._propName])this._overwriteProps=[];else for(b=c.length;--b>-1;)null!=a[c[b]]&&c.splice(b,1);for(;d;)null!=a[d.n]&&(d._next&&(d._next._prev=d._prev),d._prev?(d._prev._next=d._next,d._prev=null):this._firstPT===d&&(this._firstPT=d._next)),d=d._next;return!1},g._mod=g._roundProps=function(a){for(var b,c=this._firstPT;c;)b=a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")],b&&"function"==typeof b&&(2===c.f?c.t._applyPT.m=b:c.m=b),c=c._next},F._onPluginEvent=function(a,b){var c,d,e,f,g,h=b._firstPT;if("_onInitAllProps"===a){for(;h;){for(g=h._next,d=e;d&&d.pr>h.pr;)d=d._next;(h._prev=d?d._prev:f)?h._prev._next=h:e=h,(h._next=d)?d._prev=h:f=h,h=g}h=b._firstPT=e}for(;h;)h.pg&&"function"==typeof h.t[a]&&h.t[a]()&&(c=!0),h=h._next;return c},aa.activate=function(a){for(var b=a.length;--b>-1;)a[b].API===aa.API&&(P[(new a[b])._propName]=a[b]);return!0},r.plugin=function(a){if(!(a&&a.propName&&a.init&&a.API))throw"illegal plugin definition.";var b,c=a.propName,d=a.priority||0,e=a.overwriteProps,f={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},g=s("plugins."+c.charAt(0).toUpperCase()+c.substr(1)+"Plugin",function(){aa.call(this,c,d),this._overwriteProps=e||[]},a.global===!0),h=g.prototype=new aa(c);h.constructor=g,g.API=a.API;for(b in f)"function"==typeof a[b]&&(h[f[b]]=a[b]);return g.version=a.version,aa.activate([g]),g},e=a._gsQueue){for(f=0;f<e.length;f++)e[f]();for(g in p)p[g].func||a.console.log("GSAP encountered missing dependency: "+g)}i=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax");window.SplitType=function(a,b,c){function r(a){return null!==a&&"object"==typeof a}function s(a){return r(a)&&"number"==typeof a.length&&a.length>0}function t(a){return r(a)&&"[object Object]"===Object.prototype.toString.call(a)}function u(a){return r(a)&&/^(1|3|11)$/.test(a.nodeType)}function v(a){return"string"==typeof a}function w(a,b,c){for(var d=Object(a),e=s(d)?d:t(d)?j(d):[d],f=parseInt(e.length)||0,g=0;g<f;g++)b.call(c,e[g],g,d)}function x(a,b){return a=Object(a),b=Object(b),Object.getOwnPropertyNames(a).reduce(function(c,d){return l(c,d,n(b,d)||n(a,d))},{})}function y(a,b,d){var i,h={};return r(a)&&(i=a[e]||(a[e]=++g),h=f[i]||(f[i]={})),d===c?b===c?h:h[b]:b!==c?(h[b]=d,d):void 0}function z(a){var b=a&&a[e];b&&(delete a[b],delete f[b])}function A(a,d){var e=b.createElement(a);return d===c?e:(w(d,function(a){var b=d[a];if(null!==b)switch(a){case"textContent":e.textContent=b;break;case"innerHTML":e.innerHTML=b;break;case"children":w(b,function(a){u(a)&&e.appendChild(a)});break;default:e.setAttribute(a,b)}}),e)}function B(a){var d,e,f,g,h,j,k,c=[];if(v(a)&&(d=a.trim(),e="#"===d[0]&&!/[^\w]/.test(f=d.slice(1)),a=e?b.getElementById(f):b.querySelectorAll(d)),d||u(a))return u(a)?[a]:i.call(a);
1845if(s(a))for(j=0,g=a.length;j<g;j++)if(s(a[j]))for(k=0,h=a[j].length;k<h;k++)u(a[j][k])&&c.push(a[j][k]);else u(a[j])&&c.push(a[j]);return c}function C(b){var f,t,u,v,x,c=this.settings,d=c.tagName,e="B"+1*new Date+"R",g=c.split,j=g.indexOf("lines")!==-1,k=g.indexOf("words")!==-1,l=g.indexOf("chars")!==-1,m="absolute"===c.position||c.absolute===!0,n=A("div"),q=[],r=[],s=[];if(x=j?A("div"):o(),n.innerHTML=b.innerHTML.replace(/<br\s*\/?>/g," "+e+" "),f=n.textContent.replace(/\s+/g," ").trim(),r=f.split(" ").map(function(a){if(a===e)return x.appendChild(A("br")),null;if(l){var b=a.split("").map(function(a){return v=A(d,{class:c.charClass+" "+c.splitClass,style:"display: inline-block;",textContent:a})});h.apply(s,b)}return k||j?(u=A(d,{class:c.wordClass+" "+c.splitClass,style:"display: inline-block; position:"+(k?"relative":"static;"),children:l?b:null,textContent:l?null:a}),x.appendChild(u)):w(b,function(a){x.appendChild(a)}),x.appendChild(p(" ")),u},this).filter(function(a){return a}),b.innerHTML="",b.appendChild(x),h.apply(this.words,r),h.apply(this.chars,s),m||j){var B,C,D,E,F,G,H,I,J,K,L,z=[];H=y(b).nodes=b.getElementsByTagName(d),I=b.parentElement,J=b.nextElementSibling,K=a.getComputedStyle(b),L=K.textAlign,m&&(E={left:x.offsetLeft,top:x.offsetTop,width:x.offsetWidth},G=b.offsetWidth,F=b.offsetHeight,y(b).cssWidth=b.style.width,y(b).cssHeight=b.style.height),w(H,function(a){if(a!==x){var c,b=a.parentElement===x;j&&b&&(c=y(a).top=a.offsetTop,c!==C&&(C=c,z.push(B=[])),B.push(a)),m&&(y(a).top=c||a.offsetTop,y(a).left=a.offsetLeft,y(a).width=a.offsetWidth,y(a).height=D||(D=a.offsetHeight))}}),I.removeChild(b),j&&(x=o(),q=z.map(function(a){return x.appendChild(t=A(d,{class:c.lineClass+" "+c.splitClass,style:"display: block; text-align:"+L+"; width: 100%;"})),m&&(y(t).type="line",y(t).top=y(a[0]).top,y(t).height=D),w(a,function(a){k?t.appendChild(a):l?i.call(a.children).forEach(function(a){t.appendChild(a)}):t.appendChild(p(a.textContent)),t.appendChild(p(" "))}),t}),b.replaceChild(x,b.firstChild),h.apply(this.lines,q)),m&&(b.style.width=b.style.width||G+"px",b.style.height=F+"px",w(H,function(a){var b="line"===y(a).type,c=!b&&"line"===y(a.parentElement).type;a.style.top=c?0:y(a).top+"px",a.style.left=b?E.left+"px":(c?y(a).left-E.left:y(a).left)+"px",a.style.height=y(a).height+"px",a.style.width=b?E.width+"px":y(a).width+"px",a.style.position="absolute"})),J?I.insertBefore(b,J):I.appendChild(b)}}function D(a,b){return this instanceof D?(this.isSplit=!1,this.settings=x(q,b),this.elements=B(a),void(this.elements.length&&(this.originals=this.elements.map(function(a){return y(a).html=y(a).html||a.innerHTML}),this.split()))):new D(a,b)}if(b.addEventListener&&Function.prototype.bind){var e="splitType"+1*new Date,f={},g=0,h=Array.prototype.push,i=Array.prototype.slice,j=Object.keys,l=(Object.prototype.hasOwnProperty,Object.defineProperty),n=(Object.defineProperties,Object.getOwnPropertyDescriptor),o=b.createDocumentFragment.bind(b),p=b.createTextNode.bind(b),q={splitClass:"",lineClass:"line",wordClass:"word",charClass:"char",split:"lines, words, chars",position:"relative",absolute:!1,tagName:"div",DEBUG:!1};return l(D,"defaults",{get:function(){return q},set:function(a){q=x(q,a)}}),D.prototype.split=function(b){this.revert(),this.lines=[],this.words=[],this.chars=[],b!==c&&(this.settings=x(this.settings,b)),w(this.elements,function(a){C.call(this,a),y(a).isSplit=!0},this),this.isSplit=!0,w(this.elements,function(a){for(var b=y(a).nodes||[],c=0,d=b.length;c<d;c++)z(b[c])})},D.prototype.revert=function(){this.isSplit&&(this.lines=this.words=this.chars=null),w(this.elements,function(a){y(a).isSplit&&y(a).html&&(a.innerHTML=y(a).html,a.style.height=y(a).cssHeight||"",a.style.width=y(a).cssWidth||"",this.isSplit=!1)},this)},D}}(window,document);if(typeof LS_Meta==='object'&&LS_Meta.fixGSAP){window.GreenSockGlobals=null,window._gsQueue=null,window._gsDefine=null,delete window.GreenSockGlobals,delete window._gsQueue,delete window._gsDefine,window.GreenSockGlobals=LS_oldGS,window._gsQueue=LS_oldGSQueue,window._gsDefine=LS_oldGSDefine;};;/*! Creative Slider - Responsive Slideshow
1846 * https://creativeslider.webshopworks.com
1847 * Copyright 2015-2020 WebshopWorks
1848 * Not allowed to resell or redistribute this software */
1849eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1o.2B={6s:{8f:!1,aI:!1},cH:"7E"!=2A ff&&ff,aJ:[],9o:[],8g:[],3C:{},cI:{},aK:2y.aK,cJ:65(\'76[28*="7F.fg.cK"]\')[0],aL:"",9p:!1,fh:19(e,t,i,s){1d a,o,r="4Z"==2A e?65("#"+e).3l():e;
18492O(t){1k"cK":o="jq 65 fi",a="fj fk fl jr jt ju or fm jv jw an jx jy of aM 65 fo jz jA 2i 9q 2L 5K fm jB.";1B;1k"fp":o="jC 65 fi",a="fj fk fl fq cL jD an jE 77 ("+i+") of aM 65 fo. 9q jF at jG 77 "+s+" or jH."}65(\'<1y 2o="ls-fr"><i 2o="ls-fr-jI">!</i><fs>\'+o+"</fs><7G>"+a+"</7G></1y>").jJ(r)},ft:19(e){18.cI[e]=2x,2m 18.cI[e]},cM:19(e,t){2i(1d i=e.1H("."),s=t.1H("."),a=0;a<i.1u;++a){if(s.1u==a)1M!1;if(1l(i[a])!=1l(s[a]))1M!(1l(i[a])>1l(s[a]))}1M i.1u,s.1u,!0}},jK.jL.1i=19(e){1M(""+18).1i(e)},19(ba){"jM jN";1o.6t={},ba.fn.4N=19(i,s,a,o){i=i||{};1d t,e="1.7.2",r=ba.fn.cK;if(1o.2B.cM(e,r,e))1M(2A i).49("5L|7E")?(t="jO"+1x.2F().cN(36).jP(2,9),18.2Z(19(e){ba(18).1a("6u")||(1o.6t[t]=4a n(18,ba(18),i,t))})):"1a"===i?1o.6t[18.1a("6u")]:"4w"===i?1o.6t[18.1a("6u")].2u.4w():"jQ"===i?1o.6t[18.1a("6u")].1p.1m.5v||!1:"6v"===i?1o.6t[18.1a("6u")].6v||!1:"jR"===i?1o.6t[18.1a("6u")].o||!1:"cO"===i?1o.6t[18.1a("6u")].cO||!1:18.2Z(19(e){1d t=1o.6t[ba(18).1a("6u")];t&&t.2u.8h(i,s,a,o),t=2x});1o.2B.fh(ba(18),"fp",r,e)};1d n=19(B,P,t,W){P.1a("6u",W).1J("1a-7F-cP",W);1d bd=18,2n=bd.jS=1o.2B.cH?1o.2B.cH:1o;bd.1p={1m:{cQ:"|",1S:"jT",4O:["#3m","#1V","#2C","#1R","#8i","#3n","#3n-8i"],5v:{1Y:"1Z",8j:"4P",cR:!0,fu:!0,fv:!1,6w:-1,aN:-1,fw:-1,5w:-1,fx:"9r",cS:2x,aO:!1,8k:"8l",fy:"50% 50%",fz:!1,8m:!0,9s:!0,51:!1,fA:1,fB:!1,cT:!1,5x:"cU",9t:!1,4i:1,aP:jU,5y:-1,cV:!0,aQ:!1,7H:!1,78:aR,3Q:"jV",8n:"/7F/cW/",8o:"4Q",8p:!1,fC:"no-5M",fD:"2a",fE:"8l",fF:"50% 50%",cX:!0,9u:!0,aS:!0,fG:!0,fH:!0,fI:!0,aT:!1,fJ:!1,fK:!0,fL:!1,66:"1q",aU:"60%",cY:1r,9v:60,cZ:35,d0:1r,9w:0,9x:!0,9y:"2E",fM:"jW.jX",d1:40,d2:10,d3:"7I",fN:!1,3c:!1,fO:"1N: -fP; 26: -fP;",d4:!1,fQ:"jY",fR:!0,d5:!1,fS:-1,d6:-1,d7:!0,fT:!1,d8:!0,fU:!1,jZ:""}},1c:{9z:"9q (k0: "+W+") 6x:"},29:{8q:{k1:["1a","1P"],1P:["1a","1P"],k2:["1a","9A"],79:["1a","79"],7J:["1a","7J"],fV:["1a","fV"],7a:["1a","7a"],7b:["1a","7b"],k3:["1a","d9"],k4:["1a","aV"],k5:["1a","aV"],k6:["1a","aW"],k7:["1a","aW"],k8:["1a","30"],k9:["1a","30"],2v:["1a","2v"],4x:["1a","4x"],4R:["1a","4R"],fW:["2q","fX"],fY:["2q","67"],fZ:["2q","2b"],g0:["2q","2b"],g1:["2q","2Q"],ka:["1t","3F"],kb:["1t","2L"],g2:["1D","1Y"],g3:["1D","6y"],g4:["1D","da"],g5:["1D","3e"],g6:["1D","9B"],g7:["1D","aX"],g8:["1D","2b"],g9:["1D","2b"],ga:["1D","7K"],gb:["1D","2r"],5N:["1a","5N"]},5v:{1a:{1P:-1,9A:0}}},2R:{8q:{gc:["is"],1Z:["is"],68:["2X"],3u:["2X"],kc:["2X"],7L:["4b"],7M:["4b"],8r:["4b"],4j:["2M"],4O:["2M"],5O:["2M"],aY:["2M"],2v:["2M"],4k:["2M"],9C:["2M"],kd:["2V","4y"],ke:["2V","4y"],kf:["2b","4y"],kg:["3v","4y"],kh:["3w","4y"],ki:["2b","4y"],kj:["3v","4y"],kk:["3w","4y"],kl:["2Q","4y"],km:["4l","4y"],kn:["4z","4y"],ko:["5z","4y"],kp:["5A","4y"],kq:["30","8s"],kr:["3R","8s"],ks:["3J","5P"],kt:["1f","5P"],ku:["1g","5P"],kv:["1t","5P"],3S:["2b","4S"],kw:["3v","4S"],kx:["3w","4S"],2b:["2b","4S"],ky:["3v","4S"],kz:["3w","4S"],2Q:["2Q","4S"],kA:["4l","4S"],kB:["4z","4S"],kC:["5z","4S"],kD:["5A","4S"],kE:["3e","9D"],kF:["x","9D"],kG:["y","9D"],kH:["2c","9E"],kI:["2S","in"],kJ:["2S","in"],kK:["2S","in"],kL:["1P","in"],db:["2p","in"],kM:["2p","in"],kN:["1Q","in"],kO:["2V","3G"],kP:["2V","3G"],kQ:["2b","3G"],kR:["3v","3G"],kS:["3w","3G"],kT:["2b","3G"],kU:["3v","3G"],kV:["3w","3G"],kW:["2Q","3G"],kX:["4l","3G"],kY:["4z","3G"],kZ:["5z","3G"],l0:["5A","3G"],l1:["2p","8t"],l2:["2p","8t"],l3:["3e","7N"],l4:["x","7N"],l5:["y","7N"],l6:["1Y","23"],l7:["7c","23"],l8:["2S","23"],l9:["2S","23"],la:["2S","23"],lb:["1P","23"],lc:["1Q","23"],ld:["2V","4c"],le:["2V","4c"],lf:["2b","4c"],lg:["3v","4c"],li:["3w","4c"],lk:["2b","4c"],ll:["3v","4c"],lm:["3w","4c"],ln:["2Q","4c"],lo:["4l","4c"],lp:["4z","4c"],lq:["5z","4c"],lr:["5A","4c"],lt:["30","8u"],lu:["3R","8u"],lv:["3J","5Q"],lx:["1f","5Q"],ly:["1g","5Q"],lz:["1t","5Q"],lA:["3e","9F"],lB:["x","9F"],lC:["y","9F"],lD:["2c","7d"],lE:["aZ","1I"],lF:["2S","1I"],lG:["2S","1I"],lH:["1P","1I"],dc:["2p","1I"],lI:["2p","1I"],lJ:["1Q","1I"],lK:["2V","3r"],lL:["2V","3r"],lM:["2b","3r"],lN:["3v","3r"],lO:["3w","3r"],lP:["2b","3r"],lQ:["3v","3r"],lR:["3w","3r"],lS:["2Q","3r"],lT:["4l","3r"],lU:["4z","3r"],lV:["5z","3r"],lW:["5A","3r"],lX:["2p","3r"],lY:["2p","3r"],lZ:["3e","7O"],m0:["x","7O"],m1:["y","7O"],m2:["1Y","2w"],m3:["7c","2w"],m4:["2S","2w"],m5:["2S","2w"],m6:["2S","2w"],m7:["1P","2w"],m8:["1Q","2w"],m9:["2V","4d"],ma:["2b","4d"],mb:["3v","4d"],mc:["3w","4d"],md:["2b","4d"],me:["3v","4d"],mf:["3w","4d"],mg:["2Q","4d"],mh:["4l","4d"],mi:["4z","4d"],mj:["5z","4d"],mk:["5A","4d"],ml:["3e","69"],mm:["x","69"],mn:["y","69"],mo:["1t","69"],mp:["2c","9G"],mq:["2S","1z"],mr:["2S","1z"],mt:["1P","1z"],mu:["3o","1z"],mv:["8v","1z"],mw:["8w","1z"],mx:["2p","1z"],my:["2p","1z"],1z:["1Q","1z"],mz:["2V","4e"],mA:["2b","4e"],mB:["3v","4e"],mC:["3w","4e"],mD:["2b","4e"],mE:["3v","4e"],mF:["3w","4e"],mG:["2Q","4e"],mH:["4l","4e"],mI:["4z","4e"],mJ:["5z","4e"],mK:["5A","4e"],mL:["30","4e"],mM:["3R","4e"],mN:["5B","1q"],mO:["5B","1q"],mP:["5B","1q"],mQ:["5B","1q"],mR:["6a","1q"],mS:["6a","1q"],mT:["6z","1q"],mU:["6z","1q"],mV:["9H","1q"],mW:["dd","1q"],mX:["x","4A"],mY:["y","4A"],mZ:["1t","4A"],n0:["3J","4A"],n1:["3J","4A"],n2:["3e","4A"],1q:["1Q","1q"],fW:["fX","2q"],fY:["67","2q"],fZ:["2b","2q"],g0:["2b","2q"],g1:["2Q","2q"],n3:["6b","1D"],g2:["1Y","1D"],g3:["6y","1D"],g4:["da","1D"],g5:["3e","1D"],g6:["9B","1D"],g7:["aX","1D"],g8:["2b","1D"],g9:["2b","1D"],ga:["7K","1D"],1D:["1Q","1D"],n4:["2R","2r"],n5:["2R","2r"],n6:["2R","2r"],n7:["52","2r"],n8:["52","2r"],n9:["52","2r"],na:["1z","2r"],nb:["1q","2r"],gb:["1D","2r"]}
1849,de:["nc","nd","ne","nf","ng","nh","ni","nj","nk","nl","nm","nn","np","nq","nr"],gd:{7e:[1],6A:[2],7f:[3,[1,2,6,7,8]],8x:[4],7g:[5],6c:[6,[1,2,3,4,5]],6B:[7],ge:[8],gf:[9],9I:[10],7P:[11,[2,3,4,5,6,7,8,9,10]],8y:[12],df:[13],5e:[14,[2,3,4,5,6,7,8,9,10,11,12,13]],8z:[15],gg:[16],dg:[17]},5C:{1t:19(){1M{b0:0,gh:1r,gj:1r,gk:0,"b1-3S":0,gl:0,gm:1r,gn:0}}},5v:19(e,t){1d i={is:{5D:!!e.is("3x.ls-bg"),2s:!!e.is(".ls-bg-4m"),go:!!e.is("3x.ls-2R"),9J:!1,8A:!1,1Z:!0,b2:t},4T:{},20:{},2X:{68:"dh",nt:t,8B:t},4b:{7L:0,7M:0},2M:{4O:2x,4j:2x,5O:2x,aY:"8l",2v:2x,4k:2x,2s:!1},1s:{7e:0,6A:0,7f:0,8x:0,7g:19(e){1M 1x.3T(18.6A,18.8x)},6c:0,6B:0,ge:19(e){1M 0===18.6B&&e.1z.1Q&&("53"==2A e.1z.2S||-1!==e.1z.2S.1i("7f")&&-1!==e.1z.2S.1i("8x")&&-1!==e.1z.2S.1i("7g"))&&(18.6c=bd.1b.1j.1s.7Q(e,e.1z.2S,"6c"),18.6B=-1!==e.1z.3o&&e.1s.6c+(e.1z.5M+1)*e.1z.1P+e.1z.5M*e.1z.8v),1x.3T(18.6A,18.6B)},gf:19(e){1M 1x.3T(18.8x,18.6B)},9I:19(e){1M 1x.3T(18.7g(),18.6B)},7P:0,8y:0,df:19(e){1M 1x.3T(18.8y,18.6B)},5e:19(e){1M 1x.3T(18.9I(),18.8y)},8z:0,gg:19(e){1M 1x.3T(18.8z,18.8y,18.7g())},dg:19(e){1M 1x.3T(18.8z,18.df(),18.7g())},b3:!1,b4:!1},1W:{in:{1Q:!0,8C:{2j:!1,4B:!1,1e:{2V:0}},8D:{2j:!1,7R:19(){bd.1b.1j.in.7R(e)},4n:19(){bd.1b.1j.in.4n(e)},1e:{3i:"5f",2V:1,2b:0,3v:0,3w:0,4l:1,4z:1,5z:0,5A:0,x:0,y:0}},8E:{2j:!1,4B:!1,1e:{}},8F:{2j:!1,1e:{}},b5:{2j:!1,4B:!1,1e:{}},6C:{2j:!1,1e:{}},8G:{3e:"50% 50% 0",x:0,y:0},b6:{},b7:{},5R:{},2S:0,1P:1,2p:"9K"},23:{1Q:2x,b8:{6d:{},2F:{},2V:0},9L:{2p:"9K",1e:{2V:1,2b:0,3v:0,3w:0,4l:1,4z:1,5z:0,5A:0,x:0,y:0}},8H:{6d:{},2F:{},3e:"50% 50% 0",x:0,y:0},1H:"",7c:.gp,2S:"6A",1P:1},1I:{1Q:!0,8C:{2j:!1,4B:!1,1e:{}},8D:{2j:!1,7R:19(){bd.1b.1j.1I.7R(e)},4n:19(){bd.1b.1j.1I.4n(e)},1e:{2V:0,2b:0,3v:0,3w:0,4l:1,4z:1,5z:0,5A:0}},8E:{2j:!1,4B:!1,1e:{}},8F:{2j:!1,1e:{}},b5:{2j:!1,4B:!1,1e:{}},6C:{2j:!1,1e:{}},8G:{x:0,y:0},b6:{},b7:{},5R:{},2S:"9M",1P:1,2p:"9K"},2w:{1Q:2x,b8:{4B:!1,6d:{},2V:1},9L:{2p:"9K",4B:!1,6d:{},2F:{},2V:0},8H:{6d:{},2F:{},x:0,y:0},1H:"",2S:"9I",7c:.gp,1P:1},1z:{1Q:2x,3F:{2j:!1,4B:!1,1e:{}},2L:{2j:!1,1e:{}},6C:{2j:!1,4B:!1,1e:{}},8G:{3e:"50% 50% 0",x:0,y:0},5R:{},2p:"gq",2S:"7g",8v:0,1P:1,3o:0,8w:!1},1q:{1Q:2x,3F:{2j:!1,4B:!1,1e:{}},2L:{2j:!1,1e:{}},8H:{3e:"50% 50% 0"},dd:!0,5B:"9K",6z:.5},1D:{1Q:2x},2q:{2Q:1.2},2c:{1Q:!1,9N:"0 0 0 0",3T:"-9O 9O 9O -9O"},1t:{3f:{1U:{},in:{},1I:{},1z:{},1q:{},8I:{},b9:{},bb:{},bc:{}},1b:{bg:2x,in:2x,1I:2x,1z:2x,1q:2x}},1m:{1L:{2j:!1,4B:!1,1e:{3i:"5f"}}},2r:{2R:6e,52:6e,1z:6e,1q:6e},3s:{gr:{2j:!1,1e:{2V:1,3i:"3j"}},di:{2j:!1,1e:{x:0,y:0,2b:0,3v:0,3w:0,4l:1,4z:1,5z:0,5A:0,2V:1,3i:"3j"}},dj:{2j:!1,1e:{x:0,y:0,2b:0,3v:0,3w:0,4l:1,4z:1,5z:0,5A:0,2V:1}}}}};1M{is:i.is,4T:i.4T,20:i.20,2X:i.2X,4b:i.4b,2M:i.2M,2N:i.2N,1s:i.1s,in:i.1W.in,gs:i.1W.in.8C,4y:i.1W.in.8C.1e,gt:i.1W.in.8E,8s:i.1W.in.8E.1e,gu:i.1W.in.b5,gv:i.1W.in.b5.1e,9P:i.1W.in.8D,4S:i.1W.in.8D.1e,dk:i.1W.in.8F,bf:i.1W.in.8F.1e,dl:i.1W.in.6C,gw:i.1W.in.6C.1e,9E:i.1W.in.5R,9D:i.1W.in.8G,5P:i.1W.in.b6,9Q:i.1W.in.b7,23:i.1W.23,3G:i.1W.23.b8,8t:i.1W.23.9L,nu:i.1W.23.9L.1e,7N:i.1W.23.8H,1I:i.1W.1I,dm:i.1W.1I.8C,dn:i.1W.1I.8C.1e,do:i.1W.1I.8E,bh:i.1W.1I.8E.1e,9R:i.1W.1I.8D,4c:i.1W.1I.8D.1e,bi:i.1W.1I.8F,8u:i.1W.1I.8F.1e,bj:i.1W.1I.6C,dp:i.1W.1I.6C.1e,7d:i.1W.1I.5R,9F:i.1W.1I.8G,9S:i.1W.1I.b6,5Q:i.1W.1I.b7,2w:i.1W.2w,bk:i.1W.2w.b8,3r:i.1W.2w.9L,7O:i.1W.2w.8H,1z:i.1W.1z,gx:i.1W.1z.3F,dq:i.1W.1z.3F.1e,bl:i.1W.1z.2L,4d:i.1W.1z.2L.1e,dr:i.1W.1z.6C,gy:i.1W.1z.6C.1e,9G:i.1W.1z.5R,69:i.1W.1z.8G,1q:i.1W.1q,ds:i.1W.1q.3F,dt:i.1W.1q.3F.1e,du:i.1W.1q.2L,4e:i.1W.1q.2L.1e,4A:i.1W.1q.8H,1D:i.1W.1D,2q:i.1W.2q,2c:i.1W.2c,1t:i.1W.1t,2r:i.1W.2r,1m:i.1W.1m,3s:i.1W.3s}}}},bd.1h={3o:0,3l:{},2C:{},2z:{},1R:{},1m:19(){if(!2y.3H.7S(B))1M!1;2i(1d e=P.1A("> .ls-2R, > .ls-29"),t=0,i=bd.1p.29.8q,s=0,a=e.1u;s<a;s++){1d o,r=ba(e[s]),n=r[0].1U,l={$4U:!1,1O:-1,1a:{9A:0,bm:0},1D:{},2q:{2Q:1.2},1t:{}};if(bd.1h.3o++,r.3N("ls-2R").24("ls-29").1e({1f:bd.1c.42.9T,1g:bd.1c.42.bn}).2e(bd.1c.$7h),r.1a("ls"))2i(1d d=r.1a("ls").4C().1H(";"),u=0;u<d.1u;u++){1d c,p,h=d[u].1H(":");h[0]=ba.3U(h[0]),h[1]=ba.3U(h[1]),""!==h[0]&&2l 0!==i[h[0]]&&(c=2l 0===i[h[0]][1]?h[0]:i[h[0]][1],p=bd.1K.2T.5C(h[
18491]),-1===c.4C().1i("1P")&&-1===c.4C().1i("43")&&"9A"!=c||(p/=3y),l[i[h[0]][0]][c]=p)}if(r.3V("a.ls-4U").1u&&(l.1a.$4U=r.3V("a.ls-4U").3l().1e({7i:5}).1J("1a-ls-29-4U",t+1).2e(bd.1c.$5S),bd.1j.21.dv(l.1a.$4U)),l.1a.$2s=r.3V(\'[1a-ls*="9C"]\').3l(),l.1a.$2s.1u&&(2x!==l.1a.$2s.1J("1a-ls").1H("9C")[1].1H(";")[0].49(/(9U|1Q|on|1)/i)?(l.1a.$2s.24("ls-bg-4m").1e({1f:"2E",1g:"2E"}).3V("4m, 7T, 46").1e({1f:"1r%",1g:"1r%"}),l.1a.$2s.8J(ba(\'<1y 2o="ls-bg-4m-8r"></1y>\'))):l.1a.$2s=!1),r.1A("> .ls-bg").1u&&(l.1a.$2f=r.1A("> .ls-bg").3l()),!l.1a.2v)r.1A("> .ls-gz").1u?o=r.1A("> .ls-gz").3l():r.1A("> .ls-bg").1u&&(o=r.1A("> .ls-bg").3l()),o?(l.1a.2v=bd.1K.bo(o),l.1a.dw=bd.1K.gA(o)):l.1a.2v=bd.o.8n.27("/8K/1e/","/8K/3x/")+(~bd.o.3Q.1i("gB")?"gC-gB.bp":"gC.bp");(l.1a.7a||l.1a.7b)&&"7E"==2A bq&&(2m l.1a.7a,2m l.1a.7b),"4D"===n.4R&&(l.1a.4R="4D"),l.1a.30||(l.1a.30=""===r[0].1U.30?"4Q":r[0].1U.30),bd.1h[++t]={},bd.1h[t].1a=ba.54(!0,{},bd.1p.29.5v.1a,l.1a),bd.1h[t].1D=l.1D,bd.1h[t].2q=l.2q,bd.1h[t].1t=l.1t,bd.1h[t].1O=t,bd.1h[t].$1j=ba(),bd.1c.4E.55(l.1a.2v),bd.1j.1m(r,t)}},21:{gD:19(){1d e=bd.1h;e.2C.1O=e.2z.1O,e.2z.1O=e.1R.1O,e.1R.1O=bd.1C.2P.9V(bd.1C.2D),e.21.dx()},gE:19(e){1d t=bd.1h;t.1R.1O=e,t.21.dx()},dx:19(){1d e=bd.1h;e.2C=-1!==e.2C.1O?ba.54(!0,{},e[e.2C.1O]):{},e.2z=-1!==e.2z.1O?ba.54(!0,{},e[e.2z.1O]):{},e.1R=-1!==e.1R.1O?ba.54(!0,{},e[e.1R.1O]):{}},4i:19(){1d e=bd.1h;if(e.3l.1O="2F"===bd.o.4i?bd.o.4i:1x.3T(bd.1K.2T.5C(bd.o.4i,!0),1),bd.o.7H&&2<bd.1h.3o?bd.o.aQ=!1:bd.o.7H=!1,e.3l.1O="2F"==e.3l.1O?1x.3D(1x.2F()*bd.1h.3o+1):e.3l.1O,2y.9W.dy)2i(1d t=1;t<e.3o+1;t++)e[t].1a.4x==2y.9W.dy.1H("#")[1]&&(e.3l.1O=t);e.3l.1O=e.3l.1O<1||e.3l.1O>bd.1h.3o?1:e.3l.1O,bd.o.7H&&"2F"!=bd.o.4i&&(e.3l.1O=bd.o.4i),bd.o.51&&bd.1C.21.gF()}},2P:{4x:19(e){1M e&&bd.1h[e]&&bd.1h[e].1a&&bd.1h[e].1a.4x?bd.1h[e].1a.4x:2x}},29:[]},bd.1j={$5E:ba(),5T:19(e,t){1M-1!=e.1i("%")?2G(e)*t:2G(e)},1m:19(e,t){if(!2y.3H.7S(B))1M!1;2i(1d i,s=e.1A(\'.ls-bg, .ls-l, .ls-2R, *[2o^="ls-s"]\'),a=0,o=s.1u;a<o;a++){1d r=ba(s[a]),n=r[0],l=r.3V();if(-1!=r.1J("2o").1i("ls-s")){1d d=r.1J("2o").1H("ls-s")[1].1H(" ")[0];r.3N("ls-s"+d).24("ls-2R")}2H if(r.4o("ls-l"))r.3N("ls-l").24("ls-2R");2H if(!r.is(".ls-bg, .ls-2R")){r.5U();nv}r.is("a")&&1===l.1u&&((n=(r=r.3V().3l())[0]).nw("1a-ls",n.gG.9X("1a-ls")),n.gG.nx("1a-ls"),r.47().3N("ls-2R"),r.24("ls-2R")),r.1a(bd.1p.1m.1S,4a bd.1p.2R.5v(r,t)),-1!==r.1J("2o").1i("ls-dz-")&&18.21.gH(r),r.47().is("a")?(i=r.47(),18.21.dv(i)):i=r,bd.1h[t].$1j=bd.1h[t].$1j.2I(i)}},21:{dv:19(e){1d s=e.1J("56"),t=e.1J("5g");if(t&&-1!==t.1i("ls-2a")&&e.on("57."+W,19(e){e.3W();1d t,i=2y.3H.ny-bd.1n.4V;if(2l 0!==s)2O(s){1k"nz":t=0;1B;1k"nA":t=bd.1n.gI-bd.1n.4V;1B;1k"gJ":t=bd.1c.4p;1B;1k"":1k"gK":t=bd.1c.4p+bd.1c.1g;1B;5V:t=ba(s).3l().1u?ba(s).dA().5W().26:bd.1c.4p+bd.1c.1g}t+=bd.o.9w,t=1x.9N(t,i),t=1x.3T(0,t),2n.3a.2L([2y.nB,2y.3H],1,{br:t,2p:2n.nC.bs})}),-1!==bd.1p.1m.4O.1i(s)||s.49(/^\\#[0-9]/)){1d i=ba.3U(s.4C().1H("#")[1]),a=1l(i);e.on("57."+W,19(e){if(e.3W(),-1!==["2C","1R","3m","1V"].1i(i))bd.2k[i]("nD");2H if("53"==2A a&&a==a)bd.1C.6D(a,!0,!0);2H if(!bd.1c.2t.8L)2O(i){1k"8i":bd.2u.8h("8i");1B;1k"3n":bd.2u.8h("3n");1B;1k"3n-8i":bd.2u.8h("3n",!0)}})}},gH:19(e){2i(1d t=e.1J("2o").1H(" "),i=1,s=0;s<t.1u;s++)-1!=t[s].1i("ls-dz-")&&(i=1l(t[s].1H("ls-dz-")[1]));e.1a(bd.1p.1m.1S).2X.gL=i,e.1e({3p:"nE"}).on("57."+W,19(e){e.3W(),P.4N(ba(18).1a(bd.1p.1m.1S).2X.gL)})},3b:19(e,t,i){t.is.5D||t.is.2s?(t.20.$8M=e.3K(".ls-bg-5h"),t.20.$bt=e.3K(".ls-bg-dB")):(t.20.$1L=e.3K(".ls-in-1I"),t.20.$1L.1a(bd.1p.1m.1S,{}),t.2X.dC=t.20.$1L.1a(bd.1p.1m.1S),t.20.$8N=e.3K(".ls-2c"),t.20.$8N.1a(bd.1p.1m.1S,{}),t.2X.nF=t.20.$8N.1a(bd.1p.1m.1S),t.20.$7j=e.3K(".ls-1z"),t.20.$7j.1a(bd.1p.1m.1S,{}),t.2X.nG=t.20.$7j.1a(bd.1p.1m.1S)),t.1D.1Q&&(t.20.$7U=e.3K(".ls-1D"),t.20.$7U.1a(bd.1p.1m.1S,{1D:{}}),t.2X.gM=t.20.$7U.1a(bd.1p.1m.1S),bd.1b.1j.1D.gN(t.20.$7U,t.2X.gM.1D,t,i)),t.1q.1Q&&!bd.1h[i].1a.5N&&bd.1b.1j.1q.21(e,t),bd.6E.9Y?t.20.$7V=e.3K(".ls-z"):t.20.$7V=t.1D.1Q?t.20.$7U:t.20.$8M?t.20.$bt:t.20.$1L},1U:19(e){1d t,i,s,a,o,r,n,l,d,u,c,p,h,m,f,g,v,y,S,w,b,x,T=e[0],C=e.1a(bd.1p.1m.1S),k=T.1U,L=bd.1j,O=0,I=0,$=!1,B=T.nH();if(l=""!==k.6F?L.5T(k.6F,bd.1c.42.8O):2G(e.1e("4q-1N")),u=""!==k.6G?L.5T(k.6G,bd.1c.42.8O):2G(e.1e("4q-3O")),d=""!==k.6H?L.5T(k.6H,bd.1c.42.8P):2G(e.1e("4q-26")),c=""!==k.6I?L.5T(k.6I,bd.1c.42.8P):2G(e.1e("4q-1X")),p=""!==k.3P?L.5T(k.3P,bd.1c.42.8O):2G(e.1e("7k-1N")),h=""!==k.5i?L.5T(k.5i,bd.1c.42.8P):2G(e.1e("7k-26")),T.1U.7k="0",f=""!==k.6J?2G(k.6J):2G(e.1e("6K-1N-1f")),v=""!==k.6L?2G(k.6L):2G(e.1e("6K-3O-1f")),g=""!==k.6M?2G(k.6M):2G(e.1e("6K-26-1f")),y=""!==k.6N?2G(k.6N):2G(e.1e("6K-1X-1f")),1===bd.1T.$7l.1t(e).1u||e.3V("46").1u){1d P
1849=e.3V(),W=P.1J("1f")?P.1J("1f"):P.1f(),3q=P.1J("1g")?P.1J("1g"):P.1g();58===1l(W)&&bu===1l(3q)&&(W=nI,3q=nJ),""!==T.1U.1f&&"2E"!==T.1U.1f||e.1e("1f",W),""!==T.1U.1g&&"2E"!==T.1U.1g||e.1e("1g",3q),"1r%"===k.1f&&"1r%"===k.1g&&(k.1N="50%",k.26="50%",C.2M.6O=!0),$=W/3q,P.1e({1f:"1r%",1g:"1r%"})}1d F=C.7m;e.is("3x")&&(S=(a=e.1a("gO"))/(o=e.1a("gP")),(!k.1f&&!k.1g||"2E"===k.1f&&"2E"===k.1g)&&F&&(F.1f&&F.1g?(i=-1===F.1f.1i("%")?1l(F.1f):(O=1l(F.1f),L.5T(F.1f,bd.1c.42.8O)),s=-1===F.1g.1i("%")?1l(F.1g):(I=1l(F.1g),L.5T(F.1g,bd.1c.42.8P))):F.4r&&(e[0].1U.1f=F.4r+"px",i=F.4r,s=e.1g()))),b=B.1f?B.1f:B.3O-B.1N,x=B.1g?B.1g:B.1X-B.26,i||(i=k.1f,-1!==k.1f.1i("%")&&(O=1l(k.1f)),i=(i=""!==i&&"2E"!==i?L.5T(i,bd.1c.42.8O):b-l-u-f-v)||"2E"),s||(s=k.1g,-1!==k.1g.1i("%")&&(I=1l(k.1g)),s=(s=""!==s&&"2E"!==s?L.5T(s,bd.1c.42.8P):x-d-c-g-y)||"2E"),w=$||i/s,!e.is("3x")||k.1f||k.1g||F&&(!F||F.1f||F.1g)||a===i&&o===s||(a!==i?s=(i=5<a?a:i)/(w=5<a?S:w):o!==s&&(i=(s=5<o?o:s)*(w=5<o?S:w))),2G(e.1e("2V")),r=f+l+i+u+v,n=g+d+s+c+y,t=""!==k.2c&&k.2c,k.2c="",m=k.nK||k.1t;19 z(e){1d t=e;1M e&&-1!==e.1i("px ")&&(e=e.27("px","").1H(" "),t=1x.6P(1l(e[0])/i*1r)+"%"),t}C.31={2c:t,5R:!1,1N:k.1N?k.1N:"0",26:k.26?k.26:"0",1f:1x.6Q(i),1g:1x.6Q(s),8Q:O,8R:I,4F:r,4G:n,nL:k.1f,nM:k.1g,1F:w,6F:l,6H:d,6G:u,6I:c,3P:p,5i:h,6J:f,6M:g,6L:v,6N:y,3J:z(e.1e("nN"))+" "+z(e.1e("nO"))+" "+z(e.1e("nP"))+" "+z(e.1e("nQ")),6f:2G(e.1e("nR-nS")),bv:e.1e("gQ-1g"),bw:e.1e("nT-nU"),3R:e.1e("3R"),7i:1l(e.1e("z-1O"))||"2E",1t:m,30:e.1e("2f-3R"),nV:e.1J("1a-ls")||"",dD:e.1J("1U")||""},k.7i="2E",C.1Z={1N:k.1N?k.1N:"0",26:k.26?k.26:"0",1f:i,1g:s}},5C:19(e,t,i){1d s=e.1a(bd.1p.1m.1S);e.1a("ls");if(s.is.8A=!e.is("3x")&&!s.is.9J,(s.5F=e).1a("ls"))2i(1d a=bd.1p.2R.8q,o=e.1a("ls").1H(";"),r=e.1a("ls").4C().1H(";"),n=0;n<r.1u;n++)if(ba.3U(r[n])){1d l=r[n].1i(":"),d=[r[n].bx(0,l),r[n].bx(l+1)],u=2x,c=2x,p=2x,h=2x,m=2x;if(""!==(u=ba.3U(d[0])))if(2l 0!==a[u=u.27("1H","52")]){if(c=a[u][0],m="8r"===u?ba.3U(o[n].bx(l+1)):bd.1K.2T.5C(ba.3U(d[1])),d[1]&&-1!==d[1].1i("2F")&&(u.49(/(52)/)||(m=bd.1K.2T.dE(m,c)),s.4T.8S||(s.4T.8S=!0)),"53"==2A m&&c.49(/(1P|gR|gS|43)/i)&&(m/=3y),u.49(/(gT)(.+)/))2O(m){1k!0:m=0;1B;1k!1:m=1}2l 0!==(h=a[u][1])?""!==m&&("5L"==2A m?u.49(/(52)/)?h.49(/(nW)/i)?s[h][c]=m:s[h].6d[c]=m:("53"==2A(p=bd.1K.2T.5C(ba.3U(m[0])))&&c.49(/(1P|gR|gS|43)/i)&&(p/=3y),s[h][c]=p):u.49(/(52)/)&&-1!==m.cN().1i("2F")?s[h].2F[c]=m:s[h][c]=m):s[c][u]=m}2H"2c"===u&&(s.31.2c=d[1],s.31.5R=!0)}if(bd.6E.gU&&(s.in.1Q=!0,s.23.1Q=!1,s.2w.1Q=!1,s.23.1Y=2x,s.2w.1Y=2x),s.in.1Q&&(s.9P.2p=s.dk.2p=s.dl.2p=bd.1K.2T.4H(s.in.2p)),2l 0!==s.5P.3J&&(s.9Q.3J=s.31.3J),2l 0!==s.5Q.3J&&(s.9S.3J=s.31.3J),s.8s.30&&(s.bf.30=s.31.30),s.8u.30&&(s.bh.30=s.31.30),s.8s.3R&&(s.bf.3R=s.31.3R),s.8u.3R&&(s.bh.3R=s.31.3R),2l 0!==s.5P.1f&&(s.9Q.1f=s.31.1f),2l 0!==s.5Q.1f&&(s.9S.1f=s.31.1f),2l 0!==s.5P.1g&&(s.9Q.1g=s.31.1g),2l 0!==s.5Q.1g&&(s.9S.1g=s.31.1g),2l 0!==s.1I.aZ&&0!==s.1I.aZ&&(s.1I.2S="6A + "+s.1I.aZ),-1!==s.1I.2S.1i("9M")&&"9M"!==s.1I.2S&&(s.1I.2S="9M"),s.1I.1Q&&(s.9R.2p=s.bi.2p=s.bj.2p=bd.1K.2T.4H(s.1I.2p)),ba.7n(s.1z.3o)&&(0<s.1z.3o||-1===s.1z.3o)&&!1!==s.1z.1Q?(s.1z.1Q=!0,s.bl.2p=s.dr.2p=bd.1K.2T.4H(s.1z.2p),-1!==s.1z.3o?s.1z.8w?s.1z.5M=2*s.1z.3o-1:s.1z.5M=s.1z.3o-1:s.1z.5M=-1):s.1z.1Q=!1,(!ba.4I(s.4e)||s.4A.x||s.4A.y||s.4A.3J||s.4A.1t)&&!1!==s.1q.1Q?(s.1q.1Q=!0,s.1q.6a||(s.1q.6a=s.1q.5B),s.1q.5B=bd.1K.2T.4H(s.1q.5B),s.1q.6a=bd.1K.2T.4H(s.1q.6a,!0),s.1q.9H||(s.1q.9H=s.1q.6z),2n.3a.21(e[0],{2j:!1,1e:{2r:s.4A.2r}})):s.1q.1Q=!1,s.1D.6b&&ba.7n(s.1D.6b)&&0!==s.1D.6b&&!1!==s.1D.1Q?s.1D.1Q=!0:s.1D.1Q=!1,s.is.5D){1d f={2Q:1,2b:0};if(bd.1h[t].2q.67&&(s.2q=bd.1h[t].2q),s.2q.67){2O(s.2q.3F={},s.2q.2L={},s.2q.67){1k"1I":s.2q.3F.2Q=s.2q.2Q||1,s.2q.3F.2b=s.2q.2b||0,s.2q.2L=f;1B;1k"in":s.2q.3F=f,s.2q.2L.2Q=s.2q.2Q||1,s.2q.2L.2b=s.2q.2b||0}2m s.2q.2Q,2m s.2q.2b}2H s.2q.3F=f,s.2q.2L=f;ba.4I(bd.1h[t].1t)||(bd.1h[t].1t.3F&&(s.1t.3f.bb=bd.1b.1j.4J.2T(bd.1h[t].1t.3F)),bd.1h[t].1t.2L&&(s.1t.3f.bc=bd.1b.1j.4J.2T(bd.1h[t].1t.2L)))}if(s.23.1Y&&-1===bd.1p.2R.de.1i(s.23.1Y)&&(2m s.23.1Y,2m s.23.ns,s.23.1Q=!1),s.2w.1Y&&-1===bd.1p.2R.de.1i(s.2w.1Y)&&(2m s.2w.1Y,2m s.2w.ns,s.2w.1Q=!1),(s.23.1Y||s.2w.1Y)&&(s.is.8A?(s.23.1Y&&(s.23.1Q=!0,s.8t.2p=bd.1K.2T.4H(s.8t.2p),s.23.1H=s.23.1Y.1H("3q")[0]),s.2w.1Y&&(s.2w.1Q=!0,s.3r.2p=bd.1K.2T.4H(s.3r.2p)),s.2w.1Q&&s.2w.1Y.1H("3q")[0]!==s.23.1H&&(s.23.1H+=", "+s.2w.1Y.1H("3q")[0]),-1!==s.23.1H.1i("nX")&&-1===s.23.1H.1i("dF")&&(s.23.1H+=", dF"),-1!==s.23.1H.1i("dF")&&-1===s.23.1H.1i("gV")&&(s.23.1H+=", gV")):(2m s.23.1Y,2m s.2w.1Y,2m s.23.ns,2m s.2w.ns)),(s.31.2c||s.9E.2c||s.7d.2c||s.9G.2c)&&(s.2c.1Q=!0),s.in.1Q&&s.4S.2Q&&(2m s.4S.4l,2m s.4S.4z),s.1I.1Q&&s.4c.2Q&&(2m s.4c.4l,2m s.4c.4z),s.5P.1t&&(s.1t.3f.in=bd.1b.1j.4J.2T(s.5P.1t)),s.1t.3f.1U=bd.1b.1j.4J.2T(s.31.1t),s.5Q.1t&&(s.1t.3f.1I=bd.1b.1j.4J.2T(s.5Q.1t)),s.69.1t&&(s.1t.3f.1z=bd.1b.1j.4J.2T(s.69.1t)),s.4A.1t&&(s.1t.3f.1q=bd.1b.1j.4J.2T(s.4A.1t)),s.in.1Q||(s.in.1P=0),s.23.1Q||(s.23.1P=0),s.1z.1Q||(s.1z.1P=0),s.2w.1Q||(s.2w.1P=0),s.1I.1Q||(s.1I.1P=0),e.1J("1a-ls-nY",t),2l 0!==s.2X.3u&&"3j"!==s.2X.3u){1d g=1l(s.2X.3u);0!==g&&"nZ"!==s.2X.3u?(e.1J("1a-ls-gW",g),s.2X.8B=g):s.2X.8B=0,s.is.3u=!0,e.1J("1a-ls-3u","1")}2H e.1J("1a-ls-gW",t);if(s.is.9J){1d v=e.3V("4m, 7T").eq(0);if(2x!==s.2M.4O)2O(s.2M.4O){1k!0:v.by("4O",!0),v.o0("gX").7o("gX");1B;1k!1:v.by("4O",!1)}s.2M.4k&&(s.2M.4k<0?s.2M.4k=0:1r<s.2M.4k&&(s.2M.4k=1r)),s.is.2s&&(bd.1T.9Z(s,e),s.4b.8r&&e.1A(".ls-bg-4m-8r").1e({gY:"7p("+s.4b.8r+")"}))}
1849s.4b.7L&&(s.4b.7L=2G(s.4b.7L)),s.4b.7M&&(s.4b.7M=2G(s.4b.7M))}},2P:19(e){1d t=18.$5E;if(e){1d i="in",s="",a="",o=\':5j(".ls-bg")\',r=\':5j(".ls-bg-4m")\';-1==(e=e.4C()).1i("bz")&&-1==e.1i("9C")||(r="",e=e.27("bz","").27("9C","")),-1!=e.1i("4m")&&(a+=", > 4m",e=e.27("4m","")),-1!=e.1i("7T")&&(a+=", > 7T",e=e.27("7T","")),-1!=e.1i("5k")&&(a+=", > 4m, > 7T",e=e.27("5k","")),-1!=e.1i("3z")&&(a+=\', > 46[28*="3z-bA.59"], > 46[28*="3z.59"], > 46[28*="bB.be"], > 46[1a-28*="3z-bA.59"], > 46[1a-28*="3z.59"], > 46[1a-28*="bB.be"]\',e=e.27("3z","")),-1!=e.1i("3X")&&(a+=\', > 46[28*="3A.3X"], > 46[1a-28*="3A.3X"]\',e=e.27("3X","")),","==a.gZ(0)&&(a=a.bx(2,a.1u)),-1!=e.1i("1I")&&(i="1I"),-1==e.1i("3x")&&-1==e.1i("5a")||(s="3x"),-1==e.1i("bg")&&-1==e.1i("2f")&&-1==e.1i("bC")||(o=""),t=-1!=e.1i("2z")?t.1t(s+"[1a-ls-29"+i+\'="\'+bd.1h.2z.1O+\'"]\'+o+r):-1!=e.1i("1R")?t.1t(s+"[1a-ls-29"+i+\'="\'+bd.1h.1R.1O+\'"]\'+o+r):t.1t(s+o+r),-1!=e.1i("a0")&&(t=t.1t(".ls-bg, .ls-bg-4m, :4K"),e=e.27("a0","")),-1!=e.1i("3g")&&(t=t.1t(":4D:5j(.ls-bg, .ls-bg-4m)"),e=e.27("3g","")),-1!=e.1i("bD")&&(t=t.1t(\':5j([1a-ls-3u="1"])\'),e=e.27("bD","")),-1!=e.1i("3u")&&(t=t.1t(\'[1a-ls-3u="1"]\'),e=e.27("3u","")),-1!=e.1i("bC")&&(t=t.1t(".ls-bg"),e=e.27("bC","")),""!==a&&(t=t.1A(a))}1M t},8S:{1a:19(e,t,i){1d s,a,o;2O(e h0 65||(e=ba(e)),i&&e.1J("1a-ls",i).1a("ls",i),s=(a=e.1a(bd.1p.1m.1S)).is.b2,o=a.31,t){5V:1k"1b":a.2X.7q=!1,bd.1j.21.5C(e,s,!0);1B;1k"5E":e.1a(bd.1p.1m.1S,4a bd.1p.2R.5v(e,s)),(a=e.1a(bd.1p.1m.1S)).31=o,bd.1j.21.5C(e,s,!0),bd.1j.21.3b(e,a,s)}}},5h:19(h,e){if(!bd.1h[h].8T&&"h1"!==bd.1h[h].8T){bd.1h[h].8T="h1";1d t=e?25:0,i=bd.1h[h].$1j,m=i.1u;i.2Z(19(c,p){bd.2J["29-"+h+"-2R-"+c]=5l(19(){2m bd.2J["29-"+h+"-2R-"+c];1d e,t=ba(p),i=t,s="",a=!1,o="";t.4o("ls-3Y-6g")&&(o+=" ls-3Y-on-6g"),t.4o("ls-3Y-6h")&&(o+=" ls-3Y-on-6h"),t.4o("ls-3Y-bE")&&(o+=" ls-3Y-on-bE"),t.3N("ls-3Y-6g ls-3Y-6h ls-3Y-bE"),i.is("a")&&1===i.3V().1u&&(a=!0,t=i.1A(".ls-2R"));1d r=t.1a(bd.1p.1m.1S);if(!r)1M!0;if(e=bd.1c.$5S,r.is.2s?e=bd.1c.$h2:r.is.5D&&(e=bd.1c.$bF),bd.1j.21.1U(t),bd.1j.21.5C(t,h),r.23.1H){1d n=4a o1(t[0],{1H:r.23.1H});r.23.1Y&&(r.23.ns=n[r.23.1Y.1H("3q")[0]]),r.2w.1Y&&(r.2w.ns=n[r.2w.1Y.1H("3q")[0]])}s=r.is.5D||r.is.2s?\'<1y 2o="ls-1L ls-bg-dB"><1y 2o="ls-1L ls-bg-5h"></1y></1y>\':(r.2c.1Q&&(s=\'<1y 2o="ls-1L ls-2c"></1y>\'),r.1z.1Q&&(s=\'<1y 2o="ls-1L ls-1z">\'+s+"</1y>"),\'<1y 2o="ls-1L ls-in-1I">\'+s+"</1y>"),r.1D.1Q&&(s=\'<1y 2o="ls-1L ls-1D">\'+s+"</1y>"),bd.6E.9Y&&(s=\'<1y 2o="ls-1L ls-z">\'+s+"</1y>"),""!==s?t.2e(e).5h(s):t.2e(e),!0===a&&i.24("ls-2R-4U").2e(t.47());1d l={},d=t.1e("dG-dH-dI");d&&"4P"!==d&&(l["dG-dH-dI"]=d,t.1e("dG-dH-dI","4P")),r.31.dJ=1;1d u=1l(r.31.7i);r.is.2s||r.is.5D?l={7i:r.31.dJ}:(u=u||c+o2,l.7i=u,r.31.dJ=u),bd.6E.9Y&&(l.3B="h3("+o3*u+"px )"),bd.1j.21.3b(t,r,h),r.20.$7V.1e(l).24(o),r.is.5D&&r.20.$8M.1e({30:bd.1h[h].1a.30}),bd.1j.$5E=bd.1j.$5E.2I(t),bd.1h[h].$1j=bd.1h[h].$1j.5j(i),c===m-1&&(P.3V(".ls-29").eq(h-1).bG(),bd.1h[h].8T=!0)},t*(c+1))})}}},bd.1C={2D:"1R",o4:0,8U:!0,3L:{4P:[],bH:[]},2t:{6R:!0,4f:!1,8V:!1,a1:!1,a2:!1},4T:{6S:!1,3m:!1,1V:!1},5b:19(){1M 18.2t.4f||18.2t.8V||18.2t.a1},1m:19(){1==bd.1h.3o&&(bd.o.8m=!1,bd.o.cX=!1,bd.o.9u=!1,bd.o.aS=!1,bd.o.5y=-1,bd.o.h4=!1,bd.o.9y=!0,bd.o.4i=1,bd.o.66="bI"),bd.o.8m&&1!=bd.1h.3o||bd.1K.2W(18,{6R:!1,4f:!0}),18.21.5x(),18.21.h5()},21:{5x:19(){bd.o.5x=!0===bd.o.5x?bd.1p.1m.5v.5x:bd.o.5x,!1!==bd.o.5x&&P.on("5X."+W,19(){bd.1c.2t.6T||(bd.1K.2W(bd.1C,{a1:!0}),"cU"!==bd.o.5x&&bd.1b.1j.1s.5m())}).on("5n."+W,19(){1d e=1;bd.1b.1G&&bd.1b.1G.1P()>bd.1b.1j.1s.4s&&(e=bd.1b.1j.1s.4s/bd.1b.1G.1P()),bd.1K.2W(bd.1C,{a1:!1}),ba("3H").4o("ls-a3")||"cU"===bd.o.5x||bd.o.9t&&bd.1C.5b()||bd.1b.1j.1s.7W(),bd.1b.1G&&bd.1b.1j.1s.2t.7r&&bd.1b.1G.3t()<e&&bd.1K.2W(bd.1b.1j.1s,{7r:!1}),bd.1C.3m()})},h5:19(){2i(1d e=0;e<bd.1h.3o;e++)bd.1C.3L.4P[e]=e+1;bd.1C.3L.bH=bd.1K.dK(ba.o5([],bd.1C.3L.4P))},gF:19(){1d e=bd.o.7H?"bH":"4P",t=bd.1C.3L[e],i=bd.1C.3L[e].1u,s=t.1i(bd.1h.3l.1O);bd.1C.3L.8W=[];2i(1d a=s;a<i;a++)bd.1C.3L.8W.55(t[a]);2i(1d o=0;o<s;o++)bd.1C.3L.8W.55(t[o])},a4:19(e){2O(e){1k"2C":bd.o.aQ&&(bd.1C.2D="2C"),bd.1C.6D(bd.1C.2P.9V("2C"),!0);1B;1k"1R":bd.1C.2D="1R",bd.1C.6D(bd.1C.2P.9V("1R"),!0)}}},2P:{3L:19(){1d e="4P";1M bd.o.51?e="8W":bd.o.7H&&(e="bH"),e},9V:19(e){1d t=bd.1C.3L[18.3L()],i=t.1i(bd.1h.2z.1O);2O(e){1k"2C":1M 0===i?t[t.1u-1]:t[i-1];1k"1R":1M i===t.1u-1?t[0]:t[i+1];5V:1M t[e]}},dL:19(e){1M bd.1C.3L[18.3L()].1i(e)}},5y:{21:19(){0<bd.o.5y&&(bd.1C.bJ=1,bd.1C.dM=bd.1C.2P.dL(bd.1h.3l.1O))},6U:19(e){if(bd.1C.2P.dL(e)===bd.1C.dM)1M++bd.1C.bJ===bd.o.5y+1}},3m:19(e){!18.5b()&&bd.1b.1G&&bd.1b.1j.1s.2t.7r&&18.6D(bd.1h.1R.1O)},1V:19(){bd.1K.2W(18,{6R:!1,4f:!0})},6D:19(e,t,i){if(!2y.3H.7S(B))1M!1;if(bd.1h.2z.1O===e)1M!1;if(!18.8U&&bd.2u.48("h6")){1d s=P.4g("h6",bd.2u.4w());if(!1===s)1M;ba.7n(s)&&(e=1l(s))}e>bd.1h.3o||e<1||(bd.1c.7X()||bd.1C.2t.8V&&!t?!bd.1c.2t.a5&&bd.1c.2t.7Y&&bd.1b.3E&&(bd.1C.4T.6S=!0,bd.1b.3E.3t(1),bd.1b.5c&&bd.1b.5c.3t(1)):(bd.1K.2W(bd.1b.1j.1s,{7r:!1}),bd.1C.4T.6S=!1,t?"2C"===bd.2k.2D&&bd.o.aQ&&(bd.1C.2D="2C"):bd.2k.2D=bd.1C.2D,bd.1b.2h.3n(),bd.1T.1V(!0),bd.1h.21.gE(e),bd.1K.2W(18,{8V:!1}),bd.1K.2W(bd.1c,{8L:!0}),bd.7Z.dN(bd.1h.1R.1O,19(){bd.1b.3m()})))},o6:19(){bd.2k.1V(),ba.2Z(bd.2J,19(e,t){80(bd.2J[e])}),bd.1b.2h.1V(),bd.1b.1G.1V(),bd.1K.2W(bd.1b.1j.1s,{a6:!0,6R:!1}),P.1A("*").1V(!0,!1).o7()},o8:19(){P.1A("*").1V(),bd.2k.6S(bd.1h.2z.1O,bd.1C.2D)}},bd.1T={o9:{},$7l:ba(),7s:"8X:",a7:0,bK:0,1m:19(){-1!=2y.9W.56.1i("a8:")&&(18.7s="a8:"),bd.1K.2W(bd.1c,{dO:!1,dP:!1}),bd.1T.3z.1m(),bd.1T.3X.1m(),bd.1T.5k.1m()},3z:{1m:19(){1d e,l=0;if(18.$81=bd.1c.$7h.1A(\'46[28*="3z-bA.59"], 46[28*="3z.59"], 46[28*="bB.be"], 46[1a-28*="3z-bA.59"], 46[1a-28*="3z.59"], 46[1a-28*="bB.be"]\').2Z(19(){1d e=ba(18),t=e.47(),i=t.1a(bd.1p.1m.1S),s=(e.1J("28")||e.1J("1a-28")).27(/&h7;/g,"&").27("4j=1","4j=0").27("?","?h8=9U&"),a=-1===s.1i("8X")?bd.1T.7s:"",o=-1===s.1i("?")?"?":"&",r={$a9:e,8Y:a+s+o+"h9=ha&5k=1&oa=1&77=3&d
1849Q=0",hb:bd.1T.7s+"//3x.3z.59/ob/"+s.1H("oc/")[1].1H("?")[0]+"/"+bd.o.fM},n=(t.1a().ls||"").27(/\\s+/g,"");(bd.o.9x&&n.1i("4j:bI")<0||!bd.o.9x&&0<=n.1i("4j:1Q"))&&(r.8Y+="&od=1"),e.1J("id","ls-3z-"+ ++l),i.2N={1Y:"3z",bL:r},bd.1T.bM(i),i.is.2s&&bd.1T.9Z(i,t),i.is.2s||bd.1T.bN(t,e,r.8Y,r.hb,i)}),bd.1T.$7l=bd.1T.$7l.2I(18.$81.47()),18.$81.1u){bd.2J.dR=1x.3D(bO.bP()/3y),1o.bQ||ba(\'76[28*="3z.59/hc"]\').1u||ba("<76>").2e("aa").1J("28","a8://oe.3z.59/hc");1d t="og",i=19(){1o.2B.6s.8f=!0};1o[t]=1o[t]?(e=1o[t],19(){e(),i()}):i,bd.4L.dS=bR(19(){1o.bQ&&1===1o.bQ.dT||1o.2B.6s.8f||3<1x.3D(bO.bP()/3y)-bd.2J.dR?(ab(bd.4L.dS),2m bd.4L.dS,2m bd.2J.dR,1o.2B.6s.8f=!0,bd.1T.3z.$81.47().2Z(19(){1d e=ba(18),t=e.1a(bd.1p.1m.1S),i=t.2N.bL;e.on("bS."+W+" 57."+W,".ls-6i",19(){bd.1T.bT(ba(18)),bd.1T.bU(e,t),bd.1T.bV(e),bd.1T.3z.2U(e,i.$a9,i.8Y,t)}).on("bW."+W,19(){bd.1T.3z.2U(e,i.$a9,i.8Y,t)}).on("ac."+W,19(){bd.1T.3z.1V(e,i.$a9,t,!0)}).on("dU."+W,19(){bd.1T.3z.8Z(e,i.$a9,i.8Y,t,!0)})}),bd.1K.2W(bd.1c,{dO:!1})):bd.1K.2W(bd.1c,{dO:!0})},25)}},8Z:19(t,e,i,s,a){if(2x!==s.2M.5O)2O(i=i.27("&5O=0","").27("&5O=1",""),s.2M.5O){1k!0:i+="&5O=1";1B;1k!1:i+="&5O=0"}if(2x!==s.2M.4O)2O(i=i.27("&4O=0","").27("&4O=1",""),s.2M.4O){1k!0:i+="&4O=1";1B;1k!1:i+="&4O=0"}e.1J("28",i),s.2N.3A=4a bQ.oh(e[0],{bX:{oi:19(){2x!==s.2M.4k&&s.2N.3A.hd(s.2M.4k),a&&!s.2N.dV||(s.2N.3A.dW(),s.2N.dV=!1)},oj:19(e){0===e.1a&&(s.is.2s?s.2N.3A.bY(0):bd.1T.bZ(t,s))}}})},2U:19(e,t,i,s){s.2N.3A?s.2N.3A.dW?s.2N.3A.dW():s.2N.dV=!0:18.8Z(e,t,i,s)},1V:19(e,t,i,s){i.2N.3A&&(i.2N.3A.ok(),s&&i.2N.3A.bY(0),i.is.2s||bd.1T.c0(e.1A(".ls-6i")))}},3X:{1m:19(){1d e=18.$81=bd.1c.$7h.1A(\'46[28*="3A.3X"], 46[1a-28*="3A.3X"]\');if(e.1u){bd.2J.dX=1x.3D(bO.bP()/3y),bd.1T.$7l=bd.1T.$7l.2I(e.47());1d d=0;ba("<76>").1J({28:bd.1T.7s+"//f.ol.59/js/om.9N.js",1Y:"52/oo"}).2e("aa"),bd.4L.dY=bR(19(){bd.1K.2W(bd.1c,{dP:!0}),(1o.op||3<1x.3D(bO.bP()/3y)-bd.2J.dX)&&(ab(bd.4L.dY),2m bd.4L.dY,2m bd.2J.dX,1o.2B.6s.aI=!0,t())},25);1d t=19(){bd.1T.3X.$81.2Z(19(){1d t=ba(18).1J("id","ls-3X-"+ ++d),i=t.47(),s=i.1a(bd.1p.1m.1S),e=(t.1J("28")||t.1J("1a-28")).27(/&h7;/g,"&").27("4j=1","4j=0").27("?","?h8=9U&"),a=-1===e.1i("?")?"?":"&",o=-1===e.1i("8X")?bd.1T.7s:"",r="h9=ha&2u=1&oq=ls-3X-"+d,n=bd.1T.7s+"//3X.59/2u/os/4m/"+e.1H("4m/")[1].1H("?")[0]+".ot?ou=?",l=o+e+a+r;s.2N={1Y:"3X",bL:{}},bd.1T.bM(s),s.is.2s&&bd.1T.9Z(s,i),ba.ov(n,19(e){s.is.2s||bd.1T.bN(i,t,l,e[0].ow,s)}),i.on("bS."+W+" 57."+W,".ls-6i",19(){bd.1T.bT(ba(18)),bd.1T.bU(i,s),bd.1T.bV(i),bd.1T.3X.2U(i,t,l,s)}).on("bW."+W,19(){bd.1T.3X.2U(i,t,l,s)}).on("ac."+W,19(){bd.1T.3X.1V(i,t,s,!0)}).on("dU."+W,19(){bd.1T.3X.8Z(i,t,l,s,!0)})}),bd.1K.2W(bd.1c,{dP:!1})}}},8Z:19(e,t,i,s,a){if(2x!==s.2M.5O)2O(i=i.27("&91=0","").27("&91=1","").27("&92=0","").27("&92=1","").27("&93=0","").27("&93=1",""),s.2M.5O){1k!0:i=i.27("91=0","91=1","").27("92=0","92=1","").27("93=0","93=1","");1B;1k!1:i=i.27("91=1","91=0","").27("92=1","92=0","").27("93=1","93=0","")}t.1J("28",i);19 o(){s.is.2s?s.2N.3A.2u("bY",0).2u("2U"):bd.1T.bZ(e,s)}s.2N.3A=$f(t[0]),s.2N.3A.he("c1",19(){s.2N.3A.he("ox",o),2x!==s.2M.4k&&s.2N.3A.2u("hd",s.2M.4k/1r),a||s.2N.3A.2u("2U")})},2U:19(e,t,i,s){s.2N.3A?s.2N.3A.2u("2U"):18.8Z(e,t,i,s)},1V:19(e,t,i,s){i.2N.3A&&(i.2N.3A.2u("5m"),s&&i.2N.3A.2u("bY",0),i.is.2s||bd.1T.c0(e.1A(".ls-6i")))}},5k:{1m:19(){if(18.$20=bd.1c.$7h.1A("4m, 7T"),bd.1T.$7l=bd.1T.$7l.2I(18.$20.47()),18.$20.1u){1d a=0;bd.1T.5k.$20.2Z(19(){1d t=ba(18).1J("id","ls-5k-"+ ++a),i=ba(18).47(),s=i.1a(bd.1p.1m.1S);if(s.2N={1Y:"5k",bL:{}},bd.1T.bM(s),s.is.2s&&bd.1T.9Z(s,i),t.1J("4j")){1d e=t.7o("4j").c2(!0,!0);t.5U(),t=e.2e(i),i.1a("ls",i.1a("ls")+" 4j: 9U;")}s.is.2s||bd.1T.bN(i,t,!1,!1,s),t.on("oy."+W,19(){s.is.2s?(t[0].hf=0,t[0].2U()):bd.1T.bZ(i,s)}),i.on("bS."+W+" 57."+W,".ls-6i",19(e){bd.1T.bT(ba(18)),bd.1T.bU(i,s),bd.1T.bV(i),bd.1T.5k.2U(i,t,s)}).on("bW."+W,19(){bd.1T.5k.2U(i,t,s)}).on("ac."+W,19(){bd.1T.5k.1V(i,t,s,!0)})})}},2U:19(e,t,i){2x===i.2M.4k||i.2N.hg||(t[0].4k=i.2M.4k/1r,i.2N.hg=!0),t[0].2U()},1V:19(e,t,i,s){t[0].5m(),s&&(t[0].hf=0),i.is.2s||bd.1T.c0(e.1A(".ls-6i"))}},9Z:19(e,t){if(e.2M={4O:!1,4j:!1,5O:!1,aY:"8l",2v:!1,4k:e.2M.4k?e.2M.4k:0},t.1a("ls")&&-1!==t.1a("ls").1i("82:")&&0==t.3V(".ls-6i").1u){1d i=ba("<1y>").24("ls-6i").2e(t),s=t.1a("ls").1H("82:")[1].1H(";")[0].3U();ba("<1y>").2e(i).24("ls-dZ").1J({1U:"2f-5a: 7p("+s+")"})}},bM:19(e){e.is.9J=!0},bN:19(e,t,i,s,a){1d o=ba("<1y>").24("ls-6i").2e(e);2x===a.2M.4j&&bd.o.9x||a.2M.4j?e.24("ls-4j"):ba("<1y>").2e(o).24("ls-oz"),e.1a("ls")&&-1!==e.1a("ls").1i("82:")&&(s=e.1a("ls").1H("82:")[1].1H(";")[0].3U()),t.is("46")?ba("<1y>").2e(o).24("ls-dZ").1J({1U:"2f-5a: 7p("+s+")"}):(s||2l 0===t.1J("82")||(s=t.1J("82"),t.7o("82")),s&&ba("<1y>").2e(o).24("ls-dZ").1J({1U:"2f-5a: 7p("+s+")"}))},bU:19(e,t){!t.is.3u&&bd.o.9y&&(bd.1K.2W(bd.1C,{8V:!0}),"2E"==bd.o.9y&&18.a7++)},bT:19(e){e.43(bd.1b.1T.1p.43).5G(bd.1b.1T.1p.5G)},c0:19(e){e.5o(bd.1b.1T.1p.5o)},bZ:19(e,t){"2E"!=bd.o.9y||t.is.2s||(t.is.3u||18.bK++,18.bK==18.a7&&0!==18.a7&&(bd.1K.2W(bd.1C,{8V:!1}),bd.1C.oA=1,bd.1C.3m()))},e0:19(e){1d t=e.1a(bd.1p.1m.1S);t.is.9J&&(bd.1n.6j&&(P.4o("ls-1n-is-6g")&&t.20.$7V.4o("ls-3Y-on-6g")||P.4o("ls-1n-is-6h")&&t.20.$7V.4o("ls-3Y-on-6h"))||(2x===t.2M.4j&&bd.o.9x||t.2M.4j)&&e.1A(".ls-6i").5p("bS"))},1V:19(s){1d a=18;s=2l 0===s||s,bd.1j.2P("2z,1I,3z").2Z(19(){1d e=ba(18),t=e.3K(".ls-2R"),i=t.1a(bd.1p.1m.1S);a.3z.1V(t,e,i,s)}),bd.1j.2P("2z,1I,3X").2Z(19(){1d e=ba(18),t=e.3K(".ls-2R"),i=t.1a(bd.1p.1m.1S);a.3X.1V(t,e,i,s)}),bd.1j.2P("2z,1I,5k").2Z(19(){1d e=ba(18),t=e.3K(".ls-2R"),i=t.1a(bd.1p.1m.1S);a.5k.1V(t,e,i,s)}),18.a7=0,18.bK=0},bV:19(e){bd.1b.1G.5Y(2x,e.3K(".ls-in-1I")[0])}},bd.3c={1m:19(){bd.o.3c&&(18.$1v=ba("<3x>").24("ls-oB").2e(P).1J("1U",bd.o.fO).1e({6k:"4K",3i:"oC"}).on("4t."+W,19(){1d e=bd.3c.$1v?6e:0;bd.2J.3c=5l(19(){2m bd.2J.3c,bd.3c.$1v.1a("9T",bd.3c.$1v.1f()),bd.3c.$1v.1a("bn",bd.3c.$1v.1g()),"2E"!=bd.3c.$1v.1e("1N")&&bd.3c.$1v.1a("ad",bd.3c.$1v[0].1U.1N),"2E"!=bd.3c.$1v.1e("3O")&&bd.3c.$1v.1a("ae",bd.3c.$1v[0].1U.3O),"2E"!=bd.3c.$1v.1e("26")&&bd.3c.$1v.1a("af",bd.3c.$1v[0].1U.26),"2E"!=bd.3c.$1v.1e("1X")&&bd.3c.$1v.1a("ag",bd.3c.$1v[0].1U.1X),!1!==bd.o.d4&&ba("<a>").2e(P).1J("56",bd.o.d4).1J("5g",bd.o.fQ).1e({oD:"3j",oE:"3j"}).8J(bd.3c.$1v),bd.3c.$1v.1e({3i:"3j",6k:"4D"}),bd.3c.1E()},e)}).1J("28",bd.o.3c))},1E:19(){18.$1v.1e({1f:18.$1v.1a("9T")*bd.1E.1F,1g:18.$1v.1a("bn")*bd.1E.1F}),18.$1v.5o(58);1d e="2E",t="2E",i="2E",s="2E";e=18.$1v.1a("ad")&&-1!=18.$1v.1a("ad").1i("%")?P.1f()/1r*2G(18.$1v.1a("ad"))-18.$1v.1f()/2+1l(P.1e("4q-1N")):1l(18.$1v.1a("ad"))*bd.1E.1F,t=18.$1v.1a("ae")&&-1!=18.$1v.1a("ae").1i("%")?P.1f()/1r*2G(18.$1v.1a("ae"))-18.$1v.1f()/2+1l(P.1e("4q-3O")):1l(18.$1v.1a("ae"))*bd.1E.1F,i=18.$1v.1a("af")&&-1!=18.$1v.1a("af").1i("%")?P.1g()/1r*2G(18.$1v.1a("af"))-18.$1v.1g()/2+1l(P.1e("4q-26")):1l(18.$1v.1a("af"))*bd.1E.1F,s=18.$1v.1a("ag")&&-1!=18.$1v.1a("ag").1i("%")?P.1g()/1r*2G(18.$1v.1a("ag"))-18.$1v.1g()/2+1l(P.1e("4q-1X")):1l(18.$1v.1a("ag"))*bd.1E.1F,18.$1v.1e({1N:e,3O:t,26:i,1X:s})}},bd.1w={2k:{1m:19(){bd.o.cX&&18.a4.1m(),(bd.o.9u||bd.o.aS)&&18.1X.1m()},a4:{1m:19(){ba(\'<a 2o="ls-1w-1v ls-3h-2C" 56="#" />\').on("57."+W,19(e){e.3W(),P.4N("2C")}).2e(P),ba(\'<a 2o="ls-1w-1v ls-3h-1R" 56="#" />\').on("57."+W,19(e){e.3W(),P.4N("1R")}).2e(P),bd.o.fI&&18.94()},94:19(){P.1A(".ls-3h-2C, .ls-3h-1R").1e({3i:"3j"}),P.on("5X."+W,19(){bd.1w.2k.e1||P.1A(".ls-3h-2C, .ls-3h-1R").1V(!0,!0).5o(58)}).on("5n."+W,19(){P.1A(".ls-3h-2C, .ls-3h-1R").1V(!0,!0).5G(58)}
1849)}},1X:{1m:19(){18.1L=ba(\'<1y 2o="ls-1w-1v ls-1X-3h-1L" />\').2e(P),bd.o.aS&&"95"!=bd.o.66&&18.c3.1m(),bd.o.9u?18.hh():"95"!=bd.o.66&&18.hi(),bd.o.aT&&"95"!=bd.o.66&&18.94(),"95"==bd.o.66&&(18.1L.24("ls-hj-4E"),18.4E.1m())},c3:{1m:19(){1d t=18;ba(\'<7G 2o="ls-1X-96" />\').2e(P.1A(".ls-1X-3h-1L"));2i(1d e=0;e<bd.1h.3o;e++){1d i=ba(\'<a 56="#" />\').2e(P.1A(".ls-1X-96")).1a("1O",e+1).on("57."+W,19(e){e.3W(),P.4N(ba(18).1a("1O"))});"1q"==bd.o.66&&i.on("5X."+W,19(){1d e=ba(18);P.1A(".ls-2v-1q-3x").1e({1N:1l(t.83.1e("4q-1N")),26:1l(t.83.1e("4q-26"))}),t.ah.on("4t."+W,19(){0===ba(18).1f()?t.ah.1e({68:"dh",7k:"0 2E",1N:"2E"}):t.ah.1e({68:"hk",3P:-ba(18).1f()/2,1N:"50%"}),t.ah.1e("3i","3j").1V(!0,!0).5o(97)}).1J("28",bd.1h[e.1a("1O")].1a.2v),t.83.1e({3i:"5f"}).1V().84({1N:ba(18).68().1N+(ba(18).1f()-t.83.4F())/2},97),t.e2.1e({3i:"3j",6k:"4D"}).1V().5o(97)}).on("5n."+W,19(){t.e2.1V().5G(97,19(){t.83.1e({6k:"4K",3i:"5f"})})})}t.21.3g(bd.1h.3l.1O),"1q"==bd.o.66&&t.21.1q()},21:{3g:19(e){2l 0===e&&(e=bd.1h.2z.1O),e--,P.1A(".ls-1X-96 a").3N("ls-3h-3g"),P.1A(".ls-1X-96 a:eq( "+e+" )").24("ls-3h-3g")},1q:19(){1d e=bd.1w.2k.1X.c3,t=ba(\'<1y 2o="ls-2v-1q"><1y 2o="ls-2v-1q-c4"><1y 2o="ls-2v-1q-bg"></1y><1y 2o="ls-2v-1q-3x"><3x></1y><7G></7G></1y></1y>\').2e(P.1A(".ls-1X-96"));P.1A(".ls-2v-1q, .ls-2v-1q-3x").1e({1f:bd.o.cY,1g:bd.o.9v}),e.83=P.1A(".ls-2v-1q"),e.ah=e.83.1A("3x").1e({1g:bd.o.9v}),e.e2=P.1A(".ls-2v-1q-c4").1e({6k:"4K",3i:"5f"}),t.2e(P.1A(".ls-1X-96"))}}},hh:19(){18.ai=ba(\'<a 2o="ls-3h-3m" 56="#" />\').on("57."+W,19(e){e.3W(),P.4N("3m")}).9r(P.1A(".ls-1X-3h-1L")),18.aj=ba(\'<a 2o="ls-3h-1V" 56="#" />\').on("57."+W,19(e){e.3W(),P.4N("1V")}).2e(P.1A(".ls-1X-3h-1L")),bd.o.8m?18.ak("3m"):18.ak("1V")},ak:19(e){if(bd.o.9u)2O(e){1k"3m":18.ai.24("ls-3h-3m-3g"),18.aj.3N("ls-3h-1V-3g");1B;1k"1V":18.ai.3N("ls-3h-3m-3g"),18.aj.24("ls-3h-1V-3g")}},hi:19(){ba(\'<7G 2o="ls-3h-hl ls-3h-oF" />\').9r(P.1A(".ls-1X-3h-1L")),ba(\'<7G 2o="ls-3h-hl ls-3h-oG" />\').2e(P.1A(".ls-1X-3h-1L"))},94:19(){1d e=18;e.1L.1e({3i:"3j"}),P.on("5X."+W,19(){bd.1w.2k.e1||e.1L.1V(!0,!0).5o(58)}).on("5n."+W,19(){e.1L.1V(!0,!0).5G(58)})},e3:19(e){if(bd.o.aT&&!P.4o("ls-1q"))2O(e){1k"on":bd.1w.2k.1X.4E.1L.1e({6k:"4K",3i:"5f"});1B;1k"7t":bd.1w.2k.1X.4E.1L.1e({6k:"4D",3i:"3j"})}},4E:{1m:19(){18.1L=ba(\'<1y 2o="ls-1w-1v ls-2v-1L"></1y>\').2e(P),ba(\'<1y 2o="ls-2v"><1y 2o="ls-2v-c4"><1y 2o="ls-2v-29-4M"><1y 2o="ls-2v-29"></1y></1y></1y></1y>\').2e(18.1L),18.$1v=P.1A(".ls-2v-29-4M"),"c5"in 1o?18.$1v.24("ls-oH"):18.$1v.on("5X."+W,19(){ba(18).24("ls-2v-29-1q")}).on("5n."+W,19(){ba(18).3N("ls-2v-29-1q"),bd.1w.2k.1X.4E.2a()}).on("7u."+W,19(e){1d t=1l(e.c6-ba(18).5W().1N)/ba(18).1f()*(ba(18).1f()-ba(18).1A(".ls-2v-29").1f());ba(18).1A(".ls-2v-29").1V().1e({3P:t})});2i(1d e=0;e<bd.1h.3o;e++){1d t=e+1,i=ba(\'<a 56="#" 2o="ls-7v-\'+(e+1)+\'"><3x 28="\'+bd.1h[t].1a.2v+\'"></a>\');bd.1h[t].1a.dw&&i.1A("3x").1J("e4",bd.1h[t].1a.dw),i.1a("1O",t).on("57."+W,19(e){e.3W(),P.4N(ba(18).1a("1O"))}).2e(P.1A(".ls-2v-29")),"c5"in 1o||i.on("5X."+W,19(){ba(18).3V().1V().c7(58,bd.o.cZ/1r)}).on("5n."+W,19(){ba(18).3V().4o("ls-7v-3g")||ba(18).3V().1V().c7(58,bd.o.d0/1r)})}bd.1w.2k.1X.ai&&bd.1w.2k.1X.aj&&(bd.1w.2k.1X.1L=ba(\'<1y 2o="ls-1X-3h-1L ls-oI-4E"></1y>\').2e(P),bd.1w.2k.1X.ai.c2().on("57."+W,19(e){e.3W(),P.4N("3m")}).2e(bd.1w.2k.1X.1L),bd.1w.2k.1X.aj.c2().on("57."+W,19(e){e.3W(),P.4N("1V")}).2e(bd.1w.2k.1X.1L)),bd.o.aT&&18.94()},94:19(){1d e=18;e.1L.1e("3i","3j"),bd.1w.2k.1X.1L&&(bd.1w.2k.1X.1L="5f"==bd.1w.2k.1X.1L.1e("3i")?bd.1w.2k.1X.1L:P.1A(".ls-hj-4E"),bd.1w.2k.1X.1L.1e("3i","3j")),P.on("5X."+W,19(){P.24("ls-1q"),bd.1w.2k.e1||(e.1L.1V(!0,!0).5o(58),bd.1w.2k.1X.1L&&bd.1w.2k.1X.1L.1V(!0,!0).5o(58))}).on("5n."+W,19(){P.3N("ls-1q"),e.1L.1V(!0,!0).5G(58),bd.1w.2k.1X.1L&&bd.1w.2k.1X.1L.1V(!0,!0).5G(58)})},6S:19(e){1d t=e||bd.1h.1R.1O;P.1A(".ls-2v-29 a:5j(.ls-7v-"+t+" )").3V().2Z(19(){ba(18).3N("ls-7v-3g").1V().c7(aR,bd.o.d0/1r)}),P.1A(".ls-2v-29 a.ls-7v-"+t).3V().24("ls-7v-3g").1V().c7(aR,bd.o.cZ/1r)},2a:19(){if(!P.1A(".ls-2v-29-4M").4o("ls-2v-29-1q")){1d e=!!P.1A(".ls-7v-3g").1u&&P.1A(".ls-7v-3g").47();if(e){1d t=e.68().1N+e.1f()/2,i=P.1A(".ls-2v-29-4M").1f()/2-t;i=0<(i=i<P.1A(".ls-2v-29-4M").1f()-P.1A(".ls-2v-29").1f()?P.1A(".ls-2v-29-4M").1f()-P.1A(".ls-2v-29").1f():i)?0:i,P.1A(".ls-2v-29").84({3P:i},oJ)}}},1E:19(){bd.1w.2k.1X.e3("on");1d e=-1==bd.1c.42.1f.1i("%")?1l(bd.1c.42.9T):P.1f(),t=P.1A(".ls-2v"),i=-1==bd.o.aU.1i("%")?1l(bd.o.aU):1l(e/1r*1l(bd.o.aU));P.1A(".ls-2v-29 a").1e({1f:1l(bd.o.cY*bd.1E.1F),1g:1l(bd.o.9v*bd.1E.1F)}),P.1A(".ls-2v-29 a:dA").1e({7k:0}),P.1A(".ls-2v-29").1e({1g:1l(bd.o.9v*bd.1E.1F)}),t.1e({1f:i*1x.3D(1r*bd.1E.1F)/1r}),t.1f()>P.1A(".ls-2v-29").1f()&&t.1e({1f:P.1A(".ls-2v-29").1f()}),bd.1w.2k.1X.e3("7t")}}}},3Q:{4t:19(){P.24("ls-"+bd.o.3Q);1d e=bd.o.8n+bd.o.3Q+"/3Q.1e",t=ba("aa").1u?ba("aa"):ba("3H"),i=ba("#ls-3Q-"+bd.o.3Q+\', 4U[56^="\'+e+\'"]\');i.1u?bd.1w.3Q.6l||(bd.1w.3Q.6l=!0,bd.2J.e5=5l(19(){2m bd.2J.e5,bd.1c.1m()},bu)):i=2y.hm?(2y.hm(e),ba(\'4U[56="\'+e+\'"]\')):ba(\'<4U dQ="hn" 56="\'+e+\'" 1Y="52/1e" />\').2e(t),i.on("4t."+W,19(){bd.1w.3Q.6l||(bd.1w.3Q.6l=!0,bd.2J.e6=5l(19(){2m bd.2J.e6,bd.
18491c.1m()},bu))}),ba(1o).on("4t."+W,19(){bd.1w.3Q.6l||(bd.1w.3Q.6l=!0,bd.2J.e7=5l(19(){2m bd.2J.e7,bd.1c.1m()},bu))}),bd.2J.e8=5l(19(){bd.1w.3Q.6l||(bd.1w.3Q.6l=!0,2m bd.2J.e8,bd.1c.1m())},3y)}},4h:{1m:19(){18.21(),18.1E()},21:19(){18.$1v=ba(\'<1y 2o="ls-1w-1v ls-4h"></1y>\').2e(P),"5f"!=18.$1v.1e("3i")||18.$1v.1A("3x").1u||(18.5K=19(){bd.1w.4h.$1v.1e({3i:"3j",6k:"4D"}).5o(6e,19(){bd.1w.4h.5K=!1})},18.5a=ba("<3x>").1J("28",bd.o.8n.27("/8K/1e/","/8K/3x/")+bd.o.3Q+"/4h.bp").2e(18.$1v),18.ho="53"==2A 1l(P.1e("4q-1X"))?1l(P.1e("4q-1X")):0)},1E:19(){18.5a&&(0<18.5a.1g()?0<18.ho?18.$1v.1e({1g:18.5a.1g()/2}):18.$1v.1e({1g:18.5a.1g(),5i:-18.5a.1g()/2}):bd.2J.hp=5l(19(){2m bd.2J.hp,bd.1w.4h.1E()},50))}},2h:{1m:19(){bd.o.fJ&&18.4u.5Z(),bd.o.fK&&18.3Z.5Z();1d e=!1;(e=bd.o.fL?ba("<1y>").oK(P):ba(\'[1a-2K-2i="\'+P.1J("id")+\'"], [1a-2K-2i="\'+W+\'"]\')).1u&&(e.24("ls-1w-1v"),18.2K.5Z(e))},4u:{5Z:19(){18.$1v=ba("<1y>").24("ls-1w-1v ls-4u-hq").2e(P)}},3Z:{5Z:19(){18.$1v=ba("<1y>").24("ls-1w-1v ls-3Z-hq").2e(P),18.$1v.8J(ba(\'<1y 2o="ls-ct-7I"></1y><1y 2o="ls-ct-1N"><1y 2o="ls-ct-3S"><1y 2o="ls-ct-hr"><1y 2o="ls-ct-hs"></1y></1y></1y></1y><1y 2o="ls-ct-3O"><1y 2o="ls-ct-3S"><1y 2o="ls-ct-hr"><1y 2o="ls-ct-hs"></1y></1y></1y></1y>\')),18.$1v.1a("31",{2V:18.$1v.1e("2V")})}},2K:{$5q:[],$1v:[],$e9:[],$7w:[],$c8:[],ea:[],al:[],7x:[],5Z:19(e){19 i(e,t){(s=(e.c6?e.c6:bd.1n.ht)-o.$1v[t].5W().1N-o.7x[t]/2)<0&&(s=0),s>o.al[t]-o.7x[t]&&(s="eb( 1r% - "+bd.1w.2h.2K.7x[t]+"px )"),o.$7w[t].1e({1N:s}),bd.1b.1G&&bd.1b.1G.3t("4Z"==2A s?bd.1b.1j.1s.3t:s/(o.al[t]-o.7x[t])*bd.1b.1j.1s.3t)}1d s,a=ba(2y),o=18;ba.2Z(e,19(t,e){o.$5q[t]=ba(e).24("ls-2K-4M "+W),o.$1v[t]=ba("<1y>").24("ls-2K").2e(o.$5q[t]),o.$e9[t]=ba("<1y>").24("ls-oL").2e(o.$1v[t]),o.$7w[t]=ba("<1y>").24("ls-2K-1c-4M").2e(o.$5q[t]),o.$c8[t]=ba("<1y>").24("ls-2K-1c").2e(o.$7w[t]),o.7x[t]=o.$7w[t].1f(),o.$7w[t].1e({5i:-o.$c8[t].4G()/2}),o.$5q[t].on("98."+W,19(e){i(e,t)}),o.$5q[t].on("oM."+W+" hu."+W,19(e){bd.1b.1j.1s.5m(0),ba("3H").by("a3",!0).24("ls-a3"),ba(2y).on("7u."+W,19(e){i(e,t)}),i(e,t)}),a=a.2I(o.$c8[t])}),a.on("oN."+W+"hv."+W,19(e){ba(e.5g).3K(P).1u||(bd.1b.1G&&bd.1b.1j.1s.2t.7r&&bd.1b.1G.3t()!==bd.1b.1j.1s.3t&&bd.1K.2W(bd.1b.1j.1s,{7r:!1}),ba(2y).7t("7u."+W),ba("3H").by("a3",!1).3N("ls-a3"),bd.o.9t&&!bd.1C.2t.6R||bd.1c.5b||!bd.1b.1G||bd.o.51||(!0===bd.1b.1j.1s.2t.ec?bd.1b.1j.1s.7W():bd.1b.1j.1s.2U()))})}}},c9:{1m:19(){18.$1v=ba("<1y>").1e({3i:"3j"}).24("ls-1w-1v ls-hw-4M").2e(P),ba("<1y>").24("ls-hw-oO").2e(18.$1v)},5K:19(){18.$1v.43(oP).5o(58)},3Y:19(){18.$1v.1V(!0,!0).5G(58)}}},bd.2k={2D:"1R",1m:19(){1<bd.1h.3o&&(18.21.hx(),18.21.hy())},21:{hx:19(){bd.o.fG&&ba("3H").on("oQ."+W,19(e){bd.1c.oR||bd.1c.oS||(37==e.hz?bd.2k.2C():39==e.hz&&bd.2k.1R())})},hy:19(){"c5"in 1o&&bd.o.fH&&(bd.1c.$5H.on("hu."+W,19(e){1d t=e.6m?e.6m:e.99.6m;1==t.1u&&(bd.1n.ca=bd.1n.am=t[0].ed)}),bd.1c.$5H.on("98."+W,19(e){1d t=e.6m?e.6m:e.99.6m;1==t.1u&&(bd.1n.am=t[0].ed),45<1x.3M(bd.1n.ca-bd.1n.am)&&e.3W()}),bd.1c.$5H.on("hv."+W,19(e){45<1x.3M(bd.1n.ca-bd.1n.am)&&(0<bd.1n.ca-bd.1n.am?P.4N("ao"):P.4N("ap"))}))}},2C:19(){(!bd.1c.9a||bd.1c.9a&&bd.1c.2t.ef)&&(18.2D="2C",18.cb="2C",bd.1C.21.a4("2C"))},1R:19(){(!bd.1c.9a||bd.1c.9a&&bd.1c.2t.ef)&&(18.2D="1R",18.cb="1R",bd.1C.21.a4("1R"))},3m:19(){bd.1K.2W(bd.1C,{6R:!0,4f:!1}),!0===bd.1C.2t.a2&&bd.1K.2W(bd.1C,{a2:!1}),bd.1w.2k.1X.ak("3m"),bd.1C.2t.a1||1!==bd.1b.1G.5r()&&bd.1b.1j.1s.7W(),bd.1C.3m()},1V:19(){bd.1w.2k.1X.ak("1V"),bd.o.9t&&bd.1b.1j.1s.5m(),bd.1C.1V()}},bd.7Z={1m:19(){bd.1c.$7h.1A(".ls-29 3x").2Z(19(){1d e=ba(18),t=e[0],i={};if(e.is(".ls-2R, .ls-bg")){if(t.9X("1f")&&(i.1f=t.9X("1f")),t.9X("1g")&&(i.1g=t.9X("1g")),t.cc&&(i.cc=t.cc),t.cd&&bd.o.d8){i.ce=t.cd,i.85=t.eg;1d s=i.ce.1H(",").oT(19(e){1M 1l(ba.3U(e).1H(" ")[1])});i.4r=1x.3T.oU(2x,s)}e.7o("1f").7o("1g").7o("cc").7o("cd"),ba.4I(i)||(e.1a(bd.1p.1m.1S).7m=i)}e.1a("hA-28")&&e.1a("28",e.1a("hA-28")),e.1a("28")?i.85&&e.1a("28",i.85):e.1a("28",i.85?i.85:t.28),e.1J("28","1a:5a/oV;oW,oX///oY")})},dN:19(e,t){if(!0!==bd.1h[e].8T){18.86=e,t?(18.aq=t,bd.1K.2W(bd.1c,{a5:!0}),bd.1w.c9.5K()):18.aq=!1,bd.1c.hB&&P.1e({6k:"4D"}),18.6V=[];1d s,a,o=18;bd.1c.$7h.1A(".ls-29:eq("+(o.86-1)+") *").2Z(19(){s=ba(18),a=18;1d e=s.1a(bd.1p.1m.1S);if(s.is("3x")){s.1a("28")&&s.1J("28",s.1a("28")),e&&e.7m&&e.7m.ce&&bd.o.d8&&(a.cd=e.7m.ce);1d t=a.28,i=!!(e&&e.7m&&e.7m.85)&&e.7m.85;i&&t!==i&&s.is(".ls-bg")&&(t=i,bd.1h[o.86].1a.$2f.1J("28",t)),bd.7Z.6V.55([t,s])}2H"3j"!==s.1e("2f-5a")&&-1!==s.1e("2f-5a").1i("7p")&&bd.7Z.6V.55([s.1e("2f-5a").49(/7p\\((.*)\\)/)[1].27(/"/gi,""),s])}
1849),bd.1b.4i&&bd.o.8p&&bd.7Z.6V.55([bd.o.8p,ba()]),18.hC||18.4E(),0===18.6V.1u?18.4n():18.3m()}2H bd.1c.cf&&t&&(bd.1E.eh(bd.1j.2P("1R, bg")),bd.1E.1j(t))},4E:19(){2i(1d e=bd.1c.4E.1t(19(e,t,i){1M i.1i(e)==t}),t=e.1u,i=0;i<t;i++){(4a hD).28=e[i]}18.hC=!0},3m:19(){18.hE=0;2i(1d e=18,t=19(){++e.hE==e.6V.1u&&e.4n()},i=19(){18.ei.1a("gO",18.1f),18.ei.1a("gP",18.1g),t()},s=19(){t()},a=0;a<18.6V.1u;a++){1d o=4a hD;o.cg("6x",s,!1),o.cg("4t",i,!1),o.28=18.6V[a][0],o.ei=18.6V[a][1]}},4n:19(){1d a=18;18.aq?(bd.1j.5h(18.86),19 e(){if(0!==bd.1h[a.86].$1j.1u)bd.2J.hF=5l(e,1r);2H{2m bd.2J.hF,bd.1K.2W(bd.1b.1j.1D,{c1:!0}),ba(".ls-2v-1L, .ls-3h-1R, .ls-3h-2C, .ls-1X-3h-1L").1e({6k:"4D"}),bd.1h[a.86].8T=!0;1d t=!(!1o.2B.6s.8f&&bd.1j.2P("1R,in,3z,bz").1u),i=!(!1o.2B.6s.aI&&bd.1j.2P("1R,in,3X,bz").1u),s=19(){bd.1w.c9.3Y(),bd.1c.cf?(bd.1E.eh(bd.1j.2P("1R, bg")),bd.1E.1j(a.aq)):a.aq()};t&&i?s():bd.4L.ej=bR(19(){(t||1o.2B.6s.8f)&&(i||1o.2B.6s.aI)&&(ab(bd.4L.ej),2m bd.4L.ej,s())},50)}}()):bd.1j.5h(18.86,!0),bd.1K.2W(bd.1c,{a5:!1})}},bd.1E={eh:19(e){18.$ar=e.2I(bd.1j.2P("3g")),bd.1h.1R.1a.$2s.1u&&(18.$ar=18.$ar.2I(bd.1h.1R.1a.$2s))},5E:19(){if(!2y.3H.7S(B))1M!1;bd.2u.48("hG")&&P.4g("hG",bd.2u.4w()),18.1c(),18.2k(),18.1j(),18.3c(),18.4h(),18.2h(),bd.1b.1j.1s.6n&&bd.o.fT&&(bd.1K.hH(),bd.1b.1j.1s.5Z(!0)),bd.2u.48("hI")&&P.4g("hI",bd.2u.4w())},ch:19(){ba(1o).br(1x.6P(bd.1c.4p)-(bd.1n.4V-bd.1c.1g)/2)},1c:19(){if(!2y.3H.7S(B))1M!1;1d e,t=bd.1c.$ek?bd.1c.$ek:bd.1K.hJ("1f"),i=bd.1c.42,s=bd.1c.$el?t.1f()/1r*bd.1c.$el:t.1f(),a=i.1Y,o=0!==i.4r?i.4r:s,r="2E"===i.3P?0:i.3P,n="2E"===i.9b?0:i.9b;if(bd.1c.2t.6T?P[0].1U.4r="":0!==i.4r&&(P[0].1U.4r=i.4r+"px"),-1!==o.1i("%")&&(o=s/1r*1l(o)),o<(s-=r+n)&&0<=o&&(s=o),bd.o.cR&&("6W"===a||"6O"===a&&"em"!==bd.o.8j&&"hK"!==bd.o.8j)){P.47();1d l=t.5W().1N,d=1l(t.1e("4q-1N"))||0,u=1l(t.1e("6K-1N-1f"))||0;P[0].1U.4r="3j",P[0].1U.3P=-(l+d+u)+"px",s=bd.1n.7y||ba(1o).1f()}2O(s-=i.as,bd.1c.2t.6T&&(s=bd.1n.1f),a){1k"1Z":e=(bd.1c.2t.6T?(bd.1n.1F>i.1F?18.1F=bd.1n.1g/i.1g:18.1F=bd.1n.1f/i.1f,s=1x.6P(i.1f*18.1F)):18.1F=s/i.1f,1x.6P(i.1g*18.1F));1B;1k"6W":e=s<bd.o.6w?(18.1F=s/bd.o.6w,1x.6P(i.1g*18.1F)):bd.1c.2t.6T?bd.1n.1F>i.au/i.1g?(18.1F=bd.1n.1g/i.1g,bd.1n.1g):(18.1F=bd.1n.1f/i.au,i.1g*18.1F):(18.1F=1,i.1g);1B;1k"6O":2O(bd.o.8j.4C()){1k"4P":e=bd.1n.4V-i.av;1B;1k"hL":e=bd.1n.4V-i.av,bd.1c.2t.6T||(e-=bd.1c.en?bd.1c.en:bd.1c.4p);1B;1k"em":s=P.47().1f()-i.as,e=P.47().1g()-i.av;1B;1k"hK":s=P.47().1f()-i.as,e=bd.1n.4V-i.av}s/e<i.1F?18.1F=s/i.au:18.1F=e/i.eo;1B;1k"hM":1k"ep":18.1F=1,s=i.1f,e=i.1g,bd.o.5w=1,B.1U.4r="3j"}18.1F=bd.o.5w&&0<bd.o.5w&&18.1F>bd.o.5w?bd.o.5w:18.1F,B.1U.1f=s+"px",B.1U.1g=e+"px",bd.1c.1f=s,bd.1c.1g=e;1d c=P.5W();bd.1c.oZ=c.1N,bd.1c.p0=c.26,bd.1n.6j?bd.1n.7y<p1&&p2<bd.1n.7y?P.3N("ls-1n-is-6g").24("ls-1n-is-6h"):bd.1n.7y<p3&&P.3N("ls-1n-is-6h").24("ls-1n-is-6g"):P.3N("ls-1n-is-6g ls-1n-is-6h").24("ls-1n-is-bE")},3J:19(e){2i(1d t=(""+e).1H(" "),i="",s=bd.o.5w&&0<bd.o.5w&&18.1F>bd.o.5w?bd.o.5w:18.1F,a=0,o=t.1u;a<o;a++)-1===t[a].1i("%")?i+=1x.6Q(1l(t[a])*s)+"px ":i+=t[a]+" ";1M ba.3U(i)},1j:19(e){if(18.$ar){1d t=18.1F,i=18.$ar,s=bd.1c.42,a=bd.1c.1f,o=bd.1c.1g,r=a/o,n=[],l=[],d=[],u=[],c=0,p=0,h="1Z"===s.1Y&&-1!==bd.o.5w?s.1f:s.au,m="1Z"===s.1Y&&-1!==bd.o.5w?s.1g:s.eo;p="6O"===s.1Y||"6W"===s.1Y||"1Z"===s.1Y?(c=0<h?(a-h*t)/2:0,0<m?(o-m*t)/2:0):(c=c<0?0:c,p<0?0:p);2i(1d f=0,g=i.1u;f<g;f++){1d v,y,S=ba(i[f]),w=(i[f],S.1a(bd.1p.1m.1S)),b=w.31,x="hM"===w.2X.68,T=x?0:c,C=x?0:p,k={1f:x&&0!==b.8Q?a/1r*b.8Q:b.1f*t,1g:x&&0!==b.8R?o/1r*b.8R:b.1g*t,6F:b.6F*t,6H:b.6H*t,6G:b.6G*t,6I:b.6I*t,6J:1x.6Q(b.6J*t),6M:1x.6Q(b.6M*t),6L:1x.6Q(b.6L*t),6N:1x.6Q(b.6N*t),3J:18.3J(b.3J)},L={3P:b.3P*t,5i:b.5i*t},O={},I={3J:k.3J};if(x&&(b.8R||b.8Q)&&w.is.go&&(b.8R&&!b.8Q&&(k.1f=b.1f*(k.1g/b.1g)),b.8Q&&!b.8R&&(k.1g=b.1g*(k.1f/b.1f))),w.is.8A&&(k.6f=b.6f*t,bd.1n.6j&&k.6f<w.4b.7M?k.6f=w.4b.7M:k.6f<w.4b.7L&&(k.6f=w.4b.7L),y=k.6f/b.6f,k.6f+="px","4P"!==b.bv&&(k.bv=2G(b.bv)*y+"px"),"4P"!==b.bw&&(k.bw=2G(b.bw)*y+"px")),w.is.5D||w.is.2s)if(w.is.5D){1d $=bd.1h[w.is.b2].1a.aV;2O((2l 0!==$&&"p4"!==$?$:bd.o.8k).27("1r% 1r%","er")){1k"2E":1B;1k"8l":b.1F<r?(k.1f=a,k.1g=k.1f/b.1F):(k.1g=o,k.1f=k.1g*b.1F);1B;
18491k"hN":b.1F<r?(k.1g=o,k.1f=k.1g*b.1F):(k.1f=a,k.1g=k.1f/b.1F);1B;1k"er":k.1f=a,k.1g=o}k.1f=1x.6P(k.1f),k.1g=1x.6P(k.1g);1d B=bd.1h[w.is.b2].1a.aW;2O((v=2l 0!==B?B.1H(" "):bd.o.fy.1H(" "))[0]){1k"1N":k.x=0;1B;1k"7I":k.x=(bd.1c.1f-k.1f)/2;1B;1k"3O":k.x=bd.1c.1f-k.1f;1B;5V:-1!==v[0].1i("%")?k.x=(bd.1c.1f-k.1f)/1r*1l(v[0]):k.x=1l(v[0])}if(2l 0!==v[1])2O(v[1]){1k"26":k.y=0;1B;1k"7I":k.y=(bd.1c.1g-k.1g)/2;1B;1k"1X":k.y=bd.1c.1g-k.1g;1B;5V:-1!==v[1].1i("%")?k.y=(bd.1c.1g-k.1g)/1r*1l(v[1]):k.y=1l(v[1])}k.3B="4W("+k.x+"px) 4X("+k.y+"px)",k["-ms-3B"]="4W("+k.x+"px) 4X("+k.y+"px)",k["-5s-3B"]="4W("+k.x+"px) 4X("+k.y+"px)"}2H w.is.2s&&(b.1F<r?(k.1f=a,k.1g=k.1f/b.1F):(k.1g=o,k.1f=k.1g*b.1F),k.x=(bd.1c.1f-k.1f)/2,k.y=(bd.1c.1g-k.1g)/2,k.1f=1x.6P(k.1f),k.1g=1x.6P(k.1g),k.3B="4W("+k.x+"px) 4X("+k.y+"px)",k["-ms-3B"]="4W("+k.x+"px) 4X("+k.y+"px)",k["-5s-3B"]="4W("+k.x+"px) 4X("+k.y+"px)");2H{if(w.2M.6O)2O(w.2M.aY){5V:1k"8l":b.1F<r?(k.1f=a,k.1g=k.1f/b.1F):(k.1g=o,k.1f=k.1g*b.1F);1B;1k"hN":b.1F>r?(k.1f=a,k.1g=k.1f/b.1F):(k.1g=o,k.1f=k.1g*b.1F)}k.4F=k.1f+k.6F+k.6G+k.6J+k.6L,k.4G=k.1g+k.6H+k.6I+k.6M+k.6N,L.1f=O.1f=k.4F,L.1g=O.1g=k.4G,-1!=b.1N.1i("%")?"1r%"===b.1N?k.1N=0===T?bd.1c.1f/1r*2G(b.1N)-k.4F:T+h*t/1r*2G(b.1N)-k.4F:"0%"===b.1N?k.1N=0===T?0:T:k.1N=0===T?bd.1c.1f/1r*2G(b.1N)-k.4F/2:T+h*t/1r*2G(b.1N)-k.4F/2:k.1N=T+2G(b.1N)*t,L.1N=k.1N,-1!=b.26.1i("%")?"1r%"===b.26?k.26=0===C?bd.1c.1g/1r*2G(b.26)-k.4G:C+m*t/1r*2G(b.26)-k.4G:"0%"===b.26?k.26=0===C?0:C+0:k.26=0===C?bd.1c.1g/1r*2G(b.26)-k.4G/2:C+m*t/1r*2G(b.26)-k.4G/2:k.26=C+2G(b.26)*t,L.26=k.26}w.1Z=k,n[f]=k,w.is.5D||w.is.2s||(w.2X.dC.1Z=L,l[f]=L,d[f]=O,u[f]=I)}2i(1d P=0,W=n.1u;P<W;P++){1d 3q=ba(i[P]),F=3q.1a(bd.1p.1m.1S);3q.1e(n[P]),F.is.5D||F.is.2s?(F.is.5D||F.is.2s)&&(F.20.$bt.1e({1f:bd.1c.1f,1g:bd.1c.1g}),F.20.$7V.1e({1f:bd.1c.1f,1g:bd.1c.1g})):(3q.1A(".1H-p5").1e(u[P]),18.3b(3q,F,l[P],d[P]))}2l 0!==e&&e()}},3b:19(e,t,i,s){i&&t.20.$1L.1e(i),s&&t.1z.1Q&&t.20.$7j.1e(s),2n.3a.21(t.20.$1L[0],{2j:!1,1e:{2r:t.2r.2R*bd.1E.1F}}),t.1z.1Q&&2n.3a.21(t.20.$7j[0],{2j:!1,1e:{2r:t.2r.1z*bd.1E.1F}}),t.1q.1Q&&2n.3a.21(e[0],{2j:!1,1e:{2r:t.2r.1q*bd.1E.1F}}),t.23.5t&&2n.3a.21(t.23.5t,{2j:!1,1e:{2r:t.2r.52*bd.1E.1F}}),t.2w.5t&&2n.3a.21(t.2w.5t,{2j:!1,1e:{2r:t.2r.52*bd.1E.1F}}),t.1D.1Q&&2n.3a.21(t.20.$7U[0],{2j:!1,1e:{2r:t.2r.1D*bd.1E.1F}})},87:19(e,t,i,s){if("5L"==2A i.x){2i(1d a=[],o=0;o<i.x.1u;o++)"4Z"==2A i.x[o]?a[o]=18.aw(e,i.x[o],"hO"):a[o]=i.x[o]*bd.1E.1F;t.6d.x=a}2H"4Z"==2A i.x?t.x=18.aw(e,i.x,"hO"):2l 0!==i.x&&(t.x=i.x*bd.1E.1F);if("5L"==2A i.y){2i(1d r=[],n=0;n<i.y.1u;n++)"4Z"==2A i.y[n]?r[n]=18.aw(e,i.y[n],"hP"):r[n]=i.y[n]*bd.1E.1F;t.6d.y=r}2H"4Z"==2A i.y?t.y=18.aw(e,i.y,"hP"):2l 0!==i.y&&(t.y=i.y*bd.1E.1F);if(s&&(t=s),"5L"==2A i.3e){2i(1d l=[],d=0;d<i.3e.1u;d++)l[d]=bd.1K.2T.3e(i.3e[d],e);t.6d.3e=l}2H"4Z"==2A i.3e&&(t.3e=bd.1K.2T.3e(i.3e,e))},9c:19(e,t){2l 0!==t.1f&&(ba.7n(t.1f)?e.1f=1l(t.1f)*bd.1E.1F:"4Z"==2A t.1f&&-1!==t.1f.1i("%")&&(e.1f=bd.1c.1f/1r*1l(t.1f))),2l 0!==t.1g&&(ba.7n(t.1g)?e.1g=1l(t.1g)*bd.1E.1F:"4Z"==2A t.1g&&-1!==t.1g.1i("%")&&(e.1g=bd.1c.1g/1r*1l(t.1g))),t.3J&&(e.3J=bd.1E.3J(t.3J))},2c:19(e,t,i){t=ba.3U(t.27("hQ(","").27(")",""));2i(1d s,a=e.1a(bd.1p.1m.1S).1Z,o=1x.6Q(a.4F),r=1x.6Q(a.4G),n=-1===t.1i(",")?t.1H(" "):t.1H(","),l="",d=0;d<n.1u;d++)if(-1!==n[d].1i("%"))2O(d){1k 0:l+=1l(r/1r*1l(n[d])*1r)/1r+"px ";1B;1k 1:l+=i?1l(1r*(o-o/1r*1l(n[d])))/1r+"px ":1l(o/1r*1l(n[d])*1r)/1r+"px ";1B;1k 2:l+=i?1l(1r*(r-r/1r*1l(n[d])))/1r+"px ":1l(r/1r*1l(n[d])*1r)/1r+"px ";1B;1k 3:l+=1l(o/1r*1l(n[d])*1r)/1r+"px"}2H 2O(s=1l(n[d])*bd.1E.1F,d){1k 0:l+=s+"px ";1B;1k 1:l+=i?o-s+" ":s+"px ";1B;1k 2:l+=i?r-s+"px ":s+"px ";1B;1k 3:l+=s+"px"}1M"hQ("+l+")"},aw:19(e,t,i){1d s=0,a=e.1a(bd.1p.1m.1S),o=a.31,r=a.1Z,n=a.2X.dC.1Z;if(o&&r&&n)2O(t){1k"1N":s=-1!=o.1N.1i("%")?"1r%"===o.1N?-r.1N-r.4F-n.3P:-1l(o.1N)/1r*bd.1c.1f-r.4F/2-n.3P:-r.1N-r.4F-n.3P;1B;1k"3O":s=-1!=o.1N.1i("%")?"1r%"===o.1N?bd.1c.1f-r.1N-n.3P:(1-1l(o.1N)/1r)*bd.1c.1f+r.4F/2-n.3P:bd.1c.1f-r.1N-n.3P;1B;1k"26":s=-1!=o.26.1i("%")?"1r%"===o.26?-r.26-r.4G-n.5i:-1l(o.26)/1r*bd.1c.1g-r.4G/2-n.5i:-r.26-r.4G-n.5i;1B;1k"1X":s=-1!=o.26.1i("%")?"1r%"===o.26?bd.1c.1g-r.26-n.5i:(1-1l(o.26)/1r)*bd.1c.1g+r.4G/2-n.5i:bd.1c.1g-r.26-n.5i;
18491B;1k"1f":s=r.4F;1B;1k"-1f":s=-r.4F;1B;1k"1g":s=r.4G;1B;1k"-1g":s=-r.4G;1B;5V:s=-1!==t.1i("%")?r["dB"+i]/1r*1l(t):-1!==t.1i("hR")?1l(t.1H("hR")[0])/1r*bd.1c.1f:-1!==t.1i("p6")?1l(t.1H("lw")[0])/1r*bd.1c.1g:-1!==t.1i("lw")?r.4F/1r*1l(t.1H("lw")[0]):-1!==t.1i("lh")?r.4G/1r*1l(t.1H("lj")[0]):1l(t)*bd.1E.1F}1M s},2k:19(){"95"==bd.o.66&&bd.1w.2k.1X.4E.1E()},4h:19(){bd.1w.4h.5K&&bd.1w.4h.5K(),bd.1w.4h.$1v&&bd.1w.4h.1E()},3c:19(){bd.3c.$1v&&bd.3c.1E()},2h:19(){if(0<bd.1w.2h.2K.$5q.1u)2i(1d e=0,t=bd.1w.2h.2K.$5q.1u;e<t;e++)bd.1w.2h.2K.al[e]=bd.1w.2h.2K.$5q[e].1f(),bd.1w.2h.2K.ea[e]=bd.1w.2h.2K.$1v[e].1f()}},bd.1b={4i:!0,3m:19(){if(!2y.3H.7S(B))1M!1;bd.1n.2a.hS=bd.1n.2a.2D,"95"==bd.o.66&&(bd.1w.2k.1X.4E.6S(),"c5"in 1o||bd.1w.2k.1X.4E.2a()),18.1j.1I.hT(),18.29.1m()},29:{$1L:ba(),1m:19(){1d e,t;if(bd.1K.2W(bd.1c,{7Y:!0}),bd.1b.1j.1D.3s(),bd.1c.$5S.3V(\'.ls-1D[1a-ls-1D="3g"]\').2Z(19(){ba(18).1A(".ls-2R").1a(bd.1p.1m.1S).2X.8B===bd.1h.2z.1O&&ba(18).1J("1a-ls-1D","p7")}),bd.1b.3k=bd.1h.2z,bd.1b.2g=bd.1h.1R,bd.1b.3E=4a 2n.6X({4f:!0,4n:19(){bd.1b.29.4n()}}),bd.1b.4i){if(2l 0!==bd.1b.2g.1a.$2f){1d i=bd.1b.2g.1a.$2f.1a(bd.1p.1m.1S),s=i.2q.67?i.2q.3F.2Q:1,a=i.2q.67?i.2q.3F.2b:0,o=bd.1b.2g.1t.3F||"3j";bd.1b.3E.21(bd.1b.2g.1a.$2f[0],{"-5s-1t":o,1t:o},0),bd.1b.3E.41(bd.1b.2g.1a.$2f.3K(".ls-bg-5h")[0],bd.o.aP,{2j:!1,1e:{2Q:s,2b:a,2V:0,3i:"5f"}},{2j:!1,1e:{2V:1}},0)}18.3m(!0)}2H"7E"==2A es&&"7E"==2A bq||2l 0===bd.1b.3k.1a.$2f&&2l 0===bd.1b.2g.1a.$2f&&"4Q"==bd.1b.3k.1a.30&&"4Q"==bd.1b.2g.1a.30?18.3m(!0):("x"===bd.o.aO?bd.1n.$ax.24("ls-hU-4K"):"y"===bd.o.aO?bd.1n.$ax.24("ls-hV-4K"):!0===bd.o.aO&&bd.1n.$ax.24("ls-4R-4K"),2l 0!==bd.1b.3k.1a.$2f&&(e=bd.1b.3k.1a.$2f.3K(".ls-bg-5h")[0].hW,(t=bd.1b.3k.1a.$2f.1a(bd.1p.1m.1S)).1Z.1t=bd.1b.3k.1a.$2f[0].1U.1t,t.1Z.88=2l 0!==e?" 3S("+e.2b+"89)":" 3S(p8)",t.1Z.8a=2l 0!==e?" 2Q("+e.4l+")":" 2Q(1)"),bd.1b.29.$1L=ba("<1y>").24("ls-29-22-1L").1e({1f:bd.1c.1f,1g:bd.1c.1g}),18.ci.hX())},ci:{hX:19(){bd.1b.29.4P.ci.hY()}},3m:19(e){1d t,i=!(!bd.1h.2z.1O||!bd.1h.2z.1a.$2s.1u),s=!(!bd.1h.1R.1O||!bd.1h.1R.1a.$2s.1u);if(!bd.1C.8U&&bd.2u.48("hZ")&&P.4g("hZ",bd.2u.4w()),!e&&(2l 0!==bd.1b.2g.1a.d9&&bd.1b.3E.1P(bd.1b.2g.1a.d9),.25<bd.1b.1j.1s.6Y)){1d a=bd.1b.3E.1P()/(.75+bd.1b.1j.1s.6Y);a=a<.5?.5:a,bd.1b.3E.1P(a)}1d o,r=bd.1b.3E.1P()/bd.1b.3E.5r(),n=r,l=bd.1b.2g.1a.9A;0<l?l=0:l<0&&1x.3M(l)>r&&(l=-r),bd.1b.2g.1a.bm=l,o=bd.1b.4i?bd.o.aP+.p9:(n+l)*bd.1b.3E.5r(),(i||s)&&bd.1b.1T.i0(bd.1b.4i,i&&s),bd.1b.3E.i1(19(){!bd.1C.8U&&bd.2u.48("i2")&&P.4g("i2",bd.2u.4w()),bd.1C.4T.6S||bd.1b.1j.1s.i3(),bd.1T.1V(!0),bd.1h.21.gD(),bd.o.fU&&(2y.9W.dy=bd.1h[bd.1h.2z.1O].1a.4x||"pa-4x-pb"),bd.1C.3m(),!bd.1b.4i&&bd.1h.2C.1O&&bd.1h.2C.1a.$2s.1u&&!bd.1h.2C.1a.$2s.1a(bd.1p.1m.1S).2N.et&&(bd.1h.2C.1a.$2s.5p("ac"),bd.1h.2C.1a.$2s.1a(bd.1p.1m.1S).20.$8M.1e({3i:"3j"})),bd.1C.4T.6S||bd.1h.1R.1a.$2s.1u&&!bd.1h.1R.1a.$2s.1a(bd.1p.1m.1S).2N.eu&&(bd.1h.1R.1a.$2s.5p("dU"),bd.1h.1R.1a.$2s.1a(bd.1p.1m.1S).2N.eu=!0),bd.1b.4i=!1},[],18,o),bd.1b.3E.2U(),2l 0!==bd.1b.3k.1a&&2l 0!==bd.1b.3k.1a.$2f&&(t=bd.1b.3k.1a.$2f.1a(bd.1p.1m.1S),bd.2J.i4=5l(19(){2m bd.2J.i4,bd.1b.3k.1a.$2f.3K(".ls-bg-5h").3Y(),t.2q.67&&2n.3a.21(bd.1b.3k.1a.$2f[0],{2j:!1,1e:t.2q.3F})},5))},4n:19(){1d e;2l 0!==bd.1b.2g.1a.$2f&&bd.1b.2g.1a.$2f.3K(".ls-bg-5h").5K(),"4Q"!==bd.1b.2g.1a.30?bd.1c.$5H.1e("2f-3R",bd.1b.2g.1a.30):bd.1c.$5H.1e("2f-3R",bd.o.8o),bd.o.pc||bd.1n.$ax.3N("ls-hU-4K ls-hV-4K ls-4R-4K"),18.$1L&&(18.$1L.5I("").5U(),18.$1L=!1),bd.1w.2k.1X.c3.21.3g(),0<bd.o.5y&&(bd.1C.61("dM")?bd.1C.5y.6U(bd.1b.2g.1O)&&(bd.2k.1V(),bd.1K.2W(bd.1C,{a2:!0}),bd.o.cV&&(bd.1C.bJ=1)):bd.1C.5y.21()),bd.1K.2W(bd.1c,{7Y:!1,8L:!1}),!bd.1C.8U&&bd.2u.48("i5")&&P.4g("i5",bd.2u.4w()),(bd.1C.8U=!1)!==bd.1C.4T.6S&&bd.2k.cb?(2l 0!==bd.1b.3k.1a&&2l 0!==bd.1b.3k.1a.$2f&&(e=bd.1b.3k.1a.$2f.1a(bd.1p.1m.1S),bd.1b.3k.1a.$2f.3K(".ls-bg-5h").3Y(),e.2q.67&&2n.3a.21(bd.1b.3k.1a.$2f[0],{2j:!1,1e:e.2q.3F})),bd.1C.6D(bd.1C.2P.9V(bd.2k.cb),!0)):bd.7Z.dN(bd.1h.1R.1O)},4P:{ci:{hY:19(){if(bd.o.ev)bd.1b.29.4P.ew(bd.o.ev.1Y,bd.o.ev.pd);2H{1d e,t,i=!!bd.1b.2g.1a.79&&bd.1b.2g.1a.79.cN().1H(",");bd.1n.ap&&bd.o.d7?(bd.1n.ap=!1,18.22("2d","1")):bd.1n.ao&&bd.o.d7?(bd.1n.ao=!1,18.22("2d","1")):bd.1h.1R.1a.$2f||i&&(!i||-1!=i.1i("1")||-1!=i.1i("2")||-1!=i.1i("3")||-1!=i.1i("4"))?bd.6E.i6()&&(bd.1b.2g.1a.7J||bd.1b.2g.1a.7b)?bd.1b.2g.1a.7J&&bd.1b.2g.1a.7b?(e=1x.3D(2*1x.2F()),t=[["3d",bd.1b.2g.1a.7J],["i7",bd.1b.2g.1a.7b]],18.22(t[e][0],t[e][1])):bd.1b.2g.1a.7J?18.22("3d",bd.1b.2g.1a.7J):18.22("i7",bd.1b.2g.1a.7b):bd.1b.2g.1a.79&&bd.1b.2g.1a.7a?(e=1x.3D(2*1x.2F()),t=[["2d",bd.1b.2g.1a.79],["i8",bd.1b.2g.1a.7a]],18.22(t[e][0],t[e][1])):bd.1b.2g.1a.79?18.22("2d",bd.1b.2g.1a.79):bd.1b.2g.1a.7a?18.22("i8",bd.1b.2g.1a.7a):18.22("2d","1"):18.22("2d","5")}},22:19(e,t){t+="";1d i,s=-1==e.1i("pe")?bd.t:bd.ct,a="3d";if(-1!=e.1i("2d")&&(a="2d"),-1!=t.1i("dA"))i=s["t"+a].1u-1,0;2H if(-1!=t.1i("5E"))i=1x.3D(1x.2F()*bd.1K.i9(s["t"+a])),0;2H{1d o=t.1H(","),r=o.1u;i=1l(o[1x.3D(1x.2F()*r)])-1,0}2l 0===s["t"+a][i]&&(s=bd.t,e=a="2d",i=0),bd.1b.29.4P.ew(a,s["t"+a][i])}},ew:19(e,t){1d i,s,a,o,r=ba.54(!0,{6Z:1,70:1},t),n=2A r.6Z,l=2A r.70,d=[],u=bd.2k.2D,c=0,p=0,h=!!bd.1b.3k.1a.$2f&&bd.1K.bo(bd.1b.3k.1a.$2f),m=!!bd.1b.2g.1a.$2f&&bd.1K.bo(bd.1b.2g.1a.$2f),f=bd.o.51&&"9d"===bd.1n.2a.2D?"2L":"3F";2O(n){1k"53":n=r.6Z;1B;1k"4Z":n=1x.3D(1x.2F()*(1l(r.6Z.1H(",")[1])-1l(r.6Z.1H(",")[0])+1))+1l(r.6Z.1H(",")[0]);1B;5V:n=1x.3D(1x.2F()*(r.6Z[1]-r.6Z[0]+1))+r.6Z[0]}2O(l){1k"53":l=r.70;1B;1k"4Z":l=1x.3D(1x.2F()*(1l(r.70.1H(",")[1])-1l(r.70.1H(",")[0])+1))+1l(r.70.1H(",")[0]);1B;5V:l=1x.3D(1x.2F()*(r.70[1]-r.70[0]+1))+r.70[0]}if(bd.1n.6j&&bd.o.fR?(15<=n?n=7:5<=n?n=4:4<=n?n=3:2<n&&(n=2),15<=l?l=7:5<=l?l=4:4<=l?l=3:2<l&&(l=2),2<l&&2<n&&(l=2,4<n&&(n=4))):(n=35<n?35:n,l=35<l?35:l),i=1x.3D(bd.1c.1f/n),s=1x.3D(bd.1c.1g/l),a=bd.1c.1f-i*n,o=bd.1c.1g-s*l,"2C"==u){r.6o&&r.6o.3L&&(r.6o.3L={2F:"2F",8b:"3n",3n:"8b","9e-8b":"9e-3n","9e-3n":"9e-8b"}[r.6o.3L]),ba.2Z(["4v","71","6p"],19(e,t){if(r[t]&&r[t].22){1d i=r[t].22;i.5J&&44<1x.3M(i.5J)&&(i.5J*=-1),i.62&&44<1x.3M(i.62)&&(i.62*=-1),i.3S&&(i.3S*=-1)}})}2i(1d g=0;g<n*l;g++)d.55(g);2O(r.6o.3L){1k"3n":d.3n();1B;1k"9e-8b":d=bd.1K.ex(l,n,"8b");1B;1k"9e-3n":d=bd.1K.ex(l,n,"3n");1B;1k"2F":d=bd.1K.dK(d)}if("4Q"===bd.1b.3k.1a.30&&(bd.1b.3k.1a.30=bd.o.8o),"4Q"===bd.1b.2g.1a.30&&(bd.1b.2g.1a.30=bd.o.8o),"2d"==e){1d v=-1!=r.cj.4C().1i("pf"),y=-1!=r.cj.4C().1i("pg");18.$7z=ba("<1y>").24("ls-ph").2e(bd.1b.29.$1L),18.$ey=ba("<1y>").24("ls-pi").2e(bd.1b.29.$1L)}2i(1d S=0;S<n*l;S++){1d w,b,x,T,C,k,L,O=(S+1)%n==0?a:0,I=(l-1)*n-1<S?o:0,$=ba("<1y>").24("ls-29-22-6o").1e({1f:i+O,1g:s+I}).1a("1U",{1f:i+O,1g:s+I}).2e(bd.1b.29.$1L);d[S];if(c=S%n==0?c+1:c,p=S%n==0?1:p+1,"3d"==e){$.24("ls-3d-4M");1d B,P,W,3q,F,z,M,D=i+O,R=s+I,N=4a 2n.6X;M=1x.3M(1x.3M(p-n/2-.5)-n/2-.5)*1x.3M(1x.3M(c-l/2-.5)-l/2-.5),$.1e({7i:M}),P=D/2,W=R/2,3q=(B="ia"==r.4v.2D?90<1x.3M(r.4v.22.62)&&"ib"!=r.6o.ic?1x.3D(D/7)+O:D:90<1x.3M(r.4v.22.5J)&&"ib"!=r.6o.ic?1x.3D(R/7)+I:R)/2,18.72("ls-3d-73",$,0,0,0,0,-3q,0,0,P+"px "+W+"px ie"),18.72("ls-3d-ig",$.1A(".ls-3d-73"),D,R,
18490,0,3q,0,0),"pj"==r.4v.2D&&90<1x.3M(r.4v.22.5J)?18.72("ls-3d-ck",$.1A(".ls-3d-73"),D,R,0,0,-3q,cl,0):18.72("ls-3d-ck",$.1A(".ls-3d-73"),D,R,0,0,-3q,0,cl),18.72("ls-3d-1N",$.1A(".ls-3d-73"),B,R,-3q,0,0,0,-90),18.72("ls-3d-3O",$.1A(".ls-3d-73"),B,R,D-3q,0,0,0,90),18.72("ls-3d-26",$.1A(".ls-3d-73"),D,B,0,-3q,0,90,0),18.72("ls-3d-1X",$.1A(".ls-3d-73"),D,B,0,R-3q,0,-90,0),w=$.1A(".ls-3d-ig"),b="ia"==r.4v.2D?90<1x.3M(r.4v.22.62)?$.1A(".ls-3d-ck"):0<r.4v.22.62?$.1A(".ls-3d-1N"):$.1A(".ls-3d-3O"):90<1x.3M(r.4v.22.5J)?$.1A(".ls-3d-ck"):0<r.4v.22.5J?$.1A(".ls-3d-1X"):$.1A(".ls-3d-26"),F=d[S]*r.6o.43,z=bd.1b.29.$1L.1A(".ls-3d-4M:eq( "+S+" ) .ls-3d-73"),r.71&&r.71.22?(r.71.22.43=r.71.22.43?(r.71.22.43+F)/3y:F/3y,N.2L(z[0],r.71.1P/3y,bd.1K.2T.22(r.71.22,r.71.4H))):r.4v.22.43=r.4v.22.43?(r.4v.22.43+F)/3y:F/3y,N.2L(z[0],r.4v.1P/3y,bd.1K.2T.22(r.4v.22,r.4v.4H)),r.6p&&(r.6p.22||(r.6p.22={}),N.2L(z[0],r.6p.1P/3y,bd.1K.2T.22(r.6p.22,r.6p.4H,"6p"))),bd.1b.3E.2I(N,0)}2H{1d V,E,H,A,X,Y,K,q,j="2E",U="2E",G="2E",Q="2E",Z=1,J=1,ee={};2O(E="2F"==r.22.2D?(V=["26","1X","3O","1N"])[1x.3D(1x.2F()*V.1u)]:r.22.2D,-1!=r.cj.4C().1i("ih")&&S%2==0&&(u="2C"==u?"1R":"2C"),"2C"==u&&(E={26:"1X",1X:"26",1N:"3O",3O:"1N",ez:"eA",eB:"eC",eC:"eB",eA:"ez"}[E]),E){1k"26":j=G=-$.1a("1U").1g,U=Q=0;1B;1k"1X":j=G=$.1a("1U").1g,U=Q=0;1B;1k"1N":j=G=0,U=Q=-$.1a("1U").1f;1B;1k"3O":j=G=0,U=Q=$.1a("1U").1f;1B;1k"ez":j=$.1a("1U").1g,G=0,U=$.1a("1U").1f,Q=0;1B;1k"eB":j=$.1a("1U").1g,G=0,U=-$.1a("1U").1f,Q=0;1B;1k"eC":j=-$.1a("1U").1g,G=0,U=$.1a("1U").1f,Q=0;1B;1k"eA":j=-$.1a("1U").1g,G=0,U=-$.1a("1U").1f,Q=0}2O(18.9f=r.22.2Q?r.22.2Q:1,1==v&&1!=18.9f&&(j/=2,G/=2,U/=2,Q/=2),r.22.1Y){1k"gT":j=G=U=Q=0,Z=0,J=1;1B;1k"pk":Z=0,(J=1)==18.9f&&(G=Q=0)}if((r.22.3S||r.22.5J||r.22.62||1!=18.9f)&&"29"!=r.22.1Y?$.1e({4R:"4D"}):$.1e({4R:"4K"}),1==v?18.$7z.1e({4R:"4D"}):18.$7z.1e({4R:"4K"}),!0===y||"29"==r.22.1Y||!0===v?(H=$.2e(18.$7z),A=$.c2().2e(18.$ey),w=ba("<1y>").24("ls-ii").2e(H)):A=$.2e(18.$ey),b=ba("<1y>").24("ls-ij").2e(A),X=d[S]*r.6o.43/3y,Y=r.22.3S?r.22.3S:0,K=r.22.5J?r.22.5J:0,q=r.22.62?r.22.62:0,"2C"==u&&(Y=-Y,K=-K,q=-q),bd.1b.3E.41(b[0],r.22.1P/3y,{4B:!1,2j:!1,1e:{x:-U,y:-j,3i:"5f",2V:Z,2b:Y,3v:K,3w:q,2Q:18.9f}},{2j:!1,1e:{x:0,y:0,2V:J,2b:0,3v:0,3w:0,2Q:1},2p:bd.1K.2T.4H(r.22.4H)},X),1==y&&(2l 0===bd.1b.2g.1a.$2f||2l 0!==bd.1b.2g.1a.$2f&&(-1!=bd.1b.2g.1a.$2f.1J("28").4C().1i("bp")||bd.1b.2g.1a.$2f.1f()<bd.1c.1f||bd.1b.2g.1a.$2f.1g()<bd.1c.1g))&&(ee.2V=0),("29"==r.22.1Y||1==v)&&-1==r.cj.4C().1i("ih")){1d be=0;0!==Y&&(be=-Y),ee.x=Q,ee.y=G,ee.2b=be,ee.2Q=18.9f,ee.2V=Z}2l 0!==w&&bd.1b.3E.2L(w[0],r.22.1P/3y,{2j:!1,1e:ee,2p:bd.1K.2T.4H(r.22.4H)},X)}x=S%n*i,T=1x.3D(S/n)*s,2l 0!==bd.1b.3k.1a.$2f&&(C=bd.1b.3k.1a.$2f.1a(bd.1p.1m.1S),"3d"===e||"2d"===e&&(!0===y||"29"===r.22.1Y||!0===v)?w.8J(ba("<3x>").1J("28",h).1e({1f:C.1Z.1f,1g:C.1Z.1g,"-5s-1t":C.1Z.1t,1t:C.1Z.1t,"-ms-3B":"4W("+(C.1Z.x-x)+"px) 4X("+(C.1Z.y-T)+"px)"+C.1Z.88+C.1Z.8a,"-5s-3B":"4W("+(C.1Z.x-x)+"px) 4X("+(C.1Z.y-T)+"px)"+C.1Z.88+C.1Z.8a,3B:"4W("+(C.1Z.x-x)+"px) 4X("+(C.1Z.y-T)+"px)"+C.1Z.88+C.1Z.8a})):0===18.$7z.3V().1u&&18.$7z.1e("2f-3R",bd.1b.3k.1a.30).8J(ba("<3x>").1J("28",h).1e({1f:C.1Z.1f,1g:C.1Z.1g,"-5s-1t":C.1Z.1t,1t:C.1Z.1t,"-ms-3B":"4W("+C.1Z.x+"px) 4X("+C.1Z.y+"px)"+C.1Z.88+C.1Z.8a,"-5s-3B":"4W("+C.1Z.x+"px) 4X("+C.1Z.y+"px)"+C.1Z.88+C.1Z.8a,3B:"4W("+C.1Z.x+"px) 4X("+C.1Z.y+"px)"+C.1Z.88+C.1Z.8a}))),"4Q"===bd.1b.3k.1a.30||bd.1b.3k.1a.$2s.1u||("3d"===e||"2d"===e&&(!0===y||"29"===r.22.1Y||!0===v)?w.1e("2f-3R",bd.1b.3k.1a.30):0===18.$7z.3V().1u&&18.$7z.1e("2f-3R",bd.1b.3k.1a.30)),2l 0!==bd.1b.2g.1a.$2f&&(L=(k=bd.1b.2g.1a.$2f.1a(bd.1p.1m.1S)).2q[f],b.8J(ba("<3x>").1J("28",m).1e({1f:k.1Z.1f,1g:k.1Z.1g,"-5s-1t":bd.1b.2g.1t.3F||"3j",1t:bd.1b.2g.1t.3F||"3j","-ms-3B":"4W("+(k.1Z.x-x)+"px) 4X("+(k.1Z.y-T)+"px) 3S("+L.2b+"89) 2Q("+L.2Q+")","-5s-3B":"4W("+(k.1Z.x-x)+"px) 4X("+(k.1Z.y-T)+"px) 3S("+L.2b+"89) 2Q("+L.2Q+")",3B:"4W("+(k.1Z.x-x)+"px) 4X("+(k.1Z.y-T)+"px) 3S("+L.2b+"89) 2Q("+L.2Q+")"}))),"4Q"===bd.1b.2g.1a.30||bd.1b.2g.1a.$2s.1u||b.1e("2f-3R",bd.1b.2g.1a.30)}bd.1b.29.$1L.9r(bd.o.fz?bd.1c.$5S:bd.1c.$5H),bd.1b.29.3m()},72:19(e,t,i,s,a,o,r,n,l,d){1d u="pl( "+a+"px, "+o+"px, "+r+"px)";0!==n&&(u+="5J( "+n+"89)"),0!==l&&(u+="62( "+l+"89)");1d c={1f:i,1g:s,3B:u,"-ms-3B":u,"-5s-3B":u};d&&(c["3B-eD"]=d,c["-ms-3B-eD"]=d,c["-5s-3B-eD"]=d),ba("<1y>").24(e).1e(c).2e(t)}}},1j:{in:{7R:19(e){e.1a(bd.1p.1m.1S).1q.1Q&&bd.1b.1j.1q.8c(e)},4n:19(e){bd.1T.e0(e)}},1I:{hT:19(){if(bd.1b.5c){if(bd.1b.1G){1d a,o,r=4a 2n.6X({4f:!0,ik:!0}),n=[],e=bd.1j.2P("2z, in, 3u, 3g").2I(bd.1j.2P("2z, 1I, 3u, 3g")),t=bd.1j.2P("2z, 1I, bD, 3g"),i=bd.1j.2P("2z, 1I, 3g"),s=ba().2I(e).2I(t);s.2Z(19(){1d e,t=ba(18).1a(bd.1p.1m.1S);if(t.1z.3I&&(bd.1b.1G.5U(t.1z.3I),t.1z.3I.2U()),t.is.3u){a=[t.20.$1L[0]],t.20.$8N&&(a=a.eE(t.20.$8N[0])),t.23.5t&&(a=a.eE(t.23.5t));2i(1d i=0;i<a.1u;i++)n=n.eE(bd.1b.1G.pm(a[i],!0));2i(1d s=0;s<n.1u;s++)n[s].1P&&0!==n[s].1P()&&(o=n[s],e=o,r.2I(e,1r-e.1P()*e.3t()))}}),i.2Z(19(){ba(18).1a(bd.1p.1m.1S).4T.3s=!0}),r.2U().pn(1r),bd.1b.1G.1V().74()}bd.1b.5c.2U()}bd.1c.$5S.1A(".ls-4U").1e({3i:"3j"})},7R:19(e){},4n:19(e){1d t=e.1a(bd.1p.1m.1S);!bd.1c.2t.8L&&t.2X.8B===bd.1h.2z.1O||bd.1b.1j.3s(e,t),t.1q.1Q&&bd.1b.1j.1q.ay(e)}},3s:19(e,t){t.1z.3I&&(t.1z.3I.1V().74(),2m t.1z.3I,2n.3a.21(t.20.$7j[0],t.3s.dj)),2n.3a.21(t.20.$1L[0],t.3s.di),2n.3a.21(e[0],{"-5s-1t":"3j",1t:"3j"}),t.4T.8S&&(t.3G.2F={},t.3r.2F={},bd.1j.8S.1a(e)),t.4T.3s=!1},1s:{6n:!1,5Z:19(e){1d t,i,s,a,o=e?"2z":"1R";
1849bd.1b.9g=o,bd.1b.1j.1s.6n=!1,bd.1b.1j.1s.il(),bd.1b.1G&&(bd.1b.1G.5m().3t(0).5Y().74(!0),bd.1b.1G=2x),bd.1b.1G=4a 2n.6X({4f:!0,7R:19(){bd.2u.48("im")&&P.4g("im",bd.2u.4w())},4n:19(){bd.o.51&&bd.o.cT&&("1R"===bd.1C.2D?bd.1b.1j.1s.eF(!0):bd.1b.1j.1s.cm(!0,!0))},cn:19(){bd.2u.48("io")&&P.4g("io",bd.2u.4w()),bd.1b.1j.1s.ip&&(bd.1b.1j.1s.6n=!1,bd.1b.1G.2U()),bd.o.51&&bd.o.cT&&bd.1b.1j.1s.cm(!0,!1)},7A:19(e){bd.2u.48("iq")&&P.4g("iq",e)},7B:["{5F}"]}),18.4s=0,18.3t=1,bd.1b.5c=4a 2n.6X({4f:!0,ik:!0}),t=bd.1j.2P(o+", in, a0"),i=bd.1j.2P(o+", 1I, bD").2I(bd.1j.2P(o+", 1I, 3g, 3u")),s=bd.1j.2P(o+", in, bC, a0"),a=ba().2I(t).2I(i).2I(s),18.co(t,"in",bd.1b.1G,bd.1b.5c),18.co(i,"1I",bd.1b.1G,bd.1b.5c),-1!==bd.1h[o].1a.1P&&bd.1h[o].1a.1P<18.4s?18.3t=bd.1h[o].1a.1P/18.4s:bd.1b.1G.1P()>18.4s&&(18.3t=18.4s/bd.1b.1G.1P()),-1===bd.1h[o].1a.1P?(bd.1h[o].1a.1P=18.4s,bd.1h[bd.1h[o].1O].1a.1P=18.4s):18.4s=bd.1h[o].1a.1P,18.co(s,"in",bd.1b.1G,bd.1b.5c);2i(1d r=0;r<a.1u;r++)ba(a[r]).1a(bd.1p.1m.1S).1D.1Q&&ba(a[r]).1a(bd.1p.1m.1S).20.$7U.1J("1a-ls-1D","3g");if(bd.1b.1j.1D.5p(),bd.2u.48("ir")&&P.4g("ir",{po:bd.1b.1G,pp:a,pq:18.4s}),bd.1b.2h.5Z(),bd.1b.2h.4u.2Y&&bd.1b.1G.2I(bd.1b.2h.4u.2Y.2U(),0),bd.1b.2h.3Z.2Y&&bd.1b.1G.2I(bd.1b.2h.3Z.2Y.2U(),0),bd.1b.2h.2K.2Y&&bd.
18491b.1G.2I(bd.1b.2h.2K.2Y.2U(),0),bd.1b.1G.i1(19(){if(!bd.1b.1G.it()){if(bd.2u.48("iu")&&!1===P.4g("iu",bd.2u.4w()))1M;bd.1K.2W(bd.1b.1j.1s,{7r:!0}),!bd.1C.5b()&&bd.1C.2t.6R?bd.1C.6D(bd.1h.1R.1O):bd.1C.2t.a2&&bd.1b.2h.3n()}},[],18,bd.1h[o].1a.1P),bd.1h.1R.1a.$4U&&bd.1h.1R.1a.$4U.1e({3i:"5f"}),(!bd.o.9s||"az"!==bd.1c.5d&&!bd.o.fB)&&bd.o.9s||!(bd.1c.9a&&bd.1c.2t.ef&&bd.1c.2t.pr)&&bd.1c.9a||(bd.o.9t&&bd.1C.5b()&&bd.1b.1G.5r(0),bd.1b.1j.1s.2U(),bd.o.51&&"9d"===bd.1n.2a.hS&&bd.1b.1G.3t(1)),P.5p("5n.5N"+W),P.7t("5X.5N"+W+" 5n.5N"+W+" 7u.5N"+W),bd.1h[o].1a.5N){1d n=bd.1j.2P(o+",in,a0").2I(bd.1j.2P("3u,3g"));P.on("5X.5N"+W,19(){n.2Z(19(){bd.1b.1j.1q.cp(ba(18),ba(18).1a(bd.1p.1m.1S))})}),P.on("5n.5N"+W,19(){n.2Z(19(){bd.1b.1j.1q.eG(ba(18),ba(18).1a(bd.1p.1m.1S))})}),P.on("7u.5N"+W,19(){n.2Z(19(){bd.1b.1j.1q.aA(ba(18),ba(18).1a(bd.1p.1m.1S))})})}},i3:19(){bd.1h.1R.1a.4R&&"4K"!==bd.1h.1R.1a.4R?(bd.1c.$5S.24("ls-4D"),bd.1c.$bF.24("ls-4D")):(bd.1c.$5S.3N("ls-4D"),bd.1c.$bF.3N("ls-4D")),18.5Z()},7Q:19(e,t,i,s){if("53"==2A t)1M t;t=t.4C();1d a,o,r,n,l,d=bd.1p.2R.gd,u=0;if(-1!==t.1i("*")&&(l="*"),-1!==t.1i("/")&&(l="/"),-1!==t.1i("+")&&(l="+"),-1!==t.1i("-")&&(l="-"),l)if(n=t.1H(l),a=ba.3U(n[0]),r=1l(ba.3U(n[1])),d[a]&&-1!==d[i][1].1i(d[a][0]))if(o="53"==2A e.1s[a]?e.1s[a]:e.1s[a](e),s)u=r/3y;2H 2O(l){1k"*":u=o*r;1B;1k"/":u=o/r;1B;1k"+":u=o+r/3y;1B;1k"-":u=o-r/3y}2H"+"!==l&&!s||(u=r/3y);2H d[a=ba.3U(t)]&&-1!==d[i][1].1i(d[a][0])&&(u=s?0:"53"==2A e.1s[a]?e.1s[a]:e.1s[a](e));1M(u!=u||u<0)&&(u=0),u},co:19(e,t,i,s){2i(1d a=0,o=e.1u;a<o;a++){1d r,n=ba(e[a]),l=n.1a(bd.1p.1m.1S),d=l.20.$1L,u=l.20.$8N,c=l.20.$7j;if(l.4T.3s&&bd.1b.1j.3s(n,l),n.4o("ls-bg"))l.2q.67&&i.41(n.3K(".ls-bg-5h"),bd.1b.2g.1a.1P+bd.1b.2g.1a.bm,{2j:!1,1e:l.2q.3F},{2j:!1,1e:l.2q.2L,2p:2n.ps.bs},-bd.1b.2g.1a.bm),ba.4I(l.1t.3f.bb)&&ba.4I(l.1t.3f.bc)||(l.1t.1b.bg||(l.1t.1b.bg=bd.1b.1j.4J.63(l,"bg",l.1t.3f.bb,l.1t.3f.bc)),i.2L([{p:0},n[0]],bd.1b.2g.1a.1P,{p:1,2j:!1,2p:2n.pt.bs,7A:bd.1b.1j.4J.84,7B:["{5F}",l.1t.1b.bg]},0));2H 2O(t){1k"in":if(l.in.1Q&&(l.2X.7q||("53"!=2A l.in.2S&&(l.in.2S=0),l.1s.7e=l.in.2S,l.1s.6A=l.1s.7e+l.in.1P),bd.1E.87(n,l.4y,l.9D),bd.1E.9c(l.8s,l.5P),bd.1E.9c(l.bf,l.9Q),l.4y.2r=l.2r.2R*bd.1E.1F,l.2c.1Q&&(l.31.2c||(l.31.2c=l.2c.9N,l.31.5R=!0),l.9E.2c?(l.gv.2c=bd.1E.2c(n,l.9E.2c,!0),l.gw.2c=bd.1E.2c(n,l.31.2c,l.31.5R),i.41(u[0],l.in.1P,l.gu,l.dl,l.1s.7e)):2n.3a.21(u[0],{2c:bd.1E.2c(n,l.31.2c,l.31.5R)}),bd.1b.1j.1s.6n=!0),ba.4I(l.1t.3f.in)?ba.4I(l.1t.3f.1I)||n.1e("1t",l.31.1t):(l.1t.1b.in||(l.1t.1b.in=bd.1b.1j.4J.63(l,"in",l.1t.3f.in,l.1t.3f.1U)),i.2L([{p:0},n[0]],l.in.1P,{p:1,2j:!1,2p:l.9P.2p,7A:bd.1b.1j.4J.84,7B:["{5F}",l.1t.1b.in]},l.1s.7e)),i.41(d[0],l.in.1P,l.gs,l.9P,l.1s.7e),i.41(n[0],l.in.1P,l.gt,l.dk,l.1s.7e)),l.is.8A&&((l.23.1Y||l.2w.1Y)&&bd.1b.1j.7C.iv(n,l),l.23.1Q&&(l.in.1Q||i.2L(d[0],0,ba.54(!0,{},l.9P,l.1m.1L),l.1s.7f),l.23.5t=bd.1b.1j.7C.eH(l.23.1Y.1H("3q"),l.23.ns),bd.1E.87(n,l.3G,l.7N),l.3G.2r=l.2r.52*bd.1E.1F,ba.4I(l.7N.2F)||bd.1b.1j.7C.aB(l,l.7N.2F,l.3G),ba.4I(l.3G.2F)||bd.1b.1j.7C.aB(l,l.3G.2F,l.3G),2m l.3G.2F,l.2X.7q||(l.1s.7f=18.7Q(l,l.23.2S,"7f"),l.1s.8x=l.1s.7f+(l.23.5t.1u-1)*l.23.7c+l.23.1P),i.iw(l.23.5t,l.23.1P,l.3G,l.8t,l.23.7c,l.1s.7f,19(e){bd.1b.1j.in.4n(e)},[n]))),l.is.gc&&bd.o.51&&i.pu(l.1s.7g(),19(){5l(19(){2m bd.2J.2a,bd.1b.1j.1s.6Y=0,bd.1n.2a.9h=97},6e)}),l.1z.1Q){1d p=4a 2n.6X({5M:l.1z.5M,8v:l.1z.8v,8w:l.1z.8w,4f:!0});l.2X.7q&&!l.is.3u||(l.1s.6c=18.7Q(l,l.1z.2S,"6c"),l.1s.6B=-1!==l.1z.3o&&l.1s.6c+(l.1z.5M+1)*l.1z.1P+l.1z.5M*l.1z.8v),l.1z.3I=p,bd.1E.87(n,l.4d,{x:l.69.x,y:l.69.y}),(l.4d.x&&0!==l.4d.x||l.4d.y&&0!==l.4d.y)&&(bd.1b.1j.1s.6n=!0),l.dq.3e=bd.1K.2T.3e(l.69.3e,n),l.dq.2r=l.2r.1z*bd.1E.1F,ba.4I(l.1t.3f.1z)||(l.1t.1b.1z||(l.1t.1b.1z=bd.1b.1j.4J.63(l,"1z",ba.4I(l.1t.3f.8I)?l.1t.3f.1U:l.1t.3f.8I,l.1t.3f.1z)),p.2L([{p:0},n[0]],l.1z.1P,{p:1,2j:!1,2p:l.bl.2p,7A:bd.1b.1j.4J.84,7B:["{5F}",l.1t.1b.1z]},0)),p.41(c[0],l.1z.1P,l.gx,l.bl,0),l.9G.2c&&(l.gy.2c=bd.1E.2c(n,l.9G.2c,!0),p.2L(u[0],l.1z.1P,l.dr,0),bd.1b.1j.1s.6n=!0),-1!==l.1z.5M&&("pv"===bd.o.5x||bd.1w.2h.2K.$1v||bd.o.51)?(i.2I(p,l.1s.6c),p.2U()):i.pw(19(e){e.2U()},l.1s.6c,[p])}l.is.3u&&(l.1s.b3=l.1s.6A,l.1s.b4="1r%",l.2X.7q||(r=1x.3T(l.1s.9I(),0),18.4s=1x.3T(18.4s,r)));1B;1k"1I":l.is.8A&&l.2w.1Q&&(l.2w.5t=bd.1b.1j.7C.eH(l.2w.1Y.1H("3q"),l.2w.ns),bd.1E.87(n,l.3r,l.7O,l.bk),l.bk.2r=l.2r.52*bd.1E.1F,ba.4I(l.7O.2F)||bd.1b.1j.7C.aB(l,l.7O.2F,l.3r),ba.4I(l.3r.2F)||bd.1b.1j.7C.aB(l,l.3r.2F,l.3r),2m l.3r.2F,l.2X.7q||(l.1s.7P=18.7Q(l,l.2w.2S,"7P"),l.1s.8y=l.1s.7P+(l.2w.5t.1u-1)*l.2w.7c+l.2w.1P),l.2c.1Q&&(2l 0===l.7d.2c&&i.2L(u[0],0,{4B:!1,1e:{2c:bd.1E.2c(n,l.2c.3T)}},l.1s.7P),bd.1b.1j.1s.6n=!0),i.iw(l.2w.5t,l.2w.1P,l.bk,l.3r,l.2w.7c,l.1s.7P)),bd.1E.87(n,l.4c,l.9F,l.dn),bd.1E.9c(l.bh,l.9S),bd.1E.9c(l.8u,l.5Q),l.dn.2r=l.2r.2R*bd.1E.1F,"9M"!==l.1I.2S?(l.2X.7q&&!l.is.3u||(l.is.3u?(l.1s.b3=0,l.1s.5e=18.7Q(l,l.1I.2S,"5e",!0),l.1s.b4=l.1s.5e):l.1s.5e=1x.3T(18.7Q(l,l.1I.2S,"5e"),l.1s.6A),l.1s.8z=l.1s.5e+l.1I.1P),l.2c.1Q&&(2l 0===l.7d.2c?i.2L(u[0],0,{4B:!1,1e:{2c:bd.1E.2c(n,l.2c.3T)}},l.1s.5e):(l.dp.2c=bd.1E.2c(n,l.7d.2c,!0),i.2L(u[0],l.1I.1P,l.bj,l.1s.5e)),bd.1b.1j.1s.6n=!0),ba.4I(l.1t.3f.1I)||(l.1t.1b.1I||(l.1t.1b.1I=bd.1b.1j.4J.63(l,"1I",ba.4I(l.1t.3f.b9)?ba.4I(l.1t.3f.8I)?l.1t.3f.1U:l.1t.3f.8I:l.1t.3f.b9,l.1t.3f.1I)),i.2L([{p:0},n[0]],l.1I.1P,{p:1,2j:!1,2p:l.9R.2p,7A:bd.1b.1j.4J.84,7B:["{5F}",l.1t.1b.1I]},l.1s.5e)),i.41(d[0],l.1I.1P,l.dm,l.9R,l.1s.5e),i.41(n[0],l.1I.1P,l.do,l.bi,l.1s.5e),i.41(d[0],0,l.1m.1L,l.3s.gr,l.1s.8z)):(l.1s.b3=0,l.1s.b4="1r%"),(!l.is.3u||l.
1849is.3u&&l.2X.8B===bd.1h.1R.1O)&&(s.41(d[0],bd.o.78,l.dm,l.9R,0),s.41(n[0],bd.o.78,l.do,l.bi,0),l.2c.1Q&&2l 0!==l.7d.2c&&(l.dp.2c=bd.1E.2c(n,l.7d.2c,!0),s.2L(u[0],bd.o.78,l.bj,0))),r=1x.3T(l.1s.dg(),0),18.4s=1x.3T(18.4s,r),l.2X.7q=!0}}},2U:19(){bd.1b.1G&&(bd.1b.1G.2U(),bd.1K.2W(18,{ec:!0,6R:!0,a6:!1,4f:!1}))},5m:19(e){e=ba.7n(e)?e:.75;bd.1b.1G&&(2n.3a.2L(bd.1b.1G,e,{5r:0}),bd.1K.2W(18,{4f:!0,a6:!1}))},7W:19(){bd.1b.1G&&(2n.3a.2L(bd.1b.1G,.75,{5r:1}),bd.1K.2W(18,{4f:!1,a6:!1}))},3n:19(){bd.1b.1G&&bd.1b.1G.3n()},eF:19(e){if(e||(18.2U(),18.eI()),bd.1b.1G&&!bd.1c.7X()&&(0===bd.1b.1G.4s()||1===bd.1b.1G.3t())&&"9i"===bd.1n.2a.2D){bd.1C.2D="1R";1d t=bd.1C.3L.8W;t.1i(bd.1h.2z.1O)===t.1u-1?(bd.1c.5d="cq",bd.1n.2a.8c(),bd.1C.2D="2C"):bd.2k.1R()}},cm:19(e,t){e&&!t||(18.3n(),18.eI()),bd.1b.1G&&(bd.1c.7X()||0!==bd.1b.1G.4s()&&0!==bd.1b.1G.3t()||"9d"!==bd.1n.2a.2D||(bd.1C.2D="2C",0===bd.1C.3L.8W.1i(bd.1h.2z.1O)?(bd.1c.5d="eJ",bd.1n.2a.8c(),bd.1C.2D="1R"):bd.2k.2C()))},eI:19(){if(bd.1b.1G){2n.3a.2L(bd.1b.1G,.25,{5r:1+18.6Y})}},il:19(){18.2t={ec:!1,6R:!1,4f:!1,a6:!1,7r:!1}}},1q:{8c:19(e){e.1J("1a-ls-eK","1")},ay:19(e){e.1J("1a-ls-eK","0")},21:19(e,t){t.20.$1L.on("5X."+W,19(){bd.1b.1j.1q.cp(e,t)}),t.20.$1L.on("5n."+W,19(){bd.1b.1j.1q.eG(e,t)}),t.20.$1L.on("7u."+W,19(){bd.1b.1j.1q.aA(e,t)})},ix:19(e,t){if(t.1q.3I=4a 2n.6X({4f:!0,cn:19(e,t){t.1q.3I.py&&(t.1q.3I.1V().74(),2m t.1q.3I)},pz:[e,t]}),bd.1E.87(e,t.4e,t.4A,t.dt),bd.1E.9c(t.4e,t.4A),t.dt.2r=t.2r.1q*bd.1E.1F,t.1q.cr=2n.3a.41(e[0],t.1q.6z,t.ds,t.du),t.1q.3I.2I(t.1q.cr,0),e.1R().is(".ls-2R-4U")){1d i=e.1R(),s=ba.54(!0,{},t.ds,{1e:{2V:1,3R:"4Q",2f:"4Q",z:0}}),a=ba.54(!0,{},t.du,{1e:{2V:1,3R:"4Q",2f:"4Q",z:0}});t.1q.8d=2n.3a.41(i[0],t.1q.6z,s,a),t.1q.3I.2I(t.1q.8d,0)}2H t.1q.8d=2x;if(t.1q.dd){1d o={7i:9O};bd.6E.9Y&&(o.3B="h3(pA)"),t.1q.3I.2L(t.20.$7V[0],t.1q.6z,{2j:!1,1e:o},0)}t.1q.iy=t.1q.6z/t.1q.9H==1?1:t.1q.6z/t.1q.9H,18.eL(e,t)},cp:19(e,t){"1"===e.1J("1a-ls-eK")&&(e.1J("1a-ls-eM",1),t.20.$1L.7t("7u."+W),t.1q.3I?(t.1q.3I.2U().1V().3t(0),18.eL(e,t)):18.ix(e,t))},eG:19(e,t){t.1q.3I&&(t.1q.3I.1V().3t(1),18.iz(e,t)),e.7o("1a-ls-eM")},aA:19(e,t){e.1J("1a-ls-eM")||18.cp(e,t)},eL:19(e,t){t.1q.cr.cs({2p:t.1q.5B}),t.1q.8d&&t.1q.8d.cs({2p:t.1q.5B}),t.1q.3I.2U().5r(1)},iz:19(e,t){t.1q.cr.cs({2p:t.1q.6a}),t.1q.8d&&t.1q.8d.cs({2p:t.1q.6a}),t.1q.3I.3n().5r(t.1q.iy)}},1D:{cu:{1Y:"2d",6y:"3p",x:!0,y:!0,2b:10,7K:10,9B:1.5,aX:1.2,3e:"50% 50% 0",2r:6e},1p:{9w:5,eN:"7I",aC:40,7D:10},2t:{1Q:!1,c1:!1},3b:{3p:{$2d:ba(),$3d:ba()},2a:{$2d:ba(),$3d:ba()}},1m:19(){1d t=18;P.on("5X."+W,19(){(t.3b.3p.$2d.1u||t.3b.3p.$3d.1u)&&t.9j()}),P.on("7u."+W,19(e){(t.3b.3p.$2d.1u||t.3b.3p.$3d.1u)&&t.aA(e)}),P.on("5n."+W,19(){(t.3b.3p.$2d.1u||t.3b.3p.$3d.1u)&&t.3s()}),bd.1n.6j&&bd.1n.iA&&(ba(1o).on("pB."+W,19(){t.2t.c1&&t.iB(6y)}),ba(1o).on("eO."+W,19(){t.9j()})),ba(1o).on("2a.1D"+W+" 98.1D"+W,19(){(t.3b.2a.$2d.1u||t.3b.2a.$3d.1u)&&t.2a()}),t.1p.9w*=bd.o.fN?-1:1},gN:19(e,t,i,s){2O(18.2t.1Q||(bd.1K.2W(18,{1Q:!0}),18.1m()),ba.54(!0,t,18.cu,bd.1h[s].1D,i.1D),i.2r.1D?t.2r=i.2r.1D:i.2r.1D=t.2r,t.6y.49(/(3p|2a)/)||(t.6y="3p"),t.1Y.49(/(2d,3d)/)&&(t.1Y="2d"),t.da){1k"3j":t.x=!1,t.y=!1;1B;1k"x":t.y=!1;1B;1k"y":t.x=!1}18.3b[t.6y]["$"+t.1Y]=18.3b[t.6y]["$"+t.1Y].2I(e)},eP:19(){1d e=bd.1w.4h.$1v,t=bd.1h.2z&&bd.1h.2z.1D?bd.1h.2z.1O:bd.1h.1R.1O;if(bd.1h[t].1a.$2f&&bd.1h[t].1a.$2f.1a(bd.1p.1m.1S).1D.1Q&&bd.1h[t].1a.4R&&"4K"!==bd.1h[t].1a.4R){1d i,s="50% -"+.25*bd.1c.1g+"px 0",a=bd.1h[t].1a.$2f.1a(bd.1p.1m.1S).1D;i=2l 0!==a.2b?2*a.2b:2l 0!==bd.1h[t].1D.2b?2*bd.1h[t].1D.2b:2*18.cu.2b,e.1a(bd.1p.1m.1S,{1D:ba.54(!0,{},18.cu,bd.1h[t].1D,{6b:a.6b,3e:s,2b:i})}),e.1J("1a-ls-1D","3g"),2n.3a.21(e[0],{3e:s,2r:e.1a(bd.1p.1m.1S).1D.2r*bd.1E.1F}),"3d"===bd.1h[t].1D.1Y||"3d"===a.1Y?18.3b.3p.$3d=18.3b.3p.$3d.2I(e):18.3b.3p.$2d=18.3b.3p.$2d.2I(e)}18.cv=!0},iC:19(){1d e=bd.1w.4h.$1v;18.3b.3p.$2d=18.3b.3p.$2d.5j(e),18.3b.3p.$3d=18.3b.3p.$3d.5j(e),e.1J("1a-ls-1D","bI"),18.cv=!1},9j:19(){ba().2I(18.3b.3p.$2d).2I(18.3b.3p.$3d).2I(18.3b.2a.$2d).2I(18.3b.2a.$3d).2Z(19(){1d e=ba(18).1a(bd.1p.1m.1S).1D;2n.3a.21(ba(18)[0],{3e:bd.1K.2T.3e(e.3e,ba(18),bd.1c.$5S),2r:e.2r*bd.1E.1F})}),18.aD=!0},iB:19(e){if(18.aD){1d t,i,s=1o.pC;i=0===s?(t=5*-1l(e.eQ)*18.1p.7D*bd.1E.1F,5*(18.1p.aC-1l(e.eR))*18.1p.7D*bd.1E.1F):90===s?(t=5*-1l(e.eR)*18.1p.7D*bd.1E.1F,5*(1l(e.eQ)+18.1p.aC)*18.1p.7D*bd.1E.1F):(t=5*1l(e.eR)*18.1p.7D*bd.1E.1F,5*(18.1p.aC-1l(e.eQ))*18.1p.7D*bd.1E.1F),18.cw(t,i,"3p"),
184918.cx(t,i,"3p")}2H 18.9j();bd.1c.2t.7Y||18.cv||!bd.1w.4h.$1v||18.eP()},5p:19(){ba(1o).5p("2a.1D"+W),ba(1o).5p("98.1D"+W)},2a:19(){1d e=(("26"===18.1p.eN?bd.1n.64:bd.1n.64+(bd.1n.4V-bd.1c.1g)/2)-bd.1c.4p)*bd.1E.1F*18.1p.9w;bd.1c.2t.6T&&(e=0),18.aD||18.9j(),18.cw(0,e,"2a"),18.cx(0,e,"2a")},aA:19(e){if(18.aD){bd.1c.2t.7Y||18.cv||!bd.1w.4h.$1v||18.eP();1d t=bd.1c.aE+bd.1c.1f/2,i=bd.1c.4p+bd.1c.1g/2,s=e.c6-t,a=e.pD-i;18.cw(s,a,"3p"),18.cx(s,a,"3p")}2H 18.9j()},cw:19(a,o,e){18.3b[e].$2d.2Z(19(){1d e=ba(18);if("3g"===e.1J("1a-ls-1D")){1d t=e.1a(bd.1p.1m.1S).1D,i=t.x?-a*(t.7K/cy)*1l(t.6b):0,s=t.y?-o*(t.7K/cy)*1l(t.6b):0;2n.3a.2L(e[0],t.9B,{x:i,y:s})}})},cx:19(r,n,e){18.3b[e].$3d.2Z(19(){1d e=ba(18);if("3g"===e.1J("1a-ls-1D")){1d t,i,s,a,o=e.1a(bd.1p.1m.1S).1D;s=o.x?(i=-r/(iD/o.2b),-r*(o.7K/cy)*1l(o.6b)):i=0,a=o.y?(t=n/(iD/o.2b),-n*(o.7K/cy)*1l(o.6b)):t=0,2n.3a.2L(e[0],o.9B,{3v:t,3w:i,x:s,y:a})}})},3s:19(){ba().2I(18.3b.3p.$2d).2I(18.3b.3p.$3d).2Z(19(){1d e=ba(18);"3g"===e.1J("1a-ls-1D")?2n.3a.2L(e[0],ba(18).1a(bd.1p.1m.1S).1D.aX,{x:0,y:0,3v:0,3w:0}):2n.3a.21(e[0],{x:0,y:0,3v:0,3w:0})}),bd.1w.4h.$1v&&18.iC(),18.aD=!1}},4J:{63:19(e,t,i,s){1d a,o=4a bd.1p.2R.5C.1t,r={};2i(a in o)2O(t){1k"in":r[a]=[o[a],o[a]],r[a][0]=i.61(a)?i[a]:s.61(a)?s[a]:o[a],r[a][1]=s.61(a)?s[a]:o[a],e.1t.3f.8I[a]=r[a][1];1B;1k"1q":1k"1z":1k"1I":r[a]=[],r[a][0]=i.61(a)?i[a]:o[a],r[a][1]=s.61(a)?s[a]:i.61(a)&&i[a]!==o[a]?i[a]:o[a],"1z"===t&&!0!==e.1z.8w&&-1!==e.1z.3o&&(e.1t.3f.b9[a]=r[a][1]);1B;1k"bg":r[a]=[o[a],o[a]],i.61(a)&&(r[a][0]=i[a]),s.61(a)&&(r[a][1]=s[a])}1M r},2T:19(e){2i(1d t,i,s,a={},o=/(b0|gh|gj|gk|b1-3S|gl|gm|gn)/i,r=0,n=(e=e.1H(" ")).1u;r<n;r++)(t=(s=e[r].1H("("))[0]).49(o)&&(i=1l(s[1]),a[t]=i);1M a},84:19(e,t){1d i=1r*e.5g[0].p;if("5L"==2A t){1d s="";2i(1d a in t)if("5L"==2A t[a]&&2===t[a].1u)2O(a){1k"b0":s+=" b0( "+(t[a][0]<t[a][1]?t[a][0]+1x.3M(t[a][0]-t[a][1])/1r*i:t[a][0]-1x.3M(t[a][0]-t[a][1])/1r*i)+"px )";1B;1k"b1-3S":s+=" b1-3S( "+(t[a][0]<t[a][1]?t[a][0]+1x.3M(t[a][0]-t[a][1])/1r*i:t[a][0]-1x.3M(t[a][0]-t[a][1])/1r*i)+"89 )";1B;5V:s+=" "+a+"( "+(t[a][0]<t[a][1]?t[a][0]+1x.3M(t[a][0]-t[a][1])/1r*i:t[a][0]-1x.3M(t[a][0]-t[a][1])/1r*i)+"% )"}2n.3a.21(e.5g,{"-5s-1t":s,1t:s})}}},7C:{eH:19(e,t){1d i=t;if("pE"==e[1])i=t.eS(0).3n();2H if("pF"==e[1])i=t.eS(0).pG(19(){1M.5-1x.2F()});2H if("7I"==e[1]){1d s,a=1x.3D(t.1u/2);2i(i=[t[a]],s=1;s<=a;s++)i.55(t[a-s],t[a+s]);i.1u=t.1u}2H if("pH"==e[1]){1d o,r=1x.3D(t.1u/2);2i(i=[t[0]],o=1;o<=r;o++)i.55(t[t.1u-o],t[o]);i.1u=t.1u}1M i},iv:19(e,t){ba(".pI, .pJ, .gQ",e).2I(t.20.$1L).1e({3B:"3j",2V:1}).2Z(19(){2m 18.hW})},aB:19(e,t,i){2i(1d s in t){2i(1d a=[],o=0,r=e.23.5t.1u;o<r;o++)a[o]=bd.1K.2T.dE(t[s],s);2m i[s],i.6d[s]=a}t=2x}}},1T:{1p:{43:6e,5o:6e,5G:aR},i0:19(e,t){if(bd.1h.2z.1O&&bd.1h.2z.1a.$2s.1u){1d i=bd.1h.2z.1a.$2s,s=i.1a(bd.1p.1m.1S).20.$8M;t&&(i.1a(bd.1p.1m.1S).2N.et=!0,s.5G(bd.1b.1T.1p.5G,19(){i.5p("ac"),i.1a(bd.1p.1m.1S).2N.et=!1}))}if(bd.1h.1R.1a.$2s.1u){1d a=bd.1h.1R.1a.$2s,o=a.1a(bd.1p.1m.1S).20.$8M,r=a.1a(bd.1p.1m.1S).20.$bt;bd.1n.6j&&(P.4o("ls-1n-is-6g")&&r.4o("ls-3Y-on-6g")||P.4o("ls-1n-is-6h")&&r.4o("ls-3Y-on-6h"))||5l(19(){a.5p("bW")},e?50:0),e||t?o.5o(bd.1b.1T.1p.5G):o.1e({3i:"5f"}),a.1a(bd.1p.1m.1S).2N.eu=!0}}},2h:{1p:{iE:.35,iF:.3},5Z:19(e){18.9g=e||"1R",18.3s(),bd.1w.2h.4u.$1v&&18.4u.63(),bd.1w.2h.3Z.$1v&&18.3Z.63(),bd.1w.2h.2K.$1v&&18.2K.63()},3n:19(){if(bd.1h.2z&&bd.1h.2z.1a&&bd.1b.1G){1d e=bd.1b.1G.3t(),t=bd.1h.2z.1a.1P*e/18.1p.iF;bd.1w.2h.4u.$1v&&18.4u.2Y&&(bd.1b.1G.5U(bd.1b.2h.4u.2Y),18.4u.2Y.3n().5r(t)),bd.1w.2h.3Z.$1v&&18.3Z.2Y&&(bd.1b.1G.5U(bd.1b.2h.3Z.2Y),18.3Z.2Y.3n().5r(t)),bd.1w.2h.2K.$1v&&18.2K.2Y&&(bd.1b.1G.5U(bd.1b.2h.2K.2Y),18.2K.2Y.3n().5r(t))}},3s:19(){bd.1w.2h.4u.$1v&&18.4u.2Y&&18.4u.3s(),bd.1w.2h.3Z.$1v&&18.3Z.2Y&&18.3Z.3s(),bd.1w.2h.2K.$1v&&18.2K.2Y&&18.2K.3s()},4u:{3s:19(){18.2Y&&(18.2Y.5Y(),18.2Y=!1)},63:19(){18.2Y=2n.3a.41(bd.1w.2h.4u.$1v[0],bd.1h[bd.1b.9g].1a.1P,{2j:!1,4f:!0,1e:{1f:0}},{2j:!1,1e:{},2p:2n.9k.9l,cn:19(){bd.1b.2h.4u.2Y=!1},4n:19(e){e.5g.1U.1f="1r%",e.5g.1U.1f="eb( 1r% - "+bd.1c.42.as+"px )"},eT:["{5F}"],7A:19(e){e.5g.1U.1f=1x.9N(bd.1c.1f,bd.1c.1f*e.3t())+"px"},7B:["{5F}"]})}},3Z:{3s:19(){18.2Y&&(bd.1w.2h.3Z.$1v.1V(!0,!0),18.2Y.5Y(),18.2Y=!1)},63:19(){1d e=bd.1w.2h.3Z.$1v.1A(".ls-ct-3O .ls-ct-3S")[0],t=bd.1w.2h.3Z.$1v.1A(".ls-ct-1N .ls-ct-3S")[0],i=bd.1h[bd.1b.9g].1a.1P;18.2Y=4a 2n.6X({4f:!0}).41(bd.1w.2h.3Z.$1v[0],bd.1b.2h.1p.iE,{2j:!1,4B:!0,1e:{2V:0,3i:"5f"}},{2j:!1,1e:{2V:bd.1w.2h.3Z.$1v.1a("31").2V}}).41(e,i/2,{2j:!1,1e:{2b:0}},{2j:!1,1e:{2b:cl},2p:2n.9k.9l},0).41(t,i/2,{2j:!1,1e:{2b:0}},{2j:!1,1e:{2b:cl},2p:2n.9k.9l},i/2)}},2K:{3s:19(){18.2Y&&(18.2Y.5Y(),18.2Y=!1)},63:19(){1d i=18;i.2Y=4a 2n.6X({4f:!0,cn:19(){bd.1b.2h.2K.2Y=!1}}),ba.2Z(bd.1w.2h.2K.$7w,19(t,e){i.2Y.2I(2n.3a.41(bd.1w.2h.2K.$7w[t][0],bd.1h[bd.1b.9g].1a.1P,{2j:!1,1e:{1N:0}},{2j:!1,1e:{},2p:2n.9k.9l,4n:19(e){e.5g.1U.1N="eb( 1r% - "+bd.1w.2h.2K.7x[t]+"px )"},eT:["{5F}"],7A:19(e){e.5g.1U.1N=(bd.1w.2h.2K.al[t]-bd.1w.2h.2K.7x[t])*e.3t()+"px"},7B:["{5F}"]}),0),i.2Y.2I(2n.3a.41(bd.1w.2h.2K.$e9[t][0],bd.1h[bd.1b.9g].1a.1P,{2j:!1,1e:{1f:0}},{2j:!1,1e:{},2p:2n.9k.9l,4n:19(e){e.5g.1U.1f="1r%"},eT:["{5F}"],7A:19(e){e.5g.1U.1f=bd.1w.2h.2K.ea[t]*e.3t()+"px"},7B:["{5F}"]}),0)})}}}},bd.3C={4t:19(){if(bd.o.3C&&0!==bd.o.3C.1u){1d e=bd.o.3C[0],s="5L"==2A e?e.iG:e;if(1o.2B.3C[s])bd.3C.1m(s,e,!0),bd.3C.4t();2H if(bd.6E.eU||"5L"!=2A e)bd.6E.eU?1o.4Y&&(4Y.6x(bd.1p.1c.9z,"pK 4t 3C on iH:// 7s."),4Y.aF("pL pM aM 8e eV pN.")):1o.4Y&&(4Y.6x(bd.1p.1c.9z,"iI eV cL pO!"),4Y.aF(\'iI "\'+s+\'" eW eX pP in 1c 1m 5v, pQ aM pR eV cL 5j pS on pT.\')),bd.o.3C.cz(0,1),bd.3C.4t();
18492H{if(-1!==1o.2B.8g.1i(s))1M 2l bd.3C.iJ(s);-1===1o.2B.aJ.1i(s)&&-1===1o.2B.9o.1i(s)?(1o.2B.8g.55(s),ba.pU({7p:-1===e.js.1i("8X://")&&-1===e.js.1i("a8://")?(1o.2B.9p?1o.2B.9p:1o.2B.aL+"/../3C/")+e.js:e.js,pV:"76",pW:19(){bd.3C.1m(e.iG,e,!0),1o.2B.aJ.55(s)},6x:19(e,t,i){1o.4Y&&(4Y.6x(bd.1p.1c.9z,s,"8e eW 5j eX dT!"),4Y.6x("pX 6x aF:",i)),1o.2B.9o.55(s)},pY:19(){1o.2B.8g.cz(1o.2B.8g.1i(s),1),bd.3C.4t()}})):(bd[s]||-1!==1o.2B.9o.1i(s)?bd.o.3C.cz(0,1):bd.3C.1m(s,e),bd.3C.4t())}}2H bd.1c.6U.9m()},1m:19(e,t,i){bd.6q[e]=4a 1o.2B.3C[e](bd,P,W,t.2X),1o.2B.cM(bd.6q[e].iK.iL,bd.8e.77)?(t.1e&&i&&ba(\'<4U dQ="hn" 56="\'+(-1===t.1e.1i("8X://")&&-1===t.1e.1i("a8://")?(1o.2B.9p?1o.2B.9p:1o.2B.aL.27("/8K/js/","/8K/1e/")+"/../3C/")+t.1e:t.1e)+\'">\').2e("aa"),bd.6q[e].1m&&bd.6q[e].1m()):1o.4Y&&4Y.6x(bd.1p.1c.9z,e,"8e eW 5j eX dT! pZ 9q 77:",bd.6q[e].iK.iL,"(fq q0:",bd.8e.77+")"),bd.o.3C.cz(0,1)},iJ:19(e){bd.4L.eY=bR(19(){-1===1o.2B.aJ.1i(e)&&-1===1o.2B.9o.1i(e)||-1!==1o.2B.8g.1i(e)||(ab(bd.4L.eY),2m bd.4L.eY,bd.3C.4t())},1r)}},bd.1c={cf:!0,4E:[],2t:{a5:!1,8L:!1,7Y:!1},5b:!1,7X:19(){1M 18.2t.a5||18.2t.8L||18.2t.7Y},4t:19(){if(!2y.3H.7S(B))1M!1;bd.2u.48("iM")&&P.4g("iM"),bd.1c.21.cA()},21:{cA:19(){if(bd.cO=P[0].q1,bd.6v=bd.1K.2T.5C(bd.1K.2T.iN(t)),bd.aG={},bd.o=ba.54(!0,{},bd.1p.1m.5v,bd.6v),bd.o.78/=3y,bd.o.78=0<bd.o.78?bd.o.78:.75,bd.o.aP/=3y,1o.4Y&&!0!==bd.o.eZ&&!0!==1o.2B.eZ){1o.2B.eZ=!0;1d e=1o.4Y.aF?"aF":"q2";4Y[e]("9q","v"+bd.8e.77,"9m"),4Y[e]("q3 q4 q5 iO @ 8X://iO.fg.59/q6-1c")}(1o.2B.aK||1o.2B.cJ)&&(1o.2B.aL=(1o.2B.aK||1o.2B.cJ).28.27(/\\\\/g,"/").27(/\\/[^\\/]*$/,"")),"5L"==2A bd.o.3C?bd.3C.4t():bd.1c.6U.9m()},dD:19(){1d e,t,i,s,a,o,r,n,l,d,u,c,p,h,m,f,g,v,y,S=bd.1c,w=P.47(),b=B.1U,x=1o.iP(B,2x),T=1l(B.q7),C=1l(B.q8),k=1l(w.1f()),L=1l(w.1g()),O=bd.o.aN,I=bd.o.fw,$=bd.o.1Y.4C();2O(i=e=bd.o.1f?-1==bd.o.1f.1i("%")?1l(bd.o.1f):bd.o.1f:b.1f?-1==b.1f.1i("%")?1l(b.1f):b.1f:0<O?O:T,s=t=bd.o.1g?-1==bd.o.1g.1i("%")?1l(bd.o.1g):bd.o.1g:b.1g?-1==b.1g.1i("%")?1l(b.1g):b.1g:0<I?I:C,a=""!==b.4r?-1===b.4r.1i("%")?1l(b.4r):b.4r:0,2l 0===bd.6v.1Y&&(0<O&&0<I||"1r%"===e&&"1r%"===t?$="6O":O<=0&&I<=0&&(bd.o.6w<=0||0<bd.o.6w&&bd.o.f0)?$=2l 0!==bd.o.1Z&&!1===bd.o.1Z?"ep":"1Z":0<bd.o.6w&&($="6W")),$){1k"6W":-1!==e.1i("%")&&(e=T),O<=0&&(O=e),bd.o.6w<=0&&(bd.o.6w=O),-1!==t.1i("%")&&(t=L/(1r/1l(t))),I<=0&&(I=t);1B;1k"6O":-1!==e.1i("%")&&(e=0<O?O:k),O<=0&&(O=e),-1!==t.1i("%")&&(t=0<I?I:ba(1o).1g()/(1r/1l(t))),I<=0&&(I=t);1B;1k"ep":1B;5V:bd.6v.1Y=bd.o.1Y=$="1Z",(bd.o.6w=-1)!==e.1i("%")&&(e=T),-1!==t.1i("%")&&(e=C)}P.24("ls-4M ls-"+$),P.47().24("ls-2D-q9"),bd.o.fu&&bd.o.cR&&("6W"===$||"6O"===$&&"em"!==bd.o.8j)&&P.iQ(":5j(3H, 5I)").2Z(19(){ba(18).24("ls-4R-4D")}),bd.6v.8k||"1Z"!==$||!bd.6v.61("f0")||bd.6v.f0||(bd.o.8k="2E"),bd.o.8k=bd.o.8k.27("1r% 1r%","er"),o=0<O?O:e,r=0<I?I:t,"2E"===(d=B.1U.3P)?n="2E":""===d?n=1l(x.f1("7k-1N")):n=1l(B.1U.3P),"2E"===(u=B.1U.9b)?l="2E":""===u?l=1l(x.f1("7k-3O")):l=1l(B.1U.9b),n===l&&(""===d&&""===u&&(l=n="2E"),P.1e({3P:"2E",9b:"2E"})),c=""!==b.6F?1l(b.6F):1l(P.1e("4q-1N")),h=""!==b.6G?1l(b.6G):1l(P.1e("4q-3O")),p=""!==b.6H?1l(b.6H):1l(P.1e("4q-26")),m=""!==b.6I?1l(b.6I):1l(P.1e("4q-1X")),f=""!==b.6J?1l(b.6J):1l(P.1e("6K-1N-1f")),v=""!==b.6L?1l(b.6L):1l(P.1e("6K-3O-1f")),g=""!==b.6M?1l(b.6M):1l(P.1e("6K-26-1f")),y=""!==b.6N?1l(b.6N):1l(P.1e("6K-1X-1f")),S.42={1Y:$,1f:e,1g:t,9T:i,bn:s,8O:e/1r,8P:t/1r,au:O,eo:I,1F:o/r,4r:a,3P:n,9b:l,6F:c,6H:p,6G:h,6I:m,6J:f,6M:g,6L:v,6N:y,as:c+h+f+v,av:p+m+g+y},ba("5I").1J("id")?ba("3H").1J("id")||ba("3H").1J("id","ls-cA"):ba("5I").1J("id","ls-cA"),"3u"!==b.68&&"hk"!==b.68&&(B.1U.68="dh"),bd.o.cS&&P[bd.o.fx](bd.o.cS),bd.1c.$7h=ba(\'<1y 2o="ls-cB-4M qa ls-4K" 1a-7F-cP="\'+W+\'"></1y>\').24(P.1J("2o")).9r("3H"),bd.1c.$5H=ba(\'<1y 2o="ls-c4"></1y>\'),bd.1c.$5S=ba(\'<1y 2o="ls-1j"></1y>\').2e(bd.1c.$5H),bd.1c.$h2=ba(\'<1y 2o="ls-2f-81"></1y>\').2e(bd.1c.$5S),bd.1c.$bF=ba(\'<1y 2o="ls-29-qb"></1y>\').2e(bd.1c.$5S),bd.1c.$5H.2e(P),!0===bd.o.d5&&bd.1n.6j?(P.24("ls-9n"),P.3K(".ls-cB-6W-4M").24("ls-9n"),bd.o.8m=!1):bd.1c.6U.f2(),bd.o.8p&&bd.1c.$5H.1e({gY:"7p( "+bd.o.8p+" )",qc:bd.o.fC,qd:bd.o.fD,aV:bd.o.fE,aW:bd.o.fF}),bd.1c.$5H.1e({30:bd.o.8o}),"4Q"==bd.o.8o&&!1===bd.o.8p&&bd.1c.$5H.1e({2f:"3j 4Q"})},5v:19(){if(ba("5I").1A(\'aG[f3*="f4"]\').1u&&(bd.aG.qe=ba("5I").1A(\'aG[f3*="f4"]\').1J("f3").1H("f4")[1]),ba("5I").1A(\'76[28*="7F"]\').1u&&-1!=ba("5I").1A(\'76[28*="7F"]\').1J("28").
18491i("?")&&(bd.aG.qf=ba("5I").1A(\'76[28*="7F"]\').1J("28").1H("?")[1].1H("=")[1]),"7E"!=2A es&&(bd.t=ba.54({},es)),"7E"!=2A bq&&(bd.ct=ba.54({},bq)),"53"==2A bd.o.d1&&(bd.1b.1j.1D.1p.aC=bd.o.d1),"53"==2A bd.o.d2&&(bd.1b.1j.1D.1p.7D=bd.o.d2),bd.o.d3&&(bd.1b.1j.1D.1p.eN=bd.o.d3),bd.o.51&&(bd.o.5y=-1,bd.o.9s=!0,bd.o.5x=!1,bd.o.8m=!1),bd.o.9s){if(bd.1c.5d=bd.1n.64>bd.1c.4p-(bd.1n.4V-bd.1c.1g)/2?"cq":"eJ",bd.o.51){1d t,i,s,a=!0,o=4*bd.o.fA;bd.1n.2a.9h=97,bd.1b.1j.1s.6Y=0,ba(2y).on("qg."+W+" 98."+W,19(e){bd.1n.6j?(t=e.99.6m[0].qh,i<t?bd.1n.2a.2D="9d":t<i&&(bd.1n.2a.2D="9i"),s=i-t,i=t):(0<e.99.iR?bd.1n.2a.2D="9i":bd.1n.2a.2D="9d",s=e.99.iR),0!==1x.3M(s)&&(bd.1n.2a.cC?bd.1n.2a.cC!==bd.1n.2a.2D&&(bd.1n.2a.cC=bd.1n.2a.2D,bd.1b.1j.1s.6Y=0):bd.1n.2a.cC=bd.1n.2a.2D,"az"===bd.1c.5d&&(bd.1E.ch(),0<=s?bd.1b.1j.1s.eF():bd.1b.1j.1s.cm(),a&&(80(bd.2J.2a),a=!1,bd.1b.1j.1s.6Y=bd.1b.1j.1s.6Y<o?bd.1b.1j.1s.6Y+.25:o,bd.2J.iS=5l(19(){2m bd.2J.iS,a=!0,bd.1n.2a.9h=50<bd.1n.2a.9h?bd.1n.2a.9h-50:50},bd.1n.2a.9h))))})}ba(1o).on("2a."+W,19(){bd.1c.6U.5d()}),bd.2J.iT=5l(19(){bd.1c.6U.5d()},25)}bd.1c.hB=!0}},6U:{9m:19(){bd.1c.9m||(bd.1c.9m=!0,18.cW())},cW:19(){bd.o.3Q&&""!==bd.o.3Q&&bd.o.8n&&""!==bd.o.8n?bd.1w.3Q.4t():bd.1c.1m()},f2:19(){bd.1n.6j&&!1!==bd.o.d5||(bd.1n.7y<bd.o.fS||bd.1n.7y>bd.o.d6&&0<bd.o.d6?bd.1c.3Y():bd.1c.5K())},5d:19(){if(2m bd.2J.iT,bd.o.51){if(bd.1n.2a.2D){1d e="9i"===bd.1n.2a.2D?bd.1n.64:bd.1c.4p-(bd.1n.4V-bd.1c.1g)/2;("9i"===bd.1n.2a.2D?bd.1c.4p-(bd.1n.4V-bd.1c.1g)/2:bd.1n.64)<e&&("9d"===bd.1n.2a.2D&&"cq"===bd.1c.5d||"9i"===bd.1n.2a.2D&&"eJ"===bd.1c.5d)&&(bd.1c.5d="az",bd.1E.ch(),bd.1n.2a.ay())}}2H{1d t=bd.1n.64+bd.1n.4V/2,i=bd.1c.4p+bd.1c.1g/2;(1x.3M(t-i)<bd.1n.4V/2||bd.1n.64<bd.1c.4p&&bd.1n.64+bd.1n.4V>bd.1c.4p+bd.1c.1g)&&(bd.1c.5d="az",ba(1o).7t("2a."+W),bd.1b.1G&&bd.1b.1j.1s.2U())}}},1m:19(){80(bd.2J.e5),80(bd.2J.e6),80(bd.2J.e7),80(bd.2J.e8),bd.1n.iU(),bd.1c.21.dD(),bd.1c.21.5v(),bd.1h.1m(),bd.1n.5u.21(),bd.1T.1m(),bd.1w.2h.1m(),bd.1w.c9.1m(),bd.7Z.1m(),bd.1w.4h.1m(),bd.2k.1m(),bd.1C.1m(),bd.1h.21.4i(),bd.1w.2k.1m(),bd.1E.1c(),bd.3c.1m(),ba(1o).on("1E."+W,19(){bd.1c.6U.f2(),"az"===bd.1c.5d&&bd.o.51&&bd.1E.ch(),bd.1c.cf&&bd.1E.5E()}),ba(1o).on("eO."+W,19(){bd.1n.f5(),bd.1E.5E()}),bd.1n.f5(),ba(1o).5p("1E."+W),ba(1o).5p("eO."+W),bd.2u.48("iV")&&P.4g("iV",bd.2u.4w()),bd.1K.2W(bd.1c,{6l:!0}),bd.1c.2t.iW?bd.2u.8h("iX"):bd.1C.6D(bd.1h.3l.1O)},3Y:19(){P.24("ls-9n"),P.3K(".ls-cB-6W-4M").24("ls-9n")},5K:19(){P.3N("ls-9n"),P.3K(".ls-cB-6W-4M").3N("ls-9n")}},bd.1K={2T:{3e:19(e,t,i){1d s=ba.3U(e),a=s.1H(" "),o="",r=["qi","qj"],n=[bd.1c.1f,bd.1c.1g];s=s.27("qk","0").27("ql","1r%").27("qm","50%").27("qn","50%").27("gJ","0").27("gK","1r%").27("1N","0").27("3O","1r%").27("7I","50%").27("qo","50%").27("26","0").27("1X","1r%").1H(" ");2i(1d l=0;l<s.1u;l++)if(-1!==a[l].1i("1c")){bd.1b.1j.1s.6n=!0;1d d=t.1a(bd.1p.1m.1S).20.$1L[0].1U;o+=l<2?n[l]/(1r/1l(s[l]))-1l(d[r[l].4C()])-1l(d["7k"+r[l]])+"px ":"ie"}2H{if(l<2&&t&&i)2O(l){1k 0:n=i.1f();1B;1k 1:n=i.1g()}-1!==s[l].1i("%")?o+=l<2&&t&&i?n/(1r/1l(s[l]))+"px ":s[l]+" ":o+=1l(s[l])*bd.1E.1F+"px "}1M ba.3U(o)},4H:19(e,t){1M"4Z"!=2A e?e:(-1!==(e=e.4C()).1i("qp")||-1!==e.1i("gq")?i=2n.9k.9l:(s=e.49(/(iY|db|dc)(.+)/)[2],a=2n[s.gZ(0).qq()+s.eS(1)],-1!==e.1i("iY")?i=a.bs:-1!==e.1i("dc")?i=t?a.5B:a.6a:-1!==e.1i("db")&&(i=t?a.6a:a.5B)),i);1d i,s,a},22:19(e,t,i,s){1d a=ba.54({},e);1M ba.2Z({3S:"2b",5J:"3v",62:"3w"},19(e,t){e in a&&(a[t]=a[e],2m a[e])}),"6p"===i?a.4l=a.4z=a.iZ=1:a.f6!==s&&(a.4l=a.4z=a.iZ=a.f6,2m a.f6),a.43&&(a.43="6p"===i?a.43/3y:a.43),2l 0===t&&(t="qr"),a.2p=bd.1K.2T.4H(t),a},dE:19(e,t){if(e&&-1!==e.1i("(")&&-1!==e.1i(",")&&-1!==e.1i(")")){1d i=e.1H("(")[1].1H(")")[0].1H(","),s=1;1M i[0]=2G(i[0]),i[1]=2G(i[1]),-1!==t.1i("2Q")&&(s=1r,i[0]*=s,i[1]*=s),1x.3D(1x.2F()*(i[1]-i[0]+1)+i[0])/s}1M e},5C:19(e,t){if("4Z"==2A e)1M bd.1K.2T.f7(e,t);if("5L"!=2A e)1M e;2i(1d i in e)e[i]=bd.1K.2T.f7(e[i],t);1M e},f7:19(e,t){if("8c"==e||"1Q"==e||"9U"==e)1M!0;if("ay"==e||"bI"==e||"qs"==e)1M!1;if("4Z"!=2A e||-1===e.1i(bd.1p.1m.cQ))1M t?""+1l(e)=="qt"?0:1l(e):ba.7n(e)?2G(e):e;2i(1d i=e.1H(bd.1p.1m.cQ),s=[],a=0;a<i.1u;a++)s[a]=ba.7n(i[a])?2G(ba.3U(i[a])):ba.3U(i[a]);1M s},iN:19(i){1M ba.2Z({qu:"4i",qv:"5y",h4:"cV",qw:"aN",qx:"aN",qy:"7H"},19(e,t){e in i&&(i[t]=i[e],2m i[e])}),i}},hJ:19(e){2i(1d t,i=P.iQ(),s=i.1u,a=1r,o=0;o<s;o++)if("2E"!==(t=1o.iP(i[o]).f1(e))){if(-1!==t.1i("px"))1M bd.1c.$ek=ba(i[o]),ba(i[o]);-1!==t.1i("%")&&(a=a/1r*1l(t),bd.1c.$el=a)}},ex:19(e,t,i){1d s=[];if("8b"==i)2i(1d a=0;a<e;a++)2i(1d o=0;o<t;o++)s.55(a+o*e);2H 2i(1d r=e-1;-1<r;r--)2i(1d n=t-1;-1<n;n--)s.55(r+n*e);1M s},dK:19(e){2i(1d t,i,s=e.1u;0!==s;)i=1x.3D(1x.2F()*s),t=e[--s],e[s]=e[i],e[i]=t;1M e},i9:19(e){1d t=0;2i(1d i in e)e.61(i)&&++t;1M t},bo:19(e){1M e[0].eg?e[0].eg:e.1a("28 ")?e.1a("28 "):e.1J("28")},gA:19(e){1M!!e.1J("e4")&&e.1J("e4")},2W:19(e,t,i){if(e&&e.2t){1d s=bd.1C.5b();if(i)e.2t[t]=i;2H 2i(1d a in t)e.2t[a]=t[a];1d o=bd.1C.5b();e==bd.1C&&(bd.2u.48("j0")&&P.4g("j0",bd.2u.4w()),o!=s&&(o?bd.2u.48("j1")&&P.4g("j1",bd.2u.4w()):bd.2u.48("j2")&&P.4g("j2",bd.2u.4w())))}},j3:19(){2i(1d e in bd.2J)80(bd.2J[e]),2m bd.2J[e];2i(1d t in bd.4L)ab(bd.4L[t]),2m bd.4L[t]},j4:19(){bd.1b.1G&&(bd.1b.1G.5m().74().5Y(),2m bd.1b.1G),bd.1b.5c&&(bd.1b.5c.5Y(),2m bd.1b.5c),bd.1b.3E&&(bd.1b.3E.5m().74().5Y(),2m bd.1b.3E),2n.3a.qz(P.1A(".ls-bg, .ls-2R, .ls-1L, .ls-ii, .ls-ij").2P())},hH:19(){bd.1b.1G&&(bd.1b.1G.5m().3t(0).74().5Y(),2m bd.1b.1G),bd.1b.5c&&(bd.1b.5c.5m().3t(1).74().5Y(),2m bd.1b.5c),P.1A(".ls-2R:5j(.ls-bg-4m)").2Z(19(){1d e=ba(18).1a(bd.1p.1m.1S);e.1z.3I&&(e.1z.3I.1V().74(),2m e.1z.3I,2n.3a.21(e.20.$7j[0],e.3s.dj)),2n.3a.21(e.20.$1L[0],e.3s.di)})},j5:19(){ba(1o).2I("3H").2I(P).2I(P.1A("*")).2I("."+W).7t("."+W+" .1D"+W+" .f8"+W),P.7t()}},bd.1n={$ax:ba("3H").1u?ba("3H"):ba("5I"),6j:!!cD.cE.49(/(j6|j7|j8|qA|qB|qC|qD|qE qF|qG|qH qI|qJ 7)/i),iA:!!1o.qK,2a:{8q:[32,33,34,35,36,37,38,39,40],ay:19(){1o.cg&&1o.cg("j9",18.3W,!1),1o.ja=18.qL,1o.cF=2y.cF=18.3W,1o.jb=18.3W,2y.jc=18.jd},8c:19(){1o.je&&1o.je("j9",18.3W,!1),1o.cF=2y.cF=2x,1o.ja=2x,1o.jb=2x,2y.jc=2x},3W:19(e){(e=e||1o.6y).3W&&e.3W(),e.qM=!1},jd:19(e){if(-1!==bd.1n.2a.8q.1i(e.qN))1M bd.1n.2a.3W(e),!1}},f9:19(){1o.aH?1o.aH().bG?1o.aH().bG():1o.aH().jf&&1o.aH().jf():2y.jg&&2y.jg.bG()},5u:{jh:19(){"6O"==bd.1c.42.1Y&&"hL"==bd.o.8j&&(bd.1c.en=bd.1c.4p),bd.1K.2W(bd.1c,{6T:!0}),ba("3H, 5I").24("ls-5u"),bd.1c.6r.fa(),P.5p("5n"),bd.1n.f9()},fb:19(){bd.1K.2W(bd.1c,{6T:!1}),bd.1E.5E(),ba("3H, 5I").3N("ls-5u"),bd.1n.f9()},fc:19(){bd.1n.5u.1v()?(bd.1n.5u.fb(),2y.fd()):bd.1n.5u.jh()},21:19(){bd.o.fv&&(2y.qO||2y.qP||2y.qQ||2y.qR)&&(P.5h(\'<1y 2o="ls-5u-1L"></1y>\'),bd.1c.$6r=P.3K(".ls-5u-1L"),bd.1c.6r=bd.1c.$6r[0],bd.1c.6r.fa=bd.1c.6r.fa||bd.1c.6r.qS||bd.1c.6r.qT||bd.
18491c.6r.qU,2y.fd=2y.fd||2y.qV||2y.qW||2y.qX,ba(2y).on("qY."+W+" qZ."+W+" r0."+W+" r1."+W,19(){bd.1n.5u.1v()||bd.1n.5u.fb()}),bd.1c.$6r.on("r2."+W,19(){bd.1n.5u.fc()}))},1v:19(){1M 2y.r3||2y.r4||2y.r5||2y.r6}},f5:19(){18.1f=ji.1f,18.1g=ji.1g,18.7y=ba(1o).1f(),18.4V=ba(1o).1g(),18.r7=ba(2y).1f(),18.gI=ba(2y).1g(),18.64=ba(1o).br(),18.fe=ba(1o).jj(),18.1F=18.1f/18.1g,bd.1c.4p=P.5W().26,bd.1c.aE=P.5W().1N},iU:19(){1d t,i=18;ba(1o).on("1E.f8"+W,19(){i.7y=ba(1o).1f(),i.4V=ba(1o).1g(),i.1F=i.1f/i.1g,bd.1c.4p=P.5W().26,bd.1c.aE=P.5W().1N}),ba(1o).on("2a.f8"+W,19(){i.64=ba(1o).br(),i.fe=ba(1o).jj(),bd.1c.4p=P.5W().26,bd.1c.aE=P.5W().1N}),ba(1o).on("98",19(e){i.64=1o.r8,i.fe=1o.r9,1==(t=e.6m?e.6m:e.99.6m).1u&&(i.ht=t[0].ed)})}},bd.2u={48:19(e,t){1d i=ba.ra(t||B,"bX");1M!(!i||!i[e])},8h:19(e,t,i,s){if(!bd.1c.7X())if("53"==2A e)0<e&&e<bd.1h.3o+1&&e!=bd.1h.2z.1O&&bd.1C.6D(e,!0,!0);2H 2O(e){1k"ap":bd.1n.ap=!0;1k"rb":1k"2C":bd.2k.2C();1B;1k"ao":bd.1n.ao=!0;1k"2g":1k"1R":bd.2k.1R();1B;1k"rc":1k"3m":bd.2k.3m()}2O(e){1k"rd":bd.6q.cG&&bd.6q.cG.bX.5K();1B;1k"re":bd.6q.cG&&bd.6q.cG.bX.3Y();1B;1k"rf":t&&bd.1j.8S.1a(t,i,s);1B;1k"rg":1k"rh":bd.1E.5E();1B;1k"ri":1k"8i":bd.1b.1G&&(bd.1b.1G.3t(0),bd.1b.1G.2U());1B;1k"rj":1k"3n":bd.1b.1G&&(bd.1b.1G.it()?bd.1b.1G.2U():bd.1b.1G.3n(),t&&(bd.1b.1j.1s.ip=!0));1B;1k"rk":1k"1V":bd.2k.1V();1B;1k"rl":1k"5m":bd.1b.1G&&bd.1b.1G.1V(),bd.1b.3E&&bd.1b.3E.1V(),bd.1T.1V(!1);1B;1k"rm":bd.1j.2P("3g").2Z(19(){bd.1T.e0(ba(18))});1k"rn":1k"7W":bd.1b.1G&&(bd.1b.1G.5r()<.ro&&bd.1b.1j.1s.7W(),bd.1b.1G.2U()),bd.1b.3E&&bd.1b.3E.2U();1B;1k"rp":1k"fc":bd.1c.5b?(P.4N("7W"),bd.1c.5b=!1):(P.4N("5m"),bd.1c.5b=!0);1B;1k"3s":1k"rq":1B;1k"rr":1k"rs":bd.1b.1G&&(bd.1b.1G.3t(0),bd.1b.1G.1V()),bd.1T.1V(!0);1B;1k"iX":1k"5Y":if(bd.1c.2t.6l){if(bd.1K.j3(),bd.1K.j4(),bd.1j.$5E.rt(),bd.2u.48("jk")&&P.4g("jk"),bd.1c.2t.jl||t){if(bd.1c.$7h.5U(),bd.1w.2h.2K.$5q)2i(1d a=0;a<bd.1w.2h.2K.$5q.1u;a++)bd.1w.2h.2K.$5q[a]h0 65&&bd.1w.2h.2K.$5q[a].5U();bd.2u.48("jm")&&P.4g("jm"),P.47(".ls-5u-1L").5U()}bd.1K.j5(),1o.2B.ft(W)}2H bd.1K.2W(bd.1c,{iW:!0,jl:t||!1});bd.1c.5d="cq",bd.1n.2a.8c()}},4w:19(){1M{1a:bd,ru:bd.o,cP:W,5g:B,1c:P,2t:bd.1c.2t,7X:bd.1c.7X(),2u:19(e){P.4N(e)},1h:{3l:{1O:bd.1h.3l.1O,4x:bd.1h.2P.4x(bd.1h.3l.1O)},2C:{1O:bd.1h.2C.1O,4x:bd.1h.2P.4x(bd.1h.2C.1O)},2z:{1O:bd.1h.2z.1O||bd.1h.3l.1O,4x:bd.1h.2P.4x(bd.1h.2z.1O),jn:bd.1j.2P("2z,in"),jo:bd.1j.2P("2z,1I"),1s:bd.1b.1G},1R:{1O:bd.1h.1R.1O,4x:bd.1h.2P.4x(bd.1h.1R.1O),jn:bd.1j.2P("1R,in"),jo:bd.1j.2P("1R,1I")},3o:bd.1h.3o},rv:bd.1b.3E,1C:{2t:bd.1C.2t,3L:bd.1C.3L,2D:bd.1C.2D,5b:bd.1C.5b()},5y:{3T:bd.o.5y,2z:bd.1C.bJ}}}},bd.6E={9Y:!!cD.cE.49(/(j6|j7|j8|rw)/i)&&!cD.cE.49(/(rx|ry|rz)/i),eU:-1!==2y.9W.56.1i("iH://"),i6:19(){2i(1d e=ba("<1y>"),t=!1,i=!1,s=["rA","rB","rC","rD","rE"],a=["rF","rG","rH","rI","rJ"],o=s.1u-1;0<=o;o--)t=t||2l 0!==e[0].1U[s[o]];2i(1d r=a.1u-1;0<=r;r--)e.1e("3B-1U","jp-3d"),i=i||"jp-3d"==e[0].1U[a[r]];1M t&&2l 0!==e[0].1U[s[4]]&&(e.1J("id","ls-rK").2e(P),t=3===e[0].rL&&9===e[0].aE,e.5U()),t&&i},gU:-1!==cD.cE.1i("rM/5")},bd.6q={},bd.2J={},bd.4L={},bd.8e={77:"6.6.9"},bd.1c.4t()}}(65);',62,1723,'||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||this|function|data|transitions|slider|var|css|width|height|slides|indexOf|layers|case|parseInt|init|device|window|defaults|hover|100|timeline|filter|length|element|gui|Math|div|loop|find|break|slideshow|parallax|resize|ratio|_slideTimeline|split|out|attr|functions|wrapper|return|left|index|duration|enabled|next|dataKey|media|style|stop|transitionProperties|bottom|type|responsive|elements|set|transition|textIn|addClass||top|replace|src|slide|scroll|rotation|clip||appendTo|background|nextSlide|timers|for|autoCSS|navigation|void|delete|se|class|ease|kenBurns|transformPerspective|backgroundVideo|state|api|thumbnail|textOut|null|document|current|typeof|_layerSlider|prev|direction|auto|random|parseFloat|else|add|timeouts|slidebar|to|mediaSettings|mediaProperties|switch|get|scale|layer|startAt|convert|play|opacity|setStates|settings|_transition|each|backgroundColor|original|||||||||TweenMax|wrappers|yourLogo||transformOrigin|values|active|nav|display|none|curSlide|first|start|reverse|count|cursor|_|textOutNodesTo|reset|progress|static|rotationX|rotationY|img|1e3|youtube|player|transform|plugins|floor|_slideTransition|from|textInNodesFrom|body|_timeline|borderRadius|closest|sequence|abs|removeClass|right|marginLeft|skin|color|rotate|max|trim|children|preventDefault|vimeo|hide|circle||fromTo|initial|delay|||iframe|parent|hasEvent|match|new|styleSettings|outLayerToCSS|loopToCSS|hoverToCSS|paused|triggerHandler|shadow|firstSlide|autoplay|volume|scaleX|video|onComplete|hasClass|offsetTop|padding|maxWidth|totalDuration|load|bar|animation|eventData|deeplink|inLayerFromCSS|scaleY|hoverShouldBeConverted|immediateRender|toLowerCase|visible|thumbnails|outerWidth|outerHeight|easing|isEmptyObject|filters|hidden|intervals|container|layerSlider|controls|normal|transparent|overflow|inLayerToCSS|should|link|viewportHe
1849ight|translateX|translateY|console|string||playByScroll|text|number|extend|push|href|click|300|com|image|isPaused|_forceLayersOut|positionToViewport|transitionoutstart|block|target|wrap|marginTop|not|html5|setTimeout|pause|mouseleave|fadeIn|trigger|containerElement|timeScale|webkit|nodes|fullscreen|options|maxRatio|pauseOnHover|cycles|skewX|skewY|easeIn|properties|slideBackground|all|self|fadeOut|innerWrapper|html|rotateX|show|object|repeat|globalhover|showinfo|inLayerStyleShouldBeConvertedFrom|outLayerStyleShouldBeConvertedTo|clipShouldBeConverted|layersWrapper|getStyle|remove|default|offset|mouseenter|kill|create||hasOwnProperty|rotateY|createTransition|winScrollTop|jQuery|thumbnailNavigation|zoom|position|loopLayerShouldBeConverted|easeOut|level|loopstart|cycle|500|fontSize|phone|tablet|vpcontainer|isMobile|visibility|isLoaded|touches|shouldRestart|tile|after|initializedPlugins|fullscreenWrapper|globals|_layerSliders|lsSliderUID|userInitOptions|responsiveUnder|error|event|durationIn|transitioninend|loopend|clipTo|changeTo|browser|paddingLeft|paddingRight|paddingTop|paddingBottom|borderLeftWidth|border|borderRightWidth|borderTopWidth|borderBottomWidth|fullsize|round|ceil|running|change|inFullscreen|check|preImages|fullwidth|TimelineMax|timeScaleModifier|cols|rows|before|createCuboids|box|clear||script|version|forceLayersOutDuration|transition2d|customtransition2d|customtransition3d|shiftNodes|outClipShouldBeConverted|transitioninstart|textinstart|allinend|hiddenWrapper|zIndex|loopWrapper|margin|allMediaLayers|attributes|isNumeric|removeAttr|url|timelineIsCalculated|finished|protocol|off|mousemove|thumb|sliderContainerElement|sliderContainerElementWidth|viewportWidth|curTiles|onUpdate|onUpdateParams|splitType|sensitive|undefined|layerslider|span|shuffleSlideshow|center|transition3d|distance|minfontsize|minmobilefontsize|textInShouldBeConverted|textOutShouldBeConverted|textoutstart|getTiming|onStart|contains|audio|parallaxWrapper|outerWrapper|resume|isBusy|animatingSlides|preload|clearTimeout|videos|poster|hoverWrapper|animate|curSrc|slideIndex|transformProperties|kbRotation|deg|kbScale|forward|enable|_linkTween|plugin|youTubeIsReady|pluginsBeingLoaded|methods|replay|fullSizeMode|slideBGSize|cover|autoStart|skinsPath|globalBGColor|globalBGImage|keys|overlay|inLayerStyleFromCSS|textInNodesTo|outLayerStyleToCSS|repeatDelay|yoyo|textinend|textoutend|transitionoutend|textLayer|slideOut|layerFrom|layerTo|layerStyleFrom|layerStyleTo|layerShouldBeConverted|shouldBeConverted|afterIn|append|views|changingSlides|bgWrapper|clipWrapper|percW|percH|percentWidth|percentHeight|update|wrapped|firstStart|pausedByVideo|normalized|http|videoURL|createPlayer||title|byline|portrait|setHover|always|slidebuttons|250|touchmove|originalEvent|isPopup|marginRight|styleProperties|up|col|scale2D|curNext|timeout|down|calculateTransformProperties|Linear|easeNone|initialized|forcehide|pluginsNotLoaded|pluginsPath|CreativeSlider|prependTo|startInViewport|pauseLayers|navStartStop|tnHeight|scrollModifier|autoPlayVideos|autoPauseSlideshow|errorText|timeShift|durationMove|backgroundvideo|inLayerShouldBeConverted|inClipShouldBeConverted|outLayerShouldBeConverted|loopClipShouldBeConverted|durationOut|allinandloopend|mediaLayer|easeInOutQuint|nodesTo|slidechangeonly|min|9999|inLayerTo|inLayerStyleShouldBeConvertedTo|outLayerTo|outLayerStyleShouldBeConvertedFrom|originalWidth|true|slideInSequence|location|getAttribute|isSafari|setBackgroundVideo|notactive|pausedByHover|pausedByLastCycle|unselectable|prevNext|preloadingImages|stopped|playingInCurSlide|https|videoElement|head|clearInterval|stopBackgroundVideo|originalLeft|originalRight|originalTop|originalBottom|hoverImage|buttonStart|buttonStop|setStartStop|containerElementWidth|touchEndX||touchNext|touchPrev|onCompleteCallback|responsiveLayers|skinWidth||layersWidth|skinHeight|getXY|overflowWrapper|disable|inside|mouseMove|setRandomProperties|centerDegree|transformPropertiesCalculated|offsetLeft|info|meta|getSelection|vimeoIsReady|pluginsLoaded|currentScript|scriptPath|the|layersContainerWidth|clipSlideTransition|sliderFadeInDuration|twoWaySlideshow|750|navButtons|hoverBottomNav|tnContainerWidth|backgroundSize|backgroundPosition|durationLeave|fillmode|showUntil|blur|hue|onSlide|staticfrom|staticto|clipFrom|layerStyleShouldBeConvertedFrom|layerStyleShouldBeConvertedTo|nodesFrom|afterLoop||bgFrom|bgTo|||inLayerStyleToCSS||outLayerStyleFromCSS|outLayerStyleTo|outClipTo|textOutNodesFrom|loopTo|calculatedTimeShift|originalHeight|getURL|png|layerSliderCustomTransitions|scrollTop|easeInOut|bgOuterWrapper|150|lineHeight|letterSpacing|substring|prop|bgvideo|nocookie|youtu|bgonly|notstatic|desktop|slideBGWrapper|empty|randomized|disabled|curCycle|endedInCurSlide|saved|setProperties|setMediaElements|Date|now|YT|setInterval|playMedia|hideThumbnail|checkSlideshowState|removeFromTimeline|playBackgroun
1849dVideo|events|seekTo|videoEnded|showThumbnail|ready|clone|bullets|inner|ontouchstart|pageX|fadeTo|sliderElement|loadingIndicator|touchStartX|forceDirection|sizes|srcset|srcSet|shouldResize|addEventListener|viewport|select|name|back|180|scrollBackwards|onReverseComplete|addLayers|mouseEnter|under|_tween|updateTo||defaultProperties|shadowIsChecked|animate2D|animate3D|2e3|splice|global|wp|lastDirection|navigator|userAgent|onmousewheel|popup|GSAP|slidersList|lsScript|jquery|are|checkVersions|toString|originalMarkup|uid|lsDataArraySplitChar|fitScreenWidth|insertSelector|playByScrollSkipSlideBreaks|slideshowOnly|forceCycles|skins|navPrevNext|tnWidth|tnActiveOpacity|tnInactiveOpacity|parallaxCenterDegree|parallaxSensitivity|parallaxCenterLayers|yourLogoLink|hideOnMobile|hideOver|slideOnSwipe|useSrcset|transitionDuration|axis|easein|easeout|alwaysOnTop|splitTypeKeys|textoutandloopend|alloutandloopend|relative|wrapperOnSlideChange|loopWrapperOnSlideChange|inLayerStyleTo|inClipTo|outLayerFrom|outLayerFromCSS|outLayerStyleFrom|outClipToCSS|loopFromCSS|loopClipTo|hoverFrom|hoverFromCSS|hoverTo|smartLinks|tnAlt|slidesData|hash|linkto|last|outer|wrapperData|styles|randomProperties|words|mix|blend|mode|customZIndex|shuffleArray|indexOfSlideInSequence|cycleSlideIndex|imagesOfSlide|waitingForYouTube|waitingForVimeo|rel|loadYouTube|isYouTubeReady|loaded|preloadBackgroundVideo|shouldPlay|playVideo|loadVimeo|isVimeoReady|videopreview|playIfAllowed|forceHide|hoverWrapperInner|switchHelper|alt|skinLoad1|skinLoad2|skinLoad3|skinLoad4|progressBarElement|elementWidth|calc|started|clientX||popupIsVisible|currentSrc|setLayers|originalLayer|waitForJSApisLoaded|parentWithNumericWidthValue|parentWithNumericWidthValuePercent|fitheight|heroTop|layersHeight|fixedsize||stretch|layerSliderTransitions|willBePaused|isPreloaded|slideTransition|setTransition|sortArray|nextTiles|topleft|bottomright|topright|bottomleft|origin|concat|scrollForward|mouseLeave|setNodesSequence|modifyTimeScale|over|canhover|hoverIn|hovered|centerLayers|orientationchange|addShadow|gamma|beta|slice|onCompleteParams|usesFileProtocol|files|has|been|pluginLoaded|hideWelcomeMessage|sliderVersion|getPropertyValue|showHide|content|WordPress|getDimensions|scale3d|_properties|setter|removeSelection|requestFullscreen|exit|toggle|exitFullscreen|winScrollLeft|LS_GSAP|webshopworks|showNotice|issue|It|looks|like|your||library|oldjquery|you|notification|strong|removeSlider|preventSliderClip|allowFullscreen|layersContainerHeight|insertMethod|slideBGPosition|preferBlendMode|playByScrollSpeed|playByScrollStart|globalBGRepeat|globalBGAttachment|globalBGSize|globalBGPosition|keybNav|touchNav|hoverPrevNext|showBarTimer|showCircleTimer|showSlideBarTimer|youtubePreview|parallaxScrollReverse|yourLogoStyle|10px|yourLogoTarget|optimizeForMobile|hideUnder|allowRestartOnResize|hashChange|transitionorigami|kenburnspan|pan|kenburnszoom|kenburnsrotation|kenburnsrotate|kenburnsscale|parallaxtype|parallaxevent|parallaxaxis|parallaxtransformorigin|parallaxdurationmove|parallaxdurationleave|parallaxrotate|parallaxrotation|parallaxdistance|parallaxtransformperspective|keyframe|timelineHierarchy|transitioninandloopend|textinandloopend|alloutend|brightness||contrast|grayscale|invert|saturate|sepia|imageLayer|05|linear|wrapperOnTimelineEnd|inLayerFrom|inLayerStyleFrom|inClipFrom|inClipFromCSS|inClipToCSS|loopFrom|loopClipToCSS|tn|getALT|dark|nothumb|slideIndexes|nextSlideIndex|normalizedSequence|parentNode|linkTo|docHeight|slidertop|sliderbottom|linkedToSlide|parallaxWrapperData|addLayer|preloadedWidth|preloadedHeight|line|startat|shift|fade|isOld|lines|slideout|nocontrol
1849s|backgroundImage|charAt|instanceof|wrapping|bgVideosWrapper|translateZ|forceLoopNum|sequences|slideChangeWillStart|amp|smart|wmode|opaque|videoThumbnailURL|iframe_api|setVolume|addEvent|currentTime|volumeIsSet|createStartStop|createSides|above|absolute|sides|createStyleSheet|stylesheet|btmMod|resizeShadow|timer|hider|half|touchX|touchstart|touchend|loading|keyboard|touch|which|lazy|canShow|thumbnailsAreLoaded|Image|preloadedImagesCount|waitForWrap|sliderWillResize|resetSlideTimelines|sliderDidResize|getSliderClosestParentElementWidthNumericValueOfProperty|fitwidth|hero|fixed|contain|Width|Height|rect|sw|directionAtSlideTransitionStart|forced|overflowx|overflowy|_gsTransform|slideTransitionType|transitionType|slideChangeDidStart|changeBackgroundVideo|call|slideChangeWillComplete|prepare|applyBG|slideChangeDidComplete|supports3D|custom3d|custom2d|countProp|horizontal|large|depth||0px||front|mirror|curtile|nexttile|autoRemoveChildren|resetStates|slideTimelineDidStart||slideTimelineDidReverseComplete|shouldReplay|slideTimelineDidUpdate|slideTimelineDidCreate||reversed|slideTimelineDidComplete|resetNodes|staggerFromTo|createTimeline|reverseTimeScale|hoverOut|supportOrientation|deviceTurn|removeShadow|4e3|fadeInDuration|reverseDuration|namespace|file|Plugin|checkLoaded|pluginData|requiredLSVersion|sliderWillLoad|oldProperties|docs|getComputedStyle|parents|deltaY|scroll2|checkPosition|setBasicEvents|sliderDidLoad|shouldBeDestroyed|destroy|easeinout|scaleZ|slideshowStateDidChange|slideshowDidPause|slideshowDidResume|clearTimers|clearTimelines|clearEvents|iPhone|iPod|iPad|DOMMouseScroll|onwheel|ontouchmove|onkeydown|preventDefaultForScrollKeys|removeEventListener|removeAllRanges|selection|enter|screen|scrollLeft|sliderDidDestroy|sholudBeRemoved|sliderDidRemove|layersIn|layersOut|preserve|Multiple|that||another|module|theme|loads|extra|copy|causing|problems|sliders|Old|using|old|requires|least|newer|logo|insertBefore|Number|prototype|use|strict|LS|substr|defaultInitOptions|sliderInitOptions|gsap|_LS|350|v6|maxresdefault|jpg|_self|staticImage|UID|slidedelay|timeshift|transitionduration|backgroundsize|bgsize|backgroundposition|bgposition|backgroundcolor|bgcolor|filterfrom|filterto|mirrortransitions|fadein|opacityin|rotatein|rotatexin|rotateyin|rotationin|rotationxin|rotationyin|scalein|scalexin|scaleyin|skewxin|skewyin|bgcolorin|colorin|radiusin|widthin|heightin|filterin|rotatex|rotatey|rotationx|rotationy|scalex|scaley|skewx|skewy|transformoriginin|offsetxin|offsetyin|clipin|delayin|startatin|instartat|durationin|easingin|transitionin|textfadein|textopacityin|textrotatein|textrotatexin|textrotateyin|textrotationin|textrotationxin|textrotationyin|textscalein|textscalexin|textscaleyin|textskewxin|textskewyin|texteasein|texteasingin|texttransformoriginin|textoffsetxin|textoffsetyin|texttypein|textshiftin|textdelayin|textstartatin|textinstartat|textdurationin|texttransitionin|fadeout|opacityout|rotateout|rotatexout||rotateyout||rotationout|rotationxout|rotationyout|scaleout|scalexout|scaleyout|skewxout|skewyout||bgcolorout|colorout|radiusout||widthout|heightout|filterout|transformoriginout|offsetxout|offsetyout|clipout|showuntil|startatout|outstartat|durationout|easingout|transitionout|textfadeout|textopacityout|textrotateout|textrotatexout|textrotateyout|textrotationout|textrotationxout|textrotationyout|textscaleout|textscalexout|textscaleyout|textskewxout|textskewyout|texteaseout|texteasingout|texttransformoriginout|textoffsetxout|textoffsetyout|texttypeout|textshiftout|textdelayout|textstartatout|textoutstartat|textdurationout|texttransitionout|loopopacity|looprotate|looprotatex|looprotatey|looprotation|looprotationx|looprotationy|loopscale|loopscalex|loopscaley|loopskewx|loopskewy|looptransformorigin|loopoffsetx|loopoffsety|loopfilter|loopclip|loopdelay|loopstartat||loopduration|loopcount|looprepeatdelay|loopyoyo|loopease|loopeasing|hoveropacity|hoverrotate|hoverrotatex|hoverrotatey|hoverrotation|hoverrotationx|hoverrotationy|hoverscale|hoverscalex|hoverscaley|hoverskewx|hoverskewy|hoverbgcolor|hovercolor|hoverease|hovereasing|hovereasein|hovereasingin|hovereaseout|hovereasingout|hoverduration|hoverdurationin|hoverdurationout|hoveralwaysontop|hoveroffsetx|hoveroffsety|hoverfilter|hoverborderradiu
1849s|hoverradius|hovertransformorigin|parallaxlevel|transformperspective|transformperspectivein|transformperspectiveout|texttransformperspective|texttransformperspectivein|texttransformperspectiveout|looptransformperspective|hovertransformperspective|chars_asc|chars_desc|chars_rand|chars_center|chars_edge|words_asc|words_desc|words_rand|words_center|words_edge|lines_asc|lines_desc||lines_rand|lines_center|lines_edge||slideIn|textInNodesToCSS|continue|setAttribute|removeAttribute|scrollHeight|pagetop|pagebottom|documentElement|Quint|clicked|pointer|clipWrapperData|loopWrapperData|getBoundingClientRect|640|360|webkitFilter|styleWidth|styleHeight|borderTopLeftRadius|borderTopRightRadius|borderBottomRightRadius|borderBottomLeftRadius|font|size|letter|spacing|dataLS|converted|chars|slidein|forever|removeProp|SplitType|101|3e3|nextLoop|merge|forceStop|dequeue|restart|errors|enablejsapi|vi|embed|mute|www||onYouTubeIframeAPIReady|Player|onReady|onStateChange|pauseVideo|vimeocdn|froogaloop2||javascript|Froogaloop|player_id||v2|json|callback|getJSON|thumbnail_large|finish|ended|playvideo|remainingSlideDuration|yourlogo|bock|textDecoration|outline|sideleft|sideright|touchscroll|below|600|insertAfter|progressbar|mousedown|mouseup|indicator|400|keydown|isAnimating|isPreloading|map|apply|gif|base64|R0lGODlhAQABAIAAAAAAAP|yH5BAEAAAAALAAAAAABAAEAAAIBRAA7|offsetX|offsetY|1025|767|768|inherit|item|sh|disbaled|0deg|01|_no|found_|leaveOverflow|obj|custom|carousel|crossfad|curtiles|nexttiles|vertical|mixed|translate3d|getTweensOf|seek|slideTimeline|layersOnSlideTimeline|slideTimelineDuration|popupShouldStart|Quad|Sine|addPause|looplayers|addCallback||_reversed|onReverseCompleteParams|999999px|deviceorientation|orientation|pageY|desc|rand|sort|edge|char|word|Cannot|Please|include|manually|missing|added|but|source|found|page|ajax|dataType|success|Additional|complete|Required|have|outerHTML|log|Find|updates|and|creative|clientWidth|clientHeight|fix|fitvidsignore|backgrounds|backgroundRepeat|backgroundAttachment|wpVersion|lswpVersion|wheel|clientY|Left|Top|sliderleft|sliderright|slidercenter|slidermiddle|middle|swing|toUpperCase|easeInOutQuart|false|NaN|firstLayer|loops|layersContainer|sublayerContainer|randomSlideshow|killTweensOf|Android|BlackBerry|BB10|webOS|Windows|Phone|mobi|opera|mini|nexus|DeviceOrientationEvent|preventdefault|returnValue|keyCode|fullscreenEnabled|webkitFullscreenEnabled|mozFullScreenEnabled|msFullscreenEnabled|webkitRequestFullscreen|mozRequestFullScreen|msRequestFullscreen|webkitExitFullscreen|mozCancelFullScreen|msExitFullscreen|fullscreenchange|webkitfullscreenchange|mozfullscreenchange|msfullscreenchange|dblclick|fullscreenElement|webkitFullscreenElement|mozFullScreenElement|msFullscreenElement|docWidth|pageYOffset|pageXOffset|_data|previousSlide|startSlideshow|openPopup|closePopup|updateLayerData|redrawSlider|redraw|replaySlide|reverseSlide|stopSlideshow|pauseSlider|resumePopup|resumeSlider|001|toggleSlider|resetSlider|resetSlide|resetCurrentSlide|removeData|userData|slideChangeTimeline|Safari|Opera|Chrome|Edge|perspective|OPerspective|msPerspective|MozPerspective|WebkitPerspective|transformStyle|OTransformStyle|msTransformStyle|MozTransformStyle|WebkitTransformStyle|test3d|offsetHeight|rident'.split('|'),0,{}));;/*! Creative Slider - Responsive Slideshow
1850 * https://creativeslider.webshopworks.com
1851 * Copyright 2015-2020 WebshopWorks
1852 * Not allowed to resell or redistribute this software */
1853eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('2c 23={2b:[{i:"Z M D",d:1,g:1,f:{e:0,j:"o"},c:{n:"V",a:"1f",b:G,h:"s"}},{i:"Z M s",d:1,g:1,f:{e:0,j:"o"},c:{n:"V",a:"1f",b:G,h:"D"}},{i:"Z M L",d:1,g:1,f:{e:0,j:"o"},c:{n:"V",a:"1f",b:G,h:"H"}},{i:"Z M H",d:1,g:1,f:{e:0,j:"o"},c:{n:"V",a:"1f",b:G,h:"L"}},{i:"2a",d:1,g:1,f:{e:0,j:"o"},c:{n:"14",a:"1f",b:G,h:"s"}},{i:"Y P o",d:[2,4],g:[4,7],f:{e:1j,j:"o"},c:{n:"14",a:"y",b:G,h:"s"}},{i:"Y P F",d:[2,4],g:[4,7],f:{e:1j,j:"F"},c:{n:"14",a:"y",b:G,h:"s"}},{i:"Y P 1i-o",d:[2,4],g:[4,7],f:{e:1j,j:"1i-o"},c:{n:"14",a:"y",b:G,h:"s"}},{i:"Y P 1i-F",d:[2,4],g:[4,7],f:{e:1j,j:"1i-F"},c:{n:"14",a:"y",b:G,h:"s"}},{i:"Y P (k)",d:[2,4],g:[4,7],f:{e:1j,j:"k"},c:{n:"14",a:"y",b:G,h:"s"}},{i:"1z 1A M D",d:1,g:1u,f:{e:25,j:"F"},c:{n:"14",a:"29",b:U,h:"s"}},{i:"1z 1A M s",d:1,g:1u,f:{e:25,j:"o"},c:{n:"14",a:"u",b:U,h:"s"}},{i:"1z 1A M L",d:1u,g:1,f:{e:25,j:"1i-F"},c:{n:"14",a:"u",b:U,h:"s"}},{i:"1z 1A M H",d:1u,g:1,f:{e:25,j:"1i-o"},c:{n:"14",a:"u",b:U,h:"s"}},{i:"1z X M D",d:1,g:25,f:{e:1j,j:"F"},c:{n:"V",a:"u",b:1a,h:"s"}},{i:"1z X M s",d:1,g:25,f:{e:1j,j:"o"},c:{n:"V",a:"u",b:1a,h:"D"}},{i:"1z 28 M L",d:25,g:1,f:{e:1j,j:"1i-F"},c:{n:"V",a:"u",b:1a,h:"H"}},{i:"1z X M H",d:25,g:1,f:{e:1j,j:"1i-o"},c:{n:"V",a:"u",b:1a,h:"L"}},{i:"Z P m D (k)",d:[2,4],g:[4,7],f:{e:1b,j:"k"},c:{n:"V",a:"y",b:1n,h:"D"}},{i:"Z P m s (k)",d:[2,4],g:[4,7],f:{e:1b,j:"k"},c:{n:"V",a:"y",b:1n,h:"s"}},{i:"Z P m L (k)",d:[2,4],g:[4,7],f:{e:1b,j:"k"},c:{n:"V",a:"y",b:1n,h:"L"}},{i:"Z P m H (k)",d:[2,4],g:[4,7],f:{e:1b,j:"k"},c:{n:"V",a:"y",b:1n,h:"H"}},{i:"Z k P m k 1R",d:[2,4],g:[4,7],f:{e:1b,j:"k"},c:{n:"V",a:"y",b:1n,h:"k"}},{i:"Z d m D (o)",d:[7,11],g:1,f:{e:1d,j:"o"},c:{n:"V",a:"u",b:p,h:"D"}},{i:"Z d m D (F)",d:[7,11],g:1,f:{e:1d,j:"F"},c:{n:"V",a:"u",b:p,h:"D"}},{i:"Z d m D (k)",d:[7,11],g:1,f:{e:1d,j:"k"},c:{n:"V",a:"u",b:p,h:"D"}},{i:"Z d m s (o)",d:[7,11],g:1,f:{e:1d,j:"o"},c:{n:"V",a:"u",b:p,h:"s"}},{i:"Z d m s (F)",d:[7,11],g:1,f:{e:1d,j:"F"},c:{n:"V",a:"u",b:p,h:"s"}},{i:"Z d m s (k)",d:[7,11],g:1,f:{e:1d,j:"k"},c:{n:"V",a:"u",b:p,h:"s"}},{i:"Z d M H m L (o)",d:[7,11],g:1,f:{e:1d,j:"o"},c:{n:"V",a:"u",b:p,h:"L"}},{i:"Z d M H m L (k)",d:[7,11],g:1,f:{e:1d,j:"k"},c:{n:"V",a:"u",b:p,h:"L"}},{i:"Z d M L m H (F)",d:[7,11],g:1,f:{e:1d,j:"F"},c:{n:"V",a:"u",b:p,h:"H"}},{i:"Z d M L m H (k)",d:[7,11],g:1,f:{e:1d,j:"k"},c:{n:"V",a:"u",b:p,h:"H"}},{i:"Z N m L (o)",d:1,g:[12,16],f:{e:q,j:"o"},c:{n:"V",a:"u",b:p,h:"L"}},{i:"Z N m L (F)",d:1,g:[12,16],f:{e:q,j:"F"},c:{n:"V",a:"u",b:p,h:"L"}},{i:"Z N m L (k)",d:1,g:[12,16],f:{e:q,j:"k"},c:{n:"V",a:"u",b:p,h:"L"}},{i:"Z N m H (o)",d:1,g:[12,16],f:{e:q,j:"o"},c:{n:"V",a:"u",b:p,h:"H"}},{i:"Z N m H (F)",d:1,g:[12,16],f:{e:q,j:"F"},c:{n:"V",a:"u",b:p,h:"H"}},{i:"Z N m H (k)",d:1,g:[12,16],f:{e:q,j:"k"},c:{n:"V",a:"u",b:p,h:"H"}},{i:"Z N M s m D (o)",d:1,g:[12,16],f:{e:q,j:"o"},c:{n:"V",a:"u",b:p,h:"D"}},{i:"Z N M s m D (k)",d:1,g:[12,16],f:{e:q,j:"k"},c:{n:"V",a:"u",b:p,h:"D"}},{i:"Z N M D m s (F)",d:1,g:[12,16],f:{e:q,j:"F"},c:{n:"V",a:"u",b:p,h:"s"}},{i:"Z N M D m s (k)",d:1,g:[12,16],f:{e:q,j:"k"},c:{n:"V",a:"u",b:p,h:"s"}},{i:"Y t X P m D (k)",d:[2,4],g:[4,7],f:{e:1b,j:"k"},c:{n:"Q",a:"y",b:1n,h:"D"}},{i:"Y t X P m s (k)",d:[2,4],g:[4,7],f:{e:1b,j:"k"},c:{n:"Q",a:"y",b:1n,h:"s"}},{i:"Y t X P m L (k)",d:[2,4],g:[4,7],f:{e:1b,j:"k"},c:{n:"Q",a:"y",b:1n,h:"L"}},{i:"Y t X P m H (k)",d:[2,4],g:[4,7],f:{e:1b,j:"k"},c:{n:"Q",a:"y",b:1n,h:"H"}},{i:"Y t X k P m k 1R",d:[2,4],g:[4,7],f:{e:1b,j:"k"},c:{n:"Q",a:"y",b:1n,h:"k"}},{i:"Y t X P M H-s (o)",d:[2,4],g:[4,7],f:{e:1b,j:"o"},c:{n:"Q",a:"y",b:1n,h:"27"}},{i:"Y t X P M L-D (F)",d:[2,4],g:[4,7],f:{e:1b,j:"F"},c:{n:"Q",a:"y",b:1n,h:"1Z"}},{i:"Y t X P M H-D (k)",d:[2,4],g:[4,7],f:{e:1b,j:"k"},c:{n:"Q",a:"y",b:1n,h:"1T"}},{i:"Y t X P M L-s (k)",d:[2,4],g:[4,7],f:{e:1b,j:"k"},c:{n:"Q",a:"y",b:1n,h:"24"}},{i:"Y t X d m D (o)",d:[7,11],g:1,f:{e:1d,j:"o"},c:{n:"Q",a:"u",b:p,h:"D"}},{i:"Y t X d m D (F)",d:[7,11],g:1,f:{e:1d,j:"F"},c:{n:"Q",a:"u",b:p,h:"D"}},{i:"Y t X d m D (k)",d:[7,11],g:1,f:{e:1d,j:"k"},c:{n:"Q",a:"u",b:p,h:"D"}},{i:"Y t X d m s (o)",d:[7,11],g:1,f:{e:1d,j:"o"},c:{n:"Q",a:"u",b:p,h:"s"}},{i:"Y t X d m s (F)",d:[7,11],g:1,f:{e:1d,j:"F"},c:{n:"Q",a:"u",b:p,h:"s"}},{i:"Y t X d m s (k)",d:[7,11],g:1,f:{e:1d,j:"k"},c:{n:"Q",a:"u",b:p,h:"s"}},{i:"Y t X d M H m L (o)",d:[7,11],g:1,f:{e:1d,j:"o"},c:{n:"Q",a:"u",b:p,h:"L"}},{i:"Y t X d M H m L (k)",d:[7,11],g:1,f:{e:1d,j:"k"},c:{n:"Q",a:"u",b:p,h:"L"}},{i:"Y t X d M L m H (F)",d:[7,11],g:1,f:{e:1d,j:"F"},c:{n:"Q",a:"u",b:p,h:"H"}},{i:"Y t X d M L m H (k)",d:[7,11],g:1,f:{e:1d,j:"k"},c:{n:"Q",a:"u",b:p,h:"H"}},{i:"Y t X N m L (o)",d:1,g:[12,16],f:{e:q,j:"o"},c:{n:"Q",a:"u",b:p,h:"L"}},{i:"Y t X N m L (F)",d:1,g:[12,16],f:{e:q,j:"F"},c:{n:"Q",a:"u",b:p,h:"L"}},{i:"Y t X N m L (k)",d:1,g:[12,16],f:{e:q,j:"k"},c:{n:"Q",a:"u",b:p,h:"L"}},{i:"Y t X N m H (o)",d:1,g:[12,16],f:{e:q,j:"o"},c:{n:"Q",a:"u",b:p,h:"H"}},{i:"Y t X N m H (F)",d:1,g:[12,16],f:{e:q,j:"F"},c:{n:"Q",a:"u",b:p,h:"H"}},{i:"Y t X N m H (k)",d:1,g:[12,16],f:{e:q,j:"k"},c:{n:"Q",a:"u",b:p,h:"H"}},{i:"Y t X N M s m D (o)",d:1,g:[12,16],f:{e:q,j:"o"},c:{n:"Q",a:"u",b:p,h:"D"}},{i:"Y t X N M s m D (k)",d:1,g:[12,16],f:{e:q,j:"k"},c:{n:"Q",a:"u",b:p,h:"D"}},{i:"Y t X N M D m s (F)",d:1,g:[12,16],f:{e:q,j:"F"},c:{n:"Q",a:"u",b:p,h:"s"}},{i:"Y t X N M D m s (k)",d:1,g:[12,16],f:{e:q,j:"k"},c:{n:"Q",a:"u",b:p,h:"s"}},{i:"1v",d:1,g:1,f:{e:0,j:"o"},c:{n:"Q",a:"1f",b:U,h:"s",1g:.5}},{i:"1v d",d:4,g:1,f:{e:1b,j:"o"},c:{n:"Q",a:"1f",b:U,h:"s",1g:.5}},{i:"1v g",d:1,g:4,f:{e:1b,j:"o"},c:{n:"Q",a:"1f",b:U,h:"s",1g:.5}},{i:"1v P z",d:3,g:4,f:{e:1u,j:"o"},c:{n:"Q",a:"1f",b:U,h:"s",1g:.5,x:v}},{i:"1v P C",d:3,g:4,f:{e:1u,j:"o"},c:{n:"Q",a:"1f",b:U,h:"H",1g:.5,w:-v}},{i:"1v-1L P z",d:3,g:4,f:{e:15,j:"o"},c:{n:"Q",a:"1f",b:U,h:"s",1g:.5,x:v}},{i:"1v-1L P C",d:3,g:4,f:{e:15,j:"o"},c:{n:"Q",a:"1f",b:U,h:"H",1g:.5,w:-v}},{i:"1v 1L d",d:4,g:1,f:{e:1b,j:"o"},c:{n:"Q",a:"1f",b:U,h:"D",1g:.5}},{i:"1v 1L g",d:1,g:4,f:{e:1b,j:"o"},c:{n:"Q",a:"1f",b:U,h:"s",1g:.5}},{i:"1c f M s",d:1,g:1,f:{e:0,j:"o"},c:{n:"V",a:"y",b:U,h:"D",x:v}},{i:"1c f M D",d:1,g:1,f:{e:0,j:"o"},c:{n:"V",a:"y",b:U,h:"s",x:-v}},{i:"1c f M H",d:1,g:1,f:{e:0,j:"o"},c:{n:"V",a:"y",b:U,h:"L",w:-v}},{i:"1c f M L",d:1,g:1,f:{e:0,j:"o"},c:{n:"V",a:"y",b:U,h:"H",w:v}},{i:"1c P M s",d:[3,4],g:[3,4],f:{e:19,j:"o"},c:{n:"14",a:"y",b:U,h:"s",x:v}},{i:"1c P M D",d:[3,4],g:[3,4],f:{e:19,j:"F"},c:{n:"14",a:"y",b:U,h:"s",x:-v}},{i:"1c P M H",d:[3,4],g:[3,4],f:{e:19,j:"o"},c:{n:"14",a:"y",b:U,h:"s",w:-v}},{i:"1c P M L",d:[3,4],g:[3,4],f:{e:19,j:"F"},c:{n:"14",a:"y",b:U,h:"s",w:v}},{i:"1c d M H",d:[6,12],g:1,f:{e:19,j:"o"},c:{n:"14",a:"y",b:U,h:"s",w:v}},{i:"1c d M L",d:[6,12],g:1,f:{e:19,j:"F"},c:{n:"14",a:"y",b:U,h:"s",w:-v}},{i:"1c g M s",d:1,g:[6,12],f:{e:19,j:"o"},c:{n:"14",a:"y",b:U,h:"s",x:-v}},{i:"1c g M D",d:1,g:[6,12],f:{e:19,j:"F"},c:{n:"14",a:"y",b:U,h:"s",x:v}},{i:"1w d M s",d:[3,10],g:1,f:{e:19,j:"o"},c:{n:"14",a:"y",b:U,h:"s",x:v}},{i:"1w d M D",d:[3,10],g:1,f:{e:19,j:"F"},c:{n:"14",a:"y",b:U,h:"s",x:-v}},{i:"1w g M H",d:1,g:[3,10],f:{e:19,j:"o"},c:{n:"14",a:"y",b:U,h:"s",w:-v}},{i:"1w g M L",d:1,g:[3,10],f:{e:19,j:"F"},c:{n:"14",a:"y",b:U,h:"s",w:v}},{i:"1w t 1s f M s",d:1,g:1,f:{e:q,j:"o"},c:{n:"Q",a:"y",b:U,h:"D",1g:.1,1r:-v,x:v}},{i:"1w t 1s f M D",d:1,g:1,f:{e:q,j:"o"},c:{n:"Q",a:"y",b:U,h:"s",1g:.1,1r:v,x:-v}},{i:"1w t 1s P M s",d:[3,4],g:[3,4],f:{e:19,j:"o"},c:{n:"Q",a:"y",b:U,h:"D",1r:-1q}},{i:"1w t 1s P M D",d:[3,4],g:[3,4],f:{e:19,j:"o"},c:{n:"Q",a:"y",b:U,h:"s",1r:-1q}},{i:"1w t 1s P M k",d:[3,4],g:[3,4],f:{e:19,j:"k"},c:{n:"Q",a:"y",b:U,h:"k",1r:-1q}},{i:"E f 1Q",d:1,g:1,f:{e:0,j:"o"},c:{n:"14",a:"y",b:13,h:"s",1g:.8}},{i:"E f M 1M",d:1,g:1,f:{e:0,j:"o"},c:{n:"14",a:"u",b:13,h:"s",1g:1.2}},{i:"E P k",d:[3,4],g:[3,4],f:{e:1u,j:"k"},c:{n:"14",a:"y",b:U,h:"s",1g:.1}},{i:"E P M 1M k",d:[3,4],g:[3,4],f:{e:1u,j:"k"},c:{n:"14",a:"y",b:U,h:"s",1g:2}},{i:"E 1Q t 1s P k",d:[3,4],g:[3,4],f:{e:1u,j:"k"},c:{n:"14",a:"y",b:U,h:"s",1g:.1,1r:v}},{i:"E t 1s P M 1M k",d:[3,4],g:[3,4],f:{e:1u,j:"k"},c:{n:"14",a:"y",b:U,h:"s",1g:2,1r:-v}},{i:"1F-X P 22",d:3,g:4,f:{e:15,j:"o"},c:{n:"V",a:"u",b:26,h:"1T"}},{i:"1F-X d z",d:6,g:1,f:{e:0,j:"o"},c:{n:"Q",a:"y",b:U,h:"s"}},{i:"1F-X d C",d:6,g:1,f:{e:0,j:"o"},c:{n:"Q",a:"y",b:U,h:"H"}},{i:"1F-X g z",d:1,g:8,f:{e:0,j:"o"},c:{n:"Q",a:"y",b:U,h:"s"}},{i:"1F-X g C",d:1,g:8,f:{e:0,j:"o"},c:{n:"Q",a:"y",b:U,h:"H"}},{i:"Z d m D (1J)",d:10,g:1,f:{e:10,j:"k"},c:{n:"V",a:"u",b:13,h:"D"}},{i:"Z d m s (1J)",d:10,g:1,f:{e:10,j:"k"},c:{n:"V",a:"u",b:13,h:"s"}},{i:"Z N m L (1J)",d:1,g:15,f:{e:8,j:"k"},c:{n:"V",a:"u",b:13,h:"L"}},{i:"Z N m H (1J)",d:1,g:15,f:{e:8,j:"k"},c:{n:"V",a:"u",b:13,h:"H"}}],20:[{i:"1e f m D (l°)",d:1,g:1,f:{e:q,j:"o"},r:{c:{x:1K},a:"1y",b:G,h:"z"},A:{c:{x:l},a:"y",b:G,h:"z"}},{i:"1e f m s (l°)",d:1,g:1,f:{e:q,j:"o"},r:{c:{x:-1K},a:"1y",b:G,h:"z"},A:{c:{x:-l},a:"y",b:G,h:"z"}},{i:"1e f m L (l°)",d:1,g:1,f:{e:q,j:"o"},r:{c:{w:-1K},a:"1y",b:1B,h:"C"},A:{c:{w:-l},a:"y",b:1B,h:"C"}},{i:"1e f m H (l°)",d:1,g:1,f:{e:q,j:"o"},r:{c:{w:1K},a:"1y",b:1B,h:"C"},A:{c:{w:l},a:"y",b:1B,h:"C"}},{i:"1e P m D (l°)",d:[2,4],g:[4,7],f:{e:q,j:"o"},r:{c:{x:l},a:"u",b:G,h:"z"}},{i:"1e P m s (l°)",d:[2,4],g:[4,7],f:{e:q,j:"F"},r:{c:{x:-l},a:"u",b:G,h:"z"}},{i:"1e P m L (l°)",d:[2,4],g:[4,7],f:{e:q,j:"1i-o"},r:{c:{w:-l},a:"u",b:G,h:"C"}},{i:"1e P m H (l°)",d:[2,4],g:[4,7],f:{e:q,j:"1i-F"},r:{c:{w:l},a:"u",b:G,h:"C"}}
1853,{i:"1G T P k (l°)",d:[2,4],g:[4,7],f:{e:q,j:"k"},r:{c:{x:l},a:"u",b:1H,h:"z"}},{i:"1E T P k (l°)",d:[2,4],g:[4,7],f:{e:q,j:"k"},r:{c:{w:l},a:"u",b:1H,h:"C"}},{i:"E t T P m D (l°)",d:[2,4],g:[4,7],f:{e:q,j:"o"},J:{c:{B:.1D},b:1l,a:"18"},r:{c:{x:l},a:"I",b:G,h:"z"},A:{b:1a,a:"I"}},{i:"E t T P m s (l°)",d:[2,4],g:[4,7],f:{e:q,j:"F"},J:{c:{B:.1D},b:1l,a:"18"},r:{c:{x:-l},a:"I",b:G,h:"z"},A:{b:1a,a:"I"}},{i:"E t T P m L (l°)",d:[2,4],g:[4,7],f:{e:q,j:"1i-o"},J:{c:{B:.1D},b:1l,a:"18"},r:{c:{w:-l},a:"I",b:G,h:"C"},A:{b:1a,a:"I"}},{i:"E t T P m H (l°)",d:[2,4],g:[4,7],f:{e:q,j:"1i-F"},J:{c:{B:.1D},b:1l,a:"18"},r:{c:{w:l},a:"I",b:G,h:"C"},A:{b:1a,a:"I"}},{i:"E t z T P k (l°)",d:[2,4],g:[4,7],f:{e:q,j:"k"},J:{c:{B:.1D,w:1j},b:1l,a:"18"},r:{c:{x:l,w:-1j},a:"I",b:1H,h:"z"},A:{c:{w:0},b:1a,a:"I"}},{i:"E t C T P k (l°)",d:[2,4],g:[4,7],f:{e:q,j:"k"},J:{c:{B:.1D,x:-15},b:1l,a:"18"},r:{c:{w:l,x:15},a:"I",b:1H,h:"C"},A:{c:{x:0},b:1a,a:"I"}},{i:"1e d m D (l°)",d:[5,9],g:1,f:{e:q,j:"o"},r:{c:{x:l},a:"u",b:13,h:"z"}},{i:"1e d m s (l°)",d:[5,9],g:1,f:{e:q,j:"o"},r:{c:{x:-l},a:"u",b:13,h:"z"}},{i:"1e d m L (l°)",d:[5,9],g:1,f:{e:q,j:"o"},r:{c:{w:-l},a:"u",b:G,h:"C"}},{i:"1e d m H (l°)",d:[5,9],g:1,f:{e:q,j:"F"},r:{c:{w:l},a:"u",b:G,h:"C"}},{i:"1G T d k (l°)",d:[5,9],g:1,f:{e:q,j:"k"},r:{c:{x:l},a:"u",b:13,h:"z"}},{i:"1E T d k (l°)",d:[5,9],g:1,f:{e:q,j:"k"},r:{c:{w:-l},a:"u",b:13,h:"C"}},{i:"1E T d k (1C°)",d:[3,7],g:1,f:{e:1O,j:"k"},r:{c:{w:-1C},a:"u",b:1P,h:"C"}},{i:"E t T d m D (l°)",d:[5,9],g:1,f:{e:19,j:"o"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:l},a:"I",b:1k,h:"z"},A:{c:{e:W},a:"K",b:p}},{i:"E t T d m s (l°)",d:[5,9],g:1,f:{e:19,j:"F"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:-l},a:"I",b:1k,h:"z"},A:{c:{e:W},a:"K",b:p}},{i:"E t T d m L (l°)",d:[5,9],g:1,f:{e:19,j:"o"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:-l},a:"u",b:p,h:"C"},A:{c:{e:W},a:"K",b:p}},{i:"E t T d m H (l°)",d:[5,9],g:1,f:{e:19,j:"F"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:l},a:"u",b:p,h:"C"},A:{c:{e:W},a:"K",b:p}},{i:"E t z T d k (l°)",d:[5,9],g:1,f:{e:19,j:"k"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:l},a:"I",b:1k,h:"z"},A:{c:{e:W},a:"K",b:p}},{i:"E t C T d k (l°)",d:[5,9],g:1,f:{e:19,j:"k"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:-l},a:"I",b:p,h:"C"},A:{c:{e:W},a:"K",b:p}},{i:"1e N m D (l°)",d:1,g:[5,9],f:{e:q,j:"o"},r:{c:{x:l},a:"u",b:13,h:"z"}},{i:"1e N m s (l°)",d:1,g:[5,9],f:{e:q,j:"o"},r:{c:{x:-l},a:"u",b:13,h:"z"}},{i:"1e N m L (l°)",d:1,g:[5,9],f:{e:q,j:"o"},r:{c:{w:-l},a:"u",b:G,h:"C"}},{i:"1e N m H (l°)",d:1,g:[5,9],f:{e:q,j:"F"},r:{c:{w:l},a:"u",b:G,h:"C"}},{i:"1G T N k (l°)",d:1,g:[5,9],f:{e:q,j:"k"},r:{c:{x:l},a:"u",b:13,h:"z"}},{i:"1E T N k (l°)",d:1,g:[5,9],f:{e:q,j:"k"},r:{c:{w:-l},a:"u",b:13,h:"C"}},{i:"1G T N k (1C°)",d:1,g:[4,9],f:{e:1O,j:"k"},r:{c:{x:1C},a:"u",b:1P,h:"z"}},{i:"E t T N m D (l°)",d:1,g:[7,11],f:{e:19,j:"o"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:l},a:"u",b:p,h:"z"},A:{c:{e:W},a:"K",b:p}},{i:"E t T N m s (l°)",d:1,g:[7,11],f:{e:19,j:"F"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:-l},a:"u",b:p,h:"z"},A:{c:{e:W},a:"K",b:p}},{i:"E t T N m L (l°)",d:1,g:[7,11],f:{e:19,j:"o"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:-l},a:"I",b:1k,h:"C"},A:{c:{e:W},a:"K",b:p}},{i:"E t T N m H (l°)",d:1,g:[7,11],f:{e:q,j:"F"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:l},a:"I",b:1k,h:"C"},A:{c:{e:W},a:"K",b:p}},{i:"E t z T N k (l°)",d:1,g:[7,11],f:{e:q,j:"k"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:l},a:"I",b:p,h:"z"},A:{c:{e:W},a:"K",b:p}},{i:"E t C T N k (l°)",d:1,g:[7,11],f:{e:q,j:"k"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:-l},a:"I",b:1k,h:"C"},A:{c:{e:W},a:"K",b:p}},{i:"1U 1V 1W t T m D (l°)",d:1,g:[7,11],f:{e:q,j:"o"},J:{c:{B:.O,w:-1j},b:p,a:"y"},r:{c:{w:-1j,x:l},a:"u",b:G,h:"z"},A:{c:{w:0,e:W},a:"y",b:p}},{i:"1U 1V 1W t T m s (l°)",d:1,g:[7,11],f:{e:q,j:"F"},J:{c:{B:.O,w:-1j},b:p,a:"y"},r:{c:{w:1j,x:-l},a:"u",b:G,h:"z"},A:{c:{w:0,e:W},a:"y",b:p}},{i:"1c 1t m D (v°)",d:1,g:1,f:{e:q,j:"o"},r:{c:{x:v},a:"u",b:13,h:"z"}},{i:"1c 1t m s (v°)",d:1,g:1,f:{e:q,j:"o"},r:{c:{x:-v},a:"u",b:13,h:"z"}},{i:"1c 1t m L (v°)",d:1,g:1,f:{e:q,j:"o"},r:{c:{w:-v},a:"u",b:13,h:"C"}},{i:"1c 1t m H (v°)",d:1,g:1,f:{e:q,j:"o"},r:{c:{w:v},a:"u",b:13,h:"C"}},{i:"E t 17 1t m D (v°)",d:1,g:1,f:{e:q,j:"k"},r:{c:{B:.8,1r:7,w:10,x:1q},a:"1f",b:1B,h:"z"},A:{c:{1r:0,w:0,x:v},b:1B,a:"1f"}},{i:"E t 17 1t m s (v°)",d:1,g:1,f:{e:q,j:"k"},r:{c:{B:.8,1r:-7,w:10,x:-1q},a:"1f",b:1B,h:"z"},A:{c:{1r:0,w:0,x:-v},b:1B,a:"1f"}},{i:"E t 17 1m m D (v°)",d:[2,4],g:[4,7],f:{e:q,j:"o"},J:{c:{B:.O},b:1l,a:"18"},r:{c:{x:v},a:"I",b:G,h:"z"},A:{b:1a,a:"I"}},{i:"E t 17 1m m s (v°)",d:[2,4],g:[4,7],f:{e:q,j:"F"},J:{c:{B:.O},b:1l,a:"18"},r:{c:{x:-v},a:"I",b:G,h:"z"},A:{b:1a,a:"I"}},{i:"E t 17 1m m L (v°)",d:[2,4],g:[4,7],f:{e:q,j:"1i-o"},J:{c:{B:.O},b:1l,a:"18"},r:{c:{w:-v},a:"I",b:G,h:"C"},A:{b:1a,a:"I"}},{i:"E t 17 1m m H (v°)",d:[2,4],g:[4,7],f:{e:q,j:"1i-F"},J:{c:{B:.O},b:1l,a:"18"},r:{c:{w:v},a:"I",b:G,h:"C"},A:{b:1a,a:"I"}},{i:"E t z 17 1m k (v°)",d:[2,4],g:[4,7],f:{e:q,j:"k"},J:{c:{B:.q,w:-15},b:1p,a:"18"},r:{c:{x:q,w:15},a:"I",b:1p,h:"z"},A:{c:{x:v,w:0},b:1p,a:"I"}},{i:"E t C 17 1m k (v°)",d:[2,4],g:[4,7],f:{e:q,j:"k"},J:{c:{B:.q,x:15},b:1p,a:"18"},r:{c:{w:q,x:-15},a:"I",b:1p,h:"C"},A:{c:{w:v,x:0},b:1p,a:"I"}},{i:"1c d m D (v°)",d:[5,9],g:1,f:{e:q,j:"o"},r:{c:{x:v},a:"u",b:13,h:"z"}},{i:"1c d m s (v°)",d:[5,9],g:1,f:{e:q,j:"o"},r:{c:{x:-v},a:"u",b:13,h:"z"}},{i:"1G 17 d k (v°)",d:[5,9],g:1,f:{e:q,j:"k"},r:{c:{x:v},a:"u",b:13,h:"z"}},{i:"E t 17 d m D (v°)",d:[5,9],g:1,f:{e:q,j:"o"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:21},a:"I",b:G,h:"z"},A:{c:{e:W,x:v},a:"K",b:p}},{i:"E t 17 d m s (v°)",d:[5,9],g:1,f:{e:q,j:"F"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:-v},a:"I",b:G,h:"z"},A:{c:{e:W},a:"K",b:p}},{i:"E t 17 d m L (v°)",d:[5,9],g:1,f:{e:q,j:"o"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:-v},a:"I",b:G,h:"C"},A:{c:{e:W},a:"K",b:p}},{i:"E t 17 d m H (v°)",d:[5,9],g:1,f:{e:q,j:"F"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:v},a:"I",b:G,h:"C"},A:{c:{e:W},a:"K",b:p}},{i:"E t z 17 d k (v°)",d:[5,9],g:1,f:{e:q,j:"k"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:v},a:"I",b:G,h:"z"},A:{c:{e:W},a:"K",b:p}},{i:"E t C 17 d k (v°)",d:[5,9],g:1,f:{e:q,j:"k"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:-v},a:"I",b:G,h:"C"},A:{c:{e:W},a:"K",b:p}},{i:"E t z 17 1I d m D (v°)",d:[7,11],g:1,f:{e:q,j:"o"},r:{c:{B:.O,x:1q},a:"18",b:G,h:"z"},A:{c:{x:v},a:"18",b:G}},{i:"E t z 17 1I d m s (v°)",d:[7,11],g:1,f:{e:q,j:"F"},r:{c:{B:.O,x:-1q},a:"18",b:G,h:"z"},A:{c:{x:-v},a:"18",b:G}},{i:"1c N m L (v°)",d:1,g:[5,9],f:{e:q,j:"o"},r:{c:{w:-v},a:"u",b:G,h:"C"}},{i:"1c N m H (v°)",d:1,g:[5,9],f:{e:q,j:"F"},r:{c:{w:v},a:"u",b:G,h:"C"}},{i:"1E 17 N k (v°)",d:1,g:[5,9],f:{e:q,j:"k"},r:{c:{w:-v},a:"u",b:G,h:"C"}},{i:"E t 17 N m L (v°)",d:1,g:[7,11],f:{e:q,j:"o"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:-v},a:"I",b:G,h:"C"},A:{c:{e:W},a:"K",b:p}},{i:"E t 17 N m H (v°)",d:1,g:[7,11],f:{e:q,j:"F"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:v},a:"I",b:G,h:"C"},A:{c:{e:W},a:"K",b:p}},{i:"E t 17 N m D (v°)",d:1,g:[7,11],f:{e:q,j:"o"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:v},a:"I",b:G,h:"z"},A:{c:{e:W},a:"K",b:p}},{i:"E t 17 N m s (v°)",d:1,g:[7,11],f:{e:q,j:"F"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:-v},a:"I",b:G,h:"z"},A:{c:{e:W},a:"K",b:p}},{i:"E t z 17 N k (v°)",d:1,g:[7,11],f:{e:q,j:"k"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:v},a:"I",b:G,h:"z"},A:{c:{e:W},a:"K",b:p}},{i:"E t C 17 N k (v°)",d:1,g:[7,11],f:{e:q,j:"k"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:-v},a:"I",b:G,h:"C"},A:{c:{e:W},a:"K",b:p}},{i:"E t C 17 1I N m D (v°)",d:1,g:[7,11],f:{e:q,j:"o"},r:{c:{B:.O,w:1q},a:"18",b:G,h:"C"},A:{c:{w:v},a:"18",b:G}},{i:"E t C 17 1I N m s (v°)",d:1,g:[7,11],f:{e:q,j:"F"},r:{c:{B:.O,w:-1q},a:"18",b:G,h:"C"},A:{c:{w:-v},a:"18",b:G}},{i:"1e 1t m D (l°, R S)",d:1,g:1,f:{e:q,j:"o",S:"R"},r:{c:{x:l},a:"u",b:13,h:"z"}},{i:"1e 1t m s (l°, R S)",d:1,g:1,f:{e:q,j:"o",S:"R"},r:{c:{x:-l},a:"u",b:13,h:"z"}},{i:"1e 1t m L (l°, R S)",d:1,g:1,f:{e:q,j:"o",S:"R"},r:{c:{w:-l},a:"u",b:13,h:"C"}},{i:"1e 1t m H (l°, R S)",d:1,g:1,f:{e:q,j:"o",S:"R"},r:{c:{w:l},a:"u",b:13,h:"C"}},{i:"E t T 1m m D (l°, R S)",d:[2,4],g:[4,7],f:{e:q,j:"o",S:"R"},J:{c:{B:.O},b:1l,a:"18"},r:{c:{x:l},a:"I",b:G,h:"z"},A:{b:1a,a:"I"}},{i:"E t T 1m m s (l°, R S)",d:[2,4],g:[4,7],f:{e:q,j:"F",S:"R"},J:{c:{B:.O},b:1l,a:"18"},r:{c:{x:-l},a:"I",b:G,h:"z"},A:{b:1a,a:"I"}},{i:"E t T 1m m L (l°, R S)",d:[2,4],g:[4,7],f:{e:q,j:"1i-o",S:"R"},J:{c:{B:.O},b:1l,a:"18"},r:{c:{w:-l},a:"I",b:G,h:"C"},A:{b:1a,a:"I"}},{i:"E t T 1m m H (l°, R S)",d:[2,4],g:[4,7],f:{e:q,j:"1i-F",S:"R"},J:{c:{B:.O},b:1l,a:"18"},r:{c:{w:l},a:"I",b:G,h:"C"},A:{b:1a,a:"I"}},{i:"E t z T 1m k (l°, R S)",d:[2,4],g:[4,7],f:{e:q,j:"k",S:"R"},J:{c:{B:.1h},b:1p,a:"18"},r:{c:{x:l},a:"I",b:1p,h:"z"},A:{b:1p,a:"I"}},{i:"E t C T 1m k (l°, R S)",d:[2,4],g:[4,7],f:{e:q,j:"k",S:"R"},J:{c:{B:.1h},b:1p,a:"18"},r:{c:{w:l},a:"I",b:1p,h:"C"},A:{b:1p,a:"I"}},{i:"E t T d m D (l°, R S)",d:[5,9],g:1,f:{e:1h,j:"o",S:"R"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:l},a:"u",b:1k,h:"z"},A:{c:{e:W},a:"y",b:1o}},{i:"E t T d m s (l°, R S)",d:[5,9],g:1,f:{e:1h,j:"F",S:"R"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:-l},a:"u",b:1k,h:"z"},A:{c:{e:W},a:"y",b:1o}},{i:"E t T d m L (l°, R S)",d:[5,9],g:1,f:{e:1h,j:"o",S:"R"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:-l},a:"I",b:G,h:"C"},A:{c:{e:W},a:"y",b:1o}},{i:"E t T d m H (l°, R S)",d:[5,9],g:1,f:{e:1h,j:"F",S:"R"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:l},a:"I",b:G,h:"C"},A:{c:{e:W},a:"y",b:1o}},{i:"E t z T d k (l°, R S)",d:[5,9],g:1,f:{e:1h,j:"k",S:"R"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:l},a:"u",b:1k,h:"z"},A:{c:{e:W},a:"y",b:1o}},{i:"E t C T d k (l°, R S)",d:[5,9],g:1,f:{e:1h,j:"k",S:"R"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:-l},a:"I",b:G,h:"C"},A:{c:{e:W},a:"y",b:1o}},{i:"E t T N m L (l°, R S)",d:1,g:[7,11],f:{e:1h,j:"o",S:"R"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:-l},a:"u",b:1k,h:"C"},A:{c:{e:W},a:"y",b:1o}},{i:"E t T N m H (l°, R S)",d:1,g:[7,11],f:{e:1h,j:"F",S:"R"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:l},a:"u",b:1k,h:"C"},A:{c:{e:W},a:"y",b:1o}},{i:"E t T N m D (l°, R S)",d:1,g:[7,11],f:{e:1h,j:"o",S:"R"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:l},a:"I",b:G,h:"z"},A:{c:{e:W},a:"y",b:1o}},{i:"E t T N m s (l°, R S)",d:1,g:[7,11],f:{e:1h,j:"F",S:"R"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:-l},a:"I",b:G,h:"z"},A:{c:{e:W},a:"y",b:1o}},{i:"E t z T N k (l°, R S)",d:1,g:[7,11],f:{e:1h,j:"k",S:"R"},J:{c:{B:.O},b:p,a:"K"},r:{c:{x:l},a:"I",b:G,h:"z"},A:{c:{e:W},a:"y",b:1o}},{i:"E t C T N k (l°, R S)",d:1,g:[7,11],f:{e:1h,j:"k",S:"R"},J:{c:{B:.O},b:p,a:"K"},r:{c:{w:-l},a:"u",b:1k,h:"C"},A:{c:{e:W},a:"y",b:1o}},{i:"1S 1s t 1A 1Y",d:1,g:1,f:{e:1,j:"o",S:"R"},J:{c:{B:.1h,x:-1N,1x:0},b:13,a:"1y"},r:{c:{B:1,x:-1C,1x:1},a:"y",b:13,h:"z"}},{i:"1X 1s t 1A 1Y",d:1,g:1,f:{e:1,j:"o",S:"R"},J:{c:{B:.1h,w:-1N,1x:0},b:13,a:"1y"},r:{c:{B:1,w:-1C,1x:1},a:"y",b:13,h:"C"}},{i:"1S 1s t 1A 1m",d:[2,3],g:[3,5],f:{e:1b,j:"k"},J:{c:{B:.q,1x:0},b:1a,a:"1y"},r:{c:{x:-1q,w:l},a:"u",b:1,h:"C"}
1853,A:{c:{x:0,1x:1},a:"y",b:1k}},{i:"1X 1s t 1A 1m",d:[2,3],g:[3,5],f:{e:1b,j:"k"},J:{c:{B:.q,1x:0},b:1a,a:"1y"},r:{c:{w:-1q,x:l},a:"u",b:1,h:"z"},A:{c:{w:0,1x:1},a:"y",b:1k}}]};',62,137,'||||||||||easing|duration|transition|rows|delay|tile|cols|direction|name|sequence|random|180|to|type|forward|600|75|animation|left|and|easeInOutQuart|90|rotateX|rotateY|easeOutQuart|horizontal|after|scale3d|vertical|right|Scaling|reverse|1e3|top|easeInOutBack|before|easeOutBack|bottom|from|columns|85|tiles|mixed|large|depth|spinning|750|slide|200|sliding|Fading|Sliding||||1500|fade|||turning|easeInOutQuint|55|350|50|Turning|100|Spinning|easeInOutQuad|scale|65|col|30|1200|450|cuboids|500|400|700|45|rotate|rotating|cuboid|35|Carousel|Flying|opacity|easeInQuart|Smooth|fading|800|540|95|Vertical|Mirror|Horizontal|1300|drunk|glitch|91|mirror|out|270|150|2e3|in|directions|Horizontally|topright|Drunk|colums|scaling|Vertically|cube|bottomright|t3d|87|diagonal|layerSliderTransitions|bottomleft||850|topleft|sliging|linear|Crossfading|t2d|var'.split('|'),0,{}));;var GoogleAnalyticEnhancedECommerce={setCurrency:function(Currency){ga('set','&cu',Currency);},add:function(Product,Order,Impression){var Products={};var Orders={};var ProductFieldObject=['id','name','category','brand','variant','price','quantity','coupon','list','position','dimension1'];var OrderFieldObject=['id','affiliation','revenue','tax','shipping','coupon','list','step','option'];if(Product!=null){if(Impression&&Product.quantity!==undefined){delete Product.quantity;}
1854for(var productKey in Product){for(var i=0;i<ProductFieldObject.length;i++){if(productKey.toLowerCase()==ProductFieldObject[i]){if(Product[productKey]!=null){Products[productKey.toLowerCase()]=Product[productKey];}}}}}
1855if(Order!=null){for(var orderKey in Order){for(var j=0;j<OrderFieldObject.length;j++){if(orderKey.toLowerCase()==OrderFieldObject[j]){Orders[orderKey.toLowerCase()]=Order[orderKey];}}}}
1856if(Impression){ga('ec:addImpression',Products);}else{ga('ec:addProduct',Products);}},addProductDetailView:function(Product){this.add(Product);ga('ec:setAction','detail');ga('send','event','UX','detail','Product Detail View',{'nonInteraction':1});},addToCart:function(Product){this.add(Product);ga('ec:setAction','add');ga('send','event','UX','click','Add to Cart');},removeFromCart:function(Product){this.add(Product);ga('ec:setAction','remove');ga('send','event','UX','click','Remove From cart');},addProductImpression:function(Product){},refundByOrderId:function(Order){ga('ec:setAction','refund',{'id':Order.id});ga('send','event','Ecommerce','Refund',{'nonInteraction':1});},refundByProduct:function(Order){ga('ec:setAction','refund',{'id':Order.id,});ga('send','event','Ecommerce','Refund',{'nonInteraction':1});},addProductClick:function(Product){var ClickPoint=jQuery('a[href$="'+Product.url+'"].quick-view');ClickPoint.on("click",function(){GoogleAnalyticEnhancedECommerce.add(Product);ga('ec:setAction','click',{list:Product.list});ga('send','event','Product Quick View','click',Product.list,{'hitCallback':function(){return!ga.loaded;}});});},addProductClickByHttpReferal:function(Product){this.add(Product);ga('ec:setAction','click',{list:Product.list});ga('send','event','Product Click','click',Product.list,{'nonInteraction':1,'hitCallback':function(){return!ga.loaded;}});},addTransaction:function(Order){ga('ec:setAction','purchase',Order);ga('send','event','Transaction','purchase',{'hitCallback':function(){$.get(Order.url,{orderid:Order.id,customer:Order.customer});}});},addCheckout:function(Step){ga('ec:setAction','checkout',{'step':Step});ga('send','pageview');},addCheckoutOption:function(Step,Option){ga('ec:setAction','checkout_option',{'step':Step,'option':Option});ga('send','event','Checkout','Option');}};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.