(function() { 
var requirejs,require,define;
(function(){function J(d){return ia.call(d)==="[object Function]"}function X(d){return ia.call(d)==="[object Array]"}function Y(d,f,l){for(var j in f)if(!(j in F)&&(!(j in d)||l))d[j]=f[j];return h}function K(d,f,l){d=new Error(f+"\nhttp://requirejs.org/docs/errors.html#"+d);if(l)d.originalError=l;return d}function ja(d,f,l){var j,q,o;for(j=0;o=f[j];j++){o=typeof o==="string"?{name:o}:o;q=o.location;if(l&&(!q||q.indexOf("/")!==0&&q.indexOf(":")===-1))q=l+"/"+(q||o.name);d[o.name]={name:o.name,location:q||
o.name,main:(o.main||"main").replace(ua,"").replace(ka,"")}}}function Z(d,f){if(d.holdReady)d.holdReady(f);else if(f)d.readyWait+=1;else d.ready(true)}function va(d){function f(a){var b,c;for(b=0;c=a[b];b++)if(c==="."){a.splice(b,1);b-=1}else if(c==="..")if(b===1&&(a[2]===".."||a[0]===".."))break;else if(b>0){a.splice(b-1,2);b-=2}}function l(a,b){var c;if(a.charAt(0)===".")if(b){if(r.pkgs[b])b=[b];else{b=b.split("/");b=b.slice(0,b.length-1)}a=b.concat(a.split("/"));f(a);c=r.pkgs[b=a[0]];a=a.join("/");
if(c&&a===b+"/"+c.main)a=b}return a}function j(a,b){var c=a?a.indexOf("!"):-1,e=null,g=b?b.name:null,k=a,n,m;if(c!==-1){e=a.substring(0,c);a=a.substring(c+1,a.length)}if(e)e=l(e,g);if(a){if(e)n=(c=p[e])?c.normalize?c.normalize(a,function(u){return l(u,g)}):l(a,g):"__$p"+g+"@"+a;else n=l(a,g);m=$[n];if(!m){m=h.toModuleUrl?h.toModuleUrl(i,n,b):i.nameToUrl(n,null,b);$[n]=m}}return{prefix:e,name:n,parentMap:b,url:m,originalName:k,fullName:e?e+"!"+n:n}}function q(){var a=true,b=r.priorityWait,c,e;if(b){for(e=
0;c=b[e];e++)if(!v[c]){a=false;break}a&&delete r.priorityWait}return a}function o(a){return function(b){a.exports=b}}function L(a,b,c){return function(){var e=[].concat(wa.call(arguments,0)),g;if(c&&J(g=e[e.length-1]))g.__requireJsBuild=true;e.push(b);return a.apply(null,e)}}function la(a,b){b=L(i.require,a,b);Y(b,{nameToUrl:L(i.nameToUrl,a),toUrl:L(i.toUrl,a),defined:L(i.requireDefined,a),specified:L(i.requireSpecified,a),ready:h.ready,isBrowser:h.isBrowser});if(h.paths)b.paths=h.paths;return b}
function xa(a){var b,c,e,g,k,n,m,u=T[a];if(u)for(g=0;c=u[g];g++){b=c.fullName;c=j(c.originalName,c.parentMap);c=c.fullName;e=w[b]||[];k=w[c];if(c!==b){if(b in y){delete y[b];y[c]=true}w[c]=k?k.concat(e):e;delete w[b];for(k=0;k<e.length;k++){m=e[k].depArray;for(n=0;n<m.length;n++)if(m[n]===b)m[n]=c}}}delete T[a]}function ma(a){var b=a.prefix,c=a.fullName;if(!(y[c]||c in p)){if(b&&!G[b]){G[b]=undefined;(T[b]||(T[b]=[])).push(a);(w[b]||(w[b]=[])).push({onDep:function(e){e===b&&xa(b)}});ma(j(b))}i.paused.push(a)}}
function aa(a){var b,c,e;b=a.callback;var g=a.fullName,k=[],n=a.depArray;if(b&&J(b)){if(n)for(b=0;b<n.length;b++)k.push(a.deps[n[b]]);try{c=h.execCb(g,a.callback,k,p[g])}catch(m){e=m}if(g)if(a.cjsModule&&a.cjsModule.exports!==undefined)c=p[g]=a.cjsModule.exports;else if(c===undefined&&a.usingExports)c=p[g];else p[g]=c}else if(g)c=p[g]=b;if(B[a.waitId]){delete B[a.waitId];a.isDone=true;i.waitCount-=1;if(i.waitCount===0)ba=[]}if(e){e=K("defineerror",'Error evaluating module "'+g+'" at location "'+(g?
j(g).url:"")+'":\n'+e+"\nfileName:"+(e.fileName||e.sourceURL)+"\nlineNumber: "+(e.lineNumber||e.line),e);e.moduleName=g;return h.onError(e)}if(g)if(a=w[g]){for(b=0;b<a.length;b++)a[b].onDep(g,c);delete w[g]}}function na(a,b,c,e){a=j(a,e);var g=a.name,k=a.fullName,n={},m={waitId:g||ya+za++,depCount:0,depMax:0,prefix:a.prefix,name:g,fullName:k,deps:{},depArray:b,callback:c,onDep:function(oa,Aa){if(!(oa in m.deps)){m.deps[oa]=Aa;m.depCount+=1;m.depCount===m.depMax&&aa(m)}}},u,t;if(k){if(k in p||v[k]===
true||k==="jquery"&&r.jQuery&&r.jQuery!==c().fn.jquery)return;y[k]=true;v[k]=true;k==="jquery"&&c&&U(c())}for(c=0;c<b.length;c++)if(u=b[c]){u=j(u,g?a:e);t=u.fullName;b[c]=t;if(t==="require")m.deps[t]=la(a);else if(t==="exports"){m.deps[t]=p[k]={};m.usingExports=true}else if(t==="module"){m.cjsModule=u=m.deps[t]={id:g,uri:g?i.nameToUrl(g,null,e):undefined,exports:p[k]};u.setExports=o(u)}else if(t in p&&!(t in B))m.deps[t]=p[t];else if(!n[t]){m.depMax+=1;ma(u);(w[t]||(w[t]=[])).push(m);n[t]=true}}if(m.depCount===
m.depMax)aa(m);else{B[m.waitId]=m;ba.push(m);i.waitCount+=1}}function M(a){na.apply(null,a);v[a[0]]=true}function pa(a,b){if(!a.isDone){var c=a.fullName,e=a.depArray,g,k;if(c){if(b[c])return p[c];b[c]=true}for(k=0;k<e.length;k++)(g=e[k])&&!a.deps[g]&&B[g]&&a.onDep(g,pa(B[g],b));return c?p[c]:undefined}}function ca(){var a=r.waitSeconds*1E3,b=a&&i.startTime+a<(new Date).getTime();a="";var c=false,e=false,g;if(!(i.pausedCount>0)){if(r.priorityWait)if(q())C();else return;for(g in v)if(!(g in F)){c=true;
if(!v[g])if(b)a+=g+" ";else{e=true;break}}if(c||i.waitCount){if(b&&a){g=K("timeout","Load timeout for modules: "+a);g.requireType="timeout";g.requireModules=a;return h.onError(g)}if(e||i.scriptCount){if((A||qa)&&!da)da=setTimeout(function(){da=0;ca()},50)}else{if(i.waitCount){for(D=0;a=ba[D];D++)pa(a,{});if(ea<5){ea+=1;ca()}}ea=0;h.checkReadyState()}}}}function ra(a,b){var c=b.name,e=b.fullName,g;if(!(e in p||e in v)){G[a]||(G[a]=p[a]);v[e]||(v[e]=false);g=function(k){h.onPluginLoad&&h.onPluginLoad(i,
a,c,k);aa({prefix:b.prefix,name:b.name,fullName:b.fullName,callback:function(){return k}});v[e]=true};g.fromText=function(k,n){var m=N;i.loaded[k]=false;i.scriptCount+=1;if(m)N=false;h.exec(n);if(m)N=true;i.completeLoad(k)};G[a].load(c,la(b.parentMap,true),g,r)}}function Ba(a){if(a.prefix&&a.name.indexOf("__$p")===0&&p[a.prefix])a=j(a.originalName,a.parentMap);var b=a.prefix,c=a.fullName,e=i.urlFetched;if(!(y[c]||v[c])){y[c]=true;if(b)if(p[b])ra(b,a);else{if(!O[b]){O[b]=[];(w[b]||(w[b]=[])).push({onDep:function(g){if(g===
b){var k,n=O[b];for(g=0;g<n.length;g++){k=n[g];ra(b,j(k.originalName,k.parentMap))}delete O[b]}}})}O[b].push(a)}else if(!e[a.url]){h.load(i,c,a.url);e[a.url]=true}}}var i,C,r={waitSeconds:7,baseUrl:s.baseUrl||"./",paths:{},pkgs:{}},P=[],y={require:true,exports:true,module:true},$={},p={},v={},B={},ba=[],za=0,w={},G={},O={},fa=0,T={};U=function(a){if(!i.jQuery)if(a=a||(typeof jQuery!=="undefined"?jQuery:null))if(!(r.jQuery&&a.fn.jquery!==r.jQuery))if("holdReady"in a||"readyWait"in a){i.jQuery=a;M(["jquery",
[],function(){return jQuery}]);if(i.scriptCount){Z(a,true);i.jQueryIncremented=true}}};C=function(){var a,b,c;fa+=1;if(i.scriptCount<=0)i.scriptCount=0;for(;P.length;){a=P.shift();if(a[0]===null)return h.onError(K("mismatch","Mismatched anonymous define() module: "+a[a.length-1]));else M(a)}if(!r.priorityWait||q())for(;i.paused.length;){c=i.paused;i.pausedCount+=c.length;i.paused=[];for(b=0;a=c[b];b++)Ba(a);i.startTime=(new Date).getTime();i.pausedCount-=c.length}fa===1&&ca();fa-=1};i={contextName:d,
config:r,defQueue:P,waiting:B,waitCount:0,specified:y,loaded:v,urlMap:$,scriptCount:0,urlFetched:{},defined:p,paused:[],pausedCount:0,plugins:G,managerCallbacks:w,makeModuleMap:j,normalize:l,configure:function(a){var b,c,e;if(a.baseUrl)if(a.baseUrl.charAt(a.baseUrl.length-1)!=="/")a.baseUrl+="/";b=r.paths;e=r.pkgs;Y(r,a,true);if(a.paths){for(c in a.paths)c in F||(b[c]=a.paths[c]);r.paths=b}if((b=a.packagePaths)||a.packages){if(b)for(c in b)c in F||ja(e,b[c],c);a.packages&&ja(e,a.packages);r.pkgs=
e}if(a.priority){c=i.requireWait;i.requireWait=false;i.takeGlobalQueue();C();i.require(a.priority);C();i.requireWait=c;r.priorityWait=a.priority}if(a.deps||a.callback)i.require(a.deps||[],a.callback);a.ready&&h.ready(a.ready)},requireDefined:function(a,b){return j(a,b).fullName in p},requireSpecified:function(a,b){return j(a,b).fullName in y},require:function(a,b,c){if(typeof a==="string"){if(h.get)return h.get(i,a,b);c=b;b=j(a,c);a=b.fullName;if(!(a in p))return h.onError(K("notloaded","Module name '"+
b.fullName+"' has not been loaded yet for context: "+d));return p[a]}na(null,a,b,c);if(!i.requireWait)for(;!i.scriptCount&&i.paused.length;){i.takeGlobalQueue();C()}},takeGlobalQueue:function(){if(V.length){Ca.apply(i.defQueue,[i.defQueue.length-1,0].concat(V));V=[]}},completeLoad:function(a){var b;for(i.takeGlobalQueue();P.length;){b=P.shift();if(b[0]===null){b[0]=a;break}else if(b[0]===a)break;else{M(b);b=null}}b?M(b):M([a,[],a==="jquery"&&typeof jQuery!=="undefined"?function(){return jQuery}:null]);
v[a]=true;U();if(h.isAsync)i.scriptCount-=1;C();h.isAsync||(i.scriptCount-=1)},toUrl:function(a,b){var c=a.lastIndexOf("."),e=null;if(c!==-1){e=a.substring(c,a.length);a=a.substring(0,c)}return i.nameToUrl(a,e,b)},nameToUrl:function(a,b,c){var e,g,k,n,m=i.config;a=l(a,c&&c.fullName);if(h.jsExtRegExp.test(a))b=a+(b?b:"");else{e=m.paths;g=m.pkgs;c=a.split("/");for(n=c.length;n>0;n--){k=c.slice(0,n).join("/");if(e[k]){c.splice(0,n,e[k]);break}else if(k=g[k]){a=a===k.name?k.location+"/"+k.main:k.location;
c.splice(0,n,a);break}}b=c.join("/")+(b||".js");b=(b.charAt(0)==="/"||b.match(/^\w+:/)?"":m.baseUrl)+b}return m.urlArgs?b+((b.indexOf("?")===-1?"?":"&")+m.urlArgs):b}};i.jQueryCheck=U;i.resume=C;return i}function Da(){var d,f,l;if(Q&&Q.readyState==="interactive")return Q;d=document.getElementsByTagName("script");for(f=d.length-1;f>-1&&(l=d[f]);f--)if(l.readyState==="interactive")return Q=l;return null}var Ea=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,Fa=/require\(["']([^'"\s]+)["']\)/g,ua=/^\.\//,ka=/\.js$/,
ia=Object.prototype.toString,x=Array.prototype,wa=x.slice,Ca=x.splice,A=!!(typeof window!=="undefined"&&navigator&&document),qa=!A&&typeof importScripts!=="undefined",Ga=A&&navigator.platform==="PLAYSTATION 3"?/^complete$/:/^(complete|loaded)$/,sa=typeof opera!=="undefined"&&opera.toString()==="[object Opera]",ya="_r@@",F={},H={},V=[],Q=null,Ha=false,ea=0,N=false,h;x={};var ga,s,I,W,z,R,S,D,ha,ta,E,U,da;if(typeof define==="undefined"){if(typeof requirejs!=="undefined")if(J(requirejs))return;else{x=
requirejs;requirejs=undefined}if(typeof require!=="undefined"&&!J(require)){x=require;require=undefined}h=requirejs=function(d,f,l){var j="_",q;if(!X(d)&&typeof d!=="string"){q=d;if(X(f)){d=f;f=l}else d=[]}if(q&&q.context)j=q.context;l=H[j]||(H[j]=va(j));q&&l.configure(q);return l.require(d,f)};if(typeof require==="undefined")require=h;h.toUrl=function(d){return H._.toUrl(d)};h.version="0.25.0";h.isArray=X;h.isFunction=J;h.mixin=Y;h.jsExtRegExp=/^\/|:|\?|\.js$/;s=h.s={contexts:H,skipAsync:{},isPageLoaded:!A,
readyCalls:[]};if(h.isAsync=h.isBrowser=A){I=s.head=document.getElementsByTagName("head")[0];if(W=document.getElementsByTagName("base")[0])I=s.head=W.parentNode}h.onError=function(d){throw d;};h.load=function(d,f,l){var j=d.loaded;Ha=false;j[f]||(j[f]=false);d.scriptCount+=1;h.attach(l,d,f);if(d.jQuery&&!d.jQueryIncremented){Z(d.jQuery,true);d.jQueryIncremented=true}};define=h.def=function(d,f,l){var j;if(typeof d!=="string"){l=f;f=d;d=null}if(!h.isArray(f)){l=f;f=[]}if(!d&&!f.length&&h.isFunction(l))if(l.length){l.toString().replace(Ea,
"").replace(Fa,function(q,o){f.push(o)});f=(l.length===1?["require"]:["require","exports","module"]).concat(f)}if(N){j=ga||Da();if(!j)return h.onError(K("interactive","No matching script interactive for "+l));d||(d=j.getAttribute("data-requiremodule"));j=H[j.getAttribute("data-requirecontext")]}(j?j.defQueue:V).push([d,f,l])};define.amd={multiversion:true,plugins:true,jQuery:true};h.exec=function(d){return eval(d)};h.execCb=function(d,f,l,j){return f.apply(j,l)};h.onScriptLoad=function(d){var f=d.currentTarget||
d.srcElement,l;if(d.type==="load"||Ga.test(f.readyState)){Q=null;d=f.getAttribute("data-requirecontext");l=f.getAttribute("data-requiremodule");H[d].completeLoad(l);f.detachEvent&&!sa?f.detachEvent("onreadystatechange",h.onScriptLoad):f.removeEventListener("load",h.onScriptLoad,false)}};h.attach=function(d,f,l,j,q){var o;if(A){j=j||h.onScriptLoad;o=f&&f.config&&f.config.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");o.type=q||"text/javascript";
o.charset="utf-8";o.async=!s.skipAsync[d];f&&o.setAttribute("data-requirecontext",f.contextName);o.setAttribute("data-requiremodule",l);if(o.attachEvent&&!sa){N=true;o.attachEvent("onreadystatechange",j)}else o.addEventListener("load",j,false);o.src=d;ga=o;W?I.insertBefore(o,W):I.appendChild(o);ga=null;return o}else if(qa){j=f.loaded;j[l]=false;importScripts(d);f.completeLoad(l)}return null};if(A){z=document.getElementsByTagName("script");for(D=z.length-1;D>-1&&(R=z[D]);D--){if(!I)I=R.parentNode;
if(S=R.getAttribute("data-main")){if(!x.baseUrl){z=S.split("/");R=z.pop();z=z.length?z.join("/")+"/":"./";x.baseUrl=z;S=R.replace(ka,"")}x.deps=x.deps?x.deps.concat(S):[S];break}}}s.baseUrl=x.baseUrl;h.pageLoaded=function(){if(!s.isPageLoaded){s.isPageLoaded=true;ha&&clearInterval(ha);if(ta)document.readyState="complete";h.callReady()}};h.checkReadyState=function(){var d=s.contexts,f;for(f in d)if(!(f in F))if(d[f].waitCount)return;s.isDone=true;h.callReady()};h.callReady=function(){var d=s.readyCalls,
f,l,j;if(s.isPageLoaded&&s.isDone){if(d.length){s.readyCalls=[];for(f=0;l=d[f];f++)l()}d=s.contexts;for(j in d)if(!(j in F)){f=d[j];if(f.jQueryIncremented){Z(f.jQuery,false);f.jQueryIncremented=false}}}};h.ready=function(d){s.isPageLoaded&&s.isDone?d():s.readyCalls.push(d);return h};if(A){if(document.addEventListener){document.addEventListener("DOMContentLoaded",h.pageLoaded,false);window.addEventListener("load",h.pageLoaded,false);if(!document.readyState){ta=true;document.readyState="loading"}}else if(window.attachEvent){window.attachEvent("onload",
h.pageLoaded);if(self===self.top)ha=setInterval(function(){try{if(document.body){document.documentElement.doScroll("left");h.pageLoaded()}}catch(d){}},30)}document.readyState==="complete"&&h.pageLoaded()}h(x);if(h.isAsync&&typeof setTimeout!=="undefined"){E=s.contexts[x.context||"_"];E.requireWait=true;setTimeout(function(){E.requireWait=false;E.takeGlobalQueue();E.jQueryCheck();E.scriptCount||E.resume();h.checkReadyState()},0)}}})();!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.1",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,
b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},
first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=
g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a);},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)>=0},
isPlainObject:function(a){return"object"!==n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=l.createElement("script"),b.text=a,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},
camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c)if(g)for(;f>e;e++){if(d=b.apply(a[e],c),d===!1)break}else for(e in a){if(d=b.apply(a[e],c),d===!1)break}else if(g)for(;f>e;e++){if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,
b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);
return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&
b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),
V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)",
"i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=
a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1])if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else{if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),
d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,
"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=
c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=
a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),
!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=
a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=
c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");
b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),
r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||
b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],
i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=
d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a);},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,
c="",d=0,f=a.nodeType;if(f)if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else{if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=
(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),
a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===
b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?
l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===
b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=
g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=
b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&
a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},
first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,
reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));
if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g)while(b=b[d]){if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}
function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,
h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,
a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,
k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||0.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,
d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?
0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>",
"#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():
(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,
a)}return n.grep(a,function(a){return g.call(b,a)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):
d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);
if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=l.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=l,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=
a.context),n.makeArray(a,this))};A.prototype=n.fn,y=n(l);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,
b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(n(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),
n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,
"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(C[a]||n.unique(e),
B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return n.each(a.match(E)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){n.each(b,
function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((c=n.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=
void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),
this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=
h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&
n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(H.resolveWith(l,[n]),n.fn.triggerHandler&&(n(l).triggerHandler("ready"),n(l).off("ready"))))}});function I(){l.removeEventListener("DOMContentLoaded",
I,!1),a.removeEventListener("load",I,!1),n.ready()}n.ready.promise=function(b){return H||(H=n.Deferred(),"complete"===l.readyState?setTimeout(n.ready):(l.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},n.ready.promise();var J=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),
c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};n.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=n.expando+Math.random()}K.uid=1,K.accepts=n.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=
c,n.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(n.isEmptyObject(f))n.extend(this.cache[e],b);else for(d in b)f[d]=b[d];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,
b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!n.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d=
"data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){return M.access(a,b,c)},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=
this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=n.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else this.each(function(){var c=
M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||n.isArray(c)?d=L.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),
d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:n.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,
a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=L.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var Q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,R=["Top","Right","Bottom","Left"],S=function(a,b){return a=b||a,"none"===
n.css(a,"display")||!n.contains(a.ownerDocument,a)},T=/^(?:checkbox|radio)$/i;!function(){var a=l.createDocumentFragment(),b=a.appendChild(l.createElement("div")),c=l.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in
a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,
arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,
k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||
c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):
[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&
!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||
k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&
!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==
a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&
(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||l,d=c.documentElement,e=c.body,a.pageX=b.clientX+(d&&d.scrollLeft||e&&e.scrollLeft||0)-(d&&d.clientLeft||e&&e.clientLeft||0),a.pageY=b.clientY+(d&&d.scrollTop||e&&e.scrollTop||0)-(d&&d.clientTop||e&&e.clientTop||0)),a.which||
void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},fix:function(a){if(a[n.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=W.test(e)?this.mouseHooks:V.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new n.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=l),3===a.target.nodeType&&(a.target=a.target.parentNode),g.filter?g.filter(a,f):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==_()&&this.focus?
(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===_()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&n.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=n.extend(new n.Event,c,
{type:a,isSimulated:!0,originalEvent:{}});d?n.event.trigger(e,null,b):n.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?Z:$):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=
!0)):new n.Event(a,b)},n.Event.prototype={isDefaultPrevented:$,isPropagationStopped:$,isImmediatePropagationStopped:$,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=Z,a&&a.preventDefault&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=Z,a&&a.stopPropagation&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=Z,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),
this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!n.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.focusinBubbles||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a),!0)};
n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=L.access(d,b);e||d.addEventListener(a,c,!0),L.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=L.access(d,b)-1;e?L.access(d,b,e):(d.removeEventListener(a,c,!0),L.remove(d,b))}}}),n.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(g in a)this.on(g,b,c,a[g],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):
(d=c,c=b,b=void 0)),d===!1)d=$;else if(!d)return this;return 1===e&&(f=d,d=function(a){return n().off(a),f.apply(this,arguments)},d.guid=f.guid||(f.guid=n.guid++)),this.each(function(){n.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);
return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=$),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});var ab=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bb=/<([\w:]+)/,cb=/<|&#?\w+;/,db=/<(?:script|style|link)/i,eb=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/^$|\/(?:java|ecma)script/i,
gb=/^true\/(.*)/,hb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ib={option:[1,"<select multiple='multiple'>","</select>"],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,"",""]};ib.optgroup=ib.option,ib.tbody=ib.tfoot=ib.colgroup=ib.caption=ib.thead,ib.th=ib.td;function jb(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||
a.appendChild(a.ownerDocument.createElement("tbody")):a}function kb(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function lb(a){var b=gb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function mb(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function nb(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,
e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function ob(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pb(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,
a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=ob(h),f=ob(a),d=0,e=f.length;e>d;d++)pb(f[d],g[d]);if(b)if(c)for(f=f||ob(a),g=g||ob(h),d=0,e=f.length;e>d;d++)nb(f[d],g[d]);else nb(a,h);return g=ob(h,"script"),g.length>0&&mb(g,!i&&ob(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(cb.test(e)){f=f||k.appendChild(b.createElement("div")),
g=(bb.exec(e)||["",""])[1].toLowerCase(),h=ib[g]||ib._default,f.innerHTML=h[1]+e.replace(ab,"<$1></$2>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=ob(k.appendChild(e),"script"),i&&mb(f),c)){j=0;while(e=f[j++])fb.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==
(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===
this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},
remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(ob(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&mb(ob(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(ob(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=
this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!db.test(a)&&!ib[(bb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ab,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ob(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(ob(this)),a&&a.replaceChild(b,this)}),a&&(a.length||
a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&eb.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(ob(c,"script"),kb),g=f.length;l>j;j++)h=c,
j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,ob(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,lb),j=0;g>j;j++)h=f[j],fb.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(hb,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=
h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qb,rb={};function sb(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function tb(a){var b=l,c=rb[a];return c||(c=sb(a,b),"none"!==c&&c||(qb=(qb||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=qb[0].contentDocument,b.write(),b.close(),c=sb(a,b),qb.detach()),
rb[a]=c),c}var ub=/^margin/,vb=new RegExp("^("+Q+")(?!px)[a-z%]+$","i"),wb=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)};function xb(a,b,c){var d,e,f,g,h=a.style;return c=c||wb(a),c&&(g=c.getPropertyValue(b)||c[b]),c&&(""!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),vb.test(g)&&ub.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function yb(a,b){return{get:function(){return a()?
void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d=l.documentElement,e=l.createElement("div"),f=l.createElement("div");if(f.style){f.style.backgroundClip="content-box",f.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===f.style.backgroundClip,e.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",e.appendChild(f);function g(){f.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",
f.innerHTML="",d.appendChild(e);var g=a.getComputedStyle(f,null);b="1%"!==g.top,c="4px"===g.width,d.removeChild(e)}a.getComputedStyle&&n.extend(k,{pixelPosition:function(){return g(),b},boxSizingReliable:function(){return null==c&&g(),c},reliableMarginRight:function(){var b,c=f.appendChild(l.createElement("div"));return c.style.cssText=f.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width=
"0",f.style.width="1px",d.appendChild(e),b=!parseFloat(a.getComputedStyle(c,null).marginRight),d.removeChild(e),b}})}}(),n.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var zb=/^(none|table(?!-c[ea]).+)/,Ab=new RegExp("^("+Q+")(.*)$","i"),Bb=new RegExp("^([+-])=("+Q+")","i"),Cb={position:"absolute",visibility:"hidden",display:"block"},Db={letterSpacing:"0",fontWeight:"400"},Eb=["Webkit","O","Moz","ms"];function Fb(a,
b){if(b in a)return b;var c=b[0].toUpperCase()+b.slice(1),d=b,e=Eb.length;while(e--)if(b=Eb[e]+c,b in a)return b;return d}function Gb(a,b,c){var d=Ab.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Hb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+R[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+R[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+R[f]+"Width",!0,e))):(g+=n.css(a,"padding"+R[f],!0,e),"padding"!==c&&(g+=n.css(a,
"border"+R[f]+"Width",!0,e)));return g}function Ib(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=wb(a),g="border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=xb(a,b,f),(0>e||null==e)&&(e=a.style[b]),vb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Hb(a,b,c||(g?"border":"content"),d,f)+"px"}function Jb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=L.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||
(d.style.display=""),""===d.style.display&&S(d)&&(f[g]=L.access(d,"olddisplay",tb(d.nodeName)))):(e=S(d),"none"===c&&e||L.set(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=xb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,
order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;return b=n.cssProps[h]||(n.cssProps[h]=Fb(i,h)),g=n.cssHooks[b]||n.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=Bb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(n.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||n.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||
0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Fb(a.style,h)),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=xb(a,b,d)),"normal"===e&&b in Db&&(e=Db[b]),""===c||c?(f=parseFloat(e),c===!0||n.isNumeric(f)?f||0:e):e}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?zb.test(n.css(a,"display"))&&
0===a.offsetWidth?n.swap(a,Cb,function(){return Ib(a,b,d)}):Ib(a,b,d):void 0},set:function(a,c,d){var e=d&&wb(a);return Gb(a,c,d?Hb(a,b,d,"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),n.cssHooks.marginRight=yb(k.reliableMarginRight,function(a,b){return b?n.swap(a,{display:"inline-block"},xb,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+R[d]+b]=f[d]||
f[d-2]||f[0];return e}},ub.test(a)||(n.cssHooks[a+b].set=Gb)}),n.fn.extend({css:function(a,b){return J(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=wb(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Jb(this,!0)},hide:function(){return Jb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){S(this)?n(this).show():n(this).hide()})}});function Kb(a,
b,c,d,e){return new Kb.prototype.init(a,b,c,d,e)}n.Tween=Kb,Kb.prototype={constructor:Kb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=Kb.propHooks[this.prop];return a&&a.get?a.get(this):Kb.propHooks._default.get(this)},run:function(a){var b,c=Kb.propHooks[this.prop];return this.pos=b=this.options.duration?n.easing[this.easing](a,this.options.duration*a,
0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Kb.propHooks._default.set(this),this}},Kb.prototype.init.prototype=Kb.prototype,Kb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[n.cssProps[a.prop]]||
n.cssHooks[a.prop])?n.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Kb.propHooks.scrollTop=Kb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return 0.5-Math.cos(a*Math.PI)/2}},n.fx=Kb.prototype.init,n.fx.step={};var Lb,Mb,Nb=/^(?:toggle|show|hide)$/,Ob=new RegExp("^(?:([+-])=|)("+Q+")([a-z%]*)$","i"),Pb=/queueHooks$/,Qb=[Vb],Rb={"*":[function(a,b){var c=this.createTween(a,b),d=
c.cur(),e=Ob.exec(b),f=e&&e[3]||(n.cssNumber[a]?"":"px"),g=(n.cssNumber[a]||"px"!==f&&+d)&&Ob.exec(n.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,n.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function Sb(){return setTimeout(function(){Lb=void 0}),Lb=n.now()}function Tb(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-b)c=R[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=
e.width=a),e}function Ub(a,b,c){for(var d,e=(Rb[b]||[]).concat(Rb["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function Vb(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},o=a.style,p=a.nodeType&&S(a),q=L.get(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&
(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=n.css(a,"display"),k="none"===j?L.get(a,"olddisplay")||tb(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(o.display="inline-block")),c.overflow&&(o.overflow="hidden",l.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],Nb.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}m[d]=q&&q[d]||n.style(a,d)}else j=void 0;
if(n.isEmptyObject(m))"inline"===("none"===j?tb(a.nodeName):j)&&(o.display=j);else{q?"hidden"in q&&(p=q.hidden):q=L.access(a,"fxshow",{}),f&&(q.hidden=!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;L.remove(a,"fxshow");for(b in m)n.style(a,b,m[b])});for(d in m)g=Ub(p?q[d]:0,d,l),d in q||(q[d]=g.start,p&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function Wb(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==
d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function Xb(a,b,c){var d,e,f=0,g=Qb.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Lb||Sb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,
{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:Lb||Sb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(Wb(k,j.opts.specialEasing);g>f;f++)if(d=Qb[f].call(j,a,k,j.opts))return d;return n.map(k,Ub,j),
n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(Xb,{tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],Rb[c]=Rb[c]||[],Rb[c].unshift(b)},prefilter:function(a,b){b?Qb.unshift(a):Qb.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||
!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(S).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,
b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=Xb(this,n.extend({},a),f);(e||L.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=L.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&Pb.test(e)&&
d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=L.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),
n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(Tb(b,!0),a,d,e)}}),n.each({slideDown:Tb("show"),slideUp:Tb("hide"),slideToggle:Tb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=0,c=n.timers;for(Lb=n.now();b<c.length;b++)a=c[b],a()||c[b]!==
a||c.splice(b--,1);c.length||n.fx.stop(),Lb=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){Mb||(Mb=setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){clearInterval(Mb),Mb=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(a,b){return a=n.fx?n.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a=l.createElement("input"),
b=l.createElement("select"),c=b.appendChild(l.createElement("option"));a.type="checkbox",k.checkOn=""!==a.value,k.optSelected=c.selected,b.disabled=!0,k.optDisabled=!c.disabled,a=l.createElement("input"),a.value="t",a.type="radio",k.radioValue="t"===a.value}();var Yb,Zb,$b=n.expr.attrHandle;n.fn.extend({attr:function(a,b){return J(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&
3!==f&&8!==f&&2!==f)return typeof a.getAttribute===U?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),d=n.attrHooks[b]||(n.expr.match.bool.test(b)?Zb:Yb)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void n.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},
attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),Zb={set:function(a,b,c){return b===!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=$b[b]||n.find.attr;$b[b]=function(a,b,d){var e,f;return d||(f=$b[b],$b[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,$b[b]=f),e}});var _b=/^(?:input|select|textarea|button)$/i;n.fn.extend({prop:function(a,
b){return J(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[n.propFix[a]||a]})}}),n.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!n.isXMLDoc(a),f&&(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){return a.hasAttribute("tabindex")||
_b.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),k.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this});var ac=/[\t\r\n\f]/g;n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h="string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,
b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ac," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=n.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0===arguments.length||"string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=
this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ac," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?n.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(n.isFunction(a)?function(c){n(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=n(this),f=a.match(E)||[];while(b=
f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===U||"boolean"===c)&&(this.className&&L.set(this,"__className__",this.className),this.className=this.className||a===!1?"":L.get(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(ac," ").indexOf(b)>=0)return!0;return!1}});var bc=/\r/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;
1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(bc,""):null==c?"":c)}}),n.extend({valHooks:{option:{get:function(a){var b=
n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=
n.inArray(d.value,f)>=0)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>=0:void 0}},k.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),
function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var cc=n.now(),dc=/\?/;n.parseJSON=function(a){return JSON.parse(a+"")},n.parseXML=
function(a){var b,c;if(!a||"string"!=typeof a)return null;try{c=new DOMParser,b=c.parseFromString(a,"text/xml")}catch(d){b=void 0}return(!b||b.getElementsByTagName("parsererror").length)&&n.error("Invalid XML: "+a),b};var ec,fc,gc=/#.*$/,hc=/([?&])_=[^&]*/,ic=/^(.*?):[ \t]*([^\r\n]*)$/gm,jc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,kc=/^(?:GET|HEAD)$/,lc=/^\/\//,mc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,nc={},oc={},pc="*/".concat("*");try{fc=location.href}catch(qc){fc=
l.createElement("a"),fc.href="",fc=fc.href}ec=mc.exec(fc.toLowerCase())||[];function rc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(n.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function sc(a,b,c,d){var e={},f=a===oc;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),
i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function tc(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&n.extend(!0,a,d),a}function uc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}return f?(f!==
i[0]&&i.unshift(f),c[f]):void 0}function vc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==
!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:fc,type:"GET",isLocal:jc.test(ec[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":pc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,
json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?tc(tc(a,n.ajaxSettings),b):tc(n.ajaxSettings,a)},ajaxPrefilter:rc(nc),ajaxTransport:rc(oc),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=n.ajaxSetup({},b),l=k.context||k,m=k.context&&(l.nodeType||l.jquery)?n(l):n.event,
o=n.Deferred(),p=n.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!f){f={};while(b=ic.exec(e))f[b[1].toLowerCase()]=b[2]}b=f[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?e:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=
[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return c&&c.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||fc)+"").replace(gc,"").replace(lc,ec[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=n.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(h=mc.exec(k.url.toLowerCase()),k.crossDomain=!(!h||h[1]===ec[1]&&h[2]===ec[2]&&(h[3]||("http:"===h[1]?"80":"443"))===(ec[3]||("http:"===
ec[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=n.param(k.data,k.traditional)),sc(nc,k,b,v),2===t)return v;i=k.global,i&&0===n.active++&&n.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!kc.test(k.type),d=k.url,k.hasContent||(k.data&&(d=k.url+=(dc.test(d)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=hc.test(d)?d.replace(hc,"$1_="+cc++):d+(dc.test(d)?"&":"?")+"_="+cc++)),k.ifModified&&(n.lastModified[d]&&v.setRequestHeader("If-Modified-Since",
n.lastModified[d]),n.etag[d]&&v.setRequestHeader("If-None-Match",n.etag[d])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+pc+"; q=0.01":""):k.accepts["*"]);for(j in k.headers)v.setRequestHeader(j,k.headers[j]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(j in{success:1,error:1,
complete:1})v[j](k[j]);if(c=sc(oc,k,b,v)){v.readyState=1,i&&m.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,c.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,f,h){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),c=void 0,e=h||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,f&&(u=uc(k,v,f)),u=vc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(n.lastModified[d]=w),w=v.getResponseHeader("etag"),
w&&(n.etag[d]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,i&&m.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),i&&(m.trigger("ajaxComplete",[v,k]),--n.active||n.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,
b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){var b;return n.isFunction(a)?
this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this[0]&&(b=n(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return this.each(n.isFunction(a)?function(b){n(this).wrapInner(a.call(this,b))}:function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?
a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var wc=/%20/g,xc=/\[\]$/,yc=/\r?\n/g,zc=/^(?:submit|button|image|reset|file)$/i,Ac=/^(?:input|select|textarea|keygen)/i;function Bc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||xc.test(a)?d(a,e):
Bc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Bc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Bc(c,a[c],b,e);return d.join("&").replace(wc,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},
serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&Ac.test(this.nodeName)&&!zc.test(a)&&(this.checked||!T.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(yc,"\r\n")}}):{name:b.name,value:c.replace(yc,"\r\n")}}).get()}}),n.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};
var Cc=0,Dc={},Ec={"0":200,1223:204},Fc=n.ajaxSettings.xhr();a.ActiveXObject&&n(a).on("unload",function(){for(var a in Dc)Dc[a]()}),k.cors=!!Fc&&"withCredentials"in Fc,k.ajax=Fc=!!Fc,n.ajaxTransport(function(a){var b;return k.cors||Fc&&!a.crossDomain?{send:function(c,d){var e,f=a.xhr(),g=++Cc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||
(c["X-Requested-With"]="XMLHttpRequest");for(e in c)f.setRequestHeader(e,c[e]);b=function(a){return function(){b&&(delete Dc[g],b=f.onload=f.onerror=null,"abort"===a?f.abort():"error"===a?d(f.status,f.statusText):d(Ec[f.status]||f.status,f.statusText,"string"==typeof f.responseText?{text:f.responseText}:void 0,f.getAllResponseHeaders()))}},f.onload=b(),f.onerror=b("error"),b=Dc[g]=b("abort");try{f.send(a.hasContent&&a.data||null)}catch(h){if(b)throw h;}},abort:function(){b&&b()}}:void 0}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(d,e){b=n("<script>").prop({async:!0,charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&e("error"===a.type?404:200,a.type)}),l.head.appendChild(b[0])},abort:function(){c&&c()}}}});
var Gc=[],Hc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Gc.pop()||n.expando+"_"+cc++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Hc.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Hc.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Hc,"$1"+
e):b.jsonp!==!1&&(b.url+=(dc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Gc.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||l;var d=v.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:
(d=n.buildFragment([a],b,e),e&&e.length&&n(e).remove(),n.merge([],d.childNodes))};var Ic=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&Ic)return Ic.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=n.trim(a.slice(h)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e,dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,
f||[a.responseText,b,a])}),this},n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};var Jc=a.document.documentElement;function Kc(a){return n.isWindow(a)?a:9===a.nodeType&&a.defaultView}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):
(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return b=f.documentElement,n.contains(b,d)?(typeof d.getBoundingClientRect!==U&&(e=d.getBoundingClientRect()),c=Kc(f),{top:e.top+
c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===n.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(d=a.offset()),d.top+=n.css(a[0],"borderTopWidth",!0),d.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-n.css(c,"marginTop",!0),left:b.left-d.left-n.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=
this.offsetParent||Jc;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Jc})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b,c){var d="pageYOffset"===c;n.fn[b]=function(e){return J(this,function(b,e,f){var g=Kc(b);return void 0===f?g?g[c]:b[e]:void(g?g.scrollTo(d?a.pageXOffset:f,d?f:a.pageYOffset):b[e]=f)},b,e,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=yb(k.pixelPosition,function(a,c){return c?(c=xb(a,
b),vb.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return J(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):
void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var Lc=a.jQuery,Mc=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=Mc),b&&a.jQuery===n&&(a.jQuery=Lc),n},typeof b===U&&(a.jQuery=a.$=n),n});window.Modernizr=function(a,b,c){function y(a){i.cssText=a}function z(a,b){return y(l.join(a+";")+(b||""))}function A(a,b){return typeof a===b}function B(a,b){return!!~(""+a).indexOf(b)}function C(a,b){for(var d in a){var e=a[d];if(!B(e,"-")&&i[e]!==c)return b=="pfx"?e:!0}return!1}function D(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:A(f,"function")?f.bind(d||b):f}return!1}function E(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+n.join(d+" ")+d).split(" ");return A(b,
"string")||A(b,"undefined")?C(e,b):(e=(a+" "+o.join(d+" ")+d).split(" "),D(e,b,c))}var d="2.6.1",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l=" -webkit- -moz- -o- -ms- ".split(" "),m="Webkit Moz O ms",n=m.split(" "),o=m.toLowerCase().split(" "),p={},q={},r={},s=[],t=s.slice,u,v=function(a,c,d,e){var h,i,j,k=b.createElement("div"),l=b.body,m=l?l:b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:g+(d+1),k.appendChild(j);
return h=["&#173;",'<style id="s',g,'">',a,"</style>"].join(""),k.id=g,(l?k:m).innerHTML+=h,m.appendChild(k),l||(m.style.background="",f.appendChild(m)),i=c(k,a),l?k.parentNode.removeChild(k):m.parentNode.removeChild(m),!!i},w={}.hasOwnProperty,x;!A(w,"undefined")&&!A(w.call,"undefined")?x=function(a,b){return w.call(a,b)}:x=function(a,b){return b in a&&A(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;
var d=t.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(t.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(t.call(arguments)))};return e}),p.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},p.webgl=function(){return!!a.WebGLRenderingContext},p.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:v(["@media (",
l.join("touch-enabled),("),g,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},p.csstransforms3d=function(){var a=!!E("perspective");return a&&"webkitPerspective"in f.style&&v("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},p.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,
""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},p.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,
"")}catch(d){}return c};for(var F in p)x(p,F)&&(u=F.toLowerCase(),e[u]=p[F](),s.push((e[u]?"":"no-")+u));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)x(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,enableClasses&&(f.className+=" "+(b?"":"no-")+a),e[a]=b}return e},y(""),h=j=null,e._version=d,e._prefixes=l,e._domPrefixes=o,e._cssomPrefixes=n,e.testProp=function(a){return C([a])},e.testAllProps=E,e.testStyles=v,e}(this,this.document);(function(){function n(n){function t(t,r,e,u,i,o){for(;i>=0&&o>i;i+=n){var a=u?u[i]:i;e=r(e,t[a],a,t)}return e}return function(r,e,u,i){e=b(e,i,4);var o=!k(r)&&m.keys(r),a=(o||r).length,c=n>0?0:a-1;return arguments.length<3&&(u=r[o?o[c]:c],c+=n),t(r,e,u,o,c,a)}}function t(n){return function(t,r,e){r=x(r,e);for(var u=O(t),i=n>0?0:u-1;i>=0&&u>i;i+=n)if(r(t[i],i,t))return i;return-1}}function r(n,t,r){return function(e,u,i){var o=0,a=O(e);if("number"==typeof i)n>0?o=i>=0?i:Math.max(i+a,o):a=i>=0?Math.min(i+
1,a):i+a+1;else if(r&&i&&a)return i=r(e,u),e[i]===u?i:-1;if(u!==u)return i=t(l.call(e,o,a),m.isNaN),i>=0?i+o:-1;for(i=n>0?o:a-1;i>=0&&a>i;i+=n)if(e[i]===u)return i;return-1}}function e(n,t){var r=I.length,e=n.constructor,u=m.isFunction(e)&&e.prototype||a,i="constructor";for(m.has(n,i)&&!m.contains(t,i)&&t.push(i);r--;)i=I[r],i in n&&n[i]!==u[i]&&!m.contains(t,i)&&t.push(i)}var u=this,i=u._,o=Array.prototype,a=Object.prototype,c=Function.prototype,f=o.push,l=o.slice,s=a.toString,p=a.hasOwnProperty,
h=Array.isArray,v=Object.keys,g=c.bind,y=Object.create,d=function(){},m=function(n){return n instanceof m?n:this instanceof m?void(this._wrapped=n):new m(n)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=m),exports._=m):u._=m,m.VERSION="1.8.3";var b=function(n,t,r){if(t===void 0)return n;switch(null==r?3:r){case 1:return function(r){return n.call(t,r)};case 2:return function(r,e){return n.call(t,r,e)};case 3:return function(r,e,u){return n.call(t,
r,e,u)};case 4:return function(r,e,u,i){return n.call(t,r,e,u,i)}}return function(){return n.apply(t,arguments)}},x=function(n,t,r){return null==n?m.identity:m.isFunction(n)?b(n,t,r):m.isObject(n)?m.matcher(n):m.property(n)};m.iteratee=function(n,t){return x(n,t,1/0)};var _=function(n,t){return function(r){var e=arguments.length;if(2>e||null==r)return r;for(var u=1;e>u;u++)for(var i=arguments[u],o=n(i),a=o.length,c=0;a>c;c++){var f=o[c];t&&r[f]!==void 0||(r[f]=i[f])}return r}},j=function(n){if(!m.isObject(n))return{};
if(y)return y(n);d.prototype=n;var t=new d;return d.prototype=null,t},w=function(n){return function(t){return null==t?void 0:t[n]}},A=Math.pow(2,53)-1,O=w("length"),k=function(n){var t=O(n);return"number"==typeof t&&t>=0&&A>=t};m.each=m.forEach=function(n,t,r){t=b(t,r);var e,u;if(k(n))for(e=0,u=n.length;u>e;e++)t(n[e],e,n);else{var i=m.keys(n);for(e=0,u=i.length;u>e;e++)t(n[i[e]],i[e],n)}return n},m.map=m.collect=function(n,t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=Array(u),o=0;u>
o;o++){var a=e?e[o]:o;i[o]=t(n[a],a,n)}return i},m.reduce=m.foldl=m.inject=n(1),m.reduceRight=m.foldr=n(-1),m.find=m.detect=function(n,t,r){var e;return e=k(n)?m.findIndex(n,t,r):m.findKey(n,t,r),e!==void 0&&e!==-1?n[e]:void 0},m.filter=m.select=function(n,t,r){var e=[];return t=x(t,r),m.each(n,function(n,r,u){t(n,r,u)&&e.push(n)}),e},m.reject=function(n,t,r){return m.filter(n,m.negate(x(t)),r)},m.every=m.all=function(n,t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=0;u>i;i++){var o=e?
e[i]:i;if(!t(n[o],o,n))return!1}return!0},m.some=m.any=function(n,t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=0;u>i;i++){var o=e?e[i]:i;if(t(n[o],o,n))return!0}return!1},m.contains=m.includes=m.include=function(n,t,r,e){return k(n)||(n=m.values(n)),("number"!=typeof r||e)&&(r=0),m.indexOf(n,t,r)>=0},m.invoke=function(n,t){var r=l.call(arguments,2),e=m.isFunction(t);return m.map(n,function(n){var u=e?t:n[t];return null==u?u:u.apply(n,r)})},m.pluck=function(n,t){return m.map(n,m.property(t))},
m.where=function(n,t){return m.filter(n,m.matcher(t))},m.findWhere=function(n,t){return m.find(n,m.matcher(t))},m.max=function(n,t,r){var e,u,i=-1/0,o=-1/0;if(null==t&&null!=n){n=k(n)?n:m.values(n);for(var a=0,c=n.length;c>a;a++)e=n[a],e>i&&(i=e)}else t=x(t,r),m.each(n,function(n,r,e){u=t(n,r,e),(u>o||u===-1/0&&i===-1/0)&&(i=n,o=u)});return i},m.min=function(n,t,r){var e,u,i=1/0,o=1/0;if(null==t&&null!=n){n=k(n)?n:m.values(n);for(var a=0,c=n.length;c>a;a++)e=n[a],i>e&&(i=e)}else t=x(t,r),m.each(n,
function(n,r,e){u=t(n,r,e),(o>u||1/0===u&&1/0===i)&&(i=n,o=u)});return i},m.shuffle=function(n){for(var t,r=k(n)?n:m.values(n),e=r.length,u=Array(e),i=0;e>i;i++)t=m.random(0,i),t!==i&&(u[i]=u[t]),u[t]=r[i];return u},m.sample=function(n,t,r){return null==t||r?(k(n)||(n=m.values(n)),n[m.random(n.length-1)]):m.shuffle(n).slice(0,Math.max(0,t))},m.sortBy=function(n,t,r){return t=x(t,r),m.pluck(m.map(n,function(n,r,e){return{value:n,index:r,criteria:t(n,r,e)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;
if(r!==e){if(r>e||r===void 0)return 1;if(e>r||e===void 0)return-1}return n.index-t.index}),"value")};var F=function(n){return function(t,r,e){var u={};return r=x(r,e),m.each(t,function(e,i){var o=r(e,i,t);n(u,e,o)}),u}};m.groupBy=F(function(n,t,r){m.has(n,r)?n[r].push(t):n[r]=[t]}),m.indexBy=F(function(n,t,r){n[r]=t}),m.countBy=F(function(n,t,r){m.has(n,r)?n[r]++:n[r]=1}),m.toArray=function(n){return n?m.isArray(n)?l.call(n):k(n)?m.map(n,m.identity):m.values(n):[]},m.size=function(n){return null==
n?0:k(n)?n.length:m.keys(n).length},m.partition=function(n,t,r){t=x(t,r);var e=[],u=[];return m.each(n,function(n,r,i){(t(n,r,i)?e:u).push(n)}),[e,u]},m.first=m.head=m.take=function(n,t,r){return null==n?void 0:null==t||r?n[0]:m.initial(n,n.length-t)},m.initial=function(n,t,r){return l.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))},m.last=function(n,t,r){return null==n?void 0:null==t||r?n[n.length-1]:m.rest(n,Math.max(0,n.length-t))},m.rest=m.tail=m.drop=function(n,t,r){return l.call(n,null==t||
r?1:t)},m.compact=function(n){return m.filter(n,m.identity)};var S=function(n,t,r,e){for(var u=[],i=0,o=e||0,a=O(n);a>o;o++){var c=n[o];if(k(c)&&(m.isArray(c)||m.isArguments(c))){t||(c=S(c,t,r));var f=0,l=c.length;for(u.length+=l;l>f;)u[i++]=c[f++]}else r||(u[i++]=c)}return u};m.flatten=function(n,t){return S(n,t,!1)},m.without=function(n){return m.difference(n,l.call(arguments,1))},m.uniq=m.unique=function(n,t,r,e){m.isBoolean(t)||(e=r,r=t,t=!1),null!=r&&(r=x(r,e));for(var u=[],i=[],o=0,a=O(n);a>
o;o++){var c=n[o],f=r?r(c,o,n):c;t?(o&&i===f||u.push(c),i=f):r?m.contains(i,f)||(i.push(f),u.push(c)):m.contains(u,c)||u.push(c)}return u},m.union=function(){return m.uniq(S(arguments,!0,!0))},m.intersection=function(n){for(var t=[],r=arguments.length,e=0,u=O(n);u>e;e++){var i=n[e];if(!m.contains(t,i)){for(var o=1;r>o&&m.contains(arguments[o],i);o++);o===r&&t.push(i)}}return t},m.difference=function(n){var t=S(arguments,!0,!0,1);return m.filter(n,function(n){return!m.contains(t,n)})},m.zip=function(){return m.unzip(arguments)},
m.unzip=function(n){for(var t=n&&m.max(n,O).length||0,r=Array(t),e=0;t>e;e++)r[e]=m.pluck(n,e);return r},m.object=function(n,t){for(var r={},e=0,u=O(n);u>e;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},m.findIndex=t(1),m.findLastIndex=t(-1),m.sortedIndex=function(n,t,r,e){r=x(r,e,1);for(var u=r(t),i=0,o=O(n);o>i;){var a=Math.floor((i+o)/2);r(n[a])<u?i=a+1:o=a}return i},m.indexOf=r(1,m.findIndex,m.sortedIndex),m.lastIndexOf=r(-1,m.findLastIndex),m.range=function(n,t,r){null==t&&(t=n||0,n=0),r=r||
1;for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),i=0;e>i;i++,n+=r)u[i]=n;return u};var E=function(n,t,r,e,u){if(!(e instanceof t))return n.apply(r,u);var i=j(n.prototype),o=n.apply(i,u);return m.isObject(o)?o:i};m.bind=function(n,t){if(g&&n.bind===g)return g.apply(n,l.call(arguments,1));if(!m.isFunction(n))throw new TypeError("Bind must be called on a function");var r=l.call(arguments,2),e=function(){return E(n,e,t,this,r.concat(l.call(arguments)))};return e},m.partial=function(n){var t=l.call(arguments,
1),r=function(){for(var e=0,u=t.length,i=Array(u),o=0;u>o;o++)i[o]=t[o]===m?arguments[e++]:t[o];for(;e<arguments.length;)i.push(arguments[e++]);return E(n,r,this,this,i)};return r},m.bindAll=function(n){var t,r,e=arguments.length;if(1>=e)throw new Error("bindAll must be passed function names");for(t=1;e>t;t++)r=arguments[t],n[r]=m.bind(n[r],n);return n},m.memoize=function(n,t){var r=function(e){var u=r.cache,i=""+(t?t.apply(this,arguments):e);return m.has(u,i)||(u[i]=n.apply(this,arguments)),u[i]};
return r.cache={},r},m.delay=function(n,t){var r=l.call(arguments,2);return setTimeout(function(){return n.apply(null,r)},t)},m.defer=m.partial(m.delay,m,1),m.throttle=function(n,t,r){var e,u,i,o=null,a=0;r||(r={});var c=function(){a=r.leading===!1?0:m.now(),o=null,i=n.apply(e,u),o||(e=u=null)};return function(){var f=m.now();a||r.leading!==!1||(a=f);var l=t-(f-a);return e=this,u=arguments,0>=l||l>t?(o&&(clearTimeout(o),o=null),a=f,i=n.apply(e,u),o||(e=u=null)):o||r.trailing===!1||(o=setTimeout(c,
l)),i}},m.debounce=function(n,t,r){var e,u,i,o,a,c=function(){var f=m.now()-o;t>f&&f>=0?e=setTimeout(c,t-f):(e=null,r||(a=n.apply(i,u),e||(i=u=null)))};return function(){i=this,u=arguments,o=m.now();var f=r&&!e;return e||(e=setTimeout(c,t)),f&&(a=n.apply(i,u),i=u=null),a}},m.wrap=function(n,t){return m.partial(t,n)},m.negate=function(n){return function(){return!n.apply(this,arguments)}},m.compose=function(){var n=arguments,t=n.length-1;return function(){for(var r=t,e=n[t].apply(this,arguments);r--;)e=
n[r].call(this,e);return e}},m.after=function(n,t){return function(){return--n<1?t.apply(this,arguments):void 0}},m.before=function(n,t){var r;return function(){return--n>0&&(r=t.apply(this,arguments)),1>=n&&(t=null),r}},m.once=m.partial(m.before,2);var M=!{toString:null}.propertyIsEnumerable("toString"),I=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];m.keys=function(n){if(!m.isObject(n))return[];if(v)return v(n);var t=[];for(var r in n)m.has(n,r)&&
t.push(r);return M&&e(n,t),t},m.allKeys=function(n){if(!m.isObject(n))return[];var t=[];for(var r in n)t.push(r);return M&&e(n,t),t},m.values=function(n){for(var t=m.keys(n),r=t.length,e=Array(r),u=0;r>u;u++)e[u]=n[t[u]];return e},m.mapObject=function(n,t,r){t=x(t,r);for(var e,u=m.keys(n),i=u.length,o={},a=0;i>a;a++)e=u[a],o[e]=t(n[e],e,n);return o},m.pairs=function(n){for(var t=m.keys(n),r=t.length,e=Array(r),u=0;r>u;u++)e[u]=[t[u],n[t[u]]];return e},m.invert=function(n){for(var t={},r=m.keys(n),
e=0,u=r.length;u>e;e++)t[n[r[e]]]=r[e];return t},m.functions=m.methods=function(n){var t=[];for(var r in n)m.isFunction(n[r])&&t.push(r);return t.sort()},m.extend=_(m.allKeys),m.extendOwn=m.assign=_(m.keys),m.findKey=function(n,t,r){t=x(t,r);for(var e,u=m.keys(n),i=0,o=u.length;o>i;i++)if(e=u[i],t(n[e],e,n))return e},m.pick=function(n,t,r){var e,u,i={},o=n;if(null==o)return i;m.isFunction(t)?(u=m.allKeys(o),e=b(t,r)):(u=S(arguments,!1,!1,1),e=function(n,t,r){return t in r},o=Object(o));for(var a=
0,c=u.length;c>a;a++){var f=u[a],l=o[f];e(l,f,o)&&(i[f]=l)}return i},m.omit=function(n,t,r){if(m.isFunction(t))t=m.negate(t);else{var e=m.map(S(arguments,!1,!1,1),String);t=function(n,t){return!m.contains(e,t)}}return m.pick(n,t,r)},m.defaults=_(m.allKeys,!0),m.create=function(n,t){var r=j(n);return t&&m.extendOwn(r,t),r},m.clone=function(n){return m.isObject(n)?m.isArray(n)?n.slice():m.extend({},n):n},m.tap=function(n,t){return t(n),n},m.isMatch=function(n,t){var r=m.keys(t),e=r.length;if(null==
n)return!e;for(var u=Object(n),i=0;e>i;i++){var o=r[i];if(t[o]!==u[o]||!(o in u))return!1}return!0};var N=function(n,t,r,e){if(n===t)return 0!==n||1/n===1/t;if(null==n||null==t)return n===t;n instanceof m&&(n=n._wrapped),t instanceof m&&(t=t._wrapped);var u=s.call(n);if(u!==s.call(t))return!1;switch(u){case "[object RegExp]":case "[object String]":return""+n==""+t;case "[object Number]":return+n!==+n?+t!==+t:0===+n?1/+n===1/t:+n===+t;case "[object Date]":case "[object Boolean]":return+n===+t}var i=
"[object Array]"===u;if(!i){if("object"!=typeof n||"object"!=typeof t)return!1;var o=n.constructor,a=t.constructor;if(o!==a&&!(m.isFunction(o)&&o instanceof o&&m.isFunction(a)&&a instanceof a)&&"constructor"in n&&"constructor"in t)return!1}r=r||[],e=e||[];for(var c=r.length;c--;)if(r[c]===n)return e[c]===t;if(r.push(n),e.push(t),i){if(c=n.length,c!==t.length)return!1;for(;c--;)if(!N(n[c],t[c],r,e))return!1}else{var f,l=m.keys(n);if(c=l.length,m.keys(t).length!==c)return!1;for(;c--;)if(f=l[c],!m.has(t,
f)||!N(n[f],t[f],r,e))return!1}return r.pop(),e.pop(),!0};m.isEqual=function(n,t){return N(n,t)},m.isEmpty=function(n){return null==n?!0:k(n)&&(m.isArray(n)||m.isString(n)||m.isArguments(n))?0===n.length:0===m.keys(n).length},m.isElement=function(n){return!(!n||1!==n.nodeType)},m.isArray=h||function(n){return"[object Array]"===s.call(n)},m.isObject=function(n){var t=typeof n;return"function"===t||"object"===t&&!!n},m.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(n){m["is"+
n]=function(t){return s.call(t)==="[object "+n+"]"}}),m.isArguments(arguments)||(m.isArguments=function(n){return m.has(n,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(m.isFunction=function(n){return"function"==typeof n||!1}),m.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))},m.isNaN=function(n){return m.isNumber(n)&&n!==+n},m.isBoolean=function(n){return n===!0||n===!1||"[object Boolean]"===s.call(n)},m.isNull=function(n){return null===n},m.isUndefined=function(n){return n===
void 0},m.has=function(n,t){return null!=n&&p.call(n,t)},m.noConflict=function(){return u._=i,this},m.identity=function(n){return n},m.constant=function(n){return function(){return n}},m.noop=function(){},m.property=w,m.propertyOf=function(n){return null==n?function(){}:function(t){return n[t]}},m.matcher=m.matches=function(n){return n=m.extendOwn({},n),function(t){return m.isMatch(t,n)}},m.times=function(n,t,r){var e=Array(Math.max(0,n));t=b(t,r,1);for(var u=0;n>u;u++)e[u]=t(u);return e},m.random=
function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))},m.now=Date.now||function(){return(new Date).getTime()};var B={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},T=m.invert(B),R=function(n){var t=function(t){return n[t]},r="(?:"+m.keys(n).join("|")+")",e=RegExp(r),u=RegExp(r,"g");return function(n){return n=null==n?"":""+n,e.test(n)?n.replace(u,t):n}};m.escape=R(B),m.unescape=R(T),m.result=function(n,t,r){var e=null==n?void 0:n[t];return e===void 0&&
(e=r),m.isFunction(e)?e.call(n):e};var q=0;m.uniqueId=function(n){var t=++q+"";return n?n+t:t},m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var K=/(.)^/,z={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},D=/\\|'|\r|\n|\u2028|\u2029/g,L=function(n){return"\\"+z[n]};m.template=function(n,t,r){!t&&r&&(t=r),t=m.defaults({},t,m.templateSettings);var e=RegExp([(t.escape||K).source,(t.interpolate||K).source,(t.evaluate||K).source].join("|")+
"|$","g"),u=0,i="__p+='";n.replace(e,function(t,r,e,o,a){return i+=n.slice(u,a).replace(D,L),u=a+t.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?i+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),t}),i+="';\n",t.variable||(i="with(obj||{}){\n"+i+"}\n"),i="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{var o=new Function(t.variable||"obj","_",i)}catch(a){throw a.source=i,a;}var c=function(n){return o.call(this,
n,m)},f=t.variable||"obj";return c.source="function("+f+"){\n"+i+"}",c},m.chain=function(n){var t=m(n);return t._chain=!0,t};var P=function(n,t){return n._chain?m(t).chain():t};m.mixin=function(n){m.each(m.functions(n),function(t){var r=m[t]=n[t];m.prototype[t]=function(){var n=[this._wrapped];return f.apply(n,arguments),P(this,r.apply(m,n))}})},m.mixin(m),m.each(["pop","push","reverse","shift","sort","splice","unshift"],function(n){var t=o[n];m.prototype[n]=function(){var r=this._wrapped;return t.apply(r,
arguments),"shift"!==n&&"splice"!==n||0!==r.length||delete r[0],P(this,r)}}),m.each(["concat","join","slice"],function(n){var t=o[n];m.prototype[n]=function(){return P(this,t.apply(this._wrapped,arguments))}}),m.prototype.value=function(){return this._wrapped},m.prototype.valueOf=m.prototype.toJSON=m.prototype.value,m.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return m})}).call(this);function k(a){throw a;}var n=void 0,q=!0,s=null,B=!1;function E(){return function(){}}function H(a){return function(b){this[a]=b}}function N(a){return function(){return this[a]}}function P(a){return function(){return a}}
(function(){function a(a){this.Ij=a;this.kq=s;this.cd={}}function b(){this.tf={};this.tf[b.FG]=[];this.tf[b.kQ]="lib/ExpressInstall.swf";this.tf[b.lQ]="lib/PanoramaRenderer.swf";this.tf[b.aR]="lib/ThreeWebGL.js";this.tf[b.kR]="lib/WebVRPolyfill.js";this.tf[b.XP]="lib/CapturaViewer.js";this.tf[b.R2]="lib/Dash.js";this.tf[b.nQ]="lib/Hls.js";this.tf[b.bQ]="lib/cursors";this.tf[b.WP]=n}function d(){this.sx=[];this.eD=[];this.$aa=[];this.$z=s}function c(a){return"[object Array]"==Object.prototype.toString.call(a)}
function f(a){return 0<=g.search(a.toLowerCase())}var j=window.TDV=window.TDV||{},g=navigator.userAgent.toLowerCase();d.prototype.getVersion=d.prototype.$0=function(){return{MAJOR:"0",MINOR:"702"}};d.prototype.mY=function(){if(this.$z)for(;0<this.sx.length;){var a=this.sx[0];this.sx=this.sx.slice(1);this.eD.push(a);this.T6(a)}};d.prototype.pW=function(a){var b=document.createElement("a");b.href=a;return b.href};d.prototype.G8=function(){var a=document.getElementsByTagName("head")[0].getElementsByTagName("script");
return this.pW(a[a.length-1].src)};d.prototype.T6=function(a){var f=this,c=a.Ij.get(b.Uz);setTimeout(function(){var b=document.createElement("script");b.type="text/javascript";b.src=c;document.getElementsByTagName("head")[0].appendChild(b);f.$z.$ja(a)},1)};d.prototype.defineScript=d.prototype.rla=function(a){for(var f=[],c=this.G8(),h=0;h<this.eD.length;h++){var g=this.eD[h],m=this.pW(g.Ij.get(b.Uz));m==c?(g.Ij.set(b.UQ,a),g.uja(new this.$z(g,g.Ij)),this.$aa.push(g)):f.push(m)}this.eD=f};d.prototype.create=
d.prototype.create=function(a){var f=a.get(b.FG),f=c(f)?this.Jba(f):"string"===typeof f?f:"script.js";a.set(b.Uz,f);a=new j.x3(a);this.sx.push(a);this.mY();return a};d.prototype.setPlayerClass=d.prototype.tja=function(a){this.$z=a;this.mY()};d.prototype.Jba=function(a){if(0<a.length){for(var b=0;b<a.length;b++){var f=a[b];if(c(f)){if(this.NZ(f[0]))return f[1]}else if("string"===typeof f)return f}return a[0][1]}return"script.js"};d.prototype.NZ=function(a){if("string"===typeof a){var b=a.match(/^\s*default\s*$/);
if(b)return q;if(b=a.match(/^\s*os\s*=\s*(\w+)\s*$/))return this.ni==b[1].toLowerCase();if(b=a.match(/^\s*browser\s*=\s*(\w+)\s*$/))return this.browser==b[1].toLowerCase();if(b=a.match(/^\s*device\s*=\s*(\w+)\s*$/))return this.Vq==b[1].toLowerCase();if(b=a.match(/^\s*screen_size\s*(<|>|=|<=|>=)\s*(\d+)\s*x\s*(\d+)\s*$/)){var a=parseInt(b[2]),f=parseInt(b[3]),h;switch(b[1]){case "<":h=function(a,e){return a<e};break;case ">":h=function(a,e){return a>e};break;case "=":h=function(a,e){return a==e};break;
case "<=":h=function(a,e){return a<=e};break;case ">=":h=function(a,e){return a>=e}}return h(screen.width,a)&&h(screen.height,f)||this.u1&&h(screen.width,f)&&h(screen.height,a)}return B}if(c(a)){for(b=0;b<a.length;b++)if(!this.NZ(a[b]))return B;return q}return B};d.prototype.OS_IOS=d.prototype.vG="ios";d.prototype.OS_ANDROID=d.prototype.uG="android";d.prototype.OS_WINDOWS=d.prototype.LQ="windows";d.prototype.OS_WINDOWS_PHONE=d.prototype.yG="windows_phone";d.prototype.OS_MACOSX=d.prototype.KQ="osx";
d.prototype.OS_LINUX=d.prototype.JQ="linux";d.prototype.OS_QNX=d.prototype.xG="qnx";d.prototype.OS_OTHER=d.prototype.wG="other";d.prototype.BROWSER_TYPE_WEBKIT=d.prototype.Am="webkit";d.prototype.BROWSER_TYPE_OPERA=d.prototype.rF="opera";d.prototype.BROWSER_TYPE_MSIE=d.prototype.Hr="msie";d.prototype.BROWSER_TYPE_MOZILLA=d.prototype.Az="mozilla";d.prototype.BROWSER_TYPE_OTHER=d.prototype.sF="other";d.prototype.BROWSER_SAFARI_IOS=d.prototype.Bh="safari_ios";d.prototype.BROWSER_OPERA=d.prototype.xz=
"opera";d.prototype.BROWSER_SAFARI=d.prototype.ui="safari";d.prototype.BROWSER_CHROME=d.prototype.Ah="chrome";d.prototype.BROWSER_EDGE=d.prototype.wz="edge";d.prototype.BROWSER_MSIE=d.prototype.zm="msie";d.prototype.BROWSER_ANDROID=d.prototype.zo="android";d.prototype.BROWSER_MOZILLA=d.prototype.Hu="mozilla";d.prototype.BROWSER_OTHER=d.prototype.qF="other";d.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET=d.prototype.Gr="samsunginternet";d.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET_FOR_GEAR_VR=d.prototype.Bo=
"samsunginternetgearvr";d.prototype.BROWSER_SUBTYPE_CHROME_IOS=d.prototype.yz="chromeios";d.prototype.BROWSER_SUBTYPE_SAFARI_IOS=d.prototype.Ao="safari_ios";d.prototype.BROWSER_SUBTYPE_SAFARI_WEBVIEW=d.prototype.Fr="safari_webview";d.prototype.BROWSER_SUBTYPE_TOUR_LAUNCHER=d.prototype.Iu="tour_launcher";d.prototype.BROWSER_SUBTYPE_OTHER=d.prototype.zz="other";d.prototype.BROWSER_VERSION_UNKNOWN=d.prototype.tF=-1;d.prototype.DEVICE_IPHONE=d.prototype.xF="iphone";d.prototype.DEVICE_IPAD=d.prototype.Mu=
"ipad";d.prototype.DEVICE_IPOD=d.prototype.yF="ipod";d.prototype.DEVICE_OTHER=d.prototype.zF="other";d.prototype.os=d.prototype.ni=f("iphone")||f("ipad")||f("ipod")?d.prototype.vG:f("qnx")?d.prototype.xG:f("android")?d.prototype.uG:f("windows phone")?d.prototype.yG:f("windows")?d.prototype.LQ:f("macintosh")||f("mac_powerpc")?d.prototype.KQ:f("linux")||f("x11")?d.prototype.JQ:d.prototype.wG;d.prototype.browser=d.prototype.browser=f("ipad")||f("iphone")||f("ipod")?d.prototype.Bh:f("opera")?d.prototype.xz:
f("edge")?d.prototype.wz:f("chrome")||f("crmo")?d.prototype.Ah:f("android")?d.prototype.zo:f("safari")?d.prototype.ui:f("trident")||f("msie")?d.prototype.zm:!f("compatible")&&f("mozilla")?d.prototype.Hu:d.prototype.qF;d.prototype.browserType=d.prototype.sh=d.prototype.browser==d.prototype.Bh||d.prototype.browser==d.prototype.Ah||d.prototype.browser==d.prototype.zo||d.prototype.browser==d.prototype.ui||f("webkit")?d.prototype.Am:d.prototype.browser==d.prototype.xz||f("opera")?d.prototype.rF:f("trident")||
f("msie")?d.prototype.Hr:!f("compatible")&&f("mozilla")?d.prototype.Az:d.prototype.sF;d.prototype.browserSubtype=d.prototype.zd=f("samsungbrowser")&&f("android")?f("oculusbrowser")?d.prototype.pka:f("mobile vr")?d.prototype.Bo:d.prototype.Gr:f("ipad")||f("iphone")||f("ipod")?f("crios")?d.prototype.yz:f("safari")&&f("version")&&!navigator.$la?d.prototype.Ao:d.prototype.Fr:f("electron")?d.prototype.Iu:d.prototype.zz;d.prototype.browserVersion=d.prototype.f0=function(){if(d.prototype.browser==d.prototype.zm){var a=
g.match(/MSIE ([0-9]{1,}[.0-9]{0,})/);if(a!=s)return parseFloat(a[1]);a=g.match(/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/);if(a!=s)return parseFloat(a[1])}return d.prototype.tF}();d.prototype.device=d.prototype.Vq=f("ipad")?d.prototype.Mu:f("iphone")?d.prototype.xF:f("ipod")?d.prototype.yF:d.prototype.zF;var h;a:{switch(d.prototype.ni){case d.prototype.uG:case d.prototype.vG:case d.prototype.yG:case d.prototype.xG:h=q;break a}h=B}d.prototype.mobile=d.prototype.u1=h;j.PlayerAPI=j.bb=new d;b.prototype.append=
b.prototype.append=function(a,f,h){a==b.FG&&("undefined"==typeof h&&(h=f,f="default"),f=[f,h]);c(this.tf[a])||(this.tf[a]=[]);this.tf[a].push(f)};b.prototype.set=b.prototype.set=function(a,b){this.tf[a]=b};b.prototype.get=b.prototype.get=function(a){return this.tf[a]};b.SCRIPT_URL=b.FG="ScriptURL";b.SCRIPT_DATA=b.UQ="ScriptData";b.FLASH_EXPRESS_INSTALLER_URL=b.kQ="FlashExpressInstallerURL";b.FLASH_AUDIO_PLAYER_URL=b.xka="FlashAudioPlayerURL";b.FLASH_VIDEO_PLAYER_URL=b.yka="FlashVideoPlayerURL";b.FLASH_PANORAMA_PLAYER_URL=
b.lQ="FlashPanoramaPlayerURL";b.THREE_JS_WEBGL_URL=b.aR="ThreeJSWebGLURL";b.WEBVR_POLYFILL_URL=b.kR="WebVRPolyfillURL";b.CAPTURA_VIEWER_URL=b.XP="CapturaViewerURL";b.DASH_URL=b.R2="DashURL";b.HLS_URL=b.nQ="HlsURL";b.CONTAINER=b.ZP="Container";b.SELECTED_SCRIPT_URL=b.Uz="SelectedScriptURL";b.BASE_DIR_URL=b.L2="BaseDirURL";b.CURSORS_DIR_URL=b.bQ="CursorsDirURL";b.BACKGROUND_PRELOAD_ENABLED=b.WP="BackgroundPreloadEnabled";b.ACTIVE_VIDEO_ELEMENT=b.J2="ActiveVideoElement";j.PlayerSettings=j.ag=b;j.PlayerEvent=
j.BG=function(a,b,f,c){this.name=a;this.data=this.originalEvent=b;this.sourceClassName=f[f.length-1];this.sourceClassPath=f;this.sourceId=c};a.prototype.uja=H("kq");a.prototype["delete"]=function(){this.kq&&(this.kq.clear(),this.kq=s)};a.prototype.getById=a.prototype.zla=function(a){return this.kq.Pga(a)};a.prototype.getByClassName=a.prototype.mo=function(a){return this.kq.T0(a)};a.prototype.createInstance=a.prototype.jo=function(a){return this.kq.jo(a)};a.prototype.bind=a.prototype.bind=function(a,
b,f,c){var h=a.split(":"),a=h[0],h=1<h.length?h[1]:"*";this.cd[a]=this.cd[a]||{};this.cd[a][h]=this.cd[a][h]||[];this.cd[a][h].push({handler:b,context:f,immediate:c});return this};a.prototype.unbind=a.prototype.unbind=function(a,b,f,c){var h=a.split(":"),a=h[0],h=1<h.length?h[1]:"*";if(a in this.cd&&h in this.cd[a]){for(var m=[],g=this.cd[a][h],d=0;d<g.length;d++){var j=g[d];(j.handler!=b||j.context!=f||j.immediate!=c)&&m.push(j)}this.cd[a][h]=m}};a.prototype.bindOnObject=a.prototype.kla=function(a,
b,f,c,h){return this.bind(b+":"+this.xJ(a),f,c,h)};a.prototype.unbindOnObject=a.prototype.hma=function(a,b,f,c,h){return this.unbind(b+":"+this.xJ(a),f,c,h)};a.prototype.bindOnObjectsOf=a.prototype.lla=function(a,b,f,c,h){return this.bind(b+":"+this.nJ(a),f,c,h)};a.prototype.unbindOnObjectsOf=a.prototype.ima=function(a,b,f,c,h){return this.unbind(b+":"+this.nJ(a),f,c,h)};a.prototype.trigger=function(a){this.Hv(a,q);var b=this;setTimeout(function(){b.Hv(a,B)},0)};a.prototype.Hv=function(a,b){for(var f=
this.Z7(a,b),c=0;c<f.length;c++)try{f[c].handler.call(f[c].context||window,a)}catch(h){setTimeout(function(){k(h)},0)}};a.prototype.Z7=function(a,b){var f=[];if(a.name in this.cd){for(var c=[],h=0;h<a.sourceClassPath.length;h++)c.push(this.nJ(a.sourceClassPath[h]));a.sourceId&&c.push(this.xJ(a.sourceId));c.push("*");for(var m=this.cd[a.name],g=[],h=0;h<c.length;h++)for(var g=m[c[h]]||[],d=0;d<g.length;d++)!!g[d].immediate==!!b&&f.push(g[d])}return f};a.prototype.xJ=function(a){return"instance("+a+
")"};a.prototype.nJ=function(a){return"className("+a+")"};j.Player=j.x3=a})();
define("jquery.mod",["jquery"],function(a){a=a.noConflict(q);(function(a,d,c){function f(a,e){var b=(a[0]||0)-(e[0]||0);return 0<b||!b&&0<a.length&&f(a.slice(1),e.slice(1))}function j(a){if(typeof a!=h)return a;var b=[],f="",c;for(c in a)f=typeof a[c]==h?j(a[c]):[c,e?encodeURI(a[c]):a[c]].join("="),b.push(f);return b.join("&")}function g(a){var e=[],b;for(b in a)e.push(['<param name="',b,'" value="',j(a[b]),'" />'].join(""));return e.join("")}var h="object",e=q;try{var l=c.description||(new c("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}catch(p){l=
"Unavailable"}var o=l.match(/\d+/g)||[0];a[d]={available:0<o[0],activeX:c&&!c.name,version:{original:l,array:o,string:o.join("."),major:parseInt(o[0],10)||0,minor:parseInt(o[1],10)||0,release:parseInt(o[2],10)||0},hasVersion:function(a){return f(o,/string|number/.test(typeof a)?a.toString().split("."):/object/.test(typeof a)?[a.major,a.minor]:a||[0,0])},encodeParams:q,expressInstall:"expressInstall.swf",expressInstallIsActive:B,create:function(a){if(!a.swf||this.expressInstallIsActive||!this.available&&
!a.hasVersionFail)return B;if(!this.hasVersion(a.hasVersion||1)){this.expressInstallIsActive=q;if("function"==typeof a.hasVersionFail&&!a.hasVersionFail.apply(a))return B;a={swf:a.expressInstall||this.expressInstall,height:137,width:214,flashvars:{Fka:window.location.href,Eka:this.activeX?"ActiveX":"PlugIn",Dka:document.title.slice(0,47)+" - Flash Player Installation"}}}attrs={data:a.swf,type:"application/x-shockwave-flash",id:a.id||"flash_"+Math.floor(999999999*Math.random()),width:a.width||320,
height:a.height||180,style:a.style||""};e="undefined"!==typeof a.useEncode?a.useEncode:this.encodeParams;a.movie=a.swf;a.wmode=a.wmode||"opaque";delete a.fallback;delete a.hasVersion;delete a.hasVersionFail;delete a.height;delete a.id;delete a.swf;delete a.useEncode;delete a.width;var b=document.createElement("div"),f=attrs,c=[],h;for(h in f)f[h]&&c.push([h,'="',f[h],'"'].join(""));b.innerHTML=["<object ",c.join(" "),">",g(a),"</object>"].join("");return b.firstChild}};a.fn[d]=function(e){var f=this.find(h).andSelf().filter(h);
/string|object/.test(typeof e)&&this.each(function(){var f=a(this),c;e=typeof e==h?e:{swf:e};e.fallback=this;if(c=a[d].create(e))f.children().remove(),f.html(c)});"function"==typeof e&&f.each(function(){var f=this;f.jsInteractionTimeoutMs=f.jsInteractionTimeoutMs||0;660>f.jsInteractionTimeoutMs&&(f.clientWidth||f.clientHeight?e.call(f):setTimeout(function(){a(f)[d](e)},f.jsInteractionTimeoutMs+66))});return f}})(a,"flash",navigator.plugins["Shockwave Flash"]||window.ActiveXObject);return a});
(function(){function a(a,e){return a.y5?m(e).chain():e}function b(a){return"\\"+aa[a]}function d(a){function e(b){return a[b]}var b="(?:"+m.keys(a).join("|")+")",f=RegExp(b),c=RegExp(b,"g");return function(a){return a=s==a?"":""+a,f.test(a)?a.replace(c,e):a}}function c(a,e,b,f){if(a===e)return 0!==a||1/a===1/e;if(s==a||s==e)return a===e;a instanceof m&&(a=a.Sq);e instanceof m&&(e=e.Sq);var h=L.call(a);if(h!==L.call(e))return B;switch(h){case "[object RegExp]":case "[object String]":return""+a==""+
e;case "[object Number]":return+a!==+a?+e!==+e:0===+a?1/+a===1/e:+a===+e;case "[object Date]":case "[object Boolean]":return+a===+e}h="[object Array]"===h;if(!h){if("object"!=typeof a||"object"!=typeof e)return B;var g=a.constructor,l=e.constructor;if(g!==l&&(!m.isFunction(g)||!(g instanceof g&&m.isFunction(l)&&l instanceof l))&&"constructor"in a&&"constructor"in e)return B}b=b||[];f=f||[];for(g=b.length;g--;)if(b[g]===a)return f[g]===e;if(b.push(a),f.push(e),h){if(g=a.length,g!==e.length)return B;
for(;g--;)if(!c(a[g],e[g],b,f))return B}else{var d,h=m.keys(a);if(g=h.length,m.keys(e).length!==g)return B;for(;g--;)if(d=h[g],!m.has(e,d)||!c(a[d],e[d],b,f))return B}return b.pop(),f.pop(),q}function f(a,e,b,f,c){if(!(f instanceof e))return a.apply(b,c);e=l(a.prototype);a=a.apply(e,c);return m.nu(a)?a:e}function j(a,e,b,f){for(var c=[],g=0,f=f||0,l=G(a);l>f;f++){var d=a[f];if(h(d)&&(m.isArray(d)||m.isArguments(d))){e||(d=j(d,e,b));var o=0,r=d.length;for(c.length+=r;r>o;)c[g++]=d[o++]}else b||(c[g++]=
d)}return c}function g(a){return function(e,b,f){var c={};return b=o(b,f),m.each(e,function(f,h){var m=b(f,h,e);a(c,f,m)}),c}}function h(a){a=G(a);return"number"==typeof a&&0<=a&&Y>=a}function e(a){return function(e){return s==e?n:e[a]}}function l(a){if(!m.nu(a))return{};if(K)return K(a);t.prototype=a;a=new t;return t.prototype=s,a}function p(a,e){return function(b){var f=arguments.length;if(2>f||s==b)return b;for(var c=1;f>c;c++)for(var h=arguments[c],m=a(h),g=m.length,l=0;g>l;l++){var d=m[l];e&&
b[d]!==n||(b[d]=h[d])}return b}}function o(a,e,b){return s==a?m.identity:m.isFunction(a)?r(a,e,b):m.nu(a)?m.YO(a):m.I1(a)}function r(a,e,b){if(e===n)return a;switch(s==b?3:b){case 1:return function(b){return a.call(e,b)};case 2:return function(b,f){return a.call(e,b,f)};case 3:return function(b,f,c){return a.call(e,b,f,c)};case 4:return function(b,f,c,h){return a.call(e,b,f,c,h)}}return function(){return a.apply(e,arguments)}}function m(a){return a instanceof m?a:this instanceof m?void(this.Sq=a):
new m(a)}function t(){}function u(a){return function(e,b,f,c){var b=r(b,c,4),g=!h(e)&&m.keys(e),l=(g||e).length,d=0<a?0:l-1;3>arguments.length&&(f=e[g?g[d]:d],d+=a);for(var j=b,o=f;0<=d&&l>d;d+=a)var p=g?g[d]:d,o=j(o,e[p],p,e);return o}}function w(a){return function(e,b,f){for(var b=o(b,f),f=G(e),c=0<a?0:f-1;0<=c&&f>c;c+=a)if(b(e[c],c,e))return c;return-1}}function A(a,e,b){return function(f,c,h){var g=0,l=G(f);if("number"==typeof h)0<a?g=0<=h?h:Math.max(h+l,g):l=0<=h?Math.min(h+1,l):h+l+1;else if(b&&
h&&l)return h=b(f,c),f[h]===c?h:-1;if(c!==c)return h=e(I.call(f,g,l),m.isNaN),0<=h?h+g:-1;for(h=0<a?g:l-1;0<=h&&l>h;h+=a)if(f[h]===c)return h;return-1}}function z(a,e){var b=V.length,f=a.constructor,f=m.isFunction(f)&&f.prototype||F,c="constructor";for(m.has(a,c)&&!m.contains(e,c)&&e.push(c);b--;)c=V[b],c in a&&a[c]!==f[c]&&!m.contains(e,c)&&e.push(c)}var C=this,v=C.QG,D=Array.prototype,F=Object.prototype,J=D.push,I=D.slice,L=F.toString,Q=F.hasOwnProperty,M=Array.isArray,S=Object.keys,T=Function.prototype.bind,
K=Object.create;"undefined"!=typeof exports?("undefined"!=typeof module&&module.cga&&(exports=module.cga=m),exports.QG=m):C.QG=m;m.VERSION="1.8.3";m.Ola=function(a,e){return o(a,e,1/0)};var Y=Math.pow(2,53)-1,G=e("length");m.each=m.forEach=function(a,e,b){var e=r(e,b),f;if(h(a)){b=0;for(f=a.length;f>b;b++)e(a[b],b,a)}else{var c=m.keys(a),b=0;for(f=c.length;f>b;b++)e(a[c[b]],c[b],a)}return a};m.map=m.ola=function(a,e,b){for(var e=o(e,b),b=!h(a)&&m.keys(a),f=(b||a).length,c=Array(f),g=0;f>g;g++){var l=
b?b[g]:g;c[g]=e(a[l],l,a)}return c};m.reduce=m.vla=m.Jla=u(1);m.reduceRight=m.wla=u(-1);m.find=m.detect=function(a,e,b){var f;return f=h(a)?m.x0(a,e,b):m.fga(a,e,b),f!==n&&-1!==f?a[f]:n};m.filter=m.select=function(a,e,b){var f=[];return e=o(e,b),m.each(a,function(a,b,c){e(a,b,c)&&f.push(a)}),f};m.reject=function(a,e,b){return m.filter(a,m.D1(o(e)),b)};m.every=m.all=function(a,e,b){for(var e=o(e,b),b=!h(a)&&m.keys(a),f=(b||a).length,c=0;f>c;c++){var g=b?b[c]:c;if(!e(a[g],g,a))return B}return q};m.some=
m.any=function(a,e,b){for(var e=o(e,b),b=!h(a)&&m.keys(a),f=(b||a).length,c=0;f>c;c++){var g=b?b[c]:c;if(e(a[g],g,a))return q}return B};m.contains=m.Hla=m.include=function(a,e,b,f){return h(a)||(a=m.values(a)),("number"!=typeof b||f)&&(b=0),0<=m.indexOf(a,e,b)};m.invoke=function(a,e){var b=I.call(arguments,2),f=m.isFunction(e);return m.map(a,function(a){var c=f?e:a[e];return s==c?c:c.apply(a,b)})};m.pluck=function(a,e){return m.map(a,m.I1(e))};m.mma=function(a,e){return m.filter(a,m.YO(e))};m.ula=
function(a,e){return m.find(a,m.YO(e))};m.max=function(a,e,b){var f,c=-1/0,g=-1/0;if(s==e&&s!=a)for(var a=h(a)?a:m.values(a),l=0,d=a.length;d>l;l++)b=a[l],b>c&&(c=b);else e=o(e,b),m.each(a,function(a,b,h){f=e(a,b,h);(f>g||f===-1/0&&c===-1/0)&&(c=a,g=f)});return c};m.min=function(a,e,b){var f,c=1/0,g=1/0;if(s==e&&s!=a)for(var a=h(a)?a:m.values(a),l=0,d=a.length;d>l;l++)b=a[l],c>b&&(c=b);else e=o(e,b),m.each(a,function(a,b,h){f=e(a,b,h);(g>f||1/0===f&&1/0===c)&&(c=a,g=f)});return c};m.Oja=function(a){for(var e=
h(a)?a:m.values(a),b=e.length,f=Array(b),c=0;b>c;c++)a=m.random(0,c),a!==c&&(f[c]=f[a]),f[a]=e[c];return f};m.sample=function(a,e,b){return s==e||b?(h(a)||(a=m.values(a)),a[m.random(a.length-1)]):m.Oja(a).slice(0,Math.max(0,e))};m.sortBy=function(a,e,b){return e=o(e,b),m.pluck(m.map(a,function(a,b,f){return{value:a,index:b,m0:e(a,b,f)}}).sort(function(a,e){var b=a.m0,f=e.m0;if(b!==f){if(b>f||b===n)return 1;if(f>b||f===n)return-1}return a.index-e.index}),"value")};m.groupBy=g(function(a,e,b){m.has(a,
b)?a[b].push(e):a[b]=[e]});m.Ila=g(function(a,e,b){a[b]=e});m.qla=g(function(a,e,b){m.has(a,b)?a[b]++:a[b]=1});m.toArray=function(a){return a?m.isArray(a)?I.call(a):h(a)?m.map(a,m.identity):m.values(a):[]};m.size=function(a){return s==a?0:h(a)?a.length:m.keys(a).length};m.Xla=function(a,e,b){var e=o(e,b),f=[],c=[];return m.each(a,function(a,b,h){(e(a,b,h)?f:c).push(a)}),[f,c]};m.first=m.head=m.bma=function(a,e,b){return s==a?n:s==e||b?a[0]:m.gha(a,a.length-e)};m.gha=function(a,e){return I.call(a,
0,Math.max(0,a.length-(s==e?1:e)))};m.last=function(a,e,b){return s==a?n:s==e||b?a[a.length-1]:m.rest(a,Math.max(0,a.length-e))};m.rest=m.ama=m.tla=function(a,e,b){return I.call(a,s==e||b?1:e)};m.compact=function(a){return m.filter(a,m.identity)};m.flatten=function(a,e){return j(a,e,B)};m.without=function(a){return m.difference(a,I.call(arguments,1))};m.uniq=m.unique=function(a,e,b,f){m.isBoolean(e)||(f=b,b=e,e=B);s!=b&&(b=o(b,f));for(var f=[],c=[],h=0,g=G(a);g>h;h++){var l=a[h],d=b?b(l,h,a):l;e?
(h&&c===d||f.push(l),c=d):b?m.contains(c,d)||(c.push(d),f.push(l)):m.contains(f,l)||f.push(l)}return f};m.union=function(){return m.uniq(j(arguments,q,q))};m.intersection=function(a){for(var e=[],b=arguments.length,f=0,c=G(a);c>f;f++){var h=a[f];if(!m.contains(e,h)){for(var g=1;b>g&&m.contains(arguments[g],h);g++);g===b&&e.push(h)}}return e};m.difference=function(a){var e=j(arguments,q,q,1);return m.filter(a,function(a){return!m.contains(e,a)})};m.zip=function(){return m.dka(arguments)};m.dka=function(a){for(var e=
a&&m.max(a,G).length||0,b=Array(e),f=0;e>f;f++)b[f]=m.pluck(a,f);return b};m.object=function(a,e){for(var b={},f=0,c=G(a);c>f;f++)e?b[a[f]]=e[f]:b[a[f][0]]=a[f][1];return b};m.x0=w(1);m.gga=w(-1);m.sortedIndex=function(a,e,b,f){for(var b=o(b,f,1),e=b(e),f=0,c=G(a);c>f;){var h=Math.floor((f+c)/2);b(a[h])<e?f=h+1:c=h}return f};m.indexOf=A(1,m.x0,m.sortedIndex);m.lastIndexOf=A(-1,m.gga);m.range=function(a,e,b){s==e&&(e=a||0,a=0);for(var b=b||1,e=Math.max(Math.ceil((e-a)/b),0),f=Array(e),c=0;e>c;c++,
a+=b)f[c]=a;return f};m.bind=function(a,e){function b(){return f(a,b,e,this,c.concat(I.call(arguments)))}if(T&&a.bind===T)return T.apply(a,I.call(arguments,1));m.isFunction(a)||k(new TypeError("Bind must be called on a function"));var c=I.call(arguments,2);return b};m.cP=function(a){function e(){for(var c=0,h=b.length,g=Array(h),l=0;h>l;l++)g[l]=b[l]===m?arguments[c++]:b[l];for(;c<arguments.length;)g.push(arguments[c++]);return f(a,e,this,this,g)}var b=I.call(arguments,1);return e};m.bindAll=function(a){var e,
b,f=arguments.length;1>=f&&k(Error("bindAll must be passed function names"));for(e=1;f>e;e++)b=arguments[e],a[b]=m.bind(a[b],a);return a};m.memoize=function(a,e){function b(f){var c=b.tfa,h=""+(e?e.apply(this,arguments):f);return m.has(c,h)||(c[h]=a.apply(this,arguments)),c[h]}return b.tfa={},b};m.delay=function(a,e){var b=I.call(arguments,2);return setTimeout(function(){return a.apply(s,b)},e)};m.defer=m.cP(m.delay,m,1);m.throttle=function(a,e,b){function f(){d=b.uha===B?0:m.now();l=s;g=a.apply(c,
h);l||(c=h=s)}var c,h,g,l=s,d=0;b||(b={});return function(){var j=m.now();d||b.uha!==B||(d=j);var o=e-(j-d);return c=this,h=arguments,0>=o||o>e?(l&&(clearTimeout(l),l=s),d=j,g=a.apply(c,h),l||(c=h=s)):l||b.fma===B||(l=setTimeout(f,o)),g}};m.debounce=function(a,e,b){function f(){var j=m.now()-l;e>j&&0<=j?c=setTimeout(f,e-j):(c=s,b||(d=a.apply(g,h),c||(g=h=s)))}var c,h,g,l,d;return function(){g=this;h=arguments;l=m.now();var j=b&&!c;return c||(c=setTimeout(f,e)),j&&(d=a.apply(g,h),g=h=s),d}};m.wrap=
function(a,e){return m.cP(e,a)};m.D1=function(a){return function(){return!a.apply(this,arguments)}};m.compose=function(){var a=arguments,e=a.length-1;return function(){for(var b=e,f=a[e].apply(this,arguments);b--;)f=a[b].call(this,f);return f}};m.after=function(a,e){return function(){return 1>--a?e.apply(this,arguments):n}};m.before=function(a,e){var b;return function(){return 0<--a&&(b=e.apply(this,arguments)),1>=a&&(e=s),b}};m.once=m.cP(m.before,2);var U=!{toString:s}.propertyIsEnumerable("toString"),
V="valueOf,isPrototypeOf,toString,propertyIsEnumerable,hasOwnProperty,toLocaleString".split(",");m.keys=function(a){if(!m.nu(a))return[];if(S)return S(a);var e=[],b;for(b in a)m.has(a,b)&&e.push(b);return U&&z(a,e),e};m.$N=function(a){if(!m.nu(a))return[];var e=[],b;for(b in a)e.push(b);return U&&z(a,e),e};m.values=function(a){for(var e=m.keys(a),b=e.length,f=Array(b),c=0;b>c;c++)f[c]=a[e[c]];return f};m.Qla=function(a,e,b){for(var e=o(e,b),f=m.keys(a),c=f.length,h={},g=0;c>g;g++)b=f[g],h[b]=e(a[b],
b,a);return h};m.Wla=function(a){for(var e=m.keys(a),b=e.length,f=Array(b),c=0;b>c;c++)f[c]=[e[c],a[e[c]]];return f};m.o1=function(a){for(var e={},b=m.keys(a),f=0,c=b.length;c>f;f++)e[a[b[f]]]=b[f];return e};m.functions=m.Tla=function(a){var e=[],b;for(b in a)m.isFunction(a[b])&&e.push(b);return e.sort()};m.extend=p(m.$N);m.w0=m.assign=p(m.keys);m.fga=function(a,e,b){for(var e=o(e,b),f,b=m.keys(a),c=0,h=b.length;h>c;c++)if(f=b[c],e(a[f],f,a))return f};m.Pha=function(a,e,b){var f,c,h={},g=a;if(s==
g)return h;m.isFunction(e)?(c=m.$N(g),f=r(e,b)):(c=j(arguments,B,B,1),f=function(a,e,b){return e in b},g=Object(g));for(var l=0,d=c.length;d>l;l++){var o=c[l],p=g[o];f(p,o,g)&&(h[o]=p)}return h};m.Ula=function(a,e,b){if(m.isFunction(e))e=m.D1(e);else var f=m.map(j(arguments,B,B,1),String),e=function(a,e){return!m.contains(f,e)};return m.Pha(a,e,b)};m.defaults=p(m.$N,q);m.create=function(a,e){var b=l(a);return e&&m.w0(b,e),b};m.clone=function(a){return m.nu(a)?m.isArray(a)?a.slice():m.extend({},a):
a};m.tap=function(a,e){return e(a),a};m.nha=function(a,e){var b=m.keys(e),f=b.length;if(s==a)return!f;for(var c=Object(a),h=0;f>h;h++){var g=b[h];if(e[g]!==c[g]||!(g in c))return B}return q};m.isEqual=function(a,e){return c(a,e)};m.isEmpty=function(a){return s==a?q:h(a)&&(m.isArray(a)||m.isString(a)||m.isArguments(a))?0===a.length:0===m.keys(a).length};m.isElement=function(a){return!(!a||1!==a.nodeType)};m.isArray=M||function(a){return"[object Array]"===L.call(a)};m.nu=function(a){var e=typeof a;
return"function"===e||"object"===e&&!!a};m.each("Arguments,Function,String,Number,Date,RegExp,Error".split(","),function(a){m["is"+a]=function(e){return L.call(e)==="[object "+a+"]"}});m.isArguments(arguments)||(m.isArguments=function(a){return m.has(a,"callee")});"function"!=typeof/./&&"object"!=typeof Int8Array&&(m.isFunction=function(a){return"function"==typeof a||B});m.Lla=function(a){return isFinite(a)&&!isNaN(parseFloat(a))};m.isNaN=function(a){return m.isNumber(a)&&a!==+a};m.isBoolean=function(a){return a===
q||a===B||"[object Boolean]"===L.call(a)};m.isNull=function(a){return s===a};m.isUndefined=function(a){return a===n};m.has=function(a,e){return s!=a&&Q.call(a,e)};m.noConflict=function(){return C.QG=v,this};m.identity=function(a){return a};m.pla=function(a){return function(){return a}};m.noop=E();m.I1=e;m.Yla=function(a){return s==a?E():function(e){return a[e]}};m.YO=m.Rla=function(a){return a=m.w0({},a),function(e){return m.nha(e,a)}};m.times=function(a,e,b){for(var f=Array(Math.max(0,a)),e=r(e,
b,1),b=0;a>b;b++)f[b]=e(b);return f};m.random=function(a,e){return s==e&&(e=a,a=0),a+Math.floor(Math.random()*(e-a+1))};m.now=Date.now||function(){return(new Date).getTime()};var M={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},W=m.o1(M);m.escape=d(M);m.unescape=d(W);m.result=function(a,e,b){e=s==a?n:a[e];return e===n&&(e=b),m.isFunction(e)?e.call(a):e};var X=0;m.uniqueId=function(a){var e=++X+"";return a?a+e:e};m.Xja={evaluate:/<%([\s\S]+?)%>/g,iha:/<%=([\s\S]+?)%>/g,
escape:/<%-([\s\S]+?)%>/g};var Z=/(.)^/,aa={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ca=/\\|'|\r|\n|\u2028|\u2029/g;m.template=function(a,e,f){function c(a){return l.call(this,a,m)}!e&&f&&(e=f);var e=m.defaults({},e,m.Xja),h=0,g="__p+='";a.replace(RegExp([(e.escape||Z).source,(e.iha||Z).source,(e.evaluate||Z).source].join("|")+"|$","g"),function(e,f,c,m,l){return g+=a.slice(h,l).replace(ca,b),h=l+e.length,f?g+="'+\n((__t=("+f+"))==null?'':_.escape(__t))+\n'":c?g+="'+\n((__t=("+
c+"))==null?'':__t)+\n'":m&&(g+="';\n"+m+"\n__p+='"),e});g+="';\n";e.I2||(g="with(obj||{}){\n"+g+"}\n");g="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+g+"return __p;\n";try{var l=new Function(e.I2||"obj","_",g)}catch(d){k((d.source=g,d))}return c.source="function("+(e.I2||"obj")+"){\n"+g+"}",c};m.chain=function(a){a=m(a);return a.y5=q,a};m.mixin=function(e){m.each(m.functions(e),function(b){var f=m[b]=e[b];m.prototype[b]=function(){var e=[this.Sq];return J.apply(e,
arguments),a(this,f.apply(m,e))}})};m.mixin(m);m.each("pop,push,reverse,shift,sort,splice,unshift".split(","),function(e){var b=D[e];m.prototype[e]=function(){var f=this.Sq;return b.apply(f,arguments),"shift"!==e&&"splice"!==e||0!==f.length||delete f[0],a(this,f)}});m.each(["concat","join","slice"],function(e){var b=D[e];m.prototype[e]=function(){return a(this,b.apply(this.Sq,arguments))}});m.prototype.value=N("Sq");m.prototype.valueOf=m.prototype.toJSON=m.prototype.value;m.prototype.toString=function(){return""+
this.Sq};"function"==typeof define&&define.ila&&define("v",[],function(){return m})}).call(this);define("underscore-min",E());define("cu",["underscore-min"],function(){return window._.noConflict()});
define("iu",[],function(){return{Qa:function(a){return a+"_change"},dc:"default",wb:"mouseDown",jc:"mouseMove",xb:"mouseUp",To:"mouseWheel",ga:"click",i3:"doubleClick",Yb:"rollOver",Kb:"rollOut",Mj:"mouseEnter",oe:"mouseLeave",mG:"gestureStart",Y2:"gestureChange",lG:"gestureEnd",Z2:"gestureRotate",Lr:"gestureScale",av:"progress",Lu:"close",OPEN:"open",Tz:"select",Nb:"resize",vF:"changing",W:"change",GG:"stateChange",ib:"loaded",Zf:"loadingError",Vz:"start",od:"stop",Nj:"play",Uo:"pause",Fm:"ready",
Qk:"begin",ra:"end",$f:"press",Eh:"release",Vo:"repeatEnd",Qz:"movementChange",oka:"beforeShow",nka:"beforeHide",pe:"show",me:"hide",Or:"showEnd",So:"hideEnd",e3:"loadingScript",w3:"processingScript"}});define("bB",[],function(){return function(a,b){this.name=a;this.source=n;this.data=b}});
define("hT",[],function(){function a(){this.wn=[];this.Gt=[]}a.prototype.zJ=function(a){for(var d=0;d<this.wn.length;d++)if(this.wn[d]==a)return d;return-1};a.prototype.set=function(a,d){var c=this.zJ(a);0<=c?this.Gt[c]=d:(this.wn.push(a),this.Gt.push(d))};a.prototype.get=function(a){a=this.zJ(a);if(0<=a)return this.Gt[a]};a.prototype.keys=function(){return this.wn.slice()};a.prototype.values=function(){return this.Gt.slice()};a.prototype.length=function(){return this.wn.length};a.prototype.clear=
function(a){a=this.zJ(a);0<=a&&(this.wn.splice(a,1),this.Gt.splice(a,1))};a.prototype.each=function(a,d){for(var c=0;c<this.wn.length;c++)a.call(d,this.wn[c],this.Gt[c])};return a});
define("eG",["require","cu","iu"],function(a){function b(a){var b=f[a];if(b)return b;if("string"!=typeof a)return f[a]=function(){return a};var e=(b=j.exec(a))&&parseFloat(b[1]);switch(b&&b[4]&&b[4].toLowerCase()){case "vw":return f[a]=function(a){return a*e};case "vh":return f[a]=function(a,b){return b*e};case "vmin":return f[a]=function(a,b,f){return f*e};case "vmax":return f[a]=function(a,b,f){return f*e};default:return f[a]=function(){return a}}}function d(a){this.Fa=a;this.Ey=this.Ey.bind(this);
this.Fa.bind(c.Nb,this.rb,this,q);this.CM={};this.fl=[];this.rb()}a("cu");var c=a("iu");d.prototype.rb=function(){this.Pea();for(var a in this.CM)this.Ey(this.CM[a]);this.fl.forEach(this.Ey)};d.prototype.Pea=function(){var a=this.Fa.la();this.ZD=0.01*this.Fa.aa();this.XD=0.01*a;this.T_=Math.min(this.ZD,this.XD);this.S_=Math.max(this.ZD,this.XD)};d.prototype.Ey=function(a){a(this.ZD,this.XD,this.T_,this.S_)};d.prototype.hfa=function(a){this.fl.push(a)};d.prototype.Xha=function(a){a=this.fl.indexOf(a);
0<=a&&this.fl.splice(a,1)};d.prototype.mfa=function(a,f,e,c){function d(b,c,l,p){f.call(a,e,j(b,c,l,p))}var j=b(c);this.CM[a.Ds+"."+e]=d;d(this.ZD,this.XD,this.T_,this.S_)};d.tV={};d.get=function(a){var b=a.Ds,e=d.tV[b];e||(e=new d(a),d.tV[b]=e);return e};var f={},j=/^\s*((\+|\-)?(\d*\.)?\d+)\s*(vmin|vmax|vw|vh|px|%)?\s*$/i;return d});
define("he",[],function(){var a=window.URL||E();a.Yg=document.createElement("a");a.UO=function(b){if(a.p1(b)){var d=window.location.protocol+"//"+window.location.hostname;return b.substring(0,d.length)!=d}return B};a.rz=function(b,d){if(a.pha(b))b=window.location.protocol+b;else if(!a.p1(b)&&!a.Wy(b)){if(d)if(0==b.indexOf("/")){var c=d.indexOf("//"),f="";0<=c&&(f=d.substr(0,c+2),d=d.substr(c+2));c=d.indexOf("/");0<c&&(d=d.substr(0,c));b=f+d+b}else b=d+b;a.Yg.href=b;b=a.Yg.href}return b};a.lha=function(){switch(window.location.protocol){case "http:":case "https:":return q;
default:return B}};a.pha=function(a){return 0===a.indexOf("//")};a.p1=function(a){a=a.indexOf("://");return 3<=a&&5>=a};a.Wy=function(a){return 0==a.indexOf("data:")};a.getDirectory=function(b){b=a.rz(b);b=b.split("?")[0];b=b.split("/");1<b.length&&b.splice(b.length-1,1);return b.join("/")+"/"};a.qo=function(b){a.$s||(a.$s=a.IU());return a.$s[b]!==n};a.eu=function(b){a.$s||(a.$s=a.IU());return a.$s[b]};a.parse=function(b){a.Yg.href=b;b={};b.protocol=a.Yg.protocol;b.hostname=a.Yg.hostname;b.port=a.Yg.port;
b.pathname=a.Yg.pathname;b.search=a.Yg.search;b.hash=a.Yg.hash;b.host=a.Yg.host;var d=b.pathname?b.pathname.lastIndexOf("."):-1;b.dga=0<=d?b.pathname.substr(d).toLowerCase():"";return b};a.mla=function(a){return a.protocol+"//"+a.hostname+a.pathname+a.search+a.hash};a.getExtension=function(b){var b=a.parse(b).pathname,d=b.lastIndexOf(".");return 0<=d?b.substr(d,b.length):""};a.Tt=function(b,d){switch((a.eu(b)||"").toLowerCase()){case "false":case "0":case "no":case "n":return B;case "true":case "1":case "yes":case "y":return q;
default:return d}};a.Bga=function(){var b=parseInt(a.eu("dvs"));return isNaN(b)?5:b};a.$s=s;a.IU=function(){for(var a={},d=window.location.search.substring(1).split("&"),c=0;c<d.length;c++){var f=d[c].split("=");a[decodeURIComponent(f[0])]=1<f.length?decodeURIComponent(f[1]):s}return a};return a});
define("gD",["cu","jquery.mod"],function(a,b){var d={fha:function(a,b){function d(){}d.prototype=b.prototype;a.prototype=new d;a.prototype.constructor=a},extend:function(a,b){d.fha(b,a);return b},deferred:function(b,f){return function(){var d=arguments;a.defer(function(){b.apply(f,d)})}},qm:function(b,f){var d=B;return function(){d||(d=q,a.defer(function(){d=B;b.apply(f)}))}},memoize:function(a,b,d,g){a.Ow||(a.Ow=[],a.KK=[]);for(var h=a.Ow,e=0,l=h.length;e<l;e++){var p=h[e];if(g.length==p.length){for(var o=
q,r=0,m=g.length;r<m&&o;r++)o=p[r]==g[r];if(o)return a.KK[e]}}d=d.apply(window,g);a.Ow.length==b&&(a.Ow.shift(),a.KK.shift());a.Ow.push(g);a.KK.push(d);return d},zs:[],dE:function(a,b){var j=d.C6();window[j]=function(){a.apply(b,arguments)};d.zs.push({handler:a,context:b,callback:j});return j},Dla:function(a,b){for(var j=0;j<d.zs.length;j++){var g=d.zs[j];if(g.handler==a&&g.context==b)return g.callback}},gma:function(a,b){for(var j=0;j<d.zs.length;j++){var g=d.zs[j];if(g.handler==a&&g.context==b)return g=
g.callback,d.zs.splice(j,1),delete window[g],g}},C6:function(){var a;do a="__callback_"+d.mP(8);while(window[a]);return a},mP:function(a){for(var b=[],d=0;d<a;d++)b.push(Math.floor(16*Math.random()).toString(16));return b.join("")},bga:function(a){d.Qs=b("<div></div>");d.Qs.css({overflow:"auto",position:"absolute",bottom:0,left:0,right:0,padding:"20px",fontFamily:"Verdana",backgroundColor:"#FFFFFF",color:"#000000","z-index":100});a?d.Qs.css({top:0}):d.Qs.css({left:"50%",height:"33%",filter:"alpha(opacity=60)",
opacity:0.6});b("body").append(d.Qs);console.log=function(a){d.log(a)}},log:function(a){try{d.Qs?b("<div></div>").text(a).prependTo(d.Qs):console.log(a)}catch(f){}},Zla:function(a){this.bJ.push(a)},bJ:[],debug:function(a,b){try{b.apply(this,arguments)}catch(j){d.ME(a,j),k(j)}},ME:function(a,b){var d=[];d.push("Exception: "+a);b.message?(d.push(b.message),d.push(b.stack)):d.push(b);this.log(d.join("\n"));for(d=0;d<this.bJ.length;d++)this.bJ[d](b)},clone:function(a,b){var b=b||0,j=new a.constructor,
g;for(g in a)if(a.hasOwnProperty(g)){var h=a[g];0<b&&h&&"object"===typeof h&&(h=d.clone(h,b-1));j[g]=h}return j}};return d});
define("cO","require,jquery.mod,cu,hT,eG,he,gD".split(","),function(a){function b(a,b){this.Yr=a;this.ZH=b;this.rx=s;this.mL={};this.hL=this.ip=this.Ur=n;this.JX=[];this.ry=this.Nq=n;this.IX=[];this.Ox=this.Eq=n;this.HX={};this.Pw=n;this.FX=[];this.Zm=n;this.GX=[];this.sn=n;this.HV=this.KV=B}var d=a("jquery.mod"),c=a("cu"),f=a("hT"),j=a("eG"),g=a("he"),h=a("gD");b.prototype.D=function(a){this.rx=a;this.RS();this.SS();this.RH();return this};b.prototype.Hga=function(){if(this.rx)return b.mo(this.rx)};
b.prototype.Wt=N("Yr");b.prototype.Ky=function(){return this.ln()?this.tl().Ky().concat(this.Yr):[this.Yr]};b.prototype.K=function(a){this.mL=a;this.RS();return this};b.prototype.hasAttributes=function(){return this.A0().length>0};b.prototype.hasAttribute=function(a){return this.rO(a)?q:B};b.prototype.A0=function(){this.Ur==n&&this.jT();return this.Ur};b.prototype.kja=function(){this.hL=["definitions"];return this};b.prototype.M0=function(){if(this.hL)return this.hL;if(this.ln())this.tl().M0();else return[]};
b.prototype.rO=function(a){this.ip==n&&this.jT();return this.ip[a]};b.prototype.Hj=function(a){this.JX=a;this.K5();return this};b.prototype.cha=function(){return this.Z0().length>0};b.prototype.Z0=function(){this.Nq==n&&this.tT();return this.Nq};b.prototype.Rga=function(){this.ry==n&&this.tT();return this.ry};b.prototype.xm=function(a){this.IX=a;this.J5();return this};b.prototype.$ga=function(){return this.V0().length>0};b.prototype.V0=function(){this.Eq==n&&this.rT();return this.Eq};b.prototype.Qga=
function(){this.Ox==n&&this.rT();return this.Ox};b.prototype.Jb=function(a){this.FX=a;this.RH();return this};b.prototype.Xga=function(){return this.vO().length>0};b.prototype.c1=function(a){this.Zm==n&&this.MA();return c(this.Zm).contains(a)};b.prototype.vO=function(){this.Zm==n&&this.MA();return this.Zm};b.prototype.qi=function(a){this.GX=a;this.RH();return this};b.prototype.Zga=function(){return this.yO().length>0};b.prototype.e1=function(a){this.sn==n&&this.MA();return c(this.sn).contains(a)};
b.prototype.yO=function(){this.sn==n&&this.MA();return this.sn};b.prototype.si=function(a){this.HX=a;this.SS();return this};b.prototype.L0=function(){this.Pw==n&&this.l6();return this.Pw};b.prototype.Via=function(){this.KV=q;return this};b.prototype.H0=function(){return this.KV||this.ln()&&this.tl().H0()};b.prototype.jo=function(a,b,f){this.Xaa(b);var c=this.ZH,g;g=f&&f.length>0?new (h.extend(c,function(){c.apply(this,f)})):new c;g.set("application",a);g.set("baseDirectoy",b);g.set("class",this.Wt());
return g};b.prototype.Xaa=function(a){if(!this.HV){this.HV=q;this.G6(a);this.n7()}};b.prototype.G6=function(a){if(this.cha()||this.$ga()){var b=this.ZH.prototype,f=this.Rga(),c=this.Qga(),h=b.set;b.set=function(b,d){f[b]?h.call(this,b,g.rz(d,a)):c[b]?j.get(this.get("application")).mfa(this,h,b,d):h.call(this,b,d)}}};b.prototype.n7=function(){var a=this.ZH.prototype,b=this;if(this.hasAttributes()){a.set=a.set;a.get=a.get}if(this.Xga()||this.Zga()){a.bind=a.bind;a.getBindings=a.oga;a.hasBindings=a.JO;
a.trigger=a.trigger;a.unbind=a.unbind}a.getClassName=function(){return b.Wt()};a.getClassPath=function(){return b.Ky()};var f=this.L0(),c;for(c in f)a[c]=f[c]};b.prototype.RS=function(){this.ip=this.Ur=n};b.prototype.jT=function(){this.Ur=[];this.ip={};for(var a in this.mL){this.Ur.push(a);this.ip[a]=b.rJ(this.mL[a])}if(this.ln())for(var f=this.tl(),c=f.A0(),h=0;h<c.length;h++){a=c[h];if(!this.ip[a]){this.Ur.push(a);this.ip[a]=f.rO(a)}}};b.prototype.K5=function(){this.ry=n};b.prototype.tT=function(){this.Nq=
this.JX.slice();if(this.ln())this.Nq=c(this.Nq).union(this.tl().Z0());this.ry={};for(var a=0;a<this.Nq.length;a++)this.ry[this.Nq[a]]=q};b.prototype.J5=function(){this.Ox=n};b.prototype.rT=function(){this.Eq=this.IX.slice();if(this.ln())this.Eq=c(this.Eq).union(this.tl().V0());this.Ox={};for(var a=0;a<this.Eq.length;a++)this.Ox[this.Eq[a]]=q};b.prototype.RH=function(){this.sn=this.Zm=n};b.prototype.MA=function(){this.Zm=this.FX.slice();this.sn=this.GX.slice();if(this.ln()){this.Zm=c(this.Zm).union(this.tl().vO());
this.sn=c(this.sn).union(this.tl().yO())}};b.prototype.SS=function(){this.Pw=n};b.prototype.l6=function(){this.Pw=c(this.HX).clone();this.ln()&&c(this.Pw).defaults(this.tl().L0())};b.prototype.ln=function(){return this.rx?q:B};b.prototype.tl=function(){return b.mo(this.rx)};b.QS=new f;b.PS=new f;b.fla={};b.C=function(a,f){var c=new b(a,f);b.QS.set(a,c);b.PS.set(f,c);return c};b.mo=function(a){return b.QS.get(a)};b.pga=function(a){return b.PS.get(a)};b.hc=function(a,f){var h=b.mo(a);if(c(f).isNull())return q;
if(f&&f.constructor)for(var g=b.pga(f.constructor);g;){if(g==h)return q;g=g.Hga()}return B};b.rJ=function(a){switch(a){case "string":case "code":return b.yda;case "number":return b.y$;case "bool":return b.Y4;case "color":return b.P5;case "percent":return b.Iaa;case "size":return b.fda;case "identifier":return b.y9;case "array":return b.cS;case "dict":return b.Jaa;case "*":return b.e7;default:if(b.R9(a))switch(b.N7(a)){case "array":var f=b.rJ(b.bU(a));return function(a,e){for(var a=b.cS(a,e),c=0;c<
a.length;c++)a[c]=f(a[c],e);return a};case "enum":var h=b.cU(a);return b.P7(h);case "or":var h=b.cU(a),g=c(h).map(function(a){return b.rJ(a)});return function(a,b){for(var e=0;e<g.length;e++)try{return g[e](a,b)}catch(f){}k("Invalid value")};default:k("Invalid type validator definition: "+a)}else return b.Mi(function(f){return b.hc(a,f)})}};b.R9=function(a){return a.indexOf("[")>=0&&a.lastIndexOf("]")==a.length-1};b.N7=function(a){return a.substring(0,a.indexOf("["))};b.bU=function(a){return a.substring(a.indexOf("[")+
1,a.lastIndexOf("]"))};b.cU=function(a){for(var a=b.bU(a),f=[],h="",g=0,d=0;d<a.length;d++){var m=a.charAt(d),h=h+m;switch(m){case "[":g++;break;case "]":g--;break;case ",":if(g==0){f.push(h.substr(0,h.length-1));h=""}}}h!=""&&f.push(h);return c(f).map(function(a){return b.bea(a)})};b.bea=function(a){return a.replace(/^\s+|\s+$/g,"")};b.Mi=function(a){return function(f,c){if(!a(f)){typeof f!="string"&&k("Invalid value");f=b.l7(f,c);a(f)||k("Invalid value")}return f}};b.l7=function(a,b){return function(){return eval(a)}.call(b)};
b.e7=function(a){return a};b.y$=b.Mi(function(a){return Object.prototype.toString.call(a)=="[object Number]"});b.yda=b.Mi(function(a){return typeof a=="string"||a===s});b.Y4=b.Mi(function(a){return a===q||a===B});b.cS=b.Mi(function(a){return Object.prototype.toString.call(a)=="[object Array]"});b.P7=function(a){return b.Mi(function(b){return c(a).contains(b)})};b.eB=function(a,b){return c(a).isString()&&b.test(a)};b.y9=b.Mi(function(a){return b.eB(a,/^[a-z][a-z0-9_]*$/i)});b.Iaa=b.Mi(function(a){return b.eB(a,
/^\s*([+-]?\d+\.?\d*)%\s*$/i)});b.fda=b.Mi(function(a){return b.eB(a,/^\s*([+-]?\d+\.?\d*)\s*((vw)|(vh)|(vmin)|(vmax)|(px))\s*$/i)});b.P5=b.Mi(function(a){return b.eB(a,/^#[0-9a-f]{6}$/i)});b.Jaa=b.Mi(function(a){try{return d.isPlainObject(a)}catch(b){return B}});return b});
define("gG",[],function(){function a(){b()}function b(){h&&clearTimeout(h);h=s;var a=j.length,b=j.splice(0,a);f+=a;for(var c=0;c<a;c++){var g=b[c];g&&g()}}var d=window.MutationObserver,c=0,f=0,j=[],g,h=s;d&&(g=document.createTextNode(""),(new d(b)).observe(g,{characterData:q}));return{R1:function(b,f){if(f>0||!d)return~setTimeout(b,f||1);h||(h=setTimeout(a,100));g.textContent=c++;j.push(b);return c-1},cancel:function(a){if(a<0)clearTimeout(~a);else{var b=a-f;if(b>=0){j[b]||k("invalid async handle: "+
a);j[b]=s}}}}});
define("dx",["cu","gG","bB","gD"],function(a,b,d,c){function f(){this.cd={}}f.prototype.bind=function(a,b,f,e,c){a===n&&k("Event name undefined");b===n&&k("Event handler undefined");a in this.cd||(this.cd[a]=[]);this.cd[a].push({handler:b,handlerDef:c||b,context:f||this,immediate:e?q:B});return this};f.prototype.unbind=function(b,f,c){if(b in this.cd){var c=c||this,e=a(this.cd[b]).select(function(a){return a.handler!=f||a.context!=c});0<e.length?this.cd[b]=e:delete this.cd[b]}return this};f.prototype.E2=
function(){this.cd={}};f.prototype.trigger=function(b,f){a(b).isString()&&(b=new d(b,f));b.source=this;this.Hv(b,q);this.H6(b);return this};f.prototype.H6=function(a){f.UA.push({caller:this,event:a});f.GI||(f.GI=q,b.R1(f.CT))};f.UA=[];f.GI=B;f.CT=function(){for(var a=(new Date).getTime()+1E3;f.UA.length;){var c=f.UA.shift();f.prototype.Hv.call(c.caller,c.event,B);if((new Date).getTime()>a)break}0<f.UA.length?b.R1(f.CT,1):f.GI=B};f.prototype.JO=function(a){return a in this.cd};f.prototype.oga=function(a,
b){for(var f=[],e=this.cd[a]||[],c=0;c<e.length;c++){var d=e[c];(b===n||d.immediate==b)&&f.push(d.handlerDef)}return f};f.prototype.Hv=function(a,b){if(this.JO(a.name))for(var f=this.cd[a.name],e=0;e<f.length;e++){var d=f[e];if(d.immediate==b)try{d.handler.call(d.context,a)}catch(p){c.ME("Exception handling event "+a.name,p)}}};return f});
define("gU",["iu","gD","bB","dx"],function(a,b,d,c){b=b.extend(c,function(){c.call(this);this.xH={}});b.prototype.set=function(a,b){this.xH[a]!=b&&(this.xH[a]=b,this.d_(a))};b.prototype.d_=function(b){this.trigger(new d(a.Qa(b)))};b.prototype.get=function(a,b){var c=this.xH[a];return c!==n?c:b};return b});
define("dM",[],function(){function a(a,d,c){this.set("undefined"!=typeof a?a:0,"undefined"!=typeof d?d:0,"undefined"!=typeof c?c:0)}a.prototype.set=function(a,d,c){this.x=a;this.y=d;this.z=c};a.prototype.clone=function(){return new a(this.x,this.y,this.z)};a.prototype.apply=function(a){a.Jt(this)};a.prototype.jP=function(a){a.jP(this)};return a});
define("a",["gD","dM"],function(a,b){var d=a.extend(b,function(a,f,d){b.call(this,a,f,d)});d.prototype.clone=function(){return new d(this.x,this.y,this.z)};d.prototype.Xa=function(){return 0==this.x&&0==this.z?0:-Math.atan2(this.x,this.z)};d.prototype.gb=function(){return 0==this.y&&0==this.z?0:Math.atan2(this.y,Math.sqrt(this.z*this.z+this.x*this.x))};d.prototype.EO=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};d.prototype.normalize=function(){var a=this.EO();1!=a&&(this.x/=
a,this.y/=a,this.z/=a)};d.prototype.Wq=function(a){return this.x*a.x+this.y*a.y+this.z*a.z};d.prototype.Wfa=function(a){var b=this.z*a.x-this.x*a.z,d=this.x*a.y-this.y*a.x;this.x=this.y*a.z-this.z*a.y;this.y=b;this.z=d};d.lo=function(a,b){return new d(b.x-a.x,b.y-a.y,b.z-a.z)};d.oO=function(a,b){return new d(Math.cos(b)*Math.sin(a),Math.sin(b),Math.cos(b)*Math.cos(a))};return d});
define("fr",["require","gD","gU","cO","a"],function(a){var b=a("gD"),d=a("gU"),c=a("cO"),f=a("a"),a=b.extend(d,function(){d.call(this);this.HN=this.pl=n});c.C("AdjacentPanorama",a).D("Object").K({yaw:"number",distance:"number",panorama:"Panorama",backwardYaw:"number"});a.prototype.er=function(){if(this.pl===n){for(this.pl=this.sU()-this.get("yaw");180<this.pl;)this.pl-=360;for(;-180>this.pl;)this.pl+=360}return this.pl};a.prototype.xga=function(){this.HN===n&&(this.HN=f.oO(this.sU()*Math.PI/180,0));
return this.HN};a.prototype.vfa=function(){return this.get("yaw")!==n&&this.get("backwardYaw")!==n};a.prototype.sU=function(){return this.get("backwardYaw")-180};return a});define("dU",[],function(){return{J:"stopped",P:"playing",Xb:"paused"}});
define("ha",["require","gD","gU","cO"],function(a){var b=a("gD");Bindable=a("gU");ClassInfo=a("cO");a=b.extend(Bindable,function(){Bindable.call(this)});ClassInfo.C("ImageResourceLevel",a).D("Object").K({url:"string",width:"number",height:"number",grayscale:"bool",tags:"or[array[enum[preload,mobile,ipadpro,oculusgo]], enum[preload,mobile,ipadpro,oculusgo]]"}).Hj(["url"]);a.prototype.bha=function(a){var b=this.get("tags",[]);Array.isArray(b)||(b=[b]);return 0<=b.indexOf(a)};a.H3="preload";a.F3="mobile";
a.E3="ipadpro";a.G3="oculusgo";return a});
define("o",["require","gD","he"],function(a){function b(){}var d=a("gD"),c=a("he");b.pG=TDV.bb.vG;b.K2=TDV.bb.uG;b.PG=TDV.bb.LQ;b.Rka=TDV.bb.yG;b.f3=TDV.bb.KQ;b.Aka=TDV.bb.JQ;b.Mka=TDV.bb.xG;b.wG=TDV.bb.wG;b.Am=TDV.bb.Am;b.rF=TDV.bb.rF;b.Hr=TDV.bb.Hr;b.Az=TDV.bb.Az;b.sF=TDV.bb.sF;b.Bh=TDV.bb.Bh;b.xz=TDV.bb.xz;b.ui=TDV.bb.ui;b.Ah=TDV.bb.Ah;b.wz=TDV.bb.wz;b.zm=TDV.bb.zm;b.zo=TDV.bb.zo;b.Hu=TDV.bb.Hu;b.qF=TDV.bb.qF;b.Gr=TDV.bb.Gr;b.Bo=TDV.bb.Bo;b.Ao=TDV.bb.Ao;b.yz=TDV.bb.yz;b.Fr=TDV.bb.Fr;b.Iu=TDV.bb.Iu;
b.zz=TDV.bb.zz;b.tF=TDV.bb.tF;b.xF=TDV.bb.xF;b.Mu=TDV.bb.Mu;b.yF=TDV.bb.yF;b.zF=TDV.bb.zF;b.cn=function(a){a="force_"+a;if(c.qo("debug")&&c.qo(a))return c.eu(a)};b.y7=b.cn("os");b.ni=function(){return b.y7||TDV.bb.ni};b.t7=b.cn("browser");b.browser=function(){return b.t7||TDV.bb.browser};b.u7=b.cn("browser_type");b.sh=function(){return b.u7||TDV.bb.sh};b.QT=b.cn("browser_subtype");b.zd=function(){return b.QT?b.QT:TDV.bb.zd};b.v7=b.cn("browser_version");b.f0=function(){return b.v7||TDV.bb.f0};b.x7=
b.cn("device");b.Vq=function(){return b.x7||TDV.bb.Vq};b.ic=function(){return TDV.bb.u1};b.B7=function(){c.Tt("gearvrcompatible");for(var a=navigator.userAgent.toLowerCase(),b="SM-G920,SM-G925,SM-G928,SM-N920,SM-G930,SM-G935,SC-02H,SM-G950,SM-G955,SM-N950,SM-G960,SM-G965,SM-N960".split(","),f=0;f<b.length;f++)if(0<=a.indexOf(b[f].toLowerCase()))return q;return B}();b.RT=b.cn("gearvrcompatible");b.Jy=function(){return b.RT!==n?"true"==b.RT:b.B7};b.B5=b.browser()!=b.Ah||0>navigator.userAgent.indexOf("; wv")?
B:q;b.w7=!!b.cn("chromewebview");b.h0=function(){return b.w7||b.B5};b.mK=n;b.f2=function(a){b.mK=a};b.oha=function(){return b.mK};b.iK=n;b.e2=function(a){b.iK=a};b.Mla=function(){return b.iK};b.Xy=function(){return b.iK||b.mK};b.v9=parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||B;b.PO=function(){return b.v9};b.XU=function(){var a={a1:"unknown",Sla:1},b=document.createElement("canvas");
if(b&&(b=b.getContext("webgl")||b.getContext("experimental-webgl"))){var f=b.getExtension("WEBGL_debug_renderer_info");f&&(a.a1=b.getParameter(f.UNMASKED_RENDERER_WEBGL));a.zha=b.getParameter(b.MAX_TEXTURE_SIZE)}return a}();b.Tga=function(){return b.XU};b.t4=function(){var a=b.XU.a1.match(/Apple\s+(.+)\s+GPU/);return a?a[1].toUpperCase():"unknown"}();b.pfa=function(){return b.t4};b.a$=function(){if(b.Vq()==b.Mu){var a=b.pfa().match(/^A(\d+)\w?$/);if(a&&9<=parseInt(a[1]))return q}return B}();b.IE=
function(){return b.a$};var f;b.browser()==b.ui&&(f=parseFloat(/Version\/([0-9]+\.[0-9]+)/i.exec(navigator.userAgent)[1]));b.Eba=f;b.nia=function(){return b.Eba};b.summary=function(){return["browser: "+b.browser(),"browserType: "+b.sh(),"browserSubtype: "+b.zd(),"device: "+b.Vq(),"isMobile: "+b.ic(),"gearVRCompatibleDevice: "+b.Jy(),"chromeWebView: "+b.h0()].join(", ")};b.log=function(){d.log("browser: "+b.browser());d.log("browserType: "+b.sh());d.log("browserSubtype: "+b.zd());d.log("device: "+
b.Vq());d.log("isMobile: "+b.ic());d.log("gearVRCompatibleDevice: "+b.Jy());d.log("chromeWebView: "+b.h0())};return b});
define("cP","require,gD,gU,cO,ha,o,he".split(","),function(a){var b=a("gD"),d=a("gU"),c=a("cO"),f=a("ha"),j=a("o"),g=a("he"),h=b.extend(d,function(){d.call(this);this.aj=this.vg=n});c.C("ImageResource",h).D("Object").K({levels:"array[ImageResourceLevel]"});h.prototype.Ad=function(a,b){if(this.aj===n)this.aj=this.Sf(h.Uk,a,b);return this.aj};h.prototype.We=function(a,b){if(this.vg===n)this.vg=this.Sf(h.Lj,a,b);return this.vg};h.prototype.zE=function(){return this.Ad()!=this.We()};h.prototype.Sf=function(a,
b,f){b||(b=1);f||(f=1);var c=this.get("levels")||[],h=this.o8(b,f),m=this.F7(c),b=this.E8(a,b,f,m),c=this.p7(c,a);(a=this.HU(c,b[0],b[1],this.D8(a),h[0],h[1]))||(a=this.HU(c,b[0],b[1],n,n,n));return a};h.prototype.p7=function(a,b){b==h.Lj&&(a=this.cB(a,f.H3));j.IE()&&(a=this.cB(a,f.E3));j.Xy()&&(a=this.cB(a,f.G3));j.ic()&&(a=this.cB(a,f.F3));return a};h.prototype.o8=function(a,b){if(j.ic()&&!this.PT()){if(a==12&&b==1)return[18432,1536];if(a==4&&b==4)return[6086,6086];if(a==4&&b==2&&j.IE())return[5120,
2560]}return[n,n]};h.prototype.F7=function(a){if(a.length==0)return 1;a.sort(function(a,b){return b.get("width")-a.get("width")});return a[0].get("width")/a[0].get("height")};h.prototype.E8=function(a,b,f,c){if(a==h.Lj)return[0,0];a=1E4;this.PT()||(j.IE()?a=1280:j.ic()&&(a=1024));return b/f>c?[a*f*c,a*f]:[a*b,a*b/c]};h.prototype.D8=function(a){if(a==h.Uk)return B};h.prototype.PT=function(){return j.IE()&&g.Tt("recent_ipad_use_max_res",B)};h.prototype.cB=function(a,b){var f=a.filter(function(a){return a.bha(b)});
f.length==0&&(f=a);return f};h.prototype.HU=function(a,b,f,c,h,m){function g(a){return Math.abs(a.get("width")*a.get("height")-b*f)}a=a.filter(function(a){return c!==n&&c!=a.get("grayscale",B)||h!==n&&a.get("width")>h||m!==n&&a.get("height")>m?B:q});if(a.length==0)return s;a.sort(function(a,b){return g(a)-g(b)});return a[0]};h.Uk="load";h.Lj="preload";return h});
define("cz","require,gD,iu,dU,cP,cO".split(","),function(a){var b=a("gD"),d=a("iu"),c=a("dU"),f=a("cP"),a=a("cO"),b=b.extend(f,function(){f.call(this);this.set("state",c.J);this.set("autoplay",q);this.set("repeat",0)});a.C("AnimatedImageResource",b).D("ImageResource").K({autoplay:"bool",frameCount:"number",frameDuration:"number",rowCount:"number",colCount:"number",repeat:"number",state:"enum[stopped, playing, paused]"}).Jb([d.ra,d.Vo]);b.prototype.Sf=function(a,b,c){b||(b=1);c||(c=1);return f.prototype.Sf.call(this,
a,b*this.get("colCount",1),c*this.get("rowCount",1))};return b});
define("eH",["gD","gU","cO"],function(a,b,d){a=a.extend(b,function(a){b.call(this);this.dD=a===n?q:a;this.Ns=this.tj=this.Hd=this.g=n});d.C("HotspotMapOverlay",a).D("MapOverlay").K({rollOverDisplay:"bool",areas:"array[HotspotMapOverlayArea]",image:"HotspotMapOverlayImage",map:"HotspotMapOverlayMap",rollOverImage:"HotspotMapOverlayImage",rollOverMap:"HotspotMapOverlayMap",selectedImage:"HotspotMapOverlayImage",selectedMap:"HotspotMapOverlayMap",selected:"bool",useHandCursor:"bool"});a.prototype.getItem=
function(){if(this.g===n){var a=this.get("image");this.g=a?a.fE(this.dD):s}return this.g};a.prototype.gu=function(){if(this.Hd===n){var a=this.get("rollOverImage");this.Hd=a?a.fE(this.dD):s}return this.Hd};a.prototype.U0=function(){if(this.tj===n){var a=this.get("selectedImage");this.tj=a?a.fE(this.dD):s}return this.tj};a.prototype.Ega=function(){if(this.Ns===n){this.Ns=[];var a=this.getItem();a&&this.Ns.push(a);(a=this.gu())&&this.Ns.push(a);(a=this.U0())&&this.Ns.push(a)}return this.Ns};return a});
define("cI",["gD","cO","eH"],function(a,b,d){a=a.extend(d,function(){d.call(this,q)});b.C("AreaHotspotMapOverlay",a).D("HotspotMapOverlay");return a});define("ii",["gD","gU","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("AudioResource",a).D("Object").K({mp3Url:"string",oggUrl:"string"}).Hj(["mp3Url","oggUrl"]);return a});define("bM",[],function(){return{Mz:"inAdvance",cQ:"delayed"}});
define("J",[],function(){return{Kz:"grab",mQ:"grabbing",j3:"move",AQ:"move-n",BQ:"move-ne",rQ:"move-e",EQ:"move-se",DQ:"move-s",FQ:"move-sw",GQ:"move-w",CQ:"move-nw",k3:"move-ew",m3:"move-ns",l3:"move-nesw",n3:"move-nwse",tQ:"move-fast-n",uQ:"move-fast-ne",sQ:"move-fast-e",xQ:"move-fast-se",wQ:"move-fast-s",yQ:"move-fast-sw",zQ:"move-fast-w",vQ:"move-fast-nw",Uc:"hand",dc:"default",Su:"inherit"}});
define("dZ",["require","iu"],function(a){function b(){this.rf=[]}var d=a("iu");b.prototype.TE=function(a){this.e4(a);this.rf.push(a);a.get("pressed")&&this.VY(a)};b.prototype.tz=function(a){this.lba(a)};b.prototype.e4=function(a){a.bind(d.$f,this.wW,this,q)};b.prototype.lba=function(a){a.unbind(d.$f,this.wW,this)};b.prototype.wW=function(a){this.VY(a.source)};b.prototype.VY=function(a){this.rf.forEach(function(b){b.set("pressed",b==a)})};b.TE=function(a,b){this.tz(a);var d=this.Ri(b);a.eH=d;d.TE(a)};
b.tz=function(a){a.eH&&(a.eH.tz(a),delete a.eH)};b.Ri=function(a){return this.uV[a]||(this.uV[a]=new b)};b.uV={};return b});define("ct",[],function(){return{kc:"push",Fh:"toggle"}});define("dN",[],function(){return{dc:n,k:"over",oa:"pressed",Na:"pressedOver",v:"selected"}});define("eq",[],function(){return{Xo:"visible",b3:"hidden",Wo:"scroll"}});define("de",[],function(){return{Yb:"rollOver",ALWAYS:"always"}});define("ew",[],function(){return{h3:7,vz:6,Oz:5,pf:4,YQ:3,zG:2,Nr:1,Bka:0}});
define("N",[],function(){return{rG:"horizontal",LG:"vertical"}});define("iI",[],function(){return{iR:"auto",hR:"auto",WQ:"1",NQ:"2",MQ:"auto",vz:"2",aQ:"3",$P:"auto",VQ:"3",bR:"100",iR:"1",hR:"auto",WQ:"1",NQ:"2",MQ:"auto",vz:"2",aQ:"3",$P:"auto",VQ:"5",bR:"100",P2:"101"}});
define("dI",[],function(){var a=1,b={};return{css:function(d,c){var f=d.__duqid;f===n&&(f=a.toString(),d.__duqid=f,a++);var j=b[f];if(j)for(var g in c)j.s[g]=c[g];else b[f]={e:d,s:c}},Uha:function(){for(var a in b){var c=b[a],f=c.e.style,c=c.s,j;for(j in c)f[j]=c[j]}b={}}}});
define("bj",["require"],function(){return{Yga:function(a){return!!a&&0<=a.indexOf("&tdvflipx")},c0:function(a){a&&(0>a.indexOf("#")&&(a+="#"),a+="&tdvflipx");return a},y0:function(a,b,d){var c=document.createElement("canvas");c.width=b;c.height=d;d=c.getContext("2d");d.translate(b,0);d.scale(-1,1);d.drawImage(a,0,0);a.src=c.toDataURL()}}});
define("eQ",["require"],function(){function a(a,b){var f=a.indexOf(b);0<=f&&a.splice(f,1)}function b(a,b){return a.filter(function(a){return-1==b.indexOf(a)})}function d(a,b,f,e,c){this.url=a;this.Ee=b;this.time=f;this.Qja=e;this.wfa=c}d.prototype.loaded=function(){c.k4(this.url);c.Sn(this)};d.prototype.cancel=function(){c.Sn(this)};var c={Rn:[],yn:[],Xx:[],zN:s,add:function(a,b,f,e){a=new d(a,b,(new Date).getTime(),f,e);this.Rn.push(a);this.Wa();return a},w2:function(a){this.Xx.push(a);this.Wa()},
v2:function(b){a(this.Xx,b);this.Wa()},ika:function(a){return 0<=c.BU().indexOf(a)},Wa:function(){this.zN||(this.zN=setTimeout(function(){this.zN=s;this.uea()}.bind(this),0))},uea:function(){var a=this.Kba(),f=b(a,this.yn),c=b(this.yn,a);this.yn=a;c.forEach(function(a){a.wfa()});f.forEach(function(a){a.Qja()})},gda:function(){this.Rn.sort(function(a,b){return a.Ee-b.Ee||b.time-a.time});this.Xx.sort(function(a,b){return a-b})},Kba:function(){this.gda();var a=[];if(this.Rn.length)for(var b=this.Xx.length?
this.Xx[0]:this.Rn[0].Ee,f=0;10>f&&f<this.Rn.length&&this.Rn[f].Ee<=b;f++)a.push(this.Rn[f]);return a},Sn:function(b){a(this.yn,b);a(this.Rn,b);this.Wa()},k4:function(a){var b=c.BU();0>b.indexOf(a)&&(b.push(a),c.xca(b))}},f=[];c.BU=function(){if(localStorage&&JSON){var a=localStorage.getItem("tdvplayer_loaded_urls");f=a&&JSON.parse(a)||f}return f};c.xca=function(a){localStorage&&JSON&&localStorage.setItem("tdvplayer_loaded_urls",JSON.stringify(a));f=a};return c});
define("gf","require,gD,bB,dx,iu,ew,he,bj,eQ,jquery.mod".split(","),function(a){var b=a("gD"),d=a("bB"),c=a("dx"),f=a("iu"),j=a("ew"),g=a("he"),h=a("bj"),e=a("eQ"),l=a("jquery.mod"),p=b.extend(c,function(a){c.call(this);this.gt=a||j.h3;this.A=this.o=this.oc=this.cb=s;this.Os=B;this.bj=s;this.VJ=[];this.WJ=this.WJ.bind(this);this.XJ=this.XJ.bind(this)});p.prototype.load=function(a){this.cancel();this.cb=a;this.bj=e.add(this.cb,this.gt,this.nda.bind(this),this.ES.bind(this))};p.prototype.cancel=function(){this.bj&&
this.bj.cancel();this.ES();this.cb=s};p.prototype.th=N("Os");p.prototype.Td=function(a){if(a){a=this.oc.clone();this.VJ.push(a);return a.get(0)}return this.oc.get(0)};p.prototype.Ea=N("o");p.prototype.Ma=N("A");p.prototype.hb=N("cb");p.prototype.nda=function(){this.oc=this.lT(this.cb);p.l4(this)};p.prototype.ES=function(){if(this.oc){p.BY(this);for(this.Os=B;this.VJ.length;)this.MI(this.VJ.shift());this.MI(this.oc);this.oc=s}};p.prototype.g4=function(a){a.bind("load",this.WJ);a.bind("error",this.XJ)};
p.prototype.ZL=function(a){a.unbind("load");a.unbind("error")};p.prototype.WJ=function(a){this.bj.loaded();this.bj=s;p.BY(this);this.ZL(this.oc);this.Os=q;this.o=a.target.width;this.A=a.target.height;h.Yga(this.cb)&&h.y0(this.oc[0],this.o,this.A);this.trigger(new d(f.ib))};p.prototype.XJ=function(){this.ZL(this.oc);this.cancel();this.trigger(new d(f.Zf))};p.prototype.lT=function(a){var b=l("<img/>");g.UO(a)&&b.attr("crossOrigin","Anonymous");b.css({position:"static",border:"none",display:"none"});
this.g4(b);b.attr("src",a);return b};p.prototype.MI=function(a){this.ZL(a);a.remove();a.parentNode&&a.parentNode.removeChild(a);a.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="};p.prototype.fh=function(){this.MI(this.oc);this.oc=s};p.prototype.Cba=function(){this.oc=this.lT(this.cb)};p.x2=function(a){return e.ika(a)};p.qn=[];p.l4=function(a){this.qn.push(a)};p.BY=function(a){for(var b=0;b<this.qn.length;b++)if(this.qn[b]==a){this.qn.splice(b,1);break}};p.Kha=function(){for(var a=
0;a<this.qn.length;a++)this.qn[a].fh()};p.Jha=function(){for(var a=0;a<this.qn.length;a++)this.qn[a].Cba()};return p});
define("dF","require,cu,jquery.mod,iu,ew,N,iI,dI,gf".split(","),function(a){function b(){this.Ei=this.Gi=this.Hi=this.Fi=this.bl=this.al=this.dl=this.cl=0;this.kA=this.mA=this.nA=this.lA="";this.ob=1;this.Ge=n;this.sp=[];this.cI=[];this.aI=g.LG;this.AA=B;this.tB=n;this.ae=s;this.IJ=this.QN=0;this.Ta=document.createElement("canvas");this.Ta.setAttribute("tdvlayer","background");this.u=c(this.Ta);e.css(this.Ta,{position:"absolute",left:0,top:0,"z-index":h.vz,"user-select":"none","-ms-user-select":"none",
"-moz-user-select":"none","-webkit-user-select":"none"});this.ud=q}var d=a("cu"),c=a("jquery.mod"),f=a("iu"),j=a("ew"),g=a("N"),h=a("iI"),e=a("dI"),l=a("gf");b.prototype.setSize=function(a,b){if(this.QN!=a||this.IJ!=b){this.QN=a||0;this.IJ=b||0;this.ud=q}};b.prototype.g2=function(a){if(this.$i!=a){this.$i=a;this.ud=q}};b.prototype.na=N("u");b.prototype.Ly=N("Ta");b.prototype.Tia=function(a){if(this.tB!=a){if(this.ae){this.ae.unbind(f.ib,this.nV,this);this.ae.cancel();this.ae=s}if(this.tB=a){this.ae=
new l(j.YQ);this.ae.bind(f.ib,this.nV,this);this.ae.load(this.tB)}this.ud=q}};b.prototype.tP=function(a){if(this.cl!=a){this.cl=a;this.ud=q}};b.prototype.uP=function(a){if(this.dl!=a){this.dl=a;this.ud=q}};b.prototype.oP=function(a){if(this.al!=a){this.al=a;this.ud=q}};b.prototype.pP=function(a){if(this.bl!=a){this.bl=a;this.ud=q}};b.prototype.rP=function(a){if(this.Fi!=a){this.Fi=a;this.ud=q}};b.prototype.vP=function(a){if(this.Hi!=a){this.Hi=a;this.ud=q}};b.prototype.sP=function(a){if(this.Gi!=
a){this.Gi=a;this.ud=q}};b.prototype.qP=function(a){if(this.Ei!=a){this.Ei=a;this.ud=q}};b.prototype.wia=function(a){if(this.lA!=a){this.lA=a;this.ud=q}};b.prototype.yia=function(a){if(this.nA!=a){this.nA=a;this.ud=q}};b.prototype.xia=function(a){if(this.mA!=a){this.mA=a;this.ud=q}};b.prototype.via=function(a){if(this.kA!=a){this.kA=a;this.ud=q}};b.prototype.wh=function(a){if(this.ob!=a){this.ob=a;this.ud=q}};b.prototype.Ve=N("ob");b.prototype.xu=function(a){if(!d.isEqual(this.Ge,a)){this.Ge=a;d(a).isArray()||
(a=[a]);a=d(a).filter(function(a){return d(a).isString()});this.Z1(a)}};b.prototype.Z1=function(a){if(!d.isEqual(this.sp,a)){this.sp=a;this.ud=q}};b.prototype.Fia=function(a){if(this.Xka!=a){this.cI=a;this.ud=q}};b.prototype.Eia=function(a){if(this.aI!=a){this.aI=a;this.ud=q}};b.prototype.nV=function(){this.ud=q;this.Md()};b.prototype.Md=function(){if(this.ud){this.Wa();this.ud=B}};b.prototype.Wa=function(){var a=this.QN-(this.Fi+this.Gi),b=this.IJ-(this.Hi+this.Ei),e=this.u.get(0);e.width=a;e.height=
b;var e=e.getContext("2d"),f=this.p5(),c=f.length>0,h=this.ae&&this.ae.th(),l=this.Fi>0&&this.lA||this.Hi>0&&this.nA||this.Gi>0&&this.mA||this.Ei>0&&this.kA,l=c||h||l;if(c){var j;j=this.aI==g.rG?e.createLinearGradient(0,0,a,0):e.createLinearGradient(0,0,0,b);d(f).forEach(function(a){j.addColorStop(a.ratio,a.color)});e.fillStyle=j;e.fillRect(0,0,a,b);this.AA=q}else if(this.AA){e.clearRect(0,0,a,b);this.AA=B}if(h){e.drawImage(this.ae.Td(),0,0,a,b);this.AA=q}this.Ta.style.opacity=this.ob;this.Ta.style.filter=
"alpha(opacity="+Math.round(this.ob*100)+")";this.Ta.style["-ms-filter"]="alpha(opacity="+Math.round(this.ob*100)+")";this.Ta.style.borderTopLeftRadius=this.cl+"px";this.Ta.style.borderTopRightRadius=this.dl+"px";this.Ta.style.borderBottomLeftRadius=this.al+"px";this.Ta.style.borderBottomRightRadius=this.bl+"px";this.Ta.style.borderLeft=this.kB(this.Fi,this.lA);this.Ta.style.borderTop=this.kB(this.Hi,this.nA);this.Ta.style.borderRight=this.kB(this.Gi,this.mA);this.Ta.style.borderBottom=this.kB(this.Ei,
this.kA);this.Ta.style.width=a+"px";this.Ta.style.height=b+"px";this.Ta.style.cursor="inherit";this.Ta.style.display=l?"block":"none";if(this.Ta.clientWidth===0&&a!==0){this.Ta.style.width=0;this.Ta.style.width=a+"px"}};b.prototype.kB=function(a,b){return a>0?b?a+"px solid "+b:a+"px solid transparent":"none"};b.prototype.p5=function(){var a=[];if(this.sp.length>0){for(var b=this.sp.slice(),b=[].concat([b[0]],b,[b[b.length-1]]),e=this.o5(),e=[].concat([0],e,[1]),f=0;f<b.length;f++){var c=e[f];c>=0&&
a.push({color:b[f],ratio:c})}for(f=0;f<a.length-1;)a[f].ratio==a[f+1].ratio&&a[f].color==a[f+1].color?a.splice(f,1):f++;for(f=1;f<a.length-1;)a[f-1].ratio==a[f+1].ratio?a.splice(f,1):f++}return a};b.prototype.o5=function(){var a=this.sp.length,b;for(b=this.cI.length>0?d(this.cI).map(function(a){return Math.min(1,Math.max(0,a))}):a==1?[0.5]:d(d.range(a)).map(function(b,e){return 1*e/(a-1)});b.length<a;)b.push(1);b.length>a&&b.splice(a,b.length-a);return b};return b});
define("cd",["jquery.mod","iI","dI"],function(a,b,d){function c(){this.mC=this.oC=this.pC=this.nC=this.Ei=this.Gi=this.Hi=this.Fi=0;this.qx=this.$i=q;this.MN=this.PJ=0;this.O=q;this.Hx=document.createElement("div");this.Hx.setAttribute("tdvlayer","content");this.QY=a(this.Hx);d.css(this.Hx,{position:"absolute"});this.HA=document.createElement("div");this.fT=a(this.HA);d.css(this.HA,{position:"absolute"});this.QY.append(this.fT)}c.prototype.append=function(a){this.fT.append(a)};c.prototype.e0=function(a){this.HA.appendChild(a)};
c.prototype.na=N("QY");c.prototype.Ly=N("Hx");c.prototype.Ria=function(a){this.PJ!=a&&(this.PJ=a,this.O=q)};c.prototype.Kja=function(a){this.MN!=a&&(this.MN=a,this.O=q)};c.prototype.$t=function(){return this.nC+this.Fi};c.prototype.hu=function(){return this.pC+this.Hi};c.prototype.fu=function(){return this.oC+this.Gi};c.prototype.Ut=function(){return this.mC+this.Ei};c.prototype.nz=function(a){this.qx!=a&&(this.qx=a,this.O=q)};c.prototype.nja=function(a){this.nC!=a&&(this.nC=a,this.O=q)};c.prototype.pja=
function(a){this.pC!=a&&(this.pC=a,this.O=q)};c.prototype.oja=function(a){this.oC!=a&&(this.oC=a,this.O=q)};c.prototype.mja=function(a){this.mC!=a&&(this.mC=a,this.O=q)};c.prototype.rP=function(a){this.Fi!=a&&(this.Fi=a,this.O=q)};c.prototype.vP=function(a){this.Hi!=a&&(this.Hi=a,this.O=q)};c.prototype.sP=function(a){this.Gi!=a&&(this.Gi=a,this.O=q)};c.prototype.qP=function(a){this.Ei!=a&&(this.Ei=a,this.O=q)};c.prototype.g2=function(a){this.$i!=a&&(this.$i=a,this.O=q)};c.prototype.Md=function(){this.O&&
(this.Wa(),this.O=B)};c.prototype.Wa=function(){d.css(this.Hx,{overflow:this.qx?"visible":"hidden","z-index":this.$i?b.aQ:b.$P,left:this.$t()+"px",top:this.hu()+"px",right:this.fu()+"px",bottom:this.Ut()+"px",cursor:"inherit"});d.css(this.HA,{left:-this.PJ+"px",top:-this.MN+"px",right:this.qx?0:"initial",bottom:this.qx?0:"initial",cursor:"inherit"})};return c});
define("fO",["cu","jquery.mod","gD","iI","dI"],function(a,b,d,c,f){function j(){this.A=this.o=this.ba=this.$=n;this.bl=this.al=this.dl=this.cl=0;this.Ia=B;this.OJ=0;this.LN=4;this.BH=6;this.NM=0;this.Ge="#000000";this.ob=1;this.Ta=document.createElement("div");this.Ta.setAttribute("tdvlayer","shadow");this.u=b(this.Ta);f.css(this.Ta,{position:"absolute",left:0,top:0,right:0,bottom:"0"});this.O=B}j.prototype.na=N("u");j.prototype.Ly=N("Ta");j.prototype.tP=function(a){this.cl!=a&&(this.cl=a,this.O=
q)};j.prototype.uP=function(a){this.dl!=a&&(this.dl=a,this.O=q)};j.prototype.oP=function(a){this.al!=a&&(this.al=a,this.O=q)};j.prototype.pP=function(a){this.bl!=a&&(this.bl=a,this.O=q)};j.prototype.wh=function(a){this.ob!=a&&(this.ob=a,this.O=q)};j.prototype.Ve=N("ob");j.prototype.Fe=function(a){this.Ia!=a&&(this.Ia=a,this.O=q)};j.prototype.Qia=function(a){this.OJ!=a&&(this.OJ=a,this.O=q)};j.prototype.Jja=function(a){this.LN!=a&&(this.LN=a,this.O=q)};j.prototype.uia=function(a){this.BH!=a&&(this.BH=
a,this.O=q)};j.prototype.Bja=function(a){this.NM!=a&&(this.NM=a,this.O=q)};j.prototype.xu=function(a){this.Ge!=a&&(this.Ge=a,this.O=q)};j.prototype.Md=function(){this.O&&(this.Wa(),this.O=B)};j.prototype.Wa=function(){var a=this.OJ+"px "+this.LN+"px "+this.BH+"px "+this.NM+"px "+this.Ge;this.Ta.style.display=this.Ia?"block":"none";this.Ta.style.boxShadow=a;this.Ta.style["-webkit-box-shadow"]=a;this.Ta.style["-moz-box-shadow"]=a;this.Ta.style.borderTopLeftRadius=this.cl+"px";this.Ta.style.borderTopRightRadius=
this.dl+"px";this.Ta.style.borderBottomLeftRadius=this.al+"px";this.Ta.style.borderBottomRightRadius=this.bl+"px";this.Ta.style.filter="alpha(opacity="+Math.round(100*this.ob)+")";this.Ta.style["-ms-filter"]="alpha(opacity="+Math.round(100*this.ob)+")";this.Ta.style.opacity=this.ob;this.Ta.style.zIndex=c.WQ};return j});
define("hB","require,jquery.mod,cu,gD,gU,J,iu,dF,cd,fO,iI,bB,dI,o".split(","),function(a){var b=a("jquery.mod");a("cu");var d=a("gD"),c=a("gU"),f=a("J"),j=a("iu"),g=a("dF"),h=a("cd"),e=a("fO"),l=a("iI"),p=a("bB"),o=a("dI");a("o");var r=d.extend(c,function(){c.call(this);this.Ds=r.Ds++;this.jI=this.kp=this.lL=this.px=this.EM=this.u=this.Ta=s;this.h_=B;this.V=this.Fa=s;this.A=this.o=this.gj=this.fj=0;this.Ks=this.Ia=B;this.qV=q;this.Mw=this.Nw=this.mg=this.ng=0;this.ob=1;this.Zd=f.dc;this.set("toolTip",
n);this.Bq(q);this.wM(q)});r.prototype.Lc=H("Yr");r.prototype.toString=function(){return"["+this.u.attr("tdvclass")+"::"+this.Ds+"]"};r.prototype.log=function(a){d.log(a+" "+this.toString()+" "+(new Date).getTime().toString())};r.prototype.$a=N("Fa");r.prototype.Yn=function(a){(this.Fa=a)&&this.YJ();this.Et()};r.prototype.na=function(){this.u=b(this.sl());this.na=N("u");return this.u};r.prototype.sl=function(){this.Ta=document.createElement("div");this.Ta.setAttribute("id",this.Ds);this.Yr&&this.Ta.setAttribute("tdvclass",
this.Yr);o.css(this.Ta,{margin:0,padding:0,position:"absolute",overflow:"visible",display:"block"});this.sl=N("Ta");return this.Ta};r.prototype.fg=function(){this.EM=new e;this.fg=N("EM");return this.EM};r.prototype.jb=function(){this.kp=new g;this.jb=N("kp");return this.kp};r.prototype.xs=function(){this.px=document.createElement("div");this.px.setAttribute("tdvlayer","overShadow");o.css(this.px,{position:"absolute",left:0,top:0,cursor:"inherit"});this.xs=N("px");return this.px};r.prototype.DJ=function(){this.lL=
b(this.xs());this.DJ=N("lL");return this.lL};r.prototype.Pa=function(){this.jI=new h;this.Pa=N("jI");return this.jI};r.prototype.getParent=N("V");r.prototype.aa=N("o");r.prototype.la=N("A");r.prototype.Wga=function(){return this.o!==n&&this.A!==n};r.prototype.Ld=function(){return this.o-this.Pa().$t()-this.Pa().fu()};r.prototype.Kd=function(){return this.A-this.Pa().hu()-this.Pa().Ut()};r.prototype.Bj=function(){return this.Pa().$t()};r.prototype.dr=function(){return this.Pa().hu()};r.prototype.Dk=
function(){return this.Pa().fu()};r.prototype.Xt=function(){return this.Pa().Ut()};r.prototype.Fe=function(a){if(this.Ia!=a){this.Ia=a;this.Rb();if(this.V){this.V.Ra();this.V.Tc()}this.Et()}};r.prototype.Et=function(){var a=B;this.Fa&&this.Ia&&this.Ve()>0&&(this==this.Fa?a=q:this.V&&(a=this.V.Ks));this.Ks!=a&&this.pH(a)};r.prototype.pH=function(a){(this.Ks=a)?this.trigger(new p(j.pe)):this.trigger(new p(j.me))};r.prototype.uca=function(a){if(this.qV!=a){this.qV=a;this.V&&this.V.Tc()}};r.prototype.qca=
function(a){if(this.rs!=a){this.rs=a;this.Ra()}};r.prototype.pca=function(a){if(this.qs!=a){this.qs=a;this.Ra()}};r.prototype.oca=function(a){if(this.ps!=a){this.ps=a;this.Ra()}};r.prototype.nca=function(a){if(this.ns!=a){this.ns=a;this.Ra()}};r.prototype.rca=function(a){if(this.Rg!=a){this.Rg=a;if(this.Rg!=n)this.hh=n;this.Ra()}};r.prototype.mca=function(a){if(this.Fp!=a){this.Fp=a;if(this.Fp!=n)this.gh=n;this.Ra()}};r.prototype.Lca=function(a){if(this.hh!=a){this.hh=a;if(this.hh!=n)this.Rg=n;this.Ra()}};
r.prototype.Hca=function(a){if(this.gh!=a){this.gh=a;if(this.gh!=n)this.Fp=n;this.Ra()}};r.prototype.wca=function(a){if(this.El!=a){if(a!=n)this.zC=n;this.El=a;this.V&&this.V.Tc();this.Ra()}};r.prototype.Xca=function(a){if(this.bm!=a){if(a!=n)this.BC=n;this.bm=a;this.V&&this.V.Tc();this.Ra()}};r.prototype.Mca=function(a){if(this.Ex!=a){if(a!=n)this.AC=n;this.Ex=a;this.V&&this.V.Tc();this.Ra()}};r.prototype.gca=function(a){if(this.Bv!=a){if(a!=n)this.yC=n;this.Bv=a;this.V&&this.V.Tc();this.Ra()}};
r.prototype.Ica=function(a){if(this.zC!=a){if(a!=n)this.El=n;this.zC=a;this.Ra()}};r.prototype.Kca=function(a){if(this.BC!=a){if(a!=n)this.bm=n;this.BC=a;this.Ra()}};r.prototype.Jca=function(a){if(this.AC!=a){if(a!=n)this.Ex=n;this.AC=a;this.Ra()}};r.prototype.Gca=function(a){if(this.yC!=a){if(a!=n)this.Bv=n;this.yC=a;this.Ra()}};r.prototype.jca=function(a){if(this.Rm!=a){this.Rm=a;this.V&&this.V.Tc()}};r.prototype.kca=function(a){if(this.Sm!=a){this.Sm=a;this.V&&this.V.Tc()}};r.prototype.Gk=function(){return isNaN(this.Rg)?
this.ng:this.Rg};r.prototype.Fk=function(){return isNaN(this.Fp)?this.mg:this.Fp};r.prototype.C8=function(){return isNaN(this.m7)?this.cW:this.m7};r.prototype.Ek=function(){return isNaN(this.rs)?this.Nw:this.rs};r.prototype.lm=function(){return isNaN(this.qs)?this.Mw:this.qs};r.prototype.vE=function(){return isNaN(this.ps)?1E4:this.ps};r.prototype.uE=function(){return isNaN(this.ns)?1E4:this.ns};r.prototype.Cca=function(a){if(this.w8()!=a){this.Pa().nja(a);this.Ra()}};r.prototype.w8=function(){return this.Pa().nC};
r.prototype.Eca=function(a){if(this.y8()!=a){this.Pa().pja(a);this.Ra()}};r.prototype.y8=function(){return this.Pa().pC};r.prototype.Dca=function(a){if(this.x8()!=a){this.Pa().oja(a);this.Ra()}};r.prototype.x8=function(){return this.Pa().oC};r.prototype.Bca=function(a){if(this.v8()!=a){this.Pa().mja(a);this.Ra()}};r.prototype.v8=function(){return this.Pa().mC};r.prototype.eF=function(a){if(this.fj!=a){this.fj=a;this.Tf()}};r.prototype.fF=function(a){if(this.gj!=a){this.gj=a;this.Tf()}};r.prototype.wh=
function(a){if(this.ob!=a){this.ob=a;o.css(this.xs(),{filter:"alpha(opacity="+Math.round(this.ob*100)+") ",opacity:this.ob});this.Et();this.Tf()}};r.prototype.Ve=N("ob");r.prototype.dca=function(a){if(this.jb().cl!=a){this.fg().tP(a);this.jb().tP(a)}};r.prototype.L7=function(){return this.jb().cl};r.prototype.eca=function(a){if(this.jb().dl!=a){this.fg().uP(a);this.jb().uP(a)}};r.prototype.M7=function(){return this.jb().dl};r.prototype.Wba=function(a){if(this.jb().al!=a){this.fg().oP(a);this.jb().oP(a)}};
r.prototype.J7=function(){return this.jb().al};r.prototype.Xba=function(a){if(this.jb().bl!=a){this.fg().pP(a);this.jb().pP(a)}};r.prototype.K7=function(){return this.jb().bl};r.prototype.$ba=function(a){if(this.jb().Fi!=a){this.jb().rP(a);this.Pa().rP(a);this.Ra()}};r.prototype.fU=function(){return this.jb().Fi};r.prototype.fca=function(a){if(this.jb().Hi!=a){this.jb().vP(a);this.Pa().vP(a);this.Ra()}};r.prototype.hU=function(){return this.jb().Hi};r.prototype.bca=function(a){if(this.jb().Gi!=a){this.jb().sP(a);
this.Pa().sP(a);this.Ra()}};r.prototype.gU=function(){return this.jb().Gi};r.prototype.Yba=function(a){if(this.jb().Ei!=a){this.jb().qP(a);this.Pa().qP(a);this.Ra()}};r.prototype.eU=function(){return this.jb().Ei};r.prototype.Zba=function(a){this.jb().wia(a)};r.prototype.cca=function(a){this.jb().yia(a)};r.prototype.aca=function(a){this.jb().xia(a)};r.prototype.Vba=function(a){this.jb().via(a)};r.prototype.lD=function(a){this.fg().Fe(a)};r.prototype.Sca=function(a){this.fg().Qia(a)};r.prototype.Vca=
function(a){this.fg().Jja(a)};r.prototype.Qca=function(a){this.fg().uia(a)};r.prototype.Uca=function(a){this.fg().Bja(a)};r.prototype.Tca=function(a){this.fg().wh(a)};r.prototype.Rca=function(a){this.fg().xu(a)};r.prototype.Sba=function(a){this.H7()!=a&&this.jb().wh(a)};r.prototype.H7=function(){return this.jb().Ve()};r.prototype.Oba=function(a){this.G7()!=a&&this.jb().xu(a)};r.prototype.G7=function(){return this.jb().Ge};r.prototype.Qba=function(a){this.jb().Fia(a)};r.prototype.Pba=function(a){this.jb().Eia(a)};
r.prototype.Rba=function(a){this.jb().Tia(a)};r.prototype.Zn=function(a){if(this.Zd!=a){this.Zd=a;this.Tf()}};r.prototype.Bq=function(a){if(this.$i!=a){this.$i=a;o.css(this.xs(),{"z-index":this.$i?l.NQ:l.MQ});this.Pa().g2(this.$i);this.Tf()}};r.prototype.wM=function(a){if(this.RX!=a){this.RX=a;o.css(this.sl(),{"z-index":this.RX?l.iR:l.hR});this.Tf()}};r.prototype.nv=function(){this.Et();this.Vy()};r.prototype.sq=function(){this.Et()};r.prototype.aM=E();r.prototype.YJ=function(){this.Vy();this.Rb();
this.Ra();this.Tc();this.Tf()};r.prototype.Il=function(){this.Mw=this.Nw=this.mg=this.ng=0;this.cW=n};r.prototype.Vy=function(){var a=this.$a();a&&a.Tr.Vy(this)};r.prototype.Rb=function(){var a=this.$a();a&&a.Tr.Rb(this)};r.prototype.Ra=function(){var a=this.$a();a&&a.Tr.Ra(this)};r.prototype.Tc=function(){var a=this.$a();a&&a.Tr.Tc(this)};r.prototype.Tf=function(){var a=this.$a();a&&a.Tr.Tf(this)};r.prototype.$U=function(){var a=isNaN(this.zC)&&isNaN(this.El),b=isNaN(this.AC)&&isNaN(this.Ex);return isNaN(this.Rg)&&
isNaN(this.hh)&&(a||b)?q:B};r.prototype.ZU=function(){var a=isNaN(this.BC)&&isNaN(this.bm),b=isNaN(this.yC)&&isNaN(this.Bv);return isNaN(this.Fp)&&isNaN(this.gh)&&(a||b)?q:B};r.prototype.Hea=function(){this.Il();var a=this.C8();if(a){var b=this.$U(),e=this.ZU();if(b&&!e){b=this.Kd();if(b!=0){this.ng=b*a+this.Bj()+this.Dk();this.mg=b+this.dr()+this.Xt()}}else if(!b&&e){b=this.Ld();if(b!=0){this.mg=b/a+this.Bj()+this.Dk();this.ng=b+this.Bj()+this.Dk()}}}if(!isNaN(this.rs)&&this.ng<this.rs)this.ng=this.rs;
if(!isNaN(this.ps)&&this.ng>this.ps)this.ng=this.ps;if(!isNaN(this.qs)&&this.mg<this.qs)this.mg=this.qs;if(!isNaN(this.ns)&&this.mg>this.ns)this.mg=this.ns};r.prototype.Sa=function(){if(!this.h_){this.h_=q;var a=this.sl(),b=this.xs();a.appendChild(this.fg().Ly());a.appendChild(b);b.appendChild(this.jb().Ly());b.appendChild(this.Pa().Ly())}};r.prototype.fka=function(){this.Hea();var a=this.Gk(),b=this.Fk(),e=this.Ek(),f=this.lm();if(a!=this.E$||b!=this.D$||e!=this.A$||f!=this.z$||this.hh!=this.C$||
this.gh!=this.B$){this.E$=a;this.D$=b;this.A$=e;this.z$=f;this.C$=this.hh;this.B$=this.gh;return q}return B};r.prototype.X=function(){this.Tf()};r.prototype.jf=E();r.prototype.Y1=function(a,b,e,f){if(this.$!=a||this.ba!=b||this.o!=e||this.A!=f){this.$=a;this.ba=b;this.o=e;this.A=f;this.jb().setSize(this.o,this.A);this.Tc();this.Tf();this.trigger(new p(j.Nb))}};r.prototype.Md=function(){var a=this.sl(),b=this.xs();if(this.Ia){b.style.width=this.o+"px";b.style.height=this.A+"px";a.style.left=this.$+
this.fj+"px";a.style.top=this.ba+this.gj+"px";a.style.width=this.o+"px";a.style.height=this.A+"px";a.style.visibility="inherit";a.style.overflow="visible";a.style.cursor=this.Fa&&this.Fa.DI.B0(this.Zd);if(b.clientWidth===0&&this.o!==0){a.style.width=0;a.style.width=this.o+"px"}}else{a.style.visibility="hidden";a.style.width=0;a.style.height=0;a.style.overflow="hidden";b.style.width=0;b.style.height=0}this.fg().Md();this.jb().Md();this.Pa().Md()};r.prototype.Lga=function(a){var a=a.na().offset(),b=
this.na().offset(),e={};e.left=b.left-a.left;e.top=b.top-a.top;return e};r.Ds=0;return r});
define("C","require,cu,gD,iu,bB,dN,hB".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("iu"),f=a("bB"),j=a("dN"),g=a("hB"),h=d.extend(g,function(){this.If={};this.Ul=this.ST=n;this.Qn={};this.OT=q;this.xZ={};g.call(this);this.I6();this.ma();this.Lc("UICustomizable");this.Rb()});h.Ya={visible:q,includeInLayout:q,state:n,left:n,right:n,top:n,bottom:n,centerX:n,centerY:n,width:n,height:n,minWidth:n,minHeight:n,maxWidth:n,maxHeight:n,actualWidth:n,actualHeight:n,paddingLeft:0,paddingTop:0,paddingRight:0,
paddingBottom:0,opacity:1,borderRadius:0,borderTopRadius:n,borderBottomRadius:n,borderLeftRadius:n,borderRightRadius:n,borderTopLeftRadius:n,borderTopRightRadius:n,borderBottomLeftRadius:n,borderBottomRightRadius:n,borderSize:0,borderLeftSize:n,borderTopSize:n,borderRightSize:n,borderBottomSize:n,borderColor:n,borderLeftColor:n,borderTopColor:n,borderRightColor:n,borderBottomColor:n,shadow:B,shadowHorizontalLength:0,shadowVerticalLength:3,shadowBlurRadius:6,shadowSpread:0,shadowColor:"#000000",shadowOpacity:n,
backgroundOpacity:1,backgroundColor:n,backgroundColorRatios:n,backgroundColorDirection:n,backgroundImageUrl:n,hideEffect:n,showEffect:n};h.prototype.I6=function(){this.xZ[j.Na]=j.oa};h.prototype.ma=function(){this.Ph(h.Ya)};h.prototype.Ph=function(a){for(var b in a){var f=a[b],c=f&&f.length;!c||typeof f=="string"?this.a(b,f):c==1?this.a(b,f[0]):c==2?this.c(b,f[0],f[1]):c==3&&this.c(b,f[0],f[1],f[2])}};h.prototype.a=function(a,b){this.If[a]={i:q,d:b}};h.prototype.c=function(a,b,f,c){this.Qn[b]||(this.Qn[b]=
{});this.a(a,c);this.Qn[b][f]=a};h.prototype.st=function(a,b){if(b)this.ST=a;else if(this.ST!=n)return;if(this.Ul!=a){var f=this.Qn[this.Ul];if(f)for(var c in f)(this.If[c]||(this.If[c]={})).i=q;this.Ul=a;if(f=this.Qn[this.Ul])for(c in f)(this.If[c]||(this.If[c]={})).i=q;this.Rb()}};h.prototype.T=function(a){if(b(a).isString())this.set(a,n);else{var f=a;for(a in f)this.set(a,f[a])}};h.prototype.set=function(a,f){var c=this.If[a];if(c){f==n&&(f=c.d);if(!b.isEqual(this.get(a),f)){a=="state"&&this.st(f,
q);g.prototype.set.call(this,a,f);c.i=q;this.Rb()}}else g.prototype.set.call(this,a,f)};h.prototype.get=function(a){switch(a){case "actualWidth":return this.aa();case "actualHeight":return this.la();default:var b=g.prototype.get.call(this,a);if(b===n)(a=this.If[a])&&(b=a.d);return b}};h.prototype.bS=function(){for(var a=["paddingLeft","paddingTop","paddingRight","paddingBottom","borderRadius","borderTopRadius","borderBottomRadius","borderLeftRadius","borderRightRadius","borderTopLeftRadius","borderTopRightRadius",
"borderBottomLeftRadius","borderBottomRightRadius","borderSize","borderLeftSize","borderTopSize","borderRightSize","borderBottomSize"],b=0;b<a.length;b++)if(this.h(a[b]))return q;return B};h.prototype.h=function(a){if((this.If[a]||{}).i)return q;if(this.Ul!==n){a=this.Qn[this.Ul][a];return!!(this.If[a]||{}).i}};h.prototype.Lx=function(a){(this.If[a]||(this.If[a]={})).i=q;this.Rb()};h.prototype.j=function(a){(this.If[a]||(this.If[a]={})).i=B;if(this.Ul!=n)(a=this.Qn[this.Ul][a])&&((this.If[a]||(this.If[a]=
{})).i=B)};h.prototype.f=function(){for(var a,b=0;b<arguments.length;b++){for(var f=arguments[b],c=this.Ul;c;){if(a=this.Qn[c][f]){a=this.get(a);if(a!=n&&a!=s)return a}c=this.xZ[c]}a=this.get(f);if(a!=n&&a!=s)return a}};h.prototype.FM=function(a){a.source.unbind(c.ra,this.FM,this);this.trigger(new f(c.Or))};h.prototype.NJ=function(a){a.source.unbind(c.ra,this.NJ,this);this.trigger(new f(c.So))};h.prototype.X=function(){if(this.OT)this.OT=B;else if(this.h("visible")){var a=this.f("visible"),b=this.get(a?
"hideEffect":"showEffect");if(b&&b.kr(this)){b.unbind(c.ra,a?this.NJ:this.FM,this);b.end()}if(b=this.get(a?"showEffect":"hideEffect")){if(!b.kr(this)){this.j("visible");b.bind(c.ra,a?this.FM:this.NJ,this);b.play(this)}}else this.trigger(new f(a?c.Or:c.So))}if(this.h("visible")){this.Fe(this.f("visible"));this.j("visible")}if(this.h("includeInLayout")){this.uca(this.f("includeInLayout"));this.j("includeInLayout")}if(this.h("left")){b=this.f("left");a=h.oi(b);b=a===n?b:n;this.Ica(a);this.wca(b);this.j("left")}if(this.h("top")){b=
this.f("top");a=h.oi(b);b=a===n?b:n;this.Kca(a);this.Xca(b);this.j("top")}if(this.h("right")){b=this.f("right");a=h.oi(b);b=a===n?b:n;this.Jca(a);this.Mca(b);this.j("right")}if(this.h("bottom")){b=this.f("bottom");a=h.oi(b);b=a===n?b:n;this.Gca(a);this.gca(b);this.j("bottom")}if(this.h("centerX")){this.jca(this.f("centerX"));this.j("centerX")}if(this.h("centerY")){this.kca(this.f("centerY"));this.j("centerY")}if(this.h("width")){b=this.f("width");a=h.oi(b);b=a===n?b:n;this.Lca(a);this.rca(b);this.j("width")}if(this.h("height")){b=
this.f("height");a=h.oi(b);b=a===n?b:n;this.Hca(a);this.mca(b);this.j("height")}if(this.h("minWidth")){b=this.f("minWidth");this.qca(b);this.j("minWidth")}if(this.h("minHeight")){b=this.f("minHeight");this.pca(b);this.j("minHeight")}if(this.h("maxWidth")){b=this.f("maxWidth");this.oca(b);this.j("maxWidth")}if(this.h("maxHeight")){b=this.f("maxHeight");this.nca(b);this.j("maxHeight")}if(this.h("paddingLeft")){this.Cca(this.f("paddingLeft"));this.j("paddingLeft")}if(this.h("paddingTop")){this.Eca(this.f("paddingTop"));
this.j("paddingTop")}if(this.h("paddingRight")){this.Dca(this.f("paddingRight"));this.j("paddingRight")}if(this.h("paddingBottom")){this.Bca(this.f("paddingBottom"));this.j("paddingBottom")}a=B;if(this.h("borderRadius")){this.j("borderRadius");a=q}b=B;if(this.h("borderLeftRadius")){this.j("borderLeftRadius");b=q}var d=B;if(this.h("borderTopRadius")){this.j("borderTopRadius");d=q}var j=B;if(this.h("borderRightRadius")){this.j("borderRightRadius");j=q}var r=B;if(this.h("borderBottomRadius")){this.j("borderBottomRadius");
r=q}if(this.h("borderTopLeftRadius")||d||b||a){this.dca(this.f("borderTopLeftRadius","borderLeftRadius","borderTopRadius","borderRadius"));this.j("borderTopLeftRadius")}if(this.h("borderTopRightRadius")||d||j||a){this.eca(this.f("borderTopRightRadius","borderRightRadius","borderTopRadius","borderRadius"));this.j("borderTopRightRadius")}if(this.h("borderBottomLeftRadius")||r||b||a){this.Wba(this.f("borderBottomLeftRadius","borderLeftRadius","borderBottomRadius","borderRadius"));this.j("borderBottomLeftRadius")}if(this.h("borderBottomRightRadius")||
r||j||a){this.Xba(this.f("borderBottomRightRadius","borderRightRadius","borderBottomRadius","borderRadius"));this.j("borderBottomRightRadius")}a=B;if(this.h("borderSize")){this.j("borderSize");a=q}if(this.h("borderLeftSize")||a){this.$ba(this.f("borderLeftSize","borderSize"));this.j("borderLeftSize")}if(this.h("borderTopSize")||a){this.fca(this.f("borderTopSize","borderSize"));this.j("borderTopSize")}if(this.h("borderRightSize")||a){this.bca(this.f("borderRightSize","borderSize"));this.j("borderRightSize")}if(this.h("borderBottomSize")||
a){this.Yba(this.f("borderBottomSize","borderSize"));this.j("borderBottomSize")}a=B;if(this.h("borderColor")){this.j("borderColor");a=q}if(this.h("borderLeftColor")||a){this.Zba(this.f("borderLeftColor","borderColor"));this.j("borderLeftColor")}if(this.h("borderTopColor")||a){this.cca(this.f("borderTopColor","borderColor"));this.j("borderTopColor")}if(this.h("borderRightColor")||a){this.aca(this.f("borderRightColor","borderColor"));this.j("borderRightColor")}if(this.h("borderBottomColor")||a){this.Vba(this.f("borderBottomColor",
"borderColor"));this.j("borderBottomColor")}if(this.h("shadow")){this.lD(this.f("shadow"));this.j("shadow")}if(this.h("shadowHorizontalLength")){this.Sca(this.f("shadowHorizontalLength"));this.j("shadowHorizontalLength")}if(this.h("shadowVerticalLength")){this.Vca(this.f("shadowVerticalLength"));this.j("shadowVerticalLength")}if(this.h("shadowBlurRadius")){this.Qca(this.f("shadowBlurRadius"));this.j("shadowBlurRadius")}if(this.h("shadowSpread")){this.Uca(this.f("shadowSpread"));this.j("shadowSpread")}if(this.h("shadowColor")){this.Rca(this.f("shadowColor"));
this.j("shadowColor")}if(this.h("shadowOpacity")||m){this.Tca(this.f("shadowOpacity","opacity"));this.j("shadowOpacity")}var m=B;if(this.h("opacity")){this.wh(this.f("opacity"));this.j("opacity")}if(this.h("backgroundOpacity")){this.Sba(this.f("backgroundOpacity"));this.j("backgroundOpacity")}if(this.h("backgroundColor")){this.Oba(this.f("backgroundColor"));this.j("backgroundColor")}if(this.h("backgroundColorRatios")){this.Qba(this.f("backgroundColorRatios"));this.j("backgroundColorRatios")}if(this.h("backgroundColorDirection")){this.Pba(this.f("backgroundColorDirection"));
this.j("backgroundColorDirection")}if(this.h("backgroundImageUrl")){this.Rba(this.f("backgroundImageUrl"));this.j("backgroundImageUrl")}g.prototype.X.call(this)};h.oi=function(a){if(b(a).isString())if((a=a.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&a.length>=2)return parseFloat(a[1])};return h});define("fD",["cu","gD","bB"],function(a,b,d){return b.extend(d,function(b,f,j){a.isNumber(f)||(f=1);a.isNumber(j)||(j=0);d.call(this,b);this.scale=f;this.rotation=j})});
define("ix",["cu","gD","bB"],function(a,b,d){return b.extend(d,function(a,b,j,g,h,e){d.call(this,a);this.x=b;this.y=j;this.pageX=g;this.pageY=h;this.Ot=e})});
define("d","require,jquery.mod,cu,gD,iu,dN,C,fD,ix,dI,o".split(","),function(a){function b(){o===n&&(o=Modernizr.touch?p.ni()==p.PG?B:q:B);b=function(){return o};return o}var d=a("jquery.mod"),c=a("cu"),f=a("gD"),j=a("iu"),g=a("dN"),h=a("C"),e=a("fD"),l=a("ix");a("dI");var p=a("o"),o,r=f.extend(h,function(){h.call(this);this.Lc("UIComponent");this.YA=[];this.Qw=[];this.S6=500;this.ia=1;this.Wg=b();this.tw=this.Tp=this.DB=B;this.set("propagateClick",q)});r.Ya={autoRolledOver:B,autoPressed:B,contentOpaque:q,
cursor:n,inheritedCursor:n,inheritedInteractionEnabled:q,rollOverOpacity:[g.k,"opacity"],rollOverShadow:[g.k,"shadow"]};c.defaults(r.Ya,h.Ya);r.prototype.ma=function(){this.Ph(r.Ya)};r.prototype.lS=function(){this.jZ(q)};r.prototype.kS=function(){this.jZ(B)};r.prototype.iS=function(){this.rt(q)};r.prototype.jS=function(){this.rt(B)};r.prototype.Mx=function(a){if(this.Tp!=a){this.Tp=a;this.Rc()}};r.prototype.rt=function(a){if(this.tw!=a){this.tw=a;this.Rc()}};r.prototype.jZ=function(a){if(this.DB!=
a){this.DB=a;this.Rc()}};r.prototype.Rc=function(){this.Tp?this.st(g.v):this.tw&&this.DB?this.st(g.Na):this.tw?this.st(g.oa):this.DB?this.st(g.k):this.st(g.dc)};r.prototype.trigger=function(){h.prototype.trigger.apply(this,arguments)};r.prototype.ZZ=function(a){this.trigger(new l(j.wb,a.x,a.y,a.pageX,a.pageY))};r.prototype.$Z=function(a){this.trigger(new l(j.jc,a.x,a.y,a.pageX,a.pageY))};r.prototype.a_=function(a){this.trigger(new l(j.xb,a.x,a.y,a.pageX,a.pageY))};r.prototype.Tda=function(a,b){this.trigger(new l(j.To,
a.x,a.y,a.pageX,a.pageY,b))};r.prototype.UZ=function(a){this.trigger(new l(j.ga,a.x,a.y,a.pageX,a.pageY))};r.prototype.WZ=function(a){this.trigger(new l(j.i3,a.x,a.y,a.pageX,a.pageY))};r.prototype.Wda=function(){this.trigger(new l(j.Yb))};r.prototype.Vda=function(){this.trigger(new l(j.Kb))};r.prototype.Rda=function(){this.trigger(new l(j.Mj))};r.prototype.Sda=function(){this.trigger(new l(j.oe))};r.prototype.Qda=function(a,b){this.trigger(new e(j.mG,a,b))};r.prototype.Oda=function(a,b){this.trigger(new e(j.Y2,
a,b))};r.prototype.Pda=function(a,b){this.trigger(new e(j.lG,a,b))};r.prototype.XZ=function(a){this.trigger(new e(j.Z2,n,a))};r.prototype.YZ=function(a){this.trigger(new e(j.Lr,a))};r.prototype.hN=function(a){a.stopImmediatePropagation();this.ms(["touchend"]);if(this.lK(a))this.UL(a);else{this.sV();this.tY(a)}};r.prototype.tY=function(a){var b=this.kw(a);this.Hda(b);this.ZZ(b);this.V&&this.V.tY(a)};r.prototype.gN=function(a){a.preventDefault();a.stopImmediatePropagation();this.lK(a)?this.SL(a):this.sY(a)};
r.prototype.sY=function(a){var b=this.kw(a);this.Gda(b);this.$Z(b);this.V&&this.V.sY(a)};r.prototype.kU=function(a,b){var e=a.pageX-b.pageX,f=a.pageY-b.pageY;return Math.sqrt(e*e+f*f)};r.prototype.bo=function(a,b){this.Wv(["touchend"]);b!==B&&a.preventDefault();a.stopImmediatePropagation();this.lK(a)?this.TL(a):this.rY(a,this.EV());this.qv()};r.prototype.rY=function(a,b){this.a_(this.kw(a));this.Fda(b);this.V&&this.V.rY(a)};r.prototype.Hda=function(a){this.bind(j.Kb,this.SZ,this,q);this.Iq=a};r.prototype.Gda=
function(a){if(this.Iq){a=this.kU(this.Iq,a);if(p.ic()){var b=this.$a();Math.min(b.aa(),b.la())}a>r.a4&&this.eN()}};r.prototype.Fda=function(a){if(this.Iq){this.UZ(this.Iq);a&&this.WZ(this.Iq);this.eN()}};r.prototype.eN=function(){if(this.Iq){this.unbind(j.Kb,this.SZ,this);this.Iq=n}};r.prototype.SZ=function(){this.eN()};r.prototype.kJ=function(a){this.ms(["gesturechange","gestureend"]);a.preventDefault();a.stopImmediatePropagation();this.UL(a)};r.prototype.UL=function(a){var b=this.vJ(a);this.ft=
b;this.Qda(b.scale,b.rotation);this.V&&this.V.UL(a)};r.prototype.WT=function(a){a.preventDefault();a.stopImmediatePropagation();this.SL(a)};r.prototype.SL=function(a){var b=this.vJ(a,this.ft),e=b.rotation-this.ft.rotation,f=b.scale/this.ft.scale;this.ft=b;this.ia=this.ia*f;for(this.gd=this.gd+e;this.gd>180;)this.gd=this.gd-360;for(;this.gd<-180;)this.gd=this.gd+360;this.Oda(this.ia,this.gd);e!=0&&this.XZ(this.gd);f!=1&&this.YZ(this.ia);this.V&&this.V.SL(a)};r.prototype.YT=function(a){this.Wv(["gesturechange",
"gestureend"]);a.preventDefault();a.stopImmediatePropagation();this.TL(a)};r.prototype.TL=function(a){var b=this.vJ(a),e=b.rotation-this.ft.rotation,b=b.scale/this.ft.scale;this.ia=this.ia*b;for(this.gd=this.gd+e;this.gd>180;)this.gd=this.gd-360;for(;this.gd<-180;)this.gd=this.gd+360;this.Pda(this.ia,this.gd);e!=0&&this.XZ(this.gd);b!=1&&this.YZ(this.ia);this.V&&this.V.TL(a)};r.prototype.OK=function(a){this.ms(["mouseup"]);a.stopImmediatePropagation();this.sV();this.nY(a,q)};r.prototype.nY=function(a,
b){var e=this.hn(a);b&&this.N5(e);this.ZZ(e);this.V&&this.V.nY(a,b&&this.get("propagateClick"))};r.prototype.PK=function(a){a.preventDefault();a.stopImmediatePropagation();this.$a().yu(this);this.oY(a)};r.prototype.oY=function(a){var b=this.hn(a);this.M5(b);this.$Z(b);this.V&&this.V.oY(a)};r.prototype.bC=function(a){this.Wv(["mouseup"]);a.preventDefault();a.stopImmediatePropagation();this.pY(a,this.EV())};r.prototype.pY=function(a,b){this.a_(this.hn(a));this.L5(b);this.V&&this.V.pY(a,b)};r.prototype.N5=
function(a){this.bind(j.Kb,this.WS,this,q);this.rp=a};r.prototype.M5=function(a){this.rp&&this.kU(this.rp,a)>r.P3&&this.XH()};r.prototype.L5=function(a){if(this.rp){this.UZ(this.rp);a&&this.WZ(this.rp);this.XH()}};r.prototype.XH=function(){if(this.rp){this.unbind(j.Kb,this.WS,this);this.rp=n}};r.prototype.WS=function(){this.XH()};r.prototype.iW=function(a){if(this.Fa.hW){a.preventDefault();a.stopImmediatePropagation();this.qY(a)}};r.prototype.GS=P(B);r.prototype.qY=function(a){var b=this.hn(a),e=
this.q8(a);this.V&&!this.GS(e)&&this.V.qY(a);this.Tda(b,e)};r.prototype.hn=function(a){return this.oJ(a.pageX,a.pageY)};r.prototype.q8=function(a){a=window.event||a.originalEvent||a;return Math.max(-1,Math.min(1,a.wheelDelta||-a.detail))};r.prototype.kw=function(a){var b=this.tJ(a);return this.Zaa=a=b===n?this.oJ(a.pageX,a.pageY):b.length==0?this.Zaa:this.oJ(b[0].pageX,b[0].pageY)};r.prototype.lK=function(a){a=this.tJ(a);return!!(a&&a.length>1)};r.prototype.tJ=function(a){return a.originalEvent.touches||
a.originalEvent.targetTouches||a.originalEvent.changedTouches};r.prototype.oJ=function(a,b){var e=this.na().offset(),f=this.Fa.qC,c={};c.x=(a-e.left)/f;c.y=(b-e.top)/f;c.pageX=a/f;c.pageY=b/f;c.E1=a;c.F1=b;return c};r.prototype.vJ=function(a,b){if(a.originalEvent.scale!==n||a.originalEvent.rotation!==n)return{scale:a.originalEvent.scale,rotation:a.originalEvent.rotation};if(b){var e=this.uU(a);return{scale:b.scale*e/b.touchesDistance,rotation:0,touchesDistance:e}}return{scale:1,rotation:0,touchesDistance:this.uU(a)}};
r.prototype.uU=function(a){var b=this.tJ(a);if(b&&b.length>1){a=Math.abs(b[0].pageX-b[1].pageX);b=Math.abs(b[0].pageY-b[1].pageY);return Math.sqrt(a*a+b*b)}return 0};r.prototype.ms=function(a){this.YA=c(this.YA).union(a);for(var a=this.tU(a),b=0;b<a.length;b++){var e=a[b];e.target.bind(e.name,e.handler)}};r.prototype.sV=function(){this.Qw.push((new Date).getTime());this.Qw=this.Qw.slice(-2)};r.prototype.EV=function(){var a=(new Date).getTime();if(this.Qw.length>1){var b=this.Qw.slice(-2)[0];if(a-
b<=this.S6)return q}return B};r.prototype.Wv=function(a){this.YA=c(this.YA).difference(a);for(var a=this.tU(a),b=0;b<a.length;b++){var e=a[b];e.target.unbind(e.name,e.handler)}};r.prototype.tU=function(a){this.LT||(this.LT=this.sJ());for(var b=[],e=0;e<a.length;e++)b=b.concat(this.LT[a[e]]);return b};r.prototype.sJ=function(){function a(e){return function(){r.ty=r.ty+1;var a=e.apply(b,arguments);r.ty=r.ty-1;return a}}var b=this,e=this.na(),f=d(document),c=d(window);return{touchstart:[{target:e,name:"touchstart",
handler:a(this.hN)}],touchmove:[{target:e,name:"touchmove",handler:a(this.gN)}],touchend:[{target:e,name:"touchend",handler:a(this.bo)},{target:f,name:"touchend",handler:a(this.bo)},{target:e,name:"touchcancel",handler:a(this.bo)},{target:f,name:"touchcancel",handler:a(this.bo)}],gesturestart:[{target:e,name:"gesturestart",handler:a(this.kJ)}],gesturechange:[{target:e,name:"gesturechange",handler:a(this.WT)}],gestureend:[{target:e,name:"gestureend",handler:a(this.YT)}],mousedown:[{target:e,name:"mousedown",
handler:a(this.OK)}],mousemove:[{target:e,name:"mousemove",handler:a(this.PK)}],mouseup:[{target:e,name:"mouseup",handler:a(this.bC)},{target:c,name:"mouseup",handler:a(this.bC)}],mousewheel:[{target:e,name:"mousewheel",handler:a(this.iW)},{target:e,name:"DOMMouseScroll",handler:a(this.iW)}]}};r.prototype.X=function(){if(this.h("autoRolledOver")){this.unbind(j.Yb,this.lS,this);this.unbind(j.Kb,this.kS,this);if(this.f("autoRolledOver")){this.bind(j.Yb,this.lS,this);this.bind(j.Kb,this.kS,this)}this.j("autoRolledOver")}if(this.h("autoPressed")){this.unbind(j.wb,
this.iS);this.unbind(j.xb,this.jS);if(this.f("autoPressed")){this.bind(j.wb,this.iS);this.bind(j.xb,this.jS)}this.j("autoPressed")}var a=B;if(this.h("contentOpaque")){a=q;this.j("contentOpaque")}if(this.h("inheritedInteractionEnabled")){a=q;this.j("inheritedInteractionEnabled")}if(this.h("backgroundOpacity")||this.h("backgroundColor"))a=q;h.prototype.X.call(this);if(a){var b=this.jb(),b=b.Ve()>0&&b.sp.length>0,e=this.f("contentOpaque");this.zq(this.f("inheritedInteractionEnabled")&&(e||b))}if(a||
this.h("cursor")||this.h("inheritedCursor")){this.j("cursor");this.j("inheritedCursor");this.eA?this.Zn(this.f("cursor")):this.Zn(this.f("inheritedCursor"))}};r.prototype.zq=function(a){if(this.eA!=a){(this.eA=a)?this.ms(r.SR):this.Wv(r.SR);this.qv()}};r.prototype.qv=function(){this.sl().style["pointer-events"]=this.eA?"all":"none"};r.HE=function(){return r.ty>0};r.SR=function(){var a=[],a=a.concat(["touchstart","touchmove","gesturestart"]);return a=a.concat(["mousedown","mousemove","mousewheel"])}();
r.ty=0;r.Wka=1E3;r.a4=10;r.Uka=5;r.P3=10;return r});define("hy",[],function(){return{vc:"left",Nd:"right",md:"center",lc:"top",Oc:"bottom",Ed:"middle"}});define("c",[],function(){return{VP:"absolute",ne:"horizontal",Em:"grid",qe:"vertical"}});define("bC",[],function(){return function(a){this.Te=a;this.height=this.width=this.y=this.x=0}});define("cm",[],function(){return function(){this.minHeight=this.minWidth=this.height=this.width=0}});
define("br",["hy","bC","cm"],function(a,b,d){function c(){this.ua=s;this.gm=a.lc;this.ul=a.vc;this.Oq=this.vl=0}c.prototype.c2=function(a){this.vl!=a&&(this.vl=a,this.pc())};c.prototype.LP=function(a){this.Oq!=a&&(this.Oq=a,this.pc())};c.prototype.r2=function(a){this.ua=a;this.pc()};c.prototype.xP=function(a){this.ul!=a&&(this.ul=a,this.pc())};c.prototype.KP=function(a){this.gm!=a&&(this.gm=a,this.pc())};c.prototype.Zy=function(){return new d};c.prototype.update=function(){var a=this.a6();this.Dt(a);
this.lca(a)};c.prototype.Dt=function(a){this.my(a);this.ly(a)};c.prototype.mB=function(){for(var a=this.VU(),b=[],c=0;c<a.length;c++){var h=a[c];h.get("includeInLayout")&&b.push(h)}return b};c.prototype.VU=function(){for(var a=this.ua.sb(),b=[],c=0;c<a.length;c++){var h=a[c];h.get("visible")&&b.push(h)}return b};c.prototype.a6=function(){for(var a=this.VU(),c=[],d=0;d<a.length;d++)c.push(new b(a[d]));return c};c.prototype.lca=function(a){for(var b=0;b<a.length;b++){var c=a[b];c.Te.Y1(c.x,c.y,c.width,
c.height)}};c.prototype.pc=function(){this.ua&&this.ua.Ra()};return c});
define("ci",["gD","hy","br","cm"],function(a,b,d,c){a=a.extend(d,function(){d.call(this)});a.prototype.Zy=function(){for(var a=new c,b=this.mB(),d=0;d<b.length;d++){var h=b[d],e=h.El,l=h.Ex,p=0;isNaN(e)||(p+=e);isNaN(l)||(p+=l);a.width=Math.max(p+h.Gk(),a.width);a.minWidth=Math.max(p+h.Ek(),a.minWidth);e=h.bm;l=h.Bv;p=0;isNaN(e)||(p+=e);isNaN(l)||(p+=l);a.height=Math.max(p+h.Fk(),a.height);a.minHeight=Math.max(p+h.lm(),a.minHeight)}b=this.ua.Bj()+this.ua.Dk();a.width+=b;a.minWidth+=b;b=this.ua.dr()+
this.ua.Xt();a.height+=b;a.minHeight+=b;return a};a.prototype.Dt=function(a){this.my(a);this.ly(a)};a.prototype.Dt=function(a){for(var b=this.ua.Ld(),c=this.ua.Kd(),h=0;h<a.length;h++){var e=a[h],d=e.Te,p=d.El;if(isNaN(p)){var o=d.zC;isNaN(o)||(p=Math.round(0.01*o*b))}o=d.Ex;if(isNaN(o)){var r=d.AC;isNaN(r)||(o=Math.round(0.01*r*b))}var r=d.Rm,m=d.Rg;if(isNaN(m)){var t=d.hh;isNaN(t)?!isNaN(p)&&!isNaN(o)&&(m=b-p-o):m=Math.round(0.01*t*b)}t=d.bm;if(isNaN(t)){var u=d.BC;isNaN(u)||(t=Math.round(0.01*
u*c))}u=d.Bv;if(isNaN(u)){var w=d.yC;isNaN(w)||(u=Math.round(0.01*w*c))}var w=d.Sm,A=d.Fp;if(isNaN(A)){var z=d.gh;isNaN(z)?!isNaN(t)&&!isNaN(u)&&(A=c-t-u):A=Math.round(0.01*z*c)}e.width=isNaN(m)?d.Gk():Math.max(d.Ek(),Math.min(d.vE(),m));e.height=isNaN(A)?d.Fk():Math.max(d.lm(),Math.min(d.uE(),A));e.x=!isNaN(p)&&!isNaN(o)?Math.round(p+0.5*(b-o-p-e.width)):isNaN(p)?isNaN(o)?isNaN(r)?0:0.5*b+r-0.5*e.width:b-o-e.width:p;e.y=!isNaN(t)&&!isNaN(u)?Math.round(t+0.5*(c-u-t-e.height)):isNaN(t)?isNaN(u)?isNaN(w)?
0:0.5*c+w-0.5*e.height:c-u-e.height:t}};return a});
define("fX",["gD","hy","br","cm"],function(a,b,d,c){a=a.extend(d,function(){d.call(this);this.vw=this.ww=this.xw=this.Vp=this.Bl=this.Cl=this.zw=this.vn=this.Rg=n});a.prototype.Lia=function(a){this.Rg!=a&&(this.Rg=a,this.pc())};a.prototype.Xia=function(a){this.Cl!=a&&(this.Cl=a,this.Cl!=n&&(this.vn=n),this.pc())};a.prototype.Wia=function(a){this.Bl!=a&&(this.Bl=a,this.Bl!=n&&(this.zw=n),this.pc())};a.prototype.eja=function(a){this.vn!=a&&(this.vn=a,this.Cl!=n&&(this.Cl=n),this.pc())};a.prototype.dja=
function(a){this.zw!=a&&(this.zw=a,this.Bl!=n&&(this.Bl=n),this.pc())};a.prototype.bja=function(a){this.Vp!=a&&(this.Vp=a,this.pc())};a.prototype.aja=function(a){this.xw!=a&&(this.xw=a,this.pc())};a.prototype.$ia=function(a){this.ww!=a&&(this.ww=a,this.pc())};a.prototype.Zia=function(a){this.vw!=a&&(this.vw=a,this.pc())};a.prototype.Zy=function(){for(var a=new c,b=this.mB(),d=0,h=0;h<b.length;h++)b[h].get("includeInLayout")&&d++;if(!isNaN(this.vn)){isNaN(this.Vp)||(a.minWidth=this.Vp);for(h=0;h<b.length;h++){var e=
b[h].Ek();isNaN(e)||(a.minWidth=Math.max(e,a.minWidth))}}if(isNaN(this.Cl))for(h=0;h<b.length;h++)e=b[h].Gk(),isNaN(e)||(a.width=Math.max(e,a.width));else a.width=this.Cl;if(isNaN(this.Bl))for(h=0;h<b.length;h++)e=b[h].Fk(),isNaN(e)||(a.height=Math.max(e,a.height));else a.height=this.Bl;isNaN(this.vn)?isNaN(this.Rg)?b=Math.ceil(Math.sqrt(d)):(b=this.Rg-this.ua.Bj()-this.ua.Dk(),b=Math.max(1,Math.floor((b+this.vl)/(a.width+this.vl)))):b=Math.max(1,Math.floor(100/this.vn));d=Math.ceil(d/b);a.width=
a.width*b+Math.max(0,b-1)*this.vl+this.ua.Bj()+this.ua.Dk();a.minWidth=a.minWidth+this.ua.Bj()+this.ua.Dk();a.height=a.height*d+Math.max(0,d-1)*this.Oq+this.ua.dr()+this.ua.Xt();a.minHeight=0;return a};a.prototype.Dt=function(a){for(var c,d,h=[],e=[],l=0;l<a.length;l++)d=a[l].Te,d.get("includeInLayout")?h.push(a[l]):e.push(a[l]);var p=h.length,o=this.ua.Ld(),r=this.vl,m;if(isNaN(this.Cl))if(isNaN(this.vn)){for(l=a=0;l<h.length;l++)d=h[l].Te,a=Math.max(d.Ek(),d.Gk(),a);a=Math.min(o,a)}else{if(a=Math.max(1,
Math.floor(100/this.vn)),a=(o-(a-1)*r)/a,l=B,!isNaN(this.ww)&&this.ww<a&&(a=this.ww,l=q),!isNaN(this.Vp)&&this.Vp>a&&(a=this.Vp,l=q),l)a=Math.max(1,Math.floor((o+r)/(a+r))),a=(o-(a-1)*r)/a}else a=this.Cl;a=Math.max(1,a);m=Math.max(1,Math.floor(0.001+(o+r)/(a+r)));var l=m*a,t=m*(a+r)-r,u=0;if(o>=t)switch(this.ul){case b.Nd:u=o-t;break;case b.md:u=Math.round(0.5*(o-t));break;default:u=0}for(var o=[],t=[],w=0;w<m;w++)d=Math.round(l/(m-w)),l-=d,t.push(u),u+=d+r,o.push(d);u=this.ua.Kd();w=this.Oq;if(isNaN(this.Bl))if(isNaN(this.zw)){r=
1;for(l=0;l<h.length;l++)d=h[l].Te,r=Math.max(d.lm(),d.Fk(),r)}else{if(r=Math.max(1,100/this.zw),r=(u-(r-1)*w)/r,l=B,!isNaN(this.vw)&&this.vw<r&&(r=this.vw,l=q),!isNaN(this.xw)&&this.xw>r&&(r=this.xw,l=q),l)r=Math.max(1,Math.floor((u+w)/(r+w))),r=(u-(r-1)*w)/r}else r=this.Bl;l=Math.max(1,Math.ceil(p/m));c=l*r;var p=l*(r+w)-w,A=0;if(u>=p)switch(this.gm){case b.Oc:A=u-p;break;case b.Ed:A=Math.round(0.5*(u-p))}p=[];u=[];for(d=0;d<l;d++){var z=Math.round(c/(l-d));c-=z;u.push(A);A+=z+w;p.push(z)}for(l=
0;l<h.length;l++)c=h[l],w=l%m,d=Math.floor(l/m),c.x=t[w],c.width=o[w],c.y=u[d],c.height=p[d];for(l=0;l<e.length;l++)c=e[l],c.x=0,c.width=Math.round(a),c.y=0,c.height=Math.round(r)};return a});
define("gA",["gD","hy","br","cm"],function(a,b,d,c){a=a.extend(d,function(){d.call(this)});a.prototype.Zy=function(){for(var a=new c,b=this.mB(),d=0;d<b.length;d++){var h=b[d];a.height=Math.max(h.Fk(),a.height);a.minHeight=Math.max(h.lm(),a.minHeight);a.width+=h.Gk();a.minWidth+=h.Ek()}b=Math.max(0,b.length-1)*this.vl+this.ua.Bj()+this.ua.Dk();a.width+=b;a.minWidth+=b;b=this.ua.dr()+this.ua.Xt();a.height+=b;a.minHeight+=b;return a};a.prototype.Dt=function(a){this.my(a);this.ly(a)};a.prototype.my=
function(a){for(var b=0,c=0;c<a.length;c++)a[c].Te.get("includeInLayout")&&b++;for(var c=Math.max(0,b-1)*this.vl,h=this.ua.Ld()-c,e=this.ua.Kd(),b=h,d=0,p=[],c=0;c<a.length;c++){var o=a[c],r=o.Te,m=r.gh;o.height=isNaN(m)?r.Fk():Math.max(r.lm(),Math.min(r.uE(),Math.round(0.01*e*m)));m=r.hh;isNaN(m)?(o.width=r.Gk(),b-=o.width):r.get("includeInLayout")?(d+=m,p.push(o)):o.width=Math.max(r.Ek(),Math.min(r.vE(),Math.round(0.01*h*m)))}c=Math.max(0,b-0.01*h*d);b-=c;do{a=B;h=Math.max(0,0<d?b/d:0);e=[];for(c=
d=0;c<p.length;c++){var o=p[c],r=o.Te,m=Math.round(r.hh*h),t=r.Ek(),u=r.vE();m<t?(o.width=t,b-=o.width,a=q):m>u?(o.width=u,b-=o.width,a=q):(d+=r.hh,e.push(o))}p=e}while(a);for(c=0;c<p.length;c++)o=p[c],r=o.Te,h=Math.max(0,0<d?b/d:0),o.width=Math.round(r.hh*h),b-=o.width,d-=r.hh};a.prototype.ly=function(a){for(var c=this.vl,d=this.ua.Ld(),h=this.ua.Kd(),e=0,l=0,p=0;p<a.length;p++){var o=a[p];o.Te.get("includeInLayout")&&(e+=a[p].width,l++)}e+=c*(l-1);if(d>=e)switch(this.ul){case b.Nd:d-=e;break;case b.md:d=
Math.round(0.5*(d-e));break;default:d=0}else d=0;for(p=0;p<a.length;p++)if(o=a[p],o.Te.get("includeInLayout")){if(h>=o.height)switch(this.gm){case b.Oc:o.y=h-o.height;break;case b.Ed:o.y=Math.round(0.5*(h-o.height));break;default:o.y=0}else o.y=0;o.x=d;d+=o.width+c}else o.x=0,o.y=0};return a});
define("bV",["gD","hy","br","cm"],function(a,b,d,c){a=a.extend(d,function(){d.call(this)});a.prototype.Zy=function(){for(var a=new c,b=this.mB(),d=0;d<b.length;d++){var h=b[d];a.width=Math.max(h.Gk(),a.width);a.minWidth=Math.max(h.Ek(),a.minWidth);a.height+=h.Fk();a.minHeight+=h.lm()}b=Math.max(0,b.length-1)*this.Oq+this.ua.dr()+this.ua.Xt();a.height+=b;a.minHeight+=b;b=this.ua.Bj()+this.ua.Dk();a.width+=b;a.minWidth+=b;return a};a.prototype.Dt=function(a){this.my(a);this.ly(a)};a.prototype.my=function(a){for(var b=
0,c=0;c<a.length;c++)a[c].Te.get("includeInLayout")&&b++;for(var c=Math.max(0,b-1)*this.Oq,h=this.ua.Ld(),e=this.ua.Kd()-c,b=e,d=0,p=[],c=0;c<a.length;c++){var o=a[c],r=o.Te,m=r.hh;o.width=isNaN(m)?r.Gk():Math.max(r.Ek(),Math.min(r.vE(),Math.round(0.01*h*m)));m=r.gh;isNaN(m)?(o.height=r.Fk(),b-=o.height):r.get("includeInLayout")?(d+=m,p.push(o)):o.height=Math.max(r.lm(),Math.min(r.uE(),Math.round(0.01*e*m)))}c=Math.max(0,b-0.01*e*d);b-=c;do{a=B;h=Math.max(0,0<d?b/d:0);e=[];for(c=d=0;c<p.length;c++){var o=
p[c],r=o.Te,m=Math.round(r.gh*h),t=r.lm(),u=r.uE();m<t?(o.height=t,b-=o.height,a=q):m>u?(o.height=u,b-=o.height,a=q):(d+=r.gh,e.push(o))}p=e}while(a);for(c=0;c<p.length;c++)o=p[c],r=o.Te,h=Math.max(0,0<d?b/d:0),o.height=Math.round(r.gh*h),b-=o.height,d-=r.gh};a.prototype.ly=function(a){for(var c=this.Oq,d=this.ua.Ld(),h=this.ua.Kd(),e=0,l=0,p=0;p<a.length;p++){var o=a[p];o.Te.get("includeInLayout")&&(e+=o.height,o.width>d&&(d=o.width),l++)}e+=c*(l-1);if(h>=e)switch(this.gm){case b.Oc:h-=e;break;case b.Ed:h=
Math.round(0.5*(h-e));break;default:h=0}else h=0;for(p=0;p<a.length;p++)if(o=a[p],o.Te.get("includeInLayout")){switch(this.ul){case b.Nd:o.x=d-o.width;break;case b.md:o.x=Math.round(0.5*(d-o.width));break;default:o.x=0}o.y=h;h+=o.height+c}else o.x=0,o.y=0};return a});
define("j","gD,cu,d,C,hy,bM,c,ci,fX,gA,bV".split(","),function(a,b,d,c,f,j,g,h,e,l,p){var o=a.extend(d,function(){d.call(this);this.Lc("BaseContainer");this.Rh=s;this.Cb=[];this.Ji=[];this.QA=j.cQ;this.set("contentOpaque",B)});o.Ya={children:[[]],childrenInteractionEnabled:q,gap:0,horizontalAlign:f.vc,itemHeight:n,itemMaxHeight:n,itemMaxWidth:n,itemMinHeight:n,itemMinWidth:n,itemWidth:n,layout:g.VP,verticalAlign:f.lc};b.defaults(o.Ya,d.Ya);o.prototype.ma=function(){this.Ph(o.Ya)};o.prototype.set=
function(a,b){a=="children"?this.Aia(b):a=="creationPolicy"?this.Gia(b):d.prototype.set.call(this,a,b)};o.prototype.get=function(a){return a=="children"?this.sb():a=="creationPolicy"?this.Cla():d.prototype.get.call(this,a)};o.prototype.Gia=function(a){if(this.QA!=a){this.QA=a;this.kN()}};o.prototype.Aia=function(a){for(var e=this.sb(),a=a||[],c=b(e).difference(a),f=0;f<c.length;f++)this.removeChild(c[f]);e=b(a).difference(e);for(f=0;f<e.length;f++)this.Ca(e[f]);for(f=0;f<a.length;f++)this.uh(a[f],
f)};o.prototype.sb=N("Cb");o.prototype.Ca=function(a){a.getParent()&&a.getParent().removeChild(a);this.Cb.push(a);a.V=this;this.dS(a);a.wM(this.$i);this.Ji.push(a);this.kN();a.nv();return a};o.prototype.removeChild=function(a){if(a.getParent()==this){a.sq();a.V=s;if(b(this.Ji).contains(a))this.Ji=b.without(this.Ji,a);else{a.na().detach();a.Yn(s);this.Ra();this.Tc()}this.Cb=b.without(this.Cb,a);a.aM()}};o.prototype.J1=function(){b(this.sb()).forEach(function(a){this.removeChild(a)})};o.prototype.Vt=
function(a){return b(this.Cb).indexOf(a)};o.prototype.uh=function(a,e){var c=this.Vt(a);c<0&&k("Can't set index. This is not a child of this container");var f=this.Cb.slice();f.splice(c,1);f.splice(e,0,a);if(!b.isEqual(this.Cb,f)){this.Cb=f;if(!b(this.Ji).contains(a)){c=this.Vt(a);a.na().detach();for(var h=f=s,d=c-1;d>=0&&!f;d--)b(this.Ji).contains(this.Cb[d])||(f=this.Cb[d]);for(d=c+1;d<this.Cb.length&&!h&&!f;d++)b(this.Ji).contains(this.Cb[d])||(h=this.Cb[d]);f?a.na().insertAfter(f.na()):h?a.na().insertBefore(h.na()):
this.Pa().e0(a.sl());this.Tc()}}};o.prototype.zq=function(a){d.prototype.zq.call(this,a);this.m_()};o.prototype.m_=function(){b(this.Cb).forEach(function(a){this.dS(a)},this)};o.prototype.dS=function(a){a.set("inheritedInteractionEnabled",this.f("inheritedInteractionEnabled")&&this.f("childrenInteractionEnabled"))};o.prototype.qv=function(){d.prototype.qv.call(this);this.Cb.forEach(function(a){a.qv()})};o.prototype.Bq=function(a){d.prototype.Bq.call(this,a);b(this.Cb).forEach(function(a){a.wM(this.$i)},
this)};o.prototype.pH=function(a){d.prototype.pH.call(this,a);b(this.sb()).forEach(function(a){a.Et()});this.kN()};o.prototype.Yn=function(a){d.prototype.Yn.call(this,a);b(this.sb()).forEach(function(e){b(this.Ji).contains(e)||e.Yn(a)},this)};o.prototype.kN=function(){if((this.QA==j.cQ&&this.Ks||this.QA==j.Mz)&&this.Ji.length>0){b(this.Ji).forEach(function(a){this.Pa().e0(a.sl());a.Yn(this.$a())},this);this.Ji=[];this.Ra();this.Tc()}};o.prototype.bF=function(a){if(this.Rh!=a){this.Rh&&this.Rh.r2(s);
(this.Rh=a)&&this.Rh.r2(this)}};o.prototype.X=function(){var a=B,b=this.f("layout");if(this.h("layout")){switch(b){case g.Em:this.bF(new e);break;case g.ne:this.bF(new l);break;case g.qe:this.bF(new p);break;default:this.bF(new h)}this.j("layout");a=q}var f=this.Rh;if(this.h("horizontalAlign")||a){f.xP(this.f("horizontalAlign"));this.j("horizontalAlign")}if(this.h("verticalAlign")||a){f.KP(this.f("verticalAlign"));this.j("verticalAlign")}if(this.h("gap")||a){if(b==g.Em){f.c2(this.f("gap"));f.LP(this.f("gap"))}else b==
g.ne?f.c2(this.f("gap")):b==g.qe&&f.LP(this.f("gap"));this.j("gap")}if(b==g.Em){if(this.h("itemWidth")||a){var o=this.f("itemWidth"),j=c.oi(o);j!==n?f.eja(j):f.Xia(o);this.j("itemWidth")}if(this.h("itemHeight")||a){o=this.f("itemHeight");j=c.oi(o);j!==n?f.dja(j):f.Wia(o);this.j("itemHeight")}if(this.h("itemMinWidth")){f.bja(this.f("itemMinWidth"));this.j("itemMinWidth")}if(this.h("itemMinHeight")){f.aja(this.f("itemMinHeight"));this.j("itemMinHeight")}if(this.h("itemMaxWidth")){f.$ia(this.f("itemMaxWidth"));
this.j("itemMaxWidth")}if(this.h("itemMaxHeight")){f.Zia(this.f("itemMaxHeight"));this.j("itemMaxHeight")}}if(this.h("childrenInteractionEnabled")){this.j("childrenInteractionEnabled");this.m_()}this.eb(["cursor"],{cursor:"inheritedCursor"},this.Cb,q,B);d.prototype.X.call(this);b==g.Em&&f.Lia(this.Rg)};o.prototype.eb=function(a,b,e,c,f){for(var h=0;h<a.length;h++){var d=a[h];if(!c||this.h(d)){for(var g=0;g<e.length;g++)e[g].set(b[d]?b[d]:d,this.f(d));f&&this.j(d)}}};o.prototype.Il=function(){if(this.Rh){var a=
this.Rh.Zy();this.ng=a.width;this.mg=a.height;this.Nw=a.minWidth;this.Mw=a.minHeight}else d.prototype.Il.call(this)};o.prototype.jf=function(){this.Rh&&this.Rh.update(this);d.prototype.jf.call(this)};return o});
define("iw",["jquery.mod","gD","iI","dI"],function(a,b,d,c){function f(b,f){this.ks=b;this.Ge="#000000";this.ob=0.5;this.o=10;this.Bn=5;this.Db=f;this.IA=this.oL=this.he=0;this.YR=this.Ia=this.oA=B;this.O=q;this.bs=document.createElement("div");this.bs.setAttribute("tdvlayer","scrollbar");this.Pv=a(this.bs);c.css(this.bs,{position:"absolute","z-index":d.VQ});this.vv=document.createElement("div");this.tH=a(this.vv);c.css(this.vv,{position:"absolute",left:0,top:0});this.Pv.append(this.tH)}f.prototype.Ea=
function(){return this.Pv.width()};f.prototype.Ma=function(){return this.Pv.height()};f.prototype.ca=function(a){this.he!=a&&(this.he=a,this.MY(),this.O=q)};f.prototype.IO=N("he");f.prototype.setSize=function(a,b){this.oL=a;this.IA=b;this.MY();this.O=q};f.prototype.Fe=function(a){this.Ia!=a&&(this.Ia=a,this.O=q)};f.prototype.X1=function(a){this.oA!=a&&(this.oA=a,this.O=q)};f.prototype.xu=function(a){this.Ge!=a&&(this.Ge=a,this.O=q)};f.prototype.wh=function(a){this.ob!=a&&(this.ob=a,this.O=q)};f.prototype.Br=
function(a){this.o!=a&&(this.o=a,this.O=q)};f.prototype.i2=function(a){this.Bn!=a&&(this.Bn=a,this.O=q)};f.prototype.Md=function(){this.O&&(this.YR!=this.Ia&&(this.Ia?this.Db.append(this.Pv):this.Pv.detach(),this.YR=this.Ia),this.Wa(),this.O=B)};f.prototype.Wa=function(){var a=Math.round(100*this.oL/this.IA),b=Math.round(100*this.he/this.IA);c.css(this.bs,{filter:"alpha(opacity="+Math.round(100*this.ob)+")",opacity:this.ob,display:this.Ia?"block":"none"});c.css(this.vv,{backgroundColor:this.Ge,"border-radius":Math.floor(this.o/
2)+"px"});this.ks==f.ne?(c.css(this.bs,{left:this.Bn+"px",right:(this.oA?this.o:0)+this.Bn+"px",height:this.o+"px",bottom:this.Bn+"px"}),c.css(this.vv,{left:b+"%",width:a+"%",height:this.o+"px"})):(c.css(this.bs,{top:this.Bn+"px",right:this.Bn+"px",width:this.o+"px",bottom:(this.oA?this.o:0)+this.Bn+"px"}),c.css(this.vv,{top:b+"%",width:this.o+"px",height:a+"%"}))};f.prototype.MY=function(){var a=this.IA-this.oL;0>this.he?this.he=0:this.he>a&&(this.he=a)};f.ne="horizontal";f.qe="vertical";return f});
define("fK",["gD","iw"],function(a,b){return a.extend(b,function(a){b.call(this,b.ne,a)})});define("cB",["gD","iw"],function(a,b){return a.extend(b,function(a){b.call(this,b.qe,a)})});
define("hC","require,jquery.mod,gD,iu,bB,dx,o".split(","),function(a){var b=a("jquery.mod"),d=a("gD"),c=a("iu"),f=a("bB"),j=a("dx"),a=a("o");if(a.zd()!=a.Fr){var g=d.extend(j,function(a){j.call(this);this.u=a;this.xba=g.GY(a);this.u5=g.cJ();this.Z=this.rU();var e=this;b(document).bind("msfullscreenchange webkitfullscreenchange mozfullscreenchange fullscreenchange",function(){e.$M()});b(window).bind("resize",function(){e.$M()})});g.prototype.available=function(){return g.L4(this.u)};g.prototype.lO=
function(){this.enabled()||this.toggle()};g.prototype.ko=function(){this.enabled()&&this.toggle()};g.prototype.toggle=function(){this.enabled()?this.u5.call(document):this.xba.call(this.u);this.$M()};g.prototype.enabled=N("Z");g.prototype.rU=function(){return this.u===g.cr()};g.prototype.$M=function(){var a=this.rU();if(this.Z!=a){this.Z=a;this.trigger(new f(c.W))}};g.enabled=function(){return!!g.cr()};g.cr=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||
document.msFullscreenElement};g.ko=function(){g.enabled()&&this.cJ().call(document)};g.GY=function(a){return a.requestFullscreen||a.msRequestFullscreen||a.mozRequestFullScreen||a.webkitRequestFullscreen};g.cJ=function(){return document.exitFullscreen||document.msExitFullscreen||document.mozCancelFullScreen||document.webkitExitFullscreen};g.L4=function(a){return!(!g.GY(a||body)&&!g.cJ())}}else{g=d.extend(j,function(a){j.call(this);this.u=a});g.prototype.available=P(q);g.prototype.lO=function(){this.enabled()||
this.toggle()};g.prototype.ko=function(){this.enabled()&&this.toggle()};g.prototype.toggle=function(){if(this.enabled()){h();g.an=s}else{g.an&&g.an.ko();h();var a=e();a.push("fullscreen");l(a);g.an=this}this.trigger(new f(c.W))};g.prototype.enabled=function(){return this==g.an};g.enabled=function(){return!!g.cr()};g.cr=function(){return g.an&&g.an.u};g.ko=function(){g.enabled()&&g.an.ko()};g.an=s;var h=function(){for(var a=e(),b=[],c=0;c<a.length;c++)a[c]!="fullscreen"&&b.push(a[c]);l(b)},e=function(){var a=
window.location.hash.substring(1);return a.length?a.split("&"):[]},l=function(a){window.location.hash="#"+(a.length?a.join("&"):"")}}return g});
define("bw",["require","jquery.mod","hC"],function(a){function b(){p.get(0)==document.body&&g.height(window.innerHeight)}function d(a,b){var e={},c;for(c in b)e[c]=a.css(c);o.push({$el:a,css:e});a.css(b)}function c(a){this.u=a}var f=a("jquery.mod"),j=a("hC");c.prototype.lO=function(){this.enabled()||this.toggle()};c.prototype.ko=function(){this.enabled()&&this.toggle()};c.prototype.toggle=function(){this.enabled()?c.cancel():c.uo(this.u)};c.prototype.enabled=function(){return c.enabled(this.u)};var g=
f("<div/>").css({position:"fixed",bottom:0,left:0,height:"100vh",width:"100vw"}),h=f("<div/>"),e=s,l=s,p=s,o=[],r=s;c.uo=function(a){if(a!==e){c.cancel();e=a;var o=j.cr()||document.body;l=f(a);p=f(o);h.insertAfter(l);l.appendTo(g);p.children().each(function(){d(f(this),{visibility:"hidden"})});d(l,{position:"absolute",left:0,top:0,width:"100%",height:"100%"});o==document.body?d(g,{position:"fixed",left:0,top:"",right:"",bottom:0,height:"100vh",width:"100vw",margin:0,padding:0}):d(g,{position:"absolute",
left:0,top:0,right:"",bottom:"",width:"100%",height:"100%",margin:0,padding:0});g.appendTo(p);b();r=setInterval(b,300)}};c.cancel=function(){if(e){g.detach();l.insertBefore(h);for(h.detach();o.length;){var a=o.pop();a.$el.css(a.css)}p=l=e=s;storedStyle={};clearInterval(r)}};c.enabled=function(a){return e==a};return c});define("m",["require","gf"],function(a){var b=a("gf");return{trigger:function(){b.Kha();window.location.href="/";window.setTimeout(function(){window.stop();b.Jha()},0)}}});
define("it",["require","gD"],function(a){function b(a){return c[g][a]||a}var d=a("gD"),c={de:{"enable-audio-prompt":"Audio aktivieren?","enable-video-prompt":"Video aktivieren?",yes:"ja",no:"nein"},en:{"enable-audio-prompt":"Enable audio?","enable-video-prompt":"Enable video?",yes:"yes",no:"no"},es:{"enable-audio-prompt":"\u00bfActivar audio?","enable-video-prompt":"\u00bfActivar v\u00eddeo?",yes:"si",no:"no"},fr:{"enable-audio-prompt":"Activer l'audio?","enable-video-prompt":"Activer la vid\u00e9o?",
yes:"oui",no:"non"},ru:{"enable-audio-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0432\u0443\u043a?","enable-video-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e?",yes:"\u0434\u0430",no:"\u043d\u0435\u0442"},it:{"enable-audio-prompt":"Abilita l'audio?","enable-video-prompt":"Abilita il video?",yes:"s\u00ec",no:"no"},pt:{"enable-audio-prompt":"Ativar \u00e1udio","enable-video-prompt":"Ativar v\u00eddeo?",yes:"sim",no:"n\u00e3o"},zh:{"enable-audio-prompt":"\u542f\u7528\u97f3\u9891\uff1f",
"enable-video-prompt":"\u542f\u7528\u89c6\u9891\uff1f",yes:"\u662f",no:"\u6ca1\u6709"},ar:{"enable-audio-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a\u061f","enable-video-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0641\u064a\u062f\u064a\u0648\u061f",yes:"\u0646\u0639\u0645 \u0641\u0639\u0644\u0627",no:"\u0644\u0627"},ja:{"enable-audio-prompt":"\u30aa\u30fc\u30c7\u30a3\u30aa\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f","enable-video-prompt":"\u30d3\u30c7\u30aa\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f",
yes:"\u306f\u3044",no:"\u3044\u3044\u3048"},nl:{"enable-audio-prompt":"Audio inschakelen?","enable-video-prompt":"Video inschakelen?",yes:"Ja",no:"Nee"},sv:{"enable-audio-prompt":"Aktivera ljud?","enable-video-prompt":"Aktivera video?",yes:"ja",no:"Nej"},no:{"enable-audio-prompt":"Aktiver lyd?","enable-video-prompt":"Aktiver video?",yes:"ja",no:"Nei"},fi:{"enable-audio-prompt":"Ota \u00e4\u00e4ni k\u00e4ytt\u00f6\u00f6n?","enable-video-prompt":"Ota video k\u00e4ytt\u00f6\u00f6n?",yes:"Joo",no:"ei"},
da:{"enable-audio-prompt":"Aktiv\u00e9r lyd?","enable-video-prompt":"Aktiv\u00e9r video?",yes:"Ja",no:"ingen"},el:{"enable-audio-prompt":"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5;","enable-video-prompt":"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf;",yes:"\u039d\u03b1\u03af",no:"\u03cc\u03c7\u03b9"},tr:{"enable-audio-prompt":"Ses aktif edilsin mi?","enable-video-prompt":"Video aktif edilsin mi?",
yes:"evet",no:"hay\u0131r"}},f=function(){var a=window.navigator,b=["language","browserLanguage","systemLanguage","userLanguage"],c,f=[],d=a.languages;if(Array.isArray(d))for(c=0;c<d.length;c++){var g=d[c];g&&g.length&&(g=g.toLowerCase(),-1==f.indexOf(g)&&f.push(g))}for(c=0;c<b.length;c++)if((g=a[b[c]])&&g.length)g=g.toLowerCase(),-1==f.indexOf(g)&&f.push(g);return f}(),j=Object.keys(c),g=function(){for(var a=0;a<f.length;a++){var b=f[a].substr(0,2);if(0<=j.indexOf(b))return b}return"en"}();b.log=
function(){d.log("translation lang: "+g);d.log("browser lang: "+f.join(", "))};return b});
window.Gka=function(a,b,d){function c(a,e,c,f){var d,g,l,o=b.createElement("div"),j=b.body,r=j?j:b.createElement("body");if(parseInt(c,10))for(;c--;)l=b.createElement("div"),l.id=f?f[c]:"modernizr"+(c+1),o.appendChild(l);return d=['&#173;<style id="smodernizr">',a,"</style>"].join(""),o.id="modernizr",(j?o:r).innerHTML+=d,r.appendChild(o),j||(r.style.background="",h.appendChild(r)),g=e(o,a),j?o.parentNode.removeChild(o):r.parentNode.removeChild(r),!!g}function f(a,b){for(var e in a){var c=a[e];if(!~(""+
c).indexOf("-")&&l[c]!==d)return"pfx"==b?c:q}return B}function j(a,b,e){var c=a.charAt(0).toUpperCase()+a.slice(1),h=(a+" "+o.join(c+" ")+c).split(" ");if("string"===typeof b||"undefined"===typeof b)b=f(h,b);else{h=(a+" "+r.join(c+" ")+c).split(" ");a:{var a=h,g;for(g in a)if(c=b[a[g]],c!==d){b=e===B?a[g]:"function"===typeof c?c.bind(e||b):c;break a}b=B}}return b}var g={},h=b.documentElement,e=b.createElement("modernizr"),l=e.style,p=["","-webkit-","-moz-","-o-","-ms-"],o=["Webkit","Moz","O","ms"],
r=["webkit","moz","o","ms"],e={},m=[],t=m.slice,u,w={}.hasOwnProperty,A;"undefined"!==typeof w&&"undefined"!==typeof w.call?A=function(a,b){return w.call(a,b)}:A=function(a,b){return b in a&&"undefined"===typeof a.constructor.prototype[b]};Function.prototype.bind||(Function.prototype.bind=function(a){function b(){if(this instanceof b){var f=E();f.prototype=e.prototype;var f=new f,h=e.apply(f,c.concat(t.call(arguments)));return Object(h)===h?h:f}return e.apply(a,c.concat(t.call(arguments)))}var e=
this;"function"!=typeof e&&k(new TypeError);var c=t.call(arguments,1);return b});e.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")};e.webgl=function(){return!!a.Ska};e.touch=function(){var e;return"ontouchstart"in a||a.tka&&b instanceof DocumentTouch?e=q:c(["@media (",p.join("touch-enabled),("),"modernizr){#modernizr{top:9px;position:absolute}}"].join(""),function(a){e=9===a.offsetTop}),e};e.csstransforms3d=function(){var a=!!j("perspective");return a&&
"webkitPerspective"in h.style&&c("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b){a=9===b.offsetLeft&&3===b.offsetHeight}),a};e.video=function(){var a=b.createElement("video"),e=B;try{if(e=!!a.canPlayType)e=new Boolean(e),e.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),e.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),e.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(c){}return e};
e.audio=function(){var a=b.createElement("audio"),e=B;try{if(e=!!a.canPlayType)e=new Boolean(e),e.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),e.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),e.kma=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),e.Pla=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(c){}return e};for(var z in e)A(e,z)&&(u=z.toLowerCase(),g[u]=e[z](),m.push((g[u]?"":"no-")+u));g.nfa=function(a,b){if("object"==
typeof a)for(var e in a)A(a,e)&&g.nfa(e,a[e]);else a=a.toLowerCase(),g[a]===d&&(b="function"==typeof b?b():b,enableClasses&&(h.className+=" "+(b?"":"no-")+a),g[a]=b)};l.cssText="";return e=s,g.IN="2.6.1",g.ela=p,g.Zka=r,g.Yka=o,g.dma=function(a){return f([a])},g.cma=j,g.ema=c,g}(this,this.document);define("Modernizr",E());define("modernizr.mod",["Modernizr"],function(){return window.Modernizr});
define("gO","require,jquery.mod,modernizr.mod,gD,o,he".split(","),function(a){function b(){}var d=a("jquery.mod"),c=a("modernizr.mod"),f=a("gD"),j=a("o"),a=a("he");b.U8=function(){try{if(c.audio&&c.audio.mp3)return q}catch(a){}return B};b.V8=function(){try{if(c.audio&&c.audio.ogg)return q}catch(a){}return B};b.Y8=function(){window.MediaSource=window.MediaSource||window.WebKitMediaSource;return window.MediaSource&&typeof window.MediaSource.isTypeSupported==="function"&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')};
b.w9=function(){if(j.browser()==j.Bh){var a=j.PO();if(a>=10&&a<11||a>=11.3)return q}return B};b.Z8=function(){return j.browser()==j.ui||j.browser()==j.Bh?q:B};b.aV=function(){try{if(c.video&&c.video.h264)return q}catch(a){}return B};b.W8=function(){try{if(c.video&&c.video.ogg)return q}catch(a){}return B};b.X8=function(){try{if(c.video&&c.video.webm)return q}catch(a){}return B};b.S8=function(){return!!d.flash.available};b.$ka=P(q);b.a9=function(){try{if(c.webgl&&document.createElement("canvas").getContext("webgl"))return q}catch(a){}try{if(c.webgl&&
document.createElement("canvas").getContext("experimental-webgl"))return q}catch(b){}return B};b.log=function(){f.log("css transforms 3d: "+b.Uq);f.log("webgl: "+b.webgl);f.log("html5 audio: "+b.j1);f.log("html5 video: "+b.m1);f.log("flash: "+b.flash)};b.zda=function(){return["css3d:"+b.Uq,"webgl:"+b.webgl,"html5audio:"+b.j1,"html5video:"+b.m1,"flash:"+b.flash].join(" ")};b.l1=b.V8();b.k1=b.U8();b.j1=b.l1||b.k1;b.OO=b.W8();b.AE=b.aV();b.BE=b.X8();b.n1=b.w9();b.KO=b.Z8();b.d1=b.KO||b.aV()&&b.Y8();
b.m1=b.OO||b.AE||b.BE;b.flash=b.S8();b.Uq=q;b.webgl=b.a9();a.qo("debug")&&a.qo("capabilities")&&b.log();b.summary=b.zda();return b});
define("fn",["require","cu","he"],function(a){var b=a("cu"),d=a("he"),a={is:function(a,f){var j=d.parse(a).dga;return b(f).contains(j)},Wy:function(a,f){return a&&b(f).any(function(b){return 0===a.indexOf(b)})},Rz:[".mp4",".m4v",".m4p"],Xz:[".webm"],IQ:[".ogv",".ogg"],o3:[".mpg",".mpeg"],c3:[".jpg",".jpeg"],Kj:[".m3u8"],HQ:[".mpd"],u3:[".png"],a3:[".gif"],M2:[".bmp"]};a.nG=[].concat(a.c3,a.u3,a.a3,a.M2);a.Fu=[].concat(a.Kj,a.HQ);a.OG=[].concat(a.Fu,a.Rz,a.Xz,a.IQ,a.o3,a.Kj,a.HQ);a.oG=["data:image/"];
return a});
define("bz",["require","he"],function(a){function b(){this.QB=this.AK=s;this.fl=[];this.yn=B;this.xn=n}var d=a("he");b.prototype.om=function(a,b){this.AK=d.rz(a);this.QB=b;this.Wa()};b.prototype.load=function(a,b){var d={};d.call=a;d.context=b||window;this.fl.push(d);this.xn||(this.xn=this.zU());this.Wa()};b.prototype.th=function(){return this.xn!==n};b.prototype.Wa=function(){0<this.fl.length&&(this.xn!==n?this.O6():this.AK&&this.Hw())};b.prototype.Hw=function(){if(!(this.yn||this.xn!==n)){this.yn=
q;var a=document.createElement("script");a.type="text/javascript";a.src=this.AK;document.getElementsByTagName("head")[0].appendChild(a);this.W_()}};b.prototype.W_=function(){var a=this.zU();if(a===n){var b=this;setTimeout(function(){b.W_()},250)}else this.xn=a,this.yn=B,this.Wa()};b.prototype.zU=function(){if(this.QB){for(var a=window,b=0;b<this.QB.length&&a!==n;b++)a=a[this.QB[b]];return a}};b.prototype.O6=function(){for(;0<this.fl.length;){var a=this.fl.pop();a.call.call(a.context,this.xn)}};return{Tb:new b,
O2:new b,jR:new b,Kj:new b,om:function(a){this.Kj.om(a.get(TDV.ag.nQ),["Hls"]);this.Tb.om(a.get(TDV.ag.aR),["THREE"]);this.O2.om(a.get(TDV.ag.XP),["CAPTURA","Viewer"]);this.jR.om(a.get(TDV.ag.kR),["WebVRConfig","FORCE_ENABLE_VR"])}}});
define("gX",["require"],function(){function a(){for(;h.length;)h.shift()();document.body.removeEventListener("click",a,q);document.body.removeEventListener("touchstart",c,q);document.body.removeEventListener("touchmove",d,q);document.body.removeEventListener("touchend",b,q);j=B}function b(){g&&a()}function d(){g=B}function c(){g=q}function f(){document.body.addEventListener("click",a,q);document.body.addEventListener("touchstart",c,q);document.body.addEventListener("touchmove",d,q);document.body.addEventListener("touchend",
b,q)}var j=B,g=B,h=[];return{TP:function(a){h.push(a);j||(j=q,document.body?f():document.addEventListener("DOMContentLoaded",f))},Vja:function(a){a=h.indexOf(a);0<=a&&h.splice(a,1)}}});
define("dV",["require","gD","iu","bB","dx"],function(a){function b(){f.visible=!document[j];f.trigger(new c(d.W))}a("gD");var d=a("iu"),c=a("bB"),f=new (a("dx"));f.visible=q;for(var j,g,a=["hidden","msHidden","webkitHidden"],h=["visibilitychange","msvisibilitychange","webkitvisibilitychange"],e=0;e<a.length;e++)"undefined"!==typeof document[a[e]]&&(j=a[e],g=h[e]);j===n||"undefined"===typeof document[j]?(j="hidden",document[j]=B,g=function(){document[j]=B;b()},a=function(){document[j]=q;b()},document.addEventListener?
(window.addEventListener("focus",g,q),window.addEventListener("blur",a,q)):(document.attachEvent("onfocusin",g),document.attachEvent("onfocusout",a))):document.addEventListener(g,b,B);return f});
define("eJ",["require","gO"],function(a){var a=a("gO"),b={webm:"data:video/webm;base64,GkXfo0AgQoaBAUL3gQFC8oEEQvOBCEKCQAR3ZWJtQoeBAkKFgQIYU4BnQI0VSalmQCgq17FAAw9CQE2AQAZ3aGFtbXlXQUAGd2hhbW15RIlACECPQAAAAAAAFlSua0AxrkAu14EBY8WBAZyBACK1nEADdW5khkAFVl9WUDglhohAA1ZQOIOBAeBABrCBCLqBCB9DtnVAIueBAKNAHIEAAIAwAQCdASoIAAgAAUAmJaQAA3AA/vz0AAA=",y1:"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE="};
b.src=!a.AE&&a.BE?b.webm:b.y1;return b});
define("bF",["require","eJ","o","he"],function(a){function b(a){var b=document.createElement("video");b.setAttribute("playsinline","playsinline");b.src=j.src;var e=b.play();if(e){var c=B;e.then(function(){c=q;b.pause();a(B)})["catch"](function(){c||a(q)})}else b.pause(),a(B)}function d(a){var b=B,e=document.createElement("video");e.src="";(e=e.play())?e["catch"](function(a){b="NotAllowedError"!==a.name}).then(function(){a(!b)}):a(q)}function c(a){l=a;h=q;f()}function f(){for(;e.length;)e.shift().call(window,
l)}var j=a("eJ"),g=a("o");a("he");var h=B,e=[],l;(function(){g.browser()==g.ui&&11<=g.nia()?c(q):g.browser()==g.Bh?b(c):d(function(a){a?b(c):c(B)})})();return{test:function(a){e.push(a);h&&f()}}});
define("cH","require,gD,iu,dU,ew,bB,dx,it,gO,o,fn,bz,eQ,he,d,gX,dV,eJ,bF".split(","),function(a){var b=a("gD"),d=a("iu"),c=a("dU"),f=a("ew"),j=a("bB"),g=a("dx"),h=a("it"),e=a("gO"),l=a("o"),p=a("fn");LibsLoader=a("bz");LoadQueue=a("eQ");URL=a("he");UIComponent=a("d");UserInitiatedAction=a("gX");VisibilityUtil=a("dV");DummyVideoData=a("eJ");PlaybackRequiresUserAction=a("bF");var o=b.extend(g,function(){g.call(this);this.dk=this.dk.bind(this);this.Pl=this.Pl.bind(this);this.gL=this.gL.bind(this);this.bq=
this.bq.bind(this);this.TK=this.TK.bind(this);this.YK=this.YK.bind(this);this.Jh=this.Jh.bind(this);this.Qx=[];this.Jc=B;this.ii=1;this.Dp=B;this.Jl=this.yy=this.qh=n;this.Qq=B;this.Ef=c.J;this.ay=this.Yh=this.tx=this.gk=n;this.iA=this.mn=s;this.Q=document.createElement("video");this.fC=n;this.NN=B;this.nZ();VisibilityUtil.bind(d.W,this.PN,this);this.Vc="inactive";PlaybackRequiresUserAction.test(function(a){if(a)UserInitiatedAction.TP(this.Jh);else{this.Vc="activated";this.zA()}}.bind(this))});o.prototype.nZ=
function(){for(this.Q.parentNode&&this.Q.parentNode.removeChild(this.Q);this.Q.children.length;)this.Q.removeChild(this.Q.children[0]);this.Q.autoplay=B;this.Q.autobuffer="autobuffer";this.Q.pr=l.browser()==l.Bh?"metadata":"none";this.Q.setAttribute("preload",l.browser()==l.Bh?"metadata":"none");this.Q.setAttribute("webkit-playsinline","true");this.Q.setAttribute("playsinline","true");this.Q.addEventListener("ended",this.dk,q);this.Q.addEventListener("pause",this.Pl,B);this.Q.addEventListener("stalled",
this.Pl,B);this.Q.addEventListener("waiting",this.Pl,B);this.Q.addEventListener("timeupdate",this.gL,B);this.Q.addEventListener("loadedmetadata",this.YK,q);this.Q.addEventListener("canplay",this.TK,q);this.Q.addEventListener("canplaythrough",this.bq,B);this.AM()};o.prototype.clear=function(){this.VS();this.Q=s};o.prototype.jO=function(a,b,e){this.Ty()?a.drawImage(this.Q,0,0,b,e):a.fillRect(0,0,b,e)};o.prototype.play=function(a,b,e,f){this.gk=b;this.Yh=e;this.tx=f;this.ot(c.P,a)};o.prototype.pause=
function(a,b,e,f){this.gk=b;this.Yh=e;this.tx=f;this.ot(c.Xb,a)};o.prototype.stop=function(){this.ot(c.J)};o.prototype.Hk=N("qh");o.prototype.Ty=function(){return this.Q.readyState==this.Q.HAVE_NOTHING||this.Q.readyState==this.Q.HAVE_METADATA?B:q};o.prototype.ad=function(a){if(this.Jc!=a){this.Jc=a;this.AM()}};o.prototype.xh=function(a){if(this.ii!=a){this.ii=a;this.AM()}};o.prototype.AM=function(){this.Q.muted=this.ii===0||this.Jc;this.Q.volume=this.Jc?0:this.ii};o.prototype.ot=function(a,b){this.Ef=
a;this.Vc=="activated"?VisibilityUtil.visible&&this.lk():this.Vc=="inactive"&&(b&&this.R8(b)?this.b4(b):b&&UIComponent.HE()?this.Jh(b):b&&this.Ef!=c.J?this.pv(b):this.lk())};o.prototype.Ue=function(){return this.Q&&this.Q.currentTime||0};o.prototype.ki=function(){return this.Q&&this.Q.duration||0};o.prototype.Ea=function(){return this.Q&&this.Q.videoWidth||0};o.prototype.Ma=function(){return this.Q&&this.Q.videoHeight||0};o.prototype.pv=function(a){if(a){this.zA();this.Vc="requested";UserInitiatedAction.Vja(this.Jh);
a.og.show(r,this.gC,this);this.iA=a}};o.prototype.zA=function(){if(this.iA){if(this.Vc=="requested")this.Vc="inactive";this.iA.og.hide(r,this.gC,this);this.iA=s;UserInitiatedAction.TP(this.Jh)}};o.prototype.gC=function(a){if(this.Vc=="requested")this.Vc="inactive";a&&this.Jh()};o.prototype.R8=function(a){return(a=this.$T(a))&&(!a.currentSrc||a.paused)&&!a.muted?q:B};o.prototype.$T=function(a){return a.get("settings").get(TDV.ag.J2)};o.prototype.b4=function(a){this.Q=this.$T(a);this.nZ();this.Jh(a)};
o.prototype.Pl=function(){(this.qh==c.P||this.Qq&&this.Jl==c.P)&&!this.Q.hasAttribute("loop")&&!isNaN(this.Q.duration)&&this.Q.currentTime==this.Q.duration&&this.Q.duration>0&&this.dk();this.sN()};o.prototype.Jh=function(a){if(this.Vc=="inactive"){this.Vc="activating";this.mD(s,0,B,function(){this.VX(function(){this.Q.pause();this.Vc="activated";this.lk()}.bind(this),function(){this.Vc="inactive";this.pv(a)}.bind(this))}.bind(this))}this.zA()};o.prototype.af=function(){this.trigger(new j(o.of))};
o.prototype.gL=function(){this.trigger(new j(o.gG))};o.prototype.YK=function(){this.trigger(new j(o.Fg));this.trigger(new j(o.T2));!isNaN(this.Q.duration)&&this.Q.currentTime==this.Q.duration&&this.Q.duration>0&&this.dk()};o.prototype.TK=function(){this.sN()};o.prototype.bq=function(){this.NN=q;this.n_();this.sN();this.uj(B)};o.prototype.dk=function(){if(this.qh==c.P||this.Qq&&this.Jl==c.P){this.uj(B);this.qh=c.J;this.Q.paused||this.Q.pause();this.trigger(new j(o.kf))}};o.prototype.PN=function(){VisibilityUtil.visible?
this.Ef&&this.Q9?this.lk():this.qh==c.P&&this.Q.play():this.qh==c.P&&this.Q.pause()};o.prototype.lk=function(){if(this.IY(this.gk)&&!LibsLoader.Kj.th())LibsLoader.Kj.load(this.lk,this);else{var a=function(){this.oZ(this.Ef);this.Yh=this.Ef=this.gk=this.tx=n}.bind(this);this.Ef==c.P?this.mD(this.gk,this.Yh,this.tx,a):this.Ef==c.Xb?this.mD(this.gk,this.Yh,this.tx,a):this.yy===n?this.mD(s,0,B,a):this.oZ(this.Ef)}};o.prototype.mD=function(a,b,e,f){a=a||s;this.Zca(e);if(this.yy!==a){this.qh=c.J;this.J4(a,
b,f)}else{this.zM(b);f()}};o.prototype.Yca=function(a){a&&!this.Q.hasAttribute("crossorigin")?this.Q.setAttribute("crossorigin","anonymous"):!a&&this.Q.hasAttribute("crossorigin")&&this.Q.removeAttribute("crossorigin")};o.prototype.Zca=function(a){a&&!this.Q.hasAttribute("loop")?this.Q.setAttribute("loop",""):!a&&this.Q.hasAttribute("loop")&&this.Q.removeAttribute("loop")};o.prototype.zM=function(a){try{this.Q.currentTime=a}catch(b){}this.fC=a;this.n_()};o.prototype.n_=function(){if(this.NN&&this.fC!==
n){try{this.Q.currentTime=this.fC}catch(a){}this.fC=n}};o.prototype.sN=function(){this.qh==c.P&&this.Q.paused&&this.Q.readyState>=3&&this.Q.play()};o.prototype.VS=function(){if(this.mn){this.mn.destroy();this.mn=s}this.tba()};o.prototype.J4=function(a,b,e){this.VS();this.NN=B;this.Yca(!!a&&URL.UO(a));this.IY(a)?this.x4(a,b,e):this.G4(a,b,e)};o.prototype.IY=function(a){return p.is(a,p.Kj)&&!e.KO};o.prototype.x4=function(a,b,e){var c=LibsLoader.Kj.xn;this.yy=a;this.mn=new c({debug:URL.Tt("debughls",
B),startPosition:b===0?-1:b,levelLoadingTimeOut:6E4});this.mn.loadSource(a);this.mn.attachMedia(this.Q);var f=function(){this.mn.off(c.Events.MANIFEST_PARSED,f);b!=0&&this.zM(b);e()}.bind(this);this.mn.on(c.Events.MANIFEST_PARSED,f)};o.prototype.G4=function(a,b,e){if(this.yy=a)this.kH(a);else{this.kH(DummyVideoData.webm,"video/webm");this.kH(DummyVideoData.y1,"video/mp4")}this.Q.load();b!=0&&this.zM(b);e()};o.prototype.kH=function(a,b){var e=document.createElement("source");b||(b=this.O8(a));if(b)e.type=
b;e.src=a;this.Q.appendChild(e);this.Qx.push(e)};o.prototype.O8=function(a){switch(URL.getExtension(a).toLowerCase()){case ".m4v":case ".mp4":return"video/mp4";case ".webm":return"video/webm";case ".ogv":return"video/ogg";case ".m3u8":return"application/x-mpegURL"}};o.prototype.tba=function(){for(;this.Qx&&this.Qx.length;){var a=this.Qx.shift();a.src="";this.Q.removeChild(a)}};o.prototype.oZ=function(a){this.Jl=a;this.Qq||this.LC()};o.prototype.LC=function(){if(this.qh!=this.Jl)if(this.Jl==c.P||this.Jl==
c.Xb&&this.qh!=c.P||this.Jl==c.J&&this.qh!=c.P){this.Qq=q;this.uj(this.yy?q:B);var a=function(){if(this.Qq){this.qh=c.P;this.Qq=B;this.yM(q);this.LC()}}.bind(this),b=function(){this.Qq=B;this.uj(B);this.yM(B);setTimeout(function(){this.LC()}.bind(this),100)}.bind(this);this.VX(a,b)}else{this.uj(B);this.yM(B);this.Q.pause();if(this.Jl==c.J)this.Q.currentTime=0;this.qh=this.Jl;this.LC()}};o.prototype.uj=function(a){if(this.Dp!=a)(this.Dp=a)?LoadQueue.w2(f.Oz):LoadQueue.v2(f.Oz)};o.prototype.yM=function(a){if(!!this.ay!=
a)if(this.ay){clearInterval(this.ay);this.ay=s}else{var b=this;this.ay=setInterval(function(){b.af()},16)}};o.prototype.VX=function(a,b){function e(){if(!f){o();b&&b()}}function c(){f=q;o();a&&a()}var f=B,h=2E3,d,g=function(){h=Math.min(h*2,8E3);d=setTimeout(g,h);this.Q.play()}.bind(this),l=function(){this.Q.addEventListener("play",c,B);this.Q.addEventListener("error",e,B);d=setTimeout(g,h)}.bind(this),o=function(){this.Q.removeEventListener("play",c,B);this.Q.removeEventListener("error",e,B);clearTimeout(d)}.bind(this);
l();(l=this.Q.play())&&l["catch"](e)};var r=h("enable-video-prompt");o.of="time update";o.gG="time update native";o.Fg="duration update";o.T2="size update";o.kf="end";return o});
define("dt","require,gD,cu,iu,dU,bB,dx,o,he,cH".split(","),function(a){function b(a){this.H=a;this.g=s}var d=a("gD"),c=a("cu"),f=a("iu"),j=a("dU"),g=a("bB"),h=a("dx"),e=a("o"),l=a("he"),p=a("cH");b.prototype.VO=function(){return this.g==s};b.prototype.item=N("g");b.prototype.iga=function(){this.g.XO(this.H);this.g=s};b.prototype.hka=function(a){this.g=a;this.g.mO(this.H)};var o=d.extend(h,function(){h.call(this);var a=e.ic()?1:l.Bga();this.pk=[];for(var c=0;c<a;c++)this.pk.push(new b(new p));this.xt=
[];this.R=j.J});o.prototype.kr=function(){return this.PU().length>0};o.prototype.lP=function(a){this.xt=[a].concat(c(this.xt).without(a));this.vL()};o.prototype.cE=function(a){this.xt.push(a);this.vL()};o.prototype.cz=function(a){this.xt=c(this.xt).without(a);this.vL()};o.prototype.vL=function(){var a=this.xt.slice(0,this.pk.length);this.PU().forEach(function(b){a.indexOf(b.item())<0&&b.iga()});this.hd(a.length>0?j.P:j.J);a.forEach(function(a){this.g8(a)||this.W7().hka(a)}.bind(this));this.X7().forEach(function(a){a.H.stop()})};
o.prototype.hd=function(a){if(this.R!=a){this.R=a;this.trigger(new g(this.R==j.J?f.od:f.Vz))}};o.prototype.W7=function(){for(var a=0;a<this.pk.length;a++)if(this.pk[a].VO())return this.pk[a];return s};o.prototype.X7=function(){return this.pk.filter(function(a){return a.VO()})};o.prototype.PU=function(){return this.pk.filter(function(a){return!a.VO()})};o.prototype.g8=function(a){for(var b=0;b<this.pk.length;b++)if(this.pk[b].item()==a)return this.pk[b];return s};o.ZJ=s;o.bind=function(){var a=o.Ri();
a.bind.apply(a,arguments)};o.unbind=function(){var a=o.Ri();a.unbind.apply(a,arguments)};o.kr=function(){return o.Ri().kr()};o.cE=function(a){o.Ri().cE(a)};o.lP=function(a){o.Ri().lP(a)};o.cz=function(a){o.Ri().cz(a)};o.ll=function(){if(o.ZJ===s)o.ZJ=new o;return o.ZJ};o.Ri=o.ll;o.ll();return o});
define("iy",["require","o","m","cH","dt"],function(a){var b=a("o"),d=a("m"),c=a("cH"),f=a("dt");if(b.browser()==b.Bh){if(10>b.PO()){var j=s;return{enable:function(a){this.disable();j=window.setInterval(function(){document.hidden||d.trigger()},a||15E3)},disable:function(){j&&(window.clearInterval(j),j=s)}}}a=function(){this.Va=s};a.prototype.mO=function(a){this.Va=a;this.Va.play(s,"data:video/mp4;base64, ",
0,B);this.Va.bind(c.gG,this.af,this,q)};a.prototype.XO=function(){this.Va.unbind(c.gG,this.af,this,q);this.Va=s};a.prototype.af=function(){0.5<this.Va.Ue()&&this.Va.play(s,"data:video/mp4;base64, ",
Math.random(),B)};var g=B,h=new a;return{enable:function(){g||(g=q,f.cE(h))},disable:function(){g&&(g=B,f.cz(h))}}}return b.browser()==b.Ah?(a=function(){this.Va=s},a.prototype.mO=function(a){this.Va=a;this.Va.play(s,s,0,q)},a.prototype.XO=function(){this.Va=s},g=B,h=new a,{enable:function(){g||(g=q,f.cE(h))},disable:function(){g&&(g=B,f.cz(h))}}):{enable:E(),disable:E()}});
define("bq",["require"],function(){return{Ju:"data:image/png;base64, ",X2:"data:image/png;base64, ",
y3:"data:image/png;base64, ",
Sz:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAE4CAMAAADW5D7KAAAAM1BMVEUAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBprCkqAAAAEHRSTlMAQIC/758wECDPYK/fcFCPt8VnWAAABehJREFUeNrt3N2WmzAMRWHABmx+/f5P20672kwSIBYI8MA+110T+sUWQnGSZeQyqZu2C1+xxpiiaPIak7kUNrzFjH2FzPuy8mEupsjxibT6szHbhj35PyZ8jMfrb/oQlXaAKstsiExX3H55DUGQ0t0bqwwBLsXyDpe4ZH3jqsGKj+3ZhoL4ezb2bViX8Y57sVmJFbobLq7artUKxQ3HM6uxgr9dF1F367Xs7bZitX4jhtCjJelQb7cT2w1a/nY9RFV2lHnJ8sq/MhRFa4Tb0t77g406L1qLlmRr9i1akhXWtGhJvPoOLUEGQwchSG7Q0uVqUXpsxo+1awTpUeo/DnMakL51Xp5boiAjRV5S6C0Dm/i45a3IWZvnOr94OsKyEQWFi27rJQ0bUUmrYyMKtGjkJVoOnpcsPPsYdF6z0EHwRYO3eJaWoDu1jB8EQ4j59gGct/R0poIYqpZgBGG5ISpsRAZbkv6BNv49OadzFRp5uoepGk+JV3iipsQLnnosNIKqRRcvqFrsw6m03A+391qcfJhKx1dVNncPjB4kJV7vBZrSh6Pj236XB1y/axPfHA+154/wFDsWraYLZ8aqTwSq3Q6JVD6cHfUvg08/8vjtyyqkEOXF1e5T4cuQRnQfRvpdKnwqVsqnzvI9PmwdQzpRXVs7bPYmpBTNuuXVV6+zSWFpTn5L9Qcek5aV5hCl0H6BIaQWvbnAoN07dMlh2b1vh+ozsjOjdpDKKX8uXSaI5XfuHVbfQmyCWHpHEnSxUtyFivtQF6tIEmt1G18Vz5n588//qI8dpbVJYplj33obue1NklhBddepreQOrPiVHC6Ftfat709pRGZuufPpVbFW/vRdmSWEddwDySqtMrsn1hqtMrsrllyrzO6LJdWS9L/Xw5JpiZ4VLogl0ZI9V10RK15L+Ax6SaxYLenz+jWx4rTEs42LYsVoyedAV8X6rLViZnZZrE9aa+aL18Va1lo1i70w1pLWurn1lbHmtVbO+C+NNae19vOQa2NNa63+7OjiWFNa64/LXR3rXWvD0cLLY71qbTmGeX2sZ61NR1ZvgPVda9vx3jtgPbQ2HoW+BdY/ra3Hxu+B9Vdr8xH7m2BlrjTbz/XeBUslYIEFFlhggQUWWGCBBRZYYIEFFlhggQUWWGCBBRZYYIEFFlhggQUWWGCBBRZYYIEFFlhggQUWWGCBBRZYYIEFFlhgCbAqc1DGYnA/HevQ367vRgeWICYHS8LlwIqPbcBa+auvYAm0wBJogfU5I1iCDGAJ7ok1WOKNCFZUHFjSOyJYgqoFVlwasIT7EKzI8RZYgtRgxScHS/bIA1Zkih+G5YpD0l0C66AYsMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssJIIWGCBBRZYYIEFFlhggbUnli/yOqvz3oP1kerxLJkbsBYzPr1WD9ZCmpcXa8CKXFdKa+uiWD765cCanBM6sCbTTb5eC9bc33hPA1b8tN6BNRU3/YJgCf5XYE2lPhArP/PR/gvL/qCadSpWr9A/Hnk3HM7EyhWw/C59lpn8q8WZWJXGBezSwZfpYaksbbNHA9/v81ywdQfVQf8/tn1G4wT39GMyKr1dr/Osyqq8jfr9yNaSpXKLeV5bjQ377MLq7F34O932P2Ue28YpFBZb79OPKOwelWtom6916hqVGjzdu2XleVaPQZQPaWVmYWlsgbUZkqgFy1eWSslqU2n2IhvSLBsTWeplQlZ+bnJy2i601fOFpFO2fC071nxCWajb1K1OW/12SKkiPNWrWSt30hV11eSwyJ5OZZv5We9JN6F25t2ri2SX1e+LO+Wt9AvfNKmL8/o+O7qlDxHOqBLtpy/l5OMZcxA/DsuXdXjF6trGRX0U5PJj45K7pMmi/gv70+gtsjuKIwAAAABJRU5ErkJggg==",
C3:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAADcCAMAAADA8VqlAAAAM1BMVEUAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBprCkqAAAAEHRSTlMAQL8QgO/fn89gMHAgUI+vkrzZGQAAB8pJREFUeNrtXduW2yAM5H63zf9/bdukjdYBjI0t4KHz1Obsnp0INJKQjMl//MeM4I7MDaM4mRk6xo1MDB9/Q5BpYeMLlEwKJ98E5aTbMMj4F4bMCG7iByuZEFv8gYVMBx1/Qk6n1zbuYSZzFBq/oclMcDIm8GQecBUzmGgbmpjDPGmDjnkwMgdElt08aYPNcpsnbXDxADKQ0Qgyy2yatIHnHXietIHFGixpALLAzJM2OPZBBMyZNnzb7SUw9IUpCa5kNsybKGQJSjIb6JxpAoDOmCUcEKT5sLgIT8kApASzP8Le23OMdWktReB6rHLTSkXHzeDYQisF3fZmtrJRMk6PfWT5hL/wMmUgvRF2BJMlVFDkcTmmqt/VmxkDglkt/ERPHMYR/dNoHGzcE4epjNodyJkh5d6RE/O9dushsVAdODHda7cY4CVQPYGIFBnRIekOO4jEsKYgSaQ39IHKsK9lH+LGoqQy4LZD3RgIQrOuaDE24vyVHqTT33tONOhMV4J2hBtzIGiPCIIu9gYQpDWCfIjOmDJBCZV88kE/MCBY00HCRnTzBASSKsF1hBv7CwQ9qGU/0DLB7du16YikmmcJgjCPd+M6QYAaEY3ZBYLbCC9ZswQhtA33Ep8czJRTaNr/kBPcmJUJAj6VgVvZq1clmUCPLUWCLlUV9laeRe0KfkvwAIWdylNPN6zmW9JTQbQiDM4cE4TDEGU6d878IcFQkHVmX1ZznqF3WCgQrARjyM7Uj48Dw55nuUJwzZ21euR5FlYiuKWba8mWLxZ38EskBMtlHIcKNWEoN+EpRqhe4Hy1SpCYUlgEmKfFmycp/0HoXWE1088Bag2Pb0JajXVgbn1ijEnz5zbhBYK8FHZCOlVgn1VCm/+beUu5oq/JQP329KyfLLQ6cwRFSfS4gpNkLuSjzSl9QDBkzc3Kw1bqTXd9kqEFcTsOJRB4eCEvgr1C5XOrzMEodYKsGDbsPrMM5rkmOUs8s9x5EOXsRe5HM7iE/92Er8Y6gIOdlucOy+rk26CO0ps0Q5mgLtgpHPQmA3xxgNKUtMNUlDpNwe1Bdi4KU2ys3Y6+SNAUUnB9kHfI4qC2vbPGPu/dheFNVpL8PQ/21PAVOw4lqd7Jo9xSJSYU3N4rDSwQ/KLiCu0pkoWQ0WhP03alg73RBC6PQ0kqyPRa0cg+v+hb4zHLe6UvqMly+pvDvqSy3VMoEKw2l9SVbM/+HK2zN8ZPFasoNcCLJVyoef6YzXgOdNseFxDgek83sSkNez/f2qQQ/o15bL41O0ruayEcm3PVOoyfc0uMgSgKi3wfDONcXzz2xAUI4fOLbEgz8Lvsy63Epkfjgd1UB/RpHnrThPjTPOzeF8ef5qE3HRl/msc8VdQzpB6DfS3NtDrzt3oR8+oMIeKG0mBP84A+2Hl1hhDdrDT4+QwoTZg0n3lB3anjewz/+nv9e/zhXy4fcZNlt5cndBOHN0jhXm4ya7rwLyCv06YLjW5C/eKQyxIAvxxN3PvoTwcCEMk6POsm20XHf4OFshsPjCY+AgSyG0M08dfCmmHQqiy58ZCkC+IutwoY4rkxJEvuemLgX5vRF914gBQCQWhiSY7pxlCbyIsEIQwJVDcGKVxacj/xMiGmG8MG0i1hF5Kh1I0HrDEQ3Km8QnVjqD+XiwRBASimG4Mh9PnAo/Y7csN0YwilsumsbXntPVQ3hjVuKD8gUKZuPGiNoYCDgTGTbUaMWGPw1r2bBPwZ/rpWp08QA2OPcQaXavV60tQqyQ8Z4hlc/eHvdIo7rQs5+kMGvJpzgdPazEf4T+6aeiQAc6W1P7bOwFaqq6DJkbbIOgO2qedaPveh5LgE4XH/uhq5bF1ocBMuCCZ1V8q7dtQIp5ipwrWdlnODfKUeWCe0tQ2dxCUIQmPbCBKHQLAeJK4MeNjqLbf4m/A4p/K4V0rBJmzWIo1KEDZhe4FqotSOYGKtp1z24M7s4AgylnpPkN9skOL3BPW4a8fPlRWhcWSp3wjR2i53fVpuXLUOH/bqnNPO95Ndf4BeD7wJWJ7501y2jTr0G4BZWoJa10E71vUSuobrbILsc+1N+0CvH3ZV8dm1M2MiHmRc04rhenZz6QY/6TrCwEf5iTp7FuwHxRN/ever7hdYwdL59iFdfKynDcPG5F3htHvSQa8qMadXTo9Z5PW0XbhsYdhzko02HHfgF5/pkRHr7ClA8CxDeahLQwkSK6s3Bo0lSJyJL5hi2BtKEO4iwLdi++VtjjVQ7Dv3Tj8UBbJHg1C3UpQ6EERAqGunGNlCMphgLNjp5KobBOg7eWhY4dWFNtmNUzzBwb2Ci4P3HKd52o7q+AHzgbww1/OK3BvgqPTynCHDYydrblURoLR1jwQRA7XkUxwBRt/ek/rpAw0nTNxhs/f4IZS6fFl3JNVygx/WkRVfBJNgRX6HnyNYCFarGy9Z4Qz44WFhrQydAX6ooKrpXU9eAj9k8IZ7rALDvIc0ZXjVF4XsW92GayZcVPc3bK0X4illsX158Z8PsSo2mw9/VhGyXxZIX4i60nALJQ4lveEqSRO3WxxBD6AOVNd5Fj/QjgzBkv/rYZdUROU5GQX9bwGZ+AvN9qmjXMcYDxgeQenxL4u3ssSO+TlevAmuCmDaz/DeZoCji/gLP8t7Xv/jP87hF6zG3Qlg7TIVAAAAAElFTkSuQmCC"}});
define("gx","require,gD,iu,bB,dx,bq".split(","),function(a){var b=a("gD"),d=a("iu"),c=a("bB"),f=a("dx"),a=a("bq"),j=['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+a.Ju+'"/>','</div>\n<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">'].join("\n"),g=j+['<img style="width:22vmin" src="'+a.Sz+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">Please, rotate your device</div>'].join("\n")+
"</div>\n</div>",h=j+['<img style="width:13vmin; vertical-align:middle;" src="'+a.C3+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; text-align:left; display:inline-block; vertical-align:middle; margin:5vmin 0 0 2vmin;">Please, swipe up to<br>enter Fullscreen Mode</div>'].join("\n")+"</div>\n</div>",b=b.extend(f,function(){f.call(this);this.Wh=this.Nh=this.Oh=this.Dw=this.Ew=this.wK=this.xK=n;this.wB=B;this.lt=this.CL=this.vK=this.Db=
s;this.VT=[];this.uq=B;this.rb=this.rb.bind(this);this.nI()});b.prototype.uo=function(){if(!this.uq){this.uq=q;window.addEventListener("resize",this.rb);document.body.appendChild(this.Db);document.body.appendChild(this.lt);this.xda=document.body.style.overflow;document.body.style.overflow="auto";this.mx()}};b.prototype.cancel=function(){if(this.uq){this.uq=B;window.removeEventListener("resize",this.rb);document.body.style.overflow=this.xda;document.body.removeChild(this.Db);document.body.removeChild(this.lt);
this.ZY(B)}};b.prototype.enabled=N("wB");b.prototype.nI=function(){this.Db=this.cg({position:"fixed",top:0,left:0,zIndex:9999998},q);this.Db.id="tdvminuictr";this.CL=this.cg({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},q,g);this.Db.appendChild(this.CL);this.vK=this.cg({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},q,h);this.Db.appendChild(this.vK);this.lt=this.cg({position:"absolute",top:0,left:0,right:0,height:"999999999vmax",zIndex:9999999},
B);this.lt.id="tdvminuiscrl";this.lt.addEventListener("touchend",this.rb)};b.prototype.cg=function(a,b,c){var f=document.createElement("div");this.Kx(f,a);c!==n&&this.tca(f,c);b&&this.VT.push(f);return f};b.prototype.rb=function(){[0,250,1E3,2E3].forEach(function(a){setTimeout(this.dL.bind(this),a)}.bind(this))};b.prototype.dL=function(){(this.Oh!=window.innerWidth||this.Nh!=window.innerHeight)&&this.mx()};b.prototype.mx=function(){this.Oh=window.innerWidth;this.Nh=window.innerHeight;this.Wh=this.Oh>
this.Nh?"landscape":"portrait";var a;if(this.Wh=="landscape"){if(this.xK&&this.wK&&this.e$(this.xK,this.wK)&&(!this.Ew&&!this.Dw||this.f$(this.Ew,this.Dw))){this.Ew=this.Oh;this.Dw=this.Nh}if(this.Z9()){this.Ew=this.Oh;this.Dw=this.Nh}this.xK=this.Oh;this.wK=this.Nh;a=this.Ew==this.Oh&&this.Dw==this.Nh}else a=B;this.VT.forEach(function(a){a.style.height=this.Nh+"px";a.style.width=this.Oh+"px"}.bind(this));var b=this.uq&&this.Wh=="portrait",c=this.uq&&this.Wh=="landscape"&&!a,f=this.uq&&this.Wh=="landscape";
this.Kx(this.Db,{display:b||c?"block":"none"});this.Kx(this.CL,{display:b?"block":"none"});this.Kx(this.vK,{display:c?"block":"none"});this.Kx(this.lt,{display:f?"block":"none",right:c?0:"99.9%"});this.ZY(a)};b.prototype.ZY=function(a){if(this.gD!=s){clearTimeout(this.gD);this.gD=s}if(this.wB!=a)this.gD=setTimeout(function(){this.gD=s;(this.wB=a)?this.trigger(new c(d.Qk)):this.trigger(new c(d.ra));this.trigger(new c(d.W))}.bind(this),a?1E3:0)};b.prototype.Z9=function(){var a=window.innerWidth,b=window.innerHeight,
c=Infinity;[[480,320],[960,640],[1136,640],[1334,750],[1920,1080],[2001,1125],[2048,1536],[2172,1125],[2208,1242],[2732,2048],[2436,1125]].forEach(function(f){c=Math.min(c,Math.abs(100-100*a*f[1]/(b*f[0])))});return c<=1?q:B};b.prototype.e$=function(a,b){return a*window.innerHeight>b*window.innerWidth};b.prototype.f$=function(a,b){return a*window.innerHeight>=b*window.innerWidth};b.prototype.Kx=function(a,b){for(var c in b)a.style[c]=b[c]};b.prototype.tca=function(a,b){a.innerHTML=b};return new b});
define("gc","require,jquery.mod,gD,o,bq,hC".split(","),function(a){function b(){this.Hh=d("<div/>");this.Hh.css({position:"fixed","z-index":1E6,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"});this.Hh.html(['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+c.Ju+'"/>','</div>\n<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">',
'<img style="width:22vmin" src="'+c.Sz+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">Please, rotate your device</div>\n</div>\n</div>'].join("\n"));this.rb=this.rb.bind(this);this.Nh=this.Oh=this.Wh=n}var d=a("jquery.mod");a("gD");a("o");var c=a("bq");a("hC");b.prototype.show=function(a){d(a).append(this.Hh);d(window).on("resize",this.rb);this.mx()};b.prototype.hide=function(){d(window).off("resize",
this.rb);this.Hh.detach()};b.prototype.rb=function(){[0,250,1E3,2E3].forEach(function(a){setTimeout(this.dL.bind(this),a)}.bind(this))};b.prototype.dL=function(){(this.Oh!=window.innerWidth||this.Nh!=window.innerHeight)&&this.mx()};b.prototype.mx=function(){this.Oh=window.innerWidth;this.Nh=window.innerHeight;this.Wh=this.Oh>this.Nh?"landscape":"portrait";this.Hh.toggle(this.Wh!="landscape")};return new b});
define("hQ",["require"],function(){var a=Math.PI/180,b=180/Math.PI;return{create:function(){return{x:0,y:0,z:0,w:0}},jga:function(b,c,f){var c=c*a,b=-b*a,j=f*a,f=Math.cos(b/2),b=Math.sin(b/2),g=Math.cos(j/2),j=Math.sin(j/2),h=Math.cos(c/2),c=Math.sin(c/2),e={};e.w=f*g*h-b*j*c;e.x=f*g*c+b*j*h;e.y=b*g*h+f*j*c;e.z=f*j*h-b*g*c;return e},C2:function(a){var c=a.x*a.y+a.z*a.w,f={};if(0.499<c)f.yaw=-2*Math.atan2(a.x,a.w),f.rm=-Math.PI/2,f.pitch=0;else if(-0.499>c)f.yaw=2*Math.atan2(a.x,a.w),f.rm=Math.PI/
2,f.pitch=0;else{var j=a.x*a.x,g=a.z*a.z;f.yaw=-Math.atan2(2*a.y*a.w-2*a.x*a.z,1-2*a.y*a.y-2*g);f.rm=-Math.asin(2*c);f.pitch=Math.atan2(2*a.x*a.w-2*a.y*a.z,1-2*j-2*g);f.pitch=Math.min(Math.PI/2,Math.max(-Math.PI/2,f.pitch))}f.yaw*=b;f.pitch*=b;f.rm*=-b;return f}}});
define("hX",["require"],function(){var a={};a.degToRad=Math.PI/180;a.radToDeg=180/Math.PI;a.Vector2=function(a,d){this.x=a||0;this.y=d||0};a.Vector2.prototype={constructor:a.Vector2,set:function(a,d){this.x=a;this.y=d;return this},copy:function(a){this.x=a.x;this.y=a.y;return this}};a.Vector3=function(a,d,c){this.x=a||0;this.y=d||0;this.z=c||0};a.Vector3.prototype={constructor:a.Vector3,set:function(a,d,c){this.x=a;this.y=d;this.z=c;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;return this},
length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},normalize:function(){var a=this.length();0!==a?this.A1(1/a):this.z=this.y=this.x=0;return this},A1:function(a){this.x*=a;this.y*=a;this.z*=a},applyQuaternion:function(a){var d=this.x,c=this.y,f=this.z,j=a.x,g=a.y,h=a.z,a=a.w,e=a*d+g*f-h*c,l=a*c+h*d-j*f,p=a*f+j*c-g*d,d=-j*d-g*c-h*f;this.x=e*a+d*-j+l*-h-p*-g;this.y=l*a+d*-g+p*-j-e*-h;this.z=p*a+d*-h+e*-g-l*-j;return this},Yfa:function(a){return this.x*a.x+this.y*a.y+this.z*
a.z},Xfa:function(a,d){var c=a.x,f=a.y,j=a.z,g=d.x,h=d.y,e=d.z;this.x=f*e-j*h;this.y=j*g-c*e;this.z=c*h-f*g;return this}};a.Quaternion=function(a,d,c,f){this.x=a||0;this.y=d||0;this.z=c||0;this.w=f!==n?f:1};a.Quaternion.prototype={constructor:a.Quaternion,set:function(a,d,c,f){this.x=a;this.y=d;this.z=c;this.w=f;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=a.w;return this},a2:function(a,d,c){var f=Math.cos(a/2),j=Math.cos(d/2),g=Math.cos(c/2),a=Math.sin(a/2),d=Math.sin(d/
2),c=Math.sin(c/2);this.x=a*j*g+f*d*c;this.y=f*d*g-a*j*c;this.z=f*j*c-a*d*g;this.w=f*j*g+a*d*c;return this},setFromAxisAngle:function(a,d){var c=d/2,f=Math.sin(c);this.x=a.x*f;this.y=a.y*f;this.z=a.z*f;this.w=Math.cos(c);return this},multiply:function(a){return this.z1(this,a)},z1:function(a,d){var c=a.x,f=a.y,j=a.z,g=a.w,h=d.x,e=d.y,l=d.z,p=d.w;this.x=c*p+g*h+f*l-j*e;this.y=f*p+g*e+j*h-c*l;this.z=j*p+g*l+c*e-f*h;this.w=g*p-c*h-f*e-j*l;return this},inverse:function(){this.x*=-1;this.y*=-1;this.z*=
-1;this.normalize();return this},normalize:function(){var a=Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w);0===a?(this.z=this.y=this.x=0,this.w=1):(a=1/a,this.x*=a,this.y*=a,this.z*=a,this.w*=a);return this},Pja:function(a,d){if(0===d)return this;if(1===d)return this.copy(a);var c=this.x,f=this.y,j=this.z,g=this.w,h=g*a.w+c*a.x+f*a.y+j*a.z;0>h?(this.w=-a.w,this.x=-a.x,this.y=-a.y,this.z=-a.z,h=-h):this.copy(a);if(1<=h)return this.w=g,this.x=c,this.y=f,this.z=j,this;var e=Math.acos(h),
l=Math.sqrt(1-h*h);if(0.001>Math.abs(l))return this.w=0.5*(g+this.w),this.x=0.5*(c+this.x),this.y=0.5*(f+this.y),this.z=0.5*(j+this.z),this;h=Math.sin((1-d)*e)/l;e=Math.sin(d*e)/l;this.w=g*h+this.w*e;this.x=c*h+this.x*e;this.y=f*h+this.y*e;this.z=j*h+this.z*e;return this},b2:function(){var b,d;return function(c,f){b===n&&(b=new a.Vector3);d=c.Yfa(f)+1;1.0E-6>d?(d=0,Math.abs(c.x)>Math.abs(c.z)?b.set(-c.y,c.x,0):b.set(0,-c.z,c.y)):b.Xfa(c,f);this.x=b.x;this.y=b.y;this.z=b.z;this.w=d;this.normalize();
return this}}()};return a});
define("cV",["require","iu","bB","dx","hX"],function(a){function b(){l||(l=q,m=new e.Vector3(0,0,1),t=new e.Quaternion,u=new e.Quaternion(-Math.sqrt(0.5),0,0,Math.sqrt(0.5)),w=new e.Quaternion,c(),window.addEventListener("orientationchange",c,B),window.addEventListener("deviceorientation",f,B),d())}function d(){if(A&&!(o===n||r===n)){A=B;var a=e.degToRad*r;w.a2(e.degToRad*o.beta,e.degToRad*o.alpha,-(e.degToRad*o.gamma));w.multiply(u);w.multiply(t.setFromAxisAngle(m,-a));z||(C++,5<=C&&(z=q,p.trigger(new g(j.Fm))));
p.trigger(new g(j.W))}}function c(){r=window.orientation||0;A=q;d()}function f(a){o=a;A=q;d()}var j=a("iu"),g=a("bB"),h=a("dx"),e=a("hX"),l=B,p=new h,o,r,m,t,u,w,A,z=B,C=0;b.prototype.mm=function(){d();return w};b.prototype.bind=function(){p.bind.apply(p,arguments)};b.prototype.unbind=function(){p.unbind.apply(p,arguments)};return b});
define("ff","require,iu,bB,dx,o,hX".split(","),function(a){function b(a){this.tha=a;this.hO=new f;this.hE=new f;this.iP=new f;this.Xq=new l.Quaternion;this.hP=new l.Quaternion;this.$_=new l.Quaternion;this.r1=B;this.jE=new l.Vector3;this.ZO=new l.Vector3;this.Uga=new l.Quaternion}function d(){this.x1=B;this.w1=0;this.a0=new l.Vector3;this.yE=new l.Vector3;this.filter=new b(o);this.Rha=new c(r);this.lu=m.lu();this.mu=m.mu();m.sO();this.t1=m.kha();this.kE=new l.Quaternion;m.mu()?this.kE.setFromAxisAngle(new l.Vector3(1,
0,0),Math.PI/2):this.kE.setFromAxisAngle(new l.Vector3(1,0,0),-Math.PI/2);this.SO=new l.Quaternion;this.Eu=new l.Quaternion;this.Iha=new l.Quaternion;this.Iha.setFromAxisAngle(new l.Vector3(0,0,1),-window.orientation*Math.PI/180);this.q2();m.mha()&&this.kE.multiply(this.SO);this.L1=new l.Quaternion;this.lu=m.lu();this.mu=m.mu();this.jha=m.sO()>=66;window.addEventListener("orientationchange",this.Gha.bind(this));this.t1?window.addEventListener("deviceorientation",this.Fha.bind(this)):window.addEventListener("devicemotion",
this.Eha.bind(this))}function c(a){this.Sha=a;this.QE=new l.Quaternion;this.qu=s;this.o0=new l.Quaternion;this.az=new l.Quaternion}function f(a,b){this.set(a,b)}var j=a("iu"),g=a("bB"),h=a("dx"),e=a("o"),l=a("hX"),p=new h,o=0.98,r=0.04;b.prototype.gfa=function(a,b){this.hO.set(a,b)};b.prototype.ifa=function(a,b){this.hE.set(a,b);m.rha(b-this.iP.lF)&&this.mia();this.iP.copy(this.hE)};b.prototype.mia=function(){if(this.r1){var a=this.Vga(this.hE.sample,this.hE.lF-this.iP.lF);this.Uga.multiply(a);this.Xq.copy(this.hP);
this.Xq.multiply(a);a=new l.Quaternion;a.copy(this.Xq);a.inverse();this.jE.set(0,0,-1);this.jE.applyQuaternion(a);this.jE.normalize();this.ZO.copy(this.hO.sample);this.ZO.normalize();a=new l.Quaternion;a.b2(this.jE,this.ZO);a.inverse();var b=new l.Quaternion;b.copy(this.Xq);b.multiply(a);this.Xq.Pja(b,1-this.tha);this.hP.copy(this.Xq)}else{this.$_=this.ffa(this.hO.sample);this.hP.copy(this.$_);this.r1=q}};b.prototype.mm=N("Xq");b.prototype.ffa=function(a){var b=new l.Vector3;b.copy(a);b.normalize();
a=new l.Quaternion;a.b2(new l.Vector3(0,0,-1),b);a.inverse();return a};b.prototype.Vga=function(a,b){var e=new l.Quaternion,c=new l.Vector3;c.copy(a);c.normalize();e.setFromAxisAngle(c,a.length()*b);return e};d.prototype.IO=P(s);d.prototype.mm=function(){var a=n;if(this.t1&&this.VA){this.u0=this.u0||function(){var a=(new l.Quaternion).setFromAxisAngle(new l.Vector3(0,0,-1),0),b=new l.Quaternion;window.orientation===-90?b.setFromAxisAngle(new l.Vector3(0,1,0),Math.PI/-2):b.setFromAxisAngle(new l.Vector3(0,
1,0),Math.PI/2);return a.multiply(b)}();this.t0=this.t0||function(){var a=new l.Quaternion;a.setFromAxisAngle(new l.Vector3(1,0,0),-Math.PI/2);return a}();var a=this.VA,b=new l.Quaternion;b.copy(a);b.multiply(this.t0);b.multiply(this.L1);b.multiply(this.Eu);b.z1(this.u0,b);if(this.nma){b.x=0;b.z=0;b.normalize()}this.PE[0]=b.x;this.PE[1]=b.y;this.PE[2]=b.z;this.PE[3]=b.w;return this.PE}a=this.Rha.Kga(this.filter.mm(),this.yE,this.qu);b=new l.Quaternion;b.copy(this.kE);b.multiply(this.L1);b.multiply(a);
b.multiply(this.Eu);return b};d.prototype.Fha=function(a){this.VA=this.VA||new l.Quaternion;var b=a.alpha,e=a.jla,a=a.xla,b=(b||0)*Math.PI/180,e=(e||0)*Math.PI/180,a=(a||0)*Math.PI/180;this.VA.a2(e,b,-a)};d.prototype.Eha=function(a){var b=a.accelerationIncludingGravity,e=a.rotationRate,a=a.timeStamp/1E3;this.lu&&(a=a/1E3);var c=a-this.qu;if(c<=m.pQ||c>m.oQ){console.warn("Invalid timestamps detected. Time step between successive gyroscope sensor samples is very small or not monotonic");this.qu=a}else{this.a0.set(-b.x,
-b.y,-b.z);this.yE.set(e.alpha,e.beta,e.gamma);(this.mu||this.lu||this.jha)&&this.yE.A1(Math.PI/180);this.filter.gfa(this.a0,a);this.filter.ifa(this.yE,a);this.qu=a;if(!this.x1){this.w1++;if(this.w1>=5){this.x1=q;p.trigger(new g(j.Fm))}}p.trigger(new g(j.W))}};d.prototype.bind=function(){p.bind.apply(p,arguments)};d.prototype.unbind=function(){p.unbind.apply(p,arguments)};d.prototype.Gha=function(){this.q2();p.trigger(new g(j.W))};d.prototype.q2=function(){this.Eu.set(0,0,0,1);switch(window.orientation){case 90:this.Eu.setFromAxisAngle(new l.Vector3(0,
0,1),-Math.PI/2);break;case -90:this.Eu.setFromAxisAngle(new l.Vector3(0,0,1),Math.PI/2)}this.SO.copy(this.Eu);this.SO.inverse()};c.prototype.Kga=function(a,b,e){if(!this.qu){this.QE.copy(a);this.qu=e;return a}e=new l.Vector3;e.copy(b);e.normalize();b=b.length();if(b<l.degToRad*20){this.az.copy(a);this.QE.copy(a);return this.az}this.o0.setFromAxisAngle(e,b*this.Sha);this.az.copy(this.QE);this.az.multiply(this.o0);this.QE.copy(a);return this.az};f.prototype.set=function(a,b){this.sample=a;this.lF=
b};f.prototype.copy=function(a){this.set(a.sample,a.lF)};var m={pQ:0.001,oQ:1,rha:function(a){return isNaN(a)||a<=m.pQ||a>m.oQ?B:q}};m.mu=function(){var a=/iPad|iPhone|iPod/.test(navigator.platform);return function(){return a}}();m.Nla=function(){var a=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);return function(){return a}}();m.lu=function(){var a=navigator.userAgent.indexOf("Firefox")!==-1&&navigator.userAgent.indexOf("Android")!==-1;return function(){return a}}();m.sO=function(){var a=
navigator.userAgent.match(/.*Chrome\/([0-9]+)/),b=a?parseInt(a[1],10):s;return function(){return b}}();m.kha=function(){var a=B;if(m.sO()===65){var b=navigator.userAgent.match(/.*Chrome\/([0-9\.]*)/);if(b){b=b[1].split(".");major=b[0];minor=b[1];branch=b[2];build=b[3];a=parseInt(branch,10)===3325&&parseInt(build,10)<148}}else"getVRDisplays"in navigator&&e.browser()==e.Ah&&e.Jy()&&e.zd()==e.zz&&(a=q);return function(){return a}}();m.mha=function(){return window.orientation==90||window.orientation==
-90};return d});
define("hN","require,gD,iu,bB,dx,hQ,o,cV,ff,hX,he".split(","),function(a){a("gD");var b=a("iu"),d=a("bB"),c=a("dx"),f=a("hQ"),j=a("o"),g=a("cV"),h=a("ff");a("hX");var a=a("he"),e=new c,c={},l=B,p;c.available=window.DeviceMotionEvent!=n&&j.ni()!=j.PG&&j.ni()!=j.f3;c.bind=function(a,c){e.bind(b.W,a,c)};c.unbind=function(a,c){e.unbind(b.W,a,c)};c.Hha=function(){return l};c.mm=function(){l=B;if(p){var a=p.mm(),a=f.C2(a);return{yaw:a.yaw,pitch:a.pitch,roll:a.rm}}return{yaw:0,pitch:0,roll:0}};if(c.available){var o=
j.ni()==j.pG||a.qo("debug")&&a.eu("sensor")=="deviceorientation",r=new h,m=B;r.bind(b.Fm,function(){m=q;w()},this,q);var t=new g,u=B;t.bind(b.Fm,function(){u=q;w()},this,q);var w=function(){var a;u&&(o||!m)?a=t:m&&(a=r);if(p!=a){p&&p.unbind(b.W,A);if(p=a){p.bind(b.W,A,this,q);A()}}},A=function(){l=q;e.trigger(new d(b.W))}}return c});
define("io","require,jquery.mod,gD,o,he,bq,hC".split(","),function(a){function b(a,b){this.$ea=a;this.WM=[];this.Hh=d("<div/>");this.Hh.css({position:"fixed","z-index":1E6,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"});this.Hh.html(b);this.qD=B;var e=this;d(this.Hh).find("button").on("click",function(a){e.H$(d(a.currentTarget).attr("id"))})}var d=a("jquery.mod"),c=a("gD"),f=a("o"),j=a("he"),g=a("bq"),h=a("hC"),e="color:#000; font-family:Arial, Helvetica, sans-serif;",
l="border-color:#b2b2b2;",p="background-color:#009adb; border:none; box-sizing:border-box; color:#fff; cursor:pointer; font-family:Arial, Helvetica, sans-serif; text-align:center;",o="vertical-align:middle; padding:0;",r='<img style="width:33vmin;" src="'+g.Ju+'"/>',m='<img style="width:24vmin;" src="'+g.Ju+'"/>',t='<img style="width:34vmin;" src="'+g.X2+'"/>',u='<img style="width:24vmin;" src="'+g.y3+'"/>';if(f.ic()){p=p+" margin:0 1vmin; min-width:20vmin; padding:2.2vmin 4vmin; font-size:3.6vmin; font-weight:bold; min-width:30vmin;";
e=e+" font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0;";l=l+"  margin:5vmin 0;";o=o+" height:4vmin; margin:0 1vmin 0 0; width:4vmin;"}else p=p+" font-size:19px; padding:17px 34px;";b.prototype.tM=function(a,b){var e={},c;for(c in b)e[c]=a.css(c);this.WM.push({$el:a,css:e});a.css(b)};b.prototype.Bba=function(){for(;this.WM.length;){var a=this.WM.pop();a.$el.css(a.css)}};b.prototype.show=function(a,b,e){if(!this.qD){this.qD=q;this.iT=a||E();this.DS=b||E();a=this.oU();if(a===n){var c=this,a=d(h.cr()||
document.body);if(e!==q)a.children().each(function(){c.tM(d(this),{visibility:"hidden"})});else{this.tM(a,{overflow:"hidden"});a.children().each(function(){c.tM(d(this),{position:"absolute","z-index":0})})}a.append(this.Hh)}else a?this.iT():this.DS()}};b.prototype.aha=function(){return this.oU()!==n};b.prototype.hide=function(){if(this.qD){this.qD=B;this.Hh.detach();this.Bba()}};b.prototype.oU=function(){var a;try{a=localStorage.getItem(this.pU())}catch(b){}if(a=="true")return q;if(a=="false")return B};
b.prototype.XY=function(a){try{localStorage.setItem(this.pU(),a?"true":"false")}catch(b){}};b.prototype.pU=function(){return this.$ea+"DontDisplay:"+window.location.pathname};b.prototype.H$=function(a){var b=d("#tdvvriw_dontdisplay").is(":checked");this.hide();if(a=="tdvvriw_continue"){this.iT();b&&this.XY(q)}else if(a=="tdvvriw_cancel"){this.DS();b&&this.XY(B)}};var a=c.extend(b,function(){b.call(this,"SamsungInternetInfoWindow",['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',
r,'<div style="'+e+'">You can use any compatible Google Cardboard headset to view this content in VR.</div>','<div><button style="'+p+'" id="tdvvriw_continue">OK</button></div>',"</div>",'<hr style="'+l+'">',"<div>",'<div style="'+e+'">','<div style="margin-bottom:2vmin;">If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.</div>\n<div><strong>Warning:</strong> The VR performance of this browser is VERY POOR. We highly recommend you open this link in Google Chrome and follow the instructions on screen. This will deliver a VR experience of excellent quality.</div>\n</div>',
t,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+e+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+o+'"><label for="tdvvriw_dontdisplay">Don\'t display this info again</label>',"</div>"].join("\n"))}),f=c.extend(b,function(){b.call(this,"SamsungInternetForGearVRInfoWindow",['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',
t,'<div style="'+e+'">This content requires access to the WebVR API.<br>To enable WebVR open the "More" menu you\'ll find above this window and then click on the "Labs" item.</div>','<div><button style="'+p+'" id="tdvvriw_cancel">OK</button></div>',"</div>\n</div></div>"].join("\n"))}),w=c.extend(b,function(){b.call(this,"ExternalVRDisplayVRInfoWindow",['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">',
'<div style="'+e+'"></div>','<div style="text-align:center;"><button style="'+p+' box-shadow:0 0 4px rgba(0, 0, 0, 0.5);" id="tdvvriw_continue">Exit VR</button></div>',"</div></div>"].join("\n"));j.Tt("vrv")===q&&this.Hh.css({background:"none"})}),A=c.extend(b,function(){b.call(this,"CarmelInstallationPromptVRInfoWindow",['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',
r,'<div style="'+e+'">You can use any compatible Google Cardboard headset to view this content in VR.</div><div><button style="'+p+'" id="tdvvriw_continue">Use Google Cardboard</button></div>',"</div>",'<hr style="'+l+'">',"<div>",t,'<div style="'+e+'">It looks like this device is compatible with Gear VR. If you have a Gear VR headset you can view this content using the Carmel Web Browser (by Oculus).</div>','<div><button style="'+p+'" id="tdvvriw_cancel">Use Carmel web browser</button></div>',"</div>\n</div></div>"].join("\n"))}),
z=c.extend(b,function(){b.call(this,"EnterVRInfoWindow",['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">','<div style="'+e+'"></div>','<div style="text-align:center;"><button style="'+p+'" id="tdvvriw_continue">Enter VR content</button></div>',"</div></div>"].join("\n"))}),C=c.extend(b,function(){b.call(this,"PreparingVRInfoWindow",['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">',
'<div style="'+e+'">Preparing VR...</div>',"</div></div>"].join("\n"))}),v=c.extend(b,function(){b.call(this,"UseSafariVRInfoWindow",['<div style="position: absolute; top: 7vmin; right:5vmin; ">',m,'</div>\n<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">',u,'<div style="'+e+'">We recommend Safari<br>to view this tour in VR mode</div>','<div style="text-align:center;"><button style="'+
p+'" id="tdvvriw_continue">OK</button></div>',"</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+e+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+o+'"><label for="tdvvriw_dontdisplay">Don\'t display this info again</label>',"</div>"].join("\n"))}),c=c.extend(b,function(){b.call(this,"RotateVRInfoWindow",['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+g.Ju+
'"/>','</div>\n<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">','<img style="width:22vmin" src="'+g.Sz+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">Please, rotate your device</div>\n</div>\n</div>'].join("\n"))}),D={};D.z3=new a;D.A3=new f;D.V2=new w;D.uF=new A;D.dQ=new z;
D.AG=new C;D.K3=new v;D.Sz=new c;return D});
define("X","require,gD,bB,dx,iu,d,hC,bw,iy,gx,gc,m,gO,o,hN,bz,io".split(","),function(a){function b(){var a=window.location.hash,b=a.length>1?a.substring(1).split("&"):[];b.push("ovrweb");var e=window.location.toString(),e=e.substring(0,e.length-a.length),e=e+("#"+b.join("&"));return"ovrweb:"+e}function d(a){window.location.hash="#"+(a.length?a.join("&"):"")}function c(){var a=window.location.hash.substring(1);return a.length?a.split("&"):[]}function f(){for(var a=c(),b=[],e=0;e<a.length;e++)a[e]!=
"vr"&&b.push(a[e]);d(b)}function j(){f();var a=c();a.push("vr");d(a)}function g(){var a=!!window.sidebar,e=!!navigator.msLaunchUri,c="hidden"in document?"visibilitychange":"webkitvisibilitychange",f=b();return new Promise(function(b,h){if(e)msLaunchUri(f,function(){b()},function(){h()});else if(a){var d=document.createElement("iframe");d.src="about:blank";d.style.display="none";document.body.appendChild(d);var g=B;try{d.contentWindow.location=f;g=q}catch(l){h()}g&&b()}else(function(){function a(b){var e;
try{e=b.location.href}catch(c){}return!!e}for(var e=window;e!==e.parent&&a(e.parent);)e=e.parent;var d=setTimeout(function(){e.removeEventListener("blur",g);document.removeEventListener(c,g);h()},2E3),g=function la(){if(d){clearTimeout(d);d=s}e.removeEventListener("blur",la);document.removeEventListener(c,la);b()};e.addEventListener("blur",g);document.addEventListener(c,g);window.location=f})()})}function h(){window.open("https://www.oculus.com/experiences/gear-vr/1290985657630933/","_blank")}function e(a){O.requestAnimationFrame(function(){ka=
q;a();ka=B})}function l(){if(!ga&&O.getFrameData){O.getFrameData(ja);ga=ja}return ga}function p(){ea=s;if(G.zd()==G.Bo)M.cancel();else if(G.zd()==G.Fr){M.cancel();f()}else if(!X||G.ic()){G.zd()==G.Ao&&!ia&&T.cancel();M.cancel();S.disable();G.zd()!=G.Ao&&G.ic()&&A(O)&&K.hide()}}function o(){ha=B;O&&O.isPresenting&&O.exitPresent()}function r(){if((!O||!O.isPresenting)&&!da){var a=ba[ba.length-1];if(G.zd()==G.Bo)M.uo(a);else if(G.zd()==G.Fr){M.uo(a);j()}else if(!X&&G.ic()){S.enable();M.uo(a);G.zd()==
G.Ao&&!ia&&T.uo()}var b=L.HE();da=q;O.requestPresent([{source:a}]).then(function(){da=B;ea=a;G.zd()!=G.Ao&&G.ic()&&A(O)&&K.show(Q.cr())})["catch"](function(a){da=B;b||D.ME("Can't present in VR display",a);p()})}}function m(){if(G.Jy()&&!G.Xy()&&G.browser()==G.Ah&&G.zd()!=G.Gr)if(W.uF.aha())W.uF.show(r,function(){g();r()});else{W.AG.show();setTimeout(function(){W.AG.hide()},2E3);g()["catch"](function(){W.AG.hide();W.uF.show(r,h)})}else if(X){r();G.ic()||W.V2.show(o,n,q)}else G.zd()==G.Gr&&G.Jy()?W.z3.show(r):
G.zd()==G.Bo?W.A3.show(r):G.zd()==G.yz?W.K3.show(r):r()}function t(){if(!(!X&&!Z||O&&O.isPresenting||da))if(ba.length===0)ha=q;else{ha=B;if(Q.enabled()){Q.ko();W.dQ.show(m)}else L.HE()?m():W.dQ.show(m)}}function u(a){if(ba.indexOf(a)<0){ba.push(a);ha&&t()}}function w(a,b){return!!a&&a.displayName.toLowerCase().indexOf(b.toLowerCase())>=0}function A(a){return w(a,"webvr-polyfill")}function z(){if(ca=="invalid"){ca="initializing";V.jR.load(function(){ca="initialized";v()})}}function C(){if(O){G.f2(w(O,
"Oculus Go"));G.e2(w(O,"GearVR")||w(O,"Gear VR"));ja="VRFrameData"in window?new VRFrameData:s;if(X){var a=document.createElement("canvas");a.getContext("webgl")||a.getContext("experimental-webgl");u(a);setTimeout(r,1E3)}}else{G.f2(B);G.e2(B)}aa="initialized"}function v(){function a(b){if(b.length>0){O=[].concat(b.filter(function(a){return!A(a)}),b.filter(function(a){return A(a)}))[0];C()}else{X=B;Z&&ca=="invalid"?z():C()}}navigator.getVRDisplays().then(function(b){a(b)})["catch"](function(){a([])})}
var D=a("gD"),F=a("bB"),J=a("dx"),I=a("iu"),L=a("d"),Q=a("hC"),M=a("bw"),S=a("iy"),T=a("gx"),K=a("gc");a("m");var Y=a("gO"),G=a("o"),U=a("hN"),V=a("bz"),W=a("io"),X="getVRDisplays"in navigator,Z=U.available&&Y.webgl&&G.ic()&&G.Vq()!=G.Mu,aa="invalid",ca="invalid",O=s,ja,ga=s,ba=[],ea=s,da=B,ka=B,ha=B,ia;try{ia=window.self!==window.top}catch(ma){ia=q}var fa=window.WebVRConfig||(window.WebVRConfig={});fa.BUFFER_SCALE=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));fa.ALWAYS_APPEND_POLYFILL_DISPLAY=
q;fa.LOCK_ORIENTATION=B;window.addEventListener("vrdisplayactivate",function(){r()});window.addEventListener("vrdisplaydeactivate",function(){o()});window.addEventListener("vrdisplayblur",function(){o()});T.bind(I.ra,function(){o()});window.addEventListener("vrdisplaypresentchange",function(){O&&O.isPresenting||ea&&p();R.trigger(new F(I.W))},B);var R=new J;R.available=function(){return aa=="initialized"?!!O:X||Z};R.Aha=function(){return X};R.yla=E();R.om=function(){if(aa=="invalid"){aa="initializing";
X?v():Z?z():aa="initialized"}};R.getFrameData=function(){return l()};R.D0=function(){return O};R.mm=function(){var a=l();return a&&a.pose.orientation||O.getPose&&O.getPose().orientation||[0,0,0,1]};R.submitFrame=function(){if(ka){O.submitFrame();ga=s}};R.Dc=function(a){e(a)};R.isPresenting=function(){return!!O&&O.isPresenting};R.Tha=function(){return ea};R.hia=function(){t()};R.iia=function(){o()};R.lfa=function(a){u(a)};R.dia=function(a){ba.splice(ba.indexOf(a),1);a==ea&&o()};R.vja=function(a){fa.BUFFER_SCALE=
a};R.Iga=function(){return fa.BUFFER_SCALE};R.om();R.log=function(){D.log("native VR: "+R.Aha());D.log("VR: "+R.available());D.log("gyroscope: "+U.available)};R.summary=function(){return["native WebVR: "+X,"cardboard: "+Z,"vrDisplay: "+!!O,"VR: "+R.available(),"gyroscope: "+U.available].join(", ")};return R});
define("M",["require","iu","X"],function(a){function b(){}function d(){function a(){if(c.isPresenting()!=l)d();else{var e=f;f=[];b.QO=q;var h=(new Date).getTime();g||(g=h-1E3/30);var r=Math.max(1,Math.min(100,h-g));g=h;for(h=0;h<e.length;h++){var m=e[h];m.callback.call(m.context,r)}b.QO=B;0<f.length?d():j=B}}var l=c.isPresenting();l?c.Dc(a):h.call(window,a)}a("iu");var c=a("X"),f=[],j=B,g=n,h=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||
window.msRequestAnimationFrame||function(a){window.setTimeout(a,16)};b.Dc=function(a,b){for(var c=0;c<f.length;c++){var h=f[c];if(h.callback==a&&h.context==b)return}f.push({callback:a,context:b});j||(j=q,d())};b.QO=B;return b});
define("il",[],function(){function a(a){var b={pO:function(b,e,c,f){c=0>=c?0:c>=f?1:c/f;0.5>c?c=Math.pow(2*c,a):(c=1-Math.pow(1-(2*c-1),a),c+=1);return b+(e-b)*0.5*c}};b.$O=c(a);return b}function b(a){var b={pO:function(b,e,c,f){return b+(e-b)*(1-Math.pow(1-(0>=c?0:c>=f?1:c/f),a))}};b.$O=c(a);return b}function d(a){var b={pO:function(b,e,c,f){return b+(e-b)*Math.pow(0>=c?0:c>=f?1:c/f,a)}};b.$O=c(a);return b}function c(a){return function(b,c,e){b=Math.abs(c-b);return 1>b/e?0:1/(1-Math.pow((b-e)/b,
1/a))}}function f(c,f,h){this.sf=s;switch(c){case "quad_in":this.sf=d(2);break;case "quad_out":this.sf=b(2);break;case "quad_in_out":this.sf=a(2);break;case "cubic_in":this.sf=d(3);break;case "cubic_out":this.sf=b(3);break;case "cubic_in_out":this.sf=a(3);break;case "quart_in":this.sf=d(4);break;case "quart_out":this.sf=b(4);break;case "quart_in_out":this.sf=a(4);break;case "quint_in":this.sf=d(5);break;case "quint_out":this.sf=b(5);break;case "quint_in_out":this.sf=a(5);break;default:this.sf=d(1)}this.ql=
f.slice();this.Pb=0;this.Lb=this.bn(f,h);this.II={};for(c=0;c<this.ql.length;c++)this.II[this.ql[c].name]=f[c].br}f.prototype.C0=function(){for(var a=0;a<this.ql.length;a++)if("hfov"==this.ql[a].name)return this.ql[a];return s};f.prototype.La=function(a){return this.II[a]};f.prototype.De=function(){return this.Pb>=this.Lb};f.prototype.ki=N("Lb");f.prototype.setTime=function(a){this.Pb=Math.min(Math.max(0,a),this.Lb);for(a=0;a<this.ql.length;a++){var b=this.ql[a];this.II[b.name]=this.sf.pO(b.br,b.Du,
this.Pb,this.Lb)}};f.prototype.mb=function(a){this.setTime(this.Pb+a)};f.prototype.bn=function(a,b,c){for(var e=[],f=0;f<this.ql.length;f++){var d=this.ql[f],o=c?c:d.yha;o!==n&&0<o&&e.push(this.sf.$O(d.br,d.Du,o/1E3))}if(0<e.length){a=e[0];for(f=1;f<e.length;f++)a=Math.max(a,e[f]);return 0<b?Math.max(b,a):a}return 0<b?b:this.bn(a,b,10)};return f});define("bd",[],function(){return function(a,b,d,c){this.name=a;this.br=b;this.Du=d;this.yha=c}});
define("ig","cu,gD,iu,eq,de,j,fK,cB,M,il,bd".split(","),function(a,b,d,c,f,j,g,h,e,l,p){var o=b.extend(j,function(){j.call(this);this.Lc("Container");this.Qb=this.Gc=this.xd=this.ee=this.Ga=this.Aa=this.hT=this.gT=0;this.fK=this.nK=this.qg=this.pg=B;this.bT=0;this.gI=this.fI=n;this.iI=this.hI=0;this.Wn=s;this.kC=c.b3;this.kn=B;this.rB=s;this.vk=B;this.UD=s});o.Ya={overflow:c.Xo,scrollBarColor:"#000000",scrollBarWidth:10,scrollBarMargin:5,scrollBarOpacity:0.5,scrollBarVisible:f.Yb};a.defaults(o.Ya,
j.Ya);o.prototype.Si=function(){this.rB=new g(this.DJ());this.rB.tH.bind("mousedown touchstart",a.bind(this.P8,this));this.Si=N("rB");return this.rB};o.prototype.Ti=function(){this.UD=new h(this.DJ());this.UD.tH.bind("mousedown touchstart",a.bind(this.Tea,this));this.Ti=N("UD");return this.UD};o.prototype.scrollTo=function(a,b){a!=0&&k("scrollTo horizontally not implemented");var e=this.Qb;b>this.Qb?this.xA()&&(e=Math.min(b,this.Ga-this.xd)):b<this.Qb&&this.yA()&&(e=Math.max(b,0));this.Tx(this.Gc,
e)};o.prototype.U1=function(){if(this.xA()){for(var a=Math.max(0,this.Ga-this.xd),b=Math.min(a,this.Qb+this.xd*0.5),e=a=Math.min(a,this.Qb+this.xd),c=this.sb().slice(),f=c.shift();c.length;f=c.shift())if(f.get("visible")){var h=f.ba;h+f.la()>this.Qb+this.xd&&h>=b&&h<a&&h<e&&(e=h)}this.Tx(this.Gc,e)}};o.prototype.xA=function(){return this.CS()&&this.Qb+this.xd<this.Ga};o.prototype.W1=function(){if(this.yA()){for(var a=Math.max(0,this.Qb-this.xd),b=Math.max(0,this.Qb-this.xd*0.5),e=a,c=this.sb().slice(),
f=c.shift();c.length;f=c.shift())if(f.get("visible")){var h=f.ba,f=h+f.la();h<this.Qb&&f>=a+this.xd&&f<b+this.xd&&f>e+this.xd&&(e=f-this.xd)}this.Tx(this.Gc,e)}};o.prototype.yA=function(){return this.CS()&&this.Qb>0};o.prototype.V1=function(){if(this.MH()){for(var a=Math.max(0,this.Aa-this.ee),b=Math.min(a,this.Gc+this.ee*0.5),e=a=Math.min(a,this.Gc+this.ee),c=this.sb().slice(),f=c.shift();c.length;f=c.shift())if(f.get("visible")){var h=f.$;h+f.aa()>this.Gc+this.ee&&h>=b&&h<a&&h<e&&(e=h)}this.Tx(e,
this.Qb)}};o.prototype.MH=function(){return this.BS()&&this.Gc+this.ee<this.Aa};o.prototype.scrollLeft=function(){if(this.LH()){for(var a=Math.max(0,this.Gc-this.ee),b=Math.max(0,this.Gc-this.ee*0.5),e=a,c=this.sb().slice(),f=c.shift();c.length;f=c.shift())if(f.get("visible")){var h=f.$,f=h+f.aa();h<this.Gc&&f>=a+this.ee&&f<b+this.ee&&f>e+this.ee&&(e=f-this.ee)}this.Tx(e,this.Qb)}};o.prototype.LH=function(){return this.BS()&&this.Gc>0};o.prototype.Tx=function(a,b){this.pg=this.Gc!=a;this.qg=this.Qb!=
b;this.uk();this.Wn=new l("cubic_in_out",[new p("hScrollPosition",this.Gc,a),new p("vScrollPosition",this.Qb,b)],500);e.Dc(this.mH,this)};o.prototype.CS=function(){return this.vk&&this.xd<this.Ga};o.prototype.BS=function(){return this.kn&&this.ee<this.Aa};o.prototype.ma=function(){this.Ph(o.Ya)};o.prototype.W5=function(){this.nK=q;this.uk()};o.prototype.V5=function(){this.nK=B;this.uk()};o.prototype.P8=function(){this.pg=q};o.prototype.Tea=function(){this.qg=q};o.prototype.S5=function(a){if(this.pg||
this.qg){this.$a().bind(d.jc,this.$S,this);this.$a().bind(d.xb,this.aT,this);this.Tm=a.pageX;this.Um=a.pageY;this.uk()}else this.cT(a)};o.prototype.$S=function(a){if(this.pg){var b=(a.pageX-this.Tm)*this.Aa/this.Si().Ea();this.Gc=this.Gc+b}else if(this.qg){b=(a.pageY-this.Um)*this.Ga/this.Ti().Ma();this.Qb=this.Qb+b}this.Tm=a.pageX;this.Um=a.pageY;this.fm()};o.prototype.aT=function(){this.$a().unbind(d.jc,this.$S,this);this.$a().unbind(d.xb,this.aT,this);this.qg=this.pg=B;this.uk()};o.prototype.GS=
function(a){return this.vk&&(a>0&&this.Qb>0||a<0&&this.Qb<this.Ga-this.xd)?q:B};o.prototype.U5=function(a){if(this.vk){this.Qb=this.Qb-a.Ot*this.xd*0.1;this.fm()}};o.prototype.cT=function(a){if(this.kn||this.vk){this.$a().bind(d.jc,this.dT,this);this.$a().bind(d.xb,this.eT,this);this.fK=q;this.Tm=a.pageX;this.Um=a.pageY;this.uk();this.D9()}};o.prototype.dT=function(a){var b=a.pageX-this.Tm,e=a.pageY-this.Um;if(!this.pg&&!this.qg&&b*b+e*e>25){this.pg=this.kn;this.qg=this.vk;this.uk()}if(this.pg||this.qg){this.Gc=
this.Gc-b;this.Qb=this.Qb-e;this.Tm=a.pageX;this.Um=a.pageY;this.fm();this.pea()}};o.prototype.eT=function(){this.$a().unbind(d.jc,this.dT,this);this.$a().unbind(d.xb,this.eT,this);this.fK=B;this.uk();var a=Math.max(Math.abs(this.hI/0.001),Math.abs(this.iI/0.001));this.Wn=new l("linear",[new p("hScrollPosition",this.Gc,this.Gc-0.5*this.hI*a),new p("vScrollPosition",this.Qb,this.Qb-0.5*this.iI*a)],a);e.Dc(this.mH,this)};o.prototype.D9=function(){this.fI=this.Tm;this.gI=this.Um};o.prototype.pea=function(){var a=
(new Date).getTime(),b=a-this.bT;if(b>10){this.bT=a;this.hI=(this.Tm-this.fI)/b;this.iI=(this.Um-this.gI)/b;this.fI=this.Tm;this.gI=this.Um}};o.prototype.mH=function(a){if(this.Wn&&!this.Wn.De()&&(this.pg||this.qg)){this.Wn.mb(a);if(this.pg){this.Gc=this.Wn.La("hScrollPosition");if(this.Gc<0||this.Gc>this.Aa-this.ee)this.pg=B}if(this.qg){this.Qb=this.Wn.La("vScrollPosition");if(this.Qb<0||this.Qb>this.Ga-this.xd)this.qg=B}this.fm();e.Dc(this.mH,this)}else{this.qg=this.pg=B;this.Wn=s;this.uk()}};o.prototype.fm=
function(){this.Gc=this.kn?Math.max(0,Math.min(this.Aa-this.ee,this.Gc)):0;this.Qb=this.vk?Math.max(0,Math.min(this.Ga-this.xd,this.Qb)):0;this.Si().ca(this.Gc);this.Ti().ca(this.Qb);this.Pa().Ria(this.Gc);this.Pa().Kja(this.Qb);this.Tf()};o.prototype.uk=function(){var a;a=this.get("scrollBarVisible")==f.ALWAYS?q:this.Wg?this.pg||this.qg||this.fK:this.pg||this.qg||this.nK;this.Si().Fe(this.kn&&a);this.Ti().Fe(this.vk&&a);this.Tf()};o.prototype.Sa=function(){j.prototype.Sa.call(this);if(!this.T5){this.T5=
q;if(this.Wg)this.bind(d.wb,this.cT,this);else{this.bind(d.wb,this.S5,this);this.bind(d.Yb,this.W5,this);this.bind(d.Kb,this.V5,this);this.bind(d.To,this.U5,this)}}};o.prototype.X=function(){if(this.h("overflow")){this.kC=this.f("overflow");this.j("overflow");this.Tc()}if(this.h("scrollBarColor")){this.Si().xu(this.f("scrollBarColor"));this.Ti().xu(this.f("scrollBarColor"));this.j("scrollBarColor")}if(this.h("scrollBarWidth")){this.Si().Br(this.f("scrollBarWidth"));this.Ti().Br(this.f("scrollBarWidth"));
this.j("scrollBarWidth")}if(this.h("scrollBarMargin")){this.Si().i2(this.f("scrollBarMargin"));this.Ti().i2(this.f("scrollBarMargin"));this.j("scrollBarMargin")}if(this.h("scrollBarOpacity")){this.Si().wh(this.f("scrollBarOpacity"));this.Ti().wh(this.f("scrollBarOpacity"));this.j("scrollBarOpacity")}j.prototype.X.call(this)};o.prototype.jf=function(){j.prototype.jf.call(this);this.rea();this.Fea();this.Eea();this.uk();this.Tf()};o.prototype.rea=function(){for(var a=0,b=0,e=0,c=0,f=this.sb(),h=0;h<
f.length;h++){var d=f[h];if(d.get("visible")){c=Math.min(c,d.$);e=Math.min(e,d.ba);a=Math.max(a,d.$+d.aa());b=Math.max(b,d.ba+d.la())}}this.gT=c;this.hT=e;this.Aa=a;this.Ga=b};o.prototype.Fea=function(){if(this.kC==c.Xo){this.ee=this.Aa;this.xd=this.Ga}else{this.ee=Math.min(this.Ld(),this.Aa);this.xd=Math.min(this.Kd(),this.Ga)}};o.prototype.Eea=function(){var a=this.gT<0||this.hT<0||this.Aa>this.ee||this.Ga>this.xd;if(this.kC==c.Wo){this.kn=this.ee<this.Aa;var b=(this.vk=this.xd<this.Ga)&&this.kn;
this.Si().setSize(this.ee,this.Aa);this.Si().X1(b);this.Ti().setSize(this.xd,this.Ga);this.Ti().X1(b);this.Pa().nz(!a)}else{this.vk=this.kn=B;this.kC==c.Xo?this.Pa().nz(q):this.Pa().nz(!a)}this.fm()};o.prototype.Md=function(){this.Ti().Md();this.Si().Md();j.prototype.Md.call(this)};return o});define("F",[],function(){return{qe:"vertical",ne:"horizontal"}});
define("fg","jquery.mod,cu,gD,hy,F,d,dI".split(","),function(a,b,d,c,f,j){d=d.extend(j,function(){j.call(this);this.Lc("Label");this.bi=this.Gq=s});d.Ya={};d.prototype.ma=function(){j.prototype.ma.call(this);this.a("fontFamily");this.a("fontSize");this.a("fontColor");this.a("fontWeight");this.a("fontStyle");this.a("horizontalAlign",c.vc);this.a("verticalAlign",c.Ed);this.a("direction",f.ne);this.a("text","");this.a("textDecoration");this.a("textShadowBlurRadius",3);this.a("textShadowColor","#000000");
this.a("textShadowHorizontalLength",0);this.a("textShadowOpacity",0);this.a("textShadowVerticalLength",0)};d.prototype.Sa=function(){j.prototype.Sa.call(this);if(!this.bi){this.Gq=document.createElement("span");this.bi=a(this.Gq);this.MM({position:"absolute","text-align":"center",cursor:"inherit","white-space":"nowrap"});var b=this.Pa();b.nz(B);b.append(this.bi)}};d.prototype.Il=function(){j.prototype.Il.call(this);var a=this.Pa();this.ng=this.bi.width()+a.$t()+a.fu();this.mg=this.bi.height()+a.hu()+
a.Ut();g(this)};d.prototype.X=function(){var a,e={};if(this.h("direction")||this.h("text")){switch(this.f("direction")){case f.qe:e["line-height"]="100%";this.bi.html(this.bi.text(this.f("text")).text().split("").join("<br/>"));break;default:e["line-height"]="normal";this.bi.text(this.f("text"))}this.j("direction");this.j("text");setTimeout(function(){this.Ra();this.Tc()}.bind(this),0)}if(this.h("fontFamily")){a=this.f("fontFamily");b(a).isString()||(a="");e.fontFamily=a;this.j("fontFamily");this.Ra();
this.Tc()}if(this.h("fontSize")){a=this.f("fontSize");b(a).isNumber()?a=a+"px":b(a).isString()||(a="");e.fontSize=a;this.j("fontSize");this.Ra();this.Tc()}if(this.h("fontColor")){a=this.f("fontColor");b(a).isString()||(a="");e.color=a;this.j("fontColor")}if(this.h("fontWeight")){a=this.f("fontWeight");switch(a){case "bold":case "bolder":case "lighter":case "100":case "200":case "300":case "400":case "500":case "600":case "700":case "800":case "900":case "normal":break;default:a="normal"}e.fontWeight=
a;this.j("fontWeight");this.Ra();this.Tc()}if(this.h("fontStyle")){a=this.f("fontStyle");switch(a){case "italic":case "normal":break;default:a="normal"}e.fontStyle=a;this.j("fontStyle");this.Ra();this.Tc()}if(this.h("textDecoration")){a=this.f("textDecoration");switch(a){case "underline":case "overline":case "line-through":case "none":break;default:a="none"}e.textDecoration=a;this.j("textDecoration");this.Ra();this.Tc()}if(this.h("horizontalAlign")){this.Tc();this.j("horizontalAlign")}if(this.h("verticalAlign")){this.Tc();
this.j("verticalAlign")}a=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(b(a).any(function(a){return this.h(a)},this)){var c={};b(a).each(function(a){c[a]=this.f(a);this.j(a)},this);e["-moz-text-shadow"]=e["-webkit-text-shadow"]=e["text-shadow"]=[c.textShadowHorizontalLength+"px",c.textShadowVerticalLength+"px",c.textShadowBlurRadius+"px","rgba("+parseInt("0x"+c.textShadowColor.substr(1,2))+", "+parseInt("0x"+c.textShadowColor.substr(3,
2))+", "+parseInt("0x"+c.textShadowColor.substr(5,2))+", "+c.textShadowOpacity+")"].join(" ");a=c.textShadowVerticalLength==0&&this.f("textShadowHorizontalLength")==0?135:Math.round(4*Math.atan2(c.textShadowHorizontalLength,-c.textShadowVerticalLength)/Math.PI)*45;e.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*c.textShadowOpacity).toString(16)).slice(-2)+c.textShadowColor.substr(1,6)+",direction="+a+")"}this.MM(e);j.prototype.X.call(this)};d.prototype.jf=function(){var a={left:"auto",
right:"auto",top:"auto",bottom:"auto"};switch(this.f("horizontalAlign")){case c.vc:a.left="0";break;case c.Nd:this.Md();a.left=this.Ld()-this.Gq.clientWidth+"px";break;case c.md:this.Md();a.left=Math.max(0,Math.round((this.Ld()-this.Gq.clientWidth)*0.5))+"px"}switch(this.f("verticalAlign")){case c.lc:a.top="0";break;case c.Oc:this.Md();a.top=this.Kd()-this.Gq.clientHeight+"px";break;case c.Ed:this.Md();a.top=Math.max(0,Math.round((this.Kd()-this.Gq.clientHeight)*0.5))+"px"}this.MM(a)};d.prototype.MM=
function(a){var b=this.Gq.style,c;for(c in a)b[c]=a[c]};var g=function(){function a(){!d&&b()&&(d=setTimeout(function(){d=s;var b=(new Date).getTime()-5E3,e;for(e in f){var c=f[e];c.timestamp<b&&delete f[e];var g=c.label;(c.width!=g.bi.width()||c.height!=g.bi.height())&&g.Ra()}a()},500))}function b(){for(var a in f)return q;return B}var c=1,f={},d=s;return function(b){b.lW||(b.lW=c++);f[b.lW]={label:b,timestamp:(new Date).getTime(),width:b.bi.width(),height:b.bi.height()};a()}}();return d});
define("gS","require,gD,cu,bM,J,iu,bB,dZ,ct,dN,ig,fg".split(","),function(a){var b=a("gD"),d=a("cu"),c=a("bM"),f=a("J"),j=a("iu"),g=a("bB"),h=a("dZ"),e=a("ct"),l=a("dN"),p=a("ig"),o=a("fg"),r=b.extend(p,function(){p.call(this);this.Ug=this.wa=s;this.set("childrenInteractionEnabled",B);this.set("contentOpaque",q);this.set("creationPolicy",c.Mz);this.set("autoRolledOver",q);this.set("autoPressed",q);this.set("cursor",f.Uc)});r.prototype.ma=function(){p.prototype.ma.call(this);this.a("label");this.a("fontFamily");
this.a("fontSize");this.a("fontColor");this.a("fontWeight");this.a("fontStyle");this.a("textDecoration");this.a("textShadowBlurRadius");this.a("textShadowColor");this.a("textShadowHorizontalLength");this.a("textShadowOpacity");this.a("textShadowVerticalLength");this.a("layout","horizontal");this.a("iconWidth");this.a("iconHeight");this.a("iconBeforeLabel");this.a("gap",5);this.a("mode",e.kc);this.a("buttonGroup");this.a("paddingLeft",5);this.a("paddingTop",5);this.a("paddingRight",5);this.a("paddingBottom",
5);this.a("pressed");this.c("rollOverOpacity",l.k,"opacity");this.c("rollOverIconWidth",l.k,"iconWidth");this.c("rollOverIconHeight",l.k,"iconHeight");this.c("rollOverFontSize",l.k,"fontSize");this.c("rollOverFontColor",l.k,"fontColor");this.c("rollOverFontWeight",l.k,"fontWeight");this.c("rollOverFontStyle",l.k,"fontStyle");this.c("rollOverTextDecoration",l.k,"textDecoration");this.c("rollOverTextShadowBlurRadius",l.k,"textShadowBlurRadius");this.c("rollOverTextShadowColor",l.k,"textShadowColor");
this.c("rollOverTextShadowHorizontalLength",l.k,"textShadowHorizontalLength");this.c("rollOverTextShadowOpacity",l.k,"textShadowOpacity");this.c("rollOverTextShadowVerticalLength",l.k,"textShadowVerticalLength");this.c("rollOverBorderSize",l.k,"borderSize");this.c("rollOverBorderLeftSize",l.k,"borderLeftSize");this.c("rollOverBorderTopSize",l.k,"borderTopSize");this.c("rollOverBorderRightSize",l.k,"borderRightSize");this.c("rollOverBorderBottomSize",l.k,"borderBottomSize");this.c("rollOverBorderColor",
l.k,"borderColor");this.c("rollOverBorderLeftColor",l.k,"borderLeftColor");this.c("rollOverBorderTopColor",l.k,"borderTopColor");this.c("rollOverBorderRightColor",l.k,"borderRightColor");this.c("rollOverBorderBottomColor",l.k,"borderBottomColor");this.c("rollOverShadow",l.k,"shadow");this.c("rollOverShadowHorizontalLength",l.k,"shadowHorizontalLength");this.c("rollOverShadowVerticalLength",l.k,"shadowVerticalLength");this.c("rollOverShadowBlurRadius",l.k,"shadowBlurRadius");this.c("rollOverShadowSpread",
l.k,"shadowSpread");this.c("rollOverShadowOpacity",l.k,"shadowOpacity");this.c("rollOverShadowColor",l.k,"shadowColor");this.c("rollOverBackgroundOpacity",l.k,"backgroundOpacity");this.c("rollOverBackgroundColor",l.k,"backgroundColor");this.c("rollOverBackgroundColorRatios",l.k,"backgroundColorRatios");this.c("rollOverBackgroundColorDirection",l.k,"backgroundColorDirection");this.c("pressedLabel",l.oa,"label");this.c("pressedOpacity",l.oa,"opacity");this.c("pressedIconWidth",l.oa,"iconWidth");this.c("pressedIconHeight",
l.oa,"iconHeight");this.c("pressedFontSize",l.oa,"fontSize");this.c("pressedFontColor",l.oa,"fontColor");this.c("pressedFontWeight",l.oa,"fontWeight");this.c("pressedFontStyle",l.oa,"fontStyle");this.c("pressedTextDecoration",l.oa,"textDecoration");this.c("pressedTextShadowBlurRadius",l.oa,"textShadowBlurRadius");this.c("pressedTextShadowColor",l.oa,"textShadowColor");this.c("pressedTextShadowHorizontalLength",l.oa,"textShadowHorizontalLength");this.c("pressedTextShadowOpacity",l.oa,"textShadowOpacity");
this.c("pressedTextShadowVerticalLength",l.oa,"textShadowVerticalLength");this.c("pressedBorderSize",l.oa,"borderSize");this.c("pressedBorderLeftSize",l.oa,"borderLeftSize");this.c("pressedBorderTopSize",l.oa,"borderTopSize");this.c("pressedBorderRightSize",l.oa,"borderRightSize");this.c("pressedBorderBottomSize",l.oa,"borderBottomSize");this.c("pressedBorderColor",l.oa,"borderColor");this.c("pressedBorderLeftColor",l.oa,"borderLeftColor");this.c("pressedBorderTopColor",l.oa,"borderTopColor");this.c("pressedBorderRightColor",
l.oa,"borderRightColor");this.c("pressedBorderBottomColor",l.oa,"borderBottomColor");this.c("pressedShadow",l.oa,"shadow");this.c("pressedShadowHorizontalLength",l.oa,"shadowHorizontalLength");this.c("pressedShadowVerticalLength",l.oa,"shadowVerticalLength");this.c("pressedShadowBlurRadius",l.oa,"shadowBlurRadius");this.c("pressedShadowSpread",l.oa,"shadowSpread");this.c("pressedShadowOpacity",l.oa,"shadowOpacity");this.c("pressedShadowColor",l.oa,"shadowColor");this.c("pressedBackgroundOpacity",
l.oa,"backgroundOpacity");this.c("pressedBackgroundColor",l.oa,"backgroundColor");this.c("pressedBackgroundColorRatios",l.oa,"backgroundColorRatios");this.c("pressedBackgroundColorDirection",l.oa,"backgroundColorDirection");this.c("pressedLabel",l.Na,"label");this.c("pressedRollOverOpacity",l.Na,"opacity");this.c("pressedRollOverIconWidth",l.Na,"iconWidth");this.c("pressedRollOverIconHeight",l.Na,"iconHeight");this.c("pressedRollOverFontSize",l.Na,"fontSize");this.c("pressedRollOverFontColor",l.Na,
"fontColor");this.c("pressedRollOverFontWeight",l.Na,"fontWeight");this.c("pressedRollOverFontStyle",l.Na,"fontStyle");this.c("pressedRollOverTextDecoration",l.Na,"textDecoration");this.c("pressedRollOverTextShadowBlurRadius",l.Na,"textShadowBlurRadius");this.c("pressedRollOverTextShadowColor",l.Na,"textShadowColor");this.c("pressedRollOverTextShadowHorizontalLength",l.Na,"textShadowHorizontalLength");this.c("pressedRollOverTextShadowOpacity",l.Na,"textShadowOpacity");this.c("pressedRollOverTextShadowVerticalLength",
l.Na,"textShadowVerticalLength");this.c("pressedRollOverBorderSize",l.Na,"borderSize");this.c("pressedRollOverBorderLeftSize",l.Na,"borderLeftSize");this.c("pressedRollOverBorderTopSize",l.Na,"borderTopSize");this.c("pressedRollOverBorderRightSize",l.Na,"borderRightSize");this.c("pressedRollOverBorderBottomSize",l.Na,"borderBottomSize");this.c("pressedRollOverBorderColor",l.Na,"borderColor");this.c("pressedRollOverBorderLeftColor",l.Na,"borderLeftColor");this.c("pressedRollOverBorderTopColor",l.Na,
"borderTopColor");this.c("pressedRollOverBorderRightColor",l.Na,"borderRightColor");this.c("pressedRollOverBorderBottomColor",l.Na,"borderBottomColor");this.c("pressedRollOverShadow",l.Na,"shadow");this.c("pressedRollOverShadowHorizontalLength",l.Na,"shadowHorizontalLength");this.c("pressedRollOverShadowVerticalLength",l.Na,"shadowVerticalLength");this.c("pressedRollOverShadowBlurRadius",l.Na,"shadowBlurRadius");this.c("pressedRollOverShadowSpread",l.Na,"shadowSpread");this.c("pressedRollOverShadowOpacity",
l.Na,"shadowOpacity");this.c("pressedRollOverShadowColor",l.Na,"shadowColor");this.c("pressedRollOverBackgroundOpacity",l.Na,"backgroundOpacity");this.c("pressedRollOverBackgroundColor",l.Na,"backgroundColor");this.c("pressedRollOverBackgroundColorRatios",l.Na,"backgroundColorRatios");this.c("pressedRollOverBackgroundColorDirection",l.Na,"backgroundColorDirection")};r.prototype.oI=E();r.prototype.Sa=function(){p.prototype.Sa.call(this);if(!this.Ug){this.Ug=this.oI();this.Ca(this.Ug)}if(!this.wa){this.wa=
new o;this.Ca(this.wa)}};r.prototype.Cv=function(){if(this.get("pressed")){this.set("pressed",B);this.trigger(new g(j.Eh))}else{this.set("pressed",q);this.trigger(new g(j.$f))}};r.prototype.X=function(){var a=B;if(this.h("mode")){if(this.f("mode")==e.kc){this.unbind(j.ga,this.Cv,this,q);this.set("autoPressed",q)}else{this.bind(j.ga,this.Cv,this,q);this.set("autoPressed",B)}this.j("mode");a=q}if(a||this.h("pressed"))this.f("mode")==e.Fh?this.rt(this.f("pressed")==q):a&&this.rt(B);if(this.h("label")){a=
this.f("label");this.wa.set("text",a);this.wa.set("visible",a?q:B);this.j("label")}this.eb(r.zR,r.AR,[this.wa],q,q);if(this.h("iconBeforeLabel")){this.f("iconBeforeLabel")==B?this.uh(this.wa,0):this.uh(this.Ug,0);this.j("iconBeforeLabel")}if(this.h("iconWidth")){this.Ug.set("width",this.f("iconWidth"));this.j("iconWidth")}if(this.h("iconHeight")){this.Ug.set("height",this.f("iconHeight"));this.j("iconHeight")}if(this.h("buttonGroup")){(a=this.f("buttonGroup"))?h.TE(this,a):h.tz(this);this.j("buttonGroup")}p.prototype.X.call(this)};
r.zR=["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];r.AR={};d(r.zR).each(function(a){r.AR[a]=a});return r});
define("fE",["require","gD","gS","cO","iu"],function(a){var b=a("gD"),d=a("gS"),c=a("cO"),a=a("iu"),b=b.extend(d,function(){d.call(this)});c.C("BaseButton",b).D("UIComponent").K({label:"string",gap:"number",horizontalAlign:"enum[center, left, right]",iconBeforeLabel:"bool",layout:"enum[horizontal, vertical]",mode:"enum[push, toggle]",buttonGroup:"string",verticalAlign:"enum[bottom, middle, top]",iconWidth:"or[number, percent]",iconHeight:"or[number, percent]",fontFamily:"string",fontSize:"or[number, size]",
fontColor:"color",fontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",fontStyle:"enum[italic, normal]",textDecoration:"enum[underline, overline, line-through, none]",textShadowBlurRadius:"number",textShadowColor:"color",textShadowHorizontalLength:"number",textShadowOpacity:"number",textShadowVerticalLength:"number",rollOverIconWidth:"or[number, percent]",rollOverIconHeight:"or[number, percent]",rollOverFontFamily:"string",rollOverFontSize:"or[number, size]",
rollOverFontColor:"color",rollOverFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",rollOverFontStyle:"enum[italic, normal]",rollOverTextDecoration:"enum[underline, overline, line-through, none]",rollOverTextShadowBlurRadius:"number",rollOverTextShadowColor:"color",rollOverTextShadowHorizontalLength:"number",rollOverTextShadowOpacity:"number",rollOverTextShadowVerticalLength:"number",rollOverBorderSize:"number",rollOverBorderLeftSize:"number",rollOverBorderTopSize:"number",
rollOverBorderRightSize:"number",rollOverBorderBottomSize:"number",rollOverBorderColor:"color",rollOverBorderLeftColor:"color",rollOverBorderTopColor:"color",rollOverBorderRightColor:"color",rollOverBorderBottomColor:"color",rollOverShadow:"bool",rollOverShadowHorizontalLength:"number",rollOverShadowVerticalLength:"number",rollOverShadowBlurRadius:"number",rollOverShadowSpread:"number",rollOverShadowColor:"color",rollOverShadowOpacity:"number",rollOverBackgroundOpacity:"number",rollOverBackgroundColor:"or[array[color], color]",
rollOverBackgroundColorRatios:"array[number]",rollOverBackgroundColorDirection:"enum[horizontal, vertical]",pressed:"bool",pressedLabel:"string",pressedIconWidth:"or[number, percent]",pressedIconHeight:"or[number, percent]",pressedFontFamily:"string",pressedFontSize:"or[number, size]",pressedFontColor:"color",pressedFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",pressedFontStyle:"enum[italic, normal]",pressedTextDecoration:"enum[underline, overline, line-through, none]",
pressedTextShadowBlurRadius:"number",pressedTextShadowColor:"color",pressedTextShadowHorizontalLength:"number",pressedTextShadowOpacity:"number",pressedTextShadowVerticalLength:"number",pressedOpacity:"number",pressedBorderSize:"number",pressedBorderLeftSize:"number",pressedBorderTopSize:"number",pressedBorderRightSize:"number",pressedBorderBottomSize:"number",pressedBorderColor:"color",pressedBorderLeftColor:"color",pressedBorderTopColor:"color",pressedBorderRightColor:"color",pressedBorderBottomColor:"color",
pressedShadow:"bool",pressedShadowHorizontalLength:"number",pressedShadowVerticalLength:"number",pressedShadowBlurRadius:"number",pressedShadowSpread:"number",pressedShadowOpacity:"number",pressedShadowColor:"color",pressedBackgroundOpacity:"number",pressedBackgroundColor:"or[array[color], color]",pressedBackgroundColorRatios:"array[number]",pressedBackgroundColorDirection:"enum[horizontal, vertical]",pressedRollOverIconWidth:"or[number, percent]",pressedRollOverIconHeight:"or[number, percent]",pressedRollOverFontFamily:"string",
pressedRollOverFontSize:"or[number, size]",pressedRollOverFontColor:"color",pressedRollOverFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",pressedRollOverFontStyle:"enum[italic, normal]",pressedRollOverTextDecoration:"enum[underline, overline, line-through, none]",pressedRollOverTextShadowBlurRadius:"number",pressedRollOverTextShadowColor:"color",pressedRollOverTextShadowHorizontalLength:"number",pressedRollOverTextShadowOpacity:"number",pressedRollOverTextShadowVerticalLength:"number",
pressedRollOverOpacity:"number",pressedRollOverBorderSize:"number",pressedRollOverBorderLeftSize:"number",pressedRollOverBorderTopSize:"number",pressedRollOverBorderRightSize:"number",pressedRollOverBorderBottomSize:"number",pressedRollOverBorderColor:"color",pressedRollOverBorderLeftColor:"color",pressedRollOverBorderTopColor:"color",pressedRollOverBorderRightColor:"color",pressedRollOverBorderBottomColor:"color",pressedRollOverShadow:"bool",pressedRollOverShadowHorizontalLength:"number",pressedRollOverShadowVerticalLength:"number",
pressedRollOverShadowBlurRadius:"number",pressedRollOverShadowSpread:"number",pressedRollOverShadowOpacity:"number",pressedRollOverShadowColor:"color",pressedRollOverBackgroundOpacity:"number",pressedRollOverBackgroundColor:"or[array[color], color]",pressedRollOverBackgroundColorRatios:"array[number]",pressedRollOverBackgroundColorDirection:"enum[horizontal, vertical]"}).xm(["fontSize","rollOverFontSize","pressedFontSize","pressedRollOverFontSize"]).Jb([a.$f,a.Eh]).qi([a.ga]);return b});
define("hb",[],function(){return{NONE:"none",Ru:"fill",le:"fit_inside",Tk:"fit_outside",Jj:"fit_to_width",Yf:"fit_to_height"}});
define("hl","require,cu,jquery.mod,gD,iu,ew,hy,hb,d,dI,gf".split(","),function(a){function b(a){this.EH=a;this.Ic=[];this.Og=s}var d=a("cu"),c=a("jquery.mod"),f=a("gD"),j=a("iu"),g=a("ew"),h=a("hy"),e=a("hb"),l=a("d"),p=a("dI"),o=a("gf");b.Yg=document.createElement("a");b.prototype.R5=function(a){b.Yg.href=a;return b.Yg.href};b.prototype.load=function(a,b,e){this.Og&&!this.Og.th()&&this.Og.cancel();a=this.R5(a);if(this.Og=d(this.Ic).find(function(b){return b.hb()==a}))this.Ic=d(this.Ic).without(this.Og);
else{this.Og=new o(g.YQ);this.Og.load(a)}for(this.Ic.splice(0,0,this.Og);this.Ic.length>this.EH;)this.Ic.pop().cancel();if(b){var c=this.Og,f=function(){b.call(e||window,c.Td(),c.Ea(),c.Ma())};this.Og.th()?f():this.Og.bind(j.ib,f)}};b.prototype.clear=function(){this.Ic.forEach(function(){loader.cancel()});this.Og=s};a=f.extend(l,function(a){l.call(this);this.Lc("Image");this.EH=a||1;this.FN=B;this.ul=h.vc;this.sB=B;this.gm=h.lc;this.WD=B;this.Vb=e.NONE;this.oM=B;this.Vs=this.Ws=0;this.TJ=this.jL=
B;this.Ga=this.Aa=0;this.jl=B;this.FK=this.hg=this.oc=this.vB=this.uB=s;this.bind(j.Nb,this.A9,this);this.bind(j.pe,this.B9,this)});a.prototype.CJ=function(){this.FK=new b(this.EH);this.CJ=N("FK");return this.FK};a.prototype.ma=function(){l.prototype.ma.call(this);this.a("horizontalAlign",h.vc);this.a("verticalAlign",h.lc);this.a("scaleMode",e.NONE)};a.prototype.set=function(a,b){if(a=="url"&&this.get("url")!=b){this.FN=q;this.Rb()}l.prototype.set.call(this,a,b)};a.prototype.xP=function(a){if(this.ul!=
a){this.ul=a;this.sB=q;this.Rb()}};a.prototype.KP=function(a){if(this.gm!=a){this.gm=a;this.WD=q;this.Rb()}};a.prototype.oz=function(a){if(this.Vb!=a){this.Vb=a;this.oM=q;this.Rb();this.Ra()}};a.prototype.A9=function(){this.jl=q;this.Rb()};a.prototype.B9=function(){this.F_()};a.prototype.fS=function(a,b,e){this.Ws=b?b:0;this.Vs=e?e:0;if(this.oc){this.oc.remove();this.oc=s}if(this.hg=a){this.oc=c(this.hg);p.css(this.hg,{position:"static",cursor:"inherit",display:"inline",verticalAlign:"top",visibility:"hidden",
"user-select":"none","-ms-user-select":"none","-moz-user-select":"none","-webkit-user-select":"none","touch-callout":"none","-webkit-touch-callout":"none"});this.uB.append(this.oc)}this.jL=this.TJ=q;this.Rb();this.Ra();this.oc&&this.trigger(j.ib)};a.prototype.Sa=function(){l.prototype.Sa.call(this);if(!this.uB){this.vB=document.createElement("div");this.uB=c(this.vB);p.css(this.vB,{position:"static",overflow:"hidden",cursor:"inherit"});this.Pa().append(this.uB)}};a.prototype.Il=function(){this.ng=
this.Ws+this.Bj()+this.Dk();this.mg=this.Vs+this.dr()+this.Xt();this.cW=this.Ws==0&&this.Vs==0?0:this.Ws/this.Vs;this.Mw=this.Nw=0};a.prototype.X=function(){if(this.h("scaleMode")){this.oz(this.f("scaleMode"));this.j("scaleMode")}if(this.h("horizontalAlign")){this.xP(this.f("horizontalAlign"));this.j("horizontalAlign")}if(this.h("verticalAlign")){this.KP(this.f("verticalAlign"));this.j("verticalAlign")}if(this.bS())this.jl=q;l.prototype.X.call(this);this.F_();if(this.Wga()){var a=B;if(this.oM||this.jL||
this.jl){var b=this.Ld(),c=this.Kd(),f=this.Ws,d=this.Vs,g,o;if(f==0||d==0)o=g=0;else switch(this.Vb){case e.NONE:g=f;o=d;break;case e.Ru:g=b;o=c;break;case e.le:if(f*c>d*b){g=b;o=d*b/f}else{g=f*c/d;o=c}break;case e.Tk:if(f*c>d*b){g=f*c/d;o=c}else{g=b;o=d*b/f}break;case e.Jj:g=b;o=d*b/f;break;case e.Yf:g=f*c/d;o=c}if(this.Aa!=g||this.Ga!=o){this.Aa=g;this.Ga=o;a=q}this.jL=this.oM=B}if(a||this.jl||this.TJ){this.WD=this.sB=q;this.hg&&p.css(this.hg,{width:this.Aa+"px",height:this.Ga+"px",visibility:"inherit"});
p.css(this.vB,{width:this.Ld()+"px",height:this.Kd()+"px","border-top-left-radius":this.qB(this.L7(),this.hU(),this.fU())+"px","border-top-right-radius":this.qB(this.M7(),this.hU(),this.gU())+"px","border-bottom-left-radius":this.qB(this.J7(),this.eU(),this.fU())+"px","border-bottom-right-radius":this.qB(this.K7(),this.eU(),this.gU())+"px"});this.Ra();this.TJ=this.jl=B}if(this.sB&&this.hg){switch(this.ul){case h.vc:p.css(this.hg,{"margin-left":0,"margin-right":this.Ld()-this.Aa+"px"});break;case h.Nd:p.css(this.hg,
{"margin-left":this.Ld()-this.Aa+"px","margin-right":0});break;case h.md:p.css(this.hg,{"margin-left":Math.floor((this.Ld()-this.Aa)*0.5)+"px","margin-right":Math.ceil((this.Ld()-this.Aa)*0.5)+"px"})}this.sB=B}if(this.WD&&this.hg){switch(this.gm){case h.lc:p.css(this.hg,{"margin-top":0,"margin-bottom":this.Kd()-this.Ga+"px"});break;case h.Oc:p.css(this.hg,{"margin-top":this.Kd()-this.Ga+"px","margin-bottom":0});break;case h.Ed:p.css(this.hg,{"margin-top":Math.floor((this.Kd()-this.Ga)*0.5)+"px","margin-bottom":Math.ceil((this.Kd()-
this.Ga)*0.5)+"px"})}this.WD=B}}};a.prototype.F_=function(){if(this.FN){var a=this.get("url");if(a)this.CJ().load(a,this.fS,this);else{this.CJ().clear();this.fS(s,0,0)}this.FN=B}};a.prototype.qB=function(a,b,e){if(!a)return 0;var c=0;b&&(c=Math.max(c,b));e&&(c=Math.max(c,e));return Math.max(0,a-c)};return a});
define("do",["gD","hb","dN","gS","hl"],function(a,b,d,c,f){a=a.extend(c,function(){c.call(this)});a.prototype.ma=function(){c.prototype.ma.call(this);this.a("iconURL");this.c("rollOverIconURL",d.k,"iconURL");this.c("pressedIconURL",d.oa,"iconURL");this.c("pressedRollOverIconURL",d.Na,"iconURL")};a.prototype.oI=function(){var a=new f(3);a.set("scaleMode",b.le);return a};a.prototype.X=function(){if(this.h("iconURL")){var a=this.f("iconURL");this.Ug.set("url",a);this.Ug.set("visible",a?q:B);this.j("iconURL")}c.prototype.X.call(this)};
return a});define("dn",["gD","do","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("Button",a).D("BaseButton").K({iconURL:"string",rollOverIconURL:"string",pressedIconURL:"string",pressedRollOverIconURL:"string"}).Hj(["iconURL","rollOverIconURL","pressedIconURL","pressedRollOverIconURL"]);return a});define("bv",["gD","gU"],function(a,b){var d=a.extend(b,function(){b.call(this);this.Be=[]});d.prototype.Xe=N("Be");return d});
define("fy",["gD","bv"],function(a,b){var d=a.extend(b,function(a){b.call(this);this.yd=a});d.Oj="2d";d.wc="3d";d.MG="group";return d});define("ih",["gD","fy"],function(a,b){var d=a.extend(b,function(a){b.call(this,b.wc);this.g_=a;this.$h=this.xg=this.wg=this.B=this.t=0;this.ia=1});d.prototype.ca=function(a,b,d,g,h,e){this.t=a;this.B=b;this.wg=d;this.xg=g;this.$h=h;this.ia=e};d.prototype.Xa=N("t");d.prototype.gb=N("B");d.prototype.gf=N("ia");return d});
define("gp",["require","gD","ih"],function(a){var b=a("gD"),d=a("ih"),c=b.extend(d,function(a,b,g){d.call(this,c.wc);this.$m={};this.Mc=n;1==a.length?(this.Mc=a[0],this.tD=c.XQ):(this.$m[c.Iz]=a[0],this.$m[c.Kr]=a[1],this.$m[c.Gz]=a[2],this.$m[c.Jr]=a[3],this.$m[c.Jz]=a[4],this.$m[c.Hz]=a[5],this.tD=c.tG);this.Ni=b;this.Ob=g;this.Be=[];if(this.tD==c.tG)for(a=0;a<c.kG.length;a++)(b=this.jm(c.kG[a]))&&this.Be.push(b);else(a=this.hb())&&this.Be.push(a)});c.prototype.jm=function(a){a=this.$m[a];return"string"==
typeof a?a:s};c.prototype.yga=function(a){a=this.$m[a];return"string"==typeof a?s:a};c.prototype.hb=function(){return"string"==typeof this.Mc?this.Mc:s};c.prototype.Dj=function(){return"string"==typeof this.Mc?s:this.Mc};c.Iz="front";c.Jr="left";c.Gz="back";c.Kr="right";c.Jz="top";c.Hz="bottom";c.kG=[c.Iz,c.Kr,c.Gz,c.Jr,c.Jz,c.Hz];c.XQ="single";c.tG="multiple";c.wc="cube";return c});
define("gq",["require"],function(){var a={},b=180/Math.PI,d=Math.PI/180;a.nm=function(a,b,d){return this.Hy(a,b,d)};a.Dr=function(a,b,d){return this.Hy(a,d,b)};a.Hy=function(a,f,j){return 2*Math.atan(j*Math.tan(0.5*a*d)/f)*b};return a});
define("cb","require,gD,ih,fn,gq,hb".split(","),function(a){var b=a("gD"),d=a("ih"),c=a("fn"),f=a("gq"),j=a("hb"),g=b.extend(d,function(a,b,l,p,o,r){d.call(this,g.wc);this.Mc=this.cb=s;if(typeof a=="string")this.cb=a;else if(a)this.Mc=a;this.o=b;this.A=l;this.Be=[];(c.is(this.cb,c.nG)||c.Wy(this.cb,c.oG))&&this.Be.push(this.cb);this.q=p;this.Jd=o||f.nm(p,b,l);this.Vb=r||j.Ru;this.NI=500;this.nS=0;this.LS=n;this.NS=this.MS=0});g.prototype.hb=N("cb");g.prototype.Dj=N("Mc");g.prototype.Pk=H("Mc");g.prototype.Ea=
N("o");g.prototype.Ma=N("A");g.prototype.ZE=H("q");g.prototype.Hja=H("Jd");g.prototype.vo=H("NI");g.prototype.tia=H("nS");g.prototype.Bia=H("LS");g.prototype.Dia=H("NS");g.prototype.Cia=H("MS");g.wc="plane";return g});define("dS",["gD","fy"],function(a,b){return a.extend(b,function(a){b.call(this,b.Oj);this.f_=a})});
define("dq",["gD","dS"],function(a,b){var d=a.extend(b,function(a,f,j,g,h,e,l,p){b.call(this,d.Oj);this.cb=a;this.t=f;this.B=j;this.qa=g;this.fj=h;this.gj=e;this.o=l;this.A=p});d.prototype.hb=N("cb");d.prototype.Xa=N("t");d.prototype.gb=N("B");d.prototype.Sc=N("qa");d.prototype.Ea=N("o");d.prototype.Ma=N("A");d.Oj="plane 2D";return d});
define("hz",["require","gD","ih","fn"],function(a){var b=a("gD"),d=a("ih"),c=a("fn"),f=b.extend(d,function(a,b,h,e,l,p,o){d.call(this,f.wc);this.Mc=this.cb=s;"string"==typeof a?this.cb=a:a&&(this.Mc=a);this.vt=b;this.wt=h;this.Px=e;this.o=l;this.A=p;this.Ob=o;this.Be=[];a=this.hb();(c.is(a,c.nG)||c.Wy(a,c.oG))&&this.Be.push(a)});f.prototype.hb=N("cb");f.prototype.Dj=N("Mc");f.prototype.Pk=H("Mc");f.prototype.Ea=N("o");f.prototype.Ma=N("A");f.wc="sphere";return f});
define("ho",["require","gD","ih"],function(a){var b=a("gD"),d=a("ih"),c=b.extend(d,function(a,b,g,h,e,l,p){d.call(this,c.wc);this.Mc=a;this.vt=b;this.wt=g;this.Px=h;this.o=e;this.A=l;this.Ob=p;this.L6();this.Be=(a=this.hb())?[a]:[]});c.prototype.hb=function(){return"string"==typeof this.Mc?this.Mc:s};c.prototype.Dj=function(){return"string"==typeof this.Mc?s:this.Mc};c.prototype.L6=function(){var a=this.vt/this.wt;this.wD=Math.abs(0.5*this.o/this.A/a-1)<Math.abs(this.o/(0.5*this.A)/a-1)?c.qG:c.NG};
c.prototype.Ea=N("o");c.prototype.Ma=N("A");c.wc="stereosphere";c.qG="leftAndRight";c.NG="upAndDown";return c});define("fh",["require","gD","ih"],function(a){var b=a("gD"),d=a("ih"),c=b.extend(d,function(a,b,g){d.call(this,c.wc);this.Mc=a;this.Ni=b;this.Ob=g;this.Be=(a=this.hb())?[a]:[]});c.prototype.hb=function(){return"string"==typeof this.Mc?this.Mc:s};c.prototype.Dj=function(){return"string"==typeof this.Mc?s:this.Mc};c.wc="stereocube";return c});
define("dv",["require","gD","ih","fn"],function(a){var b=a("gD"),d=a("ih");a("fn");var c=b.extend(d,function(a,b,g,h,e,l,p,o){d.call(this,c.wc);this.O_=a;this.dY=b||s;this.Mc=s;this.vt=g;this.wt=h;this.Px=e;this.o=l;this.A=p;this.Ob=o;this.Be=[];b&&this.Be.push(b)});c.prototype.hb=function(){return this.dY||this.O_};c.prototype.Dj=N("Mc");c.prototype.Pk=H("Mc");c.prototype.Ea=N("o");c.prototype.Ma=N("A");c.wc="VideoSphere";return c});
define("iC","require,cu,cO,cP,gp,cb,dq,hz,ho,fh,dv".split(","),function(a){var b=a("cu"),d=a("cO"),c=a("cP"),f=a("gp"),j=a("cb"),g=a("dq"),h=a("hz"),e=a("ho"),l=a("fh"),p=a("dv");return{Hfa:function(){var a=this.b6(128);return new f([a,a,a,a,a,a],128,B)},l0:function(a,b,e,c,f,h,d,g,l){return this.E6(a,b,e,c,f,h,d,g,l)},Iy:function(a,b,e,f,h,d,g,l,j){return this.kT(a,c.Uk,b,e,f,h,d,g,l,j)},Ifa:function(a,b,e,f,h,d,g){return this.mT(a,b,e,f,h,d,g,c.Uk)},Kfa:function(a,b){return this.oT(a,b,c.Uk)},Nfa:function(a,
b){return this.Sv(a,b,c.Uk)},Lfa:function(a,b,e,f,h){return this.pT(a,b,e,f,h,c.Uk)},Ofa:function(a,b,e,f,h){return this.Tv(a,b,e,f,h,c.Uk)},Mfa:function(a,b,e,c,f){return this.w6(a,b,e,c,f)},Jfa:function(a,b,e,f,h,d,g,l){return this.nT(a,c.Uk,b,e,f,h,d,g,l)},gE:function(a,b,e,f,h,d,g,l,j,p){return this.wq(this.kT(a,c.Lj,b,e,f,h,d,g,l,j),p)},Pfa:function(a,b,e,f,h,d,g,l){return this.wq(this.mT(a,b,e,f,h,d,g,c.Lj),l)},Rfa:function(a,b,e){return this.wq(this.oT(a,b,c.Lj),e)},Tfa:function(a,b,e){return this.wq(this.Sv(a,
b,c.Lj),e)},Sfa:function(a,b,e,f,h,d){return this.wq(this.pT(a,b,e,f,h,c.Lj),d)},Ufa:function(a,b,e,f,h,d){return this.wq(this.Tv(a,b,e,f,h,c.Lj),d)},Qfa:function(a,b,e,f,h,d,g,l,j){return this.wq(this.nT(a,c.Lj,b,e,f,h,d,g,l),j)},wq:function(a,e){return b(a).isEqual(e)?e:a},kT:function(a,b,e,c,f,h,g,l,p,v){var b=a&&a.Sf(b),D=1,F=1;if(a&&d.hc("AnimatedImageResource",a)){D=a.get("rowCount",1);F=a.get("colCount",1)}if(b){a=new j(b.get("url"),b.get("width")/F,b.get("height")/D,l,p,v);a.ca(e,c,f,h,g,
1);return a}return s},E6:function(a,b,e,c,f,h,d,g,l){if(a){a=new j(a.hb(),a.get("width"),a.get("height"),d,g,l);a.ca(b,e,c,f,h,1);return a}return s},mT:function(a,b,e,c,h,d,g,l){for(var a=[a,b,e,c,h,d],b=[],j,e=0;e<a.length;e++){var c=a[e],p;if(c)if(c=c.Sf(l)){j===n?j=c.get("width")||c.get("height"):(j!=c.get("width")||j!=c.get("height"))&&k("Invalid faces dimensions");p=c.get("url")}b.push(p)}return new f(b,j,g||B)},Sv:function(a,b,e){a=(e=a&&a.Sf(e,12,1))&&e.get("url");e=e&&e.get("height");return new l(a,
e,b||B)},oT:function(a,b,e){a=(e=a&&a.Sf(e,6,1))&&e.get("url");e=e&&e.get("height");return new f([a],e,b||B)},pT:function(a,b,e,c,f,d){var g=a&&a.Sf(d,4,2),a=g&&g.get("url"),d=g&&g.get("width"),g=g&&g.get("height");return new h(a,b,e,c,d,g,f||B)},Tv:function(a,b,c,f,h,d){var g=a&&a.Sf(d,4,4),a=g&&g.get("url"),d=g&&g.get("width"),g=g&&g.get("height");return new e(a,b,c,f,d,g,h||B)},w6:function(a,b,e,c,f){var h=a&&a.Sf(),a=h&&h.get("url"),d=h&&h.get("width"),g=h&&h.get("height"),h=h&&h.get("posterURL");
if(!d||!g){!d&&!g&&(d=2048);g?d=Math.round(g*b/e):g=Math.round(d*e/b)}return new p(a,h,b,e,c,d,g,f||B)},nT:function(a,b,e,c,f,h,d,l,j){if(a)if(a=a.Sf(b))return new g(a.get("url"),e,c,f,h,d,l,j);return s},b6:function(a){return this.x6(a,a,"#000000")},x6:function(a,b,e){var c=document.createElement("canvas");c.width=a;c.height=b;var f=c.getContext("2d");if(e){f.fillStyle=e;f.fillRect(0,0,a,b)}else f.clearRect(0,0,a,b);return c}}});
define("df",["require","gD","fy"],function(a){var b=a("gD"),d=a("fy"),c=b.extend(d,function(a){d.call(this,d.MG);this.Ua=a?a.slice():[]});c.prototype.Se=function(a,b){b!==n?this.Ua.splice(b,0,a):this.Ua.push(a);this.trigger(c.Nz)};c.prototype.removeItem=function(a){a=this.Ua.indexOf(a);0<=a&&(this.Ua.splice(a,1),this.trigger(c.Nz))};c.prototype.h2=function(a){this.Ua=a;this.trigger(c.Nz)};c.prototype.Zt=N("Ua");c.prototype.Xe=function(){for(var a=[],b=0;b<this.Ua.length;b++)a=a.concat(this.Ua[b].Xe());
return a};c.Nz="itemsChange";return c});
define("eB","require,cu,gD,gU,iu,cO,iC,df".split(","),function(a){a("cu");var b=a("gD"),d=a("gU"),c=a("iu"),f=a("cO"),j=a("iC");a("df");a=b.extend(d,function(){d.call(this);this.lb=this.xa=n;this.nq=f.hc("CeilingCapPanoramaOverlay",this)?-1:1});f.C("CapPanoramaOverlay",a).D("PanoramaOverlay").K({angle:"number",distance:"number",hfov:"number",image:"ImageResource",inertia:"bool",rotate:"bool",useHandCursor:"bool"}).Jb([c.Mj,c.oe]).qi([c.ga]);a.prototype.getItem=function(){return this.va()};a.prototype.va=
function(){if(this.xa===n){this.xa=j.Iy(this.get("image"),0,-90*this.nq,0,0,0,this.get("hfov"),n,n);this.Lg(this.xa)}return this.xa};a.prototype.$c=function(){if(this.lb===n){this.lb=j.gE(this.get("image"),0,-90*this.nq,0,0,0,this.get("hfov"),n,n,n);this.Lg(this.lb)}return this.lb};a.prototype.Ad=function(){return this.get("image")?this.get("image").Ad():s};a.prototype.We=function(){return this.get("image")?this.get("image").We():s};a.prototype.Lg=function(a){if(a){var b=this.get("distance");b!==
n&&a.vo(b)}};return a});define("et",["gD","cO","eB"],function(a,b,d){a=a.extend(d,function(){d.call(this)});b.C("CeilingCapPanoramaOverlay",a).D("CapPanoramaOverlay");return a});
define("bA","cu,jquery.mod,gD,iu,bB,d".split(","),function(a,b,d,c,f,j){a=d.extend(j,function(){j.call(this);this.Lc("Canvas");this.UI=q;this.I=s;this.bind(c.Nb,this.x5,this)});a.prototype.x5=function(){this.EE()};a.prototype.EE=function(){this.UI=q;this.Tf()};a.prototype.Sa=function(){j.prototype.Sa.call(this);if(!this.I){this.I=b("<canvas/>");this.I.css({position:"absolute",left:0,top:0,cursor:"inherit"});this.Pa().append(this.I)}};a.prototype.X=function(){this.bS()&&this.EE();j.prototype.X.call(this)};
a.prototype.Md=function(){if(this.UI){this.UI=B;var a=this.I.get(0);a.width=this.Ld();a.height=this.Kd();this.eka()}j.prototype.Md.call(this)};a.prototype.wga=function(){return this.I.get(0).width};a.prototype.vga=function(){return this.I.get(0).height};a.prototype.uga=function(){return this.I.get(0).getContext("2d")};a.prototype.eka=function(){this.trigger(new f(c.W))};return a});
define("fS",["gD","iu","dN","gS","bA"],function(a,b,d,c,f){a=a.extend(c,function(){c.call(this)});a.prototype.jf=function(){c.prototype.jf.call(this)};a.prototype.ma=function(){c.prototype.ma.call(this);this.a("iconColor");this.c("rollOverIconColor",d.k,"iconColor");this.c("pressedIconColor",d.oa,"iconColor");this.c("pressedRollOverIconColor",d.Na,"iconColor")};a.prototype.oI=function(){var a=new f;a.bind(b.W,this.F2,this,q);return a};a.prototype.X=function(){this.h("iconColor")&&(this.Ug.EE(),this.j("iconColor"));
c.prototype.X.call(this)};a.prototype.b8=function(){return this.f("iconColor")};a.prototype.c8=function(){return this.Ug.uga()};a.prototype.e8=function(){return this.Ug.wga()};a.prototype.d8=function(){return this.Ug.vga()};a.prototype.F2=E();return a});
define("dr",["gD","fS","hy","dN"],function(a,b,d,c){a=a.extend(b,function(){b.call(this);this.T({horizontalAlign:d.md,verticalAlign:d.Ed})});a.prototype.ma=function(){b.prototype.ma.call(this);this.a("iconLineWidth");this.c("rollOverIconLineWidth",c.k,"iconLineWidth");this.c("pressedIconLineWidth",c.oa,"iconLineWidth");this.c("pressedRollOverIconLineWidth",c.Na,"iconLineWidth")};a.prototype.l8=function(){return this.f("iconLineWidth")};a.prototype.X=function(){this.h("iconLineWidth")&&(this.Ug.EE(),
this.j("iconLineWidth"));b.prototype.X.call(this)};a.prototype.F2=function(){var a=this.c8(),b=this.b8(),c=this.e8(),h=this.d8(),e=this.l8();a.clearRect(0,0,c,h);a.lineWidth=e||1;a.strokeStyle=b||"#000000";a.beginPath();a.moveTo(0,0);a.lineTo(c,h);a.moveTo(0,h);a.lineTo(c,0);a.closePath();a.stroke()};return a});
define("fq",["gD","dr","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("CloseButton",a).D("BaseButton").K({iconColor:"color",iconLineWidth:"number",rollOverIconColor:"color",rollOverIconLineWidth:"number",pressedIconColor:"color",pressedIconLineWidth:"number",pressedRollOverIconColor:"color",pressedRollOverIconLineWidth:"number"});return a});
define("gT",["cu","gD","ig","cO"],function(a,b,d,c){a=b.extend(d,function(){d.call(this)});c.C("Container",a).D("UIComponent").K({children:"array[UIComponent]",contentOpaque:"bool",childrenInteractionEnabled:"bool",creationPolicy:"enum[inAdvance, delayed]",layout:"enum[absolute, vertical, horizontal]",gap:"number",horizontalAlign:"enum[center, left, right]",overflow:"enum[scroll, hidden, visible]",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",
verticalAlign:"enum[bottom, middle, top]"}).si({scrollTo:function(a,b){d.prototype.scrollTo.call(this,a,b)}});return a});
define("bK",["require","gD","gU","cO","df"],function(a){var b=a("gD"),d=a("gU"),c=a("cO"),f=a("df"),a=b.extend(d,function(){d.call(this);this.set("enabled",q);this.set("interactionEnabled",q);this.reset()});c.C("HotspotPanoramaOverlay",a).D("PanoramaOverlay").K({centerOverDisplay:"bool",rollOverDisplay:"bool",useHandCursor:"bool",enabled:"bool",enabledInCardboard:"bool",enabledInVR:"bool",interactionEnabled:"bool",items:"array[or[FlatHotspotPanoramaOverlayImage, HotspotPanoramaOverlayImage]]",rollOverItems:"array[or[FlatHotspotPanoramaOverlayImage, HotspotPanoramaOverlayImage]]",
maps:"array[or[FlatHotspotPanoramaOverlayMap, HotspotPanoramaOverlayMap]]",rollOverMaps:"array[or[FlatHotspotPanoramaOverlayMap, HotspotPanoramaOverlayMap]]",areas:"array[or[FlatHotspotPanoramaOverlayArea, HotspotPanoramaOverlayArea]]"});a.prototype.reset=function(){this.lb=this.xa=this.kM=this.tK=this.Hd=this.g=n};a.prototype.clone=function(){var a=b.clone(this,1);a.set("items",a.get("items",[]).map(function(a){return a.clone()}));a.set("rollOverItems",a.get("items",[]).map(function(a){return a.clone()}));
return a};a.prototype.getItem=function(){this.g===n&&(this.g=new f((this.get("items")||[]).map(function(a){return a.va()})));return this.g};a.prototype.gu=function(){if(this.Hd===n){var a=this.get("rollOverItems")||[];this.Hd=0<a.length?new f(a.map(function(a){return a.va()})):s}return this.Hd};a.prototype.I0=function(){this.tK===n&&(this.tK=new f((this.get("items")||[]).map(function(a){return a.$c()})));return this.tK};a.prototype.S0=function(){if(this.kM===n){var a=this.get("rollOverItems")||[];
this.kM=0<a.length?new f(a.map(function(a){return a.$c()})):s}return this.kM};a.prototype.va=function(){if(this.xa===n){var a=[this.getItem()];this.gu()&&a.push(this.gu());this.xa=new f(a)}return this.xa};a.prototype.$c=function(){if(this.lb===n){var a=this.I0(),b=this.S0(),c=[];a&&c.push(a);b&&c.push(b);this.lb=new f(c)}return this.lb};return a});
define("gL","require,cu,gD,gU,cO,bK,df".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("gU"),f=a("cO"),j=a("bK"),g=a("df"),a=d.extend(c,function(){c.call(this);this.Ob=B;this.q=360;this.Jd=180;this.B=0;this.QX=q;this.CX=B;this.pp()});f.C("PanoramaFrame",a).D("Object").K({thumbnailUrl:"string",snapshots:"array[PanoramaSnapshot]",overlays:"array[PanoramaOverlay]"}).Hj(["thumbnailUrl"]);a.prototype.Dfa=function(){if(!this.CX){this.CX=q;var a=this.get("overlays",[]),a=a.map(function(a){a instanceof
j&&(a=a.clone());return a});this.set("overlays",a)}};a.prototype.pp=function(){this.JM=this.KM=this.xa=this.lb=this.uH=this.HM=n};a.prototype.Mia=function(a){if(this.Ob!=a){this.Ob=a;this.pp()}};a.prototype.ria=function(a,b,c){if(this.q!=a||this.Jd!=b||this.B!=c){this.q=a;this.Jd=b;this.B=c;this.pp()}};a.prototype.ufa=function(){var a;if(this.FB())a=B;else{if(!(a=this.Cj().length>0)){a:{a=this.dU().Xe();var b=this.QU().Xe();if(a.length!=b.length)a=B;else{for(var c=0,f=a.length;c<f;c++)if(b.indexOf(a[c])==
-1||a.indexOf(b[c])==-1){a=B;break a}a=q}}a=!a}a=a?q:B}return a};a.prototype.ku=function(){var a=this.get("overlays")||[];return b(a).some(function(a){return f.hc("TripodCapPanoramaOverlay",a)})};a.prototype.ju=function(){var a=this.get("overlays")||[];return b(a).some(function(a){return f.hc("CeilingCapPanoramaOverlay",a)})};a.prototype.getItem=function(){return this.va()};a.prototype.$c=function(){if(this.lb===n)this.lb=new g([this.HO(),this.FO()]);return this.lb};a.prototype.HO=function(){return this.QU()};
a.prototype.FO=function(){if(this.EX==n)this.EX=new g(this.GO());return this.EX};a.prototype.GO=function(){return this.Sy().map(function(a){return a.$c()})};a.prototype.va=function(){if(this.xa==n)this.xa=new g([this.O0(),this.N0()]);return this.xa};a.prototype.O0=function(){return this.dU()};a.prototype.N0=function(){if(this.DX==n)this.DX=new g(this.Gga());return this.DX};a.prototype.Gga=function(){return this.Cj().map(function(a){return a.va()})};a.prototype.FP=H("QX");a.prototype.li=function(){return this.QX?
this.Jp(this.HO()):this.Jp(this.va())};a.prototype.lga=function(){for(var a=this.EJ(),b=0;b<a.length;b++){var c=a[b],d=c[0],g=c[1];verticalFaces=c[2];if((c=this.get(d))&&f.hc("ImageResource",c)){a=c.Ad(g,verticalFaces);g=a.get("width")/g*4;a=a.get("height")/verticalFaces*2;return[g,a]}}};a.prototype.EJ=function(){return[]};a.prototype.Jp=function(a){return a?a.Xe():[]};a.prototype.Sy=function(){if(this.KM===n){var a=(this.get("overlays")||[]).slice(),b=function(a){return f.hc("LensFlarePanoramaOverlay",
a)};this.KM=[].concat(a.filter(function(a){return!(f.hc("PopupPanoramaOverlay",a)||b(a))}),a.filter(b))}return this.KM};a.prototype.Cj=function(){if(this.JM===n){var a=(this.get("overlays")||[]).slice(),b=function(a){return f.hc("PopupPanoramaOverlay",a)},c=function(a){return f.hc("LensFlarePanoramaOverlay",a)};this.JM=[].concat(a.filter(function(a){return!(b(a)||c(a))}),a.filter(c),a.filter(b))}return this.JM};a.prototype.FB=P(B);a.prototype.dU=function(){if(this.uH==n)this.uH=this.OA();return this.uH};
a.prototype.QU=function(){if(this.HM===n)this.HM=this.pI();return this.HM};a.prototype.OA=function(){k("Not implemented")};a.prototype.pI=function(){k("Not implemented")};return a});
define("in",["require","gD","cO","gL","iC"],function(a){var b=a("gD"),d=a("cO"),c=a("gL"),f=a("iC"),a=b.extend(c,function(){c.call(this)});d.C("CubicPanoramaFrame",a).D("PanoramaFrame").K({cube:"ImageResource",stereoCube:"ImageResource",front:"ImageResource",left:"ImageResource",back:"ImageResource",right:"ImageResource",top:"ImageResource",bottom:"ImageResource"});a.prototype.EJ=function(){return[["stereoCube",12,1],["cube",6,1],["front",1,1]]};a.prototype.OA=function(){return this.get("stereoCube")?
f.Nfa(this.get("stereoCube"),this.Ob):this.get("cube")?f.Kfa(this.get("cube"),this.Ob):f.Ifa(this.get("front"),this.get("right"),this.get("back"),this.get("left"),this.get("top"),this.get("bottom"),this.Ob)};a.prototype.pI=function(){return this.get("stereoCube")?f.Tfa(this.get("stereoCube"),this.Ob):this.get("cube")?f.Rfa(this.get("cube"),this.Ob):f.Pfa(this.get("front"),this.get("right"),this.get("back"),this.get("left"),this.get("top"),this.get("bottom"),this.Ob)};return a});
define("bN",["require","gO"],function(a){a("gO");a={mp3:"data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ogg:"data:audio/ogg;base64, "};
a.src=a.ogg;return a});
define("hw",["require","bN","o","he"],function(a){function b(a,b,c){function f(){a.removeEventListener("play",h,B);a.removeEventListener("error",d,B)}function d(){g||(f(),c&&c())}function h(){g=q;f();b&&b()}var g=B;a.addEventListener("play",h,B);a.addEventListener("error",d,B);var j=a.play();j&&j["catch"](d)}function d(a){h=a;j=q;c()}function c(){for(;g.length;)g.shift().call(window,h)}var f=a("bN");a("o");a("he");var j=B,g=[],h=n;(function(){var a=document.createElement("audio");a.src=f.src;try{b(a,
function(){a.pause();d(B)},function(){d(q)})}catch(c){d(q)}})();return{test:function(a){g.push(a);j&&c()}}});
define("eu","require,cu,gD,iu,dU,ew,bB,dx,it,bN,hw,eQ,d,gX,dV".split(","),function(a){function b(a){v.forEach(function(b){b.Lt.call(b.Nc,a)});v=[]}function d(a){v=f(v).filter(function(b){return b.Nc!=a});v.length==0&&D.forEach(function(a){a.og.hide(C,b)})}function c(a,e,c){d(a);v.push({Nc:a,Lt:e});f(D).contains(c)||D.push(c);v.length==1&&D.forEach(function(a){a.og.show(C,b)})}var f=a("cu"),j=a("gD"),g=a("iu"),h=a("dU"),e=a("ew"),l=a("bB"),p=a("dx"),o=a("it"),r=a("bN"),m=a("hw"),t=a("eQ"),u=a("d"),
w=a("gX"),A=a("dV"),z=r.src,a=j.extend(p,function(){p.call(this);this.bL=this.bL.bind(this);this.dk=this.dk.bind(this);this.Pl=this.Pl.bind(this);this.bq=this.bq.bind(this);this.Qx=[];this.Vr="";this.$k=h.J;this.aq=n;this.jp=B;this.Ef=h.J;this.gk="";this.Yh=n;this.Dp=B;this.Vc="inactive";A.bind(g.W,this.PN,this);this.xc=document.createElement("audio");this.xc.autobuffer="autobuffer";this.xc.pr="auto";this.xc.addEventListener("progress",this.bL,B);this.xc.addEventListener("ended",this.dk,q);this.xc.addEventListener("pause",
this.Pl,B);this.xc.addEventListener("canplaythrough",this.bq,B);m.test(function(a){a?w.TP(this.Jh.bind(this)):this.Vc="activated"}.bind(this))});a.prototype.sr=H("Fa");a.prototype.play=function(a,b){this.gk=a;this.Yh=b;this.ot(h.P)};a.prototype.stop=function(){this.ot(h.J)};a.prototype.Ue=function(){return this.xc&&this.xc.currentTime||0};a.prototype.xh=function(a){this.xc.volume=a};a.prototype.ot=function(a){this.Ef=a;this.Vc=="activated"?A.visible&&this.lk():this.Vc=="inactive"&&(u.HE()?this.Jh():
this.Ef!=h.J?this.pv():this.lk())};a.prototype.pv=function(){this.Vc="asking";c(this,this.gC,this.Fa)};a.prototype.zA=function(){this.Vc="inactive";d(this)};a.prototype.gC=function(a){if(this.Vc=="asking")this.Vc="inactive";a?this.Jh():this.Fa.set("mute",q)};a.prototype.bL=function(){if(this.Yh!==n){this.xc.currentTime=this.Yh;this.Yh=n}};a.prototype.Pl=function(){if(this.$k==h.P||this.jp&&this.aq==h.P)!isNaN(this.xc.duration)&&this.xc.currentTime==this.xc.duration?this.dk():A.visible&&this.xc.play()};
a.prototype.dk=function(){if(this.$k==h.P||this.jp&&this.aq==h.P){this.uj(B);this.$k=h.J;this.trigger(new l(g.ra))}};a.prototype.bq=function(){this.uj(B)};a.prototype.PN=function(){A.visible?this.Ef&&this.Q9?this.lk():this.$k==h.P&&this.xc.play():this.$k==h.P&&this.xc.pause()};a.prototype.Jh=function(){if(this.Vc=="inactive"){this.Vc="activating";this.kZ(z);this.UX(function(){this.Vc="activated";this.xc.pause();this.lk()}.bind(this),function(){this.Vc="inactive";this.pv()}.bind(this))}};a.prototype.lk=
function(){this.Ef!=h.J&&this.Mba(this.gk,this.Yh);this.Nba(this.Ef);this.Yh=this.Ef=this.gk=n};a.prototype.Mba=function(a,b){this.kZ(a||"");if(this.xc.currentTime!=b)this.xc.currentTime=b};a.prototype.Nba=function(a){this.aq=a;this.jp||this.KC()};a.prototype.KC=function(){if(this.$k!=this.aq)if(this.aq==h.P||this.aq==h.Xb&&this.$k!=h.P){this.jp=q;this.uj(this.Vr!=z&&this.Vr!=""?q:B);var a=function(){if(this.jp){this.$k=h.P;this.jp=B;this.KC()}}.bind(this),b=function(){this.jp=B;this.uj(B);setTimeout(function(){this.KC()}.bind(this),
100)}.bind(this);this.UX(a,b)}else{this.uj(B);this.xc.pause();this.$k=this.aq;this.KC()}};a.prototype.UX=function(a,b){function e(){if(!f){o();b&&b()}}function c(){f=q;o();a&&a()}var f=B,d=2E3,h,g=function(){d=Math.min(d*2,8E3);h=setTimeout(g,d);this.xc.play()}.bind(this),l=function(){this.xc.addEventListener("play",c,B);this.xc.addEventListener("error",e,B);h=setTimeout(g,d)}.bind(this),o=function(){this.xc.removeEventListener("play",c,B);this.xc.removeEventListener("error",e,B);clearTimeout(h)}.bind(this);
l();(l=this.xc.play())&&l["catch"](e)};a.prototype.kZ=function(a){if(this.Vr!=a){this.Vr=a;this.xc.src=this.Vr?this.Vr:r.src}};a.prototype.uj=function(a){if(this.Dp!=a)(this.Dp=a)?t.w2(e.Oz):t.v2(e.Oz)};var C=o("enable-audio-prompt"),v=[],D=[];return a});
define("ex","require,cu,iu,bB,eu,o,dt".split(","),function(a){var b=a("cu"),d=a("iu"),c=a("bB"),f=a("eu"),j=a("o"),g=a("dt"),a={YJ:function(){this.Fa=s;this.ZX=j.ic()?1:5;this.v$=j.ic()?B:q;this.ge=[];for(var a=0;a<this.ZX;a++){var b=new f;b.bind(d.ra,this.jC,this,q);this.ge.push(b)}this.mS=this.ge.slice();this.kk={};this.dt=[];g.bind(d.Vz,this.Wa,this,q);g.bind(d.od,this.Wa,this,q);this.q5=j.zd()!=j.Gr&&j.zd()!=j.Bo},sr:function(a){this.Fa=a;this.ge.forEach(function(b){b.sr(a)});this.Wa()},l2:function(a,
b){if(a.Jc!=b){a.ad(b);this.qN(a);this.Wa()}},xh:function(a,b){if(a.ii!=b){a.xh(b);this.qN(a);this.Wa()}},qN:function(a){a.Ac&&a.Ac.xh(a.Jc?0:a.ii)},add:function(a){if(!this.yV(a)){this.bba(a);this.Wa()}},remove:function(a){if(this.yV(a)){this.Sn(a);this.Wa()}},Wa:function(){var a=this.r8(),e=b.difference(this.dt,a),a=b.difference(a,this.dt);e.forEach(this.EY.bind(this));a.forEach(this.q4.bind(this))},EY:function(a){var e=a.Ac;a.setTime(e.Ue());a.o2(s);e.stop();this.mS.push(e);this.dt=b(this.dt).without(a)},
q4:function(a){var b=this.mS.shift();a.o2(b);this.qN(a);b.play(a.hb(),a.getTime());this.dt.push(a)},jC:function(a){var e=a.source,a=b(this.dt).find(function(a){return a.Ac==e});this.EY(a);a.TB?this.u$(a):this.Sn(a);a.setTime(0);a.trigger(new c(d.ra));this.Wa()},bba:function(a){var b=a.du();this.kk[b]==n&&(this.kk[b]=[]);this.kk[b].splice(0,0,a)},yV:function(a){a.du();return this.kk&&b(this.kk[a.du()]).contains(a)},r8:function(){if(!this.Fa||!this.q5&&g.kr())return[];var a=b(this.kk).keys();a.sort(function(a,
b){return b-a});for(var e=[],c=0;c<a.length;c++)for(var f=this.kk[a[c]],d=0;d<f.length;d++){var j=f[d];if(this.v$||!this.Y9(j)){e.push(j);if(e.length==this.ZX)return e}}return e},Y9:function(a){return a.Jc||a.ii==0},Sn:function(a){var e=a.du(),c=this.kk[e];if(c){a=b(c).indexOf(a);if(a>=0){c.splice(a,1);c.length==0&&delete this.kk[e]}}},u$:function(a){var e=this.kk[a.du()];if(e){var c=b(e).indexOf(a);if(c>=0){e.splice(c,1);e.push(a)}}}};a.YJ();return a});
define("fR",["require","gD","dx"],function(a){var b=a("gD"),d=a("dx"),a=b.extend(d,function(a,b){d.call(this);this.cb=a;this.gt=b;this.Pb=0;this.Jc=this.TB=B;this.Ac=s;this.ii=1});a.prototype.toString=function(){return"SharedAudioPlayerOrchestatorItem (url:"+this.cb+" priority:"+this.gt+" time:"+this.Pb+" loop:"+this.TB+")"};a.prototype.hb=N("cb");a.prototype.du=N("gt");a.prototype.setTime=H("Pb");a.prototype.getTime=N("Pb");a.prototype.BP=H("TB");a.prototype.ad=H("Jc");a.prototype.xh=H("ii");a.prototype.o2=
H("Ac");return a});
define("cQ","require,gD,iu,bB,gU,dU,ex,fR".split(","),function(a){var b=a("gD"),d=a("iu"),c=a("bB"),f=a("gU"),j=a("dU"),g=a("ex"),h=a("fR"),a=b.extend(f,function(a,b){f.call(this);this.set("state",j.J);this.g=new h(a,b);this.g.setTime(0);this.g.bind(d.ra,this.jX,this,q)});a.prototype.clear=function(){g.remove(this.g);this.g.unbind(d.ra,this.jX,this,q);this.set("state",j.J)};a.prototype.play=function(){g.add(this.g);this.set("state",j.P)};a.prototype.pause=function(){g.remove(this.g);this.get("state")==
j.P&&this.set("state",j.Xb)};a.prototype.stop=function(){g.remove(this.g);this.g.setTime(0);this.set("state",j.J)};a.prototype.BP=function(a){this.g.BP(a)};a.prototype.so=function(){g.l2(this.g,q)};a.prototype.Cr=function(){g.l2(this.g,B)};a.prototype.xh=function(a){g.xh(this.g,a)};a.prototype.jX=function(){this.g.TB||this.set("state",j.J);this.trigger(new c(d.ra))};return a});
define("fs",["require","cQ","gO"],function(a){function b(){}var d=a("cQ"),c=a("gO");b.t3=3;b.s3=2;b.r3=2;b.I3=1;b.jka="mp3";b.lka="ogg";b.kka="none";b.create=function(a,c,g){return new d(b.oia(a,c),g)};b.oia=function(a,b){return a&&c.k1?a:b&&c.l1?b:a||b};return b});
define("dR","require,gD,iu,dU,gU,bB,cO,fs".split(","),function(a){var b=a("gD"),d=a("iu"),c=a("dU"),f=a("gU"),j=a("bB"),g=a("cO"),h=a("fs"),e=b.extend(f,function(a){f.call(this);this.set("state",c.J);this.gt=a||h.I3;this.Mh=n});e.nd="stateChange";g.C("Audio",e).D("Object").K({audio:"AudioResource",loop:"bool",state:"enum[stopped, playing, paused]"}).si({play:function(){this.Ff()},pause:function(){this.fh()},stop:function(){this.di()}}).Jb([d.ra,e.nd]);e.prototype.St=function(){if(this.Mh==n){var a=
this.get("audio");if(a){this.Mh=h.create(a.get("mp3Url"),a.get("oggUrl"),this.gt);a=function(){this.Mh.BP(this.get("loop",B))};a.call(this);this.bind(d.Qa("loop"),a,this);a=function(){this.get("application").get("mute",B)?this.Mh.so():this.Mh.Cr()};a.call(this);this.get("application").bind(d.Qa("mute"),a,this,q);a=function(){this.set("state",this.Mh.get("state"))};a.call(this);this.Mh.bind(d.Qa("state"),a,this,q);this.Mh.bind(d.ra,this.G$,this,q)}else this.Mh=s}return this.Mh};e.prototype.set=function(a,
b){if(a=="state"){var d=this.get("state"),h=this.Mh?this.Mh.get("state"):c.J;h!=d&&this.trigger(new j(e.nd,{oldState:d,state:h}))}f.prototype.set.call(this,a,b)};e.prototype.li=function(){return[]};e.prototype.G$=function(){this.trigger(new j(d.ra))};e.prototype.Ff=function(){var a=this.St();a&&a.play()};e.prototype.di=function(){var a=this.St();a&&a.stop()};e.prototype.fh=function(){var a=this.St();a&&a.pause()};return e});
define("dz",["gD","cO","dR"],function(a,b,d){a=a.extend(d,function(a){d.call(this,a)});b.C("MediaAudio",a).D("Audio").K({autoplay:"bool"});return a});define("iJ",["gD","cO","dz","fs"],function(a,b,d,c){a=a.extend(d,function(){d.call(this,c.r3)});b.C("PanoramaAudio",a).D("MediaAudio");return a});define("dX",["gD","iJ","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("DirectionalPanoramaAudio",a).D("PanoramaAudio").K({yaw:"number",pitch:"number",maximumAngle:"number"});return a});
define("ey",["require","gD","gU","cO"],function(a){var b=a("gD"),d=a("gU"),a=a("cO"),b=b.extend(d,function(){d.call(this)});a.C("DistancePanoramaCameraMovement",b).D("DistanceRotationalCameraMovement");return b});define("eS",["require","gD","gU","cO"],function(a){var b=a("gD"),d=a("gU"),a=a("cO"),b=b.extend(d,function(){d.call(this)});a.C("DistanceRotationalCameraMovement",b).D("RotationalCameraMovement").K({hfovDelta:"number",pitchDelta:"number",yawDelta:"number"});return b});
define("r","require,cu,iu,gD,bB,dx".split(","),function(a){function b(a,b,f,e,d){this.wl=s;this.RK=a;this.KT=c.Qa(this.RK);this.Q8=b;this.Za=f||window;this.C9=e;this.nW=d;this.hK=B}var d=a("cu"),c=a("iu"),f=a("gD");a("bB");a("dx");b.prototype.unwatch=function(){this.hM(s)};b.prototype.hM=function(a){d(this.xU()).each(function(a){a&&a.unbind(this.KT,this.IS,this)},this);this.wl=a;d(this.xU()).each(function(a){a&&a.bind(this.KT,this.IS,this,this.C9)},this);this.JY()};b.prototype.xU=function(){return this.wl?
d(this.wl).isArray()?this.wl:[this.wl]:[]};b.prototype.JY=function(){this.nW&&this.nW.hM(this.a8())};b.prototype.a8=function(){return this.wl==s?s:d(this.wl).isArray()?d(this.wl).map(function(a){return a?a.get(this.RK):s},this):this.wl.get(this.RK)};b.prototype.IS=function(a){if(!this.hK){try{this.hK=q;this.JY();this.Q8.call(this.Za,a)}catch(b){f.ME("ChangeWatcher._changeHandler",b)}this.hK=B}};b.watch=function(a,c,f,e,l){d.isString(c)&&(c=c.split("."));typeof l=="undefined"&&(l=B);if(c.length>0){c=
new b(c[0],f,e,l,b.watch(s,c.slice(1),f,e,l));c.hM(a);return c}return s};return b});
define("iF",["jquery.mod","gD","iu","d"],function(a,b,d,c){var f=b.extend(c,function(){c.call(this);this.Lc("DropDownArrow");this.I=s;this.jl=q;this.bind(d.Nb,this.d7,this)});f.prototype.ma=function(){c.prototype.ma.call(this);this.a("color","#000000");this.a("direction",f.AF)};f.prototype.d7=function(){this.jl=q;this.Rb()};f.prototype.Sa=function(){c.prototype.Sa.call(this);this.I||(this.I=a("<canvas/>"),this.I.css({position:"absolute",left:0,top:0}),this.Pa().append(this.I))};f.prototype.X=function(){var a=
B;this.h("color")&&(a=q,this.j("color"));this.h("direction")&&(a=q,this.j("direction"));this.jl&&(a=q,this.jl=B);if(a){var a=this.Ld(),b=this.Kd(),d=this.f("color"),e=this.f("direction"),l=[0.5*a,0,a],e=e==f.AF?[b,0,0]:[0,b,b],p=this.I.get(0);p.width=a;p.height=b;p=p.getContext("2d");p.clearRect(0,0,a,b);p.beginPath();p.moveTo(l[0],e[0]);p.lineTo(l[1],e[1]);p.lineTo(l[2],e[2]);p.fillStyle=d;p.fill()}c.prototype.X.call(this)};f.AF="down";f.ska="up";return f});
define("em","gD,bB,hy,J,iu,c,dN,ig,iF,fg".split(","),function(a,b,d,c,f,j,g,h,e,l){a=a.extend(h,function(){h.call(this);this.Lc("DropDownButton");this.Jm=this.wa=s;this.uK=q;this.set("autoRolledOver",q);this.set("autoPressed",q);this.set("childrenInteractionEnabled",B);this.set("contentOpaque",q);this.set("cursor",c.Uc);this.bind(f.ga,this.VI,this)});a.prototype.ma=function(){h.prototype.ma.call(this);this.a("arrowColor","#000000");this.a("arrowBeforeLabel");this.a("arrowWidth",9);this.a("arrowHeight",
5);this.a("arrowGap",5);this.a("shadow",B);this.a("layout",j.ne);this.a("verticalAlign",d.Ed);this.a("borderRadius",5);this.a("borderColor","#AAAAAA");this.a("borderSize",1);this.a("backgroundColor",["#FAFAFA","#E5E5E5"]);this.a("backgroundColorRatios",[0,1]);this.a("backgroundColorDirection","vertical");this.a("paddingLeft",5);this.a("paddingTop",5);this.a("paddingRight",5);this.a("paddingBottom",5);this.a("fontFamily");this.a("fontSize");this.a("fontColor","#555555");this.a("fontWeight");this.a("fontStyle");
this.a("textDecoration");this.a("textShadowColor");this.a("textShadowHorizontalLength");this.a("textShadowVerticalLength");this.a("textShadowBlurRadius");this.a("textShadowOpacity");this.c("rollOverBorderColor",g.k,"borderColor");this.c("rollOverArrowColor",g.k,"arrowColor");this.c("rollOverBackgroundColor",g.k,"backgroundColor");this.c("rollOverBackgroundColorRatios",g.k,"backgroundColorRatios");this.c("rollOverShadow",g.k,"shadow");this.c("pressedBorderColor",g.oa,"borderColor");this.c("pressedArrowColor",
g.oa,"arrowColor");this.c("pressedBackgroundColor",g.oa,"backgroundColor");this.c("pressedBackgroundColorRatios",g.oa,"backgroundColorRatios");this.c("pressedShadow",g.oa,"shadow");this.c("pressedRollOverBorderColor",g.Na,"borderColor");this.c("pressedRollOverArrowColor",g.Na,"arrowColor");this.c("pressedRollOverBackgroundColor",g.Na,"backgroundColor");this.c("pressedRollOverBackgroundColorRatios",g.Na,"backgroundColorRatios");this.c("pressedRollOverShadow",g.Na,"shadow");this.c("pressedBorderColor",
g.v,"borderColor");this.c("pressedArrowColor",g.v,"arrowColor");this.c("pressedBackgroundColor",g.v,"backgroundColor");this.c("pressedBackgroundColorRatios",g.v,"backgroundColorRatios");this.c("pressedShadow",g.v,"shadow")};a.prototype.set=function(a,b){if(a=="label"&&this.get("label")!=b){this.uK=q;this.Rb()}h.prototype.set.call(this,a,b)};a.prototype.Sa=function(){h.prototype.Sa.call(this);if(!this.wa){this.wa=new l;this.wa.set("width","100%");this.Ca(this.wa)}if(!this.Jm){this.Jm=new e;this.Jm.set("direction",
e.AF);this.Ca(this.Jm)}};a.prototype.VI=function(){this.open();this.trigger(new b(f.OPEN))};a.prototype.open=function(){this.unbind(f.ga,this.VI,this);this.Mx(q)};a.prototype.close=function(){this.bind(f.ga,this.VI,this);this.Mx(B)};a.prototype.X=function(){if(this.uK){this.wa.set("text",this.get("label"));this.uK=B}this.eb(["horizontalAlign","fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius",
"textShadowOpacity"],{},[this.wa],q,q);if(this.h("arrowGap")){this.set("gap",this.f("arrowGap"));this.j("arrowGap")}if(this.h("arrowColor")){this.Jm.set("color",this.f("arrowColor"));this.j("arrowColor")}if(this.h("arrowBeforeLabel")){this.f("arrowBeforeLabel")==q?this.uh(this.Jm,0):this.uh(this.wa,0);this.j("arrowBeforeLabel")}if(this.h("arrowWidth")){this.Jm.set("width",this.f("arrowWidth"));this.j("arrowWidth")}if(this.h("arrowHeight")){this.Jm.set("height",this.f("arrowHeight"));this.j("arrowHeight")}h.prototype.X.call(this)};
return a});define("eb",["cu","gD","ig","c"],function(a,b,d,c){var f=b.extend(d,function(){d.call(this)});f.Ya={layout:c.qe};a.defaults(f.Ya,d.Ya);f.prototype.ma=function(){this.Ph(f.Ya)};return f});
define("gK","gD,bB,hy,J,eq,iu,ig,eb,hB,fg".split(","),function(a,b,d,c,f,j,g,h,e,l){a=a.extend(g,function(){g.call(this);this.Lc("DropDownPopup");this.pb=s;this.qA=B;this.ea=s;this.Cw=[];this.ao=q});a.prototype.open=function(a){this.pb=a;this.qA=q;this.$a().uh(this,this.$a().sb().length-1);this.set("visible",q);this.$a().bind(j.xb,this.gW,this);this.$a().bind(j.Nb,this.rb,this)};a.prototype.close=function(){this.pb=s;this.qA=q;this.set("visible",B);this.ea.set("overflow",f.Xo);this.$a().unbind(j.xb,
this.gW,this);this.$a().bind(j.Nb,this.rb,this)};a.prototype.Sa=function(){g.prototype.Sa.call(this);if(!this.ea){this.ea=new h;this.ea.set("overflow",f.Xo);this.ea.bind(j.Nb,this.rb,this);this.Ca(this.ea)}};a.prototype.rb=function(){this.v_()};a.prototype.gW=function(){this.get("overIndex")==-1&&this.trigger(new b(j.Lu))};a.prototype.W$=function(a){this.set("overIndex",this.AJ(a.source))};a.prototype.X$=function(a){a=this.AJ(a.source);this.get("overIndex")==a&&this.set("overIndex",-1)};a.prototype.V$=
function(a){a=this.AJ(a.source);this.set("overIndex",a);this.set("selectedIndex",a);this.trigger(new b(j.Tz))};a.prototype.AJ=function(a){for(var b=0;b<this.Cw.length;b++)if(this.Cw[b]==a)return b;return-1};a.prototype.ma=function(){g.prototype.ma.call(this);this.a("visible",B);this.a("width","100%");this.a("height","100%");this.a("includeInLayout",B);this.a("items",[]);this.a("selectedIndex",-1);this.a("overIndex",-1);this.a("popUpGap",0);this.a("popUpBackgroundColor");this.a("popUpBackgroundOpacity");
this.a("rollOverPopUpBackgroundColor");this.a("selectedPopUpBackgroundColor");this.a("popUpFontColor");this.a("rollOverPopUpFontColor");this.a("selectedPopUpFontColor");this.a("popUpShadow",q);this.a("popUpShadowBlurRadius");this.a("popUpShadowColor");this.a("popUpShadowHorizontalLength");this.a("popUpShadowOpacity");this.a("popUpShadowSpread");this.a("popUpShadowVerticalLength")};a.prototype.X=function(){var a=B,b=B;if(this.h("items")){for(var a=this.f("items")||[],e=this.Cw.length;e<a.length;e++){var f=
new l;f.T({width:"100%",paddingLeft:5,paddingRight:5,paddingBottom:2,paddingTop:2,cursor:c.Uc});f.bind(j.Mj,this.W$,this);f.bind(j.oe,this.X$,this);f.bind(j.ga,this.V$,this);this.Cw.push(f)}f=this.ea.sb();for(e=a.length;e<f.length;e++)this.ea.removeChild(f[e]);for(e=f.length;e<a.length;e++)this.ea.Ca(this.Cw[e]);for(e=0;e<a.length;e++)f[e].set("text",a[e]);this.j("items");b=a=q}if(this.h("selectedIndex")){this.j("selectedIndex");a=q}for(var d=["horizontalAlign","popUpPaddingBottom","popUpPaddingLeft",
"popUpPaddingRight","popUpPaddingTop","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"],e=0;e<d.length;e++){f=d[e];if(this.h(f)){this.j(f);b=q}}if(b){d={fontFamily:this.f("fontFamily"),fontSize:this.f("fontSize"),fontWeight:this.f("fontWeight"),fontStyle:this.f("fontStyle"),horizontalAlign:this.f("horizontalAlign"),textDecoration:this.f("textDecoration"),textShadowColor:this.f("textShadowColor"),
textShadowHorizontalLength:this.f("textShadowHorizontalLength"),textShadowVerticalLength:this.f("textShadowVerticalLength"),textShadowBlurRadius:this.f("textShadowBlurRadius"),textShadowOpacity:this.f("textShadowOpacity"),paddingBottom:this.f("popUpPaddingBottom"),paddingLeft:this.f("popUpPaddingLeft"),paddingRight:this.f("popUpPaddingRight"),paddingTop:this.f("popUpPaddingTop"),backgroundOpacity:this.f("popUpBackgroundOpacity")};f=this.ea.sb();for(e=0;e<f.length;e++)f[e].T(d)}d=["selectedIndex",
"overIndex","popUpBackgroundColor","rollOverPopUpBackgroundColor","selectedPopUpBackgroundColor","popUpFontColor","rollOverPopUpFontColor","selectedPopUpFontColor"];for(e=0;e<d.length;e++){f=d[e];if(this.h(f)){this.j(f);a=q}}if(a)for(var a=this.f("popUpBackgroundColor"),d=this.f("rollOverPopUpBackgroundColor")||a,b=this.f("selectedPopUpBackgroundColor")||a,h=this.f("popUpFontColor"),w=this.f("rollOverPopUpFontColor")||h,A=this.f("selectedPopUpFontColor")||h,z=this.f("selectedIndex"),C=this.f("overIndex"),
f=this.ea.sb(),e=0;e<f.length;e++)e==z?f[e].T({fontColor:A,backgroundColor:b}):e==C?f[e].T({fontColor:w,backgroundColor:d}):f[e].T({fontColor:h,backgroundColor:a});if(this.qA||this.h("popUpGap")){this.pb&&this.ea.set("minWidth",this.pb.aa());this.j("popUpGap");this.v_();this.qA=B}this.eb(["popUpShadow","popUpShadowBlurRadius","popUpShadowColor","popUpShadowHorizontalLength","popUpShadowOpacity","popUpShadowSpread","popUpShadowVerticalLength"],{popUpShadow:"shadow",popUpShadowBlurRadius:"shadowBlurRadius",
popUpShadowColor:"shadowColor",popUpShadowHorizontalLength:"shadowHorizontalLength",popUpShadowOpacity:"shadowOpacity",popUpShadowSpread:"shadowSpread",popUpShadowVerticalLength:"shadowVerticalLength"},[this.ea],q,q);this.k_();g.prototype.X.call(this)};a.prototype.v_=function(){if(this.pb){var a=this.$a(),b=this.pb.Lga(a),e=this.pb.aa(),c=this.pb.la(),h=this.f("popUpGap"),g=this.ea.Aa,l=this.ea.Ga,j=a.la()-(b.top+c+h)-5,z=b.top-5-h,C=this.f("horizontalAlign");if(l<=j){this.ao=q;this.ea.set("top",
b.top+c+h);this.ea.set("maxHeight",n);this.ea.set("overflow",f.Xo)}else if(l<=z){this.ao=B;this.ea.set("top",b.top-l-h);this.ea.set("maxHeight",n);this.ea.set("overflow",f.Xo)}else{if(j>=z){this.ao=q;this.ea.set("top",b.top+c+h);this.ea.set("maxHeight",j)}else{this.ao=B;this.ea.set("top",b.top-z+h);this.ea.set("maxHeight",z)}this.ea.set("overflow",f.Wo)}c=C==d.md?b.left+Math.round((e-g)*0.5):C==d.Nd?b.left+e-g:b.left;c<0?c=b.left:b.left+g>a.aa()&&(c=b.left+e-g);this.ea.set("left",c);this.k_()}};a.prototype.k_=
function(){var a=this.f("popUpBorderRadius");this.ea.T({borderTopRadius:this.ao?0:a,borderBottomRadius:this.ao?a:0});for(var b=this.ea.sb(),e=0;e<b.length;e++){var c=e==0,f=e==b.length-1;b[e].T({borderTopRadius:!this.ao&&c?a:0,borderBottomRadius:this.ao&&f?a:0})}};return a});
define("iz","require,gD,bB,iu,ig,em,gK".split(","),function(a){var b=a("gD"),d=a("bB"),c=a("iu"),f=a("ig"),j=a("em"),g=a("gK"),a=b.extend(f,function(){f.call(this);this.Lc("DropDown");this.tw=B;this.pb=this.Gf=s;this.tZ=q;this.Wb=-1;this.yg=B});a.prototype.ma=function(){f.prototype.ma.call(this);this.a("prompt","");this.a("label","");this.a("items",[]);this.a("selectedIndex",-1);this.a("arrowBeforeLabel");this.a("arrowWidth",9);this.a("arrowHeight",5);this.a("arrowGap",5);this.a("borderRadius",5);
this.a("borderSize",1);this.a("backgroundColorDirection","vertical");this.a("horizontalAlign","left");this.a("paddingLeft",5);this.a("paddingTop",5);this.a("paddingRight",5);this.a("paddingBottom",5);this.a("fontFamily");this.a("fontSize");this.a("fontColor","#555555");this.a("fontWeight");this.a("fontStyle");this.a("textDecoration");this.a("textShadowColor");this.a("textShadowHorizontalLength");this.a("textShadowVerticalLength");this.a("textShadowBlurRadius");this.a("textShadowOpacity");this.a("popUpGap",
0);this.a("popUpBorderRadius");this.a("popUpPaddingBottom",2);this.a("popUpPaddingLeft",5);this.a("popUpPaddingRight",5);this.a("popUpPaddingTop",2);this.a("popUpShadow",q);this.a("popUpShadowBlurRadius");this.a("popUpShadowColor");this.a("popUpShadowHorizontalLength");this.a("popUpShadowOpacity");this.a("popUpShadowSpread");this.a("popUpShadowVerticalLength");this.a("popUpBackgroundColor","#FFFFFF");this.a("popUpBackgroundOpacity");this.a("rollOverPopUpBackgroundColor");this.a("selectedPopUpBackgroundColor");
this.a("popUpFontColor","#555555");this.a("rollOverPopUpFontColor");this.a("selectedPopUpFontColor");this.a("borderColor","#AAAAAA");this.a("arrowColor","#000000");this.a("backgroundColor",["#FAFAFA","#E5E5E5"]);this.a("backgroundColorRatios",[0,1]);this.a("shadow",B);this.a("rollOverBorderColor");this.a("rollOverArrowColor");this.a("rollOverBackgroundColor");this.a("rollOverBackgroundColorRatios");this.a("rollOverShadow");this.a("pressedBorderColor");this.a("pressedArrowColor");this.a("pressedBackgroundColor");
this.a("pressedBackgroundColorRatios");this.a("pressedShadow");this.a("pressedRollOverBorderColor");this.a("pressedRollOverArrowColor");this.a("pressedRollOverBackgroundColor");this.a("pressedRollOverBackgroundColorRatios");this.a("pressedRollOverShadow")};a.prototype.Sa=function(){f.prototype.Sa.call(this);if(!this.pb){this.pb=new j;this.pb.bind(c.Nb,this.J$,this);this.pb.bind(c.OPEN,this.faa,this);this.pb.bind(c.Lu,this.UK,this);this.pb.bind(c.me,this.I$,this);this.pb.set("width","100%");this.pb.set("height",
"100%");this.Ca(this.pb)}if(!this.Gf){this.Gf=new g;this.Gf.bind(c.Lu,this.UK,this);this.Gf.bind(c.Tz,this.vaa,this);this.$a().Ca(this.Gf)}};a.prototype.J$=function(){this.tZ=q;this.Rb()};a.prototype.faa=function(){this.pb.open();this.Gf.set("selectedIndex",this.get("selectedIndex"));this.Gf.open(this.pb)};a.prototype.UK=function(){this.pb.close();this.Gf.close()};a.prototype.I$=function(){this.pb.close();this.Gf.close()};a.prototype.vaa=function(){this.set("selectedIndex",this.Gf.get("selectedIndex"));
this.UK();this.yg=q};a.prototype.X=function(){var a=B;if(this.h("prompt")||this.h("label")){a=q;this.j("label");this.j("prompt")}if(this.h("selectedIndex")||this.h("items")){var a=q,b=this.f("selectedIndex"),g=this.f("items");b>=0&&b>=g.length&&(b=-1);this.set("selectedIndex",b);this.Gf.set("items",this.f("items"));this.Gf.set("selectedIndex",this.f("selectedIndex"));this.j("items");this.j("selectedIndex");if(this.yg){this.yg=B;this.trigger(new d(c.W))}}if(a){a=this.f("label");if(!a){b=this.f("selectedIndex");
a=b<0?this.f("prompt"):this.f("items")[b]}this.pb.set("label",a)}this.tZ&&this.Gf.set("minWidth",this.pb.aa());this.eb(["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","horizontalAlign","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"],{},[this.pb,this.Gf],q,q);this.eb(["popUpBorderRadius","popUpGap","popUpPaddingBottom","popUpPaddingLeft","popUpPaddingRight","popUpPaddingTop","popUpBackgroundColor",
"popUpBackgroundOpacity","rollOverPopUpBackgroundColor","selectedPopUpBackgroundColor","popUpFontColor","rollOverPopUpFontColor","selectedPopUpFontColor","popUpShadow","popUpShadowBlurRadius","popUpShadowColor","popUpShadowHorizontalLength","popUpShadowOpacity","popUpShadowSpread","popUpShadowVerticalLength"],{},[this.Gf],q,q);this.eb(["arrowBeforeLabel","arrowWidth","arrowHeight","arrowColor","rollOverArrowColor","pressedArrowColor","pressedRollOverArrowColor","arrowGap","shadow","shadowBlurRadius",
"shadowColor","shadowHorizontalLength","shadowOpacity","shadowSpread","shadowVerticalLength","borderRadius","borderTopRadius","borderBottomRadius","borderLeftRadius","borderRightRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderSize","borderLeftSize","borderTopSize","borderRightSize","borderBottomSize","borderColor","borderLeftColor","borderTopColor","borderRightColor","borderBottomColor","rollOverBorderColor","pressedBorderColor","pressedRollOverBorderColor",
"backgroundColor","backgroundColorRatios","backgroundColorDirection","backgroundOpacity","rollOverBackgroundColor","rollOverBackgroundColorRatios","rollOverShadow","pressedBackgroundColor","pressedBackgroundColorRatios","pressedShadow","pressedRollOverBackgroundColor","pressedRollOverBackgroundColorRatios","pressedRollOverShadow","paddingLeft","paddingTop","paddingRight","paddingBottom"],{},[this.pb],q,q);f.prototype.X.call(this)};return a});
define("di","require,gD,r,iu,iz,cO,cu".split(","),function(a){var b=a("gD"),d=a("r"),c=a("iu"),f=a("iz"),j=a("cO"),g=a("cu"),a=b.extend(f,function(){f.call(this);this.zb=s;this.OV=[];this.bind(c.W,this.M$,this)});j.C("DropDown",a).D("UIComponent").K({arrowBeforeLabel:"bool",arrowColor:"color",arrowHeight:"number",arrowWidth:"number",fontFamily:"string",fontSize:"or[number, size]",fontColor:"color",fontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",fontStyle:"enum[italic, normal]",
gap:"number",horizontalAlign:"enum[left, center, right]",label:"string",playList:"PlayList",popUpGap:"number",popUpBackgroundColor:"color",popUpBackgroundOpacity:"number",popUpBorderRadius:"number",popUpFontColor:"color",popUpPaddingBottom:"number",popUpPaddingLeft:"number",popUpPaddingRight:"number",popUpPaddingTop:"number",popUpShadow:"bool",popUpShadowBlurRadius:"number",popUpShadowColor:"color",popUpShadowHorizontalLength:"number",popUpShadowOpacity:"number",popUpShadowSpread:"number",popUpShadowVerticalLength:"number",
pressedArrowColor:"color",pressedShadow:"bool",pressedBackgroundColor:"or[array[color], color]",pressedBackgroundColorRatios:"array[number]",pressedRollOverArrowColor:"color",pressedRollOverShadow:"bool",pressedRollOverBackgroundColor:"or[array[color], color]",pressedRollOverBackgroundColorRatios:"array[number]",prompt:"string",rollOverArrowColor:"color",rollOverBackgroundColor:"or[array[color], color]",rollOverBackgroundColorRatios:"array[number]",rollOverPopUpBackgroundColor:"color",rollOverPopUpFontColor:"color",
rollOverShadow:"bool",selectedPopUpBackgroundColor:"color",selectedPopUpFontColor:"color",textDecoration:"enum[underline, overline, line-through, none]",textShadowBlurRadius:"number",textShadowColor:"color",textShadowHorizontalLength:"number",textShadowOpacity:"number",textShadowVerticalLength:"number"}).xm(["fontSize"]);a.prototype.set=function(a,b){if(a=="playList"){if(this.zb)for(this.zb.unbind("change",this.Ql,this);this.OV.length;)this.OV.shift().unwatch();if(this.zb=b){d.watch(this.zb,"items.label",
this.KD,this);d.watch(this.zb,"items.media.label",this.KD,this);this.KD();this.zb.bind("change",this.Ql,this);this.Ql()}else this.KD()}else f.prototype.set.call(this,a,b)};a.prototype.KD=function(){this.zb?this.set("items",g(this.zb.get("items")).map(function(a){return a.get("label")||a.get("media").get("label")})):this.set("items",[])};a.prototype.Ql=function(){this.set("selectedIndex",this.zb.get("selectedIndex"))};a.prototype.M$=function(){this.zb&&this.zb.set("selectedIndex",this.get("selectedIndex"))};
return a});
define("cC","gD,gU,iu,bB,M,il,bd".split(","),function(a,b,d,c,f,j,g){a=a.extend(b,function(){b.call(this);this.Lb=n;this.zt=[];this.Zj=B;this.set("easing","linear");this.set("duration",1E3)});a.prototype.play=function(a){if(!this.kr(a)){this.Zj=q;this.zt.push(a);this.Je=0;this.Lb=Math.max(this.get("duration",1E3),0);this.nc=new j(this.get("easing","linear"),[new g("pos",0,1)],this.Lb);this.DM();this.IL()}};a.prototype.end=function(){if(this.Zj){this.Je=this.Lb;this.oD();this.IL()}};a.prototype.kr=function(a){return this.Zj&&
this.zt.indexOf(a)>=0};a.prototype.xe=function(a){if(this.Zj){this.Je=Math.min(this.Lb,this.Je+a);this.nc.setTime(this.Je);this.oD();this.IL()}};a.prototype.uJ=function(){return this.nc.La("pos")};a.prototype.rl=function(a){if(this.zt)for(var b=0;b<this.zt.length;b++)a.call(this,this.zt[b],b)};a.prototype.DM=E();a.prototype.oD=E();a.prototype.tt=E();a.prototype.IL=function(){if(this.Je<this.Lb)f.Dc(this.xe,this);else{this.tt();this.Zj=B;this.zt=[];this.trigger(new c(d.ra))}};return a});
define("bb",["gD","iu","bB","cO","cC"],function(a,b,d,c,f){a=a.extend(f,function(){f.call(this)});c.C("Effect",a).D("Object").K({duration:"number",easing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]"}).Jb([b.ra]);return a});
define("R",["gD","cC"],function(a,b){var d=a.extend(b,function(){b.call(this);this.hA=this.gA=s});d.prototype.DM=function(){this.gA=[];this.hA=[];this.rl(function(a){this.gA.push(this.get("alphaFrom",a.Ve()));this.hA.push(this.get("alphaTo",a.Ve()))});this.rl(function(a,b){a.wh(this.gA[b]);a.Fe(q)})};d.prototype.oD=function(){this.rl(function(a,b){var d=this.gA[b];a.wh(d+(this.hA[b]-d)*this.uJ())})};d.prototype.tt=function(){this.rl(function(a,b){a.wh(this.hA[b])})};return d});
define("hM",["gD","R"],function(a,b){return a.extend(b,function(){b.call(this);this.set("alphaFrom",0);this.set("alphaTo",1)})});define("hV",["gD","hM","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("FadeInEffect",a).D("Effect");return a});define("hZ",["gD","R"],function(a,b){var d=a.extend(b,function(){b.call(this);this.set("alphaFrom",1);this.set("alphaTo",0)});d.prototype.tt=function(){b.prototype.tt.call(this);this.rl(function(a){a.Fe(B);a.wh(1)})};return d});
define("fH",["gD","hZ","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("FadeOutEffect",a).D("Effect");return a});define("hm",["cO","bK"],function(a,b){a.C("FlatHotspotPanoramaOverlay",b).D("HotspotPanoramaOverlay");return b});
define("n",["gD","gU","cO","iu"],function(a,b,d,c){a=a.extend(b,function(){b.call(this)});d.C("HotspotPanoramaOverlayArea",a).D("Object").K({mapColor:"or[color,enum[image,transparent,any]]",toolTip:"string",displayTooltipInTouchScreens:"bool",useHandCursor:"bool"}).Jb([c.Yb,c.Kb,c.Mj,c.oe]).qi([c.ga]);return a});define("dd",["cO","n"],function(a,b){a.C("FlatHotspotPanoramaOverlayArea",b).D("HotspotPanoramaOverlayArea");return b});
define("cr",["require","gD","gU","cO"],function(a){var b=a("gD"),d=a("gU"),a=a("cO"),b=b.extend(d,function(a,b,j,g,h){d.call(this);a!==n&&this.set("yaw",a);b!==n&&this.set("pitch",b);j!==n&&this.set("roll",j);this.set("opacity",g!==n?g:1);h!==n&&this.set("timestamp",h)});a.C("FlatPanoramaOverlayPlaybackPosition",b).D("Object").K({opacity:"number",pitch:"number",roll:"number",timestamp:"number",yaw:"number"});return b});
define("dw",["require","gD","gU","cO"],function(a){var b=a("gD"),d=a("gU"),a=a("cO"),b=b.extend(d,function(a,b,j,g,h,e,l,p,o){d.call(this);a!==n&&this.set("yaw",a);b!==n&&this.set("pitch",b);j!==n&&this.set("rotationX",j);g!==n&&this.set("rotationY",g);h!==n&&this.set("roll",h);e!==n&&this.set("hfov",e);l!==n&&this.set("vfov",l);this.set("opacity",p!==n?p:1);o!==n&&this.set("timestamp",o)});a.C("PanoramaOverlayPlaybackPosition",b).D("Object").K({opacity:"number",yaw:"number",pitch:"number",rotationX:"number",
rotationY:"number",roll:"number",hfov:"number",vfov:"number",timestamp:"number"});return b});
define("E",["require","gD","gU","cO"],function(a){var b=a("gD"),d=a("gU"),a=a("cO"),b=b.extend(d,function(a,b,j,g,h,e,l){d.call(this);a!==n&&this.set("yaw",a);b!==n&&this.set("pitch",b);j!==n&&this.set("rotationX",j);g!==n&&this.set("rotationY",g);h!==n&&this.set("rotationZ",h);e!==n&&this.set("hfov",e);l!==n&&this.set("timestamp",l)});a.C("PopupPanoramaOverlayPlaybackPosition",b).D("Object").K({yaw:"number",pitch:"number",rotationX:"number",rotationY:"number",rotationZ:"number",hfov:"number",timestamp:"number"});
return b});
define("ga",["require","cu","cr","dw","E"],function(a){a("cu");var b=a("cr"),d=a("dw"),c=a("E");return{E0:function(a){return this.FJ(a,this.r7)},uc:function(a){return this.FJ(a,this.Oaa)},Jga:function(a){return this.FJ(a,this.Vaa)},r7:function(a){var c=a.get("yaw"),d=a.get("pitch"),h=a.get("roll",0),a=a.get("opacity",1);return c!==n&&d!==n?new b(c,d,h,a,0):s},Oaa:function(a){var b=a.get("yaw"),c=a.get("pitch"),h=a.get("rotationX",0),e=a.get("rotationY",0),l=a.get("roll",0),p=a.get("hfov"),o=a.get("vfov"),
a=a.get("opacity",1);return b!==n&&c!==n&&(p!==n||o!==n)?new d(b,c,h,e,l,p,o,a,0):s},Vaa:function(a){var b=a.get("yaw"),d=a.get("pitch"),h=a.get("rotationX",0),e=a.get("rotationY",0),l=a.get("rotationZ",0),a=a.get("hfov");return b!==n&&d!==n&&a!==n?new c(b,d,h,e,l,a,0):s},FJ:function(a,b){var c=a.get("playbackPositions")||[];c.sort(function(a,b){return a.get("timestamp")-b.get("timestamp")});if(0==c.length||0<c[0].timestamp){var d=b(a);d&&(c=[d].concat(c))}return c}}});
define("l","require,gD,gU,iu,cO,iC,ga".split(","),function(a){var b=a("gD"),d=a("gU"),c=a("iu"),f=a("cO"),j=a("iC"),g=a("ga"),a=b.extend(d,function(){d.call(this);this.reset()});f.C("FlatHotspotPanoramaOverlayImage",a).D("Object").K({height:"number",image:"ImageResource",offsetX:"number",offsetY:"number",pitch:"number",roll:"number",width:"number",yaw:"number",playbackPositions:"array[FlatPanoramaOverlayPlaybackPosition]"}).Jb([c.pe,c.me]);a.prototype.reset=function(){this.fd=this.lb=this.xa=n};a.prototype.clone=
function(){var a=b.clone(this);a.reset();return a};a.prototype.getItem=function(){return this.va()};a.prototype.uc=function(){if(this.fd===n)this.fd=g.E0(this);return this.fd};a.prototype.va=function(){if(this.xa===n){var a=this.uc()[0];this.xa=j.Jfa(this.get("image"),a.get("yaw"),a.get("pitch"),a.get("roll",0),this.get("offsetX"),this.get("offsetY"),this.get("width"),this.get("height"))}return this.xa};a.prototype.$c=function(){if(this.lb===n){var a=this.uc()[0];this.lb=j.Qfa(this.get("image"),a.get("yaw"),
a.get("pitch"),a.get("roll",0),this.get("offsetX"),this.get("offsetY"),this.get("width"),this.get("height"))}return this.lb};return a});
define("cp","require,gD,gU,iu,cO,ga".split(","),function(a){var b=a("gD"),d=a("gU"),c=a("iu"),f=a("cO"),j=a("ga"),a=b.extend(d,function(){d.call(this);this.fd=n});f.C("FlatHotspotPanoramaOverlayMap",a).D("Object").K({height:"number",image:"ImageResource",offsetX:"number",offsetY:"number",pitch:"number",roll:"number",width:"number",yaw:"number",playbackPositions:"array[FlatPanoramaOverlayPlaybackPosition]"}).Jb([c.pe,c.me]);a.prototype.uc=function(){if(this.fd===n)this.fd=j.E0(this);return this.fd};
a.prototype.Ad=function(){return this.get("image")?this.get("image").Ad():s};a.prototype.We=function(){return this.get("image")?this.get("image").We():s};return a});define("ca",["cu","gD","ig","c"],function(a,b,d,c){var f=b.extend(d,function(){d.call(this)});f.Ya={layout:c.Em};a.defaults(f.Ya,d.Ya);f.prototype.ma=function(){this.Ph(f.Ya)};return f});
define("fJ",["cu","gD","ca","cO"],function(a,b,d,c){a=b.extend(d,function(){d.call(this)});c.C("GridContainer",a).D("UIComponent").K({children:"array[UIComponent]",contentOpaque:"bool",childrenInteractionEnabled:"bool",creationPolicy:"enum[inAdvance, delayed]",gap:"number",horizontalAlign:"enum[center, left, right]",itemHeight:"or[number, percent]",itemMaxHeight:"number",itemMaxWidth:"number",itemMinHeight:"number",itemMinWidth:"number",itemWidth:"or[number, percent]",overflow:"enum[scroll, hidden, visible]",
scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",verticalAlign:"enum[bottom, middle, top]"});return a});
define("fv","require,cu,jquery.mod,bB,dx,iu,ew,he,gf,eQ,gD".split(","),function(a){function b(){}function d(a){this.Vha=a;this.ro=[];this.Ee=0}var c=a("cu");a("jquery.mod");var f=a("bB"),j=a("dx"),g=a("iu"),h=a("ew"),e=a("he"),l=a("gf"),p=a("eQ"),a=a("gD"),o=a.extend(j,function(a){j.call(this);this.url=a;this.nP=this.Ee=0;this.status=o.HG;this.ym=s});o.prototype.v1=function(a){this.nP=this.nP+a};o.prototype.$y=function(a){this.Ee=this.Ee+a};o.prototype.start=function(){this.status=o.Wz;l.x2(this.url)?
this.Os():this.bj=p.add(this.url,h.vz,this.Lba.bind(this),this.FS.bind(this))};o.prototype.Lba=function(){this.ym=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");this.ym.open("GET",this.url);this.ym.onreadystatechange=function(){this.ym.readyState>3&&this.Os()}.bind(this);this.ym.send()};o.prototype.FS=function(){if(this.ym){this.ym.abort();this.ym=s}};o.prototype.stop=function(){if(this.status==o.Wz){this.status=o.HG;this.FS();this.bj&&this.bj.cancel()}};o.prototype.Os=
function(){this.ym=s;if(this.bj){this.bj.loaded();this.bj=s}this.status=o.B3;this.trigger(new f(g.ib))};o.HG="not loaded";o.Wz="loading";o.B3="loaded";d.prototype.Se=function(a){if(!c(this.ro).contains(a)){this.ro.push(a);a.$y(this.Ee);a.v1(1)}};d.prototype.Zha=function(){c(this.ro).each(function(a){a.$y(-this.Ee);a.v1(-1)},this);this.Ua=[];this.Ee=0};d.prototype.$y=function(a){this.Ee=this.Ee+a;c(this.ro).each(function(b){b.$y(a)})};b.Ua=[];b.yY=[];b.z7=0;b.ofa=function(a,b){var e=this.WL(a);c(b).each(function(a){e.Se(this.g(a))},
this);this.IM();this.Wa()};b.cia=function(a){this.WL(a).Zha();this.IM();this.Wa()};b.NE=function(a,b){this.WL(a).$y(b);this.IM();this.Wa()};b.IM=function(){this.Ua=c(this.Ua).sortBy(function(a){return-a.Ee})};b.Wa=function(){if(this.enabled()){var a=this.h8(),b=this.i8(),e=c(a).difference(b);c(e).each(function(a){a.stop()});a=c(b).difference(a);c(a).each(function(a){a.start()})}};b.Wa=a.qm(b.Wa,b);b.h8=function(){return c(this.Ua).filter(function(a){return a.status==o.Wz})};b.i8=function(){for(var a=
this.j8(),b=[],e=0;e<this.Ua.length&&b.length<a;e++){var c=this.Ua[e];c.nP>0&&(c.status==o.HG||c.status==o.Wz)&&b.push(c)}return b};b.j8=function(){return this.z7>0?0:1};b.WL=function(a){var b=c(this.yY).find(function(b){return b.Vha==a});if(!b){b=new d(a);this.yY.push(b)}return b};b.g=function(a){var b=c(this.Ua).find(function(b){return b.url==a});if(!b){b=new o(a);b.bind(g.ib,this.Wa,this);this.Ua.push(b)}return b};b.enabled=function(a){if(a===n)return b.M6||b.N6?B:b.YI!==n?b.YI:b.Z;b.Z=a};b.Z=
q;b.yja=function(a){b.YI=a.get(TDV.ag.WP)};b.YI=n;b.N6=e.Tt("disable-background-preload",B);b.M6=B;return b});
define("cy",["gD","gU","cO","fv"],function(a,b,d,c){var f=a.extend(b,function(){b.call(this);this.RD=a.qm(this.RD,this)});d.C("Media",f).D("Object").K({label:"string",thumbnailUrl:"string"}).Hj(["thumbnailUrl"]);f.prototype.RD=function(){c.ofa(this,this.li())};f.prototype.li=function(){return[]};f.prototype.bia=function(){c.cia(this)};f.prototype.set=function(a,c){b.prototype.set.call(this,a,c);this.RD()};return f});
define("eW","require,cu,gD,cO,cy,o,df".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("cO"),f=a("cy"),j=a("o"),g=a("df"),a=d.extend(f,function(){f.call(this);this.eJ=n});c.C("Panorama",a).D("Media").K({audios:"array[PanoramaAudio]",frames:"array[PanoramaFrame]",flipImageHorizontally:"bool",hfov:"number",hfovMax:"number",hfovMin:"number",cardboardMenu:"Menu",vrMenu:"Menu",mapLocations:"array[PanoramaMapLocation]",partial:"bool",pitch:"number",vfov:"number",adjacentPanoramas:"array[AdjacentPanorama]"});
a.prototype.w4=function(){var a=this.get("flipImageHorizontally"),b=this.get("hfov"),c=this.get("vfov"),f=this.get("pitch"),d=this.get("frames",[]);d.forEach(function(g){d.length>1&&g.Dfa();g.Mia(a);g.ria(b,c,f)})};a.prototype.LO=function(){return this.$c()!=s};a.prototype.$c=function(){var a=this.ir();return a?a.$c():s};a.prototype.gr=P(0);a.prototype.ir=function(){var a=this.oo(),b=this.gr();return a.length>1||a.length==1&&a[b].ufa()?a[b]:s};a.prototype.Sy=function(){var a=this.ir();return a?a.Sy():
[]};a.prototype.oE=function(){if(this.eJ==n){var a=this.oo().map(function(a){return a.va()});this.eJ=new g(a)}return this.eJ};a.prototype.oo=function(){this.w4();return this.get("frames")||[]};a.prototype.zga=function(){var a=[];this.oo().forEach(function(b){overays=a.concat(b.Cj())});return a};a.prototype.ku=function(){return b(this.oo()).some(function(a){return a.ku()})};a.prototype.ju=function(){return b(this.oo()).some(function(a){return a.ju()})};a.prototype.wE=function(a){return j.browser()==
j.zo?Math.max(a,20):a};a.prototype.FP=function(a){this.oo().forEach(function(b){b.FP(a)});this.RD()};a.prototype.li=function(){var a=[];this.oo().forEach(function(b){a=a.concat(b.li())},this);return a};return a});
define("hI",["require","gD","cO","eW"],function(a){var b=a("gD"),d=a("cO"),c=a("eW"),a=b.extend(c,function(){c.call(this)});d.C("HDRPanorama",a).D("Panorama").K({minimumLuminance:"number",maximumLuminance:"number",luminanceChangeTime:"number",maxLuminanceChangeSpeed:"number"});a.prototype.gr=function(){var a=this.get("frames")||[];return Math.floor((a.length-1)/2)};return a});
define("gY",["gD","gU","cO","iu"],function(a,b,d,c){a=a.extend(b,function(){b.call(this)});d.C("HotspotMapOverlayArea",a).D("Object").K({mapColor:"color",toolTip:"string",useHandCursor:"bool"}).Jb([c.Yb,c.Kb]).qi([c.ga]);return a});define("bZ",["gD","bv"],function(a,b){var d=a.extend(b,function(a){b.call(this);this.yd=a});d.fR="map";d.gR="overlay";return d});
define("fL",["gD","bZ"],function(a,b){var d=a.extend(b,function(a,f,d){b.call(this,b.gR);this.Faa=a;this.$=f;this.ba=d});d.prototype.Dg=N("$");d.prototype.Eg=N("ba");d.eR="image";d.dR="fov";return d});define("gV",["gD","fL"],function(a,b){var d=a.extend(b,function(a,f,d,g,h,e,l,p){b.call(this,b.eR,f,d);this.cb=a;this.OY=g;this.fj=h;this.gj=e;this.o=l;this.A=p;this.Be=[a]});d.prototype.hb=N("cb");d.prototype.Ea=N("o");d.prototype.Ma=N("A");return d});
define("dW",["gD","gU","cO","gV"],function(a,b,d,c){a=a.extend(b,function(){b.call(this);this.xa=n});d.C("HotspotMapOverlayImage",a).D("Object").K({height:"number",image:"ImageResource",offsetX:"number",offsetY:"number",width:"number",x:"number",y:"number"});a.prototype.getItem=function(){return this.va()};a.prototype.va=function(a){this.xa===n&&(this.xa=this.fE(a));return this.xa};a.prototype.fE=function(a){var b=this.get("image");return b?(b=b.Ad(),new c(b.get("url"),this.get("x",0),this.get("y",
0),a,this.get("offsetX",0),this.get("offsetY",0),this.get("width",0),this.get("height",0))):s};a.prototype.Ad=function(){return this.get("image")?this.get("image").Ad():s};a.prototype.We=function(){return this.get("image")?this.get("image").We():s};return a});
define("z",["gD","gU","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("HotspotMapOverlayMap",a).D("Object").K({height:"number",image:"ImageResource",offsetX:"number",offsetY:"number",width:"number",x:"number",y:"number"});a.prototype.Ad=function(){return this.get("image")?this.get("image").Ad():s};a.prototype.We=function(){return this.get("image")?this.get("image").We():s};return a});
define("gN","require,gD,gU,iu,cO,iC,ga".split(","),function(a){var b=a("gD"),d=a("gU"),c=a("iu"),f=a("cO"),j=a("iC"),g=a("ga"),a=b.extend(d,function(){d.call(this);this.reset()});f.C("HotspotPanoramaOverlayImage",a).D("Object").K({yaw:"number",pitch:"number",roll:"number",hfov:"number",vfov:"number",scaleMode:"enum[fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",distance:"number",image:"or[ImageResource,AnimatedImageResource]",playbackPositions:"array[PanoramaOverlayPlaybackPosition]"}).Jb([c.pe,
c.me]);a.prototype.reset=function(){this.lb=this.xa=this.fd=n};a.prototype.clone=function(){var a=b.clone(this);a.reset();return a};a.prototype.uc=function(){if(this.fd===n)this.fd=g.uc(this);return this.fd};a.prototype.getItem=function(){return this.va()};a.prototype.va=function(){if(this.xa===n){var a=this.uc()[0];this.xa=j.Iy(this.get("image"),a.get("yaw"),a.get("pitch"),0,0,a.get("roll"),a.get("hfov"),a.get("vfov"),this.get("scaleMode"));this.Lg(this.xa)}return this.xa};a.prototype.$c=function(){if(this.lb===
n){var a=this.uc()[0];this.lb=j.gE(this.get("image"),a.get("yaw"),a.get("pitch"),0,0,a.get("roll"),a.get("hfov"),a.get("vfov"),this.get("scaleMode"),n);this.Lg(this.lb)}return this.lb};a.prototype.Lg=function(a){if(a){var b=this.get("distance");b!==n&&a.vo(b)}};a.prototype.Ad=function(){return this.get("image")?this.get("image").Ad():s};a.prototype.We=function(){return this.get("image")?this.get("image").We():s};return a});
define("G","require,gD,gU,iu,cO,ga".split(","),function(a){var b=a("gD"),d=a("gU"),c=a("iu"),f=a("cO"),j=a("ga"),a=b.extend(d,function(){d.call(this);this.fd=n});f.C("HotspotPanoramaOverlayMap",a).D("Object").K({yaw:"number",pitch:"number",roll:"number",hfov:"number",vfov:"number",scaleMode:"enum[fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",image:"ImageResource",playbackPositions:"array[PanoramaOverlayPlaybackPosition]"}).Jb([c.pe,c.me]);a.prototype.uc=function(){if(this.fd===n)this.fd=
j.uc(this);return this.fd};a.prototype.Ad=function(){return this.get("image")?this.get("image").Ad():s};a.prototype.We=function(){return this.get("image")?this.get("image").We():s};return a});
define("gF",[],function(){function a(a){for(var b={},a=a.split(","),c=0;c<a.length;c++)b[a[c]]=q;return b}var b=/^<([-A-Za-z0-9_]+\:?[-A-Za-z0-9_]*)((?:\s+[-A-Za-z0-9_]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/;endTag=/^<\/([-A-Za-z0-9_]+\:?[-A-Za-z0-9_]*)[^>]*>/;attr=/([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g;var d=a("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed"),c=a("address,applet,blockquote,button,center,dd,del,dir,div,dl,dt,fieldset,form,frameset,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,p,pre,script,table,tbody,td,tfoot,th,thead,tr,ul"),
f=a("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),j=a("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),g=a("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),h=a("script,style");return function(a,l){function p(a,b,e,h){b=b.toLowerCase();if(c[b])for(;t.last()&&f[t.last()];)o(0,t.last());j[b]&&
t.last()==b&&o(0,b);(h=d[b]||!!h)||t.push(b);if(l.start){var r=[];e.replace(attr,function(a,b,e,c,f){a=e?e:c?c:f?f:g[b]?b:"";r.push({name:b,value:a,nO:a.replace(/(^|[^\\])"/g,'$1\\"')})});l.start&&l.start(b,r,h)}}function o(a,b){if(b){b=b.toLowerCase();for(e=t.length-1;0<=e&&t[e]!=b;e--);}else var e=0;if(0<=e){for(var c=t.length-1;c>=e;c--)l.end&&l.end(t[c]);t.length=e}}var r,m,t=[],u=a;for(t.last=function(){return this[this.length-1]};a;){m=q;if(!t.last()||!h[t.last()]){if(0==a.indexOf("<\!--"))r=
a.indexOf("--\>"),0<=r&&(l.Efa&&l.Efa(a.substring(4,r)),a=a.substring(r+3),m=B);else if(0==a.indexOf("</")){if(r=a.match(endTag))a=a.substring(r[0].length),r[0].replace(endTag,o),m=B}else if(0==a.indexOf("<")&&(r=a.match(b)))a=a.substring(r[0].length),r[0].replace(b,p),m=B;m&&(r=a.indexOf("<"),m=0>r?a:a.substring(0,r),a=0>r?"":a.substring(r),l.Fy&&l.Fy(m))}else a=a.replace(RegExp("(.*?)</"+t.last()+"[^>]*>"),function(a,b){b=b.replace(/<\!--(.*?)--\>/g,"$1").replace(/<!\[CDATA\[(.*?)]]\>/g,"$1");l.Fy&&
l.Fy(b);return""}),o(0,t.last());a==u&&k("Parse Error: "+a);u=a}o()}});
define("da","require,jquery.mod,cu,gD,iu,bB,dx,o,gF".split(","),function(a){var b=a("jquery.mod");_=a("cu");utils=a("gD");EventName=a("iu");Event=a("bB");EventDispatcher=a("dx");Device=a("o");HTMLParser=a("gF");var d=utils.extend(EventDispatcher,function(a){EventDispatcher.call(this);this.Db=b(a);this.Gx=[];this.Wm=s});d.prototype.hha=function(a){a&&a.toLowerCase().indexOf("<script")>=0?Device.sh()==Device.Am?this.G9(a):this.F9(a):this.E9(a)};d.prototype.E9=function(a){this.Db.empty();a&&this.Db.append(a);
this.Bt()};d.prototype.G9=function(a){this.Db.empty();var f=this.Db,d=s,g=[],h=s;new HTMLParser(a,{start:function(a,c,g){if(a=="script"){for(var g=n,o=0;o<c.length&&g===n;o++){var r=c[o];if(r.name=="src")g=r.value}h={parent:f,previousSibling:d,src:g,content:""}}else{for(var m={},o=0;o<c.length;o++){r=c[o];m[r.name]=r.value}c=b("<"+a+"/>");c.attr(m);f.append(c);if(g)d=c;else{f=c;d=s}}},Fy:function(a){h?h.content=h.content+a:f.append(a)},end:function(a){if(a=="script"){g.push(h);h=s}else{d=f;f=f.parent()}}});
this.Gx=g;this.RB()};d.prototype.F9=function(a){function f(){g++;return d+g}this.Db.empty();var d="fragment_"+utils.mP(6)+"_",g=0,h=f(),e=[h],l=n,p=[],o=s,r="";new HTMLParser(a,{start:function(a,b,c){if(a=="script"){c=n;for(a=0;a<b.length&&c===n;a++){var d=b[a];if(d.name=="src")c=d.value}o={parentClsName:e[e.length-1],previousSiblingClsName:l,src:c,content:""}}else{r=r+("<"+a);for(var h=f(),g=B,a=0;a<b.length;a++){d=b[a];if(d.name=="class"){d.nO=d.nO+(" "+h);g=q}r=r+(" "+d.name+'="'+d.nO+'"')}g||
(r=r+(' class="'+h+'"'));if(c){r=r+"/>";l=h}else{r=r+">";e.push(h);l=n}}},Fy:function(a){o?o.content=o.content+a:r=r+a},end:function(a){if(a=="script"){p.push(o);o=s}else{l=e[e.length-1];e.pop()}}});this.Db.get(0).innerHTML=r;this.Db.addClass(h);for(a=0;a<p.length;a++){var m=p[a],t=m.parentClsName;delete m.parentClsName;l=m.previousSiblingClsName;delete m.previousSiblingClsName;m.parent=b("."+t);m.previousSibling=l?b("."+l):s}this.Db.removeClass(h);this.Gx=p;this.RB()};d.prototype.RB=function(){if(!this.Wm)if(this.Gx.length>
0){this.Wm=this.Gx[0];this.Gx.splice(0,1);var a=this.Wm.src;if(a){var f=this;d.i$(a,function(){f.TV()},function(){f.m$()})}else{var j=this.Wm.parent,a=this.Wm.previousSibling,g;g=a?a.next():j.children(":first");a=document.write;document.write=g.length?function(a){g.before(a)}:function(a){j.append(a)};b.globalEval(this.Wm.content);document.write=a;this.TV()}}else this.Bt()};d.prototype.m$=function(){this.Wm=s;this.RB()};d.prototype.TV=function(){this.Wm=s;this.RB()};d.prototype.Bt=function(){this.trigger(new Event(EventName.ra))};
d.SV={};d.i$=function(a,f,j){d.SV[a]?f.call(window):b.ajax({url:a,async:B,dataType:"script",error:j,success:function(){d.SV[a]=q;f.call(window)}})};return d});
define("hq",["gD","iu","bB","dx"],function(a,b,d,c){a=a.extend(c,function(a,b){c.call(this);this.K9=a;this.Z=b;this.ei=s});a.prototype.bind=function(){var a=c.prototype.bind.apply(this,arguments);this.oy();return a};a.prototype.unbind=function(){var a=c.prototype.unbind.apply(this,arguments);this.oy();return a};a.prototype.start=function(){this.Z=q;this.oy()};a.prototype.stop=function(){this.Z=B;this.oy()};a.prototype.iq=function(){this.trigger(new d(b.dc))};a.prototype.oy=function(){if(this.Z&&this.JO(b.dc)){if(this.ei==
s){var a=this;this.ei=setTimeout(function(){a.ei=s;a.iq();a.oy()},this.K9)}}else this.ei!=s&&(clearTimeout(this.ei),this.ei=s)};return a});
define("gC","require,jquery.mod,cu,gD,iu,eG,hy,d,da,hq".split(","),function(a){var b=a("jquery.mod"),d=a("cu"),c=a("gD"),f=a("iu"),j=a("eG"),g=a("hy"),h=a("d"),e=a("da"),a=a("hq"),l=c.extend(h,function(){h.call(this);this.Lc("HTML");this.op=l.Zz;this.jY=this.kY=0;this.uZ=(new Date).getTime();this.WA=this.Xm=s;this.ov=this.ov.bind(this);this.oH=[]});l.prototype.ma=function(){h.prototype.ma.call(this);this.a("content");this.a("horizontalAlign",g.vc);this.a("verticalAlign",g.Ed);this.a("fontFamily");
this.a("fontSize");this.a("fontColor");this.a("fontWeight");this.a("fontStyle");this.a("textAlign");this.a("textDecoration");this.a("textShadowBlurRadius",3);this.a("textShadowColor","#000000");this.a("textShadowHorizontalLength",0);this.a("textShadowOpacity",0);this.a("textShadowVerticalLength",0)};l.prototype.Yn=function(a){this.Fa&&j.get(this.Fa).Xha(this.ov);h.prototype.Yn.call(this,a);this.Fa&&j.get(this.Fa).hfa(this.ov)};l.prototype.Sa=function(){h.prototype.Sa.call(this);if(!this.WA){this.Xm=
document.createElement("div");this.WA=b(this.Xm);this.QI({position:"absolute",display:"inline",left:0,top:0,cursor:"default"});var a=this.Pa();a.nz(B);a.append(this.WA);this.lV=new e(this.WA);this.lV.bind(f.ra,this.u9,this,q);this.bind(f.Nb,this.mV,this)}};l.prototype.X=function(){var a={},b=B;this.h("visible")&&(b=q);if(this.h("content")){this.lV.hha(this.f("content"));this.j("content");b=q}if(this.h("fontFamily")){value=this.f("fontFamily");d(value).isString()||(value="");a.fontFamily=value;this.j("fontFamily");
b=q}if(this.h("fontSize")){value=this.f("fontSize");d(value).isNumber()?value=value+"px":d(value).isString()||(value="");a.fontSize=value;this.j("fontSize");b=q}if(this.h("fontColor")){value=this.f("fontColor");d(value).isString()||(value="");a.color=value;this.j("fontColor");b=q}if(this.h("fontWeight")){value=this.f("fontWeight");switch(value){case "bold":case "bolder":case "lighter":case "100":case "200":case "300":case "400":case "500":case "600":case "700":case "800":case "900":case "normal":break;
default:value="normal"}a.fontWeight=value;this.j("fontWeight");b=q}if(this.h("fontStyle")){value=this.f("fontStyle");switch(value){case "italic":case "normal":break;default:value="normal"}a.fontStyle=value;this.j("fontStyle");b=q}if(this.h("textDecoration")){value=this.f("textDecoration");switch(value){case "underline":case "overline":case "line-through":case "none":break;default:value="none"}a.textDecoration=value;this.j("textDecoration");b=q}if(this.h("textAlign")){value=this.f("textAlign");switch(value){case "left":case "right":case "center":case "justify":break;
default:value=""}a["text-align"]=value;this.j("textAlign");b=q}var e=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(d(e).any(function(a){return this.h(a)},this)){var c={};d(e).each(function(a){c[a]=this.f(a);this.j(a)},this);a["-moz-text-shadow"]=a["-webkit-text-shadow"]=a["text-shadow"]=[c.textShadowHorizontalLength+"px",c.textShadowVerticalLength+"px",c.textShadowBlurRadius+"px","rgba("+parseInt("0x"+c.textShadowColor.substr(1,
2))+", "+parseInt("0x"+c.textShadowColor.substr(3,2))+", "+parseInt("0x"+c.textShadowColor.substr(5,2))+", "+c.textShadowOpacity+")"].join(" ");e=c.textShadowVerticalLength==0&&this.f("textShadowHorizontalLength")==0?135:Math.round(4*Math.atan2(c.textShadowHorizontalLength,-c.textShadowVerticalLength)/Math.PI)*45;a.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*c.textShadowOpacity).toString(16)).slice(-2)+c.textShadowColor.substr(1,6)+",direction="+e+")"}this.QI(a);b&&this.mW();
h.prototype.X.call(this)};l.prototype.mW=function(){this.mV();this.Ra();this.f("visible")&&this.f("content")?this.Jx(l.oR):this.Jx(l.Zz)};l.prototype.bo=function(a){for(var b=a.target;b&&b.tagName!="A"&&b.tagName!="BUTTON";)b=b.parentElement;h.prototype.bo.call(this,a,!b)};l.prototype.Il=function(){h.prototype.Il.call(this);var a=this.Pa();this.ng=this.Xm.clientWidth+a.$t()+a.fu();this.mg=this.Xm.clientHeight+a.hu()+a.Ut()};l.prototype.u9=function(){this.oH=Array.prototype.slice.call(this.Xm.querySelectorAll("*[style]")).map(function(a){var b=
{};b.aga=a;b.style=a.getAttribute("style");return b}).filter(function(a){return p.test(a.style)}).map(function(a){for(var b=a.style,e=[];;){var c=p.exec(b);if(c){e.push(function(a){return function(){return a}}(b.substr(0,c.index+1)));e.push(function(a,b){switch(b){case "vw":return function(b){return Math.round(b*a)+"px"};case "vh":return function(b,e){return Math.round(e*a)+"px"};case "vmin":return function(b,e,c){return Math.round(c*a)+"px"};case "vmax":return function(b,e,c){return Math.round(c*
a)+"px"}}}(parseFloat(c[1]),c[3].toLowerCase()));b=b.substr(c.index+c[0].length)}else{e.push(function(a){return function(){return a}}(b));a.functions=e;return a}}});this.Fa&&j.get(this.Fa).Ey(this.ov)};l.prototype.ov=function(a,b,e,c){if(this.oH.length!=0){this.oH.forEach(function(f){var d=f.functions.map(function(f){return f(a,b,e,c)}).join("");f.aga.setAttribute("style",d)});this.mW()}};l.prototype.mV=function(){var a={width:"auto",height:"auto"},b=this.Pa();if(!this.$U()){this.ng!=this.o&&this.Ra();
var e=this.o-(b.$t()+b.fu());e>0&&(a.width=e+"px")}if(!this.ZU()){this.mg!=this.A&&this.Ra();b=this.A-(b.hu()+b.Ut());b>0&&(a.height=b+"px")}this.QI(a)};l.prototype.AW=function(){var a=this.Xm.clientWidth,b=this.Xm.clientHeight;if(this.kY!=a||this.jY!=b){this.kY=a;this.jY=b;this.Ra();this.Jx(l.oR)}else{a=(new Date).getTime()-this.uZ;a>l.Z3?this.Jx(l.O3):a>l.Y3&&this.Jx(l.N3)}};l.prototype.Aba=function(){this.uZ=(new Date).getTime()};l.prototype.Jx=function(a){this.op==l.qka&&this.Aba();if(this.op!=
a){this.op!=l.Zz&&l.KS[this.op].unbind(f.dc,this.AW,this);this.op=a;this.op!=l.Zz&&l.KS[this.op].bind(f.dc,this.AW,this,q)}};l.prototype.QI=function(a){var b=this.Xm.style,e;for(e in a)b[e]=a[e]};var p=/[^\d]((\d*\.)?\d+)\s*(vmin|vmax|vw|vh)/i;l.Zz="stopped";l.O3="slow";l.N3="normal";l.oR="fast";l.Z3=3E4;l.Y3=5E3;l.KS={slow:new a(2E3,q),normal:new a(500,q),fast:new a(100,q)};return l});
define("fW",["gD","gC","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("HTML",a).D("UIComponent").K({content:"string",fontColor:"color",fontFamily:"string",fontSize:"or[number, size]",fontStyle:"enum[italic, normal]",fontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",textAlign:"enum[center, justify, left, right]",textDecoration:"enum[underline, overline, line-through, none]",textShadowBlurRadius:"number",textShadowColor:"color",textShadowHorizontalLength:"number",
textShadowOpacity:"number",textShadowVerticalLength:"number"}).xm(["fontSize"]);return a});define("b",["cu","gD","ig","c"],function(a,b,d,c){var f=b.extend(d,function(){d.call(this)});f.Ya={layout:c.VP};a.defaults(f.Ya,d.Ya);f.prototype.ma=function(){this.Ph(f.Ya)};return f});
define("fb",["gD","eq","b","gC"],function(a,b,d,c){a=a.extend(d,function(){d.call(this);this.nw=s;this.set("contentOpaque",q)});a.prototype.ma=function(){d.prototype.ma.call(this);this.a("overflow",b.Wo);this.a("html")};a.prototype.Sa=function(){d.prototype.Sa.call(this);this.nw==s&&(this.nw=new c,this.nw.T({left:0,width:"100%"}),this.Ca(this.nw))};a.prototype.X=function(){this.h("html")&&(this.nw.set("content",this.f("html")),this.j("html"));d.prototype.X.call(this)};return a});
define("Y",["require","gD","fb","cO"],function(a){var b=a("gD"),d=a("fb"),a=a("cO"),b=b.extend(d,function(){d.call(this)});a.C("HTMLText",b).D("UIComponent").K({html:"string",overflow:"enum[scroll, hidden, visible]",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]"});return b});
define("fU","require,jquery.mod,gD,iu,bB,he,dZ,J,hb,dN,ct,hl".split(","),function(a){function b(a,b,e){return function(c){var f;f=b=="mouse"?this.hn(c):this.kw(c);this.DV(f)?a.call(this,c):e=="release"?a.call(this,c):this.A7(f,c)}}var d=a("jquery.mod"),c=a("gD"),f=a("iu"),j=a("bB"),g=a("he"),h=a("dZ"),e=a("J"),l=a("hb"),p=a("dN"),o=a("ct"),r=a("hl"),m=g.qo("debug"),a=c.extend(r,function(){r.call(this,3);this.set("autoRolledOver",q);this.set("autoPressed",q);this.set("cursor",e.Uc);this.set("scaleMode",
l.le);this.te=document.createElement("canvas");this.te.width=1;this.te.height=1;this.Mg=this.te.getContext("2d");this.Mg.globalCompositeOperation="copy";this.dJ=B;this.bind(f.Kb,this.x9,this)});a.prototype.ma=function(){r.prototype.ma.call(this);this.a("buttonGroup");this.a("mode",o.kc);this.a("pressed");this.a("iconURL");this.a("transparencyActive");this.c("rollOverOpacity",p.k,"opacity");this.c("rollOverIconURL",p.k,"iconURL");this.c("pressedOpacity",p.oa,"opacity");this.c("pressedIconURL",p.oa,
"iconURL");this.c("pressedRollOverOpacity",p.Na,"opacity");this.c("pressedRollOverIconURL",p.Na,"iconURL")};a.prototype.kJ=b(r.prototype.kJ,"touch","capture");a.prototype.WT=b(r.prototype.C7,"touch");a.prototype.YT=b(r.prototype.C7,"touch","release");a.prototype.hN=b(r.prototype.hN,"touch","capture");a.prototype.gN=b(r.prototype.gN,"touch");a.prototype.bo=b(r.prototype.bo,"touch","release");a.prototype.OK=b(r.prototype.OK,"mouse","capture");a.prototype.PK=function(a){var b=this.hn(a);if(this.DV(b)||
this.dJ){r.prototype.PK.call(this,a);this.set("cursor",e.Uc)}else{this.dJ=q;if(b=this.vU(b)){d(b).trigger(this.XS(a));a.preventDefault();a.stopImmediatePropagation()}this.qU(b)=="pointer"?this.set("cursor",e.Uc):this.set("cursor",e.dc);this.dJ=B}};a.prototype.x9=function(){this.set("cursor",e.Uc)};a.prototype.bC=b(r.prototype.bC,"mouse","release");a.prototype.DV=function(a){var b=this.oc.offset(),e=a.E1-b.left,c=this.oc.width(),a=a.F1-b.top,b=this.oc.height();if(e>=0&&a>=0&&e<c&&a<b){if(this.get("transparencyActive")||
m)return q;e=e*this.Ws/c;c=a*this.Vs/b;this.Mg.drawImage(this.oc.get(0),e,c,1,1,0,0,1,1);if(this.Mg.getImageData(0,0,1,1).data[3]>0)return q}return B};a.prototype.A7=function(a,b){var e=this.vU(a);if(e){d(e).trigger(this.XS(b));b.preventDefault();b.stopImmediatePropagation()}};a.prototype.vU=function(a){var b=this.sl(),e=b.style.pointerEvents;b.style.pointerEvents="none";a=document.elementFromPoint(a.E1,a.F1);setTimeout(function(){b.style.pointerEvents=e},0);return a};a.prototype.XS=function(a){return d.extend(d.Event(a.type),
{originalEvent:a.originalEvent,wheelDelta:a.wheelDelta,detail:a.detail,which:1,clientX:a.clientX,clientY:a.clientY,pageX:a.pageX,pageY:a.pageY,screenX:a.screenX,screenY:a.screenY})};a.prototype.qU=function(a){if(a){var b=a.style.cursor;b=="inherit"&&(b=this.qU(a.parentElement))}else b="default";return b};a.prototype.Cv=function(){if(this.get("pressed")){this.set("pressed",B);this.trigger(new j(f.Eh))}else{this.set("pressed",q);this.trigger(new j(f.$f))}};a.prototype.X=function(){var a=B;if(this.h("backgroundOpacityy")||
this.h("backgroundColor"))a=q;if(this.h("iconURL")){this.set("url",this.f("iconURL"));this.j("iconURL")}var b=B;if(this.h("mode")){if(this.f("mode")==o.kc){this.unbind(f.ga,this.Cv,this,q);this.set("autoPressed",q)}else{this.bind(f.ga,this.Cv,this,q);this.set("autoPressed",B)}this.j("mode");b=q}if(b||this.h("pressed"))this.f("mode")==o.Fh?this.rt(this.f("pressed")==q):b&&this.rt(B);if(this.h("buttonGroup")){(b=this.f("buttonGroup"))?h.TE(this,b):h.tz(this);this.j("buttonGroup")}r.prototype.X.call(this);
if(a){a=this.jb();if(a.Ve()==0||a.sp.length==0){a.wh(0.001);a.Z1(["#000000"])}}};return a});
define("Q",["gD","fU","cO","iu"],function(a,b,d,c){a=a.extend(b,function(){b.call(this)});d.C("IconButton",a).D("UIComponent").K({buttonGroup:"string",iconURL:"string",mode:"enum[push, toggle]",horizontalAlign:"enum[left, center, right]",verticalAlign:"enum[bottom, middle, top]",rollOverIconURL:"string",rollOverOpacity:"number",pressed:"bool",pressedIconURL:"string",pressedOpacity:"number",pressedRollOverIconURL:"string",pressedRollOverOpacity:"number",transparencyActive:"bool"}).Hj(["iconURL","rollOverIconURL",
"pressedIconURL"]).Jb([c.$f,c.Eh]).qi([c.ga]);return a});define("hH",["gD","cO","eH"],function(a,b,d){a=a.extend(d,function(){d.call(this,B)});b.C("IconHotspotMapOverlay",a).D("HotspotMapOverlay");return a});
define("if",["gD","hl","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("Image",a).D("UIComponent").K({horizontalAlign:"enum[center, left, right]",scaleMode:"enum[none, fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",url:"string",verticalAlign:"enum[bottom, middle, top]"}).Hj(["url"]);return a});
define("fm",["gD","fg","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("Label",a).D("UIComponent").K({fontFamily:"string",fontSize:"or[number, size]",fontColor:"color",fontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",fontStyle:"enum[italic, normal]",horizontalAlign:"enum[left, center, right]",verticalAlign:"enum[top, middle, bottom]",text:"string",textDecoration:"enum[underline, overline, line-through, none]",textShadowBlurRadius:"number",
textShadowColor:"color",textShadowHorizontalLength:"number",textShadowOpacity:"number",textShadowVerticalLength:"number"}).xm(["fontSize"]);return a});define("O",["gD","dS"],function(a,b){var d=a.extend(b,function(a,f,j,g){b.call(this,d.Oj);this.t=a;this.B=f;this.yH=j;this.zH=g});d.prototype.Xa=N("t");d.prototype.gb=N("B");d.Oj="lens flare";return d});
define("bf",["gD","gU","cO","O"],function(a,b,d,c){a=a.extend(b,function(){b.call(this);this.lb=this.xa=n});d.C("LensFlarePanoramaOverlay",a).D("PanoramaOverlay").K({yaw:"number",pitch:"number",bleaching:"number",bleachingDistance:"number"});a.prototype.$c=function(){this.lb===n&&(this.lb=this.fs());return this.lb};a.prototype.va=function(){this.xa===n&&(this.xa=this.fs());return this.xa};a.prototype.fs=function(){var a=this.get("yaw");a==n&&(a=0);var b=this.get("pitch");b==n&&(b=0);var d=this.get("bleaching");
d==n&&(d=0);var d=Math.max(0,Math.min(1,d)),h=this.get("bleachingDistance");h==n&&(h=0.4);h=Math.max(0,Math.min(1,h));return new c(a,b,d,h)};return a});define("ij",["require","gD","cO","eW"],function(a){var b=a("gD"),d=a("cO"),c=a("eW"),a=b.extend(c,function(){c.call(this)});d.C("LivePanorama",a).D("Panorama").K({frameDisplayTime:"number",frameTransitionTime:"number"});return a});define("eg",[],function(){return{NONE:"none",le:"fit_inside",Tk:"fit_outside",Jj:"fit_to_width",Yf:"fit_to_height",Q2:"custom"}});
define("bR",["gD","bZ"],function(a,b){var d=a.extend(b,function(a,f,d,g,h,e){b.call(this,b.fR);this.cb=a;this.o=f;this.A=d;this.Vb=g;this.Ob=h;this.Qd=e.slice()});d.prototype.Xe=function(){for(var a=[this.cb],b=0;b<this.Qd.length;b++)a=a.concat(this.Qd[b].Xe());return a};d.prototype.hb=N("cb");d.prototype.Ea=N("o");d.prototype.Ma=N("A");d.prototype.Cj=N("Qd");return d});
define("hE","cu,gD,cO,eg,cy,bR".split(","),function(a,b,d,c,f,j){b=b.extend(f,function(){f.call(this);this.xa=this.lb=n});d.C("Map",b).D("Media").K({fieldOfViewOverlayInsideColor:"color",fieldOfViewOverlayInsideOpacity:"number",fieldOfViewOverlayOutsideColor:"color",fieldOfViewOverlayOutsideOpacity:"number",fieldOfViewOverlayRadiusScale:"number",flipImageHorizontally:"bool",height:"number",image:"ImageResource",initialZoomFactor:"number",maximumZoomFactor:"number",minimumZoomFactor:"number",overlays:"array[MapOverlay]",
scaleMode:"enum[none, fit_inside, fit_outside, fit_to_width, fit_to_height]",width:"number"});b.prototype.LO=function(){return this.$c()!=s};b.prototype.$c=function(){if(this.lb==n){var a=this.get("image");this.lb=a&&a.zE()?new j(a.We().get("url"),this.get("width"),this.get("height"),this.get("scaleMode",c.Co),this.get("flipImageHorizontally",B),[]):s}return this.lb};b.prototype.va=function(){if(this.xa==n){var b=this.get("image");if(b){var f=Array.prototype.concat.apply([],a(this.get("overlays",
[])).map(function(a){return a.Ega()}));this.xa=new j(b.Ad().get("url"),this.get("width"),this.get("height"),this.get("scaleMode",c.Co),this.get("flipImageHorizontally",B),f)}else this.xa=s}return this.xa};b.prototype.li=function(){return[].concat(this.Jp(this.$c()),this.Jp(this.va()))};b.prototype.Jp=function(a){return a?a.Xe():[]};return b});define("gt",["gD","gU","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("MapOverlay",a).D("Object");return a});
define("fG","gD,cu,iu,bB,dx,ct".split(","),function(a,b,d,c,f,j){a=a.extend(f,function(a,b,e){f.call(this);this.ZS=a;this.aba=b;this.pS=e||j.kc;this.rf=[];this.Pm={};this.Pm.mode=this.pS;this.pS==j.Fh&&(this.Pm.pressed=B);this.ZS.bind(d.Qa(b),this.uY,this);this.uY()});a.prototype.uY=function(){var a=this.ZS.get(this.aba);a||(a=[]);b.isArray(a)||(a=[a]);this.hca(a)};a.prototype.hca=function(a){var c=b.difference(this.rf,a);b(c).each(function(a){a.unbind(d.$f,this.uS,this,q);a.unbind(d.Eh,this.vS,this,
q);a.unbind(d.ga,this.oS,this,q);a.unbind(d.wb,this.qS,this,q);a.unbind(d.xb,this.rS,this,q)},this);c=b.difference(a,this.rf);b(c).each(function(a){a.T(this.Pm);a.bind(d.$f,this.uS,this,q);a.bind(d.Eh,this.vS,this,q);a.bind(d.ga,this.oS,this,q);a.bind(d.wb,this.qS,this,q);a.bind(d.xb,this.rS,this,q)},this);this.rf=a};a.prototype.uS=function(){this.trigger(new c(d.$f))};a.prototype.vS=function(){this.trigger(new c(d.Eh))};a.prototype.oS=function(){this.trigger(new c(d.ga))};a.prototype.qS=function(){this.trigger(new c(d.wb))};
a.prototype.rS=function(){this.trigger(new c(d.xb))};a.prototype.set=function(a,c){this.Pm[a]=c;b(this.rf).each(function(a){a.T(this.Pm)},this)};return a});
define("dC","require,cu,gD,iu,bB,dN,J,b,d,hM,hZ".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("iu"),f=a("bB"),j=a("dN"),g=a("J"),h=a("b"),e=a("d");a("hM");a("hZ");var l=d.extend(h,function(){h.call(this);this.Lc("PlaybackBar");this.tg=this.kh=s;this.ci=[];this.HC=B;this.BL=this.lq=n;this.TM=B});l.Ya={cursor:g.Uc,overflow:"visible",height:20,position:0,duration:100,steps:n,selectedStep:n,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:n,barBackgroundColorRatios:n,
barBorderColor:n,barBorderRadius:n,barBorderSize:n,barOpacity:n,liveDragging:n,playheadBackgroundColor:"#FFFFFF",playheadBackgroundColorDirection:n,playheadBackgroundColorRatios:n,playheadBorderColor:n,playheadBorderRadius:n,playheadBorderSize:n,playheadOpacity:n,playheadWidth:5,playheadHeight:30,playheadShadow:q,playheadShadowBlurRadius:3,playheadShadowColor:"#000000",playheadShadowHorizontalLength:0,playheadShadowOpacity:n,playheadShadowSpread:0,playheadShadowVerticalLength:3,stepBackgroundColor:"#FFFFFF",
stepBackgroundColorDirection:n,stepBackgroundColorRatios:n,stepBorderColor:n,stepBorderRadius:6,stepBorderSize:0,stepOpacity:1,stepWidth:12,stepHeight:12,stepShadow:q,stepShadowBlurRadius:6,stepShadowColor:"#000000",stepShadowHorizontalLength:0,stepShadowOpacity:n,stepShadowSpread:0,stepShadowVerticalLength:0,selectedStepBackgroundColor:"#3399FF",selectedStepBackgroundColorDirection:n,selectedStepBackgroundColorRatios:n,selectedStepBorderColor:"#ffffff",selectedStepBorderRadius:10,selectedStepBorderSize:2,
selectedStepOpacity:1,selectedStepWidth:20,selectedStepHeight:20,selectedStepShadow:q,selectedStepShadowBlurRadius:3,selectedStepShadowColor:"#000000",selectedStepShadowHorizontalLength:0,selectedStepShadowOpacity:n,selectedStepShadowSpread:0,selectedStepShadowVerticalLength:0};b.defaults(l.Ya,h.Ya);l.prototype.ma=function(){this.Ph(l.Ya)};l.prototype.Sa=function(){h.prototype.Sa.call(this);(!this.kh||!this.tg)&&this.bind(c.Nb,this.Paa,this,q);if(this.kh==s){this.kh=new e;this.kh.T({left:"0",height:"100%",
cursor:g.Uc});this.Ca(this.kh)}if(this.tg==s){this.tg=new e;this.tg.T({left:"0",cursor:g.Uc});this.tg.bind(c.Nb,this.Saa,this,q);this.tg.bind(c.wb,this.Qaa,this,q);this.$a().bind(c.jc,this.YX,this,q);this.bind(c.ga,this.Naa,this,q);this.tg.bind(c.xb,this.Raa,this,q);this.Ca(this.tg)}var a=this.get("steps")||0;if(this.ci.length!=a){for(;this.ci.length>a;)this.K6(this.ci.pop());for(;this.ci.length<a;)this.ci.push(this.y6());this.eb(l.MR,l.$G,this.ci,B,q);this.C_();this.yN();this.uh(this.tg,this.sb().length-
1)}};l.prototype.y6=function(){var a=new p;a.T({cursor:g.Uc});a.bind(c.ga,this.yZ,this,q);a.bind(c.Nb,this.zZ,this,q);this.Ca(a);return a};l.prototype.K6=function(a){a.unbind(c.ga,this.yZ,this,q);a.unbind(c.Nb,this.zZ,this,q);this.removeChild(a)};l.prototype.X=function(){var a=B;if(this.h("position")||this.h("duration")){this.j("position");this.j("duration");a=q}if(this.h("selectedStep")){this.j("selectedStep");this.C_()}if(this.h("steps")){this.j("steps");this.Vy()}this.eb(l.SG,l.cv,[this.kh],q,
q);this.eb(l.V3,l.HR,[this.tg],q,q);this.eb(l.MR,l.$G,this.ci,q,q);h.prototype.X.call(this);a&&this.QD()};l.prototype.C_=function(){var a=this.get("selectedStep");this.ci.forEach(function(b,e){b.pz(e===a)});this.tg.set("visible",a===n)};l.prototype.QD=function(){var a=this.aa(),b=this.la(),e=this.tg.aa(),c=this.tg.la(),f=this.bn(),d=this.B8(),h=d*a/f;this.tg.T({left:Math.round((this.HC?this.lq:d)*a/f-e*0.5),top:Math.round(b*0.5-c*0.5)});this.kh.set("width",Math.round(h))};l.prototype.Saa=function(){this.QD()};
l.prototype.Qaa=function(a){this.HC=q;this.BL=a.pageX;this.lq=this.f("position")};l.prototype.YX=function(a){if(this.HC){var b=a.pageX-this.BL;this.BL=a.pageX;var a=this.aa(),e=this.bn();this.lq=Math.max(0,Math.min(e,this.lq+e*b/a));this.QD();if(this.get("liveDragging")){this.set("position",this.lq);this.trigger(new f(c.W))}}};l.prototype.Raa=function(a){this.YX(a);this.HC=B;if(!this.get("liveDragging")){this.set("position",this.lq);this.trigger(new f(c.W))}this.lq=n};l.prototype.Naa=function(a){if(!this.TM){var b=
this.aa();this.set("position",this.bn()*a.x/b);this.trigger(new f(c.W))}};l.prototype.zZ=function(){this.yN()};l.prototype.Paa=function(){this.yN();this.QD()};l.prototype.yN=function(){for(var a=this.aa(),b=this.la(),e=this.$,c=this.getParent().aa()-(e+a),f=0,d=this.ci.length;f<d;f++){var h=this.ci[f],g=h.aa();h.T({left:f==0&&e==0?0:f==d-1&&c==0?a-g:Math.round(a*f/(d-1)-g*0.5),top:Math.round(b*0.5-h.la()*0.5)})}};l.prototype.yZ=function(a){a=this.ci.indexOf(a.source);this.set("position",this.bn()*
a/(this.ci.length-1));this.TM=q;this.trigger(new f(c.W));setTimeout(function(){this.TM=B}.bind(this),0)};l.prototype.bn=function(){var a=this.f("duration");return!a?1:a};l.prototype.B8=function(){return Math.max(0,Math.min(this.bn(),this.f("position")))};l.cv={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",barOpacity:"opacity"};
l.SG=b(l.cv).keys();l.HR={playheadBackgroundColor:"backgroundColor",playheadBackgroundColorDirection:"backgroundColorDirection",playheadBackgroundColorRatios:"backgroundColorRatios",playheadBorderColor:"borderColor",playheadBorderRadius:"borderRadius",playheadBorderSize:"borderSize",playheadOpacity:"opacity",playheadWidth:"width",playheadHeight:"height",playheadShadow:"shadow",playheadShadowBlurRadius:"shadowBlurRadius",playheadShadowColor:"shadowColor",playheadShadowHorizontalLength:"shadowHorizontalLength",
playheadShadowOpacity:"shadowOpacity",playheadShadowSpread:"shadowSpread",playheadShadowVerticalLength:"shadowVerticalLength"};l.V3=b(l.HR).keys();l.$G={stepBackgroundColor:"backgroundColor",stepBackgroundColorDirection:"backgroundColorDirection",stepBackgroundColorRatios:"backgroundColorRatios",stepBorderColor:"borderColor",stepBorderRadius:"borderRadius",stepBorderSize:"borderSize",stepOpacity:"opacity",stepWidth:"width",stepHeight:"height",stepShadow:"shadow",stepShadowBlurRadius:"shadowBlurRadius",
stepShadowColor:"shadowColor",stepShadowHorizontalLength:"shadowHorizontalLength",stepShadowOpacity:"shadowOpacity",stepShadowSpread:"shadowSpread",stepShadowVerticalLength:"shadowVerticalLength",selectedStepBackgroundColor:"selectedBackgroundColor",selectedStepBackgroundColorDirection:"selectedBackgroundColorDirection",selectedStepBackgroundColorRatios:"selectedBackgroundColorRatios",selectedStepBorderColor:"selectedBorderColor",selectedStepBorderRadius:"selectedBorderRadius",selectedStepBorderSize:"selectedBorderSize",
selectedStepOpacity:"selectedOpacity",selectedStepWidth:"selectedWidth",selectedStepHeight:"selectedHeight",selectedStepShadow:"selectedShadow",selectedStepShadowBlurRadius:"selectedShadowBlurRadius",selectedStepShadowColor:"selectedShadowColor",selectedStepShadowHorizontalLength:"selectedShadowHorizontalLength",selectedStepShadowOpacity:"selectedShadowOpacity",selectedStepShadowSpread:"selectedShadowSpread",selectedStepShadowVerticalLength:"selectedShadowVerticalLength"};l.MR=b(l.$G).keys();var p=
d.extend(e,function(){e.call(this)});p.prototype.pz=function(a){this.Mx(a)};p.prototype.ma=function(){e.prototype.ma.call(this);this.a("backgroundColor");this.a("backgroundColorDirection");this.a("backgroundColorRatios");this.a("borderColor");this.a("borderRadius");this.a("borderSize");this.a("opacity");this.a("width");this.a("height");this.a("shadow");this.a("shadowBlurRadius");this.a("shadowColor");this.a("shadowHorizontalLength");this.a("shadowOpacity");this.a("shadowSpread");this.a("shadowVerticalLength");
this.c("selectedBackgroundColor",j.v,"backgroundColor");this.c("selectedBackgroundColorDirection",j.v,"backgroundColorDirection");this.c("selectedBackgroundColorRatios",j.v,"backgroundColorRatios");this.c("selectedBorderColor",j.v,"borderColor");this.c("selectedBorderRadius",j.v,"borderRadius");this.c("selectedBorderSize",j.v,"borderSize");this.c("selectedOpacity",j.v,"opacity");this.c("selectedWidth",j.v,"width");this.c("selectedHeight",j.v,"height");this.c("selectedShadow",j.v,"shadow");this.c("selectedShadowBlurRadius",
j.v,"shadowBlurRadius");this.c("selectedShadowColor",j.v,"shadowColor");this.c("selectedShadowHorizontalLength",j.v,"shadowHorizontalLength");this.c("selectedShadowOpacity",j.v,"shadowOpacity");this.c("selectedShadowSpread",j.v,"shadowSpread");this.c("selectedShadowVerticalLength",j.v,"shadowVerticalLength")};p.prototype.X=function(){e.prototype.X.call(this)};return l});
define("t",["cu","gD","b","d"],function(a,b,d,c){var f=b.extend(d,function(){d.call(this);this.Lc("ProgressBar")});f.Ya={percent:0,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:n,barBackgroundColorRatios:n,barBorderColor:n,barBorderRadius:n,barBorderSize:n,barOpacity:n};a.defaults(f.Ya,d.Ya);f.prototype.ma=function(){this.Ph(f.Ya)};f.prototype.Sa=function(){d.prototype.Sa.call(this);this.kh==s&&(this.kh=new c,this.kh.T({left:"0",width:"0%",height:"100%"}),this.Ca(this.kh))};
f.prototype.X=function(){this.h("percent")&&(this.kh.set("width",Math.round(this.f("percent"))+"%"),this.j("percent"));this.eb(f.SG,f.cv,[this.kh],q,q);d.prototype.X.call(this)};f.cv={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",barOpacity:"opacity"};f.SG=a(f.cv).keys();return f});
define("bX",["dM","a"],function(a,b){function d(b,f){this.jd=b||new a(0,0,0);this.Vf=f||new a(1,0,0)}d.prototype.clone=function(){return new d(this.jd.clone(),this.Vf.clone())};d.prototype.apply=function(a){a.Jt(this.jd);a.Jt(this.Vf)};d.prototype.Sga=function(){return b.lo(this.jd,this.Vf)};return d});
define("eC",["bX","dM"],function(a,b){function d(a,b,d){this.o=a||100;this.A=b||100;this.q=d||Math.PI;this.RL=n;this.Lv=q}d.prototype.Au=function(a){this.q!=a&&(this.q=a,this.Lv=q)};d.prototype.po=N("q");d.prototype.Br=function(a){this.o!=a&&(this.o=a,this.Lv=q)};d.prototype.Ea=N("o");d.prototype.$E=function(a){this.A!=a&&(this.A=a,this.Lv=q)};d.prototype.Ma=N("A");d.prototype.jP=function(a){if(0!=a.z){this.y_();var b=1/a.z,d=this.RL*b;a.x=0.5*this.o-a.x*d;a.y=0.5*this.A-a.y*d;a.z=b}};d.prototype.SP=
function(c){this.y_();return new a(new b(0,0,0),new b(0.5*this.o-c.x,0.5*this.A-c.y,this.RL))};d.prototype.y_=function(){this.Lv&&(this.RL=0.5*this.o/Math.tan(0.5*this.q),this.Lv=B)};return d});
define("ee",["dM","a"],function(a,b){function d(b,f,d){this.jd=b||new a(0,0,0);this.Vf=f||new a(1,0,0);this.mr=d||new a(0,1,0)}d.prototype.clone=function(){return new d(this.jd.clone(),this.Vf.clone(),this.mr.clone())};d.prototype.apply=function(a){a.Jt(this.jd);a.Jt(this.Vf);a.Jt(this.mr)};d.prototype.intersection=function(c){var f=b.lo(c.jd,c.Vf),d=b.lo(this.jd,c.jd),g=b.lo(this.jd,this.Vf);g.Wfa(b.lo(this.jd,this.mr));if(0!=f.Wq(g))return f=-g.Wq(d)/g.Wq(f),new a(c.jd.x+(c.Vf.x-c.jd.x)*f,c.jd.y+
(c.Vf.y-c.jd.y)*f,c.jd.z+(c.Vf.z-c.jd.z)*f)};d.prototype.kP=function(c){var f=b.lo(this.jd,this.Vf),d=b.lo(this.jd,this.mr),c=b.lo(this.jd,c);return new a(c.Wq(f)/f.EO(),c.Wq(d)/d.EO(),0)};return d});
define("cS",[],function(){function a(a){a%=c;0>a&&(a+=c);return g[a*f|0]}function b(a){a%=c;0>a&&(a+=c);return j[a*f|0]}function d(){this.identity()}d.prototype.identity=function(){this.m11=1;this.m21=this.m13=this.m12=0;this.m22=1;this.m32=this.m31=this.m23=0;this.m33=1;this.Xd=this.Wd=this.Vd=0};d.prototype.clone=function(){var a=new d;a.m11=this.m11;a.m12=this.m12;a.m13=this.m13;a.m21=this.m21;a.m22=this.m22;a.m23=this.m23;a.m31=this.m31;a.m32=this.m32;a.m33=this.m33;a.Vd=this.Vd;a.Wd=this.Wd;
a.Xd=this.Xd;return a};d.prototype.concat=function(a){var b=this.m11,c=this.m12,f=this.m13,d=this.m21,h=this.m22,g=this.m23,j=this.m31,w=this.m32,A=this.m33,z=this.Vd,C=this.Wd,v=this.Xd;this.m11=b*a.m11+c*a.m21+f*a.m31;this.m12=b*a.m12+c*a.m22+f*a.m32;this.m13=b*a.m13+c*a.m23+f*a.m33;this.m21=d*a.m11+h*a.m21+g*a.m31;this.m22=d*a.m12+h*a.m22+g*a.m32;this.m23=d*a.m13+h*a.m23+g*a.m33;this.m31=j*a.m11+w*a.m21+A*a.m31;this.m32=j*a.m12+w*a.m22+A*a.m32;this.m33=j*a.m13+w*a.m23+A*a.m33;this.Vd=z*a.m11+C*
a.m21+v*a.m31+a.Vd;this.Wd=z*a.m12+C*a.m22+v*a.m32+a.Wd;this.Xd=z*a.m13+C*a.m23+v*a.m33+a.Xd};d.prototype.translate=function(a,b,c){this.Vd+=a;this.Wd+=b;this.Xd+=c};d.prototype.scale=function(a,b,c){this.m11*=a;this.m12*=b;this.m13*=c;this.m21*=a;this.m22*=b;this.m23*=c;this.m31*=a;this.m32*=b;this.m33*=c;this.Vd*=a;this.Wd*=b;this.Xd*=c};d.prototype.Nk=function(e){var c=a(e),e=b(e),f=this.m12*c+this.m13*e,d=this.m22*e-this.m23*c,h=this.m22*c+this.m23*e,g=this.m32*e-this.m33*c,j=this.m32*c+this.m33*
e,u=this.Wd*e-this.Xd*c,w=this.Wd*c+this.Xd*e;this.m12=this.m12*e-this.m13*c;this.m13=f;this.m22=d;this.m23=h;this.m32=g;this.m33=j;this.Wd=u;this.Xd=w};d.prototype.sm=function(c){var f=a(c),c=b(c),d=-this.m11*f+this.m13*c,h=this.m21*c+this.m23*f,g=-this.m21*f+this.m23*c,j=this.m31*c+this.m33*f,t=-this.m31*f+this.m33*c,u=this.Vd*c+this.Xd*f,w=-this.Vd*f+this.Xd*c;this.m11=this.m11*c+this.m13*f;this.m13=d;this.m21=h;this.m23=g;this.m31=j;this.m33=t;this.Vd=u;this.Xd=w};d.prototype.tm=function(c){var f=
a(c),c=b(c),d=this.m11*f+this.m12*c,h=this.m21*c-this.m22*f,g=this.m21*f+this.m22*c,j=this.m31*c-this.m32*f,t=this.m31*f+this.m32*c,u=this.Vd*c-this.Wd*f,w=this.Vd*f+this.Wd*c;this.m11=this.m11*c-this.m12*f;this.m12=d;this.m21=h;this.m22=g;this.m31=j;this.m32=t;this.Vd=u;this.Wd=w};d.prototype.rotate=function(a,b,c){this.Nk(a);this.sm(b);this.tm(c)};d.prototype.o1=function(){var a=this.tga();if(0==a)return B;var b=this.clone();this.m11=(b.m22*b.m33-b.m23*b.m32)/a;this.m12=(b.m13*b.m32-b.m12*b.m33)/
a;this.m13=(b.m12*b.m23-b.m13*b.m22)/a;this.m21=(b.m23*b.m31-b.m21*b.m33)/a;this.m22=(b.m11*b.m33-b.m13*b.m31)/a;this.m23=(b.m13*b.m21-b.m11*b.m23)/a;this.m31=(b.m21*b.m32-b.m22*b.m31)/a;this.m32=(b.m12*b.m31-b.m11*b.m32)/a;this.m33=(b.m11*b.m22-b.m12*b.m21)/a;this.Vd=-(b.Vd*this.m11+b.Wd*this.m21+b.Xd*this.m31);this.Wd=-(b.Vd*this.m12+b.Wd*this.m22+b.Xd*this.m32);this.Xd=-(b.Vd*this.m13+b.Wd*this.m23+b.Xd*this.m33);return q};d.prototype.tga=function(){return this.m11*(this.m22*this.m33-this.m23*
this.m32)+this.m12*(this.m23*this.m31-this.m21*this.m33)+this.m13*(this.m21*this.m32-this.m22*this.m31)};d.prototype.Jt=function(a){var b=a.x*this.m12+a.y*this.m22+a.z*this.m32+this.Wd,c=a.x*this.m13+a.y*this.m23+a.z*this.m33+this.Xd;a.x=a.x*this.m11+a.y*this.m21+a.z*this.m31+this.Vd;a.y=b;a.z=c};for(var c=2*Math.PI,f=3600/c,j=new Float32Array(3600),g=new Float32Array(3600),h=0;3600>h;h++)j[h]=Math.cos(h/f),g[h]=Math.sin(h/f);return d});
define("cl","require,gq,eC,dM,ee,cS,hb".split(","),function(a){var b=a("gq"),d=a("eC"),c=a("dM"),f=a("ee"),j=a("cS"),g=a("hb"),h=Math.PI/180,e=new j,l=new d,p=new f,o=new c;return{get:function(a,b,f,d,g,j,o,p){a=a*h;b=b*h;b=new c(Math.sin(-a)*Math.cos(b),Math.sin(b),Math.cos(-a)*Math.cos(b));e.identity();e.sm(f*h);e.tm(g*h);e.Nk(d*h);b.apply(e);if(b.z>0){l.Br(o);l.$E(p);l.Au(j*h);l.jP(b);return b}return s},pF:function(a,c,f,d,l,j,z,C,v,D,F,J,I,L){L||(L=g.Ru);I||(I=b.nm(J,D,F));J||(J=b.Dr(I,D,F));
var Q=D*0.5/Math.tan(J*0.5*h),M=Q*Math.tan(J*0.5*h)*2,S=Q*Math.tan(I*0.5*h)*2;p.jd.set(+M*0.5,+S*0.5,0);p.Vf.set(-M*0.5,+S*0.5,0);p.mr.set(+M*0.5,-S*0.5,0);e.identity();e.tm(-v*h);e.Nk(-z*h);e.sm(C*h);e.translate(0,0,Q);e.tm(-j*h);e.Nk(-l*h);e.sm(-d*h);e.sm(f.Xa()*h);e.tm(f.Sc()*h);e.Nk(f.gb()*h);p.apply(e);o.set(a,c,0);l=p.intersection(f.Qi.SP(o));d={x:n,y:n,xScaled:n,yScaled:n};if(l&&l.z>0){l=p.kP(l);d.xScaled=d.x=l.x/M;d.yScaled=d.y=l.y/S}if(L!=g.Ru){var T,K;switch(L){case g.le:T=Math.min(b.Dr(I,
D,F),J);K=Math.min(b.nm(J,D,F),I);break;case g.Tk:T=Math.max(b.Dr(I,D,F),J);K=Math.max(b.nm(J,D,F),I);break;case g.Jj:T=J;K=b.nm(J,D,F);break;case g.Yf:T=b.Dr(I,D,F);K=I}if(T!=J||K!=I){M=Q*Math.tan(T*0.5*h)*2;S=Q*Math.tan(K*0.5*h)*2;p.jd.set(+M*0.5,+S*0.5,0);p.Vf.set(-M*0.5,+S*0.5,0);p.mr.set(+M*0.5,-S*0.5,0);p.apply(e);o.set(a,c,0);if((l=p.intersection(f.Qi.SP(o)))&&l.z>0){l=p.kP(l);d.xScaled=l.x/M;d.yScaled=l.y/S}}}return d},nla:function(a,b,f,d,g,l,j){j=g*0.5/Math.tan(j*0.5*h);p.jd.set(+g*0.5,
+l*0.5,j);p.Vf.set(-g*0.5,+l*0.5,j);p.mr.set(+g*0.5,-l*0.5,j);e.identity();e.tm(-d*h);e.Nk(-f*h);e.sm(-b*h);e.sm(a.Xa()*h);e.tm(a.Sc()*h);e.Nk(a.gb()*h);p.apply(e);o.set(x,y,0);a=new Line(new c(0,0,0),new c(0,0,1));if((a=p.intersection(a))&&a.z>0){a=p.kP(a);return{x:a.x/g,y:a.y/l}}return s}}});define("eY",["gD","fy"],function(){function a(a){this.u=a}a.prototype.na=N("u");a.prototype.render=E();a.prototype.HP=E();return a});
define("bO",["jquery.mod","gD","cl","eY"],function(a,b,d,c){function f(a,b,c,e,f,d,o,r,m){this.form=a;this.position=b;this.size=c;this.opacity=e;this.red=f;this.green=d;this.blue=o;this.xE=r;this.b1=m;this.Z5();this.Y6()}b=b.extend(c,function(b,d,h,e){c.call(this);this.t=b;this.B=d;this.Vj=this.ue=this.ve=0;this.yH=h;this.zH=e;this.Sd=this.Ja=0;this.u=a("<div/>");this.u.css({display:"none",overflow:"hidden",position:"absolute",cursor:"inherit",transform:"translateZ(0)"});this.Ua=[new f(f.Lz,0.1,52,
0.8,255,255,255,[1,0.5],[0,0.866]),new f(f.Lz,0.2,52,0.6,200,255,200,[1,0.5],[0,0.866]),new f(f.Ku,0.36,112,0.5,200,200,255,[1,0.9,0.6,0],[0,0.2,0.4,1]),new f(f.Ku,0.47,32,0.3,150,200,175,[1,1,0],[0,0.9,1]),new f(f.Ku,0.65,52,0.7,255,255,255,[0.7,0.7,0.2,0],[0,0.1,0.4,1]),new f(f.Lz,0.88,150,0.4,175,150,200,[1,0.5],[0,0.866]),new f(f.Ku,1,33,0.8,200,150,150,[0.8,0.8,0.6,0],[0,0.2,0.4,1])];for(b=0;b<this.Ua.length;b++)this.u.append(this.Ua[b].na());this.tc=a("<div/>");this.tc.css({display:"none","background-color":"#ffffff",
position:"absolute",left:0,top:0,right:0,bottom:0,cursor:"inherit",transform:"translateZ(0)"});this.u.append(this.tc)});b.prototype.HP=function(a,b,c,e,f,d,o){this.Ja=b;this.Sd=a;this.ve=c;this.ue=e;this.Vj=f;this.t=d;this.B=o};b.prototype.render=function(a,b,c,e,f,p){var a=a+this.ve,b=b+this.ue,c=c+this.Vj,o=0,r=0,m,t,u,w;if(a=d.get(this.t,this.B,a,b,c,e,f,p))m=a.x,u=a.y,t=2*(0.5*f-m),w=2*(0.5*p-u),r=Math.sqrt(t*t+w*w),o=Math.sqrt(f*f,p*p),a=Math.min(f,p),o=Math.max(0,Math.min(0.7,1-r/o)),b=this.yH,
r=1-Math.max(0,Math.min(1,r/(a*this.zH))),r*=b;if(0<r||0<o){for(a=0;a<this.Ua.length;a++)b=this.Ua[a],this.Aq(b.na(),o),b.ca(m+t*b.position,u+w*b.position);this.Aq(this.tc,r);this.Aq(this.na(),this.Ja);this.na().css({width:f+"px",height:p+"px","z-index":this.Sd+1})}else this.Aq(this.na(),0)};b.prototype.Aq=function(a,b){0<b?a.css({opacity:b,filter:"alpha(opacity="+Math.round(100*b)+")","-ms-filter":"alpha(opacity="+Math.round(100*b)+")",display:"block",cursor:"inherit"}):a.css("display","none")};
f.prototype.na=N("u");f.prototype.ca=function(a,b){this.u.css({left:a+"px",top:b+"px"})};f.prototype.Z5=function(){this.u=a("<canvas/>");this.u.css({position:"absolute",width:this.size+"px",height:this.size+"px","margin-left":Math.round(0.5*-this.size)+"px","margin-top":Math.round(0.5*-this.size)+"px",transform:"translateZ(0)"});this.u.get(0).width=this.size;this.u.get(0).height=this.size};f.prototype.Y6=function(){switch(this.form){case f.Ku:this.W6();break;case f.Lz:this.Z6()}};f.prototype.W6=function(){for(var a=
0.5*this.size,b=0.5*this.size,c=0.5*this.size,e=this.u.get(0).getContext("2d"),f=e.createRadialGradient(a,b,0,a,b,c),d=0;d<this.xE.length;d++)f.addColorStop(this.b1[d],"rgba("+this.red+","+this.green+","+this.blue+","+this.xE[d]+")");e.fillStyle=f;e.globalAlpha=this.opacity;e.beginPath();e.arc(a,b,c,0,2*Math.PI,q);e.closePath();e.fill()};f.prototype.Z6=function(){var a,b=0.5*this.size,c=0.5*this.size,e=0.5*this.size;a=this.u.get(0).getContext("2d");for(var f=a.createRadialGradient(b,c,0,b,c,e),d=
0;d<this.xE.length;d++)f.addColorStop(this.b1[d],"rgba("+this.red+","+this.green+","+this.blue+","+this.xE[d]+")");a.fillStyle=f;a.globalAlpha=this.opacity;a.beginPath();for(d=0;6>d;d++){var o=45*Math.PI/180+2*Math.PI*d/6,f=b+Math.cos(o)*e,o=c+Math.sin(o)*e;0==d?a.moveTo(f,o):a.lineTo(f,o)}a.closePath();a.fill()};f.Ku="circle";f.Lz="hexagon";return b});
define("eI","jquery.mod,gD,cl,eY,gO,o,he".split(","),function(a,b,d,c,f,j,g){b=b.extend(c,function(b,e,d,p,o,r,m,t){c.call(this);this.cb=b;this.t=e;this.B=d;this.qa=p;this.fj=o;this.gj=r;this.o=m;this.A=t;this.Sd=this.Ja=this.Vj=this.ue=this.ve=0;this.u=a("<div/>");this.u.css({display:"none",overflow:"hidden",position:"absolute",cursor:"inherit",transform:"translateZ(0)"});this.Zi=a("<img></img>");g.UO(this.cb)&&this.Zi.attr("crossOrigin","Anonymous");this.Zi.attr("src",this.cb);this.Zi.css({background:"transparent",
"-ms-filter":"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)",filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)",zoom:1,position:"absolute",width:Math.round(this.o)+"px",height:Math.round(this.A)+"px",cursor:"inherit","transform-origin":Math.round(this.fj)+"px "+Math.round(this.gj)+"px"});this.u.append(this.Zi);this.TD=f.Uq&&j.browser()!=j.Bh});b.prototype.Td=function(){return this.Zi.get(0)};b.prototype.HP=
function(a,b,c,f,d,g,j,t){this.Ja=b;this.Sd=a;this.ve=c;this.ue=f;this.Vj=d;this.t=g;this.B=j;this.qa=t};b.prototype.render=function(a,b,c,f,g,j){a=a+this.ve;b=b+this.ue;c=c+this.Vj;if(a=d.get(this.t,this.B,a,b,c,f,g,j)){this.Zi.css({left:Math.round(a.x)+"px",top:Math.round(a.y)+"px",transform:(this.TD?"translate3D("+Math.round(-this.fj)+"px, "+Math.round(-this.gj)+"px, 0)":"translate("+Math.round(-this.fj)+"px, "+Math.round(-this.gj)+"px)")+(this.qa!=0?" rotateZ("+Math.round(this.qa*1E3)*0.001+"deg)":
"")});this.na().css({width:Math.round(g)+"px",height:Math.round(j)+"px","z-index":this.Sd+1});this.Aq(this.na(),this.Ja)}else this.Aq(this.na(),0)};b.prototype.Aq=function(a,b){b>0?a.css({opacity:b,filter:"alpha(opacity="+Math.round(b*100)+")","-ms-filter":"alpha(opacity="+Math.round(b*100)+")",display:"block",cursor:"inherit"}):a.css("display","none")};return b});
define("bm","cu,jquery.mod,O,dq,bO,eI".split(","),function(a,b,d,c,f,j){function g(){this.Ia=q;this.Qd=[];this.u=b("<div/>");this.u.css({position:"absolute",left:0,top:0,right:0,bottom:0,"z-index":1,cursor:"inherit",transform:"translateZ(0)"})}g.prototype.na=N("u");g.prototype.fO=function(a){switch(a.f_){case d.Oj:return new f(a.Xa(),a.gb(),a.yH,a.zH);case c.Oj:return new j(a.hb(),a.Xa(),a.gb(),a.Sc(),a.fj,a.gj,a.Ea(),a.Ma());default:k("Invalid 2d object type")}};g.prototype.Pt=E();g.prototype.It=
function(a){this.u.append(a.na());this.Qd.push(a)};g.prototype.tu=function(b){b.na().detach();this.Qd=a(this.Qd).without(b)};g.prototype.yr=function(a,b,c,f,d,g,j,t,u){a.HP(b,c,f,d,g,j,t,u)};g.prototype.ca=function(a,b,c,f){this.t=a;this.B=b;this.qa=c;this.q=f};g.prototype.setSize=function(a,b){this.o=a;this.A=b};g.prototype.Fe=H("Ia");g.prototype.render=function(){if(this.Ia&&this.Qd.length>0){a(this.Qd).each(function(a){a.render(this.t,this.B,this.qa,this.q,this.o,this.A)},this);this.u.css("display",
"block")}else this.u.css("display","none")};return g});define("bs",["bm"],function(a){function b(){}b.create=function(){var a=b.lB();return a?new a:s};b.lB=function(){return a};return b});define("gE",["gD","bB"],function(a,b){return a.extend(b,function(a,c){b.call(this,a);this.bz=c})});define("gn",["require","ew"],function(a){function b(){this.status=b.$u;this.SE=this.rr=0;this.RE=[]}a("ew");b.LOADING="loading";b.ib="loaded";b.$u="not loaded";return b});
define("gz","require,cu,gD,bB,iu,gf,gE,gn".split(","),function(a){function b(){this.Vx=B;this.$A={};this.Ua=[];this.zn=[]}var d=a("cu"),c=a("gD"),f=a("bB"),j=a("iu"),g=a("gf"),h=a("gE"),e=a("gn");b.prototype.start=function(){if(!this.Vx){this.Vx=q;for(var a in this.$A){var b=this.$A[a];if(b.status==e.$u){b.status=e.LOADING;this.SB(a,Math.min.apply(Math,b.RE))}}this.MD()}};b.prototype.OP=function(a){for(var a=a.Xe(),b=0;b<a.length;b++)if(!g.x2(a[b]))return B;return q};b.prototype.mi=function(a,b){this.Ua.push(a);
this.j4(a,b)};b.prototype.yh=function(a,b){var c=d(this.Ua).indexOf(a);c<0&&k("Unloading item not loaded");this.Ua.splice(c,1);this.pba(a,b)};b.prototype.j4=function(a,b){this.zn.push(a);for(var c=a.Xe(),f=0,d=c.length;f<d;f++){var h=c[f],g=this.gw(h);g.rr++;g.RE.push(b);if(this.Vx&&g.status==e.$u){g.status=e.LOADING;this.SB(h,Math.min.apply(Math,g.RE))}}this.Vx&&this.MD()};b.prototype.pba=function(a,b){this.zn=d(this.zn).without(a);for(var c=a.Xe(),f=0,h=c.length;f<h;f++){var g=c[f],j=this.gw(g);
j.rr--;var w=j.RE,A=w.indexOf(b);A>=0&&w.splice(A,1);if(this.Vx&j.rr==0&&j.status!=e.$u){j.status=e.$u;j.SE=0;this.jN(g)}}};b.prototype.MD=function(a){for(var a=(a==n?this.zn:this.CU(a)).slice(),b=0;b<a.length;b++){for(var c=a[b],g=c.Xe(),m=0,t=0,u=g.length,w=0;w<g.length;w++){var A=this.gw(g[w]),m=m+A.SE;A.status==e.ib&&t++}c.trigger(new h(j.av,m/u));if(t==u){this.zn=d(this.zn).without(c);c.trigger(new f(j.ib))}}};b.prototype.gw=function(a){var b=this.$A[a];b||(this.$A[a]=b=new e);return b};b.prototype.CU=
function(a){for(var b=[],c=0;c<this.zn.length;c++){var e=this.zn[c];d(e.Xe()).contains(a)&&b.push(e)}return b};b.prototype.SB=E();b.prototype.jN=E();b.prototype.vX=function(a,b){this.gw(a).SE=b/90;this.MD(a)};b.prototype.tX=function(a){this.vX(a,100);var b=this.gw(a);b.SE=100;b.status=e.ib;this.MD(a)};b.prototype.uX=function(a){for(var b=this.CU(a),e=0;e<b.length;e++){var d=b[e];this.yh(d);d.trigger(new f(j.Zf))}c.log("Error loading: "+a)};return b});
define("cA","require,gD,gf,iu,ew,gz".split(","),function(a){var b=a("gD"),d=a("gf"),c=a("iu");a("ew");var f=a("gz"),a=b.extend(f,function(){f.apply(this);this.Ic={}});a.prototype.Td=function(a,b){return this.Ic[a].Td(b)};a.prototype.SB=function(a,b){var f=new d(b);this.Ic[a]=f;f.bind(c.ib,this.bx,this,q);f.bind(c.Zf,this.cx,this,q);f.load(a)};a.prototype.jN=function(a){var b=this.Ic[a];delete this.Ic[a];b.unbind(c.ib,this.bx,this);b.unbind(c.Zf,this.cx,this);b.cancel()};a.prototype.bx=function(a){this.tX(a.source.hb())};
a.prototype.cx=function(a){this.uX(a.source.hb())};return a});
define("cF","require,jquery.mod,gD,bB,dx,iu,cA,gp,cb,hz,fh,ho,dv,fn".split(","),function(a){var b=a("jquery.mod"),d=a("gD"),c=a("bB"),f=a("dx"),j=a("iu"),g=a("cA"),h=a("gp"),e=a("cb"),l=a("hz"),p=a("fh"),o=a("ho"),r=a("dv"),m=a("fn"),a=d.extend(f,function(){f.call(this);this.ZM=this.xD=this.Fa=s;this.BV=B;this.u=b("<div/>");this.u.css({position:"absolute",left:0,top:0,right:0,bottom:0,"z-index":0,cursor:"inherit"});this.ec=new g});a.prototype.Dja=function(a,b){this.xD=a;this.ZM=b};a.prototype.sr=
H("Fa");a.prototype.na=N("u");a.prototype.Yja=function(a){return this.ec.OP(a)};a.prototype.vha=function(a,b){this.ec.mi(a,b)};a.prototype.aka=function(a,b){this.ec.yh(a,b)};a.prototype.fO=function(a){this.Uea(a)||k("Invalid 3d object type");switch(a.g_){case h.wc:return this.LA(a);case l.wc:return this.sT(a);case e.wc:return this.PA(a);case p.wc:return this.Sv(a);case o.wc:return this.Tv(a);case r.wc:return this.vT(a)}};a.prototype.Uea=function(a){switch(a.g_){case h.wc:return a.tD==h.XQ&&!this.HZ()?
B:q;case l.wc:return!this.IZ()?B:q;case r.wc:return!this.XM()?B:q;case e.wc:return!a.hb()&&!this.LZ()||m.is(a.hb(),m.OG)&&!this.XM()?B:q;case p.wc:return!this.JZ()?B:q;case o.wc:return!this.KZ()?B:q;default:return B}};a.prototype.IZ=P(B);a.prototype.JZ=P(B);a.prototype.KZ=P(B);a.prototype.HZ=P(B);a.prototype.LZ=P(B);a.prototype.XM=P(B);a.prototype.JE=P(B);a.prototype.R0=P(s);a.prototype.LA=E();a.prototype.sT=E();a.prototype.vT=E();a.prototype.PA=E();a.prototype.Sv=E();a.prototype.Tv=E();a.prototype.Pt=
E();a.prototype.It=E();a.prototype.tu=E();a.prototype.yr=E();a.prototype.ca=E();a.prototype.setSize=E();a.prototype.xo=E();a.prototype.XE=E();a.prototype.dF=E();a.prototype.Bu=E();a.prototype.jz=E();a.prototype.render=E();a.prototype.YM=function(){this.xD&&this.xD.call(this.ZM)};a.prototype.th=N("BV");a.prototype.vM=function(){this.BV=q;this.ec.start();this.trigger(new c(j.ib))};a.prototype.xM=function(){this.trigger(new c(j.Fm))};a.Pz="fast";a.Uu="quality";return a});
define("fu",[],function(){function a(a,c,f,j,g,h,e,l){this.u=s;this.o=a;this.A=c;this.Av=f;this.wv=j;this.xv=g;this.yv=h;this.zv=e;this.q=l;this.Bp=this.Ap=this.zp=this.ue=this.ve=0;this.ia=1;this.Y=new b;this.O=q}function b(){this.Y=[]}b.prototype.clear=function(){this.Y=[]};b.prototype.translate=function(a,b){this.Y.push("translate"+a.toUpperCase()+"("+b+"px)")};b.prototype.rotate=function(a,b){this.Y.push("rotate"+a.toUpperCase()+"("+b+"rad)")};b.prototype.scale=function(a,b){this.Y.push("scale"+
a.toUpperCase()+"("+b+")")};b.prototype.Oha=function(a){this.Y.push("perspective("+a+"px)")};b.prototype.toString=function(){return this.Y.join(" ")};a.prototype.ld=E();a.prototype.Cu=E();a.prototype.WE=E();a.prototype.ca=function(a,b,f,j,g,h){if(this.ve!=a||this.ue!=b||this.zp!=f||this.Ap!=j||this.Bp!=g||this.ia!=h)this.ve=a,this.ue=b,this.zp=f,this.Ap=j,this.Bp=g,this.ia=h,this.O=q};a.prototype.na=N("u");a.prototype.render=function(){this.O&&(this.O=B,this.Wa())};a.prototype.Wa=E();return a});
define("gZ",["require","dM","cS","fu","gD"],function(a){a("dM");a("cS");var b=a("fu"),a=a("gD").extend(b,function(a,c,f,j,g,h,e,l){b.call(this,a,c,f,j,g,h,e,l);this.Sd=0});a.prototype.Cu=function(a){this.Sd!=a&&(this.Sd=a,this.O=q)};a.prototype.render=function(){b.prototype.render.call(this)};return a});
define("gw",["jquery.mod","gD","gZ"],function(a,b,d){b=b.extend(d,function(a,b,j,g,h,e,l,p,o,r,m){d.call(this,g,h,e,l,p,o,r,m);this.mh=a;this.vj=b;this.qk=j;this.gl=n;this.Qm=100;this.Ja=1;this.cg()});b.prototype.ld=function(a){this.Ja!=a&&(this.Ja=a,this.O=q)};b.prototype.WE=function(a,b){if(this.bla!=a||this.Qm!=b)this.gl=a,this.Qm=b,this.O=q};b.prototype.Wa=function(){var a=0.8*this.Qm,b=2*a*Math.tan(0.5*this.q),d=b*this.A/this.o,g=0.5<this.Ja?2.2*(this.Ja-0.5):0;this.Y.clear();this.Y.translate("X",
0.5*-b);this.Y.translate("Y",0.5*-d);this.Y.rotate("Y",-(this.Av+this.ve));this.Y.rotate("X",-(this.wv+this.ue));this.Y.translate("Z",-a);this.Y.rotate("Z",-(this.zv+this.Bp));this.Y.rotate("Y",this.yv+this.Ap);this.Y.rotate("X",-(this.xv+this.zp));this.Y.scale("X",this.ia);this.Y.scale("Y",this.ia);this.u.css({left:-g+"px",top:-g+"px",width:b+2*g+"px",height:d+2*g+"px","z-index":this.Sd,"-webkit-transform":this.Y.toString()})};b.prototype.cg=function(){if(this.vj==this.o&&this.qk==this.A)this.u=
a(this.mh);else{var b=document.createElement("canvas");b.width=this.o;b.height=this.A;this.mh&&b.getContext("2d").drawImage(this.mh,0,0,this.vj,this.qk,0,0,this.o,this.A);this.u=a(b)}this.u.css({position:"absolute",display:"block","-webkit-transform-style":"preserve-3d","-webkit-user-select":"none","-webkit-backface-visibility":"hidden"})};return b});
define("p",["require","jquery.mod","fu","gD"],function(a){var b=a("jquery.mod"),d=a("fu"),a=a("gD").extend(d,function(a,f,j,g,h,e,l,p,o){d.call(this,f,j,g,h,e,l,p,o);this.Qm=100;this.KH=this.JH=0;this.u=b(a);this.u.css({position:"absolute","backface-visibility":"hidden",display:"block","transform-origin":"0px 0px","perspective-origin":"0px 0px",width:this.o+"px",height:this.A+"px","user-select":"none"})});a.prototype.WE=function(a,b,d,g){if(this.Qm!=b||this.JH!=d||this.KH!=g)this.Qm=b,this.JH=d,this.KH=
g,this.O=q};a.prototype.Wa=function(){var a=this.o/(2*Math.tan(0.5*this.q));this.Y.clear();this.Y.Oha(this.Qm);this.Y.translate("Z",this.Qm);this.Y.rotate("X",this.JH);this.Y.rotate("Y",this.KH);this.Y.rotate("Y",-(this.Av+this.ve));this.Y.rotate("X",-(this.wv+this.ue));this.Y.translate("Z",0.995*-a);this.Y.rotate("Z",-(this.zv+this.Bp));this.Y.rotate("Y",this.yv+this.Ap);this.Y.rotate("X",-(this.xv+this.zp));this.Y.scale("X",this.ia);this.Y.scale("Y",this.ia);this.Y.translate("X",0.5*-this.o);this.Y.translate("Y",
0.5*-this.A);this.u.css("transform",this.Y.toString())};return a});
define("fB",["jquery.mod","gD","gZ","o"],function(a,b,d,c){b=b.extend(d,function(a,b,c,h,e,l,p,o,r){d.call(this,b,c,h,e,l,p,o,r);this.Ja=1;this.cg(a)});b.prototype.ld=function(a){this.Ja!=a&&(this.Ja=a,this.O=q)};b.prototype.Wa=function(){var a=c.sh()==c.Az?256:100,b=2*a*Math.tan(0.5*this.q),d=b*this.A/this.o;this.Y.clear();this.Y.translate("X",0.5*-b);this.Y.translate("Y",0.5*-d);this.Y.rotate("Y",-(this.Av+this.ve));this.Y.rotate("X",-(this.wv+this.ue));this.Y.translate("Z",-a);this.Y.rotate("Z",
-(this.zv+this.Bp));this.Y.rotate("Y",this.yv+this.Ap);this.Y.rotate("X",-(this.xv+this.zp));this.Y.scale("X",this.ia);this.Y.scale("Y",this.ia);this.u.css({width:b+"px",height:d+"px",transform:this.Y.toString(),"-ms-transform":this.Y.toString(),"-moz-transform":this.Y.toString()});this.UJ.css({opacity:Math.min(this.Ja,1)})};b.prototype.cg=function(b){this.u=a("<div></div>");this.u.css({position:"absolute","user-select":"none","-ms-user-select":"none","-moz-user-select":"none","transform-style":"preserve-3d",
"-ms-transform-style":"preserve-3d","-moz-transform-style":"preserve-3d","backface-visibility":"hidden","-ms-backface-visibility":"hidden","-moz-backface-visibility":"hidden"});this.UJ=a(b);this.UJ.css({position:"absolute",display:"block",width:"100%",height:"100%"});this.u.append(this.UJ)};return b});
define("bH",["jquery.mod","gD","gZ"],function(a,b,d){a=b.extend(d,function(a,b,j,g,h,e,l,p,o,r,m,t){d.call(this,g,h,e,l,p,o,r,m);this.mh=a;this.vj=b;this.qk=j;this.Hb=t;this.pM=s});a.prototype.Wa=function(){this.Y.clear();this.Y.translate("X",0.5*-this.o);this.Y.translate("Y",0.5*-this.A);this.Y.rotate("Y",-(this.Av+this.ve));this.Y.rotate("X",-(this.wv+this.ue));this.Y.translate("Z",-this.o/(2*Math.tan(0.5*this.q)));this.Y.rotate("Z",-(this.zv+this.Bp));this.Y.rotate("Y",this.yv+this.Ap);this.Y.rotate("X",
-(this.xv+this.zp));this.Y.scale("X",this.ia);this.Y.scale("Y",this.ia);this.u.css({"z-index":this.Sd,"-webkit-transform":this.Y.toString()})};a.prototype.s6=function(){if(this.vj==this.o&&this.qk==this.A&&0==this.Hb)this.pM=this.mh;else{var a=document.createElement("canvas");a.width=this.o+2*this.Hb;a.height=this.A+2*this.Hb;if(this.mh){var b=a.getContext("2d");b.drawImage(this.mh,0,0,this.vj,this.qk,this.Hb,this.Hb,this.o,this.A);if(0<this.Hb){var d=Math.round(this.Hb*this.vj/this.o);b.save();b.translate(0,
this.Hb);b.scale(1,-1);b.drawImage(this.mh,0,0,this.vj,d,this.Hb,0,this.o,this.Hb);b.restore();b.save();b.translate(0,this.Hb+this.A);b.scale(1,-1);b.drawImage(this.mh,0,this.qk-d,this.vj,d,this.Hb,-this.Hb,this.o,this.Hb);b.restore();b.save();b.translate(this.Hb,0);b.scale(-1,1);b.drawImage(this.mh,0,0,d,this.qk,0,this.Hb,this.Hb,this.A);b.restore();b.save();b.translate(this.Hb+this.o,0);b.scale(-1,1);b.drawImage(this.mh,this.vj-d,0,d,this.qk,-this.Hb,this.Hb,this.Hb,this.A);b.restore()}}this.pM=
a}};return a});
define("en",["jquery.mod","gD","bH"],function(a,b,d){b=b.extend(d,function(a,b,j,g,h,e,l,p,o,r,m,t,u,w,A){this.xB=u;d.call(this,a,b,j,g,h,e,l,p,o,r,m,t);this.cg(w||8,A||4)});b.prototype.cg=function(b,f){for(var d=this.q/(0.5*Math.PI),g=Math.ceil(b*d),d=Math.ceil(f*this.A*d/this.o),h=[],e=0;e<=g;e++)h.push(Math.round(e*this.o/g));for(var l=[],e=0;e<=d;e++)l.push(Math.round(e*this.A/d));this.u=a("<div></div>");for(e=0;e<d;e++)for(var p=l[e]-(0==e?this.Hb:this.xB),o=l[e+1]+(e==d-1?this.Hb:this.xB),r=
0;r<g;r++){var m=h[r]-(0==r?this.Hb:this.xB),t=h[r+1]+(r==g-1?this.Hb:this.xB),u=document.createElement("canvas");u.width=t-m;u.height=o-p;var w=u.getContext("2d"),A=Math.max(0,0-m),z=Math.max(0,0-p),t=Math.max(0,t-this.o),C=Math.max(0,o-this.A),v=u.width-A-t,D=u.height-z-C;this.Yv(w,m+A,p+z,v,D,A,z,v,D);0<z&&(w.save(),w.translate(0,z),w.scale(1,-1),this.Yv(w,m+A,0,v,z,A,0,v,z),w.restore());0<C&&(w.save(),w.translate(0,C+D),w.scale(1,-1),this.Yv(w,m+A,this.A-C,v,C,A,0,v,C),w.restore());0<A&&(w.save(),
w.translate(A,0),w.scale(-1,1),this.Yv(w,0,p+z,A,D,0,z,A,D),w.restore());0<t&&(w.save(),w.translate(t+v,0),w.scale(-1,1),this.Yv(w,this.o-t,p+z,t,D,0,z,t,D),w.restore());w=a(u);w.css({position:"absolute",left:m+"px",top:p+"px",width:u.width+"px",height:u.height+"px","-webkit-transform-style":"preserve-3d","-webkit-backface-visibility":"hidden"});this.u.append(w)}this.u.css({position:"absolute",width:this.o+"px",height:this.A+"px",display:"block","-webkit-user-select":"none","-webkit-transform-style":"preserve-3d",
"-webkit-backface-visibility":"hidden"})};b.prototype.Yv=function(a,b,d,g,h,e,l,p,o){b=b*this.vj/this.o;d=d*this.qk/this.A;g=g*this.vj/this.o;h=h*this.qk/this.A;this.mh&&a.drawImage(this.mh,b,d,g,h,e,l,p,o)};return b});
define("cZ",["jquery.mod","gD","bH"],function(a,b,d){b=b.extend(d,function(a,b,j,g,h,e,l,p,o,r,m,t){d.call(this,a,b,j,g,h,e,l,p,o,r,m,t);this.cg()});b.prototype.cg=function(){this.s6();var b=a(this.pM);b.css({position:"absolute",left:-this.Hb+"px",top:-this.Hb+"px",width:this.o+2*this.Hb+"px",height:this.A+2*this.Hb+"px","-webkit-transform-style":"preserve-3d","-webkit-backface-visibility":"hidden","-webkit-user-select":"none",display:"block"});this.u=a("<div></div>");this.u.append(b);this.u.css({position:"absolute",
width:this.o+"px",height:this.A+"px","-webkit-transform-style":"preserve-3d","-webkit-user-select":"none","-webkit-backface-visibility":"hidden"})};return b});
define("cE",["jquery.mod","gD","gZ"],function(a,b,d){b=b.extend(d,function(a,b,j,g,h,e,l,p,o){d.call(this,b,j,g,h,e,l,p,o);this.cg(a)});b.prototype.Wa=function(){var a=256*Math.tan(0.5*this.q),b=a*this.A/this.o;this.Y.clear();this.Y.translate("X",-(0.5*a));this.Y.translate("Y",-(0.5*b));this.Y.rotate("Y",-(this.Av+this.ve));this.Y.rotate("X",-(this.wv+this.ue));this.Y.translate("Z",-128+128/this.o);this.Y.rotate("Z",-(this.zv+this.Bp));this.Y.rotate("Y",this.yv+this.Ap);this.Y.rotate("X",-(this.xv+
this.zp));this.Y.scale("X",this.ia);this.Y.scale("Y",this.ia);this.u.css({width:a+"px",height:b+"px","z-index":this.Sd,"-webkit-transform":this.Y.toString()})};b.prototype.cg=function(b){this.u=a(b);this.u.css({position:"absolute",display:"block","-webkit-user-select":"none","-webkit-transform-style":"preserve-3d","-webkit-backface-visibility":"hidden"})};return b});
define("gr","gw,p,fB,en,cZ,cE,o".split(","),function(a,b,d,c,f,j,g){var h={create:function(e,l,p,o,r,m,t,u,w,A){if(g.browser()==g.zm)return new b(e,l,p,r,m,t,u,w,A);if(g.sh()==g.Am){if(g.browser()==g.Ah){if(g.ic()){var z=h.hw(l,p,750,750);return new c(e,l,p,z.width,z.height,r,m,t,u,w,A,o?2:0,2,8,4)}return new c(e,l,p,l,p,r,m,t,u,w,A,o?2:0,2,4,4)}if(g.browser()==g.ui){z=h.hw(l,p,1500,1500);return new f(e,l,p,z.width,z.height,r,m,t,u,w,A,o?4:0)}if(g.browser()==g.zo){z=h.hw(l,p,800,800);return new a(e,
l,p,z.width,z.height,r,m,t,u,w,A)}return new j(e,l,p,r,m,t,u,w,A)}return new d(e,l,p,r,m,t,u,w,A)},C1:function(a,b,c){if(g.sh()==g.Am){if(g.browser()==g.Ah)return B;if(g.browser()==g.ui){if(c)return B;c=h.hw(a,b,1500,1500);return a==c.width&&b==c.height}if(g.browser()==g.zo){c=h.hw(a,b,800,800);return a==c.width&&b==c.height}}return q},hw:function(a,b,c,f){var d={};if(c*b>a*f){d.width=Math.min(c,a);d.height=b*d.width/a}else{d.height=Math.min(f,b);d.width=a*d.height/b}return d}};return h});
define("cL",["require","jquery.mod"],function(a){function b(){this.u=d("<div/>");this.u.css({position:"absolute"});this.zy=d("<div/>");this.zy.css({position:"absolute",margin:"0px",padding:"0px",top:"50%",left:"50%"});this.zy.appendTo(this.u);this.bB=d("<div/>");this.bB.css({position:"absolute","user-select":"none","-ms-user-select":"none","-moz-user-select":"none","-webkit-user-select":"none"});this.bB.appendTo(this.zy);this.vf=[];this.A=this.o=100;this.ia=this.$h=this.xg=this.wg=this.B=this.t=n;
this.cf=this.Qf=this.vA=this.wA=0;this.gl=0.5*Math.PI;this.Sd=0;this.Ja=1;this.ug=this.Iv=this.$n=this.Ci=this.WN=q}var d=a("jquery.mod");b.prototype.Cg=function(a){this.vf.push(a);this.bB.append(a.na())};b.prototype.na=N("u");b.prototype.setSize=function(a,b){if(this.o!=a||this.A!=b)this.o=a,this.A=b,this.$n=q};b.prototype.ca=function(a,b,d,g,h,e){if(this.t!=a||this.B!=b||this.wg!=d||this.xg!=g||this.$h!=h||this.ia!=e){this.t=a;this.B=b;this.wg=d;this.xg=g;this.$h=h;this.ia=e;this.ug=q;for(a=0;a<
this.vf.length;a++)this.vf[a].ca(this.t,this.B,this.wg,this.xg,this.$h,this.ia)}};b.prototype.zia=function(a,b,d){if(this.wA!=a||this.vA!=b||this.gl!=d)this.wA=a,this.vA=b,this.gl=d,this.Iv=q};b.prototype.wP=function(a,b){if(this.Qf!=a||(this.cf=b))this.Qf=a,this.cf=b,this.Iv=q};b.prototype.Cu=function(a){this.Sd!=a&&(this.Sd=a,this.WN=q)};b.prototype.ld=function(a){this.Ja!=a&&(this.Ja=a,this.Ci=q)};b.prototype.render=function(){this.Ci&&(this.Ci=B,this.Jq());this.WN&&(this.WN=B,this.Rea());this.$n&&
(this.$n=B,this.Iv=q,this.py());this.Iv&&(this.Iv=B,this.ky());this.ug&&(this.ug=B,this.tN());this.Bx()};b.prototype.Jq=function(){for(var a=0;a<this.vf.length;a++)this.vf[a].ld(this.Ja)};b.prototype.Rea=function(){this.u.css("z-index",this.Sd);for(var a=0;a<this.vf.length;a++)this.vf[a].Cu(this.Sd)};b.prototype.py=function(){this.u.css({width:this.o+"px",height:this.A+"px"})};b.prototype.ky=E();b.prototype.tN=E();b.prototype.Bx=E();return b});
define("bx","require,eC,cS,cL,o,gD".split(","),function(a){var b=a("eC"),d=a("cS"),c=a("cL"),f=a("o"),a=a("gD").extend(c,function(){c.call(this);this.zy.css({"perspective-origin":"0px 0px","-moz-perspective-origin":"0px 0px","-webkit-perspective-origin":"0px 0px","transform-origin":"0px 0px","-moz-transform-origin":"0px 0px","-webkit-transform-origin":"0px 0px","transform-style":"preserve-3d","-moz-transform-style":"preserve-3d","-webkit-transform-style":"preserve-3d",transform:"translateZ(0px)",
"-moz-transform":"translateZ(0px)","-webkit-transform":"translateZ(0px)"});this.Qi=new b;this.gi=new d});a.prototype.Jq=function(){f.sh()==f.Am&&this.u.css("opacity",this.Ja);c.prototype.Jq.call(this)};a.prototype.py=function(){this.Qi.Br(this.o);this.Qi.$E(this.A);c.prototype.py.call(this)};a.prototype.ky=function(){var a=Math.round(this.o/(2*Math.tan(this.gl*0.5))),b=this.wA+this.Qf,f=this.vA+this.cf;this.zy.css({perspective:a+"px","-ms-perspective":a+"px","-moz-perspective":a+"px","-webkit-perspective":a+
"px"});var e="translate3d(0px, 0px, "+a+"px) rotateX("+f+"rad) rotateY("+b+"rad) rotateZ(0rad)";this.bB.css({"transform-style":"preserve-3d","-moz-transform-style":"preserve-3d","-webkit-transform-style":"preserve-3d",transform:e,"-moz-transform":e,"-webkit-transform":e});this.Qi.Au(this.gl);this.gi=new d;this.gi.sm(b);this.gi.Nk(f);for(e=0;e<this.vf.length;e++)this.vf[e].WE(this.gl,a,f,b);c.prototype.ky.call(this)};a.prototype.Bx=function(){for(var a=0;a<this.vf.length;a++)this.vf[a].render(this.Qi,
this.gi);c.prototype.Bx.call(this)};return a});define("eN",["require","gD","gr","bx"],function(a){var b=a("gD"),d=a("gr"),c=a("bx");return b.extend(c,function(a,b,g,h,e,l,p){c.call(this);var o=Math.PI,r=0.5*o;this.Cg(d.create(a,p,p,q,0,0,0,0,0,+r));this.Cg(d.create(b,p,p,q,+r,0,0,0,0,+r));this.Cg(d.create(g,p,p,q,o,0,0,0,0,+r));this.Cg(d.create(h,p,p,q,-r,0,0,0,0,+r));this.Cg(d.create(e,p,p,q,0,+r,0,0,0,+r));this.Cg(d.create(l,p,p,q,0,-r,0,0,0,+r))})});
define("fV",["require","gD","gr","bx"],function(a){var b=a("gD"),d=a("gr"),c=a("bx");return b.extend(c,function(a,b,g,h){c.call(this);this.Cg(d.create(a,b,g,B,0,0,0,0,0,h))})});
define("gh",["require","cL","o","gD"],function(a){var b=a("cL");a("o");a=a("gD").extend(b,function(){b.call(this)});a.prototype.Jq=function(){this.u.css("opacity",this.Ja);b.prototype.Jq.call(this)};a.prototype.ky=function(){for(var a=Math.round(this.o/(2*Math.tan(0.5*this.gl))),c=this.wA+this.Qf,f=this.vA+this.cf,j=0;j<this.vf.length;j++)this.vf[j].WE(this.gl,a,f,c);b.prototype.ky.call(this)};a.prototype.Bx=function(){for(var a=0;a<this.vf.length;a++)this.vf[a].render();b.prototype.Bx.call(this)};
return a});define("T",["require","gD","gr","gh"],function(a){var b=a("gD"),d=a("gr"),c=a("gh");return b.extend(c,function(a,b,g,h,e,l,p){c.call(this);var o=Math.PI,r=0.5*o;this.Cg(d.create(a,p,p,q,0,0,0,0,0,+r));this.Cg(d.create(b,p,p,q,+r,0,0,0,0,+r));this.Cg(d.create(g,p,p,q,o,0,0,0,0,+r));this.Cg(d.create(h,p,p,q,-r,0,0,0,0,+r));this.Cg(d.create(e,p,p,q,0,+r,0,0,0,+r));this.Cg(d.create(l,p,p,q,0,-r,0,0,0,+r))})});
define("fj",["require","gD","gr","gh"],function(a){var b=a("gD"),d=a("gr"),c=a("gh");return b.extend(c,function(a,b,g,h){c.call(this);this.Cg(d.create(a,b,g,B,0,0,0,0,0,h))})});define("bL","require,eN,fV,T,fj,o".split(","),function(a){var b=a("eN"),d=a("fV"),c=a("T"),f=a("fj"),j=a("o");return{gO:function(a,b,c,l){return j.sh()==j.Hr?new f(a,b,c,l):new d(a,b,c,l)},eO:function(a,f,e,d,p,o,r){return j.sh()==j.Hr?new c(a,f,e,d,p,o,r):new b(a,f,e,d,p,o,r)}}});
define("dO",["gD","jquery.mod"],function(a,b){function d(){this.u=b("<div/>");this.u.css({position:"absolute",overflow:"hidden"});this.t=this.B=0;this.q=0.5*Math.PI;this.A=this.o=100;this.dd=[];this.ug=this.$n=q}d.prototype.na=N("u");d.prototype.add=function(a){this.dd.push(a);a.na().appendTo(this.u);this.ug=this.$n=q};d.prototype.remove=function(a){for(var b=0;b<this.dd.length;b++)if(this.dd[b]==a){this.dd[b].na().detach();this.dd.splice(b,1);break}};d.prototype.ca=function(a,b,d){if(this.t!=a||
this.B!=b||this.q!=d)this.ug=q,this.t=a,this.B=b,this.q=d};d.prototype.setSize=function(a,b){if(this.o!=a||this.A!=b)this.$n=q,this.o=a,this.A=b};d.prototype.render=function(){if(this.$n){this.$n=B;this.u.css({width:this.o+"px",height:this.A+"px"});for(var a=0;a<this.dd.length;a++)this.dd[a].setSize(this.o,this.A)}if(this.ug){this.ug=B;for(a=0;a<this.dd.length;a++)this.dd[a].zia(this.t,this.B,this.q)}for(a=0;a<this.dd.length;a++)this.dd[a].render()};return d});
define("gI","cu,gD,bj,cF,bL,gr,dO,gp".split(","),function(a,b,d,c,f,j,g,h){var e=b.extend(c,function(){c.call(this);this.b=new g;this.vM();this.xM();this.na().append(this.b.na())});e.prototype.LA=function(a){var b=a.Ni,c=a.Ob,e=j.C1(b,b,q);return f.eO(this.vs(a,h.Iz,c,e),this.vs(a,h.Kr,c,e),this.vs(a,h.Gz,c,e),this.vs(a,h.Jr,c,e),this.vs(a,h.Jz,c,e),this.vs(a,h.Hz,c,e),b,c)};e.prototype.vs=function(a,b,c,e){if(c)if(b==h.Jr)b=h.Kr;else if(b==h.Kr)b=h.Jr;(e=(b=a.jm(b))?this.ec.Td(b,e):s)&&c&&d.y0(e,
a.Ni,a.Ni);return e};e.prototype.PA=function(a){var b=j.C1(a.Ea(),a.Ma(),B);return f.gO(this.ec.Td(a.hb(),b),a.Ea(),a.Ma(),a.q*e.pd)};e.prototype.Pt=E();e.prototype.It=function(a){this.b.add(a)};e.prototype.tu=function(a){this.b.remove(a)};e.prototype.yr=function(a,b,c,f,d,h,g,j,A,z,C,v,D,F,J,I){a.Cu(b);a.ld(c);a.wP(f*e.pd,d*e.pd);a.ca(g*e.pd,j*e.pd,z*e.pd,C*e.pd,v*e.pd,I)};e.prototype.ca=function(a,b,c,f){this.b.ca(a*e.pd,b*e.pd,f*e.pd)};e.prototype.setSize=function(a,b){this.b.setSize(a,b)};e.prototype.render=
function(){this.b.render();this.YM()};e.pd=Math.PI/180;e.J3=180/Math.PI;return e});define("gk",["cu","gD","gz"],function(a,b,d){b=b.extend(d,function(a,b,j){d.apply(this,arguments);this.Be=[];this.l$=a;this.iea=b;this.Za=j});b.prototype.SB=function(a){this.Be.push(a);this.l$.call(this.Za,a)};b.prototype.jN=function(b){this.Be=a(this.Be).without(b);this.iea.call(this.Za,b)};b.prototype.Bha=function(a){this.tX(a)};b.prototype.Dha=function(a,b){this.vX(a,b)};b.prototype.Cha=function(a){this.uX(a)};return b});
define("bE",["jquery.mod","gD","iu","bB","dx"],function(a,b,d,c,f){b=b.extend(f,function(b,c,d,e){f.call(this);b?(this.fV=B,this.Db=a(b)):(this.fV=q,this.Db=a("<div></div>"),this.Db.css({position:"absolute",left:0,top:0,width:1,height:1,cursor:"inherit"}),a("body").append(this.Db));this.s4=c;this.Ada=d;this.o7=e;this.bV=B;this.RI=s;this.ll();this.Xea()});b.prototype.remove=function(){this.Db.flash().remove()};b.prototype.call=function(){for(var a=arguments[0],b=[],c=1;c<arguments.length;c++)b.push(arguments[c]);
if(a=this.RI[a])return a.apply(this.RI,b)};b.prototype.sd=function(){return this.Db.flash.apply(this.Db,arguments)};b.prototype.ll=function(){this.sd(this.U7());if(this.bV){var b=a("<div></div>");b.css({position:"absolute",left:0,top:0,right:0,bottom:0,"z-index":100});a(this.s4).append(b);var c=a(this.sd().get(0));c.detach();b.append(c)}};b.prototype.Xea=function(){var a=this,b=setInterval(function(){a.sd(function(){try{this.isReadyForCommands()&&(clearInterval(b),a.oaa.call(a))}catch(c){}})},50)};
b.prototype.oaa=function(){this.fV&&this.Db.css("visibility","hidden");this.RI=this.sd().get(0);this.trigger(new c(d.Fm))};b.prototype.U7=function(){var a=this;return{width:"100%",height:"100%",base:this.m8(),swf:this.Ada,hasVersion:{major:10,minor:0},hasVersionFail:function(){return a.bV=q},expressInstall:this.o7,wmode:"opaque",allowscriptaccess:"always",style:"position:absolute; left:0; top:0; width:100%; height:100%; cursor:inherit;"}};b.prototype.m8=function(){var a=window.location.href.split("/");
a[a.length-1]="";return a.join("/")};return b});
define("cq","jquery.mod,gD,iu,cF,gk,gp,o,bE".split(","),function(a,b,d,c,f,j,g,h){var e=b.extend(c,function(){c.call(this);this.ec=new f(this.j$,this.gea,this);this.dM=B;this.ZM=this.xD=s;this.qa=this.B=this.t=0;this.q=90;this.sd=s;this.Dn=n});e.prototype.sr=function(a){c.prototype.sr.call(this,a);this.sd=new h(this.na(),this.Fa.get("settings").get(TDV.ag.ZP),this.Fa.get("settings").get(TDV.ag.lQ),this.Fa.get("settings").get(TDV.ag.kQ));this.sd.bind(d.Fm,this.naa,this)};e.prototype.xo=function(a){this.Dn=
a;this.th()&&this.Dn!==n&&this.sd.call("setMode",this.Dn)};e.prototype.LA=function(a){var b=this.uT();this.sd.call("createCube",b,a.jm(j.Iz),a.jm(j.Kr),a.jm(j.Gz),a.jm(j.Jr),a.jm(j.Jz),a.jm(j.Hz),a.Ni,a.Ob);return b};e.prototype.PA=function(a){var b=this.uT();this.sd.call("createPlane",b,a.hb(),a.Ea(),a.Ma(),a.q);return b};e.prototype.Pt=function(a){this.sd.call("destroyObject",a)};e.prototype.It=function(a){this.sd.call("addObject",a)};e.prototype.tu=function(a){this.sd.call("removeObject",a)};e.prototype.yr=
function(a,b,c,e,f,d,h,g,j,z,C,v,D,F,J,I){this.sd.call("setObject",a,b,c,e,f,h,g,z,C,v,I)};e.prototype.ca=function(a,b,c,e){this.sd.call("setPosition",a,b,e)};e.prototype.setSize=E();e.prototype.render=function(){this.dM=q};e.prototype.N$=function(){if(this.dM){this.dM=B;this.sd.call("render");this.YM()}};e.prototype.naa=function(){this.sd.call("addEventCallback","image load",b.dE(this.R$,this));this.sd.call("addEventCallback","image loading progress",b.dE(this.T$,this));this.sd.call("addEventCallback",
"image loading error",b.dE(this.S$,this));this.sd.call("addEventCallback","enter frame",b.dE(this.N$,this));this.vM();this.xM();if(g.sh()==g.Hr){var c=a("<div></div>");c.css({position:"absolute",left:0,top:0,right:0,bottom:0,"z-index":1,cursor:"inherit","background-color":"#000000","-ms-filter":"alpha(opacity=0)",filter:"alpha(opacity=0)",transform:"translateZ(0)"});this.na().append(c)}this.xo(this.Dn)};e.prototype.j$=function(a){this.sd.call("loadImage",a,g.ic()?121E4:n)};e.prototype.gea=function(a){this.sd.call("unloadImage",
a)};e.prototype.R$=function(a){this.ec.Bha(a)};e.prototype.T$=function(a,b){this.ec.Dha(a,b)};e.prototype.S$=function(a){this.ec.Cha(a)};e.prototype.uT=function(){return b.mP(8)};e.vka="image load";e.wka="image progress loading";e.uka="image error loading";return e});
define("f",["require","X","o"],function(a){var b=a("X"),d=a("o");return{q3:function(a,b){function d(){var a=[Math.max(document.documentElement.clientWidth,window.innerWidth||0),Math.max(document.documentElement.clientHeight,window.innerHeight||0)].sort(function(a,b){return b-a}),b=[screen.width,screen.height].sort(function(a,b){return b-a}),a=[Math.round(a[0]/b[0]),Math.round(a[1]/b[1])].sort()[0]||1;return window.devicePixelRatio/a}this.setSize=function(a,c){b.setSize(a,c)};this.start=function(){b.setPixelRatio(d())};
this.stop=E();this.render=function(a,c,e,d){b.render(a,c,e,d)}},L3:function(a,f){var j,g,h,e,l,p,o,r;function m(a,b,c){var e,f;e=Math.PI/180;f=Math.tan(a.upDegrees*e);var d=Math.tan(a.downDegrees*e),h=Math.tan(a.leftDegrees*e),a=Math.tan(a.rightDegrees*e);e=q;var b=b===n?0.01:b,c=c===n?1E4:c,g=(e===n?q:e)?-1:1,l=new THREE.Matrix4,j=l.elements,o=2/(h+a),m=2/(f+d);e=[o,m];f=[0.5*(h-a)*o,0.5*(f-d)*m];j[0]=e[0];j[1]=0;j[2]=f[0]*g;j[3]=0;j[4]=0;j[5]=e[1];j[6]=-f[1]*g;j[7]=0;j[8]=0;j[9]=0;j[10]=c/(b-c)*
-g;j[11]=c*b/(b-c);j[12]=0;j[13]=0;j[14]=g;j[15]=0;l.transpose();return l}var t,u,w,A,z=new THREE.Vector3,C=new THREE.Vector3,v=[0,0,0.5,1],D=[0.5,0,0.5,1],F=new THREE.PerspectiveCamera;F.layers.enable(1);var J=new THREE.PerspectiveCamera;J.layers.enable(2);this.scale=1;this.start=function(){A=b.D0();t=f.getPixelRatio();var a=f.getSize();u=a.width;w=a.height;var a=A.getEyeParameters("left"),c=1;d.oha()?c=2048/a.renderHeight:d.Xy()&&(c=devicePixelRatio*screen.height/a.renderHeight);f.setPixelRatio(c);
f.setSize(2*a.renderWidth,a.renderHeight,B)};this.stop=function(){f.setPixelRatio(t);f.setSize(u,w,B);A=s};this.setSize=function(a,b){u=a;w=b};this.render=function(a,c,d,u){var t=b.D0(),w=a.autoUpdate;w&&(a.updateMatrixWorld(),a.autoUpdate=B);var A=t.getEyeParameters("left"),Y=t.getEyeParameters("right");z.fromArray(A.offset);C.fromArray(Y.offset);var G=f.getSize(),U=t.getLayers(),V=U.length&&U[0],U=V&&V.leftBounds!==s&&4===V.leftBounds.length?V.leftBounds:v,V=V&&V.rightBounds!==s&&4===V.rightBounds.length?
V.rightBounds:D;l=Math.round(G.width*U[0]);p=Math.round(G.height*U[1]);o=Math.round(G.width*U[2]);r=Math.round(G.height*U[3]);j=Math.round(G.width*V[0]);g=Math.round(G.height*V[1]);h=Math.round(G.width*V[2]);e=Math.round(G.height*V[3]);d?(f.setRenderTarget(d),d.scissorTest=q):(f.setRenderTarget(s),f.setScissorTest(q));(f.autoClear||u)&&f.clear();c.parent===s&&c.updateMatrixWorld();c.matrixWorld.decompose(F.position,F.quaternion,F.scale);c.matrixWorld.decompose(J.position,J.quaternion,J.scale);U=this.scale;
F.translateOnAxis(z,U);J.translateOnAxis(C,U);(U=b.getFrameData())?(t.depthNear=c.near,t.depthFar=c.far,F.projectionMatrix.elements=U.leftProjectionMatrix,J.projectionMatrix.elements=U.rightProjectionMatrix):(F.projectionMatrix=m(A.fieldOfView,c.near,c.far),J.projectionMatrix=m(Y.fieldOfView,c.near,c.far));d?(d.viewport.set(l,p,o,r),d.scissor.set(l,p,o,r)):(f.setViewport(l,p,o,r),f.setScissor(l,p,o,r));f.render(a,F,d,u);d?(d.viewport.set(j,g,h,e),d.scissor.set(j,g,h,e)):(f.setViewport(j,g,h,e),f.setScissor(j,
g,h,e));f.render(a,J,d,u);d?(d.viewport.set(0,0,G.width,G.height),d.scissor.set(0,0,G.width,G.height),d.scissorTest=B,f.setRenderTarget(s)):(f.setViewport(0,0,G.width,G.height),f.setScissorTest(B));w&&(a.autoUpdate=q);b.submitFrame()}}}});
define("fi",["require"],function(){var a={},b=Math.PI/180;a.Rk=Math.pow(10,3);a.$Q=a.Rk;a.Vfa=function(d,c,f,j){c=-c*b;f*=b;return new d.SphereGeometry(0.5*a.$Q,128,64,0.5*-c-90*b,c,0.5*(Math.PI-f)-j*b,f)};a.eO=function(b,c,f,j,g,h){var e=a.Rk,l=e/2,p=this.ll(b);this.Hm(b,p,-l,+l,-l,+e,0,0,0,-e,0,c[0],f[0],j[0],g[0],h[0]);this.Hm(b,p,+l,+l,-l,0,0,+e,0,-e,0,c[1],f[1],j[1],g[1],h[1]);this.Hm(b,p,+l,+l,+l,-e,0,0,0,-e,0,c[2],f[2],j[2],g[2],h[2]);this.Hm(b,p,-l,+l,+l,0,0,-e,0,-e,0,c[3],f[3],j[3],g[3],
h[3]);this.Hm(b,p,-l,+l,+l,+e,0,0,0,0,-e,c[4],f[4],j[4],g[4],h[4]);this.Hm(b,p,-l,-l,-l,+e,0,0,0,0,+e,c[5],f[5],j[5],g[5],h[5]);p.mergeVertices();p.computeFaceNormals();return p};a.j0=function(b,c,f,j,g,h,e,l){var p=a.Rk,o=p/2,r=c*f,m=this.ll(b),t=0,u=r;this.Sr(b,m,c,f,-o,+o,-o,+p,0,-p,0,j.slice(t,u),g.slice(t,u),h.slice(t,u),e.slice(t,u),l.slice(t,u));t=u;u+=r;this.Sr(b,m,c,f,+o,+o,-o,0,+p,-p,0,j.slice(t,u),g.slice(t,u),h.slice(t,u),e.slice(t,u),l.slice(t,u));t=u;u+=r;this.Sr(b,m,c,f,+o,+o,+o,-p,
0,-p,0,j.slice(t,u),g.slice(t,u),h.slice(t,u),e.slice(t,u),l.slice(t,u));t=u;u+=r;this.Sr(b,m,c,f,-o,+o,+o,0,-p,-p,0,j.slice(t,u),g.slice(t,u),h.slice(t,u),e.slice(t,u),l.slice(t,u));t=u;u+=r;this.Sr(b,m,c,f,-o,+o,+o,+p,0,0,-p,j.slice(t,u),g.slice(t,u),h.slice(t,u),e.slice(t,u),l.slice(t,u));t=u;u+=r;this.Sr(b,m,c,f,-o,-o,-o,+p,0,0,+p,j.slice(t,u),g.slice(t,u),h.slice(t,u),e.slice(t,u),l.slice(t,u));m.mergeVertices();m.computeFaceNormals();return m};a.gO=function(a,c,f,j){j=this.Q0(j);c=2*j*Math.tan(0.5*
c*b);f=2*j*Math.tan(0.5*f*b);j=this.ll(a);this.Hm(a,j,-c/2,+f/2,0,+c,0,0,0,-f,0,0,0,0,1,1);j.mergeVertices();j.computeFaceNormals();return j};a.Q0=function(b){return Math.max(Math.min(3.539647*b-6.669366*b*b+4.7454*b*b*b,a.Rk),0.1)};a.ll=function(a){return new a.Geometry};a.Sr=function(a,b,f,j,g,h,e,l,p,o,r,m,t,u,w,A){for(var z=0,C=0;C<j;C++)for(var v=0;v<f;v++)this.Hm(a,b,g+l*v/f+0*C/j,h+0*v/f+o*C/j,e+p*v/f+r*C/j,l/f,0/f,p/f,0/j,o/j,r/j,m[z],t[z],u[z],w[z],A[z]),z+=1};a.Hm=function(a,b,f,j,g,h,e,
l,p,o,r,m,t,u,w,A){var z=b.vertices.length;b.vertices.push(new a.Vector3(f,j,g));b.vertices.push(new a.Vector3(f+p,j+o,g+r));b.vertices.push(new a.Vector3(f+h+p,j+e+o,g+l+r));b.vertices.push(new a.Vector3(f+h,j+e,g+l));b.faces.push(new a.Face3(z,z+1,z+2,s,s,m));b.faceVertexUvs[0].push([new a.Vector2(t,u+A),new a.Vector2(t,u),new a.Vector2(t+w,u)]);b.faces.push(new a.Face3(z,z+2,z+3,s,s,m));b.faceVertexUvs[0].push([new a.Vector2(t,u+A),new a.Vector2(t+w,u),new a.Vector2(t+w,u+A)])};a.k0=function(d,
c,f,j,g,h,e,l,p,o,r){for(var m=c*b,t=0.5*-m+0.5*Math.PI,f=f*b,j=0.5*(Math.PI-f)-j*b,u=0.5*a.$Q,w=64/Math.PI,c=Math.max(2,Math.ceil(m/g*w)),w=Math.max(2,Math.ceil(f/h*w)),A=g*c,z=h*w,C=this.ll(d),v=0,D=[],F=0;F<=z;F++){for(var J=[],I=j+F*f/z,L=0;L<=A;L++){var Q=-(t+L*m/A);C.vertices.push(new d.Vector3(-u*Math.cos(Q)*Math.sin(I),+u*Math.cos(I),+u*Math.sin(Q)*Math.sin(I)));J.push(v++)}D.push(J)}for(t=m=0;t<h;t++){u=t*w;for(A=0;A<g;A++){z=A*c;v=l[m];j=p[m];J=o[m];f=r[m];for(F=0;F<w;F++){I=1-(j+F*f/w);
Q=1-(j+(F+1)*f/w);for(L=0;L<c;L++){var M=v+L*J/c,S=v+(L+1)*J/c,T=D[u+F][z+L],K=D[u+F+1][z+L+1],Y=D[u+F][z+L+1];C.faces.push(new d.Face3(T,D[u+F+1][z+L],K,s,s,e[m]));C.faceVertexUvs[0].push([new d.Vector2(M,I),new d.Vector2(M,Q),new d.Vector2(S,Q)]);C.faces.push(new d.Face3(T,K,Y,s,s,e[m]));C.faceVertexUvs[0].push([new d.Vector2(M,I),new d.Vector2(S,Q),new d.Vector2(S,I)])}}m++}}C.mergeVertices();C.computeFaceNormals();return C};return a});
define("cY",["require"],function(){function a(a){d||(d=q,a.N2={uniforms:{tDiffuse1:{value:s},tDiffuse2:{value:s},mixRatio:{value:0.5},opacity:{value:1}},vertexShader:"varying vec2 vUv;\nvoid main() {\nvUv = uv;\ngl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"uniform float opacity;\nuniform float mixRatio;\nuniform sampler2D tDiffuse1;\nuniform sampler2D tDiffuse2;\nvarying vec2 vUv;\nvoid main() {\nvec4 texel1 = texture2D( tDiffuse1, vUv );\nvec4 texel2 = texture2D( tDiffuse2, vUv );\ngl_FragColor = opacity * mix( texel1, texel2, mixRatio );\n}"},
a.Bz={uniforms:{tDiffuse:{value:s},opacity:{value:1}},vertexShader:"varying vec2 vUv;\nvoid main() {\nvUv = uv;\ngl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"uniform float opacity;\nuniform sampler2D tDiffuse;\nvarying vec2 vUv;\nvoid main() {\nvec4 texel = texture2D( tDiffuse, vUv );\ngl_FragColor = opacity * texel;\n}"},a.jQ=function(b,d){this.b=b;if(d===n){var g={minFilter:a.LinearFilter,magFilter:a.LinearFilter,format:a.RGBAFormat,stencilBuffer:B},
h=b.getSize(),d=new a.WebGLRenderTarget(h.width,h.height,g);d.texture.name="EffectComposer.rt1"}this.uu=d;this.vu=d.clone();this.vu.texture.name="EffectComposer.rt2";this.uz=this.uu;this.fz=this.vu;this.ou=[];a.Bz===n&&console.error("THREE.EffectComposer relies on THREE.CopyShader");a.bv===n&&console.error("THREE.EffectComposer relies on THREE.ShaderPass");this.Gfa=new a.bv(a.Bz)},Object.assign(a.jQ.prototype,{Wja:function(){var a=this.fz;this.fz=this.uz;this.uz=a},ZN:function(a){this.ou.push(a);
var b=this.b.getSize();a.setSize(b.width,b.height)},Kla:function(a,b){this.ou.splice(b,0,a)},render:function(b){var d=B,g,h,e=this.ou.length;for(h=0;h<e;h++)if(g=this.ou[h],g.enabled!==B){g.render(this.b,this.uz,this.fz,b,d);if(g.OE){if(d){var l=this.b.context;l.stencilFunc(l.NOTEQUAL,1,4294967295);this.Gfa.render(this.b,this.uz,this.fz,b);l.stencilFunc(l.EQUAL,1,4294967295)}this.Wja()}a.p3!==n&&(g instanceof a.p3?d=q:g instanceof a.rka&&(d=B))}},reset:function(a){if(a===n){var b=this.b.getSize(),
a=this.uu.clone();a.setSize(b.width,b.height)}this.uu.dispose();this.vu.dispose();this.uu=a;this.vu=a.clone();this.uz=this.uu;this.fz=this.vu},setSize:function(a,b){this.uu.setSize(a,b);this.vu.setSize(a,b);for(var c=0;c<this.ou.length;c++)this.ou[c].setSize(a,b)}}),a.Vk=function(){this.OE=this.enabled=q;this.hz=this.clear=B},Object.assign(a.Vk.prototype,{setSize:E(),render:function(){console.error("THREE.Pass: .render() must be implemented in derived pass.")}}),a.TQ=function(b,d,g,h,e){a.Vk.call(this);
this.scene=b;this.hm=d;this.bP=g;this.clearColor=h;this.Bfa=e!==n?e:0;this.clear=q;this.OE=this.clearDepth=B},a.TQ.prototype=Object.assign(Object.create(a.Vk.prototype),{constructor:a.TQ,render:function(a,b,c){b=a.autoClear;a.autoClear=B;this.scene.bP=this.bP;var d,e;this.clearColor&&(d=a.Bla().Ela(),e=a.Ala(),a.setClearColor(this.clearColor,this.Bfa));this.clearDepth&&a.clearDepth();a.render(this.scene,this.hm,this.hz?s:c,this.clear);this.clearColor&&a.setClearColor(d,e);this.scene.bP=s;a.autoClear=
b}}),a.wF=function(b){a.Vk.call(this);this.eia=b;this.hm=this.scene=s;this.clear=q;this.OE=B},a.wF.prototype=Object.assign(Object.create(a.Vk.prototype),{constructor:a.wF,render:function(a,b,c){b=a.autoClear;a.autoClear=B;this.eia(a,this.scene,this.hm,this.hz?s:c,this.clear);a.autoClear=b}}),a.bv=function(b,d){a.Vk.call(this);this.qz=d!==n?d:"tDiffuse";b instanceof a.ShaderMaterial?(this.uniforms=b.uniforms,this.material=b):b&&(this.uniforms=a.UniformsUtils.clone(b.uniforms),this.material=new a.ShaderMaterial({defines:b.defines||
{},uniforms:this.uniforms,vertexShader:b.vertexShader,fragmentShader:b.fragmentShader}));this.hm=new a.OrthographicCamera(-1,1,1,-1,0,1);this.scene=new a.Scene;this.qr=new a.Mesh(new a.PlaneBufferGeometry(2,2),s);this.qr.kga=B;this.scene.add(this.qr)},a.bv.prototype=Object.assign(Object.create(a.Vk.prototype),{constructor:a.bv,render:function(a,b,c){this.uniforms[this.qz]&&(this.uniforms[this.qz].value=c.texture);this.qr.material=this.material;this.hz?a.render(this.scene,this.hm):a.render(this.scene,
this.hm,b,this.clear)}}),a.JG=function(b){a.Vk.call(this);a.Bz===n&&console.error("THREE.SavePass relies on THREE.CopyShader");var d=a.Bz;this.qz="tDiffuse";this.uniforms=a.UniformsUtils.clone(d.uniforms);this.material=new a.ShaderMaterial({uniforms:this.uniforms,vertexShader:d.vertexShader,fragmentShader:d.fragmentShader});this.gz=b;this.gz===n&&(this.gz=new a.WebGLRenderTarget(window.innerWidth,window.innerHeight,{minFilter:a.LinearFilter,magFilter:a.LinearFilter,format:a.RGBFormat,stencilBuffer:B}),
this.gz.texture.name="SavePass.rt");this.OE=B;this.hm=new a.OrthographicCamera(-1,1,1,-1,0,1);this.scene=new a.Scene;this.qr=new a.Mesh(new a.PlaneBufferGeometry(2,2),s);this.qr.kga=B;this.scene.add(this.qr)},a.JG.prototype=Object.assign(Object.create(a.Vk.prototype),{constructor:a.JG,render:function(a,b,c){this.uniforms[this.qz]&&(this.uniforms[this.qz].value=c.texture);this.qr.material=this.material;a.render(this.scene,this.hm,this.gz,this.clear)}}))}function b(b,d,j){a(b);this.b=d;this.FY=j;this.Cx=
new b.wF(j);this.cD=new b.JG;this.Mm=new b.bv(b.N2,"tDiffuse1");this.Mm.uniforms.tDiffuse2.value=this.cD.gz.texture;this.Mm.uniforms.mixRatio.value=1;this.as=new b.jQ(d);this.as.ZN(this.Cx);this.as.ZN(this.Mm);this.as.ZN(this.cD);this.dI=this.eI=this.ah=n;this.EP(B)}b.prototype.destroy=function(){this.as=this.Mm=this.cD=this.Cx=this.FY=this.b=s};b.prototype.EP=function(a){if(this.ah!==a){this.ah=a;this.Cx.hz=!this.ah;this.Mm.hz=this.ah;this.cD.enabled=this.ah;if(this.Mm.enabled=this.ah)this.Mm.uniforms.mixRatio.value=
0;this.gJ=3}};b.prototype.render=function(a,b){if(this.ah){var d=this.b.getSize();if(this.eI!==d.width||this.dI!==d.height)this.eI=d.width,this.dI=d.height,this.as.setSize(this.eI,this.dI);this.Cx.scene=a;this.Cx.hm=b;this.ah&&0<this.gJ&&(this.gJ--,0===this.gJ&&(this.Mm.uniforms.mixRatio.value=0.65));this.as.render()}else this.FY(this.b,a,b,s,B)};var d=B;return b});
define("dQ","require,cu,gD,iu,hb,gq,hQ,gp,ho,cF,f,fi,cY,gO,o,fn,bz,he,X".split(","),function(a){function b(){this.hf=s;this.r0=this.q0=this.p0=this.mF=this.Zja=this.translateX=0;this.Yq=B;this.T1=this.S1=1;this.alpha=this.z=this.Q1=this.P1=this.O1=this.rm=this.pitch=this.yaw=this.n0=this.s0=0;this.Uf=[];this.aP=this.iE=this.MP=q}var d=a("cu"),c=a("gD"),f=a("iu"),j=a("hb"),g=a("gq"),h=a("hQ"),e=a("gp"),l=a("ho"),p=a("cF"),o=a("f"),r=a("fi"),m=a("cY"),t=a("gO"),u=a("o"),w=a("fn"),A=a("bz"),z=a("he"),
C=a("X");t.Fla&&A.Tb.load(E(),window);var v=c.extend(p,function(){p.call(this);this.tq=B;this.Tb=this.b=this.kt=this.qd=s;this.qa=this.B=this.t=0;this.q=90;this.A=this.o=100;this.OI=this.ah=B;this.dd=[];this.SK=B;this.NK=this.HI=n;A.Tb.load(this.Y$,this);C.bind(f.W,this.Fd,this,q)});v.prototype.Y$=function(a){this.Tb=a;this.qd=new this.Tb.PerspectiveCamera(90,16/9,0.1,2*r.Rk);this.qd.layers.enable(1);this.kt=new this.Tb.Scene;this.kt.add(this.qd);this.uN();this.vM()};v.prototype.uN=function(){this.dd.length>
0?this.ada():setTimeout(function(){this.dd.length===0&&this.G5()}.bind(this),1E3)};v.prototype.ada=function(){if(!this.tq){v.gH++;var a=this.na().get(0),b={precision:"mediump",alpha:q};C.isPresenting()&&(b.antialias=q);v.gH==1&&C.isPresenting()&&(b.canvas=C.Tha());this.b=new this.Tb.WebGLRenderer(b);this.b.setClearColor(0,0);a.appendChild(this.b.domElement);this.vx=new m(this.Tb,this.b,function(a,b,c,e,d){this.ml.render(b,c,e,d)}.bind(this));this.vZ=new o.q3(this.Tb,this.b);this.U_=new o.L3(this.Tb,
this.b);this.tq=q;this.vx.EP(this.ah);this.nN();this.xM()}};v.prototype.G5=function(){if(this.tq){v.gH--;this.ml=this.vZ=this.U_=s;this.vx.destroy();this.vx=s;this.na().get(0).removeChild(this.b.domElement);this.b.dispose();this.b=s;this.tq=B}};v.prototype.XE=H("HI");v.prototype.dF=H("NK");v.prototype.jz=function(a){if(this.OI!=a){this.OI=a;this.zca()}};v.prototype.Pt=E();v.prototype.It=function(a){this.yr(a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,q);a.Uf.forEach(function(a){this.kt.add(a)}.bind(this));this.dd.push(a);
this.SK=q;this.uN()};v.prototype.tu=function(a){a.Uf.forEach(function(b,c){this.kt.remove(b);if(b.geometry){b.geometry.dispose();b.geometry=n}b.material&&(b.material.length?b.material:[b.material]).forEach(function(a){var b=this.DU(a);b&&b.dispose();a.dispose()}.bind(this));b.material=n;a.hf(c).forEach(function(a){if(this.eK(a)&&a.At){delete a.At;a.width=0;a.height=0}}.bind(this))}.bind(this));a.Uf=[];this.dd=d(this.dd).without(a);this.uN()};v.prototype.yr=function(a,b,c,e,d,f,h,g,l,o,j,m,r,p,u,t,
w){a.z=b;a.alpha=c;a.s0=e;a.n0=d;a.sla=f;a.yaw=h;a.pitch=g;a.rm=l;a.p0=r;a.q0=p;a.r0=u;a.O1=o;a.P1=j;a.Q1=m;a.S1=t;a.T1=t;a.MP=w;a.iE=q};v.prototype.ca=function(a,b,c,e){this.t=a;this.B=b;this.qa=c;this.q=e};v.prototype.setSize=function(a,b){if(this.o!=a||this.A!=b){this.o=a;this.A=b;this.nN()}};v.prototype.oea=function(){this.qd.quaternion.copy(h.jga(this.t,this.B,this.qa));this.qd.fov=g.nm(this.q,this.o,this.A);this.qd.aspect=this.o/this.A;this.qd.updateProjectionMatrix()};v.prototype.render=function(){if(this.tq){this.Q5();
this.oea();this.Cea();this.vx.render(this.kt,this.qd)}this.YM()};v.prototype.Fd=function(){this.nN()};v.prototype.JE=P(q);v.prototype.Bu=function(a){this.ah=a;this.tq&&this.vx.EP(this.ah)};v.prototype.R0=function(){return this.b&&this.b.domElement};v.prototype.nN=function(){if(this.tq){var a=C.isPresenting()?this.U_:this.vZ;if(this.ml!=a){this.ml&&this.ml.stop();(this.ml=a)&&this.ml.start()}this.ml&&this.ml.setSize(this.o,this.A);this.b&&this.render()}};v.prototype.IZ=P(q);v.prototype.JZ=P(q);v.prototype.KZ=
P(q);v.prototype.HZ=P(q);v.prototype.LZ=P(q);v.prototype.XM=P(q);v.prototype.zba=function(a){return this.sw()?B:u.ic()||u.zd()==u.Iu||u.Tga().zha<Math.max(a.Ea(),a.Ma())?q:B};v.prototype.sT=function(a){return this.zba(a)?this.n6(a):this.qT(a)};v.prototype.vT=function(a){return this.qT(a)};v.prototype.qT=function(a){var c=new b,e=r.Vfa(this.Tb,a.vt,a.wt,a.Px);c.Yq=a.Ob;c.hf=function(){return[a.Dj()||a.hb()]};var d=this.vp(c.hf(0));c.Uf=[this.wp(e,d)];return c};var D=function(){var a=parseInt(z.eu("sts"));
isNaN(a)&&(a=u.Xy()?512:256);return a}();v.prototype.n6=function(a){var c=new b,e=Math.ceil(a.Ea()/D),d=Math.ceil(a.Ma()/D),f=this.o6(a,e,d,D,D);c.hf=function(){return f}.bind(this);for(var h=e*d,g=[],l=[],o=[],j=[],m=[],p=0;p<h;p++){g.push(p);l.push(0);o.push(0);j.push(1);m.push(1)}e=r.k0(this.Tb,a.vt,a.wt,a.Px,e,d,g,l,o,j,m);c.Yq=a.Ob;a=this.vp(c.hf(0));a=this.wp(e,a);c.Uf=[a];return c};v.prototype.o6=function(a,b,c,e,d){for(var f=this.ew(a.Dj()||a.hb()),h=a.Ea(),a=a.Ma(),g=Array(b*c),l=0,o=0;o<
c;o++)for(var j=Math.round(a*o/c),m=Math.round(a*(o+1)/c),r=0;r<b;r++){var p=Math.round(h*r/b),u=Math.round(h*(r+1)/b),t=document.createElement("canvas");t.width=e;t.height=d;t.At=q;t.getContext("2d").drawImage(f,p,j,u-p,m-j,0,0,e,d);g[l]=t;l++}return g};v.prototype.LA=function(a){return a.tD==e.tG?this.p6(a):this.u6(a)};v.prototype.p6=function(a){var c=new b;c.hf=function(){return e.kG.map(function(b){return a.yga(b)||a.jm(b)})};var d=r.eO(this.Tb,[0,1,2,3,4,5],[0,0,0,0,0,0],[0,0,0,0,0,0],[1,1,1,
1,1,1],[1,1,1,1,1,1]);c.Yq=a.Ob;var f=this.vp(c.hf(0));c.Uf=[this.wp(d,f)];return c};v.prototype.u6=function(a){var c=new b,e=Math.ceil(a.Ni/D),d=Math.ceil(a.Ni/D),f=this.v6(a,e,d,D,D);c.hf=function(){return f}.bind(this);for(var h=[],g=[],l=[],o=[],j=[],m=[4,0,5,1,2,3],p=0;p<6;p++)for(var u=m[p]*e*d,t=0;t<d;t++)for(var w=0;w<e;w++){j.push(u);h.push(0);g.push(0);l.push(1);o.push(1);u++}e=r.j0(this.Tb,e,d,j,h,g,l,o);c.Yq=a.Ob;a=this.vp(c.hf(0));c.Uf=[this.wp(e,a)];return c};v.prototype.v6=function(a,
b,c,e,d){for(var f=this.ew(a.Dj()||a.hb()),a=a.Ni,h=Array(6*b*c),g=0,l=0;l<6;l++)for(var o=Math.round(l*a),j=0;j<c;j++)for(var m=1+(a-2)*j/c,p=1+(a-2)*(j+1)/c,r=0;r<b;r++){var u=o+1+(a-2)*r/b,t=o+1+(a-2)*(r+1)/b,w=document.createElement("canvas");w.width=e;w.height=d;w.At=q;w.getContext("2d").drawImage(f,u,m,t-u,p-m,0,0,e,d);h[g]=w;g++}return h};v.prototype.Sv=function(a){var c=new b,e=Math.ceil(a.Ni/D),d=Math.ceil(a.Ni/D),f=this.z6(a,e,d,D,D);c.hf=function(a){return f[a]}.bind(this);for(var h=[],
g=[],l=[],o=[],j=[],m=[4,0,5,1,2,3],p=0;p<6;p++)for(var u=m[p]*e*d,t=0;t<d;t++)for(var w=0;w<e;w++){j.push(u);h.push(0);g.push(0);l.push(1);o.push(1);u++}m=[2,1];(p=a.Ob)&&(m=m.reverse());c.Uf=[];for(a=0;a<2;a++){u=r.j0(this.Tb,e,d,j,h,g,l,o);c.Yq=p;t=this.vp(c.hf(a));u=this.wp(u,t);u.layers.set(m[a]);c.Uf.push(u)}return c};v.prototype.z6=function(a,b,c,e,d){for(var f=this.ew(a.Dj()||a.hb()),a=a.Ni,h=[Array(6*b*c),Array(6*b*c)],g=0;g<2;g++)for(var l=0,o=0;o<6;o++)for(var j=Math.round((g*6+o)*a),m=
0;m<c;m++)for(var p=1+(a-2)*m/c,r=1+(a-2)*(m+1)/c,u=0;u<b;u++){var t=j+1+(a-2)*u/b,w=j+1+(a-2)*(u+1)/b,A=document.createElement("canvas");A.width=e;A.height=d;A.At=q;A.getContext("2d").drawImage(f,t,p,w-t,r-p,0,0,e,d);h[g][l]=A;l++}return h};v.prototype.Tv=function(a){var c=new b,e=Math.ceil(a.Ea()/D),d=Math.ceil(a.Ma()*0.5/D),f=this.A6(a,e,d,D,D);c.hf=function(a){return f[a]}.bind(this);for(var h=e*d,g=[],l=[],o=[],j=[],m=[],p=0;p<h;p++){g.push(p);l.push(0);o.push(0);j.push(1);m.push(1)}h=[1,2];
(p=a.Ob)&&(h=h.reverse());c.Uf=[];for(var u=0;u<2;u++){var t=r.k0(this.Tb,a.vt,a.wt,a.Px,e,d,g,l,o,j,m);c.Yq=p;var w=this.vp(c.hf(u)),t=this.wp(t,w);t.layers.set(h[u]);c.Uf.push(t)}return c};v.prototype.A6=function(a,b,c,e,d){for(var f=this.ew(a.Dj()||a.hb()),h=a.Ea(),g=a.Ma(),o=[Array(b*c),Array(b*c)],j=(a.wD==l.NG?2:1)*c,m=(a.wD==l.qG?2:1)*b,p=a.wD==l.NG?c:0,a=a.wD==l.qG?b:0,r=0;r<2;r++)for(var u=0,t=0;t<c;t++)for(var w=Math.round(g*(r*p+t)/j),A=Math.round(g*(r*p+t+1)/j),z=0;z<b;z++){var D=Math.round(h*
(r*a+z)/m),v=Math.round(h*(r*a+z+1)/m),C=document.createElement("canvas");C.width=e;C.height=d;C.At=q;C.getContext("2d").drawImage(f,D,w,v-D,A-w,0,0,e,d);o[r][u]=C;u++}return o};v.prototype.PA=function(a){var c=new b;c.aP=B;var e,d,f=a.Vb,h=a.Ea(),l=a.Ma();switch(f){case j.Ru:e=a.q;d=a.Jd;break;case j.le:e=Math.min(g.Dr(a.Jd,h,l),a.q);d=Math.min(g.nm(a.q,h,l),a.Jd);break;case j.Tk:e=Math.max(g.Dr(a.Jd,h,l),a.q);d=Math.max(g.nm(a.q,h,l),a.Jd);break;case j.Jj:e=a.q;d=g.nm(a.q,h,l);break;case j.Yf:e=
g.Dr(a.Jd,h,l);d=a.Jd}e=r.gO(THREE,e,d,a.NI);c.mF=-r.Q0(a.NI);c.hf=function(){return[a.Dj()||a.hb()]};d={};d.eE=a.nS;d.Mt=a.LS;d.Afa=a.NS;d.zfa=a.MS;d=this.vp(c.hf(0),d);e=this.wp(e,d);c.Uf=[e];return c};v.prototype.vp=function(a,b){b||(b={});return d(a).map(function(a){var c=new this.Tb.Texture;this.D_(c,a);a=this.LV(a)&&this.AV(a);b.RP=a&&this.k9();b.TO=a&&this.j9();c=this.j6(c,b);c.side=this.Tb.DoubleSide;c.transparent=q;c.depthTest=B;c.needsUpdate=q;return c},this)};v.prototype.j6=function(a,
b){return b.RP||b.TO||b.eE||b.Mt?this.t6(a,b):this.k6(a)};v.prototype.k6=function(a){var b=new this.Tb.MeshBasicMaterial;b.map=a;return b};v.prototype.t6=function(a,b){var c={uniforms:{},transparent:q};c.uniforms.texture={type:"sampler2D",value:a};a.flipY=!b.RP;c.vertexShader=["varying vec2 vUV;\nvoid main() {","\tvUV = vec2( uv.x, "+(b.RP?"1.0 - uv.y":"uv.y")+");","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}"].join("\n");if(b.TO||b.eE||b.Mt){var e=[],d=[],e=e.concat(["uniform sampler2D texture;",
"varying vec2 vUV;"]),d=d.concat(["   vec4 color = texture2D(texture, vUV);","   float alpha = color.a;"]);if(b.eE){var f=a.image.width,h=a.image.height,g=Math.min(f,h)*0.5*b.eE;c.uniforms.blendingLimit={type:"v2",value:new this.Tb.Vector2(g/f,g/h)};e=e.concat(["uniform vec2 blendingLimit;"]);d=d.concat(["   float xCoef = 0.0;","   float yCoef = 0.0;","   if (vUV.x < blendingLimit.x) {","      xCoef = 1.0 - (vUV.x / blendingLimit.x);","      xCoef = xCoef * xCoef;","   } else if ((1.0 - vUV.x) < blendingLimit.x) {",
"      xCoef = 1.0 - ((1.0 - vUV.x) / blendingLimit.x);","      xCoef = xCoef * xCoef;","   }","   if (vUV.y < blendingLimit.y) {","      yCoef = 1.0 - (vUV.y / blendingLimit.y);","      yCoef = yCoef * yCoef;","   } else if ((1.0 - vUV.y) < blendingLimit.y) {","      yCoef = 1.0 - ((1.0 - vUV.y) / blendingLimit.y);","      yCoef = yCoef * yCoef;","   }","   alpha = alpha * (1.0 - sqrt(xCoef + yCoef));"])}if(b.Mt){c.uniforms.chromaColor={type:"v3",value:new this.Tb.Vector3(parseInt(b.Mt.substr(1,
2),16)/255,parseInt(b.Mt.substr(3,2),16)/255,parseInt(b.Mt.substr(5,2),16)/255)};c.uniforms.chromaThreshold={type:"f",value:b.Afa};c.uniforms.chromaSmoothing={type:"f",value:b.zfa};e=e.concat(["uniform vec3 chromaColor;","uniform float chromaThreshold;","uniform float chromaSmoothing;"]);d=d.concat(["    float maskY = 0.2989 * chromaColor.r + 0.5866 * chromaColor.g + 0.1145 * chromaColor.b;","    float maskCr = 0.7132 * (chromaColor.r - maskY);","    float maskCb = 0.5647 * (chromaColor.b - maskY);",
"    float Y = 0.2989 * color.r + 0.5866 * color.g + 0.1145 * color.b;","    float Cr = 0.7132 * (color.r - Y);","    float Cb = 0.5647 * (color.b - Y);","    float chromaBlendValue = smoothstep(chromaThreshold, chromaThreshold + chromaSmoothing, distance(vec2(Cr, Cb), vec2(maskCr, maskCb)));","    alpha = alpha * chromaBlendValue;"])}d=d.concat(["\tgl_FragColor = vec4(color"+(b.TO?".bgr":".rgb")+", alpha);"]);a.format=this.Tb.RGBAFormat;c.fragmentShader=[].concat(e,["void main() {"],d,["}"]).join("\n")}else c.fragmentShader=
"uniform sampler2D texture;\nvarying vec2 vUV;\nvoid main() {\n\tgl_FragColor = texture2D(texture, vUV);\n}";return new this.Tb.ShaderMaterial(c)};v.prototype.wp=function(a,b){var c=new this.Tb.Mesh(a,b);c.overdraw=B;c.matrixAutoUpdate=B;return c};v.prototype.zca=function(){for(var a=0;a<this.dd.length;a++)this.dd.iE=q};v.prototype.Cea=function(){for(var a=0;a<this.dd.length;a++)this.Bea(this.dd[a])};v.prototype.Bea=function(a){if(a.iE){var b=a.mF,c=a.S1,e=a.T1;if(b!=0&&!this.OI){b=-0.5*r.Rk;c=c*
b/a.mF;e=e*b/a.mF}a.iE=B;var d=new this.Tb.Matrix4,f=new this.Tb.Matrix4;d.identity();d.multiply(f.makeTranslation(-a.p0*0.5*r.Rk,a.q0*0.5*r.Rk,a.r0*0.5*r.Rk));d.multiply(f.makeRotationY(-this.t*v.pd));d.multiply(f.makeRotationX(-a.n0*v.pd));d.multiply(f.makeRotationY(a.s0*v.pd));d.multiply(f.makeRotationY(this.t*v.pd));d.multiply(f.makeRotationY(-a.yaw*v.pd));d.multiply(f.makeRotationZ(a.rm*v.pd));d.multiply(f.makeRotationX(a.pitch*v.pd));d.multiply(f.makeTranslation(a.translateX,a.Zja,b));d.multiply(f.makeRotationZ(a.Q1*
v.pd));d.multiply(f.makeRotationY(a.P1*v.pd));d.multiply(f.makeRotationX(a.O1*v.pd));d.multiply(f.makeScale(c*(a.Yq?-1:1),e,1));a.Uf.forEach(function(b){b.matrix.copy(d);b.renderOrder=a.z*0.1/v.g3;b.matrixWorldNeedsUpdate=q;for(var c=0;c<b.material.length;c++){b.material[c].opacity=a.alpha;b.material[c].visible=a.alpha>0}}.bind(this));if(a.MP){a.Uf.forEach(function(b,c){for(var e=a.hf(c),d=0;d<b.material.length;d++){var f=this.DU(b.material[d]);f&&this.D_(f,e[d]);b.material[d].needsUpdate=q}b.material.needsUpdate=
q}.bind(this));a.MP=B}}};v.prototype.D_=function(a,b){b=this.ew(b);a.generateMipmaps=this.t5(b);if(a.generateMipmaps){a.minFilter=this.Tb.LinearMipMapLinearFilter;if(!this.GV(b.width)||!this.GV(b.height)){if(!a.image||!this.eK(a.image)){a.image=document.createElement("canvas");a.image.At=q}a.image.width=this.LU(b.width);a.image.height=this.LU(b.height);a.image.getContext("2d").drawImage(b,0,0,a.image.width,a.image.height)}else a.image=b}else{a.minFilter=this.Tb.LinearFilter;if(this.GB(b)&&this.Sea(b)){if(!a.Mp){a.Mp=
document.createElement("canvas");a.J9=a.Mp.getContext("2d")}var c=b.videoWidth;this.sw()&&(c=Math.min(3168,c));var e=c*b.videoHeight/b.videoWidth;if(a.Mp.width!=c||a.Mp.height!=e){a.Mp.width=c;a.Mp.height=e}b.readyState>=b.HAVE_CURRENT_DATA&&a.J9.drawImage(b,0,0,c,e);a.image=a.Mp}else a.image=b}a.needsUpdate=q};v.prototype.ew=function(a){a||(a=this.pJ());typeof a=="string"&&(w.is(a,w.nG)||w.Wy(a,w.oG)?a=this.ec.Td(a,B):w.is(a,w.OG)?a=this.pJ():this.GB(a)&&!(a.readyState>=a.HAVE_CURRENT_DATA&&a.videoWidth>
0&&a.videoHeight>0)&&(a=this.pJ()));return a};v.prototype.t5=function(a){return this.LV(a)||this.eK(a)?B:u.ic()?this.NK!==n?this.NK:u.Xy()?B:q:this.HI!==n?this.HI:B};v.prototype.Q5=function(){if(!C.isPresenting()&&this.SK){var a=B;this.dd.forEach(function(b){b.aP&&b.alpha==0&&(a=q);b.aP=B});if(a){var b=[];this.dd.forEach(function(a){a.alpha==0&&a.Uf.forEach(function(a){b.push({mesh:a,matrix:(new this.Tb.Matrix4).copy(a.matrix),materials:d(a.material).map(function(a){return{material:a,opacity:a.opacity}},
this)});a.matrix.identity();a.matrixWorldNeedsUpdate=q;d(a.material).forEach(function(a){a.opacity=0.1;a.visible=q})}.bind(this))}.bind(this));this.qd.lookAt(new this.Tb.Vector3(0,0,-1));this.qd.updateProjectionMatrix();this.b.render(this.kt,this.qd);d(b).each(function(a){a.mesh.matrix.copy(a.matrix);a.mesh.matrixWorldNeedsUpdate=q;d(a.materials).each(function(a){a.material.opacity=a.opacity;a.material.jma=a.opacity>0})});this.SK=B}}};v.prototype.DU=function(a){return a.map||a.uniforms&&a.uniforms.texture&&
a.uniforms.texture.value};v.prototype.LV=function(a){return this.GB(a)||typeof a=="string"&&w.is(a,w.OG)?q:B};v.prototype.AV=function(a){return typeof a=="string"&&w.is(a,w.Kj)||this.GB(a)&&w.is(a.currentSrc,w.Kj)?q:B};v.prototype.GB=function(a){return!!a.tagName&&a.tagName=="VIDEO"};v.prototype.eK=function(a){return!!a.tagName&&a.tagName=="CANVAS"};v.prototype.LU=function(a){return Math.pow(2,Math.round(Math.log(a)/Math.LN2))};v.prototype.GV=function(a){return a!==0&&(a&a-1)===0};v.prototype.U9=
function(){return u.browser()==u.ui};v.prototype.W9=function(){return u.browser()==u.zm};v.prototype.sw=function(){return u.ni()==u.pG};v.prototype.Sea=function(a){return this.W9()||this.sw()&&(!this.AV(a)||!t.n1)?q:B};v.prototype.k9=function(){return this.U9()||this.sw()};v.prototype.j9=function(){return this.sw()&&t.n1&&u.PO()<11};v.prototype.pJ=function(){if(!this.BT){var a=document.createElement("canvas");a.width=128;a.height=128;a.getContext("2d").clearRect(0,0,a.width,a.height);this.BT=a}return this.BT};
v.gH=0;v.pd=Math.PI/180;v.J3=180/Math.PI;v.g3=20;return v});
define("ej","require,gI,cq,dQ,gO,o,he".split(","),function(a){function b(){}var d=a("gI"),c=a("cq"),f=a("dQ"),j=a("gO"),g=a("o"),h=a("he");b.create=function(){var a=b.lB();return a?new a:s};b.lB=function(){if(h.qo("debug"))switch(h.eu("force_renderer")){case "css":return d;case "flash":return c;case "webgl":return f}if(g.browser()==g.zm){if(j.webgl)return f;if(j.Uq)return d;if(j.flash)return c}else if(g.browser()==g.Ah&&!g.ic()){if(j.webgl)return f;if(j.flash)return c;if(j.Uq)return d}else{if(j.webgl)return f;
if(j.Uq)return d;if(j.flash)return c}return s};b.g0=b.lB()==f;return b});
define("bo",["require","cu","fy"],function(a){function b(a,b){this.g=a;this.YC=b;this.g&&this.YC.jba(this);this.V=s;this.Cb=[];this.vH=B;this.Ja=this.lC=1;this.Ci=q;this.Vj=this.ue=this.ve=this.ey=this.GD=this.FD=this.ED=0;this.Vv=q;a&&a.yd==d.MG&&a.bind(Group.Nz,this.P$,this,q)}a("cu");var d=a("fy");b.prototype.WO=P(B);b.prototype.getItem=N("g");b.prototype.sb=N("Cb");b.prototype.Ca=function(a){this.fY(a);this.Cb.push(a);this.Is()};b.prototype.removeChild=function(a){a.V!=this&&k("Removing not child node");
this.Cb=this.Cb.filter(function(b){return b!=a});a.V=s;this.Is()};b.prototype.sia=function(a){this.vH!=a&&(this.vH=a,this.Hs())};b.prototype.lja=function(a){this.lC!=a&&(this.lC=a,this.Hs())};b.prototype.qO=function(){this.Ci&&this.Jq();return this.Ja};b.prototype.wP=function(a,b,d){if(this.ve!=a||this.ue!=b||this.Vj!=d)this.ve=a,this.ue=b,this.Vj=d,this.rw()};b.prototype.er=function(){this.Vv&&this.lN();return this.ve};b.prototype.nE=function(){this.Vv&&this.lN();return this.ue};b.prototype.uO=function(){this.Vv&&
this.lN();return this.Vj};b.prototype.Gja=function(a,b,d){if(this.ED!=a||this.FD!=b||this.GD!=d)this.ED=a,this.FD=b,this.GD=d,this.AB()};b.prototype.W0=function(){this.ey&&this.AN();return this.ED};b.prototype.X0=function(){this.ey&&this.AN();return this.FD};b.prototype.Y0=function(){this.ey&&this.AN();return this.GD};b.prototype.Tq=function(){this.V.Z4(this)};b.prototype.Z4=function(a){this.Cb[this.Cb.length-1]!=a&&(this.Cb=this.Cb.filter(function(b){return b!=a}),this.Cb.push(a),this.Is())};b.prototype.fY=
function(a){a.V&&a.V.removeChild(a);a.V=this;a.Hs();a.rw()};b.prototype.P$=function(){var a=this.g.Zt().map(function(a){return this.YC.Bd(a)}.bind(this));this.Cb.forEach(function(a){0>this.Cb.indexOf(a)&&this.removeChild(a)}.bind(this));a.forEach(function(a){a.V!=this&&this.fY(a)}.bind(this));this.Cb=a;this.Is()};b.prototype.Hs=function(){this.Ci=q;this.Cb.forEach(function(a){a.Hs()})};b.prototype.Jq=function(){this.Ja=(this.V?this.V.qO():1)*this.lC;this.vH&&(this.Ja=0<this.Ja?1:0);this.Ci=B};b.prototype.rw=
function(){this.Vv=q;this.M9()};b.prototype.M9=function(){this.Cb.forEach(function(a){a.rw()})};b.prototype.lN=function(){this.V&&this.V.V&&(this.ve=this.V.er(),this.ue=this.V.nE(),this.Vj=this.V.uO());this.Vv=B};b.prototype.AB=function(){this.ey=q;this.N9()};b.prototype.N9=function(){this.Cb.forEach(function(a){a.AB()})};b.prototype.AN=function(){this.V&&this.V.V&&(this.ED=this.V.W0(),this.FD=this.V.X0(),this.GD=this.V.Y0());this.ey=B};b.prototype.Is=function(){this.YC&&this.YC.Is()};b.prototype.BJ=
function(){var a=[];this.Cb.forEach(function(b){a=a.concat(b.BJ())});return a};return b});
define("dc","require,cu,gD,bo,fy,O,cb,dq".split(","),function(a){a("cu");var b=a("gD"),d=a("bo"),c=a("fy"),f=a("O");a("cb");var j=a("dq"),a=b.extend(d,function(a,b){d.call(this,a,b);this.Sd=0;this.LM=this.zl=B;if(this.g.yd==c.wc){this.t=this.g.Xa();this.B=this.g.gb();this.qa=0;this.wg=this.g.wg;this.xg=this.g.xg;this.$h=this.g.$h;this.ia=this.g.gf()}else{switch(this.g.f_){case f.Oj:this.t=this.g.Xa();this.B=this.g.gb();this.qa=0;break;case j.Oj:this.t=this.g.Xa();this.B=this.g.gb();this.qa=this.g.Sc();
break;default:this.qa=this.B=this.t=0}this.$h=this.xg=this.wg=0;this.ia=1;this.q=n}});a.prototype.i0=function(){this.LM=this.zl=B};a.prototype.WO=P(q);a.prototype.hF=H("Vl");a.prototype.ca=function(a,b,c,d,f,o,j){if(this.t!=a||this.B!=b||this.qa!=c||this.wg!=d||this.xg!=f||this.$h!=o||this.ia!=j){this.t=a;this.B=b;this.qa=c;this.wg=d;this.xg=f;this.$h=o;this.ia=j;this.zl=q}};a.prototype.zja=function(){this.zl=this.LM=q};a.prototype.Xa=N("t");a.prototype.gb=N("B");a.prototype.Sc=N("qa");a.prototype.gf=
N("ia");a.prototype.Cu=function(a){this.Sd=a;this.zl=q};a.prototype.ZE=function(a){if(this.q!=a){this.q=a;this.zl=q}};a.prototype.Hs=function(){d.prototype.Hs.call(this);this.zl=q};a.prototype.rw=function(){d.prototype.rw.call(this);this.zl=q};a.prototype.AB=function(){d.prototype.AB.call(this);this.zl=q};a.prototype.BJ=function(){return[this]};return a});
define("h","require,cu,gD,bo,dc,fy".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("bo"),f=a("dc"),j=a("fy"),g=0,a=d.extend(c,function(){c.call(this,s,this);this.zK=[];this.OL=[];this.$o=[];this.NL=[];this.Zo=[];this.oW={};this.yB="_intern_node_id_"+g++;this.w$=0});a.prototype.Se=function(a){this.Ca(this.Bd(a))};a.prototype.removeItem=function(a){(a=this.Bd(a))&&this.removeChild(a)};a.prototype.Zt=function(){return b(this.Cb).map(function(a){return a.getItem()})};a.prototype.Ce=function(a){(a=
this.Bd(a))&&a.Tq()};a.prototype.aF=function(a,b){var c=this.Bd(a);c&&c.sia(b)};a.prototype.ab=function(a,b){var c=this.Bd(a);c&&c.lja(b)};a.prototype.hr=function(a){return this.Bd(a).lC};a.prototype.ri=function(a){(a=this.Bd(a))&&a.WO()&&a.zja()};a.prototype.wo=function(a,b,c,d){(a=this.Bd(a))&&a.wP(b,c,d)};a.prototype.rE=function(a){return this.Bd(a).er()};a.prototype.zO=function(a){return this.Bd(a).nE()};a.prototype.mz=function(a,b,c,d){(a=this.Bd(a))&&a.Gja(b,c,d)};a.prototype.ke=function(a,
b,c,d,f,g,j,t){a=this.Bd(a);a.WO()&&a.ca(b,c,d,f,g,j,t)};a.prototype.DO=function(a){return this.Bd(a).Xa()};a.prototype.AO=function(a){return this.Bd(a).gb()};a.prototype.Yt=function(a){return this.Bd(a).Sc()};a.prototype.Oy=function(a){return this.Bd(a).wg};a.prototype.Py=function(a){return this.Bd(a).xg};a.prototype.sE=function(a){return this.Bd(a).$h};a.prototype.tE=function(a){return this.Bd(a).gf()};a.prototype.BO=function(a){return this.Bd(a).Vl};a.prototype.jia=function(){b(this.Zo).each(function(a){a.i0()});
this.NL=this.Zo.slice()};a.prototype.kia=function(){b(this.$o).each(function(a){a.i0()});this.OL=this.$o.slice()};a.prototype.nga=function(){return b.difference(this.$o,this.OL)};a.prototype.Nga=function(){return b.difference(this.OL,this.$o)};a.prototype.rga=function(){return this.MT(this.$o)};a.prototype.mga=function(){return b.difference(this.Zo,this.NL)};a.prototype.Mga=function(){return b.difference(this.NL,this.Zo)};a.prototype.qga=function(){return this.MT(this.Zo)};a.prototype.Bd=function(a){var b=
this.oW[a[this.yB]];b||(b=this.q6(a));return b};a.prototype.q6=function(a){if(a.yd==j.MG){var b=new c(a,this);a.Zt().forEach(function(a){b.Ca(this.Bd(a))}.bind(this));return b}return new f(a,this)};a.prototype.jba=function(a){var b=a.getItem();if(b){b[this.yB]===n&&(b[this.yB]=(this.w$++).toString());this.oW[b[this.yB]]=a}};a.prototype.Is=function(){this.Aea()};a.prototype.Aea=function(){this.zK=this.BJ();this.kea();this.jea()};a.prototype.kea=function(){this.$o=this.NT(this.zK,j.wc);this.s_(this.$o)};
a.prototype.jea=function(){this.Zo=this.NT(this.zK,j.Oj);this.s_(this.Zo)};a.prototype.s_=function(a){b(a).each(function(a,b){a.Cu(b)},this)};a.prototype.MT=function(a){return b(a).filter(function(a){return a.zl})};a.prototype.NT=function(a,c){return b(a).filter(function(a){return a.getItem().yd==c})};return a});
define("cJ","require,cu,gD,iu,bB,d,J,eC,bs,ej,cF,h,X,M".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("iu");a("bB");var f=a("d"),j=a("J"),g=a("eC"),h=a("bs"),e=a("ej"),l=a("cF"),p=a("h"),o=a("X"),r=a("M"),m=d.extend(f,function(a){f.call(this);this.Lc("Renderer");this.set("toolTipDisabled",q);this.set("cursor",j.Su);this.set("layout","absolute");this.G=a;this.Ie=[];this.Yc=[];this.Ab="";this.qa=this.B=this.t=0;this.q=90;this.cY=this.DL=q;this.Tn=this.Un=100;this.rD=this.GM=q;this.Dn=m.Uu;this.aS=
B;this.tb=new p;this.Kc=e.create();this.Kc.xo(l.Uu);this.Pa().append(this.Kc.na());this.mk=h.create();this.Pa().append(this.mk.na());this.Kc.Dja(this.uba,this);this.Qi=new g(this.Un,this.Tn,this.q*m.cH);this.V_=new g(this.Un*0.5,this.Tn,90*m.cH);o.bind(c.W,this.Fd,this,q);this.Fd();this.bind(c.Nb,this.rb,this,q);this.bind(c.pe,this.lj,this,q);this.bind(c.me,this.hj,this,q);this.Kc.bind(c.ib,this.qaa,this,q);this.Kc.bind(c.Fm,this.raa,this,q);this.Kf=B});m.prototype.XE=function(a){this.Kc.XE(a)};m.prototype.dF=
function(a){this.Kc.dF(a)};m.prototype.xo=function(a){if(this.Dn!=a){this.Dn=a;switch(this.Dn){case m.Pz:this.Kc.xo(l.Pz);break;default:this.Kc.xo(l.Uu)}}};m.prototype.Fd=function(){this.mk.Fe(!o.isPresenting())};m.prototype.JE=function(){return this.Kc.JE()};m.prototype.OP=function(a){return this.Kc.Yja(a)};m.prototype.mi=function(a,b){this.Kc.vha(a,b)};m.prototype.yh=function(a,b){this.Kc.aka(a,b)};m.prototype.Se=function(a){this.tb.Se(a)};m.prototype.removeItem=function(a){this.tb.removeItem(a)};
m.prototype.sga=function(){return this.tb.Zt()};m.prototype.Ce=function(a){this.tb.Ce(a)};m.prototype.aF=function(a,b){this.tb.aF(a,b)};m.prototype.ab=function(a,b){this.tb.ab(a,b)};m.prototype.hr=function(a){return this.tb.hr(a)};m.prototype.ri=function(a){this.tb.ri(a)};m.prototype.mz=function(a,b,c,e){this.tb.mz(a,b,c,e)};m.prototype.wo=function(a,b,c,e){this.tb.wo(a,b,c,e)};m.prototype.rE=function(a){return this.tb.rE(a)};m.prototype.zO=function(a){return this.tb.zO(a)};m.prototype.ke=function(a,
b,c,e,d,f,h,g){this.tb.ke(a,b,c,e,d,f,h,g)};m.prototype.DO=function(a){return this.tb.DO(a)};m.prototype.AO=function(a){return this.tb.AO(a)};m.prototype.Yt=function(a){return this.tb.Yt(a)};m.prototype.Oy=function(a){return this.tb.Oy(a)};m.prototype.Py=function(a){return this.tb.Py(a)};m.prototype.sE=function(a){return this.tb.sE(a)};m.prototype.tE=function(a){return this.tb.tE(a)};m.prototype.BO=function(a){return this.tb.BO(a)};m.prototype.Bu=function(a){this.Kc.Bu(a)};m.prototype.jz=function(a){this.Kc.jz(a)};
m.prototype.Ffa=function(){this.gY()};m.prototype.su=function(a){this.Ie.push(a);this.ny()};m.prototype.or=function(a){a=b(this.Ie).lastIndexOf(a);a>=0&&this.Ie.splice(a,1);this.ny()};m.prototype.ny=function(){var a;a=this.Ie.length>0?this.Ie[this.Ie.length-1]:j.dc;this.getParent().set("cursor",a)};m.prototype.Zr=function(){if(this.Ie.length>0){this.getParent().set("cursor",j.dc);this.Ie=[]}};m.prototype.ez=function(a,b){var c={};c.text=a;c.Ee=b;this.Yc.push(c);this.Yc.sort(function(a,b){return b.Ee-
a.Ee});this.Ag()};m.prototype.dz=function(a,b){for(var c=-1,c=this.Yc.length-1;c>=0;c--){var e=this.Yc[c];if(e.text==a&&e.Ee==b)break}c>=0&&this.Yc.splice(c,1);this.Ag()};m.prototype.Ag=function(){var a=this.Yc.length==0?"":this.Yc[this.Yc.length-1].text||"";if(this.Ab!=a){this.Ab=a;this.getParent().set("toolTip",this.Ab);if(this.getParent().Wg&&!this.getParent().get("toolTipDisabled")){var b=this;if(this.Kp){clearTimeout(this.Kp);this.Kp=s}var c=this.getParent().$a().Ab;if(this.Ab){c.Nja(this.getParent(),
this.Ab);this.Kp=setTimeout(function(){b.Kp=s;b.getParent().set("toolTip","");b.Ab="";c.hide()},2E3)}else c.hide()}}};m.prototype.WH=function(){this.Ab&&this.getParent().set("toolTip","");if(this.Kp){clearTimeout(this.Kp);this.Kp=s}this.Ab="";this.Yc=[]};m.prototype.sq=function(){this.WH();this.Zr();f.prototype.sq.call(this)};m.prototype.rb=function(){this.Dq(this.aa(),this.la());this.render()};m.prototype.lj=function(){this.Kf=q;this.render();this.SD()};m.prototype.hj=function(){this.Kf=B;this.SD()};
m.prototype.qaa=function(){this.SD()};m.prototype.raa=function(){this.SD()};m.prototype.SD=function(){var a=this.Kc.R0();a&&(this.Kf?o.lfa(a):o.dia(a))};m.prototype.Dq=function(a,b){if(this.Un!=a||this.Tn!=b){this.Un=a;this.Tn=b;this.GM=this.rD=q}};m.prototype.ca=function(a,b,c,e){if(this.t!=a||this.B!=b||this.qa!=c||this.q!=e){this.t=a;this.B=b;this.qa=c;this.q=e;this.DL=this.cY=q}};m.prototype.Xa=N("t");m.prototype.gb=N("B");m.prototype.Sc=N("qa");m.prototype.render=function(){this.Kf&&(r.QO?this.Kc.th()&&
this.vba():r.Dc(this.render,this))};m.prototype.vba=function(){this.gY()&&this.Kc.render()};m.prototype.uba=function(){this.Yaa()&&this.mk.render()};m.prototype.gY=function(){var a=B;b(this.tb.Nga()).each(function(b){if(b.Vl){this.Kc.tu(b.Vl);this.Kc.Pt(b.Vl);b.hF(s);a=q}},this);b(this.tb.nga()).each(function(b){var c=this.Kc.fO(b.getItem());this.Kc.It(c);b.hF(c);a=q},this);b(this.tb.rga()).each(function(b){this.Kc.yr(b.Vl,b.Sd,b.qO(),b.er(),b.nE(),b.uO(),b.Xa(),b.gb(),b.Sc(),b.wg,b.xg,b.$h,b.W0(),
b.X0(),b.Y0(),b.gf(),b.LM);a=q},this);if(this.rD){this.Qi.Br(this.Un);this.Qi.$E(this.Tn);this.V_.Br(this.Un*0.5);this.V_.$E(this.Tn*0.5);this.Kc.setSize(this.Un,this.Tn);a=q;this.rD=B}if(this.cY){this.Qi.Au(this.q*m.cH);this.Kc.ca(this.t,this.B,this.qa,this.q);a=q;this.rD=B}this.tb.kia();return a};m.prototype.Yaa=function(){var a=B;b(this.tb.Mga()).each(function(b){if(b.Vl){this.mk.tu(b.Vl);this.mk.Pt(b.Vl);b.hF(s);a=q}},this);b(this.tb.mga()).each(function(b){var c=this.mk.fO(b.getItem());this.mk.It(c);
b.hF(c);a=q},this);b(this.tb.qga()).each(function(b){this.mk.yr(b.Vl,b.Sd,b.qO(),b.er(),b.nE(),b.uO(),b.Xa(),b.gb(),b.Sc());a=q},this);if(this.GM){this.mk.setSize(this.Un,this.Tn);a=q;this.GM=B}if(this.DL){this.mk.ca(this.t,this.B,this.qa,this.q);a=q;this.DL=B}this.tb.jia();return a};m.prototype.X=function(){f.prototype.X.call(this);if(!this.aS){var a=this.$a();if(a){this.aS=q;this.Kc.sr(a)}}};m.cH=Math.PI/180;m.Pz="fast";m.Uu="quality";return m});
define("gJ",["require"],function(){function a(a,c,f){this.cb=a;this.QZ=c;this.Qg=f||b}var b=function(){var a=document.createElement("canvas");a.width=a.height=256;var b=a.getContext("2d");b.fillStyle="#000000";b.fillRect(0,0,a.width,a.height);return a}();a.prototype.isEmpty=function(){return this.Qg==b};a.prototype.isEqual=function(a){return this.cb==a.cb&&this.QZ==a.QZ&&this.isEmpty()==a.isEmpty()};return a});
define("I","require,gD,bB,dx,dU,cH,gJ,dt".split(","),function(a){var b=a("gD"),d=a("bB"),c=a("dx"),f=a("dU"),j=a("cH"),g=a("gJ"),h=a("dt"),e=b.extend(c,function(a,b){c.call(this);this.Fa=a;this.cb=b;this.R=f.J;this.Uj=this.Lb=0;this.Jc=B;this.ii=1;this.I=this.Va=s});e.prototype.Sb=function(a){if(this.R!=a&&!(a==f.Xb&&this.R!=f.P)){this.R=a;if(this.R==f.P)h.lP(this);else{h.cz(this);this.R==f.J&&this.Wca()}this.aea()}};e.prototype.Hk=N("R");e.prototype.ki=N("Lb");e.prototype.zu=function(a){this.Uj=
a;if(this.Va){this.Va.Ty()&&this.GT();this.R==f.P?this.Va.play(this.Fa,this.cb,this.Uj):this.Va.pause(this.Fa,this.cb,this.Uj)}};e.prototype.Ue=N("Uj");e.prototype.xh=function(a){this.ii=a;this.Va&&this.Va.xh(a)};e.prototype.ad=function(a){this.Jc=a;this.Va&&this.Va.ad(a)};e.prototype.jO=function(a,b,c){this.Va&&this.Va.Ty()?this.Va.jO(a,b,c):this.I?a.drawImage(this.I,0,0,b,c):a.fillRect(0,0,b,c)};e.prototype.mE=function(){return this.Va&&this.Va.Ty()?new g(this.cb,this.Va.Ue(),this.Va.Q):this.I?
new g(this.cb,this.Uj,this.I):new g(this.cb,this.Uj,s)};e.prototype.mO=function(a){this.Va=a;this.Va.bind(j.kf,this.En,this,q);this.Va.bind(j.of,this.af,this,q);this.Va.bind(j.Fg,this.Kl,this,q);this.Va.ad(this.Jc);this.Va.xh(this.ii);this.Va.play(this.Fa,this.cb,this.Uj)};e.prototype.XO=function(){this.Va.Ty()&&this.GT();this.Uj=this.Va.Ue();this.Va.unbind(j.kf,this.En,this,q);this.Va.unbind(j.of,this.af,this,q);this.Va.unbind(j.Fg,this.Kl,this,q);this.Va=s};e.prototype.clear=function(){this.H5()};
e.prototype.GT=function(){if(!this.I)this.I=document.createElement("canvas");this.I.width=this.Va.Ea();this.I.height=this.Va.Ma();this.Va.jO(this.I.getContext("2d"),this.I.width,this.I.height)};e.prototype.H5=function(){if(this.I){this.I.width=0;this.I.height=0;this.I=s}};e.prototype.Kl=function(){this.Lb=this.Va.ki();this.Lda()};e.prototype.af=function(){this.Lb!=this.Va.ki()&&this.Kl();this.Uj=this.Va.Ue();this.e_()};e.prototype.En=function(){this.Sb(f.J);this.Mda()};e.prototype.Wca=function(){this.Uj=
0;this.e_()};e.prototype.e_=function(){this.trigger(new d(e.of))};e.prototype.Lda=function(){this.trigger(new d(e.Fg))};e.prototype.Mda=function(){this.trigger(new d(e.kf))};e.prototype.aea=function(){this.trigger(new d(e.nd))};e.of="time update";e.Fg="duration update";e.nd="state change";e.kf="end";return e});define("cw",["require","I"],function(a){function b(){}var d=a("I");b.create=function(a,b){return new d(a,b)};return b});
define("go","require,jquery.mod,gD,iu,bB,dx,eg,dU,M,I,cw".split(","),function(a){var b=a("jquery.mod"),d=a("gD"),c=a("iu"),f=a("bB"),j=a("dx"),g=a("eg"),h=a("dU"),e=a("M"),l=a("I"),p=a("cw"),a=d.extend(j,function(a,c){j.call(this);this.Fa=a;this.g=c;this.u=document.createElement("div");this.Yo=b(this.u);this.Qg=s;this.Ac=p.create(this.Fa,this.g.hb());this.Ac.bind(l.of,this.af,this,q);this.Ac.bind(l.Fg,this.Kl,this,q);this.Ac.bind(l.nd,this.Sl,this,q);this.Ac.bind(l.kf,this.En,this,q);this.fB=s;this.Ja=
0;this.Ci=q;this.Oa=this.Ka=100;this.up=q});a.prototype.clear=function(){this.Ac.unbind(l.of,this.af,this,q);this.Ac.unbind(l.Fg,this.Kl,this,q);this.Ac.unbind(l.nd,this.Sl,this,q);this.Ac.unbind(l.kf,this.En,this,q);this.Ac.clear();this.Yo=this.u=this.Qg=this.Ac=s};a.prototype.na=N("Yo");a.prototype.getItem=N("g");a.prototype.ld=function(a){if(this.Ja!=a){this.Ja=a;this.Ci=q}};a.prototype.Ok=function(a,b){if(this.Ka!=a||this.Oa!=b){this.Ka=a;this.Oa=b;this.up=q}};a.prototype.so=function(){this.Ac.ad(q)};
a.prototype.Cr=function(){this.Ac.ad(B)};a.prototype.play=function(){this.Ac.Sb(h.P)};a.prototype.pause=function(){this.Ac.Sb(h.Xb)};a.prototype.stop=function(){this.Ac.Sb(h.J)};a.prototype.xh=function(a){this.Ac.xh(a)};a.prototype.Ue=function(){return this.Ac.Ue()};a.prototype.zu=function(a){this.Ac.zu(a)};a.prototype.ki=function(){return this.Ac.ki()};a.prototype.render=function(){if(this.up){this.up=B;var a=this.g.Ea(),b=this.g.Ma(),c,e;switch(this.g.Vb){case g.NONE:c=a;e=b;break;case g.Jj:c=this.Ka;
e=b*this.Ka/a;break;case g.Yf:e=this.Oa;c=a*this.Oa/b;break;case g.Tk:if(a*this.Oa>b*this.Ka){e=this.Oa;c=a*this.Oa/b}else{c=this.Ka;e=b*this.Ka/a}break;default:if(a*this.Oa>b*this.Ka){c=this.Ka;e=b*this.Ka/a}else{e=this.Oa;c=a*this.Oa/b}}this.rv(Math.round((this.Ka-c)*0.5),Math.round((this.Oa-e)*0.5),Math.round(c),Math.round(e));this.gM()}if(this.Ci){this.Ci=B;this.u4(this.Ja)}};a.prototype.rv=function(a,b,c,e){this.Yo.css({position:"absolute",left:a+"px",top:b+"px",width:c+"px",height:e+"px"})};
a.prototype.u4=function(a){a==0?this.Yo.css({display:"none"}):a==1?this.Yo.css({display:"block",filter:"","-ms-filter":"",opacity:""}):this.Yo.css({display:"block",filter:"alpha(opacity="+Math.round(a*100)+")","-ms-filter":"alpha(opacity="+Math.round(a*100)+")",opacity:a})};a.prototype.Sl=function(){this.gM()};a.prototype.gM=function(){e.Dc(this.F$,this)};a.prototype.F$=function(){if(this.Ac.Hk()==h.P){var a=this.Ac.mE();if(!this.fB||!this.fB.isEqual(a)){this.fB=a;a=this.fB.Qg;if(this.Qg!=a){this.Qg&&
b(this.Qg).detach();(this.Qg=a)&&b(this.Qg).css({position:"absolute",left:0,top:0,width:"100%",height:"100%"}).appendTo(this.Yo)}}this.gM()}};a.prototype.En=function(){this.trigger(new f(c.ra))};a.prototype.af=function(){this.trigger(new f(c.W))};a.prototype.Kl=function(){this.trigger(new f(c.W))};return a});
define("hd","require,cu,jquery.mod,gD,iu,bB,J,d,go".split(","),function(a){var b=a("cu"),d=a("jquery.mod"),c=a("gD"),f=a("iu"),j=a("bB"),g=a("J"),h=a("d");VideoPlayer=a("go");a=c.extend(h,function(){h.call(this);this.Lc("Renderer");this.set("toolTipDisabled",q);this.set("cursor",g.Su);this.bind(f.Nb,this.rb,this,q);this.bind(f.pe,this.lj,this,q);this.bind(f.me,this.hj,this,q);this.Fq=B;this.bM=d("<div/>");this.bM.css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"});this.Pa().append(this.bM);
this.Rf=B;this.ge=[]});a.prototype.Se=function(a){a=new VideoPlayer(this.$a(),a);a.Ok(this.aa(),this.la());a.bind(f.ra,this.jC,this,q);a.bind(f.W,this.iX,this,q);this.bM.append(a.na());this.ge.push(a);this.Rf=q};a.prototype.removeItem=function(a){if(a=this.Pi(a)){if(this.FH==a)this.FH=this.zS=s;this.ge=b.without(this.ge,a);a.unbind(f.ra,this.jC,this);a.unbind(f.W,this.iX,this,q);a.na().detach();a.clear();this.Rf=q}};a.prototype.Nha=function(a){this.Pi(a).pause()};a.prototype.G1=function(a){this.Pi(a).play()};
a.prototype.Tja=function(a){this.Pi(a).stop()};a.prototype.CO=function(a){return this.Pi(a).Ue()};a.prototype.zP=function(a,b){this.Pi(a).zu(b)};a.prototype.Dga=function(a){return this.Pi(a).ki()};a.prototype.B1=function(a){this.Pi(a).so()};a.prototype.cka=function(a){this.Pi(a).Cr()};a.prototype.ab=function(a,b){this.Pi(a).ld(b)};a.prototype.Ce=function(a){if(a=this.Pi(a)){this.ge=b.without(this.ge,a);this.ge.push(a);this.Rf=q}};a.prototype.render=function(){this.Kf&&this.RC()};a.prototype.RC=function(){if(this.Fq){this.Fq=
B;for(var a=this.aa(),b=this.la(),c=0;c<this.ge.length;c++)this.ge[c].Ok(a,b)}if(this.Rf){this.Rf=B;for(c=0;c<this.ge.length;c++)this.ge[c].na().css("z-index",c+1)}for(c=0;c<this.ge.length;c++)this.ge[c].render()};a.prototype.Pi=function(a){if(this.zS==a)return this.FH;for(var b=s,c=0;c<this.ge.length&&!b;c++)this.ge[c].getItem()==a&&(b=this.ge[c]);this.zS=a;return this.FH=b};a.prototype.rb=function(){this.Fq=q;this.render()};a.prototype.lj=function(){this.Kf=q;this.render()};a.prototype.hj=function(){this.Kf=
B};a.prototype.iX=function(a){this.yg(a.source.getItem())};a.prototype.jC=function(a){this.Bt(a.source.getItem())};a.prototype.Bt=function(a){this.trigger(new j(f.ra,{item:a}))};a.prototype.yg=function(a){this.trigger(new j(f.W,{item:a}))};return a});
define("ba","require,cu,gD,iu,bB,ig,dU,cO,fG,dC,t,cJ,hd,ct,dN".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("iu"),f=a("bB"),j=a("ig"),g=a("dU"),h=a("cO"),e=a("fG"),l=a("dC"),p=a("t"),o=a("cJ"),r=a("hd"),m=a("ct"),t=a("dN"),u=d.extend(j,function(){j.call(this);this.set("childrenInteractionEnabled",q);this.set("contentOpaque",q);this.Wj=this.ed=this.aB=this.Rd=s;this.zL=this.ik=B;this.Qe=g.J;this.Hg=this.Kh=s;this.bind(u.PQ,this.laa,this);this.bind(u.OQ,this.jaa,this);this.bind(c.wb,this.kaa,
this);this.aO=new e(this,"buttonPause",m.Fh);this.aO.bind(c.ga,this.Ts,this);this.aO.set("state",t.dc);this.cO=new e(this,"buttonPlay",m.Fh);this.cO.bind(c.ga,this.Us,this);this.cO.set("state",t.dc);this.bO=new e(this,"buttonPlayPause",m.Fh);this.bO.bind(c.ga,this.gaa,this);this.bO.set("state",t.dc);this.dO=new e(this,"buttonStop",m.Fh);this.dO.bind(c.ga,this.hq,this);this.dO.set("state",t.oa);this.sfa=new e(this,"buttonRestart",m.kc);this.sfa.bind(c.ga,this.gq,this);this.P9=d.qm(this.Qea,this)});
h.C("ViewerArea",u).D("UIComponent").K({cardboardPointerColor:"color",cardboardPointerSelectionTime:"number",cardboardPointerSelectionColor:"color",cardboardPointerDistance:"number",vrPointerColor:"color",vrPointerSelectionTime:"number",vrPointerSelectionColor:"color",vrPointerDistance:"number",transitionMode:"enum[blending, fade_out_fade_in]",transitionDuration:"number",blendingTransitionDuration:"number",disolveTransitionDuration:"number",translationTransitionDuration:"number",progressBackgroundColor:"or[array[color], color]",
progressBackgroundColorDirection:"enum[horizontal, vertical]",progressBackgroundColorRatios:"array[number]",progressBackgroundOpacity:"number",progressBarBackgroundColor:"or[array[color], color]",progressBarBackgroundColorDirection:"enum[horizontal, vertical]",progressBarBackgroundColorRatios:"array[number]",progressBarBorderColor:"color",progressBarBorderRadius:"number",progressBarBorderSize:"number",progressBarOpacity:"number",progressBorderColor:"color",progressBorderRadius:"number",progressBorderSize:"number",
progressBottom:"or[number, percent]",progressHeight:"or[number, percent]",progressLeft:"or[number, percent]",progressOpacity:"number",progressRight:"or[number, percent]",externalProgressBar:"ProgressBar",playbackBarBackgroundColor:"or[array[color], color]",playbackBarBackgroundColorDirection:"enum[horizontal, vertical]",playbackBarBackgroundOpacity:"number",playbackBarBorderColor:"color",playbackBarBorderRadius:"number",playbackBarBorderSize:"number",playbackBarBottom:"or[number, percent]",playbackBarHeight:"or[number, percent]",
playbackBarWidth:"or[number, percent]",playbackBarLeft:"or[number, percent]",playbackBarOpacity:"number",playbackBarRight:"or[number, percent]",playbackBarLiveDragging:"bool",playbackBarProgressBackgroundColor:"or[array[color], color]",playbackBarProgressBackgroundColorDirection:"enum[horizontal, vertical]",playbackBarProgressBackgroundColorRatios:"array[number]",playbackBarProgressBorderColor:"color",playbackBarProgressBorderRadius:"number",playbackBarProgressBorderSize:"number",playbackBarProgressOpacity:"number",
playbackBarHeadBackgroundColor:"or[array[color], color]",playbackBarHeadBackgroundColorDirection:"enum[horizontal, vertical]",playbackBarHeadBackgroundColorRatios:"array[number]",playbackBarHeadBorderColor:"color",playbackBarHeadBorderRadius:"number",playbackBarHeadBorderSize:"number",playbackBarHeadOpacity:"number",playbackBarHeadWidth:"or[number, percent]",playbackBarHeadHeight:"or[number, percent]",playbackBarHeadShadow:"bool",playbackBarHeadShadowBlurRadius:"number",playbackBarHeadShadowColor:"color",
playbackBarHeadShadowHorizontalLength:"number",playbackBarHeadShadowOpacity:"number",playbackBarHeadShadowSpread:"number",playbackBarHeadShadowVerticalLength:"number",externalPlaybackBar:"PlaybackBar",playbackState:"enum[stopped, playing, paused]",buttonPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlay:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonStop:"or[array[or[Button, IconButton]], or[Button, IconButton]]",
buttonRestart:"or[array[or[Button, IconButton]], or[Button, IconButton]]"}).si({play:function(){this.Us()},pause:function(){this.Ts()},stop:function(){this.hq()},restart:function(){this.gq()}});u.Ya={progressBackgroundColor:n,progressBackgroundColorDirection:n,progressBackgroundColorRatios:n,progressBackgroundOpacity:n,progressBarBackgroundColor:n,progressBarBackgroundColorDirection:n,progressBarBackgroundColorRatios:n,progressBarBorderColor:n,progressBarBorderRadius:n,progressBarBorderSize:n,progressBarOpacity:n,
progressBorderColor:n,progressBorderRadius:n,progressBorderSize:n,progressBottom:0,progressHeight:20,progressLeft:0,progressOpacity:n,progressPercent:0,progressRight:0,progressVisible:B,externalProgressBar:n,playbackBarBackgroundColor:n,playbackBarBackgroundColorDirection:n,playbackBarBackgroundOpacity:n,playbackBarBorderColor:n,playbackBarBorderRadius:n,playbackBarBorderSize:n,playbackBarBottom:10,playbackBarHeight:n,playbackBarWidth:n,playbackBarLeft:n,playbackBarOpacity:n,playbackBarRight:n,playbackBarLiveDragging:n,
playbackBarDuration:100,playbackBarPosition:0,plabackBarSteps:n,plabackBarSelectedStep:n,playbackBarVisible:B,playbackBarProgressBackgroundColor:n,playbackBarProgressBackgroundColorDirection:n,playbackBarProgressBackgroundColorRatios:n,playbackBarProgressBorderColor:n,playbackBarProgressBorderRadius:n,playbackBarProgressBorderSize:n,playbackBarProgressOpacity:n,playbackBarHeadBackgroundColor:n,playbackBarHeadBackgroundColorDirection:n,playbackBarHeadBackgroundColorRatios:n,playbackBarHeadBorderColor:n,
playbackBarHeadBorderRadius:n,playbackBarHeadBorderSize:n,playbackBarHeadOpacity:n,playbackBarHeadWidth:n,playbackBarHeadHeight:n,playbackBarHeadShadow:n,playbackBarHeadShadowBlurRadius:n,playbackBarHeadShadowColor:n,playbackBarHeadShadowHorizontalLength:n,playbackBarHeadShadowOpacity:n,playbackBarHeadShadowSpread:n,playbackBarHeadShadowVerticalLength:n,playbackBarStepBackgroundColor:n,playbackBarStepBackgroundColorDirection:n,playbackBarStepBackgroundColorRatios:n,playbackBarStepBorderColor:n,playbackBarStepBorderRadius:n,
playbackBarStepBorderSize:n,playbackBarStepOpacity:n,playbackBarStepWidth:n,playbackBarStepHeight:n,playbackBarStepShadow:n,playbackBarStepShadowBlurRadius:n,playbackBarStepShadowColor:n,playbackBarStepShadowHorizontalLength:n,playbackBarStepShadowOpacity:n,playbackBarStepShadowSpread:n,playbackBarStepShadowVerticalLength:n,playbackBarStepSelectedBackgroundColor:n,playbackBarStepSelectedBackgroundColorDirection:n,playbackBarStepSelectedBackgroundColorRatios:n,playbackBarStepSelectedBorderColor:n,
playbackBarStepSelectedBorderRadius:n,playbackBarStepSelectedBorderSize:n,playbackBarStepSelectedOpacity:n,playbackBarStepSelectedWidth:n,playbackBarStepSelectedHeight:n,playbackBarStepSelectedShadow:n,playbackBarStepSelectedShadowBlurRadius:n,playbackBarStepSelectedShadowColor:n,playbackBarStepSelectedShadowHorizontalLength:n,playbackBarStepSelectedShadowOpacity:n,playbackBarStepSelectedShadowSpread:n,playbackBarStepSelectedShadowVerticalLength:n,externalPlaybackBar:n,transitionDuration:500,blendingTransitionDuration:n,
disolveTransitionDuration:n,translationTransitionDuration:n,toolTipEnabled:q};b.defaults(u.Ya,j.Ya);u.prototype.set=function(a,b){if(a=="playbackState")b=this.Qe;if(this.get(a)!=b){switch(a){case "playbackState":this.zL=q;this.P9();break;case "toolTipEnabled":this.set("toolTipDisabled",b===B)}j.prototype.set.call(this,a,b)}};u.prototype.ma=function(){this.Ph(u.Ya)};u.prototype.Sa=function(){j.prototype.Sa.call(this);if(this.Rd==s){this.Rd=new p;this.Ca(this.Rd)}if(this.ed==s){this.ed=new l;this.ed.bind(c.W,
this.xL,this,q);this.Ca(this.ed)}};u.prototype.Cga=N("ed");u.prototype.jf=function(){j.prototype.jf.call(this);var a=this.sb(),c=b(a).find(function(a){return a instanceof o}),e=b(a).find(function(a){return a instanceof r}),d=this.Rd&&this.Vt(this.Rd)>=0?this.Rd:s,f=this.ed&&this.Vt(this.ed)>=0?this.ed:s;b([{child:c,index:0},{child:e,index:c?1:0},{child:f,index:a.length-(d?2:1)},{child:d,index:a.length-1}]).each(function(a){var b=a.child,a=a.index;b&&this.Vt(b)!=a&&this.uh(b,a)},this)};u.prototype.X=
function(){if(this.h("externalProgressBar")){(this.aB=this.f("externalProgressBar"))?this.removeChild(this.Rd):this.Ca(this.Rd);this.j("externalProgressBar");b(u.JR).each(function(a){this.Lx(a)},this)}this.eb(u.R3,u.yR,[this.Rd],q,q);var a=[this.Rd];this.aB&&a.push(this.aB);this.eb(u.JR,u.KR,a,q,q);if(this.h("externalPlaybackBar")){this.Wj&&this.Wj.unbind(c.W,this.xL,this,q);(this.Wj=this.f("externalPlaybackBar"))?this.removeChild(this.ed):this.Ca(this.ed);this.Wj&&this.Wj.bind(c.W,this.xL,this,q);
this.j("externalPlaybackBar");b(u.FR).each(function(a){this.Lx(a)},this)}this.eb(u.Q3,u.xR,[this.ed],q,q);a=[this.ed];this.Wj&&a.push(this.Wj);this.eb(u.FR,u.GR,a,q,q);j.prototype.X.call(this)};u.prototype.Qea=function(){if(this.zL){this.zL=B;this.aO.set("state",this.Qe==g.Xb?t.oa:t.dc);this.cO.set("state",this.Qe==g.P||this.Qe==g.Xb?t.oa:t.dc);this.bO.set("state",this.Qe==g.P?t.oa:t.dc);this.dO.set("state",this.Qe==g.J?t.oa:t.dc)}};u.prototype.hd=function(a){this.Qe=a;this.set("playbackState",a)};
u.prototype.Ts=function(){this.Qe==g.Xb?this.Ff():this.fh()};u.prototype.Us=function(){this.Ff()};u.prototype.gaa=function(){this.Qe==g.P?this.fh():this.Ff()};u.prototype.hq=function(){this.di()};u.prototype.gq=function(){this.di();this.Ff()};u.prototype.Ff=function(){this.Hg&&this.Hg.play()};u.prototype.fh=function(){this.Hg&&this.Hg.pause()};u.prototype.di=function(){this.Hg&&this.Hg.stop()};u.prototype.laa=function(a){this.TY(a.data.player)};u.prototype.jaa=function(a){this.Kh==a.data.player&&
this.TY(s)};u.prototype.kaa=function(){u.vm(this)};u.prototype.TY=function(a){if(this.Kh!=a){this.Kh&&this.Kh.vm(B);this.Hg&&this.Hg.unbind(c.Qa("state"),this.fH,this);(this.Kh=a)&&this.Kh.vm(!!this.Pp);(this.Hg=this.Kh&&this.Kh.r5?this.Kh:s)&&this.Hg.bind(c.Qa("state"),this.fH,this,q);this.fH()}};u.prototype.vm=function(a){this.Pp=a;this.Kh&&this.Kh.vm(!!this.Pp)};u.prototype.fH=function(){this.Hg?this.hd(this.Hg.get("state")):this.hd(g.J)};u.prototype.xL=function(){var a=(this.Wj?this.Wj:this.ed).get("position");
this.trigger(new f(u.aG,{position:a}))};u.yR={progressBackgroundColor:"backgroundColor",progressBackgroundColorDirection:"backgroundColorDirection",progressBackgroundColorRatios:"backgroundColorRatios",progressBackgroundOpacity:"backgroundOpacity",progressBarBackgroundColor:"barBackgroundColor",progressBarBackgroundColorDirection:"barBackgroundColorDirection",progressBarBackgroundColorRatios:"barBackgroundColorRatios",progressBarBorderColor:"barBorderColor",progressBarBorderRadius:"barBorderRadius",
progressBarBorderSize:"barBorderSize",progressBarOpacity:"barOpacity",progressBorderColor:"borderColor",progressBorderRadius:"borderRadius",progressBorderSize:"borderSize",progressHeight:"height",progressOpacity:"opacity",progressBottom:"bottom",progressLeft:"left",progressRight:"right"};u.R3=b(u.yR).keys();u.KR={progressPercent:"percent",progressVisible:"visible"};u.JR=b(u.KR).keys();u.xR={playbackBarBackgroundColor:"backgroundColor",playbackBarBackgroundColorDirection:"backgroundColorDirection",
playbackBarBackgroundOpacity:"backgroundOpacity",playbackBarBorderColor:"borderColor",playbackBarBorderRadius:"borderRadius",playbackBarBorderSize:"borderSize",playbackBarBottom:"bottom",playbackBarHeight:"height",playbackBarWidth:"width",playbackBarLeft:"left",playbackBarOpacity:"opacity",playbackBarRight:"right",playbackBarLiveDragging:"liveDragging",playbackBarProgressBackgroundColor:"barBackgroundColor",playbackBarProgressBackgroundColorDirection:"barBackgroundColorDirection",playbackBarProgressBackgroundColorRatios:"barBackgroundColorRatios",
playbackBarProgressBorderColor:"barBorderColor",playbackBarProgressBorderRadius:"barBorderRadius",playbackBarProgressBorderSize:"barBorderSize",playbackBarProgressOpacity:"barOpacity",playbackBarHeadBackgroundColor:"playheadBackgroundColor",playbackBarHeadBackgroundColorDirection:"playheadBackgroundColorDirection",playbackBarHeadBackgroundColorRatios:"playheadBackgroundColorRatios",playbackBarHeadBorderColor:"playheadBorderColor",playbackBarHeadBorderRadius:"playheadBorderRadius",playbackBarHeadBorderSize:"playheadBorderSize",
playbackBarHeadOpacity:"playheadOpacity",playbackBarHeadWidth:"playheadWidth",playbackBarHeadHeight:"playheadHeight",playbackBarHeadShadow:"playheadShadow",playbackBarHeadShadowBlurRadius:"playheadShadowBlurRadius",playbackBarHeadShadowColor:"playheadShadowColor",playbackBarHeadShadowHorizontalLength:"playheadShadowHorizontalLength",playbackBarHeadShadowOpacity:"playheadShadowOpacity",playbackBarHeadShadowSpread:"playheadShadowSpread",playbackBarHeadShadowVerticalLength:"playheadShadowVerticalLength",
playbackBarStepBackgroundColor:"stepBackgroundColor",playbackBarStepBackgroundColorDirection:"stepBackgroundColorDirection",playbackBarStepBackgroundColorRatios:"stepBackgroundColorRatios",playbackBarStepBorderColor:"stepBorderColor",playbackBarStepBorderRadius:"stepBorderRadius",playbackBarStepBorderSize:"stepBorderSize",playbackBarStepOpacity:"stepOpacity",playbackBarStepWidth:"stepWidth",playbackBarStepHeight:"stepHeight",playbackBarStepShadow:"stepShadow",playbackBarStepShadowBlurRadius:"stepShadowBlurRadius",
playbackBarStepShadowColor:"stepShadowColor",playbackBarStepShadowHorizontalLength:"stepShadowHorizontalLength",playbackBarStepShadowOpacity:"stepShadowOpacity",playbackBarStepShadowSpread:"stepShadowSpread",playbackBarStepShadowVerticalLength:"stepShadowVerticalLength",playbackBarSelectedStepBackgroundColor:"selectedStepBackgroundColor",playbackBarSelectedStepBackgroundColorDirection:"selectedStepBackgroundColorDirection",playbackBarSelectedStepBackgroundColorRatios:"selectedStepBackgroundColorRatios",
playbackBarSelectedStepBorderColor:"selectedStepBorderColor",playbackBarSelectedStepBorderRadius:"selectedStepBorderRadius",playbackBarSelectedStepBorderSize:"selectedStepBorderSize",playbackBarSelectedStepOpacity:"selectedStepOpacity",playbackBarSelectedStepWidth:"selectedStepWidth",playbackBarSelectedStepHeight:"selectedStepHeight",playbackBarSelectedStepShadow:"selectedStepShadow",playbackBarSelectedStepShadowBlurRadius:"selectedStepShadowBlurRadius",playbackBarSelectedStepShadowColor:"selectedStepShadowColor",
playbackBarSelectedStepShadowHorizontalLength:"selectedStepShadowHorizontalLength",playbackBarSelectedStepShadowOpacity:"selectedStepShadowOpacity",playbackBarSelectedStepShadowSpread:"selectedStepShadowSpread",playbackBarSelectedStepShadowVerticalLength:"selectedStepShadowVerticalLength"};u.Q3=b(u.xR).keys();u.GR={playbackBarDuration:"duration",playbackBarPosition:"position",playbackBarSteps:"steps",playbackBarSelectedStep:"selectedStep",playbackBarVisible:"visible"};u.FR=b(u.GR).keys();u.CG="requestByPlayer";
u.PQ="playerShow";u.OQ="playerHide";u.aG="playbackBarPositionChange";u.Ms=s;u.vm=function(a){if(u.Ms!=a){u.Ms&&u.Ms.vm(B);u.Ms=a;u.Ms&&u.Ms.vm(q)}};return u});
define("bU","gD,gU,iu,bB,cO,ba".split(","),function(a,b,d,c,f,j){var g=a.extend(b,function(a){b.call(this);this.r5=a;this.Nx=this.$j=s});g.Ze="mediaShow";g.Ch="mediaHide";g.prototype.vm=E();g.prototype.nD=function(a){if(this.$j!=a){if(this.$j){this.$j.unbind(j.CG,this.P_,this);this.$j.unbind(j.aG,this.GC,this)}if(this.$j=a){this.$j.bind(j.CG,this.P_,this);this.$j.bind(j.aG,this.GC,this)}}};g.prototype.TC=function(){this.$j.trigger(new c(j.CG,{player:this}))};g.prototype.P_=function(a){a.data.player!=
this&&this.Wx()};g.prototype.GC=E();g.prototype.Wx=E();g.prototype.YB=function(a){this.trigger(new c(g.Ze,{media:a}));this.Nx=this.$j;this.Nx.trigger(new c(j.PQ,{player:this}))};g.prototype.XB=function(a){this.trigger(new c(g.Ch,{media:a}));if(this.Nx){this.Nx.trigger(new c(j.OQ,{player:this}));this.Nx=s}};return g});
define("eT","gD,gU,iu,bB,cO,fG,bU,ba,dU,ct,dN".split(","),function(a,b,d,c,f,j,g,h,e,l,p){var o=a.extend(g,function(){g.call(this,q);this.ik=B;this.SM=q;this.R=e.J;this.DH=new j(this,"buttonPlayPause",l.Fh);this.DH.bind(d.$f,this.haa,this,q);this.DH.bind(d.Eh,this.iaa,this,q);this.sS=new j(this,"buttonPause",l.kc);this.sS.bind(d.ga,this.Ts,this,q);this.tS=new j(this,"buttonPlay",l.kc);this.tS.bind(d.ga,this.Us,this,q);this.xS=new j(this,"buttonStop",l.kc);this.xS.bind(d.ga,this.hq,this,q);this.i5=
new j(this,"buttonRestart",l.kc);this.i5.bind(d.ga,this.gq,this,q);this.xV=a.qm(this.Gea,this);this.xV()});o.prototype.set=function(a,b){a!="state"&&g.prototype.set.call(this,a,b)};o.prototype.get=function(a,b){switch(a){case "state":return this.R}return g.prototype.get.call(this,a,b)};o.prototype.Gea=function(){if(this.SM){this.SM=B;this.sS.set("state",this.R==e.Xb?p.oa:p.dc);this.tS.set("state",this.R==e.P||this.R==e.Xb?p.oa:p.dc);this.DH.set("pressed",this.R==e.P);this.xS.set("state",this.R==e.J?
p.oa:p.dc)}};o.prototype.qt=function(a){if(this.ik!=a)(this.ik=a)||this.hd(e.J)};o.prototype.hd=function(a){var b=this.R;this.R=a;g.prototype.set.call(this,"state",a);if(b!=this.R){this.SM=q;this.xV();this.trigger(new c(o.nd,{oldState:b,state:this.R}))}};o.prototype.Ts=function(){this.ik&&(this.R==e.Xb?this.Ff():this.fh())};o.prototype.Us=function(){this.ik&&this.Ff()};o.prototype.haa=function(){this.ik&&this.Ff()};o.prototype.iaa=function(){this.ik&&this.fh()};o.prototype.hq=function(){this.ik&&
this.di()};o.prototype.gq=function(){if(this.ik){this.di();this.Ff()}};o.prototype.Ff=E();o.prototype.fh=E();o.prototype.di=E();o.nd="stateChange";return o});define("fP",[],function(){return{Co:"constrained",W2:"free_drag",zka:"free_drag_and_rotation",IG:"sync_with_field_of_view"}});
define("gj",["gD","fP","eg"],function(a,b,d){function c(){this.O=q;this.ba=this.$=0.5;this.nb=0;this.ka=1;this.Vb=d.le;this.bh=b.Co;this.JK=this.MK=1;this.$b=this.ac=this.Ig=this.Jg=100;this.lh=c.bp}c.prototype.MO=function(){return this.lh!==c.bp};c.prototype.g1=function(){return this.lh&c.Pr?q:B};c.prototype.h1=function(){return this.lh&c.Qr?q:B};c.prototype.i1=function(){return this.lh&c.ep?q:B};c.prototype.f1=function(){return this.lh&c.ap?q:B};c.prototype.Dg=function(){this.ph();return this.$};
c.prototype.Eg=function(){this.ph();return this.ba};c.prototype.Ej=function(){this.ph();return this.ka};c.prototype.Rt=function(){this.ph();return this.nb};c.prototype.pi=function(a,b,c,d,e){this.ac=a;this.$b=b;this.Vb=c;this.MK=d;this.JK=e;this.ba=this.$=0.5;this.nb=0;this.ka=d;this.O=q};c.prototype.ca=function(a,b,c,d){this.$=a;this.ba=b;this.nb=c;this.ka=d;this.O=q};c.prototype.Gj=function(a){this.bh=a;this.O=q};c.prototype.setSize=function(a,b){this.Jg=a;this.Ig=b;this.O=q};c.prototype.ph=function(){if(this.O){this.O=
B;var a=c.bp;this.ka>this.JK?(this.ka=this.JK,a|=c.S3):this.ka<this.MK&&(this.ka=this.MK,a|=c.T3);var j,g,h,e;if(this.bh==b.Co){switch(this.Vb){case d.NONE:g=this.ac;e=this.$b;break;case d.Jj:g=this.Jg;e=this.$b*this.Jg/this.ac;break;case d.Yf:g=this.ac*this.Ig/this.$b;e=this.Ig;break;case d.Tk:this.ac*this.Ig>this.$b*this.Jg?(g=this.ac*this.Ig/this.$b,e=this.Ig):(g=this.Jg,e=this.$b*this.Jg/this.ac);break;default:case d.le:this.ac*this.Ig>this.$b*this.Jg?(g=this.Jg,e=this.$b*this.Jg/this.ac):(g=
this.ac*this.Ig/this.$b,e=this.Ig)}g*=this.ka;e*=this.ka;j=Math.min(0.5*this.Jg/g,0.5);g=Math.max(1-0.5*this.Jg/g,0.5);h=Math.min(0.5*this.Ig/e,0.5);e=Math.max(1-0.5*this.Ig/e,0.5)}else j=0,g=1,h=0,e=1;this.$<j?(this.$=j,a|=c.Pr):this.$>g&&(this.$=g,a|=c.Qr);this.ba<h?(this.ba=h,a|=c.ep):this.ba>e&&(this.ba=e,a|=c.ap);if((this.bh==b.Co||this.bh==b.W2)&&0!=this.nb)this.nb=0,a|=c.X3;this.lh=a}};c.bp=0;c.Pr=1;c.Qr=2;c.ep=4;c.ap=8;c.T3=16;c.S3=32;c.X3=64;return c});
define("dB",[],function(){function a(){this.$v=0.1;this.SA=this.tI=this.vI=this.uI=this.CI=this.sI=this.AI=this.zI=this.Dy=this.YN=this.gp=this.lH=this.Cy=this.UN=this.By=this.TN=0}a.prototype.YE=H("$v");a.prototype.k2=function(a,d,c,f,j,g,h,e){this.TN=a;this.UN=d;this.lH=c;this.YN=f;this.By+=j;this.Cy+=g;this.gp+=h;this.Dy+=e};a.prototype.kd=function(){return 0!=this.zI||0!=this.AI||0!=this.sI||0!=this.CI||0!=this.TN||0!=this.UN||0!=this.lH||0!=this.YN||0!=this.By||0!=this.Cy||0!=this.gp||0!=this.Dy};
a.prototype.mb=function(a){a=1E3/a;this.uI=this.XA(this.zI/a,this.TN/a+this.By,this.$v);this.vI=this.XA(this.AI/a,this.UN/a+this.Cy,this.$v);this.tI=this.XA(this.sI/a,this.lH/a+this.gp,this.$v);this.SA=this.XA(this.CI/a,this.YN/a+this.Dy,this.$v);this.zI=this.uI*a;this.AI=this.vI*a;this.sI=this.tI*a;this.CI=this.SA*a;this.Dy=this.gp=this.Cy=this.By=0};a.prototype.XA=function(a,d,c){return 0==d?this.nc(a,d,c):d};a.prototype.nc=function(a,d,c){a=(d-a)*(1-c);0.01>Math.abs(a)&&(a=0);return d-a};return a});
define("dE",["gD","iu","bB","dx","eg"],function(a,b,d,c){var f=a.extend(c,function(){c.call(this);this.Ym=7;this.cC=this.kK=B;this.eC=n;this.nb=0;this.ka=1;this.$b=this.ac=100;this.NB=1;this.FL=q;this.GL=B;this.efa=q;this.XN=B;this.za=s});f.prototype.vr=H("Ym");f.prototype.Sb=function(a,b,c,e){this.nb=a;this.ka=b;this.ac=c;this.$b=e};f.prototype.wja=function(a){this.FL=a;this.jD(this.FL&&!!this.za)};f.prototype.iz=function(a){this.za!=a&&(this.jD(B),this.BM(B),this.Bk(),this.za=a,this.jD(this.FL&&
!!this.za),this.BM(this.efa&&!!this.za))};f.prototype.Bk=function(){this.jD(B);this.BM(B);this.za=s};f.prototype.jD=function(a){this.GL!=a&&((this.GL=a)?this.V4():this.dea())};f.prototype.BM=function(a){this.XN!=a&&((this.XN=a)?this.X4():this.fea())};f.prototype.V4=function(){this.za.bind(b.wb,this.qc,this,q);this.za.bind(b.jc,this.ak,this,q);this.za.bind(b.xb,this.bk,this,q)};f.prototype.dea=function(){this.za.unbind(b.wb,this.qc,this);this.za.unbind(b.jc,this.ak,this);this.za.unbind(b.xb,this.bk,
this)};f.prototype.X4=function(){this.za.bind(b.To,this.$p,this,q);this.za.bind(b.Lr,this.Hp,this,q)};f.prototype.fea=function(){this.za.unbind(b.To,this.$p,this);this.za.unbind(b.Lr,this.Hp,this)};f.prototype.qc=function(a){this.pda(a)};f.prototype.ak=function(a){this.u_(a)};f.prototype.bk=function(){this.ZI()};f.prototype.$p=function(a){this.DN(a)};f.prototype.Hp=function(a){this.EN(a)};f.prototype.pda=function(a){this.kK=q;this.cC=B;this.eC=a;this.u_(a)};f.prototype.u_=function(a){if(this.kK){var b=
a.pageX-this.eC.pageX,c=a.pageY-this.eC.pageY;this.cC||(Math.sqrt(b*b+c*c)>this.Ym?this.cC=q:b=c=0);this.cC&&(this.eC=a);a=this.nb*Math.PI/180;this.trigger(new d(f.xi,{xDelta:-((b*Math.cos(a)+c*Math.sin(a))/this.ac),yDelta:-((c*Math.cos(a)-b*Math.sin(a))/this.$b)}))}};f.prototype.ZI=function(){this.kK=B};f.prototype.EN=function(a){if(this.NB!=a.scale){this.ZI();var b=this.NB;this.NB=a.scale;this.trigger(new d(f.Ai,{zoomDelta:this.ka*this.NB/b-this.ka}))}};f.prototype.DN=function(a){0!=a.Ot&&(this.ZI(),
this.trigger(new d(f.Ai,{zoomDelta:this.ka*a.Ot/100})))};f.xi="position change";f.Ai="zoom change";f.Qka="vieport navigation";f.Pka="relative navigation";f.Oka="relative exponential navigation";f.Nka="dragging";return f});define("fF",[],function(){return{DG:"rotateClockwise",EG:"rotateCounterClockwise",Wk:"zoomIn",Xk:"zoomOut",od:"stop"}});
define("hR","gD,bB,dx,eg,dB,dE,fF,iu".split(","),function(a,b,d,c,f,j,g){var h=a.extend(d,function(a,b){d.call(this);this.b=a;this.F=b;this.Yj=this.VL=this.Z=B;this.ba=this.$=0.5;this.nb=0;this.ka=1;this.$b=this.ac=100;this.Vb=c.Co;this.qb=new f;this.ta=new j;if(this.b.Wg){this.ta.vr(h.aH);this.qb.YE(h.bH)}else{this.ta.vr(0);this.qb.YE(1)}this.ta.bind(j.xi,this.baa,this,q);this.ta.bind(j.Ai,this.Hn,this,q)});h.prototype.clear=function(){this.ta.unbind(j.xi,this.Vla,this,q);this.ta.unbind(j.Ai,this.Hn,
this,q);this.ta.Bk();this.b=this.F=this.qb=this.ta=s};h.prototype.Wf=function(a){switch(a){case g.DG:this.fb(0,0,+h.VG,0,0,0,0,0);break;case g.EG:this.fb(0,0,-h.VG,0,0,0,0,0);break;case g.Wk:this.fb(0,0,0,+h.dv,0,0,0,0);break;case g.Xk:this.fb(0,0,0,-h.dv,0,0,0,0);break;case g.od:this.fb(0,0,0,0,0,0,0,0)}};h.prototype.ca=function(a,b,c,d,f,h){this.$=a;this.ba=b;this.nb=c;this.ka=d;this.ac=f;this.$b=h;this.ta.Sb(this.nb,this.ka,this.ac,this.$b)};h.prototype.kd=function(){return this.Z&&this.qb.kd()};
h.prototype.mb=function(a){this.qb.mb(a);this.F.ca(this.$+this.qb.uI,this.ba+this.qb.vI,this.nb+this.qb.tI,this.ka+this.qb.SA);this.$=this.F.Dg();this.ba=this.F.Eg();this.nb=this.F.Rt();this.ka=this.F.Ej()};h.prototype.lz=function(a){this.Yj=a;this.ta.wja(!this.Yj)};h.prototype.je=function(a){(this.Z=a)?this.ta.iz(this.b.getParent()):this.ta.Bk()};h.prototype.baa=function(a){this.fb(0,0,0,0,a.data.xDelta,a.data.yDelta,0,0)};h.prototype.Hn=function(a){this.fb(0,0,0,0,0,0,0,a.data.zoomDelta)};h.prototype.fb=
function(a,b,c,d,f,h,g,j){this.qb.k2(a,b,c,d,f,h,g,j);this.Nf()};h.prototype.Nf=function(){this.trigger(new b(h.mf))};h.mf="position change request";h.aH=7;h.bH=0.2;h.dv=0.5;h.VG=30;return h});
define("hr","gD,bB,dx,il,bd,dB,dE,fF,iu".split(","),function(a,b,d,c,f,j,g,h){var e=a.extend(d,function(a,b){d.call(this);this.b=a;this.F=b;this.Z=B;this.ba=this.$=0.5;this.nb=0;this.ka=1;this.$b=this.ac=100;this.S=s;this.WI=q;this.kb=s;this.tC=0;this.tk=this.am=this.$l=n;this.qb=new j;this.ta=new g;if(this.b.Wg){this.ta.vr(e.aH);this.qb.YE(e.bH)}else{this.ta.vr(0);this.qb.YE(1)}this.ta.bind(g.Ai,this.Hn,this,q)});e.prototype.hja=function(a,b){this.ac=a;this.$b=b;this.zg()};e.prototype.wm=function(a){if(this.kb!=
a){this.kb=a;this.tC=n;this.zg()}};e.prototype.ti=function(a,b){if(this.kb==a){this.tC=b;this.zg()}};e.prototype.zg=function(){var a,b,c;if(this.kb&&this.tC!=n){a=this.kb.get("x",0)/this.ac;b=this.kb.get("y",0)/this.$b;c=-(this.tC+this.kb.get("angle",0))}else c=b=a=n;if(this.tk!=c){this.tk=c;this.Nf()}if(this.$l!=a||this.am!=b){this.$l=a;this.am=b;this.O9();this.Nf()}};e.prototype.O9=function(){this.WI=q;this.Nf()};e.prototype.wea=function(){if(this.WI||this.S&&this.S.De()){this.WI=B;this.S=s;if(this.$l!=
n&&this.am!=n&&this.tk!=n){for(var a=this.tk-this.nb;a>180;)a=a-360;for(;a<-180;)a=a+360;if(this.$!=this.$l||this.ba!=this.am)this.S=new c("quad_in_out",[new f("x",this.$,this.$l,1),new f("y",this.ba,this.am,1),new f("angleDif",a,a,360)],500);else if(this.tk!=this.nb)this.S=new c("quad_in_out",[new f("x",this.$,this.$,1),new f("y",this.ba,this.ba,1),new f("angleDif",a,0,360)],500)}}};e.prototype.clear=function(){this.ta.unbind(g.Ai,this.Hn,this,q);this.ta.Bk();this.b=this.F=this.S=this.qb=this.ta=
s};e.prototype.Wf=function(a){switch(a){case h.Wk:this.fb(+e.dv,0);break;case h.Xk:this.fb(-e.dv,0);break;case h.od:this.fb(0,0)}};e.prototype.ca=function(a,b,c,e,d,f){this.$=a;this.ba=b;this.nb=c;this.ka=e;this.ta.Sb(this.nb,this.ka,d,f)};e.prototype.kd=function(){return this.Z&&(this.S||this.qb.kd()||this.$l!=n&&this.$!=this.$l||this.am!=n&&this.ba!=this.am||this.tk!=n&&this.nb!=this.tk)?q:B};e.prototype.mb=function(a){this.wea();if(this.S){this.S.mb(a);this.$=this.S.La("x");this.ba=this.S.La("y");
this.nb=this.tk-this.S.La("angleDif")}else{if(this.$l!=n)this.$=this.$l;if(this.am!=n)this.ba=this.am;if(this.tk!=n)this.nb=this.tk}this.qb.mb(a);this.F.ca(this.$,this.ba,this.nb,this.ka+this.qb.SA);this.$=this.F.Dg();this.ba=this.F.Eg();this.nb=this.F.Rt();this.ka=this.F.Ej()};e.prototype.je=function(a){if(this.Z=a){this.ta.iz(this.b.getParent());this.zg()}else this.ta.Bk()};e.prototype.Hn=function(a){this.fb(0,a.data.zoomDelta)};e.prototype.fb=function(a,b){this.qb.k2(0,0,0,a,0,0,0,b);this.Nf()};
e.prototype.Nf=function(){this.trigger(new b(e.mf))};e.mf="position change request";e.aH=7;e.bH=0.2;e.dv=0.5;e.VG=30;return e});
define("ic","gD,bB,dx,fP,eg,gj,hR,hr,iu".split(","),function(a,b,d,c,f,j,g,h,e){var l=a.extend(d,function(a){d.call(this);this.b=a;this.b.bind(e.Nb,this.rb,this);this.bh=c.Co;this.kb=s;this.ba=this.$=0.5;this.nb=0;this.ka=1;this.ya=s;this.$C=this.ZC=this.Ak=this.zk=B;this.nh=q;this.Z=B;this.F=new j;this.F.Gj(this.bh);this.Ha=new g(this.b,this.F);this.Ha.bind(g.mf,this.Rl,this,q);this.Ae=new h(this.b,this.F);this.Ae.bind(h.mf,this.Rl,this,q);this.NC()});l.prototype.clear=function(){this.Ha.unbind(g.mf,
this.Rl,this);this.Ha.clear();this.Ha=s;this.Ae.unbind(h.mf,this.Rl,this);this.Ae.clear();this.ya=this.F=this.Ae=s;this.b.unbind(e.Nb,this.rb,this);this.b=s};l.prototype.stop=function(){this.Mb=this.ya=s;this.Z=B;this.Ha.je(B);this.Ae.je(B);this.Xl(0,0,0,0)};l.prototype.start=function(a){var b=a.ya,c=b.get("width",100),e=b.get("height",100),d=b.get("scaleMode",f.le),h=b.get("minimumZoomFactor",1),g=b.get("maximumZoomFactor",1),l=b.get("initialZoomFactor",1);this.ya=b;this.Z=q;this.Mb=a.getItem();
this.Xl(0,0,0,0);this.Ae.hja(c,e);this.F.pi(c,e,d,h,g);this.F.ca(0.5,0.5,0,l);this.b.ke(this.Mb,this.F.Dg(),this.F.Eg(),this.F.Rt(),this.F.Ej());this.NC()};l.prototype.Wf=function(a){this.Ha.Wf(a);this.Ae.Wf(a)};l.prototype.Gj=function(a){if(this.bh!=a){this.bh=a;this.F.Gj(a);this.NC()}};l.prototype.wm=function(a){if(this.kb!=a){this.kb=a;this.Ae.wm(a);this.NC()}};l.prototype.lz=function(a){this.Ha&&this.Ha.lz(a)};l.prototype.ti=function(a,b,c,e){this.Ae.ti(a,b,c,e)};l.prototype.Mk=function(a){if(this.Z)if(this.Ae.kd()){this.Ae.mb(a);
this.ze(this.Ae.$,this.Ae.ba,this.Ae.nb,this.Ae.ka);this.p()}else if(this.Ha.kd()){this.Ha.mb(a);this.ze(this.Ha.$,this.Ha.ba,this.Ha.nb,this.Ha.ka);this.p()}else this.Xl(0,0,0,0)};l.prototype.fa=function(){if(this.Mb){var a=this.b.Qy(this.Mb),b=this.b.Ry(this.Mb),c=this.b.qE(this.Mb),e=this.b.J0(this.Mb),d=this.b.Ny(this.Mb),f=this.b.My(this.Mb),h=a-this.$,g=b-this.ba,l=c-this.nb,j=e-this.ka;this.$=a;this.ba=b;this.nb=c;this.ka=e;this.Xl(h,g,l,j);this.Ae.ca(a,b,c,e,d,f);this.Ha.ca(a,b,c,e,d,f)}};
l.prototype.NC=function(){if(this.bh==c.IG&&this.kb!=s&&this.kb.get("map")==this.ya){this.Ha.je(B);this.Ae.je(q)}else{this.Ha.je(q);this.Ae.je(B)}};l.prototype.Rl=function(){this.p()};l.prototype.rb=function(){this.F.setSize(this.b.aa(),this.b.la());this.p()};l.prototype.p=function(){this.trigger(new b(l.M))};l.prototype.ze=function(a,b,c,e){this.b.ke(this.Mb,a,b,c,e)};l.prototype.Xl=function(a,c,e,d){a=B;if(this.Ak!=d<0){this.Ak=!this.Ak;a=q}if(this.zk!=d>0){this.zk=!this.zk;a=q}if(this.ZC!=this.gp>
0){this.ZC=!this.ZC;a=q}if(this.$C!=this.gp<0){this.$C=!this.$C;a=q}if(this.nh!=(d==0)){this.nh=!this.nh;a=q}a&&this.trigger(new b(l.lf,{rotatingClockwise:this.ZC,rotatingCounterClockwise:this.$C,zoomingIn:this.zk,zoomingOut:this.Ak,stopped:this.nh}))};l.M="request frame";l.lf="movement change";return l});
define("iG",["require","gD","gU","cO"],function(a){var b=a("gD"),d=a("gU"),a=a("cO"),b=b.extend(d,function(){d.apply(this,arguments)});a.C("PanoramaCameraPosition",b).D("RotationalCameraPosition");return b});
define("fI","gD,bB,dx,iG,eg,gj,iu".split(","),function(a,b,d,c,f,j){var g=a.extend(d,function(a,b){d.call(this);this.G=a;this.b=b;this.F=new j;this.Ub=[];this.L=g.re;this.sa=this.Ba=s;this.hi=this.G.get("transitionDuration");this.oh=n});g.prototype.Gj=function(a){this.F.Gj(a)};g.prototype.Aj=function(a){a.Ye()&&this.qp();this.Ub.push(a);this.dq()};g.prototype.hide=function(){this.qp();this.Ub.push(s);this.dq()};g.prototype.clear=function(){this.L=g.re;this.qp();this.YL();this.rq();this.b=s};g.prototype.fa=
function(a){if(this.L!=g.re&&(this.L==g.Ih||this.L==g.Gm)){this.oh=this.oh+a;a=Math.min(1,this.oh/this.hi);this.L==g.Ih?this.b.ab(this.Ba.getItem(),a):this.b.ab(this.sa.getItem(),1-a);this.oh<this.hi?this.p():this.L==g.Ih?this.aw():this.bw()}};g.prototype.dq=function(){if(this.L==g.re){for(;this.Ub.length>0&&this.Ub[0].isEqual(this.sa);)this.Ub.shift();this.Ub.length>0&&this.Di()}};g.prototype.Di=function(){this.sa&&(!this.Ub[0]||this.Ub[0].Ye())&&this.trigger(new b(g.Ho,{map:this.sa.ya}));if(this.G.get("transitionMode",
"blending")=="fade_out_fade_in"&&this.sa&&this.Ub[0].Ye())this.Lm();else(this.Ba=this.Ub.shift())?this.lp():this.sa&&this.Lm()};g.prototype.lp=function(){this.hH();this.Ba.Ye()&&this.Uba();this.oh=0;this.L=g.Ih;this.p()};g.prototype.aw=function(){this.rq();this.sa=this.Ba;this.Ba=s;this.Li()};g.prototype.Lm=function(){this.oh=0;this.L=g.Gm;this.p()};g.prototype.bw=function(){this.rq();this.sa=s;this.Li()};g.prototype.Li=function(){this.L=g.re;this.sa&&this.sa.Ye()&&this.trigger(new b(g.Io,{map:this.sa.ya}));
this.Ub.length==0?this.sa&&this.trigger(new b(g.TF,{level:this.sa})):this.Di()};g.prototype.Uba=function(){var a=this.Ba.ya;this.Ba.Sf();this.F.pi(a.get("width",100),a.get("height",100),a.get("scaleMode",f.le),a.get("minimumZoomFactor",1),a.get("maximumZoomFactor",1));this.F.ca(0.5,0.5,0,a.get("initialZoomFactor",1));this.b.ke(this.Ba.getItem(),this.F.Dg(),this.F.Eg(),this.F.Rt(),this.F.Ej())};g.prototype.p=function(){this.trigger(new b(g.M))};g.prototype.qp=function(){for(;this.Ub.length>0;){var a=
this.Ub.shift();a&&this.b.yh(a.getItem())}};g.prototype.hH=function(){if(this.Ba){this.b.Se(this.Ba.getItem());this.b.Ce(this.Ba.getItem());this.b.ab(this.Ba.getItem(),0);this.trigger(new b(g.Fo,{level:this.Ba}))}};g.prototype.rq=function(){if(this.sa){this.b.removeItem(this.sa.getItem());this.trigger(new b(g.Cm,{level:this.sa}));this.b.yh(this.sa.getItem());this.sa=s}};g.prototype.YL=function(){if(this.Ba){this.b.removeItem(this.Ba.getItem());this.trigger(new b(g.Cm,{level:this.Ba}));this.b.yh(this.Ba.getItem());
this.Ba=s}};g.re="stopped";g.Ih="blending";g.Gm="disolving";g.M="request frame";g.Fo="level added";g.Cm="level removed";g.TF="level fully displayed";g.Io="map show";g.Ho="map hide";return g});
define("gu",[],function(){function a(a,d){this.ya=a;this.Zi=a.get("image");this.yd=d;this.Op=n}a.prototype.getItem=function(){switch(this.yd){case a.Gg:return this.ya.$c();default:return this.ya.va()}};a.prototype.Sf=function(){switch(this.yd){case a.Gg:return this.Zi.We();default:return this.Zi.Ad()}};a.prototype.Ye=function(){return this.Op===n?0==this.pE():this.Op};a.prototype.d2=H("Op");a.prototype.Yy=function(){return this.yd==a.Gg};a.prototype.Kk=function(){return this.yd==a.Tu};a.prototype.isEqual=
function(a){return a&&this.ya==a.map&&this.yd==a.type};a.prototype.pE=function(){return this.yd==a.Gg||this.Zi.zE()?0:1};a.prototype.tO=function(){return this.Zi.zE()?2:1};a.Gg="preload";a.Tu="load";return a});
define("fd","require,gD,bB,dx,iu,gu".split(","),function(a){var b=a("gD"),d=a("bB"),c=a("dx"),f=a("iu"),j=a("gu"),g=b.extend(c,function(a){c.call(this);this.b=a;this.Ub=[];this.Uv=this.Ps=this.pa=s;this.Qp=B;this.yK=s});g.prototype.clear=function(){this.stop();this.b=s};g.prototype.wha=function(a){this.stop();a.get("image").zE()&&this.Ub.push(new j(a,j.Gg));this.Ub.push(new j(a,j.Tu));this.dq()};g.prototype.stop=function(){this.yK=s;this.Ub=[];this.BZ();if(this.Qp){this.Qp=B;this.iN();this.b.yh(this.pa.getItem());
this.pa=s;this.trigger(new d(g.Sk))}};g.prototype.dq=function(){this.Qp||this.DK()};g.prototype.DK=function(){if(this.Ub.length>0){this.pa=this.Ub.shift();if(!this.Qp){this.Qp=q;this.trigger(new d(g.Dz,{level:this.pa,percent:0}))}this.P4();this.b.mi(this.pa.getItem())}else if(this.Qp){this.Qp=B;this.trigger(new d(g.Sk))}};g.prototype.DW=function(){this.iN();this.jda();this.pa=s;this.DK()};g.prototype.jda=function(){this.BZ();this.Ps=this.pa;var a=this;this.Uv=setTimeout(function(){a.Uv=s;a.L$()},
500)};g.prototype.L$=function(){var a=this.Ps.ya;this.Ps.d2(a!=this.yK);this.yK=a;this.trigger(new d(g.Bm,{level:this.Ps}));this.Ps=s};g.prototype.BZ=function(){if(this.Uv!=s){clearTimeout(this.Uv);this.Ps=this.Uv=s}};g.prototype.EW=function(){this.iN();this.pa=s;this.DK()};g.prototype.FW=function(a){this.trigger(new d(g.Dz,{level:this.pa,percent:a.bz}))};g.prototype.P4=function(){var a=this.pa.getItem();a.bind(f.ib,this.DW,this);a.bind(f.Zf,this.EW,this);a.bind(f.av,this.FW,this)};g.prototype.iN=
function(){var a=this.pa.getItem();a.unbind(f.ib,this.DW,this);a.unbind(f.Zf,this.EW,this);a.unbind(f.av,this.FW,this)};g.Dz="level loading progress";g.Bm="level loaded";g.Sk="load stopped";return g});
define("bI",["require"],function(){function a(a,d){this.x=a;this.y=d}a.prototype.rotate=function(a){var d=Math.cos(a),a=Math.sin(a),c=this.x*a+this.y*d;this.x=this.x*d-this.y*a;this.y=c;return this};a.prototype.translate=function(a,d){this.x+=a;this.y+=d;return this};a.prototype.scale=function(a,d){this.x*=a;this.y*=d;return this};return a});
define("hf",["require","iu","ew","bI","gf"],function(a){function b(a,b,e,f){this.b=a;this.ya=b;this.ac=this.ya.get("width");this.$b=this.ya.get("height");this.Mb=this.ya.va();this.hV=e;this.xl=f;this.yl=s;if(this.xl){if(this.q9=this.hV.dD,this.r9=this.xl.get("width"),this.l9=this.xl.get("height"),this.s9=this.xl.get("x",0),this.t9=this.xl.get("y",0),this.m9=this.xl.get("offsetX",0),this.n9=this.xl.get("offsetY",0),a=this.xl.Ad())this.p9=a.get("width"),this.o9=a.get("height"),this.nn=new j(c.pf),this.nn.load(a.get("url")),
this.nn.bind(d.ib,this.dx,this)}else this.nn=s}var d=a("iu"),c=a("ew"),f=a("bI"),j=a("gf");b.prototype.clear=function(){this.xl=this.hV=this.Mb=this.ya=this.b=s;this.nn&&(this.nn.unbind(d.ib,this.dx,this),this.nn.cancel(),this.nn=s);this.yl=s};b.prototype.km=function(a,b){this.iV=n;if(this.yl&&a!=n&&b!=n){var c=0.5*this.b.aa(),d=0.5*this.b.la(),j=this.b.qE(this.Mb)*Math.PI/180,o=this.b.Ny(this.Mb),r=this.b.My(this.Mb),m=this.b.Qy(this.Mb),t=this.b.Ry(this.Mb),u=new f(a,b);u.translate(-c,-d);u.rotate(-j);
u.scale(1/o,1/r);u.translate(m,t);u.scale(this.ac,this.$b);u.translate(-this.s9,-this.t9);this.q9||(u.rotate(j),u.scale(o/this.ac,r/this.$b));u.translate(this.m9,this.n9);u.scale(1/this.r9,1/this.l9);u.scale(this.yl.width,this.yl.height);c=Math.round(u.x);u=Math.round(u.y);0<=c&&c<this.yl.width&&0<=u&&u<this.yl.height&&(u=4*(this.yl.width*u+c),c=this.yl.data,0<c[u+3]&&(this.iV="#"+this.np(c[u+0])+this.np(c[u+1])+this.np(c[u+2])))}return this.iV};b.prototype.dx=function(){var a=document.createElement("canvas");
a.width=this.p9;a.height=this.o9;var b=a.getContext("2d");b.drawImage(this.nn.Td(),0,0);this.yl=b.getImageData(0,0,a.width,a.height);a.width=a.height=0};b.prototype.np=function(a){for(a=a.toString(16);2>a.length;)a="0"+a;return a};return b});
define("gs","cu,gD,iu,bB,dx,hf,J,il,bd".split(","),function(a,b,d,c,f,j,g,h,e){var l=b.extend(f,function(a,b,c){f.call(this);this.b=a;this.ya=b;this.m=c;this.g=this.m.getItem();this.Hd=this.m.gu();this.tj=this.m.U0();this.Tp=this.ig=n;this.G=this.b.getParent();this.G.bind(d.jc,this.ce,this);this.G.bind(d.oe,this.ij,this);this.G.bind(d.wb,this.Oe,this);this.G.bind(d.xb,this.rg,this);c.bind(d.Qa("selected"),this.oX,this);this.HB=new j(this.b,this.ya,this.m,this.m.get("map",s));this.XC=new j(this.b,
this.ya,this.m,this.m.get("rollOverMap",this.m.get("map",s)));this.rM=new j(this.b,this.ya,this.m,this.m.get("selectedMap",this.m.get("rollOverMap",this.m.get("map",s))));this.cc=this.bc=n;this.Of=s;this.Zk=[];this.Kg=[];this.Lh={};this.Vi=B;this.sy=this.m.get("useHandCursor")==q;this.S=s;this.Lf=n;this.fD=this.Wl=this.Al=0;a=this.m.get("areas",[]);for(i=0;i<a.length;i++){b=a[i];if(c=b.get("mapColor")){c=c.toLowerCase();this.Lh[c]===n&&(this.Lh[c]=[]);this.Lh[c].push(b)}}if(this.g){this.b.bE(this.ya.va(),
this.g);this.b.ab(this.g,this.Al)}if(this.Hd){this.b.bE(this.ya.va(),this.Hd);this.b.ab(this.Hd,this.Wl)}if(this.tj){this.b.bE(this.ya.va(),this.tj);this.b.ab(this.tj,this.fD)}this.Yl("none",q);this.zj();this.$Y(B);this.aZ(this.m.get("selected"))});l.prototype.clear=function(){this.G.unbind(d.jc,this.ce,this);this.G.unbind(d.oe,this.ij,this);this.G.unbind(d.wb,this.Oe,this);this.G.unbind(d.xb,this.rg,this);this.G=s;this.HB&&this.HB.clear();this.HB=s;this.XC&&this.XC.clear();this.XC=s;this.rM&&this.rM.clear();
this.rM=s;this.Zk=[];this.ig=B;this.zj();this.Kg=[];this.Lh={};this.GZ();this.ya=this.b=s;this.m.unbind(d.Qa("selected"),this.oX,this);this.tj=this.Hd=this.g=this.m=s};l.prototype.match=function(a){return this.m==a};l.prototype.fa=function(a){this.Af(B);if(this.S){this.S.mb(a);this.Al=this.S.La("itemAlpha");this.Wl=this.S.La("rollOverItemAlpha");this.fD=this.S.La("selectedItemAlpha");this.g&&this.b.ab(this.g,this.Al);this.Hd&&this.b.ab(this.Hd,this.Wl);this.tj&&this.b.ab(this.tj,this.fD);this.S.De()?
this.S=s:this.p()}};l.prototype.Oe=function(a){this.bc=a.x;this.cc=a.y;this.Af(q);this.Kg=this.Zk.slice()};l.prototype.ce=function(a){this.bc=a.x;this.cc=a.y;this.Af(q)};l.prototype.rg=function(b){this.bc=b.x;this.cc=b.y;this.Af(q);b=a.intersection(this.Kg,this.Zk);this.Kg=[];this.dm(b,"click")};l.prototype.ij=function(){this.cc=this.bc=n;this.Af(q);this.Kg=this.Zk.slice()};l.prototype.oX=function(){this.aZ(this.m.get("selected"))};l.prototype.Af=function(a){this.wV=q;a?this.jy():this.b$()||this.tda()};
l.prototype.tda=function(){this.GZ();var a=this;this.Of=setTimeout(function(){a.Of=s;a.jy()},200)};l.prototype.b$=function(){return this.Of?q:B};l.prototype.GZ=function(){if(this.Of){clearTimeout(this.Of);this.Of=s}};l.prototype.jy=function(){if(this.wV){this.wV=B;var b=this.Zk,c=this.E7();this.Zk=c;if(!this.G.Wg){this.dm(a.difference(c,b),"rollOver");this.$Y(c.length>0);this.dm(a.difference(b,c),"rollOut");this.Ag()}}};l.prototype.Ag=function(){for(var a="",b=0;b<this.Zk.length&&!a;b++){var c=this.Zk[b];
c.get("toolTip")&&(a=c.get("toolTip"))}if(this.Ab!=a){this.Ab&&this.b.dz(this.Ab);(this.Ab=a)&&this.b.ez(this.Ab)}};l.prototype.zj=function(){var b=this.ig&&(this.sy||a(this.Zk).any(function(a){return a.get("useHandCursor")==q}));if(this.Vi!=b)(this.Vi=b)?this.b.su(g.Uc):this.b.or(g.Uc)};l.prototype.E7=function(){var b=[],c=this.ig?this.XC:this.HB;if(c)if(c=c.km(this.bc,this.cc))if(c=this.Lh[c])for(var e=0;e<c.length;e++){var d=c[e];a(b).contains(d)||b.push(d)}return b};l.prototype.dm=function(a,
b){if(a)for(var e=0;e<a.length;e++)a[e].trigger(new c(b))};l.prototype.$Y=function(a){if(this.ig!=a){this.ig=a;this.trigger(new c(l.NF));this.Rc();this.zj();this.p()}};l.prototype.aZ=function(a){if(this.Tp!=a){this.Tp=a;this.Rc();this.p()}};l.prototype.Rc=function(){this.ig||this.m.get("rollOverDisplay")!=q?this.Tp?this.Yl("selected"):this.ig?this.Yl("roll over"):this.Yl("visible"):this.Yl("none")};l.prototype.Yl=function(b){if(this.Lf!=b){this.Lf=b;var c,d;if(a(["selected"]).contains(this.Lf)&&this.tj){d=
1;b=c=0}else if(a(["selected","roll over"]).contains(this.Lf)&&this.Hd){c=1;b=d=0}else if(a(["selected","roll over","visible"]).contains(this.Lf)){b=1;d=c=0}else b=d=c=0;var f=this.Al,g=this.Wl,l=this.fD,j=this.Lf=="none"?"quad_out":"quad_in",A=Math.max(200*Math.abs(b-f),200*Math.abs(c-g),200*Math.abs(d-l));this.S=new h(j,[new e("itemAlpha",f,b),new e("rollOverItemAlpha",g,c),new e("selectedItemAlpha",l,d)],A)}};l.prototype.p=function(){this.trigger(new c(l.M))};l.M="request frame";l.NF="is over update";
return l});define("hx",["gD","fL"],function(a,b){var d=a.extend(b,function(a,d,j,g,h,e,l){b.call(this,b.dR,a,d);this.H9=j;this.I9=g;this.Caa=h;this.Daa=e;this.ia=l;this.Be=[]});d.prototype.gf=N("ia");return d});
define("dg","gD,iu,bB,dx,bI,hx".split(","),function(a,b,d,c,f,j){var g=a.extend(c,function(a,e,d){c.call(this);this.b=a;this.G=this.b.getParent();this.G.bind(b.wb,this.Oe,this,q);this.G.bind(b.jc,this.ce,this,q);this.G.bind(b.oe,this.ij,this,q);this.ya=e;this.ac=this.ya.get("width");this.$b=this.ya.get("height");this.wY=Math.sqrt(this.ac*this.ac+this.$b*this.$b)*this.ya.get("fieldOfViewOverlayRadiusScale",1);this.Mb=this.ya.va();this.kb=d;this.Ys=this.kb.get("x",0);this.Zs=this.kb.get("y",0);this.sC=
this.kb.get("angle",0);this.g=this.fs();this.Yj=B;this.t=0;this.q=Math.PI*0.5;this.qc=B;this.cc=this.bc=n;this.b.bE(this.ya.va(),this.g)});g.prototype.n2=function(a,b){this.t=a+this.sC-90;this.q=b;this.p()};g.prototype.clear=function(){this.G.unbind(b.wb,this.Oe,this);this.G.unbind(b.jc,this.ce,this);this.G.unbind(b.oe,this.ij,this);this.G=s;this.b.Yha(this.ya.va(),this.g);this.g=this.kb=this.Mb=this.ya=this.b=s};g.prototype.fa=function(){this.b.Yia(this.g,this.t,this.q)};g.prototype.fs=function(){return new j(this.Ys,
this.Zs,this.ya.get("fieldOfViewOverlayInsideColor","#FFFFFF"),this.ya.get("fieldOfViewOverlayInsideOpacity",0),this.ya.get("fieldOfViewOverlayOutsideColor","#000000"),this.ya.get("fieldOfViewOverlayOutsideOpacity",0),this.ya.get("fieldOfViewOverlayRadiusScale",1))};g.prototype.p=function(){this.trigger(new d(g.M))};g.prototype.pN=function(){var a=B;if(this.bc!=n&&this.cc!=n){var b=this.b.aa()*0.5,c=this.b.la()*0.5,j=this.b.qE(this.Mb)*Math.PI/180,o=this.b.Ny(this.Mb),r=this.b.My(this.Mb),m=this.b.Qy(this.Mb),
t=this.b.Ry(this.Mb),a=new f(this.bc,this.cc);a.translate(-b,-c);a.rotate(-j);a.scale(1/o,1/r);a.translate(m,t);a.scale(this.ac,this.$b);a.translate(-this.Ys,-this.Zs);a.rotate(-this.t*Math.PI/180);b=Math.round(Math.atan2(a.y,a.x)*180/Math.PI);a=Math.round(Math.sqrt(a.x*a.x+a.y*a.y))<=this.wY&&Math.abs(b)<this.q*0.5}if(this.Yj!=a){this.Yj=a;this.trigger(new d(g.sG,{inFOV:this.Yj}))}};g.prototype.eha=N("Yj");g.prototype.Oe=function(a){this.bc=a.x;this.cc=a.y;this.qc=q;this.pN()};g.prototype.ce=function(a){if(!this.qc){this.bc=
a.x;this.cc=a.y;this.pN()}};g.prototype.ij=function(){this.cc=this.bc=n;this.qc=B;this.pN()};g.M="request frame";g.sG="mouse in fov change";return g});
define("ip","cu,gD,bB,dx,eH,gs,dg,J".split(","),function(a,b,d,c,f,j,g,h){var e=b.extend(c,function(a){c.call(this);this.b=a;this.Lw=[];this.Yi=[];this.Sg=[];this.Xh=this.kb=s});e.prototype.clear=function(){for(var a=0;a<this.Yi.length;a++)this.Yi[a].clear();for(a=0;a<this.Sg.length;a++)this.Sg[a].clear();this.b=this.Lw=this.kb=this.Sg=this.Yi=s};e.prototype.Aj=function(a){a.Kk()&&this.m4(a.ya)};e.prototype.jr=function(a){a.Kk()&&this.qba(a.ya)};e.prototype.wm=function(a){if(this.kb!=a){this.kb&&
this.zY(this.kb.get("map"));this.kb=a;this.Xh=s;if(this.kb){a=this.kb.get("map");this.jK(a)&&this.TR(a)}}};e.prototype.ti=function(a,b,c,e){this.Xh={yaw:b,pitch:c,hfov:e};for(c=0;c<this.Sg.length;c++){var d=this.Sg[c];if(d.kb==a){d.n2(b,e);break}}};e.prototype.m4=function(a){if(!this.jK(a)){this.Lw.push(a);this.i4(a);this.TR(a)}};e.prototype.qba=function(b){if(this.jK(b)){this.Lw=a(this.Lw).without(b);this.oba(b);this.zY(b)}};e.prototype.jK=function(b){return a(this.Lw).indexOf(b)>=0};e.prototype.fa=
function(a){for(var b=0;b<this.Yi.length;b++)this.Yi[b].fa(a);for(b=0;b<this.Sg.length;b++)this.Sg[b].fa(a)};e.prototype.i4=function(a){for(var b=a.get("overlays",[]),c=0;c<b.length;c++){var e=b[c];if(e instanceof f){e=new j(this.b,a,e);e.bind(j.M,this.p,this,q);e.bind(j.NF,this.CB,this,q);this.Yi.push(e)}}this.CB()};e.prototype.TR=function(a){if(this.kb&&this.kb.get("map")==a&&this.kb.get("visible")!==B){a=new g(this.b,a,this.kb);a.bind(g.M,this.p,this,q);a.bind(g.sG,this.hC,this,q);this.Sg.push(a);
this.Xh&&a.n2(this.Xh.yaw,this.Xh.hfov)}this.hC()};e.prototype.oba=function(a){for(var a=a.get("overlays",[]),b=0;b<a.length;b++)for(var c=a[b],e=0;e<this.Yi.length;e++){var d=this.Yi[e];if(d.match(c)){d.unbind(j.M,this.p,this);d.unbind(j.NF,this.CB,this);d.clear();this.Yi.splice(e,1);break}}this.CB()};e.prototype.zY=function(a){for(var b=0;b<this.Sg.length;b++){var c=this.Sg[b];if(c.ya==a){c.unbind(g.M,this.p,this);c.unbind(g.sG,this.hC,this);c.clear();this.Sg.splice(b,1);break}}this.hC()};e.prototype.CB=
function(){for(var a=B,b=0;b<this.Yi.length&&!a;b++)a=this.Yi[b].ig;this.b.getParent().set("cursor",a?h.Uc:h.dc)};e.prototype.p=function(){this.trigger(new d(e.M))};e.prototype.hC=function(){for(var a=B,b=0;b<this.Sg.length;b++)this.Sg[b].eha()&&(a=q);this.trigger(new d(e.MF,{inFOV:a}))};e.M="request frame";e.MF="in fov change";return e});
define("u","gD,iu,bB,dx,fP,bI".split(","),function(a,b,d,c,f,j){var g=a.extend(c,function(a){c.call(this);this.b=a;this.G=this.b.getParent();this.G.bind(b.jc,this.ce,this,q);this.G.bind(b.wb,this.Oe,this,q);this.G.bind(b.xb,this.rg,this,q);this.ya=s;this.Mb=this.$b=this.ac=n;this.kb=s;this.sC=this.Zs=this.Ys=n;this.Yj=B;this.cc=this.bc=this.bh=n;this.qc=B;this.t=0});g.prototype.clear=function(){this.G.unbind(b.jc,this.ce,this);this.G.unbind(b.wb,this.Oe,this);this.G.unbind(b.xb,this.rg,this);this.b=
this.kb=this.Mb=this.ya=this.G=s};g.prototype.lz=function(a){this.Yj=a;this.mN()};g.prototype.Aj=function(a){a.Kk()&&this.eZ(a.ya)};g.prototype.jr=function(a){a.Kk()&&this.ya==a.ya&&this.eZ(s)};g.prototype.eZ=function(a){if(this.ya!=a)if(this.ya=a){this.ac=this.ya.get("width");this.$b=this.ya.get("height");this.Mb=this.ya.va()}else{this.$b=this.ac=n;this.Mb=s}};g.prototype.wm=function(a){if(this.kb!=a)if(this.kb=a){this.Ys=this.kb.get("x",0);this.Zs=this.kb.get("y",0);this.sC=this.kb.get("angle",
0)}else this.sC=this.Zs=this.Ys=n};g.prototype.ti=function(a,b){if(this.kb==a)this.t=b};g.prototype.Gj=H("bh");g.prototype.Oe=function(a){this.bc=a.x;this.cc=a.y;this.qc=q;this.mN()};g.prototype.ce=function(a){this.bc=a.x;this.cc=a.y;if(this.TI){a=this.GU();this.trigger(new d(g.nf,{yawDelta:a-this.nb}));this.nb=a}};g.prototype.rg=function(a){this.bc=a.x;this.cc=a.y;this.qc=B;this.mN()};g.prototype.mN=function(){var a=this.qc&&this.kb&&this.ya&&(this.bh==f.IG||this.Yj);if(this.TI!=a)if(this.TI=a)this.nb=
this.GU()};g.prototype.GU=function(){var a=this.b.aa()*0.5,b=this.b.la()*0.5,c=new j(this.bc,this.cc);c.translate(-a,-b);if(this.bh==f.IG)return-Math.atan2(c.y,c.x)*180/Math.PI;var a=this.b.qE(this.Mb)*Math.PI/180,b=this.b.Ny(this.Mb),d=this.b.My(this.Mb),g=this.b.Qy(this.Mb),r=this.b.Ry(this.Mb);c.rotate(-a);c.scale(1/b,1/d);c.translate(g,r);c.scale(this.ac,this.$b);c.translate(-this.Ys,-this.Zs);return Math.atan2(c.y,c.x)*180/Math.PI};g.nf="request yaw change";return g});
define("cM",["gD","bB","dx","M"],function(a,b,d,c){var f=a.extend(d,function(a){d.call(this);this.Z=q;this.xf=B;this.b=a});f.prototype.clear=function(){this.Z=B;this.b=s};f.prototype.Dc=function(){this.xf||(this.xf=q,c.Dc(this.xe,this))};f.prototype.xe=function(a){this.Z&&(this.xf=B,this.trigger(new b(f.yi,{frameTime:a})),this.trigger(new b(f.zi,{frameTime:a})),this.b.render())};f.yi="frameStart";f.zi="positionSet";return f});
define("cg","gD,bB,dx,fP,ic,fI,fd,ip,u,cM".split(","),function(a,b,d,c,f,j,g,h,e,l){var p=a.extend(d,function(a,b){d.call(this);this.G=a;this.b=b;this.fc=new l(this.b);this.yc=new g(this.b);this.N=new j(this.G,this.b);this.ha=new f(this.b);this.zc=new h(this.b);this.fk=new e(this.b);this.fc.bind(l.yi,this.Ln,this,q);this.fc.bind(l.zi,this.Mn,this,q);this.yc.bind(g.Sk,this.ax,this);this.yc.bind(g.Bm,this.Zw,this);this.yc.bind(g.Dz,this.TW,this);this.N.bind(j.M,this.yb,this,q);this.N.bind(j.Fo,this.Yw,
this,q);this.N.bind(j.Cm,this.$w,this,q);this.N.bind(j.TF,this.SW,this,q);this.N.bind(j.Ho,this.Fn,this,q);this.N.bind(j.Io,this.Gn,this,q);this.ha.bind(f.M,this.yb,this,q);this.ha.bind(f.lf,this.jj,this);this.zc.bind(h.M,this.yb,this,q);this.zc.bind(h.MF,this.JW,this,q);this.fk.bind(e.nf,this.lx,this,q);this.JT=B});p.prototype.Gj=function(a){this.ha.Gj(a);this.N.Gj(a);this.fk.Gj(a)};p.prototype.clear=function(){this.JT=q;this.yc.clear();this.fc.clear();this.ha.clear();this.N.clear();this.zc.clear();
this.fk.clear();this.yc.unbind(g.Sk,this.ax,this);this.yc.unbind(g.Bm,this.Zw,this);this.yc.unbind(g.Dz,this.TW,this);this.fc.unbind(l.yi,this.Ln,this);this.fc.unbind(l.zi,this.Mn,this);this.N.unbind(j.M,this.yb,this);this.N.unbind(j.Fo,this.Yw,this);this.N.unbind(j.Cm,this.$w,this);this.N.unbind(j.TF,this.SW,this);this.N.unbind(j.Ho,this.Fn,this);this.N.unbind(j.Io,this.Gn,this);this.ha.unbind(f.U2,this.yb,this);this.ha.unbind(f.lf,this.jj,this);this.zc.unbind(h.M,this.yb,this);this.zc.unbind(h.MF,
this.JW,this);this.fk.unbind(e.nf,this.lx,this);this.G=this.b=this.fk=this.zc=this.N=this.ha=this.fc=this.yc=s};p.prototype.gja=function(a){this.yc.wha(a)};p.prototype.ur=function(){this.yc.stop();this.ha.stop();this.N.hide()};p.prototype.Wf=function(a){this.ha.Wf(a)};p.prototype.wm=function(a){if(!this.JT){this.ha.wm(a);this.zc.wm(a);this.fk.wm(a)}};p.prototype.ti=function(a,b,c,e){this.ha.ti(a,b,c,e);this.zc.ti(a,b,c,e);this.fk.ti(a,b,c,e)};p.prototype.TW=function(a){var c=a.data.level,a=(a.data.percent+
100*c.pE())/c.tO();this.trigger(new b(p.Xf,{percent:a}))};p.prototype.Zw=function(a){a=a.data.level;this.ha.stop();this.N.Aj(a)};p.prototype.ax=function(){this.trigger(new b(p.Go))};p.prototype.yb=function(){this.fc.Dc()};p.prototype.Ln=function(a){this.ha.Mk(a.data.frameTime)};p.prototype.Mn=function(a){a=a.data.frameTime;this.N.fa(a);this.ha.fa(a);this.zc.fa(a)};p.prototype.Yw=function(a){a=a.data.level;this.zc.Aj(a);this.fk.Aj(a)};p.prototype.$w=function(a){a=a.data.level;this.zc.jr(a);this.fk.jr(a)};
p.prototype.SW=function(a){a=a.data.level;a.Kk()&&this.ha.start(a)};p.prototype.JW=function(a){a=a.data.inFOV;this.ha.lz(a);this.fk.lz(a)};p.prototype.Gn=function(a){this.trigger(new b(p.Io,{map:a.data.map}))};p.prototype.Fn=function(a){this.trigger(new b(p.Ho,{map:a.data.map}))};p.prototype.jj=function(a){this.trigger(new b(p.lf,a.data))};p.prototype.lx=function(a){this.trigger(new b(p.nf,{yawDelta:a.data.yawDelta}))};p.lf="movementChange";p.Go="loadingEnd";p.Xf="loadingProgress";p.Io="mapShow";
p.Ho="mapHide";p.nf="requestYawChange";return p});
define("ea",["jquery.mod","o"],function(a){function b(b,c,f){this.g=b;this.V=c;this.ec=f;this.Gw=0;this.ok=this.nk=0.5;this.gd=0;this.ob=1;this.bm=this.El=this.A=this.o=0;this.ia=1;this.aK=this.dK=q;this.u=a("<canvas/>");this.I=this.u.get(0);this.Za=this.I.getContext("2d")}b.prototype.getItem=N("g");b.prototype.Qt=function(a){return this.g==a?this:s};b.prototype.Tq=function(){this.V&&this.V.rfa(this)};b.prototype.ld=function(a){this.Aca(a)};b.prototype.cZ=function(a){this.Gw!=a&&(this.Gw=a,this.V&&
this.V.GE())};b.prototype.Aca=function(a){this.ob!=a&&(this.ob=a,this.FE())};b.prototype.kD=function(a){this.gd!=a&&(this.gd=a,this.FE())};b.prototype.Dq=function(a,b){if(this.o!=a||this.A!=b)this.o=a,this.A=b,this.CE()};b.prototype.ze=function(a,b){if(this.El!=a||this.bm!=b)this.El=a,this.bm=b,this.FE()};b.prototype.FE=function(){this.V&&this.V.DE()};b.prototype.Rb=function(){this.dK=q};b.prototype.X=function(){this.dK&&(this.dK=B,this.Id())};b.prototype.Id=E();b.prototype.CE=function(){this.aK=
q;this.FE()};b.prototype.nF=function(){if(this.aK){this.aK=B;if(this.I.width!=this.o||this.I.height!=this.A)this.I.width=this.o,this.I.height=this.A;this.Za.clearRect(0,0,this.o,this.A);this.em()}};b.prototype.em=E();b.prototype.$fa=function(a){if(0<this.ob&&1<=this.o&&1<=this.A){a.save();var b=Math.round(this.El),f=Math.round(this.bm),j=Math.round(this.o*this.nk),g=Math.round(this.A*this.ok);a.scale(this.ia,this.ia);a.translate(b+j,f+g);a.rotate(this.gd*Math.PI/180);a.globalAlpha=this.ob;a.drawImage(this.I,
-j,-g);a.restore()}};return b});
define("fN",["cu","gD","ea"],function(a,b,d){b=b.extend(d,function(a,b,j){d.call(this,a,b,j);this.ub=[];this.aE=s;this.Rf=q});b.prototype.b0=function(a){(a=this.lI(a))||k("Container renderer can't create child renderer for an item");this.ub.push(a);this.GE();this.DE()};b.prototype.lI=E();b.prototype.K1=function(b){if(b=this.Ck(b))this.ub=a.without(this.ub,b),this.GE(),this.DE()};b.prototype.Qt=function(a){if(this.HH==a)return this.GH;for(var b=d.prototype.Qt.call(this,a),j=0;j<this.ub.length&&!b;j++)b=
this.ub[j].Qt(a);this.HH=a;return this.GH=b};b.prototype.Ck=function(a){if(this.n5==a)return this.m5;for(var b=s,d=0;d<this.ub.length&&!b;d++)this.ub[d].getItem()==a&&(b=this.ub[d]);this.HH=a;return this.GH=b};b.prototype.rfa=function(b){this.ub=a.without(this.ub,b);this.ub.push(b);this.GE();this.DE()};b.prototype.GE=function(){this.Rf=q;this.Rb()};b.prototype.DE=function(){this.CE()};b.prototype.X=function(){d.prototype.X.call(this);for(var a=0;a<this.ub.length;a++)this.ub[a].X()};b.prototype.Id=
function(){if(this.Rf){this.Rf=B;for(var a=[],b=0;b<this.ub.length;b++){var j=this.ub[b];a.push({l:j.Gw,z:b,r:j})}a.sort(function(a,b){return a.l==b.l?a.z-b.z:a.l-b.l});this.aE=[];for(b=0;b<a.length;b++)this.aE.push(a[b].r);this.CE()}d.prototype.Id.call(this)};b.prototype.nF=function(){for(var a=0;a<this.ub.length;a++)this.ub[a].nF();d.prototype.nF.call(this)};b.prototype.em=function(){for(var a=0;a<this.aE.length;a++)this.aE[a].$fa(this.Za);d.prototype.em.call(this)};return b});
define("dy",["gD","ea"],function(a,b){var d=a.extend(b,function(a,d,j){b.call(this,a,d,j)});d.prototype.cF=E();return d});
define("gg",["gD","hx","ea","dy"],function(a,b,d,c){a=a.extend(c,function(a,b,d){c.call(this,a,b,d);this.vC=this.V.getItem().Ea();this.uC=this.V.getItem().Ma();this.ia=2;this.ks=0;this.q=0.5*Math.PI;this.bK=this.cK=q;this.lg=1;this.zB=q;this.cZ(1)});a.prototype.cF=function(a,b){this.lg!=b&&(this.lg=b,this.zB=q,this.Rb())};a.prototype.Nia=function(a,b){this.q!=b&&(this.q=b,this.cK=q,this.Rb());this.ks!=a&&(this.ks=a,this.bK=q,this.Rb())};a.prototype.Id=function(){this.cK&&(this.cK=B,this.CE());if(this.zB||
this.bK){this.bK=this.zB=B;this.ia=Math.max(1,Math.ceil(Math.sqrt(this.vC*this.vC+this.uC*this.uC))/4096);var a=this.lg/this.ia,b=this.g.Dg()*a,d=this.g.Eg()*a,h=a*this.uC,a=Math.max(b,a*this.vC-b),h=Math.max(d,h-d),h=2*Math.ceil(Math.sqrt(a*a+h*h)),e=this.ks*Math.PI/180,a=Math.cos(e),e=Math.sin(e),b=b-this.nk*h-(0.5-this.nk)*h*a+(0.5-this.ok)*h*e,d=d-this.ok*h-(0.5-this.ok)*h*a-(0.5-this.nk)*h*e;this.zB=B;this.ze(b,d);this.Dq(h,h);this.kD(this.ks)}c.prototype.Id.call(this)};a.prototype.em=function(){var a=
this.g.I9,b=this.g.Daa;if(0<b||0<a){var d=this.lg*this.vC,h=this.lg*this.uC,d=Math.ceil(Math.sqrt(d*d+h*h))*this.g.gf()/this.ia,h=Math.round(0.5*this.o),e=Math.round(0.5*this.A),l=this.q*Math.PI/180,p=0.5*-l,l=p+l;0<b&&(this.Za.fillStyle=this.g.Caa,this.Za.globalAlpha=b,this.Za.rect(0,0,this.o,this.A),this.Za.fill(),this.Za.globalCompositeOperation="destination-out",this.Za.fillStyle="#FFFFFF",this.Za.globalAlpha=1,this.Za.beginPath(),this.Za.moveTo(h,e),this.Za.arc(h,e,d,p,l,B),this.Za.lineTo(h,
e),this.Za.closePath(),this.Za.fill(),this.Za.globalCompositeOperation="source-over");0<a&&(this.Za.fillStyle=this.g.H9,this.Za.globalAlpha=a,this.Za.beginPath(),this.Za.moveTo(h,e),this.Za.arc(h,e,d,p,l,B),this.Za.lineTo(h,e),this.Za.closePath(),this.Za.fill())}c.prototype.em.call(this)};return a});
define("es",["gD","dy"],function(a,b){var d=a.extend(b,function(a,d,j){b.call(this,a,d,j);this.cZ(this.g.OY?0:2);this.oc=this.ec.Td(this.g.hb());this.Kw=0;this.lg=1;this.IK=q});d.prototype.cF=function(a,b){if(this.Kw!=a||this.lg!=b)this.Kw=a,this.lg=b,this.IK=q,this.Rb()};d.prototype.Id=function(){if(this.IK){this.IK=B;var a=this.g.Dg(),d=this.g.Eg(),j=this.g.Ea(),g=this.g.Ma(),h=this.g.fj,e=this.g.gj;if(this.g.OY)this.kD(0),this.ze((a-h)*this.lg,(d-e)*this.lg),this.Dq(j*this.lg,g*this.lg);else{var l=
Math.cos(-this.Kw*Math.PI/180),p=Math.sin(-this.Kw*Math.PI/180),a=a*this.lg-this.nk*j-(h-this.nk*j)*l+(e-this.ok*g)*p,d=d*this.lg-this.ok*g-(e-this.ok*g)*l-(h-this.nk*j)*p;this.kD(-this.Kw);this.ze(a,d);this.Dq(j,g)}}b.prototype.Id.call(this)};d.prototype.em=function(){this.Za.drawImage(this.oc,0,0,Math.round(this.o),Math.round(this.A));b.prototype.em.call(this)};return d});
define("eR","gD,eg,bZ,fL,gg,es,fN".split(","),function(a,b,d,c,f,j,g){a=a.extend(g,function(a,b,c){g.call(this,a,b,c,a.Cj());this.Aa=this.g.Ea();this.Ga=this.g.Ma();this.Vb=this.g.Vb;this.dB=this.g.Ob;this.Oa=this.Ka=100;this.up=q;this.ba=this.$=0.5;this.nb=0;this.ka=1;this.ug=q;this.Bc=1;this.oc=this.ec.Td(this.g.hb())});a.prototype.lI=function(a){a.yd!=d.gR&&k("Invalid item type");switch(a.Faa){case c.dR:a=new f(a,this,this.ec);break;case c.eR:a=new j(a,this,this.ec);break;default:a=s}a&&a.cF(this.nb,
this.Bc*this.ka);return a};a.prototype.Dg=N("$");a.prototype.Eg=N("ba");a.prototype.Rt=N("nb");a.prototype.Ej=N("ka");a.prototype.aa=function(){return Math.round(this.Aa*this.ka*this.Bc)};a.prototype.la=function(){return Math.round(this.Ga*this.ka*this.Bc)};a.prototype.Ok=function(a,b){if(this.Ka!=a||this.Oa!=b){this.Ka=a;this.Oa=b;this.up=q;this.Rb()}};a.prototype.ca=function(a,b,c,d){if(this.$!=a||this.ba!=b||this.nb!=c||this.ka!=d){this.$=a;this.ba=b;this.nb=c;this.ka=d;this.ug=q;this.Rb()}};a.prototype.Id=
function(){if(this.up){this.up=B;switch(this.Vb){case b.NONE:this.Bc=1;break;case b.Jj:this.Bc=this.Ka/this.Aa;break;case b.Yf:this.Bc=this.Oa/this.Ga;break;case b.Tk:this.Bc=this.Aa*this.Oa>this.Ga*this.Ka?this.Oa/this.Ga:this.Ka/this.Aa;break;default:this.Bc=this.Aa*this.Oa>this.Ga*this.Ka?this.Ka/this.Aa:this.Oa/this.Ga}this.ug=q}if(this.ug){this.ug=B;var a=this.aa(),c=this.la(),d=Math.cos(this.nb*Math.PI/180),f=Math.sin(this.nb*Math.PI/180);this.ze(this.Ka*0.5-this.nk*a+(this.nk-this.$)*d*a-(this.ok-
this.ba)*f*c,this.Oa*0.5-this.ok*c+(this.ok-this.ba)*d*c+(this.nk-this.$)*f*a);this.kD(this.nb);this.Dq(a,c);for(a=0;a<this.ub.length;a++)this.ub[a].cF(this.nb,this.Bc*this.ka)}g.prototype.Id.call(this)};a.prototype.em=function(){var a=Math.round(this.o),b=Math.round(this.A);if(this.dB){this.Za.save();this.Za.translate(a,0);this.Za.scale(-1,1);this.Za.drawImage(this.oc,0,0,a,b);this.Za.restore()}else this.Za.drawImage(this.oc,0,0,a,b);g.prototype.em.call(this)};return a});
define("dA","cu,gD,iu,bZ,fN,eR".split(","),function(a,b,d,c,f,j){a=b.extend(f,function(a){f.call(this,s,s,a);this.QH=q});a.prototype.na=N("u");a.prototype.render=function(){this.X();this.nF()};a.prototype.lI=function(a){a.yd!=c.fR&&k("Invalid item type");a=new j(a,this,this.ec);a.Ok(this.o,this.A);a.ca(0.5,0.5,0,1);return a};a.prototype.setSize=function(a,b){this.Dq(a,b);this.QH=q;this.Rb()};a.prototype.Id=function(){if(this.QH){this.QH=B;for(var a=0;a<this.ub.length;a++)this.ub[a].Ok(this.o,this.A)}f.prototype.Id.call(this)};
return a});
define("gd","require,cu,gD,iu,ew,cA,dA,X,J,d".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("iu"),f=a("ew"),j=a("cA"),g=a("dA"),h=a("X"),e=a("J"),l=a("d"),a=d.extend(l,function(){l.call(this);this.Lc("Renderer");this.set("toolTipDisabled",q);this.set("cursor",e.Su);this.Ie=[];this.Yc=[];this.Ab="";this.ec=new j;this.ec.start();this.Ne=new g(this.ec);this.Pa().append(this.Ne.na());this.bind(c.Nb,this.rb,this,q);this.bind(c.pe,this.lj,this,q);this.bind(c.me,this.hj,this,q);h.bind(c.W,this.vN,this,
q);this.Kf=this.cM=B});a.prototype.mi=function(a){this.ec.mi(a,f.pf)};a.prototype.yh=function(a){this.ec.yh(a,f.pf)};a.prototype.Se=function(a){this.Ne.b0(a)};a.prototype.removeItem=function(a){this.Ne.K1(a)};a.prototype.bE=function(a,b){this.Ne.Ck(a).b0(b)};a.prototype.Yha=function(a,b){var c=this.Ne.Ck(a);c&&c.K1(b)};a.prototype.Ce=function(a){this.Ne.Qt(a).Tq()};a.prototype.ab=function(a,b){this.Ne.Qt(a).ld(b)};a.prototype.ke=function(a,b,c,e,d){this.Ne.Ck(a).ca(b,c,e,d)};a.prototype.Yia=function(a,
b,c){this.Ne.Qt(a).Nia(b,c)};a.prototype.Qy=function(a){return this.Ne.Ck(a).Dg()};a.prototype.Ry=function(a){return this.Ne.Ck(a).Eg()};a.prototype.qE=function(a){return this.Ne.Ck(a).Rt()};a.prototype.J0=function(a){return this.Ne.Ck(a).Ej()};a.prototype.Ny=function(a){return this.Ne.Ck(a).aa()};a.prototype.My=function(a){return this.Ne.Ck(a).la()};a.prototype.render=function(){this.Kf&&this.Ne.render()};a.prototype.su=function(a){this.Ie.push(a);this.ny()};a.prototype.or=function(a){a=b(this.Ie).lastIndexOf(a);
a>=0&&this.Ie.splice(a,1);this.ny()};a.prototype.ny=function(){var a;a=this.Ie.length>0?this.Ie[this.Ie.length-1]:e.dc;this.getParent().set("cursor",a)};a.prototype.Zr=function(){if(this.Ie.length>0){this.getParent().set("cursor",e.dc);this.Ie=[]}};a.prototype.ez=function(a){this.Yc.push(a);this.Ag()};a.prototype.dz=function(a){a=b(this.Yc).lastIndexOf(a);a>=0&&this.Yc.splice(a,1);this.Ag()};a.prototype.Ag=function(){var a=this.Yc.length==0?"":this.Yc[this.Yc.length-1]||"";if(this.Ab!=a){this.Ab=
a;this.getParent().set("toolTip",this.Ab)}};a.prototype.WH=function(){this.Ab&&this.getParent().set("toolTip","");this.Ab="";this.Yc=[]};a.prototype.sq=function(){this.WH();this.Zr();l.prototype.sq.call(this)};a.prototype.rb=function(){this.Ne.setSize(this.aa(),this.la());this.render()};a.prototype.lj=function(){this.cM=q;this.vN()};a.prototype.hj=function(){this.cM=B;this.vN()};a.prototype.vN=function(){var a=this.cM&&!h.isPresenting();if(this.Kf!=a)(this.Kf=a)&&this.render()};return a});
define("B","cu,gD,gU,bB,cO,fG,bU,eT,cg,fF,gd,iu,ct,dN".split(","),function(a,b,d,c,f,j,g,h,e,l,p,o,r,m){var t=b.extend(g,function(){g.call(this,"map");this.dC=this.HK=this.Pf=B;this.Xh=this.kb=this.n=this.b=s;this.Pm={};for(var a in t.Yk)this.Pm[a]=this.Y5(a);this.Hc=b.qm(this.Id,this)});f.C("MapPlayer",t).D("Object").K({map:"Map",viewerArea:"ViewerArea",movementMode:"enum[constrained, free_drag, free_drag_and_rotation, sync_with_field_of_view]",buttonZoomIn:"or[array[or[Button, IconButton]], or[Button, IconButton]]",
buttonZoomOut:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonRotateClockwise:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonRotateCounterClockwise:"or[array[or[Button, IconButton]], or[Button, IconButton]]"}).Jb([o.Qz]).si({stop:function(){this.fb(l.od)},rotateClockwise:function(){this.fb(l.DG)},rotateCounterClockwise:function(){this.fb(l.EG)},zoomIn:function(){this.fb(l.Wk)},zoomOut:function(){this.fb(l.Xk)}});t.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "map":this.HK=
q;this.Hc();break;case "viewerArea":this.Pf=q;this.Hc();break;case "panoramaMapLocation":this.qL=q;this.Hc();break;case "movementMode":this.dC=q;this.Hc()}g.prototype.set.call(this,a,b)}};t.prototype.Y5=function(a){var b=t.Yk[a],a=new j(this,a,r.kc);a.bind(o.wb,function(){this.fb(b.movement)},this);b.stopOnRelease&&a.bind(o.xb,function(){this.fb(l.od)},this);return a};t.prototype.kfa=function(a){this.Xh=s;this.set("map",a.get("map"));this.set("panoramaMapLocation",a)};t.prototype.aia=function(a){this.get("panoramaMapLocation")==
a&&this.set("panoramaMapLocation",s)};t.prototype.ti=function(a,b,c,e){this.n?this.n.ti(a,b,c,e):this.Xh={yaw:b,pitch:c,hfov:e}};t.prototype.Id=function(){if(this.Pf){this.Pf=B;this.yp();this.get("viewerArea")&&this.xp();this.nD(this.get("viewerArea"))}if(this.n){if(this.HK){this.HK=B;var a=this.get("map");if(a){this.TC();this.n.gja(a)}else this.n.ur();this.qL=this.dC=q}if(this.qL){this.qL=B;a=this.get("panoramaMapLocation");this.n.wm(a);a&&this.Xh&&this.n.ti(a,this.Xh.yaw,this.Xh.pitch,this.Xh.hfov)}if(this.dC){this.dC=
B;this.n.Gj(this.get("movementMode"))}}};t.prototype.Wx=function(){this.set("map",s)};t.prototype.xp=function(){var a=this.get("viewerArea");this.b=new p;this.b.T({left:0,top:0,bottom:0,right:0});a.Ca(this.b);this.n=new e(a,this.b);this.n.bind(e.lf,this.jj,this);this.n.bind(e.Xf,this.Ml,this);this.n.bind(e.Go,this.Ss,this);this.n.bind(e.Io,this.Gn,this);this.n.bind(e.Ho,this.Fn,this);this.n.bind(e.nf,this.lx,this,q)};t.prototype.yp=function(){if(this.b){this.n.unbind(e.lf,this.jj,this);this.n.unbind(e.Xf,
this.Ml,this);this.n.unbind(e.Go,this.Ss,this);this.n.unbind(e.Io,this.Gn,this);this.n.unbind(e.Ho,this.Fn,this);this.n.unbind(e.nf,this.lx,this);this.n.clear();this.b.getParent().removeChild(this.b);this.b=s}};t.prototype.Gn=function(a){this.YB(a.data.map)};t.prototype.Fn=function(a){this.XB(a.data.map)};t.prototype.jj=function(a){for(var b in t.Yk)this.Pm[b].set("state",a.data[t.Yk[b].pressedOn]?m.oa:m.dc);this.trigger(new c(o.Qz,a.data))};t.prototype.lx=function(a){this.trigger(new c(t.nf,{yawDelta:a.data.yawDelta}))};
t.prototype.Ml=function(a){this.b.getParent().T({progressPercent:a.data.percent,progressVisible:q})};t.prototype.Ss=function(){this.b.getParent().set("progressVisible",B)};t.prototype.fb=function(a){this.n&&this.n.Wf(a)};t.Yk={buttonRotateClockwise:{movement:l.DG,pressedOn:"rotatingClockwise",stopOnRelease:q},buttonRotateCounterClockwise:{movement:l.EG,pressedOn:"rotatingCounterClockwise",stopOnRelease:q},buttonZoomIn:{movement:l.Wk,pressedOn:"zoomingIn",stopOnRelease:q},buttonZoomOut:{movement:l.Xk,
pressedOn:"zoomingOut",stopOnRelease:q}};t.nf="requestYawChange";return t});
define("cs",["gD","gU","iu","bB","cO"],function(a,b,d,c,f){a=a.extend(b,function(){b.call(this);this.df=B});f.C("PlayListItem",a).D("Object").K({media:"Media",label:"string"}).Jb([d.Vz,d.Qk,d.od,d.ra]);a.prototype.start=function(){this.trigger(new c(d.Vz))};a.prototype.stop=function(){this.sz()};a.prototype.sz=function(){this.trigger(new c(d.od))};a.prototype.Kt=function(){this.df=q;this.trigger(new c(d.Qk))};a.prototype.end=function(){this.df=B;this.trigger(new c(d.ra))};return a});
define("iK",["gD","cO","bU","cs"],function(a,b,d,c){a=a.extend(c,function(){c.call(this)});b.C("MapPlayListItem",a).D("PlayListItem").K({media:"Map",player:"MapPlayer"});a.prototype.start=function(){c.prototype.start.call(this);var a=this.get("player");a&&(a.bind(d.Ze,this.Gn,this),a.set("map",this.get("media")))};a.prototype.stop=function(){var a=this.get("player");a&&a.get("map")==this.get("media")&&a.set("map",s);c.prototype.stop.call(this)};a.prototype.Gn=function(){this.get("player").unbind(d.Ze,
this.Gn,this);this.get("player").bind(d.Ch,this.Fn,this);this.Kt()};a.prototype.Fn=function(){this.get("player").unbind(d.Ch,this.Fn,this);this.end()};return a});
define("ie",["require","gD","gU","iu","cO"],function(a){var b=a("gD"),d=a("gU"),c=a("iu"),a=a("cO"),b=b.extend(d,function(){d.call(this)});a.C("Menu",b).D("MenuItem").K({backgroundColor:"color",rollOverBackgroundColor:"color",selectedBackgroundColor:"color",opacity:"number",rollOverOpacity:"number",fontFamily:"string",fontColor:"color",rollOverFontColor:"color",selectedFontColor:"color",distance:"number"}).Jb([c.Yb,c.Kb]).qi([c.ga]);return b});
define("k",["require","gD","gU","iu","cO"],function(a){var b=a("gD"),d=a("gU"),c=a("iu"),a=a("cO"),b=b.extend(d,function(){d.call(this)});a.C("MenuItem",b).D("Object").K({label:"string",children:"array[MenuItem]"}).Jb([c.Yb,c.Kb]).qi([c.ga]);return b});
define("bk",["gD","gU","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("MovementPhotoCamera",a).D("PhotoCamera").K({duration:"number",easing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]",initialPosition:"PhotoCameraPosition",targetPosition:"PhotoCameraPosition"});return a});
define("ev",["gD","gU","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("Object",a).K({id:"identifier",data:"*"});return a});define("bG",[],function(){var a={Cz:"drag_acceleration",Ir:"drag_rotation"};a.qQ=a.Cz;a.cR=a.Ir;return a});define("iD",["gD","bB"],function(a,b){return a.extend(b,function(a){b.call(this,a);this.eP=this.UP=this.nr=this.Er=0})});define("hP",["gD","bB"],function(a,b){return a.extend(b,function(a){b.call(this,a);this.NO=this.dha=0})});
define("cT","require,gD,cu,iu,bB,dx,bG,iD,hP".split(","),function(a){var b=a("gD");a("cu");var d=a("iu"),c=a("bB"),f=a("dx"),j=a("bG"),g=a("iD"),h=a("hP"),e=b.extend(f,function(){f.call(this);this.aW=this.bW=1800;this.Ida=this.Ym=7;this.t$=0;this.mM=this.EB=B;this.Vn=n;this.Zp=j.qQ;this.TZ=j.cR;this.aD=this.Ym=n;this.uy=B;this.Wr=s;this.Bs=3;this.q=90;this.ia=1;this.ed=this.za=s;this.ux=B});e.prototype.j2=H("bW");e.prototype.ija=H("aW");e.prototype.Pia=H("Bs");e.prototype.vr=H("Ym");e.prototype.yo=
function(a){this.Zp=a;this.wN()};e.prototype.Ar=function(a){this.TZ=a;this.wN()};e.prototype.Au=H("q");e.prototype.iz=function(a){this.Bk();if(a){this.za=a;if(this.ed=a.Cga&&a.ed){this.ed.bind(d.wb,this.WX,this,q);this.ed.bind(d.xb,this.XX,this,q)}this.za.bind(d.wb,this.qc,this,q);this.za.bind(d.jc,this.ak,this,q);this.za.bind(d.xb,this.bk,this,q);this.za.bind(d.To,this.$p,this,q);this.za.bind(d.Lr,this.Hp,this,q);this.za.bind(d.mG,this.ZT,this,q);this.za.bind(d.lG,this.XT,this,q);this.wN()}};e.prototype.Bk=
function(){if(this.za!=s){if(this.ed){this.ed.unbind(d.wb,this.WX,this);this.ed.unbind(d.xb,this.XX,this);this.ed=s}this.za.unbind(d.wb,this.qc,this);this.za.unbind(d.jc,this.ak,this);this.za.unbind(d.xb,this.bk,this);this.za.unbind(d.To,this.$p,this);this.za.unbind(d.Lr,this.Hp,this);this.za.unbind(d.mG,this.ZT,this);this.za.unbind(d.lG,this.XT,this);this.za=s;this.ZA()}};e.prototype.wN=function(){if(this.za)if(this.za.Wg){this.aD=this.TZ;this.Ym=this.Ida}else{this.aD=this.Zp;this.Ym=this.t$}};e.prototype.WX=
function(){this.ux=q};e.prototype.XX=function(){this.ux=B};e.prototype.qc=function(a){if(!this.ux){this.sda(a);this.RM()}};e.prototype.ak=function(a){this.ux||this.A_(a)};e.prototype.bk=function(){if(!this.ux){this.$I();this.ZA()}};e.prototype.$p=function(a){this.DN(a);this.RM(500)};e.prototype.ZT=function(){this.RM()};e.prototype.Hp=function(a){this.EN(a)};e.prototype.XT=function(){this.ZA()};e.prototype.sda=function(a){this.EB=q;this.mM=B;this.Vn=a;this.A_(a)};e.prototype.A_=function(a){if(this.EB)switch(this.aD){case j.Cz:this.Lea(a);
break;case j.Ir:this.Kea(a)}};e.prototype.Lea=function(a){function b(a,c){return a*c}function c(a){var b=a>0?1:-1;return b*(Math.pow(10,b*a)-1)/9}this.B_(+b(c(Math.min(Math.max((Math.abs(a.x-this.Vn.x)<3?0:a.x-this.Vn.x)/this.za.aa(),-1),1)),this.bW),-b(c(Math.min(Math.max((Math.abs(a.y-this.Vn.y)<3?0:a.y-this.Vn.y)/this.za.la(),-1),1)),this.aW))};e.prototype.Kea=function(a){function b(a,c){return a*c}var c=a.x-this.Vn.x,e=a.y-this.Vn.y;if(!this.mM)Math.sqrt(c*c+e*e)>this.Ym?this.mM=q:c=e=0;this.Jea(-b(Math.min(Math.max(c/
this.za.aa(),-1),1),this.q),+b(Math.min(Math.max(e/this.za.aa(),-1),1),this.q));this.Vn=a};e.prototype.$I=function(){if(this.EB){this.EB=B;switch(this.aD){case j.Cz:this.B_(0,0)}}};e.prototype.B_=function(a,b){var c=new g(e.Pu);c.Er=a;c.nr=b;this.trigger(c)};e.prototype.Jea=function(a,b){var c=new g(e.Pu);c.UP=a;c.eP=b;this.trigger(c)};e.prototype.EN=function(a){if(this.ia!=a.scale){this.$I();var b=this.ia;this.ia=a.scale;a=new h(e.Ai);a.NO=this.q*b/this.ia-this.q;this.trigger(a)}};e.prototype.DN=
function(a){if(a.Ot!=0){this.$I();var b=new h(e.Ai);b.NO=this.q*-a.Ot*this.Bs/100;this.trigger(b)}};e.prototype.RM=function(a){var b=this.Wr!=s;this.AZ();if(a&&(b||!this.uy)){var d=this;this.Wr=setTimeout(function(){d.Wr=s;d.ZA()},a)}if(!this.uy){this.uy=q;this.trigger(new c(e.Dd))}};e.prototype.ZA=function(){this.AZ();if(this.uy){this.uy=B;this.trigger(new c(e.Cd))}};e.prototype.AZ=function(){if(this.Wr!=s){clearTimeout(this.Wr);this.Wr=s}};e.Pu="rotation change";e.Ai="zoom change";e.Dd="user interaction start";
e.Cd="user interaction end";return e});
define("ch",["require","o"],function(a){function b(){this.QK=d.ic()?0.066:0.1;this.dfa=0.1;this.wZ=this.DZ=B;this.xT=this.yT=this.RA=this.js=this.TA=this.xI=this.wI=this.BI=this.As=this.Bs=this.WC=this.lM=this.cf=this.DC=this.Qf=this.$D=0}var d=a("o");b.prototype.p2=function(a,b,d,g,h,e,l,p){this.$D=a;this.DC=b;this.lM=d;this.Qf+=g;this.cf+=h;this.WC+=e;this.wZ=l;this.DZ=p};b.prototype.Mja=function(a,b){this.Bs=a;this.As+=b};b.prototype.kd=function(){return 0!=this.BI||0!=this.wI||0!=this.xI||0!=
this.TA||0!=this.$D||0!=this.DC||0!=this.lM||0!=this.Bs||0!=this.Qf||0!=this.cf||0!=this.As};b.prototype.mb=function(a){var a=1E3/a,b=this.BI/a,d=this.$D/a+this.Qf;this.Qf=0;this.js=this.nc(b,d,this.QK);this.BI=this.js*a;b=this.wI/a;d=this.DC/a+this.cf;this.cf=0;this.RA=this.nc(b,d,this.QK);this.wI=this.RA*a;b=this.xI/a;d=this.lM/a+this.WC;this.WC=0;this.yT=this.nc(b,d,this.QK);this.xI=this.yT*a;this.TA=this.nc(this.TA,this.Bs+this.As*a,this.dfa);this.xT=this.TA/a;this.As=0};b.prototype.nc=function(a,
b,d){return this.wZ&&0!=b||this.DZ&&0==b?(a=(b-a)*(1-d),0.01>Math.abs(a)&&(a=0),b-a):b};return b});
define("ep","jquery.mod,gD,d,cT,ch,M,iu".split(","),function(a,b,d,c,f,j,g){b=b.extend(d,function(){d.call(this);this.Lc("Renderer");this.I=a("<canvas></canvas>");this.I.css({position:"absolute",left:0,top:0});this.Pa().append(this.I);this.rn=s;this.t=this.Gs=this.Es=this.Fs=0;this.df=B;this.Taa=150;this.ow=0;this.Vg=s;this.bind(g.Nb,this.rb,this,q);this.ta=new c;this.ta.j2(720);this.ta.vr(0);this.ta.yo("drag_rotation");this.ta.Au(360);this.ta.bind(c.Pu,this.uaa,this);this.qb=new f});b.prototype.Uia=
function(a,b,c){this.rn=a;this.Fs=b;this.Es=c;this.Gs=Math.floor(this.rn.length*this.t/360);this.iM();this.ta.iz(this);this.p()};b.prototype.Cfa=function(){this.rn=s;this.sk();this.iM();this.ta.Bk()};b.prototype.play=function(){this.df=q;this.p()};b.prototype.uaa=function(a){this.sk();this.qb.p2(a.Er,a.nr,0,a.UP,a.eP,0,B,q);this.p()};b.prototype.WK=function(){this.play()};b.prototype.xe=function(a){if(this.rn)if(this.qb.kd()){this.df=B;this.qb.mb(a);this.XR(this.qb.js);this.p()}else if(this.df){this.XR(this.Taa*
a/1E3);this.p()}else this.Js()||this.Sx()};b.prototype.t2=function(a){for(this.t=a;this.t<0;)this.t=this.t+360;for(;this.t>=360;)this.t=this.t-360;this.zea()};b.prototype.zea=function(){if(this.rn){var a=Math.floor(this.rn.length*this.t/360);if(this.Gs!=a){this.Gs=a;this.xY()}}};b.prototype.XR=function(a){this.t2(this.t+a)};b.prototype.rb=function(){this.iM()};b.prototype.iM=function(){var a=this.I.get(0);if(this.Fs==0||this.Es==0){a.width=0;a.height=0}else{var b=this.Ld(),c=this.Kd();if(c*this.Fs>
b*this.Es){a.width=b;a.height=this.Es*b/this.Fs}else{a.height=c;a.width=this.Fs*c/this.Es}this.I.css({left:Math.round((b-a.width)*0.5)+"px",top:Math.round((c-a.height)*0.5)+"px"});this.xY()}};b.prototype.xY=function(){if(this.rn){var a=this.I.get(0),b=this.rn[this.Gs];a.getContext("2d").drawImage(b,0,0,this.Fs,this.Es,0,0,a.width,a.height)}};b.prototype.Js=function(){return this.Vg?q:B};b.prototype.Sx=function(){this.sk();if(this.ow>0){var a=this;this.Vg=setTimeout(function(){a.Vg=s;a.WK()},this.ow)}};
b.prototype.sk=function(){if(this.Vg){clearTimeout(this.Vg);this.Vg=s}};b.prototype.p=function(){j.Dc(this.xe,this)};return b});
define("hg","require,jquery.mod,cu,gD,iu,ew,bB,ep,t,cO,ig,gf".split(","),function(a){a("jquery.mod");var b=a("cu"),d=a("gD"),c=a("iu"),f=a("ew"),j=a("bB"),g=a("ep"),h=a("t"),e=a("cO"),l=a("ig"),p=a("gf"),a=d.extend(l,function(){l.call(this);this.Ic=this.Xg=this.Rd=this.b=s;this.bind(c.pe,this.lj,this);this.bind(c.me,this.hj,this)});e.C("Object3D",a).D("UIComponent").K({frames:"array[ImageResource]",yaw:"number"}).Jb([c.ib]);a.prototype.Sa=function(){l.prototype.Sa.call(this);if(!this.b){this.b=new g;
this.b.T({left:0,top:0,right:0,bottom:0});this.Ca(this.b)}if(!this.Rd){this.Rd=new h;this.Rd.T({left:0,bottom:0,right:0,height:20,visible:B});this.Ca(this.Rd)}};a.prototype.lj=function(){this.Hw()};a.prototype.hj=function(){this.di()};a.prototype.Hw=function(){this.Rd.set("percent",0);this.Rd.set("visible",q);this.b.t2(this.get("yaw"));var a=this.get("frames",[]);this.Xg=[];this.Ic=[];for(var b=0;b<a.length;b++){this.Xg.push(a[b].Ad());var e=new p(f.pf);e.bind(c.ib,this.bx,this);e.bind(c.Zf,this.cx,
this);this.Ic.push(e)}for(b=0;b<a.length;b++)this.Ic[b].load(this.Xg[b].get("url"))};a.prototype.bx=function(){var a=b(this.Ic).filter(function(a){return a.th()});this.Rd.set("percent",100*a.length/this.Ic.length);a.length==this.Ic.length&&this.iC()};a.prototype.cx=E();a.prototype.iC=function(){this.Rd.set("visible",B);var a=this.Xg[0].get("width",this.Ic[0].Ea()),e=this.Xg[0].get("height",this.Ic[0].Ma());this.b.Uia(b(this.Ic).map(function(a){return a.Td()}),a,e);this.trigger(new j(c.ib))};a.prototype.di=
function(){if(this.Ic){this.Rd.set("visible",B);this.b.Cfa();this.Ic=b(this.Ic).each(function(a){a.unbind(c.ib,this.bx,this);a.unbind(c.Zf,this.cx,this);a.cancel()});this.Xg=this.Ic=s}};return a});define("dY",["require","gD","gU","cO","iG"],function(a){var b=a("gD"),d=a("gU"),c=a("cO"),f=a("iG"),a=b.extend(d,function(){d.call(this);this.set("initialPosition",new f)});c.C("PanoramaCamera",a).D("RotationalCamera");return a});
define("V",["require","gD","gU","cO"],function(a){var b=a("gD"),d=a("gU"),a=a("cO"),b=b.extend(d,function(){d.call(this)});a.C("PanoramaCameraMovement",b).D("RotationalCameraMovement");return b});
define("gv","require,gD,gU,bB,cO,iu".split(","),function(a){var b=a("gD"),d=a("gU"),c=a("bB"),f=a("cO"),j=a("iu"),a=b.extend(d,function(){d.call(this)});a.prototype.play=function(){this.trigger(new c(j.Nj))};a.prototype.pause=function(){this.trigger(new c(j.Uo))};f.C("RotationalCameraSequence",a).D("Object").K({movements:"array[RotationalCameraMovement]",mandatory:"bool",movementIndex:"number",repeat:"number",restartMovementOnUserInteraction:"bool",restartMovementDelay:"number"}).si({pause:a.prototype.pause,
play:a.prototype.play}).Jb([j.ra,j.Vo]);return a});define("bh",["require","gD","cO","gv"],function(a){var b=a("gD"),d=a("cO"),c=a("gv"),a=b.extend(c,function(){c.call(this)});d.C("PanoramaCameraSequence",a).D("RotationalCameraSequence");return a});define("eU",["gD","gU","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("PanoramaMapLocation",a).D("Object").K({map:"Map",x:"number",y:"number",angle:"number",visible:"bool"});return a});
define("iE",["gD","gU","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("PanoramaOverlay",a).D("Object");return a});
define("gm","require,gD,iu,bB,dx,dU,dX,a".split(","),function(a){var b=a("gD");a("iu");a("bB");var d=a("dx"),c=a("dU"),f=a("dX"),j=a("a"),a=b.extend(d,function(a){d.call(this);this.b=a;this.Qj=[];this.Fc=[];this.ls=[];this.B=this.t=0});a.prototype.clear=function(){this.stop();this.ls=this.Fc=this.Qj=this.b=s};a.prototype.end=function(){for(var a=0;a<this.Qj.length;a++)this.Qj[a].stop();this.Qj=[];this.Fc=[];this.ls=[]};a.prototype.start=function(a){this.stop();this.U=a;for(var a=a.get("audios",[]),
b=0;b<a.length;b++){var c=a[b],d=c.St();if(d){this.Qj.push(d);c.get("autoplay",B)&&this.Fc.push(d);c instanceof f&&this.ls.push(c)}}this.o_();for(b=this.Fc.length-1;b>=0;b--)this.Fc[b].play()};a.prototype.stop=function(){this.U=s;for(var a=0;a<this.Fc.length;a++)this.Fc[a].stop()};a.prototype.play=function(){for(var a=0;a<this.Fc.length;a++)this.Fc[a].get("state")!=c.P&&this.Fc[a].play()};a.prototype.pause=function(){for(var a=0;a<this.Fc.length;a++)this.Fc[a].get("state")==c.P&&this.Fc[a].pause()};
a.prototype.fa=function(){this.t=this.b.Xa();this.B=this.b.gb();if(this.U)for(var a=0,b=this.b.sga();a<b.length;a++)if(this.U.oE()==b[a]){this.t=this.t+this.b.rE(b[a]);this.B=this.B+this.b.zO(b[a]);break}this.o_()};a.prototype.o_=function(){if(this.ls.length>0)for(var a=Math.PI/180,b=this.t*a,c=this.B*a,d=new j(Math.sin(b)*Math.cos(c),Math.sin(c),Math.cos(b)*Math.cos(c)),f=0;f<this.ls.length;f++){var o=this.ls[f],r=o.get("yaw",b)*a,m=o.get("pitch",c)*a,t=o.get("maximumAngle",360)*a,r=new j(Math.sin(r)*
Math.cos(m),Math.sin(m),Math.cos(r)*Math.cos(m)),t=Math.min(1,Math.max(0,1-Math.acos(d.Wq(r))/t));o.St().xh(t)}};return a});
define("hG",["require","gm"],function(a){function b(a){this.Bf=s;this.n=new d(a)}var d=a("gm");b.prototype.clear=function(){this.n.clear()};b.prototype.end=function(a){this.Bf==a&&(this.Bf=s,this.n.end())};b.prototype.start=function(a){a.Kk()&&(this.Bf=a,this.n.start(a.U))};b.prototype.play=function(){this.n.play()};b.prototype.pause=function(){this.n.pause()};b.prototype.stop=function(){this.n.stop()};b.prototype.fa=function(a){this.n.fa(a)};return b});
define("eP",["require","gD","a","cS"],function(a){function b(){this.O=B;this.lh=b.bp;this.Gb=B;this.pi(360,180,0,B,B,B,90,5);this.setSize(100,100)}a("gD");var d=a("a"),c=a("cS");b.prototype.MO=function(){return this.lh!==b.bp};b.prototype.g1=function(){return this.lh&b.Pr?q:B};b.prototype.h1=function(){return this.lh&b.Qr?q:B};b.prototype.i1=function(){return this.lh&b.ep?q:B};b.prototype.f1=function(){return this.lh&b.ap?q:B};b.prototype.Ud=H("Gb");b.prototype.Xa=function(){this.ph();return this.t};
b.prototype.gb=function(){this.ph();return this.B};b.prototype.Sc=function(){this.ph();return this.qa};b.prototype.po=function(){this.ph();return this.q};b.prototype.pi=function(a,b,c,d,f,g,h,j){this.PX=a;this.sL=b;this.rL=c;this.at=d;this.dV=g;this.YU=f;this.c9=h;this.d9=j;this.q=h;this.t=0;this.B=c;this.qa=0;this.O=q};b.prototype.ca=function(a,b,c,d){this.t=a;this.B=b;this.qa=c;this.q=d;this.O=q};b.prototype.setSize=function(a,b){if(this.o!=a||this.A!=b)this.o=a,this.A=b,this.O=q};b.prototype.ph=
function(){if(this.O){this.O=B;var a=this.t*g,l=this.B*g,p=this.q*g,o,r,m,t,u;t=this.c9*g;u=this.d9*g;if(this.ala)o=360,m=180,r=0;else if(this.dV||this.YU){o=this.YU?90:this.rL+0.5*this.sL;var w=this.dV?-90:this.rL-0.5*this.sL;m=o-w;r=0.5*(o+w);o=this.PX}else o=this.PX,r=this.rL,m=this.sL;o*=g;m*=g;r*=g;for(w=this.o/this.A;a<-f;)a+=2*f;for(;a>f;)a-=2*f;p=Math.max(Math.min(p,t),u);t=b.bp;l>j?t|=b.ep:l<-j&&(t|=b.ap);var l=Math.max(Math.min(l,0.5*f),0.5*-f),A=2*Math.atan(Math.tan(0.5*p)/w);if(A>=m)p=
2*Math.atan(Math.tan(0.5*m)*w),l=r,t=t|b.ep|b.ap;else{var z=Math.min(0.5*m+r,0.5*f);m=Math.max(0.5*-m+r,0.5*-f);r=!this.at&&z>=0.495*f?0.5*f:z-0.5*A;m=!this.at&&m<=0.495*-f?0.5*-f:m+0.5*A;l>r?(l=r,t|=b.ep):l<m&&(l=m,t|=b.ap)}this.at&&(m=Math.tan(0.5*p),w=m/w,w=new d(-m,0<l?w:-w,1),m=new c,m.Nk(-l),w.apply(m),w=2*w.Xa(),0>w&&(w+=2*f),m=0.5*o-0.5*w,A=0.5*-o+0.5*w,w>o?(a=0,p=Math.max(u,p*o/w),t=t|b.Pr|b.Qr):a>m?(a=m,t|=b.Qr):a<A&&(a=A,t|=b.Pr));this.t=a*h;this.B=l*h;this.q=p*h;this.lh=t}};var f=Math.PI,
j=0.5*Math.PI,g=Math.PI/180,h=180/Math.PI;b.bp=0;b.Pr=1;b.Qr=2;b.ep=4;b.ap=8;return b});
define("ei","gD,iu,bB,dx,o,hN".split(","),function(a,b,d,c,f,j){a=a.extend(c,function(){c.call(this);this.KY=this.K_=this.Z=B;this.qa=this.B=this.t=0;this.VC=B;this.cf=this.Qf=0});a.prototype.je=function(a){if(this.Z!=a)if(this.Z=a){j.bind(this.zW,this,q);var a=j.mm(),b=a.pitch;this.Qf=this.t-a.yaw;this.cf=this.B-b;this.yg()}else j.unbind(this.zW,this,q)};a.prototype.xja=H("KY");a.prototype.ca=function(a,b,c){if(this.t!=a){this.Qf=this.bD(this.Qf+(a-this.bD(this.t,a)),0);this.t=a}if(this.B!=b){this.cf=
this.cf+(b-this.B);this.B=b}this.qa=c};a.prototype.kd=function(){return j.Hha()};a.prototype.mb=function(a){var b=j.mm(),a=20*a/1E3,c=b.pitch+(this.K_?this.cf:0),d=this.KY?b.roll:0;this.t=this.nc(this.t,this.bD(this.bD(b.yaw,this.t)+this.Qf,this.t),a);this.B=this.nc(this.B,c,a);this.qa=this.nc(this.qa,d,a)};a.prototype.Ija=H("K_");a.prototype.nc=function(a,b,c){a=(b-a)*(1-c);Math.abs(a)<0.01&&(a=0);return b-a};a.prototype.bD=function(a,b){for(;a+180<b;)a=a+360;for(;a-180>b;)a=a-360;return a};a.prototype.zW=
function(){this.Z&&this.yg()};a.prototype.yg=function(){this.trigger(new d(b.W))};return a});
define("by",["require","hQ","X"],function(a){function b(){this.Z=B;this.qa=this.B=this.t=0;this.OB=n}var d=a("hQ"),c=a("X");b.prototype.je=function(a){this.Z!=a&&(this.Z=a,this.OB=n)};b.prototype.ca=function(a,b,c){this.t=a;this.B=b;this.qa=c};b.prototype.kd=P(q);b.prototype.mb=function(){var a=c.mm(),b={};b.x=a[0];b.y=a[1];b.z=a[2];b.w=a[3];a=d.C2(b);this.t+=this.OB===n?0:a.yaw-this.OB;this.OB=a.yaw;this.B=a.pitch;this.qa=a.rm};return b});
define("cx",[],function(){return{Wu:"left",Xu:"right",Vu:"down",Yu:"up",ZQ:"2x",P:"playing",Wk:"zoomIn",Xk:"zoomOut",od:"stop"}});
define("e","require,cu,gD,iu,bB,dx,bG,ei,ch,cT,by,cx,X,J".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("iu"),f=a("bB"),j=a("dx"),g=a("bG"),h=a("ei"),e=a("ch"),l=a("cT"),p=a("by"),o=a("cx"),r=a("X"),m=a("J"),t=d.extend(j,function(a,b,d){j.call(this);this.b=a;this.F=b;this.rc=d;this.EL=this.Ui=this.lw=this.VL=this.Z=B;this.qb=new e;this.qa=this.B=this.t=0;this.q=90;this.Zd=n;this.rH=this.tv=5;this.ta=new l;this.ta.vr(t.U3);this.ta.bind(l.Pu,this.ZW,this,q);this.ta.bind(l.Ai,this.Hn,this,q);this.ta.bind(l.Dd,
this.nj,this,q);this.ta.bind(l.Cd,this.mj,this,q);this.Tg=new h;this.Tg.xja(this.b.JE());this.Tg.bind(c.W,this.Q$,this);this.jn=B;this.wk=new p;r.bind(c.W,this.Fd,this,q);this.Fd()});t.prototype.clear=function(){this.ta.unbind(l.Pu,this.ZW,this,q);this.ta.unbind(l.Ai,this.Hn,this,q);this.ta.unbind(l.Dd,this.nj,this,q);this.ta.unbind(l.Cd,this.mj,this,q);this.ta.Bk();this.ta=s;r.unbind(c.W,this.Fd,this,q);this.rc=this.F=this.qb=s;this.Zr();this.b=s};t.prototype.Aja=function(a,b,c,e){this.ta.j2(a);
this.ta.ija(a);this.ta.Pia(b);this.tv=c;this.rH=e};t.prototype.Wf=function(a){function c(e){return b(a).contains(e)}b.isArray(a)||(a=[a]);var e=0,d=0,f=0,g=B;if(!c(o.od)){c(o.Wu)?e=-this.tv:c(o.Xu)&&(e=+this.tv);c(o.Vu)?d=-this.tv:c(o.Yu)&&(d=+this.tv);c(o.Wk)?f=-this.rH:c(o.Xk)&&(f=+this.rH);c(o.P)&&(g=q);if(c(o.ZQ)){e=e*2;d=d*2;f=f*2}}this.fb(e,d,0,f,0,0,0,0,g,q,q)};t.prototype.ca=function(a,b,c,e){this.t=a;this.B=b;this.qa=c;this.q=e;this.Tg.ca(this.t,this.B,this.qa);this.wk.ca(this.t,this.B,this.qa);
this.ta.Au(this.q)};t.prototype.IP=function(a,b,c){this.fb(0,0,0,0,a,b,c,0,B,B,B)};t.prototype.kd=function(){return this.Z&&(this.EL||this.H2())?q:B};t.prototype.H2=function(){return this.Z?this.wk.Z?this.wk.kd()||this.qb.kd():this.Tg.Z?this.jn?q:this.Tg.kd()||this.qb.kd():this.qb.kd():B};t.prototype.mb=function(a){this.qb.mb(a);this.EL=B;var b,c;if(this.wk.Z){this.wk.mb(a);a=this.wk.t+this.qb.js;b=this.wk.B;c=this.wk.qa}else if(this.Tg.Z){this.jn=B;this.Tg.mb(a);a=this.Tg.t+this.qb.js;b=this.Tg.B;
this.lw&&(b=b+this.qb.RA);c=this.Tg.qa}else{a=this.t+this.qb.js;b=this.B+this.qb.RA;c=0}this.rc.ZE(this.q+this.qb.xT);this.F.ca(a,b,c,this.rc.q);this.t=this.F.Xa();this.B=this.F.gb();this.qa=this.F.Sc();this.q=this.F.po();if(this.VL&&this.F.MO()){a=this.qb.$D;if(this.F.g1()||this.F.h1())a=-a;b=this.qb.DC;if(this.F.i1()||this.F.f1())b=-b;this.fb(a,b,0,0,0,0,0,0,q,B,q)}};t.prototype.je=function(a){if(this.Z!=a)if(this.Z=a){this.Zn(this.ta.Zp==g.Ir?m.Kz:n);this.ta.iz(this.b.getParent());this.Nf()}else{this.Zr();
this.ta.Bk()}};t.prototype.xr=function(a){if(this.Ui!=a){this.Ui=a;this.t_();this.jn=q}};t.prototype.t_=function(){this.Tg.je(this.Ui&&!r.isPresenting());this.wk.je(r.isPresenting())};t.prototype.Q$=function(){this.Nf()};t.prototype.kz=function(a){this.lw=a;this.Tg.Ija(this.lw)};t.prototype.yo=function(a){this.ta.yo(a);this.Zn(this.ta.Zp==g.Ir?m.Kz:n)};t.prototype.Ar=function(a){this.ta.Ar(a)};t.prototype.Fd=function(){this.t_();this.Nf()};t.prototype.ZW=function(a){if(this.ta.Zp==g.Cz){var b=n;if(a.Er!=
0||a.nr!=0){var c=Math.sqrt(a.nr*a.nr+a.Er*a.Er)>25,e=Math.atan2(a.nr,a.Er)*180/Math.PI;e>=-22.5&&e<22.5?b=c?m.sQ:m.rQ:e>=22.5&&e<67.5?b=c?m.uQ:m.BQ:e>=67.5&&e<112.5?b=c?m.tQ:m.AQ:e>=112.5&&e<157.5?b=c?m.vQ:m.CQ:e>=157.5||e<-157.5?b=c?m.zQ:m.GQ:e>=-157.5&&e<-112.5?b=c?m.yQ:m.FQ:e>=-112.5&&e<-67.5?b=c?m.wQ:m.DQ:e>=-67.5&&e<-22.5&&(b=c?m.xQ:m.EQ)}this.Zn(b)}this.fb(a.Er,a.nr,0,0,a.UP,a.eP,0,0,B,B,!this.wk.Z&&(!this.Tg.Z||this.lw))};t.prototype.Hn=function(a){this.fb(0,0,0,a.dha,0,0,0,a.NO,B,B,q)};t.prototype.fb=
function(a,b,c,e,d,f,g,h,j,l,o){this.qb.p2(a,b,c,d,f,g,l,o);this.qb.Mja(e,h);this.VL=j;this.Nf()};t.prototype.Nf=function(){this.EL=q;this.trigger(new f(t.mf))};t.prototype.nj=function(){this.trigger(new f(t.Dd));this.ta.Zp==g.Ir&&this.Zn(m.mQ)};t.prototype.mj=function(){this.trigger(new f(t.Cd));this.ta.Zp==g.Ir&&this.Zn(m.Kz)};t.prototype.Zn=function(a){if(this.Zd!=a&&this.Z){this.Zd&&this.b.or(this.Zd);(this.Zd=a)&&this.b.su(this.Zd)}};t.prototype.Zr=function(){if(this.Zd){this.b.or(this.Zd);this.Zd=
n}};t.mf="position change request";t.Dd="user interaction start";t.Cd="user interaction end";t.U3=7;return t});define("hu",["require","gD","gU","cO"],function(a){var b=a("gD"),d=a("gU"),a=a("cO"),b=b.extend(d,function(){d.call(this)});a.C("TargetRotationalCameraMovement",b).D("RotationalCameraMovement").K({path:"enum[left, right, shortest, longest]",targetYaw:"number",targetPitch:"number",targetHfov:"number"});return b});
define("A","require,gD,iu,dU,bB,dx,cO,eS,hu,il,bd".split(","),function(a){var b=a("gD"),d=a("iu"),c=a("dU"),f=a("bB"),j=a("dx"),g=a("cO");a("eS");a("hu");var h=a("il"),e=a("bd"),l=b.extend(j,function(a,b,c){j.call(this);this.b=a;this.F=b;this.rc=c;this.jt=this.Cc=s;this.On=this.Pn=B;this.Rs=[];this.eM=0;this.S=s;this.B=this.t=0;this.q=90});l.prototype.clear=function(){this.end();this.F=this.b=s};l.prototype.start=function(a){this.Pca(a);this.Kaa();this.Pn=this.On=B;this.Nf();this.Mf()};l.prototype.end=
function(){if(this.Cc!=s){this.US();this.Pn=this.On=B;this.S=s;this.Mf()}};l.prototype.Mha=function(){if(this.Cc&&this.Cc.get("restartMovementOnUserInteraction")){if(!this.Pn){this.VM();this.S=s;this.Pn=q;this.Mf()}}else this.end()};l.prototype.Qha=function(){if(this.Pn){this.Pn=B;this.IV()||this.rda()}};l.prototype.Pca=function(a){this.US();this.Cc=a;this.Cc.bind(d.Nj,this.qX,this,q);this.Cc.bind(d.Uo,this.pX,this,q);this.Cc.bind(d.Qa("movementIndex"),this.$K,this,q);this.Rs=this.Cc.get("movements",
[])};l.prototype.US=function(){this.VM();if(this.Cc!=s){this.Cc.unbind(d.Nj,this.qX,this);this.Cc.unbind(d.Uo,this.pX,this);this.Cc.unbind(d.Qa("movementIndex"),this.$K,this);this.Cc.set("movementIndex",-1);this.Cc=s;this.Rs=[]}};l.prototype.ff=function(){return this.Cc?this.On?c.Xb:c.P:c.J};l.prototype.ca=function(a,b,c,e){this.t=a;this.B=b;this.q=e};l.prototype.kd=function(){return this.Cc&&!this.On&&!this.Pn&&!this.IV()?q:B};l.prototype.mb=function(a){if(this.kd()){this.S.mb(a);a=this.S.La("hfov");
if(this.rc.q1()){var b=this.S.C0();b.br=this.rc.Nt(b.br);b.Du=this.rc.Nt(b.Du);a=this.rc.Nt(a)}this.F.ca(this.S.La("yaw"),this.S.La("pitch"),0,a);this.t=this.F.Xa();this.B=this.F.gb();this.q=this.F.po();this.S.De()&&this.caa()}};l.prototype.play=function(){if(this.On){this.On=B;this.Nf();this.Mf()}};l.prototype.pause=function(){if(!this.On){this.On=q;this.Mf()}};l.prototype.qX=function(){this.play()};l.prototype.pX=function(){this.pause()};l.prototype.Kaa=function(){this.eM=0;var a=this.Cc.get("movementIndex",
-1);a==-1&&(a=0);this.FC(a)};l.prototype.Maa=function(){this.eM++;var a=this.Cc.get("repeat",1);if(this.Rs.length>0&&(a==0||this.eM<a))this.FC(0);else{this.Cc.trigger(new f(d.ra));this.end();this.Zda()}};l.prototype.Laa=function(){this.FC(this.Cc.get("movementIndex",0)+1)};l.prototype.FC=function(a){if(a<this.Rs.length)this.Cc.get("movementIndex")!=a?this.Cc.set("movementIndex",a):this.$K();else{this.Cc.trigger(new f(d.Vo));this.Maa()}};l.prototype.$K=function(){var a=this.Cc.get("movementIndex");
this.S=a<0?s:this.cs(this.Rs[a])};l.prototype.caa=function(){this.Rs[this.Cc.get("movementIndex")].trigger(new f(d.ra));this.Laa()};l.prototype.IV=function(){return this.jt!=s};l.prototype.rda=function(){this.VM();var a=this,b=this.Cc.get("restartMovementDelay")||0;this.jt=setTimeout(function(){a.jt=s;a.taa()},b);this.Mf()};l.prototype.VM=function(){if(this.jt){clearTimeout(this.jt);this.jt=s}};l.prototype.taa=function(){this.FC(this.Cc.get("movementIndex"));this.Nf();this.Mf()};l.prototype.cs=function(a){var b,
c,d,f=this.qq(this.t,-180,180),j=this.B,l=this.q;if(g.hc("TargetRotationalCameraMovement",a)){b=a.get("targetYaw",f);c=a.get("targetPitch",j);if(d=a.get("targetHfov")){this.rc.AP(d);d=this.rc.q}else d=l;this.F.ca(b,c,0,d);if(this.F.at)b=this.F.Xa();else switch(a.get("path")){case "left":b=this.qq(b,f-360,f);break;case "right":b=this.qq(b,f,f+360);break;case "longest":b=this.qq(b,f-180,f+180);b=b>=f?this.qq(b,f-360,f):this.qq(b,f,f+360);break;default:b=this.qq(b,f-180,f+180)}}else if(g.hc("DistanceRotationalCameraMovement",
a)){b=f+a.get("yawDelta",0);this.F.at&&(b=Math.min(Math.max(-180,b),180));c=j+a.get("pitchDelta",0);d=l+a.get("hfovDelta",0);this.F.ca(b,c,0,d);this.F.at&&(b=this.F.Xa())}c=this.F.gb();d=this.F.po();return new h(a.get("easing"),[new e("yaw",f,b,a.get("yawSpeed")),new e("pitch",j,c,a.get("pitchSpeed")),new e("hfov",l,d,a.get("hfovSpeed"))],a.get("duration"))};l.prototype.qq=function(a,b,c){for(;a<b;)a=a+(c-b);for(;a>c;)a=a-(c-b);return a};l.prototype.Nf=function(){this.trigger(new f(l.mf))};l.prototype.Zda=
function(){this.trigger(new f(l.fG))};l.prototype.Mf=function(){this.trigger(new f(l.Bb))};l.mf="position change request";l.fG="sequence end";l.Bb="playback state change";return l});
define("x","require,cu,gD,iu,bB,dx,eP,e,A,cx,cJ,X,dU".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("iu"),f=a("bB"),j=a("dx"),g=a("eP"),h=a("e"),e=a("A"),l=a("cx");a("cJ");var p=a("X"),o=a("dU"),r=d.extend(j,function(a,b){j.call(this);this.b=a;this.b.bind(c.Nb,this.rb,this);p.bind(c.W,this.Fd,this,q);this.rc=b;this.jM=B;this.q=this.qa=this.B=this.t=n;this.Ak=this.zk=this.Rw=this.Uw=this.Tw=this.Sw=B;this.nh=q;this.As=this.cf=0;this.Z=B;this.Vg=s;this.ow=5E3;this.qw=this.SJ=s;this.nt=[];this.Qe=
this.Km=o.J;this.F=new g;this.Ha=new h(this.b,this.F,this.rc);this.Ha.bind(h.mf,this.Rl,this,q);this.Ha.bind(h.Dd,this.nj,this,q);this.Ha.bind(h.Cd,this.mj,this,q);this.sc=new e(this.b,this.F,this.rc);this.sc.bind(e.mf,this.Rl,this,q);this.sc.bind(e.fG,this.eL,this,q);this.sc.bind(e.Bb,this.rX,this,q)});r.prototype.clear=function(){this.sk();this.Ha.unbind(h.mf,this.Rl,this);this.Ha.unbind(h.Dd,this.nj,this,q);this.Ha.unbind(h.Cd,this.mj,this,q);this.Ha.clear();this.Ha=s;this.sc.unbind(e.mf,this.Rl,
this);this.sc.unbind(e.fG,this.eL,this);this.sc.unbind(e.Bb,this.rX,this);this.sc.clear();this.F=this.sc=s;this.b.unbind(c.Nb,this.rb,this);p.unbind(c.W,this.Fd,this,q);this.b=s;b(this.nt).each(function(a){a.unbind(c.Nj,this.sM,this,q)},this);this.nt=[]};r.prototype.end=function(){this.Km=o.J;this.sk();this.Ha.je(B);this.sc.end();this.Z=B;this.Xl(0,0,0,0);this.qw=this.SJ=s;b(this.nt).each(function(a){a.unbind(c.Nj,this.sM,this,q)},this);this.nt=[];this.Lq()};r.prototype.start=function(a){this.Km=
o.P;this.Z=q;this.Xl(0,0,0,0);this.Fca(a.U);this.ica(a.qd);a.Kk()?this.vD(this.qw):this.Ha.je(q);this.Lq()};r.prototype.ff=N("Qe");r.prototype.play=function(){this.Km=o.P;this.sc.ff()==o.Xb?this.sc.play():this.sc.ff()==o.J&&(this.qw?this.vD(this.qw):this.Js()||this.Sx());this.Lq()};r.prototype.lia=function(){this.Km==o.Xb&&this.play()};r.prototype.pause=function(){this.Ha.Wf(l.od);if(this.Km==o.P){this.Km=o.Xb;if(this.sc.ff()==o.P){this.sc.pause();this.Lq()}else this.Js()&&this.sk()}};r.prototype.stop=
function(){this.Km=o.J;this.sc.ff()!=o.J&&this.sc.end();this.Ha.Wf(l.od);this.Lq();this.Js()&&this.sk()};r.prototype.Fd=function(){this.F.Ud(p.isPresenting())};r.prototype.Wf=function(a){this.Ha.Wf(a)};r.prototype.IP=function(a,b,c){this.Ha.IP(a,b,c)};r.prototype.xr=function(a){if(this.Ui!=a){this.Ui=a;this.Ha.xr(this.Ui);this.p()}};r.prototype.kz=function(a){this.Ha.kz(a)};r.prototype.yo=function(a){this.Ha.yo(a)};r.prototype.Ar=function(a){this.Ha.Ar(a)};r.prototype.Mk=function(a){if(this.Z)if(this.Ha.kd()||
p.isPresenting()||this.Ui&&(this.Ha.Z||!this.Ha.lw)){this.Ha.H2()&&this.sc.Mha();this.Ha.mb(a);this.ze(this.Ha.t,this.Ha.B,this.Ha.qa,this.Ha.q);this.p()}else if(this.sc.Pn){this.sc.Qha();this.p()}else if(this.sc.kd()){this.sc.mb(a);this.ze(this.sc.t,this.sc.B,0,this.sc.q);this.p()}else if(this.jM){this.jM=B;this.rc.ZE(this.b.q);this.F.ca(this.b.Xa(),this.b.gb(),this.b.Sc(),this.rc.q);this.ze(this.F.Xa(),this.F.gb(),this.F.Sc(),this.F.po());this.p()}else{this.Xl(0,0,0,0);this.Km==o.P&&this.sc.ff()==
o.J&&(this.Js()||this.Sx())}};r.prototype.fa=function(){var a=this.b.Xa(),b=this.b.gb(),c=this.b.Sc(),e=this.b.q,d=a-this.t||0,f=b-this.B||0,g=c-this.qa||0,h=e-this.q||0;this.t=a;this.B=b;this.qa=c;this.q=e;this.Xl(d,f,g,h);this.Ha.ca(a,b,c,e);this.sc.ca(a,b,c,e)};r.prototype.Fca=function(a){this.F.pi(a.get("hfov"),a.get("vfov"),a.get("pitch"),a.get("partial"),a.ju(),a.ku(),a.get("hfovMax",90),a.wE(a.get("hfovMin",1)))};r.prototype.ica=function(a){this.ow=a.get("timeToIdle",5E3);this.SJ=a.get("idleSequence");
this.qw=a.get("initialSequence");this.Ha.Aja(a.get("manualRotationSpeed",1800),a.get("manualZoomSpeed",1),a.get("automaticRotationSpeed",10),a.get("automaticZoomSpeed",10));this.nt=a.get("sequences",[]);b(this.nt).each(function(a){a.bind(c.Nj,this.sM,this,q)},this)};r.prototype.sM=function(a){this.vD(a.source)};r.prototype.Rl=function(){this.sk();this.p()};r.prototype.nj=function(){this.trigger(new f(r.Dd))};r.prototype.mj=function(){this.trigger(new f(r.Cd))};r.prototype.vD=function(a){if(a){this.Ha.je(!a.get("mandatory",
B));this.sc.start(a)}else this.eL()};r.prototype.eL=function(){this.Ha.je(q);this.Sx()};r.prototype.rX=function(){this.Lq()};r.prototype.rb=function(){this.F.setSize(this.b.aa(),this.b.la());this.jM=q;this.p()};r.prototype.Js=function(){return this.Vg!=s};r.prototype.Sx=function(){this.sk();var a=this;this.Vg=setTimeout(function(){a.Vg=s;a.WK()},this.ow)};r.prototype.sk=function(){if(this.Vg){clearTimeout(this.Vg);this.Vg=s}};r.prototype.WK=function(){this.vD(this.SJ)};r.prototype.p=function(){this.trigger(new f(r.M))};
r.prototype.ze=function(a,b,c,e){this.b.ca(a,b,c,e)};r.prototype.Xl=function(a,b,c,e){var c=B,d=Math.abs(a)<0.001&&Math.abs(b)<0.001&&Math.abs(e)<0.001;if(d||this.Ui){c=this.nh!=q;this.Ak=this.zk=this.Rw=this.Uw=this.Tw=this.Sw=B;this.nh=q}else{if(this.Sw!=a<-0.001){this.Sw=!this.Sw;c=q}if(this.Tw!=a>0.001){this.Tw=!this.Tw;c=q}if(this.Rw!=b<-0.001){this.Rw=!this.Rw;c=q}if(this.Uw!=b>0.001){this.Uw=!this.Uw;c=q}if(this.zk!=e<-0.001){this.zk=!this.zk;c=q}if(this.Ak!=e>0.001){this.Ak=!this.Ak;c=q}if(this.nh!=
d){this.nh=!this.nh;c=q}}d||this.trigger(new f(r.xi,{yaw:this.t,pitch:this.B,roll:this.qa,hfov:this.q}));if(c){(this.Z||this.nh)&&this.trigger(new f(r.lf,{movingLeft:this.Sw,movingRight:this.Tw,movingUp:this.Uw,movingDown:this.Rw,zoomingIn:this.zk,zoomingOut:this.Ak,stopped:this.nh}));this.Lq()}};r.prototype.Lq=function(){var a;if(this.Z){a=this.sc.ff();if(!this.nh)a=o.P}else a=o.J;if(this.Qe!=a){this.Qe=a;this.trigger(new f(r.Bb,{state:this.Qe}))}};r.M="request frame";r.lf="movement change";r.xi=
"position change";r.Bb="playback state change";r.Dd="user interaction start";r.Cd="user interaction end";return r});
define("gB",["require","gD","iu","bB","dx"],function(a){var b=a("gD"),d=a("iu"),c=a("bB"),f=a("dx"),j=Math.PI/180,a=b.extend(f,function(a){f.call(this);this.et=a;this.Gs=this.ct=0;this.O=q;this.YS=this.RZ=this.UT=n;this.Ia=B});a.prototype.gF=function(a){this.ct!=a&&(this.ct=a,this.O=q)};a.prototype.get=function(a,b){b!==n||(b=q);this.O&&(this.Wa(),this.O=B);var c=this.UT.get(a)||0,d=(this.RZ.get(a)||0)-c;b&&(180<d?d-=360:-180>d&&(d+=360));return c+d*this.YS};a.prototype.Ve=function(){var a=this.get("opacity",
B),b=0<a;this.Ia!=b&&((this.Ia=b)?this.trigger(new c(d.pe)):this.trigger(new c(d.me)));return a};a.prototype.gf=function(){var a=this.get("hfov")||this.get("vfov"),b=this.et[0].get("hfov")||this.et[0].get("vfov");return Math.tan(0.5*a*j)/Math.tan(0.5*b*j)};a.prototype.Wa=function(){for(var a=this.Gs,b,c=this.et.length-1,d,f;;){b=Math.min(a+1,c);d=this.SU(a);f=this.SU(b);if(d<=this.ct&&this.ct<=f)break;if(d>this.ct){if(0==a)break;a-=1}else{if(a==c)break;a+=1}}this.UT=this.et[a];this.RZ=this.et[b];
a=f-d;this.YS=0<a?(this.ct-d)/a:0};a.prototype.SU=function(a){return this.et[a].get("timestamp")};return a});
define("H","require,cu,iu,bB,dx,cO,eP,gB,o,X,gD,M,il,bd".split(","),function(a){var b=a("cu"),d=a("iu"),c=a("bB"),f=a("dx"),j=a("cO"),g=a("eP"),h=a("gB"),e=a("o"),l=a("X"),p=a("gD");a("M");var o=a("il"),r=a("bd"),m=p.extend(f,function(a,b,c){f.call(this);this.G=a;this.b=b;this.rc=c;this.qa=this.B=this.t=0;this.q=n;this.fy=this.Xv=this.Xr=this.ji=s;this.F=new g;l.bind(d.W,this.Fd,this,q);this.Fd();this.Ub=[];this.L=m.re;this.xj=this.sa=this.Ba=s;a=this.G.get("transitionDuration");a===n&&(a=500);this.AH=
this.G.get("blendingTransitionDuration");if(this.AH===n)this.AH=a;this.KI=this.G.get("disolveTransitionDuration");if(this.KI===n)this.KI=a;this.HD=this.G.get("translationTransitionDuration");if(this.HD===n)this.HD=1E3;this.cfa=1E3;this.Ke=q;this.Ui=B});m.prototype.xr=H("Ui");m.prototype.Fj=H("Ke");m.prototype.Aj=function(a){a.Ye()&&this.qp();this.Ub.push(a);this.dq()};m.prototype.hide=function(){this.qp();this.Ub.push(s);this.dq()};m.prototype.clear=function(){this.L=m.re;this.qp();this.YL();this.rq();
l.unbind(d.W,this.Fd,this,q);this.b=this.Xv=this.fy=this.Xr=this.ji=s};m.prototype.Mk=function(a){if(this.L==m.LR||this.L==m.ZG){this.ji.mb(a);a=this.ji.La("hfov");if(this.rc.q1()){var b=this.ji.C0();b.br=this.rc.Nt(b.br);b.Du=this.rc.Nt(b.Du);a=this.rc.Nt(a)}this.F.setSize(this.b.aa(),this.b.la());this.F.ca(this.ji.La("yaw"),this.ji.La("pitch"),this.ji.La("roll"),a);this.b.ca(this.F.Xa(),this.F.gb(),this.F.Sc(),this.F.po());this.ji.De()||this.F.MO()?this.L==m.ZG?this.j7():this.i7():this.p()}};m.prototype.fa=
function(a){if(this.sa||this.L!=m.re){this.t=this.b.Xa();this.B=this.b.gb();this.qa=this.b.Sc();this.q=this.b.q}if(this.L==m.Ih){this.Xr.mb(a);this.fy.mb(a);this.mea();this.Xr.De()?this.aw():this.p()}else if(this.L==m.Gm){this.Xv.mb(a);this.vea();this.Xv.De()?this.bw():this.p()}};m.prototype.dq=function(){this.Ub.length>0&&this.L==m.re&&this.Di()};m.prototype.Di=function(){this.sa&&(!this.Ub[0]||this.Ub[0].Ye())&&this.trigger(new c(m.Jo,{panorama:this.sa.U}));var a=this.G.get("transitionMode","blending");
this.xj=s;if(a=="fade_out_fade_in"&&this.sa&&this.Ub[0]&&this.Ub[0].Ye())this.Lm();else if(this.Ba=this.Ub.shift())if(a=="fade_out_fade_in"||this.sa==s){this.Ba.Ye()&&this.UY(q);this.lp()}else if(this.Ba.Ye()){this.xj=this.K8(this.sa,this.Ba);this.sa&&this.b_();this.O4()}else this.lp();else this.sa&&this.Lm()};m.prototype.O4=function(){var a=this.wJ(this.Ba,q);if(this.sa){var b=this.sa.U;this.F.pi(b.get("hfov",360),b.get("vfov",180),b.get("pitch",0),b.get("partial",B),b.ju(),b.ku(),b.get("hfovMax",
90),b.wE(1));a=Math.min(this.q,a)}else{this.F.pi(360,180,0,B,B,B,120,1);this.q=a}this.F.setSize(this.b.aa(),this.b.la());this.ji=this.wT(a);this.L=m.ZG;this.p()};m.prototype.j7=function(){this.ji=s;this.lp();this.UY(B);this.Uda()};m.prototype.UY=function(a){var b=this.Ba.U;this.F.pi(b.get("hfov",360),b.get("vfov",180),b.get("pitch",0),b.get("partial",B),b.ju(),b.ku(),b.get("hfovMax",90),b.wE(1));this.F.setSize(this.b.aa(),this.b.la());var c,e,d;if(this.xj){b=this.t+this.xj.er();c=this.B;e=this.qa;
d=this.q}else{this.rc.AP(this.wJ(this.Ba,B));e=this.Ba.qd.get("initialPosition");b=e.get("yaw",0);if(this.Ui){c=this.B;e=this.qa}else{c=e.get("pitch",0);e=e.get("roll",0)}d=this.rc.q}this.F.ca(b,c,e,d);if(this.sa){b=this.F.Xa()-this.t;c=this.F.gb()-this.B;e=this.F.Sc()-this.qa;this.b.wo(this.sa.getItem(),-b,-c,-e)}this.b.ca(this.F.Xa(),this.F.gb(),this.F.Sc(),a?this.F.po():this.q);this.b.Ffa()};m.prototype.lp=function(){this.hH();this.L=m.Ih;this.Xr=this.X5();this.fy=this.B6();this.xj&&this.b.Bu(this.UU());
if(this.sa&&this.Ba&&this.sa.U==this.Ba.U){this.iD(this.sa,q);this.iD(this.Ba,q)}if(this.Ba){this.h9(this.Ba);this.z_(this.Ba)}this.p()};m.prototype.mea=function(){if(this.xj){this.b.Bu(this.UU());this.b.jz(B);var a=this.xj.xga(),b=this.fy.La("displaying"),c=this.fy.La("displayed");this.b.mz(this.Ba.getItem(),a.x*b,a.y*b,a.z*b);this.b.mz(this.sa.getItem(),a.x*c,a.y*c,a.z*c)}a=Math.max(0,Math.min(1,this.Xr.La("alpha")));this.Ba&&this.sa&&this.sa.U!=this.Ba.U&&this.sca(this.sa,1-a);this.b.ab(this.Ba.getItem(),
Math.max(0,Math.min(1,this.Xr.La("alpha"))))};m.prototype.aw=function(){this.iD(this.sa,B);this.iD(this.Ba,B);this.rq();this.sa=this.Ba;this.Ba=s;this.b.Bu(B);this.b.jz(q);this.sa.Ye()&&!this.hla?this.N4():this.Li()};m.prototype.UU=function(){return!l.isPresenting()&&e.browser()!=e.ui};m.prototype.N4=function(){this.ji=this.wT(this.wJ(this.sa,q));this.L=m.LR;this.p()};m.prototype.i7=function(){this.ji=s;this.Li()};m.prototype.Lm=function(){this.L=m.Gm;this.Xv=this.c6();this.p()};m.prototype.vea=function(){this.b.ab(this.sa.getItem(),
this.Xv.La("alpha"))};m.prototype.bw=function(){this.b_();this.rq();this.q=n;this.Li()};m.prototype.Li=function(){this.L=m.re;if(this.sa){this.sa.Yy()&&this.trigger(new c(m.Ko,{panorama:this.sa.U}));this.sa.Ye()&&this.trigger(new c(m.Lo,{panorama:this.sa.U}));this.trigger(new c(m.SF,{level:this.sa}))}this.Ub.length===0?this.sa?this.trigger(new c(m.CF,{level:this.sa})):this.trigger(new c(m.DF)):this.Di()};m.prototype.p=function(){this.trigger(new c(m.M))};m.prototype.K8=function(a,b){if(!a||!b)return s;
var c=b.U;return c.get("partial")===q||c.get("hfov",360)<360?s:this.D7(a.U,c)};m.prototype.D7=function(a,c){var e=a.get("adjacentPanoramas")||[],e=e.filter(function(a){return a.vfa()});return b(e).find(function(a){return a.get("panorama")==c})};m.prototype.qp=function(){for(;this.Ub.length>0;){var a=this.Ub.shift();a&&this.trigger(new c(m.Ez,{level:a}))}};m.prototype.hH=function(){if(this.Ba){this.b.Se(this.Ba.getItem());this.b.Ce(this.Ba.getItem());this.b.ab(this.Ba.getItem(),0);this.trigger(new c(m.Fo,
{level:this.Ba}))}};m.prototype.rq=function(){this.AY(this.sa);this.sa=s};m.prototype.YL=function(){this.AY(this.Ba);this.Ba=s};m.prototype.AY=function(a){if(a){var b=a.getItem();this.b.removeItem(b);this.b.mz(b,0,0,0);this.b.wo(b,0,0,0);this.trigger(new c(m.Cm,{level:a}));this.trigger(new c(m.Ez,{level:a}))}};m.prototype.b_=function(){this.trigger(new c(m.VF,{panorama:this.sa.U,level:this.sa}))};m.prototype.Uda=function(){this.trigger(new c(m.WF,{panorama:this.Ba.U,level:this.Ba}))};m.prototype.X5=
function(){var a,b,c;if(this.xj){a=-1;b=2;c=this.HD}else{a=0;b=1;c=this.AH}return new o("linear",[new r("alpha",a,b,n)],c)};m.prototype.B6=function(){return new o("cubic_in_out",[new r("displayed",0,0.75,n),new r("displaying",-0.75,0,n)],this.HD)};m.prototype.c6=function(){return new o("linear",[new r("alpha",1,0,n)],this.KI)};m.prototype.wT=function(a){var b;b=Math.abs(this.q-a)>0.01?this.cfa:1;return new o("cubic_in_out",[new r("yaw",this.t,this.t,n),new r("pitch",this.B,this.B,n),new r("roll",
this.qa,this.qa,n),new r("hfov",this.q,a,n)],b)};m.prototype.wJ=function(a,b){var c=a.U,e=a.qd.get("initialPosition"),d;if(this.xj)d=this.q;d===n&&(d=e.get("hfov"));if(d===n)d=this.q;d===n&&(d=this.R7(c));if(b){var f=new g;f.pi(c.get("hfov",360),c.get("vfov",180),c.get("pitch",0),c.get("partial",B),c.ju(),c.ku(),c.get("hfovMax",90),c.wE(c.get("hfovMin",1)));f.setSize(this.b.aa(),this.b.la());if(this.xj)f.ca(this.t+this.xj.er(),this.B,this.qa,d);else{e=a.qd.get("initialPosition");this.rc.AP(d);f.ca(e.get("yaw",
0),e.get("pitch",0),e.get("roll",0),this.rc.q)}d=f.po()}return d};m.prototype.R7=function(a){return e.ic()?90:this.c$(a)?115:106};m.d3=8E3;m.prototype.c$=function(a){return this.z8(a)<=m.d3};m.prototype.z8=function(a){return(a=a.get("frames")[0].lga())&&a[0]};m.prototype.iD=function(a,c){a&&b(a.Fga()).each(function(a){this.b.aF(a,c)},this)};m.prototype.z_=function(a){a&&a.Cj().forEach(function(a){if(j.hc("HotspotPanoramaOverlay",a)){b(a.get("items")||[]).each(function(a){var b=new h(a.uc());this.b.ab(a.getItem(),
b.Ve())},this);var c=a.get("rollOverDisplay")===q,e=a.get("centerOverDisplay")===q,d=this.Ke&&a.get("enabled")!==B&&(!l.isPresenting()||a.get("enabledInVR",a.get("enabledInCardboard"))),d=!d||c||e;this.b.ab(a.getItem(),d?0:1)}else if(j.hc("VideoPanoramaOverlay",a)){c=new h(a.uc());d=this.Ke&&a.get("enabled")!==B&&(!l.isPresenting()||a.get("enabledInVR",a.get("enabledInCardboard")));this.b.ab(a.getItem(),d?c.Ve():0)}}.bind(this))};m.prototype.sca=function(a,b){a&&a.Cj().forEach(function(a){j.hc("FlatHotspotPanoramaOverlay",
a)&&this.b.ab(a.getItem(),b)}.bind(this))};m.prototype.h9=function(a){a&&a.Cj().forEach(function(a){j.hc("PopupPanoramaOverlay",a)&&this.b.ab(a.getItem(),0)}.bind(this))};m.prototype.Fd=function(){this.F.Ud(l.isPresenting());this.Ba&&this.z_(this.Ba)};m.re="stopped";m.ZG="pre change zoom";m.LR="post change zoom";m.Ih="blending";m.Gm="disolving";m.M="request frame";m.Fo="level added";m.Cm="level removed";m.Ez="level unload request";m.SF="level show end";m.CF="all pending levels displayed";m.DF="all pending levels hidden";
m.Ko="panorama preload show";m.VF="panorama end";m.WF="panorama start";m.Lo="panorama show";m.Jo="panorama hide";return m});
define("cG",["require","gD","bB","dx","dU"],function(a){var b=a("gD"),d=a("bB"),c=a("dx");a("dU");var f=b.extend(c,function(a){c.call(this);this.b=a});f.prototype.clear=function(){this.end();this.b=s};f.prototype.Jk=function(a){for(var b=this.Ip(a),c=a.U.gr(),e=0;e<b;e++)this.b.ab(this.dn(a,e),e==c?1:0);this.b.Ce(this.dn(a,c))};f.prototype.getTime=P(0);f.prototype.start=E();f.prototype.end=E();f.prototype.play=E();f.prototype.pause=E();f.prototype.pu=E();f.prototype.wu=E();f.prototype.kF=E();f.prototype.stop=
E();f.prototype.zr=E();f.prototype.wr=E();f.prototype.oF=E();f.prototype.fa=E();f.prototype.ff=E();f.prototype.Ip=function(a){return a.U.get("frames").length};f.prototype.V7=function(a,b){return a.U.get("frames")[b]};f.prototype.dn=function(a,b){return a.U.get("frames")[b].getItem()};f.prototype.p=function(){this.trigger(new d(f.M))};f.prototype.hy=function(a,b){this.trigger(new d(f.Do,{level:a,index:b}))};f.prototype.Nda=function(a,b){this.trigger(new d(f.Eo,{level:a,index:b}))};f.prototype.yj=function(a,
b,c,e,l,p){this.trigger(new d(f.Dh,{time:a,duration:b,transitionPosition:c,transitionLength:e,steps:l,selectedStep:p}))};f.prototype.Mf=function(){this.trigger(new d(f.Bb,{state:this.ff()}))};f.M="request frame";f.Do="frame display";f.Eo="frame hide";f.Dh="time change";f.Bb="playback state change";return f});
define("U","require,jquery.mod,cu,gD,iu,ew,bB,cG,dM,cS,he,X,gf".split(","),function(a){a("jquery.mod");var b=a("cu"),d=a("gD"),c=a("iu"),f=a("ew");a("bB");var j=a("cG"),g=a("dM"),h=a("cS");a("he");var e=a("X"),l=a("gf"),p=d.extend(j,function(a){j.call(this,a);this.iB=s;this.fJ=this.Gp=0;this.U=this.Xp=s;this.cw=n;this.HL=B;this.q=360;this.Jd=180;this.B=0.5;this.Th=0.2;this.Gl=0.45;this.WV=5E3;this.$V=1;this.ZB=[[0.5,0.25],[0.5,0.375],[0.25,0.5],[0.375,0.5],[0.5,0.5],[0.625,0.5],[0.75,0.5],[0.5,0.625],
[0.5,0.75]];this.s$=[0.05,0.1,0.05,0.1,0.4,0.1,0.05,0.1,0.05]});p.prototype.Jk=function(a){j.prototype.Jk.call(this,a);for(var b=0;b<this.Ip(a);b++)this.hy(a,b);this.Cq(a)};p.prototype.start=function(a){this.Cq(a);this.p()};p.prototype.end=function(){this.Cq(s)};p.prototype.Cq=function(a){if(this.pa!=a){if(this.pa){this.pa=s;if(this.U){this.cea();this.U=s;this.hea()}}if(this.pa=a){this.U=a=this.pa.U;this.U4();this.q=a.get("hfov",360);this.Jd=a.get("vfov",180);this.B=a.get("pitch",0);this.PL=this.pq=
n;this.k$(a);this.he=0.5;this.HS=n}}};p.prototype.oF=function(){this.HL=B};p.prototype.zr=function(a){this.he=a/p.gv;this.p();this.HL=q};p.prototype.wr=function(a){this.zr(a)};p.prototype.yj=function(){var a=this.Ip(this.pa),b=this.he*(a-1),c=Math.max(0,Math.min(a-2,Math.floor(b))),e=n;b-c<0.01?e=c:b-c>0.99&&(e=c+1);j.prototype.yj.call(this,this.he*p.gv,p.gv,this.he*p.gv,p.gv,a,e)};p.prototype.fa=function(a){if(this.pa){var b=this.b.Xa(),c=this.b.gb(),d=this.b.Sc(),f=0;if(this.pq!==n&&this.PL!==n&&
this.lY!==n)var j=b-this.pq,l=c-this.PL,p=d-this.lY,f=Math.sqrt(j*j+l*l+p*p)*1E3/a;this.pq=b;this.PL=c;this.lY=d;for(var j=this.Ip(this.pa),C=this.he*(j-1),l=Math.max(0,Math.min(j-2,Math.floor(C))),p=l+1,C=1-(C-l),v=1-C,D=[],F=0;F<j;F++)D.push(0);D[p]=v;D[l]=v<1?1:0;for(F=0;F<j;F++)this.b.ab(this.dn(this.pa,F),D[F]);if(this.HS!=p){this.HS=p;this.b.Ce(this.dn(this.pa,p))}this.yj();if(this.iB&&(f<=this.$V||e.isPresenting())&&!this.HL){var F=Math.PI/180,f=180/Math.PI,D=this.b.aa(),J=this.b.la(),I=new h;
I.tm(-d*F);I.Nk(-c*F);I.sm(-b*F);b=[];for(F=0;F<this.ZB.length;F++){d=this.b.Qi.SP(new g(this.ZB[F][0]*D,this.ZB[F][1]*J,0)).Sga();d.apply(I);c=d.Xa()*f;d=d.gb()*f;b.push(Math.round((90-d)*this.fJ/180)*this.Gp+Math.round((c+180)*this.Gp/360))}c=[];for(F=0;F<j;F++){d=this.iB[F];for(D=f=0;D<this.ZB.length;D++)f=f+this.s$[D]*d[b[D]];c.push(f)}F=c[l];b=c[p];l=C*c[l]+v*c[p];a=Math.min(1/j,a/this.WV);j=this.he;l<this.Th?j=b>l?j+a:j-a:l>this.Gl&&(j=F<l?j-a:j+a);j=Math.min(1,Math.max(0,j));if(this.he!=j){this.he=
j;this.p()}}}};p.prototype.k$=function(a){var e=b(a.get("frames",[])).map(function(a){return a.get("thumbnailUrl")});this.Xp=b(e).map(function(a){var b=s;if(a){b=new l(f.pf);b.bind(c.ib,this.WW,this);b.bind(c.Zf,this.XW,this)}return b},this);b(this.Xp).each(function(a,b){a&&a.load(e[b])})};p.prototype.hea=function(){this.DT();this.iB=s};p.prototype.Z$=function(){this.Gp=150;b(this.Xp).map(function(a){if(a)this.Gp=Math.min(a.Ea()*360/this.q,this.Gp)},this);this.fJ=Math.round(this.Gp/2);this.iB=b(this.Xp).map(function(a){return this.i6(a,
this.Gp,this.fJ,this.q,this.Jd,this.B)},this);this.DT()};p.prototype.i6=function(a,b,c,e,d,f){var g=document.createElement("canvas");g.width=b;g.height=c;var h=g.getContext("2d");h.fillStyle="#000000";h.fillRect(0,0,b,c);if(a){a=a.Td();e=Math.round(b*e/360);h.drawImage(a,(b-e)*0.5,Math.round(c*(90-(f+d*0.5))/180),e,Math.round(c*d/180))}b=[];g=h.getImageData(0,0,g.width,g.height);for(c=h=0;h<g.height;h++)for(d=0;d<g.width;d++,c=c+4)b.push((0.299*g.data[c]+0.587*g.data[c+1]+0.114*g.data[c+2])/255);
return b};p.prototype.DT=function(){b(this.Xp).each(function(a){if(a){a.unbind(c.ib,this.WW,this);a.unbind(c.Zf,this.XW,this);a.cancel()}},this);this.Xp=s};p.prototype.WW=function(){b(this.Xp).filter(function(a){return a&&!a.th()}).length==0&&this.Z$()};p.prototype.XW=E();p.prototype.U4=function(){this.U.bind(c.Qa("minimumLuminance"),this.Nl,this);this.U.bind(c.Qa("maximumLuminance"),this.Nl,this);this.U.bind(c.Qa("luminanceChangeTime"),this.Nl,this);this.U.bind(c.Qa("maxLuminanceChangeSpeed"),this.Nl,
this);this.Nl()};p.prototype.cea=function(){this.U.unbind(c.Qa("minimumLuminance"),this.Nl,this);this.U.unbind(c.Qa("maximumLuminance"),this.Nl,this);this.U.unbind(c.Qa("luminanceChangeTime"),this.Nl,this);this.U.unbind(c.Qa("maxLuminanceChangeSpeed"),this.Nl,this)};p.prototype.Nl=function(){this.Th=this.U.get("minimumLuminance");this.Gl=this.U.get("maximumLuminance");if(this.Th==n&&this.Gl==n){this.Th=0.2;this.Gl=0.45}else this.Th==n?this.Th=Math.min(0.2,this.Gl):this.Th==n?this.Gl=Math.max(0.45,
this.Th):this.Th=Math.min(this.Th,this.Gl);this.Gl=Math.min(1,Math.max(0,this.Gl));this.Th=Math.min(1,Math.max(0,this.Th));this.WV=Math.max(100,this.U.get("luminanceChangeTime",5E3));this.$V=this.U.get("maxLuminanceChangeSpeed",1);this.p()};p.gv=1E3;return p});
define("hJ",["require","gD","r","dU","cG"],function(a){var b=a("gD"),d=a("r"),c=a("dU"),f=a("cG"),a=b.extend(f,function(a){f.call(this,a);this.gB=this.hB=s;this.wf=this.we=5E3;this.Pb=n;this.Lb=this.we;this.eg=1;this.pa=s;this.Sp=B});a.prototype.Jk=function(a){f.prototype.Jk.call(this,a);this.hy(a,a.U.gr())};a.prototype.start=function(a){this.pa=a;this.Sp=B;this.Zj=q;a=this.pa.U;this.hB=d.watch(a,"frameDisplayTime",this.oN,this);this.gB=d.watch(a,"frameTransitionTime",this.oN,this);this.eg=this.Ip(this.pa);
this.Pb=0;this.oN(q);this.yj();this.p();this.Mf()};a.prototype.oN=function(a){var b=this.pa.U,c=Math.max(100,b.get("frameDisplayTime",5E3)),b=Math.max(100,b.get("frameTransitionTime",5E3));if(this.we!=c||this.wf!=b||a){var a=this.us(),e=this.nU();this.qJ();this.we=c;this.wf=b;1<this.eg?(this.Pb=a*(this.we+this.wf)+e*this.we+e*this.wf,this.Lb=this.eg*(this.we+this.wf)):(this.Pb=e*this.we,this.Lb=this.we)}};a.prototype.us=function(){return 1<this.eg?Math.floor(this.Pb/(this.we+this.wf)):0};a.prototype.T7=
function(){return 1<this.eg?(this.us()+1)%this.eg:0};a.prototype.nU=function(){return 1<this.eg?Math.max(0,Math.min(1,this.Pb-this.us()*(this.we+this.wf))):this.Pb/this.we};a.prototype.qJ=function(){return 1<this.eg?Math.max(0,Math.min(1,(this.Pb-(this.us()*(this.we+this.wf)+this.we))/this.wf)):0};a.prototype.uda=function(a){var b=Math.floor(a/this.wf);return b*(this.we+this.wf)+this.we+(a-b*this.wf)};a.prototype.OZ=function(a){var b=Math.floor(a/(this.we+this.wf)),a=Math.max(0,a-b*(this.we+this.wf)-
this.we);return b*this.wf+a};a.prototype.play=function(){this.Sp&&(this.Sp=B,this.Zj&&this.p(),this.Mf())};a.prototype.pause=function(){this.Sp=q;this.Mf()};a.prototype.pu=function(){this.pause()};a.prototype.wu=function(){this.play()};a.prototype.end=function(){this.Zj=B;this.pa=s;this.hB&&(this.hB.unwatch(),this.hB=s);this.gB&&(this.gB.unwatch(),this.gB=s);this.Mf()};a.prototype.zr=function(a){this.Pb=a;this.p()};a.prototype.wr=function(a){this.Pb=this.uda(a);this.p();this.pause()};a.prototype.fa=
function(a){if(this.Zj){this.Sp||(this.Pb+=a);this.Pb%=this.Lb;var a=this.us(),b=this.T7();this.nU();for(var c=this.qJ(),e=0;e<this.eg;e++){var d;d=e==a?1:e==b?c:0;var f=this.dn(this.pa,e),o=this.b.hr(f);o!=d&&(0<d&&1>d&&this.b.Ce(f),0<d&&0==o?this.hy(this.pa,e):0<o&&0==d&&this.Nda(this.pa,e),this.b.ab(f,d))}this.yj();this.Sp||this.p()}};a.prototype.ff=function(){return this.Zj?this.Sp?c.Xb:c.P:c.J};a.prototype.Mf=function(){f.prototype.Mf.call(this,this.ff())};a.prototype.yj=function(){var a,b,c=
this.Pb,e=this.Lb,d=this.OZ(this.Pb),p=this.OZ(this.Lb);a=this.eg+1;b=0===this.qJ()?this.us():n;f.prototype.yj.call(this,c,e,d,p,a,b)};return a});define("bg",["require","gD","cG"],function(a){var b=a("gD"),d=a("cG"),a=b.extend(d,function(a){d.call(this,a)});a.prototype.Jk=function(a){d.prototype.Jk.call(this,a);for(var b=0;b<this.Ip(a);b++)this.hy(a,b)};return a});
define("dT",["require","gD","iu","cO","eW"],function(a){var b=a("gD"),d=a("iu"),c=a("cO"),f=a("eW"),a=b.extend(f,function(){f.call(this)});a.Nu="cueChange";c.C("VideoPanorama",a).D("Panorama").K({cues:"array[VideoCue]",loop:"bool"}).Jb([d.ra,a.Nu]);return a});
define("hW","require,cu,iu,bB,dU,dT,I".split(","),function(a){function b(){this.H=this.xy=s;this.df=B;this.He=[];this.Ng=this.hs=n;this.Ec=[]}function d(a,b,c){this.time=a;this.cue=b;this.action=c}var c=a("cu"),f=a("iu"),j=a("bB"),g=a("dU"),h=a("dT"),e=a("I");b.prototype.clear=function(){this.end()};b.prototype.start=function(a,b){this.end();this.xy=a;this.H=b;this.W4();this.mI();this.Ux();this.Sl()};b.prototype.end=function(){if(this.xy){this.Mv();this.He=[];this.eea();this.H=this.xy=s}};b.prototype.W4=
function(){this.H.bind(e.of,this.af,this,q);this.H.bind(e.nd,this.Sl,this,q);this.H.bind(e.kf,this.Pe,this,q)};b.prototype.eea=function(){this.H.unbind(e.of,this.af,this,q);this.H.unbind(e.nd,this.Sl,this,q);this.H.unbind(e.kf,this.Pe,this,q)};b.prototype.Sl=function(){var a=this.H.Hk()!=g.J;if(this.df!=a)(this.df=a)?this.Ux():this.Mv()};b.prototype.Pe=function(){this.Ht()};b.prototype.af=function(){this.Ht()};b.prototype.Ux=function(){this.Ng=this.hs=0};b.prototype.Ht=function(){if(this.H&&this.df){var a=
this.Ec.slice(),b=this.H.Ue(),e=b-this.hs;if(e<0){this.Ec=[];this.Ng=0}e=e>=0&&e<2;this.hs=b;var d;for(d=this.Ng;d<this.He.length;d++)if(this.He[d].time>b)break;for(;this.Ng<d;this.Ng++){b=this.He[this.Ng];if(b.action=="start"){this.Ec=c(this.Ec).union([b.cue]);e&&b.cue.trigger(new j(f.Qk))}else{this.Ec=c(this.Ec).difference([b.cue]);e&&b.cue.trigger(new j(f.ra))}}(a.length!=this.Ec.length||c(a).intersection(this.Ec).length!=this.Ec.length)&&this.gy()}};b.prototype.Mv=function(){if(this.Ec.length>
0){this.Ec=[];this.gy()}};b.prototype.gy=function(){this.xy.trigger(new j(h.Nu,{activeCues:this.Ec.slice()}))};b.prototype.mI=function(){this.He=[];var a=this.xy.get("cues",[]);c(a).each(function(a){this.He.push(new d(a.get("startTime",0),a,"start"));this.He.push(new d(a.get("endTime",Number.POSITIVE_INFINITY),a,"end"))},this);this.He.sort(function(a,b){return a.time==b.time?a.action==b.start?0:a.action=="start"?-1:1:a.time-b.time})};return b});
define("hi","require,gD,iu,dU,bB,cG,hW,o,I,cw,il,bd".split(","),function(a){var b=a("gD"),d=a("iu"),c=a("dU"),f=a("bB"),j=a("cG"),g=a("hW");a("o");var h=a("I"),e=a("cw"),l=a("il"),p=a("bd"),a=b.extend(j,function(a){j.call(this,a);this.Sj=new g;this.Bg=this.TT=this.vb=this.H=this.pa=this.rd=s;this.Jc=B;this.R=c.J});a.prototype.clear=function(){this.Sj.clear();this.Sj=s;j.prototype.clear.call(this)};a.prototype.Jk=function(a){for(var b=this.Ip(a),c=a.U.gr(),e=0;e<b;e++)this.b.ab(this.dn(a,e),0);this.b.Ce(this.dn(a,
c));this.Cq(a)};a.prototype.start=function(a){this.Cq(a)};a.prototype.getTime=function(){return this.H?this.H.Ue():0};a.prototype.ff=function(){return this.H?this.H.Hk():c.J};a.prototype.play=function(){this.H&&this.H.Sb(c.P)};a.prototype.pause=function(){this.H&&this.H.Sb(c.Xb)};a.prototype.kF=function(){this.H&&this.H.Sb(c.Xb)};a.prototype.stop=function(){this.H&&this.H.Sb(c.J)};a.prototype.end=function(){this.Cq(s)};a.prototype.zr=function(a){if(this.H){this.H.Sb(c.P);this.H.zu(a)}};a.prototype.ad=
function(a){this.Jc=a;this.H&&this.H.ad(a)};a.prototype.fa=function(a){if(this.rd){this.rd.mb(a);this.b.ab(this.TT,this.rd.La("alpha"));if(this.rd.De()){this.rd=s;this.hy(this.pa,this.pa.U.gr())}}a=this.H.mE();if(!this.Bg||!this.Bg.isEqual(a)){this.Bg=a;if(this.Bg.isEmpty()){if(this.vb.dY){this.vb.Pk(s);this.b.ri(this.vb)}}else{this.vb.Pk(this.Bg.Qg);this.b.ri(this.vb)}this.p()}else this.H.Hk()==c.P&&this.p()};a.prototype.Cq=function(a){if(this.pa!=a){if(this.pa){this.pa=s;this.Sj.end();if(this.H){this.R=
c.J;this.Ax();this.H.Sb(c.J);this.H.clear();this.H=s}if(this.vb){this.vb.Pk(s);this.vb=s}}if(this.pa=a){a=this.pa.U.gr();this.vb=this.V7(this.pa,a).O0();this.TT=this.dn(this.pa,a);this.H=e.create(this.b.$a(),this.vb.O_);this.H.ad(this.Jc);this.H.zu(this.pa.Hq||0);this.mv();this.H.Sb(c.P);this.rd=new l("linear",[new p("alpha",0,1)],300);this.Sj.start(this.pa.U,this.H);this.p()}}};a.prototype.mv=function(){this.H.bind(h.of,this.af,this,q);this.H.bind(h.Fg,this.Kl,this,q);this.H.bind(h.nd,this.Sl,this,
q);this.H.bind(h.kf,this.Pe,this,q)};a.prototype.Ax=function(){this.H.unbind(h.of,this.af,this,q);this.H.unbind(h.Fg,this.Kl,this,q);this.H.unbind(h.nd,this.Sl,this,q);this.H.unbind(h.kf,this.Pe,this,q)};a.prototype.Sl=function(){this.p();this.Mf()};a.prototype.af=function(){this.yj();this.p()};a.prototype.Kl=function(){this.yj();this.p()};a.prototype.yj=function(){this.H&&j.prototype.yj.call(this,this.H.Ue(),this.H.ki())};a.prototype.Pe=function(){if(this.pa&&this.pa.U.get("loop")&&this.H){this.H.zu(0);
this.H.Sb(c.P)}this.p();this.pa.U.trigger(new f(d.ra))};return a});
define("q","require,gD,dU,bB,dx,cO,cG,U,hJ,bg,hi".split(","),function(a){var b=a("gD");a("dU");var d=a("bB"),c=a("dx"),f=a("cO"),j=a("cG"),g=a("U"),h=a("hJ"),e=a("bg"),l=a("hi"),p=b.extend(c,function(a){c.call(this);this.b=a;this.BK=this.KA(h);this.KJ=this.KA(g);this.YD=this.KA(l);this.OM=this.KA(e);this.Fb=s});p.prototype.clear=function(){this.GA(this.BK);this.BK=s;this.GA(this.KJ);this.KJ=s;this.GA(this.YD);this.YD=s;this.GA(this.OM);this.b=this.Fb=this.OM=s};p.prototype.KA=function(a){a=new a(this.b);
a.bind(j.Do,this.Ww,this,q);a.bind(j.Eo,this.Xw,this,q);a.bind(j.M,this.yb,this,q);a.bind(j.Dh,this.Nn,this,q);a.bind(j.Bb,this.wd,this,q);return a};p.prototype.GA=function(a){a.unbind(j.Do,this.Ww,this);a.unbind(j.Eo,this.Xw,this);a.unbind(j.M,this.yb,this);a.unbind(j.Dh,this.Nn,this);a.unbind(j.Bb,this.wd,this);a.clear()};p.prototype.oK=function(a,b){return f.hc(b,a.U)};p.prototype.jU=function(a){return this.oK(a,"HDRPanorama")?this.KJ:this.oK(a,"LivePanorama")?this.BK:this.oK(a,"VideoPanorama")?
this.YD:this.OM};p.prototype.Jk=function(a){(this.Fb=this.jU(a))&&this.Fb.Jk(a)};p.prototype.start=function(a){this.yb();(this.Fb=this.jU(a))&&this.Fb.start(a)};p.prototype.ff=function(){if(this.Fb)return this.Fb.ff()};p.prototype.getTime=function(){return this.Fb?this.Fb.getTime():0};p.prototype.play=function(){this.Fb&&this.Fb.play()};p.prototype.pause=function(){this.Fb&&this.Fb.pause()};p.prototype.pu=function(){this.Fb&&this.Fb.pu()};p.prototype.wu=function(){this.Fb&&this.Fb.wu()};p.prototype.kF=
function(){this.Fb&&this.Fb.kF()};p.prototype.stop=function(){this.Fb&&this.Fb.stop();this.trigger(new d(p.Dh,{duration:0,time:0,steps:n,selectedStep:n}))};p.prototype.end=function(){if(this.Fb){this.Fb.end();this.Fb=s}};p.prototype.zr=function(a){this.Fb&&this.Fb.zr(a)};p.prototype.wr=function(a){this.Fb&&this.Fb.wr(a)};p.prototype.oF=function(){this.Fb&&this.Fb.oF()};p.prototype.fa=function(a){this.Fb&&this.Fb.fa(a)};p.prototype.ad=function(a){this.YD.ad(a)};p.prototype.Ww=function(a){this.trigger(new d(p.Do,
a.data))};p.prototype.Xw=function(a){this.trigger(new d(p.Eo,a.data))};p.prototype.yb=function(){this.trigger(new d(p.M))};p.prototype.Nn=function(a){this.trigger(new d(p.Dh,a.data))};p.prototype.wd=function(a){this.trigger(new d(p.Bb,a.data))};p.M="request frame";p.Do="frame display";p.Eo="frame hide";p.Dh="time change";p.Bb="playback state change";return p});
define("hn",["require","ew"],function(a){function b(a,b,d,g,h){this.U=a;this.yd=b;this.Op=d;this.qd=g;this.Hq=h}var d=a("ew");b.prototype.getItem=function(){switch(this.yd){case b.Gg:return this.U.$c();default:return this.U.oE()}};b.prototype.Cj=function(){switch(this.yd){case b.Gg:return this.U.Sy();default:return this.U.zga()}};b.prototype.Fga=function(){switch(this.yd){case b.Gg:var a=this.U.ir(),a=a&&[a]||[];return a.map(function(a){return a.FO()});default:return a=this.U.oo(),a.map(function(a){return a.N0()})}};
b.prototype.Ye=function(){return this.Op===n?0==this.pE():this.Op};b.prototype.d2=H("Op");b.prototype.du=function(){return this.Ye()?d.Cka:d.pf};b.prototype.Yy=function(){return this.yd==b.Gg};b.prototype.Kk=function(){return this.yd==b.Tu};b.prototype.pE=function(){return this.yd==b.Gg||!this.cV()?0:1};b.prototype.tO=function(){return this.cV()?2:1};b.prototype.cV=function(){return this.U.LO(this.qd.get("initialPosition"))};b.Gg="preload";b.Tu="load";return b});
define("hj","require,gD,bB,dx,iu,hn,o,fv,X".split(","),function(a){function b(a){this.item=a;this.bz=0;this.G2=this.item.Xe().length}var d=a("gD"),c=a("bB"),f=a("dx"),j=a("iu"),g=a("hn"),h=a("o"),e=a("fv"),l=a("X"),p=d.extend(f,function(a){f.call(this);this.b=a;this.KL=q;this.L="inactive";this.qj=this.aj=this.vg=s;this.jh=[];this.xa=s;this.Ls=[];this.EK=[];this.fA=[]});p.prototype.clear=function(){this.stop();this.b=s};p.prototype.GP=function(a){this.KL=a===n?q:a;this.b.$a().mo("Panorama").forEach(function(a){a.FP(this.KL)}.bind(this))};
p.prototype.xha=function(a,c,e){this.stop();var d=[];if(this.s5(a)){this.vg=new g(a,g.Gg,q,c,e);this.qj=this.MU(this.vg);this.jh=this.vg.U.ir().GO();this.pB(this.vg).h2([]);d=d.concat([this.qj],this.jh)}else{this.qj=this.vg=s;this.jh=[]}this.aj=new g(a,g.Tu,!this.vg,c,e);this.xa=this.AU(this.aj);d.push(this.xa);this.Ls=d.map(function(a){return new b(a)});this.x_();this.RV();this.Waa(a)};p.prototype.stop=function(){if(this.qj){if(this.L=="preloading panorama"){this.ID(this.qj);this.Ct(this.qj,Priority.Nr)}this.qj=
s}if(this.jh.length>0){this.L=="preloading hotspots"&&this.jh.forEach(function(a){if(this.LL.indexOf(a)<0){this.ID(a);this.Ct(a,Priority.zG)}}.bind(this));this.jh=[]}if(this.xa){if(this.L=="loading panorama"){this.ID(this.xa);this.Ct(this.xa,this.aj.Ye()?Priority.Nr:Priority.pf)}this.xa=s}this.Ls=[];this.vg=s;if(this.aj){this.aj=s;this.trigger(new c(p.Sk))}this.L="inactive";this.EZ()};p.prototype.bka=function(a){if(a.yd==g.Gg){this.Ct(this.MU(a),Priority.Nr);this.pB(a).Zt().forEach(function(a){this.Ct(a,
Priority.zG)}.bind(this));this.pB(a).h2(a.U.ir().GO())}else this.Ct(this.AU(a),a.Ye()?Priority.Nr:Priority.pf)};p.prototype.Ct=function(a,b){var c=this.EK.indexOf(a);if(c>=0){this.EK.splice(c,1);this.b.yh(a,b)}};p.prototype.RV=function(){if(this.L=="inactive"&&this.qj){this.L="preloading panorama";this.wH(this.qj);this.b.mi(this.qj,Priority.Nr)}else if(this.L=="preloading panorama"&&this.jh.length>0){this.L="preloading hotspots";this.LL=[];this.jh.forEach(function(a){this.wH(a);this.b.mi(a,Priority.zG)}.bind(this))}else if(this.L==
"inactive"&&!this.qj||this.L=="preloading panorama"&&this.jh.length==0||this.L=="preloading hotspots"){this.L="loading panorama";this.wH(this.xa);this.b.mi(this.xa,this.aj.Ye()?Priority.Nr:Priority.pf)}else{this.L="inactive";this.trigger(new c(p.Sk))}};p.prototype.MW=function(a){var b=a.source;if(this.L=="preloading panorama")this.trigger(new c(p.Bm,{level:this.vg}));else if(this.L=="loading panorama")this.trigger(new c(p.Bm,{level:this.aj}));else{this.LL.push(b);this.r4(b);this.trigger(new c(p.UF,
{overlay:this.u8(b),preload:q}))}this.LW(a)};p.prototype.NW=function(a){this.LW(a)};p.prototype.LW=function(a){a=a.source;this.EK.push(a);this.bZ(a,100);this.ID(a);(this.L=="preloading panorama"||this.L=="loading panorama"||this.LL.length==this.jh.length)&&this.RV()};p.prototype.OW=function(a){this.bZ(a.source,a.bz)};p.prototype.bZ=function(a,b){for(var c=0;c<this.Ls.length;c++)if(this.Ls[c].item==a){this.Ls[c].bz=b;this.x_();break}};p.prototype.x_=function(){var a=0,b=0;this.Ls.forEach(function(c){a=
a+c.bz*c.G2;b=b+c.G2});a=a/b;this.trigger(new c(p.Xf,{percent:a}))};p.prototype.Waa=function(a){this.EZ();this.fA=a.get("adjacentPanoramas",[]).map(function(a){return a.get("panorama")});this.fA.forEach(function(a){e.NE(a,1)})};p.prototype.EZ=function(){for(;this.fA.length;)e.NE(this.fA.shift(),-1)};p.prototype.r4=function(a){for(var b=this.pB(this.vg),c=0,e=this.jh.indexOf(a);e<this.jh.length;e++){var d=b.Zt().indexOf(this.jh);if(d>=0){c=d;break}}b.Se(a,c);this.p()};p.prototype.MU=function(a){return a.U.ir().HO()};
p.prototype.pB=function(a){return a.U.ir().FO()};p.prototype.AU=function(a){return a.U.oE()};p.prototype.u8=function(a){for(var b=this.vg.U.Sy(),c=0;c<b.length;c++)if(b[c].$c()==a)return b[c];return s};p.prototype.s5=function(a){return!this.KL||l.isPresenting()||h.zd()==h.Iu||!a.LO()||this.b.OP(a.oE())?B:q};p.prototype.wH=function(a){a.bind(j.ib,this.MW,this,q);a.bind(j.Zf,this.NW,this,q);a.bind(j.av,this.OW,this,q)};p.prototype.ID=function(a){a.unbind(j.ib,this.MW,this);a.unbind(j.Zf,this.NW,this);
a.unbind(j.av,this.OW,this)};p.prototype.p=function(){this.trigger(new c(p.M))};p.M="request frame";p.Xf="loading progress";p.UF="overlay loaded";p.Bm="level loaded";p.Sk="load stopped";return p});
define("fM",["gD","bB","dx","B"],function(a,b,d,c){var f=a.extend(d,function(a){d.call(this);this.b=a;this.An=this.Bf=this.U=this.Uh=s;this.B=this.t=0;this.q=0.5*Math.PI});f.prototype.clear=function(){this.stop();this.Uh=this.b=s};f.prototype.CP=function(a){this.Uh!=a&&(this.UH(),this.Uh=a,this.UR())};f.prototype.stop=function(){this.UH();this.U=this.Bf=s};f.prototype.fa=function(){this.t=this.b.Xa();this.B=this.b.gb();this.q=this.b.q;this.Uh&&this.An&&this.Uh.ti(this.An,this.t,this.B,this.q)};f.prototype.Aj=
function(a){var b=a.U;this.Bf=a;this.U!=b&&(this.UH(),this.U=b,this.UR())};f.prototype.jr=function(a){this.Bf==a&&this.stop()};f.prototype.UH=function(){this.An&&(this.g9(),this.An=s)};f.prototype.UR=function(){this.Uh&&this.U&&(this.An=this.Iba(this.U,this.Uh.get("map",s)))&&this.eda()};f.prototype.Iba=function(a,b){for(var c=a.get("mapLocations",[]),e=0;e<c.length;e++){var d=c[e];if(d.get("map")==b)return d}return 0<c.length?c[0]:s};f.prototype.eda=function(){this.Uh.kfa(this.An);this.Uh.bind(c.nf,
this.HY,this,q)};f.prototype.g9=function(){this.Uh&&(this.Uh.aia(this.An),this.Uh.unbind(c.nf,this.HY,this))};f.prototype.HY=function(a){this.trigger(new b(f.nf,{yawDelta:a.data.yawDelta}))};f.nf="request yaw change";return f});
define("D","require,gD,gU,iu,bB,cO,iC,ga,ej,df".split(","),function(a){var b=a("gD"),d=a("gU"),c=a("iu"),f=a("bB"),j=a("cO"),g=a("iC"),h=a("ga");RendererFactory=a("ej");Group=a("df");a=b.extend(d,function(){d.call(this);this.fd=this.cj=this.Fl=this.CK=this.wx=this.lb=this.xa=n});a.prototype.show=function(){this.set("visible",q)};a.prototype.hide=function(){this.set("visible",B)};a.prototype.play=function(){this.trigger(new f(c.Nj))};a.prototype.pause=function(){this.trigger(new f(c.Uo))};a.prototype.stop=
function(){this.trigger(new f(c.od))};j.C("PopupPanoramaOverlay",a).D("PanoramaOverlay").K({autoplay:"bool",darkenBackground:"bool",loop:"bool",yaw:"number",pitch:"number",hfov:"number",image:"ImageResource",video:"VideoResource",lookAwayToHide:"bool",lookAwayToHideTime:"number",popupDistance:"number",popupMaxHeight:"or[number,percent]",popupMaxWidth:"or[number,percent]",rotationX:"number",rotationY:"number",rotationZ:"number",hideEasing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]",
hideDuration:"number",showEasing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]",showDuration:"number",visible:"bool",playbackPositions:"array[PopupPanoramaOverlayPlaybackPosition]"}).si({hide:a.prototype.hide,pause:a.prototype.pause,play:a.prototype.play,show:a.prototype.show,stop:a.prototype.stop}).Jb([c.ra,c.Or,c.So]).qi([c.ga]);a.prototype.uc=function(){if(this.fd===n)this.fd=h.Jga(this);return this.fd};
a.prototype.getItem=function(){return this.va()};a.prototype.K0=function(){if(this.CK==n)this.CK=g.Hfa();return this.CK};a.prototype.au=function(){if(this.Fl==n){var a=this.uc()[0];this.Fl=g.Iy(this.get("image"),a.get("yaw"),a.get("pitch"),a.get("rotationX"),a.get("rotationY"),a.get("rotationZ"),a.get("hfov"),n,n);this.Lg(this.Fl)}return this.Fl};a.prototype.bu=function(){if(this.cj===n){this.cj=s;if(RendererFactory.g0){var a=this.uc()[0];this.cj=g.l0(this.get("video"),a.get("yaw"),a.get("pitch"),
a.get("rotationX"),a.get("rotationY"),a.get("rotationZ"),a.get("hfov"),n,n);this.Lg(this.cj)}}return this.cj};a.prototype.cu=function(){if(this.lb==n){var a=this.uc()[0];this.lb=g.gE(this.get("image"),a.get("yaw"),a.get("pitch"),a.get("rotationX"),a.get("rotationY"),a.get("rotationZ"),a.get("hfov"),n,n,this.va());this.Lg(this.lb)}return this.lb};a.prototype.va=function(){if(this.xa===n){var a=this.K0(),b=this.au(),c=this.bu(),d=[];a&&d.push(a);b&&d.push(b);c&&d.push(c);this.xa=new Group(d)}return this.xa};
a.prototype.$c=function(){if(this.lb===n){var a=this.cu(),b=[];a&&b.push(a);this.lb=new Group(b)}return this.lb};a.prototype.Lg=function(a){if(a){var b=this.get("popupDistance");b!==n&&a.vo(b)}};return a});define("fw",["gD","cO","eB"],function(a,b,d){a=a.extend(d,function(){d.call(this)});b.C("TripodCapPanoramaOverlay",a).D("CapPanoramaOverlay");return a});
define("iA","require,gD,gU,iu,dU,bB,cO,iC,ga,ej,df".split(","),function(a){var b=a("gD"),d=a("gU"),c=a("iu"),f=a("dU"),j=a("bB"),g=a("cO"),h=a("iC"),e=a("ga"),l=a("ej"),p=a("df"),o=b.extend(d,function(){d.call(this);this.fd=this.cj=this.Fl=this.wx=this.lb=this.xa=n;this.set("enabled",q);this.set("interactionEnabled",q);this.set("state",f.J)});o.prototype.play=function(){this.set("state",f.P)};o.prototype.pause=function(){this.set("state",f.Xb)};o.prototype.stop=function(){this.set("state",f.J)};o.nd=
"stateChange";g.C("VideoPanoramaOverlay",o).D("PanoramaOverlay").K({autoplay:"bool",blending:"number",chromaColor:"color",chromaThreshold:"number",chromaSmoothing:"number",distance:"number",enabled:"bool",enabledInCardboard:"bool",enabledInVR:"bool",interactionEnabled:"bool",videoVisibleOnStop:"bool",hfov:"number",vfov:"number",scaleMode:"enum[fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",image:"ImageResource",loop:"bool",pitch:"number",rotationX:"number",rotationY:"number",roll:"number",
state:"enum[stopped, playing, paused]",useHandCursor:"bool",video:"VideoResource",yaw:"number",playbackPositions:"array[PanoramaOverlayPlaybackPosition]"}).Jb([c.ra,c.Mj,c.oe,o.nd]).qi([c.ga]).si({pause:o.prototype.pause,play:o.prototype.play,stop:o.prototype.stop});o.prototype.set=function(a,b){if(a=="state"){var c=this.get("state")||f.J;c!=b&&this.trigger(new j(o.nd,{oldState:c,state:b}))}d.prototype.set.call(this,a,b)};o.prototype.uc=function(){if(this.fd===n)this.fd=e.uc(this);return this.fd};
o.prototype.getItem=function(){return this.va()};o.prototype.au=function(){if(this.Fl===n){var a=this.uc()[0];this.Fl=h.Iy(this.get("image"),a.get("yaw"),a.get("pitch"),a.get("rotationX"),a.get("rotationY"),a.get("roll"),a.get("hfov"),a.get("vfov"),this.get("scaleMode"));this.Lg(this.Fl)}return this.Fl};o.prototype.bu=function(){if(this.cj===n)if(l.g0){var a=this.uc()[0];this.cj=h.l0(this.get("video"),a.get("yaw"),a.get("pitch"),a.get("rotationX"),a.get("rotationY"),a.get("roll"),a.get("hfov"),a.get("vfov"),
this.get("scaleMode"));this.Lg(this.cj)}else this.cj=s;return this.cj};o.prototype.cu=function(){if(this.wx===n){var a=this.uc()[0];this.wx=h.gE(this.get("image"),a.get("yaw"),a.get("pitch"),a.get("rotationX"),a.get("rotationY"),a.get("roll"),a.get("hfov"),a.get("vfov"),this.get("scaleMode"),this.va());this.Lg(this.wx)}return this.wx};o.prototype.Lg=function(a){if(a){var b=this.get("vfov");a&&b!==n&&a.Hja(b);b=this.get("blending");b!==n&&a.tia(b);b=this.get("chromaColor");b!==n&&a.Bia(b);a.Dia(this.get("chromaThreshold",
0.4));a.Cia(this.get("chromaSmoothing",0.1));b=this.get("distance");b!==n&&a.vo(b)}};o.prototype.va=function(){if(this.xa===n){var a=this.au(),b=this.bu(),c=[];a&&c.push(a);b&&c.push(b);this.xa=new p(c)}return this.xa};o.prototype.$c=function(){if(this.lb===n){var a=this.cu(),b=[];a&&b.push(a);this.lb=new p(b)}return this.lb};return o});
define("dj",["require","gD","iu","bB","dx"],function(a){var b=a("gD");a("iu");var d=a("bB"),c=a("dx"),f=b.extend(c,function(a,b,d){c.call(this);this.b=a;this.m=b;this.Qc=d;this.YH=B;this.vV=q});f.prototype.match=function(a,b){return this.m==a&&this.Qc==b};f.prototype.clear=function(){this.m=this.b=s};f.prototype.yP=H("vV");f.prototype.lJ=function(){return this.vV&&this.m.get("interactionEnabled")};f.prototype.Mk=E();f.prototype.fa=E();f.prototype.p=function(){this.trigger(new d(f.M))};f.prototype.BA=
function(){this.trigger(new d(f.EF))};f.prototype.OC=function(){this.trigger(new d(f.cG))};f.prototype.dba=function(a,b){this.trigger(new d(f.IF,{text:a,priority:b}))};f.prototype.Uaa=function(a,b){this.trigger(new d(f.JF,{text:a,priority:b}))};f.prototype.Jda=function(){this.YH=q;this.trigger(new d(f.FF))};f.prototype.xfa=function(){this.YH=B};f.prototype.Kda=function(){this.trigger(new d(f.GF))};f.M="request frame";f.EF="capture interaction";f.cG="release interaction";f.IF="display tooltip";f.JF=
"hide tooltip";f.FF="click begin";f.GF="click end";return f});
define("eM","require,cu,gD,iu,bB,dj,J".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("iu"),f=a("bB"),j=a("dj"),g=a("J"),a=d.extend(j,function(a,b,d){j.call(this,a,b,d);this.G=this.b.getParent();this.G.bind(c.jc,this.ce,this);this.G.bind(c.oe,this.ij,this);this.G.bind(c.wb,this.Oe,this,q);this.G.bind(c.xb,this.rg,this,q);this.m.bind(c.Qa("enabled"),this.cq,this);this.cc=this.bc=n;this.co=s;this.Vi=this.ef=this.sg=this.Cf=B;this.sy=this.m.get("useHandCursor")===q;this.Ke=q;this.Gb=B;this.Np(q);
this.zj()});a.prototype.nB=function(){return[]};a.prototype.clear=function(){this.ef=this.Cf=B;this.zj();this.G.unbind(c.jc,this.ce,this);this.G.unbind(c.oe,this.ij,this);this.G.unbind(c.wb,this.Oe,this);this.G.unbind(c.xb,this.rg,this);this.m.unbind(c.Qa("enabled"),this.cq,this);b(this.nB()).each(function(a){a.clear()});this.co&&clearTimeout(this.co);j.prototype.clear.call(this)};a.prototype.fa=function(){this.Np(B)};a.prototype.Fj=function(a){if(this.Ke!=a){this.Ke=a;this.Np(q)}};a.prototype.Ud=
function(a){if(this.Gb!=a){this.Gb=a;this.Np(q)}};a.prototype.cq=function(){this.Np(q)};a.prototype.Oe=function(a){this.bc=a.x;this.cc=a.y;this.rj=a.x;this.oq=a.y;this.ef=this.Rp(this.oB())};a.prototype.ce=function(a){this.bc=a.x;this.cc=a.y;this.Np(q)};a.prototype.rg=function(a){this.bc=a.x;this.cc=a.y;if(this.ef){this.ef=B;this.qK(this.rj,this.oq,a.x,a.y)&&this.m.trigger(new f(c.ga))}};a.prototype.qK=function(a,b,c,d){a=c-a;b=d-b;b=Math.sqrt(a*a+b*b);d=this.fN()?10:5;return b<=d};a.prototype.fN=
function(){return this.G.Wg};a.prototype.ij=function(){this.cc=this.bc=n;this.Np(q);this.ef=B};a.prototype.Np=function(a){if(a){this.w5();this.Kq()}else this.Hba()};a.prototype.Hba=function(){if(!this.co){var a=this;this.co=setTimeout(function(){a.co=s;a.Kq()},300)}};a.prototype.w5=function(){if(this.co){clearTimeout(this.co);this.co=s}};a.prototype.Kq=function(){var a=this.Rp(this.Gb?this.GJ():this.oB()),b=this.Gb?B:a;if(this.sg!=a)(this.sg=a)?this.m.trigger(new f(c.Yb)):this.m.trigger(new f(c.Kb));
if(this.Cf!=b)(this.Cf=b)?this.m.trigger(new f(c.Mj)):this.m.trigger(new f(c.oe));this.zj()};a.prototype.GJ=function(){return[[this.b.aa()*0.5,this.b.la()*0.5]]};a.prototype.oB=function(){return[[this.bc,this.cc]]};a.prototype.dw=function(){return this.Ke&&this.m.get("enabled")!==B&&(!this.Gb||this.m.get("enabledInVR",this.m.get("enabledInCardboard")))};a.prototype.Rp=function(a){return this.lJ()?!!b(this.nB()).find(function(c){return!!b(a).find(function(a){a=c.km(a[0],a[1]);return!!a&&a!="transparent"},
this)},this):B};a.prototype.zj=function(){var a=this.Cf&&this.sy;if(this.Vi!=a)(this.Vi=a)?this.b.su(g.Uc):this.b.or(g.Uc)};return a});
define("db","require,gD,iu,ew,bB,dx,gf".split(","),function(a){var b=a("gD");EventName=a("iu");Priority=a("ew");Event=a("bB");EventDispatcher=a("dx");ImageLoader=a("gf");a=b.extend(EventDispatcher,function(a,b){EventDispatcher.call(this);this.Bf=b?a.We():a.Ad();this.EC=this.hk=s;this.ae=new ImageLoader(Priority.pf);this.ae.bind(EventName.ib,this.Ll,this);this.o=this.Bf&&this.Bf.get("width");this.A=this.Bf&&this.Bf.get("height");var d=this.Bf&&this.Bf.get("url");d&&this.ae.load(d)});a.prototype.clear=
function(){this.hk=this.te=this.Bf=s;this.ae.unbind(EventName.ib,this.Ll,this);this.ae.cancel();this.ae=s};a.prototype.Ea=N("o");a.prototype.Ma=N("A");a.prototype.P0=function(a,b){if(!this.hk)return"*";var j=this.EC.getImageData(a,b,1,1).data;if(j[3]>0)return"#"+d[j[0]]+d[j[1]]+d[j[2]]};a.prototype.Fe=E();a.prototype.gS=function(){var a=this.ae.Td();this.hk=document.createElement("canvas");this.hk.width=a.width;this.hk.height=a.height;this.EC=this.hk.getContext("2d");this.EC.drawImage(a,0,0)};a.prototype.Ll=
function(){this.gS();this.ae.cancel();this.o=this.hk.width;this.A=this.hk.height;this.trigger(EventName.W)};var d=function(a){for(var b=Array(256),a=0;a<16;a++)b[a]="0"+a.toString(16);for(;a<256;a++)b[a]=a.toString(16);return b}();return a});
define("cX","require,gD,bB,dx,iu,gB,cl".split(","),function(a){var b=a("gD"),d=a("bB"),c=a("dx"),f=a("iu"),j=a("gB"),g=a("cl"),a=b.extend(c,function(a,b){c.call(this);this.b=a;this.Da=new j(b);this.Ia=B;this.Vb=n;this.Xi=this.ds();this.Xi.bind(f.W,this.p,this,q);this.rv()});a.prototype.Fe=function(a){if(this.Ia!=a){this.Ia=a;this.Xi.Fe(a)}};a.prototype.ds=P(s);a.prototype.clear=function(){this.Xi&&this.Xi.unbind(f.W,this.p,this,q);this.Xi&&this.Xi.clear();this.Xi=s};a.prototype.fa=function(a,b){this.Da.gF(b);
this.rv()};a.prototype.rv=function(){this.t=this.Da.get("yaw")||0;this.B=this.Da.get("pitch")||0;this.qa=this.Da.get("roll")||0;this.wg=this.Da.get("rotationX")||0;this.xg=this.Da.get("rotationY")||0;this.q=this.Da.get("hfov");this.Jd=this.Da.get("vfov");this.ob=this.Da.Ve()};a.prototype.km=function(a,b){if(a!==n&&b!==n&&this.Xi){var c=this.Xi.Ea(),d=this.Xi.Ma(),f=this.ob>0&&g.pF(a,b,this.b,this.t,this.B,this.qa,this.wg,this.xg,0,c,d,this.q,this.Jd,this.Vb);if(f.xScaled!==n&&f.yScaled!=n){var j=
f.xScaled,m=f.yScaled;if(j>=0&&j<1&&m>=0&&m<1)if(c=this.Xi.P0(Math.floor(j*c),Math.floor(m*d)))return c}if(f.x!==n&&f.y!=n){j=f.x;m=f.y;if(j>=0&&j<1&&m>=0&&m<1)return"transparent"}}};a.prototype.p=function(){this.trigger(new d(f.W))};return a});
define("hs",["require","gD","db","cX"],function(a){var b=a("gD"),d=a("db");PanoramaOverlayMapController=a("cX");a=b.extend(PanoramaOverlayMapController,function(a,b,d,g){this.QJ=b;this.Qc=d;PanoramaOverlayMapController.call(this,a,g)});a.prototype.ds=function(){return new d(this.QJ,this.Qc)};return a});
define("ck",["require","gD","dw","eM","hs"],function(a){var b=a("gD"),d=a("dw"),c=a("eM"),f=a("hs"),j=b.extend(c,function(a,b,e,l){this.he=b;this.nq=this.he==j.QQ?-1:1;c.call(this,a,e,l);this.UB=[new f(this.b,this.m,l,[new d(0,-90*this.nq,0,1,this.m.get("hfov",90))])];this.pq=this.QL=this.yx=n;this.g=l?e.$c():e.va()});j.v3="tripod";j.QQ="ceiling";j.prototype.clear=function(){c.prototype.clear.call(this);this.g=this.UB=s};j.prototype.nB=function(){return this.UB||[]};j.prototype.fa=function(a){var b=
this.m.get("angle")||0,c=this.m.get("rotate")||B,d=this.m.get("inertia")||B,f=this.nq*this.b.Xa();c&&(b+=f+this.nq*this.b.rE(this.g));var j=b-f,r=0;this.yx!=n&&(d&&(c?(r=this.AS(f,this.pq,b,this.yx,this.QL,a),b=this.yx+r*a):(r=this.AS(f,this.pq,j,this.iY,this.QL,a),j=this.iY+r*a,b=j+f)),this.yx!=b&&this.p());this.iY=j;this.yx=b;this.QL=r;this.pq=f;this.b.ke(this.g,0,-90*this.nq,0,0,0,-b,1)};j.prototype.AS=function(a,b,c,d,f,j){for(a=(a-b)/j;c+180<d;)d-=360;for(;c-180>d;)d+=360;c=(c-d)/j;return c=
-0.1>a||0.1<a?this.nc(f,c,Math.abs(1/(1500*a))):this.nc(f,c,0.08)};j.prototype.nc=function(a,b,c){a=(b-a)*(1-c);1.0E-5>Math.abs(a)&&(a=0);return b-a};return j});
define("hc",["require"],function(){function a(a,f){d.style.fontFamily=f.fontFamily;d.style.fontSize=f.fontSize;d.style.fontWeight=f.fontWeight;d.style.fontStyle=f.fontStyle;d.innerHTML=a;document.body.appendChild(d);var j=new b(Math.ceil(d.clientWidth),Math.ceil(d.clientHeight));document.body.removeChild(d);return j}function b(a,b){this.width=a;this.height=b}var d=document.createElement("div");d.style.display="inline-block";d.style.margin=0;d.style.padding=0;d.style.whiteSpace="nowrap";a.KG=function(){this.fontFamily=
"Arial";this.fontSize="12px";this.fontWeight="400";this.fontStyle="normal"};a.D3=b;return a});
define("hY","require,cu,gD,hc,il,bd".split(","),function(a){function b(a,b){this.ea=a;this.Hb=5;this.Ua=c(b).map(function(b){return new d(a,b)},this);this.uw=this.Bw=this.hl=this.il=0;this.rN();this.I=document.createElement("canvas");this.I.width=this.il;this.I.height=this.hl;this.Za=this.I.getContext("2d");this.O=q;this.Wb=this.pj=-1}function d(a,b){this.lr=a;this.item=b;this.label=b.get("label");this.fontFamily=this.lr.get("fontFamily","Arial");this.fontSize="12px";this.backgroundColor=this.lr.get("backgroundColor",
"#000000");this.M1=this.lr.get("rollOverBackgroundColor",this.backgroundColor);this.pia=this.lr.get("selectedBackgroundColor",this.M1);this.z0=this.lr.get("fontColor","#000000");this.N1=this.lr.get("rollOverFontColor",b.z0);this.qia=this.lr.get("selectedFontColor",b.N1);this.A2=this.z2=this.y2=this.B2=this.height=this.width=this.left=this.top=0;this.status=B;this.RO=q}var c=a("cu");a("gD");var f=a("hc");a("il");a("bd");d.prototype.gka=function(){var a=new f.KG;a.fontFamily=this.fontFamily;a.fontSize=
this.fontSize;a=f(this.label,a);this.B2=a.width;this.y2=a.height};d.prototype.Cja=function(a){if(this.status!=a){this.status=a;this.RO=q}};d.prototype.Zfa=function(a){if(this.RO){this.RO=B;var b,c;switch(this.status){case "normal":b=this.backgroundColor;c=this.z0;break;case "over":b=this.M1;c=this.N1;break;case "selected":b=this.pia;c=this.qia}a.clearRect(this.left,this.top,this.width,this.height);a.fillStyle=b;a.fillRect(this.left,this.top,this.width,this.height);a.fillStyle=c;a.font=this.fontSize+
" "+this.fontFamily;a.textBaseline="top";a.textAlign="left";a.fillText(this.label,this.z2,this.A2);return q}return B};b.prototype.Ea=N("il");b.prototype.Ma=N("hl");b.prototype.rN=function(){var a=0,b=0;c(this.Ua).each(function(c){c.gka();a=Math.max(c.B2,a);b=Math.max(c.y2,b)});this.Bw=a+this.Hb*2;this.uw=b+this.Hb*2;var d=0,e=0,f=0;c(this.Ua).each(function(a){if(f>=20){f=0;e=e+this.Bw;d=0}a.left=e;a.top=d;a.z2=e+this.Hb;a.A2=d+this.Hb;a.width=this.Bw;a.height=this.uw;f=f+1;d=d+this.uw},this);this.il=
Math.ceil(this.Ua.length/20)*this.Bw;this.hl=Math.min(20,this.Ua.length)*this.uw};b.prototype.update=function(){for(var a=B,b=0;b<this.Ua.length;b++){this.Ua[b].Cja(this.pj==b?"over":this.Wb==b?"selected":"normal");a=this.Ua[b].Zfa(this.Za)||a}return a};b.prototype.Aga=function(a,b){var c=-1;if(a>=0&&a<this.il&&b>=0&&b<this.hl){c=Math.floor(a/this.Bw)*20+Math.floor(b/this.uw);c>=this.Ua.length&&(c=-1)}return c};b.prototype.m2=H("pj");b.prototype.iF=H("Wb");b.prototype.clear=function(){this.Za=this.ea=
s;this.I.width=0;this.I.height=0;this.Ua=this.I=s};return b});
define("ik","require,cu,gD,iu,bB,dx,cb,cl,hY,il,bd".split(","),function(a){a("cu");var b=a("gD"),d=a("iu"),c=a("bB"),f=a("dx"),j=a("cb"),g=a("cl"),h=a("hY"),e=a("il"),l=a("bd"),p=Math.PI/180,o=180/Math.PI,r=b.extend(f,function(a,b){f.call(this);this.b=a;this.ea=b;this.ea.bind(d.ga,this.dW,this);this.I=new h(this.ea,[this.ea]);this.ob=this.ea.get("opacity",0.5);this.kL=this.ea.get("rollOverOpacity",this.ob);this.q=2*Math.atan2(this.I.Ea()*0.5,300)*o;this.g=new j(this.I.I,this.I.Ea(),this.I.Ma(),this.q,
n,n);this.g.vo(this.ea.get("distance")||2);this.zD=this.yt=this.JC=this.jk=n;this.OH=20;this.Hf=s;this.t=0;this.B=this.OH;this.Ja=this.ob;this.r$=1;this.ia=this.LK=0.66;this.Ia=this.sg=B;this.b.Se(this.g)});r.prototype.clear=function(){this.gZ(B);this.b.removeItem(this.g);this.ea.unbind(d.ga,this.dW,this);this.I.clear();this.g=this.ea=this.b=this.I=s};r.prototype.show=function(){if(!this.Ia){this.Ia=q;this.S=this.cs();this.JC=this.jk=n;this.t=this.b.Xa();this.B=this.b.gb();this.p()}};r.prototype.hide=
function(){if(this.Ia){this.Ia=B;this.S=this.cs();this.p()}};r.prototype.fa=function(a){this.I.update()&&this.b.ri(this.g);this.tN(a)&&this.p();this.BN();this.Id(a)&&this.p();this.Kq();this.b.Ce(this.g);this.b.wo(this.g,0,0,0);this.b.ke(this.g,this.t,this.B,0,0,0,0,this.ia);this.b.ab(this.g,this.Ja)};r.prototype.tN=function(a){this.yt=this.b.Xa();this.zD=Math.min(90,Math.max(-90,this.OH+this.OH-this.b.gb()));if(this.jk===n)this.jk=this.yt;if(this.JC===n)this.JC=this.zD;for(;this.yt+180<this.jk;)this.jk=
this.jk-360;for(;this.yt-180>this.jk;)this.jk=this.jk+360;var b=(this.yt-this.jk)/a,c=(this.zD-this.JC)/a,a=Math.atan2(c,b),c=Math.sqrt(c*c+b*b),c=Math.min(c,10*p),b=Math.sin(a)*c,a=this.nc(this.t,this.yt+Math.cos(a)*c,0.02),b=this.nc(this.B,this.zD+b,0.02);if(this.B!=b||this.t!=a){this.t=a;this.B=b;return q}return B};r.prototype.BN=function(){var a=g.pF(this.b.aa()*0.5,this.b.la()*0.5,this.b,this.t,this.B,0,0,0,0,this.I.Ea(),this.I.Ma(),this.q);this.Hf=a.x!==n&&a.y!==n?a:s};r.prototype.Id=function(a){var b=
this.LK,c=this.ob;if(this.Hf){var d=Math.max(Math.abs(this.Hf.x-0.5),Math.abs(this.Hf.y-0.5))*2;coef=Math.max(0,Math.min(1,2-d));b=b+coef*(this.r$-this.LK);c=c+coef*(this.kL-this.ob)}if(this.S){this.S.mb(a);c=c*this.S.La("alpha");b=b*this.S.La("scale");if(this.S.De())this.S=s}else this.Ia||(c=0);if(this.ia!=b||this.Ja!=c){this.ia=b;this.Ja=c;return q}return B};r.prototype.cs=function(){var a,b;if(this.Ia){a=0;b=1}else{a=1;b=0}return new e("linear",[new l("alpha",a,b,n),new l("scale",a,b,n)],300)};
r.prototype.Kq=function(){this.gZ(this.Ia&&this.Hf&&this.Hf.x>=0&&this.Hf.y>=0&&this.Hf.x<1&&this.Hf.y<1)};r.prototype.gZ=function(a){if(this.sg!=a){this.sg&&this.ea.trigger(new c(d.Kb));this.sg=a;this.I.m2(this.sg?0:-1);this.sg&&this.ea.trigger(new c(d.Yb))}};r.prototype.nc=function(a,b,c){a=(b-a)*(1-c);Math.abs(a)<1.0E-5&&(a=0);return b-a};r.prototype.dW=function(){this.trigger(new c(r.eG))};r.prototype.p=function(){this.trigger(new c(r.M))};r.M="request frame";r.eG="select";return r});
define("hp","require,cu,gD,iu,bB,dx,cO,cb,cl,hY,il,bd".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("iu"),f=a("bB"),j=a("dx");a("cO");var g=a("cb"),h=a("cl"),e=a("hY"),l=a("il"),p=a("bd"),o=180/Math.PI,r=d.extend(j,function(a,b,c){j.call(this);this.b=a;this.ea=b;this.$g=c;this.I=new e(this.ea,this.$g);this.ob=this.ea.get("opacity",0.5);this.kL=this.ea.get("rollOverOpacity",this.ob);this.q=2*Math.atan2(this.I.Ea()*0.5,300)*o;this.g=new g(this.I.I,this.I.Ea(),this.I.Ma(),this.q,n,n);this.g.vo(this.ea.get("distance")||
2);this.Hf=s;this.B=this.t=0;this.Ja=this.ob;this.Wb=this.pj=-1;this.S=s;this.Ia=B});r.prototype.add=function(a,b){if(!this.Ia){this.Ia=q;this.t=a;this.B=b;this.iH();this.h4();this.S=this.cs();this.p()}};r.prototype.remove=function(){if(this.Ia){this.Ia=B;this.PC();this.nba();this.hZ(-1);this.p();this.I.clear();this.g=this.$g=this.ea=this.b=this.I=s}};r.prototype.fa=function(a){if(this.S){this.S.mb(a);if(this.S.De()){this.S=s;this.Ia||this.PC()}}if(this.Ia||this.S){this.BN();this.Dea();this.I.update()&&
this.b.ri(this.g);var a=this.t,b=this.B,c=this.Ja,d=1;if(this.S){c=c*this.S.La("alpha");d=d*this.S.La("scale");a=a+this.S.La("yawDelta");b=b+this.S.La("pitchDelta")}this.b.ke(this.g,a,b,0,0,0,0,d);this.b.ab(this.g,c)}};r.prototype.cs=function(){var a,b,c,d;if(this.Ia){a=sourceScale=0;b=targetScale=1;for(c=this.b.Xa()-this.t;c>180;)c=c-360;for(;c<-180;)c=c+360;d=this.b.gb()-this.B}else{a=sourceScale=1;d=c=b=targetScale=0}return new l("linear",[new p("alpha",a,b,n),new p("scale",sourceScale,targetScale,
n),new p("yawDelta",c,0,n),new p("pitchDelta",d,0,n)],300)};r.prototype.BN=function(){var a=h.pF(this.b.aa()*0.5,this.b.la()*0.5,this.b,this.t,this.B,0,0,0,0,this.I.Ea(),this.I.Ma(),this.q);this.Hf=a.x!==n&&a.y!==n?a:s};r.prototype.Dea=function(){this.hZ(this.Hf.x!==n&&this.Hf.y!==n?this.I.Aga(this.Hf.x*this.I.Ea(),this.Hf.y*this.I.Ma()):-1)};r.prototype.hZ=function(a){if(this.pj!=a){this.pj==-1?this.trigger(new f(c.Yb)):this.$g[this.pj].trigger(new f(c.Kb));this.pj=a;this.I.m2(this.pj);this.pj==
-1?this.trigger(new f(c.Kb)):this.$g[this.pj].trigger(new f(c.Yb));this.Ja=this.pj==-1&&this.Wb==-1?this.ob:this.kL}};r.prototype.h4=function(){for(var a=0;a<this.$g.length;a++)this.$g[a].bind(c.ga,this.MV,this)};r.prototype.nba=function(){for(var a=0;a<this.$g.length;a++)this.$g[a].unbind(c.ga,this.MV,this)};r.prototype.iH=function(){this.b.Se(this.g);this.b.Ce(this.g);this.b.wo(this.g,0,0,0)};r.prototype.PC=function(){this.g&&this.b.removeItem(this.g)};r.prototype.MV=function(a){a=a.source;this.Wb=
b(this.$g).indexOf(a);this.I.iF(this.Wb);this.trigger(new f(r.QF,{item:a}))};r.prototype.p=function(){this.trigger(new f(r.M))};r.M="request frame";r.QF="item select";return r});
define("fe","require,cu,gD,iu,bB,dx,hp".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("iu"),f=a("bB"),j=a("dx"),g=a("hp"),h=d.extend(j,function(a,b){j.call(this);this.b=a;this.ea=b;this.B=this.t=0;this.Ia=this.sg=B;this.Xc=[];this.Xs=[]});h.prototype.clear=function(){this.hide();this.ea=this.b=s};h.prototype.show=function(){if(!this.Ia){this.Ia=q;this.t=this.b.Xa();this.B=0;this.WR(this.ea);this.fZ()}};h.prototype.hide=function(){if(this.Ia){this.Ia=B;this.QC(0)}};h.prototype.fa=function(a){for(var b=
0;b<this.Xc.length;b++)this.Xc[b].fa(a)};h.prototype.WR=function(a){a=new g(this.b,this.ea,this.iU(a));this.Xc.push(a);for(var b=this.t,c=0;c<this.Xc.length;c++)b=b+(this.Xc[c].q+1);b=b-(this.Xc[0].q*0.5+this.Xc[this.Xc.length-1].q*0.5+1);c=this.B;this.n4(a);a.add(b,c);this.p()};h.prototype.QC=function(a){for(var b=this.Xc.length-1;b>=a;b--){var c=this.Xc[b];this.Xc.splice(b,1);this.sba(c);this.DY(c);c.remove()}this.p()};h.prototype.NX=function(a){this.o4(a.source)};h.prototype.MX=function(a){this.DY(a.source)};
h.prototype.o4=function(a){if(!b(this.Xs).contains(a)){this.Xs.push(a);this.Kq()}};h.prototype.DY=function(a){if(b(this.Xs).contains(a)){this.Xs=b(this.Xs).without(a);this.Kq()}};h.prototype.NV=function(a){var c=a.source,a=a.data.item;if(this.JJ(a)){this.QC(b(this.Xc).indexOf(c)+1);this.WR(a)}else{this.TS();this.VZ()}};h.prototype.Kq=function(){var a=this.Xs.length>0;if(this.sg!=a){this.sg||this.TS();(this.sg=a)||this.fZ()}};h.prototype.TS=function(){if(this.ox){clearTimeout(this.ox);this.ox=s}};
h.prototype.fZ=function(){if(!this.ox){var a=this;this.ox=setTimeout(function(){a.ox=s;a.VZ()},3E3)}};h.prototype.n4=function(a){a.bind(c.Yb,this.NX,this);a.bind(c.Kb,this.MX,this);a.bind(g.M,this.p,this,q);a.bind(g.QF,this.NV,this)};h.prototype.sba=function(a){a.unbind(c.Yb,this.NX,this);a.unbind(c.Kb,this.MX,this);a.unbind(g.M,this.p,this,q);a.unbind(g.QF,this.NV,this)};h.prototype.JJ=function(a){return this.iU(a).length>0};h.prototype.iU=function(a){return a.get("children",[])};h.prototype.VZ=
function(){this.trigger(new f(h.HF))};h.prototype.p=function(){this.trigger(new f(h.M))};h.M="request frame";h.HF="close";return h});
define("bQ","require,cu,gD,iu,bB,dx,ik,fe".split(","),function(a){a("cu");var b=a("gD");a("iu");var d=a("bB"),c=a("dx"),f=a("ik"),j=a("fe"),g=b.extend(c,function(a){c.call(this);this.b=a;this.Xc=this.pb=this.ea=s;this.Ii=this.Gb=B});g.prototype.clear=function(){this.SY(B);this.ea=this.b=s};g.prototype.um=function(a){if(this.Ii!=a){this.Ii=a;this.iy()}};g.prototype.Ud=function(a){if(this.Gb!=a){this.Gb=a;this.iy()}};g.prototype.DP=function(a){if(this.ea!=a){this.ea=a;this.iy()}};g.prototype.fa=function(a){this.pb&&
this.pb.fa(a);this.Xc&&this.Xc.fa(a)};g.prototype.iy=function(){this.SY(this.Gb&&this.ea&&!this.Ii)};g.prototype.SY=function(a){if(this.Pj!=a){if(this.Pj){this.kba();this.QC()}if(this.Pj=a){this.d4();this.p4();this.pb.show()}}};g.prototype.wS=function(){if(this.JJ(this.ea)){this.pb.hide();this.Xc.show()}};g.prototype.OX=function(){this.pb.show();this.Xc.hide()};g.prototype.d4=function(){this.pb=new f(this.b,this.ea);this.pb.bind(f.M,this.p,this);this.pb.bind(f.eG,this.wS,this)};g.prototype.kba=function(){this.pb.unbind(f.M,
this.p,this);this.pb.unbind(f.eG,this.wS,this);this.pb.clear();this.pb=s};g.prototype.p4=function(){this.Xc=new j(this.b,this.ea);this.Xc.bind(j.M,this.p,this);this.Xc.bind(j.HF,this.OX,this)};g.prototype.QC=function(){this.Xc.unbind(j.M,this.p,this);this.Xc.unbind(j.HF,this.OX,this);this.Xc.clear();this.Xc=s};g.prototype.JJ=function(a){return a.get("children",[]).length>0};g.prototype.p=function(){this.trigger(new d(g.M))};g.M="request frame";return g});
define("iv",["require"],function(){function a(a,d,c){this.yq=a;this.Ge=this.eV(d);this.RY=this.eV(c);this.cm=this.vq([0,0,0],0);this.pD=this.vq([0,0,0],0.125);this.R6=this.vq(this.Ge,1);this.F5=this.vq(this.RY,1);this.E5=this.vq(this.Ge,0.5);this.C5=this.vq(this.Ge,1);this.D5=this.vq(this.RY,1);this.hl=this.il=64;this.nH=4E3;this.FT=0.1;this.bg=0.16;this.ai=0.04;this.OS=this.EA=0.68-this.ai;this.DA=1-this.ai;this.I=document.createElement("canvas");this.I.width=this.il;this.I.height=this.hl;this.Za=
this.I.getContext("2d");this.O=q;this.Ii=B;this.Fw=n;this.hp=0}a.prototype.eV=function(a){a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]};a.prototype.vq=function(a,d){return"rgba("+a.join(",")+", "+d+")"};a.prototype.um=H("Ii");a.prototype.Ea=N("il");a.prototype.Ma=N("hl");a.prototype.update=function(a){return this.Ii?this.U6(a):this.yq.qha()?this.b7():this.a7()};a.prototype.pp=function(){this.Za.clearRect(0,0,this.il,this.hl)};
a.prototype.a7=function(){if("initial"==this.Fw)return B;this.pp();this.X6(this.R6);this.Fw="initial";return q};a.prototype.b7=function(){this.Eaa(this.yq.IO());this.Fw="over";return q};a.prototype.U6=function(a){"changing"!=this.Fw&&(this.hp=0);for(this.hp+=a;this.hp>this.nH;)this.hp-=this.nH;this.z5(this.hp/this.nH);this.Fw="changing";return q};a.prototype.X6=function(a){this.Pg(this.FT+this.ai,0,this.cm,this.pD,0,2*Math.PI);this.Pg(this.FT,0,this.cm,a,0,2*Math.PI)};a.prototype.c7=function(a){this.Pg(this.EA-
0.5*(this.bg+this.ai),this.bg+this.ai,this.pD,this.cm,0,2*Math.PI);this.Pg(this.EA-0.5*this.bg,this.bg,this.E5,this.cm,0,2*Math.PI);this.Pg(this.EA-0.5*this.bg,this.bg,this.F5,this.cm,0.5*Math.PI,(0.5+2*a)*Math.PI)};a.prototype.V6=function(a,d){this.Pg(this.OS-0.5*(this.bg+this.ai),this.bg+this.ai,this.pD,this.cm,0,2*Math.PI);this.Pg(this.OS-0.5*this.bg,this.bg,this.C5,this.cm,0,2*Math.PI);a=(0.5+2*a)*Math.PI;for(d=(0.5+2*d)*Math.PI;d<a;)d+=2*Math.PI;var c=a-this.ai/(2*this.DA*Math.PI),f=d+this.ai/
(2*this.DA*Math.PI);Math.abs(f-c+2*Math.PI)<2*this.ai&&(c=0,f=d);this.Pg(this.DA-0.5*(this.bg+this.ai),this.bg+this.ai,this.pD,this.cm,c,f);this.Pg(this.DA-0.5*this.bg,this.bg,this.D5,this.cm,a,d)};a.prototype.Pg=function(a,d,c,f,j,g){var h=Math.round(0.5*this.il),e=Math.round(0.5*this.hl),l=Math.min(h,e),a=Math.round(a*l),p=this.Za;p.Gla=p.lma=q;p.lineWidth=d*l;p.strokeStyle=c;p.fillStyle=f;p.beginPath();p.arc(h,e,a,j,g,B);p.stroke();p.fill()};a.prototype.z5=function(a){this.pp();var d;0.25>a?(d=
a/0.25,a=0.5*d):0.5>a?(d=(a-0.25)/0.25,a=0.5+d,d=1+0.5*d):0.75>a?(d=(a-0.5)/0.25,a=0.5+0.5*d,d=0.5+d):(a=d=(a-0.75)/0.25,d=0.5+0.5*d);this.V6(a,d)};a.prototype.Eaa=function(a){this.pp();this.c7(a)};return a});
define("Z","require,cu,gD,iu,bB,dx".split(","),function(a){a("cu");var b=a("gD"),d=a("iu"),c=a("bB"),f=a("dx"),a=b.extend(f,function(a){f.call(this);this.Lb=a;this.wj=s;this.Hq=n});a.prototype.start=function(){this.stop();this.Hq=this.Vw();this.QM()};a.prototype.stop=function(){this.Nv();this.Hq=n};a.prototype.qha=function(){return this.Hq!==n};a.prototype.IO=function(){return this.Hq!==n?Math.min(1,(this.Vw()-this.Hq)/this.Lb):0};a.prototype.Vw=function(){return(new Date).getTime()};a.prototype.QM=
function(){var a=this;this.wj=setTimeout(function(){a.wj=s;a.iq()},this.Lb)};a.prototype.Nv=function(){if(this.wj){clearTimeout(this.wj);this.wj=s}};a.prototype.iq=function(){this.Bt()};a.prototype.Bt=function(){this.trigger(new c(d.ra))};return a});
define("eh","require,cu,gD,iu,bB,dx,bK,ie,k,D,iA,iv,Z,cb".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("iu"),f=a("bB"),j=a("dx"),g=a("bK"),h=a("ie"),e=a("k"),l=a("D"),p=a("iA"),o=a("iv"),r=a("Z"),m=a("cb"),t=d.extend(j,function(a,b){j.call(this);this.G=a;this.b=b;this.yq=new r(this.G.get("vrPointerSelectionTime")||this.G.get("cardboardPointerSelectionTime")||1200);this.yq.bind(c.ra,this.waa,this);this.I=new o(this.yq,this.G.get("vrPointerColor")||this.G.get("cardboardPointerColor")||"#ffffff",
this.G.get("vrPointerSelectionColor")||this.G.get("cardboardPointerSelectionColor")||"#ff6600");this.g=new m(this.I.I,this.I.Ea(),this.I.Ma(),6,n,n);this.g.vo(this.G.get("vrPointerDistance")||this.G.get("cardboardPointerDistance")||2);this.Gb=B;this.Qd=[];this.ea=s;this.$g=[];this.Cn=[];this.Yd=[];this.mq=[];this.Rq=[];this.ua=s;this.Ii=this.Pj=B;this.Jv=q;this.Kv=s;this.wY=0.5});t.prototype.clear=function(){this.FA();this.Ud(B);this.b=this.Yd=this.Qd=s};t.prototype.um=function(a){if(this.Ii!=a){if(this.Ii=
a){this.Jv=B;this.FA()}else this.ida();this.I.um(this.Ii);this.p()}};t.prototype.ida=function(){this.FA();this.Kv=setTimeout(function(){this.Kv=s;this.K$()}.bind(this),1E3)};t.prototype.FA=function(){if(this.Kv){clearTimeout(this.Kv);this.Kv=s}};t.prototype.K$=function(){this.Jv=q;this.zg()};t.prototype.Ud=function(a){if(this.Gb!=a){this.Gb=a;this.iy()}};t.prototype.fa=function(a){if(this.Pj){if(this.I.update(a)){this.b.ri(this.g);this.p()}this.b.ke(this.g,this.b.Xa(),this.b.gb(),this.b.Sc(),0,0,
0,1);this.b.wo(this.g,0,0,0);this.b.Ce(this.g)}};t.prototype.waa=function(){this.Yda(this.ua);this.lZ(s)};t.prototype.Yda=function(a){b.defer(function(){a.trigger(new f(c.ga))})};t.prototype.jfa=function(a){if(a instanceof g||a instanceof l||a instanceof p){this.Qd.push(a);this.LD()}};t.prototype.$ha=function(a){var c=b(this.Qd).indexOf(a);if(c>=0){this.BD(a,B);this.Qd.splice(c,1);this.LD()}};t.prototype.DP=function(a){if(this.ea!=a){b(this.$g).each(function(a){this.BD(a,B)},this);this.$g=(this.ea=
a)?this.EU(this.ea):[];this.LD()}};t.prototype.kV=function(a){this.Yd.push(a.source);this.zg()};t.prototype.jV=function(a){a=a.source;a=b(this.Yd).indexOf(a);if(a>=0){this.Yd.splice(a,1);this.zg()}};t.prototype.bY=function(a){this.mq.push(a.source);this.zg()};t.prototype.aY=function(a){a=a.source;a=b(this.mq).indexOf(a);if(a>=0){this.mq.splice(a,1);this.zg()}};t.prototype.N_=function(a){this.Rq.push(a.source);this.zg()};t.prototype.M_=function(a){a=a.source;a=b(this.Rq).indexOf(a);if(a>=0){this.Rq.splice(a,
1);this.zg()}};t.prototype.fW=function(a){this.Cn.push(a.source);this.zg()};t.prototype.eW=function(a){a=a.source;a=b(this.Cn).indexOf(a);if(a>=0){this.Cn.splice(a,1);this.zg()}};t.prototype.zg=function(){var a=s;this.Cn.length>0?a=this.Cn[this.Cn.length-1]:this.mq.length==0&&(this.Yd.length>0?a=this.Yd[this.Yd.length-1]:this.Rq.length>0&&(a=this.Rq[this.Rq.length-1]));this.lZ(a)};t.prototype.lZ=function(a){if(this.ua!=a&&this.Jv){(this.ua=a)?this.yq.start():this.yq.stop();this.p()}};t.prototype.iy=
function(){var a=this.Gb;if(this.Pj!=a){if(this.Pj=a){this.b.Se(this.g);this.Jv=q}else{this.b.removeItem(this.g);this.FA();this.Jv=B}this.LD()}};t.prototype.LD=function(){b(this.Qd).each(function(a){this.BD(a,this.Pj)},this);b(this.$g).each(function(a){this.BD(a,this.Pj)},this)};t.prototype.BD=function(a,d){if(a instanceof g){var f=a.get("areas",[]);b(f).each(function(a){a.unbind(c.Yb,this.kV,this);a.unbind(c.Kb,this.jV,this);if(d){a.bind(c.Yb,this.kV,this);a.bind(c.Kb,this.jV,this)}else this.Yd=
b(this.Yd).without(a)},this)}else if(a instanceof l){a.unbind(c.Yb,this.bY,this);a.unbind(c.Kb,this.aY,this);if(d){a.bind(c.Yb,this.bY,this);a.bind(c.Kb,this.aY,this)}else this.mq=b(this.mq).without(a)}else if(a instanceof p){a.unbind(c.Yb,this.N_,this);a.unbind(c.Kb,this.M_,this);if(d){a.bind(c.Yb,this.N_,this);a.bind(c.Kb,this.M_,this)}else this.mq=b(this.Rq).without(a)}else if(a instanceof e||a instanceof h){a.unbind(c.Yb,this.fW,this);a.unbind(c.Kb,this.eW,this);if(d){a.bind(c.Yb,this.fW,this);
a.bind(c.Kb,this.eW,this)}else this.Cn=b(this.Cn).without(a)}};t.prototype.EU=function(a,c){c||(c=[]);c.push(a);b(a.get("children",[])).each(function(a){this.EU(a,c)},this);return c};t.prototype.p=function(){this.trigger(new f(t.M))};t.M="request frame";return t});
define("P",["jquery.mod","cu","iu","iI"],function(a,b,d,c){function f(b){this.Fa=b;this.fN=this.Fa.Wg;this.Fa.bind(d.jc,this.ce,this);this.u=a("<span></span>");this.u.css({position:"absolute","z-index":c.bR,"text-align":"center",display:"none"});this.kp=a("<span></span>");this.kp.css({position:"absolute",left:0,top:0,right:0,bottom:0});this.u.append(this.kp);this.AD=a("<span></span>");this.AD.css({position:"relative"});this.u.append(this.AD);this.ei=this.Tj=s;this.LX=this.KX=n;this.BB=B}var j={toolTip:n,
toolTipBackgroundColor:"#F6F6F6",toolTipBackgroundOpacity:1,toolTipBorderColor:"#767676",toolTipBorderRadius:3,toolTipBorderSize:1,toolTipFontFamily:"Segoe UI",toolTipFontSize:12,toolTipFontColor:"#606060",toolTipFontWeight:"normal",toolTipFontStyle:"normal",toolTipOpacity:1,toolTipPaddingBottom:2,toolTipPaddingLeft:4,toolTipPaddingTop:2,toolTipPaddingRight:4,toolTipShadowBlurRadius:3,toolTipShadowColor:"#333333",toolTipShadowHorizontalLength:3,toolTipShadowOpacity:1,toolTipShadowSpread:0,toolTipShadowVerticalLength:3,
toolTipTextShadowBlurRadius:3,toolTipTextShadowColor:"#000000",toolTipTextShadowHorizontalLength:0,toolTipTextShadowOpacity:0,toolTipTextShadowVerticalLength:0,toolTipDisplayTime:600};f.prototype.na=N("u");f.prototype.yu=function(a){if(!this.fN){for(;a&&a.get("toolTipDisabled");)a=a.getParent();this.hide();this.Nv();this.Tj&&b(b(j).keys()).each(function(a){this.Tj.unbind(d.Qa(a),this.cL,this)},this);if(this.Tj=a)b(b(j).keys()).each(function(a){this.Tj.bind(d.Qa(a),this.cL,this)},this),this.cL()}};
f.prototype.iq=function(){this.sZ()};f.prototype.lea=function(a){function c(b){var d=a.get(b);return d===n?j[b]:d}var d={};d.opacity=c("toolTipOpacity");d.filter=d["-ms-filter"]="alpha(opacity="+Math.round(100*c("toolTipOpacity"))+")";d.paddingTop=c("toolTipPaddingTop")+"px";d.paddingBottom=c("toolTipPaddingBottom")+"px";d.paddingLeft=c("toolTipPaddingLeft")+"px";d.paddingRight=c("toolTipPaddingRight")+"px";this.u.css(d);d={};d.opacity=c("toolTipBackgroundOpacity");d.filter=d["-ms-filter"]="alpha(opacity="+
Math.round(100*c("toolTipBackgroundOpacity"))+")";d["background-color"]=c("toolTipBackgroundColor");d.border=[c("toolTipBorderSize")+"px","solid",c("toolTipBorderColor")].join(" ");var f=c("toolTipShadowColor");d["-moz-box-shadow"]=d["-webkit-box-shadow"]=d["box-shadow"]=[c("toolTipShadowHorizontalLength")+"px",c("toolTipShadowVerticalLength")+"px",c("toolTipShadowBlurRadius")+"px",c("toolTipShadowSpread")+"px","rgba("+parseInt("0x"+f.substr(1,2))+", "+parseInt("0x"+f.substr(3,2))+", "+parseInt("0x"+
f.substr(5,2))+", "+c("toolTipShadowOpacity")+")"].join(" ");d["-moz-border-radius"]=d["-webkit-border-radius"]=d.borderRadius=c("toolTipBorderRadius")+"px";this.kp.css(d);d={};d["font-family"]=c("toolTipFontFamily");f=c("toolTipFontSize");b(f).isNumber()?f+="px":b(f).isString()||(f="");d["font-size"]=f;d["font-weight"]=c("toolTipFontWeight");d["font-style"]=c("toolTipFontStyle");d.color=c("toolTipFontColor");f=c("toolTipTextShadowColor");d["-moz-text-shadow"]=d["-webkit-text-shadow"]=d["text-shadow"]=
[c("toolTipTextShadowHorizontalLength")+"px",c("toolTipTextShadowVerticalLength")+"px",c("toolTipTextShadowBlurRadius")+"px","rgba("+parseInt("0x"+f.substr(1,2))+", "+parseInt("0x"+f.substr(3,2))+", "+parseInt("0x"+f.substr(5,2))+", "+c("toolTipTextShadowOpacity")+")"].join(" ");var p=0==c("toolTipTextShadowVerticalLength")&&0==c("toolTipTextShadowHorizontalLength")?135:45*Math.round(4*Math.atan2("toolTipTextShadowHorizontalLength",-c("toolTipTextShadowVerticalLength"))/Math.PI);d.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+
function(a){for(a=a.toString(16);2>a.length;)a="0"+a;return a}(255*c("toolTipTextShadowOpacity"))+f.substr(1,6)+",direction="+p+")";this.AD.css(d)};f.prototype.sZ=function(){var a=this.KX,b=this.LX+25;this.rZ(this.Tj,this.Tj.get("toolTip"),a,b,B)};f.prototype.Nja=function(a,b){var c=a.na().offset();this.rZ(a,b,c.left+0.5*a.aa(),c.top+0.5*a.la(),q)};f.prototype.rZ=function(a,b,c,d,f){this.lea(a);this.AD.html(this.J8(b));a=this.u.outerWidth();b=this.u.outerHeight();f&&(c-=0.5*this.u.width(),d-=0.5*
this.u.height());c=Math.max(Math.min(c,this.Fa.aa()-a-3),3);d=Math.max(Math.min(d,this.Fa.la()-b-3),3);this.u.css("left",c+"px");this.u.css("top",d+"px");this.u.css("display","inline");this.BB=q};f.prototype.J8=function(a){for(var a=a.split("\n"),b=0;b<a.length;b++)a[b]=this.k7(a[b]);return a.join("<br>")};f.prototype.k7=function(a){f.NR.nodeValue=a;return f.IR.innerHTML};f.prototype.hide=function(){this.u.css("display","none");this.BB=B};f.prototype.cL=function(){this.Tj.get("toolTip")?this.pK()||
(this.BB?this.sZ():this.QM()):this.pK()?this.Nv():this.BB&&this.hide()};f.prototype.ce=function(a){this.KX=a.pageX;this.LX=a.pageY};f.prototype.pK=function(){return this.ei!=s};f.prototype.QM=function(){var a=this.Tj&&this.Tj.get("toolTipDisplayTime");if(a===n||a===s)a=j.toolTipDisplayTime;this.Nv();var b=this;this.ei=setTimeout(function(){b.ei=s;b.iq()},a)};f.prototype.Nv=function(){this.pK()&&(clearTimeout(this.ei),this.ei=s)};f.S2=j;f.IR=document.createElement("pre");f.NR=document.createTextNode("");
f.IR.appendChild(f.NR);f.Tka=600;return f});
define("gl",["require"],function(){function a(a,f){d.style.fontFamily=f.fontFamily;d.style.fontSize=f.fontSize;d.style.fontWeight=f.fontWeight;d.style.fontStyle=f.fontStyle;d.innerHTML=a;document.body.appendChild(d);var j=new b(Math.ceil(d.clientWidth),Math.ceil(d.clientHeight));document.body.removeChild(d);return j}function b(a,b){this.width=a;this.height=b}var d=document.createElement("div");d.style.display="inline-block";d.style.margin=0;d.style.padding=0;d.style.whiteSpace="nowrap";a.KG=function(){this.fontFamily=
"Arial";this.fontSize="12px";this.fontWeight="400";this.fontStyle="normal"};a.D3=b;return a});
define("fk","require,gD,iu,bB,dx,P,gl".split(","),function(a){function b(a,b){this.G=a;this.$x=b;this.$ca()}a("gD");a("iu");a("bB");a("dx");var d=a("P"),c=a("gl");b.prototype.Ea=function(){return this.I.width};b.prototype.Ma=function(){return this.I.height};b.prototype.$ca=function(){var a=this.$x.split("\n"),b=this.td("toolTipBackgroundColor"),d=this.td("toolTipBackgroundOpacity"),h=this.td("toolTipBorderRadius"),e=this.td("toolTipBorderColor"),l=this.td("toolTipBorderSize");this.td("toolTipDisplayTime");
var p=this.td("toolTipFontFamily"),o=this.td("toolTipFontSize")+"px",r=this.td("toolTipFontColor"),m=this.td("toolTipFontWeight"),t=this.td("toolTipFontStyle"),u=this.td("toolTipPaddingBottom"),w=this.td("toolTipPaddingLeft"),A=this.td("toolTipPaddingTop"),z=this.td("toolTipPaddingRight"),C=this.td("toolTipOpacity"),v=this.td("toolTipTextShadowBlurRadius"),D=this.td("toolTipTextShadowColor"),F=this.td("toolTipTextShadowHorizontalLength"),J=this.td("toolTipTextShadowVerticalLength"),I=this.td("toolTipTextShadowOpacity"),
L=new c.KG;L.fontFamily=p;L.fontSize=o;L.fontWeight=m;L.fontStyle=t;var Q=a.map(function(a){return c(a,L)}),M=Math.ceil(this.td("toolTipFontSize")*0.25),S=0,T=0;Q.forEach(function(a,b){S=Math.max(a.width,S);T=T+((b>0?M:0)+a.height)});z=l+w+S+z+l;u=l+A+T+u+l;this.I=document.createElement("canvas");this.I.width=z;this.I.height=u;var K=this.I.getContext("2d");K.globalAlpha=C;K.strokeStyle=e;K.fillStyle=b==="transparent"?"rgba(0,0,0,0)":this.VR(d,b);K.lineWidth=l;K.beginPath();K.moveTo(h,0);K.lineTo(z-
h,0);K.quadraticCurveTo(z,0,z,h);K.lineTo(z,u-h);K.quadraticCurveTo(z,u,z-h,u);K.lineTo(h,u);K.quadraticCurveTo(0,u,0,u-h);K.lineTo(0,h);K.quadraticCurveTo(0,0,h,0);K.closePath();K.fill();l>0&&K.stroke();K.fillStyle=r;K.font=m+" "+(t!="normal"?t+" ":"")+o+" "+p;K.shadowColor=this.VR(I,D);K.shadowOffsetX=F;K.shadowOffsetY=J;K.shadowBlur=v;K.textBaseline="top";K.textAlign="left";var Y=l+w+S*0.5,G=l+A;a.forEach(function(a,b){K.fillText(a,Math.round(Y-Q[b].width*0.5),G);G=G+(Q[b].height+M)})};b.prototype.td=
function(a){var b=this.G.get(a);return b===n?d.S2[a]:b};b.prototype.VR=function(a,b){return"rgba("+parseInt("0x"+b.substr(1,2))+", "+parseInt("0x"+b.substr(3,2))+", "+parseInt("0x"+b.substr(5,2))+", "+a+")"};return b});
define("dP","require,gD,cu,iu,bB,dx,cb,fk".split(","),function(a){var b=a("gD"),d=a("cu");a("iu");var c=a("bB"),f=a("dx"),j=a("cb"),g=a("fk"),h=180/Math.PI,e=b.extend(f,function(a,b){f.call(this);this.G=a;this.b=b;this.Gb=B;this.Yc=[];this.Ab="";this.g=s});e.prototype.clear=function(){this.b=this.G=s};e.prototype.Ud=function(a){if(this.Gb!=a){this.Gb=a;this.Ag()}};e.prototype.ez=function(a){this.Yc.push(a);this.Ag()};e.prototype.dz=function(a){a=d(this.Yc).lastIndexOf(a);a>=0&&this.Yc.splice(a,1);
this.Ag()};e.prototype.Ag=function(){var a=this.Gb&&this.Yc.length>0?this.Yc[this.Yc.length-1]||"":"";if(this.Ab!=a){this.PC();(this.Ab=a)&&this.iH()}};e.prototype.PC=function(){if(this.g){this.b.removeItem(this.g);this.g=s}};e.prototype.iH=function(){this.fs(this.Ab);this.b.Se(this.g);this.b.Ce(this.g);this.b.wo(this.g,0,0,0);this.b.ke(this.g,this.b.Xa(),this.b.gb()+5,0,0,0,0,1);this.b.ab(this.g,1);this.p()};e.prototype.fs=function(a){var a=new g(this.G,a),b=2*Math.atan2(a.Ea()*0.5,600)*h;this.g=
new j(a.I,a.Ea(),a.Ma(),b,n,n);this.g.vo(this.G.get("vrPointerDistance")||this.G.get("cardboardPointerDistance")||2)};e.prototype.fa=E();e.prototype.p=function(){this.trigger(new c(e.M))};e.M="request frame";return e});
define("gP","require,gD,bB,dx,iu,gB,cl,dM,cS".split(","),function(a){var b=a("gD"),d=a("bB"),c=a("dx"),f=a("iu"),j=a("gB"),g=a("cl"),h=a("dM"),e=a("cS"),l=Math.PI/180,a=b.extend(c,function(a,b,d,g){c.call(this);this.b=a;this.Cs=d;this.Qc=g;this.Ia=q;this.gi=new e;this.Yp=s;this.Da=new j(d.uc());this.Da.bind(f.pe,function(){d.trigger(f.pe)});this.Da.bind(f.me,function(){d.trigger(f.me)});this.te=document.createElement("canvas");this.te.width=1;this.te.height=1;this.Mg=this.te.getContext("2d");this.Mg.globalCompositeOperation=
"copy"});a.prototype.Fe=H("Ia");a.prototype.clear=function(){this.Mg=this.Yp=this.gi=this.Cs=this.b=s;this.te.width=0;this.te.height=0;this.te=s};a.prototype.km=function(a,b){this.dj=n;if(this.Yp&&a!==n&&b!==n){var c=this.wba(a,b);if(c){c=this.f8(c.x,c.y);if(c[3]>0)this.dj="#"+this.np(c[0])+this.np(c[1])+this.np(c[2])}}return this.dj};a.prototype.fa=function(a,b){this.Da.gF(b)};a.prototype.np=function(a){for(a=a.toString(16);a.length<2;)a="0"+a;return a};a.prototype.f8=function(a,b){this.Mg.drawImage(this.Yp,
a,b,1,1,0,0,1,1);return this.Mg.getImageData(0,0,1,1).data};a.prototype.wba=function(a,b){var c=this.Yp,d=this.Da.Ve()>0&&g.get(this.Da.get("yaw",0),this.Da.get("pitch",0),this.b.Xa(),this.b.gb(),this.b.Sc(),this.b.q,this.b.aa(),this.b.la());if(d){var e=this.Cs,f=new h(a,b);this.gi.identity();this.gi.translate(-d.x,-d.y,0);this.gi.tm(-this.Da.get("roll",0)*l);this.gi.translate(e.get("offsetX",0),e.get("offsetY",0),0);this.gi.scale(c.width/e.get("width"),c.height/e.get("height"),1);f.apply(this.gi);
f.set(Math.round(f.x),Math.round(f.y),0);if(f.x>=0&&f.x<c.width&&f.y>=0&&f.y<c.height)return{x:f.x,y:f.y}}return s};a.prototype.p=function(){this.trigger(new d(f.W))};return a});
define("iH","require,gD,bB,dx,iu,gP".split(","),function(a){var b=a("gD");a("bB");a("dx");a("iu");var d=a("gP"),a=b.extend(d,function(a,b,j,g){d.call(this,a,b,j,g);this.g=this.Qc?this.Cs.$c():this.Cs.va()});a.prototype.clear=function(){d.prototype.clear.call(this);this.g=s};a.prototype.km=function(a,b){if(!this.Yp){var j=this.b.BO(this.g);this.Yp=j?j.Td():s}if(this.dj=d.prototype.km.call(this,a,b))this.dj="image";return this.dj};a.prototype.fa=function(a,b){d.prototype.fa.call(this,a,b);this.b.ke(this.g,
this.Da.get("yaw"),this.Da.get("pitch"),this.Da.get("roll"),this.b.Oy(this.g),this.b.Py(this.g),this.b.sE(this.g),this.b.tE(this.g));this.b.ab(this.g,this.Da.Ve())};return a});
define("ef","require,gD,iu,ew,gP,gf".split(","),function(a){var b=a("gD"),d=a("iu"),c=a("ew"),f=a("gP"),j=a("gf"),a=b.extend(f,function(a,b,e,l){f.call(this,a,b,e,l);this.kg=new j(c.pf);this.kg.bind(d.ib,this.dx,this);(a=this.Qc?this.Cs.We():this.Cs.Ad())&&this.kg.load(a.get("url"))});a.prototype.clear=function(){f.prototype.clear.call(this);this.kg.unbind(d.ib,this.dx,this);this.kg.cancel();this.kg=s};a.prototype.dx=function(){this.Yp=this.kg.Td()};return a});
define("L","require,gD,iu,dU,bB,dx,M".split(","),function(a){function b(a,b,c,d){this.Uy=a;this.VE=b;this.Gy=c;this.lE=d;this.$q=this.Uy.width/this.Gy;this.Zq=this.Uy.height/this.VE}var d=a("gD");EventName=a("iu");PlaybackState=a("dU");Event=a("bB");EventDispatcher=a("dx");Animation=a("M");a=d.extend(EventDispatcher,function(a,d,e,f,j,o){EventDispatcher.call(this);this.Pd=new b(a,d,e,j);this.SC=o;this.Je=f;this.dN=this.Je*this.Pd.lE;this.I=document.createElement("canvas");this.I.width=this.Pd.$q;
this.I.height=this.Pd.Zq;this.Za=this.I.getContext("2d");this.Za.globalCompositeOperation="copy";this.R=PlaybackState.J;this.fM=this.Vm=0;this.rI=n;this.yf=c.uo(this.Pd);this.yf.bind(EventName.W,this.Pg,this,q);this.Pg()});a.prototype.Sb=function(a){if(this.R!=a&&!(a==PlaybackState.Xb&&this.R!=PlaybackState.P)){if(a==PlaybackState.P&&this.R==PlaybackState.J)this.Vm=this.fM=0;this.R=a;Animation.Dc(this.xe,this);this.trigger(EventName.GG)}};a.prototype.Hk=N("R");a.prototype.xe=function(a){if(this.R==
PlaybackState.P){this.Vm=Math.min(this.Vm+a,this.yf.yf.length*this.Je);if(this.Vm>=this.dN){this.fM++;if(this.SC&&this.fM==this.SC){this.Sb(PlaybackState.J);this.Vm=this.dN-0.1;this.trigger(EventName.ra)}else{this.Vm=this.Vm%this.dN;this.trigger(EventName.Vo)}}this.Pg();this.R==PlaybackState.P&&Animation.Dc(this.xe,this)}};a.prototype.clear=function(){this.Sb(PlaybackState.J);this.I.width=this.I.height=0;this.I=s;c.Wha(this.Pd);this.Pd=s};a.prototype.Pg=function(){var a=Math.floor(this.Vm/this.Je);
if(this.rI!=a&&a<this.yf.yf.length){this.rI=a;this.Za.drawImage(this.yf.get(this.rI),0,0);this.trigger(EventName.W)}};b.prototype.isEqual=function(a){return this.Uy.src==a.Uy.src&&this.VE==a.VE&&(this.Gy=a.Gy)&&(this.$q=a.$q)&&(this.Zq=a.Zq)&&(this.lE=a.lE)};var c={Zg:[],W3:2E3,uo:function(a){a=this.Ri(a);a.rr++;this.CZ(a);return a.frames},Wha:function(a){a=this.Ri(a);a.rr--;a.rr==0&&this.kda(a)},Ri:function(a){for(var b=0;b<this.Zg.length;b++)if(this.Zg[b].hga.isEqual(a))return this.Zg[b];b={};b.hga=
a;b.frames=new f(a);b.rr=0;this.Zg.push(b);return b},kda:function(a){this.CZ(a);a.iO=setTimeout(function(){c.J6(a)},c.W3)},CZ:function(a){if(a.iO){clearTimeout(a.iO);a.iO=s}},J6:function(a){this.Zg.splice(this.Zg.indexOf(a),1);a.frames.clear()}},f=d.extend(EventDispatcher,function(a){EventDispatcher.call(this);this.Pd=a;this.yf=[];j.add(this)});f.prototype.clear=function(){this.yf.forEach(function(a){a.width=0;a.height=0});this.yf=s};f.prototype.get=function(a){return this.yf[a]};f.prototype.ega=
function(){var a=this.yf.length%this.Pd.Gy,b=Math.floor(this.yf.length/this.Pd.Gy)%this.Pd.VE,c=document.createElement("canvas");c.width=this.Pd.$q;c.height=this.Pd.Zq;var d=c.getContext("2d");d.globalCompositeOperation="copy";d.drawImage(this.Pd.Uy,a*this.Pd.$q,b*this.Pd.Zq,this.Pd.$q,this.Pd.Zq,0,0,this.Pd.$q,this.Pd.Zq);f.s7(c);this.yf.push(c);this.trigger(EventName.W)};f.s7=function(){var a=document.createElement("canvas");a.width=1;a.height=1;var b=a.getContext("2d");return function(a){b.drawImage(a,
0,0,1,1,0,0,1,1)}}();var j={Zg:[],cN:s,add:function(a){this.Zg.push(a);this.PY()},PY:function(){if(!this.cN)this.cN=setTimeout(function(){this.cN=s;this.iq()}.bind(this),40)},iq:function(){for(var a=(new Date).getTime()+10;(new Date).getTime()<a;){var b=this.Zg.filter(function(a){return a.yf.length==0}),b=b.length>0?b[0]:this.Zg[0];b.ega();if(b.yf.length==b.Pd.lE){this.Zg.splice(this.Zg.indexOf(b),1);if(this.Zg.length==0)return}}this.PY()}};return a});
define("be","require,gD,bB,iu,dU,L,db".split(","),function(a){var b=a("gD");a("bB");var d=a("iu"),c=a("dU"),f=a("L"),j=a("db"),g=function(){var a=document.createElement("canvas");a.width=a.height=100;return a}(),a=b.extend(j,function(a,b,f){this.b=a;this.Qh=b;j.call(this,this.Qh,f);this.be=this.Qh.get("image");this.nM=this.be.get("rowCount",1);this.$H=this.be.get("colCount",1);this.Je=this.be.get("frameDuration",0);this.eg=this.be.get("frameCount",this.nM*this.$H);this.SC=this.be.get("repeat",0);
this.K4=this.be.get("autoplay",q);this.be.bind(d.Qa("state"),this.IW,this,q);this.o=this.o/this.$H;this.A=this.A/this.nM;this.g=f?this.Qh.$c():this.Qh.va();this.g.Pk(g);this.R=this.be.get("state",c.J);this.se=s});a.prototype.clear=function(){this.be.unbind(d.Qa("state"),this.IW,this,q);this.Qh=this.b=this.be=s;if(this.se){this.se.unbind(d.W,this.sW,this,q);this.se.unbind(d.Vo,this.mX,this,q);this.se.unbind(d.ra,this.En,this,q);this.se.unbind(d.GG,this.tW,this,q);this.se.clear();this.se=s}j.prototype.clear.call(this)};
a.prototype.Fe=function(a){this.K4&&this.hd(a?c.P:c.J)};a.prototype.IW=function(){this.hd(this.be.get("state"))};a.prototype.tW=function(){this.be.set("state",this.se.Hk())};a.prototype.hd=function(a){if(this.R!=a){this.R=a;this.se&&this.se.Sb(a)}};a.prototype.gS=function(){this.hk=this.se.I;this.EC=this.hk.getContext("2d")};a.prototype.Ll=function(){this.se=new f(this.ae.Td(),this.nM,this.$H,this.Je,this.eg,this.SC);this.se.bind(d.W,this.sW,this,q);this.se.bind(d.Vo,this.mX,this,q);this.se.bind(d.ra,
this.En,this,q);this.se.bind(d.GG,this.tW,this,q);this.se.Sb(this.R);this.g.Pk(this.se.I);this.b.ri(this.g);j.prototype.Ll.call(this)};a.prototype.sW=function(){this.b.ri(this.g);this.trigger(d.W)};a.prototype.mX=function(){this.Qh.get("image").trigger(d.Vo)};a.prototype.En=function(){this.Qh.get("image").trigger(d.ra)};return a});
define("dk",["require","gD","iu","db","cX"],function(a){var b=a("gD"),d=a("iu"),c=a("db");PanoramaOverlayMapController=a("cX");a=b.extend(PanoramaOverlayMapController,function(a,b,c,h){this.QJ=c;this.Qc=h;PanoramaOverlayMapController.call(this,a,c.uc());this.Vb=c.get("scaleMode");this.Da.bind(d.pe,function(){c.trigger(d.pe)});this.Da.bind(d.me,function(){c.trigger(d.me)});this.rv()});a.prototype.ds=function(){return new c(this.QJ,this.Qc)};return a});
define("dp","require,gD,cO,be,db,dk".split(","),function(a){var b=a("gD"),d=a("cO"),c=a("be"),f=a("db"),j=a("dk"),a=b.extend(j,function(a,b,c,f){this.Qh=c;this.g=f?c.$c():c.va();this.zV=(this.be=this.Qh.get("image"))&&d.hc("AnimatedImageResource",this.be)&&this.be.get("frameDuration",0)>0;j.call(this,a,b,c,f);this.Vb=this.Qh.get("scaleMode")});a.prototype.ds=function(){return this.zV?new c(this.b,this.Qh,this.Qc):new f(this.Qh,this.Qc)};a.prototype.fa=function(a,b){j.prototype.fa.call(this,a,b);this.b.ke(this.g,
this.Da.get("yaw"),this.Da.get("pitch"),this.b.Yt(this.g),this.b.Oy(this.g),this.b.Py(this.g),this.Da.get("roll"),this.Da.gf());this.b.ab(this.g,this.Da.Ve());this.zV&&this.p()};a.prototype.km=function(a,b){if((this.dj=j.prototype.km.call(this,a,b))&&this.dj!="transparent")this.dj="image";return this.dj};return a});
define("fY","require,cu,gD,iu,bB,l,cp,gN,G,dj,iH,ef,dp,dk,o,J,P,il,bd".split(","),function(a){function b(a){return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16)]}var d=a("cu"),c=a("gD"),f=a("iu"),j=a("bB"),g=a("l"),h=a("cp"),e=a("gN"),l=a("G"),p=a("dj"),o=a("iH"),r=a("ef"),m=a("dp"),t=a("dk"),u=a("o"),w=a("J");a("P");var A=a("il"),z=a("bd"),C=Math.round(1*Math.min(window.screen.width,window.screen.height)/100),a=c.extend(p,function(a,b,c,e){p.call(this,a,b,c);this.G=
this.b.getParent();this.G.bind(f.jc,this.ce,this);this.G.bind(f.oe,this.ij,this);this.G.bind(f.wb,this.Oe,this);this.G.bind(f.xb,this.rg,this);this.m.bind(f.Qa("rollOverDisplay"),this.nX,this);this.m.bind(f.Qa("centerOverDisplay"),this.yW,this);this.m.bind(f.Qa("enabled"),this.cq,this);this.Lh={};this.ZV=[];this.jA=this.m.get("areas",[]);for(h=0;h<this.jA.length;h++){var a=this.jA[h],g=a.get("mapColor");if(g){g=g.toLowerCase();if(this.Lh[g]===n){this.Lh[g]=[];this.ZV.push(g)}this.Lh[g].push(a)}}var a=
this.m.get("items",[]),g=d(a).map(function(a){return this.NA(a)},this),h=this.m.get("rollOverItems",[]),j=d(h).map(function(a){return this.NA(a)},this),l=this.m.get("maps",[]),m=d(l).map(function(a){return this.NA(a)},this),r=this.m.get("rollOverMaps",[]),o=d(r).map(function(a){return this.NA(a)},this);this.Rj=[].concat(g,j,m,o);this.rK=[].concat(g,m);this.LY=[].concat(j.length>0?j:g,o.length>0?o:m);this.g=c?b.I0():b.getItem();this.Hd=c?b.S0():b.gu();this.T8=!!d(d.union(a,h,l,r)).find(this.z9);this.cc=
this.bc=n;this.S=this.Of=s;this.Lf=n;this.Al=this.b.hr(this.g);this.Wl=this.Hd?this.b.hr(this.Hd):1;this.Yd=[];this.Im=[];this.MZ=this.NH=this.Cf=this.ig=B;this.Kg=[];this.Ke=e;this.Vi=this.Gb=this.Ia=B;this.Ab="";this.CD=0;this.sy=this.m.get("useHandCursor")==q;for(var h=0;h<this.Rj.length;h++)this.Rj[h].bind(f.W,this.p,this,q);this.CN(B);this.Af(q);this.zj()});a.prototype.NA=function(a){if(a instanceof e)return new m(this.b,this.m,a,this.Qc);if(a instanceof g)return new o(this.b,this.m,a,this.Qc);
if(a instanceof l)return new t(this.b,this.m,a,this.Qc);if(a instanceof h)return new r(this.b,this.m,a,this.Qc)};a.prototype.z9=function(a){return a instanceof g&&a instanceof h?q:B};a.prototype.clear=function(){this.S=s;this.NH=this.Cf=B;this.Yd=[];this.CN();this.zj();this.Ag();this.G.unbind(f.jc,this.ce,this);this.G.unbind(f.oe,this.ij,this);this.G.unbind(f.wb,this.Oe,this);this.G.unbind(f.xb,this.rg,this);this.m.unbind(f.Qa("rollOverDisplay"),this.nX,this);this.m.unbind(f.Qa("centerOverDisplay"),
this.yW,this);this.m.unbind(f.Qa("enabled"),this.cq,this);for(var a=0;a<this.Rj.length;a++){this.Rj[a].unbind(f.W,this.p,this,q);this.Rj[a].clear()}this.Rj=[];this.rK=[];this.Yd=[];this.Kg=[];this.Lh={};this.jA=[];this.Of&&clearTimeout(this.Of);this.i9&&clearTimeout(this.i9);p.prototype.clear.call(this)};a.prototype.Fj=function(a){if(this.Ke!=a){this.Ke=a;this.Af(q)}};a.prototype.Ud=function(a){if(this.Gb!=a){this.Gb=a;this.Af(q)}};a.prototype.dw=function(){return this.m.get("enabled")!==B&&this.Ke?
this.Gb?!this.T8&&this.m.get("enabledInVR",this.m.get("enabledInCardboard"))===q:q:B};a.prototype.fa=function(a,b){d(this.Rj).each(function(c){c.fa(a,b)});this.Af(B);if(this.S){this.S.mb(a);this.Al=this.S.La("itemAlpha");this.Wl=this.S.La("rollOverItemAlpha");this.sea();this.b.ab(this.g,this.Al);this.Hd&&this.b.ab(this.Hd,this.Wl);this.S.De()?this.S=s:this.p()}};a.prototype.sea=function(){this.Rj.forEach(function(a){var b=0;if(this.rK.indexOf(a)>=0)b=this.Al;this.LY.indexOf(a)>=0&&(b=Math.max(b,this.Wl));
a.Fe(b>0)}.bind(this))};a.prototype.Oe=function(a){this.bc=a.x;this.cc=a.y;this.rj=a.x;this.oq=a.y;this.Kg=this.fw(this.KU());this.Kg.length&&this.Jda()};a.prototype.ce=function(a){this.bc=a.x;this.cc=a.y;this.Af(!u.ic())};a.prototype.rg=function(a){this.bc=a.x;this.cc=a.y;if(this.YH&&this.qK(this.rj,this.oq,a.x,a.y)){a=this.fw(this.KU());a=d.intersection(this.Kg,a);this.Kg=[];a.length&&this.dm(a,"click")}else this.Kg=[];this.Kda()};a.prototype.qK=function(a,b,c,d){a=c-a;b=d-b;return Math.sqrt(a*
a+b*b)<=(this.kl()==J?4*C:5)};a.prototype.ij=function(){this.cc=this.bc=n;this.Af(q);this.Kg=[]};a.prototype.kl=function(){return this.Gb?I:this.G.Wg?J:F};a.prototype.nX=function(){this.Af()};a.prototype.yW=function(){this.Af()};a.prototype.cq=function(){this.Af()};a.prototype.Af=function(a){if(a){this.v5();this.jy()}else this.Gba()};a.prototype.Gba=function(){if(!this.Of){var a=this;this.Of=setTimeout(function(){a.Of=s;a.jy()},300)}};a.prototype.v5=function(){if(this.Of){clearTimeout(this.Of);this.Of=
s}};a.prototype.jy=function(){var a=this.Yd,b=this.Im;this.Yd=[];this.Im=[];var c=[],e=[];if(this.kl()==F)this.Im=this.fw(this.oB());(this.kl()==J||this.m.get("centerOverDisplay")===q&&this.kl()==F)&&(c=this.fw(this.O7()));this.kl()==I&&(e=this.fw(this.GJ()));this.Yd=d.union(this.Im,c,e);this.Cf=this.Im.length>0;this.NH=c.length>0;this.MZ=e.length>0;this.ig=this.Cf||this.NH||this.MZ;this.Ag();this.zj();this.CN(q);this.dm(d.difference(this.Yd,a),f.Yb);this.dm(d.difference(a,this.Yd),f.Kb);this.dm(d.difference(this.Im,
b),f.Mj);this.dm(d.difference(b,this.Im),f.oe)};var v=function(){for(var a=[],b=-5;b<=5;b++)for(var c=-5;c<=5;c++){var e=Math.sqrt(c*c+b*b);e<5&&a.push([c,b,e])}for(c=-30;c<-5;c++)a.push([c,0,Math.sqrt(c*c)]);for(c=6;c<=30;c++)a.push([c,0,Math.sqrt(c*c)]);for(b=-15;b<-5;b++)a.push([0,b,Math.sqrt(b*b)]);for(b=6;b<=15;b++)a.push([0,b,Math.sqrt(b*b)]);a.sort(function(a,b){return a[2]-b[2]});return d(a).map(function(a){return[a[0],a[1]]})}();a.prototype.O7=function(){for(var a=this.b.aa(),b=this.b.la(),
c=a*0.5,d=b*0.5,a=Math.min(a,b)/100,b=[],e=0;e<v.length;e++)b.push([c+v[e][0]*a,d+v[e][1]*a]);return b};a.prototype.GJ=function(){return[[this.b.aa()*0.5,this.b.la()*0.5]]};var D=function(){for(var a=2*C,b=[],c=0;c<5;c++)for(var e=-a+2*a*c/4,f=0;f<5;f++){var g=-a+2*a*f/4,h=Math.sqrt(g*g+e*e);h<=a&&b.push([g,e,h])}b.sort(function(a,b){return a[2]-b[2]});return d(b).map(function(a){return[a[0],a[1]]})}();a.prototype.KU=function(){if(this.kl()==F)return[[this.bc,this.cc]];for(var a=[],b=0;b<D.length;b++)a.push([this.bc+
D[b][0],this.cc+D[b][1]]);return a};a.prototype.oB=function(){return[[this.bc,this.cc]]};a.prototype.fw=function(a){var b=[];if(this.lJ()&&this.dw()){var c=this.ig?this.LY:this.rK,d=[];a.forEach(function(a){c.forEach(function(b){(b=b.km(a[0],a[1]))&&d.indexOf(b)<0&&d.push(b)})});d.length>0&&d.push("any");d.forEach(function(a){(a=="*"?this.jA:this.Lh[a]||this.Lh[this.Fba(a)]||[]).forEach(function(a){b.indexOf(a)<0&&b.push(a)})}.bind(this))}return b};a.prototype.Fba=function(a){if(!(a&&a.indexOf("#")==
0))return a;var c=b(a),d=n,e=256;this.ZV.forEach(function(a){if(a&&a.indexOf("#")==0){var f=Math.max(Math.abs(c[0]-b(a)[0]),Math.abs(c[1]-b(a)[1]),Math.abs(c[2]-b(a)[2]));if(f<e){d=a;e=f}}});return d&&e<4?d:a};a.prototype.Ag=function(){for(var a="",b=0;b<this.Yd.length&&!a;b++){var c=this.Yd[b];if(c.get("toolTip")&&(this.kl()==F||this.Gb||this.kl()==J&&c.get("displayTooltipInTouchScreens")))a=c.get("toolTip")}if(this.kl()==J){b=this.m.get("items",[]);this.ig&&(b=this.m.get("rollOverItems",b));var e=
this.b.Xa(),f=this.b.gb(),b=d(b).map(function(a){var b=a.get("yaw")-e,a=a.get("pitch")-f;return Math.sqrt(b*b+a*a)}),b=Math.min.apply(Math,b)}else b=0;if(this.Ab!=a||this.CD!=b){this.Ab&&this.Uaa(this.Ab,this.CD);this.Ab=a;this.CD=b;this.Ab&&this.dba(this.Ab,this.CD)}};a.prototype.zj=function(){var a=this.dw()&&this.Cf&&(this.sy||d(this.Im).any(function(a){return a.get("useHandCursor")==q}));if(this.Vi!=a)(this.Vi=a)?this.b.su(w.Uc):this.b.or(w.Uc)};a.prototype.CN=function(a){var b=this.m.get("rollOverDisplay")===
q,c=this.m.get("centerOverDisplay")===q,b=b||c;this.dw()&&(!b||this.ig)?this.ig?this.Yl(Q,a):this.Yl(L,a):this.Yl(M,a)};a.prototype.Yl=function(a,b){if(this.Lf!=a){if(this.Lf==L&&a==Q||this.Lf==Q&&a==L)b=B;this.Lf=a;var c=this.Al,d,e;if(this.Hd){d=this.Lf==L?1:0;e=this.Lf==Q?1:0}else{d=this.Lf!=M?1:0;e=0}var f=b?200:1,g=f*Math.abs(d-c),h=this.Wl,j=f*Math.abs(d-c),f=this.Lf==M?"quad_out":"quad_in",f="linear",g=Math.max(g,j);this.S=new A(f,[new z("itemAlpha",c,d),new z("rollOverItemAlpha",h,e)],g);
this.p()}};a.prototype.dm=function(a,b){if(a)for(var c=0;c<a.length;c++)a[c].trigger(new j(b))};var F="mouse",J="touch",I="vr",L="visible",Q="roll over",M="none";return a});
define("cU","require,gD,iu,dU,ew,bB,dj,gB,cl,a,J,C,gf,I,cw,il,bd".split(","),function(a){function b(){this.te=document.createElement("canvas");this.te.width=1;this.te.height=1;this.Mg=this.te.getContext("2d");this.Mg.globalCompositeOperation="copy"}function d(a){this.kg=new t(g.pf);this.kg.load(a);this.bI=new b}var c=a("gD"),f=a("iu"),j=a("dU"),g=a("ew"),h=a("bB"),e=a("dj"),l=a("gB"),p=a("cl"),o=a("a"),r=a("J"),m=a("C"),t=a("gf"),u=a("I"),w=a("cw"),A=a("il"),z=a("bd"),C=Math.PI/180,v=180/Math.PI,
a=c.extend(e,function(a,b,c){e.call(this,a,b,c);this.sH=c?s:this.m.K0();this.zf=c?this.m.cu():this.m.au();this.vb=c?s:this.m.bu();this.g=c?b.$c():b.va();this.Da=new l(this.m.uc());this.b.ab(this.g,0);this.ze(this.ys("hide"));this.m.set("visible",B);this.VV=this.m.get("lookAwayToHide",q);this.GK=this.m.get("lookAwayToHideTime",2E3);this.F6=this.m.get("darkenBackground",q);this.Ay=B;this.ut=this.un=this.rd=this.ua=this.Jw=s;this.G=this.b.getParent();this.G.bind(f.jc,this.ce,this);this.G.bind(f.wb,this.Oe,
this);this.G.bind(f.xb,this.rg,this);this.qc=this.Cf=B;this.pw=this.zf?new d(this.zf.hb()):s;this.Bg=s;if(this.vb){this.H=w.create(a.$a(),this.vb.hb());this.b.ri(this.vb);this.mv()}else this.H=s;this.jH();this.og=a.$a().og;this.eo=this.pn=1;this.R=j.J;this.Gb=B;this.q_(q)});a.prototype.clear=function(){if(this.H){this.Ax();this.H.Sb(j.J);this.H=s}if(this.pw){this.pw.clear();this.pw=s}this.G.unbind(f.jc,this.ce,this);this.G.unbind(f.wb,this.Oe,this);this.G.unbind(f.xb,this.rg,this);this.G=s;this.$L();
this.m.set("visible",B);this.un=this.rd=this.ua=s;this.hD(B);this.qc=B;this.sH=this.vb=this.zf=this.g=s;this.UM();this.ut=s;e.prototype.clear.call(this)};a.prototype.Ud=H("Gb");a.prototype.ad=function(a){this.H&&this.H.ad(a)};a.prototype.mv=function(){this.H.bind(u.of,this.Rc,this,q);this.H.bind(u.Fg,this.Rc,this,q);this.H.bind(u.nd,this.Rc,this,q);this.H.bind(u.kf,this.Pe,this,q)};a.prototype.Ax=function(){this.H.unbind(u.of,this.Rc,this,q);this.H.unbind(u.Fg,this.Rc,this,q);this.H.unbind(u.nd,this.Rc,
this,q);this.H.unbind(u.kf,this.Pe,this,q)};a.prototype.jH=function(){this.m.bind(f.Qa("visible"),this.R_,this,q);this.m.bind(f.Nj,this.kx,this,q);this.m.bind(f.Uo,this.dX,this,q);this.m.bind(f.od,this.sX,this,q)};a.prototype.$L=function(){this.m.unbind(f.Qa("visible"),this.R_,this,q);this.m.unbind(f.Nj,this.kx,this,q);this.m.unbind(f.Uo,this.dX,this,q);this.m.unbind(f.od,this.sX,this,q)};a.prototype.kx=function(){if(this.H){this.H.Sb(j.P);this.p()}};a.prototype.dX=function(){this.H&&this.H.Sb(j.Xb)};
a.prototype.sX=function(){if(this.H){this.H.Sb(j.J);this.p()}};a.prototype.Pe=function(){if(this.m.get("loop")){this.H.Sb(j.J);this.H.Sb(j.P)}else{this.Rc();this.m.trigger(new h(f.ra))}};a.prototype.R_=function(){var a=this.m.get("visible");a&&this.Gb?this.l_():this.hD(B);this.ua=a?"show":"hide";if(this.ua=="show"){this.wda();this.ze(this.wU())}this.rd=this.d6(this.ua);this.ua=="show"?this.bda():this.e9();this.p()};a.prototype.wda=function(){this.ut={yaw:this.b.Xa(),pitch:this.b.gb(),roll:this.b.Sc(),
scale:this.NU()}};a.prototype.mJ=function(a){if(a){var b=a.Hk();if(b!=j.J&&(!this.zf||a.Ue()>0&&(this.m.get("loop")||a.ki()==0||a.Ue()<a.ki())))return b}return j.J};a.prototype.Rc=function(){var a=this.mJ(this.H);if(this.R!=a){this.R=a;this.q_()}};a.prototype.q_=function(a){var b=this.R==j.J||!this.vb?1:0,c=this.R!=j.J||!this.zf?1:0,d=a?1:200,a=this.pn,e=this.eo,d=Math.max(d*Math.abs(b-a),d*Math.abs(c-e));this.un=new A("linear",[new z("imageItemAlpha",a,b),new z("videoItemAlpha",e,c)],d);this.p()};
a.prototype.JD=function(a){var b=this.b.hr(this.sH),c="linear",d,e;if(this.F6&&this.Gb)if(this.ua=="show")if(this.CV()&&this.VV){d=0;e=this.GK;c="quad_in"}else{d=0.8;e=Math.min((d-b)/0.8,1)*1E3}else{d=0;e=Math.min((b-d)/0.8,1)*1E3}else{d=0;e=1}this.uv=new A(c,[new z("alpha",b,d)],a?1:e)};a.prototype.ce=function(a){this.hD(this.Rp(a.x,a.y))};a.prototype.Oe=function(a){if(this.Rp(a.x,a.y))this.qc=q};a.prototype.rg=function(a){this.Rp(a.x,a.y)&&this.qc&&this.m.trigger(new h(f.ga));this.qc=B};a.prototype.hD=
function(a){if(this.Cf!=a){if(this.Cf){this.b.or(r.Uc);this.m.trigger(new h(f.Kb))}if(this.Cf=a){this.b.su(r.Uc);this.m.trigger(new h(f.Yb))}}};a.prototype.l_=function(){this.hD(this.Rp(this.b.aa()*0.5,this.b.la()*0.5))};a.prototype.Rp=function(a,b){if(this.lJ()){var c=this.Q_(a,b);if(c)if(this.R==j.J&&this.pw){if((c=this.pw.dP(c.x,c.y))&&c[3]>0)return q}else return q}return B};a.prototype.Q_=function(a,b){if(this.JV()){var c=this.ys(this.ua),c=p.pF(a,b,this.b,c.yaw,c.pitch,c.roll,0,0,0,this.b.aa(),
this.b.la(),this.Gb?90:this.b.q,n,n);if(c.x!==n&&c.y!==n){var d=this.OU(),a=(c.x-0.5)*this.b.aa()/d.width+0.5,b=(c.y-0.5)*this.b.la()/d.height+0.5;if(a>=0&&a<1&&b>=0&&b<1)return{x:a,y:b}}}return s};a.prototype.JV=function(){return this.rd==s&&this.ua=="show"};a.prototype.fa=function(a,b){this.Da.gF(b);if(this.rd){this.rd.mb(a);var c=this.ys(this.ua);c.alpha=Math.min(1,c.alpha-this.rd.La("alphaDiff"));c.rotationX=c.rotationX-this.rd.La("rotationXDiff");c.rotationY=c.rotationY-this.rd.La("rotationYDiff");
c.rotationZ=c.rotationZ-this.rd.La("rotationZDiff");c.yaw=c.yaw-this.rd.La("yawDiff");c.pitch=c.pitch-this.rd.La("pitchDiff");c.roll=c.roll-this.rd.La("rollDiff");c.scale=c.scale-this.rd.La("scaleDiff");this.ze(c);if(this.rd.De()){this.rd=s;this.Ay=B;this.ua=="show"?this.cda():this.f9()}this.p()}else if(this.ua=="show"){this.ze(this.ys(this.ua));if(this.Gb){this.l_();if(this.VV&&this.CV()!=this.Ay){this.Ay?this.p$():this.o$();this.Ay=!this.Ay;this.gla>=this.GK&&this.m.set("visible",B)}}}if(this.uv){this.uv.mb(a);
this.b.ab(this.sH,this.uv.La("alpha"));this.uv.De()?this.uv=s:this.p()}if(this.un){this.un.mb(a);this.pn=this.un.La("imageItemAlpha");this.zf&&this.b.ab(this.zf,this.pn);this.eo=this.un.La("videoItemAlpha");this.vb&&this.b.ab(this.vb,this.eo);this.un.De()?this.un=s:this.p()}if(this.H){c=this.H.mE();if(!this.Bg||!this.Bg.isEqual(c)){this.Bg=c;this.vb.Pk(this.Bg.Qg);this.b.ri(this.vb);this.p()}}this.R==j.P&&this.p()};a.prototype.o$=function(){this.oda();this.JD()};a.prototype.p$=function(){this.UM();
this.JD()};a.prototype.bda=function(){this.JD(q);this.BA()};a.prototype.cda=function(){this.m.trigger(new h(f.Or));this.m.get("autoplay")&&this.m.trigger(new h(f.Nj));this.JD()};a.prototype.e9=function(){this.m.trigger(new h(f.Uo))};a.prototype.f9=function(){this.m.trigger(new h(f.So));this.m.get("autoplay")&&this.m.trigger(new h(f.od));this.OC()};a.prototype.q$=function(){this.m.set("visible",B)};a.prototype.oda=function(){this.UM();var a=this;this.Jw=setTimeout(function(){a.Jw=s;a.q$()},this.GK)};
a.prototype.UM=function(){if(this.Jw){clearTimeout(this.Jw);this.Jw=s}};a.prototype.CV=function(){return this.JV()&&(this.V9()||this.R==j.J&&this.n8()<20)?B:q};a.prototype.V9=function(){return!!this.Q_(this.b.aa()*0.5,this.b.la()*0.5)};a.prototype.n8=function(){var a=o.oO(this.b.Xa()*C,this.b.gb()*C),b=this.ys(this.ua),b=o.oO(b.yaw*C,b.pitch*C);return Math.acos(a.Wq(b))*v};a.prototype.ys=function(a){if(a=="show"){a={alpha:2,rotationX:0,rotationY:0,rotationZ:0};if(this.Gb){a.yaw=this.ut.yaw;a.pitch=
this.ut.pitch;a.roll=this.ut.roll;a.scale=this.ut.scale}else{a.yaw=this.b.Xa();a.pitch=this.b.gb();a.roll=this.b.Sc();a.scale=this.NU()}return a}return this.wU()};a.prototype.wU=function(){return{alpha:0,rotationX:this.Da.get("rotationX"),rotationY:this.Da.get("rotationY"),rotationZ:this.Da.get("rotationZ"),yaw:this.Da.get("yaw"),pitch:this.Da.get("pitch"),roll:0,scale:this.Da.gf()}};a.prototype.OU=function(){var a=this.m.get("popupMaxWidth","100%"),b=m.oi(a),a=b!==n?this.b.aa()*(this.Gb?0.5:1)*b/
100:a,b=this.m.get("popupMaxHeight","100%"),c=m.oi(b),c=c!==n?this.b.la()*c/100:b,b=this.vb||this.zf,a=Math.min(a/b.Ea(),c/b.Ma()),c={};c.width=b.Ea()*a;c.height=b.Ma()*a;return c};a.prototype.NU=function(){var a=this.OU();return Math.tan((this.Gb?90:this.b.q)*0.5*C)*a.width/this.b.aa()/Math.tan(this.m.uc()[0].get("hfov")*0.5*C)};a.prototype.d6=function(a){for(var b=this.vb||this.zf,c=this.ys(a),d=c.alpha-this.b.hr(this.g),e=c.rotationX-this.b.Oy(b),f=c.rotationY-this.b.Py(b),g=c.rotationZ-this.b.sE(b),
h=c.yaw-this.b.DO(b);h>180;)h=h-360;for(;h<-180;)h=h+360;var j=c.pitch-this.b.AO(b),l=c.roll-this.b.Yt(b),b=c.scale-this.b.tE(b),c=this.m.get(a=="show"?"showEasing":"hideEasing","linear"),a=this.m.get(a=="show"?"showDuration":"hideDuration",1E3);return new A(c,[new z("alphaDiff",d,0),new z("rotationXDiff",e,0),new z("rotationYDiff",f,0),new z("rotationZDiff",g,0),new z("yawDiff",h,0),new z("pitchDiff",j,0),new z("rollDiff",l,0),new z("scaleDiff",b,0)],a)};a.prototype.ze=function(a){this.zf&&this.b.ke(this.zf,
a.yaw,a.pitch,a.roll,a.rotationX,a.rotationY,a.rotationZ,a.scale);this.vb&&this.b.ke(this.vb,a.yaw,a.pitch,a.roll,a.rotationX,a.rotationY,a.rotationZ,a.scale);this.b.ab(this.g,a.alpha);this.b.aF(this.g,a.alpha>0.95)};d.prototype.clear=function(){this.kg.cancel();this.kg=s;this.bI.clear();this.bI=s};d.prototype.dP=function(a,b){if(this.kg.th())return this.bI.dP(this.kg.Td(),a*this.kg.Ea(),b*this.kg.Ma())};b.prototype.clear=function(){this.Mg=s;this.te.width=this.te.height=0;this.te=s};b.prototype.dP=
function(a,b,c){this.Mg.drawImage(a,b,c,1,1,0,0,1,1);return this.Mg.getImageData(0,0,1,1).data};return a});
define("eZ",["require","gD","db","cX"],function(a){var b=a("gD"),d=a("db"),c=a("cX"),a=b.extend(c,function(a,b,d){this.m=b;this.g=(this.Qc=d)?this.m.cu():this.m.au();c.call(this,a,this.m.uc());this.Vb=this.m.get("scaleMode")});a.prototype.ds=function(){return new d(this.m.get("image"),this.Qc)};a.prototype.fa=function(a,b){c.prototype.fa.call(this,a,b);this.b.ke(this.g,this.Da.get("yaw"),this.Da.get("pitch"),this.b.Yt(this.g),this.Da.get("rotationX"),this.Da.get("rotationY"),this.Da.get("roll"),this.Da.gf())};
a.prototype.clear=function(){this.g=this.m=s;c.prototype.clear.call(this)};return a});define("el",["require","gD","dx"],function(a){var b=a("gD"),d=a("dx"),a=b.extend(d,function(a,b,j){d.call(this);this.Ge=a;this.o=b;this.A=j});a.prototype.clear=E();a.prototype.Ea=N("o");a.prototype.Ma=N("A");a.prototype.P0=N("Ge");return a});
define("fC",["require","gD","el","cX"],function(a){var b=a("gD"),d=a("el"),c=a("cX"),a=b.extend(c,function(a,b,d){this.m=b;this.g=(this.Qc=d)?s:this.m.bu();c.call(this,a,this.m.uc());this.Vb=this.m.get("scaleMode")});a.prototype.ds=function(){return new d("image",this.g.Ea(),this.g.Ma())};a.prototype.fa=function(a,b){c.prototype.fa.call(this,a,b);this.b.ke(this.g,this.Da.get("yaw"),this.Da.get("pitch"),this.b.Yt(this.g),this.Da.get("rotationX"),this.Da.get("rotationY"),this.Da.get("roll"),this.Da.gf())};
a.prototype.clear=function(){this.g=this.m=s;c.prototype.clear.call(this)};return a});
define("S","require,cu,gD,bB,iu,dU,eM,gB,eZ,fC,I,cw,il,bd".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("bB"),f=a("iu"),j=a("dU"),g=a("eM"),h=a("gB"),e=a("eZ"),l=a("fC"),p=a("I"),o=a("cw"),r=a("il"),m=a("bd"),a=d.extend(g,function(a,b,c){g.call(this,a,b,c);this.Zv=[];this.zf=c?this.m.cu():this.m.au();this.pn=0;this.vb=c?s:this.m.bu();this.eo=0;this.UB={};this.oV=this.g6();this.L_=this.D6();this.Rj=[].concat(this.oV,this.L_);if(this.vb){this.H=o.create(a.$a(),this.vb.hb());this.mv();this.jH()}else this.H=
s;this.og=a.$a().og;this.pn=this.wL=1;this.eo=0;this.vb&&this.b.Ce(this.vb);this.R=j.J;this.ON=B;this.Da=new h(this.m.uc());this.Ft(q);!this.Qc&&this.m.get("autoplay")&&this.H?this.m.set("state",j.P):this.fL()});a.prototype.clear=function(){if(this.H){this.Ax();this.H.Sb(j.J);this.H=s;this.$L();this.m.set("state",j.J)}g.prototype.clear.call(this);this.zf=this.UB=s;if(this.vb){this.vb.Pk(s);this.vb=s}};a.prototype.Fj=function(a){g.prototype.Fj.call(this,a);this.Ft(q)};a.prototype.Ud=function(a){g.prototype.Ud.call(this,
a);this.Ft(q)};a.prototype.ad=function(a){this.H&&this.H.ad(a)};a.prototype.mv=function(){this.H.bind(p.of,this.Rc,this,q);this.H.bind(p.Fg,this.Rc,this,q);this.H.bind(p.nd,this.Rc,this,q);this.H.bind(p.kf,this.Pe,this,q)};a.prototype.Ax=function(){this.H.unbind(p.of,this.Rc,this,q);this.H.unbind(p.Fg,this.Rc,this,q);this.H.unbind(p.nd,this.Rc,this,q);this.H.unbind(p.kf,this.Pe,this,q)};a.prototype.jH=function(){this.m.bind(f.Qa("state"),this.fL,this,q);this.m.bind(f.Yb,this.In,this,q);this.m.bind(f.Kb,
this.In,this,q);this.m.bind(f.Mj,this.In,this,q);this.m.bind(f.oe,this.In,this,q)};a.prototype.$L=function(){this.m.unbind(f.Qa("state"),this.fL,this,q);this.m.unbind(f.Yb,this.In,this,q);this.m.unbind(f.Kb,this.In,this,q);this.m.unbind(f.Mj,this.In,this,q);this.m.unbind(f.oe,this.In,this,q)};a.prototype.fL=function(){this.H&&this.H.Sb(this.m.get("state"))};a.prototype.Pe=function(){if(this.m.get("loop")){this.H.Sb(j.J);this.H.Sb(j.P)}else{this.Rc();this.m.trigger(new c(f.ra))}};a.prototype.g6=function(){return this.m.get("image")?
[new e(this.b,this.m,this.Qc)]:[]};a.prototype.D6=function(){return this.vb?[new l(this.b,this.m,this.Qc)]:[]};a.prototype.nB=function(){return this.R!=j.J||this.m.get("videoVisibleOnStop")&&this.ON?this.L_||[]:this.oV||[]};a.prototype.mJ=function(a){if(a){var b=a.Hk();if(b!=j.J&&a.Ue()>0&&(this.m.get("loop")||a.ki()==0||a.Ue()<a.ki()))return b}return j.J};a.prototype.In=function(){this.Ft(B)};a.prototype.cq=function(){g.prototype.cq.call(this);this.Ft(q)};a.prototype.Rc=function(){var a=this.mJ(this.H);
if(this.R!=a){this.R=a;if(this.R!=j.J)this.ON=q;this.Ft()}this.m.set("state",this.H.Hk())};a.prototype.Ft=function(a){var b=this.pn,c=this.eo,d=[{video:c,image:b}];if(this.dw())if(this.R!=j.J||this.m.get("videoVisibleOnStop")&&this.ON){if(c<1||b>0){d.push({video:1,image:b,time:100});d.push({video:1,image:0,time:50})}}else{if(c>0||b<1){d.push({video:c,image:1,time:100});d.push({video:0,image:1,time:50})}}else d.push({video:0,image:0});this.Zv=[];for(b=1;b<d.length;b++)this.Zv.push(new r("linear",[new m("imageItemAlpha",
d[b-1].image,d[b].image),new m("videoItemAlpha",d[b-1].video,d[b].video)],(a?1:d[b].time)*Math.max(Math.abs(d[b].image-d[b-1].image),Math.abs(d[b].video-d[b-1].video))));this.p()};a.prototype.fa=function(a,c){this.Da.gF(c);b(this.Rj).each(function(b){b.fa(a,c)});g.prototype.fa.call(this,a);if(this.Zv.length>0){var d=this.Zv[0];this.wL=this.Da.Ve();d.mb(a);this.pn=d.La("imageItemAlpha");this.eo=d.La("videoItemAlpha");d.De()&&this.Zv.shift();this.p()}d=this.Da.Ve();this.zf&&this.b.ab(this.zf,this.pn*
d);this.vb&&this.b.ab(this.vb,this.eo*d);d!=this.wL&&this.p();this.wL=d;if(this.R==j.P){d=this.H.mE();if(!this.Bg||!this.Bg.isEqual(d)){this.Bg=d;this.vb.Pk(this.Bg.Qg);this.b.ri(this.vb)}this.p()}};return a});
define("cf","require,gD,iu,bB,dx,cO,et,hm,bK,D,fw,iA,ck,bQ,eh,dP,fY,dj,cU,S,X,J".split(","),function(a){var b=a("gD"),d=a("iu"),c=a("bB"),f=a("dx");a("cO");var j=a("et"),g=a("hm"),h=a("bK"),e=a("D"),l=a("fw"),p=a("iA"),o=a("ck"),r=a("bQ"),m=a("eh"),t=a("dP"),u=a("fY"),w=a("dj"),A=a("cU"),z=a("S"),C=a("X");a("J");var v=b.extend(f,function(a,b){f.call(this);this.G=a;this.b=b;this.ye=[];this.jq=s;this.Ke=q;this.Jc=this.$J=B;this.xk=new m(a,b);this.xk.bind(m.M,this.p,this,q);this.xk.Ud(C.isPresenting());
this.ea=s;this.fo=new r(b);this.fo.bind(r.M,this.p,this,q);this.fo.Ud(C.isPresenting());this.ho=new t(a,b);this.ho.bind(t.M,this.p,this,q);this.ho.Ud(C.isPresenting());C.bind(d.W,this.Fd,this,q)});v.prototype.clear=function(){for(var a=0;a<this.ye.length;a++)this.ye[a].clear();this.ye=s;this.xk.clear();this.xk=s;this.fo.clear();this.fo=s;this.ho.clear();this.b=this.ho=s;C.unbind(d.W,this.Fd,this,q)};v.prototype.um=function(a){this.xk.um(a);this.fo.um(a)};v.prototype.Fj=function(a){if(this.Ke!=a){this.Ke=
a;this.PD()}};v.prototype.ad=function(a){if(this.Jc!=a){this.Jc=a;this.PD()}};v.prototype.Fd=function(){this.PD();this.xk.Ud(C.isPresenting());this.fo.Ud(C.isPresenting());this.ho.Ud(C.isPresenting())};v.prototype.Aj=function(a){a.Yy()&&this.d0(a.Cj(),q);this.yca(a.U.get("vrMenu",a.U.get("cardboardMenu",s)))};v.prototype.jr=function(a){if(a.Yy())this.UE(a.Cj(),q);else{for(var b=[],a=a.U.get("frames")||[],c=0;c<a.length;c++)b=b.concat(a[c].get("overlays")||[]);this.UE(b,B)}};v.prototype.Mk=function(a){for(var b=
0;b<this.ye.length;b++)this.ye[b].Mk(a)};v.prototype.fa=function(a,b){for(var c=0;c<this.ye.length;c++)this.ye[c].fa(a,b);this.fo.fa(a);this.ho.fa(a);this.xk.fa(a)};v.prototype.d0=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],f;if(f=d instanceof l?new o(this.b,o.v3,d,b):d instanceof j?new o(this.b,o.QQ,d,b):d instanceof h||d instanceof g?new u(this.b,d,b,this.Ke):d instanceof e&&!b?new A(this.b,d,b):d instanceof p?new z(this.b,d,b):s){f.bind(w.M,this.p,this,q);f.bind(w.EF,this.BA,this,q);f.bind(w.cG,
this.OC,this,q);f.bind(w.IF,this.vY,this,q);f.bind(w.JF,this.$X,this,q);f.bind(w.FF,this.AX,this,q);f.bind(w.GF,this.BX,this,q);f.yP(!this.$J);this.ye.push(f)}this.xk.jfa(d)}this.PD();this.p()};v.prototype.UE=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];this.xk.$ha(d);for(var e=0;e<this.ye.length;e++){var f=this.ye[e];if(f.match(d,b)){f.clear();f.unbind(w.M,this.p,this);f.unbind(w.EF,this.BA,this);f.unbind(w.cG,this.OC,this);f.unbind(w.IF,this.vY,this);f.unbind(w.JF,this.$X,this);f.unbind(w.FF,
this.AX,this);f.unbind(w.GF,this.BX,this);this.ye.splice(e,1);if(this.jq==f)this.jq=s;break}}}this.p()};v.prototype.PD=function(){for(var a=0;a<this.ye.length;a++){var b=this.ye[a];if(b instanceof u){b.Fj(this.Ke);b.Ud(C.isPresenting())}else if(b instanceof z){b.Fj(this.Ke);b.Ud(C.isPresenting());b.ad(this.Jc)}else if(b instanceof A){b.Ud(C.isPresenting());b.ad(this.Jc)}}};v.prototype.yca=function(a){if(this.ea!=a){this.ea=a;this.fo.DP(a);this.xk.DP(a)}};v.prototype.p=function(){this.trigger(new c(v.M))};
v.prototype.BA=function(a){this.$J=q;for(var b=0;b<this.ye.length;b++)this.ye[b].yP(this.ye[b]==a.source)};v.prototype.OC=function(){this.$J=B;for(var a=0;a<this.ye.length;a++)this.ye[a].yP(q)};v.prototype.vY=function(a){var b=a.data.text;this.b.ez(b,a.data.priority);this.ho.ez(b)};v.prototype.$X=function(a){var b=a.data.text;this.b.dz(b,a.data.priority);this.ho.dz(b)};v.prototype.AX=function(a){this.jq&&this.jq.xfa();this.jq=a.source};v.prototype.BX=function(a){if(this.jq==a.source)this.jq=s};v.M=
"request frame";return v});define("fx",["gD","bB","dx","M"],function(a,b,d,c){var f=a.extend(d,function(a){d.call(this);this.Z=q;this.xf=B;this.b=a});f.prototype.clear=function(){this.Z=B;this.b=s};f.prototype.Dc=function(){this.xf||(this.xf=q,c.Dc(this.xe,this))};f.prototype.xe=function(a){this.Z&&(this.xf=B,this.trigger(new b(f.yi,{frameTime:a})),this.trigger(new b(f.zi,{frameTime:a})),this.b.render())};f.yi="frameStart";f.zi="positionSet";return f});
define("eO",["require","o","gq"],function(a){function b(){this.A=this.o=0;this.q=90;this.Wh="landscape";this.iL=B;this.gK=d.ic()}var d=a("o"),c=a("gq");b.prototype.AP=function(a){this.q=this.gK&&"portrait"==this.Wh?c.Hy(a,this.A,this.o):a};b.prototype.ZE=function(a){return this.q=this.gK&&this.iL?c.Hy(a,this.A,this.o):a};b.prototype.q1=function(){return this.gK&&this.iL};b.prototype.Nt=function(a){return c.Hy(a,this.A,this.o)};b.prototype.setSize=function(a,b){this.o=a;this.A=b;var c=this.t8();this.iL=
this.Wh!=c;this.Wh=c};b.prototype.t8=function(){return 0===this.o||0===this.A?"landscape":this.o<this.A?"portrait":"landscape"};return b});
define("gQ","require,gD,dU,bB,dx,hG,x,H,q,hj,fM,cf,fx,eO,cl,X".split(","),function(a){var b=a("gD");a("dU");var d=a("bB"),c=a("dx"),f=a("hG"),j=a("x"),g=a("H"),h=a("q"),e=a("hj"),l=a("fM"),p=a("cf"),o=a("fx"),r=a("eO"),m=a("cl");a("X");var t=b.extend(c,function(a,b){c.call(this);this.G=a;this.b=b;this.b.set("visible",B);this.rc=new r;this.fc=new o(this.b);this.yc=new e(this.b);this.N=new g(this.G,this.b,this.rc);this.ha=new j(this.b,this.rc);this.Zb=new h(this.b);this.zc=new p(this.G,this.b);this.Hl=
new l(this.b);this.bd=new f(this.b);this.fc.bind(o.yi,this.Ln,this,q);this.fc.bind(o.zi,this.Mn,this,q);this.yc.bind(e.M,this.yb,this,q);this.yc.bind(e.Sk,this.ax,this,q);this.yc.bind(e.Bm,this.Zw,this,q);this.yc.bind(e.UF,this.aX,this,q);this.yc.bind(e.Xf,this.Ml,this,q);this.N.bind(g.M,this.yb,this,q);this.N.bind(g.Fo,this.Yw,this,q);this.N.bind(g.Cm,this.$w,this,q);this.N.bind(g.Ez,this.UW,this,q);this.N.bind(g.SF,this.RW,this,q);this.N.bind(g.CF,this.qW,this,q);this.N.bind(g.DF,this.rW,this,q);
this.N.bind(g.Jo,this.Jn,this,q);this.N.bind(g.Ko,this.Kn,this,q);this.N.bind(g.Lo,this.Ol,this,q);this.N.bind(g.VF,this.bX,this,q);this.N.bind(g.WF,this.cX,this,B);this.ha.bind(j.M,this.yb,this,q);this.ha.bind(j.lf,this.jj,this);this.ha.bind(j.xi,this.kX,this);this.ha.bind(j.Bb,this.wd,this,q);this.ha.bind(j.Dd,this.nj,this,q);this.ha.bind(j.Cd,this.mj,this,q);this.Zb.bind(h.M,this.yb,this,q);this.Zb.bind(h.Do,this.Ww,this,q);this.Zb.bind(h.Eo,this.Xw,this,q);this.Zb.bind(h.Dh,this.Nn,this,q);this.Zb.bind(h.Bb,
this.wd,this,q);this.zc.bind(j.M,this.yb,this,q);this.Hl.bind(l.nf,this.YW,this,q)});t.prototype.clear=function(){this.yc.clear();this.fc.clear();this.ha.clear();this.N.clear();this.Zb.clear();this.zc.clear();this.Hl.clear();this.bd.clear();this.yc.unbind(e.M,this.yb,this);this.yc.unbind(e.Sk,this.ax,this);this.yc.unbind(e.Bm,this.Zw,this);this.yc.unbind(e.UF,this.aX,this);this.yc.unbind(e.Xf,this.Ml,this);this.fc.unbind(o.yi,this.Ln,this);this.fc.unbind(o.zi,this.Mn,this);this.N.unbind(g.M,this.yb,
this);this.N.unbind(g.Fo,this.Yw,this);this.N.unbind(g.Cm,this.$w,this);this.N.unbind(g.Ez,this.UW,this);this.N.unbind(g.SF,this.RW,this);this.N.unbind(g.CF,this.qW,this);this.N.unbind(g.DF,this.rW,this);this.N.unbind(g.Jo,this.Jn,this);this.N.unbind(g.Ko,this.Kn,this);this.N.unbind(g.Lo,this.Ol,this);this.N.unbind(g.VF,this.bX,this);this.N.unbind(g.WF,this.cX,this);this.ha.unbind(j.U2,this.yb,this);this.ha.unbind(j.lf,this.jj,this);this.ha.unbind(j.xi,this.kX,this);this.ha.unbind(j.Bb,this.wd,this,
q);this.ha.unbind(j.Dd,this.nj,this);this.ha.unbind(j.Cd,this.mj,this);this.Zb.unbind(h.M,this.yb,this);this.Zb.unbind(h.Do,this.Ww,this);this.Zb.unbind(h.Eo,this.Xw,this);this.Zb.unbind(h.Dh,this.Nn,this);this.Zb.unbind(h.Bb,this.wd,this);this.zc.unbind(j.M,this.yb,this);this.Hl.unbind(l.nf,this.YW,this);this.G=this.b=this.bd=this.Hl=this.zc=this.Zb=this.N=this.ha=this.fc=this.yc=s};t.prototype.CP=function(a){this.Hl.CP(a)};t.prototype.rja=function(a,b,c){this.b.set("visible",q);this.Zb.kF();this.yc.xha(a,
b,c)};t.prototype.ur=function(){this.yc.stop();this.Zb.end();this.ha.end();this.N.hide();this.Hl.stop();this.bd.end()};t.prototype.wu=function(){this.ha.lia();this.Zb.wu()};t.prototype.pu=function(){this.ha.pause();this.Zb.pu()};t.prototype.play=function(){this.ha.play();this.bd.play();this.Zb.play()};t.prototype.pause=function(){this.ha.pause();this.bd.pause();this.Zb.pause()};t.prototype.stop=function(){this.ha.stop();this.bd.stop();this.Zb.stop()};t.prototype.getTime=function(){return this.Zb.getTime()};
t.prototype.wd=function(){this.trigger(new d(t.Bb,{state:this.Zb.ff()||this.ha.ff()}))};t.prototype.GP=function(a){this.yc.GP(a)};t.prototype.Wf=function(a){this.ha.Wf(a)};t.prototype.xr=function(a){this.ha.xr(a);this.N.xr(a)};t.prototype.Fj=function(a){this.zc.Fj(a);this.N.Fj(a)};t.prototype.yo=function(a){this.ha.yo(a)};t.prototype.kz=function(a){this.ha.kz(a)};t.prototype.ad=function(a){this.Zb.ad(a);this.zc.ad(a)};t.prototype.Ar=function(a){this.ha.Ar(a)};t.prototype.Oga=function(a,b){var c=m.get(a,
b,this.b.Xa(),this.b.gb(),this.b.Sc(),this.b.q,this.b.aa(),this.b.la());return c?{x:c.x,y:c.y}:s};t.prototype.Ml=function(a){this.zc.um(q);this.trigger(new d(t.Xf,{percent:a.data.percent}))};t.prototype.Zw=function(a){a=a.data.level;this.Zb.end();this.N.Aj(a)};t.prototype.aX=E();t.prototype.ax=function(){this.trigger(new d(t.Go))};t.prototype.yb=function(){this.fc.Dc()};t.prototype.Ln=function(a){a=a.data.frameTime;this.rc.setSize(this.b.aa(),this.b.la());this.N.Mk(a);this.ha.Mk(a)};t.prototype.Mn=
function(a){var a=a.data.frameTime,b=this.Zb.getTime();this.N.fa(a);this.ha.fa(a);this.Zb.fa(a);this.zc.fa(a,b);this.Hl.fa(a);this.bd.fa(a)};t.prototype.Yw=function(a){a=a.data.level;this.zc.Aj(a);this.Hl.Aj(a);a.Kk()&&this.Zb.Jk(a)};t.prototype.$w=function(a){a=a.data.level;this.bd.end(a);this.zc.jr(a);this.Hl.jr(a)};t.prototype.UW=function(a){this.yc.bka(a.data.level)};t.prototype.RW=function(a){a=a.data.level;a.Yy()&&this.ha.start(a)};t.prototype.qW=function(a){a=a.data.level;if(a.Kk()){this.Zb.start(a);
this.bd.start(a);this.ha.start(a);this.zc.um(B)}};t.prototype.rW=function(){this.zc.um(B);this.b.set("visible",B)};t.prototype.Kn=function(a){this.trigger(new d(t.Ko,{panorama:a.data.panorama}))};t.prototype.bX=function(){this.ha.end()};t.prototype.cX=function(a){this.ha.start(a.data.level)};t.prototype.Ol=function(a){this.trigger(new d(t.Lo,{panorama:a.data.panorama}))};t.prototype.Jn=function(a){a=a.data.panorama;this.trigger(new d(t.Jo,{panorama:a}));a.get("frames").forEach(function(a){this.zc.UE(a.get("overlays")||
[])}.bind(this))};t.prototype.Ww=function(a){var b=a.data.index;this.zc.d0(a.data.level.U.get("frames")[b].get("overlays")||[])};t.prototype.Xw=function(a){var b=a.data.index;this.zc.UE(a.data.level.U.get("frames")[b].get("overlays")||[])};t.prototype.YW=function(a){this.ha.IP(a.data.yawDelta,0)};t.prototype.jj=function(a){this.trigger(new d(t.lf,a.data))};t.prototype.kX=function(a){this.trigger(new d(t.xi,a.data))};t.prototype.nj=function(){this.Zb.oF();this.trigger(new d(t.Dd))};t.prototype.mj=
function(){this.trigger(new d(t.Cd))};t.prototype.Oia=function(a){this.Zb.zr(a)};t.prototype.wr=function(a){this.Zb.wr(a)};t.prototype.Nn=function(a){this.trigger(new d(t.Dh,a.data))};t.Xf="loadingProgress";t.Go="loadingEnd";t.lf="movementChange";t.xi="positionChange";t.Lo="panoramaShow";t.Ko="panoramaPreloadShow";t.Jo="panoramaHide";t.Bb="playbackStateChange";t.Dd="userInteractionStart";t.Cd="userInteractionEnd";t.Dh="timeChange";return t});
define("im","require,cu,jquery.mod,gD,gU,iu,bB,dU,bG,cO,fG,bU,eT,dY,gQ,cx,cJ,hN,X,ct,dN".split(","),function(a){var b=a("cu"),d=a("jquery.mod"),c=a("gD");a("gU");var f=a("iu"),j=a("bB"),g=a("dU"),h=a("bG"),e=a("cO"),l=a("fG"),p=a("bU"),o=a("eT"),r=a("dY"),m=a("gQ"),t=a("cx"),u=a("cJ"),w=a("hN"),A=a("X"),z=a("ct"),C=a("dN"),v=c.extend(o,function(){o.call(this,"panorama");this.RJ=this.jn=this.IC=this.aC=this.VB=this.IH=this.rC=this.Pf=B;this.HJ=q;this.Cp=this.Pp=this.JA=B;this.jB=this.hJ=this.Pb=this.Lb=
0;this.yL=this.AL=n;this.kW=q;this.Qe=g.J;this.LB=b(this.LB).bind(this);this.MB=b(this.MB).bind(this);this.Wp=[];this.n=this.b=s;this.jW={};for(var a in v.Yk)this.jW[a]=this.m6(a);this.sA=new l(this,"buttonToggleGyroscope",z.Fh);this.sA.bind(f.$f,function(){this.set("gyroscopeEnabled",q)},this);this.sA.bind(f.Eh,function(){this.set("gyroscopeEnabled",B)},this);this.sA.set("pressed",this.get("gyroscopeEnabled")&&w.available);this.b5=new l(this,"buttonCardboardView",z.kc);this.b5.bind(f.ga,function(){this.set("viewMode",
v.fp)},this,q);this.k5=new l(this,"buttonVRView",z.kc);this.k5.bind(f.ga,function(){this.set("viewMode",v.fp)},this,q);A.bind(f.W,function(){this.d_("viewMode")},this,q);this.tA=new l(this,"buttonToggleHotspots",z.Fh);this.tA.bind(f.$f,function(){this.set("hotspotsEnabled",q)},this);this.tA.bind(f.Eh,function(){this.set("hotspotsEnabled",B)},this);this.tA.set("pressed",this.get("hotspotsEnabled"));this.Hc=c.qm(this.Id,this);this.set("hotspotsEnabled",q)});v.fQ="cameraPositionChange";v.Dd="userInteractionStart";
v.Cd="userInteractionEnd";v.Ou="preloadMediaShow";v.Xf="loadingProgress";e.C("PanoramaPlayer",v).D("Object").K({panorama:"Panorama",video:"Video360",mode:"enum[fast, quality]",viewMode:"enum[standard, cardboard, vr]",preloadEnabled:"bool",state:"enum[stopped, playing, paused]",currentTime:"number",startTime:"number",displayPlaybackBar:"bool",hdrPanoramaDisplayPlaybackBar:"bool",hdrPanoramaDisplayPlaybackBarSteps:"bool",livePanoramaDisplayPlaybackBar:"bool",livePanoramaDisplayPlaybackBarSteps:"bool",
videoPanoramaDisplayPlaybackBar:"bool",camera:"PanoramaCamera",viewerArea:"ViewerArea",mapPlayer:"MapPlayer",gyroscopeEnabled:"bool",gyroscopeVerticalDraggingEnabled:"bool",hotspotsEnabled:"bool",yaw:"number",pitch:"number",roll:"number",hfov:"number",mouseControlMode:"enum[drag_acceleration, drag_rotation]",touchControlMode:"enum[drag_acceleration, drag_rotation]",buttonMoveLeft:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonMoveRight:"or[array[or[Button, IconButton]], or[Button, IconButton]]",
buttonMoveUp:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonMoveDown:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayLeft:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayRight:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayUp:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayDown:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonToggleGyroscope:"or[array[or[Button, IconButton]], or[Button, IconButton]]",
buttonCardboardView:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonVRView:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonToggleHotspots:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonZoomIn:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonZoomOut:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlay:"or[array[or[Button, IconButton]], or[Button, IconButton]]",
buttonPlayPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonStop:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonRestart:"or[array[or[Button, IconButton]], or[Button, IconButton]]"}).Jb([f.Qz,v.fQ,v.Xf,v.Dd,v.Cd,v.Ou,o.nd,p.Ze,p.Ch]).qi([v.Ou]).si({moveLeft:function(){this.fb(t.Wu)},moveRight:function(){this.fb(t.Xu)},moveUp:function(){this.fb(t.Yu)},moveDown:function(){this.fb(t.Vu)},playLeft:function(){this.fb(t.Ika)},playRight:function(){this.fb(t.Jka)},
playUp:function(){this.fb(t.Kka)},playDown:function(){this.fb(t.Hka)},play:function(){this.Ff()},pause:function(){this.fh()},stop:function(){this.hq()},seek:function(a){this.Ix(a)},restart:function(){this.gq()},zoomIn:function(){this.fb(t.Wk)},zoomOut:function(){this.fb(t.Xk)},resumeCamera:function(){this.Dba()},pauseCamera:function(){this.Gaa()},getScreenPosition:function(a,b){return this.F8(a,b)}});v.prototype.get=function(a,b){switch(a){case "currentTime":return this.n&&this.n.getTime()||0;case "yaw":return this.b?
this.b.Xa():n;case "pitch":return this.b?this.b.gb():n;case "roll":return this.b?this.b.Sc():n;case "hfov":return this.b?this.b.q:n;case "viewMode":return A.isPresenting()?v.fp:v.dH;case "video":a="panorama"}if(!b)switch(a){case "mouseControlMode":b=h.qQ;break;case "touchControlMode":b=h.cR}return o.prototype.get.call(this,a,b)};v.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "startTime":this.rC=q;this.Hc();break;case "video":case "panorama":a="panorama";this.rC=q;this.Hc();break;
case "camera":this.IH=q;this.Hc();break;case "viewerArea":this.Pf=q;this.Hc();break;case "displayPlaybackBar":case "hdrPanoramaDisplayPlaybackBarSteps":case "livePanoramaDisplayPlaybackBarSteps":case "buttonPlay":case "buttonPlayPause":this.Cp=q;this.Hc();break;case "mapPlayer":this.VB=q;this.Hc();break;case "mode":this.aC=q;this.Hc();break;case "preloadEnabled":this.IC=q;this.Hc();break;case "gyroscopeEnabled":this.jn=q;this.Hc();break;case "gyroscopeVerticalDraggingEnabled":this.HJ=q;this.Hc();
break;case "viewMode":if(A.available()){if(b=="vr")b=v.fp;b==v.fp?A.isPresenting()||A.hia():A.isPresenting()&&A.iia()}b=A.isPresenting()?v.fp:v.dH;break;case "hotspotsEnabled":this.RJ=q;this.Hc();break;case "mouseControlMode":case "touchControlMode":this.JA=q;this.Hc()}o.prototype.set.call(this,a,b)}};v.prototype.vm=function(a){if(this.Pp!=a){if(this.Pp){d(document).off("keydown",this.LB);d(document).off("keyup",this.MB);this.Wp=[]}if(this.Pp=a){d(document).on("keydown",this.LB);d(document).on("keyup",
this.MB)}}};var D={};D[38]=t.Yu;D[40]=t.Vu;D[37]=t.Wu;D[39]=t.Xu;D[65]=t.Wk;D[90]=t.Xk;var F=b(D).keys();v.prototype.LB=function(a){a=a.which.toString();if(b(F).contains(a)){this.Wp=b.union(this.Wp,[a]);this.r_()}};v.prototype.MB=function(a){a=a.which.toString();if(b(this.Wp).contains(a)){this.Wp=b.without(this.Wp,a);this.r_()}};v.prototype.r_=function(){var a=b(this.Wp).map(function(a){return D[a]});a.length==0?a.push(t.od):a.push(t.ZQ);this.fb(a)};v.prototype.m6=function(a){var b=v.Yk[a],a=new l(this,
a,z.kc);a.bind(f.wb,function(){this.fb(b.movement)},this);b.stopOnRelease&&a.bind(f.xb,function(){this.fb(t.od)},this);return a};v.prototype.Id=function(){if(this.Pf){this.Pf=B;this.IC=this.aC=this.JA=this.jn=this.VB=q;this.yp();this.get("viewerArea")&&this.xp();this.nD(this.get("viewerArea"))}var a=B;if(this.b){if(this.VB){this.VB=B;this.n.CP(this.get("mapPlayer"))}if(this.aC){this.aC=B;switch(this.get("mode")){case "fast":this.b.xo(u.Pz);break;case "quality":this.b.xo(u.Uu)}}if(this.JA){this.JA=
B;this.n.yo(this.get("mouseControlMode"));this.n.Ar(this.get("touchControlMode"))}if(this.IC){this.IC=B;this.n.GP(this.get("preloadEnabled"))}if(this.rC||this.IH){this.jB=this.hJ=this.Lb=this.Pb=0;this.yL=this.AL=n;a=q;this.IH=this.rC=B;if(this.get("panorama")){this.TC();this.n.rja(this.get("panorama"),this.get("camera",new r),this.get("startTime"))}else this.n.ur()}if(this.HJ){this.HJ=B;this.n.kz(this.get("gyroscopeVerticalDraggingEnabled",q))}if(this.jn){this.jn=B;var b=this.get("gyroscopeEnabled")&&
w.available;this.n.xr(b);this.sA.set("pressed",b)}if(this.RJ){this.RJ=B;b=this.get("hotspotsEnabled");this.n.Fj(b);this.tA.set("pressed",b)}if(this.Cp){this.Cp=B;a=q}a&&this.qy()}};v.prototype.Wx=function(){this.set("panorama",s)};v.prototype.xp=function(){var a=this.get("viewerArea");this.b=new u(a);this.b.T({left:0,top:0,bottom:0,right:0});a.Ca(this.b);this.n=new m(a,this.b);this.n.bind(m.lf,this.jj,this);this.n.bind(m.xi,this.xW,this);this.n.bind(m.Xf,this.Ml,this);this.n.bind(m.Go,this.Ss,this);
this.n.bind(m.Ko,this.Kn,this);this.n.bind(m.Lo,this.Ol,this);this.n.bind(m.Jo,this.Jn,this);this.n.bind(m.Bb,this.wd,this);this.n.bind(m.Dd,this.nj,this);this.n.bind(m.Cd,this.mj,this);this.n.bind(m.Dh,this.Nn,this);this.get("application").bind(f.Qa("mute"),this.ex,this);this.get("application").get("mute",B)&&this.n.ad(q);this.get("application").bind(f.Qa("desktopMipmappingEnabled"),this.VK,this);this.VK();this.get("application").bind(f.Qa("mobileMipmappingEnabled"),this.ZK,this);this.ZK();A.bind(f.W,
this.Fd,this,q);this.qt(q)};v.prototype.yp=function(){if(this.b){this.n.unbind(m.lf,this.jj,this);this.n.unbind(m.xi,this.xW,this);this.n.unbind(m.Xf,this.Ml,this);this.n.unbind(m.Go,this.Ss,this);this.n.unbind(m.Ko,this.Kn,this);this.n.unbind(m.Lo,this.Ol,this);this.n.unbind(m.Jo,this.Jn,this);this.n.unbind(m.Bb,this.wd,this);this.n.unbind(m.Dd,this.nj,this);this.n.unbind(m.Cd,this.mj,this);this.n.unbind(m.Dh,this.Nn,this);this.n.clear();this.get("application").unbind(f.Qa("mute"),this.ex,this);
this.get("application").unbind(f.Qa("desktopMipmappingEnabled"),this.VK,this);this.get("application").unbind(f.Qa("mobileMipmappingEnabled"),this.ZK,this);this.b.getParent().removeChild(this.b);this.b=s;A.unbind(f.W,this.Fd,this,q);this.qt(B)}};v.prototype.ex=function(){this.b&&this.n.ad(this.get("application").get("mute",B))};v.prototype.VK=function(){this.b&&this.b.XE(this.get("application").get("desktopMipmappingEnabled"))};v.prototype.ZK=function(){this.b&&this.b.dF(this.get("application").get("mobileMipmappingEnabled"))};
v.prototype.wd=function(a){this.Qe=a.data.state;this.Rc()};v.prototype.Rc=function(){this.hd(this.kW?this.Qe:g.P)};v.prototype.nj=function(){this.trigger(new j(v.Dd))};v.prototype.mj=function(){this.trigger(new j(v.Cd))};v.prototype.Kn=function(a){this.trigger(new j(v.Ou,{media:a.data.panorama}))};v.prototype.Ol=function(a){this.YB(a.data.panorama)};v.prototype.Jn=function(a){this.XB(a.data.panorama)};v.prototype.jj=function(a){for(var b in v.Yk)this.jW[b].set("state",a.data[v.Yk[b].pressedOn]?C.oa:
C.dc);this.kW=a.data.stopped;this.Rc();this.trigger(new j(f.Qz,a.data))};v.prototype.xW=function(a){this.trigger(new j(v.fQ,a.data))};v.prototype.Ml=function(a){this.b.getParent().T({progressPercent:a.data.percent,progressVisible:q});this.trigger(new j(v.Xf,a.data))};v.prototype.Ss=function(){this.b.getParent().set("progressVisible",B)};v.prototype.Fd=function(){this.set("viewMode",A.isPresenting()?v.fp:v.dH)};v.prototype.fb=function(a){this.n&&this.n.Wf(a)};v.prototype.Ff=function(){this.n.play()};
v.prototype.di=function(){this.n.stop()};v.prototype.fh=function(){this.n.pause()};v.prototype.Ix=function(a){this.n&&(this.mU()?this.n.wr(a):this.n.Oia(a))};v.prototype.Gaa=function(){this.n&&this.n.pu()};v.prototype.Dba=function(){this.n&&this.n.wu()};v.prototype.F8=function(a,b){if(this.n)return this.n.Oga(a,b)};v.prototype.GC=function(a){this.Ix(a.data.position)};v.prototype.Nn=function(a){this.Pb=a.data.time;this.Lb=a.data.duration;this.hJ=a.data.transitionPosition;this.jB=a.data.transitionLength;
this.AL=a.data.steps;this.yL=a.data.selectedStep;this.qy()};v.prototype.qy=function(){var a=this.b.getParent(),b=B;if(this.S7()){var c=this.mU(),d=this.A8();if(c){if(this.jB>0){a.T({playbackBarPosition:this.hJ,playbackBarDuration:this.jB,playbackBarSteps:this.AL,playbackBarSelectedStep:this.yL,playbackBarLiveDragging:d});b=q}}else if(this.Lb>0){a.T({playbackBarPosition:this.Pb,playbackBarDuration:this.Lb,playbackBarSteps:n,playbackBarSelectedStep:n,playbackBarLiveDragging:d});b=q}}a.set("playbackBarVisible",
b)};v.prototype.S7=function(){var a=this.get("panorama");return a?e.hc("HDRPanorama",a)?this.get("hdrPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",B)):e.hc("LivePanorama",a)?this.get("livePanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",B)):e.hc("VideoPanorama",a)?this.get("videoPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",q)):B:B};v.prototype.mU=function(){var a=this.get("panorama");return!a?B:e.hc("HDRPanorama",a)?this.get("hdrPanoramaDisplayPlaybackBarSteps",q):
e.hc("LivePanorama",a)?this.get("livePanoramaDisplayPlaybackBarSteps",q):B};v.prototype.A8=function(){var a=this.get("panorama");return!a||e.hc("VideoPanorama",a)?B:q};v.fp="cardboard";v.dH="standard";v.Yk={buttonMoveLeft:{movement:t.Wu,pressedOn:"movingLeft",stopOnRelease:q},buttonMoveRight:{movement:t.Xu,pressedOn:"movingRight",stopOnRelease:q},buttonMoveUp:{movement:t.Yu,pressedOn:"movingUp",stopOnRelease:q},buttonMoveDown:{movement:t.Vu,pressedOn:"movingDown",stopOnRelease:q},buttonPlayLeft:{movement:[t.Wu,
t.P],pressedOn:"movingLeft",stopOnRelease:B},buttonPlayRight:{movement:[t.Xu,t.P],pressedOn:"movingRight",stopOnRelease:B},buttonPlayUp:{movement:[t.Yu,t.P],pressedOn:"movingUp",stopOnRelease:B},buttonPlayDown:{movement:[t.Vu,t.P],pressedOn:"movingDown",stopOnRelease:B},buttonZoomIn:{movement:t.Wk,pressedOn:"zoomingIn",stopOnRelease:q},buttonZoomOut:{movement:t.Xk,pressedOn:"zoomingOut",stopOnRelease:q}};return v});
define("bD","gD,bB,cO,bU,im,cs".split(","),function(a,b,d,c,f,j){var g=a.extend(j,function(){j.call(this)});g.iQ="preloadBegin";d.C("PanoramaPlayListItem",g).D("PlayListItem").Jb([g.iQ]).K({media:"Panorama",camera:"PanoramaCamera",player:"PanoramaPlayer"});g.prototype.start=function(){j.prototype.start.call(this);var a=this.get("player");if(a){a.bind(c.Ze,this.Ol,this);a.bind(f.Ou,this.Kn,this);a.set("panorama",this.get("media"));a.set("camera",this.get("camera"))}};g.prototype.stop=function(){var a=
this.get("player");if(a){a.unbind(f.Ou,this.Kn,this);a.unbind(c.Ze,this.Ol,this);a.get("panorama")==this.get("media")&&a.set("panorama",s)}j.prototype.stop.call(this)};g.prototype.Kn=function(a){a.data.media==this.get("media")&&this.trigger(new b(g.iQ))};g.prototype.Ol=function(a){if(a.data.media==this.get("media")){this.get("player").unbind(c.Ze,this.Ol,this);this.get("player").bind(c.Ch,this.Jn,this);this.Kt()}};g.prototype.Jn=function(a){if(a.data.media==this.get("media")){this.get("player").unbind(c.Ch,
this.Jn,this);this.end()}};return g});define("gH",["gD","gU","cO","iC"],function(a,b,d,c){a=a.extend(b,function(){b.call(this)});d.C("PanoramaSnapshot",a).D("Object").K({position:"PanoramaCameraPosition",image:"ImageResource"});a.prototype.getItem=function(){return this.va()};a.prototype.va=function(){this.xa==n&&(this.xa=c.Iy(this.get("image"),this.get("position").get("yaw"),this.get("position").get("pitch"),0,0,0,this.get("position").get("hfov"),n,n));return this.xa};return a});
define("hD",["gD","bv"],function(a,b){var d=a.extend(b,function(a,d,j,g){b.call(this);this.cb=a;this.o=d;this.A=j;this.Ob=g});d.prototype.Xe=function(){return[this.cb]};d.prototype.hb=N("cb");d.prototype.Ea=N("o");d.prototype.Ma=N("A");return d});
define("dm",["cu","gD","cO","cy","hD"],function(a,b,d,c,f){b=b.extend(c,function(){c.call(this);this.g=n});d.C("Photo",b).D("Media").K({audios:"array[PhotoAudio]",duration:"number",height:"number",image:"ImageResource",width:"number",flipImageHorizontally:"bool"});b.prototype.va=function(){if(this.g==n){var a=this.get("image");this.g=a?new f(a.Ad().get("url"),this.get("width"),this.get("height"),this.get("flipImageHorizontally",B)):s}return this.g};b.prototype.li=function(){var b=this.Jp(this.va());
a(this.get("audios",[])).each(function(a){b=b.concat(a.li())},this);return b};b.prototype.Jp=function(a){return a?a.Xe():[]};return b});
define("fz",["cu","gD","iu","cy","cO"],function(a,b,d,c,f){b=b.extend(c,function(){c.call(this)});f.C("PhotoAlbum",b).D("Media").K({audios:"array[PhotoAlbumAudio]",playList:"PhotoPlayList"}).Jb([d.ra]);b.prototype.li=function(){var b=[],c=this.get("playList");c&&a(c.get("items"),[]).each(function(a){(a=a.get("media"))&&(b=b.concat(a.li()))});a(this.get("audios",[])).each(function(a){b=b.concat(a.li())});return b};return b});
define("eF",["gD","cO","dz","fs"],function(a,b,d,c){a=a.extend(d,function(){d.call(this,c.s3)});b.C("PhotoAlbumAudio",a).D("MediaAudio");return a});
define("bT",["dU"],function(a){function b(a){this.hS=a;this.Qj=[];this.Fc=[]}b.prototype.clear=function(){for(var a=0;a<this.Qj.length;a++)this.Qj[a].stop();this.Fc=this.Qj=s};b.prototype.stop=function(){for(var a=0;a<this.Fc.length;a++)this.Fc[a].stop()};b.prototype.play=function(){for(var b=0;b<this.Fc.length;b++)this.Fc[b].get("state")!=a.P&&this.Fc[b].play()};b.prototype.pause=function(){for(var b=0;b<this.Fc.length;b++)this.Fc[b].get("state")==a.P&&this.Fc[b].pause()};b.prototype.start=function(){this.stop();
for(var a=0;a<this.hS.length;a++){var b=this.hS[a],f=b.St();f&&(this.Qj.push(f),b.get("autoplay",B)&&this.Fc.push(f))}for(a=0;a<this.Fc.length;a++)this.Fc[a].play()};return b});define("eE",["gD","bT"],function(a,b){return a.extend(b,function(a){b.call(this,a.get("audios",[]));this.CC=a})});define("ec",["gD","bT"],function(a,b){return a.extend(b,function(a){b.call(this,a.get("audios",[]));this.Wc=a})});
define("ft",["eE","ec"],function(a,b){function d(){this.qf=[];this.bf=[]}d.prototype.clear=function(){this.u2();this.bf=this.qf=s};d.prototype.u2=function(){for(var a=0;a<this.qf.length;a++)this.qf[a].clear();for(a=0;a<this.bf.length;a++)this.bf[a].clear();this.qf=[];this.bf=[]};d.prototype.pause=function(){for(var a=0;a<this.qf.length;a++)this.qf[a].pause();for(a=0;a<this.bf.length;a++)this.bf[a].pause()};d.prototype.play=function(){for(var a=0;a<this.qf.length;a++)this.qf[a].play();for(a=0;a<this.bf.length;a++)this.bf[a].play()};
d.prototype.stop=function(){for(var a=0;a<this.qf.length;a++)this.qf[a].stop();for(a=0;a<this.bf.length;a++)this.bf[a].clear();this.bf=[]};d.prototype.Rja=function(b){b=new a(b);this.bf.push(b);b.start()};d.prototype.Uja=function(a){for(var b=0;b<this.bf.length;b++)if(this.bf[b].CC==a){this.bf[b].clear();this.bf.splice(b,1);break}};d.prototype.NP=function(a){a=new b(a);this.qf.push(a);a.start()};d.prototype.Sja=function(a){for(var b=0;b<this.qf.length;b++)if(this.qf[b].Wc==a){this.qf[b].clear();this.qf.splice(b,
1);break}};return d});
define("i",["gD","eg"],function(a,b){function d(){this.O=q;this.ba=this.$=0.5;this.ka=1;this.Vb=b.le;this.Ig=this.Jg=100}d.prototype.Dg=function(){this.ph();return this.$};d.prototype.Eg=function(){this.ph();return this.ba};d.prototype.Ej=function(){this.ph();return this.ka};d.prototype.pi=function(a,b,d){this.Vb=d;this.ba=this.$=0.5;this.ka=1;this.O=q};d.prototype.ca=function(a,b,d){this.$=a;this.ba=b;this.ka=d;this.O=q};d.prototype.setSize=function(a,b){this.Jg=a;this.Ig=b;this.O=q};d.prototype.ph=
function(){if(this.O){this.O=B;1>this.ka&&(this.ka=1);var a=Math.min(0.5/this.ka,0.5),b=Math.max(1-0.5/this.ka,0.5);this.$<a?this.$=a:this.$>b&&(this.$=b);a=Math.min(0.5/this.ka,0.5);b=Math.max(1-0.5/this.ka,0.5);this.ba<a?this.ba=a:this.ba>b&&(this.ba=b)}};return d});
define("bc",[],function(){function a(a,d){this.b=a;this.F=d;this.ba=this.$=0.5;this.ka=1;this.VC=B}a.prototype.start=function(){this.ba=this.$=0.5;this.ka=1;this.VC=q};a.prototype.clear=function(){this.F=this.b=s};a.prototype.ca=function(a,d,c){this.$=a;this.ba=d;this.ka=c};a.prototype.kd=N("VC");a.prototype.mb=function(){this.VC=B};return a});
define("er",["gD","gU","cO"],function(a,b,d){a=a.extend(b,function(a,d,j){b.call(this);a!=n&&this.set("x",a);d!=n&&this.set("y",d);j!=n&&this.set("zoomFactor",j)});d.C("PhotoCameraPosition",a).D("Object").K({x:"number",y:"number",zoomFactor:"number"});return a});
define("g",["gD","bc","er","il","bd"],function(a,b,d,c,f){a=a.extend(b,function(a,c){b.call(this,a,c);this.S=s});a.prototype.start=function(a){var b=a.get("initialPosition",new d(0.5,0.5,1)),h=a.get("targetPosition",new d(0.5,0.5,1));this.S=new c(a.get("easing","linear"),[new f("x",b.get("x",0.5),h.get("x",0.5)),new f("y",b.get("y",0.5),h.get("y",0.5)),new f("zoom",b.get("zoomFactor",1),h.get("zoomFactor",1))],a.get("duration",1E3));this.mb(0)};a.prototype.clear=function(){this.S=s;b.prototype.clear.call(this)};
a.prototype.kd=function(){return this.S!=s};a.prototype.mb=function(a){this.S&&(this.S.mb(a),this.F.ca(this.S.La("x"),this.S.La("y"),this.S.La("zoom")),this.$=this.F.Dg(),this.ba=this.F.Eg(),this.ka=this.F.Ej(),this.S.De()&&(this.S=s))};return a});
define("bJ","gD,bB,dx,cO,dU,eg,i,bc,g,iu".split(","),function(a,b,d,c,f,j,g,h,e,l){var p=a.extend(d,function(a,b){d.call(this);this.b=a;this.Ib=b;this.b.bind(l.Nb,this.rb,this);this.R=f.J;this.ih=this.CC=this.qd=this.g=s;this.F=new g});p.prototype.clear=function(){this.end();this.F=s;this.b.unbind(l.Nb,this.rb,this);this.b=s};p.prototype.end=function(a){if(this.g==a||typeof a=="undefined"){this.ET();this.qd=this.CC=this.qd=this.g=s}};p.prototype.start=function(a){if(this.g!=a){this.end(this.g);var b=
a.get("media"),c=a.get("camera"),d=b.get("width",100),e=b.get("height",100),f=c?c.get("scaleMode",j.le):j.le;this.g=a;this.qd=c;this.CC=b;b.va();this.Z=q;this.F.pi(d,e,f);this.r6(c);this.p()}};p.prototype.stop=function(){if(this.R!=f.J){this.R=f.J;if(this.ih){this.ih.start(this.qd);this.p()}}};p.prototype.play=function(){if(this.R==f.J||this.R==f.Xb){this.R=f.P;this.p()}};p.prototype.pause=function(){if(this.R==f.P)this.R=f.Xb};p.prototype.Mk=function(a){if(this.ih&&this.ih.kd()){if(this.R==f.P){this.ih.mb(a);
this.p()}this.ze(this.ih.$,this.ih.ba,this.ih.ka)}};p.prototype.r6=function(a){this.ET();this.ih=c.hc("MovementPhotoCamera",a)?new e(this.b,this.F):new h(this.b,this.F);this.ih.start(a)};p.prototype.ET=function(){if(this.ih){this.ih.clear();this.ih=s}};p.prototype.rb=function(){this.F.setSize(this.b.aa(),this.b.la());this.p()};p.prototype.p=function(){this.trigger(new b(p.M))};p.prototype.ze=function(a,b,c){this.Ib.ca(this.g,a,b,c)};p.M="request frame";return p});
define("eA","require,cu,gD,bB,dx,iu,ew,eg".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("bB"),f=a("dx"),j=a("iu");a("ew");var g=a("eg"),h=d.extend(f,function(a,b){f.call(this);this.Rx=[];this.G=a;this.b=b});h.prototype.pr=function(a){this.gn(a).pr();return this};h.prototype.ld=function(a,b){this.gn(a).ld(b);return this};h.prototype.vh=function(a,b){this.gn(a).vh(b);return this};h.prototype.ca=function(a,b,c,d){this.gn(a).ca(b,c,d);return this};h.prototype.Tq=function(a){this.gn(a).Tq();return this};
h.prototype.stop=function(){this.HT(function(a){a.clear()});this.Rx=[]};h.prototype.clear=function(){this.stop();this.b=this.G=this.Rx=s};h.prototype.fa=function(){this.HT(function(a){a.update()})};h.prototype.gn=function(a){var b=this.q7(a);if(!b){b=new e(a,this.b);b.bind(e.SQ,this.h$,this);b.bind(e.RQ,this.g$,this);this.Rx.push(b)}return b};h.prototype.HT=function(a){b(this.Rx).each(a,this)};h.prototype.q7=function(a){return b(this.Rx).find(function(b){return b.getItem()==a})};h.prototype.h$=function(){this.p()};
h.prototype.g$=function(a){this.trigger(new c(h.$F,{item:a.source.getItem()}))};h.prototype.p=function(){this.trigger(new c(h.M))};h.M="request frame";h.$F="photo preload end";var e=d.extend(f,function(a,b){f.call(this);this.g=a;this.b=b;var c=a.get("camera");this.Vb=c?c.get("scaleMode",g.le):g.le;this.Jf=a.get("media").va();this.Jf.bind(j.ib,this.iC,this);this.Jf.bind(j.Zf,this.VW,this);this.L=e.lv;this.ba=this.$=0.5;this.ka=1;this.Ja=0;this.pA=B;this.vd=0;this.O=B});e.prototype.getItem=N("g");e.prototype.pr=
function(){this.L==e.lv?this.Qc():this.c_()};e.prototype.ld=function(a){if(this.Ja!=a){this.Ja=a;this.pc()}};e.prototype.vh=function(a){if(this.vd!=a){this.vd=a;this.pc()}};e.prototype.ca=function(a,b,c){if(this.$!=a||this.ba!=b||this.ka!=c){this.$=a;this.ba=b;this.ka=c;this.pc()}};e.prototype.Tq=function(){if(!this.pA){this.pA=q;this.pc()}};e.prototype.clear=function(){this.L==e.aA&&this.Sn();(this.L==e.iv||this.L==e.kv||this.L==e.jv)&&this.j_();this.Jf.unbind(j.ib,this.iC);this.Jf.unbind(j.Zf,this.VW);
this.Jf=s};e.prototype.update=function(){if(this.O){this.O=B;if(this.vd>-1&&this.vd<1&&this.Ja>0){this.L==e.lv&&this.Hw();this.L==e.iv&&this.c4();if(this.L==e.aA){if(this.pA){this.b.Ce(this.Jf);this.pA=B}this.b.ab(this.Jf,this.Ja);this.b.cja(this.Jf,this.vd);this.b.ke(this.Jf,this.$,this.ba,this.ka)}}else{this.L==e.aA&&this.Sn();(this.L==e.iv||this.L==e.jv)&&this.j_()}}};e.prototype.pc=function(){if(!this.O){this.O=q;this.yba()}};e.prototype.yba=function(){this.trigger(new c(e.SQ))};e.prototype.Qc=
function(){this.L=e.kv;this.b.mi(this.Jf)};e.prototype.Hw=function(){this.L=e.jv;this.b.mi(this.Jf)};e.prototype.c4=function(){this.L=e.aA;this.b.Se(this.Jf);this.b.fja(this.Jf,this.Vb)};e.prototype.Sn=function(){this.L=e.iv;this.b.removeItem(this.Jf)};e.prototype.j_=function(){this.L=e.lv;this.b.yh(this.Jf)};e.prototype.iC=function(){if(this.L==e.kv||this.L==e.jv){var a=this.L==e.kv;this.L=e.iv;this.pc();a&&this.c_()}};e.prototype.VW=function(){if(this.L==e.kv||this.L==e.jv)this.L=e.lv};e.prototype.c_=
function(){this.trigger(new c(e.RQ))};e.SQ="requestUpdate";e.RQ="preloadEnd";e.lv="unloaded";e.kv="preloading";e.jv="loading";e.iv="loaded";e.aA="added";return h});define("hF",[],function(){return{Gu:"blending",Wo:"scroll"}});
define("bp","cu,gD,bB,dx,iu,eA,hF".split(","),function(a,b,d,c,f,j,g){function h(b,c,d){this.rh=b;this.item=c;this.D2=d;this.index=b&&c?a(b.get("playList").get("items")).indexOf(this.item):0;this.loaded=B}h.prototype.isEqual=function(a){return a&&a.rh==this.rh&&a.item==this.item};var e=b.extend(c,function(a,b,d){c.call(this);this.G=a;this.b=b;this.Ib=d;this.Ib.bind(j.$F,this.TX,this);this.cy=g.Gu;this.L=e.hv;this.Pc=new h(s,s,0);this.ol=this.Df=this.$d=s;this.dy=n;this.Xn=0});e.prototype.Fja=H("cy");
e.prototype.JP=H("Xn");e.prototype.QP=function(a,b,c){this.Df=s;a=new h(a,b,c);if(!a.isEqual(this.Pc)){this.Df=a;this.eX()}};e.prototype.clear=function(){(this.L==e.dA||this.L==e.bA)&&this.trigger(new d(e.Dm,{album:this.$d.rh,item:this.$d.item}));this.L=e.hv;this.b=this.G=this.ol=this.Pc=this.$d=this.Df=s;this.Ib.unbind(j.$F,this.TX,this);this.Ib=s};e.prototype.fa=function(a){if(this.L!=e.hv){this.dy=this.dy+a;a=this.$d.D2;a=this.dy>=a?1:this.dy/a;this.L==e.bA?this.xea(a):this.L==e.cA?this.yea(a):
this.cy==g.Gu?this.nea(a):this.Nea(a);a<1?this.p():this.Li()}};e.prototype.xea=function(a){this.Ib.ld(this.$d.item,a).vh(this.$d.item,0)};e.prototype.yea=function(a){this.Ib.ld(this.Pc.item,1-a).vh(this.Pc.item,0)};e.prototype.nea=function(a){this.Ib.ld(this.$d.item,Math.min(1,a*2)).vh(this.$d.item,0);this.Ib.ld(this.Pc.item,Math.min(1,(1-a)*2)).vh(this.Pc.item,0)};e.prototype.Nea=function(a){var b=this.Pc.rh!=this.$d.rh||this.Pc.index<this.$d.index;this.Ib.vh(this.$d.item,(b?1-a:a-1)*(1+this.Xn)).ld(this.$d.item,
1);this.Ib.vh(this.Pc.item,(b?-a:a)*(1+this.Xn)).ld(this.Pc.item,1)};e.prototype.eX=function(){this.Df&&this.L==e.hv&&(this.Df.item&&!this.Df.loaded?this.Ib.pr(this.Df.item):this.Di())};e.prototype.TX=function(a){if(this.Df&&this.Df.item==a.data.item){this.Df.loaded=q;this.eX()}};e.prototype.Di=function(){if(this.ol&&this.ol!=this.Df.rh){this.trigger(new d(e.vi,{album:this.ol}));this.ol=s}this.trigger(new d(e.hG));if(this.G.get("transitionMode")=="fade_out_fade_in"&&this.Df.item!=s&&this.Pc.item!=
s){this.L=e.cA;this.$d=new h(this.Pc.rh,s,this.Pc.D2)}else{this.$d=this.Df;this.Df=s;if(this.Pc.item)if(this.$d.item)this.L=e.dA;else{if(this.Pc.item)this.L=e.cA}else this.L=e.bA}if(this.L==e.dA||this.L==e.bA){this.Ib.Tq(this.$d.item);this.trigger(new d(e.Mo,{album:this.$d.rh,item:this.$d.item}))}this.dy=0;this.p()};e.prototype.Li=function(){(this.L==e.dA||this.L==e.cA)&&this.trigger(new d(e.Dm,{album:this.Pc.rh,item:this.Pc.item}));this.Pc=this.$d;if(this.ol!=this.Pc.rh){this.ol=this.Pc.rh;this.trigger(new d(e.wi,
{album:this.ol}))}this.L=e.hv;if(this.Df==s){this.Pc.item&&this.trigger(new d(e.No,{album:this.Pc.rh,item:this.Pc.item}));this.trigger(new d(e.iG,{album:this.Pc.rh,item:this.Pc.item}))}else this.Di()};e.prototype.p=function(){this.trigger(new d(e.M))};e.hv="stopped";e.dA="blending";e.cA="fading_out";e.bA="fading_in";e.M="request frame";e.hG="transition begin";e.iG="transition end";e.Mo="photo added";e.Dm="photo removed";e.No="photo displayed";e.wi="photo album show";e.vi="photo album hide";return e});
define("dh","cu,gD,bB,dx,iu,cO,eg,er,i,bc,g,il,bd".split(","),function(a,b,d,c,f,j,g,h,e,l,p,o,r){var m=b.extend(c,function(a,b,d){c.call(this);this.G=a;this.b=b;this.Ib=d;this.Zh=this.Sh=this.g=this.Wc=this.za=s;this.rj=n;this.uD=0;this.ef=B;this.vd=0;this.$B=this.Zh?-1:0;this.WB=this.Sh?1:0;this.S=s;this.hi=400;this.Xn=0;this.F=new e});m.prototype.clear=function(){this.Ib=this.b=this.G=this.ol=s};m.prototype.Jia=function(b,c){this.Wc=b;this.g=c;var d=b&&b.get("playList")&&b.get("playList").get("items")||
[],e=a(d).indexOf(c);this.Sh=e>0?d[e-1]:s;this.Zh=e<d.length-1?d[e+1]:s;this.vd=0;this.$B=this.Zh?-1:0;this.WB=this.Sh?1:0;this.Qc()};m.prototype.enable=function(){if(this.za=this.b.getParent()){this.za.bind(f.wb,this.qc,this,q);this.za.bind(f.jc,this.ak,this,q);this.za.bind(f.xb,this.bk,this,q);this.Qc()}};m.prototype.disable=function(){if(this.za){this.za.unbind(f.wb,this.qc,this);this.za.unbind(f.jc,this.ak,this);this.za.unbind(f.xb,this.bk,this);this.za=s}};m.prototype.Eja=H("hi");m.prototype.JP=
H("Xn");m.prototype.Qc=function(){if(this.za){this.Sh&&this.Ib.pr(this.Sh);this.Zh&&this.Ib.pr(this.Zh)}};m.prototype.Vw=function(){return(new Date).getTime()};m.prototype.qc=function(a){if(!this.ef){this.rj=a.x;this.uD=0;this.ML=this.Vw();this.ef=q;this.S=s;this.trigger(new d(m.KF));if(this.Sh){a=this.yU(this.Sh);this.Ib.ca(this.Sh,a.x,a.y,a.zoom)}if(this.Zh){a=this.yU(this.Zh);this.Ib.ca(this.Zh,a.x,a.y,a.zoom)}}};m.prototype.ak=function(a){if(this.ef){var b=a.x-this.rj,c=b/this.za.aa(),d=this.Vw()-
this.ML;this.uD=b/d;this.ML=this.ML+d;this.rj=a.x;this.vd=Math.max(this.$B,Math.min(this.WB,this.vd+c));this.p()}};m.prototype.bk=function(){if(this.ef){this.ef=B;var a,b;if(this.uD>1){a="quad_out";b=this.WB}else if(this.uD<-1){a="quad_out";b=this.$B}else{a="quad_in_out";b=this.vd<-0.5?this.$B:this.vd>0.5?this.WB:0}this.S=new o(a,[new r("offset",this.vd,b,1E3/this.hi)],0);this.p()}};m.prototype.fa=function(a){if(this.ef||this.S){if(this.S){this.S.mb(a);this.vd=this.S.La("offset");if(this.S.De()){this.S=
s;this.f7()}else this.p()}this.g&&this.Ib.vh(this.g,this.vd*(1+this.Xn)).ld(this.g,1);this.Sh&&this.Ib.vh(this.Sh,(this.vd-1)*(1+this.Xn)).ld(this.Sh,1);this.Zh&&this.Ib.vh(this.Zh,(this.vd+1)*(1+this.Xn)).ld(this.Zh,1)}};m.prototype.f7=function(){this.trigger(new d(m.LF,{album:this.Wc,item:this.vd<0?this.Zh:this.vd>0?this.Sh:this.g}))};m.prototype.p=function(){this.trigger(new d(m.M))};m.prototype.yU=function(a){var b=a&&a.get("camera"),c=a&&a.get("media"),a=c&&c.get("width",100)||100,c=c&&c.get("height",
100)||100,d=b?b.get("scaleMode",g.le):g.le,e={};if(j.hc("MovementPhotoCamera",b)){b=b.get("initialPosition",new h(0.5,0.5,1));e.x=b.get("x",0.5);e.y=b.get("y",0.5);e.zoom=b.get("zoomFactor",0.5)}else{e.x=0.5;e.y=0.5;e.zoom=1}this.F.pi(a,c,d);this.F.setSize(this.b.aa(),this.b.la());this.F.ca(e.x,e.y,e.zoom);e.x=this.F.Dg();e.y=this.F.Eg();e.zoom=this.F.Ej();return e};m.M="request frame";m.KF="interaction begin";m.LF="interaction end";return m});
define("fp","gD,bB,dx,iu,eA,hF,bp,dh".split(","),function(a,b,d,c,f,j,g,h){var e=a.extend(d,function(a,b,c){d.call(this);this.G=a;this.b=b;this.Ib=c;this.cy=j.Gu;this.hi=1E3;this.Zc=new g(this.G,this.b,this.Ib);this.Zc.bind(g.M,this.yb,this,q);this.Zc.bind(g.hG,this.uW,this,q);this.Zc.bind(g.iG,this.vW,this,q);this.Zc.bind(g.Mo,this.gx,this,q);this.Zc.bind(g.Dm,this.jx,this,q);this.Zc.bind(g.No,this.ix,this,q);this.Zc.bind(g.vi,this.kj,this,q);this.Zc.bind(g.wi,this.Vh,this,q);this.jg=new h(this.G,
this.b,this.Ib);this.jg.bind(h.M,this.yb,this,q);this.jg.bind(h.KF,this.XV,this,q);this.jg.bind(h.LF,this.YV,this,q)});e.prototype.jF=function(a,b){this.cy=a;this.hi=b;this.Zc.Fja(a);this.jg.Eja(b);this.Zc.JP(0.05);this.jg.JP(0.05)};e.prototype.display=function(a,b){this.Zc.QP(a,b,this.hi)};e.prototype.hide=function(){this.Zc.QP(s,s,this.hi)};e.prototype.clear=function(){this.Zc.unbind(g.M,this.yb,this);this.Zc.unbind(g.hG,this.uW,this);this.Zc.unbind(g.iG,this.vW,this);this.Zc.unbind(g.Mo,this.gx,
this);this.Zc.unbind(g.Dm,this.jx,this);this.Zc.unbind(g.No,this.ix,this);this.Zc.unbind(g.vi,this.kj,this);this.Zc.unbind(g.wi,this.Vh,this);this.Zc.clear();this.Zc=s;this.jg.bind(h.M,this.yb,this,q);this.jg.bind(h.KF,this.XV,this,q);this.jg.bind(h.LF,this.YV,this,q);this.jg.clear();this.Ib=this.b=this.G=this.jg=s};e.prototype.fa=function(a){this.Zc.fa(a);this.jg.fa(a)};e.prototype.yb=function(){this.p()};e.prototype.gx=function(a){this.trigger(new b(e.Mo,a.data))};e.prototype.jx=function(a){this.trigger(new b(e.Dm,
a.data))};e.prototype.ix=function(a){this.trigger(new b(e.No,a.data));this.jg.Jia(a.data.album,a.data.item)};e.prototype.kj=function(a){this.trigger(new b(e.vi,a.data))};e.prototype.Vh=function(a){this.trigger(new b(e.wi,a.data))};e.prototype.uW=function(){this.jg.disable()};e.prototype.vW=function(a){this.cy==j.Wo&&a.data.item&&this.jg.enable()};e.prototype.XV=function(){this.trigger(new b(e.gQ))};e.prototype.YV=function(a){this.Zc.QP(a.data.album,a.data.item,0);this.trigger(new b(e.hQ,a.data))};
e.prototype.p=function(){this.trigger(new b(e.M))};e.M="request frame";e.Mo="photo added";e.Dm="photo removed";e.No="photo displayed";e.wi="photo album show";e.vi="photo album hide";e.gQ="manual interaction begin";e.hQ="manual interaction end";return e});
define("eV","cu,gD,r,iu,bB,dx,dU".split(","),function(a,b,d,c,f,j,g){var h=b.extend(j,function(){j.call(this);this.Wc=s;this.R=g.J;this.qM=s});h.prototype.clear=function(){this.kO()};h.prototype.NP=function(a){this.kO();this.Wc=a;this.R=g.P;this.qM=d.watch(this.Wc,"playList.selectedIndex",this.xq,this);this.Wc.get("playList").get("selectedIndex")==0?this.xq():this.Wc.get("playList").set("selectedIndex",0)};h.prototype.kO=function(){if(this.Wc){this.R=g.J;this.qM.unwatch();this.Wc=this.qM=s}};h.prototype.stop=
function(){if(this.R!=g.J){this.R=g.J;this.Wc.get("playList").set("selectedIndex",0)}};h.prototype.play=function(){if(this.R==g.J){this.Wc.get("playList").set("selectedIndex",0);this.R=g.P;this.xq()}else if(this.R==g.Xb)this.R=g.P};h.prototype.pause=function(){if(this.R==g.P)this.R=g.Xb};h.prototype.next=function(){var a=this.Wc.get("playList"),b=a.get("selectedIndex");b<a.get("items").length-1&&a.set("selectedIndex",b+1)};h.prototype.gP=function(){var a=this.Wc.get("playList"),b=a.get("selectedIndex");
b>0&&a.set("selectedIndex",b-1)};h.prototype.KE=function(a){this.Oca(a)};h.prototype.sha=function(b){if(this.Wc){var c=a(this.Wc.get("playList").get("items")).last();if(b==c){this.R=g.J;this.trigger(new f(h.BF,{album:this.Wc}))}else this.next()}};h.prototype.xq=function(){var a=this.H8();a>=0&&(this.R!=g.P&&a!=0?this.trigger(new f(h.bG)):this.trigger(new f(h.PF,{album:this.Wc,item:this.Wc.get("playList").get("items")[a]})))};h.prototype.H8=function(){return this.Wc?this.Wc.get("playList").get("selectedIndex"):
-1};h.prototype.Oca=function(b){if(this.Wc){var c=this.Wc.get("playList"),b=a(c.get("items")).indexOf(b);c.set("selectedIndex",b)}};h.bG="play request";h.PF="item request";h.BF="album end";return h});
define("bP","cu,gD,iu,bB,dx,dU".split(","),function(a,b,d,c,f,j){var g=b.extend(f,function(a){f.call(this);this.G=a;this.wj=this.g=s;this.zx=n;this.KB=B;this.R=j.J});g.prototype.KE=function(a){this.JI();if(this.g=a){a=this.g.get("media").get("duration",0);this.zx=a==0?n:Math.max(0,a-this.G.get("transitionDuration"));this.KB=B;this.R==j.P&&this.XI()}};g.prototype.clear=function(){this.KE(s)};g.prototype.stop=function(){if(this.R!=j.J){this.JI();this.hd(j.J)}};g.prototype.play=function(){if(this.R==
j.J){this.hd(j.P);if(this.g){this.KB=B;this.zx=this.g.get("media").get("duration",0);this.XI()}}else if(this.R==j.Xb){this.hd(j.P);this.g&&this.XI()}};g.prototype.pause=function(){if(this.R==j.P){this.hd(j.Xb);this.Haa()}};g.prototype.XI=function(){if(!this.KB){this.KB=q;this.trigger(new c(g.RF,{item:this.g}))}this.g7()};g.prototype.g7=function(){if(this.zx!=n){var a=this;this.PZ=(new Date).getTime()+this.zx;this.wj=setTimeout(function(){a.wj=s;a.Eda()},this.zx)}else this.PZ=n};g.prototype.JI=function(){if(this.wj){clearTimeout(this.wj);
this.wj=s}};g.prototype.Haa=function(){this.JI();Math.max(0,this.PZ-(new Date).getTime())};g.prototype.Eda=function(){var a=this.g;this.g=s;this.trigger(new c(g.OF,{item:a}))};g.prototype.hd=function(a){if(this.R!=a){this.R=a;this.trigger(new c(g.Bb,{state:this.R}))}};g.Bb="playback state change";g.RF="item start";g.OF="item end";return g});
define("hS",["gD","bB","dx","M","o"],function(a,b,d,c,f){var j=a.extend(d,function(a){d.call(this);this.Z=q;this.xf=B;this.b=a;this.eg=f.browser()==f.Hu&&f.ni()==f.PG?3:1;this.Je=this.cw=0});j.prototype.clear=function(){this.Z=B;this.b=s;this.Je=this.cw=0};j.prototype.Dc=function(){this.xf||(this.xf=q,c.Dc(this.xe,this))};j.prototype.xe=function(a){this.Z&&(this.cw++,this.Je+=a,this.cw==this.eg?(this.cw=0,this.xf=B,a=this.Je,this.Je=0,this.trigger(new b(j.yi,{frameTime:a})),this.trigger(new b(j.zi,
{frameTime:a})),this.b.render()):c.Dc(this.xe,this))};j.yi="frameStart";j.zi="positionSet";return j});
define("dJ","gD,iu,bB,dx,ft,bJ,fp,eV,bP,eA,hS".split(","),function(a,b,d,c,f,j,g,h,e,l,p){var o=a.extend(c,function(a,b){c.call(this);this.G=a;this.b=b;this.fe=new h(this.b);this.Eb=new e(this.G);this.Ib=new l(this.G,this.b);this.N=new g(this.G,this.b,this.Ib);this.ha=new j(this.b,this.Ib);this.fc=new p(this.b);this.bd=new f;this.Ib.bind(l.M,this.yb,this,q);this.fe.bind(h.PF,this.PW,this,q);this.fe.bind(h.bG,this.kx,this,q);this.fe.bind(h.BF,this.hx,this,q);this.Eb.bind(e.RF,this.QW,this);this.Eb.bind(e.OF,
this.KW,this);this.Eb.bind(e.Bb,this.wd,this,q);this.N.bind(g.M,this.yb,this,q);this.N.bind(g.Mo,this.gx,this,q);this.N.bind(g.Dm,this.jx,this,q);this.N.bind(g.No,this.ix,this,q);this.N.bind(g.vi,this.kj,this,q);this.N.bind(g.wi,this.Vh,this,q);this.N.bind(g.gQ,this.$$,this,q);this.N.bind(g.hQ,this.aaa,this,q);this.ha.bind(j.M,this.yb,this,q);this.fc.bind(p.yi,this.Ln,this,q);this.fc.bind(p.zi,this.Mn,this,q)});o.prototype.clear=function(){this.fe.clear();this.Eb.clear();this.N.clear();this.ha.clear();
this.fc.clear();this.bd.clear();this.Ib.clear();this.Ib.unbind(l.M,this.yb,this);this.fe.unbind(h.PF,this.PW,this);this.fe.unbind(h.BF,this.hx,this);this.fe.unbind(h.bG,this.kx,this);this.Eb.unbind(e.RF,this.QW,this);this.Eb.unbind(e.OF,this.KW,this);this.Eb.unbind(e.Bb,this.wd,this);this.N.unbind(g.M,this.yb,this);this.N.unbind(g.Mo,this.gx,this);this.N.unbind(g.Dm,this.jx,this);this.N.unbind(g.No,this.ix,this);this.N.unbind(g.vi,this.kj,this);this.N.unbind(g.wi,this.Vh,this);this.ha.unbind(j.M,
this.yb,this);this.fc.unbind(p.yi,this.Ln,this);this.fc.unbind(p.zi,this.Mn,this);this.G=this.b=this.Ib=this.bd=this.fc=this.ha=this.N=this.Eb=this.fe=s};o.prototype.jF=function(a,b){this.N.jF(a,b)};o.prototype.sja=function(a){this.fe.NP(a)};o.prototype.ur=function(){this.fe.kO();this.Eb.stop();this.N.hide();this.ha.end();this.bd.u2()};o.prototype.next=function(){this.fe.next()};o.prototype.gP=function(){this.fe.gP()};o.prototype.stop=function(){this.Eb.stop();this.bd.stop();this.fe.stop();this.ha.stop()};
o.prototype.play=function(){this.Eb.play();this.bd.play();this.fe.play();this.ha.play()};o.prototype.pause=function(){this.Eb.pause();this.bd.pause();this.fe.pause();this.ha.pause()};o.prototype.$$=function(){this.Eb.pause();this.bd.pause();this.fe.pause();this.ha.pause()};o.prototype.aaa=function(){this.Eb.play();this.bd.play();this.fe.play();this.ha.play()};o.prototype.PW=function(a){this.N.display(a.data.album,a.data.item)};o.prototype.kx=function(){this.play()};o.prototype.yb=function(){this.fc.Dc()};
o.prototype.Ln=function(a){this.ha.Mk(a.data.frameTime)};o.prototype.Mn=function(a){a=a.data.frameTime;this.N.fa(a);this.Ib.fa(a)};o.prototype.gx=function(a){this.ha.start(a.data.item)};o.prototype.jx=function(a){var b=a.data.album,a=a.data.item,c=a.get("media");this.ha.end(a);this.bd.Uja(c);this.trigger(new d(o.ZF,{photoAlbum:b,item:a}))};o.prototype.ix=function(a){var b=a.data.album,a=a.data.item;a.get("media");this.fe.KE(a);this.Eb.KE(a);this.trigger(new d(o.YF,{photoAlbum:b,item:a}))};o.prototype.QW=
function(a){this.bd.Rja(a.data.item.get("media"))};o.prototype.KW=function(a){this.fe.sha(a.data.item)};o.prototype.hx=function(a){this.Eb.stop();this.bd.stop();this.trigger(new d(o.XF,{photoAlbum:a.data.album}))};o.prototype.Vh=function(a){a=a.data.album;this.bd.NP(a);this.Eb.play();this.ha.play();this.trigger(new d(o.wi,{photoAlbum:a}))};o.prototype.kj=function(a){a=a.data.album;this.bd.Sja(a);this.trigger(new d(o.vi,{photoAlbum:a}))};o.prototype.wd=function(a){this.trigger(new d(o.Bb,{state:a.data.state}))};
o.wi="photoAlbumShow";o.XF="photoAlbumEnd";o.vi="photoAlbumHide";o.YF="photoBegin";o.ZF="photoEnd";o.Bb="playbackStateChange";return o});
define("eo",["jquery.mod","cu","eg","gO","o"],function(a,b,d,c,f){function j(a,b,d){this.g=a;this.V=b;this.ec=d;this.Aa=a.Ea();this.Ga=a.Ma();this.dB=a.Ob;this.VN=this.Gw=0;this.Ja=1;this.vd=0;this.O=q;this.nI();this.Oa=this.Ka=100;this.ba=this.$=0.5;this.ka=1;this.ug=q;this.Bc=1;this.IT={};this.pV={};this.TD=c.Uq&&f.browser()!=f.Bh}j.prototype.nI=function(){this.Yz=a("<div></div>");var b={position:"absolute",left:"0",top:"0",width:this.Ka+"px",height:this.Oa+"px",overflow:"hidden","-webkit-transform":"translateZ(0)"};
b["-moz-transform-origin"]=b["-webkit-transform-origin"]=b["transform-origin"]="0 0 0";b["-ms-transform-origin"]="0 0";this.Yz.css(b);this.RG=a(this.ec.Td(this.g.hb()));b={display:"block",position:"absolute",left:"0",top:"0",width:this.Aa+"px",height:this.Ga+"px"};b["-moz-transform-origin"]=b["-webkit-transform-origin"]=b["transform-origin"]="0 0 0";b["-ms-transform-origin"]="0 0";this.RG.css(b);this.Yz.append(this.RG)};j.prototype.na=N("Yz");j.prototype.getItem=N("g");j.prototype.Dg=N("$");j.prototype.Eg=
N("ba");j.prototype.Ej=N("ka");j.prototype.aa=function(){return Math.round(this.Aa*this.ka*this.Bc)};j.prototype.la=function(){return Math.round(this.Ga*this.ka*this.Bc)};j.prototype.ld=function(a){this.Ja!=a&&(this.Ja=a,this.O=q)};j.prototype.oz=function(a){this.Vb!=a&&(this.Vb=a,this.O=q)};j.prototype.Ok=function(a,b){if(this.Ka!=a||this.Oa!=b)this.Ka=a,this.Oa=b,this.O=q};j.prototype.ca=function(a,b,c){if(this.$!=a||this.ba!=b||this.ka!=c)this.$=a,this.ba=b,this.ka=c,this.O=q};j.prototype.vh=function(a){this.vd!=
a&&(this.vd=a,this.O=q)};j.prototype.Kia=function(a){this.VN!=a&&(this.VN=a,this.O=q)};j.prototype.render=function(){if(this.O){this.O=B;switch(this.Vb){case d.NONE:this.Bc=1;break;case d.Jj:this.Bc=this.Ka/this.Aa;break;case d.Yf:this.Bc=this.Oa/this.Ga;break;case d.Tk:this.Bc=this.Aa*this.Oa>this.Ga*this.Ka?this.Oa/this.Ga:this.Ka/this.Aa;break;default:this.Bc=this.Aa*this.Oa>this.Ga*this.Ka?this.Ka/this.Aa:this.Oa/this.Ga}var a=this.ka*this.Bc,c=0.5*this.Ka-this.$*this.Aa*a,e=0.5*this.Oa-this.ba*
this.Ga*a,f=this.Ka*this.vd,j=function(a,b){return Math.round(a*Math.pow(10,b))*Math.pow(10,-b)},o={};o.width=j(this.Ka,0)+"px";o.height=j(this.Oa,0)+"px";o.transform=this.TD?"translate3d("+j(f,2)+"px, 0px, 0px)":"translate("+j(f,2)+"px, 0px)";o["-moz-transform"]=o["-webkit-transform"]=o["-ms-transform"]=o.transform;o["z-index"]=this.VN;0==this.Ja?o.display="none":(o.display="block",1==this.Ja?(o.filter=o["-ms-filter"]="",o.opacity=""):(o.filter=o["-ms-filter"]="alpha(opacity="+Math.round(100*this.Ja)+
")",o.opacity=this.Ja));f=[];this.TD?(f.push("translate3d("+j(c,2)+"px, "+j(e,2)+"px, 0px)"),f.push("scale3d("+a+", "+a+", "+a+")"),this.dB&&(f.push("translate3d("+this.Aa+"px, 0, 0)"),f.push("scale3d(-1, 1, 1)"))):(f.push("translate("+j(c,2)+"px, "+j(e,2)+"px)"),f.push("scale("+a+", "+a+")"),this.dB&&(f.push("translate("+this.Aa+"px, 0)"),f.push("scale(-1, 1)")));a={};a["-moz-transform"]=a["-webkit-transform"]=a["-ms-transform"]=a.transform=f.join(" ");b.isEqual(this.IT,o)||(this.IT=o,this.Yz.css(o));
b.isEqual(this.pV,a)||(this.pV=a,this.RG.css(a))}};return j});
define("ez","require,jquery.mod,cu,gD,iu,ew,cA,eo,J,d".split(","),function(a){var b=a("jquery.mod"),d=a("cu"),c=a("gD"),f=a("iu"),j=a("ew"),g=a("cA"),h=a("eo"),e=a("J"),l=a("d"),a=c.extend(l,function(){l.call(this);this.Lc("Renderer");this.set("toolTipDisabled",q);this.set("cursor",e.Su);this.ec=new g;this.ec.start();this.bind(f.Nb,this.rb,this,q);this.bind(f.pe,this.lj,this,q);this.bind(f.me,this.hj,this,q);this.Kf=B;this.ub=[];this.Fq=this.Rf=B;this.uL=b("<div/>");this.uL.css({position:"absolute",
left:0,top:0,right:0,bottom:0,overflow:"hidden","-webkit-transform":"translateZ(0)"});this.Pa().append(this.uL)});a.prototype.mi=function(a){this.ec.mi(a,j.pf)};a.prototype.yh=function(a){this.ec.yh(a,j.pf)};a.prototype.Se=function(a){a=new h(a,this,this.ec);a.Ok(this.aa(),this.la());a.ca(0.5,0.5,0,1);this.uL.append(a.na());this.ub.push(a);this.Rf=q};a.prototype.removeItem=function(a){if(a=this.Oi(a)){this.ub=d.without(this.ub,a);a.na().detach();this.Rf=q}};a.prototype.Ce=function(a){if(a=this.Oi(a)){this.ub=
d.without(this.ub,a);this.ub.push(a);this.Rf=q}};a.prototype.fja=function(a,b){this.Oi(a).oz(b)};a.prototype.ab=function(a,b){this.Oi(a).ld(b)};a.prototype.cja=function(a,b){this.Oi(a).vh(b)};a.prototype.ke=function(a,b,c,d){this.Oi(a).ca(b,c,d)};a.prototype.Qy=function(a){return this.Oi(a).Dg()};a.prototype.Ry=function(a){return this.Oi(a).Eg()};a.prototype.J0=function(a){return this.Oi(a).Ej()};a.prototype.Ny=function(a){return this.Oi(a).aa()};a.prototype.My=function(a){return this.Oi(a).la()};
a.prototype.render=function(){if(this.Kf){this.Iea();this.hda();for(var a=0;a<this.ub.length;a++)this.ub[a].render()}};a.prototype.Iea=function(){if(this.Fq){this.Fq=B;for(var a=this.aa(),b=this.la(),c=0;c<this.ub.length;c++)this.ub[c].Ok(a,b)}};a.prototype.hda=function(){if(this.Rf){this.Rf=B;for(var a=[],b=0;b<this.ub.length;b++){var c=this.ub[b],d={};d.LE=c.Gw;d.index=b;d.gia=c;a.push(d)}a.sort(function(a,b){return a.LE==b.LE?a.index-b.index:a.LE-b.LE});for(b=0;b<a.length;b++)a[b].gia.Kia(b+1)}};
a.prototype.Oi=function(a){if(this.n5==a)return this.m5;for(var b=s,c=0;c<this.ub.length&&!b;c++)this.ub[c].getItem()==a&&(b=this.ub[c]);this.HH=a;return this.GH=b};a.prototype.rb=function(){this.Fq=q;this.render()};a.prototype.lj=function(){this.Kf=q;this.render()};a.prototype.hj=function(){this.Kf=B};return a});
define("ib","gD,gU,bB,cO,fG,bU,eT,dJ,hF,ez,ct,iu".split(","),function(a,b,d,c,f,j,g,h,e,l,p,o){b=a.extend(g,function(){g.call(this,"photoAlbum");this.DD=this.tL=this.Pf=B;this.n=this.b=s;this.f5=new f(this,"buttonNext",p.kc);this.f5.bind(o.ga,this.eaa,this);this.h5=new f(this,"buttonPrevious",p.kc);this.h5.bind(o.ga,this.maa,this);this.Hc=a.qm(this.Id,this)});c.C("PhotoAlbumPlayer",b).D("Object").K({photoAlbum:"PhotoAlbum",viewerArea:"ViewerArea",state:"enum[stopped, playing, paused]",mouseTransition:"enum[blending, scroll]",
mouseTransitionDuration:"number",touchTransition:"enum[blending, scroll]",touchTransitionDuration:"number",buttonNext:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPrevious:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlay:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonStop:"or[array[or[Button, IconButton]], or[Button, IconButton]]",
buttonRestart:"or[array[or[Button, IconButton]], or[Button, IconButton]]"}).si({next:function(){this.fb(Movement.NEXT)},previous:function(){this.fb(Movement.Lka)},play:function(){this.Us()},pause:function(){this.Ts()},stop:function(){this.hq()},restart:function(){this.gq()}}).Jb([g.nd]);b.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "photoAlbum":this.tL=q;this.Hc();break;case "viewerArea":this.Pf=q;this.Hc();break;case "touchTransition":case "mouseTransition":case "touchTransitionDuration":case "mouseTransitionDuration":case "transitionDuration":this.DD=
q;this.Hc()}g.prototype.set.call(this,a,b)}};b.prototype.Id=function(){if(this.Pf){this.Pf=B;this.DD=q;this.yp();this.get("viewerArea")&&this.xp();this.nD(this.get("viewerArea"))}if(this.b&&this.tL){this.tL=B;if(this.get("photoAlbum")){this.TC();this.n.sja(this.get("photoAlbum"))}else this.n.ur()}if(this.DD){this.DD=B;this.E_()}};b.prototype.Wx=function(){this.set("photoAlbum",s)};b.prototype.xp=function(){var a=this.get("viewerArea");this.b=new l;this.b.T({left:0,top:0,bottom:0,right:0});a.Ca(this.b);
this.n=new h(a,this.b);this.E_();this.n.bind(h.wi,this.Vh,this);this.n.bind(h.vi,this.kj,this);this.n.bind(h.XF,this.hx,this);this.n.bind(h.YF,this.gX,this);this.n.bind(h.ZF,this.hX,this);this.n.bind(h.Bb,this.wd,this);this.qt(q)};b.prototype.yp=function(){if(this.b){this.n.unbind(h.wi,this.Vh,this);this.n.unbind(h.vi,this.kj,this);this.n.unbind(h.XF,this.hx,this);this.n.unbind(h.YF,this.gX,this);this.n.unbind(h.ZF,this.hX,this);this.n.unbind(h.Bb,this.wd,this);this.n.clear();this.b.getParent().removeChild(this.b);
this.b=s;this.qt(B)}};b.prototype.E_=function(){var a=this.get("viewerArea");a&&this.n&&(a.Wg?this.n.jF(this.get("touchTransition",e.Gu),this.get("touchTransitionDuration",a.get("transitionDuration",1E3))):this.n.jF(this.get("mouseTransition",e.Gu),this.get("mouseTransitionDuration",a.get("transitionDuration",1E3))))};b.prototype.wd=function(a){this.hd(a.data.state)};b.prototype.Vh=function(a){this.YB(a.data.photoAlbum)};b.prototype.kj=function(a){this.XB(a.data.photoAlbum)};b.prototype.hx=function(a){a.data.photoAlbum.trigger(new d(o.ra))};
b.prototype.gX=function(a){a.data.item.Kt()};b.prototype.hX=function(a){a.data.item.end()};b.prototype.Ml=function(a){this.b.getParent().T({progressPercent:a.data.percent,progressVisible:q})};b.prototype.Ss=function(){this.b.getParent().set("progressVisible",B)};b.prototype.eaa=function(){this.n&&this.get("photoAlbum")&&this.n.next()};b.prototype.maa=function(){this.n&&this.get("photoAlbum")&&this.n.gP()};b.prototype.Ff=function(){this.n&&this.get("photoAlbum")&&this.n.play()};b.prototype.di=function(){this.n&&
this.get("photoAlbum")&&this.n.stop()};b.prototype.fh=function(){this.n&&this.get("photoAlbum")&&this.n.pause()};return b});
define("dH",["gD","cO","bU","cs"],function(a,b,d,c){a=a.extend(c,function(){c.call(this)});b.C("PhotoAlbumPlayListItem",a).D("PlayListItem").K({media:"PhotoAlbum",player:"PhotoAlbumPlayer"});a.prototype.start=function(){c.prototype.start.call(this);var a=this.get("player");a&&(a.bind(d.Ze,this.Vh,this),a.set("photoAlbum",this.get("media")))};a.prototype.stop=function(){var a=this.get("player");a&&(a.unbind(d.Ze,this.Vh,this),a.get("photoAlbum")==this.get("media")&&a.set("photoAlbum",s));c.prototype.stop.call(this)};
a.prototype.sz=function(){var a=this.get("media");if(a){var b=a.get("playList");b&&(a=b.get("selectedIndex"),b=b.get("items"),0<=a&&b&&b[a].sz())}c.prototype.sz.call(this)};a.prototype.Vh=function(){this.get("player").unbind(d.Ze,this.Vh,this);this.get("player").bind(d.Ch,this.kj,this);this.Kt()};a.prototype.kj=function(){this.get("player").unbind(d.Ch,this.kj,this);this.end()};return a});
define("gM",["gD","cO","dz","fs"],function(a,b,d,c){a=a.extend(d,function(){d.call(this,c.t3)});b.C("PhotoAudio",a).D("MediaAudio");return a});define("hL",["gD","gU","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("PhotoCamera",a).D("Object").K({scaleMode:"enum[none, fit_inside, fit_outside, fit_to_width, fit_to_height]"});return a});
define("du","require,cu,gD,gU,bB,cO,fv,iu".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("gU"),f=a("bB"),j=a("cO"),g=a("fv"),h=a("iu"),a=d.extend(c,function(){this.Wb=-1;this.Ua=[];this.xx=this.ck=this.Re=n;c.call(this)});j.C("PlayList",a).D("Object").K({items:"array[PlayListItem]",selectedIndex:"number"}).qi([h.vF]).Jb([h.W]);a.prototype.set=function(a,b){a=="selectedIndex"?this.Nca(b):a=="items"?this.vca(b):c.prototype.set.call(this,a,b)};a.prototype.get=function(a){return a=="selectedIndex"?
this.Wb:a=="items"?this.Ua:c.prototype.get.call(this,a)};a.prototype.vca=function(a){a=a||[];if(!b.isEqual(this.Ua,a)){var d=this.Wb;this.Ua=a;a=this.NY(this.Wb);this.trigger(new f(h.vF,{nextSelectedIndex:a}));this.Wb=a;this.iZ(this.gn(this.Wb));this.w_();this.trigger(new f(h.W,{previousSelectedIndex:d}));c.prototype.set.call(this,"items",this.Ua);c.prototype.set.call(this,"selectedIndex",this.Wb)}};a.prototype.Nca=function(a){a=this.NY(a);if(this.Wb!=a){var b=this.Wb;this.trigger(new f(h.vF,{nextSelectedIndex:a}));
this.Wb=a;this.iZ(this.gn(this.Wb));this.w_();this.trigger(new f(h.W,{previousSelectedIndex:b}));c.prototype.set.call(this,"selectedIndex",this.Wb)}};a.prototype.NY=function(a){return Math.max(-1,Math.min(this.Ua.length-1,a))};a.prototype.gn=function(a){return a>=0?this.Ua[a]:s};a.prototype.iZ=function(a){if(this.Re!=a&&this.ck!==a)if(this.ck===n){this.ck=a;if(this.Re)if(this.ck&&this.Re.get("player")==this.ck.get("player")){this.Re.sz();this.fq()}else this.Re.stop();else this.fq()}else this.ck=a};
a.prototype.fq=function(){if(this.Re){this.Re.unbind(h.Qk,this.aL,this);this.Re.unbind(h.od,this.fq,this);this.Re.unbind(h.ra,this.fq,this)}if(this.ck){this.Re=this.ck;this.ck=n;this.Re.bind(h.Qk,this.aL,this);this.Re.bind(h.od,this.fq,this);this.Re.start()}else{this.ck=this.Re=n;this.set("selectedIndex",-1)}};a.prototype.aL=function(){this.Re.unbind(h.Qk,this.aL,this);this.Re.unbind(h.od,this.fq,this);this.Re.bind(h.ra,this.fq,this)};a.prototype.w_=function(){this.xx&&g.NE(this.xx.get("media"),-1);
(this.xx=this.Ua&&this.Wb>=0?this.Ua[(this.Wb+1)%this.Ua.length]:s)&&g.NE(this.xx.get("media"),1)};return a});define("gb",["gD","cO","du"],function(a,b,d){a=a.extend(d,function(){d.call(this)});b.C("PhotoPlayList",a).D("PlayList").K({items:"array[PhotoPlayListItem]"});return a});define("iq",["gD","cO","cs"],function(a,b,d){a=a.extend(d,function(){d.call(this)});b.C("PhotoPlayListItem",a).D("PlayListItem").K({media:"Photo",camera:"PhotoCamera"});return a});
define("ds",["require","cu","gD","dC","cO"],function(a){a("cu");var b=a("gD"),d=a("dC"),a=a("cO"),b=b.extend(d,function(){d.call(this)});a.C("PlaybackBar",b).D("UIComponent").K({barBackgroundColor:"or[array[color], color]",barBackgroundColorDirection:"enum[horizontal, vertical]",barBackgroundColorRatios:"array[number]",barBorderColor:"color",barBorderRadius:"number",barBorderSize:"number",barOpacity:"number",playheadBackgroundColor:"or[array[color], color]",playheadBackgroundColorDirection:"enum[horizontal, vertical]",
playheadBackgroundColorRatios:"array[number]",playheadBorderColor:"color",playheadBorderRadius:"number",playheadBorderSize:"number",playheadOpacity:"number",playheadWidth:"or[number, percent]",playheadHeight:"or[number, percent]",playheadShadow:"bool",playheadShadowBlurRadius:"number",playheadShadowColor:"color",playheadShadowHorizontalLength:"number",playheadShadowOpacity:"number",playheadShadowSpread:"number",playheadShadowVerticalLength:"number",stepBackgroundColor:"or[array[color], color]",stepBackgroundColorDirection:"enum[horizontal, vertical]",
stepBackgroundColorRatios:"array[number]",stepBorderColor:"color",stepBorderRadius:"number",stepBorderSize:"number",stepOpacity:"number",stepWidth:"or[number, percent]",stepHeight:"or[number, percent]",stepShadow:"bool",stepShadowBlurRadius:"number",stepShadowColor:"color",stepShadowHorizontalLength:"number",stepShadowOpacity:"number",stepShadowSpread:"number",stepShadowVerticalLength:"number",selectedStepBackgroundColor:"or[array[color], color]",selectedStepBackgroundColorDirection:"enum[horizontal, vertical]",
selectedStepBackgroundColorRatios:"array[number]",selectedStepBorderColor:"color",selectedStepBorderRadius:"number",selectedStepBorderSize:"number",selectedStepOpacity:"number",selectedStepWidth:"or[number, percent]",selectedStepHeight:"or[number, percent]",selectedStepShadow:"bool",selectedStepShadowBlurRadius:"number",selectedStepShadowColor:"color",selectedStepShadowHorizontalLength:"number",selectedStepShadowOpacity:"number",selectedStepShadowSpread:"number",selectedStepShadowVerticalLength:"number",
position:"number",duration:"number",steps:"number",selectedStep:"number"});return b});
define("gR","gD,jquery.mod,cu,iu,bB,dx,iI".split(","),function(a,b,d,c,f,j,g){a=a.extend(j,function(a){j.call(this);this.Fa=a;this.qc=d.bind(this.qc,this);this.IB=d.bind(this.IB,this);this.JB=d.bind(this.JB,this);this.sK=d.bind(this.sK,this);this.u=b("<ul></ul>");a={border:"1px solid #bababa",position:"absolute"};a["z-index"]=g.P2;a.display="none";a["background-color"]="#ffffff";a["font-family"]="Segoe UI";a.color="#000000";a["font-size"]="12px";a["list-style"]="none";a.display="none";a.padding=0;
a.margin=0;a["pointer-events"]="all";a["-moz-box-shadow"]=a["-webkit-box-shadow"]=a["box-shadow"]="3px 3px 3px 0 #333333";this.u.css(a)});a.prototype.show=function(a,e,f){this.u.empty();d(f).each(function(a){b("<li></li>").text(a).css("padding","3px 10px").appendTo(this.u)},this);a+this.u.outerWidth()>this.Fa.aa()&&(a=this.Fa.aa()-this.u.outerWidth());e+this.u.outerHeight()>this.Fa.la()&&(e=this.Fa.la()-this.u.outerHeight());this.u.css({left:a+"px",top:e+"px",display:"block"});this.Fa.bind(c.wb,this.hide,
this);b(document).bind("mousedown",this.qc);this.u.find("li").bind("mouseenter",this.IB);this.u.find("li").bind("mouseleave",this.JB);this.u.find("li").bind("mousedown",this.sK)};a.prototype.hide=function(){b(document).unbind("mousedown",this.qc);this.u.find("li").unbind("mouseenter",this.IB);this.u.find("li").unbind("mouseleave",this.JB);this.u.css("display","none")};a.prototype.na=N("u");a.prototype.qc=function(){this.hide()};a.prototype.sK=function(a){this.trigger(new f(c.Tz,{index:b(a.currentTarget).index()}));
this.hide();a.preventDefault();a.stopImmediatePropagation()};a.prototype.IB=function(a){b(a.currentTarget).css({color:"#ffffff","background-color":"#4281f4"})};a.prototype.JB=function(a){b(a.currentTarget).css({color:"","background-color":""})};return a});
define("hh",["require","he","J"],function(a){function b(a){this.Fa=a;this.rk={};this.rk[c.j3]="move";this.rk[c.k3]="ew-resize";this.rk[c.m3]="ns-resize";this.rk[c.l3]="nesw-resize";this.rk[c.n3]="nwse-resize";this.rk[c.Uc]="pointer";this.rk[c.Su]="inherit";this.rk[c.dc]="default";this.Od={};this.Od[c.Kz]="grab.cur";this.Od[c.mQ]="grabbing.cur";this.Od[c.AQ]="N.cur";this.Od[c.BQ]="NE.cur";this.Od[c.rQ]="E.cur";this.Od[c.EQ]="SE.cur";this.Od[c.DQ]="S.cur";this.Od[c.FQ]="SW.cur";this.Od[c.GQ]="W.cur";
this.Od[c.CQ]="NW.cur";this.Od[c.tQ]="FN.cur";this.Od[c.uQ]="FNE.cur";this.Od[c.sQ]="FE.cur";this.Od[c.xQ]="FSE.cur";this.Od[c.wQ]="FS.cur";this.Od[c.yQ]="FSW.cur";this.Od[c.zQ]="FW.cur";this.Od[c.vQ]="FNW.cur";this.yS={}}var d=a("he"),c=a("J");b.prototype.B0=function(a){return this.d$(a)?this.RU(a):this.S9(a)?this.Q7(a):this.RU(c.dc)};b.prototype.l5=function(a){if(!(a in this.yS)){var b=new Image;b.src=this.lU(a);this.yS[a]=b}};b.prototype.d$=function(a){return a in this.rk};b.prototype.RU=function(a){return this.rk[a]};
b.prototype.S9=function(a){return this.Od[a]};b.prototype.Q7=function(a){this.l5(a);return"url("+this.lU(a)+"), default"};b.prototype.lU=function(a){return d.rz(this.Fa.get("settings").get(TDV.ag.bQ))+"/"+this.Od[a]};return b});
define("hO",["cu"],function(a){function b(){this.Tl={};this.sj=[];this.Rv=0}b.prototype.push=function(b,c){if(this.Tl[c]==n)this.Tl[c]=[b],this.sj.push(c),this.sj.sort(function(a,b){return a-b}),this.Rv++;else{var f=this.Tl[c];a(f).contains(b)||(f.push(b),this.Rv++)}};b.prototype.tO=N("Rv");b.prototype.isEmpty=function(){return 0==this.sj.length};b.prototype.H1=function(){if(!this.isEmpty()){var a=this.sj[0],b=this.Tl[a].pop();0==this.Tl[a].length&&(delete this.Tl[a],this.sj=this.sj.slice(1));this.Rv--;
return b}};b.prototype.fP=function(){if(!this.isEmpty()){var a=this.sj[this.sj.length-1],b=this.Tl[a].pop();0==this.Tl[a].length&&(delete this.Tl[a],this.sj=this.sj.slice(0,this.sj.length-1));this.Rv--;return b}};return b});
define("fa",["cu","gD","dI","hO","M"],function(a,b,d,c,f){function j(){this.xC=B;this.SX=n;this.Z=q;this.CA=new c;this.MC=new c;this.sD=new c;this.PB=new c;this.SI=new c;f.Dc(this.xe,this)}j.prototype.clear=function(){this.Z=B};j.prototype.Vy=function(a){this.CA.push(a,this.ws(a));this.Fx()};j.prototype.Rb=function(a){this.MC.push(a,this.ws(a));this.Fx()};j.prototype.Ra=function(a){this.sD.push(a,this.ws(a));this.Fx()};j.prototype.Tc=function(a){this.PB.push(a,this.ws(a));this.Fx()};j.prototype.Tf=
function(a){this.SI.push(a,this.ws(a));this.Fx()};j.prototype.Wa=function(){this.qea();this.Oea();this.tea()};j.prototype.qea=function(){do{for(;!this.CA.isEmpty();)this.CA.fP().Sa();this.MC.isEmpty()||this.MC.fP().X()}while(!this.MC.isEmpty()||!this.CA.isEmpty())};j.prototype.Oea=function(){for(;!this.sD.isEmpty()||!this.PB.isEmpty();)this.py(),this.rN()};j.prototype.py=function(){for(;!this.sD.isEmpty();){var a=this.sD.fP();if(a.fka()){var b=a.getParent();b?(b.Ra(),b.Tc()):a.Y1(0,0,a.Gk(),a.Fk())}}};
j.prototype.rN=function(){for(;!this.PB.isEmpty();)this.PB.H1().jf()};j.prototype.tea=function(){for(;!this.SI.isEmpty();)this.SI.H1().Md();d.Uha()};j.prototype.Fx=function(){if(!this.xC){this.xC=q;this.SX=(new Date).getTime()+500;var a=this;setTimeout(function(){a.xX()},1)}};j.prototype.xX=function(){this.xC=B;this.Z&&this.Wa()};j.prototype.ws=function(a){return(a=a.getParent())?this.ws(a)+1:0};j.prototype.xe=function(){this.xC&&(new Date).getTime()>=this.SX&&this.xX();f.Dc(this.xe,this)};return j});
define("dK","jquery.mod,cu,gD,iu,ig,gR,hh,P,fa,hC,o".split(","),function(a,b,d,c,f,j,g,h,e,l,p){d=d.extend(f,function(b){this.Tr=new e;f.call(this);this.Yn(this);this.Lc("Application");this.Db=a(b);this.eY=q;this.JL=this.Db.contents();this.Db.css({overflow:"hidden","user-select":"none","-ms-user-select":"none","-moz-user-select":"none","-webkit-user-select":"none","-ms-touch-action":"none","touch-action":"none","-webkit-tap-highlight-color":"rgba(255, 255, 255, 0)"});this.Zl=a(document.createElement("div"));
this.Zl.css({position:"absolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",margin:0});this.Db.append(this.Zl);this.Zl.append(this.na());this.Oa=this.Ka=n;this.L9=10;this.A5=500;this.Dx=s;this.DI=new g(this);this.Ab=new h(this);this.u.append(this.Ab.na());this.Qv=s;this.kI=[];this.hW=q;this.set("contentOpaque",q);this.tp=s;this.Ov=[];this.ms(["globalmousemove","contextmenu"]);this.M4();this.ts=[0,0];this.qC=1;this.p_();this.Xj=new l(b);this.Xj.bind(c.W,function(){this.iJ(this.Xj.enabled())},
this);this.jJ=this.Xj.enabled()});d.prototype.p_=function(){var b=[window.screen.width,window.screen.height].sort(function(a,b){return b-a});if(b[0]>this.ts[0])this.ts=b;b=[a("body").width(),a("body").height()].sort(function(a,b){return b-a});if(b[0]>this.ts[0])this.ts=b};d.prototype.clear=function(){this.yu(s);this.FZ();this.h7();this.Tr.clear();if(this.Db){this.na().remove();this.Db.append(this.JL);this.Db=this.JL=s}this.DI=s;this.Xj.E2();this.Xj=s};d.prototype.jja=H("hW");d.prototype.iJ=function(a){(this.jJ=
a)?this.WY():this.I5()};d.prototype.Il=function(){this.Nw=this.ng=this.Zl.width();this.Mw=this.mg=this.Zl.height()};d.prototype.X=function(){if(this.eY){this.JL.detach();this.eY=B}f.prototype.X.call(this)};d.prototype.yu=function(a){if(this.tp!=a){this.tp!=s&&this.tp.Sda();this.tp=a;for(var c=[];a!=s;){c=[a].concat(c);a=a.getParent()}for(var a=this.Ov.length-1,d=q;a>=0&&d;a--)b(c).contains(this.Ov[a])?d=B:this.Ov.pop().Vda();for(a=0;a<c.length;a++)b(this.Ov).contains(c[a])||c[a].Wda();this.Ov=c;this.tp!=
s&&this.tp.Rda();this.Ab.yu(this.tp)}};d.prototype.N8=function(a){var b=this.kw(a);this.FV(a,b.x,b.y)?a.preventDefault():this.yu(s)};d.prototype.WU=function(a){var b=this.hn(a);this.FV(a,b.x,b.y)?a.preventDefault():this.yu(s)};d.prototype.L8=function(a){if(!this.Wg&&this.kI.length>0){var b=this.hn(a);if(!this.Qv){this.Qv=new j(this);this.u.append(this.Qv.na());this.Qv.bind(c.Tz,this.BW,this,q)}this.Qv.show(b.x,b.y,this.kI)}a.preventDefault();a.stopImmediatePropagation()};d.prototype.BW=E();d.prototype.FV=
function(a,b,c){return this.T9(a.target)&&b>=0&&c>=0&&b<this.o&&c<this.A};d.prototype.T9=function(a){if(!this.Db)return B;for(var b=this.Db.get(0);a;){if(a===b)return q;a=a.parentElement}return B};d.prototype.M4=function(){this.ms(["globalresize"]);this.PH=setInterval(b.bind(function(){this.JS()},this),this.A5)};d.prototype.h7=function(){this.Wv(["globalresize"]);if(this.PH){clearInterval(this.PH);this.PH=s}};d.prototype.JS=function(){this.p_();this.jJ&&this.WY();var a=this.Zl.width(),b=this.Zl.height();
if(this.Ka!=a||this.Oa!=b){this.Ka=a;this.Oa=b;this.qda()}};d.prototype.WY=function(){var b=a("body").width(),c=a("body").height();if(p.ni()==p.K2&&p.browser()==p.Ah){var d=Math.min(b/this.ts[b>c?0:1],c/this.ts[c>b?0:1]),e=Math.round(b/d),f=Math.round(c/d);this.qC=d;b={left:Math.round((b-e)*0.5)+"px",top:Math.round((c-f)*0.5)+"px",right:"auto",bottom:"auto",width:e+"px",height:f+"px",transform:"scale("+[b/e,c/f].join(", ")+")",position:"absolute"}}else{b={position:"absolute",left:0,top:0,right:"auto",
bottom:"auto",width:b+"px",height:c+"px"};this.qC=1}this.Zl.css(b)};d.prototype.I5=function(){this.Zl.css({position:"abolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",transform:""});this.qC=1};d.prototype.qda=function(){this.FZ();var a=this;this.Dx=setTimeout(function(){a.Dx=s;a.Ra()},this.L9)};d.prototype.FZ=function(){if(this.Dx){this.Dx=s;clearTimeout(this.Dx)}};d.prototype.M8=function(){this.JS()};d.prototype.sJ=function(){return b(f.prototype.sJ.call(this)).defaults({globaltouchmove:[{target:a(document),
name:"touchmove",handler:b.bind(this.N8,this)}],globalmousemove:[{target:a(document),name:"mousemove",handler:b.bind(this.WU,this)},{target:a(window),name:"mouseout",handler:b.bind(this.WU,this)}],globalresize:[{target:a(window),name:"resize",handler:b.bind(this.M8,this)}],contextmenu:[{target:a(document),name:"contextmenu",handler:b.bind(this.L8,this)}]})};return d});define("W",[],function(){return{vc:"left",Nd:"right",lc:"top",Oc:"bottom"}});
define("y","require,gD,cu,iu,it,cO,o,hy,c,W,ig,hM,hZ,do,fg,fb".split(","),function(a){function b(a,b,c){this.text=a;this.Lt=b;this.context=c}var d=a("gD"),c=a("cu"),f=a("iu"),j=a("it");a("cO");var g=a("o"),h=a("hy"),e=a("c");a("W");var l=a("ig"),p=a("hM"),o=a("hZ"),r=a("do"),m=a("fg"),t=a("fb"),a=d.extend(l,function(){l.call(this);this.ej=[];this.Om=this.mp=this.wa=this.Lp=this.mt=this.yk=s;var a=new p;a.set("duration",500);a.set("easing","cubic_in");var b=new o;b.set("duration",500);b.set("easing",
"cubic_out");this.T({backgroundColor:"#000000",backgroundOpacity:0.6,horizontalAlign:h.md,gap:5,left:0,top:0,right:0,bottom:0,hideEffect:b,showEffect:a,visible:B})});a.prototype.Sa=function(){l.prototype.Sa.call(this);if(this.yk==s){this.yk=new l;this.yk.T({centerX:0,centerY:0,backgroundColor:"#ffffff",horizontalAlign:h.md,verticalAlign:h.Ed,layout:e.qe,shadow:q,shadowColor:"#000000",shadowHorizontalLength:0,shadowVerticalLength:0,shadowOpacity:0.2});this.Ca(this.yk)}if(this.wa==s){this.wa=new m;
this.wa.T({fontColor:"#808080",fontWeight:"300",fontFamily:"Tahoma, Geneva, sans-serif"});this.yk.Ca(this.wa)}if(this.Lp==s){this.Lp=new t;this.Lp.T({width:"80%"});this.yk.Ca(this.Lp)}if(this.mt==s){this.mt=new l;this.mt.T({backgroundColor:"#b3b3b3"});this.yk.Ca(this.mt)}if(this.rf==s){this.rf=new l;this.rf.T({horizontalAlign:h.md,verticalAlign:h.Ed,layout:e.ne});this.yk.Ca(this.rf)}if(this.mp==s){this.mp=new r;this.mp.T({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",
horizontalAlign:h.md,verticalAlign:h.Ed,label:j("yes").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"});this.mp.bind(f.ga,this.g5,this,q);this.rf.Ca(this.mp)}if(this.Om==s){this.Om=new r;this.Om.T({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:h.md,verticalAlign:h.Ed,label:j("no").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"});this.Om.bind(f.ga,this.a5,this,q);this.rf.Ca(this.Om)}};a.prototype.nv=
function(){l.prototype.nv.call(this);this.getParent().bind(f.Nb,this.xN,this,q)};a.prototype.sq=function(){this.getParent().unbind(f.Nb,this.xN,this,q);l.prototype.sq.call(this)};a.prototype.xN=function(){var a=this.getParent();if(a){var b=a.aa(),a=a.la();if(g.ic())var c=Math.min(b,a),b=function(a){return Math.round(a*c/100)};else b=function(a){return Math.round(a*4)};this.yk&&this.yk.T({borderRadius:b(1),width:b(80),height:b(40),gap:b(4),shadowBlurRadius:b(1),shadowSpread:b(1)});this.mt&&this.mt.T({width:b(60),
minHeight:2,height:b(0.25)});this.rf&&this.rf.T({gap:b(5)});this.Om&&this.Om.T({borderRadius:b(1),width:b(20),height:b(10),fontSize:b(4.25)});this.mp&&this.mp.T({borderRadius:b(1),width:b(20),height:b(10),fontSize:b(4.5)});this.wa&&this.wa.T({fontSize:b(5)});this.OD()}};a.prototype.show=function(a,c,d){this.xN();var e=this.FU(a,c,d);e>=0&&this.CY(e);this.cba(new b(a,c,d))};a.prototype.hide=function(a,b,c){a=this.FU(a,b,c);a>=0&&this.CY(a)};a.prototype.g5=function(){this.ZR(q)};a.prototype.a5=function(){this.ZR(B)};
a.prototype.FU=function(a,b,c){for(var d=0;d<this.ej.length;d++){var e=this.ej[d];if(e.text==a&&e.Lt==b&&e.context==c)return d}return-1};a.prototype.OD=function(){var a=this.TU();if(a){if(a.text.length<20){this.Lp.set("visible",B);this.wa.set("text",a.text);this.wa.set("visible",q)}else{this.wa.set("visible",B);this.Lp.set("html",this.Y7(a.text));this.Lp.set("visible",q)}this.Om.set("visible",a.Lt?q:B);this.set("visible",q)}else this.set("visible",B)};a.prototype.Y7=function(a){return'<div style="color:#808080; fontWeight:300; fontFamily:Tahoma, Geneva, sans-serif; font-size: '+
this.wa.get("fontSize")+'px;" >'+a+"</div>"};a.prototype.ZR=function(a){var b=this.TU();if(b){b=this.p8(b.text);this.rba(b);c(b).each(function(b){b.Lt&&b.Lt.call(b.context||this,a)},this)}};a.prototype.cba=function(a){this.ej.push(a);this.OD()};a.prototype.p8=function(a){return c(this.ej).filter(function(b){return b.text==a})};a.prototype.rba=function(a){this.ej=c(this.ej).filter(function(b){return!c(a).contains(b)});this.OD()};a.prototype.CY=function(a){this.ej.splice(a,1);a==this.ej.length&&this.OD()};
a.prototype.TU=function(){return this.ej.length>0?this.ej[this.ej.length-1]:s};return a});
define("eX","require,gD,cu,iu,cO,dK,ig,ct,it,fG,ex,y,X,gO,o,hN,fv,bz,he".split(","),function(a){var b=a("gD");a("cu");var d=a("iu"),c=a("cO"),f=a("dK");a("ig");var j=a("ct"),g=a("it"),h=a("fG"),e=a("ex"),l=a("y"),p=a("X"),o=a("gO"),r=a("o"),m=a("hN"),t=a("fv"),u=a("bz"),w=a("he"),a=b.extend(f,function(a){f.call(this,a);this.og=s;this.bind(d.Qa("settings"),this.xaa,this,q);this.$R="3DVista Player";this.X_="";this.Q6="true";this.IN=TDV.bb.$0();if(!w.qo("debug")){a=
[];this.$R&&a.push(this.$R);this.Q6!="false"&&a.push("v:"+this.IN.MAJOR+"."+this.IN.MINOR);if(a.length)this.kI=[a.join(" ")]}this.e5=new h(this,"buttonMute",j.kc);this.e5.bind(d.ga,this.$W,this,q);this.j5=new h(this,"buttonUnmute",j.kc);this.j5.bind(d.ga,this.wX,this,q);this.uA=new h(this,"buttonToggleMute",j.Fh);this.uA.bind(d.$f,this.$W,this,q);this.uA.bind(d.Eh,this.wX,this,q);this.bind(d.Qa("mute"),this.daa,this);this.uA.set("pressed",this.get("mute"));this.c5=new h(this,"buttonEnterFullscreen",
j.kc);this.c5.bind(d.ga,this.GW,this,q);this.d5=new h(this,"buttonExitFullscreen",j.kc);this.d5.bind(d.ga,this.HW,this,q);this.rA=new h(this,"buttonToggleFullscreen",j.Fh);this.rA.bind(d.$f,this.GW,this,q);this.rA.bind(d.Eh,this.HW,this,q);this.rA.set("pressed",this.get("fullscreenEnabled"));this.bind(d.Qa("fullscreenEnabled"),this.O$,this,q);this.set("fullscreenEnabled",this.Xj.enabled());this.set("mouseWheelEnabled",q)});c.C("Player",a).Via().D("Container").K({definitions:"array[Object]",gyroscopeAvailable:"bool",
cardboardAvailable:"bool",vrAvailable:"bool",mute:"bool",touchEnabled:"bool",buttonToggleMute:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonMute:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonUnmute:"or[array[or[Button, IconButton]], or[Button, IconButton]]",fullscreenEnabled:"bool",fullscreenAvailable:"bool",buttonToggleFullscreen:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonEnterFullscreen:"or[array[or[Button, IconButton]], or[Button, IconButton]]",
buttonExitFullscreen:"or[array[or[Button, IconButton]], or[Button, IconButton]]",mouseWheelEnabled:"bool",backgroundPreloadEnabled:"bool",vrPolyfillScale:"number",desktopMipmappingEnabled:"bool",mobileMipmappingEnabled:"bool"}).kja().si({logCapabilities:function(){this.n$()}}).qi(["start"]);a.prototype.BW=function(){this.X_&&window.open(this.X_,"_blank")};a.prototype.iJ=function(a){f.prototype.iJ.apply(this,arguments);this.set("fullscreenEnabled",a)};a.prototype.ma=function(){f.prototype.ma.call(this);
this.a("mute",B);this.a("fullscreenEnabled",B)};a.prototype.Sa=function(){f.prototype.Sa.call(this);if(this.og==s){this.og=new l;this.Ca(this.og);setTimeout(function(){e.sr(this)}.bind(this),100)}};a.prototype.jf=function(){f.prototype.jf.call(this);if(this.og){var a=this.sb().length-1;this.Vt(this.og)!=a&&this.uh(this.og,a)}};a.prototype.X=function(){f.prototype.X.call(this);this.dla===q&&this.cla()};a.prototype.set=function(a,b){switch(a){case "fullscreenAvailable":case "gyroscopeAvailable":case "cardboardAvailable":case "vrAvailable":case "touchEnabled":b=
this.get(a);break;case "mouseWheelEnabled":this.jja(w.Tt("mousewheelenabled",b));break;case "backgroundPreloadEnabled":this.Tba(b);break;case "vrPolyfillScale":p.vja(b)}f.prototype.set.call(this,a,b)};a.prototype.get=function(a){switch(a){case "touchEnabled":return this.Wg;case "gyroscopeAvailable":return m.available;case "cardboardAvailable":case "vrAvailable":return p.available();case "fullscreenAvailable":return this.Xj.available();case "vrPolyfillScale":return p.Iga();default:return f.prototype.get.apply(this,
arguments)}};a.prototype.$W=function(){this.set("mute",q)};a.prototype.wX=function(){this.set("mute",B)};a.prototype.daa=function(){this.uA.set("pressed",this.get("mute"))};a.prototype.GW=function(){this.set("fullscreenEnabled",q)};a.prototype.HW=function(){this.set("fullscreenEnabled",B)};a.prototype.O$=function(){this.get("fullscreenEnabled")?this.Xj.lO():this.Xj.ko();this.rA.set("pressed",this.get("fullscreenEnabled"));this.set("fullscreenEnabled",this.Xj.enabled())};a.prototype.xaa=function(){var a=
this.get("settings");if(a){u.om(a);t.yja(a)}};a.prototype.Tba=function(a){t.enabled(a)};a.prototype.n$=function(){b.bga(q);b.log("UA: "+navigator.userAgent);b.log("screen: ("+Math.max(window.screen.width,window.screen.height)+", "+Math.min(window.screen.width,window.screen.height)+") dpr: "+window.devicePixelRatio+" ("+Math.max(window.screen.width,window.screen.height)*window.devicePixelRatio+", "+Math.min(window.screen.width,window.screen.height)*window.devicePixelRatio+")");r.log();o.log();g.log();
p.log()};return a});define("gW",["cu","gD","t","cO"],function(a,b,d,c){a=b.extend(d,function(){d.call(this)});c.C("ProgressBar",a).D("UIComponent").K({barBackgroundColor:"or[array[color], color]",barBackgroundColorDirection:"enum[horizontal, vertical]",barBackgroundColorRatios:"array[number]",barBorderColor:"color",barBorderRadius:"number",barBorderSize:"number",barOpacity:"number"});return a});
define("dL",["require","gD","gU","cO"],function(a){var b=a("gD"),d=a("gU"),a=a("cO"),b=b.extend(d,function(a,b,j){d.call(this);a!==n&&this.set("yaw",a);b!==n&&this.set("pitch",b);j!==n&&this.set("hfov",j)});a.C("RotationalCameraPosition",b).D("Object").K({yaw:"number",pitch:"number",hfov:"number"});return b});
define("iB",["require","gD","gU","cO","dL"],function(a){var b=a("gD"),d=a("gU"),c=a("cO"),f=a("dL"),a=b.extend(d,function(){d.call(this);this.set("initialPosition",new f)});c.C("RotationalCamera",a).D("Object").K({initialPosition:"RotationalCameraPosition",initialSequence:"RotationalCameraSequence",idleSequence:"RotationalCameraSequence",sequences:"array[RotationalCameraSequence]",timeToIdle:"number",manualRotationSpeed:"number",manualZoomSpeed:"number",automaticRotationSpeed:"number",automaticZoomSpeed:"number"});
return a});define("cR",["require","gD","gU","cO","iu"],function(a){var b=a("gD"),d=a("gU"),c=a("cO"),a=a("iu"),b=b.extend(d,function(){d.call(this)});c.C("RotationalCameraMovement",b).D("Object").K({easing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]",duration:"number",hfovSpeed:"number",pitchSpeed:"number",yawSpeed:"number"}).Jb([a.ra]);return b});
define("cc",["gD","cC","F","W"],function(a,b){var d=a.extend(b,function(){b.call(this)});d.prototype.iw=P(0);d.prototype.jw=P(0);d.prototype.DM=function(){this.rl(function(a){a.eF(this.iw(a,0));a.fF(this.jw(a,0));a.Fe(q)})};d.prototype.oD=function(){this.rl(function(a){a.eF(this.iw(a,this.uJ()));a.fF(this.jw(a,this.uJ()))})};d.prototype.tt=function(){this.rl(function(a){a.eF(this.iw(a,1));a.fF(this.jw(a,1))})};return d});
define("hK",["gD","cc","W"],function(a,b,d){a=a.extend(b,function(){b.call(this)});a.prototype.iw=function(a,b){switch(this.get("from")){case d.lc:case d.Oc:return 0;case d.vc:var j=a.$,g=a.aa();return isNaN(g)||isNaN(j)?1E4:(-j-g)*(1-b);default:j=a.getParent();if(!j)return 0;g=j.Ld();j=a.$;return isNaN(j)||isNaN(g)?1E4:(g-j)*(1-b)}};a.prototype.jw=function(a,b){switch(this.get("from")){case d.lc:var j=a.ba,g=a.la();return isNaN(g)||isNaN(j)?1E4:(-j-g)*(1-b);case d.Oc:j=a.getParent();if(!j)return 0;
g=j.Kd();j=a.ba;return isNaN(j)||isNaN(g)?1E4:(g-j)*(1-b);default:return 0}};return a});define("bt",["gD","hK","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("SlideInEffect",a).D("Effect").K({from:"enum[left, top, right, bottom]"});return a});
define("ek",["gD","cc","F","W"],function(a,b,d,c){a=a.extend(b,function(){b.call(this)});a.prototype.iw=function(a,b){switch(this.get("to")){case c.lc:case c.Oc:return 0;case c.vc:var d=a.$,h=a.aa();return isNaN(h)||isNaN(d)?1E4:(-d-h)*b;default:d=a.getParent();if(!d)return 0;h=d.Ld();d=a.$;return isNaN(d)||isNaN(h)?1E4:(h-d)*b}};a.prototype.jw=function(a,b){switch(this.get("to")){case c.lc:var d=a.ba,h=a.la();return isNaN(h)||isNaN(d)?1E4:(-d-h)*b;case c.Oc:d=a.getParent();if(!d)return 0;h=d.Kd();
d=a.ba;return isNaN(d)||isNaN(h)?1E4:(h-d)*b;default:return 0}};a.prototype.tt=function(){this.rl(function(a){a.eF(0);a.fF(0);a.Fe(B)})};return a});define("eL",["gD","ek","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("SlideOutEffect",a).D("Effect").K({to:"enum[left, top, right, bottom]"});return a});
define("cK",["require","gD","cO","gL","iC"],function(a){var b=a("gD"),d=a("cO"),c=a("gL"),f=a("iC"),a=b.extend(c,function(){c.call(this)});d.C("SphericPanoramaFrame",a).D("PanoramaFrame").K({sphere:"or[ImageResource, Video360Resource]",stereoSphere:"or[ImageResource]"});a.prototype.OA=function(){return this.FB()?f.Mfa(this.get("sphere"),this.q,this.Jd,this.B,this.Ob):this.get("stereoSphere")?f.Ofa(this.get("stereoSphere"),this.q,this.Jd,this.B,this.Ob):f.Lfa(this.get("sphere"),this.q,this.Jd,this.B,
this.Ob)};a.prototype.pI=function(){return this.FB()?this.OA():this.get("stereoSphere")?f.Ufa(this.get("stereoSphere"),this.q,this.Jd,this.B,this.Ob):f.Sfa(this.get("sphere"),this.q,this.Jd,this.B,this.Ob)};a.prototype.FB=function(){var a=this.get("sphere");return a&&d.hc("Video360Resource",a)};a.prototype.EJ=function(){return["stereoSphere","sphere"]};return a});
define("bW","cu,gD,r,ig,hy,F,fg".split(","),function(a,b,d,c,f,j,g){var h=b.extend(c,function(a){c.call(this);this.Lc("Tab");this.nL=a;this.$x="";this.aN=B;this.PV=this.wa=s;this.KN=this.JN=B;this.set("childrenInteractionEnabled",B);this.set("contentOpaque",q)});h.prototype.ma=function(){c.prototype.ma.call(this);this.a("horizontalAlign",f.md);this.a("verticalAlign",f.Ed);this.a("fontFamily");this.a("fontSize");this.a("fontColor");this.a("fontWeight");this.a("fontStyle");this.a("textDecoration");
this.a("textShadowBlurRadius");this.a("textShadowColor");this.a("textShadowHorizontalLength");this.a("textShadowOpacity");this.a("textShadowVerticalLength")};h.prototype.s2=function(a){if(this.JN!=a){this.JN=a;this.KN=q;this.Rb()}};h.prototype.Sa=function(){c.prototype.Sa.call(this);if(this.wa==s){this.wa=new g;this.wa.set("horizontalAlign","center");this.Ca(this.wa)}};h.prototype.nv=function(){c.prototype.nv.call(this);this.PV=d.watch(this.nL,"label",this.U$,this);this.mZ(this.nL.get("label"))};
h.prototype.aM=function(){c.prototype.aM.call(this);this.PV.unwatch()};h.prototype.U$=function(){var a=this.nL.get("label");this.mZ(a?a:"")};h.prototype.mZ=function(a){if(this.$x!=a){this.$x=a;this.aN=q;this.Rb()}};h.prototype.X=function(){if(this.aN){this.aN=B;this.wa.set("text",this.$x)}if(this.KN){this.KN=B;this.wa.set("direction",this.JN?j.qe:j.ne)}this.eb(h.CR,h.Rr,[this.wa],q,q);c.prototype.X.call(this)};h.CR=["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor",
"textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];h.Rr={};a(h.CR).each(function(a){h.Rr[a]=a});return h});define("cN",[],function(){return{Zu:"normal",Mr:"inverse",YP:"center"}});
define("bS","cu,gD,N,J,iu,ig,hy,c,bW,cN,W".split(","),function(a,b,d,c,f,j,g,h,e,l,p){b=b.extend(j,function(){j.call(this);this.Lc("TabPanel");this.Wb=-1;this.xq=B;this.Zx=[];this.yD=B;this.ek=[];this.pL=B;this.Yx=[];this.Gd=this.ie=s;this.Bq(B)});b.prototype.ma=function(){j.prototype.ma.call(this);this.a("pages",[]);this.a("selectedIndex",-1);this.a("tabsSize",25);this.a("tabsPosition",p.lc);this.a("tabsGap",0);this.a("tabsPadding",10);this.a("tabsAlign",l.Zu);this.a("tabsBackgroundOpacity",0.6);
this.a("tabsBackgroundColor",["#FFFFFF","#CCCCCC"]);this.a("tabsBackgroundColorRatios",[0,0.5]);this.a("tabsRollOverBackgroundOpacity",1);this.a("tabsRollOverBackgroundColor",["#FFFFFF","#CCCCCC"]);this.a("tabsRollOverBackgroundColorRatios",[0,0.5]);this.a("backgroundColor","#FFFFFF");this.a("selectedTabBackgroundOpacity",1);this.a("selectedTabBackgroundColor");this.a("selectedTabBackgroundColorRatios");this.a("borderRadius",6);this.a("pagePaddingLeft",4);this.a("pagePaddingTop",4);this.a("pagePaddingRight",
4);this.a("pagePaddingBottom",4);this.a("borderColor","#AAAAAA");this.a("borderSize",1);this.a("selectedTabFontSize");this.a("selectedTabFontColor");this.a("selectedTabFontWeight");this.a("selectedTabFontStyle");this.a("selectedTabTextDecoration");this.a("selectedTabTextShadowBlurRadius");this.a("selectedTabTextShadowColor");this.a("selectedTabTextShadowHorizontalLength");this.a("selectedTabTextShadowOpacity");this.a("selectedTabTextShadowVerticalLength");this.a("tabsFontFamily");this.a("tabsFontSize");
this.a("tabsFontColor");this.a("tabsFontWeight");this.a("tabsFontStyle");this.a("tabsTextDecoration");this.a("tabsTextShadowBlurRadius");this.a("tabsTextShadowColor");this.a("tabsTextShadowHorizontalLength");this.a("tabsTextShadowOpacity");this.a("tabsTextShadowVerticalLength");this.a("tabsRollOverFontSize");this.a("tabsRollOverFontColor");this.a("tabsRollOverFontWeight");this.a("tabsRollOverFontStyle");this.a("tabsRollOverTextDecoration");this.a("tabsRollOverTextShadowBlurRadius");this.a("tabsRollOverTextShadowColor");
this.a("tabsRollOverTextShadowHorizontalLength");this.a("tabsRollOverTextShadowOpacity");this.a("tabsRollOverTextShadowVerticalLength")};b.prototype.Sa=function(){j.prototype.Sa.call(this);if(this.Gd==s){this.Gd=new j;this.Gd.Bq(B);this.Ca(this.Gd)}if(this.ie==s){this.ie=new j;this.ie.Bq(B);this.Ca(this.ie)}};b.prototype.set=function(a,b){if(a=="pages")this.qja(b||[]);else if(a=="selectedIndex")this.iF(b);else if(a=="layout")b=h.mka;j.prototype.set.call(this,a,b)};b.prototype.get=function(a){return a==
"pages"?this.ek:a=="selectedIndex"?this.Wb:j.prototype.get.call(this,a)};b.prototype.iF=function(a){if(this.Wb!=a){this.Wb=a;this.Wb=Math.min(Math.max(this.Wb,-1),this.ek.length);this.xq=q;this.Rb();this.trigger(f.W)}};b.prototype.qja=function(b){if(!a.isEqual(this.ek,b)){this.ek=b;this.pL=q;this.Rb()}};b.prototype.Dda=function(b){this.Zx=a(this.Zx).union([b.source]);this.yD=q;this.Rb()};b.prototype.Cda=function(b){this.Zx=a(this.Zx).difference([b.source]);this.yD=q;this.Rb()};b.prototype.Bda=function(b){this.iF(a(this.Yx).indexOf(b.source))};
b.prototype.X=function(){var b=B,r=B,m=B,t=B,u=B,w=this.f("tabsPosition"),A=this.f("tabsAlign");if(this.pL){this.Yx=[];this.ie.J1();this.Gd.J1();a(this.ek).forEach(function(b){var c=new e(b);c.Bq(q);c.bind(f.Yb,a.bind(this.Dda,this));c.bind(f.Kb,a.bind(this.Cda,this));c.bind(f.wb,a.bind(this.Bda,this));this.Yx.push(c);this.ie.Ca(c);b.T({top:n,left:n,right:n,bottom:n,width:"100%",height:"100%"});this.Gd.Ca(b)},this);this.Wb=Math.min(Math.max(this.Wb,0),this.ek.length-1);this.pL=B;r=b=u=q}if(this.h("tabsPosition")){this.j("tabsPosition");
t=r=b=q}if(this.xq){this.xq=B;m=r=u=q}if(this.yD){this.yD=B;m=q}a(["tabsAlign","tabsGap","tabsSize"]).forEach(function(a){if(this.h(a)){this.j(a);b=q}},this);a(["borderRadius","borderTopRadius","borderBottomRadius","borderLeftRadius","borderRightRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderSize","borderLeftSize","borderTopSize","borderRightSize","borderBottomSize","borderColor","borderLeftColor","borderTopColor","borderRightColor",
"borderBottomColor","shadow","shadowHorizontalLength","shadowVerticalLength","shadowBlurRadius","shadowSpread","shadowColor","backgroundOpacity","backgroundColor","backgroundColorRatios"]).forEach(function(a){if(this.h(a)){this.j(a);t=r=q}},this);a(["tabsBackgroundOpacity","tabsBackgroundColor","tabsBackgroundColorRatios","selectedTabBackgroundOpacity","selectedTabBackgroundColor","selectedTabBackgroundColorRatios","selectedTabFontSize","selectedTabFontColor","selectedTabFontWeight","selectedTabFontStyle",
"selectedTabTextDecoration","selectedTabTextShadowColor","selectedTabTextShadowHorizontalLength","selectedTabTextShadowVerticalLength","selectedTabTextShadowBlurRadius","selectedTabTextShadowOpacity","tabsFontFamily","tabsFontSize","tabsFontColor","tabsFontWeight","tabsFontStyle","tabsPadding","tabsTextDecoration","tabsRollOverFontSize","tabsRollOverFontColor","tabsTextShadowColor","tabsTextShadowHorizontalLength","tabsTextShadowVerticalLength","tabsTextShadowBlurRadius","tabsTextShadowOpacity","tabsRollOverFontWeight",
"tabsRollOverFontStyle","tabsRollOverTextDecoration","tabsRollOverTextShadowColor","tabsRollOverTextShadowHorizontalLength","tabsRollOverTextShadowVerticalLength","tabsRollOverTextShadowBlurRadius","tabsRollOverTextShadowOpacity"]).forEach(function(a){if(this.h(a)){this.j(a);r=q}},this);a(["pagePaddingLeft","pagePaddingTop","pagePaddingRight","pagePaddingBottom"]).forEach(function(a){if(this.h(a)){this.j(a);refresPagesContainer=q}},this);this.h("backgroundColorDirection")&&this.j("backgroundColorDirection");
if(b){switch(w){case p.vc:this.ie.T({left:0,right:n});break;case p.Nd:this.ie.T({left:n,right:0});break;case p.lc:this.ie.T({bottom:n,top:0});break;case p.Oc:this.ie.T({bottom:0,top:n})}switch(w){case p.vc:case p.Nd:this.ie.T({layout:h.qe,top:0,bottom:0,height:n,width:this.f("tabsSize")});switch(A){case l.Mr:this.ie.set("verticalAlign",g.Oc);break;case l.YP:this.ie.set("verticalAlign",g.Ed);break;default:this.ie.set("verticalAlign",g.lc)}break;case p.lc:case p.Oc:this.ie.T({layout:h.ne,left:0,right:0,
height:this.f("tabsSize"),width:n});switch(A){case l.Mr:this.ie.set("horizontalAlign",g.Nd);break;case l.YP:this.ie.set("horizontalAlign",g.md);break;default:this.ie.set("horizontalAlign",g.vc)}}this.ie.set("gap",this.f("tabsGap"))}if(r)for(var z=0;z<this.ek.length;z++){var C=this.Yx[z];if(w==p.Oc||w==p.lc){C.T({layout:h.ne,width:n,paddingLeft:this.f("tabsPadding"),paddingTop:0,paddingRight:this.f("tabsPadding"),paddingBottom:0,height:"100%",backgroundColorDirection:d.LG});C.s2(B)}else{C.T({layout:h.qe,
width:"100%",paddingLeft:0,paddingTop:this.f("tabsPadding"),paddingRight:0,paddingBottom:this.f("tabsPadding"),height:n,backgroundColorDirection:d.rG});C.s2(q)}w==p.Oc||w==p.Nd?C.set("borderTopLeftRadius",0):C.set("borderTopLeftRadius",this.f("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));w==p.Oc||w==p.vc?C.set("borderTopRightRadius",0):C.set("borderTopRightRadius",this.f("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));w==p.lc||w==p.Nd?C.set("borderBottomLeftRadius",
0):C.set("borderBottomLeftRadius",this.f("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));w==p.lc||w==p.vc?C.set("borderBottomRightRadius",0):C.set("borderBottomRightRadius",this.f("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));w==p.Nd&&C.set("borderSize",this.f("borderRightSize","borderSize"));w==p.vc&&C.set("borderSize",this.f("borderLeftSize","borderSize"));w==p.lc&&C.set("borderSize",this.f("borderTopSize","borderSize"));w==
p.Oc&&C.set("borderSize",this.f("borderBottomSize","borderSize"));var v;switch(w){case p.vc:v=this.f("borderLeftColor","borderColor");break;case p.Nd:v=this.f("borderRightColor","borderColor");break;case p.Oc:v=this.f("borderBottomColor","borderColor");break;default:case p.lc:v=this.f("borderTopColor","borderColor")}C.set("borderColor",v);C.T({fontFamily:this.f("tabsFontFamily"),shadow:this.f("shadow"),shadowHorizontalLength:this.f("shadowHorizontalLength"),shadowVerticalLength:this.f("shadowVerticalLength"),
shadowBlurRadius:this.f("shadowBlurRadius"),shadowSpread:this.f("shadowSpread"),shadowColor:this.f("shadowColor")})}if(r||m)for(z=0;z<this.ek.length;z++){C=this.Yx[z];m=z==this.Wb;v=a(this.Zx).contains(C);if(m){v=this.f("selectedTabBackgroundColor","tabsBackgroundColor");if(a(v).isUndefined()){v=this.f("backgroundColor");v=a(v).isArray()&&v.length>0?w==p.vc||w==p.lc?v[0]:v[v.length-1]:v}C.T({backgroundOpacity:this.f("selectedTabBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:v,
backgroundColorRatios:this.f("selectedTabBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:c.dc,fontSize:this.f("selectedTabFontSize","tabsFontSize"),fontColor:this.f("selectedTabFontColor","tabsFontColor"),fontWeight:this.f("selectedTabFontWeight","tabsFontWeight"),fontStyle:this.f("selectedTabFontStyle","tabsFontStyle"),textDecoration:this.f("selectedTabTextDecoration","tabsTextDecoration"),textShadowColor:this.f("selectedTabTextShadowColor","tabsTextShadowColor"),textShadowHorizontalLength:this.f("selectedTabTextShadowHorizontalLength",
"tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.f("selectedTabTextShadowVerticalLength","tabsTextShadowVerticalLength"),textShadowBlurRadius:this.f("selectedTabTextShadowBlurRadius","tabsTextShadowBlurRadius"),textShadowOpacity:this.f("selectedTabTextShadowOpacity","tabsTextShadowOpacity")})}else v?C.T({backgroundOpacity:this.f("tabsRollOverBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:this.f("tabsRollOverBackgroundColor","tabsBackgroundColor"),backgroundColorRatios:this.f("tabsRollOverBackgroundColorRatios",
"tabsBackgroundColorRatios"),cursor:c.Uc,fontSize:this.f("tabsRollOverFontSize","tabsFontSize"),fontColor:this.f("tabsRollOverFontColor","tabsFontColor"),fontWeight:this.f("tabsRollOverFontWeight","tabsFontWeight"),fontStyle:this.f("tabsRollOverFontStyle","tabsFontStyle"),textDecoration:this.f("tabsRollOverTextDecoration","tabsTextDecoration"),textShadowColor:this.f("tabsRollOverTextShadowColor","tabsTextShadowColor"),textShadowHorizontalLength:this.f("tabsRollOverTextShadowHorizontalLength","tabsTextShadowHorizontalLength"),
textShadowVerticalLength:this.f("tabsRollOverTextShadowVerticalLength","tabsTextShadowVerticalLength"),textShadowBlurRadius:this.f("tabsRollOverTextShadowBlurRadius","tabsTextShadowBlurRadius"),textShadowOpacity:this.f("tabsRollOverTextShadowOpacity","tabsTextShadowOpacity")}):C.T({backgroundOpacity:this.f("tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:this.f("tabsBackgroundColor"),backgroundColorRatios:this.f("tabsBackgroundColorRatios"),fontSize:this.f("tabsFontSize"),fontColor:this.f("tabsFontColor"),
fontWeight:this.f("tabsFontWeight"),fontStyle:this.f("tabsFontStyle"),textDecoration:this.f("tabsTextDecoration"),textShadowColor:this.f("tabsTextShadowColor"),textShadowHorizontalLength:this.f("tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.f("tabsTextShadowVerticalLength"),textShadowBlurRadius:this.f("tabsTextShadowBlurRadius"),textShadowOpacity:this.f("tabsTextShadowOpacity")});C.T({borderLeftSize:w==p.Nd&&m?0:n,borderRightSize:w==p.vc&&m?0:n,borderBottomSize:w==p.lc&&m?0:n,borderTopSize:w==
p.Oc&&m?0:n})}if(t){z=this.f("tabsSize");switch(w){case p.vc:this.Gd.T({left:z-(this.f("borderLeftSize","borderSize")||0),right:0,top:0,bottom:0});break;case p.Nd:this.Gd.T({left:0,right:z-(this.f("borderRightSize","borderSize")||0),top:0,bottom:0});break;case p.lc:this.Gd.T({left:0,right:0,top:z-(this.f("borderTopSize","borderSize")||0),bottom:0});break;case p.Oc:this.Gd.T({left:0,right:0,top:0,bottom:z-(this.f("borderBottomSize","borderSize")||0)})}w==p.lc&&A==l.Zu||w==p.vc&&A==l.Zu?this.Gd.set("borderTopLeftRadius",
0):this.Gd.set("borderTopLeftRadius",this.f("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));w==p.lc&&A==l.Mr||w==p.Nd&&A==l.Zu?this.Gd.set("borderTopRightRadius",0):this.Gd.set("borderTopRightRadius",this.f("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));w==p.Oc&&A==l.Zu||w==p.vc&&A==l.Mr?this.Gd.set("borderBottomLeftRadius",0):this.Gd.set("borderBottomLeftRadius",this.f("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));
w==p.Oc&&A==l.Mr||w==p.Nd&&A==l.Mr?this.Gd.set("borderBottomRightRadius",0):this.Gd.set("borderBottomRightRadius",this.f("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));this.Gd.T({paddingLeft:this.f("pagePaddingLeft"),paddingTop:this.f("pagePaddingTop"),paddingRight:this.f("pagePaddingRight"),paddingBottom:this.f("pagePaddingBottom"),borderLeftSize:this.f("borderLeftSize","borderSize"),borderTopSize:this.f("borderTopSize","borderSize"),borderRightSize:this.f("borderRightSize",
"borderSize"),borderBottomSize:this.f("borderBottomSize","borderSize"),borderLeftColor:this.f("borderLeftColor","borderColor"),borderTopColor:this.f("borderTopColor","borderColor"),borderRightColor:this.f("borderRightColor","borderColor"),borderBottomColor:this.f("borderBottomColor","borderColor"),shadow:this.f("shadow"),shadowHorizontalLength:this.f("shadowHorizontalLength"),shadowVerticalLength:this.f("shadowVerticalLength"),shadowBlurRadius:this.f("shadowBlurRadius"),shadowSpread:this.f("shadowSpread"),
shadowColor:this.f("shadowColor"),backgroundOpacity:this.f("backgroundOpacity"),backgroundColor:this.f("backgroundColor"),backgroundColorRatios:this.f("backgroundColorRatios")});w==p.lc||w==p.Oc?this.Gd.set("backgroundColorDirection",d.LG):this.Gd.set("backgroundColorDirection",d.rG)}if(u)for(z=0;z<this.ek.length;z++)this.ek[z].set("visible",z==this.Wb);j.prototype.X.call(this)};return b});
define("id",["cu","gD","iu","bS","cO"],function(a,b,d,c,f){a=b.extend(c,function(){c.call(this)});f.C("TabPanel",a).D("Container").K({pagePaddingLeft:"number",pagePaddingTop:"number",pagePaddingRight:"number",pagePaddingBottom:"number",pages:"array[TabPanelPage]",selectedIndex:"number",selectedTabBackgroundColor:"or[color, array[color]]",selectedTabBackgroundColorRatios:"array[number]",selectedTabBackgroundOpacity:"number",selectedTabFontColor:"color",selectedTabFontSize:"or[number, size]",selectedTabFontStyle:"enum[italic, normal]",
selectedTabFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",selectedTabTextDecoration:"enum[underline, overline, line-through, none]",selectedTabTextShadowBlurRadius:"number",selectedTabTextShadowColor:"color",selectedTabTextShadowHorizontalLength:"number",selectedTabTextShadowOpacity:"number",selectedTabTextShadowVerticalLength:"number",tabsAlign:"enum[normal, inverse, center]",tabsBackgroundColor:"or[color, array[color]]",tabsBackgroundColorRatios:"array[number]",
tabsBackgroundOpacity:"number",tabsFontColor:"color",tabsFontFamily:"string",tabsFontSize:"or[number, size]",tabsFontStyle:"enum[italic, normal]",tabsFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",tabsGap:"number",tabsPadding:"number",tabsPosition:"enum[left, top, right, bottom]",tabsRollOverBackgroundColor:"or[color, array[color]]",tabsRollOverBackgroundColorRatios:"array[number]",tabsRollOverBackgroundOpacity:"number",tabsRollOverFontColor:"color",
tabsRollOverFontSize:"or[number, size]",tabsRollOverFontStyle:"enum[italic, normal]",tabsRollOverFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",tabsRollOverTextDecoration:"enum[underline, overline, line-through, none]",tabsRollOverTextShadowBlurRadius:"number",tabsRollOverTextShadowColor:"color",tabsRollOverTextShadowHorizontalLength:"number",tabsRollOverTextShadowOpacity:"number",tabsRollOverTextShadowVerticalLength:"number",tabsSize:"number",tabsTextDecoration:"enum[underline, overline, line-through, none]",
tabsTextShadowBlurRadius:"number",tabsTextShadowColor:"color",tabsTextShadowHorizontalLength:"number",tabsTextShadowOpacity:"number",tabsTextShadowVerticalLength:"number"}).xm(["selectedTabFontSize","tabsFontSize","tabsRollOverFontSize"]).Jb([d.W]);return a});define("ce",["gD","ig"],function(a,b){var d=a.extend(b,function(){b.call(this);this.Lc("Page");this.set("label","")});d.prototype.ma=function(){b.prototype.ma.call(this);this.a("visible",n)};return d});
define("K",["gD","ce","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("TabPanelPage",a).D("Container").K({label:"string"});return a});define("dG",["require","gD","gU","cO"],function(a){var b=a("gD"),d=a("gU"),a=a("cO"),b=b.extend(d,function(){d.call(this)});a.C("TargetPanoramaCameraMovement",b).D("TargetRotationalCameraMovement");return b});
define("eD","gD,iu,hy,bM,J,c,W,hb,dN,ig,hl,fg,cu".split(","),function(a,b,d,c,f,j,g,h,e,l,p,o,r){var m=a.extend(l,function(){l.call(this);this.wa=this.gc=s;this.set("autoRolledOver",q);this.set("childrenInteractionEnabled",B);this.set("contentOpaque",q);this.set("creationPolicy",c.Mz);this.set("cursor",f.Uc)});m.prototype.ma=function(){l.prototype.ma.call(this);this.a("overflow","hidden");this.a("item");this.a("thumbnailUrlFunction",this.FI);this.a("labelFunction",this.EI);this.a("labelFontFamily");
this.a("labelFontColor");this.a("labelFontSize");this.a("labelFontStyle");this.a("labelFontWeight");this.a("labelGap");this.a("labelHorizontalAlign");this.a("labelMaxWidth");this.a("labelPosition");this.a("labelTextDecoration");this.a("labelTextShadowColor");this.a("labelTextShadowHorizontalLength");this.a("labelTextShadowVerticalLength");this.a("labelTextShadowBlurRadius");this.a("labelTextShadowOpacity");this.a("thumbnailBorderRadius");this.a("thumbnailOpacity");this.a("thumbnailBorderSize");this.a("thumbnailBorderColor");
this.a("thumbnailWidth");this.a("thumbnailHeight");this.a("thumbnailMaxWidth");this.a("thumbnailMaxHeight");this.a("thumbnailShadow");this.a("thumbnailShadowHorizontalLength");this.a("thumbnailShadowVerticalLength");this.a("thumbnailShadowBlurRadius");this.a("thumbnailShadowSpread");this.a("thumbnailShadowColor");this.a("thumbnailShadowOpacity");this.c("rollOverBackgroundOpacity",e.k,"backgroundOpacity");this.c("rollOverBackgroundColor",e.k,"backgroundColor");this.c("rollOverBackgroundColorRatios",
e.k,"backgroundColorRatios");this.c("rollOverBackgroundColorDirection",e.k,"backgroundColorDirection");this.c("rollOverBorderRadius",e.k,"borderRadius");this.c("rollOverBorderTopRadius",e.k,"borderTopRadius");this.c("rollOverBorderBottomRadius",e.k,"borderBottomRadius");this.c("rollOverBorderLeftRadius",e.k,"borderLeftRadius");this.c("rollOverBorderRightRadius",e.k,"borderRightRadius");this.c("rollOverBorderTopLeftRadius",e.k,"borderTopLeftRadius");this.c("rollOverBorderTopRightRadius",e.k,"borderTopRightRadius");
this.c("rollOverBorderBottomLeftRadius",e.k,"borderBottomLeftRadius");this.c("rollOverBorderBottomRightRadius",e.k,"borderBottomRightRadius");this.c("rollOverBorderSize",e.k,"borderSize");this.c("rollOverBorderLeftSize",e.k,"borderLeftSize");this.c("rollOverBorderTopSize",e.k,"borderTopSize");this.c("rollOverBorderRightSize",e.k,"borderRightSize");this.c("rollOverBorderBottomSize",e.k,"borderBottomSize");this.c("rollOverBorderColor",e.k,"borderColor");this.c("rollOverBorderLeftColor",e.k,"borderLeftColor");
this.c("rollOverBorderTopColor",e.k,"borderTopColor");this.c("rollOverBorderRightColor",e.k,"borderRightColor");this.c("rollOverBorderBottomColor",e.k,"borderBottomColor");this.c("rollOverLabelFontColor",e.k,"labelFontColor");this.c("rollOverLabelFontSize",e.k,"labelFontSize");this.c("rollOverLabelFontStyle",e.k,"labelFontStyle");this.c("rollOverLabelFontWeight",e.k,"labelFontWeight");this.c("rollOverLabelTextDecoration",e.k,"labelTextDecoration");this.c("rollOverLabelTextShadowColor",e.k,"labelTextShadowColor");
this.c("rollOverLabelTextShadowHorizontalLength",e.k,"labelTextShadowHorizontalLength");this.c("rollOverLabelTextShadowVerticalLength",e.k,"labelTextShadowVerticalLength");this.c("rollOverLabelTextShadowBlurRadius",e.k,"labelTextShadowBlurRadius");this.c("rollOverLabelTextShadowOpacity",e.k,"labelTextShadowOpacity");this.c("rollOverOpacity",e.k,"opacity");this.c("rollOverPaddingLeft",e.k,"paddingLeft");this.c("rollOverPaddingTop",e.k,"paddingTop");this.c("rollOverPaddingRight",e.k,"paddingRight");
this.c("rollOverPaddingBottom",e.k,"paddingBottom");this.c("rollOverShadow",e.k,"shadow");this.c("rollOverThumbnailOpacity",e.k,"thumbnailOpacity");this.c("rollOverThumbnailBorderSize",e.k,"thumbnailBorderSize");this.c("rollOverThumbnailBorderColor",e.k,"thumbnailBorderColor");this.c("rollOverThumbnailShadow",e.k,"thumbnailShadow");this.c("rollOverThumbnailShadowHorizontalLength",e.k,"thumbnailShadowHorizontalLength");this.c("rollOverThumbnailShadowVerticalLength",e.k,"thumbnailShadowVerticalLength");
this.c("rollOverThumbnailShadowBlurRadius",e.k,"thumbnailShadowBlurRadius");this.c("rollOverThumbnailShadowSpread",e.k,"thumbnailShadowSpread");this.c("rollOverThumbnailShadowColor",e.k,"thumbnailShadowColor");this.c("rollOverThumbnailShadowOpacity",e.k,"thumbnailShadowOpacity");this.c("selectedBackgroundOpacity",e.v,"backgroundOpacity");this.c("selectedBackgroundColor",e.v,"backgroundColor");this.c("selectedBackgroundColorRatios",e.v,"backgroundColorRatios");this.c("selectedBackgroundColorDirection",
e.v,"backgroundColorDirection");this.c("selectedBorderRadius",e.v,"borderRadius");this.c("selectedBorderTopRadius",e.v,"borderTopRadius");this.c("selectedBorderBottomRadius",e.v,"borderBottomRadius");this.c("selectedBorderLeftRadius",e.v,"borderLeftRadius");this.c("selectedBorderRightRadius",e.v,"borderRightRadius");this.c("selectedBorderTopLeftRadius",e.v,"borderTopLeftRadius");this.c("selectedBorderTopRightRadius",e.v,"borderTopRightRadius");this.c("selectedBorderBottomLeftRadius",e.v,"borderBottomLeftRadius");
this.c("selectedBorderBottomRightRadius",e.v,"borderBottomRightRadius");this.c("selectedBorderSize",e.v,"borderSize");this.c("selectedBorderLeftSize",e.v,"borderLeftSize");this.c("selectedBorderTopSize",e.v,"borderTopSize");this.c("selectedBorderRightSize",e.v,"borderRightSize");this.c("selectedBorderBottomSize",e.v,"borderBottomSize");this.c("selectedBorderColor",e.v,"borderColor");this.c("selectedBorderLeftColor",e.v,"borderLeftColor");this.c("selectedBorderTopColor",e.v,"borderTopColor");this.c("selectedBorderRightColor",
e.v,"borderRightColor");this.c("selectedBorderBottomColor",e.v,"borderBottomColor");this.c("selectedLabelFontColor",e.v,"labelFontColor");this.c("selectedLabelFontSize",e.v,"labelFontSize");this.c("selectedLabelFontStyle",e.v,"labelFontStyle");this.c("selectedLabelFontWeight",e.v,"labelFontWeight");this.c("selectedLabelTextDecoration",e.v,"labelTextDecoration");this.c("selectedLabelTextShadowColor",e.v,"labelTextShadowColor");this.c("selectedLabelTextShadowHorizontalLength",e.v,"labelTextShadowHorizontalLength");
this.c("selectedLabelTextShadowVerticalLength",e.v,"labelTextShadowVerticalLength");this.c("selectedLabelTextShadowBlurRadius",e.v,"labelTextShadowBlurRadius");this.c("selectedLabelTextShadowOpacity",e.v,"labelTextShadowOpacity");this.c("selectedOpacity",e.v,"opacity");this.c("selectedPaddingLeft",e.v,"paddingLeft");this.c("selectedPaddingTop",e.v,"paddingTop");this.c("selectedPaddingRight",e.v,"paddingRight");this.c("selectedPaddingBottom",e.v,"paddingBottom");this.c("selectedShadow",e.v,"shadow");
this.c("selectedThumbnailOpacity",e.v,"thumbnailOpacity");this.c("selectedThumbnailBorderSize",e.v,"thumbnailBorderSize");this.c("selectedThumbnailBorderColor",e.v,"thumbnailBorderColor");this.c("selectedThumbnailShadow",e.v,"thumbnailShadow");this.c("selectedThumbnailShadowHorizontalLength",e.v,"thumbnailShadowHorizontalLength");this.c("selectedThumbnailShadowVerticalLength",e.v,"thumbnailShadowVerticalLength");this.c("selectedThumbnailShadowBlurRadius",e.v,"thumbnailShadowBlurRadius");this.c("selectedThumbnailShadowSpread",
e.v,"thumbnailShadowSpread");this.c("selectedThumbnailShadowColor",e.v,"thumbnailShadowColor");this.c("selectedThumbnailShadowOpacity",e.v,"thumbnailShadowOpacity")};m.prototype.pz=function(a){this.Mx(a)};m.prototype.Sa=function(){l.prototype.Sa.call(this);if(!this.gc){this.gc=new p;this.Ca(this.gc);this.gc.set("horizontalAlign",d.md);this.gc.set("verticalAlign",d.Ed);this.gc.bind(b.ib,this.bN,this)}if(!this.wa){this.wa=new o;this.Ca(this.wa)}};m.prototype.FI=function(a){if(r(a).isString())return a;
if(a&&a.PP)return a.PP};m.prototype.EI=function(a){if(a&&a.label)return a.label};m.prototype.X=function(){if(this.h("item")||this.h("tooltipFunction")){var a=this.f("item"),a=this.f("tooltipFunction")(a);this.set("toolTip",a)}if(this.h("item")||this.h("thumbnailUrlFunction")){a=this.f("item");(a=this.f("thumbnailUrlFunction")(a))?this.gc.get("url")!=a&&this.gc.T({url:a,visible:q,opacity:0.5}):this.gc.T({url:n,visible:B});this.j("thumbnailUrlFunction")}if(this.h("item")||this.h("labelFunction")){a=
this.f("item");a=this.f("labelFunction")(a);this.wa.T({text:a,visible:a?q:B});this.j("labelFunction")}this.j("item");if(this.h("labelPosition")||this.h("listLayout")||this.h("thumbnailWidth")||this.h("thumbnailHeight")){var b=this,a=function(a,c){var d=b.f(a);return d!==n?d:c};switch(this.f("labelPosition")){case g.vc:case g.Nd:this.set("layout",j.ne);this.wa.set("width","100%");this.gc.T({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",h.Yf)});break;
default:this.set("layout",j.qe);this.wa.set("width","100%");this.gc.T({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth","100%"),scaleMode:a("thumbnailScaleMode",h.Yf)})}switch(this.f("labelPosition")){case g.vc:case g.lc:this.uh(this.wa,0);break;default:this.uh(this.wa,1)}this.j("labelPosition")}this.eb(m.WG,m.BR,[this],q,q);this.eb(m.YG,m.ER,[this.gc],q,q);this.eb(m.XG,m.DR,[this.wa],q,q);l.prototype.X.call(this)};m.prototype.zq=function(a){l.prototype.zq.call(this,a)};m.prototype.bN=
function(){this.gc.set("opacity",1)};m.BR={labelGap:"gap"};m.WG=r(m.BR).keys();m.DR={labelFontFamily:"fontFamily",labelFontColor:"fontColor",labelFontSize:"fontSize",labelFontStyle:"fontStyle",labelFontWeight:"fontWeight",labelHorizontalAlign:"horizontalAlign",labelMaxWidth:"maxWidth",labelTextDecoration:"textDecoration",labelTextShadowColor:"textShadowColor",labelTextShadowHorizontalLength:"textShadowHorizontalLength",labelTextShadowVerticalLength:"textShadowVerticalLength",labelTextShadowBlurRadius:"textShadowBlurRadius",
labelTextShadowOpacity:"textShadowOpacity"};m.XG=r(m.DR).keys();m.ER={thumbnailMaxWidth:"maxWidth",thumbnailMaxHeight:"maxHeight",thumbnailBorderRadius:"borderRadius",thumbnailOpacity:"opacity",thumbnailBorderSize:"borderSize",thumbnailBorderColor:"borderColor",thumbnailShadow:"shadow",thumbnailShadowHorizontalLength:"shadowHorizontalLength",thumbnailShadowVerticalLength:"shadowVerticalLength",thumbnailShadowBlurRadius:"shadowBlurRadius",thumbnailShadowSpread:"shadowSpread",thumbnailShadowColor:"shadowColor",
thumbnailShadowOpacity:"shadowOpacity"};m.YG=r(m.ER).keys();return m});
define("bl","gD,bB,hy,iu,bM,c,eq,W,ig,eD,cu".split(","),function(a,b,d,c,f,j,g,h,e,l,p){var o=a.extend(e,function(){e.call(this);this.set("contentOpaque",q)});o.prototype.ma=function(){e.prototype.ma.call(this);this.a("layout",j.Em);this.a("selectedIndex",-1);this.a("items",[]);this.a("overflow",g.Wo);this.a("itemHorizontalAlign",d.md);this.a("itemLabelFontFamily");this.a("itemLabelPosition",h.Oc);this.a("itemLabelFunction");this.a("itemLabelMaxWidth");this.a("itemLabelGap");this.a("itemLabelHorizontalAlign",
d.md);this.a("itemThumbnailBorderRadius");this.a("itemThumbnailScaleMode");this.a("itemThumbnailWidth");this.a("itemThumbnailHeight");this.a("itemThumbnailMaxWidth");this.a("itemThumbnailMaxHeight");this.a("itemThumbnailUrlFunction");this.a("itemTooltipFunction");this.a("itemVerticalAlign",d.Ed);this.a("itemBackgroundOpacity");this.a("itemBackgroundColor");this.a("itemBackgroundColorRatios");this.a("itemBackgroundColorDirection");this.a("itemBorderRadius");this.a("itemBorderTopRadius");this.a("itemBorderBottomRadius");
this.a("itemBorderLeftRadius");this.a("itemBorderRightRadius");this.a("itemBorderTopLeftRadius");this.a("itemBorderTopRightRadius");this.a("itemBorderBottomLeftRadius");this.a("itemBorderBottomRightRadius");this.a("itemBorderSize");this.a("itemBorderLeftSize");this.a("itemBorderTopSize");this.a("itemBorderRightSize");this.a("itemBorderBottomSize");this.a("itemBorderColor");this.a("itemBorderLeftColor");this.a("itemBorderTopColor");this.a("itemBorderRightColor");this.a("itemBorderBottomColor");this.a("itemLabelFontColor");
this.a("itemLabelFontSize");this.a("itemLabelFontStyle");this.a("itemLabelFontWeight");this.a("itemLabelMaxWidth");this.a("itemLabelTextDecoration");this.a("itemLabelTextShadowColor");this.a("itemLabelTextShadowHorizontalLength");this.a("itemLabelTextShadowVerticalLength");this.a("itemLabelTextShadowBlurRadius");this.a("itemLabelTextShadowOpacity");this.a("itemOpacity");this.a("itemPaddingLeft");this.a("itemPaddingTop");this.a("itemPaddingRight");this.a("itemPaddingBottom");this.a("itemShadow");this.a("itemThumbnailOpacity");
this.a("itemThumbnailBorderSize");this.a("itemThumbnailBorderColor");this.a("itemThumbnailShadow");this.a("itemThumbnailShadowHorizontalLength");this.a("itemThumbnailShadowVerticalLength");this.a("itemThumbnailShadowBlurRadius");this.a("itemThumbnailShadowSpread");this.a("itemThumbnailShadowColor");this.a("itemThumbnailShadowOpacity");this.a("rollOverItemBackgroundOpacity");this.a("rollOverItemBackgroundColor");this.a("rollOverItemBackgroundColorRatios");this.a("rollOverItemBackgroundColorDirection");
this.a("rollOverItemBorderRadius");this.a("rollOverItemBorderTopRadius");this.a("rollOverItemBorderBottomRadius");this.a("rollOverItemBorderLeftRadius");this.a("rollOverItemBorderRightRadius");this.a("rollOverItemBorderTopLeftRadius");this.a("rollOverItemBorderTopRightRadius");this.a("rollOverItemBorderBottomLeftRadius");this.a("rollOverItemBorderBottomRightRadius");this.a("rollOverItemBorderSize");this.a("rollOverItemBorderLeftSize");this.a("rollOverItemBorderTopSize");this.a("rollOverItemBorderRightSize");
this.a("rollOverItemBorderBottomSize");this.a("rollOverItemBorderColor");this.a("rollOverItemBorderLeftColor");this.a("rollOverItemBorderTopColor");this.a("rollOverItemBorderRightColor");this.a("rollOverItemBorderBottomColor");this.a("rollOverItemLabelFontSize");this.a("rollOverItemLabelFontStyle");this.a("rollOverItemLabelFontWeight");this.a("rollOverItemLabelTextDecoration");this.a("rollOverItemLabelTextShadowColor");this.a("rollOverItemLabelTextShadowHorizontalLength");this.a("rollOverItemLabelTextShadowVerticalLength");
this.a("rollOverItemLabelTextShadowBlurRadius");this.a("rollOverItemLabelTextShadowOpacity");this.a("rollOverItemOpacity");this.a("rollOverItemPaddingLeft");this.a("rollOverItemPaddingTop");this.a("rollOverItemPaddingRight");this.a("rollOverItemPaddingBottom");this.a("rollOverItemShadow");this.a("rollOverItemThumbnailOpacity");this.a("rollOverItemThumbnailBorderSize");this.a("rollOverItemThumbnailBorderColor");this.a("rollOverItemThumbnailShadow");this.a("rollOverItemThumbnailShadowHorizontalLength");
this.a("rollOverItemThumbnailShadowVerticalLength");this.a("rollOverItemThumbnailShadowBlurRadius");this.a("rollOverItemThumbnailShadowSpread");this.a("rollOverItemThumbnailShadowColor");this.a("rollOverItemThumbnailShadowOpacity");this.a("selectedItemBackgroundOpacity");this.a("selectedItemBackgroundColor");this.a("selectedItemBackgroundColorRatios");this.a("selectedItemBackgroundColorDirection");this.a("selectedItemBorderRadius");this.a("selectedItemBorderTopRadius");this.a("selectedItemBorderBottomRadius");
this.a("selectedItemBorderLeftRadius");this.a("selectedItemBorderRightRadius");this.a("selectedItemBorderTopLeftRadius");this.a("selectedItemBorderTopRightRadius");this.a("selectedItemBorderBottomLeftRadius");this.a("selectedItemBorderBottomRightRadius");this.a("selectedItemBorderSize");this.a("selectedItemBorderLeftSize");this.a("selectedItemBorderTopSize");this.a("selectedItemBorderRightSize");this.a("selectedItemBorderBottomSize");this.a("selectedItemBorderColor");this.a("selectedItemBorderLeftColor");
this.a("selectedItemBorderTopColor");this.a("selectedItemBorderRightColor");this.a("selectedItemBorderBottomColor");this.a("selectedItemLabelFontSize");this.a("selectedItemLabelFontStyle");this.a("selectedItemLabelFontWeight");this.a("selectedItemLabelTextDecoration");this.a("selectedItemLabelTextShadowColor");this.a("selectedItemLabelTextShadowHorizontalLength");this.a("selectedItemLabelTextShadowVerticalLength");this.a("selectedItemLabelTextShadowBlurRadius");this.a("selectedItemLabelTextShadowOpacity");
this.a("selectedItemOpacity");this.a("selectedItemPaddingLeft");this.a("selectedItemPaddingTop");this.a("selectedItemPaddingRight");this.a("selectedItemPaddingBottom");this.a("selectedItemShadow");this.a("selectedItemThumbnailOpacity");this.a("selectedItemThumbnailBorderSize");this.a("selectedItemThumbnailBorderColor");this.a("selectedItemThumbnailShadow");this.a("selectedItemThumbnailShadowHorizontalLength");this.a("selectedItemThumbnailShadowVerticalLength");this.a("selectedItemThumbnailShadowBlurRadius");
this.a("selectedItemThumbnailShadowSpread");this.a("selectedItemThumbnailShadowColor");this.a("selectedItemThumbnailShadowOpacity")};o.prototype.yw=function(a){this.yg=q;this.set("selectedIndex",this.yJ(a.source))};o.prototype.yJ=function(a){for(var b=this.sb(),c=0;c<b.length;c++)if(b[c]==a)return c;return-1};o.prototype.X=function(){this.h("layout")&&this.f("layout")!=j.Em&&this.set("layout",j.Em);var a=B;if(this.h("items")){var a=q,d=this.f("items")||[],f=this.sb();if(f.length<d.length){for(var h=
f.length;h<d.length;h++){f=new l;f.bind(c.ga,this.yw,this);this.eb(o.ev,o.cp,[f],B,B);this.eb(o.fv,o.dp,[f],B,B);this.Ca(f)}f=this.sb()}if(f.length>d.length){for(h=d.length;h<f.length;h++){var g=f[h];g.unbind(c.ga,this.yw,this);this.removeChild(g)}f=this.sb()}for(h=0;h<d.length;h++)f[h].set("item",d[h]);this.j("items")}if(this.h("selectedIndex")||a){d=this.sb();a=Math.min(d.length-1,Math.max(-1,this.f("selectedIndex")));this.set("selectedIndex",a);for(h=0;h<d.length;h++)d[h].pz(h==a);this.j("selectedIndex");
if(this.yg){this.yg=B;this.trigger(new b(c.W))}}this.eb(o.ev,o.cp,this.sb(),q,B);this.eb(o.fv,o.dp,this.sb(),q,q);e.prototype.X.call(this)};o.cp={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};o.dp={itemHorizontalAlign:"horizontalAlign",itemLabelFunction:"labelFunction",itemLabelFontFamily:"labelFontFamily",itemLabelGap:"labelGap",
itemLabelHorizontalAlign:"labelHorizontalAlign",itemLabelMaxWidth:"labelMaxWidth",itemLabelPosition:"labelPosition",itemThumbnailBorderRadius:"thumbnailBorderRadius",itemThumbnailScaleMode:"thumbnailScaleMode",itemThumbnailHeight:"thumbnailHeight",itemThumbnailWidth:"thumbnailWidth",itemThumbnailMaxHeight:"thumbnailMaxHeight",itemThumbnailMaxWidth:"thumbnailMaxWidth",itemThumbnailUrlFunction:"thumbnailUrlFunction",itemTooltipFunction:"tooltipFunction",itemVerticalAlign:"verticalAlign",itemBackgroundOpacity:"backgroundOpacity",
itemBackgroundColor:"backgroundColor",itemBackgroundColorRatios:"backgroundColorRatios",itemBackgroundColorDirection:"backgroundColorDirection",itemBorderRadius:"borderRadius",itemBorderTopRadius:"borderTopRadius",itemBorderBottomRadius:"borderBottomRadius",itemBorderLeftRadius:"borderLeftRadius",itemBorderRightRadius:"borderRightRadius",itemBorderTopLeftRadius:"borderTopLeftRadius",itemBorderTopRightRadius:"borderTopRightRadius",itemBorderBottomLeftRadius:"borderBottomLeftRadius",itemBorderBottomRightRadius:"borderBottomRightRadius",
itemBorderSize:"borderSize",itemBorderLeftSize:"borderLeftSize",itemBorderTopSize:"borderTopSize",itemBorderRightSize:"borderRightSize",itemBorderBottomSize:"borderBottomSize",itemBorderColor:"borderColor",itemBorderLeftColor:"borderLeftColor",itemBorderTopColor:"borderTopColor",itemBorderRightColor:"borderRightColor",itemBorderBottomColor:"borderBottomColor",itemLabelFontColor:"labelFontColor",itemLabelFontSize:"labelFontSize",itemLabelFontStyle:"labelFontStyle",itemLabelFontWeight:"labelFontWeight",
itemLabelTextDecoration:"labelTextDecoration",itemLabelTextShadowColor:"labelTextShadowColor",itemLabelTextShadowHorizontalLength:"labelTextShadowHorizontalLength",itemLabelTextShadowVerticalLength:"labelTextShadowVerticalLength",itemLabelTextShadowBlurRadius:"labelTextShadowBlurRadius",itemLabelTextShadowOpacity:"labelTextShadowOpacity",itemOpacity:"opacity",itemPaddingLeft:"paddingLeft",itemPaddingTop:"paddingTop",itemPaddingRight:"paddingRight",itemPaddingBottom:"paddingBottom",itemShadow:"shadow",
itemThumbnailOpacity:"thumbnailOpacity",itemThumbnailBorderSize:"thumbnailBorderSize",itemThumbnailBorderColor:"thumbnailBorderColor",itemThumbnailShadow:"thumbnailShadow",itemThumbnailShadowHorizontalLength:"thumbnailShadowHorizontalLength",itemThumbnailShadowVerticalLength:"thumbnailShadowVerticalLength",itemThumbnailShadowBlurRadius:"thumbnailShadowBlurRadius",itemThumbnailShadowSpread:"thumbnailShadowSpread",itemThumbnailShadowColor:"thumbnailShadowColor",itemThumbnailShadowOpacity:"thumbnailShadowOpacity",
rollOverItemBackgroundOpacity:"rollOverBackgroundOpacity",rollOverItemBackgroundColor:"rollOverBackgroundColor",rollOverItemBackgroundColorRatios:"rollOverBackgroundColorRatios",rollOverItemBackgroundColorDirection:"rollOverBackgroundColorDirection",rollOverItemBorderRadius:"rollOverBorderRadius",rollOverItemBorderTopRadius:"rollOverBorderTopRadius",rollOverItemBorderBottomRadius:"rollOverBorderBottomRadius",rollOverItemBorderLeftRadius:"rollOverBorderLeftRadius",rollOverItemBorderRightRadius:"rollOverBorderRightRadius",
rollOverItemBorderTopLeftRadius:"rollOverBorderTopLeftRadius",rollOverItemBorderTopRightRadius:"rollOverBorderTopRightRadius",rollOverItemBorderBottomLeftRadius:"rollOverBorderBottomLeftRadius",rollOverItemBorderBottomRightRadius:"rollOverBorderBottomRightRadius",rollOverItemBorderSize:"rollOverBorderSize",rollOverItemBorderLeftSize:"rollOverBorderLeftSize",rollOverItemBorderTopSize:"rollOverBorderTopSize",rollOverItemBorderRightSize:"rollOverBorderRightSize",rollOverItemBorderBottomSize:"rollOverBorderBottomSize",
rollOverItemBorderColor:"rollOverBorderColor",rollOverItemBorderLeftColor:"rollOverBorderLeftColor",rollOverItemBorderTopColor:"rollOverBorderTopColor",rollOverItemBorderRightColor:"rollOverBorderRightColor",rollOverItemBorderBottomColor:"rollOverBorderBottomColor",rollOverItemLabelFontColor:"rollOverLabelFontColor",rollOverItemLabelFontSize:"rollOverLabelFontSize",rollOverItemLabelFontStyle:"rollOverLabelFontStyle",rollOverItemLabelFontWeight:"rollOverLabelFontWeight",rollOverItemLabelTextDecoration:"rollOverLabelTextDecoration",
rollOverItemLabelTextShadowColor:"rollOverLabelTextShadowColor",rollOverItemLabelTextShadowHorizontalLength:"rollOverLabelTextShadowHorizontalLength",rollOverItemLabelTextShadowVerticalLength:"rollOverLabelTextShadowVerticalLength",rollOverItemLabelTextShadowBlurRadius:"rollOverLabelTextShadowBlurRadius",rollOverItemLabelTextShadowOpacity:"rollOverLabelTextShadowOpacity",rollOverItemOpacity:"rollOverOpacity",rollOverItemPaddingLeft:"rollOverPaddingLeft",rollOverItemPaddingTop:"rollOverPaddingTop",
rollOverItemPaddingRight:"rollOverPaddingRight",rollOverItemPaddingBottom:"rollOverPaddingBottom",rollOverItemShadow:"rollOverShadow",rollOverItemThumbnailOpacity:"rollOverThumbnailOpacity",rollOverItemThumbnailBorderSize:"rollOverThumbnailBorderSize",rollOverItemThumbnailBorderColor:"rollOverThumbnailBorderColor",rollOverItemThumbnailShadow:"rollOverThumbnailShadow",rollOverItemThumbnailShadowHorizontalLength:"rollOverThumbnailShadowHorizontalLength",rollOverItemThumbnailShadowVerticalLength:"rollOverThumbnailShadowVerticalLength",
rollOverItemThumbnailShadowBlurRadius:"rollOverThumbnailShadowBlurRadius",rollOverItemThumbnailShadowSpread:"rollOverThumbnailShadowSpread",rollOverItemThumbnailShadowColor:"rollOverThumbnailShadowColor",rollOverItemThumbnailShadowOpacity:"rollOverThumbnailShadowOpacity",selectedItemBackgroundOpacity:"selectedBackgroundOpacity",selectedItemBackgroundColor:"selectedBackgroundColor",selectedItemBackgroundColorRatios:"selectedBackgroundColorRatios",selectedItemBackgroundColorDirection:"selectedBackgroundColorDirection",
selectedItemBorderRadius:"selectedBorderRadius",selectedItemBorderTopRadius:"selectedBorderTopRadius",selectedItemBorderBottomRadius:"selectedBorderBottomRadius",selectedItemBorderLeftRadius:"selectedBorderLeftRadius",selectedItemBorderRightRadius:"selectedBorderRightRadius",selectedItemBorderTopLeftRadius:"selectedBorderTopLeftRadius",selectedItemBorderTopRightRadius:"selectedBorderTopRightRadius",selectedItemBorderBottomLeftRadius:"selectedBorderBottomLeftRadius",selectedItemBorderBottomRightRadius:"selectedBorderBottomRightRadius",
selectedItemBorderSize:"selectedBorderSize",selectedItemBorderLeftSize:"selectedBorderLeftSize",selectedItemBorderTopSize:"selectedBorderTopSize",selectedItemBorderRightSize:"selectedBorderRightSize",selectedItemBorderBottomSize:"selectedBorderBottomSize",selectedItemBorderColor:"selectedBorderColor",selectedItemBorderLeftColor:"selectedBorderLeftColor",selectedItemBorderTopColor:"selectedBorderTopColor",selectedItemBorderRightColor:"selectedBorderRightColor",selectedItemBorderBottomColor:"selectedBorderBottomColor",
selectedItemLabelFontColor:"selectedLabelFontColor",selectedItemLabelFontSize:"selectedLabelFontSize",selectedItemLabelFontStyle:"selectedLabelFontStyle",selectedItemLabelFontWeight:"selectedLabelFontWeight",selectedItemLabelTextDecoration:"selectedLabelTextDecoration",selectedItemLabelTextShadowColor:"selectedLabelTextShadowColor",selectedItemLabelTextShadowHorizontalLength:"selectedLabelTextShadowHorizontalLength",selectedItemLabelTextShadowVerticalLength:"selectedLabelTextShadowVerticalLength",
selectedItemLabelTextShadowBlurRadius:"selectedLabelTextShadowBlurRadius",selectedItemLabelTextShadowOpacity:"selectedLabelTextShadowOpacity",selectedItemOpacity:"selectedOpacity",selectedItemPaddingLeft:"selectedPaddingLeft",selectedItemPaddingTop:"selectedPaddingTop",selectedItemPaddingRight:"selectedPaddingRight",selectedItemPaddingBottom:"selectedPaddingBottom",selectedItemShadow:"selectedShadow",selectedItemThumbnailOpacity:"selectedThumbnailOpacity",selectedItemThumbnailBorderSize:"selectedThumbnailBorderSize",
selectedItemThumbnailBorderColor:"selectedThumbnailBorderColor",selectedItemThumbnailShadow:"selectedThumbnailShadow",selectedItemThumbnailShadowHorizontalLength:"selectedThumbnailShadowHorizontalLength",selectedItemThumbnailShadowVerticalLength:"selectedThumbnailShadowVerticalLength",selectedItemThumbnailShadowBlurRadius:"selectedThumbnailShadowBlurRadius",selectedItemThumbnailShadowSpread:"selectedThumbnailShadowSpread",selectedItemThumbnailShadowColor:"selectedThumbnailShadowColor",selectedItemThumbnailShadowOpacity:"selectedThumbnailShadowOpacity",
toolTipBackgroundColor:"toolTipBackgroundColor",toolTipBackgroundOpacity:"toolTipBackgroundOpacity",toolTipBorderRadius:"toolTipBorderRadius",toolTipBorderColor:"toolTipBorderColor",toolTipBorderSize:"toolTipBorderSize",toolTipDisplayTime:"toolTipDisplayTime",toolTipFontFamily:"toolTipFontFamily",toolTipFontSize:"toolTipFontSize",toolTipFontColor:"toolTipFontColor",toolTipFontWeight:"toolTipFontWeight",toolTipFontStyle:"toolTipFontStyle",toolTipPaddingBottom:"toolTipPaddingBottom",toolTipPaddingLeft:"toolTipPaddingLeft",
toolTipPaddingTop:"toolTipPaddingTop",toolTipPaddingRight:"toolTipPaddingRight",toolTipShadowBlurRadius:"toolTipShadowBlurRadius",toolTipShadowColor:"toolTipShadowColor",toolTipShadowHorizontalLength:"toolTipShadowHorizontalLength",toolTipShadowOpacity:"toolTipShadowOpacity",toolTipShadowSpread:"toolTipShadowSpread",toolTipShadowVerticalLength:"toolTipShadowVerticalLength",toolTipOpacity:"toolTipOpacity",toolTipTextShadowBlurRadius:"toolTipTextShadowBlurRadius",toolTipTextShadowColor:"toolTipTextShadowColor",
toolTipTextShadowHorizontalLength:"toolTipTextShadowHorizontalLength",toolTipTextShadowOpacity:"toolTipTextShadowOpacity",toolTipTextShadowVerticalLength:"toolTipTextShadowVerticalLength"};o.ev=p(o.cp).keys();o.fv=p(o.dp).keys();return o});
define("fT","gD,iu,bl,cO,fG,ct,bj,cu".split(","),function(a,b,d,c,f,j,g){a=a.extend(d,function(){d.call(this);this.zb=s;this.set("itemMode","normal");this.Wi=B;this.Dv=new f(this,"buttonScrollDown",j.kc);this.Dv.bind(b.ga,this.U1,this);this.Ev=new f(this,"buttonScrollLeft",j.kc);this.Ev.bind(b.ga,this.scrollLeft,this);this.Fv=new f(this,"buttonScrollRight",j.kc);this.Fv.bind(b.ga,this.V1,this);this.Gv=new f(this,"buttonScrollUp",j.kc);this.Gv.bind(b.ga,this.W1,this);this.bind(b.W,this.yaa,this)});
c.C("ThumbnailGrid",a).D("UIComponent").K({buttonScrollDown:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonScrollUp:"or[array[or[Button, IconButton]], or[Button, IconButton]]",contentOpaque:"bool",gap:"number",hideScrollButtons:"bool",horizontalAlign:"enum[center, left, right]",itemMode:"enum[normal, thumbnail-only, label-only]",itemBackgroundColor:"or[array[color], color]",itemBackgroundColorDirection:"enum[horizontal, vertical]",itemBackgroundColorRatios:"array[number]",itemBackgroundOpacity:"number",
itemBorderBottomColor:"color",itemBorderBottomLeftRadius:"number",itemBorderBottomRadius:"number",itemBorderBottomRightRadius:"number",itemBorderBottomSize:"number",itemBorderColor:"color",itemBorderLeftColor:"color",itemBorderLeftRadius:"number",itemBorderLeftSize:"number",itemBorderRadius:"number",itemBorderRightColor:"color",itemBorderRightRadius:"number",itemBorderRightSize:"number",itemBorderSize:"number",itemBorderTopColor:"color",itemBorderTopLeftRadius:"number",itemBorderTopRadius:"number",
itemBorderTopRightRadius:"number",itemBorderTopSize:"number",itemHeight:"or[number, percent]",itemHorizontalAlign:"enum[center, left, right]",itemLabelFontColor:"color",itemLabelFontFamily:"string",itemLabelFontSize:"or[number, size]",itemLabelFontStyle:"enum[italic, normal]",itemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",itemLabelGap:"number",itemLabelHorizontalAlign:"enum[center, left, right]",itemLabelMaxWidth:"number",itemLabelPosition:"enum[left, top, right, bottom]",
itemLabelTextDecoration:"enum[underline, overline, line-through, none]",itemLabelTextShadowBlurRadius:"number",itemLabelTextShadowColor:"color",itemLabelTextShadowHorizontalLength:"number",itemLabelTextShadowOpacity:"number",itemLabelTextShadowVerticalLength:"number",itemMaxHeight:"number",itemMaxWidth:"number",itemMinHeight:"number",itemMinWidth:"number",itemOpacity:"number",itemPaddingBottom:"number",itemPaddingLeft:"number",itemPaddingTop:"number",itemPaddingRight:"number",itemShadow:"bool",itemThumbnailBorderColor:"color",
itemThumbnailBorderRadius:"number",itemThumbnailBorderSize:"number",itemThumbnailScaleMode:"enum[none, fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",itemThumbnailHeight:"number",itemThumbnailWidth:"number",itemThumbnailMaxHeight:"number",itemThumbnailMaxWidth:"number",itemThumbnailOpacity:"number",itemThumbnailShadow:"bool",itemThumbnailShadowBlurRadius:"number",itemThumbnailShadowColor:"color",itemThumbnailShadowHorizontalLength:"number",itemThumbnailShadowOpacity:"number",itemThumbnailShadowSpread:"number",
itemThumbnailShadowVerticalLength:"number",itemWidth:"or[number, percent]",itemVerticalAlign:"enum[bottom, middle, top]",overflow:"enum[scroll, hidden, visible]",playList:"PlayList",rollOverItemBackgroundColor:"or[array[color], color]",rollOverItemBackgroundColorDirection:"enum[horizontal, vertical]",rollOverItemBackgroundColorRatios:"array[number]",rollOverItemBackgroundOpacity:"number",rollOverItemBorderBottomColor:"color",rollOverItemBorderBottomLeftRadius:"number",rollOverItemBorderBottomRadius:"number",
rollOverItemBorderBottomRightRadius:"number",rollOverItemBorderBottomSize:"number",rollOverItemBorderColor:"color",rollOverItemBorderLeftColor:"color",rollOverItemBorderLeftRadius:"number",rollOverItemBorderLeftSize:"number",rollOverItemBorderRadius:"number",rollOverItemBorderRightColor:"color",rollOverItemBorderRightRadius:"number",rollOverItemBorderRightSize:"number",rollOverItemBorderSize:"number",rollOverItemBorderTopColor:"color",rollOverItemBorderTopLeftRadius:"number",rollOverItemBorderTopRadius:"number",
rollOverItemBorderTopRightRadius:"number",rollOverItemBorderTopSize:"number",rollOverItemLabelFontColor:"color",rollOverItemLabelFontSize:"or[number, size]",rollOverItemLabelFontStyle:"enum[italic, normal]",rollOverItemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",rollOverItemLabelTextDecoration:"enum[underline, overline, line-through, none]",rollOverItemLabelTextShadowBlurRadius:"number",rollOverItemLabelTextShadowColor:"color",rollOverItemLabelTextShadowHorizontalLength:"number",
rollOverItemLabelTextShadowOpacity:"number",rollOverItemLabelTextShadowVerticalLength:"number",rollOverItemOpacity:"number",rollOverItemPaddingBottom:"number",rollOverItemPaddingLeft:"number",rollOverItemPaddingRight:"number",rollOverItemPaddingTop:"number",rollOverItemShadow:"bool",rollOverItemThumbnailBorderColor:"color",rollOverItemThumbnailBorderSize:"number",rollOverItemThumbnailOpacity:"number",rollOverItemThumbnailShadow:"bool",rollOverItemThumbnailShadowBlurRadius:"number",rollOverItemThumbnailShadowColor:"color",
rollOverItemThumbnailShadowHorizontalLength:"number",rollOverItemThumbnailShadowOpacity:"number",rollOverItemThumbnailShadowSpread:"number",rollOverItemThumbnailShadowVerticalLength:"number",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",selectedItemBackgroundColor:"or[array[color], color]",selectedItemBackgroundColorDirection:"enum[horizontal, vertical]",selectedItemBackgroundColorRatios:"array[number]",
selectedItemBackgroundOpacity:"number",selectedItemBorderBottomColor:"color",selectedItemBorderBottomLeftRadius:"number",selectedItemBorderBottomRadius:"number",selectedItemBorderBottomRightRadius:"number",selectedItemBorderBottomSize:"number",selectedItemBorderColor:"color",selectedItemBorderLeftColor:"color",selectedItemBorderLeftRadius:"number",selectedItemBorderLeftSize:"number",selectedItemBorderRadius:"number",selectedItemBorderRightRadius:"number",selectedItemBorderRightSize:"number",selectedItemBorderSize:"number",
selectedItemBorderTopLeftRadius:"number",selectedItemBorderTopRadius:"number",selectedItemBorderTopRightRadius:"number",selectedItemBorderTopSize:"number",selectedItemBorderTopColor:"color",selectedItemBorderRightColor:"color",selectedItemLabelFontColor:"color",selectedItemLabelFontSize:"or[number, size]",selectedItemLabelFontStyle:"enum[italic, normal]",selectedItemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",selectedItemLabelTextDecoration:"enum[underline, overline, line-through, none]",
selectedItemLabelTextShadowBlurRadius:"number",selectedItemLabelTextShadowColor:"color",selectedItemLabelTextShadowHorizontalLength:"number",selectedItemLabelTextShadowOpacity:"number",selectedItemLabelTextShadowVerticalLength:"number",selectedItemOpacity:"number",selectedItemPaddingBottom:"number",selectedItemPaddingLeft:"number",selectedItemPaddingTop:"number",selectedItemPaddingRight:"number",selectedItemShadow:"bool",selectedItemThumbnailBorderSize:"number",selectedItemThumbnailBorderColor:"color",
selectedItemThumbnailOpacity:"number",selectedItemThumbnailShadow:"bool",selectedItemThumbnailShadowBlurRadius:"number",selectedItemThumbnailShadowColor:"color",selectedItemThumbnailShadowHorizontalLength:"number",selectedItemThumbnailShadowOpacity:"number",selectedItemThumbnailShadowSpread:"number",selectedItemThumbnailShadowVerticalLength:"number",verticalAlign:"enum[bottom, middle, top]"}).xm(["itemLabelFontSize","rollOverItemLabelFontSize","selectedItemLabelFontSize"]);a.prototype.jf=function(){d.prototype.jf.call(this);
this.Mq()};a.prototype.fm=function(){d.prototype.fm.call(this);this.Mq()};a.prototype.Mq=function(){this.Dv.set("visible",!this.Wi||this.xA());this.Gv.set("visible",!this.Wi||this.yA());this.Ev.set("visible",!this.Wi||this.LH());this.Fv.set("visible",!this.Wi||this.MH())};a.prototype.set=function(a,b){if(a=="itemMode")switch(b){case "thumbnail-only":this.set("itemLabelFunction",this.Dl);this.set("itemThumbnailUrlFunction",this.Aw);this.set("itemTooltipFunction",this.Up);break;case "label-only":this.set("itemLabelFunction",
this.Up);this.set("itemThumbnailUrlFunction",this.Dl);this.set("itemTooltipFunction",this.Dl);break;default:this.set("itemLabelFunction",this.Up);this.set("itemThumbnailUrlFunction",this.Aw);this.set("itemTooltipFunction",this.Dl)}else if(a=="playList"){this.zb&&this.zb.unbind("change",this.Ql,this);if(this.zb=b){this.set("items",this.zb.get("items"));this.set("selectedIndex",this.zb.get("selectedIndex"));this.zb.bind("change",this.Ql,this,q)}else this.set("items",[])}else if(a=="hideScrollButtons"){this.Wi=
b;this.Mq()}else d.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){switch(a){case "playList":return this.zb;default:return d.prototype.get.call(this,a,b)}};a.prototype.Ql=function(){this.set("items",this.zb.get("items"));this.set("selectedIndex",this.zb.get("selectedIndex"))};a.prototype.yaa=function(){this.zb&&this.zb.set("selectedIndex",this.get("selectedIndex"))};a.prototype.Dl=E();a.prototype.Up=function(a){return a.get("label")||a.get("media").get("label")};a.prototype.Aw=function(a){var a=
a.get("media"),b=a.get("thumbnailUrl");a.get("flipImageHorizontally")&&(b=g.c0(b));return b};return a});
define("gi","gD,iu,hy,bM,J,c,W,hb,dN,ig,hl,fg,cu".split(","),function(a,b,d,c,f,j,g,h,e,l,p,o,r){var m=a.extend(l,function(){l.call(this);this.wa=this.gc=s;this.set("autoRolledOver",q);this.set("childrenInteractionEnabled",B);this.set("contentOpaque",q);this.set("creationPolicy",c.Mz);this.set("cursor",f.Uc)});m.prototype.ma=function(){l.prototype.ma.call(this);this.a("listLayout");this.a("overflow","hidden");this.a("item");this.a("thumbnailUrlFunction",this.FI);this.a("labelFunction",this.EI);this.a("labelFontFamily");
this.a("labelFontColor");this.a("labelFontSize");this.a("labelFontStyle");this.a("labelFontWeight");this.a("labelGap");this.a("labelHorizontalAlign");this.a("labelPosition");this.a("labelTextDecoration");this.a("labelTextShadowColor");this.a("labelTextShadowHorizontalLength");this.a("labelTextShadowVerticalLength");this.a("labelTextShadowBlurRadius");this.a("labelTextShadowOpacity");this.a("thumbnailBorderRadius");this.a("thumbnailOpacity");this.a("thumbnailBorderSize");this.a("thumbnailBorderColor");
this.a("thumbnailWidth");this.a("thumbnailHeight");this.a("thumbnailMaxWidth");this.a("thumbnailMaxHeight");this.a("thumbnailShadow");this.a("thumbnailShadowHorizontalLength");this.a("thumbnailShadowVerticalLength");this.a("thumbnailShadowBlurRadius");this.a("thumbnailShadowSpread");this.a("thumbnailShadowColor");this.a("thumbnailShadowOpacity");this.c("rollOverBackgroundOpacity",e.k,"backgroundOpacity");this.c("rollOverBackgroundColor",e.k,"backgroundColor");this.c("rollOverBackgroundColorRatios",
e.k,"backgroundColorRatios");this.c("rollOverBackgroundColorDirection",e.k,"backgroundColorDirection");this.c("rollOverBorderRadius",e.k,"borderRadius");this.c("rollOverBorderTopRadius",e.k,"borderTopRadius");this.c("rollOverBorderBottomRadius",e.k,"borderBottomRadius");this.c("rollOverBorderLeftRadius",e.k,"borderLeftRadius");this.c("rollOverBorderRightRadius",e.k,"borderRightRadius");this.c("rollOverBorderTopLeftRadius",e.k,"borderTopLeftRadius");this.c("rollOverBorderTopRightRadius",e.k,"borderTopRightRadius");
this.c("rollOverBorderBottomLeftRadius",e.k,"borderBottomLeftRadius");this.c("rollOverBorderBottomRightRadius",e.k,"borderBottomRightRadius");this.c("rollOverBorderSize",e.k,"borderSize");this.c("rollOverBorderLeftSize",e.k,"borderLeftSize");this.c("rollOverBorderTopSize",e.k,"borderTopSize");this.c("rollOverBorderRightSize",e.k,"borderRightSize");this.c("rollOverBorderBottomSize",e.k,"borderBottomSize");this.c("rollOverBorderColor",e.k,"borderColor");this.c("rollOverBorderLeftColor",e.k,"borderLeftColor");
this.c("rollOverBorderTopColor",e.k,"borderTopColor");this.c("rollOverBorderRightColor",e.k,"borderRightColor");this.c("rollOverBorderBottomColor",e.k,"borderBottomColor");this.c("rollOverLabelFontColor",e.k,"labelFontColor");this.c("rollOverLabelFontSize",e.k,"labelFontSize");this.c("rollOverLabelFontStyle",e.k,"labelFontStyle");this.c("rollOverLabelFontWeight",e.k,"labelFontWeight");this.c("rollOverLabelTextDecoration",e.k,"labelTextDecoration");this.c("rollOverLabelTextShadowColor",e.k,"labelTextShadowColor");
this.c("rollOverLabelTextShadowHorizontalLength",e.k,"labelTextShadowHorizontalLength");this.c("rollOverLabelTextShadowVerticalLength",e.k,"labelTextShadowVerticalLength");this.c("rollOverLabelTextShadowBlurRadius",e.k,"labelTextShadowBlurRadius");this.c("rollOverLabelTextShadowOpacity",e.k,"labelTextShadowOpacity");this.c("rollOverOpacity",e.k,"opacity");this.c("rollOverPaddingLeft",e.k,"paddingLeft");this.c("rollOverPaddingTop",e.k,"paddingTop");this.c("rollOverPaddingRight",e.k,"paddingRight");
this.c("rollOverPaddingBottom",e.k,"paddingBottom");this.c("rollOverShadow",e.k,"shadow");this.c("rollOverThumbnailOpacity",e.k,"thumbnailOpacity");this.c("rollOverThumbnailBorderSize",e.k,"thumbnailBorderSize");this.c("rollOverThumbnailBorderColor",e.k,"thumbnailBorderColor");this.c("rollOverThumbnailShadow",e.k,"thumbnailShadow");this.c("rollOverThumbnailShadowHorizontalLength",e.k,"thumbnailShadowHorizontalLength");this.c("rollOverThumbnailShadowVerticalLength",e.k,"thumbnailShadowVerticalLength");
this.c("rollOverThumbnailShadowBlurRadius",e.k,"thumbnailShadowBlurRadius");this.c("rollOverThumbnailShadowSpread",e.k,"thumbnailShadowSpread");this.c("rollOverThumbnailShadowColor",e.k,"thumbnailShadowColor");this.c("rollOverThumbnailShadowOpacity",e.k,"thumbnailShadowOpacity");this.c("selectedBackgroundOpacity",e.v,"backgroundOpacity");this.c("selectedBackgroundColor",e.v,"backgroundColor");this.c("selectedBackgroundColorRatios",e.v,"backgroundColorRatios");this.c("selectedBackgroundColorDirection",
e.v,"backgroundColorDirection");this.c("selectedBorderRadius",e.v,"borderRadius");this.c("selectedBorderTopRadius",e.v,"borderTopRadius");this.c("selectedBorderBottomRadius",e.v,"borderBottomRadius");this.c("selectedBorderLeftRadius",e.v,"borderLeftRadius");this.c("selectedBorderRightRadius",e.v,"borderRightRadius");this.c("selectedBorderTopLeftRadius",e.v,"borderTopLeftRadius");this.c("selectedBorderTopRightRadius",e.v,"borderTopRightRadius");this.c("selectedBorderBottomLeftRadius",e.v,"borderBottomLeftRadius");
this.c("selectedBorderBottomRightRadius",e.v,"borderBottomRightRadius");this.c("selectedBorderSize",e.v,"borderSize");this.c("selectedBorderLeftSize",e.v,"borderLeftSize");this.c("selectedBorderTopSize",e.v,"borderTopSize");this.c("selectedBorderRightSize",e.v,"borderRightSize");this.c("selectedBorderBottomSize",e.v,"borderBottomSize");this.c("selectedBorderColor",e.v,"borderColor");this.c("selectedBorderLeftColor",e.v,"borderLeftColor");this.c("selectedBorderTopColor",e.v,"borderTopColor");this.c("selectedBorderRightColor",
e.v,"borderRightColor");this.c("selectedBorderBottomColor",e.v,"borderBottomColor");this.c("selectedLabelFontColor",e.v,"labelFontColor");this.c("selectedLabelFontSize",e.v,"labelFontSize");this.c("selectedLabelFontStyle",e.v,"labelFontStyle");this.c("selectedLabelFontWeight",e.v,"labelFontWeight");this.c("selectedLabelTextDecoration",e.v,"labelTextDecoration");this.c("selectedLabelTextShadowColor",e.v,"labelTextShadowColor");this.c("selectedLabelTextShadowHorizontalLength",e.v,"labelTextShadowHorizontalLength");
this.c("selectedLabelTextShadowVerticalLength",e.v,"labelTextShadowVerticalLength");this.c("selectedLabelTextShadowBlurRadius",e.v,"labelTextShadowBlurRadius");this.c("selectedLabelTextShadowOpacity",e.v,"labelTextShadowOpacity");this.c("selectedOpacity",e.v,"opacity");this.c("selectedPaddingLeft",e.v,"paddingLeft");this.c("selectedPaddingTop",e.v,"paddingTop");this.c("selectedPaddingRight",e.v,"paddingRight");this.c("selectedPaddingBottom",e.v,"paddingBottom");this.c("selectedShadow",e.v,"shadow");
this.c("selectedThumbnailOpacity",e.v,"thumbnailOpacity");this.c("selectedThumbnailBorderSize",e.v,"thumbnailBorderSize");this.c("selectedThumbnailBorderColor",e.v,"thumbnailBorderColor");this.c("selectedThumbnailShadow",e.v,"thumbnailShadow");this.c("selectedThumbnailShadowHorizontalLength",e.v,"thumbnailShadowHorizontalLength");this.c("selectedThumbnailShadowVerticalLength",e.v,"thumbnailShadowVerticalLength");this.c("selectedThumbnailShadowBlurRadius",e.v,"thumbnailShadowBlurRadius");this.c("selectedThumbnailShadowSpread",
e.v,"thumbnailShadowSpread");this.c("selectedThumbnailShadowColor",e.v,"thumbnailShadowColor");this.c("selectedThumbnailShadowOpacity",e.v,"thumbnailShadowOpacity")};m.prototype.pz=function(a){this.Mx(a)};m.prototype.Sa=function(){l.prototype.Sa.call(this);if(!this.gc){this.gc=new p;this.Ca(this.gc);this.gc.set("horizontalAlign",d.md);this.gc.set("verticalAlign",d.Ed);this.gc.bind(b.ib,this.bN,this)}if(!this.wa){this.wa=new o;this.Ca(this.wa)}};m.prototype.FI=function(a){if(r(a).isString())return a;
if(a&&a.PP)return a.PP};m.prototype.EI=function(a){if(a&&a.label)return a.label};m.prototype.X=function(){if(this.h("item")||this.h("tooltipFunction")){var a=this.f("item"),a=this.f("tooltipFunction")(a);this.set("toolTip",a)}if(this.h("item")||this.h("thumbnailUrlFunction")){a=this.f("item");(a=this.f("thumbnailUrlFunction")(a))?this.gc.get("url")!=a&&this.gc.T({url:a,visible:q,opacity:0.5}):this.gc.T({url:n,visible:B});this.j("thumbnailUrlFunction")}if(this.h("item")||this.h("labelFunction")){a=
this.f("item");a=this.f("labelFunction")(a);this.wa.T({text:a,visible:a?q:B});this.j("labelFunction")}this.j("item");if(this.h("listLayout"))switch(this.f("listLayout")){case j.qe:this.T({width:"100%",height:n});break;default:this.T({height:"100%",width:n})}if(this.h("labelPosition")||this.h("listLayout")||this.h("thumbnailWidth")||this.h("thumbnailHeight")){var b=this,a=function(a,c){var d=b.f(a);d===n&&(d=c);return d};switch(this.f("labelPosition")){case g.vc:case g.Nd:this.set("layout",j.ne);this.wa.set("width",
"100%");switch(this.f("listLayout")){case j.qe:this.gc.T({height:a("thumbnailHeight"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",h.Yf)});break;default:this.gc.T({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",h.Yf)})}break;default:this.set("layout",j.qe);this.wa.set("width",n);switch(this.f("listLayout")){case j.qe:this.gc.T({height:a("thumbnailHeight"),width:a("thumbnailWidth","100%"),scaleMode:a("thumbnailScaleMode",h.Jj)});break;default:this.gc.T({height:a("thumbnailHeight",
"100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",h.Yf)})}}switch(this.f("labelPosition")){case g.vc:case g.lc:this.uh(this.wa,0);break;default:this.uh(this.wa,1)}this.j("labelPosition")}this.j("listLayout");this.eb(m.WG,m.Rr,[this],q,q);this.eb(m.YG,m.Rr,[this.gc],q,q);this.eb(m.XG,m.Rr,[this.wa],q,q);l.prototype.X.call(this)};m.prototype.zq=function(a){l.prototype.zq.call(this,a)};m.prototype.bN=function(){this.gc.set("opacity",1)};m.WG=["labelGap"];m.YG=["thumbnailBorderColor",
"thumbnailBorderRadius","thumbnailBorderSize","thumbnailMaxWidth","thumbnailMaxHeight","thumbnailOpacity","thumbnailShadow","thumbnailShadowHorizontalLength","thumbnailShadowVerticalLength","thumbnailShadowBlurRadius","thumbnailShadowSpread","thumbnailShadowColor","thumbnailShadowOpacity"];m.XG=["labelFontFamily","labelFontColor","labelFontSize","labelFontStyle","labelFontWeight","labelHorizontalAlign","labelTextDecoration","labelTextShadowColor","labelTextShadowHorizontalLength","labelTextShadowVerticalLength",
"labelTextShadowBlurRadius","labelTextShadowOpacity"];m.Rr={labelFontFamily:"fontFamily",labelFontColor:"fontColor",labelFontSize:"fontSize",labelFontStyle:"fontStyle",labelFontWeight:"fontWeight",labelGap:"gap",labelHorizontalAlign:"horizontalAlign",labelTextDecoration:"textDecoration",labelTextShadowColor:"textShadowColor",labelTextShadowHorizontalLength:"textShadowHorizontalLength",labelTextShadowVerticalLength:"textShadowVerticalLength",labelTextShadowBlurRadius:"textShadowBlurRadius",labelTextShadowOpacity:"textShadowOpacity",
thumbnailMaxWidth:"maxWidth",thumbnailMaxHeight:"maxHeight",thumbnailBorderRadius:"borderRadius",thumbnailOpacity:"opacity",thumbnailBorderSize:"borderSize",thumbnailBorderColor:"borderColor",thumbnailShadow:"shadow",thumbnailShadowHorizontalLength:"shadowHorizontalLength",thumbnailShadowVerticalLength:"shadowVerticalLength",thumbnailShadowBlurRadius:"shadowBlurRadius",thumbnailShadowSpread:"shadowSpread",thumbnailShadowColor:"shadowColor",thumbnailShadowOpacity:"shadowOpacity"};return m});
define("w","gD,bB,hy,iu,bM,c,eq,W,ig,gi,cu".split(","),function(a,b,d,c,f,j,g,h,e,l,p){var o=a.extend(e,function(){e.call(this);this.set("contentOpaque",q)});o.prototype.ma=function(){e.prototype.ma.call(this);this.a("layout",j.ne);this.a("selectedIndex",-1);this.a("items",[]);this.a("overflow",g.Wo);this.a("itemHorizontalAlign",d.md);this.a("itemLabelFontFamily");this.a("itemLabelPosition",h.Oc);this.a("itemLabelFunction");this.a("itemLabelGap");this.a("itemLabelHorizontalAlign",d.md);this.a("itemThumbnailBorderRadius");
this.a("itemThumbnailScaleMode");this.a("itemThumbnailWidth");this.a("itemThumbnailHeight");this.a("itemThumbnailMaxWidth");this.a("itemThumbnailMaxHeight");this.a("itemThumbnailUrlFunction");this.a("itemTooltipFunction");this.a("itemVerticalAlign",d.Ed);this.a("itemBackgroundOpacity");this.a("itemBackgroundColor");this.a("itemBackgroundColorRatios");this.a("itemBackgroundColorDirection");this.a("itemBorderRadius");this.a("itemBorderTopRadius");this.a("itemBorderBottomRadius");this.a("itemBorderLeftRadius");
this.a("itemBorderRightRadius");this.a("itemBorderTopLeftRadius");this.a("itemBorderTopRightRadius");this.a("itemBorderBottomLeftRadius");this.a("itemBorderBottomRightRadius");this.a("itemBorderSize");this.a("itemBorderLeftSize");this.a("itemBorderTopSize");this.a("itemBorderRightSize");this.a("itemBorderBottomSize");this.a("itemBorderColor");this.a("itemBorderLeftColor");this.a("itemBorderTopColor");this.a("itemBorderRightColor");this.a("itemBorderBottomColor");this.a("itemLabelFontColor");this.a("itemLabelFontSize");
this.a("itemLabelFontStyle");this.a("itemLabelFontWeight");this.a("itemLabelTextDecoration");this.a("itemLabelTextShadowColor");this.a("itemLabelTextShadowHorizontalLength");this.a("itemLabelTextShadowVerticalLength");this.a("itemLabelTextShadowBlurRadius");this.a("itemLabelTextShadowOpacity");this.a("itemOpacity");this.a("itemPaddingLeft");this.a("itemPaddingTop");this.a("itemPaddingRight");this.a("itemPaddingBottom");this.a("itemShadow");this.a("itemThumbnailOpacity");this.a("itemThumbnailBorderSize");
this.a("itemThumbnailBorderColor");this.a("itemThumbnailShadow");this.a("itemThumbnailShadowHorizontalLength");this.a("itemThumbnailShadowVerticalLength");this.a("itemThumbnailShadowBlurRadius");this.a("itemThumbnailShadowSpread");this.a("itemThumbnailShadowColor");this.a("itemThumbnailShadowOpacity");this.a("rollOverItemBackgroundOpacity");this.a("rollOverItemBackgroundColor");this.a("rollOverItemBackgroundColorRatios");this.a("rollOverItemBackgroundColorDirection");this.a("rollOverItemBorderRadius");
this.a("rollOverItemBorderTopRadius");this.a("rollOverItemBorderBottomRadius");this.a("rollOverItemBorderLeftRadius");this.a("rollOverItemBorderRightRadius");this.a("rollOverItemBorderTopLeftRadius");this.a("rollOverItemBorderTopRightRadius");this.a("rollOverItemBorderBottomLeftRadius");this.a("rollOverItemBorderBottomRightRadius");this.a("rollOverItemBorderSize");this.a("rollOverItemBorderLeftSize");this.a("rollOverItemBorderTopSize");this.a("rollOverItemBorderRightSize");this.a("rollOverItemBorderBottomSize");
this.a("rollOverItemBorderColor");this.a("rollOverItemBorderLeftColor");this.a("rollOverItemBorderTopColor");this.a("rollOverItemBorderRightColor");this.a("rollOverItemBorderBottomColor");this.a("rollOverItemLabelFontSize");this.a("rollOverItemLabelFontStyle");this.a("rollOverItemLabelFontWeight");this.a("rollOverItemLabelTextDecoration");this.a("rollOverItemLabelTextShadowColor");this.a("rollOverItemLabelTextShadowHorizontalLength");this.a("rollOverItemLabelTextShadowVerticalLength");this.a("rollOverItemLabelTextShadowBlurRadius");
this.a("rollOverItemLabelTextShadowOpacity");this.a("rollOverItemOpacity");this.a("rollOverItemPaddingLeft");this.a("rollOverItemPaddingTop");this.a("rollOverItemPaddingRight");this.a("rollOverItemPaddingBottom");this.a("rollOverItemShadow");this.a("rollOverItemThumbnailOpacity");this.a("rollOverItemThumbnailBorderSize");this.a("rollOverItemThumbnailBorderColor");this.a("rollOverItemThumbnailShadow");this.a("rollOverItemThumbnailShadowHorizontalLength");this.a("rollOverItemThumbnailShadowVerticalLength");
this.a("rollOverItemThumbnailShadowBlurRadius");this.a("rollOverItemThumbnailShadowSpread");this.a("rollOverItemThumbnailShadowColor");this.a("rollOverItemThumbnailShadowOpacity");this.a("selectedItemBackgroundOpacity");this.a("selectedItemBackgroundColor");this.a("selectedItemBackgroundColorRatios");this.a("selectedItemBackgroundColorDirection");this.a("selectedItemBorderRadius");this.a("selectedItemBorderTopRadius");this.a("selectedItemBorderBottomRadius");this.a("selectedItemBorderLeftRadius");
this.a("selectedItemBorderRightRadius");this.a("selectedItemBorderTopLeftRadius");this.a("selectedItemBorderTopRightRadius");this.a("selectedItemBorderBottomLeftRadius");this.a("selectedItemBorderBottomRightRadius");this.a("selectedItemBorderSize");this.a("selectedItemBorderLeftSize");this.a("selectedItemBorderTopSize");this.a("selectedItemBorderRightSize");this.a("selectedItemBorderBottomSize");this.a("selectedItemBorderColor");this.a("selectedItemBorderLeftColor");this.a("selectedItemBorderTopColor");
this.a("selectedItemBorderRightColor");this.a("selectedItemBorderBottomColor");this.a("selectedItemLabelFontSize");this.a("selectedItemLabelFontStyle");this.a("selectedItemLabelFontWeight");this.a("selectedItemLabelTextDecoration");this.a("selectedItemLabelTextShadowColor");this.a("selectedItemLabelTextShadowHorizontalLength");this.a("selectedItemLabelTextShadowVerticalLength");this.a("selectedItemLabelTextShadowBlurRadius");this.a("selectedItemLabelTextShadowOpacity");this.a("selectedItemOpacity");
this.a("selectedItemPaddingLeft");this.a("selectedItemPaddingTop");this.a("selectedItemPaddingRight");this.a("selectedItemPaddingBottom");this.a("selectedItemShadow");this.a("selectedItemThumbnailOpacity");this.a("selectedItemThumbnailBorderSize");this.a("selectedItemThumbnailBorderColor");this.a("selectedItemThumbnailShadow");this.a("selectedItemThumbnailShadowHorizontalLength");this.a("selectedItemThumbnailShadowVerticalLength");this.a("selectedItemThumbnailShadowBlurRadius");this.a("selectedItemThumbnailShadowSpread");
this.a("selectedItemThumbnailShadowColor");this.a("selectedItemThumbnailShadowOpacity")};o.prototype.yw=function(a){this.yg=q;this.set("selectedIndex",this.yJ(a.source))};o.prototype.yJ=function(a){for(var b=this.sb(),c=0;c<b.length;c++)if(b[c]==a)return c;return-1};o.prototype.X=function(){if(this.h("layout")){var a=this.f("layout");a!=j.qe&&a!=j.ne&&this.set("layout",j.ne)}var d=B;if(this.h("items")){var d=q,a=this.f("items")||[],f=this.sb();if(f.length<a.length){for(var h=f.length;h<a.length;h++){f=
new l;f.bind(c.ga,this.yw,this);this.eb(o.ev,o.cp,[f],B,B);this.eb(o.fv,o.dp,[f],B,B);this.Ca(f)}f=this.sb()}if(f.length>a.length){for(h=a.length;h<f.length;h++){var g=f[h];g.unbind(c.ga,this.yw,this);this.removeChild(g)}f=this.sb()}for(h=0;h<a.length;h++)f[h].set("item",a[h]);this.j("items")}if(this.h("selectedIndex")||d){a=this.sb();d=Math.min(a.length-1,Math.max(-1,this.f("selectedIndex")));this.set("selectedIndex",d);for(h=0;h<a.length;h++)a[h].pz(h==d);this.j("selectedIndex");if(this.yg){this.yg=
B;this.trigger(new b(c.W))}}this.eb(o.ev,o.cp,this.sb(),q,B);this.eb(o.fv,o.dp,this.sb(),q,q);e.prototype.X.call(this)};o.cp={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};o.dp={itemHorizontalAlign:"horizontalAlign",itemLabelFunction:"labelFunction",itemLabelFontFamily:"labelFontFamily",itemLabelGap:"labelGap",itemLabelHorizontalAlign:"labelHorizontalAlign",
itemLabelPosition:"labelPosition",itemThumbnailBorderRadius:"thumbnailBorderRadius",itemThumbnailScaleMode:"thumbnailScaleMode",itemThumbnailHeight:"thumbnailHeight",itemThumbnailWidth:"thumbnailWidth",itemThumbnailMaxHeight:"thumbnailMaxHeight",itemThumbnailMaxWidth:"thumbnailMaxWidth",itemThumbnailUrlFunction:"thumbnailUrlFunction",itemTooltipFunction:"tooltipFunction",itemVerticalAlign:"verticalAlign",itemBackgroundOpacity:"backgroundOpacity",itemBackgroundColor:"backgroundColor",itemBackgroundColorRatios:"backgroundColorRatios",
itemBackgroundColorDirection:"backgroundColorDirection",itemBorderRadius:"borderRadius",itemBorderTopRadius:"borderTopRadius",itemBorderBottomRadius:"borderBottomRadius",itemBorderLeftRadius:"borderLeftRadius",itemBorderRightRadius:"borderRightRadius",itemBorderTopLeftRadius:"borderTopLeftRadius",itemBorderTopRightRadius:"borderTopRightRadius",itemBorderBottomLeftRadius:"borderBottomLeftRadius",itemBorderBottomRightRadius:"borderBottomRightRadius",itemBorderSize:"borderSize",itemBorderLeftSize:"borderLeftSize",
itemBorderTopSize:"borderTopSize",itemBorderRightSize:"borderRightSize",itemBorderBottomSize:"borderBottomSize",itemBorderColor:"borderColor",itemBorderLeftColor:"borderLeftColor",itemBorderTopColor:"borderTopColor",itemBorderRightColor:"borderRightColor",itemBorderBottomColor:"borderBottomColor",itemLabelFontColor:"labelFontColor",itemLabelFontSize:"labelFontSize",itemLabelFontStyle:"labelFontStyle",itemLabelFontWeight:"labelFontWeight",itemLabelTextDecoration:"labelTextDecoration",itemLabelTextShadowColor:"labelTextShadowColor",
itemLabelTextShadowHorizontalLength:"labelTextShadowHorizontalLength",itemLabelTextShadowVerticalLength:"labelTextShadowVerticalLength",itemLabelTextShadowBlurRadius:"labelTextShadowBlurRadius",itemLabelTextShadowOpacity:"labelTextShadowOpacity",itemOpacity:"opacity",itemPaddingLeft:"paddingLeft",itemPaddingTop:"paddingTop",itemPaddingRight:"paddingRight",itemPaddingBottom:"paddingBottom",itemShadow:"shadow",itemThumbnailOpacity:"thumbnailOpacity",itemThumbnailBorderSize:"thumbnailBorderSize",itemThumbnailBorderColor:"thumbnailBorderColor",
itemThumbnailShadow:"thumbnailShadow",itemThumbnailShadowHorizontalLength:"thumbnailShadowHorizontalLength",itemThumbnailShadowVerticalLength:"thumbnailShadowVerticalLength",itemThumbnailShadowBlurRadius:"thumbnailShadowBlurRadius",itemThumbnailShadowSpread:"thumbnailShadowSpread",itemThumbnailShadowColor:"thumbnailShadowColor",itemThumbnailShadowOpacity:"thumbnailShadowOpacity",rollOverItemBackgroundOpacity:"rollOverBackgroundOpacity",rollOverItemBackgroundColor:"rollOverBackgroundColor",rollOverItemBackgroundColorRatios:"rollOverBackgroundColorRatios",
rollOverItemBackgroundColorDirection:"rollOverBackgroundColorDirection",rollOverItemBorderRadius:"rollOverBorderRadius",rollOverItemBorderTopRadius:"rollOverBorderTopRadius",rollOverItemBorderBottomRadius:"rollOverBorderBottomRadius",rollOverItemBorderLeftRadius:"rollOverBorderLeftRadius",rollOverItemBorderRightRadius:"rollOverBorderRightRadius",rollOverItemBorderTopLeftRadius:"rollOverBorderTopLeftRadius",rollOverItemBorderTopRightRadius:"rollOverBorderTopRightRadius",rollOverItemBorderBottomLeftRadius:"rollOverBorderBottomLeftRadius",
rollOverItemBorderBottomRightRadius:"rollOverBorderBottomRightRadius",rollOverItemBorderSize:"rollOverBorderSize",rollOverItemBorderLeftSize:"rollOverBorderLeftSize",rollOverItemBorderTopSize:"rollOverBorderTopSize",rollOverItemBorderRightSize:"rollOverBorderRightSize",rollOverItemBorderBottomSize:"rollOverBorderBottomSize",rollOverItemBorderColor:"rollOverBorderColor",rollOverItemBorderLeftColor:"rollOverBorderLeftColor",rollOverItemBorderTopColor:"rollOverBorderTopColor",rollOverItemBorderRightColor:"rollOverBorderRightColor",
rollOverItemBorderBottomColor:"rollOverBorderBottomColor",rollOverItemLabelFontColor:"rollOverLabelFontColor",rollOverItemLabelFontSize:"rollOverLabelFontSize",rollOverItemLabelFontStyle:"rollOverLabelFontStyle",rollOverItemLabelFontWeight:"rollOverLabelFontWeight",rollOverItemLabelTextDecoration:"rollOverLabelTextDecoration",rollOverItemLabelTextShadowColor:"rollOverLabelTextShadowColor",rollOverItemLabelTextShadowHorizontalLength:"rollOverLabelTextShadowHorizontalLength",rollOverItemLabelTextShadowVerticalLength:"rollOverLabelTextShadowVerticalLength",
rollOverItemLabelTextShadowBlurRadius:"rollOverLabelTextShadowBlurRadius",rollOverItemLabelTextShadowOpacity:"rollOverLabelTextShadowOpacity",rollOverItemOpacity:"rollOverOpacity",rollOverItemPaddingLeft:"rollOverPaddingLeft",rollOverItemPaddingTop:"rollOverPaddingTop",rollOverItemPaddingRight:"rollOverPaddingRight",rollOverItemPaddingBottom:"rollOverPaddingBottom",rollOverItemShadow:"rollOverShadow",rollOverItemThumbnailOpacity:"rollOverThumbnailOpacity",rollOverItemThumbnailBorderSize:"rollOverThumbnailBorderSize",
rollOverItemThumbnailBorderColor:"rollOverThumbnailBorderColor",rollOverItemThumbnailShadow:"rollOverThumbnailShadow",rollOverItemThumbnailShadowHorizontalLength:"rollOverThumbnailShadowHorizontalLength",rollOverItemThumbnailShadowVerticalLength:"rollOverThumbnailShadowVerticalLength",rollOverItemThumbnailShadowBlurRadius:"rollOverThumbnailShadowBlurRadius",rollOverItemThumbnailShadowSpread:"rollOverThumbnailShadowSpread",rollOverItemThumbnailShadowColor:"rollOverThumbnailShadowColor",rollOverItemThumbnailShadowOpacity:"rollOverThumbnailShadowOpacity",
selectedItemBackgroundOpacity:"selectedBackgroundOpacity",selectedItemBackgroundColor:"selectedBackgroundColor",selectedItemBackgroundColorRatios:"selectedBackgroundColorRatios",selectedItemBackgroundColorDirection:"selectedBackgroundColorDirection",selectedItemBorderRadius:"selectedBorderRadius",selectedItemBorderTopRadius:"selectedBorderTopRadius",selectedItemBorderBottomRadius:"selectedBorderBottomRadius",selectedItemBorderLeftRadius:"selectedBorderLeftRadius",selectedItemBorderRightRadius:"selectedBorderRightRadius",
selectedItemBorderTopLeftRadius:"selectedBorderTopLeftRadius",selectedItemBorderTopRightRadius:"selectedBorderTopRightRadius",selectedItemBorderBottomLeftRadius:"selectedBorderBottomLeftRadius",selectedItemBorderBottomRightRadius:"selectedBorderBottomRightRadius",selectedItemBorderSize:"selectedBorderSize",selectedItemBorderLeftSize:"selectedBorderLeftSize",selectedItemBorderTopSize:"selectedBorderTopSize",selectedItemBorderRightSize:"selectedBorderRightSize",selectedItemBorderBottomSize:"selectedBorderBottomSize",
selectedItemBorderColor:"selectedBorderColor",selectedItemBorderLeftColor:"selectedBorderLeftColor",selectedItemBorderTopColor:"selectedBorderTopColor",selectedItemBorderRightColor:"selectedBorderRightColor",selectedItemBorderBottomColor:"selectedBorderBottomColor",selectedItemLabelFontColor:"selectedLabelFontColor",selectedItemLabelFontSize:"selectedLabelFontSize",selectedItemLabelFontStyle:"selectedLabelFontStyle",selectedItemLabelFontWeight:"selectedLabelFontWeight",selectedItemLabelTextDecoration:"selectedLabelTextDecoration",
selectedItemLabelTextShadowColor:"selectedLabelTextShadowColor",selectedItemLabelTextShadowHorizontalLength:"selectedLabelTextShadowHorizontalLength",selectedItemLabelTextShadowVerticalLength:"selectedLabelTextShadowVerticalLength",selectedItemLabelTextShadowBlurRadius:"selectedLabelTextShadowBlurRadius",selectedItemLabelTextShadowOpacity:"selectedLabelTextShadowOpacity",selectedItemOpacity:"selectedOpacity",selectedItemPaddingLeft:"selectedPaddingLeft",selectedItemPaddingTop:"selectedPaddingTop",
selectedItemPaddingRight:"selectedPaddingRight",selectedItemPaddingBottom:"selectedPaddingBottom",selectedItemShadow:"selectedShadow",selectedItemThumbnailOpacity:"selectedThumbnailOpacity",selectedItemThumbnailBorderSize:"selectedThumbnailBorderSize",selectedItemThumbnailBorderColor:"selectedThumbnailBorderColor",selectedItemThumbnailShadow:"selectedThumbnailShadow",selectedItemThumbnailShadowHorizontalLength:"selectedThumbnailShadowHorizontalLength",selectedItemThumbnailShadowVerticalLength:"selectedThumbnailShadowVerticalLength",
selectedItemThumbnailShadowBlurRadius:"selectedThumbnailShadowBlurRadius",selectedItemThumbnailShadowSpread:"selectedThumbnailShadowSpread",selectedItemThumbnailShadowColor:"selectedThumbnailShadowColor",selectedItemThumbnailShadowOpacity:"selectedThumbnailShadowOpacity",toolTipBackgroundColor:"toolTipBackgroundColor",toolTipBackgroundOpacity:"toolTipBackgroundOpacity",toolTipBorderRadius:"toolTipBorderRadius",toolTipBorderColor:"toolTipBorderColor",toolTipBorderSize:"toolTipBorderSize",toolTipDisplayTime:"toolTipDisplayTime",
toolTipFontFamily:"toolTipFontFamily",toolTipFontSize:"toolTipFontSize",toolTipFontColor:"toolTipFontColor",toolTipFontWeight:"toolTipFontWeight",toolTipFontStyle:"toolTipFontStyle",toolTipPaddingBottom:"toolTipPaddingBottom",toolTipPaddingLeft:"toolTipPaddingLeft",toolTipPaddingTop:"toolTipPaddingTop",toolTipPaddingRight:"toolTipPaddingRight",toolTipShadowBlurRadius:"toolTipShadowBlurRadius",toolTipShadowColor:"toolTipShadowColor",toolTipShadowHorizontalLength:"toolTipShadowHorizontalLength",toolTipShadowOpacity:"toolTipShadowOpacity",
toolTipShadowSpread:"toolTipShadowSpread",toolTipShadowVerticalLength:"toolTipShadowVerticalLength",toolTipOpacity:"toolTipOpacity",toolTipTextShadowBlurRadius:"toolTipTextShadowBlurRadius",toolTipTextShadowColor:"toolTipTextShadowColor",toolTipTextShadowHorizontalLength:"toolTipTextShadowHorizontalLength",toolTipTextShadowOpacity:"toolTipTextShadowOpacity",toolTipTextShadowVerticalLength:"toolTipTextShadowVerticalLength"};o.ev=p(o.cp).keys();o.fv=p(o.dp).keys();return o});
define("ed","gD,iu,w,cO,fG,ct,bj,cu".split(","),function(a,b,d,c,f,j,g){a=a.extend(d,function(){d.call(this);this.zb=s;this.set("itemMode","normal");this.Wi=B;this.Dv=new f(this,"buttonScrollDown",j.kc);this.Dv.bind(b.ga,this.U1,this);this.Ev=new f(this,"buttonScrollLeft",j.kc);this.Ev.bind(b.ga,this.scrollLeft,this);this.Fv=new f(this,"buttonScrollRight",j.kc);this.Fv.bind(b.ga,this.V1,this);this.Gv=new f(this,"buttonScrollUp",j.kc);this.Gv.bind(b.ga,this.W1,this);this.bind(b.W,this.zaa,this)});
c.C("ThumbnailList",a).D("UIComponent").K({buttonScrollDown:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonScrollLeft:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonScrollRight:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonScrollUp:"or[array[or[Button, IconButton]], or[Button, IconButton]]",contentOpaque:"bool",gap:"number",hideScrollButtons:"bool",horizontalAlign:"enum[center, left, right]",itemMode:"enum[normal, thumbnail-only, label-only]",
itemBackgroundColor:"or[array[color], color]",itemBackgroundColorDirection:"enum[horizontal, vertical]",itemBackgroundColorRatios:"array[number]",itemBackgroundOpacity:"number",itemBorderBottomColor:"color",itemBorderBottomLeftRadius:"number",itemBorderBottomRadius:"number",itemBorderBottomRightRadius:"number",itemBorderBottomSize:"number",itemBorderColor:"color",itemBorderLeftColor:"color",itemBorderLeftRadius:"number",itemBorderLeftSize:"number",itemBorderRadius:"number",itemBorderRightColor:"color",
itemBorderRightRadius:"number",itemBorderRightSize:"number",itemBorderSize:"number",itemBorderTopColor:"color",itemBorderTopLeftRadius:"number",itemBorderTopRadius:"number",itemBorderTopRightRadius:"number",itemBorderTopSize:"number",itemHorizontalAlign:"enum[center, left, right]",itemLabelFontColor:"color",itemLabelFontFamily:"string",itemLabelFontSize:"or[number, size]",itemLabelFontStyle:"enum[italic, normal]",itemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",
itemLabelGap:"number",itemLabelHorizontalAlign:"enum[center, left, right]",itemLabelPosition:"enum[left, top, right, bottom]",itemLabelTextDecoration:"enum[underline, overline, line-through, none]",itemLabelTextShadowBlurRadius:"number",itemLabelTextShadowColor:"color",itemLabelTextShadowHorizontalLength:"number",itemLabelTextShadowOpacity:"number",itemLabelTextShadowVerticalLength:"number",itemOpacity:"number",itemPaddingBottom:"number",itemPaddingLeft:"number",itemPaddingTop:"number",itemPaddingRight:"number",
itemShadow:"bool",itemThumbnailBorderColor:"color",itemThumbnailBorderRadius:"number",itemThumbnailBorderSize:"number",itemThumbnailScaleMode:"enum[none, fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",itemThumbnailHeight:"number",itemThumbnailWidth:"number",itemThumbnailMaxHeight:"number",itemThumbnailMaxWidth:"number",itemThumbnailOpacity:"number",itemThumbnailShadow:"bool",itemThumbnailShadowBlurRadius:"number",itemThumbnailShadowColor:"color",itemThumbnailShadowHorizontalLength:"number",
itemThumbnailShadowOpacity:"number",itemThumbnailShadowSpread:"number",itemThumbnailShadowVerticalLength:"number",itemVerticalAlign:"enum[bottom, middle, top]",layout:"enum[vertical, horizontal]",playList:"PlayList",rollOverItemBackgroundColor:"or[array[color], color]",rollOverItemBackgroundColorDirection:"enum[horizontal, vertical]",rollOverItemBackgroundColorRatios:"array[number]",rollOverItemBackgroundOpacity:"number",rollOverItemBorderBottomColor:"color",rollOverItemBorderBottomLeftRadius:"number",
rollOverItemBorderBottomRadius:"number",rollOverItemBorderBottomRightRadius:"number",rollOverItemBorderBottomSize:"number",rollOverItemBorderColor:"color",rollOverItemBorderLeftColor:"color",rollOverItemBorderLeftRadius:"number",rollOverItemBorderLeftSize:"number",rollOverItemBorderRadius:"number",rollOverItemBorderRightColor:"color",rollOverItemBorderRightRadius:"number",rollOverItemBorderRightSize:"number",rollOverItemBorderSize:"number",rollOverItemBorderTopColor:"color",rollOverItemBorderTopLeftRadius:"number",
rollOverItemBorderTopRadius:"number",rollOverItemBorderTopRightRadius:"number",rollOverItemBorderTopSize:"number",rollOverItemLabelFontColor:"color",rollOverItemLabelFontSize:"or[number, size]",rollOverItemLabelFontStyle:"enum[italic, normal]",rollOverItemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",rollOverItemLabelTextDecoration:"enum[underline, overline, line-through, none]",rollOverItemLabelTextShadowBlurRadius:"number",rollOverItemLabelTextShadowColor:"color",
rollOverItemLabelTextShadowHorizontalLength:"number",rollOverItemLabelTextShadowOpacity:"number",rollOverItemLabelTextShadowVerticalLength:"number",rollOverItemOpacity:"number",rollOverItemPaddingBottom:"number",rollOverItemPaddingLeft:"number",rollOverItemPaddingRight:"number",rollOverItemPaddingTop:"number",rollOverItemShadow:"bool",rollOverItemThumbnailBorderColor:"color",rollOverItemThumbnailBorderSize:"number",rollOverItemThumbnailOpacity:"number",rollOverItemThumbnailShadow:"bool",rollOverItemThumbnailShadowBlurRadius:"number",
rollOverItemThumbnailShadowColor:"color",rollOverItemThumbnailShadowHorizontalLength:"number",rollOverItemThumbnailShadowOpacity:"number",rollOverItemThumbnailShadowSpread:"number",rollOverItemThumbnailShadowVerticalLength:"number",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",selectedItemBackgroundColor:"or[array[color], color]",selectedItemBackgroundColorDirection:"enum[horizontal, vertical]",selectedItemBackgroundColorRatios:"array[number]",
selectedItemBackgroundOpacity:"number",selectedItemBorderBottomColor:"color",selectedItemBorderBottomLeftRadius:"number",selectedItemBorderBottomRadius:"number",selectedItemBorderBottomRightRadius:"number",selectedItemBorderBottomSize:"number",selectedItemBorderColor:"color",selectedItemBorderLeftColor:"color",selectedItemBorderLeftRadius:"number",selectedItemBorderLeftSize:"number",selectedItemBorderRadius:"number",selectedItemBorderRightRadius:"number",selectedItemBorderRightSize:"number",selectedItemBorderSize:"number",
selectedItemBorderTopLeftRadius:"number",selectedItemBorderTopRadius:"number",selectedItemBorderTopRightRadius:"number",selectedItemBorderTopSize:"number",selectedItemBorderTopColor:"color",selectedItemBorderRightColor:"color",selectedItemLabelFontColor:"color",selectedItemLabelFontSize:"or[number, size]",selectedItemLabelFontStyle:"enum[italic, normal]",selectedItemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",selectedItemLabelTextDecoration:"enum[underline, overline, line-through, none]",
selectedItemLabelTextShadowBlurRadius:"number",selectedItemLabelTextShadowColor:"color",selectedItemLabelTextShadowHorizontalLength:"number",selectedItemLabelTextShadowOpacity:"number",selectedItemLabelTextShadowVerticalLength:"number",selectedItemOpacity:"number",selectedItemPaddingBottom:"number",selectedItemPaddingLeft:"number",selectedItemPaddingTop:"number",selectedItemPaddingRight:"number",selectedItemShadow:"bool",selectedItemThumbnailBorderSize:"number",selectedItemThumbnailBorderColor:"color",
selectedItemThumbnailOpacity:"number",selectedItemThumbnailShadow:"bool",selectedItemThumbnailShadowBlurRadius:"number",selectedItemThumbnailShadowColor:"color",selectedItemThumbnailShadowHorizontalLength:"number",selectedItemThumbnailShadowOpacity:"number",selectedItemThumbnailShadowSpread:"number",selectedItemThumbnailShadowVerticalLength:"number",verticalAlign:"enum[bottom, middle, top]",itemLabelFunction:"*"}).xm(["itemLabelFontSize","rollOverItemLabelFontSize","selectedItemLabelFontSize"]);a.prototype.jf=
function(){d.prototype.jf.call(this);this.Mq()};a.prototype.fm=function(){d.prototype.fm.call(this);this.Mq()};a.prototype.Mq=function(){this.Dv.set("visible",!this.Wi||this.xA());this.Gv.set("visible",!this.Wi||this.yA());this.Ev.set("visible",!this.Wi||this.LH());this.Fv.set("visible",!this.Wi||this.MH())};a.prototype.set=function(a,b){if(a=="itemMode")switch(b){case "thumbnail-only":this.set("itemLabelFunction",this.Dl);this.set("itemThumbnailUrlFunction",this.Aw);this.set("itemTooltipFunction",
this.Up);break;case "label-only":this.set("itemLabelFunction",this.Up);this.set("itemThumbnailUrlFunction",this.Dl);this.set("itemTooltipFunction",this.Dl);break;default:this.set("itemLabelFunction",this.Up);this.set("itemThumbnailUrlFunction",this.Aw);this.set("itemTooltipFunction",this.Dl)}else if(a=="playList"){this.zb&&this.zb.unbind("change",this.Ql,this);if(this.zb=b){this.set("items",this.zb.get("items"));this.zb.bind("change",this.Ql,this)}else this.set("items",[])}else if(a=="hideScrollButtons"){this.Wi=
b;this.Mq()}else d.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){switch(a){case "playList":return this.zb;default:return d.prototype.get.call(this,a,b)}};a.prototype.Ql=function(){this.set("selectedIndex",this.zb.get("selectedIndex"))};a.prototype.zaa=function(){this.zb&&this.zb.set("selectedIndex",this.get("selectedIndex"))};a.prototype.Dl=E();a.prototype.Up=function(a){return a.get("label")||a.get("media").get("label")};a.prototype.Aw=function(a){var a=a.get("media"),b=a.get("thumbnailUrl");
a.get("flipImageHorizontally")&&(b=g.c0(b));return b};return a});
define("bn",["gD","iu","d","cO"],function(a,b,d,c){a=a.extend(d,function(){d.call(this)});c.C("UIComponent",a).D("Object").K({actualHeight:"number",actualWidth:"number",backgroundColor:"or[array[color], color]",backgroundColorDirection:"enum[horizontal, vertical]",backgroundColorRatios:"array[number]",backgroundImageUrl:"string",backgroundOpacity:"number",borderBottomColor:"color",borderBottomLeftRadius:"number",borderBottomRadius:"number",borderBottomRightRadius:"number",borderBottomSize:"number",
borderColor:"color",borderLeftColor:"color",borderLeftRadius:"number",borderLeftSize:"number",borderRadius:"number",borderRightColor:"color",borderRightRadius:"number",borderRightSize:"number",borderSize:"number",borderTopColor:"color",borderTopLeftRadius:"number",borderTopRadius:"number",borderTopRightRadius:"number",borderTopSize:"number",bottom:"or[number, percent]",centerX:"number",centerY:"number",cursor:"enum[default, hand]",height:"or[number, percent]",hideEffect:"Effect",includeInLayout:"bool",
left:"or[number, percent]",maxHeight:"number",maxWidth:"number",minHeight:"number",minWidth:"number",opacity:"number",paddingBottom:"number",paddingLeft:"number",paddingTop:"number",paddingRight:"number",propagateClick:"bool",right:"or[number, percent]",rollOverOpacity:"number",showEffect:"Effect",shadow:"bool",shadowBlurRadius:"number",shadowColor:"color",shadowHorizontalLength:"number",shadowOpacity:"number",shadowSpread:"number",shadowVerticalLength:"number",toolTip:"string",toolTipBackgroundColor:"or[color, enum[transparent]]",
toolTipBackgroundOpacity:"number",toolTipBorderRadius:"number",toolTipBorderColor:"color",toolTipBorderSize:"number",toolTipDisplayTime:"number",toolTipFontFamily:"string",toolTipFontSize:"or[number, size]",toolTipFontColor:"color",toolTipFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",toolTipFontStyle:"enum[italic, normal]",toolTipPaddingBottom:"number",toolTipPaddingLeft:"number",toolTipPaddingTop:"number",toolTipPaddingRight:"number",toolTipShadowBlurRadius:"number",
toolTipShadowColor:"color",toolTipShadowHorizontalLength:"number",toolTipShadowOpacity:"number",toolTipShadowSpread:"number",toolTipShadowVerticalLength:"number",toolTipOpacity:"number",toolTipTextShadowBlurRadius:"number",toolTipTextShadowColor:"color",toolTipTextShadowHorizontalLength:"number",toolTipTextShadowOpacity:"number",toolTipTextShadowVerticalLength:"number",top:"or[number, percent]",visible:"bool",width:"or[number, percent]"}).xm(["toolTipFontSize"]).Hj(["backgroundImageUrl"]).Jb([b.ga,
b.Yb,b.Kb,b.Mj,b.oe,b.Nb]);return a});define("fc",["require","gD","bv"],function(a){var b=a("gD"),d=a("bv"),a=b.extend(d,function(a,b,j,g){d.call(this);this.cb=a;this.o=b;this.A=j;this.Vb=g});a.prototype.Xe=function(){return[]};a.prototype.hb=N("cb");a.prototype.Ea=N("o");a.prototype.Ma=N("A");return a});define("cD",["require","hd"],function(a){var b=a("hd");return{create:function(a){return new b(a)}}});
define("s","require,gD,iu,cO,eg,cy,gO,fc,cD".split(","),function(a){var b=a("gD"),d=a("iu"),c=a("cO"),f=a("eg"),j=a("cy");a("gO");var g=a("fc");a("cD");a=b.extend(j,function(){j.call(this);this.g=n});a.Nu="cueChange";c.C("Video",a).D("Media").K({height:"number",scaleMode:"enum[none, fit_inside, fit_outside, fit_to_width, fit_to_height]",video:"VideoResource",width:"number",loop:"bool",cues:"array[VideoCue]"}).Jb([d.ra,a.Nu]);a.prototype.va=function(){if(this.g==n){var a=this.get("video");this.g=a?
new g(a.hb(),this.get("width",320),this.get("height",Math.round(this.get("width",320)*3/4)),this.get("scaleMode",f.le),this.get("loop",B)):s}return this.g};a.prototype.li=function(){this.get("video");return[]};return a});
define("fA","require,cu,gD,gU,cO,gO,o,fn".split(","),function(a){var b=a("cu"),d=a("gD"),c=a("gU"),f=a("cO"),j=a("gO"),g=a("o"),h=a("fn"),a=d.extend(c,function(){c.call(this)});f.C("Video360Resource",a).D("Video360ResourceLevel").K({levels:"array[Video360ResourceLevel]"});a.prototype.Sf=function(){var a;g.ni()==g.pG?a=[3168,1584]:g.ic()&&(a=[3840,1920]);var c=(g.ic()?800:5E3)*1E3,d=[];j.KO&&d.push({type:h.Fu,Lk:n});j.d1&&d.push({type:h.Fu,Lk:a});j.AE&&d.push({type:h.Rz,Lk:a});j.BE&&d.push({type:h.Xz,
Lk:a});j.OO&&d.push({type:h.IQ,Lk:a});d.push({type:h.Rz,Lk:a});d.push({type:h.Xz,Lk:a});j.d1&&d.push({type:h.Fu,Lk:n});d.push({type:h.Rz,Lk:n});d.push({type:h.Xz,Lk:n});for(var f=this.get("levels",[this]).slice(),r=0;r<d.length;r++){var m=d[r].type;a=d[r].Lk;var t=b(f).filter(function(b){return!h.is(b.get("url"),m)?B:!a?q:b.get("width")<=a[0]&&b.get("height")<=a[1]});m!=h.Fu&&t.sort(function(a,b){return Math.abs(c-a.get("bitrate"))-Math.abs(c-b.get("bitrate"))});if(t.length)return t[0]}return s};
return a});define("ir",["require","gD","gU","cO"],function(a){var b=a("gD"),d=a("gU"),a=a("cO"),b=b.extend(d,function(){d.call(this)});a.C("Video360ResourceLevel",b).D("Object").K({bitrate:"number",framerate:"number",height:"number",posterURL:"string",type:"string",url:"string",width:"number"}).Hj(["posterURL","url"]);return b});
define("cj","require,gD,cu,cO,cK,dT,fA,ir".split(","),function(a){var b=a("gD"),d=a("cu"),c=a("cO"),f=a("cK"),j=a("dT"),g=a("fA");a("ir");a=b.extend(j,function(){j.call(this);this.Qd=this.Q=n});c.C("Video360",a).D("VideoPanorama").K({overlays:"array[PanoramaOverlay]",video:"or[Video360Resource, array[Video360Resource]]"});a.prototype.set=function(a,b){a=="video"?this.I4(b):a=="overlays"?this.E4(b):j.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){return a=="video"?this.Q===n?b:this.Q:
a=="overlays"?this.Qd===n?b:this.Qd:j.prototype.get.call(this,a,b)};a.prototype.I4=function(a){if(this.Q!=a){this.Q=a;a=[];if(this.Q){var b=new f;b.set("sphere",this.x$(this.Q));a.push(b)}j.prototype.set.call(this,"frames",a);this.eS()}};a.prototype.E4=function(a){this.Qd=a;this.eS()};a.prototype.eS=function(){var a=this.get("frames");a&&a.length>0&&a[0].set("overlays",this.Qd)};a.prototype.x$=function(a){if(d.isArray(a)){var b=[];d(a).each(function(a){b=b.concat(a.get("levels")||[a])});a=new g;a.set("levels",
b)}return a};return a});define("bi",["require","gD","cO","im"],function(a){var b=a("gD"),d=a("cO"),c=a("im"),a=b.extend(c,function(){c.call(this)});d.C("Video360Player",a).D("PanoramaPlayer");return a});
define("fQ",["gD","cO","bU","cs"],function(a,b,d,c){a=a.extend(c,function(){c.call(this)});b.C("Video360PlayListItem",a).D("PlayListItem").K({media:"Video360",camera:"RotationalCamera",player:"PanoramaPlayer",startTime:"number"});a.prototype.start=function(){c.prototype.start.call(this);var a=this.get("player");a&&(a.bind(d.Ze,this.dh,this),a.set("video",this.get("media")),a.set("camera",this.get("camera")),a.set("startTime",this.get("startTime")))};a.prototype.stop=function(){var a=this.get("player");
a&&(a.unbind(d.Ze,this.dh,this),a.get("video")==this.get("media")&&a.set("video",s));c.prototype.stop.call(this)};a.prototype.dh=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(d.Ze,this.dh,this),this.get("player").bind(d.Ch,this.oj,this),this.Kt())};a.prototype.oj=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(d.Ch,this.oj,this),this.end())};return a});
define("dl",["gD","gU","iu","cO"],function(a,b,d,c){a=a.extend(b,function(){b.call(this)});c.C("VideoCue",a).D("Object").K({startTime:"number",endTime:"number"}).Jb([d.Qk,d.ra]);return a});
define("is","cu,gD,iu,bB,dx,dU,s".split(","),function(a,b,d,c,f,j,g){function h(a,b,c){this.time=a;this.cue=b;this.action=c}b=b.extend(f,function(a){f.call(this);this.b=a;this.b.bind(d.W,this.Ht,this,q);this.b.bind(d.ra,this.wy,this,q);this.mc=this.Ki=s;this.df=B;this.He=[];this.Ng=n;this.Ec=[]});b.prototype.clear=function(){this.b.unbind(d.W,this.Ht,this,q);this.b.unbind(d.ra,this.wy,this,q);this.mc=this.Ki=this.b=s;this.He=[];this.Ec=[]};b.prototype.start=function(a){this.end();this.Ki=a;this.mc=
a.va();this.mI();this.Ux()};b.prototype.end=function(){this.Mv();this.mc=this.Ki=s};b.prototype.Sb=function(a){a=a!=j.J;if(this.df!=a)(this.df=a)?this.Ux():this.Mv()};b.prototype.wy=function(){this.Ht()};b.prototype.Ux=function(){this.Ng=this.hs=0};b.prototype.Ht=function(){if(this.mc&&this.df){var b=this.Ec.slice(),f=this.b.CO(this.mc),g=f-this.hs;if(g<0){this.Ec=[];this.Ng=0}g=g>=0&&g<2;this.hs=f;var h;for(h=this.Ng;h<this.He.length;h++)if(this.He[h].time>f)break;for(;this.Ng<h;this.Ng++){f=this.He[this.Ng];
if(f.action=="start"){this.Ec=a(this.Ec).union([f.cue]);g&&f.cue.trigger(new c(d.Qk))}else{this.Ec=a(this.Ec).difference([f.cue]);g&&f.cue.trigger(new c(d.ra))}}(b.length!=this.Ec.length||a(b).intersection(this.Ec).length!=this.Ec.length)&&this.gy()}};b.prototype.Mv=function(){if(this.Ec.length>0){this.Ec=[];this.gy()}};b.prototype.gy=function(){this.Ki.trigger(new c(g.Nu,{activeCues:this.Ec.slice()}))};b.prototype.mI=function(){this.He=[];var b=this.Ki.get("cues",[]);a(b).each(function(a){this.He.push(new h(a.get("startTime",
0),a,"start"));this.He.push(new h(a.get("endTime",Number.POSITIVE_INFINITY),a,"end"))},this);this.He.sort(function(a,b){return a.time==b.time?a.action==b.start?0:a.action=="start"?-1:1:a.time-b.time})};return b});
define("hU",["gD","bB","dx","iu","eg"],function(a,b,d){var c=a.extend(d,function(a,b){d.call(this);this.G=a;this.b=b;this.bt=[];this.L=c.re;this.uf=s;this.LI=n;this.dg=s;this.hi=this.G.get("transitionDuration");this.oh=n});c.prototype.display=function(a,b){this.VH();if(this.dg!=a||this.L!=c.re)this.bt.push({video:a,startTime:b}),this.fX()};c.prototype.hide=function(){this.VH();this.bt.push({video:s,startTime:n});this.fX()};c.prototype.clear=function(){this.L=c.re;this.VH();this.mba();this.XL();this.b=
s};c.prototype.fia=function(a){if(this.L!=c.re&&(this.L==c.Ih||this.L==c.Gm))this.oh+=a,a=Math.min(1,this.oh/this.hi),this.L==c.Ih?this.b.ab(this.uf.va(),a):this.b.ab(this.dg.va(),1-a),this.oh<this.hi?this.p():this.L==c.Ih?this.aw():this.bw()};c.prototype.fX=function(){0<this.bt.length&&this.L==c.re&&this.Di()};c.prototype.Di=function(){this.dg&&this.trigger(new b(c.Po,{video:this.dg}));if("fade_out_fade_in"==this.G.get("transitionMode","blending")&&this.dg)this.Lm();else{var a=this.bt.shift();this.uf=
a.video;this.LI=a.startTime;this.uf?this.lp():this.dg&&this.Lm()}};c.prototype.lp=function(){this.f4();this.oh=0;this.L=c.Ih;this.p()};c.prototype.aw=function(){this.XL();this.dg=this.uf;this.uf=s;this.Li()};c.prototype.Lm=function(){this.oh=0;this.L=c.Gm;this.p()};c.prototype.bw=function(){this.XL();this.dg=s;this.Li()};c.prototype.Li=function(){this.L=c.re;this.dg&&this.trigger(new b(c.Qo,{video:this.dg}));0!=this.bt.length&&this.Di()};c.prototype.p=function(){this.trigger(new b(c.M))};c.prototype.VH=
function(){this.bt=[]};c.prototype.f4=function(){this.uf&&(this.b.Se(this.uf.va()),this.b.zP(this.uf.va(),this.LI||0),this.b.Ce(this.uf.va()),this.b.ab(this.uf.va(),0),this.trigger(new b(c.jG,{video:this.uf,startTime:this.LI})))};c.prototype.XL=function(){this.dg&&(this.b.removeItem(this.dg.va()),this.trigger(new b(c.Fz,{video:this.dg})),this.dg=s)};c.prototype.mba=function(){this.uf&&(this.b.removeItem(this.uf.va()),this.trigger(new b(c.Fz,{video:this.uf})),this.uf=s)};c.re="stopped";c.Ih="blending";
c.Gm="disolving";c.M="request frame";c.jG="video added";c.Fz="video removed";c.Qo="video show";c.Po="video hide";return c});
define("fo","require,gD,iu,bB,dx,dU".split(","),function(a){var b=a("gD"),d=a("iu"),c=a("bB"),f=a("dx"),j=a("dU"),g=b.extend(f,function(a){f.call(this);this.b=a;this.b.bind(d.ra,this.wy,this);this.b.bind(d.W,this.Pq,this,q);this.mc=this.Ki=s;this.Jc=B;this.yI=j.J});g.prototype.start=function(a,b){this.end();this.Ki=a;if(this.mc=a.va()){this.Jc&&this.b.B1(this.mc);this.hd(j.P);this.b.G1(this.mc);this.b.zP(this.mc,b||0)}};g.prototype.end=function(){this.stop();this.mc=this.Ki=s};g.prototype.clear=function(){this.b.unbind(d.W,
this.Pq,this,q);this.b.unbind(d.ra,this.wy,this);this.b=s};g.prototype.play=function(){if(this.mc){this.hd(j.P);this.b.G1(this.mc)}};g.prototype.pause=function(){if(this.mc){this.hd(j.Xb);this.b.Nha(this.mc)}};g.prototype.stop=function(){if(this.mc){this.hd(j.J);this.b.Tja(this.mc)}};g.prototype.so=function(){if(!this.Jc){this.Jc=q;this.mc&&this.b.B1(this.mc)}};g.prototype.Cr=function(){if(this.Jc){this.Jc=B;this.mc&&this.b.cka(this.mc)}};g.prototype.setTime=function(a){this.mc&&this.b.zP(this.mc,
a)};g.prototype.getTime=function(){if(this.mc)return this.b.CO(this.mc)};g.prototype.Pq=function(a){a=a.data.item;this.mc==a&&this.trigger(new c(g.Ro,{video:this.Ki,time:this.b.CO(a),duration:this.b.Dga(a)}))};g.prototype.wy=function(a){if(this.mc==a.data.item){if(this.Ki.get("loop")){this.setTime(0);this.play()}else this.hd(j.J);this.trigger(new c(g.Oo,{video:this.Ki}))}};g.prototype.hd=function(a){if(this.yI!=a){this.yI=a;this.trigger(new c(g.Bb,{state:this.yI}))}};g.Bb="playback state change";
g.Oo="video end";g.Ro="video time change";return g});define("ge",["gD","bB","dx","M"],function(a,b,d,c){var f=a.extend(d,function(a){d.call(this);this.Z=q;this.xf=B;this.b=a});f.prototype.clear=function(){this.Z=B;this.b=s};f.prototype.Dc=function(){this.xf||(this.xf=q,c.Dc(this.xe,this))};f.prototype.xe=function(a){this.Z&&(this.xf=B,this.trigger(new b(f.dG,{frameTime:a})),this.b.render())};f.dG="frame";return f});
define("eK","gD,bB,dx,is,hU,fo,ge".split(","),function(a,b,d,c,f,j,g){var h=a.extend(d,function(a,b){d.call(this);this.G=a;this.b=b;this.fc=new g(this.b);this.N=new f(this.G,this.b);this.Eb=new j(this.b);this.Sj=new c(this.b);this.fc.bind(g.dG,this.lX,this,q);this.N.bind(f.M,this.yb,this,q);this.N.bind(f.Po,this.oj,this,q);this.N.bind(f.Qo,this.dh,this,q);this.N.bind(f.jG,this.yX,this,q);this.N.bind(f.Fz,this.zX,this,q);this.Eb.bind(j.Bb,this.wd,this,q);this.Eb.bind(j.Oo,this.Pe,this,q);this.Eb.bind(j.Ro,
this.nx,this,q)});h.prototype.clear=function(){this.fc.clear();this.N.clear();this.Eb.clear();this.Sj.clear();this.fc.unbind(g.dG,this.lX,this);this.N.unbind(f.M,this.yb,this);this.N.unbind(f.Po,this.oj,this);this.N.unbind(f.Qo,this.dh,this);this.N.unbind(f.jG,this.yX,this);this.N.unbind(f.Fz,this.zX,this);this.Eb.unbind(j.Bb,this.wd,this);this.Eb.unbind(j.Oo,this.Pe,this);this.Eb.unbind(j.Ro,this.nx,this);this.G=this.b=this.Sj=this.Eb=this.N=this.fc=s};h.prototype.Lja=function(a,b){this.N.display(a,
b)};h.prototype.ur=function(){this.N.hide();this.Eb.end();this.Sj.end()};h.prototype.play=function(){this.Eb.play()};h.prototype.stop=function(){this.Eb.stop()};h.prototype.pause=function(){this.Eb.pause()};h.prototype.so=function(){this.Eb.so()};h.prototype.Cr=function(){this.Eb.Cr()};h.prototype.setTime=function(a){this.Eb.setTime(a)};h.prototype.getTime=function(){return this.Eb.getTime()};h.prototype.yb=function(){this.fc.Dc()};h.prototype.lX=function(a){this.N.fia(a.data.frameTime)};h.prototype.yX=
function(a){var b=a.data.video;this.Eb.start(b,a.data.startTime);this.Sj.start(b)};h.prototype.zX=E();h.prototype.dh=function(a){this.trigger(new b(h.Qo,{video:a.data.video}))};h.prototype.oj=function(a){this.trigger(new b(h.Po,{video:a.data.video}))};h.prototype.Pe=function(a){this.trigger(new b(h.Oo,{video:a.data.video}))};h.prototype.nx=function(a){this.trigger(new b(h.Ro,{video:a.data.video,time:a.data.time,duration:a.data.duration}))};h.prototype.wd=function(a){a=a.data.state;this.Sj.Sb(a);this.trigger(new b(h.Bb,
{state:a}))};h.Qo="videoShow";h.Po="videoHide";h.Oo="videoEnd";h.Ro="videoTimeChange";h.Bb="playbackStateChange";return h});
define("gy","gD,gU,iu,bB,cO,bU,eT,eg,dU,eK,hd,cD".split(","),function(a,b,d,c,f,j,g,h,e,l,p,o){b=a.extend(g,function(){g.call(this,"video");this.Cp=this.PM=this.Pq=this.Pf=B;this.n=this.b=s;this.Lb=this.Pb=0;this.Hc=a.qm(this.Id,this)});f.C("VideoPlayer",b).D("Object").K({buttonPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlay:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonStop:"or[array[or[Button, IconButton]], or[Button, IconButton]]",
buttonRestart:"or[array[or[Button, IconButton]], or[Button, IconButton]]",displayPlaybackBar:"bool",currentTime:"number",state:"enum[stopped, playing, paused]",video:"Video",viewerArea:"ViewerArea"}).si({seek:function(a){this.Ix(a)},play:function(){this.Us()},pause:function(){this.Ts()},stop:function(){this.hq()},restart:function(){this.gq()}}).Jb([g.nd]);b.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "startTime":this.PM=q;this.Hc();break;case "video":this.Pq=q;this.Hc();break;case "viewerArea":this.Pf=
q;this.Hc();break;case "displayPlaybackBar":this.Cp=q;this.Hc()}g.prototype.set.call(this,a,b)}};b.prototype.get=function(a,b){switch(a){case "currentTime":return this.n&&this.n.getTime()||0}return g.prototype.get.call(this,a,b)};b.prototype.Id=function(){if(this.Pf){this.Pf=B;this.yp();this.get("viewerArea")&&this.xp();this.nD(this.get("viewerArea"));this.Pq=q}var a=B;if(this.b&&(this.Pq||this.PM)){this.PM=this.Pq=B;this.Lb=this.Pb=0;var a=q,b=this.get("video"),c=this.get("startTime")||0;if(b){this.TC();
this.n.Lja(b,c)}else this.n.ur()}if(this.Cp){this.Cp=B;a=q}a&&this.qy()};b.prototype.Wx=function(){this.set("video",s)};b.prototype.xp=function(){if(this.b=o.create(this.get("application"))){this.b.T({left:0,top:0,bottom:0,right:0});var a=this.get("viewerArea");a.Ca(this.b);this.n=new l(a,this.b);this.n.bind(l.Qo,this.dh,this);this.n.bind(l.Po,this.oj,this);this.n.bind(l.Oo,this.Pe,this,q);this.n.bind(l.Ro,this.nx,this,q);this.n.bind(l.Bb,this.wd,this);this.get("application").bind(d.Qa("mute"),this.ex,
this);this.get("application").get("mute",B)&&this.n.so();this.qt(q)}};b.prototype.yp=function(){if(this.b){this.n.unbind(l.Qo,this.dh,this);this.n.unbind(l.Po,this.oj,this);this.n.unbind(l.Oo,this.Pe,this);this.n.unbind(l.Ro,this.nx,this);this.n.unbind(l.Bb,this.wd,this);this.n.clear();this.get("application").unbind(d.Qa("mute"),this.ex,this);this.b.getParent().removeChild(this.b);this.b=s;this.qt(B)}};b.prototype.ex=function(){this.b&&(this.get("application").get("mute",B)?this.n.so():this.n.Cr())};
b.prototype.wd=function(a){this.hd(a.data.state)};b.prototype.dh=function(a){this.YB(a.data.video)};b.prototype.oj=function(a){this.XB(a.data.video)};b.prototype.Pe=function(){this.get("video").trigger(new c(d.ra))};b.prototype.nx=function(a){this.Pb=a.data.time;this.Lb=a.data.duration;this.qy()};b.prototype.GC=function(a){this.Ix(a.data.position)};b.prototype.Ff=function(){this.n.play()};b.prototype.di=function(){this.n.stop()};b.prototype.fh=function(){this.n.pause()};b.prototype.Ix=function(a){this.n&&
this.n.setTime(a)};b.prototype.qy=function(){if(this.b){var a=this.b.getParent();this.Lb>0&&this.get("displayPlaybackBar")?a.T({playbackBarPosition:this.Pb,playbackBarDuration:this.Lb,playbackBarVisible:q}):a.set("playbackBarVisible",B)}};return b});
define("cW",["gD","cO","bU","cs"],function(a,b,d,c){a=a.extend(c,function(){c.call(this)});b.C("VideoPlayListItem",a).D("PlayListItem").K({media:"Video",player:"VideoPlayer",startTime:"number"});a.prototype.start=function(){c.prototype.start.call(this);var a=this.get("player");a&&(a.bind(d.Ze,this.dh,this),a.set("video",this.get("media")),a.set("startTime",this.get("startTime")))};a.prototype.stop=function(){var a=this.get("player");a&&(a.unbind(d.Ze,this.dh,this),a.get("video")==this.get("media")&&
a.set("video",s));c.prototype.stop.call(this)};a.prototype.dh=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(d.Ze,this.dh,this),this.get("player").bind(d.Ch,this.oj,this),this.Kt())};a.prototype.oj=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(d.Ch,this.oj,this),this.end())};return a});
define("ht",["require","gD","gU","cO","gO"],function(a){var b=a("gD"),d=a("gU"),c=a("cO"),f=a("gO"),a=b.extend(d,function(){d.call(this)});c.C("VideoResource",a).D("Object").K({mp4Url:"string",oggUrl:"string",webmUrl:"string",width:"number",height:"number"}).Hj(["mp4Url","oggUrl","webmUrl"]);a.prototype.hb=function(){var a=this.get("webmUrl"),b=this.get("oggUrl"),c=this.get("mp4Url");return c&&f.AE?c:a&&f.BE?a:b&&f.OO?b:c||a||b};return a});
define("co","require,jquery.mod,gD,iu,o,he,d,dI".split(","),function(a){var b=a("jquery.mod"),d=a("gD"),c=a("iu"),f=a("o"),j=a("he"),g=a("d"),h=a("dI"),a=d.extend(g,function(){g.call(this);this.Lc("WebFrame");this.Iw=this.Ep=this.Le=this.io=s;this.XK=this.XK.bind(this);this.Ll=this.Ll.bind(this);this.bind(c.pe,this.Baa,this,q);this.bind(c.me,this.Aaa,this,q)});a.prototype.ma=function(){g.prototype.ma.call(this);this.a("url");this.a("backgroundColor","#ffffff");this.a("insetBorder",B);this.a("scrollEnabled",
q)};a.prototype.Baa=function(){this.Lx("url")};a.prototype.Aaa=function(){this.Lx("url")};a.prototype.Sa=function(){g.prototype.Sa.call(this);if(!this.io){this.io=b("<div></div>");this.io.css({position:"absolute",left:0,top:0,width:"100%",height:"100%"});this.Pa().append(this.io)}if(!this.Le){this.Le=b("<iframe></iframe>");this.Le.css({position:"absolute",left:0,top:0});this.Le.attr("allowfullscreen","true");this.Le.attr("allow","fullscreen; accelerometer; gyroscope; magnetometer; vr");this.io.append(this.Le)}if(!this.Ep){this.Ep=
b("<div></div>");this.Ep.css({"text-shadow":"0 0 5px rgba(255,255,255,0.5)",display:"none",color:"#000000","font-weight":"300","font-family":"Tahoma, Geneva, sans-serif","font-size":f.ic()?"5vmin":"20px",position:"absolute",top:"50%",left:"50%","text-align":"center",transform:"translate(-50%, -50%)",width:"90%"});this.io.append(this.Ep)}};a.prototype.X=function(){if(this.h("url")){var a=this.f("url");a&&this.Ks?this.YY(a):this.YY("");this.j("url")}if(this.h("insetBorder")){this.f("insetBorder")?this.Le.attr("frameborder",
"1"):this.Le.attr("frameborder","0");this.j("insetBorder")}if(this.h("scrollEnabled")){if(this.f("scrollEnabled")){this.Le.attr("scrolling","auto");this.io.css({overflow:"auto","-webkit-overflow-scrolling":"touch"})}else{this.Le.attr("scrolling","no");this.io.css({overflow:"hidden","-webkit-overflow-scrolling":"auto"})}this.j("scrollEnabled")}g.prototype.X.call(this)};a.prototype.Md=function(){this.Le&&h.css(this.Le.get(0),{width:this.o+"px",height:this.A+"px"});g.prototype.Md.call(this)};a.prototype.YY=
function(a){if(this.Le.attr("src")!=a){this.gV();if(a){this.mda();this.T4()}else{this.TH();this.i_()}this.Le.attr("src",a)}};a.prototype.XK=function(){this.Iw=s;this.X9()&&this.dda()};a.prototype.Ll=function(){this.gV();this.TH();this.i_()};a.prototype.T4=function(){this.Le.on("load",this.Ll)};a.prototype.i_=function(){this.Le.off("load",this.Ll)};a.prototype.TH=function(){if(this.Iw){clearTimeout(this.Iw);this.Iw=s}};a.prototype.mda=function(){this.TH();this.Iw=setTimeout(this.XK.bind(this),3E3)};
a.prototype.X9=function(){if(window.location.protocol=="https:"){var a=this.Le.attr("src");if(j.parse(a).protocol!="https:")return q}return B};a.prototype.dda=function(){this.Ep.text("A secure web page served over HTTPS can not display insecure content served over HTTP.");this.Ep.show()};a.prototype.gV=function(){this.Ep.hide()};return a});
define("bu",["gD","co","cO"],function(a,b,d){a=a.extend(b,function(){b.call(this)});d.C("WebFrame",a).D("UIComponent").K({url:"string",insetBorder:"bool",scrollEnabled:"bool"}).Hj(["url"]);return a});define("cn",["cu","gD","ig","c"],function(a,b,d,c){var f=b.extend(d,function(){d.call(this)});f.Ya={layout:c.ne};a.defaults(f.Ya,d.Ya);f.prototype.ma=function(){this.Ph(f.Ya)};return f});
define("hk","cu,gD,iu,bB,hy,c,ig,cn,eb,dr,d,hM,hZ,fg".split(","),function(a,b,d,c,f,j,g,h,e,l,p,o,r,m){var t=b.extend(e,function(){e.call(this);this.Lc("Window");this.Nm=this.$r=this.by=this.gg=s;this.CH=new g;this.ss=s;this.MJ=this.LJ=0;this.pZ=this.qZ=B;this.RN=this.SN=n;for(var a in t.Vka)this.Lx(a);this.bind(d.Nb,this.afa,this);this.bind(d.So,this.Zea,this);this.bind(d.Or,this.bfa,this);this.bind(d.ga,this.Yea,this);this.VD=0;this.tc=new g;this.tc.T({visible:B,includeInLayout:B,layout:"absolute",
height:"100%",width:"100%",backgroundOpacity:0,contentOpaque:B});this.tc.bind(d.Nb,this.J_,this);this.tc.bind(d.Or,this.Wea,this);this.tc.bind(d.So,this.I_,this);this.tc.bind(d.So,this.I_,this);this.tc.bind(d.ga,this.Vea,this);this.tc.Ca(this)});t.prototype.set=function(a,b){switch(a){case "maxWidth":this.SN=b;this.ND();break;case "maxHeight":this.RN=b;this.ND();break;case "children":this.CH.set(a,b);break;case "shadow":this.qZ=b;this.H_();break;default:e.prototype.set.call(this,a,b)}};t.prototype.show=
function(b,c){this.ND(b);this.set("visible",B);this.tc.set("visible",B);this.H4();c&&this.yfa();b.Ca(this.tc);var d=this;a.defer(function(){d.tc.set("visible",q)})};t.prototype.H4=function(){var a=this.f("modal"),b=this.f("veilShowEffect"),c=this.f("veilHideEffect");a&&b?this.tc.set("showEffect",b):this.tc.set("showEffect",s);a&&c?this.tc.set("hideEffect",c):this.tc.set("hideEffect",s)};t.prototype.hide=function(){this.VD=0;this.lD(B);this.set("visible",B)};t.prototype.yfa=function(){this.set("centerX",
0);this.set("centerY",0)};t.prototype.get=function(a){return a=="children"?this.CH.get(a):e.prototype.get.call(this,a)};t.wR={headerBackgroundOpacity:"backgroundOpacity",headerBackgroundColor:"backgroundColor",headerBackgroundColorRatios:"backgroundColorRatios",headerBackgroundColorDirection:"backgroundColorDirection",headerBorderSize:"borderSize",headerBorderLeftSize:"borderLeftSize",headerBorderTopSize:"borderTopSize",headerBorderRightSize:"borderRightSize",headerBorderBottomSize:"borderBottomSize",
headerBorderColor:"borderColor",headerBorderLeftColor:"borderLeftColor",headerBorderTopColor:"borderTopColor",headerBorderRightColor:"borderRightColor",headerBorderBottomColor:"borderBottomColor",headerHeight:"height",headerPaddingLeft:"paddingLeft",headerPaddingTop:"paddingTop",headerPaddingRight:"paddingRight",headerPaddingBottom:"paddingBottom",headerVerticalAlign:"verticalAlign"};t.vR=a(t.wR).keys();t.UG={borderRadius:"borderTopRadius",borderTopRadius:"borderTopRadius",borderLeftRadius:"borderTopLeftRadius",
borderRightRadius:"borderTopRightRadius",borderTopLeftRadius:"borderTopLeftRadius",borderTopRightRadius:"borderTopRightRadius"};t.TG=["borderLeftRadius","borderRightRadius","borderTopLeftRadius","borderTopRightRadius","borderTopRadius","borderRadius"];t.PR={title:"text",titleFontFamily:"fontFamily",titleFontSize:"fontSize",titleFontColor:"fontColor",titleFontWeight:"fontWeight",titleFontStyle:"fontStyle",titlePaddingLeft:"paddingLeft",titlePaddingTop:"paddingTop",titlePaddingRight:"paddingRight",
titlePaddingBottom:"paddingBottom",titleTextDecoration:"textDecoration",titleTextShadowColor:"textShadowColor",titleTextShadowHorizontalLength:"textShadowHorizontalLength",titleTextShadowVerticalLength:"textShadowVerticalLength",titleTextShadowBlurRadius:"textShadowBlurRadius",titleTextShadowOpacity:"textShadowOpacity"};t.OR=a(t.PR).keys();t.qR={closeButtonBackgroundColor:"backgroundColor",closeButtonBackgroundColorDirection:"backgroundColorDirection",closeButtonBackgroundColorRatios:"backgroundColorRatios",
closeButtonBackgroundOpacity:"backgroundOpacity",closeButtonBorderColor:"borderColor",closeButtonBorderRadius:"borderRadius",closeButtonBorderSize:"borderSize",closeButtonHeight:"height",closeButtonIconColor:"iconColor",closeButtonIconHeight:"iconHeight",closeButtonIconLineWidth:"iconLineWidth",closeButtonIconWidth:"iconWidth",closeButtonOpacity:"opacity",closeButtonWidth:"width",closeButtonPaddingBottom:"paddingBottom",closeButtonPaddingLeft:"paddingLeft",closeButtonPaddingRight:"paddingRight",closeButtonPaddingTop:"paddingTop",
closeButtonRollOverBackgroundColor:"rollOverBackgroundColor",closeButtonRollOverBackgroundColorDirection:"rollOverBackgroundColorDirection",closeButtonRollOverBackgroundColorRatios:"rollOverBackgroundColorRatios",closeButtonRollOverBackgroundOpacity:"rollOverBackgroundOpacity",closeButtonRollOverBorderColor:"rollOverBorderColor",closeButtonRollOverBorderSize:"rollOverBorderSize",closeButtonRollOverIconColor:"rollOverIconColor",closeButtonRollOverIconLineWidth:"rollOverIconLineWidth",closeButtonRollOverOpacity:"rollOverOpacity",
closeButtonPressedBackgroundColor:"pressedBackgroundColor",closeButtonPressedBackgroundColorDirection:"pressedBackgroundColorDirection",closeButtonPressedBackgroundColorRatios:"pressedBackgroundColorRatios",closeButtonPressedBackgroundOpacity:"pressedBackgroundOpacity",closeButtonPressedBorderColor:"pressedBorderColor",closeButtonPressedBorderSize:"pressedBorderSize",closeButtonPressedIconColor:"pressedIconColor",closeButtonPressedIconLineWidth:"pressedIconLineWidth",closeButtonPressedOpacity:"pressedOpacity"};
t.pR=a(t.qR).keys();t.sR={footerBackgroundOpacity:"backgroundOpacity",footerBackgroundColor:"backgroundColor",footerBackgroundColorRatios:"backgroundColorRatios",footerBackgroundColorDirection:"backgroundColorDirection",footerBorderSize:"borderSize",footerBorderLeftSize:"borderLeftSize",footerBorderTopSize:"borderTopSize",footerBorderRightSize:"borderRightSize",footerBorderBottomSize:"borderBottomSize",footerBorderColor:"borderColor",footerBorderLeftColor:"borderLeftColor",footerBorderTopColor:"borderTopColor",
footerBorderRightColor:"borderRightColor",footerBorderBottomColor:"borderBottomColor",footerHeight:"height"};t.rR=a(t.sR).keys();t.uR={borderRadius:"borderBottomRadius",borderBottomRadius:"borderBottomRadius",borderLeftRadius:"borderBottomLeftRadius",borderRightRadius:"borderBottomRightRadius",borderBottomLeftRadius:"borderBottomLeftRadius",borderBottomRightRadius:"borderBottomRightRadius"};t.tR=["borderLeftRadius","borderRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderBottomRadius",
"borderRadius"];t.mR={bodyBackgroundOpacity:"backgroundOpacity",bodyBackgroundColor:"backgroundColor",bodyBackgroundColorRatios:"backgroundColorRatios",bodyBackgroundColorDirection:"backgroundColorDirection",bodyBorderSize:"borderSize",bodyBorderLeftSize:"borderLeftSize",bodyBorderTopSize:"borderTopSize",bodyBorderRightSize:"borderRightSize",bodyBorderBottomSize:"borderBottomSize",bodyBorderColor:"borderColor",bodyBorderLeftColor:"borderLeftColor",bodyBorderTopColor:"borderTopColor",bodyBorderRightColor:"borderRightColor",
bodyBorderBottomColor:"borderBottomColor",bodyPaddingLeft:"paddingLeft",bodyPaddingTop:"paddingTop",bodyPaddingRight:"paddingRight",bodyPaddingBottom:"paddingBottom",overflow:"overflow",scrollBarColor:"scrollBarColor",scrollBarWidth:"scrollBarWidth",scrollBarMargin:"scrollBarMargin",scrollBarOpacity:"scrollBarOpacity",gap:"gap"};t.lR=a(t.mR).keys();t.nR={layout:"layout",horizontalAlign:"horizontalAlign",verticalAlign:"verticalAlign"};t.M3=a(t.nR).keys();t.RR={veilOpacity:"backgroundOpacity",veilColor:"backgroundColor",
veilColorRatios:"backgroundColorRatios",veilColorDirection:"backgroundColorDirection"};t.QR=a(t.RR).keys();t.Ya=function(){var b={modal:B,visible:B,centerX:0,centerY:0,veilShowEffect:n,veilHideEffect:n};a.defaults(b,g.Ya);for(var c=[].concat(t.vR,t.OR,t.pR,t.lR,t.rR,t.QR),d=0;d<c.length;d++)b[c[d]]=n;return b}();t.prototype.ma=function(){this.Ph(t.Ya)};t.prototype.Sa=function(){e.prototype.Sa.call(this);if(this.gg==s){this.gg=new h;this.gg.set("width","100%");this.gg.bind(d.wb,this.b9,this);this.Ca(this.gg)}if(this.by==
s){this.by=new m;this.by.set("width","100%");this.gg.Ca(this.by)}if(this.$r==s){this.$r=new l;this.$r.T({horizontalAlign:f.md,verticalAlign:f.Ed});this.$r.bind(d.ga,this.O5,this);this.gg.Ca(this.$r)}if(this.Nm==s){this.Nm=this.CH;this.Nm.T({width:"100%",height:"100%"});this.Ca(this.Nm)}if(this.ss==s){this.ss=new g;this.ss.set("width","100%");this.Ca(this.ss)}};t.prototype.Vea=function(){this.VD++;setTimeout(function(){this.VD>0&&this.hide()}.bind(this),100)};t.prototype.Yea=function(){this.VD--};
t.prototype.O5=function(){this.hide()};t.prototype.b9=function(a){this.LJ=a.pageX;this.MJ=a.pageY;this.$a().bind(d.jc,this.Y_,this,q);this.$a().bind(d.xb,this.Z_,this,q)};t.prototype.Y_=function(a){this.set("centerX",this.get("centerX")+(a.pageX-this.LJ));this.set("centerY",this.get("centerY")+(a.pageY-this.MJ));this.LJ=a.pageX;this.MJ=a.pageY;this.G_()};t.prototype.Z_=function(){this.$a().unbind(d.jc,this.Y_,this);this.$a().unbind(d.xb,this.Z_,this)};t.prototype.J_=function(){this.ND()};t.prototype.Wea=
function(){this.set("visible",q)};t.prototype.I_=function(){this.tc.unbind(d.Nb,this.J_,this);var a=this.tc.getParent();a&&a.removeChild(this.tc);this.trigger(new c(d.Lu))};t.prototype.afa=function(){this.G_()};t.prototype.bfa=function(){this.lD(q)};t.prototype.Zea=function(){this.tc.set("visible",B)};t.prototype.lD=function(a){this.pZ=a;this.H_()};t.prototype.H_=function(){e.prototype.set.call(this,"shadow",this.pZ&&this.qZ)};t.prototype.ND=function(a){a||(a=this.V);this.SN!==n?e.prototype.set.call(this,
"maxWidth",this.SN):a?e.prototype.set.call(this,"maxWidth",a.aa()):e.prototype.set.call(this,"maxWidth",n);this.RN!==n?e.prototype.set.call(this,"maxHeight",this.RN):a?e.prototype.set.call(this,"maxHeight",a.la()):e.prototype.set.call(this,"maxHeight",n)};t.prototype.G_=function(){var a=this.tc.aa(),b=this.aa(),c=this.get("centerX"),b=a*0.5+c-b*0.5,d=this.gg.Bj(),e=this.gg.aa(),f=Math.min(e,30),a=a-d-f,d=-(d+e-f);b<d?this.set("centerX",c+(d-b)):b>a&&this.set("centerX",c-(b-a));a=this.tc.la();b=this.la();
c=this.get("centerY");b=a*0.5+c-b*0.5;d=this.gg.dr();e=this.gg.la();f=Math.min(e,5);a=a-d-f;d=-(d+e-f);b<d?this.set("centerY",c+(d-b)):b>a&&this.set("centerY",c-(b-a))};t.prototype.X=function(){this.eb(t.vR,t.wR,[this.gg],q,q);this.eb(t.TG,t.UG,[this.gg],q,B);this.get("headerHeight")===0?this.eb(t.TG,t.UG,[this.Nm],q,B):this.eb(t.TG,t.UG,[this.gg],q,B);this.eb(t.OR,t.PR,[this.by],q,q);this.eb(t.pR,t.qR,[this.$r],q,q);this.eb(t.lR,t.mR,[this.Nm],q,q);this.eb(t.M3,t.nR,[this.Nm],q,B);this.eb(t.rR,t.sR,
[this.ss],q,q);this.get("footerHeight")===0?this.eb(t.tR,t.uR,[this.Nm],q,B):this.eb(t.tR,t.uR,[this.ss],q,B);if(this.f("modal")){this.eb(t.QR,t.RR,[this.tc],q,q);this.tc.set("contentOpaque",q)}else{this.tc.set("backgroundOpacity",0);this.tc.set("contentOpaque",B)}this.T({layout:j.qe,horizontalAlign:f.md,verticalAlign:f.Ed});e.prototype.X.call(this);this.Rh.LP(0)};return t});
define("cv",["cu","gD","hk","cO","iu"],function(a,b,d,c,f){a=b.extend(d,function(){d.call(this)});c.C("Window",a).D("Container").K({modal:"bool",headerBackgroundOpacity:"number",headerBackgroundColor:"or[array[color], color]",headerBackgroundColorRatios:"array[number]",headerBackgroundColorDirection:"enum[horizontal, vertical]",headerBorderSize:"number",headerBorderLeftSize:"number",headerBorderTopSize:"number",headerBorderRightSize:"number",headerBorderBottomSize:"number",headerBorderColor:"color",
headerBorderLeftColor:"color",headerBorderTopColor:"color",headerBorderRightColor:"color",headerBorderBottomColor:"color",headerHeight:"number",headerPaddingLeft:"number",headerPaddingTop:"number",headerPaddingRight:"number",headerPaddingBottom:"number",headerVerticalAlign:"enum[bottom, middle, top]",title:"string",titleFontFamily:"string",titleFontSize:"or[number, size]",titleFontColor:"color",titleFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",titleFontStyle:"enum[italic, normal]",
titlePaddingLeft:"number",titlePaddingTop:"number",titlePaddingRight:"number",titlePaddingBottom:"number",titleTextDecoration:"enum[underline, overline, line-through, none]",titleTextShadowBlurRadius:"number",titleTextShadowColor:"color",titleTextShadowHorizontalLength:"number",titleTextShadowOpacity:"number",titleTextShadowVerticalLength:"number",closeButtonBackgroundColor:"or[array[color], color]",closeButtonBackgroundColorDirection:"enum[horizontal, vertical]",closeButtonBackgroundColorRatios:"array[number]",
closeButtonBackgroundOpacity:"number",closeButtonBorderColor:"color",closeButtonBorderRadius:"number",closeButtonBorderSize:"number",closeButtonHeight:"number",closeButtonIconColor:"color",closeButtonIconHeight:"number",closeButtonIconLineWidth:"number",closeButtonIconWidth:"number",closeButtonOpacity:"number",closeButtonWidth:"number",closeButtonPaddingBottom:"number",closeButtonPaddingLeft:"number",closeButtonPaddingRight:"number",closeButtonPaddingTop:"number",closeButtonRollOverBackgroundColor:"or[array[color], color]",
closeButtonRollOverBackgroundColorDirection:"enum[horizontal, vertical]",closeButtonRollOverBackgroundColorRatios:"array[number]",closeButtonRollOverBackgroundOpacity:"number",closeButtonRollOverBorderColor:"color",closeButtonRollOverBorderSize:"number",closeButtonRollOverIconColor:"color",closeButtonRollOverIconLineWidth:"number",closeButtonRollOverOpacity:"number",closeButtonPressedBackgroundColor:"or[array[color], color]",closeButtonPressedBackgroundColorDirection:"enum[horizontal, vertical]",
closeButtonPressedBackgroundColorRatios:"array[number]",closeButtonPressedBackgroundOpacity:"number",closeButtonPressedBorderColor:"color",closeButtonPressedBorderSize:"number",closeButtonPressedIconColor:"color",closeButtonPressedIconLineWidth:"number",closeButtonPressedOpacity:"number",footerBackgroundOpacity:"number",footerBackgroundColor:"or[array[color], color]",footerBackgroundColorRatios:"array[number]",footerBackgroundColorDirection:"enum[horizontal, vertical]",footerBorderSize:"number",footerBorderLeftSize:"number",
footerBorderTopSize:"number",footerBorderRightSize:"number",footerBorderBottomSize:"number",footerBorderColor:"color",footerBorderLeftColor:"color",footerBorderTopColor:"color",footerBorderRightColor:"color",footerBorderBottomColor:"color",footerHeight:"number",bodyBackgroundOpacity:"number",bodyBackgroundColor:"or[array[color], color]",bodyBackgroundColorRatios:"array[number]",bodyBackgroundColorDirection:"enum[horizontal, vertical]",bodyBorderSize:"number",bodyBorderLeftSize:"number",bodyBorderTopSize:"number",
bodyBorderRightSize:"number",bodyBorderBottomSize:"number",bodyBorderColor:"color",bodyBorderLeftColor:"color",bodyBorderTopColor:"color",bodyBorderRightColor:"color",bodyBorderBottomColor:"color",bodyPaddingLeft:"number",bodyPaddingTop:"number",bodyPaddingRight:"number",bodyPaddingBottom:"number",veilOpacity:"number",veilColor:"or[array[color], color]",veilColorRatios:"array[number]",veilColorDirection:"enum[horizontal, vertical]",veilHideEffect:"Effect",veilShowEffect:"Effect"}).xm(["titleFontSize"]).si({show:a.prototype.show,
hide:a.prototype.hide}).Jb([f.Lu]);return a});
define("hA","require,jquery.mod,cu,iu,ew,bB,dx,M,il,bd,gf,eg,o,gD".split(","),function(a){function b(a){this.source=a;this.width=this.source.get("width");this.height=this.source.get("height");this.url=this.source.get("url");this.iu=this.source.get("grayscale");this.pm=new o(j.pf)}var d=a("jquery.mod"),c=a("cu"),f=a("iu"),j=a("ew"),g=a("bB"),h=a("dx"),e=a("M"),l=a("il"),p=a("bd"),o=a("gf"),r=a("eg"),m=a("o"),t=a("gD"),u=t.extend(h,function(){h.call(this);this.pa=s;this.be=[];this.Xg=[];this.Ga=this.Aa=
this.Oa=this.Ka=100;this.Bc=1;this.Sm=this.Rm=0.5;this.ia=1;this.$e=this.Me=s;this.wC=B;this.qI={};this.gs={};this.gs.low={};this.gs.hight={};if(m.sh()==m.Am){this.gs.low.transform="translateZ(0)";this.gs.hight.transform=""}this.Z=B;this.Zd="inherit";this.u=d("<div/>").css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"});this.mw=s;this.pc=t.qm(this.Wa,this)});u.prototype.na=N("u");u.prototype.oz=function(a){if(this.Vb!=a){this.Vb=a;this.qH(1);this.pc()}};u.prototype.Hia=function(a){if(this.Zd!=
a){this.Zd=a;this.$e&&this.$e.css("cursor",this.Zd);this.Me&&this.Me.css("cursor",this.Zd)}};u.prototype.Sia=function(a){if(this.be!=a){this.SH();this.pa=s;if(this.Me){this.Me.detach();this.Me=s}if(this.$e){this.$e.detach();this.$e=s}if(this.nc)this.nc=s;this.SH();this.wC=B;c(this.Xg).each(function(a){a.pm.cancel();a.pm.unbind(f.ib,this.QV,this)},this);a=(this.be=a)&&a.get("levels")||[];this.Xg=c(a).map(function(a){a=new b(a);a.pm.bind(f.ib,this.QV,this);return a},this);if(a=this.k8()){this.Aa=a.width;
this.Ga=a.height}else this.Ga=this.Aa=100;this.Sm=this.Rm=0.5;this.qH(1);this.pc()}};u.prototype.Ok=function(a,b){if(this.Ka!=a||this.Oa!=b){this.Ka=a;this.Oa=b;this.pc()}};u.prototype.Iia=function(a,b){if(this.AT!=a||this.zT!=b){this.AT=a;this.zT=b;this.pc()}};u.prototype.je=function(a){if(this.Z!=a){this.Z=a;this.pc()}};u.prototype.move=function(a,b){var c=this.Bc*this.ia;this.Rm=this.Rm+a/(this.Aa*c);this.Sm=this.Sm+b/(this.Ga*c);this.UC()};u.prototype.gf=N("ia");u.prototype.setScale=function(a){this.qH(Math.max(1,
Math.min(1/this.Bc,a)));this.pa&&this.pa.width<this.ia*this.Bc*this.Aa&&this.pa.width<this.Aa?this.Wa():this.UC()};u.prototype.s1=function(a){if(!this.Me)return B;var b=this.Me.offset(),c=a.pageX-b.left,a=a.pageY-b.top;return c>=0&&a>=0&&c<this.Me.width()&&a<this.Me.height()};u.prototype.Wa=function(){if(this.Z){this.Mea();var a=this.s8();if(a&&a.pm.th()){if(a!=this.pa){if(!this.pa){this.pc();this.wC=q}this.P6(a);this.pa=a}this.dZ(s)}else this.dZ(a);this.UC()}};u.prototype.Mea=function(){switch(this.Vb){case r.Jj:scaleFactor=
this.Ka/this.Aa;break;case r.Yf:scaleFactor=this.Oa/this.Ga;break;case r.Tk:scaleFactor=this.Aa*this.Oa>this.Ga*this.Ka?this.Oa/this.Ga:this.Ka/this.Aa;break;case r.Q2:scaleFactor=Math.min(this.AT/this.Aa,this.zT/this.Ga);break;default:scaleFactor=this.Aa*this.Oa>this.Ga*this.Ka?this.Ka/this.Aa:this.Oa/this.Ga}this.F4()};u.prototype.QV=function(){this.pc()};u.prototype.P6=function(a){if(this.$e){this.uM(this.$e,1);this.Me&&this.Me.detach();this.Me=this.$e}this.$e=this.f6(a);this.uM(this.$e,0);this.u.append(this.$e);
this.nc=this.e6();this.qI={}};u.prototype.s8=function(){return this.pa?this.I7(this.ia*this.Bc*this.Aa):this.I8()};u.prototype.dZ=function(a){c(this.Xg).each(function(b){b==a?b.pm.hb()!=b.url&&b.pm.load(b.url):b.pm.th()||b.pm.cancel()})};u.prototype.k8=function(){return c(this.Xg).reduce(function(a,b){a||(a=b);if(b.width>a.width||b.width==a.width&&!b.iu&&a.iu)a=b;return a},s)};u.prototype.I8=function(){return c(this.Xg).reduce(function(a,b){a||(a=b);if(b.width<a.width||b.width==a.width&&b.iu&&!a.iu)a=
b;return a},s)};u.prototype.I7=function(a){return c(this.Xg).reduce(function(b,c){b||(b=c);if(c.width>=a&&b.width<a||c.width>=a&&c.width<b.width||c.width<a&&c.width>b.width||!c.iu&&b.iu)b=c;return b},s)};u.prototype.f6=function(a){a=d(a.pm.Td(q));a.css({position:"absolute",cursor:this.Zd,"pointer-events":"none"});return a};u.prototype.e6=function(){return new l("linear",[new p("alpha",0,1)],200)};u.prototype.UC=function(){e.Dc(function(a){this.RC(a,"low")},this)};u.prototype.xO=function(){return this.Aa*
this.ia*this.Bc};u.prototype.wO=function(){return this.Ga*this.ia*this.Bc};u.prototype.F0=function(){var a=this.xO();return a>this.Ka?Math.max(this.Ka-a,Math.min(0,this.Ka*0.5-a*this.Rm)):(this.Ka-a)*0.5};u.prototype.G0=function(){var a=this.wO();return a>this.Oa?Math.max(this.Oa-a,Math.min(0,this.Oa*0.5-a*this.Sm)):(this.Oa-a)*0.5};u.prototype.RC=function(a,b){var b=b||"low",c=this.xO(),d=this.F0(),e=this.wO(),h=this.G0();this.Rm=(this.Ka*0.5-d)/c;this.Sm=(this.Oa*0.5-h)/e;var c={left:Math.round(d)+
"px",top:Math.round(h)+"px",width:Math.round(c)+"px",height:Math.round(e)+"px",display:"block"},j;for(j in this.gs[b])c[j]=this.gs[b][j];if(this.qI!=c){this.Me&&this.Me.css(c);this.$e&&this.$e.css(c);this.qI=c}this.SH();if(this.nc){this.nc.mb(a);this.uM(this.$e,this.nc.La("alpha"));if(this.nc.De()){this.nc=s;this.Me&&this.Me.detach();this.Me=this.$e;this.$e=s}this.UC()}else b=="low"&&this.lda();if(!this.nc&&this.wC){this.wC=B;this.trigger(new g(f.ib))}};u.prototype.uM=function(a,b){a.css({opacity:b,
filter:"alpha(opacity="+Math.round(b*100)+")","-ms-filter":"alpha(opacity="+Math.round(b*100)+")"})};u.prototype.SH=function(){if(this.mw!=s){clearTimeout(this.mw);this.mw=s}};u.prototype.lda=function(){var a=this;this.mw=setTimeout(function(){a.mw=s;a.RC(50,"hight")},50)};u.prototype.qH=function(a){if(this.ia!=a){this.ia=a;this.Xda()}};u.prototype.F4=function(){var a=scaleFactor;if(this.Bc!=a)this.Bc=a};u.prototype.Xda=function(){this.trigger(new g(u.Qu,{scale:this.ia}))};u.Qu="scaleChange";return u});
define("fZ","require,jquery.mod,iu,bB,hA,gD,d,C".split(","),function(a){a("jquery.mod");var b=a("iu"),d=a("bB"),c=a("hA"),f=a("gD"),j=a("d"),g=a("C"),h=f.extend(j,function(){j.call(this);this.Lc("ZoomImage");this.oq=this.rj=n;this.ef=B;this.hY=n;this.rV=this.ia;this.vy=s;this.b=new c;this.b.bind(b.ib,this.paa,this);this.b.bind(c.Qu,this.saa,this);this.Pa().append(this.b.na());this.bind(b.Nb,this.rb,this,q);this.bind(b.pe,this.lj,this,q);this.bind(b.me,this.hj,this,q);this.bind(b.wb,this.qc,this,q);
this.bind(b.jc,this.ak,this,q);this.bind(b.xb,this.bk,this,q);this.bind(b.To,this.$p,this,q);this.bind(b.Lr,this.Hp,this,q)});h.prototype.set=function(a,b){switch(a){case "scale":this.b.setScale(b);b=this.b.gf();break;case "imageLeft":case "imageTop":case "imageWidth":case "imageHeight":return}j.prototype.set.call(this,a,b)};h.prototype.get=function(a){switch(a){case "scale":return this.b.gf();case "imageLeft":return this.b.F0();case "imageTop":return this.b.G0();case "imageWidth":return this.b.xO();
case "imageHeight":return this.b.wO()}return j.prototype.get.call(this,a)};h.prototype.ma=function(){j.prototype.ma.call(this);this.a("image");this.a("scaleMode");this.a("customHeight");this.a("customWidth");this.a("imageCursor");this.a("imageLeft");this.a("imageTop");this.a("imageWidth");this.a("imageHeight")};h.prototype.X=function(){if(this.h("scaleMode")){this.b.oz(this.f("scaleMode"));this.j("scaleMode")}if(this.h("image")){this.b.Sia(this.f("image"));this.j("image");this.rV=this.ia}if(this.h("customHeight")||
this.h("customWidth")){this.j("customHeight");this.j("customWidth");this.rb()}if(this.h("imageCursor")){this.j("imageCursor");this.b.Hia(this.Fa.DI.B0(this.get("imageCursor")))}j.prototype.X.call(this)};h.prototype.rb=function(){var a=this.aa(),b=this.la(),c=this.get("customWidth","100%"),d=g.oi(c),c=d!==n?a*d/100:c,d=this.get("customHeight","100%"),f=g.oi(d);this.b.Iia(c,f!==n?b*f/100:d);this.b.Ok(a,b)};h.prototype.lj=function(){this.b.je(q)};h.prototype.hj=function(){this.b.je(B)};h.prototype.qc=
function(a){this.rj=a.x;this.oq=a.y;this.ef=q;this.hY=this.b.s1(a)};h.prototype.ak=function(a){if(this.ef){this.GN();this.b.move(-(a.x-this.rj),-(a.y-this.oq));this.rj=a.x;this.oq=a.y}};h.prototype.bk=function(a){this.ef=B;!this.hY&&!this.b.s1(a)&&this.trigger(new d(h.eQ))};h.prototype.$p=function(a){this.GN();this.b.setScale((1+a.Ot/20)*this.b.gf())};h.prototype.Hp=function(a){this.GN();this.b.setScale(a.scale/this.rV)};h.prototype.paa=function(){this.trigger(new d(b.ib))};h.prototype.saa=function(){j.prototype.set.call(this,
"scale",this.b.gf());this.trigger(new d(h.Qu))};h.prototype.GN=function(){if(this.vy){clearTimeout(this.vy);this.vy=s}else this.trigger(new d(h.Dd));this.vy=setTimeout(function(){this.vy=s;this.trigger(new d(h.Cd))}.bind(this),300)};h.eQ="backgroundClick";h.Qu="scaleChange";h.Dd="userInteractionStart";h.Cd="userInteractionEnd";return h});
define("ia",["gD","iu","fZ","cO"],function(a,b,d,c){a=a.extend(d,function(){d.call(this)});c.C("ZoomImage",a).D("UIComponent").K({scaleMode:"enum[fit_inside, fit_outside, fit_to_width, fit_to_height, custom]",customHeight:"or[number,percent]",customWidth:"or[number,percent]",image:"ImageResource",imageCursor:"enum[default, hand]",imageHeight:"number",imageLeft:"number",imageTop:"number",imageWidth:"number",scale:"number"}).Jb([d.eQ,d.Qu,d.Dd,d.Cd,b.ib]);return Image});
define("fl","fr,cz,cI,ii,fE,dn,et,fq,gT,in,dX,ey,eS,di,bb,hV,fH,hm,dd,l,cp,cr,fJ,hI,eH,gY,dW,z,bK,n,gN,G,fW,Y,Q,hH,if,cP,ha,fm,bf,ij,hE,gt,B,iK,cy,dz,ie,k,bk,ev,hg,eW,iJ,dY,V,iG,bh,gL,eU,iE,dw,im,bD,gH,dm,fz,eF,ib,dH,gM,hL,er,gb,iq,ds,eX,du,cs,D,gW,iB,cR,dL,gv,bt,eL,cK,id,K,dG,hu,fw,fT,ed,bn,s,cj,bi,fQ,fA,ir,dl,dT,iA,gy,cW,ht,ba,bu,cv,ia".split(","),P(q));
define("dD","require,cu,jquery.mod,gD,cO,fl,he".split(","),function(a){function b(a,b){this.type=a;this.stack=b}function d(){}var c=a("cu"),f=a("jquery.mod"),j=a("gD"),g=a("cO");a("fl");a("he");d.prototype.Lha=function(a,b,c){this.aJ=[];this.tb=this.ht(a);this.tn=n;if(this.tb.im.H0()){this.tn=this.aU(this.tb,h.Gh);this.h6(this.tn,this.tb,b,c);this.B4(this.tb);this.z4(this.tb,this.tn);this.C4(this.tn,this.tb);this.S4(this.tn,this.tb)}else this.Bi("Invalid root class",[]);return this.aJ.length==0};
d.prototype.$a=function(){return this.tb.Nc};d.prototype.ht=function(a,b){b=b||[];return c(a).isArray()?this.eba(a,b):f.isPlainObject(a)&&a["class"]?this.hba(a,b):f.isPlainObject(a)?this.fba(a,b):c(a).isFunction()?this.gba(a,b):this.iba(a,b)};d.prototype.eba=function(a,b){for(var c=[],d=0;d<a.length;d++){b.push("Item["+d+"]");c.push(this.ht(a[d],b));b.pop()}return new e(b.slice(),c)};d.prototype.hba=function(a,b){var c=a["class"],d=g.mo(a["class"]);if(d){var e,c={},f={},j;for(j in a){b.push(j);var l=
a[j];switch(j){case "class":break;case "scripts":e=this.ht(l,b);break;default:d.hasAttribute(j)?c[j]=this.ht(l,b):d.c1(j)||d.e1(j)?f[j]=this.ht(l,b):this.Bi(d.Wt()+" object doesn't have any attribute named "+j,b)}b.pop()}return new h(b.slice(),d,a.id,c,f,e)}this.Bi("Undefined class name: "+c,b.slice());return new o(b.slice(),s)};d.prototype.fba=function(a,b){var c={},d;for(d in a){b.push(d);c[d]=this.ht(a[d],b);b.pop()}return new l(b.slice(),c)};d.prototype.gba=function(a,b){return new p(b.slice(),
a)};d.prototype.iba=function(a,b){return new o(b.slice(),a)};d.prototype.aU=function(a,b){for(var c=!b||a.type==b?[a]:[],d=0,e=a.sb();d<e.length;d++)c=c.concat(this.aU(e[d],b));return c};d.prototype.h6=function(a,b,c,d){b.Nc=b.im.jo(s,d,[c]);b.Nc.set("application",b.Nc);for(c=0;c<a.length;c++){var e=a[c];if(e!=b)e.Nc=e.im.jo(b.Nc,d)}};d.prototype.B4=function(a){if(a.scripts)if(a.scripts.type==l.Gh)for(var b in a.scripts.value)this.A4(a,b);else this.Bi("Invalid content.",a.scripts.stack)};d.prototype.A4=
function(a,b){var d=a.Nc,e=a.scripts.value[b];c(d[b]).isUndefined()?e&&e.type==p.Gh?d[b]=function(){return e.Ik().apply(d,arguments)}:this.Bi("Invalid content.",e.stack):this.Bi("Identifier: "+b+" is already in use",e.stack)};d.prototype.z4=function(a,b){for(var d=a.Nc,e=0;e<b.length;e++){var f=b[e],g=f.id;if(g)c(d[g]).isUndefined()?d[g]=f.Nc:this.Bi("Identifier: "+g+" is arleady in use",f.stack)}};d.prototype.C4=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e=d.attributes,f;for(f in e)this.y4(d,
f,b)}};d.prototype.y4=function(a,b,c){var d=a.im;if(d.hasAttribute(b)){var e=a.attributes[b].Ik();try{e=d.rO(b)(e,c.Nc);a.Nc.set(b,e)}catch(f){this.Bi("Invalid value for property "+b+" of "+d.Wt()+" instance",a.stack)}}else this.Bi(d.Wt()+" object doesn't have any property named "+b,instanceNodeNode.stack)};d.prototype.S4=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e;for(e in d.v0)this.R4(d,e,b)}};d.prototype.R4=function(a,b,d){var e=a.im,f=a.Nc,g=e.c1(b),h=e.e1(b);if(g||h){var a=a.v0[b],
j=a.Ik();c(j).isFunction()?f.bind(b,j,d.Nc,h,j):typeof j=="string"?f.bind(b,function(){eval("var event = arguments[0];"+j)},d.Nc,h,j):this.Bi("Invalid value.",a.stack)}else this.Bi(e.Wt()+" object doesn't have any event named "+b,a.stack)};d.prototype.Bi=function(a,b){this.aJ.push("In "+b.join(" >> ")+": "+a)};b.prototype.sb=function(){return[]};b.prototype.Ik=E();var h=j.extend(b,function(a,c,d,e,f,g){b.call(this,h.Gh,a);this.im=c;this.id=d;this.attributes=e;this.v0=f;this.scripts=g;this.Nc=s});
h.prototype.sb=function(){var a=this.im.M0(),b=[],d=c(this.attributes).clone();if(a)for(var e=0;e<a.length;e++){var f=a[e];if(d[f]!=n){b.push(d[f]);delete d[f]}}return b=b.concat(c(d).values())};h.prototype.Ik=N("Nc");h.Gh="instance";var e=j.extend(b,function(a,c){b.call(this,e.Gh,a);this.ro=c});e.prototype.sb=function(){return this.ro.slice()};e.prototype.Ik=function(){for(var a=[],b=0;b<this.ro.length;b++)a.push(this.ro[b].Ik());return a};e.Gh="array";var l=j.extend(b,function(a,c){b.call(this,
l.Gh,a);this.value=c});l.prototype.sb=function(){return c(this.value).values()};l.prototype.Ik=function(){var a={},b;for(b in this.value)a[b]=this.value[b].Ik();return a};l.Gh="dict";var p=j.extend(b,function(a,c){b.call(this,p.Gh,a);this.value=c});p.prototype.Ik=N("value");p.Gh="function";var o=j.extend(b,function(a,c){b.call(this,o.Gh,a);this.value=c});o.prototype.Ik=N("value");o.Gh="simple";return d});
define("hv","require,cu,iu,bB,cO,dD,gO,o,he,X,gD".split(","),function(a){function b(a,b){var f=this,j=TDV.bb.$0();this.vda="true";var u=[];u.push("3DVista Player");u.push("v:"+j.MAJOR+"."+j.MINOR);p.log(u.join(" "));this.Ij=b;if(e.lha()||[h.Hu,h.wz,h.zm].indexOf(h.browser())>=0){l.om();this.eh=new g;var w=this.Ij.get(TDV.ag.L2);if(w){w=e.rz(w);w[w.length-1]!="/"&&(w=w+"/")}else w=e.getDirectory(this.Ij.get(TDV.ag.Uz));this.qfa=w;a.trigger(new TDV.BG(c.w3,{},[],n));d.defer(function(){if(!f.eh.Lha(f.Ij.get(TDV.ag.UQ),
f.Ij.get(TDV.ag.ZP),w)){if(f.vda!="false"){window.alert(f.JU());return}p.log(f.JU())}f.Q4(a);f.v4(f.Ij);f.D4();f.$da()})}else window.alert("This virtual tour can not be played from a local drive.\nPlease upload it to Internet and try again")}var d=a("cu"),c=a("iu"),f=a("bB"),j=a("cO"),g=a("dD");a("gO");var h=a("o"),e=a("he"),l=a("X"),p=a("gD");b.prototype.clear=function(){if(this.eh){d(this.eh.tn).each(function(a){a.Nc.E2();d(a.im.Ky()).each(function(b){switch(b){case "MapPlayer":case "PanoramaPlayer":case "PhotoAlbumPlayer":case "VideoPlayer":a.Nc.set("viewerArea",
s);break;case "ZoomImage":a.Nc.set("image",s);break;case "Audio":a.Nc.stop();break;case "Effect":a.Nc.end();break;case "Media":a.Nc.bia()}})});this.eh.$a().clear();this.Ij=this.eh=s}};b.prototype.Pga=function(a){return this.eh.$a()[a]};b.prototype.T0=function(a){var b=[];d(this.eh.tn).each(function(c){var e=c.im.Ky();d(e).contains(a)&&b.push(c.Nc)});return b};b.prototype.jo=function(a){var b=j.mo(a);b||k("Invalid className: "+a);return b.jo(this.eh.$a(),this.qfa)};b.prototype.JU=function(){for(var a=
this.eh.aJ,b=["Errors parsing script file:"],c=0;c<a.length;c++)b.push(a[c]);return b.join("\n")};b.prototype.Q4=function(a){d(this.eh.tn).each(function(b){var c=b.im,e=b.Nc,f=b.id,g=c.Ky(),b=[].concat(c.vO(),c.yO());d(b).each(function(b){e.bind(b,function(c){a.trigger(new TDV.BG(b,c,g,f))},this,q)})})};b.prototype.v4=function(a){this.eh.$a().set("settings",a)};b.prototype.D4=function(){var a=this.eh.$a(),b=this;a.getByClassName=a.mo=function(){return b.T0.apply(b,arguments)};a.createInstance=a.jo=
function(){return b.jo.apply(b,arguments)};a.isInstanceOfClass=a.hc=function(){return j.hc.apply(j,arguments)}};b.prototype.$da=function(){this.eh.$a().trigger(new f("start"))};b.$ja=function(a){a.trigger(new TDV.BG(c.e3,{},[],n))};return b});require(["jquery.mod","hv"],function(a,b){a(document).ready(function(){TDV.bb.tja(b)})});define("main",E());

})();