// source --> https://leemeowandgrowl.com/wp-content/plugins/woocommerce-image-zoom/inc/jquery-migrate-helper/js/jquery/jquery-1.12.4-wp.js?ver=1.12.4-wp /*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license | WordPress 2019-05-16 */ !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=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="1.12.4",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 e.call(this)},get:function(a){return null!=a?a<0?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c=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&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(!l.ownFirst)for(b in a)return k.call(a,b);for(b in a);return void 0===b||k.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.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){var c,d=0;if(s(a)){for(c=a.length;d0&&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,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=fa(),z=fa(),A=fa(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;c+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(xa){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ea(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+pa(r[h]);s=r.join(","),w=_.test(a)&&na(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function fa(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ga(a){return a[u]=!0,a}function ha(a){var b=n.createElement("div");try{return!!a(b)}catch(xa){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ia(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ja(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ka(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}}function la(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function ma(a){return ga(function(b){return b=+b,ga(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 na(a){return a&&void 0!==a.getElementsByTagName&&a}c=ea.support={},f=ea.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ea.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ha(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ha(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ha(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(void 0!==b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c=void 0!==a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return void 0!==b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(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){if(void 0!==b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ha(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ha(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ha(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.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},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d||(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ja(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ja(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ea.matches=function(a,b){return ea(a,null,null,b)},ea.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(xa){}return ea(b,n,null,[a]).length>0},ea.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ea.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ea.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ea.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ea.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=ea.selectors={cacheLength:50,createPseudo:ga,match:W,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(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===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]||ea.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]&&ea.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(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(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||void 0!==a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ea.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.replace(P," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},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(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),!1===t)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return(t-=e)===d||t%d==0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ea.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ga(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ga(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ga(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),b[0]=null,!c.pop()}}),has:ga(function(a){return function(b){return ea(a,b).length>0}}),contains:ga(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ga(function(a){return V.test(a||"")||ea.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do{if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return(c=c.toLowerCase())===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===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return!1===a.disabled},disabled:function(a){return!0===a.disabled},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,!0===a.selected},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 Y.test(a.nodeName)},input:function(a){return X.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:ma(function(){return[0]}),last:ma(function(a,b){return[b-1]}),eq:ma(function(a,b,c){return[c<0?c+b:c]}),even:ma(function(a,b){for(var c=0;c=0;)a.push(d);return a}),gt:ma(function(a,b,c){for(var d=c<0?c+b:c;++d1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function sa(a,b,c){for(var d=0,e=b.length;d-1&&(f[j]=!(g[j]=l))}}else r=ta(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function va(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=qa(function(a){return a===b},h,!0),l=qa(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i1&&ra(m),i>1&&pa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,i0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ta(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ea.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ga(f):f}return h=ea.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=va(b[c]),f[u]?d.push(f):e.push(f);f=A(a,wa(e,d)),f.selector=a}return f},i=ea.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(!(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0]))return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&na(b.parentNode)||b))){if(j.splice(i,1),!(a=f.length&&pa(j)))return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&na(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ha(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ha(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ia("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ha(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ia("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ha(function(a){return null==a.getAttribute("disabled")})||ia(K,function(a,b,c){var d;if(!c)return!0===a[b]?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ea}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(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(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>-1!==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;b1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(!(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:B.exec(a))||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if((f=d.getElementById(e[2]))&&f.parentNode){if(f.id!==e[2])return A.find(a);this.length=1,this[0]=f}return this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?void 0!==c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))}).prototype=n.fn,A=n(d);var C=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;b-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(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.uniqueSort(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 u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return E(a,"nextSibling")},prev:function(a){return E(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(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.uniqueSort(e)),C.test(a)&&(e=e.reverse())),this.pushStack(e)}});var F=/\S+/g;function G(a){var b={};return n.each(a.match(F)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?G(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=!0,c||j.disable(),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},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().progress(c.notify).done(c.resolve).fail(c.reject):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=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);b0||(H.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function I(){d.addEventListener?(d.removeEventListener("DOMContentLoaded",J),a.removeEventListener("load",J)):(d.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(d.addEventListener||"load"===a.event.type||"complete"===d.readyState)&&(I(),n.ready())}n.ready.promise=function(b){if(!H)if(H=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)a.setTimeout(n.ready);else if(d.addEventListener)d.addEventListener("DOMContentLoaded",J),a.addEventListener("load",J);else{d.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&d.documentElement}catch(e){}c&&c.doScroll&&function b(){if(!n.isReady){try{c.doScroll("left")}catch(e){return a.setTimeout(b,50)}I(),n.ready()}}()}return H.promise(b)},n.ready.promise();var K;for(K in n(l))break;l.ownFirst="0"===K,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c,e;(c=d.getElementsByTagName("body")[0])&&c.style&&(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),void 0!==b.style.zoom&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(e))}),function(){var a=d.createElement("div");l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}a=null}();var L=function(a){var b=n.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return(1===c||9===c)&&(!b||!0!==b&&a.getAttribute("classid")===b)},M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if("string"==typeof(c=a.getAttribute(d))){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:M.test(c)?n.parseJSON(c):c)}catch(e){}n.data(a,b,c)}else c=void 0}return c}function P(a){var b ;for(b in a)if(("data"!==b||!n.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(L(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?{}:{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?null==(f=g[b])&&(f=g[n.camelCase(b)]):f=g,f}}function R(a,b,c){if(L(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?!P(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=void 0)}}}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])&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(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--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),O(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?O(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;if(a)return 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||[]},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
a",l.leadingWhitespace=3===a.firstChild.nodeType,l.tbody=!a.getElementsByTagName("tbody").length,l.htmlSerialize=!!a.getElementsByTagName("link").length,l.html5Clone="<:nav>"!==d.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,b.appendChild(c),l.appendChecked=c.checked,a.innerHTML="",l.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,b.appendChild(a),c=d.createElement("input"),c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),a.appendChild(c),l.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!!a.addEventListener,a[n.expando]=1,l.attributes=!a.getAttribute(n.expando)}();var ca={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:l.htmlSerialize?[0,"",""]:[1,"X
","
"]};ca.optgroup=ca.option,ca.tbody=ca.tfoot=ca.colgroup=ca.caption=ca.thead,ca.th=ca.td;function da(a,b){var c,d,e=0,f=void 0!==a.getElementsByTagName?a.getElementsByTagName(b||"*"):void 0!==a.querySelectorAll?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,da(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function ea(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}var fa=/<|&#?\w+;/,ga=/"!==m[1]||ga.test(g)?0:i:i.firstChild,f=g&&g.childNodes.length;while(f--)n.nodeName(k=g.childNodes[f],"tbody")&&!k.childNodes.length&&g.removeChild(k)}n.merge(q,i.childNodes),i.textContent="";while(i.firstChild)i.removeChild(i.firstChild);i=p.lastChild}else q.push(b.createTextNode(g));i&&p.removeChild(i),l.appendChecked||n.grep(da(q,"input"),ha),r=0;while(g=q[r++])if(d&&n.inArray(g,d)>-1)e&&e.push(g);else if(h=n.contains(g.ownerDocument,g),i=da(p.appendChild(g),"script"),h&&ea(i),c){f=0;while(g=i[f++])$.test(g.type||"")&&c.push(g)}return i=null,p}!function(){var b,c,e=d.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b]=c in a)||(e.setAttribute(c,"t"),l[b]=!1===e.attributes[c].expando);e=null}();var ja=/^(?:input|select|textarea)$/i,ka=/^key/,la=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ma=/^(?:focusinfocus|focusoutblur)$/,na=/^([^.]*)(?:\.(.+)|)/;function oa(){return!0}function pa(){return!1}function qa(){try{return d.activeElement}catch(a){}}function ra(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ra(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),!1===e)e=pa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}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 void 0===n||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=na.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&&!1!==j.setup.call(a,d,p,k)||(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=na.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&&!1!==l.teardown.call(a,p,r.handle)||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,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(i=m=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!ma.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),h=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),l=n.event.special[q]||{},f||!l.trigger||!1!==l.trigger.apply(e,c))){if(!f&&!l.noBubble&&!n.isWindow(e)){for(j=l.delegateType||q,ma.test(j+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),m=i;m===(e.ownerDocument||d)&&p.push(m.defaultView||m.parentWindow||a)}o=0;while((i=p[o++])&&!b.isPropagationStopped())b.type=o>1?j:l.bindType||q,g=(n._data(i,"events")||{})[b.type]&&n._data(i,"handle"),g&&g.apply(i,c),(g=h&&i[h])&&g.apply&&L(i)&&(b.result=g.apply(i,c),!1===b.result&&b.preventDefault());if(b.type=q,!f&&!b.isDefaultPrevented()&&(!l._default||!1===l._default.apply(p.pop(),c))&&L(e)&&h&&e[q]&&!n.isWindow(e)){m=e[h],m&&(e[h]=null),n.event.triggered=q;try{e[q]()}catch(s){}n.event.triggered=void 0,m&&(e[h]=m)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||!1!==k.preDispatch.call(this,a)){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,void 0!==(d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i))&&!1===(a.result=d)&&(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&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(!0!==i.disabled||"click"!==a.type)){for(d=[],c=0;c-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]","i"),ua=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,va=/\s*$/g,za=ba(d),Aa=za.appendChild(d.createElement("div"));function Ba(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 Ca(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function Da(a){var b=xa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ea(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;d1&&"string"==typeof q&&!l.checkClone&&wa.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),Ga(f,b,c,d)});if(o&&(k=ia(b,a[0].ownerDocument,!1,a,d),e=k.firstChild,1===k.childNodes.length&&(k=e),e||d)){for(i=n.map(da(k,"script"),Ca),h=i.length;m")},clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!ta.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(Aa.innerHTML=a.outerHTML,Aa.removeChild(f=Aa.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=da(f),h=da(a),g=0;null!=(e=h[g]);++g)d[g]&&Fa(e,d[g]);if(b)if(c)for(h=h||da(a),d=d||da(f),g=0;null!=(e=h[g]);g++)Ea(e,d[g]);else Ea(a,f);return d=da(f,"script"),d.length>0&&ea(d,!i&&da(a,"script")),d=h=e=null,f},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.attributes,m=n.event.special;null!=(d=a[h]);h++)if((b||L(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||void 0===d.removeAttribute?d[i]=void 0:d.removeAttribute(i),c.push(f))}}}),n.fn.extend({domManip:Ga,detach:function(a){return Ha(this,a,!0)},remove:function(a){return Ha(this,a)},text:function(a){return X(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||d).createTextNode(a))},null,a,arguments.length)},append:function(){return Ga(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){Ba(this,a).appendChild(a)}})},prepend:function(){return Ga(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ba(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ga(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ga(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(da(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&&a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return X(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(sa,""):void 0;if("string"==typeof a&&!va.test(a)&&(l.htmlSerialize||!ta.test(a))&&(l.leadingWhitespace||!_.test(a))&&!ca[(Z.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;c")).appendTo(b.documentElement),b=(Ia[0].contentWindow||Ia[0].contentDocument).document,b.write(),b.close(),c=Ka(a,b),Ia.detach()),Ja[a]=c),c}var Ma=/^margin/,Na=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Oa=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},Pa=d.documentElement;!function(){var b,c,e,f,g,h,i=d.createElement("div"),j=d.createElement("div");function k(){var k,l,m=d.documentElement;m.appendChild(i),j.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",b=e=h=!1,c=g=!0,a.getComputedStyle&&(l=a.getComputedStyle(j),b="1%"!==(l||{}).top,h="2px"===(l||{}).marginLeft,e="4px"===(l||{width:"4px"}).width,j.style.marginRight="50%",c="4px"===(l||{marginRight:"4px"}).marginRight,k=j.appendChild(d.createElement("div")),k.style.cssText=j.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",k.style.marginRight=k.style.width="0",j.style.width="1px",g=!parseFloat((a.getComputedStyle(k)||{}).marginRight),j.removeChild(k)),j.style.display="none",f=0===j.getClientRects().length,f&&(j.style.display="",j.innerHTML="
t
",j.childNodes[0].style.borderCollapse="separate",k=j.getElementsByTagName("td"),k[0].style.cssText="margin:0;border:0;padding:0;display:none",(f=0===k[0].offsetHeight)&&(k[0].style.display="",k[1].style.display="none",f=0===k[0].offsetHeight)),m.removeChild(i)}j.style&&(j.style.cssText="float:left;opacity:.5",l.opacity="0.5"===j.style.opacity,l.cssFloat=!!j.style.cssFloat,j.style.backgroundClip="content-box",j.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===j.style.backgroundClip,i=d.createElement("div"),i.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",j.innerHTML="",i.appendChild(j),l.boxSizing=""===j.style.boxSizing||""===j.style.MozBoxSizing||""===j.style.WebkitBoxSizing,n.extend(l,{reliableHiddenOffsets:function(){return null==b&&k(),f},boxSizingReliable:function(){return null==b&&k(),e},pixelMarginRight:function(){return null==b&&k(),c},pixelPosition:function(){return null==b&&k(),b},reliableMarginRight:function(){return null==b&&k(),g},reliableMarginLeft:function(){return null==b&&k(),h}}))}();var Qa,Ra,Sa=/^(top|right|bottom|left)$/;a.getComputedStyle?(Qa=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)},Ra=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Qa(a),g=c?c.getPropertyValue(b)||c[b]:void 0,""!==g&&void 0!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),c&&!l.pixelMarginRight()&&Na.test(g)&&Ma.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+""}):Pa.currentStyle&&(Qa=function(a){return a.currentStyle},Ra=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Qa(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Na.test(g)&&!Sa.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 Ta(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Ua=/alpha\([^)]*\)/i,Va=/opacity\s*=\s*([^)]*)/i,Wa=/^(none|table(?!-c[ea]).+)/,Xa=new RegExp("^("+S+")(.*)$","i"),Ya={position:"absolute",visibility:"hidden",display:"block"},Za={letterSpacing:"0",fontWeight:"400"},$a=["Webkit","O","Moz","ms"],_a=d.createElement("div").style;function ab(a){if(a in _a)return a;var b=a.charAt(0).toUpperCase()+a.slice(1),c=$a.length;while(c--)if((a=$a[c]+b)in _a)return a}function bb(a,b){for(var c,d,e,f=[],g=0,h=a.length;g=1||""===b)&&""===n.trim(f.replace(Ua,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Ua.test(f)?f.replace(Ua,e):f+" "+e)}}),n.cssHooks.marginRight=Ta(l.reliableMarginRight,function(a,b){if(b)return Oa(a,{display:"inline-block"},Ra,[a,"marginRight"])}),n.cssHooks.marginLeft=Ta(l.reliableMarginLeft,function(a,b){if(b)return(parseFloat(Ra(a,"marginLeft"))||(n.contains(a.ownerDocument,a)?a.getBoundingClientRect().left-Oa(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}):0))+"px"}),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];d<4;d++)e[a+U[d]+b]=f[d]||f[d-2]||f[0];return e}},Ma.test(a)||(n.cssHooks[a+b].set=cb)}),n.fn.extend({css:function(a,b){return X(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=Qa(a),e=b.length;g1)},show:function(){return bb(this,!0)},hide:function(){return bb(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 fb(a,b,c,d,e){return new fb.prototype.init(a,b,c,d,e)}n.Tween=fb,fb.prototype={constructor:fb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||n.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=fb.propHooks[this.prop];return a&&a.get?a.get(this):fb.propHooks._default.get(this)},run:function(a){var b,c=fb.propHooks[this.prop];return this.options.duration?this.pos=b=n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=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):fb.propHooks._default.set(this),this}},fb.prototype.init.prototype=fb.prototype,fb.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[n.cssProps[a.prop]]&&!n.cssHooks[a.prop]?a.elem[a.prop]=a.now:n.style(a.elem,a.prop,a.now+a.unit)}}},fb.propHooks.scrollTop=fb.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},_default:"swing"},n.fx=fb.prototype.init,n.fx.step={};var gb,hb,ib=/^(?:toggle|show|hide)$/,jb=/queueHooks$/;function kb(){return a.setTimeout(function(){gb=void 0}),gb=n.now()}function lb(a,b){var c,d={height:a},e=0;for(b=b?1:0;e<4;e+=2-b)c=U[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function mb(a,b,c){for(var d,e=(pb.tweeners[b]||[]).concat(pb.tweeners["*"]),f=0,g=e.length;f
a",a=c.getElementsByTagName("a")[0],b.setAttribute("type","checkbox"),c.appendChild(b),a=c.getElementsByTagName("a")[0],a.style.cssText="top:1px",l.getSetAttribute="t"!==c.className,l.style=/top/.test(a.getAttribute("style")),l.hrefNormalized="/a"===a.getAttribute("href"),l.checkOn=!!b.value,l.optSelected=f.selected,l.enctype=!!d.createElement("form").enctype,e.disabled=!0,l.optDisabled=!f.disabled,b=d.createElement("input"),b.setAttribute("value",""),l.input=""===b.getAttribute("value"),b.value="t",b.setAttribute("type","radio"),l.radioValue="t"===b.value}();var qb=/\r/g,rb=/[\x20\t\r\n\f]+/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()])&&"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()])&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(qb,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a)).replace(rb," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||e<0,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i-1)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){if(n.isArray(b))return a.checked=n.inArray(n(a).val(),b)>-1}},l.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var sb,tb,ub=n.expr.attrHandle,vb=/^(?:checked|selected)$/i,wb=l.getSetAttribute,xb=l.input;n.fn.extend({attr:function(a,b){return X(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(3!==f&&8!==f&&2!==f)return void 0===a.getAttribute?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),e=n.attrHooks[b]||(n.expr.match.bool.test(b)?tb:sb)),void 0!==c?null===c?void n.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=n.find.attr(a,b),null==d?void 0: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}}}},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)?xb&&wb||!vb.test(c)?a[d]=!1:a[n.camelCase("default-"+c)]=a[d]=!1:n.attr(a,c,""),a.removeAttribute(wb?c:d)}}),tb={set:function(a,b,c){return!1===b?n.removeAttr(a,c):xb&&wb||!vb.test(c)?a.setAttribute(!wb&&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=ub[b]||n.find.attr;xb&&wb||!vb.test(b)?ub[b]=function(a,b,d){var e,f;return d||(f=ub[b],ub[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,ub[b]=f),e}:ub[b]=function(a,b,c){if(!c)return a[n.camelCase("default-"+b)]?b.toLowerCase():null}}),xb&&wb||(n.attrHooks.value={set:function(a,b,c){if(!n.nodeName(a,"input"))return sb&&sb.set(a,b,c);a.defaultValue=b}}),wb||(sb={set:function(a,b,c){var d=a.getAttributeNode(c);if(d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c))return b}},ub.id=ub.name=ub.coords=function(a,b,c){var d;if(!c)return(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},n.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);if(c&&c.specified)return c.value},set:sb.set},n.attrHooks.contenteditable={set:function(a,b,c){sb.set(a,""!==b&&b,c)}},n.each(["width","height"],function(a,b){n.attrHooks[b]={set:function(a,c){if(""===c)return a.setAttribute(b,"auto"),c}}})),l.style||(n.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var yb=/^(?:input|select|textarea|button|object)$/i,zb=/^(?:a|area)$/i;n.fn.extend({prop:function(a,b){return X(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({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&n.isXMLDoc(a)||(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):yb.test(a.nodeName)||zb.test(a.nodeName)&&a.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),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},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),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 Ab=/[\t\r\n\f]/g;function Bb(a){return n.attr(a,"class")||""}n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,Bb(this)))});if("string"==typeof a&&a){b=a.match(F)||[];while(c=this[i++])if(e=Bb(c),d=1===c.nodeType&&(" "+e+" ").replace(Ab," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=n.trim(d),e!==h&&n.attr(c,"class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,Bb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(F)||[];while(c=this[i++])if(e=Bb(c),d=1===c.nodeType&&(" "+e+" ").replace(Ab," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=n.trim(d),e!==h&&n.attr(c,"class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):n.isFunction(a)?this.each(function(c){n(this).toggleClass(a.call(this,c,Bb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=n(this),f=a.match(F)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=Bb(this),b&&n._data(this,"__className__",b),n.attr(this,"class",b||!1===a?"":n._data(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+Bb(c)+" ").replace(Ab," ").indexOf(b)>-1)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)}});var Cb=a.location,Db=n.now(),Eb=/\?/,Fb=/(,)|(\[|{)|(}|])|"(?:[^"\\\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(Fb,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 a.DOMParser,c=d.parseFromString(b,"text/xml")):(c=new a.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 Gb=/#.*$/,Hb=/([?&])_=[^&]*/,Ib=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Jb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Kb=/^(?:GET|HEAD)$/,Lb=/^\/\//,Mb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Nb={},Ob={},Pb="*/".concat("*"),Qb=Cb.href,Rb=Mb.exec(Qb.toLowerCase())||[];function Sb(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 Tb(a,b,c,d){var e={},f=a===Ob;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 Ub(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 Vb(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}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Wb(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]))for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){!0===g?g=j[e]:!0!==j[e]&&(f=h[0],k.unshift(h[1]));break}if(!0!==g)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:Qb,type:"GET",isLocal:Jb.test(Rb[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Ub(Ub(a,n.ajaxSettings),b):Ub(n.ajaxSettings,a)},ajaxPrefilter:Sb(Nb),ajaxTransport:Sb(Ob),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var d,e,f,g,h,i,j,k,l=n.ajaxSetup({},c),m=l.context||l,o=l.context&&(m.nodeType||m.jquery)?n(m):n.event,p=n.Deferred(),q=n.Callbacks("once memory"),r=l.statusCode||{},s={},t={},u=0,v="canceled",w={readyState:0,getResponseHeader:function(a){var b;if(2===u){if(!k){k={};while(b=Ib.exec(g))k[b[1].toLowerCase()]=b[2]}b=k[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===u?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return u||(a=t[c]=t[c]||a,s[a]=b),this},overrideMimeType:function(a){return u||(l.mimeType=a),this},statusCode:function(a){var b;if(a)if(u<2)for(b in a)r[b]=[r[b],a[b]];else w.always(a[w.status]);return this},abort:function(a){var b=a||v;return j&&j.abort(b),x(0,b),this}};if(p.promise(w).complete=q.add,w.success=w.done,w.error=w.fail,l.url=((b||l.url||Qb)+"").replace(Gb,"").replace(Lb,Rb[1]+"//"),l.type=c.method||c.type||l.method||l.type,l.dataTypes=n.trim(l.dataType||"*").toLowerCase().match(F)||[""],null==l.crossDomain&&(d=Mb.exec(l.url.toLowerCase()),l.crossDomain=!(!d||d[1]===Rb[1]&&d[2]===Rb[2]&&(d[3]||("http:"===d[1]?"80":"443"))===(Rb[3]||("http:"===Rb[1]?"80":"443")))),l.data&&l.processData&&"string"!=typeof l.data&&(l.data=n.param(l.data,l.traditional)),Tb(Nb,l,c,w),2===u)return w;i=n.event&&l.global,i&&0==n.active++&&n.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Kb.test(l.type),f=l.url,l.hasContent||(l.data&&(f=l.url+=(Eb.test(f)?"&":"?")+l.data,delete l.data),!1===l.cache&&(l.url=Hb.test(f)?f.replace(Hb,"$1_="+Db++):f+(Eb.test(f)?"&":"?")+"_="+Db++)),l.ifModified&&(n.lastModified[f]&&w.setRequestHeader("If-Modified-Since",n.lastModified[f]),n.etag[f]&&w.setRequestHeader("If-None-Match",n.etag[f])),(l.data&&l.hasContent&&!1!==l.contentType||c.contentType)&&w.setRequestHeader("Content-Type",l.contentType),w.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+Pb+"; q=0.01":""):l.accepts["*"]);for(e in l.headers)w.setRequestHeader(e,l.headers[e]);if(l.beforeSend&&(!1===l.beforeSend.call(m,w,l)||2===u))return w.abort();v="abort";for(e in{success:1,error:1,complete:1})w[e](l[e]);if(j=Tb(Ob,l,c,w)){if(w.readyState=1,i&&o.trigger("ajaxSend",[w,l]),2===u)return w;l.async&&l.timeout>0&&(h=a.setTimeout(function(){w.abort("timeout")},l.timeout));try{u=1,j.send(s,x)}catch(y){if(!(u<2))throw y;x(-1,y)}}else x(-1,"No Transport");function x(b,c,d,e){var k,s,t,v,x,y=c;2!==u&&(u=2,h&&a.clearTimeout(h),j=void 0,g=e||"",w.readyState=b>0?4:0,k=b>=200&&b<300||304===b,d&&(v=Vb(l,w,d)),v=Wb(l,v,w,k),k?(l.ifModified&&(x=w.getResponseHeader("Last-Modified"),x&&(n.lastModified[f]=x),(x=w.getResponseHeader("etag"))&&(n.etag[f]=x)),204===b||"HEAD"===l.type?y="nocontent":304===b?y="notmodified":(y=v.state,s=v.data,t=v.error,k=!t)):(t=y,!b&&y||(y="error",b<0&&(b=0))),w.status=b,w.statusText=(c||y)+"",k?p.resolveWith(m,[s,y,w]):p.rejectWith(m,[w,y,t]),w.statusCode(r),r=void 0,i&&o.trigger(k?"ajaxSuccess":"ajaxError",[w,l,k?s:t]),q.fireWith(m,[w,y]),i&&(o.trigger("ajaxComplete",[w,l]),--n.active||n.event.trigger("ajaxStop")))}return w},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(n.extend({url:a,type:b,dataType:e,data:c,success:d},n.isPlainObject(a)&&a))}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",cache:!0,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 n.isFunction(a)?this.each(function(b){n(this).wrapInner(a.call(this,b))}):this.each(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()}});function Xb(a){return a.style&&a.style.display||n.css(a,"display")}function Yb(a){if(!n.contains(a.ownerDocument||d,a))return!0;while(a&&1===a.nodeType){if("none"===Xb(a)||"hidden"===a.type)return!0;a=a.parentNode}return!1}n.expr.filters.hidden=function(a){return l.reliableHiddenOffsets()?a.offsetWidth<=0&&a.offsetHeight<=0&&!a.getClientRects().length:Yb(a)},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var Zb=/%20/g,$b=/\[\]$/,_b=/\r?\n/g,ac=/^(?:submit|button|image|reset|file)$/i,bc=/^(?:input|select|textarea|keygen)/i;function cc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||$b.test(a)?d(a,e):cc(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)cc(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)cc(c,a[c],b,e);return d.join("&").replace(Zb,"+")},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")&&bc.test(this.nodeName)&&!ac.test(a)&&(this.checked||!Y.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(_b,"\r\n")}}):{name:b.name,value:c.replace(_b,"\r\n")}}).get()}}),n.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return this.isLocal?hc():d.documentMode>8?gc():/^(get|post|head|put|delete|options)$/i.test(this.type)&&gc()||hc()}:gc;var dc=0,ec={},fc=n.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in ec)ec[a](void 0,!0)}),l.cors=!!fc&&"withCredentials"in fc,(fc=l.ajax=!!fc)&&n.ajaxTransport(function(b){if(!b.crossDomain||l.cors){var c;return{send:function(d,e){var f,g=b.xhr(),h=++dc;if(g.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(f in b.xhrFields)g[f]=b.xhrFields[f];b.mimeType&&g.overrideMimeType&&g.overrideMimeType(b.mimeType),b.crossDomain||d["X-Requested-With"]||(d["X-Requested-With"]="XMLHttpRequest");for(f in d)void 0!==d[f]&&g.setRequestHeader(f,d[f]+"");g.send(b.hasContent&&b.data||null),c=function(a,d){var f,i,j;if(c&&(d||4===g.readyState))if(delete ec[h],c=void 0,g.onreadystatechange=n.noop,d)4!==g.readyState&&g.abort();else{j={},f=g.status,"string"==typeof g.responseText&&(j.text=g.responseText);try{i=g.statusText}catch(k){i=""}f||!b.isLocal||b.crossDomain?1223===f&&(f=204):f=j.text?200:404}j&&e(f,i,j,g.getAllResponseHeaders())},b.async?4===g.readyState?a.setTimeout(c):g.onreadystatechange=ec[h]=c:c()},abort:function(){c&&c(void 0,!0)}}}});function gc(){try{return new a.XMLHttpRequest}catch(b){}}function hc(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},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=d.head||n("head")[0]||d.documentElement;return{send:function(e,f){b=d.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||f(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var ic=[],jc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=ic.pop()||n.expando+"_"+Db++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=!1!==b.jsonp&&(jc.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&jc.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(jc,"$1"+e):!1!==b.jsonp&&(b.url+=(Eb.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(){void 0===f?n(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,ic.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||d;var e=x.exec(a),f=!c&&[];return e?[b.createElement(e[1])]:(e=ia([a],b,f),f&&f.length&&n(f).remove(),n.merge([],e.childNodes))};var kc=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&kc)return kc.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=n.trim(a.slice(h,a.length)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("
").append(n.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};function lc(a){return n.isWindow(a)?a:9===a.nodeType&&(a.defaultView||a.parentWindow)}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,n.extend({},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)?(void 0!==e.getBoundingClientRect&&(d=e.getBoundingClientRect()),c=lc(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;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Pa})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);n.fn[a]=function(d){return X(this,function(a,d,e){var f=lc(a);if(void 0===e)return f?b in f?f[b]:f.document.documentElement[d]:a[d];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]=Ta(l.pixelPosition,function(a,c){if(c)return c=Ra(a,b),Na.test(c)?n(a).position()[b]+"px":c})}),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||(!0===d||!0===e?"margin":"border") ;return X(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.extend({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)}}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var mc=a.jQuery,nc=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=nc),b&&a.jQuery===n&&(a.jQuery=mc),n},b||(a.jQuery=a.$=n),n}); // source --> https://leemeowandgrowl.com/wp-content/plugins/woocommerce-image-zoom/inc/jquery-migrate-helper/js/jquery-migrate/jquery-migrate-1.4.1-wp.js?ver=1.4.1-wp /*! * jQuery Migrate - v1.4.1 - 2016-05-19 * Copyright jQuery Foundation and other contributors */ (function( jQuery, window, undefined ) { // See http://bugs.jquery.com/ticket/13335 // "use strict"; jQuery.migrateVersion = "1.4.1"; var warnedAbout = {}; // List of warnings already given; public read only jQuery.migrateWarnings = []; // Set to true to prevent console output; migrateWarnings still maintained // jQuery.migrateMute = false; // Show a message on the console so devs know we're active if ( window.console && window.console.log ) { window.console.log( "JQMIGRATE: Migrate is installed" + ( jQuery.migrateMute ? "" : " with logging active" ) + ", version " + jQuery.migrateVersion ); } // Set to false to disable traces that appear with warnings if ( jQuery.migrateTrace === undefined ) { jQuery.migrateTrace = true; } // Forget any warnings we've already given; public jQuery.migrateReset = function() { warnedAbout = {}; jQuery.migrateWarnings.length = 0; }; function migrateWarn( msg) { var console = window.console; var error = new Error(); // WP: Add all warnings to jQuery.migrateWarnings. var tracedError = { warning: msg, trace: error.stack || error }; jQuery.migrateWarnings.push( tracedError ); // WP: end. if ( ! warnedAbout[ msg ] ) { warnedAbout[ msg ] = true; if ( console && console.warn && !jQuery.migrateMute ) { console.warn( "JQMIGRATE: " + msg ); if ( jQuery.migrateTrace && console.trace ) { console.trace(); } } } } function migrateWarnProp( obj, prop, value, msg ) { if ( Object.defineProperty ) { // On ES5 browsers (non-oldIE), warn if the code tries to get prop; // allow property to be overwritten in case some other plugin wants it try { Object.defineProperty( obj, prop, { configurable: true, enumerable: true, get: function() { migrateWarn( msg ); return value; }, set: function( newValue ) { migrateWarn( msg ); value = newValue; } }); return; } catch( err ) { // IE8 is a dope about Object.defineProperty, can't warn there } } // Non-ES5 (or broken) browser; just set the property jQuery._definePropertyBroken = true; obj[ prop ] = value; } if ( document.compatMode === "BackCompat" ) { // jQuery has never supported or tested Quirks Mode migrateWarn( "jQuery is not compatible with Quirks Mode" ); } var attrFn = jQuery( "", { size: 1 } ).attr("size") && jQuery.attrFn, oldAttr = jQuery.attr, valueAttrGet = jQuery.attrHooks.value && jQuery.attrHooks.value.get || function() { return null; }, valueAttrSet = jQuery.attrHooks.value && jQuery.attrHooks.value.set || function() { return undefined; }, rnoType = /^(?:input|button)$/i, rnoAttrNodeType = /^[238]$/, rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, ruseDefault = /^(?:checked|selected)$/i; // jQuery.attrFn migrateWarnProp( jQuery, "attrFn", attrFn || {}, "jQuery.attrFn is deprecated" ); jQuery.attr = function( elem, name, value, pass ) { var lowerName = name.toLowerCase(), nType = elem && elem.nodeType; if ( pass ) { // Since pass is used internally, we only warn for new jQuery // versions where there isn't a pass arg in the formal params if ( oldAttr.length < 4 ) { migrateWarn("jQuery.fn.attr( props, pass ) is deprecated"); } if ( elem && !rnoAttrNodeType.test( nType ) && (attrFn ? name in attrFn : jQuery.isFunction(jQuery.fn[name])) ) { return jQuery( elem )[ name ]( value ); } } // Warn if user tries to set `type`, since it breaks on IE 6/7/8; by checking // for disconnected elements we don't warn on $( "
');tpGS.gsap.set(s,{force3D:"auto",transformPerspective:1600,transformOrigin:"50% 50%",width:"100%",height:"100%",position:"absolute",top:0,left:0,zIndex:0}),t[e].c.prepend(s)}for(var n in t[e].slides)t[e].slides.hasOwnProperty(n)&&a(jQuery(t[e].slides[n]),e);t[e].c.find("rs-static-layers").length>0&&(tpGS.gsap.set(t[e].c.find("rs-static-layers"),{top:0,left:0,width:"100%",height:"100%"}),a(t[e].c.find("rs-static-layers"),e))}o.pcontainers={},o.bgcontainers=[],o.bgcontainer_depths=[],o.speed=void 0===o.speed?0:parseInt(o.speed,0),o.speedbg=void 0===o.speedbg?0:parseInt(o.speedbg,0),o.speedls=void 0===o.speedls?0:parseInt(o.speedls,0),t[e].c.find("rs-slide rs-sbg-wrap, rs-slide rs-bgvideo").each(function(){var i=jQuery(this),a=i.data("parallax");window.isSafari11||(t[e].parZ=1),void 0!==(a="on"==a||!0===a?1:a)&&"off"!==a&&!1!==a&&(o.bgcontainers.push(i.closest("rs-sbg-px")),o.bgcontainer_depths.push(t[e].parallax.levels[parseInt(a,0)-1]/100))});for(n=1;n<=o.levels.length;n++){for(var d in t[e].slides)if(t[e].slides.hasOwnProperty(d)){var l=(p=t[e].slides[d]).dataset.key;void 0===o.pcontainers[l]&&(o.pcontainers[l]={}),r(n,o,p,o.pcontainers[l])}l="static";void 0===o.pcontainers[l]&&(o.pcontainers[l]={}),r(n,o,t[e].slayers[0],o.pcontainers[l]),JSON.stringify(o.pcontainers[l])==JSON.stringify({})&&delete o.pcontainers[l]}if("mouse"==o.type||"mousescroll"==o.type||"3D"==o.type||"3d"==o.type){var c="rs-slide .dddwrapper, .dddwrappershadow, rs-slide .dddwrapper-layer, rs-static-layers .dddwrapper-layer";for(var d in"carousel"===t[e].sliderType&&(c="rs-slide .dddwrapper, rs-slide .dddwrapper-layer, rs-static-layers .dddwrapper-layer"),o.sctors={},t[e].slides)if(t[e].slides.hasOwnProperty(d)){var p;l=(p=t[e].slides[d]).dataset.key;o.sctors[l]=p.querySelectorAll(c)}t[e].slayers[0]&&(o.sctors.static=t[e].slayers[0].querySelectorAll(c)),o.mouseEntered=!1,t[e].c.on("mouseenter",function(i){var a=t[e].c.offset().top,r=t[e].c.offset().left;o.mouseEnterX=i.pageX-r,o.mouseEnterY=i.pageY-a,o.mouseEntered=!0});var g=this.updateParallax.bind(this,e,o);t[e].c.on("mousemove.hoverdir, mouseleave.hoverdir, trigger3dpath",function(e){o.eventData=e,void 0!==o.frame&&"mouseleave"!==e.type||(o.frame=window.requestAnimationFrame(g))}),i&&window.addEventListener("deviceorientation",function(e){o.eventData=e,void 0===o.frame&&(o.frame=window.requestAnimationFrame(g))})}var u=t[e].scrolleffect;u.set&&(u.multiplicator_layers=parseFloat(u.multiplicator_layers),u.multiplicator=parseFloat(u.multiplicator)),void 0!==u._L&&0===u._L.length&&(u._L=!1),void 0!==u.bgs&&0===u.bgs.length&&(u.bgs=!1)}},getLayerParallaxOffset:function(e,i,a){return void 0!==t[e].parallax&&void 0!==t[e].parallax.pcontainers&&void 0!==t[e].parallax.pcontainers[t[e]._L[i].slidekey]&&void 0!==t[e].parallax.pcontainers[t[e]._L[i].slidekey][i]?Math.abs(t[e].parallax.pcontainers[t[e]._L[i].slidekey][i]["offs"+a]):0},updateParallax:function(e,i){i.frame&&(i.frame=window.cancelAnimationFrame(i.frame));var a,r,o=i.eventData,s=t[e].c.offset().left,n=t[e].c.offset().top,d=t[e].canv.width,l=t[e].canv.height,c=i.speed/1e3||3;if("enterpoint"==i.origo&&"deviceorientation"!==o.type?(!1===i.mouseEntered&&(i.mouseEnterX=o.pageX-s,i.mouseEnterY=o.pageY-n,i.mouseEntered=!0),a=i.mouseEnterX-(o.pageX-s),r=i.mouseEnterY-(o.pageY-n),c=i.speed/1e3||.4):"deviceorientation"!==o.type&&(a=d/2-(o.pageX-s),r=l/2-(o.pageY-n)),"deviceorientation"==o.type){var p,g,u;p=o.beta-60,g=o.gamma,u=p;var h=Math.abs(i.orientationX-g)>1||Math.abs(i.orientationY-u)>1;if(i.orientationX=g,i.orientationY=u,!h)return;if(t.winW>t.getWinH(e)){var m=g;g=u,u=m}a=360/d*(g*=1.5),r=180/l*(u*=1.5)}for(var v in o.type,"mouseout"===o.type&&(a=0,r=0,i.mouseEntered=!1),i.pcontainers)if(i.pcontainers.hasOwnProperty(v)&&(void 0===t[e].activeRSSlide||"static"===v||t[e].slides[t[e].activeRSSlide].dataset.key===v))for(var f in i.pcontainers[v])if(i.pcontainers[v].hasOwnProperty(f)){var y=i.pcontainers[v][f];y.pl="3D"==i.type||"3d"==i.type?y.depth/200:y.depth/100,y.offsh=a*y.pl,y.offsv=r*y.pl,"mousescroll"==i.type?tpGS.gsap.to(y.tpw,c,{force3D:"auto",x:y.offsh,ease:"power3.out",overwrite:"all"}):tpGS.gsap.to(y.tpw,c,{force3D:"auto",x:y.offsh,y:y.offsv,ease:"power3.out",overwrite:"all"})}if("3D"==i.type||"3d"==i.type)for(var v in i.sctors)if(i.sctors.hasOwnProperty(v)&&(void 0===t[e].activeRSSlide||"static"===v||t[e].slides[t[e].activeRSSlide].dataset.key===v))for(var f in i.sctors[v])if(i.sctors[v].hasOwnProperty(f)){n=jQuery(i.sctors[v][f]);var b=t.isFirefox()?Math.min(25,i.levels[i.levels.length-1])/200:i.levels[i.levels.length-1]/200,w=a*b,_=r*b,x=0==t[e].canv.width?0:Math.round(a/t[e].canv.width*b*100)||0,S=0==t[e].canv.height?0:Math.round(r/t[e].canv.height*b*100)||0,k=n.closest("rs-slide"),L=0,R=!1;"deviceorientation"===o.type&&(w=a*(b=i.levels[i.levels.length-1]/200),_=r*b*3,x=0==t[e].canv.width?0:Math.round(a/t[e].canv.width*b*500)||0,S=0==t[e].canv.height?0:Math.round(r/t[e].canv.height*b*700)||0),n.hasClass("dddwrapper-layer")&&(L=i.ddd_z_correction||65,R=!0),n.hasClass("dddwrapper-layer")&&(w=0,_=0),k.index()===t[e].pr_active_key||"carousel"!=t[e].sliderType?!i.ddd_bgfreeze||R?tpGS.gsap.to(n,c,{rotationX:S,rotationY:-x,x:w,z:L,y:_,ease:"power3.out",overwrite:"all"}):tpGS.gsap.to(n,.5,{force3D:"auto",rotationY:0,rotationX:0,z:0,ease:"power3.out",overwrite:"all"}):tpGS.gsap.to(n,.5,{force3D:"auto",rotationY:0,x:0,y:0,rotationX:0,z:0,ease:"power3.out",overwrite:"all"}),"mouseleave"!=o.type&&"mouseout"!==o.type||tpGS.gsap.to(this,3.8,{z:0,ease:"power3.out"})}},parallaxProcesses:function(e,a,r,o){var s=t[e].fixedOnTop?Math.min(1,Math.max(0,window.scrollY/t.lastwindowheight)):Math.min(1,Math.max(0,(0-(a.top-t.lastwindowheight))/(a.hheight+t.lastwindowheight))),n=(a.top>=0&&a.top<=t.lastwindowheight||a.top<=0&&a.bottom>=0||a.top<=0&&a.bottom,t[e].slides[void 0===t[e].pr_active_key?0:t[e].pr_active_key]);if(t[e].scrollProg=s,t[e].scrollProgBasics={top:a.top,height:a.hheight,bottom:a.bottom},t[e].sbtimeline.fixed?(!1===t[e].fixedScrollOnState||!t.stickySupported||0!=t[e].fullScreenOffsetResult&&null!=t[e].fullScreenOffsetResult?t.stickySupported=!1:(t[e].topc.addClass("rs-stickyscrollon"),t[e].fixedScrollOnState=!0),void 0===t[e].sbtimeline.rest&&t.updateFixedScrollTimes(e),a.top>=t[e].fullScreenOffsetResult&&a.top<=t.lastwindowheight?(s=t[e].sbtimeline.fixStart*(1-a.top/t.lastwindowheight)/1e3,!0!==t.stickySupported&&!1!==t[e].fixedScrollOnState&&(t[e].topc.removeClass("rs-fixedscrollon"),tpGS.gsap.set(t[e].cpar,{top:0,y:0}),t[e].fixedScrollOnState=!1)):a.top<=t[e].fullScreenOffsetResult&&a.bottom>=t[e].module.height?(!0!==t.stickySupported&&!0!==t[e].fixedScrollOnState&&(t[e].fixedScrollOnState=!0,t[e].topc.addClass("rs-fixedscrollon"),tpGS.gsap.set(t[e].cpar,{top:0,y:t[e].fullScreenOffsetResult})),s=(t[e].sbtimeline.fixStart+t[e].sbtimeline.time*(Math.abs(a.top)/(a.hheight-t[e].module.height)))/1e3):(!0!==t.stickySupported&&(tpGS.gsap.set(t[e].cpar,{top:t[e].scrollproc>=0?0:a.height-t[e].module.height}),!1!==t[e].fixedScrollOnState&&(t[e].topc.removeClass("rs-fixedscrollon"),t[e].fixedScrollOnState=!1)),s=a.top>t.lastwindowheight?0:(t[e].sbtimeline.fixEnd+t[e].sbtimeline.rest*(1-a.bottom/t[e].module.height))/1e3)):s=t[e].duration*s/1e3,void 0!==n&&void 0!==t.gA(n,"key")&&!0!==r){for(var d in t[e].sbas[t.gA(n,"key")])if(void 0!==t[e]._L[d]&&void 0!==t[e]._L[d].timeline&&(1==t[e]._L[d].animationonscroll||"true"==t[e]._L[d].animationonscroll)){var l=void 0!==t[e]._L[d].scrollBasedOffset?s+t[e]._L[d].scrollBasedOffset:s;l=l<=0?0:l<.1?.1:l,t[e]._L[d].animteToTime!==l&&(t[e]._L[d].animteToTime=l,tpGS.gsap.to(t[e]._L[d].timeline,t[e].sbtimeline.speed,{time:l,ease:t[e].sbtimeline.ease}))}t[e].c.trigger("timeline_scroll_processed",{id:e,mproc:s,speed:t[e].sbtimeline.speed})}if(i&&t[e].parallax.disable_onmobile)return!1;var c=t[e].parallax;if("3d"!=c.type&&"3D"!=c.type){if("scroll"==c.type||"mousescroll"==c.type)for(var p in c.pcontainers)if(c.pcontainers.hasOwnProperty(p)&&void 0===t[e].activeRSSlide||"static"===p||t[e].slides[t[e].activeRSSlide].dataset.key===p)for(var g in c.pcontainers[p])if(c.pcontainers[p].hasOwnProperty(g)){var u=c.pcontainers[p][g],h=void 0!==o?o:c.speedls/1e3||0;u.pl=u.depth/100,u.offsv=Math.round(t[e].scrollproc*(-u.pl*t[e].canv.height)*10)/10||0,tpGS.gsap.to(u.tpw,h,{overwrite:"auto",force3D:"auto",y:u.offsv})}if(c.bgcontainers)for(g=0;g50?.15:h,tpGS.gsap.to(m,h,{position:"absolute",top:"0px",left:"0px",backfaceVisibility:"hidden",force3D:"true",y:f+"px"}),t[e].parallax.lastBGY=f}}var y=t[e].scrolleffect;if(y.set&&(!i||!1===y.disable_onmobile)){var b=Math.abs(t[e].scrollproc)-y.tilt/100;if(b=b<0?0:b,!1!==y._L){var w=1-b*y.multiplicator_layers,_={force3D:"true"};if("top"==y.direction&&t[e].scrollproc>=0&&(w=1),"bottom"==y.direction&&t[e].scrollproc<=0&&(w=1),w=w>1?1:w<0?0:w,y.fade&&(_.opacity=w),y.scale){var x=w;_.scale=1-x+1}if(y.blur)L=(L=(1-w)*y.maxblur)<=.03?0:L,_["-webkit-filter"]="blur("+L+"px)",_.filter="blur("+L+"px)";if(y.grayscale){var S="grayscale("+100*(1-w)+"%)";_["-webkit-filter"]=void 0===_["-webkit-filter"]?S:_["-webkit-filter"]+" "+S,_.filter=void 0===_.filter?S:_.filter+" "+S}tpGS.gsap.set(y._L,_)}if(!1!==y.bgs){w=1-b*y.multiplicator,_={backfaceVisibility:"hidden",force3D:"true"};for(var k in"top"==y.direction&&t[e].scrollproc>=0&&(w=1),"bottom"==y.direction&&t[e].scrollproc<=0&&(w=1),w=w>1?1:w<0?0:w,y.bgs)if(y.bgs.hasOwnProperty(k)){if(y.bgs[k].fade&&(_.opacity=w),y.bgs[k].blur){var L=(1-w)*y.maxblur;_["-webkit-filter"]="blur("+L+"px)",_.filter="blur("+L+"px)"}if(y.bgs[k].grayscale){S="grayscale("+100*(1-w)+"%)";_["-webkit-filter"]=void 0===_["-webkit-filter"]?S:_["-webkit-filter"]+" "+S,_.filter=void 0===_.filter?S:_.filter+" "+S}tpGS.gsap.set(y.bgs[k].c,_)}}}}});var a=function(e,i){var a=t[i].parallax;e.find("rs-sbg-wrap").wrapAll('
');var r=e[0].querySelectorAll(".rs-parallax-wrap"),o=document.createElement("div");o.className="dddwrapper-layer",o.style.width="100%",o.style.height="100%",o.style.position="absolute",o.style.top="0px",o.style.left="0px",o.style.zIndex=5,o.style.overflow=a.ddd_layer_overflow;for(var s=0;s');var n=e.find(".dddwrapper"),d=e.find(".dddwrapper-layer");e.find(".dddwrapper-layertobggroup").appendTo(n),"carousel"==t[i].sliderType&&(a.ddd_shadow&&n.addClass("dddwrappershadow"),tpGS.gsap.set(n,{borderRadius:t[i].carousel.border_radius})),tpGS.gsap.set(e,{overflow:"visible",transformStyle:"preserve-3d",perspective:1600}),tpGS.gsap.set(n,{force3D:"auto",transformOrigin:"50% 50%",transformStyle:"preserve-3d",transformPerspective:1600}),tpGS.gsap.set(d,{force3D:"auto",transformOrigin:"50% 50%",zIndex:5,transformStyle:"flat",transformPerspective:1600}),tpGS.gsap.set(t[i].canvas,{transformStyle:"preserve-3d",transformPerspective:1600})};function r(i,a,r,o){e(r).find(".rs-pxl-"+i).each(function(){var e=this.className.indexOf("rs-pxmask")>=0,r=e?t.closestNode(this,"RS-PX-MASK"):t.closestClass(this,"rs-parallax-wrap");r&&(e&&!window.isSafari11&&(tpGS.gsap.set(r,{z:1}),tpGS.gsap.set(t.closestNode(r,"RS-BG-ELEM"),{z:1})),r.dataset.parallaxlevel=a.levels[i-1],r.classList.add("tp-parallax-container"),o[this.id]={tpw:r,depth:a.levels[i-1],offsv:0,offsh:0})})}}(jQuery),function(e){"use strict";window._R_is_Editor?RVS._R=void 0===RVS._R?{}:RVS._R:window._R_is_Editor=!1;var t=_R_is_Editor?RVS._R:jQuery.fn.revolution,i=!_R_is_Editor&&t.is_mobile();_R_is_Editor&&(RVS._R.isNumeric=RVS.F.isNumeric),jQuery.extend(!0,t,{getSlideAnimationObj:function(e,i,a){var r,o={};for(var s in void 0===i.anim&&null==i.in&&(i.in="o:0"),i)if(i.hasOwnProperty(s)&&void 0!==i[s]){var n=i[s].split(";");for(var d in n)n.hasOwnProperty(d)&&void 0!==(r=n[d].split(":"))[0]&&void 0!==r[1]&&(o[s]=void 0===o[s]?{}:o[s],o[s][r[0]]="d3"===s&&"c"===r[0]?r[1]:r[1].split(",")[0])}return o.in=void 0===o.in?{}:o.in,o.anim=void 0===o.anim?{e:"basic"}:o.anim,_R_is_Editor||void 0===o.in||void 0===o.in.prst||t.loadSlideAnimLibrary(e,{key:a,prst:o.in.prst}),t[e].sbgs[a].slideanimationRebuild=!1,o},loadSlideAnimLibrary:function(e,i){void 0===t.SLTR&&!0!==t.SLTR_loading?(t.SLTR_loading=!0,jQuery.ajax({type:"post",url:t[e].ajaxUrl,dataType:"json",data:{action:"revslider_ajax_call_front",client_action:"get_transitions",token:t[e].ajaxNonce},success:function(a,r,o){1==a.success&&(t.SLTR=a.transitions,void 0!==i&&t.setRandomDefaults(e,i.key,i.prst))},error:function(e){console.log("Transition Table can not be loaded"),console.log(e)}})):void 0!==i&&void 0!==t.SLTR&&t.setRandomDefaults(e,i.key,i.prst)},convertSlideAnimVals:function(e){return{anim:{ms:parseInt(e.speed,0),o:e.o,e:e.e,f:e.f,p:e.p,d:parseInt(e.d,0)},d3:{f:e.d3.f,d:e.d3.d,z:e.d3.z,t:e.d3.t,c:e.d3.c,e:e.d3.e,fdi:e.d3.fdi,fdo:e.d3.fdo,fz:e.d3.fz,su:e.d3.su,smi:e.d3.smi,sma:e.d3.sma,sc:e.d3.sc,sl:e.d3.sl},in:{o:_R_is_Editor&&void 0!==e.preset&&0===e.preset.indexOf("rnd")?0:g(e.in.o),x:g(e.in.x),y:g(e.in.y),r:g(e.in.r),sx:g(e.in.sx),sy:g(e.in.sy),m:e.in.m,e:e.in.e,row:e.in.row,col:e.in.col,mo:"false"!==e.in.mou&&!1!==e.in.mou?g(e.in.mo):0,moo:"false"!==e.in.mou&&!1!==e.in.mou?g(e.in.moo):"none",mou:e.in.mou},out:void 0===e.out.a||"true"==e.out.a||!0===e.out.a?void 0:{a:p(e.out.a),o:g(e.out.o),x:g(e.out.x),y:g(e.out.y),r:g(e.out.r),sx:g(e.out.sx),sy:g(e.out.sy),m:e.out.m,e:e.out.e,row:g(e.out.row),col:g(e.out.col)},filter:{u:e.filter.u,e:e.filter.e,b:e.filter.b,g:e.filter.g,h:e.filter.h,s:e.filter.s,c:e.filter.c,i:e.filter.i}}},setRandomDefaults:function(e,i,a){t[e].sbgs[i].random=t.getAnimObjectByKey(a,t.SLTR)},getSlideAnim_EmptyObject:function(){return{speed:1e3,o:"inout",e:"basic",f:"start",p:"none",d:15,d3:{f:"none",d:"horizontal",z:300,t:0,c:"#ccc",e:"power2.inOut",fdi:1.5,fdo:2,fz:0,su:!1,smi:0,sma:.5,sc:"#000",sl:1},filter:{u:!1,e:"default",b:0,g:0,h:100,s:0,c:100,i:0},in:{o:1,x:0,y:0,r:0,sx:1,sy:1,m:!1,e:"power2.inOut",row:1,col:1,mo:80,mou:!1},out:{a:"true",o:1,x:0,y:0,r:0,sx:1,sy:1,m:!1,e:"power2.inOut",row:1,col:1}}},getAnimObjectByKey:function(e,i){if(t.getAnimObjectCacheKey===e)return t.getAnimObjectCache;var a;for(var r in t.getAnimObjectCacheKey=e,i)if(i.hasOwnProperty(r)&&void 0===a)for(var o in i[r])if(i[r].hasOwnProperty(o)&&void 0===a)if(e===o&&0===e.indexOf("rnd"))(a=i[r][o]).main=r,a.group=o;else for(var s in i[r][o])i[r][o].hasOwnProperty(s)&&void 0===a&&s===e&&((a=i[r][o][s]).main=r,a.group=o);return t.getAnimObjectCache=jQuery.extend(!0,{},a),a},getRandomSlideTrans:function(e,i,a){if(void 0!==t.randomSlideAnimCache&&void 0!==t.randomSlideAnimCache[e]&&void 0!==t.randomSlideAnimCache[e][i])return t.randomSlideAnimCache[e][i][Math.floor(Math.random()*t.randomSlideAnimCache[e][i].length)];for(var r in t.randomSlideAnimCache=void 0===t.randomSlideAnimCache?{}:t.randomSlideAnimCache,t.randomSlideAnimCache[e]=void 0===t.randomSlideAnimCache[e]?{}:t.randomSlideAnimCache[e],t.randomSlideAnimCache[e][i]=void 0===t.randomSlideAnimCache[e][i]?[]:t.randomSlideAnimCache[e][i],a)if(a.hasOwnProperty(r)&&"random"!==r&&"custom"!==r&&("all"==e||r==e))for(var o in a[r])if(a[r].hasOwnProperty(o)&&"icon"!==o&&(""+i=="undefined"||i.indexOf(o)>=0))for(var s in a[r][o])a[r][o].hasOwnProperty(s)&&-1==jQuery.inArray(a[r][o][s].title,["*north*","*south*","*east*","*west*"])&&t.randomSlideAnimCache[e][i].push(s);return t.randomSlideAnimCache[e][i][Math.floor(Math.random()*t.randomSlideAnimCache[e][i].length)]},cbgW:function(e,i){return _R_is_Editor?RVS.RMD.width:"carousel"===t[e].sliderType?t[e].justifyCarousel?t[e].carousel.slide_widths[void 0!==i?i:t[e].carousel.focused]:t[e].carousel.slide_width:t[e].canv.width},cbgH:function(e,i){return _R_is_Editor?RVS.RMD.height:"carousel"===t[e].sliderType?t[e].carousel.slide_height:t[e].canv.height},animateSlide:function(e,t){return _R_is_Editor&&RVS.F.resetSlideTL(),void 0===tpGS.eases.late&&(tpGS.CustomEase.create("late","M0,0,C0,0,0.474,0.078,0.724,0.26,0.969,0.438,1,1,1,1"),tpGS.CustomEase.create("late2","M0,0 C0,0 0.738,-0.06 0.868,0.22 1,0.506 1,1 1,1 "),tpGS.CustomEase.create("late3","M0,0,C0,0,0.682,0.157,0.812,0.438,0.944,0.724,1,1,1,1")),s(e,t)},getBasic:function(e){return jQuery.extend(!0,{attr:null==e||void 0===e.attr?["o","r","sx","sy","x","y","m","e","row","col","mo","moo"]:e.attr,in:{f:"start",m:!1,o:1,r:0,sx:1,sy:1,x:0,y:0,row:1,col:1,e:"power2.inOut",ms:1e3,mo:0,moo:"none"},out:{f:"start",m:!1,o:1,r:0,sx:1,sy:1,x:0,y:0,row:1,col:1,e:"power2.inOut",ms:1e3}},e)},playBGVideo:function(e,i,a){if(_R_is_Editor)a=void 0===a?RVS.SBGS[RVS.S.slideId].n:a;else{if(void 0===a&&(void 0===t[e].pr_next_bg||0===t[e].pr_next_bg.length))return;a=void 0===a?t[e].sbgs[void 0===i?t[e].pr_next_bg[0].dataset.key:i]:a}void 0!==a.bgvid&&a.bgvid.length>0&&(h(e,{},a,"in"),t.resetVideo(a.bgvid,e),t.playVideo(a.bgvid,e,!0),tpGS.gsap.to(a.bgvid[0],.2,{zIndex:30,display:"block",autoAlpha:1,delay:.075,overwrite:"all"}))},stopBGVideo:function(e,i,a){if(_R_is_Editor)a=void 0===a?RVS.SBGS[RVS.S.slideId].n:a;else{if(void 0===a&&(void 0===t[e].pr_next_bg||0===t[e].pr_next_bg.length))return;a=void 0===a?t[e].sbgs[void 0===i?t[e].pr_next_bg[0].dataset.key:i]:a}void 0!==a.bgvid&&a.bgvid.length>0&&(a.drawVideoCanvasImagesRecall=!1,t.stopVideo(a.bgvid,e),tpGS.gsap.to(a.bgvid[0],.2,{autoAlpha:0,zIndex:0,display:"none"}))},getmDim:function(e,i,a){var r=t.cbgW(e,i),o=t.cbgH(e,i);return a.DPR=Math.min(window.devicePixelRatio,2),{width:Math.round(r*a.DPR),height:Math.round(o*a.DPR),w:r,h:o}},updateSlideBGs:function(e,i,a){if(_R_is_Editor)a=void 0===a?RVS.SBGS[RVS.S.slideId].n:a;else{if(void 0===a&&(void 0===t[e].pr_next_bg||0===t[e].pr_next_bg.length))return;a=void 0===a?t[e].sbgs[void 0===i?t[e].pr_next_bg[0].dataset.key:i]:a}a.mDIM=t.getmDim(e,a.skeyindex,a),void 0!==a.video?("IMG"!==a.video.tagName&&(a.isVidImg=""),a.cDIMS=t.getBGCanvasDetails(e,a),a.canvas.width=a.mDIM.width,a.canvas.height=a.mDIM.height,a.ctx.clearRect(0,0,a.mDIM.width,a.mDIM.height),a.ctx.drawImage(a.shadowCanvas,0,0)):(a.cDIMS=t.getBGCanvasDetails(e,a),a.canvas.width=a.mDIM.width,a.canvas.height=a.mDIM.height,"panzoom"===a.currentState||"animating"===a.currentState||void 0===a.currentState&&!_R_is_Editor&&"carousel"!=t[e].sliderType||(a.ctx.clearRect(0,0,a.mDIM.width,a.mDIM.height),a.ctx.drawImage(a.shadowCanvas,0,0))),"animating"===a.currentState&&"carousel"!==t[e].sliderType&&t.animatedCanvasUpdate(e,a)},addCanvas:function(){var e=document.createElement("canvas");return x=e.getContext("2d"),e.style.background="transparent",e.style.opacity=1,x},updateVideoFrames:function(e,a,r){if(a.now=Date.now(),a.then=void 0===a.then?a.now-500:a.then,a.elapsed=a.now-a.then,a.fps="animating"===a.currentState&&window._rs_firefox?50:33,a.elapsed>a.fps){a.then=a.now-a.elapsed%a.fps;var o="img"===a.video.tagName||null==a.video.videoWidth||0==a.video.videoWidth;void 0!==a.video&&!a.video.BGrendered&&void 0!==a.loadobj&&void 0!==a.loadobj.img||i&&t.isFirefox(e)?(a.mDIM=t.getmDim(e,a.skeyindex,a),a.pDIMS=l(a.mDIM,a,{width:a.mDIM.width,height:a.mDIM.height,x:0,y:0,contw:a.loadobj.width,conth:a.loadobj.height}),a.shadowCanvas.width=a.mDIM.width,a.shadowCanvas.height=a.mDIM.height,a.shadowCTX.drawImage(a.loadobj.img,a.pDIMS.x,a.pDIMS.y,a.pDIMS.width,a.pDIMS.height)):((r||void 0===a.sDIMS||o!==a.isVidImg||0===a.sDIMS.width||0===a.sDIMS.height)&&(a.isVidImg=o,a.mDIM=t.getmDim(e,a.skeyindex,a),a.sDIMS=l(a.mDIM,a,{width:a.mDIM.width,height:a.mDIM.height,x:0,y:0,contw:a.isVidImg?a.loadobj.width:a.video.videoWidth,conth:a.isVidImg?a.loadobj.height:a.video.videoHeight})),void 0!==a.sDIMS&&0!==a.sDIMS.width&&0!==a.sDIMS.height&&("animating"===a.currentState?(a.shadowCanvas.width=a.sDIMS.width,a.shadowCanvas.height=a.sDIMS.height,a.shadowCTX.drawImage(a.video,a.sDIMS.x,a.sDIMS.y,a.sDIMS.width,a.sDIMS.height)):void 0===a.animateDirection&&(a.canvas.width=a.mDIM.width,a.canvas.height=a.mDIM.height,a.ctx.drawImage(a.video,a.sDIMS.x,a.sDIMS.y,a.sDIMS.width,a.sDIMS.height)),a.shadowCanvas_Drawn=!0))}(r||a.drawVideoCanvasImagesRecall&&"animating"===a.currentState||"animating"===a.currentState&&void 0===a.shadowCanvas_Drawn)&&window.requestAnimationFrame(function(){t.updateVideoFrames(e,a)})},createOverlay:function(e,i,a,r){if("none"===i)return"none";a=void 0===a?1:a;r=void 0===r?{0:"rgba(0, 0, 0, 0)",1:"rgba(0, 0, 0, 1)"}:r;var o={none:[[0]],1:[[1,0],[0,0]],2:[[1,0,0],[0,0,0],[0,0,0]],3:[[1,0,0,0],[0,0,0,0],[0,0,0,0]],4:[[1],[0]],5:[[1],[0],[0]],6:[[1],[0],[0],[0]],7:[[1,0]],8:[[1,0,0]],9:[[1,0,0,0]],10:[[1,0,0,0,0],[0,1,0,1,0],[0,0,0,0,0],[0,1,0,1,0],[0,0,0,0,1]],11:[[0,0,1,0,0],[0,1,0,1,0],[1,0,0,0,1],[0,1,0,1,0],[0,0,1,0,0]],12:[[1,0,0],[0,1,0],[0,0,1]],13:[[0,0,1],[0,1,0],[1,0,0]],14:[[1,0,0,0,0],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,0,0,0,0]],15:[[0,0,0,0,1],[0,0,0,1,0],[0,0,1,0,0],[0,1,0,0,0],[1,0,0,0,0]],16:[[1,0,0,0,1],[0,1,0,1,0],[0,0,1,0,0],[0,1,0,1,0],[1,0,0,0,1]]},s=void 0===o[i=void 0===i?1:i]?o[2]:o[i];_R_is_Editor&&(t[e]=void 0===t[e]?{}:t[e]),t[e].patternCanvas=document.createElement("canvas"),t[e].patternCtx=t[e].patternCanvas.getContext("2d"),t[e].patternCanvas.width=s[0].length*a,t[e].patternCanvas.height=s.length*a;for(var n=0;n=0,_R_is_Editor&&void 0===i.panzoom&&delete i.shadowCanvas,void 0===i.shadowCanvas&&(i.shadowCanvas=document.createElement("canvas"),i.shadowCTX=i.shadowCanvas.getContext("2d"),i.shadowCanvas.style.background="transparent",i.shadowCanvas.style.opacity=1),!0===i.replaceShadowCanvas||!0===i.loadobj.bgColor||!0===i.usebgColor||void 0!==i.panzoom||null!=i.isHTML5&&1!=i.poster||i.usepattern?(o={width:i.mDIM.width,height:i.mDIM.height,x:0,y:0},i.usepattern&&void 0!==i.loadobj&&void 0!==i.loadobj.img?t.getCanvasPattern(e,i,{ratio:i.loadobj.height/i.loadobj.width}):(i.loadobj.bgColor||i.usebgColor)&&(i.shadowCanvas.width=i.mDIM.width,i.shadowCanvas.height=i.mDIM.height,t.getCanvasGradients(e,i))):(o=l(i.mDIM,i,{width:i.mDIM.width,height:i.mDIM.height,x:0,y:0,contw:i.loadobj.width,conth:i.loadobj.height}),i.shadowCanvas.width=i.mDIM.width,i.shadowCanvas.height=i.mDIM.height,void 0!==i.loadobj&&void 0!==i.loadobj.img&&i.shadowCTX.drawImage(i.loadobj.img,o.x,o.y,o.width,o.height),o={width:i.mDIM.width,height:i.mDIM.height,x:0,y:0}),o},getCanvasPattern:function(e,i,a){void 0===i.patternImageCanvas&&(i.patternImageCanvas=document.createElement("canvas"),i.patternImageCTX=i.patternImageCanvas.getContext("2d"));var r=i.bgfit.split(" ");1===r.length&&(r[1]=r[0]),a.width="auto"===r[0]?i.loadobj.width:i.loadobj.width*(parseInt(r[0],0)/100),a.height="auto"===r[1]?i.loadobj.height:a.width*a.ratio,i.DPR=Math.min(window.devicePixelRatio,2),a.width=a.width*i.DPR,a.height=a.height*i.DPR,i.patternImageCanvas.width=a.width,i.patternImageCanvas.height=a.height,i.patternImageCTX.drawImage(i.loadobj.img,0,0,a.width,a.height),i.shadowCanvas.width=i.mDIM.width,i.shadowCanvas.height=i.mDIM.height,i.pattern=i.shadowCTX.createPattern(i.patternImageCanvas,i.bgrepeat),i.shadowCTX.fillStyle=i.pattern,i.shadowShifts={h:i.bgposition.split(" ")[0],v:i.bgposition.split(" ")[1]},i.shadowShifts.hperc=t.isNumeric(parseInt(i.shadowShifts.h))?parseInt(i.shadowShifts.h)/100*i.mDIM.width:0,i.shadowShifts.vperc=t.isNumeric(parseInt(i.shadowShifts.v))?parseInt(i.shadowShifts.v)/100*i.mDIM.height:0,i.shadowShifts.x="left"===i.shadowShifts.h?0:"center"===i.shadowShifts.h||"50%"==i.shadowShifts.h?"repeat"==i.bgrepeat||"repeat-x"==i.bgrepeat?i.mDIM.width/2-a.width/2-Math.ceil(i.mDIM.width/2/a.width)*a.width:i.mDIM.width/2-a.width/2:"right"===i.shadowShifts.h?"repeat"==i.bgrepeat||"repeat-x"==i.bgrepeat?-(a.width-i.mDIM.width%a.width):i.mDIM.width-a.width:"repeat"==i.bgrepeat||"repeat-x"==i.bgrepeat?-(a.width-i.shadowShifts.hperc%a.width):i.shadowShifts.hperc,i.shadowShifts.y="top"===i.shadowShifts.v?0:"center"===i.shadowShifts.v||"50%"==i.shadowShifts.v?"repeat"==i.bgrepeat||"repeat-y"==i.bgrepeat?i.mDIM.height/2-a.height/2-Math.ceil(i.mDIM.height/2/a.height)*a.height:i.mDIM.height/2-a.height/2:"bottom"===i.shadowShifts.v?"repeat"==i.bgrepeat||"repeat-y"==i.bgrepeat?-(a.height-i.mDIM.height%a.height):i.mDIM.height-a.height:"repeat"==i.bgrepeat||"repeat-y"==i.bgrepeat?-(a.height-i.shadowShifts.vperc%a.height):i.shadowShifts.vperc,i.shadowCTX.translate(i.shadowShifts.x,i.shadowShifts.y),i.shadowCTX.fillRect(0,0,i.mDIM.width-i.shadowShifts.x,i.mDIM.height-i.shadowShifts.y)},getCanvasGradients:function(e,i){if(i.bgcolor.indexOf("gradient")>=0){i.gradient=null==i.gradient||_R_is_Editor?t.getGradients(i.bgcolor):i.gradient,i.shadowGrd="radialGradient"===i.gradient.Type?i.shadowCTX.createRadialGradient(i.mDIM.width/2,i.mDIM.height/2,0,i.mDIM.width/2,i.mDIM.height/2,Math.max(i.mDIM.width/2,i.mDIM.height/2)):t.calcLinearGradient(i.shadowCTX,i.shadowCanvas.width,i.shadowCanvas.height,i.gradient.deg);for(var a=0;a3?n[3]:1}}),d.appendChild(s);t.gradSVG.appendChild(d),e="url(#tp_svg_gradient_"+t.svgGradients.length+")",t.svgGradients.push({url:e,src:r,g:d})}return e},getGradients:function(e){return e.indexOf("radial-gradient")>=0?{stops:t.getGradientColorStopPoints(e.split("radial-gradient(ellipse at center, ")[1]),type:"radialGradient",deg:0}:-1!==e.indexOf("gradient")?t.getLinearGradientStops(e):e},getLinearGradientStops:function(e){var t=e.split("linear-gradient(")[1];_R_is_Editor&&(t=(t=t.split(", ").join(",")).split(",rgba").join(", rgba"));var i=t.split("deg, ");for(var a in t=(i.length>1?i[1]:i[0]).split(" "),i=i.length>1?i[0]:180,t)t.hasOwnProperty(a)&&t[a].indexOf("%")>=0&&(t[a]=""+Math.round(100*parseFloat(t[a].split("%,")[0].split("%)")[0]))/1e4);return{stops:t,deg:i,type:"linearGradient"}},getGradientColorStopPoints:function(e){var t=/rgb([\s\S]*?)%/g,i=[],a=[];do{(o=t.exec(e))&&i.push(o[0])}while(o);for(var r=0;rm(d,l,u[1].x,u[1].y)?(r=u[0].x,o=u[0].y):(r=u[1].x,o=u[1].y),m(d,l,u[2].x,u[2].y)>m(d,l,u[3].x,u[3].y)?(s=u[2].x,n=u[2].y):(s=u[3].x,n=u[3].y),Math.round(100*Math.atan2(l-o,d-r))/100===Math.round(a%(2*Math.PI)*100)/100){var y=r,b=o;r=s,o=n,s=y,n=b}return e.createLinearGradient(Math.round(r),Math.round(o),Math.round(s),Math.round(n))},transitions:{filter:{update:function(e,t,i){if(void 0!==e&&void 0!==e.tl){var a=void 0!==i||void 0!==e.tl.blur?" blur("+(void 0!==i?i:0+e.tl.blur!==void 0?e.tl.blur:0)+"px)":"";t.canvas.style.filter=void 0===e.tl.filter?""+a:e.tl.filter+a}},extendTimeLine:function(e,t,i){if(null!=t){var a=void 0!==t.g&&"0%"!==t.g&&0!==t.g?(""===a?"":" ")+"grayscale(_g_%)":"";a+=void 0!==t.h&&"100%"!==t.h&&100!==t.h?(""===a?"":" ")+"brightness(_h_%)":"",a+=void 0!==t.s&&"0px"!==t.s&&0!==t.s?(""===a?"":" ")+"sepia(_s_%)":"",a+=void 0!==t.c&&100!==t.c?(""===a?"":" ")+"contrast(_c_%)":"",""!==(a+=void 0!==t.i&&0!==t.i?(""===a?"":" ")+"invert(_i_%)":"")&&(t.tl={filter:a.replace("_g_",parseFloat(t.g)).replace("_h_",parseFloat(t.h)).replace("_s_",parseFloat(t.s)).replace("_c_",parseFloat(t.c)).replace("_i_",parseFloat(t.i))}),void 0!==t.b&&"0px"!==t.b&&0!==t.b&&(void 0===t.tl?t.tl={blur:parseFloat(t.b)}:t.tl.blur=parseFloat(t.b)),void 0!==t.tl&&(e.add(tpGS.gsap.to(t.tl,t.ms/t.sec,void 0===t.tl.filter?{blur:0}:void 0===t.tl.blur?{filter:a.replace("_g_","0").replace("_h_","100").replace("_s_","0").replace("_c_",100).replace("_i_",0),ease:t.e}:{blur:0,filter:a.replace("_g_","0").replace("_h_","100").replace("_s_","0").replace("_c_",100).replace("_i_",0),ease:t.e}),0),i.canvasFilter=!0)}}},slidingoverlay:{getBasic:function(){return t.getBasic({attr:["x","y"],in:{m:!0,o:-1,_xy:20,_gxys:10,_gxye:-10,zIndex:20,e:"power1.inOut"},out:{m:!0,reversed:!1,_xy:-100,o:0,zIndex:10,e:"power1.inOut"}})},updateAnim:function(e,t,i){var a=void 0!==t.in.x&&0!==t.in.x&&"0%"!==t.in.x?"x":"y";t.in["g"+a+"s"]=n(t.in[a],t.in._gxys,i,1)+"%",t.in["g"+a+"e"]=n(t.in[a],t.in._gxye,i,1)+"%",t.out[a]=n(t.in[a],t.out._xy,i,1)+"%",t.in[a]=n(t.in[a],t.in._xy,i,1)+"%";var r=parseInt(t.in[a])>=0;return t.in.d="x"===a?r?"left":"right":r?"up":"down",t},beforeDraw:function(e,t,i,a){void 0!==i.d&&(i._dxs="right"===i.d?0+i.mw:"left"===i.d?0-i.mw:0,i._dys="down"===i.d?0+i.mh:"up"===i.d?0-i.mh:0,i._xs="left"===i.d?0-i.mw:0,i._ys="up"===i.d?0-i.mh:0,i._xe="right"===i.d?a.SLOT.OW+i.mw:"left"===i.d?a.SLOT.OW-i.mw:a.SLOT.OW,i._ye="down"===i.d?a.SLOT.OH+i.mh:"up"===i.d?a.SLOT.OH-i.mh:a.SLOT.OH,t.beginPath(),t.rect("left"===i.d?Math.max(0,i._xs):"right"===i.d?Math.min(0,i._xs):0,"up"===i.d?Math.max(0,i._ys):"down"===i.d?Math.min(0,i._ys):0,"left"===i.d?Math.max(a.SLOT.OW,i._xe):"right"===i.d?Math.min(a.SLOT.OW,i._xe):i._xe,"up"===i.d?Math.max(a.SLOT.OH,i._ye):"down"===i.d?Math.min(a.SLOT.OH,i._ye):i._ye),t.clip())},afterDraw:function(e,t,i,a,r){void 0!==i.d&&(t.save(),t.beginPath(),t.rect(Math.max(0,i._dxs),Math.max(0,i._dys),i._xe,i._ye),t.clip(),t.save(),t.transform(r.csx,r.ssx,r.ssy,r.csy,.5*a.SLOT.OW+i.x+i.sgx,.5*a.SLOT.OH+i.y+i.sgy),t.drawImage(void 0!==a.shadowCanvas?a.shadowCanvas:a.loadobj.img,0,0,a.SLOT.OW,a.SLOT.OH,i.sgx-a.SLOT.OW/2,i.sgy-a.SLOT.OH/2,a.SLOT.OW,a.SLOT.OH),t.restore(),t.fillStyle="rgba(0,0,0,0.6)",t.fillRect(i.gx,i.gy,a.SLOT.OW,a.SLOT.OH),t.restore())},extendTimeLine:function(e,t,i,a,r,o){"in"!==r.direction||void 0===a.gxe&&void 0===a.gye||(jQuery.extend(!0,i[0],{d:a.d,gx:void 0===a.gxs?0:2*n(a.gxs,o.width,r.sdir,0),gy:void 0===a.gys?0:2*n(a.gys,o.height,r.sdir,0),sgx:void 0===a.gxs?0:n(a.gxs,o.width,r.sdir,0),sgy:void 0===a.gys?0:n(a.gys,o.height,r.sdir,0),mw:0-o.width,mh:0-o.height}),t.add(tpGS.gsap.to(i,a.ms/a.sec,{gx:void 0===a.gxe?0:2*n(a.gxe,o.width,r.sdir,0),gy:void 0===a.gye?0:2*n(a.gye,o.height,r.sdir,0),sgx:void 0===a.gxe?0:2*n(a.gxe,o.width,r.sdir,0),sgy:void 0===a.gye?0:2*n(a.gye,o.height,r.sdir,0),mw:o.width,mh:o.height,ease:a.e}),0))}},motionFilter:{init:function(e,t){return void 0!==t&&parseFloat(t)>0?(t=parseFloat(t),e.fmExists=!0,e.fmShadow=void 0===e.fmShadow?document.createElement("canvas"):e.fmShadow,e.fmCtx=e.fmShadow.getContext("2d"),e.fmShadow.width=e.ctx.canvas.width,e.fmShadow.height=e.ctx.canvas.height,e.fmCtx.globalAlpha=tpGS.gsap.utils.mapRange(100,0,40,0,t)/100,e.fmCtx.clearRect(0,0,e.ctx.canvas.width,e.ctx.canvas.height)):e.fmExists=!1,t},render:function(e,t){"partial"===t&&(e.fmCtx.globalCompositeOperation="source-over"),e.fmCtx.drawImage(e.canvas,0,0,e.canvas.width,e.canvas.height),e.ctx.clearRect(0,0,e.canvas.width,e.canvas.height),e.ctx.drawImage(e.fmCtx.canvas,0,0,e.canvas.width,e.canvas.height),"partial"===t&&(e.fmCtx.globalCompositeOperation="source-atop"),"partial"!==t&&"full"!==t||(e.fmCtx.fillStyle="rgba(255, 255, 255, 0.1)",e.fmCtx.fillRect(0,0,e.canvas.width,e.canvas.height))},clearFull:function(e,t){e.fmExists&&void 0!==e.fmCtx&&(e.ctx.clearRect(0,0,e.canvas.width,e.canvas.height),e.fmCtx.clearRect(0,0,e.canvas.width,e.canvas.height),void 0!==t&&t.render(t.time(),!0,!0))},complete:function(e){e.fmShadow&&e.fmShadow.remove()}},d3:{ticker:function(e,t,i){if(void 0!==e.helper){var a=e.smi*("in"===i?e.helper.oo:e.helper.o),r=e.sma*("in"===i?e.helper.oo:e.helper.o);if(e.gradient="vertical"===e.d?"in"===i?t.ctx.createLinearGradient(0,0,0,t.canvas.height):t.ctx.createLinearGradient(0,t.canvas.height,0,0):"in"===i?t.ctx.createLinearGradient(0,0,t.canvas.width,0):t.ctx.createLinearGradient(t.canvas.width,0,0,0),e.gradient.addColorStop(0,"rgba("+e.sc+","+a+")"),e.gradient.addColorStop(e.sl,"rgba("+e.sc+","+r+")"),t.ctx.fillStyle=e.gradient,t.ctx.fillRect(0,0,t.canvas.width,t.canvas.height),void 0!==t.cube&&t.cube.ctx){var o=void 0!==e.roomhelper&&!1!==e.roomhelper&&(90-e.roomhelper.r)/90;a=!1!==o?o:e.smi*e.helper.o,r=!1!==o?o:e.sma*e.helper.o,t.cube.ctx.clearRect(0,0,t.cube.ctx.canvas.width,t.cube.ctx.canvas.height),e.gradientW=!1!==o?"vertical"===e.d?e.t<0&&1===e.sdir||e.t>0&&-1===e.sdir?t.ctx.createRadialGradient(0,t.cube.ctx.canvas.width/2,0,0,0,2*t.cube.ctx.canvas.width):t.ctx.createRadialGradient(t.cube.ctx.canvas.width,0,0,0,0,2*t.cube.ctx.canvas.width):e.t>0&&1===e.sdir||e.t<0&&-1===e.sdir?t.ctx.createRadialGradient(t.cube.ctx.canvas.width/2,t.cube.ctx.canvas.height,0,t.cube.ctx.canvas.width/2,t.cube.ctx.canvas.height,t.cube.ctx.canvas.width):t.ctx.createRadialGradient(t.cube.ctx.canvas.width/2,.2*t.cube.ctx.canvas.height,0,t.cube.ctx.canvas.width/2,.2*t.cube.ctx.canvas.height,t.cube.ctx.canvas.width):"vertical"===e.d?t.ctx.createLinearGradient(0,0,0,t.cube.ctx.canvas.height):t.ctx.createLinearGradient(0,0,t.cube.ctx.canvas.width,0),e.gradientW.addColorStop(0,"rgba("+e.sc+","+(!1!==o?"a"===e.DIR?r:0:"a"===e.DIR?0:r)+")"),e.gradientW.addColorStop(1,"rgba("+e.sc+","+(!1!==o?"a"===e.DIR?0:r:"a"===e.DIR?r:0)+")"),t.cube.ctx.fillStyle=e.gradientW,t.cube.ctx.fillRect(0,0,t.cube.ctx.canvas.width,t.cube.ctx.canvas.height)}}},setWall:function(e,t,i,a,r,o){return e.TL=tpGS.gsap.timeline(),e.TL.add(tpGS.gsap.to(e.c,.2,{display:"block"}),0),"rotationX"===i?(e.ctx.canvas.width=a.w,e.ctx.canvas.height=a.w,e.TL.add(tpGS.gsap.set(e.w,{backgroundColor:r,width:a.w,height:a.w,transformOrigin:"50% 50% -"+a.w/2+"px",x:0,y:t>0?-(a.w-a.h):0,rotationX:t>0?-90:90,rotationY:0}),0)):(e.ctx.canvas.width=o?a.w:a.h,e.ctx.canvas.height=a.h,e.TL.add(tpGS.gsap.set(e.w,{backgroundColor:r,width:o?a.w:a.h,height:a.h,transformOrigin:"50% 50% -"+(o?a.w:a.h)/2+"px",x:t<0?a.w-a.h:0,y:0,rotationX:0,rotationY:t>0?-90:90}),0)),e.TL},buildCube:function(e){e.cube={c:document.createElement("div"),w:document.createElement("canvas")},e.cube.ctx=e.cube.w.getContext("2d"),e.cube.c.className="rs_fake_cube",e.cube.w.className="rs_fake_cube_wall",tpGS.gsap.set(e.cube.c,{width:e.mDIM.w,height:e.mDIM.h}),tpGS.gsap.set(e.cube.w,{width:e.mDIM.w,height:e.mDIM.h,backgroundColor:"#ccc"}),e.cube.c.appendChild(e.cube.w),e.sbg.appendChild(e.cube.c)},cubeTL:function(e,i,a,r){if("none"!==i.f&&void 0!==i.f){a.sbg.style.transformStyle="preserve-3d";var o=tpGS.gsap.timeline(),s="incube"===i.f?1:-1,n="incube"===i.f||"cube"===i.f,d="fly"===i.f?-30:90,l="turn"!==i.f&&!1!==i.t&&(_R_is_Editor||!0===t[e].firstSlideAnimDone),c=-1*i.z,p={},g={z:l?0:c,ease:"power1.inOut"},u={ease:i.e},h=[a.canvas],m=n?"50% 50% ":"20% 20% ",v="rotationX",f="rotationY",y="y",b="height",w=i.fd;if("vertical"!==i.d?(v="rotationY",f="rotationX",y="x",b="width",i.DIR=1===i.sdir?"b":"a"):i.DIR=1===i.sdir?"a":"b",b="width"===b?"w":"height"===b?"h":b,"turn"===i.f?(d="vertical"===i.d?-120:120,m="vertical"===i.d?1===i.sdir?"in"===r?"0% 0% 0%":"0% 100% 0%":"in"===r?"0% 100% 0%":"0% 0% 0%":1===i.sdir?"in"===r?"0% 0% 0%":"100% 0% 0%":"in"===r?"100% 0% 0%":"0% 0% 0%",g.z=0,u.ease="out"===r?"power3.out":u.ease,w="out"===r?w/2:w):m+=s*a.mDIM[b]/2+"px",u[v]=0,u[y]=0,"in"===r?p[v]=d*i.sdir:u[v]=-d*i.sdir,"fly"===i.f){var _=void 0===i.fz?20*Math.random()-10:parseInt(i.fz);"in"===r?(p[y]=a.mDIM[b]*(void 0===i.fdi?1.5:parseFloat(i.fdi))*i.sdir,p.rotateZ=i.sdir*_,u.rotateZ=0):(u[y]=a.mDIM[b]*(void 0===i.fdo?2:parseFloat(i.fdo))*i.sdir*-1,u.rotateZ=i.sdir*_*-1)}if(a.sbg.style.perspective=l?"2500px":"1500px",l){var x={z:c*("fly"===i.f?1.5:3),ease:"power1.inOut"},S={z:0,ease:"power1.inOut"};x[f]=-1*i.t,S[f]=0,i.roomhelper={r:0},o.add(tpGS.gsap.set(_R_is_Editor?RVS.SBGS[RVS.S.slideId].wrap:a.wrap[0],{perspective:1200,transformStyle:"preserve-3d",transformOrigin:m}),0),o.add(tpGS.gsap.to(a.sbg,3*i.md,x),0),o.add(tpGS.gsap.to(a.sbg,3*i.md,S),w-i.md),o.add(tpGS.gsap.to(i.roomhelper,3*i.md,{r:Math.abs(i.t)}),0),o.add(tpGS.gsap.to(i.roomhelper,3*i.md,{r:0}),w-i.md),"in"===r&&1!==s&&n&&(void 0===a.cube&&t.transitions.d3.buildCube(a),o.add(t.transitions.d3.setWall(a.cube,x[f],f,a.mDIM,i.c),0),h.push(a.cube.c))}else i.roomhelper=!1,o.add(tpGS.gsap.set(_R_is_Editor?RVS.SBGS[RVS.S.slideId].wrap:a.wrap[0],{perspective:"none",transformStyle:"none",transformOrigin:"50% 50%"}),0),!_R_is_Editor&&!0!==t[e].firstSlideAnimDone&&n&&(void 0===a.cube&&t.transitions.d3.buildCube(a),o.add(t.transitions.d3.setWall(a.cube,p[v],v,a.mDIM,i.c,!0),0),o.add(tpGS.gsap.fromTo(a.cube.w,4*i.md,{opacity:0},{opacity:1}),0),h.push(a.cube.c));return i.helper={o:0,oo:1},o.add(tpGS.gsap.to(i.helper,w,{o:1,oo:0,ease:i.e}),i.md+0),o.add(tpGS.gsap.set(h,jQuery.extend(!0,{},p,{force3D:!0,transformOrigin:m})),0),"turn"!==i.f&&o.add(tpGS.gsap.to(h,3*i.md,g),0),o.add(tpGS.gsap.to(h,w,u),i.md+0),"turn"!==i.f&&o.add(tpGS.gsap.to(h,3*i.md,{z:0,ease:"power1.inOut"}),w-i.md),"out"===r&&1!==s&&o.add(tpGS.gsap.to(h,2*i.md,{opacity:0}),i.dur-2*i.md),o}}}},animatedCanvasUpdate:function(e,i){i.cDIMS=t.getBGCanvasDetails(e,i),i.canvas.style.backgroundColor="transparent",i.canvas.style.opacity=1,i.canvas.width!==i.mDIM.width&&(i.canvas.width=i.mDIM.width),i.canvas.height!==i.mDIM.height&&(i.canvas.height=i.mDIM.height),_R_is_Editor||!0!==t[e].clearModalBG||(i.ctx.clearRect(0,0,i.canvas.width,i.canvas.height),t[e].clearModalBG=!1,i.sbg.parentNode.style.opacity=1),i.SLOT=jQuery.extend(!0,{s:{},c:{}},r(e,i.col,i.row,i.mDIM,"OW","OH")),i.SLOT.DX=0-i.SLOT.OW/2,i.SLOT.DY=0-i.SLOT.OH/2,i.row=Math.ceil(i.mDIM.height/i.SLOT.OH)||1},animateCore:function(e,i,a,r){var o,s,l,c,p=i.canvas,g=i.ctx,u=0;i.col=a.col,i.row=a.row,t.animatedCanvasUpdate(e,i),a.row=i.row,i.animateDirection=r.direction,r.delay=void 0===r.delay?0:r.delay,l=a.col*a.row,c=Array(l),void 0===i.help_canvas&&"out"===r.direction&&void 0!==r.bgColor&&(i.help_canvas=document.createElement("canvas"),i.help_ctx=i.help_canvas.getContext("2d")),"out"===r.direction&&void 0!==r.bgColor&&(i.help_canvas.width=i.mDIM.width,i.help_canvas.height=i.mDIM.height,i.help_ctx.fillStyle=r.bgColor,i.help_ctx.fillRect(0,0,i.mDIM.width,i.mDIM.height)),a.mo=t.transitions.motionFilter.init(i,a.mo),a.dur=a.ms/a.sec,void 0!==r.d3&&(r.d3.dur=a.dur,r.d3.fd=.7*a.dur,r.d3.md=.15*a.dur,r.d3.sdir=r.sdir),i.SLOT.c={ws:0,hs:0,wd:0,hd:0},a.mo>0&&_R_is_Editor&&g.clearRect(0,0,p.width,p.height);var h=tpGS.gsap.timeline({onUpdate:function(){if(u=0,a.mo>0?t.transitions.motionFilter.render(i,a.moo):g.clearRect(0,0,p.width,p.height),i.help_canvas&&"out"===r.direction&&g.drawImage(i.help_canvas,0,0),(r.filter&&r.filter.u||!_R_is_Editor)&&t.transitions.filter.update(r.filter,g,i.canvasFilterBlur),_R_is_Editor&&0!==a.zIndex&&void 0!==a.zIndex&&tpGS.gsap.set(r.slide,{zIndex:a.zIndex}),void 0!==i.shadowCanvas)for(o=0;o1&&i.SLOT.SH>1&&g.drawImage(i.shadowCanvas,i.SLOT.SX,i.SLOT.SY,i.SLOT.SW,i.SLOT.SH,i.SLOT.DX,i.SLOT.DY,i.SLOT.DW,i.SLOT.DH),g.restore(),t.transitions[r.effect]&&t.transitions[r.effect].afterDraw&&t.transitions[r.effect].afterDraw(e,g,c[u],i,{csx:d,csy:l,ssx:p,ssy:h}),u++}void 0!==r.d3&&r.d3.su&&t.transitions.d3.ticker(r.d3,i,r.direction),i.currentState="animating"},onComplete:function(){void 0!==i.bgvid&&i.bgvid.length>0&&"out"===r.direction&&(i.drawVideoCanvasImagesRecall=!1,t.stopVideo(i.bgvid,e),i.bgvid[0].style.display="none",i.bgvid[0].style.zIndex=0),"in"===r.direction&&(t.transitions.motionFilter.complete(i),g.canvas.style.filter="none",void 0!==r.BG&&r.BG.ctx.clearRect(0,0,p.width,p.height),tpGS.gsap.set(r.slide,{zIndex:20}),delete i.animateDirection,i.bgvid.length>0&&(i.isHTML5||(t.resetVideo(i.bgvid,e),t.playVideo(i.bgvid,e,!0)),tpGS.gsap.to(i.bgvid[0],.001,{zIndex:30,display:"block",opacity:1}))),"out"===r.direction?(tpGS.gsap.set(r.slide,{zIndex:10}),tpGS.gsap.set(i.canvas,{rotationX:0,rotationY:0,rotationZ:0,x:0,y:0,z:0,opacity:1}),i.currentState=void 0):i.currentState="idle",void 0!==i.cube&&(i.cube.c.style.display="none")}});if(a.col*a.row<2&&(a.f="start"),0!==a.zIndex&&void 0!==a.zIndex&&h.add(tpGS.gsap.set(r.slide,{zIndex:parseInt(a.zIndex,0)}),0),a.m="false"!=a.m&&!1!==a.m,"in"===r.direction){for(o=0;o0&&void 0!==t[e].pr_next_bg[0],l=!!_R_is_Editor||void 0!==t[e].pr_active_bg&&t[e].pr_active_bg.length>0&&void 0!==t[e].pr_active_bg[0],p=_R_is_Editor?RVS.SBGS[RVS.S.slideId].n:d?t[e].sbgs[t[e].pr_next_bg[0].dataset.key]:void 0,g=_R_is_Editor?RVS.SBGS[RVS.S.slideId].c:l?t[e].sbgs[t[e].pr_active_bg[0].dataset.key]:void 0;n=1===n?-1:1,s=jQuery.extend(!0,{},function(e,i,r){var s=void 0!==t.transitions[i.anim.e]&&void 0!==t.transitions[i.anim.e].getBasic?t.transitions[i.anim.e].getBasic():t.getBasic(),n="";s.out=null==s.out?{}:s.out,s.out.reversed=void 0===i.out&&(void 0===s.out.reversed||s.out.reversed);void 0!==i.iw&&parseInt(i.iw,0),void 0!==i.ow&&parseInt(i.ow,0);for(var d in s.attr)n=s.attr[d],s.in[n]=a(s.in[n],i.in[n]),s.out[n]=s.out.reversed?s.in[n]:void 0===i.out?s.out[n]:a(s.out[n],i.out[n]);return s.filter=void 0!==i.filter?jQuery.extend(!0,i.filter,i.filter):s.filter,t.transitions[i.anim.e]&&t.transitions[i.anim.e].updateAnim&&(s=t.transitions[i.anim.e].updateAnim(e,s,r)),s.e=i.anim.e,void 0!==s.in&&(s.in.col="random"===s.in.col?tpGS.gsap.utils.random(1,10,1):o(s.in.col),s.in.row="random"===s.in.row?tpGS.gsap.utils.random(1,10,1):o(s.in.row)),void 0!==s.out&&(s.out.col="random"===s.out.col?tpGS.gsap.utils.random(1,10,1):o(s.out.col),s.out.row="random"===s.out.row?tpGS.gsap.utils.random(1,10,1):o(s.out.row)),s}(e,r,n)),void 0!==p.random&&void 0!==t.SLTR&&void 0!==g&&(delete g.help_canvas,delete g.help_ctx),s.ms=a(void 0,void 0===r.anim.ms?1e3:r.anim.ms),s.f=a(void 0,r.anim.f),s.p=a(void 0,r.anim.p),s.d=a(void 0,r.anim.d),s.o=r.anim.o,void 0!==r.d3&&(r.d3.t=void 0!==r.d3.t&&0!==r.d3.t&&r.d3.t,r.d3.su="true"==r.d3.su||1==r.d3.su,r.d3.su&&(r.d3.smi=void 0===r.d3.smi?0:parseFloat(r.d3.smi),r.d3.sl=void 0===r.d3.sl?1:parseFloat(r.d3.sl),r.d3.sma=void 0===r.d3.sma?.5:parseFloat(r.d3.sma),r.d3.sc=void 0===r.d3.sc?"0,0,0":tpGS.gsap.utils.splitColor(r.d3.sc).join(",")),s.p="none",void 0!==s.in.row&&void 0!==s.in.col&&s.in.row*s.in.col>200&&(s.filter=void 0)),s.in.sec=void 0===s.in.sec?1e3:s.in.sec,s.in.stasec=void 0===s.in.stasec?void 0===s.d?1500:100*s.d:s.in.stasec,s.in.ms="default"===s.ms||"d"===s.ms?s.in.ms:"random"===s.ms?Math.round(1e3*Math.random()+300):null!=s.ms?parseInt(s.ms,0):s.in.ms,s.out.ms=s.in.ms,void 0!==s.filter&&(s.filter.ms=s.in.ms,s.filter.sec=s.in.sec,s.filter.e=void 0===s.filter.e||"default"===s.filter.e?s.in.e:s.filter.e),s.in.f=void 0===s.f||"default"===s.f||"d"===s.f?s.in.f:s.f,s.in.f="slidebased"===s.in.f?1==n?"start":"end":"oppslidebased"===s.in.f?1===n?"end":"start":s.in.f,s.out.f=s.in.f,s.out=jQuery.extend(!0,{},s.in,s.out),void 0!==s.p&&"none"!==s.p&&(s.in.bg="dark"===s.p?"#000":"light"===s.p?"#fff":"transparent",s.out.delay="none"!==s.p?function(e,t){return e/2.5}:0,1===s.out.o&&0===s.out.x&&0===s.out.y&&(s.out.o=0)),"forceinout"===s.o?(s.in.zIndex=20,s.out.zIndex=10):"outin"!==s.o&&(1!==s.in.o||0!==s.in.x||0!==s.in.y||void 0===r.out||1===s.out.o&&0===s.out.x&&0===s.out.y)||(s.in.zIndex=10,s.out.zIndex=20),p.bgvid.length>0&&(s.in=h(e,s.in,p,"in")),l&&void 0!==g.bgvid&&g.bgvid.length>0&&(s.out=h(e,s.out,g,"out")),void 0!==s.out&&(s.out.simplify||s.in.simplify)&&(s.out=c(s.out)),s.in.simplify&&(s.in=c(s.in)),_R_is_Editor||requestAnimationFrame(function(){t.generalObserver(i,!0)}),s.in.animator=void 0===s.in.animator?"animateCore":s.in.animator,s.out.animator=void 0===s.out.animator?"animateCore":s.out.animator,l&&!0!==s.out.skip&&t[s.out.animator](e,g,s.out,{effect:s.e,slide:_R_is_Editor?RVS.SBGS[RVS.S.slideId].c.sbg:t[e].pr_active_slide,direction:"out",delay:0,bgColor:s.in.bg,sdir:n,filter:void 0,d3:r.d3}),!0!==s.in.skip&&t[s.in.animator](e,p,s.in,{effect:s.e,slide:_R_is_Editor?RVS.SBGS[RVS.S.slideId].n.sbg:t[e].pr_next_slide,direction:"in",delay:l?"function"==typeof s.out.delay?s.out.delay(s.in.ms/1e3,s.out.row*s.out.col):s.out.delay:s.in.delay,BG:g,sdir:n,filter:s.filter,d3:r.d3})},n=function(e,t,i,a){var r=(""+e).indexOf("%")>=0;return 0==(e=d(e,a,i))||void 0===e?0:r?t*(parseInt(e)/100):parseInt(e)},d=function(e,i,a,r){if(t.isNumeric(parseFloat(e,0)))return parseFloat(e,0);var o=(""+e).split("ran(").length>1?"random":(""+e).split("cyc(").length>1?"wrap":(""+e).split("(").length>1?"dir":"unknown",s=("random"===o?e.slice(4,-1):"wrap"===o?e.slice(4,-1):e.slice(1,-1)).split("|");if("random"===o)return tpGS.gsap.utils.random(parseFloat(s[0]),parseFloat(s.length>1?s[1]:0-s[0]));if("wrap"===o){var n=tpGS.gsap.utils.wrap(s,i);return(""+n).split("(").length>1?parseFloat(n.slice(1,-1))*a+(r?"%":""):n}return"dir"===o?parseFloat(s[0])*a+(r?"%":""):void 0},l=function(e,i,a){var r=e.height/e.width;if(a.ratio=a.conth/a.contw,a.ratior&&"cover"===i.bgfit)a.height=e.width*a.ratio;else if(a.ratio>r&&"contain"===i.bgfit||a.ratio=0?parseInt(a[0],0)/100*e.width-parseInt(a[0],0)/100*i.width:parseInt(a[0],0),y:"center"===a[1]||"50%"===a[1]?(e.height-i.height)/2:"top"===a[1]?0:"bottom"===a[1]?e.height-i.height:t.isNumeric(a[1])?0:a[1].indexOf("%")>=0?parseInt(a[1],0)/100*e.height-parseInt(a[1],0)/100*i.height:parseInt(a[1],0)}}(e,a,i.bgposition);return a.x=s.x,a.y=s.y,a},c=function(e){return e.o=0,e.r=0,e.row=1,e.col=1,e.x=0,e.y=0,e.sx=1,e.sy=1,e},p=function(e){return e="false"!==e&&!1!==e&&"off"!==e&&void 0!==e&&0!==e&&-1!==e},g=function(e){return e=(""+(e=(""+(e=(""+(e=(""+(e=(""+e).split(",").join("|"))).replace("{","ran("))).replace("}",")"))).replace("[","cyc("))).replace("]",")")},u=function(e){var t=e.toString(16);return 1==t.length?"0"+t:t},h=function(e,i,a,r){return i.skip=!1,"in"===r?a.isHTML5?(a.bgvid[0].style.display="none",t.resetVideo(a.bgvid,e),a.animateDirection="in",a.currentState="animating",a.drawVideoCanvasImagesRecall=!0,t.updateVideoFrames(e,a,!0),t.playVideo(a.bgvid,e)):(t[e].videos[a.bgvid[0].id].pauseCalled=!1,i.waitToSlideTrans=t[e].videos[a.bgvid[0].id].waitToSlideTrans,!0!==a.poster?(t.resetVideo(a.bgvid,e),t[e].videos[a.bgvid[0].id].prePlayForaWhile=!1,!0!==i.waitToSlideTrans&&t.playVideo(a.bgvid,e,!0),tpGS.gsap.fromTo(a.bgvid,i.ms/i.sec,{zIndex:30,display:"block",opacity:0},{opacity:1,zIndex:30,display:"block"}),a.loadobj.bgColor=!0,a.bgcolor="#000",i.simplify=!0):(t[e].videos[a.bgvid[0].id].prePlayForaWhile=!1,t.resetVideo(a.bgvid,e),t.playVideo(a.bgvid,e),a.bgvid[0].style.display="none",a.bgvid[0].style.zIndex=0,a.bgvid[0].style.opacity=0)):"out"===r&&(a.isHTML5?(a.currentState="animating",a.drawVideoCanvasImagesRecall=!0,t.updateVideoFrames(e,a,!0),window.requestAnimationFrame(function(){tpGS.gsap.to(a.bgvid,.1,{zIndex:0,display:"none"})})):(t.stopVideo(a.bgvid,e,!0),!0!==a.poster&&(a.loadobj.bgColor=!0,a.bgcolor="#000"))),i},m=function(e,t,i,a){return Math.sqrt(Math.pow(e-i,2)+Math.pow(t-a,2))},v=function(e,t){var i=t+Math.PI/2;return{x1:e.x,y1:e.y,x2:e.x+100*Math.cos(i),y2:e.y+100*Math.sin(i)}},f=function(e,t){var i=e.y2-e.y1,a=e.x1-e.x2,r=i*e.x1+a*e.y1,o=t.y2-t.y1,s=t.x1-t.x2,n=o*t.x1+s*t.y1,d=i*s-o*a;return 0!==d&&{x:Math.round((s*r-a*n)/d*100)/100,y:Math.round((i*n-o*r)/d*100)/100}}}(jQuery),function(e){"use strict";var t=jQuery.fn.revolution,i=t.is_mobile();t.is_android();function a(e){return null==e?-1:t.isNumeric(e)?e:e.split(":").length>1?60*parseInt(e.split(":")[0],0)+parseInt(e.split(":")[1],0):e}jQuery.extend(!0,t,{preLoadAudio:function(e,i){t[i].videos=void 0===t[i].videos?{}:t[i].videos,e.find(".rs-layer-audio").each(function(){var a=jQuery(this),r=t[i].videos[a[0].id]=void 0===t[i].videos[a[0].id]?y(a.data(),"audio",t.gA(e[0],"key")):t[i].videos[a[0].id],o={};0===a.find("audio").length&&(o.src=null!=r.mp4?r.mp4:"",o.pre=r.pload||"",this.id=void 0===this.id||""===this.id?a.attr("audio-layer-"+Math.round(199999*Math.random())):this.id,o.id=this.id,o.status="prepared",o.start=jQuery.now(),o.waittime=void 0!==r.ploadwait?1e3*r.ploadwait:5e3,"auto"!=o.pre&&"canplaythrough"!=o.pre&&"canplay"!=o.pre&&"progress"!=o.pre||(void 0===t[i].audioqueue&&(t[i].audioqueue=[]),t[i].audioqueue.push(o),t.manageVideoLayer(a,i,t.gA(e[0],"key"),!0)))})},preLoadAudioDone:function(e,i,a){var r=t[i].videos[e[0].id];t[i].audioqueue&&t[i].audioqueue.length>0&&jQuery.each(t[i].audioqueue,function(e,t){r.mp4!==t.src||t.pre!==a&&"auto"!==t.pre||(t.status="loaded")})},checkfullscreenEnabled:function(e){if(void 0!==window.fullScreen)return window.fullScreen;if(void 0!==document.fullscreen)return document.fullscreen;if(void 0!==document.mozFullScreen)return document.mozFullScreen;if(void 0!==document.webkitIsFullScreen)return document.webkitIsFullScreen;var i=t.isWebkit()&&/Apple Computer/.test(navigator.vendor)?42:5;return screen.width==t.winW&&Math.abs(screen.height-t.getWinH(e))0)&&(o.vimeoplayer.setCurrentTime(-1==o.ssec?0:o.ssec),o.vimeoplayer.pause()),0!=o.jsposter.length||o.bgvideo||"preset"===r||t.showVideo(e.find("iframe"));break;case"html5":if(i&&o.notonmobile)return!1;o.bgvideo||t.showVideo(o.jvideo),o.rwd&&"playing"!==o.cSS&&!isNaN(o.video.duration)&&(o.justReseted=!0,o.video.currentTime=-1==o.ssec?0:o.ssec),("mute"==o.volume||t.lastToggleState(e.videomutetoggledby)||!0===t[a].globalmute)&&(o.video.muted=!0)}}},Mute:function(e,i,a){var r=!1,o=t[i].videos[e[0].id];switch(o.type){case"youtube":o.player&&(!0===a&&o.player.mute(),!1===a&&d(o,parseInt(o.volcache,0)),r=o.player.isMuted());break;case"vimeo":o.volcachecheck||(o.volcache=o.volcache>1?o.volcache/100:o.volcache,o.volcachecheck=!0),o.volume=!0===a?"mute":!1===a?o.volcache:o.volume,void 0!==a&&null!=o.vimeoplayer&&n(o,!0===a?0:o.volcache),r="mute"==o.volume||0===o.volume;break;case"html5":o.volcachecheck||(o.volcache=o.volcache>1?o.volcache/100:o.volcache,o.volcachecheck=!0),o.video.volume=o.volcache,void 0!==a&&o.video&&(o.video.muted=a),r=void 0!==o.video?o.video.muted:r}if(void 0===a)return r},stopVideo:function(e,a,r){if(void 0!==t[a]&&void 0!==t[a]){var o=t[a].videos[e[0].id];if(void 0!==o&&("stopVideo"!==o.cRS||"paused"!==o.cSS))switch(o.cRS="stopVideo",t[a].leaveViewPortBasedStop||(t[a].lastplayedvideos=[]),t[a].leaveViewPortBasedStop=!1,o.type){case"youtube":void 0!==o.player&&2!==o.player.getPlayerState()&&5!==o.player.getPlayerState()&&(o.player.pauseVideo(),void 0!==r&&g(a,o,"hide"));break;case"vimeo":void 0!==o.vimeoplayer&&(o.vimeoplayer.pause(),void 0!==r&&g(a,o,"hide"));break;case"html5":o.video&&(o.video.pause(),i&&_(o,1))}}},playVideo:function(e,i,a){var o=t[i].videos[e[0].id];if(clearTimeout(o.videoplaywait),"playVideo"!==o.cRS||"playing"!==o.cSS)switch(o.cRS="playVideo",o.type){case"youtube":if(0==e.find("iframe").length)e.append(o.videomarkup),h(e,i,!0);else if(void 0!==o.player&&null!=o.player.playVideo){var s=o.player.getCurrentTime();o.nseTriggered&&(s=-1,o.nseTriggered=!1),-1!=o.ssec&&o.ssec>s&&o.player.seekTo(o.ssec),p(o)}else o.videoplaywait=setTimeout(function(){t.playVideo(e,i)},50);break;case"vimeo":if(0==e.find("iframe").length)delete o.vimeoplayer,e.append(o.videomarkup),h(e,i,!0);else if(e.hasClass("rs-apiready"))if(o.vimeoplayer=null==o.vimeoplayer?new Vimeo.Player(e.find("iframe").attr("id")):o.vimeoplayer,o.vimeoplayer.getPaused()){s=void 0===o.currenttime?0:o.currenttime;o.nseTriggered&&(s=-1,o.nseTriggered=!1),-1!=o.ssec&&o.ssec>s&&o.vimeoplayer.setCurrentTime(o.ssec),("mute"==o.volume||0===o.volume||t.lastToggleState(e.data("videomutetoggledby"))||!0===t[i].globalmute)&&(o.volumetoken=!0,o.vimeoplayer.setVolume(0)),c(o)}else o.videoplaywait=setTimeout(function(){t.playVideo(e,i)},50);else o.videoplaywait=setTimeout(function(){t.playVideo(e,i)},50);break;case"html5":if(o.metaloaded){if((""+o.video.duration=="NaN"||o.video.readyState<4)&&!a)return o.loadRequested||(o.video.load(),o.loadRequested=!0),void setTimeout(function(){t.playVideo(e,i)},50);s=o.video.currentTime;o.nseTriggered&&(s=-1,o.nseTriggered=!1),-1!=o.ssec&&o.ssec>s&&o.ssec1?o.ratio.split(":")[0]/o.ratio.split(":")[1]:1;var s=i/a,n=s/o.vd*100,d=o.vd/s*100;"Edge"===t.get_browser()||"IE"===t.get_browser()?s>o.vd?tpGS.gsap.set(o.jvideo,{minWidth:"100%",height:n+"%",x:"-50%",y:"-50%",top:"50%",left:"50%",position:"absolute"}):tpGS.gsap.set(o.jvideo,{minHeight:"100%",width:d+"%",x:"-50%",y:"-50%",top:"50%",left:"50%",position:"absolute"}):s>o.vd?tpGS.gsap.set(o.jvideo,{height:(o.fitCover?100:n)+"%",width:"100%",top:o.fitCover?0:-(n-100)/2+"%",left:"0px",position:"absolute"}):tpGS.gsap.set(o.jvideo,{width:(o.fitCover?100:d)+"%",height:"100%",left:o.fitCover?0:-(d-100)/2+"%",top:"0px",position:"absolute"})}}else t[e].resizePrepareCoverVideolistener=setTimeout(function(){t.prepareCoveredVideo(e)},100)},checkVideoApis:function(e,i){location.protocol;if(!t[i].youtubeapineeded&&((null!=e.data("ytid")||e.find("iframe").length>0&&e.find("iframe").attr("src").toLowerCase().indexOf("youtube")>0)&&(t[i].youtubeapineeded=!0),t[i].youtubeapineeded&&!window.rs_addedyt)){t[i].youtubestarttime=jQuery.now(),window.rs_addedyt=!0;var a=document.createElement("script"),r=t.getByTag(document,"script")[0],o=!0;a.src="https://www.youtube.com/iframe_api",jQuery("head").find("*").each(function(){"https://www.youtube.com/iframe_api"==jQuery(this).attr("src")&&(o=!1)}),o&&r.parentNode.insertBefore(a,r)}if(!t[i].vimeoapineeded&&((null!=e.data("vimeoid")||e.find("iframe").length>0&&e.find("iframe").attr("src").toLowerCase().indexOf("vimeo")>0)&&(t[i].vimeoapineeded=!0),t[i].vimeoapineeded&&!window.rs_addedvim)){t[i].vimeostarttime=jQuery.now(),window.rs_addedvim=!0;var s=document.createElement("script");r=t.getByTag(document,"script")[0],o=!0;s.src="https://player.vimeo.com/api/player.js",jQuery("head").find("*").each(function(){"https://player.vimeo.com/api/player.js"==jQuery(this).attr("src")&&(o=!1)}),o&&r.parentNode.insertBefore(s,r)}},manageVideoLayer:function(e,a,o,s){if(t[a].videos=void 0===t[a].videos?{}:t[a].videos,void 0===t[a].videos[e[0].id]||!0===s){var n=t[a].videos[e[0].id]=void 0===t[a].videos[e[0].id]?y(e.data(),void 0,o):t[a].videos[e[0].id];if(n.audio=void 0!==n.audio&&n.audio,i&&n.opom)0==e.find("rs-poster").length&&e.append('');else{n.jsposter=e.find("rs-poster"),n.id=e[0].id,n.pload="auto"===n.pload||"canplay"===n.pload||"canplaythrough"===n.pload||"progress"===n.pload?"auto":n.pload,n.type=null!=n.mp4||null!=n.webm?"html5":null!=n.ytid&&String(n.ytid).length>1?"youtube":null!=n.vimeoid&&String(n.vimeoid).length>1?"vimeo":"none",n.newtype="html5"==n.type&&0==e.find(n.audio?"audio":"video").length?"html5":"youtube"==n.type&&0==e.find("iframe").length?"youtube":"vimeo"==n.type&&0==e.find("iframe").length?"vimeo":"none",n.extras="",n.posterMarkup=void 0===n.posterMarkup?"":n.posterMarkup,!n.audio&&"1sttime"==n.aplay&&n.pausetimer&&n.bgvideo&&t.sA(e.closest("rs-slide")[0],"rspausetimeronce",1),n.audio||!n.bgvideo||!n.pausetimer||1!=n.aplay&&"true"!=n.aplay&&"no1sttime"!=n.aplay||t.sA(e.closest("rs-slide")[0],"rspausetimeralways",1),n.noInt&&e.addClass("rs-nointeraction"),!(null!=n.poster&&n.poster.length>2)||i&&n.npom||0==n.jsposter.length&&(n.posterMarkup+='');var d=!0;switch(n.cSS="created",n.cRS="created",n.newtype){case"html5":1==window.isSafari11&&(t[a].slideHasIframe=!0),n.audio&&e.addClass("rs-audio"),n.tag=n.audio?"audio":"video";var l="video"===n.tag&&(t.is_mobile()||t.isSafari11())?n.aplay||"true"===n.aplay?"muted playsinline autoplay":n.inline?" playsinline":"":"",c='
';c+="<"+n.tag+" "+l+" "+(n.controls&&"none"!==n.controls?" controls":"")+(n.bgvideo&&-1==l.indexOf("autoplay")?" autoplay":"")+(n.bgvideo&&-1==l.indexOf("muted")?" muted":"")+' style="'+("Edge"!==t.get_browser()?(n.fitCover?"object-fit:cover;background-size:cover;":"")+"opacity:0;width:100%; height:100%":"")+'" class="" '+(n.loop?"loop":"")+' preload="'+n.pload+'">',"video"===n.tag&&null!=n.webm&&"firefox"==t.get_browser().toLowerCase()&&(c=c+''),null!=n.mp4&&(c=c+'0?"audio/x-m4a":"audio/mpeg")+'" />'),null!=n.ogv&&(c=c+''),c+="
",c+=n.posterMarkup,n.controls&&!n.audio&&void 0===n.poster||(c+='
 
'),n.videomarkup=c,d=!1,i&&n.notonmobile||t.isIE(8)||e.append(c),n.jvideo=e.find(n.tag),n.video=n.jvideo[0],n.html5vid=n.jvideo.parent(),r(n.video,"canplay",function(e){v(e,a),t.resetVideo(e,a)}(e));break;case"youtube":t[a].slideHasIframe=!0,n.controls&&"none"!==n.controls||(n.vatr=n.vatr.replace("controls=1","controls=0"),-1==n.vatr.toLowerCase().indexOf("controls")&&(n.vatr=n.vatr+"&controls=0")),(n.inline||"RS-BGVIDEO"===e[0].tagName)&&(n.vatr=n.vatr+"&playsinline=1"),-1!=n.ssec&&(n.vatr+="&start="+n.ssec),-1!=n.esec&&(n.vatr+="&end="+n.esec);var p=n.vatr.split("origin=https://");n.vatrnew=p.length>1?p[0]+"origin=https://"+(self.location.href.match(/www/gi)&&!p[1].match(/www/gi)?"www."+p[1]:p[1]):n.vatr,n.videomarkup='';break;case"vimeo":t[a].slideHasIframe=!0,n.controls&&"none"!==n.controls?(n.vatr=n.vatr.replace("background=0","background=1"),-1==n.vatr.toLowerCase().indexOf("background")&&(n.vatr=n.vatr+"&background=1")):(n.vatr=n.vatr.replace("background=1","background=0"),-1==n.vatr.toLowerCase().indexOf("background")&&(n.vatr=n.vatr+"&background=0")),n.vatr="autoplay="+(!0===n.aplay?1:0)+"&"+n.vatr,n.bgvideo&&(n.prePlayForaWhile=!0),i&&!0===n.aplay&&(n.vatr="muted=1&"+n.vatr),n.loop&&(n.vatr="loop=1&"+n.vatr),n.videomarkup=''}if(!(null!=n.poster&&n.poster.length>2)||i&&n.npom){if(i&&n.notonmobile)return!1;0!=e.find("iframe").length||"youtube"!=n.type&&"vimeo"!=n.type||(delete n.vimeoplayer,e.append(n.videomarkup),h(e,a,!("vimeo"!==n.newtype||!n.bgvideo),!0))}else d&&0==e.find("rs-poster").length&&e.append(n.posterMarkup),0==e.find("iframe").length&&(n.jsposter=e.find("rs-poster"),n.jsposter.on("click",function(){if(t.playVideo(e,a,!0),i){if(n.notonmobile)return!1;tpGS.gsap.to(n.jsposter,.3,{opacity:0,visibility:"hidden",force3D:"auto",ease:"power3.inOut"}),t.showVideo(e.find("iframe"))}}));if("none"!==n.doverlay&&void 0!==n.doverlay){var g=t.createOverlay(a,n.doverlay,n.doverlaysize,{0:n.doverlaycolora,1:n.doverlaycolorb});n.bgvideo&&1!=e.closest("rs-sbg-wrap").find("rs-dotted").length?e.closest("rs-sbg-wrap").append(''):n.bgvideo||1==e.find("rs-dotted").length||e.append('')}n.bgvideo&&(e[0].style.display="none",e[0].style.zIndex=0,tpGS.gsap.set(e.find("video, iframe"),{opacity:0}))}}}});var r=function(e,t,i){e.addEventListener?e.addEventListener(t,i,{capture:!1,passive:!0}):e.attachEvent(t,i,{capture:!1,passive:!0})},o=function(e,t,i){var a={};return a.video=e,a.type=t,a.settings=i,a},s=function(e,i){var a=t[e].videos[i[0].id];(a.bgvideo||i.hasClass("rs-fsv"))&&((void 0===a.ratio||a.ratio.split(":").length<=1)&&(a.ratio="16:9"),requestAnimationFrame(function(){t.prepareCoveredVideo(e)}))},n=function(e,t){var a=e.vimeoplayer;a.getPaused().then(function(r){e.volumetoken=!0;var o=!r,s=a.setVolume(t);void 0!==s&&s.then(function(t){a.getPaused().then(function(t){o===t&&(e.volume="mute",e.volumetoken=!0,a.setVolume(0),a.play())}).catch(function(e){console.log("Get Paused Function Failed for Vimeo Volume Changes Inside the Promise")})}).catch(function(t){o&&(e.volume="mute",e.volumetoken=!0,a.setVolume(0),a.play()),i&&_(e,0)})}).catch(function(){console.log("Get Paused Function Failed for Vimeo Volume Changes")})},d=function(e,t){var i=e.player.getPlayerState();"mute"===t?e.player.mute():(e.player.unMute(),e.player.setVolume(t)),setTimeout(function(){1===i&&1!==e.player.getPlayerState()&&(e.player.mute(),e.player.playVideo())},39)},l=function(e,t){if("playVideo"===e.cRS){var a=e.video.play();void 0!==a&&a.then(function(e){}).catch(function(i){e.video.pause(),!0!==t&&l(e,!0)}),i&&_(e,0)}},c=function(e){if("playVideo"===e.cRS){var t=e.vimeoplayer.play();void 0!==t&&t.then(function(e){}).catch(function(t){e.vimeoplayer.volumetoken=!0,e.vimeoplayer.setVolume(0),e.vimeoplayer.play()})}},p=function(e){"playVideo"===e.cRS&&e.player.playVideo()},g=function(e,i,a,r){clearTimeout(i.repeatedPosterCalls),i.repeatedPosterCalls=setTimeout(function(){"show"===a||"playing"===i.cSS&&!0!==i.VideoIsVisible?(void 0!==i.showhideposter&&i.showhideposter.pause(),i.showhideposter=tpGS.gsap.timeline(),i.jsposter.length>0&&i.showhideposter.add(tpGS.gsap.to(i.jsposter,.3,{zIndex:5,autoAlpha:0,force3D:"auto",ease:"power3.inOut"}),0),i.jvideo.length>0&&i.showhideposter.add(tpGS.gsap.to(i.jvideo,void 0!==r?r:.001,{opacity:1,display:"block",ease:i.jsposter.length>0?"power3.inOut":"power3.out"}),0),i.VideoIsVisible=!0):("hide"===a||"paused"===i.cSS&&1!=t.checkfullscreenEnabled(e)&&i.jsposter.length>0&&!1!==i.VideoIsVisible&&!0!==i.seeking)&&(void 0!==i.showhideposter&&i.showhideposter.pause(),i.showhideposter=tpGS.gsap.timeline(),i.jsposter.length>0&&i.showhideposter.add(tpGS.gsap.to(i.jsposter,.3,{zIndex:5,autoAlpha:1,force3D:"auto",ease:"power3.inOut"}),0),i.jvideo.length>0&&i.showhideposter.add(tpGS.gsap.to(i.jvideo,void 0!==r?r:.001,{opacity:0,ease:i.jsposter.length>0?"power3.inOut":"power3.out"}),.3),i.bgvideo&&void 0!==i.nBG&&void 0!==i.nBG.loadobj&&(i.nBG.video=i.nBG.loadobj.img),i.VideoIsVisible=!1)},void 0!==a?0:100)},u=function(e,i,a){e.cSS="playing",e.vimeostarted=!0,e.nextslidecalled=!1,e.jsposter=void 0===e.jsposter||0===e.jsposter.length?i.find("rs-poster"):e.jsposter,e.jvideo=i.find("iframe"),t[a].c.trigger("revolution.slide.onvideoplay",o(e.vimeoplayer,"vimeo",e)),t[a].stopByVideo=e.pausetimer,b(i,a),"mute"==e.volume||0===e.volume||t.lastToggleState(i.data("videomutetoggledby"))||!0===t[a].globalmute?(e.volumetoken=!0,e.vimeoplayer.setVolume(0)):n(e,parseInt(e.volcache,0)/100||.75),t.toggleState(e.videotoggledby)},h=function(e,a,r,n){var l=t[a].videos[e[0].id],c="iframe"+Math.round(1e5*Math.random()+1);if(l.jvideo=e.find("iframe"),s(a,e),l.jvideo.attr("id",c),l.startvideonow=r,l.videolistenerexist){if(r)switch(l.type){case"youtube":t.playVideo(e,a),-1!=l.ssec&&l.player.seekTo(l.ssec);break;case"vimeo":t.playVideo(e,a),-1!=l.ssec&&l.vimeoplayer.seekTo(l.ssec)}}else switch(l.type){case"youtube":if("undefined"==typeof YT||void 0===YT.Player)return t.checkVideoApis(e,a),void setTimeout(function(){h(e,a,r,n)},50);l.player=new YT.Player(c,{events:{onStateChange:function(i){i.data==YT.PlayerState.PLAYING?(l.cSS="playing",t[a].onceVideoPlayed=!0,"mute"==l.volume||0===l.volume||t.lastToggleState(e.data("videomutetoggledby"))||!0===t[a].globalmute?l.player.mute():d(l,parseInt(l.volcache,0)||75),t[a].stopByVideo=!0,b(e,a),l.pausetimer?t[a].c.trigger("stoptimer"):t[a].stopByVideo=!1,t[a].c.trigger("revolution.slide.onvideoplay",o(l.player,"youtube",l)),t.toggleState(l.videotoggledby)):(l.cSS="paused",0==i.data&&l.loop&&(-1!=l.ssec&&l.player.seekTo(l.ssec),t.playVideo(e,a),t.toggleState(l.videotoggledby)),-1!=i.data&&3!=i.data&&(t[a].stopByVideo=!1,t[a].tonpause=!1,w(e,a),t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(l.player,"youtube",l)),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(l.videotoggledby)),0==i.data&&l.nse?(m(),l.nseTriggered=!0,t[a].c.revnext(),w(e,a)):(w(e,a),t[a].stopByVideo=!1,3!==i.data&&(-1!=l.lasteventdata&&3!=l.lasteventdata&&void 0!==l.lasteventdata||-1!=i.data&&3!=i.data)&&t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(l.player,"youtube",l)),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(l.videotoggledby))),clearTimeout(l.postOrVideoTimer),1===l.lasteventdata&&2===i.data||2===l.lasteventdata&&3===i.data?l.postOrVideoTimer=setTimeout(function(){g(a,l)},500):g(a,l),l.lasteventdata=i.data},onReady:function(r){var o,s=t.is_mobile(),d=e.hasClass("rs-layer-video");l.ready=!0,!s&&(!t.isSafari11()||s&&d)||"RS-BGVIDEO"!==e[0].tagName&&(!d||!0!==l.aplay&&"true"!==l.aplay)||(o=!0,l.player.setVolume(0),l.volume="mute",l.player.mute(),clearTimeout(e.data("mobilevideotimr")),2!==l.player.getPlayerState()&&-1!==l.player.getPlayerState()||e.data("mobilevideotimr",setTimeout(function(){t.playVideo(e,a)},500))),o||"mute"!=l.volume||(l.player.setVolume(0),l.player.mute()),e.addClass("rs-apiready"),null==l.speed&&1===l.speed||r.target.setPlaybackRate(parseFloat(l.speed)),l.jsposter.unbind("click"),l.jsposter.on("click",function(){i||t.playVideo(e,a,!0)}),l.startvideonow?(t.playVideo(e,a),-1!=l.ssec&&l.player.seekTo(l.ssec)):n&&g(a,l,"show",.2),l.videolistenerexist=!0}}});break;case"vimeo":if("undefined"==typeof Vimeo||void 0===Vimeo.Player)return t.checkVideoApis(e,a),void setTimeout(function(){h(e,a,r,n)},50);for(var p,v=l.jvideo.attr("src"),f={},y=v,_=/([^&=]+)=([^&]*)/g;p=_.exec(y);)f[decodeURIComponent(p[1])]=decodeURIComponent(p[2]);v=(v=null!=f.player_id?v.replace(f.player_id,c):v+"&player_id="+c).replace(/&api=0|&api=1/g,"");var x,S=t.is_mobile()||t.isSafari11(),k="RS-BGVIDEO"===e[0].tagName;if(S&&k&&(v+="&background=1"),l.jvideo.attr("src",v),l.vimeoplayer=void 0===l.vimeoplayer||!1===l.vimeoplayer?new Vimeo.Player(c):l.vimeoplayer,S)k?x=!0:(l.aplay||"true"===l.aplay)&&(x=!0),x&&(l.volumetoken=!0,l.vimeoplayer.setVolume(0),l.volume="mute");l.vimeoplayer.on("play",function(i){t[a].onceVideoPlayed=!0,l.cSS="playing",l.vimeostarted||u(l,e,a)}),l.vimeoplayer.on("loaded",function(i){var r={};l.vimeoplayer.getVideoWidth().then(function(t){r.width=t,void 0!==r.width&&void 0!==r.height&&(l.ratio=r.width+":"+r.height,l.vimeoplayerloaded=!0,s(a,e))}),l.vimeoplayer.getVideoHeight().then(function(t){r.height=t,void 0!==r.width&&void 0!==r.height&&(l.ratio=r.width+":"+r.height,l.vimeoplayerloaded=!0,s(a,e))}),l.startvideonow?("mute"===l.volume&&(l.volumetoken=!0,l.vimeoplayer.setVolume(0)),t.playVideo(e,a),-1!=l.ssec&&l.vimeoplayer.setCurrentTime(l.ssec)):n&&g(a,l,"show",.2)}),e.addClass("rs-apiready"),l.vimeoplayer.on("volumechange",function(e){l.volumetoken&&(l.volume=e.volume),l.volumetoken=!1}),l.vimeoplayer.on("timeupdate",function(i){g(a,l),l.vimeostarted||0===i.percent||void 0!==t[a].activeRSSlide&&l.slideid!==t.gA(t[a].slides[t[a].activeRSSlide],"key")||u(l,e,a),l.pausetimer&&"playing"==t[a].sliderstatus&&(t[a].stopByVideo=!0,t[a].c.trigger("stoptimer")),l.currenttime=i.seconds,0!=l.esec&&-1!==l.esec&&l.esec ');var d="video, rs-poster, .tp-video-play-button";void 0!==n.poster&&n.controls&&(d=".tp-video-play-button"),e.find(d).on("click",function(){!1===n.loop&&n.esec>0&&n.esec<=n.video.currentTime||(e.hasClass("videoisplaying")?t.stopVideo(e,a):t.playVideo(e,a,!0))})}(e.hasClass("rs-fsv")||n.bgvideo)&&(n.bgvideo||e.hasClass("rs-fsv")?(n.html5vid.addClass("fullcoveredvideo"),void 0!==n.ratio&&1!=n.ratio.split(":").length||(n.ratio="16:9"),t.prepareCoveredVideo(a)):n.html5vid.addClass("rs-fsv")),r(n.video,"canplaythrough",function(){t.preLoadAudioDone(e,a,"canplaythrough")}),r(n.video,"canplay",function(){t.preLoadAudioDone(e,a,"canplay")}),r(n.video,"progress",function(){t.preLoadAudioDone(e,a,"progress")}),r(n.video,"pause",function(){i&&_(n,1)}),r(n.video,"timeupdate",function(e){this.BGrendered=!0,g(a,n),-1===n.esec&&n.loop&&1==window.isSafari11&&(n.esec=n.video.duration-.075),void 0!==n.lastCurrentTime?n.fps=n.video.currentTime-n.lastCurrentTime:n.fps=.1,n.lastCurrentTime=n.video.currentTime,0!=n.esec&&-1!=n.esec&&n.esec1?n.volcache/100:n.volcache,"mute"==n.volume?n.video.muted=!0:null!=n.volcache&&(n.video.volume=n.volcache)),e.addClass("videoisplaying"),b(e,a),clearTimeout(n.showCoverSoon),!0!==n.pausetimer||"audio"==n.tag?(t[a].stopByVideo=!1,t[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",n))):(t[a].stopByVideo=!0,t[a].c.trigger("revolution.slide.onvideoplay",o(n.video,"html5",n))),n.pausetimer&&"playing"==t[a].sliderstatus&&(t[a].stopByVideo=!0,t[a].c.trigger("stoptimer")),t.toggleState(n.videotoggledby)}),r(n.video,"seeked",function(){n.seeking=!1}),r(n.video,"seeking",function(){n.seeking=!0}),r(n.video,"pause",function(i){n.cSS="paused",g(a,n),e.removeClass("videoisplaying"),n.bgvideo&&(n.nBG.drawVideoCanvasImagesRecall=!1,n.nBG.videoisplaying=!1),t[a].stopByVideo=!1,w(e,a),"audio"!=n.tag&&t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",n)),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(n.videotoggledby)}),r(n.video,"ended",function(){n.cSS="paused",m(),g(a,n),w(e,a),t[a].stopByVideo=!1,w(e,a),"audio"!=n.tag&&t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",e.data())),n.nse&&n.video.currentTime>0&&(1==!t[a].jcnah&&(n.nseTriggered=!0,t[a].c.revnext(),t[a].jcnah=!0),setTimeout(function(){t[a].jcnah=!1},1500)),e.removeClass("videoisplaying"),n.bgvideo&&(n.nBG.drawVideoCanvasImagesRecall=!1,n.nBG.videoisplaying=!1),!0!==t[a].inviewport&&void 0!==t[a].inviewport||(t[a].lastplayedvideos=[])})},f=function(e){return"t"===e||!0===e||"true"===e||"f"!==e&&!1!==e&&"false"!==e&&e},y=function(e,t,i){e.audio="audio"===t;var r=void 0===e.video?[]:e.video.split(";"),o={volume:e.audio?1:"mute",pload:"auto",ratio:"16:9",loop:!0,aplay:"true",fitCover:!0,afs:!0,controls:!1,nse:!0,npom:!1,opom:!1,inline:!0,notonmobile:!1,start:-1,end:-1,doverlay:"none",doverlaysize:1,doverlaycolora:"transparent",doverlaycolorb:"#000000",scop:!1,rwd:!0,speed:1,ploadwait:5,stopAV:1!==e.bgvideo,noInt:!1,volcache:75};for(var s in r)if(r.hasOwnProperty(s)){var n=r[s].split(":");switch(n[0]){case"v":o.volume=n[1];break;case"vd":o.volcache=n[1];break;case"p":o.pload=n[1];break;case"ar":o.ratio=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"ap":o.aplay=f(n[1]);break;case"vfc":o.fitCover=f(n[1]);break;case"afs":o.afs=f(n[1]);break;case"vc":o.controls=n[1];break;case"nse":o.nse=f(n[1]);break;case"npom":o.npom=f(n[1]);break;case"opom":o.opom=f(n[1]);break;case"t":o.vtype=n[1];break;case"inl":o.inline=f(n[1]);break;case"nomo":o.notonmobile=f(n[1]);break;case"sta":o.start=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"end":o.end=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"do":o.doverlay=n[1];break;case"dos":o.doverlaysize=n[1];break;case"doca":o.doverlaycolora=n[1];break;case"docb":o.doverlaycolorb=n[1];break;case"scop":o.scop=f(n[1]);break;case"rwd":o.rwd=f(n[1]);break;case"sp":o.speed=n[1];break;case"vw":o.ploadwait=parseInt(n[1],0)||5;break;case"sav":o.stopAV=f(n[1]);break;case"noint":o.noInt=f(n[1]);break;case"l":o.loopcache=n[1],o.loop="loop"===n[1]||"loopandnoslidestop"===n[1]||"none"!==n[1]&&f(n[1]);break;case"ptimer":o.pausetimer=f(n[1]);break;case"sat":o.waitToSlideTrans=f(n[1])}}return null==e.mp4&&null==e.webm&&(o.fitCover=!1),void 0!==e.bgvideo&&(o.bgvideo=e.bgvideo),o.noInt&&(o.controls=!1),void 0!==e.mp4&&(o.mp4=e.mp4),void 0!==e.videomp4&&(o.mp4=e.videomp4),void 0!==e.ytid&&(o.ytid=e.ytid),void 0!==e.ogv&&(o.ogv=e.ogv),void 0!==e.webm&&(o.webm=e.webm),void 0!==e.vimeoid&&(o.vimeoid=e.vimeoid),void 0!==e.vatr&&(o.vatr=e.vatr),void 0!==e.videoattributes&&(o.vatr=e.videoattributes),void 0!==e.poster&&(o.poster=e.poster),o.slideid=i,o.aplay="true"===o.aplay||o.aplay,1===o.bgvideo&&(o.volume="mute"),o.ssec=a(o.start),o.esec=a(o.end),o.pausetimer=void 0===o.pausetimer?"loopandnoslidestop"!==o.loopcache:o.pausetimer,o.inColumn=e._incolumn,o.audio=e.audio,!0!==o.loop&&"true"!==o.loop||!0!==o.nse&&"true"!==o.nse||(o.loop=!1),o},b=function(e,i){if(t[i].playingvideos=void 0===t[i].playingvideos?new Array:t[i].playingvideos,t[i].videos[e[0].id].stopAV&&void 0!==t[i].playingvideos&&t[i].playingvideos.length>0)for(var a in t[i].lastplayedvideos=jQuery.extend(!0,[],t[i].playingvideos),t[i].playingvideos)t[i].playingvideos.hasOwnProperty(a)&&t.stopVideo(t[i].playingvideos[a],i);t[i].playingvideos.push(e),t[i].videoIsPlaying=e},w=function(e,i){void 0!==t[i]&&void 0!==t[i]&&null!=t[i].playingvideos&&jQuery.inArray(e,t[i].playingvideos)>=0&&t[i].playingvideos.splice(jQuery.inArray(e,t[i].playingvideos),1)},_=function(e,a){if(void 0!==e&&(void 0===a&&(a=0),i&&!e.bgvideo)){e.playPauseBtnTween&&e.playPauseBtnTween.kill&&e.playPauseBtnTween.kill();var r=t.closestNode(e.video,"RS-LAYER"),o=e.controls?1:0,s=e.controls?0:.3;e.controls&&e.poster&&0===a&&(s=0,o=0),r&&(e.playPauseBtnTween=tpGS.gsap.to(r.querySelector(".tp-video-play-button"),{duration:s,delay:o,opacity:a}))}}}(jQuery); // source --> https://leemeowandgrowl.com/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js?ver=2.70 /*! * jQuery blockUI plugin * Version 2.70.0-2014.11.23 * Requires jQuery v1.7 or later * * Examples at: http://malsup.com/jquery/block/ * Copyright (c) 2007-2013 M. Alsup * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Thanks to Amir-Hossein Sobhi for some excellent contributions! */ !function(){"use strict";function e(b){b.fn._fadeIn=b.fn.fadeIn;var p=b.noop||function(){},h=/MSIE/.test(navigator.userAgent),k=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),y=(document.documentMode,b.isFunction(document.createElement("div").style.setExpression));b.blockUI=function(e){o(window,e)},b.unblockUI=function(e){v(window,e)},b.growlUI=function(e,t,o,n){var i=b('
');e&&i.append("

"+e+"

"),t&&i.append("

"+t+"

"),o===undefined&&(o=3e3);var s=function(e){e=e||{},b.blockUI({message:i,fadeIn:"undefined"!=typeof e.fadeIn?e.fadeIn:700,fadeOut:"undefined"!=typeof e.fadeOut?e.fadeOut:1e3,timeout:"undefined"!=typeof e.timeout?e.timeout:o,centerY:!1,showOverlay:!1,onUnblock:n,css:b.blockUI.defaults.growlCSS})};s();i.css("opacity");i.mouseover(function(){s({fadeIn:0,timeout:3e4});var e=b(".blockMsg");e.stop(),e.fadeTo(300,1)}).mouseout(function(){b(".blockMsg").fadeOut(1e3)})},b.fn.block=function(e){if(this[0]===window)return b.blockUI(e),this;var t=b.extend({},b.blockUI.defaults,e||{});return this.each(function(){var e=b(this);t.ignoreIfBlocked&&e.data("blockUI.isBlocked")||e.unblock({fadeOut:0})}),this.each(function(){"static"==b.css(this,"position")&&(this.style.position="relative",b(this).data("blockUI.static",!0)),this.style.zoom=1,o(this,e)})},b.fn.unblock=function(e){return this[0]===window?(b.unblockUI(e),this):this.each(function(){v(this,e)})},b.blockUI.version=2.7,b.blockUI.defaults={message:"

Please wait...

",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var m=null,g=[];function o(e,o){var t,n,i,s,l,d,a,c,r,u=e==window,f=o&&o.message!==undefined?o.message:undefined;(o=b.extend({},b.blockUI.defaults,o||{})).ignoreIfBlocked&&b(e).data("blockUI.isBlocked")||(o.overlayCSS=b.extend({},b.blockUI.defaults.overlayCSS,o.overlayCSS||{}),i=b.extend({},b.blockUI.defaults.css,o.css||{}),o.onOverlayClick&&(o.overlayCSS.cursor="pointer"),s=b.extend({},b.blockUI.defaults.themedCSS,o.themedCSS||{}),f=f===undefined?o.message:f,u&&m&&v(window,{fadeOut:0}),f&&"string"!=typeof f&&(f.parentNode||f.jquery)&&(t=f.jquery?f[0]:f,a={},b(e).data("blockUI.history",a),a.el=t,a.parent=t.parentNode,a.display=t.style.display,a.position=t.style.position,a.parent&&a.parent.removeChild(t)),b(e).data("blockUI.onUnblock",o.onUnblock),r=o.baseZ,a=h||o.forceIframe?b(''):b(''),t=o.theme?b(''):b(''),o.theme&&u?(c='"):o.theme?(c='"):c=u?'':'',r=b(c),f&&(o.theme?(r.css(s),r.addClass("ui-widget-content")):r.css(i)),o.theme||t.css(o.overlayCSS),t.css("position",u?"fixed":"absolute"),(h||o.forceIframe)&&a.css("opacity",0),c=[a,t,r],n=b(u?"body":e),b.each(c,function(){this.appendTo(n)}),o.theme&&o.draggable&&b.fn.draggable&&r.draggable({handle:".ui-dialog-titlebar",cancel:"li"}),s=y&&(!b.support.boxModel||0 .blockUI"):s.find(">.blockUI"),t.cursorReset&&(1