!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function i(t){var e="length"in t&&t.length,i=rt.type(t);return"function"!==i&&!rt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t))}function n(t,e,i){if(rt.isFunction(e))return rt.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return rt.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(pt.test(e))return rt.filter(e,t,i);e=rt.filter(e,t)}return rt.grep(t,function(t){return rt.inArray(t,e)>=0!==i})}function r(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function o(t){var e=wt[t]={};return rt.each(t.match(yt)||[],function(t,i){e[i]=!0}),e}function s(){ft.addEventListener?(ft.removeEventListener("DOMContentLoaded",a,!1),t.removeEventListener("load",a,!1)):(ft.detachEvent("onreadystatechange",a),t.detachEvent("onload",a))}function a(){(ft.addEventListener||"load"===event.type||"complete"===ft.readyState)&&(s(),rt.ready())}function l(t,e,i){if(void 0===i&&1===t.nodeType){var n="data-"+e.replace(St,"-$1").toLowerCase();if(i=t.getAttribute(n),"string"==typeof i){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:Ct.test(i)?rt.parseJSON(i):i)}catch(r){}rt.data(t,e,i)}else i=void 0}return i}function u(t){var e;for(e in t)if(("data"!==e||!rt.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,i,n){if(rt.acceptData(t)){var r,o,s=rt.expando,a=t.nodeType,l=a?rt.cache:t,u=a?t[s]:t[s]&&s;if(u&&l[u]&&(n||l[u].data)||void 0!==i||"string"!=typeof e)return u||(u=a?t[s]=Q.pop()||rt.guid++:s),l[u]||(l[u]=a?{}:{toJSON:rt.noop}),"object"!=typeof e&&"function"!=typeof e||(n?l[u]=rt.extend(l[u],e):l[u].data=rt.extend(l[u].data,e)),o=l[u],n||(o.data||(o.data={}),o=o.data),void 0!==i&&(o[rt.camelCase(e)]=i),"string"==typeof e?(r=o[e],null==r&&(r=o[rt.camelCase(e)])):r=o,r}}function h(t,e,i){if(rt.acceptData(t)){var n,r,o=t.nodeType,s=o?rt.cache:t,a=o?t[rt.expando]:rt.expando;if(s[a]){if(e&&(n=i?s[a]:s[a].data)){rt.isArray(e)?e=e.concat(rt.map(e,rt.camelCase)):e in n?e=[e]:(e=rt.camelCase(e),e=e in n?[e]:e.split(" ")),r=e.length;for(;r--;)delete n[e[r]];if(i?!u(n):!rt.isEmptyObject(n))return}(i||(delete s[a].data,u(s[a])))&&(o?rt.cleanData([t],!0):it.deleteExpando||s!=s.window?delete s[a]:s[a]=null)}}}function p(){return!0}function d(){return!1}function f(){try{return ft.activeElement}catch(t){}}function m(t){var e=zt.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}function g(t,e){var i,n,r=0,o=typeof t.getElementsByTagName!==Tt?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==Tt?t.querySelectorAll(e||"*"):void 0;if(!o)for(o=[],i=t.childNodes||t;null!=(n=i[r]);r++)!e||rt.nodeName(n,e)?o.push(n):rt.merge(o,g(n,e));return void 0===e||e&&rt.nodeName(t,e)?rt.merge([t],o):o}function v(t){Nt.test(t.type)&&(t.defaultChecked=t.checked)}function _(t,e){return rt.nodeName(t,"table")&&rt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function y(t){return t.type=(null!==rt.find.attr(t,"type"))+"/"+t.type,t}function w(t){var e=Yt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function b(t,e){for(var i,n=0;null!=(i=t[n]);n++)rt._data(i,"globalEval",!e||rt._data(e[n],"globalEval"))}function x(t,e){if(1===e.nodeType&&rt.hasData(t)){var i,n,r,o=rt._data(t),s=rt._data(e,o),a=o.events;if(a){delete s.handle,s.events={};for(i in a)for(n=0,r=a[i].length;n")).appendTo(e.documentElement),e=(Kt[0].contentWindow||Kt[0].contentDocument).document,e.write(),e.close(),i=C(t,e),Kt.detach()),Jt[t]=i),i}function k(t,e){return{get:function(){var i=t();if(null!=i)return i?void delete this.get:(this.get=e).apply(this,arguments)}}}function A(t,e){if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),n=e,r=pe.length;r--;)if(e=pe[r]+i,e in t)return e;return n}function P(t,e){for(var i,n,r,o=[],s=0,a=t.length;s=0&&i=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==rt.type(t)||t.nodeType||rt.isWindow(t))return!1;try{if(t.constructor&&!et.call(t,"constructor")&&!et.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}if(it.ownLast)for(e in t)return et.call(t,e);for(e in t);return void 0===e||et.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?J[tt.call(t)]||"object":typeof t},globalEval:function(e){e&&rt.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(st,"ms-").replace(at,lt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var r,o=0,s=t.length,a=i(t);if(n){if(a)for(;ox.cacheLength&&delete t[e.shift()],t[i+" "]=n}var e=[];return t}function n(t){return t[L]=!0,t}function r(t){var e=R.createElement("div");try{return!!t(e)}catch(i){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var i=t.split("|"),n=t.length;n--;)x.attrHandle[i[n]]=e}function s(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Y)-(~t.sourceIndex||Y);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){var i=e.nodeName.toLowerCase();return"input"===i&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function u(t){return n(function(e){return e=+e,n(function(i,n){for(var r,o=t([],i.length,e),s=o.length;s--;)i[r=o[s]]&&(i[r]=!(n[r]=i[r]))})})}function c(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function h(){}function p(t){for(var e=0,i=t.length,n="";e1?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function m(t,i,n){for(var r=0,o=i.length;r-1&&(n[u]=!(s[u]=h))}}else y=g(y===s?y.splice(f,y.length):y),o?o(null,s,y,l):K.apply(s,y)})}function _(t){for(var e,i,n,r=t.length,o=x.relative[t[0].type],s=o||x.relative[" "],a=o?1:0,l=d(function(t){return t===e},s,!0),u=d(function(t){return tt(e,t)>-1},s,!0),c=[function(t,i,n){var r=!o&&(n||i!==P)||((e=i).nodeType?l(t,i,n):u(t,i,n));return e=null,r}];a1&&f(c),a>1&&p(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(lt,"$1"),i,a0,o=t.length>0,s=function(n,s,a,l,u){var c,h,p,d=0,f="0",m=n&&[],v=[],_=P,y=n||o&&x.find.TAG("*",u),w=q+=null==_?1:Math.random()||.1,b=y.length;for(u&&(P=s!==R&&s);f!==b&&null!=(c=y[f]);f++){if(o&&c){for(h=0;p=t[h++];)if(p(c,s,a)){l.push(c);break}u&&(q=w)}r&&((c=!p&&c)&&d--,n&&m.push(c))}if(d+=f,r&&f!==d){for(h=0;p=i[h++];)p(m,v,s,a);if(n){if(d>0)for(;f--;)m[f]||v[f]||(v[f]=Z.call(l));v=g(v)}K.apply(l,v),u&&!n&&v.length>0&&d+i.length>1&&e.uniqueSort(l)}return u&&(q=w,P=_),m};return r?n(s):s}var w,b,x,T,C,S,k,A,P,O,N,E,R,D,$,I,z,M,j,L="sizzle"+1*new Date,F=t.document,q=0,H=0,B=i(),W=i(),X=i(),U=function(t,e){return t===e&&(N=!0),0},Y=1<<31,Q={}.hasOwnProperty,V=[],Z=V.pop,G=V.push,K=V.push,J=V.slice,tt=function(t,e){for(var i=0,n=t.length;i+~]|"+it+")"+it+"*"),ht=new RegExp("="+it+"*([^\\]'\"]*?)"+it+"*\\]","g"),pt=new RegExp(st),dt=new RegExp("^"+rt+"$"),ft={ID:new RegExp("^#("+nt+")"),CLASS:new RegExp("^\\.("+nt+")"),TAG:new RegExp("^("+nt.replace("w","w*")+")"),ATTR:new RegExp("^"+ot),PSEUDO:new RegExp("^"+st),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+it+"*(even|odd|(([+-]|)(\\d*)n|)"+it+"*(?:([+-]|)"+it+"*(\\d+)|))"+it+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+it+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+it+"*((?:-\\d)?\\d*)"+it+"*\\)|)(?=[^-]|$)","i")},mt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,_t=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,wt=/'|\\/g,bt=new RegExp("\\\\([\\da-f]{1,6}"+it+"?|("+it+")|.)","ig"),xt=function(t,e,i){var n="0x"+e-65536;return n!==n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},Tt=function(){E()};try{K.apply(V=J.call(F.childNodes),F.childNodes),V[F.childNodes.length].nodeType}catch(Ct){K={apply:V.length?function(t,e){G.apply(t,J.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}b=e.support={},C=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},E=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:F;return n!==R&&9===n.nodeType&&n.documentElement?(R=n,D=n.documentElement,i=n.defaultView,i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",Tt,!1):i.attachEvent&&i.attachEvent("onunload",Tt)),$=!C(n),b.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),b.getElementsByTagName=r(function(t){return t.appendChild(n.createComment("")),!t.getElementsByTagName("*").length}),b.getElementsByClassName=vt.test(n.getElementsByClassName),b.getById=r(function(t){return D.appendChild(t).id=L,!n.getElementsByName||!n.getElementsByName(L).length}),b.getById?(x.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&$){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},x.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){return t.getAttribute("id")===e}}):(delete x.find.ID,x.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){var i="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}}),x.find.TAG=b.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):b.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;i=o[r++];)1===i.nodeType&&n.push(i);return n}return o},x.find.CLASS=b.getElementsByClassName&&function(t,e){if($)return e.getElementsByClassName(t)},z=[],I=[],(b.qsa=vt.test(n.querySelectorAll))&&(r(function(t){D.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+it+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||I.push("\\["+it+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+L+"-]").length||I.push("~="),t.querySelectorAll(":checked").length||I.push(":checked"),t.querySelectorAll("a#"+L+"+*").length||I.push(".#.+[+~]")}),r(function(t){var e=n.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&I.push("name"+it+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),I.push(",.*:")})),(b.matchesSelector=vt.test(M=D.matches||D.webkitMatchesSelector||D.mozMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&r(function(t){b.disconnectedMatch=M.call(t,"div"),M.call(t,"[s!='']:x"),z.push("!=",st)}),I=I.length&&new RegExp(I.join("|")),z=z.length&&new RegExp(z.join("|")),e=vt.test(D.compareDocumentPosition),j=e||vt.test(D.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=e?function(t,e){if(t===e)return N=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i?i:(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!b.sortDetached&&e.compareDocumentPosition(t)===i?t===n||t.ownerDocument===F&&j(F,t)?-1:e===n||e.ownerDocument===F&&j(F,e)?1:O?tt(O,t)-tt(O,e):0:4&i?-1:1)}:function(t,e){if(t===e)return N=!0,0;var i,r=0,o=t.parentNode,a=e.parentNode,l=[t],u=[e];if(!o||!a)return t===n?-1:e===n?1:o?-1:a?1:O?tt(O,t)-tt(O,e):0;if(o===a)return s(t,e);for(i=t;i=i.parentNode;)l.unshift(i);for(i=e;i=i.parentNode;)u.unshift(i);for(;l[r]===u[r];)r++;return r?s(l[r],u[r]):l[r]===F?-1:u[r]===F?1:0},n):R},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if((t.ownerDocument||t)!==R&&E(t),i=i.replace(ht,"='$1']"),b.matchesSelector&&$&&(!z||!z.test(i))&&(!I||!I.test(i)))try{var n=M.call(t,i);if(n||b.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(r){}return e(i,R,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==R&&E(t),j(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==R&&E(t);var i=x.attrHandle[e.toLowerCase()],n=i&&Q.call(x.attrHandle,e.toLowerCase())?i(t,e,!$):void 0;return void 0!==n?n:b.attributes||!$?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,r=0;if(N=!b.detectDuplicates,O=!b.sortStable&&t.slice(0),t.sort(U),N){for(;e=t[r++];)e===t[r]&&(n=i.push(r));for(;n--;)t.splice(i[n],1)}return O=null,t},T=e.getText=function(t){var e,i="",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=T(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n++];)i+=T(e);return i},x=e.selectors={cacheLength:50,createPseudo:n,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,xt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&pt.test(i)&&(e=S(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=B[t+" "];return e||(e=new RegExp("(^|"+it+")"+t+"("+it+"|$)"))&&B(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(r){var o=e.attr(r,t);return null==o?"!="===i:!i||(o+="","="===i?o===n:"!="===i?o!==n:"^="===i?n&&0===o.indexOf(n):"*="===i?n&&o.indexOf(n)>-1:"$="===i?n&&o.slice(-n.length)===n:"~="===i?(" "+o.replace(at," ")+" ").indexOf(n)>-1:"|="===i&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,i,n,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var u,c,h,p,d,f,m=o!==s?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),_=!l&&!a;if(g){if(o){for(;m;){for(h=e;h=h[m];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[s?g.firstChild:g.lastChild],s&&_){for(c=g[L]||(g[L]={}),u=c[t]||[],d=u[0]===q&&u[1],p=u[0]===q&&u[2],h=d&&g.childNodes[d];h=++d&&h&&h[m]||(p=d=0)||f.pop();)if(1===h.nodeType&&++p&&h===e){c[t]=[q,d,p];break}}else if(_&&(u=(e[L]||(e[L]={}))[t])&&u[0]===q)p=u[1];else for(;(h=++d&&h&&h[m]||(p=d=0)||f.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++p||(_&&((h[L]||(h[L]={}))[t]=[q,p]),h!==e)););return p-=r,p===n||p%n===0&&p/n>=0}}},PSEUDO:function(t,i){var r,o=x.pseudos[t]||x.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[L]?o(i):o.length>1?(r=[t,t,"",i],x.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,r=o(t,i),s=r.length;s--;)n=tt(t,r[s]),t[n]=!(e[n]=r[s])}):function(t){return o(t,0,r)}):o}},pseudos:{not:n(function(t){var e=[],i=[],r=k(t.replace(lt,"$1"));return r[L]?n(function(t,e,i,n){for(var o,s=r(t,null,n,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,n,o){return e[0]=t,r(e,null,o,i),e[0]=null,!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return t=t.replace(bt,xt),function(e){return(e.textContent||e.innerText||T(e)).indexOf(t)>-1}}),lang:n(function(t){return dt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,xt).toLowerCase(),function(e){var i;do if(i=$?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return i=i.toLowerCase(),i===t||0===i.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===D},focus:function(t){return t===R.activeElement&&(!R.hasFocus||R.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return gt.test(t.nodeName)},input:function(t){return mt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,i){return[i<0?i+e:i]}),even:u(function(t,e){for(var i=0;i=0;)t.push(n);return t}),gt:u(function(t,e,i){for(var n=i<0?i+e:i;++n2&&"ID"===(s=o[0]).type&&b.getById&&9===e.nodeType&&$&&x.relative[o[1].type]){if(e=(x.find.ID(s.matches[0].replace(bt,xt),e)||[])[0],!e)return i;u&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=ft.needsContext.test(t)?0:o.length;r--&&(s=o[r],!x.relative[a=s.type]);)if((l=x.find[a])&&(n=l(s.matches[0].replace(bt,xt),yt.test(o[0].type)&&c(e.parentNode)||e))){if(o.splice(r,1),t=n.length&&p(o),!t)return K.apply(i,n),i;break}}return(u||k(t,h))(n,e,!$,i,yt.test(t)&&c(e.parentNode)||e),i},b.sortStable=L.split("").sort(U).join("")===L,b.detectDuplicates=!!N,E(),b.sortDetached=r(function(t){return 1&t.compareDocumentPosition(R.createElement("div"))}),r(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),b.attributes&&r(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||o(et,function(t,e,i){var n;if(!i)return t[e]===!0?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(t);rt.find=ut,rt.expr=ut.selectors,rt.expr[":"]=rt.expr.pseudos,rt.unique=ut.uniqueSort,rt.text=ut.getText,rt.isXMLDoc=ut.isXML,rt.contains=ut.contains;var ct=rt.expr.match.needsContext,ht=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,pt=/^.[^:#\[\.,]*$/;rt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?rt.find.matchesSelector(n,t)?[n]:[]:rt.find.matches(t,rt.grep(e,function(t){return 1===t.nodeType}))},rt.fn.extend({find:function(t){var e,i=[],n=this,r=n.length;if("string"!=typeof t)return this.pushStack(rt(t).filter(function(){for(e=0;e1?rt.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(n(this,t||[],!1))},not:function(t){return this.pushStack(n(this,t||[],!0))},is:function(t){return!!n(this,"string"==typeof t&&ct.test(t)?rt(t):t||[],!1).length}});var dt,ft=t.document,mt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,gt=rt.fn.init=function(t,e){var i,n;if(!t)return this;if("string"==typeof t){if(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:mt.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||dt).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof rt?e[0]:e,rt.merge(this,rt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:ft,!0)),ht.test(i[1])&&rt.isPlainObject(e))for(i in e)rt.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}if(n=ft.getElementById(i[2]),n&&n.parentNode){if(n.id!==i[2])return dt.find(t);this.length=1,this[0]=n}return this.context=ft,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):rt.isFunction(t)?"undefined"!=typeof dt.ready?dt.ready(t):t(rt):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),rt.makeArray(t,this))};gt.prototype=rt.fn,dt=rt(ft);var vt=/^(?:parents|prev(?:Until|All))/,_t={children:!0,contents:!0,next:!0,prev:!0};rt.extend({dir:function(t,e,i){for(var n=[],r=t[e];r&&9!==r.nodeType&&(void 0===i||1!==r.nodeType||!rt(r).is(i));)1===r.nodeType&&n.push(r),r=r[e];return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}}),rt.fn.extend({has:function(t){var e,i=rt(t,this),n=i.length;return this.filter(function(){for(e=0;e-1:1===i.nodeType&&rt.find.matchesSelector(i,t))){o.push(i);break}return this.pushStack(o.length>1?rt.unique(o):o)},index:function(t){return t?"string"==typeof t?rt.inArray(this[0],rt(t)):rt.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(rt.unique(rt.merge(this.get(),rt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),rt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return rt.dir(t,"parentNode")},parentsUntil:function(t,e,i){return rt.dir(t,"parentNode",i)},next:function(t){return r(t,"nextSibling")},prev:function(t){return r(t,"previousSibling")},nextAll:function(t){return rt.dir(t,"nextSibling")},prevAll:function(t){return rt.dir(t,"previousSibling")},nextUntil:function(t,e,i){return rt.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return rt.dir(t,"previousSibling",i)},siblings:function(t){return rt.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return rt.sibling(t.firstChild)},contents:function(t){return rt.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:rt.merge([],t.childNodes)}},function(t,e){rt.fn[t]=function(i,n){var r=rt.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=rt.filter(n,r)),this.length>1&&(_t[t]||(r=rt.unique(r)),vt.test(t)&&(r=r.reverse())),this.pushStack(r)}});var yt=/\S+/g,wt={};rt.Callbacks=function(t){t="string"==typeof t?wt[t]||o(t):rt.extend({},t);var e,i,n,r,s,a,l=[],u=!t.once&&[],c=function(o){for(i=t.memory&&o,n=!0,s=a||0,a=0,r=l.length,e=!0;l&&s-1;)l.splice(n,1),e&&(n<=r&&r--,n<=s&&s--)}),this},has:function(t){return t?rt.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],r=0,this},disable:function(){return l=u=i=void 0,this},disabled:function(){return!l},lock:function(){return u=void 0,i||h.disable(),this},locked:function(){return!u},fireWith:function(t,i){return!l||n&&!u||(i=i||[],i=[t,i.slice?i.slice():i],e?u.push(i):c(i)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!n}};return h},rt.extend({Deferred:function(t){var e=[["resolve","done",rt.Callbacks("once memory"),"resolved"],["reject","fail",rt.Callbacks("once memory"),"rejected"],["notify","progress",rt.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return rt.Deferred(function(i){rt.each(e,function(e,o){var s=rt.isFunction(t[e])&&t[e];r[o[1]](function(){var t=s&&s.apply(this,arguments);t&&rt.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[o[0]+"With"](this===n?i.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?rt.extend(t,n):n}},r={};return n.pipe=n.then,rt.each(e,function(t,o){var s=o[2],a=o[3];n[o[1]]=s.add,a&&s.add(function(){i=a},e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?n:this,arguments),this},r[o[0]+"With"]=s.fireWith}),n.promise(r),t&&t.call(r,r),r},when:function(t){var e,i,n,r=0,o=V.call(arguments),s=o.length,a=1!==s||t&&rt.isFunction(t.promise)?s:0,l=1===a?t:rt.Deferred(),u=function(t,i,n){return function(r){i[t]=this,n[t]=arguments.length>1?V.call(arguments):r,n===e?l.notifyWith(i,n):--a||l.resolveWith(i,n)}};if(s>1)for(e=new Array(s),i=new Array(s),n=new Array(s);r0||(bt.resolveWith(ft,[rt]),rt.fn.triggerHandler&&(rt(ft).triggerHandler("ready"),rt(ft).off("ready")))}}}),rt.ready.promise=function(e){if(!bt)if(bt=rt.Deferred(),"complete"===ft.readyState)setTimeout(rt.ready);else if(ft.addEventListener)ft.addEventListener("DOMContentLoaded",a,!1),t.addEventListener("load",a,!1);else{ft.attachEvent("onreadystatechange",a),t.attachEvent("onload",a);var i=!1;try{i=null==t.frameElement&&ft.documentElement}catch(n){}i&&i.doScroll&&!function r(){if(!rt.isReady){try{i.doScroll("left")}catch(t){return setTimeout(r,50)}s(),rt.ready()}}()}return bt.promise(e)};var xt,Tt="undefined";for(xt in rt(it))break;it.ownLast="0"!==xt,it.inlineBlockNeedsLayout=!1,rt(function(){var t,e,i,n;i=ft.getElementsByTagName("body")[0],i&&i.style&&(e=ft.createElement("div"),n=ft.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(e),typeof e.style.zoom!==Tt&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",it.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(i.style.zoom=1)),i.removeChild(n))}),function(){var t=ft.createElement("div");if(null==it.deleteExpando){it.deleteExpando=!0;try{delete t.test}catch(e){it.deleteExpando=!1}}t=null}(),rt.acceptData=function(t){var e=rt.noData[(t.nodeName+" ").toLowerCase()],i=+t.nodeType||1;return(1===i||9===i)&&(!e||e!==!0&&t.getAttribute("classid")===e)};var Ct=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,St=/([A-Z])/g;rt.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return t=t.nodeType?rt.cache[t[rt.expando]]:t[rt.expando],!!t&&!u(t)},data:function(t,e,i){return c(t,e,i)},removeData:function(t,e){return h(t,e)},_data:function(t,e,i){return c(t,e,i,!0)},_removeData:function(t,e){return h(t,e,!0)}}),rt.fn.extend({data:function(t,e){var i,n,r,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(r=rt.data(o),1===o.nodeType&&!rt._data(o,"parsedAttrs"))){for(i=s.length;i--;)s[i]&&(n=s[i].name,0===n.indexOf("data-")&&(n=rt.camelCase(n.slice(5)),l(o,n,r[n])));rt._data(o,"parsedAttrs",!0)}return r}return"object"==typeof t?this.each(function(){rt.data(this,t)}):arguments.length>1?this.each(function(){rt.data(this,t,e)}):o?l(o,t,rt.data(o,t)):void 0},removeData:function(t){return this.each(function(){rt.removeData(this,t)})}}),rt.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=rt._data(t,e),i&&(!n||rt.isArray(i)?n=rt._data(t,e,rt.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=rt.queue(t,e),n=i.length,r=i.shift(),o=rt._queueHooks(t,e),s=function(){rt.dequeue(t,e)};"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===e&&i.unshift("inprogress"),delete o.stop,r.call(t,s,o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return rt._data(t,i)||rt._data(t,i,{empty:rt.Callbacks("once memory").add(function(){rt._removeData(t,e+"queue"),rt._removeData(t,i)})})}}),rt.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length
a",it.leadingWhitespace=3===e.firstChild.nodeType,it.tbody=!e.getElementsByTagName("tbody").length,it.htmlSerialize=!!e.getElementsByTagName("link").length,it.html5Clone="<:nav>"!==ft.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,i.appendChild(t),it.appendChecked=t.checked,e.innerHTML="",it.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,i.appendChild(e),e.innerHTML="",it.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,it.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){it.noCloneEvent=!1}),e.cloneNode(!0).click()),null==it.deleteExpando){it.deleteExpando=!0;try{delete e.test}catch(n){it.deleteExpando=!1}}}(),function(){var e,i,n=ft.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})i="on"+e,(it[e+"Bubbles"]=i in t)||(n.setAttribute(i,"t"),it[e+"Bubbles"]=n.attributes[i].expando===!1);n=null}();var Et=/^(?:input|select|textarea)$/i,Rt=/^key/,Dt=/^(?:mouse|pointer|contextmenu)|click/,$t=/^(?:focusinfocus|focusoutblur)$/,It=/^([^.]*)(?:\.(.+)|)$/;rt.event={global:{},add:function(t,e,i,n,r){var o,s,a,l,u,c,h,p,d,f,m,g=rt._data(t);if(g){for(i.handler&&(l=i,i=l.handler,r=l.selector),i.guid||(i.guid=rt.guid++),(s=g.events)||(s=g.events={}),(c=g.handle)||(c=g.handle=function(t){return typeof rt===Tt||t&&rt.event.triggered===t.type?void 0:rt.event.dispatch.apply(c.elem,arguments)},c.elem=t),e=(e||"").match(yt)||[""],a=e.length;a--;)o=It.exec(e[a])||[],d=m=o[1],f=(o[2]||"").split(".").sort(),d&&(u=rt.event.special[d]||{},d=(r?u.delegateType:u.bindType)||d,u=rt.event.special[d]||{},h=rt.extend({type:d,origType:m,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&rt.expr.match.needsContext.test(r),namespace:f.join(".")},l),(p=s[d])||(p=s[d]=[],p.delegateCount=0,u.setup&&u.setup.call(t,n,f,c)!==!1||(t.addEventListener?t.addEventListener(d,c,!1):t.attachEvent&&t.attachEvent("on"+d,c))),u.add&&(u.add.call(t,h),h.handler.guid||(h.handler.guid=i.guid)),r?p.splice(p.delegateCount++,0,h):p.push(h),rt.event.global[d]=!0);t=null}},remove:function(t,e,i,n,r){var o,s,a,l,u,c,h,p,d,f,m,g=rt.hasData(t)&&rt._data(t);if(g&&(c=g.events)){for(e=(e||"").match(yt)||[""],u=e.length;u--;)if(a=It.exec(e[u])||[],d=m=a[1],f=(a[2]||"").split(".").sort(),d){for(h=rt.event.special[d]||{},d=(n?h.delegateType:h.bindType)||d,p=c[d]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=p.length;o--;)s=p[o],!r&&m!==s.origType||i&&i.guid!==s.guid||a&&!a.test(s.namespace)||n&&n!==s.selector&&("**"!==n||!s.selector)||(p.splice(o,1),s.selector&&p.delegateCount--,h.remove&&h.remove.call(t,s));l&&!p.length&&(h.teardown&&h.teardown.call(t,f,g.handle)!==!1||rt.removeEvent(t,d,g.handle),delete c[d])}else for(d in c)rt.event.remove(t,d+e[u],i,n,!0);rt.isEmptyObject(c)&&(delete g.handle,rt._removeData(t,"events"))}},trigger:function(e,i,n,r){var o,s,a,l,u,c,h,p=[n||ft],d=et.call(e,"type")?e.type:e,f=et.call(e,"namespace")?e.namespace.split("."):[];if(a=c=n=n||ft,3!==n.nodeType&&8!==n.nodeType&&!$t.test(d+rt.event.triggered)&&(d.indexOf(".")>=0&&(f=d.split("."),d=f.shift(),f.sort()),s=d.indexOf(":")<0&&"on"+d,e=e[rt.expando]?e:new rt.Event(d,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=f.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:rt.makeArray(i,[e]),u=rt.event.special[d]||{},r||!u.trigger||u.trigger.apply(n,i)!==!1)){if(!r&&!u.noBubble&&!rt.isWindow(n)){for(l=u.delegateType||d,$t.test(l+d)||(a=a.parentNode);a;a=a.parentNode)p.push(a),c=a;c===(n.ownerDocument||ft)&&p.push(c.defaultView||c.parentWindow||t)}for(h=0;(a=p[h++])&&!e.isPropagationStopped();)e.type=h>1?l:u.bindType||d,o=(rt._data(a,"events")||{})[e.type]&&rt._data(a,"handle"),o&&o.apply(a,i),o=s&&a[s],o&&o.apply&&rt.acceptData(a)&&(e.result=o.apply(a,i),e.result===!1&&e.preventDefault());if(e.type=d,!r&&!e.isDefaultPrevented()&&(!u._default||u._default.apply(p.pop(),i)===!1)&&rt.acceptData(n)&&s&&n[d]&&!rt.isWindow(n)){c=n[s],c&&(n[s]=null),rt.event.triggered=d;try{n[d]()}catch(m){}rt.event.triggered=void 0,c&&(n[s]=c)}return e.result}},dispatch:function(t){t=rt.event.fix(t);var e,i,n,r,o,s=[],a=V.call(arguments),l=(rt._data(this,"events")||{})[t.type]||[],u=rt.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,t)!==!1){for(s=rt.event.handlers.call(this,t,l),e=0;(r=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,o=0;(n=r.handlers[o++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(n.namespace)||(t.handleObj=n,t.data=n.data,i=((rt.event.special[n.origType]||{}).handle||n.handler).apply(r.elem,a),void 0!==i&&(t.result=i)===!1&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,r,o,s=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==t.type)){for(r=[],o=0;o=0:rt.find(i,this,null,[l]).length),r[i]&&r.push(n);r.length&&s.push({elem:l,handlers:r})}return a]","i"),Lt=/^\s+/,Ft=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,qt=/<([\w:]+)/,Ht=/\s*$/g,Vt={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:it.htmlSerialize?[0,"",""]:[1,"X
","
"]},Zt=m(ft),Gt=Zt.appendChild(ft.createElement("div"));Vt.optgroup=Vt.option,Vt.tbody=Vt.tfoot=Vt.colgroup=Vt.caption=Vt.thead,Vt.th=Vt.td,rt.extend({clone:function(t,e,i){var n,r,o,s,a,l=rt.contains(t.ownerDocument,t);if(it.html5Clone||rt.isXMLDoc(t)||!jt.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(Gt.innerHTML=t.outerHTML,Gt.removeChild(o=Gt.firstChild)),!(it.noCloneEvent&&it.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||rt.isXMLDoc(t)))for(n=g(o),a=g(t),s=0;null!=(r=a[s]);++s)n[s]&&T(r,n[s]);if(e)if(i)for(a=a||g(t),n=n||g(o),s=0;null!=(r=a[s]);s++)x(r,n[s]);else x(t,o);return n=g(o,"script"),n.length>0&&b(n,!l&&g(t,"script")),n=a=r=null,o},buildFragment:function(t,e,i,n){for(var r,o,s,a,l,u,c,h=t.length,p=m(e),d=[],f=0;f")+c[2],r=c[0];r--;)a=a.lastChild;if(!it.leadingWhitespace&&Lt.test(o)&&d.push(e.createTextNode(Lt.exec(o)[0])),!it.tbody)for(o="table"!==l||Ht.test(o)?""!==c[1]||Ht.test(o)?0:a:a.firstChild,r=o&&o.childNodes.length;r--;)rt.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(rt.merge(d,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=p.lastChild}else d.push(e.createTextNode(o));for(a&&p.removeChild(a),it.appendChecked||rt.grep(g(d,"input"),v),f=0;o=d[f++];)if((!n||rt.inArray(o,n)===-1)&&(s=rt.contains(o.ownerDocument,o),a=g(p.appendChild(o),"script"),s&&b(a),i))for(r=0;o=a[r++];)Ut.test(o.type||"")&&i.push(o);return a=null,p},cleanData:function(t,e){for(var i,n,r,o,s=0,a=rt.expando,l=rt.cache,u=it.deleteExpando,c=rt.event.special;null!=(i=t[s]);s++)if((e||rt.acceptData(i))&&(r=i[a],o=r&&l[r])){if(o.events)for(n in o.events)c[n]?rt.event.remove(i,n):rt.removeEvent(i,n,o.handle);l[r]&&(delete l[r],u?delete i[a]:typeof i.removeAttribute!==Tt?i.removeAttribute(a):i[a]=null,Q.push(r))}}}),rt.fn.extend({text:function(t){return Ot(this,function(t){return void 0===t?rt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ft).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=_(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=_(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=t?rt.filter(t,this):this,r=0;null!=(i=n[r]);r++)e||1!==i.nodeType||rt.cleanData(g(i)),i.parentNode&&(e&&rt.contains(i.ownerDocument,i)&&b(g(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&rt.cleanData(g(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&rt.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return rt.clone(this,t,e)})},html:function(t){return Ot(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Mt,""):void 0;if("string"==typeof t&&!Wt.test(t)&&(it.htmlSerialize||!jt.test(t))&&(it.leadingWhitespace||!Lt.test(t))&&!Vt[(qt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Ft,"<$1>");try{for(;i1&&"string"==typeof p&&!it.checkClone&&Xt.test(p))return this.each(function(i){var n=c.eq(i);d&&(t[0]=p.call(this,i,n.html())),n.domManip(t,e)});if(u&&(a=rt.buildFragment(t,this[0].ownerDocument,!1,this),i=a.firstChild,1===a.childNodes.length&&(a=i),i)){for(o=rt.map(g(a,"script"),y),r=o.length;l
t
",r=e.getElementsByTagName("td"),r[0].style.cssText="margin:0;border:0;padding:0;display:none",a=0===r[0].offsetHeight,a&&(r[0].style.display="",r[1].style.display="none",a=0===r[0].offsetHeight),i.removeChild(n))}var i,n,r,o,s,a,l;i=ft.createElement("div"),i.innerHTML="
a",r=i.getElementsByTagName("a")[0],n=r&&r.style,n&&(n.cssText="float:left;opacity:.5",it.opacity="0.5"===n.opacity,it.cssFloat=!!n.cssFloat,i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",it.clearCloneStyle="content-box"===i.style.backgroundClip,it.boxSizing=""===n.boxSizing||""===n.MozBoxSizing||""===n.WebkitBoxSizing,rt.extend(it,{reliableHiddenOffsets:function(){return null==a&&e(),a},boxSizingReliable:function(){return null==s&&e(),s},pixelPosition:function(){return null==o&&e(),o},reliableMarginRight:function(){return null==l&&e(),l}}))}(),rt.swap=function(t,e,i,n){var r,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];r=i.apply(t,n||[]);for(o in e)t.style[o]=s[o];return r};var oe=/alpha\([^)]*\)/i,se=/opacity\s*=\s*([^)]*)/,ae=/^(none|table(?!-c[ea]).+)/,le=new RegExp("^("+kt+")(.*)$","i"),ue=new RegExp("^([+-])=("+kt+")","i"),ce={position:"absolute",visibility:"hidden",display:"block"},he={letterSpacing:"0",fontWeight:"400"},pe=["Webkit","O","Moz","ms"];rt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=ee(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":it.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=rt.camelCase(e),l=t.style;if(e=rt.cssProps[a]||(rt.cssProps[a]=A(l,a)),s=rt.cssHooks[e]||rt.cssHooks[a],void 0===i)return s&&"get"in s&&void 0!==(r=s.get(t,!1,n))?r:l[e];if(o=typeof i,"string"===o&&(r=ue.exec(i))&&(i=(r[1]+1)*r[2]+parseFloat(rt.css(t,e)),o="number"),null!=i&&i===i&&("number"!==o||rt.cssNumber[a]||(i+="px"),it.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),!(s&&"set"in s&&void 0===(i=s.set(t,i,n)))))try{l[e]=i}catch(u){}}},css:function(t,e,i,n){var r,o,s,a=rt.camelCase(e);return e=rt.cssProps[a]||(rt.cssProps[a]=A(t.style,a)),s=rt.cssHooks[e]||rt.cssHooks[a],s&&"get"in s&&(o=s.get(t,!0,i)),void 0===o&&(o=ee(t,e,n)),"normal"===o&&e in he&&(o=he[e]),""===i||i?(r=parseFloat(o),i===!0||rt.isNumeric(r)?r||0:o):o}}),rt.each(["height","width"],function(t,e){rt.cssHooks[e]={get:function(t,i,n){if(i)return ae.test(rt.css(t,"display"))&&0===t.offsetWidth?rt.swap(t,ce,function(){return E(t,e,n)}):E(t,e,n)},set:function(t,i,n){var r=n&&te(t);return O(t,i,n?N(t,e,n,it.boxSizing&&"border-box"===rt.css(t,"boxSizing",!1,r),r):0)}}}),it.opacity||(rt.cssHooks.opacity={get:function(t,e){return se.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,r=rt.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=n&&n.filter||i.filter||"";i.zoom=1,(e>=1||""===e)&&""===rt.trim(o.replace(oe,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===e||n&&!n.filter)||(i.filter=oe.test(o)?o.replace(oe,r):o+" "+r)}}),rt.cssHooks.marginRight=k(it.reliableMarginRight,function(t,e){if(e)return rt.swap(t,{display:"inline-block"},ee,[t,"marginRight"])}),rt.each({margin:"",padding:"",border:"Width"},function(t,e){rt.cssHooks[t+e]={expand:function(i){for(var n=0,r={},o="string"==typeof i?i.split(" "):[i];n<4;n++)r[t+At[n]+e]=o[n]||o[n-2]||o[0];return r}},ie.test(t)||(rt.cssHooks[t+e].set=O)}),rt.fn.extend({css:function(t,e){return Ot(this,function(t,e,i){var n,r,o={},s=0;if(rt.isArray(e)){for(n=te(t),r=e.length;s1)},show:function(){return P(this,!0)},hide:function(){return P(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Pt(this)?rt(this).show():rt(this).hide()})}}),rt.Tween=R,R.prototype={constructor:R,init:function(t,e,i,n,r,o){this.elem=t,this.prop=i,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=o||(rt.cssNumber[i]?"":"px")},cur:function(){var t=R.propHooks[this.prop];return t&&t.get?t.get(this):R.propHooks._default.get(this)},run:function(t){var e,i=R.propHooks[this.prop];return this.options.duration?this.pos=e=rt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):R.propHooks._default.set(this),this}},R.prototype.init.prototype=R.prototype,R.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=rt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){rt.fx.step[t.prop]?rt.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[rt.cssProps[t.prop]]||rt.cssHooks[t.prop])?rt.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},R.propHooks.scrollTop=R.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},rt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},rt.fx=R.prototype.init,rt.fx.step={};var de,fe,me=/^(?:toggle|show|hide)$/,ge=new RegExp("^(?:([+-])=|)("+kt+")([a-z%]*)$","i"),ve=/queueHooks$/,_e=[z],ye={"*":[function(t,e){var i=this.createTween(t,e),n=i.cur(),r=ge.exec(e),o=r&&r[3]||(rt.cssNumber[t]?"":"px"),s=(rt.cssNumber[t]||"px"!==o&&+n)&&ge.exec(rt.css(i.elem,t)),a=1,l=20;if(s&&s[3]!==o){o=o||s[3],r=r||[],s=+n||1;do a=a||".5",s/=a,rt.style(i.elem,t,s+o);while(a!==(a=i.cur()/n)&&1!==a&&--l)}return r&&(s=i.start=+s||+n||0,i.unit=o,i.end=r[1]?s+(r[1]+1)*r[2]:+r[2]),i}]};rt.Animation=rt.extend(j,{tweener:function(t,e){rt.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var i,n=0,r=t.length;n
a",n=e.getElementsByTagName("a")[0],i=ft.createElement("select"),r=i.appendChild(ft.createElement("option")),t=e.getElementsByTagName("input")[0],n.style.cssText="top:1px",it.getSetAttribute="t"!==e.className,it.style=/top/.test(n.getAttribute("style")),it.hrefNormalized="/a"===n.getAttribute("href"),it.checkOn=!!t.value,it.optSelected=r.selected,it.enctype=!!ft.createElement("form").enctype,i.disabled=!0,it.optDisabled=!r.disabled,t=ft.createElement("input"),t.setAttribute("value",""),it.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),it.radioValue="t"===t.value}();var we=/\r/g;rt.fn.extend({val:function(t){var e,i,n,r=this[0];{if(arguments.length)return n=rt.isFunction(t),this.each(function(i){var r;1===this.nodeType&&(r=n?t.call(this,i,rt(this).val()):t,null==r?r="":"number"==typeof r?r+="":rt.isArray(r)&&(r=rt.map(r,function(t){return null==t?"":t+""})),e=rt.valHooks[this.type]||rt.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return e=rt.valHooks[r.type]||rt.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(i=e.get(r,"value"))?i:(i=r.value,"string"==typeof i?i.replace(we,""):null==i?"":i)}}}),rt.extend({valHooks:{option:{get:function(t){var e=rt.find.attr(t,"value");return null!=e?e:rt.trim(rt.text(t))}},select:{get:function(t){for(var e,i,n=t.options,r=t.selectedIndex,o="select-one"===t.type||r<0,s=o?null:[],a=o?r+1:n.length,l=r<0?a:o?r:0;l=0)try{n.selected=i=!0}catch(a){n.scrollHeight}else n.selected=!1;return i||(t.selectedIndex=-1),r}}}}),rt.each(["radio","checkbox"],function(){rt.valHooks[this]={set:function(t,e){if(rt.isArray(e))return t.checked=rt.inArray(rt(t).val(),e)>=0}},it.checkOn||(rt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var be,xe,Te=rt.expr.attrHandle,Ce=/^(?:checked|selected)$/i,Se=it.getSetAttribute,ke=it.input;rt.fn.extend({attr:function(t,e){return Ot(this,rt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){rt.removeAttr(this,t)})}}),rt.extend({attr:function(t,e,i){var n,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===Tt?rt.prop(t,e,i):(1===o&&rt.isXMLDoc(t)||(e=e.toLowerCase(),n=rt.attrHooks[e]||(rt.expr.match.bool.test(e)?xe:be)),void 0===i?n&&"get"in n&&null!==(r=n.get(t,e))?r:(r=rt.find.attr(t,e),null==r?void 0:r):null!==i?n&&"set"in n&&void 0!==(r=n.set(t,i,e))?r:(t.setAttribute(e,i+""),i):void rt.removeAttr(t,e))},removeAttr:function(t,e){var i,n,r=0,o=e&&e.match(yt);if(o&&1===t.nodeType)for(;i=o[r++];)n=rt.propFix[i]||i,rt.expr.match.bool.test(i)?ke&&Se||!Ce.test(i)?t[n]=!1:t[rt.camelCase("default-"+i)]=t[n]=!1:rt.attr(t,i,""),t.removeAttribute(Se?i:n)},attrHooks:{type:{set:function(t,e){if(!it.radioValue&&"radio"===e&&rt.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}}}),xe={set:function(t,e,i){return e===!1?rt.removeAttr(t,i):ke&&Se||!Ce.test(i)?t.setAttribute(!Se&&rt.propFix[i]||i,i):t[rt.camelCase("default-"+i)]=t[i]=!0,i}},rt.each(rt.expr.match.bool.source.match(/\w+/g),function(t,e){var i=Te[e]||rt.find.attr;Te[e]=ke&&Se||!Ce.test(e)?function(t,e,n){var r,o;return n||(o=Te[e],Te[e]=r,r=null!=i(t,e,n)?e.toLowerCase():null,Te[e]=o),r}:function(t,e,i){if(!i)return t[rt.camelCase("default-"+e)]?e.toLowerCase():null}}),ke&&Se||(rt.attrHooks.value={set:function(t,e,i){return rt.nodeName(t,"input")?void(t.defaultValue=e):be&&be.set(t,e,i)}}),Se||(be={set:function(t,e,i){var n=t.getAttributeNode(i);if(n||t.setAttributeNode(n=t.ownerDocument.createAttribute(i)),n.value=e+="","value"===i||e===t.getAttribute(i))return e}},Te.id=Te.name=Te.coords=function(t,e,i){var n;if(!i)return(n=t.getAttributeNode(e))&&""!==n.value?n.value:null},rt.valHooks.button={get:function(t,e){var i=t.getAttributeNode(e);if(i&&i.specified)return i.value},set:be.set},rt.attrHooks.contenteditable={set:function(t,e,i){be.set(t,""!==e&&e,i)}},rt.each(["width","height"],function(t,e){rt.attrHooks[e]={set:function(t,i){if(""===i)return t.setAttribute(e,"auto"),i}}})),it.style||(rt.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var Ae=/^(?:input|select|textarea|button|object)$/i,Pe=/^(?:a|area)$/i;rt.fn.extend({prop:function(t,e){return Ot(this,rt.prop,t,e,arguments.length>1)},removeProp:function(t){return t=rt.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(e){}})}}),rt.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,i){var n,r,o,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return o=1!==s||!rt.isXMLDoc(t),o&&(e=rt.propFix[e]||e,r=rt.propHooks[e]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:t[e]=i:r&&"get"in r&&null!==(n=r.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=rt.find.attr(t,"tabindex");return e?parseInt(e,10):Ae.test(t.nodeName)||Pe.test(t.nodeName)&&t.href?0:-1}}}}),it.hrefNormalized||rt.each(["href","src"],function(t,e){rt.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),it.optSelected||(rt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),rt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){rt.propFix[this.toLowerCase()]=this}),it.enctype||(rt.propFix.enctype="encoding");var Oe=/[\t\r\n\f]/g;rt.fn.extend({addClass:function(t){var e,i,n,r,o,s,a=0,l=this.length,u="string"==typeof t&&t;if(rt.isFunction(t))return this.each(function(e){rt(this).addClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(yt)||[];a=0;)n=n.replace(" "+r+" "," ");s=t?rt.trim(n):"",i.className!==s&&(i.className=s)}return this},toggleClass:function(t,e){var i=typeof t;return"boolean"==typeof e&&"string"===i?e?this.addClass(t):this.removeClass(t):rt.isFunction(t)?this.each(function(i){rt(this).toggleClass(t.call(this,i,this.className,e),e)}):this.each(function(){if("string"===i)for(var e,n=0,r=rt(this),o=t.match(yt)||[];e=o[n++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else i!==Tt&&"boolean"!==i||(this.className&&rt._data(this,"__className__",this.className),this.className=this.className||t===!1?"":rt._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;i=0)return!0;return!1}}),rt.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(t,e){rt.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),rt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}});var Ne=rt.now(),Ee=/\?/,Re=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;rt.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var i,n=null,r=rt.trim(e+"");return r&&!rt.trim(r.replace(Re,function(t,e,r,o){return i&&e&&(n=0),0===n?t:(i=r||e,n+=!o-!r,"")}))?Function("return "+r)():rt.error("Invalid JSON: "+e)},rt.parseXML=function(e){var i,n;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(n=new DOMParser,i=n.parseFromString(e,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(e))}catch(r){i=void 0}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||rt.error("Invalid XML: "+e),i};var De,$e,Ie=/#.*$/,ze=/([?&])_=[^&]*/,Me=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,je=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Le=/^(?:GET|HEAD)$/,Fe=/^\/\//,qe=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,He={},Be={},We="*/".concat("*");try{$e=location.href}catch(Xe){$e=ft.createElement("a"),$e.href="",$e=$e.href}De=qe.exec($e.toLowerCase())||[],rt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:$e,type:"GET",isLocal:je.test(De[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":We,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":rt.parseJSON,"text xml":rt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?q(q(t,rt.ajaxSettings),e):q(rt.ajaxSettings,t)},ajaxPrefilter:L(He),ajaxTransport:L(Be),ajax:function(t,e){function i(t,e,i,n){var r,c,v,_,w,x=e;2!==y&&(y=2,a&&clearTimeout(a),u=void 0,s=n||"",b.readyState=t>0?4:0,r=t>=200&&t<300||304===t,i&&(_=H(h,b,i)),_=B(h,_,b,r),r?(h.ifModified&&(w=b.getResponseHeader("Last-Modified"),w&&(rt.lastModified[o]=w),w=b.getResponseHeader("etag"),w&&(rt.etag[o]=w)),204===t||"HEAD"===h.type?x="nocontent":304===t?x="notmodified":(x=_.state,c=_.data,v=_.error,r=!v)):(v=x,!t&&x||(x="error",t<0&&(t=0))),b.status=t,b.statusText=(e||x)+"",r?f.resolveWith(p,[c,x,b]):f.rejectWith(p,[b,x,v]),b.statusCode(g),g=void 0,l&&d.trigger(r?"ajaxSuccess":"ajaxError",[b,h,r?c:v]),m.fireWith(p,[b,x]),l&&(d.trigger("ajaxComplete",[b,h]),--rt.active||rt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,r,o,s,a,l,u,c,h=rt.ajaxSetup({},e),p=h.context||h,d=h.context&&(p.nodeType||p.jquery)?rt(p):rt.event,f=rt.Deferred(),m=rt.Callbacks("once memory"),g=h.statusCode||{},v={},_={},y=0,w="canceled",b={readyState:0,getResponseHeader:function(t){var e;if(2===y){if(!c)for(c={};e=Me.exec(s);)c[e[1].toLowerCase()]=e[2];e=c[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===y?s:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return y||(t=_[i]=_[i]||t,v[t]=e),this},overrideMimeType:function(t){return y||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(y<2)for(e in t)g[e]=[g[e],t[e]];else b.always(t[b.status]);return this},abort:function(t){var e=t||w;return u&&u.abort(e),i(0,e),this}};if(f.promise(b).complete=m.add,b.success=b.done,b.error=b.fail,h.url=((t||h.url||$e)+"").replace(Ie,"").replace(Fe,De[1]+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=rt.trim(h.dataType||"*").toLowerCase().match(yt)||[""],null==h.crossDomain&&(n=qe.exec(h.url.toLowerCase()),h.crossDomain=!(!n||n[1]===De[1]&&n[2]===De[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(De[3]||("http:"===De[1]?"80":"443")))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=rt.param(h.data,h.traditional)),F(He,h,e,b),2===y)return b;l=rt.event&&h.global,l&&0===rt.active++&&rt.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Le.test(h.type),o=h.url,h.hasContent||(h.data&&(o=h.url+=(Ee.test(o)?"&":"?")+h.data,delete h.data),h.cache===!1&&(h.url=ze.test(o)?o.replace(ze,"$1_="+Ne++):o+(Ee.test(o)?"&":"?")+"_="+Ne++)),h.ifModified&&(rt.lastModified[o]&&b.setRequestHeader("If-Modified-Since",rt.lastModified[o]),rt.etag[o]&&b.setRequestHeader("If-None-Match",rt.etag[o])),(h.data&&h.hasContent&&h.contentType!==!1||e.contentType)&&b.setRequestHeader("Content-Type",h.contentType),b.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+We+"; q=0.01":""):h.accepts["*"]);for(r in h.headers)b.setRequestHeader(r,h.headers[r]);if(h.beforeSend&&(h.beforeSend.call(p,b,h)===!1||2===y))return b.abort();w="abort";for(r in{success:1,error:1,complete:1})b[r](h[r]);if(u=F(Be,h,e,b)){b.readyState=1,l&&d.trigger("ajaxSend",[b,h]),h.async&&h.timeout>0&&(a=setTimeout(function(){b.abort("timeout")},h.timeout));try{y=1,u.send(v,i)}catch(x){if(!(y<2))throw x;i(-1,x)}}else i(-1,"No Transport");return b},getJSON:function(t,e,i){return rt.get(t,e,i,"json")},getScript:function(t,e){return rt.get(t,void 0,e,"script")}}),rt.each(["get","post"],function(t,e){rt[e]=function(t,i,n,r){return rt.isFunction(i)&&(r=r||n,n=i,i=void 0),rt.ajax({url:t,type:e,dataType:r,data:i,success:n})}}),rt._evalUrl=function(t){return rt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},rt.fn.extend({wrapAll:function(t){if(rt.isFunction(t))return this.each(function(e){rt(this).wrapAll(t.call(this,e))});if(this[0]){var e=rt(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return rt.isFunction(t)?this.each(function(e){rt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=rt(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=rt.isFunction(t);return this.each(function(i){rt(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){rt.nodeName(this,"body")||rt(this).replaceWith(this.childNodes)}).end()}}),rt.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!it.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||rt.css(t,"display"))},rt.expr.filters.visible=function(t){return!rt.expr.filters.hidden(t)};var Ue=/%20/g,Ye=/\[\]$/,Qe=/\r?\n/g,Ve=/^(?:submit|button|image|reset|file)$/i,Ze=/^(?:input|select|textarea|keygen)/i;rt.param=function(t,e){var i,n=[],r=function(t,e){e=rt.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=rt.ajaxSettings&&rt.ajaxSettings.traditional),rt.isArray(t)||t.jquery&&!rt.isPlainObject(t))rt.each(t,function(){r(this.name,this.value)});else for(i in t)W(i,t[i],e,r);return n.join("&").replace(Ue,"+")},rt.fn.extend({serialize:function(){return rt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=rt.prop(this,"elements");return t?rt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!rt(this).is(":disabled")&&Ze.test(this.nodeName)&&!Ve.test(t)&&(this.checked||!Nt.test(t))}).map(function(t,e){var i=rt(this).val();return null==i?null:rt.isArray(i)?rt.map(i,function(t){return{name:e.name,value:t.replace(Qe,"\r\n")}}):{name:e.name,value:i.replace(Qe,"\r\n")}}).get()}}),rt.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&X()||U()}:X;var Ge=0,Ke={},Je=rt.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in Ke)Ke[t](void 0,!0)}),it.cors=!!Je&&"withCredentials"in Je,Je=it.ajax=!!Je,Je&&rt.ajaxTransport(function(t){if(!t.crossDomain||it.cors){var e;return{send:function(i,n){var r,o=t.xhr(),s=++Ge;if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)o[r]=t.xhrFields[r];t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(r in i)void 0!==i[r]&&o.setRequestHeader(r,i[r]+"");o.send(t.hasContent&&t.data||null),e=function(i,r){var a,l,u;if(e&&(r||4===o.readyState))if(delete Ke[s],e=void 0,o.onreadystatechange=rt.noop,r)4!==o.readyState&&o.abort();else{u={},a=o.status,"string"==typeof o.responseText&&(u.text=o.responseText);try{l=o.statusText}catch(c){l=""}a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=u.text?200:404}u&&n(a,l,u,o.getAllResponseHeaders())},t.async?4===o.readyState?setTimeout(e):o.onreadystatechange=Ke[s]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),rt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return rt.globalEval(t),t}}}),rt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),rt.ajaxTransport("script",function(t){if(t.crossDomain){var e,i=ft.head||rt("head")[0]||ft.documentElement;return{send:function(n,r){e=ft.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,i){(i||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,i||r(200,"success"))},i.insertBefore(e,i.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var ti=[],ei=/(=)\?(?=&|$)|\?\?/;rt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ti.pop()||rt.expando+"_"+Ne++;return this[t]=!0,t}}),rt.ajaxPrefilter("json jsonp",function(e,i,n){var r,o,s,a=e.jsonp!==!1&&(ei.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&ei.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=rt.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(ei,"$1"+r):e.jsonp!==!1&&(e.url+=(Ee.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||rt.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=t[r],t[r]=function(){s=arguments},n.always(function(){t[r]=o,e[r]&&(e.jsonpCallback=i.jsonpCallback,ti.push(r)),s&&rt.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),rt.parseHTML=function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||ft;var n=ht.exec(t),r=!i&&[];return n?[e.createElement(n[1])]:(n=rt.buildFragment([t],e,r),r&&r.length&&rt(r).remove(),rt.merge([],n.childNodes))};var ii=rt.fn.load;rt.fn.load=function(t,e,i){if("string"!=typeof t&&ii)return ii.apply(this,arguments);var n,r,o,s=this,a=t.indexOf(" ");return a>=0&&(n=rt.trim(t.slice(a,t.length)),t=t.slice(0,a)),rt.isFunction(e)?(i=e,e=void 0):e&&"object"==typeof e&&(o="POST"),s.length>0&&rt.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){r=arguments,s.html(n?rt("
").append(rt.parseHTML(t)).find(n):t)}).complete(i&&function(t,e){s.each(i,r||[t.responseText,e,t])}),this},rt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){rt.fn[e]=function(t){return this.on(e,t)}}),rt.expr.filters.animated=function(t){return rt.grep(rt.timers,function(e){return t===e.elem}).length};var ni=t.document.documentElement;rt.offset={setOffset:function(t,e,i){var n,r,o,s,a,l,u,c=rt.css(t,"position"),h=rt(t),p={};"static"===c&&(t.style.position="relative"),a=h.offset(),o=rt.css(t,"top"),l=rt.css(t,"left"),u=("absolute"===c||"fixed"===c)&&rt.inArray("auto",[o,l])>-1,u?(n=h.position(),s=n.top,r=n.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),rt.isFunction(e)&&(e=e.call(t,i,a)),null!=e.top&&(p.top=e.top-a.top+s),null!=e.left&&(p.left=e.left-a.left+r),"using"in e?e.using.call(t,p):h.css(p)}},rt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){rt.offset.setOffset(this,t,e)});var e,i,n={top:0,left:0},r=this[0],o=r&&r.ownerDocument;if(o)return e=o.documentElement,rt.contains(e,r)?(typeof r.getBoundingClientRect!==Tt&&(n=r.getBoundingClientRect()),i=Y(o),{top:n.top+(i.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(i.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):n},position:function(){if(this[0]){var t,e,i={top:0,left:0},n=this[0];return"fixed"===rt.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),rt.nodeName(t[0],"html")||(i=t.offset()),i.top+=rt.css(t[0],"borderTopWidth",!0),i.left+=rt.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-rt.css(n,"marginTop",!0),left:e.left-i.left-rt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||ni;t&&!rt.nodeName(t,"html")&&"static"===rt.css(t,"position");)t=t.offsetParent;return t||ni})}}),rt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i=/Y/.test(e);rt.fn[t]=function(n){return Ot(this,function(t,n,r){var o=Y(t);return void 0===r?o?e in o?o[e]:o.document.documentElement[n]:t[n]:void(o?o.scrollTo(i?rt(o).scrollLeft():r,i?r:rt(o).scrollTop()):t[n]=r)},t,n,arguments.length,null)}}),rt.each(["top","left"],function(t,e){rt.cssHooks[e]=k(it.pixelPosition,function(t,i){if(i)return i=ee(t,e),ne.test(i)?rt(t).position()[e]+"px":i})}),rt.each({Height:"height",Width:"width"},function(t,e){rt.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){rt.fn[n]=function(n,r){var o=arguments.length&&(i||"boolean"!=typeof n),s=i||(n===!0||r===!0?"margin":"border");return Ot(this,function(e,i,n){var r;return rt.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement, Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===n?rt.css(e,i,s):rt.style(e,i,n,s)},e,o?n:void 0,o,null)}})}),rt.fn.size=function(){return this.length},rt.fn.andSelf=rt.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return rt});var ri=t.jQuery,oi=t.$;return rt.noConflict=function(e){return t.$===rt&&(t.$=oi),e&&t.jQuery===rt&&(t.jQuery=ri),rt},typeof e===Tt&&(t.jQuery=t.$=rt),rt}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){function e(e,i,n){if(i=i||"",d&&"undefined"==typeof window.QUnit)"start"===n?console.groupCollapsed(e,i):console.groupEnd();else if("start"===n){var r=t(i).prop("tagName")||"",o=t(i).attr("id"),s=t(i).attr("class");o&&(r+="#"+o),s&&(r+="."+t.trim(s).replace(/\s/gi,".")),console.log(e,r)}}function i(t){function e(t){this.id=t;var e=new Date;this.start=e.getTime()}if(d&&"undefined"==typeof window.QUnit)console.time(t);else{_[t]=[];var i=new e(t);_[t].push(i)}}function n(t){var e=new Date,i=e.getTime(),n=i-_[t][0].start;return n}function r(t){d&&"undefined"==typeof window.QUnit?console.timeEnd(t):console.log(t+" : "+n(t)+"ms")}function o(e){var i=[];return e.hasClass(v["class"])&&i.push(t(e)[0]),e.find("."+v["class"]).each(function(){i.push(t(this)[0])}),i}function s(e){var i,n;return"undefined"!=typeof e&&0!=e.length&&""!=e[0]&&(i=t.trim(e).split(/\s+/),n=t.inArray("*",i),n!=-1&&(i[n]="global"),i)}function a(){var n,a,l=this,u={},c={};a=o(l),t.each(a,function(e,i){var r,o,a;if(r=s(t(this).data(v.dataHandler)||""))for(o=0;o(t||b.height())},_setFocus:function(){(e.st.focus?e.content.find(e.st.focus).eq(0):e.wrap).focus()},_onFocusIn:function(i){if(i.target!==e.wrap[0]&&!t.contains(e.wrap[0],i.target))return e._setFocus(),!1},_parseMarkup:function(e,i,n){var r;n.data&&(i=t.extend(n.data,i)),C(h,[e,i,n]),t.each(i,function(t,i){if(void 0===i||i===!1)return!0;if(r=t.split("_"),r.length>1){var n=e.find(m+"-"+r[0]);if(n.length>0){var o=r[1];"replaceWith"===o?n[0]!==i[0]&&n.replaceWith(i):"img"===o?n.is("img")?n.attr("src",i):n.replaceWith(''):n.attr(r[1],i)}}else e.find(m+"-"+t).html(i)})},_getScrollbarSize:function(){if(void 0===e.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),e.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return e.scrollbarSize}},t.magnificPopup={instance:null,proto:y.prototype,modules:[],open:function(e,i){return k(),e=e?t.extend(!0,{},e):{},e.isObj=!0,e.index=i||0,this.instance.open(e)},close:function(){return t.magnificPopup.instance&&t.magnificPopup.instance.close()},registerModule:function(e,i){i.options&&(t.magnificPopup.defaults[e]=i.options),t.extend(this.proto,i.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading..."}},t.fn.magnificPopup=function(i){k();var n=t(this);if("string"==typeof i)if("open"===i){var r,o=w?n.data("magnificPopup"):n[0].magnificPopup,s=parseInt(arguments[1],10)||0;o.items?r=o.items[s]:(r=n,o.delegate&&(r=r.find(o.delegate)),r=r.eq(s)),e._openClick({mfpEl:r},n,o)}else e.isOpen&&e[i].apply(e,Array.prototype.slice.call(arguments,1));else i=t.extend(!0,{},i),w?n.data("magnificPopup",i):n[0].magnificPopup=i,e.addGroup(n,i);return n};var P,O,N,E="inline",R=function(){N&&(O.after(N.addClass(P)).detach(),N=null)};t.magnificPopup.registerModule(E,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(E),x(a+"."+E,function(){R()})},getInline:function(i,n){if(R(),i.src){var r=e.st.inline,o=t(i.src);if(o.length){var s=o[0].parentNode;s&&s.tagName&&(O||(P=r.hiddenClass,O=T(P),P="mfp-"+P),N=o.after(O).detach().removeClass(P)),e.updateStatus("ready")}else e.updateStatus("error",r.tNotFound),o=t("
");return i.inlineElement=o,o}return e.updateStatus("ready"),e._parseMarkup(n,{},i),n}}});var D,$="ajax",I=function(){D&&t(document.body).removeClass(D)},z=function(){I(),e.req&&e.req.abort()};t.magnificPopup.registerModule($,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){e.types.push($),D=e.st.ajax.cursor,x(a+"."+$,z),x("BeforeChange."+$,z)},getAjax:function(i){D&&t(document.body).addClass(D),e.updateStatus("loading");var n=t.extend({url:i.src,success:function(n,r,o){var s={data:n,xhr:o};C("ParseAjax",s),e.appendContent(t(s.data),$),i.finished=!0,I(),e._setFocus(),setTimeout(function(){e.wrap.addClass(g)},16),e.updateStatus("ready"),C("AjaxContentAdded")},error:function(){I(),i.finished=i.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",i.src))}},e.st.ajax.settings);return e.req=t.ajax(n),""}}});var M,j=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;var n=e.st.image.titleSrc;if(n){if(t.isFunction(n))return n.call(e,i);if(i.el)return i.el.attr(n)||""}return""};t.magnificPopup.registerModule("image",{options:{markup:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var i=e.st.image,n=".image";e.types.push("image"),x(p+n,function(){"image"===e.currItem.type&&i.cursor&&t(document.body).addClass(i.cursor)}),x(a+n,function(){i.cursor&&t(document.body).removeClass(i.cursor),b.off("resize"+m)}),x("Resize"+n,e.resizeImage),e.isLowIE&&x("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var i=0;e.isLowIE&&(i=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-i)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,M&&clearInterval(M),t.isCheckingImgSize=!1,C("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var i=0,n=t.img[0],r=function(o){M&&clearInterval(M),M=setInterval(function(){return n.naturalWidth>0?void e._onImageHasSize(t):(i>200&&clearInterval(M),i++,void(3===i?r(10):40===i?r(50):100===i&&r(500)))},o)};r(1)},getImage:function(i,n){var r=0,o=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,C("ImageLoadComplete")):(r++,r<200?setTimeout(o,100):s()))},s=function(){i&&(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("error",a.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},a=e.st.image,l=n.find(".mfp-img");if(l.length){var u=document.createElement("img");u.className="mfp-img",i.el&&i.el.find("img").length&&(u.alt=i.el.find("img").attr("alt")),i.img=t(u).on("load.mfploader",o).on("error.mfploader",s),u.src=i.src,l.is("img")&&(i.img=i.img.clone()),u=i.img[0],u.naturalWidth>0?i.hasSize=!0:u.width||(i.hasSize=!1)}return e._parseMarkup(n,{title:j(i),img_replaceWith:i.img},i),e.resizeImage(),i.hasSize?(M&&clearInterval(M),i.loadError?(n.addClass("mfp-loading"),e.updateStatus("error",a.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),e.updateStatus("ready")),n):(e.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),e.findImageSize(i)),n)}}});var L,F=function(){return void 0===L&&(L=void 0!==document.createElement("p").style.MozTransform),L};t.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,i=e.st.zoom,n=".zoom";if(i.enabled&&e.supportsTransition){var r,o,s=i.duration,u=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,r={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return r["-webkit-"+o]=r["-moz-"+o]=r["-o-"+o]=r[o]=n,e.css(r),e},c=function(){e.content.css("visibility","visible")};x("BuildControls"+n,function(){if(e._allowZoom()){if(clearTimeout(r),e.content.css("visibility","hidden"),t=e._getItemToZoom(),!t)return void c();o=u(t),o.css(e._getOffset()),e.wrap.append(o),r=setTimeout(function(){o.css(e._getOffset(!0)),r=setTimeout(function(){c(),setTimeout(function(){o.remove(),t=o=null,C("ZoomAnimationEnded")},16)},s)},16)}}),x(l+n,function(){if(e._allowZoom()){if(clearTimeout(r),e.st.removalDelay=s,!t){if(t=e._getItemToZoom(),!t)return;o=u(t)}o.css(e._getOffset(!0)),e.wrap.append(o),e.content.css("visibility","hidden"),setTimeout(function(){o.css(e._getOffset())},16)}}),x(a+n,function(){e._allowZoom()&&(c(),o&&o.remove(),t=null)})}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return!!e.currItem.hasSize&&e.currItem.img},_getOffset:function(i){var n;n=i?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem);var r=n.offset(),o=parseInt(n.css("padding-top"),10),s=parseInt(n.css("padding-bottom"),10);r.top-=t(window).scrollTop()-o;var a={width:n.width(),height:(w?n.innerHeight():n[0].offsetHeight)-s-o};return F()?a["-moz-transform"]=a.transform="translate("+r.left+"px,"+r.top+"px)":(a.left=r.left,a.top=r.top),a}}});var q="iframe",H="//about:blank",B=function(t){if(e.currTemplate[q]){var i=e.currTemplate[q].find("iframe");i.length&&(t||(i[0].src=H),e.isIE8&&i.css("display",t?"block":"none"))}};t.magnificPopup.registerModule(q,{options:{markup:'
',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push(q),x("BeforeChange",function(t,e,i){e!==i&&(e===q?B():i===q&&B(!0))}),x(a+"."+q,function(){B()})},getIframe:function(i,n){var r=i.src,o=e.st.iframe;t.each(o.patterns,function(){if(r.indexOf(this.index)>-1)return this.id&&(r="string"==typeof this.id?r.substr(r.lastIndexOf(this.id)+this.id.length,r.length):this.id.call(this,r)),r=this.src.replace("%id%",r),!1});var s={};return o.srcAction&&(s[o.srcAction]=r),e._parseMarkup(n,s,i),e.updateStatus("ready"),n}}});var W=function(t){var i=e.items.length;return t>i-1?t-i:t<0?i+t:t},X=function(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)};t.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=e.st.gallery,r=".mfp-gallery",s=Boolean(t.fn.mfpFastClick);return e.direction=!0,!(!i||!i.enabled)&&(o+=" mfp-gallery",x(p+r,function(){i.navigateByImgClick&&e.wrap.on("click"+r,".mfp-img",function(){if(e.items.length>1)return e.next(),!1}),n.on("keydown"+r,function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()})}),x("UpdateStatus"+r,function(t,i){i.text&&(i.text=X(i.text,e.currItem.index,e.items.length))}),x(h+r,function(t,n,r,o){var s=e.items.length;r.counter=s>1?X(i.tCounter,o.index,s):""}),x("BuildControls"+r,function(){if(e.items.length>1&&i.arrows&&!e.arrowLeft){var n=i.arrowMarkup,r=e.arrowLeft=t(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(_),o=e.arrowRight=t(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(_),a=s?"mfpFastClick":"click";r[a](function(){e.prev()}),o[a](function(){e.next()}),e.isIE7&&(T("b",r[0],!1,!0),T("a",r[0],!1,!0),T("b",o[0],!1,!0),T("a",o[0],!1,!0)),e.container.append(r.add(o))}}),x(d+r,function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout(function(){e.preloadNearbyImages(),e._preloadTimeout=null},16)}),void x(a+r,function(){n.off(r),e.wrap.off("click"+r),e.arrowLeft&&s&&e.arrowLeft.add(e.arrowRight).destroyMfpFastClick(),e.arrowRight=e.arrowLeft=null}))},next:function(){e.direction=!0,e.index=W(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=W(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,i=e.st.gallery.preload,n=Math.min(i[0],e.items.length),r=Math.min(i[1],e.items.length);for(t=1;t<=(e.direction?r:n);t++)e._preloadItem(e.index+t);for(t=1;t<=(e.direction?n:r);t++)e._preloadItem(e.index-t)},_preloadItem:function(i){if(i=W(i),!e.items[i].preloaded){var n=e.items[i];n.parsed||(n=e.parseEl(i)),C("LazyLoad",n),"image"===n.type&&(n.img=t('').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,C("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}}});var U="retina";t.magnificPopup.registerModule(U,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,i=t.ratio;i=isNaN(i)?i():i,i>1&&(x("ImageHasSize."+U,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/i,width:"100%"})}),x("ElementParse."+U,function(e,n){n.src=t.replaceSrc(n,i)}))}}}}),function(){var e=1e3,i="ontouchstart"in window,n=function(){b.off("touchmove"+o+" touchend"+o)},r="mfpFastClick",o="."+r;t.fn.mfpFastClick=function(r){return t(this).each(function(){var s,a=t(this);if(i){var l,u,c,h,p,d;a.on("touchstart"+o,function(t){h=!1,d=1,p=t.originalEvent?t.originalEvent.touches[0]:t.touches[0],u=p.clientX,c=p.clientY,b.on("touchmove"+o,function(t){p=t.originalEvent?t.originalEvent.touches:t.touches,d=p.length,p=p[0],(Math.abs(p.clientX-u)>10||Math.abs(p.clientY-c)>10)&&(h=!0,n())}).on("touchend"+o,function(t){n(),h||d>1||(s=!0,t.preventDefault(),clearTimeout(l),l=setTimeout(function(){s=!1},e),r())})})}a.on("click"+o,function(){s||r()})})},t.fn.destroyMfpFastClick=function(){t(this).off("touchstart"+o+" click"+o),i&&b.off("touchmove"+o+" touchend"+o)}}(),k()}),function(t,e,i,n){function r(e,i){this.settings=null,this.options=t.extend({},r.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy(function(e,i){this._handlers[i]=t.proxy(this[i],this)},this)),t.each(r.Plugins,t.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),t.each(r.Workers,t.proxy(function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})},this)),this.setup(),this.initialize()}r.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},r.Width={Default:"default",Inner:"inner",Outer:"outer"},r.Type={Event:"event",State:"state"},r.Plugins={},r.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,r={width:"auto","margin-left":n?e:"","margin-right":n?"":e};!i&&this.$stage.children().css(r),t.css=r}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,r=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,o[n]=r?e*i:this._items[n].width();this._widths=o}},{filter:["items","settings"],run:function(){var e=[],i=this._items,n=this.settings,r=Math.max(2*n.items,4),o=2*Math.ceil(i.length/2),s=n.loop&&i.length?n.rewind?r:Math.max(r,o):0,a="",l="";for(s/=2;s--;)e.push(this.normalize(e.length/2,!0)),a+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),l=i[e[e.length-1]][0].outerHTML+l;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,n=0,r=0,o=[];++i",a)||this.op(e,"<",s)&&this.op(e,">",a))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],r.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var e,i,r;e=this.$element.find("img"),i=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:n,r=this.$element.children(i).width(),e.length&&r<=0&&this.preloadAutoWidthImages(e)}this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('
'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},r.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,n=-1,r=null;i?(t.each(i,function(t){t<=e&&t>n&&(n=Number(t))}),r=t.extend({},this.options,i[n]),delete r.responsive,r.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n+" "))):r=t.extend({},this.options),null!==this.settings&&this._breakpoint===n||(this.trigger("change",{property:{name:"settings",value:r}}),this._breakpoint=n,this.settings=r,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}}))},r.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},r.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},r.prototype.update=function(){for(var e=0,i=this._pipe.length,n=t.proxy(function(t){return this[t]},this._invalidated),r={};e0)&&this._pipe[e].run(r),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},r.prototype.width=function(t){switch(t=t||r.Width.Default){case r.Width.Inner:case r.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},r.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},r.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},r.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},r.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),this.settings.responsive!==!1&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},r.prototype.onDragStart=function(e){var n=null;3!==e.which&&(t.support.transform?(n=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),n={x:n[16===n.length?12:4],y:n[16===n.length?13:5]}):(n=this.$stage.position(),n={x:this.settings.rtl?n.left+this.$stage.width()-this.width()+this.settings.margin:n.left,y:n.top}),this.is("animating")&&(t.support.transform?this.animate(n.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=n,this._drag.stage.current=n,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy(function(e){var n=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(n.x)0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==n.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(r.x,0!==n.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(n.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},r.prototype.closest=function(e,i){var n=-1,r=30,o=this.width(),s=this.coordinates();return this.settings.freeDrag||t.each(s,t.proxy(function(t,a){return e>a-r&&e",s[t+1]||a-o)&&(n="left"===i?t+1:t),n===-1},this)),this.settings.loop||(this.op(e,">",s[this.minimum()])?n=e=this.minimum():this.op(e,"<",s[this.maximum()])&&(n=e=this.maximum())),n},r.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},r.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},r.prototype.current=function(t){if(t===n)return this._current;if(0===this._items.length)return n;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==n&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},r.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,function(t,e){return e})},r.prototype.reset=function(t){t=this.normalize(t),t!==n&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},r.prototype.normalize=function(e,i){var r=this._items.length,o=i?0:this._clones.length;return!t.isNumeric(e)||r<1?e=n:(e<0||e>=r+o)&&(e=((e-o/2)%r+r)%r+o/2),e},r.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},r.prototype.maximum=function(t){var e,i=this.settings,n=this._coordinates.length,r=Math.abs(this._coordinates[n-1])-this._width,o=-1;if(i.loop)n=this._clones.length/2+this._items.length-1;else if(i.autoWidth||i.merge)for(;n-o>1;)Math.abs(this._coordinates[e=n+o>>1])0)-(r<0),s=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(r)>s/2&&(r+=o*-1*s),t=i+r,n=((t-a)%s+s)%s+a,n!==t&&n-r<=l&&n-r>0&&(i=n-r,t=n,this.reset(i))):this.settings.rewind?(l+=1,t=(t%l+l)%l):t=Math.max(a,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},r.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},r.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},r.prototype.onTransitionEnd=function(t){return(t===n||(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)===this.$stage.get(0)))&&(this.leave("animating"),void this.trigger("translated"))},r.prototype.viewport=function(){var n;if(this.options.responsiveBaseElement!==e)n=t(this.options.responsiveBaseElement).width();else if(e.innerWidth)n=e.innerWidth;else{if(!i.documentElement||!i.documentElement.clientWidth)throw"Can not detect viewport width.";n=i.documentElement.clientWidth}return n},r.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter(function(){return 1===this.nodeType}).each(t.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)},this)),this.reset(t.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},r.prototype.add=function(e,i){var r=this.relative(this._current);i=i===n?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)),this._items[r]&&this.reset(this._items[r].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},r.prototype.remove=function(t){t=this.normalize(t,!0),t!==n&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},r.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy(function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy(function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))},r.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),this.settings.responsive!==!1&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize));for(var n in this._plugins)this._plugins[n].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},r.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?t>i:t":return n?ti;case">=":return n?t<=i:t>=i;case"<=":return n?t>=i:t<=i}},r.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},r.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},r.prototype.trigger=function(e,i,n,o,s){var a={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,n],function(t){return t}).join("-").toLowerCase()),u=t.Event([e,"owl",n||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,i));return this._supress[e]||(t.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(u)}),this.register({type:r.Type.Event,name:e}),this.$element.trigger(u),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,u)),u},r.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]===n&&(this._states.current[e]=0),this._states.current[e]++},this))},r.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]--},this))},r.prototype.register=function(e){if(e.type===r.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&t.namespace.indexOf("owl")!==-1?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===r.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy(function(i,n){return t.inArray(i,this._states.tags[e.name])===n},this)))},r.prototype.suppress=function(e){t.each(e,t.proxy(function(t,e){this._supress[e]=!0},this))},r.prototype.release=function(e){t.each(e,t.proxy(function(t,e){delete this._supress[e]},this))},r.prototype.pointer=function(t){var i={x:null,y:null};return t=t.originalEvent||t||e.event,t=t.touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,t.pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},r.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=t(this),o=n.data("owl.carousel");o||(o=new r(this,"object"==typeof e&&e),n.data("owl.carousel",o),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,i){o.register({type:r.Type.Event,name:i}),o.$element.on(i+".owl.carousel.core",t.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),o[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},o))})),"string"==typeof e&&"_"!==e.charAt(0)&&o[e].apply(o,i)})},t.fn.owlCarousel.Constructor=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var r=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers)};r.Defaults={autoRefresh:!0,autoRefreshInterval:500},r.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},r.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},r.prototype.destroy=function(){var t,i;e.clearInterval(this._interval);for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var r=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel":t.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type))for(var i=this._core.settings,n=i.center&&Math.ceil(i.items/2)||i.items,r=i.center&&n*-1||0,o=(e.property&&e.property.value||this._core.current())+r,s=this._core.clones().length,a=t.proxy(function(t,e){this.load(e)},this);r++-1||(r.each(t.proxy(function(i,n){var r,o=t(n),s=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src");this._core.trigger("load",{element:o,url:s},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy(function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:s},"lazy")},this)).attr("src",s):(r=new Image,r.onload=t.proxy(function(){o.css({"background-image":"url("+s+")",opacity:"1"}),this._core.trigger("loaded",{element:o,url:s},"lazy")},this),r.src=s)},this)),this._loaded.push(n.get(0)))},r.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var r=function(e){this._core=e,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()},this),"loaded.owl.lazy":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers)};r.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},r.prototype.update=function(){var e=this._core._current,i=e+this._core.settings.items,n=this._core.$stage.children().toArray().slice(e,i);heights=[],maxheight=0,t.each(n,function(e,i){heights.push(t(i).height())}),maxheight=Math.max.apply(null,heights),this._core.$stage.parent().height(maxheight).addClass(this._core.settings.autoHeightClass)},r.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var r=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy(function(t){this.play(t)},this))};r.Defaults={video:!1,videoHeight:!1,videoWidth:!1},r.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":"youtube",n=t.attr("data-vimeo-id")||t.attr("data-youtube-id"),r=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,s=t.attr("href");if(!s)throw new Error("Missing video URL.");if(n=s.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),n[3].indexOf("youtu")>-1)i="youtube";else{if(!(n[3].indexOf("vimeo")>-1))throw new Error("Video URL not supported.");i="vimeo"}n=n[6],this._videos[s]={type:i,id:n,width:r,height:o},e.attr("data-video",s),this.thumbnail(t,this._videos[s])},r.prototype.thumbnail=function(e,i){var n,r,o,s=i.width&&i.height?'style="width:'+i.width+"px;height:"+i.height+'px;"':"",a=e.find("img"),l="src",u="",c=this._core.settings,h=function(t){r='
',n=c.lazyLoad?'
':'
',e.after(n),e.after(r)};return e.wrap('
"),this._core.settings.lazyLoad&&(l="data-src",u="owl-lazy"),a.length?(h(a.attr(l)),a.remove(),!1):void("youtube"===i.type?(o="http://img.youtube.com/vi/"+i.id+"/hqdefault.jpg",h(o)):"vimeo"===i.type&&t.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t[0].thumbnail_large,h(o)}}))},r.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},r.prototype.play=function(e){var i,n=t(e.target),r=n.closest("."+this._core.settings.itemClass),o=this._videos[r.attr("data-video")],s=o.width||"100%",a=o.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),r=this._core.items(this._core.relative(r.index())),this._core.reset(r.index()),"youtube"===o.type?i='':"vimeo"===o.type&&(i=''),t('
'+i+"
").insertAfter(r.find(".owl-video")),this._playing=r.addClass("owl-video-playing"))},r.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},r.prototype.destroy=function(){var t,e;this._core.$element.off("click.owl.video");for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var r=function(e){this.core=e,this.core.options=t.extend({},r.Defaults,this.core.options),this.swapping=!0,this.previous=n,this.next=n,this.handlers={"change.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":t.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};r.Defaults={animateOut:!1,animateIn:!1},r.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),r=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(s)),o&&r.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(o))}},r.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},r.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var r=function(e){this._core=e,this._interval=null,this._paused=!1,this._handlers={"changed.owl.carousel":t.proxy(function(t){t.namespace&&"settings"===t.property.name&&(this._core.settings.autoplay?this.play():this.stop())},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":t.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":t.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},r.Defaults,this._core.options)};r.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},r.prototype.play=function(n,r){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._interval=e.setInterval(t.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||i.hidden||this._core.next(r||this._core.settings.autoplaySpeed)},this),n||this._core.settings.autoplayTimeout))},r.prototype.stop=function(){this._core.is("rotating")&&(e.clearInterval(this._interval),this._core.leave("rotating"))},r.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},r.prototype.destroy=function(){var t,e;this.stop();for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var r=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('
'+t(e.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this.$element.on(this._handlers)};r.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},r.prototype.initialize=function(){var e,i=this._core.settings;this._controls.$relative=(i.navContainer?t(i.navContainer):t("
").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[t("
").addClass(i.dotClass).append(t("")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("
").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"), this._controls.$absolute.on("click","div",t.proxy(function(e){var n=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(n,i.dotsSpeed)},this));for(e in this._overrides)this._core[e]=t.proxy(this[e],this)},r.prototype.destroy=function(){var t,e,i,n;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},r.prototype.update=function(){var t,e,i,n=this._core.clones().length/2,r=n+this._core.items().length,o=this._core.maximum(!0),s=this._core.settings,a=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],t=n,e=0,i=0;t=a||0===e){if(this._pages.push({start:Math.min(o,t-n),end:t-n+a-1}),Math.min(o,t-n)===o)break;e=0,++i}e+=this._core.mergers(this._core.relative(t))}},r.prototype.draw=function(){var e,i=this._core.settings,n=this._core.items().length<=i.items,r=this._core.relative(this._core.current()),o=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||n),i.nav&&(this._controls.$previous.toggleClass("disabled",!o&&r<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&r>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||n),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},r.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},r.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t,i){return t.start<=e&&t.end>=e},this)).pop()},r.prototype.getPosition=function(e){var i,n,r=this._core.settings;return"page"==r.slideBy?(i=t.inArray(this.current(),this._pages),n=this._pages.length,e?++i:--i,i=this._pages[(i%n+n)%n].start):(i=this._core.relative(this._core.current()),n=this._core.items().length,e?i+=r.slideBy:i-=r.slideBy),i},r.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},r.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},r.prototype.to=function(e,i,n){var r;n?t.proxy(this._overrides.to,this._core)(e,i):(r=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%r+r)%r].start,i))},t.fn.owlCarousel.Constructor.Plugins.Navigation=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var r=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").andSelf("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}},this),"changed.owl.carousel":t.proxy(function(i){if(i.namespace&&"position"===i.property.name){var n=this._core.items(this._core.relative(this._core.current())),r=t.map(this._hashes,function(t,e){return t===n?e:null}).join();if(!r||e.location.hash.slice(1)===r)return;e.location.hash=r}},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(t){var i=e.location.hash.substring(1),r=this._core.$stage.children(),o=this._hashes[i]&&r.index(this._hashes[i]);o!==n&&o!==this._core.current()&&this._core.to(this._core.relative(o),!1,!0)},this))};r.Defaults={URLhashListener:!1},r.prototype.destroy=function(){var i,n;t(e).off("hashchange.owl.navigation");for(i in this._handlers)this._core.$element.off(i,this._handlers[i]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){function r(e,i){var r=!1,o=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+a.join(o+" ")+o).split(" "),function(t,e){if(s[e]!==n)return r=!i||e,!1}),r}function o(t){return r(t,!0)}var s=t("").get(0).style,a="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},u={csstransforms:function(){return!!r("transform")},csstransforms3d:function(){return!!r("perspective")},csstransitions:function(){return!!r("transition")},cssanimations:function(){return!!r("animation")}};u.csstransitions()&&(t.support.transition=new String(o("transition")),t.support.transition.end=l.transition.end[t.support.transition]),u.cssanimations()&&(t.support.animation=new String(o("animation")),t.support.animation.end=l.animation.end[t.support.animation]),u.csstransforms()&&(t.support.transform=new String(o("transform")),t.support.transform3d=u.csstransforms3d())}(window.Zepto||window.jQuery,window,document),function(){var t="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||this,e=t._,i=Array.prototype,n=Object.prototype,r=i.push,o=i.slice,s=n.toString,a=n.hasOwnProperty,l=Array.isArray,u=Object.keys,c=Object.create,h=function(){},p=function(t){return t instanceof p?t:this instanceof p?void(this._wrapped=t):new p(t)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=p),exports._=p):t._=p,p.VERSION="1.8.3";var d=function(t,e,i){if(void 0===e)return t;switch(null==i?3:i){case 1:return function(i){return t.call(e,i)};case 3:return function(i,n,r){return t.call(e,i,n,r)};case 4:return function(i,n,r,o){return t.call(e,i,n,r,o)}}return function(){return t.apply(e,arguments)}},f=function(t,e,i){return null==t?p.identity:p.isFunction(t)?d(t,e,i):p.isObject(t)?p.matcher(t):p.property(t)};p.iteratee=function(t,e){return f(t,e,1/0)};var m=function(t,e){return e=null==e?t.length-1:+e,function(){for(var i=Math.max(arguments.length-e,0),n=Array(i),r=0;r=0&&e<=_};p.each=p.forEach=function(t,e,i){e=d(e,i);var n,r;if(w(t))for(n=0,r=t.length;n0?0:s-1;for(r||(n=e[o?o[a]:a],a+=t);a>=0&&a=3;return e(t,d(i,r,4),n,o)}};p.reduce=p.foldl=p.inject=b(1),p.reduceRight=p.foldr=b(-1),p.find=p.detect=function(t,e,i){var n;if(n=w(t)?p.findIndex(t,e,i):p.findKey(t,e,i),void 0!==n&&n!==-1)return t[n]},p.filter=p.select=function(t,e,i){var n=[];return e=f(e,i),p.each(t,function(t,i,r){e(t,i,r)&&n.push(t)}),n},p.reject=function(t,e,i){return p.filter(t,p.negate(f(e)),i)},p.every=p.all=function(t,e,i){e=f(e,i);for(var n=!w(t)&&p.keys(t),r=(n||t).length,o=0;o=0},p.invoke=m(function(t,e,i){var n=p.isFunction(e);return p.map(t,function(t){var r=n?e:t[e];return null==r?r:r.apply(t,i)})}),p.pluck=function(t,e){return p.map(t,p.property(e))},p.where=function(t,e){return p.filter(t,p.matcher(e))},p.findWhere=function(t,e){return p.find(t,p.matcher(e))},p.max=function(t,e,i){var n,r,o=-(1/0),s=-(1/0);if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t){t=w(t)?t:p.values(t);for(var a=0,l=t.length;ao&&(o=n)}else e=f(e,i),p.each(t,function(t,i,n){r=e(t,i,n),(r>s||r===-(1/0)&&o===-(1/0))&&(o=t,s=r)});return o},p.min=function(t,e,i){var n,r,o=1/0,s=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t){t=w(t)?t:p.values(t);for(var a=0,l=t.length;an||void 0===i)return 1;if(i0?0:r-1;o>=0&&o0?a=s>=0?s:Math.max(s+l,a):l=s>=0?Math.min(s+1,l):s+l+1;else if(i&&s&&l)return s=i(n,r),n[s]===r?s:-1;if(r!==r)return s=e(o.call(n,a,l),p.isNaN),s>=0?s+a:-1;for(s=t>0?a:l-1;s>=0&&se?(s&&(clearTimeout(s),s=null),a=u,o=t.apply(n,r),s||(n=r=null)):s||i.trailing===!1||(s=setTimeout(l,c)),o}},p.debounce=function(t,e,i){var n,r,o,s,a,l=function(){var u=p.now()-s;u=0?n=setTimeout(l,e-u):(n=null,i||(a=t.apply(o,r),n||(o=r=null)))};return function(){o=this,r=arguments,s=p.now();var u=i&&!n;return n||(n=setTimeout(l,e)),u&&(a=t.apply(o,r),o=r=null),a}},p.wrap=function(t,e){return p.partial(e,t)},p.negate=function(t){return function(){return!t.apply(this,arguments)}},p.compose=function(){var t=arguments,e=t.length-1;return function(){for(var i=e,n=t[e].apply(this,arguments);i--;)n=t[i].call(this,n);return n}},p.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},p.before=function(t,e){var i;return function(){return--t>0&&(i=e.apply(this,arguments)),t<=1&&(e=null),i}},p.once=p.partial(p.before,2),p.restArgs=m;var A=!{toString:null}.propertyIsEnumerable("toString"),P=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=function(t,e){var i=P.length,r=t.constructor,o=p.isFunction(r)&&r.prototype||n,s="constructor";for(p.has(t,s)&&!p.contains(e,s)&&e.push(s);i--;)s=P[i],s in t&&t[s]!==o[s]&&!p.contains(e,s)&&e.push(s)};p.keys=function(t){if(!p.isObject(t))return[];if(u)return u(t);var e=[];for(var i in t)p.has(t,i)&&e.push(i);return A&&O(t,e),e},p.allKeys=function(t){if(!p.isObject(t))return[];var e=[];for(var i in t)e.push(i);return A&&O(t,e),e},p.values=function(t){for(var e=p.keys(t),i=e.length,n=Array(i),r=0;r1&&(n=d(n,e[1])),e=p.allKeys(t)):(n=E,e=T(e,!1,!1),t=Object(t));for(var r=0,o=e.length;r1&&(i=e[1])):(e=p.map(T(e,!1,!1),String),n=function(t,i){return!p.contains(e,i)}),p.pick(t,n,i)}),p.defaults=N(p.allKeys,!0),p.create=function(t,e){var i=g(t);return e&&p.extendOwn(i,e),i},p.clone=function(t){return p.isObject(t)?p.isArray(t)?t.slice():p.extend({},t):t},p.tap=function(t,e){return e(t),t},p.isMatch=function(t,e){var i=p.keys(e),n=i.length;if(null==t)return!n;for(var r=Object(t),o=0;o":">",'"':""","'":"'","`":"`"},z=p.invert(I),M=function(t){var e=function(e){return t[e]},i="(?:"+p.keys(t).join("|")+")",n=RegExp(i),r=RegExp(i,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(r,e):t}};p.escape=M(I),p.unescape=M(z),p.result=function(t,e,i){var n=null==t?void 0:t[e];return void 0===n&&(n=i),p.isFunction(n)?n.call(t):n};var j=0;p.uniqueId=function(t){var e=++j+"";return t?t+e:e},p.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var L=/(.)^/,F={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},q=/\\|'|\r|\n|\u2028|\u2029/g,H=function(t){return"\\"+F[t]};p.template=function(t,e,i){!e&&i&&(e=i),e=p.defaults({},e,p.templateSettings);var n=RegExp([(e.escape||L).source,(e.interpolate||L).source,(e.evaluate||L).source].join("|")+"|$","g"),r=0,o="__p+='";t.replace(n,function(e,i,n,s,a){return o+=t.slice(r,a).replace(q,H),r=a+e.length,i?o+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'":n?o+="'+\n((__t=("+n+"))==null?'':__t)+\n'":s&&(o+="';\n"+s+"\n__p+='"),e}),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";var s;try{s=new Function(e.variable||"obj","_",o)}catch(a){throw a.source=o,a}var l=function(t){return s.call(this,t,p)},u=e.variable||"obj";return l.source="function("+u+"){\n"+o+"}",l},p.chain=function(t){var e=p(t);return e._chain=!0,e};var B=function(t,e){return t._chain?p(e).chain():e};p.mixin=function(t){p.each(p.functions(t),function(e){var i=p[e]=t[e];p.prototype[e]=function(){var t=[this._wrapped];return r.apply(t,arguments),B(this,i.apply(p,t))}})},p.mixin(p),p.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=i[t];p.prototype[t]=function(){var i=this._wrapped;return e.apply(i,arguments),"shift"!==t&&"splice"!==t||0!==i.length||delete i[0],B(this,i)}}),p.each(["concat","join","slice"],function(t){var e=i[t];p.prototype[t]=function(){return B(this,e.apply(this._wrapped,arguments))}}),p.prototype.value=function(){return this._wrapped},p.prototype.valueOf=p.prototype.toJSON=p.prototype.value,p.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return p})}(),function(){"use strict";function t(n){if(!n)throw new Error("No options passed to Waypoint constructor");if(!n.element)throw new Error("No element option passed to Waypoint constructor");if(!n.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,n),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=n.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var n in i)e.push(i[n]);for(var r=0,o=e.length;rn.oldScroll,o=r?n.forward:n.backward;for(var s in this.waypoints[i]){var a=this.waypoints[i][s],l=n.oldScroll=a.triggerPoint,c=l&&u,h=!l&&!u;(c||h)&&(a.queueTrigger(o),t[a.group.id]=a.group)}}for(var p in t)t[p].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?r.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?r.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var n=0,r=t.length;n-1&&(f=Math.ceil(s.contextDimension*f/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=g+l-f,u=m=s.oldScroll,h=u&&c,p=!u&&!c,!v&&h?(d.queueTrigger(s.backward),n[d.group.id]=d.group):!v&&p?(d.queueTrigger(s.forward),n[d.group.id]=d.group):v&&s.oldScroll>=d.triggerPoint&&(d.queueTrigger(s.forward),n[d.group.id]=d.group)}}return r.requestAnimationFrame(function(){for(var t in n)n[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in n)n[t].refresh()},e.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){o&&o(),e.refreshAll()},r.requestAnimationFrame=function(e){var i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t;i.call(window,e)},r.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}var n={vertical:{},horizontal:{}},r=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var n=this.triggerQueues[i],r="up"===i||"left"===i;n.sort(r?e:t);for(var o=0,s=n.length;o-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return n[t.axis][t.name]||new i(t)},r.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(i,n){t[n]=e[n]}),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],n=arguments[0];return t.isFunction(arguments[0])&&(n=t.extend({},arguments[1]),n.handler=arguments[0]),this.each(function(){var r=t.extend({},n,{element:this});"string"==typeof r.context&&(r.context=t(this).closest(r.context)[0]),i.push(new e(r))}),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}();var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var n=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},r=function(t,e,n){i.call(this,t,e,n),this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=r.prototype.render},o=1e-10,s=i._internals,a=s.isSelector,l=s.isArray,u=r.prototype=i.to({},.1,{}),c=[];r.version="1.17.0",u.constructor=r,u.kill()._gc=!1,r.killTweensOf=r.killDelayedCallsTo=i.killTweensOf, r.getTweensOf=i.getTweensOf,r.lagSmoothing=i.lagSmoothing,r.ticker=i.ticker,r.render=i.render,u.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),i.prototype.invalidate.call(this)},u.updateTo=function(t,e){var n,r=this.ratio,o=this.vars.immediateRender||t.immediateRender;e&&this._startTime.998){var s=this._time;this.render(0,!0,!1),this._initted=!1,this.render(s,!0,!1)}else if(this._time>0||o){this._initted=!1,this._init();for(var a,l=1/(1-r),u=this._firstPT;u;)a=u.s+u.c,u.c*=l,u.s=a-u.c,u=u._next}return this},u.render=function(t,e,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,r,a,l,u,c,h,p,d=this._dirty?this.totalDuration():this._totalDuration,f=this._time,m=this._totalTime,g=this._cycle,v=this._duration,_=this._rawPrevTime;if(t>=d?(this._totalTime=d,this._cycle=this._repeat,this._yoyo&&0!==(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=v,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(n=!0,r="onComplete",i=i||this._timeline.autoRemoveChildren),0===v&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0===t||_<0||_===o)&&_!==t&&(i=!0,_>o&&(r="onReverseComplete")),this._rawPrevTime=p=!e||t||_===t?t:o)):t<1e-7?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==m||0===v&&_>0)&&(r="onReverseComplete",n=this._reversed),t<0&&(this._active=!1,0===v&&(this._initted||!this.vars.lazy||i)&&(_>=0&&(i=!0),this._rawPrevTime=p=!e||t||_===t?t:o)),this._initted||(i=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=v+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!==(1&this._cycle)&&(this._time=v-this._time),this._time>v?this._time=v:this._time<0&&(this._time=0)),this._easeType?(u=this._time/v,c=this._easeType,h=this._easePower,(1===c||3===c&&u>=.5)&&(u=1-u),3===c&&(u*=2),1===h?u*=u:2===h?u*=u*u:3===h?u*=u*u*u:4===h&&(u*=u*u*u*u),1===c?this.ratio=1-u:2===c?this.ratio=u:this._time/v<.5?this.ratio=u/2:this.ratio=1-u/2):this.ratio=this._ease.getRatio(this._time/v)),f===this._time&&!i&&g===this._cycle)return void(m!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate")));if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=f,this._totalTime=m,this._rawPrevTime=_,this._cycle=g,s.lazyTweens.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/v):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==f&&t>=0&&(this._active=!0),0===m&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,e,i):r||(r="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==v||e||this._callback("onStart"))),a=this._firstPT;a;)a.f?a.t[a.p](a.c*this.ratio+a.s):a.t[a.p]=a.c*this.ratio+a.s,a=a._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,e,i),e||(this._totalTime!==m||n)&&this._callback("onUpdate")),this._cycle!==g&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),r&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===v&&this._rawPrevTime===o&&p!==o&&(this._rawPrevTime=0)))},r.to=function(t,e,i){return new r(t,e,i)},r.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new r(t,e,i)},r.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new r(t,e,n)},r.staggerTo=r.allTo=function(t,e,o,s,u,h,p){s=s||0;var d,f,m,g,v=o.delay||0,_=[],y=function(){o.onComplete&&o.onComplete.apply(o.onCompleteScope||this,arguments),u.apply(p||o.callbackScope||this,h||c)};for(l(t)||("string"==typeof t&&(t=i.selector(t)||t),a(t)&&(t=n(t))),t=t||[],s<0&&(t=n(t),t.reverse(),s*=-1),d=t.length-1,m=0;m<=d;m++){f={};for(g in o)f[g]=o[g];f.delay=v,m===d&&u&&(f.onComplete=y),_[m]=new r(t[m],e,f),v+=s}return _},r.staggerFrom=r.allFrom=function(t,e,i,n,o,s,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,r.staggerTo(t,e,i,n,o,s,a)},r.staggerFromTo=r.allFromTo=function(t,e,i,n,o,s,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,r.staggerTo(t,e,n,o,s,a,l)},r.delayedCall=function(t,e,i,n,o){return new r(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:o,overwrite:0})},r.set=function(t,e){return new r(t,0,e)},r.isTweening=function(t){return i.getTweensOf(t,!0).length>0};var h=function(t,e){for(var n=[],r=0,o=t._first;o;)o instanceof i?n[r++]=o:(e&&(n[r++]=o),n=n.concat(h(o,e)),r=n.length),o=o._next;return n},p=r.getAllTweens=function(e){return h(t._rootTimeline,e).concat(h(t._rootFramesTimeline,e))};r.killAll=function(t,i,n,r){null==i&&(i=!0),null==n&&(n=!0);var o,s,a,l=p(0!=r),u=l.length,c=i&&n&&r;for(a=0;a-1;)r.killChildTweensOf(t[h],e);else{o=[];for(c in d)for(u=d[c].target.parentNode;u;)u===t&&(o=o.concat(d[c].tweens)),u=u.parentNode;for(p=o.length,h=0;h-1;)s=a[u],(l||s instanceof e||(o=s.target===s.vars.onComplete)&&n||i&&!o)&&s.paused(t)};return r.pauseAll=function(t,e,i){d(!0,t,e,i)},r.resumeAll=function(t,e,i){d(!1,t,e,i)},r.globalTimeScale=function(e){var n=t._rootTimeline,r=i.ticker.time;return arguments.length?(e=e||o,n._startTime=r-(r-n._startTime)*n._timeScale/e,n=t._rootFramesTimeline,r=i.ticker.frame,n._startTime=r-(r-n._startTime)*n._timeScale/e,n._timeScale=t._rootTimeline._timeScale=e,e):n._timeScale},u.progress=function(t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},u.totalProgress=function(t){return arguments.length?this.totalTime(this.totalDuration()*t,!1):this._totalTime/this.totalDuration()},u.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!==(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},u.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},u.totalDuration=function(t){return arguments.length?this._repeat===-1?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=this._repeat===-1?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},u.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},u.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},u.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},r},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var n=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var i,n,r=this.vars;for(n in r)i=r[n],l(i)&&i.join("").indexOf("{self}")!==-1&&(r[n]=this._swapSelfInParams(i));l(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},r=1e-10,o=i._internals,s=n._internals={},a=o.isSelector,l=o.isArray,u=o.lazyTweens,c=o.lazyRender,h=[],p=_gsScope._gsDefine.globals,d=function(t){var e,i={};for(e in t)i[e]=t[e];return i},f=s.pauseCallback=function(t,e,i,n){var o,s=t._timeline,a=s._totalTime,l=t._startTime,u=t._rawPrevTime<0||0===t._rawPrevTime&&s._reversed,c=u?0:r,p=u?r:0;if(e||!this._forcingPlayhead){for(s.pause(l),o=t._prev;o&&o._startTime===l;)o._rawPrevTime=p,o=o._prev;for(o=t._next;o&&o._startTime===l;)o._rawPrevTime=c,o=o._next;e&&e.apply(n||s.vars.callbackScope||s,i||h),!this._forcingPlayhead&&s._paused||s.seek(a)}},m=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},g=n.prototype=new e;return n.version="1.17.0",g.constructor=n,g.kill()._gc=g._forcingPlayhead=!1,g.to=function(t,e,n,r){var o=n.repeat&&p.TweenMax||i;return e?this.add(new o(t,e,n),r):this.set(t,n,r)},g.from=function(t,e,n,r){return this.add((n.repeat&&p.TweenMax||i).from(t,e,n),r)},g.fromTo=function(t,e,n,r,o){var s=r.repeat&&p.TweenMax||i;return e?this.add(s.fromTo(t,e,n,r),o):this.set(t,r,o)},g.staggerTo=function(t,e,r,o,s,l,u,c){var h,p=new n({onComplete:l,onCompleteParams:u,callbackScope:c,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=i.selector(t)||t),t=t||[],a(t)&&(t=m(t)),o=o||0,o<0&&(t=m(t),t.reverse(),o*=-1),h=0;hr._startTime;d._timeline;)f&&d._timeline.smoothChildTiming?d.totalTime(d._totalTime,!0):d._gc&&d._enabled(!0,!1),d=d._timeline;return this},g.remove=function(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array||e&&e.push&&l(e)){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},g._remove=function(t,i){e.prototype._remove.call(this,t,i);var n=this._last;return n?this._time>n._startTime+n._totalDuration/n._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},g.insert=g.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},g.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,n,r){var o=i.delayedCall(0,f,["{self}",e,n,r],this);return o.data="isPause",this.add(o,t)},g.removeLabel=function(t){return delete this._labels[t],this},g.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},g._parseTimeOrLabel=function(e,i,n,r){var o;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&l(r)))for(o=r.length;--o>-1;)r[o]instanceof t&&r[o].timeline===this&&this.remove(r[o]);if("string"==typeof i)return this._parseTimeOrLabel(i,n&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,n);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(o=e.indexOf("="),o===-1)return null==this._labels[e]?n?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(o-1)+"1",10)*Number(e.substr(o+1)),e=o>1?this._parseTimeOrLabel(e.substr(0,o-1),0,n):this.duration()}return Number(e)+i},g.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),e!==!1)},g.stop=function(){return this.paused(!0)},g.gotoAndPlay=function(t,e){return this.play(t,e)},g.gotoAndStop=function(t,e){return this.pause(t,e)},g.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,o,s,a,l,h=this._dirty?this.totalDuration():this._totalDuration,p=this._time,d=this._startTime,f=this._timeScale,m=this._paused;if(t>=h)this._totalTime=this._time=h,this._reversed||this._hasPausedChild()||(o=!0,a="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(0===t||this._rawPrevTime<0||this._rawPrevTime===r)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>r&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,t=h+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==p||0===this._duration&&this._rawPrevTime!==r&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(a="onReverseComplete",o=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=o=!0,a="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,0===t&&o)for(n=this._first;n&&0===n._startTime;)n._duration||(o=!1),n=n._next;t=0,this._initted||(l=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==p&&this._first||i||l){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==p&&t>0&&(this._active=!0),0===p&&this.vars.onStart&&0!==this._time&&(e||this._callback("onStart")),this._time>=p)for(n=this._first;n&&(s=n._next,!this._paused||m);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=s;else for(n=this._last;n&&(s=n._prev,!this._paused||m);)(n._active||n._startTime<=p&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=s;this._onUpdate&&(e||(u.length&&c(),this._callback("onUpdate"))),a&&(this._gc||d!==this._startTime&&f===this._timeScale||(0===this._time||h>=this.totalDuration())&&(o&&(u.length&&c(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof n&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,n,r){r=r||-9999999999;for(var o=[],s=this._first,a=0;s;)s._startTime-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(s[a++]=n[r]);return o&&this._enabled(!1,!0),s},g.recent=function(){return this._recent},g._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},g.shiftChildren=function(t,e,i){i=i||0;for(var n,r=this._first,o=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(n in o)o[n]>=i&&(o[n]+=t);return this._uncache(!0)},g._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,r=!1;--n>-1;)i[n]._kill(t,e)&&(r=!0);return r},g.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return t!==!1&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},g._enabled=function(t,i){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return e.prototype._enabled.call(this,t,i)},g.totalTime=function(e,i,n){this._forcingPlayhead=!0;var r=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},g.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,n=0,r=this._last,o=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>o&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):o=r._startTime,r._startTime<0&&!r._paused&&(n-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),o=0),i=r._startTime+r._totalDuration/r._timeScale,i>n&&(n=i),r=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this},g.paused=function(e){if(!e)for(var i=this._first,n=this._time;i;)i._startTime===n&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},g.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},g.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},n},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,e,i){var n=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},r=1e-10,o=e._internals,s=o.lazyTweens,a=o.lazyRender,l=new i(null,null,1,0),u=n.prototype=new t;return u.constructor=n,u.kill()._gc=!1,n.version="1.17.0",u.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},u.addCallback=function(t,i,n,r){return this.add(e.delayedCall(0,t,n,r),i)},u.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,r=this._parseTimeOrLabel(e);--n>-1;)i[n]._startTime===r&&i[n]._enabled(!1,!1);return this},u.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},u.tweenTo=function(t,i){i=i||{};var n,r,o,s={ease:l,useFrames:this.usesFrames(),immediateRender:!1};for(r in i)s[r]=i[r];return s.time=this._parseTimeOrLabel(t),n=Math.abs(Number(s.time)-this._time)/this._timeScale||.001,o=new e(this,n,s),s.onStart=function(){o.target.paused(!0),o.vars.time!==o.target.time()&&n===o.duration()&&o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale),i.onStart&&o._callback("onStart")},o},u.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=i.immediateRender!==!1;var n=this.tweenTo(e,i);return n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},u.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,o,l,u,c,h,p=this._dirty?this.totalDuration():this._totalDuration,d=this._duration,f=this._time,m=this._totalTime,g=this._startTime,v=this._timeScale,_=this._rawPrevTime,y=this._paused,w=this._cycle;if(t>=p)this._locked||(this._totalTime=p,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(o=!0,u="onComplete",c=!!this._timeline.autoRemoveChildren,0===this._duration&&(0===t||_<0||_===r)&&_!==t&&this._first&&(c=!0,_>r&&(u="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,this._yoyo&&0!==(1&this._cycle)?this._time=t=0:(this._time=d,t=d+1e-4);else if(t<1e-7)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==f||0===d&&_!==r&&(_>0||t<0&&_>=0)&&!this._locked)&&(u="onReverseComplete",o=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(c=o=!0,u="onReverseComplete"):_>=0&&this._first&&(c=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=d||!e||t||this._rawPrevTime===t?t:r,0===t&&o)for(n=this._first;n&&0===n._startTime;)n._duration||(o=!1),n=n._next;t=0,this._initted||(c=!0)}else 0===d&&_<0&&(c=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(h=d+this._repeatDelay,this._cycle=this._totalTime/h>>0,0!==this._cycle&&this._cycle===this._totalTime/h&&this._cycle--,this._time=this._totalTime-this._cycle*h,this._yoyo&&0!==(1&this._cycle)&&(this._time=d-this._time),this._time>d?(this._time=d,t=d+1e-4):this._time<0?this._time=t=0:t=this._time));if(this._cycle!==w&&!this._locked){var b=this._yoyo&&0!==(1&w),x=b===(this._yoyo&&0!==(1&this._cycle)),T=this._totalTime,C=this._cycle,S=this._rawPrevTime,k=this._time;if(this._totalTime=w*d,this._cycle0&&(this._active=!0),0===m&&this.vars.onStart&&0!==this._totalTime&&(e||this._callback("onStart")),this._time>=f)for(n=this._first;n&&(l=n._next,!this._paused||y);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=l;else for(n=this._last;n&&(l=n._prev,!this._paused||y);)(n._active||n._startTime<=f&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=l;this._onUpdate&&(e||(s.length&&a(),this._callback("onUpdate"))),u&&(this._locked||this._gc||g!==this._startTime&&v===this._timeScale||(0===this._time||p>=this.totalDuration())&&(o&&(s.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[u]&&this._callback(u)))},u.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var n,r,o=[],s=this.getChildren(t,e,i),a=0,l=s.length;for(n=0;nt)return i[e].name;return null},u.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].timethis._duration&&(t=this._duration),this._yoyo&&0!==(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},u.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},u.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},u.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},u.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},n},!0),function(){var t=180/Math.PI,e=[],i=[],n=[],r={},o=_gsScope._gsDefine.globals,s=function(t,e,i,n){this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t},a=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",l=function(t,e,i,n){var r={a:t},o={},s={},a={c:n},l=(t+e)/2,u=(e+i)/2,c=(i+n)/2,h=(l+u)/2,p=(u+c)/2,d=(p-h)/8;return r.b=l+(t-l)/4,o.b=h+d,r.c=o.a=(r.b+o.b)/2,o.c=s.a=(h+p)/2,s.b=p-d,a.b=c+(n-c)/4,s.c=a.a=(s.b+a.b)/2,[r,o,s,a]},u=function(t,r,o,s,a){var u,c,h,p,d,f,m,g,v,_,y,w,b,x=t.length-1,T=0,C=t[0].a;for(u=0;u-1;)"string"==typeof(p=t[l][n])&&"="===p.charAt(1)&&(t[l][n]=o[n]+Number(p.charAt(0)+p.substr(2)));if(a=t.length-2,a<0)return d[0]=new s(t[0][n],0,0,t[a<-1?0:1][n]),d;for(l=0;l1){for(w=t[t.length-1],y=!0,d=x.length;--d>-1;)if(f=x[d],Math.abs(T[f]-w[f])>.05){y=!1;break}y&&(t=t.concat(),p&&t.unshift(p),t.push(t[1]),p=t[t.length-3])}for(e.length=i.length=n.length=0,d=x.length;--d>-1;)f=x[d],r[f]=h.indexOf(","+f+",")!==-1,b[f]=c(t,f,r[f],p);for(d=e.length;--d>-1;)e[d]=Math.sqrt(e[d]),i[d]=Math.sqrt(i[d]);if(!l){for(d=x.length;--d>-1;)if(r[f])for(m=b[x[d]],_=m.length-1,g=0;g<_;g++)v=m[g+1].da/i[g]+m[g].da/e[g],n[g]=(n[g]||0)+v*v;for(d=n.length;--d>-1;)n[d]=Math.sqrt(n[d])}for(d=x.length,g=s?4:1;--d>-1;)f=x[d],m=b[f],u(m,o,s,l,r[f]),y&&(m.splice(0,g),m.splice(m.length-g,g));return b},p=function(t,e,i){e=e||"soft";var n,r,o,a,l,u,c,h,p,d,f,m={},g="cubic"===e?3:2,v="soft"===e,_=[];if(v&&i&&(t=[i].concat(t)),null==t||t.length-1;){for(p=_[u],m[p]=l=[],d=0,h=t.length,c=0;c1&&c-1;)for(p=t[m],o=p.a,s=p.d-o,a=p.c-o,l=p.b-o,n=r=0,c=1;c<=i;c++)u=f*c,h=1-u,n=r-(r=(u*u*s+3*h*(u*a+h*l))*u),d=m*i+c-1,e[d]=(e[d]||0)+n*n},f=function(t,e){e=e>>0||6;var i,n,r,o,s=[],a=[],l=0,u=0,c=e-1,h=[],p=[];for(i in t)d(t[i],s,e);for(r=s.length,n=0;n>0,h[o]=p,a[o]=u,l=0,p=[]);return{length:u,lengths:a,segments:h}},m=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.4",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._round={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var n,r,o,s,a,l=e.values||[],u={},c=l[0],d=e.autoRotate||i.vars.orientToBezier;this._autoRotate=d?d instanceof Array?d:[["x","y","rotation",d===!0?0:Number(d)||0]]:null;for(n in c)this._props.push(n);for(o=this._props.length;--o>-1;)n=this._props[o],this._overwriteProps.push(n),r=this._func[n]="function"==typeof t[n],u[n]=r?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(t[n]),a||u[n]!==l[0][n]&&(a=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?h(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):p(l,e.type,u),this._segCount=this._beziers[n].length,this._timeRes){var m=f(this._beziers,this._timeRes);this._length=m.length,this._lengths=m.lengths,this._segments=m.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(d=this._autoRotate)for(this._initialRotations=[],d[0]instanceof Array||(this._autoRotate=d=[d]),o=d.length;--o>-1;){for(s=0;s<3;s++)n=d[o][s],this._func[n]="function"==typeof t[n]&&t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)];n=d[o][2],this._initialRotations[o]=this._func[n]?this._func[n].call(this._target):this._target[n]}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var i,n,r,o,s,a,l,u,c,h,p=this._segCount,d=this._func,f=this._target,m=e!==this._startRatio;if(this._timeRes){if(c=this._lengths,h=this._curSeg,e*=this._length,r=this._li,e>this._l2&&r0){for(;r>0&&(this._l1=c[--r])>=e;);0===r&&ethis._s2&&r0){for(;r>0&&(this._s1=h[--r])>=e;);0===r&&e=1?p-1:p*e>>0,a=(e-i*(1/p))*p;for(n=1-a,r=this._props.length;--r>-1;)o=this._props[r],s=this._beziers[o][i],l=(a*a*s.da+3*n*(a*s.ca+n*s.ba))*a+s.a,this._round[o]&&(l=Math.round(l)),d[o]?f[o](l):f[o]=l;if(this._autoRotate){ var g,v,_,y,w,b,x,T=this._autoRotate;for(r=T.length;--r>-1;)o=T[r][2],b=T[r][3]||0,x=T[r][4]===!0?1:t,s=this._beziers[T[r][0]],g=this._beziers[T[r][1]],s&&g&&(s=s[i],g=g[i],v=s.a+(s.b-s.a)*a,y=s.b+(s.c-s.b)*a,v+=(y-v)*a,y+=(s.c+(s.d-s.c)*a-y)*a,_=g.a+(g.b-g.a)*a,w=g.b+(g.c-g.b)*a,_+=(w-_)*a,w+=(g.c+(g.d-g.c)*a-w)*a,l=m?Math.atan2(w-_,y-v)*x+b:this._initialRotations[r],d[o]?f[o](l):f[o]=l)}}}),g=m.prototype;m.bezierThrough=h,m.cubicToQuadratic=l,m._autoCSS=!0,m.quadraticToCubic=function(t,e,i){return new s(t,(2*e+t)/3,(2*e+i)/3,i)},m._cssRegister=function(){var t=o.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,n=e._setPluginRatio,r=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,o,s,a,l){e instanceof Array&&(e={values:e}),l=new m;var u,c,h,p=e.values,d=p.length-1,f=[],g={};if(d<0)return a;for(u=0;u<=d;u++)h=i(t,p[u],s,a,l,d!==u),f[u]=h.end;for(c in e)g[c]=e[c];return g.values=f,a=new r(t,"bezier",0,0,h.pt,2),a.data=h,a.plugin=l,a.setRatio=n,0===g.autoRotate&&(g.autoRotate=!0),!g.autoRotate||g.autoRotate instanceof Array||(u=g.autoRotate===!0?0:Number(g.autoRotate),g.autoRotate=null!=h.end.left?[["left","top","rotation",u,!1]]:null!=h.end.x&&[["x","y","rotation",u,!1]]),g.autoRotate&&(s._transform||s._enableTransforms(!1),h.autoRotate=s._target._gsTransform),l._onInitTween(h.proxy,g,s._tween),a}})}},g._roundProps=function(t,e){for(var i=this._overwriteProps,n=i.length;--n>-1;)(t[i[n]]||t.bezier||t.bezierThrough)&&(this._round[i[n]]=e)},g._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=n.length;--i>-1;)n[i]===e&&n.splice(i,1);return this._super._kill.call(this,t)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,n,r,o,s=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=s.prototype.setRatio},a=_gsScope._gsDefine.globals,l={},u=s.prototype=new t("css");u.constructor=s,s.version="1.17.0",s.API=2,s.defaultTransformPerspective=0,s.defaultSkewType="compensated",s.defaultSmoothOrigin=!0,u="px",s.suffixMap={top:u,right:u,bottom:u,left:u,width:u,height:u,fontSize:u,padding:u,margin:u,perspective:u,lineHeight:""};var c,h,p,d,f,m,g=/(?:\d|\-\d|\.\d|\-\.\d)+/g,v=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,_=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,y=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,b=/opacity *= *([^)]*)/i,x=/opacity:([^;]*)/i,T=/alpha\(opacity *=.+?\)/i,C=/^(rgb|hsl)/,S=/([A-Z])/g,k=/-([a-z])/gi,A=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,P=function(t,e){return e.toUpperCase()},O=/(?:Left|Right|Width)/i,N=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,E=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,R=/,(?=[^\)]*(?:\(|$))/gi,D=Math.PI/180,$=180/Math.PI,I={},z=document,M=function(t){return z.createElementNS?z.createElementNS("http://www.w3.org/1999/xhtml",t):z.createElement(t)},j=M("div"),L=M("img"),F=s._internals={_specialProps:l},q=navigator.userAgent,H=function(){var t=q.indexOf("Android"),e=M("a");return p=q.indexOf("Safari")!==-1&&q.indexOf("Chrome")===-1&&(t===-1||Number(q.substr(t+8,1))>3),f=p&&Number(q.substr(q.indexOf("Version/")+8,1))<6,d=q.indexOf("Firefox")!==-1,(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(q)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(q))&&(m=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),B=function(t){return b.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},W=function(t){window.console&&console.log(t)},X="",U="",Y=function(t,e){e=e||j;var i,n,r=e.style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===r[i[n]+t];);return n>=0?(U=3===n?"ms":i[n],X="-"+U.toLowerCase()+"-",U+t):null},Q=z.defaultView?z.defaultView.getComputedStyle:function(){},V=s.getStyle=function(t,e,i,n,r){var o;return H||"opacity"!==e?(!n&&t.style[e]?o=t.style[e]:(i=i||Q(t))?o=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(S,"-$1").toLowerCase()):t.currentStyle&&(o=t.currentStyle[e]),null==r||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:r):B(t)},Z=F.convertToPixels=function(t,i,n,r,o){if("px"===r||!r)return n;if("auto"===r||!n)return 0;var a,l,u,c=O.test(i),h=t,p=j.style,d=n<0;if(d&&(n=-n),"%"===r&&i.indexOf("border")!==-1)a=n/100*(c?t.clientWidth:t.clientHeight);else{if(p.cssText="border:0 solid red;position:"+V(t,"position")+";line-height:0;","%"!==r&&h.appendChild)p[c?"borderLeftWidth":"borderTopWidth"]=n+r;else{if(h=t.parentNode||z.body,l=h._gsCache,u=e.ticker.frame,l&&c&&l.time===u)return l.width*n/100;p[c?"width":"height"]=n+r}h.appendChild(j),a=parseFloat(j[c?"offsetWidth":"offsetHeight"]),h.removeChild(j),c&&"%"===r&&s.cacheWidths!==!1&&(l=h._gsCache=h._gsCache||{},l.time=u,l.width=a/n*100),0!==a||o||(a=Z(t,i,n,r,!0))}return d?-a:a},G=F.calculateOffset=function(t,e,i){if("absolute"!==V(t,"position",i))return 0;var n="left"===e?"Left":"Top",r=V(t,"margin"+n,i);return t["offset"+n]-(Z(t,e,parseFloat(r),r.replace(w,""))||0)},K=function(t,e){var i,n,r,o={};if(e=e||Q(t,null))if(i=e.length)for(;--i>-1;)r=e[i],r.indexOf("-transform")!==-1&&Ct!==r||(o[r.replace(k,P)]=e.getPropertyValue(r));else for(i in e)i.indexOf("Transform")!==-1&&Tt!==i||(o[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===o[i]&&(o[i.replace(k,P)]=e[i]);return H||(o.opacity=B(t)),n=zt(t,e,!1),o.rotation=n.rotation,o.skewX=n.skewX,o.scaleX=n.scaleX,o.scaleY=n.scaleY,o.x=n.x,o.y=n.y,kt&&(o.z=n.z,o.rotationX=n.rotationX,o.rotationY=n.rotationY,o.scaleZ=n.scaleZ),o.filters&&delete o.filters,o},J=function(t,e,i,n,r){var o,s,a,l={},u=t.style;for(s in i)"cssText"!==s&&"length"!==s&&isNaN(s)&&(e[s]!==(o=i[s])||r&&r[s])&&s.indexOf("Origin")===-1&&("number"!=typeof o&&"string"!=typeof o||(l[s]="auto"!==o||"left"!==s&&"top"!==s?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[s]||""===e[s].replace(y,"")?o:0:G(t,s),void 0!==u[s]&&(a=new dt(u,s,u[s],a))));if(n)for(s in n)"className"!==s&&(l[s]=n[s]);return{difs:l,firstMPT:a}},tt={width:["Left","Right"],height:["Top","Bottom"]},et=["marginLeft","marginRight","marginTop","marginBottom"],it=function(t,e,i){var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=tt[e],o=r.length;for(i=i||Q(t,null);--o>-1;)n-=parseFloat(V(t,"padding"+r[o],i,!0))||0,n-=parseFloat(V(t,"border"+r[o]+"Width",i,!0))||0;return n},nt=function(t,e){null!=t&&""!==t&&"auto"!==t&&"auto auto"!==t||(t="0 0");var i=t.split(" "),n=t.indexOf("left")!==-1?"0%":t.indexOf("right")!==-1?"100%":i[0],r=t.indexOf("top")!==-1?"0%":t.indexOf("bottom")!==-1?"100%":i[1];return null==r?r="center"===n?"50%":"0":"center"===r&&(r="50%"),("center"===n||isNaN(parseFloat(n))&&(n+"").indexOf("=")===-1)&&(n="50%"),t=n+" "+r+(i.length>2?" "+i[2]:""),e&&(e.oxp=n.indexOf("%")!==-1,e.oyp=r.indexOf("%")!==-1,e.oxr="="===n.charAt(1),e.oyr="="===r.charAt(1),e.ox=parseFloat(n.replace(y,"")),e.oy=parseFloat(r.replace(y,"")),e.v=t),e||t},rt=function(t,e){return"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)},ot=function(t,e){return null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)},st=function(t,e,i,n){var r,o,s,a,l,u=1e-6;return null==t?a=e:"number"==typeof t?a=t:(r=360,o=t.split("_"),l="="===t.charAt(1),s=(l?parseInt(t.charAt(0)+"1",10)*parseFloat(o[0].substr(2)):parseFloat(o[0]))*(t.indexOf("rad")===-1?1:$)-(l?0:e),o.length&&(n&&(n[i]=e+s),t.indexOf("short")!==-1&&(s%=r,s!==s%(r/2)&&(s=s<0?s+r:s-r)),t.indexOf("_cw")!==-1&&s<0?s=(s+9999999999*r)%r-(s/r|0)*r:t.indexOf("ccw")!==-1&&s>0&&(s=(s-9999999999*r)%r-(s/r|0)*r)),a=e+s),a-u&&(a=0),a},at={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},lt=function(t,e,i){return t=t<0?t+1:t>1?t-1:t,255*(6*t<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)+.5|0},ut=s.parseColor=function(t){var e,i,n,r,o,s;return t&&""!==t?"number"==typeof t?[t>>16,t>>8&255,255&t]:(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),at[t]?at[t]:"#"===t.charAt(0)?(4===t.length&&(e=t.charAt(1),i=t.charAt(2),n=t.charAt(3),t="#"+e+e+i+i+n+n),t=parseInt(t.substr(1),16),[t>>16,t>>8&255,255&t]):"hsl"===t.substr(0,3)?(t=t.match(g),r=Number(t[0])%360/360,o=Number(t[1])/100,s=Number(t[2])/100,i=s<=.5?s*(o+1):s+o-s*o,e=2*s-i,t.length>3&&(t[3]=Number(t[3])),t[0]=lt(r+1/3,e,i),t[1]=lt(r,e,i),t[2]=lt(r-1/3,e,i),t):(t=t.match(g)||at.transparent,t[0]=Number(t[0]),t[1]=Number(t[1]),t[2]=Number(t[2]),t.length>3&&(t[3]=Number(t[3])),t)):at.black},ct="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(u in at)ct+="|"+u+"\\b";ct=new RegExp(ct+")","gi");var ht=function(t,e,i,n){if(null==t)return function(t){return t};var r,o=e?(t.match(ct)||[""])[0]:"",s=t.split(o).join("").match(_)||[],a=t.substr(0,t.indexOf(s[0])),l=")"===t.charAt(t.length-1)?")":"",u=t.indexOf(" ")!==-1?" ":",",c=s.length,h=c>0?s[0].replace(g,""):"";return c?r=e?function(t){var e,p,d,f;if("number"==typeof t)t+=h;else if(n&&R.test(t)){for(f=t.replace(R,"|").split("|"),d=0;dd--)for(;++dp--)for(;++p>0];return r.parse(e,a,o,s)}},dt=(F._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,r,o=this.data,s=o.proxy,a=o.firstMPT,l=1e-6;a;)e=s[a.v],a.r?e=Math.round(e):e-l&&(e=0),a.t[a.p]=e,a=a._next;if(o.autoRotate&&(o.autoRotate.rotation=s.rotation),1===t)for(a=o.firstMPT;a;){if(i=a.t,i.type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,n=1;n0;)l="xn"+s,a=n.p+"_"+l,d[a]=n.data[l],p[a]=n[l],o||(u=new dt(n,l,a,u,n.rxp[l]));n=n._next}return{proxy:p,end:d,firstMPT:u,pt:c}},F.CSSPropTween=function(t,e,n,r,s,a,l,u,c,h,p){this.t=t,this.p=e,this.s=n,this.c=r,this.n=l||e,t instanceof ft||o.push(this.n),this.r=u,this.type=a||0,c&&(this.pr=c,i=!0),this.b=void 0===h?n:h,this.e=void 0===p?n+r:p,s&&(this._next=s,s._prev=this)}),mt=function(t,e,i,n,r,o){var s=new ft(t,e,i,n-i,r,(-1),o);return s.b=i,s.e=s.xs0=n,s},gt=s.parseComplex=function(t,e,i,n,r,o,s,a,l,u){i=i||o||"",s=new ft(t,e,0,0,s,u?2:1,null,(!1),a,i,n),n+="";var h,p,d,f,m,_,y,w,b,x,T,S,k=i.split(", ").join(",").split(" "),A=n.split(", ").join(",").split(" "),P=k.length,O=c!==!1;for(n.indexOf(",")===-1&&i.indexOf(",")===-1||(k=k.join(" ").replace(R,", ").split(" "),A=A.join(" ").replace(R,", ").split(" "),P=k.length),P!==A.length&&(k=(o||"").split(" "),P=k.length),s.plugin=l,s.setRatio=u,h=0;h6,b&&!H&&0===m[3]?(s["xs"+s.l]+=s.l?" transparent":"transparent",s.e=s.e.split(A[h]).join("transparent")):(H||(b=!1),s.appendXtra(b?"rgba(":"rgb(",f[0],m[0]-f[0],",",!0,!0).appendXtra("",f[1],m[1]-f[1],",",!0).appendXtra("",f[2],m[2]-f[2],b?",":S,!0),b&&(f=f.length<4?1:f[3],s.appendXtra("",f,(m.length<4?1:m[3])-f,S,!1)));else if(_=f.match(g)){if(y=m.match(v),!y||y.length!==_.length)return s;for(d=0,p=0;p<_.length;p++)T=_[p],x=f.indexOf(T,d),s.appendXtra(f.substr(d,x-d),Number(T),rt(y[p],T),"",O&&"px"===f.substr(x+T.length,2),0===p),d=x+T.length;s["xs"+s.l]+=f.substr(d)}else s["xs"+s.l]+=s.l?" "+f:f;if(n.indexOf("=")!==-1&&s.data){for(S=s.xs0+s.data.s,h=1;h0;)u["xn"+vt]=0,u["xs"+vt]="";u.xs0="",u._next=u._prev=u.xfirst=u.data=u.plugin=u.setRatio=u.rxp=null,u.appendXtra=function(t,e,i,n,r,o){var s=this,a=s.l;return s["xs"+a]+=o&&a?" "+t:t||"",i||0===a||s.plugin?(s.l++,s.type=s.setRatio?2:1,s["xs"+s.l]=n||"",a>0?(s.data["xn"+a]=e+i,s.rxp["xn"+a]=r,s["xn"+a]=e,s.plugin||(s.xfirst=new ft(s,"xn"+a,e,i,s.xfirst||s,0,s.n,r,s.pr),s.xfirst.xs0=0),s):(s.data={s:e+i},s.rxp={},s.s=e,s.c=i,s.r=r,s)):(s["xs"+a]+=e+(n||""),s)};var _t=function(t,e){e=e||{},this.p=e.prefix?Y(t)||t:t,l[t]=l[this.p]=this,this.format=e.formatter||ht(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},yt=F._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var n,r,o=t.split(","),s=e.defaultValue;for(i=i||[s],n=0;na.length?l.length:a.length,s=0;s-1;)o=Number(r[vt]),r[vt]=(s=o-(o|=0))?(s*l+(s<0?-.5:.5)|0)/l+o:o;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},zt=F.getTransform=function(t,i,n,o){if(t._gsTransform&&n&&!o)return t._gsTransform;var a,l,u,c,h,p,d=n?t._gsTransform||new At:new At,f=d.scaleX<0,m=2e-5,g=1e5,v=kt?parseFloat(V(t,St,i,!1,"0 0 0").split(" ")[2])||d.zOrigin||0:0,_=parseFloat(s.defaultTransformPerspective)||0;if(d.svg=!(!t.getBBox||!Dt(t)),d.svg&&(Rt(t,V(t,St,r,!1,"50% 50%")+"",d,t.getAttribute("data-svg-origin")),bt=s.useSVGTransformAttr||Et),a=It(t),a!==$t){if(16===a.length){var y,w,b,x,T,C=a[0],S=a[1],k=a[2],A=a[3],P=a[4],O=a[5],N=a[6],E=a[7],R=a[8],D=a[9],I=a[10],z=a[12],M=a[13],j=a[14],L=a[11],F=Math.atan2(N,I);d.zOrigin&&(j=-d.zOrigin,z=R*j-a[12],M=D*j-a[13],j=I*j+d.zOrigin-a[14]),d.rotationX=F*$,F&&(x=Math.cos(-F),T=Math.sin(-F),y=P*x+R*T,w=O*x+D*T,b=N*x+I*T,R=P*-T+R*x,D=O*-T+D*x,I=N*-T+I*x,L=E*-T+L*x,P=y,O=w,N=b),F=Math.atan2(R,I),d.rotationY=F*$,F&&(x=Math.cos(-F),T=Math.sin(-F),y=C*x-R*T,w=S*x-D*T,b=k*x-I*T,D=S*T+D*x,I=k*T+I*x,L=A*T+L*x,C=y,S=w,k=b),F=Math.atan2(S,C),d.rotation=F*$,F&&(x=Math.cos(-F),T=Math.sin(-F),C=C*x+P*T,w=S*x+O*T,O=S*-T+O*x,N=k*-T+N*x,S=w),d.rotationX&&Math.abs(d.rotationX)+Math.abs(d.rotation)>359.9&&(d.rotationX=d.rotation=0,d.rotationY+=180),d.scaleX=(Math.sqrt(C*C+S*S)*g+.5|0)/g,d.scaleY=(Math.sqrt(O*O+D*D)*g+.5|0)/g,d.scaleZ=(Math.sqrt(N*N+I*I)*g+.5|0)/g,d.skewX=0,d.perspective=L?1/(L<0?-L:L):0,d.x=z,d.y=M,d.z=j,d.svg&&(d.x-=d.xOrigin-(d.xOrigin*C-d.yOrigin*P),d.y-=d.yOrigin-(d.yOrigin*S-d.xOrigin*O))}else if((!kt||o||!a.length||d.x!==a[4]||d.y!==a[5]||!d.rotationX&&!d.rotationY)&&(void 0===d.x||"none"!==V(t,"display",i))){var q=a.length>=6,H=q?a[0]:1,B=a[1]||0,W=a[2]||0,X=q?a[3]:1;d.x=a[4]||0,d.y=a[5]||0,u=Math.sqrt(H*H+B*B),c=Math.sqrt(X*X+W*W),h=H||B?Math.atan2(B,H)*$:d.rotation||0,p=W||X?Math.atan2(W,X)*$+h:d.skewX||0,Math.abs(p)>90&&Math.abs(p)<270&&(f?(u*=-1,p+=h<=0?180:-180,h+=h<=0?180:-180):(c*=-1,p+=p<=0?180:-180)),d.scaleX=u,d.scaleY=c,d.rotation=h,d.skewX=p,kt&&(d.rotationX=d.rotationY=d.z=0,d.perspective=_,d.scaleZ=1),d.svg&&(d.x-=d.xOrigin-(d.xOrigin*H+d.yOrigin*W),d.y-=d.yOrigin-(d.xOrigin*B+d.yOrigin*X))}d.zOrigin=v;for(l in d)d[l]-m&&(d[l]=0)}return n&&(t._gsTransform=d,d.svg&&(bt&&t.style[Tt]?e.delayedCall(.001,function(){Ft(t.style,Tt)}):!bt&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),d},Mt=function(t){var e,i,n=this.data,r=-n.rotation*D,o=r+n.skewX*D,s=1e5,a=(Math.cos(r)*n.scaleX*s|0)/s,l=(Math.sin(r)*n.scaleX*s|0)/s,u=(Math.sin(o)*-n.scaleY*s|0)/s,c=(Math.cos(o)*n.scaleY*s|0)/s,h=this.t.style,p=this.t.currentStyle;if(p){i=l,l=-u,u=-i,e=p.filter,h.filter="";var d,f,g=this.t.offsetWidth,v=this.t.offsetHeight,_="absolute"!==p.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+l+", M21="+u+", M22="+c,x=n.x+g*n.xPercent/100,T=n.y+v*n.yPercent/100;if(null!=n.ox&&(d=(n.oxp?g*n.ox*.01:n.ox)-g/2,f=(n.oyp?v*n.oy*.01:n.oy)-v/2,x+=d-(d*a+f*l),T+=f-(d*u+f*c)),_?(d=g/2,f=v/2,y+=", Dx="+(d-(d*a+f*l)+x)+", Dy="+(f-(d*u+f*c)+T)+")"):y+=", sizingMethod='auto expand')",e.indexOf("DXImageTransform.Microsoft.Matrix(")!==-1?h.filter=e.replace(E,y):h.filter=y+" "+e,0!==t&&1!==t||1===a&&0===l&&0===u&&1===c&&(_&&y.indexOf("Dx=0, Dy=0")===-1||b.test(e)&&100!==parseFloat(RegExp.$1)||e.indexOf(e.indexOf("Alpha"))===-1&&h.removeAttribute("filter")),!_){var C,S,k,A=m<8?1:-1;for(d=n.ieOffsetX||0,f=n.ieOffsetY||0,n.ieOffsetX=Math.round((g-((a<0?-a:a)*g+(l<0?-l:l)*v))/2+x),n.ieOffsetY=Math.round((v-((c<0?-c:c)*v+(u<0?-u:u)*g))/2+T),vt=0;vt<4;vt++)S=et[vt],C=p[S],i=C.indexOf("px")!==-1?parseFloat(C):Z(this.t,S,parseFloat(C),C.replace(w,""))||0,k=i!==n[S]?vt<2?-n.ieOffsetX:-n.ieOffsetY:vt<2?d-n.ieOffsetX:f-n.ieOffsetY,h[S]=(n[S]=Math.round(i-k*(0===vt||2===vt?1:A)))+"px"}}},jt=F.set3DTransformRatio=F.setTransformRatio=function(t){var e,i,n,r,o,s,a,l,u,c,h,p,f,m,g,v,_,y,w,b,x,T,C,S=this.data,k=this.t.style,A=S.rotation,P=S.rotationX,O=S.rotationY,N=S.scaleX,E=S.scaleY,R=S.scaleZ,$=S.x,I=S.y,z=S.z,M=S.svg,j=S.perspective,L=S.force3D;if(((1===t||0===t)&&"auto"===L&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!L)&&!z&&!j&&!O&&!P||bt&&M||!kt)return void(A||S.skewX||M?(A*=D,T=S.skewX*D,C=1e5,e=Math.cos(A)*N,r=Math.sin(A)*N,i=Math.sin(A-T)*-E,o=Math.cos(A-T)*E,T&&"simple"===S.skewType&&(_=Math.tan(T),_=Math.sqrt(1+_*_),i*=_,o*=_,S.skewY&&(e*=_,r*=_)),M&&($+=S.xOrigin-(S.xOrigin*e+S.yOrigin*i)+S.xOffset,I+=S.yOrigin-(S.xOrigin*r+S.yOrigin*o)+S.yOffset,bt&&(S.xPercent||S.yPercent)&&(m=this.t.getBBox(),$+=.01*S.xPercent*m.width,I+=.01*S.yPercent*m.height),m=1e-6,$-m&&($=0),I-m&&(I=0)),w=(e*C|0)/C+","+(r*C|0)/C+","+(i*C|0)/C+","+(o*C|0)/C+","+$+","+I+")",M&&bt?this.t.setAttribute("transform","matrix("+w):k[Tt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+w):k[Tt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+N+",0,0,"+E+","+$+","+I+")");if(d&&(m=1e-4,N-m&&(N=R=2e-5),E-m&&(E=R=2e-5),!j||S.z||S.rotationX||S.rotationY||(j=0)),A||S.skewX)A*=D,g=e=Math.cos(A),v=r=Math.sin(A),S.skewX&&(A-=S.skewX*D,g=Math.cos(A),v=Math.sin(A),"simple"===S.skewType&&(_=Math.tan(S.skewX*D),_=Math.sqrt(1+_*_),g*=_,v*=_,S.skewY&&(e*=_,r*=_))),i=-v,o=g;else{if(!(O||P||1!==R||j||M))return void(k[Tt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) translate3d(":"translate3d(")+$+"px,"+I+"px,"+z+"px)"+(1!==N||1!==E?" scale("+N+","+E+")":""));e=o=1,i=r=0}u=1,n=s=a=l=c=h=0,p=j?-1/j:0,f=S.zOrigin,m=1e-6,b=",",x="0",A=O*D,A&&(g=Math.cos(A),v=Math.sin(A),a=-v,c=p*-v,n=e*v,s=r*v,u=g,p*=g,e*=g,r*=g),A=P*D,A&&(g=Math.cos(A),v=Math.sin(A),_=i*g+n*v,y=o*g+s*v,l=u*v,h=p*v,n=i*-v+n*g,s=o*-v+s*g,u*=g,p*=g,i=_,o=y),1!==R&&(n*=R,s*=R,u*=R,p*=R),1!==E&&(i*=E,o*=E,l*=E,h*=E),1!==N&&(e*=N,r*=N,a*=N,c*=N),(f||M)&&(f&&($+=n*-f,I+=s*-f,z+=u*-f+f),M&&($+=S.xOrigin-(S.xOrigin*e+S.yOrigin*i)+S.xOffset,I+=S.yOrigin-(S.xOrigin*r+S.yOrigin*o)+S.yOffset),$-m&&($=x),I-m&&(I=x),z-m&&(z=0)),w=S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix3d(":"matrix3d(",w+=(e-m?x:e)+b+(r-m?x:r)+b+(a-m?x:a),w+=b+(c-m?x:c)+b+(i-m?x:i)+b+(o-m?x:o),P||O?(w+=b+(l-m?x:l)+b+(h-m?x:h)+b+(n-m?x:n),w+=b+(s-m?x:s)+b+(u-m?x:u)+b+(p-m?x:p)+b):w+=",0,0,0,0,1,0,",w+=$+b+I+b+z+b+(j?1+-z/j:1)+")",k[Tt]=w};u=At.prototype,u.x=u.y=u.z=u.skewX=u.skewY=u.rotation=u.rotationX=u.rotationY=u.zOrigin=u.xPercent=u.yPercent=u.xOffset=u.yOffset=0,u.scaleX=u.scaleY=u.scaleZ=1,yt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,n,o,a,l){if(n._lastParsedTransform===l)return o;n._lastParsedTransform=l;var u,c,h,p,d,f,m,g,v,_=t._gsTransform,y=n._transform=zt(t,r,!0,l.parseTransform),w=t.style,b=1e-6,x=xt.length,T=l,C={},S="transformOrigin";if("string"==typeof T.transform&&Tt)h=j.style,h[Tt]=T.transform,h.display="block",h.position="absolute",z.body.appendChild(j),u=zt(j,null,!1),z.body.removeChild(j),null!=T.xPercent&&(u.xPercent=ot(T.xPercent,y.xPercent)),null!=T.yPercent&&(u.yPercent=ot(T.yPercent,y.yPercent));else if("object"==typeof T){if(u={scaleX:ot(null!=T.scaleX?T.scaleX:T.scale,y.scaleX),scaleY:ot(null!=T.scaleY?T.scaleY:T.scale,y.scaleY),scaleZ:ot(T.scaleZ,y.scaleZ),x:ot(T.x,y.x),y:ot(T.y,y.y),z:ot(T.z,y.z),xPercent:ot(T.xPercent,y.xPercent),yPercent:ot(T.yPercent,y.yPercent),perspective:ot(T.transformPerspective,y.perspective)},m=T.directionalRotation,null!=m)if("object"==typeof m)for(h in m)T[h]=m[h];else T.rotation=m;"string"==typeof T.x&&T.x.indexOf("%")!==-1&&(u.x=0,u.xPercent=ot(T.x,y.xPercent)),"string"==typeof T.y&&T.y.indexOf("%")!==-1&&(u.y=0,u.yPercent=ot(T.y,y.yPercent)),u.rotation=st("rotation"in T?T.rotation:"shortRotation"in T?T.shortRotation+"_short":"rotationZ"in T?T.rotationZ:y.rotation,y.rotation,"rotation",C),kt&&(u.rotationX=st("rotationX"in T?T.rotationX:"shortRotationX"in T?T.shortRotationX+"_short":y.rotationX||0,y.rotationX,"rotationX",C),u.rotationY=st("rotationY"in T?T.rotationY:"shortRotationY"in T?T.shortRotationY+"_short":y.rotationY||0,y.rotationY,"rotationY",C)),u.skewX=null==T.skewX?y.skewX:st(T.skewX,y.skewX),u.skewY=null==T.skewY?y.skewY:st(T.skewY,y.skewY),(c=u.skewY-y.skewY)&&(u.skewX+=c,u.rotation+=c)}for(kt&&null!=T.force3D&&(y.force3D=T.force3D,f=!0),y.skewType=T.skewType||y.skewType||s.defaultSkewType,d=y.force3D||y.z||y.rotationX||y.rotationY||u.z||u.rotationX||u.rotationY||u.perspective,d||null==T.scale||(u.scaleZ=1);--x>-1;)i=xt[x],p=u[i]-y[i],(p>b||p<-b||null!=T[i]||null!=I[i])&&(f=!0,o=new ft(y,i,y[i],p,o),i in C&&(o.e=C[i]),o.xs0=0,o.plugin=a,n._overwriteProps.push(o.n));return p=T.transformOrigin,y.svg&&(p||T.svgOrigin)&&(g=y.xOffset,v=y.yOffset,Rt(t,nt(p),u,T.svgOrigin,T.smoothOrigin),o=mt(y,"xOrigin",(_?y:u).xOrigin,u.xOrigin,o,S),o=mt(y,"yOrigin",(_?y:u).yOrigin,u.yOrigin,o,S),g===y.xOffset&&v===y.yOffset||(o=mt(y,"xOffset",_?g:y.xOffset,y.xOffset,o,S),o=mt(y,"yOffset",_?v:y.yOffset,y.yOffset,o,S)),p=bt?null:"0px 0px"),(p||kt&&d&&y.zOrigin)&&(Tt?(f=!0,i=St,p=(p||V(t,i,r,!1,"50% 50%"))+"",o=new ft(w,i,0,0,o,(-1),S),o.b=w[i],o.plugin=a,kt?(h=y.zOrigin,p=p.split(" "),y.zOrigin=(p.length>2&&(0===h||"0px"!==p[2])?parseFloat(p[2]):h)||0,o.xs0=o.e=p[0]+" "+(p[1]||"50%")+" 0px",o=new ft(y,"zOrigin",0,0,o,(-1),o.n),o.b=h,o.xs0=o.e=y.zOrigin):o.xs0=o.e=p):nt(p+"",y)),f&&(n._transformType=y.svg&&bt||!d&&3!==this._transformType?2:3),o},prefix:!0}),yt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),yt("borderRadius",{defaultValue:"0px",parser:function(t,e,i,o,s,a){e=this.format(e);var l,u,c,h,p,d,f,m,g,v,_,y,w,b,x,T,C=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(g=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),l=e.split(" "),u=0;u-1;)g=a[u],c=g.indexOf("%")!==-1,c!==(l[u].indexOf("%")!==-1)&&(h=0===u?t.offsetWidth-L.width:t.offsetHeight-L.height,a[u]=c?parseFloat(g)/100*h+"px":parseFloat(g)/h*100+"%");g=a.join(" ")}return this.parseComplex(t.style,g,v,o,s)},formatter:nt}),yt("backgroundSize",{defaultValue:"0 0",formatter:nt}),yt("perspective",{defaultValue:"0px",prefix:!0}),yt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),yt("transformStyle",{prefix:!0}),yt("backfaceVisibility",{prefix:!0}),yt("userSelect",{prefix:!0}),yt("margin",{parser:pt("marginTop,marginRight,marginBottom,marginLeft")}),yt("padding",{parser:pt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),yt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,o,s){var a,l,u;return m<9?(l=t.currentStyle,u=m<8?" ":",",a="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(a=this.format(V(t,this.p,r,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,o,s)}}),yt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),yt("autoRound,strictUnits",{parser:function(t,e,i,n,r){return r}}),yt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,o,s){return this.parseComplex(t.style,this.format(V(t,"borderTopWidth",r,!1,"0px")+" "+V(t,"borderTopStyle",r,!1,"solid")+" "+V(t,"borderTopColor",r,!1,"#000")),this.format(e),o,s)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(ct)||["#000"])[0]}}),yt("borderWidth",{parser:pt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),yt("float,cssFloat,styleFloat",{parser:function(t,e,i,n,r,o){var s=t.style,a="cssFloat"in s?"cssFloat":"styleFloat";return new ft(s,a,0,0,r,(-1),i,(!1),0,s[a],e)}});var Lt=function(t){var e,i=this.t,n=i.filter||V(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(n.indexOf("atrix(")===-1&&n.indexOf("radient(")===-1&&n.indexOf("oader(")===-1?(i.removeAttribute("filter"),e=!V(this.data,"filter")):(i.filter=n.replace(T,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+r+")"),n.indexOf("pacity")===-1?0===r&&this.xn1||(i.filter=n+" alpha(opacity="+r+")"):i.filter=n.replace(b,"opacity="+r))};yt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,o,s){var a=parseFloat(V(t,"opacity",r,!1,"1")),l=t.style,u="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),u&&1===a&&"hidden"===V(t,"visibility",r)&&0!==e&&(a=0),H?o=new ft(l,"opacity",a,e-a,o):(o=new ft(l,"opacity",100*a,100*(e-a),o),o.xn1=u?1:0,l.zoom=1,o.type=2,o.b="alpha(opacity="+o.s+")",o.e="alpha(opacity="+(o.s+o.c)+")",o.data=t,o.plugin=s,o.setRatio=Lt),u&&(o=new ft(l,"visibility",0,0,o,(-1),null,(!1),0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit"),o.xs0="inherit",n._overwriteProps.push(o.n),n._overwriteProps.push(i)),o}});var Ft=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(S,"-$1").toLowerCase())):t.removeAttribute(e))},qt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Ft(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null); }else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};yt("className",{parser:function(t,e,n,o,s,a,l){var u,c,h,p,d,f=t.getAttribute("class")||"",m=t.style.cssText;if(s=o._classNamePT=new ft(t,n,0,0,s,2),s.setRatio=qt,s.pr=-11,i=!0,s.b=f,c=K(t,r),h=t._gsClassPT){for(p={},d=h.data;d;)p[d.p]=1,d=d._next;h.setRatio(1)}return t._gsClassPT=s,s.e="="!==e.charAt(1)?e:f.replace(new RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",s.e),u=J(t,c,K(t),l,p),t.setAttribute("class",f),s.data=u.firstMPT,t.style.cssText=m,s=s.xfirst=o.parse(t,u.difs,s,a)}});var Ht=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,r,o,s=this.t.style,a=l.transform.parse;if("all"===this.e)s.cssText="",r=!0;else for(e=this.e.split(" ").join("").split(","),n=e.length;--n>-1;)i=e[n],l[i]&&(l[i].parse===a?r=!0:i="transformOrigin"===i?St:l[i].p),Ft(s,i);r&&(Ft(s,Tt),o=this.t._gsTransform,o&&(o.svg&&this.t.removeAttribute("data-svg-origin"),delete this.t._gsTransform))}};for(yt("clearProps",{parser:function(t,e,n,r,o){return o=new ft(t,n,0,0,o,2),o.setRatio=Ht,o.e=e,o.pr=-10,o.data=r._tween,i=!0,o}}),u="bezier,throwProps,physicsProps,physics2D".split(","),vt=u.length;vt--;)wt(u[vt]);u=s.prototype,u._firstPT=u._lastParsedTransform=u._transform=null,u._onInitTween=function(t,e,a){if(!t.nodeType)return!1;this._target=t,this._tween=a,this._vars=e,c=e.autoRound,i=!1,n=e.suffixMap||s.suffixMap,r=Q(t,""),o=this._overwriteProps;var u,d,m,g,v,_,y,w,b,T=t.style;if(h&&""===T.zIndex&&(u=V(t,"zIndex",r),"auto"!==u&&""!==u||this._addLazySet(T,"zIndex",0)),"string"==typeof e&&(g=T.cssText,u=K(t,r),T.cssText=g+";"+e,u=J(t,u,K(t)).difs,!H&&x.test(e)&&(u.opacity=parseFloat(RegExp.$1)),e=u,T.cssText=g),e.className?this._firstPT=d=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=d=this.parse(t,e,null),this._transformType){for(b=3===this._transformType,Tt?p&&(h=!0,""===T.zIndex&&(y=V(t,"zIndex",r),"auto"!==y&&""!==y||this._addLazySet(T,"zIndex",0)),f&&this._addLazySet(T,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(b?"visible":"hidden"))):T.zoom=1,m=d;m&&m._next;)m=m._next;w=new ft(t,"transform",0,0,null,2),this._linkCSSP(w,null,m),w.setRatio=Tt?jt:Mt,w.data=this._transform||zt(t,r,!0),w.tween=a,w.pr=-1,o.pop()}if(i){for(;d;){for(_=d._next,m=g;m&&m.pr>d.pr;)m=m._next;(d._prev=m?m._prev:v)?d._prev._next=d:g=d,(d._next=m)?m._prev=d:v=d,d=_}this._firstPT=g}return!0},u.parse=function(t,e,i,o){var s,a,u,h,p,d,f,m,g,v,_=t.style;for(s in e)d=e[s],a=l[s],a?i=a.parse(t,d,s,this,i,o,e):(p=V(t,s,r)+"",g="string"==typeof d,"color"===s||"fill"===s||"stroke"===s||s.indexOf("Color")!==-1||g&&C.test(d)?(g||(d=ut(d),d=(d.length>3?"rgba(":"rgb(")+d.join(",")+")"),i=gt(_,s,p,d,!0,"transparent",i,0,o)):!g||d.indexOf(" ")===-1&&d.indexOf(",")===-1?(u=parseFloat(p),f=u||0===u?p.substr((u+"").length):"",""!==p&&"auto"!==p||("width"===s||"height"===s?(u=it(t,s,r),f="px"):"left"===s||"top"===s?(u=G(t,s,r),f="px"):(u="opacity"!==s?0:1,f="")),v=g&&"="===d.charAt(1),v?(h=parseInt(d.charAt(0)+"1",10),d=d.substr(2),h*=parseFloat(d),m=d.replace(w,"")):(h=parseFloat(d),m=g?d.replace(w,""):""),""===m&&(m=s in n?n[s]:f),d=h||0===h?(v?h+u:h)+m:e[s],f!==m&&""!==m&&(h||0===h)&&u&&(u=Z(t,s,u,f),"%"===m?(u/=Z(t,s,100,"%")/100,e.strictUnits!==!0&&(p=u+"%")):"em"===m?u/=Z(t,s,1,"em"):"px"!==m&&(h=Z(t,s,h,m),m="px"),v&&(h||0===h)&&(d=h+u+m)),v&&(h+=u),!u&&0!==u||!h&&0!==h?void 0!==_[s]&&(d||d+""!="NaN"&&null!=d)?(i=new ft(_,s,h||u||0,0,i,(-1),s,(!1),0,p,d),i.xs0="none"!==d||"display"!==s&&s.indexOf("Style")===-1?d:p):W("invalid "+s+" tween value: "+e[s]):(i=new ft(_,s,u,h-u,i,0,s,c!==!1&&("px"===m||"zIndex"===s),0,p,d),i.xs0=m)):i=gt(_,s,p,d,!0,null,i,0,o)),o&&i&&!i.plugin&&(i.plugin=o);return i},u.setRatio=function(t){var e,i,n,r=this._firstPT,o=1e-6;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;r;){if(e=r.c*t+r.s,r.r?e=Math.round(e):e-o&&(e=0),r.type)if(1===r.type)if(n=r.l,2===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(i=r.xs0+e+r.xs1,n=1;n-1;)Wt(t[r],e,i);else for(n=t.childNodes,r=n.length;--r>-1;)o=n[r],s=o.type,o.style&&(e.push(K(o)),i&&i.push(o)),1!==s&&9!==s&&11!==s||!o.childNodes.length||Wt(o,e,i)};return s.cascadeTo=function(t,i,n){var r,o,s,a,l=e.to(t,i,n),u=[l],c=[],h=[],p=[],d=e._internals.reservedProps;for(t=l._targets||l.target,Wt(t,c,p),l.render(i,!0,!0),Wt(t,h),l.render(0,!0,!0),l._enabled(!0),r=p.length;--r>-1;)if(o=J(p[r],c[r],h[r]),o.firstMPT){o=o.difs;for(s in n)d[s]&&(o[s]=n[s]);a={};for(s in o)a[s]=c[r][s];u.push(e.fromTo(p[r],i,a,o))}return u},t.activate([s]),s},!0),function(){var t=_gsScope._gsDefine.plugin({propName:"roundProps",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=t.prototype;e._onInitAllProps=function(){for(var t,e,i,n=this._tween,r=n.vars.roundProps instanceof Array?n.vars.roundProps:n.vars.roundProps.split(","),o=r.length,s={},a=n._propLookup.roundProps;--o>-1;)s[r[o]]=1;for(o=r.length;--o>-1;)for(t=r[o],e=n._firstPT;e;)i=e._next,e.pg?e.t._roundProps(s,!0):e.n===t&&(this._add(e.t,t,e.s,e.c),i&&(i._prev=e._prev),e._prev?e._prev._next=i:n._firstPT===e&&(n._firstPT=i),e._next=e._prev=null,n._propLookup[t]=a),e=i;return!1},e._add=function(t,e,i,n){this._addTween(t,e,i,i+n,e,!0),this._overwriteProps.push(e)}}(),function(){var t=/(?:\d|\-|\+|=|#|\.)*/g,e=/[A-Za-z%]/g;_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.4.0",init:function(i,n,r){var o,s,a,l,u;if("function"!=typeof i.setAttribute)return!1;this._target=i,this._proxy={},this._start={},this._end={},this._suffix={};for(o in n)this._start[o]=this._proxy[o]=s=i.getAttribute(o)+"",this._end[o]=a=n[o]+"",this._suffix[o]=l=e.test(a)?a.replace(t,""):e.test(s)?s.replace(t,""):"",l&&(u=a.indexOf(l),u!==-1&&(a=a.substr(0,u))),this._addTween(this._proxy,o,parseFloat(s),a,o)||(this._suffix[o]=""),"="===a.charAt(1)&&(this._end[o]=this._firstPT.s+this._firstPT.c+l),this._overwriteProps.push(o);return!0},set:function(t){this._super.setRatio.call(this,t);for(var e,i=this._overwriteProps,n=i.length,r=1===t?this._end:t?this._proxy:this._start,o=r===this._proxy;--n>-1;)e=i[n],this._target.setAttribute(e,r[e]+(o?this._suffix[e]:""))}})}(),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.2.1",API:2,init:function(t,e,i){"object"!=typeof e&&(e={rotation:e}),this.finals={};var n,r,o,s,a,l,u=e.useRadians===!0?2*Math.PI:360,c=1e-6;for(n in e)"useRadians"!==n&&(l=(e[n]+"").split("_"),r=l[0],o=parseFloat("function"!=typeof t[n]?t[n]:t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]()),s=this.finals[n]="string"==typeof r&&"="===r.charAt(1)?o+parseInt(r.charAt(0)+"1",10)*Number(r.substr(2)):Number(r)||0,a=s-o,l.length&&(r=l.join("_"),r.indexOf("short")!==-1&&(a%=u,a!==a%(u/2)&&(a=a<0?a+u:a-u)),r.indexOf("_cw")!==-1&&a<0?a=(a+9999999999*u)%u-(a/u|0)*u:r.indexOf("ccw")!==-1&&a>0&&(a=(a-9999999999*u)%u-(a/u|0)*u)),(a>c||a<-c)&&(this._addTween(t,n,o,o+a,n),this._overwriteProps.push(n)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,n,r=_gsScope.GreenSockGlobals||_gsScope,o=r.com.greensock,s=2*Math.PI,a=Math.PI/2,l=o._class,u=function(e,i){var n=l("easing."+e,function(){},!0),r=n.prototype=new t;return r.constructor=n,r.getRatio=i,n},c=t.register||function(){},h=function(t,e,i,n,r){var o=l("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return c(o,t),o},p=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},d=function(e,i){var n=l("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=n.prototype=new t;return r.constructor=n,r.getRatio=i,r.config=function(t){return new n(t)},n},f=h("Back",d("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),d("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),d("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=l("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=i===!0},!0),g=m.prototype=new t;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return tthis._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},e=l("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0),g=e.prototype=new t,g.constructor=e,g.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},g.config=e.config=function(t){return new e(t)},i=l("easing.RoughEase",function(e){e=e||{};for(var i,n,r,o,s,a,l=e.taper||"none",u=[],c=0,h=0|(e.points||20),d=h,f=e.randomize!==!1,m=e.clamp===!0,g=e.template instanceof t?e.template:null,v="number"==typeof e.strength?.4*e.strength:.4;--d>-1;)i=f?Math.random():1/h*d,n=g?g.getRatio(i):i,"none"===l?r=v:"out"===l?(o=1-i,r=o*o*v):"in"===l?r=i*i*v:i<.5?(o=2*i,r=o*o*.5*v):(o=2*(1-i),r=o*o*.5*v),f?n+=Math.random()*r-.5*r:d%2?n+=.5*r:n-=.5*r,m&&(n>1?n=1:n<0&&(n=0)),u[c++]={x:i,y:n};for(u.sort(function(t,e){return t.x-e.x}),a=new p(1,1,null),d=h;--d>-1;)s=u[d],a=new p(s.x,s.y,a);this._prev=new p(0,0,0!==a.t?a:a.next)},!0),g=i.prototype=new t,g.constructor=i,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new i(t)},i.ease=new i,h("Bounce",u("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),u("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),u("BounceInOut",function(t){var e=t<.5;return t=e?1-2*t:2*t-1,t=t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),h("Circ",u("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),u("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),u("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),n=function(e,i,n){var r=l("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||n)/(t<1?t:1),this._p3=this._p2/s*(Math.asin(1/this._p1)||0),this._p2=s/this._p2},!0),o=r.prototype=new t;return o.constructor=r,o.getRatio=i,o.config=function(t,e){return new r(t,e)},r},h("Elastic",n("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),n("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2))},.3),n("ElasticInOut",function(t){return(t*=2)<1?-.5*(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)):this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),h("Expo",u("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),u("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),u("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),h("Sine",u("SineOut",function(t){return Math.sin(t*a)}),u("SineIn",function(t){return-Math.cos(t*a)+1}),u("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),c(r.SlowMo,"SlowMo","ease,"),c(i,"RoughEase","ease,"),c(e,"SteppedEase","ease,"),f},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t,e){"use strict";var i=t.GreenSockGlobals=t.GreenSockGlobals||t;if(!i.TweenLite){var n,r,o,s,a,l=function(t){var e,n=t.split("."),r=i;for(e=0;e-1;)(c=f[r[g]]||new m(r[g],[])).gsClass?(a[g]=c.gsClass,v--):u&&c.sc.push(this);if(0===v&&o)for(h=("com.greensock."+n).split("."),p=h.pop(),d=l(h.join("."))[p]=this.gsClass=o.apply(o,a),s&&(i[p]=d,"function"==typeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+n.split(".").pop(),[],function(){return d}):n===e&&"undefined"!=typeof module&&module.exports&&(module.exports=d)),g=0;g-1;)for(o=l[c],r=n?v("easing."+o,null,!0):u.easing[o]||{},s=h.length;--s>-1;)a=h[s],b[o+"."+a]=b[a+o]=r[a]=t.getRatio?t:t[a]||new t};for(o=w.prototype,o._calcEnd=!1,o.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:t<.5?n/2:1-n/2},n=["Linear","Quad","Cubic","Quart","Quint,Strong"],r=n.length;--r>-1;)o=n[r]+",Power"+r,x(new w(null,null,1,r),o,"easeOut",!0),x(new w(null,null,2,r),o,"easeIn"+(0===r?",easeNone":"")),x(new w(null,null,3,r),o,"easeInOut");b.linear=u.easing.Linear.easeIn,b.swing=u.easing.Quad.easeInOut;var T=v("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});o=T.prototype,o.addEventListener=function(t,e,i,n,r){r=r||0;var o,l,u=this._listeners[t],c=0;for(null==u&&(this._listeners[t]=u=[]),l=u.length;--l>-1;)o=u[l],o.c===e&&o.s===i?u.splice(l,1):0===c&&o.pr-1;)if(n[i].c===e)return void n.splice(i,1)},o.dispatchEvent=function(t){var e,i,n,r=this._listeners[t];if(r)for(e=r.length,i=this._eventTarget;--e>-1;)n=r[e],n&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var C=t.requestAnimationFrame,S=t.cancelAnimationFrame,k=Date.now||function(){return(new Date).getTime()},A=k();for(n=["ms","moz","webkit","o"],r=n.length;--r>-1&&!C;)C=t[n[r]+"RequestAnimationFrame"],S=t[n[r]+"CancelAnimationFrame"]||t[n[r]+"CancelRequestAnimationFrame"];v("Ticker",function(t,e){var i,n,r,o,l,u=this,h=k(),d=e!==!1&&C,f=500,m=33,g="tick",v=function(t){var e,s,a=k()-A;a>f&&(h+=a-m),A+=a,u.time=(A-h)/1e3,e=u.time-l,(!i||e>0||t===!0)&&(u.frame++,l+=e+(e>=o?.004:o-e),s=!0),t!==!0&&(r=n(v)),s&&u.dispatchEvent(g)};T.call(u),u.time=u.frame=0,u.tick=function(){v(!0)},u.lagSmoothing=function(t,e){f=t||1/c,m=Math.min(e,f,0)},u.sleep=function(){null!=r&&(d&&S?S(r):clearTimeout(r),n=p,r=null,u===s&&(a=!1))},u.wake=function(){null!==r?u.sleep():u.frame>10&&(A=k()-f+5),n=0===i?p:d&&C?C:function(t){return setTimeout(t,1e3*(l-u.time)+1|0)},u===s&&(a=!0),v(2)},u.fps=function(t){return arguments.length?(i=t,o=1/(i||60),l=this.time+o,void u.wake()):i},u.useRAF=function(t){return arguments.length?(u.sleep(),d=t,void u.fps(i)):d},u.fps(t),setTimeout(function(){d&&u.frame<5&&u.useRAF(!1)},1500)}),o=u.Ticker.prototype=new u.events.EventDispatcher,o.constructor=u.Ticker;var P=v("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=e.immediateRender===!0,this.data=e.data,this._reversed=e.reversed===!0,B){a||s.wake();var i=this.vars.useFrames?H:B;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});s=P.ticker=new u.Ticker,o=P.prototype,o._dirty=o._gc=o._initted=o._paused=!1,o._totalTime=o._time=0,o._rawPrevTime=-1,o._next=o._last=o._onUpdate=o._timeline=o.timeline=null,o._paused=!1;var O=function(){a&&k()-A>2e3&&s.wake(),setTimeout(O,2e3)};O(),o.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},o.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},o.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},o.seek=function(t,e){return this.totalTime(Number(t),e!==!1)},o.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,e!==!1,!0)},o.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},o.render=function(t,e,i){},o.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},o.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime())>=i&&t-1;)"{self}"===t[e]&&(i[e]=this);return i},o._callback=function(t){var e=this.vars;e[t].apply(e[t+"Scope"]||e.callbackScope||this,e[t+"Params"]||y)},o.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=d(i)&&i.join("").indexOf("{self}")!==-1?this._swapSelfInParams(i):i,r[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},o.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},o.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},o.totalTime=function(t,e,i){if(a||s.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,r=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?n-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(this.render(t,e,!1),$.length&&X())}return this},o.progress=o.totalProgress=function(t,e){return arguments.length?this.totalTime(this.duration()*t,e):this._time/this.duration()},o.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},o.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},o.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||c,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},o.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},o.paused=function(t){if(!arguments.length)return this._paused;var e,i,n=this._timeline;return t!=this._paused&&n&&(a||t||s.wake(),e=n.rawTime(),i=e-this._pauseTime,!t&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&this.render(n.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,!0,!0)),this._gc&&!t&&this._enabled(!0,!1),this};var N=v("core.SimpleTimeline",function(t){P.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});o=N.prototype=new P,o.constructor=N,o.kill()._gc=!1,o._first=o._last=o._recent=null,o._sortChildren=!1,o.add=o.insert=function(t,e,i,n){var r,o;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(o=t._startTime;r&&r._startTime>o;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},o._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},o.render=function(t,e,i){var n,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)n=r._next,(r._active||t>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=n},o.rawTime=function(){return a||s.wake(),this._totalTime};var E=v("TweenLite",function(e,i,n){if(P.call(this,i,n),this.render=E.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:E.selector(e)||e;var r,o,s,a=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?q[E.defaultOverwrite]:"number"==typeof l?l>>0:q[l],(a||e instanceof Array||e.push&&d(e))&&"number"!=typeof e[0])for(this._targets=s=h(e),this._propLookup=[],this._siblings=[],r=0;r1&&Q(o,this,null,1,this._siblings[r])):(o=s[r--]=E.selector(o),"string"==typeof o&&s.splice(r+1,1)):s.splice(r--,1);else this._propLookup={},this._siblings=U(e,this,!1),1===l&&this._siblings.length>1&&Q(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-c,this.render(-this._delay))},!0),R=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)},D=function(t,e){var i,n={};for(i in t)F[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!M[i]||M[i]&&M[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n};o=E.prototype=new P,o.constructor=E,o.kill()._gc=!1,o.ratio=0,o._firstPT=o._targets=o._overwrittenProps=o._startAt=null,o._notifyPluginsOfEnabled=o._lazy=!1,E.version="1.17.0",E.defaultEase=o._ease=new w(null,null,1,1),E.defaultOverwrite="auto",E.ticker=s,E.autoSleep=120,E.lagSmoothing=function(t,e){s.lagSmoothing(t,e)},E.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(E.selector=i,i(e)):"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)};var $=[],I={},z=E._internals={isArray:d,isSelector:R,lazyTweens:$},M=E._plugins={},j=z.tweenLookup={},L=0,F=z.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1},q={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},H=P._rootFramesTimeline=new N,B=P._rootTimeline=new N,W=30,X=z.lazyRender=function(){var t,e=$.length;for(I={};--e>-1;)t=$[e],t&&t._lazy!==!1&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);$.length=0};B._startTime=s.time,H._startTime=s.frame,B._active=H._active=!0,setTimeout(X,1),P._updateRoot=E.render=function(){var t,e,i;if($.length&&X(),B.render((s.time-B._startTime)*B._timeScale,!1,!1),H.render((s.frame-H._startTime)*H._timeScale,!1,!1),$.length&&X(),s.frame>=W){W=s.frame+(parseInt(E.autoSleep,10)||120);for(i in j){for(e=j[i].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete j[i]}if(i=B._first,(!i||i._paused)&&E.autoSleep&&!H._first&&1===s._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||s.sleep()}}},s.addEventListener("tick",P._updateRoot);var U=function(t,e,i){var n,r,o=t._gsTweenID;if(j[o||(t._gsTweenID=o="t"+L++)]||(j[o]={target:t,tweens:[]}),e&&(n=j[o].tweens,n[r=n.length]=e,i))for(;--r>-1;)n[r]===e&&n.splice(r,1);return j[o].tweens},Y=function(t,e,i,n){var r,o,s=t.vars.onOverwrite;return s&&(r=s(t,e,i,n)),s=E.onOverwrite,s&&(o=s(t,e,i,n)),r!==!1&&o!==!1},Q=function(t,e,i,n,r){var o,s,a,l;if(1===n||n>=4){for(l=r.length,o=0;o-1;)(a=r[o])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||V(e,0,f),0===V(a,u,f)&&(p[d++]=a)):a._startTime<=h&&a._startTime+a.totalDuration()/a._timeScale>h&&((f||!a._initted)&&h-a._startTime<=2e-10||(p[d++]=a)));for(o=d;--o>-1;)if(a=p[o],2===n&&a._kill(i,t,e)&&(s=!0),2!==n||!a._firstPT&&a._initted){if(2!==n&&!Y(a,e))continue;a._enabled(!1,!1)&&(s=!0)}return s},V=function(t,e,i){for(var n=t._timeline,r=n._timeScale,o=t._startTime;n._timeline;){if(o+=n._startTime,r*=n._timeScale,n._paused)return-100;n=n._timeline}return o/=r,o>e?o-e:i&&o===e||!t._initted&&o-e<2*c?c:(o+=t.totalDuration()/t._timeScale/r)>e+c?0:o-e-c};o._init=function(){var t,e,i,n,r,o=this.vars,s=this._overwrittenProps,a=this._duration,l=!!o.immediateRender,u=o.ease;if(o.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={};for(n in o.startAt)r[n]=o.startAt[n];if(r.overwrite=!1,r.immediateRender=!0,r.lazy=l&&o.lazy!==!1,r.startAt=r.delay=null,this._startAt=E.to(this.target,0,r),l)if(this._time>0)this._startAt=null;else if(0!==a)return}else if(o.runBackwards&&0!==a)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(l=!1),i={};for(n in o)F[n]&&"autoCSS"!==n||(i[n]=o[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=l&&o.lazy!==!1,i.immediateRender=l,this._startAt=E.to(this.target,0,i),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof w?u:"function"==typeof u?new w(u,o.easeParams):b[u]||E.defaultEase:E.defaultEase,o.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,o.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=this._targets.length;--t>-1;)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],s?s[t]:null)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,s);if(e&&E._onPluginEvent("_onInitAllProps",this),s&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),o.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=o.onUpdate,this._initted=!0},o._initProps=function(e,i,n,r){var o,s,a,l,u,c;if(null==e)return!1;I[e._gsTweenID]&&X(),this.vars.css||e.style&&e!==t&&e.nodeType&&M.css&&this.vars.autoCSS!==!1&&D(this.vars,e);for(o in this.vars){if(c=this.vars[o],F[o])c&&(c instanceof Array||c.push&&d(c))&&c.join("").indexOf("{self}")!==-1&&(this.vars[o]=c=this._swapSelfInParams(c,this));else if(M[o]&&(l=new M[o])._onInitTween(e,this.vars[o],this)){for(this._firstPT=u={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:!0,n:o,pg:!0,pr:l._priority},s=l._overwriteProps.length;--s>-1;)i[l._overwriteProps[s]]=this._firstPT;(l._priority||l._onInitAllProps)&&(a=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=i[o]=u={_next:this._firstPT,t:e,p:o,f:"function"==typeof e[o],n:o,pg:!1,pr:0},u.s=u.f?e[o.indexOf("set")||"function"!=typeof e["get"+o.substr(3)]?o:"get"+o.substr(3)]():parseFloat(e[o]),u.c="string"==typeof c&&"="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*Number(c.substr(2)):Number(c)-u.s||0;u&&u._next&&(u._next._prev=u)}return r&&this._kill(r,e)?this._initProps(e,i,n,r):this._overwrite>1&&this._firstPT&&n.length>1&&Q(e,this,i,this._overwrite,n)?(this._kill(i,e),this._initProps(e,i,n,r)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(I[e._gsTweenID]=!0),a)},o.render=function(t,e,i){var n,r,o,s,a=this._time,l=this._duration,u=this._rawPrevTime;if(t>=l)this._totalTime=this._time=l, this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,r="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0===t||u<0||u===c&&"isPause"!==this.data)&&u!==t&&(i=!0,u>c&&(r="onReverseComplete")),this._rawPrevTime=s=!e||t||u===t?t:c);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&u>0)&&(r="onReverseComplete",n=this._reversed),t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(u>=0&&(u!==c||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=s=!e||t||u===t?t:c)),this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var h=t/l,p=this._easeType,d=this._easePower;(1===p||3===p&&h>=.5)&&(h=1-h),3===p&&(h*=2),1===d?h*=h:2===d?h*=h*h:3===d?h*=h*h*h:4===d&&(h*=h*h*h*h),1===p?this.ratio=1-h:2===p?this.ratio=h:t/l<.5?this.ratio=h/2:this.ratio=1-h/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=u,$.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/l):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==a&&t>=0&&(this._active=!0),0===a&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||e||this._callback("onStart"))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(t<0&&this._startAt&&t!==-1e-4&&this._startAt.render(t,e,i),e||(this._time!==a||n)&&this._callback("onUpdate")),r&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&t!==-1e-4&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&this._rawPrevTime===c&&s!==c&&(this._rawPrevTime=0)))}},o._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:E.selector(e)||e;var n,r,o,s,a,l,u,c,h,p=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((d(e)||R(e))&&"number"!=typeof e[0])for(n=e.length;--n>-1;)this._kill(t,e[n],i)&&(l=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(e===this._targets[n]){a=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(u=t||a,c=t!==r&&"all"!==r&&t!==a&&("object"!=typeof t||!t._tempKill),i&&(E.onOverwrite||this.vars.onOverwrite)){for(o in u)a[o]&&(h||(h=[]),h.push(o));if((h||!t)&&!Y(this,i,e,h))return!1}for(o in u)(s=a[o])&&(p&&(s.f?s.t[s.p](s.s):s.t[s.p]=s.s,l=!0),s.pg&&s.t._kill(u)&&(l=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete a[o]),c&&(r[o]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},o.invalidate=function(){return this._notifyPluginsOfEnabled&&E._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],P.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-c,this.render(-this._delay)),this},o._enabled=function(t,e){if(a||s.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=U(n[i],this,!0);else this._siblings=U(this.target,this,!0)}return P.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&E._onPluginEvent(t?"_onEnable":"_onDisable",this)},E.to=function(t,e,i){return new E(t,e,i)},E.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new E(t,e,i)},E.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new E(t,e,n)},E.delayedCall=function(t,e,i,n,r){return new E(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},E.set=function(t,e){return new E(t,0,e)},E.getTweensOf=function(t,e){if(null==t)return[];t="string"!=typeof t?t:E.selector(t)||t;var i,n,r,o;if((d(t)||R(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];--i>-1;)n=n.concat(E.getTweensOf(t[i],e));for(i=n.length;--i>-1;)for(o=n[i],r=i;--r>-1;)o===n[r]&&n.splice(i,1)}else for(n=U(t).concat(),i=n.length;--i>-1;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n},E.killTweensOf=E.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var n=E.getTweensOf(t,e),r=n.length;--r>-1;)n[r]._kill(i,t)};var Z=v("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=Z.prototype},!0);if(o=Z.prototype,Z.version="1.10.1",Z.API=2,o._firstPT=null,o._addTween=function(t,e,i,n,r,o){var s,a;if(null!=n&&(s="number"==typeof n||"="!==n.charAt(1)?Number(n)-Number(i):parseInt(n.charAt(0)+"1",10)*Number(n.substr(2))))return this._firstPT=a={_next:this._firstPT,t:t,p:e,s:i,c:s,f:"function"==typeof t[e],n:r||e,r:o},a._next&&(a._next._prev=a),a},o.setRatio=function(t){for(var e,i=this._firstPT,n=1e-6;i;)e=i.c*t+i.s,i.r?e=Math.round(e):e-n&&(e=0),i.f?i.t[i.p](e):i.t[i.p]=e,i=i._next},o._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},o._roundProps=function(t,e){for(var i=this._firstPT;i;)(t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&(i.r=e),i=i._next},E._onPluginEvent=function(t,e){var i,n,r,o,s,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(s=a._next,n=r;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:o)?a._prev._next=a:r=a,(a._next=n)?n._prev=a:o=a,a=s}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},Z.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===Z.API&&(M[(new t[e])._propName]=t[e]);return!0},g.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,r=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},s=v("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){Z.call(this,i,n),this._overwriteProps=r||[]},t.global===!0),a=s.prototype=new Z(i);a.constructor=s,s.API=t.API;for(e in o)"function"==typeof t[e]&&(a[o[e]]=t[e]);return s.version=t.version,Z.activate([s]),s},n=t._gsQueue){for(r=0;r7||s<-7)&&n7||o<-7)&&r
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},i.prototype.init=function(e,i,n){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),o=r.length;o--;){var s=r[o];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},i.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,n){i[t]!=n&&(e[t]=n)}),e},i.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState?void(i.hoverState="in"):(clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())},i.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},i.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),!i.isInStateTrue())return clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide()},i.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var r=this,o=this.tip(),s=this.getUID(this.type);this.setContent(),o.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&o.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(a);u&&(a=a.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),h=o[0].offsetWidth,p=o[0].offsetHeight;if(u){var d=a,f=this.getPosition(this.$viewport);a="bottom"==a&&c.bottom+p>f.bottom?"top":"top"==a&&c.top-pf.width?"left":"left"==a&&c.left-hs.top+s.height&&(r.top=s.top+s.height-l)}else{var u=e.left-o,c=e.left+o+i;us.right&&(r.left=s.left+s.width-c)}return r},i.prototype.getTitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},i.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},i.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(e){var i=this;e&&(i=t(e.currentTarget).data("bs."+this.type),i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},i.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var n=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=i,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=n,this}}(jQuery),function(t,e,i){function n(){var t=this;t.id=null,t.busy=!1,t.start=function(e,i){t.busy||(t.stop(),t.id=setTimeout(function(){e(),t.id=null,t.busy=!1},i),t.busy=!0)},t.stop=function(){null!==t.id&&(clearTimeout(t.id),t.id=null,t.busy=!1)}}function r(i,r,o){var s=this;s.id=o,s.table=i,s.options=r,s.breakpoints=[],s.breakpointNames="",s.columns={},s.plugins=e.footable.plugins.load(s);var a=s.options,l=a.classes,u=a.events,c=a.triggers,h=0;return s.timers={resize:new n,register:function(t){return s.timers[t]=new n,s.timers[t]}},s.init=function(){var i=t(e),n=t(s.table);if(e.footable.plugins.init(s),n.hasClass(l.loaded))return void s.raise(u.alreadyInitialized);s.raise(u.initializing),n.addClass(l.loading),n.find(a.columnDataSelector).each(function(){var t=s.getColumnData(this);s.columns[t.index]=t});for(var r in a.breakpoints)s.breakpoints.push({name:r,width:a.breakpoints[r]}),s.breakpointNames+=r+" ";s.breakpoints.sort(function(t,e){return t.width-e.width}),n.unbind(c.initialize).bind(c.initialize,function(){n.removeData("footable_info"),n.data("breakpoint",""),n.trigger(c.resize),n.removeClass(l.loading),n.addClass(l.loaded).addClass(l.main),s.raise(u.initialized)}).unbind(c.redraw).bind(c.redraw,function(){s.redraw()}).unbind(c.resize).bind(c.resize,function(){s.resize()}).unbind(c.expandFirstRow).bind(c.expandFirstRow,function(){n.find(a.toggleSelector).first().not("."+l.detailShow).trigger(c.toggleRow)}).unbind(c.expandAll).bind(c.expandAll,function(){n.find(a.toggleSelector).not("."+l.detailShow).trigger(c.toggleRow)}).unbind(c.collapseAll).bind(c.collapseAll,function(){n.find("."+l.detailShow).trigger(c.toggleRow)}),n.trigger(c.initialize),i.bind("resize.footable",function(){s.timers.resize.stop(),s.timers.resize.start(function(){s.raise(c.resize)},a.delay)})},s.addRowToggle=function(){if(a.addRowToggle){var e=t(s.table),i=!1;e.find("span."+l.toggle).remove();for(var n in s.columns){var r=s.columns[n];if(r.toggle){i=!0;var o="> tbody > tr:not(."+l.detail+",."+l.disabled+") > td:nth-child("+(parseInt(r.index,10)+1)+"),> tbody > tr:not(."+l.detail+",."+l.disabled+") > th:nth-child("+(parseInt(r.index,10)+1)+")";return void e.find(o).not("."+l.detailCell).prepend(t(a.toggleHTMLElement).addClass(l.toggle))}}i||e.find("> tbody > tr:not(."+l.detail+",."+l.disabled+") > td:first-child").add("> tbody > tr:not(."+l.detail+",."+l.disabled+") > th:first-child").not("."+l.detailCell).prepend(t(a.toggleHTMLElement).addClass(l.toggle))}},s.setColumnClasses=function(){var e=t(s.table);for(var i in s.columns){var n=s.columns[i];if(null!==n.className){var r="",o=!0;t.each(n.matches,function(t,e){o||(r+=", "),r+="> tbody > tr:not(."+l.detail+") > td:nth-child("+(parseInt(e,10)+1)+")",o=!1}),e.find(r).not("."+l.detailCell).addClass(n.className)}}},s.bindToggleSelectors=function(){var e=t(s.table);s.hasAnyBreakpointColumn()&&(e.find(a.toggleSelector).unbind(c.toggleRow).bind(c.toggleRow,function(e){var i=t(this).is("tr")?t(this):t(this).parents("tr:first");s.toggleDetail(i)}),e.find(a.toggleSelector).unbind("click.footable").bind("click.footable",function(i){e.is(".breakpoint")&&t(i.target).is("td,th,."+l.toggle)&&t(this).trigger(c.toggleRow)}))},s.parse=function(t,e){var i=a.parsers[e.type]||a.parsers.alpha;return i(t)},s.getColumnData=function(e){var i=t(e),n=i.data("hide"),r=i.index();n=n||"",n=jQuery.map(n.split(","),function(t){return jQuery.trim(t)});var o={index:r,hide:{},type:i.data("type")||"alpha",name:i.data("name")||t.trim(i.text()),ignore:i.data("ignore")||!1,toggle:i.data("toggle")||!1,className:i.data("class")||null,matches:[],names:{},group:i.data("group")||null,groupName:null,isEditable:i.data("editable")};if(null!==o.group){var l=t(s.table).find('> thead > tr.footable-group-row > th[data-group="'+o.group+'"], > thead > tr.footable-group-row > td[data-group="'+o.group+'"]').first();o.groupName=s.parse(l,{type:"alpha"})}var c=parseInt(i.prev().attr("colspan")||0,10);h+=c>1?c-1:0;var p=parseInt(i.attr("colspan")||0,10),d=o.index+h;if(p>1){var f=i.data("names");f=f||"",f=f.split(",");for(var m=0;m=0;var g=!1;for(var v in a.breakpoints)o.hide[v]="all"===i.data("hide")||t.inArray(v,n)>=0,g=g||o.hide[v];o.hasBreakpoint=g;var _=s.raise(u.columnData,{column:{data:o,th:e}});return _.column.data},s.getViewportWidth=function(){return window.innerWidth||(document.body?document.body.offsetWidth:0)},s.calculateWidth=function(t,e){return jQuery.isFunction(a.calculateWidthOverride)?a.calculateWidthOverride(t,e):(e.viewportWidth tbody > tr:not(."+l.detail+")").data("detail_created",!1).end().find("> thead > tr:last-child > th").each(function(){var n=s.columns[t(this).index()],r="",o=!0;t.each(n.matches,function(t,e){o||(r+=", ");var i=e+1;r+="> tbody > tr:not(."+l.detail+") > td:nth-child("+i+")",r+=", > tfoot > tr:not(."+l.detail+") > td:nth-child("+i+")",r+=", > colgroup > col:nth-child("+i+")",o=!1}),r+=', > thead > tr[data-group-row="true"] > th[data-group="'+n.group+'"]';var a=e.find(r).add(this);if(""!==i&&(n.hide[i]===!1?a.addClass("footable-visible").show():a.removeClass("footable-visible").hide()),1===e.find("> thead > tr.footable-group-row").length){var u=e.find('> thead > tr:last-child > th[data-group="'+n.group+'"]:visible, > thead > tr:last-child > th[data-group="'+n.group+'"]:visible'),c=e.find('> thead > tr.footable-group-row > th[data-group="'+n.group+'"], > thead > tr.footable-group-row > td[data-group="'+n.group+'"]'),h=0;t.each(u,function(){h+=parseInt(t(this).attr("colspan")||1,10)}),h>0?c.attr("colspan",h).show():c.hide()}}).end().find("> tbody > tr."+l.detailShow).each(function(){s.createOrUpdateDetailRow(this)}),e.find("[data-bind-name]").each(function(){s.toggleInput(this)}),e.find("> tbody > tr."+l.detailShow+":visible").each(function(){var e=t(this).next();e.hasClass(l.detail)&&(n?e.show():e.hide())}),e.find("> thead > tr > th.footable-last-column, > tbody > tr > td.footable-last-column").removeClass("footable-last-column"),e.find("> thead > tr > th.footable-first-column, > tbody > tr > td.footable-first-column").removeClass("footable-first-column"),e.find("> thead > tr, > tbody > tr").find("> th.footable-visible:last, > td.footable-visible:last").addClass("footable-last-column").end().find("> th.footable-visible:first, > td.footable-visible:first").addClass("footable-first-column"),s.raise(u.redrawn)},s.toggleDetail=function(e){var i=e.jquery?e:t(e),n=i.next();i.hasClass(l.detailShow)?(i.removeClass(l.detailShow),n.hasClass(l.detail)&&n.hide(),s.raise(u.rowCollapsed,{row:i[0]})):(s.createOrUpdateDetailRow(i[0]),i.addClass(l.detailShow).next().show(),s.raise(u.rowExpanded,{row:i[0]}))},s.removeRow=function(e){var i=e.jquery?e:t(e);i.hasClass(l.detail)&&(i=i.prev());var n=i.next();i.data("detail_created")===!0&&n.remove(),i.remove(),s.raise(u.rowRemoved)},s.appendRow=function(e){var i=e.jquery?e:t(e);t(s.table).find("tbody").append(i),s.redraw()},s.getColumnFromTdIndex=function(e){var i=null;for(var n in s.columns)if(t.inArray(e,s.columns[n].matches)>=0){i=s.columns[n];break}return i},s.createOrUpdateDetailRow=function(e){var i,n=t(e),r=n.next(),o=[];if(n.data("detail_created")===!0)return!0;if(n.is(":hidden"))return!1;if(s.raise(u.rowDetailUpdating,{row:n,detail:r}),n.find("> td:hidden").each(function(){var e=t(this).index(),i=s.getColumnFromTdIndex(e),n=i.name;if(i.ignore===!0)return!0;e in i.names&&(n=i.names[e]);var r=t(this).attr("data-bind-name");if(null!=r&&t(this).is(":empty")){var a=t("."+l.detailInnerValue+'[data-bind-value="'+r+'"]');t(this).html(t(a).contents().detach())}var u;return i.isEditable!==!1&&(i.isEditable||t(this).find(":input").length>0)&&(null==r&&(r="bind-"+t.now()+"-"+e,t(this).attr("data-bind-name",r)),u=t(this).contents().detach()),u||(u=t(this).contents().clone(!0,!0)),o.push({name:n,value:s.parse(this,i),display:u,group:i.group,groupName:i.groupName,bindName:r}),!0}),0===o.length)return!1;var c=n.find("> td:visible").length,h=r.hasClass(l.detail);return h||(r=t('
'), n.after(r)),r.find("> td:first").attr("colspan",c),i=r.find("."+l.detailInner).empty(),a.createDetail(i,o,a.createGroupedDetail,a.detailSeparator,l),n.data("detail_created",!0),s.raise(u.rowDetailUpdated,{row:n,detail:r}),!h},s.raise=function(e,i){s.options.debug===!0&&t.isFunction(s.options.log)&&s.options.log(e,"event"),i=i||{};var n={ft:s};t.extend(!0,n,i);var r=t.Event(e,n);return r.ft||t.extend(!0,r,n),t(s.table).trigger(r),r},s.reset=function(){var e=t(s.table);e.removeData("footable_info").data("breakpoint","").removeClass(l.loading).removeClass(l.loaded),e.find(a.toggleSelector).unbind(c.toggleRow).unbind("click.footable"),e.find("> tbody > tr").removeClass(l.detailShow),e.find("> tbody > tr."+l.detail).remove(),s.raise(u.reset)},s.toggleInput=function(e){var i=t(e).attr("data-bind-name");if(null!=i){var n=t("."+l.detailInnerValue+'[data-bind-value="'+i+'"]');null!=n&&(t(e).is(":visible")?t(n).is(":empty")||t(e).html(t(n).contents().detach()):t(e).is(":empty")||t(n).html(t(e).contents().detach()))}},s.init(),s}e.footable={options:{delay:100,breakpoints:{phone:480,tablet:1024},parsers:{alpha:function(e){return t(e).data("value")||t.trim(t(e).text())},numeric:function(e){var i=t(e).data("value")||t(e).text().replace(/[^0-9.\-]/g,"");return i=parseFloat(i),isNaN(i)&&(i=0),i}},addRowToggle:!0,calculateWidthOverride:null,toggleSelector:" > tbody > tr:not(.footable-row-detail)",columnDataSelector:"> thead > tr:last-child > th, > thead > tr:last-child > td",detailSeparator:":",toggleHTMLElement:"",createGroupedDetail:function(t){for(var e={_none:{name:null,data:[]}},i=0;i'+s[a].name+"
");for(var l=0;l
").addClass(o.detailInnerRow).append(t("
").addClass(o.detailInnerName).append(s[a].data[l].name+u)).append(t("
").addClass(o.detailInnerValue).attr("data-bind-value",s[a].data[l].bindName).append(s[a].data[l].display)))}}},classes:{main:"footable",loading:"footable-loading",loaded:"footable-loaded",toggle:"footable-toggle",disabled:"footable-disabled",detail:"footable-row-detail",detailCell:"footable-row-detail-cell",detailInner:"footable-row-detail-inner",detailInnerRow:"footable-row-detail-row",detailInnerGroup:"footable-row-detail-group",detailInnerName:"footable-row-detail-name",detailInnerValue:"footable-row-detail-value",detailShow:"footable-detail-show"},triggers:{initialize:"footable_initialize",resize:"footable_resize",redraw:"footable_redraw",toggleRow:"footable_toggle_row",expandFirstRow:"footable_expand_first_row",expandAll:"footable_expand_all",collapseAll:"footable_collapse_all"},events:{alreadyInitialized:"footable_already_initialized",initializing:"footable_initializing",initialized:"footable_initialized",resizing:"footable_resizing",resized:"footable_resized",redrawn:"footable_redrawn",breakpoint:"footable_breakpoint",columnData:"footable_column_data",rowDetailUpdating:"footable_row_detail_updating",rowDetailUpdated:"footable_row_detail_updated",rowCollapsed:"footable_row_collapsed",rowExpanded:"footable_row_expanded",rowRemoved:"footable_row_removed",reset:"footable_reset"},debug:!1,log:null},version:{major:0,minor:5,toString:function(){return e.footable.version.major+"."+e.footable.version.minor},parse:function(t){var e=/(\d+)\.?(\d+)?\.?(\d+)?/.exec(t);return{major:parseInt(e[1],10)||0,minor:parseInt(e[2],10)||0,patch:parseInt(e[3],10)||0}}},plugins:{_validate:function(i){if(!t.isFunction(i))return e.footable.options.debug===!0&&console.error('Validation failed, expected type "function", received type "{0}".',typeof i),!1;var n=new i;return"string"!=typeof n.name?(e.footable.options.debug===!0&&console.error('Validation failed, plugin does not implement a string property called "name".',n),!1):t.isFunction(n.init)?(e.footable.options.debug===!0&&console.log('Validation succeeded for plugin "'+n.name+'".',n),!0):(e.footable.options.debug===!0&&console.error('Validation failed, plugin "'+n.name+'" does not implement a function called "init".',n),!1)},registered:[],register:function(i,n){e.footable.plugins._validate(i)&&(e.footable.plugins.registered.push(i),"object"==typeof n&&t.extend(!0,e.footable.options,n))},load:function(t){var i,n,r=[];for(n=0;n0,this.currentPage=n.currentPage||0,this.pages=[],this.control=!1}function r(){var e=this;e.name="Footable Paginate",e.init=function(i){if(i.options.paginate===!0){if(t(i.table).data("page")===!1)return;e.footable=i,t(i.table).unbind(".paging").bind({"footable_initialized.paging footable_row_removed.paging footable_redrawn.paging footable_sorted.paging footable_filtered.paging":function(){e.setupPaging()}}).data("footable-paging",e)}},e.setupPaging=function(){var i=e.footable,r=t(i.table).find("> tbody");i.pageInfo=new n(i),e.createPages(i,r),e.createNavigation(i,r),e.fillPage(i,r,i.pageInfo.currentPage)},e.createPages=function(e,i){var n=1,r=e.pageInfo,o=n*r.pageSize,s=[],a=[];r.pages=[];var l=i.find("> tr:not(.footable-filtered,.footable-row-detail)");l.each(function(t,e){s.push(e),t===o-1?(r.pages.push(s),n++,o=n*r.pageSize,s=[]):t>=l.length-l.length%r.pageSize&&a.push(e)}),a.length>0&&r.pages.push(a),r.currentPage>=r.pages.length&&(r.currentPage=r.pages.length-1),r.currentPage<0&&(r.currentPage=0),1===r.pages.length?t(e.table).addClass("no-paging"):t(e.table).removeClass("no-paging")},e.createNavigation=function(i,n){var r=t(i.table).find(i.pageInfo.pageNavigation);if(0===r.length){if(r=t(i.pageInfo.pageNavigation),r.parents("table:first").length>0&&r.parents("table:first")!==t(i.table))return;r.length>1&&i.options.debug===!0&&console.error("More than one pagination control was found!")}if(0!==r.length){r.is("ul")||(0===r.find("ul:first").length&&r.append("
    "),r=r.find("ul")),r.find("li").remove();var o=i.pageInfo;o.control=r,o.pages.length>0&&(r.append('
  • '+i.pageInfo.firstText+""),r.append('
  • '+i.pageInfo.previousText+"
  • "),o.limit&&r.append('
  • '+i.pageInfo.limitPreviousText+"
  • "),o.limit||t.each(o.pages,function(t,e){e.length>0&&r.append('
  • '+(t+1)+"
  • ")}),o.limit&&(r.append('
  • '+i.pageInfo.limitNextText+"
  • "),e.createLimited(r,o,0)),r.append('
  • '+i.pageInfo.nextText+"
  • "),r.append('
  • '+i.pageInfo.lastText+"
  • ")),r.off("click","a[data-page]").on("click","a[data-page]",function(n){n.preventDefault();var s=t(this).data("page"),a=o.currentPage;if("first"===s)a=0;else if("prev"===s)a>0&&a--;else if("next"===s)a=0){if(o.limit&&o.currentPage!=a){for(var c=a;c%o.limitNavigation!==0;)c-=1;e.createLimited(r,o,c)}e.paginate(i,a)}}),e.setPagingClasses(r,o.currentPage,o.pages.length)}},e.createLimited=function(t,e,i){i=i||0,t.find("li.footable-page").remove();var n,r,o=t.find('li.footable-page-arrow > a[data-page="limit-prev"]').parent(),s=t.find('li.footable-page-arrow > a[data-page="limit-next"]').parent();for(n=e.pages.length-1;n>=0;n--)r=e.pages[n],n>=i&&n0&&o.after('
  • '+(n+1)+"
  • ");0===i?o.hide():o.show(),i+e.limitNavigation>=e.pages.length?s.hide():s.show()},e.paginate=function(i,n){var r=i.pageInfo;if(r.currentPage!==n){var o=t(i.table).find("> tbody"),s=i.raise("footable_paging",{page:n,size:r.pageSize});if(s&&s.result===!1)return;e.fillPage(i,o,n),r.control.find("li").removeClass("active disabled"),e.setPagingClasses(r.control,r.currentPage,r.pages.length)}},e.setPagingClasses=function(t,e,i){t.find("li.footable-page > a[data-page="+e+"]").parent().addClass("active"),e>=i-1&&(t.find('li.footable-page-arrow > a[data-page="next"]').parent().addClass("disabled"),t.find('li.footable-page-arrow > a[data-page="last"]').parent().addClass("disabled")),e<1&&(t.find('li.footable-page-arrow > a[data-page="first"]').parent().addClass("disabled"),t.find('li.footable-page-arrow > a[data-page="prev"]').parent().addClass("disabled"))},e.fillPage=function(i,n,r){i.pageInfo.currentPage=r,t(i.table).data("currentPage",r),n.find("> tr").hide(),t(i.pageInfo.pages[r]).each(function(){e.showRow(this,i)}),i.raise("footable_page_filled")},e.showRow=function(e,i){var n=t(e),r=n.next(),o=t(i.table);o.hasClass("breakpoint")&&n.hasClass("footable-detail-show")&&r.hasClass("footable-row-detail")?(n.add(r).show(),i.createOrUpdateDetailRow(e)):n.show()}}if(e.footable===i||null===e.footable)throw new Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var o={paginate:!0,pageSize:10,pageNavigation:".pagination",firstText:"«",previousText:"‹",nextText:"›",lastText:"»",limitNavigation:0,limitPreviousText:"...",limitNextText:"..."};e.footable.plugins.register(r,o)}(jQuery,window),function(t,e,i,n){"use strict";var r=1,o="TrackMe",s={debug:!0},a=["debug"],l={},u=function(t){this.__construct(t)},c=u.prototype;c.__id=null,c.__name=null,c.__debugName=null,c.debug=null,c.options=null,c.baseUrl=e.location.protocol+"//"+e.location.host+"/",c.__construct=function(t){return this.__id=r,this.__name=o,this.__debugName=this.__name+" :: ",this.setOptions(t),this.__validateDependencies()&&this.__validateArguments()?(r++,this.__initialize(),this):null},c.__validateDependencies=function(){var t=!0;return e.jQuery||(t=!1,this.debug&&console.warn(this.__debugName+"required jQuery (http://jquery.com/download/)")),t},c.__validateArguments=function(){var t=!0;return t},c.__initialize=function(){var e=this;return t(i).ready(function(){var i=t("body");i.on("click","a[me\\:track\\:outbound], [me\\:track\\:event]",function(i){var n=t(i.currentTarget);n.attr("me:track:outbound")&&i.preventDefault(),l.handleClick.call(e,n)})}),this},l.handleClick=function(t){var e=t.attr("me:track:category"),i=t.attr("me:track:action")?t.attr("me:track:action"):"click",r=t.attr("me:track:label")?t.attr("me:track:label"):"";return e?void(t.attr("me:track:outbound")!=n?this.outbound(e,i,r,t.attr("href")):t.attr("me:track:event")!=n&&this.event(e,i,r)):void(this.debug&&console.warn(this.__debugName+'need to set attribute: "me:track:category" on %o',t))},c.setOptions=function(e){var i=this,n=this.options?t.extend({},this.options,e):t.extend({},s,e);return t.each(n,function(e,r){t.inArray(e,a)!=-1&&(i[e]=r,delete n[e])}),this.options=n,this},c.getOptions=function(){return this.options},c.page=function(t){return this.debug&&console.info(this.__debugName,"pageview :: "+t),e._gaq?_gaq.push(["_trackPageview",t]):e.ga&&ga("send","pageview",t),this},c.social=function(t,i,n){var r=n.replace(this.baseUrl,"");return this.debug&&console.info(this.__debugName,"social :: {network:'"+t+"', action:'"+i+"', url:'"+r+"'}"),e._gaq?_gaq.push(["_trackSocial",t,i,r]):e.ga&&ga("send","social",t,i,r),this},c.event=function(t,e,i,n){return n||this.debug&&console.info(this.__debugName,"event :: {category:'"+t+"', action:'"+e+"', label:'"+i+"'}"),n?ga("send","event",t,e,i,{hitCallback:n}):ga("send","event",t,e,i),this},c.outbound=function(t,e,n,r){return this.debug&&console.info(this.__debugName,"outbound :: {category:'"+t+"', action:'"+e+"', label:'"+n+"', redirectUrl:'"+r+"'}"),this.event(t,e,n,function(){i.location=r}),this},c.toString=function(){return"["+this.__name+"]"},e.Me||(e.Me={}),Me.track=new u}(jQuery,window,document);var NASACORT=NASACORT||{};NASACORT.carousel=function(t){$(this.elems).each(function(){function t(t){return _.isUndefined(t)||_.isNull(t)||0===$.trim(t).length}function e(t){t.replace(/[^a-z0-9_-]/gi,"").toLowerCase();a.dataLayer}function i(){if(!t(c)&&!t(h)){var i=$(".owl-dots",l);if(i.length>0){var n=$(".owl-dot",i);$.each(n,function(t,i){var n=t+1,r=$(i);r.on("click",function(){var t=m+n;e(t)})})}var r=$(".owl-nav",l);if(r.length>0){var o=$(".owl-prev",r),s=$(".owl-next",r);o.on("click",function(){e(d)}),s.on("click",function(){e(f)})}}}function n(t){u>1?(x.length>0&&T.length>0&&(x.click(function(){l.trigger("next.owl.carousel"),e(f)}),T.click(function(){l.trigger("prev.owl.carousel"),e(d)})),t==k.mobile?u>5?(C.show(),S.hide()):(C.hide(),S.show()):(C.show(),S.show())):(C.hide(),S.hide())}function r(t){l.on("initialized.owl.carousel",function(e){function i(){C=$(".owl-nav",$(e.target)),S=$(".owl-dots",$(e.target)),S.length>0&&(clearInterval(r),n(t))}u=parseInt(e.item.count);var r=setInterval(i,100)}),l=l.owlCarousel(A)}function o(t){r(t),i()}var s=$(this),a=window,l=(s.html(),s),u=0,c=s.data("gta-category"),h=s.data("gta-action"),p=s.data("gta-label")?s.data("gta-label"):"";t(p)||(p="_"+p);var d="carousel"+p+"_leftarrow",f="carousel"+p+"_rightarrow",m="carousel"+p+"_circle",g=s.data("nav-text-prev");if(t(g))return console.error("Carousel previous button text data attribute wasn't exist!"),!1;var v=s.data("nav-text-next");if(t(v))return console.error("Carousel next button text data attribute wasn't exist!"),!1;var y=s.data("start-position")?s.data("start-position"):0,w=s.parents(".carousel-wrapper"),b=$(".custom-navigation",w).hide(),x=$(".next",b),T=$(".prev",b),C=[],S=[],k={mobile:"mobile",desktop:"desktop"},A={items:1,loop:!0,nav:!0,navText:[''+g+"",''+v+""],dots:!0,startPosition:y},P=s.data("options")?s.data("options"):{};$.extend(A,P),s.on("carouselNext.GARNIER",function(t){$(this).trigger("next.owl.carousel")}),s.on("carouselPrev.GARNIER",function(t){$(this).trigger("prev.owl.carousel")}),s.on("carouselToPosition.GARNIER",function(t,e){$(this).trigger("to.owl.carousel",[e,1,!0])}),s.on("carouselDestroy.GARNIER",function(t){$(this).trigger("destroy.owl.carousel")});var O={match:function(){s.trigger("carouselDestroy.GARNIER"),o(k.mobile)},unmatch:function(){s.trigger("carouselDestroy.GARNIER")}};enquire.register(NASACORT.mediaqueries.mobile,O);var N={match:function(){o(k.desktop)}};enquire.register(NASACORT.mediaqueries.not_mobile,N,!0)})};var NASACORT=NASACORT||{};NASACORT.footable={},NASACORT.footable=function(t){$(this.elems).each(function(){function t(t){return"undefined"!=typeof t&&""!==t}function e(t){var e=$(t),i=e.html();e.data("name",i)}function i(){o.trigger("click")}var n=$(this),r=!0,o=$(".fn-collapse-all",n),s=$("thead th:not(:first-child)",n),a=n.data("thead-title-html"),l=!!t(a)&&a,u=n.data("auto-expand-first-row"),c=!t(u)||u,h={phone:718,tablet:720},p=n.data("maxsize-phone"),d=n.data("maxsize-tablet");t(p)&&t(d)&&$.extend(h,{phone:p,tablet:d}),l&&_.each(s,e),n.footable({breakpoints:{phone:h.phone,tablet:h.tablet}}),n.bind("footable_breakpoint",function(){n.trigger("footable_expand_first_row"),l&&n.trigger("footable_row_expanded")}),n.on("footable_row_expanded",function(t){n.removeClass("enhance-tooltips-applied"),n.enhance()}),o.click(function(t){t.preventDefault();var e=$(this).data("trigger");n.trigger(e).trigger("footable_redraw")});var f={match:function(){r?c&&(console.log("footable :: Mobile matched :: ELSE"),n.trigger("footable_expand_first_row")):(console.log("footable :: Mobile matched :: IF"),r=!1,i())},unmatch:function(){$(".footable-row-detail",n).remove()}};enquire.register(NASACORT.mediaqueries.mobile,f);var m={match:function(){r?c&&n.trigger("footable_expand_first_row"):(r=!1,i())},unmatch:function(){$(".footable-row-detail",n).remove()}};enquire.register(NASACORT.mediaqueries.tablet,m)})},$(document).ready(function(){function t(t){t.preventDefault(),n=!0,h=o.serializeArray(),$(p).each(function(t,e){""===e.value&&($(e).parent().addClass("error"),n=!1)}),e()}function e(){h=o.serializeArray(),d.is(":checked")||(n=!1,$(d).parent().addClass("error")),$(h).each(function(t,e){var i=$("[name="+e.name+"]");"adress2"!==e.name&&(""===e.value?(i.parent().addClass("error"),n=!1):i.parent().hasClass("error")&&i.parent().removeClass("error"))}),i()}function i(){console.log(n),n?o.submit():$("html, body").animate({scrollTop:$(".error").first().offset().top-$(".main-navigation").outerHeight()},500)}var n,r=$("#refund-form-submit"),o=$("#refund-form"),s=$("#form-date-picker"),a=new Date,l=a.toISOString().substring(0,10),u=new Date((new Date).setDate(a.getDate()-30)),c=u.toISOString().substring(0,10);$(s).prop("max",l).prop("min",c),r.on("click",t);var h,p=$("select"),d=$("input[type=checkbox]");$("input[name='phone']").keyup(function(){var t=$(this).val(),e=t.replace(/\D/g,""),i=e.length;i>=1&&(e="("+e.substring(0)),i>=3&&(e=e.substring(0,4)+") "+e.substring(4)),i>=6&&(e=e.substring(0,9)+"-"+e.substring(9)),e!=t&&$(this).focus().val("").val(e)})});var NASACORT=NASACORT||{};NASACORT.glayout={},NASACORT.glayout=function(t){$(this.elems).each(function(){var t=$(this),e=[];e.push(".fn-adjust-0"),e.push(".fn-adjust-1"),e.push(".fn-adjust-2"),e.push(".fn-adjust-3"),e.push(".fn-adjust-4");var i=function(t){return $.map(t,function(t){return $(t).height()})},n=function(n){setTimeout(function(){var r,o="";n&&(o=":not(.fn-adjust-applied)");var s=$(".fn-adjust-line"+o,t);s.filter(":visible").each(function(){var t=$(this);t.addClass("fn-adjust-applied");var n=[];for(r=0;r0&&(o.css({display:"block",minHeight:"1px",height:"auto"}),n=i(o),o.css("height",Math.max.apply(Math,n)))}}),$(document.documentElement).trigger("layout.update")},500)},r=function(){var i,n,r=t;for(i=0;i0&&n.css({display:"",minHeight:"",height:""})},o={match:function(){n()},unmatch:function(){r()}};enquire.register(NASACORT.mediaqueries.tablet,o);var s={match:function(){n()},unmatch:function(){n()}};enquire.register(NASACORT.mediaqueries.desktop,s,!0)})};var NASACORT=NASACORT||{};NASACORT.iframeResize={},NASACORT.iframeResize=function(t){$(this.elems).each(function(){function t(){var t=n.width(),e=t,i=Math.round(t/c);return{width:e,height:i}}function e(e){var r=t(),o=0;i=e;var s=setInterval(function(){o++;var t=$("iframe",n);t.length>0&&(t.attr("width",r.width),t.attr("height",r.height),clearInterval(s)),20===o&&(console.error("iframeResize :: The iframe tag was not found!"),clearInterval(s))},500)}var i,n=$(this),r=$(window),o=!1,s={width:854,height:480},a={mobile:"mobile",tablet:"tablet",desktop:"desktop",notMobile:"notmobile"},l=n.data("video-width"),u=n.data("video-height");"undefined"!=typeof l&&"undefined"!=typeof u&&$.extend(s,{width:l,height:u});var c=s.width/s.height;n.on("videoResize.NASACORT",_.debounce(function(){o&&e(i)},500)),r.resize(function(){n.trigger("videoResize.NASACORT")});var h={match:function(){o=!0,e(a.mobile)}};enquire.register(NASACORT.mediaqueries.mobile,h);var p={match:function(){o=!0,e(a.tablet)}};enquire.register(NASACORT.mediaqueries.tablet,p);var d={match:function(){o=!1,e(a.desktop)}};enquire.register(NASACORT.mediaqueries.desktop,d,!0)})};var NASACORT=NASACORT||{};NASACORT.inputAnimation={},NASACORT.inputAnimation=function(t){$(this.elems).each(function(){function t(){$(this).val().length&&!e.hasClass("dirty")?e.addClass("dirty"):!$(this).val().length&&e.hasClass("dirty")&&e.removeClass("dirty"),console.log($(this).val())}var e=($(window),$(this)),i=(e.children("label"),e.children("input"));i.on("change",t),i.on("focus",function(){e.addClass("focus")}),i.on("blur",function(){e.removeClass("focus")})})};var NASACORT=NASACORT||{};NASACORT.modalAjax={},NASACORT.modalAjax=function(t){$(this.elems).each(function(){function t(t){return"undefined"!=typeof t&&""!==t}function e(t){var e=$(".preloader"),i=$(".gn-modal-ajax");e.length>0&&i.length>0&&(e.addClass("preload-hide"),i.removeClass("mfp-hidden"))}function i(){var t=n.magnificPopup(l);t.magnificPopup("open")}var n=$(this),r="en"===NASACORT.lang?"Close":"Fermer",o="en"===NASACORT.lang?"Loading":"Chargement",s=n.data("modal-bkg-color"),a=t(s)?s:"gn-modal-bkg-grey-light",l={tClose:r,tLoading:o,mainClass:a,type:"ajax",callbacks:{beforeClose:function(){},ajaxContentAdded:function(){var i=this.contentContainer,r=n.data("modal-title"),o=n.data("modal-description"),s=$(".fn-modal-title",i),a=$(".fn-modal-description",i);t(r)&&s.length>0&&s.html(r),t(o)&&a.length>0&&a.html(o);var l=$(this.container);$(".mfp-close, .close-bt",l).on("click",function(t){t.preventDefault(),n.magnificPopup("close")}),$(".mdl-test-page").on("click",function(t){t.stopPropagation()}),u?setTimeout(function(){e(),i.enhance()},5e3):(e(),i.enhance())}}};n.on("modalAjaxShow.NASACORT",function(t,i){e()}),n.magnificPopup(l);var u=!1;u&&i()})};var NASACORT=NASACORT||{};NASACORT.modal={},NASACORT.modal=function(t){$(this.elems).each(function(){function t(t){return"undefined"!=typeof t&&""!==t}function e(t){if(t){var e=t;c=$.extend(c,{items:{src:e}});var i=e.magnificPopup(c);i.magnificPopup("open")}}var i=$(this),n="en"===NASACORT.lang?"Close":"Fermer",r="en"===NASACORT.lang?"Loading":"Chargement",o=i.data("modal-bkg-color"),s=t(o)?o:"gn-modal-bkg-grey-light",a=i.data("modal-type"),l=t(a)?a:"inline",u="wmode=transparent&theme=light&modestbranding=1&showinfo=0&rel=0&color=white&enablejsapi=1&autoplay=1",c={tLoading:r,tClose:n,mainClass:"mfp-zoom-in "+s,type:l,callbacks:{open:function(){var t=$(i.attr("href"));$(".mfp-close, .fn-close-bt",t).on("click",function(){i.magnificPopup("close")})}}};if("iframe"===l){var h={iframe:{patterns:{youtube:{index:"youtube.com/",id:"v=",src:"//www.youtube.com/embed/%id%?"+u}}}};c=$.extend(c,h)}"image"===l&&(c.callbacks={open:function(){$(".mfp-close, .fn-close-bt").on("click",function(){i.magnificPopup("close")})}}),i.magnificPopup(c);var p=!1;if(p){var d=$(i.attr("href"));e(d)}})};var NASACORT=NASACORT||{};NASACORT.responsiveImageSrc={},NASACORT.responsiveImageSrc=function(t){!function(t){t.retina=function(e,i){var n={delay:null,preload:!1,dataSrcRetina:"data-src-retina",dataSrcMobile:"data-src-mobile"};return this.options=t.extend({},n,i),this.el=t(e),this},t.extend(t.retina.prototype,{check:function(){var t=!1;if(window.matchMedia){var e=["(-webkit-min-device-pixel-ratio: 2)"];e.push("(min--moz-device-pixel-ratio: 2)"),e.push("(-o-min-device-pixel-ratio: 2/1)"),e.push("(min-device-pixel-ratio: 2)"),e.push("(min-resolution: 192dpi)"),e.push("(min-resolution: 2dppx)"),window.matchMedia(e.join(",")).matches&&(t=!0)}return t}});var e=function(e){var i=arguments[1]||null,n=arguments[2]||null,r=arguments[3]||null,o=arguments[4]||null,s=null,a=null;t("img",e).each(function(e,l){var u=t(l);if(s=o?n:r,a=u.attr(s),a&&a.length>0)if(i){var c=t(new Image);c.load(function(e){var i=t(e.target),n=i.attr("src");this.attr("src",n)}.bind(u)),c.attr("src",a)}else u.attr("src",a)})};t.fn.retina=function(i){var n=new t.retina(this,i),r=n.options,o=n.check();if(r.delay)var s=window.setTimeout(function(t){s&&(window.clearTimeout(s),s=null),e(t,r.preload,r.dataSrcRetina,r.dataSrcMobile,o)},r.delay,this);else e(this,r.preload,r.dataSrcRetina,r.dataSrcMobile,o)}}(jQuery),$(this.elems).each(function(){var t=$(this),e=function(e){e?$("img",t).each(function(){var t=$(this),e=t.attr("data-src-desktop");e&&e.length>0&&t.attr("src",e)}):t.retina()},i={match:function(){e(!1)}};enquire.register(NASACORT.mediaqueries.mobile,i);var n={match:function(){e(!1)}};enquire.register(NASACORT.mediaqueries.tablet,n);var r={match:function(){e(!0)}};enquire.register(NASACORT.mediaqueries.desktop,r,!0)})};var NASACORT=NASACORT||{};NASACORT.scrollTo={},NASACORT.scrollTo=function(t){$(this.elems).each(function(){function t(){var t,e=$(".main-navigation"),i=e.outerHeight(!0),r=s.scrollTarget.offset().top-20;return t="mobile"===n?parseInt(r)-parseInt(i):parseInt(r)}var e=$(window),i=$(this),n="desktop",r=i.data("options"),o=$(i.attr("href"));if(o.length<=0)return console.error("The $target container wasn't exist!"),!1;var s=$.extend({scrollTarget:o,duration:1,easing:"easeOutExpo"},r);i.click(function(i){i.preventDefault();var n=t();TweenMax.to(e,s.duration,{scrollTo:{y:n,autoKill:!0},ease:s.easing})});var a={match:function(){n="mobile"},unmatch:function(){n="desktop"}};enquire.register(NASACORT.mediaqueries.mobile,a)})},$(document).ready(function(){function t(t){var e=t.currentTarget;$(e).hasClass("active")?$(e).removeClass("active"):$(e).addClass("active")}function e(t){var e=t.currentTarget;$(e).hasClass("active")&&$(e).removeClass("active")}var i=$("select");i.on("click",t),i.on("blur",e)}),$(document).ready(function(){function t(){i.hasClass("expanded")?i.removeClass("expanded"):i.addClass("expanded")}var e=$("#form-how-toggler"),i=$(".how-to-content");e.on("click",t)});var NASACORT=NASACORT||{};NASACORT.tooltips={},NASACORT.tooltips=function(t){$(this.elems).each(function(){function t(t){return"undefined"!=typeof t&&""!==t}function e(e){var i=$(e),n={},r=i.data("tooltips-placement"),o=i.data("tooltips-html");r=t(r)?r:"auto top",o=!!t(o)&&o;var s=i.data("tooltips-html-target"),a=t(s)?$(s):"",l={placement:r,trigger:"manual",html:o,container:i};if(t(s)){var u=a.html();a.remove(),t(o)&&(n={title:u},l=$.extend(l,n))}i.tooltip(l)}function i(){s.off("hover touchstart touchend focus"),s.on("click",function(t){function e(t){t.hasClass("is-open")?(t.removeClass("is-open"),t.tooltip("hide")):(t.addClass("is-open"),t.tooltip("show"))}t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault(),setTimeout(e($(this)),1e3)})}function n(){s.on("mouseenter focusin",function(t){t.preventDefault(),$(this).tooltip("show")}),s.on("mouseleave focusout",function(t){t.preventDefault(),$(this).tooltip("hide")}),s.on("click",function(t){t.preventDefault()})}var r=$(this),o=$(window),s=$('[data-toggle="tooltip"]',r),a=NASACORT.isTouch();r.on("tooltipClose.NASACORT",_.debounce(function(){s.tooltip("hide")},200)),o.resize(_.debounce(function(){r.trigger("tooltipClose.NASACORT")},200)),_.each(s,e),a?i():n()})};var NASACORT=NASACORT||{};NASACORT.waypointsImage=function(t){$(this.elems).each(function(){function t(){s?_.each(o,function(t){var e=$(t);new Waypoint({element:e,handler:function(){var t=$(this.element);TweenMax.to(t,a,{css:{opacity:1},ease:u})},offset:l})}):_.each(n,function(t){var e=$(t);new Waypoint({element:e,handler:function(){var t=$(this.element);TweenMax.to(t,a,{css:{opacity:1},ease:u}),TweenMax.to(r,a,{delay:.2,css:{opacity:1},ease:u})},offset:l})})}function e(){Waypoint.disableAll(),s?o.css("opacity","1"):(n.css("opacity","1"),r.css("opacity","1"))}var i=$(this),n=$(".waypoints-image",i),r=$(".waypoints-text",i),o=$(".waypoints",i),s=i.data("individual"),a=.6,l=i.data("waypoints-offset")?i.data("waypoints-offset"):"90%",u=Linear.easeOut;n.css("opacity","0"),r.css("opacity","0"),o.css("opacity","0");var c={match:function(){e()}};enquire.register(NASACORT.mediaqueries.mobile,c);var h={match:function(){e()}};enquire.register(NASACORT.mediaqueries.tablet,h);var p={match:function(){t()}};enquire.register(NASACORT.mediaqueries.desktop,p,!0)})};var NASACORT=NASACORT||{};NASACORT.mediaqueries={mobile:"only screen and (max-width: 767px)",not_mobile:"only screen and (min-width: 768px)",tablet:"only screen and (min-width: 768px) and (max-width: 991px)",mobile_tablet:"only screen and (max-width: 991px)",desktop:"only screen and (min-width: 992px)"},NASACORT.isTouch=function(){return!_.isUndefined(window.ontouchstart)||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0},NASACORT.lang=$("html").attr("lang")?$("html").attr("lang"):"en",$.enhance(NASACORT.responsiveImageSrc,{id:"responsive-image-src",title:"Nasacort Responsive Retina"}),$.enhance(NASACORT.waypointsImage,{id:"waypoints-image",title:"Nasacort Waypoints Image"}),$.enhance(NASACORT.iframeResize,{id:"iframe-resize",title:"RWD iFrame Resize"}),$.enhance(NASACORT.carousel,{id:"carousel",title:"Nasacort carousel"}),$.enhance(NASACORT.modal,{id:"modal",title:"Nasacort Magnific Popup"}),$.enhance(NASACORT.modalAjax,{id:"modal-ajax",title:"Nasacort Magnific Popup Ajax"}),$.enhance(NASACORT.tooltips,{id:"tooltips",title:"Nasacort tooltips"}),$.enhance(NASACORT.footable,{id:"footable",title:"Nasacort Footable - Table RWD"}),$.enhance(NASACORT.glayout,{id:"glayout",title:"Nasacort Set height of the elements"}),$.enhance(NASACORT.scrollTo,{id:"scrollto",title:"Nasacort Scroll To X position"}),$.enhance(NASACORT.inputAnimation,{id:"input-animation",title:"Nasacort input label handling"}),$(document).ready(function(){function t(){r.hasClass("opened")?i():(e(),s||(s=!0,setTimeout(function(){$("body").on("touchend",n)},50)))}function e(){r.hasClass("opened")||r.addClass("opened")}function i(){r.hasClass("opened")&&r.removeClass("opened"),s&&($("body").off("touchend",n),s=!1)}function n(t){$(t.target).hasClass("link")||i()}$(this).enhance();var r=$(".item.has-submenu"),o=r.find("p.link"),s=!1;o.on("touchend",t),r.on("mouseenter",e),r.on("mouseleave",i)});