// source --> https://aoralscan.sk/wp-includes/js/jquery/jquery.min.js?ver=3.7.1 
/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
jQuery.noConflict();
// source --> https://aoralscan.sk/wp-content/plugins/fwd360pv/js/FWDViewer.js?ver=6.9.4 
var _fwd_fwdScope;!function(t){function s(){}s.dumy=document.createElement("div"),s.trim=function(e){return e.replace(/\s/gi,"")},s.trimAndFormatUrl=function(e){return e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.toLocaleLowerCase()).replace(/ /g,"-")).replace(/ä/g,"a")).replace(/â/g,"a")).replace(/â/g,"a")).replace(/à/g,"a")).replace(/è/g,"e")).replace(/é/g,"e")).replace(/ë/g,"e")).replace(/ï/g,"i")).replace(/î/g,"i")).replace(/ù/g,"u")).replace(/ô/g,"o")).replace(/ù/g,"u")).replace(/û/g,"u")).replace(/ÿ/g,"y")).replace(/ç/g,"c")).replace(/œ/g,"ce")},s.splitAndTrim=function(e,t,o){for(var n=e.split(","),r=n.length,i=0;i<r;i++)t&&(n[i]=s.trim(n[i])),o&&(n[i]=n[i].toLowerCase());return n},s.indexOfArray=function(e,t){for(var o=e.length,n=0;n<o;n++)if(e[n]===t)return n;return-1},s.randomizeArray=function(e){for(var t=[],o=e.concat(),n=o.length,r=0;r<n;r++){var i=Math.floor(Math.random()*o.length);t.push(o[i]),o.splice(i,1)}return t},s.parent=function(e,t){for(void 0===t&&(t=1);t--&&e;)e=e.parentNode;return e&&1===e.nodeType?e:null},s.sibling=function(e,t){for(;e&&0!==t;)if(0<t){if(e.nextElementSibling)e=e.nextElementSibling;else for(e=e.nextSibling;e&&1!==e.nodeType;e=e.nextSibling);t--}else{if(e.previousElementSibling)e=e.previousElementSibling;else for(e=e.previousSibling;e&&1!==e.nodeType;e=e.previousSibling);t++}return e},s.getChildAt=function(e,t){var o=s.getChildren(e);return t<0&&(t+=o.length),t<0?null:o[t]},s.getChildById=function(e){return document.getElementById(e)||void 0},s.getChildren=function(e,t){for(var o=[],n=e.firstChild;null!=n;n=n.nextSibling)(t||1===n.nodeType)&&o.push(n);return o},s.getChildrenFromAttribute=function(e,t,o){for(var n=[],r=e.firstChild;null!=r;r=r.nextSibling)(o&&s.hasAttribute(r,t)||1===r.nodeType&&s.hasAttribute(r,t))&&n.push(r);return 0==n.length?void 0:n},s.getChildFromNodeListFromAttribute=function(e,t,o){for(var n=e.firstChild;null!=n;n=n.nextSibling){if(o&&s.hasAttribute(n,t))return n;if(1===n.nodeType&&s.hasAttribute(n,t))return n}},s.getAttributeValue=function(e,t){if(s.hasAttribute(e,t))return e.getAttribute(t)},s.hasAttribute=function(e,t){return e.hasAttribute?e.hasAttribute(t):!!e.attributes[t]},s.insertNodeAt=function(e,t,o){var n=s.children(e);if(o<0||o>n.length)throw new Error("invalid index!");e.insertBefore(t,n[o])},s.hasCanvas=function(){return Boolean(document.createElement("canvas"))},s.hitTest=function(e,t,o){if(!e)throw Error("Hit test target is null!");var n=e.getBoundingClientRect();return t>=n.left&&t<=n.left+(n.right-n.left)&&o>=n.top&&o<=n.top+(n.bottom-n.top)},s.getScrollOffsets=function(){return null!=t.pageXOffset?{x:t.pageXOffset,y:t.pageYOffset}:"CSS1Compat"==document.compatMode?{x:document.documentElement.scrollLeft,y:document.documentElement.scrollTop}:void 0},s.getViewportSize=function(){return!(s.hasPointerEvent&&1<navigator.msMaxTouchPoints)&&s.isMobile?{w:t.innerWidth,h:t.innerHeight}:{w:document.documentElement.clientWidth||t.innerWidth,h:document.documentElement.clientHeight||t.innerHeight}},s.getViewportMouseCoordinates=function(e){var t=s.getScrollOffsets();return e.touches?{screenX:null==e.touches[0]?e.touches.pageX-t.x:e.touches[0].pageX-t.x,screenY:null==e.touches[0]?e.touches.pageY-t.y:e.touches[0].pageY-t.y}:{screenX:null==e.clientX?e.pageX-t.x:e.clientX,screenY:null==e.clientY?e.pageY-t.y:e.clientY}},s.hasPointerEvent=Boolean(t.navigator.msPointerEnabled),s.isMobile=function(){if(s.hasPointerEvent&&1<navigator.msMaxTouchPoints)return!0;var e=["android","webos","iphone","ipad","blackberry"];for(i in e)if(-1!=navigator.userAgent.toLowerCase().indexOf(e[i].toLowerCase()))return!0;return"macintel"===navigator.platform.toLowerCase()&&1<navigator.maxTouchPoints&&!t.MSStream}(),s.isAndroid=-1!=navigator.userAgent.toLowerCase().indexOf("android".toLowerCase()),s.isChrome=-1!=navigator.userAgent.toLowerCase().indexOf("chrome"),s.isSafari=-1!=navigator.userAgent.toLowerCase().indexOf("safari")&&-1==navigator.userAgent.toLowerCase().indexOf("chrome"),s.isOpera=-1!=navigator.userAgent.toLowerCase().indexOf("opera")&&-1==navigator.userAgent.toLowerCase().indexOf("chrome"),s.isFirefox=-1!=navigator.userAgent.toLowerCase().indexOf("firefox"),s.isIE=-1!=navigator.userAgent.toLowerCase().indexOf("msie"),s.isIEAndLessThen9=-1!=navigator.userAgent.toLowerCase().indexOf("msie 7")||-1!=navigator.userAgent.toLowerCase().indexOf("msie 8"),s.isApple=-1!=navigator.appVersion.toLowerCase().indexOf("mac"),s.hasFullScreen=s.dumy.requestFullScreen||s.dumy.mozRequestFullScreen||s.dumy.webkitRequestFullScreen||s.dumy.msieRequestFullScreen,s.get3d=function(){for(var e,t,o=["transform","msTransform","WebkitTransform","MozTransform","OTransform","KhtmlTransform"];e=o.shift();)if(void 0!==s.dumy.style[e]&&(s.dumy.style.position="absolute",t=s.dumy.getBoundingClientRect().left,s.dumy.style[e]="translate3d(500px, 0px, 0px)",100<(t=Math.abs(s.dumy.getBoundingClientRect().left-t))&&t<900)){try{document.documentElement.removeChild(s.dumy)}catch(e){}return!0}try{document.documentElement.removeChild(s.dumy)}catch(e){}return!1},s.get2d=function(){for(var e,t=["transform","msTransform","WebkitTransform","MozTransform","OTransform","KhtmlTransform"];e=t.shift();)if(void 0!==s.dumy.style[e])return!0;try{document.documentElement.removeChild(s.dumy)}catch(e){}return!1},s.checkIfHasTransforms=function(){s.isReadyMethodCalled_bl||(document.documentElement.appendChild(s.dumy),s.hasTransform3d=s.get3d(),s.hasTransform2d=s.get2d(),s.isReadyMethodCalled_bl=!0)},s.onReady=function(e){document.addEventListener?document.addEventListener("DOMContentLoaded",function(){document.documentElement.appendChild(s.dumy),e()}):document.onreadystatechange=function(){document.documentElement.appendChild(s.dumy),"complete"==document.readyState&&e()}},s.disableElementSelection=function(e){try{e.style.userSelect="none"}catch(e){}try{e.style.MozUserSelect="none"}catch(e){}try{e.style.webkitUserSelect="none"}catch(e){}try{e.style.khtmlUserSelect="none"}catch(e){}try{e.style.oUserSelect="none"}catch(e){}try{e.style.msUserSelect="none"}catch(e){}try{e.msUserSelect="none"}catch(e){}e.onselectstart=function(){return!1}},s.getUrlArgs=function(e){for(var t={},o=(e.substr(e.indexOf("?")+1)||location.search.substring(1)).split("&"),n=0;n<o.length;n++){var r=o[n].indexOf("="),i=o[n].substring(0,r),s=o[n].substring(r+1),s=decodeURIComponent(s);t[i]=s}return t},s.validateEmail=function(e){return!!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(e)},s.resizeDoWithLimit=function(e,t,o,n,r,i,s,l,a,d,_,c,u){var h=(t=t-i)/n,p=(o=o-s)/r,m=0;h<=p?m=h:p<=h&&(m=p);var g=Math.round(n*m),f=Math.round(r*m),v=Math.floor((t-n*m)/2+l),b=Math.floor((o-r*m)/2+a);d?FWDAnimation.to(e,_,{x:v,y:b,w:g,h:f,delay:c,ease:u}):(e.x=v,e.y=b,e.w=g,e.h=f)},s.isReadyMethodCalled_bl=!1,t.FWDUtils=s}(window),window.FWDAnimation||(((_fwd_fwdScope="undefined"!=typeof fwd_module&&fwd_module.exports&&"undefined"!=typeof fwd_global?fwd_global:this||window)._fwd_fwdQueue||(_fwd_fwdScope._fwd_fwdQueue=[])).push(function(){"use strict";function v(e,t,o,n){o===n&&(o=n-(n-t)/1e6),e===t&&(t=e+(o-e)/1e6),this.a=e,this.b=t,this.c=o,this.d=n,this.da=n-e,this.ca=o-e,this.ba=t-e}function T(e,t,o,n){var r={a:e},i={},s={},l={c:n},a=(e+t)/2,d=(t+o)/2,_=(o+n)/2,c=(a+d)/2,u=(d+_)/2,h=(u-c)/8;return r.b=a+(e-a)/4,i.b=c+h,r.c=i.a=(r.b+i.b)/2,i.c=s.a=(c+u)/2,s.b=u-h,l.b=_+(n-_)/4,s.c=l.a=(s.b+l.b)/2,[r,i,s,l]}function h(e,t,o,n,r,i){var s,l,a,d,_,c,u,h,p={},m=[],g=i||e[0];for(l in r="string"==typeof r?","+r+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==t&&(t=1),e[0])m.push(l);if(1<e.length){for(h=e[e.length-1],u=!0,s=m.length;-1<--s;)if(l=m[s],.05<Math.abs(g[l]-h[l])){u=!1;break}u&&(e=e.concat(),i&&e.unshift(i),e.push(e[1]),i=e[e.length-3])}for(S.length=B.length=O.length=0,s=m.length;-1<--s;)l=m[s],f[l]=-1!==r.indexOf(","+l+","),p[l]=function(e,t,o,n){var r,i,s,l,a,d,_=[];if(n)for(i=(e=[n].concat(e)).length;-1<--i;)"string"==typeof(d=e[i][t])&&"="===d.charAt(1)&&(e[i][t]=n[t]+Number(d.charAt(0)+d.substr(2)));if((r=e.length-2)<0)return _[0]=new v(e[0][t],0,0,e[r<-1?0:1][t]),_;for(i=0;i<r;i++)s=e[i][t],l=e[i+1][t],_[i]=new v(s,0,0,l),o&&(a=e[i+2][t],S[i]=(S[i]||0)+(l-s)*(l-s),B[i]=(B[i]||0)+(a-l)*(a-l));return _[i]=new v(e[i][t],0,0,e[i+1][t]),_}(e,l,f[l],i);for(s=S.length;-1<--s;)S[s]=Math.sqrt(S[s]),B[s]=Math.sqrt(B[s]);if(!n){for(s=m.length;-1<--s;)if(f[l])for(c=(a=p[m[s]]).length-1,d=0;d<c;d++)_=a[d+1].da/B[d]+a[d].da/S[d]||0,O[d]=(O[d]||0)+_*_;for(s=O.length;-1<--s;)O[s]=Math.sqrt(O[s])}for(s=m.length,d=o?4:1;-1<--s;)(function(e,t,o,n,r){for(var i,s,l,a,d,_,c,u,h,p,m,g,f=e.length-1,v=0,b=e[0].a,w=0;w<f;w++)i=(a=e[v]).a,s=a.d,l=e[v+1].d,c=r?(p=S[w],g=((m=B[w])+p)*t*.25/(!n&&O[w]||.5),s-((d=s-(s-i)*(n?.5*t:0!==p?g/p:0))+(((_=s+(l-s)*(n?.5*t:0!==m?g/m:0))-d)*(3*p/(p+m)+.5)/4||0))):s-((d=s-(s-i)*t*.5)+(_=s+(l-s)*t*.5))/2,d+=c,_+=c,a.c=u=d,a.b=0!==w?b:b=a.a+.6*(a.c-a.a),a.da=s-i,a.ca=u-i,a.ba=b-i,o?(h=T(i,b,u,s),e.splice(v,1,h[0],h[1],h[2],h[3]),v+=4):v++,b=_;(a=e[v]).b=b,a.c=b+.4*(a.d-b),a.da=a.d-a.a,a.ca=a.c-a.a,a.ba=b-a.a,o&&(h=T(a.a,b,a.c,a.d),e.splice(v,1,h[0],h[1],h[2],h[3]))})(a=p[l=m[s]],t,o,n,f[l]),u&&(a.splice(0,d),a.splice(a.length-d,d));return p}var y,S,B,O,f,o,g,e;_fwd_fwdScope.FWDFWD_fwdDefine("FWDAnimation",["core.FWDAnimation","core.FWDSimpleTimeline","FWDTweenLite"],function(g,_,f){function v(e){for(var t=[],o=e.length,n=0;n!==o;t.push(e[n++]));return t}function b(e,t,o){var n,r,i=e.cycle;for(n in i)r=i[n],e[n]="function"==typeof r?r(o,t[o]):r[o%r.length];delete e.cycle}var g=function(e,t,o){f.call(this,e,t,o),this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=g.prototype.render},w=1e-10,T=f._internals,S=T.isSelector,y=T.isArray,e=g.prototype=f.to({},.1,{}),B=[];g.version="1.19.0",e.constructor=g,e.kill()._gc=!1,g.killTweensOf=g.killDelayedCallsTo=f.killTweensOf,g.getTweensOf=f.getTweensOf,g.lagSmoothing=f.lagSmoothing,g.ticker=f.ticker,g.render=f.render,e.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),f.prototype.invalidate.call(this)},e.updateTo=function(e,t){var o,n=this.ratio,r=this.vars.immediateRender||e.immediateRender;for(o in t&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay)),e)this.vars[o]=e[o];if(this._initted||r)if(t)this._initted=!1,r&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&f._onPluginEvent("_onDisable",this),.998<this._time/this._duration){var i=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(i,!0,!1)}else if(this._initted=!1,this._init(),0<this._time||r)for(var s,l=1/(1-n),a=this._firstPT;a;)s=a.s+a.c,a.c*=l,a.s=s-a.c,a=a._next;return this},e.render=function(e,t,o){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,r,i,s,l,a,d,_,c,u=this._dirty?this.totalDuration():this._totalDuration,h=this._time,p=this._totalTime,m=this._cycle,g=this._duration,f=this._rawPrevTime;if(u-1e-7<=e?(this._totalTime=u,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=g,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(n=!0,r="onComplete",o=o||this._timeline.autoRemoveChildren),0===g&&(!this._initted&&this.vars.lazy&&!o||(this._startTime===this._timeline._duration&&(e=0),(f<0||e<=0&&-1e-7<=e||f===w&&"isPause"!==this.data)&&f!==e&&(o=!0,w<f&&(r="onReverseComplete")),this._rawPrevTime=_=!t||e||f===e?e:w))):e<1e-7?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==p||0===g&&0<f)&&(r="onReverseComplete",n=this._reversed),e<0&&(this._active=!1,0===g&&(!this._initted&&this.vars.lazy&&!o||(0<=f&&(o=!0),this._rawPrevTime=_=!t||e||f===e?e:w))),this._initted||(o=!0)):(this._totalTime=this._time=e,0!==this._repeat&&(s=g+this._repeatDelay,this._cycle=this._totalTime/s>>0,0!==this._cycle&&this._cycle===this._totalTime/s&&p<=e&&this._cycle--,this._time=this._totalTime-this._cycle*s,this._yoyo&&0!=(1&this._cycle)&&(this._time=g-this._time),this._time>g?this._time=g:this._time<0&&(this._time=0)),this._easeType?(l=this._time/g,(1===(a=this._easeType)||3===a&&.5<=l)&&(l=1-l),3===a&&(l*=2),1===(d=this._easePower)?l*=l:2===d?l*=l*l:3===d?l*=l*l*l:4===d&&(l*=l*l*l*l),1===a?this.ratio=1-l:2===a?this.ratio=l:this._time/g<.5?this.ratio=l/2:this.ratio=1-l/2):this.ratio=this._ease.getRatio(this._time/g)),h!==this._time||o||m!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!o&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=h,this._totalTime=p,this._rawPrevTime=f,this._cycle=m,T.lazyTweens.push(this),void(this._lazy=[e,t]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/g):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==h&&0<=e&&(this._active=!0),0===p&&(2===this._initted&&0<e&&this._init(),this._startAt&&(0<=e?this._startAt.render(e,t,o):r=r||"_dummyGS"),this.vars.onStart&&(0===this._totalTime&&0!==g||t||this._callback("onStart"))),i=this._firstPT;i;)i.f?i.t[i.p](i.c*this.ratio+i.s):(c=i.c*this.ratio+i.s,"x"==i.p?i.t.setX(c):"y"==i.p?i.t.setY(c):"z"==i.p?i.t.setZ(c):"angleX"==i.p?i.t.setAngleX(c):"angleY"==i.p?i.t.setAngleY(c):"angleZ"==i.p?i.t.setAngleZ(c):"w"==i.p?i.t.setWidth(c):"h"==i.p?i.t.setHeight(c):"alpha"==i.p?i.t.setAlpha(c):"scale"==i.p?i.t.setScale2(c):i.t[i.p]=c),i=i._next;this._onUpdate&&(e<0&&this._startAt&&this._startTime&&this._startAt.render(e,t,o),t||this._totalTime===p&&!r||this._callback("onUpdate")),this._cycle!==m&&(t||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),r&&(this._gc&&!o||(e<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(e,t,o),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[r]&&this._callback(r),0===g&&this._rawPrevTime===w&&_!==w&&(this._rawPrevTime=0)))}else p!==this._totalTime&&this._onUpdate&&(t||this._callback("onUpdate"))},g.to=function(e,t,o){return new g(e,t,o)},g.from=function(e,t,o){return o.runBackwards=!0,o.immediateRender=0!=o.immediateRender,new g(e,t,o)},g.fromTo=function(e,t,o,n){return n.startAt=o,n.immediateRender=0!=n.immediateRender&&0!=o.immediateRender,new g(e,t,n)},g.staggerTo=g.allTo=function(e,t,o,n,r,i,s){function l(){o.onComplete&&o.onComplete.apply(o.onCompleteScope||this,arguments),r.apply(s||o.callbackScope||this,i||B)}n=n||0;var a,d,_,c,u=0,h=[],p=o.cycle,m=o.startAt&&o.startAt.cycle;for(y(e)||("string"==typeof e&&(e=f.selector(e)||e),S(e)&&(e=v(e))),e=e||[],n<0&&((e=v(e)).reverse(),n*=-1),a=e.length-1,_=0;_<=a;_++){for(c in d={},o)d[c]=o[c];if(p&&(b(d,e,_),null!=d.duration&&(t=d.duration,delete d.duration)),m){for(c in m=d.startAt={},o.startAt)m[c]=o.startAt[c];b(d.startAt,e,_)}d.delay=u+(d.delay||0),_===a&&r&&(d.onComplete=l),h[_]=new g(e[_],t,d),u+=n}return h},g.staggerFrom=g.allFrom=function(e,t,o,n,r,i,s){return o.runBackwards=!0,o.immediateRender=0!=o.immediateRender,g.staggerTo(e,t,o,n,r,i,s)},g.staggerFromTo=g.allFromTo=function(e,t,o,n,r,i,s,l){return n.startAt=o,n.immediateRender=0!=n.immediateRender&&0!=o.immediateRender,g.staggerTo(e,t,n,r,i,s,l)},g.delayedCall=function(e,t,o,n,r){return new g(t,0,{delay:e,onComplete:t,onCompleteParams:o,callbackScope:n,onReverseComplete:t,onReverseCompleteParams:o,immediateRender:!1,useFrames:r,overwrite:0})},g.set=function(e,t){return new g(e,0,t)},g.isTweening=function(e){return 0<f.getTweensOf(e,!0).length};var i=function(e,t){for(var o=[],n=0,r=e._first;r;)r instanceof f?o[n++]=r:(t&&(o[n++]=r),n=(o=o.concat(i(r,t))).length),r=r._next;return o},c=g.getAllTweens=function(e){return i(g._rootTimeline,e).concat(i(g._rootFramesTimeline,e))};function n(e,t,o,n){t=!1!==t,o=!1!==o;for(var r,i,s=c(n=!1!==n),l=t&&o&&n,a=s.length;-1<--a;)i=s[a],(l||i instanceof _||(r=i.target===i.vars.onComplete)&&o||t&&!r)&&i.paused(e)}return g.killAll=function(e,t,o,n){null==t&&(t=!0),null==o&&(o=!0);for(var r,i,s=c(0!=n),l=s.length,a=t&&o&&n,d=0;d<l;d++)i=s[d],(a||i instanceof _||(r=i.target===i.vars.onComplete)&&o||t&&!r)&&(e?i.totalTime(i._reversed?0:i.totalDuration()):i._enabled(!1,!1))},g.killChildTweensOf=function(e,t){if(null!=e){var o,n,r,i,s,l=T.tweenLookup;if("string"==typeof e&&(e=f.selector(e)||e),S(e)&&(e=v(e)),y(e))for(i=e.length;-1<--i;)g.killChildTweensOf(e[i],t);else{for(r in o=[],l)for(n=l[r].target.parentNode;n;)n===e&&(o=o.concat(l[r].tweens)),n=n.parentNode;for(s=o.length,i=0;i<s;i++)t&&o[i].totalTime(o[i].totalDuration()),o[i]._enabled(!1,!1)}}},g.pauseAll=function(e,t,o){n(!0,e,t,o)},g.resumeAll=function(e,t,o){n(!1,e,t,o)},g.globalTimeScale=function(e){var t=g._rootTimeline,o=f.ticker.time;return arguments.length?(e=e||w,t._startTime=o-(o-t._startTime)*t._timeScale/e,t=g._rootFramesTimeline,o=f.ticker.frame,t._startTime=o-(o-t._startTime)*t._timeScale/e,t._timeScale=g._rootTimeline._timeScale=e):t._timeScale},e.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this._time/this.duration()},e.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()},e.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),e>this._duration&&(e=this._duration),this._yoyo&&0!=(1&this._cycle)?e=this._duration-e+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(e+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(e,t)):this._time},e.duration=function(e){return arguments.length?g.prototype.duration.call(this,e):this._duration},e.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},e.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},e.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},e.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},g},!0),y=180/Math.PI,S=[],B=[],O=[],f={},o=_fwd_fwdScope.FWDFWD_fwdDefine.globals,e=(g=_fwd_fwdScope.FWDFWD_fwdDefine.plugin({propName:"bezier",priority:-1,version:"1.3.7",API:2,fwd_global:!0,init:function(e,t,o){this._target=e,t instanceof Array&&(t={values:t}),this._func={},this._mod={},this._props=[],this._timeRes=null==t.timeResolution?6:parseInt(t.timeResolution,10);var n,r,i,s,l,a,d=t.values||[],_={},c=d[0],u=t.autoRotate||o.vars.orientToBezier;for(n in this._autoRotate=u?u instanceof Array?u:[["x","y","rotation",!0!==u&&Number(u)||0]]:null,c)this._props.push(n);for(i=this._props.length;-1<--i;)n=this._props[i],this._overwriteProps.push(n),r=this._func[n]="function"==typeof e[n],_[n]=r?e[n.indexOf("set")||"function"!=typeof e["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(e[n]),l||_[n]!==d[0][n]&&(l=_);if(this._beziers="cubic"!==t.type&&"quadratic"!==t.type&&"soft"!==t.type?h(d,isNaN(t.curviness)?1:t.curviness,!1,"thruBasic"===t.type,t.correlate,l):function(e,t,o){var n,r,i,s,l,a,d,_,c,u,h,p={},m="cubic"===(t=t||"soft")?3:2,g="soft"===t,f=[];if(g&&o&&(e=[o].concat(e)),null==e||e.length<1+m)throw"invalid Bezier data";for(c in e[0])f.push(c);for(a=f.length;-1<--a;){for(p[c=f[a]]=l=[],u=0,_=e.length,d=0;d<_;d++)n=null==o?e[d][c]:"string"==typeof(h=e[d][c])&&"="===h.charAt(1)?o[c]+Number(h.charAt(0)+h.substr(2)):Number(h),g&&1<d&&d<_-1&&(l[u++]=(n+l[u-2])/2),l[u++]=n;for(_=u-m+1,d=u=0;d<_;d+=m)n=l[d],r=l[d+1],i=l[d+2],s=2==m?0:l[d+3],l[u++]=h=3==m?new v(n,r,i,s):new v(n,(2*r+n)/3,(2*r+i)/3,i);l.length=u}return p}(d,t.type,_),this._segCount=this._beziers[n].length,this._timeRes&&(a=function(e,t){var o,n,r,i,s=[],l=[],a=0,d=0,_=(t=t>>0||6)-1,c=[],u=[];for(o in e)!function(e,t,o){for(var n,r,i,s,l,a,d,_,c,u,h,p=1/o,m=e.length;-1<--m;)for(i=(u=e[m]).a,s=u.d-i,l=u.c-i,a=u.b-i,n=r=0,_=1;_<=o;_++)n=r-(r=((d=p*_)*d*s+3*(c=1-d)*(d*l+c*a))*d),t[h=m*o+_-1]=(t[h]||0)+n*n}(e[o],s,t);for(r=s.length,n=0;n<r;n++)a+=Math.sqrt(s[n]),u[i=n%t]=a,i===_&&(d+=a,c[i=n/t>>0]=u,l[i]=d,a=0,u=[]);return{length:d,lengths:l,segments:c}}(this._beziers,this._timeRes),this._length=a.length,this._lengths=a.lengths,this._segments=a.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),u=this._autoRotate)for(this._initialRotations=[],u[0]instanceof Array||(this._autoRotate=u=[u]),i=u.length;-1<--i;){for(s=0;s<3;s++)n=u[i][s],this._func[n]="function"==typeof e[n]&&e[n.indexOf("set")||"function"!=typeof e["get"+n.substr(3)]?n:"get"+n.substr(3)];n=u[i][2],this._initialRotations[i]=(this._func[n]?this._func[n].call(this._target):this._target[n])||0,this._overwriteProps.push(n)}return this._startRatio=o.vars.runBackwards?1:0,!0},set:function(e){var t,o,n,r,i,s,l,a,d,_=this._segCount,c=this._func,u=this._target,h=e!==this._startRatio;if(this._timeRes){if(a=this._lengths,d=this._curSeg,e*=this._length,S=this._li,e>this._l2&&S<_-1){for(l=_-1;S<l&&(this._l2=a[++S])<=e;);this._l1=a[S-1],this._li=S,this._curSeg=d=this._segments[S],this._s2=d[this._s1=this._si=0]}else if(e<this._l1&&0<S){for(;0<S&&(this._l1=a[--S])>=e;);0===S&&e<this._l1?this._l1=0:S++,this._l2=a[S],this._li=S,this._curSeg=d=this._segments[S],this._s1=d[(this._si=d.length-1)-1]||0,this._s2=d[this._si]}if(t=S,e-=this._l1,S=this._si,e>this._s2&&S<d.length-1){for(l=d.length-1;S<l&&(this._s2=d[++S])<=e;);this._s1=d[S-1],this._si=S}else if(e<this._s1&&0<S){for(;0<S&&(this._s1=d[--S])>=e;);0===S&&e<this._s1?this._s1=0:S++,this._s2=d[S],this._si=S}i=(S+(e-this._s1)/(this._s2-this._s1))*this._prec||0}else i=(e-(t=e<0?0:1<=e?_-1:_*e>>0)*(1/_))*_;for(o=1-i,S=this._props.length;-1<--S;)n=this._props[S],s=(i*i*(r=this._beziers[n][t]).da+3*o*(i*r.ca+o*r.ba))*i+r.a,this._mod[n]&&(s=this._mod[n](s,u)),c[n]?u[n](s):"x"==n?u.setX(s):"y"==n?u.setY(s):"z"==n?u.setZ(s):"angleX"==n?u.setAngleX(s):"angleY"==n?u.setAngleY(s):"angleZ"==n?u.setAngleZ(s):"w"==n?u.setWidth(s):"h"==n?u.setHeight(s):"alpha"==n?u.setAlpha(s):"scale"==n?u.setScale2(s):u[n]=s;if(this._autoRotate)for(var p,m,g,f,v,b,w,T=this._autoRotate,S=T.length;-1<--S;)n=T[S][2],b=T[S][3]||0,w=!0===T[S][4]?1:y,r=this._beziers[T[S][0]],p=this._beziers[T[S][1]],r&&p&&(r=r[t],p=p[t],m=r.a+(r.b-r.a)*i,m+=((f=r.b+(r.c-r.b)*i)-m)*i,f+=(r.c+(r.d-r.c)*i-f)*i,g=p.a+(p.b-p.a)*i,g+=((v=p.b+(p.c-p.b)*i)-g)*i,v+=(p.c+(p.d-p.c)*i-v)*i,s=h?Math.atan2(v-g,f-m)*w+b:this._initialRotations[S],this._mod[n]&&(s=this._mod[n](s,u)),c[n]?u[n](s):u[n]=s)}})).prototype,g.bezierThrough=h,g.cubicToQuadratic=T,g._autoCSS=!0,g.quadraticToCubic=function(e,t,o){return new v(e,(2*t+e)/3,(2*t+o)/3,o)},g._cssRegister=function(){var e,h,p,m,t=o.CSSPlugin;t&&(e=t._internals,h=e._parseToProxy,p=e._setPluginRatio,m=e.CSSPropTween,e._registerComplexSpecialProp("bezier",{parser:function(e,t,o,n,r,i){t instanceof Array&&(t={values:t}),i=new g;var s,l,a,d=t.values,_=d.length-1,c=[],u={};if(_<0)return r;for(s=0;s<=_;s++)a=h(e,d[s],n,r,i,_!==s),c[s]=a.end;for(l in t)u[l]=t[l];return u.values=c,(r=new m(e,"bezier",0,0,a.pt,2)).data=a,r.plugin=i,r.setRatio=p,0===u.autoRotate&&(u.autoRotate=!0),!u.autoRotate||u.autoRotate instanceof Array||(s=!0===u.autoRotate?0:Number(u.autoRotate),u.autoRotate=null!=a.end.left?[["left","top","rotation",s,!1]]:null!=a.end.x&&[["x","y","rotation",s,!1]]),u.autoRotate&&(n._transform||n._enableTransforms(!1),a.autoRotate=n._target._fwdTransform,a.proxy.rotation=a.autoRotate.rotation||0,n._overwriteProps.push("rotation")),i._onInitTween(a.proxy,u,n._tween),r}}))},e._mod=function(e){for(var t,o=this._overwriteProps,n=o.length;-1<--n;)(t=e[o[n]])&&"function"==typeof t&&(this._mod[o[n]]=t)},e._kill=function(e){var t,o,n=this._props;for(t in this._beziers)if(t in e)for(delete this._beziers[t],delete this._func[t],o=n.length;-1<--o;)n[o]===t&&n.splice(o,1);if(n=this._autoRotate)for(o=n.length;-1<--o;)e[n[o][2]]&&n.splice(o,1);return this._super._kill.call(this,e)},_fwd_fwdScope.FWDFWD_fwdDefine("plugins.CSSPlugin",["plugins.TweenPlugin","FWDTweenLite"],function(i,R){var p,B,O,m,z=function(){i.call(this,"css"),this._overwriteProps.length=0,this.setRatio=z.prototype.setRatio},d=_fwd_fwdScope.FWDFWD_fwdDefine.globals,g={},e=z.prototype=new i("css");function s(e,t){return t.toUpperCase()}function t(e){return $.createElementNS?$.createElementNS("http://www.w3.org/1999/xhtml",e):$.createElement(e)}function l(e){return L.test("string"==typeof e?e:(e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100:1}function f(e){window.console&&console.log(e)}function H(e,t){var o,n,r=(t=t||J).style;if(void 0!==r[e])return e;for(e=e.charAt(0).toUpperCase()+e.substr(1),o=["O","Moz","ms","Ms","Webkit"],n=5;-1<--n&&void 0===r[o[n]+e];);return 0<=n?(re="-"+(ie=3===n?"ms":o[n]).toLowerCase()+"-",ie+e):null}function v(e,t){var o,n,r,i={};if(t=t||se(e,null))if(o=t.length)for(;-1<--o;)-1!==(r=t[o]).indexOf("-transform")&&Ae!==r||(i[r.replace(u,s)]=t.getPropertyValue(r));else for(o in t)-1!==o.indexOf("Transform")&&Le!==o||(i[o]=t[o]);else if(t=e.currentStyle||e.style)for(o in t)"string"==typeof o&&void 0===i[o]&&(i[o.replace(u,s)]=t[o]);return ne||(i.opacity=l(e)),n=je(e,t,!1),i.rotation=n.rotation,i.skewX=n.skewX,i.scaleX=n.scaleX,i.scaleY=n.scaleY,i.x=n.x,i.y=n.y,Re&&(i.z=n.z,i.rotationX=n.rotationX,i.rotationY=n.rotationY,i.scaleZ=n.scaleZ),i.filters&&delete i.filters,i}function b(e,t,o,n,r){var i,s,l,a={},d=e.style;for(s in o)"cssText"!==s&&"length"!==s&&isNaN(s)&&(t[s]!==(i=o[s])||r&&r[s])&&-1===s.indexOf("Origin")&&("number"!=typeof i&&"string"!=typeof i||(a[s]="auto"!==i||"left"!==s&&"top"!==s?""!==i&&"auto"!==i&&"none"!==i||"string"!=typeof t[s]||""===t[s].replace(_,"")?i:0:de(e,s),void 0!==d[s]&&(l=new be(d,s,d[s],l))));if(n)for(s in n)"className"!==s&&(a[s]=n[s]);return{difs:a,firstMPT:l}}function W(e,t){return"function"==typeof e&&(e=e(k,I)),"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2)):parseFloat(e)-parseFloat(t)||0}function D(e,t){return"function"==typeof e&&(e=e(k,I)),null==e?t:"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2))+t:parseFloat(e)||0}function M(e,t,o,n){var r,i,s,l,a;return"function"==typeof e&&(e=e(k,I)),(l=null==e?t:"number"==typeof e?e:(r=360,i=e.split("_"),s=((a="="===e.charAt(1))?parseInt(e.charAt(0)+"1",10)*parseFloat(i[0].substr(2)):parseFloat(i[0]))*(-1===e.indexOf("rad")?1:q)-(a?0:t),i.length&&(n&&(n[o]=t+s),-1!==e.indexOf("short")&&(s%=r)!=s%180&&(s=s<0?s+r:s-r),-1!==e.indexOf("_cw")&&s<0?s=(s+3599999999640)%r-(s/r|0)*r:-1!==e.indexOf("ccw")&&0<s&&(s=(s-3599999999640)%r-(s/r|0)*r)),t+s))<1e-6&&-1e-6<l&&(l=0),l}function h(e,t,o){return 255*(6*(e=e<0?e+1:1<e?e-1:e)<1?t+(o-t)*e*6:e<.5?o:3*e<2?t+(o-t)*(2/3-e)*6:t)+.5|0}function n(e,t){for(var o,n,r=e.match(me)||[],i=0,s=r.length?"":e,l=0;l<r.length;l++)o=r[l],i+=(n=e.substr(i,e.indexOf(o,i)-i)).length+o.length,3===(o=pe(o,t)).length&&o.push(1),s+=n+(t?"hsla("+o[0]+","+o[1]+"%,"+o[2]+"%,"+o[3]:"rgba("+o.join(","))+")";return s+e.substr(i)}(e.constructor=z).version="1.19.0",z.API=2,z.defaultTransformPerspective=0,z.defaultSkewType="compensated",z.defaultSmoothOrigin=!0,e="px",z.suffixMap={top:e,right:e,bottom:e,left:e,width:e,height:e,fontSize:e,padding:e,margin:e,perspective:e,lineHeight:""};var E,w,T,A,S,x,I,k,o,r,C=/(?:\-|\.|\b)(\d|\.|e\-)+/g,F=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,y=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,_=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,P=/(?:\d|\-|\+|=|#|\.)*/g,L=/opacity *= *([^)]*)/i,N=/opacity:([^;]*)/i,a=/alpha\(opacity *=.+?\)/i,Y=/^(rgb|hsl)/,c=/([A-Z])/g,u=/-([a-z])/gi,X=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,U=/(?:Left|Right|Width)/i,V=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,j=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,G=/,(?=[^\)]*(?:\(|$))/gi,Z=/[\s,\(]/i,K=Math.PI/180,q=180/Math.PI,Q={},$=document,J=t("div"),ee=t("img"),te=z._internals={_specialProps:g},oe=navigator.userAgent,ne=(o=oe.indexOf("Android"),r=t("a"),T=-1!==oe.indexOf("Safari")&&-1===oe.indexOf("Chrome")&&(-1===o||3<Number(oe.substr(o+8,1))),S=T&&Number(oe.substr(oe.indexOf("Version/")+8,1))<6,A=-1!==oe.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(oe)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(oe))&&(x=parseFloat(RegExp.$1)),!!r&&(r.style.cssText="top:1px;opacity:.55;",/^0.55/.test(r.style.opacity))),re="",ie="",se=$.defaultView?$.defaultView.getComputedStyle:function(){},le=z.getStyle=function(e,t,o,n,r){var i;return ne||"opacity"!==t?(!n&&e.style[t]?i=e.style[t]:(o=o||se(e))?i=o[t]||o.getPropertyValue(t)||o.getPropertyValue(t.replace(c,"-$1").toLowerCase()):e.currentStyle&&(i=e.currentStyle[t]),null==r||i&&"none"!==i&&"auto"!==i&&"auto auto"!==i?i:r):l(e)},ae=te.convertToPixels=function(e,t,o,n,r){if("px"===n||!n)return o;if("auto"===n||!o)return 0;var i,s,l,a=U.test(t),d=e,_=J.style,c=o<0,u=1===o;if(c&&(o=-o),u&&(o*=100),"%"===n&&-1!==t.indexOf("border"))i=o/100*(a?e.clientWidth:e.clientHeight);else{if(_.cssText="border:0 solid red;position:"+le(e,"position")+";line-height:0;","%"!==n&&d.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)_[a?"borderLeftWidth":"borderTopWidth"]=o+n;else{if(s=(d=e.parentNode||$.body)._fwdCache,l=R.ticker.frame,s&&a&&s.time===l)return s.width*o/100;_[a?"width":"height"]=o+n}d.appendChild(J),i=parseFloat(J[a?"offsetWidth":"offsetHeight"]),d.removeChild(J),a&&"%"===n&&!1!==z.cacheWidths&&((s=d._fwdCache=d._fwdCache||{}).time=l,s.width=i/o*100),0!==i||r||(i=ae(e,t,o,n,!0))}return u&&(i/=100),c?-i:i},de=te.calculateOffset=function(e,t,o){if("absolute"!==le(e,"position",o))return 0;var n="left"===t?"Left":"Top",r=le(e,"margin"+n,o);return e["offset"+n]-(ae(e,t,parseFloat(r),r.replace(P,""))||0)},_e={width:["Left","Right"],height:["Top","Bottom"]},ce=["marginLeft","marginRight","marginTop","marginBottom"],ue=function(e,t){if("contain"===e||"auto"===e||"auto auto"===e)return e+" ";null!=e&&""!==e||(e="0 0");var o,n=e.split(" "),r=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":n[0],i=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":n[1];if(3<n.length&&!t){for(n=e.split(", ").join(",").split(","),e=[],o=0;o<n.length;o++)e.push(ue(n[o]));return e.join(",")}return null==i?i="center"===r?"50%":"0":"center"===i&&(i="50%"),("center"===r||isNaN(parseFloat(r))&&-1===(r+"").indexOf("="))&&(r="50%"),e=r+" "+i+(2<n.length?" "+n[2]:""),t&&(t.oxp=-1!==r.indexOf("%"),t.oyp=-1!==i.indexOf("%"),t.oxr="="===r.charAt(1),t.oyr="="===i.charAt(1),t.ox=parseFloat(r.replace(_,"")),t.oy=parseFloat(i.replace(_,"")),t.v=e),t||e},he={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]},pe=z.parseColor=function(e,t){var o,n,r,i,s,l,a,d,_,c,u;if(e)if("number"==typeof e)o=[e>>16,e>>8&255,255&e];else{if(","===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),he[e])o=he[e];else if("#"===e.charAt(0))4===e.length&&(e="#"+(n=e.charAt(1))+n+(r=e.charAt(2))+r+(i=e.charAt(3))+i),o=[(e=parseInt(e.substr(1),16))>>16,e>>8&255,255&e];else if("hsl"===e.substr(0,3))if(o=u=e.match(C),t){if(-1!==e.indexOf("="))return e.match(F)}else s=Number(o[0])%360/360,l=Number(o[1])/100,n=2*(a=Number(o[2])/100)-(r=a<=.5?a*(l+1):a+l-a*l),3<o.length&&(o[3]=Number(e[3])),o[0]=h(s+1/3,n,r),o[1]=h(s,n,r),o[2]=h(s-1/3,n,r);else o=e.match(C)||he.transparent;o[0]=Number(o[0]),o[1]=Number(o[1]),o[2]=Number(o[2]),3<o.length&&(o[3]=Number(o[3]))}else o=he.black;return t&&!u&&(n=o[0]/255,r=o[1]/255,i=o[2]/255,a=((d=Math.max(n,r,i))+(_=Math.min(n,r,i)))/2,d===_?s=l=0:(c=d-_,l=.5<a?c/(2-d-_):c/(d+_),s=d===n?(r-i)/c+(r<i?6:0):d===r?(i-n)/c+2:(n-r)/c+4,s*=60),o[0]=s+.5|0,o[1]=100*l+.5|0,o[2]=100*a+.5|0),o},me="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(e in he)me+="|"+e+"\\b";function ge(e,t,i,s){if(null==e)return function(e){return e};var l,a=t?(e.match(me)||[""])[0]:"",d=e.split(a).join("").match(y)||[],_=e.substr(0,e.indexOf(d[0])),c=")"===e.charAt(e.length-1)?")":"",u=-1!==e.indexOf(" ")?" ":",",h=d.length,p=0<h?d[0].replace(C,""):"";return h?l=t?function(e){var t,o,n,r;if("number"==typeof e)e+=p;else if(s&&G.test(e)){for(r=e.replace(G,"|").split("|"),n=0;n<r.length;n++)r[n]=l(r[n]);return r.join(",")}if(t=(e.match(me)||[a])[0],n=(o=e.split(t).join("").match(y)||[]).length,h>n--)for(;++n<h;)o[n]=i?o[(n-1)/2|0]:d[n];return _+o.join(u)+u+t+c+(-1!==e.indexOf("inset")?" inset":"")}:function(e){var t,o,n;if("number"==typeof e)e+=p;else if(s&&G.test(e)){for(o=e.replace(G,"|").split("|"),n=0;n<o.length;n++)o[n]=l(o[n]);return o.join(",")}if(n=(t=e.match(y)||[]).length,h>n--)for(;++n<h;)t[n]=i?t[(n-1)/2|0]:d[n];return _+t.join(u)+c}:function(e){return e}}function fe(d){return d=d.split(","),function(e,t,o,n,r,i,s){var l,a=(t+"").split(" ");for(s={},l=0;l<4;l++)s[d[l]]=a[l]=a[l]||a[(l-1)/2>>0];return n.parse(e,s,r,i)}}function ve(e,t,o,n,r,i){var s=new we(e,t,o,n-o,r,-1,i);return s.b=o,s.e=s.xs0=n,s}me=new RegExp(me+")","gi"),z.colorStringFilter=function(e){var t,o=e[0]+e[1];me.test(o)&&(t=-1!==o.indexOf("hsl(")||-1!==o.indexOf("hsla("),e[0]=n(e[0],t),e[1]=n(e[1],t)),me.lastIndex=0},R.defaultStringFilter||(R.defaultStringFilter=z.colorStringFilter),te._setPluginRatio=function(e){this.plugin.setRatio(e);for(var t,o,n,r,i,s=this.data,l=s.proxy,a=s.firstMPT;a;)t=l[a.v],a.r?t=Math.round(t):t<1e-6&&-1e-6<t&&(t=0),a.t[a.p]=t,a=a._next;if(s.autoRotate&&(s.autoRotate.rotation=s.mod?s.mod(l.rotation,this.t):l.rotation),1===e||0===e)for(a=s.firstMPT,i=1===e?"e":"b";a;){if((o=a.t).type){if(1===o.type){for(r=o.xs0+o.s+o.xs1,n=1;n<o.l;n++)r+=o["xn"+n]+o["xs"+(n+1)];o[i]=r}}else o[i]=o.s+o.xs0;a=a._next}};function be(e,t,o,n,r){this.t=e,this.p=t,this.v=o,this.r=r,n&&((n._prev=this)._next=n)}var we=(te._parseToProxy=function(e,t,o,n,r,i){var s,l,a,d,_,c=n,u={},h={},p=o._transform,m=Q;for(o._transform=null,Q=t,n=_=o.parse(e,t,n,r),Q=m,i&&(o._transform=p,c&&(c._prev=null,c._prev&&(c._prev._next=null)));n&&n!==c;){if(n.type<=1&&(h[l=n.p]=n.s+n.c,u[l]=n.s,i||(d=new be(n,"s",l,d,n.r),n.c=0),1===n.type))for(s=n.l;0<--s;)a="xn"+s,h[l=n.p+"_"+a]=n.data[a],u[l]=n[a],i||(d=new be(n,a,l,d,n.rxp[a]));n=n._next}return{proxy:u,end:h,firstMPT:d,pt:_}},te.CSSPropTween=function(e,t,o,n,r,i,s,l,a,d,_){this.t=e,this.p=t,this.s=o,this.c=n,this.n=s||t,e instanceof we||m.push(this.n),this.r=l,this.type=i||0,a&&(this.pr=a,p=!0),this.b=void 0===d?o:d,this.e=void 0===_?o+n:_,r&&((this._next=r)._prev=this)}),Te=z.parseComplex=function(e,t,o,n,r,i,s,l,a,d){o=o||i||"","function"==typeof n&&(n=n(k,I)),s=new we(e,t,0,0,s,d?2:1,null,!1,l,o,n),n+="",r&&me.test(n+o)&&(n=[o,n],z.colorStringFilter(n),o=n[0],n=n[1]);var _,c,u,h,p,m,g,f,v,b,w,T,S,y=o.split(", ").join(",").split(" "),B=n.split(", ").join(",").split(" "),O=y.length,H=!1!==E;for(-1===n.indexOf(",")&&-1===o.indexOf(",")||(y=y.join(" ").replace(G,", ").split(" "),B=B.join(" ").replace(G,", ").split(" "),O=y.length),O!==B.length&&(O=(y=(i||"").split(" ")).length),s.plugin=a,s.setRatio=d,_=me.lastIndex=0;_<O;_++)if(h=y[_],p=B[_],(f=parseFloat(h))||0===f)s.appendXtra("",f,W(p,f),p.replace(F,""),H&&-1!==p.indexOf("px"),!0);else if(r&&me.test(h))T=")"+((T=p.indexOf(")")+1)?p.substr(T):""),S=-1!==p.indexOf("hsl")&&ne,h=pe(h,S),p=pe(p,S),(v=6<h.length+p.length)&&!ne&&0===p[3]?(s["xs"+s.l]+=s.l?" transparent":"transparent",s.e=s.e.split(B[_]).join("transparent")):(ne||(v=!1),S?s.appendXtra(v?"hsla(":"hsl(",h[0],W(p[0],h[0]),",",!1,!0).appendXtra("",h[1],W(p[1],h[1]),"%,",!1).appendXtra("",h[2],W(p[2],h[2]),v?"%,":"%"+T,!1):s.appendXtra(v?"rgba(":"rgb(",h[0],p[0]-h[0],",",!0,!0).appendXtra("",h[1],p[1]-h[1],",",!0).appendXtra("",h[2],p[2]-h[2],v?",":T,!0),v&&(h=h.length<4?1:h[3],s.appendXtra("",h,(p.length<4?1:p[3])-h,T,!1))),me.lastIndex=0;else if(m=h.match(C)){if(!(g=p.match(F))||g.length!==m.length)return s;for(c=u=0;c<m.length;c++)w=m[c],b=h.indexOf(w,u),s.appendXtra(h.substr(u,b-u),Number(w),W(g[c],w),"",H&&"px"===h.substr(b+w.length,2),0===c),u=b+w.length;s["xs"+s.l]+=h.substr(u)}else s["xs"+s.l]+=s.l||s["xs"+s.l]?" "+p:p;if(-1!==n.indexOf("=")&&s.data){for(T=s.xs0+s.data.s,_=1;_<s.l;_++)T+=s["xs"+_]+s.data["xn"+_];s.e=T+s["xs"+_]}return s.l||(s.type=-1,s.xs0=s.e),s.xfirst||s},Se=9;for((e=we.prototype).l=e.pr=0;0<--Se;)e["xn"+Se]=0,e["xs"+Se]="";function ye(e,t){t=t||{},this.p=t.prefix&&H(e)||e,(g[e]=g[this.p]=this).format=t.formatter||ge(t.defaultValue,t.color,t.collapsible,t.multi),t.parser&&(this.parse=t.parser),this.clrs=t.color,this.multi=t.multi,this.keyword=t.keyword,this.dflt=t.defaultValue,this.pr=t.priority||0}e.xs0="",e._next=e._prev=e.xfirst=e.data=e.plugin=e.setRatio=e.rxp=null,e.appendXtra=function(e,t,o,n,r,i){var s=this,l=s.l;return s["xs"+l]+=i&&(l||s["xs"+l])?" "+e:e||"",o||0===l||s.plugin?(s.l++,s.type=s.setRatio?2:1,s["xs"+s.l]=n||"",0<l?(s.data["xn"+l]=t+o,s.rxp["xn"+l]=r,s["xn"+l]=t,s.plugin||(s.xfirst=new we(s,"xn"+l,t,o,s.xfirst||s,0,s.n,r,s.pr),s.xfirst.xs0=0)):(s.data={s:t+o},s.rxp={},s.s=t,s.c=o,s.r=r)):s["xs"+l]+=t+(n||""),s};var Be=te._registerComplexSpecialProp=function(e,t,o){"object"!=typeof t&&(t={parser:o});var n,r=e.split(","),i=t.defaultValue;for(o=o||[i],n=0;n<r.length;n++)t.prefix=0===n&&t.prefix,t.defaultValue=o[n]||i,new ye(r[n],t)},Oe=te._registerPluginProp=function(e){var a;g[e]||(a=e.charAt(0).toUpperCase()+e.substr(1)+"Plugin",Be(e,{parser:function(e,t,o,n,r,i,s){var l=d.com.fwd.plugins[a];return l?(l._cssRegister(),g[o].parse(e,t,o,n,r,i,s)):(f("Error: "+a+" js file not loaded."),r)}}))};function He(e,t,o){var n,r=$.createElementNS("http://www.w3.org/2000/svg",e),i=/([a-z])([A-Z])/g;for(n in o)r.setAttributeNS(null,n.replace(i,"$1-$2").toLowerCase(),o[n]);return t.appendChild(r),r}function We(e,t,o,n,r,i){var s,l,a,d,_,c,u,h,p,m,g,f,v,b,w=e._fwdTransform,T=Ee(e,!0);w&&(v=w.xOrigin,b=w.yOrigin),(!n||(s=n.split(" ")).length<2)&&(u=e.getBBox(),s=[(-1!==(t=ue(t).split(" "))[0].indexOf("%")?parseFloat(t[0])/100*u.width:parseFloat(t[0]))+u.x,(-1!==t[1].indexOf("%")?parseFloat(t[1])/100*u.height:parseFloat(t[1]))+u.y]),o.xOrigin=d=parseFloat(s[0]),o.yOrigin=_=parseFloat(s[1]),n&&T!==Ve&&(c=T[0],u=T[1],h=T[2],p=T[3],m=T[4],l=d*(p/(f=c*p-u*h))+_*(-h/f)+(h*(g=T[5])-p*m)/f,a=d*(-u/f)+_*(c/f)-(c*g-u*m)/f,d=o.xOrigin=s[0]=l,_=o.yOrigin=s[1]=a),w&&(i&&(o.xOffset=w.xOffset,o.yOffset=w.yOffset,w=o),r||!1!==r&&!1!==z.defaultSmoothOrigin?(l=d-v,a=_-b,w.xOffset+=l*T[0]+a*T[2]-l,w.yOffset+=l*T[1]+a*T[3]-a):w.xOffset=w.yOffset=0),i||e.setAttribute("data-svg-origin",s.join(" "))}function De(e){var t,o,n=this.data,r=-n.rotation*K,i=r+n.skewX*K,s=1e5,l=(Math.cos(r)*n.scaleX*s|0)/s,a=(Math.sin(r)*n.scaleX*s|0)/s,d=(Math.sin(i)*-n.scaleY*s|0)/s,_=(Math.cos(i)*n.scaleY*s|0)/s,c=this.t.style,u=this.t.currentStyle;if(u){o=a,a=-d,d=-o,t=u.filter,c.filter="";var h=this.t.offsetWidth,p=this.t.offsetHeight,m="absolute"!==u.position,g="progid:DXImageTransform.Microsoft.Matrix(M11="+l+", M12="+a+", M21="+d+", M22="+_,f=n.x+h*n.xPercent/100,v=n.y+p*n.yPercent/100;if(null!=n.ox&&(f+=(y=(n.oxp?h*n.ox*.01:n.ox)-h/2)-(y*l+(B=(n.oyp?p*n.oy*.01:n.oy)-p/2)*a),v+=B-(y*d+B*_)),g+=m?", Dx="+((y=h/2)-(y*l+(B=p/2)*a)+f)+", Dy="+(B-(y*d+B*_)+v)+")":", sizingMethod='auto expand')",-1!==t.indexOf("DXImageTransform.Microsoft.Matrix(")?c.filter=t.replace(j,g):c.filter=g+" "+t,0!==e&&1!==e||1==l&&0===a&&0===d&&1==_&&(m&&-1===g.indexOf("Dx=0, Dy=0")||L.test(t)&&100!==parseFloat(RegExp.$1)||-1===t.indexOf(t.indexOf("Alpha"))&&c.removeAttribute("filter")),!m){var b,w,T,S=x<8?1:-1,y=n.ieOffsetX||0,B=n.ieOffsetY||0;for(n.ieOffsetX=Math.round((h-((l<0?-l:l)*h+(a<0?-a:a)*p))/2+f),n.ieOffsetY=Math.round((p-((_<0?-_:_)*p+(d<0?-d:d)*h))/2+v),Se=0;Se<4;Se++)T=(o=-1!==(b=u[w=ce[Se]]).indexOf("px")?parseFloat(b):ae(this.t,w,parseFloat(b),b.replace(P,""))||0)!==n[w]?Se<2?-n.ieOffsetX:-n.ieOffsetY:Se<2?y-n.ieOffsetX:B-n.ieOffsetY,c[w]=(n[w]=Math.round(o-T*(0===Se||2===Se?1:S)))+"px"}}}(e=ye.prototype).parseComplex=function(e,t,o,n,r,i){var s,l,a,d,_,c,u=this.keyword;if(this.multi&&(G.test(o)||G.test(t)?(l=t.replace(G,"|").split("|"),a=o.replace(G,"|").split("|")):u&&(l=[t],a=[o])),a){for(d=a.length>l.length?a.length:l.length,s=0;s<d;s++)t=l[s]=l[s]||this.dflt,o=a[s]=a[s]||this.dflt,u&&(_=t.indexOf(u))!==(c=o.indexOf(u))&&(-1===c?l[s]=l[s].split(u).join(""):-1===_&&(l[s]+=" "+u));t=l.join(", "),o=a.join(", ")}return Te(e,this.p,t,o,this.clrs,this.dflt,n,this.pr,r,i)},e.parse=function(e,t,o,n,r,i,s){return this.parseComplex(e.style,this.format(le(e,this.p,O,!1,this.dflt)),this.format(t),r,i)},z.registerSpecialProp=function(e,a,d){Be(e,{parser:function(e,t,o,n,r,i,s){var l=new we(e,o,0,0,r,2,o,!1,d);return l.plugin=i,l.setRatio=a(e,t,n._tween,o),l},priority:d})},z.useSVGTransformAttr=T||A;function Me(e){return!!(Ye&&e.getBBox&&e.getCTM&&function(e){try{return e.getBBox()}catch(e){}}(e)&&(!e.parentNode||e.parentNode.getBBox&&e.parentNode.getCTM))}function Ee(e,t){var o,n,r,i,s,l,a=e._fwdTransform||new ze,d=e.style;if(Le?n=le(e,Ae,null,!0):e.currentStyle&&(n=(n=e.currentStyle.filter.match(V))&&4===n.length?[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),a.x||0,a.y||0].join(","):""),(o=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n)&&Le&&((l="none"===se(e).display)||!e.parentNode)&&(l&&(i=d.display,d.display="block"),e.parentNode||(s=1,Xe.appendChild(e)),o=!(n=le(e,Ae,null,!0))||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,i?d.display=i:l&&qe(d,"display"),s&&Xe.removeChild(e)),(a.svg||e.getBBox&&Me(e))&&(o&&-1!==(d[Le]+"").indexOf("matrix")&&(n=d[Le],o=0),r=e.getAttribute("transform"),o&&r&&(-1!==r.indexOf("matrix")?(n=r,o=0):-1!==r.indexOf("translate")&&(n="matrix(1,0,0,1,"+r.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",o=0))),o)return Ve;for(r=(n||"").match(C)||[],Se=r.length;-1<--Se;)i=Number(r[Se]),r[Se]=(s=i-(i|=0))?(1e5*s+(s<0?-.5:.5)|0)/1e5+i:i;return t&&6<r.length?[r[0],r[1],r[4],r[5],r[12],r[13]]:r}var xe,Ie,ke,Ce,Fe,Pe="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Le=H("transform"),Ae=re+"transform",Ne=H("transformOrigin"),Re=null!==H("perspective"),ze=te.Transform=function(){this.perspective=parseFloat(z.defaultTransformPerspective)||0,this.force3D=!(!1===z.defaultForce3D||!Re)&&(z.defaultForce3D||"auto")},Ye=window.SVGElement,Xe=$.documentElement,Ue=(Fe=x||/Android/i.test(oe)&&!window.chrome,$.createElementNS&&!Fe&&(Ie=He("svg",Xe),Ce=(ke=He("rect",Ie,{width:100,height:50,x:100})).getBoundingClientRect().width,ke.style[Ne]="50% 50%",ke.style[Le]="scaleX(0.5)",Fe=Ce===ke.getBoundingClientRect().width&&!(A&&Re),Xe.removeChild(Ie)),Fe),Ve=[1,0,0,1,0,0],je=te.getTransform=function(e,t,o,n){if(e._fwdTransform&&o&&!n)return e._fwdTransform;var r,i,s,l,a,d,_,c,u,h,p,m,g,f,v,b,w,T,S,y,B,O,H,W,D,M,E,x,I,k,C,F,P=o&&e._fwdTransform||new ze,L=P.scaleX<0,A=Re&&(parseFloat(le(e,Ne,t,!1,"0 0 0").split(" ")[2])||P.zOrigin)||0,N=parseFloat(z.defaultTransformPerspective)||0;if(P.svg=!(!e.getBBox||!Me(e)),P.svg&&(We(e,le(e,Ne,t,!1,"50% 50%")+"",P,e.getAttribute("data-svg-origin")),xe=z.useSVGTransformAttr||Ue),(r=Ee(e))!==Ve)for(i in 16===r.length?(_=r[0],c=r[1],u=r[2],h=r[3],p=r[4],m=r[5],g=r[6],f=r[7],v=r[8],b=r[9],w=r[10],T=r[12],S=r[13],y=r[14],B=r[11],O=Math.atan2(g,w),P.zOrigin&&(T=v*(y=-P.zOrigin)-r[12],S=b*y-r[13],y=w*y+P.zOrigin-r[14]),P.rotationX=O*q,O&&(H=p*(M=Math.cos(-O))+v*(E=Math.sin(-O)),W=m*M+b*E,D=g*M+w*E,v=p*-E+v*M,b=m*-E+b*M,w=g*-E+w*M,B=f*-E+B*M,p=H,m=W,g=D),O=Math.atan2(-u,w),P.rotationY=O*q,O&&(W=c*(M=Math.cos(-O))-b*(E=Math.sin(-O)),D=u*M-w*E,b=c*E+b*M,w=u*E+w*M,B=h*E+B*M,_=H=_*M-v*E,c=W,u=D),O=Math.atan2(c,_),P.rotation=O*q,O&&(_=_*(M=Math.cos(-O))+p*(E=Math.sin(-O)),W=c*M+m*E,m=c*-E+m*M,g=u*-E+g*M,c=W),P.rotationX&&359.9<Math.abs(P.rotationX)+Math.abs(P.rotation)&&(P.rotationX=P.rotation=0,P.rotationY=180-P.rotationY),P.scaleX=(1e5*Math.sqrt(_*_+c*c)+.5|0)/1e5,P.scaleY=(1e5*Math.sqrt(m*m+b*b)+.5|0)/1e5,P.scaleZ=(1e5*Math.sqrt(g*g+w*w)+.5|0)/1e5,P.rotationX||P.rotationY?P.skewX=0:(P.skewX=p||m?Math.atan2(p,m)*q+P.rotation:P.skewX||0,90<Math.abs(P.skewX)&&Math.abs(P.skewX)<270&&(L?(P.scaleX*=-1,P.skewX+=P.rotation<=0?180:-180,P.rotation+=P.rotation<=0?180:-180):(P.scaleY*=-1,P.skewX+=P.skewX<=0?180:-180))),P.perspective=B?1/(B<0?-B:B):0,P.x=T,P.y=S,P.z=y,P.svg&&(P.x-=P.xOrigin-(P.xOrigin*_-P.yOrigin*p),P.y-=P.yOrigin-(P.yOrigin*c-P.xOrigin*m))):Re&&!n&&r.length&&P.x===r[4]&&P.y===r[5]&&(P.rotationX||P.rotationY)||(I=(x=6<=r.length)?r[0]:1,k=r[1]||0,C=r[2]||0,F=x?r[3]:1,P.x=r[4]||0,P.y=r[5]||0,s=Math.sqrt(I*I+k*k),l=Math.sqrt(F*F+C*C),a=I||k?Math.atan2(k,I)*q:P.rotation||0,d=C||F?Math.atan2(C,F)*q+a:P.skewX||0,90<Math.abs(d)&&Math.abs(d)<270&&(L?(s*=-1,d+=a<=0?180:-180,a+=a<=0?180:-180):(l*=-1,d+=d<=0?180:-180)),P.scaleX=s,P.scaleY=l,P.rotation=a,P.skewX=d,Re&&(P.rotationX=P.rotationY=P.z=0,P.perspective=N,P.scaleZ=1),P.svg&&(P.x-=P.xOrigin-(P.xOrigin*I+P.yOrigin*C),P.y-=P.yOrigin-(P.xOrigin*k+P.yOrigin*F))),P.zOrigin=A,P)P[i]<2e-5&&-2e-5<P[i]&&(P[i]=0);return o&&(e._fwdTransform=P).svg&&(xe&&e.style[Le]?R.delayedCall(.001,function(){qe(e.style,Le)}):!xe&&e.getAttribute("transform")&&R.delayedCall(.001,function(){e.removeAttribute("transform")})),P},Ge=te.set3DTransformRatio=te.setTransformRatio=function(e){var t,o,n,r,i,s,l,a,d,_,c,u,h,p,m,g,f,v,b,w,T,S,y,B=this.data,O=this.t.style,H=B.rotation,W=B.rotationX,D=B.rotationY,M=B.scaleX,E=B.scaleY,x=B.scaleZ,I=B.x,k=B.y,C=B.z,F=B.svg,P=B.perspective,L=B.force3D;if(!((1!==e&&0!==e||"auto"!==L||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&L||C||P||D||W||1!==x)||xe&&F||!Re)H||B.skewX||F?(H*=K,S=B.skewX*K,y=1e5,t=Math.cos(H)*M,r=Math.sin(H)*M,o=Math.sin(H-S)*-E,i=Math.cos(H-S)*E,S&&"simple"===B.skewType&&(f=Math.tan(S-B.skewY*K),o*=f=Math.sqrt(1+f*f),i*=f,B.skewY&&(f=Math.tan(B.skewY*K),t*=f=Math.sqrt(1+f*f),r*=f)),F&&(I+=B.xOrigin-(B.xOrigin*t+B.yOrigin*o)+B.xOffset,k+=B.yOrigin-(B.xOrigin*r+B.yOrigin*i)+B.yOffset,xe&&(B.xPercent||B.yPercent)&&(p=this.t.getBBox(),I+=.01*B.xPercent*p.width,k+=.01*B.yPercent*p.height),I<(p=1e-6)&&-p<I&&(I=0),k<p&&-p<k&&(k=0)),b=(t*y|0)/y+","+(r*y|0)/y+","+(o*y|0)/y+","+(i*y|0)/y+","+I+","+k+")",F&&xe?this.t.setAttribute("transform","matrix("+b):O[Le]=(B.xPercent||B.yPercent?"translate("+B.xPercent+"%,"+B.yPercent+"%) matrix(":"matrix(")+b):O[Le]=(B.xPercent||B.yPercent?"translate("+B.xPercent+"%,"+B.yPercent+"%) matrix(":"matrix(")+M+",0,0,"+E+","+I+","+k+")";else{if(A&&(M<(p=1e-4)&&-p<M&&(M=x=2e-5),E<p&&-p<E&&(E=x=2e-5),!P||B.z||B.rotationX||B.rotationY||(P=0)),H||B.skewX)H*=K,m=t=Math.cos(H),g=r=Math.sin(H),B.skewX&&(H-=B.skewX*K,m=Math.cos(H),g=Math.sin(H),"simple"===B.skewType&&(f=Math.tan((B.skewX-B.skewY)*K),m*=f=Math.sqrt(1+f*f),g*=f,B.skewY&&(f=Math.tan(B.skewY*K),t*=f=Math.sqrt(1+f*f),r*=f))),o=-g,i=m;else{if(!(D||W||1!==x||P||F))return void(O[Le]=(B.xPercent||B.yPercent?"translate("+B.xPercent+"%,"+B.yPercent+"%) translate3d(":"translate3d(")+I+"px,"+k+"px,"+C+"px)"+(1!==M||1!==E?" scale("+M+","+E+")":""));t=i=1,o=r=0}d=1,n=s=l=a=_=c=0,u=P?-1/P:0,h=B.zOrigin,p=1e-6,w=",",T="0",(H=D*K)&&(m=Math.cos(H),_=u*(l=-(g=Math.sin(H))),n=t*g,s=r*g,u*=d=m,t*=m,r*=m),(H=W*K)&&(f=o*(m=Math.cos(H))+n*(g=Math.sin(H)),v=i*m+s*g,a=d*g,c=u*g,n=o*-g+n*m,s=i*-g+s*m,d*=m,u*=m,o=f,i=v),1!==x&&(n*=x,s*=x,d*=x,u*=x),1!==E&&(o*=E,i*=E,a*=E,c*=E),1!==M&&(t*=M,r*=M,l*=M,_*=M),(h||F)&&(h&&(I+=n*-h,k+=s*-h,C+=d*-h+h),F&&(I+=B.xOrigin-(B.xOrigin*t+B.yOrigin*o)+B.xOffset,k+=B.yOrigin-(B.xOrigin*r+B.yOrigin*i)+B.yOffset),I<p&&-p<I&&(I=T),k<p&&-p<k&&(k=T),C<p&&-p<C&&(C=0)),b=B.xPercent||B.yPercent?"translate("+B.xPercent+"%,"+B.yPercent+"%) matrix3d(":"matrix3d(",b+=(t<p&&-p<t?T:t)+w+(r<p&&-p<r?T:r)+w+(l<p&&-p<l?T:l),b+=w+(_<p&&-p<_?T:_)+w+(o<p&&-p<o?T:o)+w+(i<p&&-p<i?T:i),W||D||1!==x?(b+=w+(a<p&&-p<a?T:a)+w+(c<p&&-p<c?T:c)+w+(n<p&&-p<n?T:n),b+=w+(s<p&&-p<s?T:s)+w+(d<p&&-p<d?T:d)+w+(u<p&&-p<u?T:u)+w):b+=",0,0,0,0,1,0,",b+=I+w+k+w+C+w+(P?1+-C/P:1)+")",O[Le]=b}};function Ze(e){var t,o=this.t,n=o.filter||le(this.data,"filter")||"",r=this.s+this.c*e|0;100==r&&(t=-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(o.removeAttribute("filter"),!le(this.data,"filter")):(o.filter=n.replace(a,""),!0)),t||(this.xn1&&(o.filter=n=n||"alpha(opacity="+r+")"),-1===n.indexOf("pacity")?0==r&&this.xn1||(o.filter=n+" alpha(opacity="+r+")"):o.filter=n.replace(L,"opacity="+r))}function Ke(e){if(this.t._fwdClassPT=this,1===e||0===e){this.t.setAttribute("class",0===e?this.b:this.e);for(var t=this.data,o=this.t.style;t;)t.v?o[t.p]=t.v:qe(o,t.p),t=t._next;1===e&&this.t._fwdClassPT===this&&(this.t._fwdClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)}(e=ze.prototype).x=e.y=e.z=e.skewX=e.skewY=e.rotation=e.rotationX=e.rotationY=e.zOrigin=e.xPercent=e.yPercent=e.xOffset=e.yOffset=0,e.scaleX=e.scaleY=e.scaleZ=1,Be("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(e,t,o,n,r,i,s){if(n._lastParsedTransform===s)return r;var l;"function"==typeof(n._lastParsedTransform=s)[o]&&(l=s[o],s[o]=t);var a,d,_,c,u,h,p,m,g,f=e._fwdTransform,v=e.style,b=Pe.length,w=s,T={},S="transformOrigin",y=je(e,O,!0,w.parseTransform),B=w.transform&&("function"==typeof w.transform?w.transform(k,I):w.transform);if(n._transform=y,B&&"string"==typeof B&&Le)(d=J.style)[Le]=B,d.display="block",d.position="absolute",$.body.appendChild(J),a=je(J,null,!1),y.svg&&(h=y.xOrigin,p=y.yOrigin,a.x-=y.xOffset,a.y-=y.yOffset,(w.transformOrigin||w.svgOrigin)&&(B={},We(e,ue(w.transformOrigin),B,w.svgOrigin,w.smoothOrigin,!0),h=B.xOrigin,p=B.yOrigin,a.x-=B.xOffset-y.xOffset,a.y-=B.yOffset-y.yOffset),(h||p)&&(m=Ee(J,!0),a.x-=h-(h*m[0]+p*m[2]),a.y-=p-(h*m[1]+p*m[3]))),$.body.removeChild(J),a.perspective||(a.perspective=y.perspective),null!=w.xPercent&&(a.xPercent=D(w.xPercent,y.xPercent)),null!=w.yPercent&&(a.yPercent=D(w.yPercent,y.yPercent));else if("object"==typeof w){if(a={scaleX:D(null!=w.scaleX?w.scaleX:w.scale,y.scaleX),scaleY:D(null!=w.scaleY?w.scaleY:w.scale,y.scaleY),scaleZ:D(w.scaleZ,y.scaleZ),x:D(w.x,y.x),y:D(w.y,y.y),z:D(w.z,y.z),xPercent:D(w.xPercent,y.xPercent),yPercent:D(w.yPercent,y.yPercent),perspective:D(w.transformPerspective,y.perspective)},null!=(u=w.directionalRotation))if("object"==typeof u)for(d in u)w[d]=u[d];else w.rotation=u;"string"==typeof w.x&&-1!==w.x.indexOf("%")&&(a.x=0,a.xPercent=D(w.x,y.xPercent)),"string"==typeof w.y&&-1!==w.y.indexOf("%")&&(a.y=0,a.yPercent=D(w.y,y.yPercent)),a.rotation=M("rotation"in w?w.rotation:"shortRotation"in w?w.shortRotation+"_short":"rotationZ"in w?w.rotationZ:y.rotation-y.skewY,y.rotation-y.skewY,"rotation",T),Re&&(a.rotationX=M("rotationX"in w?w.rotationX:"shortRotationX"in w?w.shortRotationX+"_short":y.rotationX||0,y.rotationX,"rotationX",T),a.rotationY=M("rotationY"in w?w.rotationY:"shortRotationY"in w?w.shortRotationY+"_short":y.rotationY||0,y.rotationY,"rotationY",T)),a.skewX=M(w.skewX,y.skewX-y.skewY),(a.skewY=M(w.skewY,y.skewY))&&(a.skewX+=a.skewY,a.rotation+=a.skewY)}for(Re&&null!=w.force3D&&(y.force3D=w.force3D,c=!0),y.skewType=w.skewType||y.skewType||z.defaultSkewType,(_=y.force3D||y.z||y.rotationX||y.rotationY||a.z||a.rotationX||a.rotationY||a.perspective)||null==w.scale||(a.scaleZ=1);-1<--b;)(1e-6<(B=a[g=Pe[b]]-y[g])||B<-1e-6||null!=w[g]||null!=Q[g])&&(c=!0,r=new we(y,g,y[g],B,r),g in T&&(r.e=T[g]),r.xs0=0,r.plugin=i,n._overwriteProps.push(r.n));return B=w.transformOrigin,y.svg&&(B||w.svgOrigin)&&(h=y.xOffset,p=y.yOffset,We(e,ue(B),a,w.svgOrigin,w.smoothOrigin),r=ve(y,"xOrigin",(f?y:a).xOrigin,a.xOrigin,r,S),r=ve(y,"yOrigin",(f?y:a).yOrigin,a.yOrigin,r,S),h===y.xOffset&&p===y.yOffset||(r=ve(y,"xOffset",f?h:y.xOffset,y.xOffset,r,S),r=ve(y,"yOffset",f?p:y.yOffset,y.yOffset,r,S)),B=xe?null:"0px 0px"),(B||Re&&_&&y.zOrigin)&&(Le?(c=!0,g=Ne,B=(B||le(e,g,O,!1,"50% 50%"))+"",(r=new we(v,g,0,0,r,-1,S)).b=v[g],r.plugin=i,Re?(d=y.zOrigin,B=B.split(" "),y.zOrigin=(2<B.length&&(0===d||"0px"!==B[2])?parseFloat(B[2]):d)||0,r.xs0=r.e=B[0]+" "+(B[1]||"50%")+" 0px",(r=new we(y,"zOrigin",0,0,r,-1,r.n)).b=d,r.xs0=r.e=y.zOrigin):r.xs0=r.e=B):ue(B+"",y)),c&&(n._transformType=y.svg&&xe||!_&&3!==this._transformType?2:3),l&&(s[o]=l),r},prefix:!0}),Be("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Be("borderRadius",{defaultValue:"0px",parser:function(e,t,o,n,r,i){t=this.format(t);for(var s,l,a,d,_,c,u,h,p,m,g,f,v=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],b=e.style,w=parseFloat(e.offsetWidth),T=parseFloat(e.offsetHeight),S=t.split(" "),y=0;y<v.length;y++)this.p.indexOf("border")&&(v[y]=H(v[y])),-1!==(a=l=le(e,v[y],O,!1,"0px")).indexOf(" ")&&(a=(l=a.split(" "))[0],l=l[1]),d=s=S[y],_=parseFloat(a),h=a.substr((_+"").length),""===(u=(p="="===d.charAt(1))?(c=parseInt(d.charAt(0)+"1",10),d=d.substr(2),c*=parseFloat(d),d.substr((c+"").length-(c<0?1:0))||""):(c=parseFloat(d),d.substr((c+"").length)))&&(u=B[o]||h),u!==h&&(m=ae(e,"borderLeft",_,h),g=ae(e,"borderTop",_,h),l="%"===u?(a=m/w*100+"%",g/T*100+"%"):"em"===u?(a=m/(f=ae(e,"borderLeft",1,"em"))+"em",g/f+"em"):(a=m+"px",g+"px"),p&&(d=parseFloat(a)+c+u,s=parseFloat(l)+c+u)),r=Te(b,v[y],a+" "+l,d+" "+s,!1,"0px",r);return r},prefix:!0,formatter:ge("0px 0px 0px 0px",!1,!0)}),Be("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(e,t,o,n,r,i){return Te(e.style,o,this.format(le(e,o,O,!1,"0px 0px")),this.format(t),!1,"0px",r)},prefix:!0,formatter:ge("0px 0px",!1,!0)}),Be("backgroundPosition",{defaultValue:"0 0",parser:function(e,t,o,n,r,i){var s,l,a,d,_,c,u="background-position",h=O||se(e,null),p=this.format((h?x?h.getPropertyValue(u+"-x")+" "+h.getPropertyValue(u+"-y"):h.getPropertyValue(u):e.currentStyle.backgroundPositionX+" "+e.currentStyle.backgroundPositionY)||"0 0"),m=this.format(t);if(-1!==p.indexOf("%")!=(-1!==m.indexOf("%"))&&m.split(",").length<2&&(c=le(e,"backgroundImage").replace(X,""))&&"none"!==c){for(s=p.split(" "),l=m.split(" "),ee.setAttribute("src",c),a=2;-1<--a;)(d=-1!==(p=s[a]).indexOf("%"))!=(-1!==l[a].indexOf("%"))&&(_=0===a?e.offsetWidth-ee.width:e.offsetHeight-ee.height,s[a]=d?parseFloat(p)/100*_+"px":parseFloat(p)/_*100+"%");p=s.join(" ")}return this.parseComplex(e.style,p,m,r,i)},formatter:ue}),Be("backgroundSize",{defaultValue:"0 0",formatter:function(e){return ue(-1===(e+="").indexOf(" ")?e+" "+e:e)}}),Be("perspective",{defaultValue:"0px",prefix:!0}),Be("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Be("transformStyle",{prefix:!0}),Be("backfaceVisibility",{prefix:!0}),Be("userSelect",{prefix:!0}),Be("margin",{parser:fe("marginTop,marginRight,marginBottom,marginLeft")}),Be("padding",{parser:fe("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Be("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(e,t,o,n,r,i){var s,l,a;return t=x<9?(l=e.currentStyle,a=x<8?" ":",",s="rect("+l.clipTop+a+l.clipRight+a+l.clipBottom+a+l.clipLeft+")",this.format(t).split(",").join(a)):(s=this.format(le(e,this.p,O,!1,this.dflt)),this.format(t)),this.parseComplex(e.style,s,t,r,i)}}),Be("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Be("autoRound,strictUnits",{parser:function(e,t,o,n,r){return r}}),Be("border",{defaultValue:"0px solid #000",parser:function(e,t,o,n,r,i){var s=le(e,"borderTopWidth",O,!1,"0px"),l=this.format(t).split(" "),a=l[0].replace(P,"");return"px"!==a&&(s=parseFloat(s)/ae(e,"borderTopWidth",1,a)+a),this.parseComplex(e.style,this.format(s+" "+le(e,"borderTopStyle",O,!1,"solid")+" "+le(e,"borderTopColor",O,!1,"#000")),l.join(" "),r,i)},color:!0,formatter:function(e){var t=e.split(" ");return t[0]+" "+(t[1]||"solid")+" "+(e.match(me)||["#000"])[0]}}),Be("borderWidth",{parser:fe("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Be("float,cssFloat,styleFloat",{parser:function(e,t,o,n,r,i){var s=e.style,l="cssFloat"in s?"cssFloat":"styleFloat";return new we(s,l,0,0,r,-1,o,!1,0,s[l],t)}}),Be("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(e,t,o,n,r,i){var s=parseFloat(le(e,"opacity",O,!1,"1")),l=e.style,a="autoAlpha"===o;return"string"==typeof t&&"="===t.charAt(1)&&(t=("-"===t.charAt(0)?-1:1)*parseFloat(t.substr(2))+s),a&&1===s&&"hidden"===le(e,"visibility",O)&&0!==t&&(s=0),ne?r=new we(l,"opacity",s,t-s,r):((r=new we(l,"opacity",100*s,100*(t-s),r)).xn1=a?1:0,l.zoom=1,r.type=2,r.b="alpha(opacity="+r.s+")",r.e="alpha(opacity="+(r.s+r.c)+")",r.data=e,r.plugin=i,r.setRatio=Ze),a&&((r=new we(l,"visibility",0,0,r,-1,null,!1,0,0!==s?"inherit":"hidden",0===t?"hidden":"inherit")).xs0="inherit",n._overwriteProps.push(r.n),n._overwriteProps.push(o)),r}});var qe=function(e,t){t&&(e.removeProperty?("ms"!==t.substr(0,2)&&"webkit"!==t.substr(0,6)||(t="-"+t),e.removeProperty(t.replace(c,"-$1").toLowerCase())):e.removeAttribute(t))};function Qe(e){if((1===e||0===e)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var t,o,n,r,i,s=this.t.style,l=g.transform.parse;if("all"===this.e)r=!(s.cssText="");else for(n=(t=this.e.split(" ").join("").split(",")).length;-1<--n;)o=t[n],g[o]&&(g[o].parse===l?r=!0:o="transformOrigin"===o?Ne:g[o].p),qe(s,o);r&&(qe(s,Le),(i=this.t._fwdTransform)&&(i.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._fwdTransform))}}for(Be("className",{parser:function(e,t,o,n,r,i,s){var l,a,d,_,c,u=e.getAttribute("class")||"",h=e.style.cssText;if((r=n._classNamePT=new we(e,o,0,0,r,2)).setRatio=Ke,r.pr=-11,p=!0,r.b=u,a=v(e,O),d=e._fwdClassPT){for(_={},c=d.data;c;)_[c.p]=1,c=c._next;d.setRatio(1)}return(e._fwdClassPT=r).e="="!==t.charAt(1)?t:u.replace(new RegExp("(?:\\s|^)"+t.substr(2)+"(?![\\w-])"),"")+("+"===t.charAt(0)?" "+t.substr(2):""),e.setAttribute("class",r.e),l=b(e,a,v(e),s,_),e.setAttribute("class",u),r.data=l.firstMPT,e.style.cssText=h,r.xfirst=n.parse(e,l.difs,r,i)}}),Be("clearProps",{parser:function(e,t,o,n,r){return(r=new we(e,o,0,0,r,2)).setRatio=Qe,r.e=t,r.pr=-10,r.data=n._tween,p=!0,r}}),e="bezier,throwProps,physicsProps,physics2D".split(","),Se=e.length;Se--;)Oe(e[Se]);function $e(e){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)}(e=z.prototype)._firstPT=e._lastParsedTransform=e._transform=null,e._onInitTween=function(e,t,o,n){if(!e.nodeType)return!1;this._target=I=e,this._tween=o,this._vars=t,k=n,E=t.autoRound,p=!1,B=t.suffixMap||z.suffixMap,O=se(e,""),m=this._overwriteProps;var r,i,s,l,a,d,_,c,u,h=e.style;if(w&&""===h.zIndex&&("auto"!==(r=le(e,"zIndex",O))&&""!==r||this._addLazySet(h,"zIndex",0)),"string"==typeof t&&(l=h.cssText,r=v(e,O),h.cssText=l+";"+t,r=b(e,r,v(e)).difs,!ne&&N.test(t)&&(r.opacity=parseFloat(RegExp.$1)),t=r,h.cssText=l),t.className?this._firstPT=i=g.className.parse(e,t.className,"className",this,null,null,t):this._firstPT=i=this.parse(e,t,null),this._transformType){for(u=3===this._transformType,Le?T&&(w=!0,""===h.zIndex&&("auto"!==(_=le(e,"zIndex",O))&&""!==_||this._addLazySet(h,"zIndex",0)),S&&this._addLazySet(h,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(u?"visible":"hidden"))):h.zoom=1,s=i;s&&s._next;)s=s._next;c=new we(e,"transform",0,0,null,2),this._linkCSSP(c,null,s),c.setRatio=Le?Ge:De,c.data=this._transform||je(e,O,!0),c.tween=o,c.pr=-1,m.pop()}if(p){for(;i;){for(d=i._next,s=l;s&&s.pr>i.pr;)s=s._next;(i._prev=s?s._prev:a)?i._prev._next=i:l=i,(i._next=s)?s._prev=i:a=i,i=d}this._firstPT=l}return!0},e.parse=function(e,t,o,n){var r,i,s,l,a,d,_,c,u,h,p=e.style;for(r in t)"function"==typeof(d=t[r])&&(d=d(k,I)),(i=g[r])?o=i.parse(e,d,r,this,o,n,t):(a=le(e,r,O)+"",u="string"==typeof d,"color"===r||"fill"===r||"stroke"===r||-1!==r.indexOf("Color")||u&&Y.test(d)?(u||(d=(3<(d=pe(d)).length?"rgba(":"rgb(")+d.join(",")+")"),o=Te(p,r,a,d,!0,"transparent",o,0,n)):u&&Z.test(d)?o=Te(p,r,a,d,!0,null,o,0,n):(_=(s=parseFloat(a))||0===s?a.substr((s+"").length):"",""!==a&&"auto"!==a||(_="width"===r||"height"===r?(s=function(e,t,o){if("svg"===(e.nodeName+"").toLowerCase())return(o||se(e))[t]||0;if(e.getBBox&&Me(e))return e.getBBox()[t]||0;var n=parseFloat("width"===t?e.offsetWidth:e.offsetHeight),r=_e[t],i=r.length;for(o=o||se(e,null);-1<--i;)n-=parseFloat(le(e,"padding"+r[i],o,!0))||0,n-=parseFloat(le(e,"border"+r[i]+"Width",o,!0))||0;return n}(e,r,O),"px"):"left"===r||"top"===r?(s=de(e,r,O),"px"):(s="opacity"!==r?0:1,"")),""===(c=(h=u&&"="===d.charAt(1))?(l=parseInt(d.charAt(0)+"1",10),d=d.substr(2),l*=parseFloat(d),d.replace(P,"")):(l=parseFloat(d),u?d.replace(P,""):""))&&(c=r in B?B[r]:_),d=l||0===l?(h?l+s:l)+c:t[r],_!==c&&""!==c&&(l||0===l)&&s&&(s=ae(e,r,s,_),"%"===c?(s/=ae(e,r,100,"%")/100,!0!==t.strictUnits&&(a=s+"%")):"em"===c||"rem"===c||"vw"===c||"vh"===c?s/=ae(e,r,1,c):"px"!==c&&(l=ae(e,r,l,c),c="px"),h&&(!l&&0!==l||(d=l+s+c))),h&&(l+=s),!s&&0!==s||!l&&0!==l?void 0!==p[r]&&(d||d+""!="NaN"&&null!=d)?(o=new we(p,r,l||s||0,0,o,-1,r,!1,0,a,d)).xs0="none"!==d||"display"!==r&&-1===r.indexOf("Style")?d:a:f("invalid "+r+" tween value: "+t[r]):(o=new we(p,r,s,l-s,o,0,r,!1!==E&&("px"===c||"zIndex"===r),0,a,d)).xs0=c)),n&&o&&!o.plugin&&(o.plugin=n);return o},e.setRatio=function(e){var t,o,n,r=this._firstPT;if(1!==e||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(e||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(t=r.c*e+r.s,r.r?t=Math.round(t):t<1e-6&&-1e-6<t&&(t=0),r.type)if(1===r.type)if(2===(n=r.l))r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2;else if(3===n)r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===n)r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===n)r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(o=r.xs0+t+r.xs1,n=1;n<r.l;n++)o+=r["xn"+n]+r["xs"+(n+1)];r.t[r.p]=o}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(e);else r.t[r.p]=t+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(e),r=r._next;else for(;r;){if(2!==r.type)if(r.r&&-1!==r.type)if(t=Math.round(r.s+r.c),r.type){if(1===r.type){for(n=r.l,o=r.xs0+t+r.xs1,n=1;n<r.l;n++)o+=r["xn"+n]+r["xs"+(n+1)];r.t[r.p]=o}}else r.t[r.p]=t+r.xs0;else r.t[r.p]=r.e;else r.setRatio(e);r=r._next}},e._enableTransforms=function(e){this._transform=this._transform||je(this._target,O,!0),this._transformType=this._transform.svg&&xe||!e&&3!==this._transformType?2:3},e._addLazySet=function(e,t,o){var n=this._firstPT=new we(e,t,0,0,this._firstPT,2);n.e=o,n.setRatio=$e,n.data=this},e._linkCSSP=function(e,t,o,n){return e&&(t&&(t._prev=e),e._next&&(e._next._prev=e._prev),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next,n=!0),o?o._next=e:n||null!==this._firstPT||(this._firstPT=e),e._next=t,e._prev=o),e},e._mod=function(e){for(var t=this._firstPT;t;)"function"==typeof e[t.p]&&e[t.p]===Math.round&&(t.r=1),t=t._next},e._kill=function(e){var t,o,n,r=e;if(e.autoAlpha||e.alpha){for(o in r={},e)r[o]=e[o];r.opacity=1,r.autoAlpha&&(r.visibility=1)}for(e.className&&(t=this._classNamePT)&&((n=t.xfirst)&&n._prev?this._linkCSSP(n._prev,t._next,n._prev._prev):n===this._firstPT&&(this._firstPT=t._next),t._next&&this._linkCSSP(t._next,t._next._next,n._prev),this._classNamePT=null),t=this._firstPT;t;)t.plugin&&t.plugin!==o&&t.plugin._kill&&(t.plugin._kill(e),o=t.plugin),t=t._next;return i.prototype._kill.call(this,r)};var Je=function(e,t,o){var n,r,i,s;if(e.slice)for(r=e.length;-1<--r;)Je(e[r],t,o);else for(r=(n=e.childNodes).length;-1<--r;)s=(i=n[r]).type,i.style&&(t.push(v(i)),o&&o.push(i)),1!==s&&9!==s&&11!==s||!i.childNodes.length||Je(i,t,o)};return z.cascadeTo=function(e,t,o){var n,r,i,s,l=R.to(e,t,o),a=[l],d=[],_=[],c=[],u=R._internals.reservedProps;for(e=l._targets||l.target,Je(e,d,c),l.render(t,!0,!0),Je(e,_),l.render(0,!0,!0),l._enabled(!0),n=c.length;-1<--n;)if((r=b(c[n],d[n],_[n])).firstMPT){for(i in r=r.difs,o)u[i]&&(r[i]=o[i]);for(i in s={},r)s[i]=d[n][i];a.push(R.fromTo(c[n],t,s,r))}return a},i.activate([z]),z},!0),_fwd_fwdScope.FWDFWD_fwdDefine("easing.Back",["easing.Ease"],function(g){function e(e,t){var o=_("easing."+e,function(){},!0),n=o.prototype=new g;return n.constructor=o,n.getRatio=t,o}function t(e,t,o,n){var r=_("easing."+e,{easeOut:new t,easeIn:new o,easeInOut:new n},!0);return c(r,e),r}function f(e,t,o){this.t=e,this.v=t,o&&(((this.next=o).prev=this).c=o.v-t,this.gap=o.t-e)}function o(e,t){var o=_("easing."+e,function(e){this._p1=e||0===e?e:1.70158,this._p2=1.525*this._p1},!0),n=o.prototype=new g;return n.constructor=o,n.getRatio=t,n.config=function(e){return new o(e)},o}var n,r,i,s=_fwd_fwdScope.FWDGlobals||_fwd_fwdScope,l=s.com.fwd,a=2*Math.PI,d=Math.PI/2,_=l._class,c=g.register||function(){},u=t("Back",o("BackOut",function(e){return--e*e*((this._p1+1)*e+this._p1)+1}),o("BackIn",function(e){return e*e*((this._p1+1)*e-this._p1)}),o("BackInOut",function(e){return(e*=2)<1?.5*e*e*((this._p2+1)*e-this._p2):.5*((e-=2)*e*((this._p2+1)*e+this._p2)+2)})),h=_("easing.SlowMo",function(e,t,o){t=t||0===t?t:.7,null==e?e=.7:1<e&&(e=1),this._p=1!==e?t:0,this._p1=(1-e)/2,this._p2=e,this._p3=this._p1+this._p2,this._calcEnd=!0===o},!0),p=h.prototype=new g;return p.constructor=h,p.getRatio=function(e){var t=e+(.5-e)*this._p;return e<this._p1?this._calcEnd?1-(e=1-e/this._p1)*e:t-(e=1-e/this._p1)*e*e*e*t:e>this._p3?this._calcEnd?1-(e=(e-this._p3)/this._p1)*e:t+(e-t)*(e=(e-this._p3)/this._p1)*e*e*e:this._calcEnd?1:t},h.ease=new h(.7,.7),p.config=h.config=function(e,t,o){return new h(e,t,o)},(p=(n=_("easing.SteppedEase",function(e){e=e||1,this._p1=1/e,this._p2=e+1},!0)).prototype=new g).constructor=n,p.getRatio=function(e){return e<0?e=0:1<=e&&(e=.999999999),(this._p2*e>>0)*this._p1},p.config=n.config=function(e){return new n(e)},(p=(r=_("easing.RoughEase",function(e){for(var t,o,n,r,i,s,l=(e=e||{}).taper||"none",a=[],d=0,_=0|(e.points||20),c=_,u=!1!==e.randomize,h=!0===e.clamp,p=e.template instanceof g?e.template:null,m="number"==typeof e.strength?.4*e.strength:.4;-1<--c;)t=u?Math.random():1/_*c,o=p?p.getRatio(t):t,n="none"===l?m:"out"===l?(r=1-t)*r*m:"in"===l?t*t*m:t<.5?(r=2*t)*r*.5*m:(r=2*(1-t))*r*.5*m,u?o+=Math.random()*n-.5*n:c%2?o+=.5*n:o-=.5*n,h&&(1<o?o=1:o<0&&(o=0)),a[d++]={x:t,y:o};for(a.sort(function(e,t){return e.x-t.x}),s=new f(1,1,null),c=_;-1<--c;)s=new f((i=a[c]).x,i.y,s);this._prev=new f(0,0,0!==s.t?s:s.next)},!0)).prototype=new g).constructor=r,p.getRatio=function(e){var t=this._prev;if(e>t.t){for(;t.next&&e>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&e<=t.t;)t=t.prev;return(this._prev=t).v+(e-t.t)/t.gap*t.c},p.config=function(e){return new r(e)},r.ease=new r,t("Bounce",e("BounceOut",function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}),e("BounceIn",function(e){return(e=1-e)<1/2.75?1-7.5625*e*e:e<2/2.75?1-(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?1-(7.5625*(e-=2.25/2.75)*e+.9375):1-(7.5625*(e-=2.625/2.75)*e+.984375)}),e("BounceInOut",function(e){var t=e<.5;return(e=t?1-2*e:2*e-1)<1/2.75?e*=7.5625*e:e=e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,t?.5*(1-e):.5*e+.5})),t("Circ",e("CircOut",function(e){return Math.sqrt(1- --e*e)}),e("CircIn",function(e){return-(Math.sqrt(1-e*e)-1)}),e("CircInOut",function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)})),t("Elastic",(i=function(e,t,o){var n=_("easing."+e,function(e,t){this._p1=1<=e?e:1,this._p2=(t||o)/(e<1?e:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),r=n.prototype=new g;return r.constructor=n,r.getRatio=t,r.config=function(e,t){return new n(e,t)},n})("ElasticOut",function(e){return this._p1*Math.pow(2,-10*e)*Math.sin((e-this._p3)*this._p2)+1},.3),i("ElasticIn",function(e){return-(this._p1*Math.pow(2,10*--e)*Math.sin((e-this._p3)*this._p2))},.3),i("ElasticInOut",function(e){return(e*=2)<1?this._p1*Math.pow(2,10*--e)*Math.sin((e-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*--e)*Math.sin((e-this._p3)*this._p2)*.5+1},.45)),t("Expo",e("ExpoOut",function(e){return 1-Math.pow(2,-10*e)}),e("ExpoIn",function(e){return Math.pow(2,10*(e-1))-.001}),e("ExpoInOut",function(e){return(e*=2)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*(e-1)))})),t("Sine",e("SineOut",function(e){return Math.sin(e*d)}),e("SineIn",function(e){return 1-Math.cos(e*d)}),e("SineInOut",function(e){return-.5*(Math.cos(Math.PI*e)-1)})),_("easing.EaseLookup",{find:function(e){return g.map[e]}},!0),c(s.SlowMo,"SlowMo","ease,"),c(r,"RoughEase","ease,"),c(n,"SteppedEase","ease,"),u},!0)}),_fwd_fwdScope.FWDFWD_fwdDefine&&_fwd_fwdScope._fwd_fwdQueue.pop()(),function(h,p){"use strict";var m={},g=h.FWDGlobals=h.FWDGlobals||h;if(!g.FWDTweenLite){var f,t,o,v=function(e){for(var t=e.split("."),o=g,n=0;n<t.length;n++)o[t[n]]=o=o[t[n]]||{};return o},c=v("com.fwd"),b=1e-10,a=function(e){for(var t=[],o=e.length,n=0;n!==o;t.push(e[n++]));return t},n=function(){},w=(t=Object.prototype.toString,o=t.call([]),function(e){return null!=e&&(e instanceof Array||"object"==typeof e&&!!e.push&&t.call(e)===o)}),T={},S=function(a,d,_,c){this.sc=T[a]?T[a].sc:[],(T[a]=this).gsClass=null,this.func=_;var u=[];this.check=function(e){for(var t,o,n,r,i,s=d.length,l=s;-1<--s;)(t=T[d[s]]||new S(d[s],[])).gsClass?(u[s]=t.gsClass,l--):e&&t.sc.push(this);if(0===l&&_){if(n=(o=("com.fwd."+a).split(".")).pop(),r=v(o.join("."))[n]=this.gsClass=_.apply(_,u),c)if(g[n]=m[n]=r,!(i="undefined"!=typeof fwd_module&&fwd_module.exports)&&"function"==typeof define&&define.amd)define((h.FWDAMDPath?h.FWDAMDPath+"/":"")+a.split(".").pop(),[],function(){return r});else if(i)if(a===p)for(s in fwd_module.exports=m[p]=r,m)r[s]=m[s];else m[p]&&(m[p][n]=r);for(s=0;s<this.sc.length;s++)this.sc[s].check()}},this.check(!0)},r=h.FWDFWD_fwdDefine=function(e,t,o,n){return new S(e,t,o,n)},u=c._class=function(e,t,o){return t=t||function(){},r(e,[],function(){return t},o),t};r.globals=g;var i=[0,0,1,1],y=u("easing.Ease",function(e,t,o,n){this._func=e,this._type=o||0,this._power=n||0,this._params=t?i.concat(t):i},!0),B=y.map={},e=y.register=function(e,t,o,n){for(var r,i,s,l,a=t.split(","),d=a.length,_=(o||"easeIn,easeOut,easeInOut").split(",");-1<--d;)for(i=a[d],r=n?u("easing."+i,null,!0):c.easing[i]||{},s=_.length;-1<--s;)l=_[s],B[i+"."+l]=B[l+i]=r[l]=e.getRatio?e:e[l]||new e};for((te=y.prototype)._calcEnd=!1,te.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,o=this._power,n=1===t?1-e:2===t?e:e<.5?2*e:2*(1-e);return 1===o?n*=n:2===o?n*=n*n:3===o?n*=n*n*n:4===o&&(n*=n*n*n*n),1===t?1-n:2===t?n:e<.5?n/2:1-n/2},l=(s=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--l;)te=s[l]+",Power"+l,e(new y(null,null,1,l),te,"easeOut",!0),e(new y(null,null,2,l),te,"easeIn"+(0===l?",easeNone":"")),e(new y(null,null,3,l),te,"easeInOut");B.linear=c.easing.Linear.easeIn,B.swing=c.easing.Quad.easeInOut;var O=u("events.EventDispatcher",function(e){this._listeners={},this._eventTarget=e||this});(te=O.prototype).addEventListener=function(e,t,o,n,r){r=r||0;var i,s,l=this._listeners[e],a=0;for(this!==E||f||E.wake(),null==l&&(this._listeners[e]=l=[]),s=l.length;-1<--s;)(i=l[s]).c===t&&i.s===o?l.splice(s,1):0===a&&i.pr<r&&(a=s+1);l.splice(a,0,{c:t,s:o,up:n,pr:r})},te.removeEventListener=function(e,t){var o,n=this._listeners[e];if(n)for(o=n.length;-1<--o;)if(n[o].c===t)return void n.splice(o,1)},te.dispatchEvent=function(e){var t,o,n,r=this._listeners[e];if(r)for(1<(t=r.length)&&(r=r.slice(0)),o=this._eventTarget;-1<--t;)(n=r[t])&&(n.up?n.c.call(n.s||o,{type:e,target:o}):n.c.call(n.s||o))};for(var s,H=h.requestAnimationFrame,W=h.cancelAnimationFrame,D=Date.now||function(){return(new Date).getTime()},M=D(),l=(s=["ms","moz","webkit","o"]).length;-1<--l&&!H;)H=h[s[l]+"RequestAnimationFrame"],W=h[s[l]+"CancelAnimationFrame"]||h[s[l]+"CancelRequestAnimationFrame"];u("Ticker",function(e,t){var r,i,s,l,a,d=this,_=D(),o=!(!1===t||!H)&&"auto",c=500,u=33,h=function(e){var t,o,n=D()-M;c<n&&(_+=n-u),M+=n,d.time=(M-_)/1e3,t=d.time-a,(!r||0<t||!0===e)&&(d.frame++,a+=t+(l<=t?.004:l-t),o=!0),!0!==e&&(s=i(h)),o&&d.dispatchEvent("tick")};O.call(d),d.time=d.frame=0,d.tick=function(){h(!0)},d.lagSmoothing=function(e,t){c=e||1e10,u=Math.min(t,c,0)},d.sleep=function(){null!=s&&((o&&W?W:clearTimeout)(s),i=n,s=null,d===E&&(f=!1))},d.wake=function(e){null!==s?d.sleep():e?_+=-M+(M=D()):10<d.frame&&(M=D()-c+5),i=0===r?n:o&&H?H:function(e){return setTimeout(e,1e3*(a-d.time)+1|0)},d===E&&(f=!0),h(2)},d.fps=function(e){if(!arguments.length)return r;l=1/((r=e)||60),a=this.time+l,d.wake()},d.useRAF=function(e){if(!arguments.length)return o;d.sleep(),o=e,d.fps(r)},d.fps(e),setTimeout(function(){"auto"===o&&d.frame<5&&"hidden"!==document.visibilityState&&d.useRAF(!1)},1500)}),(te=c.Ticker.prototype=new c.events.EventDispatcher).constructor=c.Ticker;var d=u("core.FWDAnimation",function(e,t){var o;this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=!0===t.immediateRender,this.data=t.data,this._reversed=!0===t.reversed,G&&(f||E.wake(),(o=this.vars.useFrames?j:G).add(this,o._time),this.vars.paused&&this.paused(!0))}),E=d.ticker=new c.Ticker;(te=d.prototype)._dirty=te._gc=te._initted=te._paused=!1,te._totalTime=te._time=0,te._rawPrevTime=-1,te._next=te._last=te._onUpdate=te._timeline=te.timeline=null,te._paused=!1;var _=function(){f&&2e3<D()-M&&E.wake(),setTimeout(_,2e3)};_(),te.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},te.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},te.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},te.seek=function(e,t){return this.totalTime(Number(e),!1!==t)},te.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,!1!==t,!0)},te.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},te.render=function(e,t,o){},te.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},te.isActive=function(){var e,t=this._timeline,o=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime())>=o&&e<o+this.totalDuration()/this._timeScale},te._enabled=function(e,t){return f||E.wake(),this._gc=!e,this._active=this.isActive(),!0!==t&&(e&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!e&&this.timeline&&this._timeline._remove(this,!0)),!1},te._kill=function(e,t){return this._enabled(!1,!1)},te.kill=function(e,t){return this._kill(e,t),this},te._uncache=function(e){for(var t=e?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this},te._swapSelfInParams=function(e){for(var t=e.length,o=e.concat();-1<--t;)"{self}"===e[t]&&(o[t]=this);return o},te._callback=function(e){var t=this.vars,o=t[e],n=t[e+"Params"],r=t[e+"Scope"]||t.callbackScope||this;switch(n?n.length:0){case 0:o.call(r);break;case 1:o.call(r,n[0]);break;case 2:o.call(r,n[0],n[1]);break;default:o.apply(r,n)}},te.eventCallback=function(e,t,o,n){if("on"===(e||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[e];null==t?delete r[e]:(r[e]=t,r[e+"Params"]=w(o)&&-1!==o.join("").indexOf("{self}")?this._swapSelfInParams(o):o,r[e+"Scope"]=n),"onUpdate"===e&&(this._onUpdate=t)}return this},te.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},te.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&0<this._time&&this._time<this._duration&&0!==e&&this.totalTime(this._totalTime*(e/this._duration),!0),this):(this._dirty=!1,this._duration)},te.totalDuration=function(e){return this._dirty=!1,arguments.length?this.duration(e):this._totalDuration},te.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(e>this._duration?this._duration:e,t)):this._time},te.totalTime=function(e,t,o){if(f||E.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(e<0&&!o&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,r=this._timeline;if(n<e&&!o&&(e=n),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?n-e:e)/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===e&&0!==this._duration||(C.length&&K(),this.render(e,t,!1),C.length&&K())}return this},te.progress=te.totalProgress=function(e,t){var o=this.duration();return arguments.length?this.totalTime(o*e,t):o?this._time/o:this.ratio},te.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},te.endTime=function(e){return this._startTime+(0!=e?this.totalDuration():this.duration())/this._timeScale},te.timeScale=function(e){return arguments.length?(e=e||b,this._timeline&&this._timeline.smoothChildTiming&&(o=(t=this._pauseTime)||0===t?t:this._timeline.totalTime(),this._startTime=o-(o-this._startTime)*this._timeScale/e),this._timeScale=e,this._uncache(!1)):this._timeScale;var t,o},te.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},te.paused=function(e){if(!arguments.length)return this._paused;var t,o,n=this._timeline;return e!=this._paused&&n&&(f||e||E.wake(),o=(t=n.rawTime())-this._pauseTime,!e&&n.smoothChildTiming&&(this._startTime+=o,this._uncache(!1)),this._pauseTime=e?t:null,this._paused=e,this._active=this.isActive(),!e&&0!=o&&this._initted&&this.duration()&&(t=n.smoothChildTiming?this._totalTime:(t-this._startTime)/this._timeScale,this.render(t,t===this._totalTime,!0))),this._gc&&!e&&this._enabled(!0,!1),this};var x=u("core.FWDSimpleTimeline",function(e){d.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0});(te=x.prototype=new d).constructor=x,te.kill()._gc=!1,te._first=te._last=te._recent=null,te._sortChildren=!1,te.add=te.insert=function(e,t,o,n){var r,i;if(e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=e._startTime+(this.rawTime()-e._startTime)/e._timeScale),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),r=this._last,this._sortChildren)for(i=e._startTime;r&&r._startTime>i;)r=r._prev;return r?(e._next=r._next,r._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=r,this._recent=e,this._timeline&&this._uncache(!0),this},te._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},te.render=function(e,t,o){var n,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;r;)n=r._next,(r._active||e>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(e-r._startTime)*r._timeScale,t,o):r.render((e-r._startTime)*r._timeScale,t,o)),r=n},te.rawTime=function(){return f||E.wake(),this._totalTime};var I=u("FWDTweenLite",function(e,t,o){if(d.call(this,t,o),this.render=I.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"==typeof e&&I.selector(e)||e;var n,r,i,s=e.jquery||e.length&&e!==h&&e[0]&&(e[0]===h||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?V[I.defaultOverwrite]:"number"==typeof l?l>>0:V[l],(s||e instanceof Array||e.push&&w(e))&&"number"!=typeof e[0])for(this._targets=i=a(e),this._propLookup=[],this._siblings=[],n=0;n<i.length;n++)(r=i[n])?"string"!=typeof r?r.length&&r!==h&&r[0]&&(r[0]===h||r[0].nodeType&&r[0].style&&!r.nodeType)?(i.splice(n--,1),this._targets=i=i.concat(a(r))):(this._siblings[n]=q(r,this,!1),1===l&&1<this._siblings[n].length&&$(r,this,null,1,this._siblings[n])):"string"==typeof(r=i[n--]=I.selector(r))&&i.splice(n+1,1):i.splice(n--,1);else this._propLookup={},this._siblings=q(e,this,!1),1===l&&1<this._siblings.length&&$(e,this,null,1,this._siblings);(this.vars.immediateRender||0===t&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-b,this.render(Math.min(0,-this._delay)))},!0),k=function(e){return e&&e.length&&e!==h&&e[0]&&(e[0]===h||e[0].nodeType&&e[0].style&&!e.nodeType)};(te=I.prototype=new d).constructor=I,te.kill()._gc=!1,te.ratio=0,te._firstPT=te._targets=te._overwrittenProps=te._startAt=null,te._notifyPluginsOfEnabled=te._lazy=!1,I.version="1.19.0",I.defaultEase=te._ease=new y(null,null,1,1),I.defaultOverwrite="auto",I.ticker=E,I.autoSleep=120,I.lagSmoothing=function(e,t){E.lagSmoothing(e,t)},I.selector=h.$||h.jQuery||function(e){var t=h.$||h.jQuery;return t?(I.selector=t)(e):"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)};var C=[],F={},P=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,L=function(e){for(var t,o=this._firstPT;o;)t=o.blob?e?this.join(""):this.start:o.c*e+o.s,o.m?t=o.m(t,this._target||o.t):t<1e-6&&-1e-6<t&&(t=0),o.f?o.fp?o.t[o.p](o.fp,t):o.t[o.p](t):o.t[o.p]=t,o=o._next},A=function(e,t,o,n){var r,i,s,l,a,d,_,c=[e,t],u=0,h="",p=0;for(c.start=e,o&&(o(c),e=c[0],t=c[1]),c.length=0,r=e.match(P)||[],i=t.match(P)||[],n&&(n._next=null,n.blob=1,c._firstPT=c._applyPT=n),a=i.length,l=0;l<a;l++)_=i[l],h+=(d=t.substr(u,t.indexOf(_,u)-u))||!l?d:",",u+=d.length,p?p=(p+1)%5:"rgba("===d.substr(-5)&&(p=1),_===r[l]||r.length<=l?h+=_:(h&&(c.push(h),h=""),s=parseFloat(r[l]),c.push(s),c._firstPT={_next:c._firstPT,t:c,p:c.length-1,s:s,c:("="===_.charAt(1)?parseInt(_.charAt(0)+"1",10)*parseFloat(_.substr(2)):parseFloat(_)-s)||0,f:0,m:p&&p<4?Math.round:0}),u+=_.length;return(h+=t.substr(u))&&c.push(h),c.setRatio=L,c},N=function(e,t,o,n,r,i,s,l,a){"function"==typeof n&&(n=n(a||0,e));var d,_="get"===o?e[t]:o,c=typeof e[t],u="string"==typeof n&&"="===n.charAt(1),h={t:e,p:t,s:_,f:"function"==c,pg:0,n:r||t,m:i?"function"==typeof i?i:Math.round:0,pr:0,c:u?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-_||0};if("number"!=c&&("function"==c&&"get"===o&&(d=t.indexOf("set")||"function"!=typeof e["get"+t.substr(3)]?t:"get"+t.substr(3),h.s=_=s?e[d](s):e[d]()),"string"==typeof _&&(s||isNaN(_))?(h.fp=s,h={t:A(_,n,l||I.defaultStringFilter,h),p:"setRatio",s:0,c:1,f:2,pg:0,n:r||t,pr:0,m:0}):u||(h.s=parseFloat(_),h.c=parseFloat(n)-h.s||0)),h.c)return(h._next=this._firstPT)&&(h._next._prev=h),this._firstPT=h},R=I._internals={isArray:w,isSelector:k,lazyTweens:C,blobDif:A},z=I._plugins={},Y=R.tweenLookup={},X=0,U=R.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1},V={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},j=d._rootFramesTimeline=new x,G=d._rootTimeline=new x,Z=30,K=R.lazyRender=function(){var e,t=C.length;for(F={};-1<--t;)(e=C[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);C.length=0};G._startTime=E.time,j._startTime=E.frame,G._active=j._active=!0,setTimeout(K,1),d._updateRoot=I.render=function(){var e,t,o;if(C.length&&K(),G.render((E.time-G._startTime)*G._timeScale,!1,!1),j.render((E.frame-j._startTime)*j._timeScale,!1,!1),C.length&&K(),E.frame>=Z){for(o in Z=E.frame+(parseInt(I.autoSleep,10)||120),Y){for(e=(t=Y[o].tweens).length;-1<--e;)t[e]._gc&&t.splice(e,1);0===t.length&&delete Y[o]}if((!(o=G._first)||o._paused)&&I.autoSleep&&!j._first&&1===E._listeners.tick.length){for(;o&&o._paused;)o=o._next;o||E.sleep()}}},E.addEventListener("tick",d._updateRoot);var q=function(e,t,o){var n,r,i=e._fwdTweenID;if(Y[i||(e._fwdTweenID=i="t"+X++)]||(Y[i]={target:e,tweens:[]}),t&&((n=Y[i].tweens)[r=n.length]=t,o))for(;-1<--r;)n[r]===t&&n.splice(r,1);return Y[i].tweens},Q=function(e,t,o,n){var r,i,s=e.vars.onOverwrite;return s&&(r=s(e,t,o,n)),(s=I.onOverwrite)&&(i=s(e,t,o,n)),!1!==r&&!1!==i},$=function(e,t,o,n,r){var i,s,l;if(1===n||4<=n){for(l=r.length,h=0;h<l;h++)if((s=r[h])!==t)s._gc||s._kill(null,e,t)&&(i=!0);else if(5===n)break;return i}for(var a,d=t._startTime+b,_=[],c=0,u=0===t._duration,h=r.length;-1<--h;)(s=r[h])===t||s._gc||s._paused||(s._timeline!==t._timeline?(a=a||J(t,0,u),0===J(s,a,u)&&(_[c++]=s)):s._startTime<=d&&s._startTime+s.totalDuration()/s._timeScale>d&&((u||!s._initted)&&d-s._startTime<=2e-10||(_[c++]=s)));for(h=c;-1<--h;)if(s=_[h],2===n&&s._kill(o,e,t)&&(i=!0),2!==n||!s._firstPT&&s._initted){if(2!==n&&!Q(s,t))continue;s._enabled(!1,!1)&&(i=!0)}return i},J=function(e,t,o){for(var n=e._timeline,r=n._timeScale,i=e._startTime;n._timeline;){if(i+=n._startTime,r*=n._timeScale,n._paused)return-100;n=n._timeline}return t<(i/=r)?i-t:o&&i===t||!e._initted&&i-t<2*b?b:(i+=e.totalDuration()/e._timeScale/r)>t+b?0:i-t-b};te._init=function(){var e,t,o,n,r,i,s=this.vars,l=this._overwrittenProps,a=this._duration,d=!!s.immediateRender,_=s.ease;if(s.startAt){for(n in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={},s.startAt)r[n]=s.startAt[n];if(r.overwrite=!1,r.immediateRender=!0,r.lazy=d&&!1!==s.lazy,r.startAt=r.delay=null,this._startAt=I.to(this.target,0,r),d)if(0<this._time)this._startAt=null;else if(0!==a)return}else if(s.runBackwards&&0!==a)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(n in 0!==this._time&&(d=!1),o={},s)U[n]&&"autoCSS"!==n||(o[n]=s[n]);if(o.overwrite=0,o.data="isFromStart",o.lazy=d&&!1!==s.lazy,o.immediateRender=d,this._startAt=I.to(this.target,0,o),d){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=_=_?_ instanceof y?_:"function"==typeof _?new y(_,s.easeParams):B[_]||I.defaultEase:I.defaultEase,s.easeParams instanceof Array&&_.config&&(this._ease=_.config.apply(_,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(i=this._targets.length,e=0;e<i;e++)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],l?l[e]:null,e)&&(t=!0);else t=this._initProps(this.target,this._propLookup,this._siblings,l,0);if(t&&I._onPluginEvent("_onInitAllProps",this),l&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),s.runBackwards)for(o=this._firstPT;o;)o.s+=o.c,o.c=-o.c,o=o._next;this._onUpdate=s.onUpdate,this._initted=!0},te._initProps=function(e,t,o,n,r){var i,s,l,a,d,_;if(null==e)return!1;for(i in F[e._fwdTweenID]&&K(),this.vars.css||e.style&&e!==h&&e.nodeType&&z.css&&!1!==this.vars.autoCSS&&function(e,t){var o,n={};for(o in e)U[o]||o in t&&"transform"!==o&&"x"!==o&&"y"!==o&&"width"!==o&&"height"!==o&&"className"!==o&&"border"!==o||!(!z[o]||z[o]&&z[o]._autoCSS)||(n[o]=e[o],delete e[o]);e.css=n}(this.vars,e),this.vars)if(_=this.vars[i],U[i])_&&(_ instanceof Array||_.push&&w(_))&&-1!==_.join("").indexOf("{self}")&&(this.vars[i]=_=this._swapSelfInParams(_,this));else if(z[i]&&(a=new z[i])._onInitTween(e,this.vars[i],this,r)){for(this._firstPT=d={_next:this._firstPT,t:a,p:"setRatio",s:0,c:1,f:1,n:i,pg:1,pr:a._priority,m:0},s=a._overwriteProps.length;-1<--s;)t[a._overwriteProps[s]]=this._firstPT;(a._priority||a._onInitAllProps)&&(l=!0),(a._onDisable||a._onEnable)&&(this._notifyPluginsOfEnabled=!0),d._next&&(d._next._prev=d)}else t[i]=N.call(this,e,i,"get",_,i,0,null,this.vars.stringFilter,r);return n&&this._kill(n,e)?this._initProps(e,t,o,n,r):1<this._overwrite&&this._firstPT&&1<o.length&&$(e,this,t,this._overwrite,o)?(this._kill(t,e),this._initProps(e,t,o,n,r)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(F[e._fwdTweenID]=!0),l)},te.render=function(e,t,o){var n,r,i,s,l,a,d,_=this._time,c=this._duration,u=this._rawPrevTime;if(c-1e-7<=e?(this._totalTime=this._time=c,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,r="onComplete",o=o||this._timeline.autoRemoveChildren),0===c&&(!this._initted&&this.vars.lazy&&!o||(this._startTime===this._timeline._duration&&(e=0),(u<0||e<=0&&-1e-7<=e||u===b&&"isPause"!==this.data)&&u!==e&&(o=!0,b<u&&(r="onReverseComplete")),this._rawPrevTime=s=!t||e||u===e?e:b))):e<1e-7?(this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==_||0===c&&0<u)&&(r="onReverseComplete",n=this._reversed),e<0&&(this._active=!1,0===c&&(!this._initted&&this.vars.lazy&&!o||(0<=u&&(u!==b||"isPause"!==this.data)&&(o=!0),this._rawPrevTime=s=!t||e||u===e?e:b))),this._initted||(o=!0)):(this._totalTime=this._time=e,this._easeType?(l=e/c,(1===(a=this._easeType)||3===a&&.5<=l)&&(l=1-l),3===a&&(l*=2),1===(d=this._easePower)?l*=l:2===d?l*=l*l:3===d?l*=l*l*l:4===d&&(l*=l*l*l*l),this.ratio=1===a?1-l:2===a?l:e/c<.5?l/2:1-l/2):this.ratio=this._ease.getRatio(e/c)),this._time!==_||o){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!o&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=_,this._rawPrevTime=u,C.push(this),void(this._lazy=[e,t]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/c):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==_&&0<=e&&(this._active=!0),0===_&&(this._startAt&&(0<=e?this._startAt.render(e,t,o):r=r||"_dummyGS"),this.vars.onStart&&(0===this._time&&0!==c||t||this._callback("onStart"))),i=this._firstPT;i;)i.f?i.t[i.p](i.c*this.ratio+i.s):i.t[i.p]=i.c*this.ratio+i.s,i=i._next;this._onUpdate&&(e<0&&this._startAt&&-1e-4!==e&&this._startAt.render(e,t,o),t||(this._time!==_||n||o)&&this._callback("onUpdate")),r&&(this._gc&&!o||(e<0&&this._startAt&&!this._onUpdate&&-1e-4!==e&&this._startAt.render(e,t,o),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[r]&&this._callback(r),0===c&&this._rawPrevTime===b&&s!==b&&(this._rawPrevTime=0)))}},te._kill=function(e,t,o){if("all"===e&&(e=null),null==e&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:I.selector(t)||t;var n,r,i,s,l,a,d,_,c,u=o&&this._time&&o._startTime===this._startTime&&this._timeline===o._timeline;if((w(t)||k(t))&&"number"!=typeof t[0])for(n=t.length;-1<--n;)this._kill(e,t[n],o)&&(a=!0);else{if(this._targets){for(n=this._targets.length;-1<--n;)if(t===this._targets[n]){l=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[n]=e?this._overwrittenProps[n]||{}:"all";break}}else{if(t!==this.target)return!1;l=this._propLookup,r=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(l){if(d=e||l,_=e!==r&&"all"!==r&&e!==l&&("object"!=typeof e||!e._tempKill),o&&(I.onOverwrite||this.vars.onOverwrite)){for(i in d)l[i]&&(c=c||[]).push(i);if((c||!e)&&!Q(this,o,t,c))return!1}for(i in d)(s=l[i])&&(u&&(s.f?s.t[s.p](s.s):s.t[s.p]=s.s,a=!0),s.pg&&s.t._kill(d)&&(a=!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 l[i]),_&&(r[i]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return a},te.invalidate=function(){return this._notifyPluginsOfEnabled&&I._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],d.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-b,this.render(Math.min(0,-this._delay))),this},te._enabled=function(e,t){if(f||E.wake(),e&&this._gc){var o,n=this._targets;if(n)for(o=n.length;-1<--o;)this._siblings[o]=q(n[o],this,!0);else this._siblings=q(this.target,this,!0)}return d.prototype._enabled.call(this,e,t),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&I._onPluginEvent(e?"_onEnable":"_onDisable",this)},I.to=function(e,t,o){return new I(e,t,o)},I.from=function(e,t,o){return o.runBackwards=!0,o.immediateRender=0!=o.immediateRender,new I(e,t,o)},I.fromTo=function(e,t,o,n){return n.startAt=o,n.immediateRender=0!=n.immediateRender&&0!=o.immediateRender,new I(e,t,n)},I.delayedCall=function(e,t,o,n,r){return new I(t,0,{delay:e,onComplete:t,onCompleteParams:o,callbackScope:n,onReverseComplete:t,onReverseCompleteParams:o,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},I.set=function(e,t){return new I(e,0,t)},I.getTweensOf=function(e,t){if(null==e)return[];var o,n,r,i;if(e="string"==typeof e&&I.selector(e)||e,(w(e)||k(e))&&"number"!=typeof e[0]){for(o=e.length,n=[];-1<--o;)n=n.concat(I.getTweensOf(e[o],t));for(o=n.length;-1<--o;)for(i=n[o],r=o;-1<--r;)i===n[r]&&n.splice(o,1)}else for(o=(n=q(e).concat()).length;-1<--o;)(n[o]._gc||t&&!n[o].isActive())&&n.splice(o,1);return n},I.killTweensOf=I.killDelayedCallsTo=function(e,t,o){"object"==typeof t&&(o=t,t=!1);for(var n=I.getTweensOf(e,t),r=n.length;-1<--r;)n[r]._kill(o,e)};var ee=u("plugins.TweenPlugin",function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=ee.prototype},!0),te=ee.prototype;if(ee.version="1.19.0",ee.API=2,te._firstPT=null,te._addTween=N,te.setRatio=L,te._kill=function(e){var t,o=this._overwriteProps,n=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=o.length;-1<--t;)null!=e[o[t]]&&o.splice(t,1);for(;n;)null!=e[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},te._mod=te._roundProps=function(e){for(var t,o=this._firstPT;o;)(t=e[this._propName]||null!=o.n&&e[o.n.split(this._propName+"_").join("")])&&"function"==typeof t&&(2===o.f?o.t._applyPT.m=t:o.m=t),o=o._next},I._onPluginEvent=function(e,t){var o,n,r,i,s,l=t._firstPT;if("_onInitAllProps"===e){for(;l;){for(s=l._next,n=r;n&&n.pr>l.pr;)n=n._next;(l._prev=n?n._prev:i)?l._prev._next=l:r=l,(l._next=n)?n._prev=l:i=l,l=s}l=t._firstPT=r}for(;l;)l.pg&&"function"==typeof l.t[e]&&l.t[e]()&&(o=!0),l=l._next;return o},ee.activate=function(e){for(var t=e.length;-1<--t;)e[t].API===ee.API&&(z[(new e[t])._propName]=e[t]);return!0},r.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,o=e.propName,n=e.priority||0,r=e.overwriteProps,i={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},s=u("plugins."+o.charAt(0).toUpperCase()+o.substr(1)+"Plugin",function(){ee.call(this,o,n),this._overwriteProps=r||[]},!0===e.fwd_global),l=s.prototype=new ee(o);for(t in(l.constructor=s).API=e.API,i)"function"==typeof e[t]&&(l[i[t]]=e[t]);return s.version=e.version,ee.activate([s]),s},s=h._fwd_fwdQueue){for(l=0;l<s.length;l++)s[l]();for(te in T)T[te].func||h.console.log("FWDAnimation encountered missing dependency: "+te)}f=!1}}("undefined"!=typeof fwd_module&&fwd_module.exports&&"undefined"!=typeof fwd_global?fwd_global:this||window,"FWDAnimation")),function(e){var d=function(e,t,o,n,r,i,s){var l=this,a=d.prototype;l.left_sdo=null,l.middle_sdo=null,l.right_sdo=null,l.text_sdo=null,l.pointer_sdo=null,l.bottomPointer_str=r,l.topPointer_str=n,l.pointerPosition_str=o,l.toolTipLabel_str=e,l.toolTipLabel2_str=t,l.hideWithDelayId_do,l.isMobile_bl=FWDUtils.isMobile,l.isShowed_bl=!0,l.init=function(){l.setOverflow("visible"),l.setWidth(200),l.setupMainContainers(),l.setLabel(l.toolTipLabel_str),l.hide()},l.setupMainContainers=function(){l.text_sdo=new FWDSimpleDisplayObject("div"),l.text_sdo.screen.className="fwd3660-button-tooltip",l.text_sdo.setBackfaceVisibility(),l.text_sdo.setDisplay("inline-block"),l.text_sdo.getStyle().fontFamily="Arial",l.text_sdo.getStyle().fontSize="12px",l.text_sdo.getStyle().whiteSpace="nowrap",l.text_sdo.getStyle().boxSizing="border-box",l.text_sdo.getStyle().backgroundColor=i,l.text_sdo.getStyle().color=s,l.addChild(l.text_sdo),l.pointerHolder_do=new FWDDisplayObject("div"),l.pointerHolder_do.setOverflow("visible"),l.addChild(l.pointerHolder_do),l.pointer_sdo=new FWDSimpleDisplayObject("div"),l.pointer_sdo.hasTransform3d_bl=l.pointer_sdo.hasTransform2d_bl=!1,l.pointer_sdo.setY(0),l.pointerPosition_str==FWDController.POSITION_BOTTOM?l.pointer_sdo.screen.className="fwd360-button-tooltip-pointer fwd360-pointer-down":l.pointer_sdo.screen.className="fwd360-button-tooltip-pointer fwd360-pointer-up",l.pointer_sdo.setBkColor(l.dClr),l.pointer_sdo.getStyle().transform="rotate(45deg)",l.pointer_sdo.getStyle().backgroundColor=i,l.pointer_sdo.setWidth(8),l.pointer_sdo.setHeight(8),l.pointer_sdo.screen.style.position="absolute",l.addChild(l.pointer_sdo)},l.setLabel=function(e){null!=l&&(l.text_sdo.setInnerHTML(e),setTimeout(function(){null!=l&&(l.pointerWidth=l.pointer_sdo.getWidth(),l.pointerHeight=l.pointer_sdo.getHeight(),l.totalWidth=l.text_sdo.screen.offsetWidth,l.totalHeight=l.text_sdo.getHeight()+l.pointerHeight,l.positionPointer(0))},60))},l.positionPointer=function(e){var t,o;e=e||0,t=parseInt((l.totalWidth-l.pointerWidth)/2)+e,l.pointerPosition_str==FWDController.POSITION_BOTTOM?(o=l.totalHeight-l.pointerHeight-l.pointerHeight/2,l.text_sdo.screen.className="fwd3660-button-tooltip fwd360-pointer-down"):(o=-l.pointerHeight+l.pointerHeight/2,l.text_sdo.screen.className="fwd3660-button-tooltip fwd360-pointer-up"),l.pointer_sdo.setX(t),l.pointer_sdo.setY(o)},l.show=function(){l.isShowed_bl||(clearInterval(l.hideWithDelayId_do),l.positionPointer(),FWDAnimation.killTweensOf(l),FWDAnimation.to(l,.4,{alpha:1,delay:.1,ease:Quart.easeOut}),l.isShowed_bl=!0)},l.hide=function(){l.isShowed_bl&&(FWDAnimation.killTweensOf(l),l.setX(-5e3),l.setAlpha(0),l.isShowed_bl=!1)},l.destroy=function(){FWDAnimation.killTweensOf(l),l.text_sdo.destroy(),l.pointer_sdo.destroy(),l.fontColor_str=null,l.bottomPointer_str=null,l.topPointer_str=null,l.pointerPosition_str=null,l.toolTipLabel_str=null,l.toolTipLabel2_str=null,l.text_sdo=null,l.pointer_sdo=null,r=n=o=t=e=null,l.setInnerHTML(""),a.destroy(),a=l=null,d.prototype=null},l.init()};d.setPrototype=function(){d.prototype=null,d.prototype=new FWDDisplayObject("div")},d.CLICK="onClick",d.MOUSE_DOWN="onMouseDown",d.prototype=null,e.FWDButtonToolTip=d}(window),function(){var h=function(e,t,o,n,r,i,s,l,a,d,_){var c=this,u=h.prototype;c.n1Img=e,c.s1Img=t,c.n2Img=o,c.s2Img=n,c.firstButton_do,c.n1_do,c.s1_do,c.secondButton_do,c.n2_do,c.s2_do,e&&(c.buttonWidth=c.n1Img.width,c.buttonHeight=c.n1Img.height),c.currentState=1,c.isDisabled_bl=!1,c.isMaximized_bl=!1,c.disptachMainEvent_bl=r,c.isMobile_bl=FWDUtils.isMobile,c.hasPointerEvent_bl=FWDUtils.hasPointerEvent,c.init=function(){c.setButtonMode(!0),c.setWidth(c.buttonWidth),c.setHeight(c.buttonHeight),c.setupMainContainers(),c.secondButton_do.setVisible(!1)},c.setupMainContainers=function(){c.firstButton_do=new FWDDisplayObject("div"),c.addChild(c.firstButton_do),c.secondButton_do=new FWDDisplayObject("div"),c.addChild(c.secondButton_do),i?(c.isSkin1=l.indexOf("skin1"),c.setOverflow("visible"),c.firstButton_do.setOverflow("visible"),c.n1_do=new FWDDisplayObject("div"),c.n1_do.getStyle().lineHeight=0,c.m_cnt=new FWDDisplayObject("div","relative"),c.m_cnt.setOverflow("visible"),c.m_cnt.getStyle().boxSizing="border-box",c.m_cnt.getStyle().lineHeight=0,c.vectCnt_do=new FWDDisplayObject("div","relative"),c.vectCnt_do.getStyle().lineHeight=0,c.vectCnt_do.getStyle().display="flex",c.vectCnt_do.getStyle().alignItems="center",c.vectCnt_do.getStyle().justifyContent="center",c.vctIcn_do=new FWDDisplayObject("div","relative"),c.vctIcn_do.getStyle().lineHeight=0,c.vctIcn_do.setInnerHTML(i),c.n1_do.addChild(c.m_cnt),c.m_cnt.addChild(c.vectCnt_do),c.vectCnt_do.addChild(c.vctIcn_do),c.firstButton_do.addChild(c.n1_do),c.secondButton_do.setOverflow("visible"),c.n2_do=new FWDDisplayObject("div"),c.n2_do.getStyle().lineHeight=0,c.m_cnt2=new FWDDisplayObject("div","relative"),c.m_cnt2.setOverflow("visible"),c.m_cnt2.getStyle().boxSizing="border-box",c.m_cnt2.getStyle().lineHeight=0,c.vectCnt2_do=new FWDDisplayObject("div","relative"),c.vectCnt2_do.getStyle().lineHeight=0,c.vectCnt2_do.getStyle().display="flex",c.vectCnt2_do.getStyle().alignItems="center",c.vectCnt2_do.getStyle().justifyContent="center",c.vctIcn2_do=new FWDDisplayObject("div","relative"),c.vctIcn2_do.getStyle().lineHeight=0,c.vctIcn2_do.setInnerHTML(s),c.n2_do.addChild(c.m_cnt2),c.m_cnt2.addChild(c.vectCnt2_do),c.vectCnt2_do.addChild(c.vctIcn2_do),c.secondButton_do.addChild(c.n2_do),c.setNormalState(),c.setFinalSize()):(c.n1_do=new FWDSimpleDisplayObject("img"),c.n1_do.setScreen(c.n1Img),c.s1_do=new FWDSimpleDisplayObject("img"),c.s1_do.setScreen(c.s1Img),c.s1_do.setAlpha(0),c.firstButton_do.addChild(c.n1_do),c.firstButton_do.addChild(c.s1_do),c.firstButton_do.setWidth(c.n1Img.width),c.firstButton_do.setHeight(c.n1Img.height),c.n2_do=new FWDSimpleDisplayObject("img"),c.n2_do.setScreen(c.n2Img),c.s2_do=new FWDSimpleDisplayObject("img"),c.s2_do.setScreen(c.s2Img),c.s2_do.setAlpha(0),c.secondButton_do.addChild(c.n2_do),c.secondButton_do.addChild(c.s2_do),c.secondButton_do.setWidth(c.n2Img.width),c.secondButton_do.setHeight(c.n2Img.height)),c.isMobile_bl?c.hasPointerEvent_bl?(c.screen.addEventListener("MSPointerDown",c.onMouseDown),c.screen.addEventListener("MSPointerUp",c.onClick),c.screen.addEventListener("MSPointerOver",c.onMouseOver),c.screen.addEventListener("MSPointerOut",c.onMouseOut)):c.screen.addEventListener("touchstart",c.onMouseDown):c.screen.addEventListener?(c.screen.addEventListener("mouseover",c.onMouseOver),c.screen.addEventListener("mouseout",c.onMouseOut),c.screen.addEventListener("mousedown",c.onMouseDown),c.screen.addEventListener("click",c.onClick)):c.screen.attachEvent&&(c.screen.attachEvent("onmouseover",c.onMouseOver),c.screen.attachEvent("onmouseout",c.onMouseOut),c.screen.attachEvent("onmousedown",c.onMouseDown),c.screen.attachEvent("onclick",c.onClick))},c.checkCount=0,c.setFinalSize=function(e){e&&(c.checkCount=0),clearInterval(c.checkId_int),6<c.checkCount||(c.lastWidth=c.vectCnt_do.screen.offsetWidth,c.checkCount+=1,c.checkId_int=setInterval(function(){c.setFinalSize()},100),c.prevWidth!=c.lastWidth&&0!=c.lastWidth&&(c.setWidth(c.vectCnt_do.screen.offsetWidth),c.setHeight(c.vectCnt_do.screen.offsetHeight),c.firstButton_do.setWidth(c.w),c.firstButton_do.setHeight(c.h),c.secondButton_do.setWidth(c.w),c.secondButton_do.setHeight(c.h),c.n1_do.setWidth(c.w),c.n1_do.setHeight(c.h),c.n2_do.setWidth(c.w),c.n2_do.setHeight(c.h),c.buttonWidth=c.w,c.buttonHeight=c.h,c.totalWidth=c.w,c.totalHeight=c.h,c.prevWidth=c.lastWidth))},c.onMouseOver=function(e,t){e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE||(c.setSelectedState(!0),c.dispatchEvent(h.MOUSE_OVER,{e:e}))},c.onMouseOut=function(e){e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE||(c.setNormalState(!0),c.dispatchEvent(h.MOUSE_OUT))},c.onClick=function(e){c.isDisabled_bl||(e.preventDefault&&e.preventDefault(),c.disptachMainEvent_bl&&c.dispatchEvent(h.CLICK))},c.onMouseDown=function(e){c.isDisabled_bl||(e.preventDefault&&e.preventDefault(),c.isMobile_bl||c.onMouseOver(e,!1),c.disptachMainEvent_bl&&c.dispatchEvent(h.MOUSE_DOWN,{e:e}))},c.setNormalState=function(e){i?(FWDAnimation.killTweensOf(c.vctIcn_do.screen),FWDAnimation.killTweensOf(c.vctIcn2_do.screen),d&&(FWDAnimation.killTweensOf(c.vectCnt_do.screen),FWDAnimation.killTweensOf(c.vectCnt2_do.screen)),e?(d&&(FWDAnimation.to(c.vectCnt_do.screen,.6,{className:d,ease:Expo.easeOut}),FWDAnimation.to(c.vectCnt2_do.screen,.6,{className:d,ease:Expo.easeOut})),FWDAnimation.to(c.vctIcn_do.screen,.6,{className:l,ease:Expo.easeOut}),FWDAnimation.to(c.vctIcn2_do.screen,.6,{className:l,ease:Expo.easeOut})):(d&&(c.vectCnt_do.screen.className=d,c.vectCnt2_do.screen.className=d),c.vctIcn_do.screen.className=l,c.vctIcn2_do.screen.className=l)):(FWDAnimation.killTweensOf(c.s1_do),FWDAnimation.killTweensOf(c.s2_do),FWDAnimation.to(c.s1_do,.5,{alpha:0,ease:Expo.easeOut}),FWDAnimation.to(c.s2_do,.5,{alpha:0,ease:Expo.easeOut}))},c.setSelectedState=function(e){i?(FWDAnimation.killTweensOf(c.vctIcn_do.screen),FWDAnimation.killTweensOf(c.vctIcn2_do.screen),d&&(FWDAnimation.killTweensOf(c.vectCnt_do.screen),FWDAnimation.killTweensOf(c.vectCnt2_do.screen)),e?(_&&(FWDAnimation.to(c.vectCnt_do.screen,.8,{className:_,ease:Expo.easeOut}),FWDAnimation.to(c.vectCnt2_do.screen,.8,{className:_,ease:Expo.easeOut})),FWDAnimation.to(c.vctIcn_do.screen,.8,{className:a,ease:Expo.easeOut}),FWDAnimation.to(c.vctIcn2_do.screen,.8,{className:a,ease:Expo.easeOut})):(_&&(c.vectCnt_do.screen.className=_,c.vectCnt2_do.screen.className=_),c.vctIcn_do.screen.className=a,c.vctIcn2_do.screen.className=a)):(FWDAnimation.killTweensOf(c.s1_do),FWDAnimation.killTweensOf(c.s2_do),FWDAnimation.to(c.s1_do,.5,{alpha:1,delay:.1,ease:Expo.easeOut}),FWDAnimation.to(c.s2_do,.5,{alpha:1,delay:.1,ease:Expo.easeOut}))},c.toggleButton=function(){1==c.currentState?(c.firstButton_do.setVisible(!1),c.secondButton_do.setVisible(!0),c.currentState=0,c.dispatchEvent(h.FIRST_BUTTON_CLICK)):(c.firstButton_do.setVisible(!0),c.secondButton_do.setVisible(!1),c.currentState=1,c.dispatchEvent(h.SECOND_BUTTON_CLICK))},c.setButtonState=function(e){1==e?(c.firstButton_do.setVisible(!0),c.secondButton_do.setVisible(!1),c.currentState=1):(c.firstButton_do.setVisible(!1),c.secondButton_do.setVisible(!0),c.currentState=0)},c.destroy=function(){c.isMobile_bl?c.hasPointerEvent_bl?(c.screen.removeEventListener("MSPointerDown",c.onMouseDown),c.screen.removeEventListener("MSPointerUp",c.onClick),c.screen.removeEventListener("MSPointerOver",c.onMouseOver),c.screen.removeEventListener("MSPointerOut",c.onMouseOut)):c.screen.removeEventListener("touchstart",c.onMouseDown):c.screen.removeEventListener?(c.screen.removeEventListener("mouseover",c.onMouseOver),c.screen.removeEventListener("mouseout",c.onMouseOut),c.screen.removeEventListener("mousedown",c.onMouseDown),c.screen.removeEventListener("click",c.onClick)):c.screen.detachEvent&&(c.screen.detachEvent("onmouseover",c.onMouseOver),c.screen.detachEvent("onmouseout",c.onMouseOut),c.screen.detachEvent("onmousedown",c.onMouseDown),c.screen.detachEvent("onclick",c.onClick)),c.firstButton_do.destroy(),c.n1_do.destroy(),c.secondButton_do.destroy(),c.n2_do.destroy(),c.s1_do&&(FWDAnimation.killTweensOf(c.s1_do),FWDAnimation.killTweensOf(c.s2_do),c.s1_do.destroy(),c.s2_do.destroy()),c.firstButton_do=null,c.n1_do=null,c.s1_do=null,c.secondButton_do=null,c.n2_do=null,c.s2_do=null,c.n1Img=null,c.s1Img=null,c.n2Img=null,c.s2Img=null,n=o=t=e=null,c.init=null,c.setupMainContainers=null,c.onMouseOver=null,c.onMouseOut=null,c.onClick=null,c.onMouseDown=null,c.toggleButton=null,c.setButtonState=null,c.destroy=null,c.setInnerHTML(""),u.destroy(),u=c=null,h.prototype=null},c.init()};h.setPrototype=function(){h.prototype=new FWDDisplayObject("div")},h.FIRST_BUTTON_CLICK="onFirstClick",h.SECOND_BUTTON_CLICK="secondButtonOnClick",h.MOUSE_OVER="onMouseOver",h.MOUSE_OUT="onMouseOut",h.MOUSE_DOWN="onMouseDown",h.CLICK="onClick",h.prototype=null,window.FWDComplexButton=h}(window),function(e){var t=function(){var r=this;t.prototype;r.main_do=null,r.init=function(){r.setupScreen(),e.onerror=r.showError,r.screen.style.zIndex=100000009,setTimeout(r.addConsoleToDom,100),setInterval(r.position,100)},r.position=function(){var e=FWDUtils.getScrollOffsets();r.setX(e.x),r.setY(e.y)},r.addConsoleToDom=function(){-1!=navigator.userAgent.toLowerCase().indexOf("msie 7")?document.getElementsByTagName("body")[0].appendChild(r.screen):document.documentElement.appendChild(r.screen)},r.setupScreen=function(){r.main_do=new FWDDisplayObject("div","absolute"),r.main_do.setOverflow("auto"),r.main_do.setWidth(200),r.main_do.setHeight(300),r.setWidth(200),r.setHeight(300),r.main_do.setBkColor("#FFFFFF"),r.addChild(r.main_do)},r.showError=function(e,t,o){var n=r.main_do.getInnerHTML()+"<br>JavaScript error: "+e+" on line "+o+" for "+t;r.main_do.setInnerHTML(n),r.main_do.screen.scrollTop=r.main_do.screen.scrollHeight},r.log=function(e){var t=r.main_do.getInnerHTML()+"<br>"+e;r.main_do.setInnerHTML(t),r.main_do.getScreen().scrollTop=1e4},r.init()};t.setPrototype=function(){t.prototype=new FWDDisplayObject("div","absolute")},t.prototype=null,e.FWDConsole=t}(window),function(){var r=function(s,o){var a=this,n=r.prototype;a.parent=s,a.buttonsTest_ar=o.buttons_ar,a.itemsLabels_ar=o.contextMenuLabels_ar,a.items_ar=[],a.spacers_ar=[],a.panButton_do=null,a.rotateButton_do=null,a.nextButton_do=null,a.prevButton_do=null,a.slideShowButton_do=null,a.infoButton_do=null,a.linkButton_do=null,a.fullScreenButton_do=null,a.zoomInButton_do=null,a.zoomOutButton_do=null,a.slideShowButton_do=null,a.linkButton_do=null,a.infoButton_do=null,a.fullScreenButton_do=null,a.contextMenuItemBackgroundNormalColor=o.contextMenuItemBackgroundNormalColor,a.contextMenuItemBackgroundSelectedColor=o.contextMenuItemBackgroundSelectedColor,a.borderColor_str=o.contextMenuBorderColor_str,a.spacerColor_str=o.contextMenuSpacerColor_str,a.itemTextNormalColor_str=o.contextMenuItemTextNormalColor_str,a.itemTextSelectedColor_str=o.contextMenuItemTextSelectedColor_str,a.itemDisabledColor_str=o.contextMenuItemDisabledColor_str,a.draggingMode_str=o.startDraggingMode_str,a.link_str=o.link_str,a.biggestWidth,a.totalWidth=400,a.totalHeight=400,a.sapaceBetweenButtons=0,a.padding=0,a.getMaxWidthResizeAndPositionId_to,a.inverseNextAndPrevRotation_bl=o.inverseNextAndPrevRotation_bl,a.showScriptDeveloper_bl=o.showScriptDeveloper_bl,a.show_bl=!1,a.isActive_bl=!1,a.init=function(){(a.itemsLabels_ar||a.showScriptDeveloper_bl)&&(a.show_bl=!0,a.screen.className="fwd360-ctxm",a.setWidth(a.totalWidth),a.setHeight(a.totalHeight),a.setBkColor(a.backgroundColor_str),a.getStyle().borderColor=a.borderColor_str,a.getStyle().borderStyle="solid",a.getStyle().borderWidth="1px",a.setVisible(!1),a.setY(-2e3),a.parent.main_do.addChild(a),a.setupLabels(),a.setupDeveloperButton(),a.setupSpacers(),a.getMaxWidthResizeAndPositionId_to=setTimeout(a.getMaxWidthResizeAndPosition,310)),a.addContextEvent()},a.setupLabels=function(){var e=a.buttonsTest_ar.length,t="",o="";if(a.itemsLabels_ar)for(var n,r,i=0;i<e;i++){"pan"==(r=a.buttonsTest_ar[i])?(t=a.itemsLabels_ar[i]||"Contextmenu item is not defined!",FWDContextMenuButton.setPrototype(),a.panButton_do=new FWDContextMenuButton(t,void 0,a.contextMenuItemBackgroundNormalColor,a.contextMenuItemBackgroundSelectedColor,a.itemTextNormalColor_str,a.itemTextSelectedColor_str,a.itemDisabledColor_str),a.items_ar.push(a.panButton_do),a.draggingMode_str==FWDController.PAN&&a.panButton_do.disable(),a.panButton_do.addListener(FWDContextMenuButton.MOUSE_DOWN,a.panRotateStartHandler),a.addChild(a.panButton_do)):"rotate"==r?(t=a.itemsLabels_ar[i]||"Contextmenu item is not defined!",FWDContextMenuButton.setPrototype(),a.rotateButton_do=new FWDContextMenuButton(t,void 0,a.contextMenuItemBackgroundNormalColor,a.contextMenuItemBackgroundSelectedColor,a.itemTextNormalColor_str,a.itemTextSelectedColor_str,a.itemDisabledColor_str),a.items_ar.push(a.rotateButton_do),a.draggingMode_str==FWDController.ROTATE&&a.rotateButton_do.disable(),a.rotateButton_do.addListener(FWDContextMenuButton.MOUSE_DOWN,a.panButtonStartHandler),a.addChild(a.rotateButton_do)):"rotateright"==r?(t=a.itemsLabels_ar[i]||"Contextmenu item is not defined!",FWDContextMenuButton.setPrototype(),a.nextButton_do=new FWDContextMenuButton(t,void 0,a.contextMenuItemBackgroundNormalColor,a.contextMenuItemBackgroundSelectedColor,a.itemTextNormalColor_str,a.itemTextSelectedColor_str,a.itemDisabledColor_str),a.items_ar.push(a.nextButton_do),a.nextButton_do.addListener(FWDContextMenuButton.MOUSE_DOWN,a.nextButtonStartHandler),a.addChild(a.nextButton_do)):"roteteleft"==r?(t=a.itemsLabels_ar[i]||"Contextmenu item is not defined!",FWDContextMenuButton.setPrototype(),a.prevButton_do=new FWDContextMenuButton(t,void 0,a.contextMenuItemBackgroundNormalColor,a.contextMenuItemBackgroundSelectedColor,a.itemTextNormalColor_str,a.itemTextSelectedColor_str,a.itemDisabledColor_str),a.items_ar.push(a.prevButton_do),a.prevButton_do.addListener(FWDContextMenuButton.MOUSE_DOWN,a.prevButtonStartHandler),a.addChild(a.prevButton_do)):"scrollbar"==r?(o=!(n=a.itemsLabels_ar[i])||-1==n.indexOf("/")?t="Contextmenu item is not defined!":(t=n.substr(0,n.indexOf("/")),n.substr(n.indexOf("/")+1)),FWDContextMenuButton.setPrototype(),a.zoomInButton_do=new FWDContextMenuButton(t,void 0,a.contextMenuItemBackgroundNormalColor,a.contextMenuItemBackgroundSelectedColor,a.itemTextNormalColor_str,a.itemTextSelectedColor_str,a.itemDisabledColor_str),a.items_ar.push(a.zoomInButton_do),a.zoomInButton_do.addListener(FWDContextMenuButton.MOUSE_DOWN,a.zoomInButtonStartHandler),a.addChild(a.zoomInButton_do),FWDContextMenuButton.setPrototype(),a.zoomOutButton_do=new FWDContextMenuButton(o,void 0,a.contextMenuItemBackgroundNormalColor,a.contextMenuItemBackgroundSelectedColor,a.itemTextNormalColor_str,a.itemTextSelectedColor_str,a.itemDisabledColor_str),a.items_ar.push(a.zoomOutButton_do),a.zoomOutButton_do.addListener(FWDContextMenuButton.MOUSE_DOWN,a.zoomOutButtonStartHandler),a.addChild(a.zoomOutButton_do)):"play"==r?(o=!(n=a.itemsLabels_ar[i])||-1==n.indexOf("/")?t="Contextmenu item is not defined!":(t=n.substr(0,n.indexOf("/")),n.substr(n.indexOf("/")+1)),FWDContextMenuButton.setPrototype(),a.slideShowButton_do=new FWDContextMenuButton(t,o,a.contextMenuItemBackgroundNormalColor,a.contextMenuItemBackgroundSelectedColor,a.itemTextNormalColor_str,a.itemTextSelectedColor_str,a.itemDisabledColor_str),a.items_ar.push(a.slideShowButton_do),a.slideShowButton_do.addListener(FWDContextMenuButton.MOUSE_DOWN,a.startSlideShowHandler),a.addChild(a.slideShowButton_do)):"info"==r?(t=a.itemsLabels_ar[i]||"Contextmenu item is not defined!",FWDContextMenuButton.setPrototype(),a.infoButton_do=new FWDContextMenuButton(t,o,a.contextMenuItemBackgroundNormalColor,a.contextMenuItemBackgroundSelectedColor,a.itemTextNormalColor_str,a.itemTextSelectedColor_str,a.itemDisabledColor_str),a.items_ar.push(a.infoButton_do),a.infoButton_do.addListener(FWDContextMenuButton.MOUSE_DOWN,a.infoButtonStart),a.addChild(a.infoButton_do)):"link"==r?(t=a.itemsLabels_ar[i]||"Contextmenu item is not defined!",FWDContextMenuButton.setPrototype(),a.linkButton_do=new FWDContextMenuButton(t,o,a.contextMenuItemBackgroundNormalColor,a.contextMenuItemBackgroundSelectedColor,a.itemTextNormalColor_str,a.itemTextSelectedColor_str,a.itemDisabledColor_str),a.items_ar.push(a.linkButton_do),a.linkButton_do.addListener(FWDContextMenuButton.CLICK,a.startLinkHandler),a.addChild(a.linkButton_do)):"fullscreen"==r&&(s.displayType==FWDViewer.FULL_SCREEN&&!FWDUtils.hasFullScreen||(o=!(n=a.itemsLabels_ar[i])||-1==n.indexOf("/")?t="Contextmenu item is not defined!":(t=n.substr(0,n.indexOf("/")),n.substr(n.indexOf("/")+1)),FWDContextMenuButton.setPrototype(),a.fullScreenButton_do=new FWDContextMenuButton(t,o,a.contextMenuItemBackgroundNormalColor,a.contextMenuItemBackgroundSelectedColor,a.itemTextNormalColor_str,a.itemTextSelectedColor_str,a.itemDisabledColor_str),a.items_ar.push(a.fullScreenButton_do),a.fullScreenButton_do.addListener(FWDContextMenuButton.MOUSE_DOWN,a.fullScreenStartHandler),a.addChild(a.fullScreenButton_do)))}},a.setupDeveloperButton=function(){a.showScriptDeveloper_bl&&(a.itemsLabels_ar||(a.itemsLabels_ar=[]),a.itemsLabels_ar.push("&#0169; made by FWD"),label1_str="&#0169; made by FWD",FWDContextMenuButton.setPrototype(),a.developerButton_do=new FWDContextMenuButton(label1_str,void 0,a.contextMenuItemBackgroundNormalColor,a.contextMenuItemBackgroundSelectedColor,"#8B859B",a.itemTextSelectedColor_str,a.itemDisabledColor_str),a.developerButton_do.text1_sdo.screen.className="fwd360-ctxm-text dev",a.developerButton_do.isDeveleper_bl=!0,a.items_ar.push(a.developerButton_do),a.addChild(a.developerButton_do))},a.panButtonStartHandler=function(e){a.dispatchEvent(FWDController.ROTATE),a.removeFromDOM()},a.enablePanButton=function(){a.panButton_do&&a.panButton_do.enable(),a.rotateButton_do&&a.rotateButton_do.disable(),a.draggingMode_str=FWDController.ROTATE},a.panRotateStartHandler=function(e){a.dispatchEvent(FWDController.PAN),a.removeFromDOM()},a.enableRotateButton=function(){a.rotateButton_do&&a.rotateButton_do.enable(),a.panButton_do&&a.panButton_do.disable(),a.draggingMode_str=FWDController.PAN},a.nextButtonStartHandler=function(e){a.dispatchEvent(FWDController.GOTO_NEXT_IMAGE,{e:e})},a.prevButtonStartHandler=function(e){a.dispatchEvent(FWDController.GOTO_PREV_IMAGE,{e:e})},a.zoomInButtonStartHandler=function(e){a.dispatchEvent(FWDController.ZOOM_IN,{e:e})},a.zoomOutButtonStartHandler=function(e){a.dispatchEvent(FWDController.ZOOM_OUT,{e:e})},a.startSlideShowHandler=function(e){0==a.slideShowButton_do.currentState?a.dispatchEvent(FWDController.START_SLIDE_SHOW,{e:e}):a.dispatchEvent(FWDController.STOP_SLIDE_SHOW,{e:e})},a.updateSlideShowButton=function(e){a.slideShowButton_do&&(0==e?a.slideShowButton_do.setButtonState(0):a.slideShowButton_do.setButtonState(1))},a.infoButtonStart=function(e){a.removeFromDOM(),a.dispatchEvent(FWDController.SHOW_INFO)},a.fullScreenStartHandler=function(e){0==a.fullScreenButton_do.currentState?a.dispatchEvent(FWDController.GO_FULL_SCREEN):1==a.fullScreenButton_do.currentState&&a.dispatchEvent(FWDController.GO_NORMAL_SCREEN),a.fullScreenButton_do.onMouseOut()},a.updateFullScreenButton=function(e){a.fullScreenButton_do&&(0==e?a.fullScreenButton_do.setButtonState(0):a.fullScreenButton_do.setButtonState(1),a.removeFromDOM())},a.startLinkHandler=function(e){window.open(a.link_str,"_blank")},a.setupSpacers=function(){for(var e,t=a.items_ar.length-1,o=0;o<t;o++)e=new FWDSimpleDisplayObject("div"),(a.spacers_ar[o]=e).setHeight(1),e.setBkColor(a.spacerColor_str),a.addChild(e)},a.getMaxWidthResizeAndPosition=function(){var e,t,o=a.items_ar.length;a.totalWidth=0;for(var n=a.totalHeight=0;n<o;n++)(e=a.items_ar[n]).getMaxTextWidth()>a.totalWidth&&(a.totalWidth=e.getMaxTextWidth());a.totalWidth+=30;for(n=0;n<o;n++)t=a.spacers_ar[n-1],(e=a.items_ar[n]).setX(a.padding),e.setY(n*(e.totalHeight+a.sapaceBetweenButtons)-a.padding),t&&(t.setWidth(a.totalWidth),t.setX(a.padding),t.setY(parseInt(e.getY()-a.sapaceBetweenButtons/2))),e.setWidth(a.totalWidth+2),e.centerText();a.totalHeight=e.getY()+e.totalHeight,a.setWidth(a.totalWidth+2*a.padding),a.setHeight(a.totalHeight),a.setVisible(!0),a.removeFromDOM()},a.addContextEvent=function(){a.parent.main_do.screen.addEventListener?a.parent.main_do.screen.addEventListener("contextmenu",a.contextMenuHandler):a.parent.main_do.screen.attachEvent("oncontextmenu",a.contextMenuHandler)},a.contextMenuHandler=function(e){if(s.stageHeight<a.totalHeight)e.preventDefault();else{if(!a.show_bl||!a.isActive_bl)return!!e.preventDefault&&void e.preventDefault();if(a.parent.main_do.addChild(a),a.positionButtons(e),a.setAlpha(0),FWDAnimation.to(a,.4,{alpha:1,ease:Quart.easeOut}),window.addEventListener?(window.addEventListener("mousedown",a.contextMenuWindowOnMouseDownHandler),window.addEventListener("mouseup",a.contextMenuWindowOnMouseDownHandler)):(document.documentElement.attachEvent("onmousedown",a.contextMenuWindowOnMouseDownHandler),document.documentElement.attachEvent("onmouseup",a.contextMenuWindowOnMouseDownHandler)),!e.preventDefault)return!1;e.preventDefault()}},a.contextMenuWindowOnMouseDownHandler=function(e){var t=FWDUtils.getViewportMouseCoordinates(e),o=t.screenX,n=t.screenY;FWDUtils.hitTest(a.screen,o,n)||(window.removeEventListener?(window.removeEventListener("mousedown",a.contextMenuWindowOnMouseDownHandler),window.removeEventListener("mouseup",a.contextMenuWindowOnMouseDownHandler)):(document.documentElement.detachEvent("onmousedown",a.contextMenuWindowOnMouseDownHandler),document.documentElement.detachEvent("onmouseup",a.contextMenuWindowOnMouseDownHandler)),a.removeFromDOM())},a.positionButtons=function(e){var t=FWDUtils.getViewportMouseCoordinates(e),o=a.parent.main_do.getWidth(),n=a.parent.main_do.getHeight(),r=t.screenX-a.parent.main_do.getGlobalX(),i=t.screenY-a.parent.main_do.getGlobalY(),s=r-2,l=i-2;a.totalWidth=a.getWidth(),a.totalHeight=a.getHeight(),s+a.totalWidth>o-2&&(s=r-a.totalWidth),s<0&&(s=parseInt((o-a.totalWidth)/2)),s<0&&(s=0),l+a.totalHeight>n-2&&(l=i-a.totalHeight),l<0&&(l=parseInt((n-a.totalHeight)/2)),l<0&&(l=0),a.setX(s),a.setY(l)},a.disable=function(){a.panButton_do&&a.panButton_do.disable(),a.rotateButton_do&&a.rotateButton_do.disable(),a.nextButton_do&&a.nextButton_do.disable(),a.prevButton_do&&a.prevButton_do.disable(),a.slideShowButton_do&&a.slideShowButton_do.disable(),a.infoButton_do&&a.infoButton_do.disable(),a.zoomInButton_do&&a.zoomInButton_do.disable(),a.zoomOutButton_do&&a.zoomOutButton_do.disable(),a.slideShowButton_do&&a.slideShowButton_do.disable()},a.enable=function(){a.panButton_do&&a.draggingMode_str==FWDController.ROTATE&&a.panButton_do.enable(),a.rotateButton_do&&a.draggingMode_str==FWDController.PAN&&a.rotateButton_do.enable(),a.nextButton_do&&a.nextButton_do.enable(),a.prevButton_do&&a.prevButton_do.enable(),a.slideShowButton_do&&a.slideShowButton_do.enable(),a.infoButton_do&&a.infoButton_do.enable(),a.zoomInButton_do&&a.zoomInButton_do.enable(),a.zoomOutButton_do&&a.zoomOutButton_do.enable(),a.slideShowButton_do&&a.slideShowButton_do.enable()},a.removeFromDOM=function(){a.setX(-5e3)},a.destroy=function(){var e;clearTimeout(a.getMaxWidthResizeAndPositionId_to),FWDAnimation.killTweensOf(a),window.removeEventListener?(window.removeEventListener("mousedown",a.contextMenuWindowOnMouseDownHandler),window.removeEventListener("mouseup",a.contextMenuWindowOnMouseDownHandler),a.parent.main_do.screen.removeEventListener("contextmenu",a.contextMenuHandler)):(document.documentElement.detachEvent("onmousedown",a.contextMenuWindowOnMouseDownHandler),document.documentElement.detachEvent("onmouseup",a.contextMenuWindowOnMouseDownHandler),a.parent.main_do.screen.detachEvent("oncontextmenu",a.contextMenuHandler)),e=a.items_ar.length;for(var t=0;t<e;t++)a.items_ar[t].destroy();e=a.spacers_ar.length;for(t=0;t<e;t++)a.spacers_ar[t].destroy();a.buttonsTest_ar=null,a.itemsLabels_ar=null,a.items_ar=null,a.spacers_ar=null,a.panButton_do=null,a.rotateButton_do=null,a.nextButton_do=null,a.prevButton_do=null,a.slideShowButton_do=null,a.infoButton_do=null,a.linkButton_do=null,a.fullScreenButton_do=null,a.zoomInButton_do=null,a.zoomOutButton_do=null,a.slideShowButton_do=null,a.linkButton_do=null,a.infoButton_do=null,a.fullScreenButton_do=null,a.backgroundColor_str=null,a.borderColor_str=null,a.spacerColor_str=null,a.itemTextNormalColor_str=null,a.itemTextSelectedColor_str=null,a.itemDisabledColor_str=null,a.draggingMode_str=null,a.link_str=null,a.init=null,a.setupLabels=null,a.setupDeveloperButton=null,a.panButtonStartHandler=null,a.enablePanButton=null,a.panRotateStartHandler=null,a.nextButtonStartHandler=null,a.prevButtonStartHandler=null,a.zoomInButtonStartHandler=null,a.zoomOutButtonStartHandler=null,a.startSlideShowHandler=null,a.updateSlideShowButton=null,a.fullScreenStartHandler=null,a.updateFullScreenButton=null,a.setupSpacers=null,a.getMaxWidthResizeAndPosition=null,a.addContextEvent=null,a.contextMenuHandler=null,a.contextMenuWindowOnMouseDownHandler=null,a.positionButtons=null,a.removeFromDOM=null,a.destroy=null,o=s=null,a.setInnerHTML(""),n.destroy(),a=n=null,r.prototype=null},a.init()};r.setPrototype=function(){r.prototype=new FWDDisplayObject("div")},r.prototype=null,window.FWDContextMenu=r}(window),function(){var _=function(e,t,o,n,r,i,s,l){var a=this,d=_.prototype;a.label1_str=e,a.label2_str=t,a.normalTextColor_str=r,a.selectedTextColor_str=i,a.disabledColor_str=s,a.normalBkColor=o,a.selectedBkColor=n,a.totalWidth=400,a.totalHeight=20,a.padding,a.text1_sdo=null,a.text2_sdo=null,a.dumy_sdo=null,a.isMobile_bl=FWDUtils.isMobile,a.currentState=1,a.isDisabled_bl=!1,a.isMaximized_bl=!1,a.showSecondButton_bl=null!=t,a.isDeveleper_bl=!1,a.init=function(){a.setBackfaceVisibility(),a.setButtonMode(!0),a.setupMainContainers(),a.setWidth(a.totalWidth),a.setHeight(a.totalHeight),a.setButtonState(0),a.getStyle().backgroundColor=a.normalBkColor},a.setupMainContainers=function(){a.text1_sdo=new FWDSimpleDisplayObject("div"),a.text1_sdo.setBackfaceVisibility(),a.text1_sdo.screen.className="fwd360-ctxm-text",a.text1_sdo.setDisplay("inline-block"),a.text1_sdo.getStyle().fontFamily="Arial",a.text1_sdo.getStyle().fontSize="12px",a.text1_sdo.getStyle().color=a.normalTextColor_str,a.text1_sdo.setInnerHTML(a.label1_str),a.addChild(a.text1_sdo),a.showSecondButton_bl&&(a.text2_sdo=new FWDSimpleDisplayObject("div"),a.text2_sdo.setBackfaceVisibility(),a.text2_sdo.screen.className="fwd360-ctxm-text",a.text2_sdo.setDisplay("inline-block"),a.text2_sdo.getStyle().fontFamily="Arial",a.text2_sdo.getStyle().fontSize="12px",a.text2_sdo.getStyle().color=a.normalTextColor_str,a.text2_sdo.setInnerHTML(a.label2_str),a.addChild(a.text2_sdo)),a.dumy_sdo=new FWDSimpleDisplayObject("div"),FWDUtils.isIE&&(a.dumy_sdo.setBkColor("#FF0000"),a.dumy_sdo.setAlpha(0)),a.addChild(a.dumy_sdo),setTimeout(function(){a.totalHeight=a.text1_sdo.getHeight()},300),a.isMobile_bl?a.screen.addEventListener("touchstart",a.onMouseDown):a.screen.addEventListener?(a.screen.addEventListener("mouseover",a.onMouseOver),a.screen.addEventListener("mouseout",a.onMouseOut),a.screen.addEventListener("mousedown",a.onMouseDown),a.screen.addEventListener("click",a.onClick)):a.screen.attachEvent&&(a.screen.attachEvent("onmouseover",a.onMouseOver),a.screen.attachEvent("onmouseout",a.onMouseOut),a.screen.attachEvent("onmousedown",a.onMouseDown),a.screen.attachEvent("onclick",a.onClick))},a.onMouseOver=function(e){a.isDisabled_bl||(FWDAnimation.killTweensOf(a),FWDAnimation.killTweensOf(a.text1_sdo),e?(FWDAnimation.to(a.screen,.5,{css:{backgroundColor:a.selectedBkColor},ease:Expo.easeOut}),FWDAnimation.to(a.text1_sdo.screen,.5,{css:{color:a.selectedTextColor_str},ease:Expo.easeOut}),a.showSecondButton_bl&&FWDAnimation.to(a.text2_sdo.screen,.5,{css:{color:a.selectedTextColor_str},ease:Expo.easeOut})):(a.text1_sdo.getStyle().color=a.selectedTextColor_str,a.showSecondButton_bl&&(FWDAnimation.killTweensOf(a.text2_sdo),a.text2_sdo.getStyle().color=a.selectedTextColor_str,a.getStyle().backgroundColor=a.selectedBkColor)),a.dispatchEvent(_.MOUSE_OVER))},a.onMouseOut=function(e){a.isDisabled_bl||(FWDAnimation.killTweensOf(a),FWDAnimation.killTweensOf(a.text1_sdo),FWDAnimation.to(a.screen,.5,{css:{backgroundColor:a.normalBkColor},ease:Expo.easeOut}),FWDAnimation.to(a.text1_sdo.screen,.5,{css:{color:a.normalTextColor_str},ease:Expo.easeOut}),a.showSecondButton_bl&&(FWDAnimation.killTweensOf(a.text2_sdo),FWDAnimation.to(a.text2_sdo.screen,.5,{css:{color:a.normalTextColor_str},ease:Expo.easeOut})),a.dispatchEvent(_.MOUSE_OUT))},a.onClick=function(e){a.isDeveleper_bl?window.open("http://www.webdesign-flash.ro","_blank"):a.isDisabled_bl||(e.preventDefault&&e.preventDefault(),a.dispatchEvent(_.CLICK))},a.onMouseDown=function(e){a.isDisabled_bl||(e.preventDefault&&e.preventDefault(),a.dispatchEvent(_.MOUSE_DOWN,{e:e}))},a.toggleButton=function(){a.showSecondButton_bl&&(1==a.currentState?(a.text1_sdo.setVisible(!0),a.text2_sdo.setVisible(!1),a.currentState=0,a.dispatchEvent(_.FIRST_BUTTON_CLICK)):(a.text1_sdo.setVisible(!1),a.text2_sdo.setVisible(!0),a.currentState=1,a.dispatchEvent(_.SECOND_BUTTON_CLICK)))},a.setButtonState=function(e){0==e?(a.text1_sdo.setVisible(!0),a.showSecondButton_bl&&a.text2_sdo.setVisible(!1),a.currentState=0):1==e&&(a.text1_sdo.setVisible(!1),a.showSecondButton_bl&&a.text2_sdo.setVisible(!0),a.currentState=1)},a.centerText=function(){a.dumy_sdo.setWidth(a.totalWidth),a.dumy_sdo.setHeight(a.totalHeight),a.setHeight(a.totalHeight),FWDUtils.isIEAndLessThen9?(a.text1_sdo.setY(Math.round((a.totalHeight-a.text1_sdo.getHeight())/2)-1),a.showSecondButton_bl&&a.text2_sdo.setY(Math.round((a.totalHeight-a.text2_sdo.getHeight())/2)-1)):(a.text1_sdo.setY(Math.round((a.totalHeight-a.text1_sdo.getHeight())/2)),a.showSecondButton_bl&&a.text2_sdo.setY(Math.round((a.totalHeight-a.text2_sdo.getHeight())/2))),a.text1_sdo.setHeight(a.totalHeight+2),a.showSecondButton_bl&&a.text2_sdo.setHeight(a.totalHeight+2)},a.getMaxTextWidth=function(){var e=a.text1_sdo.getWidth(),t=0;return a.showSecondButton_bl&&(t=a.text2_sdo.getWidth()),Math.max(e,t)},a.disable=function(){a.isDisabled_bl=!0,FWDAnimation.killTweensOf(a),FWDAnimation.killTweensOf(a.text1_sdo),FWDAnimation.to(a.text1_sdo.screen,.5,{css:{color:a.disabledColor_str},ease:Expo.easeOut}),FWDAnimation.to(a.screen,.5,{css:{backgroundColor:a.normalBkColor},ease:Expo.easeOut}),a.setButtonMode(!1)},a.enable=function(){a.isDisabled_bl=!1,FWDAnimation.killTweensOf(a.text1_sdo),FWDAnimation.to(a.text1_sdo.screen,.5,{css:{color:a.normalTextColor_str},ease:Expo.easeOut}),a.setButtonMode(!0)},a.destroy=function(){a.isMobile_bl?a.screen.removeEventListener("touchstart",a.onMouseDown):a.screen.removeEventListener?(a.screen.removeEventListener("mouseover",a.onMouseOver),a.screen.removeEventListener("mouseout",a.onMouseOut),a.screen.removeEventListener("mousedown",a.onMouseDown),a.screen.removeEventListener("click",a.onClick)):a.screen.detachEvent&&(a.screen.detachEvent("onmouseover",a.onMouseOver),a.screen.detachEvent("onmouseout",a.onMouseOut),a.screen.detachEvent("onmousedown",a.onMouseDown),a.screen.detachEvent("onclick",a.onClick)),FWDAnimation.killTweensOf(a.text1_sdo),a.text1_sdo.destroy(),a.text2_sdo&&(FWDAnimation.killTweensOf(a.text2_sdo),a.text2_sdo.destroy()),a.dumy_sdo.destroy(),a.text1_sdo=null,a.text2_sdo=null,a.dumy_sdo=null,a.label1_str=null,a.label2_str=null,a.normalTextColor_str=null,a.selectedTextColor_str=null,a.disabledColor_str=null,s=i=r=t=e=null,a.setInnerHTML(""),d.destroy(),d=a=null,_.prototype=null},a.init()};_.setPrototype=function(){_.prototype=new FWDDisplayObject("div")},_.FIRST_BUTTON_CLICK="onFirstClick",_.SECOND_BUTTON_CLICK="secondButtonOnClick",_.MOUSE_OVER="onMouseOver",_.MOUSE_OUT="onMouseOut",_.MOUSE_DOWN="onMouseDown",_.CLICK="onClick",_.prototype=null,window.FWDContextMenuButton=_}(window),function(){var FWDController=function(data,parent){var _s=this,prototype=FWDController.prototype;_s.buttonsTest_ar=data.buttons_ar,_s.buttonsLabels_ar=data.buttonsLabels_ar,_s.buttons_ar=[],_s.backgroundLeft_img=data.controllerBackgroundLeft_img,_s.backgroundRight_img=data.controllerBackgroundRight_img,_s.panN_img=data.controllerPanN_img,_s.panS_img=data.controllerPanS_img,_s.rotateN_img=data.controllerRotateN_img,_s.rotateS_img=data.controllerRotateS_img,_s.nextN_img=data.controllerNextN_img,_s.nextS_img=data.controllerNextS_img,_s.prevN_img=data.controllerPrevN_img,_s.prevS_img=data.controllerPrevS_img,_s.playN_img=data.controllerPlayN_img,_s.playS_img=data.controllerPlayS_img,_s.pauseN_img=data.controllerPauseN_img,_s.pauseS_img=data.controllerPauseS_img,_s.infoN_img=data.controllerInfoN_img,_s.infoS_img=data.controllerInfoS_img,_s.linkN_img=data.controllerLinkN_img,_s.linkS_img=data.controllerLinkS_img,_s.fullScreenNormalN_img=data.controllerFullScreenNormalN_img,_s.fullScreenNormalS_img=data.controllerFullScreenNormalS_img,_s.fullScreenFullN_img=data.controllerFullScreenFullN_img,_s.fullScreenFullS_img=data.controllerFullScreenFullS_img,_s.zoomInN_img=data.zoomInN_img,_s.zoomInS_img=data.zoomInS_img,_s.zoomOutN_img=data.zoomOutN_img,_s.zoomOutS_img=data.zoomOutS_img,_s.scrollBarHandlerN_img=data.scrollBarHandlerN_img,_s.scrollBarHandlerS_img=data.scrollBarHandlerS_img,_s.scrollBarLeft_img=data.scrollBarLeft_img,_s.scrollBarRight_img=data.scrollBarRight_img,_s.toolTipLeft_img=data.toolTipLeft_img,_s.toolTipPointer_img=data.toolTipPointer_img,_s.hider=null,_s.mainHolder_do=null,_s.backgroundLeft_sdo=null,_s.backgroundMiddle_sdo=null,_s.backgroundRight_sdo=null,_s.panButton_do=null,_s.rotateButton_do=null,_s.nextButton_do=null,_s.prevButton_do=null,_s.slideShowButton_do=null,_s.infoButton_do=null,_s.linkButton_do=null,_s.fullScreenButton_do=null,_s.zoomIn_do=null,_s.zoomOut_do=null,_s.scrollBar_do=null,_s.scrollBarLeft_sdo=null,_s.scrollBarRight_sdo=null,_s.scrollBarMiddle_sdo=null,_s.scrollBarHandler_do=null,_s.scrollBarHandlerN_sdo=null,_s.scrollBarHandlerS_sdo=null,_s.panButtonTooTipLabel_do=null,_s.scrollBarHandlerToolTip_do=null,_s.rotateButtonToolTip_do=null,_s.nextButtonToolTip_do=null,_s.prevButtonToolTip_do=null,_s.slideShowToolTip_do=null,_s.infoToolTip_do=null,_s.linkToolTip_do=null,_s.fullscreenToolTip_do=null,_s.buttonToolTipBackgroundColor=data.buttonToolTipBackgroundColor,_s.buttonToolTipFontColor=data.buttonToolTipFontColor,_s.backgroundMiddlePath_str=data.controllerBackgroundMiddlePath_str,_s.scrollBarMiddlePath_str=data.scrollBarMiddlePath_str,_s.scrollBarProgressMiddlePath_str=data.scrollBarProgressMiddlePath_str,_s.draggingMode_str=data.startDraggingMode_str,_s.controllerVerticalPosition_str=data.controllerVerticalPosition_str,_s.buttonToolTipLeft_str=data.buttonToolTipLeft_str,_s.buttonToolTipMiddle_str=data.buttonToolTipMiddle_str,_s.buttonToolTipRight_str=data.buttonToolTipRight_str,_s.link_str=data.link_str,_s.buttonToolTipFontColor_str=data.buttonToolTipFontColor_str,_s.buttonToolTipBottomPointer_str=data.buttonToolTipBottomPointer_str,_s.buttonToolTipTopPointer_str=data.buttonToolTipTopPointer_str,_s.controllerOffsetWidth=data.controllerOffsetWidth,_s.scrollBarHandlerOffsetX=data.scrollBarHandlerOffsetX,_s.scrollBarPosition=FWDUtils.indexOfArray(_s.buttonsTest_ar,"scrollbar"),_s.controllerBackgroundOpacity=data.controllerBackgroundOpacity,_s.rotationSpeed=data.buttonsRotationSpeed,_s.slideShowDelay=data.slideShowDelay,_s.stageWidth,_s.setHeight,_s.controllerOffsetY=data.controllerOffsetY,_s.controllerOffsetX=data.controllerOffsetX,_s.scrollBarOffsetX=data.scrollBarOffsetX,_s.startSpaceBetweenButtons=data.startSpaceBetweenButtons,_s.spaceBetweenButtons=data.spaceBetweenButtons,_s.curHeight=0,_s.finalHandlerX,_s.startSpaceForScrollBarButtons=data.startSpaceForScrollBarButtons,_s.startSpaceForScrollBar=data.startSpaceForScrollBar,_s.curWidth,_s.maxWidth=data.controllerMaxWidth,_s.minWidth,_s.controllerHorizontalPosition_str=data.controllerHorizontalPosition_str,_s.scrollBarHandlerXPositionOnPress,_s.lastPresedX,_s.scrollBarHandlerToolTipOffsetY=data.scrollBarHandlerToolTipOffsetY,_s.zoomInAndOutToolTipOffsetY=data.zoomInAndOutToolTipOffsetY,_s.buttonsToolTipOffsetY=data.buttonsToolTipOffsetY,_s.totalImages=data.totalImages,_s.scrollBarTotalWidth=0,_s.scrollBarHeight=0,_s.scrollBarHandlerHeight=0,_s.scrollBarHandlerWidth=0,_s.showControllerBackground=data.showControllerBackground,_s.isSkin2=-1!=data.skinPath_str.indexOf("skin2"),_s.gotoImageId_int,_s.zoomWithButtonsId_int,_s.slideShowId_int,_s.gotoImageId_to,_s.zoomWithButtonsId_to,_s.showScrollBar_bl=!1,-1!=FWDUtils.indexOfArray(_s.buttonsTest_ar,"scrollbar")&&(_s.showScrollBar_bl=!0),_s.isMobile_bl=data.isMobile_bl,_s.inverseNextAndPrevRotation_bl=data.inverseNextAndPrevRotation_bl,_s.isScrollBarActive_bl=!1,_s.isZoomInOrOutPressed_bl=!1,_s.isKeyPressed_bl=!1,_s.stopRotationAtEnds_bl=data.stopRotationAtEnds_bl,_s.addKeyboardSupport_bl=data.addKeyboardSupport_bl,_s.showButtonsLabels_bl=Boolean(_s.buttonsLabels_ar),_s.hasPointerEvent_bl=FWDUtils.hasPointerEvent,_s.init=function(){_s.setOverflow("visible"),_s.setSelectable(!1),_s.setupMainHolder(),_s.setupBackground(),_s.addKeyboardSupport_bl&&_s.addKeyboardSupport(),data.useVectorIcons?(_s.mainHolder_do.setAlpha(0),_s.hide(),_s.setupButtons(),setTimeout(function(){_s.setButtonSize(),_s.positionButtons(),_s.mainHolder_do.setVisible(!1),_s.hide(),_s.show(),_s.mainHolder_do.setAlpha(1)},350)):(_s.curHeight=_s.backgroundLeft_img.height,_s.setButtonSize(),_s.setupButtons(),_s.hide(),_s.show()),_s.showScrollBar_bl&&_s.setupScrollBar(),0!=_s.buttonsTest_ar.length||_s.showScrollBar_bl||_s.setVisible(!1),_s.screen.onmousedown=function(){_s.dispatchEvent(FWDController.MOUSE_DOWN)}},_s.setButtonSize=function(){var e;if(data.useVectorIcons)_s.curHeight=_s.background_sdo.getHeight()||0,parent.imageManager_do.resizeAndPosition(),_s.scrollBar_do&&(_s.scrollBarHeight=_s.scrollBar_do.getHeight(),_s.scrollBarHandlerWidth=_s.scrollBarHandler_do.w,_s.scrollBarHandlerHeight=_s.scrollBarHandler_do.h,e=parseInt((_s.scrollBarHeight-_s.scrollBarHandlerHeight)/2)-1,_s.scrollBarHandler_do.getStyle().top=e+"px"),_s.buttons_ar.length?(_s.buttonWidth=_s.zoomButtonWidth=_s.buttons_ar[0].w,_s.buttonHeight=_s.zoomButtonHeight=_s.buttons_ar[0].h):_s.zoomIn_do&&(_s.buttonWidth=_s.zoomButtonWidth=_s.zoomIn_do.w,_s.buttonHeight=_s.zoomButtonHeight=_s.zoomIn_do.h);else for(var t=0;t<data.buttons_ar.length;t++)"rotate"==data.buttons_ar[t]&&(_s.buttonWidth=data.controllerRotateN_img.width,_s.buttonHeight=data.controllerRotateN_img.height),"pan"==data.buttons_ar[t]&&(_s.buttonWidth=data.controllerPanN_img.width,_s.buttonHeight=data.controllerPanN_img.height),"roteteleft"==data.buttons_ar[t]&&(_s.buttonWidth=data.controllerPrevN_img.width,_s.buttonHeight=data.controllerPrevN_img.height),"rotateright"==data.buttons_ar[t]&&(_s.buttonWidth=data.controllerNextN_img.width,_s.buttonHeight=data.controllerNextN_img.height),"play"==data.buttons_ar[t]&&(_s.buttonWidth=data.controllerPlayN_img.width,_s.buttonHeight=data.controllerPlayN_img.height),"scrollbar"==data.buttons_ar[t]&&(_s.scrollBarRightPartWidth=_s.scrollBarRight_img.width,_s.scrollBarHeight=_s.scrollBarLeft_img.height,_s.scrollBarHandlerWidth=_s.scrollBarHandlerN_img.width,_s.scrollBarHandlerHeight=_s.scrollBarHandlerN_img.height,_s.buttonWidth=_s.zoomButtonWidth=_s.zoomOutN_img.width,_s.buttonHeight=_s.zoomButtonHeight=_s.zoomOutN_img.height),"info"==data.buttons_ar[t]&&(_s.buttonWidth=data.controllerInfoN_img.width,_s.buttonHeight=data.controllerInfoN_img.height),"link"==data.buttons_ar[t]&&(_s.buttonWidth=data.controllerLinkN_img.width,_s.buttonHeight=data.controllerLinkN_img.height),"fullscreen"==data.buttons_ar[t]&&(_s.buttonWidth=data.controllerFullScreenNormalN_img.width,_s.buttonHeight=data.controllerFullScreenNormalN_img.height)},_s.resizeAndPosition=function(){parent.stageWidth==_s.stageWidth&&parent.stageHeight==_s.stageHeight||(_s.stageWidth=parent.stageWidth,_s.stageHeight=parent.stageHeight,_s.setWidth(_s.stageWidth),_s.setHeight(_s.stageHeight),_s.positionButtons())},_s.setupMainHolder=function(){_s.mainHolder_do=new FWDDisplayObject("div"),_s.mainHolder_do.setOverflow("visible"),_s.addChild(_s.mainHolder_do)},_s.setupHider=function(e){_s.hider=e,_s.hider.addListener(FWDHider.SHOW,_s.onHiderShow),_s.hider.addListener(FWDHider.HIDE,_s.onHiderHide)},_s.onHiderShow=function(){_s.show()},_s.onHiderHide=function(){FWDUtils.hitTest(_s.mainHolder_do.screen,_s.hider.globalX,_s.hider.globalY)?_s.hider.reset():_s.hide(!0)},_s.addKeyboardSupport=function(){document.addEventListener?(window.addEventListener("keydown",_s.onKeyDownHandler),window.addEventListener("keyup",_s.onKeyUpHandler)):document.attachEvent&&(document.attachEvent("onkeydown",_s.onKeyDownHandler),document.attachEvent("onkeyup",_s.onKeyUpHandler))},_s.onKeyDownHandler=function(e){if(!parent.hibernate_bl&&!_s.isKeyPressed_bl){FWDUtils.getScrollOffsets();if(!(parent.main_do.getGlobalY()<=-parent.stageHeight/2||parent.main_do.getGlobalY()+parent.stageHeight/2>parent.ws.h))if(38==e.keyCode){if(_s.isKeyPressed_bl=!0,_s.slideShowButton_do&&_s.stopSlideShow(),_s.goToTopImage(),clearInterval(_s.gotoImageId_int),clearTimeout(_s.gotoImageId_to),_s.gotoImageId_to=setTimeout(_s.goToTopImageWithDelay,400),_s.dispatchEvent(FWDController.GOTO_NEXT_OR_PREV_IMAGE_COMPLETE),!e.preventDefault)return!1;e.preventDefault()}else if(40==e.keyCode){if(_s.isKeyPressed_bl=!0,_s.slideShowButton_do&&_s.stopSlideShow(),_s.goToBottomImage(),clearInterval(_s.gotoImageId_int),clearTimeout(_s.gotoImageId_to),_s.gotoImageId_to=setTimeout(_s.goToBottomImageWithDelay,400),_s.dispatchEvent(FWDController.GOTO_NEXT_OR_PREV_IMAGE_COMPLETE),!e.preventDefault)return!1;e.preventDefault()}else if(39==e.keyCode){if(_s.isKeyPressed_bl=!0,_s.slideShowButton_do&&_s.stopSlideShow(),_s.gotoNextImage(),clearInterval(_s.gotoImageId_int),clearTimeout(_s.gotoImageId_to),_s.gotoImageId_to=setTimeout(_s.goToNextImageInWithDelay,400),_s.dispatchEvent(FWDController.GOTO_NEXT_OR_PREV_IMAGE_COMPLETE),!e.preventDefault)return!1;e.preventDefault()}else if(37==e.keyCode){if(_s.isKeyPressed_bl=!0,_s.slideShowButton_do&&_s.stopSlideShow(),_s.gotoPrevImage(),clearInterval(_s.gotoImageId_int),clearTimeout(_s.gotoImageId_to),_s.gotoImageId_to=setTimeout(_s.goToPrevImageInWithDelay,400),_s.dispatchEvent(FWDController.GOTO_NEXT_OR_PREV_IMAGE_COMPLETE),!e.preventDefault)return!1;e.preventDefault()}}},_s.onKeyUpHandler=function(e){_s.isKeyPressed_bl=!1,clearInterval(_s.gotoImageId_int),clearTimeout(_s.gotoImageId_to),window.addEventListener?window.addEventListener("keydown",_s.onKeyDownHandler):document.attachEvent&&document.attachEvent("onkeydown",_s.onKeyDownHandler),_s.dispatchEvent(FWDController.GOTO_NEXT_OR_PREV_IMAGE_COMPLETE)},_s.setupButtons=function(){for(var e,t,o=_s.buttonsTest_ar.length,n="",r="",i=0;i<o;i++){"pan"==(t=_s.buttonsTest_ar[i])?(_s.showButtonsLabels_bl&&(n=_s.buttonsLabels_ar[i]||"tooltip is not defined!"),_s.setupPanButton(n),_s.buttons_ar.push(_s.panButton_do)):"rotate"==t?(_s.showButtonsLabels_bl&&(n=_s.buttonsLabels_ar[i]||"tooltip is not defined!"),_s.setupRotateButton(n),_s.buttons_ar.push(_s.rotateButton_do)):"rotateright"==t?(_s.showButtonsLabels_bl&&(n=_s.buttonsLabels_ar[i]||"tooltip is not defined!"),_s.setupNextButton(n),_s.buttons_ar.push(_s.nextButton_do)):"roteteleft"==t?(_s.showButtonsLabels_bl&&(n=_s.buttonsLabels_ar[i]||"tooltip is not defined!"),_s.setupPrevButton(n),_s.buttons_ar.push(_s.prevButton_do)):"play"==t?(_s.showButtonsLabels_bl&&(r=!(e=_s.buttonsLabels_ar[i])||-1==e.indexOf("/")?n="tooltip is not defined!":(n=e.substr(0,e.indexOf("/")),e.substr(e.indexOf("/")+1))),_s.setupSlideshowButton(n,r),_s.buttons_ar.push(_s.slideShowButton_do)):"info"==t?(_s.showButtonsLabels_bl&&(n=_s.buttonsLabels_ar[i]||"tooltip is not defined!"),_s.setupInfoButton(n),_s.buttons_ar.push(_s.infoButton_do)):"link"==t?(_s.showButtonsLabels_bl&&(n=_s.buttonsLabels_ar[i]||"tooltip is not defined!"),_s.setupLinkButton(n),_s.buttons_ar.push(_s.linkButton_do)):"fullscreen"==t&&(parent.displayType==FWDViewer.FULL_SCREEN&&!FWDUtils.hasFullScreen||(_s.showButtonsLabels_bl&&(r=!(e=_s.buttonsLabels_ar[i])||-1==e.indexOf("/")?n="tooltip is not defined!":(n=e.substr(0,e.indexOf("/")),e.substr(e.indexOf("/")+1))),_s.setupFullScreenButton(n,r),_s.buttons_ar.push(_s.fullScreenButton_do)))}},_s.positionButtons=function(){var e,t,o,n,r,i,s,l=_s.buttons_ar.length,a=_s.spaceBetweenButtons,d=_s.controllerOffsetY,_=_s.controllerOffsetWidth;if(_s.showScrollBar_bl&&(_s.isScrollBarActive_bl=!0,_s.curWidth=_s.stageWidth-2*_s.controllerOffsetWidth,-1!=(i=FWDUtils.indexOfArray(_s.buttons_ar,_s.zoomIn_do))&&(_s.buttons_ar.splice(i,1),l--),-1!=(i=FWDUtils.indexOfArray(_s.buttons_ar,_s.zoomOut_do))&&(_s.buttons_ar.splice(i,1),l--),_s.scrollBarPosition>l&&(_s.scrollBarPosition=l),_s.scrollBarPosition<0&&(_s.scrollBarPosition=0),_s.curWidth>_s.maxWidth&&(_s.curWidth=_s.maxWidth),0==l?_s.scrollBarTotalWidth=2*_s.startSpaceBetweenButtons+2*_s.startSpaceForScrollBar+2*_s.zoomButtonWidth:1<l&&0!=_s.scrollBarPosition&&_s.scrollBarPosition!=l?_s.scrollBarTotalWidth=2*_s.startSpaceBetweenButtons+l*_s.buttonWidth+_s.spaceBetweenButtons*(l-2)+2*_s.startSpaceForScrollBarButtons+2*_s.startSpaceForScrollBar+2*_s.zoomButtonWidth:1<l&&(0==_s.scrollBarPosition||_s.scrollBarPosition==l)?_s.scrollBarTotalWidth=2*_s.startSpaceBetweenButtons+l*_s.buttonWidth+_s.spaceBetweenButtons*l+2*_s.startSpaceForScrollBar+2*_s.zoomButtonWidth:_s.scrollBarTotalWidth=2*_s.startSpaceBetweenButtons+l*_s.buttonWidth+2*_s.startSpaceForScrollBar+2*_s.zoomButtonWidth+_s.spaceBetweenButtons*l,_s.scrollBarTotalWidth=_s.curWidth-_s.scrollBarTotalWidth,_s.scrollBarTotalWidth<100&&(_s.isScrollBarActive_bl=!1)),isNaN(_s.scrollBarTotalWidth)&&(_s.scrollBarTotalWidth=0),_s.scrollBarTotalWidth<50&&(_s.scrollBarTotalWidth=100),_s.isScrollBarActive_bl){_s.scrollBar_do.setVisible(!0);for(var c=0;c<_s.scrollBarPosition;c++)(r=_s.buttons_ar[c])&&(r=_s.buttons_ar[c],o=_s.startSpaceBetweenButtons+c*(a+_s.buttonWidth),o=_s.startSpaceBetweenButtons+c*(a+_s.buttonWidth),n=parseInt((_s.curHeight-_s.buttonHeight)/2),r.setX(o),r.setY(n));for(c=l+1;c>=_s.scrollBarPosition;c--)(r=_s.buttons_ar[c])&&(r=_s.buttons_ar[c],o=_s.curWidth-_s.startSpaceBetweenButtons-_s.buttonWidth-Math.abs(c-l+1)*(a+_s.buttonWidth),n=parseInt((_s.curHeight-_s.buttonHeight)/2),r.setX(o),r.setY(n));0==l?t=_s.startSpaceBetweenButtons:1<l&&0!=_s.scrollBarPosition&&_s.scrollBarPosition!=l?t=_s.buttons_ar[_s.scrollBarPosition-1].getX()+_s.buttonWidth+_s.startSpaceForScrollBarButtons:1<l&&0==_s.scrollBarPosition?t=_s.startSpaceBetweenButtons:1<l&&_s.scrollBarPosition==l?t=_s.buttons_ar[_s.scrollBarPosition-1].getX()+_s.buttonWidth+_s.spaceBetweenButtons:1==l&&0<_s.scrollBarPosition?t=_s.startSpaceBetweenButtons+_s.buttonWidth+_s.spaceBetweenButtons:1==l&&0==_s.scrollBarPosition&&(t=_s.startSpaceBetweenButtons),t+=_s.scrollBarOffsetX,_s.zoomOut_do.setX(t),_s.zoomOut_do.setY(parseInt((_s.curHeight-_s.zoomButtonHeight)/2)),_s.zoomIn_do.setX(_s.zoomOut_do.getX()+_s.zoomButtonWidth+2*_s.startSpaceForScrollBar+_s.scrollBarTotalWidth),_s.zoomIn_do.setY(parseInt((_s.curHeight-_s.zoomButtonHeight)/2)),_s.scrollBar_do.setX(_s.zoomOut_do.getX()+_s.startSpaceForScrollBar+_s.zoomButtonWidth),_s.scrollBar_do.setY(parseInt((_s.curHeight-_s.scrollBarHeight)/2)+1),_s.scrollBar_do.setWidth(_s.scrollBarTotalWidth),_s.scrollBarMiddle_do&&(_s.scrollBarMiddle_do.setX(_s.scrollBarRightPartWidth-1),_s.scrollBarMiddle_do.setWidth(_s.scrollBarTotalWidth-2*_s.scrollBarRightPartWidth+2),_s.scrollBarRight_do.setX(_s.scrollBarTotalWidth-_s.scrollBarRightPartWidth)),_s.isSkin2&&(_s.backgroundRight_sdo&&(_s.backgroundRight_sdo.setVisible(!0),_s.backgroundMiddle_sdo.setVisible(!0),_s.backgroundLeft_sdo.setVisible(!0)),_s.background_sdo&&_s.background_sdo.setVisible(!0))}else{var u=_s.startSpaceBetweenButtons;_s.stageWidth<500&&(20<=u&&(u=20,data.isSkin1||(u=0)),10<=_&&(_=10),10<=d&&(d=10)),_s.showScrollBar_bl&&(_s.scrollBar_do.setVisible(!1),6<_s.buttons_ar.length&&_s.stageWidth<500&&_s.isMobile_bl?(_s.zoomIn_do.setX(-5e3),_s.zoomOut_do.setY(-5e3)):-1==FWDUtils.indexOfArray(_s.buttons_ar,_s.zoomIn_do)&&(i=_s.scrollBarPosition,_s.buttons_ar.splice(i,0,_s.zoomIn_do),_s.buttons_ar.splice(i,0,_s.zoomOut_do)),l=_s.buttons_ar.length),_s.minWidth=l*_s.buttonWidth+2*_+2*u+_s.spaceBetweenButtons*l-_s.spaceBetweenButtons,_s.minWidth>_s.stageWidth&&(_s.minWidth=_s.stageWidth,e=_s.buttonWidth*l+2*_,a=(_s.minWidth-2*u-e)/(l-1)),_s.curWidth=_s.minWidth-2*_;for(c=0;c<l+2;c++)(r=_s.buttons_ar[c])&&(o=Math.round(u+c*(a+_s.buttonWidth)),n=parseInt((_s.curHeight-_s.buttonHeight)/2),r.setX(o),r.setY(n));_s.isSkin2&&(_s.backgroundRight_sdo&&(_s.backgroundRight_sdo.setVisible(!1),_s.backgroundMiddle_sdo.setVisible(!1),_s.backgroundLeft_sdo.setVisible(!1)),_s.background_sdo&&_s.background_sdo.setVisible(!1))}_s.backgroundLeft_sdo?(_s.backgroundRight_sdo.setX(_s.curWidth-_s.backgroundRight_sdo.getWidth()),_s.backgroundMiddle_sdo.setX(_s.backgroundLeft_sdo.getWidth()),_s.backgroundMiddle_sdo.setWidth(_s.curWidth-2*_s.backgroundLeft_sdo.getWidth()),_s.backgroundMiddle_sdo.setHeight(_s.curHeight)):_s.background_sdo&&(_s.background_sdo.setWidth(_s.curWidth),_s.background_sdo.setHeight(_s.curHeight)),_s.mainHolder_do.setWidth(_s.curWidth),_s.mainHolder_do.setHeight(_s.curHeight),_s.setWidth(_s.curWidth),_s.setHeight(_s.curHeight),_s.isSkin2&&(s=_s.scrollBarTotalWidth+2*_s.startSpaceForScrollBar-2*_s.startSpaceForScrollBarButtons,_s.background_sdo?_s.scrollBar_do&&(_s.background_sdo.setWidth(s),_s.background_sdo.setHeight(_s.curHeight),_s.background_sdo.setX(Math.round(_s.scrollBar_do.x-(s-_s.scrollBar_do.w)/2))):_s.scrollBar_do&&(_s.backgroundLeft_sdo.setX(Math.round(_s.scrollBar_do.x-(s-_s.scrollBar_do.w)/2)),_s.backgroundMiddle_sdo.setX(_s.backgroundLeft_sdo.x+_s.backgroundLeft_sdo.getWidth()),_s.backgroundMiddle_sdo.setWidth(s-2*_s.backgroundLeft_sdo.getWidth()),_s.backgroundMiddle_sdo.setHeight(_s.curHeight),_s.backgroundRight_sdo.setX(_s.backgroundMiddle_sdo.x+_s.backgroundMiddle_sdo.w))),"center"==_s.controllerHorizontalPosition_str?_s.mainHolder_do.setX(Math.round((_s.stageWidth-_s.curWidth)/2)):"left"==_s.controllerHorizontalPosition_str?_s.mainHolder_do.setX(_):"right"==_s.controllerHorizontalPosition_str&&_s.mainHolder_do.setX(Math.round(_s.stageWidth-_s.curWidth)-_),_s.controllerVerticalPosition_str==FWDController.POSITION_TOP?_s.setY(d):_s.setY(_s.stageHeight-_s.curHeight-d)},_s.setupBackground=function(){data.useVectorIcons?(_s.background_sdo=new FWDSimpleDisplayObject("div"),_s.isSkin2?_s.background_sdo.screen.className="fwd360-controler-skin2-vector":_s.background_sdo.screen.className="fwd360-controler-skin1-vector",_s.mainHolder_do.addChild(_s.background_sdo),_s.showControllerBackground||_s.background_sdo.setAlpha(0)):(_s.backgroundLeft_sdo=new FWDSimpleDisplayObject("img"),_s.backgroundLeft_sdo.setScreen(_s.backgroundLeft_img),1!=_s.controllerBackgroundOpacity&&_s.backgroundLeft_sdo.setAlpha(_s.controllerBackgroundOpacity),_s.backgroundMiddle_sdo=new FWDSimpleDisplayObject("div"),_s.backgroundMiddle_sdo.getStyle().background="url('"+_s.backgroundMiddlePath_str+"')",_s.backgroundMiddle_sdo.getStyle().backgroundRepeat="repeat-x",1!=_s.controllerBackgroundOpacity&&_s.backgroundMiddle_sdo.setAlpha(_s.controllerBackgroundOpacity),_s.backgroundRight_sdo=new FWDSimpleDisplayObject("img"),_s.backgroundRight_sdo.setScreen(_s.backgroundRight_img),1!=_s.controllerBackgroundOpacity&&_s.backgroundRight_sdo.setAlpha(_s.controllerBackgroundOpacity),_s.mainHolder_do.addChild(_s.backgroundLeft_sdo),_s.mainHolder_do.addChild(_s.backgroundRight_sdo),_s.mainHolder_do.addChild(_s.backgroundMiddle_sdo),_s.showControllerBackground||(_s.backgroundLeft_sdo.setAlpha(0),_s.backgroundRight_sdo.setAlpha(0),_s.backgroundMiddle_sdo.setAlpha(0)))},_s.setupPanButton=function(e){FWDSimpleButton.setPrototype(),data.useVectorIcons?data.isSkin1?_s.panButton_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-move'></span>","fwd360-skin1-vector-button-icon-normal","fwd360-skin1-vector-button-icon-selected"):_s.panButton_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-move'></span>","fwd360-skin2-vector-button-icon-normal","fwd360-skin2-vector-button-icon-selected","fwd360-skin2-vector-button-backround-normal","fwd360-skin2-vector-button-backround-selected"):_s.panButton_do=new FWDSimpleButton(_s.panN_img,_s.panS_img),_s.panButton_do.addListener(FWDSimpleButton.MOUSE_OVER,_s.panButtonOnMouseOverHandler),_s.panButton_do.addListener(FWDSimpleButton.MOUSE_OUT,_s.panButtonOnMouseOutHandler),_s.panButton_do.addListener(FWDSimpleButton.MOUSE_DOWN,_s.panButtonOnMouseDownHandler),_s.mainHolder_do.addChild(_s.panButton_do),_s.draggingMode_str==FWDController.PAN&&_s.disablePanButton(),_s.showButtonsLabels_bl&&(FWDButtonToolTip.setPrototype(),_s.panButtonTooTipLabel_do=new FWDButtonToolTip(e,"",_s.controllerVerticalPosition_str,_s.buttonToolTipTopPointer_str,_s.buttonToolTipBottomPointer_str,_s.buttonToolTipBackgroundColor,_s.buttonToolTipFontColor),_s.mainHolder_do.addChild(_s.panButtonTooTipLabel_do))},_s.panButtonOnMouseOverHandler=function(e){_s.panButton_do.isSelectedFinal_bl||_s.showToolTipButton(_s.panButton_do,_s.panButtonTooTipLabel_do,_s.buttonsToolTipOffsetY)},_s.panButtonOnMouseOutHandler=function(e){_s.showButtonsLabels_bl&&_s.panButtonTooTipLabel_do.hide()},_s.panButtonOnMouseDownHandler=function(e){_s.pan()},_s.disablePanButton=function(){_s.panButton_do.setSelctedFinal(),_s.rotateButton_do&&_s.rotateButton_do.setUnselctedFinal()},_s.pan=function(){_s.slideShowButton_do&&_s.stopSlideShow(),clearInterval(_s.gotoImageId_int),_s.panButton_do&&(_s.showButtonsLabels_bl&&_s.panButtonTooTipLabel_do.hide(),_s.disablePanButton()),_s.dispatchEvent(FWDController.CHANGE_NAVIGATION_STYLE,{draggingMode:FWDController.PAN})},_s.setupRotateButton=function(e){FWDSimpleButton.setPrototype(),data.useVectorIcons?data.isSkin1?_s.rotateButton_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-rotate'></span>","fwd360-skin1-vector-button-icon-normal","fwd360-skin1-vector-button-icon-selected"):_s.rotateButton_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-rotate'></span>","fwd360-skin2-vector-button-icon-normal","fwd360-skin2-vector-button-icon-selected","fwd360-skin2-vector-button-backround-normal","fwd360-skin2-vector-button-backround-selected"):_s.rotateButton_do=new FWDSimpleButton(_s.rotateN_img,_s.rotateS_img),_s.rotateButton_do.addListener(FWDSimpleButton.MOUSE_OVER,_s.rotateButtonOnMouseOverHandler),_s.rotateButton_do.addListener(FWDSimpleButton.MOUSE_OUT,_s.rotateButtonOnMouseOutHandler),_s.rotateButton_do.addListener(FWDSimpleButton.MOUSE_DOWN,_s.rotateButtonOnMouseDownHandler),_s.mainHolder_do.addChild(_s.rotateButton_do),_s.draggingMode_str==FWDController.ROTATE&&_s.disableRotateButton(),_s.showButtonsLabels_bl&&(FWDButtonToolTip.setPrototype(),_s.rotateButtonToolTip_do=new FWDButtonToolTip(e,"",_s.controllerVerticalPosition_str,_s.buttonToolTipTopPointer_str,_s.buttonToolTipBottomPointer_str,_s.buttonToolTipBackgroundColor,_s.buttonToolTipFontColor),_s.mainHolder_do.addChild(_s.rotateButtonToolTip_do))},_s.rotateButtonOnMouseOverHandler=function(e){_s.rotateButton_do.isSelectedFinal_bl||_s.showToolTipButton(_s.rotateButton_do,_s.rotateButtonToolTip_do,_s.buttonsToolTipOffsetY)},_s.rotateButtonOnMouseOutHandler=function(e){_s.showButtonsLabels_bl&&_s.rotateButtonToolTip_do.hide()},_s.rotateButtonOnMouseDownHandler=function(e){_s.rotate()},_s.disableRotateButton=function(){_s.rotateButton_do.setSelctedFinal(),_s.panButton_do&&_s.panButton_do.setUnselctedFinal()},_s.rotate=function(){_s.slideShowButton_do&&_s.stopSlideShow(),clearInterval(_s.gotoImageId_int),_s.rotateButton_do&&(_s.showButtonsLabels_bl&&_s.rotateButtonToolTip_do.hide(),_s.disableRotateButton()),_s.dispatchEvent(FWDController.CHANGE_NAVIGATION_STYLE,{draggingMode:FWDController.ROTATE})},_s.setupNextButton=function(e){FWDSimpleButton.setPrototype(),data.useVectorIcons?data.isSkin1?_s.nextButton_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-right'></span>","fwd360-skin1-vector-button-icon-normal","fwd360-skin1-vector-button-icon-selected"):_s.nextButton_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-right'></span>","fwd360-skin2-vector-button-icon-normal","fwd360-skin2-vector-button-icon-selected","fwd360-skin2-vector-button-backround-normal","fwd360-skin2-vector-button-backround-selected"):_s.nextButton_do=new FWDSimpleButton(_s.nextN_img,_s.nextS_img),_s.nextButton_do.addListener(FWDSimpleButton.MOUSE_OVER,_s.nextButtonOnMouseOverHandler),_s.nextButton_do.addListener(FWDSimpleButton.MOUSE_OUT,_s.nextButtonOnMouseOutHandler),_s.nextButton_do.addListener(FWDSimpleButton.MOUSE_DOWN,_s.nextButtonStartHandler),_s.mainHolder_do.addChild(_s.nextButton_do),_s.showButtonsLabels_bl&&(FWDButtonToolTip.setPrototype(),_s.nextButtonToolTip_do=new FWDButtonToolTip(e,"",_s.controllerVerticalPosition_str,_s.buttonToolTipTopPointer_str,_s.buttonToolTipBottomPointer_str,_s.buttonToolTipBackgroundColor,_s.buttonToolTipFontColor),_s.mainHolder_do.addChild(_s.nextButtonToolTip_do))},_s.nextButtonOnMouseOverHandler=function(e){_s.showButtonsLabels_bl&&_s.showToolTipButton(_s.nextButton_do,_s.nextButtonToolTip_do,_s.buttonsToolTipOffsetY)},_s.nextButtonOnMouseOutHandler=function(e){_s.showButtonsLabels_bl&&_s.nextButtonToolTip_do.hide()},_s.nextButtonStartHandler=function(e){e&&(e=e.e).touches&&_s.scrollBarHandler_do&&(_s.zoomInWithButtonsEndHandler(e),_s.zoomOutWithButtonsEndHandler(e),_s.handlerDragEndHandler(e)),_s.gotoNextImage(),_s.slideShowButton_do&&_s.stopSlideShow(),clearInterval(_s.gotoImageId_int),clearTimeout(_s.gotoImageId_to),_s.gotoImageId_to=setTimeout(_s.goToNextImageInWithDelay,400),_s.dispatchEvent(FWDController.DISABLE_PAN_OR_MOVE),_s.isMobile_bl?_s.hasPointerEvent_bl?window.addEventListener("MSPointerUp",_s.gotoImageEndHandler):window.addEventListener("touchend",_s.gotoImageEndHandler):window.addEventListener?window.addEventListener("mouseup",_s.gotoImageEndHandler):document.attachEvent&&document.attachEvent("onmouseup",_s.gotoImageEndHandler)},_s.goToNextImageInWithDelay=function(){_s.gotoImageId_int=setInterval(_s.gotoNextImage,_s.rotationSpeed)},_s.goToTopImage=function(){var e=1;_s.inverseNextAndPrevRotation_bl&&(e=-1),_s.dispatchEvent(FWDController.GOTO_TOP_OR_BOTTOM_IMAGE,{dir:e})},_s.goToTopImageWithDelay=function(){_s.gotoImageId_int=setInterval(_s.goToTopImage,_s.rotationSpeed)},_s.goToBottomImage=function(){var e=-1;_s.inverseNextAndPrevRotation_bl&&(e=1),_s.dispatchEvent(FWDController.GOTO_TOP_OR_BOTTOM_IMAGE,{dir:e})},_s.goToBottomImageWithDelay=function(){_s.gotoImageId_int=setInterval(_s.goToBottomImage,_s.rotationSpeed)},_s.gotoImageEndHandler=function(e){clearInterval(_s.gotoImageId_int),clearTimeout(_s.gotoImageId_to),_s.dispatchEvent(FWDController.ENABLE_PAN_OR_MOVE),_s.isMobile_bl?_s.hasPointerEvent_bl?window.removeEventListener("MSPointerUp",_s.gotoImageEndHandler):window.removeEventListener("touchend",_s.gotoImageEndHandler):window.removeEventListener?window.removeEventListener("mouseup",_s.gotoImageEndHandler):document.detachEvent&&document.detachEvent("onmouseup",_s.gotoImageEndHandler),_s.dispatchEvent(FWDController.GOTO_NEXT_OR_PREV_IMAGE_COMPLETE)},_s.gotoNextImage=function(){var e=1;_s.inverseNextAndPrevRotation_bl&&(e=-1),_s.dispatchEvent(FWDController.GOTO_NEXT_OR_PREV_IMAGE,{dir:e})},_s.setupPrevButton=function(e){FWDSimpleButton.setPrototype(),data.useVectorIcons?data.isSkin1?_s.prevButton_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-left'></span>","fwd360-skin1-vector-button-icon-normal","fwd360-skin1-vector-button-icon-selected"):_s.prevButton_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-left'></span>","fwd360-skin2-vector-button-icon-normal","fwd360-skin2-vector-button-icon-selected","fwd360-skin2-vector-button-backround-normal","fwd360-skin2-vector-button-backround-selected"):_s.prevButton_do=new FWDSimpleButton(_s.prevN_img,_s.prevS_img),_s.prevButton_do.addListener(FWDComplexButton.MOUSE_OVER,_s.prevButtonOnMouseOverHandler),_s.prevButton_do.addListener(FWDComplexButton.MOUSE_OUT,_s.prevShowButtonOnMouseOutHandler),_s.prevButton_do.addListener(FWDSimpleButton.MOUSE_DOWN,_s.prevButtonStartHandler),_s.mainHolder_do.addChild(_s.prevButton_do),_s.showButtonsLabels_bl&&(FWDButtonToolTip.setPrototype(),_s.prevButtonToolTip_do=new FWDButtonToolTip(e,"",_s.controllerVerticalPosition_str,_s.buttonToolTipTopPointer_str,_s.buttonToolTipBottomPointer_str,_s.buttonToolTipBackgroundColor,_s.buttonToolTipFontColor),_s.mainHolder_do.addChild(_s.prevButtonToolTip_do))},_s.prevButtonOnMouseOverHandler=function(e){_s.showButtonsLabels_bl&&_s.showToolTipButton(_s.prevButton_do,_s.prevButtonToolTip_do,_s.buttonsToolTipOffsetY)},_s.prevShowButtonOnMouseOutHandler=function(e){_s.showButtonsLabels_bl&&_s.prevButtonToolTip_do.hide()},_s.prevButtonStartHandler=function(e){e&&(e=e.e).touches&&_s.scrollBarHandler_do&&(_s.zoomInWithButtonsEndHandler(e),_s.zoomOutWithButtonsEndHandler(e),_s.handlerDragEndHandler(e)),_s.slideShowButton_do&&_s.stopSlideShow(),_s.gotoPrevImage(),clearInterval(_s.gotoImageId_int),clearTimeout(_s.gotoImageId_to),_s.gotoImageId_to=setTimeout(_s.goToPrevImageInWithDelay,400),_s.dispatchEvent(FWDController.DISABLE_PAN_OR_MOVE),_s.isMobile_bl?(_s.hasPointerEvent_bl?window.addEventListener("MSPointerUp",_s.gotoImageEndHandler):window.addEventListener("touchend",_s.gotoImageEndHandler),window.addEventListener("mouseup",_s.gotoImageEndHandler)):window.addEventListener?window.addEventListener("mouseup",_s.gotoImageEndHandler):document.attachEvent&&document.attachEvent("onmouseup",_s.gotoImageEndHandler)},_s.goToPrevImageInWithDelay=function(){_s.gotoImageId_int=setInterval(_s.gotoPrevImage,_s.rotationSpeed)},_s.gotoPrevImage=function(){var e=-1;_s.inverseNextAndPrevRotation_bl&&(e=1),_s.dispatchEvent(FWDController.GOTO_NEXT_OR_PREV_IMAGE,{dir:e})},_s.setupSlideshowButton=function(e,t){FWDComplexButton.setPrototype(),data.useVectorIcons?data.isSkin1?_s.slideShowButton_do=new FWDComplexButton(0,0,0,0,!0,"<span class='fwd360-icon fwd360-icon-play'></span>","<span class='fwd360-icon fwd360-icon-pause'></span>","fwd360-skin1-vector-button-icon-normal","fwd360-skin1-vector-button-icon-selected"):_s.slideShowButton_do=new FWDComplexButton(0,0,0,0,!0,"<span class='fwd360-icon fwd360-icon-play'></span>","<span class='fwd360-icon fwd360-icon-pause'></span>","fwd360-skin2-vector-button-icon-normal","fwd360-skin2-vector-button-icon-selected","fwd360-skin2-vector-button-backround-normal","fwd360-skin2-vector-button-backround-selected"):_s.slideShowButton_do=new FWDComplexButton(_s.playN_img,_s.playS_img,_s.pauseN_img,_s.pauseS_img,!0),_s.slideShowButton_do.addListener(FWDComplexButton.MOUSE_OVER,_s.slideSwhoButtonOnMouseOverHandler),_s.slideShowButton_do.addListener(FWDComplexButton.MOUSE_OUT,_s.slideShowButtonOnMouseOutHandler),_s.slideShowButton_do.addListener(FWDComplexButton.MOUSE_DOWN,_s.slideShowButtonStartHandler),_s.mainHolder_do.addChild(_s.slideShowButton_do),_s.showButtonsLabels_bl&&(FWDButtonToolTip.setPrototype(),_s.slideShowToolTip_do=new FWDButtonToolTip(e,t,_s.controllerVerticalPosition_str,_s.buttonToolTipTopPointer_str,_s.buttonToolTipBottomPointer_str,_s.buttonToolTipBackgroundColor,_s.buttonToolTipFontColor),_s.mainHolder_do.addChild(_s.slideShowToolTip_do))},_s.slideSwhoButtonOnMouseOverHandler=function(e){_s.showButtonsLabels_bl&&_s.showToolTipButton(_s.slideShowButton_do,_s.slideShowToolTip_do,_s.buttonsToolTipOffsetY)},_s.slideShowButtonOnMouseOutHandler=function(e){_s.showButtonsLabels_bl&&_s.slideShowToolTip_do.hide()},_s.slideShowButtonStartHandler=function(e){_s.showButtonsLabels_bl&&_s.slideShowToolTip_do.hide(),1==_s.slideShowButton_do.currentState?_s.startSlideshow(!0):_s.stopSlideShow(!0)},this.updateSlideshowButtonTooltip=function(e){_s.slideShowButton_do&&(1==_s.slideShowButton_do.currentState?_s.showButtonsLabels_bl&&(_s.slideShowToolTip_do.setLabel(_s.slideShowToolTip_do.toolTipLabel2_str),e&&setTimeout(function(){_s.showToolTipButton(_s.slideShowButton_do,_s.slideShowToolTip_do,_s.buttonsToolTipOffsetY)},50)):_s.showButtonsLabels_bl&&(_s.slideShowToolTip_do.setLabel(_s.slideShowToolTip_do.toolTipLabel_str),e&&setTimeout(function(){_s.showToolTipButton(_s.slideShowButton_do,_s.slideShowToolTip_do,_s.buttonsToolTipOffsetY)},70)))},_s.slideShowStart=!1,_s.startSlideshow=function(e){_s.slideShowStart||(_s.slideShowStart=!0,_s.updateSlideshowButtonTooltip(e),_s.slideShowButton_do&&_s.slideShowButton_do.setButtonState(0),clearInterval(_s.slideShowId_int),_s.slideShowId_int=setInterval(_s.slideShowComplete,_s.slideShowDelay),_s.dispatchEvent(FWDController.START_SLIDE_SHOW))},_s.stopSlideShow=function(e){_s.slideShowStart&&(_s.slideShowStart=!1,_s.enablePlayToImage_bl=!1,_s.dir=1,_s.updateSlideshowButtonTooltip(e),_s.slideShowButton_do&&_s.slideShowButton_do.setButtonState(1),clearInterval(_s.slideShowId_int),_s.dispatchEvent(FWDController.STOP_SLIDE_SHOW))},_s.slideShowComplete=function(){var dir=_s.dir;data.inverseRotation&&(dir*=-1),_s.dispatchEvent(FWDController.GOTO_NEXT_OR_PREV_IMAGE,{dir:dir}),_s.dispatchEvent(FWDController.GOTO_NEXT_OR_PREV_IMAGE_COMPLETE),_s.enablePlayToImage_bl&&parent.imageManager_do.curId==_s.idToStop&&(_s.stopSlideShow(),eval(_s.callBackFunction_str+"()"))},_s.idToStop,_s.enablePlayToImage_bl=!1,_s.dir=1,_s.callBackFunction_str,_s.playToImage=function(e,t){var o;e!=parent.imageManager_do.curId&&(_s.enablePlayToImage_bl=!0,_s.idToStop=e,_s.callBackFunction_str=t,0==e?e=0:e>_s.totalImages-1&&(e=_s.totalImages-1),_s.idToStop=e,_s.stopRotationAtEnds_bl?parent.imageManager_do.curId>_s.idToStop?_s.dir=-1:_s.dir=1:(o=Math.abs(parent.imageManager_do.curId-_s.idToStop),Math.abs(parent.imageManager_do.curId-(_s.idToStop+_s.totalImages))<o?_s.idToStop<parent.imageManager_do.curId?_s.dir=1:_s.dir=-1:_s.idToStop>parent.imageManager_do.curId?_s.dir=1:_s.dir=-1),_s.startSlideshow())},_s.setupInfoButton=function(e){FWDSimpleButton.setPrototype(),data.useVectorIcons?data.isSkin1?_s.infoButton_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-info'></span>","fwd360-skin1-vector-button-icon-normal","fwd360-skin1-vector-button-icon-selected"):_s.infoButton_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-info'></span>","fwd360-skin2-vector-button-icon-normal","fwd360-skin2-vector-button-icon-selected","fwd360-skin2-vector-button-backround-normal","fwd360-skin2-vector-button-backround-selected"):_s.infoButton_do=new FWDSimpleButton(_s.infoN_img,_s.infoS_img),_s.infoButton_do.addListener(FWDComplexButton.MOUSE_OVER,_s.infoButtonOnMouseOverHandler),_s.infoButton_do.addListener(FWDComplexButton.MOUSE_OUT,_s.infoButtonOnMouseOutHandler),_s.infoButton_do.addListener(FWDComplexButton.MOUSE_DOWN,_s.infoButtonStartHandler),_s.mainHolder_do.addChild(_s.infoButton_do),_s.showButtonsLabels_bl&&(FWDButtonToolTip.setPrototype(),_s.infoToolTip_do=new FWDButtonToolTip(e,"",_s.controllerVerticalPosition_str,_s.buttonToolTipTopPointer_str,_s.buttonToolTipBottomPointer_str,_s.buttonToolTipBackgroundColor,_s.buttonToolTipFontColor),_s.mainHolder_do.addChild(_s.infoToolTip_do))},_s.infoButtonOnMouseOverHandler=function(e){_s.showButtonsLabels_bl&&_s.showToolTipButton(_s.infoButton_do,_s.infoToolTip_do,_s.buttonsToolTipOffsetY)},_s.infoButtonOnMouseOutHandler=function(e){_s.showButtonsLabels_bl&&_s.infoToolTip_do.hide()},_s.infoButtonStartHandler=function(e){_s.dispatchEvent(FWDController.SHOW_INFO)},_s.setupLinkButton=function(e){FWDSimpleButton.setPrototype(),data.useVectorIcons?data.isSkin1?_s.linkButton_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-link'></span>","fwd360-skin1-vector-button-icon-normal","fwd360-skin1-vector-button-icon-selected"):_s.linkButton_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-link'></span>","fwd360-skin2-vector-button-icon-normal","fwd360-skin2-vector-button-icon-selected","fwd360-skin2-vector-button-backround-normal","fwd360-skin2-vector-button-backround-selected"):_s.linkButton_do=new FWDSimpleButton(_s.linkN_img,_s.linkS_img),_s.linkButton_do.addListener(FWDComplexButton.MOUSE_OVER,_s.linkButtonOnMouseOverHandler),_s.linkButton_do.addListener(FWDComplexButton.MOUSE_OUT,_s.linkButtonOnMouseOutHandler),_s.linkButton_do.addListener(FWDComplexButton.MOUSE_DOWN,_s.linkButtonOnMouseClickHandler),_s.mainHolder_do.addChild(_s.linkButton_do),_s.showButtonsLabels_bl&&(FWDButtonToolTip.setPrototype(),_s.linkToolTip_do=new FWDButtonToolTip(e,"",_s.controllerVerticalPosition_str,_s.buttonToolTipTopPointer_str,_s.buttonToolTipBottomPointer_str,_s.buttonToolTipBackgroundColor,_s.buttonToolTipFontColor),_s.mainHolder_do.addChild(_s.linkToolTip_do))},_s.linkButtonOnMouseOverHandler=function(e){_s.showButtonsLabels_bl&&_s.showToolTipButton(_s.linkButton_do,_s.linkToolTip_do,_s.buttonsToolTipOffsetY)},_s.linkButtonOnMouseOutHandler=function(e){_s.showButtonsLabels_bl&&_s.linkToolTip_do.hide()},_s.linkButtonOnMouseClickHandler=function(e){window.open(_s.link_str,"_blank")},_s.setupFullScreenButton=function(e,t){FWDComplexButton.setPrototype(),data.useVectorIcons?data.isSkin1?_s.fullScreenButton_do=new FWDComplexButton(0,0,0,0,!0,"<span class='fwd360-icon fwd360-icon-fullscr-full'></span>","<span class='fwd360-icon fwd360-icon-fullscr-normal'></span>","fwd360-skin1-vector-button-icon-normal","fwd360-skin1-vector-button-icon-selected"):_s.fullScreenButton_do=new FWDComplexButton(0,0,0,0,!0,"<span class='fwd360-icon fwd360-icon-fullscr-full'></span>","<span class='fwd360-icon fwd360-icon-fullscr-normal'></span>","fwd360-skin2-vector-button-icon-normal","fwd360-skin2-vector-button-icon-selected","fwd360-skin2-vector-button-backround-normal","fwd360-skin2-vector-button-backround-selected"):_s.fullScreenButton_do=new FWDComplexButton(_s.fullScreenFullN_img,_s.fullScreenFullS_img,_s.fullScreenNormalN_img,_s.fullScreenNormalS_img,!0),_s.fullScreenButton_do.addListener(FWDComplexButton.MOUSE_OVER,_s.fullscreenButtonOnMouseOverHandler),_s.fullScreenButton_do.addListener(FWDComplexButton.MOUSE_OUT,_s.fullscreenButtonOnMouseOutHandler),_s.fullScreenButton_do.addListener(FWDComplexButton.MOUSE_DOWN,_s.fullScreenButtonStartHandler),_s.mainHolder_do.addChild(_s.fullScreenButton_do),_s.showButtonsLabels_bl&&(FWDButtonToolTip.setPrototype(),_s.fullscreenToolTip_do=new FWDButtonToolTip(e,t,_s.controllerVerticalPosition_str,_s.buttonToolTipTopPointer_str,_s.buttonToolTipBottomPointer_str,_s.buttonToolTipBackgroundColor,_s.buttonToolTipFontColor),_s.mainHolder_do.addChild(_s.fullscreenToolTip_do))},_s.fullscreenButtonOnMouseOverHandler=function(e){_s.showButtonsLabels_bl&&_s.showToolTipButton(_s.fullScreenButton_do,_s.fullscreenToolTip_do,_s.buttonsToolTipOffsetY)},_s.fullscreenButtonOnMouseOutHandler=function(e){_s.showButtonsLabels_bl&&_s.fullscreenToolTip_do.hide()},_s.fullScreenButtonStartHandler=function(e){1==_s.fullScreenButton_do.currentState?(_s.showButtonsLabels_bl&&(_s.showButtonsLabels_bl&&_s.fullscreenToolTip_do.setLabel(_s.fullscreenToolTip_do.toolTipLabel2_str),setTimeout(function(){_s.showToolTipButton(_s.fullScreenButton_do,_s.fullscreenToolTip_do,_s.buttonsToolTipOffsetY)},50)),_s.fullScreenButton_do.setButtonState(0),_s.dispatchEvent(FWDController.GO_FULL_SCREEN)):0==_s.fullScreenButton_do.currentState&&(_s.showButtonsLabels_bl&&(_s.fullscreenToolTip_do.setLabel(_s.fullscreenToolTip_do.toolTipLabel_str),setTimeout(function(){_s.showToolTipButton(_s.fullScreenButton_do,_s.fullscreenToolTip_do,_s.buttonsToolTipOffsetY)},50)),_s.fullScreenButton_do.setButtonState(1),_s.dispatchEvent(FWDController.GO_NORMAL_SCREEN)),setTimeout(function(){null!=_s&&_s.fullScreenButton_do.onMouseOut(e)},50)},_s.setFullScreenButtonState=function(e){0==e?(_s.fullScreenButton_do.setButtonState(0),_s.showButtonsLabels_bl&&_s.fullscreenToolTip_do.setLabel(_s.fullscreenToolTip_do.toolTipLabel2_str)):1==e&&(_s.fullScreenButton_do.setButtonState(1),_s.showButtonsLabels_bl&&_s.fullscreenToolTip_do.setLabel(_s.fullscreenToolTip_do.toolTipLabel_str))},_s.onFullScreenChange=function(e){parent.hibernate_bl||(document.fullScreen||document.mozFullScreen||document.webkitIsFullScreen||document.msieFullScreen?(_s.showButtonsLabels_bl&&_s.fullscreenToolTip_do.setLabel(_s.fullscreenToolTip_do.toolTipLabel2_str),_s.fullScreenButton_do.setButtonState(0),_s.dispatchEvent(FWDController.GO_FULL_SCREEN)):(_s.showButtonsLabels_bl&&_s.fullscreenToolTip_do.setLabel(_s.fullscreenToolTip_do.toolTipLabel_str),_s.fullScreenButton_do.setButtonState(1),_s.dispatchEvent(FWDController.GO_NORMAL_SCREEN)))},_s.setupScrollBar=function(){var e;FWDSimpleButton.setPrototype(),data.useVectorIcons?data.isSkin1?_s.zoomIn_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-zoomin'></span>","fwd360-skin1-vector-button-icon-normal","fwd360-skin1-vector-button-icon-selected"):_s.zoomIn_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-zoomin'></span>","fwd360-skin2-vector-button-icon-normal","fwd360-skin2-vector-button-icon-selected","fwd360-skin2-vector-button-backround-normal","fwd360-skin2-vector-button-backround-selected"):_s.zoomIn_do=new FWDSimpleButton(_s.zoomInN_img,_s.zoomInS_img),_s.zoomIn_do.addListener(FWDSimpleButton.MOUSE_OVER,_s.zoomInMouseOverHandler),_s.zoomIn_do.addListener(FWDSimpleButton.MOUSE_OUT,_s.zoomInOrOutMouseOutHandler),_s.zoomIn_do.addListener(FWDSimpleButton.MOUSE_DOWN,_s.zoomInStartHandler),_s.mainHolder_do.addChild(_s.zoomIn_do),FWDSimpleButton.setPrototype(),data.useVectorIcons?data.isSkin1?_s.zoomOut_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-zoomout'></span>","fwd360-skin1-vector-button-icon-normal","fwd360-skin1-vector-button-icon-selected"):_s.zoomOut_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-zoomout'></span>","fwd360-skin2-vector-button-icon-normal","fwd360-skin2-vector-button-icon-selected","fwd360-skin2-vector-button-backround-normal","fwd360-skin2-vector-button-backround-selected"):_s.zoomOut_do=new FWDSimpleButton(_s.zoomOutN_img,_s.zoomOutS_img),_s.zoomOut_do.addListener(FWDSimpleButton.MOUSE_OVER,_s.zoomOutMouseOverHandler),_s.zoomOut_do.addListener(FWDSimpleButton.MOUSE_OUT,_s.zoomInOrOutMouseOutHandler),_s.zoomOut_do.addListener(FWDSimpleButton.MOUSE_DOWN,_s.zoomOutStartHandler),_s.mainHolder_do.addChild(_s.zoomOut_do),_s.zoomIn_do.setX(-5e3),_s.zoomOut_do.setY(-5e3),_s.scrollBar_do=new FWDDisplayObject("div"),_s.scrollBar_do.setOverflow("visible"),_s.scrollBar_do.setHeight(_s.scrollBarHeight),_s.mainHolder_do.addChild(_s.scrollBar_do),data.useVectorIcons?(_s.scrollBar_do.screen.className="fwd360-vector-scrollbar-background",_s.scrollBar_do.getStyle().width="100%",_s.scrollBarProgres_do=new FWDSimpleDisplayObject("div"),_s.scrollBarProgres_do.screen.className="fwd360-vector-scrollbar-progress",_s.scrollBarProgres_do.getStyle().height="100%",_s.scrollBar_do.addChild(_s.scrollBarProgres_do)):(_s.scrollBarLeft_do=new FWDSimpleDisplayObject("img"),_s.scrollBarLeft_do.setScreen(data.scrollBarProgressLeft_img),_s.scrollBar_do.addChild(_s.scrollBarLeft_do),_s.scrollBarMiddle_do=new FWDSimpleDisplayObject("div"),_s.scrollBarMiddle_do.setHeight(_s.scrollBarHeight),_s.scrollBarMiddle_do.getStyle().background="url('"+_s.scrollBarMiddlePath_str+"')",_s.scrollBarMiddle_do.getStyle().backgroundRepeat="repeat-x",_s.scrollBar_do.addChild(_s.scrollBarMiddle_do),_s.scrollBarProgressLeft_do=new FWDSimpleDisplayObject("img"),_s.scrollBarProgressLeft_do.setScreen(data.scrollBarProgressLeft_img),_s.scrollBar_do.addChild(_s.scrollBarProgressLeft_do),_s.scrollBarProgressMiddle_do=new FWDSimpleDisplayObject("div"),_s.scrollBarProgressMiddle_do.setHeight(_s.scrollBarHeight),_s.scrollBarProgressMiddle_do.getStyle().background="url('"+_s.scrollBarProgressMiddlePath_str+"')",_s.scrollBarProgressMiddle_do.getStyle().backgroundRepeat="repeat-x",_s.scrollBarProgressMiddle_do.setX(_s.scrollBarProgressLeft_do.w),_s.scrollBar_do.addChild(_s.scrollBarProgressMiddle_do),_s.scrollBarRight_do=new FWDSimpleDisplayObject("img"),_s.scrollBarRight_do.setScreen(_s.scrollBarRight_img),_s.scrollBar_do.addChild(_s.scrollBarRight_do)),FWDSimpleButton.setPrototype(),data.useVectorIcons?_s.scrollBarHandler_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-zoomout'></span>","fwd360-vector-scrollbar-handler-normal","fwd360-vector-scrollbar-handler-selected"):(_s.scrollBarHandler_do=new FWDSimpleButton(_s.scrollBarHandlerN_img,_s.scrollBarHandlerS_img),_s.scrollBarHandler_do.setY(parseInt((_s.scrollBarHeight-_s.scrollBarHandlerHeight)/2)-1)),_s.scrollBarHandler_do.setX(-_s.scrollBarHandlerOffsetX),_s.scrollBarHandler_do.addListener(FWDSimpleButton.MOUSE_OVER,_s.handlerOnMouseOver),_s.scrollBarHandler_do.addListener(FWDSimpleButton.MOUSE_OUT,_s.handlerOnMouseOut),_s.scrollBarHandler_do.addListener(FWDSimpleButton.MOUSE_DOWN,_s.handlerDragStartHandler),_s.scrollBar_do.addChild(_s.scrollBarHandler_do),_s.showButtonsLabels_bl&&(e=_s.buttonsLabels_ar[_s.scrollBarPosition]||"tooltip is not defined!",FWDButtonToolTip.setPrototype(),_s.scrollBarHandlerToolTip_do=new FWDButtonToolTip(e,"",_s.controllerVerticalPosition_str,_s.buttonToolTipTopPointer_str,_s.buttonToolTipBottomPointer_str,_s.buttonToolTipBackgroundColor,_s.buttonToolTipFontColor),_s.mainHolder_do.addChild(_s.scrollBarHandlerToolTip_do),_s.scrollBarHandlerToolTip_do.setLabel(e+"0%"))},_s.zoomInMouseOverHandler=function(e){_s.showButtonsLabels_bl&&(_s.scrollBarHandlerToolTip_do.show(),_s.isScrollBarActive_bl?_s.positionAndSetLabelScrollBarHandler():!_s.isScrollBarActive_bl&&_s.showButtonsLabels_bl&&setTimeout(function(){var e;null!=_s&&(e=(_s.finalHandlerX+_s.scrollBarHandlerOffsetX)/(_s.scrollBarTotalWidth-_s.scrollBarHandlerWidth+2*_s.scrollBarHandlerOffsetX),_s.scrollBarHandlerToolTip_do.setLabel(_s.scrollBarHandlerToolTip_do.toolTipLabel_str+Math.round(100*e)+"%"),_s.showZoomInOrOutToolTipButton(_s.zoomIn_do,_s.scrollBarHandlerToolTip_do,_s.zoomInAndOutToolTipOffsetY))},50))},_s.zoomInOrOutMouseOutHandler=function(e){_s.showButtonsLabels_bl&&_s.scrollBarHandlerToolTip_do.hide()},_s.zoomInStartHandler=function(e){e&&(e=e.e).touches&&_s.handlerDragEndHandler(e),clearInterval(_s.zoomWithButtonsId_int),clearTimeout(_s.zoomWithButtonsId_to),_s.zoomWithButtonsId_to=setTimeout(_s.startZoomInWithDelay,400),_s.dispatchEvent(FWDController.DISABLE_PAN_OR_MOVE),_s.zoomInWithButtonsDispatchEvent(!0),_s.slideShowButton_do&&_s.stopSlideShow(),_s.zoomIn_do&&(_s.zoomIn_do.isSelectedFinal_bl=!0),_s.isZoomInOrOutPressed_bl=!0,_s.isMobile_bl?_s.hasPointerEvent_bl?window.addEventListener("MSPointerUp",_s.zoomInWithButtonsEndHandler):window.addEventListener("touchend",_s.zoomInWithButtonsEndHandler):window.addEventListener?window.addEventListener("mouseup",_s.zoomInWithButtonsEndHandler):document.attachEvent&&document.attachEvent("onmouseup",_s.zoomInWithButtonsEndHandler),_s.isScrollBarActive_bl||setTimeout(function(){_s.showZoomInOrOutToolTipButton&&_s.showZoomInOrOutToolTipButton(_s.zoomIn_do,_s.scrollBarHandlerToolTip_do,_s.zoomInAndOutToolTipOffsetY)},80)},_s.startZoomInWithDelay=function(){_s.zoomWithButtonsId_int=setInterval(_s.zoomInWithButtonsDispatchEvent,16)},_s.zoomInWithButtonsDispatchEvent=function(e){e?_s.dispatchEvent(FWDController.ZOOM_WITH_BUTTONS,{dir:1,withPause:!0}):_s.dispatchEvent(FWDController.ZOOM_WITH_BUTTONS,{dir:1,withPause:!1}),!_s.isScrollBarActive_bl&&_s.showButtonsLabels_bl&&setTimeout(function(){var e;null!=_s&&(e=(_s.finalHandlerX+_s.scrollBarHandlerOffsetX)/(_s.scrollBarTotalWidth-_s.scrollBarHandlerWidth+2*_s.scrollBarHandlerOffsetX),_s.scrollBarHandlerToolTip_do&&_s.scrollBarHandlerToolTip_do.setLabel(_s.scrollBarHandlerToolTip_do.toolTipLabel_str+Math.round(100*e)+"%"),_s.showZoomInOrOutToolTipButton&&_s.showZoomInOrOutToolTipButton(_s.zoomIn_do,_s.scrollBarHandlerToolTip_do,_s.zoomInAndOutToolTipOffsetY))},50)},_s.zoomInWithButtonsEndHandler=function(e){var t;clearInterval(_s.zoomWithButtonsId_int),clearTimeout(_s.zoomWithButtonsId_to),_s.isZoomInOrOutPressed_bl=!1,_s.zoomIn_do&&(_s.zoomIn_do.isSelectedFinal_bl=!1,t=FWDUtils.getViewportMouseCoordinates(e),FWDUtils.hitTest(_s.zoomIn_do.screen,t.screenX,t.screenY)||_s.zoomIn_do.onMouseOut(e)),_s.dispatchEvent(FWDController.ENABLE_PAN_OR_MOVE),_s.isMobile_bl?_s.hasPointerEvent_bl?window.removeEventListener("MSPointerUp",_s.zoomInWithButtonsEndHandler):window.removeEventListener("touchend",_s.zoomInWithButtonsEndHandler):window.removeEventListener?window.removeEventListener("mouseup",_s.zoomInWithButtonsEndHandler):document.detachEvent&&document.detachEvent("onmouseup",_s.zoomInWithButtonsEndHandler)},_s.zoomOutMouseOverHandler=function(e){_s.showButtonsLabels_bl&&(_s.scrollBarHandlerToolTip_do.show(),_s.isScrollBarActive_bl?_s.positionAndSetLabelScrollBarHandler():!_s.isScrollBarActive_bl&&_s.showButtonsLabels_bl&&setTimeout(function(){var e;null!=_s&&(e=(_s.finalHandlerX+_s.scrollBarHandlerOffsetX)/(_s.scrollBarTotalWidth-_s.scrollBarHandlerWidth+2*_s.scrollBarHandlerOffsetX),_s.scrollBarHandlerToolTip_do.setLabel(_s.scrollBarHandlerToolTip_do.toolTipLabel_str+Math.round(100*e)+"%"),_s.showZoomInOrOutToolTipButton(_s.zoomOut_do,_s.scrollBarHandlerToolTip_do,_s.zoomInAndOutToolTipOffsetY))},50))},_s.zoomOutStartHandler=function(e){e&&(e=e.e).touches&&_s.handlerDragEndHandler(e),clearInterval(_s.zoomWithButtonsId_int),clearTimeout(_s.zoomWithButtonsId_to),_s.zoomWithButtonsId_to=setTimeout(_s.startZoomOutWithDelay,400),_s.dispatchEvent(FWDController.DISABLE_PAN_OR_MOVE),_s.zoomOutWithButtonsDispatchEvent(!0),_s.slideShowButton_do&&_s.stopSlideShow(),_s.zoomOut_do&&(_s.zoomOut_do.isSelectedFinal_bl=!0),_s.isZoomInOrOutPressed_bl=!0,_s.isMobile_bl?_s.hasPointerEvent_bl?window.addEventListener("MSPointerUp",_s.zoomOutWithButtonsEndHandler):window.addEventListener("touchend",_s.zoomOutWithButtonsEndHandler):window.addEventListener?window.addEventListener("mouseup",_s.zoomOutWithButtonsEndHandler):document.attachEvent&&document.attachEvent("onmouseup",_s.zoomOutWithButtonsEndHandler),_s.isScrollBarActive_bl||setTimeout(function(){_s.showZoomInOrOutToolTipButton&&_s.showZoomInOrOutToolTipButton(_s.zoomOut_do,_s.scrollBarHandlerToolTip_do,_s.zoomInAndOutToolTipOffsetY)},80)},_s.startZoomOutWithDelay=function(){_s.zoomWithButtonsId_int=setInterval(_s.zoomOutWithButtonsDispatchEvent,16)},_s.zoomOutWithButtonsDispatchEvent=function(e){!_s.isScrollBarActive_bl&&_s.showButtonsLabels_bl&&setTimeout(function(){var e;null!=_s&&(e=(_s.finalHandlerX+_s.scrollBarHandlerOffsetX)/(_s.scrollBarTotalWidth-_s.scrollBarHandlerWidth+2*_s.scrollBarHandlerOffsetX),_s.scrollBarHandlerToolTip_do&&_s.scrollBarHandlerToolTip_do.setLabel(_s.scrollBarHandlerToolTip_do.toolTipLabel_str+Math.round(100*e)+"%"),_s.showZoomInOrOutToolTipButton&&_s.showZoomInOrOutToolTipButton(_s.zoomOut_do,_s.scrollBarHandlerToolTip_do,_s.zoomInAndOutToolTipOffsetY))},50),e?_s.dispatchEvent(FWDController.ZOOM_WITH_BUTTONS,{dir:-1,withPause:!0}):_s.dispatchEvent(FWDController.ZOOM_WITH_BUTTONS,{dir:-1,withPause:!1})},_s.zoomOutWithButtonsEndHandler=function(e){var t;clearInterval(_s.zoomWithButtonsId_int),clearTimeout(_s.zoomWithButtonsId_to),_s.isZoomInOrOutPressed_bl=!1,_s.zoomOut_do&&(_s.zoomOut_do.isSelectedFinal_bl=!1,t=FWDUtils.getViewportMouseCoordinates(e),FWDUtils.hitTest(_s.zoomOut_do.screen,t.screenX,t.screenY)||_s.zoomOut_do.onMouseOut(e)),_s.dispatchEvent(FWDController.ENABLE_PAN_OR_MOVE),_s.isMobile_bl?_s.hasPointerEvent_bl?window.removeEventListener("MSPointerUp",_s.zoomOutWithButtonsEndHandler):window.removeEventListener("touchend",_s.zoomOutWithButtonsEndHandler):window.removeEventListener?window.removeEventListener("mouseup",_s.zoomOutWithButtonsEndHandler):document.detachEvent&&document.detachEvent("onmouseup",_s.zoomOutWithButtonsEndHandler)},_s.handlerOnMouseOver=function(e){_s.showButtonsLabels_bl&&(_s.positionAndSetLabelScrollBarHandler(),_s.scrollBarHandlerToolTip_do.show())},_s.handlerOnMouseOut=function(e){_s.showButtonsLabels_bl&&!_s.isHandlerClicked_bl&&_s.scrollBarHandlerToolTip_do.hide()},_s.handlerDragStartHandler=function(e){e=e.e,_s.isMobile_bl&&(_s.handlerDragEndHandler(e),(_s.prevButton_do||_s.prevButton_do)&&_s.gotoImageEndHandler(e)),_s.slideShowButton_do&&_s.stopSlideShow();var t=FWDUtils.getViewportMouseCoordinates(e);_s.lastPresedX=t.screenX,_s.scrollBarHandlerXPositionOnPress=_s.scrollBarHandler_do.getX(),_s.scrollBarHandler_do.isSelectedFinal_bl=!0,_s.dispatchEvent(FWDController.DISABLE_PAN_OR_MOVE),_s.isMobile_bl?_s.hasPointerEvent_bl?(window.addEventListener("MSPointerMove",_s.handlerDragMoveHandler),window.addEventListener("MSPointerUp",_s.handlerDragEndHandler)):(window.addEventListener("touchmove",_s.handlerDragMoveHandler),window.addEventListener("touchend",_s.handlerDragEndHandler)):(_s.scrollBarHandler_do.isSelectedFinal_bl=!0,window.addEventListener?(window.addEventListener("mousemove",_s.handlerDragMoveHandler),window.addEventListener("mouseup",_s.handlerDragEndHandler)):document.attachEvent&&(document.attachEvent("onmousemove",_s.handlerDragMoveHandler),document.attachEvent("onmouseup",_s.handlerDragEndHandler)))},_s.handlerDragMoveHandler=function(e){e.preventDefault&&e.preventDefault(),_s.isHandlerClicked_bl=!0;var t=FWDUtils.getViewportMouseCoordinates(e);_s.finalHandlerX=Math.round(_s.scrollBarHandlerXPositionOnPress+t.screenX-_s.lastPresedX),_s.finalHandlerX<=-_s.scrollBarHandlerOffsetX?_s.finalHandlerX=-_s.scrollBarHandlerOffsetX:_s.finalHandlerX>=_s.scrollBarTotalWidth-_s.scrollBarHandlerWidth+_s.scrollBarHandlerOffsetX&&(_s.finalHandlerX=_s.scrollBarTotalWidth-_s.scrollBarHandlerWidth+_s.scrollBarHandlerOffsetX);var o=(_s.finalHandlerX+_s.scrollBarHandlerOffsetX)/(_s.scrollBarTotalWidth-_s.scrollBarHandlerWidth+2*_s.scrollBarHandlerOffsetX);_s.dispatchEvent(FWDController.SCROLL_BAR_UPDATE,{percent:o}),_s.scrollBarHandler_do.setX(_s.finalHandlerX),_s.scrollBarProgres_do?_s.scrollBarProgres_do.setWidth(Math.max(0,_s.finalHandlerX+10)):_s.scrollBarProgressMiddle_do.setWidth(Math.max(0,_s.finalHandlerX)),_s.positionAndSetLabelScrollBarHandler()},_s.handlerDragEndHandler=function(e){var t;_s.isHandlerClicked_bl=!1,_s.dispatchEvent(FWDController.ENABLE_PAN_OR_MOVE),t=FWDUtils.getViewportMouseCoordinates(e),FWDUtils.hitTest(_s.scrollBarHandler_do.screen,t.screenX,t.screenY)||(_s.scrollBarHandler_do.onMouseOut(e),_s.showButtonsLabels_bl&&_s.scrollBarHandlerToolTip_do.hide(),_s.scrollBarHandler_do.setUnselctedFinal()),_s.scrollBarHandler_do.isSelectedFinal_bl=!1,_s.isMobile_bl?_s.hasPointerEvent_bl?(window.removeEventListener("MSPointerMove",_s.handlerDragMoveHandler),window.removeEventListener("MSPointerUp",_s.handlerDragEndHandler)):(window.removeEventListener("touchmove",_s.handlerDragMoveHandler),window.removeEventListener("touchend",_s.handlerDragEndHandler)):window.removeEventListener?(window.removeEventListener("mousemove",_s.handlerDragMoveHandler),window.removeEventListener("mouseup",_s.handlerDragEndHandler)):document.detachEvent&&(document.detachEvent("onmousemove",_s.handlerDragMoveHandler),document.detachEvent("onmouseup",_s.handlerDragEndHandler))},_s.updateScrollBar=function(e,t){_s.scrollBarHandler_do&&(_s.finalHandlerX=-_s.scrollBarHandlerOffsetX+Math.round(e*(_s.scrollBarTotalWidth-_s.scrollBarHandlerWidth+2*_s.scrollBarHandlerOffsetX)),_s.isScrollBarActive_bl&&(_s.finalHandlerX<=-_s.scrollBarHandlerOffsetX?_s.finalHandlerX=-_s.scrollBarHandlerOffsetX:_s.finalHandlerX>=_s.scrollBarTotalWidth-_s.scrollBarHandlerWidth+_s.scrollBarHandlerOffsetX&&(_s.finalHandlerX=_s.scrollBarTotalWidth-_s.scrollBarHandlerWidth+_s.scrollBarHandlerOffsetX),FWDAnimation.killTweensOf(_s.scrollBarHandler_do),FWDAnimation.killTweensOf(_s.scrollBarProgressMiddle_do),t?(FWDAnimation.to(_s.scrollBarHandler_do,.2,{x:_s.finalHandlerX,onUpdate:_s.positionAndSetLabelScrollBarHandler,onComplete:_s.positionAndSetLabelScrollBarHandler}),_s.scrollBarProgres_do?FWDAnimation.to(_s.scrollBarProgres_do,.2,{w:Math.max(0,_s.finalHandlerX+10)}):FWDAnimation.to(_s.scrollBarProgressMiddle_do,.2,{w:Math.max(0,_s.finalHandlerX)})):(FWDAnimation.killTweensOf(_s.scrollBarHandler_do),_s.scrollBarHandler_do.setX(_s.finalHandlerX),_s.scrollBarProgres_do?_s.scrollBarProgres_do.setWidth(Math.max(0,_s.finalHandlerX+10)):_s.scrollBarProgressMiddle_do.setWidth(Math.max(0,_s.finalHandlerX)))))},_s.positionAndSetLabelScrollBarHandler=function(){var e,t,o,n;_s.showButtonsLabels_bl&&_s.isScrollBarActive_bl&&(t=e=0,o=(_s.finalHandlerX+_s.scrollBarHandlerOffsetX)/(_s.scrollBarTotalWidth-_s.scrollBarHandlerWidth+2*_s.scrollBarHandlerOffsetX),n=_s.getGlobalX(),_s.scrollBarHandlerToolTip_do.setLabel(_s.scrollBarHandlerToolTip_do.toolTipLabel_str+Math.round(100*o)+"%"),setTimeout(function(){null!=_s&&_s.scrollBarHandlerToolTip_do.isShowed_bl&&(e=parseInt(_s.scrollBarHandler_do.getX()+_s.scrollBar_do.getX()+(_s.scrollBarHandlerWidth-_s.scrollBarHandlerToolTip_do.totalWidth)/2),t=_s.controllerVerticalPosition_str==FWDController.POSITION_BOTTOM?-_s.scrollBarHandlerToolTip_do.totalHeight-_s.scrollBarHandlerToolTipOffsetY:_s.curHeight+_s.scrollBarHandlerToolTipOffsetY,n+e<0&&(e=0),_s.scrollBarHandlerToolTip_do.setX(e),_s.scrollBarHandlerToolTip_do.setY(t))},51))},_s.hide=function(e){_s.controllerVerticalPosition_str==FWDController.POSITION_BOTTOM?e?FWDAnimation.to(_s.mainHolder_do,1,{y:_s.curHeight+_s.controllerOffsetY,ease:Expo.easeInOut}):_s.mainHolder_do.setY(_s.curHeight+_s.controllerOffsetY):_s.controllerVerticalPosition_str==FWDController.POSITION_TOP&&(e?FWDAnimation.to(_s.mainHolder_do,1,{y:-_s.curHeight-_s.controllerOffsetY,ease:Expo.easeInOut}):_s.mainHolder_do.setY(-_s.curHeight-_s.controllerOffsetY))},_s.show=function(){_s.mainHolder_do.setVisible(!0),FWDAnimation.to(_s.mainHolder_do,1,{y:0,ease:Expo.easeInOut})},_s.showToolTipButton=function(e,t,o){var n,r,i,s;_s.showButtonsLabels_bl&&(i=_s.mainHolder_do.getX(),s=0,_s.showButtonsLabels_bl&&t.show(),setTimeout(function(){null!=_s&&t.isShowed_bl&&(n=parseInt(e.getX()+(_s.buttonWidth-t.totalWidth)/2),r=_s.controllerVerticalPosition_str==FWDController.POSITION_BOTTOM?-t.totalHeight-o:_s.curHeight+o,i+n<0?(s=i+n,n+=Math.abs(i+n)):i+_s.curWidth-n-t.totalWidth<0&&(s=-(i+_s.curWidth-n-t.totalWidth),n=n+i+_s.curWidth-n-t.totalWidth),t.setX(n),t.setY(r),t.positionPointer(s))},51))},_s.showZoomInOrOutToolTipButton=function(e,t,o){var n,r,i,s;_s.showButtonsLabels_bl&&t&&(i=_s.mainHolder_do.getX(),s=0,setTimeout(function(){null!=_s&&t.isShowed_bl&&(n=parseInt(e.getX()+(_s.zoomButtonHeight-t.totalWidth)/2),r=_s.controllerVerticalPosition_str==FWDController.POSITION_BOTTOM?-t.totalHeight-o:_s.curHeight+o,i+n<0?(s=i+n,n+=Math.abs(i+n)):i+_s.curWidth-n-t.totalWidth<0&&(s=-(i+_s.curWidth-n-t.totalWidth),n=n+i+_s.curWidth-n-t.totalWidth),t.setX(n),t.setY(r),t.positionPointer(s))},51))},_s.cleanMainEvents=function(){clearInterval(_s.gotoImageId_int),clearInterval(_s.zoomWithButtonsId_int),clearInterval(_s.slideShowId_int),clearTimeout(_s.gotoImageId_to),clearTimeout(_s.zoomWithButtonsId_to),_s.hider&&(_s.hider.removeListener(FWDHider.SHOW,_s.onHiderShow),_s.hider.removeListener(FWDHider.HIDE,_s.onHiderHide)),_s.screen.onmousedown=null,_s.isMobile_bl?(window.removeEventListener("touchend",_s.gotoImageEndHandler),window.removeEventListener("MSPointerUp",_s.gotoImageEndHandler),window.removeEventListener("touchend",_s.zoomInWithButtonsEndHandler),window.removeEventListener("MSPointerUp",_s.zoomInWithButtonsEndHandler),window.removeEventListener("touchend",_s.zoomOutWithButtonsEndHandler),window.removeEventListener("MSPointerUp",_s.zoomOutWithButtonsEndHandler),window.removeEventListener("touchmove",_s.handlerDragMoveHandler),window.removeEventListener("touchend",_s.handlerDragEndHandler),window.removeEventListener("MSPointerMove",_s.handlerDragMoveHandler),window.removeEventListener("MSPointerUp",_s.handlerDragEndHandler)):window.removeEventListener?(window.removeEventListener("mouseup",_s.gotoImageEndHandler),window.removeEventListener("mouseup",_s.zoomInWithButtonsEndHandler),window.removeEventListener("mouseup",_s.zoomOutWithButtonsEndHandler),window.removeEventListener("mousemove",_s.handlerDragMoveHandler),window.removeEventListener("mouseup",_s.handlerDragEndHandler),window.removeEventListener("keydown",_s.onKeyDownHandler),window.removeEventListener("keyup",_s.onKeyUpHandler)):document.detachEvent&&(document.detachEvent("onmouseup",_s.gotoImageEndHandler),document.detachEvent("onmouseup",_s.zoomInWithButtonsEndHandler),document.detachEvent("onmouseup",_s.zoomOutWithButtonsEndHandler),document.detachEvent("onmousemove",_s.handlerDragMoveHandler),document.detachEvent("onmouseup",_s.handlerDragEndHandler),document.detachEvent("onkeydown",_s.onKeyDownHandler),document.detachEvent("onkeyup",_s.onKeyUpHandler))},_s.destroy=function(){_s.cleanMainEvents(),FWDAnimation.killTweensOf(_s.mainHolder_do),_s.mainHolder_do.destroy(),_s.backgroundLeft_sdo&&(_s.backgroundLeft_sdo.destroy(),_s.backgroundMiddle_sdo.destroy(),_s.backgroundRight_sdo.destroy()),_s.panButton_do&&_s.panButton_do.destroy(),_s.rotateButton_do&&_s.rotateButton_do.destroy(),_s.nextButton_do&&_s.nextButton_do.destroy(),_s.prevButton_do&&_s.prevButton_do.destroy(),_s.slideShowButton_do&&_s.slideShowButton_do.destroy(),_s.infoButton_do&&_s.infoButton_do.destroy(),_s.linkButton_do&&_s.linkButton_do.destroy(),_s.fullScreenButton_do&&_s.fullScreenButton_do.destroy(),_s.zoomIn_do&&_s.zoomIn_do.destroy(),_s.zoomOut_do&&_s.zoomOut_do.destroy(),_s.scrollBar_do&&_s.scrollBar_do.destroy(),_s.scrollBarLeft_sdo&&_s.scrollBarLeft_sdo.destroy(),_s.scrollBarRight_sdo&&_s.scrollBarRight_sdo.destroy(),_s.scrollBarMiddle_sdo&&_s.scrollBarMiddle_sdo.destroy(),_s.scrollBarHandler_do&&(FWDAnimation.killTweensOf(_s.mainHolder_do),_s.scrollBarHandler_do.destroy()),_s.scrollBarHandlerN_sdo&&_s.scrollBarHandlerN_sdo.destroy(),_s.scrollBarHandlerS_sdo&&_s.scrollBarHandlerS_sdo.destroy(),_s.panButtonTooTipLabel_do&&_s.panButtonTooTipLabel_do.destroy(),_s.scrollBarHandlerToolTip_do&&_s.scrollBarHandlerToolTip_do.destroy(),_s.rotateButtonToolTip_do&&_s.rotateButtonToolTip_do.destroy(),_s.nextButtonToolTip_do&&_s.nextButtonToolTip_do.destroy(),_s.prevButtonToolTip_do&&_s.prevButtonToolTip_do.destroy(),_s.slideShowToolTip_do&&_s.slideShowToolTip_do.destroy(),_s.infoToolTip_do&&_s.infoToolTip_do.destroy(),_s.linkToolTip_do&&_s.linkToolTip_do.destroy(),_s.fullscreenToolTip_do&&_s.fullscreenToolTip_do.destroy(),_s.buttonsTest_ar=null,_s.buttons_ar=null,_s.hider=null,_s.mainHolder_do=null,_s.backgroundLeft_sdo=null,_s.backgroundMiddle_sdo=null,_s.backgroundRight_sdo=null,_s.panButton_do=null,_s.rotateButton_do=null,_s.nextButton_do=null,_s.prevButton_do=null,_s.slideShowButton_do=null,_s.infoButton_do=null,_s.linkButton_do=null,_s.fullScreenButton_do=null,_s.zoomIn_do=null,_s.zoomOut_do=null,_s.scrollBar_do=null,_s.scrollBarLeft_sdo=null,_s.scrollBarRight_sdo=null,_s.scrollBarMiddle_sdo=null,_s.scrollBarHandler_do=null,_s.scrollBarHandlerN_sdo=null,_s.scrollBarHandlerS_sdo=null,_s.panButtonTooTipLabel_do=null,_s.scrollBarHandlerToolTip_do=null,_s.rotateButtonToolTip_do=null,_s.nextButtonToolTip_do=null,_s.prevButtonToolTip_do=null,_s.slideShowToolTip_do=null,_s.infoToolTip_do=null,_s.linkToolTip_do=null,_s.fullscreenToolTip_do=null,_s.backgroundLeft_img=null,_s.backgroundRight_img=null,_s.panN_img=null,_s.panS_img=null,_s.rotateN_img=null,_s.rotateS_img=null,_s.nextN_img=null,_s.nextS_img=null,_s.prevN_img=null,_s.prevS_img=null,_s.playN_img=null,_s.playS_img=null,_s.pauseN_img=null,_s.pauseS_img=null,_s.infoN_img=null,_s.infoS_img=null,_s.linkN_img=null,_s.linkS_img=null,_s.fullScreenNormalN_img=null,_s.fullScreenNormalS_img=null,_s.fullScreenFullN_img=null,_s.fullScreenFullS_img=null,_s.zoomInN_img=null,_s.zoomInS_img=null,_s.zoomOutN_img=null,_s.zoomOutS_img=null,_s.scrollBarHandlerN_img=null,_s.scrollBarHandlerS_img=null,_s.scrollBarLeft_img=null,_s.scrollBarRight_img=null,_s.toolTipLeft_img=null,_s.toolTipPointer_img=null,_s.backgroundMiddlePath_str=null,_s.scrollBarProgressMiddlePath_str=null,_s.scrollBarMiddlePath_str=null,_s.draggingMode_str=null,_s.controllerVerticalPosition_str=null,_s.buttonToolTipLeft_str=null,_s.buttonToolTipMiddle_str=null,_s.buttonToolTipRight_str=null,_s.link_str=null,parent=data=null,_s.setInnerHTML(""),prototype.destroy(),prototype=_s=null,FWDController.prototype=null},_s.init()};FWDController.setPrototype=function(){FWDController.prototype=new FWDDisplayObject("div")},FWDController.GOTO_TOP_OR_BOTTOM_IMAGE="goToTopImage",FWDController.SHOW_INFO="showInfo",FWDController.POSITION_TOP="top",FWDController.POSITION_BOTTOM="bottom",FWDController.CHANGE_NAVIGATION_STYLE="changeNavigationStyle",FWDController.GOTO_NEXT_IMAGE="gotoNextImage",FWDController.GOTO_PREV_IMAGE="gotoPrevImage",FWDController.GOTO_NEXT_OR_PREV_IMAGE="gotoNextOrPrevImage",FWDController.GOTO_NEXT_OR_PREV_IMAGE_COMPLETE="gotoNextOrPrevImageComplete",FWDController.DISABLE_PAN_OR_MOVE="disablePanOrMove",FWDController.ENABLE_PAN_OR_MOVE="enablePanOrMove",FWDController.SCROLL_BAR_UPDATE="scrollBarUpdate",FWDController.ZOOM_WITH_BUTTONS="zoomWithButtons",FWDController.ZOOM_IN="zoomIn",FWDController.ZOOM_OUT="zoomOut",FWDController.PAN="pan",FWDController.ROTATE="rotate",FWDController.START_SLIDE_SHOW="startSlideShow",FWDController.STOP_SLIDE_SHOW="stopSlideShow",FWDController.GO_FULL_SCREEN="goFullScreen",FWDController.GO_NORMAL_SCREEN="goNormalScreen",FWDController.MOUSE_DOWN="controllerOnMouseDown",FWDController.prototype=null,window.FWDController=FWDController}(),function(o){var te=function(e){var ee=this,n=te.prototype;ee.navigatorImage_img,ee.mainPreloader_img=null,ee.mainLightboxCloseButtonN_img=null,ee.mainLightboxCloseButtonS_img=null,ee.controllerBackgroundLeft_img=null,ee.controllerBackgroundRight_img=null,ee.controllerPanN_img=null,ee.controllerPanS_img=null,ee.controllerRotateN_img=null,ee.controllerRotateS_img=null,ee.controllerNextN_img=null,ee.controllerNextS_img=null,ee.controllerPrevN_img=null,ee.controllerPrevS_img=null,ee.controllerPlayN_img=null,ee.controllerPlayS_img=null,ee.controllerPauseN_img=null,ee.controllerPauseS_img=null,ee.controllerInfoN_img=null,ee.controllerInfoS_img=null,ee.controllerLinkN_img=null,ee.controllerLinkS_img=null,ee.controllerFullScreenNormalN_img=null,ee.controllerFullScreenNormalS_img=null,ee.controllerFullScreenFullN_img=null,ee.controllerFullScreenFullS_img=null,ee.zoomInN_img=null,ee.zoomInS_img=null,ee.zoomOutN_img=null,ee.zoomOutS_img=null,ee.scrollBarHandlerN_img=null,ee.scrollBarHandlerS_img=null,ee.scrollBarLeft_img=null,ee.scrollBarRight_img=null,ee.toolTipLeft_img=null,ee.toolTipPointer_img=null,ee.infoWindowCloseNormal_img=null,ee.infoWindowCloseSelected_img=null,ee.props_obj=e,ee.rootElement_el=null,ee.skinPaths_ar=[],ee.playListData_ar=[],ee.imagesPaths_ar=[],ee.largeImagesPaths_ar=[],ee.navigatorImagesPaths_ar=[],ee.images_ar=[],ee.navigatorImages_ar=[],ee.markersList_ar=[],ee.markersPosition_ar=[],ee.buttons_ar=null,ee.buttonsLabels_ar=null,ee.contextMenuLabels_ar=null,ee.backgroundColor_str=null,ee.handMovePath_str=null,ee.handGrabRotatePath_str=null,ee.handGrabPath_str=null,ee.handGrabRotatePath_str=null,ee.controllerBackgroundMiddlePath_str=null,ee.scrollBarMiddlePath_str=null,ee.startDraggingMode_str=null,ee.controllerVerticalPosition_str=null,ee.preloaderFontColor_str=null,ee.preloaderBackgroundColor_str=null,ee.preloaderText_str=null,ee.buttonToolTipLeft_str=null,ee.buttonToolTipMiddle_str=null,ee.buttonToolTipRight_str=null,ee.buttonToolTipBottomPointer_str=null,ee.buttonToolTipTopPointer_str=null,ee.buttonToolTipFontColor_str=null,ee.link_str=null,ee.contextMenuBackgroundColor_str=null,ee.contextMenuBorderColor_str=null,ee.contextMenuSpacerColor_str=null,ee.contextMenuItemTextNormalColor_str=null,ee.contextMenuItemSelectedColor_str=null,ee.contextMenuItemSelectedColor_str=null,ee.contextMenuItemDisabledColor_str=null,ee.navigatorPosition_str=null,ee.navigatorHandlerColor_str=null,ee.navigatorBorderColor_str=null,ee.infoText_str=null,ee.infoWindowBackgroundColor_str=null,ee.infoWindowScrollBarColor_str=null,ee.dragAndSpinSpeed,ee.dragRotationSpeed,ee.buttonsRotationSpeed,ee.controllerHeight,ee.startAtImage,ee.imageWidth,ee.imageHeight,ee.spaceBetweenButtons,ee.startSpaceBetweenButtons,ee.scrollBarOffsetX,ee.zoomFactor,ee.controllerOffsetY,ee.hideControllerDelay,ee.controllerBackgroundOpacity,ee.controllerMaxWidth,ee.countLoadedSkinImages=0,ee.countLoadedImages=0,ee.scrollBarHandlerToolTipOffsetY,ee.zoomInAndOutToolTipOffsetY,ee.buttonsToolTipOffsetY,ee.scrollBarPosition,ee.startSpaceForScrollBarButtons,ee.totalGraphics,ee.slideShowDelay,ee.totalImages,ee.navigatorWidth,ee.navigatorHeight,ee.navigatorOffsetX,ee.navigatorOffsetY,ee.infoWindowBackgroundOpacity,ee.markerToolTipOffsetY,ee.toolTipWindowMaxWidth,ee.lightBoxBackgroundOpacity,ee.parseDelayId_to,ee.loadImageId_to,ee.showContextMenu_bl,ee.showLargeImageVersionOnZoom_bl,ee.showNavigator_bl,ee.addCorrectionForWebKit_bl,ee.inverseNextAndPrevRotation_bl,ee.useEntireScreenFor3dObject_bl,ee.hideController_bl,ee.showScriptDeveloper_bl,ee.showMarkers_bl,ee.hasNavigatorError_bl=!1,ee.showMarkersInfo_bl=!1,ee.addKeyboardSupport_bl=!1,ee.addDragAndSpinSupport_bl=!1,ee.stopRotationHorizontalAtEnds_bl=!1,ee.slideShowAutoPlay_bl=!1,ee.isMobile_bl=FWDUtils.isMobile,ee.hasPointerEvent_bl=FWDUtils.hasPointerEvent,ee.areAllImagesLoaded_bl=!1,ee.isLigthboxCloseButtonLoaded_bl=!1,ee.init=function(e){ee.parseProperties()},ee.parseProperties=function(){var e,t,o,n,r,i,s;if(ee.skinPath_str=ee.props_obj.skinPath,ee.skinPath_str){if(ee.skinPath_str.lastIndexOf("/")+1!=ee.skinPath_str.length&&(ee.skinPath_str+="/"),!ee.props_obj.playListId)return n="<font color='#FF0000'>playListId</font> property which represents the viewer playlist id is not defined in FWDViewer constructor function!",void ee.dispatchEvent(te.LOAD_ERROR,{text:n});if(ee.rootElement_el=FWDUtils.getChildById(ee.props_obj.playListId),!ee.rootElement_el)return n="Make sure that the a div with the id - <font color='#FF0000'>"+ee.props_obj.playListId+"</font> exists, _s represents the data playlist.",void ee.dispatchEvent(te.LOAD_ERROR,{text:n});if(ee.rootElement_el.style.display="none",e=FWDUtils.getChildFromNodeListFromAttribute(ee.rootElement_el,"data-markers"),!(t=FWDUtils.getChildFromNodeListFromAttribute(ee.rootElement_el,"data-paylist")))return n="Make sure that the an ul tag with the data type attribute - <font color='#FF0000'>data-paylist</font> is defined, _s tag is used for creating the playlist.",void ee.dispatchEvent(te.LOAD_ERROR,{text:n});if(ee.isSkin1=-1!=ee.skinPath_str.indexOf("skin1"),e&&(ee.showMarkers_bl=!0),ee.showMarkers_bl){o=FWDUtils.getChildren(e);for(var l=0;l<o.length;l++){if(r={},s=o[l],!FWDUtils.hasAttribute(s,"data-marker-type",l))return void ee.showMarkerError("data-marker-type",l);if(!FWDUtils.hasAttribute(s,"data-marker-id",l))return void ee.showMarkerError("data-marker-id",l);if(!FWDUtils.hasAttribute(s,"data-marker-normal-state-path",l))return void ee.showMarkerError("data-marker-normal-state-path",l);if(!FWDUtils.hasAttribute(s,"data-marker-selected-state-path",l))return void ee.showMarkerError("data-marker-selected-state-path",l);if(!FWDUtils.hasAttribute(s,"data-marker-width",l))return void ee.showMarkerError("data-marker-width",l);if(!FWDUtils.hasAttribute(s,"data-marker-height",l))return void ee.showMarkerError("data-marker-height",l);if(r.type=FWDUtils.getAttributeValue(s,"data-marker-type"),!(p="link"==r.type||"tooltip"==r.type||"tooltip-plus"==r.type||"tooltip-play"==r.type||"infowindow"==r.type))return void ee.showMarkerTypeError(r.type,l);r.markerId=FWDUtils.trim(FWDUtils.getAttributeValue(s,"data-marker-id")),r.normalStatePath_str=FWDUtils.trim(FWDUtils.getAttributeValue(s,"data-marker-normal-state-path")),r.selectedStatePath_str=FWDUtils.trim(FWDUtils.getAttributeValue(s,"data-marker-selected-state-path")),r.toolTipLabel=FWDUtils.getAttributeValue(s,"data-tool-tip-label")||void 0,r.markerWidth=parseInt(FWDUtils.getAttributeValue(s,"data-marker-width")),isNaN(r.markerWidth)&&(r.markerWidth=5),r.markerHeight=parseInt(FWDUtils.getAttributeValue(s,"data-marker-height")),isNaN(r.markerHeight)&&(r.markerHeight=5),"link"==r.type?(r.link=FWDUtils.getAttributeValue(s,"data-marker-url")||"http://www.link-is-not-defined.com",r.target=FWDUtils.getAttributeValue(s,"data-marker-target")||"_blank"):r.innerHTML=s.innerHTML,p=(p="center"===(p=FWDUtils.getAttributeValue(s,"data-reg-point"))||"centertop"===p||"centerbottom"===p||"leftbottom"===p)?FWDUtils.trim(FWDUtils.getAttributeValue(s,"data-reg-point")).toLowerCase():"center",r.regPoint=p,r.maxWidth=parseInt(FWDUtils.getAttributeValue(s,"data-marker-window-width")),isNaN(r.maxWidth)&&(r.maxWidth=200),ee.markersList_ar.push(r)}}if(!FWDUtils.getChildAt(t,0))return n="The playlist dose not have any chidren <ul> element.",void ee.dispatchEvent(te.LOAD_ERROR,{text:n});ee.dragVertical_bl="yes"==ee.props_obj.dragVertical,ee.startSlideShowOnLeave="yes"==ee.props_obj.startSlideShowOnLeave,ee.disableMouseWheelZoom_bl="yes"==ee.props_obj.disableMouseWheelZoom,ee.showNavigator_bl=ee.props_obj.showNavigator,ee.showNavigator_bl="yes"==ee.showNavigator_bl,ee.showMarkersInfo_bl="yes"==ee.props_obj.showMarkersInfo,ee.addKeyboardSupport_bl="no"!=ee.props_obj.addKeyboardSupport,ee.stopRotationHorizontalAtEnds_bl="yes"==ee.props_obj.stopRotationHorizontalAtEnds,ee.stopRotationVerticalAtEnds_bl="yes"==ee.props_obj.stopRotationVerticalAtEnds,ee.preloaderProgressBarBackgroundColor=ee.props_obj.preloaderProgressBarBackgroundColor||"#FF0000",ee.preloaderProgressBarFillColor=ee.props_obj.preloaderProgressBarFillColor||"#FF0000",ee.preloaderWidth=ee.props_obj.preloaderWidth||"max",ee.addDragAndSpinSupport_bl="yes"==ee.props_obj.addDragAndSpinSupport,ee.useVectorIcons="yes"==ee.props_obj.useVectorIcons,ee.zoomSpeed=ee.props_obj.zoomSpeed||.1,ee.zoomSpeed=ee.props_obj.zoomSpeed||.1,ee.imageOffsetX=parseInt(ee.props_obj.imageOffsetX)||0,ee.imageOffsetY=parseInt(ee.props_obj.imageOffsetY)||0,ee.navigatorWidth=ee.props_obj.navigatorWidth||120,ee.stopRotationHorizontalAtEnds_bl&&(ee.addDragAndSpinSupport_bl=!1),ee.slideShowAutoPlay_bl="yes"==ee.props_obj.slideShowAutoPlay,ee.showPreloaderProgressBar="no"!=ee.props_obj.showPreloaderProgressBar,ee.preloaderBackgroundSize=ee.props_obj.preloaderBackgroundSize||"large",ee.isMobile_bl&&(ee.showMarkersInfo_bl=!1);var a=FWDUtils.getChildren(t);ee.totalMainPlaylists=a.length,ee.playListData_ar=[];for(var d=0;d<ee.totalMainPlaylists;d++){for(var _=[],c=FWDUtils.getChildren(a[d]),u=c.length,l=0;l<u;l++){playlistChild=FWDUtils.getChildren(c[l]);for(var h=0;h<playlistChild.length;h++){s=playlistChild[h],0==h&&(r={markersPosition_ar:[]});for(var p,m=d+1,g=l+1,f=0;f<playlistChild.length;f++)if(p=FWDUtils.getAttributeValue(playlistChild[f],"data-small-image-path")){r.smallImagePath=FWDUtils.trim(FWDUtils.getAttributeValue(playlistChild[f],"data-small-image-path"));break}if(!p)return void ee.dispatchEvent(te.LOAD_ERROR,{text:"Element with attribute <font color='#FF0000'> data-small-image-path</font> is not defined in playlist <font color='#FF0000'>"+m+"</font> at positon <font color='#FF0000'>"+g+"</font>"});for(f=0;f<playlistChild.length;f++)if(p=FWDUtils.getAttributeValue(playlistChild[f],"data-large-image-path")){r.largeImagePath=FWDUtils.trim(FWDUtils.getAttributeValue(playlistChild[f],"data-large-image-path"));break}p&&(ee.showLargeImageVersionOnZoom_bl=!0),0==h&&(i=void 0),FWDUtils.getAttributeValue(playlistChild[h],"data-marker-id")&&((i={}).markerId=FWDUtils.trim(FWDUtils.getAttributeValue(playlistChild[h],"data-marker-id")),i.x=FWDUtils.getAttributeValue(playlistChild[h],"data-marker-x")||0,i.y=FWDUtils.getAttributeValue(playlistChild[h],"data-marker-y")||0,i.toolTipOffsetX=parseInt(FWDUtils.getAttributeValue(playlistChild[h],"data-tooltip-offset-x"))||0,r.markersPosition_ar.push(i))}_.push(r)}ee.playListData_ar[d]=_}if(ee.backgroundColor_str=ee.props_obj.backgroundColor||"transparent",ee.preloaderFontColor_str=ee.props_obj.preloaderFontColor||"#000000",ee.preloaderWindowBackgroundOpacity=ee.props_obj.preloaderWindowBackgroundOpacity||0,ee.preloaderBackgroundColor_str=ee.props_obj.preloaderBackgroundColor||"transparent",ee.preloaderText_str=ee.props_obj.preloaderText||"Loading:",ee.startDraggingMode_str=ee.props_obj.startDraggingMode||"rotate","rotate"!=ee.startDraggingMode_str&&"pan"!=ee.startDraggingMode_str&&(ee.startDraggingMode_str="rotate"),ee.controllerVerticalPosition_str=ee.props_obj.controllerVerticalPosition||"bottom","top"!=ee.controllerVerticalPosition_str&&"bottom"!=ee.controllerVerticalPosition_str&&(ee.startDraggingMode_str="top"),ee.controllerHorizontalPosition_str=ee.props_obj.controllerHorizontalPosition||"center",void 0===ee.props_obj.buttons)return n="The <font color='#FF0000'>buttons</font> is not defined in the contructor, _s is necessary to setup the main buttons.",ee.dispatchEvent(te.LOAD_ERROR,{text:n}),void console.log(n);if(0<ee.props_obj.buttons.length?ee.buttons_ar=FWDUtils.splitAndTrim(ee.props_obj.buttons,!0):ee.buttons_ar=[],ee.isMobile_bl&&!ee.hasPointerEvent_bl?(ee.buttonsLabels_ar=null,ee.contextMenuLabels_ar=null):(ee.props_obj.buttonsToolTips&&(ee.buttonsLabels_ar=FWDUtils.splitAndTrim(ee.props_obj.buttonsToolTips,!1)),ee.props_obj.contextMenuLabels&&(ee.contextMenuLabels_ar=FWDUtils.splitAndTrim(ee.props_obj.contextMenuLabels,!1))),ee.showScriptDeveloper_bl=ee.props_obj.showScriptDeveloper,ee.showScriptDeveloper_bl="no"!=ee.showScriptDeveloper_bl,ee.dragRotationSpeed=ee.props_obj.dragRotationSpeed||.5,isNaN(ee.dragRotationSpeed)&&(ee.dragRotationSpeed=.5),ee.dragRotationSpeed<0?ee.dragRotationSpeed=0:1<ee.dragRotationSpeed&&(ee.dragRotationSpeed=1),ee.dragAndSpinSpeed=ee.props_obj.dragAndSpinSpeed||.4,isNaN(ee.dragAndSpinSpeed)&&(ee.dragAndSpinSpeed=.4),ee.dragRotationSpeed<.1?ee.dragRotationSpeed=.1:1<ee.dragRotationSpeed&&(ee.dragRotationSpeed=1),ee.buttonsRotationSpeed=ee.props_obj.buttonsRotationSpeed||500,isNaN(ee.buttonsRotationSpeed)&&(ee.buttonsRotationSpeed=500),ee.buttonsRotationSpeed<50?ee.buttonsRotationSpeed=50:5e3<ee.buttonsRotationSpeed&&(ee.buttonsRotationSpeed=5e3),ee.imageWidth=ee.props_obj.imageWidth,ee.imageWidth)if(ee.imageHeight=ee.props_obj.imageHeight,ee.imageHeight)if(ee.zoomFactor=ee.props_obj.zoomFactor,ee.zoomFactor){ee.zoomFactor<1?ee.zoomFactor=1:4<ee.zoomFactor&&(ee.zoomFactor=4),ee.navigatorOffsetX=ee.props_obj.navigatorOffsetX||0,isNaN(ee.navigatorOffsetX)&&(ee.navigatorOffsetX=0),ee.navigatorOffsetY=ee.props_obj.navigatorOffsetY||0,isNaN(ee.navigatorOffsetY)&&(ee.navigatorOffsetY=0),ee.controllerBackgroundOpacity=ee.props_obj.controllerBackgroundOpacity,null==ee.controllerBackgroundOpacity&&(ee.controllerBackgroundOpacity=1),isNaN(ee.controllerBackgroundOpacity)&&(ee.controllerBackgroundOpacity=1),ee.controllerBackgroundOpacity<=0?ee.controllerBackgroundOpacity=0:1<ee.controllerBackgroundOpacity&&(ee.controllerBackgroundOpacity=1),ee.controllerMaxWidth=ee.props_obj.controllerMaxWidth,ee.controllerMaxWidth||(ee.controllerMaxWidth=900),isNaN(ee.controllerMaxWidth)&&(ee.controllerMaxWidth=900),ee.controllerMaxWidth<200&&(ee.controllerMaxWidth=200),ee.hideControllerDelay=ee.props_obj.hideControllerDelay,ee.hideControllerDelay&&(ee.hideController_bl=!0,isNaN(ee.hideControllerDelay)||ee.hideControllerDelay<0?ee.hideControllerDelay=4e3:ee.hideControllerDelay*=1e3),ee.controllerOffsetWidth=parseInt(ee.props_obj.controllerOffsetWidth)||0,ee.spaceBetweenButtons=ee.props_obj.spaceBetweenButtons||0,ee.scrollBarPosition=ee.props_obj.scrollBarPosition||0,ee.startSpaceForScrollBarButtons=ee.props_obj.startSpaceForScrollBarButtons||0,ee.startSpaceBetweenButtons=ee.props_obj.startSpaceBetweenButtons||0,ee.startSpaceForScrollBar=ee.props_obj.startSpaceForScrollBar||0,ee.scrollBarOffsetX=ee.props_obj.scrollBarOffsetX||0,ee.scrollBarHandlerOffsetX=ee.props_obj.scrollBarHandlerOffsetX||0,ee.controllerOffsetY=ee.props_obj.controllerOffsetY||0,ee.controllerOffsetX=ee.props_obj.controllerOffsetX||0,ee.scrollBarHandlerToolTipOffsetY=ee.props_obj.scrollBarHandlerToolTipOffsetY||0,ee.zoomInAndOutToolTipOffsetY=ee.props_obj.zoomInAndOutToolTipOffsetY||0,ee.buttonsToolTipOffsetY=ee.props_obj.buttonsToolTipOffsetY||0,ee.infoWindowBackgroundOpacity=ee.props_obj.infoWindowBackgroundOpacity||1,ee.markerToolTipOffsetY=ee.props_obj.markerToolTipOffsetY||1,ee.buttonToolTipBackgroundColor=ee.props_obj.buttonToolTipBackgroundColor||"#FF0000",ee.buttonToolTipFontColor=ee.props_obj.buttonToolTipFontColor||"#000000",ee.link_str=ee.props_obj.link||"http://www.link-is-not-defined.com!",ee.contextMenuItemBackgroundNormalColor=ee.props_obj.contextMenuItemBackgroundNormalColor||"#FF0000",ee.contextMenuItemBackgroundSelectedColor=ee.props_obj.contextMenuItemBackgroundSelectedColor||"#FF0000",ee.contextMenuBorderColor_str=ee.props_obj.contextMenuBorderColor||"#FF0000",ee.contextMenuSpacerColor_str=ee.props_obj.contextMenuSpacerColor||"#FF0000",ee.contextMenuItemTextNormalColor_str=ee.props_obj.contextMenuItemTextNormalColor||"#FF0000",ee.contextMenuItemTextSelectedColor_str=ee.props_obj.contextMenuItemTextSelectedColor||"#FF0000",ee.contextMenuItemDisabledColor_str=ee.props_obj.contextMenuItemDisabledColor||"#FF0000",ee.infoWindowBackgroundColor_str=ee.props_obj.infoWindowBackgroundColor||"#FF0000",ee.infoWindowScrollBarColor_str=ee.props_obj.infoWindowScrollBarColor||"#FF0000",ee.preloaderPosition=ee.props_obj.preloaderPosition||"center",ee.preloaderPosition=ee.preloaderPosition.toLowerCase(),ee.preloaderOffsetX=ee.props_obj.preloaderOffsetX,ee.preloaderOffsetY=ee.props_obj.preloaderOffsetY,ee.navigatorPosition_str=ee.props_obj.navigatorPosition||"topleft",ee.navigatorPosition_str=String(ee.navigatorPosition_str).toLowerCase(),(p="topleft"==ee.navigatorPosition_str||"topright"==ee.navigatorPosition_str||"bottomleft"==ee.navigatorPosition_str||"bottomright"==ee.navigatorPosition_str)||(ee.navigatorPosition_str="topleft"),ee.navigatorHandlerColor_str=ee.props_obj.navigatorHandlerColor||"#FF0000",ee.navigatorBackgroundColor=ee.props_obj.navigatorBackgroundColor||"#FFFFFF",ee.navigatorBorderColor_str=ee.props_obj.navigatorBorderColor||"#FF0000",ee.slideShowDelay=ee.props_obj.slideShowDelay||100,ee.slideShowDelay<100&&(ee.slideShowDelay=100),ee.infoWindowWidth=parseInt(ee.props_obj.infoWindowWidth)||800,ee.showContextMenu_bl=ee.props_obj.showContextMenu,ee.showContextMenu_bl="no"!=ee.showContextMenu_bl,ee.showControllerBackground="no"!=ee.props_obj.showControllerBackground,ee.inverseRotation="yes"==ee.props_obj.inverseRotation?-1:1,ee.inverseNextAndPrevRotation_bl=ee.props_obj.inverseNextAndPrevRotation,ee.inverseNextAndPrevRotation_bl="yes"==ee.inverseNextAndPrevRotation_bl,ee.addCorrectionForWebKit_bl=ee.props_obj.addCorrectionForWebKit,ee.addCorrectionForWebKit_bl="yes"==ee.addCorrectionForWebKit_bl,FWDUtils.isChrome&&!ee.hasTouch_bl||(ee.addCorrectionForWebKit_bl=!1),ee.useEntireScreenFor3dObject_bl=ee.props_obj.useEntireScreenFor3dObject,ee.useEntireScreenFor3dObject_bl="yes"==ee.useEntireScreenFor3dObject_bl,ee.infoText_str=FWDUtils.getChildFromNodeListFromAttribute(ee.rootElement_el,"data-info"),ee.infoText_str?ee.infoText_str=ee.infoText_str.innerHTML:ee.infoText_str="not defined make sure that an ul element with the attribute data-info is defined!",ee.handMovePath_str=ee.skinPath_str+"handmove.cur",ee.handGrabRotatePath_str=ee.skinPath_str+"handrotate.cur",ee.handGrabRotateVerticalPath_str=ee.skinPath_str+"handrotatetop.cur",ee.handGrabPath_str=ee.skinPath_str+"handgrab.cur";var v=ee.skinPath_str+"close-icon.png",b=ee.skinPath_str+"close-icon-rollover.png",w=ee.skinPath_str+"bg-bar-left.png",T=ee.skinPath_str+"bg-bar-right.png",S=ee.skinPath_str+"move-icon.png",y=ee.skinPath_str+"move-icon-rollover.png",B=ee.skinPath_str+"rotate-icon.png",O=ee.skinPath_str+"rotate-icon-rollover.png",H=ee.skinPath_str+"right-icon.png",W=ee.skinPath_str+"right-icon-rollover.png",D=ee.skinPath_str+"left-icon.png",M=ee.skinPath_str+"left-icon-rollover.png",E=ee.skinPath_str+"play-icon.png",x=ee.skinPath_str+"play-icon-rollover.png",I=ee.skinPath_str+"pause-icon.png",k=ee.skinPath_str+"pause-icon-rollover.png",C=ee.skinPath_str+"info-icon.png",F=ee.skinPath_str+"info-icon-rollover.png",P=ee.skinPath_str+"link-icon.png",L=ee.skinPath_str+"link-icon-rollover.png",A=ee.skinPath_str+"fullscr-normal-icon.png",N=ee.skinPath_str+"fullscr-normal-icon-rollover.png",R=ee.skinPath_str+"fullscr-full-icon.png",z=ee.skinPath_str+"fullscr-full-icon-rollover.png",Y=ee.skinPath_str+"zoomin.png",X=ee.skinPath_str+"zoomin-rollover.png",U=ee.skinPath_str+"zoomout.png",V=ee.skinPath_str+"zoomout-rollover.png",j=ee.skinPath_str+"handler.png",G=ee.skinPath_str+"handler-rollover.png",Z=ee.skinPath_str+"scrool-left.png",K=ee.skinPath_str+"scrool-progress-left.png",q=ee.skinPath_str+"scrool-right.png";ee.scrollBarMiddlePath_str=ee.skinPath_str+"scrool-middle.png",ee.scrollBarProgressMiddlePath_str=ee.skinPath_str+"scrool-progress-middle.png",ee.controllerBackgroundMiddlePath_str=ee.skinPath_str+"bg-bar-middle.png",ee.buttonToolTipMiddle_str=ee.skinPath_str+"button-tool-tip-middle.png",ee.buttonToolTipRight_str=ee.skinPath_str+"button-tool-tip-right.png",ee.buttonToolTipBottomPointer_str=ee.skinPath_str+"button-tool-tip-down-pointer.png";var Q=ee.skinPath_str+"close-icon.png",$=ee.skinPath_str+"close-icon-rollover.png";if(ee.skinPaths_ar=[{img:ee.mainLightboxCloseButtonN_img=new Image,src:v},{img:ee.mainLightboxCloseButtonS_img=new Image,src:b},{img:ee.controllerBackgroundLeft_img=new Image,src:w},{img:ee.controllerBackgroundRight_img=new Image,src:T}],"info"==ee.buttons_ar[l]&&(ee.showInfoWindow=!0),ee.showInfoWindow=!0,!ee.useVectorIcons){ee.skinPaths_ar.push({img:ee.infoWindowCloseSelected_img=new Image,src:$}),ee.skinPaths_ar.push({img:ee.infoWindowCloseNormal_img=new Image,src:Q});for(l=0;l<ee.buttons_ar.length;l++)"rotate"==ee.buttons_ar[l]&&(ee.skinPaths_ar.push({img:ee.controllerRotateN_img=new Image,src:B}),ee.skinPaths_ar.push({img:ee.controllerRotateS_img=new Image,src:O})),"pan"==ee.buttons_ar[l]&&(ee.skinPaths_ar.push({img:ee.controllerPanN_img=new Image,src:S}),ee.skinPaths_ar.push({img:ee.controllerPanS_img=new Image,src:y})),"roteteleft"==ee.buttons_ar[l]&&(ee.skinPaths_ar.push({img:ee.controllerPrevN_img=new Image,src:D}),ee.skinPaths_ar.push({img:ee.controllerPrevS_img=new Image,src:M})),"rotateright"==ee.buttons_ar[l]&&(ee.skinPaths_ar.push({img:ee.controllerNextN_img=new Image,src:H}),ee.skinPaths_ar.push({img:ee.controllerNextS_img=new Image,src:W})),"scrollbar"==ee.buttons_ar[l]&&(ee.skinPaths_ar.push({img:ee.scrollBarHandlerN_img=new Image,src:j}),ee.skinPaths_ar.push({img:ee.scrollBarHandlerS_img=new Image,src:G}),ee.skinPaths_ar.push({img:ee.scrollBarLeft_img=new Image,src:Z}),ee.skinPaths_ar.push({img:ee.scrollBarProgressLeft_img=new Image,src:K}),ee.skinPaths_ar.push({img:ee.scrollBarRight_img=new Image,src:q}),ee.skinPaths_ar.push({img:ee.zoomInN_img=new Image,src:Y}),ee.skinPaths_ar.push({img:ee.zoomInS_img=new Image,src:X}),ee.skinPaths_ar.push({img:ee.zoomOutN_img=new Image,src:U}),ee.skinPaths_ar.push({img:ee.zoomOutS_img=new Image,src:V})),"play"==ee.buttons_ar[l]&&(ee.skinPaths_ar.push({img:ee.controllerPlayN_img=new Image,src:E}),ee.skinPaths_ar.push({img:ee.controllerPlayS_img=new Image,src:x}),ee.skinPaths_ar.push({img:ee.controllerPauseN_img=new Image,src:I}),ee.skinPaths_ar.push({img:ee.controllerPauseS_img=new Image,src:k})),"info"==ee.buttons_ar[l]&&(ee.skinPaths_ar.push({img:ee.controllerInfoN_img=new Image,src:C}),ee.skinPaths_ar.push({img:ee.controllerInfoS_img=new Image,src:F})),"link"==ee.buttons_ar[l]&&(ee.skinPaths_ar.push({img:ee.controllerLinkN_img=new Image,src:P}),ee.skinPaths_ar.push({img:ee.controllerLinkS_img=new Image,src:L})),"fullscreen"==ee.buttons_ar[l]&&(ee.skinPaths_ar.push({img:ee.controllerFullScreenNormalN_img=new Image,src:A}),ee.skinPaths_ar.push({img:ee.controllerFullScreenNormalS_img=new Image,src:N}),ee.skinPaths_ar.push({img:ee.controllerFullScreenFullN_img=new Image,src:R}),ee.skinPaths_ar.push({img:ee.controllerFullScreenFullS_img=new Image,src:z}));ee.totalGraphics=ee.skinPaths_ar.length}ee.props_obj.buttons.length<2&&(ee.useEntireScreenFor3dObject_bl=!0);for(l=0;l<ee.playListData_ar.length;l++)for(var J=0;J<ee.playListData_ar[l].length;J++)ee.imagesPaths_ar.push(ee.playListData_ar[l][J].smallImagePath);ee.totalImages=ee.imagesPaths_ar.length,ee.startAtImage=ee.props_obj.startAtImage||0,ee.startAtImage<0?ee.staetAtImage=0:ee.startAtImage>ee.playListData_ar[0].length-1&&(ee.startAtImage=ee.playListData_ar[0].length-1),ee.startAtSet=ee.props_obj.startAtSet||0,ee.startAtSet<0?ee.startAtSet=0:ee.startAtSet>ee.playListData_ar.length-1&&(ee.startAtSet=ee.playListData_ar.length-1),1<ee.playListData_ar.length&&(ee.dragInAllDirection_bl=!0),setTimeout(function(){null!=ee&&(ee.dispatchEvent(te.PRELOADER_LOAD_DONE),ee.useVectorIcons?(ee.dispatchEvent(te.LIGHBOX_CLOSE_BUTTON_LOADED),ee.dispatchEvent(te.LOAD_DONE),ee.loadImages()):ee.loadSkin())},50)}else ee.showPropertyError("zoomFactor");else ee.showPropertyError("imageHeight");else ee.showPropertyError("imageWidth")}else setTimeout(function(){null!=ee&&(n="The <font color='#FF0000'>skinPath</font> property is not defined in the constructor function!",ee.dispatchEvent(te.LOAD_ERROR,{text:n}))},50)},ee.loadSkin=function(){var e,t;ee.dispatchEvent(te.SKIN_PROGRESS,{percent:0});for(var o=0;o<ee.totalGraphics;o++)e=ee.skinPaths_ar[o].img,t=ee.skinPaths_ar[o].src,e.onload=ee.onSkinLoadHandler,e.onerror=ee.onSkinLoadErrorHandler,e.src=t},ee.onSkinLoadHandler=function(e){if(ee.mainLightboxCloseButtonS_img&&!ee.isLigthboxCloseButtonLoaded_bl&&ee.mainLightboxCloseButtonS_img.width&&(ee.dispatchEvent(te.LIGHBOX_CLOSE_BUTTON_LOADED),ee.isLigthboxCloseButtonLoaded_bl=!0),ee.controllerBackgroundLeft_img&&!ee.controllerHeight&&(ee.controllerHeight=ee.controllerBackgroundLeft_img.height),ee.countLoadedSkinImages++,ee.countLoadedSkinImages==ee.totalGraphics){if(null==ee)return;ee.dispatchEvent(te.LOAD_DONE),ee.loadImages()}ee.dispatchEvent(te.SKIN_PROGRESS,{percent:ee.countLoadedSkinImages/ee.totalGraphics})},ee.onSkinLoadErrorHandler=function(e){var t;null!=ee&&(message=FWDUtils.isIEAndLessThen9?"Graphics image not found!":"The skin icon with label <font color='#FF0000'>"+e.target.src+"</font> can't be loaded, check path!",o.console&&console.log(e),t={text:message},setTimeout(function(){ee.dispatchEvent(te.LOAD_ERROR,t)},50))},ee.stopToLoad=function(){clearTimeout(ee.loadImageId_to);for(var e=0;e<ee.totalGraphics;e++)img=ee.skinPaths_ar[e].img,img.onload=null,img.onerror=null,img=null;ee.skinPaths_ar=null,ee.image_img&&(ee.image_img.onload=null,ee.image_img.onerror=null,ee.image_img.src="")},ee.loadImages=function(){ee.image_img&&(ee.image_img.onload=null,ee.image_img.onerror=null);var e=ee.imagesPaths_ar[ee.countLoadedImages];ee.image_img=new Image,ee.image_img.onload=ee.onImageLoadHandler,ee.image_img.onerror=ee.onImageLoadErrorHandler,ee.image_img.src=e},ee.onImageLoadHandler=function(e){0==ee.countLoadedImages&&ee.dispatchEvent(te.FIRST_IMAGE_LOAD_COMPLETE),ee.images_ar.push(ee.image_img),ee.dispatchEvent(te.IMAGE_LOADED,{id:ee.countLoadedImages}),ee.dispatchEvent(te.IMAGES_PROGRESS,{percent:ee.countLoadedImages/ee.totalImages}),ee.countLoadedImages++,ee.countLoadedImages<ee.totalImages?ee.loadImages():(ee.areAllImagesLoaded_bl=!0,ee.dispatchEvent(te.IMAGES_PROGRESS,{percent:ee.countLoadedImages/ee.totalImages}),ee.dispatchEvent(te.IMAGES_LOAD_COMPLETE))},ee.onLastNavigatorImageLoadHandler=function(e){null!=ee&&(ee.areAllImagesLoaded_bl=!0,ee.dispatchEvent(te.IMAGES_PROGRESS,{percent:ee.countLoadedImages/ee.totalImages}),ee.dispatchEvent(te.IMAGES_LOAD_COMPLETE))},ee.onNavigatorImageLoadErrorHandler=function(e){var t="The navigator image with the label <font color='#FF0000'>"+ee.navigatorImagesPaths_ar[ee.countLoadedImages]+"</font> can't be loaded, make sure that the image exists and the path is correct!";ee.hasNavigatorError_bl=!0;var o={text:t};ee.dispatchEvent(te.LOAD_ERROR,o),console.log(e)},ee.onImageLoadErrorHandler=function(e){var t="The image with the label <font color='#FF0000'>"+ee.imagesPaths_ar[ee.countLoadedImages]+"</font> can't be loaded, make sure that the image exists and the path is correct!";console.log(e);var o={text:t};ee.dispatchEvent(te.LOAD_ERROR,o)},ee.checkForAttribute=function(e,t,o){var n=FWDUtils.getChildFromNodeListFromAttribute(e,t);if(n=n?FWDUtils.trim(FWDUtils.getAttributeValue(n,t)):void 0)return n;null!=o?ee.dispatchEvent(te.LOAD_ERROR,{text:"Element with attribute <font color='#FF0000'>"+t+"</font> is not defined at positon <font color='#FF0000'>"+(o+1)+"</font>"}):ee.dispatchEvent(te.LOAD_ERROR,{text:"Element with attribute <font color='#FF0000'>"+t+"</font> is not defined."})},ee.showPropertyError=function(e){ee.dispatchEvent(te.LOAD_ERROR,{text:"The property called <font color='#FF0000'>"+e+"</font> is not defined."})},ee.showMarkerError=function(e,t){ee.dispatchEvent(te.LOAD_ERROR,{text:"The marker at position <font color='#FF0000'>"+t+"</font> dose not have defined an attribute <font color='#FF0000'>"+e+"</font>."})},ee.showMarkerTypeError=function(e,t){ee.dispatchEvent(te.LOAD_ERROR,{text:"Marker type is incorrect <font color='#FF0000'>"+e+"</font> at position <font color='#FF0000'>"+t+"</font>. Accepted types are <font color='#FF0000'>link, tooltip, infowindow</font>."})},ee.destroy=function(){var e,t;clearTimeout(ee.parseDelayId_to),clearTimeout(ee.loadImageId_to),ee.image_img&&(ee.image_img.onload=null,ee.image_img.onerror=null,ee.image_img.src=""),ee.navigatorImage_img&&(ee.navigatorImage_img.onload=null,ee.navigatorImage_img.onerror=null,ee.navigatorImage_img.src=""),e=ee.images_ar.length;for(var o=0;o<e;o++)(t=ee.images_ar[o]).onerror=null,t.onload=null,t.src="",t=null;e=ee.navigatorImages_ar.length;for(o=0;o<e;o++)(t=ee.navigatorImages_ar[o]).onerror=null,t.onload=null,t.src="",t=null;ee.mainPreloader_img&&(ee.mainPreloader_img.src=""),ee.mainLightboxCloseButtonN_img&&(ee.mainLightboxCloseButtonN_img.src=""),ee.mainLightboxCloseButtonS_img&&(ee.mainLightboxCloseButtonS_img.src=""),ee.controllerBackgroundLeft_img&&(ee.controllerBackgroundLeft_img.src=""),ee.controllerBackgroundRight_img&&(ee.controllerBackgroundRight_img.src=""),ee.controllerPanN_img&&(ee.controllerPanN_img.src=""),ee.controllerPanS_img&&(ee.controllerPanS_img.src=""),ee.controllerRotateN_img&&(ee.controllerRotateN_img.src=""),ee.controllerRotateS_img&&(ee.controllerRotateS_img.src=""),ee.controllerNextN_img&&(ee.controllerNextN_img.src=""),ee.controllerNextS_img&&(ee.controllerNextS_img.src=""),ee.controllerPrevN_img&&(ee.controllerPrevN_img.src=""),ee.controllerPrevS_img&&(ee.controllerPrevS_img.src=""),ee.controllerPlayN_img&&(ee.controllerPlayN_img.src=""),ee.controllerPlayS_img&&(ee.controllerPlayS_img.src=""),ee.controllerPauseN_img&&(ee.controllerPauseN_img.src=""),ee.controllerPauseS_img&&(ee.controllerPauseS_img.src=""),ee.controllerInfoN_img&&(ee.controllerInfoN_img.src=""),ee.controllerLinkN_img&&(ee.controllerLinkN_img.src=""),ee.controllerLinkS_img&&(ee.controllerLinkS_img.src=""),ee.controllerFullScreenNormalN_img&&(ee.controllerFullScreenNormalN_img.src=""),ee.controllerFullScreenNormalS_img&&(ee.controllerFullScreenNormalS_img.src=""),ee.controllerFullScreenFullN_img&&(ee.controllerFullScreenFullN_img.src=""),ee.controllerFullScreenFullS_img&&(ee.controllerFullScreenFullS_img.src=""),ee.zoomInN_img&&(ee.zoomInN_img.src=""),ee.zoomInS_img&&(ee.zoomInS_img.src=""),ee.zoomOutN_img&&(ee.zoomOutN_img.src=""),ee.zoomOutS_img&&(ee.zoomOutS_img.src=""),ee.scrollBarHandlerN_img&&(ee.scrollBarHandlerN_img.src=""),ee.scrollBarHandlerN_img&&(ee.scrollBarHandlerN_img.src=""),ee.scrollBarHandlerS_img&&(ee.scrollBarHandlerS_img.src=""),ee.scrollBarLeft_img&&(ee.scrollBarLeft_img.src=""),ee.scrollBarLeft_img&&(ee.scrollBarLeft_img.src=""),ee.scrollBarRight_img&&(ee.scrollBarRight_img.src=""),ee.toolTipLeft_img&&(ee.toolTipLeft_img.src=""),ee.toolTipPointer_img&&(ee.toolTipPointer_img.src=""),ee.infoWindowCloseNormal_img&&(ee.infoWindowCloseNormal_img.src=""),ee.infoWindowCloseSelected_img&&(ee.infoWindowCloseSelected_img.src=""),ee.mainPreloader_img=null,ee.mainLightboxCloseButtonN_img=null,ee.mainLightboxCloseButtonS_img=null,ee.controllerBackgroundLeft_img=null,ee.controllerBackgroundRight_img=null,ee.controllerPanN_img=null,ee.controllerPanS_img=null,ee.controllerRotateN_img=null,ee.controllerRotateS_img=null,ee.controllerNextN_img=null,ee.controllerNextS_img=null,ee.controllerPrevN_img=null,ee.controllerPrevS_img=null,ee.controllerPlayN_img=null,ee.controllerPlayS_img=null,ee.controllerPauseN_img=null,ee.controllerPauseS_img=null,ee.controllerInfoN_img=null,ee.controllerInfoS_img=null,ee.controllerLinkN_img=null,ee.controllerLinkS_img=null,ee.controllerFullScreenNormalN_img=null,ee.controllerFullScreenNormalS_img=null,ee.controllerFullScreenFullN_img=null,ee.controllerFullScreenFullS_img=null,ee.zoomInN_img=null,ee.zoomInS_img=null,ee.zoomOutN_img=null,ee.zoomOutS_img=null,ee.scrollBarHandlerN_img=null,ee.scrollBarHandlerS_img=null,ee.scrollBarLeft_img=null,ee.scrollBarRight_img=null,ee.toolTipLeft_img=null,ee.toolTipPointer_img=null,ee.infoWindowCloseNormal_img=null,ee.infoWindowCloseSelected_img=null,ee.props_obj=null,ee.rootElement_el=null,ee.skinPaths_ar=null,ee.playListData_ar=null,ee.imagesPaths_ar=null,ee.largeImagesPaths_ar=null,ee.navigatorImagesPaths_ar=null,ee.images_ar=null,ee.navigatorImages_ar=null,ee.markersList_ar=null,ee.markersPosition_ar=null,ee.buttons_ar=null,ee.buttonsLabels_ar=null,ee.contextMenuLabels_ar=null,ee.backgroundColor_str=null,ee.handMovePath_str=null,ee.handGrabRotatePath_str=null,ee.controllerBackgroundMiddlePath_str=null,ee.scrollBarMiddlePath_str=null,ee.startDraggingMode_str=null,ee.controllerVerticalPosition_str=null,ee.preloaderFontColor_str=null,ee.preloaderBackgroundColor_str=null,ee.preloaderText_str=null,ee.buttonToolTipLeft_str=null,ee.buttonToolTipMiddle_str=null,ee.buttonToolTipRight_str=null,ee.buttonToolTipBottomPointer_str=null,ee.buttonToolTipTopPointer_str=null,ee.buttonToolTipFontColor_str=null,ee.link_str=null,ee.contextMenuBackgroundColor_str=null,ee.contextMenuBorderColor_str=null,ee.contextMenuSpacerColor_str=null,ee.contextMenuItemTextNormalColor_str=null,ee.contextMenuItemSelectedColor_str=null,ee.contextMenuItemSelectedColor_str=null,ee.contextMenuItemDisabledColor_str=null,ee.navigatorPosition_str=null,ee.navigatorHandlerColor_str=null,ee.navigatorBorderColor_str=null,ee.infoText_str=null,ee.infoWindowBackgroundColor_str=null,ee.infoWindowScrollBarColor_str=null,n.destroy(),n=ee=null,te.prototype=null},ee.init()};te.setPrototype=function(){te.prototype=new FWDEventDispatcher},te.prototype=null,te.PRELOADER_LOAD_DONE="onPreloaderLoadDone",te.LOAD_DONE="onLoadDone",te.LOAD_ERROR="onLoadError",te.LIGHBOX_CLOSE_BUTTON_LOADED="onLightBoxCloseButtonLoadDone",te.IMAGE_LOADED="onImageLoaded",te.FIRST_IMAGE_LOAD_COMPLETE="onFirstImageLoadComplete",te.IMAGES_LOAD_COMPLETE="onImagesLoadComplete",te.SKIN_PROGRESS="onSkinProgress",te.IMAGES_PROGRESS="onImagesPogress",te.hasTouch_bl=!1,o.FWDData=te}(window),function(r){var i=function(e,t){var n=this,o=i.prototype;t.showInfoWindow&&(n.infoWindowCloseNormal_img=t.infoWindowCloseNormal_img,n.infoWindowCloseSelected_img=t.infoWindowCloseSelected_img,n.close_do=null,n.background_sdo=null,n.mainContentHolder_do=null,n.dumyHolder_do=null,n.contentHolder_do=null,n.scrollBar_do=null,n.scrollBarTrack_sdo=null,n.scrollBarHandler_sdo=null,n.mainBackgroundColor_str=t.infoWindowBackgroundColor_str,n.scrollBarHandlerColor=t.infoWindowScrollBarColor_str,n.scrollBarTrackColor=t.infoWindowScrollBarColor_str,n.scrollBarTrackOpacity=.6,n.toolTipWindowId="none",n.backgroundOpacity=t.infoWindowBackgroundOpacity,n.mainContentHolderWidth,n.mainContentHolderHeight,n.contentHolderHeight,n.scrollBarHandlerFinalY,n.mainContentFinalX=0,n.mainContentFinalY=0,n.contentFinalX=0,n.contentFinalY=0,n.headerFinalY=0,n.contentHeight,n.maxWidth=t.infoWindowWidth,n.offestWidth=0,n.offsetHeight=0,n.stageWidth,n.stageHeight,n.scrollBarHeight=0,n.scrollBarWidth=4,n.scrollBarHandlerHeight,n.scrollBarBorderRadius=15,n.yPositionOnPress,n.lastPresedY,n.closeButtonWidth=0,n.closeButtonHeight=0,n.vy=0,n.vy2=0,n.friction=.9,n.hideWithDelayId_do,n.showOrHideWithDelayId_to,n.hideCompleteId_to,n.updateMobileScrollBarId_int,n.isShowed_bl=!0,n.isDragging_bl=!1,n.allowToScroll_bl=!0,n.isMobile_bl=FWDUtils.isMobile,n.hasPointerEvent_bl=FWDUtils.hasPointerEvent,n.init=function(){n.setOverflow("visible"),n.setupMainContainers(),n.isMobile_bl?n.setupMobileScrollbar():(n.setupPCScrollBar(),n.addMouseWheelSupport()),n.setupCloseButton(),n.hide(!1)},n.resizeAndPosition=function(){n.stageWidth==e.stageWidth&&n.stageHeight==e.stageHeight||(n.stageWidth=e.stageWidth,n.stageHeight=e.stageHeight,n.background_sdo.setWidth(n.stageWidth),n.background_sdo.setHeight(n.stageHeight),n.updateSize())},n.setupMainContainers=function(){n.background_sdo=new FWDSimpleDisplayObject("div"),n.background_sdo.setBkColor(n.mainBackgroundColor_str),n.addChild(n.background_sdo),n.mainContentHolder_do=new FWDDisplayObject("div"),n.mainContentHolder_do.setBackfaceVisibility(),n.dumyHolder_do=new FWDDisplayObject("div"),n.dumyHolder_do.setBackfaceVisibility(),n.addChild(n.dumyHolder_do),n.dumyHolder_do.addChild(n.mainContentHolder_do),n.contentHolder_do=new FWDDisplayObject("div"),n.contentHolder_do.getStyle().width="100%",n.contentHolder_do.setOverflow("visible"),n.in1_do=new FWDDisplayObject("div","relative"),n.in1_do.screen.className="fwd360-info-window",n.in1_do.getStyle().overflow="visible",n.in1_do.getStyle().boxSizing="border-box",n.in1_do.getStyle().width="100%",n.in1_do.getStyle().padding="20px",n.in2_do=new FWDDisplayObject("div","relative"),n.in2_do.screen.className="fwd360-info-window-in",n.in2_do.getStyle().boxSizing="border-box",n.in2_do.getStyle().width="100%",n.in2_do.getStyle().padding="30px",n.in1_do.addChild(n.in2_do),n.contentHolder_do.addChild(n.in1_do),n.contentHolder_do.setBackfaceVisibility(),n.mainContentHolder_do.addChild(n.contentHolder_do)},n.setupCloseButton=function(){FWDSimpleButton.setPrototype(),t.useVectorIcons?(n.close_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-close'></span>","fwd360-skin-vector-close-button-icon-normal","fwd360-skin-vector-close-button-icon-selected"),setTimeout(function(){n.closeButtonWidth=n.close_do.w,n.closeButtonHeight=n.close_do.h},351)):(n.close_do=new FWDSimpleButton(n.infoWindowCloseNormal_img,n.infoWindowCloseSelected_img),n.closeButtonWidth=n.infoWindowCloseNormal_img.width,n.closeButtonHeight=n.infoWindowCloseNormal_img.height),n.close_do.addListener(FWDSimpleButton.MOUSE_DOWN,n.closeButtonStartHandler),n.mainContentHolder_do.addChild(n.close_do)},n.closeButtonStartHandler=function(e){n.isShowed_bl&&n.hide(!0)},n.updateSize=function(){n.mainContentHolderWidth=n.stageWidth-n.offestWidth,n.mainContentHolderWidth>n.maxWidth&&(n.mainContentHolderWidth=n.maxWidth),n.mainContentHolder_do.setWidth(n.mainContentHolderWidth),n.dumyHolder_do.setWidth(n.stageWidth),n.dumyHolder_do.setHeight(n.stageHeight),n.isMobile_bl?setTimeout(function(){null!=n&&(FWDAnimation.killTweensOf(n.mainContentHolder_do),n.contentHolderHeight=n.contentHolder_do.getHeight(),n.mainContentHolderHeight=Math.min(n.stageHeight,n.contentHolderHeight),n.mainContentFinalX=Math.round((n.stageWidth-n.mainContentHolderWidth)/2),n.stageHeight>n.contentHolderHeight?(n.mainContentFinalY=Math.round((n.stageHeight-n.contentHolderHeight)/2),n.allowToScroll_bl=!1):(n.mainContentFinalY=0,n.allowToScroll_bl=!0),n.updateMobileScrollBarWithoutAnimation(),FWDAnimation.killTweensOf(n.mainContentHolder_do),n.mainContentHolder_do.setX(n.mainContentFinalX),n.mainContentHolder_do.setY(n.mainContentFinalY),n.mainContentHolder_do.setHeight(n.mainContentHolderHeight))},50):setTimeout(function(){null!=n&&(FWDAnimation.killTweensOf(n.mainContentHolder_do),n.contentHolderHeight=n.contentHolder_do.getHeight(),n.mainContentHolderHeight=n.stageHeight,n.mainContentFinalX=Math.round((n.stageWidth-n.mainContentHolderWidth)/2),n.scrollBarHeight=Math.min(n.contentHolderHeight-20-n.closeButtonHeight,n.stageHeight-20-n.closeButtonHeight),n.stageHeight>n.contentHolderHeight?(n.scrollBar_do.setOverflow("hidden"),n.mainContentHolderHeight=n.contentHolderHeight,n.scrollBarHandler_sdo.setY(0),n.mainContentFinalY=Math.round((n.stageHeight-n.contentHolderHeight)/2),n.allowToScroll_bl=!1):(n.mainContentFinalY=0,n.scrollBar_do.setOverflow("visible"),n.scrollBar_do.setY(n.closeButtonHeight-3),n.allowToScroll_bl=!0),n.stageHeight<120&&(n.mainContentFinalY=0),n.scrollBarHandlerHeight=Math.min(n.scrollBarHeight-20,n.stageHeight/n.contentHolderHeight*(n.scrollBarHeight-20)),500<n.scrollBarHandlerHeight&&(n.scrollBarHandlerHeight=500),n.scrollBar_do.setX(n.mainContentHolderWidth-n.scrollBarWidth-2),n.scrollBarTrack_sdo.setHeight(Math.max(n.scrollBarHeight,n.scrollBarHandlerHeight)),n.scrollBarHandler_sdo.setHeight(n.scrollBarHandlerHeight),FWDAnimation.killTweensOf(n.mainContentHolder_do),n.mainContentHolder_do.setX(n.mainContentFinalX),n.mainContentHolder_do.setY(n.mainContentFinalY),n.mainContentHolder_do.setHeight(n.mainContentHolderHeight),n.updatePCHandler(!1))},50),n.close_do.setX(n.mainContentHolderWidth-n.closeButtonWidth-30),n.close_do.setY(30)},n.setText=function(e){null!=n&&(n.updateSize(),n.in2_do.setInnerHTML(e),setTimeout(n.updateSize,200))},n.setupPCScrollBar=function(){n.scrollBar_do=new FWDDisplayObject("div"),n.scrollBar_do.setOverflow("visible"),n.mainContentHolder_do.addChild(n.scrollBar_do),n.scrollBarTrack_sdo=new FWDSimpleDisplayObject("div"),n.scrollBarTrack_sdo.setWidth(n.scrollBarWidth),n.scrollBarTrack_sdo.setBkColor(n.scrollBarTrackColor),n.scrollBarTrack_sdo.setAlpha(0),n.scrollBarTrack_sdo.getStyle().borderRadius=n.scrollBarBorderRadius+"px",n.scrollBar_do.addChild(n.scrollBarTrack_sdo),n.scrollBarHandler_sdo=new FWDSimpleDisplayObject("div"),n.scrollBarHandler_sdo.setButtonMode(!0),n.scrollBarHandler_sdo.setWidth(n.scrollBarWidth),n.scrollBarHandler_sdo.getStyle().borderRadius=n.scrollBarBorderRadius+"px",n.scrollBarHandler_sdo.setBkColor(n.scrollBarHandlerColor),n.scrollBarHandler_sdo.setAlpha(.5),n.scrollBarHandler_sdo.screen.addEventListener?(n.scrollBarHandler_sdo.screen.addEventListener("mouseover",n.scrollBarHandlerOnMouseOver),n.scrollBarHandler_sdo.screen.addEventListener("mouseout",n.scrollBarHandlerOnMouseOut),n.scrollBarHandler_sdo.screen.addEventListener("mousedown",n.scrollBarHandlerOnMouseDown)):n.screen.attachEvent&&(n.scrollBarHandler_sdo.screen.attachEvent("onmouseover",n.scrollBarHandlerOnMouseOver),n.scrollBarHandler_sdo.screen.attachEvent("onmouseout",n.scrollBarHandlerOnMouseOut),n.scrollBarHandler_sdo.screen.attachEvent("onmousedown",n.scrollBarHandlerOnMouseDown)),n.scrollBar_do.addChild(n.scrollBarHandler_sdo)},n.scrollBarHandlerOnMouseOver=function(){FWDAnimation.to(n.scrollBarHandler_sdo,.2,{alpha:1,w:10}),FWDAnimation.to(n.scrollBarTrack_sdo,.2,{alpha:.4,w:10}),FWDAnimation.to(n.scrollBar_do,.2,{x:n.mainContentHolderWidth-n.scrollBarWidth-6})},n.scrollBarHandlerOnMouseOut=function(){n.isDragging_bl||(FWDAnimation.to(n.scrollBarHandler_sdo,.3,{alpha:.5,w:n.scrollBarWidth}),FWDAnimation.to(n.scrollBarTrack_sdo,.3,{alpha:0,w:n.scrollBarWidth}),FWDAnimation.to(n.scrollBar_do,.3,{x:n.mainContentHolderWidth-n.scrollBarWidth-2}))},n.scrollBarHandlerOnMouseDown=function(e){var t;n.allowToScroll_bl&&(t=FWDUtils.getViewportMouseCoordinates(e),n.isDragging_bl=!0,n.yPositionOnPress=n.scrollBarHandler_sdo.getY(),n.lastPresedY=t.screenY,r.addEventListener?(r.addEventListener("mousemove",n.scrollBarHandlerMoveHandler),r.addEventListener("mouseup",n.scrollBarHandlerEndHandler)):document.attachEvent&&(document.attachEvent("onmousemove",n.scrollBarHandlerMoveHandler),document.attachEvent("onmouseup",n.scrollBarHandlerEndHandler)))},n.scrollBarHandlerMoveHandler=function(e){e.preventDefault&&e.preventDefault();var t=FWDUtils.getViewportMouseCoordinates(e);n.scrollBarHandlerFinalY=Math.round(n.yPositionOnPress+t.screenY-n.lastPresedY),n.scrollBarHandlerFinalY>=n.scrollBarHeight-n.scrollBarHandlerHeight&&(n.scrollBarHandlerFinalY=n.scrollBarHeight-n.scrollBarHandlerHeight),n.scrollBarHandlerFinalY<=0&&(n.scrollBarHandlerFinalY=0),n.scrollBarHandler_sdo.setY(n.scrollBarHandlerFinalY),n.updatePCHandler(!0)},n.scrollBarHandlerEndHandler=function(e){var t=FWDUtils.getViewportMouseCoordinates(e);n.isDragging_bl=!1,FWDUtils.hitTest(n.scrollBarHandler_sdo.screen,t.screenX,t.screenY)||n.scrollBarHandlerOnMouseOut(),r.removeEventListener?(r.removeEventListener("mousemove",n.scrollBarHandlerMoveHandler),r.removeEventListener("mouseup",n.scrollBarHandlerEndHandler)):document.detachEvent&&(document.detachEvent("onmousemove",n.scrollBarHandlerMoveHandler),document.detachEvent("onmouseup",n.scrollBarHandlerEndHandler))},n.updatePCHandler=function(e){var t,o=n.scrollBarHandlerFinalY/(n.scrollBarHeight-n.scrollBarHandlerHeight);"Infinity"==o&&(o=0),1<=o&&(o=1),n.isDragging_bl?n.contentFinalY=parseInt(o*(n.stageHeight-n.contentHolderHeight)):(n.scrollBarHandler_sdo.getY()<0?n.scrollBarHandler_sdo.setY(0):n.scrollBarHandler_sdo.getY()>n.scrollBarHeight-n.scrollBarHandlerHeight&&n.scrollBarHandler_sdo.setY(n.scrollBarHeight-n.scrollBarHandlerHeight),t=n.scrollBarHandler_sdo.getY()/(n.scrollBarHeight-n.scrollBarHandlerHeight),isNaN(t)&&(t=0),n.stageHeight>n.contentHolderHeight?n.contentFinalY=0:(n.contentFinalY=Math.round(t*(n.scrollBarHeight-n.scrollBarHandlerHeight)),n.contentFinalY=Math.round(t*(n.stageHeight-n.contentHolderHeight)))),e?FWDAnimation.to(n.contentHolder_do,.3,{y:Math.round(n.contentFinalY)}):n.contentHolder_do.setY(Math.round(n.contentFinalY))},n.addMouseWheelSupport=function(){r.addEventListener?(n.screen.addEventListener("mousewheel",n.mouseWheelHandler),n.screen.addEventListener("DOMMouseScroll",n.mouseWheelHandler)):document.attachEvent&&n.screen.attachEvent("onmousewheel",n.mouseWheelHandler)},n.mouseWheelHandler=function(e){if(n.isShowed_bl&&!(n.isDragging_bl||n.stageHeight>n.contentHolderHeight)){var t=n.stageHeight/n.contentHolderHeight,o=e.detail||e.wheelDelta;if(e.wheelDelta&&(o*=-1),FWDUtils.isOpera&&(o*=-1),0<o?n.scrollBarHandler_sdo.setY(n.scrollBarHandler_sdo.getY()+45*t):o<0&&n.scrollBarHandler_sdo.setY(n.scrollBarHandler_sdo.getY()-45*t),n.updatePCHandler(!0),!e.preventDefault)return!1;e.preventDefault()}},n.setupMobileScrollbar=function(){n.hasPointerEvent_bl?n.screen.addEventListener("MSPointerDown",n.scrollBarTouchStartHandler):n.screen.addEventListener("touchstart",n.scrollBarTouchStartHandler)},n.scrollBarTouchStartHandler=function(e){var t;n.allowToScroll_bl&&(t=FWDUtils.getViewportMouseCoordinates(e),n.isDragging_bl=!0,n.lastPresedY=t.screenY,n.hasPointerEvent_bl?(r.addEventListener("MSPointerUp",n.scrollBarTouchEndHandler),r.addEventListener("MSPointerMove",n.scrollBarTouchMoveHandler,{passive:!1})):(r.addEventListener("touchend",n.scrollBarTouchEndHandler),r.addEventListener("touchmove",n.scrollBarTouchMoveHandler,{passive:!1})))},n.scrollBarTouchMoveHandler=function(e){e.preventDefault&&e.preventDefault();var t=FWDUtils.getViewportMouseCoordinates(e),o=t.screenY-n.lastPresedY;n.contentFinalY+=o,n.contentFinalY=Math.round(n.contentFinalY),n.contentHolder_do.setY(n.contentFinalY),n.lastPresedY=t.screenY,n.vy=2*o},n.scrollBarTouchEndHandler=function(e){n.isDragging_bl=!1,n.hasPointerEvent_bl?(r.removeEventListener("MSPointerUp",n.scrollBarTouchEndHandler),r.removeEventListener("MSPointerMove",n.scrollBarTouchMoveHandler)):(r.removeEventListener("touchend",n.scrollBarTouchEndHandler),r.removeEventListener("touchmove",n.scrollBarTouchMoveHandler))},n.updateMobileScrollBar=function(e){n.isDragging_bl||(n.vy*=n.friction,n.contentFinalY+=n.vy,0<n.contentFinalY?(n.vy2=.3*(0-n.contentFinalY),n.vy*=n.friction,n.contentFinalY+=n.vy2):n.contentFinalY<n.mainContentHolderHeight-n.contentHolderHeight&&(n.vy2=.3*(n.mainContentHolderHeight-n.contentHolderHeight-n.contentFinalY),n.vy*=n.friction,n.contentFinalY+=n.vy2),n.contentHolder_do.setY(Math.round(n.contentFinalY)))},n.updateMobileScrollBarWithoutAnimation=function(){0<n.contentFinalY?n.contentFinalY=0:n.contentFinalY<n.mainContentHolderHeight-n.contentHolderHeight&&(n.contentFinalY=n.mainContentHolderHeight-n.contentHolderHeight),n.contentHolder_do.setY(Math.round(n.contentFinalY))},n.activateScrollBar=function(){n.isMobile_bl&&(n.updateMobileScrollBarId_int=setInterval(n.updateMobileScrollBar,16))},n.show=function(e){n.isShowed_bl||(n.isShowed_bl=!0,n.resizeAndPosition(),n.setText(e),n.activateScrollBar(),FWDUtils.isMobile?(FWDAnimation.to(n.background_sdo,.8,{alpha:n.backgroundOpacity,delay:.2}),n.showOrHideWithDelayId_to=setTimeout(n.showWithDelay,1800)):(FWDAnimation.to(n.background_sdo,.6,{alpha:n.backgroundOpacity}),n.showOrHideWithDelayId_to=setTimeout(n.showWithDelay,600)),n.dispatchEvent(i.SHOW_START))},n.showWithDelay=function(){n.dumyHolder_do.setX(0),n.scrollBarHandler_sdo&&n.scrollBarHandler_sdo.setVisible(!0),n.mainContentHolder_do.setY(-n.mainContentHolderHeight),FWDAnimation.to(n.mainContentHolder_do,.8,{y:n.mainContentFinalY,ease:Expo.easeInOut,onComplete:n.showComplete})},n.hide=function(e,t){(n.isShowed_bl||t)&&(FWDAnimation.killTweensOf(n.background_sdo),e?(FWDAnimation.to(n.mainContentHolder_do,.8,{y:n.stageHeight,ease:Expo.easeInOut}),n.showOrHideWithDelayId_to=setTimeout(n.hideWithDelay,800)):(n.dumyHolder_do.setX(-3e3),n.scrollBarHandler_sdo&&n.scrollBarHandler_sdo.setVisible(!1),n.background_sdo.setAlpha(0)),clearInterval(n.updateMobileScrollBarId_int),n.isShowed_bl=!1)},n.hideWithDelay=function(){n.in2_do.setInnerHTML(""),FWDAnimation.to(n.background_sdo,.6,{alpha:0}),n.hideCompleteId_to=setTimeout(n.hideWithDelayComplete,600)},n.hideWithDelayComplete=function(){n.contentFinalY=0,n.scrollBarHandler_sdo&&n.scrollBarHandler_sdo.setY(0),n.dispatchEvent(i.HIDE_COMPLETE)},n.cleanMainEvents=function(){n.screen.removeEventListener?(n.scrollBarHandler_sdo&&(n.scrollBarHandler_sdo.screen.removeEventListener("mouseover",n.scrollBarHandlerOnMouseOver),n.scrollBarHandler_sdo.screen.removeEventListener("mouseout",n.scrollBarHandlerOnMouseOut),n.scrollBarHandler_sdo.screen.removeEventListener("mousedown",n.scrollBarHandlerOnMouseDown)),r.removeEventListener("mousemove",n.scrollBarHandlerMoveHandler),r.removeEventListener("mouseup",n.scrollBarHandlerEndHandler),n.screen.removeEventListener("mousewheel",n.mouseWheelHandler),n.screen.removeEventListener("DOMMouseScroll",n.mouseWheelHandler),n.screen.addEventListener("MSPointerDown",n.scrollBarTouchStartHandler),n.screen.addEventListener("touchstart",n.scrollBarTouchStartHandler),r.removeEventListener("MSPointerUp",n.scrollBarTouchEndHandler),r.removeEventListener("MSPointerMove",n.scrollBarTouchMoveHandler),r.removeEventListener("touchend",n.scrollBarTouchEndHandler),r.removeEventListener("touchmove",n.scrollBarTouchMoveHandler)):n.screen.detachEvent&&(n.scrollBarHandler_sdo.screen.detachEvent("onmouseover",n.scrollBarHandlerOnMouseOver),n.scrollBarHandler_sdo.screen.detachEvent("onmouseout",n.scrollBarHandlerOnMouseOut),n.scrollBarHandler_sdo.screen.detachEvent("onmousedown",n.scrollBarHandlerOnMouseDown),document.detachEvent("onmousemove",n.scrollBarHandlerMoveHandler),document.detachEvent("onmouseup",n.scrollBarHandlerEndHandler),n.screen.detachEvent("onmousewheel",n.mouseWheelHandler)),clearTimeout(n.hideWithDelayId_do),clearTimeout(n.showOrHideWithDelayId_to),clearTimeout(n.hideCompleteId_to),clearInterval(n.updateMobileScrollBarId_int)},n.destroy=function(){n.cleanMainEvents(),n.scrollBar_do&&(FWDAnimation.killTweensOf(n.scrollBar_do),FWDAnimation.killTweensOf(n.scrollBarHandler_sdo),FWDAnimation.killTweensOf(n.scrollBarTrack_sdo),n.scrollBar_do.destroy(),n.scrollBarHandler_sdo.destroy(),n.scrollBarTrack_sdo.destroy()),FWDAnimation.killTweensOf(n.contentHolder_do),n.contentHolder_do.destroy(),FWDAnimation.killTweensOf(n.background_sdo),n.background_sdo.destroy(),FWDAnimation.killTweensOf(n.mainContentHolder_do),n.mainContentHolder_do.destroy(),n.close_do.destroy(),n.infoWindowCloseNormal_img=null,n.infoWindowCloseSelected_img=null,n.close_do=null,n.background_sdo=null,n.mainContentHolder_do=null,n.contentHolder_do=null,n.scrollBar_do=null,n.scrollBarTrack_sdo=null,n.scrollBarHandler_sdo=null,n.mainBackgroundColor_str=null,n.scrollBarHandlerColor=null,n.scrollBarTrackColor=null,n.scrollBarTrackOpacity=null,t=e=null,n.setInnerHTML(""),o.destroy(),o=n=null,i.prototype=null},n.init())};i.setPrototype=function(){i.prototype=new FWDDisplayObject("div")},i.HIDE_COMPLETE="hideComplete",i.SHOW_START="showStart",i.prototype=null,r.FWDDescriptionWindow=i}(window),window.FWDDisplayObject=function(e,t,o,n){var r=this;if(r.listeners={events_ar:[]},"div"!=e&&"img"!=e&&"canvas"!=e)throw Error("Type is not valid! "+e);r.type=e,r.children_ar=[],r.style,r.screen,r.transform,r.position=t||"absolute",r.overflow=o||"hidden",r.display=n||"inline-block",r.visible=!0,r.buttonMode,r.x=0,r.y=0,r.w=0,r.h=0,r.rect,r.alpha=1,r.innerHTML="",r.opacityType="",r.isHtml5_bl=!1,r.hasTransform3d_bl=FWDUtils.hasTransform3d,r.hasTransform2d_bl=FWDUtils.hasTransform2d,(FWDUtils.isIE||FWDUtils.isFirefox)&&(r.hasTransform3d_bl=!1),r.hasBeenSetSelectable_bl=!1,r.init=function(){r.setScreen()},r.getTransform=function(){for(var e,t=["transform","msTransform","WebkitTransform","MozTransform","OTransform"];e=t.shift();)if(void 0!==r.screen.style[e])return e;return!1},r.getOpacityType=function(){var e=void 0!==r.screen.style.opacity?"opacity":"filter";return e},r.setScreen=function(e){"img"==r.type&&e?r.screen=e:r.screen=document.createElement(r.type),r.setMainProperties()},r.setMainProperties=function(){r.transform=r.getTransform(),r.setPosition(r.position),r.setDisplay(r.display),r.setOverflow(r.overflow),r.opacityType=r.getOpacityType(),"opacity"==r.opacityType&&(r.isHtml5_bl=!0),"filter"==r.opacityType&&(r.screen.style.filter="inherit"),r.screen.style.left="0px",r.screen.style.top="0px",r.screen.style.margin="0px",r.screen.style.padding="0px",r.screen.style.maxWidth="none",r.screen.style.maxHeight="none",r.screen.style.lineHeight="1",r.screen.style.backfaceVisibility="hidden",r.screen.style.webkitBackfaceVisibility="hidden",r.screen.style.MozBackfaceVisibility="hidden","img"==e&&(r.setWidth(r.screen.width),r.setHeight(r.screen.height))},r.setBackfaceVisibility=function(){r.screen.style.backfaceVisibility="visible",r.screen.style.webkitBackfaceVisibility="visible",r.screen.style.MozBackfaceVisibility="visible"},r.setSelectable=function(e){e||(r.screen.style.userSelect="none",r.screen.style.MozUserSelect="none",r.screen.style.webkitUserSelect="none",r.screen.style.khtmlUserSelect="none",r.screen.style.oUserSelect="none",r.screen.style.msUserSelect="none",r.screen.msUserSelect="none",r.screen.ondragstart=function(e){return!1},r.screen.onselectstart=function(){return!1},r.screen.ontouchstart=function(){return!1},r.screen.style.webkitTouchCallout="none",r.hasBeenSetSelectable_bl=!0)},r.getScreen=function(){return r.screen},r.setVisible=function(e){r.visible=e,1==r.visible?r.screen.style.visibility="visible":r.screen.style.visibility="hidden"},r.getVisible=function(){return r.visible},r.setResizableSizeAfterParent=function(){r.screen.style.width="100%",r.screen.style.height="100%"},r.getStyle=function(){return r.screen.style},r.setOverflow=function(e){r.overflow=e,r.screen.style.overflow=r.overflow},r.setPosition=function(e){r.position=e,r.screen.style.position=r.position},r.setDisplay=function(e){r.display=e,r.screen.style.display=r.display},r.setButtonMode=function(e){r.buttonMode=e,1==r.buttonMode?r.screen.style.cursor="pointer":r.screen.style.cursor="default"},r.setBkColor=function(e){r.screen.style.backgroundColor=e},r.setInnerHTML=function(e){r.innerHTML=e,r.screen.innerHTML=r.innerHTML},r.getInnerHTML=function(){return r.innerHTML},r.getRect=function(){return r.screen.getBoundingClientRect()},r.setAlpha=function(e){r.alpha=e,"opacity"==r.opacityType?r.screen.style.opacity=r.alpha:"filter"==r.opacityType&&(r.screen.style.filter="alpha(opacity="+100*r.alpha+")",r.screen.style.filter="progid:DXImageTransform.Microsoft.Alpha(Opacity="+Math.round(100*r.alpha)+")")},r.getAlpha=function(){return r.alpha},r.getRect=function(){return r.screen.getBoundingClientRect()},r.getGlobalX=function(){return r.getRect().left},r.getGlobalY=function(){return r.getRect().top},r.setX=function(e){r.x=e,r.hasTransform3d_bl?r.screen.style[r.transform]="translate3d("+r.x+"px,"+r.y+"px,0)":r.hasTransform2d_bl?r.screen.style[r.transform]="translate("+r.x+"px,"+r.y+"px)":r.screen.style.left=r.x+"px"},r.getX=function(){return r.x},r.setY=function(e){r.y=e,r.hasTransform3d_bl?r.screen.style[r.transform]="translate3d("+r.x+"px,"+r.y+"px,0)":r.hasTransform2d_bl?r.screen.style[r.transform]="translate("+r.x+"px,"+r.y+"px)":r.screen.style.top=r.y+"px"},r.getY=function(){return r.y},r.setWidth=function(e){r.w=e,"img"==r.type&&(r.screen.width=r.w),r.screen.style.width=r.w+"px"},r.getWidth=function(){return"div"==r.type?0!=r.screen.offsetWidth?r.screen.offsetWidth:r.w:"img"==r.type?0!=r.screen.offsetWidth?r.screen.offsetWidth:0!=r.screen.width?r.screen.width:r._w:"canvas"==r.type?0!=r.screen.offsetWidth?r.screen.offsetWidth:r.w:void 0},r.setHeight=function(e){r.h=e,"img"==r.type&&(r.screen.height=r.h),r.screen.style.height=r.h+"px"},r.getHeight=function(){return"div"==r.type?0!=r.screen.offsetHeight?r.screen.offsetHeight:r.h:"img"==r.type?0!=r.screen.offsetHeight?r.screen.offsetHeight:0!=r.screen.height?r.screen.height:r.h:"canvas"==r.type?0!=r.screen.offsetHeight?r.screen.offsetHeight:r.h:void 0},r.addChild=function(e){r.contains(e)&&r.children_ar.splice(FWDUtils.indexOfArray(r.children_ar,e),1),r.children_ar.push(e),r.screen.appendChild(e.screen)},r.removeChild=function(e){if(!r.contains(e))throw Error("##removeChild()## Child dose't exist, it can't be removed!");r.children_ar.splice(FWDUtils.indexOfArray(r.children_ar,e),1),r.screen.removeChild(e.screen)},r.contains=function(e){return-1!=FWDUtils.indexOfArray(r.children_ar,e)},r.addChildAt=function(e,t){if(0==r.getNumChildren())r.children_ar.push(e),r.screen.appendChild(e.screen);else if(1==t)r.screen.insertBefore(e.screen,r.children_ar[0].screen),r.screen.insertBefore(r.children_ar[0].screen,e.screen),r.contains(e)?r.children_ar.splice(FWDUtils.indexOfArray(r.children_ar,e),1,e):r.children_ar.splice(FWDUtils.indexOfArray(r.children_ar,e),0,e);else{if(t<0||t>r.getNumChildren()-1)throw Error("##getChildAt()## Index out of bounds!");r.screen.insertBefore(e.screen,r.children_ar[t].screen),r.contains(e)?r.children_ar.splice(FWDUtils.indexOfArray(r.children_ar,e),1,e):r.children_ar.splice(FWDUtils.indexOfArray(r.children_ar,e),0,e)}},r.getChildAt=function(e){if(e<0||e>r.getNumChildren()-1)throw Error("##getChildAt()## Index out of bounds!");if(0==r.getNumChildren())throw Errror("##getChildAt## Child dose not exist!");return r.children_ar[e]},r.removeChildAtZero=function(){r.screen.removeChild(r.children_ar[0].screen),r.children_ar.shift()},r.getNumChildren=function(){return r.children_ar.length},r.addListener=function(e,t){if(null==e)throw Error("type is required.");if("object"==typeof e)throw Error("type must be of type String.");if("function"!=typeof t)throw Error("listener must be of type Function.");var o={};o.type=e,o.listener=t,(o.target=this).listeners.events_ar.push(o)},r.dispatchEvent=function(e,t){if(null!=this.listeners){if(null==e)throw Error("type is required.");if("object"==typeof e)throw Error("type must be of type String.");for(var o=0,n=this.listeners.events_ar.length;o<n;o++)if(this.listeners.events_ar[o].target===this&&this.listeners.events_ar[o].type===e){if(t)for(var r in t)this.listeners.events_ar[o][r]=t[r];this.listeners.events_ar[o].listener.call(this,this.listeners.events_ar[o])}}},r.removeListener=function(e,t){if(null==e)throw Error("type is required.");if("object"==typeof e)throw Error("type must be of type String.");if("function"!=typeof t)throw Error("listener must be of type Function."+e);for(var o=0,n=this.listeners.events_ar.length;o<n;o++)if(this.listeners.events_ar[o].target===this&&this.listeners.events_ar[o].type===e&&this.listeners.events_ar[o].listener===t){this.listeners.events_ar.splice(o,1);break}},r.disposeImage=function(){"img"==r.type&&(r.screen.src=null)},r.destroy=function(){r.hasBeenSetSelectable_bl&&(r.screen.ondragstart=null,r.screen.onselectstart=null,r.screen.ontouchstart=null),r.listeners=[],r.listeners=null,r.children_ar=[],r.children_ar=null,r.style=null,r.screen=null,r.transform=null,r.position=null,r.overflow=null,r.display=null,r.visible=null,r.buttonMode=null,r.x=null,r.y=null,r.w=null,r.h=null,r.rect=null,r.alpha=null,r.innerHTML=null,r.opacityType=null,r.isHtml5_bl=null,r.hasTransform3d_bl=null,r.hasTransform2d_bl=null,r=null},r.init()},window,window.FWDEventDispatcher=function(){this.listeners={events_ar:[]},this.addListener=function(e,t){if(null==e)throw Error("type is required.");if("object"==typeof e)throw Error("type must be of type String.");if("function"!=typeof t)throw Error("listener must be of type Function.");var o={};o.type=e,o.listener=t,(o.target=this).listeners.events_ar.push(o)},this.dispatchEvent=function(e,t){if(null!=this.listeners){if(null==e)throw Error("type is required.");if("object"==typeof e)throw Error("type must be of type String.");for(var o=0,n=this.listeners.events_ar.length;o<n;o++)if(this.listeners.events_ar[o].target===this&&this.listeners.events_ar[o].type===e){if(t)for(var r in t)this.listeners.events_ar[o][r]=t[r];this.listeners.events_ar[o].listener.call(this,this.listeners.events_ar[o])}}},this.removeListener=function(e,t){if(null==e)throw Error("type is required.");if("object"==typeof e)throw Error("type must be of type String.");if("function"!=typeof t)throw Error("listener must be of type Function."+e);for(var o=0,n=this.listeners.events_ar.length;o<n;o++)if(this.listeners.events_ar[o].target===this&&this.listeners.events_ar[o].type===e&&this.listeners.events_ar[o].listener===t){this.listeners.events_ar.splice(o,1);break}},this.destroy=function(){this.listeners=null,this.addListener=null,this.dispatchEvent=null,this.removeListener=null}},function(e){var i=function(e,t,o){var n=this,r=i.prototype;n.screenToTest=t,n.hideDelay=o,n.globalX=0,n.globalY=0,n.currentTime,n.checkIntervalId_int,n.dispatchOnceShow_bl=!0,n.dispatchOnceHide_bl=!1,n.isMobile_bl=e,n.isStopped_bl=!0,n.hasPointerEvent_bl=FWDUtils.hasPointerEvent,n.init=function(){},n.start=function(){n.currentTime=(new Date).getTime(),n.checkIntervalId_int=setInterval(n.update,100),n.addMouseOrTouchCheck(),n.isStopped_bl=!1},n.stop=function(){clearInterval(n.checkIntervalId_int),n.isStopped_bl=!0,n.removeMouseOrTouchCheck()},n.addMouseOrTouchCheck=function(){n.isMobile_bl?n.hasPointerEvent_bl?(n.screenToTest.screen.addEventListener("MSPointerDown",n.onMouseOrTouchUpdate),n.screenToTest.screen.addEventListener("MSPointerMove",n.onMouseOrTouchUpdate)):n.screenToTest.screen.addEventListener("touchstart",n.onMouseOrTouchUpdate):n.screenToTest.screen.addEventListener&&n.screenToTest.screen.addEventListener("mousemove",n.onMouseOrTouchUpdate)},n.removeMouseOrTouchCheck=function(){n.isMobile_bl?n.hasPointerEvent_bl?(n.screenToTest.screen.removeEventListener("MSPointerDown",n.onMouseOrTouchUpdate),n.screenToTest.screen.removeEventListener("MSPointerMove",n.onMouseOrTouchUpdate)):n.screenToTest.screen.removeEventListener("touchstart",n.onMouseOrTouchUpdate):n.screenToTest.screen.removeEventListener&&n.screenToTest.screen.removeEventListener("mousemove",n.onMouseOrTouchUpdate)},n.onMouseOrTouchUpdate=function(e){var t=FWDUtils.getViewportMouseCoordinates(e);n.globalX==t.screenX&&n.globalY==t.screenY||(n.currentTime=(new Date).getTime(),n.globalX=t.screenX,n.globalY=t.screenY)},n.update=function(e){(new Date).getTime()>n.currentTime+n.hideDelay?n.dispatchOnceShow_bl&&(n.dispatchEvent(i.HIDE),n.dispatchOnceHide_bl=!0,n.dispatchOnceShow_bl=!1):n.dispatchOnceHide_bl&&(n.dispatchEvent(i.SHOW),n.dispatchOnceHide_bl=!1,n.dispatchOnceShow_bl=!0)},n.reset=function(){n.currentTime=(new Date).getTime(),n.dispatchEvent(i.SHOW)},n.destroy=function(){n.removeMouseOrTouchCheck(),clearInterval(n.checkIntervalId_int),n.screenToTest=null,t=null,n.init=null,n.start=null,n.stop=null,n.addMouseOrTouchCheck=null,n.removeMouseOrTouchCheck=null,n.onMouseOrTouchUpdate=null,n.update=null,n.reset=null,n.destroy=null,r.destroy(),n=r=null,i.prototype=null},n.init()};i.HIDE="hide",i.SHOW="show",i.setPrototype=function(){i.prototype=new FWDEventDispatcher},e.FWDHider=i}(window),function(){var i=function(r,_){var u=this,n=i.prototype;u.toolTipLeft_img=r.toolTipLeft_img,u.toolTipPointer_img=r.toolTipPointer_img,u.playListData_ar=r.playListData_ar,u.images_ar=r.images_ar,u.smallDos_ar=[],u.markers_ar=[],u.markersList_ar=r.markersList_ar,u.markersPosition_ar=r.markersPosition_ar,u.largeImagesPaths_ar=r.largeImagesPaths_ar,u.curMarker_do,u.markersToolTip_do,u.markersToolTipWindow_do,u.hider,u.prevSmall_sdo,u.largeImage_img,u.dumy_sdo,u.mainImagesHolder_do,u.smallImage_sdo,u.largeImage_sdo,u.left_sdo,u.top_sdo,u.right_sdo,u.bottom_sdo,u.markersPositionInfo_sdo,u.handMovePath_str=r.handMovePath_str,u.backgroundColor_str=_.backgroundColor_str,u.draggingMode_str=r.startDraggingMode_str,u.controllerVerticalPosition_str=r.controllerVerticalPosition_str,u.buttonToolTipLeft_str=r.buttonToolTipLeft_str,u.buttonToolTipMiddle_str=r.buttonToolTipMiddle_str,u.buttonToolTipRight_str=r.buttonToolTipRight_str,u.buttonToolTipFontColor_str=r.buttonToolTipFontColor_str,u.buttonToolTipBottomPointer_str=r.buttonToolTipBottomPointer_str,u.buttonToolTipTopPointer_str=r.buttonToolTipTopPointer_str,u.lastMarkerId_str,u.swipeDirection_str,u.curId=r.startAtImage,u.prevId=1e3,u.curLargeImageId=1e3,u.totalImages=r.totalImages,u.stageWidth,u.stageHeight,u.smallestPossibleScale,u.currentScale=1,u.prevScale=0,u.percentZoomed=.1,u.imageWidth=r.imageWidth,u.imageHeight=r.imageHeight,u.zoomFactor=r.zoomFactor,u.zoomSpeed=r.zoomSpeed,u.controllerOffsetY=r.controllerOffsetY,u.finalX=0,u.finalY=0,u.xPositionOnPress,u.yPositionOnPress,u.lastPresedX=0,u.lastPresedY=0,u.lastPresedX2=0,u.lastPresedY2=0,u.mouseX=0,u.mouseY=0,u.controllerHeight=r.controllerHeight,u.rotationSpeed=Math.abs(-1.1+r.dragRotationSpeed),u.startScaleForMobileZoom,u.totalMarkers,u.globalX,u.globalY,u.markerToolTipOffsetY=r.markerToolTipOffsetY,u.swipeDragDistX=0,u.currentDistX=0,u.spinDist=10,u.dragAndSpinSpeed=r.dragAndSpinSpeed,u.inverseRotation=r.inverseRotation,u.tweenDone_to,u.removeSmallSDOId_to,u.setAlphaWithDelayId_to,u.hideToolTipWindowId_to,u.addHideToolTipWindowTestWithDelayId_to,u.showToolTipWindoId_to,u.showMarkerToolTipId_to,u.dragAndSpinId_int,u.disableMouseWheelZoom_bl=r.disableMouseWheelZoom_bl,u.allImagesAreLoaded_bl=!1,u.allowToDragHoriz_bl=!1,u.allowToDragVert_bl=!1,u.isTweening_bl=!1,u.isDragging_bl=!1,u.isRotatingFirstTime_bl=!0,u.addCorrectionForWebKit_bl=r.addCorrectionForWebKit_bl,u.disablePanOrRotate_bl=!1,u.useEntireScreenFor3dObject_bl=r.useEntireScreenFor3dObject_bl,u.stopRotationHorizontalAtEnds_bl=r.stopRotationHorizontalAtEnds_bl,u.stopRotationVerticalAtEnds_bl=r.stopRotationVerticalAtEnds_bl,u.isMobile_bl=r.isMobile_bl,u.isLargeImageLoaded_bl=!1,u.showNavigator_bl=r.showNavigator_bl,u.showMarkers_bl=r.showMarkers_bl,u.isNavigatorShowed_bl=!1,u.addImageFirstTimeOnActivate_bl=!0,u.showMarkersInfo_bl=r.showMarkersInfo_bl,u.addDragAndSpinSupport_bl=r.addDragAndSpinSupport_bl,u.isMobile_bl=r.isMobile_bl,u.firstInteractionOccured_bl=!1,u.dragVertical_bl=r.dragVertical_bl,u.isSwiping_bl=!1,u.showLargeImageVersionOnZoom_bl=r.showLargeImageVersionOnZoom_bl,u.hasPointerEvent_bl=FWDUtils.hasPointerEvent,u.init=function(){u.screen.calssName="fwd360-image-manager",u.setupMainContiners(),u.setupDumy(),u.initImages(),u.showMarkers_bl&&(u.setupMarkers(),u.isMobile_bl&&!u.hasPointerEvent_bl||u.setupMarkersToolTip(),u.setupMarkersToolTipWindow()),r.useVectorIcons?u.controllerHeight=_.controllerHeight:u.controllerHeight=r.controllerHeight,u.setX(r.imageOffsetX),u.setY(r.imageOffsetY),u.controllerVerticalPosition_str!=FWDController.POSITION_TOP||u.useEntireScreenFor3dObject_bl||u.setY(u.controllerHeight+r.imageOffsetY)},u.setupHider=function(e){u.hider=e},u.setupMainContiners=function(){u.setOverflow("visible"),u.setBkColor(u.backgroundColor_str),u.largeImage_img=new Image,u.mainImagesHolder_do=new FWDDisplayObject("div","absolute","visible"),u.smallImage_sdo=new FWDSimpleDisplayObject("img"),u.largeImage_sdo=new FWDSimpleDisplayObject("img"),u.addChild(u.mainImagesHolder_do),u.addCorrectionForWebKit_bl&&u.setupCorrectionLinesForChrome()},u.setupCorrectionLinesForChrome=function(){u.left_sdo=new FWDSimpleDisplayObject("div"),u.top_sdo=new FWDSimpleDisplayObject("div"),u.right_sdo=new FWDSimpleDisplayObject("div"),u.bottom_sdo=new FWDSimpleDisplayObject("div"),u.left_sdo.setBkColor("#00FF00"),u.top_sdo.setBkColor("#00FF00"),u.right_sdo.setBkColor("#00FF00"),u.bottom_sdo.setBkColor("#00FF00"),u.left_sdo.setWidth(1),u.top_sdo.setHeight(1),u.right_sdo.setWidth(2),u.bottom_sdo.setHeight(2),u.addChild(u.left_sdo),u.addChild(u.top_sdo),u.addChild(u.right_sdo),u.addChild(u.bottom_sdo)},u.resizeAndPositionCorrectionLines=function(e){FWDAnimation.killTweensOf(u.left_sdo),FWDAnimation.killTweensOf(u.top_sdo),FWDAnimation.killTweensOf(u.right_sdo),FWDAnimation.killTweensOf(u.bottom_sdo),e?(FWDAnimation.to(u.left_sdo,.2,{x:u.finalX,y:u.finalY,h:u.finalHeight}),FWDAnimation.to(u.top_sdo,.2,{x:u.finalX,y:u.finalY,w:u.finalWidth}),FWDAnimation.to(u.right_sdo,.2,{x:u.finalX+u.finalWidth-2,y:u.finalY,h:u.finalHeight}),FWDAnimation.to(u.bottom_sdo,.2,{x:u.finalX,y:u.finalY+u.finalHeight-2,w:u.finalWidth})):(u.left_sdo.setX(u.finalX-1),u.left_sdo.setY(u.finalY),u.left_sdo.setHeight(u.finalHeight),u.top_sdo.setX(u.finalX),u.top_sdo.setY(u.finalY-1),u.top_sdo.setWidth(u.finalWidth),u.right_sdo.setX(u.finalX+u.finalWidth-2),u.right_sdo.setY(u.finalY),u.right_sdo.setHeight(u.finalHeight),u.bottom_sdo.setX(u.finalX),u.bottom_sdo.setY(u.finalY+u.finalHeight-2),u.bottom_sdo.setWidth(u.finalWidth))},u.resizeAndPosition=function(e){u.stageWidth=_.stageWidth,u.useEntireScreenFor3dObject_bl?u.stageHeight=_.stageHeight:u.stageHeight=_.stageHeight-u.controllerHeight-u.controllerOffsetY,u.setWidth(u.stageWidth),u.setHeight(u.stageHeight),u.allImagesAreLoaded_bl?(u.resizeAndPositionAfterAllLoad(),e&&u.centerImage(),u.showNavigator_bl&&(u.hideOrShowNavigator(),u.updateNavigator(!1)),u.positionMarkers()):u.resiezeAndPositionIfNotAllImagesAreLoaded()},u.resiezeAndPositionIfNotAllImagesAreLoaded=function(){var e=u.stageWidth/u.imageWidth,t=u.stageHeight/u.imageHeight,o=e<t?e:t;1<o&&(o=1),u.currentScale=u.prevScale=u.smallestPossibleScale=o,u.finalWidth=Math.round(u.currentScale*u.imageWidth),u.finalHeight=Math.round(u.currentScale*u.imageHeight),u.finalX=Math.round((u.stageWidth-u.finalWidth)/2),u.finalY=Math.round((u.stageHeight-u.finalHeight)/2),u.resizeAndPositionSmallImage(!1)},u.initImages=function(){u.playListData_ar=r.playListData_ar,u.totalSets=u.playListData_ar.length,u.totalImages=u.playListData_ar[0].length,u.curSet=r.startAtSet,u.image_ar=[];for(var e=0;e<u.totalSets;e++)u.image_ar[e]=[];1<u.playListData_ar&&(u.dragVertical_bl=!1)},u.showLoadedImage=function(e){u.smallImage_sdo=new FWDSimpleDisplayObject("img"),u.smallImage_sdo.setScreen(u.images_ar[e]),FWDUtils.isAndroid&&u.smallImage_sdo.setBackfaceVisibility(),u.smallDos_ar[e]=u.smallImage_sdo,u.mainImagesHolder_do.addChild(u.smallImage_sdo),u.removeSmallSDOId_to=setTimeout(function(){null!=u&&0<e&&u.smallDos_ar[e-1].setVisible(!1)},40),u.resizeAndPosition(),u.resiezeAndPositionIfNotAllImagesAreLoaded()},u.activate=function(){u.allImagesAreLoaded_bl=!0,u.addSmallImage(),u.addLargeImage(),u.resizeAndPositionAfterAllLoad(),u.addPannSupport(),1<u.zoomFactor&&u.addPinchAndZoom(),u.addRotationSupport(),u.disableMouseWheelZoom_bl||u.addMouseWheelSupport();var e=500;r.useVectorIcons&&(e=850),setTimeout(function(){u.showOrHideMarkers(),u.positionMarkers(!1)},e),u.showMarkersInfo_bl&&u.setupMarkersInfo()},u.setupDumy=function(){u.dumy_sdo=new FWDSimpleDisplayObject("div"),FWDUtils.isIE&&(u.dumy_sdo.getStyle().background="url('dumy')"),u.showMarkersInfo_bl||(u.dumy_sdo.getStyle().cursor="url("+u.handMovePath_str+"), default"),u.addChild(u.dumy_sdo)},u.addSmallImage=function(){u.curId==u.prevId&&u.curSet==u.prevSet||(u.prevId=u.curId,u.prevSet=u.curSet,u.curLargeImageId=1e3,u.addImageFirstTimeOnActivate_bl&&(u.removeSmallSDOId_to=setTimeout(function(){null!=u&&(u.smallImage_sdo.setVisible(!1),u.smallImage_sdo=u.smallDos_ar[u.curSet*u.totalImages+u.curId],u.smallImage_sdo.setVisible(!0),u.resizeAndPositionAfterAllLoad())},40)),clearTimeout(u.setAlphaWithDelayId_to),u.largeImage_img&&(u.largeImage_img.onload=null,u.largeImage_img.onerror=null,FWDUtils.isIEAndLessThen9||(u.largeImage_img.src="")),u.mainImagesHolder_do.contains(u.largeImage_sdo)&&u.mainImagesHolder_do.removeChild(u.largeImage_sdo),u.addImageFirstTimeOnActivate_bl||(u.smallImage_sdo.setVisible(!1),u.smallImage_sdo=u.smallDos_ar[u.curSet*u.totalImages+u.curId],u.smallImage_sdo.setVisible(!0)),u.addImageFirstTimeOnActivate_bl=!1)},u.removeWithDelay=function(){for(;1<u.mainImagesHolder_do.getNumChildren();)u.mainImagesHolder_do.removeChildAtZero(0)},u.addLargeImage=function(){u.playListData_ar[u.curSet][u.curId].largeImagePath&&u.showLargeImageVersionOnZoom_bl&&(u.currentScale<=1.2?u.largeImage_sdo.setVisible(!1):(u.largeImage_sdo.setVisible(!0),u.curLargeImageId!=u.curId&&(u.isLargeImageLoaded_bl=!1,u.curLargeImageId=u.curId,clearTimeout(u.setAlphaWithDelayId_to),u.mainImagesHolder_do.contains(u.largeImage_sdo)&&u.mainImagesHolder_do.removeChild(u.largeImage_sdo),u.largeImage_img&&(u.largeImage_img.onload=null,u.largeImage_img.src=""),u.largeImage_img.src=u.playListData_ar[u.curSet][u.curId].largeImagePath,u.largeImage_img.onload=u.largeImageLoadHandler,u.largeImage_sdo.setScreen(u.largeImage_img),u.largeImage_sdo.setAlpha(0),u.mainImagesHolder_do.addChild(u.largeImage_sdo))))},u.largeImageErrorHandler=function(){var e="The large image labeled <font color='#FFFFFF'>"+u.largeImagesPaths_ar[u.curId]+"</font> can't be loaded, make sure that the image exists and the path is correct!";u.dispatchEvent(i.LARGE_IMAGE_LOAD_ERROR,{error:e})},u.largeImageLoadHandler=function(){u.isLargeImageLoaded_bl=!0,u.setAlphaWithDelayId_to=setTimeout(function(){u.largeImage_sdo.setAlpha(1)},100),u.largeImage_sdo.setWidth(u.finalWidth),u.largeImage_sdo.setHeight(u.finalHeight)},u.gotoImage=function(){u.stopRotationHorizontalAtEnds_bl?u.curId<0?u.curId=0:u.curId>u.totalImages-1&&(u.curId=u.totalImages-1):u.curId>u.totalImages-1?u.curId=0:u.curId<0&&(u.curId=u.totalImages-1),u.stopRotationVerticalAtEnds_bl?u.curSet<0?u.curSet=0:u.curSet>u.playListData_ar.length-1&&(u.curSet=u.playListData_ar.length-1):u.curSet>u.playListData_ar.length-1?u.curSet=0:u.curSet<0&&(u.curSet=u.playListData_ar.length-1),u.addSmallImage(),u.resizeAndPositionAfterAllLoad(!0),u.isSwiping_bl||(u.showOrHideMarkers(),u.positionMarkers()),u.dispatchEvent(i.ROTATE_UPDATE,{image:u.images_ar[u.curSet*u.totalImages+u.curId]})},u.resizeAndPositionAfterAllLoad=function(e){var t=u.stageWidth/u.imageWidth,o=u.stageHeight/u.imageHeight,n=t<=o?t:o;1<=(u.smallestPossibleScale=n)&&(u.smallestPossibleScale=1),n>=u.zoomFactor&&(n=u.zoomFactor),e||(u.prevStageWidth==u.stageWidth&&u.prevStageHeight==u.stageHeight||(_.isFullScreen_bl?u.currentScale=n:u.currentScale=Math.min(n,1),u.prevScale=u.currentScale),u.prevStageWidth=u.stageWidth,u.prevStageHeight=u.stageHeight),u.finalWidth=Math.round(u.currentScale*u.imageWidth),u.finalHeight=Math.round(u.currentScale*u.imageHeight),u.setWidth(u.stageWidth),u.dumy_sdo.setWidth(u.stageWidth),u.useEntireScreenFor3dObject_bl?(u.setHeight(u.stageHeight),u.dumy_sdo.setHeight(u.stageHeight)):(u.setHeight(u.stageHeight+u.controllerHeight),u.dumy_sdo.setHeight(u.stageHeight+u.controllerHeight+u.controllerOffsetY)),u.checkXAndYBouds(),u.addLargeImage(),u.resizeAndPositionSmallImage(!1),u.resizeAndPositionLargeImage(!1),u.addCorrectionForWebKit_bl&&u.resizeAndPositionCorrectionLines(!1),u.dispatchScrollBarUpdate(!1),u.positionMarkers(),u.setX(Math.round(r.imageOffsetX*_.scale)),u.setY(Math.round(r.imageOffsetY*_.scale)),u.controllerVerticalPosition_str!=FWDController.POSITION_TOP||u.useEntireScreenFor3dObject_bl||u.setY(u.controllerHeight+Math.round(r.imageOffsetY*_.scale))},u.resizeAndPositionSmallImage=function(e){u.isTweening_bl=!0,FWDAnimation.killTweensOf(u.mainImagesHolder_do),FWDAnimation.killTweensOf(u.smallImage_sdo),clearTimeout(u.tweenDone_to),e?(FWDAnimation.to(u.mainImagesHolder_do,.2,{x:u.finalX,y:u.finalY}),FWDAnimation.to(u.smallImage_sdo,.2,{w:u.finalWidth,h:u.finalHeight}),u.tweenDone_to=setTimeout(u.tweenDoneHandler,200)):(u.mainImagesHolder_do.setX(u.finalX),u.mainImagesHolder_do.setY(u.finalY),u.smallImage_sdo.setWidth(u.finalWidth),u.smallImage_sdo.setHeight(u.finalHeight),u.isTweening_bl=!1,u.dispatchEvent(i.IMAGE_ZOOM_COMPLETE))},u.resizeAndPositionLargeImage=function(e){u.showLargeImageVersionOnZoom_bl&&u.isLargeImageLoaded_bl&&(FWDAnimation.killTweensOf(u.largeImage_sdo),e?FWDAnimation.to(u.largeImage_sdo,.2,{w:u.finalWidth,h:u.finalHeight}):(u.largeImage_sdo.setWidth(u.finalWidth),u.largeImage_sdo.setHeight(u.finalHeight)))},u.tweenDoneHandler=function(){u.isTweening_bl=!1,u.addLargeImage(),u.resizeAndPositionLargeImage(),u.dispatchEvent(i.IMAGE_ZOOM_COMPLETE)},u.checkXAndYBouds=function(){u.finalWidth<=u.stageWidth?u.finalX=Math.round((u.stageWidth-u.finalWidth)/2):u.finalWidth>u.stageWidth+1?(u.allowToDragHoriz_bl=!0,0<u.finalX?u.finalX=0:u.finalX<=u.stageWidth-u.finalWidth+1&&(u.finalX=u.stageWidth-u.finalWidth+1)):u.allowToDragHoriz_bl=!1,u.finalHeight<=u.stageHeight?u.finalY=Math.round((u.stageHeight-u.finalHeight)/2):u.finalHeight>u.stageHeight+1?(u.allowToDragVert_bl=!0,0<u.finalY?u.finalY=0:u.finalY<=u.stageHeight-u.finalHeight&&(u.finalY=u.stageHeight-u.finalHeight)):u.allowToDragVert_bl=!1},u.zoomImage=function(e){e&&(u.finalWidth=Math.round(u.currentScale*u.imageWidth),u.finalHeight=Math.round(u.currentScale*u.imageHeight),u.finalX-=Math.round((u.mouseX-u.finalX)*(u.currentScale-u.prevScale)/u.prevScale),u.finalY-=Math.round((u.mouseY-u.finalY)*(u.currentScale-u.prevScale)/u.prevScale)),u.dispatchScrollBarUpdate(!0),u.checkXAndYBouds(),u.resizeAndPositionSmallImage(!0),u.resizeAndPositionLargeImage(!0),u.addCorrectionForWebKit_bl&&u.resizeAndPositionCorrectionLines(!0),u.showNavigator_bl&&(u.hideOrShowNavigator(),u.updateNavigator(!0)),u.positionMarkers(!0),u.prevScale=u.currentScale,u.dispatchEvent(FWDViewer.ZOOM,{scale:u.currentScale})},u.addPinchAndZoom=function(){u.hasPointerEvent_bl?u.screen.addEventListener("MSPointerDown",u.onPinchTouchStart):u.screen.addEventListener("touchstart",u.onPinchTouchStart,{passive:!1})},u.removeZoomDragAndSwipeForMobile=function(){u.hasPointerEvent_bl?(u.screen.removeEventListener("MSPointerDown",u.onPinchTouchStart),window.removeEventListener("MSPointerUp",u.windowOnTouchEnd),window.removeEventListener("MSPointerMove",u.windowOnTouchMove)):(u.screen.removeEventListener("touchstart",u.onPinchTouchStart),window.removeEventListener("touchend",u.windowOnTouchEnd),window.removeEventListener("touchmove",u.windowOnTouchMove,{passive:!1}))},u.onPinchTouchStart=function(e){if(e.touches){if(u.vx=0,u.vy=0,u.lastMouseX=u.firstTouchMouseX=e.touches[0].pageX-_.main_do.getGlobalX()-_.scrollOffsets.x,u.lastMouseY=u.firstTouchMouseY=e.touches[0].pageY-_.main_do.getGlobalY()-_.scrollOffsets.y,e.touches&&2==e.touches.length)e.preventDefault&&e.preventDefault(),u.disableOnDragOrSwipe_bl=!0,u.lastMouseX2=e.touches[1].pageX-_.main_do.getGlobalX()-_.scrollOffsets.x,u.lastMouseY2=e.touches[1].pageY-_.main_do.getGlobalY()-_.scrollOffsets.y;else if(e.touches&&2<e.touches.length)return;u.hasPointerEvent_bl?(window.addEventListener("MSPointerUp",u.windowOnTouchEnd),window.addEventListener("MSPointerMove",u.windowOnTouchMove)):(window.addEventListener("touchend",u.windowOnTouchEnd),window.addEventListener("touchmove",u.windowOnTouchMove))}},u.finishPinching_bl=!0,u.windowOnTouchMove=function(e){var t,o,n,r,i,s,l,a,d=e.touches?(t=e.touches[0].pageX-_.main_do.getGlobalX()-_.scrollOffsets.x,e.touches[0].pageY-_.main_do.getGlobalY()-_.scrollOffsets.y):(t=e.pageX-_.main_do.getGlobalX()-_.scrollOffsets.x,e.pageY-_.main_do.getGlobalY()-_.scrollOffsets.y);(u.firstTouchMouseX<t-1||u.firstTouchMouseX>t+1||u.firstTouchMouseY<d-1||u.firstTouchMouseY>d+1)&&(u.disableOnDragOrSwipe_bl=!0),e.touches&&2==e.touches.length&&(e.preventDefault&&e.preventDefault(),u.finishPinching_bl=!1,o=t,n=d,r=e.touches[1].pageX-_.main_do.getGlobalX()-_.scrollOffsets.x,i=e.touches[1].pageY-_.main_do.getGlobalY()-_.scrollOffsets.y,u.mouseX=(r+o)/2,u.mouseY=(i+n)/2,l=o-r,a=n-i,s=Math.sqrt(l*l+a*a),parseInt(u.pinchDist)!=parseInt(s)&&(u.pinchDist>s?u.currentScale-=.04:u.currentScale+=.02,parseFloat(u.currentScale.toFixed(5))<=parseFloat(u.smallestPossibleScale.toFixed(5))?u.currentScale=u.smallestPossibleScale:u.currentScale>u.zoomFactor&&(u.currentScale=u.zoomFactor)),u.zoomImage(!0,!0),u.pinchDist=s)},u.windowOnTouchEnd=function(e){e.preventDefault&&e.preventDefault(),u.hasPointerEvent_bl?(window.removeEventListener("MSPointerUp",u.windowOnTouchEnd),window.removeEventListener("MSPointerMove",u.windowOnTouchMove),clearTimeout(u.disableOnDragOrSwipeId_to),u.disableOnDragOrSwipeId_to=setTimeout(function(){u.disableOnDragOrSwipe_bl=!1,u.finishPinching_bl=!0},200)):0==e.touches.length&&(clearTimeout(u.disableOnDragOrSwipeId_to),u.disableOnDragOrSwipeId_to=setTimeout(function(){u.disableOnDragOrSwipe_bl=!1,u.finishPinching_bl=!0},200),window.removeEventListener("touchend",u.windowOnTouchEnd),window.removeEventListener("touchmove",u.windowOnTouchMove)),u.isDragged_bl=!1},u.addPannSupport=function(){u.isMobile_bl?u.hasPointerEvent_bl?u.dumy_sdo.screen.addEventListener("MSPointerDown",u.panStartHandler):u.dumy_sdo.screen.addEventListener("touchstart",u.panStartHandler):u.screen.addEventListener?u.dumy_sdo.screen.addEventListener("mousedown",u.panStartHandler):u.screen.attachEvent&&u.dumy_sdo.screen.attachEvent("onmousedown",u.panStartHandler)},u.panStartHandler=function(e){var t;u.draggingMode_str!=i.PAN||u.isTweening_bl||u.disablePanOrRotate_bl||(e.preventDefault&&e.preventDefault(),u.finalWidth<u.stageWidth&&u.finalHeight<u.stageHeight||(u.isMobile_bl&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE||_.showPanDumy(),t=FWDUtils.getViewportMouseCoordinates(e),u.isDragging_bl=!0,u.xPositionOnPress=u.mainImagesHolder_do.getX(),u.yPositionOnPress=u.mainImagesHolder_do.getY(),u.lastPresedX=t.screenX,u.lastPresedY=t.screenY,u.dispatchEvent(i.PAN_START),u.isMobile_bl?u.hasPointerEvent_bl?(window.addEventListener("MSPointerMove",u.panMoveHandler),window.addEventListener("MSPointerUp",u.panEndHandler)):(window.addEventListener("touchmove",u.panMoveHandler),window.addEventListener("touchend",u.panEndHandler)):window.addEventListener?(window.addEventListener("mousemove",u.panMoveHandler),window.addEventListener("mouseup",u.panEndHandler)):document.attachEvent&&(document.attachEvent("onmousemove",u.panMoveHandler),document.attachEvent("onmouseup",u.panEndHandler))))},u.panMoveHandler=function(e){var t;e.preventDefault&&e.preventDefault(),e.touches&&1!=e.touches.length||u.disablePanOrRotate_bl||(t=FWDUtils.getViewportMouseCoordinates(e),u.finalWidth>u.stageWidth+1&&(u.finalX=Math.round(u.xPositionOnPress+t.screenX-u.lastPresedX),0<u.finalX?u.finalX=0:u.finalX<=u.stageWidth-u.finalWidth+1&&(u.finalX=u.stageWidth-u.finalWidth+1),u.mainImagesHolder_do.setX(u.finalX)),u.finalHeight>u.stageHeight+1&&(u.finalY=Math.round(u.yPositionOnPress+t.screenY-u.lastPresedY),0<u.finalY?u.finalY=0:u.finalY<=u.stageHeight-u.finalHeight&&(u.finalY=u.stageHeight-u.finalHeight),u.mainImagesHolder_do.setY(u.finalY)),u.showNavigator_bl&&(u.hideOrShowNavigator(),u.updateNavigator(!1)),u.positionMarkers(!1))},u.panEndHandler=function(e){u.isDragging_bl=!1,u.isMobile_bl&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE||_.hidePanDumy(),u.isMobile_bl?u.hasPointerEvent_bl?(window.removeEventListener("MSPointerMove",u.panMoveHandler),window.removeEventListener("MSPointerUp",u.panEndHandler)):(window.removeEventListener("touchmove",u.panMoveHandler),window.removeEventListener("touchend",u.panEndHandler)):window.removeEventListener?(window.removeEventListener("mousemove",u.panMoveHandler),window.removeEventListener("mouseup",u.panEndHandler)):document.detachEvent&&(document.detachEvent("onmousemove",u.panMoveHandler),document.detachEvent("onmouseup",u.panEndHandler))},u.addRotationSupport=function(){u.isMobile_bl?u.hasPointerEvent_bl?u.dumy_sdo.screen.addEventListener("MSPointerDown",u.rotateStartHandler):u.dumy_sdo.screen.addEventListener("touchstart",u.mobileRoateStartTest):u.screen.addEventListener?u.dumy_sdo.screen.addEventListener("mousedown",u.rotateStartHandler):u.screen.attachEvent&&u.dumy_sdo.screen.attachEvent("onmousedown",u.rotateStartHandler)},u.mobileRoateStartTest=function(e){var t=FWDUtils.getViewportMouseCoordinates(e);u.lastPressedX=t.screenX,u.lastPressedY=t.screenY,window.addEventListener("touchmove",u.mobileRoateMoveTest,{passive:!1}),window.addEventListener("touchend",u.mobileDragEndTest)},u.mobileDragEndTest=function(e){window.removeEventListener("touchmove",u.mobileRoateMoveTest),window.removeEventListener("touchend",u.mobileDragEndTest)},u.mobileRoateMoveTest=function(e){var t,o,n;u.isMaximized_bl||u.isAnimMaximizeOrMinimize_bl||e.touches&&1!=e.touches.length||(t=FWDUtils.getViewportMouseCoordinates(e),u.mouseX=t.screenX,u.mouseY=t.screenY,o=Math.atan2(u.mouseY-u.lastPressedY,u.mouseX-u.lastPressedX),(120<(n=180*Math.abs(o)/Math.PI)||n<60||u.dragVertical_bl||1<u.playListData_ar.length)&&(e.preventDefault&&e.preventDefault(),u.rotateStartHandler(e)),window.removeEventListener("touchmove",u.mobileRoateMoveTest))},u.rotateStartHandler=function(e){var t;u.draggingMode_str!=i.ROTATE||u.isTweening_bl||u.disablePanOrRotate_bl||(clearInterval(u.dragAndSpinId_int),t=FWDUtils.getViewportMouseCoordinates(e),u.lastPressedX=t.screenX,u.lastPressedY=t.screenY,u.isDragging_bl=!0,u.isSwiping_bl=!1,u.markersToolTipWindow_do&&u.markersToolTipWindow_do.hide(),u.isMobile_bl&&"mouse"!=e.pointerType||_.showRotateDumy(),u.currentDistX=u.lastPresedX=t.screenX,u.currentDistY=u.lastPresedY=t.screenY,u.showOrHideMarkers(),u.positionMarkers(),u.dispatchEvent(i.ROTATE_START),u.isMobile_bl?u.hasPointerEvent_bl?(window.addEventListener("MSPointerMove",u.rotateMoveHandler),window.addEventListener("MSPointerUp",u.rotateEndHandler)):(window.addEventListener("touchmove",u.rotateMoveHandler,{passive:!1}),window.addEventListener("touchend",u.rotateEndHandler)):(window.addEventListener("mousemove",u.rotateMoveHandler),window.addEventListener("mouseup",u.rotateEndHandler)))},u.rotateMoveHandler=function(e){if(!(e.touches&&1!=e.touches.length||u.disablePanOrRotate_bl)){e.preventDefault&&e.preventDefault();var t=FWDUtils.getViewportMouseCoordinates(e),o=(t.screenX-u.lastPresedX)/(80*u.rotationSpeed),n=(t.screenY-u.lastPresedY)/(80*u.rotationSpeed);if(u.swipeDragDistX=t.screenX-u.currentDistX,u.currentDistX=t.screenX,u.swipeDragDistY=t.screenY-u.currentDistY,u.currentDistY=t.screenY,u.dragVertical_bl){if(u.isRotatingFirstTime_bl)return 0<n?0!=n&&(n=-1*u.inverseRotation):0!=n&&(n=+u.inverseRotation),u.curId+=n,u.gotoImage(),void(u.isRotatingFirstTime_bl=!1);1<=Math.abs(n)&&(0<n?(u.lastPresedY=u.lastPresedY+80*u.rotationSpeed,0!=n&&(n=-1*u.inverseRotation)):(u.lastPresedY=u.lastPresedY-80*u.rotationSpeed,0!=n&&(n=+u.inverseRotation)),u.curId+=n,u.gotoImage())}else{if(1<=Math.abs(n)&&(0<n?(u.lastPresedY=u.lastPresedY+80*u.rotationSpeed,0!=n&&(n=-1*u.inverseRotation)):(u.lastPresedY=u.lastPresedY-80*u.rotationSpeed,0!=n&&(n=+u.inverseRotation)),u.curSet+=n,u.gotoImage()),u.isRotatingFirstTime_bl)return 0<o?0!=o&&(o=-1*u.inverseRotation):0!=o&&(o=+u.inverseRotation),u.curId+=o,u.gotoImage(),void(u.isRotatingFirstTime_bl=!1);1<=Math.abs(o)&&(0<o?(u.lastPresedX=u.lastPresedX+80*u.rotationSpeed,0!=o&&(o=-1*u.inverseRotation)):(u.lastPresedX=u.lastPresedX-80*u.rotationSpeed,0!=o&&(o=+u.inverseRotation)),u.curId+=o,u.gotoImage())}}},u.rotateEndHandler=function(e){u.dragVertical_bl?Math.abs(u.swipeDragDistY)>u.spinDist&&u.addDragAndSpinSupport_bl&&u.firstInteractionOccured_bl?u.startToSwipe():u.addLargeImage():Math.abs(u.swipeDragDistX)>u.spinDist&&u.addDragAndSpinSupport_bl&&u.firstInteractionOccured_bl?u.startToSwipe():u.addLargeImage(),u.isDragging_bl=!1,u.isRotatingFirstTime_bl=!0,u.firstInteractionOccured_bl=!0,u.isMobile_bl&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE||_.hideRotateDumy(),u.isMobile_bl?u.hasPointerEvent_bl?(window.removeEventListener("MSPointerMove",u.rotateMoveHandler),window.removeEventListener("MSPointerUp",u.rotateEndHandler)):(window.removeEventListener("touchmove",u.rotateMoveHandler),window.removeEventListener("touchend",u.rotateEndHandler)):(window.removeEventListener("mousemove",u.rotateMoveHandler),window.removeEventListener("mouseup",u.rotateEndHandler))},u.startToSwipe=function(){u.isSwiping_bl=!0;for(var e=0;e<u.totalMarkers;e++)marker=u.markers_ar[e],marker.hide();u.dragVertical_bl?(u.swipeDirection_str=u.swipeDragDistY<0?"top":"bottom",u.swipeDragDistY=Math.abs(u.swipeDragDistY/(20*u.dragAndSpinSpeed))*u.inverseRotation):(u.swipeDirection_str=u.swipeDragDistX<0?"left":"right",u.swipeDragDistX=Math.abs(u.swipeDragDistX/(20*u.dragAndSpinSpeed))*u.inverseRotation),u.dragAndSpinId_int=setInterval(u.swipeTweenUpdate,60)},u.swipeTweenUpdate=function(){var e=0,t=u.dragVertical_bl?(u.swipeDragDistY+=.1*(0-u.swipeDragDistY),e=Math.round(u.swipeDragDistY),"top"==u.swipeDirection_str?1:-1):(u.swipeDragDistX+=.1*(0-u.swipeDragDistX),e=Math.round(u.swipeDragDistX),"left"==u.swipeDirection_str?1:-1);u.curId+=e*t,0==e?(u.isSwiping_bl=!1,clearInterval(u.dragAndSpinId_int),u.gotoImage(),u.addLargeImage()):u.gotoImage()},u.addMouseWheelSupport=function(){window.addEventListener?(u.dumy_sdo.screen.addEventListener("mousewheel",u.mouseWheelHandler),u.dumy_sdo.screen.addEventListener("DOMMouseScroll",u.mouseWheelHandler)):document.attachEvent&&u.dumy_sdo.screen.attachEvent("onmousewheel",u.mouseWheelHandler)},u.mouseWheelHandler=function(e){if(e.preventDefault&&e.preventDefault(),!u.isDragging_bl&&!u.disablePanOrRotate_bl){var t=FWDUtils.getViewportMouseCoordinates(e);u.hider&&u.hider.reset(),u.mouseX=t.screenX-u.getGlobalX(),u.mouseY=t.screenY-u.getGlobalY();var o=e.detail||e.wheelDelta;if(e.wheelDelta&&(o*=-1),FWDUtils.isOpera&&(o*=-1),0<o?(u.currentScale-=u.zoomSpeed,parseFloat(u.currentScale.toFixed(5))<=parseFloat(u.smallestPossibleScale.toFixed(5))&&(u.currentScale=u.smallestPossibleScale)):o<0&&(u.currentScale+=u.zoomSpeed,u.currentScale>u.zoomFactor&&(u.currentScale=u.zoomFactor)),u.zoomImage(!0),!e.preventDefault)return!1;e.preventDefault()}},u.setupMarkers=function(){var e,t;u.totalMarkers=u.markersList_ar.length;for(var o=0;o<u.totalMarkers;o++)t=u.markersList_ar[o],FWDMarker.setPrototype(),(e=new FWDMarker(t.markerId,t.normalStatePath_str,t.selectedStatePath_str,t.type,t.regPoint,t.toolTipLabel,t.markerWidth,t.markerHeight,r.useVectorIcons)).setX(-1e4),e.addListener(FWDMarker.MOUSE_OVER,u.markerOnMouseOverHandler),e.addListener(FWDMarker.MOUSE_OUT,u.markerOnMouseOutHandler),e.addListener(FWDMarker.MOUSE_DOWN,u.markerOnStartHandler),"tooltip"==t.type||"tooltip-plus"==t.type||"tooltip-play"==t.type?(e.toolTipId=0,e.innerHTML_str=t.innerHTML,e.toolTipWindowMaxWidth=t.maxWidth):"infowindow"==t.type?e.innerHTML_str=t.innerHTML:"link"==t.type&&(e.link_str=t.link,e.target_str=t.target),u.markers_ar.push(e),u.addChild(e)},u.markerOnMouseOverHandler=function(e){var t=e.target;_.controller_do.stopSlideShow(),t.hasToolTip_bl&&u.showMarkerToolTip(t,t.toolTipLabel_str),"tooltip"!=t.type_str&&"tooltip-plus"!=t.type_str&&"tooltip-play"!=t.type_str||(u.lastMarkerId_str!=t.markerId&&u.hideToolTipWindow(),u.lastMarkerId_str=t.markerId,u.curMarker_do=t,clearTimeout(u.hideToolTipWindowId_to),u.showToolTipWindow(t,t.innerHTML_str,t.toolTipWindowMaxWidth))},u.markerOnMouseOutHandler=function(e){var t=e.target;if(t.hasToolTip_bl&&u.markersToolTip_do){u.contains(u.markersToolTip_do)&&u.removeChild(u.markersToolTip_do);try{document.removeChild(u.markersToolTip_do.screen)}catch(e){}u.markersToolTip_do.hide()}"tooltip"!=t.type_str&&"tooltip-plus"!=t.type_str&&"tooltip-play"!=t.type_str||(u.toolTipWindowAddEventsToSetGlobalXAndGlobalY(),clearTimeout(u.hideToolTipWindowId_to),u.hideToolTipWindowId_to=setTimeout(u.hideToolTipWindowWithDelay,300))},u.markerOnStartHandler=function(e){var t=e.target;_.controller_do.stopSlideShow(e),"infowindow"==t.type_str?u.dispatchEvent(i.SHOW_INFO,{text:t.innerHTML_str}):"tooltip"!=t.type_str&&"tooltip-plus"!=t.type_str&&"tooltip-play"!=t.type_str||(u.lastMarkerId_str!=t.markerId&&u.hideToolTipWindow(),u.curMarker_do=t,u.lastMarkerId_str=t.markerId,u.toolTipWindowAddEventsToSetGlobalXAndGlobalY(),u.showToolTipWindow(t,t.innerHTML_str,t.toolTipWindowMaxWidth))},u.showMarkersWithAlphaForChromeFirstTime_bl=!0,u.showOrHideMarkers=function(){for(var e,t,o,n=u.playListData_ar[u.curSet][u.curId].markersPosition_ar,r=0;r<u.totalMarkers;r++)(e=u.markers_ar[r]).isActive_bl=!1;if(n){o=n.length;for(r=0;r<o;r++){t=n[r];for(var i=0;i<u.totalMarkers;i++)e=u.markers_ar[i],t.markerId!=e.markerId||e.isActive_bl||(e.originalX=t.x,e.originalY=t.y,e.toolTipOffsetX=t.toolTipOffsetX,e.show(),e.isActive_bl=!0)}}for(r=0;r<u.totalMarkers;r++)(e=u.markers_ar[r]).isActive_bl||e.hide(),e.isActive_bl&&u.showMarkersWithAlphaForChromeFirstTime_bl&&e.showOnChromeOnce();u.showMarkersWithAlphaForChromeFirstTime_bl=!1},u.positionMarkers=function(e){for(var t,o=0;o<u.totalMarkers;o++)(t=u.markers_ar[o]).isActive_bl&&(t.finalX=u.finalX+t.offsetX+Math.round(t.originalX*u.currentScale),t.finalY=u.finalY+t.offsetY+Math.round(t.originalY*u.currentScale),e?(FWDAnimation.killTweensOf(t),FWDAnimation.to(t,.2,{x:t.finalX,y:t.finalY})):(FWDAnimation.killTweensOf(t),t.setX(t.finalX),t.setY(t.finalY)))},u.setupMarkersToolTip=function(){FWDMarkerToolTip.setPrototype(),u.markersToolTip_do=new FWDMarkerToolTip(u,u.buttonToolTipTopPointer_str,u.buttonToolTipBottomPointer_str),u.markersToolTip_do.getStyle().zIndex=99999999},u.setupMarkersToolTipWindow=function(){FWDMarkerWindowToolTip.setPrototype(),u.markersToolTipWindow_do=new FWDMarkerWindowToolTip(u,u.buttonToolTipTopPointer_str,u.buttonToolTipBottomPointer_str),u.markersToolTipWindow_do.screen.style.zIndex=99999999,document.documentElement.appendChild(u.markersToolTipWindow_do.screen)},u.showMarkerToolTip=function(e,t){u.getX();var o,n,r,i=0;document.documentElement.appendChild(u.markersToolTip_do.screen),u.markersToolTip_do.setLabel(t),u.markersToolTip_do.show(),clearTimeout(u.showMarkerToolTipId_to),u.showMarkerToolTipId_to=setTimeout(function(){u.markersToolTip_do.isShowed_bl&&(n=e.finalY-u.markersToolTip_do.totalHeight-u.markerToolTipOffsetY+u.getGlobalY()+_.scrollOffsets.y,r=n-_.scrollOffsets.y<0?(n=e.finalY+e.height+u.markerToolTipOffsetY+u.getGlobalY()+_.scrollOffsets.y+u.markersToolTip_do.pointerHeight,u.markersToolTip_do.pointerUp_sdo.setVisible(!0),u.markersToolTip_do.pointerDown_sdo.setVisible(!1),FWDMarkerWindowToolTip.POINTER_UP):(u.markersToolTip_do.pointerUp_sdo.setVisible(!1),u.markersToolTip_do.pointerDown_sdo.setVisible(!0),FWDMarkerWindowToolTip.POINTER_DOWN),(o=parseInt(e.finalX+(e.width-u.markersToolTip_do.totalWidth)/2)+u.getGlobalX()+_.scrollOffsets.x+e.toolTipOffsetX)<0?(i=o,o=0):o+u.markersToolTip_do.totalWidth>_.ws.w&&(i=-(_.ws.w-o-u.markersToolTip_do.totalWidth),o=_.ws.w-u.markersToolTip_do.totalWidth),u.markersToolTip_do.setX(o),u.markersToolTip_do.setY(n),u.markersToolTip_do.positionPointer(i-e.toolTipOffsetX,r))},80)},u.showToolTipWindow=function(e,t,o){var n,r,i,s;u.markersToolTipWindow_do.toolTipWindowId!=e.toolTipWindowId&&(u.marker=e,u.getX(),i=0,u.markersToolTipWindow_do.setLabel(t,o),u.markersToolTipWindow_do.toolTipWindowId=e.toolTipWindowId,clearTimeout(u.showToolTipWindoId_to),u.showToolTipWindoId_to=setTimeout(function(){r=e.finalY-u.markersToolTipWindow_do.totalHeight-u.markerToolTipOffsetY+u.getGlobalY()+_.scrollOffsets.y,s=r-_.scrollOffsets.y<0?(r=e.finalY+e.height+u.markerToolTipOffsetY+u.getGlobalY()+_.scrollOffsets.y+u.markersToolTipWindow_do.pointerHeight,u.markersToolTipWindow_do.pointerUp_sdo.setVisible(!0),u.markersToolTipWindow_do.pointerDown_sdo.setVisible(!1),FWDMarkerWindowToolTip.POINTER_UP):(u.markersToolTipWindow_do.pointerUp_sdo.setVisible(!1),u.markersToolTipWindow_do.pointerDown_sdo.setVisible(!0),FWDMarkerWindowToolTip.POINTER_DOWN),(n=parseInt(e.finalX+(e.width-u.markersToolTipWindow_do.totalWidth)/2)+u.getGlobalX()+_.scrollOffsets.x+e.toolTipOffsetX)<0?(i=n,n=0):n+u.markersToolTipWindow_do.totalWidth>_.ws.w&&(i=-(_.ws.w-n-u.markersToolTipWindow_do.totalWidth),n=_.ws.w-u.markersToolTipWindow_do.totalWidth),u.markersToolTipWindow_do.show(),u.markersToolTipWindow_do.setX(Math.round(n)),u.markersToolTipWindow_do.setY(Math.round(r)),u.markersToolTipWindow_do.positionPointer(i-e.toolTipOffsetX,s)},80))},u.toolTipWindowAddEventsToSetGlobalXAndGlobalY=function(){u.isMobile_bl?u.addHideToolTipWindowTestWithDelayId_to=setTimeout(function(){u.hasPointerEvent_bl?(window.addEventListener("MSPointerDown",u.hideToolTipWindowTest),window.addEventListener("MSPointerMove",u.hideToolTipWindowTest)):window.addEventListener("touchstart",u.hideToolTipWindowTest)},50):window.addEventListener?window.addEventListener("mousemove",u.hideToolTipWindowTest):document.attachEvent&&document.attachEvent("onmousemove",u.hideToolTipWindowTest)},u.hideToolTipWindowTest=function(e){var t=FWDUtils.getViewportMouseCoordinates(e);u.globalX=t.screenX,u.globalY=t.screenY,!e.touches&&e.pointerType==e.MSPOINTER_TYPE_MOUSE||u.hideToolTipWindowWithDelay()},u.hideToolTipWindowWithDelay=function(e){FWDUtils.hitTest(u.markersToolTipWindow_do.screen,u.globalX,u.globalY)||FWDUtils.hitTest(u.curMarker_do.screen,u.globalX,u.globalY)?u.hideToolTipWindowId_to=setTimeout(u.hideToolTipWindowWithDelay,300):(u.hideToolTipWindow(),u.isMobile_bl?(clearTimeout(u.addHideToolTipWindowTestWithDelayId_to),u.hasPointerEvent_bl?(window.removeEventListener("MSPointerDown",u.hideToolTipWindowTest),window.removeEventListener("MSPointerMove",u.hideToolTipWindowTest)):window.removeEventListener("touchstart",u.hideToolTipWindowTest)):window.removeEventListener?window.removeEventListener("mousemove",u.hideToolTipWindowTest):document.detachEvent&&document.detachEvent("onmousemove",u.hideToolTipWindowTest))},u.hideToolTipWindow=function(){u.markersToolTipWindow_do&&(clearTimeout(u.hideToolTipWindowId_to),u.markersToolTipWindow_do.hide(),u.marker&&u.marker.setNormalState(!0),u.markersToolTipWindow_do.toolTipWindowId="none")},u.setupMarkersInfo=function(){window.addEventListener?(window.addEventListener("mousemove",u.showMarkersInfoPosition),window.addEventListener("mousewheel",u.showMarkersInfoPosition),window.addEventListener("DOMMouseScroll",u.showMarkersInfoPosition)):document.attachEvent&&(document.attachEvent("onmousemove",u.showMarkersInfoPosition),document.attachEvent("onmousewheel",u.showMarkersInfoPosition)),u.markersPositionInfo_sdo=new FWDSimpleDisplayObject("div"),u.markersPositionInfo_sdo.setDisplay("inline-block"),u.markersPositionInfo_sdo.getStyle().fontSmoothing="antialiased",u.markersPositionInfo_sdo.getStyle().webkitFontSmoothing="antialiased",u.markersPositionInfo_sdo.getStyle().textRendering="optimizeLegibility",u.markersPositionInfo_sdo.getStyle().padding="6px",u.markersPositionInfo_sdo.getStyle().fontFamily="Arial",u.markersPositionInfo_sdo.getStyle().fontSize="12px",u.markersPositionInfo_sdo.getStyle().lineHeight="20px",u.markersPositionInfo_sdo.getStyle().color="#000000",u.markersPositionInfo_sdo.setBkColor("#FFFFFF"),u.addChild(u.markersPositionInfo_sdo)},u.showMarkersInfoPosition=function(e){var t=FWDUtils.getViewportMouseCoordinates(e),o=u.getGlobalX(),n=u.getGlobalY(),r=t.screenX-o,i=t.screenY-n,s=parseInt((r-u.finalX)*(1/u.currentScale)),l=parseInt((i-u.finalY)*(1/u.currentScale)),a=10+r,d=10+i;u.markersPositionInfo_sdo.setInnerHTML("Image nr:<font color='#FF0000'>"+(u.curId+1)+"</font><br>x:<font color='#FF0000'>"+s+"</font> y:<font color='#FF0000'>"+l+"</font>");var _=u.markersPositionInfo_sdo.getWidth(),c=u.markersPositionInfo_sdo.getHeight();a+_>u.stageWidth&&(a=a-_-10),d+c>u.stageHeight&&(d=d-c-10),u.markersPositionInfo_sdo.setX(a),u.markersPositionInfo_sdo.setY(d)},u.setDraggingMode=function(e){u.draggingMode_str=e},u.disableOrEnablePanOrTouch=function(e){u.disablePanOrRotate_bl=e},u.zoomInOrOutWithScrollBar=function(e){u.currentScale=e*(u.zoomFactor-u.smallestPossibleScale)+u.smallestPossibleScale,u.mouseX=u.stageWidth/2,u.mouseY=u.stageHeight/2,u.zoomImage(!0)},u.dispatchScrollBarUpdate=function(e,t){u.disablePanOrRotate_bl&&!t||u.dispatchEvent(i.SCROLL_BAR_UPDATE,{percent:(u.currentScale-u.smallestPossibleScale)/(u.zoomFactor-u.smallestPossibleScale),animate:e})},u.zoomInOrOutWithButtons=function(e,t){u.mouseX=u.stageWidth/2,u.mouseY=u.stageHeight/2,0<e?(u.currentScale+=t?u.zoomSpeed:u.zoomSpeed/15,u.currentScale>u.zoomFactor&&(u.currentScale=u.zoomFactor)):e<0&&(u.currentScale-=t?u.zoomSpeed:u.zoomSpeed/15,parseFloat(u.currentScale.toFixed(5))<=parseFloat(u.smallestPossibleScale.toFixed(5))&&(u.currentScale=u.smallestPossibleScale)),u.dispatchScrollBarUpdate(!0,!0),u.zoomImage(!0)},u.centerImage=function(){u.mouseX=u.stageWidth/2,u.mouseY=u.stageHeight/2,u.finalX=Math.round((u.stageWidth-u.finalWidth)/2),u.finalY=Math.round((u.stageHeight-u.finalHeight)/2),u.resizeAndPositionSmallImage(!1),u.positionMarkers()},u.updateNavigator=function(e){u.isNavigatorShowed_bl&&u.dispatchEvent(i.UPDATE_NAVIGATOR,{percentX:Math.abs(u.finalX/(u.finalWidth-u.stageWidth)),percentY:Math.abs(u.finalY/(u.finalHeight-u.stageHeight)),percentWidth:u.stageWidth/u.finalWidth,percentHeight:u.stageHeight/u.finalHeight,animate:e})},u.hideOrShowNavigator=function(){u.stageWidth<u.finalWidth||u.stageHeight<u.finalHeight?(u.isNavigatorShowed_bl=!0,u.dispatchEvent(i.SHOW_NAVIGATOR)):(u.isNavigatorShowed_bl=!1,u.dispatchEvent(i.HIDE_NAVIGATOR))},u.updateOnNavigatorPan=function(e,t){isNaN(e)?u.finalX=Math.round((u.stageWidth-u.finalWidth)/2):u.finalX=parseInt(e*(u.stageWidth-u.finalWidth)),isNaN(t)?u.finalY=Math.round((u.stageHeight-u.finalHeight)/2):u.finalY=parseInt(t*(u.stageHeight-u.finalHeight)),u.positionMarkers(!0),u.resizeAndPositionSmallImage(!0)},u.cleanMainEvents=function(){window.addEventListener||window.attachEvent,u.isMobile_bl?(u.dumy_sdo.screen.removeEventListener("touchstart",u.panStartHandler),u.dumy_sdo.screen.removeEventListener("MSPointerDown",u.panStartHandler),window.removeEventListener("touchmove",u.panMoveHandler),window.removeEventListener("touchend",u.panEndHandler),window.removeEventListener("MSPointerMove",u.panMoveHandler),window.removeEventListener("MSPointerUp",u.panEndHandler),u.dumy_sdo.screen.removeEventListener("touchstart",u.rotateStartHandler),u.dumy_sdo.screen.removeEventListener("MSPointerDown",u.rotateStartHandler),window.removeEventListener("touchmove",u.rotateMoveHandler),window.removeEventListener("touchend",u.rotateEndHandler),window.removeEventListener("MSPointerMove",u.rotateMoveHandler),window.removeEventListener("MSPointerUp",u.rotateEndHandler),window.removeEventListener("touchstart",u.hideToolTipWindowTest),window.removeEventListener("MSPointerDown",u.hideToolTipWindowTest),window.removeEventListener("MSPointerMove",u.hideToolTipWindowTest),u.screen.removeEventListener("gesturestart",u.gestureStartHandler),u.screen.removeEventListener("gesturechange",u.gestureChangeHandler)):window.removeEventListener?(u.dumy_sdo.screen.removeEventListener("mousedown",u.panStartHandler),window.removeEventListener("mousemove",u.panMoveHandler),window.removeEventListener("mouseup",u.panEndHandler),u.dumy_sdo.screen.removeEventListener("mousedown",u.rotateStartHandler),window.removeEventListener("mousemove",u.rotateMoveHandler),window.removeEventListener("mouseup",u.rotateEndHandler),u.dumy_sdo.screen.removeEventListener("mousewheel",u.mouseWheelHandler),u.dumy_sdo.screen.removeEventListener("DOMMouseScroll",u.mouseWheelHandler),window.removeEventListener("mousemove",u.hideToolTipWindowTest),window.removeEventListener("mousemove",u.showMarkersInfoPosition),window.removeEventListener("mousewheel",u.showMarkersInfoPosition),window.removeEventListener("DOMMouseScroll",u.showMarkersInfoPosition)):document.detachEvent&&(document.detachEvent("onmousemove",u.panMoveHandler),document.detachEvent("onmouseup",u.panEndHandler),u.dumy_sdo.screen.detachEvent("onmousedown",u.panStartHandler),u.dumy_sdo.screen.detachEvent("onmousedown",u.rotateStartHandler),document.detachEvent("onmousemove",u.rotateMoveHandler),document.detachEvent("onmouseup",u.rotateEndHandler),u.dumy_sdo.screen.detachEvent("onmousewheel",u.mouseWheelHandler),document.detachEvent("onmousemove",u.hideToolTipWindowTest),document.detachEvent("onmousemove",u.showMarkersInfoPosition),document.detachEvent("onmousewheel",u.showMarkersInfoPosition)),clearTimeout(u.tweenDone_to),clearTimeout(u.removeSmallSDOId_to),clearTimeout(u.setAlphaWithDelayId_to),clearTimeout(u.hideToolTipWindowId_to),clearTimeout(u.addHideToolTipWindowTestWithDelayId_to),clearTimeout(u.showToolTipWindoId_to),clearTimeout(u.showMarkerToolTipId_to),clearInterval(u.dragAndSpinId_int)},u.destroy=function(){if(u.cleanMainEvents(),u.largeImage_img&&(u.largeImage_img.onerror=null,u.largeImage_img.onload=null,u.largeImage_img.src=""),u.mainImagesHolder_do&&(FWDAnimation.killTweensOf(u.mainImagesHolder_do),u.mainImagesHolder_do.destroy()),u.smallImage_sdo&&(FWDAnimation.killTweensOf(u.smallImage_sdo),u.smallImage_sdo.destroy()),u.showMarkers_bl){for(var e,t=0;t<u.totalMarkers;t++)e=u.markers_ar[t],FWDAnimation.killTweensOf(e),e.destroy();u.markersToolTip_do&&u.markersToolTip_do.destroy(),u.markersToolTipWindow_do.destroy()}u.addCorrectionForWebKit_bl&&(FWDAnimation.killTweensOf(u.left_sdo),FWDAnimation.killTweensOf(u.top_sdo),FWDAnimation.killTweensOf(u.right_sdo),FWDAnimation.killTweensOf(u.bottom_sdo),u.left_sdo.destroy(),u.top_sdo.destroy(),u.right_sdo.destroy(),u.bottom_sdo.destroy());for(t=0;t<u.smallDos_ar.length;t++){var o=u.smallDos_ar[t];FWDAnimation.killTweensOf(o),o.destroy()}u.largeImage_sdo&&(FWDAnimation.killTweensOf(u.largeImage_sdo),u.largeImage_sdo.destroy()),u.markersPositionInfo_sdo&&(u.markersPositionInfo_sdo.setInnerHTML(""),u.markersPositionInfo_sdo.destroy()),_=r=null,u.playListData_ar=null,u.images_ar=null,u.smallDos_ar=null,u.markers_ar=null,u.markersList_ar=null,u.markersPosition_ar=null,u.largeImagesPaths_ar=null,u.hider=null,u.curMarker_do=null,u.prevSmall_sdo=null,u.largeImage_img=null,u.dumy_sdo=null,u.mainImagesHolder_do=null,u.smallImage_sdo=null,u.largeImage_sdo=null,u.left_sdo=null,u.top_sdo=null,u.right_sdo=null,u.bottom_sdo=null,u.markersPositionInfo_sdo=null,u.handMovePath_str=null,u.backgroundColor_str=null,u.draggingMode_str=null,u.setInnerHTML(""),n.destroy(),n=u=null,i.prototype=null},u.init()};i.setPrototype=function(){i.prototype=new FWDDisplayObject("div")},i.ZOOM="zoom",i.LARGE_IMAGE_LOAD_ERROR="largeImageLoadError",i.IMAGE_ZOOM_COMPLETE="zoomComplete",i.SCROLL_BAR_UPDATE="scrollBarUpdate",i.PAN_START="panStart",i.ROTATE_START="rotateStart",i.ROTATE_UPDATE="rotateUpdate",i.ROTATE="rotate",i.PAN="pan",i.UPDATE_NAVIGATOR="updateNavigator",i.SHOW_NAVIGATOR="showNavigator",i.HIDE_NAVIGATOR="hideNavigator",i.SHOW_INFO="showInfo",i.prototype=null,window.FWDImageManager=i}(window),function(e){var n=function(e,t){var o=this;n.prototype;o.textHolder_do=null,o.img_do,o.warningIconPath_str=t,o.show_to=null,o.isShowed_bl=!1,o.isShowedOnce_bl=!1,o.allowToRemove_bl=!0,o.init=function(){o.setResizableSizeAfterParent(),o.getStyle().width="80%",o.textHolder_do=new FWDDisplayObject("div"),FWDUtils.isIEAndLessThen9||(o.textHolder_do.getStyle().font="Arial"),o.textHolder_do.getStyle().wordWrap="break-word",o.textHolder_do.getStyle().padding="10px",o.textHolder_do.getStyle().paddingLeft="42px",o.textHolder_do.getStyle().lineHeight="18px",o.textHolder_do.setBkColor("#EEEEEE");var e=new Image;e.src=o.warningIconPath_str,o.img_do=new FWDDisplayObject("img"),o.img_do.setScreen(e),o.img_do.setWidth(28),o.img_do.setHeight(28),o.addChild(o.textHolder_do),o.addChild(o.img_do)},o.showText=function(e){o.isShowedOnce_bl||(o.screen.addEventListener?o.screen.addEventListener("click",o.closeWindow):o.screen.attachEvent&&o.screen.attachEvent("onclick",o.closeWindow),o.isShowedOnce_bl=!0),o.textHolder_do.setInnerHTML(e),clearTimeout(o.show_to),o.show()},o.show=function(){o.isShowed_bl=!0,o.setVisible(!0),setTimeout(function(){o.positionAndResize()},60)},o.positionAndResize=function(){o.setHeight(o.textHolder_do.getHeight()),o.img_do.setX(6),o.img_do.setY(parseInt((o.h-o.img_do.h)/2))},o.closeWindow=function(){if(o.allowToRemove_bl){o.isShowed_bl=!1,clearTimeout(o.show_to);try{e.main_do.removeChild(o)}catch(e){}}},o.init()};n.setPrototype=function(){n.prototype=new FWDDisplayObject("div","relative")},n.prototype=null,e.FWDInfo=n}(window),function(a){var d=function(o,e,t,n,r,i){var s=this,l=d.prototype;s.mainLightBox_do=null,s.lightBoxBackground_sdo=null,s.lightBoxGridHolder_do=null,s.closeButton_do=null,s.mainBackgroundColor_str=e,s.holderBackgroundColor_str=t,s.lightBoxBackgroundOpacity=n,s.lightBoxWidth=r,s.lightBoxHeight=i,s.setupButtonWithDelayId_to,s.isMobile_bl=FWDUtils.isMobile,s.hasPointerEvent_bl=FWDUtils.hasPointerEvent,s.closeButtonIsTweening_bl=!0,s.init=function(){s.getStyle().zIndex=9999999,s.setupMainContainers()},s.setupMainContainers=function(){var e=FWDUtils.getViewportSize();s.viewportSize=e;var t=FWDUtils.getScrollOffsets();s.isMobile_bl&&s.hasPointerEvent_bl&&(s.getStyle().msTouchAction="none"),s.setWidth(e.w),s.setHeight(e.h),s.setX(t.x),s.setY(t.y),s.lightBoxBackground_sdo=new FWDSimpleDisplayObject("div"),s.lightBoxBackground_sdo.setResizableSizeAfterParent(),s.lightBoxBackground_sdo.setBkColor(s.mainBackgroundColor_str),s.addChild(s.lightBoxBackground_sdo),s.mainLightBox_do=new FWDDisplayObject("div"),s.mainLightBox_do.setBkColor(s.holderBackgroundColor_str),o.stageContainer=s.mainLightBox_do.screen,s.addChild(s.mainLightBox_do),-1==navigator.userAgent.toLowerCase().indexOf("msie 7")?document.documentElement.appendChild(s.screen):document.getElementsByTagName("body")[0].appendChild(s.screen),s.lightBoxBackground_sdo.setAlpha(0),FWDAnimation.to(s.lightBoxBackground_sdo,.8,{alpha:s.lightBoxBackgroundOpacity}),s.setX(t.x),s.setY(t.y),s.mainLightBox_do.setWidth(0),s.mainLightBox_do.setHeight(0),s.mainLightBox_do.setX(parseInt(e.w/2)),s.mainLightBox_do.setY(parseInt(e.h/2)),s.lightBoxWidth>e.w?(s.finalLightBoxWidth=e.w,s.finalLightBoxHeight=parseInt(s.lightBoxHeight*(e.w/s.lightBoxWidth))):(s.finalLightBoxWidth=s.lightBoxWidth,s.finalLightBoxHeight=s.lightBoxHeight),FWDAnimation.to(s.mainLightBox_do,.8,{w:s.finalLightBoxWidth,h:s.finalLightBoxHeight,x:parseInt((e.w-s.finalLightBoxWidth)/2),y:parseInt((e.h-s.finalLightBoxHeight)/2),delay:.4,ease:Expo.easeInOut})},s.setupCloseButton=function(e,t){FWDSimpleButton.setPrototype(),o.data.useVectorIcons?s.closeButton_do=new FWDSimpleButton(0,0,"<span class='fwd360-icon fwd360-icon-close'></span>","fwd360-skin-vector-close-button-icon-normal","fwd360-skin-vector-close-button-icon-selected"):s.closeButton_do=new FWDSimpleButton(e,t),s.closeButton_do.setX(-200),o.data.useVectorIcons?setTimeout(function(){s.showCloseButton()},360):s.showCloseButton(),s.closeButton_do.addListener(FWDSimpleButton.MOUSE_DOWN,s.closeButtonOnStartHandler),s.addChild(s.closeButton_do),s.isMobile_bl?s.hasPointerEvent_bl||(a.addEventListener("touchstart",s.mouseDummyHandler),a.addEventListener("touchmove",s.mouseDummyHandler)):a.addEventListener?(a.addEventListener("mousewheel",s.mouseDummyHandler),a.addEventListener("DOMMouseScroll",s.mouseDummyHandler)):document.attachEvent&&document.attachEvent("onmousewheel",s.mouseDummyHandler)},s.showCloseButton=function(){a.addEventListener("keyup",s.onKeyUpHandler);var e=FWDUtils.getViewportSize(),t=parseInt((e.w+s.finalLightBoxWidth)/2-s.closeButton_do.totalWidth/2),t=(parseInt((e.h-s.finalLightBoxHeight)/2-s.closeButton_do.totalHeight/2),e.w-s.closeButton_do.totalWidth-10);s.closeButton_do.setX(e.w),s.closeButton_do.setY(10),FWDAnimation.to(s.closeButton_do,.9,{x:t,onComplete:s.showCloseButtonComplete,ease:Expo.easeInOut})},s.onKeyUpHandler=function(e){27==e.keyCode&&s.closeButtonOnStartHandler()},s.showCloseButtonComplete=function(){s.closeButtonIsTweening_bl=!1},s.mouseDummyHandler=function(e){if(!e.preventDefault)return!1;e.preventDefault()},s.closeButtonOnStartHandler=function(e){var t=FWDUtils.getViewportSize();s.closeButton_do.isDisabled_bl=!0,FWDAnimation.to(s.closeButton_do,.9,{x:t.w,ease:Expo.easeInOut}),FWDAnimation.to(s.mainLightBox_do,.8,{w:0,h:0,x:parseInt(t.w/2),y:parseInt(t.h/2),delay:.4,ease:Expo.easeInOut}),FWDAnimation.to(o.main_do,.8,{x:parseInt(-o.main_do.w/2),y:parseInt(-o.main_do.h/2),delay:.4,ease:Expo.easeInOut}),FWDAnimation.to(s.lightBoxBackground_sdo,.8,{alpha:0,delay:.8}),s.lighboxAnimDoneId_to=setTimeout(s.lighboxHideAnimationDone,1600),a.removeEventListener("keyup",s.onKeyUpHandler),s.dispatchEvent(d.CLOSE)},s.lighboxHideAnimationDone=function(){s.dispatchEvent(d.HIDE_COMPLETE)},s.destroy=function(){try{-1==navigator.userAgent.toLowerCase().indexOf("msie 7")?document.documentElement.removeChild(s.screen):document.getElementsByTagName("body")[0].removeChild(s.screen)}catch(e){}s.isMobile_bl?s.hasPointerEvent_bl||(a.removeEventListener("touchstart",s.mouseDummyHandler),a.removeEventListener("touchmove",s.mouseDummyHandler)):a.removeEventListener?(a.removeEventListener("mousewheel",s.mouseDummyHandler),a.removeEventListener("DOMMouseScroll",s.mouseDummyHandler)):document.detachEvent&&document.detachEvent("onmousewheel",s.mouseDummyHandler),clearTimeout(s.lighboxAnimDoneId_to),s.lightBoxBackground_sdo&&(FWDAnimation.killTweensOf(s.lightBoxBackground_sdo),s.lightBoxBackground_sdo.destroy()),s.lightBoxGridHolder_do&&(FWDAnimation.killTweensOf(s.lightBoxGridHolder_do),s.lightBoxGridHolder_do.destroy()),s.closeButton_do&&(FWDAnimation.killTweensOf(s.closeButton_do),s.closeButton_do.destroy()),s.mainLightBox_do=null,s.lightBoxBackground_sdo=null,s.lightBoxGridHolder_do=null,s.closeButton_do=null,s.mainBackgroundColor_str=null,s.holderBackgroundColor_str=null,t=e=o=null,s.setInnerHTML(""),l.destroy(),l=s=null,d.prototype=null},s.init()};d.setPrototype=function(){d.prototype=new FWDDisplayObject("div")},d.CLOSE="ligtBoxClose",d.HIDE_COMPLETE="hideComplete",d.prototype=null,a.FWDLightBox=d}(window),function(c){var u=function(e,n,t,o,r,i,s,l,a){var d=this,_=u.prototype;d.n_do,d.s_do,d.markerId=e,d.normalImagePath_str=n,d.selectedImagePath_str=t,d.type_str=o,d.toolTipLabel_str=i,d.innerHTML_str,d.link_str,d.target_str,d.regPoint_str=r,d.toolTipWindowId,d.width=s,d.height=l,d.toolTipId,d.originalX,d.originalY,d.finalX,d.finalY,d.offsetX,d.offsetY,d.toolTipWindowMaxWidth,d.vectorClassN="fwd360-skin-vector-marker-button-normal",d.vectorClassS="fwd360-skin-vector-marker-button-selected",d.showId_to,d.isDisabled_bl=!1,d.hasToolTip_bl=!0,d.isShowed_bl=!0,d.isMobile_bl=FWDUtils.isMobile,d.hasPointerEvent_bl=FWDUtils.hasPointerEvent,d.init=function(){d.setOverflow("visible"),"tooltip"!=d.type_str&&d.toolTipLabel_str||(d.hasToolTip_bl=!1),d.setupMainContainers(),"center"==d.regPoint_str?(d.offsetX=-parseInt(d.width/2),d.offsetY=-parseInt(d.height/2)):"centertop"==d.regPoint_str?(d.offsetX=-parseInt(d.width/2),d.offsetY=0):"centerbottom"==d.regPoint_str?(d.offsetX=-parseInt(d.width/2),d.offsetY=-d.height,d.n_do.getStyle().transformOrigin="50% 100%",d.s_do&&(d.n_do.getStyle().transformOrigin="50% 100%")):"leftbottom"==d.regPoint_str&&(d.offsetX=0,d.offsetY=-d.height,d.n_do.getStyle().transformOrigin="0% 100%",d.s_do&&(d.n_do.getStyle().transformOrigin="0% 100%")),d.hide()},d.setupMainContainers=function(){var e,t,o;d.setOverflow("visible"),a?(e="",-1!=n.indexOf("marker1")?e='<span class="fwd360-icon fwd360-icon-plus"></span>':-1!=n.indexOf("marker2")?e='<span class="fwd360-icon fwd360-icon-info2"></span>':-1!=n.indexOf("marker3")?e='<span class="fwd360-icon fwd360-icon-link2"></span>':-1!=n.indexOf("marker4")&&(e='<span class="fwd360-icon fwd360-icon-play2"></span>'),d.n_do=new FWDTransformDisplayObject("div"),d.n_do.getStyle().lineHeight=0,d.n_do.screen.className="fwd360-marker",d.icnHolder=new FWDDisplayObject("div","relative"),d.icnHolder.getStyle().boxSizing="border-box",d.icnHolder.getStyle().display="flex",d.icnHolder.getStyle().alignItems="center",d.icnHolder.getStyle().justifyContent="center",d.icnHolder.setWidth(d.width),d.icnHolder.setHeight(d.height),d.icnHolder.setInnerHTML(e),d.setNormalState(),d.n_do.addChild(d.icnHolder),d.addChild(d.n_do),d.dumy=new FWDDisplayObject("div"),d.dumy.getStyle().width="100%",d.dumy.getStyle().height="100%",d.addChild(d.dumy)):(d.n_do=new FWDTransformDisplayObject("img"),(t=new Image).src=d.normalImagePath_str,d.n_do.setScreen(t),d.n_do.screen.className="fwd360-png-marker",d.n_do.setWidth(d.width),d.n_do.setHeight(d.height),d.w=d.n_do.w,d.h=d.n_do.h,d.s_do=new FWDTransformDisplayObject("img"),(o=new Image).src=d.selectedImagePath_str,d.s_do.setScreen(o),d.s_do.setWidth(d.width),d.s_do.setHeight(d.height),d.s_do.setAlpha(0),d.addChild(d.n_do),d.addChild(d.s_do)),d.setWidth(d.width),d.setHeight(d.height),d.setButtonMode(!0),d.isMobile_bl?d.hasPointerEvent_bl?(d.screen.addEventListener("MSPointerDown",d.onMouseDown),d.screen.addEventListener("MSPointerUp",d.onClick),d.screen.addEventListener("MSPointerOver",d.onMouseOver),d.screen.addEventListener("MSPointerOut",d.onMouseOut)):d.screen.addEventListener("touchstart",d.onMouseDown):d.screen.addEventListener?(d.screen.addEventListener("mouseover",d.onMouseOver),d.screen.addEventListener("mouseout",d.onMouseOut),d.screen.addEventListener("mousedown",d.onMouseDown),d.screen.addEventListener("click",d.onClick)):d.screen.attachEvent&&(d.screen.attachEvent("onmouseover",d.onMouseOver),d.screen.attachEvent("onmouseout",d.onMouseOut),d.screen.attachEvent("onmousedown",d.onMouseDown),d.screen.attachEvent("onclick",d.onClick))},d.onMouseOver=function(e){if(!e.pointerType||e.pointerType==e.MSPOINTER_TYPE_MOUSE){if(d.dispatchEvent(u.MOUSE_OVER,{e:e}),d.isDisabled_bl)return;d.setSelectedState(!0)}},d.onMouseOut=function(e){if(!e.pointerType||e.pointerType==e.MSPOINTER_TYPE_MOUSE){if(d.dispatchEvent(u.MOUSE_OUT,{e:e}),d.isDisabled_bl)return;"tooltip"!=d.type_str&&"tooltip-plus"!=d.type_str&&"tooltip-play"!=d.type_str&&d.setNormalState(!0)}},d.onClick=function(e){d.isDisabled_bl||("link"==d.type_str&&(c.open(d.link_str,d.target_str),d.dispatchEvent(u.MOUSE_OUT,{e:e})),d.dispatchEvent(u.CLICK,{e:e}))},d.onMouseDown=function(e){e.preventDefault&&e.preventDefault(),d.isDisabled_bl||(d.isMobile_bl&&!d.hasPointerEvent_bl&&"link"==d.type_str&&(c.open(d.link_str,d.target_str),d.dispatchEvent(u.MOUSE_OUT,{e:e})),d.dispatchEvent(u.MOUSE_DOWN,{e:e}))},d.setNormalState=function(e){a?(FWDAnimation.killTweensOf(d.icnHolder),e?FWDAnimation.to(d.icnHolder.screen,.6,{className:d.vectorClassN,ease:Expo.easeOut}):d.icnHolder.screen.className=d.vectorClassN):(FWDAnimation.killTweensOf(d.s_do),FWDAnimation.to(d.s_do,.5,{alpha:0,ease:Expo.easeOut}))},d.setSelectedState=function(e){a?(FWDAnimation.killTweensOf(d.icnHolder),e?FWDAnimation.to(d.icnHolder.screen,.6,{className:d.vectorClassS,ease:Expo.easeOut}):d.icnHolder.screen.className=d.vectorClassS):(FWDAnimation.killTweensOf(d.s_do),FWDAnimation.to(d.s_do,.5,{alpha:1,delay:.1,ease:Expo.easeOut}))},d.hide=function(){d.isShowed_bl&&(d.isShowed_bl=!1,d.getStyle().pointerEvents="none",clearTimeout(d.showId_to),FWDAnimation.killTweensOf(d.n_do),d.n_do.setAlpha(0),d.hasTransform2d_bl?(d.n_do.setScale(0),d.s_do&&d.s_do.setScale(0)):(d.n_do.setWidth(0),d.n_do.setHeight(0),d.s_do&&(d.s_do.setWidth(0),d.s_do.setHeight(0))))},d.show=function(){d.isShowed_bl||(d.isShowed_bl=!0,d.getStyle().pointerEvents="auto",clearTimeout(d.showId_to),FWDAnimation.to(d.n_do,.8,{alpha:1,ease:Quart.easeOut}),d.hasTransform2d_bl?(d.n_do.setScale(1),d.s_do&&d.s_do.setScale(1)):(d.n_do.setWidth(s),d.n_do.setHeight(l),d.s_do&&(d.s_do.setWidth(s),d.s_do.setHeight(l))))},d.showOnChromeOnce=function(){d.n_do.setAlpha(0),FWDAnimation.to(d.n_do,.8,{alpha:1,delay:.1,ease:Quart.easeOut})},d.destroy=function(){d.isMobile_bl?d.screen.removeEventListener("touchstart",d.onMouseDown):d.screen.addEventListener?(d.screen.removeEventListener("mouseover",d.onMouseOver),d.screen.removeEventListener("mouseout",d.onMouseOut),d.screen.removeEventListener("mousedown",d.onMouseDown),d.screen.removeEventListener("click",d.onClick)):d.screen.detachEvent&&(d.screen.detachEvent("onmouseover",d.onMouseOver),d.screen.detachEvent("onmouseout",d.onMouseOut),d.screen.detachEvent("onmousedown",d.onMouseDown),d.screen.detachEvent("onclick",d.onClick)),FWDAnimation.killTweensOf(d.n_do),FWDAnimation.killTweensOf(d.s_do),d.n_do.destroy(),d.s_do&&d.s_do.destroy(),d.n_do=null,d.s_do=null,d.markerId=null,d.normalImagePath_str=null,d.selectedImagePath_str=null,d.type_str=null,d.toolTipLabel_str=null,d.innerHTML_str=null,d.link_str=null,d.target_str=null,d.regPoint_str=null,i=r=o=t=n=e=null,d.setInnerHTML(""),_.destroy(),_=d=null,u.prototype=null},d.init()};u.setPrototype=function(){u.prototype=new FWDDisplayObject("div")},u.CLICK="onClick",u.MOUSE_OVER="onMouseOver",u.MOUSE_OUT="onMouseOut",u.MOUSE_DOWN="onMouseDown",u.prototype=null,c.FWDMarker=u}(window),function(e){var i=function(e,t,o){var r=this,n=i.prototype;r.text_sdo=null,r.pointerUp_sdo=null,r.pointerDown_sdo=null,r.bottomPointer_str=o,r.topPointer_str=t,r.pointerPosition_str,r.toolTipLabel_str,r.totalHeight=0,r.totalWidth,r.isMobile_bl=FWDUtils.isMobile,r.isShowed_bl=!0,r.init=function(){r.setOverflow("visible"),r.getStyle().boxSizing="border-box",r.setWidth(500),r.setupMainContainers(),r.hide()},r.setupMainContainers=function(){r.dClr="#FF0000",r.text_sdo=new FWDSimpleDisplayObject("div"),r.text_sdo.screen.className="fwd3660-marker-tooltip",r.text_sdo.setBackfaceVisibility(),r.text_sdo.setDisplay("inline-block"),r.text_sdo.getStyle().fontFamily="Arial",r.text_sdo.getStyle().fontSize="12px",r.text_sdo.setBkColor(r.dClr),r.addChild(r.text_sdo),r.pointerHolder_do=new FWDDisplayObject("div"),r.pointerHolder_do.setOverflow("visible"),r.addChild(r.pointerHolder_do),r.pointerDown_sdo=new FWDSimpleDisplayObject("div"),r.pointerDown_sdo.hasTransform3d_bl=r.pointerDown_sdo.hasTransform2d_bl=!1,r.pointerDown_sdo.setY(0),r.pointerDown_sdo.screen.className="fwd360-marker-tooltip-pointer fwd360-pointer-down",r.pointerDown_sdo.setBkColor(r.dClr),r.pointerDown_sdo.getStyle().transform="rotate(45deg)",r.pointerDown_sdo.setWidth(8),r.pointerDown_sdo.setHeight(8),r.pointerDown_sdo.screen.style.position="absolute",r.pointerUp_sdo=new FWDSimpleDisplayObject("div"),r.pointerUp_sdo.hasTransform3d_bl=r.pointerUp_sdo.hasTransform2d_bl=!1,r.pointerUp_sdo.setY(0),r.pointerUp_sdo.screen.className="fwd360-marker-tooltip-pointer fwd360-pointer-up",r.pointerUp_sdo.getStyle().transform="rotate(45deg)",r.pointerUp_sdo.setBkColor(r.dClr),r.pointerUp_sdo.setWidth(8),r.pointerUp_sdo.setHeight(8),r.pointerUp_sdo.screen.style.position="absolute",r.pointerHolder_do.addChild(r.pointerUp_sdo),r.pointerHolder_do.addChild(r.pointerDown_sdo)},r.setLabel=function(e){null!=r&&(r.text_sdo.setInnerHTML(e),setTimeout(function(){r.pointerWidth=r.pointerUp_sdo.getWidth(),r.pointerHeight=r.pointerUp_sdo.getHeight(),r.totalWidth=r.text_sdo.screen.offsetWidth,r.totalHeight=r.text_sdo.getHeight()+r.pointerHeight},79))},r.positionPointer=function(e,t){var o=0,n=0;e=e||0,(o=parseInt((r.totalWidth-r.pointerWidth)/2)+e)<0&&(o=0),t==i.POINTER_DOWN?(r.text_sdo.screen.className="fwd3660-marker-tooltip fwd360-pointer-down",n=r.totalHeight-r.pointerHeight-r.pointerHeight/2,r.pointerDown_sdo.setX(o),r.pointerDown_sdo.setY(n)):(r.text_sdo.screen.className="fwd3660-marker-tooltip fwd360-pointer-up",n=-r.pointerHeight+r.pointerHeight/2,r.pointerUp_sdo.setX(o),r.pointerUp_sdo.setY(n))},r.show=function(){r.isShowed_bl||(e.markerShowed=!0,FWDAnimation.to(r,.4,{alpha:1,delay:.1,ease:Quart.easeOut}),r.isShowed_bl=!0)},r.hide=function(){r.isShowed_bl&&(e.markerShowed=!1,FWDAnimation.killTweensOf(r),r.setX(-5e3),r.setAlpha(0),r.isShowed_bl=!1)},r.destroy=function(){FWDAnimation.killTweensOf(r),r.pointerUp_img=null,r.text_sdo.destroy(),r.pointerDown_sdo.destroy(),r.bottomPointer_str=null,r.topPointer_str=null,r.pointerPosition_str=null,r.toolTipLabel_str=null,r.text_sdo=null,r.pointerUp_sdo=null,r.pointerDown_sdo=null,o=t=null,r.setInnerHTML(""),n.destroy(),n=r=null,i.prototype=null},r.init()};i.setPrototype=function(){i.prototype=new FWDDisplayObject("div")},i.POINTER_UP="pointerUp",i.POINTER_DOWN="pointerDown",i.CLICK="onClick",i.MOUSE_DOWN="onMouseDown",i.prototype=null,e.FWDMarkerToolTip=i}(window),function(e){var i=function(e,t,o){var r=this,n=i.prototype;r.text_sdo=null,r.pointerUp_sdo=null,r.pointerDown_sdo=null,r.bottomPointer_str=o,r.topPointer_str=t,r.pointerPosition_str,r.toolTipLabel_str,r.totalHeight=0,r.totalWidth,r.maxWidth,r.isMobile_bl=FWDUtils.isMobile,r.isShowed_bl=!0,r.hasLabel_bl=!1,r.init=function(){r.setOverflow("visible"),r.getStyle().boxSizing="border-box",r.setupMainContainers(),r.hide()},r.setupMainContainers=function(){r.text_sdo=new FWDSimpleDisplayObject("div"),r.text_sdo.screen.className="fwd3660-marker-tooltip-window",r.text_sdo.setBackfaceVisibility(),r.text_sdo.getStyle().boxSizing="border-box",r.text_sdo.getStyle().width="100%",r.addChild(r.text_sdo),r.pointerHolder_do=new FWDDisplayObject("div"),r.pointerHolder_do.setOverflow("visible"),r.addChild(r.pointerHolder_do),r.pointerDown_sdo=new FWDSimpleDisplayObject("div"),r.pointerDown_sdo.hasTransform3d_bl=r.pointerDown_sdo.hasTransform2d_bl=!1,r.pointerDown_sdo.setY(0),r.pointerDown_sdo.screen.className="fwd360-marker-tooltip-window-pointer fwd360-pointer-down",r.pointerDown_sdo.setBkColor(r.dClr),r.pointerDown_sdo.getStyle().transform="rotate(45deg)",r.pointerDown_sdo.setWidth(8),r.pointerDown_sdo.setHeight(8),r.pointerDown_sdo.screen.style.position="absolute",r.pointerUp_sdo=new FWDSimpleDisplayObject("div"),r.pointerUp_sdo.hasTransform3d_bl=r.pointerUp_sdo.hasTransform2d_bl=!1,r.pointerUp_sdo.setY(0),r.pointerUp_sdo.screen.className="fwd360-marker-tooltip-window-pointer fwd360-pointer-up",r.pointerUp_sdo.getStyle().transform="rotate(45deg)",r.pointerUp_sdo.setBkColor(r.dClr),r.pointerUp_sdo.setWidth(8),r.pointerUp_sdo.setHeight(8),r.pointerUp_sdo.screen.style.position="absolute",r.pointerHolder_do.addChild(r.pointerUp_sdo),r.pointerHolder_do.addChild(r.pointerDown_sdo)},r.setLabel=function(e,t){var o;null!=r&&(r.maxWidth=t,o=Math.min(r.maxWidth,FWDUtils.getViewportSize().w),r.totalWidth=o,r.setWidth(r.totalWidth),r.text_sdo.setInnerHTML(e),setTimeout(function(){r.pointerWidth=r.pointerUp_sdo.getWidth(),r.pointerHeight=r.pointerUp_sdo.getHeight(),r.totalHeight=r.text_sdo.getHeight()+r.pointerHeight,r.setWidth(r.totalWidth),r.setHeight(r.totalHeight-r.pointerHeight)},79))},r.positionPointer=function(e,t){var o=0,n=0;e=e||0,(o=parseInt((r.totalWidth-r.pointerWidth)/2)+e)<0&&(o=0),t==FWDMarkerToolTip.POINTER_DOWN?(r.text_sdo.screen.className="fwd3660-marker-tooltip-window fwd360-pointer-down",n=Math.round(r.totalHeight-r.pointerHeight-r.pointerHeight/2),r.pointerDown_sdo.setX(o),r.pointerDown_sdo.setY(n)):(r.text_sdo.screen.className="fwd3660-marker-tooltip-window fwd360-pointer-up",n=-r.pointerHeight+Math.round(r.pointerHeight/2),r.pointerUp_sdo.setX(o),r.pointerUp_sdo.setY(n))},r.show=function(){r.isShowed_bl||(e.markerShowed=!0,r.positionPointer(),r.isMobile_bl?r.setAlpha(1):FWDAnimation.to(r,.4,{alpha:1,delay:.1,ease:Quart.easeOut}),r.isShowed_bl=!0)},r.hide=function(){r.isShowed_bl&&(e.markerShowed=!1,r.isMobile_bl||FWDAnimation.killTweensOf(r),r.setX(-5e3),r.setAlpha(0),r.text_sdo.setInnerHTML(""),r.isShowed_bl=!1)},r.destroy=function(){FWDAnimation.killTweensOf(r),r.text_sdo.destroy(),r.pointerUp_sdo.destroy(),r.pointerDown_sdo.destroy(),r.text_sdo=null,r.pointerUp_sdo=null,r.pointerDown_sdo=null,r.bottomPointer_str=null,r.topPointer_str=null,r.pointerPosition_str=null,r.toolTipLabel_str=null,o=t=e=null,r.setInnerHTML(""),n.destroy(),n=r=null,i.prototype=null},r.init()};i.setPrototype=function(){i.prototype=null,i.prototype=new FWDDisplayObject("div")},i.POINTER_UP="pointerUp",i.POINTER_DOWN="pointerDown",i.CLICK="onClick",i.MOUSE_DOWN="onMouseDown",i.prototype=null,e.FWDMarkerWindowToolTip=i}(window),function(s){var l=function(o,n){var i=this,r=l.prototype;i.hider=null,i.mainHolder_do=null,i.mainImagesHolder_do=null,i.smallImage_sdo=null,i.border_sdo=null,i.handler_sdo=null,i.images_ar=n.navigatorImages_ar,i.iamgesSdo_ar=[],i.borderColor_str=n.navigatorBorderColor_str,i.handlerColor_str=n.navigatorHandlerColor_str,i.navigatorBackgroundColor=n.navigatorBackgroundColor,i.borderSize=2,i.handMovePath_str=n.handMovePath_str,i.handGrabPath_str=n.handGrabPath_str,i.navigatorPosition_str=n.navigatorPosition_str,i.totalImages=i.images_ar.length,i.stageWidth,i.stageHeight,i.totalWidth=n.navigatorWidth,i.totalHeight=Math.round(i.totalWidth*(n.imageHeight/n.imageWidth)),i.offsetX=n.navigatorOffsetX,i.offsetY=n.navigatorOffsetY,i.finalWidth,i.finalHeight,i.finalX,i.finalY,i.xPositionOnPress,i.yPositionOnPress,i.lastPresedX,i.lastPresedY,i.tweenCompleteId_to,i.isShowed_bl=!0,i.isTweening_bl=!1,i.isDragging_bl=!1,i.isMobile_bl=FWDUtils.isMobile,i.hasPointerEvent_bl=FWDUtils.hasPointerEvent,i.init=function(){i.setOverflow("visible"),i.setSelectable(!1),i.setupMainContiners(),i.setupImagesSdos(0),i.hide(),i.resizeAndPosition()},i.activate=function(){i.images_ar=n.navigatorImages_ar,i.totalImages=i.images_ar.length,i.setupImagesSdos(1),i.updateImage(o.imageManager_do.images_ar[o.imageManager_do.curId]),i.addPannSupport(),i.screen.onmousedown=function(){i.dispatchEvent(l.MOUSE_DOWN)},FWDUtils.isIEAndLessThen9&&(i.handler_sdo.screen.onmousedown=function(){i.dispatchEvent(l.MOUSE_DOWN)})},i.resizeAndPosition=function(){o.stageWidth==i.stageWidth&&o.stageHeight==i.stageHeight||(i.stageWidth=o.stageWidth,i.stageHeight=o.stageHeight,i.navigatorPosition_str==l.TOP_LEFT?(i.setX(i.offsetX),i.setY(i.offsetY-2*i.borderSize)):i.navigatorPosition_str==l.TOP_RIGHT?(i.setX(i.stageWidth-i.totalWidth-i.offsetX-2*i.borderSize),i.setY(i.offsetY-2*i.borderSize)):i.navigatorPosition_str==l.BOTTOM_LEFT?(i.setX(i.offsetX),i.setY(i.stageHeight-i.totalHeight-i.offsetY)):i.navigatorPosition_str==l.BOTTOM_RIGHT&&(i.setX(i.stageWidth-i.totalWidth-i.offsetX-2*i.borderSize),i.setY(i.stageHeight-i.totalHeight-i.offsetY)))},i.setupHider=function(e){i.hider=e,i.hider.addListener(FWDHider.HIDE,i.onHiderHide)},i.onHiderHide=function(){FWDUtils.hitTest(i.mainHolder_do.screen,i.hider.globalX,i.hider.globalY)&&i.hider.reset()},i.setupMainContiners=function(){i.mainHolder_do=new FWDDisplayObject("div","absolute","visible"),i.mainHolder_do.setWidth(i.totalWidth),i.mainHolder_do.setHeight(i.totalHeight),i.addChild(i.mainHolder_do),i.mainImagesHolder_do=new FWDDisplayObject("div","absolute","visible"),i.smallImage_sdo=new FWDSimpleDisplayObject("img"),i.mainHolder_do.addChild(i.mainImagesHolder_do),i.border_sdo=new FWDSimpleDisplayObject("div"),i.border_sdo.setWidth(i.totalWidth),i.border_sdo.setHeight(i.totalHeight),i.border_sdo.getStyle().boxSizing="content-box",i.border_sdo.getStyle().borderStyle="solid",i.border_sdo.getStyle().borderWidth=i.borderSize+"px",i.border_sdo.getStyle().borderColor=i.borderColor_str,i.mainHolder_do.addChild(i.border_sdo),i.handler_sdo=new FWDSimpleDisplayObject("div"),i.handler_sdo.setWidth(i.totalWidth-2),i.handler_sdo.setHeight(i.totalHeight-2),i.handler_sdo.getStyle().boxSizing="content-box",i.handler_sdo.getStyle().borderStyle="solid",i.handler_sdo.getStyle().borderWidth="1px",FWDUtils.isIE&&(i.handler_sdo.getStyle().background="url('dumy')"),i.handler_sdo.getStyle().borderColor=i.handlerColor_str,i.mainHolder_do.addChild(i.handler_sdo)},i.setupImagesSdos=function(e){i.image_canvas||(i.image_canvas=new FWDSimpleDisplayObject("canvas"),i.image_canvas.screen.width=i.totalWidth,i.image_canvas.screen.height=i.totalHeight,i.image_canvas.setX(i.borderSize),i.image_canvas.setY(i.borderSize),i.canvas_ctx=i.image_canvas.screen.getContext("2d"),i.mainHolder_do.addChildAt(i.image_canvas,0),i.canvas_ctx.fillStyle=i.navigatorBackgroundColor)},i.updateImage=function(e){"file:"!=document.location.protocol&&(i.canvas_ctx.clearRect(0,0,i.totalWidth,i.totalHeight),i.canvas_ctx.imageSmoothingEnabled=!0,i.canvas_ctx.fillRect(0,0,i.totalWidth,i.totalHeight),i.canvas_ctx.drawImage(e,0,0,n.imageWidth,n.imageHeight,0,0,i.totalWidth,i.totalHeight))},i.update=function(e,t,o,n,r){1<o&&(o=1),1<n&&(n=1),1<e&&(e=1),1<t&&(t=1),isNaN(e)&&(e=0),isNaN(t)&&(t=0),i.finalWidth=Math.round(o*(i.totalWidth-2)),i.finalHeight=Math.round(n*(i.totalHeight-2)),i.finalX=Math.round(e*(i.totalWidth-i.finalWidth)),i.finalX<i.borderSize&&(i.finalX=i.borderSize),i.finalY=Math.round(t*(i.totalHeight-i.finalHeight)),i.finalY<i.borderSize&&(i.finalY=i.borderSize),clearTimeout(i.tweenCompleteId_to),r?(i.isTweening_bl=!0,i.tweenCompleteId_to=setTimeout(function(){null!=i&&(i.isTweening_bl=!1)},200),FWDAnimation.killTweensOf(i.handler_sdo),FWDAnimation.to(i.handler_sdo,.2,{x:i.finalX,y:i.finalY,w:i.finalWidth,h:i.finalHeight})):(i.isTweening_bl=!1,FWDAnimation.killTweensOf(i.handler_sdo),i.handler_sdo.setX(i.finalX),i.handler_sdo.setY(i.finalY),i.handler_sdo.setWidth(i.finalWidth),i.handler_sdo.setHeight(i.finalHeight))},i.addPannSupport=function(){i.handler_sdo.screen.style.cursor="url("+i.handMovePath_str+"), default",i.isMobile_bl?i.hasPointerEvent_bl?i.handler_sdo.screen.addEventListener("MSPointerDown",i.panStartHandler):i.handler_sdo.screen.addEventListener("touchstart",i.panStartHandler):i.handler_sdo.screen.addEventListener?i.handler_sdo.screen.addEventListener("mousedown",i.panStartHandler):i.handler_sdo.screen.attachEvent&&i.handler_sdo.screen.attachEvent("onmousedown",i.panStartHandler)},i.panStartHandler=function(e){var t;e.preventDefault&&e.preventDefault(),i.isTweening_bl||(i.isMobile_bl||o.showPanDumy(),t=FWDUtils.getViewportMouseCoordinates(e),i.isDragging_bl=!0,i.xPositionOnPress=i.handler_sdo.getX(),i.yPositionOnPress=i.handler_sdo.getY(),i.lastPresedX=t.screenX,i.lastPresedY=t.screenY,i.dispatchEvent(l.PAN_START),i.isMobile_bl?i.hasPointerEvent_bl?(s.addEventListener("MSPointerMove",i.panMoveHandler),s.addEventListener("MSPointerUp",i.panEndHandler)):(s.addEventListener("touchmove",i.panMoveHandler),s.addEventListener("touchend",i.panEndHandler)):(i.handler_sdo.screen.style.cursor="url("+i.handGrabPath_str+"), default",i.screen.style.cursor="url("+i.handGrabPath_str+"), default",s.addEventListener?(s.addEventListener("mousemove",i.panMoveHandler),s.addEventListener("mouseup",i.panEndHandler)):document.attachEvent&&(document.attachEvent("onmousemove",i.panMoveHandler),document.attachEvent("onmouseup",i.panEndHandler))))},i.panMoveHandler=function(e){var t,o,n;e.preventDefault&&e.preventDefault(),e.touches&&1!=e.touches.length||(t=FWDUtils.getViewportMouseCoordinates(e),i.finalX=Math.round(i.xPositionOnPress+t.screenX-i.lastPresedX),i.finalX<i.borderSize?i.finalX=i.borderSize:i.finalX>=i.totalWidth-i.finalWidth&&(i.finalX=i.totalWidth-i.finalWidth),i.handler_sdo.setX(i.finalX),i.finalY=Math.round(i.yPositionOnPress+t.screenY-i.lastPresedY),i.finalY<i.borderSize?i.finalY=i.borderSize:i.finalY>=i.totalHeight-i.finalHeight&&(i.finalY=i.totalHeight-i.finalHeight),i.handler_sdo.setY(i.finalY),o=(i.finalX-i.borderSize)/(i.totalWidth-2-i.finalWidth),n=(i.finalY-i.borderSize)/(i.totalHeight-2-i.finalHeight),i.dispatchEvent(l.PAN,{percentX:o,percentY:n}))},i.panEndHandler=function(e){i.isDragging_bl=!1,i.isMobile_bl||o.hidePanDumy(),i.isMobile_bl?i.hasPointerEvent_bl?(s.removeEventListener("MSPointerMove",i.panMoveHandler),s.removeEventListener("MSPointerUp",i.panEndHandler)):(s.removeEventListener("touchmove",i.panMoveHandler),s.removeEventListener("touchend",i.panEndHandler)):(i.handler_sdo.screen.style.cursor="url("+i.handMovePath_str+"), default",i.screen.style.cursor="default",s.removeEventListener?(s.removeEventListener("mousemove",i.panMoveHandler),s.removeEventListener("mouseup",i.panEndHandler)):document.detachEvent&&(document.detachEvent("onmousemove",i.panMoveHandler),document.detachEvent("onmouseup",i.panEndHandler)))},i.show=function(e){var t;i.isShowed_bl||(i.resizeAndPosition(),t=i.navigatorPosition_str==l.TOP_LEFT||i.navigatorPosition_str==l.TOP_RIGHT?2*i.borderSize:i.offsetY-2*i.borderSize-i.offsetY,e?FWDAnimation.to(i.mainHolder_do,1,{y:t,ease:Expo.easeInOut}):(FWDAnimation.killTweensOf(i.mainHolder_do),i.mainHolder_do.setY(0)),i.isShowed_bl=!0)},i.hide=function(e){i.isShowed_bl&&(i.navigatorPosition_str==l.TOP_LEFT||i.navigatorPosition_str==l.TOP_RIGHT?e?(FWDAnimation.to(i.mainHolder_do,1,{y:-i.totalHeight-i.offsetY,ease:Expo.easeInOut}),i.update(1,1,1,1,!0)):(FWDAnimation.killTweensOf(i.mainHolder_do),i.mainHolder_do.setY(-i.totalHeight-i.offsetY)):i.navigatorPosition_str!=l.BOTTOM_LEFT&&i.navigatorPosition_str!=l.BOTTOM_RIGHT||(e?(FWDAnimation.to(i.mainHolder_do,1,{y:i.totalHeight+i.offsetY,ease:Expo.easeInOut}),i.update(1,1,1,1,!0)):(FWDAnimation.killTweensOf(i.mainHolder_do),i.mainHolder_do.setY(i.totalHeight+i.offsetY))),i.isShowed_bl=!1)},i.cleanMainEvents=function(){i.isMobile_bl?(i.handler_sdo.screen.removeEventListener("touchstart",i.panStartHandler),i.handler_sdo.screen.addEventListener("MSPointerDown",i.panStartHandler),s.removeEventListener("touchmove",i.panMoveHandler),s.removeEventListener("touchend",i.panEndHandler),s.removeEventListener("MSPointerMove",i.panMoveHandler),s.removeEventListener("MSPointerUp",i.panEndHandler)):i.handler_sdo.screen.removeEventListener?(i.handler_sdo.screen.removeEventListener("mousedown",i.panStartHandler),s.removeEventListener("mousemove",i.panMoveHandler),s.removeEventListener("mouseup",i.panEndHandler)):i.handler_sdo.screen.detachEvent&&(i.handler_sdo.screen.detachEvent("onmousedown",i.panStartHandler),document.detachEvent("onmousemove",i.panMoveHandler),document.detachEvent("onmouseup",i.panEndHandler)),i.screen.onmousedown=null,i.handler_sdo.screen.onmousedown=null,clearTimeout(i.tweenCompleteId_to)},i.destroy=function(){i.cleanMainEvents(),i.hider&&i.hider.removeListener(FWDHider.HIDE,i.onHiderHide);for(var e=i.iamgesSdo_ar.length,t=0;t<e;t++)i.iamgesSdo_ar[t].destroy();FWDAnimation.killTweensOf(i.mainHolder_do),i.mainHolder_do.destroy(),FWDAnimation.killTweensOf(i.handler_sdo),i.handler_sdo.destroy(),i.mainImagesHolder_do.destroy(),i.hider=null,i.mainHolder_do=null,i.mainImagesHolder_do=null,i.smallImage_sdo=null,i.handler_sdo=null,i.images_ar=n.navigatorImages_ar,i.iamgesSdo_ar=[],i.borderColor_str=null,i.handlerColor_str=null,i.handMovePath_str=null,i.handGrabPath_str=null,i.navigatorPosition_str=null,o=n=null,i.setInnerHTML(""),r.destroy(),r=i=null,l.prototype=null},i.init()};l.setPrototype=function(){l.prototype=new FWDDisplayObject("div")},l.TOP_LEFT="topleft",l.TOP_RIGHT="topright",l.BOTTOM_LEFT="bottomleft",l.BOTTOM_RIGHT="bottomright",l.PAN_START="panStart",l.PAN="pan",l.MOUSE_DOWN="navigatorOnMouseDown",l.prototype=null,s.FWDNavigator=l}(window),function(e){var i=function(e,t,o){var n=this,r=i.prototype;n.bk_do=null,n.mainHolder_do=null,n.text_do=null,n.preloaderWidth=e.data.preloaderWidth,n.preloaderWindowBackgroundOpacity=e.data.preloaderWindowBackgroundOpacity,n.showPreloaderProgressBar=e.data.showPreloaderProgressBar,n.preloaderProgressBarBackgroundColor=e.data.preloaderProgressBarBackgroundColor,n.preloaderProgressBarFillColor=e.data.preloaderProgressBarFillColor,n.preloaderPosition=e.data.preloaderPosition,n.preloaderOffestX=e.data.preloaderOffsetX,n.preloaderOffestY=e.data.preloaderOffsetY,n.preloaderBackgroundSize=e.data.preloaderBackgroundSize,n.backgroundColor_str=o,n.fontColor_str=t,n.stageWidth,n.stageHeight,n.isShowed_bl=!1,n.allowResize_bl=!0,n.init=function(){n.setupMainContainers()},n.windowTouchStartHandler=function(e){e.preventDefault&&e.preventDefault()},n.setupMainContainers=function(){n.bk_do=new FWDSimpleDisplayObject("div"),n.bk_do.screen.className="fwd360-preloader-background",n.bk_do.setBkColor(n.backgroundColor_str),n.bk_do.setAlpha(0),n.bk_do.setResizableSizeAfterParent(),n.addChild(n.bk_do),n.mainHolder_do=new FWDDisplayObject("div"),n.mainHolder_do.setWidth(1),n.mainHolder_do.setOverflow("visible"),n.mainHolder_do.getStyle().width="100%",n.addChild(n.mainHolder_do),n.mainHolder2_do=new FWDDisplayObject("div"),n.mainHolder2_do.setOverflow("visible"),n.mainHolder2_do.getStyle().width="100%",n.mainHolder_do.addChild(n.mainHolder2_do),n.showPreloaderProgressBar&&(n.bar_do=new FWDDisplayObject("div"),n.bar_do.getStyle().width="100%",n.bar_do.setOverflow("visible"),n.barBk_do=new FWDDisplayObject("div"),n.barBk_do.screen.className="fwd360-preloader-bar-background",n.barBk_do.getStyle().height="10px",n.barBk_do.getStyle().width="100%",n.barBk_do.getStyle().height="100%",n.barBk_do.getStyle().backgroundColor=n.preloaderProgressBarBackgroundColor,n.barFill_do=new FWDDisplayObject("div"),n.barFill_do.screen.className="fwd360-preloader-bar-fill",n.barFill_do.getStyle().width=0,n.barFill_do.getStyle().height="19px",n.barFill_do.getStyle().backgroundColor=n.preloaderProgressBarFillColor,n.bar_do.addChild(n.barBk_do),n.bar_do.addChild(n.barFill_do),n.mainHolder2_do.addChild(n.bar_do)),n.text_do=new FWDSimpleDisplayObject("div"),n.text_do.screen.className="fwd360-preloader-text",n.dumyText_do=new FWDSimpleDisplayObject("div"),n.dumyText_do.screen.className="fwd360-preloader-text",n.dumyText_do.setInnerHTML(e.data.preloaderText_str+"100%"),n.dumyText_do.setVisible(!1),n.text_do.setDisplay("inline-block"),n.text_do.getStyle().fontFamily="Arial",n.text_do.getStyle().fontSize="12px",n.text_do.getStyle().whiteSpace="nowrap",n.text_do.getStyle().color=n.fontColor_str,n.text_do.setY(n.segmentHeight+2),n.mainHolder2_do.addChild(n.text_do),n.addChild(n.dumyText_do)},n.positionAndResize=function(){e.stageWidth==n.stageWidth&&e.stageHeight==n.stageHeight||n.allowResize_bl&&(n.stageWidth=e.stageWidth,n.stageHeight=e.stageHeight,n.setWidth(n.stageWidth),n.setHeight(n.stageHeight),n.position())},n.position=function(){!n.bar_do&&"small"!=n.preloaderBackgroundSize||(n.bar_do&&(n.bar_do.setHeight(n.barFill_do.getHeight()),n.barBk_do.setY(Math.round((n.barFill_do.getHeight()-n.barBk_do.getHeight())/2))),-1!=n.preloaderWidth.indexOf("%")?n.mainHolder_do.getStyle().width=n.preloaderWidth:n.mainHolder_do.getStyle().width=Math.round(n.dumyText_do.getWidth())+"px");var e=n.preloaderPosition;n.stageWidth<600&&(e="center"),"topleft"==e?(n.mainHolder_do.setX(n.preloaderOffestX),n.mainHolder_do.setY(n.preloaderOffestY)):"topright"==e?(n.mainHolder_do.setX(Math.round(n.stageWidth-n.mainHolder_do.getWidth()-n.preloaderOffestX)),n.mainHolder_do.setY(n.preloaderOffestY)):"bottomleft"==e?(n.mainHolder_do.setX(n.preloaderOffestX),n.mainHolder_do.setY(n.stageHeight-n.mainHolder_do.getHeight()-n.preloaderOffestY)):"bottomright"==e?(n.mainHolder_do.setX(Math.round(n.stageWidth-n.mainHolder_do.getWidth()-n.preloaderOffestX)),n.mainHolder_do.setY(n.stageHeight-n.mainHolder_do.getHeight()-n.preloaderOffestY)):(n.mainHolder_do.setX(Math.round(n.stageWidth-n.mainHolder_do.getWidth())/2),n.mainHolder_do.setY(Math.round((n.stageHeight-n.mainHolder_do.getHeight())/2))),"small"==n.preloaderBackgroundSize&&(n.bk_do.setWidth(n.mainHolder_do.getWidth()+60),n.bk_do.setHeight(n.mainHolder_do.getHeight()+40),n.bk_do.setX(n.mainHolder_do.x-30),n.bk_do.setY(n.mainHolder_do.y-25))},n.update=function(e,t){n.text_do.setY(0),n.bar_do&&(n.barFill_do.getStyle().width=Math.round(100*e)+"%",n.text_do.setY(n.barFill_do.getHeight())),n.text_do.setInnerHTML(t),n.text_do.getStyle().left="50%",n.text_do.getStyle().transform="translateX(-50%)",n.mainHolder_do.setHeight(n.text_do.y+n.text_do.getHeight()),n.text_do.setX(Math.round((n.segmentWidth-n.text_do.getWidth())/2)),n.position()},n.show=function(){FWDAnimation.killTweensOf(n.bk_do),FWDAnimation.killTweensOf(n.mainHolder2_do),FWDAnimation.to(n.bk_do,1,{alpha:n.preloaderWindowBackgroundOpacity}),FWDAnimation.to(n.mainHolder2_do,1,{alpha:1,y:0,delay:.1,ease:Expo.easeInOut}),n.isShowed_bl=!0},n.hide=function(e){null!=n&&(FWDAnimation.killTweensOf(n),FWDAnimation.killTweensOf(n.mainHolder2_do),e?(n.allowResize_bl=!1,FWDAnimation.to(n.bk_do,1,{alpha:0,delay:.2,onComplete:n.onHideComplete}),FWDAnimation.to(n.mainHolder2_do,.8,{alpha:0,y:20,ease:Expo.easeInOut})):(n.bk_do.setAlpha(0),n.mainHolder2_do.setAlpha(0),n.mainHolder2_do.setY(-20)),n.isShowed_bl=!1)},n.onHideComplete=function(){n.dispatchEvent(i.HIDE_COMPLETE)},n.destroy=function(){FWDUtils.isMobile&&n.screen.removeEventListener("touchstart",n.windowTouchStartHandler),FWDAnimation.killTweensOf(n.bk_do),FWDAnimation.killTweensOf(n.mainHolder2_do),n.bk_do=null,n.mainHolder2_do=null,n.text_do=null,n.backgroundColor_str=null,n.fontColor_str=null,n.init=null,n.setupMainContainers=null,n.positionAndResize=null,n.update=null,n.show=null,n.hide=null,n.onHideComplete=null,t=o=e=null,n.setInnerHTML(""),r.destroy(),n=null,i.prototype=null},n.init()};i.setPrototype=function(){i.prototype=new FWDDisplayObject("div")},i.HIDE_COMPLETE="hideComplete",i.prototype=null,e.FWDPreloader=i}(window),function(e){var d=function(e,t,o,n,r,i,s){var l=this,a=d.prototype;l.nImg=e,l.sImg=t,l.n_do,l.s_do,l.toolTipLabel_str,e&&(l.totalWidth=l.nImg.width,l.totalHeight=l.nImg.height),l.isDisabled_bl=!1,l.isSelectedFinal_bl=!1,l.isActive_bl=!1,l.isMobile_bl=FWDUtils.isMobile,l.hasPointerEvent_bl=FWDUtils.hasPointerEvent,l.init=function(){l.setupMainContainers()},l.setupMainContainers=function(){o?(l.dumy=new FWDSimpleDisplayObject("div"),l.dumy.getStyle().width="100%",l.dumy.getStyle().height="100%",l.isHandler=-1!=n.indexOf("handler"),l.isSkin1=-1!=n.indexOf("skin1"),l.setOverflow("visible"),l.n_do=new FWDDisplayObject("div"),l.n_do.getStyle().lineHeight=0,l.m_cnt=new FWDDisplayObject("div","relative"),l.m_cnt.setOverflow("visible"),l.m_cnt.getStyle().boxSizing="border-box",l.m_cnt.getStyle().lineHeight=0,l.vectCnt_do=new FWDDisplayObject("div","relative"),l.vectCnt_do.getStyle().lineHeight=0,l.vectCnt_do.getStyle().display="flex",l.vectCnt_do.getStyle().alignItems="center",l.vectCnt_do.getStyle().justifyContent="center",l.vctIcn_do=new FWDDisplayObject("div","relative"),l.vctIcn_do.getStyle().lineHeight=0,l.vctIcn_do.setInnerHTML(o),l.isHandler&&(l.vectCnt_do.getStyle().padding="4px",l.vctIcn_do.setAlpha(1),l.dumy=new FWDDisplayObject("div"),l.dumy.getStyle().width="100%",l.dumy.getStyle().height="100%"),l.n_do.addChild(l.m_cnt),l.m_cnt.addChild(l.vectCnt_do),l.vectCnt_do.addChild(l.vctIcn_do),l.isHandler&&l.n_do.addChild(l.dumy),l.addChild(l.n_do),l.addChild(l.dumy),l.setNormalState(),l.setFinalSize()):(l.n_do=new FWDSimpleDisplayObject("img"),l.n_do.setScreen(l.nImg),l.s_do=new FWDSimpleDisplayObject("img"),l.s_do.setScreen(l.sImg),l.s_do.setAlpha(0),l.addChild(l.n_do),l.addChild(l.s_do),l.setWidth(l.nImg.width),l.setHeight(l.nImg.height)),l.setButtonMode(!0),l.isMobile_bl?l.hasPointerEvent_bl?(l.screen.addEventListener("MSPointerDown",l.onMouseDown),l.screen.addEventListener("MSPointerUp",l.onClick),l.screen.addEventListener("MSPointerOver",l.onMouseOver),l.screen.addEventListener("MSPointerOut",l.onMouseOut)):l.screen.addEventListener("touchstart",l.onMouseDown):l.screen.addEventListener?(l.screen.addEventListener("mouseover",l.onMouseOver),l.screen.addEventListener("mouseout",l.onMouseOut),l.screen.addEventListener("mousedown",l.onMouseDown),l.screen.addEventListener("click",l.onClick)):l.screen.attachEvent&&(l.screen.attachEvent("onmouseover",l.onMouseOver),l.screen.attachEvent("onmouseout",l.onMouseOut),l.screen.attachEvent("onmousedown",l.onMouseDown),l.screen.attachEvent("onclick",l.onClick))},l.onMouseOver=function(e){if(!e.pointerType||e.pointerType==e.MSPOINTER_TYPE_MOUSE){if(l.dispatchEvent(d.MOUSE_OVER,{e:e}),l.isDisabled_bl||l.isSelectedFinal_bl)return;l.setSelectedState(!0)}},l.onMouseOut=function(e){if(!e.pointerType||e.pointerType==e.MSPOINTER_TYPE_MOUSE){if(l.dispatchEvent(d.MOUSE_OUT,{e:e}),l.isDisabled_bl||l.isSelectedFinal_bl)return;l.setNormalState(!0)}},l.onClick=function(e){l.isDisabled_bl||l.isSelectedFinal_bl||l.dispatchEvent(d.CLICK,{e:e})},l.onMouseDown=function(e){e.preventDefault&&e.preventDefault(),l.isDisabled_bl||l.isSelectedFinal_bl||l.dispatchEvent(d.MOUSE_DOWN,{e:e})},l.checkCount=0,l.setFinalSize=function(e){e&&(l.checkCount=0),clearInterval(l.checkId_int),6<l.checkCount||(l.lastWidth=l.vectCnt_do.screen.offsetWidth,l.checkCount+=1,l.checkId_int=setInterval(function(){l.setFinalSize()},100),l.prevWidth!=l.lastWidth&&0!=l.lastWidth&&(l.setWidth(l.vectCnt_do.screen.offsetWidth),l.setHeight(l.vectCnt_do.screen.offsetHeight),l.n_do.setWidth(l.w),l.n_do.setHeight(l.h),l.buttonWidth=l.w,l.buttonHeight=l.h,l.totalWidth=l.w,l.totalHeight=l.h,l.prevWidth=l.lastWidth))},l.setNormalState=function(e){o?(FWDAnimation.killTweensOf(l.vctIcn_do.screen),i&&FWDAnimation.killTweensOf(l.vectCnt_do.screen),e?(i&&FWDAnimation.to(l.vectCnt_do.screen,.6,{className:i,ease:Expo.easeOut}),FWDAnimation.to(l.vctIcn_do.screen,.6,{className:n,ease:Expo.easeOut})):(l.vctIcn_do.screen.className=n,i&&(l.vectCnt_do.screen.className=i))):(FWDAnimation.killTweensOf(l.s_do),FWDAnimation.to(l.s_do,.5,{alpha:0,ease:Expo.easeOut}))},l.setSelectedState=function(e){o?(FWDAnimation.killTweensOf(l.vctIcn_do.screen),i&&FWDAnimation.killTweensOf(l.vectCnt_do.screen),e?(s&&FWDAnimation.to(l.vectCnt_do.screen,.8,{className:s,ease:Expo.easeOut}),FWDAnimation.to(l.vctIcn_do.screen,.8,{className:r,ease:Expo.easeOut})):(s&&(l.vectCnt_do.screen.className=s),l.vctIcn_do.screen.className=r)):(FWDAnimation.killTweensOf(l.s_do),FWDAnimation.to(l.s_do,.5,{alpha:1,delay:.1,ease:Expo.easeOut}))},l.setSelctedFinal=function(){l.isSelectedFinal_bl=!0,l.setSelectedState(!0),l.setButtonMode(!1)},l.setUnselctedFinal=function(){l.isSelectedFinal_bl=!1,l.setNormalState(!0),l.setButtonMode(!0)},l.destroy=function(){l.isMobile_bl?l.hasPointerEvent_bl?(l.screen.removeEventListener("MSPointerDown",l.onMouseDown),l.screen.removeEventListener("MSPointerUp",l.onClick),l.screen.removeEventListener("MSPointerOver",l.onMouseOver),l.screen.removeEventListener("MSPointerOut",l.onMouseOut)):l.screen.removeEventListener("touchstart",l.onMouseDown):l.screen.addEventListener?(l.screen.removeEventListener("mouseover",l.onMouseOver),l.screen.removeEventListener("mouseout",l.onMouseOut),l.screen.removeEventListener("mousedown",l.onMouseDown),l.screen.removeEventListener("click",l.onClick)):l.screen.detachEvent&&(l.screen.detachEvent("onmouseover",l.onMouseOver),l.screen.detachEvent("onmouseout",l.onMouseOut),l.screen.detachEvent("onmousedown",l.onMouseDown),l.screen.detachEvent("onclick",l.onClick)),FWDAnimation.killTweensOf(l.s_do),l.n_do.destroy(),l.s_do&&l.s_do.destroy(),l.nImg=null,l.sImg=null,l.n_do=null,l.s_do=null,t=e=null,l.toolTipLabel_str=null,l.init=null,l.setupMainContainers=null,l.onMouseOver=null,l.onMouseOut=null,l.onClick=null,l.onMouseDown=null,l.setSelctedFinal=null,l.setUnselctedFinal=null,l.setInnerHTML(""),a.destroy(),a=l=null,d.prototype=null},l.init()};d.setPrototype=function(){d.prototype=null,d.prototype=new FWDDisplayObject("div")},d.CLICK="onClick",d.MOUSE_OVER="onMouseOver",d.MOUSE_OUT="onMouseOut",d.MOUSE_DOWN="onMouseDown",d.prototype=null,e.FWDSimpleButton=d}(window),window.FWDSimpleDisplayObject=function(e,t,o,n){var r=this;if("div"!=e&&"img"!=e&&"canvas"!=e)throw Error("Type is not valid! "+e);r.type=e,r.style,r.screen,r.transform,r.position=t||"absolute",r.overflow=o||"hidden",r.display=n||"block",r.visible=!0,r.buttonMode,r.x=0,r.y=0,r.w=0,r.h=0,r.rect,r.alpha=1,r.innerHTML="",r.opacityType="",r.isHtml5_bl=!1,r.hasTransform3d_bl=FWDUtils.hasTransform3d,r.hasTransform2d_bl=FWDUtils.hasTransform2d,(FWDUtils.isIE||FWDUtils.isFirefox)&&(r.hasTransform3d_bl=!1),r.hasBeenSetSelectable_bl=!1,r.init=function(){r.setScreen()},r.getTransform=function(){for(var e,t=["transform","msTransform","WebkitTransform","MozTransform","OTransform"];e=t.shift();)if(void 0!==r.screen.style[e])return e;return!1},r.getOpacityType=function(){var e=void 0!==r.screen.style.opacity?"opacity":"filter";return e},r.setScreen=function(e){"img"==r.type&&e?r.screen=e:r.screen=document.createElement(r.type),r.setMainProperties()},r.setMainProperties=function(){r.transform=r.getTransform(),r.setPosition(r.position),r.setDisplay(r.display),r.setOverflow(r.overflow),r.opacityType=r.getOpacityType(),"opacity"==r.opacityType&&(r.isHtml5_bl=!0),"filter"==r.opacityType&&(r.screen.style.filter="inherit"),r.screen.style.left="0px",r.screen.style.top="0px",r.screen.style.margin="0px",r.screen.style.padding="0px",r.screen.style.maxWidth="none",r.screen.style.maxHeight="none",r.screen.style.border="none",r.screen.style.lineHeight="1",r.screen.style.backgroundColor="transparent",r.screen.style.backfaceVisibility="hidden",r.screen.style.webkitBackfaceVisibility="hidden",r.screen.style.MozBackfaceVisibility="hidden","img"==e&&(r.setWidth(r.screen.width),r.setHeight(r.screen.height),r.setSelectable(!1))},r.setSelectable=function(e){e||(r.screen.style.userSelect="none",r.screen.style.MozUserSelect="none",r.screen.style.webkitUserSelect="none",r.screen.style.khtmlUserSelect="none",r.screen.style.oUserSelect="none",r.screen.style.msUserSelect="none",r.screen.msUserSelect="none",r.screen.ondragstart=function(e){return!1},r.screen.onselectstart=function(){return!1},r.screen.ontouchstart=function(e){return!1},r.screen.style.webkitTouchCallout="none",r.hasBeenSetSelectable_bl=!0)},r.setBackfaceVisibility=function(){r.screen.style.backfaceVisibility="visible",r.screen.style.webkitBackfaceVisibility="visible",r.screen.style.MozBackfaceVisibility="visible"},r.removeBackfaceVisibility=function(){r.screen.style.backfaceVisibility="hidden",r.screen.style.webkitBackfaceVisibility="hidden",r.screen.style.MozBackfaceVisibility="hidden"},r.getScreen=function(){return r.screen},r.setVisible=function(e){r.visible=e,1==r.visible?r.screen.style.visibility="visible":r.screen.style.visibility="hidden"},r.getVisible=function(){return r.visible},r.setResizableSizeAfterParent=function(){r.screen.style.width="100%",r.screen.style.height="100%"},r.getStyle=function(){return r.screen.style},r.setOverflow=function(e){r.overflow=e,r.screen.style.overflow=r.overflow},r.setPosition=function(e){r.position=e,r.screen.style.position=r.position},r.setDisplay=function(e){r.display=e,r.screen.style.display=r.display},r.setButtonMode=function(e){r.buttonMode=e,1==r.buttonMode?r.screen.style.cursor="pointer":r.screen.style.cursor="default"},r.setBkColor=function(e){r.screen.style.backgroundColor=e},r.setInnerHTML=function(e){r.innerHTML=e,r.screen.innerHTML=r.innerHTML},r.getInnerHTML=function(){return r.innerHTML},r.getRect=function(){return r.screen.getBoundingClientRect()},r.setAlpha=function(e){r.alpha=e,"opacity"==r.opacityType?r.screen.style.opacity=r.alpha:"filter"==r.opacityType&&(r.screen.style.filter="alpha(opacity="+100*r.alpha+")",r.screen.style.filter="progid:DXImageTransform.Microsoft.Alpha(Opacity="+Math.round(100*r.alpha)+")")},r.getAlpha=function(){return r.alpha},r.getRect=function(){return r.screen.getBoundingClientRect()},r.getGlobalX=function(){return r.getRect().left},r.getGlobalY=function(){return r.getRect().top},r.setX=function(e){r.x=e,r.hasTransform3d_bl?r.screen.style[r.transform]="translate3d("+r.x+"px,"+r.y+"px,0)":r.hasTransform2d_bl?r.screen.style[r.transform]="translate("+r.x+"px,"+r.y+"px)":r.screen.style.left=r.x+"px"},r.getX=function(){return r.x},r.setY=function(e){r.y=e,r.hasTransform3d_bl?r.screen.style[r.transform]="translate3d("+r.x+"px,"+r.y+"px,0)":r.hasTransform2d_bl?r.screen.style[r.transform]="translate("+r.x+"px,"+r.y+"px)":r.screen.style.top=r.y+"px"},r.getY=function(){return r.y},r.setWidth=function(e){r.w=e,"img"==r.type&&(r.screen.width=r.w),r.screen.style.width=r.w+"px"},r.getWidth=function(){return"div"==r.type?0!=r.screen.offsetWidth?r.screen.offsetWidth:r.w:"img"==r.type?0!=r.screen.offsetWidth?r.screen.offsetWidth:0!=r.screen.width?r.screen.width:r._w:"canvas"==r.type?0!=r.screen.offsetWidth?r.screen.offsetWidth:r.w:void 0},r.setHeight=function(e){r.h=e,"img"==r.type&&(r.screen.height=r.h),r.screen.style.height=r.h+"px"},r.getHeight=function(){return"div"==r.type?0!=r.screen.offsetHeight?r.screen.offsetHeight:r.h:"img"==r.type?0!=r.screen.offsetHeight?r.screen.offsetHeight:0!=r.screen.height?r.screen.height:r.h:"canvas"==r.type?0!=r.screen.offsetHeight?r.screen.offsetHeight:r.h:void 0},r.disposeImage=function(){"img"==r.type&&(r.screen.src=null)},r.destroy=function(){null!=r&&(r.hasBeenSetSelectable_bl&&(r.screen.ondragstart=null,r.screen.onselectstart=null,r.screen.ontouchstart=null),r.style=null,r.screen=null,r.transform=null,r.position=null,r.overflow=null,r.display=null,r.visible=null,r.buttonMode=null,r.x=null,r.y=null,r.w=null,r.h=null,r.rect=null,r.alpha=null,r.innerHTML=null,r.opacityType=null,r.isHtml5_bl=null,n=o=t=e=null,r.hasTransform3d_bl=null,r.hasTransform2d_bl=null,r=null)},r.init()},window.FWDTransformDisplayObject=function(e,t,o){var n=this;if("div"!=e&&"img"!=e&&"canvas"!=e)throw Error("Type is not valid! "+e);n.type=e,n.children_ar=[],n.style,n.screen,n.transform,n.transformOrigin,n.position=t||"absolute",n.overflow=o||"hidden",n.visible=!0,n.buttonMode,n.x=0,n.y=0,n.w=0,n.h=0,n.scale=1,n.rect,n.alpha=1,n.innerHTML="",n.opacityType="",n.isHtml5_bl=!1,n.hasTransform3d_bl=FWDUtils.hasTransform3d,n.hasTransform2d_bl=FWDUtils.hasTransform2d,(FWDUtils.isIE||FWDUtils.isFirefox)&&(n.hasTransform3d_bl=!1),n.hasBeenSetSelectable_bl=!1,n.init=function(){n.setScreen()},n.getTransform=function(){for(var e,t=["transform","msTransform","WebkitTransform","MozTransform","OTransform"];e=t.shift();)if(void 0!==n.screen.style[e])return e},n.getTransformOrigin=function(){for(var e,t=["transformOrigin","msTransformOrigin","WebkitTransformOrigin","MozTransformOrigin","OTransformOrigin"];e=t.shift();)if(void 0!==n.screen.style[e])return e},n.getOpacityType=function(){var e=void 0!==n.screen.style.opacity?"opacity":"filter";return e},n.setScreen=function(e){"img"==n.type&&e?n.screen=e:n.screen=document.createElement(n.type),n.setMainProperties()},n.setMainProperties=function(){n.transform=n.getTransform(),n.transformOrigin=n.getTransformOrigin(),n.setPosition(n.position),n.setOverflow(n.overflow),n.opacityType=n.getOpacityType(),"opacity"==n.opacityType&&(n.isHtml5_bl=!0),"filter"==n.opacityType&&(n.screen.style.filter="inherit"),n.screen.style.left="0px",n.screen.style.top="0px",n.screen.style.margin="0px",n.screen.style.padding="0px",n.screen.style.maxWidth="none",n.screen.style.maxHeight="none",n.screen.style.border="none",n.screen.style.lineHeight="1",n.screen.style.backgroundColor="transparent",n.screen.style.backfaceVisibility="hidden",n.screen.style.webkitBackfaceVisibility="hidden",n.screen.style.MozBackfaceVisibility="hidden","img"==e&&(n.setWidth(n.screen.width),n.setHeight(n.screen.height),n.setSelectable(!1))},n.setSelectable=function(e){e||(n.screen.style.userSelect="none",n.screen.style.MozUserSelect="none",n.screen.style.webkitUserSelect="none",n.screen.style.khtmlUserSelect="none",n.screen.style.oUserSelect="none",n.screen.style.msUserSelect="none",n.screen.msUserSelect="none",n.screen.ondragstart=function(e){return!1},n.screen.onselectstart=function(){return!1},n.screen.ontouchstart=function(e){return!1},n.screen.style.webkitTouchCallout="none",n.hasBeenSetSelectable_bl=!0)},n.setBackfaceVisibility=function(){n.screen.style.backfaceVisibility="visible",n.screen.style.webkitBackfaceVisibility="visible",n.screen.style.MozBackfaceVisibility="visible"},n.removeBackfaceVisibility=function(){n.screen.style.backfaceVisibility="hidden",n.screen.style.webkitBackfaceVisibility="hidden",n.screen.style.MozBackfaceVisibility="hidden"},n.getScreen=function(){return n.screen},n.setVisible=function(e){n.visible=e,1==n.visible?n.screen.style.visibility="visible":n.screen.style.visibility="hidden"},n.getVisible=function(){return n.visible},n.setResizableSizeAfterParent=function(){n.screen.style.width="100%",n.screen.style.height="100%"},n.getStyle=function(){return n.screen.style},n.setOverflow=function(e){n.overflow=e,n.screen.style.overflow=n.overflow},n.setPosition=function(e){n.position=e,n.screen.style.position=n.position},n.setDisplay=function(e){n.display=e,n.screen.style.display=n.display},n.setButtonMode=function(e){n.buttonMode=e,1==n.buttonMode?n.screen.style.cursor="pointer":n.screen.style.cursor="default"},n.setBkColor=function(e){n.screen.style.backgroundColor=e},n.setInnerHTML=function(e){n.innerHTML=e,n.screen.innerHTML=n.innerHTML},n.getInnerHTML=function(){return n.innerHTML},n.getRect=function(){return n.screen.getBoundingClientRect()},n.setAlpha=function(e){n.alpha=e,"opacity"==n.opacityType?n.screen.style.opacity=n.alpha:"filter"==n.opacityType&&(n.screen.style.filter="alpha(opacity="+100*n.alpha+")",n.screen.style.filter="progid:DXImageTransform.Microsoft.Alpha(Opacity="+Math.round(100*n.alpha)+")")},n.getAlpha=function(){return n.alpha},n.getRect=function(){return n.screen.getBoundingClientRect()},n.getGlobalX=function(){return n.getRect().left},n.getGlobalY=function(){return n.getRect().top},n.setX=function(e){n.x=e,n.hasTransform3d_bl?n.screen.style[n.transform]="translate3d("+n.x+"px,"+n.y+"px,0) scale("+n.scale+","+n.scale+")":n.screen.style.left=n.x+"px"},n.getX=function(){return n.x},n.setY=function(e){n.y=e,n.hasTransform3d_bl?n.screen.style[n.transform]="translate3d("+n.x+"px,"+n.y+"px,0) scale("+n.scale+","+n.scale+")":n.screen.style.top=n.y+"px"},n.getY=function(){return n.y},n.setWidth=function(e){n.w=e,"img"==n.type&&(n.screen.width=n.w),n.screen.style.width=n.w+"px"},n.getWidth=function(){return"div"==n.type?0!=n.screen.offsetWidth?n.screen.offsetWidth:n.w:"img"==n.type?0!=n.screen.offsetWidth?n.screen.offsetWidth:0!=n.screen.width?n.screen.width:n._w:"canvas"==n.type?0!=n.screen.offsetWidth?n.screen.offsetWidth:n.w:void 0},n.setHeight=function(e){n.h=e,"img"==n.type&&(n.screen.height=n.h),n.screen.style.height=n.h+"px"},n.getHeight=function(){return"div"==n.type?0!=n.screen.offsetHeight?n.screen.offsetHeight:n.h:"img"==n.type?0!=n.screen.offsetHeight?n.screen.offsetHeight:0!=n.screen.height?n.screen.height:n.h:"canvas"==n.type?0!=n.screen.offsetHeight?n.screen.offsetHeight:n.h:void 0},n.setScale=function(e){n.scale=e,n.hasTransform2d_bl?n.screen.style[n.transform]="scale("+n.scale+","+n.scale+")":n.screen.style[n.transform]="translate3d("+n.x+"px,"+n.y+"px,0) scale("+n.scale+","+n.scale+")"},n.setTransformOrigin=function(e,t){n.screen.style[n.transformOrigin]=e+"% "+t+"%"},n.setPositionAndScale=function(e,t,o){n.x=e,n.y=t,n.scale=o,n.screen.style[n.transform]="translate3d("+n.x+"px,"+n.y+"px,0) scale("+n.scale+","+n.scale+")"},n.disposeImage=function(){"img"==n.type&&(n.screen.src=null)},n.addChild=function(e){n.contains(e)&&n.children_ar.splice(FWDUtils.indexOfArray(n.children_ar,e),1),n.children_ar.push(e),n.screen.appendChild(e.screen)},n.removeChild=function(e){if(!n.contains(e))throw Error("##removeChild()## Child dose't exist, it can't be removed!");n.children_ar.splice(FWDUtils.indexOfArray(n.children_ar,e),1),n.screen.removeChild(e.screen)},n.contains=function(e){return-1!=FWDUtils.indexOfArray(n.children_ar,e)},n.addChildAt=function(e,t){if(0==n.getNumChildren())n.children_ar.push(e),n.screen.appendChild(e.screen);else if(1==t)n.screen.insertBefore(e.screen,n.children_ar[0].screen),n.screen.insertBefore(n.children_ar[0].screen,e.screen),n.contains(e)?n.children_ar.splice(FWDUtils.indexOfArray(n.children_ar,e),1,e):n.children_ar.splice(FWDUtils.indexOfArray(n.children_ar,e),0,e);else{if(t<0||t>n.getNumChildren()-1)throw Error("##getChildAt()## Index out of bounds!");n.screen.insertBefore(e.screen,n.children_ar[t].screen),n.contains(e)?n.children_ar.splice(FWDUtils.indexOfArray(n.children_ar,e),1,e):n.children_ar.splice(FWDUtils.indexOfArray(n.children_ar,e),0,e)}},n.getChildAt=function(e){if(e<0||e>n.getNumChildren()-1)throw Error("##getChildAt()## Index out of bounds!");if(0==n.getNumChildren())throw Errror("##getChildAt## Child dose not exist!");return n.children_ar[e]},n.removeChildAtZero=function(){n.screen.removeChild(n.children_ar[0].screen),n.children_ar.shift()},n.getNumChildren=function(){return n.children_ar.length},n.destroy=function(){n.hasBeenSetSelectable_bl&&(n.screen.ondragstart=null,n.screen.onselectstart=null,n.screen.ontouchstart=null),n.style=null,n.screen=null,n.transform=null,n.position=null,n.overflow=null,n.display=null,n.visible=null,n.buttonMode=null,n.x=null,n.y=null,n.w=null,n.h=null,n.rect=null,n.alpha=null,n.innerHTML=null,n.opacityType=null,n.isHtml5_bl=null,display=o=t=e=null,n.hasTransform3d_bl=null,n.hasTransform2d_bl=null,n=null},n.init()},function(t){var r=function(e){var i=this;i.init=function(){FWDUtils.checkIfHasTransforms(),FWDTweenLite.ticker.useRAF(!0),i.props_obj=e,i.isFullScreen_bl=!1,i.mustHaveHolderDiv_bl=!1,i.displayType=e.displayType.toLowerCase(),i.displayType||(i.displayType=r.FULL_SCREEN),i.displayType==r.RESPONSIVE&&(i.mustHaveHolderDiv_bl=!0),i.body=document.getElementsByTagName("body")[0],i.props_obj?i.props_obj.divHolderId||!i.mustHaveHolderDiv_bl?!i.mustHaveHolderDiv_bl||FWDUtils.getChildById(i.props_obj.divHolderId)?(i.displayType==r.FULL_SCREEN||i.displayType==r.LIGHTBOX?i.stageContainer=document.documentElement:i.stageContainer=FWDUtils.getChildById(i.props_obj.divHolderId),i.skinPath_str=i.props_obj.skinPath,i.skinPath_str.lastIndexOf("/")+1!=i.skinPath_str.length&&(i.skinPath_str+="/"),i.warningIconPath_str=i.skinPath_str+"warning.png",i.listeners={events_ar:[]},i.customContextMenu=null,i.info_do=null,i.main_do=null,i.preloader_do=null,i.navigator_do=null,i.controller_do=null,i.imageManager_do=null,i.descriptionWindow_do=null,i.hider=null,i.lightBox_do=null,i.rotateDumy_sdo=null,i.markersDumy_sdo=null,i.panDumy_sdo=null,i.useVectorIcons="yes"==i.props_obj.useVectorIcons,i.autoScale="yes"==i.props_obj.autoScale,i.originalWidth=i.props_obj.viewerWidth,i.originalHeight=i.props_obj.viewerHeight,i.imageWidth=i.props_obj.imageWidth,i.imageHeight=i.props_obj.imageHeight,i.viewerMinHeight=i.props_obj.viewerMinHeight||500,i.backgroundColor_str=i.props_obj.backgroundColor||"transparent",i.lightBoxBackgroundColor_str=i.props_obj.lightBoxBackgroundColor||"transparent",i.viewportWidth=0,i.viewportHeight=0,i.stageWidth=0,i.stageHeight=0,i.pageXOffset=t.pageXOffset,i.pageYOffset=t.pageYOffset,i.lastScrollY,i.lastScrollX,i.lightBoxBackgroundOpacity=i.props_obj.lightBoxBackgroundOpacity||1,i.lightBoxWidth=i.props_obj.lightBoxWidth||500,i.lightBoxHeight=i.props_obj.lightBoxHeight||400,i.finalLightBoxWidth,i.finalLightBoxHeight,i.resizeHandlerId_to,i.resizeHandler2Id_to,i.lighboxAnimDoneId_to,i.startHiderWithDelayId_to,i.initPluginId_to,i.activateWithDelayImagemanagerId_to,i.isMobile_bl=FWDUtils.isMobile,i.hibernate_bl=!1,i.safeToControll_bl=!1,i.initializeOnlyWhenVisible_bl=i.props_obj.initializeOnlyWhenVisible,i.initializeOnlyWhenVisible_bl="yes"==i.initializeOnlyWhenVisible_bl,i.displayType!=r.LIGHTBOX?(i.setupMainDo(),i.startResizeHandler(),i.initializeOnlyWhenVisible_bl?(t.addEventListener("scroll",i.onInitlalizeScrollHandler),i.scrollInit_to=setTimeout(i.onInitlalizeScrollHandler,500)):i.setupViewer()):i.initPluginId_to=setTimeout(function(){i.setupLightBox()},50)):alert("FWDViewer holder div is not found, please make sure that the div exsists and the id is correct! "+i.props_obj.divHolderId):alert("Property divHolderId is not defined in the FWDViewer constructor, _s property represents the div id into which the grid is added as a child!"):alert("FWDViewer constructor properties object is not defined!")},i.onInitlalizeScrollHandler=function(){var e=FWDUtils.getScrollOffsets();i.pageXOffset=e.x,i.pageYOffset=e.y,i.main_do.getGlobalY()>=-i.stageHeight&&i.main_do.getGlobalY()<i.ws.h&&(t.removeEventListener("scroll",i.onInitlalizeScrollHandler),i.setupViewer())},i.setupViewer=function(){i.data||(i.displayType==r.LIGHTBOX&&(i.setupMainDo(),i.startResizeHandler()),clearTimeout(i.scrollInit_to),i.setupInfo(),i.setupData(),FWDUtils.hasPointerEvent&&FWDUtils.isMobile&&t.addEventListener("contextmenu",i.preventContextMenu))},i.setupMainDo=function(){i.main_do=new FWDDisplayObject("div","relative"),i.main_do.screen.className="fwd360",i.main_do.getStyle().msTouchAction="none",i.main_do.getStyle().webkitTapHighlightColor="rgba(0, 0, 0, 0)",i.main_do.setBackfaceVisibility(),i.main_do.setBkColor(i.backgroundColor_str),i.useVectorIcons&&(i.background_sdo=new FWDSimpleDisplayObject("div"),i.isSkin2?i.background_sdo.screen.className="fwd360-controler-skin2-vector":i.background_sdo.screen.className="fwd360-controler-skin1-vector",i.background_sdo.setX(-5e3),i.main_do.addChild(i.background_sdo),setTimeout(function(){i.controllerHeight=parseInt(getComputedStyle(i.background_sdo.screen).getPropertyValue("height"))},1)),(!FWDUtils.isMobile||FWDUtils.isMobile&&FWDUtils.hasPointerEvent)&&i.main_do.setSelectable(!1),i.displayType==r.FULL_SCREEN?(i.stageContainer.style.overflow="hidden",i.main_do.getStyle().position="absolute",document.documentElement.style.overflow="hidden"):i.displayType==r.LIGHTBOX&&(i.main_do.getStyle().position="absolute"),i.stageContainer.appendChild(i.main_do.screen)},i.preventContextMenu=function(e){e.preventDefault()},i.setupInfo=function(){FWDInfo.setPrototype(),i.info_do=new FWDInfo(i,i.warningIconPath_str)},i.startResizeHandler=function(){t.addEventListener("resize",i.onResizeHandler),t.addEventListener("scroll",i.onScrollHandler),i.onResizeHandler(!0),i.resizeHandlerId_to=setTimeout(function(){i.resizeHandler(!0)},500)},i.stopResizeHandler=function(){t.removeEventListener("resize",i.onResizeHandler),t.removeEventListener("scroll",i.onScrollHandler),clearTimeout(i.resizeHandlerId_to)},i.onResizeHandler=function(e){i.resizeHandler()},i.onScrollHandler=function(e){var t;i.hibernate_bl||(!i.isFullScreen_bl&&i.displayType!=r.FULL_SCREEN&&i.displayType!=r.LIGHTBOX||i.scrollHandler(),t=FWDUtils.getScrollOffsets(),i.scrollOffsets=t)},i.scrollHandler=function(){var e=FWDUtils.getScrollOffsets();i.pageXOffset=e.x,i.pageYOffset=e.y,i.displayType==r.LIGHTBOX?(i.lightBox_do.setX(e.x),i.lightBox_do.setY(e.y)):!i.isFullScreen_bl&&i.displayType!=r.FULL_SCREEN||(i.main_do.setX(e.x),i.main_do.setY(e.y))},i.resizeHandler=function(e){var t,o,n;i.hibernate_bl||(t=FWDUtils.getScrollOffsets(),i.scrollOffsets=t,o=FWDUtils.getViewportSize(),i.ws=o,i.viewportWidth==o.w&&i.viewportHeight==o.h&&i.pageXOffset==t.x&&i.pageYOffset==t.y&&!e||(i.viewportWidth=o.w,i.viewportHeight=o.h,i.pageXOffset=t.x,i.pageYOffset=t.y,i.displayType!=r.LIGHTBOX||i.isFullScreen_bl?i.isFullScreen_bl||i.displayType==r.FULL_SCREEN?(i.main_do.setX(t.x),i.main_do.setY(t.y),i.stageWidth=o.w,i.stageHeight=o.h):(i.autoScale?(i.stageContainer.style.width="100%",i.stageContainer.offsetWidth>i.originalWidth&&(i.stageContainer.style.width=i.originalWidth+"px"),i.scale=i.stageContainer.offsetWidth/i.originalWidth,i.stageWidth=parseInt(i.scale*i.originalWidth),i.stageHeight=Math.max(parseInt(i.scale*i.originalHeight),200),i.stageHeight<i.viewerMinHeight&&(i.stageHeight=i.viewerMinHeight),i.stageContainer.style.height=i.stageHeight+"px"):(i.stageContainer.style.width="100%",i.stageContainer.offsetWidth>i.originalWidth&&(i.stageContainer.style.width=i.originalWidth+"px"),i.stageWidth=parseInt(i.stageContainer.offsetWidth),i.stageHeight=i.originalHeight),i.main_do.setX(0),i.main_do.setY(0)):(i.lightBoxWidth>o.w?(i.finalLightBoxWidth=o.w,i.finalLightBoxHeight=parseInt(i.lightBoxHeight*(o.w/i.lightBoxWidth))):(i.finalLightBoxWidth=i.lightBoxWidth,i.finalLightBoxHeight=i.lightBoxHeight),i.finalLightBoxHeight<i.viewerMinHeight&&(i.finalLightBoxHeight=i.viewerMinHeight),i.lightBox_do.setWidth(o.w),i.lightBox_do.setHeight(o.h),i.lightBox_do.setX(t.x),i.lightBox_do.setY(t.y),i.lightBox_do.mainLightBox_do.setX(parseInt((o.w-i.finalLightBoxWidth)/2)),i.lightBox_do.mainLightBox_do.setY(parseInt((o.h-i.finalLightBoxHeight)/2)),i.lightBox_do.closeButton_do&&!i.lightBox_do.closeButtonIsTweening_bl&&(parseInt((o.w+i.finalLightBoxWidth)/2-i.lightBox_do.closeButton_do.totalWidth/2),parseInt((o.h-i.finalLightBoxHeight)/2-i.lightBox_do.closeButton_do.totalHeight/2),n=o.w-i.lightBox_do.closeButton_do.totalWidth-10,FWDAnimation.killTweensOf(i.lightBox_do.closeButton_do),i.lightBox_do.closeButton_do.setX(n),i.lightBox_do.closeButton_do.setY(10)),i.main_do.setX(0),i.main_do.setY(0),i.lightBox_do.mainLightBox_do.setWidth(i.finalLightBoxWidth),i.lightBox_do.mainLightBox_do.setHeight(i.finalLightBoxHeight),i.stageWidth=i.finalLightBoxWidth,i.stageHeight=i.finalLightBoxHeight),i.main_do.setWidth(i.stageWidth),i.main_do.setHeight(i.stageHeight),i.preloader_do&&i.preloader_do.positionAndResize(),i.imageManager_do&&i.imageManager_do.resizeAndPosition(!1),i.controller_do&&i.controller_do.resizeAndPosition(),i.navigator_do&&i.navigator_do.resizeAndPosition(),i.descriptionWindow_do&&i.descriptionWindow_do.isShowed_bl&&i.descriptionWindow_do.resizeAndPosition()))},i.setupLightBox=function(){FWDLightBox.setPrototype(),i.lightBox_do=new FWDLightBox(i,i.lightBoxBackgroundColor_str,i.backgroundColor_str,i.lightBoxBackgroundOpacity,i.lightBoxWidth,i.lightBoxHeight),i.lightBox_do.addListener(FWDLightBox.CLOSE,i.lightBoxCloseHandler),i.lightBox_do.addListener(FWDLightBox.HIDE_COMPLETE,i.lightBoxHideCompleteHandler),i.lighboxAnimDoneId_to=setTimeout(i.setupViewer,1200)},i.lightBoxCloseHandler=function(){i.stopResizeHandler(),i.data&&i.data.stopToLoad()},i.lightBoxHideCompleteHandler=function(){i.dispatchEvent&&i.dispatchEvent(r.CLOSE_LIGHTBOX),i.destroy()},i.setupContextMenu=function(){0!=i.data.buttons_ar.length&&(FWDContextMenu.setPrototype(),i.customContextMenu=new FWDContextMenu(i,i.data),i.customContextMenu.addListener(FWDController.ROTATE,i.contextMenuRotateHandler),i.customContextMenu.addListener(FWDController.PAN,i.contextMenuPanHandler),i.customContextMenu.addListener(FWDController.GOTO_NEXT_IMAGE,i.contextMenuGoToNextImageHandler),i.customContextMenu.addListener(FWDController.GOTO_PREV_IMAGE,i.contextMenuGoToPrevImageHandler),i.customContextMenu.addListener(FWDController.ZOOM_IN,i.contextMenuZoomInHandler),i.customContextMenu.addListener(FWDController.ZOOM_OUT,i.contextMenuZoomOutHandler),i.customContextMenu.addListener(FWDController.START_SLIDE_SHOW,i.contextMenuStartSlideShowHandler),i.customContextMenu.addListener(FWDController.STOP_SLIDE_SHOW,i.contextMenuStopSlideShowHandler),i.customContextMenu.addListener(FWDController.SHOW_INFO,i.contextMenuShowInfoWindow),i.customContextMenu.addListener(FWDController.GO_FULL_SCREEN,i.controllerGoFullScreen),i.customContextMenu.addListener(FWDController.GO_NORMAL_SCREEN,i.controllerGoNormalSreen))},i.contextMenuRotateHandler=function(e){i.controller_do.rotateButtonOnMouseDownHandler(e)},i.contextMenuPanHandler=function(e){i.controller_do.panButtonOnMouseDownHandler(e.e)},i.contextMenuGoToNextImageHandler=function(e){i.controller_do.nextButtonStartHandler(e)},i.contextMenuGoToPrevImageHandler=function(e){i.controller_do.prevButtonStartHandler(e)},i.contextMenuZoomInHandler=function(e){i.controller_do.zoomInStartHandler(e)},i.contextMenuZoomOutHandler=function(e){i.controller_do.zoomOutStartHandler(e)},i.contextMenuStartSlideShowHandler=function(e){i.controller_do.startSlideshow()},i.contextMenuShowInfoWindow=function(e){i.main_do.addChild(i.descriptionWindow_do),i.descriptionWindow_do.hide(!1,!0),i.descriptionWindow_do.show(i.data.infoText_str)},i.contextMenuStopSlideShowHandler=function(e){i.controller_do.stopSlideShow()},i.setupData=function(){FWDData.setPrototype(),i.data=new FWDData(i.props_obj),i.data.addListener(FWDData.LIGHBOX_CLOSE_BUTTON_LOADED,i.onLightboxCloseButtonLoadComplete),i.data.addListener(FWDData.PRELOADER_LOAD_DONE,i.onPreloaderLoadDone),i.data.addListener(FWDData.FIRST_IMAGE_LOAD_COMPLETE,i.firstImageLoadComplete),i.data.addListener(FWDData.LOAD_ERROR,i.dataLoadError),i.data.addListener(FWDData.SKIN_PROGRESS,i.dataSkinProgressHandler),i.data.addListener(FWDData.IMAGES_PROGRESS,i.dataImagesProgressHandler),i.data.addListener(FWDData.LOAD_DONE,i.dataLoadComplete),i.data.addListener(FWDData.IMAGE_LOADED,i.onImageLoad),i.data.addListener(FWDData.IMAGES_LOAD_COMPLETE,i.dataImagesLoadComplete)},i.onLightboxCloseButtonLoadComplete=function(){i.displayType==r.LIGHTBOX&&i.lightBox_do.setupCloseButton(i.data.mainLightboxCloseButtonN_img,i.data.mainLightboxCloseButtonS_img)},i.firstImageLoadComplete=function(){i.data.showNavigator_bl&&i.setupNavigator(),i.imageManager_do.setAlpha(0),FWDAnimation.to(i.imageManager_do,.6,{alpha:1}),i.main_do.addChild(i.preloader_do)},i.onPreloaderLoadDone=function(){i.setupPreloader()},i.onImageLoad=function(e){i.imageManager_do.showLoadedImage(e.id)},i.dataLoadError=function(e,t){i.main_do.addChild(i.info_do),i.info_do.showText(e.text)},i.dataSkinProgressHandler=function(e){i.preloader_do&&i.preloader_do.update(e.percent,"Loading skin: "+Math.round(100*e.percent)+"%")},i.dataImagesProgressHandler=function(e){i.preloader_do.update(e.percent,i.data.preloaderText_str+Math.round(100*e.percent)+"%")},i.dataLoadComplete=function(e){i.setupImageManager(),i.setupDisableMarkersDumy(),i.setupController(),i.main_do.addChild(i.preloader_do),i.isMobile_bl||i.setupContextMenu()},i.dataImagesLoadComplete=function(){i.preloader_do.hide(!0),i.activateWithDelayImagemanagerId_to=setTimeout(function(){i.imageManager_do.activate()},41),i.data.hideController_bl&&(i.setupHider(),i.controller_do.setupHider(i.hider),i.imageManager_do.setupHider(i.hider),i.navigator_do&&i.navigator_do.setupHider(i.hider),i.startHiderWithDelayId_to=setTimeout(function(){i.hider.start()},i.data.hideControllerDelay)),i.data.startSlideShowOnLeave&&i.setupSlideshowOnLeave(),i.customContextMenu&&(i.customContextMenu.isActive_bl=!0),i.navigator_do&&i.navigator_do.activate(),i.setupDescriptionWindow(),i.setupRotationDumy(),i.setupPanDumy(),i.data.slideShowAutoPlay_bl&&i.controller_do.startSlideshow(),i.dispatchEvent&&i.dispatchEvent(r.All_IMAGES_LOADED),i.safeToControll_bl=!0},i.setupSlideshowOnLeave=function(){i.isMobile_bl?t.addEventListener("touchstart",i.onMouseOrTouchUpdate):i.main_do.screen.addEventListener("mouseleave",i.onMouseOrTouchUpdate),t.addEventListener("scroll",i.onScrollHandlerLeave)},i.onScrollHandlerLeave=function(e){i.main_do.getGlobalY()<=-i.stageHeight||i.main_do.getGlobalY()>i.ws.h?i.controller_do.stopSlideShow():i.controller_do.startSlideshow()},i.onMouseOrTouchUpdate=function(e){wc=FWDUtils.getViewportMouseCoordinates(e),console.log(),(!i.isMobile_bl||FWDUtils.hitTest(i.main_do.screen,wc.screenX,wc.screenY))&&i.isMobile_bl||i.imageManager_do.markerShowed||i.controller_do.startSlideshow()},i.setupPreloader=function(){FWDPreloader.setPrototype(),i.preloader_do=new FWDPreloader(i,i.data.preloaderFontColor_str,i.data.preloaderBackgroundColor_str),i.preloader_do.addListener(FWDPreloader.HIDE_COMPLETE,i.onPreloaderHideCompleteHandler),i.preloader_do.positionAndResize(),i.preloader_do.hide(!1),i.preloader_do.show(!0),i.main_do.addChild(i.preloader_do)},i.onPreloaderHideCompleteHandler=function(){i.main_do.removeChild(i.preloader_do),i.preloader_do.destroy(),i.preloader_do=null},i.setupHider=function(){FWDHider.setPrototype(),i.hider=new FWDHider(i.data.isMobile_bl,i.main_do,i.data.hideControllerDelay)},i.setupController=function(){FWDController.setPrototype(),i.controller_do=new FWDController(i.data,i),i.controller_do.addListener(FWDController.MOUSE_DOWN,i.controllerOnMouseDownHandler),i.controller_do.addListener(FWDController.CHANGE_NAVIGATION_STYLE,i.setImageViewerNavigationStyleHandler),i.controller_do.addListener(FWDController.GOTO_TOP_OR_BOTTOM_IMAGE,i.gotoTopOrBottomImageHandler),i.controller_do.addListener(FWDController.GOTO_NEXT_OR_PREV_IMAGE,i.gotoNextImageHandler),i.controller_do.addListener(FWDController.GOTO_NEXT_OR_PREV_IMAGE_COMPLETE,i.gotoNextImageCompleteHandler),i.controller_do.addListener(FWDController.DISABLE_PAN_OR_MOVE,i.disablePanOrMoveHandler),i.controller_do.addListener(FWDController.ENABLE_PAN_OR_MOVE,i.enablePanOrMoveHandler),i.controller_do.addListener(FWDController.SCROLL_BAR_UPDATE,i.controllerScrollBarUpdateHandler),i.controller_do.addListener(FWDController.ZOOM_WITH_BUTTONS,i.controllerZoomHandler),i.controller_do.addListener(FWDController.START_SLIDE_SHOW,i.controllerStartSlideshowHandler),i.controller_do.addListener(FWDController.STOP_SLIDE_SHOW,i.controllerStopSlideshowHandler),i.controller_do.addListener(FWDController.SHOW_INFO,i.controllerShowInfoHandler),i.controller_do.addListener(FWDController.GO_FULL_SCREEN,i.controllerGoFullScreen),i.controller_do.addListener(FWDController.GO_NORMAL_SCREEN,i.controllerGoNormalSreen),i.controller_do&&i.controller_do.resizeAndPosition(),i.main_do.addChild(i.controller_do)},i.controllerOnMouseDownHandler=function(){i.imageManager_do.hideToolTipWindow()},i.setImageViewerNavigationStyleHandler=function(e){i.imageManager_do.setDraggingMode(e.draggingMode),i.customContextMenu&&(e.draggingMode==FWDController.ROTATE?i.customContextMenu.enablePanButton():e.draggingMode==FWDController.PAN&&i.customContextMenu.enableRotateButton())},i.gotoTopOrBottomImageHandler=function(e){i.data.areAllImagesLoaded_bl&&(i.imageManager_do.curSet+=e.dir,i.imageManager_do.gotoImage())},i.gotoNextImageHandler=function(e){i.data.areAllImagesLoaded_bl&&(i.imageManager_do.curId+=e.dir,i.imageManager_do.gotoImage())},i.gotoNextImageCompleteHandler=function(e){i.data.areAllImagesLoaded_bl&&i.imageManager_do.addLargeImage()},i.disablePanOrMoveHandler=function(){i.imageManager_do.disableOrEnablePanOrTouch(!0),i.showMarkersDumy()},i.enablePanOrMoveHandler=function(){i.imageManager_do.disableOrEnablePanOrTouch(!1),i.hideMarkersDumy()},i.controllerScrollBarUpdateHandler=function(e){i.imageManager_do.zoomInOrOutWithScrollBar(e.percent)},i.controllerZoomHandler=function(e){i.imageManager_do.zoomInOrOutWithButtons(e.dir,e.withPause)},i.controllerStartSlideshowHandler=function(e){i.customContextMenu&&i.customContextMenu.updateSlideShowButton(1)},i.controllerStopSlideshowHandler=function(e){i.customContextMenu&&i.customContextMenu.updateSlideShowButton(0)},i.controllerShowInfoHandler=function(){i.main_do.contains(i.descriptionWindow_do)||(i.main_do.addChild(i.descriptionWindow_do),i.descriptionWindow_do.hide(!1,!0),i.descriptionWindow_do.show(i.data.infoText_str))},i.controllerGoFullScreen=function(){i.isFullScreen_bl||(i.imageManager_do.centerImage(),i.controller_do.setFullScreenButtonState(0),i.customContextMenu&&i.customContextMenu.updateFullScreenButton(1),document.addEventListener("fullscreenchange",i.onFullScreenChange),document.addEventListener("mozfullscreenchange",i.onFullScreenChange),document.addEventListener("webkitfullscreenchange",i.onFullScreenChange),i.goFullScreen())},i.controllerGoNormalSreen=function(){i.isFullScreen_bl&&(i.goNormalScreen(),i.imageManager_do.centerImage(),i.controller_do.setFullScreenButtonState(1),i.customContextMenu&&i.customContextMenu.updateFullScreenButton(0))},i.onFullScreenChange=function(e){document.fullScreen||document.mozFullScreen||document.webkitIsFullScreen||document.msieFullScreen||(i.showButtonsLabels_bl&&i.fullscreenToolTip_do.setLabel(i.fullscreenToolTip_do.toolTipLabel2_str),i.controller_do.setFullScreenButtonState(1),i.customContextMenu&&i.customContextMenu.updateFullScreenButton(0),i.controllerGoNormalSreen(),i.isFullScreen_bl=!1)},i.setupImageManager=function(e){FWDImageManager.setPrototype(),i.imageManager_do=new FWDImageManager(i.data,i),i.imageManager_do.addListener(FWDImageManager.LARGE_IMAGE_LOAD_ERROR,i.imageManagerLoadError),i.imageManager_do.addListener(FWDImageManager.SCROLL_BAR_UPDATE,i.imageManagerScrollBarUpdate),i.imageManager_do.addListener(FWDImageManager.PAN_START,i.imageManagerPanStartHandler),i.imageManager_do.addListener(FWDImageManager.ROTATE_START,i.imageManagerRotateStartHandler),i.imageManager_do.addListener(FWDImageManager.ROTATE_UPDATE,i.imageManagerRotateUpdateHandler),i.imageManager_do.addListener(FWDImageManager.SHOW_NAVIGATOR,i.imageManagerShowNavigatorHandler),i.imageManager_do.addListener(FWDImageManager.HIDE_NAVIGATOR,i.imageManagerHideNavigatorHandler),i.imageManager_do.addListener(FWDImageManager.UPDATE_NAVIGATOR,i.imageManagerUpdateNavigatorHandler),i.imageManager_do.addListener(FWDImageManager.SHOW_INFO,i.imageManagerShowInfoHandler),i.imageManager_do.addListener(FWDImageManager.ZOOM,i.imageManagerZoom),i.main_do.addChild(i.imageManager_do)},i.imageManagerZoom=function(e){i.dispatchEvent(FWDImageManager.ZOOM,{scale:e.scale})},i.imageManagerLoadError=function(e){i.main_do.addChild(i.info_do),i.info_do.showText(e.error)},i.imageManagerScrollBarUpdate=function(e){i.controller_do.updateScrollBar(e.percent,e.animate)},i.imageManagerPanStartHandler=function(e){i.controller_do.stopSlideShow()},i.imageManagerRotateStartHandler=function(e){i.controller_do.stopSlideShow()},i.imageManagerRotateUpdateHandler=function(e){i.navigator_do&&i.navigator_do.updateImage(e.image),i.main_do.contains(i.info_do)&&i.main_do.removeChild(i.info_do)},i.imageManagerShowNavigatorHandler=function(){i.navigator_do.show(!0)},i.imageManagerHideNavigatorHandler=function(){i.navigator_do.hide(!0)},i.imageManagerUpdateNavigatorHandler=function(e){i.percentX=e.percentX,i.percentY=e.percentY,i.percentWidth=e.percentWidth,i.percentHeight=e.percentHeight,i.navigator_do.update(e.percentX,e.percentY,e.percentWidth,e.percentHeight,e.animate)},i.imageManagerShowInfoHandler=function(e){i.main_do.addChild(i.descriptionWindow_do),i.descriptionWindow_do.hide(!1,!0),i.descriptionWindow_do.show(e.text)},i.setupNavigator=function(){FWDNavigator.setPrototype(),i.navigator_do=new FWDNavigator(i,i.data),i.navigator_do.addListener(FWDNavigator.MOUSE_DOWN,i.navigatorOnMouseDownHandler),i.navigator_do.addListener(FWDNavigator.PAN_START,i.navigatorPanStartHandler),i.navigator_do.addListener(FWDNavigator.PAN,i.navigatorPanHandler),i.main_do.addChild(i.navigator_do)},i.navigatorOnMouseDownHandler=function(){i.imageManager_do.hideToolTipWindow()},i.navigatorPanStartHandler=function(e){i.controller_do.stopSlideShow()},i.navigatorPanHandler=function(e){i.imageManager_do.updateOnNavigatorPan(e.percentX,e.percentY)},i.setupDescriptionWindow=function(){FWDDescriptionWindow.setPrototype(),i.descriptionWindow_do=new FWDDescriptionWindow(i,i.data),i.descriptionWindow_do.addListener(FWDDescriptionWindow.SHOW_START,i.descWindowShowStartHandler),i.descriptionWindow_do.addListener(FWDDescriptionWindow.HIDE_COMPLETE,i.descWindowHideComplteHandler),i.main_do.addChild(i.descriptionWindow_do),setTimeout(function(){i.main_do.removeChild(i.descriptionWindow_do)},500)},i.descWindowShowStartHandler=function(){i.customContextMenu&&i.customContextMenu.disable()},i.descWindowHideComplteHandler=function(){i.customContextMenu&&i.customContextMenu.enable(),i.main_do.removeChild(i.descriptionWindow_do)},i.setupRotationDumy=function(){i.rotateDumy_sdo=new FWDSimpleDisplayObject("div"),FWDUtils.isIE&&(i.rotateDumy_sdo.getStyle().background="url('dumy')"),i.data.dragInAllDirection_bl?i.rotateDumy_sdo.getStyle().cursor="url("+i.data.handGrabPath_str+"), default":i.data.dragVertical_bl?i.rotateDumy_sdo.getStyle().cursor="url("+i.data.handGrabRotateVerticalPath_str+"), default":i.rotateDumy_sdo.getStyle().cursor="url("+i.data.handGrabRotatePath_str+"), default",i.main_do.addChild(i.rotateDumy_sdo)},i.showRotateDumy=function(){i.rotateDumy_sdo.setWidth(i.stageWidth),i.rotateDumy_sdo.setHeight(i.stageHeight)},i.hideRotateDumy=function(){i.rotateDumy_sdo.setWidth(0),i.rotateDumy_sdo.setHeight(0)},i.setupPanDumy=function(){i.panDumy_sdo=new FWDSimpleDisplayObject("div"),FWDUtils.isIE&&(i.panDumy_sdo.getStyle().background="url('dumy')"),i.panDumy_sdo.getStyle().cursor="url("+i.data.handGrabPath_str+"), default",i.main_do.addChild(i.panDumy_sdo)},i.showPanDumy=function(){i.panDumy_sdo.setWidth(i.stageWidth),i.panDumy_sdo.setHeight(i.stageHeight)},i.hidePanDumy=function(){i.panDumy_sdo.setWidth(0),i.panDumy_sdo.setHeight(0)},i.setupDisableMarkersDumy=function(){i.markersDumy_sdo=new FWDSimpleDisplayObject("div"),FWDUtils.isIE&&(i.markersDumy_sdo.getStyle().background="url('dumy')"),i.main_do.addChild(i.markersDumy_sdo)},i.showMarkersDumy=function(){i.markersDumy_sdo.setWidth(i.stageWidth),i.markersDumy_sdo.setHeight(i.stageHeight)},i.hideMarkersDumy=function(){i.markersDumy_sdo.setWidth(0),i.markersDumy_sdo.setHeight(0)},i.goFullScreen=function(){var e=FWDUtils.getScrollOffsets();i.lastScrollX=e.x,i.lastScrollY=e.y,document.documentElement.requestFullScreen?document.documentElement.requestFullScreen():document.documentElement.mozRequestFullScreen?document.documentElement.mozRequestFullScreen():document.documentElement.webkitRequestFullScreen?document.documentElement.webkitRequestFullScreen():document.documentElement.msieRequestFullScreen&&document.documentElement.msieRequestFullScreen(),i.main_do.getStyle().position="absolute",document.documentElement.style.overflow="hidden",FWDUtils.isIEAndLessThen9?i.body.appendChild(i.main_do.screen):document.documentElement.appendChild(i.main_do.screen),i.main_do.getStyle().zIndex=9999999,i.isFullScreen_bl=!0,i.resizeHandler(!0),i.dispatchEvent(r.GO_FULLSCREEN)},i.goNormalScreen=function(){document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msieCancelFullScreen&&document.msieCancelFullScreen(),i.addMainDoToTheOriginalParent(),i.isFullScreen_bl=!1,i.resizeHandler(!0),i.dispatchEvent(r.GO_NORMALSCREEN)},i.addMainDoToTheOriginalParent=function(){i.displayType!=r.FULL_SCREEN&&(document.documentElement.style.overflow="visible"),i.displayType==r.FULL_SCREEN?document.documentElement.appendChild(i.main_do.screen):(i.displayType==r.LIGHTBOX||(i.main_do.getStyle().position="relative"),i.stageContainer.appendChild(i.main_do.screen)),i.main_do.getStyle().zIndex=0,i.navigator_do&&setTimeout(function(){i.navigator_do.update(.5,.5,i.percentWidth,i.percentHeight,!1)},200),t.scrollTo(i.lastScrollX,i.lastScrollY)},i.pan=function(){i.safeToControll_bl&&i.controller_do.pan()},i.rotate=function(){i.safeToControll_bl&&i.controller_do.rotate()},i.rotateLeft=function(){i.safeToControll_bl&&(i.controller_do.prevButtonStartHandler(),clearTimeout(i.controller_do.gotoImageId_to))},i.rotateRight=function(){i.safeToControll_bl&&(i.controller_do.nextButtonStartHandler(),clearTimeout(i.controller_do.gotoImageId_to))},i.zoomOut=function(){i.safeToControll_bl&&i.controller_do.zoomOutStartHandler()},i.zoomIn=function(){i.safeToControll_bl&&i.controller_do.zoomInStartHandler()},i.play=function(){i.safeToControll_bl&&i.controller_do.startSlideshow()},i.pause=function(){i.safeToControll_bl&&i.controller_do.stopSlideShow()},i.info=function(){i.safeToControll_bl&&i.controller_do.infoButtonStartHandler()},i.fullScreen=function(){i.safeToControll_bl&&i.controllerGoFullScreen()},i.normalScreen=function(){i.safeToControll_bl&&i.controllerGoNormalSreen()},i.playToImage=function(e,t){i.safeToControll_bl&&i.controller_do.playToImage(e,t)},i.hideInfoWindow=function(){i.descriptionWindow_do.hide(!0)},i.cleanMainEvents=function(){t.removeEventListener("resize",i.onResizeHandler),t.removeEventListener("scroll",i.onScrollHandler),document.removeEventListener("fullscreenchange",i.onFullScreenChange),document.removeEventListener("mozfullscreenchange",i.onFullScreenChange),document.removeEventListener("webkitfullscreenchange",i.onFullScreenChange),i.isMobile_bl?t.removeEventListener("touchstart",i.onMouseOrTouchUpdate):i.main_do.screen.removeEventListener("mouseleave",i.onMouseOrTouchUpdate),t.removeEventListener("scroll",i.onScrollHandlerLeave),i.isMobile_bl&&t.removeEventListener("contextmenu",i.preventContextMenu),clearTimeout(i.resizeHandlerId_to),clearTimeout(i.resizeHandler2Id_to),clearTimeout(i.lighboxAnimDoneId_to),clearTimeout(i.startHiderWithDelayId_to),clearTimeout(i.initPluginId_to),clearTimeout(i.activateWithDelayImagemanagerId_to)},i.addListener=function(e,t){if(null==e)throw Error("type is required.");if("object"==typeof e)throw Error("type must be of type String.");if("function"!=typeof t)throw Error("listener must be of type Function.");var o={};o.type=e,o.listener=t,(o.target=i).listeners.events_ar.push(o)},i.dispatchEvent=function(e,t){if(null!=i.listeners){if(null==e)throw Error("type is required.");if("object"==typeof e)throw Error("type must be of type String.");for(var o=0,n=i.listeners.events_ar.length;o<n;o++)if(i.listeners.events_ar[o].target===i&&i.listeners.events_ar[o].type===e){if(t)for(var r in t)i.listeners.events_ar[o][r]=t[r];i.listeners.events_ar[o].listener.call(i,i.listeners.events_ar[o])}}},i.removeListener=function(e,t){if(null==e)throw Error("type is required.");if("object"==typeof e)throw Error("type must be of type String.");if("function"!=typeof t)throw Error("listener must be of type Function."+e);for(var o=0,n=i.listeners.events_ar.length;o<n;o++)if(i.listeners.events_ar[o].target===i&&i.listeners.events_ar[o].type===e&&i.listeners.events_ar[o].listener===t){i.listeners.events_ar.splice(o,1);break}},i.destroy=function(){i.cleanMainEvents(),i.data&&i.data.destroy(),i.lightBox_do&&i.lightBox_do.destroy(),i.preloader_do&&i.preloader_do.destroy(),i.customContextMenu&&i.customContextMenu.destroy(),i.info_do&&i.info_do.destroy(),i.imageManager_do&&(FWDAnimation.killTweensOf(i.imageManager_do),i.imageManager_do.destroy()),i.controller_do&&i.controller_do.destroy(),i.navigator_do&&i.navigator_do.destroy(),i.hider&&i.hider.destroy(),i.descriptionWindow_do&&i.descriptionWindow_do.destroy(),i.rotateDumy_sdo&&i.rotateDumy_sdo.destroy(),i.markersDumy_sdo&&i.markersDumy_sdo.destroy(),i.panDumy_sdo&&i.panDumy_sdo.destroy();try{i.main_do.screen.parentNode.removeChild(i.main_do.screen)}catch(e){}i.main_do&&(i.main_do.setInnerHTML(""),i.main_do.destroy()),i.data=null,i.lightBox_do=null,i.customContextMenu=null,i.preloader_do=null,i.hider=null,i.info_do=null,i.main_do=null,i.imageManager_do=null,i.navigator_do=null,i.rotateDumy_sdo=null,i.markersDumy_sdo=null,i.panDumy_sdo=null,i=null},i.init()};r.ZOOM="zoom",r.GO_FULLSCREEN="goFullScreen",r.GO_NORMALSCREEN="goNormalScreen",r.CLOSE_LIGHTBOX="closeLightBox",r.FULL_SCREEN="fullscreen",r.LIGHTBOX="lightbox",r.RESPONSIVE="responsive",r.All_IMAGES_LOADED="allImagesLoaded",t.FWDViewer=r}(window);